2008-11-13 Dan Williams <dcbw@redhat.com>
[NetworkManager.git] / ChangeLog
1 2008-11-13  Dan Williams  <dcbw@redhat.com>
2
3         Add support for PKCS#12 private keys (bgo #558982)
4
5         * libnm-util/crypto.c
6           libnm-util/crypto.h
7                 - (parse_old_openssl_key_file): rename from parse_key_file(); adapt to
8                         take a GByteArray instead of a filename
9                 - (file_to_g_byte_array): handle private key files too
10                 - (decrypt_key): take a GByteArray rather than data + len
11                 - (crypto_get_private_key_data): refactor crypto_get_private_key() into
12                         one function that takes a filename, and one that takes raw data;
13                         detect pkcs#12 files as well
14                 - (crypto_load_and_verify_certificate): detect file type
15                 - (crypto_is_pkcs12_data, crypto_is_pkcs12_file): add pkcs#12 detection
16                         functions
17
18         * libnm-util/crypto_gnutls.c
19                 - (crypto_decrypt): take GByteArray rather than data + len; fix a bug
20                         whereby tail padding was incorrectly handled, leading to erroneous
21                         successes when trying to decrypt the data
22                 - (crypto_verify_cert): rework somewhat
23                 - (crypto_verify_pkcs12): validate pkcs#12 keys
24
25         * libnm-util/crypto_nss.c
26                 - (crypto_init): enable various pkcs#12 ciphers
27                 - (crypto_decrypt): take a GByteArray rather than data + len
28                 - (crypto_verify_cert): clean up
29                 - (crypto_verify_pkcs12): validate pkcs#12 keys
30
31         * libnm-util/test-crypto.c
32                 - Handle pkcs#12 keys
33
34         * libnm-util/nm-setting-8021x.c
35           libnm-util/nm-setting-8021x.h
36           libnm-util/libnm-util.ver
37                 - Add two new properties, 'private-key-password' and
38                         'phase2-private-key-password', to be used in conjunction with
39                         pkcs#12 keys
40                 - (nm_setting_802_1x_set_ca_cert_from_file,
41                    nm_setting_802_1x_set_client_cert_from_file,
42                    nm_setting_802_1x_set_phase2_ca_cert_from_file,
43                    nm_setting_802_1x_set_phase2_client_from_file): return certificate
44                         type
45                 - (nm_setting_802_1x_get_private_key_password,
46                    nm_setting_802_1x_get_phase2_private_key_password): return private
47                         key passwords
48                 - (nm_setting_802_1x_set_private_key_from_file,
49                    nm_setting_802_1x_set_phase2_private_key_from_file): set the private
50                         key from a file, and update the private key password at the same time
51                 - (nm_setting_802_1x_get_private_key_type,
52                    nm_setting_802_1x_get_phase2_private_key_type): return the private
53                         key type
54
55         * src/supplicant-manager/nm-supplicant-settings-verify.c
56                 - Whitelist private key passwords
57
58         * src/supplicant-manager/nm-supplicant-config.c
59                 - (nm_supplicant_config_add_setting_8021x): for pkcs#12 private keys,
60                         add the private key password to the supplicant config, but do not
61                         add the client certificate (as required by wpa_supplicant)
62
63 2008-11-12  Tambet Ingo  <tambet@gmail.com>
64
65         * system-settings/plugins/keyfile/nm-keyfile-connection.c (copy_one_secret)
66         (add_secrets): Don't add empty secrets to the secrets hash table.
67
68 2008-11-07  Dan Williams  <dcbw@redhat.com>
69
70         * libnm-util/nm-setting-wireless.c
71                 - (nm_setting_wireless_get_seen_bssid): fix bug from accessor conversion
72                         that cased this function to return garbage, breaking hidden AP
73                         detection
74
75 2008-11-07  Dan Williams  <dcbw@redhat.com>
76
77         Fix deletion of VPN gateway route on DHCP renew (bgo #558133)
78
79         * src/NetworkManagerSystem.c
80           src/NetworkManagerSystem.h
81                 - (nm_system_device_set_ip4_route): return the route that was added
82                 - (nm_system_add_ip4_vpn_gateway_route): make add_vpn_gateway_route()
83                         public, clean up, and return the route that was added
84                 - (nm_system_apply_ip4_config): remove VPN related stuff to simplify,
85                         since nm_system_add_ip4_vpn_gateway_route() is now available; add
86                         flags to allow only certain attributes of the NMIP4Config to be
87                         applied
88
89         * src/nm-device.c
90                 - (handle_dhcp_lease_change): don't touch the DHCP4 config on failure
91                 - (nm_device_set_ip4_config): use nm_ip4_config_diff() to only apply
92                         what's really changed between the old and new configs; don't export
93                         the new IP4 config on failure; always send the DNS info to the
94                         named manager
95
96         * src/vpn-manager/nm-vpn-connection.c
97                 - (device_ip4_config_changed, nm_vpn_connection_new, dispose): track the
98                         parent device's IP4Config and re-add the VPN gateway route when it
99                         changes
100                 - (nm_vpn_connection_ip4_config_get): add the VPN gateway route (since
101                         nm_system_apply_ip4_config() no longer does) and cache it for later
102                 - (connection_state_changed): move cleanup code to its own function
103                 - (vpn_cleanup): delete any previously added VPN gateway route; and
104                         re-apply the parent device's addresses and routes using
105                         nm_system_apply_ip4_config(), not nm_device_set_ip4_config()
106
107 2008-11-07  Dan Williams  <dcbw@redhat.com>
108
109         * src/nm-ip4-config.c
110           src/nm-ip4-config.h
111                 - (nm_ip4_config_diff): new function; return the difference between two
112                         IP4 configs
113                 - (nm_ip4_config_compare): change into nm_ip4_config_diff
114
115 2008-11-05  Dan Williams  <dcbw@redhat.com>
116
117         * nm-ip4-config.c
118           nm-ip4-config.h
119                 - (nm_ip4_config_compare): compare two IP4 configs
120
121 2008-11-05  Dan Williams  <dcbw@redhat.com>
122
123         * src/NetworkManagerPolicy.c
124                 - (update_etc_hosts): only add newline if not the last line of the file
125                         (Jonathan Miner)
126
127 2008-11-05  Dan Williams  <dcbw@redhat.com>
128
129         * src/dhcp-manager/nm-dhcp-dhclient.c
130                 - (get_leasefile_for_iface): move lease files back to where dhclient
131                         puts them
132
133 2008-11-05  Michael Biebl  <mbiebl@gmail.com>
134
135         * initscripts/Debian/NetworkManager
136                 - Update to what Debian is actually using
137
138 2008-11-05  Tambet Ingo  <tambet@gmail.com>
139
140         * libnm-util/nm-setting-8021x.c: Verify PEAP settings as well.
141
142 2008-11-03  Dan Williams  <dcbw@redhat.com>
143
144         * system-settings/src/main.c
145                 - (add_default_dhcp_connection): make the fallback connection read-only
146
147         * libnm-glib/nm-settings.c
148           libnm-glib/nm-settings.h
149                 - Add detailed errors
150                 - (impl_exported_connection_update, impl_exported_connection_delete):
151                         return an error if the connection is read-only
152
153         * system-settings/plugins/ifupdown/nm-ifupdown-connection.c
154           system-settings/plugins/keyfile/nm-keyfile-connection.c
155           system-settings/src/main.c
156                 - Use more detailed errors
157
158         * system-settings/src/nm-system-config-error.c
159           system-settings/src/nm-system-config-error.h
160           system-settings/src/dbus-settings.c
161                 - Remove NM_SYSCONFIG_SETTINGS_ERROR_INVALID_CONNECTION, replaced by
162                         NM_SETTINGS_ERROR_INVALID_CONNECTION
163
164 2008-11-02  Dan Williams  <dcbw@redhat.com>
165
166         * Add license headers to everything in src/
167
168 2008-11-02  Dan Williams  <dcbw@redhat.com>
169
170         * Tag 0.7.0-rc1
171
172 2008-11-02  Dan Williams  <dcbw@redhat.com>
173
174         * src/NetworkManagerAP.c
175                 - (nm_ap_new_fake_from_connection): treat only lack of a wireless security
176                         setting as unencrypted; fixes a bug where NM wouldn't ask for new
177                         secrets when connecting to an encrypted network failed
178
179 2008-10-30  Dan Williams  <dcbw@redhat.com>
180
181         * libnm-util/libnm-util.ver
182           libnm-util/nm-setting-ip6-config.c
183           libnm-util/nm-setting-ip6-config.h
184           libnm-util/Makefile.am
185                 - Make properties private and add accessor functions
186                 - Hide IPv6 stuff from public API, it's incomplete and completely unused
187
188         * libnm-util/nm-connection.c
189           libnm-util/nm-utils.c
190           libnm-util/nm-utils.h
191                 - Ignore IPv6 stuff for now
192
193 2008-10-30  Dan Williams  <dcbw@redhat.com>
194
195         * libnm-util/libnm-util.ver
196           libnm-util/nm-setting-8021x.c
197           libnm-util/nm-setting-8021x.h
198                 - Make properties private and add accessor functions
199
200         * src/supplicant-manager/nm-supplicant-config.c
201           system-settings/plugins/ifcfg-suse/parser.c
202                 - Use 802.1x setting accessors
203
204 2008-10-30  Dan Williams  <dcbw@redhat.com>
205
206         * libnm-util/libnm-util.ver
207           libnm-util/nm-setting-wireless-security.c
208           libnm-util/nm-setting-wireless-security.h
209                 - Make properties private and add accessor functions
210
211         * libnm-util/nm-setting-wireless.c
212           src/NetworkManagerAP.c
213           src/nm-device-wifi.c
214           src/supplicant-manager/nm-supplicant-config.c
215           system-settings/plugins/ifcfg-fedora/reader.c
216           system-settings/plugins/ifcfg-suse/parser.c
217                 - Use wireless security accessors
218
219 2008-10-30  Dan Williams  <dcbw@redhat.com>
220
221         * src/nm-device-ethernet.c
222           src/nm-device-wifi.c
223           src/nm-device.c
224           src/ppp-manager/nm-ppp-manager.c
225                 - Harmonize return checking of ioctl
226
227         * system-settings/plugins/ifcfg-fedora/reader.c
228                 - (is_wireless_device): fall back to SIOCGIWNAME (rh #466340)
229
230 2008-10-30  Dan Williams  <dcbw@redhat.com>
231
232         * src/ppp-manager/nm-ppp-manager.c
233                 - (nm_ppp_manager_start): if /dev/ppp doesn't exist, load the
234                         ppp_generic module to create it (bgo #533064)
235
236 2008-10-30  Dan Williams  <dcbw@redhat.com>
237
238         Patch from Alexander Sack <asac@canonical.com>
239
240         Fix "ppp connections don't honour ip4 connection settings"
241
242         * src/nm-device-ethernet.c
243                 - (real_act_stage4_get_ip4_config): merge ip4config settings
244                         with results from ppp manager
245
246         * src/nm-serial-device.c
247                 - (real_act_stage4_get_ip4_config): merge ip4config settings
248                         with results from ppp manager
249
250 2008-10-29  Dan Williams  <dcbw@redhat.com>
251
252         * libnm-util/libnm-util.ver
253           libnm-util/nm-setting-ip4-config.c
254           libnm-util/nm-setting-ip4-config.h
255                 - Make properties private and add accessor functions
256
257         * callouts/nm-dispatcher-action.c
258           libnm-glib/libnm-glib-test.c
259           libnm-util/nm-utils.c
260           src/NetworkManagerPolicy.c
261           src/NetworkManagerSystem.c
262           src/NetworkManagerUtils.c
263           src/dhcp-manager/nm-dhcp-dhclient.c
264           src/dhcp-manager/nm-dhcp-manager.c
265           src/dnsmasq-manager/nm-dnsmasq-manager.c
266           src/nm-device-wifi.c
267           src/nm-device.c
268           src/nm-hso-gsm-device.c
269           src/nm-ip4-config.c
270           src/nm-ip4-config.h
271           src/ppp-manager/nm-ppp-manager.c
272           src/vpn-manager/nm-vpn-connection.c
273           system-settings/plugins/ifcfg-fedora/reader.c
274           system-settings/plugins/ifcfg-suse/parser.c
275           system-settings/plugins/ifcfg-suse/plugin.c
276           system-settings/plugins/ifupdown/parser.c
277           test/nm-tool.c
278           vpn-daemons/vpnc/properties/nm-vpnc.c
279                 - Use IP4 accessor functions
280
281 2008-10-29  Tambet Ingo  <tambet@gmail.com>
282
283         Half of it by Dan Williams <dcbw@redhat.com>
284
285         * libnm-util/libnm-util.ver
286         libnm-util/nm-setting-vpn.c
287         libnm-util/nm-setting-vpn.h
288                 - Make properties private and add accessor functions.
289
290         * src/vpn-manager/nm-vpn-connection.c
291         src/vpn-manager/nm-vpn-manager.c
292         system-settings/plugins/keyfile/reader.c
293         vpn-daemons/openvpn/properties/auth-helpers.c
294         vpn-daemons/openvpn/properties/import-export.c
295         vpn-daemons/openvpn/properties/nm-openvpn.c
296         vpn-daemons/openvpn/src/nm-openvpn-service.c
297         vpn-daemons/pptp/auth-dialog/main.c
298         vpn-daemons/pptp/properties/advanced-dialog.c
299         vpn-daemons/pptp/properties/nm-pptp.c
300         vpn-daemons/pptp/src/nm-pptp-service.c
301         vpn-daemons/vpnc/properties/nm-vpnc.c
302         vpn-daemons/vpnc/src/nm-vpnc-service.c
303                 - Use VPN setting accessors.
304
305 2008-10-28  Dan Williams  <dcbw@redhat.com>
306
307         Patch from Tambet Ingo <tambet@gmail.com>
308
309         * libnm-util/libnm-util.ver
310           libnm-util/nm-setting-wireless.c
311           libnm-util/nm-setting-wireless.h
312                 - Make properties private and add accessor functions
313
314         * src/NetworkManagerAP.c
315           src/nm-device-wifi.c
316           src/nm-manager.c
317           src/supplicant-manager/nm-supplicant-config.c
318           system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
319           system-settings/plugins/ifcfg-fedora/reader.c
320           system-settings/plugins/ifcfg-suse/parser.c
321           system-settings/plugins/ifupdown/parser.c
322                 - Use wireless setting accessors
323
324 2008-10-27  Dan Williams  <dcbw@redhat.com>
325
326         Patch from Tambet Ingo <tambet@gmail.com>
327
328         * libnm-util/libnm-util.ver
329           libnm-util/nm-setting-ppp.c
330           libnm-util/nm-setting-ppp.h
331                 - Make properties private and add accessor functions
332
333         * src/ppp-manager/nm-ppp-manager.c
334                 - Use ppp setting accessors
335
336 2008-10-27  Dan Williams  <dcbw@redhat.com>
337
338         Patch from Tambet Ingo <tambet@gmail.com>
339
340         * libnm-util/nm-setting.h
341           libnm-util/nm-setting.c
342                 - Make properties private and add accessor functions
343
344         * libnm-util/nm-connection.c
345           libnm-util/nm-setting-8021x.c
346           libnm-util/nm-setting-cdma.c
347           libnm-util/nm-setting-connection.c
348           libnm-util/nm-setting-gsm.c
349           libnm-util/nm-setting-ip4-config.c
350           libnm-util/nm-setting-ip6-config.c
351           libnm-util/nm-setting-ppp.c
352           libnm-util/nm-setting-pppoe.c
353           libnm-util/nm-setting-serial.c
354           libnm-util/nm-setting-template.c
355           libnm-util/nm-setting-vpn.c
356           libnm-util/nm-setting-wired.c
357           libnm-util/nm-setting-wireless-security.c
358           libnm-util/nm-setting-wireless.c
359           system-settings/plugins/keyfile/reader.c
360           system-settings/plugins/keyfile/writer.c
361                 - Use setting accessors
362
363 2008-10-27  Dan Williams  <dcbw@redhat.com>
364
365         * libnm-util/libnm-util.ver
366           libnm-util/nm-setting-connection.c
367           libnm-util/nm-setting-connection.h
368                 - Add a 'read-only' property that indicates the connection cannot be
369                         modified
370
371         * system-settings/plugins/ifcfg-fedora/reader.c
372           system-settings/plugins/ifcfg-suse/parser.c
373           system-settings/plugins/ifupdown/parser.c
374                 - These plugins are read-only at the moment
375
376         * system-settings/plugins/keyfile/reader.c
377           system-settings/plugins/keyfile/writer.c
378                 - Read-only shouldn't get saved out to files or read in from them
379
380 2008-10-27  Tambet Ingo  <tambet@gmail.com>
381
382         * src/nm-device-ethernet.c (nm_device_ethernet_get_speed): Implement
383         correct speed reporting for fast devices (kernel >= 2.6.27).
384
385 2008-10-26  Dan Williams  <dcbw@redhat.com>
386
387         Attempt to compensate for modems that don't enable full AT parsing before
388         the PIN has been entered.
389
390         * src/nm-gsm-device.c
391                 - (init_modem): accept different init strings
392                 - (init_done): try different init strings on failure
393                 - (check_pin_done): on PIN success, do full modem init
394
395 2008-10-26  Dan Williams  <dcbw@redhat.com>
396
397         Patch from Tambet Ingo <tambet@gmail.com>
398
399         * libnm-util/libnm-util.ver
400           libnm-util/nm-setting-connection.c
401           libnm-util/nm-setting-connection.h
402                 - Make properties private and add accessor functions
403
404         * src/NetworkManagerPolicy.c
405           src/nm-cdma-device.c
406           src/nm-device-ethernet.c
407           src/nm-device-interface.c
408           src/nm-device-wifi.c
409           src/nm-gsm-device.c
410           src/nm-manager.c
411           src/ppp-manager/nm-ppp-manager.c
412           src/vpn-manager/nm-vpn-connection.c
413           system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
414           system-settings/plugins/ifcfg-fedora/plugin.c
415           system-settings/plugins/ifcfg-fedora/reader.c
416           system-settings/plugins/ifcfg-suse/parser.c
417           system-settings/plugins/ifupdown/parser.c
418           system-settings/plugins/keyfile/nm-keyfile-connection.c
419           system-settings/plugins/keyfile/plugin.c
420           system-settings/plugins/keyfile/writer.c
421           system-settings/src/main.c
422                 - Use those accessors
423
424 2008-10-26  Dan Williams  <dcbw@redhat.com>
425
426         Patch from Tambet Ingo <tambet@gmail.com>
427
428         * libnm-util/libnm-util.ver
429           libnm-util/nm-setting-gsm.c
430           libnm-util/nm-setting-gsm.h
431                 - Make properties private and add accessor functions
432
433         * src/nm-gsm-device.c
434           src/nm-hso-gsm-device.c
435           src/ppp-manager/nm-ppp-manager.c
436                 - Use those accessors
437
438 2008-10-26  Dan Williams  <dcbw@redhat.com>
439
440         Patch from Tambet Ingo <tambet@gmail.com>
441
442         * libnm-util/libnm-util.ver
443           libnm-util/nm-setting-cdma.c
444           libnm-util/nm-setting-cdma.h
445                 - Make properties private and add accessor functions
446
447         * src/nm-cdma-device.c
448           src/ppp-manager/nm-ppp-manager.c
449                 - Use those accessors
450
451 2008-10-26  Dan Williams  <dcbw@redhat.com>
452
453         Patch from Tambet Ingo <tambet@gmail.com>
454
455         * libnm-util/libnm-util.ver
456           libnm-util/nm-setting-pppoe.c
457           libnm-util/nm-setting-pppoe.h
458                 - Make properties private and add accessor functions
459
460         * src/nm-device-ethernet.c
461           src/ppp-manager/nm-ppp-manager.c
462                 - Use those accessors
463
464 2008-10-26  Dan Williams  <dcbw@redhat.com>
465
466         Patch from Tambet Ingo <tambet@gmail.com>
467
468         * libnm-util/libnm-util.ver
469           libnm-util/nm-setting-wired.c
470           libnm-util/nm-setting-wired.h
471                 - Make properties private and add accessor functions
472
473         * src/nm-device-ethernet.c
474           system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
475           system-settings/plugins/ifcfg-suse/parser.c
476           system-settings/src/main.c
477                 - Use those accessors
478
479 2008-10-26  Dan Williams  <dcbw@redhat.com>
480
481         Patch from Tambet Ingo <tambet@gmail.com>
482
483         * libnm-util/libnm-util.ver
484           libnm-util/nm-setting-serial.c
485           libnm-util/nm-setting-serial.h
486           src/nm-serial-device.c
487                 - Make properties private and use accessors instead
488
489 2008-10-26  Dan Williams  <dcbw@redhat.com>
490
491         * src/supplicant-manager/nm-supplicant-interface.c
492           src/supplicant-manager/nm-supplicant-interface.h
493           src/supplicant-manager/nm-supplicant-manager.c
494           src/supplicant-manager/nm-supplicant-manager.h
495                 - Add state-to-string conversion functions
496
497         * src/nm-device-wifi.c
498           src/nm-device-ethernet.c
499                 - Normalize state info logging and use strings instead of numbers
500
501 2008-10-26  Dan Williams  <dcbw@redhat.com>
502
503         * src/NetworkManagerPolicy.c
504                 - (update_routing_and_dns): ignore host routes when determining whether
505                         a VPN connection should own the default route (bgo #552594)
506
507 2008-10-24  Dan Williams  <dcbw@redhat.com>
508
509         * src/nm-gsm-device.c
510                 - (set_apn): remove erroneous spaces in AT+CGDCONT command (Jerone Young)
511
512 2008-10-23  Dan Williams  <dcbw@redhat.com>
513
514         * src/ppp-manager/nm-ppp-manager.c
515                 - (create_pppd_cmd_line): pppd always parses /etc/ppp/options, so always
516                         add really important stuff to the command line to ensure that NM
517                         overrides /etc/ppp/options (bgo #556781)
518
519 2008-10-22  Dan Williams  <dcbw@redhat.com>
520
521         * src/NetworkManagerSystem.c
522           src/nm-device.c
523                 - Use the device's IP interface where appropriate (Per Hallsmark)
524
525 2008-10-22  Dan Williams  <dcbw@redhat.com>
526
527         * src/nm-gsm-device.c
528                 - (schedule_automatic_registration_again): use a short timeout here
529                         instead of an idle handler to avoid using too much CPU polling for
530                         something we should be waiting a bit for anyway
531
532 2008-10-22  Dan Williams  <dcbw@redhat.com>
533
534         * include/NetworkManager.h
535           introspection/nm-device.xml
536                 - Add device state change reason for carrier changes
537
538         * src/nm-device-ethernet.c
539                 - (set_carrier): use the carrier change reason when changing device
540                         state in response to carrier changes
541
542 2008-10-21  Dan Williams  <dcbw@redhat.com>
543
544         * src/NetworkManagerPolicy.c
545                 - (update_etc_hosts): don't leak errors, and ensure that
546                         g_file_set_contents() gets a valid error placeholder (rh #461933)
547
548 2008-10-21  Dan Williams  <dcbw@redhat.com>
549
550         * src/nm-manager.c
551                 - (free_get_settings_info): don't use the DBusGProxy which could be
552                         disposed of by the time the function is called
553                 - (internal_new_connection_cb): save connection scope
554                 - (connection_get_settings_cb): don't replace a connection unless it's
555                         actually different from the existing one; fixes an issue where
556                         killing the settings service wouldn't deactivate an active connection
557                         provided by that settings service, because it was using a connection
558                         that had already been replaced in the system or user hash
559
560 2008-10-21  Dan Williams  <dcbw@redhat.com>
561
562         * src/NetworkManager.c
563                 - (main): keep the DHCP manager around since it's a singleton; fixes
564                         a use-after-free exposed by r4196 since the DHCP manager singleton
565                         variable isn't cleared when the DHCP manager object is finalized
566
567 2008-10-20  Dan Williams  <dcbw@redhat.com>
568
569         * libnm-util/nm-setting-wireless-security.c
570                 - (verify): accept 'none' as a pairwise cipher with Ad-Hoc WPA connections
571
572 2008-10-20  Dan Williams  <dcbw@redhat.com>
573
574         * src/supplicant-manager/nm-supplicant-config.c
575                 - (ADD_STRING_LIST_VAL): don't add empty values to the supplicant config
576
577 2008-10-20  Dan Williams  <dcbw@redhat.com>
578
579         * src/dhcp-manager/nm-dhcp-manager.c
580                 - (nm_dhcp_manager_get): fix mismatched refcount; creating the dhcp
581                         manager object already refs it once
582                 - (nm_dhcp_manager_cancel_transaction_real): clear freed variables that
583                         also get cleaned up by nm_dhcp_device_destroy() to prevent
584                         double-frees
585
586 2008-10-20  Dan Williams  <dcbw@redhat.com>
587
588         * src/nm-manager.c
589                 - (initial_get_connections): use private dbus manager, don't keep
590                         ref-ing the singleton.  Fixes mismatched refcounts of the dbus
591                         manager object.
592
593 2008-10-18  Dan Williams  <dcbw@redhat.com>
594
595         * libnm-glib/nm-settings.c
596           libnm-glib/nm-settings.h
597                 - Rename the "get_secrets" virtual function "service_get_secrets" to
598                         clarify when it's used; NMExportedConnetion is a base-class for both
599                         the client and service side, which is sort of confusing, and
600                         get_secrets only makes sense on the service side.
601
602         * libnm-glib/nm-dbus-connection.c
603                 - (get_secrets): remove, unused, and clients need to do extra work to
604                         get secrets anyway since the call can block on the remote side
605
606         * system-settings/plugins/ifupdown/nm-ifupdown-connection.c
607           system-settings/plugins/keyfile/nm-keyfile-connection.c
608                 - Fix up for get_secrets -> service_get_secrets
609
610 2008-10-16  Dan Williams  <dcbw@redhat.com>
611
612         * src/nm-device-wifi.c
613                 - (constructor): correctly determine encryption capabilities
614
615 2008-10-15  Dan Williams  <dcbw@redhat.com>
616
617         * src/nm-device-wifi.c
618                 - (wireless_qual_to_percent): fix quality calculation in a fallback case
619                         (Johannes Berg)
620
621 2008-10-15  Dan Williams  <dcbw@redhat.com>
622
623         * src/NetworkManagerSystem.c
624                 - (ip4_dest_in_same_subnet): tighter checks on subnet matching,
625                         if the ip4_dest is in a smaller subnet contained within a subnet
626                         the machine is currently on, the destination is in the same subnet
627                 - (nm_system_device_set_ip4_route): move subnet checks to callers
628                 - (add_vpn_gateway_route): check if the VPN gateway is in the same
629                         subnet as the parent device, and if so, don't add the direct
630                         host route via the parent device's gateway (bgo #481620)
631                 - (nm_system_apply_ip4_config): check whether the route to be added
632                         is contained within a subnet the device is already on
633
634 2008-10-11  Dan Williams  <dcbw@redhat.com>
635
636         * include/NetworkManager.h
637           introspection/nm-device.xml
638           include/NetworkManagerVPN.h
639                 - Add a few more state reasons for the device deactivated state
640
641         * src/nm-device-interface.c
642           src/nm-device-interface.h
643                 - (nm_device_interface_deactivate): add a 'reason' argument
644
645         * src/nm-device.c
646           src/nm-device.h
647                 - (nm_device_deactivate, nm_device_take_down): add a 'reason' argument
648                 - (nm_device_state_changed): pass the state change reason to
649                         nm_device_take_down()
650                 - (nm_device_set_managed): take a 'reason' argument, and pass it along
651                         to the state change function
652
653         * src/nm-manager.c
654           src/nm-manager.h
655                 - (remove_one_device, handle_unmanaged_devices, sync_devices,
656                    impl_manager_sleep): pass a reason code to nm_device_set_managed()
657                 - (nm_manager_deactivate_connection): add a 'reason' argument and pass
658                         something reasonable along to VPN deactivation
659
660         * src/vpn-manager/nm-vpn-manager.c
661           src/vpn-manager/nm-vpn-manager.h
662                 - (nm_vpn_manager_deactivate_connection): add a 'reason' argument and
663                         pass that along to nm_vpn_connection_disconnect()
664
665 2008-10-11  Dan Williams  <dcbw@redhat.com>
666
667         * src/nm-device-wifi.c
668                 - (can_scan): remove old madwifi hack for not scanning while connected
669
670 2008-10-11  Dan Williams  <dcbw@redhat.com>
671
672         Add support for VPN subnet gateways (bgo #549196)
673
674         * include/NetworkManager.h
675                 - Add key for internal VPN subnet gateway
676
677         * src/vpn-manager/nm-vpn-connection.c
678                 - (ip_address_to_string): return a const from a static buffer so we
679                         don't leak a lot of strings
680                 - (print_vpn_config): print internal VPN gateway as well
681                 - (nm_vpn_connection_ip4_config_get): grab internal VPN gateway from
682                         VPN service too
683                 - (nm_vpn_connection_get_ip4_internal_gateway): new function
684
685         * src/NetworkManagerSystem.c
686           src/NetworkManagerSystem.h
687                 - (nm_system_device_replace_default_ip4_route): split into two, one for
688                         VPN connections and one for normal devices
689                 - (replace_default_ip4_route): break out route stuff into its own function
690                 - (nm_system_replace_default_ip4_route_vpn,
691                    nm_system_replace_default_ip4_route): simplify by having two cases,
692                         one for VPNs and one for normal devices
693
694         * src/NetworkManagerPolicy.c
695                 - (update_routing_and_dns): simplify, use split default route replacement
696                         functions
697
698 2008-10-10  Dan Williams  <dcbw@redhat.com>
699
700         Rework default route handling to consolidate decisions in the policy,
701         and to take active VPN connections into account when changing the default
702         route (bgo #545912)
703
704         * src/NetworkManager.c
705                 - (main): pass the vpn_manager to the policy so it knows about active
706                         VPN connections; clean up the named manager which wasn't done before
707
708         * src/NetworkManagerPolicy.c
709           src/NetworkManagerPolicy.h
710                 - (nm_policy_new): get a clue about the vpn_manager
711                 - (update_default_route): remove, fold into update_routing_and_dns()
712                 - (update_routing_and_dns): handle active VPN connections too; an
713                         active VPN connection becomes the default route if it does not have
714                         server-specified or user-specified custom routes.  Otherwise, the
715                         best active device gets the default route
716                 - (vpn_connection_activated, vpn_connection_deactivated, nm_policy_new,
717                    nm_policy_destroy): track VPN connection activation and deactivation
718                         and update the default route when appropriate
719
720         * src/NetworkManagerSystem.c
721           src/NetworkManagerSystem.h
722                 - (nm_system_vpn_device_unset_from_ip4_config): remove, put functionality
723                         in the VPN connection itself
724                 - (nm_system_vpn_device_set_from_ip4_config,
725                    nm_system_device_set_from_ip4_config): merge together to make
726                         nm_system_apply_ip4_config()
727                 - (add_vpn_gateway_route): add a route to the VPN's external gateway
728                         via the parent device
729                 - (nm_system_apply_ip4_config): simplify
730                 - (add_ip4_route_to_gateway): new function; add a direct route to the
731                         gateway if needed
732                 - (nm_system_device_replace_default_ip4_route): simplify, break gateway
733                         route stuff out into add_ip4_route_to_gateway() for clarity
734
735         * src/nm-device.c
736                 - (nm_device_set_ip4_config): update for nm_system_apply_ip4_config()
737
738         * src/vpn-manager/nm-vpn-connection.c
739           src/vpn-manager/nm-vpn-connection.h
740                 - (nm_vpn_connection_get_ip4_config, nm_vpn_connection_get_ip_iface,
741                    nm_vpn_connection_get_parent_device): add
742                 - (nm_vpn_connection_ip4_config_get): make the requirement of a tunnel
743                         device explicit
744                 - (connection_state_changed): update the named manager now that
745                         nm_system_vpn_device_unset_from_ip4_config() is gone; do something
746                         useful on errors
747
748         * src/vpn-manager/nm-vpn-manager.c
749           src/vpn-manager/nm-vpn-manager.h
750                 - Add a 'connection-activated' signal
751                 - (nm_vpn_manager_get_active_connections): new function; mainly for the
752                         policy to find out about active VPN connections
753
754 2008-10-10  Tambet Ingo  <tambet@gmail.com>
755
756         * src/nm-logging.c (nm_logging_setup): Don't use LOG_CONS when running as
757         a daemon to prevent NM logging spew on console on startup and shutdown (due
758         to dependency loop between NM and syslog).
759
760 2008-10-10  Alexander Sack  <asac@ubuntu.com>
761
762         Implement managed mode. We bind devices configured in /etc/network/interfaces
763         to their connections by updating wired/wireless setting with the
764         mac address of the device.
765
766         * system-settings/plugins/ifupdown/plugin.c
767                 - (get_net_address_for_udi): implement function to retrieve MAC
768                         address of udi from hal in GByteArray format
769                 - (bind_device_to_connection): bind mac address of device to
770                         wired/wireless system connection
771                 - (hal_device_added_cb): call bind_device_to_connection for
772                         system connections with a matching interface.name
773                 - (hal_device_added_cb): ensure that all code paths
774                         properly free the "iface" string.
775
776 2008-10-10  Alexander Sack  <asac@ubuntu.com>
777
778         Parse nm-system-settings.conf and allow admins to either use managed and unmanaged
779         mode of the ifupdown system config plugin.
780
781         * system-settings/plugins/ifupdown/plugin.c
782                 - (SCPluginIfupdown_init): parse nm-system-settings.conf keyfile and set
783                         private unmanage_well_known state field accordingly
784
785 2008-10-10  Alexander Sack  <asac@ubuntu.com>
786
787         Implement unmanaged mode that will prevent all devices in the
788         well_known_udis set from being touched by NetworkManager
789
790         * system-settings/plugins/ifupdown/plugin.c
791                 - (typedef struct SCPluginIfupdownPrivate): add gboolean
792                         unmanage_well_known field used to turn on/off unmanaged
793                         mode
794                 - (hal_device_added_cb,hal_device_remove_cb): emit |unmanaged-devices-changed|
795                         signal when well_known_udis get added/removed
796                 - (SCPluginIfupdown_get_unmanaged_devices): return all well_known_udis
797                         if we are in unmanaged mode
798
799 2008-10-10  Alexander Sack  <asac@ubuntu.com>
800
801         Add support to track network devices that have a configuration
802         with a matching interface.name in /etc/network/interfaces
803
804         * system-settings/plugins/ifupdown/plugin.c
805                 - (typedef struct SCPluginIfupdownPrivate): add hash table
806                         to track |well_known_udis|
807                 - (get_iface_for_udi): helper function to get interface.name
808                         for a udi
809                 - (hal_device_added_cb, hal_device_removed_cb): callbacks
810                         that add and remove devices to and from the well_known_udis
811                         set depending on whether their |interface.name| matches
812                         any interface definition in /etc/network/interfaces
813                 - (SCPluginIfupdown_init): connect callbacks from above with
814                         hal_mgr and setup well_known_udis hashtable
815                 - (GObject__dispose): destroy well_known_udis hashtable
816                 - (hal_device_added_cb2): implement wrapper callback with GFunc
817                         signature. user_data is supposed to be a triple (hal_mgr,
818                         config and devtype)
819                 - (SCPluginIfupdown_init): bootstrap wired and wifi devices for
820                         startup and call hal_device_added_cb2
821
822 2008-10-10  Alexander Sack  <asac@ubuntu.com>
823
824         Remove implementation for not used NMSystemConfigInterface callback functions
825         in ifupdown plugin
826
827         * system-settings/plugins/ifupdown/plugin.c
828                 - (SCPluginIfupdown_unmanaged_devices_changed): removed
829                 - (SCPluginIfupdown_connection_added): removed
830
831 2008-10-08  Dan Williams  <dcbw@redhat.com>
832
833         Add a 'hostname' dispatcher action triggered on hostname changes (bgo #552983)
834
835         * src/NetworkManagerUtils.c
836                 - (nm_utils_call_dispatcher): add a 'hostname' action
837
838         * src/NetworkManagerPolicy.c
839                 - (set_system_hostname): dispatch hostname changes
840
841         * callouts/nm-dispatcher-action.c
842                 - (nm_dispatcher_action): handle 'hostname' actions
843
844 2008-10-08  Dan Williams  <dcbw@redhat.com>
845
846         * src/NetworkManagerSystem.c
847                 - (find_route): ref the route so it doesn't get destroyed when the cache
848                         is cleared
849                 - (nm_system_device_set_priority): unref the route here after it's done
850                         being used
851
852 2008-10-08  Dan Williams  <dcbw@redhat.com>
853
854         * src/nm-serial-device.c
855                 - Turn on serial debugging when NM_SERIAL_DEBUG is set in the environment
856
857 2008-10-08  Tambet Ingo  <tambet@gmail.com>
858
859         * system-settings/plugins/keyfile/nm-keyfile-connection.c (update): Update the
860         connection with new settings before saving it.
861
862 2008-10-06  Dan Williams  <dcbw@redhat.com>
863
864         * src/nm-ip4-config.c
865           src/nm-ip4-config.h
866                 - nm_ip4_config_is_exported -> nm_ip4_config_get_dbus_path
867
868         * src/nm-device-interface.c
869                 - (nm_device_interface_init): make 'ip4-config' a boxed property of type
870                         DBUS_TYPE_G_OBJECT_PATH so that we can make it NULL when we need to
871                         by using '/' for the object path
872
873         * src/nm-device.c
874                 - (src/nm-device.c): marshal missing/unexported ip4-config through
875                         dbus as '/' since dbus-glib can't handle NULL objects nor can
876                         dbus handle NULL object paths
877
878 2008-10-03  Alexander Sack  <asac@ubuntu.com>
879
880         Implement system hostname support for debian/ubuntu
881
882         * system-settings/plugins/ifupdown/plugin.c
883                 - (GObject__get_property): extend announced capabilities; add
884                         NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME support
885                 - (GObject__set_property,write_system_hostname): implement
886                         NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME capability.
887                 - (GObject__set_property, GObject__get_property, SCPluginIfupdown_init,
888                    update_system_hostname, get_hostname):
889                         implement hostname property that watches and
890                         parses /etc/hostname
891
892 2008-10-03  Alexander Sack  <asac@ubuntu.com>
893
894         * system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
895           system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
896           system-settings/plugins/ifcfg-fedora/Makefile.am
897           system-settings/src/nm-inotify-helper.c
898           system-settings/src/nm-inotify-helper.h
899           src/Makefile.am
900                 - Move ifcfg-fedora inotify helpers to the system settings service so
901                         they are available to all plugins
902
903 2008-10-03  Alexander Sack  <asac@ubuntu.com>
904
905         Implement support for wep-tx-keyidx in ifupdown system
906         config plugin.
907
908         * system-settings/plugins/ifupdown/parser.c
909                 - (update_wireless_security_setting_from_if_block): introduce
910                         free_type_mapping func table; rename a few local
911                         variables to improve readability; add wpa security mapping
912                         for wep-tx-keyidx property
913                 - (string_to_gpointerint): new function used for the auto_type_mapping
914                         of new wep-tx-keyidx property
915                 - (slist_free_all): free func used for mapped slist types
916
917 2008-10-03  Alexander Sack  <asac@ubuntu.com>
918
919         * system-settings/src/main.c:
920                 - (add_default_dhcp_connection, device_removed_cb): ensure the UDI is
921                         always used as the hash key; fixes a crash when removing wired
922                         devices
923
924 2008-10-02  Dan Williams  <dcbw@redhat.com>
925
926         * src/nm-gsm-device.c
927                 - (enter_pin_done, enter_pin, check_pin_done, real_act_stage1_prepare):
928                         pass the required GSM secret along via user_data rather than keeping
929                         it around in the private data where it sometimes didn't get cleared
930                 - (real_get_ppp_name): implement using the GSM username
931
932 2008-10-02  Dan Williams  <dcbw@redhat.com>
933
934         * src/ppp-manager/nm-ppp-manager.c
935           src/ppp-manager/nm-ppp-manager.h
936                 - (impl_ppp_manager_need_secrets): tries secrets twice before asking
937                         the settings daemon for completely new ones
938                 - (create_pppd_cmd_line): new parameter 'ppp_name' used to set the
939                         local PPP peer name; allow PPP debuging by launching NM with
940                         the environment variable NM_PPP_DEBUG defined
941                 - (nm_ppp_manager_start): new parameter 'ppp_name' passed to
942                         create_pppd_cmd_line()
943
944         * src/nm-serial-device.c
945           src/nm-serial-device.h
946                 - New 'get_ppp_name' function for subclasses to implement to return the
947                         local PPP peer name
948                 - (real_act_stage2_config): call 'get_ppp_name' function of subclasses
949                         and pass that name to the PPP manager
950
951         * src/nm-device-ethernet.c
952                 - (pppoe_stage2_config): pass the PPPoE username to the PPP manager as
953                         the local peer name
954
955         * src/nm-cdma-device.c
956                 - (real_get_ppp_name): implement using the CDMA username
957
958 2008-10-02  Dan Williams  <dcbw@redhat.com>
959
960         Patch from Alexander Sack <asac ubuntu com>
961
962         * system-settings/plugins/ifupdown/parser.c
963                 - Implement more graceful ip4 config parsing for cases where
964                   /etc/network/interfaces omits basic ip4 settings, such as gateway etc
965                   by using default values
966
967 2008-10-02  Dan Williams  <dcbw@redhat.com>
968
969         * src/NetworkManagerPolicy.c
970                 - (device_state_changed): when marking a connection invalid, clear its
971                         secrets too so that fresh secrets get requested the next time
972
973 2008-10-01  Dan Williams  <dcbw@redhat.com>
974
975         * system-settings/src/dbus-settings.c
976                 - (nm_sysconfig_settings_init): cache system hostname on startup as
977                         a fallback if no plugin provides a hostname
978                 - (get_property): fall back to cached hostname if no plugin provides
979                         a hostname
980
981 2008-10-01  Dan Williams  <dcbw@redhat.com>
982
983         Fix setting value comparison issue that caused some settings to look the
984         same when they were really different (rh #464417)
985
986         * libnm-util/nm-param-spec-specialized.c
987                 - (type_is_fixed_size): return fundamental size of the fixed type too
988                 - (nm_gvalues_compare_collection): use the fundamental fixed type size
989                         in the comparison so that the _entire_ fixed type collection gets
990                         compared rather than just the first 'len1' bytes
991
992 2008-09-30  Dan Williams  <dcbw@redhat.com>
993
994         * src/NetworkManagerPolicy.c
995                 - (lookup_thread_worker): don't store the idle handler ID becuase the
996                         idle handler could have already run and freed the LookupThread
997                         structure
998
999 2008-09-30  Tambet Ingo  <tambet@gmail.com>
1000
1001         * src/nm-device.c (nm_device_get_priority): Implement.
1002         (nm_device_set_ip4_config): Send the device priority to system ip4 
1003         config setter.
1004
1005         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config):
1006         Add priority argument and if it's >= 0, set the priority of the network
1007         route added automatically by netlink (or kernel?).
1008         (nm_system_device_set_priority): Implement.
1009
1010         * src/NetworkManagerPolicy.c (get_best_device): Use 
1011         nm_device_get_priority() instead of home-grown version. Revert the
1012         meaning, best priority is the lowest one.
1013
1014 2008-09-29  Dan Williams  <dcbw@redhat.com>
1015
1016         Handle ipw3945 suspend/resume by retrying the GIWRANGE request a few times
1017         when it returns EAGAIN (rh #362421)
1018
1019         * src/nm-device-wifi.c
1020                 - (wireless_get_range): try GIWRANGE a few times until the card responds
1021                 - (real_get_generic_capabilities, constructor): use wireless_get_range()
1022
1023 2008-09-28  Dan Williams  <dcbw@redhat.com>
1024
1025         * src/nm-serial-device.c
1026           src/nm-serial-device.h
1027                 - (nm_serial_device_close): stop PPP manager here so that PPP gets
1028                         cleaned at the right times when subclasses close the serial port too
1029                 - (nm_serial_device_send_command): use a default send delay; don't
1030                         spin forever on EAGAIN
1031                 - (get_reply_done, get_reply_got_data, nm_serial_device_get_reply):
1032                         remove, no longer used
1033                 - (find_response): return the matched response if any
1034                 - (nm_serial_device_wait_reply_blocking): wait for a reply but block
1035                         while doing so
1036                 - (wait_for_reply_done): pass the matched response to the callback
1037                 - (wait_for_reply_got_data): save the matched response; simplify timeout
1038                         handling
1039                 - (nm_serial_device_wait_for_reply): make 'responses' and 'terminators'
1040                         const since they never get modified
1041                 - (cleanup_device): split out common cleanup stuff to a new function
1042                 - (real_deactivate_quickly, finalize): use cleanup_device()
1043
1044         * src/nm-gsm-device.c
1045                 - (modem_get_reply): remove, unused
1046                 - (set_apn): give the card a bit more time to respond
1047                 - (manual_registration_again, schedule_manual_registration_again,
1048                    manual_registration_response, manual_registration): handle manual
1049                         registration timeouts better by retrying registration a few times
1050                         because cards are a bit slow after CFUN=1
1051                 - (automatic_registration_get_network, get_network_response): use
1052                         modem_wait_for_reply() because it interacts better with the serial
1053                         buffer and does more intelligent matching; need to wait for 'OK'
1054                         rather than just matching terminators
1055                 - (schedule_automatic_registration_again,
1056                    automatic_registration_response, automatic_registration): retry
1057                         registration a few times on timeout or "searching" because cards
1058                         take a bit to find a network after being powered up with CFUN=1
1059                 - (power_up_response, power_up, init_full_done, enter_pin,
1060                    check_pin_done): power up the card with CFUN=1 before trying to
1061                         register with the network
1062                 - (init_modem_full, init_modem): use more standard 3G init strings
1063
1064         * src/nm-hso-gsm-device.c
1065                 - (modem_get_reply): remove, unused
1066                 - (hso_ip4_config_response, real_act_stage3_ip_config_start): use
1067                         modem_wait_for_reply() to match actual responses instead of single
1068                         termination characters; it doesn't leave stuff in the serial buffer
1069                         that might confuse later calls
1070                 - (real_deactivate_quickly): use nm_serial_device_wait_reply_blocking()
1071                         to ensure that the call is really disconnected and not leave extra
1072                         stuff in the serial buffer
1073
1074         * src/nm-cdma-device.c
1075                 - (power_up_response, power_up, init_done): try Sierra-style modem
1076                         power up before attempting to connect
1077
1078 2008-09-27  Dan Williams  <dcbw@redhat.com>
1079
1080         * libnm-util/nm-setting-gsm.c
1081                 - (verify): verify GSM network ID
1082
1083 2008-09-25  Dan Williams  <dcbw@redhat.com>
1084
1085         * libnm-util/nm-setting-gsm.c
1086           libnm-util/nm-setting-gsm.h
1087                 - Fix up NM_GSM_NETWORK_* constants to accurately reflect the network
1088                         technology terms (bgo #551361)
1089
1090 2008-09-25  Dan Williams  <dcbw@redhat.com>
1091
1092         Fix bgo #549401 (inspired by patch from Alexander Sack)
1093
1094         * src/nm-device-ethernet.c
1095                 - (finish_supplicant_task): clean up scheduled tasks and free memory
1096                 - (remove_supplicant_interface_error_handler): remove the supplicant
1097                         error idle callback too
1098                 - (supplicant_interface_release): rename from supplicant_interface_clean
1099                         to match nm-device-wifi.c; clean up supplicant interface-related
1100                         state tasks when the supplicant interface is disposed of
1101                 - (schedule_state_handler): add scheduled tasks to a list so they can
1102                         be cleaned up later
1103                 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
1104                    supplicant_iface_connection_state_cb_handler): use
1105                         finish_supplicant_task() to clean up each completed task
1106                 - (supplicant_iface_connection_error_cb_handler,
1107                    supplicant_connection_timeout_cb): clear source id when the task is
1108                         complete
1109                 - (supplicant_iface_connection_error_cb): save scheduled task id for
1110                         later cleanup
1111                 - (nm_device_ethernet_dispose): clean up any pending supplicant state
1112                         tasks
1113
1114         * src/nm-device-wifi.c
1115                 - (finish_supplicant_task): clean up scheduled tasks and free memory
1116                 - (remove_supplicant_interface_error_handler): remove the supplicant
1117                         error idle callback too
1118                 - (supplicant_interface_release): clean up supplicant interface-related
1119                         state tasks when the supplicant interface is disposed of
1120                 - (schedule_state_handler): add scheduled tasks to a list so they can
1121                         be cleaned up later
1122                 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
1123                    supplicant_iface_connection_state_cb_handler): use
1124                         finish_supplicant_task() to clean up each completed task
1125                 - (supplicant_iface_connection_error_cb_handler): clear source id when
1126                         the task is complete
1127                 - (supplicant_iface_connection_error_cb): save scheduled task id for
1128                         later cleanup
1129                 - (nm_device_wifi_dispose): clean up any pending supplicant state tasks
1130
1131 2008-09-24  Tambet Ingo  <tambet@gmail.com>
1132
1133         * system-settings/plugins/keyfile/plugin.c: Implement unmanaged_devices
1134         method and get/set hostname property.
1135
1136 2008-09-24  Tambet Ingo  <tambet@gmail.com>
1137
1138         * src/supplicant-manager/nm-supplicant-interface.c
1139         (nm_supplicant_interface_disconnect): Don't increment the reference 
1140         count when disconnecting. The problem is on shutdown, when the replies
1141         to these commands do not arrive before NM exits, resulting on never
1142         calling supplicant interface's dispose(), which removes the interface
1143         from supplicant.
1144
1145 2008-09-24  Tambet Ingo  <tambet@gmail.com>
1146
1147         * libnm-glib/nm-vpn-plugin-ui-interface.c: Add type checking to
1148         all the public function arguments.
1149
1150 2008-09-22  Tambet Ingo  <tambet@gmail.com>
1151
1152         * src/vpn-manager/nm-vpn-connection.c: Add a signal handler for the
1153         "Failure" signal from VPN plugins, store the failure reason, and
1154         use it when the state is changed to failure.
1155
1156         * introspection/nm-vpn-plugin.xml: Fix the "Failure" signal's type
1157         description.
1158
1159         * include/NetworkManagerVPN.h (NMVPNConnectionStateReason): Add a new
1160         reason to the end of the list to not break the API.
1161         (NMVPNPluginFailure): Move it here (from libnm-glib/nm-vpn-plugin.h)
1162         so it can be shared by plugins and daemon.
1163
1164 2008-09-18  Dan Williams  <dcbw@redhat.com>
1165
1166         Patch from Alexander Sack <asac@ubuntu.com>
1167
1168         * configure.in
1169           system-settings/plugins/Makefile.am
1170           system-settings/plugins/ifupdown/Makefile.am
1171           system-settings/plugins/ifupdown/interface_parser.c
1172           system-settings/plugins/ifupdown/interface_parser.h
1173           system-settings/plugins/ifupdown/nm-ifupdown-connection.c
1174           system-settings/plugins/ifupdown/nm-ifupdown-connection.h
1175           system-settings/plugins/ifupdown/parser.c
1176           system-settings/plugins/ifupdown/parser.h
1177           system-settings/plugins/ifupdown/plugin.c
1178           system-settings/plugins/ifupdown/plugin.h
1179                 - Implement a Debian/Ubuntu legacy network configuration plugin
1180                         (gnome.org #551941)
1181
1182 2008-09-18  Dan Williams  <dcbw@redhat.com>
1183
1184         Implement support for honoring configured and automatic hostnames, and for
1185         setting the configured hostname.
1186
1187         * introspection/nm-ip4-config.xml
1188           src/nm-ip4-config.c
1189           src/nm-ip4-config.h
1190           src/dhcp-manager/nm-dhcp-manager.c
1191                 - Remove useless hostname property; it's not really part of the IPv4
1192                         config
1193
1194         * introspection/nm-settings-system.xml
1195           libnm-glib/nm-dbus-settings-system.c
1196           libnm-glib/nm-dbus-settings-system.h
1197                 - Add SetHostname() call to system settings D-Bus interface
1198                 - Add Hostname property to system settings D-Bus interface
1199                 - (nm_dbus_settings_system_save_hostname,
1200                    nm_dbus_settings_system_get_hostname): implement
1201
1202         * src/nm-device.c
1203           src/nm-device.h
1204                 - (nm_device_get_dhcp4_config): implement
1205
1206         * src/nm-manager.c
1207           src/nm-manager.h
1208                 - Fetch and track system settings service hostname changes, and proxy
1209                         the changes via a GObject property of the manager
1210
1211         * system-settings/src/nm-system-config-interface.c
1212           system-settings/src/nm-system-config-interface.h
1213                 - Replace nm_system_config_interface_supports_add() with a capabilities
1214                         bitfield
1215
1216         * system-settings/src/nm-system-config-error.c
1217           system-settings/src/nm-system-config-error.h
1218                 - Add additional errors
1219
1220         * system-settings/src/dbus-settings.c
1221           system-settings/src/dbus-settings.h
1222                 - (get_property, nm_sysconfig_settings_class_init): add hostname
1223                         property; first plugin returning a hostname wins
1224                 - (impl_settings_add_connection): use plugin capabilities instead of
1225                         nm_system_config_interface_supports_add()
1226                 - (impl_settings_save_hostname): implement hostname saving
1227
1228         * src/NetworkManagerPolicy.c
1229                 - (lookup_thread_run_cb, lookup_thread_worker, lookup_thread_new,
1230                    lookup_thread_die): implement an asynchronous hostname lookup thread
1231                         which given an IPv4 address tries to look up the hostname for that
1232                         address with reverse DNS
1233                 - (get_best_device): split out best device code from
1234                         update_routing_and_dns()
1235                 - (update_etc_hosts): update /etc/hosts with the machine's new hostname
1236                         to preserve the 127.0.0.1 reverse mapping that so many things require
1237                 - (set_system_hostname): set a given hostname
1238                 - (update_system_hostname): implement hostname policy; a configured
1239                         hostname (from the system settings service) is used if available,
1240                         otherwise an automatically determined hostname from DHCP, VPN, etc.
1241                         If there was no automatically determined hostname, reverse DNS of
1242                         the best device's IP address will be used, and as a last resort the
1243                         hostname 'localhost.localdomain' is set.
1244                 - (update_routing_and_dns): use get_best_device(); update the system
1245                         hostname when the network config changes
1246                 - (hostname_changed): update system hostname if the system settings
1247                         service signals a hostname change
1248                 - (nm_policy_new): list for system settings service hostname changes
1249                 - (nm_policy_destroy): ensure that an in-progress hostname lookup thread
1250                         gets told to die
1251
1252         * system-settings/plugins/keyfile/plugin.c
1253           system-settings/plugins/ifcfg-suse/plugin.c
1254                 - (get_property, sc_plugin_ifcfg_class_init): implement hostname and
1255                         capabilities properties
1256
1257         * system-settings/plugins/ifcfg-fedora/shvar.c
1258                 - (svOpenFile): re-enable R/W access of ifcfg files since the plugin
1259                         writes out /etc/sysconfig/network now
1260
1261         * system-settings/plugins/ifcfg-fedora/plugin.c
1262                 - (plugin_get_hostname): get hostname from /etc/sysconfig/network
1263                 - (plugin_set_hostname): save hostname to /etc/sysconfig/network
1264                 - (sc_network_changed_cb): handle changes to /etc/sysconfig/network
1265                 - (sc_plugin_ifcfg_init): monitor /etc/sysconfig/network for changes
1266                 - (get_property, set_property, sc_plugin_ifcfg_class_init): implement
1267                         hostname get/set and capabilities get
1268
1269 2008-09-18  Dan Williams  <dcbw@redhat.com>
1270
1271         * libnm-util/nm-setting-wireless.c
1272                 - (nm_setting_wireless_ap_security_compatible): only verify pairwise and
1273                         group ciphers if the wireless-security setting explicitly specified
1274                         them, effectively making the default be "all ciphers"  (idea from
1275                         Alexander Sack)
1276
1277 2008-09-15  Dan Williams  <dcbw@redhat.com>
1278
1279         Patch from Alexander Sack <asac@ubuntu.com>
1280
1281         * src/named-manager/nm-named-manager.c
1282                 - (dispatch_resolvconf): respect resolvconf exit code
1283
1284 2008-09-12  Tambet Ingo  <tambet@gmail.com>
1285
1286         * src/named-manager/nm-named-manager.c (dispatch_netconfig): Make it compile
1287         again. Add some debugging.
1288
1289 2008-09-11  Dan Williams  <dcbw@redhat.com>
1290
1291         * system-settings/plugins/keyfile/plugin.c
1292                 - (update_connection_settings): update connection manually, since
1293                         nm_exported_connection_update() does authentication
1294                 - (dir_changed): update_connection_settings() doesn't need to return
1295                         an error
1296
1297 2008-09-09  Dan Williams  <dcbw@redhat.com>
1298
1299         * libnm-glib/nm-vpn-plugin-ui-interface.c
1300           libnm-glib/nm-vpn-plugin-ui-interface.h
1301           libnm-glib/libnm_glib_vpn.ver
1302                 - (nm_vpn_plugin_ui_interface_delete_connection): called when the plugin
1303                         should clean up resources related to the connection (like keyring
1304                         secrets)
1305                 - (nm_vpn_plugin_ui_widget_interface_save_secrets): called when the plugin
1306                         should save user-scope secrets (like to the keyring)
1307
1308 2008-09-08  Dan Williams  <dcbw@redhat.com>
1309
1310         Patch from Alexander Sack <asac@ubuntu.com>
1311
1312         * libnm-util/crypto_gnutls.c
1313           libnm-util/crypto_nss.c
1314                 - (crypto_init, crypto_deinit): just use a boolean instead of a refcount
1315
1316         * libnm-util/nm-utils.c
1317           libnm-util/nm-utils.h
1318           libnm-util/libnm-util.ver
1319                 - (nm_utils_init): initialize libnm-util
1320                 - (nm_utils_deinit): de-initialize libnm-util and clean up resources
1321
1322         * libnm-util/nm-setting-8021x.c
1323                 - (nm_setting_802_1x_class_init): init libnm-util when needed
1324
1325 2008-09-05  Dan Williams  <dcbw@redhat.com>
1326
1327         Patch from Roy Marples <roy@marples.name> and others
1328
1329         * configure.in
1330           src/named-manager/nm-named-manager.c
1331                 - Add support for resolvconf; use --with-resolvconf at configure time
1332                         to enable it
1333
1334 2008-09-05  Dan Williams  <dcbw@redhat.com>
1335
1336         * libnm-util/crypto_nss.c
1337           libnm-util/crypto_gnutls.c
1338           libnm-util/crypto.h
1339                 - (crypto_init): return error when init fails
1340
1341 2008-09-05  Dan Williams  <dcbw@redhat.com>
1342
1343         * libnm-glib/nm-device-wifi.c
1344                 - (access_point_removed_proxy): clean up the active access point too
1345                         just in case the active ap changed signal didn't come through yet
1346                 - (clean_up_aps): be sure to set priv->active_ap to NULL when cleaning up
1347
1348 2008-09-05  Dan Williams  <dcbw@redhat.com>
1349
1350         * libnm-glib/nm-client.c
1351                 - (constructor): get initial state after we know whether NM is running
1352                         or not
1353
1354 2008-09-05  Dan Williams  <dcbw@redhat.com>
1355
1356         * libnm-glib/nm-ip4-config.c
1357           libnm-glib/nm-dhcp4-config.c
1358                 - (finalize): clean up the DBusGProxy
1359
1360 2008-09-04  Dan Williams  <dcbw@redhat.com>
1361
1362         * src/nm-ip4-config.c
1363           src/nm-ip4-config.h
1364                 - (nm_ip4_config_new): don't export over D-Bus here
1365                 - (nm_ip4_config_export): new function; export the config over D-Bus
1366                 - (nm_ip4_config_is_exported): new function
1367
1368         * src/nm-device.c
1369                 - (nm_device_activate_stage5_ip_config_commit): fix leak of IP4Config
1370                         objects by balancing the IP4Config constructor; the device holds
1371                         a reference to the IP4Config already
1372                 - (nm_device_set_ip4_config): export the IP4Config when needed
1373
1374 2008-09-04  Dan Williams  <dcbw@redhat.com>
1375
1376         * src/supplicant-manager/nm-supplicant-settings-verify.c
1377                 - Allow WPA-NONE key management for Ad-Hoc WPA connections
1378
1379 2008-09-04  Dan Williams  <dcbw@redhat.com>
1380
1381         * libnm-util/nm-setting-vpn.c
1382           libnm-util/nm-setting-vpn.h
1383                 - Split VPN secrets from VPN data so that settings services can actually
1384                         figure out that they are secrets and store them accordingly
1385
1386         * system-settings/plugins/keyfile/nm-keyfile-connection.c
1387           system-settings/plugins/keyfile/reader.c
1388           system-settings/plugins/keyfile/reader.h
1389           system-settings/plugins/keyfile/writer.c
1390                 - Store VPN secrets separately from VPN data so that they can be fetched
1391                         on demand
1392                 - Implement the get_secrets() call so that (a) secrets don't leak out
1393                         to unprivileged callers, and (b) secrets can be sent to privileged
1394                         callers when needed
1395
1396         * vpn-daemons/vpnc/src/nm-vpnc-service.c
1397                 - Handle split VPN secrets
1398
1399 2008-08-27  Dan Williams  <dcbw@redhat.com>
1400
1401         * system-settings/plugins/ifcfg-fedora/reader.c
1402                 - (make_ip4_setting): use DOMAIN not SEARCH (rh #459370)
1403
1404 2008-08-27  Dan Williams  <dcbw@redhat.com>
1405
1406         Ensure zombie children get cleaned up.  To get notifications when children
1407         die abnormally, g_spawn_async() requires G_SPAWN_DO_NOT_REAP_CHILD, but
1408         that requires calling waitpid() yourself if you've removed the child watch
1409         handler before the process has actually died, which NM needs to do in a few
1410         places.  So ensure that everything uses G_SPAWN_DO_NOT_REAP_CHILD and also
1411         cleans up after the child when required.  Should fix problems trying to
1412         activate mobile broadband connections after a previous failure.
1413
1414         * src/dhcp-manager/nm-dhcp-dhclient.c
1415           src/dhcp-manager/nm-dhcp-dhcpcd.c
1416                 - Use G_SPAWN_DO_NOT_REAP_CHILD
1417
1418         * src/dhcp-manager/nm-dhcp-manager.c
1419                 - (nm_dhcp_device_destroy): ensure child is cleaned up
1420                 - (nm_dhcp_client_stop, nm_dhcp_manager_cancel_transaction_real): always
1421                         block on child quitting, since the non-blocking functionality was
1422                         never actually used
1423
1424         * src/dnsmasq-manager/nm-dnsmasq-manager.c
1425                 - (dm_watch_cb): child is already reaped here
1426                 - (ensure_killed, nm_dnsmasq_manager_stop): block until child is dead
1427
1428         * src/nm-device.c
1429                 - (aipd_cleanup): block until child is dead
1430
1431         * src/named-manager/nm-named-manager.c
1432                 - (run_netconfig): don't use G_SPAWN_DO_NOT_REAP_CHILD if we aren't
1433                         event bothering to watch the child
1434
1435         * src/ppp-manager/nm-ppp-manager.c
1436                 - (ppp_watch_cb): child is already reaped here
1437                 - (ensure_killed, nm_ppp_manager_stop): block until child is dead
1438
1439         * src/vpn-manager/nm-vpn-service.c
1440                 - (vpn_service_watch_cb): child is already reaped here
1441                 - (nm_vpn_service_daemon_exec): use G_SPAWN_DO_NOT_REAP_CHILD so that
1442                         status of the child is actually tracked
1443                 - (ensure_killed, finalize): block until child is dead
1444
1445 2008-08-26  Dan Williams  <dcbw@redhat.com>
1446
1447         * system-settings/plugins/keyfile/nm-keyfile-connection.c
1448                 - (update): Update filename of the connection if the connection id
1449                         was changed
1450
1451         * system-settings/plugins/keyfile/plugin.c
1452                 - (dir_changed): first pass at handling connection renames correctly
1453
1454         * system-settings/plugins/keyfile/writer.c
1455           system-settings/plugins/keyfile/writer.h
1456                 - (write_connection): replace '/' with '*' when writing out the filename
1457                         from the connection id
1458
1459 2008-08-26  Dan Williams  <dcbw@redhat.com>
1460
1461         Add connection UUIDs, since connection names can be changed, and since
1462         old-style connection IDs could change over the life of the connection.  The
1463         UUID should be assigned at connection creation time, be stable for a given
1464         connection, and should be unique among all connections for a given settings
1465         service.
1466
1467         * configure.in
1468           libnm-util/Makefile.am
1469                 - Require libuuid
1470
1471         * introspection/nm-exported-connection.xml
1472                 - Remove "GetID" method
1473
1474         * libnm-glib/nm-dbus-connection.c
1475           libnm-glib/nm-settings.c
1476           libnm-glib/nm-settings.h
1477                 - Remove id-related stuff
1478
1479         * libnm-util/nm-utils.c
1480           libnm-util/nm-utils.h
1481           libnm-util/libnm-util.ver
1482                 - (nm_utils_uuid_generate, nm_utils_uuid_generate_from_string): Add
1483                         utility functions to generate UUIDs
1484
1485         * libnm-util/nm-setting-connection.c
1486           libnm-util/nm-setting-connection.h
1487                 - Add 'uuid' member to the connection setting
1488                 - (verify): require valid 'uuid' for a valid connection
1489
1490         * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
1491           system-settings/plugins/ifcfg-fedora/reader.c
1492           system-settings/plugins/ifcfg-suse/nm-suse-connection.c
1493           system-settings/plugins/ifcfg-suse/parser.c
1494           system-settings/plugins/keyfile/nm-keyfile-connection.c
1495           system-settings/src/main.c
1496                 - Remove id-related stuff
1497                 - Give connections UUIDs where needed
1498
1499 2008-08-25  Dan Williams  <dcbw@redhat.com>
1500
1501         * libnm-util/crypto_gnutls.c
1502           libnm-util/crypto_nss.c
1503                 - (crypto_init, crypto_deinit): refcount init/deinit
1504                 - (crypto_md5_hash): allow NULL salt
1505
1506 2008-08-22  Michael Biebl  <mbiebl@gmail.com>
1507
1508         * libnm-glib/Makefile.am
1509           libnm-util/Makefile.am
1510           libnm-glib/libnm_glib.ver
1511           libnm-glib/libnm_glib_vpn.ver
1512           libnm-util/libnm-util.ver
1513                 - Use linker version scripts to control the list of exported 
1514                 symbols. List each exported symbol explicitely.
1515         * libnm-util/Makefile.am
1516                 - Fix compilation of the test-crypto binary. The crypto
1517                 functions are no longer part of the libnm-util API. Add 
1518                 crypto_*.c to test_crypto_SOURCES and link against the correct
1519                 crypto libraries.
1520
1521 2008-08-19  Dan Williams  <dcbw@redhat.com>
1522
1523         * configure.in
1524           test/Makefile.am
1525                 - Don't build test/test-common
1526                 - Remove unused stuff
1527
1528         * test/nm-set-fallback
1529           test/nmtestdevices.c
1530           test/test-common/.cvsignore
1531           test/test-common/Makefile.am
1532           test/test-common/test-common.c
1533           test/test-common/test-common.h
1534                 - delete
1535
1536 2008-08-18  Dan Williams  <dcbw@redhat.com>
1537
1538         * libnm-util/nm-utils.c
1539           libnm-util/nm-utils.h
1540                 - (nm_utils_garray_to_string): remove; NM was the only user and doesn't
1541                         export anything that needs to be converted with this function
1542
1543         * src/dhcp-manager/nm-dhcp-manager.c
1544                 - (garray_to_string): convert a byte array to a UTF-8 string with
1545                         minimal validation; the DHCP client sends it in ASCII anyway
1546                 - (get_option, copy_option): use garray_to_string()
1547
1548 2008-08-18  Dan Williams  <dcbw@redhat.com>
1549
1550         * include/NetworkManager.h
1551           introspection/nm-device.xml
1552                 - Add a "missing firmware" device state reason
1553
1554         * src/NetworkManagerSystem.c
1555           src/NetworkManagerSystem.h
1556                 - (nm_system_device_set_up_down): add a no_firmware argument
1557                 - (nm_system_device_set_up_down_with_iface): if the result of setting
1558                         IFF_UP is ENOENT, that almost always means missing firmware
1559
1560         * src/backends/NetworkManagerGeneric.c
1561           src/nm-device-ethernet.c
1562           src/nm-device-private.h
1563           src/nm-device-wifi.c
1564           src/nm-device.c
1565           src/nm-device.h
1566           src/nm-hso-gsm-device.c
1567           src/vpn-manager/nm-vpn-connection.c
1568                 - Pass no_firmware along; check it where appropriate
1569
1570 2008-08-18  Dan Williams  <dcbw@redhat.com>
1571
1572         Patch from Robert Buchholz <rbu@gentoo.org>
1573
1574         * autogen.sh
1575           configure.in
1576                 - Change to automake 1.9 and 'ustar' tar format defined by POSIX
1577                         1003.1-1988, allowing for file names longer than 99 characters
1578
1579 2008-08-17  Dan Williams  <dcbw@redhat.com>
1580
1581         * include/NetworkManager.h
1582           introspection/nm-device.xml
1583           src/nm-gsm-device.c
1584                 - Finer-grained GSM registration failure error codes
1585
1586 2008-08-17  Dan Williams  <dcbw@redhat.com>
1587
1588         * callouts/Makefile.am
1589           src/Makefile.am
1590                 - Move dispatcher directory creation to callouts/Makefile.am
1591
1592         * system-settings/plugins/keyfile/Makefile.am
1593                 - Create keyfile connections directory in DESTDIR (bgo #546833)
1594
1595 2008-08-15  Dan Williams  <dcbw@redhat.com>
1596
1597         Do connection sharing in a cleaner manner; all required iptables rules
1598         are now stored in the activation request and pertain only to the device
1599         which is being shared to other computers. (rh #458625)
1600
1601         * src/nm-activation-request.c
1602           src/nm-activation-request.h
1603                 - (nm_act_request_add_share_rule): new function; add a sharing rule to
1604                         the activation request which will get torn down automatically when
1605                         the activation request dies
1606                 - (nm_act_request_set_shared): push sharing rules to iptables when sharing
1607                         is started, and tear them down when sharing is stopped
1608
1609         * src/nm-device.c
1610                 - (start_sharing): start up sharing by doing the required iptables magic
1611                 - (share_init): poke the right bits of the kernel and load the right
1612                         modules for NAT
1613                 - (nm_device_activate_stage5_ip_config_commit): start NAT-ing this
1614                         connection if it's a 'shared' connection
1615
1616         * src/NetworkManagerPolicy.c
1617                 - Remove all sharing stuff; done in the device code itself
1618
1619 2008-08-15  Dan Williams  <dcbw@redhat.com>
1620
1621         * src/dnsmasq-manager/nm-dnsmasq-manager.c
1622                 - (create_dm_cmd_line): send the right router address
1623
1624 2008-08-15  Dan Williams  <dcbw@redhat.com>
1625
1626         * src/ppp-manager/nm-ppp-manager.c
1627                 - (pppd_timed_out): ensure timeouts fail the connection
1628
1629 2008-08-14  Dan Williams  <dcbw@redhat.com>
1630
1631         * src/nm-properties-changed-signal.c
1632           src/nm-properties-changed-signal.h
1633                 - Add a property spec flag for "don't export this property" in
1634                         property changed signals
1635
1636         * src/nm-hso-gsm-device.c
1637           src/nm-gsm-device.c
1638           src/nm-cdma-device.c
1639                 - Don't export monitor interface or netdev interface properties
1640
1641 2008-08-14  Dan Williams  <dcbw@redhat.com>
1642
1643         * src/NetworkManagerPolicy.c
1644                 - (update_routing_and_dns): 'hso' devices can be default even if they
1645                         don't have a gateway
1646
1647 2008-08-14  Dan Williams  <dcbw@redhat.com>
1648
1649         * src/nm-device.c
1650                 - (nm_device_deactivate_quickly): tear down activation request after
1651                         calling device-specific deactivation
1652
1653         * src/nm-hso-gsm-device.c
1654                 - (real_deactivate_quickly): terminate connection when deactivating
1655
1656 2008-08-14  Dan Williams  <dcbw@redhat.com>
1657
1658         * src/nm-activation-request.h
1659                 - Add HSO secrets caller
1660
1661         * src/nm-gsm-device.c
1662           src/nm-gsm-device.h
1663                 - (modem_wait_for_reply): add a 'user_data' argument so callers can pass
1664                         something to the callback function
1665                 - (set_apn, set_apn_done): call class dial function, not a static one
1666                 - (nm_gsm_device_class_init): add a class 'dial' function
1667
1668         * src/nm-hal-manager.c
1669                 - (get_hso_netdev): find the hso-driven hardware's net device
1670                 - (modem_device_creator): recognize hso-driven hardware and create the
1671                         right type of device object for it
1672
1673         * src/Makefile.am
1674           src/nm-hso-gsm-device.c
1675           src/nm-hso-gsm-device.h
1676                 - Implement support for devices driven by the 'hso' driver as a subclass
1677                         of NMGsmDevice
1678
1679 2008-08-14  Dan Williams  <dcbw@redhat.com>
1680
1681         * src/NetworkManagerSystem.c
1682                 - (nm_system_device_is_up_with_iface): ensure ifreq is cleared before using
1683                 - (nm_system_device_set_up_down_with_iface): cleanups; only return
1684                         success if the operation really was successful
1685
1686 2008-08-14  Dan Williams  <dcbw@redhat.com>
1687
1688         * src/nm-netlink-monitor.c
1689           src/nm-netlink-monitor.h
1690           src/nm-device-ethernet.c
1691                 - (nm_netlink_monitor_request_status): return an error on failure
1692                 - (constructor): don't segfault on missing error
1693
1694 2008-08-13  Dan Williams  <dcbw@redhat.com>
1695
1696         * callouts/nm-dispatcher-action.c
1697                 - Add IP4 config info to script environment
1698
1699 2008-08-12  Dan Williams  <dcbw@redhat.com>
1700
1701         * src/nm-device.c
1702                 - (nm_device_set_ip4_config): don't touch hostnames here; distros
1703                         that want to use DHCP hostnames should use dispatcher scripts
1704                         for that
1705
1706         * src/NetworkManagerSystem.h
1707           src/backends/NetworkManagerArch.c
1708           src/backends/NetworkManagerDebian.c
1709           src/backends/NetworkManagerFrugalware.c
1710           src/backends/NetworkManagerGeneric.c
1711           src/backends/NetworkManagerGeneric.h
1712           src/backends/NetworkManagerGentoo.c
1713           src/backends/NetworkManagerMandriva.c
1714           src/backends/NetworkManagerPaldo.c
1715           src/backends/NetworkManagerRedHat.c
1716           src/backends/NetworkManagerSlackware.c
1717           src/backends/NetworkManagerSuSE.c
1718                 - Remove nm_system_set_hostname(), no longer used
1719           
1720         * src/backends/Makefile.am
1721           src/backends/shvar.c
1722           src/backends/shvar.h
1723                 - Remove shvar.*; no longer used
1724
1725 2008-08-12  Dan Williams  <dcbw@redhat.com>
1726
1727         Revert most of the 'hostname' patch.  Too much stuff still breaks when
1728         hostname is updated at runtime.  Distros or users who want hostname updates
1729         can use dispatcher scripts to update the hostname if they need it.
1730
1731 2008-08-12  Dan Williams  <dcbw@redhat.com>
1732
1733         * introspection/nm-settings-system.xml
1734           system-settings/src/dbus-settings.c
1735           system-settings/src/dbus-settings.h
1736                 - Add a 'Hostname' property (rw) which represents the configured
1737                         hostname and domain of the system, if any
1738
1739         * system-settings/src/nm-system-config-error.c
1740           system-settings/src/nm-system-config-error.h
1741           system-settings/src/nm-system-config-interface.c
1742           system-settings/src/nm-system-config-interface.h
1743                 - Add a 'hostname' property to the plugin interface
1744                 - Add a method to send updated hostname to plugins to save in their
1745                         backing configuration store
1746
1747         * system-settings/plugins/keyfile/nm-keyfile-connection.c
1748           system-settings/plugins/keyfile/plugin.c
1749           system-settings/plugins/keyfile/writer.c
1750           system-settings/plugins/keyfile/writer.h
1751           system-settings/plugins/ifcfg-suse/plugin.c
1752                 - Add minimal hostname support
1753
1754         * system-settings/plugins/ifcfg-fedora/plugin.c
1755                 - Add support for updating system hostname in /etc/sysconfig/network
1756
1757 2008-08-12  Dan Williams  <dcbw@redhat.com>
1758
1759         * system-settings/plugins/ifcfg-fedora/shvar.c
1760           system-settings/plugins/ifcfg-fedora/shvar.c
1761                 - Fix double-free caused by svSetValue() followed by svCloseFile()
1762
1763 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1764
1765         * Makefile.am: Fix distcheck.
1766
1767 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1768
1769         * libnm-glib/*.c. Document some more.
1770
1771 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1772
1773         Start documenting libnm-glib public API using gtk-doc.
1774
1775         * libnm-glib/nm-serial-device.c: 
1776         * libnm-glib/nm-object.c: 
1777         * libnm-glib/nm-gsm-device.c: 
1778         * libnm-glib/nm-device.c: 
1779         * libnm-glib/nm-device-wifi.c: 
1780         * libnm-glib/nm-device-ethernet.c: 
1781         * libnm-glib/nm-client.c: 
1782         * libnm-glib/nm-cdma-device.c: Document the public API.
1783
1784         * docs/libnm-glib/libnm-glib.types: Implement.
1785
1786         * docs/libnm-glib/Makefile.am: Implement.
1787
1788         * autogen.sh: 
1789         * configure.in: 
1790         * Makefile.am: Add gtk-doc support.
1791
1792 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1793
1794         * src/backends/*: Get rid of nm_system_should_modify_resolv_conf().
1795
1796         * src/named-manager/nm-named-manager.c (rewrite_resolv_conf): Calculate
1797         the composite result of all the IP4 configurations and call a distro
1798         specific update_resolv_conf().
1799         (update_resolv_conf): Implement one for directly writing to 
1800         /etc/resolv.conf and one for opensuse to call netconfig.
1801
1802 2008-08-11  Dan Williams  <dcbw@redhat.com>
1803
1804         * src/ppp-manager/nm-ppp-manager.c
1805                 - (impl_ppp_manager_need_secrets): pass interface as required
1806
1807 2008-08-11  Dan Williams  <dcbw@redhat.com>
1808
1809         Merge the vpn-properties setting with the vpn setting since it was pointless
1810         to keep both of them around.  Convert the vpn 'data' hash table to a hash
1811         of string:string (instead of string:variant) so that system settings plugins
1812         can have an easier time dealing with the arbitrary key/value pairs.
1813
1814 2008-08-11  Dan Williams  <dcbw@redhat.com>
1815
1816         * libnm-util/nm-utils.c
1817                 - (nm_utils_register_value_transformations): add value transform for
1818                         a hash table of string:string
1819
1820 2008-08-10  Dan Williams  <dcbw@redhat.com>
1821
1822         * libnm-glib/nm-vpn-plugin.c
1823                 - (nm_vpn_plugin_connect): stop plugin after connection failure from
1824                         an idle handler so the Connect reply gets delivered before the
1825                         stop StateChanged signal
1826
1827 2008-08-10  Dan Williams  <dcbw@redhat.com>
1828
1829         * src/nm-ip4-config.c
1830                 - (get_property): use common ip4 address/route conversion functions
1831                 - (nm_ip4_config_replace_address, nm_ip4_config_replace_route): should
1832                         copy the new route here, not take ownership
1833
1834 2008-08-08  Tambet Ingo  <tambet@gmail.com>
1835
1836         * system-settings/plugins/ifcfg-suse/parser.c (make_ip4_setting):
1837         Update the IP4 setting's method name.
1838
1839 2008-08-07  Dan Williams  <dcbw@redhat.com>
1840
1841         * introspection/nm-ip4-config.xml
1842           libnm-glib/libnm-glib-test.c
1843           libnm-glib/nm-ip4-config.c
1844           libnm-glib/nm-ip4-config.h
1845           src/NetworkManagerSystem.h
1846           src/backends/NetworkManagerArch.c
1847           src/backends/NetworkManagerDebian.c
1848           src/backends/NetworkManagerFrugalware.c
1849           src/backends/NetworkManagerGeneric.c
1850           src/backends/NetworkManagerGeneric.h
1851           src/backends/NetworkManagerGentoo.c
1852           src/backends/NetworkManagerMandriva.c
1853           src/backends/NetworkManagerPaldo.c
1854           src/backends/NetworkManagerRedHat.c
1855           src/backends/NetworkManagerSlackware.c
1856           src/backends/NetworkManagerSuSE.c
1857           src/dhcp-manager/nm-dhcp-manager.c
1858           src/nm-device.c
1859           src/nm-ip4-config.c
1860           src/nm-ip4-config.h
1861                 - Remove NIS logic; should be done from dispatcher scripts instead
1862
1863 2008-08-07  Dan Williams  <dcbw@redhat.com>
1864
1865         * src/dhcp-manager/nm-dhcp-manager.c
1866                 - (nm_dhcp_manager_get_ip4_config): fix regression which caused
1867                         mis-handling of DHCP responses that returned more than one router
1868                         (found by Grant Williamson)
1869
1870 2008-08-07  Dan Williams  <dcbw@redhat.com>
1871
1872         * callouts/nm-dispatcher-action.c
1873                 - (nm_dispatcher_action): grab device path and create the device; pass
1874                         the device's DHCP4 config to script caller
1875                 - (dispatch_scripts): dump the DHCP4 config to the environment of called
1876                         scripts
1877
1878         * libnm-glib/nm-dhcp4-config.c
1879           libnm-glib/nm-dhcp4-config.h
1880                 - (nm_dhcp4_config_get_options): expose
1881                 - (nm_dhcp4_config_get_one_option): renamed from nm_dhcp4_config_get_option
1882
1883 2008-08-07  Dan Williams  <dcbw@redhat.com>
1884
1885         * include/NetworkManager.h
1886                 - Add the DHCP4Config D-Bus interface
1887
1888         * libnm-glib/Makefile.am
1889           libnm-glib/nm-dhcp4-config.c
1890           libnm-glib/nm-dhcp4-config.h
1891                 - Handle DHCP4 config objects exported by NM over D-Bus
1892
1893         * libnm-glib/nm-device.c
1894           libnm-glib/nm-device.h
1895                 - Add a 'dhcp4-config' property
1896
1897         * libnm-glib/libnm-glib-test.c
1898                 - Print out DHCP4 config for devices
1899                 - Fix some crashes when no connections are active
1900
1901         * src/nm-device-interface.c
1902           src/nm-device.c
1903           src/nm-dhcp4-config.c
1904           src/nm-dhcp4-config.h
1905                 - Treat dhcp4-config object as an object path at the D-Bus interface so
1906                         that when it doesn't exist we can proxy it as "/" which dbus-glib
1907                         doesn't let us do when the property type is G_TYPE_OBJECT
1908
1909 2008-08-07  Dan Williams  <dcbw@redhat.com>
1910
1911         * src/NetworkManager.c
1912           src/NetworkManagerSystem.h
1913           src/backends/NetworkManagerArch.c
1914           src/backends/NetworkManagerDebian.c
1915           src/backends/NetworkManagerFrugalware.c
1916           src/backends/NetworkManagerGeneric.c
1917           src/backends/NetworkManagerGeneric.h
1918           src/backends/NetworkManagerGentoo.c
1919           src/backends/NetworkManagerMandriva.c
1920           src/backends/NetworkManagerPaldo.c
1921           src/backends/NetworkManagerRedHat.c
1922           src/backends/NetworkManagerSlackware.c
1923           src/backends/NetworkManagerSuSE.c
1924                 - (nm_system_init, nm_system_kill_all_dhcp_daemons): remove, unused
1925
1926 2008-08-06  Dan Williams  <dcbw@redhat.com>
1927
1928         * libnm-glib/nm-ip4-config.c
1929           libnm-glib/nm-ip4-config.h
1930                 - Add 'routes' property
1931
1932         * libnm-util/nm-setting-vpn.c
1933           libnm-util/nm-setting-vpn.h
1934                 - Remove 'routes' property
1935
1936         * libnm-util/nm-setting-ip4-config.c
1937           libnm-util/nm-setting-ip4-config.h
1938                 - 'ignore-dhcp-dns' renamed to 'ignore-auto-dns'
1939                 - Add 'ignore-auto-routes' property
1940                 - 'routes' exposed over D-Bus is now an array of array of uint (4) to 
1941                         accomodate route metrics
1942                 - 'routes' exposed in C is now a list of NMSettingIP4Route structures
1943
1944         * libnm-util/nm-utils.c
1945           libnm-util/nm-utils.h
1946                 - Add helpers for marshalling IP4 routes
1947
1948         * src/NetworkManagerUtils.c
1949                 - (nm_utils_merge_ip4_config): handle property renames and new route
1950                         structure
1951
1952         * src/NetworkManagerSystem.c
1953                 - (nm_system_device_set_ip4_route, nm_system_device_set_from_ip4_config,
1954                    nm_system_vpn_device_set_from_ip4_config): respect route metrics
1955
1956         * src/dhcp-manager/nm-dhcp-manager.c
1957                 - (nm_dhcp_manager_get_ip4_config): handle new route structure
1958
1959         * system-settings/plugins/ifcfg-fedora/reader.c
1960           system-settings/plugins/ifcfg-fedora/writer.c
1961                 - Handle routes separately from addresses now that routes have a different
1962                         format
1963
1964         * introspection/nm-ip4-config.xml
1965           src/nm-ip4-config.c
1966           src/nm-ip4-config.h
1967                 - Rename internal routing functions
1968                 - 'static-routes' renamed to 'routes'
1969
1970 2008-08-04  Dan Williams  <dcbw@redhat.com>
1971
1972         Patch from Sjoerd Simons <sjoerd.simons@collabora.co.uk>
1973
1974         * src/NetworkManager.c
1975           src/nm-manager.c
1976           src/nm-manager.h
1977                 - More explicitly make the NMManager a singleton
1978
1979 2008-08-04  Dan Williams  <dcbw@redhat.com>
1980
1981         * libnm-util/nm-connection.c
1982           libnm-util/nm-connection.h
1983                 - (nm_connection_verify): return error on missing 'connection' setting
1984                         (found by Sjoerd Simons)
1985
1986 2008-08-04  Dan Williams  <dcbw@redhat.com>
1987
1988         Handle multiple concurrent PPP connections.
1989
1990         * src/ppp-manager/nm-ppp-manager.c
1991           src/ppp-manager/nm-ppp-manager.h
1992                 - (constructor): only PPP Manager request bus name once; each
1993                         NMPPPManager object gets a unique object path
1994                 - (nm_ppp_manager_class_init, get_property, set_property,
1995                    nm_ppp_manager_new, nm_ppp_manager_start): pass parent interface in
1996                         at construct time
1997                 - (impl_ppp_manager_need_secrets, impl_ppp_manager_set_state): don't
1998                         remove timeout until PPP manager gets an IP4 config
1999                 - (create_pppd_cmd_line): pass dbus object path as 'ipparam' so that
2000                         the plugin can call back to this specific PPP manager instance
2001
2002         * src/nm-device-ethernet.c
2003           src/nm-serial-device.c
2004                 - Pass parent device in nm_ppp_manager_new()
2005
2006         * src/nm-gsm-device.c
2007           src/nm-cdma-device.c
2008                 - (device_state_changed): don't close serial device on NEED_AUTH
2009                         state changed, that's not a failure case like the rest are
2010
2011         * src/ppp-manager/nm-pppd-plugin.c
2012                 - (nm_ip_up): always use index 0 into the ipcp options, because NM always
2013                         binds one interface to any pppd process, thus the correct index
2014                         is always 0; send PHASE_DEAD on error to alert NM immediately of
2015                         problems; try harder to get a peer address in spite of pppd
2016                 - (plugin_init): use 'ipparam' as the object path back to our specific
2017                         PPP manager instance
2018
2019 2008-08-04  Dan Williams  <dcbw@redhat.com>
2020
2021         * src/ppp-manager/nm-ppp-manager.c
2022                 - (impl_ppp_manager_need_secrets): rework to handle secrets better;
2023                         since the GSM and CDMA settings now implement need_secrets, we can
2024                         rely on them to do the right thing.  Where secrets are not required,
2025                         just pass empty strings back to the pppd plugin.
2026                 - (nm_ppp_manager_update_secrets): leak fix; don't need to dup the strings
2027                 - (impl_ppp_manager_set_ip4_config): clear the secrets tries counter
2028                         on successful IP4 config receipt
2029
2030 2008-08-04  Dan Williams  <dcbw@redhat.com>
2031
2032         * libnm-util/nm-setting-cdma.c
2033           libnm-util/nm-setting-gsm.c
2034                 - (verify): validate username & password if they exist
2035                 - (need_secrets): if username given, require a password too
2036
2037 2008-08-04  Dan Williams  <dcbw@redhat.com>
2038
2039         * src/dnsmasq-manager/nm-dnsmasq-manager.c
2040                 - (create_dm_cmd_line): really don't listen on lo, despite what the
2041                         manpage says about --listen-address without --interface
2042                         (bgo #546033)
2043
2044 2008-08-01  Dan Williams  <dcbw@redhat.com>
2045
2046         * libnm-glib/nm-device.c
2047                 - (proxy_get_string): util function for querying a HAL property
2048                 - (get_ancestor_device): split out from get_product_and_vendor()
2049                 - (get_product_and_vendor): simplify; get more accurate pid & vid info
2050                         from PCI devices by querying subsys properties
2051                 - (nm_device_update_description): simplify
2052
2053 2008-08-01  Dan Williams  <dcbw@redhat.com>
2054
2055         * libnm-util/nm-setting-ip4-config.c
2056           libnm-util/nm-setting-ip4-config.h
2057                 - Make IPv4 methods reflect their usage; 'dhcp' -> 'auto' and
2058                         'autoip' -> 'link-local'.  VPN & PPP connections can also have IPv4
2059                         settings, and they don't necessarily use DHCP.
2060
2061         * src/NetworkManagerPolicy.c
2062           src/nm-device.c
2063           system-settings/plugins/ifcfg-fedora/reader.c
2064           system-settings/plugins/ifcfg-suse/parser.c
2065                 - Fixup for method changes
2066
2067 2008-07-31  Dan Williams  <dcbw@redhat.com>
2068
2069         * src/nm-activation-request.c
2070           src/vpn-manager/nm-vpn-connection.c
2071                 - Correct GetSecrets D-Bus pending call usage; the GetSecrets call
2072                         itself should be attached to the activation request or the VPN
2073                         connection, not the NMConnection object, since the call is not
2074                         expected to live as long as the NMConnection itself
2075
2076 2008-07-31  Dan Williams  <dcbw@redhat.com>
2077
2078         * src/nm-device-wifi.c
2079                 - (real_act_stage2_config): fix issue where association would continue
2080                         even though secrets were needed; 'goto out' was in wrong scope and
2081                         result of handle_auth_or_fail() should have been dumped directly to
2082                         'ret' to ensure that the association was postponed until secrets
2083                         are available
2084
2085 2008-07-31  Dan Williams  <dcbw@redhat.com>
2086
2087         * system-settings/plugins/ifcfg-fedora/plugin.c
2088           system-settings/plugins/ifcfg-fedora/reader.c
2089                 - Don't ignore unmanaged devices if their ifcfg file doesn't make a
2090                         valid NM connection
2091
2092 2008-07-29  Dan Williams  <dcbw@redhat.com>
2093
2094         * src/nm-gsm-device.c
2095                 - (automatic_registration_response, automatic_registration): recognize
2096                         denied registration and reorder responses
2097
2098 2008-07-29  Dan Williams  <dcbw@redhat.com>
2099
2100         * src/nm-serial-device.c
2101                 - (nm_serial_device_wait_for_reply): fix timeout calculation.  Since
2102                         time(2) is used for current time, which returns seconds, we shouldn't
2103                         be multiplying by 1000.
2104
2105 2008-07-28  Dan Williams  <dcbw@redhat.com>
2106
2107         Patch from Fabrice Bellet <fabrice@bellet.info>
2108
2109         * src/NetworkManagerSystem.c
2110                 - (route_in_same_subnet): mask addresses and compare them so that the
2111                         function actually does what it says it's going to do (rh #456685)
2112
2113 2008-07-27  Dan Williams  <dcbw@redhat.com>
2114
2115         * libnm-util/nm-setting-ip6-config.c
2116                 - (set_property): add missing break that caused routes to be overwritten
2117                         with addresses
2118
2119         * libnm-util/nm-setting-ip6-config.c
2120                 - (verify): validate routes and return GError everywhere on invalid setting
2121                 - (finalize): don't leak routes
2122                 - (set_property): add missing break that caused routes to be overwritten
2123                         with addresses
2124
2125 2008-07-27  Dan Williams  <dcbw@redhat.com>
2126
2127         * libnm-util/*
2128                 - Relicense to LGPLv2+
2129
2130 2008-07-27  Dan Williams  <dcbw@redhat.com>
2131
2132         * system-settings/plugins/ifcfg-fedora/reader.c
2133                 - (make_ip4_setting): fix parsing automatic configs
2134
2135 2008-07-27  Dan Williams  <dcbw@redhat.com>
2136
2137         * src/dnsmasq-manager/nm-dnsmasq-manager.c
2138           src/nm-device.c
2139           src/ppp-manager/nm-ppp-manager.c
2140                 - Ensure child process gets reaped.  The child watch function may be
2141                         removed from the mainloop before the child gets killed, so we have
2142                         to make sure the child is reaped when it's told to die intentionally
2143
2144 2008-07-27  Dan Williams  <dcbw@redhat.com>
2145
2146         Patch from Roy Marples <roy@marples.name>
2147
2148         * src/dhcp-manager/nm-dhcp-dhcpcd.c
2149                 - (nm_dhcp_client_start): fixup for latest dhcpcd 4.0 RC
2150
2151 2008-07-27  Dan Williams  <dcbw@redhat.com>
2152
2153         * src/nm-gsm-device.c
2154                 - (init_modem_full): send "ATZ E0" after CPIN, because apparently some
2155                         Huawei devices turn echo back on after CPIN (rh #456770)
2156
2157 2008-07-24  Tambet Ingo  <tambet@gmail.com>
2158
2159         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Add
2160         format argument to g_set_error() call.
2161
2162         * src/backends/interface_parser.[ch]: Remove.
2163
2164         * src/backends/Makefile.am: Remove unused files interface_parser.[ch].
2165
2166 2008-07-21  Dan Williams  <dcbw@redhat.com>
2167
2168         * src/ppp-manager/nm-ppp-manager.c
2169                 - (create_pppd_cmd_line): send 'noipdefault' on non-PPPoE connections
2170                         to prevent pppd from picking up some random local address from an
2171                         interface that doesn't have anything to do with the one we're
2172                         interested in (rh #455348)
2173
2174 2008-07-17  Dan Williams  <dcbw@redhat.com>
2175
2176         * libnm-util/nm-utils.c
2177                 - (string_to_utf8): general function for conversion to UTF-8 assisted
2178                         by locale
2179                 - (nm_utils_ssid_to_utf8): use string_to_utf8()
2180                 - (nm_utils_garray_to_string): ensure returned string is UTF-8 safe
2181
2182 2008-07-17  Dan Williams  <dcbw@redhat.com>
2183
2184         * introspection/Makefile.am
2185           introspection/nm-device.xml
2186           introspection/nm-dhcp4-config.xml
2187                 - Add bits for the DHCP4Config property of the device, and the DHCP4Config
2188                         itself
2189         * src/nm-device-interface.c
2190           src/nm-device-interface.h
2191                 - Add the DHCP4Config property
2192
2193         * src/nm-device.c
2194                 - Keep track of DHCP4 options via a new DHCP4Config property and notify
2195                         D-Bus clients when it changes
2196
2197         * src/nm-dhcp4-config.c
2198           src/nm-dhcp4-config.h
2199                 - Simple object to store DHCP4 options, export them over D-Bus, and
2200                         notify when they change
2201
2202         * src/dhcp-manager/nm-dhcp-manager.c
2203           src/dhcp-manager/nm-dhcp-manager.h
2204                 - (nm_dhcp_manager_set_dhcp4_config, copy_dhcp4_config_option): copy and
2205                         filter server-returned DHCP options into an NMDHCP4Config object
2206
2207 2008-07-16  Dan Williams  <dcbw@redhat.com>
2208
2209         * introspection/nm-device.xml
2210                 - Add device state reasons
2211
2212 2008-07-16  Dan Williams  <dcbw@redhat.com>
2213
2214         Patch from Roy Marples <roy@marples.name>
2215
2216         * configure.in
2217                 - Add --with-dhcp-client option
2218
2219         * src/dhcp-manager/Makefile.am
2220                 - pass DHCP_CLIENT_PATH on compile line
2221
2222         * src/dhcp-manager/nm-dhcp-manager.c
2223           src/dhcp-manager/nm-dhcp-manager.h
2224                 - Genericize for both dhcpcd and dhclient
2225
2226         * src/dhcp-manager/nm-dhcp-dhclient.c
2227                 - Move dhclient stuff out to it's own file from nm-dhcp-manager.c
2228
2229         * src/dhcp-manager/nm-dhcp-dhcpcd.c
2230                 - Implement support for dhcpcd too
2231
2232 2008-07-16  Tambet Ingo  <tambet@gmail.com>
2233
2234         * system-settings/src/nm-system-config-interface.c 
2235         (nm_system_config_interface_supports_add): Implement.
2236         (nm_system_config_interface_add_connection): Return a boolean to notify
2237         of errors.
2238
2239         * system-settings/src/nm-polkit-helpers.c: 
2240         * system-settings/src/nm-polkit-helpers.h: Move error declarations to
2241         a separate file.
2242
2243         * system-settings/src/dbus-settings.c (impl_settings_add_connection):
2244         Return an error when none of the plugins support add or if addition
2245         failed for some reason.
2246
2247         * system-settings/src/nm-system-config-error.h: 
2248         * system-settings/src/nm-system-config-error.c: New files, mostly moved
2249         here from nm-polkit-helpers.[ch].
2250
2251         * system-settings/src/Makefile.am: Build new files.
2252
2253         * system-settings/plugins/keyfile/reader.c 
2254         (read_array_of_array_of_uint): Make it more general so that it would
2255         work for routes as well.
2256
2257         * system-settings/plugins/keyfile/writer.c
2258         (write_array_of_array_of_uint): Ditto.
2259         Fix the netmask/prefix writing.
2260
2261         * system-settings/plugins/keyfile/plugin.c (add_connection): Return
2262         boolean to notify errors.
2263
2264         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c (update):
2265         Return more specific error.
2266         (delete): Ditto.
2267
2268 2008-07-11  Dan Williams  <dcbw@redhat.com>
2269
2270         Modify the NMDevice::state-changed signal to include the previous state
2271         and reason. Enables the applet to provide more information why device
2272         activation failed.
2273
2274 2008-07-09  Dan Williams  <dcbw@redhat.com>
2275
2276         * callouts/Makefile.am
2277           callouts/nm-avahi-autoipd-action.c
2278           callouts/nm-avahi-autoipd.conf
2279                 - avahi-autoipd callout to send options back to NM
2280
2281         * src/autoip.c
2282           src/autoip.h
2283                 - remove
2284
2285         * src/nm-device.c
2286           src/nm-device-private.h
2287           src/nm-manager.c
2288                 - Use avahi-autoipd for IPv4LL functionality rather than really crappy
2289                         old custom stuff
2290
2291 2008-07-07  Dan Williams  <dcbw@redhat.com>
2292
2293         * system-settings/plugins/ifcfg-fedora/reader.c
2294                 - (make_ip4_setting): handle DHCP_HOSTNAME; fix up prefix support to
2295                         handle PREFIX too; clean up
2296
2297 2008-07-07  Dan Williams  <dcbw@redhat.com>
2298
2299         Convert to using IPv4 prefixes instead of netmasks.
2300
2301 2008-07-03  Dan Williams  <dcbw@redhat.com>
2302
2303         * libnm-util/nm-setting-ip4-config.c
2304           libnm-util/nm-setting-ip4-config.h
2305                 - Add properties for DHCP Client Identifier and DHCP Hostname
2306
2307         * src/dhcp-manager/nm-dhcp-manager.c
2308           src/dhcp-manager/nm-dhcp-manager.h
2309                 - (nm_dhcp_manager_begin_transaction): take the connection's ip4-config
2310                         setting as an argument to pass on to the dhclient config file
2311                         creation function
2312                 - (nm_dhcp_manager_cancel_transaction_real): remove dhclient config when
2313                         DHCP is torn down
2314                 - (dhclient_run): punt config file handling to create_dhclient_config()
2315                 - (create_dhclient_config): create an interface-specific dhclient
2316                         config file since there may need to be interface-specific options
2317                         passed to dhclient
2318                 - (merge_dhclient_config): merge normal distro dhclient config file and
2319                         add options from the connection
2320                 - (nm_dhcp_device_new): generate the interface specific dhclient
2321                         config file path once
2322                 - (nm_dhcp_device_destroy): handle partially initialized objects; free
2323                         dhclient config file path
2324
2325         * src/nm-device.c
2326                 - (real_act_stage3_ip_config_start): pass ip4-config, if any, to the
2327                         DHCP manager when starting DHCP
2328
2329 2008-07-02  Dan Williams  <dcbw@redhat.com>
2330
2331         * libnm-util/nm-setting-8021x.c
2332                 - (verify): allow forcing the PEAP label to 0
2333
2334 2008-07-02  Dan Williams  <dcbw@redhat.com>
2335
2336         * introspection/nm-active-connection.xml
2337           introspection/nm-vpn-connection.xml
2338           libnm-glib/nm-active-connection.c
2339           src/nm-activation-request.c
2340           src/nm-active-connection.h
2341           src/vpn-manager/nm-vpn-connection.c
2342                 - Remove "SharedServiceName" and "SharedConnection" bits from the D-Bus
2343                         and libnm-glib API since sharing didn't get implemented that way
2344
2345 2008-07-02  Dan Williams  <dcbw@redhat.com>
2346
2347         * src/nm-device-wifi.c
2348                 - (can_scan): don't scan when a shared connection is activated since
2349                         that makes drivers mad (causing disconnects); also NM doesn't need
2350                         to hedge against disconnects by keeping up-to-date network topology
2351                         because the connection originates from the local machine, and thus
2352                         there should be no disconnects
2353
2354 2008-07-01  Dan Williams  <dcbw@redhat.com>
2355
2356         Fix mobile broadband username/password issues.  NM was never requesting
2357         mobile broadband secrets, nor was it passing back the username and password
2358         if it had them.
2359
2360         * marshallers/nm-marshal.list
2361                 - Add some new types for activation request objects
2362
2363         * src/nm-activation-request.c
2364           src/nm-activation-request.h
2365                 - (get_secrets_cb): pass the caller type in the signal
2366                 - (nm_act_request_request_connection_secrets): take a caller type, so
2367                         that GetSecrets() reply handlers know who asked for the secrets in
2368                         the first place; use secret hints too so the settings service can
2369                         figure out exactly what NM wants (ie, PIN or the PPP password)
2370
2371         * src/ppp-manager/nm-ppp-manager.c
2372           src/ppp-manager/nm-ppp-manager.h
2373                 - (impl_ppp_manager_need_secrets): nm_connection_need_secrets() won't
2374                         detect needed secrets when the secret could be blank, like GSM/CDMA
2375                         passwords.  So always ask for secrets, and send a hint as to what
2376                         secret we really want.
2377                 - (nm_ppp_manager_update_secrets): make function more generic by making
2378                         the device specific class figure out the username and password, and
2379                         accept an error argument to return back over D-Bus
2380
2381         * src/nm-device-wifi.c
2382                 - (link_timeout_cb, handle_auth_or_fail): update for changes to
2383                         nm_act_request_request_connection_secrets()
2384                 - (real_connection_secrets_updated): update for 'caller' changes
2385
2386         * src/nm-device.c
2387           src/nm-device.h
2388                 - (connection_secrets_updated_cb, connection_secrets_failed_cb): update
2389                         for 'caller' changes
2390
2391         * src/nm-device-ethernet.c
2392                 - (real_connection_secrets_updated): update for 'caller' changes and
2393                         move logic for getting PPPoE username and password here before
2394                         calling nm_ppp_manager_update_secrets()
2395                 - (link_timeout_cb, handle_auth_or_fail): update for changes to
2396                         nm_act_request_request_connection_secrets()
2397
2398         * src/nm-cdma-device.c
2399                 - (real_connection_secrets_updated): pass username and password back
2400                         to the PPP manager when required
2401
2402         * src/nm-gsm-device.c
2403                 - (enter_pin): send the required secret name to the settings service
2404                 - (real_connection_secrets_updated): pass username and password back
2405                         to the PPP manager when required
2406
2407 2008-06-30  Dan Williams  <dcbw@redhat.com>
2408
2409         * src/nm-device-wifi.c
2410                 - Consistently use NM_DEVICE_WIFI_GET_PRIVATE instead of self->priv
2411
2412 2008-06-30  Dan Williams  <dcbw@redhat.com>
2413
2414         Attempt to fix various issues causing rh #448889.  Mainly, to qualify for
2415         the DISCONNECTED state, the device must not be rfkilled _and_ have a valid
2416         priv->supplicant.iface.  When either condition is false, the device should
2417         transition back to UNAVAILABLE because it cannot be used.
2418
2419         * src/nm-device-wifi.c
2420                 - (constructor): cleanup; connect to supplicant manager here since the
2421                         supplicant manager is always around
2422                 - (supplicant_interface_acquire): rename from init_supplicant_interface,
2423                         ensure the supplicant manager is in the IDLE state
2424                 - (supplicant_interface_release): rename from cleanup_supplicant_interface,
2425                         cancel any pending scans too
2426                 - (real_bring_up): don't set up the supplicnat interface here, because
2427                         we need the supplicant interface at times when the device may not
2428                         be "up"
2429                 - (real_take_down): just remove the periodic source
2430                 - (schedule_scan): ensure a state that would peg the CPU doesn't happen
2431                 - (remove_supplicant_interface_connection_error_handler): cleanup; don't
2432                         do anything if there's no supplicant interface
2433                 - (cleanup_association_attempt): cleanup
2434                 - (supplicant_iface_state_cb_handler): request an immediate scan when
2435                         the interface enters the READY state; transition to UNAVAILABLE
2436                         state when the interface goes down because the device can't be used
2437                         without a supplicant interface
2438                 - (supplicant_mgr_state_cb_handler): if the supplicant goes away, clean
2439                         up and transition to UNAVAILABLE; if the supplicant becomes ready,
2440                         acquire the supplicant interface and transition to DISCONNECTED
2441                         if the radio isn't killed
2442                 - (nm_device_wifi_dispose): move most of device_cleanup() here
2443                 - (state_changed_cb): release any existing supplicant interface; if the
2444                         radio is enabled then try to acquire a new supplicant interface;
2445                         if the radio is enabled and a supplicant interface has been acquired,
2446                         we can transition to DISCONNECTED
2447                 - (nm_device_wifi_set_enabled): if bringing the hardware up failed,
2448                         don't enable the radio, because HAL probably lied to us about the
2449                         killswitch being off.  If bringing the hardware up worked, then
2450                         try to grab a supplicant interface, and if that was successful,
2451                         transition to DISCONNECTED
2452
2453 2008-06-30  Dan Williams  <dcbw@redhat.com>
2454
2455         * src/supplicant-manager/nm-supplicant-interface.c
2456                 - (request_scan_results, nm_supplicant_interface_dispose,
2457                    wpas_iface_query_scan_results): cleanup; scan_results_timeout is now
2458                         the id of the timeout, not a GSource
2459
2460 2008-06-30  Tambet Ingo  <tambet@gmail.com>
2461
2462         * src/backends/NetworkManagerSuSE.c (nm_system_activate_nis): Fix a 
2463         bunch of typoes introduced by "Patch from David Cantrell 
2464         <dcantrell@redhat.com> and me".
2465
2466 2008-06-30  Tambet Ingo  <tambet@gmail.com>
2467
2468         * src/nm-serial-device.c: 
2469         * src/nm-gsm-device.c: 
2470         * src/nm-cdma-device.c: Move the pending call handling to a common location
2471         in serial device. Handle setting device state to failed in one place as well.
2472
2473 2008-06-29  Dan Williams <dcbw@redhat.com>
2474
2475         * src/nm-hal-manager.c
2476                 - Rework killswitch handling to query killswitch status immediately
2477                         when the first killswitch is added, so that rfkill state is
2478                         known as early as possible
2479                 - Also treat failure of GetPower() as rfkill when the dbus method
2480                         call times out (but not when the HAL callout returns an error)
2481
2482 2008-06-26  Dan Williams <dcbw@redhat.com>
2483
2484         Patch from David Cantrell <dcantrell@redhat.com> and me
2485
2486         * include/nm-dbus-glib-types.h
2487                 - Add IP6 address types
2488
2489         * libnm-util/Makefile.am
2490           libnm-util/nm-setting-ip6-config.c
2491           libnm-util/nm-setting-ip6-config.h
2492                 - Add IP6 settings object
2493
2494         * libnm-util/nm-connection.c
2495                 - (register_default_settings): register ip6 settings object
2496
2497         * libnm-util/nm-utils.c
2498           libnm-util/nm-utils.h
2499                 - (nm_utils_ip6_addresses_from_gvalue, nm_utils_ip6_addresses_to_gvalue,
2500                    nm_utils_ip6_dns_from_gvalue, nm_utils_ip6_dns_to_gvalue): add
2501                         ip6 address conversion functions
2502         
2503 2008-06-26  Dan Williams <dcbw@redhat.com>
2504
2505         Patch from David Cantrell <dcantrell@redhat.com>
2506         
2507         * Use inet_ntop() and inet_pton() everwhere and check for errors
2508
2509 2008-06-26  Dan Williams <dcbw@redhat.com>
2510
2511         * Update FSF address in license headers (Michael Biebl <biebl@debian.org>)
2512
2513 2008-06-26  Dan Williams <dcbw@redhat.com>
2514
2515         Patch from Adel Gadllah <adel.gadllah@gmail.com>
2516
2517         * src/nm-device-wifi.c
2518                 - (link_timeout_cb): don't ignore disconnects due to scanning
2519                 - (supplicant_iface_connection_state_cb_handler): instead, schedule
2520                         a longer timeout when scanning; avoids case where supplicant can't
2521                         find the AP and just keeps scanning forever but isn't connected
2522
2523 2008-06-26  Dan Williams <dcbw@redhat.com>
2524
2525         Patch from Michael Biebl <biebl@debian.org>
2526
2527         * Clean up build system stuff
2528
2529 2008-06-23  Christian Persch  <chpe@gnome.org>
2530
2531         * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.c:
2532         * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.h:
2533         * vpn-daemons/pptp/auth-dialog-general/anonymous-auth-module.c:
2534         (impl_get_object):
2535         * vpn-daemons/pptp/auth-dialog-general/chap-auth-module.c:
2536         (impl_get_object):
2537         * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.c:
2538         * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.h:
2539         * vpn-daemons/pptp/auth-dialog-general/mschapv2-auth-module.c:
2540         (impl_get_object):
2541         * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.c:
2542         * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.h:
2543         * vpn-daemons/pptp/properties/nm-ppp-properties.c: (impl_setup):
2544         * vpn-daemons/pptp/properties/vpnui_impl.c: (impl_get_object):
2545         * vpn-daemons/pptp/properties/vpnui_opt.c:
2546         (vpnui_opt_connect_signals):
2547         * vpn-daemons/pptp/properties/vpnui_opt.h:
2548         * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
2549         * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.h: Don't use
2550         deprecated gtk type macros. Bug #539325.
2551
2552 2008-06-20  Dan Williams  <dcbw@redhat.com>
2553
2554         * libnm-glib/nm-vpn-plugin-ui-interface.c
2555           libnm-glib/nm-vpn-plugin-ui-interface.h
2556                 - 'validity-changed' -> 'changed' to work better with the connection
2557                         editor.  Plugin UI widgets should emit 'changed' whenever their
2558                         UI values change in a meaningful way.
2559                 - (nm_vpn_plugin_ui_widget_interface_update_connection): the
2560                         update_connection member now returns validity of the UI widget
2561
2562 2008-06-20  Tambet Ingo  <tambet@gmail.com>
2563
2564         * libnm-util/nm-connection.c (nm_connection_duplicate): Implement.
2565
2566 2008-06-17  Dan Williams  <dcbw@redhat.com>
2567
2568         * libnm-glib/nm-vpn-plugin-ui-interface.c
2569           libnm-glib/nm-vpn-plugin-ui-interface.h
2570                 - Add "desc" property for longer descriptions of the VPN plugin
2571
2572 2008-06-16  Dan Williams  <dcbw@redhat.com>
2573
2574         * configure.in
2575           libnm-glib/libnm_glib_vpn.pc.in
2576                 - add a .pc file for libnm_glib_vpn
2577
2578         * libnm-glib/nm-vpn-plugin-ui-interface.c
2579           libnm-glib/nm-vpn-plugin-ui-interface.h
2580                 - Move the glib/GNOME VPN UI plugin interface into libnm-glib and
2581                         rework it substantially
2582
2583 2008-06-12  Dan Williams  <dcbw@redhat.com>
2584
2585         Add a GError argument to nm_connection_verify() and nm_setting_verify(),
2586         and add error enums to each NMSetting subclass.  Each NMSetting subclass now
2587         returns a descriptive GError when verification fails.
2588
2589 2008-06-11  Dan Williams  <dcbw@redhat.com>
2590
2591         Patch from Tambet Ingo <tambet@gmail.com>
2592
2593         * libnm-util/nm-setting-gsm.c
2594                 - (verify): validate APN
2595
2596         * src/nm-gsm-device.c
2597                 - (manual_registration_done): start setting APN if needed
2598                 - (set_apn, set_apn_done): set the APN
2599                 - (do_dial): use the APN when dialing
2600
2601 2008-06-11  Dan Williams  <dcbw@redhat.com>
2602
2603         * src/NetworkManagerSystem.c
2604                 - (nm_system_device_set_ip4_route,
2605                    nm_system_device_replace_default_ip4_route): check for the right
2606                         return value from rtnl_route_add() to know when to add a gateway
2607                         route (from Tambet)
2608
2609 2008-06-11  Dan Williams  <dcbw@redhat.com>
2610
2611         * src/NetworkManagerPolicy.c
2612                 - do_ipt_cmd -> do_cmd
2613                 - (sharing_init): use do_cmd() instead of system()
2614
2615 2008-06-10  Dan Williams  <dcbw@redhat.com>
2616
2617         The grand 802-11-wireless rename.  Get rid of the 802-11/80211/802_11 bits
2618         and use "wifi" everwhere instead.
2619
2620 2008-06-10  Dan Williams  <dcbw@redhat.com>
2621
2622         The grand 802-3-ethernet rename.  Get rid of the 802-3/8023/802_3 bits.
2623
2624 2008-06-10  Dan Williams  <dcbw@redhat.com>
2625
2626         Patch from Tambet Ingo <tambet@gmail.com>
2627
2628         * src/ppp-manager/nm-ppp-manager.c: Add ppp stats monitoring, signal the
2629                 changes.
2630
2631         * src/nm-serial-device.c: Monitor "ppp-stats" signals from NMPPPManager. Add
2632                 a signal to emit these changes over dbus.
2633
2634         * src/Makefile.am: Genereate nm-serial-device-glue.
2635
2636         * libnm-glib/nm-serial-device.[ch]: Implement.
2637
2638         * libnm-glib/nm-cdma-device.[ch]
2639           libnm-glib/nm-gsm-device.[ch]: Inherit from NMSerialDevice.
2640
2641         * libnm-glib/Makefile.am: Add nm-serial-device.[ch].
2642
2643         * introspection/nm-device-serial.xml: Implement.
2644
2645         * introspection/all.xml: Fix a couple of typos, add nm-device-serial.xml.
2646
2647         * introspection/Makefile.am: Add nm-device-serial.xml.
2648
2649         * include/NetworkManager.h: Add a DBus interface for serial device.
2650
2651 2008-06-10  Dan Williams  <dcbw@redhat.com>
2652
2653         * configure.in
2654                 - Add TARGET_* define to config.h to distinguish distros
2655
2656         * src/dhcp-manager/nm-dhcp-manager.c
2657                 - (dhclient_run): use distro-specific path for dhclient config file
2658
2659 2008-06-09  Dan Williams  <dcbw@redhat.com>
2660
2661         * src/dnsmasq-manager/nm-dnsmasq-manager.c
2662           src/dnsmasq-manager/nm-dnsmasq-manager.h
2663                 - (create_dm_cmd_line): use the IP4 address of the ip4-config to
2664                         calculate the addresses passed to dnsmasq instead of hard-coding
2665                         them
2666
2667         * src/nm-device.c
2668                 - (nm_device_new_ip4_shared_config): be somewhat dynamic when choosing
2669                         IP addresses for shared connections to guard against shared
2670                         connection address collisions
2671                 - (real_act_stage4_get_ip4_config): handle possible NULL ip4-configs on
2672                         error conditions
2673                 - (nm_device_activate_stage5_ip_config_commit): pass ip4-config to
2674                         the dnsmasq manager
2675
2676 2008-06-09  Dan Williams  <dcbw@redhat.com>
2677
2678         * src/NetworkManagerPolicy.c
2679                 - (update_routing_and_dns): set the default connection _after_ unsetting
2680                         default on all non-default connections so that two connections can
2681                         never be default at the same time
2682                 - (device_state_changed): start and stop connection sharing when
2683                         needed
2684                 - (active_connection_default_changed): restart or stop sharing when
2685                         the default connection changes to keep shared connections always
2686                         NAT-ed through the default connection
2687                 - (check_sharing): handle activation/deactivation of shared connections
2688                 - (sharing_restart): atom-bomb approach to connection sharing until we
2689                         can use libnl; reinit all sharing when the default connection or
2690                         shared connections change
2691                 - (sharing_init, sharing_stop): evil functions that init and deinit
2692                         iptables
2693
2694 2008-06-09  Dan Williams  <dcbw@redhat.com>
2695
2696         * src/nm-activation-request.c
2697           src/nm-activation-request.h
2698                 - (nm_act_request_set_shared, nm_act_request_get_shared,
2699                    nm_act_request_get_device): new functions to facilitate connection
2700                         sharing
2701
2702 2008-06-09  Dan Williams  <dcbw@redhat.com>
2703
2704         * src/nm-device.c
2705                 - (clear_act_request): unset the 'default' property of the activation
2706                         request when clearing it to ensure the property changed signal gets
2707                         delivered and handled
2708
2709 2008-06-09  Dan Williams  <dcbw@redhat.com>
2710
2711         * libnm-glib/nm-device-802-11-wireless.c
2712                 - (access_point_removed_proxy): actually unref the AP after removing
2713                         it from the device's AP list.  Fixes refcounting bug for APs that
2714                         caused them to get mixed up in the applet's menu.
2715
2716 2008-06-09  Tambet Ingo  <tambet@gmail.com>
2717
2718         * src/dhcp-manager/nm-dhcp-manager.c (finalize): Free private members.
2719         (nm_dhcp_device_destroy): Destroy the device options hash table.
2720
2721 2008-06-06  Dan Williams <dcbw@redhat.com>
2722
2723         * system-settings/src/nm-polkit-helpers.c
2724                 - (create_polkit_context): in PolicyKit 0.6, polkit_context_init() will
2725                         unref the context if the initialization fails; also avoid spew when
2726                         the error isn't set
2727
2728 2008-06-06  Dan Williams <dcbw@redhat.com>
2729
2730         Patch from Tambet Ingo  <tambet@gmail.com>
2731
2732         * src/NetworkManagerSystem.c
2733           src/NetworkManagerSystem.h
2734                 - (nm_system_device_add_ip4_route_via_device_with_iface): remove
2735                 - (nm_system_device_set_from_ip4_config): remove unused route_to_iface
2736                 - (nm_system_device_set_ip4_route): clean up
2737                 - (nm_system_vpn_device_set_from_ip4_config): clean up, add VPN routes
2738
2739         * src/nm-device.c
2740                 - (nm_device_set_ip4_config): remove unused route_to_iface bits
2741
2742         * src/vpn-manager/nm-vpn-connection.c
2743                 - (ip_address_to_string): new function
2744                 - (print_vpn_config): use ip_address_to_string
2745                 - (merge_vpn_routes): add user-defined routes to the ip4 config
2746                 - (nm_vpn_connection_ip4_config_get): add routes the VPN server sent
2747
2748         * include/NetworkManagerVPN.h
2749                 - Add 'routes' key
2750
2751 2008-06-05  Dan Williams <dcbw@redhat.com>
2752
2753         Patch from Markus Becker <mab@comnets.uni-bremen.de>
2754
2755         * test/nm-tool.c
2756                 - Show which device is the default device
2757
2758 2008-06-05  Tambet Ingo  <tambet@gmail.com>
2759
2760         Fix memory leaks.
2761
2762         * system-settings/src/nm-system-config-hal-manager.c (get_type_for_udi):
2763         Free data returned from dbus method call.
2764
2765         * system-settings/src/nm-polkit-helpers.c (check_polkit_privileges):
2766         dbus_g_method_get_sender() returns a duplicated string, free it 
2767         when done.
2768         (check_polkit_privileges): Looks like policykit sometimes returns
2769         error and non-null return value, don't leak errors in that case.
2770
2771         * system-settings/src/main.c (find_plugin): Don't leak existing 
2772         plugin names.
2773         (load_stuff): Don't leak device list and list items.
2774         (have_connection_for_device): Don't leak connection list.
2775
2776         * system-settings/plugins/keyfile/reader.c (read_one_setting_value):
2777         Free the data received from g_keyfile_get_*.
2778
2779         * system-settings/plugins/ifcfg-suse/parser.c (READ_WEP_KEY): Free
2780         the key when the security object is updated.
2781
2782         * src/supplicant-manager/nm-supplicant-interface.c (scan_results_cb):
2783         Free data returned from dbus method call.
2784         (iface_state_cb): Ditto.
2785         (add_network_cb): Ditto.
2786         (nm_supplicant_interface_add_cb): Don't make another copy of already
2787         duplicated object path.
2788         (nm_supplicant_interface_add_to_supplicant): Free the driver GValue
2789         when done.
2790
2791         * src/supplicant-manager/nm-supplicant-config.c 
2792         (ADD_STRING_LIST_VAL): Fix a memory leak.
2793
2794         * src/nm-manager.c (free_get_settings_info): Free the allocated
2795         memory slice.
2796         (list_connections_cb): Free data returned from dbus method call.
2797         (system_settings_get_unmanaged_devices_cb): Ditto.
2798
2799         * src/nm-device-802-11-wireless.c (device_cleanup): Free ssid.
2800
2801         * system-settings/plugins/ifcfg-suse/shvar.c (svCloseFile): 
2802         * system-settings/plugins/ifcfg-fedora/shvar.c (svCloseFile): 
2803         * src/backends/shvar.c (svCloseFile): Free the duplicated content
2804         of the GList.
2805
2806         * libnm-util/nm-setting.c (nm_setting_from_hash): Free the constructor
2807         arguments after the object is created.
2808
2809 2008-06-04  Dan Williams <dcbw@redhat.com>
2810
2811         * libnm-util/Makefile.am
2812                 - Don't distribute nm-param-spec-specialized.h
2813
2814 2008-06-02  Tambet Ingo  <tambet@gmail.com>
2815
2816         * libnm-util/nm-setting-ip4-config.[ch]: Add static routes property.
2817
2818         * src/nm-ip4-config.[ch]: Store the static routes as a list of
2819         NMIP4Address, update the getters and setters.
2820
2821         * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
2822         Use the updated NMIP4Config routes api.
2823
2824         * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Merge
2825         static routes as well.
2826
2827         * src/NetworkManagerSystem.c (netmask_to_prefix): Implement.
2828         (nm_system_device_set_from_ip4_config): Use the updated NMIP4Config
2829         routes api.
2830
2831 2008-05-30  Dan Williams <dcbw@redhat.com>
2832
2833         * src/named-manager/nm-named-manager.c
2834           src/named-manager/nm-named-manager.h
2835                 - Remove stale/obsolete bits for controlling bind over DBus
2836
2837 2008-05-29  Dan Williams <dcbw@redhat.com>
2838
2839         * src/dnsmasq-manager/nm-dnsmasq-manager.c
2840           src/dnsmasq-manager/nm-dnsmasq-manager.h
2841                 - (nm_dnsmasq_manager_new): move iface argument here
2842                 - (constructor): remove, not needed
2843                 - (get_pidfile_for_iface, create_dm_cmd_line, kill_existing_for_iface,
2844                    nm_dnsmasq_manager_start, nm_dnsmasq_manager_stop): use priv->pidfile
2845
2846         * src/nm-device.c
2847                 - (real_act_stage4_get_ip4_config,
2848                    nm_device_activate_stage5_ip_config_commit): fix for dnsmasq manager
2849                         changes
2850
2851 2008-05-29  Dan Williams <dcbw@redhat.com>
2852
2853         * src/nm-device.c
2854                 - (dnsmasq_state_changed_cb): new function; fail the connection if
2855                         something happens to dnsmasq
2856                 - (nm_device_new_ip4_shared_config): new function; create a new
2857                         ip4-config for shared connections.  Shared connections always use a
2858                         fixed static IP address.
2859                 - (real_act_stage4_get_ip4_config): handle shared connections; fix
2860                         autoip connections by actually using the returned ip4-config and
2861                         not leaking it
2862                 - (nm_device_activate_stage5_ip_config_commit): start dnsmasq for shared
2863                         connections
2864                 - (nm_device_deactivate_quickly, nm_device_dispose): terminate dnsmasq
2865                         if its active
2866
2867 2008-05-29  Dan Williams <dcbw@redhat.com>
2868
2869         * src/nm-device-802-11-wireless.c
2870                 - (real_get_best_auto_connection): auto-activate 'shared' method
2871                         connections too
2872
2873 2008-05-29  Dan Williams <dcbw@redhat.com>
2874
2875         * libnm-util/nm-setting-ip4-config.c
2876           libnm-util/nm-setting-ip4-config.h
2877                 - Add a 'shared' method to indicate that this connection should be
2878                         brought up with a DHCP and proxy DNS server to facilitate
2879                         connection sharing.
2880                 - (verify): 'shared' method doesn't allow DNS or searches either
2881
2882 2008-05-29  Dan Williams <dcbw@redhat.com>
2883
2884         * configure.in
2885           src/Makefile.am
2886           src/dnsmasq-manager/Makefile.am
2887           src/dnsmasq-manager/nm-dnsmasq-manager.c
2888           src/dnsmasq-manager/nm-dnsmasq-manager.h
2889                 - Add a dnsmasq daemon manager to facilitate connection sharing
2890
2891 2008-05-29  Dan Williams <dcbw@redhat.com>
2892
2893         * src/nm-device-private.h
2894                 - Remove unused prototypes and clean up
2895
2896         * src/nm-device.c
2897                 - Remove anything related to system_config_data, which is no longer used
2898                 - (nm_device_new_ip4_autoip_config): make static
2899
2900 2008-05-29  Tambet Ingo  <tambet@gmail.com>
2901
2902         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c
2903         (file_changed): Fix a bug where suse system settings plugin didn't
2904         update the connections automatically when the files changed.
2905
2906 2008-05-28  Dan Williams  <dcbw@redhat.com>
2907
2908         Revert r3697 (adhoc-create property patch); it's the wrong way to do this.
2909
2910 2008-05-28  Dan Williams  <dcbw@redhat.com>
2911
2912         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2913
2914         * src/NetworkManagerSystem.c
2915                 - (nm_system_device_flush_ip4_routes_with_iface): implement with libnl
2916                 - (nm_system_vpn_device_set_from_ip4_config): don't flush routes here,
2917                         was causing -EINVAL errors since the libnl code actually does flush
2918                         the routes on VPN interfaces now
2919
2920         * src/backends/NetworkManagerArch.c
2921           src/backends/NetworkManagerDebian.c
2922           src/backends/NetworkManagerFrugalware.c
2923           src/backends/NetworkManagerGeneric.c
2924           src/backends/NetworkManagerGentoo.c
2925           src/backends/NetworkManagerMandriva.c
2926           src/backends/NetworkManagerPaldo.c
2927           src/backends/NetworkManagerRedHat.c
2928           src/backends/NetworkManagerSlackware.c
2929           src/backends/NetworkManagerSuSE.c
2930                 - (nm_system_device_flush_ip4_routes,
2931                    nm_system_device_flush_ip4_routes_with_iface): remove
2932
2933 2008-05-28  Dan Williams  <dcbw@redhat.com>
2934
2935         * libnm-util/nm-setting-wireless.c
2936           libnm-util/nm-setting-wireless.h
2937                 - (set_property, get_property, nm_setting_wireless_class_init): add the
2938                         'adhoc-create' property, which when TRUE indicates that NM should
2939                         create this connection as an adhoc wifi network if it's not found
2940                         as an adhoc network during scanning.  Can be used to auto-create
2941                         adhoc networks when used in combination with autoconnect.
2942
2943 2008-05-28  Tambet Ingo  <tambet@gmail.com>
2944
2945         Patch from Dennis Noordsij <dennis.noordsij@helsinki.fi>.
2946
2947         * src/nm-gsm-device.c: Don't try to reset the modem before PIN is
2948         checked, it doesn't work on some devices.
2949
2950 2008-05-28  Tambet Ingo  <tambet@gmail.com>
2951
2952         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Make sure 
2953         pppd gets killed, if SIGTERM doesn't do it's job, SIGKILL it.
2954
2955         * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
2956         Use inet_aton() everywhere to improve error detection.
2957         Don't fall back to 'dhcp_server_identifier' if the gateway is not
2958         provided.
2959
2960 2008-05-26  Tambet Ingo  <tambet@gmail.com>
2961
2962         * system-settings/plugins/ifcfg-suse/plugin.c (get_unamanged_devices_cb):
2963         Fix a typo.
2964
2965 2008-05-26  Tambet Ingo  <tambet@gmail.com>
2966
2967         * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_get_service): Fix a
2968         reference counting issue.
2969
2970 2008-05-23  Dan Williams  <dcbw@redhat.com>
2971
2972         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2973
2974         * src/backends/NetworkManagerGeneric.c
2975                 - (nm_generic_enable_loopback): use libnl
2976
2977 2008-05-23  Dan Williams  <dcbw@redhat.com>
2978
2979         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2980
2981         * src/NetworkManagerSystem.h
2982           src/backends/NetworkManagerArch.c
2983           src/backends/NetworkManagerDebian.c
2984           src/backends/NetworkManagerFrugalware.c
2985           src/backends/NetworkManagerGentoo.c
2986           src/backends/NetworkManagerMandriva.c
2987           src/backends/NetworkManagerPaldo.c
2988           src/backends/NetworkManagerRedHat.c
2989           src/backends/NetworkManagerSlackware.c
2990           src/backends/NetworkManagerSuSE.c
2991                 - (nm_system_device_has_active_routes, nm_system_flush_loopback_routes,
2992                    nm_system_flush_arp_cache): remove, unused
2993
2994         * src/backends/NetworkManagerGeneric.c
2995           src/backends/NetworkManagerGeneric.h
2996                 - (nm_generic_device_has_active_routes, nm_generic_flush_loopback_routes,
2997                    nm_generic_flush_arp_cache): remove, unused
2998
2999 2008-05-23  Dan Williams  <dcbw@redhat.com>
3000
3001         * system-settings/plugins/ifcfg-fedora/reader.c
3002                 - (make_ip4_setting): honor PEERDNS setting
3003
3004 2008-05-23  Dan Williams  <dcbw@redhat.com>
3005
3006         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3007
3008         * src/NetworkManagerSystem.c
3009                 - (nm_system_device_flush_ip4_addresses_with_iface): implement with
3010                         libnl
3011
3012         * src/backends/NetworkManagerArch.c
3013           src/backends/NetworkManagerDebian.c
3014           src/backends/NetworkManagerFrugalware.c
3015           src/backends/NetworkManagerGentoo.c
3016           src/backends/NetworkManagerMandriva.c
3017           src/backends/NetworkManagerPaldo.c
3018           src/backends/NetworkManagerRedHat.c
3019           src/backends/NetworkManagerSlackware.c
3020           src/backends/NetworkManagerSuSE.c
3021                 - (nm_system_device_flush_ip4_addresses,
3022                    nm_system_device_flush_ip4_addresses_with_iface): remove
3023
3024         * src/backends/NetworkManagerGeneric.c
3025                 - (nm_generic_device_flush_ip4_addresses,
3026                    nm_generic_device_flush_ip4_addresses_with_iface): remove
3027
3028 2008-05-23  Dan Williams  <dcbw@redhat.com>
3029
3030         * src/supplicant-manager/nm-supplicant-settings-verify.c
3031                 - Switch 'bssid' from bytes to keyword type
3032                 - (validate_type_keyword): allow NULL keyword lists
3033
3034         * src/supplicant-manager/nm-supplicant-config.c
3035                 - (nm_supplicant_config_add_setting_wireless): convert the bssid from
3036                         a byte array to string form, which is what the supplicant expects
3037
3038 2008-05-23  Tambet Ingo  <tambet@gmail.com>
3039
3040         Add a flag to NMSettingIP4Config to make it possible to ignore the DNS
3041         information received from DHCP.
3042
3043         * libnm-util/nm-setting-ip4-config.c: Add a new membet "ignore_dhcp_dns"
3044         to make it possible to ignore the DNS information (both servers and 
3045         searches) returned by DHCP server.
3046
3047         * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Reset the
3048         name servers and searches if "ignore_dhcp_dns" is set.
3049
3050         * src/nm-ip4-config.c (nm_ip4_config_reset_nameservers)
3051         (nm_ip4_config_reset_searches): Implement.
3052
3053 2008-05-22  Dan Williams  <dcbw@redhat.com>
3054
3055         Remove anything mDNS related.  This is better done from a distro-specific
3056         dispatcher script.  Plus, any distro using avahi doesn't need to restart
3057         avahi, since avahi can handle interface changes just fine using netlink.
3058
3059         * configure.in
3060                 - Remove --with-mdns-provider
3061
3062         * src/NetworkManagerPolicy.c
3063                 - (global_state_changed): don't restart the mdns provider
3064
3065         * src/NetworkManagerSystem.h
3066           src/backends/NetworkManagerArch.c
3067           src/backends/NetworkManagerDebian.c
3068           src/backends/NetworkManagerFrugalware.c
3069           src/backends/NetworkManagerGentoo.c
3070           src/backends/NetworkManagerMandriva.c
3071           src/backends/NetworkManagerPaldo.c
3072           src/backends/NetworkManagerRedHat.c
3073           src/backends/NetworkManagerSlackware.c
3074           src/backends/NetworkManagerSuSE.c
3075                 - (nm_system_restart_mdns_responder): remove
3076
3077         * src/backends/NetworkManagerGeneric.c
3078           src/backends/NetworkManagerGeneric.h
3079                 - (nm_generic_restart_mdns_responder): remove
3080
3081 2008-05-22  Dan Williams  <dcbw@redhat.com>
3082
3083         * configure.in
3084                 - clean up crypto options; just use --with-crypto=nss or
3085                         --with-crypto=gnutls
3086
3087 2008-05-22  Tambet Ingo  <tambet@gmail.com>
3088
3089         * src/nm-manager.c (impl_manager_sleep): No need to schedule the sync
3090         anymore, do it right away.
3091
3092 2008-05-22  Tambet Ingo  <tambet@gmail.com>
3093
3094         * src/nm-gsm-device.c (device_state_changed): Make sure we don't leave the
3095         serial device open when we're not connecting or connected.
3096
3097         * src/nm-cdma-device.c (device_state_changed): Ditto.
3098
3099 2008-05-22  Tambet Ingo  <tambet@gmail.com>
3100
3101         Don't remove all devices on waking up, sync with HAL.
3102
3103         * src/nm-manager.c (nm_manager_udi_is_managed): Implement.
3104         (sync_devices): Implement, based on hal_manager_hal_reappeared_cb.
3105         (hal_manager_hal_reappeared_cb): Just call sync_devices.
3106
3107 2008-05-21  Tambet Ingo  <tambet@gmail.com>
3108
3109         * src/NetworkManagerSystem.c (nm_system_device_replace_default_ip4_route):
3110         If the default gateway is unreachable, add a route to gateway and try
3111         again.
3112
3113 2008-05-20  Dan Williams  <dcbw@redhat.com>
3114
3115         * system-settings/plugins/ifcfg-fedora/reader.c
3116                 - (add_one_wep_key): handle ASCII WEP keys too (rh #293111)
3117
3118 2008-05-19  Dan Williams  <dcbw@redhat.com>
3119
3120         * system-settings/plugins/ifcfg-fedora/reader.c
3121                 - (make_ip4_setting): get a fallback gateway from /etc/sysconfig/network
3122                         if the ifcfg doesn't specify one (rh #446527)
3123
3124 2008-05-19  Dan Williams  <dcbw@redhat.com>
3125
3126         Make the system settings service exit when the bus goes away.  Since it's
3127         a bus-activated service, it's lifetime is limited to the bus that activated
3128         it (rh #444976).
3129
3130         * system-settings/src/Makefile.am
3131           system-settings/src/nm-system-config-hal-manager-private.h
3132                 - Remove nm-system-config-hal-manager-private.h
3133
3134         * system-settings/src/nm-system-config-hal-manager.c
3135                 - (nm_system_config_hal_manager_reinit_dbus,
3136                    nm_system_config_hal_manager_deinit_dbus): remove
3137
3138         * system-settings/src/main.c
3139                 - (dbus_reconnect): remove
3140                 - (dbus_cleanup): don't tell the HAL manager to deinit dbus
3141                 - (destroy_cb): just quit when the bus goes away
3142                 - (start_dbus_service, dbus_init): simplify
3143                 - (main): destroy the wired devices hash table after destroying
3144                         the HAL manager so we don't have to disconnect signals from the
3145                         HAL manager
3146
3147 2008-05-15  Tambet Ingo  <tambet@gmail.com>
3148
3149         Move crypto functions from nm-applet to libnm-util.
3150
3151         * libnm-util/nm-setting-8021x.c (nm_setting_802_1x_set_ca_cert)
3152         (nm_setting_802_1x_set_client_cert)
3153         (nm_setting_802_1x_set_phase2_ca_cert)
3154         (nm_setting_802_1x_set_phase2_client_cert)
3155         (nm_setting_802_1x_set_private_key)
3156         (nm_setting_802_1x_set_phase2_private_key): Implement. Given a certificate
3157         file (or private key and it's password), read the certificate data.
3158
3159         * libnm-util/crypto_nss.c: 
3160         * libnm-util/crypto_gnutls.c: 
3161         * libnm-util/crypto.[ch]: Move here from nm-applet.
3162
3163         * configure.in: Check for NSS and gnutls here (moved here from nm-applet).
3164
3165         * system-settings/plugins/ifcfg-suse/parser.c (read_wpa_eap_settings):
3166         Imlement WPA-EAP configuration reading from sysconfig.
3167
3168 2008-05-16  Dan Williams  <dcbw@redhat.com>
3169
3170         * src/nm-device-802-11-wireless.c
3171                 - (nm_device_802_11_wireless_set_enabled): request a scan after enabling
3172                         wireless
3173
3174 2008-05-14  Dan Williams  <dcbw@redhat.com>
3175
3176         Fix Linus' bug in rh #134886
3177
3178         * src/nm-device-802-3-ethernet.c
3179                 - (constructor): request initial carrier state
3180
3181         * src/nm-netlink-monitor.c
3182                 - (nm_netlink_monitor_request_status): schedule emission of carrier
3183                         signals after refilling the link cache.  Because the refill is a 
3184                         synchronous operation, the normal message hander won't get called
3185                         since libnl has already consumed the messages.
3186                 - (deferred_emit_carrier_state): emit carrier states from an idle handler
3187
3188 2008-05-14  Dan Williams  <dcbw@redhat.com>
3189
3190         * src/NetworkManagerSystem.c
3191                 - (nm_system_device_is_up_with_iface): clean up
3192
3193 2008-05-13  Dan Williams  <dcbw@redhat.com>
3194
3195         Fix refcounting issues over sleep/wake when a VPN connection was active that
3196         caused NM to try registering an object path for a device upon wake that was
3197         the same as an already registered object path.
3198
3199         * src/nm-device.c
3200                 - (nm_device_take_down): properly handle cases where the device is
3201                         no longer active but was just active, and therefore must be
3202                         deactivated.  When a device moves to unmanaged mode, this function
3203                         previously would not deactivate the device, because the state was
3204                         already unmanaged by the time this function was called.
3205
3206         * src/vpn-manager/nm-vpn-connection.c
3207                 - (device_state_changed): properly handle multiple devices states in
3208                         which the device is now deactivated.  Code previously didn't handle
3209                         transitions to the UNAVAILABLE (like rfkill or carrier off) and
3210                         UNMANAGED states.
3211
3212 2008-05-13  Dan Williams  <dcbw@redhat.com>
3213
3214         * src/nm-device-private.h
3215           src/nm-device.c
3216                 - (nm_device_hw_bring_up, nm_device_hw_take_down): export
3217
3218         * src/nm-device-802-11-wireless.c
3219                 - (nm_device_802_11_wireless_set_enabled): take devices up
3220                         and down as appropriate for the rfkill state
3221
3222 2008-05-13  Dan Williams  <dcbw@redhat.com>
3223
3224         * marshallers/nm-marshal.list
3225                 - Add VOID:POINTER,STRING marshaller for ifcfg-fedora plugin
3226
3227         * system-settings/plugins/ifcfg-fedora/Makefile.am
3228           system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
3229           system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
3230                 - Implement a minimal inotify helper for watch paths for IN_CLOSE_WRITE
3231                         events.  Solely for use watching ifcfg files to pick up changes
3232                         to their hardlinks, since GIO doesn't support this yet (bgo #532815)
3233
3234         * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
3235                 - (nm_ifcfg_connection_class_init): new 'ifcfg-changed' signal when the
3236                         file contents change
3237                 - (finalize): clean up inotify watches
3238                 - (nm_ifcfg_connection_new): store keyfile; inotify watch the keyfile
3239                         and the connection ifcfg for changes on their hardlinks
3240                 - (files_changed_cb): proxy the changed signal back out to listeners
3241
3242         * system-settings/plugins/ifcfg-fedora/plugin.c
3243                 - (dir_changed): 
3244                 - (connection_ifcfg_changed): re-read the connection when the ifcfg
3245                         changes
3246                 - (read_one_connection): connect to change signals on the new connection
3247                 - (dir_changed, connection_changed_handler,
3248                    handle_connection_remove_or_new): break out connection change
3249                         handling and connection new/remove handling so it can be used from
3250                         both the GFileMonitor callback and the NMIfcfgConnection changed
3251                         signals
3252
3253         * system-settings/plugins/ifcfg-fedora/reader.c
3254           system-settings/plugins/ifcfg-fedora/reader.h
3255                 - (connection_from_file): return the keyfile path the connection would use
3256
3257 2008-05-13  Tambet Ingo  <tambet@gmail.com>
3258
3259         * system-settings/src/nm-polkit-helpers.c (create_polkit_context): Use a 
3260         single PolKitContext which is shared by all. PolKitContext::unref leaks
3261         just about everything, including all open file descriptiors and results
3262         in 99% cpu usage when data arrives to any of the fds that don't belong
3263         to any context anymore.
3264
3265 2008-05-12  Dan Williams  <dcbw@redhat.com>
3266
3267         * gfilemonitor/glocaldirectorymonitor.c
3268           gfilemonitor/glocaldirectorymonitor.h
3269                 - (g_local_directory_monitor_constructor): actually subscribe to the
3270                         watch
3271                 - (_g_local_directory_monitor_new): ensure that inotify is started up
3272
3273         * gfilemonitor/glocalfilemonitor.c
3274           gfilemonitor/glocalfilemonitor.h
3275                 - (g_local_file_monitor_constructor): actually subscribe to the watch
3276                 - (_g_local_file_monitor_new): ensure that inotify is started up
3277
3278 2008-05-11  Dan Williams  <dcbw@redhat.com>
3279
3280         * configure.in
3281                 - record PolicyKit version
3282
3283         * system-settings/src/nm-polkit-helpers.c
3284                 - (check_polkit_privileges): use polkit_context_can_caller_do_action()
3285                         with PolicyKit <= 0.6
3286
3287 2008-05-11  Dan Williams  <dcbw@redhat.com>
3288
3289         Update Fedora system-settings plugin to support latest API and use
3290         GFileMonitor rather than home-rolled inotify code.
3291
3292         * system-settings/plugins/ifcfg-fedora/Makefile.am
3293           system-settings/plugins/ifcfg-fedora/common.h
3294           system-settings/plugins/ifcfg-fedora/plugin.c
3295                 - Update to latest system settings plugin API; use GIO instead of
3296                         custom inotify code; use NMIfcfgConnection objects instead of
3297                         ConnectionData structures tacked onto NMConnection objects
3298
3299         * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
3300           system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.h
3301                 - Implement an NMExportedConnection subclass mapping ifcfg files to
3302                         connections
3303
3304         * system-settings/plugins/ifcfg-fedora/reader.c
3305           system-settings/plugins/ifcfg-fedora/reader.h
3306                 - Move ifcfg parsing bits here from parser.c
3307
3308         * system-settings/plugins/ifcfg-fedora/parser.c
3309           system-settings/plugins/ifcfg-fedora/parser.h
3310                 - Remove; most code moved to reader.c
3311
3312 2008-05-11  Dan Williams  <dcbw@redhat.com>
3313
3314         * configure.in
3315           Makefile.am
3316           gfilemonitor/*
3317                 - Add a private copy of the GIO GFileMonitor code, with a custom GFile
3318                         implementation, so that the same change monitoring code can be used
3319                         on systems without glib-2.14 (like Fedora 8)
3320
3321         * system-settings/plugins/keyfile/Makefile.am
3322           system-settings/plugins/keyfile/plugin.c
3323           system-settings/plugins/ifcfg-suse/Makefile.am
3324           system-settings/plugins/ifcfg-suse/plugin.c
3325                 - Use private gfilemonitor code if GIO is not present
3326
3327 2008-05-09  Tambet Ingo  <tambet@gmail.com>
3328
3329         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c: Implement
3330         NMExportedConnection's 'update' and 'delete' and return error with
3331         descriptive message.
3332
3333 2008-05-08  Dan Williams  <dcbw@redhat.com>
3334
3335         Patch from Markus Becker <mab@comnets.uni-bremen.de>
3336
3337         * src/nm-gsm-device.c
3338           src/nm-cdma-device.c
3339                 - (real_get_best_auto_connection): implement; allow autoconnection
3340                         to GSM & CDMA devices
3341
3342 2008-05-08  Tambet Ingo  <tambet@gmail.com>
3343
3344         Use PolicyKit to authorize the system settings' AddConnection method
3345         and the system settings connections' Update and Delete methods.
3346         
3347         * libnm-glib/nm-settings.c (impl_exported_connection_update)
3348         (impl_exported_connection_delete, nm_exported_connection_update)
3349         (nm_exported_connection_delete): Return boolean and fill GError
3350         to notify the callers of the reasons why it might have failed.
3351
3352         * libnm-glib/nm-dbus-settings-system.c
3353         (nm_dbus_settings_system_add_connection): Return the error from dbus
3354         call so that the callers can see why it failed.
3355
3356         * libnm-glib/nm-dbus-connection.c (update, delete): Update the 
3357         signatures.
3358
3359         * system-settings/src/nm-polkit-helpers.[ch]: Implement.
3360
3361         * system-settings/src/nm-sysconfig-connection.[ch]: Implement. New
3362         abstract base class that checks PolicyKit permissions.
3363
3364         * system-settings/src/dbus-settings.c:
3365         (impl_settings_add_connection): Check the policy before carring out
3366         the request.
3367
3368         * system-settings/plugins/keyfile/nm-keyfile-connection.c:
3369         Inherit from NMSysconfigConnection, check the policies before
3370         allowing updating or removing.
3371
3372         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c:
3373         Inherit from NMSysconfigConnection.
3374
3375         * introspection/nm-exported-connection.xml: Annotate "Update" and 
3376         "Delete" methods with async flag so that the implementations can get
3377         access to DBusGMethodInvocation.
3378
3379         * system-settings/src/dbus-settings.c 
3380         (settings_add_connection_check_privileges): Implement.
3381         (impl_settings_add_connection): Check the privileges before adding a new
3382         connection. Improve error reporting.
3383
3384         * introspection/nm-settings-system.xml: Make the 'AddConnection' method
3385         async so that the implementation can access DBusGMethodInvocation.
3386
3387         * configure.in: Check for PolicyKit.
3388
3389         * policy/org.freedesktop.network-manager-settings.system.policy: 
3390         New file.
3391
3392         * policy/Makefile.am: Install the policy file.
3393
3394         * configure.in: Add 'policy' subdir.
3395
3396 2008-05-08  Tambet Ingo  <tambet@gmail.com>
3397
3398         Rewrite the suse system settings plugin.
3399
3400         * system-settings/plugins/ifcfg-suse/plugin.c: Rewrite.
3401
3402         * system-settings/plugins/ifcfg-suse/parser.c: Rewrite.
3403
3404         * system-settings/plugins/ifcfg-suse/nm-suse-connection.[ch]: Implement.
3405
3406         * system-settings/plugins/ifcfg-suse/Makefile.am: Add new files to build.
3407
3408         * system-settings/src/dbus-settings.c: Fix connection reference counting.
3409
3410         * system-settings/src/main.c (load_plugins): Improve error reporting.
3411
3412         * system-settings/src/sha1.[ch] Add.
3413
3414         * system-settings/src/Makefile.am: Add sha1[ch] to build.
3415
3416 2008-05-07  Dan Williams  <dcbw@redhat.com>
3417
3418         * system-settings/plugins/keyfile/reader.c
3419                 - (read_one_setting_value): handle IP address items separately
3420                 - (read_array_of_uint): read IPv4 DNS option as a string array
3421                 - (read_array_of_array_of_uint): read IPv4 address tuples as a string
3422                         array
3423
3424         * system-settings/plugins/keyfile/writer.c
3425                 - (write_setting_value): handle IP address items separately
3426                 - (write_array_of_uint): handle IPv4 DNS option as a string array,
3427                         not an array of uint, so that it's user-editable
3428                 - (write_array_of_array_of_uint): handle IPv4 address tuples as string
3429                         arrays, so they are user-editable
3430
3431 2008-05-07  Dan Williams  <dcbw@redhat.com>
3432
3433         * system-settings/plugins/keyfile/Makefile.am
3434                 - Change location of the keyfile plugin settings to
3435                         /etc/NetworkManager/system-connections
3436
3437 2008-05-05  Tambet Ingo  <tambet@gmail.com>
3438
3439         * system-settings/plugins/keyfile/nm-keyfile-connection.[ch]: Implement.
3440
3441         * system-settings/plugins/keyfile/plugin.c: Work with
3442         NMKeyfileConnections.
3443
3444         * system-settings/src/dbus-settings.c: Remove NMSysconfigExportedConnection.
3445         Plugins are supposed to return NMExportedConnections now and handle the
3446         updated(), removed(), and GetSecrets().
3447         Store the internal list of connections in hash table to make it easier
3448         to find duplicates.
3449
3450 2008-05-07  Tambet Ingo  <tambet@gmail.com>
3451
3452         * src/backends/NetworkManagerSuSE.c (nm_system_set_hostname): Update
3453         for multiple IP addresses.
3454
3455 2008-05-07  Tambet Ingo  <tambet@gmail.com>
3456
3457         Patch from André Lemos.
3458
3459         * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Fix a memory
3460         corruption.
3461
3462 2008-05-06  Dan Williams  <dcbw@redhat.com>
3463
3464         * src/dhcp-manager/nm-dhcp-manager.c
3465                 - (nm_dhcp_manager_get_ip4_config): clean up; update for changes to
3466                         NMIP4Config to support multiple IP addresses
3467
3468         * src/NetworkManagerUtils.c
3469                 - (nm_utils_merge_ip4_config): update for multiple IP addresses
3470
3471         * src/nm-ip4-config.c
3472           src/nm-ip4-config.h
3473                 - Store a list of IPv4 address/netmask/gateway tuples
3474                 - (nm_ip4_config_get_gateway, nm_ip4_config_set_gateway,
3475                    nm_ip4_config_get_netmask, nm_ip4_config_set_netmask,
3476                    nm_ip4_config_get_broadcast, nm_ip4_config_set_broadcast,
3477                    nm_ip4_config_set_address): remove
3478                 - (nm_ip4_config_take_address, nm_ip4_config_add_address,
3479                    nm_ip4_config_replace_address, nm_ip4_config_get_num_addresses):
3480                         new functions; handle multiple IPv4 addresses
3481
3482         * src/nm-device.c
3483           src/ppp-manager/nm-ppp-manager.c
3484           src/vpn-manager/nm-vpn-connection.c
3485           src/NetworkManagerPolicy.c
3486           test/nm-tool.c
3487           libnm-glib/libnm-glib-test.c
3488                 - update for changes to NMIP4Config for multiple IPv4 addresses
3489
3490         * src/NetworkManagerSystem.c
3491                 - (nm_system_device_set_ip4_route): don't add the route if any address
3492                         is on the same subnet as the destination
3493                 - (check_one_address): ignore the exact match, just match family and
3494                         interface index
3495                 - (add_ip4_addresses): add all IPv4 addresses in an NMIP4Config to
3496                         an interface
3497                 - (nm_system_device_set_from_ip4_config): use add_ip4_addresses()
3498                 - (nm_system_vpn_device_set_from_ip4_config): use add_ip4_addresses()
3499
3500         * introspection/nm-ip4-config.xml
3501                 - Remove 'address', 'gateway', 'netmask', and 'broadcast' properties
3502                 - Add 'addresses' property which is an array of (uuu) tuples of
3503                         address/netmask/gateway
3504
3505         * libnm-util/nm-setting-ip4-config.c
3506                 - (set_property): use ip-address <-> GValue converters from nm-utils.c
3507
3508         * libnm-glib/nm-ip4-config.c
3509           libnm-glib/nm-ip4-config.h
3510                 - Handle D-Bus interface changes to support multiple IP addresses
3511
3512 2008-05-06  Dan Williams  <dcbw@redhat.com>
3513
3514         * libnm-util/nm-utils.c
3515           libnm-util/nm-utils.h
3516                 - (nm_utils_ip4_addresses_from_gvalue,
3517                    nm_utils_ip4_addresses_to_gvalue): new functions
3518
3519 2008-05-06  Tambet Ingo  <tambet@gmail.com>
3520
3521         * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Don't leak
3522         the returned connection paths.
3523
3524 2008-05-05  Tambet Ingo  <tambet@gmail.com>
3525
3526         * libnm-glib/nm-dbus-settings.c (constructor): Fix the 
3527         "PropertiesChanged" signal signature.
3528
3529         * libnm-glib/nm-dbus-connection.c (constructor): Use the common GType
3530         defined in nm-dbus-glib-types.h.
3531         Don't register the connection on dbus, we're a proxy class to 
3532         communicate with an already registered connection over dbus.
3533
3534 2008-04-30  Tambet Ingo  <tambet@gmail.com>
3535
3536         Implement new subclasses of NMSettings and NMExportedConnection to make
3537         it easier for the applet to access and modify system settings.
3538
3539         * libnm-glib/nm-dbus-connection.[ch]:
3540         * libnm-glib/nm-dbus-settings.[ch]:
3541         * libnm-glib/nm-dbus-settings-system.[ch]: Implement.
3542
3543         * libnm-glib/Makefile.am: Add the new files to build, generate some more
3544         bindings and glue.
3545
3546         * include/NetworkManager.h: Define the system settings DBus interface.
3547
3548 2008-04-30  Tambet Ingo  <tambet@gmail.com>
3549
3550         Implement additional C API for exported connections to make them identical
3551         with the DBus API. Change the (list_connections) virtual function to be
3552         more usable from C - instead of requiring implementers to return a GPtrArray
3553         of dbus paths, return a list of connections.
3554
3555         * libnm-glib/nm-settings.c (nm_exported_connection_class_init): Fix a typo.
3556         (nm_settings_list_connections):
3557         (nm_exported_connection_new):
3558         (nm_exported_connection_update):
3559         (nm_exported_connection_delete): Implement.
3560
3561         (impl_settings_list_connections):
3562         (impl_exported_connection_update):
3563         (impl_exported_connection_delete): Use the new public functions to make 
3564         sure the C and dbus interfaces stay in sync.
3565
3566         * system-settings/src/dbus-settings.c (list_connections): Return a list of
3567         connections.
3568
3569 2008-05-02  Dan Williams  <dcbw@redhat.com>
3570
3571         * system-settings/plugins/ifcfg-fedora/plugin.c
3572                 - (dispose): use right unref call on the DBusGConnection
3573
3574 2008-05-02  Dan Williams  <dcbw@redhat.com>
3575
3576         * src/nm-serial-device.c
3577                 - (find_terminator): don't compare the whole line, just the size of the
3578                         terminator, since some modems put stuff after the terminator, like
3579                         "CONNECT 9600"
3580
3581 2008-05-01  Dan Williams  <dcbw@redhat.com>
3582
3583         Patch from Michael Biebl <biebl@debian.org>
3584
3585         * callouts/Makefile.am
3586           callouts/org.freedesktop.nm_dispatcher.service.in
3587           system-settings/src/Makefile.am
3588           system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service.in
3589                 - use the right install location for dbus-activated stuff
3590
3591 2008-04-30  Dan Williams  <dcbw@redhat.com>
3592
3593         * src/nm-gsm-device.c
3594                 - (enter_pin): fix setting name passed to applets when asking for a GSM
3595                         PIN or PUK
3596
3597 2008-04-30  Dan Williams  <dcbw@redhat.com>
3598
3599         * src/nm-manager.c
3600                 - (nm_manager_error_get_type): remove erroneous NULL enum from table
3601
3602 2008-04-30  Dan Williams  <dcbw@redhat.com>
3603
3604         * src/nm-device-802-3-ethernet.c
3605           src/nm-device-802-11-wireless.c
3606                 - (real_is_up): return true instead of chaining up to unimplemented
3607                         parent method
3608
3609 2008-04-30  Dan Williams  <dcbw@redhat.com>
3610
3611         * src/NetworkManagerSystem.c
3612           src/NetworkManagerSystem.h
3613                 - (nm_system_device_is_up, nm_system_device_is_up_with_iface): new
3614                         functions to check device flags for IFF_UP
3615
3616         * src/nm-serial-device.c
3617                 - (real_is_up): remove; NMDevice now returns TRUE if the subclass doesn't
3618                         implement is_up
3619
3620         * src/nm-device-802-3-ethernet.c
3621           src/nm-device-802-11-wireless.c
3622                 - (real_hw_is_up): call nm_system_device_is_up()
3623
3624         * src/nm-device.c
3625                 - (real_hw_is_up): move to nm_system_device_is_up_with_iface()
3626                 - (real_is_up): remove; nm_device_is_up() returns TRUE if subclass
3627                         does not implement
3628
3629 2008-04-29  Dan Williams  <dcbw@redhat.com>
3630
3631         Handle HAL dropouts better; allow NM to start up even if HAL isn't up yet.
3632
3633         * marshallers/nm-marshal.list
3634                 - Add marshaller
3635
3636         * src/NetworkManager.c
3637                 - (main): let the NMManager handle the NMHalManager
3638
3639         * src/nm-hal-manager.c
3640           src/nm-hal-manager.h
3641                 - convert to a GObject, and emit singals when stuff changes.  Let the
3642                         NMManager handle the signals, instead of the NMHalManager calling
3643                         into the NMManager.  
3644
3645         * src/nm-manager.c
3646           src/nm-manager.h
3647                 - (remove_one_device): consolidate device removals here
3648                 - (dispose): use remove_one_device()
3649                 - (nm_manager_get_device_by_udi): make static
3650                 - (deferred_hal_manager_query_devices): idle handler to query the HAL
3651                         manager for devices at startup or wakeup time
3652                 - (nm_manager_new): create and monitor the HAL manager
3653                 - (hal_manager_udi_added_cb): new function; do what
3654                         nm_manager_add_device() used to do when signalled by the hal manager
3655                 - (hal_manager_udi_removed_cb): new function; do what
3656                         nm_manager_remove_device() used to do when signalled by the hal
3657                         manager
3658                 - (hal_manager_rfkill_changed_cb): handle rfkill changes from the
3659                         hal manager
3660                 - (hal_manager_hal_reappeared_cb): when HAL comes back, remove devices
3661                         in our device list that aren't known to HAL
3662                 - (impl_manager_sleep): on wakeup, re-add devices from an idle handler;
3663                         see comments on nm-hal-manager.c::nm_manager_state_changed() a few
3664                         commits ago
3665                 - (nm_manager_get_device_by_path, nm_manager_is_udi_managed,
3666                    nm_manager_activation_pending, nm_manager_wireless_enabled,
3667                    nm_manager_wireless_hardware_enabled,
3668                    nm_manager_set_wireless_hardware_enabled): remove, unused
3669
3670 2008-04-28  Dan Williams  <dcbw@redhat.com>
3671
3672         Fix the device up/down ambiguities.  Up/down state used to be a
3673         conglomeration of hardware state (IFF_UP) and any device-specific things
3674         (supplicant, periodic timers, etc) that the device used to indicate
3675         readiness.  Unfortunately, if the hardware was already IFF_UP for some
3676         reason, then the device specific stuff wouldn't get run, and the device
3677         would be stuck.
3678
3679         * src/nm-device.c
3680           src/nm-device.h
3681                 - Create hw_is_up, hw_bring_up, and hw_take_down
3682                 - Rename bring_down -> take_down
3683                 - (real_hw_is_up): check interface flags for IFF_UP
3684                 - (nm_device_hw_is_up): let subclasses figure out their own HW state
3685                 - (nm_device_is_up): make static; only used locally
3686                 - (nm_device_hw_bring_up): update the hardware and IPv4 addresses even
3687                         if the device is already up; if the device isn't up, bring it up
3688                 - (nm_device_hw_take_down): just take down hardware
3689                 - (nm_device_bring_up): bring up HW first, then device specific stuff
3690                 - (nm_device_take_down): always deactivate device when called; always
3691                         try to take hardware down too
3692                 - (nm_device_state_changed): take device down when entering unmanaged
3693                         state from a higher state
3694
3695         * src/nm-device-802-11-wireless.c
3696                 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
3697                         check IFF_UP really
3698                 - (real_take_down, supplicant_iface_state_cb_handler, 
3699                    supplicant_iface_connection_state_cb_handler,
3700                    supplicant_mgr_state_cb_handler): fix some messages
3701
3702         * src/nm-device-802-3-ethernet.c
3703                 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
3704                         check IFF_UP really
3705
3706 2008-04-28  Dan Williams  <dcbw@redhat.com>
3707
3708         * src/nm-manager.c
3709           src/nm-manager.h
3710                 - (nm_manager_error_get_type): add new error
3711                 - (nm_manager_remove_device): don't bother taking down the device here,
3712                         the state change from unmanaging the device will do it
3713                 - (impl_manager_sleep): move nm_manager_sleep() here since nothing else
3714                         uses it; when going to sleep, just unmanage the device instead of
3715                         taking it down, because stuff will cleaned up correctly when the
3716                         device gets unmanaged
3717
3718 2008-04-28  Dan Williams  <dcbw@redhat.com>
3719
3720         * src/nm-hal-manager.c
3721                 - (add_initial_devices): convert to a GSourceFunc prototype
3722                 - (nm_manager_state_changed): when coming out of sleep, punt the
3723                         device re-addition to an idle handler to let D-Bus events go out
3724                         first, fixing a potential dbus-glib assert if the old device was
3725                         not yet disposed (due to references held while emitting the D-Bus
3726                         signals) but the new device was found, because the mainloop didn't
3727                         run between signal emission and add_initial_devices()
3728
3729 2008-04-27  Dan Williams  <dcbw@redhat.com>
3730
3731         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3732
3733         * initscript/paldo/NetworkManager.in
3734           initscript/SUSE/networkmanager.in
3735                 - Remove last bits of dhcdbd
3736
3737 2008-04-27  Dan Williams  <dcbw@redhat.com>
3738
3739         * src/nm-device-802-11-wireless.c
3740                 - (link_timeout_cb): don't ask for secrets when disconnected during
3741                         association/authentication phase, drivers are still just too crappy
3742
3743 2008-04-27  Dan Williams  <dcbw@redhat.com>
3744
3745         * Makefile.am
3746           configure.in
3747           dispatcher-daemon/Makefile.am
3748           dispatcher-daemon/NetworkManagerDispatcher.c
3749           initscript/Arch/Makefile.am
3750           initscript/Arch/networkmanager-dispatcher.in
3751           initscript/Gentoo/Makefile.am
3752           initscript/Gentoo/NetworkManagerDispatcher.in
3753           initscript/Mandriva/Makefile.am
3754           initscript/Mandriva/networkmanagerdispatcher.in
3755           initscript/RedHat/Makefile.am
3756           initscript/RedHat/NetworkManagerDispatcher.in
3757           initscript/SUSE/Makefile.am
3758           initscript/SUSE/networkmanager-dispatcher.in
3759           initscript/Slackware/Makefile.am
3760           initscript/Slackware/rc.networkmanager-dispatcher.in
3761           initscript/paldo/Makefile.am
3762           initscript/paldo/NetworkManagerDispatcher.in
3763           man/Makefile.am
3764           man/NetworkManagerDispatcher.8.in
3765                 - Remove the dispatcher daemon
3766
3767 2008-04-27  Dan Williams  <dcbw@redhat.com>
3768
3769         * callouts/Makefile.am
3770           callouts/nm-dispatcher-action.c
3771           callouts/nm-dispatcher-action.h
3772           callouts/nm-dispatcher.conf
3773           callouts/nm-dispatcher.xml
3774           callouts/org.freedesktop.nm_dispatcher.service
3775                 - Re-implement the dispatcher as a system-bus activated service that
3776                         NM calls on-demand, rather than an always running daemon
3777
3778         * src/Makefile.am
3779                 - Add callouts dir to includes to pick up dispatcher defines
3780
3781         * src/nm-device.c
3782                 - (nm_device_state_changed): call dispatcher on device activated/
3783                         deactivated
3784
3785         * src/vpn-manager/nm-vpn-connection.c
3786                 - (nm_vpn_connection_set_vpn_state): call dispatcher when VPN connections
3787                         go up and down
3788
3789         * src/NetworkManagerUtils.c
3790           src/NetworkManagerUtils.h
3791                 - (nm_utils_call_dispatcher): helper to call dispatcher
3792
3793 2008-04-27  Dan Williams  <dcbw@redhat.com>
3794
3795         * src/NetworkManagerUtils.c
3796           src/NetworkManagerUtils.h
3797                 - remove unneeded includes
3798                 - (nm_null_safe_strcmp, nm_ethernet_addresses_are_equal,
3799                    nm_utils_inet_ip4_address_as_string, nm_timeval_has_passed,
3800                    nm_timeval_cmp, nm_timeval_add): remove, unused
3801                 - clean up formatting
3802                 - (nm_spawn_process): de-uglify
3803
3804         * src/nm-device-802-11-wireless.c
3805                 - (get_active_ap): use memcmp() not nm_ethernet_addresses_are_equal()
3806
3807 2008-04-26  Saleem Abdulrasool  <compnerd@compnerd.org>
3808
3809         * initscript/Gentoo/NetworkManager.in:
3810                 Fix for starting the daemon.
3811
3812 2008-04-25  Dan Williams  <dcbw@redhat.com>
3813
3814         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3815
3816         * src/NetworkManagerSystem.c
3817                 - (nm_system_device_set_ip4_route): reimplement using libnl, not ioctls
3818
3819 2008-04-25  Dan Williams  <dcbw@redhat.com>
3820
3821         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3822
3823         * src/NetworkManagerSystem.c
3824                 - (nm_system_device_replace_default_ip4_route): new function; a libnl
3825                         implementation of nm_system_device_replace_default_route()
3826
3827         * src/NetworkManagerPolicy.c
3828                 - (update_default_route): use nm_system_device_replace_default_ip4_route()
3829
3830         * src/backends/NetworkManagerArch.c
3831           src/backends/NetworkManagerDebian.c
3832           src/backends/NetworkManagerFrugalware.c
3833           src/backends/NetworkManagerGeneric.c
3834           src/backends/NetworkManagerGeneric.h
3835           src/backends/NetworkManagerGentoo.c
3836           src/backends/NetworkManagerMandriva.c
3837           src/backends/NetworkManagerPaldo.c
3838           src/backends/NetworkManagerRedHat.c
3839           src/backends/NetworkManagerSlackware.c
3840           src/backends/NetworkManagerSuSE.c
3841                 - (nm_system_device_replace_default_route): remove
3842
3843 2008-04-25  Dan Williams  <dcbw@redhat.com>
3844
3845         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3846
3847         * src/NetworkManagerSystem.c
3848                 - (validate_ip4_route): remove; use nl_addr_parse() instead
3849                 - (nm_system_device_add_ip4_route_via_device_with_iface): new function,
3850                         replace nm_system_device_add_route_via_device_with_iface() in the
3851                         backends
3852
3853         * src/backends/NetworkManagerArch.c
3854           src/backends/NetworkManagerDebian.c
3855           src/backends/NetworkManagerFrugalware.c
3856           src/backends/NetworkManagerGeneric.c
3857           src/backends/NetworkManagerGeneric.h
3858           src/backends/NetworkManagerGentoo.c
3859           src/backends/NetworkManagerMandriva.c
3860           src/backends/NetworkManagerPaldo.c
3861           src/backends/NetworkManagerRedHat.c
3862           src/backends/NetworkManagerSlackware.c
3863           src/backends/NetworkManagerSuSE.c
3864                 - Remove nm_system_device_add_route_via_device_with_iface()
3865
3866 2008-04-25  Dan Williams  <dcbw@redhat.com>
3867
3868         * system-settings/plugins/ifcfg-fedora/parser.c
3869                 - (GET_ONE_DNS): fix parsing of DNS2 & DNS3
3870
3871 2008-04-24  Dan Williams  <dcbw@redhat.com>
3872
3873         * dispatcher-daemon/NetworkManagerDispatcher.c
3874                 - (nmd_execute_scripts): execute scripts in order as sorted by strcmp()
3875
3876 2008-04-24  Dan Williams  <dcbw@redhat.com>
3877
3878         * initscript/RedHat/NetworkManager.in
3879           initscript/RedHat/NetworkManagerDispatcher.in
3880                 - Be active at runlevel 2
3881                 - Adjust priorities earlier
3882
3883 2008-04-22  Dan Williams  <dcbw@redhat.com>
3884
3885         * src/NetworkManagerPolicy.c
3886                 - (update_routing_and_dns): when checking for a gateway, look at the
3887                         composite IP4 config, not the connection's ip4-config setting, which
3888                         doesn't include DHCP-returned information
3889
3890 2008-04-22  Tambet Ingo  <tambet@gmail.com>
3891
3892         Implement GKeyFile system settings plugin.
3893         Implement writing system settings (currently supported only by GKeyFile plugin).
3894
3895         * system-settings/src/main.c: 
3896         * system-settings/src/dbus-settings.c: Move the communication with plugins
3897         from main.c to dbus-settings.c. Makes it possible to talk to all registered
3898         plugins for adding/updating/removing connections.
3899
3900         * system-settings/src/nm-system-config-interface.c
3901         (nm_system_config_interface_add_connection): Implement
3902         (nm_system_config_interface_update_connection): Implement.
3903         (nm_system_config_interface_remove_connection): Implement.
3904
3905         * system-settings/plugins/keyfile/Makefile.am:
3906         * system-settings/plugins/keyfile/plugin.[ch]:
3907         * system-settings/plugins/keyfile/writer.[ch]:
3908         * system-settings/plugins/keyfile/reader.[ch]: Implement.
3909
3910         * system-settings/plugins/Makefile.am: Add GKeyFile plugin.
3911
3912         * configure.in: Generate GKeyFile Makefile.
3913
3914         * libnm-glib/nm-settings.c (impl_exported_connection_get_id): Fix a memory
3915         corruption, need to duplicate the returned string.
3916         (impl_exported_connection_update): Implement.
3917         (impl_exported_connection_delete): Implement.
3918
3919         * introspection/nm-settings-system.xml: Add "AddConnection" method.
3920
3921         * introspection/nm-exported-connection.xml: Add "Update" and "Delete" methods.
3922
3923 2008-04-22  Dan Williams  <dcbw@redhat.com>
3924
3925         Patch from Charles R. Anderson (cra@wpi.edu)
3926
3927         * src/NetworkManagerPolicy.c
3928                 - (update_routing_and_dns): don't select devices without a gateway
3929                         as having the default route (rh #437338)
3930
3931 2008-04-21  Dan Williams  <dcbw@redhat.com>
3932
3933         * src/nm-activation-request.c
3934           src/nm-activation-request.h
3935                 - (dispose): ensure to disconnect from the device's state-changed signal
3936                         when appropriate so the signal doesn't get handled by an already
3937                         disposed NMActRequest
3938                 - (device_state_changed): update is_default here too just to make sure
3939                         default is only True when the child device is activated
3940                 - (nm_act_request_set_default): new function
3941
3942         * src/NetworkManagerPolicy.c
3943                 - (update_routing_and_dns): set 'default' on the active connection which
3944                         has the default route and DNS
3945
3946 2008-04-21  Dan Williams  <dcbw@redhat.com>
3947
3948         * src/NetworkManagerPolicy.c
3949                 - (device_state_changed): update routing and DNS when a device goes
3950                         into unmanaged or unavailable states too (like rfkill or carrier loss)
3951
3952 2008-04-21  Dan Williams  <dcbw@redhat.com>
3953
3954         * include/NetworkManager.h
3955                 - Add NMActiveConnectionState enum
3956
3957         * introspection/nm-active-connection.xml
3958           introspection/nm-vpn-connection.xml
3959                 - Add 'State' property for overall active connection state
3960                 - Add 'Default' property, when True means this active connection
3961                         has the default route
3962                 - Add PropertyChanged signals so changes actually go out over the bus
3963
3964         * src/nm-active-connection.h
3965                 - Add defines for State & Default properties
3966
3967         * src/nm-activation-request.c
3968                 - Add 'state' and 'default' properties, hook up to device 'state-changed'
3969                         signal to determine active connection state
3970
3971         * src/vpn-manager/nm-vpn-connection.c
3972           src/vpn-manager/nm-vpn-connection.h
3973           src/vpn-manager/nm-vpn-manager.c
3974           src/vpn-manager/nm-vpn-service.c
3975                 - Rename old 'state' to 'vpn-state'
3976                 - Rename nm_vpn_connection_get_state() -> nm_vpn_connection_get_vpn_state()
3977                 - Add 'state' and 'default' properties, hook up to the vpn connection's
3978                         'vpn-state-changed' signal
3979
3980         * libnm-glib/nm-active-connection.c
3981           libnm-glib/nm-active-connection.h
3982                 - Add new 'state' and 'default' properties and accessors
3983
3984         * libnm-glib/nm-vpn-connection.c
3985           libnm-glib/nm-vpn-connection.h
3986                 - Rename old 'state' property to 'vpn-state'
3987                 - Add new 'state' and 'default' properties and accessors
3988
3989 2008-04-21  Dan Williams  <dcbw@redhat.com>
3990
3991         * src/nm-ip4-config.c
3992                 - (nm_ip4_config_to_rtnl_addr): fill in the broadcast address if it's
3993                         not specified (rh #443474)
3994
3995 2008-04-20  Dan Williams  <dcbw@redhat.com>
3996
3997         * src/NetworkManagerUtils.c
3998           src/NetworkManagerUtils.h
3999                 - (nm_utils_merge_ip4_config): new function; merge settings from an
4000                         NMSettingIP4Config to an NMIP4Config object
4001
4002         * src/nm-device.c
4003                 - (merge_ip4_config): move to NetworkManagerUtils.c
4004
4005         * src/vpn-manager/nm-vpn-connection.c
4006                 - (nm_vpn_connection_ip4_config_get): merge in user-specified settings
4007                         too
4008
4009 2008-04-18  Dan Williams  <dcbw@redhat.com>
4010
4011         * libnm-util/nm-setting-ppp.c
4012           libnm-util/nm-setting-ppp.h
4013                 - Add 'no-vj-comp' option for TCP header compression
4014                 - baud, mru, mtu, lcp_echo_failure, and lcp_echo_interval are really
4015                         uint32
4016
4017 2008-04-18  Dan Williams  <dcbw@redhat.com>
4018
4019         * libnm-util/nm-setting-ppp.c
4020           libnm-util/nm-setting-ppp.h
4021           src/ppp-manager/nm-ppp-manager.c
4022                 - Add 'refuse-pap' and 'refuse-mschapv2' options
4023
4024 2008-04-18  Dan Williams  <dcbw@redhat.com>
4025
4026         * libnm-util/nm-setting-ppp.c
4027           libnm-util/nm-setting-ppp.h
4028           src/ppp-manager/nm-ppp-manager.c
4029                 - Remove the 'usepeerdns' option and always request DNS servers from
4030                         the PPP server; the connection chooses to use/override/ignore the
4031                         DNS servers returned from the PPP server
4032
4033 2008-04-18  Dan Williams  <dcbw@redhat.com>
4034
4035         * libnm-util/nm-setting-ppp.c
4036           libnm-util/nm-setting-ppp.h
4037           src/ppp-manager/nm-ppp-manager.c
4038                 - Remove the 'require-mppc' option, because pppd doesn't support it and
4039                         it seems to have been an erroneous addition to the PPTP plugin in
4040                         the first place (from which the ppp-manager is derived)
4041
4042 2008-04-17  Dan Williams  <dcbw@redhat.com>
4043
4044         * libnm-util/nm-setting-pppoe.c
4045                 - (verify): require a PPP setting too
4046
4047         * src/ppp-manager/nm-ppp-manager.c
4048                 - (nm_ppp_manager_start): fail if no PPP setting is present instead of
4049                         segfaulting
4050
4051 2008-04-17  Dan Williams  <dcbw@redhat.com>
4052
4053         * src/nm-device.c
4054                 - (nm_device_state_changed): do deactivation and and promotion to
4055                         unavailable here, so that the device gets cleaned up before the
4056                         manager runs and starts emitting signals; do the
4057                         FAILED->DISCONNECTED transition from an idle handler rather than
4058                         immediately to guard against recursion
4059                 - (nm_device_deactivate_quickly, nm_device_dispose): stop the
4060                         FAILED->DISCONNECTED handler if it's scheduled
4061
4062 2008-04-17  Dan Williams  <dcbw@redhat.com>
4063
4064         * src/nm-device-802-11-wireless.c
4065                 - (state_changed_cb): clear AP list when device transitions to
4066                         unavailable or unmanaged
4067                 - (nm_device_802_11_wireless_dispose): remove redundant set_current_ap()
4068                         since this is already done in device_cleanup()
4069                 - (supplicant_iface_scanned_ap_cb): don't leak new APs when the device
4070                         isn't available or managed
4071                 - (device_cleanup): use remove_all_aps()
4072                 - (remove_all_aps): consolidate code removing all APs
4073
4074 2008-04-17  Dan Williams  <dcbw@redhat.com>
4075
4076         * src/nm-serial-device.c
4077           src/nm-serial-device.h
4078                 - (wait_for_reply_got_data): break input into lines, and search each
4079                         line for responses _and_ terminator strings; also make sure that
4080                         the read loop doesn't continue after the timeout is supposed to fire
4081                 - (nm_serial_device_wait_for_reply): take an array of terminators too
4082
4083         * src/nm-gsm-device.c
4084           src/nm-cdma-device.c
4085                 - Send terminators to nm_serial_device_wait_for_reply()
4086
4087 2008-04-16  Dan Williams  <dcbw@redhat.com>
4088
4089         Patch from 陈鑫 <znscnchen@gmail.com>
4090
4091         * src/ppp-manager/nm-pppd-plugin.c
4092                 - (get_credentials): return correct value for success; handle case where
4093                         pppd just does some checking but doesn't want a password
4094                 - (plugin_init): make CHAP work too
4095
4096 2008-04-16  Dan Williams  <dcbw@redhat.com>
4097
4098         Patch from 陈鑫 <znscnchen@gmail.com>
4099
4100         * src/ppp-manager/nm-ppp-manager.c
4101                 - (create_pppd_cmd_line): fix argument generation when spawning pppd
4102
4103 2008-04-16  Dan Williams  <dcbw@redhat.com>
4104
4105         Patch from 陈鑫 <znscnchen@gmail.com>
4106
4107         * src/nm-device-802-3-ethernet.c
4108                 - (real_deactivate_quickly): clear the IP interface name on
4109                         deactivation, otherwise the wrong interface might get used later
4110                         for routing and IP management
4111
4112 2008-04-15  Dan Williams  <dcbw@redhat.com>
4113
4114         * libnm-glib/nm-device.c
4115                 - (get_product_and_vendor): handle serial devices correctly
4116                 - (nm_device_update_description): pass device to get_product_and_vendor()
4117
4118 2008-04-15  Dan Williams  <dcbw@redhat.com>
4119
4120         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
4121
4122         * src/NetworkManagerSystem.h
4123           src/backends/NetworkManagerArch.c
4124           src/backends/NetworkManagerDebian.c
4125           src/backends/NetworkManagerFrugalware.c
4126           src/backends/NetworkManagerGeneric.c
4127           src/backends/NetworkManagerGeneric.h
4128           src/backends/NetworkManagerGentoo.c
4129           src/backends/NetworkManagerMandriva.c
4130           src/backends/NetworkManagerPaldo.c
4131           src/backends/NetworkManagerRedHat.c
4132           src/backends/NetworkManagerSlackware.c
4133           src/backends/NetworkManagerSuSE.c
4134           src/nm-device.c
4135                 - (nm_generic_device_add_ip6_link_address,
4136                    nm_system_device_add_ip6_link_address): remove
4137
4138 2008-04-15  Dan Williams  <dcbw@redhat.com>
4139
4140         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
4141
4142         * src/backends/NetworkManagerArch.c
4143           src/backends/NetworkManagerDebian.c
4144           src/backends/NetworkManagerFrugalware.c
4145           src/backends/NetworkManagerGeneric.c
4146           src/backends/NetworkManagerGeneric.h
4147           src/backends/NetworkManagerGentoo.c
4148           src/backends/NetworkManagerMandriva.c
4149           src/backends/NetworkManagerPaldo.c
4150           src/backends/NetworkManagerRedHat.c
4151           src/backends/NetworkManagerSlackware.c
4152           src/backends/NetworkManagerSuSE.c
4153           src/NetworkManagerSystem.h
4154                 - flush_routes -> flush_ip4_routes
4155                 - flush_addresses -> flush_ip4_addresses
4156
4157         * src/NetworkManagerSystem.c
4158           src/nm-device.c
4159           src/vpn-manager/nm-vpn-connection.c
4160                 - flush only IPv4 addresses; don't touch IPv6 routes and addresses
4161
4162 2008-04-15  Dan Williams  <dcbw@redhat.com>
4163
4164         Remove exposure of wireless-tools mode types in the API.
4165
4166         * include/NetworkManager.h
4167                 - Define NM80211Mode enum
4168
4169         * introspection/generic-types.xml
4170                 - Describe NM_802_11_MODE enum
4171                 - Remove IW_MODE_* enum
4172
4173         * introspection/nm-access-point.xml
4174           libnm-glib/nm-access-point.c
4175           libnm-glib/nm-access-point.h
4176                 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
4177
4178         * introspection/nm-device-802-11-wireless.xml
4179           libnm-glib/nm-device-802-11-wireless.c
4180           libnm-glib/nm-device-802-11-wireless.h
4181                 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
4182
4183         * libnm-util/nm-setting-wireless.c
4184           src/NetworkManagerAP.c
4185           src/NetworkManagerAP.h
4186           src/nm-device-802-11-wireless.c
4187           src/nm-device-802-11-wireless.h
4188           test/nm-tool.c
4189                 - Use NM80211Mode not IW_MODE_*
4190
4191 2008-04-15  Dan Williams  <dcbw@redhat.com>
4192
4193         Enhance nm-online based on a patch from Bill Nottingham.
4194
4195         * test/nm-online.c
4196                 - Add a '-q' option
4197                 - Add help messages and option summary
4198                 - Add long-format options
4199                 - Add a '-x' option to exit if NM isn't running or isn't connecting
4200
4201 2008-04-15  Tambet Ingo  <tambet@gmail.com>
4202
4203         * libnm-util/nm-setting.c (nm_setting_duplicate): Implement.
4204
4205         * libnm-util/nm-connection.c (nm_connection_remove_setting): Implement.
4206
4207 2008-04-15  Dan Williams  <dcbw@redhat.com>
4208
4209         * nm-setting-ip4-config.c
4210                 - (ip4_addresses_from_gvalue): handle NULL address array
4211
4212         * nm-setting-8021x.c
4213                 - (verify_tls, verify_ttls): warn on failed verification
4214
4215 2008-04-10  Dan Williams  <dcbw@redhat.com>
4216
4217         * src/nm-gsm-device.c
4218                 - (automatic_registration): accept "+CREG: 0,0"
4219                 - (automatic_registration_response): fail on "+CREG: 0,0"
4220
4221 2008-04-10  Tambet Ingo  <tambet@gmail.com>
4222
4223         * libnm-util/nm-setting-wired.c (get_property): Fix a typo.
4224
4225 2008-04-10  Tambet Ingo  <tambet@gmail.com>
4226
4227         * system-settings/plugins/ifcfg-suse/parser.c (make_wireless_security_setting): 
4228         Make it compile again by commenting out broken code that at first didn't work and
4229         now didn't compile either.
4230
4231 2008-04-08  Dan Williams  <dcbw@redhat.com>
4232
4233         * libnm-glib/nm-object-cache.c
4234           libnm-glib/nm-settings.c
4235           src/dhcp-manager/nm-dhcp-manager.c
4236           system-settings/plugins/ifcfg-fedora/plugin.c
4237           system-settings/plugins/ifcfg-suse/plugin.c
4238           system-settings/src/nm-system-config-hal-manager.c
4239           libnm-util/nm-utils.c
4240                 - Remove usage of GStaticMutex since gcc-4.3 hates it and because we're
4241                         not threadsafe anyway
4242
4243 2008-04-08  Dan Williams  <dcbw@redhat.com>
4244
4245         * system-settings/src/main.c
4246                 - (load_stuff, device_added_cb, device_removed_cb): device added/removed
4247                         callbacks take a device type too
4248
4249 2008-04-08  Dan Williams  <dcbw@redhat.com>
4250
4251         The system settings service will now create a new default DHCP connection
4252         for wired devices that have no existing applicable connection.
4253
4254         * system-settings/src/nm-system-config-hal-manager.c
4255           system-settings/src/nm-system-config-hal-manager.h
4256                 - (nm_system_config_hal_manager_get_type_for_udi): new function
4257
4258         * system-settings/src/dbus-settings.c
4259           system-settings/src/dbus-settings.h
4260                 - (nm_sysconfig_settings_get_connections): new function
4261                 - (nm_sysconfig_settings_is_device_managed): new function
4262
4263         * system-settings/src/main.c
4264                 - (load_stuff): check for wired devices that need a default connection
4265                 - (get_details_for_udi): get interface and MAC address from HAL
4266                 - (add_default_dhcp_connection): add a default connection for a wired
4267                         device if needed
4268                 - (device_added_cb, device_removed_cb): do the right thing with
4269                         wired devices and their default connections on HAL device events
4270
4271 2008-04-07  Dan Williams  <dcbw@redhat.com>
4272
4273         * libnm-glib/nm-device.c
4274           libnm-glib/nm-device.h
4275                 - Proxy the 'managed' property
4276
4277 2008-04-07  Dan Williams  <dcbw@redhat.com>
4278
4279         * src/nm-gsm-device.c
4280           src/nm-cdma-device.c
4281                 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
4282                         handler to transition to DISCONNECTED
4283
4284 2008-04-07  Dan Williams  <dcbw@redhat.com>
4285
4286         Patch from Bill Nottingham
4287
4288         * dispatcher-daemon/NetworkManagerDispatcher.c
4289                 - ignore backup/packaging crufy (rh #440143)
4290
4291 2008-04-07  Dan Williams  <dcbw@redhat.com>
4292
4293         * include/NetworkManager.h
4294                 - Remove the DOWN and CANCELLED device states
4295                 - Add UNMANAGED and UNAVAILABLE device states
4296                 - Document the device states
4297
4298         * introspection/nm-device.xml
4299           src/nm-device-interface.c
4300           src/nm-device-interface.h
4301                 - Add the 'managed' property
4302
4303         * test/nm-tool.c
4304                 - (detail_device): print out device state
4305
4306         * src/NetworkManagerSystem.h
4307           src/backends/NetworkManagerArch.c
4308           src/backends/NetworkManagerDebian.c
4309           src/backends/NetworkManagerFrugalware.c
4310           src/backends/NetworkManagerGentoo.c
4311           src/backends/NetworkManagerMandriva.c
4312           src/backends/NetworkManagerPaldo.c
4313           src/backends/NetworkManagerRedHat.c
4314           src/backends/NetworkManagerSlackware.c
4315           src/backends/NetworkManagerSuSE.c
4316                 - (nm_system_device_get_system_config, nm_system_device_get_disabled
4317                    nm_system_device_free_system_config): remove; they were unused and
4318                         their functionality should be re-implemented in each distro's
4319                         system settings service plugin 
4320
4321         * src/nm-gsm-device.c
4322           src/nm-gsm-device.h
4323           src/nm-cdma-device.c
4324           src/nm-cdma-device.h
4325                 - (*_new): take the 'managed' argument
4326
4327         * src/nm-device.c
4328                 - (nm_device_set_address): remove, fold into nm_device_bring_up()
4329                 - (nm_device_init): start in unmanaged state, not disconnected
4330                 - (constructor): don't start device until the system settings service
4331                         has had a chance to figure out if the device is managed or not
4332                 - (nm_device_deactivate, nm_device_bring_up, nm_device_bring_down):
4333                         don't set device state here, let callers handle that as appropriate
4334                 - (nm_device_dispose): don't touch the device if it's not managed
4335                 - (set_property, get_property, nm_device_class_init): implement the
4336                         'managed' property
4337                 - (nm_device_state_changed): bring the device up if its now managed,
4338                         and deactivate it if it used to be active
4339                 - (nm_device_get_managed, nm_device_set_managed): do the right thing
4340                         with the managed state
4341
4342         * src/nm-hal-manager.c
4343                 - (wired_device_creator, wireless_device_creator, modem_device_creator):
4344                         take initial managed state and pass it along to device constructors
4345                 - (create_device_and_add_to_list): get managed state and pass to
4346                         type creators
4347
4348         * src/nm-device-802-11-wireless.c
4349                 - (real_can_activate): fold in most of
4350                         nm_device_802_11_wireless_can_activate()
4351                 - (can_scan): can't scan in UNAVAILABLE or UNMANAGED
4352                 - (link_timeout_cb): instead of deactivating, change device state and
4353                         let the device state handler to it
4354                 - (real_update_hw_address): clean up
4355                 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
4356                         handler to transition to DISCONNECTED if the device isn't rfkilled
4357
4358         * src/nm-device-802-3-ethernet.c
4359                 - (set_carrier): move above callers and get rid of prototype
4360                 - (device_state_changed): when entering UNAVAILABLE state, schedule an
4361                         idle handler to transition to DISCONNECTED if the device has a
4362                         carrier
4363                 - (real_update_hw_address): clean up
4364                 - (link_timeout_cb, ppp_state_changed): change state instead of calling
4365                         deactivation directly as deactivation doesn't change state anymore
4366
4367         * src/NetworkManagerPolicy.c
4368                 - (schedule_activate_check): yay, remove wireless_enabled hack since
4369                         the NMManager and wireless devices work that out themselves now
4370                 - (device_state_changed): change to a switch and update for new device
4371                         states
4372                 - (device_carrier_changed): remove; device handles this now through
4373                         state changes
4374                 - (device_added): don't care about carrier any more; the initial
4375                         activation check will happen when the device transitions to
4376                         DISCONNECTED
4377
4378         * src/nm-manager.c
4379                 - (dispose): clear unmanaged devices
4380                 - (handle_unmanaged_devices): update unmanaged device list and toggle
4381                         the managed property on each device when needed
4382                 - (system_settings_properties_changed_cb): handle signals from the
4383                         system settings service
4384                 - (system_settings_get_unmanaged_devices_cb): handle callback from
4385                         getting the unmanaged device list method call
4386                 - (query_unmanaged_devices): ask the system settings service for its
4387                         list of unmanaged devices
4388                 - (nm_manager_name_owner_changed, initial_get_connections): get unmanaged
4389                         devices
4390                 - (manager_set_wireless_enabled): push rfkill state down to wireless
4391                         devices directly and let them handle the necessary state transitions
4392                 - (manager_device_state_changed): update for new device states
4393                 - (nm_manager_add_device): set initial rfkill state on wireless devices
4394                 - (nm_manager_remove_device): don't touch the device if it's unmanaged
4395                 - (nm_manager_activate_connection): return error if the device is
4396                         unmanaged
4397                 - (nm_manager_sleep): handle new device states correctly; don't change
4398                         the state of unavailable/unmanaged devices
4399
4400         * libnm-glib/nm-device-802-11-wireless.c
4401                 - (state_changed_cb): update for new device states
4402
4403 2008-04-07  Dan Williams  <dcbw@redhat.com>
4404
4405         * marshallers/nm-marshal.list
4406                 - Add VOID:STRING,UINT marshaller for system settings HAL manager
4407
4408 2008-04-07  Dan Williams  <dcbw@redhat.com>
4409
4410         * system-settings/src/main.c
4411                 - (unmanaged_devices_changed_cb, register_plugin): proxy changes from
4412                         plugins to the dbus settings object
4413                 - (load_stuff): start the dbus service after grabbing unmanaged devices
4414                 - (dbus_reconnect, dbus_cleanup): make HAL manager aware of dbus events
4415                 - (log_handler, logging_setup, logging_shutdown): log output to syslog
4416                 - (main): switch default logging to syslog with a 'debug' option to
4417                         output to console; start up the HAL manager
4418
4419 2008-04-07  Dan Williams  <dcbw@redhat.com>
4420
4421         * introspection/nm-settings-system.xml
4422           introspection/Makefile.am
4423                 - Define the unmanaged devices interface for the system settings service
4424
4425         * system-settings/src/nm-system-config-hal-manager.c
4426           system-settings/src/nm-system-config-hal-manager.h
4427           system-settings/src/nm-system-config-hal-manager-private.h
4428           system-settings/src/Makefile.am
4429                 - Add a lightweight HAL manager object for tracking network devices for
4430                         the purpose of determining unmanaged devices and which devices need
4431                         the default DHCP connections
4432
4433         * system-settings/src/nm-system-config-interface.c
4434           system-settings/src/nm-system-config-interface.h
4435                 - (nm_system_config_interface_init): add the HAL manager as an argument
4436                 - (nm_system_config_interface_get_unmanaged_devices): implement
4437                 - Define 'unmanaged-devices-changed' signal
4438
4439         * system-settings/src/dbus-settings.c
4440           system-settings/src/dbus-settings.h
4441                 - Implement the unmanaged devices interface; some cleanups
4442
4443         * system-settings/plugins/ifcfg-suse/plugin.c
4444                 - Fixup for plugin interface changes
4445
4446         * system-settings/plugins/ifcfg-fedora/plugin.c
4447                 - (get_ether_device_udi): new function; find the device that has
4448                         a specified MAC address and return its UDI
4449                 - (get_udi_for_connection): new function; try to find the specific
4450                         device a connection is locked to, if any
4451                 - (device_added_cb, device_removed_cb): update unmanaged device list in
4452                         response to HAL events
4453                 - (get_unmanaged_devices): new function; return unmanaged device list
4454                 - (build_one_connection): set the connection's locked device, if any
4455                 - (write_auto_wired_connection): remove
4456                 - (kill_old_auto_wired_file): remove the ifcfg-Auto Wired file if found
4457                 - (handle_connection_changed): alert listeners that the unmanaged device
4458                         list has changed
4459                 - (init): fixup for plugin interface changes, implement unmanaged devices
4460
4461         * system-settings/plugins/ifcfg-fedora/parser.c
4462           system-settings/plugins/ifcfg-fedora/parser.h
4463                 - (connection_data_free): clean up connection UDI
4464
4465 2008-04-07  Dan Williams  <dcbw@redhat.com>
4466
4467         * system-settings/plugins/ifcfg-fedora/parser.c
4468                 - (make_ip4_setting): fix parsing of DNS servers
4469
4470 2008-04-05  Dan Williams  <dcbw@redhat.com>
4471
4472         * Makefile.am
4473           configure.in
4474           marshallers/Makefile.am
4475           marshallers/nm-marshal-main.c
4476           marshallers/nm-marshal.list
4477                 - Consolidate marshallers
4478
4479         * libnm-glib/nm-marshal-main.c
4480           libnm-glib/nm-marshal.list
4481           src/marshallers/Makefile.am
4482           src/marshallers/nm-marshal-main.c
4483           src/marshallers/nm-marshal.list
4484                 - Remove
4485
4486         * libnm-glib/Makefile.am
4487           src/Makefile.am
4488           src/dhcp-manager/Makefile.am
4489           src/ppp-manager/Makefile.am
4490           src/supplicant-manager/Makefile.am
4491           src/vpn-manager/Makefile.am
4492                 - Use consolidated marshallers
4493
4494 2008-04-04  Dan Williams  <dcbw@redhat.com>
4495
4496         * src/nm-hal-manager.c
4497           src/nm-hal-manager.h
4498                 - (hal_init): don't look for hardware here
4499                 - (nm_hal_manager_start): new function; look for hardware here instead,
4500                         which can be done at a later time than hal_init()
4501
4502         * src/NetworkManager.c
4503                 - (main): start HAL manager after entering the main loop
4504
4505 2008-04-03  Dan Williams  <dcbw@redhat.com>
4506
4507         * libnm-glib/nm-settings.c
4508           libnm-glib/nm-settings.h
4509             - (nm_exported_connection_get_id): new function
4510                 - (impl_exported_connection_get_id): use nm_exported_connection_get_id()
4511
4512 2008-04-02  Dan Williams  <dcbw@redhat.com>
4513
4514         * src/nm-device-interface.c
4515           src/nm-device-interface.h
4516           src/nm-device.c
4517           src/nm-device.h
4518                 - Rename check_connection_conflicts() to check_connection_compatible()
4519
4520         * src/nm-device-802-11-wireless.c
4521                 - (real_check_connection_conflicts): remove
4522                 - (real_check_connection_compatible): implement; match MAC address
4523
4524         * src/nm-device-802-3-ethernet.c
4525                 - (real_check_connection_conflicts): remove
4526                 - (real_check_connection_compatible): implement; match MAC address
4527                 - (real_get_best_auto_connection): correctly handle PPPoE cases
4528
4529         * src/nm-manager.c
4530                 - (check_connection_allowed): remove; unused until PolicyKit integration
4531                 - (internal_activate_device): check whether the connection is compatible
4532                         with the device before trying to activate it
4533
4534 2008-04-02  Dan Williams  <dcbw@redhat.com>
4535
4536         * system-settings/plugins/ifcfg-fedora/parser.c
4537                 - (read_mac_address): new function; read in MAC address and stuff it
4538                         into the connection
4539                 - (add_one_wep_key): remove debug spew
4540                 - (make_wireless_security_setting): validate the default TX key; don't
4541                         add the wireless-security setting if the connection doesn't need
4542                         security; don't leak the keys shvarFile on error cases
4543                 - (make_wireless_setting, make_wired_setting): populate device's MAC
4544                         address
4545
4546 2008-04-02  Dan Williams  <dcbw@redhat.com>
4547
4548         * libnm-util/nm-setting-connection.c
4549           libnm-util/nm-setting-connection.h
4550                 - (set_property, get_property, nm_setting_connection_class_init): remove
4551                         the 'lockdown' property; it's functionality will be replaced by
4552                         PolicyKit instead
4553
4554 2008-04-01  Dan Williams  <dcbw@redhat.com>
4555
4556         Patch from Per Øyvind Karlsen <peroyvind@mandriva.org>
4557
4558         * configure.in
4559           initscript/Makefile.am
4560           initscript/Mandriva/Makefile.am
4561           initscript/Mandriva/networkmanager.in
4562           initscript/Mandriva/networkmanagerdispatcher.in
4563           src/backends/Makefile.am
4564           src/backends/NetworkManagerMandriva.c
4565           system-settings/plugins/Makefile.am
4566                 - Add Mandriva support
4567
4568 2008-03-31  Dan Williams  <dcbw@redhat.com>
4569
4570         * src/vpn-manager/nm-vpn-service.c
4571                 - (nm_vpn_service_daemon_exec): add an error argument so that spawn
4572                         errors can be passed back to the caller; also no longer scheduled
4573                         as an idle handler, but called directly; and bump up VPN service
4574                         spawn timeout, 2s is really short
4575                 - (nm_vpn_service_activate): don't schedule the VPN service activation,
4576                         but call it directly so that errors are reported on return from
4577                         ActivateConnection() and don't get lost.  If scheduled as an idle
4578                         handler, clients don't have the time to query NM for the new VPN
4579                         connection's properties before the VPN connection is torn down again
4580                         if the service couldn't be launched, and therefore launch errors
4581                         get lost.
4582
4583 2008-03-31  Dan Williams  <dcbw@redhat.com>
4584
4585         * src/vpn-manager/nm-vpn-connection.c
4586                 - (device_state_changed): send correct state on device failure too
4587                 - (plugin_state_changed): failed state means unexpected disconnection,
4588                         thus if the service goes away while the VPN connection is activated
4589                         that's a failure too
4590
4591 2008-03-31  Dan Williams  <dcbw@redhat.com>
4592
4593         * src/vpn-manager/nm-vpn-manager.c
4594           src/vpn-manager/nm-vpn-manager.h
4595                 - Make VPNManager errors more available; add a service-start-failed error
4596
4597 2008-03-31  Dan Williams  <dcbw@redhat.com>
4598
4599         * libnm-glib/nm-client.c
4600           libnm-glib/nm-client.h
4601                 - (activate_cb): pass the new active connection to callback; fix
4602                         message when no callback is specified
4603
4604 2008-03-30  Dan Williams  <dcbw@redhat.com>
4605
4606         * libnm-util/nm-setting-wireless-security.c
4607                 - (need_secrets): only require key0 if the transmit key index is also
4608                         0
4609                 - (verify): reject non-NULL but zero-length WEP keys; these are invalid
4610
4611 2008-03-29  Dan Williams  <dcbw@redhat.com>
4612
4613         * libnm-util/nm-setting-8021x.c
4614           libnm-util/nm-setting-ip4-config.c
4615           libnm-util/nm-setting-vpn-properties.c
4616           libnm-util/nm-setting-vpn.c
4617           libnm-util/nm-setting-wireless-security.c
4618           libnm-util/nm-setting-wireless.c
4619           libnm-util/nm-utils.c
4620           src/dhcp-manager/nm-dhcp-manager.c
4621           src/nm-activation-request.c
4622           src/nm-ip4-config.c
4623           src/nm-manager.c
4624           src/nm-properties-changed-signal.c
4625           src/ppp-manager/nm-pppd-plugin.c
4626           src/supplicant-manager/nm-supplicant-interface.c
4627           src/vpn-manager/nm-vpn-connection.c
4628                 - consistently use nm-dbus-glib-types.h
4629
4630 2008-03-29  Dan Williams  <dcbw@redhat.com>
4631
4632         * src/vpn-manager/nm-vpn-connection.c
4633                 - (nm_vpn_connection_class_init): PROP_SPECIFIC_OBJECT should be boxed,
4634                         not string
4635
4636         * src/nm-activation-request.c
4637                 - (nm_act_request_class_init): PROP_SPECIFIC_OBJECT should be boxed,
4638                         not string
4639
4640 2008-03-29  Dan Williams  <dcbw@redhat.com>
4641
4642         * libnm-glib/nm-device-802-11-wireless.c
4643                 - (access_point_added_proxy): create new APs if not found
4644
4645 2008-03-29  Dan Williams  <dcbw@redhat.com>
4646
4647         * libnm-glib/nm-client.c
4648                 - (proxy_name_owner_changed): tell wireless devices about rfkill state
4649                         before freeing them
4650
4651 2008-03-29  Dan Williams  <dcbw@redhat.com>
4652
4653         * system-settings/plugins/ifcfg-fedora/parser.c
4654                 - Fix parsing of WEP keys; ifcfg files use indexes [1...4] rather than
4655                         [0...3]; also handle KEY correctly in combination with DEFAULTKEY
4656
4657 2008-03-29  Dan Williams  <dcbw@redhat.com>
4658
4659         * system-settings/plugins/ifcfg-fedora/parser.c
4660                 - (get_one_wep_key, make_wireless_security_setting): handle "KEY" too
4661
4662 2008-03-27  Dan Williams  <dcbw@redhat.com>
4663
4664         * nm-object.c
4665                 - (nm_object_queue_notify): don't notify multiple times for the same
4666                         property
4667
4668         * nm-object-private.h
4669                 - (handle_ptr_array_return): return NULL if the given array is NULL or
4670                         if it has zero elements
4671
4672         * nm-ip4-config.c
4673                 - (finalize): use g_ptr_array_foreach() when freeing domains
4674                 - (nm_ip4_config_get_domains): use handle_ptr_array_return()
4675
4676         * nm-active-connection.c
4677                 - (nm_active_connection_get_devices): use handle_ptr_array_return()
4678
4679         * nm-device-802-11-wireless.c
4680           nm-device-802-11-wireless.h
4681                 - (nm_device_802_11_wireless_get_access_points): return const; use
4682                         handle_ptr_array_return()
4683
4684         * nm-types.c
4685                 - (nm_object_array_demarshal): always create an array, even of length
4686                         zero, to distinguish between "NM returned no items" and "haven't
4687                         asked NM yet"
4688
4689         * nm-client.c
4690                 - (dispose): free active connections too
4691                 - (proxy_name_owner_changed): free active connections too when NM goes
4692                         away
4693                 - (nm_client_get_devices): return const; use handle_ptr_array_return()
4694                 - (nm_client_get_active_connections): use handle_ptr_array_return()
4695
4696 2008-03-26  Dan Williams  <dcbw@redhat.com>
4697
4698         Rework VPN connection handling for a more consistent D-Bus API.  The
4699         VPNManager object has been removed, and active VPN connections are now the
4700         same as any other active connection.  The Manager object's ActivateConnection
4701         and DeactivateConnection methods are used to start and stop a VPN connection,
4702         and the VPNConnection objects are subclasses of the ActiveConnection objects.
4703         When activating a VPN connection, pass the path of the active connection
4704         to which the VPN connection is tied in the 'specific_object' argument.
4705
4706         Consequently, the libnm-glib API has been reworked to match this arrangement,
4707         with the VPNManager object removed, and the NMVPNConnection objects now
4708         being subclasses of NMActiveConnection.
4709
4710 2008-03-25  Dan Williams  <dcbw@redhat.com>
4711
4712         Patch from Björn Martensen <bjoern.martensen@gmail.com>
4713
4714         * initscript/Arch/networkmanager.in
4715           initscript/Arch/networkmanager-dispatcher.in
4716                 - Updates for Arch Linux (gnome.org #523701)
4717
4718 2008-03-25  Dan Williams  <dcbw@redhat.com>
4719
4720         * libnm-glib/nm-ip4-config.c
4721           libnm-glib/nm-active-connection.c
4722           libnm-glib/nm-access-point.c
4723                 - Use nm_object_queue_notify() instead of g_object_notify()
4724
4725         * libnm-glib/nm-device.c
4726                 - (demarshal_ip4_config): distinguish between successful but missing
4727                         ip4-config request, and unsuccessful and missing ip4-config request
4728                 - (nm_device_get_ip4_config): don't try to demarshal a NULL ip4-config
4729                         path
4730                 - Use nm_object_queue_notify() instead of g_object_notify()
4731
4732         * libnm-glib/nm-device-802-11-wireless.c
4733                 - (demarshal_active_ap): distinguish between successfull but missing
4734                         active-ap request, and unsuccessful and missing active-ap request
4735                 - (dispose, clean_up_aps): consolidate AP list and active AP clearing
4736                         code
4737                 - (nm_device_802_11_wireless_set_wireless_enabled): add a private hook
4738                         for the NMClient to notify the device that wireless is disabled,
4739                         and therefore to clear the AP list and active AP
4740                 - Use nm_object_queue_notify() instead of g_object_notify()
4741
4742         * libnm-glib/nm-client.c
4743                 - (poke_wireless_devices_with_rf_status): new function
4744                 - (update_wireless_status): notify wireless devices of the rfkill status
4745                         so they can clean up if needed
4746                 - Use nm_object_queue_notify() instead of g_object_notify()
4747
4748 2008-03-25  Dan Williams  <dcbw@redhat.com>
4749
4750         * libnm-glib/nm-object.c
4751           libnm-glib/nm-object-private.h
4752                 - (nm_object_queue_notify): add helper to batch & postpone GObject notify
4753                         signals to an idle handler
4754                 - (nm_object_get_property): add a timeout to the D-Bus method call
4755
4756 2008-03-25  Dan Williams  <dcbw@redhat.com>
4757
4758         * introspection/nm-device-cdma.xml
4759           introspection/nm-device-gsm.xml
4760           introspection/Makefile.am
4761           introspection/all.xml
4762                 - Add introspection for CDMA and GSM devices for PropertiesChanged signal
4763
4764         * src/nm-gsm-device.h
4765           src/nm-gsm-device.c
4766           src/nm-cdma-device.h
4767           src/nm-cdma-device.c
4768           src/Makefile.am
4769                 - Implement PropertiesChanged signals
4770
4771         * libnm-glib/nm-cdma-device.c
4772           libnm-glib/nm-cdma-device.c
4773                 - Attach to PropertiesChanged signals
4774
4775 2008-03-24  Dan Williams  <dcbw@redhat.com>
4776
4777         * libnm-glib/nm-client.c
4778                 - (client_device_added_proxy): add new devices to the internal device
4779                         list so they appear to clients
4780
4781 2008-03-24  Dan Williams  <dcbw@redhat.com>
4782
4783         Massive fixup of libnm-glib to:
4784         a) have all objects (with the exception of VPN) cache their properties and
4785                 update them asynchronously on PropertiesChanged signals from NM
4786         b) return internal const data for most attributes/properties instead of
4787                 allocated values that the caller must free
4788         c) cache wrapped objects such that a given D-Bus path will always map to the
4789                 same GObject returned by libnm-glib
4790         d) remove a few signals and move them to GObject property notifications
4791         e) match recent NM D-Bus API changes for activation/deactivation
4792         f) remove some private functions from libnm-glib headers
4793
4794 2008-03-20  Dan Williams  <dcbw@redhat.com>
4795
4796         * src/nm-manager.c
4797                 - (nm_manager_update_state, manager_device_state_changed,
4798                    nm_manager_activate_device, connection_added_default_handler,
4799                    impl_manager_activate_connection, impl_manager_deactivate_connection):
4800                         queue PropertyChanged singals when the active connections change
4801
4802 2008-03-20  Dan Williams  <dcbw@redhat.com>
4803
4804         * introspection/nm-manager.xml
4805           introspection/nm-manager-client.xml
4806                 - (ActivateConnection): return the object path of the active connection
4807                         on success
4808                 - (GetActiveConnections): remove
4809                 - (DeactivateConnection): new function; deactivate a currently active
4810                         connection
4811                 - Add an ActiveConnections property which returns an array of
4812                         active connection object paths
4813
4814         * introspection/nm-device.xml
4815                 - (Deactivate): remove
4816
4817         * introspection/all.xml
4818                 - Add ActiveConnection introspection
4819
4820         * introspection/nm-active-connection.xml
4821                 - Add the ActiveConnection object
4822
4823         * include/NetworkManager.h
4824                 - Add the Connection.Active D-Bus interface
4825
4826         * src/nm-device-interface.c
4827                 - (impl_device_deactivate): remove
4828
4829         * src/nm-activation-request.c
4830           src/nm-activation-request.c
4831           src/Makefile.am
4832                 - Implement the Connection.Active D-Bus interface
4833
4834         * src/nm-manager.c
4835                 - (get_property, nm_manager_class_init): add ACTIVE_CONNECTIONS property
4836                 - (nm_manager_activate_device): return the active connection path
4837                 - (connection_added_default_handler, impl_manager_activate_connection):
4838                         return the active connection to the caller
4839                 - (add_one_connection_element, impl_manager_get_active_connections):
4840                         remove
4841                 - (impl_manager_deactivate_connection): new function; deactivate an
4842                         active connection
4843
4844         * libnm-glib/nm-device.c
4845           libnm-glib/nm-device.h
4846                 - Remove Deactivate() function
4847
4848 2008-03-19  Dan Williams  <dcbw@redhat.com>
4849
4850         * introspection/nm-manager.xml
4851           introspection/nm-manager-client.xml
4852                 - Rename the ActivateDevice method to ActivateConnection to better
4853                         reflect it's usage; it's arguments get reordered a bit too
4854                 - Convert GetActiveConnections method return from a struct to a dict
4855
4856         * include/NetworkManager.h
4857                 - Define the dict keys for return value of GetActiveConnections
4858
4859         * src/nm-manager.c
4860                 - impl_manager_activate_device -> impl_manager_activate_connection
4861                 - (add_one_connection_element): return a populated hash table, not
4862                         a structure
4863
4864         * libnm-glib/nm-client.c
4865           libnm-glib/nm-client.h
4866                 - nm_client_activate_device -> nm_client_activate_connection
4867                 - nm_client_free_active_connection_element -> nm_client_free_active_connections_element
4868                 - (nm_client_get_active_connections): return a GSList of GHashTables,
4869                         instead of the custom structures.  Each element of the returned list
4870                         must be freed with nm_client_free_active_connections_element()
4871
4872 2008-03-18  Dan Williams  <dcbw@redhat.com>
4873
4874         * system-settings/plugins/ifcfg-fedora/parser.c
4875           system-settings/plugins/ifcfg-fedora/parser.h
4876           system-settings/plugins/ifcfg-fedora/plugin.c
4877                 - Read settings from /etc/sysconfig/network-scripts/ instead of using
4878                         profiles.  DNS servers and searches must now be stored in the ifcfg
4879                         files themselves
4880
4881 2008-03-18  Tambet Ingo  <tambet@gmail.com>
4882
4883         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Don't
4884         print out username and password, it's supposed to be a secret.
4885
4886         * src/nm-device-802-3-ethernet.c (ppp_state_changed): Handle authentication 
4887         request and set the device state accordingly.
4888
4889 2008-03-18  Tambet Ingo  <tambet@gmail.com>
4890
4891         * src/nm-device-802-3-ethernet.c: Implement wired 802.1x authentication.
4892
4893         * libnm-util/nm-setting-wireless-security.h: Fix a typo.
4894
4895 2008-03-18  Dan Williams  <dcbw@redhat.com>
4896
4897         * src/vpn-manager/nm-vpn-connection.c
4898                 - (get_secrets_cb): handle new GetSecrets return format
4899
4900 2008-03-18  Dan Williams  <dcbw@redhat.com>
4901
4902         Adapt system settings service for split 802.1x.
4903
4904         * system-settings/src/nm-system-config-interface.h
4905                 - clarify return value of get_secrets()
4906
4907         * system-settings/src/dbus-settings.c
4908                 - (string_to_gvalue, destroy_gvalue, add_one_secret_to_hash): remove
4909                 - (check_for_secrets): check if there actually secrets returned by a
4910                         plugin
4911                 - (exported_connection_get_secrets): just return the plugin-returned
4912                         hash of settings' secrets if it looks valid
4913
4914         * system-settings/plugins/ifcfg-fedora/plugin.c
4915                 - (get_secrets): add split secrets with correct format to reply hash
4916
4917         * system-settings/plugins/ifcfg-fedora/parser.c
4918           system-settings/plugins/ifcfg-fedora/parser.h
4919                 - (copy_one_cdata_secret, connection_data_copy_secrets,
4920                    connection_data_free, connection_data_add): keep secrets for
4921                         different settings in different hashes
4922
4923 2008-03-17  Tambet Ingo  <tambet@gmail.com>
4924
4925         Clean up activating device deactivation.
4926
4927         * src/nm-device.c (real_activation_cancel_handler): Remove. The same thing
4928         should be done whether the device activation gets cancelled or the device
4929         is just getting deactivated.
4930         (nm_device_activation_cancel): Remove.
4931         (nm_device_deactivate_quickly): Handle the case where device is activating.
4932
4933         * src/nm-device-802-11-wireless.c (real_activation_cancel_handler): Remove.
4934         It does the exact same thing as real_deactivate_quickly().
4935
4936 2008-03-17  Dan Williams  <dcbw@redhat.com>
4937
4938         Split the 802.1x bits out of the wireless-security setting so they are
4939         generalized enough for wired 802.1x to use too.
4940
4941         * introspection/nm-exported-connection.xml
4942                 - GetSecrets now returns 'a{sa{sv}}' (a hash of settings hashes) instead
4943                         of just a hash of the secrets for one setting
4944
4945         * libnm-util/nm-setting-wireless-security.c
4946           libnm-util/nm-setting-wireless-security.h
4947                 - Remove 802.1x-specific stuff
4948                 - Added leap-username and leap-password properties for old-school LEAP
4949
4950         * src/nm-device.c
4951           src/nm-device.h
4952                 - (connection_secrets_updated_cb): take a list of updated settings names,
4953                         not just one
4954
4955         * src/supplicant-manager/nm-supplicant-config.c
4956           src/supplicant-manager/nm-supplicant-config.h
4957                 - (nm_supplicant_config_add_setting_wireless_security): remove 802.1x
4958                         specific stuff; fix for updated LEAP bits; punt 802.1x stuff
4959                         to nm_supplicant_config_add_setting_8021x()
4960                 - (nm_supplicant_config_add_setting_8021x): add an 802-1x setting to
4961                         the supplicant config
4962
4963         * src/nm-device-802-11-wireless.c
4964                 - (build_supplicant_config): pass in the 802.1x setting too, if any
4965                 - (real_connection_secrets_updated): take a list of updated settings
4966                         names, not just one
4967
4968         * src/nm-device-802-3-ethernet.c
4969           src/nm-cdma-device.c
4970           src/nm-gsm-device.c
4971                 - (real_connection_secrets_updated_cb): take a list of updated settings
4972                         names, not just one
4973
4974         * src/nm-activation-request.c
4975           src/nm-activation-request.h
4976                 - (nm_act_request_class_init): the 'connection-secrets-updated' signal
4977                         now passes a list of updated settings names, not just one
4978                 - (update_one_setting): new function; handle one updated setting
4979                 - (get_secrets_cb): handle multiple settings returned from the
4980                         settings service; have to be careful of ordering here as there are
4981                         some dependencies between settings (ex. wireless-security and 802.1x
4982                         in some cases)
4983
4984         * src/marshallers/nm-marshal.list
4985                 - new marshaller for connection-secrets-updated signal
4986
4987         * libnm-util/nm-setting-8021x.c
4988                 - Add back the 'pin' and 'psk' settings, for EAP-SIM and EAP-PSK auth
4989                         methods
4990                 - (verify): a valid 'eap' property is now required
4991
4992         * libnm-util/nm-connection.c
4993                 - (register_default_settings): add priorities to settings; there are
4994                         some dependencies between settings, and during the need_secrets
4995                         calls this priority needs to be respected.  For example, only the
4996                         wireless-security setting knows whether or not the connection is
4997                         going to use 802.1x or now, so it must be asked for secrets before
4998                         any existing 802.1x setting is
4999                 - (nm_connection_lookup_setting_type): expose
5000
5001         * libnm-util/nm-setting-wireless.c
5002                 - (verify): should verify even if all_settings is NULL; otherwise won't
5003                         catch the case where there is missing security
5004
5005         * libnm-util/nm-setting-wireless-security.c
5006                 - Remove everything to do with 802.1x
5007                 - Add old-school LEAP specific properties for username and password
5008                 - (need_secrets): rework LEAP secrets checking
5009                 - (verify): rework for LEAP and 802.1x verification
5010
5011 2008-03-17  Dan Williams  <dcbw@redhat.com>
5012
5013         * src/NetworkManagerPolicy.c
5014                 - (auto_activate_device): always remove the current activation check
5015                         from the pending activation list, otherwise when the policy gets
5016                         destroyed on NM exit it will attempt to free the already freed
5017                         activation check
5018
5019 2008-03-14  Tambet Ingo  <tambet@gmail.com>
5020
5021         * src/backends/NetworkManagerSlackware.c 
5022         (nm_system_device_setup_static_ip4_config): Remove, it's unused.
5023
5024         * src/backends/NetworkManagerSuSE.c: Add missing includes.
5025
5026 2008-03-14  Dan Williams  <dcbw@redhat.com>
5027
5028         * src/nm-manager.c
5029                 - (nm_device_interface_get_iface): g_object_get() will return an
5030                         allocated value, so this function must not return const
5031                 - (nm_device_interface_activate): free returned iface
5032
5033 2008-03-14  Tambet Ingo  <tambet@gmail.com>
5034
5035         * libnm-util/Makefile.am: Add new files to build.
5036
5037         * libnm-util/nm-connection.c: Register NMSetting8021x.
5038
5039         * libnm-util/nm-setting-8021x.c
5040         * libnm-util/nm-setting-8021x.h: Implement.
5041
5042 2008-03-14  Tambet Ingo  <tambet@gmail.com>
5043
5044         * libnm-util/Makefile.am: Add new files to build.
5045
5046         * libnm-util/nm-connection.c: Register NMSetting8021x.
5047
5048         * libnm-util/nm-setting-8021x.c
5049         * libnm-util/nm-setting-8021x.h: Implement.
5050
5051 2008-03-14  Tambet Ingo  <tambet@gmail.com>
5052
5053         * src/NetworkManagerPolicy.c (auto_activate_device): Don't leak device and
5054         data.
5055
5056 2008-03-14  Dan Williams  <dcbw@redhat.com>
5057
5058         * include/wireless-helper.h
5059           include/Makefile.am
5060                 - One place for all the junk needed for #including wireless.h
5061
5062         * test/nm-tool.c
5063           src/NetworkManagerAP.c
5064           src/wpa.c
5065           src/Makefile.am
5066           libnm-util/nm-utils.c
5067           libnm-util/nm-setting-wireless.c
5068           libnm-glib/nm-device-802-11-wireless.c
5069           libnm-glib/nm-access-point.c
5070           libnm-glib/libnm-glib-test.c
5071                 - include wireless-helper.h, not iwlib.h
5072
5073         * configure.in
5074                 - Don't need libiw really, just need to check for wireless.h
5075
5076         * src/kernel-types.h
5077                 - Remove; used types moved into wpa.c
5078
5079         * src/nm-device-802-11-wireless.c
5080                 - (nm_device_802_11_wireless_update_signal_strength,
5081                    real_get_generic_capabilities, nm_device_802_11_wireless_get_mode,
5082                    nm_device_802_11_wireless_set_mode,
5083                    nm_device_802_11_wireless_get_frequency,
5084                    nm_device_802_11_wireless_get_ssid,
5085                    nm_device_802_11_wireless_set_ssid,
5086                    nm_device_802_11_wireless_get_bitrate,
5087                    nm_device_802_11_wireless_get_bssid,
5088                    nm_device_802_11_wireless_disable_encryption): use ioctl() directly
5089                         instead of iwlib functions
5090
5091 2008-03-14  Dan Williams  <dcbw@redhat.com>
5092
5093         * src/ppp-manager/nm-ppp-manager.c
5094                 - (impl_ppp_manager_need_secrets): since it's asynchronous now, it
5095                         should only take the DBusGMethodInvocation argument, not user/pass
5096                         too.  With dbus-glib, async functions only take 2 C arguments since
5097                         the real dbus method arguments get passed back with
5098                         dbus_g_method_return()
5099
5100 2008-03-13  Tambet Ingo  <tambet@gmail.com>
5101
5102         * system-settings/plugins/ifcfg-suse/plugin.c (update_default_routes): 
5103         Adapt the changes of NMSettingIP4Config.
5104
5105 2008-03-13  Dan Williams  <dcbw@redhat.com>
5106
5107         * src/NetworkManagerUtils.c
5108           src/NetworkManagerUtils.h
5109                 - (nm_ether_ntop): replacement for iw_ether_ntop()
5110
5111         * src/NetworkManagerAP.c
5112           src/nm-device-802-11-wireless.c
5113           src/nm-device-802-3-ethernet.c
5114                 - s/iw_ether_ntop/nm_ether_ntop/g
5115
5116 2008-03-13  Dan Williams  <dcbw@redhat.com>
5117
5118         * src/NetworkManagerPolicy.c
5119                 - (update_routing_and_dns): never set the default route through an
5120                         IPv4LL addressed device
5121
5122 2008-03-13  Dan Williams  <dcbw@redhat.com>
5123
5124         * NetworkManagerUtils.c
5125           NetworkManagerUtils.h
5126                 - Remove NMSock stuff
5127                 - Remove the completion stuff
5128
5129         * nm-device.c
5130           nm-device.h
5131           NetworkManager.c
5132           NetworkManagerSystem.c
5133           autoip.c
5134           nm-device-802-11-wireless.c
5135           nm-device-802-3-ethernet.c
5136                 - Remove NMSock and completion stuff
5137                 - Remove nm_ioctl_info()
5138
5139 2008-03-12  Dan Williams  <dcbw@redhat.com>
5140
5141         * src/nm-device.c
5142                 - (merge_ip4_config): avoid duplicates
5143
5144 2008-03-12  Dan Williams  <dcbw@redhat.com>
5145
5146         * libnm-util/nm-setting-ip4-config.c
5147           libnm-util/nm-setting-ip4-config.h
5148                 - Remove 'manual' and 'autoip' properties
5149                 - Add 'method' property
5150                 - (verify): fix verification with 'method'
5151                 - (finalize): free 'method'
5152                 - (set_property, get_property, nm_setting_ip4_config_class_init): fix
5153                         up for 'method'
5154
5155         * src/nm-device.c
5156                 - (real_act_stage3_ip_config_start): check IP4Config method
5157                 - (nm_device_new_ip4_autoip_config): add a note about not sucking in
5158                         the future
5159                 - (merge_ip4_config): IP settings are valid with DHCP too
5160                 - (real_act_stage4_get_ip4_config): handle all IP4Config methods
5161                 - (real_act_stage4_ip_config_timeout): don't do autoip on DHCP timeout
5162
5163         * src/nm-device-802-11-wireless.c
5164                 - (real_act_stage3_ip_config_start): remove; autoip only on demand
5165                 - (real_act_stage4_get_ip4_config): just chain up to parent; autoip
5166                         only on demand
5167
5168         * system-settings/plugins/ifcfg-fedora/parser.c
5169           system-settings/plugins/ifcfg-suse/parser.c
5170                 - (make_ip4_setting): fix up for 'method'
5171
5172 2008-03-12  Dan Williams  <dcbw@redhat.com>
5173
5174         * system-settings/plugins/ifcfg-fedora/parser.c
5175           system-settings/plugins/ifcfg-fedora/parser.h
5176                 - (get_ifcfg_name): ignore more file suffixes
5177                 - (is_wireless_device): fix check for ifcfgs that have no TYPE
5178
5179 2008-03-12  Dan Williams  <dcbw@redhat.com>
5180
5181         * configure.in
5182                 - Bring in the bits of gnome-common we actually use (all 15 lines)
5183
5184 2008-03-12  Dan Williams  <dcbw@redhat.com>
5185
5186         * system-settings/plugins/ifcfg-fedora/plugin.c
5187                 - (write_auto_wired_connection): new function; write out an auto
5188                         wired connection file since the applet isn't doing it any more
5189                 - (reload_all_connections): write out the auto wired connection file
5190                         if there aren't any wired connections already
5191                 - (init): don't leak a GError
5192
5193 2008-03-12  Dan Williams  <dcbw@redhat.com>
5194
5195         * src/nm-device-interface.c
5196                 - (nm_device_interface_activate): print the ID of the connection
5197                         that's about to be activated
5198
5199 2008-03-12  Dan Williams  <dcbw@redhat.com>
5200
5201         Harmonize the 802.11 bitrate API
5202
5203         * introspection/nm-access-point.xml
5204                 - 'Rate' -> 'MaxBitrate'; clarify units
5205
5206         * introspection/nm-device-802-11-wireless.xml
5207                 - Clarify units of 'Bitrate'
5208
5209         * src/NetworkManagerAP.c
5210           src/NetworkManagerAP.h
5211                 - (set_property, get_property, nm_ap_class_init): rename 'rate'
5212                         property to 'max-bitrate'
5213                 - (foreach_property_cb): convert rate to Kb/s
5214
5215         * src/nm-device-802-11-wireless.c
5216                 - (nm_device_802_11_wireless_get_bitrate): return rate in Kb/s
5217
5218         * libnm-glib/nm-access-point.c
5219           libnm-glib/nm-access-point.h
5220                 - 'rate' -> 'max-bitrate'
5221
5222         * test/nm-tool.c
5223           libnm-glib/libnm-glib-test.c
5224                 - Fix up for these changes
5225
5226 2008-03-12  Dan Williams  <dcbw@redhat.com>
5227
5228         * src/nm-device.c
5229                 - (nm_device_set_ip4_config): don't send property notifications when
5230                         the ip4 config is set to NULL; it causes a PropertyChanged signal
5231                         which dbus-glib can't parse because the value is NULL, which isn't
5232                         a legal object path.  Setting the IP4 config to NULL is only
5233                         valid when deactivating a device anyway, so the device state change
5234                         will alert listeners that the ip4 config is invalid.
5235
5236 2008-03-12  Dan Williams  <dcbw@redhat.com>
5237
5238         * src/nm-properties-changed-signal.c
5239                 - (add_to_string): better handling of NULL objects
5240
5241 2008-03-12  Dan Williams  <dcbw@redhat.com>
5242
5243         Move the 'carrier' property from NMDevice to NMDevice8023Ethernet;
5244         convert the libnm-glib NMDevice8023Ethernet to cached properties
5245
5246         * introspection/nm-device-802-3-ethernet.xml
5247                 - New 'Carrier' property
5248                 - New 'PropertiesChanged' signal
5249
5250         * introspection/nm-device.xml
5251                 - Remove 'Carrier' property
5252                 - Remove 'CarrierChanged' signal
5253
5254         * src/nm-device-interface.c
5255           src/nm-device-interface.h
5256                 - (nm_device_interface_init): remove 'carrier' property and
5257                         'carrier-changed' signal
5258
5259         * src/nm-device.c
5260           src/nm-device.h
5261                 - (nm_device_get_carrier, nm_device_set_carrier): remove
5262                 - (nm_device_activate_stage5_ip_config_commit): don't bother updating
5263                         the link here; wired device will handle that
5264                 - (handle_dhcp_lease_change): don't bother updating link here
5265                 - (get_property, nm_device_class_init): remove carrier property
5266
5267         * src/nm-device-802-11-wireless.c
5268                 - (real_update_link, nm_device_802_11_wireless_class_init): remove
5269                         real_update_link(); wireless devices don't use carrier at all
5270                 - (link_timeout_cb, supplicant_iface_state_cb_handler,
5271                    supplicant_iface_connection_state_cb_handler,
5272                    supplicant_mgr_state_cb_handler): remove anything to do with carrier
5273
5274         * src/nm-device-802-3-ethernet.c
5275           src/nm-device-802-3-ethernet.h
5276                 - (nm_device_802_3_ethernet_carrier_on,
5277                    nm_device_802_3_ethernet_carrier_off, constructor): use set_carrier()
5278                         instead of nm_device_set_carrier()
5279                 - (device_state_changed): update link from sysfs on activation;
5280                         replaces real_update_link()
5281                 - (real_update_link): remove, replaced by device_state_changed()
5282                 - (nm_device_802_3_ethernet_get_carrier, set_carrier): new functions
5283                 - (nm_device_802_3_ethernet_get_speed): move up with other getters/setters
5284                 - (real_get_generic_capabilities, real_can_interrupt_activation): use
5285                         new get_carrier function
5286                 - (get_property): add 'carrier' property
5287                 - (nm_device_802_3_ethernet_class_init): add 'carrier' property and
5288                         hook into property-changed signal helper
5289
5290         * src/NetworkManagerPolicy.c
5291                 - (device_carrier_changed): will only ever be called with a wired device
5292                 - (device_added): only hook up to carrier-changed for wired devices
5293
5294         * libnm-glib/nm-device.c
5295           libnm-glib/nm-device.h
5296                 - (constructor, nm_device_class_init): remove carrier-changed signal
5297                 - (device_carrier_changed_proxy): remove; unused
5298                 - (nm_device_get_carrier): remove; carrier a property of wired devices
5299
5300         * libnm-glib/nm-device-802-3-ethernet.c
5301           libnm-glib/nm-device-802-3-ethernet.h
5302                 - Convert to cached properties like AP and Wireless objects
5303                 - (nm_device_802_3_ethernet_get_hw_address): now returns a 'const char *'
5304                         instead of a 'char *', return value should not be freed
5305                 - (nm_device_802_3_ethernet_get_carrier): return current carrier status
5306                 - (constructor): hook into properties-changed helper
5307                 - (set_property, get_property): new functions
5308                 - (nm_device_802_3_ethernet_class_init): export GObject properties
5309
5310         * test/nm-tool.c
5311                 - (detail_device): strdup the wired hardware address too since it's
5312                         cached now
5313
5314         * libnm-glib/libnm-glib-test.c
5315                 - (dump_wired): strdup the wired hardware address too since it's
5316                         cached now
5317
5318 2008-03-12  Dan Williams  <dcbw@redhat.com>
5319
5320         * libnm-util/nm-setting-ip4-config.c
5321           libnm-util/nm-setting-ip4-config.h
5322                 - (set_property, get_property, nm_setting_ip4_config_class_init): add
5323                         the 'autoip' property from the spec
5324
5325 2008-03-11  Dan Williams  <dcbw@redhat.com>
5326
5327         * src/backends/NetworkManagerGeneric.c
5328           src/backends/NetworkManagerGeneric.h
5329                 - (nm_generic_device_get_use_dhcp): remove
5330
5331 2008-03-11  Dan Williams  <dcbw@redhat.com>
5332
5333         * src/nm-device.c
5334                 - (nm_device_deactivate): don't need to munge DNS here; that gets done
5335                         already in nm_device_set_ip4_config()
5336                 - (handle_dhcp_lease_change): fail the device if setting the IP4Config
5337                         due to a DHCP rebind fails
5338                 - (nm_device_set_ip4_config): send property notifications when the
5339                         ip4 config changes
5340                 - (get_property): only report IP4Config property during valid states
5341
5342         * src/NetworkManagerPolicy.c
5343                 - (update_routing_and_dns): ignore devices that don't have an ip4
5344                         config; add parameter 'force_update' to allow callers to specify
5345                         that changes should be made even if the default device doesn't change
5346                 - (device_ip4_config_changed): update DNS and routing when the device's
5347                         IP4Config changes, like for DHCP updates
5348                 - (device_added): listen for ip4-config property changes
5349
5350 2008-03-11  Dan Williams  <dcbw@redhat.com>
5351
5352         Fix address handling as a result of DHCP rebind/renew/reboot.
5353
5354         * src/NetworkManagerSystem.c
5355                 - (check_one_address): delete an address if it doesn't match a given
5356                         one for the same interface
5357                 - (nm_system_device_set_from_ip4_config): don't flush the default route,
5358                         be smarter about flushing addresses (only flush ones that don't
5359                         match the one we're about to apply)
5360
5361         * src/backends/NetworkManagerDebian.c
5362           src/backends/NetworkManagerSuSE.c
5363           src/backends/NetworkManagerArch.c
5364           src/backends/NetworkManagerSlackware.c
5365           src/backends/NetworkManagerRedHat.c
5366           src/backends/NetworkManagerPaldo.c
5367           src/backends/NetworkManagerFrugalware.c
5368           src/backends/NetworkManagerGentoo.c
5369                 - (nm_system_delete_default_route): remove
5370
5371         * src/backends/NetworkManagerGeneric.c
5372           src/backends/NetworkManagerGeneric.h
5373                 - (nm_generic_enable_loopback): fix the loopback device label
5374                 - (nm_generic_delete_default_route): remove; no longer used
5375
5376 2008-03-11  Dan Williams  <dcbw@redhat.com>
5377
5378         * src/nm-device-interface.h
5379                 - Delimit property name words with '-', otherwise g_object_notify()
5380                         doesn't work the way we expect
5381
5382 2008-03-11  Tambet Ingo  <tambet@gmail.com>
5383
5384         * src/nm-hal-manager.c (create_device_and_add_to_list): Don't ignore USB devices.
5385
5386 2008-03-11  Dan Williams  <dcbw@redhat.com>
5387
5388         * src/NetworkManagerPolicy.c
5389                 - (update_routing_and_dns): don't change anything if the default device
5390                         hasn't changed; print something out when switching the default route
5391                         and DNS
5392
5393 2008-03-10  Tambet Ingo  <tambet@gmail.com>
5394
5395         Implement PPPoE.
5396
5397         * src/ppp-manager/nm-ppp-manager.c (create_pppd_cmd_line): Use PPPoE service
5398         setting. Use "nic-$eth".
5399
5400         * src/NetworkManagerPolicy.c (auto_activate_device): Move the check of whether
5401         the device is activating here to fix a race condition.
5402
5403         * src/ppp-manager/nm-pppd-plugin.c (get_credentials): Implement.
5404
5405         * src/ppp-manager/nm-ppp-manager.c (impl_ppp_manager_need_secrets): Implement.
5406         (ppp_watch_cb): Emit a signal to notify pppd is not running anymore.
5407         (nm_ppp_manager_start): Take activation request instead of connection, we might
5408         need it for asking secrets.
5409         (nm_ppp_manager_update_secrets): Implement.
5410
5411         * src/nm-serial-device.c (real_act_stage2_config): Send activation request to
5412         ppp manager start. It might be needed for asking secrets.
5413
5414         * src/nm-device-802-3-ethernet.c (real_connection_secrets_updated): Implement.
5415         (ppp_state_changed): Handle pppd daemon disappearing.
5416         (pppoe_stage2_config): Send activation request to ppp manager start.
5417
5418         * libnm-util/nm-setting-pppoe.c (nm_setting_pppoe_class_init): Fix a typo.
5419
5420         * introspection/nm-ppp-manager.xml: Make NeedSecrets method async, return only
5421         username and password.
5422         
5423 2008-03-10  Dan Williams  <dcbw@redhat.com>
5424
5425         * src/nm-device.c
5426                 - (handle_dhcp_lease_change): apply an IP4 config to a device in
5427                         response to a DHCP lease change
5428                 - (dhcp_state_changed): handle DHCP lease changes while activated
5429                 - (nm_device_set_ip4_config): remove a previously set named config
5430                         when setting an ip4 config
5431
5432 2008-03-10  Dan Williams  <dcbw@redhat.com>
5433
5434         * src/nm-serial-device.c
5435                 - (nm_serial_device_send_command): report errno on error
5436                 - (get_reply_got_data): limit the size of the overall buffer
5437                 - (wait_for_reply_info_destroy): destroy result string
5438                 - (wait_for_reply_got_data): append received data to an overall buffer
5439                         until timeout, filled buffer, or error instead of keeping a per-call
5440                         buffer.  Some devices send data slowly enough that this function
5441                         gets called multiple times for the same command stream.
5442                 - (nm_serial_device_wait_for_reply): initialize overall buffer for
5443                         wait_for_reply_got_data() here
5444
5445 2008-03-10  Dan Williams  <dcbw@redhat.com>
5446
5447         * src/nm-cdma-device.c
5448                 - (do_dial, init_modem): handle errors from
5449                         nm_serial_device_send_command_string()
5450
5451         * src/nm-gsm-device.c
5452                 - (do_dial, manual_registration, automatic_registration_get_network,
5453                    automatic_registration, enter_pin, check_pin, init_modem): handle
5454                         errors from nm_serial_device_send_command_string()
5455
5456 2008-03-10  Dan Williams  <dcbw@redhat.com>
5457
5458         Patch based on ideas suggested by Bas Zoetekouw <bas@debian.org>
5459
5460         * src/named-manager/nm-named-manager.c
5461                 - (compute_searches): prefer searches before domains
5462                 - (compute_domain): new function
5463                 - (rewrite_resolv_conf): write out the 'domain' and 'searches' options
5464                 - (merge_one_ip4_config): if there are no searches in the source config,
5465                         merge domains of the source config into the target config
5466                 - (compute_nameservers): make formatting of resolv.conf a bit nicer
5467
5468 2008-03-10  Dan Williams  <dcbw@redhat.com>
5469
5470         * src/nm-serial-device.c
5471                 - (get_reply_got_data): clean up indentation, shrink serial buffer
5472                 - (wait_for_reply_got_data): try to handle slower serial devices where
5473                         the reply is broken up into multiple reads by concatenating replies
5474                         together until either an error is received or the search string is
5475                         found
5476
5477 2008-03-10  Dan Williams  <dcbw@redhat.com>
5478
5479         * src/nm-device.c
5480                 - (nm_device_bring_down): deactivate the device if it's activating too,
5481                         not just if it's already activated.  This makes sure that everything
5482                         from an association attempt is cleaned up (like DHCP for example)
5483
5484 2008-03-10  Dan Williams  <dcbw@redhat.com>
5485
5486         * src/nm-serial-device.c
5487                 - (config_fd): report error from TCSETA
5488                 - (nm_serial_device_open): fail when config_fd() fails
5489
5490 2008-03-10  Dan Williams  <dcbw@redhat.com>
5491
5492         * src/nm-ip4-config.c
5493                 - (nm_ip4_config_init): allocate searches list
5494                 - (finalize): free searches list
5495
5496 2008-03-09  Dan Williams  <dcbw@redhat.com>
5497
5498         Patch from Bas Zoetekouw <bas@debian.org>
5499
5500         * src/dhcp-manager/nm-dhcp-manager.c
5501                 - (nm_dhcp_manager_get_ip4_config): handle domain-search option too
5502
5503 2008-03-09  Dan Williams  <dcbw@redhat.com>
5504
5505         Patch from Bas Zoetekouw <bas@debian.org>
5506
5507         * src/nm-ip4-config.c
5508           src/nm-ip4-config.h
5509                 - (nm_ip4_config_add_search, nm_ip4_config_get_search,
5510                    nm_ip4_config_get_num_searches): add 'searches' as distinct from
5511                         domains.  'searches' is the correct way to store multiple search
5512                         domains, whereas 'domains' is really just supposed to store one
5513                         domain.  Some sites abuse the DHCP 'domain-name' option to push
5514                         search domains to the client.
5515                 - (nm_ip4_config_add_domain): group with related functions (my patch)
5516
5517 2008-03-09  Dan Williams  <dcbw@redhat.com>
5518
5519         * src/dhcp-manager/nm-dhcp-manager.c
5520                 - (dhclient_run): send interface-specific config files to dhclient
5521
5522 2008-03-07  Dan Williams  <dcbw@redhat.com>
5523
5524         * system-settings/plugins/ifcfg-fedora/parser.c
5525                 - (is_wireless_device): new function; test a device for wireless
5526                         extensions
5527                 - (parser_parse_file): if the ifcfg file doesn't have a TYPE tag,
5528                         test the device for wireless extensions to determine the type
5529
5530 2008-03-07  Dan Williams  <dcbw@redhat.com>
5531
5532         Change manager's StateChange signal to StateChanged for consistency.
5533
5534         * introspection/nm-manager.xml
5535                 - Add 'StateChanged' signal
5536                 - Move 'StateChange' down to the deprecated section
5537
5538         * src/nm-hal-manager.c
5539                 - (nm_hal_manager_new): connect to 'state-changed' instead
5540
5541         * src/NetworkManagerPolicy.c
5542                 - (nm_policy_new): connect to 'state-changed' instead
5543
5544         * src/nm-manager.c
5545           src/nm-manager.h
5546                 - (nm_manager_update_state): emit both 'state-changed' and 'state-change'
5547                 - (nm_manager_class_init): add 'state-changed' and not the deprecation
5548                         of 'state-change'
5549
5550         * libnm-glib/nm-client.c
5551           libnm-glib/nm-client.h
5552                 - (constructor, nm_client_class_init, client_state_changed_proxy):
5553                         track and proxy 'state-changed' instead of 'state-change'
5554
5555 2008-03-07  Dan Williams  <dcbw@redhat.com>
5556
5557         First pass of multiple active device support.  Expect bugs.
5558
5559         * src/nm-ip4-config.c
5560           src/nm-ip4-config.h
5561                 - (nm_ip4_config_get_secondary, nm_ip4_config_set_secondary): remove;
5562                         there are better ways to do this in the named manager
5563
5564         * src/nm-device.c
5565           src/nm-device.h
5566                 - (nm_device_can_activate): return whether the device can activate a
5567                         connection right now; taking into account things like carrier state
5568                         and rfkill state
5569                 - (nm_device_get_best_auto_connection): renamed from
5570                         nm_device_get_best_connection
5571                 - (real_act_stage4_get_ip4_config): MTU stuff is now handled in the
5572                         device subclasses themselves, so that each device can override the
5573                         MTU from it's NMSetting subclass if needed
5574                 - (nm_device_set_ip4_config): set MTU when setting up routes and stuff
5575                         in NetworkManagerSystem.c, not here
5576
5577         * src/named-manager/nm-named-manager.c
5578           src/named-manager/nm-named-manager.h
5579                 - (nm_named_manager_name_owner_changed,
5580                    nm_named_manager_dbus_connection_changed): fix for changes to
5581                         rewrite_resolv_conf()
5582                 - (compute_nameservers): don't need the NMNamedManager at all, remove
5583                         from parameter list
5584                 - (merge_one_ip4_config): new function; merge ip4 configs together
5585                 - (rewrite_resolv_conf): write out resolv.conf from all the stored
5586                         ip4 configs; the VPN config takes precedence, then the best
5587                         device config, then the rest of the configs
5588                 - (get_domain_for_config): take the NMNamedManager as an argument
5589                         to check whether the config is the VPN config
5590                 - (add_ip4_config_to_named): fixups for removal of the 'secondary'
5591                         attribute from ip4 configs
5592                 - (add_all_ip4_configs_to_named): add all the configs in priority order
5593                 - (remove_ip4_config_from_named): fix for changes to
5594                         get_domain_for_config()
5595                 - (nm_named_manager_add_ip4_config): assign the config to the right slot
5596                         based on its type; callers must pass in the type now
5597                 - (get_last_default_domain): remove, unused
5598                 - (nm_named_manager_remove_ip4_config): handle config slots correctly
5599
5600         * src/nm-device-802-11-wireless.c
5601                 - (real_can_activate): new function
5602                 - (real_get_best_auto_connection): renamed from real_get_best_connection
5603                 - (real_act_stage4_get_ip4_config): handle MTU override
5604
5605         * src/nm-device-802-3-ethernet.c
5606                 - (real_can_activate): new function
5607                 - (real_get_best_auto_connection): renamed from real_get_best_connection
5608                 - (real_act_stage4_get_ip4_config): new function; handle MTU override
5609
5610         * src/vpn-manager/nm-vpn-connection.c
5611                 - (nm_vpn_connection_ip4_config_get): don't need to set the 'secondary'
5612                         attribute on the ip4 config
5613
5614         * src/NetworkManagerPolicy.c
5615                 - (nm_policy_auto_get_best_device): remove
5616                 - (nm_policy_device_change_check): remove
5617                 - (update_default_route): new function; set the default route via
5618                         the specified device
5619                 - (get_device_priority): new function; return the priority number of
5620                         a device type WRT which one should have the default route.  Order is
5621                         (highest to lowest)  wired, wireless, GSM, CDMA.
5622                 - (update_routing_and_dns): new function; determine which device should
5623                         have the default route, then update the routing table and DNS
5624                 - (maybe_auto_activate_device): new function; if a device is now
5625                         available for activation, find out what connection it would like to
5626                         activate and do it
5627                 - (schedule_activate_check): new function; if a device can be activated
5628                         now, schedule the activation.  Each device may have only one
5629                         pending activation at a given time.
5630                 - (device_state_changed): if activation was canceled, try again,
5631                         possibly with another connection; if the device was activated,
5632                         update routing and DNS; if the device was deactivated, try again
5633                         with another connection
5634                 - (device_carrier_changed): if there is no carrier, deactivate the
5635                         device; otherwise schedule an activation check for the device
5636                 - (wireless_networks_changed): schedule an activation check for the
5637                         device
5638                 - (device_added): keep track of the signal handler IDs so they can
5639                         be removed when the device goes away
5640                 - (device_removed): remove any signal handlers that might be attached
5641                         to the device; update routing and DNS
5642                 - (schedule_activate_all): new function
5643                 - (connections_added, connection_added, connection_updated): when
5644                         connections change, schedule all devices for an activation check
5645                 - (connection_removed): when a device is deactivated because its
5646                         connection was removed, schedule another activation check for it
5647                 - (nm_policy_destroy): destroy pending activations and disconnect
5648                         all device signal handlers
5649
5650         * src/nm-manager.c
5651                 - (nm_manager_activate_device): if the device was already actived,
5652                         deactivate it
5653                 - (deactivate_old_device): remove
5654                 - (connection_added_default_handler, impl_manager_activate_device):
5655                         don't deactivate other devices when activating this one
5656
5657         * src/backends/NetworkManagerGentoo.c
5658           src/backends/NetworkManagerFrugalware.c
5659           src/backends/NetworkManagerPaldo.c
5660           src/backends/NetworkManagerRedHat.c
5661           src/backends/NetworkManagerSlackware.c
5662           src/backends/NetworkManagerArch.c
5663           src/backends/NetworkManagerSuSE.c
5664           src/backends/NetworkManagerDebian.c
5665                 - (nm_system_get_mtu): remove; MTU should be provided through the
5666                         distro's system settings service plugin instead
5667                 - (nm_system_device_add_default_route_via_device): remove
5668                 - (nm_system_device_add_default_route_via_device_with_iface): remove
5669                 - (nm_system_device_replace_default_route): new function; call
5670                         generic implementation
5671
5672         * src/backends/NetworkManagerGeneric.c
5673           src/backends/NetworkManagerGeneric.h
5674                 - (nm_generic_device_add_default_route_via_device,
5675                    nm_generic_device_add_default_route_via_device_with_iface): remove
5676                 - (nm_generic_device_replace_default_route): replace the default route
5677                         with the given route via some gateway
5678
5679         * src/NetworkManagerSystem.c
5680           src/NetworkManagerSystem.h
5681                 - (nm_system_device_set_from_ip4_config): let the policy handle updates
5682                         to routing and DNS; but set the MTU here
5683                 - (nm_system_vpn_device_set_from_ip4_config): set the route with the
5684                         ip_iface of the active device; use the standard MTU setting function
5685                 - (nm_system_set_mtu): remove
5686                 - (nm_system_device_set_mtu): consolidate MTU setting code in one place
5687
5688 2008-03-07  Tambet Ingo  <tambet@gmail.com>
5689
5690         Rework the interaction between ppp manager and pppd plugin. Register a well
5691         known DBUS service in manager and let the plugin call it's methods instead
5692         of listening plugin's signals.
5693
5694         * src/ppp-manager/nm-pppd-plugin.c: Call ppp-manager dbus methods instead
5695         of emitting signals.
5696
5697         * src/ppp-manager/nm-ppp-manager.c: Implement dbus service here.
5698
5699         * src/ppp-manager/Makefile.am: Build nm-ppp-manager-glue.h.
5700
5701         * src/nm-serial-device.c (real_act_stage2_config): Pass NMConnection to
5702         nm_ppp_manager_start().
5703
5704         * introspection/nm-ppp-manager.xml: New file.
5705
5706         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_get_speed): Handle
5707         the case correctly where driver is trying to send -1 for the speed, which gets
5708         casted to u16 and thus is always > 0.
5709
5710 2008-03-07  Dan Williams  <dcbw@redhat.com>
5711
5712         * src/nm-hal-manager.c
5713                 - (nm_get_device_driver_name): use net.originating_device first, fall
5714                         back to physical device.  HAL has deprecated physical_device.
5715
5716         * libnm-glib/nm-device.c
5717                 - (get_product_and_vendor): use net.originating_device first, fall
5718                         back to physical device.  HAL has deprecated physical_device.
5719                 - (nm_device_update_description): s/physical_device_udi/orig_dev_udi
5720
5721 2008-03-07  Dan Williams  <dcbw@redhat.com>
5722
5723         * src/nm-netlink.c
5724                 - (nm_netlink_get_default_handle): mistakenly removed too much code in
5725                         last commit; fix that
5726                 - (get_link_cache): print error string
5727
5728 2008-03-07  Dan Williams  <dcbw@redhat.com>
5729
5730         * src/nm-netlink.c
5731                 - (nm_netlink_get_default_handle): NMNetlinkMonitor now uses libnl,
5732                         don't need this hack any more (Benoit Boissinot)
5733
5734 2008-03-06  Dan Williams  <dcbw@redhat.com>
5735
5736         * autogen.sh
5737                 - Die gnome-common, die
5738
5739 2008-03-04  Dan Williams  <dcbw@redhat.com>
5740
5741         Patch from Michael Biebl <biebl@debian.org>
5742
5743         * NetworkManager.pc.in
5744                 - doesn't actually depend on dbus-1
5745
5746         * libnm-util/nm-utils.h
5747                 - remove unused #include <dbus/dbus.h>
5748
5749         * libnm-glib/libnm_glib.pc.in
5750                 - depends on glib and dbus-glib
5751
5752 2008-03-02  Dan Williams  <dcbw@redhat.com>
5753
5754         * src/NetworkManagerPolicy.c
5755                 - s/device_state_changed_idle_id/update_state_id/
5756
5757 2008-03-02  Dan Williams  <dcbw@redhat.com>
5758
5759         * src/nm-device.c
5760           src/nm-device.h
5761           src/nm-device-802-11-wireless.c
5762           src/nm-device-802-3-ethernet.c
5763           src/NetworkManagerPolicy.c
5764                 - s/link_active/carrier
5765                 - nm_device_set_active_link() -> nm_device_set_carrier()
5766                 - nm_device_has_active_link() -> nm_device_get_carrier()
5767
5768 2008-03-02  Dan Williams  <dcbw@redhat.com>
5769
5770         * system-settings/plugins/ifcfg-fedora/parser.c
5771                 - (make_wireless_setting): fail connection creation on missing SSID
5772
5773 2008-02-29  Dan Williams  <dcbw@redhat.com>
5774
5775         * src/NetworkManagerPolicy.c
5776                 - (nm_policy_device_change_check): ensure that a previously active
5777                         device with a system connection has a link before denying a switch
5778                         to a user connection
5779
5780 2008-02-29  Dan Williams  <dcbw@redhat.com>
5781
5782         * src/nm-device-802-11-wireless.c
5783                 - (link_timeout_cb): try again if scanning; deactivate the device when
5784                         activated if the link dies
5785                 - (supplicant_iface_connection_state_cb_handler): bump link timeout to
5786                         15 seconds
5787
5788 2008-02-29  Dan Williams  <dcbw@redhat.com>
5789
5790         * src/nm-device-802-11-wireless.c
5791           src/nm-device-802-11-wireless.h
5792                 - (nm_device_802_11_wireless_reset_scan_interval): remove, unused
5793                         elsewhere; fold into the sole user in nm-device-802-11-wireless.c
5794                 - (device_cleanup): reset the scan interval lower when the device
5795                         deactivates
5796                 - (can_scan): base decision mostly off device state, not supplicant
5797                         interface state since the supplicant interface state isn't a
5798                         great indicator of whether the device is active or not
5799                 - (request_wireless_scan): clean up; schedule the next scan here
5800                 - (schedule_scan): only back the scan interval off if a new scan
5801                         actually gets scheduled; and make scan intervals tighter when the
5802                         device is disconnected
5803                 - (supplicant_iface_state_cb_handler): fold in the bits of
5804                         nm_device_802_11_wireless_reset_scan_interval() by resetting scan
5805                         interval to minimum
5806                 - (activation_success_handler): reset scan interval to something
5807                         reasonable 
5808
5809 2008-02-28  Saleem Abdulrasool  <compnerd@compnerd.org>
5810
5811         reviewed by: Steev <steev@steev.net>
5812
5813         * configure.in:
5814         * src/backends/NetworkManagerGentoo.c:
5815         (nm_system_restart_mdns_responder):
5816                 Howl is no longer a supported mDNS provider
5817
5818 2008-02-28  Tambet Ingo  <tambet@gmail.com>
5819
5820         Get rid of a bunch of unused distro specific functions.
5821
5822 2008-02-28  Tambet Ingo  <tambet@gmail.com>
5823
5824         Implement suse plugin for system settings daemon.
5825
5826         * system-settings/plugins/ifcfg-suse/*: Implement.
5827
5828         * system-settings/plugins/Makefile.am: Add ifcfg-suse to subdirs when targeting
5829         suse.
5830
5831         * configure.in: Check (without failing) for gio.
5832         Create ifcfg-suse plugin's Makefile.
5833
5834 2008-02-20  Dan Williams  <dcbw@redhat.com>
5835
5836         * libnm-util/nm-connection.c
5837           libnm-util/nm-connection.h
5838                 - (nm_connection_compare): accept compare flags and pass them to the
5839                         setting compare function
5840
5841         * libnm-util/nm-setting.c
5842           libnm-util/nm-setting.h
5843                 - (nm_setting_compare): accept compare flags; ignore properties that are
5844                         marked fuzzy
5845
5846         * libnm-util/nm-setting-connection.c
5847           libnm-util/nm-setting-wireless.c
5848           libnm-util/nm-setting-ppp.c
5849           libnm-util/nm-setting-wired.c
5850                 - Mark some setting properties as ignorable when doing a fuzzy compare
5851
5852         * src/nm-device.c
5853                 - (device_activation_precheck): use exact compare
5854
5855 2008-02-20  Dan Williams  <dcbw@redhat.com>
5856
5857         * src/NetworkManagerPolicy.c
5858                 - (nm_policy_device_change_check): get scope off the connection, not
5859                         using the manager helper
5860
5861         * src/nm-manager.c
5862           src/nm-manager.h
5863                 - (get_scope_for_proxy): rename from get_type_for_proxy()
5864                 - (connection_get_settings_cb): set scope and path on connection, not
5865                         using GObject data items
5866                 - (get_connection_for_proxy): don't need to return path, since that
5867                         can be gotten from the connection
5868                 - (get_connection_for_proxy): get path off the connection, not from
5869                         parameters
5870                 - (connection_removed_cb, connection_updated_cb): don't need to get
5871                         path from get_connection_for_proxy(); get scope off the connection
5872                         instead of using GObject data items
5873                 - (connection_added_default_handler, add_one_connection_element): use
5874                         nm_connection_get_path() not nm_manager_get_connection_dbus_path()
5875                 - (nm_manager_get_connection_dbus_path): remove
5876                 - (nm_manager_get_connection_scope): remove
5877
5878 2008-02-20  Dan Williams  <dcbw@redhat.com>
5879
5880         * Global rename of NMConnectionSettings -> NMExportedConnection to cut down
5881                 on confusing names
5882
5883         * Add 'path' and 'scope' properties to NMConnection since both NM and the
5884                 applet were having to hack this in anyway.  Remove the 'path' stuff from
5885                 NMExportedConnection
5886
5887         * Internally rename NMConnectionType -> NMConnectionScope
5888
5889         * Provide default implementations of the 'get_id' and 'get_settings' methods
5890                 of NMExportedConnection
5891
5892 2008-02-15  Dan Williams  <dcbw@redhat.com>
5893
5894         * src/nm-device-802-11-wireless.c
5895                 - (device_cleanup): release the AP list here too so that the AP list
5896                         doesn't survive across suspend/resume and up/down.  There is some
5897                         room for optimization, for example blow the list away when the card
5898                         brought back up, but only if the device has only been down for a
5899                         minute or more.
5900
5901 2008-02-15  Dan Williams  <dcbw@redhat.com>
5902
5903         * src/nm-hal-manager.c
5904                 - (modem_device_creator): recognize new HAL modem capabilities
5905
5906 2008-02-12  Dan Williams  <dcbw@redhat.com>
5907
5908         * system-settings/plugins/ifcfg-fedora/plugin.c
5909                 - (watch_path): handle IN_DELETE_SELF too
5910                 - (handle_connection_changed): notify when removing a connection
5911                 - (stuff_changed): don't warn on unknown inotify watches; handle the
5912                         case of a file moving out of the profile directory
5913
5914 2008-02-12  Dan Williams  <dcbw@redhat.com>
5915
5916         * system-settings/plugins/ifcfg-fedora/parser.c
5917                 - (make_ip4_setting): bring IPv4 setting handling more up to spec
5918
5919 2008-02-12  Dan Williams  <dcbw@redhat.com>
5920
5921         * libnm-util/nm-utils.c
5922                 - (nm_utils_convert_uint_array_to_string): don't die on NULL array, it's
5923                         just any empty array
5924
5925 2008-02-12  Dan Williams  <dcbw@redhat.com>
5926
5927         * system-settings/src/nm-system-config-interface.c
5928           system-settings/src/nm-system-config-interface.h
5929                 - (load_connections): get_connections() should now return an allocated
5930                         GSList that the system settings service will free
5931
5932         * system-settings/plugins/ifcfg-fedora/plugin.c
5933           system-settings/plugins/ifcfg-fedora/parser.h
5934           system-settings/plugins/ifcfg-fedora/parser.c
5935                 - Fix up inotify issues; handle keys-* files, handle new files appearing
5936                         in the profile directory, handle resolv.conf file changes
5937
5938 2008-02-10  Dan Williams  <dcbw@redhat.com>
5939
5940         * src/nm-device-802-3-ethernet.c
5941                 - (real_bring_up): save the supplicant interface state signal id
5942                 - (real_bring_down): disconnect from the supplicant interface state
5943                         signal
5944
5945 2008-02-07  Dan Williams  <dcbw@redhat.com>
5946
5947         * initscript/RedHat/NetworkManager.in
5948           initscript/RedHat/NetworkManagerDispatcher.in
5949                 - Add new-style LSB init headers
5950
5951 2008-02-07  Dan Williams  <dcbw@redhat.com>
5952
5953         * system-settings/src/dbus-settings.c
5954           system-settings/src/dbus-settings.h
5955                 - (add_one_secret_to_hash): copy secrets out of the plugin-returned hash
5956                         table of secrets
5957                 - (connection_settings_get_secrets): consolidate error returns into
5958                         one place; use the new get_secrets() plugin interface function to
5959                         get secrets from the plugin itself rather than using GObject data
5960                         magic
5961
5962         * system-settings/src/main.c
5963                 - (connection_added_cb, connection_removed_cb, free_plugin_connections,
5964                    load_connections): keep a private list of the plugin-returned
5965                         connections, don't use the plugin's GSList
5966
5967         * system-settings/plugins/ifcfg-fedora/plugin.c
5968                 - (watch_path): watch the path, not the filename (duh)
5969                 - (reload_all_connections): use the direct hash/equal functions; the
5970                         ones for int aren't appropriate here
5971                 - (get_secrets, system_config_interface_init): implement the
5972                         get_secrets() function
5973                 - (build_one_connection, find_connection_by_path): ifcfg file path is
5974                         now in the connection's ConnectionData instead of being a GObject
5975                         data property
5976                 - (handle_profile_item_changed): ifcfg file path is now in the
5977                         connection's ConnectionData instead of being a GObject data property;
5978                         be sure to copy secrets over from the new connection to the existing
5979                         connection when updating the connection's settings
5980                 - (init): sc_plugin_inotify_init() returns success/fail, not the inotify
5981                         file descriptor
5982
5983         * system-settings/plugins/ifcfg-fedora/parser.c
5984           system-settings/plugins/ifcfg-fedora/parser.h
5985                 - (connection_data_get, copy_one_cdata_secret, clear_one_cdata_secret,
5986                    connection_data_copy_secrets, connection_data_free,
5987                    connection_data_add): new functions; connection data manipulation
5988                 - (make_wireless_security_setting): stuff secrets into the
5989                         connection data, not as GObject data items; make sure to close
5990                         the keys ifcfg file
5991                 - (wireless_connection_from_ifcfg, wired_connection_from_ifcfg): add
5992                         connection data to the connection
5993
5994 2008-02-07  Dan Williams  <dcbw@redhat.com>
5995
5996         * system-settings/src/nm-system-config-interface.c
5997           system-settings/src/nm-system-config-interface.h
5998                 - Add a get_secrets() interface function to retrieve secrets for a
5999                         specific setting of a specific connection.  Document the interface
6000                         a bit more too.
6001
6002 2008-02-07  Dan Williams  <dcbw@redhat.com>
6003
6004         * src/nm-device-802-11-wireless.c
6005                 - (handle_auth_or_fail): new function; consolidate device activation
6006                         failure check after a certain number of failures getting secrets
6007                 - (supplicant_connection_timeout_cb, real_act_stage2_config,
6008                    real_act_stage4_ip_config_timeout): use handle_auth_or_fail() to fail
6009                         the connection if secrets were requested more than a few times
6010                 - (real_act_stage3_ip_config_start): don't clear the wireless secrets
6011                         tries here; otherwise they are cleared before the IP configure
6012                         timeout, which happens with open system WEP when key is wrong
6013                 - (activation_success_handler): clear wireless secrets tries here too
6014
6015 2008-02-07  Dan Williams  <dcbw@redhat.com>
6016
6017         * src/NetworkManagerPolicy.c
6018                 - (connection_updated): clear invalid tag when connection gets updated
6019                         to allow that connection to be tried again
6020                 - (nm_policy_new): save signal ids so they can be disconnected when
6021                         the policy is destroyed
6022                 - (nm_policy_destroy): stop any in-progress state change idle handler,
6023                         and disconnect all signals from the manager object so that none
6024                         of the policy functions gets called after the policy is destroyed
6025
6026 2008-02-06  Dan Williams  <dcbw@redhat.com>
6027
6028         * src/nm-manager.c
6029                 - (finalize): remove devices a bit earlier; clean up system settings
6030                         poke
6031                 - (nm_manager_name_owner_changed): clean up system settings poke when
6032                         the service appears, and try to restart it if it fails
6033                 - (poke_system_settings_daemon_cb): try to get the system settings
6034                         service started through D-Bus service activation
6035                 - (initial_get_connections): start the system settings daemon if it's
6036                         not already running
6037
6038 2008-02-05  Dan Williams  <dcbw@redhat.com>
6039
6040         * src/supplicant-manager/nm-supplicant-config.c
6041                 - (nm_supplicant_config_add_setting_wireless): send scan_ssid=1 for
6042                         broadcast networks too
6043
6044 2008-02-04  Dan Williams  <dcbw@redhat.com>
6045
6046         * system-settings/plugins/ifcfg-fedora/parser.c
6047                 - (make_wireless_security_setting): fix spelling; unencrypted networks
6048                         need key_mgmt set too
6049                 - (parser_parse_file): validate ifcfg file name and don't try to parse
6050                         .bak files; ensure that an error is set whenever NULL gets returned
6051
6052 2008-02-04  Dan Williams  <dcbw@redhat.com>
6053
6054         * system-settings/src/Makefile.am
6055                 - Install D-Bus service activation file for the system settings
6056                         service
6057
6058         * system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service
6059                 - D-Bus service activation file for system settings service
6060
6061 2008-02-04  Dan Williams  <dcbw@redhat.com>
6062
6063         * system-settings/src/main.c
6064                 - (parse_config_file): parse a config file
6065                 - (main): accept --config option and read plugins from config file
6066
6067 2008-02-04  Dan Williams  <dcbw@redhat.com>
6068
6069         * system-settings/plugins/ifcfg-fedora/plugin.c
6070                 - Change reported name to 'ifcfg-fedora'
6071                 - Use IFCFG_PLUGIN_NAME
6072
6073         * system-settings/plugins/ifcfg-fedora/plugin.c
6074                 - Remove PLUGIN_NAME, use IFCFG_PLUGIN_NAME instead
6075
6076 2008-02-04  Dan Williams  <dcbw@redhat.com>
6077
6078         * system-settings/plugins/ifcfg-fedora/parser.c
6079                 - (get_ifcfg_name): new function; factor out ifcfg name finding code
6080                 - (make_connection_setting): use get_ifcfg_name()
6081                 - (make_wireless_security_setting): handle shadow key files
6082                 - (get_one_wep_key): treat empty string as NULL
6083
6084 2008-02-04  Dan Williams  <dcbw@redhat.com>
6085
6086         * src/supplicant-manager/nm-supplicant-manager.c
6087                 - (poke_supplicant_cb): reschedule the poke as a timeout, don't let
6088                         glib automatically reschedule
6089                 - (nm_supplicant_manager_init): immediately try to start the supplicant
6090                 - (nm_supplicant_manager_name_owner_changed): immediately try to restart
6091                         the supplicant
6092
6093 2008-02-01  Dan Williams  <dcbw@redhat.com>
6094
6095         * src/NetworkManagerPolicy.c
6096                 - (device_state_changed): schedule a change check when a device gets
6097                         deactivated so something happens if you disconnect GSM/CDMA
6098
6099 2008-01-31  Dan Williams  <dcbw@redhat.com>
6100
6101         * src/nm-device-802-11-wireless.h
6102           src/nm-device-802-11-wireless.c
6103                 - (ap_list_get_ap_by_ssid, is_associated,
6104                    nm_device_802_11_wireless_ap_list_get_ap_by_ssid,
6105                    nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): remove
6106                 - (nm_device_802_11_wireless_get_activation_ap): collapse
6107                         nm_device_802_11_wireless_ap_list_get_ap_by_obj_path() into this
6108                         function
6109
6110 2008-01-30  Dan Williams  <dcbw@redhat.com>
6111
6112         * system-settings/plugins/ifcfg
6113         * system-settings/plugins/ifcfg-fedora
6114                 - Move the ifcfg plugin to ifcfg-fedora
6115
6116 2008-01-24  Dan Williams  <dcbw@redhat.com>
6117
6118         * libnm-glib/nm-device-802-11-wireless.c
6119                 - (get_access_point): move the "/" check here; check for invalid path
6120                         too
6121                 - (nm_device_802_11_wireless_set_active_ap): leave the "/" check up
6122                         to get_access_point()
6123                 - (access_point_added_proxy, access_point_removed_proxy): don't try
6124                         to send signals for non-existent access points
6125
6126 2008-01-24  Dan Williams  <dcbw@redhat.com>
6127
6128         * libnm-glib/nm-device-802-11-wireless.c
6129                 - (nm_device_802_11_wireless_set_active_ap): path of "/" means no AP
6130
6131 2008-01-23  Dan Williams  <dcbw@redhat.com>
6132
6133         * libnm-glib/libnm_glib.c
6134                 - (libnm_glib_init): make thread joinable
6135                 - (libnm_glib_ctx_free): join thread on exit to clean up memory
6136
6137 2008-01-23  Dan Williams  <dcbw@redhat.com>
6138
6139         * test/libnm_glib_test.c
6140                 - (signal_handler, setup_signals): trap SIGINT and SIGTERM
6141                 - (main): set up signal handlers; call libnm_glib_shutdown
6142
6143 2008-01-21  Dan Williams  <dcbw@redhat.com>
6144
6145         * include/NetworkManager.h
6146                 - Add CDMA mobile broadband card device type
6147
6148         * src/nm-hal-manager.c
6149                 - (modem_device_creator): handle both CDMA and GSM modems; the device
6150                         must now be tagged with 'cdma' or 'gsm' capability
6151
6152         * src/nm-cdma-device.c
6153           src/nm-cdma-device.h
6154           src/Makefile.am
6155                 - Add the CDMA mobile broadband card device class
6156
6157         * libnm-util/nm-connection.c
6158                 - (register_default_settings): add NMSettingCdma
6159
6160         * libnm-util/nm-setting-cdma.c
6161           libnm-util/nm-setting-cdma.h
6162           libnm-util/Makefile.am
6163                 - Add the CDMA mobile broadband card setting class
6164
6165         * libnm-glib/nm-cdma-device.c
6166           libnm-glib/nm-cdma-device.h
6167           libnm-glib/Makefile.am
6168                 - Add the CDMA mobile broadband card GLib proxy class
6169
6170         * libnm-glib/nm-client.c
6171                 - (get_device): handle CDMA devices too
6172
6173 2008-01-21  Dan Williams  <dcbw@redhat.com>
6174
6175         * src/ppp-manager/nm-ppp-manager.c
6176                 - (ip4_config_get): set peer address too
6177
6178         * src/ppp-manager/nm-pppd-plugin.c
6179                 - (nm_ip_up): try harder to get the peer's address
6180
6181         * src/NetworkManagerSystem.c
6182                 - (nm_system_device_set_from_ip4_config): if the IP4Config has a peer
6183                         address, use that too.  Otherwise, some PPP connections won't work.
6184
6185 2008-01-19  Dan Williams  <dcbw@redhat.com>
6186
6187         * src/NetworkManagerPolicy.c
6188                 - (nm_policy_device_change_check): system connections override user
6189                         connections; don't activate a user connection if there's a currently
6190                         active system connection, and new, better system connections always
6191                         interrupt user connections
6192
6193 2008-01-19  Dan Williams  <dcbw@redhat.com>
6194
6195         * src/nm-manager.h
6196                 - (nm_manager_get_connection_type): new function
6197
6198 2008-01-19  Dan Williams  <dcbw@redhat.com>
6199
6200         * src/nm-device-802-11-wireless.c
6201                 - (real_get_best_connection): collapse find_best_connection() into this
6202                         function
6203
6204 2008-01-19  Dan Williams  <dcbw@redhat.com>
6205
6206         * src/nm-device-802-3-ethernet.c
6207                 - (real_get_best_connection): collapse find_best_connection() into this
6208                         function
6209
6210 2008-01-18  Dan Williams  <dcbw@redhat.com>
6211
6212         * src/nm-device-802-3-ethernet.c
6213                 - (find_best_connection): check MAC address too
6214                 - (real_get_best_connection): let autoconnect=True connections activate
6215                         for devices that don't have carrier detection
6216
6217         * src/nm-device-802-11-wireless.c
6218                 - (find_best_connection): check MAC address too
6219
6220 2008-01-18  Dan Williams  <dcbw@redhat.com>
6221
6222         * system-settings/plugins/ifcfg/parser.c
6223                 - (make_connection_setting): interpret ON_BOOT=y as 'autoconnect=True'
6224
6225 2008-01-17  Dan Williams  <dcbw@redhat.com>
6226
6227         * src/nm-device-802-3-ethernet.c
6228                 - (nm_device_802_3_ethernet_carrier_on,
6229                    nm_device_802_3_ethernet_carrier_off): ignore any spurious netlink
6230                         carrier events that might come in for devices that don't support
6231                         carrier detect
6232
6233 2008-01-17  Dan Williams  <dcbw@redhat.com>
6234
6235         * src/nm-device-interface.c
6236                 - (nm_device_interface_check_connection_conflicts): need to actually
6237                         get the interface, not cast to the object
6238
6239         * src/nm-device.c
6240                 - (nm_device_check_connection_conflicts): need to get the device class,
6241                         not cast the device to the device class
6242
6243 2008-01-17  Dan Williams  <dcbw@redhat.com>
6244
6245         * src/nm-device-802-11-wireless.c
6246                 - (real_check_connection_conflicts): ignore connections that aren't
6247                         wireless connections
6248
6249 2008-01-17  Dan Williams  <dcbw@redhat.com>
6250
6251         * src/NetworkManagerPolicy.c
6252                 - (nm_policy_device_change_check): clear change check idle here
6253                 - (device_change_check_done): remove
6254                 - (schedule_change_check): simplify
6255
6256 2008-01-17  Dan Williams  <dcbw@redhat.com>
6257
6258         * src/nm-manager.c
6259                 - (check_connection_allowed): take an NMDeviceInterface instead of
6260                         an NMDevice object as an argument
6261                 - (nm_manager_activate_device): pass an NMDeviceInterface to
6262                         check_connection_allowed()
6263
6264 2008-01-13  Dan Williams  <dcbw@redhat.com>
6265
6266         * libnm-glib/nm-device-802-11-wireless.c
6267                 - (nm_device_802_11_wireless_get_access_points): fix memory leak
6268
6269 2008-01-12  Dan Williams  <dcbw@redhat.com>
6270
6271         * src/nm-device-802-11-wireless.c
6272                 - (activation_success_handler): if a match was found in the scan list
6273                         and that match is a hidden AP, update that AP's SSID
6274
6275 2008-01-11  Dan Williams  <dcbw@redhat.com>
6276
6277         * src/NetworkManagerAP.c
6278                 - (nm_ap_new_fake_from_connection): mark fake APs as fake
6279
6280         * src/nm-device-802-11-wireless.c
6281                 - (get_active_ap): do two passes over the scan list if the caller
6282                         requests that hidden APs get matched too; during the second pass
6283                         when matching hidden APs, ignore the SSID since hidden APs in the
6284                         scan list don't have an SSID yet
6285                 - (periodic_update): move some checks to
6286                         nm_device_802_11_periodic_update() because not all callers need them
6287                 - (nm_device_802_11_periodic_update): move some checks here from
6288                         perodic_update()
6289                 - (merge_scanned_ap): if the current AP is fake, then don't do strict
6290                         matching on incoming scan results, because the fake AP's flags
6291                         might be slightly different (yet still compatible) with the incoming
6292                         scan result's flags and they might actually be the same AP; update
6293                         the rate on merged APs too
6294                 - (activation_success_handler): update the frequency of the fake AP
6295                         on successful connection; match hidden APs too since if the
6296                         current AP is fake, there might already be a scan result in the
6297                         scan list for the desired AP, just without it's SSID filled in yet
6298
6299 2008-01-10  Dan Williams  <dcbw@redhat.com>
6300
6301         * src/NetworkManagerAP.c
6302                 - (foreach_property_cb): catch more hidden SSID formats
6303
6304 2008-01-10  Dan Williams  <dcbw@redhat.com>
6305
6306         Fix gnome.org #464215.  Requires the kernel patch titled
6307         "Introduce WEXT scan capabilities" but will handle the patch not being
6308         present, you'll just continue to have problems with hidden SSIDs when
6309         using mac80211-based drivers.
6310
6311         * src/supplicant-manager/nm-supplicant-config.h
6312           src/supplicant-manager/nm-supplicant-config.c
6313                 - (nm_supplicant_config_add_setting_wireless): new parameter to indicate
6314                         whether the driver supports SSID scans or not.  If it does, and if
6315                         the AP is hidden, use ap_scan=1 instead of ap_scan=2
6316
6317         * src/nm-device-802-11-wireless.c
6318                 - (constructor): check whether or not the driver supports SSID scans
6319                 - (build_supplicant_config): pass driver SSID scan capability when
6320                         building the wireless bits of the supplicant config
6321
6322 2008-01-09  Dan Williams  <dcbw@redhat.com>
6323
6324         * src/nm-device.c
6325           src/nm-device.h
6326                 - (device_activation_precheck, check_connection_complete): remove this
6327                         virtual function; incomplete connections should be invalid by
6328                         definition, complete-ness should be checked in the setting's
6329                         verify function
6330
6331         * src/nm-serial-device.c
6332           src/nm-gsm-device.c
6333                 - (real_check_connection_complete): remove
6334
6335         * libnm-util/nm-setting-serial.c
6336                 - (verify): new function; ensure there is a PPP setting too
6337
6338         * libnm-util/nm-setting-gsm.c
6339                 - (verify): ensure there is a serial setting too
6340
6341 2008-01-06  Dan Williams  <dcbw@redhat.com>
6342
6343         * src/dhcp-manager/nm-dhcp-manager.c
6344                 - (nm_dhcp_manager_get_ip4_config): handle DHCP-provided MTU
6345                         (gnome.org #332953)
6346
6347 2008-01-04  Dan Williams  <dcbw@redhat.com>
6348
6349         * src/named-manager/nm-named-manager.c
6350                 - (rewrite_resolv_conf, add_ip4_config_to_named): use primary IP4Config's
6351                         nameservers if the secondary config doesn't have any
6352                         (gnome.org #346833)
6353
6354 2008-01-02  Tambet Ingo  <tambet@gmail.com>
6355
6356         * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Mark the properties
6357         with G_PARAM_CONSTRUCT so that they get the default values.
6358
6359         * src/nm-gsm-device.c: Add preliminary support for monitoring device. It only monitors
6360         the monitoring device and prints out the output for now. Or more precicely, doesn't
6361         do absolutely anything right now since the montoring device argument is never set.
6362
6363         * src/nm-serial-device.c (serial_debug): Implement. It's very verbose and thus
6364         requires it's own knob to turn it on.
6365         (config_fd): Add NMSettingSerial to the arguments list.
6366         (nm_serial_device_open): Ditto.
6367         (get_reply_got_data): Ignore the terminators at the beginning of the output.
6368         (nm_serial_device_get_io_channel): Implement.
6369
6370         * src/nm-manager.c: Add NMDBusManager to the private data of the NMManager. Asking
6371         a new reference every time (and forgetting to release it sometimes) is a pain and
6372         it's not like NMManager could work without dbus.
6373         (nm_manager_add_device): Register the added device on dbus here.
6374
6375         * src/nm-hal-manager.c (modem_device_creator): Pass NULL for now for the monitoring
6376         device.
6377
6378         * src/nm-device.c (constructor): Don't export the device here, instead export
6379         it when it's added to the NMManager's device list.
6380
6381 2007-12-31  Dan Williams  <dcbw@redhat.com>
6382
6383         * src/nm-device-interface.c
6384           src/nm-device-interface.h
6385                 - (nm_device_interface_check_connection_conflicts): new function
6386
6387         * src/nm-device.c
6388           src/nm-device.h
6389                 - (nm_device_check_connection_conflicts): new function
6390                 - (device_activation_precheck): don't require subclasses to implement
6391                         check_connection_complete()
6392                 - check_connection() -> check_connection_complete()
6393
6394         * src/nm-device-802-11-wireless.c
6395                 - (real_check_connection): remove; unused
6396                 - (real_check_connection_conflicts): implement, handle lockdown for
6397                         system connections
6398
6399         * src/nm-device-802-3-ethernet.c
6400                 - (real_check_connection): remove; unused
6401
6402         * src/nm-manager.c
6403                 - (check_connection_allowed): new function
6404                 - (nm_manager_activate_device): ensure the connection being requested
6405                         is allowed to be activated
6406
6407         * src/nm-serial-device.c
6408           src/nm-gsm-device.c
6409                 - real_check_connection() -> real_check_connection_complete()
6410
6411 2007-12-27  Dan Williams  <dcbw@redhat.com>
6412
6413         * src/nm-device-interface.c
6414           src/nm-device-interface.h
6415                 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
6416                         normalize and expand errors
6417                 - (nm_device_interface_init): register errors so they can be marshalled
6418                         through dbus-glib
6419                 - (nm_device_interface_activate): ensure that failure of activation
6420                         returns an error
6421
6422         * src/nm-device.c
6423           src/nm-device.h
6424                 - (device_activation_precheck): implementations of check_connection()
6425                         now take a GError and must fill it in if the check fails.  Return
6426                         more descriptive error if the requested connection is already
6427                         activating
6428                 - (nm_device_activate): actually try to return descriptive errors on
6429                         failures
6430
6431         * src/nm-device-802-11-wireless.c
6432           src/nm-device-802-3-ethernet.c
6433           src/nm-serial-device.c
6434           src/nm-gsm-device.c
6435                 - (real_check_connection): return more descriptive errors on failure
6436
6437         * src/NetworkManagerPolicy.c
6438                 - (nm_policy_device_change_check): print activation errors in the logs
6439
6440         * src/nm-manager.c
6441                 - (nm_manager_error_quark, nm_manager_error_get_type,
6442                    nm_manager_class_init): new errors
6443                 - (nm_manager_activate_device): handle errors
6444                 - (nm_manager_error_new): removed
6445                 - (wait_for_connection_expired, connection_added_default_handler,
6446                    impl_manager_activate_device): better error handling
6447
6448 2007-12-27  Dan Williams  <dcbw@redhat.com>
6449
6450         Fixes gnome.org #466954
6451
6452         * src/supplicant-manager/nm-supplicant-settings-verify.c
6453                 - Allow 'frequency' network property
6454
6455         * src/supplicant-manager/nm-supplicant-config.c
6456           src/supplicant-manager/nm-supplicant-config.h
6457                 - (nm_supplicant_config_add_setting_wireless): add 'adhoc_freq' argument
6458                         for callers to specify the frequency an Ad-Hoc network should operate
6459                         on.  Some drivers require this to successfully create an Ad-Hoc
6460                         network.
6461
6462         * src/nm-device-802-11-wireless.c
6463                 - (iw_freq_to_uint32): new function; convert a struct iw_freq into a
6464                         guint32 value in MHz
6465                 - (constructor, nm_device_802_11_wireless_get_frequency): use
6466                         iw_freq_to_uint32()
6467                 - (find_supported_frequency): new function; find a free supported
6468                         frequency for a user-created Ad-Hoc network
6469                 - (build_supplicant_config): if no frequency was specified for a user-
6470                         created Ad-Hoc network, find a free one to use
6471                 - (real_act_stage1_prepare): mark Ad-Hoc connections that don't have
6472                         a specific object as user-created
6473
6474 2007-12-27  Dan Williams  <dcbw@redhat.com>
6475
6476         * libnm-util/nm-utils.c
6477           libnm-util/nm-utils.h
6478                 - (nm_utils_security_valid): add 'adhoc' argument and handle security
6479                         for adhoc networks
6480
6481 2007-12-24  Dan Williams  <dcbw@redhat.com>
6482
6483         * libnm-util/nm-setting-wireless.c
6484                 - (verify): add 802.11a channels 7, 8, 9, 11, 12, 16, 34, 165, 183, 184,
6485                         185, 187, 188, 192, and 196
6486
6487 2007-12-24  Dan Williams  <dcbw@redhat.com>
6488
6489         * src/nm-device-802-11-wireless.c
6490                 - (nm_device_802_11_wireless_get_frequency): handle drivers that return
6491                         a channel # instead of a frequency
6492
6493 2007-12-24  Dan Williams  <dcbw@redhat.com>
6494
6495         * src/NetworkManagerAP.c
6496           src/NetworkManagerAP.h
6497                 - (nm_ap_new_fake_from_connection): pass band to channel_to_freq()
6498                 - (freq_to_channel): handle split band tables
6499                 - (channel_to_freq): handle split band tables, take a band argument
6500
6501 2007-12-24  Dan Williams  <dcbw@redhat.com>
6502
6503         * libnm-util/nm-setting-connection.h
6504           libnm-util/nm-setting-connection.c
6505                 - Add 'lockdown' member
6506
6507 2007-12-22  Dan Williams  <dcbw@redhat.com>
6508
6509         * libnm-util/nm-setting-wireless.c
6510                 - (nm_setting_wireless_class_init): add missing 'rate' property
6511                         specification
6512
6513 2007-12-18  Dan Williams  <dcbw@redhat.com>
6514
6515         Base the NMNetlinkMonitor class on libnl instead of hand-rolled netlink.
6516
6517         * src/nm-netlink-monitor.c
6518           src/nm-netlink-monitor.h
6519                 - Remove handrolled netlink, use libnl instead
6520
6521         * src/nm-device-802-3-ethernet.c
6522                 - (constructor, nm_device_802_3_ethernet_carrier_off,
6523                    nm_device_802_3_ethernet_carrier_on): use new names
6524
6525 2007-12-17  Dan Williams  <dcbw@redhat.com>
6526
6527         * configure.in
6528                 - Bump requirement for libnl to 1.0-pre8 (which works with newer kernels
6529                         and fixes memory leaks)
6530
6531         * src/nm-netlink.c
6532                 - (nm_netlink_get_default_handle): handle new versions of libnl that
6533                         automatically handle the netlink PID
6534
6535 2007-12-17  Dan Williams  <dcbw@redhat.com>
6536
6537         Patch from Michael Biebl <biebl@debian.org>
6538
6539         * configure.in
6540           src/ppp-manager/Makefile.am
6541                 - fix up install dir of pppd plugin
6542                 - clean up configure.in a bit
6543
6544 2007-12-12  Dan Williams  <dcbw@redhat.com>
6545
6546         * system-settings/src/nm-system-settings.conf
6547                 - Allow non-root clients (like the applet) to read settings
6548
6549 2007-12-10  Tambet Ingo  <tambet@gmail.com>
6550
6551         * Replace all occurences of 'UMTS' with 'GSM'.
6552
6553 2007-12-07  Dan Williams  <dcbw@redhat.com>
6554
6555         * src/nm-serial-device.c
6556                 - (real_is_up): serial devices are always "up"
6557
6558 2007-12-07  Dan Williams  <dcbw@redhat.com>
6559
6560         * src/nm-netlink.c
6561           src/NetworkManagerSystem.c
6562                 - (new_nl_handle): ensure that the same netlink pid is never chosen
6563                         twice (gnome.org #491047)
6564                 - Make more robust against allocation-related failures should they occur
6565
6566 2007-12-07  Dan Williams  <dcbw@redhat.com>
6567
6568         Noticed by Christian Persch <chpe@gnome.org>
6569
6570         Always chain up to parent object in dispose and finalize handlers.
6571                 (gnome.org #433112)
6572
6573 2007-12-07  Dan Williams  <dcbw@redhat.com>
6574
6575         * src/nm-device-802-11-wireless.c
6576                 - Wrap #include of linux/mii.h to fix redefined structures due to
6577                         incorrect kernel headers (gnome.org #350061)
6578
6579 2007-12-06  Tambet Ingo  <tambet@gmail.com>
6580
6581         * src/nm-umts-device.c (real_act_stage1_prepare): Flash the modem (drop DTR)
6582         before doing anything else.
6583         (init_modem): Move modem initialization here.
6584
6585         * src/nm-serial-device.c (ppp_state_changed): React on pppd state changes.
6586         (nm_serial_device_flash): Implement.
6587
6588         * src/ppp-manager/nm-ppp-manager.c (name_owner_changed): Fix the typoes: the state
6589         changes signal is "StateChanged" and not "Status".
6590         (ppp_exit_code, ppp_status_changed): Remove the debug output, it's working fine now.
6591
6592 2007-12-06  Dan Williams  <dcbw@redhat.com>
6593
6594         * src/supplicant-manager/nm-supplicant-config.c
6595                 - (nm_supplicant_config_add_setting_wireless_security): reorganize a bit
6596                         to only send some options when they make sense; also send phase2
6597                         option to the supplicant (possible fix for rh #399631)
6598
6599 2007-12-06  Tambet Ingo  <tambet@gmail.com>
6600
6601         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Change the
6602         arguments: This whole file shouldn't really know anything about NMDevices, it
6603         should deal only with device interfaces. Devices might have different ifaces for
6604         different stuff and this place shouldn't know anything about it.
6605
6606         * src/NetworkManagerPolicy.c: Get rid of leftover global variable global_policy.
6607         (global_state_changed): Implement. In the current NM it's not really important,
6608         but will be required in the case of multiple active devices. (Or even better,
6609         if stuff like that gets moved out from NM).
6610
6611         * src/vpn-manager/nm-vpn-connection.c (connection_state_changed): Don't call
6612         nm_system_device_set_from_ip4_config() directly, use nm_device_set_ip4_config() 
6613         instead.
6614
6615         * src/nm-device.c: Add a ip_face protected member. It's used for 'multi-interface'
6616         devices like serial devices (ttyS0 and ppp0 for example).
6617         (nm_device_get_ip_iface): Implement. Default to the device iface if ip_iface is not
6618         set.
6619         (nm_device_set_ip_iface): Implement.
6620         (nm_device_activate_stage5_ip_config_commit): Move all the extra actions that happen
6621         after setting ip4_config from here ...
6622         (nm_device_set_ip4_config): ... to here. The reason behind it is that no other code
6623         than this function should call nm_system_device_set_from_ip4_config() because no
6624         other code has enough information on which arguments to use. So instead, other code
6625         could just set the new ip4 config using this function and everyone is happy.
6626
6627         * src/nm-umts-device.c: Store the pending ids so that we can remove pending actions
6628         if we happen to get deactivated while something is pending.
6629         (automatic_registration): Handle the response that indicates pending network
6630         registration and wait until the pending registration is done.
6631         (real_deactivate_quickly): If there's a pending operation, cancel it.
6632
6633         * src/nm-serial-device.c (ppp_ip4_config): Set the ip_iface when the iface is up ...
6634         (real_deactivate_quickly): ... and remove it when it's down.
6635         (nm_serial_device_get_reply): Return the timeout id so that the callers can remove
6636         it if needed.
6637         (nm_serial_device_wait_for_reply): Ditto.
6638
6639 2007-12-05  Tambet Ingo  <tambet@gmail.com>
6640
6641         * src/nm-umts-device.c (dial_done): Fix the typoes in warnings.
6642         (get_network_done): Remove newline, nm_info() does it already.
6643         (real_act_stage1_prepare): Turn the modem echo off.
6644
6645         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): In case of serial
6646         device, set the route to the device interface. This is a hack.
6647
6648         * src/nm-serial-device.c (nm_serial_device_send_command_string): Only append carriage 
6649         return, no need for a new-line.
6650         (ppp_ip4_config): Store the ip4 config to be set in the next stage.
6651         Change the device iface here (ugh).
6652         (real_act_stage4_get_ip4_config): Implement.
6653         (real_deactivate_quickly): Free the pending ip4 config if it's still pending.
6654         Restore the device iface.
6655
6656         * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Do nothing if the active
6657         device is not wired or wireless (eg, automatically upped) device.
6658
6659         * src/ppp-manager/nm-ppp-manager.c (ip4_config_get): Don't make the config secondary,
6660         it isn't.
6661         (nm_ppp_manager_start): Don't let pppd to set the default route, we want to do it.
6662
6663         * src/nm-hal-manager.c (get_creator): Make sure the device has required capability
6664         before calling it's is_device_fn().
6665
6666 2007-12-05  Dan Williams  <dcbw@redhat.com>
6667
6668         * libnm-util/nm-utils.c
6669                 - (nm_utils_register_value_transformations,
6670                    nm_utils_convert_gvalue_hash_to_string): better debug output of
6671                         GHashTables of GValues too
6672
6673 2007-12-04  Dan Williams  <dcbw@redhat.com>
6674
6675         * initscript/RedHat/NetworkManager.in
6676                 - No longer start named; it's D-Bus interface is going away
6677
6678 2007-12-04  Dan Williams  <dcbw@redhat.com>
6679
6680         Patch from Michael Biebl <biebl@debian.org>
6681
6682         * system-settings/plugins/ifcfg/Makefile.am
6683           system-settings/src/main.c
6684           system-settings/src/Makefile.am
6685                 - Put system settings plugins in NM plugins dir
6686
6687         * src/ppp-manager/Makefile.am
6688           src/ppp-manager/nm-ppp-manager.c
6689                 - Move pppd plugin to NM plugins dir
6690
6691 2007-12-04  Dan Williams  <dcbw@redhat.com>
6692
6693         * libnm-util/nm-setting-vpn-properties.h
6694                 - Clarify usage of the 'data' member of the setting
6695
6696         * libnm-util/nm-setting-vpn-properties.c
6697                 - (nm_setting_vpn_properties_init): initialize the 'data' hash table
6698                 - (set_property): just remove all the settings; don't recreate the has
6699                 - (update_one_secret): don't need to create the hash table here since
6700                         it should always be present
6701
6702 2007-12-03  Tambet Ingo  <tambet@gmail.com>
6703
6704         Implement PIN and PUK requesting.
6705
6706         * src/nm-umts-device.c (enter_pin_done): Request the secret again if it failed.
6707         (enter_pin): Handle PIN and PUK requests.
6708         (real_act_stage1_prepare): Clear the secret type.
6709         (real_connection_secrets_updated): Implement this class method to get
6710         notified when new secrets arrive.
6711         (nm_umts_device_class_init): Add private data back to the umts device class
6712         to store the required secret type.
6713
6714 2007-12-01  Dan Williams  <dcbw@redhat.com>
6715
6716         * system-settings/plugins/ifcfg/parser.c
6717                 - (parser_parse_file): don't try to verify NULL connections
6718
6719 2007-12-01  Dan Williams  <dcbw@redhat.com>
6720
6721         * system-settings/src/main.c
6722                 - (load_connections, add_connection_to_settings): actually export
6723                         plugin-provided connections over D-Bus so NM can get them
6724
6725 2007-12-01  Dan Williams  <dcbw@redhat.com>
6726
6727         * system-settings/plugins/ifcfg/parser.c
6728           system-settings/plugins/ifcfg/parser.h
6729           system-settings/plugins/ifcfg/plugin.c
6730                 - Hook up more inotify bits (untested)
6731
6732 2007-11-29  Dan Williams  <dcbw@redhat.com>
6733
6734         * system-settings/src/nm-system-config-interface.h
6735           system-settings/src/nm-system-config-interface.c
6736                 - (nm_system_config_interface_init,
6737                    nm_system_config_interface_get_connections): add
6738
6739         * system-settings/src/main.c
6740                 - (load_plugins, load_connections, main): use a GSList for plugins
6741                         to ensure priority ordering
6742
6743         * system-settings/plugins/ifcfg/parser.c
6744                 - (ifcfg_error_quark): move to plugin.c, and rename
6745
6746         * system-settings/plugins/ifcfg/plugin.h
6747           system-settings/plugins/ifcfg/plugin.c
6748                 - (ifcfg_plugin_error_quark): move here from parser.c
6749                 - rework connection loading and initialization
6750                 - Add preliminary inotify support for network profile config file
6751
6752 2007-11-28  Tambet Ingo  <tambet@gmail.com>
6753
6754         Merge the beginnings of the new GSM card support.
6755
6756         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Remove the
6757         ppp watch source before killing pppd - If this happens from g_object_unref()
6758         then the ppp manager is already destroyed by the time the watch callback runs.
6759
6760         * src/nm-hal-manager.c: Add a device_type_name string to the device
6761         creators, so that we can print a nice human readable string when a
6762         device is added.
6763
6764         * src/nm-umts-device.c (automatic_registration_get_network): Query
6765         for the activated network, not much is done with the result thought.
6766
6767         * src/nm-serial-device.c (nm_serial_device_get_reply): Implement.
6768         (ppp_ip4_config): Change the device state to activated here for now.
6769         (real_check_connection): Make sure the connection includes ppp setting.
6770
6771         * libnm-glib/nm-client.c (get_device): Handle umts devices.
6772
6773         * libnm-glib/Makefile.am: Add the new files to build.
6774
6775         * libnm-glib/nm-umts-device.c: 
6776         * libnm-glib/nm-umts-device.h: Implement.
6777
6778 2007-11-26  Tambet Ingo  <tambet@gmail.com>
6779
6780         * src/nm-umts-device.c (automatic_registration_get_network): For now, dial
6781         immediately, nm_serial_device_get_reply() isn't implemented correctly yet.
6782
6783         * src/nm-serial-device.c (wait_for_reply_info_destroy): Don't try to remove
6784         the timeout source - this function is only called when the timeout source has
6785         been removed.
6786         (nm_serial_device_wait_for_reply): Allocate the duplicate responses array
6787         to be big enough to contain the terminating zero element as well.
6788         The timeout argument is meant to be in seconds now.
6789         (real_deactivate_quickly): Implement.
6790
6791         * src/NetworkManager.conf: Allow root to own 
6792         "org.freedesktop.NetworkManager.PPP", deny it for everybody else.
6793
6794         * libnm-util/nm-setting-umts.c: Network type and band properties are ints,
6795         (not unsigned ints).
6796
6797         * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Fix a 
6798         small issue with parity bounds - capital letters have lower ascii codes
6799         than lower case letters.
6800
6801         * libnm-util/nm-connection.c (register_default_settings): Register serial
6802         and umts settings.
6803
6804 2007-11-22  Tambet Ingo  <tambet@gmail.com>
6805
6806         Remove the "index" property from devices as not all device types have this.
6807
6808         * include/NetworkManager.h (NM_DBUS_PATH_DEVICE): Remove.
6809
6810         * src/nm-hal-manager.c (nm_get_device_index_from_hal): Remove.
6811         (wired_device_creator): Get the device interface from hal to create the device.
6812         (wireless_device_creator): Ditto.
6813
6814         * src/nm-device.c (nm_device_init): Remove the index member.
6815         (constructor): Remove the checks for index property, make interface property
6816         a require constructor property.
6817         Use the HAL udi for DBus path for devices.
6818         (nm_device_get_index): Remove.
6819         (set_property): Remove index handling.
6820         (get_property): Ditto.
6821         (nm_device_get_dbus_path): Remove.
6822
6823         * src/nm-device-interface.c (nm_device_interface_init): Remove the index
6824         property.
6825
6826         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_link_activated):
6827         Access the device index through it's interface.
6828         (nm_device_802_3_ethernet_link_deactivated): Ditto.
6829         (nm_device_802_3_ethernet_new): Remove the useless argument test_dev. Remove
6830         index argument. Add interface argument.
6831
6832         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new): Remove
6833         the useless test_dev argument. Remove index argument. Add interface arugment.
6834
6835         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Get the
6836         device index through interface.
6837         (nm_system_set_mtu): Ditto.
6838
6839         * introspection/nm-device.xml: Remove the "Index" property.
6840
6841 2007-11-21  Tambet Ingo  <tambet@gmail.com>
6842
6843         * src/nm-serial-device.c: 
6844         * src/nm-serial-device.c: 
6845         * src/nm-umts-device.c:
6846         * src/nm-umts-device.h: Implement.
6847
6848         * src/nm-hal-manager.c (nm_get_device_driver_name): libhal_free_string the string 
6849         allocated by libhal.
6850         (modem_device_creator): Implement.
6851         (register_built_in_creators): Register the modem creator.
6852
6853         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new): 
6854         Remove the unused test_dev argument.
6855
6856         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_new): Ditto.
6857
6858         * src/Makefile.am: Add new files to build.
6859         Link in ppp-manager.
6860
6861         * libnm-util/nm-setting-umts.c: 
6862         * libnm-util/nm-setting-umts.h: 
6863         * libnm-util/nm-setting-serial.c: 
6864         * libnm-util/nm-setting-serial.h: Implement.
6865
6866         * libnm-util/Makefile.am: Add new files to build.
6867
6868 2007-11-28  Dan Williams  <dcbw@redhat.com>
6869
6870         Patch from Zdeněk Jurka <zdenek.jurka@jware.cz>
6871
6872         Support DHCP-provided static routes.
6873
6874         * src/nm-ip4-config.h
6875           src/nm-ip4-config.c
6876                 - Add get/set functions for static routes
6877
6878         * src/dhcp-manager/nm-dhcp-manager.c
6879                 - (nm_dhcp_manager_get_ip4_config): extract static routes from the
6880                         DHCP response
6881
6882         * src/NetworkManagerSystem.c
6883                 - (nm_system_device_set_from_ip4_config): set any static routes on the
6884                         interface when applying the IP4Config
6885
6886 2007-11-28  Dan Williams  <dcbw@redhat.com>
6887
6888         * src/nm-device-802-11-wireless.c
6889                 - (real_act_stage1_prepare): mark APs created for hidden networks
6890                         as non-broadcasting
6891
6892 2007-11-27  Dan Williams  <dcbw@redhat.com>
6893
6894         * system-settings/src/nm-system-config-interface.h
6895                 - Note how to store secrets on NMSetting objects
6896
6897         * system-settings/src/dbus-settings.c
6898                 - (connection_settings_get_secrets): implement
6899
6900 2007-11-27  Dan Williams  <dcbw@redhat.com>
6901
6902         * system-settings/plugins/ifcfg/Makefile.am
6903           system-settings/plugins/ifcfg/parser.c
6904           system-settings/plugins/ifcfg/parser.h
6905           system-settings/plugins/ifcfg/plugin.c
6906                 - Parse wireless connections too
6907
6908         * system-settings/src/dbus-settings.c
6909           system-settings/src/dbus-settings.h
6910           system-settings/src/main.c
6911                 - Handle connection update/removal if the plugin supports it
6912
6913 2007-11-27  Dan Williams  <dcbw@redhat.com>
6914
6915         * src/nm-dbus-manager.h
6916           src/nm-hal-manager.c
6917                 - Include the correct headers now that NetworkManagerDbusUtils.h doesn't
6918                         do it for them
6919
6920         * src/Makefile.am
6921           src/NetworkManagerDbusUtils.c
6922           src/NetworkManagerDbusUtils.h
6923                 - Remove these two source files; they are unused
6924
6925 2007-11-27  Dan Williams  <dcbw@redhat.com>
6926
6927         * src/vpn-manager/nm-vpn-manager.c
6928                 - (impl_vpn_manager_connect): fix system settings check (found by
6929                         James M. Leddy)
6930
6931 2007-11-26  Dan Williams  <dcbw@redhat.com>
6932
6933         * Fix warnings so everything compiles with --enable-more-warnings
6934
6935 2007-11-25  Dan Williams  <dcbw@redhat.com>
6936
6937         * system-settings/*
6938                 - Rework structure and code to use GModule-loaded plugins and a plugin
6939                         interface that plugins export to the system settings service
6940
6941 2007-11-21  Dan Williams  <dcbw@redhat.com>
6942
6943         * system-settings/*
6944                 - Add Soren's system settings service.  Needs work for distros other
6945                         than Fedora; the backends from NM should mostly migrate to here
6946                         and be converted to GObjects
6947
6948 2007-11-21  Dan Williams  <dcbw@redhat.com>
6949
6950         * libnm-util/nm-setting-vpn-properties.c
6951                 - (set_property): must deep-copy the given settings hash, otherwise
6952                         double-free errors occur when the setting is disposed of
6953
6954 2007-11-21  Dan Williams  <dcbw@redhat.com>
6955
6956         * src/vpn-manager/nm-vpn-act-request.h
6957           src/vpn-manager/nm-vpn-act-request.c
6958                 - Remove; unused
6959
6960 2007-11-20  Dan Williams  <dcbw@redhat.com>
6961
6962         * libnm-util/nm-utils.c
6963                 - (nm_utils_convert_strv_to_string, nm_utils_convert_uint_array_to_string,
6964                    nm_utils_convert_ip4_addr_struct_array_to_string,
6965                    nm_utils_register_value_transformations): print out the readable
6966                         values of more types of properties of NMSettings subclasses
6967
6968 2007-11-20  Dan Williams  <dcbw@redhat.com>
6969
6970         * libnm-util/nm-setting-ip4-config.c
6971                 - (ip4_addresses_from_gvalue, ip4_addresses_to_gvalue,
6972                    nm_setting_ip4_config_class_init): apparently dbus-glib can't
6973                         marshal GValueArrays inside collections, so switch to types that it
6974                         can actually marshal/demarshal
6975
6976 2007-11-16  Dan Williams  <dcbw@redhat.com>
6977
6978         * libnm-util/nm-setting-wireless-security.c
6979                 - (verify_tls, verify_ttls, verify_identity, verify_nai): do some
6980                         minimal verification of EAP methods too
6981                 - (verify): verify phase1 eap methods too
6982
6983 2007-11-15  Dan Williams  <dcbw@redhat.com>
6984
6985         * libnm-glib/nm-device.h
6986           libnm-glib/nm-device.c
6987                 - (nm_device_get_product, nm_device_get_vendor): should be returning
6988                         const char *
6989
6990 2007-11-15  Dan Williams  <dcbw@redhat.com>
6991
6992         * libnm-glib/nm-device.c
6993                 - (get_product_and_vendor): don't try to free things that should be
6994                         freed
6995
6996 2007-11-15  Dan Williams  <dcbw@redhat.com>
6997
6998         * src/NetworkManagerUtils.c
6999                 - (nm_ethernet_address_is_valid): unbreak previous fix
7000
7001 2007-11-15  Dan Williams  <dcbw@redhat.com>
7002
7003         * src/supplicant-manager/nm-supplicant-config.c
7004                 - (nm_supplicant_config_add_setting_wireless_security): handle PEAP
7005                         options
7006
7007 2007-11-15  Dan Williams  <dcbw@redhat.com>
7008
7009         * src/NetworkManagerUtils.c
7010                 - (nm_ethernet_address_is_valid): fix style, clarify
7011                 - (nm_ethernet_addresses_are_equal): don't try to memcmp NULLs
7012
7013         * src/nm-device-802-11-wireless.c
7014                 - (get_active_ap): handle failure from nm_device_802_11_wireless_get_bssid()
7015                 - (nm_device_802_11_wireless_get_ssid,
7016                    nm_device_802_11_wireless_get_bssid,
7017                    nm_device_802_11_wireless_get_bitrate): zero the wreq structure
7018                         before calling the ioctl; fixes valgrind-reported jump depends on
7019                         uninitialized value errors
7020
7021 2007-11-15  Dan Williams  <dcbw@redhat.com>
7022
7023         * libnm-util/nm-setting.c
7024                 - (nm_setting_to_hash, one_property_cb): revert previous commit, it's
7025                         unecessary to serialize 'name'
7026
7027         * src/nm-activation-request.c
7028                 - (get_secrets_cb): fix cases where a full NMSetting is returned from
7029                         the GetSecrets call
7030
7031 2007-11-15  Dan Williams  <dcbw@redhat.com>
7032
7033         * libnm-util/nm-setting-connection.h
7034           libnm-util/nm-setting-connection.c
7035                 - Rename the 'name' property to 'id', because it conflicted with the
7036                         NMSetting superclass' 'name' property.
7037
7038         * libnm-util/nm-setting.c
7039                 - (nm_setting_to_hash): serialize the 'name' property
7040                 - (one_property_cb): ignore 'name' on deserialization of a connection
7041
7042         * src/nm-device-802-11-wireless.c
7043           src/vpn-manager/nm-vpn-connection.c
7044           src/NetworkManagerPolicy.c
7045                 - Fix up for NMSettingConnection 'name'->'id' changes
7046
7047 2007-11-13  Dan Williams  <dcbw@redhat.com>
7048
7049         * libnm-glib/nm-device-802-11-wireless.h
7050           libnm-glib/nm-device-802-11-wireless.c
7051                 - (nm_device_802_11_wireless_get_hw_address): return should be const
7052
7053         * test/nm-tool.c
7054           libnm-glib/libnm-glib-test.c
7055                 - Fixes for above change
7056
7057 2007-11-12  Dan Williams  <dcbw@redhat.com>
7058
7059         * src/supplicant-manager/nm-supplicant-settings-verify.c
7060                 - Allow fragment_size option
7061
7062         * src/supplicant-manager/nm-supplicant-settings-verify.c
7063                 - (nm_supplicant_config_add_setting_wireless_security): use a lower
7064                         EAP fragment size than the default to help some TLS connections
7065
7066 2007-11-12  Dan Williams  <dcbw@redhat.com>
7067
7068         Make certs actually work.  The private key is now a secret, and should be
7069         decrypted when requested by NM.  The private key and phase2 private key
7070         passwords are no longer interesting to NM because they should be used by
7071         the settings service to decrypt the private key itself before passing it
7072         to NM, and hence have been removed as fields.
7073
7074         * libnm-util/nm-setting-wireless-security.h
7075           libnm-util/nm-setting-wireless-security.c
7076                 - Remove private-key-passwd and phase2-private-key-passwd from
7077                         properties
7078                 - (need_secrets_password, need_secrets_eappsk, need_secrets_sim,
7079                    need_secrets): use property #defines instead strings to keep things
7080                         consistent
7081                 - (need_secrets_tls): if a client certificate is present but no
7082                         private key, request the private key
7083                 - (set_property, get_property, nm_setting_wireless_security_class_init):
7084                         remove private key password stuff, mark private keys as secret
7085
7086         * src/supplicant-manager/nm-supplicant-settings-verify.c
7087                 - Remove private_key_passwd and private_key2_passwd from opt_table
7088
7089 2007-11-09  Dan Williams  <dcbw@redhat.com>
7090
7091         Fix vpn-properties setting update_secrets call for new NMSetting stuff.
7092         Since the vpn-properties are managed and known by the VPN daemons themselves,
7093         libnm-util doesn't know what's secret and what's in the setting's 'data'
7094         member.
7095
7096         * libnm-util/nm-setting.h
7097           libnm-util/nm-setting.c
7098                 - Add the ability for subclasses to override update_one_secret
7099
7100         * libnm-util/nm-setting-vpn-properties.c
7101                 - Override update_one_secret and just copy the values into the
7102                         internal table
7103
7104 2007-11-09  Dan Williams  <dcbw@redhat.com>
7105
7106         * libnm-glib/nm-settings.h
7107           libnm-glib/nm-settings.c
7108                 - (nm_settings_new_error): remove
7109                 - (nm_settings_error_quark): add; instead of nm_settings_new_error,
7110                         clients should use g_set_error() with NM_SETTINGS_ERROR
7111
7112 2007-11-09  Dan Williams  <dcbw@redhat.com>
7113
7114         * src/supplicant-manager/nm-supplicant-config.c
7115                 - (nm_supplicant_config_add_setting_wireless_security): private key
7116                         passwords are never sent to wpa_supplicant, because the supplicant
7117                         should never be reading random files from the disk.  Clients like
7118                         the applet are required to decrypt the private keys and send NM
7119                         the decrypted blobs.
7120
7121 2007-11-08  Dan Williams  <dcbw@redhat.com>
7122
7123         * libnm-util/nm-setting-wireless-security.h
7124           libnm-util/nm-setting-wireless-security.c
7125                 - Add 'private-key-decrypted' and 'phase2-private-key-decrypted'
7126                         members to 802-11-wireless-security structure.  This should be used
7127                         to indicate that the values in private-key and phase2-private-key
7128                         are already decrypted by the user agent, and that no
7129                         private-key-passwd or phase2-private-key-passwd should be expected.
7130                         It is not meant to be a stored configuration value, but meant to
7131                         be set when the conneciton is sent to NM over dbus.
7132
7133 2007-11-08  Dan Williams  <dcbw@redhat.com>
7134
7135         * libnm-util/nm-connection.h
7136           libnm-util/nm-connection.c
7137                 - (nm_connection_need_secrets): add argument to return hints
7138
7139         * src/nm-device-802-11-wireless.c
7140                 - (link_timeout_cb, supplicant_connection_timeout_cb,
7141                    real_act_stage2_config, real_act_stage4_ip_config_timeout): handle
7142                         nm_connection_need_secrets() change
7143
7144 2007-11-07  Tambet Ingo  <tambet@gmail.com>
7145
7146         Rework NMSetting structures: Move each setting to it's own file.
7147         Convert to GObject. Remove home grown setting types and use GTypes.
7148         Use GObject property introspection for hash conversion, enumerating
7149         properties, etc.
7150
7151         * libnm-util/nm-setting-connection.[ch]
7152         * libnm-util/nm-setting-ip4-config.[ch]
7153         * libnm-util/nm-setting-ppp.[ch]
7154         * libnm-util/nm-setting-vpn.[ch]
7155         * libnm-util/nm-setting-vpn-properties.[ch]
7156         * libnm-util/nm-setting-wired.[ch]
7157         * libnm-util/nm-setting-wireless.[ch]
7158         * libnm-util/nm-setting-wireless-security.[ch]
7159
7160         New files, each containing a setting.
7161
7162         * libnm-util/nm-setting-template.[ch]: A template for creating new
7163         settings. To use it, just replace 'template' with the new setting
7164         name, and you're half-way done.
7165
7166         * libnm-util/nm-setting.c: Convert to GObject and use GObject
7167         introspection instead of internal types and tables.
7168
7169         * libnm-util/nm-connection.c: Adapt the new NMSetting work.
7170
7171         * libnm-util/nm-param-spec-specialized.[ch]: Implement. Handles
7172         GValue types defined by dbus-glib for composed types like collections,
7173         structures and maps.
7174
7175         * src/*: The API of NMSetting and NMConnection changed a bit: Getting
7176         a setting from connection takes the setting type now. Also, since
7177         the settings are in multiple files, include relevant settings.
7178
7179 2007-10-31  Saleem Abdulrasool <compnerd@compnerd.org>
7180
7181         * configure.in:
7182         * src/backends/NetworkManagerGentoo.c:
7183         (nm_system_restart_mdns_responder): Implement restarts for other mdns
7184         providers in Gentoo.
7185
7186 2007-10-31  Dan Williams  <dcbw@redhat.com>
7187
7188         * libnm-util/nm-connection.c
7189                 - (gvalue_to_string): handle UINT32 arrays
7190
7191 2007-10-31  Dan Williams  <dcbw@redhat.com>
7192
7193         * libnm-glib/nm-device.h
7194           libnm-glib/nm-device.c
7195                 - (nm_device_get_description): remove
7196                 - (nm_device_get_product, nm_device_get_vendor): add
7197                 - (nm_device_update_description): new function (private); walk HAL
7198                         devices to get product and vendor IDs for a specific device
7199
7200 2007-10-31  Dan Williams  <dcbw@redhat.com>
7201
7202         * src/nm-device-802-11-wireless.c
7203                 - (nm_device_802_11_wireless_get_mode): ignore ENODEV errors
7204
7205 2007-10-29  Dan Williams  <dcbw@redhat.com>
7206
7207         * src/nm-hal-manager.c
7208                 - (device_added, device_new_capability): ignore device additions while
7209                         asleep.  Fixes crash caused when NM goes to sleep, a network device
7210                         kernel module is unloaded and reloaded and recognized by NM again.
7211
7212 2007-10-26  Dan Williams  <dcbw@redhat.com>
7213
7214         Patch from Helmut Schaa <hschaa@suse.de> (and more bits from me)
7215
7216         * src/NetworkManagerAP.c
7217           src/NetworkManagerAP.h
7218           libnm-glib/nm-access-point.c
7219           libnm-glib/nm-access-point.h
7220                 - Make 'rate' property a guint32 to better match with WEXT and
7221                         wpa_supplicant and to allow representation of higher bitrates
7222
7223         * src/nm-device-802-11-wireless.c
7224           introspection/nm-device-802-11-wireless.xml
7225           libnm-glib/nm-device-802-11-wireless.c
7226           libnm-glib/nm-device-802-11-wireless.h
7227                 - Make 'bitrate' property a guint32 to match AP 'rate' property type
7228
7229         * src/nm-device-802-3-ethernet.c
7230           src/nm-device-802-3-ethernet.h
7231           introspection/nm-device-802-3-ethernet.xml
7232           libnm-glib/nm-device-802-3-ethernet.c
7233           libnm-glib/nm-device-802-3-ethernet.h
7234                 - Make 'speed' property a guint32 to match other speed/rate types
7235                 - Make nm_device_802_3_ethernet_get_speed() static
7236
7237         * test/nm-tool.c
7238                 - Update for the changes above
7239
7240 2007-10-26  Dan Williams  <dcbw@redhat.com>
7241
7242         * src/named-manager/nm-named-manager.c
7243                 - (rewrite_resolv_conf): clean up error handling to avoid double-free by
7244                     not calling fclose() twice on some error conditions
7245
7246 2007-10-26  Dan Williams  <dcbw@redhat.com>
7247
7248         * src/nm-activation-request.c
7249                 - (dispose): clean up indentation; get the right DBusGProxy object to
7250                         cancel the GetSecrets pending call on.  Need to use the Secrets
7251                         proxy, not the regular connection proxy.  Otherwise the GetSecrets
7252                         pending call doesn't get canceled, and pressing Cancel in the
7253                         applet's password dialog could cause get_secrets_cb() to be called
7254                         after the activation request has already been destroyed
7255
7256 2007-10-24  Dan Williams  <dcbw@redhat.com>
7257
7258         * src/supplicant-manager/nm-supplicant-config.c
7259                 - (nm_supplicant_config_add_blob): pass blob data and length for
7260                         verification
7261                 - (get_hash_cb): use GByteArrays rather than GArrays; easier to follow
7262
7263 2007-10-24  Dan Williams  <dcbw@redhat.com>
7264
7265         * src/supplicant-manager/nm-supplicant-settings-verify.c
7266                 - (opt_table): max length for certificates should be 65536
7267
7268 2007-10-24  Dan Williams  <dcbw@redhat.com>
7269
7270         * src/supplicant-manager/nm-supplicant-interface.c
7271                 - (blob_free): correctly free blob data after use
7272                 - (call_set_blobs): use the right D-Bus interfaace for setBlobs
7273
7274 2007-10-24  Dan Williams  <dcbw@redhat.com>
7275
7276         * libnm-util/nm-setting.c
7277                 - (setting_wireless_security_need_secrets): Fix lookup table logic for
7278                         EAP method need secrets
7279
7280 2007-10-24  Dan Williams  <dcbw@redhat.com>
7281
7282         * src/backends/NetworkManagerRedHat.c
7283                 - (nm_system_update_dns): be a lot smarter about telling nscd to restart
7284
7285 2007-10-23  Dan Williams  <dcbw@redhat.com>
7286
7287         * libnm-util/nm-setting.c
7288           libnm-util/nm-setting.c
7289                 - (nm_setting_compare): implement
7290                 - (default_setting_compare_fn, do_one_compare, compare_gvalue_hash,
7291                    compare_one_hash_gvalue): compare the contents of a setting
7292
7293         * libnm-util/nm-connection.c
7294                 - (nm_connection_compare): implement
7295
7296 2007-10-23  Dan Williams  <dcbw@redhat.com>
7297
7298         * src/nm-activation-request.c
7299                 - (get_secrets_cb): handle getting a setting back that is more than
7300                         just secrets (ie, user changed auth or EAP method or something)
7301
7302 2007-10-23  Dan Williams  <dcbw@redhat.com>
7303
7304         * libnm-util/nm-setting.c
7305           libnm-util/nm-setting.h
7306                 - (nm_setting_verify): new function; verify one setting
7307                 - (nm_settings_verify_all): rename from nm_settings_verify()
7308                 - (setting_connection_verify, setting_wireless_verify): allow NULL
7309                         all_settings
7310
7311         * libnm-util/nm-connection.c
7312                 - (nm_connection_replace_settings, nm_connection_verify,
7313                    nm_connection_new_from_hash): handle nm_settings_verify() rename
7314
7315 2007-10-23  Dan Williams  <dcbw@redhat.com>
7316
7317         * src/nm-device-802-11-wireless.c
7318                 - (real_act_stage2_config): use pre-increment on 'tries' to get the
7319                         desired behavior
7320
7321 2007-10-23  Dan Williams  <dcbw@redhat.com>
7322
7323         * src/supplicant-manager/nm-supplicant-settings-verify.c
7324                 - eap_allowed, phase2_allowed: harmonize with allowed values from
7325                         nm-settings.c
7326
7327 2007-10-23  Dan Williams  <dcbw@redhat.com>
7328
7329         * src/nm-device-802-11-wireless.c
7330                 - (real_act_stage2_config): after the first association failure,
7331                         if the connection still needs secrets ask the user for them
7332                         explicitly.  After the fourth association failure due to bad
7333                         secrets, fail the connection entirely.  Handles the GetSecrets
7334                         loop that NM gets into when the provided secrets don't match up
7335                         with the connection details.
7336
7337 2007-10-23  Dan Williams  <dcbw@redhat.com>
7338
7339         * src/supplicant-manager/nm-supplicant-config.c
7340                 - (nm_supplicant_config_add_setting_wireless_security): only add
7341                         WPA-specific options when WPA is in use
7342
7343 2007-10-23  Dan Williams  <dcbw@redhat.com>
7344
7345         * src/supplicant-manager/nm-supplicant-config.c
7346                 - (nm_supplicant_config_add_setting_wireless_security): 'password'
7347                         secret doesn't need to be unhexified
7348
7349 2007-10-23  Dan Williams  <dcbw@redhat.com>
7350
7351         * libnm-util/nm-setting.c
7352                 - (setting_wireless_security_need_secrets): ensure auth_alg is !NULL
7353                         before trying to do something with it
7354
7355 2007-10-23  Dan Williams  <dcbw@redhat.com>
7356
7357         * src/nm-device-802-11-wireless.c
7358                 - (merge_scanned_ap): handle NULL ssids returned from nm_ap_get_ssid()
7359
7360 2007-10-23  Dan Williams  <dcbw@redhat.com>
7361
7362         * src/nm-device-802-11-wireless.c
7363                 - (merge_scanned_ap): use libnm-util empty SSID check to catch more
7364                         non-SSID-broadcasting APs
7365
7366 2007-10-23  Dan Williams  <dcbw@redhat.com>
7367
7368         * src/NetworkManagerAP.c
7369                 - (match_cipher, security_compatible): remove
7370                 - (nm_ap_check_compatible): use nm_utils_ap_security_compatible() from
7371                         libnm-util instead
7372
7373 2007-10-23  Dan Williams  <dcbw@redhat.com>
7374
7375         * libnm-util/nm-utils.c
7376           libnm-util/nm-utils.h
7377                 - (nm_utils_ap_security_compatible): common function for checking
7378                         whether a specific AP is compatible with an NMConnection
7379
7380 2007-10-23  Dan Williams  <dcbw@redhat.com>
7381
7382         * libnm-util/nm-setting.c
7383                 - (setting_wireless_security_need_secrets, need_secrets_phase2,
7384                    need_secrets_tls, need_secrets_sim, need_secrets_eappsk,
7385                    need_secrets_password, setting_wireless_security_verify): fix
7386                         need_secrets for IEEE 802.1x and WPA-EAP by implementing need
7387                         secrets logic for each supported EAP method
7388
7389 2007-10-23  Dan Williams  <dcbw@redhat.com>
7390
7391         * src/supplicant-manager/nm-supplicant-config.c
7392                 - (nm_supplicant_config_add_setting_wireless_security): fix wpa_supplicant
7393                         config option name, should be "private_key2_passwd"
7394
7395 2007-10-22  Tambet Ingo  <tambet@gmail.com>
7396
7397         Implement support for static IP addresses, additional/overridden DNS and
7398         DNS domain search lists.
7399
7400         * libnm-util/nm-setting.c (uint_array_to_gvalue): Implement.
7401         (ip4_addresses_to_gvalue): Implement.
7402         (convert_array_to_byte_array): Implement.
7403         (nm_setting_populate_from_hash_default): Handle NM_S_TYPE_UINT_ARRAY and
7404         NM_S_TYPE_IP4_ADDRESSES.
7405         (nm_setting_hash): Ditto.
7406         (default_setting_clear_secrets): Add a default case for the switch: IP address
7407         shouldn't be secret, ever.
7408         (setting_ip4_config_verify): Update, requires addresses in case of manual
7409         configurations.
7410         (setting_ip4_config_destroy): Free stuff.
7411
7412         * src/nm-device.c (merge_ip4_config): Implement.
7413         (real_act_stage4_get_ip4_config): Merge IP4 configuration from NMConnection.
7414
7415 2007-10-22  Dan Williams  <dcbw@redhat.com>
7416
7417         * libnm-util/nm-setting.c
7418                 - (setting_wireless_security_verify): allow WEP-40 and WEP-104 as
7419                         pairwise cipher options for Dynamic WEP
7420
7421 2007-10-21  Dan Williams  <dcbw@redhat.com>
7422
7423         * src/NetworkManagerAP.c
7424           src/NetworkManagerAP.h
7425                 - Rename 'articifical' -> 'fake' since that's what they are until
7426                         noticed in scans
7427                 - (nm_ap_new_fake_from_connection): new function to create a 'fake' AP
7428                         from the attributes in an NMConnection object
7429                 - (security_compatible): better handle Dynamic WEP and LEAP; handle
7430                         WPA Enterprise
7431                 - (nm_ap_match_in_list): find a matching AP in a scan list
7432
7433         * src/nm-device-802-11-wireless.c
7434                 - (get_active_ap): add an 'ignore_ap' argument to ignore a specific
7435                         AP when searching the scan list; match on frequency and mode too
7436                 - (nm_device_802_11_wireless_get_frequency): implement
7437                 - (merge_scanned_ap): replace duplicate matching logic with
7438                         nm_ap_match_in_list()
7439                 - (real_act_stage1_prepare): handle a NULL specific object; ie where
7440                         the user is trying to connect to a hidden network that is not yet
7441                         known from the scan list
7442                 - (activation_success_handler): now that the card knows the AP's BSSID,
7443                         there may already be a scanned AP in the scan list that is what
7444                         we really wanted to connect to, but didn't know at the time.  Use
7445                         that instead of the 'fake' AP created at activation start and get
7446                         rid of the 'fake' AP 
7447                 - (cull_scan_list): don't remove fake APs
7448
7449 2007-10-21  Dan Williams  <dcbw@redhat.com>
7450
7451         * src/nm-activation-request.h
7452           src/nm-activation-request.c
7453                 - (nm_act_request_set_specific_object): new function; allow setting the
7454                         specific object if one isn't set yet
7455
7456 2007-10-20  Dan Williams  <dcbw@redhat.com>
7457
7458         * src/supplicant-manager/nm-supplicant-config.h
7459           src/supplicant-manager/nm-supplicant-config.c
7460                 - (nm_supplicant_config_init, nm_supplicant_config_finalize): add a hash
7461                         table to store blobs
7462                 - (nm_supplicant_config_add_blob): new function; add blob to internal
7463                         blob hash table
7464                 - (nm_supplicant_config_get_blobs): new function; get stored blobs
7465                 - (nm_supplicant_config_add_setting_wireless_security): handle
7466                         options that use certificates (ie, blobs)
7467
7468         * src/nm-device-802-11-wireless.c
7469                 - (build_supplicant_config): pass a UID (just use the connection path)
7470                         to the supplicant config as now required
7471
7472         * src/supplicant-manager/nm-supplicant-interface.c
7473                 - (add_network_cb, call_set_blobs, set_blobs_cb, call_set_network): if
7474                         there are any blobs to send to wpa_supplicant, send those first
7475                         before sending the network configuration
7476
7477 2007-10-19  Dan Williams  <dcbw@redhat.com>
7478
7479         Split the GetSecrets() call off to a separate D-Bus interface so that it
7480         can be more easily locked down with D-Bus policy.  Only 'root' (ie, NM)
7481         should be able to call GetSecrets().
7482
7483         * include/NetworkManager.h
7484                 - Define the connection secrets D-Bus interface
7485
7486         * src/vpn-manager/nm-vpn-connection.c
7487                 - (clear_need_auth): get the right proxy object for the connection
7488                         secrets interface
7489                 - (get_connection_secrets): use the connection secrets proxy; send
7490                         empty hints in get secrets request
7491
7492         * src/nm-activation-request.c
7493                 - (nm_act_request_request_connection_secrets): use the connection
7494                         secrets proxy; send empty hints in get secrets request
7495
7496         * src/nm-manager.c
7497           src/nm-manager.h
7498                 - (connection_get_settings_cb): set the connection secrets proxy on
7499                         the connection object too
7500                 - (internal_new_connection_cb): create the connection secrets proxy
7501
7502         * introspection/nm-settings-connection.xml
7503                 - Define Connection.Secrets interface and move GetSecrets there
7504                 - Add a 'hints' argument to GetSecrets
7505
7506         * libnm-glib/nm-settings.c
7507           libnm-glib/nm-settings.h
7508                 - (impl_connection_settings_get_secrets): add 'hints' argument
7509
7510 2007-10-19  Dan Williams  <dcbw@redhat.com>
7511
7512         * src/nm-device.c
7513                 - (constructor): add message about what path a device is exported as
7514                         to help in debugging rh #339011
7515
7516 2007-10-17  Dan Williams  <dcbw@redhat.com>
7517
7518         * libnm-util/nm-utils.h
7519           libnm-util/nm-utils.c
7520                 - (nm_utils_security_valid): common function to help find the intersection
7521                         of capabilities of devices and (optionally) access points
7522
7523 2007-10-17  Dan Williams  <dcbw@redhat.com>
7524
7525         * src/nm-device-802-11-wireless.c
7526                 - (get_wireless_capabilities): add missing braces so that WPA capabilities
7527                         don't get erroneously cleared
7528
7529 2007-10-17  Dan Williams  <dcbw@redhat.com>
7530
7531         * src/nm-manager.h
7532           src/nm-manager.c
7533           src/nm-hal-manager.c
7534                 - (device_removed, finalize, nm_manager_remove_device,
7535                    nm_manager_sleep): add a 'deactivate' argument to 
7536                    nm_manager_remove_device() to fully deactivate devices when necessary
7537                    (ie, always except when waking up)
7538
7539 2007-10-16  Dan Williams  <dcbw@redhat.com>
7540
7541         * libnm-util/nm-setting.c
7542                 - (setting_wireless_security_verify): fix phase2_auth methods; 'sim'
7543                         also isn't valid phase2 autheap method
7544
7545 2007-10-16  Dan Williams  <dcbw@redhat.com>
7546
7547         * libnm-glib/nm-client.c
7548                 - (update_wireless_status): consolidate updates of wireless status
7549                 - (constructor): use update_wireless_status()
7550                 - (manager_running): set wireless status off when NM goes away; requery
7551                         the wireless status when NM comes back
7552
7553 2007-10-16  Dan Williams  <dcbw@redhat.com>
7554
7555         * libnm-glib/nm-client.c
7556                 - (nm_client_activate_device): actually use the fixed-up specific
7557                         object path
7558
7559 2007-10-16  Dan Williams  <dcbw@redhat.com>
7560
7561         * src/nm-hal-manager.c
7562                 - (killswitch_getpower_reply, nm_hal_manager_destroy): only print out
7563                         killswitch error messages once
7564
7565 2007-10-16  Dan Williams  <dcbw@redhat.com>
7566
7567         * src/nm-manager.c
7568                 - (manager_set_wireless_enabled): don't allow wireless to be enabled
7569                         if it's disabled in hardware; don't touch network devices while
7570                         NM is asleep
7571
7572 2007-10-16  Dan Williams  <dcbw@redhat.com>
7573
7574         * libnm-util/nm-client.c
7575                 - (nm_client_activate_device): convert NULL specific_object to "/",
7576                         which is used in place of NULL
7577
7578         * src/nm-manager.c
7579                 - (impl_manager_activate_device): convert "/" specific_object back into
7580                         NULL
7581
7582 2007-10-16  Tambet Ingo  <tambet@gmail.com>
7583
7584         Implement a generic NMSetting creator from setting name.
7585         While at it, get rid of all nm_setting_foo_new_from_hash() functions and
7586         add a virtual function 'populate_fn'.
7587
7588         * libnm-util/nm-connection.c (nm_connection_create_setting): Implement.
7589         (register_default_creators): Register setting creators instead of functions
7590         that create and then populate.
7591         (parse_one_setting): Use the common setting creator and then setting specific
7592         poplulation function.
7593
7594         * libnm-util/nm-setting.c: Get rid of nm_setting_foo_new_from_hash() functions,
7595         they all looked exactly the same.
7596         Add a 'populate_fn' virtual function to NMSetting.
7597         Use default virtual functions in case they are not overriden.
7598         (nm_setting_populate_from_hash): Implement.
7599
7600         * src/nm-device.c (real_act_stage3_ip_config_start): Don't hard code the setting
7601         name, use a defined string.
7602         (real_act_stage4_get_ip4_config): Ditto.
7603
7604 2007-10-16  Tambet Ingo  <tambet@gmail.com>
7605
7606         * src/nm-hal-manager.c (killswitch_getpower_reply): The type returned from
7607         HAL is int, not uint.
7608
7609 2007-10-15  Tambet Ingo  <tambet@gmail.com>
7610
7611         Implement killswitch polling through HAL.
7612
7613         * src/nm-manager.c: Add wireless hardware status property. Add 
7614         'properties-changed' signal for changes in wireless and wireless hardware
7615         state changes.
7616
7617         * src/nm-hal-manager.c: Poll hal for killswitch statuses in every 6 seconds
7618         and update NMManager's wireless hardware state when it has changed.
7619         (nm_hal_manager_new): Don't try to add initial devices here - (hal_init)
7620         already does that.
7621
7622         * libnm-glib/nm-client.c: Add wireless hardware status property. Cache the
7623         values of wireless state and wireless hardware state. Listen for the
7624         'properties-changed' signals, update the cached values and emit notify.
7625
7626         * include/NetworkManager.h: Fix a typo in a comment.
7627
7628 2007-10-14  Dan Williams  <dcbw@redhat.com>
7629
7630         * libnm-util/nm-setting.c
7631                 - (setting_wireless_security_need_secrets): handle LEAP secrets
7632
7633 2007-10-13  Dan Williams  <dcbw@redhat.com>
7634
7635         * libnm-util/nm-setting.h
7636           libnm-util/nm-setting.c
7637           src/supplicant-manager/nm-supplicant-config.c
7638                 - Make the 'proto' field of the 802-11-wireless-security field a
7639                         string list
7640
7641 2007-10-12  Tambet Ingo  <tambet@gmail.com>
7642
7643         Rework the "properties-changed" signal listening implementation.
7644         Add a generic implementation to NMObject class that listens for
7645         the signal and calls property setters of the target NMObject.
7646
7647         * libnm-glib/nm-object.c (nm_object_handle_properties_changed): Implement.
7648
7649         * libnm-glib/nm-device-802-11-wireless.c: Move the GObject consturction
7650         code to the end of file so that all the static functions are available
7651         without extra declarations.
7652         Remove the "properties-changed" signal handling and use the framework from
7653         NMObject.
7654         Implement property setters for properties that change with 
7655         "properties-changed" signal.
7656
7657         * libnm-glib/nm-access-point.c: Ditto.
7658
7659 2007-10-12  Tambet Ingo  <tambet@gmail.com>
7660
7661         Rework the "properties-changed" signal implementation.
7662         In classes that need to use it, just emit "GObject::notify" and the new
7663         framework takes care of the rest to make the signal available on dbus.
7664         The framework queues the notifications and tries to send as many together
7665         in one signal as possible.
7666
7667         * src/nm-properties-changed-signal.c:
7668         * src/nm-properties-changed-signal.h: Implement.
7669
7670         * src/Makefile.am: Add new files to build.
7671
7672         * src/NetworkManagerAP.c: Use the general framework for properties-changed
7673         signal.
7674
7675         * src/nm-device-802-11-wireless.c: Ditto.
7676
7677 2007-10-10  Dan Williams  <dcbw@redhat.com>
7678
7679         * src/nm-manager.c
7680                 - (wait_for_connection_expired): ensure info is valid
7681                 - (connection_added_default_handler): Should only remove pending
7682                         connection info when the manager has the connection that it's
7683                         waiting for.  Fixes segfault in wait_for_connection_info().  
7684
7685 2007-10-10  Dan Williams  <dcbw@redhat.com>
7686
7687         * libnm-util/nm-setting.c
7688           libnm-util/nm-setting.h
7689                 - Add a default 'user_name' field to the VPN setting, which VPN plugins
7690                         can use if they choose.  Should be filled in by the settings service
7691                         on-the-fly with the currently logged in user's username
7692
7693 2007-10-10  Dan Williams  <dcbw@redhat.com>
7694
7695         * src/nm-device-802-11-wireless.c
7696                 - (merge_scanned_ap): make sure non-SSID-broadcasting APs are marked
7697                         as such, because even if the manager fills in the SSID, NM still
7698                         has to indicate to wpa_supplicant that the AP isn't broadcasting
7699                         its SSID
7700
7701 2007-10-10  Tambet Ingo  <tambet@gmail.com>
7702
7703         Move ppp-manager over to dbus-glib. The big deal is that it was the last piece of
7704         code that used NM's own version of dbus signal handling and custom dictionary
7705         marshalling/unmarshalling. With this change, all that obsolete code can disappear
7706         and we get to maintain over 2000 lines less code.
7707
7708         * libnm-util/dbus-dict-helpers.c:
7709         * libnm-util/dbus-dict-helpers.h: Remove.
7710
7711         * src/ppp-manager/nm-pppd-plugin.c: Convert it to use dbus-glib.
7712
7713         * src/ppp-manager/nm-pppd-plugin.xml: Implement.
7714
7715         * src/ppp-manager/nm-ppp-manager.c: Use dbus-glib instead of home-brewed dbus signal
7716         handlers.
7717
7718         * src/nm-dbus-manager.c: Remove all the manual dbus signal handling.
7719
7720         * configure.in: Remove test/libnm-util/Makefile creation.
7721
7722         * test/Makefile.am: Remove libnm-util from SUBDIRS.
7723
7724         * test/libnm-util/: Remove the whole directory.
7725
7726 2007-10-10  Tambet Ingo  <tambet@gmail.com>
7727
7728         * src/NetworkManagerPolicy.c (nm_policy_new): Initialize the 
7729         device_state_changed_idle_id variable or it would contain some random value and the
7730         schedule_change_check calls would not do anything.
7731
7732 2007-10-09  Dan Williams  <dcbw@redhat.com>
7733
7734         * src/nm-device-802-11-wireless.c
7735                 - (supplicant_iface_scanned_ap_cb): set the non-broadcast flag elsewhere
7736                 - (merge_scanned_ap): only have the manager fill the SSID if the AP
7737                         isn't broadcasting its SSID; set the non-broadcast flag here; fix
7738                         merging of non-SSID-broadcasting APs
7739
7740 2007-10-09  Tambet Ingo  <tambet@gmail.com>
7741
7742         * libnm-util/nm-utils.c (nm_utils_is_empty_ssid): Convert the ssid type to
7743         "guint8 *" since it's usually used with GByteArray->data.
7744         (nm_utils_ssid_to_utf8): Add it back, the applet needs it.
7745
7746 2007-10-09  Tambet Ingo  <tambet@gmail.com>
7747
7748         * src/NetworkManagerUtils.c
7749         (nm_utils_is_empty_ssid):
7750         (nm_utils_escape_ssid):
7751         (nm_utils_same_ssid): Remove. These functions are copied and pasted in a 
7752         lot of places, so they belong to libnm-utils instead.
7753
7754         Now with 100% less compiler warnings:
7755
7756         * libnm-util/nm-utils.c (nm_dbus_escape_object_path): Remove, unused.
7757         (nm_dbus_unescape_object_path): Ditto.
7758         (nm_utils_ssid_to_utf8): Ditto.
7759         (nm_utils_is_empty_ssid): Move here from src/NetworkManagerUtils.c
7760         (nm_utils_escape_ssid): Ditto.
7761         (nm_utils_same_ssid): Ditto.
7762
7763         * src/nm-manager.c: Include 'netinet/ether.h' for ether_aton_r.
7764         (add_one_connection_element): Remove an unused variable.
7765         (impl_manager_get_active_connections): Ditto.
7766
7767         * src/NetworkManagerPolicy.c (get_device_connection): Remove an unused
7768         variable.
7769
7770         * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Remove a leftover
7771         from the previous commit.
7772
7773         * src/nm-device-802-11-wireless.c (set_current_ap): Remove unused variable.
7774         (real_act_stage1_prepare): Ditto.
7775         (activation_success_handler): Ditto.
7776         (get_property): Ditto.
7777
7778         * src/nm-device-802-3-ethernet.c (real_get_best_connection): Remove unused
7779         variable.
7780
7781         * src/ppp-manager/nm-pppd-plugin.c (nm_ip_up): Remove the check for 'ifname',
7782         it's always set.
7783
7784         * src/supplicant-manager/nm-supplicant-config.c 
7785         (nm_supplicant_config_add_setting_wireless): Cast the GByteArray's 'guint8 *'
7786         to expected "char *".
7787         (nm_supplicant_config_add_setting_wireless): Ditto.
7788         (nm_supplicant_config_remove_option): Remove, not used.
7789
7790         * libnm-glib/libnm-glib-test.c (dump_access_point): Frequency is a guint32,
7791         not double.
7792         (test_wireless_enabled): Ifdef out unused function.
7793         (device_deactivate): Ditto.
7794         (device_state_changed): Ditto.
7795         (nm_utils_is_empty_ssid): Remove, it's now in libnm-utils.
7796         (nm_utils_escape_ssid): Ditto.
7797
7798         * test/nm-tool.c (nm_utils_escape_ssid): Remove, it's now in libnm-utils.
7799         (nm_utils_is_empty_ssid): Ditto.
7800
7801         * libnm-glib/nm-client.c (nm_client_free_active_connection_element): Remove
7802         unused variable.
7803
7804         * libnm-util/nm-setting.c (setting_wireless_destroy): Remove unused variable.
7805         (setting_vpn_properties_update_secrets): Ditto.
7806         (int_to_gvalue): Ifdef out for now, not used.
7807         (byte_to_gvalue): Ditto.
7808
7809         * libnm-util/dbus-dict-helpers.c (_nmu_dbus_add_dict_entry_string_array): 
7810         Unused, remove.
7811
7812 2007-10-08  Tambet Ingo  <tambet@gmail.com>
7813
7814         * src/NetworkManager.c (main): When dbus manager doesn't want to start, complain
7815         about dbus manager, not named manager.
7816         Make sure hal_manager and dbus_mgr are created before trying to unreference.
7817
7818         * src/nm-dbus-manager.c: There was an issue with priv->proxy: We have a signal
7819         handler for it's 'destroy' signal - we use it to catch disconnects from dbus.
7820         However, the same signal is emitted when we destroy it and there's 
7821         nm_dbus_manager_cleanup -> destroy_cb -> nm_dbus_manager_cleanup cycle.
7822
7823         (nm_dbus_manager_cleanup): Let go of the DBusGProxy before
7824         releasing the DBusGConnection, since proxy needs a conneciton.
7825         (destroy_cb): Set the private proxy to NULL before cleaning up the manager.
7826
7827 2007-10-08  Dan Williams  <dcbw@redhat.com>
7828
7829         * src/NetworkManager.c
7830                 - (main): error on unknown command-line options
7831
7832 2007-10-08  Dan Williams  <dcbw@redhat.com>
7833
7834         Reimplement the invalid connection list.  Don't try to re-activate a
7835         connection that just failed or was canceled.
7836
7837         * src/nm-device.c
7838                 - (connection_secrets_failed_cb): fail device activation, don't just
7839                         deactivate the device.  Listeners have to know about the failure.
7840
7841         * src/NetworkManagerPolicy.c
7842                 - (nm_policy_auto_get_best_device): exclude invalid connections from
7843                         the connection list given to a device's get_best_connection()
7844                         method
7845                 - (device_state_changed): tag failed connections as invalid; clear the
7846                         tag from successful connections
7847
7848 2007-10-08  Dan Williams  <dcbw@redhat.com>
7849
7850         Fix problems with interrupted activation.  Previously, choosing an AP
7851         from the menu, then choosing another one before the first connection was
7852         successful wouldn't deactivate the device before starting the new connection
7853         on that same device.
7854
7855         * src/NetworkManagerPolicy.c
7856                 - (deactivate_old_device, device_state_changed, state_changed,
7857                    nm_policy_new): wrong place to deactivate old devices
7858
7859         * src/nm-manager.c
7860                 - (pending_connection_info_destroy, finalize,
7861                    wait_for_connection_expired): decouple destruction of the pending
7862                         connection info from the manager device
7863                 - (connection_added_default_handler): deactivate any active or
7864                         activating device before starting a new activation
7865                 - (impl_manager_activate_device): deactivate any active or activating
7866                         device before starting a new activation; be sure not to leak
7867                         pending connection info if a new activation request arrives but
7868                         there's already a pending one in-process
7869
7870 2007-10-08  Dan Williams  <dcbw@redhat.com>
7871
7872         * src/NetworkManagerAP.h
7873           src/NetworkManagerAP.c
7874                 - (nm_ap_has_manufacturer_default_ssid): remove, unused.  User clients
7875                         should handle default SSIDs and whether or not to autoconnect
7876                         to them
7877
7878 2007-10-08  Dan Williams  <dcbw@redhat.com>
7879
7880         * src/NetworkManagerPolicy.c
7881                 - (nm_policy_device_change_check): print out connection name where
7882                         possible
7883
7884 2007-10-08  Dan Williams  <dcbw@redhat.com>
7885
7886         * src/nm-device-802-11-wireless.c
7887           src/nm-device-802-11-wireless.h
7888                 - (nm_device_802_11_wireless_class_init, merge_scanned_ap): new
7889                         'hidden-ap-found' signal (for internal use only) that allows the
7890                         NMManager to fill in the AP's SSID if a connection has that AP's
7891                         BSSID in its seen-bssids list
7892
7893         * src/nm-manager.c
7894                 - (manager_hidden_ap_found, nm_manager_add_device): attach to a
7895                         wireless device's hidden-ap-found signal and fill in the APs SSID
7896                         if possible
7897
7898 2007-10-07  Dan Williams  <dcbw@redhat.com>
7899
7900         * src/nm-manager.c
7901           src/nm-manager.h
7902                 - Add a 'connections-added' signal to batch together updates of large
7903                         numbers of connections, like when reading from a settings service
7904                         the first time.  Otherwise, the policy would just activate the first
7905                         suitable connection it saw rather than waiting for the full list
7906                         to arrive.
7907                 - (nm_manager_class_init): register new signal
7908                 - (get_type_for_proxy, connection_get_settings_cb,
7909                    get_connection_for_proxy): centralize places where a proxy's setting
7910                         service is determined
7911                 - (free_get_settings_info): if the call being freed is the last call
7912                         in a pending call group, fire off the connections-added signal
7913                 - (internal_new_connection_cb): add call to a pending call group if
7914                         requested
7915                 - (list_connections_cb): always create a call group here, because this
7916                         call results in a batch of new connections
7917                 - (initial_get_connections): start getting system connections first
7918                 - (nm_manager_connections_destroy, emit_removed): actually emit the
7919                         removed signal when destroying connections
7920
7921         * src/NetworkManagerPolicy.c
7922                 - (nm_policy_new, connections_added): handle connections-added signal
7923                         from the manager
7924
7925 2007-10-06  Dan Williams  <dcbw@redhat.com>
7926
7927         * src/nm-device-802-11-wireless.c
7928                 - (constructor): fix leaked socket
7929
7930 2007-10-06  Dan Williams  <dcbw@redhat.com>
7931
7932         * src/NetworkManagerPolicy.c
7933                 - (nm_policy_auto_get_best_device): fix connection list reffing.  Each
7934                         connection in the list returned by nm_manager_get_connections() is
7935                         reffed, but they weren't getting unreffed before returning
7936
7937 2007-10-06  Dan Williams  <dcbw@redhat.com>
7938
7939         * src/nm-manager.c
7940                 - (connections_to_slist): sort connections first on autoconnect, then
7941                         on timestamp
7942
7943 2007-10-06  Dan Williams  <dcbw@redhat.com>
7944
7945         * libnm-util/nm-connection.c
7946                 - (gvalue_to_string): handle UINT64
7947
7948 2007-10-06  Dan Williams  <dcbw@redhat.com>
7949
7950         * src/NetworkManagerPolicy.c
7951                 - (connection_updated, nm_policy_new): recheck state when a connection
7952                         gets updated
7953
7954 2007-10-06  Dan Williams  <dcbw@redhat.com>
7955
7956         * src/nm-manager.c
7957           src/nm-manager.h
7958                 - (nm_manager_get_connection_dbus_path): make static
7959                 - (nm_manager_update_connections): remove; unused
7960                 - Add a connection-updated signal
7961                 - (new_connection_cb, connection_updated_cb, nm_manager_class_init):
7962                         handle connection object updates
7963
7964 2007-10-06  Dan Williams  <dcbw@redhat.com>
7965
7966         * src/NetworkManagerPolicy.c
7967                 - (connection_removed): deactivate removed connections
7968
7969 2007-10-06  Dan Williams  <dcbw@redhat.com>
7970
7971         * libnm-util/nm-connection.c
7972           libnm-util/nm-connection.h
7973                 - (nm_connection_replace_settings): new function
7974
7975 2007-10-06  Dan Williams  <dcbw@redhat.com>
7976
7977         * libnm-glib/nm-device-802-11-wireless.c
7978                 - (nm_device_802_11_wireless_get_active_access_point): don't segfault
7979                         on error when getting the active access point over D-Bus from NM
7980
7981 2007-10-05  Dan Williams  <dcbw@redhat.com>
7982
7983         * libnm-util/nm-setting.c
7984                 - (setting_wireless_verify, setting_wireless_destroy): add seen_bssids
7985                         to the NMSettingWireless table; it's now a string array not an array
7986                         of byte arrays
7987
7988 2007-10-05  Dan Williams  <dcbw@redhat.com>
7989
7990         * libnm-glib/nm-device-802-11-wireless.c
7991                 - Cache properties and update cached properties on D-Bus signals from NM
7992
7993 2007-10-05  Dan Williams  <dcbw@redhat.com>
7994
7995         * src/nm-device-802-11-wireless.c
7996                 - (set_current_ap): consolidate current_ap handling code into one place
7997                         to ensure that PropertiesChanged signals are emitted in all cases
7998                 - (periodic_update, real_deactivate_quickly, real_act_stage1_prepare,
7999                    nm_device_802_11_wireless_dispose): use set_current_ap()
8000
8001 2007-10-05  Dan Williams  <dcbw@redhat.com>
8002
8003         * libnm-glib/nm-access-point.c
8004           libnm-glib/nm-access-point.h
8005                 - (nm_access_point_get_hw_address): return 'const char *', not 'char *'
8006                         because the value is cached internally now.  Callers should not
8007                         free the internal value.
8008                 - Make signal name defines private
8009
8010         * test/nm-tool.c
8011           libnm-glib/libnm-glib-test.c
8012                 - Don't free value returned from nm_access_point_get_hw_address()
8013
8014 2007-10-04  Dan Williams  <dcbw@redhat.com>
8015
8016         * introspection/nm-device-802-11-wireless.xml
8017           src/nm-device-802-11-wireless.h
8018           src/nm-device-802-11-wireless.c
8019                 - Add a PropertiesChanged signal for wireless device
8020                 - Store currently associated access point
8021                 - (periodic_update): generalize; update rate here too and emit the
8022                         correct PropertiesChanged signal when stuff changes
8023                 - (real_deactivate_quickly, nm_device_802_11_wireless_dispose,
8024                    real_activation_cancel_handler): clear current_ap when device is
8025                         deactivated
8026                 - (link_to_specific_ap, get_ap_blacklisted,
8027                    nm_device_802_11_wireless_get_best_ap): remove obsolete and unused
8028                         code
8029                 - (nm_device_802_11_wireless_get_bitrate): make static; unused anywhere
8030                         outside this file
8031                 - (real_set_hw_address): emit property changed signal if the card's
8032                         MAC address changes
8033                 - (real_act_stage1_prepare): set the initial current_ap to the AP
8034                         the card is supposed to be connecting to
8035                 - (activation_success_handler): send out property updates on successful
8036                         activation
8037                 - (get_property): pull bitrate from cached value; use OBJECT_PATH type
8038                         for ACTIVE_ACCESS_POINT property because sometimes there won't be
8039                         one and dbus-glib doesn't like marshalling NULL G_TYPE_OBJECTs
8040                 - (nm_device_802_11_wireless_class_init): ACTIVE_ACCESS_POINT property
8041                         is now boxed; add PropertiesChanged signal
8042
8043 2007-10-04  Dan Williams  <dcbw@redhat.com>
8044
8045         * libnm-util/nm-connection.c
8046           libnm-util/nm-connection.h
8047                 - (nm_connection_verify): new function
8048
8049 2007-10-04  Dan Williams  <dcbw@redhat.com>
8050
8051         * libnm-util/nm-setting.c
8052                 - (nm_settings_verify): use #defines when possible rather than strings
8053                 - (setting_connection_verify): ensure that 'name' and 'type' are valid
8054                 - (setting_vpn_verify): tighter validity check on 'service_type'
8055
8056 2007-10-04  Dan Williams  <dcbw@redhat.com>
8057
8058         * libnm-glib/nm-settings.c
8059                 - (nm_connection_settings_class_init): provide correct type for argument
8060                         to the Updated signal so that dbus-glib knows how to marshal it
8061
8062 2007-10-03  Dan Williams  <dcbw@redhat.com>
8063
8064         * src/nm-device-802-3-ethernet.c
8065                 - (real_get_best_connection): don't create automatic connections
8066                         internally; clients should provide a setting that applies to
8067                         the device with 'autoconnect: True'.  Problem was that these
8068                         internally auto-created connections don't have a proxy or service
8069                         name becuase they weren't created by a settings daemon, and therefore
8070                         clients have no idea what to do with them.
8071
8072 2007-10-03  Dan Williams  <dcbw@redhat.com>
8073
8074         * src/nm-device-802-11-wireless.c
8075           src/nm-device-802-11-wireless.h
8076           introspection/nm-device-802-11-wireless.xml
8077                 - GetActiveNetworks -> GetAccessPoints
8078                 - ActiveNetwork -> ActiveAccessPoint
8079                 - NetworkAdded -> AccessPointAdded
8080                 - NetowrkRemoved -> AccessPointRemoved
8081
8082         * libnm-glib/nm-device-802-11-wireless.c
8083           libnm-glib/nm-device-802-11-wireless.h
8084                 - network-added signal -> access-point-added
8085                 - network-removed signal -> access-point-removed
8086                 - nm_device_802_11_wireless_get_active_network() ->
8087                         nm_device_802_11_wireless_get_active_access_point()
8088                 - nm_device_802_11_wireless_get_network_by_path() ->
8089                         nm_device_802_11_wireless_get_access_point_by_path()
8090                 - nm_device_802_11_wireless_get_networks() ->
8091                         nm_device_802_11_wireless_get_access_points()
8092
8093         * libnm-glib/libnm-glib-test.c
8094           test/nm-tool.c
8095           src/NetworkManagerPolicy.c
8096                 - Fixups for Network -> AccessPoint
8097
8098 2007-10-03  Dan Williams  <dcbw@redhat.com>
8099
8100         Add a GetActiveConnections() method on the Manager object.
8101
8102         * src/nm-manager.c
8103           src/nm-manager.h
8104           introspection/nm-manager.xml
8105                 - (connection_get_settings_cb): keep connection type around too
8106                 - (impl_manager_get_active_connections, add_one_connection_element):
8107                         implement; returns all active connections and what devices they
8108                         apply to
8109
8110         * libnm-glib/nm-client.c
8111           libnm-glib/nm-client.h
8112           introspection/nm-manager-client.xml
8113                 - (nm_client_get_devices): GPtrArray elements are allocated and owned
8114                         by the caller; free here to avoid memory leak
8115                 - (nm_client_get_active_connections): implement; return the list of
8116                         active connections
8117                 - (nm_client_free_active_connection_element): implement; free an element
8118                         of the GSList returned by nm_client_get_active_connections()
8119
8120 2007-10-03  Dan Williams  <dcbw@redhat.com>
8121
8122         * src/nm-device-802-11-wireless.c
8123                 - (nm_device_802_11_wireless_update_bssid): remove
8124                 - (get_active_ap): new function; find the AP in the scan list which
8125                         matches the current BSSID and SSID of the wireless device
8126                 - (nm_device_802_11_periodic_update): get current AP using
8127                         get_active_ap() and print AP roam messages
8128
8129 2007-10-01  Dan Williams  <dcbw@redhat.com>
8130
8131         * libnm-util/nm-setting.h
8132                 - Add a 'timestamp' option to NMSettingConnection
8133                 - Add a UINT64 type
8134
8135         * libnm-util/nm-setting.c
8136                 - (uint64_to_gvalue): new function
8137                 - (nm_setting_populate_from_hash, nm_setting_hash,
8138                    default_setting_clear_secrets): handle UINT64 type
8139                 - con_table: add 'timestamp' member
8140
8141 2007-10-01  Dan Williams  <dcbw@redhat.com>
8142
8143         * src/nm-manager.c
8144                 - (impl_manager_activate_device): ensure the D-Bus method sends a return
8145                         value when the connection can be activated immediately
8146
8147 2007-10-01  Dan Williams  <dcbw@redhat.com>
8148
8149         * libnm-glib/nm-device.c
8150                 - (nm_device_class_init): actually tell glib about the carrier-changed
8151                         signal
8152
8153 2007-10-01  Dan Williams  <dcbw@redhat.com>
8154
8155         * configure.in
8156           src/marshallers/Makefile.am
8157           src/marshallers/nm-marshal.list
8158           src/marshallers/nm-marshal-main.c
8159                 - Consolidate glib marshallers into one place
8160
8161         * src/dhcp-manager/Makefile.am
8162           src/dhcp-manager/nm-dhcp-manager.c
8163           src/supplicant-manager/Makefile.am
8164           src/supplicant-manager/nm-supplicant-manager.c
8165           src/supplicant-manager/nm-supplicant-interface.c
8166           src/ppp-manager/Makefile.am
8167           src/ppp-manager/nm-ppp-manager.c
8168           src/vpn-manager/Makefile.am
8169           src/vpn-manager/nm-vpn-connection.c
8170           src/Makefile.am
8171                 - Use consolidated marshallers
8172
8173         * src/dhcp-manager/nm-dhcp-marshal.list
8174           src/dhcp-manager/nm-dhcp-marshal-main.c
8175           src/supplicant-manager/nm-supplicant-marshal-main.c
8176           src/supplicant-manager/nm-supplicant-marshal.list
8177           src/nm-marshal-main.c
8178           src/nm-marshal.list
8179           src/ppp-manager/nm-ppp-marshal-main.c
8180           src/ppp-manager/nm-ppp-marshal.list
8181           src/vpn-manager/nm-vpn-marshal-main.c
8182           src/vpn-manager/nm-vpn-marshal.list
8183                 - Remove
8184
8185 2007-10-01  Dan Williams  <dcbw@redhat.com>
8186
8187         * include/NetworkManagerVPN.h
8188                 - define VPN connection state change reason codes
8189
8190         * src/vpn-manager/Makefile.am
8191           src/vpn-manager/nm-vpn-marshal.list
8192           src/vpn-manager/nm-vpn-marshal-main.c
8193                 - Add marshallers for StateChanged signal
8194
8195         * introspection/nm-vpn-connection.xml
8196                 - New Banner property
8197                 - StateChanged signal now includes a 'reason' argument
8198
8199         * src/vpn-manager/nm-vpn-connection.c
8200           src/vpn-manager/nm-vpn-connection.h
8201                 - Add a "Banner" property that contains the returned VPN server login
8202                         banner (if any); valid only in the ACTIVATED state
8203                 - (nm_vpn_connection_set_state, nm_vpn_connection_disconnect): now takes
8204                         a 'reason' argument and emits that reason along with the
8205                         state-changed signal
8206                 - Fix up calls to nm_vpn_connection_set_state() to include a reason
8207                 - (nm_vpn_connection_ip4_config_get): save banner for later
8208                 - (nm_vpn_connection_get_banner, get_property,
8209                    nm_vpn_connection_class_init): implement Banner property
8210
8211         * src/vpn-manager/nm-vpn-service.c
8212                 - (nm_vpn_service_connections_stop): take a reason argument; copy the
8213                         connection list because elements may get added/removed from it
8214                         while iterating over the list
8215                 - (connection_state_changed): signal now includes the 'reason' argument
8216
8217         * libnm-glib/nm-vpn-connection.c
8218           libnm-glib/nm-vpn-connection.h
8219                 - (nm_vpn_connection_get_banner): new function
8220                 - (state_changed_proxy): handle reason argument
8221
8222 2007-09-28  Tambet Ingo  <tambet@gmail.com>
8223
8224         * src/nm-manager.c:
8225         * src/nm-manager.h:
8226         Implement device activation through NMManager.
8227         Implement "pending device activation" here - If the connection isn't found,
8228         we try to wait for up to 5 seconds for the connection to be provided.
8229         Add NMConnectionType argument to "connection-added" and "connection-removed"
8230         signals.
8231         (nm_manager_get): Remove. Finally.
8232
8233         * src/nm-activation-request.c: 
8234         * src/nm-activation-request.h: 
8235         Remove all the deferred activation code.
8236
8237         * src/nm-device.c: Remove all the deferred activation code. Once the device
8238         activation is started, it's started. Update the activation virtual function
8239         signature.
8240
8241         * src/nm-device-interface.c:
8242         * src/nm-device-interface.h:
8243         Device activation now takes only NMActRequest argument.
8244         Don't expose device activation directly on dbus, it's supposed to go through
8245         NMManager now.
8246
8247         * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Make the code
8248         a bit more compact.
8249         Use the new device activation methods through NMManager.
8250
8251         * introspection/nm-manager-client.xml: 
8252         * introspection/nm-manager.xml: 
8253         * libnm-glib/nm-client.c:
8254         * libnm-glib/nm-client.h:
8255         Add device activation method.
8256         
8257         * libnm-glib/nm-device.c: 
8258         * libnm-glib/nm-device.h: 
8259         * introspection/nm-device.xml: 
8260         Remove device activation method. It's done through NMManager now.
8261
8262         * src/vpn-manager/nm-vpn-manager.c (impl_vpn_manager_connect): Use the shiny
8263         new (nm_manager_get_device_by_path) function, get rid of our own )find_device).
8264
8265 2007-09-28  Dan Williams  <dcbw@redhat.com>
8266
8267         * libnm-glib/nm-vpn-connection.c
8268                 - (nm_vpn_connection_get_state): try to update state if the current
8269                         state is UNKNOWN
8270
8271 2007-09-27  Dan Williams  <dcbw@redhat.com>
8272
8273         Patch from Bill Nottingham
8274
8275         * src/supplicant-manager/nm-supplicant-config.c
8276                 - (ADD_STRING_VAL): use correct length for binary blobs when sending
8277                         data to the supplicant
8278
8279 2007-09-27  Dan Williams  <dcbw@redhat.com>
8280
8281         * src/NetworkManagerSystem.c
8282                 - (nm_system_vpn_device_set_from_ip4_config): clean up indentation;
8283                         and all address manipulation here should be happening on the
8284                         _VPN_ device, not the active device
8285
8286 2007-09-26  Dan Williams  <dcbw@redhat.com>
8287
8288         * src/nm-manager.c
8289           src/nm-manager.h
8290           src/nm-activation-request.c
8291           src/nm-activation-request.h
8292                 - Move the GetSecrets stuff out of the NMManager instance because it
8293                         doesn't really need to be there and complicates things
8294
8295         * src/nm-device.c
8296                 - (connection_secrets_failed_cb, device_activation_go): connect to the
8297                         connection-secrets-failed signal and deactivate the device if
8298                         the GetSecrets call fails
8299
8300         * src/nm-device-802-11-wireless.c
8301                 - (link_timeout_cb, supplicant_connection_timeout_cb,
8302                    real_act_stage2_config, real_act_stage4_ip_config_timeout): request
8303                         secrets and give correct hints about whether new secrets should be
8304                         asked for by the client or not
8305
8306 2007-09-26  Dan Williams  <dcbw@redhat.com>
8307
8308         * src/vpn-manager/nm-vpn-connection.c
8309                 - (nm_vpn_connection_set_state, clear_need_auth, finalize,
8310                    connection_secrets_updated_cb, get_secrets_cb): don't need to attach
8311                         to the secrets-updated signal of the NMConnection since updating
8312                         the secrets is done within the scope of the NMVPNConnection object
8313                         already
8314                 - (get_connection_secrets): fix an uninialized variable usage error
8315
8316 2007-09-26  Dan Williams  <dcbw@redhat.com>
8317
8318         * libnm-util/nm-setting.c
8319                 - (setting_vpn_properties_update_secrets): implement so VPN secrets
8320                         actually get updated when the user enters them
8321
8322 2007-09-26  Dan Williams  <dcbw@redhat.com>
8323
8324         * libnm-glib/nm-vpn-plugin.c
8325                 - (impl_vpn_plugin_need_secrets): fix logic when no secrets are needed
8326
8327 2007-09-26  Dan Williams  <dcbw@redhat.com>
8328
8329         * include/NetworkManagerVPN.h
8330                 - Add a NEED_AUTH state
8331
8332         * src/vpn-manager/nm-vpn-connection.c
8333                 - Implement the NEED_AUTH state.  First ask the VPN service plugin if
8334                         the connection needs secrets, and if so, then ask the settings
8335                         service to fill in the secrets.  Then start the connection.
8336
8337 2007-09-26  Dan Williams  <dcbw@redhat.com>
8338
8339         * src/vpn-manager/nm-vpn-manager.c
8340                 - (new_vpn_error, impl_vpn_manager_connect): set errors
8341
8342 2007-09-26  Dan Williams  <dcbw@redhat.com>
8343
8344         * introspection/nm-vpn-plugin.xml
8345           libnm-glib/nm-vpn-plugin.c
8346           libnm-glib/nm-vpn-plugin.h
8347                 - (impl_vpn_plugin_need_secrets): implement a call that should return
8348                         the name of the NMSetting in an NMConnection that may require
8349                         secrets specific to that VPN plugin
8350
8351 2007-09-26  Dan Williams  <dcbw@redhat.com>
8352
8353         * src/nm-manager.c
8354           src/nm-manager.h
8355                 - (nm_manager_get_connection_secrets): make static, unused outside
8356                         the file
8357                 - Provide NM_MANAGER_CONNECTION_PROXY_TAG for other users
8358
8359 2007-09-26  Tambet Ingo  <tambet@gmail.com>
8360
8361         * libnm-glib/nm-vpn-plugin.c (nm_vpn_plugin_connect): Update the plugin activation
8362         method.
8363         (impl_vpn_plugin_connect): Convert properties hash to NMConnection, activate, and
8364         unreference the connection.
8365
8366         * introspection/nm-vpn-plugin.xml: Modify the 'Connect' method arguments: instead of
8367         passing properties hash and routes string list, pass NMConnection (in hashed form).
8368
8369         * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Return routes
8370         as GSList, no need to copy stuff around anymore.
8371         (nm_vpn_connection_activate): Update the plugin activation method.
8372
8373         * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Convert
8374         routes argument to GSList.
8375
8376 2007-09-26  Tambet Ingo  <tambet@gmail.com>
8377
8378         * src/nm-manager.c (manager_device_state_changed): Listen to device' NEED_AUTH
8379         state and try to get the secrets.
8380
8381         * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Get the list of
8382         connections from NMManager and let the device to choose the best from the list.
8383         Since the connection list is sorted by system ones first and user ones later,
8384         the devices still prefer system connections like they did before.
8385         (deactivate_old_device): Implement. When a device starts activation, we have a
8386         policy (for now at least) to deactivate any other device that might be either
8387         active or still activating.
8388
8389         * src/vpn-manager/nm-vpn-manager.c: Add NMManager back to the private structure.
8390         It's set on construction, there will be no other way to access it.
8391
8392         * src/nm-device-802-11-wireless.c: Don't touch NMManager, NMManager can listen to
8393         device events and drive the device, not the other way around.
8394
8395         * src/nm-device-802-3-ethernet.c: Ditto.
8396
8397         * src/nm-device.c (nm_device_get_best_connection): The connections list is now
8398         sent along, pass it on to virtual functions.
8399
8400         * src/nm-device-interface.c (nm_device_interface_get_iface): Implement. It's static
8401         for now, but should really be public instead of nm_device_get_iface() since iface
8402         is a property of the DeviceInterface, not Device.
8403         (impl_device_activate): Don't touch NMManager!
8404
8405 2007-09-26  Jürg Billeter  <j@bitron.ch>
8406
8407         * initscript/paldo/NetworkManager.in:
8408         * initscript/paldo/NetworkManagerDispatcher.in:
8409         * src/backends/NetworkManagerPaldo.c: (nm_system_enable_loopback),
8410         (nm_system_flush_loopback_routes): update paldo backend
8411
8412 2007-09-26  Tambet Ingo  <tambet@gmail.com>
8413
8414         * src/nm-device-802-3-ethernet.c (real_get_best_connection): Don't leak NMManager.
8415         The problem with leaking NMManager is that on shutdown, it doesn't get destroyed,
8416         which means none of the devices get brought down properly, which in turn leaves
8417         DHCP client running.
8418
8419         * src/nm-device-802-11-wireless.c (real_get_best_connection): Ditto.
8420         (supplicant_connection_timeout_cb): Ditto.
8421
8422 2007-09-25  Dan Williams  <dcbw@redhat.com>
8423
8424         * src/nm-device.c
8425                 - (device_activation_go): small hack to work around race when
8426                         activating deferred connections; should solve this in a better way
8427
8428 2007-09-25  Dan Williams  <dcbw@redhat.com>
8429
8430         * introspection/nm-device.xml
8431           libnm-glib/nm-device.c
8432           libnm-glib/nm-device.h
8433                 - Add 'Carrier' property to exported NMDevice objects
8434
8435         * src/nm-device-interface.h
8436           src/nm-device-interface.c
8437           src/nm-device.c
8438                 - Add a 'carrier' property to internal NMDevice objects
8439
8440 2007-09-25  Dan Williams  <dcbw@redhat.com>
8441
8442         * src/nm-device-802-11-wireless.c
8443                 - (ap_auth_enforced): also return the encryption status of the AP so
8444                         that callers can differentiate easily between unencrypted APs
8445                         and encrypted ones, in addition to whether the AP has an
8446                         authenticator
8447                 - (link_timeout_cb, supplicant_connection_timeout_cb,
8448                    real_act_stage4_ip_config_timeout): handle unencrypted APs better,
8449                         previously would request secrets from unencrypted APs at times
8450
8451 2007-09-25  Dan Williams  <dcbw@redhat.com>
8452
8453         * src/nm-manager.c
8454                 - (nm_manager_update_state): new function; updates state and emits
8455                         appropriate signals ensuring a state-change signal for the same state
8456                         never gets emitted twice in a row.
8457                 - (manager_device_state_changed): handle more device state to get a
8458                         better picture of the overall NM state
8459
8460 2007-09-25  Dan Williams  <dcbw@redhat.com>
8461
8462         * libnm-glib/nm-settings.c
8463           libnm-glib/nm-settings.h
8464                 - (new_error -> nm_settings_new_error): make public so that subclasses
8465                         can use the same error domain.  Also pass a valid error code to
8466                         g_error_new_literal() so that libdbus doesn't assert when converting
8467                         the GError into a DBusError
8468                 - (impl_settings_list_connections, impl_connection_settings_get_id,
8469                    impl_connection_settings_get_settings,
8470                    impl_connection_settings_get_secrets): use new error creator
8471                         function
8472
8473 2007-09-25  Dan Williams  <dcbw@redhat.com>
8474
8475         * src/NetworkManager.c
8476                 - (nm_signal_handler, main): don't ignore SIGTERM/SIGINT during startup
8477
8478 2007-09-25  Dan Williams  <dcbw@redhat.com>
8479
8480         * src/supplicant-manager/nm-supplicant-manager.c
8481                 - (poke_supplicant_cb, nm_supplicant_manager_init,
8482                    nm_supplicant_manager_dispose, nm_supplicant_manager_name_owner_changed,
8483                    nm_supplicant_manager_startup): when the supplicant isn't running,
8484                         try to start it periodically via system bus activation.  Fixes
8485                         a problem where if wpa_supplicant goes away, NM gets stuck waiting
8486                         for the supplicant to come back
8487
8488 2007-09-25  Dan Williams  <dcbw@redhat.com>
8489
8490         Ensure that old activation requests are forgotten about; previously
8491         hitting Cancel in the password dialog would deactivate whatever device
8492         that password was requested for, even if that wasn't the currently
8493         activating connection.
8494
8495         * src/nm-manager.c
8496           src/nm-manager.h
8497                 - (nm_manager_get_connection_secrets): track the pending call
8498                         object so it can be canceled later if needed
8499                 - (nm_manager_cancel_get_connection_secrets): cancel a pending
8500                         GetSecrets call for a particular connection
8501
8502         * src/nm-activation-request.c
8503                 - (dispose): cancel any outstanding GetSecrets calls on the
8504                         connection
8505
8506 2007-09-25  Dan Williams  <dcbw@redhat.com>
8507
8508         * src/NetworkManagerPolicy.c
8509                 - (nm_policy_device_change_check): handle devices that have a
8510                         deferred activation.  These devices are not really active _yet_,
8511                         but need to be treated as such here.  Don't interrupt them
8512                         automatically.
8513
8514         * src/nm-device-interface.c
8515                 - (impl_device_activate): handle devices that have a deferred activation
8516                         like activating or active devices.  When multiple active devices
8517                         get committed, the device shouldn't be deactivated until the
8518                         connection details are available to avoid DoS and such.  Currently,
8519                         any active, activating, or deferred activation device is deactivated
8520                         here before starting the new activation request.
8521
8522 2007-09-25  Dan Williams  <dcbw@redhat.com>
8523
8524         Properly re-query secrets from the settings daemon when stuff fails.
8525
8526         * src/nm-device-802-11-wireless.c
8527                 - (ap_auth_enforced): handle static WEP correctly here by differentiating
8528                         between Shared Key and Open System auth modes
8529                 - (link_timeout_cb, supplicant_connection_timeout_cb,
8530                    real_act_stage4_ip_config_timeout): clear existing secrets and
8531                         request new ones when something fails due to a suspected wrong key
8532                 - (real_act_stage2_config): fix for new request_new argument to
8533                         nm_manager_get_connection_secrets()
8534
8535         * src/nm-manager.c
8536           src/nm-manager.h
8537                 - (nm_manager_get_connection_secrets): return error status; pass
8538                         new request_new argument on to the settings daemon
8539
8540         * introspection/nm-settings-connection.xml
8541                 - New 'request_new' argument to the GetSecrets call that hints to the
8542                         settings daemon to ask the user for completely new secrets
8543
8544         * libnm-glib/nm-settings.c
8545           libnm-glib/nm-settings.h
8546                 - (impl_connection_settings_get_secrets): handle new 'request_new'
8547                         argument
8548
8549 2007-09-25  Dan Williams  <dcbw@redhat.com>
8550
8551         * libnm-util/nm-connection.c
8552           libnm-util/nm-connection.h
8553                 - (nm_connection_clear_secrets): new function; clear secrets out of
8554                         each NMSetting in an NMConnection
8555
8556         * libnm-util/nm-setting.h
8557           libnm-util/nm-setting.c
8558                 - (nm_setting_clear_secrets, default_setting_clear_secrets): clear 
8559                         secrets out of an NMSetting
8560                 - (nm_setting_connection_new, nm_setting_ip4_config_new, 
8561                    nm_setting_wired_new, nm_setting_wireless_new,
8562                    nm_setting_wireless_security_new, nm_setting_ppp_new,
8563                    nm_setting_vpn_new, nm_setting_vpn_properties_new): set clear_secrets
8564                         to default handler default_setting_clear_secrets()
8565
8566 2007-09-25  Dan Williams  <dcbw@redhat.com>
8567
8568         * src/nm-activation-request.c
8569           src/nm-activation-request.h
8570                 - (nm_act_request_is_deferred): new function
8571
8572 2007-09-24  Dan Williams  <dcbw@redhat.com>
8573
8574         * src/nm-device-802-11-wireless.c
8575                 - (activation_success_handler): update signal strength immediately
8576                         after activation
8577
8578 2007-09-24  Dan Williams  <dcbw@redhat.com>
8579
8580         * libnm-util/nm-setting.c
8581                 - (verify_wep_key): 40-bit WEP keys are 10 bytes long, not 13
8582
8583 2007-09-24  Dan Williams  <dcbw@redhat.com>
8584
8585         * src/NetworkManagerPolicy.c
8586                 - (nm_policy_auto_get_best_device): don't interrupt activation of a
8587                         device by deactivating it because it doesn't have a "best connection".
8588                         Since autoconnect=False connections aren't automatically chosen,
8589                         NM would interrupt activation of such a connection because it
8590                         would never be "best" due to autoconnect=False.
8591
8592 2007-09-24  Dan Williams  <dcbw@redhat.com>
8593
8594         * src/nm-manager.c
8595                 - (nm_manager_get_connection_secrets): Add a long timeout so the user
8596                         actually has some time to enter a key before the GetSecrets call
8597                         times out
8598
8599 2007-09-24  Dan Williams  <dcbw@redhat.com>
8600
8601         * introspection/nm-manager.xml
8602           src/nm-manager.c
8603                 - (impl_manager_legacy_state): fix 'state' method call return value
8604
8605 2007-09-24  Matthias Clasen  <mclasen@redhat.com>
8606
8607         * test/Makefile.am: Install nm-tool
8608
8609 2007-09-24  Dan Williams  <dcbw@redhat.com>
8610
8611         Patch from Ross Burton <ross@burtonini.com>
8612
8613         * test/nm-tool.c
8614           callouts/nm-dhcp-client-action.c
8615           src/nm-netlink.c
8616           src/vpn-manager/nm-vpn-connection.c
8617           libnm-glib/libnm-glib-test.c
8618                 - warning fixes
8619
8620 2007-09-24  Dan Williams  <dcbw@redhat.com>
8621
8622         * libnm-util/nm-utils.h
8623           libnm-util/nm-utils.c
8624                 - (nm_dbus_send_with_callback_replied, nm_dbus_send_with_callback):
8625                         remove, unused
8626
8627 2007-09-23  Dan Williams  <dcbw@redhat.com>
8628
8629         * vpn-daemons/vpnc/properties/nm-vpnc.c
8630                 - Update for new VPN properties API bits; instead of passing around
8631                         a lot of random things, everything goes into the NMConnection
8632                         object.
8633
8634 2007-09-23  Dan Williams  <dcbw@redhat.com>
8635
8636         * libnm-util/nm-setting.c
8637                 - Correctly dispose of settings objects if creating them from a hash
8638                         table fails
8639
8640 2007-09-23  Dan Williams  <dcbw@redhat.com>
8641
8642         * libnm-util/nm-setting.c
8643                 - (property_value_destroy, nm_setting_vpn_properties_new): initialize
8644                         the hash table in a standard manner.  Clients of libnm-util should
8645                         only call g_hash_table_remove_all(), never destroy the hash table
8646                         and recreate it.
8647
8648 2007-09-22  Dan Williams  <dcbw@redhat.com>
8649
8650         * src/nm-device-802-11-wireless.c
8651                 - (real_bring_up): update signal strength every 6 seconds, not 2.  No
8652                         real reason to do it so often, and reduces wakeups for clients.
8653
8654 2007-09-21  Dan Williams  <dcbw@redhat.com>
8655
8656         * src/nm-device-802-11-wireless.c
8657                 - (build_supplicant_config): wpa_supplicant requires the option
8658                         key_mgmt=NONE for unencrypted networks
8659                 - (real_act_stage2_config): clarify log message on activation
8660
8661 2007-09-21  Dan Williams  <dcbw@redhat.com>
8662
8663         * test/nm-supplicant-test.c
8664           test/Makefile.am
8665                 - Remove supplicant test binary; no longer applicable
8666
8667 2007-09-21  Dan Williams  <dcbw@redhat.com>
8668
8669         * src/supplicant-manager/nm-supplicant-manager.c
8670                 - (nm_supplicant_manager_init): poke the supplicant at startup to
8671                         activate it on the system bus
8672
8673 2007-09-20  Dan Williams  <dcbw@redhat.com>
8674
8675         * initscript/RedHat/NetworkManager.in
8676                 - dhcdbd is no longer used, so don't try to start it from the initscripts
8677
8678 2007-09-20  Dan Williams  <dcbw@redhat.com>
8679
8680         * src/nm-device.c
8681                 - (nm_device_is_activating): work around a race between auto-activation
8682                         and the user activating the same device that is being auto-activated
8683
8684 2007-09-20  Dan Williams  <dcbw@redhat.com>
8685
8686         * src/nm-device-interface.c
8687                 - (impl_device_activate): until multiple active device support lands,
8688                         ensure only one device can be active at a time
8689
8690 2007-09-20  Dan Williams  <dcbw@redhat.com>
8691
8692         * src/supplicant-manager/nm-supplicant-config.c
8693           src/supplicant-manager/nm-supplicant-config.h
8694                 - (nm_supplicant_config_add_option): hide secrets from system logs
8695
8696 2007-09-20  Dan Williams  <dcbw@redhat.com>
8697
8698         * src/NetworkManagerPolicy.c
8699                 - (nm_policy_device_change_check): re-enable the wireless device change
8700                         checking code; insted of checking for SSIDs, check for the same
8701                         connection instead
8702
8703 2007-09-20  Dan Williams  <dcbw@redhat.com>
8704
8705         * src/nm-device-802-11-wireless.c
8706                 - (supplicant_iface_connection_state_cb_handler): don't use the card's
8707                         composite link state when determining when to start the disconnection
8708                         timer; that link state is already based on the supplicant interface's
8709                         status which is exactly what's already being examined, plus the link
8710                         state is a conglomeration of various things that we don't want here
8711
8712 2007-09-20  Dan Williams  <dcbw@redhat.com>
8713
8714         * libnm-glib/nm-access-point.c
8715                 - (handle_property_changed): strength is a UCHAR
8716
8717 2007-09-20  Dan Williams  <dcbw@redhat.com>
8718
8719         * src/supplicant-manager/nm-supplicant-config.c
8720                 - (nm_supplicant_config_add_setting_wireless_security): uppercase
8721                         string list keywords too since that's what wpa_supplicant wants
8722
8723 2007-09-20  Dan Williams  <dcbw@redhat.com>
8724
8725         * libnm-util/nm-setting.c
8726                 - (convert_strv_to_slist): dupe the values in the list because since
8727                         the list is a boxed value, it'll get destroyed when it's container
8728                         (like a hash table or whatever) gets destroyed
8729
8730 2007-09-20  Tambet Ingo  <tambet@gmail.com>
8731
8732         * libnm-util/nm-setting.h: Change the type of NMSettingVPN->routes to
8733         GSList.
8734
8735         * libnm-util/nm-setting.c (setting_vpn_destroy): Free routes too.
8736
8737         * src/nm-manager.c (connection_get_settings_cb): No need to use weakref,
8738         just use (g_object_set_data_full).
8739
8740         * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Now
8741         that NMSettingVPN->routes is a GSList, convert it to char **.
8742         (nm_vpn_connection_ip4_config_get): Free routes when done.
8743         (nm_vpn_connection_activate): Ditto.
8744
8745         * src/nm-device-802-11-wireless.c (real_connection_secrets_updated)
8746         (real_act_stage2_config): Use defined setting names.
8747
8748 2007-09-20  Dan Williams  <dcbw@redhat.com>
8749
8750         * src/nm-device-802-11-wireless.c
8751           src/nm-manager.c
8752           src/nm-manager.h
8753                 - Pass an NMDeviceInterface into nm_manager_get_connection_secrets()
8754                         so that the device can be deactivated if secrets are wrong
8755
8756 2007-09-20  Dan Williams  <dcbw@redhat.com>
8757
8758         * introspection/nm-settings-connection.xml
8759           libnm-glib/nm-settings.c
8760           libnm-glib/nm-settings.h
8761                 - Make GetSecrets asynchronous on the server side
8762
8763 2007-09-20  Dan Williams  <dcbw@redhat.com>
8764
8765         * src/nm-manager.h
8766           src/nm-device.c
8767                 - (nm_device_activate): actually check if a given connection
8768                         exists before assuming it doesn't
8769
8770 2007-09-20  Tambet Ingo  <tambet@gmail.com>
8771
8772         * libnm-util/nm-connection.c (register_default_creators): Use defined
8773         setting names. Register NMSettingVPN and NMSettingVPNProperties.
8774
8775         * libnm-util/nm-setting.c: Define property name strings, use them.
8776         Implement NMSettingVPN and NMSettingVPNProperties settings.
8777         Implement NM_S_TYPE_GVALUE_HASH.
8778         (nm_setting_populate_from_hash): Handle NM_S_TYPE_GVALUE_HASH.
8779         (setting_connection_verify): Rename 'devtype' property to 'type'.
8780
8781         * introspection/nm-vpn-manager.xml: Use NMConnection for VPN service
8782         properties.
8783
8784         * src/vpn-manager/nm-vpn-service.c: Ditto.
8785
8786         * src/vpn-manager/nm-vpn-connection.c: Ditto.
8787
8788         * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_connect): Ditto.
8789         (nm_vpn_manager_new): Remove NMManager argument, it's easy enough to get.
8790
8791         * src/nm-device-802-11-wireless.c (find_best_connection): Use defined setting
8792         names. NMSettingConnection->devtype got renamed to 'type'.
8793
8794         * src/nm-device-802-3-ethernet.c (find_best_connection):
8795         (real_get_best_connection): Ditto.
8796
8797         * src/NetworkManager.c (main): Update the vpn manager creation arguments.
8798
8799         * libnm-glib/nm-vpn-manager.[ch]: Update.
8800
8801 2007-09-19  Dan Williams  <dcbw@redhat.com>
8802
8803         * src/NetworkManagerAP.c
8804           src/NetworkManagerAP.h
8805           introspection/nm-access-point.xml
8806                 - Change strength-changed signal into a properties-changed signal
8807                         for all properties, not just strength.  Export that signal over dbus
8808                         so listeners don't have to poll NM for changes.
8809                 - (nm_ap_export_to_dbus, nm_ap_new): not every NMAccessPoint should
8810                         get exported over D-Bus, so break up the logic and let other bits
8811                         decided when to export the AP
8812                 - (nm_ap_new_from_ap): remove, unused
8813
8814         * src/nm-device-802-11-wireless.c
8815                 - (merge_scanned_ap): only export APs that are actually on the device
8816                         list, not every AP created internally
8817
8818         * libnm-glib/nm-access-point.c
8819           libnm-glib/nm-access-point.h
8820                 - Cache properties internally and only hit DBus when needed.  Get
8821                         property updates from NM signals
8822
8823 2007-09-16  Dan Williams  <dcbw@redhat.com>
8824
8825         * libnm-util/nm-connection.c
8826           libnm-util/nm-connection.h
8827                 - (nm_connection_for_each_setting_value): new function; iterate over
8828                         each setting's value and call a user-provided function with details
8829                         about that value
8830
8831         * libnm-util/nm-setting.c
8832           libnm-util/nm-setting.h
8833                 - (nm_setting_enumerate_values): new function; enumerate the values
8834                         of a specific NMSetting subclass for a user-provided function with
8835                         details about that value
8836                 - Change wep_tx_keyidx to a uint32
8837                 - Create settings value tables for each setting defining their type,
8838                         key name, offset into the NMSetting subclass' structure, and whether
8839                         they are required and/or a secret
8840                 - (nm_setting_populate_from_hash): generic function to populate an
8841                         NMSetting from a GHash table, make all settings use it
8842                 - (nm_setting_hash): generic function to derive a GHashTable from
8843                         an NMSetting object, make all settings use it
8844
8845 2007-09-14  Dan Williams  <dcbw@redhat.com>
8846
8847         Remove unused stuff in libnm-util
8848
8849         * configure.in
8850           libnm-util/Makefile.am
8851           libnm-util/cipher-private.h
8852           libnm-util/cipher-wep-ascii.c
8853           libnm-util/cipher-wep-ascii.h
8854           libnm-util/cipher-wep-hex.c
8855           libnm-util/cipher-wep-hex.h
8856           libnm-util/cipher-wep-passphrase.c
8857           libnm-util/cipher-wep-passphrase.h
8858           libnm-util/cipher-wpa-psk-hex.c
8859           libnm-util/cipher-wpa-psk-hex.h
8860           libnm-util/cipher-wpa-psk-passphrase.c
8861           libnm-util/cipher-wpa-psk-passphrase.h
8862           libnm-util/cipher.c
8863           libnm-util/cipher.h
8864           libnm-util/dbus-helpers.c
8865           libnm-util/dbus-helpers.h
8866           libnm-util/gnome-keyring-md5.c
8867           libnm-util/gnome-keyring-md5.h
8868           libnm-util/sha1.c
8869           libnm-util/sha1.h
8870           src/nm-device-802-11-wireless.c
8871           test/libnm-util/Makefile.am
8872           test/libnm-util/test-ciphers.c
8873           test/libnm-util/test-dbus-helpers.c
8874           test/libnm-util/test-inputs.h
8875                 - Removed
8876
8877 2007-09-14  Dan Williams  <dcbw@redhat.com>
8878
8879         * libnm-util/dbus-method-dispatcher.c
8880           libnm-util/dbus-method-dispatcher.h
8881                 - Remove, unused
8882
8883 2007-09-14  Dan Williams  <dcbw@redhat.com>
8884
8885         Implement deferred activation support in the device class.
8886
8887         * src/nm-device-interface.c
8888           src/nm-device-interface.h
8889                 - (nm_device_interface_activate): take more arguments to support
8890                         deferred activation; callers must pass one of (connection) OR
8891                         (service_name, connection_path)
8892                 - (impl_device_activate): connection validation is punted to the device
8893                         to be able to handle deferred activation.  Yes, this means errors
8894                         don't get returned from the Activate() dbus call, and yes, that
8895                         should be fixed somehow later.
8896
8897         * src/nm-device.c
8898           src/nm-device.h
8899                 - (clear_act_request): clear additional deferred activation stuff too
8900                 - (deferred_activation_timeout_cb): new function; clean up when
8901                         deferred activation times out.
8902                 - (deferred_activation_start_cb): new function; when the connection
8903                         finally becomes available, start device activation
8904                 - (nm_device_activate): attach to the right signals of the activation
8905                         request if we need to defer activation until the connection is valid
8906
8907         * src/NetworkManagerPolicy.c
8908                 - (nm_policy_device_change_check): update for additional arguments
8909                         required for nm_device_interface_activate().  Pass NULL for these
8910                         though because this function already knows exactly which
8911                         NMConnection to use
8912
8913 2007-09-14  Dan Williams  <dcbw@redhat.com>
8914
8915         Implement deferred activation handling in the NMActRequest class.  When a
8916         client wants to activate a device but must create the NMConnection details
8917         on the fly, there likely hasn't been enough time yet for NM to receive the
8918         new connection signal and grab all the connection details.  So the
8919         activation is deferred (and bounded by a timer) for a while, and if the
8920         connection appears within the window, it is activated.
8921
8922         * src/nm-activation-request.c
8923           src/nm-activation-request.h
8924                 - (nm_act_request_class_init): two new signals to support deferred
8925                         activation, to allow the listener to handle both timeout and success
8926                 - (nm_act_request_new_deferred): new function, starts the deferred
8927                         activation timeout handler and listens to the NMManager for
8928                         new-connection signals to notice when the connection comes in
8929
8930 2007-09-14  Dan Williams  <dcbw@redhat.com>
8931
8932         * src/nm-manager.h
8933           src/nm-manager.c
8934                 - (nm_manager_get_connection_service_name,
8935                    nm_manager_get_connection_dbus_path): get details about a connection
8936                         known internally by the NMManager
8937                 - (nm_manager_class_init): fix connection add/remove signal marshalers
8938                         because NMConnection is now a GObject subclass
8939                 - Use constant for the gobject data tag used on NMConnection objects for
8940                         storing the associated DBusGProxy
8941
8942 2007-09-14  Dan Williams  <dcbw@redhat.com>
8943
8944         * utils/Makefile.am
8945           utils/nm-utils.c
8946           utils/nm-utils.h
8947           src/supplicant-manager/Makefile.am
8948           src/dhcp-manager/Makefile.am
8949           src/backends/Makefile.am
8950           src/named-manager/Makefile.am
8951           src/ppp-manager/Makefile.am
8952           src/vpn-manager/Makefile.am
8953           test/libnm-util/Makefile.am
8954           test/test-common/Makefile.am
8955                 - Remove utils/; it was unused
8956
8957 2007-09-13  Dan Williams  <dcbw@redhat.com>
8958
8959         * libnm-glib/nm-vpn-manager.h
8960           libnm-glib/nm-vpn-manager.c
8961                 - (nm_vpn_manager_connect): take routes as a GSList, not a char **
8962
8963 2007-09-13  Dan Williams  <dcbw@redhat.com>
8964
8965         * src/nm-device-802-3-ethernet.c
8966                 - (real_bring_down, nm_device_802_3_ethernet_dispose): disconnect from
8967                         netlink monitor carrier signals on dispose, not bring down.  The
8968                         carrier signals should be handled over the entire lifetime of the
8969                         device anyway, not created/destroyed on up or down.
8970
8971 2007-09-13  Dan Williams  <dcbw@redhat.com>
8972
8973         * libnm-glib/nm-device.c
8974           libnm-glib/nm-device.h
8975                 - (nm_device_activate): take a connection object path rather than an
8976                         NMConnection because NMConnection isn't exported over D-Bus and
8977                         therefore it dbus-glib can't automatically get an object path from it
8978
8979 2007-09-13  Dan Williams  <dcbw@redhat.com>
8980
8981         * libnm-util/nm-setting.c
8982                 - (nm_setting_wired_new): set autonegotiate to TRUE by default
8983
8984 2007-09-13  Tambet Ingo  <tambet@gmail.com>
8985
8986         * autogen.sh: NetworkManagerMain.h is gone, check for NetworkManager.c.
8987
8988 2007-09-12  Tambet Ingo  <tambet@gmail.com>
8989
8990         * src/vpn-manager/nm-vpn-connection.[ch]: 
8991         * src/vpn-manager/nm-vpn-manager.[ch]:
8992         * src/vpn-manager/nm-vpn-service.[ch]: Rewrite the vpn handling code. Using 
8993         dbus-glib, GObjects, signals etc.
8994
8995         * libnm-glib/nm-vpn-manager.[ch]: 
8996         * libnm-glib/nm-vpn-connection.[ch]: Now that the NM implementation changed
8997         so much, rewrite these too.
8998
8999         * libnm-glib/Makefile.am: Add new files to build, build new binding files for
9000         the new introspection files.
9001
9002         * libnm-glib/nm-client.[ch]: Remove all VPN related stuff from here.
9003
9004         * libnm-glib/nm-dbus-utils.[ch]: Renamed from nm-utils.[ch] that was shadowing
9005         the header with the same name from libnm-utils.
9006
9007         * libnm-glib/nm-vpn-plugin.[ch]: Implement.
9008
9009         * libnm-util/Makefile.am: Add nm-utils.[ch] to build.
9010
9011         * introspection/nm-vpn-plugin.xml: Implement.
9012
9013         * introspection/nm-vpn-connection.xml: Implement.
9014
9015         * introspection/nm-vpn-manager.xml: Implement.
9016
9017         * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Remove
9018         the named manager argument, it can just as easily get it as the caller.
9019         (nm_system_vpn_device_unset_from_ip4_config): Ditto.
9020
9021         * src/vpn-manager/nm-dbus-vpn.[ch]: Remove.
9022
9023         * src/nm-dbus-manager.h: Fix up the name_owner signal signature.
9024
9025         * src/dhcp-manager/nm-dhcp-manager.c (garray_to_string): Remove, use one from
9026         libnm-utils.
9027
9028         * libnm-util/nm-connection.c: Ditto.
9029
9030         * src/NetworkManagerMain.h: Remove, it's finally empty.
9031
9032         * configure.in: Remove utils/ from build.
9033
9034         * include/NetworkManagerVPN.h: Add some more defines to reduce the amount
9035         of hard-coded strings.
9036
9037         * utils/: Move it over to libnm-util.
9038
9039         * test/Makefile.am: Link against libnm-util now that util/ is gone.
9040
9041         * dispatcher-daemon/Makefile.am: Ditto.
9042
9043         * src/Makefile.am: Ditto.
9044
9045 2007-09-12  Dan Williams  <dcbw@redhat.com>
9046
9047         Wireless connections can be made with config data from the applet now.
9048         
9049         Yay.
9050
9051         * src/supplicant-manager/nm-supplicant-config.h
9052           src/supplicant-manager/nm-supplicant-config.c
9053                 - (nm_supplicant_config_new): kill unused init parameter 'iface'
9054                 - (nm_supplicant_config_add_setting_wireless,
9055                    nm_supplicant_config_add_setting_wireless_security): new functions;
9056                         add key/value pairs from the settings objects to the supplicant
9057                         config
9058
9059         * src/nm-device-802-11-wireless.c
9060                 - (cull_scan_list): fix check to not prune currently associated AP
9061                 - (build_supplicant_config, real_act_stage2_config): call the functions
9062                         of the NMSupplicantConfig that parse settings objects rather than
9063                         doing it manually here
9064
9065 2007-09-12  Dan Williams  <dcbw@redhat.com>
9066
9067         * src/supplicant-manager/nm-supplicant-interface.c
9068           src/supplicant-manager/nm-supplicant-marshal.list
9069                 - (nm_supplicant_interface_class_init): fix stupid mistake, the
9070                         "connection-error" signal arguments should be STRING not CHAR
9071
9072 2007-09-12  Dan Williams  <dcbw@redhat.com>
9073
9074         * src/NetworkManagerUtils.c
9075           src/NetworkManagerUtils.h
9076                 - (nm_utils_hexstr2bin): new function
9077
9078 2007-09-11  Dan Williams  <dcbw@redhat.com>
9079
9080         * src/nm-manager.c
9081                 - (connection_get_settings_cb): emit connection-added signal
9082                 - (connection_removed_cb): uncomment bits for system settings service,
9083                         send connection-removed when appropriate
9084                 - (nm_manager_get_connection_secrets, get_secrets_cb): don't clobber
9085                         the stack by trying to g_object_set_data() on something that's
9086                         not a GObject; handle case where settings service returns
9087                         empty settings hash table
9088
9089 2007-09-11  Dan Williams  <dcbw@redhat.com>
9090
9091         * src/NetworkManagerPolicy.c
9092                 - (connection_added, connection_removed): trigger device change checks
9093                         on connection changes
9094
9095 2007-09-11  Dan Williams  <dcbw@redhat.com>
9096
9097         * src/nm-activation-request.c
9098                 - (connection_secrets_updated_cb): fix c&p error in signal emission
9099
9100 2007-09-11  Dan Williams  <dcbw@redhat.com>
9101
9102         * src/nm-device-802-11-wireless.c
9103                 - (real_connection_secrets_updated): fix erroneous check
9104
9105 2007-09-11  Dan Williams  <dcbw@redhat.com>
9106
9107         * introspection/nm-device.xml
9108           libnm-glib/nm-device.c
9109           libnm-glib/nm-device.c
9110                 - Fix Activate call argument borkage; Activate takes 3 arguments
9111
9112 2007-09-11  Dan Williams  <dcbw@redhat.com>
9113
9114         * libnm-glib/nm-access-point.c
9115           libnm-glib/nm-access-point.c
9116                 - (nm_access_point_get_frequency): now returns guint32 to match
9117                         property change on 2007-09-10
9118
9119 2007-09-11  Dan Williams  <dcbw@redhat.com>
9120
9121         * src/nm-device-802-11-wireless.c
9122                 - (nm_device_802_11_wireless_new): s/index/idx, stupid system header
9123                         somewhere defines 'index' and I missed this one when I fixed the
9124                         shadow declaration errors earlier
9125
9126 2007-09-11  Dan Williams  <dcbw@redhat.com>
9127
9128         * libnm-util/nm-connection.c
9129                 - (nm_connection_update_secrets, need_secrets_check): move
9130                         802-11-wireless-security need_secrets checks to the setting object
9131                         itself, where it belongs
9132
9133         * libnm-util/nm-setting.c
9134           libnm-util/nm-setting.h
9135                 - (nm_setting_need_secrets): new function
9136                 - (setting_wireless_security_verify,
9137                    nm_setting_wireless_security_new_from_hash): make 'key-mgmt' required
9138                 - (setting_wireless_security_need_secrets): mostly copy code over
9139                         from nm-connection.c
9140
9141 2007-09-11  Dan Williams  <dcbw@redhat.com>
9142
9143         * libnm-util/nm-setting.c
9144           libnm-util/nm-setting.h
9145                 - (nm_setting_update_secrets): new function; add a virtual function that
9146                         subclasses can implement to update their secrets
9147                 - (setting_wireless_security_update_secrets): implement that function
9148                         for the 802-11-wireless-security subclass
9149
9150         * libnm-util/nm-connection.c
9151           libnm-util/nm-connection.h
9152                 - (nm_connection_update_secrets): update secrets for a Setting and
9153                         emit a signal on success
9154
9155         * src/nm-manager.c
9156           src/nm-manager.h
9157           src/nm-marshal.list
9158                 - (connection_get_settings_cb): enable system settings bits
9159                 - (nm_manager_get_connection_secrets, get_secrets_cb): add function
9160                         to request secrets from the settings dbus service and to
9161                         push those secrets to the NMConnection itself
9162
9163         * src/nm-activation-request.c
9164           src/nm-activation-request.h
9165                 - Attach to the 'secrets-updated' signal of the NMConnection that's
9166                         currently being activated, and proxy that signal to other listeners.
9167                         Goes through the activation request because the activation request
9168                         is the thing that manages the lifetime of the NMConnection that's
9169                         being activated.
9170
9171         * src/nm-device-802-11-wireless.c
9172                 - (real_connection_secrets_updated): implement the connection secrets
9173                         updated notification and restart activation when secrets are
9174                         received
9175                 - (real_act_stage2_config): request secrets from the settings dbus
9176                         service if secrets are needed
9177
9178         * src/nm-device.c
9179           src/nm-device.h
9180                 - (clear_act_request, nm_device_activation_cancel,
9181                    nm_device_deactivate_quickly, nm_device_dispose): consolidate places
9182                         where the activation request is cleared
9183                 - (nm_device_activate, connection_secrets_updated_cb): attach to the
9184                         updated secrets signal of activation request and add a function
9185                         that subclasses can override to handle it easily
9186
9187 2007-09-11  Tambet Ingo  <tambet@gmail.com>
9188
9189         * src/backends/NetworkManagerSuSE.c: Fix a build issue caused by the
9190         removal of NetworkManagerAPList.
9191
9192 2007-09-10  Dan Williams  <dcbw@redhat.com>
9193
9194         * src/NetworkManagerAP.c
9195           src/NetworkManagerAP.h
9196           introspection/nm-access-point.xml
9197                 - Change 'freq' property to a guint32 instead of a double since we
9198                         weren't using the floating point bits anyway
9199
9200 2007-09-10  Dan Williams  <dcbw@redhat.com>
9201
9202         * NetworkManagerAP.c
9203           NetworkManagerAP.h
9204           NetworkManagerPolicy.c
9205           NetworkManagerSystem.c
9206           NetworkManagerUtils.c
9207           NetworkManagerUtils.h
9208           nm-device-802-11-wireless.c
9209           nm-device-802-3-ethernet.c
9210           nm-hal-manager.c
9211           nm-manager.c
9212           vpn-manager/nm-dbus-vpn.c
9213                 - Warning fixes; casts and removal of unused variables
9214
9215 2007-09-10  Dan Williams  <dcbw@redhat.com>
9216
9217         * include/NetworkManager.h
9218                 - Kill NMNetworkType; AP types don't matter any more
9219
9220         * src/NetworkManagerAPList.c
9221           src/NetworkManagerAPList.h
9222           src/Makefile.am
9223                 - Kill; NMAccessPointList has outlived it's usefulness
9224
9225         * src/NetworkManagerAP.c
9226           src/NetworkManagerAP.h
9227                 - (match_cipher, security_compatible, nm_ap_check_compatible): new
9228                         functions; check if an NMConnection object is compatible with the
9229                         settings of this AP
9230                 - (freq_to_channel, channel_to_freq): utility functions for
9231                         channel <-> frequency conversion
9232
9233         * src/nm-device.c
9234           src/nm-device.h
9235                 - (nm_device_get_best_connection): pass the specific object around
9236                          (which might be the object path of a specific AP to connect to).
9237                          The get_best_connection() call should populate this on return
9238                          if needed (wireless does).
9239
9240         * src/nm-device-802-3-ethernet.c
9241                 - (real_get_best_connection): handle specific_object argument
9242
9243         * src/NetworkManager.c
9244           src/NetworkManagerMain.h
9245                 - Remove unused includes
9246
9247         * src/nm-device-802-11-wireless.c
9248           src/nm-device-802-11-wireless.h
9249                 - Convert the ap_list into a GSList from an NMAccessPointList
9250                 - No need for caching the 'activation_ap' since this is now determined
9251                         from the specific_object of the activation request, which is
9252                         populated from the get_best_connection() call or from a user request
9253                 - (nm_device_802_11_wireless_update_bssid): fix warning
9254                 - (get_wireless_capabilities): fix error message format arguments
9255                 - (nm_device_802_11_wireless_copy_allowed_to_dev_list): remove, unused
9256                 - (find_best_connection, real_get_best_connection): implement
9257                 - (ap_list_get_ap_by_ssid, nm_device_802_11_wireless_ap_list_print):
9258                         move here from NetworkManagerAPList
9259                 - (ap_need_secrets): remove; moved to nm-connection.c where it belongs
9260                 - (real_act_stage1_prepare): just ensure an AP exists, connection is
9261                         already verified earlier
9262                 - (real_act_stage2_config): use nm_connection_need_secrets()
9263
9264         * src/NetworkManagerPolicy.c
9265                 - (nm_policy_auto_get_best_device): handle specific objects
9266                 - (create_connection): remove; automatic connection creation functionality
9267                         is handled by the Connection objects
9268                 - (nm_policy_device_change_check): handle specific_object
9269
9270         * libnm-util/nm-connection.c
9271                 - (wireless_sec_need_secrets, nm_connection_need_secrets): implement
9272
9273 2007-09-10  Dan Williams  <dcbw@redhat.com>
9274
9275         * src/nm-manager.c
9276                 - (query_connections): fix uninitialized variable problem that caused
9277                         segfault
9278                 - (nm_manager_add_device): take devices down on startup so that we can
9279                         be assured that nm_device_is_up() won't short-circuit the init
9280                         process.  Hack until the is_up check gets split into two pieces
9281                         that aren't behaviorally confusing.
9282
9283 2007-09-09  Dan Williams  <dcbw@redhat.com>
9284
9285         * introspection/nm-device.xml
9286                 - The 'Activate' method now takes 3 arguments, a service name for the
9287                 settings service (user or system), the object path of the connection
9288                 to activate, and the specific object to activate, if any
9289
9290         * src/nm-device-interface.c
9291                 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
9292                 Add error bits
9293                 - (impl_device_activate): adapt to new Activate arguments; validate
9294                 the service name and get the Connection object from the NMManager
9295                 before starting to activate the device with the specified connection
9296
9297         * src/nm-device-802-3-ethernet.c
9298                 - (real_get_best_connection): find the best connection, or create a
9299                 default one if no existing connections can be used
9300
9301         * src/NetworkManagerPolicy.c
9302                 - (nm_policy_auto_get_best_device): Get the device's best connection
9303                 and only pick the device if it has one
9304                 - (nm_policy_device_change_check): disable wireless bits for now until
9305                 wireless get_best_connection() can be implemented (replacing "best_ap");
9306                 don't create a default connection here as the device subclass will do
9307                 that if needed
9308
9309         * src/nm-manager.h
9310           src/nm-manager.c
9311                 - (nm_manager_get): make NMManager a singleton and expose the getter
9312                 internally
9313                 - Rework internal NMManager connection handling to use the same
9314                 routines for both the system and user settings services.  Most calls
9315                 take a new NMConnectionType argument specifying either system or user
9316                 connections
9317                 - (nm_manager_get_connection_by_object_path): new function; get a
9318                 connection keyed on its object path
9319
9320         * src/NetworkManager.c
9321                 - (main): use nm_manager_get()
9322
9323 2007-09-09  Dan Williams  <dcbw@redhat.com>
9324
9325         * src/nm-device.h
9326           src/nm-device.c
9327                 - (nm_device_get_best_connection): new function; get best connection
9328                         for the device at that time
9329
9330 2007-09-09  Dan Williams  <dcbw@redhat.com>
9331
9332         * src/nm-device-interface.h
9333                 - Add NMDeviceInterfaceError with an UnknownConnection error
9334
9335 2007-09-09  Dan Williams  <dcbw@redhat.com>
9336
9337         Stupid mistake on my part; object path and interface for settings service
9338         and connection objects can be the same, only the service name must be
9339         different for the system and user settings services.
9340
9341         * include/NetworkManager.h
9342           src/nm-manager.c
9343           introspection/nm-settings-connection.xml
9344           introspection/nm-settings.xml
9345           libnm-glib/nm-settings.c
9346                 - (nm_connection_settings_init, query_user_connections,
9347                    new_connection_cb): Unify NetworkManagerSettings and Connection
9348                    interface name and object path
9349
9350 2007-09-06  Dan Williams  <dcbw@redhat.com>
9351
9352         * libnm-glib/nm-object.c
9353                 - (nm_object_get_string_property, nm_object_get_object_path_property,
9354                    nm_object_get_int_property, nm_object_get_uint_property,
9355                    nm_object_get_boolean_property, nm_object_get_byte_property,
9356                    nm_object_get_double_property, nm_object_get_byte_array_property):
9357                         clear GValues after copying their contents, fixes memory leaks
9358                         after every property access because dbus-glib copies the values
9359                         from the DBusMessage into the GValue already.
9360
9361 2007-09-06  Dan Williams  <dcbw@redhat.com>
9362
9363         * introspection/nm-access-point.xml
9364                 - Fix WpaFlags and RsnFlags property names to be what dbus-glib expects
9365                         them to be.  There's some magic property name parsing going on in
9366                         dbus-glib that breaks up property names based on studly-caps and
9367                         puts - between words.
9368
9369         * libnm-glib/nm-access-point.c
9370                 - (nm_access_point_get_wpa_flags, nm_access_point_get_rsn_flags):
9371                         Fix property names
9372
9373 2007-09-06  Dan Williams  <dcbw@redhat.com>
9374
9375         * src/nm-manager.c
9376                 - (nm_manager_user_connections_destroy): clear the user connections hash
9377                         table, don't destroy it
9378                 - (finalize): only destroy the hash table on NMManager finalization
9379
9380 2007-09-02  Dan Williams  <dcbw@redhat.com>
9381
9382         * include/NetworkManager.h
9383           libnm-glib/nm-settings.c
9384                 - defines for the user settings daemon D-Bus bits
9385
9386         * src/NetworkManager.c
9387                 - Remove stuff that referred to the old NetworkManagerInfo service
9388
9389         * src/vpn-manager/nm-dbus-vpn.h
9390                 - Move old NMI defines to the only place they are used still
9391
9392         * libnm-util/nm-connection.c
9393           libnm-util/nm-connection.h
9394           src/nm-activation-request.c
9395                 - Make NMConnection a GObject subclass so we can do spiffy stuff with it
9396
9397         * src/nm-manager.c
9398           src/nm-manager.h
9399                 - Get connections and their settings from the user settings daemon
9400                         at the appropriate times
9401
9402 2007-09-02  Dan Williams  <dcbw@redhat.com>
9403
9404         * libnm-util/nm-setting.c
9405                 - (nm_settings_verify): correct setting name is 'connection', not 'info'
9406                 - (setting_wireless_hash): set the right value on the item
9407
9408 2007-09-02  Dan Williams  <dcbw@redhat.com>
9409
9410         * test/Makefile.am
9411           test/nminfotest.c
9412                 - Remove, no longer useful
9413
9414 2007-08-30  Dan Williams  <dcbw@redhat.com>
9415
9416         * src/Makefile.am
9417           src/NetworkManagerDbus.c
9418           src/NetworkManagerDbus.h
9419           src/vpn-manager/nm-dbus-vpn.c
9420                 - Remove, no longer necessary.  Move last bits to the only place its
9421                 used, in nm-dbus-vpn.c
9422
9423         * src/NetworkManagerAPList.c
9424           src/nm-device.c
9425           src/NetworkManager.c
9426           src/nm-device-802-11-wireless.c
9427           src/vpn-manager/nm-vpn-manager.c
9428           src/vpn-manager/nm-vpn-service.c
9429           src/NetworkManagerPolicy.c
9430           src/nm-manager.c
9431                 - Remove usage of NetworkManagerDbus.h, and kill the obfuscation
9432                 that was message_is_error()
9433
9434 2007-08-30  Dan Williams  <dcbw@redhat.com>
9435
9436         * libnm-util/sha1.c
9437                 - Include config.h to get defines for endiannes (gnome.org #420216)
9438
9439 2007-08-30  Dan Williams  <dcbw@redhat.com>
9440
9441         Patch from Philip Withnall <bugzilla@tecnocode.co.uk>
9442
9443         * src/ppp-manager/Makefile.am
9444                 - use -fPIC (gnome.org #471825)
9445
9446 2007-08-29  Dan Williams  <dcbw@redhat.com>
9447
9448         * include/NetworkManager.h
9449                 - Keep NMConnection object path in sync
9450
9451         * libnm-glib/nm-settings.c
9452           libnm-glib/nm-settings.h
9453                 - Break D-Bus object registration out of the init function, because
9454                 every object that's exported over D-Bus needs to use the _same_
9455                 DBusConnection.  Otherwise, each object would get a different object
9456                 path tree and wouldn't be callable.
9457
9458 2007-08-29  Dan Williams  <dcbw@redhat.com>
9459
9460         * libnm-util/nm-setting.h
9461           libnm-util/nm-setting.c
9462           libnm-util/nm-connection.c
9463           src/NetworkManagerPolicy.c
9464                 - 'info' settings object should be 'connection' says the spec
9465                 at NetworkManagerConfigurationSpecification
9466
9467 2007-08-29  Dan Williams  <dcbw@redhat.com>
9468
9469         * libnm-glib/nm-settings.c
9470           libnm-glib/nm-settings.h
9471                 - make the dbus path a property of the object, and autogenerate it.
9472                 It can't be composed of the 'id' field becuase that's not available
9473                 yet during the GObject creation in nm_connection_settings_init()
9474
9475 2007-08-29  Dan Williams  <dcbw@redhat.com>
9476
9477         * introspection/nm-settings-connection.xml
9478           introspection/nm-settings.xml
9479                 - Service name -> NetworkManagerUserSettings because two services
9480                 can't share part of the same path.  I'm not really sure how we'll use
9481                 the same code with the system-settings daemon...
9482
9483 2007-08-28  Dan Williams  <dcbw@redhat.com>
9484
9485         * src/nm-device-interface.c
9486           src/nm-device-interface.h
9487                 - Kill one more bit of NMData
9488
9489 2007-08-28  Dan Williams  <dcbw@redhat.com>
9490
9491         * src/NetworkManagerSystem.h
9492           src/nm-device.c
9493           src/nm-device.h
9494           src/nm-hal-manager.c
9495           src/NetworkManager.c
9496           src/nm-device-802-11-wireless.c
9497           src/nm-hal-manager.h
9498           src/nm-device-802-3-ethernet.c
9499           src/vpn-manager/nm-vpn-service.h
9500           src/vpn-manager/nm-vpn-manager.c
9501           src/vpn-manager/nm-vpn-manager.h
9502           src/vpn-manager/nm-vpn-service.c
9503           src/nm-device-802-11-wireless.h
9504           src/NetworkManagerMain.h
9505           src/nm-device-802-3-ethernet.h
9506           src/backends/NetworkManagerGentoo.c
9507           src/backends/NetworkManagerPaldo.c
9508           src/backends/NetworkManagerFrugalware.c
9509           src/backends/NetworkManagerRedHat.c
9510           src/backends/NetworkManagerSlackware.c
9511           src/backends/NetworkManagerGeneric.c
9512           src/backends/NetworkManagerArch.c
9513           src/backends/NetworkManagerSuSE.c
9514           src/backends/NetworkManagerGeneric.h
9515           src/backends/NetworkManagerDebian.c
9516                 - Kill NMData
9517
9518 2007-08-28  Dan Williams  <dcbw@redhat.com>
9519
9520         * src/NetworkManagerMain.h
9521           src/nm-device-802-11-wireless.c
9522           src/NetworkManager.c
9523                 - Remove invalid AP list from NMData; need to rework this somewhat, but
9524                 for now we should set the 'invalid' property on individual APs, and when
9525                 we need to invalidate a whole ESS, set the 'invalid' on every member of
9526                 that ESS
9527
9528 2007-08-28  Dan Williams  <dcbw@redhat.com>
9529
9530         * src/NetworkManagerAP.c
9531           src/NetworkManagerAP.h
9532                 - Remove 'fallback' tag, to be replaced by NMConnection/NMSettings
9533                         'autoconnect' property instead
9534
9535         * src/NetworkManager.c
9536           src/NetworkManagerMain.h
9537           src/NetworkManagerPolicy.c
9538           src/NetworkManagerPolicy.h
9539                 - Remove the 'allowed_ap_list', which should be replaced by 
9540                         NMConnection/NMSettings instead, since _those_ are the allowed
9541                         things that NM can connect to
9542
9543         * src/nm-device-802-11-wireless.c
9544                 - Remove both allowed_ap_list usage and 'fallback' checking
9545
9546 2007-08-28  Dan Williams  <dcbw@redhat.com>
9547
9548         * src/nm-device.c
9549           src/named-manager/nm-named-manager.c
9550           src/named-manager/nm-named-manager.h
9551           src/NetworkManager.c
9552           src/vpn-manager/nm-vpn-manager.c
9553           src/NetworkManagerMain.h
9554           src/NetworkManagerSystem.c
9555                 - Remove the named-manager object from NMData structure in preparation
9556                 for NMData's timely death.  Make the NMNamedManager the singleton that
9557                 it really is
9558
9559 2007-08-28  Dan Williams  <dcbw@redhat.com>
9560
9561         Remove NMAPSecurity objects, they are replaced with flags on the APs for
9562         each AP's capabilities, and by NMConnection/NMSettings objects for user
9563         defined connections.
9564
9565         * include/NetworkManager.h
9566                 - Redefine 802.11 security properties.  There are now device capabilities
9567                         and AP flags and AP security flags.  It was way to unclear before.
9568
9569         * src/Makefile.am
9570           src/nm-ap-security-leap.h
9571           src/nm-ap-security-leap.c
9572           src/nm-ap-security-wpa-eap.c
9573           src/nm-ap-security-wpa-eap.h
9574           src/nm-ap-security-private.h
9575           src/nm-ap-security-wpa-psk.c
9576           src/nm-ap-security-wpa-psk.h
9577           src/nm-ap-security-wep.c
9578           src/nm-ap-security-wep.h
9579           src/nm-ap-security.c
9580           src/nm-ap-security.h
9581                 - Removed, to be replaced with NMConnection/NMSettings objects
9582
9583         * src/nm-dbus-nmi.c
9584           src/nm-dbus-nmi.h
9585                 - Removed, to be replaced by code that talks to the new info daemon
9586                         interface and gets NMConnection/NMSettings objects
9587
9588         * src/backends/NetworkManagerSuSE.c
9589                 - Remove usage of NMAPSecurity; should be replaced by a system-level
9590                         info-daemon that does the same thing but talks the new info-daemon
9591                         D-Bus interface
9592
9593         * src/NetworkManagerAP.h
9594           src/NetworkManagerAP.c
9595           src/NetworkManagerAPList.c
9596           libnm-glib/libnm-glib-test.c
9597                 - Remove usage of NMAPSecurity objects and adjust to new flags for
9598                         WPA/RSN
9599
9600         * libnm-glib/nm-access-point.c
9601           libnm-glib/nm-access-point.h
9602           introspection/nm-access-point.xml
9603           test/nm-tool.c
9604                 - Adjust to new flags for AP security
9605
9606         * utils/nm-utils.c
9607           utils/nm-utils.h
9608           src/vpn-manager/nm-dbus-vpn.c
9609                 - Remove D-Bus pending call stuff from nm-utils and put it in the VPN
9610                         stuff which is the only place it's used
9611
9612         * src/nm-device-interface.c
9613           src/nm-device-interface.h
9614           introspection/nm-device.xml
9615           src/nm-activation-request.c
9616           src/nm-activation-request.h
9617           src/nm-device.c
9618                 - Add a new 'specific_object' argument that hints to NM what actual
9619                         AP or other device-specific thing the connection should apply to.
9620                         NMConnection objects can apply to more than one actual device/AP.
9621
9622         * libnm-util/nm-connection.c
9623         * libnm-util/nm-connection.h
9624                 - Add 'have_secrets" call stubs
9625
9626         * libnm-util/cipher.h
9627                 - Move NM_AUTH_TYPE_* defines here for now
9628
9629         * src/nm-device-802-11-wireless.c
9630                 - Remove usage of NMAPSecurity, to be replaced with NMConnection/
9631                         NMSettings objects
9632
9633         * src/NetworkManagerDbus.c
9634         * src/NetworkManagerPolicy.c
9635                 - Remove usage of update_allowed_networks, should be pushing data in
9636                         a different manner
9637
9638 2007-08-27  Tambet Ingo  <tambet@gmail.com>
9639
9640         * src/nm-manager.c (impl_manager_get_devices): Duplicate the device path, 
9641         dbus-glib frees it when the call is done.
9642
9643 2007-08-26  Dan Williams  <dcbw@redhat.com>
9644
9645         * introspection/nm-device.xml
9646                 - Add 'Index' property on NMDevice objects (forgot to do this earlier)
9647
9648 2007-08-26  Dan Williams  <dcbw@redhat.com>
9649
9650         * src/nm-device-802-3-ethernet.c
9651                 - (constructor): move connection of interface-connected/disconnected
9652                         signals here from real_bring_up().  Should be listening to netlink
9653                         for carrier events no matter what the initial state of the device
9654                         is.
9655
9656 2007-08-26  Dan Williams  <dcbw@redhat.com>
9657
9658         * src/nm-netlink-monitor.c
9659                 - (nm_netlink_monitor_class_init): fix marshalling types for
9660                         interface-connected/interface-disconnected
9661                 - (nm_netlink_monitor_event_handler): clean up carrier on/off
9662                         check
9663
9664 2007-08-26  Dan Williams  <dcbw@redhat.com>
9665
9666         Convert to using interface indexes as the primary method of identifying
9667         devices inside NetworkManager.  Indexes are (?) stable, but devices can
9668         be renamed at any time.  Device object paths now refer to the device
9669         index rather than the name, and you can map those two manually if you like
9670         by looking in the /sys/class/net/<name>/ifindex file.  Also moves most
9671         netlink-related code to nm-netlink.c, and cleans up nm-netlink-monitor.c
9672         to use interface indexes rather than names.
9673
9674 2007-08-26  Dan Williams  <dcbw@redhat.com>
9675
9676         * src/nm-netlink-monitor.h
9677                 - Remove one last bit of wireless-event signal
9678
9679 2007-08-26  Dan Williams  <dcbw@redhat.com>
9680
9681         * src/nm-netlink-monitor.c
9682                 - (nm_netlink_monitor_class_init, nm_netlink_monitor_event_handler):
9683                         don't need the 'wireless-event' signal anymore since that's all
9684                         handled by wpa_supplicant
9685
9686 2007-08-25  Dan Williams  <dcbw@redhat.com>
9687
9688         It's 2007. Remove support for drivers that don't support wireless scanning.
9689
9690         * test/nm-tool.c
9691           include/NetworkManager.h
9692           src/NetworkManagerUtils.c
9693           src/NetworkManagerPolicy.c
9694           src/nm-device-802-11-wireless.c
9695                 - Remove special handling for non-scanning devices and mark them
9696                         as unsupported/unhandled
9697
9698 2007-08-20  Dan Williams  <dcbw@redhat.com>
9699
9700         * src/nm-device-802-11-wireless.c
9701           src/nm-device-802-3-ethernet.c
9702                 - (real_is_up): move device-specific tests before generic IFF_UP test,
9703                         because when the card is pulled or the module removed, the device
9704                         is already !IFF_UP and then device-specific cleanup (removing
9705                         the supplicant interface, periodic checks, etc) never gets done
9706
9707 2007-08-20  Dan Williams  <dcbw@redhat.com>
9708
9709         * src/nm-manager.c
9710                 - (nm_manager_remove_device): bring device down before disconnecting
9711                         signal handlers, so that the 'state' signal will get broadcast when
9712                         the device enters the DOWN state
9713                 - (manager_device_state_changed): add NM_DEVICE_STATE_DOWN to the list
9714                         of states that cause the NMManager to recheck its state
9715
9716 2007-08-20  Dan Williams  <dcbw@redhat.com>
9717
9718         * src/supplicant-manager/nm-supplicant-interface.c
9719                 - (interface_disconnect_done): don't try to dispose of the net proxy
9720                         when it may already have been disposed of
9721
9722 2007-08-20  Dan Williams  <dcbw@redhat.com>
9723
9724         * src/nm-device-802-11-wireless.c
9725                 - (nm_device_802_11_wireless_get_ssid): don't traceback and die when
9726                         the SSID isn't available; this can happen when the card is pulled
9727                         or the module unloaded, during the post-removal deactivation
9728                         paths, when the ioctl returns ENODEV
9729
9730 2007-08-20  Dan Williams  <dcbw@redhat.com>
9731
9732         * src/nm-device-802-11-wireless.c
9733                 - (merge_scanned_ap): only merge the AP with another if the SSID, BSSID,
9734                         frequency, and mode match.  Applets are now responsible for grouping
9735                         access points
9736
9737 2007-08-20  Dan Williams  <dcbw@redhat.com>
9738
9739         * src/NetworkManagerAP.c
9740         * src/NetworkManagerAP.h
9741                 - (nm_ap_print_self): new function
9742
9743         * src/NetworkManagerAPList.c
9744                 - (nm_ap_list_print_members): call nm_ap_print_self() rather than trying
9745                         to do it all here
9746         
9747 2007-08-17  Dan Williams  <dcbw@redhat.com>
9748
9749         * src/nm-device-802-3-ethernet.c
9750                 - (real_bring_down): don't try to dispose of stuff that might not
9751                         exist
9752
9753 2007-08-17  Dan Williams  <dcbw@redhat.com>
9754
9755         * src/NetworkManagerAP.c
9756                 - (nm_ap_set_user_addresses): uppercase any BSSID passed in from the
9757                         applet.  This ensures that the case between the seen-bssids and
9758                         the bssids reported by the driver match.
9759
9760 2007-08-17  Dan Williams  <dcbw@redhat.com>
9761
9762         * src/nm-device-802-11-wireless.c
9763                 - (device_cleanup): disconnect the interface in wpa_supplicant before
9764                         we dispose of the interface proxy in NM
9765
9766 2007-08-16  Dan Williams  <dcbw@redhat.com>
9767
9768         * libnm-glib/nm-client.c
9769                 - (nm_client_init): create VPN connections hash table with key free
9770                         function
9771                 - (proxy_vpn_connection_added): VPN connections hash table key should
9772                         be a duplicated value, not the same memory address as the VPN
9773                         connection name.  This is because the VPN connection name could
9774                         potentially be freed and set to something else during the lifetime
9775                         of the NMVPNConnection object.
9776
9777 2007-08-16  Tambet Ingo  <tambet@gmail.com>
9778
9779         * src/ppp-manager/nm-ppp-manager.c (pppd_child_setup): Implement.
9780         (nm_ppp_manager_start): Use g_spawn_async() since we're not doing anything
9781         with the file descriptors. Send a child setup function to change the pppd
9782         progress group.
9783
9784 2007-08-15  Dan Williams  <dcbw@redhat.com>
9785
9786         * src/supplicant-manager/nm-supplicant-interface.c
9787                 - (try_remove_iface): new function, ask wpa_supplicant to remove
9788                         an interface
9789                 - (nm_supplicant_interface_dispose): call try_remove_iface() when
9790                         disposing of the NMSupplicantInterface.  Otherwise weird stuff
9791                         happens on hotplug if wpa_supplicant doesn't tear down and readd
9792                         the interface internally
9793
9794 2007-08-15  Dan Williams  <dcbw@redhat.com>
9795
9796         * src/nm-device-802-11-wireless.c
9797                 - (real_bring_down): move most of this function into device_cleanup()
9798                         so that it can be called from elsewhere
9799                 - (nm_device_802_11_wireless_dispose): clean up device periodic timers
9800                         and stuff on dispose.  These would normally get cleaned up when
9801                         the device is marked down and deactivated, but when the device is
9802                         hot-unplugged, it's already down and real_down() never gets run
9803
9804 2007-08-15  Dan Williams  <dcbw@redhat.com>
9805
9806         * src/nm-dbus-nmi.c
9807                 - (nm_dbus_get_user_key_for_network_cb): fix incorrect refcounting that
9808                         caused a reference leak on device for which NM requested a key
9809
9810 2007-08-15  Dan Williams  <dcbw@redhat.com>
9811
9812         * libnm-glib/nm-client.c
9813                 - (nm_client_get_best_vpn_state): fix leakage of the vpn connection list
9814
9815 2007-08-15  Tambet Ingo  <tambet@gmail.com>
9816
9817         * src/ppp-manager: Implement ppp-manager. It's sort of dead code for now since
9818         nothing is using it at the moment, but it'll be all useful and stuff later on.
9819
9820         * libnm-util/nm-setting.h: Define NMSettingPPP.
9821
9822         * libnm-util/nm-setting.c: Implement NMSettingPPP.
9823
9824         * libnm-util/nm-connection.c (register_default_creators): Register ppp setting.
9825
9826         * src/Makefile.am: Add ppp-manager to SUBDIRS.
9827
9828         * configure.in: Require ppp headers. Build Makefile for ppp-manager.
9829
9830         * introspection/Makefile.am: Add nm-manager-client.xml to EXTRA_DIST.
9831
9832 2007-08-14  Tambet Ingo  <tambet@gmail.com>
9833
9834         * libnm-glib/Makefile.am: Use nm-manager-client.xml to produce nm-client-bindings.
9835
9836         * introspection/nm-manager-client.xml: Add a horrible horrbile hack to work around
9837         an issue with dbus-glib bindings generator. The issue is, the generated C caller
9838         functions for dbus methods "Sleep(bool)" and "sleep()" both have the same function
9839         name and different arguments and it won't compile anymore. To fix this, we now have
9840         two copies of nm-manager.xml file. nm-manager.xml contains the actual interface,
9841         that is new API + compatibility API and used by the daemon. The other, 
9842         nm-manager-client.xml is only the new API without compatibility bits and is used
9843         by libnm-glib to make it compile.
9844
9845         * introspection/nm-manager.xml: Define compatibility methods (sleep, wake, state).
9846
9847         * src/nm-manager.c (impl_manager_legacy_sleep)
9848         (impl_manager_legacy_wake, impl_manager_legacy_state): Implement the compatibility
9849         interface functions for 0.6 branch.
9850
9851 2007-08-14  Dan Williams  <dcbw@redhat.com>
9852
9853         * src/NetworkManagerAP.c
9854                 - (nm_ap_new_from_properties): fix mistaken check of return value
9855                         from memcmp (should expect 0)
9856
9857 2007-08-14  Dan Williams  <dcbw@redhat.com>
9858
9859         (force-commit to fix wrong comment and partial commit of r2685; this
9860          commit actually applies to r2685)
9861
9862         * src/NetworkManagerUtils.c
9863                 - (nm_utils_same_ssid): add "ignore_trailing_null" parameter which
9864                         ignores trailing nulls in the SSID to work around mismatches in
9865                         expectations between WEXT and what the info-daemon passes back.  The
9866                         info-daemon would pass back the correct length, but due to the
9867                         ESSID length issues with WEXT 22 and greater and wpa_supplicant,
9868                         the device would always have an SSID + 1 depending on what versions
9869                         of wpa_supplicant, the kernel, and NM you have.  This was most often
9870                         visible by just quitting the applet and relaunching, which caused
9871                         NM to reassociated to the same network over again when reloading
9872                         the save networks.
9873
9874         * src/NetworkManagerPolicy.c
9875           src/NetworkManagerUtils.h
9876           src/nm-device-802-11-wireless.c
9877                 - Update for new parameter to nm_utils_same_ssid()
9878
9879 2007-08-14  Dan Williams  <dcbw@redhat.com>
9880
9881         * src/NetworkManagerAP.c
9882                 - (nm_ap_new_from_properties): ignore BSSs with invalid BSSIDs.  Today
9883                         I encountered a BSS that wasn't just hiding it's ESSID, it was
9884                         setting the BSSID to all 0s.  That confused the heck out of NM,
9885                         plus it's useless and probably out-of-spec.
9886
9887 2007-08-14  Dan Williams  <dcbw@redhat.com>
9888
9889         * callouts/Makefile.am
9890           src/dhcp-manager/nm-dhcp-manager.c
9891           src/dhcp-manager/nm-dhcp-manager.h
9892           src/dhcp-manager/Makefile.am
9893                 - Change install location of nm-dhcp-client.action to ${prefix}/libexec
9894
9895 2007-08-14  Dan Williams  <dcbw@redhat.com>
9896
9897         * src/dhcp-manager/nm-dhcp-manager.c
9898                 - (dhclient_run): don't pass -x to dhclient until we figure out if
9899                         it's really needed, get rid of unused xtra_args parameter
9900
9901 2007-08-14  Dan Williams  <dcbw@redhat.com>
9902
9903         * include/NetworkManagerVPN.h
9904           src/vpn-manager/nm-dbus-vpn.c
9905           src/vpn-manager/nm-dbus-vpn.h
9906           src/vpn-manager/nm-vpn-act-request.c
9907           src/vpn-manager/nm-vpn-act-request.h
9908           src/vpn-manager/nm-vpn-service.c
9909           src/vpn-manager/nm-vpn-service.h
9910           libnm-glib/nm-vpn-connection.c
9911           libnm-glib/nm-vpn-connection.h
9912           libnm-glib/nm-client.h
9913                 - Rename NM_VPN_STATE_* -> NM_VPN_SERVICE_STATE_* and NMVPNState -> 
9914                         NMVPNServiceState to clarify what they apply to
9915                 - Rename NM_VPN_ACT_STAGE_* -> NM_VPN_CONNECTION_STATE_* and
9916                         NMVPNActStage -> NMVPNConnectionState for the same reason
9917
9918         * libnm-glib/nm-client.c
9919                 - Constant + type renames from above
9920                 - Properly handle NameOwnerChanged/manager_running signals
9921                         for NM service; only emit when state really changes
9922                 - Use hash tables correctly so that the key (which was previously owned
9923                         by the D-Bus message) now has the same lifetime as the value, since
9924                         the key is now taken from the the NMVPNConnection itself.  This
9925                         really fixes the double-VPN names in the applet
9926
9927 2007-08-13  Dan Williams  <dcbw@redhat.com>
9928
9929         Patch from Michael Biebl <biebl@debian.org>
9930
9931         * po/POTFILES.in
9932           po/POTFILES.skip
9933                 - Update for vpn-properties move
9934
9935 2007-08-13  Dan Williams  <dcbw@redhat.com>
9936
9937         * libnm-glib/nm-client.c
9938                 - Convert internal VPN connection tracking from a list to a hash table
9939                         to easily avoid duplicates
9940                 - (nm_client_get_vpn_connections): now returns an allocated GSList that
9941                         must be freed by the caller, like nm_client_get_devices()
9942                 - (nm_client_remove_vpn_connection): don't let the removal signal
9943                         leak through for NMVPNConnection objects that aren't actually
9944                         tracked.
9945                 - (manager_running): throw away VPN connection list when NM goes away,
9946                         like with the device list
9947
9948 2007-08-13  Dan Williams  <dcbw@redhat.com>
9949
9950         * src/dhcp-manager/nm-dhcp-manager.c
9951                 - Stop any dhclient instance that might be already running for a
9952                         particular interface before starting an NM spawned dhclient.  Fixes
9953                         dhclient processes left over if NM crashes, stuff like that.
9954
9955 2007-08-13  Dan Williams  <dcbw@redhat.com>
9956
9957         * src/NetworkManagerAP.c
9958                 - (finalize): don't try to g_array_free (NULL, ...), which happened
9959                         when the AP wasn't broadcasting it's SSID
9960
9961 2007-08-13  Rodrigo Moya <rodrigo@gnome-db.org>
9962
9963         * include/NetworkManager.h: added DBus path for connection settings.
9964
9965         * libnm-glib/nm-settings.[ch] (nm_settings_signal_new_connection,
9966         nm_connection_settings_signal_updated,
9967         nm_connection_settings_signal_removed): new functions to wrap the
9968         objects' signals.
9969         (nm_connection_settings_init): register GObject with DBus.
9970         (nm_connection_settings_get_dbus_object_path): new function.
9971
9972         * libnm-glib/Makefile.am: added libnmutil to link flags.
9973
9974 2007-08-13  Tambet Ingo  <tambet@gmail.com>
9975
9976         * configure.in: Remove checks for dhcdbd as it's killed! killed! killed!
9977
9978         * gnome/*: Remove. The nm-vpn-properties directory is now part of nm-applet,
9979         libnm_glib directory got merged with libnm-glib/.
9980
9981         * libnm-glib/libnm-glib.pc.in: Rename to libnm_glib.pc.in.
9982
9983         * libnm-glib/Makefile.am: Add legacy libnm_glib.[ch] to the build.
9984         Rename the library from libnm-glib to libnm_glib to maintain the library API
9985         compatibility with 0.6 branch.
9986
9987         * Makefile.am: Remove gnome/ SUBDIR.
9988
9989         * gnome/libnm_glib/libnm_glib.[ch]: Move to libnm-glib/.
9990
9991         * src/Makefile.am: Remove the WPA_SUPPLICANT_BIN define.
9992
9993         * dispatcher-daemon/Makefile.am: Link the binary with libnm_glib.
9994
9995         * configure.in: Remove GNOME checks, NetworkManager does not need any of these
9996         anymore.
9997         Remove checks for wpa_supplicant binary, it's used over dbus.
9998         Remove gnome/ directory files form AC_OUTPUT, that directory is getting moved.
9999
10000         * test/Makefile.am: Remove define WPA_SUPPLICANT_BIN.
10001         Link the binaries with libnm_glib.la.
10002
10003 2007-08-12  Dan Williams  <dcbw@redhat.com>
10004
10005         * src/NetworkManagerPolicy.c
10006                 - (nm_policy_device_change_check): fix policy to deactivate old device
10007                         before activating new one, at least until the multiple active
10008                         device support lands
10009
10010 2007-08-12  Dan Williams  <dcbw@redhat.com>
10011
10012         * src/NetworkManagerPolicy.c
10013                 - (nm_policy_new): hook up to connection-added / connection-removed
10014                         signals instead of connections-changed
10015
10016 2007-08-12  Dan Williams  <dcbw@redhat.com>
10017
10018         Kill dhcdbd until it's dead, dead, dead.  Based on a patch from
10019         Robert Frank <rfrank@redhat.com>
10020
10021         * src/dhcp-manager/nm-dhcp-manager.c
10022           src/dhcp-manager/nm-dhcp-manager.c
10023           src/nm-device.c
10024                 - Spawn and communicate with dhclient directly, through means of a
10025                 custom dhclient callout script.  Process callout D-Bus signals
10026                 with dbus-glib instead of hand-rolled dbus.  DHCP timeouts are now
10027                 sent via gobject signals rather than being driven by the dhcp manager
10028                 directly.
10029
10030 2007-08-12  Dan Williams  <dcbw@redhat.com>
10031
10032         * callouts/nm-dhcp-client-action.c
10033                 - (build_message): ignore non-DHCP-related environment variables
10034
10035 2007-08-12  Dan Williams  <dcbw@redhat.com>
10036
10037         * Makefile.am
10038           configure.in
10039           callouts/Makefile.am
10040           callouts/nm-dhcp-client-action.c
10041           callouts/nm-dhcp-client.conf
10042                 - Add dhclient-executed callout that takes the place of dhclient-script
10043                 and dhcdbd, pushing DHCP options out to the system bus as a signal that
10044                 NM then listens for
10045
10046 2007-08-09  Tambet Ingo  <tambet@gmail.com>
10047
10048         [Based on patch by Helmut Schaa <hschaa@suse.de>]
10049
10050         * libnm-glib/nm-client.h:
10051         * libnm-glib/nm-object.h:
10052         * libnm-glib/nm-vpn-connection.h:
10053         * libnm-glib/nm-settings.h:
10054         * libnm-glib/nm-device.h:
10055         * libnm-glib/nm-ip4-config.h:
10056         * libnm-glib/nm-access-point.h:
10057         * libnm-glib/nm-device-802-3-ethernet.h:
10058         * libnm-util/nm-setting.h: 
10059         * libnm-util/nm-connection.h: Add G_BEGIN_DECLS / G_END_DECLS to support C++.
10060
10061         * libnm-glib/nm-object.c (nm_object_get_byte_property): Implement.
10062
10063         * libnm-glib/nm-access-point.c: Strength has type char.
10064
10065         * gnome/vpn-properties/Makefile.am: Remove GNOME_DISABLE_DEPRECTATED for now
10066         to fix build. GnomeDruid is deprecated in recent libgnomeui.
10067
10068         * introspection/nm-access-point.xml: Strength property is char, not int.
10069
10070         * src/NetworkManagerAP.c (set_property): Set strength from char.
10071         (get_property): Handle hidden APs (with empty SSID).
10072         Get strength value from char.
10073         (nm_ap_class_init): Strength property has char type.
10074
10075 2007-08-03  Rodrigo Moya <rodrigo@gnome-db.org>
10076
10077         * introspection/Makefile.am:
10078         * introspection/nm-settings.xml:
10079         * introspection/nm-settings-connection.xml: added Settings interfaces.
10080
10081         * libnm-glib/nm-settings.[ch]:
10082         * libnm-glib/Makefile.am: added abstract class for Settings interfaces
10083         containing the DBus implementation.
10084
10085 2007-07-26  Dan Williams  <dcbw@redhat.com>
10086
10087         Patch from Bernhard Miklautz <bernhard.miklautz@shacknet.at>
10088
10089         * src/NetworkManagerSystem.c
10090                 - (nm_system_device_set_ip4_route): don't add the route if it's on the
10091                         same subnet (#437396)
10092
10093 2007-07-26  Dan Williams  <dcbw@redhat.com>
10094
10095         Patch from Kelemen Gábor <kelemeng@gnome.hu>
10096
10097         * gnome/vpn-properties/nm-vpn-properties.c
10098                 - Fix translatable strings (#445865)
10099
10100 2007-07-26  Dan Williams  <dcbw@redhat.com>
10101
10102         Patch from Andreas Hanke <andreas.hanke@gmx-topmail.de>
10103
10104         * configure.in
10105                 - Remove useless junk (#412530)
10106
10107 2007-07-10  Christopher Aillon  <caillon@redhat.com>
10108
10109         Patch from Robert Buchholz <rbu@gentoo.org>:
10110
10111         * configure.in:
10112         * Makefile.am:
10113         * introspection/Makefile.am:
10114         Make make distcheck work again.
10115
10116 2007-06-27  Dan Williams  <dcbw@redhat.com>
10117
10118         * Make SSIDs GByteArrays everywhere
10119         * Rename "essid" -> "ssid" everywhere that's appropriate
10120         * Refcount activation_ap member of the 802.11 wireless device class
10121
10122 2007-06-27  Tambet Ingo  <tambet@ximian.com>
10123
10124         * libnm-glib/nm-object.[ch]: Add these to the SVN, oops.
10125
10126 2007-06-22  Tambet Ingo  <tambet@ximian.com>
10127
10128         * src/nm-device-802-11-wireless.c (merge_scanned_ap): Don't advertise constantly
10129         that we got a new AP when we just update existing AP properties.
10130
10131 2007-06-21  Tambet Ingo  <tambet@ximian.com>
10132
10133         * libnm-glib/Makefile.am: Add NMObject to build, remove nm-utils.[ch].
10134
10135         * nm-utils.[ch]: Remove.
10136
10137         * libnm-glib/nm-object.c: Implement a base class for all libnm-glib dbus-aware
10138         objects for easy property access and dbus connection handling.
10139
10140         * libnm-glib/nm-client.c: Derive from NMObject.
10141
10142         * libnm-glib/nm-device.c: Ditto.
10143
10144         * libnm-glib/nm-device-802-3-ethernet.c: Changes for being based on NMObject.
10145
10146         * libnm-glib/nm-device-802-11-wireless.c: Ditto.
10147
10148         * libnm-glib/nm-ip4-config.c: Ditto.
10149
10150         * libnm-glib/nm-access-point.c: Ditto.
10151
10152         * libnm-util/nm-connection.c (nm_connection_compare): Add a stub for connection
10153         comparision. Currently used by the device activation code to determine if the new
10154         activation is the same as the old one.
10155
10156         * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Don't use the obsolete and
10157         wrong way of getting the dbus path for AP. Fixes the issue where the applet isn't
10158         able to ask password for the AP.
10159
10160         * src/nm-device.c (nm_device_activate): Change the logic here - instead of giving
10161         up if the device is already connected, tear down it's connection (if it isn't the
10162         same as new one) and start the activation.
10163
10164         * src/nm-manager.c: Add the beginnings of NMConnection storage and signals.
10165
10166         * src/NetworkManagerAP.c (nm_ap_init): Set the default values to AP memebers, fixes
10167         the issue where all APs are always listed as encrypted.
10168
10169         * src/NetworkManagerDbus.c (nm_dbus_get_object_path_for_network): Remove. APs have
10170         their own registered paths.
10171
10172         * test/nm-tool.c (detail_device): Don't try to get active network from wireless
10173         device if it's not connected - dbus-glib will happily crash trying to marshal NULL.
10174
10175 2007-06-13  Tambet Ingo  <tambet@ximian.com>
10176
10177         * src/NetworkManagerAP.c (foreach_property_cb): Set WEP capabilities too!
10178         (0 & 0 == 0, doh)
10179
10180         * src/nm-device.c (nm_device_state_changed): Emit the signal before handling it
10181         because the handling code will cause the next state change and signal listeners
10182         get the signals in wrong order.
10183
10184         * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Get the "old_dev"
10185         correctly in case of pending activation.
10186
10187         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
10188         Convert the essid byte array to string correctly, including the terminating NULL.
10189
10190         * src/NetworkManagerPolicy.c (create_connection): Create wireless ssid and
10191         mode with correct types.
10192
10193         * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Fix a typo, pass the
10194         constructed info to dbus call instead of the activation request.
10195
10196 2007-06-11  Christopher Aillon  <caillon@redhat.com>
10197
10198         Patch from Christian Persch <chpe@gnome.org>
10199
10200         * libnm-glib/Makefile.am:
10201         * dispatcher-daemon/Makefile.am:
10202         Use the correct variables, the correct paths, and correct ordering. (446315)
10203
10204 2007-06-11  Tambet Ingo  <tambet@ximian.com>
10205
10206         * src/nm-device.c: Make the activation stage virtual functions take NMDevice
10207         argument. The activation request is easy to retrieve.
10208
10209         * src/nm-activation-request.c: Convert to GObject. Do not include half of NM headers
10210         just to be a convenient location for devices to store random stuff.
10211
10212 2007-06-11  Christopher Aillon  <caillon@redhat.com>
10213
10214         Patch from Alex Smith <alex@alex-smith.me.uk>
10215
10216         * src/backends/NetworkManagerFrugalware.c:
10217         Update the FrugalWare backend to fix a few segfaults. (#392642)
10218
10219 2007-06-08  Tambet Ingo  <tambet@ximian.com>
10220
10221         * libnm-util/nm-setting.c: Implement NMSettingWirelessSecurity.
10222
10223         * libnm-util/nm-connection.c (register_default_creators): Register wireless security
10224         setting.
10225         (gvalue_to_string): Recognize G_TYPE_UCHAR and GSList.
10226
10227 2007-06-06  Tambet Ingo  <tambet@ximian.com>
10228
10229         * libnm-util/nm-setting.c: Get rid of dump virtual functions, that can happen
10230         automagically.
10231         Implement NMSettingIP4Config.
10232         Finish NMSettingWired by adding all known members.
10233         (setting_wired_verify): Implement.
10234         Finish NMSettingWireless by adding all known members.
10235         (setting_wireless_verify): Implement.
10236
10237         * libnm-util/nm-connection.c: Register "ipv4" setting.
10238         (nm_connection_dump): Implement. Instead of requiring every NMSetting to implement
10239         dump function, we can introspect the GHashTable which is used for sending connections
10240         over dbus.
10241
10242         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
10243         Take GByteArray for essid, it's really not a string.
10244
10245         * src/nm-device.c (real_act_stage3_ip_config_start): Get information from NMSettings.
10246         Start DHCP request if setting is not passed or if it states that DHCP should be used.
10247         (real_act_stage4_get_ip4_config): If settings are provided, use them, even if it
10248         means overriding the values we got from DHCP.
10249         (real_activation_cancel_handler): Cancel DHCP transaction only if it has started, doh.
10250         (nm_device_deactivate_quickly): Ditto.
10251
10252         * src/nm-device-interface.c (impl_device_activate): Dump the connection structure
10253         for debugging.
10254
10255 2007-05-07  Tambet Ingo  <tambet@ximian.com>
10256
10257         * libnm-glib/Makefile.am: Link with libnm-util to gain access to
10258         NMConnection.
10259
10260         * libnm-glib/nm-device-802-11-wireless.c:
10261         (nm_device_802_3_ethernet_activate): Remove.
10262
10263         * libnm-glib/nm-device-802-3-ethernet.c
10264         (nm_device_802_3_ethernet_activate): Remove.
10265
10266         * libnm-glib/nm-device.c (nm_device_activate): Implement.
10267
10268         * src/nm-device-802-3-ethernet.c: Implement the new activation using
10269         NMConnection.
10270
10271         * src/nm-device-802-11-wireless.c: Store an activation AP once the
10272         activation has started.
10273         Implement the new activation using NMConnection.
10274
10275         * src/nm-activation-request.c: Store a generic connection object instead
10276         of a wireless-specific AP.
10277
10278         * src/NetworkManagerPolicy.c (create_connection): Implement. Depending
10279         on device type, create a device specific connection object suitable for
10280         device activation.
10281
10282         * src/nm-device.c (nm_device_activate): Re-implement. Call the device
10283         specific check to validate the connection and on success start the
10284         activation.
10285
10286         * src/nm-device-interface.h: Add a activate virtual function to the
10287         interface definition.
10288
10289         * src/nm-device-interface.c (nm_device_interface_activate): Implement.
10290         (impl_device_activate): Implement.
10291
10292         * introspection/nm-device.xml: Add a generic device activation interface
10293         that accepts an abstract NMConnection structure that has device-specific
10294         information in it.
10295
10296         * introspection/nm-device-802-3-ethernet.xml: Remove the wired-specific
10297         activation interface.
10298
10299         * introspection/nm-device-802-11-wireless.xml: Remove the wireless-specific
10300         activation interface.
10301
10302         * libnm-util/nm-connection.c: 
10303         * libnm-util/nm-connection.h: 
10304         * libnm-util/nm-setting.c:
10305         * libnm-util/nm-setting.h: Add.
10306
10307         * libnm-util/Makefile.am: Build the added files.
10308
10309         * src/nm-dbus-manager.c
10310         (proxy_name_owner_changed, nm_dbus_manager_class_init): Remove the
10311         DbusConnection argument from 'name-owner-changed' signal. The manager
10312         is already passed as a first argument to the signal and the connection
10313         is easy enough to get from it.
10314
10315         * src/vpn-manager/nm-vpn-service.c (nm_vpn_service_name_owner_changed):
10316         Update the signature of the function.
10317
10318         * src/vpn-manager/nm-vpn-manager.c (nm_name_owner_changed_handler):
10319         Ditto.
10320
10321         * src/NetworkManager.c: Ditto.
10322
10323         * src/named-manager/nm-named-manager.c
10324         (nm_named_manager_name_owner_changed): Ditto.
10325
10326         * src/supplicant-manager/nm-supplicant-manager.c
10327         (nm_supplicant_manager_name_owner_changed): Ditto.
10328
10329         * src/nm-hal-manager.c (name_owner_changed): Ditto.
10330
10331         * src/dhcp-manager/nm-dhcp-manager.c
10332         (nm_dhcp_manager_name_owner_changed): Ditto.
10333
10334         * src/nm-hal-manager.c: Add a list of device detectors and creators
10335         to make it easier to add new devices. Each device type has it's own
10336         entry in the table so adding new device types is only a matter of
10337         implementing a couple of functions, one for device detection and the
10338         other for device creation.
10339
10340 2007-04-25  Dan Williams  <dcbw@redhat.com>
10341
10342         * initscript/RedHat/NetworkManager.in: remove trailing backslash
10343                 (gnome.org #432401)
10344
10345 2007-03-30  Dan Williams  <dcbw@redhat.com>
10346
10347         * src/NetworkManagerSystem.c
10348                 - (nm_system_device_set_ip4_route): clean up and fix argument
10349                         to nm_dev_sock_open()
10350
10351 2007-03-28  Tambet Ingo  <tambet@ximian.com>
10352
10353         * src/supplicant-manager/nm-supplicant-config.c (get_hash_cb): Marshal the
10354         data to correct types instead of always using string.
10355
10356         * src/NetworkManagerAP.c (get_property): AP is encrypted if capabilities does
10357         _not_ have NM_802_11_CAP_PROTO_NONE.
10358         (foreach_property_cb): Set AP capabilities if it's not set or if the protocol
10359         is not set.
10360
10361 2007-03-27  Tambet Ingo  <tambet@ximian.com>
10362
10363         * libnm-glib/Makefile.am: Fix the build issue.
10364
10365 2007-03-26  Tambet Ingo  <tambet@ximian.com>
10366
10367         * libnm-glib/nm-vpn-connection.h: 
10368         * libnm-glib/nm-vpn-connection.c: Implement.
10369
10370         * libnm-glib/nm-client.c: Add VPN support.
10371
10372         * src/vpn-manager/nm-dbus-vpn.c (dbus_message_handler): Implement DBUS message
10373         handler for VPN.
10374
10375         * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_new): Register VPN interface
10376         on DBUS again.
10377
10378 2007-03-26  Dan Williams  <dcbw@redhat.com>
10379
10380         * src/NetworkManagerAPList.c
10381         * src/nm-device-802-11-wireless.c
10382         * src/NetworkManagerAP.c:
10383                 - Store last seen as glong instead of GTimeVal.
10384                 - Fix the upper bound of capabilities, it's a bitfield.
10385
10386 2007-03-16  Tambet Ingo  <tambet@ximian.com>
10387
10388         * libnm-glib/nm-device.c (nm_device_get_description): Implement.
10389
10390         * libnm-glib/nm-client.c (nm_client_manager_is_running): Implement. Also add a
10391         "manager-running" signal that notifies the appearance/disappearance of NM.
10392         (nm_client_sleep): Implement.
10393
10394         * libnm-glib/nm-device.c:
10395         * libnm-glib/nm-device-802-11-wireless.c: 
10396         * libnm-glib/nm-device-802-3-ethernet.c: 
10397
10398         Don't inherit from DBusGProxy, add a proxy to private
10399         data. The reason is, classes inherited from NMDevice wouldn't get any dbus signals
10400         for anything but their own dbus interface. DBusGProxy objects support only one
10401         interfaces and to work around this, NMDevice has spearate proxy for each dbus
10402         interface. The nice side effect of this change is that we do not create a new
10403         DBusGProxy object for each property access.
10404
10405 2007-03-15  Tambet Ingo  <tambet@ximian.com>
10406
10407         * src/nm-device-802-11-wireless.c (constructor): Initialize the iw_ext structures
10408         with zeroes before passing them to functions - the functions never do that and
10409         reading the values back may produce wrong values.
10410         (real_bring_up): Store the signal handler id ...
10411         (real_bring_down): ... So that it can be removed here.
10412         Disconnect the supplicant interface here as well.
10413         (nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): Use the dbus object path
10414         from the access point instead of old $device/Networks/$essid.
10415
10416         * src/nm-manager.c (nm_manager_get_state): Return NM_STATE_CONNECTED when the
10417         device state is connected (instead of just having link/carrier).
10418
10419         * src/nm-activation-request.c: Don't store NMData in activation request, it's
10420         already easily accessible through the device.
10421
10422         * src/NetworkManagerAP.c (nm_ap_init): Construct the dbus object path here and
10423         store it within the object.
10424         (nm_ap_get_dbus_path): Export it to public as well.
10425
10426         * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get): Keep the ownership
10427         of the singleton.
10428
10429 2007-03-12  Dan Williams  <dcbw@redhat.com>
10430
10431         Get rid of 2 second poll of sysfs 'carrier' file for wired devices.  Useless
10432         for non-carrier-detect capable devices, and useless for carrier-detect
10433         devices since we get notifications from netlink about carrier status anyway.
10434
10435         * src/nm-device-802-3-ethernet.c
10436                 - remove 'link_source_id' member from private data
10437                 - (probe_link): remove and collapse into real_update_link()
10438                 - (nm_device_802_3_periodic_update): remove
10439                 - (real_is_up): check for sup_iface rather than link_source_id
10440                 - (real_bring_up): return gboolean for success/fail; require that
10441                         sup_iface be valid for device bringup to succeed
10442                 - (real_bring_down): zero out link signal ids
10443
10444         * src/nm-device.c
10445                 - (nm_device_activate_stage2_device_config): fail activation if device
10446                         bringup fails
10447                 - (real_act_stage4_get_ip4_config): fail activation if device bringup
10448                         fails
10449                 - (nm_device_bring_up): return success/fail
10450
10451         * src/nm-device.h
10452                 - bring_up now returns success/fail
10453
10454         * src/nm-device-802-11-wireless.c
10455                 - (real_bring_up): return success from bringup
10456
10457 2007-03-07  Dan Williams  <dcbw@redhat.com>
10458
10459         Patch from Simon Geard <delgarde@ihug.co.nz>  (Gnome.org #394956)
10460         * src/nm-ap-security-wpa-psk.c
10461                 - (real_write_supplicant_config): work with PSKs that may contain
10462                         zeros in the binary format rather than treating it as a string
10463
10464 2007-03-02  Tambet Ingo  <tambet@ximian.com>
10465
10466         * libnm-glib/nm-device-802-11-wireless.c
10467         (nm_device_802_11_wireless_get_capabilities): Implement.
10468
10469         * libnm-glib/nm-device.c (nm_device_get_capabilities): Implement.
10470
10471         * src/nm-device-802-11-wireless.c: Add "WirelessCapabilities" property.
10472
10473         * src/named-manager/nm-named-manager.c (remove_one_zone_from_named): Unref the
10474         reply only if it's not NULL. Not sure why this started happening right now.
10475
10476         * src/nm-manager.c (device_stop_and_free): Remove. No need to have different
10477         code paths for when devices get removed on shutdown or when a device is just
10478         removed.
10479         (finalize): Don't use a g_slist_foreach() when removing devices, the list data
10480         gets freed so any signal from a device (disconnected for instance) would invoke
10481         NMState update which would crash.
10482         (nm_manager_remove_device): Bring the device down when it gets removed.
10483
10484         * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Remove
10485         the unused dev_type.
10486
10487         * src/nm-hal-manager.c (create_device_and_add_to_list): Don't keep the
10488         reference to the added device, NMManager will own it (if it wants).
10489
10490         * test/nm-tool.c: Rewrite using libnm-glib.
10491
10492         * libnm-glib/nm-device-802-11-wireless.c: Cache networks (bssids) list.
10493         We get signalled when it changes.
10494
10495         * libnm-glib/nm-client.c: Cache NMState and device list, we get signalled
10496         when it changes.
10497
10498         * libnm-glib/nm-device.c: Cache the device state property.
10499
10500         * libnm-glib/nm-access-point.c: Cache the strength property.
10501
10502         * src/nm-device-802-11-wireless.c: Fix wireless device scanning scheduler.
10503         The new algorithm is to start from SCAN_INTERVAL_MIN (currently defined as 0)
10504         and add a SCAN_INTERVAL_STEP (currently 20 seconds) with each successful scan
10505         until SCAN_INTERVAL_MAX (currently 120 seconds) is reached. Do not scan while
10506         the device is down, activating, or activated (in case of A/B/G cards).
10507         Remove some old dead ifdef'ed out code that used to configure wireless devices,
10508         it's all done through supplicant now.
10509
10510         * src/supplicant-manager/nm-supplicant-interface.c: Fix the reference
10511         counting issues with pending calls which caused leaks and crashes when
10512         interface was removed (now that the interface actually gets removed).
10513
10514         * src/nm-call-store.c: Make a copy of data before running a foreach
10515         with user callback on it - The most common usage pattern is to cancel
10516         (and thus remove) all pending calls with foreach which would modify
10517         the hash table we're iterating over.
10518
10519         * src/nm-manager.c: When a device is added, make sure it is "up". When
10520         it's removed or disabled due to disabling wireless or networking, bring
10521         it down.
10522
10523         * include/NetworkManager.h: Add new device state NM_DEVICE_STATE_DOWN.
10524
10525         * src/nm-device-802-11-wireless.c: 
10526         * src/nm-device-802-3-ethernet.c: 
10527         * src/nm-device.c:
10528                 - Remove "init" virtual function, all gobjects have a place for that
10529                   already (constructor).
10530                 - Replace "start" virtual function with "bring_up", devices can be
10531                   brought up and down more than just on startup now.
10532                 - Add "is_up" virtual function.
10533                 - Implement one way to bring a device down instead of previous 4 different
10534                   ways, each of witch did something different.
10535
10536         * src/NetworkManagerUtils.c (nm_dev_sock_open): This doesn't need an NMDevice,
10537         all it needs is the device interface.
10538
10539         Get rid of NMData.dev_list (3 members to go).
10540         Get rif of NMData in a lot of places.
10541
10542         * gnome/libnm_glib/libnm_glib.c: Make it compile again.
10543
10544 2007-02-23  Dan Williams  <dcbw@redhat.com>
10545
10546         Patch from Andy Whitcroft <apw@shadowen.org> (Gnome.org #410426)
10547
10548         * src/NetworkManagerAP.c
10549                 - (add_capabilities_from_cipher): fix addition of WEP capabilities by
10550                         OR-ing rather than AND-ing
10551
10552 2007-02-20  Tambet Ingo  <tambet@ximian.com>
10553
10554         * libnm-glib/nm-device-802-11-wireless.c: Add "network-added" and
10555         "network-removed" signals.
10556
10557         * libnm-glib/libnm-glib.pc.in: Require NetworkManager >= 0.7.0.
10558
10559         * libnm-glib/nm-access-point.c: Add "strength-changed" signal, emit it
10560         when receiving the signal from dbus.
10561
10562         * src/nm-device-802-11-wireless.c (get_property): Fix PROP_ACTIVE_NETWORK
10563         property.
10564
10565         * src/NetworkManagerPolicy.c (state_changed): Fix a typo to make the
10566         deactivation of the previously activated device working again.
10567
10568         * src/nm-activation-request.c: Remove NMActStage property and it's getter
10569         and setter.
10570
10571         * src/nm-device.c (nm_device_is_activated): Remove.
10572         state == NM_DEVICE_STATE_ACTIVATED is just as easy to use.
10573
10574         * include/NetworkManager.h: Remove NM_DBUS_NO_DEVICES_ERROR,
10575         NM_DBUS_NO_DIALUP_ERROR, NM_DBUS_NO_NETWORKS_ERROR,
10576         NM_DBUS_NO_ACTIVE_DEVICE_ERROR, NM_DBUS_NO_ACTIVE_NET_ERROR errors and
10577         NM_DBUS_SIGNAL_STATE_CHANGE signal.
10578         Remove NMNetworkStatus and NMActStage enums.
10579
10580 2007-02-19  Tambet Ingo  <tambet@ximian.com>
10581
10582         * src/vpn-manager/nm-vpn-manager.c: Handle the DBUS state changes itself.
10583         Handle device state changes and disconnect VPN if it's device deactivates.
10584
10585         * src/nm-dbus-nm.c: 
10586         * src/nm-dbus-nm.h: 
10587         * src/nm-dbus-device.c: 
10588         * src/nm-dbus-device.c: 
10589         * src/nm-dbus-net.c: 
10590         * src/nm-dbus-net.h: Remove. All of it is implemented byt the new dbus API.
10591
10592         * src/NetworkManagerMain.h: Get rid of all but 3 properties of NMData.
10593
10594         * src/nm-device.c (nm_device_get_by_udi):
10595         (nm_device_get_by_iface): Remove. This doesn't belong here and is already
10596         implemented in the correct location (NMManager).
10597         Rip out all the test_device stuff.
10598
10599         * src/NetworkManagerPolicy.c: Remove the leftover activation success and
10600         failure handlers, it's all done by NMDevice already.
10601
10602         * src/NetworkManager.c: Move the signal handling here from nm-logging.c
10603         Remove the iochannel hack to route the unix signals to the main thread since
10604         we're not threaded anymore.
10605
10606         * src/NetworkManagerAP.c: Implement HWAddress property.
10607
10608         * src/NetworkManagerDbus.c: Remove the dbus signal sending code, it happens
10609         automatically with dbus-glib.
10610
10611         * src/nm-netlink-monitor.c: 
10612         * src/nm-netlink-monitor.h:
10613                 - Move it low in the class hierarchy, don't reference any NM types.
10614                 - Remove private data from the header.
10615                 - Use type safe checks in public API methods.
10616                 - Make it a singleton so we don't have to pass the single reference around.
10617
10618 2007-02-16  Tambet Ingo  <tambet@ximian.com>
10619
10620         * introspection/nm-ip4-config.xml: Implement.
10621
10622         * libnm-glib/libnm-glib-test.c: Use new DBUS API in tests.
10623
10624         * libnm-glib/nm-ip4-config.c:
10625         * libnm-glib/nm-ip4-config.c: Implement.
10626
10627         * src/nm-ap-security[-*]: Remove circular dependencies between APs and AP
10628         securities. APs reference security.
10629
10630         * src/nm-device-802-11-wireless.c: Implement missing properties that need to
10631         be exported over DBUS.
10632
10633         * src/nm-device-802-3-ethernet.c: Ditto.
10634
10635         * src/NetworkManagerAP.c:
10636         * src/NetworkManagerAP.h:
10637                 - Convert to GObject, export over DBUS.
10638
10639         * src/nm-ip4-config.h:
10640         * src/nm-ip4-config.h:
10641                 - Convert to GObject, export over DBUS.
10642
10643 2007-02-12  Dan Williams  <dcbw@redhat.com>
10644
10645         Patch from Helmut Schaa <hschaa@suse.de>
10646
10647         * vpn-daemons/pptp/configure.in
10648           vpn-daemons/pptp/Makefile.am
10649           vpn-daemons/openvpn/configure.in
10650           vpn-daemons/openvpn/Makefile.am
10651           vpn-daemons/vpnc/configure.in
10652           vpn-daemons/vpnc/Makefile.am
10653                 - Add --without-gnome switch which disables building gnome bits
10654
10655 2007-02-12  Tambet Ingo  <tambet@ximian.com>
10656
10657         * libnm-glib/nm-device.c (nm_device_get_use_dhcp): Remove.
10658
10659         * libnm-glib/nm-access-point.c (nm_access_point_is_broadcast): Remove.
10660
10661         * introspection/nm-device-802-3-ethernet.xml: Rename 'Address' property to
10662         'HwAddress'.
10663
10664         * introspection/nm-device.xml: Remove 'UseDhcp' property.
10665
10666         * introspection/nm-access-point.xml: Remove 'Broadcast' property.
10667
10668         Totally break NetworkManager. Please use 0.6 branch until futher notice.
10669
10670         * src/:
10671                 - Remove old low-level dbus interface implementations and replace them
10672                   with dbus-glib one.
10673
10674         * configure.in:
10675                 - Require dbus-glib >= 0.72.
10676                 - Plug in new sources to build.
10677
10678         * libnm-glib/:
10679                 - Implement GObject wrappers on top of DBUS glib auto-generated bindings
10680                   to make it more convenient to use from GObject based programs.
10681
10682         * introspection/:
10683                 - Implement DBUS XML introspection files, used by both NM and libnm-glib.
10684
10685 2007-02-09  Tambet Ingo  <tambet@ximian.com>
10686
10687         * src/nm-device-802-11-wireless.c:
10688                 - Add "network-added" and "network-removed" signals.
10689                 - Use gobject boilerplate macros to define the GObject.
10690                 - Implement wireless device activation.
10691                 - Remove activation_failure_handler and activation_success_handler
10692                   and instead listen on state-changed signals and run the same code
10693                   from there.
10694
10695         * src/nm-device.c:
10696                 - Implment NMDeviceInterface::deactivate.
10697                 - Remove activation_failure_handler and activation_success_handler
10698                   virtual methods. Each device which is interested in these events
10699                   can just listen on it's state changed signals.
10700
10701         * src/NetworkManagerPolicy.c:
10702                 - Move a bit more NMData usage to NMManager.
10703                 - Remove activation scheduling bits.
10704                 - Add listeners for wireless device's "network-added" and
10705                   "network-removed" signals.
10706                 - Listen device changed signals and deactivate currently activated
10707                   device when another device start activating (for now).
10708                 - Remove (nm_policy_schedule_device_change_check): There's never a need
10709                   for calling this, the policy code knows exactly when this should happen,
10710                   by listening on events from NMManager and NMDevices.
10711
10712         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_activate):
10713         Implement.
10714
10715         * src/nm-dbus-nm.c (nm_dbus_nm_set_active_device): Call the activation
10716         method on the specific device instead of going to through policy code
10717         and determining the device type by passed in AP's existance.
10718
10719         * src/nm-device-interface.c (nm_device_interface_deactivate): Implement the
10720         abstract NMDevice deactivation.
10721
10722 2007-02-08  Tambet Ingo  <tambet@ximian.com>
10723
10724         * src/NetworkManager.c:
10725                 - Set up all the shiny new managers.
10726
10727         * src/NetworkManagerPolicy.c:
10728                 - Add the beginnings of new NMPolicy code. Instead of requireing all
10729                   classes to call into policy code, make the policy code kind of like
10730                   a supervisor that monitors what's going on and drives the whole NM.
10731
10732         * src/nm-hal-manager.c: 
10733         * src/nm-hal-manager.h:
10734                 - Collect all libhal code scattered around NM to this one class.
10735                 - Listen libhal and NMManager events and add/remove devices to
10736                   NMManager.
10737
10738         * src/nm-manager.c:
10739         * src/nm-manager.h:
10740                 - Implment a replacement for NMData. NMData is now officially
10741                 deprecated.
10742
10743 2007-02-05  Tambet Ingo  <tambet@ximian.com>
10744
10745         * src/nm-device-802-11-wireless.c (supplicant_iface_scan_result_cb): 
10746         * src/supplicant-manager/nm-supplicant-interface.h
10747         * src/supplicant-manager/nm-supplicant-interface.c
10748         (nm_supplicant_interface_class_init): Change the "scan-result" signal's
10749         argument to boolean from enum.
10750
10751         Make NMDevice abstract class, remove almost all references to it's
10752         subclasses (the last place gets removed with new policy manager). Add
10753         NMDeviceInterface (which NMDevice implements) so that when we have
10754         NMDevice exported over DBUS, there's a common NMDevice interface which
10755         all instances have, plus there's a device specific interface for each
10756         specific type.
10757         Remove functions (nm_device_is_802_3_ethernet) and
10758         (nm_device_is_802_11_wireless). There are already standard GObject macros
10759         for type safe checks.
10760         Use the updated supplican manager API.
10761
10762         * src/nm-device-interface.h: 
10763         * src/nm-device-interface.c: 
10764         * src/nm-call-store.h: 
10765         * src/nm-call-store.c: Implement.
10766
10767         * src/supplicant-manager/nm-supplicant-interface.c:
10768         * src/supplicant-manager/nm-supplicant-interface.h:
10769         * src/supplicant-manager/nm-supplicant-manager.c:
10770         * src/supplicant-manager/nm-supplicant-manager.h:
10771                 - Remove all private data type references from public header files.
10772                 - Remove all references to other NM classes, this class is just a
10773                   proxy between wpa_supplicant and NM so it doesn't have to know
10774                   any internals.
10775                 - Convert to dbus-glib bindings.
10776                 - Type safe checks for public methods' arguments.
10777                 - Store pending DBUS call ids to NMCallStore.
10778
10779         * src/supplicant-manager/nm-supplicant-config.c:
10780                 - Store config values in a GHashTable instead of GSList.
10781
10782         * src/NetworkManagerMain.h: Remove all references to DHCP manager.
10783
10784         * src/NetworkManager.c: Don't initialize the DHCP manager, it's a
10785         singleton now.
10786
10787         * src/nm-device.c: Use the new DHCP manager API.
10788
10789         * src/nm-activation-request.c:
10790         * src/nm-activation-request.h:
10791                 - Remove all dhcp related properties and methods.
10792
10793         * src/dhcp-manager/nm-dhcp-marshal-main.c: Add.
10794
10795         * src/dhcp-manager/nm-dhcp-marshal.list: Add.
10796
10797         * src/dhcp-manager/nm-dhcp-manager.c:
10798         * src/dhcp-manager/nm-dhcp-manager.h:
10799                 - Convert it to GObject since we need to signal state changes.
10800                 - Remove all references to other NM classes, this class is one
10801                   of the lowest classes in our hierarchy.
10802                 - One less class to use NMActRequest.
10803                 - Make it singleton, one less user of NMData.
10804                 - Remove a couple of sleep() calls.
10805                 - Convert a bunch of low-level dbus API calls to dbus-glib calls.
10806                   One less class to use the NM's custom tailored signal handlig.
10807
10808         * Makefile.am: Generate marshallers, add them to build.
10809
10810 2007-02-02  Dan Williams  <dcbw@redhat.com>
10811
10812         * configure.in
10813           gnome/Makefile.am
10814           nm-applet.desktop
10815           Makefile.am
10816                 - Remove last bits referencing gnome applet
10817
10818 2007-02-02  Dan Williams  <dcbw@redhat.com>
10819
10820         * src/vpn-manager/nm-vpn-service.c
10821                 - (nm_vpn_service_stage4_ip4_config_get): use uint32 arrays for DNS
10822                         and NBNS server addresses
10823
10824 2007-02-02  Tambet Ingo  <tambet@ximian.com>
10825
10826         * src/nm-dbus-manager.c:
10827         * src/nm-dbus-manager.h:
10828                 - Convert all internal DBUS code to use dbus-glib bindings.
10829                 - Remove GObject properties, we don't need them here.
10830                 - Don't explicitly set things to NULL after freeing, glib is
10831                   happy to do it if asked nicely (G_DEBUG=gc-friendly).
10832                 - Make public API argument checks type safe.
10833                 - Remove unnecessary (and wrong) cast to GObject for the first
10834                   argument to g_signal_* calls - The first argument is a gpointer.
10835                 - Export DBusGConnection to other cool classes that (are going to)
10836                   use dbus-glib.
10837
10838 2007-01-26  Dan Williams  <dcbw@redhat.com>
10839
10840         * libnm-util/dbus-dict-helpers.c
10841           libnm-util/dbus-dict-helpers.h
10842                 - Coordinate style with wpa_supplicant version to minimize diff
10843                 - Add uint32 array support
10844                 - (nmu_dbus_dict_append_uint32_array): new function
10845                 - (nmu_dbus_dict_begin_string_array, nmu_dbus_dict_string_array_add_element,
10846                    nmu_dbus_dict_end_string_array): bring over from wpa_supplicant
10847                         version; allow adding string array elements individually
10848
10849         * test/libnm-util/test-dbus-dict-helpers.c
10850                 - Test uint32 arrays
10851
10852 2007-01-27  Jürg Billeter  <j@bitron.ch>
10853
10854         * src/backends/NetworkManagerPaldo.c
10855                 - (nm_system_update_dns): clear nscd hosts cache
10856
10857 2007-01-04  Dan Williams  <dcbw@redhat.com>
10858
10859         Threading removal related cleanups:
10860
10861         - Use the glib default main context.  Remove the device main context
10862                 member from NMDevice, and the main_context member from NMData.  Change
10863                 all the idle and timeout scheduler functions to use plain
10864                 g_idle_add() and g_timeout_add().
10865
10866         - As a side-effect of the first change, nm_dbus_manager_get() no longer
10867                 takes an argument; fix that up too.
10868
10869         - Remove all locking, which is useless since we no longer use threads.  For
10870                 example, nm_get_device_by_iface_locked() has been removed.  The global
10871                 device list lock, the AP List lock, and all static locks in
10872                 NetworkManagerPolicy.c have been removed.  The locking utility functions
10873                 in NetworkManagerUtils.c have also been removed.
10874
10875         - Other cleanups in spacing and code style
10876
10877 2007-01-01  Dan Williams  <dcbw@redhat.com>
10878
10879         Found by Bill Moss:
10880
10881         * src/supplicant-manager/nm-supplicant-interface.c
10882                 - (nm_supplicant_interface_disconnect): fix cleanup logic when
10883                         the supplicant interface wasn't already disconnected.  Always
10884                         call removeNetwork and disconnect unless the supplicant interface
10885                         is in the DISCONNECTED or INACTIVE state.
10886
10887 2006-12-28  Dan Williams  <dcbw@redhat.com>
10888
10889         Use a single thread for everything.  With the move to wpa_supplicant
10890         and communication over D-Bus, there's no reason for multiple threads.
10891         Almost all of the blocking code has been removed, with one exception in
10892         the DHCP manager and a few in the VPN manager.  This commit removes the
10893         per-device worker thread and fixes activation cancellation in the absence
10894         of threads.  Further removal of thread-related code would be removing
10895         any locking code (like the device list lock) and simplification of logic
10896         around areas of code or data structures that are currently locked.
10897
10898         * autoip.c
10899           dhcp-manager/nm-dhcp-manager.c 
10900           nm-device-802-11-wireless.c
10901           nm-device-802-3-ethernet.c
10902           nm-device.c
10903           nm-device.h
10904                 - Remove usage of multiple threads
10905
10906 2006-12-19  Dan Williams  <dcbw@redhat.com>
10907
10908         Big wpa_supplicant + dbus update; need latest wpa_supplicant from CVS
10909         plus a few other patches from wpa_supplicant bugzilla.
10910
10911         * src/Makefile.am
10912           src/NetworkManagerPolicy.c
10913           src/NetworkManagerUtils.c
10914           src/NetworkManagerUtils.h
10915           src/nm-ap-security-leap.c
10916           src/nm-ap-security-wep.c
10917           src/nm-ap-security-wpa-eap.c
10918           src/nm-ap-security-wpa-psk.c
10919           src/nm-ap-security.c
10920           src/nm-ap-security.h
10921           src/nm-device-802-11-wireless.c
10922           src/nm-device-802-11-wireless.h
10923           src/supplicant-manager/nm-supplicant-config.c
10924           src/supplicant-manager/nm-supplicant-config.h
10925           src/supplicant-manager/nm-supplicant-interface.c
10926           src/supplicant-manager/nm-supplicant-interface.h
10927           src/supplicant-manager/nm-supplicant-marshal.list
10928           src/supplicant-manager/nm-supplicant-settings-verify.c
10929           src/supplicant-manager/nm-supplicant-settings-verify.h
10930                 - Move all connection management and association handling to
10931                         wpa_supplicant over dbus, rather than spawning a private copy
10932
10933 2006-12-19  Dan Williams  <dcbw@redhat.com>
10934
10935         * src/NetworkManagerPolicy.c
10936                 - (nm_policy_device_change_check, nm_policy_schedule_device_change_check):
10937                         better locking of the device change check handler ID.  Incorrect
10938                         locking was causing lost device change requests
10939
10940 2006-12-18  Dan Williams  <dcbw@redhat.com>
10941
10942         * libnm-util/dbus-dict-helpers.c
10943                 - (_nmu_dbus_dict_entry_get_array, _nmu_dbus_dict_entry_get_string_array,
10944                    _nmu_dbus_dict_entry_get_byte_array): replace usage of
10945                    dbus_message_iter_get_array_len()  (Gnome.org #382898)
10946
10947 2006-12-18  Dan Williams  <dcbw@redhat.com>
10948
10949         * gnome/libnm_glib/libnm_glib.c
10950                 - Change dbus_connection_close() -> dbus_connection_unref()
10951
10952 2006-12-11  Dan Williams  <dcbw@redhat.com>
10953
10954         * src/supplicant-manager/nm-supplicant-interface.c
10955                 - (iface_state_cb, wpas_iface_get_state): new functions; query initial
10956                         wpa_supplicant interface state
10957                 - (nm_supplicant_interface_add_cb): query initial wpa_supplicant interface
10958                         state before transitioning to READY state
10959
10960 2006-12-04  Dan Williams  <dcbw@redhat.com>
10961
10962         * src/nm-device-802-11-wireless.c
10963                 - (supplicant_iface_scanned_ap_cb): fix parsing of hidden APs due to
10964                         odd length of ESSID returned from ieee80211 stack-based drivers
10965
10966 2006-12-04  Dan Williams  <dcbw@redhat.com>
10967
10968         * src/nm-device-802-11-wireless.c
10969                 - (supplicant_iface_scanned_ap_cb): remove erroneous & from WPA & RSN
10970                         IE handling blocks that cause mis-parsing of the IE
10971
10972 2006-12-04  Dan Williams  <dcbw@redhat.com>
10973
10974         * src/nm-device-802-11-wireless.c
10975                 - (init_supplicant_interface): new function; pull supplicant interface
10976                         setup code out into standalone function since it must be called from
10977                         two different places
10978                 - (real_init): sup_mgr is now in private object data; get and track
10979                         the supplicant manager object over the NMDevice subclass' lifetime
10980                         and register a signal handler for its state signals; only try to
10981                         initialize the supplicant interface if the supplicant manager is in
10982                         the IDLE state (and therefore is ready for requests)
10983                 - (request_wireless_scan): reschedule the scan request if (a) there is
10984                         no supplicant interface yet (meaning wpa_supplicant isn't running
10985                         or isn't ready yet), or (b) if the supplicant interface isn't ready
10986                         for requests yet
10987                 - (supplicant_iface_connection_state_cb): new function; stub for
10988                         handling supplicant interface connection state signals
10989                 - (supplicant_mgr_state_cb): do the right thing when wpa_supplicant
10990                         comes and goes
10991                 - (nm_device_802_11_wireless_dispose): clean up spacing; release the
10992                         supplicant manager object that's being tracked starting with this
10993                         commit
10994
10995 2006-12-04  Dan Williams  <dcbw@redhat.com>
10996
10997         * src/supplicant-manager/nm-supplicant-interface.c
10998                 - (nm_supplicant_interface_set_property): track signal handler ID
10999                 - (nm_supplicant_interface_dispose): remove signal handler on dispose
11000
11001 2006-12-04  Dan Williams  <dcbw@redhat.com>
11002
11003         * src/supplicant-manager/nm-supplicant-interface.[ch]
11004                 - (nm_supplicant_interface_get_state): new function
11005
11006 2006-12-04  Dan Williams  <dcbw@redhat.com>
11007
11008         * src/supplicant-manager/nm-supplicant-interface.c
11009                 - (bssid_properties_cb): don't treat DBus errors as valid
11010                         scanned AP messages
11011
11012 2006-12-04  Dan Williams  <dcbw@redhat.com>
11013
11014         * src/supplicant-manager/nm-supplicant-interface.[ch]
11015                 - (nm_supplicant_interface_get_connection_state): new function
11016                 - define new supplicant connection states
11017                 - send a signal when the supplicant connection state changes
11018
11019 2006-12-03  Dan Williams  <dcbw@redhat.com>
11020
11021         * src/supplicant-manager/Makefile.am
11022           src/supplicant-manager/nm-supplicant-connection.h
11023           src/supplicant-manager/nm-supplicant-connection.c
11024           src/supplicant-manager/nm-supplicant-config.h
11025           src/supplicant-manager/nm-supplicant-config.c
11026           src/supplicant-manager/nm-supplicant-types.h
11027           src/supplicant-manager/nm-supplicant-interface.h
11028           src/supplicant-manager/nm-supplicant-interface.c
11029                 - Rename NMSupplicantConnection -> NMSupplicantConfig
11030
11031 2006-12-03  Dan Williams  <dcbw@redhat.com>
11032
11033         Patch from Gabor Kelemen <kelemeng@gnome.hu>  (Gnome.org #381890)
11034
11035         * po/POTFILES.in
11036           po/POTFILES.skip
11037                 - Move VPN-related translatables to .skip
11038
11039         * vpn-daemons/pptp/po/POTFILES.in
11040                 - Update with new translatables
11041
11042 2006-12-02  Dan Williams  <dcbw@redhat.com>
11043
11044         Patch from Christian Persch <chpe@gnome.org>
11045
11046         * gnome/applet/Makefile.am
11047           gnome/applet/applet-dbus-devices.c
11048           gnome/applet/applet-notifications.c
11049           gnome/applet/applet.c
11050           gnome/applet/applet.h
11051           gnome/applet/main.c
11052                 - Be a GtkStatusIcon on GTK+ >= 2.10
11053
11054 2006-12-02  Dan Williams  <dcbw@redhat.com>
11055
11056         * gnome/applet/applet.c
11057                 - (nma_update_info): fix two unecessary allocations
11058
11059 2006-12-02  Dan Williams  <dcbw@redhat.com>
11060
11061         Patch from Michael Biebl <biebl@teco.edu>
11062         * configure.in
11063           man/NetworkManager.1.in
11064           man/NetworkManagerDispatcher.1.in
11065           man/NetworkManager.8.in
11066           man/NetworkManagerDispatcher.8.in
11067                 - Add .SH NAME stanzas
11068                 - Move NM & NM Dispatcher manpages to section 8 (admin)
11069
11070 2006-12-02  Dan Williams  <dcbw@redhat.com>
11071
11072         Patch from Christian Persch <chpe@gnome.org>
11073
11074         * configure.in
11075                 - Check for GTK+ 2.10 in preparation for GtkStatusIcon patch
11076
11077 2006-11-29  Tambet Ingo  <tambet@ximian.com>
11078
11079         Patch by Timo Hoenig <thoenig@suse.de>:
11080         * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Make it work with
11081         DBUS-1.0.
11082
11083         * src/supplicant-manager/Makefile.am: Add nm-supplicant-marshal here, since
11084         we can't use the one from the main source directory.
11085
11086 2006-11-27  Dan Williams  <dcbw@redhat.com>
11087
11088         Patch from Christian Persch <chpe@gnome.org>
11089
11090         * gnome/applet/applet-dbus-devices.c
11091                 - (hal_info_product_cb): fix memleak; free duped string.
11092                         Gnome.org #379908
11093
11094 2006-11-27  Dan Williams  <dcbw@redhat.com>
11095
11096         Patch from Christian Persch <chpe@gnome.org>
11097
11098         * gnome/applet/menu-items.c
11099                 - (network_menu_item_update): use gtk_progress_bar_set_fraction()
11100                         as gtk_progress_set_percentage is deprecated.  Should
11101                         work as far back as GTK+ 2.4.  Gnome.org #379780
11102
11103 2006-11-26  Dan Williams  <dcbw@redhat.com>
11104
11105         Scan using wpa_supplicant over DBus.
11106
11107         * src/nm-device-802-11-wireless.c
11108                 - remove wireless extensions netlink event handler bits
11109                         (wireless_event_helper, nm_device_802_11_wireless_event)
11110                 - remove wireless extensions scan event handler bits
11111                         (process_scan_results, add_new_ap_to_device_list, hexstr2bin,
11112                         hex2byte, hex2num, request_and_convert_scan_results,
11113                         free_process_scan_cb_data, scan_results_timeout,
11114                         schedule_scan_results_timeout, cancel_scan_results_timeout)
11115                 - Rename nm_device_802_11_wireless_scan() -> request_wireless_scan()
11116                         and request scans from the supplicant interface rather than directly
11117                 - Move functionality of convert_scan_results() to cull_scan_list() and
11118                         supplicant_iface_scanned_ap_cb()
11119                 - (supplicant_iface_scan_result_cb): new function; schedule a new scan
11120                         at the scan interval when the current scan has finished
11121                 - (supplicant_iface_state_cb): start scanning when the supplicant
11122                         interface enters the READY state, and stop scanning when it
11123                         enters the DOWN state
11124                 - (cull_scan_list): weed out old access points from the scan list
11125                 - (supplicant_iface_scanned_ap_cb): convert a supplicant scanned access
11126                         point into an NMAccessPoint and merge it into the device's scan list
11127
11128         * src/supplicant-manager/nm-supplicant-interface.c
11129           src/supplicant-manager/nm-supplicant-interface.h
11130                 - Add a new signal "scan-result" which is issued when the supplicant
11131                         notifies NM that a scan has completed
11132                 - Add a new signal "scanned-ap" that notifies listeners of a new access
11133                         point found in the scan.  Called once for each access point that
11134                         the supplicant interface object receives from the supplicant as a
11135                         result of the "scanResults" method call
11136                 - (wpas_iface_query_scan_results): don't wait 4s before querying
11137                         for the initial scan results
11138                 - (scan_request_cb): new function; send listeners the result
11139                         (success, error) of a wireless scan request
11140                 - (nm_supplicant_interface_request_scan): new function; ask the
11141                         supplicant to perform an immediate wireless scan
11142
11143 2006-11-25  Dan Williams  <dcbw@redhat.com>
11144
11145         * src/supplicant-manager/Makefile.am
11146                 - Since we're including NetworkManagerMain.h in nm-supplicant-interface.c,
11147                         add HAL cflags/includes and named-manager includes directory
11148
11149         * src/supplicant-manager/nm-supplicant-interface.h
11150                 - New state STARTING to handle transition from INIT to READY where
11151                         the addInterface pending call is still outstanding
11152
11153         * src/supplicant-manager/nm-supplicant-interface.c
11154                 - track pending calls differently since we may have more than one
11155                         going on at any given time
11156                 - request scan results from wpa_supplicant; but don't do it more often
11157                         than every 4 seconds.  Drivers that do background scanning
11158                         (like the 'ipw' drivers) send a continuous stream of scan completion
11159                         notifications, so we don't want to hammer the supplicant or dbus
11160                         with requests for all scan results every time we get a completion
11161                         notification.
11162
11163 2006-11-25  Dan Williams  <dcbw@redhat.com>
11164
11165         * src/supplicant-manager/nm-supplicant-types.h
11166                 - new file; move all supplicant manager object typedefs here for
11167                         #include sanity
11168
11169         * src/supplicant-manager/nm-supplicant-interface.c
11170           src/supplicant-manager/nm-supplicant-interface.h
11171                 - new file; an object that interfaces an NMDevice object to the
11172                         supplicant and handles signals from the supplicant.  This object
11173                         does all necessary DBus communication with wpa_supplicant.
11174
11175         * src/supplicant-manager/nm-supplicant-manager.c
11176           src/supplicant-manager/nm-supplicant-manager.h
11177                 - Actually do something.  Track the state of the wpa_supplicant service
11178                         and deal with its comings & goings.  Handle life events of
11179                         supplicant interfaces too.
11180                 - Move NMSupplicantManager typedef to nm-supplicant-types.h
11181
11182         * src/supplicant-manager/nm-supplicant-connection.h
11183                 - Move NMSupplicantConnection typedef to nm-supplicant-types.h
11184
11185         * src/supplicant-manager/Makefile.am
11186                 - Add new files to build, and add libnm-util to includes
11187
11188         * src/nm-marshal.list
11189                 - New marshaler type: VOID:UINT,UINT
11190
11191         * src/nm-device-802-3-ethernet.c
11192                 - (real_init): grab a supplicant interface
11193                 - (nm_device_802_3_ethernet_dispose): release the supplicant interface
11194                 - (supplicant_iface_state_cb): new function, stub for handling
11195                         supplicant interface state changes
11196
11197         * src/nm-device-802-11-wireless.c
11198                 - (real_init): grab a supplicant interface
11199                 - (nm_device_802_11_wireless_dispose): release the supplicant interface
11200                 - (supplicant_iface_state_cb): new function, stub for handling
11201                         supplicant interface state changes
11202
11203         * src/NetworkManager.c
11204                 - (main): create and keep the supplicant manager around for the lifetime
11205                         of NetworkManager
11206
11207         * src/Makefile.am
11208                 - Link to the supplicant manager sub-library and use the supplicant
11209                         manager includes
11210
11211 2006-11-25  Dan Williams  <dcbw@redhat.com>
11212
11213         Rework DBus manager signal handling to be more flexible.  Previously,
11214         only one signal handler could be registered for a particular interface.
11215         The DBus manager now reference counts DBus bus matches and allows multiple
11216         clients to register signal handlers for the same interface and sender.
11217
11218         * src/NetworkManager.c
11219                 - (main): track NMI signal handler ID and remove it when we quit
11220
11221         * src/NetworkManagerMain.h
11222                 - Keep track of NMI signal handler ID
11223
11224         * src/nm-dbus-manager.c
11225           src/nm-dbus-manager.h
11226                 - rework signal handling; each signal handler references one signal
11227                         match, but a signal match may be referenced by one or more
11228                         signal handlers.  Matches are refcounted and are destroyed when the
11229                         last signal handler that references the match is removed.  This is
11230                         necessary because two signal handlers may end up requiring the same
11231                         dbus bus match, so the match must live until the last signal handler
11232                         is destroyed (for example, with the wpa_supplicant network interface
11233                         dbus interface).
11234
11235         * src/dhcp-manager/nm-dhcp-manager.c
11236                 - (nm_dhcp_manager_new): track DHCP signal handler id
11237                 - (nm_dhcp_manager_dispose): remove DHCP signal handler
11238
11239         * src/vpn-manager/nm-vpn-service.c
11240                 - (nm_vpn_service_add_watch): track VPN service signal handler id
11241                 - (nm_vpn_service_remove_watch): remove VPN service signal handler
11242
11243 2006-11-25  Dan Williams  <dcbw@redhat.com>
11244
11245         Suggested by Helmut Schaa <hschaa@suse.de>
11246
11247         * src/vpn-daemons/nm-vpn-service.c
11248                 - (supplicant_child_setup): new function
11249                 - (supplicant_exec): make child process use a new process group id
11250
11251         * src/nm-device-802-11-wireless.c
11252                 - (nm_vpn_service_child_setup): new function
11253                 - (nm_vpn_service_stage1_daemon_exec): make child process use a new
11254                         process group id
11255
11256 2006-11-19  Dan Williams  <dcbw@redhat.com>
11257
11258         Patch from Dan Berrange <dan@berrange.com>  Gnome.org #377262
11259         * gnome/vpn-properties/nm-vpn-properties.c
11260                 - clean up after renamed VPN connection
11261
11262 2006-11-19  Dan Williams  <dcbw@redhat.com>
11263
11264         Patch from Dan Berrange <dan@berrange.com>  Gnome.org #377205
11265         * gnome/applet/applet-dbus-vpn.c
11266                 - (nma_dbus_vpn_properties_cb): sort VPN connections
11267
11268         * gnome/vpn-properties/nm-vpn-properties.c
11269                 - (init_app): sort VPN connections
11270
11271 2006-11-09  Dan Williams  <dcbw@redhat.com>
11272
11273         * src/NetworkManagerAPList.c
11274                 - (nm_ap_list_copy_one_essid_by_address): fix bug due to previous
11275                 code cleanup in revision 1.56; the split of the !nm_ap_get_essid()
11276                 from the nm_ap_list_get_ap_by_address() call was incorrect and
11277                 broke hidden SSID matching.  Found by Bill Moss.
11278
11279 2006-10-25  Dan Williams  <dcbw@redhat.com>
11280
11281         * src/nm-dbus-nm.c
11282                 - (nm_dbus_nm_set_active_device): return an empty success message on
11283                         success, rather than falling through to the error case.
11284
11285 2006-10-25  Dan Williams  <dcbw@redhat.com>
11286
11287         * src/NetworkManagerUtils.c
11288                 - (nm_utils_supplicant_request_with_check): suppress messages for the
11289                         "SCAN" command
11290
11291 2006-10-24  Dan Williams  <dcbw@redhat.com>
11292
11293         Reduce the number of times the Gnome applet wakes up, especially when
11294         it's doing absolutely nothing and is hidden.  Initial patch by
11295         Chris Aillon.
11296
11297         * gnome/applet/applet-dbus.c
11298                 - (nma_dbus_filter): when NM isn't around, or when it goes away,
11299                         kill the redraw timeout.  When NM starts up, start the redraw
11300                         timeout.  Also, if we get kicked off the bus for some reason,
11301                         start the reconnection timeout if one's not already running.
11302                 - (nma_dbus_init): better handling of error conditions, don't leak
11303                         a half-initialized dbus connection
11304                 - (nma_dbus_connection_watcher): consolidate places we reinitialize
11305                         the applet's data, just call nm_dbus_init_helper()
11306                 - (nma_start_dbus_connection_watch): new function, starts a periodic
11307                         timeout that calls nma_dbus_connection_watcher()
11308                 - (nma_dbus_init_helper): if we get a successful connection, kill the
11309                         reconnection timeout, and don't start the reconnection timeout
11310                         unconditionally anymore
11311
11312         * gnome/applet/applet-dbus.h
11313                 - Expose nma_start_dbus_connection_watch()
11314
11315         * gnome/applet/applet.c
11316                 - (nma_update_state): no longer static, called from applet-dbus.c for
11317                         immediate UI updates on certain events
11318                 - (nma_set_running): new function; take over setting applet->running,
11319                         when not running (ie, NM is not active), don't activate the redraw
11320                         timeout because we're not showing the applet anyway.  When we are
11321                         running (ie, NM is active), and only when we're running, start the
11322                         redraw timeout.
11323                 - (nma_destroy): kill the redraw timeout by setting 'not running', and
11324                         kill any reconnection timeout
11325                 - (nma_get_instance): move one-off dbus initialization code here since
11326                         nm_dbus_init_helper() gets called more than once, possibly by the
11327                         reconnection timeout function too.  And, when we start up, if we
11328                         can't get a connection to the bus, start the reconnection timeout.
11329                         But don't start the redraw timeout yet, only do that when we get
11330                         NM's state and find out if it's running or not.
11331
11332         * gnome/applet/applet.h
11333                 - Add the reconnection GSource ID
11334                 - Add prototypes for nma_set_running() and the no-longer-static
11335                         nma_update_state()
11336
11337 2006-10-24  Dan Williams  <dcbw@redhat.com>
11338
11339         * src/vpn-daemons/nm-dbus-vpnc.c
11340                 - (nm_dbus_vpn_update_one_connection_cb): unregister pending call in
11341                         pending call tracker
11342                 - (nm_dbus_vpn_connections_update_cb): unregister pending call in
11343                         pending call tracker; register one-vpn-connection update pending
11344                         call in pending call tracker
11345                 - (nm_dbus_vpn_update_one_vpn_connection): register one-vpn-connection
11346                         update pending call in pending call tracker
11347                 - (nm_dbus_vpn_connections_update_from_nmi): register vpn-connections
11348                         update pending call in pending call tracker; don't block waiting
11349                         for call to return
11350
11351 2006-10-19  Robert Love  <rml@novell.com>
11352
11353         * src/backends/NetworkManagerSuSE.c: Don't ever restart nscd; just
11354           refresh the cache.
11355
11356 2006-10-14  Dan Williams  <dcbw@redhat.com>
11357
11358         * src/dhcp-manager/nm-dhcp-manager.c
11359                 - (get_ip4_string, get_ip4_uint32s): have the caller pass
11360                 the dbus connection and the device object path rather than
11361                 constructing it inside both functions.  Saves a bit of memory
11362                 and clarifies a failure path.
11363                 - (nm_dhcp_manager_get_ip4_config): grab the dbus connection
11364                 and allocate device path here rather than each of the two
11365                 functions above.
11366
11367 2006-10-13  Dan Williams  <dcbw@redhat.com>
11368
11369         * src/NetworkManager.c
11370                 - (nm_name_owner_changed_handler): handle NMI coming and going,
11371                 this somehow droppout in the refactor
11372
11373 2006-10-13  Dan Williams  <dcbw@redhat.com>
11374
11375         * Huge DBus refactor:
11376                 - Create a "DBus Manager" object which manages the connection and
11377                 sends signals on NameOwnerChanged and connection/disconnection events,
11378                 handles reconnection to the bus if NM gets kicked off, and abstracts
11379                 signal handling
11380                 - Remove DBusConnection members from places where they are no
11381                 longer needed due to the refactor, like the dbus-connection
11382                 property of the named manager, and from NMData
11383                 - Reformats a bunch of the code to gnome style
11384                 (8-space tabs, braces on same line as statement, 80-col width).
11385                 Consider it open season to reformat any bits to gnome style.
11386                 style that aren't already.
11387
11388 2006-10-13  Dan Williams  <dcbw@redhat.com>
11389
11390         * src/supplicant-manager/Makefile.am
11391                 - Add new files
11392
11393         * src/supplicant-manager/nm-supplicant-manager.[ch]:
11394                 - Make it a minimal GObject
11395
11396         * src/supplicant-manager/nm-supplicant-settings-verify.[ch]:    
11397                 - Verify settings destined for wpa_supplicant
11398
11399         * src/supplicant-manager/nm-supplicant-connection.[ch]: 
11400                 - Minimal GObject to track wpa_supplicant controlled device
11401                 connections
11402
11403 2006-10-13  Wouter Bolsterlee  <wbolster@gnome.org>
11404
11405         * gnome/applet/applet.c: (nma_update_info),
11406         (nma_act_stage_to_pixbuf), (nma_update_state):
11407         Mark missing strings for translation. Fixes bug #343306.
11408
11409 2006-10-01  Dan Williams  <dcbw@redhat.com>
11410
11411         * src/vpn-manager/nm-vpn-manager.c
11412                 - (nm_vpn_manager_load_services): split and clean up
11413                 for readability and correctness.  Restrict VPN service
11414                 files to ending in ".name", as was meant from the
11415                 beginning (but not coded in).  Better error reporting.
11416
11417 2006-10-01  Dan Williams  <dcbw@redhat.com>
11418
11419         * utils/nm-utils.h
11420                 - Clean up formatting of debug/info/warning log messages
11421
11422 2006-09-27  Robert Love  <rml@novell.com>
11423
11424         Patch by Tambet Ingo <tambet@ximian.com>:
11425         * gnome/vpn-properties/nm-vpn-properties.c: Make Renaming a VPN entry
11426           actually work.
11427
11428 2006-09-07  Dan Williams <dcbw@redhat.com>
11429
11430         * test/Makefile.am
11431           test/libnm-util/Makefile.am
11432           test/nm-supplicant-test.c
11433                 - Add test program emulating the way NM drives wpa_supplicant
11434                 to help debug supplicant issues
11435
11436 2006-08-24  Dan Williams <dcbw@redhat.com>
11437
11438         * configure.in
11439           src/Makefile.am
11440           src/supplicant-manager/Makefile.am
11441           src/supplicant-manager/nm-supplicant-manager.c
11442           src/supplicant-manager/nm-supplicant-manager.h
11443                 - Add skeleton bits of the wpa_supplicant manager
11444
11445 2006-08-24  Dan Williams <dcbw@redhat.com>
11446
11447         Patch from Ed Catmur:
11448         * src/NetworkManagerUtils.c
11449                 - (nm_utils_ip4_netmask_to_prefix): don't infinitely loop
11450                 if netmask is 0 (Gnome #352634)
11451
11452 2006-08-17  Robert Love  <rml@novell.com>
11453
11454         * src/backends/NetworkManagerSuSE.c: Do not restart ypbind; our ypbind
11455           package is now DBUS-enabled and listens for the NM signals.
11456
11457 2006-08-14  Dan Williams  <dcbw@redhat.com>
11458
11459         * Patch from Christian Persch <chpe gnome org>
11460         * configure.in
11461           po/LINGUAS
11462           vpn-daemons/openvpn/po/LINGUAS
11463           vpn-daemons/openvpn/configure.in
11464           vpn-daemons/pptp/po/LINGUAS
11465           vpn-daemons/pptp/configure.in
11466           vpn-daemons/vpnc/po/LINGUAS
11467           vpn-daemons/vpnc/configure.in
11468                 - Convert to LINGUAS method so translators don't have to modify
11469                 configure.in, just stuff in po/.  Gnome #343132, requires intltool
11470                 0.35 or higher
11471
11472 2006-08-14  Dan Williams  <dcbw@redhat.com>
11473
11474         Patch from Alex Smith <alex.extreme2@gmail.com>
11475         * configure.in
11476           src/backends/Makefile.am
11477           src/backends/NetworkManagerFrugalware.c
11478                 - Add support for Frugalware
11479
11480 2006-08-13  Dan Williams  <dcbw@redhat.com>
11481
11482         Patch from Valentine Sinitsyn <e_val@inbox.ru>
11483         * src/nm-device-802-11-wireless.c
11484                 - (supplicant_exec): spawn wpa_supplicant without debug spew
11485                 Gnome #346875
11486
11487 2006-08-13  Dan Williams  <dcbw@redhat.com>
11488
11489         Patch from Valentine Sinitsyn <e_val@inbox.ru>
11490         * src/nm-ap-security.c
11491           src/nm-ap-security.h
11492                 - Add authentication_required bits for subclasses to specify whether
11493                 or not real authentication is required for connections, i.e. whether
11494                 the AP rejects us when an encryption key is wrong or not.
11495
11496         * src/nm-ap-security-wep.c
11497           src/nm-ap-security-wpa-eap.c
11498           src/nm-ap-security-wpa-psk.c
11499           src/nm-ap-security-leap.c
11500                 - Implement authentication_required appropriately for each method
11501
11502         * src/nm-device-802-11-wireless.c
11503                 - Be smarter about when to request a key; for example, using a wrong key
11504                 in WEP shared key mode previously just timed out and did not request
11505                 a new key
11506
11507 2006-08-13  Dan Williams  <dcbw@redhat.com>
11508
11509         * gnome/libnm_glib/libnm_glib.c
11510                 - dbus_connection_disconnect() -> dbus_connection_close() for
11511                 dbus >= 0.90
11512
11513 2006-08-07  Dan Williams  <dcbw@redhat.com>
11514
11515         Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
11516         * src/NetworkManagerSystem.c
11517                 - Respect specified MTU.  Gnome #344967
11518
11519 2006-08-07  Dan Williams  <dcbw@redhat.com>
11520
11521         * src/vpn-manager/nm-vpn-service.c
11522                 - Simplify print_vpn_config() arguments
11523
11524         Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
11525         * src/vpn-manager/Makefile.am
11526           src/vpn-manager/nm-vpn-service.c
11527                 - Add new API for passing VPN config options as a dict. Gnome #344967
11528
11529 2006-08-06  Dan Williams  <dcbw@redhat.com>
11530
11531         * gnome/applet/applet-dbus-devices.c
11532           gnome/applet/applet-dbus-vpn.c
11533           gnome/applet/applet-dbus.c
11534           gnome/applet/applet-dbus.h
11535           src/nm-dbus-nmi.c
11536           utils/nm-utils.c
11537           utils/nm-utils.h
11538                 - Make pending call tracking code generic,
11539                 so we can use it in NM as well as the applet
11540
11541 2006-08-06  Dan Williams  <dcbw@redhat.com>
11542
11543         * src/nm-activation-request.c
11544                 - Refcount pending call objects
11545
11546 2006-08-06  Dan Williams  <dcbw@redhat.com>
11547
11548         Patch from Christan Chiesa <christanc@gmail.com>
11549         * configure.in
11550                 - Tell sha1.c to use bigendian mode on PPC
11551
11552 2006-08-04  Robert Love  <rml@novell.com>
11553
11554         Glib Memory Slices!
11555         * configure.in: Require glib 2.10 or later.
11556         * src/NetworkManager.c, src/NetworkManagerAP.c, src/nm-ip4-config.c,
11557           src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
11558           src/NetworkManagerDbusUtils.c, src/nm-dbus-nmi.c, src/wpa.c,
11559           src/nm-device-802-11-wireless.c: Convert applicable g_malloc and
11560           g_new calls to g_slice_new.  Likewise for g_free to g_slice_free.
11561           Memory Slices are the greatest thing since bread slices.
11562         * src/NetworkManagerAP.c: Also, fix memory leak.
11563
11564 2006-08-01  Robert Love  <rml@novell.com>
11565
11566         * gnome/applet/main.c: Shutdown all VPN connections on logout.
11567
11568 2006-07-31  Robert Love  <rml@novell.com>
11569
11570         * src/backends/interface_parser.c: Declarations must begin the block.
11571
11572 2006-07-24  Dan Williams  <dcbw@redhat.com>
11573
11574         Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
11575         * src/backends/Makefile.am
11576           src/backends/NetworkManagerArch.c
11577           src/backends/NetworkManagerDebian.c
11578           src/backends/NetworkManagerGeneric.c
11579           src/backends/NetworkManagerGeneric.h
11580           src/backends/NetworkManagerGentoo.c
11581           src/backends/NetworkManagerPaldo.c
11582           src/backends/NetworkManagerRedHat.c
11583           src/backends/NetworkManagerSlackware.c
11584           src/backends/NetworkManagerSuSE.c
11585                 - Genericize common backend functions
11586
11587 2006-07-18  Robert Love  <rml@novell.com>
11588
11589         * configure.in: Add "--with-notify" option to allow disabling of
11590           libnotify support.
11591
11592 2006-07-13  Dan Williams  <dcbw@redhat.com>
11593
11594         Patch from Thiago Bauermann <thiago.bauermann@gmail.com>
11595         * gnome/applet/applet.glade
11596           gnome/applet/Makefile.am
11597           gnome/applet/nm-gconf-wso.c
11598           gnome/applet/nm-gconf-wso-leap.c
11599           gnome/applet/nm-gconf-wso-leap.h
11600           gnome/applet/wireless-security-manager.c
11601           gnome/applet/wso-leap.c
11602           gnome/applet/wso-leap.h
11603           include/NetworkManager.h
11604           libnm-util/dbus-helpers.c
11605           libnm-util/dbus-helpers.h
11606           src/Makefile.am
11607           src/NetworkManagerAP.c
11608           src/nm-ap-security.c
11609           src/nm-ap-security-leap.c
11610           src/nm-ap-security-leap.h
11611                 - Add LEAP authentication support
11612
11613 2006-07-13  Dan Williams  <dcbw@redhat.com>
11614
11615         Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
11616         * configure.in
11617           src/backends/NetworkManagerArch.c
11618           src/backends/NetworkManagerDebian.c
11619           src/backends/NetworkManagerGentoo.c
11620           src/backends/NetworkManagerPaldo.c
11621           src/backends/NetworkManagerRedHat.c
11622           src/backends/NetworkManagerSlackware.c
11623           src/backends/NetworkManagerSuSE.c
11624                 - Convert hardcoding of 'ip' path to configure-time
11625                         detected one
11626
11627 2006-07-12  Leonid Kanter <leon@asplinux.ru>
11628
11629         * configure.in: added ru to ALL_LINGUAS
11630
11631 2006-07-10  Dan Williams  <dcbw@redhat.com>
11632
11633         Patch from Valentine Sinitsyn <e_val@inbox.ru>
11634         * src/nm-device.c
11635                 - (real_act_stage3_ip_config_start): don't infinite loop when
11636                         dhcdbd isn't running (Gnome #346845)
11637
11638 2006-07-09  Dan Williams  <dcbw@redhat.com>
11639
11640         * gnome/applet/applet.c
11641                 - (nma_destroy): don't pass NULL to notify_notification_close
11642                         (RH #197917)
11643
11644 2006-07-09  Dan Williams  <dcbw@redhat.com>
11645
11646         * gnome/applet/applet.c
11647                 - (nma_about_cb): remove empty documenters tab (Gnome #341324)
11648
11649 2006-07-04  Tor Krill  <tor@krill.nu>
11650
11651         Patch from Valentine Sinitsyn <e_val@inbox.ru>
11652         * src/backends/NetworkManagerArch.c: (nm_system_update_dns),
11653         (nm_system_restart_mdns_responder), (ArchReadConfig),
11654         (nm_system_device_get_system_config):
11655                 - Explicitly check for DHCP configuration
11656                 - Check if daemons are running before starting them
11657
11658 2006-06-25  Dan Williams  <dcbw@redhat.com>
11659
11660         * libnm-util/dbus-dict-helpers.[ch]
11661           test/libnm-util/test-dbus-dict-helpers.c
11662                 - Add string array support
11663
11664 2006-06-24  Dan Williams  <dcbw@redhat.com>
11665
11666         * src/dhcp-manager/nm-dhcp-manager.c
11667                 - (nm_dhcp_manager_process_signal): clean up spacing
11668
11669 2006-06-21  Dan Williams  <dcbw@redhat.com>
11670
11671         * src/nm-dbus-device.c
11672                 - (nm_dbus_device_get_driver): don't try to stuff a NULL
11673                         through dbus
11674
11675 2006-06-21  Raivis Dejus  <orvils@gmail.com>
11676
11677         * configure.in: Added 'lv' to ALL_LINGUAS
11678
11679 2006-06-19  Dan Williams  <dcbw@redhat.com>
11680
11681         * src/NetworkManagerAP.c
11682                 - Clarify usage of user_created
11683
11684         * src/nm-ap-security-wep.c
11685           src/nm-ap-security-wpa-eap.c
11686           src/nm-ap-security-wpa-psk.c
11687           src/nm-ap-security.c
11688           src/nm-ap-security.h
11689                 - s/user_created/adhoc, because we really do mean adhoc
11690
11691         Patch from Bernard Blackham <bernard@blackham.com.au>
11692         * src/nm-device-802-11-wireless.c         
11693                 - (supplicant_send_network_config): instead of user_created,
11694                         use adhoc, and do AP_SCAN 2 for adhoc networks
11695
11696 2006-06-18  Robert Love  <rml@novell.com>
11697
11698         * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the Gconf keys unless
11699           we have a value to set.  Gconf generates a warning if `val' is NULL.
11700         * src/nm-ap-security-wpa-eap.c: Don't set the key for an Enterprise AP
11701           unless we actually received a valid private key file passphrase or
11702           password.  Otherwise, we don't know to later ask the applet to pull
11703           the key from the keyring.
11704
11705 2006-06-17  Dan Williams  <dcbw@redhat.com>
11706
11707         * libnm-util/dbus-dict-helpers.[ch]
11708           test/libnm-util/test-dbus-dict-helpers.c
11709                 - Fixes for zero-length byte arrays
11710                 - Replace return values of 0 with FALSE for clarity
11711                 - Test zero-length byte arrays
11712
11713 2006-06-17  Dan Williams  <dcbw@redhat.com>
11714
11715         * libnm-util/dbus-dict-helpers.[ch]
11716           test/libnm-util/test-dbus-dict-helpers.c
11717                 - Add helpers for byte arrays
11718                 - Rework bits of the testcase
11719
11720 2006-06-16  Dan Williams  <dcbw@redhat.com>
11721
11722         * libnm-util/Makefile.am
11723         * libnm-util/dbus-dict-helpers.[ch]
11724                 - Add some helpers to take the pain out of using dict types in
11725                         dbus.
11726
11727         * test/libnm-util/Makefile.am
11728         * test/libnm-util/test-dbus-dict-helpers.c
11729                 - Test cases for the dict helper functions
11730
11731 2006-06-15  Robert Love  <rml@novell.com>
11732
11733         * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the key unless there
11734           is a non-empty key to set.  Elsewhere, pass an empty string via DBUS
11735           if there is no key to pass.
11736         * libnm-util/dbus-helpers.c: Given the above, we can trust always
11737           receiving a non-NULL key.
11738
11739 2006-06-14  Robert Love  <rml@novell.com>
11740
11741         * src/nm-ap-security-wpa-eap.c: In real_copy_constructor(), actually
11742           copy the strings.
11743
11744
11745 2006-06-14  Dan Williams  <dcbw@redhat.com>
11746
11747         Patch from Lorenzo Colitti <lorenzo@colitti.com>  gnome.org #344825
11748         * src/nm-device-802-11-wireless.c
11749                 - (nm_device_802_11_wireless_set_essid): only wait for orinoco cards
11750                         or ones where the driver is unknown
11751                 - (supplicant_exec): don't wait for supplicant startup here
11752                 - (supplicant_interface_init): finer grained polling for supplicant
11753                         startup
11754
11755 2006-06-13  Robert Love  <rml@novell.com>
11756
11757         * gnome/applet/applet-dbus-info.c: Don't set the fallback bit to FALSE
11758           if it is currently set to TRUE.  Otherwise, we will reset the value
11759           when we connect normally.
11760         * src/nm-device-802-11-wireless.c: For the roaming code, make sure that
11761           the old BSSID is valid, too.  The recently added ESSID check may not be
11762           sufficient (we can remove it?).  What we really want to catch is the
11763           case of going from all-zeros to the BSSID of some other network, which
11764           happens on failure.
11765
11766 2006-06-09  Dan Williams  <dcbw@redhat.com>
11767
11768         * src/NetworkManagerSystem.[ch]
11769                 - (nm_system_device_set_up_down_with_iface): remove 'dev' argument,
11770                         it was unused and pointless
11771                 - (nm_system_vpn_device_set_from_iface, nm_system_device_set_up_down):
11772                         fix for set_up_down_with_iface change
11773
11774         * src/vpn-manager/nm-vpn-connection.c
11775                 - (nm_vpn_connection_deactivate): fix for set_up_down_with_iface change
11776
11777         * src/backends/NetworkManagerPaldo.c
11778           src/backends/NetworkManagerRedHat.c
11779           src/backends/NetworkManagerSuSE.c
11780           src/backends/NetworkManagerArch.c
11781           src/backends/NetworkManagerDebian.c
11782           src/backends/NetworkManagerGentoo.c
11783                 - (nm_system_enable_loopback): use set_up_down_with_iface where
11784                         appropriate
11785                 - (nm_system_flush_loopback_routes): use flush_routes_with_iface
11786                         where appropriate
11787
11788 2006-06-09  Dan Williams  <dcbw@redhat.com>
11789
11790         Patch from Peter Jones:
11791         * src/nm-device-802-11-wireless.c
11792                 - (nm_device_802_11_wireless_update_bssid): make sure that the
11793                         SSID hasn't changed from what we expect before automatically
11794                         updating the saved BSSID from a new AP
11795
11796 2006-06-08  Robert Love  <rml@novell.com>
11797
11798         Add 'fallback' support.  NetworkManager will attempt to brute-force
11799         connect to networks marked as fallback if there are no better wireless
11800         connections available.  This is useful as a method of last resort, to
11801         work around driver problems, and for use with hidden networks.
11802         * gnome/applet/applet-dbus-devices.c,
11803           gnome/applet/applet-dbus-devices.h: Add fallback parameter.
11804         * gnome/applet/applet-dbus-info.c: Retrieve fallback bit from Gconf and
11805           pass it on via DBUS.
11806         * gnome/applet/applet.c: No fallback by default.
11807         * gnome/applet/applet.glade, gnome/applet/other-network-dialog.c:
11808           Update other-network-dialog to add UI checkbox toggling fallback.
11809         * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Remove "trusted"
11810           propery from AP object.  Add "fallback" property to AP object.
11811         * src/nm-dbus-nm.c: Grab the fallback parameter via DBUS.
11812         * src/nm-dbus-nmi.c: Grab the fallback parameter via DBUS.
11813         * src/nm-device-802-11-wireless.c: Break out blacklist logic into
11814           separate function.  Add get_best_fallback_ap() for returning an AP
11815           on which to attempt fallback.
11816         * src/backends/NetworkManagerSuSE.c: Set stored network as fallback.
11817         * test/nm-set-fallback: New file.  Sets a given network as fallback.
11818
11819 2006-06-07  Robert Love  <rml@novell.com>
11820
11821         * gnome/applet/gconf-helpers.c: Bug fix: nm_gconf_helper_get_bool()
11822           checked that the return type was GCONF_VALUE_STRING, not the correct
11823           GCONF_VALUE_BOOL, and thus it never worked.
11824         * src/NetworkManagerAPList.c: Before concluding that two networks are
11825           identical based on their BSSID, make sure that the BSSID in question
11826           is actually valid.  Specifically, an empty or all zero BSSID does not
11827           cut it.
11828         * gnome/applet/applet-dbus-info.c, gnome/applet/other-network-dialog.c,
11829           src/nm-dbus-nmi.c, src/nm-device-802-11-wireless.c: White space and
11830           similar invariant clean up.
11831
11832 2006-06-02  Robert Love  <rml@novell.com>
11833
11834         * gnome/applet/applet.c: Update copyright years.  Add Novell.
11835
11836 2006-05-28  Dan Williams  <dcbw@redhat.com>
11837
11838         * gnome/applet/applet.glade
11839           gnome/vpn-properties/nm-vpn-properties.glade
11840                 - Set window icons on dialogs  (Gnome.org #333420)
11841
11842 2006-05-28  Christian Persch  <chpe@cvs.gnome.org>
11843
11844         * gnome/vpn-properties/nm-vpn-properties.glade:
11845         * vpn-daemons/openvpn/properties/nm-openvpn-dialog.glade:
11846         * vpn-daemons/pptp/properties/nm-pptp-dialog.glade:
11847         * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
11848                 - Make the VPN properties pages prettier and more HIG
11849                   compliant. Gnome Bug #336913.
11850
11851 2006-05-28  Dan Williams  <dcbw@redhat.com>
11852
11853         Patch from Christian Persch <chpe@gnome.org>
11854         * gnome/vpn-properties/nm-vpn-properties.c
11855         * gnome/vpn-properties/nm-vpn-properties.glade
11856                 - HIG-ification love  (Gnome.org #336846)
11857
11858 2006-05-28  Dan Williams  <dcbw@redhat.com>
11859
11860         Patch from Christian Persch <chpe@gnome.org>
11861         * configure.in
11862           gnome/vpn-properties/nm-vpn-properties.c
11863                 - (main): Fix option parsing.  Gnome.org #336847
11864
11865 2006-05-28  Dan Williams  <dcbw@redhat.com>
11866
11867         * gnome/vpn-properties/nm-vpn-properties.c
11868                 - (find_vpn_ui_by_service_name): protect against NULL service names
11869                 - (update_edit_del_sensitivity): protect against NULL service names
11870                         Gnome.org #341306
11871
11872 2006-05-28  Dan Williams  <dcbw@redhat.com>
11873
11874         Patch from Chris Fuller <crf@grandecom.net>:
11875         * src/nm-device-802-11-wireless.c
11876                 - (nm_device_802_11_wireless_dispose): add a is_initialized member and
11877                         don't dispose of wireless-specific stuff unless it is actually
11878                         initialized.  Gnome.org #341263
11879
11880 2006-05-28  Dan Williams  <dcbw@redhat.com>
11881
11882         * src/NetworkManagerPolicy.c
11883                 - (nm_policy_device_change_check): don't switch devices if the "best"
11884                         AP is essentially the same as the current activation request, but
11885                         the current activation request isn't done activating yet.  Fixes
11886                         multiple requests for keyring password on startup for Gnome applet.
11887                         Gnome.org #341297
11888
11889 2006-05-26  Nicolas Trangez  <eikke@eikke.com>
11890
11891         * src/NetworkManager.c: use GOptions instead of getopt
11892         * configure.in: bump glib required version to >= 2.6 for GOption
11893           support
11894
11895 2006-05-25  Robert Love  <rml@novell.com>
11896
11897         * src/nm-device.h: Introduce nm_ioctl_info(), which defines to
11898           nm_info() if IOCTL_DEBUG is set and a no-op if not.  We can use this
11899           instead of dumping ifdef's throughout the code.
11900         * src/NetworkManagerSystem.c, src/nm-device-802-11-wireless.c,
11901           src/nm-device-802-3-ethernet.c, src/nm-device.c: Remove ifdef's and
11902           use nm_ioctl_info() in lieu.
11903
11904 2006-05-25  Robert Love  <rml@novell.com>
11905
11906         Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342400:
11907         * libnm-util/Makefile.am: Only build gnome-keyring-md5.{c,h} if we are
11908           not using gcrypt.  Otherwise, we get a linker error.
11909
11910 2006-05-25  Robert Love  <rml@novell.com>
11911
11912         Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342398:
11913         * configure.in, gnome/Makefile.am, Makefile.am: Add "--without-gnome"
11914           configure flag to disable building of the GNOME-based applet.
11915
11916 2006-05-25  Robert Love  <rml@novell.com>
11917
11918         * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Rename function
11919           parameter from link, because it shadows a global variable with some
11920           older versions of glibc.  Yes, glibc is now fixed and, yes, glibc
11921           should never have exported to the entire system a common four letter
11922           word.  But we here at NetworkManager are team players.  Fixes
11923           GNOME bug #336532.
11924
11925 2006-05-25  Arangel Angov <ufo@linux.net.mk>
11926
11927         * configure.in: Added mk.po, Macedonian translation.
11928
11929 2006-05-24  Robert Love  <rml@novell.com>
11930
11931         * examples/python/systray/eggtrayicon.c, gnome/applet/eggtrayicon.c,
11932           gnome/applet/passphrase-dialog.c, gnome/applet/vpn-password-dialog.c,
11933           src/NetworkManager.c: Include <glib/gi18n.h> and not <libintl.h>.
11934
11935 2006-05-24  Robert Love  <rml@novell.com>
11936
11937         * gnome/applet/Makefile.am, gnome/vpn-properties/Makefile.am,
11938           libnm-util/Makefile.am, src/Makefile.am,
11939           vpn-daemons/openvpn/auth-dialog/Makefile.am,
11940           vpn-daemons/openvpn/properties/Makefile.am,
11941           vpn-daemons/pptp/auth-dialog/Makefile.am,
11942           vpn-daemons/pptp/properties/Makefile.am,
11943           vpn-daemons/vpnc/auth-dialog/Makefile.am,
11944           vpn-daemons/vpnc/properties/Makefile.am: Do not override what the
11945           user passed for --datadir, if anything, when setting the GNOME locale
11946           directory.  It should be a function of the specified datadir and not
11947           the prefix.
11948
11949 2006-05-24  Robert Love  <rml@novell.com>
11950
11951         * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c,
11952           src/NetworkManager.c: Take care to call bindtextdomain with the
11953           location of msgid files.
11954         * src/Makefile.am: Set GNOMELOCALEDIR to the location of GNOME mo
11955           files.
11956
11957 2006-05-22  Robert Love  <rml@novell.com>
11958
11959         * src/nm-device-802-11-wireless.c: Don't chain up to the parent's
11960           stage4_timeout on failure unless the wireless network is Ad-Hoc.
11961           99% of the time there is a real problem with wireless, and a
11962           seemingly successful connection via Zeroconf just confuses the user.
11963           And that 1% of the time the network is probably Ad-Hoc, anyhow.
11964
11965 2006-05-22  Robert Love  <rml@novell.com>
11966
11967         * src/backends/NetworkManagerSuSE.c: Reload, do not restart, ypbind and
11968           autofs on interface up if NIS is configured.  On interface down, do
11969           nothing.
11970
11971 2006-05-22  Robert Love  <rml@novell.com>
11972
11973         * gnome/applet/applet.c: Zero out the icon pointers before we set them,
11974           to avoid calling g_object_unref() on stale pointers on error in
11975           nma_icons_free().  This happens because we short-circuit loaded the
11976           icons on the first failure but then free all icons.  Normally we have
11977           no issue because the icons were zero'ed out malloc, but we have stale
11978           pointer data after nma_icon_theme_changed().
11979         * gnome/applet/main.c: Return error code if nma_new() failed.
11980
11981 2060-05-21  Dan Williams  <dcbw@redhat.com>
11982
11983         * initscript/NetworkManager.in
11984                 - Ensure both dhcdbd and named are started before NM
11985
11986 2006-05-21  Dan Williams  <dcbw@redhat.com>
11987
11988         * configure.in
11989                 - Bump version to 0.7 to signify we are in 0.7 development
11990
11991 2006-05-21  Dan Williams  <dcbw@redhat.com>
11992
11993         Patch from Adam Schreiber <sadam@clemson.edu>
11994         * gnome/vpn-properties/nm-vpn-properties.c
11995                 - (main): correct Gnome program name  (gnome.org #342498)
11996
11997 2006-05-21  Dan Williams  <dcbw@redhat.com>
11998
11999         Fix gnome.org #330832 based on patch from Crispin Flowerday <crispin@gnome.org>
12000
12001         * src/NetworkManagerDbus.[ch]
12002                 - nm_dbus_get_device_from_object_path -> nm_dbus_get_device_from_escaped_object_path:
12003                         clarify that function's argument should be an escaped dbus object
12004                         path, and look for path segment end before returning a match
12005         * src/nm-dbus-nm.c:
12006                 - Fix up users of nm_dbus_get_device_from_escaped_object_path()
12007
12008 2006-05-17  Robert Love  <rml@novell.com>
12009
12010         Functionality to differentiate Ad-Hoc networks from infrastructure
12011         networks in the applet, by displaying a special icon:
12012         * gnome/applet/applet-dbus-devices.c: Set the mode for new networks.
12013         * gnome/applet/applet.c: Pass 'applet' to network_menu_item_update().
12014         * gnome/applet/menu-items.c: Set a special icon in the scan list for
12015           ad-hoc networks.  TODO: Add a third icon representing "encrypted and
12016           Ad-Hoc".  Right now, we display the same icon for all Ad-Hoc wireless
12017           networks, encrypted or not.
12018         * gnome/applet/wireless-network.c, gnome/applet/wireless-network.h: New
12019           accessor functions to get and set the mode of a given network,
12020           wireless_network_get_mode() and wireless_network_set_mode().
12021
12022 2006-05-17  Robert Love  <rml@novell.com>
12023
12024         Functionality to automatically add BSSIDs to the allowed-MAC list as
12025         one roams from access point to access point on a given network:
12026         * src/NetworkManagerUtils.c: Add nm_ethernet_addresses_are_equal(),
12027           helper function to compare two ether_addr structures and return TRUE
12028           if they contain the same MAC address.
12029         * src/NetworkManagerUtils.h: Add nm_ethernet_addresses_are_equal()
12030           prototype.
12031         * src/nm-device-802-11-wireless.c: New function to update the BSSID
12032           stored with the current AP.  If the BSSID has indeed changed, we
12033           send it out to the applet, allowing the allowed-MAC list to grow
12034           automatically in response to roaming.
12035
12036 2006-05-16  Robert Love  <rml@novell.com>
12037
12038         * src/backends/NetworkManagerSuSE.c: Don't touch ypbind or autofs
12039           unless dhcp:DHCLIENT_MODIFY_NIS_CONF is set to "yes".
12040
12041 2006-05-13  Dan Williams  <dcbw@redhat.com>
12042
12043         * src/nm-device-802-3-ethernet.c
12044                 - (real_get_generic_capabilities): Don't ignore devices that can't do
12045                         carrier detect (Debian bug #366373)
12046
12047 2006-05-11  Dan Williams  <dcbw@redhat.com>
12048
12049         Patch from Michael Biebl <biebl@teco.edu>
12050         * src/backends/NetworkManagerDebian.c
12051                 - Debian backend fixups
12052
12053 2006-05-10  Robert Love  <rml@novell.com>
12054
12055         * src/backends/NetworkManagerSuSE.c: Fix double free (Novell #173442).
12056
12057 2006-05-09  Robert Love  <rml@novell.com>
12058
12059         * gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXME: Save the WPA EAP
12060           private certificate passphrase, if any, in the GNOME Keyring.
12061         * libnm-utils/dbus-helpers.c: Update.
12062
12063 2006-05-05  Dan Williams  <dcbw@redhat.com>
12064
12065         * src/nm-device-802-11-wireless.c
12066                 - (nm_device_802_11_wireless_set_wep_enc_key): convert to
12067                         nm_device_802_11_wireless_disable_encryption() since that's all
12068                         we use it for anymore; we don't ever set WEP keys ourselves.
12069                 - (real_deactivate_quickly): reset SSID and encryption keys
12070                 - (real_deactivate): move SSID and encryption key reset to
12071                         real_deactivate_quickly(), which gets run before us anyway
12072
12073 2006-05-05  Robert Love  <rml@novell.com>
12074
12075         * src/NetworkManager.c: Set the umask to 0022 when daemonizing, in case
12076           root has a wacky default of its own (or, more common, a user has a
12077           bad umask and uses su/sudo to restart NetworkManager).  Anything
12078           other than 0022 does not do what we want with, for example,
12079           resolv.conf.  This problem is amplified by our judicious use of
12080           fopen(), which uses mode 0666 -- implying that the only way to get
12081           the permissions we want is with a umask of 0022.
12082
12083 2006-05-05  Dan Williams  <dcbw@redhat.com>
12084
12085         * gnome/libnm_glib/libnm_glib.c
12086                 - Don't suck CPU when dbus isn't around by scheduling idle handlers
12087                         to reconnect; instead wait a bit more with each reconnect attempt
12088                         up to a max of one minute.
12089
12090 2006-05-04  Ryan Lortie  <desrt@desrt.ca>
12091
12092         * gnome/applet/passphrase-dialog.c (update_button_cb): Get the SSID of
12093           the WirelessNetwork structure using the proper function instead of
12094           just casting it directly to (const char *) (gnome.org #336991)
12095
12096 2006-05-03  Robert Love  <rml@novell.com>
12097
12098         * src/backends/NetworkManagerSuSE.c: Respect the variable
12099           dhcp:DHCLIENT_MODIFY_RESOLV_CONF, not
12100           config:MODIFY_RESOLV_CONF_DYNAMICALLY, when deciding whether or not
12101           to dynamically update /etc/resolv.conf.
12102
12103 2006-05-02  Peter Jones  <pjones@redhat.com>
12104
12105         * vpn-daemons/vpnc/src/nm-vpnc-service.c: Allow rekeying.
12106
12107 2006-05-02  Robert Love  <rml@novell.com>
12108
12109         Patch by Timo Hoenig;
12110         * tests/nm-online.c: Print pretty status indicator as timeout winds
12111           down.  Also fix possible race between DBUS startup and failure
12112           return.
12113
12114 2006-05-01  Robert Love  <rml@novell.com>
12115
12116         * gnome/applet/applet-compat.c: Warn if the returned escaped ESSID is
12117           empty, too.
12118
12119 2006-04-27  Jeremy Katz  <katzj@redhat.com>
12120
12121         * src/nm-device.c (discover_device_type): Actually use the hal
12122         device type instead of ioctl poking
12123
12124 2006-04-26  Robert Love  <rml@novell.com>
12125
12126         * tests/nm-online.c: New file.  Simple utility that returns exit status
12127           noting whether the connection is offline or online.  If offline on
12128           start, it waits 30 seconds (or a command-line given value) for an
12129           online signal.  If it times out, it again returns offline.  This is
12130           useful for scripts that want to wait for network connections.
12131
12132 2006-04-25  Robert Love  <rml@novell.com>
12133
12134         * src/nm-ap-security-wep.c: Bug fix: We stopped setting the
12135           key mode (the authentication algorithm), e.g. open or shared, when we
12136           moved to using wpa_supplicant.  wpa_supplicant defaults to open, so
12137           only shared was broken.  If the user specified a shared key, set it
12138           explicitly, otherwise let wpa_supplicant go with the default.
12139
12140 2006-04-24  Dan Williams  <dcbw@redhat.com>
12141
12142         * src/nm-device-802-11-wireless.c
12143                 - (nm_device_802_11_wireless_set_essid): fix setting of "any" essid
12144
12145 2006-04-24  Dan Williams  <dcbw@redhat.com>
12146
12147         Commit the async scanning patch
12148
12149         * src/nm-device-802-11-wireless.c
12150                 - get rid of scan_mutex
12151                 - (wireless_event_helper): act on wireless scan events
12152                 - (real_start): schedule a pending scan
12153                 - (link_to_specific_ap): fake the link to the AP during a scan
12154                 - (nm_device_802_11_wireless_update_signal_strength): ignore signal
12155                         strength during scans
12156                 - (nm_device_get_frequency, nm_device_set_frequency, nm_device_get_bitrate,
12157                         nm_device_set_bitrate): unused with new scanning code, disable
12158                 - (nm_device_wireless_schedule_scan): removed
12159                 - (nm_device_wireless_process_scan_results): renamed to convert_scan_results()
12160                 - (request_and_convert_scan_results): new function; retrieve scan
12161                         results from the driver and schedule the processing function
12162                 - (scan_results_timeout): timeout triggered when card doesn't send
12163                         a scan results wireless event during a certain interval
12164                 - (schedule_scan_results_timeout): new function; schedule the scan
12165                         results timeout
12166                 - (cancel_scan_results_timeout): new function; cancel the scan
12167                         results timeout
12168                 - (nm_device_802_11_wireless_scan): if wpa_supplicant is running, ask it
12169                         to do the scanning.  Otherwise, just request a scan but don't
12170                         grab results here; instead schedule a timeout for scan results and
12171                         let netlink notify us of scan completion events
12172                 - (nm_device_wireless_schedule_scan): new function; schedule a wireless scan
12173                 - (cancel_pending_scan): new function; cancel a pending wireless scan
12174                 - (supplicant_status_cb): ignore disconnect events while scanning
12175                 - (supplicant_exec): wait a bit longer for the supplicant to start up
12176                 - (nm_device_802_11_wireless_dispose): cancel pending scans and results
12177                         timeouts
12178                 - (get_scan_results): removed; folded into request_and_convert_scan_results()
12179
12180 2006-04-24  Dan Williams  <dcbw@redhat.com>
12181
12182         * gnome/applet/applet-dbus.c
12183                 - Disable the pending call debug stuff, seems under control now
12184
12185 2006-04-20  Robert Love  <rml@novell.com>
12186
12187         Fix bug where hidden ESSID's would not show up in the applet, even
12188         if NMI provided a BSSID -> ESSID mapping from Gconf.  This occurred
12189         because nm_policy_device_list_update_from_allowed_list() would merge
12190         the data, putting a name to the hidden networks, but never notify NMI
12191         of the changes.  Simple fix is to invoke the function
12192         nm_dbus_signal_wireless_network_change() if we make a mapping.
12193         * src/NetworkManagerAPList.c: Call the function
12194           nm_dbus_signal_wireless_network_change() if we made a successful
12195           BSSID to ESSID mapping, notifying the applet of the "new" network.
12196         * src/NetworkManagerAPList.h: Update the prototypes for both
12197           nm_ap_list_copy_essids_by_address() and
12198           nm_ap_list_copy_one_essid_by_address().
12199
12200 2006-04-20  Robert Love  <rml@novell.com>
12201
12202         * gnome/applet/applet-dbus-info.c: Don't bail out if the timestamp is
12203           not set.  Just return zero.
12204
12205 2006-04-20  Robert Love  <rml@novell.com>
12206
12207         * gnome/vpn-properties/nm-vpn-properties.c: Satisfy TODO: Ensure that
12208           only one copy of nm-vpn-properties is running at a time via the 'ol
12209           X selection trick.  This prevents the user from opening two "VPN
12210           Connections" windows from within the applet, which leads to mass
12211           hysteria.
12212         * clipboard.c: New file, implementing simple X selection logic.
12213         * clipboard.h: New file.
12214         * gnome/vpn-properties/Makefile.am: Add clipboard.{c,h}
12215
12216 2006-04-18  Nicolas Trangez  <eikke@eikke.com>
12217
12218         * backends/NetworkManagerGentoo.c: Small cleanups and enhancements
12219         * configure.in
12220           initscript/Gentoo/Makefile.am
12221           initscript/Gentoo/NetworkManagerDispatcher.in
12222                 - New script
12223         * initscript/Gentoo/NetworkManager.in: small dependency fixup from
12224           Gentopia
12225
12226 2006-04-16  Dan Williams  <dcbw@redhat.com>
12227
12228         Patch from Paul Blazejowski <paulb@blazebox.homeip.net>
12229         * configure.in
12230           initscript/Slackware/Makefile.am
12231           initscript/Slackware/rc.networkmanager-dispatcher.in
12232           initscript/Slackware/rc.networkmanager.in
12233                 - Update slackware initscripts
12234
12235 2006-04-10  Robert Love  <rml@novell.com>
12236
12237         * gnome/vpn-properties/nm-vpn-properties.c: Intercept and short-circuit
12238           the "delete_event" signal on the druid's parent window and handle it
12239           our way, lest using the WM to close the druid results in a series of
12240           bloody and ultimately lethal errors.
12241
12242 2006-04-10  Robert Love  <rml@novell.com>
12243
12244         * gnome/vpn-properties/nm-vpn-properties.c: Validate VPN settings on
12245           'Back' too or else the 'Forward' option is initially disabled despite
12246           valid input.
12247
12248 2006-04-06  Robert Love  <rml@novell.com>
12249
12250         Fix bad but simple bug where an active modem connection did not update
12251         NM's connection state, breaking any app that did online/offline:
12252         * src/NetworkManagerMain.h: Add 'modem_active' member to NMData,
12253           represented whether a dial up connection is active, or not.
12254         * src/nm-dbus-nm.c: Set and unset 'modem_active' in response
12255           to modem activation and deactivation.
12256         * src/NetworkManagerDbus.c: When asked our state, do not return
12257           disconnected if the modem is active.
12258
12259 2006-04-04  Robert Love  <rml@novell.com>
12260
12261         * gnome/applet/applet.c: Remove the 'Remove' option that I added to the
12262           applet.  It just confuses the crap out of people and does not make a
12263           lot of sense, as the daemon still runs.
12264
12265 2006-04-02  Tor Krill  <tor@krill.nu>
12266
12267         * initscript/Arch/networkmanager.in: Added checks for HAL and dhcdbd
12268           in start of service.
12269         * src/backends/NetworkManagerArch.c: (nm_system_get_mtu): Added to
12270           get Archlinux backend up to date.
12271
12272 2006-03-29  Robert Love  <rml@novell.com>
12273
12274         Patch by Vinay R <rvinay@novell.com> and Robert Love <rml@novell.com>,
12275         to add support for per-route MSS and improve support for per-interface
12276         MTU:
12277         * src/NetworkManagerSystem.c: Modify nm_system_device_set_ip4_route to
12278           optionally take an MSS parameter and set it for the given route.
12279           Remove nm_system_device_set_ip4_route_with_iface.  Pass in the
12280           NMIP4Config's stored MSS, if any.
12281         * src/nm-ip4-config.c: Add 'mtu' and 'mss' to NMIP4Config, representing
12282           the interface's MTU and the route's MSS, respectively.  Add functions
12283           nm_ip4_config_get_mtu, nm_ip4_config_set_mtu, nm_ip4_config_get_mss,
12284           and nm_ip4_config_set_mss for retrieving and setting the MTU and the
12285           MSS.
12286         * src/nm-ip4-config.h: Add prototypes for nm_ip4_config_get_mtu,
12287           nm_ip4_config_set_mtu, nm_ip4_config_get_mss, and
12288           nm_ip4_config_set_mss.
12289         * src/vpn-manager/nm-vpn-service.c: Modify to receive the MSS from the
12290           VPN daemon.
12291         * src/backends/NetworkManager{Arch,Debian,Gentoo,RedHat,Slackware,SUSE}.c:
12292           Change the retval of nm_system_get_mtu to guint32.
12293         * src/dhcp-manager/nm-dhcp-manager.c: Set the MTU on the new DHCP-given
12294           NMIP4Config to the MTU provided by the system, if any.  TODO: If DHCP
12295           servers can specify MTU's, we should set it here if the MTU was not
12296           provided.
12297
12298 2006-03-27  Jürg Billeter  <j@bitron.ch>
12299
12300         * configure.in:
12301         * initscript/Makefile.am:
12302         * initscript/paldo/Makefile.am:
12303         * initscript/paldo/NetworkManager.in:
12304         * initscript/paldo/NetworkManagerDispatcher.in:
12305         * src/backends/Makefile.am:
12306         * src/backends/NetworkManagerPaldo.c:
12307                 - Add paldo support
12308
12309 2006-03-27  Dan Williams  <dcbw@redhat.com>
12310
12311         Patch from Christian Persch <chpe@gnome.org>
12312         * gnome/applet/applet.glade
12313                 - HIG fixes; mostly for spacing and borders (gnome.org #336220)
12314
12315 2006-03-27  Dan Williams  <dcbw@redhat.com>
12316
12317         Patch from Diffe <diffie@blazebox.homeip.net>
12318         * src/backends/NetworkManagerSlackware.c
12319                 - Don't restart howl, since it's been replaced by Avahi
12320                         in most distributions
12321
12322 2006-03-27  Dan Williams  <dcbw@redhat.com>
12323
12324         Patch from Tor Krill <bugzilla@krill.nu>
12325         * configure.in
12326           initscript/Makefile.am
12327           src/backends/Makefile.am
12328           src/backends/NetworkManagerArch.c
12329           initscript/Arch/Makefile.am
12330           initscript/Arch/networkmanager-dispatcher.in
12331           initscript/Arch/networkmanager.in
12332                 - Add Arch Linux support, fixes gnome.org #335147
12333
12334 2006-03-27  Dan Williams  <dcbw@redhat.com>
12335
12336         Patch from Diffe <diffie@blazebox.homeip.net>
12337      * initscript/Slackware/rc.networkmanager
12338         - update, fixed gnome.org #333368
12339
12340 2006-03-27  Robert Love  <rml@novell.com>
12341
12342         * gnome/applet/other-network-dialog.c: Do not allow the user to try to
12343           create WPA-EAP Ad-Hoc networks because such an action makes no sense.
12344
12345 2006-03-27  Robert Love  <rml@novell.com>
12346
12347         Patch by Jürg Billeter <j@bitron.ch>:
12348         * src/nm-logging.c: Add printf modifier to fix warning on 64-bit
12349           systems.
12350         * src/nm-netlink-monitor.c: Include <net/if.h> instead of <linux/if.h>
12351           as we prefer glibc over kernel headers, if possible.
12352
12353 2006-03-27  Robert Love  <rml@novell.com>
12354
12355         Patch by Jon Escombe <list@dresco.co.uk>:
12356         * gnome/applet/nm-gconf-wso.c: Add missing NM_AUTH_TYPE_WPA_EAP case.
12357         * gnome/applet/nm-gconf-wso-wpa-eap.c: If retrieving the gconf values
12358           fail, don't bail out.  We don't expect all of the various WPA-EAP
12359           values to be present.
12360         * src/nm-ap-security.c: We need to match all capabilities for each
12361           encryption type, not any one of them.
12362
12363 2006-03-27  Robert Love  <rml@novell.com>
12364
12365         * src/backends/NetworkManagerSuSE.c: Revert 2006-03-17 commit and again
12366           restart, not reload, ypbind.  Unfortunately there is no superior
12367           solution.
12368
12369 2006-03-24  Christopher Aillon  <caillon@redhat.com>
12370
12371         * gnome/applet/applet-notifications.c:
12372         When displaying a notification, make sure to get rid of the
12373         previous notification so as to not have competing bubbles,
12374         and stop leaking the old one.
12375
12376         * gnome/applet/applet.c:
12377         * gnome/applet/applet.h:
12378         Add a new 'notification' member to the applet, and zero it out
12379         and free it appropriately.
12380
12381 2006-03-23  Robert Love  <rml@novell.com>
12382
12383         Patch by j <j@bootlab.org>:
12384         * gnome/applet/applet.glade: Don't set the invisible_char property,
12385           which simply overrides the GTK default.  By and by, this behavior
12386           ought to be fixed in Glade.
12387
12388 2006-03-22  Robert Love  <rml@novell.com>
12389
12390         * src/dhcp-manager/nm-dhcp-manager.c: Bump timeout to 45 seconds.
12391
12392 2006-03-22  Robert Love  <rml@novell.com>
12393
12394         Bug fix by Timo Hoenig <thoenig@suse.de>:
12395         * gnome/applet/applet-dbus.c: Let the applet reconnect to DBUS on
12396           disconnect.  Otherwise, we have the daemon surviving DBUS restarts
12397           and the applet going AWOL.
12398
12399 2006-03-22  Robert Love  <rml@novell.com>
12400
12401         * src/dhcp-manager/nm-dhcp-manager.c: Create NM_DHCP_TIMEOUT
12402           preprocessor define and use it instead of open-coded the DHCP
12403           timeout, which is currently 25 seconds, everywhere.
12404
12405 2006-03-22  Robert Love  <rml@novell.com>
12406
12407         Implement "Dynamic WEP", which is basically WPA authentication and WEP
12408         key exchange via WPA, ostensibly providing good security without
12409         requiring hardware that supports full WPA.  Also, add UI elements to
12410         allow the user to select the pairwise & group cipher for WPA Enterprise
12411         networks, too:
12412         * gnome/applet/applet.glade: Update glade file.
12413         * gnome/applet/nm-gconf-wso-wpa-eap.c: Serialize and deserialize the
12414           key type, too, to and from gconf.
12415         * gnome/applet/wireless-security-option.c: Add "wpa_eap" parameter to
12416           wso_wpa_create_key_type_model(), noting whether we are handling PSK
12417           or EAP configuration, and in the latter case add in "Dynamic WEP" if
12418           the capabilities match.
12419         * gnome/applet/wso-private.h: Update wso_wpa_create_key_type_model()'s
12420           prototype.
12421         * gnome/applet/wso-wpa-eap.c: Manage UI elements for the key type and
12422           serialize from UI to DBUS.
12423         * gnome/applet/wso-wpa-psk.c: Cannot fail and always returns at least
12424           one element.
12425         * libnm-util/dbus-helpers.c: Update nmu_security_serialize_wpa_eap(),
12426           nmu_security_serialize_wpa_eap_with_cipher(), and
12427           nmu_security_deserialize_wpa_eap() to take a "key_type" parameter and
12428           serialize/deserialize the key type via DBUS as the new third DBUS
12429           parameter.
12430         * libnm-util/dbus-helpers.h: Update prototypes.
12431         * src/nm-ap-security-wpa-eap.c: Deserialize the key type from DBUS,
12432           too.  If the key type is WEP104, do Dynamic WEP, which means
12433           "IEEE8021X" for "key_mgmt".  Also add support for user-specified
12434           pairwise and group ciphers (fixes a FIXME).
12435
12436 2006-03-21  Robert Love  <rml@novell.com>
12437
12438         * src/NetworkManagerSystem.c, src/NetworkManagerSystem.h: Add
12439           nm_system_get_mtu(), which returns a user-provided or system-mandated
12440           MTU value for a given device, if any, or zero if no such value
12441           exists.  Add nm_system_set_mtu() to set the MTU for a given device
12442           if we have a provided value.
12443         * src/nm-device.c: Set the MTU of devices.
12444         * src/backends/NetworkManagerSuSE.c: Read MTU, if any, from sysconfig.
12445         * src/backends/NetworkManagerDebian.c,
12446           src/backends/NetworkManagerGentoo.c,
12447           src/backends/NetworkManagerRedHat.c,
12448           src/backends/NetworkManagerSlackware.c: Implement stub functions.
12449
12450 2006-03-21  Robert Love  <rml@novell.com>
12451
12452         * src/backends/NetworkManagerSuSE.c: Strip hypens from hex key in
12453           configuration file.
12454
12455 2006-03-17  Robert Love  <rml@novell.com>
12456
12457         * src/backends/NetworkManagerSuSE.c: Do "rcypbind reload" to send the
12458           signal SIGHUP to ypbind, not "rcypbind restart" to physically restart
12459           it, in case it is not running in the first place.  We just want its
12460           configuration reloaded.  Also, do not "rcypbind stop" on device down.
12461
12462 2006-03-15  Robert Love  <rml@novell.com>
12463
12464         * gnome/applet/applet.glade, gnome/applet/wso-wep-ascii.c,
12465           gnome/applet/wso-wep-hex.c, gnome/applet/wso-wep-passphrase.c: The
12466           label "WEP 40/128-bit" is inconsistent because the physical key size
12467           is 40 or 104-bits, to which a 24-bit initialisation vector is
12468           appended, forming a 64 or 128-bit traffic key.  Thus, the label ought
12469           to read "40/104" or "64/128".  I do not care much which, but most
12470           users think of "silver" and "gold" encryption as 64 and 128-bits, so
12471           let's stick with that.  Thus, s/"40/128"/"64/128"/g.  Also, since our
12472           WEP passphrase support only handles 128-bit keys, and any future
12473           64-bit passphrase support will require a new option (no way to auto-
12474           detect the target key size), explicitly label our passphrase support
12475           "WEP 128-bit Passphrase".
12476
12477 2006-03-15  Robert Love  <rml@novell.com>
12478
12479         * src/dhcp-manager/nm-dhcp-manager.c: Do not start dhcdbd, but rely on
12480           the system init scripts (or some other mechanism) starting it (or a
12481           compatible DBUS service) before NetworkManager runs.  This means that
12482           distributions might need to update their init scripts.  This fixes
12483           possible races and is quite a bit cleaner.
12484         * initscript/SUSE/networkmanager.in: Update to start dhcdbd before
12485           starting the NetworkManager daemon.
12486
12487
12488 2006-03-14  Robert Love  <rml@novell.com>
12489
12490         * src/backends/NetworkManagerSuSE.c: Check that we have a valid AP
12491           before adding anything.
12492
12493 2006-03-13  Robert Love  <rml@novell.com>
12494
12495         * gnome/vpn-properties/nm-vpn-properties.c: Hide the next page's
12496           widgets, too, if they exist, in case the user hit the back button.
12497           Fixes a bug where the details page contains the widgets of multiple
12498           VPN modules (Novell bug #157048).
12499
12500 2006-03-13  Robert Love  <rml@novell.com>
12501
12502         Patch by Timo Hoenig <thoenig@suse.de>:
12503         * dispatcher-daemon/NetworkManagerDispatcher.c: Let the dispatcher
12504           daemon survive DBUS restarts, too.
12505
12506 2006-03-10  Robert Love  <rml@novell.com>
12507
12508         * gnome/applet/applet.glade: Add toggles to show/obfuscate the
12509           passphrase or key.
12510         * gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
12511           gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-eap.c,
12512           gnome/applet/wso-wpa-psk.c: Show and obfuscate passphrases and keys
12513           in response to "toggled" signal on new toggle.
12514
12515 2006-03-10  Robert Love  <rml@novell.com>
12516
12517         * src/nm-ap-security-wpa-eap.c: Pass fake empty strings for
12518           serialization if strings are NULL, lest DBUS get angry.
12519
12520 2006-03-10  Robert Love  <rml@novell.com>
12521
12522         * src/nm-ap-security-wpa-eap.c: Don't log the password.
12523
12524 2006-03-09  Robert Love  <rml@novell.com>
12525
12526         * src/backends/NetworkManagerSuSE.c: Read in WEP and WPA static
12527           configurations.
12528
12529 2006-03-09  Dan Williams  <dcbw@redhat.com>
12530
12531         Track pending call requests in the applet, and report how many are
12532         outstanding, and how long each completed one takes.
12533         
12534         * gnome/applet/applet-dbus-devices.c
12535           gnome/applet/applet-dbus-vpn.c
12536                 - Track pending calls
12537
12538         * gnome/applet/applet-dbus.[ch]
12539                 - Remove some unused enums
12540                 - (nma_dbus_send_with_callback, nma_dbus_send_with_callback_replied):
12541                         new functions to track dbus pending calls and spit out some
12542                         statistics about them
12543
12544 2006-03-09  Robert Love  <rml@novell.com>
12545
12546         * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Have the function
12547           nm_ap_set_timestamp() take the second and micro-second parameters as
12548           direct arguments, which avoids both a dynamic memory allocation and a
12549           structure-to-structure copy!  Add a new interface, the aptly named
12550           nm_ap_set_timestamp_via_timestamp(), to set the timestamp from an
12551           existing GTimeVal, as nm_ap_set_timestamp() once did, for use with
12552           the return from nm_ap_get_timestamp().  New users should use the new
12553           nm_ap_set_timestamp(), not nm_ap_set_timestamp_via_timestamp(), for
12554           the extreme benefit to performance.
12555         * src/NetworkManagerAPList.c, src/nm-dbus-nmi.c,
12556           src/backends/NetworkManagerSuSE.c: Use the new functions as needed.
12557
12558 2006-03-08  Robert Love  <rml@novell.com>
12559
12560         * gnome/applet/applet.glade: Hide the password entry text with
12561           asterisks.
12562
12563 2006-03-08  Robert Love  <rml@novell.com>
12564
12565         * src/NetworkManagerSystem.h, src/nm-device.c, NetworkManagerDebian.c,
12566           NetworkManagerRedHat.c, NetworkManagerGentoo.c,
12567           NetworkManagerSlackware.c: Pass nm_system_device_get_system_config()
12568           a second argument, NMData.
12569         * src/nm-ap-security.h, src/nm-ap-security.c: Export nm_ap_security_new.
12570         * src/backends/NetworkManagerSuSE.c: Add wireless networks from ifcfg-*
12571           config files as trusted.
12572
12573 2006-03-06  Robert Love  <rml@novell.com>
12574
12575         * gnome/applet/Makefile.am: Define AUTOSTARTDIR.
12576         * gnome/applet/applet.c: Add 'Remove' option to the right click menu,
12577           to exit the applet.  As a sweet side-effect, idea courtesy of Chris
12578           Rivera, detect if the applet was auto-started.  If so, ask the user
12579           if he or she would like to stop automatically running the applet on
12580           login.  If so, disable autostart.
12581
12582 2006-03-06  Robert Love  <rml@novell.com>
12583
12584         * NetworkManager.pc.in:  Provide an -I to the NetworkManager include
12585           directory in CFLAGS so developers can actually use NetworkManager.h.
12586
12587 2006-03-06  Robert Love  <rml@novell.com>
12588
12589         * src/dhcp-manager/nm-dhcp-manager.c: Use preprocessor defines and not
12590           open-coded integer constants.  Add state_to_string() to map a given
12591           state to a textual description, and provide that when notifying of
12592           state change.
12593         * src/dhcp-manager/nm-dhcp-manager.h: Provide defines for the dhcdbd
12594           states, copied and cleaned up from dhcdbd.d.  Ideally, we would use
12595           this header directly, but it is currently not installed on most
12596           systems.
12597
12598 2006-03-05  Dan Williams  <dcbw@redhat.com>
12599
12600         Process netlink messages in device subclasses rather than in
12601         NetworkManager.c.  Also add support for recognizing Wireless Events.
12602         
12603         * configure.in
12604                 - Find GLIB_GENMARSHAL
12605
12606         * src/Makefile.am
12607                 - Since we're marshalling custom types for wireless event signals,
12608                         we get to create our own marshallers using GLIB_GENMARSHAL
12609
12610         * src/NetworkManager.c
12611                 - (nm_monitor_wired_link_state): renamed to nm_monitor_setup
12612                 - (nm_monitor_setup): renamed from nm_monitor_wired_link_state, and
12613                         cut down somewhat.  We no longer process signals here.
12614                 - (nm_data_new): create the netlink monitor here, and remove a
12615                         useless call to nm_policy_schedule_device_change_check()
12616                 - (nm_data_free): get rid of the netlink monitor here
12617                 - (nm_device_link_activated, nm_device_link_deactivated): removed
12618                 - (main): don't create the netlink monitor here, let nm_data_new
12619                         do that.  Call nm_policy_schedule_device_change_check() right
12620                         before we jump to the mainloop to figure out which device
12621                         to use first
12622
12623         * src/NetworkManagerSystem.[ch]
12624                 - (nm_system_get_rtnl_index_from_iface, nm_system_get_iface_from_rtnl_index):
12625                         convert back and forth from interface names to interface
12626                         indexes
12627
12628         * src/nm-device-802-11-wireless.c
12629                 - (real_init): connect to wireless-event signals from the netlink
12630                         monitor object
12631                 - (nm_device_802_11_wireless_event): new function, schedule handler
12632                         for wireless event signals from the netlink monitor object.  We
12633                         want the handler to run in the device's context
12634                 - (wireless_event_helper): handle wireless-event signals from netlink
12635                 - (nm_device_802_11_wireless_dispose): disconnect wireless-event
12636                         signal handler
12637
12638         * src/nm-device-802-11-wireless.h
12639                 - remove unused prototype for nm_device_802_11_wireless_new
12640
12641         * src/nm-device-802-3-ethernet.c
12642                 - (real_init): new function; set up signal handlers for link events
12643                 - (nm_device_802_3_ethernet_link_activated): new function, schedule
12644                         handler for netlink link activated events on device's main loop
12645                 - (link_activated_helper): when we get a link activated event, set
12646                         the device's link to be active
12647                 - (nm_device_802_3_ethernet_link_deactivated): new function; schedule
12648                         handler for netlink link deactivated events on device's main loop
12649                 - (link_deactivated_helper): when we get a link deactivated event, set
12650                         the device's link to be inactive
12651                 - (nm_device_802_3_ethernet_dispose): disconnect signal handler on
12652                         dispose
12653
12654         * src/nm-device-802-3-ethernet.h
12655                 - remove unused prototype for nm_device_802_3_ethernet_new
12656
12657         * src/nm-device.[ch]
12658                 - (nm_get_device_by_iface_locked): variant of nm_get_device_by_iface
12659                         but locks the device list
12660                 - (nm_device_set_active_link): a little bit of cleanup and de-indenting
12661
12662         * src/nm-netlink-monitor.[ch]
12663                 - (nm_netlink_monitor_class_install_signals): New signal
12664                         "wireless-event"
12665                 - (nm_netlink_monitor_new): keep reference to NMData so we can get
12666                         at the device list
12667                 - (nm_netlink_monitor_event_handler): expand for wireless events too
12668
12669         * src/nm-marshal-main.c
12670                 - Include generated nm-marshal.c and nm-marshal.h
12671
12672         * src/nm-marshal.list
12673                 - List of custom marshal functions
12674
12675 2006-03-05  Dan Williams  <dcbw@redhat.com>
12676
12677         * gnome/applet/applet-notifications.h
12678                 - Protect prototype of nma_send_event_notification() because it
12679                         includes libnotify-specific types
12680                 - Include libnotify/libnotify.h too, since we technically need it
12681
12682         * gnome/applet/applet.c
12683                 - (nma_show_vpn_failure_dialog): fix usage of g_return_if_fail
12684                 - (nma_show_vpn_login_banner_dialog): add some error checking
12685
12686 2006-03-04  Dan Williams  <dcbw@redhat.com>
12687
12688         Clean up activation cancellation.  Should be a lot faster now.  Observed
12689         an issue with wireless devices between stage 2 and 3 of activation, where
12690         activation would be cancelled, but the device thread wouldn't notice until
12691         the supplicant association timed out.  Reorganize activation such that
12692         a cancellation handler gets immediately scheduled in the device's thread,
12693         and devices have a chance to perform any custom cleanup too.
12694
12695         * src/nm-device.[ch]
12696                 - (activation_cancel_handler): new device-type-specific function
12697                         for cleaning up device-type-specific stuff on cancellation
12698                 - (cancel_activation): removed
12699                 - (nm_device_activation_cancel): subsume functionality of
12700                         real_cancel_activation, but instead of doing anything, punt
12701                         operation to a handler that's run in device-thread context
12702                 - (nm_device_schedule_activation_handle_cancel): fix spelling of
12703                         a warning message
12704                 - (activation_handle_cancel_helper): cancellation handler run in
12705                         device-thread context, calls device-type-specific cancelation,
12706                         then tears down the activation request
12707                 - (real_activation_cancel_handler): generic cancellation handler,
12708                         deals with cancelling any in-process DHCP request
12709                 - (nm_device_activate_stage1_device_prepare,
12710                    nm_device_activate_stage2_device_config,
12711                    nm_device_activate_stage3_ip_config_start,
12712                    nm_device_activate_stage4_ip_config_get,
12713                    nm_device_activate_stage4_ip_config_timeout,
12714                    nm_device_activate_stage5_ip_commit): don't call
12715                         nm_device_schedule_activation_handle_cancel() any more, since
12716                         cancellation will have been already scheduled for us by
12717                         nm_device_activation_cancel().  Just exit the function and
12718                         assume that the cancel handler will be called next.
12719
12720         * src/nm-device-802-3-ethernet.c
12721                 - (real_act_stage2_config): remove; didn't do anything anyway
12722
12723         * src/nm-device-802-11-wireless.c
12724                 - (supplicant_status_cb): ensure we don't do anything if the activation
12725                         got cancelled
12726                 - (real_activation_cancel_handler): implement; cancel user key request
12727                         on activation cancellation
12728
12729 2006-03-04  Dan Williams  <dcbw@redhat.com>
12730
12731         * src/nm-device-802-11-wireless.c
12732                 - (supplicant_send_network_config): assume that drivers that don't
12733                         support WPA pretty much suck, and can't handle NM scanning
12734                         along with wpa_supplicant.
12735
12736 2006-03-03  Robert Love  <rml@novell.com>
12737
12738         * configure.in: Bump version to 0.6.0.
12739         * NEWS: Update.
12740
12741 2006-03-03  Robert Love  <rml@novell.com>
12742
12743         * configure.in: Require DBUS 0.60 or later.
12744
12745 2006-03-03  Dan Williams  <dcbw@redhat.com>
12746
12747         Fix a crash if an "Other wireless network" was chosen, failed, then
12748         chosen again from the applet's menu.  If the other network wasn't
12749         noticed in a scan, it wouldn't have any capabilities, but would still
12750         be listed because the user forced the network.  To fix this, we set
12751         sensible capabilities on the forced network, which will get overwritten
12752         with the correct ones if the network shows up later in a scan.
12753         
12754         * src/nm-ap-security.h
12755                 - Add a new "get_default_capabilities_func" member to the
12756                         NMAPSecurity class
12757
12758         * src/nm-ap-security.c
12759                 - (nm_ap_security_get_default_capabilities): new function
12760
12761         * src/nm-ap-security.c
12762           src/nm-ap-security-wep.c
12763           src/nm-ap-security-wpa-psk.c
12764           src/nm-ap-security-wpa-eap.c
12765                 - Implement get_default_capabilities_func() for all, which
12766                         uses the information contained in a specific NMAPSecurity
12767                         object to determine default AP capabilites necessary
12768                         to support that object
12769
12770         As a secondary measure, we now prune artificial access points that fail
12771         to be activated right away.  The thing failed, and we have no scan data for
12772         it, so it's pretty much useless since security information is only saved
12773         in the applets when a connection is successful.
12774
12775         * src/NetworkManagerAPList.c
12776                 - (nm_ap_list_merge_scanned_ap): mark any ap noticed in a scan
12777                         not artificial.  If we see it, it's no longer a figment of the
12778                         user's imagination :)
12779
12780         * src/NetworkManagerPolicy.c
12781                 - (nm_policy_activation_failed): send along the failed AP if we
12782                         have it
12783
12784         * src/nm-device-802-11-wireless.c
12785                 - (real_activation_failure_handler): remove artificial APs from
12786                         the device list, because activation failed
12787
12788 2006-03-02  Robert Love  <rml@novell.com>
12789
12790         Add support for retrieving both the per-device speed and the
12791         per-network maximum supported rate.  Then change the getProperties
12792         DBUS API for both networks and devices to report this informaiton.
12793         Finally, display the information via both nm-applet and nm-tool:
12794         * gnome/applet/applet-dbus-devices.c: Grab the speed from getProperties
12795           and set it.
12796         * gnome/applet/applet.c: Display the device's speed in the 'Connection
12797           Information' dialog.
12798         * gnome/applet/applet.glade: Update the UI to show per-device speed.
12799         * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Add interfaces
12800           network_device_get_speed() and network_device_set_speed() for
12801           retrieving and setting, respectively, a network device's current
12802           speed.
12803         * src/nm-dbus-device.c: Send the device's speed on getProperties.
12804         * src/nm-device-802-11-wireless.c: Return the rate in Mb/s, not Kb/s,
12805           in the function nm_device_802_11_wireless_get_bitrate() -- it does
12806           not matter (yet) what the units are, because we only feed it its own
12807           output.  Implement SIOCGIRATE and set the per-network maximum
12808           supported rate during scanning.
12809         * src/nm-device-802-11-wireless.h: Export the function
12810           nm_device_802_11_wireless_get_bitrate().
12811         * src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h: Add
12812           function nm_device_802_3_ethernet_get_speed() for returning an
12813           802.3's current speed, in Mb/s.
12814         * test/nm-tool.c: Display the per-device current speed, if available,
12815           and the per-network maximum rate.
12816
12817 2006-03-02  Dan Williams  <dcbw@redhat.com>
12818
12819         * src/nm-device-802-11-wireless.c
12820                 - (nm_device_802_11_wireless_set_scan_interval): don't scan-spam the
12821                         card when it gets initialized.  Since devices don't get added to
12822                         the scan list until they are initialized, this function wasn't
12823                         setting the intitial scan interval correctly, and was leaving
12824                         it at 0.  This caused cards to get many scan requests in a short
12825                         amount of time when they were initialized
12826
12827 2006-03-02  Robert Love  <rml@novell.com>
12828
12829         * gnome/applet/applet.c: Do not set the pixbuf if we don't have an
12830           active device.  But do not do what we used to do and override the
12831           state, which caused the dreaded icon race of '05.
12832
12833 2006-03-02  Robert Love  <rml@novell.com>
12834
12835         Commit Dan's update of my previous commit:
12836         * src/nm-device-802-11-wireless.c: Always set the mode, because the
12837           set_mode() function itself does the check.  But do only set the
12838           frequency if in Ad-Hoc mode.
12839
12840 2006-03-02  Robert Love  <rml@novell.com>
12841
12842         Patch by Brian Magnuson <magnuson@rcn.com>:
12843         * src/nm-device-802-11-wireless.c: During scanning, only set the
12844           wireless mode to infrastructure if it is not currently in
12845           infrastructure mode.  For some driver, setting the mode is a costly
12846           operation, apparently.
12847
12848 2006-03-01  Rodrigo Moya <rodrigo@novell.com>
12849
12850         * Makefile.am: use the correct dir for autostart mechanism.
12851
12852 2006-02-28  Dan Williams  <dcbw@redhat.com>
12853
12854         Patch from Brian Magnuson <magnuson@rcn.com>
12855         * gnome/applet/applet.c
12856                 - (nma_show_vpn_failure_dialog): fix errors left over from
12857                         libnotify support changes
12858
12859 2006-02-28  Dan Williams  <dcbw@redhat.com>
12860
12861         * src/vpn-manager/nm-vpn-act-request.[ch]
12862                 - (nm_vpn_act_request_is_activated): don't use a switch/case for
12863                         just one value
12864                 - (nm_vpn_act_request_is_failed): new function; return whether or
12865                         not the vpn activation request has failed
12866
12867         * src/vpn-manager/nm-vpn-manager.c 
12868                 - (nm_vpn_manager_deactivate_vpn_connection): tell the vpn service
12869                         daemon to kill the connection when the activation request fails.
12870                         Fixes issue where NM would get confused if the VPN activation
12871                         request timed out, and would not allow further VPN connections
12872                         on that service.
12873
12874 2006-02-28  Dan Williams  <dcbw@redhat.com>
12875
12876         * gnome/applet/applet.c
12877                 - (nma_menu_add_vpn_menu): until the NM VPN manager can deal with
12878                         overlapping connection requests, disable all VPN menu items
12879                         but the active VPN connection
12880
12881 2006-02-28  Dan Williams  <dcbw@redhat.com>
12882
12883         * src/vpn-manager/nm-vpn-connection.c
12884                 - (nm_vpn_connection_set_parent_device): fix C&P error which
12885                         called g_object_unref() on the connection's parent device
12886                         when it should have been ref-ed instead.  Fixes crash with
12887                         repeated vpn connect requests
12888
12889 2006-02-28  Christopher Aillon  <caillon@redhat.com>
12890
12891         * gnome/applet/applet.glade:
12892         Mark a few strings non-translatable, since they shouldn't be.
12893
12894 2006-02-28  Dan Williams  <dcbw@redhat.com>
12895
12896         * src/vpn-manager/nm-vpn-service.c
12897                 - (nm_vpn_service_start_connection): if the vpn service daemon is
12898                         already running, don't blindly ask it to connect, but wait until
12899                         it's in the STOPPED state first.  Fixes an assertion when user
12900                         starts a second vpn connection without stopping the first.
12901                 - (nm_vpn_service_stage2_daemon_wait): ensure the vpn service's
12902                         dbus service exists before continuing with the connection
12903                         process, and reduce latency while waiting for it to become
12904                         available
12905                 - (nm_vpn_service_schedule_stage2_daemon_wait): reduce latency
12906                         waiting for the vpn service daemon to become available
12907                 - General log message cleanups; show progress via "Stage x of 4"
12908                         rather than not telling anyone how many stages there are
12909
12910 2006-02-28  Robert Love  <rml@novell.com>
12911
12912         * src/NetworkManagerSystem.h: Add nm_system_should_modify_resolv_conf.
12913         * src/backends/NetworkManagerSuSE.c: Implement the interface
12914           nm_system_should_modify_resolv_conf() for SUSE.
12915         * src/backends/NetworkManagerDebian.c,
12916           src/backends/NetworkManagerGentoo.c,
12917           src/backends/NetworkManagerRedHat.c,
12918           src/backends/NetworkManagerSlackware.c: Add stub.
12919         * src/named-manager/Makefile.am: Grab includes from src.
12920         * src/named-manager/nm-named-manager.c: Allow backends to disable the
12921           automatic updating of resolv.conf.  This is useful for testing,
12922           broken static configurations, and administrator lock-down.
12923
12924 2006-02-28  Dan Williams  <dcbw@redhat.com>
12925
12926         * src/nm-device-802-11-wireless.c
12927                 - Move all the wpa_supplicant-related management stuff into its
12928                         own struct, just for oranization's sake
12929                 - (supplicant_exec): when exec-ing wpa_supplicant, connect its stdout
12930                         to a GIOChannel/GSource
12931                 - (supplicant_log_stdout): new function; grab output from the
12932                         wpa_supplicant stdout pipe and write it to our logs.
12933
12934 2006-02-27  Christopher Aillon  <caillon@redhat.com>
12935
12936         * src/nm-device-802-11-wireless.c:
12937         Err, fix thinko in my previous commit.
12938
12939 2006-02-28  Robert Love  <rml@novell.com>
12940
12941         * gnome/applet/wso-wpa-eap.c: Fix misc. FIXME statements.
12942
12943 2006-02-28  Robert Love  <rml@novell.com>
12944
12945         * libnm-util/dbus-helpers.c, src/nm-ap-security-wpa-eap.c,
12946           src/nm-ap-security-wpa-psk.c, gnome/applet/nm-gconf-wso-wpa-eap.c,
12947           gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXMEs: Callers of the DBUS
12948           deserializers are responsible for freeing the returned DBUS strings.
12949
12950 2006-02-27  Christopher Aillon  <caillon@redhat.com>
12951
12952         * src/nm-device-802-11-wireless.c:
12953         The scan list is being pruned prematurely.  We should prune after
12954         the device has gone MIA for three scans, not one.  Split out the
12955         interval to realtime seconds function to better serve this.
12956
12957 2006-02-27  Robert Love  <rml@novell.com>
12958
12959         * dispatcher-daemon/NetworkManagerDispatcher.c, src/NetworkManager.c:
12960           Open the pid file O_TRUNC, so if it already exists we truncate it to
12961           zero length.  Also, be more verbose about warnings generated during
12962           writing out the pid file.  Finally, always write out the pid file if
12963           in daemon mode.  Use "--pid-file" to override the default.
12964
12965 2006-02-27  Robert Love  <rml@novell.com>
12966
12967         Patch by R. Vinay <rvinay@novell.com>:
12968         * gnome/vpn-properties/nm-vpn-properties.c: Remove the gconf key
12969           'last_attempt_success' when removing a VPN connection, too.  (Fixes
12970           Novell bug #153628).
12971           
12972 2006-02-27  Robert Love  <rml@novell.com>
12973
12974         * gnome/applet/applet.glade: Set "activates_default" on passphrase
12975           entry so user can hit <ENTER> after entering passphrase (Novell bug
12976           #153738).
12977
12978 2006-02-27  Dan Williams  <dcbw@redhat.com>
12979
12980         * gnome/applet/*
12981                 - Mass search/replace of:
12982                         nmwa -> nma
12983                         NMWirelessApplet -> NMApplet
12984                         NM_*_WIRELESS_APPLET -> NM_*_APPLET
12985                    (it ain't just for wireless anymore, ma!)
12986                 - Fix duplicate function name printing when using nm_warning
12987                 - wireless-applet.glade -> applet.glade
12988
12989 2006-02-27  Dan Williams  <dcbw@redhat.com>
12990
12991         * dispatcher-daemon/NetworkManagerDispatcher.c
12992                 - Accept --pid-file with a path to a pidfile, write it out on
12993                         startup, and delete it on shutdown
12994
12995         * src/NetworkManager.c
12996                 - Accept --pid-file with a path to a pidfile, write it out on
12997                         startup, and delete it on shutdown
12998                 - Move nm_print_usage() lower
12999
13000         * initscripts/RedHat/NetworkManager.in
13001                 - Use new --pid-file option
13002                 - Fix service stopping to wait a bit for NM to quit
13003
13004         * initscripts/RedHat/NetworkManagerDispatcher.in
13005                 - Use new --pid-file option
13006
13007 2006-02-26  Dan Williams  <dcbw@redhat.com>
13008
13009         * src/Makefile.am
13010                 - make and install nm-crash-logger
13011
13012         * src/nm-logging.[ch]
13013                 - New files; consolidate logging and crash handling
13014
13015         * src/nm-crash-logger.c
13016           src/gdb-cmd
13017                 - Standalong crashlogger for NM, grab a backtrace
13018                         using GDB
13019
13020         * src/NetworkManager.[ch]
13021                 - Remove signal handling and put it into nm-logging.c
13022
13023 2006-02-26  Dan Williams  <dcbw@redhat.com>
13024
13025         * configure.in
13026           gnome/applet/Makefile.am
13027                 - Conditionalize all the notify stuff
13028
13029         Merge most of Chris Aillon's notification patch:
13030         
13031         * gnome/applet/applet-notifications.[ch]
13032                 - New files; show a notification
13033         
13034         * gnome/applet/applet-dbus-devices.[ch]
13035                 - (nmwa_dbus_device_activated, nmwa_dbus_device_activated_cb,
13036                    nmwa_dbus_device_deactivated, nmwa_dbus_device_deactivated_cb):
13037                         new functions, do the right thing when a device change occurs
13038
13039         * gnome/applet/applet-dbus.c
13040                 - (nmwa_dbus_filter): Split out DeviceNowActive and DeviceNoLongerActive
13041                         signals, so we can handle them specially
13042
13043         * gnome/applet/applet.[ch]
13044                 - nmwa_schedule_vpn_login_banner -> nmwa_show_vpn_login_banner
13045                 - nmwa_schedule_vpn_failure_alert -> nmwa_show_vpn_failure_alert
13046                 - (nmwa_notify_state): remove
13047                 - (nmwa_update_state); remove call to nmwa_notify_state, since the
13048                         notification work is now done when the appropriate dbus signals
13049                         are received.
13050                 - (nmwa_show_vpn_login_banner, nmwa_show_vpn_failure_alert): don't
13051                         defer execution of the notification/dialog stuff.  That was an
13052                         artifact of the previous multi-threaded nature of the applet
13053                         and is now pointless.
13054                 - (nmwa_notify_vpn_failure, nmwa_notify_vpn_login_banner): remove,
13055                         no longer needed.  Function folded into applet-notifications.c
13056
13057         * src/NetworkManagerPolicy.c
13058                 - (nm_policy_activation_finish): send the AP along with the device
13059                         status change signal, if the connection is wireless.  Should
13060                         fix the race where applet would show a connection to "unknown"
13061
13062 2006-02-25  Robert Love  <rml@novell.com>
13063
13064         Add WPA Enterprise support:
13065         * gnome/applet/Makefile.am: Build the files nm-gconf-wso-wpa-eap.c and
13066           nm-gconf-wso-wpa-eap.h.
13067         * gnome/applet/nm-gconf-wso-wpa-eap.c,
13068           gnome/applet/nm-gconf-wso-wpa-eap.h:  Add WPA Enterprise Gconf
13069           serialization and deserialization.
13070         * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
13071           gnome/applet/wireless-security-option.c, gnome/applet/wso-wpa-psk.c,
13072           gnome/applet/wso-wpa-psk.h: Clean up, support new defines.
13073         * gnome/applet/wireless-applet.glade: Add UI for configurating security
13074           settings related to WPA Enterprise.
13075         * gnome/applet/wireless-security-manager.c: Invoke wso_wpa_eap_new() to
13076           instantiate WPA Enterprise wireless-security-option.
13077         * gnome/applet/wso-wpa-eap.c, gnome/applet/wso-wpa-eap.h: New files.
13078           Implement WPA Enterprise wireless-security-option object.
13079         * include/NetworkManager.h: Add new NM_AUTH_TYPE_* and NM_EAP_METHOD_*
13080           defines.  Cleanup.
13081         * libnm-util/cipher-wpa-psk-hex.c,
13082           libnm-util/cipher-wpa-psk-passphrase.c: Cleanup.
13083         * libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h: Add
13084           nmu_security_serialize_wpa_eap() to serialize input to DBUS method,
13085           nmu_security_serialize_wpa_eap_with_cipher() to serialize input
13086           including the cipher to DBUS method, and
13087           nmu_security_deserialize_wpa_eap() to deserialize from DBUS return
13088           to output.
13089         * src/Makefile.am: Build the files nm-ap-security-wpa-eap.c and
13090           nm-ap-security-wpa-eap.h
13091         * src/NetworkManagerAP.c: Add NM_AUTH_TYPE_WPA_EAP to
13092           NM_802_11_CAP_KEY_MGMT_802_1X cipher to capability mapping.
13093         * src/nm-ap-security-wpa-eap.c, src/nm-ap-security-wpa-eap.h: New
13094           files.  Implement NMAPSecurityWPA_EAP object.
13095         * src/nm-ap-security-wpa-psk.c: Cleanup.
13096         * src/nm-ap-security.c: Support NM_AUTH_TYPE_EAP cipher and instantiate
13097           an NMAPSecurityWPA_EAP object via the method
13098           nm_ap_security_wpa_eap_new_deserialize().
13099         * src/nm-dbus-nm.c: Cleanup.
13100         * test/nm-tool.c: Display "Enterprise" for wireless networks providing
13101           WPA Enterprise support.
13102
13103 2006-02-24  Robert Love  <rml@novell.com>
13104
13105         Patch from Timo Hoenig <thoenig@suse.de>:
13106         * src/NetworkManagerDbus.c: Survive DBUS restarts like a champ.
13107
13108 2006-02-24  Robert Love  <rml@novell.com>
13109
13110         Patch from Dan Winship <danw@novell.com>:
13111         * gnome/applet/eggtrayicon.c: Update EggTrayIcon code.  Set the gdk
13112           area to transparent.
13113
13114 2006-02-21  Dan Williams  <dcbw@redhat.com>
13115
13116         * gnome/applet/applet.[ch]
13117           gnome/applet/applet-dbus.c
13118                 - Implement notification support for VPN messages too
13119
13120 2006-02-21  Dan Williams  <dcbw@redhat.com>
13121
13122         * gnome/applet/applet-dbus-info.c
13123                 - Clean up warning messages to not double-print the function
13124
13125 2006-02-21  Dan Williams  <dcbw@redhat.com>
13126
13127         * gnome/applet/applet-compat.c
13128                 - (convert_one_entry): accept entries without a key_type and
13129                         convert them to unencrypted networks
13130
13131 2006-02-21  Dan Williams  <dcbw@redhat.com>
13132
13133         * gnome/libnm_glib/libnm_glib.c
13134                 - Use __func__ everywhere we can
13135                 - Code cleanups
13136                 - Use dbus pending calls rather than blocking
13137                 - Reduce busywaits for our thread to start and stop
13138                         (gnome.org #330562)
13139                 - (libnm_glib_dbus_init): Use dbus_bus_get_private() so we don't
13140                         stomp on others using the default shared dbus connection.
13141                         Fixes #rh177546# and gnome.org #326572
13142
13143 2006-02-21  Dan Williams  <dcbw@redhat.com>
13144
13145         Patch from Rodney Dawes <dobey@novell.com>
13146         * configure.in
13147           gnome/applet/Makefile.am
13148           gnome/applet/applet.c
13149                 - Add libnotify support if '--enable-notify=yes' is passed
13150                   at configure time
13151
13152 2006-02-16  Kang Jeong-Hee  <keizie@gmail.com>
13153
13154         * configure.in (ALL_LINGUAS): ko added. (Korean)
13155
13156 2006-02-15  Robert Love  <rml@novell.com>
13157
13158         * src/nm-device-802-11-wireless.c: Use LOCALSTATEDIR preprocessor
13159           define, not an open-coded "/var", for WPA_SUPPLICANT_GLOBAL_SOCKET
13160           and WPA_SUPPLICANT_CONTROL_SOCKET.
13161         
13162 2006-02-15  Robert Love  <rml@novell.com>
13163
13164         * src/nm-device-802-11-wireless.c, src/nm-device.c: When printing debug
13165           information about what connection stage we are at, provide the total
13166           number of stages, e.g. "Stage 2 of 5", so users know how far along
13167           they are if they experience problems.
13168
13169 2006-02-15  Robert Love  <rml@novell.com>
13170
13171         * gnome/vpn-properties/Makefile.am: Define SYSCONFDIR preprocessor
13172           define to $sysconfdir.
13173         * gnome/vpn-properties/nm-vpn-properties.c: Make sure we hide the VPN
13174           editing dialog, vpn_edit_widget, which fixes a bug where editing one
13175           type of VPN and then editing another results in a mangled dialog
13176           box containing the widgets from both VPNs (fixes Novell #150854).
13177           Also, some misc. cleanup and use SYSCONFDIR not open coded directory.
13178
13179 2006-02-14  Robert Love  <rml@novell.com>
13180
13181         * src/NetworkManager.c: Call closelog() on daemon shutdown to close
13182           syslog's file descriptor.
13183
13184 2006-02-14  Robert Love  <rml@novell.com>
13185
13186         Fix bug around since the change to "deal with APs changing settings on
13187         us," checked in on the fifth of February in the year of the dog, 
13188         wherein connecting to non-broadcast encrypted networks always fails
13189         because nm_ap_get_encrypted() always returns FALSE, even when the user
13190         provided a key, because the newly-created fake AP does not have any
13191         capabilities set, which is a sypmtom of security settings not matching
13192         capabilities (Novell bug #150784):
13193         * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Add new interface,
13194           nm_ap_add_capabilities_from_security(), which sets the given AP's
13195           capabilities off the given security settings.  Also improve our
13196           handling of capabilities w.r.t. NM_802_11_CAP_PROTO_NONE and
13197           NM_AUTH_CIPHER_AUTO.
13198         * src/nm-device-802-11-wireless.c: Call the function
13199           nm_ap_add_capabilities_from_security() to ensure that capabilities
13200           match newly updated security settings.
13201
13202 2006-02-14  Robert Love  <rml@novell.com>
13203
13204         * src/nm-device-802-11-wireless.c: Clean up nm_warning calls: Print the
13205           error as a string, not an integer, if possible; do not print the
13206           function name twice; always give the interface, if possible; misc.
13207           cleanup.
13208
13209 2006-02-12  Dan Williams  <dcbw@redhat.com>
13210
13211         Patch from Tom Parker <palfrey@tevp.net>
13212         * src/NetworkManagerSystem.h
13213                 - Remove prototype for nm_system_device_setup_static_ip4_config(),
13214                         no longer used
13215
13216         * src/backends/NetworkManagerDebian.c
13217                 - Remove some dead code (nm_system_device_setup_static_ip4_config) and
13218                         unused variables
13219
13220 2006-02-12  Dan Williams  <dcbw@redhat.com>
13221
13222         * vpn-daemons/openvpn/intltool-extract.in
13223           vpn-daemons/openvpn/intltool-merge.in
13224           vpn-daemons/openvpn/intltool-update.in
13225           vpn-daemons/pptp/intltool-extract.in
13226           vpn-daemons/pptp/intltool-merge.in
13227           vpn-daemons/pptp/intltool-update.in
13228                 - Remove from CVS, they should get created by intltoolize,
13229                         shouldn't they?
13230
13231 2006-02-12  Dan Williams  <dcbw@redhat.com>
13232
13233         * vpn-daemons/pptp/src/pppd/patchlevel.h
13234         * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
13235                 - Rename VERSION -> PPPD_VERSION to avoid conflict with the
13236                         Makefile-defined VERSION
13237
13238 2006-02-09  Dan Williams  <dcbw@redhat.com>
13239
13240         Patch from: Vinay A R <rvinay@novell.com>
13241         * src/vpn-manager/nm-vpn-act-request.[ch]
13242                 - Added 'routes' and 'routes_count' to struct NMVPNActRequest since
13243                         IPSec VPNs require them for std gateway.
13244                 - (nm_vpn_act_request_new): takes arguments for 'user_routes'
13245                         and 'user_routes_count'
13246                 - (nm_vpn_act_request_get_user_routes): new function; gets user
13247                         defined routes  from NMVPNActRequest object, returns the string
13248                         array of routes.
13249
13250         * src/vpn-manager/nm-vpn-manager.[ch]
13251                 - (nm_vpn_manager_activate_vpn_connection): take additional arguments
13252                         for 'user_routes' and 'user_routes_count'
13253         
13254         * src/vpn-manager/nm-dbus-vpn.c
13255                 - (nm_dbus_vpn_activate_connection): gets 'user_routes' from
13256                         nm_dbus_vpn_get_routes() to pass to nm_vpn_manager_activate_vpn_connection()
13257         
13258         * src/vpn-manager/nm-vpn-service.c
13259                 - (nm_vpn_service_stage3_connect): pass user routes over dbus to
13260                         the vpn daemon
13261
13262         Modifications by Dan:
13263         * src/vpn-manager/nm-vpn-service.c
13264                 - (nm_vpn_service_stage3_connect): ensure that we don't pass NULL string
13265                         arrays into dbus
13266
13267         * vpn-daemons/vpnc/src/nm-vpnc-service.c
13268         * vpn-daemons/pptp/src/nm-pptp-service.c
13269         * vpn-daemons/openvpn/src/nm-openvpn-service.c
13270                 - Grab user routes from dbus message
13271                 - Free all string arrays we got from dbus
13272
13273 2006-02-07  Robert Love  <rml@novell.com>
13274
13275         Patch by Stefan Seyfried <seife@suse.de>:
13276         * libnm-util/cipher.c: Fix off-by-one error in cipher_bin2hexstr.
13277
13278 2006-02-06  Robert Love  <rml@novell.com>
13279
13280         * src/nm-device-802-11-wireless.c: Fix leak in supplicant_status_cb().
13281
13282 2006-02-06  Robert Love  <rml@novell.com>
13283
13284         * src/NetworkManagerUtils.c: kill_newline(): 'l' is unsigned so the
13285           test ">=" is never false.  If no newline is found, we loop forever.
13286           We can just check for ">" because the following if() will see the
13287           zero-th argument if the while() gets that far.
13288
13289 2006-02-05  Dan Williams  <dcbw@redhat.com>
13290
13291         Refine handling of non-broadcast networks.
13292
13293         * src/NetworkManagerAPList.c
13294                 - (nm_ap_list_merge_scanned_ap): unconditionally copy the 'broadcast'
13295                         property from scanned AP to the AP from the device list
13296
13297         * src/nm-device-802-11-wireless.c
13298                 - (supplicant_send_network_config): use ap_scan=1 for all networks
13299                         except non-SSID-broadcasting and Ad-Hoc networks.  Use
13300                         ap_scan=2 for those.  Also, don't set scan_ssid for Ad-Hoc
13301                         networks since those don't have APs.
13302                 - (add_new_ap_to_device_list): if there's no valid SSID, mark the
13303                         AP as non-SSID-broadcasting
13304                 - (process_scan_results): don't handle non-SSID-broadcasting here
13305
13306 2006-02-05  Dan Williams  <dcbw@redhat.com>
13307
13308         * src/nm-device-802-11-wireless.c
13309                 - (get_supplicant_timeout): new function; return
13310                         NM_SUPPLICANT_TIMEOUT * 2 for cards that support more than
13311                         14 channels.  These are likely a/b/g cards, like Atheros, and
13312                         slow as hell to scan.
13313                 - (supplicant_timeout_cb, supplicant_monitor_start): use
13314                         get_supplicant_timeout()
13315
13316 2006-02-05  Dan Williams  <dcbw@redhat.com>
13317
13318         * src/dhcp-manager/nm-dhcp-manager.c
13319                 - Loose a commit race with Robert; make sure size check
13320                         uses size of DHCP_SERVICE_LEN, not hardcoded 15
13321
13322 2006-02-05  Robert Love  <rml@novell.com>
13323
13324         Patch by Christoph Brill <chrisbrill@gmx.net>:
13325         * src/dhcp-manager/nm-dhcp-manager.c: Replace two open coded defines
13326           with DHCP_SERVICE_NAME.
13327
13328 2006-02-05  Dan Williams  <dcbw@redhat.com>
13329
13330         Remove anything having to do with device_setup_func from the
13331         AP security objects, since it's no longer used.
13332
13333         * src/nm-ap-security.h
13334                 - Kill device_setup_func and nm_ap_security_device_setup()
13335
13336         * src/nm-ap-security-wep.c
13337           src/nm-ap-security-wpa-psk.c
13338                 - (real_device_setup): remove
13339
13340         * src/nm-ap-security.c
13341                 - (real_device_setup): remove
13342                 - (nm_ap_security_device_setup): remove
13343
13344         * src/nm-device-802-11-wireless.[ch]
13345                 - (nm_device_802_11_wireless_set_wep_enc_key): make static
13346                 - (set_wireless_config, wireless_configure_adhoc): remove; unused
13347                         and done by wpa_supplicant now anyway
13348
13349 2006-02-05  Dan Williams  <dcbw@redhat.com>
13350
13351         * src/nm-device-802-11-wireless.c
13352                 - (ap_need_key, real_act_stage2_config): deal with APs changing
13353                         settings on us.  Previously NM would loop asking for the
13354                         key but getting the same one back.  Now, if the NMI-supplied
13355                         cipher doesn't overlap with the scanned AP capabilities,
13356                         we request a completely new key from the user.
13357
13358 2006-02-05  Dan Williams  <dcbw@redhat.com>
13359
13360         * src/NetworkManagerUtils.c
13361                 - (nm_utils_supplicant_request_with_check, nm_utils_supplicant_request):
13362                         Handle newline killing better
13363
13364 2006-02-05  Dan Williams  <dcbw@redhat.com>
13365
13366         * gnome/applet/nm-gconf-wso.c
13367                 - (real_serialize_dbus): return TRUE, not 0.  Fixes serialization
13368                         of unencrypted access point security info.
13369
13370 2006-02-03  Robert Love  <rml@novell.com>
13371
13372         * src/NetworkManagerUtils.c: Even for debugging, we should not log the
13373           user's encryption key, so we print the err_msg_cmd not the command,
13374           if available.  So long as SUPPLICANT_DEBUG is default, this makes
13375           sense.
13376
13377 2006-02-03  Christopher Aillon  <caillon@redhat.com>
13378
13379         * initscript/RedHat/NetworkManagerDispatcher.in:
13380         * initscript/RedHat/NetworkManager.in: modify the pidfile location
13381         Patch from Dan Walsh <dwalsh@redhat.com>
13382
13383 2006-02-03  Robert Love  <rml@novell.com>
13384
13385         * dispatcher-daemon/NetworkManagerDispatcher.c,
13386           dispatcher-daemon/Makefile.am: Don't hardcode the location of /etc
13387           but use the sysconfdir.
13388
13389 2006-02-03  Robert Love  <rml@novell.com>
13390
13391         * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h:
13392           Make nm_device_802_11_wireless_get_essid() return 'const char *' not
13393           'char *'.
13394         * src/nm-ip4-config.c, src/nm-ip4-config.h: Make the functions
13395           nm_ip4_config_get_hostname() and
13396           nm_ip4_config_get_nis_domain() return 'const char *' not 'char *'.
13397         * src/backends/NetworkManagerSuSE.c: Fix up for above.  Also, do not
13398           leak g_strdup() result.
13399
13400 2006-02-03  Robert Love  <rml@novell.com>
13401
13402         * src/NetworkManagerAP.c: In nm_ap_new(), default new networks to
13403           broadcast == TRUE.  Also, copy broadcast and artificial properties
13404           from source network to destination in nm_ap_copy().
13405         * src/nm-device-802-11-wireless.c: Don't set broadcast flag to TRUE,
13406           since we now default new networks to non-hidden.
13407
13408 2006-02-03  Dan Williams  <dcbw@redhat.com>
13409
13410         * gnome/applet/main.c
13411                 - (main): change the NEVER->ALWAYS so we start at the
13412                         beginning of the session, if being session-managed
13413
13414 2006-02-03  Dan Williams  <dcbw@redhat.com>
13415
13416         * gnome/applet/main.c
13417                 - (main): in a variation on Robert's patch, change
13418                         RESTART_IMMEDIATELY -> RESTART_NEVER.  Should do what
13419                         he wants.
13420
13421 2006-02-02  Robert Love  <rml@novell.com>
13422
13423         * src/Makefile.am: If we aren't going to create the run directory at,
13424           uh, run-time, create it during install.  Then users just doing
13425           'make install' are cool, too.  While we are here, create the
13426           dispatcher.d directory, too.
13427         * src/nm-device-802-11-wireless.c: Let the Makefile define and pass in
13428           the exact run directory.
13429         * Makefile.am: Install nm-applet.desktop.
13430
13431 2006-02-02  Robert Love  <rml@novell.com>
13432
13433         * src/NetworkManagerAP.c: Add 'broadcast' property to the NMAccessPoint
13434           structure, which denotes whether or not the AP is hidden.  This is a
13435           superset of 'artificial' -- we need 'broadcast' because a hidden AP
13436           can show up in the scan list.  Add nm_ap_get_broadcast() and
13437           nm_ap_set_broadcast() accessor interfaces.
13438         * src/NetworkManagerAP.h: Add prototypes for nm_ap_get_broadcast() and
13439           nm_ap_set_broadcast().
13440         * src/nm-dbus-net.c: Add new argument, boolean broadcast, to the
13441           "getProperties" method, which denotes whether or not the given
13442           network is hidden.
13443         * src/nm-device-802-11-wireless.c: Set broadcast to FALSE when creating
13444           an artificial network.  Set broadcast to TRUE when scanning returns
13445           an ESSID and FALSE when not.
13446         * gnome/applet/applet-dbus-devices.c: Retrieve 'broadcast' argument
13447           from "getProperties" method on a network.  Possible TODO is to
13448           somehow display this.
13449         * test/nm-tool.c: Display "Hidden" if the AP does not broadcast.
13450
13451 2006-02-02  Dan Williams  <dcbw@redhat.com>
13452
13453         * src/nm-device-802-11-wireless.c
13454                 - (supplicant_interface_init): don't try to create
13455                         /var/run/NetworkManager, since that should be done by
13456                         the distro package.  Causes problems for stuff like SELinux
13457
13458 2006-02-02  Robert Love  <rml@novell.com>
13459
13460         Patch by Sureshkumar T <tsureshkumar@novell.com>:
13461         * src/vpn-manager/nm-vpn-connection.c, src/NetworkManagerSystem.c:
13462           Check for and handle empty string for iface.
13463
13464 2006-02-01  Robert Love  <rml@novell.com>
13465
13466         * configure.in, man/nm-tool.1.in, man/Makefile.am: Add nm-tool(1)
13467           manpage.
13468
13469 2006-01-31  Dan Williams  <dcbw@redhat.com>
13470
13471         * nm-applet.desktop
13472                 - Add --sm-disable to Exec arguments, presuming that when
13473                         using autostart, we don't want session management
13474
13475 2006-01-31  Robert Love  <rml@novell.com>
13476
13477         * src/NetworkManagerAP.c: Add two new manufacturer default network
13478           names: linksys-a and linksys-g.  These are found (at least) on the
13479           Linksys WAP55AG, which does both 802.11a and 802.11b, each with their
13480           own ESSID.
13481
13482 2006-01-31  Robert Love  <rml@novell.com>
13483
13484         * src/NetworkManagerAP.c: Optimize the function
13485           nm_ap_has_manufacturer_default_essid().  I did not like its resulting
13486           machine code.  This is the first in a series of code tweaks aiming to
13487           generate better machine code and make NetworkManager all the better.
13488           Just kidding.  Who has time to go through the assembly generated for
13489           every function?  I certainly don't.  I have a wife, a kid, a job,
13490           a mortgage, a mistress.  But this function was so bad, I was called
13491           to arms.  Like the book.
13492
13493 2006-01-31  Robert Love  <rml@novell.com>
13494
13495         * src/nm-device-802-11-wireless.c: Set "scan_ssid 1" if the requested
13496           AP is not broadcasting, to scan with probe request frames.  Required
13497           for non-broadcast networks.
13498
13499 2006-01-31  Robert Love  <rml@novell.com>
13500
13501         * src/nm-device-802-11-wireless.c: Make the wpa_supplicant a
13502           preprocessor define (still 20s).  Fix message text in nm_info()
13503           s/too too/took too/.
13504
13505 2006-01-30  Dan Williams  <dcbw@redhat.com>
13506
13507         * src/nm-device-802-11-wireless.c
13508                 - (supplicant_monitor_start): increase connect/auth timeout to
13509                         20 seconds from 10 seconds
13510
13511 2006-01-30  Dan Williams  <dcbw@redhat.com>
13512
13513         * src/Makefile.am
13514                 - Define LOCALSTATEDIR
13515
13516         * src/nm-device-802-11-wireless.c
13517                 - (supplicant_exec): tell wpa_ctrl_open() to stick the local control
13518                         socket where we want it to
13519
13520         * src/wpa_ctrl.[ch]
13521                 - (wpa_ctrl_open): accept location to put local control socket
13522
13523 2006-01-30  Robert Love  <rml@novell.com>
13524
13525         * src/dhcp-manager/nm-dhcp-manager.c: Pass TRUE for ignore_error in
13526           get_ip4_string() for "domain_name".
13527
13528 2006-01-30  Robert Love  <rml@novell.com>
13529
13530         * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
13531           gnome/applet/wireless-security-option.c, include/NetworkManager.h,
13532           libnm-util/cipher-wpa-psk-hex.c, src/nm-ap-security-wpa-psk.c,
13533           libnm-util/cipher-wpa-psk-passphrase.c, src/nm-ap-security.c: Add
13534           support for "Automatic" pairwise and group cipher configuration by
13535           letting wpa_supplicant handle the details.  Add UI elements, new
13536           cipher type NM_AUTH_CIPHER_AUTO, and backend support.  Works like a
13537           charm.  Note this does more than add a nice feature, it fixes a bug.
13538           Apparently, some people have AP's where the pairwise cipher does not
13539           match the group cipher.  Insane, but true.
13540
13541 2006-01-30  Dan Williams  <dcbw@redhat.com>
13542
13543         * gnome/applet/applet-dbus-devices.c
13544                 - (nmwa_dbus_device_get_driver_cb, nmwa_dbus_device_get_driver): new
13545                         functions, grab device driver name from NetworkManager
13546                 - (nmwa_dbus_device_properties_cb): call functions to get driver
13547
13548         * gnome/applet/applet.c
13549                 - (nmwa_update_info): show driver name in Connection Information
13550                         dialog
13551
13552         * gnome/applet/nm-device.[ch]
13553                 - (network_device_get_driver, network_device_set_driver): add
13554                         accessors for driver name
13555
13556         * gnome/applet/wireless-applet.glade
13557                 - Add line for driver name to Connection Information dialog
13558
13559         * src/nm-dbus-device.c
13560                 - (nm_dbus_device_get_driver): new function to return driver name
13561                 - (nm_dbus_device_methods): hook up driver name function to dbus
13562
13563         * test/nm-tool.c
13564                 - (get_driver_name): new function
13565                 - (detail_device): grab and show driver name
13566
13567 2006-01-30  Robert Love  <rml@novell.com>
13568
13569         * gnome/applet/applet.c: Apparently gtk_message_dialog_new_with_markup
13570           does not parse the markup if it is not part of the format.
13571
13572 2006-01-30  Robert Love  <rml@novell.com>
13573
13574         * gnome/applet/passphrase-dialog.c: If wsm_set_capabilities() returns
13575           FALSE, we have no security options for this dialog, so we throw up
13576           an error dialog instead of a broken passphrase dialog.  Fixes
13577           Novell #138404.
13578         * gnome/applet/wireless-security-manager.c,
13579           gnome/applet/wireless-security-manager.h: If wsm_set_capabilities()
13580           does not add any security options, not even NONE, print a warning
13581           and return FALSE.  This let's functions constructing a dialog bail
13582           out if the device's capabilities and the network's requirements have
13583           zero overlap.
13584
13585 2006-01-27  Robert Love  <rml@novell.com>
13586
13587         * configure.in: Require wpa_supplicant.  Detect location of binary and
13588           use it.  Override with "--with-wpa_supplicant=foo".
13589         * src/Makefile.am, src/nm-device-802-11-wireless.c: Do not hardcode the
13590           path to wpa_supplicant but use the auto-detected or user-provided
13591           value from configure.
13592
13593 2006-01-27  Robert Love  <rml@novell.com>
13594
13595         * src/backends/NetworkManagerSuSE.c: If DHCLIENT_SET_HOSTNAME is set
13596           but the DHCP server did not return a hostname, try to look up our
13597           name via DNS and set the system hostname to that.
13598
13599 2006-01-27  Dan Williams  <dcbw@redhat.com>
13600
13601         * src/backends/NetworkManagerRedHat.c
13602                 - Add NM_CONTROLLED system network script support for RH/Fedora
13603
13604 2006-01-27  Dan Williams  <dcbw@redhat.com>
13605
13606         * src/backends/NetworkManagerGentoo.c
13607                 - (nm_system_device_get_disabled): add missing function.
13608                         Gnome BZ #328780
13609
13610 2006-01-27  Clytie Siddall <clytie@riverland.net.au>
13611
13612         * configure.in: Added vi in ALL_LINGUAS line.
13613         
13614 2006-01-26  Robert Love  <rml@novell.com>
13615
13616         * src/Makefile.am, src/kernel-types.h: Now that two different source
13617           files are feeling the crack-addled leakage of kernel types such as
13618           u32 and s8 -- superior to __u64 and __u8, to be sure, but not valid
13619           types in user-space -- define a header and include it as needed.
13620         * src/nm-device-802-3-ethernet.c: Include kernel-types.h
13621         * src/nm-device-802-3-ethernet.h: Remove defines.
13622         * src/wpa.c: Remove defines and include kernel-types.h.
13623
13624 2006-01-26  Robert Love  <rml@novell.com>
13625
13626         * TODO: Update.  WPA support is in the bag and HAL restarts (should)
13627           work.
13628
13629 2006-01-26  Robert Love  <rml@novell.com>
13630
13631         * configure.in: Change '-Wno-unused' to '-Wno-unused-parameter'
13632         * gnome/applet/applet-compat.c, gnome/applet/applet-dbus-devices.c,
13633           gnome/applet/applet-dbus-info.c, gnome/applet/applet-dbus.c,
13634           gnome/applet/applet.c, gnome/applet/applet.h, src/nm-dbus-device.c,
13635           gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
13636           gnome/applet/nm-gconf-wso.c, gnome/applet/nm-gconf-wso.h,
13637           gnome/applet/other-network-dialog.c, src/nm-device.c, test/nm-tool.c,
13638           gnome/applet/passphrase-dialog.c, src/nm-device-802-11-wireless.c,
13639           gnome/applet/wireless-security-manager.c, src/nm-ip4-config.c,
13640           gnome/applet/wireless-security-option.c, src/nm-ap-security.c,
13641           gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
13642           gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-psk.c,
13643           libnm-util/dbus-helpers.c, src/NetworkManagerAP.c, src/nm-dbus-nmi.c,
13644           src/NetworkManagerSystem.c, src/nm-ap-security-wep.c,
13645           src/nm-device-802-11-wireless.h, test/libnm-util/test-ciphers.c,
13646           src/named-manager/nm-named-manager.c, test/test-common/test-common.c:
13647           Kill unused variables, labels, and static functions.  Don't pass
13648           string literals as the format string for printf-like functions.
13649
13650 2006-01-25  Dan Williams  <dcbw@redhat.com>
13651
13652         * gnome/applet/wireless-applet.glade
13653                 - Remove WPA2 Checkbox
13654
13655         * gnome/applet/wireless-security-manager.c
13656                 - (wsm_set_capabilities): split up sections for wpa and wpa2.
13657                         This means the Wireless Security menu now has two WPA options,
13658                         one for "WPA Personal" and one for "WPA2 Personal"
13659
13660         * gnome/applet/wso-wpa-psk.[ch]
13661                 - (wso_wpa_psk_new): remove stuff for WPA2 checkbox, and use
13662                         'wpa2' argument to determine WPA version to use
13663                 - (append_dbus_params_func): pass stored WPA version to cipher
13664                         rather than using the (removed) checkbox
13665
13666 2006-01-24  Robert Love  <rml@novell.com>
13667
13668         * src/dhcp-manager/nm-dhcp-manager.c: Null-out the original byte array
13669           before we g_strdup(), not the ultimate string.
13670
13671 2006-01-23  Dan Williams  <dcbw@redhat.com>
13672
13673         * src/NetworkManagerAP.[ch]
13674                 - (nm_ap_new_from_ap): copy original essid too
13675                 - (nm_ap_unref): free original essid
13676                 - (nm_ap_get_orig_essid): new function
13677                 - (nm_ap_set_essid): Convert essid to UTF-8 for display and dbus,
13678                         but keep original essid around too
13679
13680         * src/nm-device-802-11-wireless.c
13681                 - (supplicant_send_network_config): send wpa_supplicant the
13682                         _original_ essid, and not as a string, but in hex.  Should
13683                         allow us to connect to more APs that use wierd character
13684                         encodings for their essids
13685
13686         * utils/nm-utils.[ch]
13687                 - (nm_utils_essid_to_utf8): make a best-effort to convert the essid
13688                         to UTF-8.  If it's not already valid UTF-8, we check LANG and
13689                         use the current locale as a hint for what encoding the essid
13690                         might be in.  Obviously not 100% accurate, but the idea here is
13691                         that if a user's locale is ex. ja_JP, they are more likely than
13692                         not to be in Japan, where access points will likely be in some
13693                         Japanese encoding.
13694
13695 2006-01-23  Dan Williams  <dcbw@redhat.com>
13696
13697         * libnm-util/cipher-private.h
13698           libnm-util/cipher.c
13699           libnm-util/cipher.h
13700                 - (cipher_bin2hexstr, cipher_hexstr2bin): make public
13701
13702 2006-01-23  Robert Love  <rml@novell.com>
13703
13704         Patch by Timo Hoenig <thoenig@suse.de>:
13705         * dhcp-manager/nm-dhcp-manager.c, nm-device.c, nm-ip4-config.c,
13706           nm-ip4-config.h, NetworkManagerSystem.h: Save the hostname reported
13707           by DHCP and pass it to the backends, allowing distribution-specific
13708           behavior with respect to the DHCP-supplied hostname (if nothing else,
13709           some distributions might not want to set the hostname).
13710         * backends/NetworkManagerSuSE.c: Set the hostname if the variable
13711           DHCLIENT_SET_HOSTNAME is set to "yes" in /etc/sysconfig/network/dhcp.
13712           Also update our NIS behavior.
13713         * backends/NetworkManagerDebian.c, backends/NetworkManagerGentoo.c,
13714           backends/NetworkManagerRedHat.c, backends/NetworkManagerSlackware.c:
13715           Add stub functions.
13716
13717 2006-01-23  Robert Love  <rml@novell.com>
13718
13719         * Makefile.am, nm-applet.desktop: Add autostart .desktop file, now that
13720           gnome-session does autostart.  TODO: We need to install this to
13721           $prefix/share/autostart/.
13722
13723 2006-01-22  Dan Williams  <dcbw@redhat.com>
13724
13725         * src/NetworkManagerAP.[ch]
13726           src/nm-dbus-nmi.c
13727           src/nm-device-802-11-wireless.c         
13728                 - Make nm_ap_get_essid return "const char *"
13729
13730 2006-01-22  Dan Williams  <dcbw@redhat.com>
13731
13732         * src/NetworkManagerAP.[ch]
13733                 - (nm_ap_get_matched, nm_ap_set_matched): remove
13734
13735         * src/NetworkManagerAPList.[ch]
13736                 - (nm_ap_list_diff): removed
13737                 - (nm_ap_list_merge_scanned_ap): move AP dbus signal logic here,
13738                         deal with access points changing essids on us
13739
13740         * src/nm-device-802-11-wireless.c
13741                 - (add_new_ap_to_device_list): move AP dbus signal logic to
13742                         src/NetworkManagerAPList.c
13743                 - (real_can_interrupt_activation): new function; allow interruption
13744                         of device activation if we are waiting for a network key
13745
13746         * src/NetworkManagerPolicy.c
13747                 - (nm_policy_device_change_check): allow interruption of currently
13748                         activating devices if the device allows it.  Previous behavior
13749                         would refuse to activate a just-plugged wired device if a
13750                         wireless device was waiting for a key.
13751
13752         * src/nm-device.[ch]
13753                 - (nm_device_can_interrupt_activation): new function; ask devices
13754                         whether their activation can be interrupted
13755
13756 2006-01-20  Robert Love  <rml@novell.com>
13757
13758         * Makefile.am, configure.in: Add new man subdirectory.
13759         * man, man/NetworkManager.1.in, man/NetworkManagerDispatcher.1.in,
13760           man/Makefile.am: Add man pages for NetworkManager and its
13761           crime-solving bumbling buddy, NetworkManagerDispatcher.
13762         * man/.cvsignore: Add.
13763         * initscript/Debian/NetworkManager,
13764           initscript/Gentoo/NetworkManager.in,
13765           initscript/RedHat/NetworkManager.in,
13766           initscript/RedHat/NetworkManagerDispatcher.in,
13767           initscript/SUSE/networkmanager-dispatcher.in,
13768           initscript/SUSE/networkmanager.in: Update for /usr/sbin not /usr/bin.
13769
13770 2006-01-20  Robert Love  <rml@novell.com>
13771
13772         * src/NetworkManagerDbus.c: Fail if NM's DBUS service is already taken,
13773           instead of queuing.  This prevents the running of multiple NM
13774           daemons concurrently, which does not work whatsoever and results in
13775           neither daemon working correctly.  Also, we don't handle queuing and
13776           name-owner-changes, anyhow.
13777
13778 2006-01-20  Robert Love  <rml@novell.com>
13779
13780         * src/Makefile.am: Install the NetworkManager daemon to sbin, not bin.
13781         * dispatcher/Makefile.am: Install the NetworkManagerDispatcher daemon
13782           to sbin, not bin.
13783
13784 2006-01-19  Robert Love  <rml@novell.com>
13785
13786         * configure.in: Require hal 0.5.0 or later.
13787
13788 2006-01-18  Robert Love  <rml@novell.com>
13789
13790         * src/NetworkManager.c, src/NetworkManagerSystem.h, src/nm-device.c:
13791           Allow backends to flag a device (in whatever distro-dependent way
13792           they so desire) as disabled.  NM will ignore any such device.
13793         * src/backends/NetworkManagerDebian.c,
13794           src/backends/NetworkManagerRedHat.c,
13795           src/backends/NetworkManagerSlackware.c: Add stub function
13796           nm_system_device_get_disabled() that always returns FALSE (enabled).
13797         * src/backends/NetworkManagerSuSE.c: Add system_disabled field to the
13798           SUSE-specific configuration structure.  Fill it in from the
13799           NM_CONTROLLED variable in the system networking scripts.  If this var
13800           exists and is "no", we ignore the device.
13801
13802 2006-01-17  Robert Love  <rml@novell.com>
13803
13804         * configure.in: Remove 'no' language.  Replaced by 'nb', which is
13805           identical for NM.  For a full discussion, see the thread at
13806           http://mail.gnome.org/archives/gnome-i18n/2004-August/msg00006.html.
13807
13808 2006-01-17  Dan Williams  <dcbw@redhat.com>
13809
13810         * src/nm-device.c
13811                 - (nm_device_class_init): connect a default act_stage4_ip_config_timeout
13812                         function.  Fixes crash when wired DHCP fails.
13813
13814 2006-01-16  Robert Love  <rml@novell.com>
13815
13816         * src/Makefile.am: Don't install NMLoadModules
13817         * src/NMLoadModules, test/NMLoadModules: Move the NMLoadModules script
13818           from src/ to test/ as no one uses it anymore.  Note that I would be
13819           fine with removing it altogether.
13820
13821 2006-01-16  Robert Love  <rml@novell.com>
13822
13823         * gnome/applet/eggtrayicon.c, src/nm-device.c, src/nm-ap-security.c,
13824           gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
13825           gnome/applet/nm-gconf-wso.c, src/nm-device-802-3-ethernet.c,
13826           gnome/vpn-properties/nm-vpn-properties.c, src/nm-ap-security-wep.c,
13827           src/nm-ap-security-wpa-psk.c, src/nm-device-802-11-wireless.c,
13828           src/nm-netlink-monitor.c: Don't miss any initializers on structure
13829           declarations, ever.
13830         * gnome/applet/applet.c: Remove useless check (NMState is unsigned and
13831           NM_STATE_DISCONNECTED is zero).
13832
13833 2006-01-16  Robert Love  <rml@novell.com>
13834
13835         * src/nm-device-802-11-wireless.c: argv[3], not argv[4].  Fix
13836           uninitialized parameter and buffer overflow.  Novell #143496.
13837
13838 2006-01-16  Dan Williams  <dcbw@redhat.com>
13839
13840         Apply the PtP Address bits of a patch from Tim Niemueller
13841
13842         * src/nm-ip4-config.[ch]
13843                 - Add ip4_ptp_address member to object
13844                 - (nm_ip4_config_copy): copy ptp address too
13845                 - (nm_ip4_config_get_ptp_address, nm_ip4_config_set_ptp_address):
13846                         new functions
13847                 - (nm_ip4_config_to_rtnl_addr): use ptp address when asked to,
13848                         rather than local tunnel ip address
13849
13850         * src/vpn-manager/nm-vpn-service.c
13851                 - (print_vpn_config): update for PtP address
13852                 - (nm_vpn_service_stage4_ip_config_get): switch parsing to
13853                         DBusMessageIters in preparation for getting routes from the VPN
13854                         service daemons too
13855
13856         * vpn-daemons/openvpn/src/nm-openvpn-service-openvpn-helper.c
13857                 - (send_config_info): update for PtP address, clean up code
13858                 - (main): update for PtP address, clean up code, fix typo
13859
13860         * vpn-daemons/openvpn/src/nm-openvpn-service.c
13861                 - (nm_openvpn_dbus_process_helper_ip4_config): update for PtP address
13862
13863         * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
13864                 - (pptp_ip_up): update for PtP address
13865
13866         * vpn-daemons/pptp/src/nm-pptp-service.c
13867                 - (nm_pptp_dbus_process_helper_ip4_config): update for PtP address
13868
13869         * vpn-daemons/vpnc/src/nm-vpnc-service.c
13870                 - (print_vpn_config): update for PtP address
13871                 - (nm_vpnc_dbus_process_helper_ip4_config): update for PtP address
13872
13873 2006-01-16  Dan Williams  <dcbw@redhat.com>
13874
13875         * gnome/applet/applet.c
13876                 - (nmwa_add_networks_helper): don't indicate an active network
13877                         if NM is disconnected or asleep
13878
13879 2006-01-16  Dan Williams  <dcbw@redhat.com>
13880
13881         * src/NetworkManagerPolicy.c
13882                 - (nm_policy_device_change_check): switch devices if we lose the link
13883                         on an ethernet device. 
13884
13885 2006-01-16  Dan Williams  <dcbw@redhat.com>
13886
13887         * gnome/applet/wso-wpa-psk-hex.[ch]
13888                 - Renamed -> wso-wpa-psk.[ch]
13889
13890         * gnome/applet/wso-wpa-psk.[ch]
13891                 - New files
13892
13893         * gnome/applet/wso-wpa-psk-passphrase.[ch]
13894                 - Removed, rolled into wso-wpa-psk.[ch]
13895
13896         * gnome/applet/Makefile.am
13897                 - Updated for above changes
13898
13899         * gnome/applet/wireless-applet.glade
13900                 - Consolidate WPA-PSK options into one notebook
13901                         widget, and make dialogs invisible by default
13902                         to fix screen oddities
13903
13904         * gnome/applet/wireless-security-manager.c
13905                 - (wsm_set_capabilities): create the new wpa-psk widget rather
13906                         than both the old hex & passphrase ones
13907
13908 2006-01-16  Dan Williams  <dcbw@redhat.com>
13909
13910         * gnome/applet/other-network-dialog.c
13911                 - (nmwa_ond_init): Change text to refer to "name" rather than "ESSID"
13912
13913 2006-01-16  Dan Williams  <dcbw@redhat.com>
13914
13915         * gnome/applet/applet.c
13916                 - (nmwa_show_vpn_login_banner_dialog, nmwa_show_vpn_failure_dialog,
13917                    nmwa_driver_notify, show_warning_dialog): fix up focus-stealing
13918                         prevention to realize window before trying to get server
13919                         time
13920
13921         * gnome/applet/other-network-dialog.c
13922                 - (nmwa_other_network_dialog_run): fix up focus-stealing
13923                         prevention to realize window before trying to get server
13924                         time
13925
13926         * gnome/applet/passphrase-dialog.c
13927                 - (nmi_passphrase_dialog_new): fix up focus-stealing
13928                         prevention to realize window before trying to get server
13929                         time
13930
13931 2006-01-16  Robert Love  <rml@novell.com>
13932
13933         Patch from Timo Hoenig  <thoenig@suse.de:
13934         * libnm-util/cipher-wep-ascii.h, libnm-util/cipher-wep-hex.h,
13935           libnm-util/cipher-wep-passphrase.h, libnm-util/cipher-wpa-psk-hex.h,
13936           libnm-util/cipher-wpa-psk-passphrase.h, libnm-util/cipher.h,
13937           libnm-util/dbus-helpers.h: add checks whether headers are used
13938           within a C++ build.
13939
13940 2006-01-16  Dan Williams  <dcbw@redhat.com>
13941
13942         * gnome/applet/wireless-security-option.c
13943                 - (wso_wpa_create_key_type_model): clarify AES-CCMP algorithm name
13944
13945 2006-01-16  Dan Williams  <dcbw@redhat.com>
13946
13947         * libnm-util/cipher-wpa-psk-passphrase.c
13948                 - (cipher_wpa_psk_passphrase_new): correct passphrase length, should
13949                         be 8 - 63 characters inclusive
13950
13951 2006-01-16  Dan Williams  <dcbw@redhat.com>
13952
13953         * src/nm-dbus-nm.c
13954                 - (nm_dbus_nm_sleep): bring device down after quick deactivation
13955
13956 2006-01-13  Robert Love  <rml@novell.com>
13957
13958         Patch by T Sureshkumar <tsureshkuman@novell.com>:
13959         * src/NetworkManagerSystem.c: Don't assert iface != NULL, allowing VPN
13960           modules that do not use an interface.
13961
13962 2006-01-13  Dan Williams  <dcbw@redhat.com>
13963
13964         * src/nm-device.c
13965           src/nm-device.h
13966                 - Allow subclasses to implement deactivate_quickly()
13967                 - (nm_device_deactivate_quickly): call subclass
13968                         deactivate_quickly() methods
13969                 - (nm_device_set_active_link): small cleanups, and don't
13970                         deactivate the device right away because we risk a deadlock
13971                         when called from device thread, waiting for the device
13972                         thread to cancel activation
13973
13974         * src/nm-device-802-11-wireless.c
13975                 - (real_deactivate_quickly): new function
13976                 - (nm_device_802_11_wireless_class_init): hook in real_deactivate_quickly
13977                 - (real_deactivate): move supplicant cleanup to real_deactivate_quickly
13978                         so that we kill the supplicant when we sleep too
13979                 - (supplicant_interface_init): work around naive naming attempts of
13980                         wpa_ctrl when naming sockets
13981
13982 2006-01-13  Dan Williams  <dcbw@redhat.com>
13983
13984         * src/nm-device-802-11-wireless.c
13985                 - (supplicant_cleanup): delete old device control sockets too
13986                 - (supplicant_get_device_socket_path): new function to consolidate
13987                         locations that need a path to a device's control socket
13988
13989 2006-01-12  Robert Love  <rml@novell.com>
13990
13991         * src/backends/NetworkManagerSuSE.c: Put the ppp device in the
13992           description so that the description is unique for each
13993           pair (device,provider).  Fixes Novell #142773.
13994
13995 2006-01-12  Dan Williams  <dcbw@redhat.com>
13996
13997         * src/nm-device-802-11-wireless.c
13998                 - (supplicant_exec): ensure GError is correctly initialized
13999                         Reported by Diego González (gnome.org #326708)
14000
14001 2006-01-11  Robert Love  <rml@novell.com>
14002
14003         * src/nm-device-802-3-ethernet.c: In case local copies of glibc do not
14004           define if_mii(), open code the same results, and do so without any
14005           type punning.
14006
14007 2006-01-11  Robert Love  <rml@novell.com>
14008
14009         * gnome/applet/wireless-security-manager.c: Fix crash by not asserting
14010           that wso_foo_new() returned non-NULL.  Instead, only append the new
14011           wso to wsm->options if the wso is non-NULL.  The crux is that we
14012           assume that the relevant key types are implied by WEP and WPA as
14013           appropriate.  To be sure, they should be, but we should not expect
14014           drivers to not be oozing piles of wolf fecal matter.
14015
14016 2006-01-11  Robert Love  <rml@novell.com>
14017
14018         * configure.in: Add the gcc flags '-Wshadow' and '-Wfloat-equal'.
14019         * gnome/applet/applet.c, gnome/vpn-properties/nm-vpn-properties.c,
14020           src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
14021           src/NetworkManagerPolicy.c, src/NetworkManagerSystem.c,
14022           src/nm-dbus-device.c, src/nm-device-802-3-ethernet.c,
14023           src/nm-ip4-config.c, src/vpn-manager/nm-vpn-manager.c,
14024           test/nmtestdevices.c: Fix shadowed variable usage as appropriate.
14025         * src/nm-device-802-11-wireless.c: Fix floating point comparison by
14026           comparing values within DBL_EPSILON.  Also fix shadowed variable
14027           usage.
14028
14029 2006-01-11  Dan Williams  <dcbw@redhat.com>
14030
14031         Add options for WPA2 and WPA1+CCMP (AES).
14032
14033         * gnome/applet/wireless-applet.glade
14034                 - Add UI bits for WPA+CCMP
14035
14036         * gnome/applet/other-network-dialog.c
14037                 - (nmwa_ond_init): pass capabilities into the WirelessSecurityManager,
14038                         and don't allow creation of WPA2 Ad-Hoc networks since
14039                         wpa_supplicant doesn't support them
14040
14041         * gnome/applet/wireless-security-manager.c
14042                 - (wsm_set_capabilities): Add WPA2 options, and pass capability
14043                         on to the specific wireless security option being created
14044
14045         * gnome/applet/wireless-security-option.[ch]
14046                 - (wso_wpa_create_key_type_model): new utility function to create
14047                         the model required for WPA Key Type combo box
14048
14049         * gnome/applet/wso-private.h
14050           gnome/applet/wireless-security-option.h
14051                 - Move private function prototypes into wso-private.h
14052
14053         * gnome/applet/wso-wpa-psk-hex.[ch]
14054           gnome/applet/wso-wpa-psk-passphrase.[ch]
14055                 - (append_dbus_params_func): get WPA version from checkbox and pass
14056                         it to the dbus serialization helper
14057                 - (key_type_combo_changed_cb): Set the cipher's WE Cipher when the
14058                         key type combo changes
14059                 - (wso_wpa_psk_hex_new): set up the key type combo with the correct
14060                         model and options
14061
14062         * libnm-util/cipher-wpa-psk-hex.c
14063           libnm-util/cipher-wpa-psk-passphrase.c
14064                 - (cipher_wpa_psk_hex_set_we_cipher, cipher_wpa_psk_passphrase_set_we_cipher):
14065                         new function; allow the cipher to be changed after object creation
14066
14067         * src/nm-ap-security-wpa-psk.c
14068                 - (set_description): Do WPA2 descriptions too
14069
14070         * src/nm-ap-security.c
14071                 - (nm_ap_security_new_from_ap): allow CCMP with WPA1 too
14072
14073 2006-01-11  Robert Love  <rml@novell.com>
14074
14075         * src/nm-device-802-3-ethernet.c: Use the if_mii() inline function that
14076           is defined in <linux/mii.h> to return the mii_ioctl_data structure
14077           from the ifreq structure in lieu of an open coded solution.  Removes
14078           a life-threatening type-punning.
14079         * configure.in: Remove '-Wno-strict-aliasing' as we no longer pun any
14080           types, ever, whatsoever, baby.
14081
14082 2006-01-11  Robert Love  <rml@novell.com>
14083
14084         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.c,
14085           gnome/applet/applet.c, gnome/applet/applet.h: Consolidating
14086           assignments to applet->nm_state into a new nmwa_set_state() function
14087           for both cleanliness and to help debugging.
14088
14089 2006-01-10  Robert Love  <rml@novell.com>
14090
14091         * src/autoip.c: Fix FIXME.  In performing the link-local zeroconf IP
14092           assignment dance, we want to sleep between PROBE_MIN and PROBE_MAX
14093           seconds, exclusive.  That is, we want to sleep x seconds such that
14094           1 < x < 2.
14095
14096 2006-01-10  Robert Love  <rml@novell.com>
14097
14098         * gnome/applet/applet-dbus-info.c: Remove FIXME, we do not have to free
14099           the attr fields according to the example in the email available at
14100           mail.gnome.org/archives/desktop-devel-list/2004-May/msg00230.html.
14101           Conversely, we do have to free 'name', so we do so, fixing a leak.
14102
14103 2006-01-10  Robert Love  <rml@novell.com>
14104
14105         * src/nm-device-802-11-wireless.c, src/nm-device-802-3-ethernet.c: Make
14106           sure that we close the socket!
14107
14108 2006-01-10  Robert Love  <rml@novell.com>
14109
14110         * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h,
14111           src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h,
14112           src/nm-device.c: Fix a FIXME!  Reimplement the function
14113           nm_device_update_hw_address() in device subclass variants,
14114           nm_device_802_3_ethernet_set_address() and
14115           nm_device_802_11_wireless_set_address(), hook them up, and use them.
14116           This fixes the existing bug where MAC addresses are all zeros.
14117
14118 2006-01-10  Robert Love  <rml@novell.com>
14119
14120         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.h,
14121           gnome/applet/applet.c, gnome/applet/applet.h: Add 'Enable Networking'
14122           option to give users ability to globally disconnect and put NM to
14123           sleep.  This is useful as a 'lockdown mode' for flying, security, and
14124           clean disconnect.
14125
14126 2006-01-09  Robert Love  <rml@novell.com>
14127
14128         * src/nm-device-802-3-ethernet.h:  The kernel headers <linux/mii.h> and
14129           <linux/ethtool.h> leak the kernel-only types u16, u32, et al.
14130           User-space does not supply these types, so we have to define them
14131           ourselves.  The relevant kernel maintainer refused to accept a patch
14132           switching these headers to the proper C99 types.
14133
14134 2006-01-09  Dan Williams  <dcbw@redhat.com>
14135
14136         Apply Robert's 'tray icon redo' patch with fixes
14137         * gnome/applet/applet.c
14138           gnome/applet/applet.h
14139                 - Instead of using a menu bar + menu item, simulate menu
14140                         behavior using a popup menu.  Highlight the area around
14141                         the icon more like a menu too, by playing with the
14142                         applet's size requisition
14143
14144 2006-01-09  Timo Hoenig   <thoenig@suse.de>
14145         * libnm-util/dbus-helpers.c
14146           libnm-util/dbus-helpers.h
14147                 - (nmu_create_dbus_error_message): rename parameter 'namespace'
14148                         to 'exception_namespace' (:namespace is a keyword in
14149                         C++)
14150
14151 2006-01-09  Dan Williams  <dcbw@redhat.com>
14152
14153         * src/NetworkManagerPolicy.c
14154                 - (nm_policy_device_change_check): don't autoswitch away from
14155                         Ad-Hoc networks, since there's really no concept of
14156                         "link"
14157
14158         * src/nm-dbus-nm.c
14159                 - (nm_dbus_nm_create_wireless_network): mark created networks
14160                         as Ad-Hoc networks
14161
14162         * src/nm-device-802-11-wireless.c
14163                 - (real_activation_success_handler): add user-created Ad-Hoc
14164                         networks to the device's scan list
14165
14166 2006-01-08  Dan Williams  <dcbw@redhat.com>
14167
14168         We now require a patch for wpa_supplicant to support Ad-Hoc
14169         networks:
14170           http://people.redhat.com/dcbw/wpa_supplicant-ctrl-iface-ap-scan.patch
14171
14172         * src/nm-device-802-11-wireless.c
14173                 - (supplicant_send_network_config): turn off wpa_supplicant's
14174                         scanning.  Fixes Ad-Hoc networks.
14175
14176 2006-01-08  Dan Williams  <dcbw@redhat.com>
14177
14178         * src/nm-ap-security.c
14179           src/nm-ap-security.h
14180                 - Add a user_created argument to the write_supplicant_config
14181                         functions
14182
14183         * src/nm-ap-security-wep.c
14184           src/nm-ap-security-wpa-psk.c
14185           src/nm-device-802-11-wireless.c
14186                 - Make Ad-Hoc mode somewhat work, at least write the
14187                         correct options to wpa_supplicant
14188
14189 2006-01-08  Dan Williams  <dcbw@redhat.com>
14190
14191         * src/nm-device-802-11-wireless.c
14192                 - Remove unused code from the old device activation path
14193
14194 2006-01-08  Dan Williams  <dcbw@redhat.com>
14195
14196         * libnm-util/dbus-helpers.c
14197                 - (nmu_security_serialize_wpa_psk): pass a blank key through
14198                         dbus when key == NULL
14199
14200 2006-01-08  Dan Williams  <dcbw@redhat.com>
14201
14202         * gnome/applet/nm-gconf-wso-wpa-psk.c
14203                 - (nm_gconf_wso_wpa_psk_new_deserialize_dbus): feed
14204                         correct arguments to nmu_security_deserialize_wpa_psk()
14205
14206         * src/nm-ap-security-wpa-psk.c
14207                 - (nm_ap_security_wpa_psk_new_deserialize): feed correct
14208                         arguments to nmu_security_deserialize_wpa_psk()
14209
14210 2006-01-08  Dan Williams  <dcbw@redhat.com>
14211
14212         * gnome/applet/wso-wpa-psk-hex.c
14213           gnome/applet/wso-wpa-psk-passphrase.c
14214                 - Hook up the append_dbus_params_func() function
14215
14216 2006-01-08  Dan Williams  <dcbw@redhat.com>
14217
14218         * src/nm-device-802-11-wireless.c
14219                 - (get_wireless_capabilities): correctly detect driver WPA
14220                         capabilities
14221
14222 2006-01-08  Dan Williams  <dcbw@redhat.com>
14223
14224         * gnome/applet/Makefile.am
14225           gnome/applet/wso-wpa-psk-hex.c
14226           gnome/applet/wso-wpa-psk-hex.h
14227                 - New files, implement WPA-PSK Hex key input
14228
14229         * gnome/applet/wireless-applet.glade
14230                 - Change existing wpa-psk stuff to wpa-psk-hex
14231                 - Add new widgets for wpa-psk-passphrase
14232
14233         * gnome/applet/wireless-security-manager.c
14234                 - (wsm_set_capabilities): enable WPA options
14235
14236         * gnome/applet/wso-wpa-psk-passphrase.c
14237                 - (wso_wpa_psk_passphrase_new): use correct glade widgets
14238                         for WPA-PSK passphrase
14239
14240 2006-01-08  Dan Williams  <dcbw@redhat.com>
14241
14242         * include/NetworkManager.h
14243                 - Add NMI_DBUS_USER_KEY_CANCELED_ERROR as a constant for
14244                         applet/info-daemons
14245
14246         * gnome/applet/passphrase-dialog.c
14247                 - Use the constant.  Fixes a bug where the arguments to
14248                         dbus_message_new_error() were incorrect
14249
14250         * src/nm-dbus-nmi.c
14251                 - Use the constant
14252
14253 2006-01-07  Dan Williams  <dcbw@redhat.com>
14254
14255         * src/nm-device-802-11-wireless.c
14256                 - Add a link timeout so we allow the supplicant time to
14257                         reassociate if it can, before we deactivate the card
14258                 - Fix up link status and link updating so things work better
14259
14260 2006-01-07  Dan Williams  <dcbw@redhat.com>
14261
14262         * src/nm-device-802-11-wireless.c
14263                 - Switch over to using wpa_supplicant
14264                 - Add a timeout of 10s for association of the supplicant
14265                 - Start the monitor callback of the supplicant
14266
14267 2006-01-07  Dan Williams  <dcbw@redhat.com>
14268
14269         * src/NetworkManagerUtils.c
14270                 - (nm_utils_supplicant_request,
14271                   nm_utils_supplicant_request_with_check):
14272                         pass correct buffer length to wpa_ctrl_request()
14273
14274 2006-01-07  Dan Williams  <dcbw@redhat.com>
14275
14276         * src/nm-device-private.h
14277           src/nm-device.c
14278                 - (nm_device_activate_schedule_stage3_ip_config_start): make
14279                         this function available to subclasses
14280
14281 2006-01-06  Robert Love  <rml@novell.com>
14282
14283         * src/NetworkManagerPolicy.c: Always prefer wired to wireless, as the
14284           user plugging in a network cable signals their preference for to
14285           switch, unless the user explicitly selected a wireless network and
14286           therefore signaled their preference for said wireless network over
14287           wired.  In other words, do exactly what makes sense.
14288
14289 2006-01-06  Robert Love  <rml@novell.com>
14290
14291         * src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
14292           src/NetworkManagerDevicePrivate.h, src/NetworkManagerWireless.c,
14293           src/NetworkManagerWireless.h: Remove, no longer used and they keep
14294           showing up in my greps.
14295
14296 2006-01-06  Robert Love  <rml@novell.com>
14297
14298         * gnome/applet/applet-dbus-devices.c,
14299           gnome/applet/other-network-dialog.c, gnome/applet/wso-none.c,
14300           libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h,
14301           src/nm-dbus-nm.c: Fix several issues.  'Connect to Other' and 'Create
14302           New Network' both failed in the non-encrypted case because we were
14303           not appending the security options to the DBUS message.  And
14304           'Connect to Other' was also failing in the encrypted case because
14305           we were not incrementing to the next DBUS parameter.  All fixed.
14306           Thanks to dcdw for some debugging help.
14307
14308 2006-01-06  Robert Love  <rml@novell.com>
14309
14310         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
14311           gnome/applet/applet-dbus-devices.h, src/nm-dbus-nm.c: Remove global
14312           hangup code and add per-device hangup.  Tie last commit into the
14313           GNOME applet.  TODO:  Save, understand, and respond to the state of
14314           each dialup device.
14315
14316 2006-01-06  Robert Love  <rml@novell.com>
14317
14318         Patch by Timo Hoenig <thoenig@suse.de>:
14319         * src/NetworkManagerSystem.h, src/nm-dbus-nm.c: Add interfaces to
14320           hangup specific dialup devices.
14321         * src/backends/NetworkManagerDebian.c,
14322           src/backends/NetworkManagerGentoo.c,
14323           src/backends/NetworkManagerRedHat.c,
14324           src/backends/NetworkManagerSlackware.c: Add stub backend.
14325         * src/backends/NetworkManagerRedHat.c,
14326           src/backends/NetworkManagerSuSE.c: Add specific backend interface to
14327           hangup specific dialup devices.
14328
14329 2006-01-04  Robert Love  <rml@novell.com>
14330
14331         * gnome/applet/applet-dbus-devices.c,
14332           gnome/applet/applet-dbus-devices.h, gnome/applet/applet.c,
14333           src/nm-dbus-nm.c: Expose a menu item for hanging up active dialup
14334           connections.
14335
14336 2006-01-04  Dan Williams  <dcbw@redhat.com>
14337
14338         First dump of wpa_supplicant-related code.  It's not hooked up to
14339         anything yet though.  Thanks to Kay Sievers for
14340         wpa_supplicant_wrapper.c, which formed the basis for this work,
14341         and to Jouni Malinen for writing wpa_ctrl.c and wpa_ctrl.h.
14342
14343         * src/Makefile.am
14344           src/wpa_ctrl.[ch]
14345                 - Add wpa_ctrl stuff from wpa_supplicant so we can talk to it
14346
14347         * src/NetworkManagerUtils.[ch]
14348                 - (nm_utils_supplicant_request, nm_utils_supplicant_request_with_check):
14349                         Add convenience functions for talking to wpa_supplicant
14350
14351         * src/nm-ap-security.[ch]
14352           src/nm-ap-security-wep.c
14353           src/nm-ap-security-wpa-psk.[ch]
14354                 - Update and implement real_write_supplicant_config functions
14355                         in all security types
14356                 - (nm_ap_security_wpa_psk_new_from_ap): implement in
14357                         nm-ap-security-wpa-psk.c
14358
14359         * src/nm-device-802-11-wireless.c
14360                 - (supplicant_cleanup, supplicant_watch_cb, supplicant_monitor_status_cb,
14361                    wpa_supplicant_start, wpa_supplicant_interface_init,
14362                    wpa_supplicant_send_network_config): add functions to talk to
14363                         wpa_supplicant and write network config to it
14364
14365 2006-01-04  Robert Love  <rml@novell.com>
14366
14367         * src/NetworkManagerDialup.h: add 'type' field and NM_DIALUP_TYPE
14368           values so that distribution-backends can differentiate between the
14369           various types (modem, ISDN, et cetera) of dialup device that they
14370           support.
14371         * src/backends/NetworkManagerSuSE.c: perform isdnctrl on interface, as
14372           needed.
14373
14374 2006-01-03  Dan Williams  <dcbw@redhat.com>
14375
14376         * src/NetworkManagerPolicy.c
14377           src/nm-device.[ch]
14378           src/nm-device-802-11-wireless.c
14379                 - Move wireless-specific activation failure and success code
14380                         into wireless device class
14381
14382 2006-01-03  Robert Love  <rml@novell.com>
14383
14384         Patch by Preggna S:
14385         * src/NetworkManagerSystem.c, src/vpn-manager/nm-vpn-connection.c:
14386           IPsec does not require that a VPN client be bound to an interface,
14387           due to the use of the in-kernel IPSec bits.  So make the tunnel
14388           device optional.
14389
14390 2006-01-03  Dan Williams  <dcbw@redhat.com>
14391
14392         * src/NetworkManagerAP.c
14393                 - (nm_ap_add_capabilities_from_ie): presume no WEP unless
14394                         the WPA IE specifies that WEP is supported
14395
14396         * src/nm-device-802-11-wireless.c
14397                 - (process_scan_results): don't mark an AP as supporting WEP
14398                         if there's already other encryption capability info
14399
14400 2006-01-03  Dan Williams  <dcbw@redhat.com>
14401
14402         * src/dhcp-manager/nm-dhcp-manager.c
14403                 - Recognize activation cancellation when waiting for DHCP
14404                         configuration from dhcdbd
14405                 - Ignore non-dhcdbd messages
14406
14407         * src/nm-device.c
14408                 - (real_act_stage3_ip_config_start): return to correct behavior
14409                         of letting the dhcp-manager notify us of failure or
14410                         success rather than incorrectly doing that ourselves
14411                 - (nm_device_activate_stage4_ip_config_get): deal with
14412                         activation cancellation a bit earlier
14413
14414 2006-01-03  Dan Williams  <dcbw@redhat.com>
14415
14416         * src/nm-device-802-11-wireless.c
14417           src/nm-device.[ch]
14418                 - Add hooks to subclasses for stage3_ip_config_start and
14419                         stage4_ip_config_timeout
14420
14421         * src/nm-device-802-3-ethernet.c
14422                 - (real_get_generic_capabilities): make devices NM-supported
14423                         by default
14424
14425 2006-01-03  Robert Love  <rml@novell.com>
14426
14427         * src/backends/NetworkManagerSuSE.c: update to newer API (no more
14428           nm_device_get_hw_address); use inet_aton in lieu of inet_addr as the
14429           latter cannot differentiate between error and the address -1; misc.
14430           clean up.
14431
14432 2006-01-03  Dan Williams  <dcbw@redhat.com>
14433
14434         * src/NetworkManager.c
14435                 - Move link-checking/probing into the device subclasses
14436                         themselves
14437
14438         * src/nm-device.[ch]
14439           src/nm-device-802-11-wireless.c
14440           src/nm-device-802-3-ethernet.c
14441                 - Do periodic link checking in device subclasses rather
14442                         than being triggered from NetworkManager.c
14443                 - discover_wireless_capabilities -> get_wireless_capabilities
14444                 - discover_generic_capabilities -> get_generic_capabilities
14445                 - Device subclass activation routines now return a value of type
14446                         NMActStageReturn to indicate what step to perform next
14447                 - Devices now override stage4_get_ip4_config if they choose
14448
14449 2006-01-01  Dan Williams  <dcbw@redhat.com>
14450
14451         * src/nm-device-802-11-wireless.c
14452                 - (real_init): don't chain up to parent init because we don't
14453                         need to do that anymore
14454
14455         * src/nm-device.c
14456                 - (discover_device_type): fix arguments to ioctl() to correctly
14457                         pass interface name
14458                 - (nm_device_new): consolidate generic device initialization into
14459                         nm_device_new()
14460                 - (real_init): remove, consolidated to nm_device_new()
14461                 - (nm_device_deactivate, real_deactivate): consolidate
14462
14463 2006-01-01  Dan Williams  <dcbw@redhat.com>
14464
14465         * src/nm-activation-request.c
14466                 - Change dhcp_state member of the NMActRequest structure
14467                         from guint8 to guint32
14468
14469         * src/dhcp-manager/nm-dhcp-manager.[ch]
14470                 - (nm_dhcp_manager_get_state_for_device): return guint32 rather
14471                         than guint8 to match the dbus argument.  Turns out we were
14472                         overwriting memory since we were passing in only a guint8
14473
14474 2005-12-31  Dan Williams  <dcbw@redhat.com>
14475
14476         * refactor NMDevice into a GObject-based framework with separate
14477                 objects for wired and wireless.  The following files are no
14478                 longer used but should stick around for a bit so we don't
14479                 loose code through the cracks:
14480                         NetworkManagerDevice.c
14481                         NetworkManagerDevice.h
14482                         NetworkManagerWireless.c
14483                         NetworkManagerWireless.h
14484
14485         The intent here is to allow each device type to manage its own
14486         connection & activation life-cycle, ie to allow wireless devices
14487         to interface with wpa_supplicant, etc.  There's a fair bit of
14488         encapsulation breakage right now that should gradually get pulled
14489         back into each device, along with things like periodic property
14490         updates and link probing.
14491
14492 2005-12-29  Dan Williams  <dcbw@redhat.com>
14493
14494         * include/NetworkManager.h
14495                 - Add NM_802_11_CAP_PROTO_NONE since we need to recognize
14496                         between networks that don't have any encryption at all
14497
14498 2005-12-29  Dan Williams  <dcbw@redhat.com>
14499
14500         * test/test-common.c
14501           test/test-common.h
14502           test/Makefile.am
14503                 - Move to a test-common subdirectory
14504
14505         * test/libnm-util/test-ciphers.c
14506                 - Move test data to test-inputs.h
14507                 - Test WPA ciphers too
14508
14509         * test/libnm-util/test-dbus-helpers.c
14510                 - Test serialization/deserialization of ciphers
14511
14512 2005-12-29  Dan Williams  <dcbw@redhat.com>
14513
14514         * gnome/applet/applet-dbus-devices.c
14515                 - Replace 'enc' parameter with 'capabilities' for wireless networks
14516                         in dbus calls to NM
14517                 - Set capabilities on WirelessNetwork objects
14518                 - Receive and save type-specific device capabilities too
14519
14520         * gnome/applet/applet-dbus-info.c
14521           gnome/applet/applet-dbus.c
14522                 - Passphrase dialog no longer a singleton; new instance gets created
14523                         on each request.  Updates to deal with that.
14524
14525         * gnome/applet/applet.c
14526                 - (nmwa_has_encrypted_networks_helper): use AP capabilities rather
14527                         than single 'encrypted' flag
14528                 - (nmwa_menu_add_vpn_menu): if NM isn't connected, disable any VPN
14529                         menu items
14530                 - Passphrase dialog updates per above
14531
14532         * gnome/applet/menu-items.c
14533                 - (network_menu_item_update): use AP capabilities to determine
14534                         encryption
14535
14536         * gnome/applet/nm-device.[ch]
14537                 - Add accessors for type-specific device capabilities
14538
14539         * gnome/applet/other-network-dialog.c
14540                 - Rework to respect device capabilities.  i.e., if the device doesn't
14541                         support WPA, remove that option from the security dropdown
14542
14543         * gnome/applet/passphrase-dialog.c
14544                 - Massive rework so that a new instance is created each time
14545                         it's used, to support wireless network capabilities
14546
14547         * gnome/applet/wireless-network.[ch]
14548                 - Add accessors and members for wireless network capabilities
14549
14550         * gnome/applet/wireless-security-manager.[ch]
14551                 - (wsm_set_capabilities): called after creation to set which
14552                         security options get shown to the user
14553
14554 2005-12-29  Dan Williams  <dcbw@redhat.com>
14555
14556         * libnm-util/cipher-wpa-psk-passphrase.c
14557                 - (cipher_wpa_psk_passphrase_hash_func): return key as hex string
14558                         like other ciphers
14559
14560 2005-12-23  Dan Williams  <dcbw@redhat.com>
14561
14562         * gnome/applet/applet-dbus-info.c
14563                 - (nmi_dbus_get_key_for_network): if there's no entry in
14564                         GConf for a network, assume we want a new key
14565                 - (nmi_save_network_info): serialize wireless security info
14566                         into GConf so its saved
14567
14568         * src/nm-dbus-nm.c
14569                 - Fix warning as we may not be passed security info when
14570                         connecting to a wireless network
14571
14572 2005-12-23  Dan Williams  <dcbw@redhat.com>
14573
14574         * gnome/applet/applet-compat.c
14575                 - Fix bugs in GConf entry conversion
14576
14577         * gnome/applet/applet-dbus-info.c
14578                 - (nmi_dbus_get_network_properties): handle case of the BSSID
14579                         list being zero-length
14580
14581         * libnm-util/cipher-*
14582           libnm-util/dbus-helpers.c
14583                 - All ciphers must now return hashed keys as UTF-8 valid
14584                         hexadecimal strings, ie "8f3dae4023".  They are pushed
14585                         through dbus as strings too.
14586                 - Consolidate various functions that do bin->hex and hex->bin
14587                         conversion into cipher.c
14588
14589         * src/nm-ap-security-wep.c
14590           src/nm-ap-security-wpa-psk.c
14591                 - Handle NULL keys since we may not know keys right away
14592
14593         * src/nm-dbus-nmi.c
14594                 - (nm_dbus_get_network_data_cb): actually advance to the start
14595                         of the wireless security info before we try to deserialize it
14596
14597         * libnm-util/test-ciphers.c
14598                 - Update cipher tests for the change to UTF-8 hexadecimal strings
14599
14600 2005-12-22  Dan Williams  <dcbw@redhat.com>
14601
14602         * gnome/applet/applet-compat.[ch]
14603                 - Convert old-format GConf and keyring entries
14604                         when the applet starts up.
14605
14606         * gnome/applet/applet.c
14607                 - (nmwa_get_instance): Call the conversion function
14608                         on startup before dbus is initialized
14609
14610 2005-12-22  Dan Williams  <dcbw@redhat.com>
14611
14612         * gnome/applet/applet-dbus-info.c
14613                 - Remove nmi_dbus_create_error_message() in favor of
14614                         nmu_create_dbus_error_message()
14615                 - (nmi_dbus_get_network_properties): Error message cleanups
14616                 - (nmi_dbus_get_network_properties): BSSIDs are now in the 'bssids'
14617                         gconf key rather than 'addresses', since they really are BSSIDs
14618                 - (nmi_dbus_get_network_properties): Dispose of the security
14619                         object when we're done with it
14620
14621 2005-12-21  Dan Williams  <dcbw@redhat.com>
14622
14623         * Consolidate the info-daemon's "updateNetworkInfo" and
14624                 "addNetworkAddress" calls into just "updateNetworkInfo"
14625
14626 2005-12-21  Dan Williams  <dcbw@redhat.com>
14627
14628         * Make connection after key retrieval work again
14629
14630 2005-12-21  Dan Williams  <dcbw@redhat.com>
14631
14632         * gnome/applet/nm-gconf-wso*
14633                 - Make the serialize functions return gboolean
14634                         rather than int
14635
14636         * gnome/applet/nm-gconf-wso.c
14637                 - (nm_gconf_wso_dispose, nm_gconf_wso_finalize): fix up
14638                         parent class handling so we don't segfault
14639
14640         * src/NetworkManagerAP.[ch]
14641                 - (nm_ap_get_capabilities): new function, return capabilities
14642                         now that something can use them
14643                 - (nm_ap_set_encrypted): assume that an access point supports
14644                         both WEP104 and WEP40 if its set encrypted.  FIXME: can
14645                         we even tell whether it just supports WEP40?
14646
14647         * src/NetworkManagerDevice.c
14648                 - (ap_need_key): resurrect and update for the New World Order
14649                 - (nm_device_wireless_get_activation_ap): if we're not given
14650                         security info to use, create some based on access point
14651                         capabilities
14652
14653         * src/nm-ap-security-wep.c
14654                 - (nm_ap_security_wep_new_from_ap): create a new object
14655                         based on a certain access point's capabilities
14656
14657         * src/nm-ap-security.c
14658                 - (nm_ap_security_new_from_ap): delegate creation of a new
14659                         object based on access point capabilities to a subclass
14660                 - (nm_ap_security_copy_properties): don't segfault if we
14661                         don't have a key yet
14662
14663         * src/nm-dbus-nm.c
14664                 - (nm_dbus_nm_set_active_device): provide more informative
14665                         output when errors occur.  Also construct security info
14666                         for a given access point if we weren't given any
14667
14668 2005-12-21  Žygimantas Beručka  <zygis@gnome.org>
14669
14670         * configure.in: Added Lithuanian to ALL_LINGUAS.
14671
14672 2005-12-21  Dan Williams  <dcbw@redhat.com>
14673
14674         * test/libnm-util
14675                 - Add some testcases for WEP ciphers
14676
14677 2005-12-17  Dan Williams  <dcbw@redhat.com>
14678
14679         * Fix bugs
14680
14681 2005-12-17  Dan Williams  <dcbw@redhat.com>
14682
14683         * include/NetworkManager.h
14684                 - Finally kill NMEncKeyType
14685
14686         * gnome/applet/applet-dbus-info.c
14687                 - (nmi_save_network_info): convert to NMGConfWSO
14688
14689         * gnome/applet/nm-gconf-wso-*.c
14690                 - Implement gconf serialization functions
14691
14692         * src/NetworkManagerPolicy.c
14693                 - (nm_policy_activation_finish): fix up meaning of
14694                         automatic/user_requested
14695
14696 2005-12-17  Dan Williams  <dcbw@redhat.com>
14697
14698         * gnome/applet/*
14699                 - More applet cleanups
14700                 - Use the dbus-method-dispatcher
14701
14702         * libnm-util/dbus-method-dispatcher.[ch]
14703                 - Generalize the implementation from NM in
14704                         NetworkManagerUtils.c
14705
14706 2005-12-16  Dan Williams  <dcbw@redhat.com>
14707
14708         * gnome/applet/*
14709                 - Fix up the passphrase dialog to use all the
14710                         WirelessSecurityOption stuff (untested)
14711
14712 2005-12-16  Dan Williams  <dcbw@redhat.com>
14713
14714         * Move nm_gconf_get_*_helper() functions to separate files,
14715                 gconf-helpers.c & gconf-helpers.h
14716
14717         * New NMGConfWSO objects for managing the gconf side of things.
14718                 Eventually these should be merged with the
14719                 WirelessSecurityOption objects and a common base (that can
14720                 serialize/deserialize from dbus & gconf) should be
14721                 refactored out, but for now they are separate.
14722
14723 2005-12-16  Robert Love  <rml@novell.com>
14724
14725         * src/backends/NetworkManagerSuSE.c: Do not invoke ypbind or autofs
14726           binaries unless they exist (nm_spawn_process() emits a warning if
14727           asked to spawn a non-existant process).
14728
14729 2005-12-16  Dan Williams  <dcbw@redhat.com>
14730
14731         * gnome/applet/applet-dbus-info.c
14732                 - Clean up lots of gconf-related code
14733
14734 2005-12-16  Robert Love  <rml@novell.com>
14735
14736         * Makefile.am: Build fix: Reorder 'SUBDIRS' so our deps are right.
14737
14738 2005-12-16  Dan Williams  <dcbw@redhat.com>
14739
14740         * nm_device_set_enc_key -> nm_device_set_wep_enc_key
14741
14742         * Fix up NM -> NMI get-user-key dbus calls in NM (applet
14743                 bits still to be done)
14744
14745 2005-12-16  Dan Williams  <dcbw@redhat.com>
14746
14747         * Finally move info-daemon related stuff out of
14748                 NetworkManagerDbus.c to nm-dbus-nmi.c
14749
14750 2005-12-16  Dan Williams  <dcbw@redhat.com>
14751
14752         * Kill auth_method for access points, since that's now done
14753                 by NMAPSecurity objects
14754
14755         * Add a copy-constructor of sorts to NMAPSecurity
14756                 (how do you do this properly in glib???)
14757
14758 2005-12-15  Dan Williams  <dcbw@redhat.com>
14759
14760         * Exorcise encryption key hashing on APs
14761         * Use libnm-util's serialization/deserialization in both the
14762                 applet and NM
14763         * Random other stuff
14764
14765 2005-12-15  Robert Love  <rml@novell.com>
14766
14767         * gnome/applet/menu-items.c: A new icon, "network-wireless-encrypted"
14768           is being added to the icon naming spec, so let's use that (Tango CVS
14769           has the icon).  Because it is new, however, we fall back to the
14770           current "gnome-lockscreen" if the new icon is not around, thus
14771           behavior is the same.
14772         * gnome/applet/applet.c: Remove setup_stock().  We do not need the
14773           factory junk.
14774
14775 2005-12-15  Robert Love  <rml@novell.com>
14776
14777         * src/gnome/applet.c: Don't show the 'Help' menu item until we have,
14778           well, help to give.  Couple other misc. bits.
14779
14780 2005-12-15  Dan Williams  <dcbw@redhat.com>
14781
14782         * libnm-util/dbus-helpers.[ch]
14783                 - Make this the one-stop-shop for serializing/deserializing
14784                         AP & connection security settings over dbus.  Both NM
14785                         and applets should use this to ensure consistent dbus
14786                         API going forwared.
14787
14788 2005-12-15  Robert Love  <rml@novell.com>
14789
14790         Patch by Timo Hoenig  <thoenig@suse.de>:
14791         * src/NetworkManagerDbus.c
14792                 - (nm_dbus_signal_filter) return DBUS_HANDLER_RESULT_HANDLED
14793                         if HAL jumps off the system bus.  Otherwise libdbus
14794                         (dbus_connection_dispatch) will try to run the filter
14795                         function of our libhal context which is already freed.
14796
14797 2005-12-15  Alexander Shopov  <ash@contact.bg>
14798
14799         * configure.in: Added "bg" (Bulgarian) to ALL_LINGUAS
14800
14801 2005-12-14  Dan Williams  <dcbw@redhat.com>
14802
14803         * include/NetworkManager.h
14804           src/NetworkManagerWireless.c
14805                 - Rearrange 802.11 wireless-specific capabilities again
14806
14807         * src/Makefile.am
14808                 - Forgot to add wpa.c/wpa.h to the makefiles
14809
14810         * src/NetworkManagerAP.[ch]
14811                 - Implement access point capabilities and parse the
14812                         WPA/RSN IEs into the capability bitfield
14813                 - Switch the "encrypted" attribute to utilize the bitfield
14814                         and capabilities rather than being independent
14815
14816         * src/NetworkManagerDevice.c
14817                 - (nm_device_wireless_get_activation_ap): break it horribly
14818                         until we can push NMAPSecurity objects into access point
14819                         objects and through the activation chain
14820                 - Stuff WPA & RSN IEs into AP capabilities
14821
14822         * src/nm-dbus-nm.c
14823                 - Take a shot at actually making setActiveDevice work
14824
14825         * src/wpa.[ch]
14826                 - Make the API a bit saner
14827
14828 2005-12-14  Dan Williams  <dcbw@redhat.com>
14829
14830         * include/NetworkManager.h
14831                 - Add 802.11-specific capability for 802.1x key
14832                         management
14833
14834         * src/wpa.[ch]
14835                 - Pull in WPA IE and RSN IE parsing code from
14836                         wpa_supplicant so we can determine access point
14837                         capabilities
14838                 - Move WPA-related constants here from NetworkManagerAP.h
14839                         and NetworkManagerDevice.c
14840
14841         * src/NetworkManagerDevice.c
14842           src/NetworkManagerAP.[ch]
14843                 - Use WPA-related constants from wpa.h
14844
14845 2005-12-14  Dan Williams  <dcbw@redhat.com>
14846
14847         * include/NetworkManager.h
14848                 - Update and split 802.11 wireless-specific capabilities from
14849                         generic device capabilities
14850
14851         * src/NetworkManagerDevice.c
14852           src/NetworkManagerDevicePrivate.h
14853                 - (nm_device_wireless_discover_capabilities): Move 802.11
14854                         wireless-specific capability checks to
14855                         NetworkManagerWireless.c
14856                 - Rename NMDeviceWirelessOptions -> NMDevice80211WirelessOptions
14857                 - Rename NMDeviceWiredOptions -> NMDevice80211EthernetOptions
14858
14859         * src/NetworkManagerWireless.[ch]
14860                 - (nm_802_11_wireless_discover_capabilities): Check extended
14861                         802.11 wireless-specific capabilities of the driver
14862
14863 2005-12-14  Robert Love  <rml@novell.com>
14864
14865         Patch from Stefan Scheler <sscheler@suse.de>:
14866         * src/NetworkManagerDevice.c: call backend code to activate and
14867           deactivate NIS.
14868         * src/NetworkManagerSystem.h: add new NIS interfaces.
14869         * src/backends/NetworkManagerDebian.c,
14870           src/backends/NetworkManagerGentoo.c,
14871           src/backends/NetworkManagerRedHat.c,
14872           src/backends/NetworkManagerSlackware.c: add stub functions for NIS
14873           support.
14874         * src/backends/NetworkManagerSuSE.c: add NIS support, baby.
14875
14876 2005-12-14  Dan Williams  <dcbw@redhat.com>
14877
14878         * src/nm-ap-security*.[ch]
14879                 - Add AP security abstractions to NetworkManager
14880
14881         * src/nm-dbus-device.c
14882                 - Begin to parse new format dbus messages from the applet
14883                         and construct an AP security object from the message
14884
14885         * libnm-util/dbus-helpers.c
14886                 - Use message iters so we can append the key as a fixed
14887                         array of bytes, which actually works rather than
14888                         using dbus_message_append_args() as we were before
14889
14890 2005-12-14  Dan Williams  <dcbw@redhat.com>
14891
14892         * src/NetworkManagerDbus.c
14893           gnome/applet/applet-dbus.c
14894                 - Fix up dbus service replacement options.  The applet
14895                         should allow replacement, NM itself should not.
14896
14897 2005-12-13  Robert Love  <rml@novell.com>
14898
14899         * src/named-manager/nm-named-manager.c: Revert earlier commit.
14900           Instead, fail silently if config is NULL by not asserting and not
14901           returning FALSE.  Also, make sure we always fclose() the file.
14902
14903 2005-12-13  Robert Love  <rml@novell.com>
14904
14905         Patch by Stefan Scheler <sscheler@suse.de>:
14906         *  src/nm-ip4-config.h, src/nm-ip4-config.c,
14907            src/dhcp-manager/nm-dhcp-manager.c: Add support for setting up NIS
14908            via DHCP.  Still need the backends to commit the NIS domain name and
14909            and servers to yp.conf as needed.
14910
14911 2005-12-13  Robert Love  <rml@novell.com>
14912
14913         * src/vpn-manager/nm-dbus-vpn.c: Do not call the lengthy-named function
14914           nm_vpn_manager_remove_connection() unless vpn is non-NULL.
14915
14916 2005-12-13  Robert Love  <rml@novell.com>
14917
14918         * src/named-manager/nm-named-manager.c: Don't unref the config until
14919           after we call rewrite_resolv_conf(), because get_last_default_domain()
14920           needs to access the config.  Fixes "rewrite_resolv_conf: assertion
14921           `config != NULL' failed" assertion failures and "Could not commit DNS
14922           changes" warnings.
14923
14924 2005-12-12  Dan Williams  <dcbw@redhat.com>
14925
14926         * libnm-util/dbus-helpers.[ch]
14927           libnm-util/Makefile.am
14928                 - new helper calls to consolidate locations where
14929                         NM's setDevice method is called
14930
14931         * gnome/applet/applet-dbus-devices.c
14932           gnome/applet/wireless-security-option.c
14933           gnome/applet/wso-*
14934                 - Implement dbus message param append function for
14935                         all wireless security options
14936
14937 2005-12-12  Robert Love  <rml@novell.com>
14938
14939         * libnm-util/cipher-wep-passphrase.c,
14940           libnm-util/cipher-wpa-psk-passphrase.c, src/NetworkManagerAP.c,
14941           src/NetworkManagerAP.h, src/NetworkManagerDevice.c,
14942           src/NetworkManagerWireless.c, src/NetworkManagerWireless.h: Treat
14943           all WEP/WPA keys as "char *" and not explicitly signed or unsigned.
14944           When handling keys, we don't care what the sign is.  The compiler
14945           guarantees us that we get our 8-bits, which is all we care about.
14946         * configure.in: Remove "-Wno-pointer-sign" flag.  We are sign-aware!
14947
14948 2005-12-12  Dan Williams  <dcbw@redhat.com>
14949
14950         * gnome/applet/applet-dbus-devices.[ch]
14951           gnome/applet/applet.c
14952           gnome/applet/other-network-dialog.c
14953           gnome/applet/wireless-security-manager.[ch]
14954           gnome/applet/wireless-security-option.[ch]
14955           gnome/applet/wso-*
14956                 - Push the wireless security options further into the applet
14957
14958 2005-12-12  Robert Love  <rml@novell.com>
14959
14960         * src/dhcp-manager/nm-dhcp-manager.c: Do not fail if DHCP does not
14961           return any name servers.  That is perfectly valid.  (Novell #134369).
14962
14963 2005-12-11  Dan Williams  <dcbw@redhat.com>
14964
14965         * gnome/applet/wso-*
14966           gnome/applet/wireless-security-option.*
14967           gnome/applet/Makefile.am
14968                 - split each security option out so we can eventually
14969                         have each one build up their own dbus message
14970                         arguments to send to NM
14971
14972 2005-12-11  Dan Williams  <dcbw@redhat.com>
14973
14974         * Make validation of the key work correctly
14975
14976 2005-12-11  Dan Williams  <dcbw@redhat.com>
14977
14978         * Hook more bits of the Other Network Dialog up to the
14979                 wireless security manager stuff, and restructure
14980                 bits of the dialog so there's less code.
14981
14982 2005-12-10  Dan Williams  <dcbw@redhat.com>
14983
14984         * gnome/applet/Makefile.am
14985                 - Add libnm-util to includes
14986                 - Add libnm-util to link list
14987                 - Add wireless-security-common.* to compile list
14988
14989         * gnome/applet/other-network-dialog.c
14990                 - Convert to using the WirelessSecurityManager code and
14991                         widgets
14992
14993         * gnome/applet/passphrase-dialog.c
14994                 - Comment out references to stuff in the glade file that
14995                         cause runtime errors until it can be fixed up
14996                         to use the WirelessSecurityManager code
14997
14998         * gnome/applet/wireless-applet.glade
14999                 - Rename some widgets
15000                 - Add widgets for the WirelessSecurityManager code
15001                 - Remove passphrase-related stuff since that's now
15002                         handled by the WirelessSecurityManager code
15003
15004 2005-12-10  Dan Williams  <dcbw@redhat.com>
15005
15006         * gnome/applet/applet-dbus-devices.c
15007                 - Print out error message details for dbus pending call callbacks
15008                 - Move nmwa_dbus_update_devices() up
15009
15010         * gnome/applet/applet-dbus-vpn.c
15011                 - Print out error message details for dbus pending call callbacks
15012
15013 2005-12-10  Dan Williams  <dcbw@redhat.com>
15014
15015         * libnm-util/*
15016                 - More fixups
15017                 - Remove cipher-manager.* because we don't need it
15018                 - Forgot to add gnome-keyring-md5 files to compile list
15019
15020 2005-12-09  Dan Williams  <dcbw@redhat.com>
15021
15022         * libnm-util/*
15023           configure.in
15024           Makefile.am
15025                 - Add a utility library for clients of NetworkManager.  It's
15026                         only targetted at applets for the moment, and contains
15027                         a generalized 802.11 cipher framework for different
15028                         types of keys (WEP & WPA Hex, ASCII, Passphrase)
15029
15030 2005-12-09  Robert Love  <rml@novell.com>
15031
15032         * src/NetworkManagerDevice.c: handle error better in
15033           nm_device_set_mode().
15034
15035 2005-12-08  Robert Love  <rml@novell.com>
15036
15037         * include/NetworkManager.h: add WPA capabilities constants
15038         * src/NetworkManagerDevice.c: detect if wireless devices support WPA
15039           or WPA2 and add the capabilities bits as appropriate.
15040
15041 2005-12-08  Robert Love  <rml@novell.com>
15042
15043         * initscript/SUSE/networkmanager-dispatcher.in: new initscript for
15044           NetworkManagerDispatcher.
15045         * configure.in, initscript/SUSE/.cvsignore,
15046           initscript/SUSE/Makefile.am: support new networkmanager-dispatcher
15047           initscript.
15048
15049 2005-12-08  Robert Love  <rml@novell.com>
15050
15051         * initscript/SUSE/networkmanager.in: Do not start 'networking' service.
15052
15053 2005-12-08  Robert Love  <rml@novell.com>
15054
15055         * src/NetworkManagerDevice.c: We want to fall back on and default to
15056           IW_MODE_AUTO, not -1, which is more in line with our previous
15057           behavior.  Otherwise, we try to set the wireless mode to -1 in
15058           nm_device_set_mode().
15059
15060 2005-12-07  Robert Love  <rml@novell.com>
15061
15062         * gnome/applet/applet-dbus-info.c, include/NetworkManager.h,
15063           src/NetworkManagerAP.c, src/NetworkManagerAP.h,
15064           src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
15065           src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
15066           src/nm-dbus-nm.c: Convert NM_DEVICE_AUTH_METHOD_* to use the
15067           wireless-tools constants directly.  UNKNOWN is now -1 and NONE is
15068           zero.
15069
15070 2005-12-07  Robert Love  <rml@novell.com>
15071
15072         * src/backends/NetworkManagerSuSE.c: In static configurations, if the
15073           supplied IP is invalid, fall back to DHCP.
15074
15075 2005-12-07  Dan Williams  <dcbw@redhat.com>
15076
15077         * Convert NETWORK_MODE_* constants to IW_MODE_*
15078         * Make all the get_mode/set_mode functions take and return 'int'
15079         * Convert D-BUS calls that pass mode to DBUS_TYPE_INT32 rather than UINT32
15080
15081 2005-12-07  Robert Love  <rml@novell.com>
15082
15083         * src/NetworkManagerDevice.c: strncpy() buffer check.
15084         * src/NetworkManagerUtils.c: be anal about syslog() formatting.
15085
15086 2005-12-06  Dan Williams  <dcbw@redhat.com>
15087
15088         * gnome/applet/applet-dbus.c
15089                 - (set_vpn_last_attempt_status): remove, now in applet-dbus-vpn.c
15090
15091         * gnome/applet/applet-dbus-vpn.c
15092                 - (nmwa_dbus_vpn_set_last_attempt_status): new, from applet-dbus.c
15093                 - (nmwa_dbus_vpn_update_vpn_connection_stage): set last_attempt_success
15094                         to TRUE here if stage was ACTIVATED
15095
15096 2005-12-06  Dan Williams  <dcbw@redhat.com>
15097
15098         * Change nm_device_is_* functions to better names:
15099                 nm_device_is_wireless() -> nm_device_is_802_11_wireless()
15100                 nm_device_is_wired() -> nm_device_is_802_3_ethernet()
15101
15102 2005-12-06  Dan Williams  <dcbw@redhat.com>
15103
15104         * Change naming of NMDeviceType to something more sensible:
15105                 NM_DEVICE_TYPE_DONT_KNOW -> NM_DEVICE_TYPE_UNKNOWN
15106                 NM_DEVICE_TYPE_WIRED_ETHERNET -> NM_DEVICE_TYPE_802_3_ETHERNET
15107                 NM_DEVICE_TYPE_WIRELESS_ETHERNET -> NM_DEVICE_TYPE_802_11_WIRELESS
15108
15109 2005-12-06  Dan Williams  <dcbw@redhat.com>
15110
15111         * Move NetworkManager.h -> include/NetworkManager.h
15112         * Split out VPN stuff into include/NetworkManagerVPN.h
15113         * Fix up makefiles to include new location
15114         * Fix up sources to include NetworkManagerVPN.h
15115
15116 2005-12-06  Dan Williams  <dcbw@redhat.com>
15117
15118         Various changes in the applet to move VPN connection "state" -> "stage",
15119         which it actually is.  I'd like to change the signal as well when we
15120         break compat in the near future.
15121
15122 2005-12-06  Dan Williams  <dcbw@redhat.com>
15123
15124         Slackware patches from Paul Blazejowski <paulb@blazebox.homeip.net>
15125         * initscript/Slackware/rc.networkmanager
15126                 - Cosmetic fix
15127
15128         * src/backends/NetworkManagerSlackware.c
15129                 - Kill dhcpcd when starting so that dhclient can bind to DHCP on
15130                         interfaces
15131
15132 2005-12-05  Robert Love  <rml@novell.com>
15133
15134         * src/NetworkManager.c: don't call nm_data_free() when there is nothing
15135           to free, particularly here as it just barfs.
15136
15137 2005-12-05  Dan Williams  <dcbw@redhat.com>
15138
15139         * gnome/applet/applet-dbus.c
15140                 - Work with dbus 0.6 too
15141
15142 2005-12-03  Dan Williams  <dcbw@redhat.com>
15143
15144         * src/NetworkManagerUtils.[ch]
15145           src/nm-ip4-config.c
15146                 - move ip4_netmask_to_prefix() to NetworkManagerUtils.c
15147                 - consolidate code into nm_utils_ip4_addr_to_nl_addr()
15148
15149 2005-12-01  Robert Love  <rml@novell.com>
15150
15151         * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c: We
15152           need a NULL for the '...' parameter, too, to fill the so-called
15153           sentinel.
15154
15155 2005-12-01  Robert Love  <rml@novell.com>
15156
15157         * src/NetworkManagerSystem.c: If iface_to_rtnl_link() returns NULL, the
15158           interface is already gone, so don't call rtnl_link_change() to down
15159           it (which will segfault, anyhow).
15160
15161 2005-11-22  Robert Love  <rml@novell.com>
15162
15163         * src/backends/NetworkManagerSuSE.c: Don't fall back to DHCP if the
15164           gateway is not set, just print a little note.  Configurations without
15165           gateways are valid.
15166
15167 2005-11-22  Robert Love  <rml@novell.com>
15168
15169         * README: update
15170
15171 2005-11-20  Ilkka Tuohela  <hile@iki.fi>
15172
15173         * configure.in: Added Finnish translation to ALL_LINGUAS
15174
15175 2005-11-14  Robert Love  <rml@novell.com>
15176
15177         * vpn-daemons/openvpn: initial checkin of OpenVPN VPN Module, by Tim
15178           Niemueller <tim@niemueller.de>.
15179
15180 2005-11-08  Dan Williams  <dcbw@redhat.com>
15181
15182         Patch from Bill Moss <bmoss@clemson.edu>
15183         * src/NetworkManagerDevice.c
15184                 - (nm_device_activate_stage5_ip_config_commit): fix ordering
15185                         of nm_policy_schedule_activation_finish() to prevent a
15186                         race condition that causes the link to be dropped
15187
15188 2005-11-08  Dan Williams  <dcbw@redhat.com>
15189
15190         Patch from Bill Moss <bmoss@clemson.edu>
15191         * src/NetworkManagerAPList.c
15192           src/NetworkManagerDevice.c
15193           src/NetworkManagerDbus.c
15194                 - Replace occurances of ether_ntoa_r() with iw_ether_ntop() so
15195                         we get more readable ether/mac addresses
15196
15197 2005-11-02  Christopher Aillon  <caillon@redhat.com>
15198
15199         * gnome/applet/main.c: Don't set the restart command.  This fixes
15200         the issue where the restart command was getting copies of all its
15201         arguments for each time the applet was restarted.
15202
15203 2005-11-02  Robert Love  <rml@novell.com>
15204
15205         * gnome/applet/applet.c: Only send the DBUS setWirelessEnabled method
15206           if the widget state differs from our saved state.  This ensures we
15207           do not enter an endless loop of death and destruction.  Also, this
15208           guarantees us that we enforce the widget state.
15209
15210 2005-11-02  Robert Love  <rml@novell.com>
15211
15212         * gnome/applet/applet.c: add nmwa_enable_wireless_set_active().
15213         * gnome/applet/applet-dbus-devices.c: invoke the new function
15214           nmwa_enable_wireless_set_active() to ensure that the state of the
15215           'Enable Wireless' checkbox matches the daemon's state.  This is a
15216           concern because the daemon remembers the state.
15217
15218 2005-11-02  Robert Love  <rml@novell.com>
15219
15220         * gnome/applet/applet.c: Make menu item "Enable Wireless" not "Wireless
15221           Enabled", as checkboxes should be actions/commands not positive
15222           statements, otherwise they are confusing in the unselected case.  See
15223           examples in GNOME HIG, Chapter 6.
15224
15225 2005-11-02  Robert Love  <rml@novell.com>
15226
15227         * gnome/applet/applet.c: When wireless is disabled, act it.  Do not
15228           show a list of wireless networks or the wireless devices or the
15229           "Create Wireless ..." menus.  Aside from this cosmetics, this fixes
15230           a bad bug: If wireless is disabled and the user picks a wireless
15231           network, NM will switch to the network, only to immediately switch
15232           back, as wireless is disabled.  This also reassures people that NM
15233           is not scanning (it is not -- I verified).  Fixes Novell bug #130041.
15234
15235 2005-11-02  Christopher Aillon  <caillon@redhat.com>
15236
15237         * gnome/applet/applet.c:
15238         * gnome/applet/applet.h:
15239         Partial backout of Dan's timeout animation patch.
15240         Timeout IDs cannot legally be 0, so revert the code in place to handle
15241         a timeout ID of 0 to denote the timeout isn't running.
15242
15243 2005-11-02  Christopher Aillon  <caillon@redhat.com>
15244
15245         * src/NetworkManagerPolicy.c:
15246         (nm_policy_device_change_check) Clarify wireless switch nm_info text
15247
15248 2005-10-28  Robert Love  <rml@novell.com>
15249
15250         * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade: Change label to
15251           "Import Saved Configuration..." to make it clear that importing is
15252           not the next step, but an option.  As an aside, a nice TODO would be
15253           to move Importing out of the vpn-specific dialog and into the main
15254           property editor, as Importing goes with Adding, but that will require
15255           some rearchitecting of the VPN stuff I suspect.
15256
15257 2005-10-27  Dan Williams  <dcbw@redhat.com>
15258
15259         Start using libnl.  You need 1.0-pre3 or higher.  Eventually
15260         we should replace most of the distro-specific backend code
15261         with libnl stuff.
15262
15263         Get it here:  http://people.suug.ch/~tgr/libnl/
15264
15265         * configure.in
15266           src/Makefile.am
15267                 - Add checks for libnl pkgconfig file
15268                 - Use LIBNL_LIBS & LIBNL_CFLAGS
15269
15270         * src/NetworkManagerSystem.c
15271           src/nm-ip4-config.[ch]
15272                 - Use libnl rather than ioctl() for most things
15273                 - Remove unused functions
15274
15275 2005-10-27  Robert Love  <rml@novell.com>
15276
15277         * src/backends/NetworkManagerSuSE.c: fix warning message text
15278
15279 2005-10-27  Christopher Aillon  <caillon@redhat.com>
15280
15281         * gnome/applet/applet.c: Use the copyright symbol instead of (C)
15282
15283 2005-10-27  Christopher Aillon  <caillon@redhat.com>
15284
15285         * gnome/applet/applet.c: The applet's about dialog can advertise our 
15286         project page <http://www.gnome.org/projects/NetworkManager/>
15287
15288 2005-10-26  Christopher Aillon  <caillon@redhat.com>
15289
15290         * gnome/applet.c: Also use translator credits if we don't have
15291         the new GtkAboutDialog (older versions of GTK+)
15292
15293 2005-10-26  Robert Love  <rml@novell.com>
15294
15295         * dispatcher-daemon/NetworkManagerDispatcher.c: print actual error string on daemon()
15296           failure; correct usage text for "--no-daemon"
15297
15298 2005-10-25  Dan Williams  <dcbw@redhat.com>
15299
15300         * src/NetworkManagerDevice.c
15301                 - (get_scan_results): cleanups, deal cleanly with ENODATA signifying
15302                         no scan results
15303                 - (free_process_scan_cb_data): unref the device when freeing results
15304                 - (nm_device_wireless_process_scan_results): free scan results a bit later
15305                         so we don't unref the device underneath ourselves
15306
15307 2005-10-25  Dan Williams  <dcbw@redhat.com>
15308
15309         * Back out 2005-10-24 commit from Tor Krill.  Patch
15310                 causes nameservers never to be removed from named.
15311
15312 2005-10-24  Dan Williams  <dcbw@redhat.com>
15313
15314         Clean up wireless scanning and wireless link probing.
15315
15316         * src/NetworkManagerDevice.c
15317                 - (nm_device_probe_wireless_link_state): instead of calling nm_get_best_ap(),
15318                         just see if there's an activation request on the device, and check the
15319                         current link against the activation request access point's ESSID.
15320                 - (link_to_specific_ap): increase the # of failed links we tolerate from 3 to 6
15321                 - (nm_device_wireless_process_scan_results): actually free our scan data, and
15322                         don't call process_scan_results() on zero-length data
15323                 - (nm_device_set_wireless_scan_interval): increase the init scan interval to 
15324                         15 seconds (from 10)
15325
15326 2005-10-24  Dan Williams  <dcbw@redhat.com>
15327
15328         Cleanup some applet stuff:
15329
15330         - Animation timeouts.  If NM died while the applet was animating,
15331                 the applet would not hide itself.  This is now fixed.
15332
15333         - Remove some dead code
15334
15335         - Remove nmi_passphrase_dialog_schedule_cancel() and convert uses
15336                 to nmi_passphrase_dialog_cancel() since we no longer use threads.
15337
15338         - Track animation timeout using a gboolean rather than the timeout's
15339                 ID, since timeout IDs can legally be 0.
15340
15341 2005-10-24  Dan Williams  <dcbw@redhat.com>
15342
15343         * src/backends/interface_parser.c
15344                 - Add void to function declarations that need it
15345                         to match patch from Engin AYDOGAN
15346
15347         * src/backends/interface_parser.h
15348                 - Remove unused prototype for ifparser_interfaces()
15349
15350         Patch from Engin AYDOGAN <engin@bzzzt.biz>
15351         * src/backends/interface_parser.h:
15352                 - Compile fixes for gcc 4.0.2 (add void)
15353
15354 2005-10-24  Dan Williams  <dcbw@redhat.com>
15355
15356         Patch from Tor Krill <tor@krill.nu>
15357         * src/named-manager/nm-named-manager.c
15358                 - Write more than just the first nameserver to /etc/resolv.conf
15359                 - Write out valid /etc/resolv.conf on exit
15360
15361 2005-10-21  Christopher Aillon  <caillon@redhat.com>
15362
15363         * gnome/applet/applet-dbus-vpn.c:
15364         Get rid of spurious newlines in debug console output
15365
15366 2005-10-21  Christopher Aillon  <caillon@redhat.com>
15367
15368         * src/backends/NetworkManagerGentoo.c:
15369         Fix path to killall.  Patch from Dave Shanker <dshanker@gmail.com>
15370
15371 2005-10-20  Robert Love  <rml@novell.com>
15372
15373         * src/NetworkManagerDevice.c: Use fabs() and DBL_EPSILON to avoid a
15374           direct comparison of floating point values, which is never correct.
15375           Also some misc. cleanup.
15376
15377 2005-10-19  Robert Love  <rml@novell.com>
15378
15379         * vpn-daemons/vpnc/nm-vpnc.desktop.in: add fields
15380
15381 2005-10-19  Robert Love  <rml@novell.com>
15382
15383         * gnome/vpn-properties/nm-vpn-properties.c: Correctly set the
15384           sensitivity of the buttons.  Specificaly, do the right thing if
15385           there are no entries.
15386
15387 2005-10-19  Christopher Aillon  <caillon@redhat.com>
15388
15389         * configure.in: Update check for adequate wireless-tools
15390         with an AC_TRY_COMPILE for the new symbols we use.
15391
15392 2005-10-19  Dan Williams  <dcbw@redhat.com>
15393
15394         * src/NetworkManagerDevice.c
15395                 - (process_scan_results): don't drop the last (or only)
15396                         access point we see
15397
15398 2005-10-19  Christopher Aillon  <caillon@redhat.com>
15399
15400         * src/backends/NetworkManagerSlackware.c:
15401         Patch from Nico <lordllucifer@gmail.com>
15402                 - Update the Slackware backend.
15403
15404 2005-10-18  Christopher Aillon  <caillon@redhat.com>
15405
15406         * gnome/applet/other-network-dialog.c: Use g_get_host_name ()
15407         if we've got GLib 2.8.0
15408
15409 2005-10-18  Robert Love  <rml@novell.com>
15410
15411         * src/NetworkManagerDevice.c: invoke the long-in-the-tooth named
15412           function nm_schedule_state_change_signal_broadcast() when we
15413           deactivate a device, too.
15414
15415 2005-10-18  Robert Love  <rml@novell.com>
15416
15417         * gnome/applet/applet.c: nmwa_context_menu_update(): 'iface' could
15418           be used uninitialized.
15419
15420 2005-10-18  Christopher Aillon  <caillon@redhat.com>
15421
15422         * test/libnm_glib_test.c: Test unregistering, too.
15423
15424 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15425
15426         * configure.in: Bump to 0.5.0
15427
15428 2005-10-17  Dan Williams  <dcbw@redhat.com>
15429
15430         * NetworkManager.h
15431                 - Remove WPA-related constants so they aren't part of the
15432                         upcoming release.
15433
15434 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15435
15436         * gnome/applet/applet.c:
15437         * gnome/applet/applet.h:
15438         Desensitize the 'Connection Information' menu item when there is
15439         no active connection.
15440
15441 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15442
15443         * gnome/libnm_glib/libnm_glib.c:
15444         Make libnm_glib_unregister_callback () actually unregister the callback
15445
15446 2005-10-17  Robert Love  <rml@novell.com>
15447
15448         * src/NetworkManagerDevice.c: Actually wait 20s, as we intend, not
15449           two seconds -- tries is updated every 1/10 of a second, not every
15450           second..
15451
15452 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15453
15454         * gnome/applet/applet-dbus-info.c:
15455         Let D-BUS know that we haven't handled a message when we haven't.
15456
15457 2005-10-17  Robert Love  <rml@novell.com>
15458
15459         * src/nm-ip4-config.c: use GPOINTER_TO_UINT and not a straight cast
15460           in order to remain 64-bit clean.
15461
15462 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15463
15464         * gnome/applet/applet-dbus-info.c:
15465         Find network encryption keys asynchronously
15466
15467 2005-10-17  Robert Love  <rml@novell.com>
15468
15469         * src/backends/NetworkManagerDebian.c,
15470           src/backends/NetworkManagerRedHat,
15471           src/backends/NetworkManagerSuSE.c: allow '#' as a valid resolv.conf
15472           comment delimiter.
15473
15474 2005-10-17  Robert Love  <rml@novell.com>
15475
15476         * src/backends/NetworkManagerSuSE.c: use SYSCONFDIR not open-coded
15477           "/etc"
15478
15479 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15480
15481         * src/NetworkManagerDevice.c: (process_scan_results)
15482         Fix logic that checks to see whether we have an ESSID.
15483
15484 2005-10-15  Dan Williams  <dcbw@redhat.com>
15485
15486         Move scanning code into NetworkManager rather than use iwlib's
15487         iw_scan() function, so that we can figure out AP capabilities.
15488
15489         * NetworkManager.h
15490                 - Add AP capability bits
15491
15492         * src/NetworkManagerAP.[ch]
15493                 - Add capability field to NMAccessPoint structure
15494                 - Add WPA & RSN Information Element fields and accessor
15495                         functions to NMAccessPoint
15496
15497         * src/NetworkManagerDevice.c
15498                 - Remove usage of iw_scan
15499                 - Add scanning code to NetworkManager rather than use
15500                         iw_scan() from iwlib
15501
15502         * src/NetworkManagerUtils.[ch]
15503                 - (nm_dispose_scan_results): remove, unused
15504
15505 2005-10-14  Christopher Aillon  <caillon@redhat.com>
15506
15507         * gnome/libnm_glib/libnm_glib.c:
15508         * gnome/libnm_glib/libnm_glib.h:
15509         Use guint instead of gint for callback IDs.
15510
15511 2005-10-12  Christopher Aillon  <caillon@redhat.com>
15512
15513         * gnome/applet/applet.c:
15514         Fix icon animation smoothness issues.  nmwa_redraw_timeout gets called
15515         every 1000ms.  It will unconditionally call nmwa_update_state which
15516         kills the existing animation timeout and registers a new one with a
15517         callback to draw a new frame every 100ms.  There are 11 connecting
15518         icon frames, so the last 2 frames kept getting dropped.  Only reset
15519         the animation timeout if we aren't animating.
15520
15521 2005-10-11  Dan Williams  <dcbw@redhat.com>
15522
15523         * gnome/applet/applet-dbus-devices.c
15524                 - (nmwa_dbus_update_device_info_from_hal), (hal_net_physdev_cb):
15525                         We want to grab the product & vendor from net.physical_dev
15526                         rather than info.parent.
15527
15528 2005-10-11  Dan Williams  <dcbw@redhat.com>
15529
15530         * src/NetworkManagerDevice.c
15531                 - Use the driver's WE version for scanning rather than
15532                         the WE version NM was compiled with.  Fixes random
15533                         crashes in iw_scan () in iwlib.
15534
15535 2005-10-10  Dan Williams  <dcbw@redhat.com>
15536
15537         * Remove nm_system_load_device_modules() from backend files
15538                 and from NetworkManager.c
15539
15540 2005-10-10  Dan Williams  <dcbw@redhat.com>
15541
15542         * src/NetworkManagerPolicy.c
15543                 - Fix some bugs introduced by the capabilities patch
15544
15545 2005-10-10  Dan Williams  <dcbw@redhat.com>
15546
15547         * gnome/applet/applet-dbus-info.c
15548                 - (nmi_dbus_get_network_key): hide the menu when putting up
15549                         the keyring dialog.  (not sure if the code is right...)
15550
15551 2005-10-09  Dan Williams  <dcbw@redhat.com>
15552
15553         Patch from Bill Moss <bmoss@clemson.edu>
15554         * src/NetworkManagerDevice.c
15555                 - (nm_device_set_user_key_for_network): don't try to set auth
15556                         mode on the AP from the allowed list if it's NULL
15557
15558 2005-10-09  Dan Williams  <dcbw@redhat.com>
15559
15560         * Replace the "driver support level" stuff with capabilities.  The
15561                 capability field is a bitfield that is more flexible than the
15562                 old driver support level thing.  It's mostly so we can easily
15563                 figure out what supports WPA and what doesn't, but should be
15564                 quite useful later.
15565
15566 2005-10-09  Dan Williams  <dcbw@redhat.com>
15567
15568         * test/nmtest.c
15569                 - Removed
15570
15571         * test/nm-tool.c
15572           test/Makefile.am
15573                 - Added new "nm-tool" tool that gives quite a bit more
15574                         information
15575
15576 2005-10-07  Robert Love  <rml@novell.com>
15577
15578         * gnome/applet/applet-dbus-info.c, gnome/applet/applet.c,
15579           gnome/applet/applet.h, gnome/vpn-properties/nm-vpn-properties.c,
15580           src/dhcp-manager/nm-dhcp-manager.c, test/libnm_glib_test.c,
15581           test/nmtest.c test/nmtestdevices.c: mark functions 'static' as
15582           appropriate
15583
15584 2005-10-07  Robert Love  <rml@novell.com>
15585
15586         * configure.in: Change our compile flags for the betterment of mankind.
15587           Add "-Wstrict-prototypes" because we comply anyhow and missing a
15588           prototype is very bad on 64-bit platforms as types default to int but
15589           sizeof(int) != sizeof(long) and add "-Wmissing-prototypes" &
15590           "-Wmissing-declarations" to warn if we define an exported function
15591           but fail to put it in a header.
15592
15593 2005-10-07  Robert Love  <rml@novell.com>
15594
15595         * src/NetworkManagerWireless.c: remove stale, unused function, who goes
15596           by the name nm_update_device_wireless_timeouts() and once tried,
15597           without success, to steal my pet turtle.
15598
15599 2005-10-07  Robert Love  <rml@novell.com>
15600
15601         * Cleanup prototypes: put some functions in header files and mark
15602           others as 'static' -- feel free to invert
15603         * src/vpn-manager/nm-dbus-vpn.c: remove prototype of
15604           nm_vpn_manager_vpn_connection_list_copy()
15605         * src/vpn-manager/nm-vpn-act-request.c: remove prototype of
15606           nm_vpn_service_get_dbus_connection()
15607         * src/vpn-manager/nm-vpn-manager.h: add prototypes for
15608           nm_vpn_manager_vpn_connection_list_copy()
15609         * src/vpn-manager/nm-vpn-service.c: make
15610           nm_vpn_service_act_request_failed() and
15611           nm_vpn_service_stage2_daemon_wait() static
15612         * src/vpn-manager/nm-vpn-service.h: add prototype for
15613           nm_vpn_service_get_dbus_connection()
15614
15615 2005-10-06  Christopher Aillon  <caillon@redhat.com>
15616
15617         * gnome/applet/applet.c:
15618         * gnome/applet/applet.h:
15619         * gnome/applet/icons/Makefile.am:
15620         Convey information about the current connection stage in the
15621         icons themselves instead of creating a separate progress bar.
15622
15623 2005-10-04  Robert Love  <rml@novell.com>
15624
15625         * src/nm-dbus-device.c: Use iw_ether_ntop(), not ether_ntoa_r(), to
15626           convert an ether_addr structure's MAC into a string, because the
15627           latter will drop leading zero's and uses lower-case, e.g. 7:3b:4
15628           versus 07:3B:04, while the former will not.
15629
15630 2005-10-04  Robert Love  <rml@novell.com>
15631
15632         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
15633           gnome/applet/nm-device.c, gnome/applet/nm-device.h,
15634           gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
15635           default route in the 'Connection Information' dialog, send primary
15636           and secondary name servers in in "getProperties" DBUS method, add
15637           network_device_{get,set}_{primary,secondary}_dns(),  The primary and
15638           secondary domain name servers are crucial pieces of information
15639           that a user might need in debugging a network problem.
15640
15641 2005-10-04  Robert Love  <rml@novell.com>
15642
15643         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
15644           gnome/applet/nm-device.c, gnome/applet/nm-device.h,
15645           gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
15646           default route in the 'Connection Information' dialog, send default
15647           route in "getProperties" DBUS method, add network_device_set_route(),
15648           and network_device_get_route().  The Gateway is a crucial piece of
15649           connection-related information that a user might need in debugging a
15650           network problem.
15651
15652 2005-10-03  Robert Love  <rml@novell.com>
15653
15654         * src/backends/NetworkManagerSuSE.c: Fix Glib error, GError must be
15655           NULL.
15656
15657 2005-10-02  Dan Williams  <dcbw@redhat.com>
15658
15659         * Shorten time taken to sleep by fastpathing bits of device deactivation
15660                 necessary for sleep.
15661
15662         * Fix issue where deactivating a device might deactivate the active
15663                 VPN connection, even if the VPN was not using the device.
15664
15665 2005-10-02  Dan Williams  <dcbw@redhat.com>
15666
15667         * gnome/applet/applet.c
15668                 - Adjust signal strength -> icon mapping values slightly
15669                         (so that 51% signal doesn't show a 75% icon) by adding
15670                         5% to the values. ex: > 5% now shows 25% icon, > 30%
15671                         shows 50% icon, etc.
15672
15673 2005-09-29  Robert Love  <rml@novell.com>
15674
15675         * src/NetworkManager.c: removed unused variable.
15676
15677 2005-09-28  Dan Williams  <dcbw@redhat.com>
15678
15679         Support for named + DBus, using Red Hat DBus patches for named.  You
15680         can find those patches here, with "dbus" in the patch's filename:
15681
15682                 http://cvs.fedora.redhat.com/viewcvs/devel/bind/
15683
15684         Don't forget the named dbus service file either.
15685
15686         Instead of writing a config file and spawing a named process, NM will
15687         use an already-running dbus-enabled named if it finds one.  NM will
15688         update named's forwarder configuration on the fly using dbus.
15689
15690         If there is no dbus-enabled named running, NM will automatically fall
15691         back to writing the most-recent DNS server information to /etc/resolv.conf
15692         and calling nm_system_update_dns() to kick the system's resolver.
15693
15694         Accordingly, all named-related configure-time options have been removed.
15695
15696 2005-09-26  Robert Love  <rml@novell.com>
15697
15698         * src/backends/NetworkManagerSuSE.c, (nm_system_get_dialup_config): Add
15699           ISDN support!
15700         * src/backends/NetworkManagerSuSE.c, (verify_and_return_provider): Fix
15701           bug in error path if "ASKPASSWORD" is "no".
15702
15703 2005-09-26  Robert Love  <rml@novell.com>
15704
15705         * src/named-manager/nm-named-manager.c: only '#' is officially a valid
15706           comment in /etc/resolv.conf -- ';' is not.
15707
15708 2005-09-19  Dan Williams  <dcbw@redhat.com>
15709
15710         * src/backends/NetworkManagerRedHat.c:
15711         * src/backends/NetworkManagerDebian.c:
15712         * src/backends/NetworkManagerSlackware.c:
15713         * src/backends/NetworkManagerGentoo.c:
15714         * src/backends/NetworkManagerSUSE.c:
15715         Fix invocations of "/sbin/ip address" to use short form instead
15716
15717 2005-09-19  Christopher Aillon  <caillon@redhat.com>
15718
15719         * src/nm-dbus-device.c: Don't assert when getting
15720         addresses of a not yet connected interface.
15721
15722         * gnome/applet/applet.c: Free icons if loading fails.
15723         Use translator-credits so translators can make themselves known.
15724
15725 2005-09-15  Christopher Aillon  <caillon@redhat.com>
15726
15727         * src/NetworkManagerAP.c:
15728         * src/NetworkManagerAP.h:
15729         * src/NetworkManagerDevice.c:
15730         Set a blacklist for certain common manufacturer default ESSIDs:
15731         APs with these ESSIDs are extremely likely to be completely
15732         different networks: connecting to one should not make NM
15733         auto-connect to every other AP with the same default ESSID.
15734
15735 2005-09-12  Christopher Aillon  <caillon@redhat.com>
15736
15737         * gnome/applet/wireless-applet.glade:
15738         The passphrase entry should also activate the default
15739
15740         * src/gnome-keyring-md5.c: Updated code from gnome-keyring
15741
15742         * gnome/applet/applet-dbus-devices.c:
15743         * gnome/applet/applet.c:
15744         * gnome/applet/nm-device.c:
15745         * gnome/applet/nm-device.h:
15746         * src/NetworkManagerUtils.c:
15747         * src/NetworkManagerUtils.h:
15748         * src/nm-dbus-device.c:
15749         I've got a fever, and the only cure for it is less ioctl.
15750         Make NM push IP data rather than make the applet open a socket
15751         to the device.
15752
15753 2005-09-10  Christopher Aillon  <caillon@redhat.com>
15754
15755         * gnome/applet/applet.c:
15756         * gnome/applet/applet-dbus-devices.c:
15757         * gnome/applet/applet-dbus-info.c:
15758         * gnome/applet/passphrase-dialog.c:
15759         * gnome/libnm_glib/libnm_glib.c:
15760         * gnome/vpn-properties/nm-vpn-properties.c:
15761         * src/autoip.c:
15762         * src/backends/NetworkManagerRedHat.c:
15763         * src/named-manager/nm-named-manager.c:
15764         * src/NetworkManagerAPList.c:
15765         * src/NetworkManager.c:
15766         * src/NetworkManagerDbus.c:
15767         * src/NetworkManagerDevice.c:
15768         * src/NetworkManagerPolicy.c:
15769         * src/NetworkManagerSystem.c:
15770         * src/nm-dbus-device.c:
15771         * src/nm-dbus-nm.c:
15772         * src/vpn-manager/nm-vpn-manager.c:
15773         * src/vpn-manager/nm-vpn-service.c:
15774         * test/libnm_glib_test.c:
15775         * test/nminfotest.c:
15776         * test/nmtestdevices.c:
15777         Fix a bunch of 'unused variable' compiler warnings
15778
15779         * NetworkManager.h:
15780         * gnome/applet/applet-dbus-info.c:
15781         * gnome/applet/applet-dbus-info.h:
15782         * gnome/applet/applet.c:
15783         * gnome/applet/applet.h:
15784         * src/NetworkManager.c:
15785         * src/NetworkManagerDbus.c:
15786         * src/NetworkManagerDbus.h:
15787         * src/NetworkManagerDevice.c:
15788         * src/NetworkManagerDevice.h:
15789         * src/NetworkManagerMain.h:
15790         * src/NetworkManagerWireless.c:
15791         * src/NetworkManagerWireless.h:
15792         * src/nm-dbus-nm.c:
15793         Make NetworkManager be smart about how frequently to scan
15794         based on its current state.  Remove the UI for choosing when
15795         to scan.  Scanning still may disabled completely by the user
15796         via the "Wireless Enabled" menu item.
15797
15798 2005-09-09  Christopher Aillon  <caillon@redhat.com>
15799
15800         * gnome/applet/applet.c:
15801         Also overlay the vpn connecting icons onto the wired icon,
15802         when appropriate.
15803
15804         * gnome/vpn-properties/nm-vpn-properties.glade:
15805         Clean up a few strings to use better grammar and proper casing.
15806
15807 2005-09-08  Christopher Aillon  <caillon@redhat.com>
15808
15809         * gnome/applet/vpn-connection.c:
15810         * gnome/applet/vpn-connection.h:
15811         Add nmwa_vpn_connection_is_activating ()
15812
15813         * gnome/applet/applet.c:
15814         * gnome/applet/applet.h:
15815         * gnome/applet/icons/nm-vpn-connecting*.png:
15816         Add new VPN connecting icons from Diana Fong <dfong@redhat.com>, letting
15817         the user know something's happening between clicking the VPN item and it
15818         actually being connected.
15819
15820 2005-09-07  Christopher Aillon  <caillon@redhat.com>
15821
15822         * gnome/applet/applet-dbus-info.c: need to free attributes in the
15823         failure case as well.
15824
15825 2005-09-07  Rodrigo Moya <rodrigo@novell.com>
15826
15827         * gnome/panel/eggtrayicon.[ch]:
15828         * examples/python/systray/eggtrayicon.[ch]: updated code from libegg.
15829
15830 2005-09-07  Dan Williams  <dcbw@redhat.com>
15831
15832         Patch from Bill Moss <bmoss@clemson.edu>
15833         * src/applet-dbus.c
15834                 - (nmwa_dbus_filter): strip whitespace from beginning
15835                         and end of VPN login banner
15836
15837 2005-09-07  Dan Williams  <dcbw@redhat.com>
15838
15839         * The great VPN Manager rewrite of 2005
15840
15841 2005-09-07  Christopher Aillon  <caillon@redhat.com>
15842
15843         * gnome/applet/menu-items.c:
15844         * gnome/applet/nm-device.c:
15845         * gnome/applet/wireless-network.c:
15846         * gnome/libnm_glib/libnm_glib.c:
15847         * src/NetworkManagerDbusUtils.c:
15848         * vpn-daemons/vpnc/src/nm-vpnc-service.c:
15849         g_malloc0 doesn't return NULL
15850
15851 2005-09-06  Dan Williams  <dcbw@redhat.com>
15852
15853         Patch from Tomislav Vujec <tvujec@redhat.com>
15854         * src/NetworkManagerDevice.c
15855                 - (nm_get_device_by_udi): don't return a device when we
15856                         actually didn't find what we were looking for
15857
15858 2005-09-06  Christopher Aillon  <caillon@redhat.com>
15859
15860         * gnome/applet/applet-dbus-devices.c:
15861         * gnome/applet/applet-dbus-devices.h:
15862         * gnome/applet/applet-dbus.c:
15863         * src/NetworkManagerDbus.c:
15864         * src/NetworkManagerDbus.h:
15865         * src/NetworkManagerDevice.c:
15866         * src/nm-dbus-device.c:
15867         Make NM push updates about active device strength when it changes,
15868         rather than having the applet poll every 2s.
15869
15870 2005-09-05  Christopher Aillon  <caillon@redhat.com>
15871
15872         * gnome/applet/applet-dbus-devices.c: Remove duplicate call to
15873         network_device_set_strength
15874
15875 2005-09-04  Dan Williams  <dcbw@redhat.com>
15876
15877         Patch from Bill Nottingham <notting@redhat.com>
15878         * src/NetworkManagerDevice.c
15879                 - (nm_device_activation_cancel): reset the quit_activation flag
15880
15881 2005-09-04  Dan Williams  <dcbw@redhat.com>
15882
15883         * src/nm-activation-request.c
15884                 - (nm_act_request_unref): actually free the structure,
15885                         which we didn't seem to be doing before
15886
15887 2005-09-04  Dan Williams  <dcbw@redhat.com>
15888
15889         Patch from John Palmieri <johnp@redhat.com>
15890         * gnome/applet/applet-dbus-devices.c
15891                 - Fix up unreffing of DBusMessage objects
15892
15893 2005-09-04  Dan Williams  <dcbw@redhat.com>
15894
15895         Patch from John Palmieri <johnp@redhat.com>
15896         * gnome/applet/nm-device.c
15897                 - (nm_device_unref): clear network_device's memory _before_ freeing it
15898
15899 2005-09-02  Christopher Aillon  <caillon@redhat.com>
15900
15901         * gnome/applet/applet.c: Use a check menu item for Wireless Enabled
15902
15903 2005-09-02  Bill Nottingham  <notting@redhat.com>
15904
15905         * src/backends/NetworkManagerRedHat.c: use nm_warning, not nm_error
15906
15907 2005-09-01  Dan Williams  <dcbw@redhat.com>
15908
15909         * src/NetworkManager.c
15910                 - (nm_remove_device_from_list): rename to nm_remove_device
15911                 - (nm_hal_device_removed): call nm_remove_device()
15912
15913         * src/NetworkManagerDevice.c
15914                 - Change the NMWirelessScanCB member 'reschedule' which
15915                         wasn't used to 'force' to indicate that we need to
15916                         force a scan when adding a device
15917
15918         * src/nm-dbus-nm.c
15919                 - (nm_dbus_nm_sleep): Deactivate all devices and remove them
15920                         from the device list
15921                 - (nm_dbus_nm_wake): Re-add all devices to the device list
15922
15923 2005-09-01  Robert Love  <rml@novell.com>
15924
15925         * gnome/applet/applet.c: nmwa_update_info: iface is used uninitialized
15926           and the check "!iface" in the error case is probably never true.
15927
15928 2005-09-01  Dan Williams  <dcbw@redhat.com>
15929
15930         Patch from Bill Nottingham <notting@redhat.com>
15931         * src/backends/NetworkManagerRedHat.c
15932                 - Add initial dialup support to Red Hat/Fedora backend
15933
15934 2005-09-01  Dan Williams  <dcbw@redhat.com>
15935
15936         * gnome/applet/applet-dbus-devices.c
15937                 - Sort both wireless networks and devices again, which got
15938                         broken when removing threading
15939
15940 2005-09-01  Christopher Aillon  <caillon@redhat.com>
15941
15942         * gnome/applet/applet.c:
15943         Only show the "Stop/Start All Wireless Devices" menuitem
15944         if we actually have wireless devices.
15945
15946         * gnome/applet/applet-dbus-info.c:
15947         * gnome/applet/applet.c:
15948         * gnome/applet/other-network-dialog.c:
15949         * gnome/applet/vpn-password-dialog.c:
15950         Drop the gtk_dialog_run () calls in favor of connecting to
15951         "response" signals, needed now that the applet is not threaded.
15952
15953 2005-08-31  Dan Williams  <dcbw@redhat.com>
15954
15955         Patch from Bill Moss <bmoss@clemson.edu>
15956         * src/NetworkManagerDevice.c
15957                 - (nm_device_wireless_scan): fix scan timeout values
15958
15959 2005-08-30  Dan Williams  <dcbw@redhat.com>
15960
15961         * gnome/applet/wireless-applet.glade
15962                 - HIG-ify the Other Wireless Networks dialog a bit more
15963                 - Fix some potential segfaults in the info dialog
15964
15965 2005-08-30  Dan Williams  <dcbw@redhat.com>
15966
15967         * gnome/applet/applet-dbus-devices.c
15968                 - Remove nmwa_dbus_get_hal_device_string_property(); unused
15969
15970 2005-08-30  Dan Williams  <dcbw@redhat.com>
15971
15972         * gnome/applet/applet-dbus.[ch]
15973                 - Remove all the nmwa_dbus_call_method_xxxx functions since
15974                         they weren't being used anyway
15975
15976 2005-08-30  Bastien Nocera  <hadess@hadess.net>
15977
15978         * test/nmtestdevices.c: (print_usage), (main):
15979         Check the number of arguments, and fix a typo
15980
15981 2005-08-29  Dan Williams  <dcbw@redhat.com>
15982
15983         Patch from Dumitru Ciobarcianu <Dumitru.Ciobarcianu@iNES.RO>
15984         * gnome/applet/applet.c
15985                 - Define GTK_STOCK_INFO for GTK 2.6 and lower
15986
15987 2005-08-29  Dan Williams  <dcbw@redhat.com>
15988
15989         * gnome/applet/*
15990                 - Don't use threads any more.  Anything that blocks
15991                         (like gtk_dialog_run()) will  have to get fixed up which
15992                         should happen quickly.  We really only had threads to make
15993                         the animation smooth, and when everything got converted over
15994                         to DBus Pending Calls, the need for threads kind of went away
15995
15996 2005-08-29  Christopher Aillon  <caillon@redhat.com>
15997
15998         * gnome/applet/applet.c: Draw VPN connections as radio items
15999         since we don't yet support multiple VPNs.
16000         * gnome/applet/other-network-dialog.c: Use stock icon for Connect
16001         * gnome/vpn-properties/nm-vpn-properties.c: Use stock icon for Delete
16002
16003 2005-08-29  Dan Williams  <dcbw@redhat.com>
16004
16005         Patch from j@bootlab.org
16006         - Make --without-named work
16007         - Make --with-dhcdbd work correctly
16008
16009 2005-08-27  Josep Puigdemont i Casamajó  <josep.puigdemont@gmail.com>
16010
16011         * configure.in: Added "ca" to ALL_LINGUAS.
16012
16013 2005-08-26  Christopher Aillon  <caillon@redhat.com>
16014
16015         * Fix up VPN state handling between the applet and NetworkManager,
16016                 so that the applet doesn't show a VPN as connected when one
16017                 really is not
16018                         - The applet no longer has a pointer to the active VPN's
16019                                 name, but tracks each VPNs state individually
16020                         - NM no longer has a "getActiveVPNConnection" method
16021                         - NM no longer broadcasts the "VPNConnectionChange" signal
16022                         - NM now broadcasts a "VPNConnectionStateChange" signal
16023                                 whenever the state of a VPN changes
16024
16025 2005-08-26  Dan Williams <dcbw@redhat.com>
16026
16027         * gnome/applet/applet-dbus-devices.c
16028           gnome/applet/applet-dbus-vpn.c
16029                 - Remove calls to dbus_pending_call_ref() because we already
16030                         "own" the pending call
16031                 - Remove calls to dbus_pending_call_get_completed() because
16032                         when we are in the callback, the pending call is completed
16033                         by definition
16034
16035 2005-08-22  Dan Williams <dcbw@redhat.com>
16036
16037         Patch by Bill Moss <bmoss@clemson.edu>
16038         * src/dhcp-manager/nm-dhcp-manager.c
16039                 - (nm_dhcp_manager_cancel_transaction): Give dhcdbd/dhclient
16040                         some time to send out a RELEASE if they like
16041
16042 2005-08-22  Dan Williams <dcbw@redhat.com>
16043
16044         Noticed by Bill Moss <bmoss@clemson.edu>
16045         * src/NetworkManagerDbus.c
16046                 - (nm_dbus_get_user_key_for_network_cb): deactivate the device
16047                         instead of just cancelling its activation
16048
16049         * src/NetworkManagerDevice.c
16050                 - (nm_device_deactivate): some small cleanups
16051                 - (nm_device_set_user_key_for_network): deactivate the device
16052                         instead of just cancelling its activation
16053
16054 2005-08-22  Dan Williams <dcbw@redhat.com>
16055
16056         Noticed by Bill Moss <bmoss@clemson.edu>
16057         * src/NetworkManagerDevice.c
16058                 - (nm_device_wireless_scan): fix scan timeout, we were
16059                         waiting way too long for scans to complete
16060
16061 2005-08-22  Dan Williams <dcbw@redhat.com>
16062
16063         Patch from j@bootlab.org:
16064         * src/backends/NetworkManagerDebian.c
16065                 - Make the Debian backend work for static IP again
16066
16067 2005-08-20  Christopher Aillon  <caillon@redhat.com>
16068
16069         * gnome/applet/other-network-dialog.c:
16070         The "Create New Network" and "Connect to Other Network"
16071         dialogs share alot of code, but shouldn't share a window
16072         title.  Give them different ones.
16073
16074         * gnome/applet/wireless-applet.glade:
16075         * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
16076         Some more minor UI tweaks.
16077
16078 2005-08-19  Christopher Aillon  <caillon@redhat.com>
16079
16080         * gnome/applet/other-network-dialog.c:
16081         * gnome/applet/wireless-applet.glade:
16082         Also need mnemonic widgets, and underline enabled.
16083
16084 2005-08-19  Dan Williams <dcbw@redhat.com>
16085
16086         * vpn-daemons/vpnc/nm-vpnc-service.c
16087                 - (vpnc_watch_cb): remove no-longer-relevant comment
16088                 - (write_config_option): new function, helper to write
16089                         config options to vpnc's stdin
16090                 - (nm_vpnc_config_write): use the new helper, make the
16091                         code shorter
16092
16093 2005-08-19  Christopher Aillon <caillon@redhat.com>
16094
16095         * gnome/applet/passphrase-dialog.c:
16096         * gnome/applet/wireless-applet.glade:
16097         Make the passphrase dialog response based, and treat
16098         responses other than OK (such as Esc, [X]) as a cancel.
16099
16100 2005-08-18  Christopher Aillon <caillon@redhat.com>
16101
16102         * initscript/Gentoo/NetworkManager:
16103         * initscript/RedHat/NetworkManager:
16104         * initscript/RedHat/NetworkManagerDispatcher:
16105         * initscript/SUSE/networkmanager:
16106         CVS remove these in place of .in replacements
16107
16108         * configure.in:
16109         * initscript/Gentoo/NetworkManager.in:
16110         * initscript/RedHat/NetworkManager.in:
16111         * initscript/RedHat/NetworkManagerDispatcher.in:
16112         * initscript/SUSE/networkmanager.in:
16113         These scripts now are generated so they work still when
16114         NM is built using a bindir other than /usr/bin
16115
16116 2005-08-18  Dan Williams <dcbw@redhat.com>
16117
16118         * gnome/applet/main.c
16119                 - Revert previous change for --no-session since
16120                         --sm-disable does the same thing
16121
16122 2005-08-18  Dan Williams <dcbw@redhat.com>
16123
16124         * gnome/applet/applet-dbus-info.c
16125                 - (nmi_dbus_create_error_message): new function
16126                 - (nmi_dbus_get_key_for_network): correctly use dbus error creation
16127                         functions.  Also don't check for both device _and_ network before
16128                         asking for a user's key, because we may not have gotten all our
16129                         networks back from NM quite yet (due to the dbus pending calls
16130                         coming in later).  Fixes a hang in NM/nm-applet.
16131
16132         * src/NetworkManagerDbus.c
16133                 - (nm_dbus_get_user_key_for_network_cb): handle error conditions in a
16134                         slightly more sane manner, even though we are still broken for
16135                         certain other error conditions.
16136                 - (nm_dbus_get_user_key_for_network): need to pass the network's essid
16137                         to the info-daemon too
16138
16139         * src/NetworkManagerDevice.c
16140                 - Fix some debug messages to be info messages instead
16141
16142 2005-08-18  Dan Williams <dcbw@redhat.com>
16143
16144         * gnome/applet/main.c
16145                 - Add new "--no-session" parameter that disables applet
16146                         session management, ie for testing
16147
16148 2005-08-18  Christopher Aillon <caillon@redhat.com>
16149
16150         * gnome/applet/other-network-dialog.c:
16151         * gnome/applet/wireless-applet.glade: More mnemonics
16152
16153 2005-08-17  Robert Love  <rml@novell.com>
16154
16155         * initscript/SUSE/networkmanager: update
16156
16157 2005-08-17  Dan Williams  <dcbw@redhat.com>
16158
16159         * Tag NM_0_4_1_RELEASE
16160
16161 2005-08-17  Christopher Aillon  <caillon@redhat.com>
16162
16163         * gnome/applet/applet.c: More translatable string cleanup
16164
16165
16166 2005-08-17  Dan Williams  <dcbw@redhat.com>
16167
16168         * gnome/applet/applet-dbus-info.c
16169                 - (nmi_dbus_get_key_for_network): Grab new "new_key" parameter
16170                         from the dbus message, which tells us to unconditionally
16171                         ask the user for a new key.  Otherwise, we pull the key from
16172                         the keyring and return it.  If we fail to get the key from the
16173                         keyring, we ask the user for a new key.
16174                 - (nmi_dbus_get_network_key): new function to grab the key for
16175                         an essid from the keyring.
16176                 - (nmi_dbus_get_network_properties): don't access the keyring here.
16177                         Also, don't return any key in the dbus message.
16178
16179         * src/NetworkManagerDbus.[ch]
16180                 - (nm_dbus_get_user_key_for_network): Add "new_key" parameter to
16181                         indicate that we unconditionally want a new key.  This function
16182                         is now also used to get keys from the info-daemon which are
16183                         pre-stored, not just for asking the user for a new key.  The
16184                         "new_key" parameter indicates whether or not we wish to ask the
16185                         user for a new key.
16186                 - (nm_dbus_get_network_data_cb): we no longer get a key from the
16187                         info-daemon in the return message, so use NULL instead.  The
16188                         key will be filled in at connect time by calling
16189                         nm_dbus_get_user_key_for_network()
16190
16191         * src/NetworkManagerDevice.c
16192                 - (nm_device_wireless_configure): update for "new_key" param to
16193                         nm_dbus_get_user_key_for_network().  We initially set new_key
16194                         to FALSE to see if we have a stored key in the info-daemon, but
16195                         if the connection is unsuccessful at this stage we request a
16196                         new one
16197
16198 2005-08-17  Dan Williams  <dcbw@redhat.com>
16199
16200         * gnome/applet/icons/nm-no-connection.png
16201           gnome/applet/icons/nm-device-wired.png
16202                 - Use Diana's new RJ45 connector icons
16203
16204 2005-08-17  Dan Williams  <dcbw@redhat.com>
16205
16206         * src/NetworkManagerPolicy.c
16207                 - (nm_policy_device_change_check): clarify switching rules if
16208                         both new and old devices are valid; mainly, don't switch
16209                         away from user-requested wireless connection back to a wired
16210                         one
16211
16212 2005-08-17  Dan Williams  <dcbw@redhat.com>
16213
16214         * gnome/applet/Makefile.am
16215                 - Relocate the applet to /usr/bin since it is no longer
16216                         executed by anything, but directly by the user
16217
16218 2005-08-17  Dan Williams  <dcbw@redhat.com>
16219
16220         Patch from Bill Moss <bmoss@clemson.edu>
16221
16222         * gnome/applet/applet-dbus-info.[ch]
16223                 - (nmi_save_network_info): save timestamp for network if it
16224                         was a change requested by the user
16225                 - (nmi_dbus_update_network_info): get user_requested from dbus
16226                         message and pass to nmi_save_network_info()
16227
16228         * gnome/applet/applet.c
16229                 - (nmwa_update_network_timestamp): remove
16230                 - (nmwa_menu_item_activate): don't set timestamp on networks
16231                         here, only after a successful connect in nmi_save_network_info()
16232
16233         * src/NetworkManagerDbus.[ch]
16234                 - (nm_dbus_update_network_info): pass user_requested into the 
16235                         dbus message
16236
16237         * src/NetworkManagerPolicy.c
16238                 - (nm_policy_activation_finish): pass user_requested to
16239                         nm_dbus_update_network_info()
16240
16241 2005-08-16  Robert Love  <rml@novell.com>
16242
16243         * gnome/applet/applet.c: Better "Dial Up" menu item.
16244
16245 2005-08-16  Robert Love  <rml@novell.com>
16246
16247         * gnome/applet/applet.c: use GTK_STOCK_INFO not PROPERTIES for the
16248           "Connection Information" menu item.
16249
16250 2005-08-16  Dan Williams  <dcbw@redhat.com>
16251
16252         Patch from j@bootlab.org
16253         * vpn-daemons/vpnc/Makefile.am: Fix for autoreconf
16254
16255         * configure.in: allow specifying the path to dhcdbd
16256
16257 2005-08-16  Robert Love  <rml@novell.com>
16258
16259         Patch from j@bootlab.org
16260         * src/backends/NetworkManagerDebian.c, src/backends/interface_parser.c,
16261           src/backends/interface_parser.h: Debian dialup support.
16262
16263 2005-08-16  Christopher Aillon  <caillon@redhat.com>
16264
16265         * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
16266         * gnome/applet/applet.c: Add some mnemonics for VPNC
16267
16268         * vpn-daemons/.cvsignore: fix this up a little bit
16269
16270 2005-08-16  Robert Love  <rml@novell.com>
16271
16272         * src/backends/NetworkManagerSuSE.c: improve the SUSE-backend dial up
16273           support.
16274
16275 2005-08-16  Christopher Aillon  <caillon@redhat.com>
16276
16277         * gnome/applet/applet.c: Split markup out of translatable strings
16278         and clean up logic a little bit.  (fixes #309012)
16279
16280 2005-08-15  Christopher Aillon  <caillon@redhat.com>
16281
16282         * gnome/vpn-properties/nm-vpn-properties.c:
16283         * gnome/vpn-properties/nm-vpn-ui-interface.h:
16284         * vpn-daemons/vpnc/properties/nm-vpnc.c:
16285         Makeshift fix to remove newlines from translatable strings.
16286         Note that we now return an allocated string, so callers of
16287         get_confirmation_details () must now call g_free () on the
16288         result. (fixes #309033).
16289
16290 2005-08-12  Robert Love  <rml@novell.com>
16291
16292         * gnome/applet/applet-dbus.c: remove newlines from translatable
16293           strings--not needed here anyway. (fix b.g.o #309011)
16294         * src/nm-netlink.monitor.c: don't translate "%s" (fix b.g.o #172391)
16295
16296 2005-08-11  Robert Love  <rml@novell.com>
16297
16298         * gnome/applet/applet.c: mark string as translatable.
16299
16300 2005-08-11  Robert Love  <rml@novell.com>
16301
16302         * initscript/SUSE/networkmanager: update.
16303
16304 2005-08-11  Dan Williams  <dcbw@redhat.com>
16305
16306         * src/nm-dhcp-manager.c
16307                 - (nm_dhcp_manager_get_ip4_config): if for some reason we don't get
16308                         an gateway returned from DHCP, try to use the address of the DHCP
16309                         server as the gateway instead.  Found by Ralf Ertzinger.
16310
16311 2005-08-10  Robert Love  <rml@novell.com>
16312
16313         * gnome/applet/applet.c: Make applet->dbus_thread joinable so we can
16314           wait for it on exit; call exit() in nmwa_destroy() to jump ship.
16315
16316 2005-08-10  Dan Williams  <dcbw@redhat.com>
16317
16318         Patch from Bill Moss <bmoss@clemson.edu>
16319         * Consolidate writes of access point information updates to the info daemon
16320                 so that we only do it when the connection to the access point was
16321                 successful.  Also consolidates updates to GConf in the Gnome applet.
16322
16323         * src/nm-netlink-monitor.c
16324                 - Silence compile warning when calling g_object_new()
16325
16326 2005-08-08  Dan Williams  <dcbw@redhat.com>
16327
16328         Patch from Steev <steev@steev.net>:
16329         * src/backends/NetworkManagerGentoo.c
16330                 - Stub new dialup backend functions
16331
16332 2005-08-08  Dan Williams  <dcbw@redhat.com>
16333
16334         Patch from Colin Slater:
16335         * src/backends/NetworkManagerGentoo.c
16336                 - (nm_system_update_dns): Fix exit status check for restarting
16337                         nscd
16338
16339 2005-08-05  Robert Love  <rml@novell.com>
16340
16341         * NetworkManager.h,
16342           gnome/applet/applet-dbus-devices.c,
16343           gnome/applet/applet-dbus-devices.h,
16344           gnome/applet/applet-dbus.c,
16345           gnome/applet/applet.c,
16346           gnome/applet/applet.h,
16347           src/NetworkManager.c,
16348           src/NetworkManagerMain.h,
16349           src/NetworkManagerSystem.h,
16350           src/backends/NetworkManagerRedHat.c,
16351           src/backends/NetworkManagerSuSE.c,
16352           src/nm-dbus-nm.c: basic dialup support using distro infrastructure
16353
16354 2005-08-05  Robert Love  <rml@novell.com>
16355
16356         * gnome/applet/other-network-dialog.c: default the adhoc network to the
16357           machine's hostname to make adhoc creation idiot-proof.
16358
16359 2005-08-04  Robert Love  <rml@novell.com>
16360
16361         * gnome/applet/other-network-dialog.c: fix leak. "label" needs to be
16362           freed.
16363
16364 2005-08-04  Dan Williams  <dcbw@redhat.com>
16365
16366         * gnome/applet/applet-dbus-info.c
16367           gnome/applet/applet-dbus-info.h
16368                 - (nmi_dbus_update_network_auth_method->nmi_save_network_info): generalize
16369                         to store key, key type, and auth method rather than just auth method
16370                 - (nmi_dbus_update_network_info): new function
16371                 - (nmi_dbus_info_message_handler): updateNetworkAuthMethod -> updateNetworkInfo
16372
16373         * gnome/applet/passphrase-dialog.c
16374                 - (nmi_passphrase_dialog_ok_clicked): call nmi_save_network_info() instead
16375                         of saving the info ourselves
16376
16377         * gnome/libnm_glib/libnm_glib.c
16378                 - Remove the stupid version check for dbus
16379
16380         * src/NetworkManagerAP.c
16381           src/NetworkManagerAP.h
16382                 - (nm_ap_get_enc_key_source): return 'const char *' rather than 'char *'
16383
16384         * src/NetworkManagerDbus.c
16385           src/NetworkManagerDbus.h
16386                 - (nm_dbus_update_network_auth_method -> nm_dbus_update_network_info): Update
16387                         more than just the auth method
16388
16389         * src/NetworkManagerDevice.c
16390                 - Update network info at the appropriate times
16391
16392 2005-07-29  Ray Strode  <rstrode@redhat.com>
16393
16394         * src/NetworkManager.c (nm_info_handler): don't use input as format
16395         string (Spotted by Ian Jackson).
16396
16397 2005-07-27  Dan Williams  <dcbw@redhat.com>
16398
16399         * src/nm-dbus-nm.c
16400           src/nm-dbus-net.c
16401                 - Random cleanups of spacing
16402
16403         * gnome/applet/applet.h
16404           gnome/applet/other-network-dialog.c
16405           gnome/applet/passphrase-dialog.c
16406                 - Conslidate usage of NMWAEncryptionKeyTypes enum
16407
16408         Patch from Bill Moss:
16409                 - Make Other Wireless Networks work again with encryption keys
16410
16411 2005-07-26  Dan Williams  <dcbw@redhat.com>
16412
16413         Patch from Steev <steev@steev.net>:
16414         * src/backends/NetworkManagerGentoo.c
16415           src/backends/Makefile.am
16416                 - Fix up Gentoo backend
16417
16418 2005-07-26  Robert Love  <rml@novell.com>
16419
16420         * src/backends/NetworkManagerSuSE.c: misc. cleanup
16421
16422 2005-07-25  Robert Love  <rml@novell.com>
16423
16424         * gnome/applet/applet.c: make the "Wired" menu item a radio button,
16425           in the same group as the wireless networks, since they are all
16426           mutually exclusive.
16427
16428 2005-07-24  Ray Strode  <rstrode@redhat.com>
16429
16430         * src/nm-netlink-monitor.c (nm_netlink_monitor_new): 
16431         remove unneeded NULL arg from g_object_new().  Any
16432         warnings caused by not having the extra NULL are just a
16433         result of a bug in glib 2.7.0 - 2.7.2.
16434
16435 2005-07-22  Robert Love  <rml@novell.com>
16436
16437         * gnome/libnm_glib/libnm_glib.c: support D-BUS version 0.35, too
16438
16439 2005-07-22  Robert Love  <rml@novell.com>
16440
16441         * src/nm-netlink-monitor.c: g_object_new() needs at least three
16442           parameters (gcc 4.0.2 warning fix).
16443
16444 2005-07-18  Robert Love  <rml@novell.com>
16445
16446         Suggested by Aaron Bockover (abockover@novell.com)
16447         * gnome/applet/other-network-dialog.c: ASCII is an acronym, thus
16448           s/Ascii/ASCII
16449         * gnome/applet/passphrase-dialog.c: ditto
16450         * gnome/applet/wireless-applet.glade: ditto
16451
16452 2005-07-13  Dan Williams  <dcbw@redhat.com>
16453
16454         Patch from Ray Strode <halfline@gmail.com>
16455         * vpn-daemons/vpnc/nm-vpnc-service.c
16456                 - Don't let vpnc daemonize, fixes some races with PID file reading
16457
16458 2005-07-13  Dan Williams  <dcbw@redhat.com>
16459
16460         Patch from Ray Strode <halfline@gmail.com>
16461         * Random cleanups for strict CFLAGS
16462
16463 2005-07-07  Dan Williams  <dcbw@redhat.com>
16464
16465         Patch from Derek Atkins <warlord@MIT.EDU>
16466         * src/nm-dbus-net.c:
16467                 - (nm_dbus_get_ap_from_object_path): differentiate similar ESSIDs
16468
16469 2005-07-07  Dan Williams  <dcbw@redhat.com>
16470
16471         Patch from Jos Dehaes <jos_dehaes@fastmail.fm>
16472         * src/backends/NetworkManagerGentoo.c
16473                 - Gentoo backend Static IP nameserver fixes
16474                 - General Gentoo backend goodness
16475
16476 2005-07-07  Dan Williams  <dcbw@redhat.com>
16477
16478         Patch from Bastien Nocera:
16479         * gnome/applet/applet.c
16480                 - Fix up error reporting when icons or glade files are missing
16481
16482 2005-07-07  Robert Love  <rml@novell.com>
16483
16484         * gnome/applet/applet.c: do not draw the VPN menu's seperator if there
16485           are not any VPN connections above it.
16486
16487 2005-07-07  Robert Love  <rml@novell.com>
16488
16489         * gnome/applet/applet.c: whoops, left some "dog" debugging code in.
16490
16491 2005-07-05  Robert Love  <rml@novell.com>
16492
16493         * src/NetworkManagerSystem.c: bail out if asked to set a gateway of
16494           zero.
16495
16496 2005-07-05  Robert Love  <rml@novell.com>
16497
16498         * src/NetworkManagerDevice.c: use link-local (autoip) on DHCP failure
16499           on wired or unencrypted wireless.
16500
16501 2005-07-01  Robert Love  <rml@novell.com>
16502
16503         * src/NetworkManagerSystem.c: Print the error via strerror().
16504
16505 2005-06-30  Robert Love  <rml@novell.com>
16506
16507         * gnome/vpn-properties/nm-vpn-properties.c: display an error dialog and
16508           then exit if the glade file is not found.  currently the application
16509           just hangs.
16510
16511 2005-06-30  Robert Love  <rml@novell.com>
16512
16513         * src/nm-dbus-nm.c: Patch by Bill Moss <bmoss@clemson.edu> to
16514           explicitly up all interfaces on wake from sleep.
16515
16516 2005-06-30  Robert Love  <rml@novell.com>
16517
16518         * gnome/applet/applet.c: Add right-click menu item "Connection Info"
16519           with information about the currently active connection.
16520         * gnome/applet/applet.h: (ditto)
16521         * gnome/applet/wireless-applet.glade: (ditto), new file
16522
16523 2005-06-30  Robert Love  <rml@novell.com>
16524
16525         * src/NetworkManagerDevice.c: g_malloc0 cannot fail.
16526         * src/nm-dbus-nm.c: print when we sleep and wake up.
16527         * gnome/applet/menu-items.c: whitespace, misc. cleanup.
16528         * configure.in: look in "/usr/sbin" for dhcdbd, too. (it shouldn't be
16529           in /sbin unless D-BUS is, folks).
16530         * README: update to reflect nm-applet replacing NetworkManagerInfo.
16531
16532 2005-06-27  Robert Love  <rml@novell.com>
16533
16534         * src/nm-dbus-nm.c: fix "setWirelessEnabled" call for the enabling
16535           case.
16536
16537 2005-06-27  Robert Love  <rml@novell.com>
16538
16539         * gnome/applet/applet.c: make the 'Wireless Network Discovery' menu
16540           items radios.
16541
16542 2005-06-26  Robert Love  <rml@novell.com>
16543
16544         * src/NetworkManagerDevice.c: be specific about which device in
16545           nm_info() message.
16546
16547 2005-06-23  Adam Weinberger  <adamw@gnome.org>
16548
16549         * src/nm-netlink-monitor.c: correct spelling error.
16550
16551 2005-06-23  Robert Love  <rml@novell.com>
16552
16553         * gnome/applet/applet-dbus-info.c: gnome keyring support!
16554         * gnome/applet/passphrase-dialog.c: more of that keyring!
16555
16556 2005-06-23  Robert Love  <rml@novell.com>
16557
16558         * configure.in: remove extraneous GNOMEKEYRING directives.
16559         * gnome/applet/Makefile.am: s/GNOMEKEYRING/GNOME_KEYRING/.
16560         * gnome/applet/applet.c: nmwa_icons_init: make style local.
16561         * gnome/applet/passphrase-dialog.c: whitespace.
16562
16563 2005-06-23  Robert Love  <rml@novell.com>
16564
16565         * src/NetworkManagerDevice.c: division in assignment was flipped.
16566
16567 2005-06-23  David Zeuthen  <david@fubar.dk>
16568
16569         * gnome/applet/vpn-password-dialog.c (child_stdout_data_cb): Send a
16570         signal to the child to indicate that we got what we wanted when we
16571         see two new-lines right after each other.
16572         (nmwa_vpn_request_password): Pass a structure with several members
16573         instead of just the passwords
16574
16575 2005-06-23  Dan Williams <dcbw@redhat.com>
16576
16577         * src/NetworkManager.c
16578           src/NetworkManagerMain.h
16579                 - (nm_get_hal_ctx): new function, move Hal initialization code here
16580                 - (nm_hal_init): new function, init libhal context then add devices
16581                 - (nm_hal_deinit): new function, clean up libhal context
16582                 - (nm_data_free): Move Hal cleanup here
16583                 - (main): check whether Hal is running, and if so, get a list of
16584                         network devices from it
16585
16586         * src/NetworkManagerDbus.c
16587                 - (nm_dbus_signal_filter): trap NameOwnerChanged signals for Hal,
16588                         and when it appears, get a list of network devices from it.  If
16589                         Hal goes away, clean up the libhal context
16590
16591 2005-06-22  Robert Love  <rml@novell.com>
16592
16593         * dispatcher-daemon/NetworkManagerDispatcher.c: fix FIXME: check
16594           permissions of scripts before executing.
16595
16596 2005-06-21  Robert Love  <rml@novell.com>
16597
16598         * initscript/SUSE/networkmanager: update.
16599         * src/backends/NetworkManagerSuSE.c: cleanup.
16600
16601 2005-06-21  Robert Love <rml@novell.com>
16602
16603         * gnome/applet/applet.c: use menu mnemonics.
16604         * gnome/applet/menu-items.c: (ditto)
16605
16606 2005-06-21  Robert Love  <rml@novell.com>
16607
16608         * applet/applet-dbus-devices.c: mark non-static functions static.
16609         * applet/applet-dbus-vpn.c: (ditto)
16610         * applet/applet.c: (ditto)
16611         * applet/nm-device.h: (ditto)
16612         * applet/other-network-dialog.c: (ditto)
16613         * applet/passphrase-dialog.c: (ditto)
16614         * NetworkManager.c: (ditto)
16615         * NetworkManagerDbus.c: (ditto)
16616         * NetworkManagerDevice.c: (ditto)
16617         * NetworkManagerPolicy.c: (ditto)
16618         * NetworkManagerUtils.c: (ditto)
16619         * NetworkManagerWireless.c: (ditto)
16620         * NetworkManagerWireless.h: (ditto)
16621         * nm-netlink-monitor.c: (ditto)
16622         * applet/applet-dbus-info.c: (ditto), add FIXME's.
16623         * vpn-manager/nm-dbus-vpn.c: (ditto), remove shadowed variable.
16624         * autoip.c: include autoip.h.
16625         * autoip.h: new file.  define get_autoip().
16626         * nm-netlink-monitor.h: define nm_netlink_close_connection().
16627         * NetworkManagerDbus.h: remove duplicate definitions.
16628
16629 2005-06-20  Robert Love  <rml@novell.com>
16630
16631         * Makefile.am: Add missing intltool-foo.in generated files to
16632           EXTRA_DIST so that 'distcheck' works.  Also add DISTCLEANFILES
16633           with the start of stuff to cleanup on 'distclea'.
16634         * configure.in: add AC_PROG_INTLTOOL macro so that we do the intltool
16635           stuff right and 'distcheck' works.
16636         * po/POTFILES.in: Remove examples/python/systray/eggtrayicon.c.  If
16637           we keep it, we need to add all of examples/* to EXTRA_DIST and do
16638           Makefile.am for each.  And systray/Makefile needs to be redone.
16639
16640 2005-06-19  Dan Williams <dcbw@redhat.com>
16641
16642         * src/NetworkManagerDevice.c
16643         - (nm_device_wireless_process_scan_results): scan every 20s when
16644           disconnected and scanning is ALWAYS_SCAN or WHEN_UNASSOCIATED
16645
16646 2005-06-19  Dan Williams <dcbw@redhat.com>
16647
16648         * WEXT_DEBUG->IOCTL_DEBUG, extend checking to all ioctl() calls
16649
16650 2005-06-18  Ray Strode <rstrode@redhat.com>
16651
16652         * src/nm-netlink-monitor.c 
16653         (nm_netlink_monitor_event_handler): check for the presence
16654         of either error condition not both. 
16655         
16656         (nm_netlink_monitor_error_handler): emit error signal if
16657         error occurs.
16658
16659         (nm_netlink_monitor_event_handler),
16660         (nm_netlink_monitor_error_handler),
16661         (nm_netlink_monitor_disconnect_handler): if an 
16662         assertion fails disconnect the event handler to prevent 
16663         infinite loops.
16664
16665         * src/nm-netlink-monitor.h: add new error condition
16666         NM_NETLINK_MONITOR_ERROR_WAITING_FOR_SOCKET_DATA
16667
16668 2005-06-18  Ray Strode <rstrode@redhat.com>
16669
16670         * src/nm-netlink-monitor.c 
16671         (nm_netlink_monitor_event_handler): remove bogus < 0
16672         check on unsigned value and return early if the kernel
16673         didn't send any bytes.
16674
16675 2005-06-17  Robert Love  <rml@novell.com>
16676
16677         * initscript/SUSE/networkmanager: Change the Provides and default
16678         run levels
16679
16680 2005-06-16  Dan Williams <dcbw@redhat.com>
16681
16682         Patch from Robert Love:
16683         * gnome/applet/applet.c
16684                 - Beautify some applet menu item names
16685
16686 2005-06-17  David Zeuthen  <davidz@redhat.com>
16687
16688         * gnome/vpn-properties/nm-vpn-ui-interface.h: Require users of this
16689         API to define NM_VPN_API_SUBJECT_TO_CHANGE to acknowledge API churn.
16690         Also add new methods can_export, import_file and export.
16691
16692         * gnome/vpn-properties/nm-vpn-properties.glade: Add an Export button
16693         to the main UI
16694
16695         * gnome/vpn-properties/nm-vpn-properties.c:
16696         Define NM_VPN_API_SUBJECT_TO_CHANGE so we can actually include
16697         nm-vpn-ui-interface.h.
16698         (update_edit_del_sensitivity): Also update "Export" sensitivity
16699         (add_vpn_connection): Also add new SVC_NAME column
16700         (import_settings): New function
16701         (retrieve_data_from_selected_connection): New function
16702         (edit_cb): Use retrieve_data_from_selected_connection to simplify
16703         this function
16704         (export_cb): New function
16705         (init_app): Also setup the "export" widget
16706         (main): Support the --import-service and --import-file commandline
16707         arguments
16708
16709         * gnome/libnm_glib/libnm_glib.c (libnm_glib_dbus_filter): Also support
16710         D-BUS 0.34
16711
16712 2005-06-16  Dan Williams <dcbw@redhat.com>
16713
16714         Patch from Robert Love:
16715         * gnome/applet/menu-items.c
16716                 - (network_menu_item_new): pass -1 as wireless network
16717                         menu items height size request rather than ascent / 2
16718
16719 2005-06-16  Dan Williams <dcbw@redhat.com>
16720
16721         * Clean up wording in Wireless Scan Methods menu items and constants
16722
16723 2005-06-16  Robert Love  <rml@novell.com>
16724
16725         * po/POTFILES.in
16726                 - remove gtkcell* files
16727
16728 2005-06-15  Dan Williams <dcbw@redhat.com>
16729
16730         Patch from Robert Love: make the applet stetic
16731
16732         * gnome/applet/Makefile.am
16733                 - Don't compile the gtkcellview and gtkcellrendererprogress files
16734
16735         * gnome/applet/gtkcellview.h
16736           gnome/applet/gtkcellview.c
16737           gnome/applet/gtkcellrendererprogress.h
16738           gnome/applet/gtkcellrendererprogress.c
16739                 - Removed
16740
16741         * gnome/applet/menu-items.c
16742                 - Progress bars are 5:1 size ratio
16743                 - Use GTK progress bars rather than internal ones
16744
16745 2005-06-15  Dan Williams <dcbw@redhat.com>
16746
16747         Patch from Robert Love:
16748         * initscript/SUSE/networkmanager
16749                 - Fix typo
16750
16751 2005-06-15  Dan Williams <dcbw@redhat.com>
16752
16753         * src/backends/NetworkManagerSuSE.c
16754           src/backends/NetworkManagerRedHat.c
16755           src/backends/NetworkManagerDebian.c
16756                 - (set_ip4_config_from_resolv_conf): Fix typo I made, '==' -> '='
16757
16758 2005-06-15  Dan Williams <dcbw@redhat.com>
16759
16760         * src/backends/NetworkManagerDebian.c
16761                 - Add nm_system_device_get_use_dhcp() to debian backend
16762
16763         Patch from Kay Sievers:
16764         * src/backends/NetworkManagerSuSE.c
16765                 - Update debian backend for static IP nameservers
16766
16767         * src/NetworkManagerDevice.c
16768                 - Actually set the device to use static IP or DHCP rather
16769                         than always DHCP
16770
16771 2005-06-15  Dan Williams <dcbw@redhat.com>
16772
16773         Patch from Thom May:
16774         * src/backends/NetworkManagerDebian.c
16775                 - Update debian backend for static IP nameservers
16776
16777 2005-06-15  Dan Williams <dcbw@redhat.com>
16778
16779         Patches from Robert Love:
16780         * gnome/applet/wireless-applet.glade
16781                 - Tighten up wording
16782
16783         * src/NetworkManagerDevice.c
16784                 - Remove misplaced ';'
16785
16786         * configure.in
16787           initscript/Makefile.am
16788           initscript/SUSE/Makefile.am
16789           initscript/SUSE/networkmanager
16790                 - Add SUSE initscript
16791
16792 2005-06-12  David Zeuthen  <davidz@redhat.com>
16793
16794         * gnome/vpn-properties/nm-vpn-ui-interface.h: New file
16795
16796         * gnome/vpn-properties/nm-vpn-properties.glade: New file
16797
16798         * gnome/vpn-properties/nm-vpn-properties.c: New file
16799
16800         * gnome/vpn-properties/Makefile.am: New file
16801
16802         * src/vpn-manager/nm-vpn-manager.h: Rework prototypes to take an
16803         array of passwords
16804
16805         * src/vpn-manager/nm-vpn-manager.c
16806         (nm_vpn_manager_activate_vpn_connection): Take an array of passwords
16807         instead of just a single one
16808
16809         * src/vpn-manager/nm-dbus-vpn.c:
16810         (nm_dbus_vpn_get_vpn_connection_properties): Also append service_name
16811         here
16812         (nm_dbus_vpn_activate_connection): Rework to take an array of passwords
16813
16814         * gnome/applet/vpn-password-dialog.h (nmwa_vpn_request_password): 
16815         Change the interface here to give a list of passwords. Also, don't
16816         require username, but do require service
16817
16818         * gnome/applet/vpn-password-dialog.c: Look up the VPN .name files for
16819         the binary for the auth-dialog and use that instead of putting up a
16820         dialog asking for a single password
16821
16822         * gnome/applet/vpn-connection.[ch]: Don't remember the user_name,
16823         however do remember the service
16824
16825         * gnome/applet/main.c (main): Setup i18n
16826
16827         * gnome/applet/applet.c (nmwa_update_state): Add a line "VPN
16828         connection to '%s'" to the tooltip if we are connected using VPN
16829         (nmwa_menu_vpn_item_activate): Check last_attempt_success gconf
16830         key to determine whether we the auth-dialog needs to
16831         reprompt. Also cope with the fact that the auth-dialog now returns
16832         an array of passwords.
16833         (nmwa_menu_configure_vpn_item_activate): New handler for
16834         "Configure VPN..." menu item
16835         (nmwa_menu_add_vpn_menu): Add the "Configure VPN..." menu item
16836         (is_vpn_available): New function to determine if we got any
16837         NM-compatible VPN software installed
16838         (nmwa_menu_add_devices): Use is_vpn_available to add VPN menu
16839         items only if we have NM-compatible VPN software installed
16840         (nmwa_gconf_vpn_connections_notify_callback): Slightly rework the
16841         logic for detecting when VPN connections are removed
16842
16843         * gnome/applet/applet-dbus.h: Removed the prototypes for 
16844         nmwa_dbus_vpn_activate_connection, nmwa_dbus_vpn_deactivate_connection
16845         since these are defined elsewhere
16846
16847         * gnome/applet/applet-dbus.c (set_vpn_last_attempt_status): New
16848         function used to keep track of whether the last attempt succeded
16849         (nmwa_dbus_filter): Update last_attempt according to whether the
16850         VPN connection could be established or not
16851
16852         * gnome/applet/applet-dbus-vpn.h (nmwa_dbus_vpn_deactivate_connection): 
16853         Change prototype to take an array of passwords, not just a single
16854         password
16855
16856         * gnome/applet/applet-dbus-vpn.c (nmwa_dbus_vpn_properties_cb): Only
16857         update service, not user
16858         (nmwa_dbus_vpn_remove_one_vpn_connection): Check that applet->
16859         dbus_active_vpn_name is not NULL before using it
16860         (nmwa_dbus_vpn_activate_connection): Send the passwords as a
16861         string array instead of assuming a single password
16862
16863         * gnome/applet/applet-dbus-info.c:
16864         (nmi_dbus_get_vpn_connection_properties): Use the logged in user for
16865         user name; don't read from gconf
16866
16867         * gnome/applet/Makefile.am: Also export SYSCONFDIR and 
16868         VPN_NAME_FILES_DIR
16869
16870         * gnome/Makefile.am (SUBDIRS): Add vpn-properties
16871
16872         * configure.in: Add checks for gmodule-2.0.
16873         Generate gnome/vpn-properties/Makefile. Don't generate any Makefile's
16874         in vpn-daemons nor vpn-daemons/vpnc. We have separate autotooled
16875         projects under vpn-daemons now.  See vpn-daemons/vpnc/Changelog
16876         for details
16877
16878         * vpn-daemons/Makefile.am: Removed
16879
16880         * vpn-daemons/README: New file to describe extensions points for VPN
16881         software
16882
16883 2005-06-10  Dan Williams <dcbw@redhat.com>
16884
16885         * src/backends/NetworkManagerRedHat.c
16886                 - (get_current_profile_name): new function, grab current network profile name from
16887                         /etc/sysconfig/network
16888                 - (set_ip4_config_from_resolv_conf): new function, parse a resolv.conf and
16889                         update an IP4 Config structure's settings from it
16890                 - (nm_system_device_get_system_config): if we're using static IP on this device,
16891                         get DNS info from current network profile
16892
16893 2005-06-09  Dan Williams <dcbw@redhat.com>
16894
16895         Patch from Robert Love:
16896         * src/NetworkManagerDevice.c
16897           src/NetworkManagerUtils.c
16898                 - 64-bit build fixes
16899
16900 2005-06-09  Dan Williams <dcbw@redhat.com>
16901
16902         Patch from Kay Sievers and Robert Love:
16903         * configure.in
16904           src/backends/Makefile.am
16905           src/backends/NetworkManagerSuSE.c
16906                 - Add SuSE support
16907
16908 2005-06-09  Dan Williams <dcbw@redhat.com>
16909
16910         * NetworkManager.h
16911                 - Add NMWirelessScanMethod enum for scan methods
16912
16913         * gnome/applet/applet-dbus-devices.c
16914                 - (nmwa_dbus_update_scanning_enabled_cb): remove
16915                 - (nmwa_dbus_update_scanning_enabled): remove
16916                 - (nmwa_dbus_update_devices): don't call nmwa_dbus_update_scanning_enabled() anymore
16917                         since it got removed
16918                 - (nmwa_dbus_enable_scanning): remove
16919
16920         * gnome/applet/applet-dbus-info.c
16921                 - (nmi_dbus_signal_update_scan_method): new function, signal NetworkManager to
16922                         update the wireless scanning method from NMI
16923                 - (nmi_dbus_get_wireless_scan_method): new function, return wireless scanning
16924                         method value to NetworkManager
16925                 - (nmi_dbus_info_message_handler): respond to the "getWirelessScanMethod" method call
16926
16927         * gnome/applet/applet-dbus-info.h
16928                 - Add prototype for nmi_dbus_signal_update_scan_method
16929
16930         * gnome/applet/applet.c
16931                 - (scanning_menu_update): new function, update one GtkCheckMenuItem from the
16932                         Wireless Scanning menu based on current wireless scan method
16933                 - (nmwa_menu_scanning_item_activate): new function, callback for GTK "activate"
16934                         signal for Wireless Scanning menu items, tell NetworkManager the new method
16935                         and update our menu items to make sure the right one is checked
16936                 - (nmwa_set_scanning_enabled_cb): remove
16937                 - (nmwa_context_menu_update): remove references to pause_scanning_item
16938                 - (nmwa_context_menu_create): remove pause_scanning_item, and add new Wireless
16939                         Scanning menu item
16940                 - (nmwa_gconf_get_wireless_scan_method): new method, pull wireless scanning method
16941                         from GConf
16942                 - nmwa_gconf_networks_notify_callback -> nmwa_gconf_info_notify_callback: generalize
16943                         so we get notified of preference values too
16944                 - (nmwa_get_instance): monitor GCONF_PATH_WIRELESS rather than GCONF_PATH_WIRELESS_NETWORKS
16945
16946         * gnome/applet/applet.h
16947                 - GCONF_PATH_WIRELESS added, one level below GCONF_PATH_WIRELESS_NETWORKS
16948                 - Add wireless scan method member to applet data
16949                 - Remove pause_scanning_item, add Wireless Scanning submenu
16950
16951         * src/NetworkManager.c
16952                 - (nm_data_new): default to NM_SCAN_METHOD_ON
16953                 - (main): grab scanning method from NMI if we can
16954
16955         * src/NetworkManagerDbus.c
16956                 - (nm_dbus_update_wireless_scan_method_cb): new function, callback from
16957                         nm_dbus_update_wireless_scan_method()
16958                 - (nm_dbus_update_wireless_scan_method): new function to grab scanning method
16959                         from NMI
16960                 - (nm_dbus_nmi_is_running): redundant function, removed
16961                 - (nm_dbus_signal_filter): trap "WirelessScanMethodUpdate" signal, grab scanning method
16962                         when NMI comes back
16963
16964         * src/NetworkManagerDevice.c
16965                 - (nm_device_is_activated): return TRUE if the device is activated
16966                 - (nm_device_wireless_scan): don't scan if the scan method is OFF, or if its AUTO
16967                         and we are activated
16968
16969         * src/nm-dbus-nm.c
16970                 - (nm_dbus_nm_set_scanning_enabled): removed
16971                 - nm_dbus_nm_get_scanning_enabled -> nm_dbus_nm_get_wireless_scan_method
16972                 - (nm_dbus_nm_methods_setup): remove [get | set] ScanningEnabled and add "getWirelessScanMethod"
16973
16974 2005-06-09  Dan Williams <dcbw@redhat.com>
16975
16976         * NetworkManager.h
16977           src/vpn-manager/nm-vpn-service.c
16978                 - NM_VPN_STATE_ERROR -> NM_VPN_STATE_UNKNOWN (more consistent with other enums)
16979
16980 2005-05-27  Dan Williams <dcbw@redhat.com>
16981
16982         * vpn-daemons/vpnc/nm-vpnc-service.c
16983                 - (vpnc_watch_cb): wait a bit before trying to read vpnc's pidfile.
16984                         Should fix the bug where the VPN connection terminates the first time.
16985
16986 2005-05-20  Dan Williams <dcbw@redhat.com>
16987
16988         * NetworkManager.h
16989                 - Differentiate VPN config signals between bad VPN config options
16990                         and bad IP config
16991
16992         * gnome/applet/applet-dbus-info.h
16993                 - Add prototypes for wireless network and vpn connection update functions
16994
16995         * gnome/applet/applet-dbus.c
16996                 - (nmwa_dbus_filter): trap new VPN config error signals from NetworkManager
16997
16998         * gnome/applet/applet.c
16999                 - (nmwa_schedule_vpn_failure_dialog): new dialog text for new VPN config
17000                         error signals
17001                 - (nmwa_gconf_networks_notify_cb): re-enable wireless network change notify
17002                         propogation to NetworkManager
17003                 - (nmwa_gconf_vpn_connections_notify_cb): re-enable vpn connection change
17004                         notify propogation to NetworkManager
17005
17006         * src/NetworkManagerDbus.c
17007                 - (nm_dbus_update_one_allowed_network): make sure to specify which AP list we
17008                         are updating so a network can be removed from it if necessary
17009
17010         * src/vpn-manager/nm-vpn-manager.c
17011                 - (nm_vpn_manager_process_signal): trap new vpn config error signals
17012
17013         * vpn-daemons/vpnc/nm-vpnc-service.c
17014                 - (nm_vpnc_dbus_signal_failure): generalize function for all VPN error signals
17015                 - (nm_vpnc_dbus_signal_launch_failed): remove
17016                 - (nm_vpnc_dbus_signal_connect_failed): remove
17017                 - (nm_vpnc_helper_timer_cb): update for new generalized error signal function
17018                 - (nm_vpnc_schedule_helper_timer): increase timeout to 10s
17019                 - (vpnc_watch_cb): don't whine about exit code if vpnc exited cleanly, update
17020                         for new generalized error signal function, remove config file stuff
17021                 - (nm_vpnc_start_vpnc_binary): grab a stdin pipe to vpnc after spawning it so
17022                         we can write configuration options to it
17023                 - (nm_vpnc_config_file_generate): removed
17024                 - (nm_vpnc_config_write): write configuration options to the vpnc stdin pipe
17025                 - (nm_vpnc_config_options_validate): validate the config options we receive
17026                         from NetworkManager to block potential exploits
17027                 - (nm_vpnc_dbus_handle_start_vpn): call option validation function before
17028                         starting vpnc
17029                 - (nm_vpnc_dbus_process_helper_config_error): actually propogate config error
17030                         to NetworkManager
17031
17032 2005-05-16  Dan Williams  <dcbw@redhat.com>
17033
17034         * vpn-daemons/vpnc/nm-vpnc-service-vpnc-helper.c
17035                 - (main): Work correctly with vpnc 0.3.3 by exiting if the "reason" code
17036                         is not "connect"
17037
17038 2005-05-16  Dan Williams  <dcbw@redhat.com>
17039
17040         Patch from Tomislav Vujec <tvujec@redhat.com>
17041         * gnome/applet/applet-dbus-info.c
17042                 - (nmi_dbus_get_vpn_connection_routes): new function, pull routes out of
17043                         GConf and pass them to NetworkManager.  New key is 'routes' under
17044                         the VPN connection, and should be a string list
17045
17046         * src/NetworkManagerSystem.c
17047                 - (nm_system_vpn_device_set_from_ip4_config): if user-defined routes exist,
17048                         set them on the device when we set the rest of the VPN config.  Ensure
17049                         they are in the correct format since they are passed directly to the
17050                         command line.
17051
17052         * src/backends/NetworkManagerRedHat.c
17053           src/backends/NetworkManagerDebian.c
17054                 - (nm_system_device_add_route_via_device_with_iface): new function
17055
17056         * src/vpn-manager/nm-dbus-vpn.c
17057                 - (nm_dbus_vpn_get_routes): grab VPN routes from NetworkManagerInfo
17058
17059         * src/vpn-manager/nm-vpn-manager.c
17060                 - (nm_vpn_manager_handle_ip4_config_signal): grab routes from NMI and pass
17061                         them into the IP4 config functions
17062
17063 2005-05-15  Dan Williams  <dcbw@redhat.com>
17064
17065         From Filip Miletic:
17066         * po/sr.po
17067           po/sr@Latn.po
17068           configure.in
17069                 - Serbian translation added
17070
17071 2005-05-15  Dan Williams  <dcbw@redhat.com>
17072
17073         * dispatcher-daemon/NetworkManagerDispatcher.c
17074                 - (main): sync arguments with NetworkManager and the applet, now use
17075                         "--no-daemon" rather than "daemon=no"
17076                 - (nmd_print_usage): Fix script path in usage message
17077
17078 2005-05-15  Dan Williams  <dcbw@redhat.com>
17079
17080         * src/NetworkManagerDevice.[ch]
17081           src/NetworkManagerPolicy.c
17082           src/NetworkManager.c
17083           src/nm-dbus-nm.c
17084                 - Remove the "just_added" parameter from nm_device_deactivate().  We no
17085                         longer send the DeviceNoLongerActive signal unconditionally, but only
17086                         when the device is actually active.
17087
17088         * dispatcher-daemon/NetworkManagerDispatcher.c
17089                 - (nmd_execute_scripts): convert to GLib directory functions from opendir(),
17090                         and simplify the logic
17091                 - (nmd_get_device_name): copy value from dbus reply so we don't segfault when
17092                         we free it later on
17093
17094         * initscript/RedHat/Makefile.am
17095           initscript/RedHat/NetworkManagerDispatcher
17096                 - Add initscript for NetworkManagerDispatcher
17097
17098
17099         Patch from Bill Moss:
17100         * dispatcher-daemon/NetworkManagerDispatcher.c
17101                 - Remove IP4AddressChange signal code including nmd_get_device_ip4_address()
17102
17103         * src/NetworkManagerDbus.c
17104                 - (nm_dbus_signal_device_ip4_address_change): remove.  If the device goes up,
17105                         and DeviceNowActive gets signaled, then the device has a new IP address
17106                         anyway.  There's no need for a separate signal.
17107
17108         * src/NetworkManagerDevice.c
17109                 - (nm_device_update_ip4_address): Don't send IP4AddressChange signal
17110
17111         * src/NetworkManagerPolicy.c
17112                 - (nm_policy_activation_finish): Send DeviceNowActive signal when the device
17113                         activates successfully.  This kind of went missing when I reworked the
17114                         activation code.
17115
17116 2005-05-15  Dan Williams  <dcbw@redhat.com>
17117
17118         * configure.in
17119                 - Check for dhcdbd and error if its not found
17120
17121         * src/dhcp-manager/Makefile.am
17122           src/dhcp-manager/nm-dhcp-manager.c
17123                 - Use path to dhcdbd that configure found
17124
17125 2005-05-14  Dan Williams  <dcbw@redhat.com>
17126
17127         * gnome/applet/nm-device.c
17128                 - (network_device_sort_wireless_networks, sort_networks_function): New functions to
17129                         sort wireless networks alphabetically
17130
17131         * gnome/applet/applet-dbus-devices.c
17132                 - (mwa_dbus_devices_lock_and_copy): Sort network device's wireless network lists
17133                         before copying them over to the GUI
17134
17135 2005-05-14  Dan Williams  <dcbw@redhat.com>
17136
17137         * src/NetworkManager.c
17138                 - (device_stop_and_free): Deactivate VPN connections before deactivating devices,
17139                         fixes a deadlock on shutdown with a VPN connection active.  This function locks
17140                         the device list, as does nm_get_active_device() which is called from
17141                         nm_vpn_manager_deactivate_vpn_connection().
17142
17143 2005-05-14  Dan Williams  <dcbw@redhat.com>
17144
17145         * NetworkManager.h
17146                 - Add signals for VPN Launch and Connect failures
17147
17148         * gnome/applet/applet-dbus.c
17149                 - (nmwa_dbus_filter): Trap new VPN launch & connect failure signals
17150
17151         * gnome/applet/applet.c
17152                 - (nmwa_show_vpn_failure_dialog): generalize old nmwa_show_vpn_login_failure_dialog()
17153                         function to handle all VPN failure messages
17154                 - (nmwa_schedule_vpn_failure_dialog): generalize old  nmwa_schedule_vpn_login_failure_dialog()
17155                         function to hanlde all VPN failure  messages
17156                 - (show_warning_dialog): work around focus-stealing prevention
17157
17158         * gnome/applet/other-network-dialog.c
17159           gnome/applet/passphrase-dialog.c
17160                 - (update_button_cb): Make sure the OK button is enabled when it should be, fixes
17161                         problem where it never enabled for ASCII Key and Hex Key types
17162
17163         * gnome/applet/wireless-applet.glade
17164                 - Add window title to Other Wireless Network Dialog
17165
17166         * src/vpn-manager/nm-dbus-vpn.c
17167                 - (nm_dbus_vpn_signal_vpn_failed): generalize old nm_dbus_vpn_signal_vpn_login_failed()
17168                         function to handle all VPN failure messages
17169
17170         * src/vpn-manager/nm-vpn-manager.c
17171                 - (nm_vpn_manager_process_signal): trap and proxy VPN launch & connect failure signals too
17172
17173         * vpn-daemons/vpnc/nm-vpnc-service.c
17174                 - (nm_vpnc_dbus_signal_launch_failed): new function
17175                 - (nm_vpnc_dbus_signal_connect_failed): new function
17176                 - (nm_vpnc_helper_timer_cb): signal connect failure on timeout
17177                 - (vpnc_watch_cb): signal connection failure when vpnc exits with connection failure
17178                 - (nm_vpnc_start_vpnc_binary): search a number of locations for vpnc
17179                 - (nm_vpnc_dbus_handle_start): send launch failure signal when we fail to launch vpnc
17180
17181 2005-05-11  Dan Williams  <dcbw@redhat.com>
17182
17183         * vpn-daemons/vpnc/nm-vpnc-service.c
17184                 - (nm_vpnc_start_vpnc_binary): NULL-ify GError before using it
17185                 - (nm_vpnc_config_file_generate): Attempt to ensure that the path for the config
17186                         file exists before trying to write it out.
17187
17188 2005-05-10  Dan Williams  <dcbw@redhat.com>
17189
17190     * gnome/applet/applet-dbus-device.c
17191         - (nmwa_dbus_set_device): remove check for valid key and key type, which 
17192             prevented just entering ESSID and leaving key and key type up to
17193             NetworkManager (which should have them already cached)
17194
17195 2005-05-08  Dan Williams  <dcbw@redhat.com>
17196
17197         * src/NetworkManagerPolicy.c
17198                 - (nm_policy_activation_finish): Don't set NM_ACT_STAGE_ACTIVATED here, instead...
17199                 - (nm_policy_schedule_activation_finish): Set NM_ACT_STAGE_ACTIVATED here to
17200                         fix a situation where NM is told to terminate and the device stops activation,
17201                         but the main thread isn't aware of that because it would never have run
17202                         nm_policy_activation_finish() to set the ACTIVATED flag, because the main loop
17203                         had already quit.
17204
17205         * src/NetworkManagerDevice.c
17206                 - (nm_device_probe_wired_link_state): cosmetic fixes
17207                 - (nm_device_activate_stage5_ip_config_commit): Don't check link state if
17208                         we've failed to activate or been canceled.
17209                 - (nm_ac_test): nm_debug -> nm_info for "waiting for device to cancel" message
17210
17211 2005-05-08  Dan Williams  <dcbw@redhat.com>
17212
17213         * src/NetworkManagerWireless.c
17214                 - (nm_wireless_qual_to_percent): Fix #if -> #ifdef, print out the "updated"
17215                         value of WEXT quality structures, and add a debug message when we cannot
17216                         determine any quality % at all
17217
17218 2005-05-08  Dan Williams  <dcbw@redhat.com>
17219
17220         * src/dhcp-manager/nm-dhcp-manager.c
17221                 - (nm_dhcp_manager_begin_transaction): Tell dhclient to release leases when
17222                         it goes down.
17223
17224 2005-05-06  Dan Williams  <dcbw@redhat.com>
17225
17226         * gnome/applet/applet-dbus-device.c
17227           gnome/applet/applet-dbus-info.c
17228           gnome/applet/applet-dbus.c
17229           gnome/applet/applet.c
17230           gnome/applet/applet.h
17231                 - (nmwa_get_device_for_nm_device) -> (nmwa_get_device_for_nm_path)
17232
17233         * gnome/applet/applet-dbus.c
17234                 - (nmwa_dbus_filter): trap DeviceCarrierOn/DeviceCarrierOff signals
17235                         so we notice when wired device's carriers come back on.  Should
17236                         fix issue with wired devices being grayed out even if the cable
17237                         is in, for devices that support carrier detection.
17238
17239         * gnome/applet/applet.c
17240                 - (nmwa_driver_notify): bash focus-stealing prevention in the face
17241                 - (nmwa_act_stage_to_pixbuf): Clarify wireless ACT_STAGE_DEVICE_CONFIG
17242                         tooltip message
17243                 - (nmwa_menu_item_activate, nmwa_menu_add_device_item, nmwa_menu_item_data_free):
17244                         Fix situation where applet wouldn't respond to menu selections
17245
17246         * src/NetworkManager.c
17247           src/NetworkManagerDevice.c
17248           src/NetworkManagerDbus.c
17249           src/NetworkManagerDbus.h
17250                 - (nm_dbus_signal_device_status_change) -> (nm_dbus_schedule_device_status_change_signal)
17251
17252         * src/NetworkManagerDbus.c
17253                 - (nm_dbus_send_network_not_found, nm_dbus_schedule_network_not_found_signal):
17254                         Remove, no longer used or relevant
17255                 - (nm_dbus_signal_device_status_change): Better signal enum->string matching
17256                 - (nm_dbus_schedule_device_status_change_signal): add
17257
17258         * src/NetworkManagerDevice.c
17259                 - (nm_device_worker_thread_stop): don't try to join a NULL worker thread
17260                 - (nm_device_set_link_active): Fix up switching for non-carrier-detect devices,
17261                         ie don't deactivate them unless explicitly told to by the user.  Also send
17262                         CARRIER_OFF / CARRIER_ON signals when link changes
17263                 - (nm_device_set_essid, nm_device_set_enc_key, nm_device_is_up, nm_device_set_mode):
17264                         Don't print error message when device is no longer around
17265                 - (nm_device_deactivate): kill any current DHCP process attached to this device,
17266                         not just during activation
17267
17268         * src/NetworkManagerPolicy.c
17269                 - (nm_policy_auto_get_best_device): Ignore semi-supported devices completely from
17270                         auto-device-selection.
17271                 - (nm_policy_device_change_check): Don't interrupt semi-supported devices
17272
17273         * src/NetworkManagerSystem.c
17274                 - (nm_system_device_set_up_down_with_iface): Quiet first warning message when device
17275                         is no longer present (Bill Moss)
17276
17277         * src/backends/shvar.c
17278                 - (svOpenFile): Open read-only to make SELinux happy
17279
17280         * src/backends/NetworkManagerRedHat.c
17281                 - (nm_system_device_get_system_config): Use SYSCONFDIR rather than hardcoding
17282                         the path to the ifcfg-* files
17283
17284 2005-05-05  Dan Williams  <dcbw@redhat.com>
17285
17286         * Expose activation stages to NetworkManager clients, like the applet
17287         * Add Diana's progress icons to the applet, cued off NM activation stage
17288         * Use more descriptive tooltips, cued off NM activation stage
17289
17290 2005-05-05  Ray Strode  <rstrode@redhat.com>
17291
17292         * src/nm-netlink-monitor.c:
17293                 - Use clear_event_source instead of g_nullify_pointer() again.
17294
17295 2005-05-05  Dan Williams  <dcbw@redhat.com>
17296
17297         * gnome/applet/main.c
17298                 - Fix session management so the applet is actually managed now
17299
17300         * gnome/applet/passphrase-dialog.c
17301                 - (nmi_passphrase_dialog_show): bash focus-stealing prevention in the face
17302
17303 2005-05-05  Dan Williams  <dcbw@redhat.com>
17304
17305         Patch from Bill Moss:
17306         * gnome/libnm_glib/libnm_glib.c
17307                 - Fix for dbus-0.33
17308
17309 2005-05-05  Dan Williams  <dcbw@redhat.com>
17310
17311         Suggestion from Bill Moss:
17312         * src/NetworkManagerSystem.c
17313                 - (nm_system_device_set_up_down_with_iface): ignore ENODEV
17314
17315
17316         * src/NetworkManager.c
17317                 - (nm_data_free): move destruction of the various managers after
17318                         release of device list, because deactivating and freeing a device
17319                         requires at least the named manager
17320                 - (nm_poll_and_update_wireless_link_state):
17321                   (nm_device_link_activated):
17322                   (nm_device_link_deactivated):
17323                         don't grab the device list lock when actually updating device
17324                         link status or strength, since nm_device_set_link_active()
17325                         needs to call nm_get_active_device(), which also locks the device list.
17326
17327         * src/NetworkManagerDevice.c
17328                 - (nm_device_set_link_active): if a device's link switches from off->on,
17329                         and it's wired, and the active device is wireless (or there is no
17330                         active device), activate the new device whose link just came on
17331                 - (link_to_specific_ap): try to smooth over intermittency in wireless links
17332                         my only calling the link to the current ap "failed" when more than 2
17333                         consecutive link checks have failed
17334
17335 2005-05-04  Dan Williams  <dcbw@redhat.com>
17336
17337         * src/NetworkManagerDevice.c
17338                 - (nm_device_probe_wireless_link_state): don't lock the scan mutex here
17339                         but let link_to_specific_ap() do the locking where it needs
17340
17341         Patch from Bill Moss:
17342         * src/NetworkManagerSystem.c
17343                 - Set MTU of VPN devices to 1412
17344
17345 2005-05-04  Dan Williams  <dcbw@redhat.com>
17346
17347         * Remove NM_STATE_SCANNING from NetworkManager.h and applet code
17348
17349         * Fix some holes in device activation and retaining the currently connected
17350                 access point
17351
17352 2005-05-03  Dan Williams  <dcbw@redhat.com>
17353
17354         * Kill dhcpcd.  We now use "dhcdbd", a dbus daemon that controls dhclient.
17355           This means that NetworkManager shouldn't have DHCP issues anymore.  It also
17356           means you need dhcdbd, which you can get here (get the latest one):
17357
17358                 http://people.redhat.com/jvdias/dhcdbd/
17359
17360           Technically NetworkManager can use any DHCP daemon that uses the same DBUS
17361           interface as dhcdbd.
17362
17363         * Rewrite device activation to facilitate the new DHCP infrastructure and
17364           future improvements.  Its now "activation request" based, ie there is a single
17365           activation request composed of the device, access point, and other info which
17366           follows the entire activation process.  There are 5 stages of the activation
17367           process which correspond to:
17368
17369                 1) Device preparation
17370                 2) Device configuration (bring it up, set ESSID/Key/etc)
17371                 3) IP Config Start (fire off DHCP if we're using it)
17372                 4) IP Config Get (grab config from DHCP or static config files)
17373                 5) IP Config Commit (set device's IP address, DNS, etc)
17374
17375           Note that there is no longer a "scanning" step, since the access point must
17376           be known _before_ activation starts.  If the access point drops out or does
17377           not exist for some reason, the entire activation process fails and must be
17378           restarted for a different access point or device.
17379
17380         Patch from Bill Moss:
17381         * gnome/applet/applet.c
17382                 - Fix type of vpn_failure dialog -> vpn_banner dialog
17383
17384 2005-04-27  Dan Williams  <dcbw@redhat.com>
17385
17386         * gnome/applet/applet-dbus-vpn.c
17387           gnome/applet/applet.c
17388           gnome/applet/applet.h
17389                 - Fix up active VPN handling so that we reliably know when a VPN
17390                         connection has been deactivated
17391
17392         * src/vpn-manager/nm-vpn-manager.c
17393                 - Remove duplicate VPNConnectionChange signal
17394
17395 2005-04-27  Dan Williams  <dcbw@redhat.com>
17396
17397         Patch from Peter Jones:
17398         * Remove usage of varargs to fix crashes on PPC (RH #154336)
17399
17400         Patch from Bill Moss:
17401         * src/NetworkManagerSystem.c
17402                 - Fix checking of return value from ioctl()
17403
17404 2005-04-27  Dan Williams  <dcbw@redhat.com>
17405
17406         * Fix choosing of wireless networks and "Other wireless network..." from the applet
17407         * Warn and exit if icons cannot be found
17408
17409 2005-04-27  Dan Williams  <dcbw@redhat.com>
17410
17411         Patch from Tom Parker:
17412         * Update debian backend
17413
17414 2005-04-27  Dan Williams  <dcbw@redhat.com>
17415
17416         * Merge the applet and the info-daemon, and move the converged
17417                 applet under gnome/applet
17418         * Move libnm_glib to gnome/libnm_glib
17419         * Convert most dbus calls between the applet, info-daemon, and NM
17420                 into async calls
17421         * Fix a few things valgrind noticed
17422         * Make NM broadcast state more reliably
17423
17424 2005-04-22  Pawan chitrakar  <pawan@nplinux.org>
17425
17426         * configure.in: Added ne in ALL_LINGUAS
17427
17428 2005-04-15  Dan Williams  <dcbw@redhat.com>
17429
17430         * libnm_glib/libnm_glib: Fix up for dbus-0.32, and remove
17431                 code for dbus 0.2x versions
17432
17433 2005-04-15  Dan Williams  <dcbw@redhat.com>
17434
17435         Patches from Tom Parker:
17436         - Fix memleaks
17437         - Join with worker thread rather than polling for its exit
17438
17439         Patch from Bill Moss:
17440         - Cull duplicate ESSIDs from the scan list, taking highest strength AP
17441
17442 2005-04-15  Dan Williams  <dcbw@redhat.com>
17443
17444         - Fixes to pass 'make distcheck'
17445
17446 2005-04-15  Dan Williams  <dcbw@redhat.com>
17447
17448         Initial VPN Support
17449                 - supports 'vpnc'
17450                 - reworks device IP configuration, backend files have changed and will need
17451                         to be updated for all distributions.  I will try to do what I can for
17452                         them, but I cannot test them.
17453
17454         - Move named directory to src/named-manager
17455         - Make backends directory self-contained
17456
17457 2005-04-06  Dan Williams  <dcbw@redhat.com>
17458
17459         Add debug code for socket/file descriptor leaks.  We register every socket
17460         that we open (except for stuff in dhcpcd/) for tracking, and print out the
17461         list of sockets that we forgot to close on shutdown.  This also consolidates
17462         about 4 places where we opened sockets into 1 function in NetworkManagerUtils.c
17463
17464 2005-04-06  Dan Williams  <dcbw@redhat.com>
17465
17466         * dhcpcd/dhcpcd.c
17467                 - (dhcp_interface_free): fix a file descriptor leak that may have
17468                         caused network drivers to not unload due to refcounts > 0
17469
17470 2005-04-04  Dan Williams  <dcbw@redhat.com>
17471
17472         * panel-applet/NMWirelessAppletDbus.c
17473                 - (nmwa_dbus_call_nm_method): remove some commented code
17474
17475         * src/NetworkManagerAPList.[ch]
17476                 - (nm_ap_list_remove_ap_by_essid): new function
17477
17478         * src/NetworkManagerDevice.c
17479                 - (nm_device_wireless_force_use): remove access points from the ignore list
17480                         when the user forces them
17481
17482         * src/nm-dbus-device.c
17483                 - (nm_dbus_device_get_active_network): fix up escaping of object paths
17484
17485 2005-04-04  Dan Williams  <dcbw@redhat.com>
17486
17487         Patch from Tom Parker: include "nm-utils.h" for backend files that need it
17488
17489 2005-04-04  Dan Williams  <dcbw@redhat.com>
17490
17491         * src/NetworkManagerDevice.c:
17492                 - (nm_completion_scan_has_results): restore pre-completion-patch behavior
17493                         of only erroring after the second consecutive scan times out.  Also
17494                         don't exit when the card requires more time than we can give it, just
17495                         log the event and continue.
17496
17497 2005-04-01  Steve Murphy  <murf@e-tools.com>
17498
17499         * configure.in: Added "rw" to ALL_LINGUAS.
17500
17501 2005-04-01  Dan Williams <dcbw@redhat.com>
17502
17503         Perform scans during device activation, if needed.  Both activation 
17504         and scans run in the same GMainContext.  Therefore, if an access point
17505         is not found by the time the device starts activation, it will not
17506         be available until after activation.  We now try to scan during
17507         activation (in nm_wa_test) every 15s so that all available access
17508         points are more likely to be found and available for the activation
17509         procedure.
17510
17511         Also change nm_wireless_link_state_handle() to only update the "best"
17512         AP if we are not forcing a device and if we are not about to change
17513         state.  This attempts to work around a race when forcing a device,
17514         where the forced AP would get cleared out too soon by the link state
17515         checking timeout in the main thread, and the activation attempt with
17516         that AP would fail.
17517
17518 2005-04-01  Dan Williams <dcbw@redhat.com>
17519
17520         * po/POTFILES.in
17521                 - Update with new translatables
17522
17523 2005-03-31  Dan Williams <dcbw@redhat.com>
17524
17525         * panel-applet/NMWirelessAppletDbus.c
17526                 - Fix device names now that hal has changed device parenting for
17527                         network devices.
17528
17529 2005-03-31  Dan Williams <dcbw@redhat.com>
17530
17531         Tighten up handling of wireless devices that don't support wireless
17532         scanning (ie, Orinoco).  Due to restructuring of code, these devices
17533         hadn't been doing pseudo-scanning for a while either and would just
17534         spin waiting for an access point.  They are now manual devices where
17535         the user must choose the access point from the menu every time.  All
17536         "allowed" access points are listed in the applet's menu regardless
17537         of whether or not they can be seen by the card, since it can't scan
17538         anyway.
17539
17540         * src/NetworkManager.c
17541                 - (nm_wireless_link_state_handle): new function, but only update
17542                         the "best" ap for non-scanning devices when its not activating,
17543                         and when no device is being forced on the card
17544                 - (nm_link_state_monitor): split wireless link state handling out
17545                         into separate function
17546
17547         * src/NetworkManagerDevice.c
17548                 - (nm_device_copy_allowed_to_dev_list): new function
17549                 - (nm_device_new): populate non-scanning cards' AP lists with
17550                         access points from the "allowed" list
17551                 - (nm_device_new): don't start a scanning timeout for devices that
17552                         can't scan
17553                 - (nm_device_activation_schedule_finish): new parameter, should be
17554                         the AP that failed to be connected to, pass it on to the
17555                         activation finish function in NetworkManagerPolicy.c
17556                 - (nm_device_activate_wireless): don't ever try to get a new AP
17557                         for non-scanning devices, just fail.  The user must choose
17558                         a new access point manually.
17559                 - (nm_device_activate): grab the AP that failed connection and
17560                         pass it on
17561                 - (nm_device_update_best_ap): Clear the best AP if we don't have
17562                         a link to it, user must manually choose a new one
17563                 - (nm_device_do_pseudo_scan): remove function
17564                 - (nm_device_wireless_process_scan_results): remove bits for non-
17565                         scanning cards since they never get here
17566                 - (nm_device_wireless_scan): remove bits for non-scanning devices,
17567                         and fake the scan list for test devices a bit earlier
17568
17569         * src/NetworkManagerPolicy.c
17570                 - (nm_policy_activation_finish): use the failed_ap that we get
17571                         passed rather than getting the best_ap from the card, which
17572                         may have changed since we were scheduled
17573                 - (nm_policy_allowed_ap_list_update): for non-scanning devices,
17574                         update their scan list directly from the allowed list when
17575                         we get updates to the allowed list from NetworkManagerInfo
17576
17577         * src/NetworkManagerPolicy.h
17578                 - New member for failed access point in NMActivationResult
17579
17580   -------------------------------------
17581
17582         Driver Notification patch: notifies the user when their driver
17583                 sucks.  Gives them the option to ignore further insertions
17584                 of the card that has the sucky driver.
17585
17586         * NetworkManager.h
17587                 - Remove the SEMI_SUPPORTED member from the NMDriverSupportLevel
17588                         enum and replace it with NO_CARRIER_DETECT and
17589                         NO_WIRELESS_SCAN
17590
17591         * panel-applet/NMWirelessApplet.[ch]
17592                 - Merge essid.glade -> wireless-applet.glade
17593                 - Implement the "Your driver sucks" notification dialog
17594
17595         * panel-applet/NMWirelessAppletDbus.c
17596                 - Change stuff from getSupportsCarrierDetect->getDriverSupportLevel
17597                 - Grab hardware address for each device from NM too
17598                 - Check whether the driver for each device sucks or not whenever
17599                         a new device is noticed
17600
17601         * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17602                 - Deal with stuff being in wireless-applet.glade now rather than essid.glade
17603
17604         * src/NetworkManager.c
17605                 - Fix a double-unref on device removal
17606
17607         * src/NetworkManagerUtils.c
17608                 - Set appropriate driver support level on a device that doesn't
17609                         support scanning or carrier detection
17610
17611         * src/nm-dbus-device.c
17612                 - New "getHWAddress" dbus method on devices
17613                 - getSupportsCarrierDetect -> getDriverSupportLevel
17614
17615 2005-03-31  Dan Williams <dcbw@redhat.com>
17616
17617         * src/NetworkManagerDevice.c
17618                 - (nm_device_wireless_scan): Fix leak of scan results in some
17619                         instances
17620
17621 2005-03-29  Dan Williams <dcbw@redhat.com>
17622
17623         * src/NetworkManager.c
17624                 - (nm_poll_and_update_wireless_link_state): make code less indented
17625
17626         Patch from Bill Moss:
17627         * src/NetworkManager.c
17628                 - (nm_device_update_link_state): Update signal strength on wireless
17629                         devices every time we update link state too.
17630
17631 2005-03-29  Dan Williams <dcbw@redhat.com>
17632
17633         * src/NetworkManagerDevice.c
17634                 - (nm_device_set_essid): Work around Orinoco cards which need
17635                         extra time after setting the ESSID
17636
17637 2005-03-29  Dan Williams <dcbw@redhat.com>
17638
17639         * src/NetworkManagerDevice.c
17640                 - Merge one more bit of Peter Jones' completion patch
17641
17642 2005-03-29  Dan Williams <dcbw@redhat.com>
17643
17644         * src/NetworkManagerDevice.c
17645                 - (nm_device_force_use): Fix possible segfault
17646
17647 2005-03-29  Dan Williams <dcbw@redhat.com>
17648
17649         * src/NetworkManagerDevice.c
17650                 - Use iw_get_ext() where we should rather than iw_set_ext()
17651
17652 2005-03-29  Dan Williams <dcbw@redhat.com>
17653
17654         * src/NetworkManagerDevice.c
17655                 - (nm_device_set_up_down): remove check for unsupported devices
17656                         that caused NM to not bring devices up when they were
17657                         added to the device list.
17658
17659 2005-03-28  Dan Williams <dcbw@redhat.com>
17660
17661         * src/NetworkManagerDevice.c
17662                 - (mdio_read): Fix two bugs that caused all devices to fail
17663                         the MII carrier detection support checks
17664
17665 2005-03-26  Dan Williams <dcbw@redhat.com>
17666
17667         * src/NetworkManagerDevice.c
17668                 - (nm_device_wireless_scan): Remove duplicated scanning code
17669
17670 2005-03-25  Dan Williams <dcbw@redhat.com>
17671
17672         * panel-applet/NMWirelessApplet.c
17673                 - (nmwa_about_cb): Add some more contributors
17674                 - (nmwa_update_state): show the applet when there's no connection
17675                 - Enable the "Stop/Resume all wireless devices" option in the
17676                         context menu
17677                 - New "no connection" icon
17678
17679         * src/NetworkManager.c
17680                 - (nm_poll_and_update_wireless_link_state): don't do anything if
17681                         wireless is disabled or we're asleep
17682
17683         * src/NetworkManagerDHCP.c
17684                 - Remove trailing "\n" on debug messages
17685
17686         * src/NetworkManagerDbus.c
17687                 - (nm_dbus_network_status_from_data): new state "asleep"
17688
17689         * src/NetworkManagerDevice.c
17690                 - Merge most of Peter Jones' "completion" patch that greatly reduces
17691                         latency and wait times for most operations
17692                 - (nm_device_wireless_scan): Don't scan when asleep
17693
17694         * src/NetworkManagerPolicy.c
17695                 - (nm_policy_get_best_device): return no device when asleep
17696                 - (nm_policy_allowed_ap_list_update): From Bill Moss: merge properties
17697                         for all wireless devices on update, not just active device
17698
17699         * src/NetworkManagerUtils.c
17700                 - Merge Peter Jones' "completion" patch
17701
17702         * src/nm-dbus-nm.c
17703                 - (nm_dbus_nm_set_wireless_enabled): bring down wireless devices when
17704                         we're told to disable them
17705                 - (nm_dbus_nm_sleep, nm_dbus_nm_wake): new functions for sleep/wake
17706
17707         * utils/nm-utils.h
17708                 - New variants of the warn/info/error/debug print functions that can take
17709                         variables rather than static strings
17710
17711 2005-03-24  Dan Williams <dcbw@redhat.com>
17712
17713         * src/NetworkManagerUtils.c
17714                 - (nm_get_device_driver_name): driver names are now on the parents of
17715                         "Network Interface" objects, so look for them there
17716
17717 2005-03-24  Dan Williams <dcbw@redhat.com>
17718
17719         * test/nmtest.c
17720                 - Escape some forgotten object paths before we shove them through dbus
17721
17722 2005-03-24  Dan Williams <dcbw@redhat.com>
17723
17724         * dhcpcd/dhcpcd.[ch]
17725           src/NetworkManagerDHCP.c
17726                 - Switch names from "*_record_*" -> "*_element_*" to clarify things a bit
17727                         (ie, dhcp_option_record_len -> dhcp_option_element_len)
17728
17729         * src/NetworkManagerDbus.c
17730                 - spacing cleanups
17731
17732         * src/nm-dbus-dhcp.c
17733                 - Make the API suck less.  There is now only 1 type of each function,
17734                         ie only "getInteger" and no longer also "getIntegerv".  All types
17735                         are returned encapsulated in a DBUS_TYPE_ARRAY, even for options
17736                         that will never have more than 1 element.  This should simplify
17737                         things greatly.
17738
17739         * test/nm-dhcp-opt-test.c
17740                 - Make the tool not segfault
17741                 - adapt to new DHCP Options API
17742
17743 2005-03-22  Dan Williams <dcbw@redhat.com>
17744
17745         * src/NetworkManager.c
17746                 - (nm_wired_link_deactivated): actually ignore netlink events from
17747                         wireless devices.
17748
17749 2005-03-22  Dan Williams <dcbw@redhat.com>
17750
17751         * src/NetworkManager.c
17752                 - (nm_wired_link_activated): actually ignore netlink events from
17753                         wireless devices.
17754
17755 2005-03-17  Dan Williams <dcbw@redhat.com>
17756
17757         Patch from Tom Parker:
17758         * src/nm-netlink-monitor.c
17759                 - Include unistd.h
17760         * info-daemon/NetworkManagerInfoDbus.c
17761                 - (nmi_dbus_update_network_auth_method): free GConf values
17762
17763         Patch from Nathaniel McCallum <npmccallum@gentoo.org>:
17764         * src/NetworkManagerDevice.c
17765                 - (nm_device_set_wireless_config): wait for successful
17766                         association longer for some cards (Atheros a/b/g)
17767
17768 2005-03-15  Ray Strode  <rstrode@redhat.com>
17769
17770         * src/NetworkManager.c:
17771         (sigterm_pipe_handler):
17772         remove bogus FIXME
17773
17774 2005-03-15  Ray Strode  <rstrode@redhat.com>
17775
17776         * src/NetworkManagerDbus.c:
17777         Fix some sign weirdness that gcc4 doesn't like,
17778         and add a header file so PPC can hopefully find
17779         SIGTRAP
17780
17781 2005-03-14  Ray Strode  <rstrode@redhat.com>
17782         
17783         Fourth (probably working) cut at porting to
17784         dbus 0.30 api and new hal. This cut adds
17785         some new logging macros to make debugging
17786         easier.
17787
17788         * dispatcher-daemon/NetworkManagerDispatcher.c:
17789         * info-daemon/NetworkmanagerInfo.c:
17790         * info-daemon/NetworkManagerInfoPassphraseDialog.c:
17791         * info-daemon/NetworkManagerInfoVPN.c:
17792         * src/NetworkManager.c:
17793         * src/NetworkManagerAP.c:
17794         * src/NetworkManagerAPList.c:
17795         * src/NetworkManagerDHCP.c:
17796         * src/NetworkManagerDbus.c:
17797         * src/NetworkManagerDevice.c:
17798         * src/NetworkManagerPolicy.c:
17799         * src/NetworkManagerSystem.c:
17800         * src/NetworkManagerUtils.c:
17801         * src/NetworkManagerWireless.c:
17802         * src/autoip.c:
17803         * src/nm-dbus-nm.c:
17804         * src/backends/NetworkManagerDebian.c:
17805         * src/backends/NetworkManagerGentoo.c:
17806         * src/backends/NetworkManagerRedHat.c:
17807         * src/backends/NetworkManagerSlackware.c:
17808         use new logging macros.
17809
17810         * dispatcher-daemon/NetworkManagerDispatcher.c:
17811         (nmd_dbus_filter): s/dbus_free/g_free/
17812
17813         * info-daemon/Makefile.am: link in utils library.
17814         * info-daemon/NetworkmanagerInfo.c: use new logging 
17815         macros.
17816         (nmi_dbus_get_network): don't assume enumerations
17817         are 32-bit.
17818         (nmi_dbus_nmi_message_handler): don't free what 
17819         doesn't belong to us.
17820
17821         * libnm_glib/libnm_glib.c:
17822         (libnm_glib_get_nm_status): 
17823         (libnm_glib_init): don't free what doesn't
17824         belong to us.
17825         (libnm_glib_dbus): strdup result, so it doesn't get
17826         lost when message is unref'd.
17827
17828         * panel-applet/NMWirelessAppletDbus.c:
17829         (nmwa_dbus_update_devices): s/dbus_free/g_free/
17830
17831         * src/NetworkManager.c:
17832         (nm_monitor_wired_link_state): request initial status 
17833         dump of all cards when we start up, instead of relying
17834         on /sys/.../carrier.
17835         (nm_info_handler), (nm_set_up_log_handlers): 
17836         log handlers to specify what syslog priorites 
17837         the logging macros default to.
17838
17839         * src/NetworkManagerAPList.c: 
17840         (nm_ap_list_populate_from_nmi):
17841         s/dbus_free_string_array/g_strfreev/
17842
17843         * src/NetworkManagerDbus.c:
17844         (nm_dbus_get_network_object):
17845         validate d-bus message argument types.
17846         Advance message iterator after reading argument,
17847         prepend instead of append to GSList.
17848
17849         * src/NetworkManagerDevice.c:
17850         (nm_device_probe_wired_link_status):
17851         remove redundant /sys in /sys path. remove wrong
17852         contents == NULL means has carrier assumption.
17853
17854         * src/nm-netlink-monitor.c 
17855         (nm_netlink_monitor_request_status): implement
17856         function to ask kernel to dump interface link
17857         status over netlink socket.
17858
17859         * test/*.c: s/dbus_free/g_free/
17860
17861         * utils/nm-utils.h:
17862         (nm_print_backtrace): new macro to print backtrace.
17863         (nm_get_timestamp): new macro to get sub-second precise
17864         unix timestamp.
17865         (nm_info), (nm_debug), (nm_warning), (nm_error):
17866         new logging functions. nm_info just prints,
17867         nm_debug includes timestamp and function,
17868         nm_warning includes function, nm_error includes
17869         backtrace and sigtrap.
17870
17871 2005-03-11  Ray Strode  <rstrode@redhat.com>
17872
17873         Third (unfinished, partially working) cut at porting to 
17874         dbus 0.30 api and new hal.
17875
17876         * info-daemon/NetworkManagerInfoDbus.c:
17877                 don't free null arrays.
17878
17879         * panel-applet/NMWirelessAppletDbus.c: 
17880         * src/nm-dbus-device.c:
17881         * src/nm-dbus-net.c: 
17882         * src/NetworkManagerDbus.c: more 
17883         STRING -> OBJECT_PATH fun
17884         * src/NetworkManagerDevice.c:
17885         * src/NetworkManagerDevice.h:
17886         (rename nm_device_get_link_active): rename to 
17887         nm_device_has_active_link
17888         (nm_device_wireless_link_active): rename to
17889         nm_device_probe_wireless_link_state
17890         (nm_device_wired_link_active): rename to
17891         nm_device_probe_wired_link_state.  Rewrite to
17892         use carrier file since hal doesn't maintain
17893         link state anymore.
17894         (nm_device_update_link_active): rename to
17895         nm_device_update_link_state
17896         * src/NetworkManagerPolicy.c 
17897           (nm_policy_activation_finish): check for NULL
17898           MAC address.
17899
17900         * src/Makefile.am:
17901         * src/NetworkManagerMain.h: 
17902         * src/NetworkManager.c:
17903         * src/nm-netlink-monitor.c:
17904         * src/nm-netlink-monitor.h: New class to support
17905         monitoring wired ethernet link status, since HAL
17906         doesn't export that information anymore.
17907
17908 2005-03-09  Ray Strode  <rstrode@redhat.com>
17909
17910         Second (unfinished, unworking) cut at porting to 
17911         dbus 0.30 api.
17912
17913         * dispatcher-daemon/NetworkManagerDispatcher.c:
17914         * info-daemon/NetworkManagerInfoDbus.c:
17915         * panel-applet/NMWirelessAppletDbus.c:
17916         * src/NetworkManagerDbusUtils.c:
17917         * src/NetworkManagerDbusUtils.h:
17918         * src/nm-dbus-device.c:
17919         * src/nm-dbus-nm.c:
17920         * test/nmtest.c: support dbus "object path" type
17921
17922         * configure.in: 
17923         * Makefile.am:
17924         * info-daemon/Makefile.am:
17925         * libnm_glib/Makefile.am:
17926         * panel-applet/Makefile.am:
17927         * dispatcher-daemon/Makefile.am
17928         * src/Makefile.am:
17929         * test/Makefile.am:
17930         * utils/Makefile.am: 
17931         * utils/nm-utils.c: 
17932         * utils/nm-utils.h: new utils static lib
17933
17934 2005-03-07  Ray Strode  <rstrode@redhat.com>
17935
17936         * info-daemon/NetworkManagerInfoDbus.c:
17937         * libnm_glib/libnm_glib.c:
17938         * panel-applet/NMWirelessAppletDbus.c:
17939         * src/NetworkManager.c:
17940         * src/NetworkManagerDbus.c:
17941         * src/NetworkManagerDevice.c:
17942         * src/NetworkManagerUtils.c:
17943         * src/nm-dbus-device.c:
17944         * src/nm-dbus-dhcp.c:
17945         * src/nm-dbus-net.c:
17946         * src/nm-dbus-nm.c:
17947         * test/nminfotest.c:
17948         First (unfinished, unworking) cut at porting to dbus 0.30 api.
17949
17950 2005-03-04  Dan Williams  <dcbw@redhat.com>
17951
17952         * configure.in
17953                 - Mark HEAD as 0.4
17954
17955 2005-03-04  Dan Williams  <dcbw@redhat.com>
17956
17957         Patch from Peter Jones:
17958         - Make stuff work with gcc 4.0
17959
17960 2005-02-28  Maxim Dziumanenko <mvd@mylinux.com.ua>
17961
17962         * uk.po: Added "uk" (Ukrainian) to ALL_LINGUAS.
17963
17964 2005-02-27  Jim Huang  <jserv@kaffe.org>
17965
17966         * configure.in: Added "zh_TW" (Traditional Chinese) to ALL_LINGUAS.
17967
17968 2005-02-27  Dan Williams  <dcbw@redhat.com>
17969
17970         Patch from Bill Moss:
17971         * panel-applet/NMWirelessAppletDbus.c
17972                 - Make sure strength for current access point is up-to-date when we
17973                         update the gui data model
17974
17975 2005-02-27  Alessio Frusciante  <algol@firenze.linux.it>
17976
17977         * configure.in: Added "it" (Italian) to ALL_LINGUAS.
17978
17979 2005-02-27  Dan Williams  <dcbw@redhat.com>
17980
17981         * src/backends/NetworkManagerRedHat.c
17982                 - (nm_system_init): Kill any dhclient processes lying around as well
17983                         as stopping 'nifd' if its already been started.  NetworkManager
17984                         subsumes the functions of nifd (kicking mDNSResponder, autoip)
17985
17986 2005-02-27  Dan Williams  <dcbw@redhat.com>
17987
17988         * panel-applet/NMWirelessApplet.c
17989                 - (nmwa_destroy): Really mean to destroy GUI data model first, then
17990                         dbus data model, not the GUI data model twice.
17991
17992 2005-02-27  Dan Williams  <dcbw@redhat.com>
17993
17994         * panel-applet/NMWirelessApplet.[ch]
17995           panel-applet/NMWirelessAppletDbus.[ch]
17996                 - Move to incremental network updates.  Instead of blowing away our list
17997                         of devices every time we get a signal from NetworkManager, we now
17998                         incrementally add/remove networks when NetworkManager notifies us that
17999                         a new network has appeared or disappered.  Strength updates now happen
18000                         on-the-fly for each access point as well.  There are now two copies of
18001                         data from NetworkManager: one for the dbus side, and one for the gui side.
18002                         When the dbus side data is modified, it is copied over to the gui side
18003                         so we don't have to hold the data_mutex for long periods of time (and
18004                         therefore block animation of the applet's icon).
18005                 - Clean up some memleaks too
18006
18007         * panel-applet/NMWirelessAppletOtherNetworkDialog.c
18008                 - Minor code beautification
18009
18010         * src/NetworkManagerAPList.c
18011                 - (nm_ap_list_merge_scanned_ap): return whether or not the access point is
18012                         completely new and whether or not an existing one's strength was updated.
18013                         Try to fix multiple access points and signal strength by using the highest
18014                         signal strength in each scan for any given ESSID.
18015
18016         * src/NetworkManagerDbus.[ch]
18017                 - (nm_dbus_signal_wireless_network_change): consolidate signals that deal with
18018                         wireless networks; now we have only WirelessNetworkUpdate which includes
18019                         a UINT32 for Appeared, Disappeared, or StrengthChanged (see NetworkManager.h).
18020                 - Kill usage of DbusMessageIter
18021
18022         * src/NetworkManagerDevice.c
18023                 - (nm_device_wireless_process_scan_results): Use the same timestamp for all APs
18024                         in the same scan result list.  Copy ESSIDs-by-address earlier on, for each
18025                         AP rather than all-at-once.  Also don't ever remove the AP a card is
18026                         currently associated with from the network list.
18027                 - Update for new signals during scan, send out Appeared, Disappeared, or
18028                         StrengthChanged when necessary.
18029
18030 2005-02-25  Dan Williams  <dcbw@redhat.com>
18031
18032         * README
18033                 - Line break the README
18034
18035 2005-02-25  Dan Williams  <dcbw@redhat.com>
18036
18037         * panel-applet/NMWirelessAppletOtherNetworkDialog.c
18038                 - Remove usage of gtk_window_set_default_size()
18039
18040         * panel-applet/essid.glade
18041                 - Stick default size here
18042                 - Add in random crap that current glade wants to add in now
18043
18044 2005-02-25  Dan Williams  <dcbw@redhat.com>
18045
18046         * src/backends/NetworkManagerRedHat.c
18047                 - For non-caching-nameserver/non-named case, ensure that nscd is running
18048                         and that we actually tell nscd to reload the hosts cache when it changes
18049
18050 2005-02-25  Dan Williams  <dcbw@redhat.com>
18051
18052         * info-daemon/NetworkManagerInfoDbus.c
18053                 - (nmi_dbus_get_network_properties): whack usage of DbusMessageIter
18054
18055         * test/nminfotest.c
18056                 - Whack usage of DbusMessageIter
18057                 - Clean up DbusError and DbusMessage handling and freeing
18058                 - Remove unused unregister handler
18059
18060         * test/nmtest.c
18061                 - Whack usage of DbusMessageIter
18062
18063         * test/nmtestdevices.c
18064                 - Whack usage of DbusMessageIter
18065
18066 2005-02-25  Dan Williams  <dcbw@redhat.com>
18067
18068         * NetworkManager.h
18069                 - New signal type NMNetworkStatus in preparation for the "WirelessNetworkUpdate"
18070                         signal
18071
18072 2005-02-25  Dan Williams  <dcbw@redhat.com>
18073
18074         * named/nm-named-manager.c
18075                 - Ensure that pid and watch variables for child named process get cleared out
18076                         when the child goes away.
18077
18078 2005-02-22  Dan Williams  <dcbw@redhat.com>
18079
18080         * src/NetworkManagerPolicy.c
18081                 - (nm_policy_activation_finish): Deactivate a device if its activation fails,
18082                         and NULL out data->active_device so that we have to choose another one.
18083                         This may make NetworkManager keep attempting to connect to a wired network
18084                         if it fails, but if it keeps failing the wired network has more problems than
18085                         just NetworkManager.
18086
18087         * src/backends/NetworkManagerRedHat.c
18088                 - (nm_system_update_dns): fix to actually run nscd -i hosts when nscd
18089                         is already running
18090
18091         * named/nm-named-manager.c
18092                 - (rewrite_resolv_conf): Call nm_system_update_dns() when not using
18093                         named so that the distro can flush whatever name service caching
18094                         daemon it uses
18095
18096 2005-02-21  Dan Williams  <dcbw@redhat.com>
18097
18098         * src/NetworkManagerDHCP.[ch]
18099                 - (nm_device_dhcp_remove_timeouts): new function
18100
18101         * src/NetworkManagerDevice.c
18102                 - Use nm_device_dhcp_remove_timeouts() everywhere that we need to
18103                         remove the DHCP timeouts.
18104
18105 2005-02-21  Dan Williams  <dcbw@redhat.com>
18106
18107         * panel-applet/NMWirelessApplet.[ch]
18108           panel-applet/menu-info.[ch]
18109                 - Give the panel applet some major love: menu items are no longer
18110                         subclasses of GtkCheckMenuItem, they are actual GtkCheckMenuItems.
18111                         This allows the applet to actually reflect theme changes correctly,
18112                         since themeing of subclassed items in GTK _sucks_.
18113
18114 2005-02-18  Dan Williams  <dcbw@redhat.com>
18115
18116         * libnm_glib/libnm_glib.[ch]
18117           test/libnm_glib_test.c
18118                 - Clean up libnm_glib API a bit, callback is now passed a libnm_glib_ctx
18119                         and its data, and doesn't have to free the callback data anymore
18120
18121 2005-02-18  Dan Williams  <dcbw@redhat.com>
18122
18123         * panel-applet/NMWirelessApplet.c
18124                 - Revert 2005-02-18 William Jon McCann fix for standard
18125                         copyright string until it passes 'make distcheck'.
18126                         With standard copyright string, xgettext complains
18127                         about "Non-ASCII string at ...".
18128
18129 2005-02-18  Dan Williams  <dcbw@redhat.com>
18130
18131         * panel-applet/essid.glade
18132           panel-applet/NMWirelessAppletOtherNetworksDialog.c
18133                 - Correct spelling of "adaptor"->"adapter"
18134
18135 2005-02-18  William Jon McCann  <mccann@jhu.edu>
18136
18137         * panel-applet/NMWirelessApplet.c: Use GTK_CHECK_VERSION() macro.
18138         (nmwa_about_cb): Use standard copyright string.  Update comment
18139         text to reflect that it is a notification area applet.  Remove
18140         leading newline in authors list.
18141         (nmwa_menu_show_cb, nmwa_setup_widgets): Populate menu on show
18142         instead of on parent menu item activation.  Fixes #167550.
18143
18144 2005-02-18  William Jon McCann  <mccann@jhu.edu>
18145
18146         * panel-applet/essid.glade: Capitalize items as per HIG.
18147           Fixes #167632
18148
18149 2005-02-16  William Jon McCann  <mccann@jhu.edu>
18150
18151         * panel-applet/gtkcellrendererprogress.[ch]: Only compile these
18152         files for GTK 2.4 or lower, since now public in GTK 2.6.
18153
18154         * panel-applet/essid.glade: Don't specify window size.
18155         
18156 2005-02-17  Dan Williams  <dcbw@redhat.com>
18157
18158         Caught by Bill Moss:
18159         * dhcpcd/client.c
18160                 - Time remaining for DHCP transaction calculation was incorrectly
18161                         inside a #ifdef DEBUG
18162
18163 2005-02-15  Christophe Merlet  <redfox@redfoxcenter.org>
18164
18165         * configure.in: Added fr (French) to ALL_LINGUAS.
18166
18167 2005-02-14  Dan Williams  <dcbw@redhat.com>
18168
18169         * src/NetworkManagerDHCP.c
18170                 - (set_domain_searches): Fix free of invalid pointer
18171
18172 2005-02-14  Dan Williams  <dcbw@redhat.com>
18173
18174         Patch from Peter Jones:
18175         * dhcpcd/client.c
18176                 - Ensure we return RET_DHCP_CEASED everywhere we should
18177         * dhcpcd/udpipgen.c
18178                 - Use faster TOS for IP packets
18179                 - Don't set ip_id since we're UDP
18180
18181         Patch from Tomislav Vujec:
18182         * src/nm-dbus-dhcp.c
18183           test/nm-dhcp-opt-test.c
18184                 - Clean up warnings to enable cvs tree compilation.
18185
18186 2005-02-14  Tomislav Vujec  <tvujec@redhat.com>
18187
18188         * configure.in
18189           po/hr.po
18190                 - Add the Croatian locale.
18191
18192 2005-02-14  Colin Walters  <walters@verbum.org>
18193
18194         * src/NetworkManagerDHCP.c (set_domain_searches): Handle space-separated
18195         list of domains to search.
18196         
18197         * src/NetworkManagerMain.h (NMData): Handle multiple domain searches.
18198
18199 2005-02-13  Dan Williams  <dcbw@redhat.com>
18200
18201         * dhcpcd/client.c
18202                 - Debug output cleanups of DHCP option printing and parsing.
18203
18204 2005-02-13  Dan Williams  <dcbw@redhat.com>
18205
18206         Patch from Dan Reed:  DHCP options D-BUS API
18207                 Exposes the DHCP options that a device receives to clients over D-BUS.
18208
18209         * configure.in
18210                 - A few cleanups
18211
18212         * dhcpcd/client.h
18213                 - Correct names, option length, and types for DHCP options
18214
18215         * dhcpcd/dhcpcd.[ch]
18216                 - Clarify function names that access DHCP options & data
18217
18218         * src/NetworkManagerDHCP.c
18219                 - Use new DHCP data access functions
18220
18221         * src/NetworkManagerDbus.c
18222                 - Message handler for DHCP functions
18223
18224         * src/nm-dbus-dhcp.[ch] (new)
18225                 - DHCP dbus methods
18226
18227         * test/nm-dhcp-opt-test.c
18228                 - Test DHCP D-BUS API and return all present DHCP options
18229
18230 2005-02-12  Dan Williams  <dcbw@redhat.com>
18231
18232         * test/Makefile.am
18233           test/nmclienttest.c
18234           test/nmtest.c
18235                 - Move nmclienttest.c -> nmtest.c
18236
18237 2005-02-12  Dan Williams  <dcbw@redhat.com>
18238
18239         * dhcpcd/buildmsg.c
18240                 - Pad DHCP packets until they are at least 300 bytes in size.
18241
18242 2005-02-11  Dan Williams  <dcbw@redhat.com>
18243
18244         * dhcpcd/client.c
18245                 - (dhcp_init): only print out client ID and class ID if they are specified
18246
18247         * src/NetworkManagerDbus.[ch]
18248           src/nm-dbus-nm.[ch]
18249           src/nm-dbus-device.[ch]
18250           src/nm-dbus-net.[ch]
18251                 - Move NM, Device, and Net functions to separate files and use the
18252                         dbus method list stuff in NetworkManagerDbusUtils.c to do
18253                         method dispatching
18254
18255         * src/NetworkManagerDbusUtils.c
18256                 - Add new validate_method called before each dispatch (if present)
18257                         that can validate the method call
18258
18259         * src/NetworkManagerWireless.c
18260                 - (nm_wireless_qual_to_percent): Fix misplaced "!" that caused signal
18261                         levels never to be evaluated
18262
18263         Patch from j@bootlab.org
18264         * src/NetworkManagerDevice.c
18265                 - Add typedef for "u64"
18266
18267         * src/backends/NetworkManagerDebian.c
18268                 - Copy in Dave Woodhouse's fixes for IPv6
18269
18270 2005-02-11  Dan Williams  <dcbw@redhat.com>
18271
18272         Patch from Dave Woodhouse for IPv6:
18273         * src/NetworkManagerUtils.c
18274                 - (nm_ethernet_address_is_valid): Check for prism54 dummy MAC address
18275                         and multicast addresses
18276
18277         * src/NetworkManagerDevice.c
18278                 - (nm_device_set_up_down): make sure our cached MAC address is up-to-date
18279                         after bringing up a card.
18280
18281 2005-02-10  Dan Williams  <dcbw@redhat.com>
18282
18283         Patch from Dave Woodhouse:
18284         * src/NetworkManagerSystem.h
18285           src/backends/NetworkManagerDebian.c
18286           src/backends/NetworkManagerGentoo.c
18287           src/backends/NetworkManagerSlackware.c
18288                 - New nm_system_device_add_ip6_link_address() function to add link-local
18289                         address on an interface.  Stubbed in Debian, Gentoo, and Slackware.
18290
18291         * src/backends/NetworkManagerRedHat.c
18292                 - (nm_system_device_add_ip6_link_address): implement
18293                 - (nm_system_device_flush_addresses): revert to previous behavior of
18294                         flushing all addresses
18295
18296 2005-02-10  Dan Williams  <dcbw@redhat.com>
18297
18298         Patch from Tom Parker:
18299         * src/NetworkManagerDevice.c
18300                 - Remove the "#include <pci/types.h>" since both the ethtool.h and
18301                         mii.h headers are broken, and instead use our own typedefs
18302
18303 2005-02-10  Dan Williams  <dcbw@redhat.com>
18304
18305         * dhcpcd/buildmsg.c
18306                 - (fill_host_and_class_id): only fill in client and class IDs if
18307                         they are set by callers.
18308
18309         * dhcpcd/client.c
18310                 - (class_id_setup): don't autogenerate a class ID, only use one
18311                         we're given, if any.
18312                 - (client_id_setup): don't autogenerate a client ID, only use one
18313                         we're given, if any.
18314
18315         * dhcpcd/dhcpcd.c
18316                 - (dhcp_interface_init): ensure that client options are correctly
18317                         NULL terminated
18318
18319         * src/NetworkManagerDHCP.c
18320                 - (nm_device_dhcp_request): pass hostname to dhcp library
18321
18322 2005-02-10  Dan Williams  <dcbw@redhat.com>
18323
18324         * dhcpcd/client.c
18325                 - #rh147661# Don't send kernel version in DHCP requests
18326
18327         * src/NetworkManagerSystem.h
18328           src/backends/NetworkManagerDebian.c
18329           src/backends/NetworkManagerGentoo.c
18330           src/backends/NetworkManagerRedHat.c
18331           src/backends/NetworkManagerSlackware.c
18332                 - Remove the nm_system_device_run_dhcp() and nm_system_device_stop_dhcp()
18333                         functions, they are no longer used anyway
18334
18335         * src/backends/NetworkManagerRedHat.c
18336                 - (nm_system_device_flush_addresses): only flush "scope global" and "scope site"
18337                         addresses in an attempt to keep IPv6 local-scope addresses around
18338
18339 2005-02-10  Dan Williams  <dcbw@redhat.com>
18340
18341         * src/NetworkManager.c
18342                 - (nm_create_device_and_add_to_list): change the add message slightly
18343
18344         * src/NetworkManagerUtils.c
18345                 - (nm_get_wireless_driver_support_level, nm_get_wired_driver_support_level):
18346                         Return driver name to calling function
18347                 - (nm_get_driver_support_level): print out the driver a device is using
18348                         during the support check
18349
18350         Patch from Dave Woodhouse:
18351         * dhcpcd/udpipgen.c
18352                 - (in_cksum): copy last byte of odd-sized packets into a
18353                         'u_short' rather than a 'u_char', should fix wrong checksums
18354                         on big-endian platforms
18355
18356 2005-02-09  Dan Williams  <dcbw@redhat.com>
18357
18358         * Clean up usage of GSList objects and looping through their members
18359         * Clean up DHCP rebind/renew timeouts, hopefully they will work correctly
18360                 now.
18361         * Fix problem where even if scanning was turned off, card would still
18362                 cycle through frequencies.
18363
18364 2005-02-08  Dan Williams  <dcbw@redhat.com>
18365
18366         * panel-applet/NMWirelessApplet.c
18367                 - Fix for gtk 2.4
18368
18369 2005-02-08  Dan Williams  <dcbw@redhat.com>
18370
18371         Patch from Bill Moss
18372         * panel-applet/NMWirelessApplet.c
18373                 - Restore correct ESSID in tooltips
18374
18375 2005-02-07  Dan Williams  <dcbw@redhat.com>
18376
18377         * panel-applet/NMWirelessApplet.[ch]
18378                 - Add a context menu that contains:
18379                         Pause/Resume Wireless Scanning
18380                         Stop/Start All Wireless Devices
18381                         About...
18382                 - Grab active device strength off active device,
18383                         not its network
18384
18385         * panel-applet/NMWirelessAppletDbus.[ch]
18386                 - Add DBUS accessors for "getSupportsCarrierDetect", "setScanningEnabled",
18387                         "getScanningEnabled", "setWirelessEnabled", and "getWirelessEnabled"
18388                 - Update active device strength every 2 seconds, not every 1 second
18389
18390         * panel-applet/menu-info.c
18391                 - Only disable wired devices in the menu when they support carrier detection,
18392                         and don't currently have a link.  Non-carrier-detect devices will always
18393                         remain choosable
18394
18395         * src/Makefile.am
18396           src/NetworkManagerDbusUtils.[ch]
18397                 - Add new new dbus utils sources
18398
18399         * src/NetworkManager.c
18400                 - Fixes for new link detection, we no longer need to call nm_device_update_link_active()
18401                         with the boolean parameter
18402                 - Set scanning_enabled & wireless_enabled to TRUE
18403
18404         * src/NetworkManagerDbus.c
18405                 - Use new dbus util method dispatcher functions for org.freedesktop.NetworkManager methods
18406                 - Implement scanning & wireless enable/disable calls
18407                 - Remove the dbus vtable unregister handlers, weren't doing anything with them anyway
18408
18409         * src/NetworkManagerDevice.c
18410                 - New link detection stuff again...
18411                         o  Create device's mainloop earlier (but don't run it earlier)
18412                         o  Hook up new carrier-detect support stuff
18413                         o  Add in the ethtool & mii support detection code
18414                 - Don't scan if scanning is disabled
18415
18416         * src/NetworkManagerPolicy.c
18417                 - Never automatically choose a device that doesn't support carrier detection
18418                 - Don't automatically choose a wireless device if wireless is disabled
18419
18420 2005-02-07  Dan Williams  <dcbw@redhat.com>
18421
18422         * libnm_glib/libnm_glib.c
18423                 - Small cleanup in element list iteration
18424
18425 2005-02-07  Dan Williams  <dcbw@redhat.com>
18426
18427         * src/NetworkManagerWireless.c
18428                 - (nm_wireless_qual_to_percent): Fix up wireless quality calculations
18429                         to be in line with the WEXT quality specification
18430
18431 2005-02-02  Dan Williams  <dcbw@redhat.com>
18432
18433         Patch from Nathan Fredrickson <nathan@silverorange.com>
18434         * Fix up compile for deprecation of libgnomeui
18435                 - Switch to <glib/gi18n.h> from <libintl.h>
18436                 - Remove <libgnomeui/libgnomeui.h> includes
18437                 - Use gtk_window_set_default_icon_from_file() rather than
18438                         gnome_window_set_default_icon_from_file()
18439
18440         * named/nm-named-manager.c
18441                 - (generate_named_conf): Fix return-nothing in non-void
18442                         function
18443
18444 2005-02-02  Dan Williams  <dcbw@redhat.com>
18445
18446         * Clean up unused variables and the like
18447
18448 2005-02-02  Dan Williams  <dcbw@redhat.com>
18449
18450         * src/NetworkManagerAPList.c
18451                 - (nm_ap_list_merge_scanned_ap): merge strength too
18452
18453         * src/NetworkManagerUtils.c
18454                 - (nm_lock_mutex, nm_register_mutex_desc): new calls to facilitate debugging
18455                         of locking issues by printing out prettier information than g_mutex_lock
18456                 - Print out names of mutexes registered with nm_register_mutex_desc()
18457                 - (nm_try_lock_mutex): don't do the waiting thing when trying to lock, causes
18458                         us to seemingly block here for too long
18459
18460         * src/NetworkManager.c
18461           src/NetworkManagerAPList.c
18462           src/NetworkManagerDevice.c
18463                 - Convert to using nm_lock_mutex/nm_unlock_mutex rather than the glib variants
18464                         so we get better debug information printed
18465
18466         * src/NetworkManagerDbus.c
18467                 - (nm_dbus_devices_handle_request): reduce usage of nm_device_need_ap_switch()
18468                         since it sometimes has locking side effects
18469                 - (nm_device_get_association_pause_value): Reduce 802.11a card pause value to 8s
18470                         from 10s
18471                 - (nm_device_need_ap_switch): If we can't acquire the scan lock, return saying
18472                         we don't need a switch.  This gets called often enough that we can't block
18473                         until the scan mutex is acquired, because we'll block on device activation
18474                         and a few other things, which hangs main thread for too long.
18475
18476         * src/NetworkManagerPolicy.c
18477                 - (nm_policy_auto_get_best_device): reduce the possiblity that
18478                         nm_device_need_ap_switch() will be called               
18479
18480 2005-02-02  Dan Williams  <dcbw@redhat.com>
18481
18482         * panel-applet/NMWirelessApplet.c
18483                 - Display name of wireless network we are connecting to or connected to
18484                         in the tooltip of the applet
18485
18486 2005-02-02  Dan Williams  <dcbw@redhat.com>
18487
18488         * src/NetworkManagerDHCP.c
18489                 - Hopefully fix double-default-route problem by cleaning up the default
18490                         route added by DHCP code right before the DHCP transaction begins
18491
18492 2005-02-02  Dan Williams  <dcbw@redhat.com>
18493
18494         * named/nm-named-manager.c
18495                 - Write out valid resolv.conf when we exit
18496
18497 2005-02-01  Dan Williams  <dcbw@redhat.com>
18498
18499         Patch from Colin Walters:
18500         * named/nm-named-manager.c
18501                 - Make multi-domain search options work
18502
18503 2005-01-31  Dan Williams  <dcbw@redhat.com>
18504
18505         * info-daemon/NetworkManagerInfoDbus.c
18506                 - (nmi_dbus_nmi_message_handler): make sure 'dialog' exists before using it
18507
18508         * src/NetworkManagerDevice.c
18509                 - (nm_device_new): Don't store the entire range struct, use only what we need
18510                         (which is currently avg_quality, max_quality, and frequencies).  Also
18511                         zero device structure when we've free'd it to maybe expose errors down
18512                         the line.
18513                 - (nm_device_update_signal_strength): grab the scan mutex before getting
18514                         quality data from the card since quality will be useless during a scan.
18515                         Call updated wireless qual-to-percent function with values stored in
18516                         nm_device_new() earlier.
18517                 - Remove some unused functions (nm_device_get_max_quality(), nm_device_get_noise(),
18518                         nm_device_get_bad_crypt_packets())
18519                 - (nm_device_activate_wireless_adhoc): use new frequency values we go in
18520                         nm_device_new()
18521                 - (get_initial_auth_method): always use the Auth method that's in the allowed
18522                         list if available.  Problem was this: when the WEP key is wrong, NM will
18523                         try OS then SK modes, and then get stuck in SK mode after that.  This
18524                         should reset it.
18525                 - (nm_device_wireless_process_scan_results): work with new qual-to-percent
18526                         function
18527
18528         * src/NetworkManagerWireless.c
18529                 - (nm_wireless_qual_to_percent): try to make this function actually work and
18530                         mimic iwlib behavior.  Use card's idea of quality divided by max_qual
18531                         if that's all present, otherwise fall back to signal-to-noise ratios.
18532
18533 2005-01-29  Dan Williams  <dcbw@redhat.com>
18534
18535         * initscript/RedHat/NetworkManager
18536                 - Don't spit out sysctl stuff to console
18537
18538         * libnm_glib/libnm_glib.c
18539                 - (libnm_glib_init): call dbus_g_thread_init()
18540
18541         * panel-applet/NMWirelessAppletDbus.c
18542                 - (nmwa_dbus_worker): call dbus_g_thread_init()
18543
18544         * src/NetworkManager.c
18545                 - (main): call dbus_g_thread_init()
18546
18547         * src/NetworkManagerAPList.c
18548                 - (nm_ap_list_print_members): use LOG_ERR instead of LOG_DEBUG
18549                         so we can actually see what's there in a normal syslog
18550
18551         * src/NetworkManagerDevice.c
18552                 - (nm_device_activate_wireless): print out the "waiting for access point"
18553                         message only once, then say what access point we actually got after
18554                         the wait.
18555                 - (nm_device_need_ap_switch): If a scan is in progress when we're in this
18556                         function, wait until the scan is done.  Scans may change the ESSID of
18557                         the card, making this function think we need to switch access points
18558                 - (nm_device_wireless_process_scan_results): for artificial access points
18559                         don't check against the card's ESSID, but the best_ap's ESSID.  This
18560                         prevents collisions with the scanning code, which may change the card's
18561                         ESSID and cause the access point to get dropped from the device's AP
18562                         list.  Also increase the keep-around time to 2m from 60s since the max
18563                         scan interval could be 60s in some cases.
18564
18565         * src/NetworkManagerPolicy.c
18566                 - (nm_policy_activation_finish): Don't add invalid MAC addresses to GConf
18567                 - (nm_policy_allowed_ap_list_update): When we update, make sure we copy over
18568                         the new properties and ESSIDs to the device's AP list.  Fixes some races
18569                         between NM and NMI.
18570
18571 2005-01-27  Dan Williams  <dcbw@redhat.com>
18572
18573         * info-daemon/NetworkManagerInfoDbus.c
18574                 - (nmi_dbus_add_network_address): if the network doesn't yet exist in
18575                         GConf, make a minimal entry for it (essid & timestamp)
18576
18577         * src/NetworkManagerAPList.c
18578                 - (nm_ap_list_populate_from_nmi): Don't try to grab network data if
18579                         NetworkManagerInfo isn't running
18580
18581         * src/NetworkManagerDbus.[ch]
18582                 - (nm_dbus_nmi_is_running): new function
18583
18584         * src/NetworkManagerDevice.c
18585                 - (nm_device_wireless_force_use): Don't set the created AP's MAC
18586                         address to garbage.
18587
18588         * src/NetworkManagerPolicy.c
18589                 - (nm_policy_activation_finish): On successful activation, make sure
18590                         the "best" AP has a MAC address, and don't tell NMI to add the
18591                         current AP's MAC address to GConf if the AP is an Ad-hoc AP.
18592                 - (nm_policy_allowed_ap_list_update): Update a wireless card's "best"
18593                         access point after refreshing our allowed list if it doesn't already
18594                         have a "best" access point.
18595
18596 2005-01-25  Dan Williams  <dcbw@redhat.com>
18597
18598         * panel-applet/NMWirelessAppletDbus.c
18599                 - (nmwa_dbus_filter): Fix dbus 0.23 ServiceOwnerChanged checks
18600                         so we check for NM_DBUS_SERVICE rather than not for it
18601
18602         * libnm_glib/libnm_glib.c
18603                 - (libnm_glib_dbus_filter): Fix for dbus 0.23, trapping
18604                         ServiceOwnerChanged signal
18605
18606 2005-01-25  Dan Williams  <dcbw@redhat.com>
18607
18608         * configure.in
18609                 - Check DBUS version in configure, and set the C macros
18610                         DBUS_VERSION_[MAJOR,MINOR,MICRO]
18611
18612         * info-daemon/NetworkManagerInfoDbus.c
18613                 - Remove #if 0-d section of code that quit NMI if NM went away.
18614
18615         * panel-applet/NMWirelessAppletDbus.c
18616                 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
18617
18618         * src/NetworkManager.c
18619           src/NetworkManagerMain.h
18620           src/NetworkManagerDbus.c
18621                 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
18622                 - Make updating of our Allowed Wireless Network lists from NMI
18623                         an idle function in the main thread now, with a high priority.
18624
18625 2005-01-24  Dan Williams  <dcbw@redhat.com>
18626
18627         * panel-applet/gtkcellview.[ch]
18628           panel-applet/menu-info.c
18629                 - Fix GTK version checks to be <= rather than <
18630
18631         * test/Makefile.am
18632                 - Include the libtool archive of libnm_glib rather than
18633                         trying to pull in the .so
18634
18635 2005-01-24  Dan Williams  <dcbw@redhat.com>
18636
18637         * src/NetworkManagerDevice.c
18638           src/NetworkManagerDevicePrivate.h
18639                 - Block nm_device_new() until our device's worker thread has had a
18640                         chance to start up.  Fixes a race between main thread and worker
18641                         thread starting that caused activation requests to get lost.
18642
18643 2005-01-24  Dan Williams  <dcbw@redhat.com>
18644
18645         * initscript/RedHat/NetworkManager
18646                 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
18647                         to add the NM startup script at priority 50, which was
18648                         way too early
18649
18650 2005-01-24  Colin Walters  <walters@redhat.com>
18651
18652         * named/named.conf: Use any port for query source instead of
18653         restricting to port 53.
18654
18655 2005-01-24  Dan Williams  <dcbw@redhat.com>
18656
18657         * initscript/RedHat/NetworkManager
18658                 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
18659                         to add the NM startup script at priority 50, which was
18660                         way too early
18661
18662 2005-01-24  Dan Williams  <dcbw@redhat.com>
18663
18664         Patch from Tom Parker <palfrey@tevp.net>
18665         * Fix up compile warnings & errors in the wireless applet
18666
18667 2005-01-24  Dan Williams  <dcbw@redhat.com>
18668
18669         * panel-applet/NMWirelessApplet.c
18670                 - Convert 24x24 icons back to 22x22 and use the 22x22 ones
18671
18672 2005-01-24  Dan Williams  <dcbw@redhat.com>
18673
18674         * panel-applet/gtkcellview.[ch]
18675                 - Only compile these files for GTK 2.4 or lower, since 
18676                         GtkCellView is now public in GTK 2.6.  Fixes crasher
18677                         when choosing "Other Wireless Networks" from the panel
18678                         applet menu
18679
18680 2005-01-21  Dan Williams  <dcbw@redhat.com>
18681
18682         * src/NetworkManager.c
18683                 - Daemonize earlier so that glib doesn't get confused (?)
18684
18685 2005-01-21  Dan Williams  <dcbw@redhat.com>
18686
18687         * panel-applet/NMWirelessApplet.[ch]
18688           panel-applet/NMWirelessAppletDbus.c
18689           panel-applet/menu-info.c
18690           src/NetworkManagerDevice.c
18691                 - Disable wired devices in the menu when they have no link.
18692
18693 2005-01-21  Dan Williams  <dcbw@redhat.com>
18694
18695         * Cache last-known-good wireless authentication method in
18696                 NetworkManagerInfo, and use that method first during
18697                 wireless device activation.  Should speed up devices that
18698                 need Shared Key authentication method since Open System is
18699                 now the default.
18700
18701         * Remove the hack to not do full activation on wired connections
18702                 that are active when we launch, it causes too many problems
18703                 with name resolution and was a hack in the first place.
18704
18705         * Re-work wireless device activation again somewhat to have a
18706                 clearer chain of events and to use last-known-good
18707                 authentication method of the access point.  Also provide
18708                 better status throughout activation to ensure the applet
18709                 can tell the user exactly what's going on.
18710
18711         * Remove the "find wireless network" code and now simply attempt
18712                 to activate with that access point.  This reduces the delay
18713                 between selecting "Other wireless Network" and actually
18714                 connecting to that network.
18715
18716         * Correctly stop the device's worker thread when its removed.
18717
18718 2005-01-21  Dan Williams  <dcbw@redhat.com>
18719
18720         * dhcpcd/client.c
18721                 - Clean up some of the debug messages
18722
18723 2005-01-21  Dan Williams  <dcbw@redhat.com>
18724
18725         * Add new icons, more frames of animation
18726         * Remove some hacks to get the panel applet to display correct
18727                 status, an NM update will soon follow that will fix the
18728                 real issue.
18729
18730 2005-01-19  Kjartan Maraas  <kmaraas@gnome.org>
18731
18732         * panel-applet/NMWirelessApplet.c: #include <config.h> must be
18733         the first include for working i18n. Also, don't include it in .h files
18734         * panel-applet/NMWirelessApplet.h: Same
18735         * panel-applet/NMWirelessAppletOtherNetworkDialog.c: Same
18736         * panel-applet/menu-info.c: Same
18737
18738 2005-01-18  Dan Williams <dcbw@redhat.com>
18739
18740         * dhcpcd/client.c
18741                 - Remove some debug messages
18742                 - Wrap others in #ifdef DEBUG/#endif
18743
18744         * src/NetworkManager.c
18745                 - Remove some debug messages
18746                 - Clarify some debug messages
18747                 - Remove code related to old single-thread wireless scanning
18748
18749         * src/NetworkManagerAP.[ch]
18750                 - New AP property "last_seen" to track how recently an AP was
18751                         found in a scan
18752                 - Start using 'const' more in function arguments
18753
18754         * src/NetworkManagerAPList.[ch]
18755                 - (nm_ap_list_merge_scanned_ap): new, selectively update attributes
18756                         of an AP found in an AP list from a source AP, or if not found
18757                         in the list add the source AP
18758                 - (nm_ap_list_combine): remove, no longer needed
18759
18760         * src/NetworkManagerDevice.c
18761                 - Each device now has a "worker" thread from start to end of its life.
18762                         Scanning for wireless devices now happens in that thread,
18763                         not in a single "wireless scanning thread" for all devices as
18764                         previously.  Activation consists of adding an idle handler to the
18765                         thread's main loop/context, which gets run at the next available
18766                         opportunity.
18767                 - Wireless scanning is also simplified, there is now only one list of
18768                         access points per wireless device, and APs older than 60s are
18769                         removed from the list.  Previously, we kept results for the last
18770                         3 scans and merged whole lists, which was complicated.
18771                 - Cleaned up activation debug messages.
18772                 - Wireless activation and access-point search routines now use Open System
18773                         authentication before trying Shared Key.
18774                 - Removed some code in nm_device_update_best_ap() that could cause cards
18775                         to loose their link to the access point.
18776                 - Scanning now uses a backoff algorithm, where the inverval becomes
18777                         progressively longer between scans when the list of scanned access
18778                         points doesn't change.  A change will revert to the shortest scan
18779                         interval (20s).
18780
18781         * src/NetworkManagerWireless.[ch]
18782                 - Remove code related to old single-thread wireless scanning
18783
18784 2005-01-18  Colin Walters  <walters@redhat.com>
18785
18786         * src/NetworkManagerDHCP.c (set_nameservers): Free and clear list
18787         of older nameservers.
18788
18789 2005-01-18  Colin Walters  <walters@redhat.com>
18790
18791         * named/nm-named-manager.c (generate_named_conf): Many fixes
18792         to config file generation.
18793         (safer_kill): Remove, was too much trouble for little gain.
18794         (nm_named_manager_start): Run named as NM_NAMED_USER.
18795
18796         * configure.in: Add option --with-named-user.
18797
18798 2005-01-14  Colin Walters  <walters@redhat.com>
18799
18800         Patch from ed@catmur.co.uk (Ed Catmur)
18801
18802         * named/nm-named-manager.c: Add "context" property.
18803         Use it to add child watch source in specific GMainContext.
18804
18805         * src/NetworkManager.c (nm_data_new): Initialize
18806         named with correct main context.  Start named only
18807         after forking.
18808
18809 2005-01-14  Colin Walters  <walters@redhat.com>
18810
18811         * named/nm-named-manager.c (generate_named_conf): Write config
18812         and pid files into NM_NAMED_DATA_DIR; this allows things to
18813         work better with FC3 named SELinux policy.  Also fix up silly
18814         format error.
18815
18816         * configure.in: Add --with-named-dir option.
18817
18818 2005-01-14  Colin Walters  <walters@redhat.com>
18819
18820         * configure.in: Make named support require passing --with-named.
18821
18822         * named/nm-named-manager.c: Support writing resolv.conf directly
18823         without running named.
18824
18825 2005-01-13  Dan Williams <dcbw@redhat.com>
18826
18827         * named/nm-named-manager.c
18828                 - Use syslog(LOG_WARNING) rather than g_warning() (gnome.org #163961)
18829
18830         * src/NetworkManagerDevice.c
18831                 - Rework wireless link detection code to be more reliable
18832
18833 2005-01-12  Dan Williams <dcbw@redhat.com>
18834
18835         * initscripts/RedHat/NetworkManager
18836                 - Change initial level to "-" rather than "345" so that
18837                         we don't activate ourselves by default on install
18838
18839 2005-01-12  Dan Williams <dcbw@redhat.com>
18840
18841         * libnm_glib/
18842                 - Client library for applications using glib
18843
18844         * configure.in
18845           various Makefiles
18846                 - Split NM_CFLAGS and NM_LIBS into separate variables
18847                         like DBUS_*, HAL_* and GLIB_*
18848
18849         * src/NetworkManager.c
18850           src/NetworkManagerMain.h
18851                 - (nm_schedule_status_signal_broadcast): at the earliest convenience,
18852                         broadcast a status changed signal over DBUS from the main thread.
18853                         Still unused anywhere for the moment.
18854
18855         Patch from j@bootlab.org
18856         * panel_applet/NMWirelessAppletDbus.c
18857           src/NetworkManagerDbus.c
18858                 - Correct INT32->UINT32 mistmatch between NM and the panel applet
18859                         for the "getMode" method call
18860
18861 2005-01-10  Dan Williams <dcbw@redhat.com>
18862
18863         * src/NetworkManagerDevice.c
18864                 - Minor fixups & corrections to "auto" frequency mode, make it
18865                         less chatty with syslog
18866
18867 2005-01-10  Dan Williams <dcbw@redhat.com>
18868
18869         * src/NetworkManagerDevice.c
18870                 - Implement "auto" frequency/channel support, since cards like Atheros
18871                         can't use other frequencies at all when you've told it to use a
18872                         specific one, even for scanning.
18873                 - Grab the scan mutex around places where we can't tolerate wireless
18874                         settings changing underneath us, like nm_device_wireless_network_exists()
18875                         and nm_device_activate_wireless()
18876
18877         * src/NetworkManagerWireless.c
18878                 - Back scan interval off to 20s instead of 14s
18879
18880 2005-01-09  Dan Williams <dcbw@redhat.com>
18881
18882         * src/NetworkManagerDevice.c
18883                 - Don't set mode/freq/bitrate if that mode/freq/bitrate is
18884                         already set.  Stops some drivers like Atmel from continually
18885                         reloading the firmware, which they do upon every configuration
18886                         change.
18887
18888 2005-01-09  Dan Williams <dcbw@redhat.com>
18889
18890         * dhcpcd/client.c
18891                 - Use correct timeout value
18892
18893         * info-daemon/NetworkManagerInfoDbus.c
18894           src/NetworkManagerDbus.c
18895                 - Consolidate communication between NM and NMI by doing only 1 dbus
18896                         method call to get Wireless Network info from NMI instead of 6
18897
18898         * src/NetworkManager.c
18899                 - Make sure to cancel activation when we receive a SIGTERM, otherwise
18900                         when we didn't have an AP to use, we'd wait for one forever without
18901                         quitting
18902
18903         * src/NetworkManagerDevice.c
18904                 - nm_device_activation_cancel(): Fix a race between dhcp and quitting
18905                         activation, dhcp might not have started yet but we don't quit activation
18906                         before starting it, so the quit signal gets lost
18907
18908 2005-01-07  Dan Williams <dcbw@redhat.com>
18909
18910         * dhcpcd/client.c
18911                 - Rework the DHCP client code to be much less chatty when
18912                         it receives non-DHCP UDP packets during the DHCP run
18913                         (reported by and preliminary patches from Bill Moss)
18914
18915         * Move wireless scanning to a separate thread.  This thread forwards the
18916                 results to the main thread when done where they are integrated into
18917                 the device's access point lists.  This keeps the main thread (which
18918                 does all the DBUS communication) from being blocked for long periods
18919                 of time by wireless scanning.
18920
18921         * Make state modification an idle routine in the main loop, and trigger
18922                 state changes rather than polling for them.
18923
18924         * src/backends/NetworkManagerGentoo.c
18925                 - Fix up invalid C90 code (reported by Christoph Ruessler)
18926
18927         * src/NetworkManagerDevice.c
18928                 - Revert IPv6 patch for wired devices from 2004-12-22 for
18929                         router advertisements, causing problems and infinite loop
18930                         during "best" device determination due to link going up/down
18931                         (reported by Bill Moss)
18932
18933         Apply patch from Peter Jones
18934         * src/NetworkManagerDevice.c
18935                 - Shortcut for link-checking for ipw2x00 cards
18936                 - Split out association check into separate routine
18937
18938 2004-01-05  Colin Walters  <walters@redhat.com>
18939
18940         * named/named.conf: Add PID_FILE.
18941
18942         * named/nm-named-manager.c: Always generate a pid
18943         file, since older BIND versions don't support
18944         "pid-file none".
18945
18946 2005-01-01  Satoru SATOH <ss@gnome.gr.jp>
18947
18948         * configure.in (ALL_LINGUAS): Added ja (Japanese).
18949
18950 2004-12-22  Dan Williams <dcbw@redhat.com>
18951
18952         * src/NetworkManagerDevice.c
18953                 - Silently fail when setting bitrate doesn't work
18954
18955
18956         Patches from j@bootlab.org:
18957         * src/backends/NetworkManagerDebian
18958                 - Update backend to match functionality in RedHat backend
18959         * src/NetworkManagerDevice.c
18960                 - Take down then bring up wired devices after connection so
18961                 they send out ipv6 router advertisements
18962
18963 2004-12-21  Colin Walters  <walters@verbum.org>
18964
18965         * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_update_devices): Correctly
18966         test for NETWORK_MODE_ADHOC; spotted by: Greg <gonufer@gmail.com>.
18967
18968 2004-12-21  Colin Walters  <walters@redhat.com>
18969
18970         * configure.in: Correct named detection.
18971
18972 2004-12-21  Colin Walters  <walters@redhat.com>
18973
18974         * src/NetworkManager.c (nm_data_new): Initialize named.
18975         Also, set up a signal handler for SIGINT/SIGTERM, and exit
18976         the mainloop when these signals are received.
18977         (nm_data_free): Unref named.
18978         (sigterm_handler, sigterm_pipe_handler): New functions for
18979         exiting mainloop.
18980         
18981         * src/NetworkManagerMain.h (NMData): Add signal handling and
18982         nameserver bits.
18983
18984         * src/NetworkManager.c (nm_device_unref): Quit device mainloop on
18985         unref.
18986
18987         * src/NetworkManagerDHCP.c (set_nameservers): New function;
18988         set nameservers from DHCP response data.
18989         (set_domain_search): Set domain search from DHCP response.
18990         (nm_device_dhcp_configure): Invoke them.
18991
18992         * src/NetworkManagerSystem.c
18993         (nm_system_device_update_resolv_conf): Delete.  Deleting
18994         code is totally sweet.
18995
18996         * src/Makefile.am (NetworkManager_LDADD): Add libnamed.
18997
18998         * named/nm-named-manager.h, named/nm-named-manager.c: New files;
18999         implements an object which controls a nameserver.  Currently
19000         uses bind 9.
19001
19002         * configure.in: Check for named.
19003
19004         * Makefile.am (SUBDIRS): Add named dir.
19005
19006         * named/named.conf: New template config file.
19007
19008 2004-12-20  Colin Walters  <walters@redhat.com>
19009
19010         * src/NetworkManagerPolicy.c (nm_policy_get_best_device): Fix usage of '=='
19011         instead of '='.
19012
19013 2004-12-17  Dan Williams  <dcbw@redhat.com>
19014
19015         * Ad Ad-Hoc networking mode support.  In Ad-Hoc mode, we only try to get
19016                 link-local addresses instead of doing DHCP.
19017
19018         * In the panel applet, there's a new "Create new Wireless Network..." item
19019
19020         * The panel applet also sticks around now even if NetworkManager dies, but
19021                 it doesn't hide its icon when NM isn't around.  Not hiding the icon is
19022                 a bug, I'll fix that later.
19023
19024         * We also don't use 'nscd' anymore in the RH backend, it was impeding name
19025                 lookups after a switch rather than actually doing them.
19026
19027         * Clean up some of those warnings in nm_ap_list_* functions
19028
19029         * Delay between scans changed to 15s instead of 10s
19030
19031 2004-12-15  Dan Williams  <dcbw@redhat.com>
19032
19033         Patch from Tom Parker
19034         * Add autoip/Link Local Addressing support when we fail to get a DHCP
19035                 address
19036
19037         * Longer pause after setting ESSID on cards that support a larger number
19038                 of channels to give the card time to find the right channel
19039
19040         * Add system hook to restart mDNSResponder (or whatever the local implementation
19041                 of Multicast DNS is) when we activate interfaces
19042
19043 2004-12-15  Dan Williams  <dcbw@redhat.com>
19044
19045         * Rework the DHCP code again to revert to sending full ethernet frames
19046                 rather then relying on the kernel to do the right thing with our
19047                 packets.
19048
19049 2004-12-06  Dan Williams  <dcbw@redhat.com>
19050
19051         * dhcpcd/client.c
19052                 - Fix some minor errors in dhcp_handle_transaction() that caused
19053                         unexpected early timeouts of DHCP transactions
19054
19055         * dhcpcd/client.h
19056                 - DHCP retransmit time from 4s -> 5s
19057
19058 2004-12-05  Dan Williams  <dcbw@redhat.com>
19059
19060         * Major rework of the DHCP code, taking some cues from pump.  We don't
19061                 write raw Ethernet packets anymore, which simplifies the code quite
19062                 a bit.  The new code should be more robust, not hang in recvfrom()
19063                 as much, and generally work better.  This also means that we need
19064                 to force HAL/dbus to use a created GMainContext rather than the
19065                 default context, since having the DHCP renew/rebind thread using
19066                 its own GMainContext seemed to give dbus a fit.  There is also more
19067                 debugging information printed from the DHCP loop to help with future
19068                 problems.
19069
19070         * Also, if the DHCP server doesn't give us the "routersOnSubnet" option,
19071                 assume that the default gateway should be the DHCP server.
19072
19073         Patch from Matthew Schick <matt oss-institute org>
19074         * src/backends/NetworkManagerGentoo.c
19075                 - Fix compilation error due to missing "ip4_broadcast"
19076
19077 2004-12-03  Dan Williams  <dcbw@redhat.com>
19078
19079         * initscript/Makefile.am
19080         * initscript/Debian/NetworkManager
19081         * initscript/Gentoo/NetworkManager
19082         * initscript/RedHat/NetworkManager
19083         * initscript/NMLaunchHelper.c
19084                 - Remove NMLaunchHelper, if you need to wait until the network
19085                         comes up, use the dead code from CVS.
19086
19087 2004-12-01  Colin Walters  <walters@redhat.com>
19088         
19089         * configure.in: Suck in gcc warnings code from Rhythmbox,
19090         but use fewer default flags, and in particular add -Wno-unused,
19091         since the codebase has a lot of unused variables.
19092
19093         * test/nmtestdevices.c (create_device): 
19094         * test/nminfotest.c (get_network_string_property) 
19095         (get_networks_of_type): 
19096         * test/nmclienttest.c (main): 
19097         * src/NetworkManagerDbus.c (nm_dbus_create_error_message): 
19098         * initscript/NMLaunchHelper.c (get_nm_status): 
19099         * info-daemon/NetworkManagerInfoPassphraseDialog.c (update_button_cb): 
19100         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_create_error_message): 
19101         Fix declarations after statements.
19102
19103 2004-12-01  Colin Walters  <walters@redhat.com>
19104
19105         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_return_vpn_password): New method.
19106         (nmi_dbus_get_vpn_userpass): New method.
19107         (nmi_dbus_nmi_message_handler): Invoke it.
19108
19109         * info-daemon/NetworkManagerInfoDbus.h (nmi_dbus_return_vpn_password): Prototype.
19110
19111         * info-daemon/NetworkManagerInfoVPN.h,
19112         info-daemon/NetworkManagerInfoVPN.c: New files; responds
19113         to requests for VPN passwords.
19114
19115         * configure.in (GNOME_KEYRING_LIBS): Check for gnome-keyring.
19116
19117 2004-12-01  Colin Walters  <walters@redhat.com>
19118
19119         * test/nmtestdevices.c, test/nmclienttest.c: Add missing
19120         includes.
19121
19122 2004-12-01  Colin Walters  <walters@redhat.com>
19123
19124         * panel-applet/NMWirelessAppletDbus.c
19125         (nmwa_dbus_update_active_device_strength): Fix missing
19126         return value.
19127
19128 2004-12-01  Colin Walters  <walters@redhat.com>
19129
19130         * panel-applet/NMWirelessApplet.c: Add missing include.
19131
19132 2004-12-01  Colin Walters  <walters@redhat.com>
19133
19134         * src/NetworkManagerWireless.c (nm_wireless_qual_to_percent):
19135         Remove useless CLAMP (); the value is unsigned, and the case tests
19136         qual->qual < 100, so the value must always be between 0 and 100.
19137
19138 2004-12-01  Colin Walters  <walters@redhat.com>
19139
19140         * dhcpcd/buildmsg.c, dhcpcd/dhcp_test.c: Add missing includes.
19141
19142 2004-11-22  Colin Walters  <walters@verbum.org>
19143
19144         * src/backends/NetworkManagerRedHat.c (nm_system_update_dns): Run
19145         "nscd -i hosts" to invalidate the host cache instead of restarting nscd,
19146         which is essentially a noop since nscd caches hosts on disk too.
19147         
19148 2004-11-22  Colin Walters  <walters@redhat.com>
19149
19150         * src/Makefile.am (NetworkManager_SOURCES): Add
19151         NetworkManagerDevicePrivate.h.
19152
19153 2004-11-22  Dan Williams <dcbw@redhat.com>
19154
19155         * src/NetworkManagerDevicePrivate.h
19156                 - Split out the NMDevice struct to a different file so that stuff like
19157                         NetworkManagerDHCP.c and NetworkManagerSystem.c can use it
19158
19159         * dhcpcd/client.c
19160                 - fprintf->syslog
19161                 - (dhcpSendAndRecv): do non-blocking sends and receives, and check to see if we
19162                         need to cancel the dhcp request during the send and recv
19163
19164         * dhcpcd/client.h
19165                 - Move the DHCP option enum to dhcpcd.h
19166
19167         * src/NetworkManagerDHCP.c
19168                 - Split out the actual IP/netmask/etc setting code
19169                 - New Renew/Rebind functions
19170                 - New timer setup function for renew/rebind operations
19171
19172         * src/NetworkManagerDevice.c
19173                 - For device activation, if we are using DHCP then keep the activation thread
19174                         alive until device deactivation.  We need to renew/rebind the DHCP address
19175                         after the T1 (renew) and T2 (rebind) times have expired.
19176                 - Increase some timeouts after bringing wireless cards up/down
19177
19178 2004-11-17  Dan Williams <dcbw@redhat.com>
19179
19180         * Cache access point MAC addresses in NetworkManagerInfo after you've explicitly
19181                 connected to them.  Then, after a scan, match up non-ESSID-broadcasting access
19182                 points with any cached MAC addresses from NetworkManagerInfo.  Allows us to
19183                 show known access points that don't broadcast their ESSID in the menus without
19184                 any user intervention whatsoever.
19185
19186         * info-daemon/NetworkManagerInfoDbus.c
19187                 - (nmi_dbus_get_network_addresses, nmi_dbus_add_network_address): new functions
19188                         for dbus method calls "getNetworkAddresses" and "addNetworkAddress"
19189
19190         * src/NetworkManagerAP.[ch]
19191                 - Add a "user_addresses" data member to the NMAccessPoint structure
19192                 - (nm_ap_get_user_addresses, nm_ap_set_user_addresses): new functions for accessing
19193                         the user_addresses data member
19194
19195         * src/NetworkManagerAPList.c
19196                 - (nm_ap_list_get_ap_by_address): check user_addresses list too, instead of just
19197                         the AP's reported address
19198                 - (nm_ap_list_update_network): grab the user_addresses list from NetworkManagerInfo
19199
19200         * src/NetworkManagerDHCP.c
19201                 - Increase DHCP timeout from 25s -> 30s
19202
19203         * src/NetworkManagerDbus.[ch]
19204                 - (nm_dbus_get_network_addresses, nm_dbus_add_network_address): have NMI get/set
19205                         user addresses
19206
19207         * src/NetworkManagerDevice.c
19208                 - (nm_device_set_wireless_config): bring down the interface, wait 4s, bring it up,
19209                         wait 2s, then configure it.  Sometimes Prism54 cards will freeze up with
19210                         "mgnt tx queue full", seemingly in response to NM controlling the card too much.
19211                         So, we take the card down to clear it out.
19212                 - (nm_device_do_normal_scan): Copy over AP ESSIDs from the allowed access point list
19213                         too, since that's where the user_addresses are
19214
19215         * src/NetworkManagerPolicy.c
19216                 - (nm_state_modification_monitor): Tell NMI to add an AP's hardware address to
19217                         that wireless networks' user_addresses list upon successful activation
19218
19219 2004-11-16  Dan Williams <dcbw@redhat.com>
19220
19221         * src/NetworkManagerDevice.[ch]
19222                 - (nm_device_clear_activation_fail): new function
19223
19224         * src/NetworkManagerPolicy.c
19225                 - (nm_state_modification_monitor): clear the activation_failed flag on devices
19226                         when we've dealt with the failure so the user doesn't get failure-dialog-spammed
19227
19228 2004-11-16  Dan Williams <dcbw@redhat.com>
19229
19230         * src/NetworkManagerDevice.c
19231                 - (nm_device_activate_wireless): Unref best_ap upon success so we don't
19232                         leak the structure, better updating of now_scanning status
19233                 - (nm_device_wireless_network_exists): Rewrite for better/faster checking
19234
19235 2004-11-15  Dan Williams <dcbw@redhat.com>
19236
19237         Major rework of link detection code.  We now use DHCP
19238         as part of the link detection which proves to be much more robust,
19239         and also supports Open System authentication for wireless networks.
19240
19241         We no longer use external DHCP client programs.  Instead, we use 
19242         our own DHCP client, based on substantially reworked bits of 'dhcpcd'
19243         which was written by:
19244                 Yoichi Hariguchi <yoichi@fore.com>
19245                 Sergei Viznyuk <sv@phystech.com>
19246                 http://www.phystech.com/download/
19247         It resides in the "dhcpcd" directory and was refactored into a general
19248         purpose DHCP client library by me.
19249
19250         Also misc fixes (CPPFLAGS->AM_CPPFLAGS, move some stuff around),
19251         move src/backends/NetworkManagerSystem.h -> src/NetworkManagerSystem.h
19252
19253 2004-11-15  Dan Williams <dcbw@redhat.com>
19254
19255         Patch from Tom Parker <palfrey@tevp.net>:
19256
19257         * src/NetworkManagerDevice.c
19258                 - Less output to console when no access
19259                         points are found during a scan
19260
19261 2004-11-15  Dan Williams <dcbw@redhat.com>
19262
19263         Patch from Tom Parker <palfrey@tevp.net>:
19264
19265         * src/backends/interface_parser.c
19266                 - Use g_strdup ()
19267                 - Check for inp == NULL
19268                 - use syslog ()
19269
19270 2004-11-13  Colin Walters  <walters@redhat.com>
19271
19272         Patch from Tom Parker <palfrey@tevp.net>:
19273
19274         * src/Makefile.am (CPPFLAGS): Switch to AM_CPPFLAGS.
19275         
19276         * src/backends/NetworkManagerRedHat.c: Switch to
19277         including shvar.h instead of shvar.c.
19278
19279         * src/backends/NetworkManagerDebian.c: Don't include
19280         interface_parser.c in source file.
19281
19282         (libnmbackend_la_SOURCES): Don't include shvar.[ch]
19283         and interface_parser.[ch].
19284         * src/Makefile.am (libnmbackend_la_SOURCES) <TARGET_REDHAT>:
19285         Include shvar.c and shvar.h here.
19286         (libnmbackend_la_SOURCES) <TARGET_DEBIAN>: Include
19287         interface_parser.c and interface_parser.h here.
19288
19289 2004-11-12  Colin Walters  <walters@redhat.com>
19290
19291         * configure.in: Strip out TARGET_DISTRO and
19292         SYSTEM_BACKEND_FILE variables.  Switch to Automake
19293         conditionals.
19294
19295         * src/Makefile.am (noinst_LTLIBRARIES): Add libnmbackend.la.
19296         (libnmbackend_la_SOURCES): Use Automake conditionals
19297         to add distro-specific files.
19298
19299         * initscript/Makefile.am (SUBDIRS): Update to
19300         use conditionals.
19301
19302 2004-11-12  Colin Walters  <walters@redhat.com>
19303
19304         Patches from j bootlab org
19305
19306         * src/Makefile.am (EXTRA_NetworkManager_SOURCES): 
19307         Add interface_parser.[ch].
19308
19309         * src/backends/NetworkManagerDebian.c (nm_system_device_run_dhcp): Invoke
19310         dhclient with "-lf /var/lib/dhcp/dhclient-%s.leases".
19311
19312 2004-11-12  Colin Walters  <walters@redhat.com>
19313
19314         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_service_init): Delete
19315         call to nmi_dbus_is_running too, not necessary anymore.
19316         * info-daemon/NetworkManagerInfoDbus.c: Include stdlib.h to
19317         pick up exit().
19318
19319 2004-11-11  Colin Walters  <walters@verbum.org>
19320
19321         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_is_running):
19322         Delete.
19323         (nmi_dbus_service_init): Call dbus_bus_acquire_service with
19324         the DBUS_SERVICE_FLAG_PROHIBIT_REPLACEMENT flag, and
19325         then check the result for DBUS_SERVICE_REPLY_SERVICE_EXISTS.
19326         This avoids a race condition that made it pretty easily
19327         possible to get two NetworkManagerInfo daemons running.
19328
19329 2004-11-11  Colin Walters  <walters@verbum.org>
19330         
19331         * src/NetworkManager.c (main): Use daemon(3).
19332
19333         * info-daemon/NetworkManagerInfo.c (main): Ditto.
19334
19335         * dispatcher-daemon/NetworkManagerDispatcher.c (main): Ditto.
19336
19337 2004-11-10 Dan Williams <dcbw@redhat.com>
19338
19339         Patches from j bootlab org
19340         * src/NetworkManagerDevice.c
19341                 - (nm_device_activate_wireless): wait 5 seconds before attempting to detect
19342                         whether the card has a link or not, some cards are slow
19343                 - (nm_device_activation_configure_ip): make ipv6 work a bit better
19344
19345         * info-daemon/NetworkManagerInfoPassphraseDialog.c
19346                 - Disable the "Login" button on the passphrase dialog until the user
19347                         enters a valid passphrase or key
19348
19349         Patches from Tom Parker <palfrey tevp net>
19350         * src/backends/NetworkManagerDebian.c
19351                 - Add static IP support to the debian backend
19352
19353         * src/backends/interface_parser.[ch]
19354                 - Parse debian interface config files
19355
19356 2004-11-08 Dan Williams <dcbw@redhat.com>
19357
19358         * src/NetworkManagerDevice.c
19359                 - Some random fprintf->syslog conversions
19360                 - (nm_device_wireless_network_exists): double-check for network
19361                 - (nm_device_find_and_use_essid): Copy over encryption key no matter what
19362
19363         * src/NetworkManagerWireless.[ch]
19364                 - (nm_wireless_[128|64]bit_ascii_to_hex): make "ascii" argument unsigned again
19365                         so that the binary->ascii conversion works (if unsigned, the bitshift
19366                         will fill with zeros, which is what's required).  Also mask bitshift
19367                         result with 0xF for futher assurance.
19368
19369 2004-11-06 Dan Williams <dcbw@redhat.com>
19370
19371         * src/NetworkManagerUtils.c
19372                 - (nm_get_wireless_driver_support_level): default to
19373                         FULLY_SUPPORTED rather than UNSUPPORTED, forgot to
19374                         flip this when changing from whitelist->blacklist of
19375                         wireless drivers
19376
19377 2004-11-05 Dan Williams <dcbw@redhat.com>
19378
19379         Patch from Robert Paskowitz:
19380         * src/backends/NetworkManagerGentoo.c
19381                 - Update static IP config code
19382
19383 2004-11-05 Dan Williams <dcbw@redhat.com>
19384
19385         * info-daemon/NetworkManagerInfoDbus.c
19386           src/NetworkManagerDbus.[ch]
19387           src/NetworkManagerDevice.c
19388                 - Keep track of the # of attempts to get the WEP key
19389                         from the user and pass that along to the info daemon
19390
19391 2004-11-05 Dan Williams <dcbw@redhat.com>
19392
19393         * src/NetworkManagerUtils.c
19394                 - Blacklist wireless cards rather than whitelisting them.
19395                 - Grab driver name from HAL rather than trying to find it
19396                         ourselves.
19397
19398 2004-11-03 Dan Williams <dcbw@redhat.com>
19399
19400         * panel-applet/NMWirelessAppletOtherNetworkDialog.c,
19401                 - Disable OK button until valid data is entered
19402                         for encryption stuff too
19403
19404         * panel-applet/NMWirelessApplet.c
19405                 - Report card strength for current AP if the card
19406                         doesn't report strength data for scanned access
19407                         points
19408
19409         * src/NetworkManagerDevice.c
19410                 - Smooth out cards reported quality, Atmel card was
19411                         intermittently reporting no quality data but soon
19412                         recovers
19413
19414         * src/NetworkManagerWireless.c
19415                 - Better quality data percentage calculation.  Atmel
19416                         cards (mine at least) seem to report the quality
19417                         in percentage format already, so honor that
19418
19419         Patch from <j@bootlab.org>
19420         * NetworkManager.h
19421           info-daemon/NetworkManagerInfoPassphraseDialog.c
19422           info-daemon/passphrase.glade
19423           panel-applet/NMWirelessAppletOtherNetworkDialog.c
19424           panel-applet/essid.glade
19425           src/NetworkManagerAP.c
19426           src/NetworkManagerDevice.c
19427           src/NetworkManagerWireless.[ch]
19428                 - Support ASCII WEP keys, in both 40/64 bit and 104/128 bit
19429
19430 2004-11-03 Dan Williams <dcbw@redhat.com>
19431
19432         * src/NetworkManagerDevice.[ch]
19433                 - (nm_device_set_enc_key): Add parameter to set Authentication
19434                         Mode (Open System, Shared Key, or None).  We're still using
19435                         Shared Key for now though.
19436
19437 2004-11-02  Bryan Clark  <clarkbw@cvs.gnome.org>
19438
19439         * panel-applet/menu-info.c: change from bold text to light
19440         colored, may cause problems with some themes, i've tested a lot
19441         and they seem fine. 
19442
19443         * panel-applet/NMWirelessApplet.c: fix strength tooltip
19444
19445 2004-11-01  Colin Walters  <walters@verbum.org>
19446
19447         * src/NetworkManagerWireless.h, src/NetworkManagerWireless.c
19448         (nm_wireless_128bit_key_from_passphrase): Add const.
19449
19450         * src/NetworkManagerAP.h, src/NetworkManagerAP.c
19451         (nm_ap_set_enc_key_source): Add const.
19452         
19453 2004-11-01  Colin Walters  <walters@verbum.org>
19454
19455         * .cvsignore: Update.
19456
19457 2004-10-29 Dan Williams <dcbw@redhat.com>
19458
19459         * src/NetworkManagerDevice.c
19460                 - (nm_device_wireless_network_exists): Actually use the encryption
19461                         key we got from the applet when attempting to find a wireless network
19462                 - Don't bring devices down so much since on some cards it triggers
19463                         firmware hotplugs each time
19464
19465         * src/NetworkManagerDbus.c
19466                 - (nm_dbus_nm_set_active_device): free the passphrase we may have gotten
19467                         from the caller
19468
19469 2004-10-29 Dan Williams <dcbw@redhat.com>
19470
19471         * src/NetworkManager.c
19472                 - (nm_hal_device_property_modified): unlock a locked active
19473                         wireless device when a wired connection gets a link.
19474                         (Means you'll switch to wired whenever you plug in no
19475                         matter what).
19476
19477 2004-10-29 Dan Williams <dcbw@redhat.com>
19478
19479         * panel-applet/NMWirelessAppletOtherNetworksDialog.[ch]
19480                 - New files, implement the "Other wireless network" dialog
19481
19482         * panel-applet/NMWirelessApplet.c
19483                 - Move "other wireless network" dialog to separate file
19484
19485         * panel-applet/NMWirelessAppletDbus.[ch]
19486                 - Take key and key_type paramaters for the set_device function
19487
19488         * panel-applet/essid.glade
19489                 - Add UI bits for encryption settings
19490
19491         * src/NetworkManagerDbus.c
19492                 - Retrieve key and key_type params for "setActiveDevice" method call
19493                         and pass them on
19494                 - unref AP returned from nm_device_get_best_ap() when needed
19495
19496         * src/NetworkManagerDevice.c
19497                 - (nm_device_get_best_ap): ref the ap before returning it
19498                 - unref AP returned from nm_device_get_best_ap() when needed
19499                 - (nm_device_activate_wireless): add "ap" parameter so we don't
19500                         need to call nm_device_get_best_ap() here, it was pretty much
19501                         redundant anyway
19502                 - (AP_NEED_KEY): break second link check condition out into separate
19503                         function, and fix segfault when ap->enc_key_source was NULL
19504                 - (nm_device_find_and_use_essid): take key and key_type parameters and
19505                         pass them along to nm_device_wireless_network_exists().  If the
19506                         network does exist, set the passed-in key+key_type on the AP
19507
19508         * src/NetworkManagerPolicy.c
19509                 - unref AP returned from nm_device_get_best_ap() when needed
19510
19511 2004-10-28 Dan Williams <dcbw@redhat.com>
19512
19513         * src/NetworkManagerUtils.c
19514                 - (nm_spawn_process): Fix a potential dereference of NULL
19515
19516         Patches from Peter Jones:
19517
19518         * src/NetworkManagerDevice.c
19519                 - (nm_device_test_wireless_extensions): Better check for
19520                         wireless devices
19521
19522         * src/NetworkManagerUtils.c
19523                 - (nm_spawn_process): Pass in valid stdout and stderr so
19524                         executed programs don't randomly SIGPIPE and fail
19525                 - (nm_get_wired_driver_support_level): quash hal warning
19526                         when checking for USB ethernet device
19527
19528 2004-10-27 Dan Williams <dcbw@redhat.com>
19529
19530         * info-daemon/NetworkManagerInfo.c
19531           info-daemon/NetworkManagerInfoDbus.c
19532           info-daemon/NetworkManagerInfoPassphraseDialog.c
19533           panel-applet/NMWirelessApplet.c
19534                 - Properly escape gconf keys
19535
19536         * src/NetworkManager.c
19537                 - remove unused variables
19538
19539         * src/NetworkManagerAP.c
19540                 - (nm_ap_new_from_ap): Don't redundantly set new APs
19541                         refcount since it got set in nm_ap_new()
19542
19543         * src/NetworkManagerAPList.c
19544                 - (nm_ap_list_combine): Give up ownership of newly created
19545                         access points to the ap list, fixes memleak
19546
19547         * src/NetworkManagerDevice.c
19548                 - Remove cached_ap_list4 member since its not really needed
19549                 - (nm_device_wireless_network_exists): Try to get correct
19550                         encryption status of a found AP if its already in our
19551                         device list
19552                 - (nm_device_do_normal_scan): Clean up scanning a bit, make
19553                         memory allocs/deallocs a bit clearer and shorter-lived
19554
19555 2004-10-26 Ray Strode <rstrode@redhat.com>
19556
19557         * panel-applet/NMWirelessApplet.c:
19558           (custom_essid_item_selected):  kill some compiler
19559         warnings 
19560
19561 2004-10-26 John (J5) Palmieri <johnp@redhat.com>
19562
19563         * info-daemon/NetworkManagerInfoDbus.c
19564                 - (nmi_dbus_is_running): New function for determining if nmi is already running
19565                 - (nmi_dbus_service_init): exit if another instance of nmi is already running
19566
19567 2004-10-23 Dan Williams <dcbw@redhat.com>
19568
19569         * info-daemon/NetworkManagerInfoDbus.c
19570                 - Trap the "DeviceActivationFailed" signal
19571
19572         * docs/NetworkManager DBUS API.txt
19573                 - Add "DeviceActivationFailed" signal
19574
19575         * panel-applet/NMWirelessAppletDbus.c
19576                 - Quash the "NetworkManager service not available" message
19577
19578         * src/NetworkManagerDbus.[ch]
19579                 - Add the "DeviceActivationFailed" signal
19580
19581         * src/NetworkManagerDevice.c
19582                 - Add support for activation_failed flag
19583                 - Fix deadlock where activation thread didn't clean itself up, making
19584                         main thread still believe it was alive forever (didn't reset activation
19585                         flags like activating, just_activated, etc when IP configuration
19586                         failed)
19587
19588         * src/NetworkManagerPolicy.c
19589                 - Implement logic for DeviceActivationFailed signal, and when activation fails
19590                         for wireless networks, try to fall back to some other access point
19591
19592 2004-10-23 Dan Williams <dcbw@redhat.com>
19593
19594         * panel-applet/NMWirelessApplet.[ch]
19595                 - Place the GtkMenuBar inside a GtkEventBox, and add the Event Box
19596                         to the applet object, so we can get tooltips
19597                 - Add tooltips (RH #136866)
19598
19599         * src/NetworkManagerDevice.c
19600                 - When trying to find a wireless network, try to connect with encryption
19601                         turned on first, so that we can more accurately detect whether or not
19602                         we need to use encryption for the actual association later on
19603
19604 2004-10-21 Dan Williams <dcbw@redhat.com>
19605
19606         * Add some support for telling NetworkManagerInfo to tell the user
19607                 that they are using a device that's not fully supported
19608
19609         * Fix some assertions in debug messages due to null access point args
19610
19611 2004-10-21 Dan Williams <dcbw@redhat.com>
19612
19613         * src/NetworkManagerDevice.c
19614                 - Don't try to activate/bring up/down unsupported
19615                         devices
19616
19617         * src/NetworkManagerUtils.c
19618                 - Fix case of PCI ID checks for driver support levels
19619
19620 2004-10-21 Dan Williams <dcbw@redhat.com>
19621
19622         * NetworkManager.h
19623                 - New file, now contains commonly used structures and bits
19624                         for the dbus API of NetworkManager
19625
19626         * Makefile.am
19627                 - Deliver NetworkManager.h to ${includedir}/NetworkManager
19628
19629         * src/NetworkManager.h
19630                 - Rename -> src/NetworkManagerMain.c
19631
19632         * Various fixups all around to use NetworkManager.h and new
19633                 src/NetworkManagerMain.h, remove redundant bits that got
19634                 moved into NetworkManager.h
19635
19636         * src/NetworkManagerDevice.[ch]
19637           src/NetworkManagerUtils.[ch]
19638           src/NetworkManagerPolicy.c
19639           src/NetworkManagerDbus.c
19640                 - Whitelist wireless drivers, and blacklist some wired
19641                         drivers.  Also blacklist cipsec and ethernet-over-usb
19642                         devices at this time (RH #135722, RH #135648)
19643                 - Don't leak unsupported devices out over dbus, or allow
19644                         them to be set as the active device.  Skip over them
19645                         during automatic device picking
19646
19647         * test/nmclienttest.c
19648                 - Clean up the dbus code a lot
19649
19650 Tue Oct 19 14:20:29 2004  Jonathan Blandford  <jrb@redhat.com>
19651
19652         * configure.in: post release bump.
19653
19654 Tue Oct 19 14:19:24 2004  Jonathan Blandford  <jrb@redhat.com>
19655
19656         * configure.in:
19657         * NEWS: Released NetworkManager-0.3.1
19658
19659 2004-10-18 Dan Williams <dcbw@redhat.com>
19660
19661         Patches from Thom May:
19662         * test/nmtestdevices.c
19663                 - Include <string.h>
19664         * src/backends/NetworkManagerDebian.c:
19665                 - (nm_system_device_run_dhcp, nm_system_device_stop_dhcp)
19666                         (nm_system_device_flush_routes, nm_system_device_flush_addresses)
19667                         Move to using g_strdup_printf rather than arbitrary buffers
19668                 - (nm_system_device_setup_static_ip4_config) Implement function.
19669                 - (nm_system_kill_all_dhcp_daemons) Use killall -q rather than killall
19670
19671 2004-10-17 Dan Williams <dcbw@redhat.com>
19672
19673         * info-daemon/NetworkManagerInfoDbus.c
19674                 - Display name of network in the "network not found" dialog
19675
19676         * panel-applet/NMWirelessAppletDbus.c
19677                 - (nmwa_dbus_call_nm_method): new function replaces all other
19678                         nmwa_dbus_get_[string|string_array|int|boolean] methods
19679                 - nmwa_dbus_get_network_name() and nmwa_dbus_get_device_name()
19680                         consolidated into nmwa_dbus_get_object_name()
19681
19682 2004-10-15 Dan Williams <dcbw@redhat.com>
19683
19684         * src/NetworkManagerDbus.c
19685           info-daemon/NetworkManagerInfoDbus.c
19686                 - Display an error dialog when the user tries to use an
19687                         "Other wireless network" that's not found.
19688
19689 2004-10-15 Dan Williams <dcbw@redhat.com>
19690
19691         * panel-applet/NMWirelessApplet.[ch]
19692                 - Fix up corner cases in applet state, making it
19693                         look more responsive.  Change state to "connecting" when
19694                         the user is forcing a device too.
19695
19696 2004-10-15 Dan Williams <dcbw@redhat.com>
19697
19698         * src/NetworkManagerAPList.c
19699                 - (nm_ap_list_update_network): Disown AP after the list takes ownership
19700
19701         * src/NetworkManagerDbus.c
19702                 - (nm_dbus_nm_set_active_device): Simplify the device setting logic
19703
19704         * src/NetworkManagerDevice.c
19705                 - Disown APs after the device's AP list takes ownership
19706
19707 2004-10-15 Dan Williams <dcbw@redhat.com>
19708
19709         * panel-applet/NMWirelessApplet.c
19710                 - Update our applet state from the GUI thread
19711
19712         * panel-applet/NMWirelessAppletDbus.c
19713                 - Greatly simplify the locking to make the GUI thread
19714                         smoother.  Update a private copy of the device list
19715                         and active device and only when done talking to
19716                         NetworkManager turn it over to the GUI thread.
19717
19718 2004-10-15 Dan Williams <dcbw@redhat.com>
19719
19720         * src/NetworkManagerAP.[ch]
19721                 - Add "artificial" get/set functions, set for APs that
19722                         aren't discovered as part of a scan but instead
19723                         discovered by force-setting the ESSID
19724
19725         * src/NetworkManagerDevice.[ch]
19726                 - (nm_device_wireless_network_exists): pass back whether
19727                         or not the discovered AP was encrypted.  Also, try
19728                         falling back to encrypted mode on the card if unencrypted
19729                         association doesn't work
19730                 - (nm_device_find_and_use_essid): If the network requested
19731                         did in fact exists, but it wasn't in our scan list, add
19732                         an "artificial" entry for it.  Some Cisco cards don't
19733                         see non-ESSID-broadcasting APs in their scan but can still
19734                         associate with them if you know the ESSID, this works around
19735                         that behavior
19736                 - (nm_device_do_normal_scan): Carry "artificial" APs over from scan
19737                         to scan if the card is currently associated with that AP
19738
19739 2004-10-15 Dan Williams <dcbw@redhat.com>
19740
19741         ---- We have a website ----
19742         http://people.redhat.com/dcbw/NetworkManager
19743
19744         Patch from Robert Paskowitz:
19745         * src/NetworkManager.c
19746                 - (main): Make sure we are run as root
19747         * src/NetworkManagerDevice.c
19748                 - Fix type in ad-hoc setting function
19749
19750         Patch from Thom May:
19751         * src/backends/NetworkManagerDebian.c
19752                 - Make Debian backend compile again
19753
19754 2004-10-14 Dan Williams <dcbw@redhat.com>
19755
19756         * Tagged NetworkManager-0_3
19757
19758 2004-10-14 Dan Williams <dcbw@redhat.com>
19759
19760         Patch from Robert Paskowitz:
19761         * NEWS
19762           src/NetworkManagerDevice.[ch]
19763           src/backends/NetworkManagerDebian.c
19764           src/backends/NetworkManagerGentoo.c
19765           src/backends/NetworkManagerRedHat.c
19766           src/backends/NetworkManagerSlackware.c
19767                 - Add support for grabbing and using a broadcast address
19768                         from system config files
19769                 - Some Gentoo backend fixes for grabbing network config
19770                 - Fix LOG_WARN->LOG_WARNING
19771
19772 2004-10-14 Dan Williams <dcbw@redhat.com>
19773
19774         * NEWS: a few small fixes in the credits
19775
19776 Thu Oct 14 19:12:58 2004  Jonathan Blandford  <jrb@redhat.com>
19777
19778         * NEWS: prep for release.
19779
19780 Thu Oct 14 16:47:12 2004  Jonathan Blandford  <jrb@redhat.com>
19781
19782         * panel-applet/NMWirelessAppletDbus.c
19783         (nmwa_dbus_update_device_wireless_networks): remove warnings.
19784
19785 Thu Oct 14 16:40:39 2004  Jonathan Blandford  <jrb@redhat.com>
19786
19787         * panel-applet/NMWirelessApplet.c (animation_timeout): Make
19788         applet->state == APPLET_STATE_NO_NM animation.
19789
19790         * panel-applet/NMWirelessApplet.c (custom_essid_item_selected):
19791         set the text correctly.
19792
19793 2004-10-14 Dan Williams <dcbw@redhat.com>
19794
19795         * src/NetworkManager.c
19796                 - Only accept and manager 802.3 and 802.11 devices
19797
19798         * src/NetworkManagerDbus.[ch]
19799                 - (nm_dbus_nm_set_active_device): move most of the actual activation
19800                         logic into NetworkManagerDevice.c
19801                 - (nm_dbus_network_status_from_data): new function
19802                 - (nm_dbus_signal_network_status_change): new function, unused for now
19803                 - (nm_dbus_nm_message_handler): use nm_dbus_network_status_from_data () now
19804
19805         * src/NetworkManagerDevice.[ch]
19806                 - (nm_device_find_and_use_essid): new function.  Search for, and if found use,
19807                         a random ESSID.
19808
19809 2004-10-14 John (J5) Palmieri <johnp@redhat.com>
19810
19811         * info-daemon/NetworkManagerInfo.c 
19812                 - (main): Added session management
19813
19814 2004-10-14 Dan Williams <dcbw@redhat.com>
19815
19816         * panel-applet/NMWirelessAppletDbus.[ch]
19817                 - Expose network_device_[un]ref()
19818                 - Expose wireless_network_[un]ref()
19819                 - (wireless_network_new_with_essid): new function, create and return
19820                         a wireless network with a particular essid
19821
19822         * panel-applet/NMWirelessApplet.c
19823                 - Hook up the "other network" dialog to do something
19824
19825 Wed Oct 13 19:31:53 2004  Jonathan Blandford  <jrb@redhat.com>
19826
19827         * panel-applet/NMWirelessApplet.c: Add an essid dialog.  It
19828         doesn't work yet, but it looks okay.
19829
19830         * panel-applet/icons/*png: Resize to 22x22 and install in the
19831         right place.
19832
19833 2004-10-13 Dan Williams <dcbw@redhat.com>
19834
19835         * panel-applet/NMWirelessApplet.c
19836                 - Add function to print out applet_state in a readable
19837                         manner
19838
19839         * src/NetworkManager.c
19840                 - (main): Don't segfault when nm_dbus_init() fails, we had
19841                         a left-over call to hal_shutdown() into which we passed NULL
19842
19843         * src/NetworkManagerAP.c
19844                 - (nm_ap_set_essid): Allow NULL essids
19845
19846         * src/NetworkManagerAPList.[ch]
19847                 - More use of nm_ap_list_[un]lock ()
19848                 - (nm_ap_list_get_ap_by_essid): don't warn when looking for a NULL
19849                         network/essid, just return nothing.  Also skip over NULL
19850                         essid access points in the list when searching
19851                 - (nm_ap_list_get_ap_by_address): new function
19852                 - (nm_ap_list_update_network): set the access point's key source to
19853                         NULL when the key returned from NetworkManagerInfo is NULL or
19854                         of 0 length
19855                 - nm_ap_list_update_keys() -> nm_ap_list_update_properties(), and
19856                         copy timestamp over too
19857                 - (nm_ap_list_copy_essids_by_address): new function, attempt to
19858                         find the correct ESSID for a blank-essid access point by searching
19859                         through another list and matching access point MAC addresses
19860                 - (nm_ap_list_diff): exclude blank-essid access points from the diffs
19861
19862         * src/NetworkManagerDbus.c
19863                 - (nm_dbus_nm_set_active_device): deal with random networks the user
19864                         may specify.  This is mainly for access points that don't
19865                         broadcast their essid.  So if the user tells us to associate with
19866                         some random ESSID that's not in our access point list, we find
19867                         out if the access point does in fact exist (by attempting association
19868                         and then matching that access point's MAC address with the essid the
19869                         user gave us) and then we switch to it.
19870                 - (nm_dbus_devices_handle_request): don't add blank-essid access points
19871                         to the returned list of networks for the "getNetworks" method
19872
19873         * src/NetworkManagerDevice.[ch]
19874                 - Extra debugging info for link detection
19875                 - (nm_device_ap_list_get_ap_by_address): new function, return an AP
19876                         based on MAC address
19877                 - (nm_device_get_path_for_ap): ignore blank-essid access points
19878                 - (nm_device_wireless_network_exists): new function, find out whether
19879                         a random ESSID exists by attempting to associate with it
19880                 - (nm_device_do_normal_scan): allow blank-essid access points in our
19881                         device list as long as they have an AP MAC address we can use.
19882                         Also send WirelessNetwork[Dis]Appeared signals for non-active
19883                         devices too.  Lets the applet update more frequently.
19884
19885         * src/backends/NetworkManagerGentoo.c
19886                 - Patch from: Robert Paskowitz
19887                         - Update backend code for Gentoo
19888                         - Implement nm_system_device_update_config_info ()
19889
19890         * test/nmclienttest.c
19891                 - (set_network_device): new function, takes a command-line argument
19892                         and tells NetworkManager to use that wireless network
19893
19894 Wed Oct 13 John (J5) Palmieri <johnp@redhat.com>
19895
19896         * info-daemon/NetworkManagerInfo.c (nmi_spawn_notification_icon): Stop respawning
19897         if the notification icon crashes 5 times within 5 seconds of each respawn 
19898
19899 Tue Oct 12 22:53:04 2004  Jonathan Blandford  <jrb@redhat.com>
19900
19901         * panel-applet/NMWirelessApplet.c (nmwa_update_state): remove
19902         g_print.
19903
19904 Tue Oct 12 22:44:15 2004  Jonathan Blandford  <jrb@redhat.com>
19905
19906         * panel-applet/NMWirelessApplet.h: Change the name of the icons.
19907
19908         * panel-applet/NMWirelessApplet.c: (animation_timeout),
19909         (nmwa_update_state), (nmwa_destroy), (nmwa_setup_widgets),
19910         (nmwa_icons_free), (nmwa_icons_load_from_disk), (nmwa_icons_init):
19911         Change the name of the icons.
19912
19913         * panel-applet/menu-info.c: (nm_menu_wired_class_init),
19914         (nm_menu_wired_expose_event), (nm_menu_network_class_init),
19915         (nm_menu_wireless_class_init), (nm_menu_wireless_new),
19916         (nm_menu_wireless_expose_event): Really bad hack to get the style
19917         to draw in the right color.
19918
19919 Tue Oct 12 John (J5) Palmieri <johnp@redhat.com>
19920
19921         * info-daemon/NetworkManagerInfo.c (main):  Add child watch to respawn
19922         Notification if it crashes
19923
19924 Fri Oct  8 07:19:55 2004  Jonathan Blandford  <jrb@redhat.com>
19925
19926         * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_get_double): 
19927         (nmwa_dbus_get_string): remove unused functions
19928
19929         * panel-applet/NMWirelessApplet.c (nmwa_about_cb):
19930         (nmwa_cancel_timeout), (nmwa_get_menu_pos), (nmwa_factory):
19931         remove unused functions
19932
19933         * panel-applet/NMWirelessApplet.c: Rewrite icon code.
19934
19935 2004-10-12 Dan Williams <dcbw@redhat.com>
19936
19937         * panel-applet/NMWirelessAppletDbus.c
19938                 - New functions:
19939                         wireless_network_new
19940                         wireless_network_copy
19941                         network_device_new
19942                         network_device_copy
19943
19944         * src/NetworkManagerDevice.[ch]
19945                 - New functions:
19946                         nm_device_set_mode_managed
19947                         nm_device_set_mode_adhoc
19948                 - Use these functions where appropriate
19949                 - When creating a new wireless device, force the card
19950                         to managed/Infrastructure mode as soon as possible
19951
19952 2004-10-12 Dan Williams <dcbw@redhat.com>
19953
19954         * src/NetworkManagerDevice.c
19955                 - Force wireless cards into Infrastructure mode before we use them
19956
19957 2004-10-12 Dan Williams <dcbw@redhat.com>
19958
19959         * TODO
19960                 - Remove bit about static IP address support
19961
19962         * src/NetworkManagerUtils.c
19963                 - (nm_spawn_process): Add some error reporting
19964
19965         * src/NetworkManagerDevice.c
19966                 - (nm_device_activation_configure_ip): hook up to the static config
19967                         routines in the backends
19968
19969         * src/backends/NetworkManagerRedHat.c
19970                 - (nm_system_device_update_config_info): use shvar.c routines to
19971                         parse the config file iformation, not our own
19972                 - (nm_system_device_setup_static_ip4_config): new function, based
19973                         heavily on 'ifup' script and 'ipcalc' tool code.  Set up a device
19974                         with a static IP address and gateway
19975
19976         * src/backends/shvar.[ch]
19977                 - Parser (filched from initscripts package) for ifcfg-* files
19978
19979         * src/backends/NetworkManagerSystem.h
19980           src/backends/NetworkManagerGentoo.c
19981           src/backends/NetworkManagerDebian.c
19982           src/backends/NetworkManagerSlackware.c
19983                 - Stub nm_system_device_update_config_info() and nm_system_device_setup_static_ip4_config()
19984
19985 2004-10-11 Dan Williams <dcbw@redhat.com>
19986
19987         * TODO
19988                 - Remove bit about more robust AP diffing since I just implemented it
19989
19990 2004-10-11 Dan Williams <dcbw@redhat.com>
19991
19992         * src/NetworkManagerAP.c
19993                 - (nm_ap_new, nm_ap_new_from_ap): Don't crash when we don't have
19994                         enough RAM to allocate new AP structures, but return NULL instead
19995
19996         * src/NetworkManagerAPList.[ch]
19997                 - (nm_ap_list_is_empty): new function
19998                 - (nm_ap_list_combine): new function, combine two access point lists
19999                 - (nm_ap_list_copy_keys): new function, copy keys from one list
20000                         into another
20001
20002         * src/NetworkManagerDevice.[ch]
20003                 - Rename some functions to be clearer:
20004                         nm_device_get_best_ap_frozen -> nm_device_is_best_ap_frozen
20005                         nm_device_just_activated     -> nm_device_is_just_activated
20006                         nm_device_activating         -> nm_device_is_activating
20007                         nm_device_now_scanning       -> nm_device_is_scanning
20008                 - Cache the last 4 scans so that the access point list is more stable.
20009                         We combine the lastest two scans and use that as the AP list,
20010                         and diff that combined list against the combination of the earliest
20011                         two cached scans for the WirelessNetworkAppeared/Dissappeared signals
20012
20013 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
20014
20015         * info-daemon/NWManagerInfo.h
20016                 - (struct NetworkManagerInfo): add shutdown_timeout GSource
20017
20018         * info-daemon/NWManagerInfoDbus.c
20019                 - (shutdown_callback): new function
20020                 - (nmi_dbus_filter): Create a 30 second timeout until shutdown
20021                         if NetworkManager goes away.  Kill the timeout
20022                         if NetworkManager restarts before the 30 seconds
20023                         are up.
20024                 - (nmi_dbus_service_init): 
20025                         - call gtk_main_quit if NetworkManager is not running
20026                         - add filters to monitor dbus service creations and
20027                                 deletions
20028         
20029 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
20030
20031         * panel-applet/NMWirelessApplet.c
20032                 - (nmwa_update_state): Hide notification icon if we are only
20033                         showing one wired card and no wireless interfaces 
20034                         (Red Hat Bug #134895)
20035
20036         * panel-applet/NMWirelessAppletDbus.c
20037                 - (nmwa_dbus_filter): changed exit to gtk_main_quit ()
20038
20039         * info-daemon/NWManagerInfo.c
20040                 - (main): Terminated the notification_icon_cmd array with a NULL
20041
20042 2004-10-08  Hendrik Brandt  <hebra@cvs.gnome.org>
20043
20044         * configure.in (ALL_LINGUAS): Added de (German).
20045
20046 2004-10-08 Dan Williams <dcbw@redaht.com>
20047
20048         * src/NetworkManagerDevice.c
20049                 - Be a bit more robust about link checking, ie make sure that
20050                         the WEP key we were given actually has some data in it
20051
20052 2004-10-08 Dan Williams <dcbw@redhat.com>
20053
20054         * info-daemon/NetworkManagerInfo.c (main):
20055                 - Initialize GError object to NULL
20056
20057 2004-10-08 Dan Williams <dcbw@redhat.com>
20058
20059         * panel-applet/NMWirelessAppletDbus.c
20060                 - Die if NetworkManagerInfo dies, since it manages our lifetime
20061
20062 2004-10-08 Dan Williams <dcbw@redhat.com>
20063
20064         * info-daemon/NetworkManagerInfo.[ch]
20065           info-dameon/NetworkManagerInfoDbus.[ch]
20066           info-daemon/NetworkManagerInfoPassphraseDialog.[ch]
20067                 - Preserve original label text in the passphrase dialog so that
20068                         it actually gets updated with the new network name the next
20069                         time around.  Previously, we were overwriting it so you'd get
20070                         the wrong network name to enter a key for
20071                 - Add a "Key Type" combo to the passphrase dialog, user selects
20072                         encryption key type now, type is stored in GConf too
20073                 - Adjust NM<->NMI DBUS protocol to pass the key type back to NM too
20074
20075         * src/NetworkManagerAP.[ch]
20076                 - Remove all the encyption method magic.  It's now set by the user
20077                         and NetworkManager retrieves the type of encryption key from
20078                         NetworkManagerInfo
20079
20080         * src/NetworkManagerAPList.[ch]
20081           src/NetworkManagerDbus.[ch]
20082                 - Adjust to new way of setting encryption key and method
20083                 - Pull encryption method down from NMI along with key
20084
20085         * src/NetworkManagerDevice.[ch]
20086                 - Removed encryption method fallback magic as the method is now
20087                         determined by the user.  This greatly simplifies the connection
20088                         logic.
20089                 - More robust connection/link logic.  Besides removing the encryption
20090                         method fallback magic, check whether or not the card is receiving
20091                         invalidly encrypted packets, which usually indicates that we have
20092                         a bad WEP key set.
20093                 - Don't blindly forge ahead when DHCP fails (still not completely fixed)
20094
20095         * test/nminfotest.c
20096                 - Test out new "Key Type" stuff in the NMI passphrase dialog
20097
20098 2004-10-07 Dan Williams <dcbw@redhat.com>
20099
20100         * info-daemon/NetworkManagerInfo.conf
20101                 - Allow root user to run NMI too
20102
20103 2004-10-06 Dan Williams <dcbw@redhat.com>
20104
20105         * src/NetworkManagerDevice.[ch]
20106           src/NetworkManagerDbus.c
20107           doc/NetworkManager DBUS API.txt
20108                 - Add a new status tag "scanning", which is set when there
20109                         is no active network connection, but NetworkManager is
20110                         looking for an access point to associate with
20111
20112         * panel-applet/main.c
20113                 - Cast the applet appropriately for gtk_widget_show_all ()
20114
20115 Mon Oct  4 12:55:41 2004  Jonathan Blandford  <jrb@redhat.com>
20116
20117         * panel-applet/eggtrayicon.[ch]:
20118         * panel-applet/main.c: Add missing file
20119
20120 2004-10-04 Dan Williams <dcbw@redhat.com>
20121
20122         * src/NetworkManagerDevice.[ch]
20123                 - Add a slightly more robust method of determining if the WEP key
20124                         is correct or not, by checking the WEP-discarded packet count
20125                         on the card
20126
20127         * info-daemon/NetworkManagerInfo.c
20128                 - (nmi_gconf_notify_callback): Fix GConf essid escaping, should
20129                         un-escape values we pull out rather than escaping them
20130
20131 2004-10-03  Marcel Telka  <marcel@telka.sk>
20132
20133         * configure.in (ALL_LINGUAS): Added sk.
20134
20135 Fri Oct  1 18:26:03 2004  Jonathan Blandford  <jrb@redhat.com>
20136
20137         * panel-applet/menu-info.c (nm_menu_wired_class_init): update look
20138         and feel.  We should be back to working, and have a good, clean
20139         look.
20140
20141 2004-09-30 Dan Williams <dcbw@redhat.com>
20142
20143         * info-daemon/NetworkManagerInfo.c
20144           info-daemon/NetworkManagerInfoDbus.c
20145           test/nminfotest.c
20146                 - Escape ESSIDs in gconf
20147
20148         * src/NetworkManagerDevice.c
20149                 - Fix pseudo-scanning to use netowrk list from info daemon
20150
20151 Wed Sep 29 18:18:24 2004  Jonathan Blandford  <jrb@redhat.com>
20152
20153         * configure.in: Add a temporary --enable-notification-icon.  This
20154         will prolly go away.
20155
20156         * info-daemon/Makefile.am:
20157         * info-daemon/NetworkManagerInfo.c:
20158         * info-daemon/NetworkManagerInfo.h: Use a notification icon.
20159
20160         * panel-applet/Makefile.am:
20161         * panel-applet/NMWirelessApplet.c: Turn into a notification icon
20162         * panel-applet/NMWirelessApplet.h:
20163
20164 Tue Sep 28 16:35:20 2004  Jonathan Blandford  <jrb@redhat.com>
20165
20166         * panel-applet/NMWirelessApplet.c: Fix deadlock.  Add a separator
20167         before 'select custom ESSID'.
20168
20169         * panel-applet/menu-info.c: Start rewrite for better headers.  Not
20170         fully complete, but syncing in prep for merge.
20171
20172         * panel-applet/icons/*png: New images
20173
20174 2004-09-28 Dan Williams <dcbw@redhat.com>
20175
20176         * src/NetworkManager.c
20177           src/NetworkManagerDevice.c
20178           src/NetworkManagerPolicy.c
20179                 - Don't blow away an active wired connection on startup
20180
20181 2004-09-28  Bryan Clark  <clarkbw@cvs.gnome.org>
20182
20183         Changes from J5
20184         
20185         * info-daemon/NetworkManagerInfo.conf: fixed own permissions
20186
20187         * info-daemon/NetworkManagerInfoDbus.c: added service name to
20188         syslog output
20189
20190 Wed Sep 22 14:19:48 2004  Jonathan Blandford  <jrb@redhat.com>
20191
20192         * panel-applet/NMWirelessApplet.c: Only add essid's if we actually
20193         have a wireless card.
20194
20195 Wed Sep 22 14:05:48 2004  Jonathan Blandford  <jrb@redhat.com>
20196
20197         * panel-applet/NMWirelessApplet.c: move the custom essid item.
20198         Also, get the right device strings.
20199
20200 Wed Sep 22 13:51:45 2004  Jonathan Blandford  <jrb@redhat.com>
20201
20202         * panel-applet/menu-info.c (nm_menu_network_draw_indicator): Flip
20203         the logic to make this right.
20204
20205         * panel-applet/NMWirelessApplet.c (sort_networks_function): sort
20206         devices so that wired networks are always first.
20207
20208 2004-09-22    <clarkbw@cvs.gnome.org>
20209
20210         * initscript/Debian/.cvsignore:
20211         * initscript/Slackware/.cvsignore:
20212         Added new cvsignores for Makefile, Makefile.in
20213         
20214         * test/.cvsignore:
20215         Added nmtestdevices
20216         
20217         * src/NetworkManagerDevice.c: 
20218         * src/NetworkManager.c: 
20219         Updated the wireless/wired HAL device strings from net.ethernet to
20220         net.80203 or net.80211 depending on wired or wireless respectively
20221         
20222         * examples/python/NetworkManager.py: 
20223         s/Quality/Strength/
20224
20225         * examples/python/systray/network_tray.py:
20226         Lots of little changes and fixes.  been rotting for a while so I
20227         figured I'd finally sync them all with CVS
20228
20229 Tue Sep 21 18:05:34 2004  Jonathan Blandford  <jrb@redhat.com>
20230
20231         * configure.in: Add graphics
20232
20233         * panel-applet/Makefile.am: Add graphics
20234
20235         * panel-applet/icons/*: Add graphics
20236
20237         * panel-applet/NMWirelessApplet.c: Use new menu times to display
20238         the icons fully lined up.
20239
20240         * panel-applet/menu-info.c: 
20241         * panel-applet/menu-info.h: Add another menu type.
20242
20243 Fri Sep 17 14:04:34 2004  Jonathan Blandford  <jrb@redhat.com>
20244
20245         * panel-applet/NMWirelessApplet.c: Redo the menu item code.
20246
20247         * panel-applet/menu-item.[ch]: Wireless menu item.
20248
20249 2004-09-15  John (J5) Palmieri <johnp@redhat.com>
20250
20251         * info-daemon/NetworkManagerInfo.conf
20252                 - Created a more robust security policy for the DBus service
20253                         - everything is denied by default
20254                         - root can own and send to the service
20255                         - users logged in at the console can send to the service
20256
20257 2004-09-13  Dan Williams <dcbw@redhat.com>
20258
20259         * src/NetworkManagerDevice.c
20260                 - (nm_device_get_essid): use iw_get_basic_config() rather than
20261                         iw_get_ext (SIOCGIWESSID) since prism54 cards don't like
20262                         the latter
20263
20264 2004-09-13  Dan Williams <dcbw@redhat.com>
20265
20266         * TODO: fix typo
20267
20268         * docs/NetworkManager DBUS API.txt
20269                 - Update for new signal strength changes
20270
20271         * panel-applet/NMWirelessApplet.c
20272                 - Make panel icon show strength of the current connection
20273                 - Cleanups and memleak fixes
20274
20275         * panel-applet/NMWirelessApplet.h
20276                 - Add data members for signal strength on devices and networks
20277
20278         * panel-applet/NMWirelessAppletDbus.c
20279                 - Free more DBusErrors
20280                 - Update for new signal strength changes
20281                 - Make devices and networks more like real objects, use ref/unref methods
20282                 - Actually unlock the mutex when updating the active device
20283
20284         * src/NetworkManagerAP.c
20285                 - Change AP functions and data members from "quality"->"strength"
20286
20287         * src/NetworkManagerDbus.c
20288                 - Kill "getMaxQuality" and "getQuality" methods
20289                 - Add "getStrength" methods for Networks and Devices
20290
20291         * src/NetworkManagerDevice.[ch]
20292                 - Add accessors for device strength
20293                 - Add functions to update strength for a device.  Note that not all drivers
20294                         actually support signal strength for scanned access points (Atmel drivers
20295                         being one)
20296                 - Calculate signal strength for each AP during scan
20297
20298         * src/NetworkManagerWireless.[ch]
20299                 - Add function to return signal strength % from a device and a raw quality struct
20300
20301         * test/nmclienttest.c
20302                 - Update for new signal strength changes
20303
20304 2004-09-11  Dan Williams <dcbw@redhat.com>
20305
20306         * src/NetworkManager.c
20307                 - Fix race condition between initscripts and NM on card insertion
20308                         which could cause a card to keep an IP address and routes around
20309                         even when it was not the active device
20310
20311         * src/NetworkManagerDbus.c
20312                 - Fix compile errors, free more DBusErrors
20313
20314 2004-09-11  Dan Williams <dcbw@redhat.com>
20315
20316         * docs/NetworkManager DBUS API.txt
20317                 - Add an explanation of NM's API
20318
20319         * src/NetworkManagerDbus.c
20320                 - Free some more DBusErrors if needed
20321
20322 2004-09-11  Dan Williams <dcbw@redhat.com>
20323
20324         * panel-applet/NMWirelessApplet.c
20325           panel-applet/NMWirelessAppletDbus.c
20326                 - Start using NetworkDevice/WirelessNetwork structures in more places
20327                 - Update for unified device/network forcing in NetworkManager
20328
20329         * src/NetworkManager.c
20330                 - some code consolidation
20331
20332         * src/NetworkManagerDbus.c
20333                 - (nm_dbus_nm_set_active_device): "setActiveDevice" now takes either one
20334                         or two arguments:  the first is the NM ID of the device to switch to,
20335                         and the second (optional) argument is the ESSID of a wireless network
20336                         to use as well.
20337                 - Get rid of "setNetwork" method due to above change
20338
20339         * src/NetworkManagerDevice.c
20340                 - (nm_device_new): perform scan and update best AP on device creation
20341                 - nm_device_activation_cancel_if_needed()->nm_device_activation_should_cancel()
20342                 - nm_device_activation_signal_cancel()->nm_device_activation_cancel(), and
20343                         spin waiting for cancellation to finish before returning
20344
20345         * src/NetworkManagerPolicy.c
20346                 - Changes here clarify the situations in which a device switch occurs, and 
20347                         make sure to keep using a forced device and network if the user gives
20348                         us one
20349                 - Remove old unused code
20350
20351 2004-09-11  Martin Willemoes Hansen  <mwh@sysrq.dk>
20352
20353         * configure.in: Added Danish (da) to ALL_LINGUAS.
20354
20355 2004-09-09  Dan Williams <dcbw@redhat.com>
20356
20357         * panel-applet/NMWirelessAppletDbus.c
20358                 - Pull fresh devices and networks from NM when wireless networks
20359                         change.  Provides faster feedback of a forced wireless network
20360
20361         * src/NetworkManagerDbus.c
20362                 - Return error when "getMaxQuality" is called on a wired device
20363                 - Make best_ap freezing actually work again, and signal cancellation
20364                         of activation if there's already a device activation when the user
20365                         freezes the best_ap
20366
20367         * src/NetworkManagerDevice.c
20368                 - Don't clear out the best_ap for wireless devices when the link goes
20369                         down, that's done elsewhere
20370                 - Kill any dhcp daemons when cancelling device activation since they
20371                         may be stuck waiting for a DHCP address, and since we're cancelling
20372                         activation we don't care about that anymore
20373
20374         * src/NetworkManagerPolicy.c
20375                 - Make sure to unref the device we ref earlier (we refed it to make sure
20376                         it stuck around during device activation and such)
20377                 - If we were going to change the best device, but its activating currently
20378                         (and therefore the change didn't occur due to the check earlier)
20379                         we mark the state changed to we come back to it later when device
20380                         activation has canceled and its no longer activating
20381
20382         * src/backends/NetworkManagerRedHat.c
20383                 - SIGKILL dhcp daemons rather than SIGTERM-ing them
20384
20385 2004-09-09  Bryan Clark  <clarkbw@cvs.gnome.org>
20386
20387         * info-daemon/passphrase.glade: 
20388         set passphrase input to activates_default : True
20389
20390         * examples/python/systray/network_tray.py
20391         (network_tray.sort_networks):
20392
20393         Added support for having wireless always scanning
20394
20395 2004-09-09  Dan Williams <dcbw@redhat.com>
20396
20397         NOTE: this commit changes the behavior of wireless devices in
20398         NetworkManager.  They are now up all the time, scanning all
20399         the time.  Only the active device has an IP address and routing
20400         information set up however.  Also, NetworkManager will no longer
20401         opportunistically switch wireless networks when a better one
20402         comes in range, it will remain associated with one wireless network
20403         until that one drops out.
20404
20405         * panel-applet/NMWirelessApplet.c
20406           panel-applet/NMWirelessAppletDbus.c
20407                 - List all wireless cards and their respective networks
20408
20409         * src/NMLoadModules
20410                 - Use full path to /sbin/ip
20411
20412         * src/NetworkManager.c
20413                 - Keep wireless devices up all the time so they can scan
20414
20415         * src/NetworkManagerDbus.c
20416                 - On a WirelessNetworkUpdate signal from NMI, don't update
20417                         the "best" AP
20418
20419         * src/NetworkManagerDevice.c
20420                 - (nm_device_set_link_active): clear out the best ap for
20421                         wireless devices when the link is set to FALSE
20422                 - Scan on all wireless cards, all the time
20423                 - (nm_device_activation_worker): split out the wireless card
20424                         link-waiting code to a separate function
20425                 - Keep wireless cards up even if device activation fails
20426                 - Don't update the "best" ap as much
20427
20428         * src/NetworkManagerPolicy.c
20429                 - Don't update the best ap when checking if its frozen,
20430                         let link checking clear out a frozen best ap for us
20431
20432         * src/NetworkManagerWireless.c
20433                 - Scan on all wireless cards, all the time
20434
20435 2004-09-09  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>
20436
20437         * configure.in: Added 'es' (Spanish) to ALL_LINGUAS.
20438
20439 2004-09-09  Ankit Patel <ankit@redhat.com>
20440
20441         * configure.in: Added 'gu' (Gujarati) to ALL_LINGUAS.
20442
20443 2004-09-09  Pablo Saratxaga  <pablo@mandrakesoft.com>
20444
20445         * configure.in: Added Walloon (wa) to ALL_LINGUAS.
20446
20447 2004-09-08  Bryan Clark  <clarkbw@cvs.gnome.org>
20448
20449         * examples/python/NetworkManager.py: 
20450         added CONNECTED, CONNECTING, and DISCONNECTED states
20451         added methods to return number of devices of a single type
20452
20453         * examples/python/systray/network_tray.py: 
20454         did some tweaks to get the menu looking near what it is supposed
20455         to look like.  Also did a Airo card hack to make it show the
20456         correct AP quality
20457
20458 2004-09-08  Dan Williams <dcbw@redhat.com>
20459
20460         * panel-applet/no-networkmanager.png
20461           panel-applet/Makefile.am
20462           panel-applet/NMWirelessApplet.c
20463                 - Add a "NetworkManager not running" icon and use it
20464                 - Use new consolidated GConf keys rather than Preferred/Trusted
20465
20466         * TODO: update
20467
20468         * info-daemon/NetworkManagerInfo.c
20469           info-daemon/NetworkManagerInfoDbus.[ch]
20470           info-daemon/NetworkManagerInfoPassphraseDialog.c
20471                 - There are now no longer two separate lists of wireless networks,
20472                         but one list where each network is "trusted" or not trusted
20473                 - Add a "getNetworkTrusted" dbus method
20474                 - "WirelessNetworkUpdate" signal now sent rather than
20475                         "PreferredNetworkUpdate/TrustedNetworkUpdate" signals
20476                 - Start freeing some dbus errors (not completed yet)
20477
20478         * info-daemon/passphrase.glade
20479                 - Remove the "don't show" hints for pager and taskbar
20480                 - Add a title since its going to be in the taskbar
20481
20482         * src/NetworkManager.[ch]
20483           src/NetworkManagerAPList.[ch]
20484                 - There are now no longer two separate lists of wireless networks,
20485                         but one list where each network is "trusted" or not trusted
20486
20487         * src/NetworkManagerAP.[ch]
20488                 - Add get/set "trusted" accessors and data bit
20489
20490         * src/NetworkManagerDbus.[ch]
20491                 - Add function to get "trusted" status of a network from NetworkManagerInfo
20492                 - Trap new WirelessNetworkUpdate signal rather than old separate signals
20493
20494         * src/NetworkManagerDevice.[ch]
20495                 - Add per-device config data (ip4 addr, gateway, netmask) and accessors
20496                 - (nm_device_new): Get device config from backend when initializing devices
20497                 - (nm_device_activation_worker): Split out device configuration on
20498                         activation to deal with static/dynamic IP differences, and try encryption
20499                         fallbacks on a device if the encryption method for the best AP is not good
20500                 - (nm_device_update_best_ap): convert to new consolidated access point lists from
20501                         NetworkManagerInfo, and copy over latest NMI info to best_ap when setting it
20502
20503         * src/NetworkManagerWireless.c
20504                 - libgcrypt code wasn't converting the MD5 digest to an ascii string, fix it
20505
20506         * src/backends/NetworkManagerRedHat.c
20507           src/backends/NetworkManagerSystem.h
20508                 - (nm_system_device_update_config_info): Add function to get device configuration
20509                         from system data in ifcfg-* files
20510
20511         * src/backends/NetworkManagerDebian.c
20512           src/backends/NetworkManagerGentoo.c
20513           src/backends/NetworkManagerSlackware.c
20514                 - Add stub functions for getting device configuration
20515
20516 2004-09-07  Dan Williams <dcbw@redhat.com>
20517
20518         * src/backends/NetworkManagerRedhat.c
20519           src/backends/NetworkManagerSlackware.c
20520                 - Use full path to /sbin/ip everywhere
20521
20522 2004-09-07  Dan Williams <dcbw@redhat.com>
20523
20524         Patch from: Narayan Newton <narayan_newton@yahoo.com>
20525
20526         * configure.in
20527           initscript/Makefile.am
20528           initscript/Slackware/Makfile.am
20529           initscript/Slackware/rc.networkmanager
20530           src/Makefile.am
20531           src/backends/NetworkManagerSlackware.c
20532                 - Add Slackware support
20533
20534 2004-09-07  Dan Williams <dcbw@redhat.com>
20535
20536         Patches below from:
20537                 <j@bootlab.org>
20538                 Mark Roach <mrroach@okmaybe.com>
20539                 Thom May <thom@debian.org>
20540
20541         * configure.in
20542           initscript/Debian/NetworkManager
20543           initscript/Debian/Makefile.am
20544                 - Initscript for Debian
20545
20546         * src/backends/NetworkManagerDebian.c
20547                 - Add missing system init function to allow compilation
20548                         on Debian
20549
20550 2004-09-03  Raphael Higino <raphaelh@cvs.gnome.org>
20551
20552         * configure.in: Added 'pt_BR' to ALL_LINGUAS.
20553
20554 2004-09-03  Akagic Amila <bono@linux.org.ba>
20555
20556         * configure.in: Added 'bs' to ALL_LINGUAS.
20557
20558 2004-09-02  Colin Walters  <walters@verbum.org>
20559
20560         * src/backends/NetworkManagerRedHat.c (nm_system_device_run_dhcp)
20561         (nm_system_device_stop_dhcp, nm_system_device_flush_routes): Use
20562         g_strdup_printf instead of arbitrarily sized buffers.
20563
20564 2004-09-01  Colin Walters  <walters@verbum.org>
20565
20566         * NetworkManager.pc.in: New file.
20567
20568         * Makefile.am, .cvsignore, configure.in: Add NetworkManager.pc.
20569
20570 2004-09-01  Amanpreet Singh Alam  <aalam@redhat.com>
20571         
20572         * configure.in: Punjabi(pa) is added to po/.
20573
20574 2004-08-31  Dan Williams <dcbw@redhat.com>
20575
20576         * Remove 'debug' extern global from all files since we now
20577                 use syslog()
20578
20579         * src/NetworkManager.[ch]
20580                 - Break out routine that get the net.interface property from HAL,
20581                         removing that logic from nm_create_device_and_add_to_list()
20582                 - (nm_create_device_and_add_to_list): make this a bit more general so
20583                         it doesn't do the talking to HAL.  Also add arguments to facilitate
20584                         the create of test devices.
20585                 - (nm_data_mark_state_changed): rename from nm_data_set_state_modified()
20586                 - (nm_data_new, main, nm_print_usage): add new argument "--enable-test-devices"
20587                         which makes NetworkManager listen for dbus commands to create test
20588                         devices, which have no backing hardware.  Use when you're on a plane
20589                         for example, and/or forgot your wireless card at home.  Test devices
20590                         _cannot_ be created unless NM is started with --enable-test-devices.
20591
20592         * src/NetworkManagerDbus.[ch]
20593                 - New "getLinkActive" method for devices
20594                 - New "setLinkActive" method for devices (only works on test devices)
20595                 - New "createTestDevice" method on NetworkManager object to create a test
20596                         device of a specified type (ie wired, wireless).  UDI is created from
20597                         scratch, as is the interface name.  Only works when NM is started with
20598                         --enable-test-devices switch.
20599                 - New "removeTestDevice" method on NetworkManager object which removes a
20600                         test device.  Only works when NM is started with --enable-test-devices
20601
20602         * src/NetworkManagerDevice.[ch]
20603                 - Logic to facilitate test devices.  Add variables to NMDevice struct to indicate
20604                         whether a device is a test device or not, and what its link status is.
20605                 - Deal with test devices in most functions.  For those that work directly on hardware
20606                         special-case test devices.
20607                 - (nm_device_new): don't create a test device if test devices weren't enabled on the
20608                         command-line.
20609                 - (nm_device_update_link_active): split out logic for wired and wireless device link
20610                         checking to separate functions to facilitate test device link checking.
20611                 - (nm_device_set_enc_key): Since some drivers for wireless cards are daft and
20612                         don't make a distinction between System Authentication and Encryption
20613                         (namely Cisco aironet), we use Open System auth when setting a WEP key
20614                         on the card.  We don't deal with Shared Key auth yet.
20615                 - (nm_device_activation_worker): split the activation cancel check logic out into
20616                         a separate routine nm_device_activation_cancel_if_needed()
20617                 - (nm_device_activation_signal_cancel): rename from nm_device_activation_cancel()
20618                 - (nm_device_fake_ap_list): Test wireless devices obviously cannot scan, so create
20619                         a list of fake access points that they can "see"
20620                 - (nm_device_is_test_device): return whether or not a device is a test device
20621
20622         * src/NetworkManagerPolicy.c
20623                 - (nm_policy_get_best_device): attempt to deal with wireless network selection,
20624                         previously if you "locked"/forced NM to use a wireless device but then
20625                         selected a wireless network for NM to use, it would switch to a wired device.
20626                         So, if the active device is wireless and it has a "forced" best AP, use it
20627                         if the "forced" best AP is still valid
20628                 - (nm_state_modification_monitor): deal with NULL best devices, for example
20629                         there were no usable network devices, or the last one was removed
20630
20631         * src/backends/NetworkManager*.c
20632                 - Deal with test devices, mostly just return success for operations like getting
20633                         a DHCP address
20634
20635         * test/nmtestdevices.c
20636                 - Test tool to create/remove/link-switch test devices
20637
20638 2004-08-30  Bryan Clark  <clarkbw@cvs.gnome.org>
20639
20640         * examples/python/NetworkManager.py: 
20641         added convience functions has_wired_device and has_wireless_device
20642
20643         * examples/python/systray/network_tray.py: 
20644         cleaned up a bunch of cruft, added support for listing wireless
20645         networks just like the real applet.  This is probably all I'm
20646         going to work on this applet from now on.
20647         TODO: add support for actually changing networks and devices
20648
20649         * examples/python/NetworkManager.py (NetworkManager.get_device): 
20650         changed "nm.networks" into a dict from a list so I can store all
20651         the cool information about networks in there
20652
20653         * examples/python/systray/network_tray.py: 
20654         Added nice message when you try to run without running make first
20655
20656         * examples/python/NetworkManager.py: 
20657         Bug fixes to the code so we get all the device information
20658         that we need in get_device()
20659         
20660         * examples/python/NMTester.py: 
20661         Fixed _print_device_list to print_device_list
20662
20663 2004-08-29  Seth Nickell  <seth@gnome.org>
20664
20665         * configure.in:
20666
20667         Actually properly setup the Debian backend in configure.
20668         
20669 2004-08-29  Colin Walters  <walters@verbum.org>
20670
20671         * test/nminfotest.c: Include string.h and stdlib.h.
20672         (get_network_string_property, get_networks_of_type): Return NULL.
20673
20674         * test/nmclienttest.c (get_device_name, get_active_device): Return
20675         NULL.
20676
20677         * src/backends/NetworkManagerRedHat.c (nm_system_device_stop_dhcp): Just
20678         use strlen, fgets always NULL-terminates the string.
20679
20680         * src/NetworkManagerDbus.c (nm_dbus_nmi_filter,
20681         dbus_message_get_member): Remove /* in comment.
20682
20683         * src/NetworkManagerUtils.c (LOCKING_DEBUG): Ditto.
20684
20685         * src/NetworkManager.c (quit): Unused, delete.
20686         (nm_data_free): Cast arg to GFunc.
20687
20688         * panel-applet/NMWirelessAppletDbus.c: Need to include
20689         string.h, and dbus-glib-lowlevel.h (the latter is needed
20690         for dbus_connection_setup_with_g_main at present).
20691         (nmwa_dbus_update_wireless_network_list): Parenthesize
20692         assignment in conditional.
20693         (nmwa_dbus_worker): Return NULL.
20694
20695         * panel-applet/NMWirelessApplet.c (nmwa_redraw)
20696         (nmwa_get_menu_pos, nmwa_toplevel_menu_activate)
20697         (nmwa_menu_add_text_item, nmwa_setup_widgets): Kill unused variables.
20698         (nmwa_populate_menu): Return NULL on failure, instead of just
20699         return;
20700
20701         * initscript/NMLaunchHelper.c (g_timeout_add): Cast arg to GSourceFunc.
20702
20703         * info-daemon/NetworkManagerInfoNetworksDialog.c (nmi_networks_dialog_init): Kill unused
20704         variables.
20705
20706         * info-daemon/NetworkManagerInfo.c (nmi_print_usage): Unused,
20707         delete.
20708         
20709 2004-08-29  Colin Walters  <walters@verbum.org>
20710
20711         * src/NetworkManagerDbus.c (nm_dbus_get_network_timestamp): Return
20712         a GTimeVal instead of time_t.  This is easier to work with,
20713         since time_t may be a long or double, we don't know.
20714
20715         * src/NetworkManagerDbus.h: Update prototype.
20716         
20717         * src/NetworkManagerAP.c (struct NMAccessPoint): Store a GTimeVal
20718         instead of time_t.
20719         (nm_ap_get_timestamp): Update to return GTimeVal.
20720         (nm_ap_set_timestamp): Update to take GTimeVal.
20721         
20722         * src/NetworkManagerDevice.c (nm_device_update_best_ap): Update
20723         to handle GTimeVal.
20724
20725         * src/NetworkManagerAPList.c (nm_ap_list_update_network): Handle
20726         GTimeVal change.
20727         (nm_ap_list_print_members): Fix warnings in printf format.
20728
20729 2004-08-29  Colin Walters  <walters@verbum.org>
20730         
20731         * panel-applet/NMWirelessApplet.c: Include config.h.
20732
20733 2004-08-29  Colin Walters  <walters@verbum.org>
20734
20735         * configure.in: Generate config.h.
20736
20737         * configure.in: Dump dependency on OpenSSL; we can't
20738         use it since this package is GPL:
20739         http://www.gnome.org/~markmc/openssl-and-the-gpl.html
20740         Instead, check for libgcrypt, use it if available,
20741         otherwise use included MD5 code.
20742
20743         * src/gnome-keyring-md5.h, src/gnome-keyring-md5.c:
20744         Suck in from gnome-keyring, munge a bit.
20745         
20746         * src/Makefile.am (NetworkManager_SOURCES) <!WITH_GCRYPT>: Include
20747         gnome-keyring-md5.h gnome-keyring-md5.c.
20748         (NetworkManager_LDADD) <WITH_GCRYPT>: Add dep on LIBGCRYPT_LIBS.
20749
20750         * src/NetworkManagerWireless.c (nm_md5): New function, uses
20751         libgcrypt or included gnome-keyring md5 bits.
20752         (nm_wireless_128bit_key_from_passphrase): Use nm_md5.
20753
20754 2004-08-28  Kjartan Maraas  <kmaraas@gnome.org>
20755
20756         * configure.in: Add «nb» and «no» to ALL_LINGUAS.
20757
20758 2004-08-27  Bryan Clark  <bclark@redhat.com>
20759
20760         * examples/python/systray/Makefile: 
20761
20762         Updated the clean section
20763         
20764         * examples/python/systray/trayiconmodule.c: 
20765         * examples/python/systray/trayicon.override: 
20766         * examples/python/systray/network_tray.py: 
20767         * examples/python/systray/eggtrayicon.h: 
20768         * examples/python/systray/eggtrayicon.c: 
20769         * examples/python/systray/Makefile: 
20770         * examples/python/README: 
20771         * examples/python/NetworkManager.py: 
20772         * examples/python/NMTester.py: 
20773
20774         Initial commit of these python example files
20775
20776 Fri Aug 28 2004 Dan Williams <dcbw@redhat.com>
20777
20778         * panel-applet/NMWirelessApplet.c
20779                 - Make current device bold
20780                 - Show more user-friendly device name if we got one from hal
20781
20782         * panel-applet/NMWirelessAppletDbus.c
20783                 - Grab "info.product" key from hal for network devices
20784                 - Cache the current active device
20785
20786 2004-08-27  Adam Weinberger  <adamw@gnome.org>
20787
20788         * configure.in: Added en_CA to ALL_LINGUAS.
20789
20790 2004-08-27  Christian Rose  <menthos@menthos.com>
20791
20792         * configure.in: Added "sv" to ALL_LINGUAS.
20793
20794 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20795
20796         * Tag NetworkManager-0.2
20797
20798 Thu Aug 26 17:23:16 2004  Jonathan Blandford  <jrb@redhat.com>
20799
20800         * initscripts/Makefile.am
20801         * configure.in: Make pass distcheck
20802
20803         * po/ChangeLog: added
20804
20805 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20806
20807         * panel-applet/NMWirelessApplet.c
20808                 - Remove debugging code
20809                 - Enable device switching from menus
20810
20811         * panel-applet/NMWirelessAppletDbus.[ch]
20812                 - Method for asking NM to switch devices
20813
20814         * src/NetworkManagerDevice.c
20815                 - Set dev->activating earlier, avoids race between
20816                         the dbus signal of "DeviceActivating" and setting
20817                         dev->activating (which is what NM's "status" method call
20818                         looks at)
20819
20820 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20821
20822         * panel-applet/NMWirelessApplet.[ch]
20823                 - Rework menu code to add devices to menu, and to show
20824                         signal strength for each access point.  Code cleanups
20825                         too.
20826
20827         * panel-applet/NMWirelessAppletDbus.c
20828                 - Grab network devices from NetworkManager too
20829                 - Grab quality information from NM for wireless networks
20830
20831         * src/NetworkManagerDbus.[ch]
20832                 - Add dbus methods for getting the HAL UDI from a device and
20833                         for getting its base quality, if its wireless
20834                 - Consolidate some functions (wireless network notifications,
20835                         device notifications)
20836                 - Add method for requesting NM to use a particular device
20837
20838         * src/NetworkManager.c
20839                 - Change for function consolidations from NetworkManagerDbus.c
20840                 - Implement active device locking and user-requested devices
20841                         (ie, tell NM to use a particular device instead of the one
20842                         it autochose)
20843
20844         * src/NetworkManagerDevice.c
20845                 - Add method for getting the base quality of a device, if its
20846                         wireless
20847                 - Grab device base quailty info from iwlib during scans
20848
20849         * src/NetworkManagerPolicy.c
20850                 - Use a user-requested device rather than the auto-chosen device
20851                         if we are told to
20852
20853 Thu Aug 26 15:12:36 2004  Jonathan Blandford  <jrb@redhat.com>
20854
20855         * Makefile.am: add po as a supdir
20856
20857         * autogen.sh: use gnome-autogen.sh
20858
20859         * initscript/Gentoo/.cvsignore:
20860         * initscript/RedHat/.cvsignore: Shut up cvs
20861
20862         * panel-applet/Makefile.am: Define GNOMELOCALEDIR for bonobo.
20863
20864         * panel-applet/NMWirelessApplet.c: (nmwa_populate_menu),
20865         (nmwa_fill): Use gettext.
20866
20867         * configure.in: add gettext support
20868         * po/.cvsignore:
20869         * po/NetworkManager.pot:
20870         * po/POTFILES.in:
20871
20872 2004-08-26  Seth Nickell  <seth@gnome.org>
20873
20874         * panel-applet/NMWirelessApplet.c: (nmwa_destroy),
20875         (nmwa_menu_item_activate), (nmwa_toplevel_menu_activate),
20876         (nmwa_add_menu_item), (nmwa_menu_item_data_free),
20877         (nmwa_dispose_menu_items), (nmwa_populate_menu),
20878         (nmwa_setup_widgets), (do_not_eat_button_press), (nmwa_new):
20879         * panel-applet/NMWirelessApplet.h:
20880
20881         Use a menu bar instead of a button for the main clickable
20882         thingy.
20883         
20884 2004-08-25  Dan Williams <dcbw@redhat.com>
20885
20886         * src/NetworkManagerDevice.c
20887                 - (nm_device_set_enc_key): always set device to "open" mode instead of
20888                         turning encryption off, because the Cisco driver doesn't associate
20889                         with WEP-enabled access points unless we are in "open"
20890
20891 2004-08-25  Dan Williams <dcbw@redhat.com>
20892
20893         * src/NetworkManagerWireless.c
20894                 - Don't try to defererence blank passphrases
20895
20896 2004-08-25  Dan Williams <dcbw@redhat.com>
20897
20898         * panel-applet/NMWirelessApplet.c
20899                 - Rebuild the menu whenever a user clicks
20900
20901 2004-08-25  Dan Williams <dcbw@redhat.com>
20902
20903         * panel-applet/NMWirelessApplet.c
20904                 - (nmwa_udpate_state): Set panel icon to "wired" (for lack of better ones)
20905                         when NM isn't around or when its not connected
20906
20907         * src/NetworkManagerDevice.c
20908                 - (nm_device_activation_worker): Make sure to reset dev->activating if we get
20909                         canceled.
20910
20911 2004-08-25  Dan Williams <dcbw@redhat.com>
20912
20913         * panel-applet/NMWirelessAppletDbus.c
20914                 - (nmwa_dbus_get_bool, nmwa_dbus_get_network_encrypted): correct method name
20915                         for getting encryption, and don't stop on "val" once we've gotten it
20916                         from NetworkManager.  Short form:  encryption should now show up.
20917
20918 2004-08-25  Dan Williams <dcbw@redhat.com>
20919
20920         * panel-applet/NMWirelessApplet.c
20921                 - Set ESSID on a gconf trusted network too when force-setting the wireless
20922                         network to associate with
20923
20924 2004-08-25  Dan Williams <dcbw@redhat.com>
20925
20926         * panel-applet/*
20927                 - Rework the panel applet to do all DBUS communication in a separate
20928                         thread
20929
20930 2004-08-25  Dan Williams <dcbw@redhat.com>
20931
20932         * info-daemon/NetworkManagerInfo.[ch]
20933                 - Remove "get_next_priority" function
20934
20935         * info-daemon/NetworkManagerInfoDbus.[ch]
20936                 - Convert "priority" functions to "timestamp"
20937
20938 2004-08-25  Dan Williams <dcbw@redhat.com>
20939
20940         * src/NetworkManagerAP.[ch]
20941                 - Add a "enc_method_good" member and accessors to an Access Point
20942                         to signal when we've found the correct encryption method
20943                         for an access point
20944                 - Add a "timestamp" member and accessors, remove "priority" member
20945                         and accessors (use timestamps instead)
20946                 - Rename "wep_key"->"enc_key"
20947                 - (nm_ap_get_enc_key_hashed): new, return the correct mangled key
20948                         for a specified encryption method using the access points
20949                         source encryption key/passphrase
20950
20951         * src/NetworkManagerAPList.c
20952                 - When updating a network with dbus, grab timestamp now instead of
20953                         priority
20954
20955         * src/NetworkManagerDBus.[ch]
20956                 - Add signal for "DeviceActivating"
20957                 - Switch priority->timestamp
20958
20959         * src/NetworkManagerDevice.c
20960                 - Change references of "wep_key" -> "enc_key" or "key"
20961                 - Signal DeviceActivating when starting activation
20962                 - When activating a wireless device, if the access point we are connecting
20963                         to is encrypted, and we have a source key, try to generate a mangled
20964                         key and use that (ie, generate real WEP key from a passphrase)
20965                 - Rework device activation to fallback to other encryption methods if
20966                         a previous one didn't work (ie, try mangling a key as a 104-bit passphrase
20967                         first, then if that doesn't work fall back to direct hex key).
20968                 - (nm_device_update_best_ap): fix a deadlock, and use timestamps instead of
20969                         priority.  We now prefer the latest access point used, rather than using
20970                         a priority scheme
20971                 - (nm_device_do_normal_scan): make the encryption method "unknown" on access
20972                         points we've just discovered, and merge in correct info from the global
20973                         access point lists
20974
20975 2004-08-25  Seth Nickell  <seth@gnome.org>
20976
20977         Patch from Matthew Garrett <mjg59@srcf.ucam.org> for adding
20978         Debian support.
20979         
20980         * src/Makefile.am:
20981         * src/backends/NetworkManagerDebian.c: (nm_system_device_run_dhcp),
20982         (nm_system_device_stop_dhcp), (nm_system_device_flush_routes),
20983         (nm_system_device_flush_addresses), (nm_system_enable_loopback),
20984         (nm_system_delete_default_route),
20985         (nm_system_kill_all_dhcp_daemons), (nm_system_update_dns),
20986         (nm_system_load_device_modules):
20987
20988 2004-08-24  Dan Willemsen <dan@willemsen.us>
20989
20990         * src/NetworkManager.c
20991           src/backends/NetworkManagerGentoo.c
20992           src/backends/NetworkManagerRedHat.c
20993           src/backends/NetworkManagerSystem.h
20994                 - Implement preliminary Gentoo support, adding a
20995                         nm_system_init function to the backend specification
20996
20997         * configure.in
20998                 - Distribution auto-detection, lowercase any user-fed
20999                         distribution names
21000
21001         * initscript/.cvsignore
21002           initscript/Makefile.am
21003           initscript/RedHat/Makefile.am
21004           initscript/RedHat/NetworkManager
21005           initscript/Gentoo/Makefile.am
21006           initscript/Gentoo/NetworkManager
21007                 - Refactored initscript code separately for each
21008                         distribution
21009
21010 2004-08-23  Dan Williams <dcbw@redhat.com>
21011
21012         * configure.in
21013           src/Makefile.am
21014           src/NetworkManagerDevice.c
21015           src/NetworkManager.c
21016           src/NetworkManagerUtils.[ch]
21017           src/backends/NetworkManagerSystem.h
21018           src/backends/NetworkManagerRedHat.c
21019           src/backends/NetworkManagerGentoo.c
21020                 - Refactor system-specific code into separate backends for
21021                         each distribution
21022
21023 2004-08-23  Dan Willemsen <dan@willemsen.us>
21024
21025         * dispatcher-daemon/NetworkManagerDispatcher.c
21026           info-daemon/NetworkManagerInfo.[ch]
21027           info-daemon/NetworkManagerInfoDbus.c
21028           info-daemon/NetworkManagerInfoPassphraseDialog.c
21029           src/NetworkManager.c
21030           src/NetworkManagerAP.c
21031           src/NetworkManagerAPList.c
21032           src/NetworkManagerDbus.c
21033           src/NetworkManagerDevice.c
21034           src/NetworkManagerPolicy.c
21035           src/NetworkManagerUtils.[ch]
21036           src/NetworkManagerWireless.c
21037                 - Used syslog functions for logging instead of NM_DEBUG_DISPLAY & fprintf
21038
21039         * src/NetworkManager.c
21040                 - Fixed usage wording for --no-daemon
21041
21042 2004-08-23  Dan Williams <dcbw@redhat.com>
21043
21044         * panel-applet/NMWirelessApplet.c
21045                 - Update our state every second to get more responsive panel icon
21046                 - (nmwa_update_state): remove bogus applet->pix_state = PIX_WIRED that
21047                         was causing our marching ants status blips to never move when
21048                         looking for a wireless network
21049
21050         * src/NetworkManagerDevice.c
21051                 - (nm_device_activation_begin): return if activation has already begun
21052                 - (nm_device_do_normal_scan): merge WEP key and priority from the
21053                         trusted/preferred network into the device's access point when the
21054                         scan list is processed
21055
21056 2004-08-23  Dan Williams <dcbw@redhat.com>
21057
21058         * initscript/NetworkManager
21059                 - Use NMLaunchHelper rather than sleeping
21060
21061         * initscript/NMLaunchHelper.c
21062           Makefile.am
21063                 - Add helper program that exits only when NM activates a device,
21064                         or 10 seconds have passed, whichever happens first.  This
21065                         stops the boot processes until we have a network connection,
21066                         which NM can't do because it daemonizes and brings the connection
21067                         up in the background.  Allows stuff like NFS to not die.
21068
21069 2004-08-20  Dan Williams <dcbw@redhat.com>
21070
21071         * info-daemon/NetworkManagerInfoPassphraseDialog.c
21072                 - (nmi_passphrase_dialog_ok_clicked): when updating the wep key
21073                         for a network, set the essid as well since it may not exist yet
21074                 - (nmi_passphrase_dialog_init): don't star out the passphrase field,
21075                         since WEP keys/passphrases are long and prone to entry-error
21076
21077         * panel-applet/Makefile.am
21078           panel-applet/wired.png
21079                 - Add (pulled from system-config-network temporarily)
21080
21081         * panel-applet/NMWirelessApplet.[ch]
21082                 - Show wired picture when a wired connection is used
21083                 - Rename wireless icon enums, adding WIRELESS
21084
21085         * src/NetworkManagerDevice.c
21086                 - (nm_device_activate_wireless): unset encryption before bringing
21087                         down the card and setting the essid
21088                 - (nm_device_activatin_worker): request a key from the user if the
21089                         AP we are connecting to is encrypted but we don't have a key
21090                         for it yet
21091                 - (nm_device_set_user_key_for_network): fix missing '== 0' for a
21092                         strcmp() that prevented a user-entered key from actually getting
21093                         used
21094
21095 2004-08-16  Dan Williams <dcbw@redhat.com>
21096
21097         * initscript/NetworkManager
21098                 - Check for /sbin/ip
21099                 - Do sysctl magic that network service does
21100                 - sleep 4s after start to allow network time to come up [hack]
21101
21102         * src/Makefile.am
21103           src/NMLoadModules
21104                 - Load all network device kernel modules (hal doesn't know devices
21105                         are ethernet until the module is loaded, and therefore we don't know)
21106
21107         * src/NetworkManager.c
21108                 - (main): daemonize later, launch NMLoadModules to alert HAL of our
21109                         network devices, and bring up the loopback device explicitly
21110
21111         * src/NetworkManagerUtils.[ch]
21112                 - (nm_enable_loopback): new function
21113
21114 2004-08-13  Dan Williams <dcbw@redhat.com>
21115
21116         * configure.in
21117           panel-applet/Makefile.am
21118                 - Fix up cleanfiles and server_DATA/server_in_files
21119
21120         * README
21121                 - Update with some comments on theory of operation
21122
21123         * CONTRIBUTING
21124           Makefile.am
21125                 - Add CONTRIBUTING
21126
21127 2004-08-12  Dan Williams <dcbw@redhat.com>
21128
21129         * info-daemon/passphrase.glade
21130                 - Set window title to " "
21131
21132         * panel-applet/Makefile.am
21133           panel-applet/keyring.png
21134                 - Deliver to correct place
21135
21136         * panel-applet/NMWirelessApplet.[ch]
21137                 - Add comments
21138                 - Remove applet->have_active_device as its no longer used
21139                 - (nmwa_load_theme): load keyring.png too
21140                 - (error_dialog): remove
21141                 - (show_warning_dialog): subsume functionality of error dialog too
21142                 - (nmwa_destroy, nmwa_new): create and dispose of an application-wide GConfClient
21143                 - (nmwa_handle_network_choice): add to deal with user clicking on an item from
21144                         the networks menu
21145                 - (nmwa_menu_item_activated): GtkMenuItem "activate" signal handler
21146                 - (nmwa_button_clicked, nmwa_setup_widgets): create and populate the menu on startup
21147                         and when we get broadcasts of changed wireless access points only, not when the
21148                         user clicks on the button to display the menu (too long of a wait)
21149                 - (nmwa_add_menu_item): Make active network bold, and place a keyring icon beside
21150                         networks that are encrypted
21151                 - (nmwa_dispose_menu, nmwa_menu_item_data_free): dispose of the data we place on each
21152                         menu item with g_object_set_data()
21153
21154         * panel-applet/NMWirelessAppletDbus.[ch]
21155                 - (nmwa_dbus_get_bool): add method to return boolean value from dbus message
21156                 - (nmwa_dbus_get_active_network): add (nmwa_dbus_get_string() wrapper to get active network)
21157                 - (nmwa_dbus_add_networks_to_menu): clean up, only show one instance of each ESSID in the menu
21158                 - (nmwa_dbus_set_network): force NetworkManager to use a particular network for wireless cards
21159                 - (nmwa_dbus_init, nmwa_dbus_filter): Trap network appear/disappear and device
21160                         activation/deactivation signals and rebuild the menu when they happen
21161
21162         * src/NetworkManager.c
21163                 - (main): use new nm_spawn_process() rather than system()
21164
21165         * src/NetworkManagerDbus.c
21166                 - (nm_dbus_devices_handle_request): don't compare AP structure addresses directly, but essids
21167                         instead.  Since we can now force best_aps to stick around, the AP structure to which
21168                         dev->options.wireless.best_ap points to won't necessarily be in the device's device list
21169                         if a scan has happened since the best_ap was frozen.  Also add "setNetwork" method
21170                         to freeze the best_ap.
21171
21172         * src/NetworkManagerDevice.[ch]
21173                 - (nm_device_activation_worker): Use new nm_spawn_process() call rather than system()
21174                 - (nm_device_*_best_ap): add freeze/unfreeze/get_frozen functions, and don't really update
21175                         the best_ap in nm_device_update_best_ap() if the best_ap is frozen AND in the device's
21176                         ap list
21177
21178         * src/NetworkManagerUtils.[ch]
21179                 - (nm_spawn_process): add replacement for system() usage
21180
21181 2004-08-11  Dan Williams <dcbw@redhat.com>
21182
21183         * panel-applet/NMWirelessApplet.[ch]
21184                 - Fix up copyright and credits to include Bastien and Eskil,
21185                         who created the gnome-applets wireless applet, from whose
21186                         skeleton this one was created
21187                 - Rework nmwa_update_state()/nmwa_draw() so that state and which
21188                         pixmap to draw is computed during nmwa_update_state()
21189                 - Applet now shows itself all the time due to panel packing issues
21190                         which caused the applet to previously never come back after hiding.
21191                         When a wired device is the active device, the applet shows "not connected"
21192
21193         * panel-applet/NMWirelessAppletDbus.[ch]
21194                 - Clean up error messages and show what function they are from
21195                 - nmwa_dbus_get_active_wireless_device()->nmwa_dbus_get_active_device()
21196                 - Add new device type getters, and a status getter
21197
21198         * src/NetworkManagerDbus.c
21199                 - (nm_dbus_devices_handle_request): Don't return an active network unless that
21200                         network is actually in the device's ap list
21201                 - (nm_dbus_nm_message_handler): Fix silly mistake returning status
21202
21203         * src/NetworkManagerDevice.c
21204                 - (nm_device_update_best_ap): If the best AP is NULL, clear out the ESSID of the
21205                         card
21206
21207         * test/nmclienttest.c
21208                 - Report status of NetworkManager too
21209
21210 2004-08-11  Dan Williams <dcbw@redhat.com>
21211
21212         * info-daemon/NetworkManagerInfo.c:
21213                 - (main): clean up Seth's code style
21214
21215         * info-daemon/NetworkManagerInfoDbus.c:
21216                 - Use the more aptly-named path/service/interface constants from NetworkManager
21217                 - Don't return empty strings ("") as object paths ever, instead return errors
21218
21219         * panel-applet/NMWirelessApplet.c:
21220                 - Clean up Seth's code style
21221
21222         * src/NetworkManager.[ch]
21223                 - (nm_remove_device_from_list): remove anything having to do with pending_device
21224                 - (main, nm_print_usage): change --daemon=[yes|no] -> --no-daemon
21225
21226         * src/NetworkManagerAPList.[ch]
21227                 - Move Iter struct right above the iter functions to preserve opacity
21228                 - (nm_ap_list_remove_ap): implement
21229                 - (nm_ap_list_update_network): deal with errors returned from nm_dbus_get_network_priority(),
21230                         remove AP if NetworkManagerInfo doesn't know anything about it
21231                 - (nm_ap_list_diff): user NMAPList iterators
21232                 - (nm_ap_list_print_members): implement debugging function
21233
21234         * src/NetworkManagerDbus.[ch]
21235                 - (nm_dbus_nm_get_active_device): remove anything to do with pending_device
21236                 - (nm_dbus_get_user_key_for_network): remove DBusPendingCall stuff (unused),
21237                         and move the actual key setting stuff into NetworkManagerDevice.c
21238                 - (nm_dbus_get_network_priority): return -1 now on errors
21239                 - (nm_dbus_nmi_filter): fix strcmp() error that caused PreferredNetworkUpdate signals to
21240                         get lost, and force the active device to update its "best" ap when AP lists change
21241                 - (nm_dbus_nm_message_handler): Update conditions for returning "connecting" for a "status"
21242                         method call due to pending_device member removal
21243
21244         * src/NetworkManagerDevice.[ch]
21245                 - Move NMDevice structure to the top
21246                 - Add a wireless scan mutex and a best_ap mutex to the Wireless Options structure
21247                 - Remove Pending Action stuff from everywhere
21248                 - (nm_device_activation_*): We now "begin" activation and start a thread to do the
21249                         activation for us.  This thread blocks until all conditions for activation have
21250                         been met (ie for wireless devices, we need a valid WEP key and a "best" ap), and
21251                         then setup up the interface and runs dhclient.  We have to do this because there
21252                         is no guaruntee how long dhclient takes, and while we are blocking on it, we cannot
21253                         run our main loop and respond to dbus method calls or HAL device removals/inserts
21254                 - (nm_device_set_user_key_for_network): Move logic here from NetworkManagerDbus.c so we
21255                         can tell nm_device_activation_worker() that we've got a key
21256                 - (nm_device_*_best_ap): lock access to best_ap member of Wireless Options structure
21257                 - (nm_device_get_path_for_ap): dumb it down so the list doesn't lock against itself when
21258                         diffing (AP appear/disappear signal functions make sure the AP is actually in the device's list)
21259                 - (nm_device_update_best_ap): move logic from nm_wireless_is_ap_better() here
21260
21261         * src/NetworkManagerPolicy.c
21262                 - Remove anything to do with pending_device
21263                 - Adjust device activation to deal with activation-in-worker-thread
21264
21265         * src/NetworkManagerUtils.c
21266                 - Clean up locking debugging a bit
21267
21268         * src/NetworkManagerWireless.[ch]
21269                 - (nm_wireless_is_ap_better): remove, stick logic in nm_device_update_best_ap().  This function
21270                         was badly named and is better as a device function
21271
21272         * panel-applet/.cvsignore: add
21273
21274 2004-08-09  Seth Nickell  <seth@gnome.org>
21275
21276         * panel-applet/NMWirelessApplet.c: (nmwa_timeout_handler),
21277         (nmwa_button_clicked), (nmwa_populate_menu), (nmwa_setup_widgets),
21278         (nmwa_new):
21279         * src/NetworkManagerDbus.c: (nm_dbus_nmi_filter):
21280
21281         Don't load the menus until clicked on (also removes a call outside
21282         normal code paths at first load).
21283
21284         Hide applet when NM is not present.
21285         
21286         Improve printf debugging stuff.
21287         
21288 2004-08-09  Dan Williams <dcbw@redhat.com>
21289
21290         * dispatcher-daemon/NetworkManagerDispatcher.c:
21291                 - Covert uses of dbus_message_iter_* over to dbus_message_get_args
21292                 - Use constants for NetworkManager interface, service, and path
21293
21294 2004-08-09  Dan Williams <dcbw@redhat.com>
21295
21296         * src/NetworkManagerDbus.c:
21297                 - (nm_dbus_nm_get_active_device, nm_dbus_nm_get_devices): Never return an empty object path,
21298                         instead return an error message
21299                 - (nm_dbus_devices_handle_request): Return error when getActiveNetwork/getNetworks is called
21300                         on a wired device.  Also never return an empty object path, instead return an error message
21301
21302 2004-08-06  Seth Nickell  <seth@gnome.org>
21303
21304         * panel-applet/NMWirelessApplet.c: (nmwa_new):
21305
21306         Check the error code when getting a connection.
21307         
21308         * panel-applet/NMWirelessAppletDbus.c: (nmwa_dbus_init):
21309
21310         Check if the NM service exists when initializing (rather than
21311         assuming it does not).
21312         
21313         * src/NetworkManagerDbus.c: (nm_dbus_init):
21314
21315         Don't acquire the well-known service name until we have
21316         registered object/path handlers and can actually receive
21317         calls.
21318         
21319 2004-08-06  Dan Williams <dcbw@redhat.com>
21320
21321         * panel-applet/*
21322                 - Add panel applet
21323
21324         * src/NetworkManagerPolicy.c
21325           src/NetworkManager.c
21326                 - Get access point lists from NetworkManagerInfo on-demand,
21327                         and look for ServiceCreate/ServiceDeleted signals to see when
21328                         we should query NMI for lists
21329         * src/NetworkManagerAPList.c
21330                 - Make sure to init the list's mutex
21331                 - Convert traversals of the list over to the list iter functions
21332
21333         * src/NetworkManagerDbus.[ch]
21334                 - Use more aptly-named path/service/interface constants
21335                 - Treat both active and pending devices the same for "getActiveDevice"
21336                 - Add a "status" method returning "connected", "connecting", or "disconnected"
21337
21338         * src/NetworkManagerDevice.c
21339                 - Honor "ignored" network list when picking best ap to use
21340
21341 2004-08-06  Seth Nickell  <seth@gnome.org>
21342
21343         * aclocal.m4:
21344
21345         Autogenerated, remove from CVS.
21346         
21347         * autogen.sh:
21348
21349         Don't hardcode automake version.
21350         
21351         * configure.in:
21352         * info-daemon/Makefile.am:
21353         * info-daemon/NetworkManagerInfo.c: (main):
21354
21355         Use GnomeProgram et al. for doing session management.
21356         Use popt stuff for argument parsing rather than doing
21357         it manugally.
21358         
21359 2004-08-05  Dan Williams <dcbw@redhat.com>
21360
21361         * test/nminfotest.c
21362                 - Update to new NMI dbus API, check different network types
21363
21364         * info-daemon/NetworkManagerInfoDbus.c
21365                 - Update to new NM dbus API, ie network type sent in query message
21366
21367 2004-08-05  Dan Williams <dcbw@redhat.com>
21368
21369         * An assload of changes
21370
21371 2004-08-02  Dan Williams <dcbw@redhat.com>
21372
21373         * TODO
21374                 - new task: proper logging support
21375
21376         * info-daemon/NetworkManagerInfo.c
21377                 - Correct spelling of "canceled"
21378                 - Correct casting of objects for g_signal_connect()
21379
21380         * info-daemon/NetworkManagerInfoDbus.c
21381                 - Add defines for NetworkManager namespace and object path, and use them
21382                 - Add filter function to trap new signals from NetworkManager:
21383                         WirelessNetworkAppeared, WirelessNetworkDisappeared
21384
21385         * info-daemon/passphrase.glade
21386                 - Change name of "ok" button to "Login to Network..."
21387                 - Mark invisible
21388
21389         * src/NetworkManager.c
21390                 - Code and debug message cleanups
21391                 - Rename "nm_add_current_devices"->"nm_add_initial_devices"
21392                 - (nm_add_initial_devices) Check returned string array of devices
21393                         and don't try to add devices if array is NULL
21394                 - (main) Initialize libhal a bit later, make code a bit clearer
21395
21396         * src/NetworkManagerAP.[ch]
21397                 - New accessor and data member "matched": used to speed up AP list
21398                         diffing
21399                 - New accessor and data member "enc_method": will be used during key
21400                         fallback to cache which passphrase->key conversion actually works
21401                         so we don't have to do it every time
21402
21403         * src/NetworkManagerAPList.[ch]
21404                 - (nm_ap_list_find_ap_in_list) New: find an AP by essid in an AP list
21405                 - (nm_ap_list_diff) New: given two lists of access points, find the differences
21406                         between them, and send WirelessNetworkAppeared/Disappeared signals over
21407                         dbus in response to those differences
21408
21409         * src/NetworkManagerDbus.[ch]
21410                 - (nm_dbus_get_object_path_from_ap) New: given a device and an access point,
21411                         make an object path for that access point (NOTE that we don't yet check to
21412                         make sure that access point is actually in the device's AP list yet)
21413                 - (nm_dbus_get_ap_from_object_path) Renamed from nm_dbus_get_network_from_object_path
21414                 - (nm_dbus_signal_wireless_network_appeared, nm_dbus_signal_wireless_network_disappeared)
21415                         New: signal appearance/disappearance of wireless networks
21416                 - (nm_dbus_set_user_key_for_network) Mark the network/ap as invalid if the user cancelled
21417                         key entry
21418
21419         * src/NetworkManagerDevice.[ch]
21420                 - (nm_device_ap_list_clear) Use nm_ap_list_free rather than doing it ourselves
21421                 - (nm_device_ap_list_get) New: return the AP list (static function)
21422                 - (nm_device_do_normal_scan) Destroy old AP list later, so that we can diff the
21423                         new one resulting from the scan with the old one
21424
21425         * src/NetworkManagerWireless.c
21426                 - (nm_wireless_is_most_prefered_ap) "invalid" access points cannot be "best" access points
21427
21428         * test/nminfotest.c
21429                 - #define object paths and namespaces and use the #defines rather than static strings
21430                 - Test out user-key functionality of NetworkManagerInfo too
21431
21432 2004-07-29  Dan Williams <dcbw@redhat.com>
21433
21434         * info-daemon/NetworkManagerInfoDbus.c
21435           src/NetworkManagerDbus.c
21436                 - Update to current DBus (ie don't use decomposed paths when registering
21437                         object paths/fallbacks)
21438
21439 2004-07-27  Dan Williams <dcbw@redhat.com>
21440
21441         * Remove various Makefile.in files
21442
21443         * TODO
21444                 - Add some more items
21445
21446         * configure.in
21447                 - Add checks for OpenSSL/md5 headers and libs
21448
21449         * src/Makefile.am
21450                 - Use OpenSSL CFLAGS
21451
21452         * src/NetworkManagerAP.[ch]
21453                 - Remove 'stamp' functions, replace with 'invalid' functions
21454                         to support user cancelling WEP key entry
21455
21456         * src/NetworkManagerDbus.c
21457                 - Remove 'stamp' return functions
21458                 - Treat returned user key as a passphrase and convert to a WEP key,
21459                         but don't actually use the WEP key yet.  We use the returned user
21460                         key as a hexadecimal WEP key until we can figure out a UI for
21461                         passphrase-vs-hex key
21462
21463         * src/NetworkManagerWireless.[ch]
21464                 - Add passphrase-to-128bit-key function
21465
21466 2004-07-27  Dan Williams <dcbw@redhat.com>
21467
21468         * TODO
21469                 - Add a couple of items
21470
21471 2004-07-27  Dan Williams <dcbw@redhat.com>
21472
21473         * info-daemon/NetworkManagerInfo.c
21474                 - Update allowed network's GConf key when user enters a WEP key explicitly
21475
21476         * info-daemon/NetworkManagerDbus.c
21477                 - Fix some comments
21478                 - nmi_dbus_get_allowed_networks(): kill warning
21479
21480 2004-07-27  Dan Williams <dcbw@redhat.com>
21481
21482         * initscript/Makefile.in
21483                 - Remove
21484
21485         * initscript/Makefile.am
21486                 - Add correct rules to install the init.d initscript
21487
21488         * info-daemon/NetworkManagerInfoDbus.c
21489                 - Remove debug fprintf
21490
21491         * src/NetworkManagerDbus.[ch]
21492                 - Remove debug fprintfs
21493                 - Add macros for NetworkManagerInfo object path/namespace
21494                 - Use said macros instead of constant strings
21495
21496 2004-07-27  Dan Williams <dcbw@redhat.com>
21497
21498         * initscript/.cvsignore
21499                 - Add
21500
21501         * info-daemon/Makefile.am
21502                 - Install .glade files and keyring.png
21503                 - Fix stupid omission of a \ that caused half the flags not to be
21504                         passed to gcc
21505
21506         * info-daemon/NetworkManagerInfo.c
21507                 - gtk_signal_connect->g_signal_connect
21508                 - Alert NetworkManagerInfo to new glade file location
21509
21510 2004-07-27  Dan Williams <dcbw@redhat.com>
21511
21512         * test/nmclienttest.c
21513           test/nminfotest.c
21514                 - Add missing <dbus/dbus.h> headers
21515                 - Add GPL message at top
21516
21517 2004-07-27  Dan Williams <dcbw@redhat.com>
21518
21519         * src/NetworkManagerAPList.[ch]
21520           src/Makefile.am
21521                 - Add.  Deal with allowed network list additions, deletions, and updates
21522
21523         * dispatcher-daemon/NetworkManagerDispatcher.c
21524                 - Add missing <dbus/dbus.h> header
21525
21526         * info-daemon/NetworkManagerInfo.[ch]
21527                 - Add missing <dbus/dbus.h> header
21528                 - Implement the GConf notify callback to signal NetworkManager of an allowed
21529                         network change
21530                 - Better error checking
21531
21532         * info-daemon/NetworkManagerInfoDbus.[ch]
21533                 - Add missing <dbus/dbus.h> header
21534                 - Convert to using dbus_message_append_args/dbus_message_get_args
21535                 - Implement nmi_dbus_signal_update_allowed_network() to signal NetworkManager
21536                         that an allowed network changed.  We don't want to signal on individual
21537                         keys _inside_ an allowed network really, just want NM to query the info
21538                         daemon for updated info on all keys.
21539                 - Better error checking
21540
21541         * src/NetworkManager.[ch]
21542                 - Add missing <dbus/dbus.h> header
21543                 - Move allowed_ap_list free functions to NetworkManagerAPList.[ch]
21544                 - Zero out NMData structure on free
21545                 - No longer use a thread for allowed_ap_list updating, instead its now done
21546                         through dbus queries against NetworkManagerInfo
21547                 - Populate allowed_ap_list initially before adding existing network devices
21548                         to the device list, so wireless devices can get their "best" AP
21549
21550         * src/NetworkManagerDbus.[ch]
21551                 - Convert to using dbus_message_append_args/dbus_message_get_args
21552                 - Better error checking
21553                 - Implement Allowed Network info functions to request allowed network
21554                         info from NetworkManagerInfo
21555                 - Implement the filter function to process signals from NetworkManagerInfo
21556                         about changing allowed networks
21557
21558         * src/NetworkManagerDevice.c
21559                 - Fix file descriptor leak in nm_device_update_ip4_address()
21560
21561 2004-07-27  Dan Williams <dcbw@redhat.com>
21562
21563         * .cvsignore
21564           src/.cvsignore
21565           test/.cvsignore
21566           dispatcher-daemon/.cvsignore
21567           info-daemon/.cvsignore
21568                 - Add .cvsignore files to reduce noise when diffing
21569
21570 2004-07-24  Dan Williams <dcbw@redhat.com>
21571
21572         * src/NetworkManager.[ch]
21573           src/NetworkManagerDbus.[ch]
21574           src/NetworkManagerDevice.[ch]
21575           src/NetworkManagerPolicy.c
21576           src/NetworkManagerWireless.[ch]
21577                 - Add many more g_return_if_fail()/g_return_val_if_fail() checks
21578                 - Pass the NMData application data structure through all calls
21579                         that need it so we can get rid of nm_get_global_data()
21580                 - Change deallocation of the allowed_ap_list GSList in preparation
21581                         for not completely clearing it every time we get an update,
21582                         but instead getting incremental updates via GConf/dbus
21583
21584 2004-07-22  Dan Williams <dcbw@redhat.com>
21585
21586         * configure.in
21587                 - Add checks for GConf libs & headers & flags
21588
21589         * info-daemon/Makefile.am
21590                 - Add GConf flags & libs to compile/link stages of NetworkManagerInfo
21591
21592         * info-daemon/NetworkManagerInfo.[ch]
21593                 - Don't use gquarks for data storage, just use normal data storage
21594                 - Add gconf bits to watch /system/networking/wireless/allowed_networks
21595
21596         * info-daemon/NetworkManagerDbus.[ch]
21597                 - Add method call for getting allowed networks
21598                 - Add method calls for getting an allowed network's essid, priority, and key
21599                 - Hook the method calls up to GConf
21600                 - Split user key dialog code into separate function (nmi_dbus_get_key_for_network)
21601                 - nmi_dbus_nmi_message_handler(): make sure to unref the reply message after sending
21602                 
21603         * src/NetworkManagerDbus.[ch]
21604                 - Switch for enumeration of networks to using essid instead
21605
21606         * test/Makefile.am
21607           test/nminfotest.c
21608                 - Add test program for NetworkManagerInfo
21609
21610 2004-07-19  Dan Williams <dcbw@redhat.com>
21611
21612         * src/NetworkManagerDbus.c
21613                 - Switch from indexed device paths to names.  Less code, more efficient.
21614                         ie "/org/freedesktop/NetworkManager/0" -> "/org/freedesktop/NetworkManager/eth0"
21615
21616 2004-07-19  Dan Williams <dcbw@redhat.com>
21617
21618         * dispatcher-daemon/NetworkManagerDispatcher.c
21619                 - (nm_dbus_filter): Remove obsolete response to NeedKeyForNetwork signal
21620
21621 2004-07-19  Dan Williams <dcbw@redhat.com>
21622
21623         * Makefile.am
21624                 - Add info-daemon directory
21625
21626         * configure.in
21627                 - Check for glade libs and headers
21628                 - Add info-daemon directory
21629
21630         * src/NetworkManagerAP.c
21631                 - nm_ap_new_from_ap(): Fix bug that resulted in an APs encryption status not getting
21632                         copied over to the new AP.
21633
21634         * src/NetworkManagerDbus.c
21635           src/NetworkManagerDbus.h
21636                 - Deal with nm_device_ap_list_get_ap()->nm_device_ap_list_get_ap_by_index() change
21637                 - Remove nm_dbus_signal_need_key_for_network()
21638                 - Add disabled code for asynchronous user wep key callbacks
21639                 - Add functions for getting, setting, and cancelling user key operations
21640                 - Remove "setKeyForNetwork" device dbus method call, its on NetworkManager object instead
21641                 - Add "setKeyForNetwork" dbus method call on NetworkManager object
21642
21643         * src/NetworkManagerDevice.c
21644           src/NetworkManagerDevice.h
21645                 - nm_device_update_link_active(): revert changes for wireless link detection, the WEP-key-is-wrong
21646                         logic is in device activation now
21647                 - nm_device_activate(): for wireless devices, if we can't associate with access point (perhaps
21648                         key is wrong) trigger get-user-key pending action
21649                 - Implement get-user-key pending action stuff, tie to dbus messages
21650                 - Rename nm_device_ap_list_get_ap() -> nm_device_ap_list_get_ap_by_index()
21651                 - Add nm_device_ap_list_get_ap_by_essid()
21652                 - Instead of copying "best" access points, ref them instead so that the key we set
21653                         sticks around
21654
21655         * src/NetworkManagerPolicy.c
21656                 - Deal with wrong WEP key, but right access point (and if so, return link_active = TRUE)
21657                 - Don't cancel pending actions on a device if its the same device as last iteration
21658                 - Only promote pending_device->active_device if activation was successfull
21659
21660         * src/Makefile.am
21661                 - Rename nmclienttest->nmtest
21662
21663         * info-daemon/Makefile.am
21664           info-daemon/NetworkManagerInfo.c
21665           info-daemon/NetworkManagerInfo.h
21666           info-daemon/NetworkManagerInfoDbus.c
21667           info-daemon/NetworkManagerInfoDbus.h
21668           info-daemon/passphrase.glade
21669           info-daemon/NetworkManagerInfo.conf
21670           info-daemon/keyring.png
21671                 - Import sources for info-daemon, which pops up dialog for passphrase/key when
21672                         NetworkManager asks for it, and also will (soon) provide "allowed" access point
21673                         lists to NetworkManager by proxying user's GConf
21674           
21675
21676 2004-07-15  Dan Williams <dcbw@redhat.com>
21677
21678         * src/Makefile.am
21679                 - Turn on warnings
21680
21681         * src/NetworkManager.c
21682                 - nm_create_device_and_add_to_list(): call nm_device_deactivate() rather
21683                         that doing the deactivation ourselves
21684                 - Cancel an pending actions on a device if its being removed
21685                 - Break up link state checking a bit, make non-active wireless cards
21686                         deactivated to save power
21687                 - Remove unused variables
21688
21689         * src/NetworkManager.h
21690                 - Add support for "pending" device
21691
21692         * src/NetworkManagerAP.h
21693           src/NetworkManagerAP.c
21694                 - Add support for determining whether and AP has encryption enabled or not
21695                 - AP address is now "struct ether_addr" rather than a string
21696
21697         * src/NetworkManagerDbus.h
21698           src/NetworkManagerDbus.c
21699                 - Add signal NeedKeyForNetwork, method SetKeyForNetwork (testing only)
21700                 - Changes for AP address from struct ether_addr->string
21701
21702         * src/NetworkManagerDevice.h
21703           src/NetworkManagerDevice.c
21704                 - Remove unused variables, fix warnings
21705                 - Add support for Pending Actions (things that block a device from being "active"
21706                         until they are completed).
21707                 - First pending action:  Get a WEP key from the user
21708                 - Add nm_device_is_wire[d|less](), rename nm_device_is_wireless()
21709                 - Clean up explicit testing of dev->iface_type to use nm_device_is_wireless()
21710                 - Update wireless link checking to try to determine if the AP we are associated
21711                         with is correct, but the WEP key we are using is just wrong.  If its wrong,
21712                         trigger the GetUserKey pending action on the device
21713                 - If dhclient can't get an IP address, it brings the device down.  Bring it back
21714                         up in that case, otherwise we can't scan or link-check on it
21715                 - Add IP address change notifications at appropriate points (still needs some work)
21716                 - Add nm_device_need_ap_switch(), checks whether we need to switch access points or not
21717
21718         * src/NetworkManagerPolicy.h
21719           src/NetworkManagerPolicy.c
21720                 - Split out "best" access point determiniation into separate function
21721                 - Make device activation 2-stage:  first the device is pending, then
21722                         in the next iteration through it becomes "active" unless it has
21723                         pending actions
21724
21725         * src/NetworkManagerUtils.h
21726           src/NetworkManagerUtils.c
21727                 - Clean up unused variables and warnings
21728                 - Wrap our debug macros in {} to prevent possible confusion
21729
21730         * src/NetworkManagerWireless.c
21731                 - Forgot to return current best priority, which lead to last available AP always
21732                         being chosen no matter what its priority was.  Corrected.
21733
21734 2004-07-15  Dan Williams <dcbw@redhat.com>
21735
21736         * dispatcher-daemon/Makefile.am
21737                 - Turn on warnings
21738
21739         * dispatcher-daemon/NetworkManagerDispatcher.c
21740                 - Remove unused variables due to warnings
21741                 - Fix some comments
21742                 - Print message on receipt of NeedKeyForNetwork signal (testing only)
21743
21744 2004-07-06  Dan Williams <dcbw@redhat.com>
21745
21746         * src/NetworkManager.c
21747                 - Add IPv4 address update for active device during link state check
21748                 - Don't allow wireless cards to be powered up when they are not the
21749                         active device
21750
21751         * src/NetworkManagerDbus.c
21752           src/NetworkManagerDbus.h
21753                 - Add DBUS IPv4 address change signal
21754                 - Add DBUS IPv4 address get method for devices
21755
21756         * src/NetworkManagerDevice.c
21757                 - Make setting the WEP key actually work
21758                 - Move IP address get/set/update stuff here, per-device
21759                 - Power down/bring down wireless device when deactivated
21760                 - For scanning wireless devices, if first scan returned ENODATA, try again
21761
21762         * src/NetworkManagerPolicy.c
21763                 - Only set the WEP key for an allowed access point if there is one.
21764                         We were setting it to be blank if one wasn't specified.
21765
21766         * src/NetworkManagerUtils.h
21767           src/NetworkManagerUtils.c
21768                 - Move the IP address stuff to NetworkManagerDevice.c
21769
21770         * dispatcher-daemon/NetworkManagerDispatcher.c
21771                 - Add device IPv4 address change notification stuff
21772
21773 2004-07-05  Dan Williams <dcbw@redhat.com>
21774
21775         * dispatcher-daemon/NetworkManagerDispatcher.c
21776                 - A bit more descriptive state message
21777                 - Don't segfault when reading directory
21778
21779         * src/NetworkManager.h
21780                 - Remove NMData desired_ap member, its now
21781                         per-device rather than global
21782
21783         * src/NetworkManager.c
21784                 - Remove references to desired_ap
21785                 - Move the allowed AP list refresh stuff into a thread
21786
21787         * src/NetworkManagerDevice.c
21788           src/NetworkManagerDevice.h
21789                 - Each wireless device now has a "best ap"
21790                 - Make device activate/deactivate functions per-device
21791                 - Make wireless scanning per-device
21792                 - Add IPv4 address discover functions, stub IPv6 ones
21793                 - Move ethernet address validation functions to NetworkManagerUtils.c
21794                 - Add wireless access point accessor function
21795                 - Get/Set functions for "best ap"
21796
21797         * src/NetworkManagerPolicy.c
21798                 - Move activate/deactivate stuff into NetworkManagerDevice.c, per-device
21799                 - Deal with per-device "best ap" rather than data->desired_apa
21800                 - Implement allowed access point worker thread
21801                 - Add nm_policy_essid_is_allowed() function
21802
21803         * src/NetworkManagerUtils.c
21804           src/NetworkManagerUtils.h
21805                 - Add nm_ethernet_address_is_valid() function
21806                 - Add IPv4/IPv6 address get functions
21807
21808         * src/NetworkManagerWireless.c
21809           src/NetworkManagerWireless.h
21810                 - Move scanning stuff into NetworkManagerDevice.c, per-device
21811
21812 2004-06-29  Dan Williams <dcbw@redhat.com>
21813
21814         * dispatcher-daemon/NetworkManagerDispatcher.c
21815                 - Implement script callout functionality
21816
21817 2004-06-24  Dan Williams <dcbw@redhat.com>
21818
21819         * NetworkManager.c
21820             - Spacing cleanups
21821             - Flush device routes and ip addresses when added to the device list
21822
21823         * NetworkManagerDbus.c
21824             - Spacing cleanups
21825             - Add missing returns in the two signal functions
21826         
21827         * NetworkManagerPolicy.c
21828             - Spacing and variable cleanups
21829
21830 2004-06-24  Dan Williams <dcbw@redhat.com>
21831
21832         * Makefile.am
21833           Makefile.in
21834           configure.in
21835           dispatcher-daemon/Makefile.am
21836           dispatcher-daemon/Makefile.in
21837           dispatcher-daemon/NetworkManagerDispatcher.c
21838             - Add a daemon that receives signals from NetworkManager
21839                         and will (eventually) call scripts in /etc/somewhere
21840                         when devices go up or down.
21841         
21842         * NetworkManager.c
21843             - Spacing cleanups
21844             - Flush device routes and ip addresses when added to the device list
21845
21846         * NetworkManagerDbus.c
21847             - Spacing cleanups
21848             - Add missing returns in the two signal functions
21849         
21850         * NetworkManagerPolicy.c
21851             - Spacing and variable cleanups
21852             - Rename nm_policy_switch_interface->nm_policy_switch_device
21853             - nm_policy_switch_device():
21854                                 Use kill (pid) instead of system ("kill <pid>")
21855             - nm_state_modification_monitor():
21856                                 Add wireless essid to output of debug statements
21857                                 Correct typo in device compare to switch or not (should be !=)
21858                                 Don't sleep after sending "no longer active" signal, was useless
21859
21860 2004-06-24  Dan Williams <dcbw@redhat.com>
21861
21862         * Initial import