2008-11-14 Dan Williams <dcbw@redhat.com>
[NetworkManager.git] / ChangeLog
1 2008-11-14  Dan Williams  <dcbw@redhat.com>
2
3         * libnm-glib/libnm_glib.ver
4           libnm-glib/nm-dbus-settings-system.c
5           libnm-glib/nm-dbus-settings-system.h
6                 - Add libnm-glib bits for CanModify
7
8 2008-11-14  Dan Williams  <dcbw@redhat.com>
9
10         * introspection/nm-settings-system.xml
11           system-settings/src/dbus-settings.c
12           system-settings/src/dbus-settings.h
13                 - Add a "CanModify" property to indicate if any plugins support
14                         connection modification
15
16 2008-11-14  Dan Williams  <dcbw@redhat.com>
17
18         Relicense libnm-glib to LGPLv2+ with agreement from contributors
19
20 2008-11-14  Dan Williams  <dcbw@redhat.com>
21
22         * vpn-manager/nm-vpn-connection.c
23                 - (plugin_state_changed): clear VPN secrets on error to ensure they
24                         are always requested from the settings service (rh #429287)
25
26 2008-11-13  Dan Williams  <dcbw@redhat.com>
27
28         * libnm-util/crypto.c
29                 - (crypto_get_private_key_data): fix bad initial arg type checking
30                         from pkcs#12 patch
31
32 2008-11-13  Dan Williams  <dcbw@redhat.com>
33
34         Add support for PKCS#12 private keys (bgo #558982)
35
36         * libnm-util/crypto.c
37           libnm-util/crypto.h
38                 - (parse_old_openssl_key_file): rename from parse_key_file(); adapt to
39                         take a GByteArray instead of a filename
40                 - (file_to_g_byte_array): handle private key files too
41                 - (decrypt_key): take a GByteArray rather than data + len
42                 - (crypto_get_private_key_data): refactor crypto_get_private_key() into
43                         one function that takes a filename, and one that takes raw data;
44                         detect pkcs#12 files as well
45                 - (crypto_load_and_verify_certificate): detect file type
46                 - (crypto_is_pkcs12_data, crypto_is_pkcs12_file): add pkcs#12 detection
47                         functions
48
49         * libnm-util/crypto_gnutls.c
50                 - (crypto_decrypt): take GByteArray rather than data + len; fix a bug
51                         whereby tail padding was incorrectly handled, leading to erroneous
52                         successes when trying to decrypt the data
53                 - (crypto_verify_cert): rework somewhat
54                 - (crypto_verify_pkcs12): validate pkcs#12 keys
55
56         * libnm-util/crypto_nss.c
57                 - (crypto_init): enable various pkcs#12 ciphers
58                 - (crypto_decrypt): take a GByteArray rather than data + len
59                 - (crypto_verify_cert): clean up
60                 - (crypto_verify_pkcs12): validate pkcs#12 keys
61
62         * libnm-util/test-crypto.c
63                 - Handle pkcs#12 keys
64
65         * libnm-util/nm-setting-8021x.c
66           libnm-util/nm-setting-8021x.h
67           libnm-util/libnm-util.ver
68                 - Add two new properties, 'private-key-password' and
69                         'phase2-private-key-password', to be used in conjunction with
70                         pkcs#12 keys
71                 - (nm_setting_802_1x_set_ca_cert_from_file,
72                    nm_setting_802_1x_set_client_cert_from_file,
73                    nm_setting_802_1x_set_phase2_ca_cert_from_file,
74                    nm_setting_802_1x_set_phase2_client_from_file): return certificate
75                         type
76                 - (nm_setting_802_1x_get_private_key_password,
77                    nm_setting_802_1x_get_phase2_private_key_password): return private
78                         key passwords
79                 - (nm_setting_802_1x_set_private_key_from_file,
80                    nm_setting_802_1x_set_phase2_private_key_from_file): set the private
81                         key from a file, and update the private key password at the same time
82                 - (nm_setting_802_1x_get_private_key_type,
83                    nm_setting_802_1x_get_phase2_private_key_type): return the private
84                         key type
85
86         * src/supplicant-manager/nm-supplicant-settings-verify.c
87                 - Whitelist private key passwords
88
89         * src/supplicant-manager/nm-supplicant-config.c
90                 - (nm_supplicant_config_add_setting_8021x): for pkcs#12 private keys,
91                         add the private key password to the supplicant config, but do not
92                         add the client certificate (as required by wpa_supplicant)
93
94 2008-11-12  Tambet Ingo  <tambet@gmail.com>
95
96         * system-settings/plugins/keyfile/nm-keyfile-connection.c (copy_one_secret)
97         (add_secrets): Don't add empty secrets to the secrets hash table.
98
99 2008-11-07  Dan Williams  <dcbw@redhat.com>
100
101         * libnm-util/nm-setting-wireless.c
102                 - (nm_setting_wireless_get_seen_bssid): fix bug from accessor conversion
103                         that cased this function to return garbage, breaking hidden AP
104                         detection
105
106 2008-11-07  Dan Williams  <dcbw@redhat.com>
107
108         Fix deletion of VPN gateway route on DHCP renew (bgo #558133)
109
110         * src/NetworkManagerSystem.c
111           src/NetworkManagerSystem.h
112                 - (nm_system_device_set_ip4_route): return the route that was added
113                 - (nm_system_add_ip4_vpn_gateway_route): make add_vpn_gateway_route()
114                         public, clean up, and return the route that was added
115                 - (nm_system_apply_ip4_config): remove VPN related stuff to simplify,
116                         since nm_system_add_ip4_vpn_gateway_route() is now available; add
117                         flags to allow only certain attributes of the NMIP4Config to be
118                         applied
119
120         * src/nm-device.c
121                 - (handle_dhcp_lease_change): don't touch the DHCP4 config on failure
122                 - (nm_device_set_ip4_config): use nm_ip4_config_diff() to only apply
123                         what's really changed between the old and new configs; don't export
124                         the new IP4 config on failure; always send the DNS info to the
125                         named manager
126
127         * src/vpn-manager/nm-vpn-connection.c
128                 - (device_ip4_config_changed, nm_vpn_connection_new, dispose): track the
129                         parent device's IP4Config and re-add the VPN gateway route when it
130                         changes
131                 - (nm_vpn_connection_ip4_config_get): add the VPN gateway route (since
132                         nm_system_apply_ip4_config() no longer does) and cache it for later
133                 - (connection_state_changed): move cleanup code to its own function
134                 - (vpn_cleanup): delete any previously added VPN gateway route; and
135                         re-apply the parent device's addresses and routes using
136                         nm_system_apply_ip4_config(), not nm_device_set_ip4_config()
137
138 2008-11-07  Dan Williams  <dcbw@redhat.com>
139
140         * src/nm-ip4-config.c
141           src/nm-ip4-config.h
142                 - (nm_ip4_config_diff): new function; return the difference between two
143                         IP4 configs
144                 - (nm_ip4_config_compare): change into nm_ip4_config_diff
145
146 2008-11-05  Dan Williams  <dcbw@redhat.com>
147
148         * nm-ip4-config.c
149           nm-ip4-config.h
150                 - (nm_ip4_config_compare): compare two IP4 configs
151
152 2008-11-05  Dan Williams  <dcbw@redhat.com>
153
154         * src/NetworkManagerPolicy.c
155                 - (update_etc_hosts): only add newline if not the last line of the file
156                         (Jonathan Miner)
157
158 2008-11-05  Dan Williams  <dcbw@redhat.com>
159
160         * src/dhcp-manager/nm-dhcp-dhclient.c
161                 - (get_leasefile_for_iface): move lease files back to where dhclient
162                         puts them
163
164 2008-11-05  Michael Biebl  <mbiebl@gmail.com>
165
166         * initscripts/Debian/NetworkManager
167                 - Update to what Debian is actually using
168
169 2008-11-05  Tambet Ingo  <tambet@gmail.com>
170
171         * libnm-util/nm-setting-8021x.c: Verify PEAP settings as well.
172
173 2008-11-03  Dan Williams  <dcbw@redhat.com>
174
175         * system-settings/src/main.c
176                 - (add_default_dhcp_connection): make the fallback connection read-only
177
178         * libnm-glib/nm-settings.c
179           libnm-glib/nm-settings.h
180                 - Add detailed errors
181                 - (impl_exported_connection_update, impl_exported_connection_delete):
182                         return an error if the connection is read-only
183
184         * system-settings/plugins/ifupdown/nm-ifupdown-connection.c
185           system-settings/plugins/keyfile/nm-keyfile-connection.c
186           system-settings/src/main.c
187                 - Use more detailed errors
188
189         * system-settings/src/nm-system-config-error.c
190           system-settings/src/nm-system-config-error.h
191           system-settings/src/dbus-settings.c
192                 - Remove NM_SYSCONFIG_SETTINGS_ERROR_INVALID_CONNECTION, replaced by
193                         NM_SETTINGS_ERROR_INVALID_CONNECTION
194
195 2008-11-02  Dan Williams  <dcbw@redhat.com>
196
197         * Add license headers to everything in src/
198
199 2008-11-02  Dan Williams  <dcbw@redhat.com>
200
201         * Tag 0.7.0-rc1
202
203 2008-11-02  Dan Williams  <dcbw@redhat.com>
204
205         * src/NetworkManagerAP.c
206                 - (nm_ap_new_fake_from_connection): treat only lack of a wireless security
207                         setting as unencrypted; fixes a bug where NM wouldn't ask for new
208                         secrets when connecting to an encrypted network failed
209
210 2008-10-30  Dan Williams  <dcbw@redhat.com>
211
212         * libnm-util/libnm-util.ver
213           libnm-util/nm-setting-ip6-config.c
214           libnm-util/nm-setting-ip6-config.h
215           libnm-util/Makefile.am
216                 - Make properties private and add accessor functions
217                 - Hide IPv6 stuff from public API, it's incomplete and completely unused
218
219         * libnm-util/nm-connection.c
220           libnm-util/nm-utils.c
221           libnm-util/nm-utils.h
222                 - Ignore IPv6 stuff for now
223
224 2008-10-30  Dan Williams  <dcbw@redhat.com>
225
226         * libnm-util/libnm-util.ver
227           libnm-util/nm-setting-8021x.c
228           libnm-util/nm-setting-8021x.h
229                 - Make properties private and add accessor functions
230
231         * src/supplicant-manager/nm-supplicant-config.c
232           system-settings/plugins/ifcfg-suse/parser.c
233                 - Use 802.1x setting accessors
234
235 2008-10-30  Dan Williams  <dcbw@redhat.com>
236
237         * libnm-util/libnm-util.ver
238           libnm-util/nm-setting-wireless-security.c
239           libnm-util/nm-setting-wireless-security.h
240                 - Make properties private and add accessor functions
241
242         * libnm-util/nm-setting-wireless.c
243           src/NetworkManagerAP.c
244           src/nm-device-wifi.c
245           src/supplicant-manager/nm-supplicant-config.c
246           system-settings/plugins/ifcfg-fedora/reader.c
247           system-settings/plugins/ifcfg-suse/parser.c
248                 - Use wireless security accessors
249
250 2008-10-30  Dan Williams  <dcbw@redhat.com>
251
252         * src/nm-device-ethernet.c
253           src/nm-device-wifi.c
254           src/nm-device.c
255           src/ppp-manager/nm-ppp-manager.c
256                 - Harmonize return checking of ioctl
257
258         * system-settings/plugins/ifcfg-fedora/reader.c
259                 - (is_wireless_device): fall back to SIOCGIWNAME (rh #466340)
260
261 2008-10-30  Dan Williams  <dcbw@redhat.com>
262
263         * src/ppp-manager/nm-ppp-manager.c
264                 - (nm_ppp_manager_start): if /dev/ppp doesn't exist, load the
265                         ppp_generic module to create it (bgo #533064)
266
267 2008-10-30  Dan Williams  <dcbw@redhat.com>
268
269         Patch from Alexander Sack <asac@canonical.com>
270
271         Fix "ppp connections don't honour ip4 connection settings"
272
273         * src/nm-device-ethernet.c
274                 - (real_act_stage4_get_ip4_config): merge ip4config settings
275                         with results from ppp manager
276
277         * src/nm-serial-device.c
278                 - (real_act_stage4_get_ip4_config): merge ip4config settings
279                         with results from ppp manager
280
281 2008-10-29  Dan Williams  <dcbw@redhat.com>
282
283         * libnm-util/libnm-util.ver
284           libnm-util/nm-setting-ip4-config.c
285           libnm-util/nm-setting-ip4-config.h
286                 - Make properties private and add accessor functions
287
288         * callouts/nm-dispatcher-action.c
289           libnm-glib/libnm-glib-test.c
290           libnm-util/nm-utils.c
291           src/NetworkManagerPolicy.c
292           src/NetworkManagerSystem.c
293           src/NetworkManagerUtils.c
294           src/dhcp-manager/nm-dhcp-dhclient.c
295           src/dhcp-manager/nm-dhcp-manager.c
296           src/dnsmasq-manager/nm-dnsmasq-manager.c
297           src/nm-device-wifi.c
298           src/nm-device.c
299           src/nm-hso-gsm-device.c
300           src/nm-ip4-config.c
301           src/nm-ip4-config.h
302           src/ppp-manager/nm-ppp-manager.c
303           src/vpn-manager/nm-vpn-connection.c
304           system-settings/plugins/ifcfg-fedora/reader.c
305           system-settings/plugins/ifcfg-suse/parser.c
306           system-settings/plugins/ifcfg-suse/plugin.c
307           system-settings/plugins/ifupdown/parser.c
308           test/nm-tool.c
309           vpn-daemons/vpnc/properties/nm-vpnc.c
310                 - Use IP4 accessor functions
311
312 2008-10-29  Tambet Ingo  <tambet@gmail.com>
313
314         Half of it by Dan Williams <dcbw@redhat.com>
315
316         * libnm-util/libnm-util.ver
317         libnm-util/nm-setting-vpn.c
318         libnm-util/nm-setting-vpn.h
319                 - Make properties private and add accessor functions.
320
321         * src/vpn-manager/nm-vpn-connection.c
322         src/vpn-manager/nm-vpn-manager.c
323         system-settings/plugins/keyfile/reader.c
324         vpn-daemons/openvpn/properties/auth-helpers.c
325         vpn-daemons/openvpn/properties/import-export.c
326         vpn-daemons/openvpn/properties/nm-openvpn.c
327         vpn-daemons/openvpn/src/nm-openvpn-service.c
328         vpn-daemons/pptp/auth-dialog/main.c
329         vpn-daemons/pptp/properties/advanced-dialog.c
330         vpn-daemons/pptp/properties/nm-pptp.c
331         vpn-daemons/pptp/src/nm-pptp-service.c
332         vpn-daemons/vpnc/properties/nm-vpnc.c
333         vpn-daemons/vpnc/src/nm-vpnc-service.c
334                 - Use VPN setting accessors.
335
336 2008-10-28  Dan Williams  <dcbw@redhat.com>
337
338         Patch from Tambet Ingo <tambet@gmail.com>
339
340         * libnm-util/libnm-util.ver
341           libnm-util/nm-setting-wireless.c
342           libnm-util/nm-setting-wireless.h
343                 - Make properties private and add accessor functions
344
345         * src/NetworkManagerAP.c
346           src/nm-device-wifi.c
347           src/nm-manager.c
348           src/supplicant-manager/nm-supplicant-config.c
349           system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
350           system-settings/plugins/ifcfg-fedora/reader.c
351           system-settings/plugins/ifcfg-suse/parser.c
352           system-settings/plugins/ifupdown/parser.c
353                 - Use wireless setting accessors
354
355 2008-10-27  Dan Williams  <dcbw@redhat.com>
356
357         Patch from Tambet Ingo <tambet@gmail.com>
358
359         * libnm-util/libnm-util.ver
360           libnm-util/nm-setting-ppp.c
361           libnm-util/nm-setting-ppp.h
362                 - Make properties private and add accessor functions
363
364         * src/ppp-manager/nm-ppp-manager.c
365                 - Use ppp setting accessors
366
367 2008-10-27  Dan Williams  <dcbw@redhat.com>
368
369         Patch from Tambet Ingo <tambet@gmail.com>
370
371         * libnm-util/nm-setting.h
372           libnm-util/nm-setting.c
373                 - Make properties private and add accessor functions
374
375         * libnm-util/nm-connection.c
376           libnm-util/nm-setting-8021x.c
377           libnm-util/nm-setting-cdma.c
378           libnm-util/nm-setting-connection.c
379           libnm-util/nm-setting-gsm.c
380           libnm-util/nm-setting-ip4-config.c
381           libnm-util/nm-setting-ip6-config.c
382           libnm-util/nm-setting-ppp.c
383           libnm-util/nm-setting-pppoe.c
384           libnm-util/nm-setting-serial.c
385           libnm-util/nm-setting-template.c
386           libnm-util/nm-setting-vpn.c
387           libnm-util/nm-setting-wired.c
388           libnm-util/nm-setting-wireless-security.c
389           libnm-util/nm-setting-wireless.c
390           system-settings/plugins/keyfile/reader.c
391           system-settings/plugins/keyfile/writer.c
392                 - Use setting accessors
393
394 2008-10-27  Dan Williams  <dcbw@redhat.com>
395
396         * libnm-util/libnm-util.ver
397           libnm-util/nm-setting-connection.c
398           libnm-util/nm-setting-connection.h
399                 - Add a 'read-only' property that indicates the connection cannot be
400                         modified
401
402         * system-settings/plugins/ifcfg-fedora/reader.c
403           system-settings/plugins/ifcfg-suse/parser.c
404           system-settings/plugins/ifupdown/parser.c
405                 - These plugins are read-only at the moment
406
407         * system-settings/plugins/keyfile/reader.c
408           system-settings/plugins/keyfile/writer.c
409                 - Read-only shouldn't get saved out to files or read in from them
410
411 2008-10-27  Tambet Ingo  <tambet@gmail.com>
412
413         * src/nm-device-ethernet.c (nm_device_ethernet_get_speed): Implement
414         correct speed reporting for fast devices (kernel >= 2.6.27).
415
416 2008-10-26  Dan Williams  <dcbw@redhat.com>
417
418         Attempt to compensate for modems that don't enable full AT parsing before
419         the PIN has been entered.
420
421         * src/nm-gsm-device.c
422                 - (init_modem): accept different init strings
423                 - (init_done): try different init strings on failure
424                 - (check_pin_done): on PIN success, do full modem init
425
426 2008-10-26  Dan Williams  <dcbw@redhat.com>
427
428         Patch from Tambet Ingo <tambet@gmail.com>
429
430         * libnm-util/libnm-util.ver
431           libnm-util/nm-setting-connection.c
432           libnm-util/nm-setting-connection.h
433                 - Make properties private and add accessor functions
434
435         * src/NetworkManagerPolicy.c
436           src/nm-cdma-device.c
437           src/nm-device-ethernet.c
438           src/nm-device-interface.c
439           src/nm-device-wifi.c
440           src/nm-gsm-device.c
441           src/nm-manager.c
442           src/ppp-manager/nm-ppp-manager.c
443           src/vpn-manager/nm-vpn-connection.c
444           system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
445           system-settings/plugins/ifcfg-fedora/plugin.c
446           system-settings/plugins/ifcfg-fedora/reader.c
447           system-settings/plugins/ifcfg-suse/parser.c
448           system-settings/plugins/ifupdown/parser.c
449           system-settings/plugins/keyfile/nm-keyfile-connection.c
450           system-settings/plugins/keyfile/plugin.c
451           system-settings/plugins/keyfile/writer.c
452           system-settings/src/main.c
453                 - Use those accessors
454
455 2008-10-26  Dan Williams  <dcbw@redhat.com>
456
457         Patch from Tambet Ingo <tambet@gmail.com>
458
459         * libnm-util/libnm-util.ver
460           libnm-util/nm-setting-gsm.c
461           libnm-util/nm-setting-gsm.h
462                 - Make properties private and add accessor functions
463
464         * src/nm-gsm-device.c
465           src/nm-hso-gsm-device.c
466           src/ppp-manager/nm-ppp-manager.c
467                 - Use those accessors
468
469 2008-10-26  Dan Williams  <dcbw@redhat.com>
470
471         Patch from Tambet Ingo <tambet@gmail.com>
472
473         * libnm-util/libnm-util.ver
474           libnm-util/nm-setting-cdma.c
475           libnm-util/nm-setting-cdma.h
476                 - Make properties private and add accessor functions
477
478         * src/nm-cdma-device.c
479           src/ppp-manager/nm-ppp-manager.c
480                 - Use those accessors
481
482 2008-10-26  Dan Williams  <dcbw@redhat.com>
483
484         Patch from Tambet Ingo <tambet@gmail.com>
485
486         * libnm-util/libnm-util.ver
487           libnm-util/nm-setting-pppoe.c
488           libnm-util/nm-setting-pppoe.h
489                 - Make properties private and add accessor functions
490
491         * src/nm-device-ethernet.c
492           src/ppp-manager/nm-ppp-manager.c
493                 - Use those accessors
494
495 2008-10-26  Dan Williams  <dcbw@redhat.com>
496
497         Patch from Tambet Ingo <tambet@gmail.com>
498
499         * libnm-util/libnm-util.ver
500           libnm-util/nm-setting-wired.c
501           libnm-util/nm-setting-wired.h
502                 - Make properties private and add accessor functions
503
504         * src/nm-device-ethernet.c
505           system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
506           system-settings/plugins/ifcfg-suse/parser.c
507           system-settings/src/main.c
508                 - Use those accessors
509
510 2008-10-26  Dan Williams  <dcbw@redhat.com>
511
512         Patch from Tambet Ingo <tambet@gmail.com>
513
514         * libnm-util/libnm-util.ver
515           libnm-util/nm-setting-serial.c
516           libnm-util/nm-setting-serial.h
517           src/nm-serial-device.c
518                 - Make properties private and use accessors instead
519
520 2008-10-26  Dan Williams  <dcbw@redhat.com>
521
522         * src/supplicant-manager/nm-supplicant-interface.c
523           src/supplicant-manager/nm-supplicant-interface.h
524           src/supplicant-manager/nm-supplicant-manager.c
525           src/supplicant-manager/nm-supplicant-manager.h
526                 - Add state-to-string conversion functions
527
528         * src/nm-device-wifi.c
529           src/nm-device-ethernet.c
530                 - Normalize state info logging and use strings instead of numbers
531
532 2008-10-26  Dan Williams  <dcbw@redhat.com>
533
534         * src/NetworkManagerPolicy.c
535                 - (update_routing_and_dns): ignore host routes when determining whether
536                         a VPN connection should own the default route (bgo #552594)
537
538 2008-10-24  Dan Williams  <dcbw@redhat.com>
539
540         * src/nm-gsm-device.c
541                 - (set_apn): remove erroneous spaces in AT+CGDCONT command (Jerone Young)
542
543 2008-10-23  Dan Williams  <dcbw@redhat.com>
544
545         * src/ppp-manager/nm-ppp-manager.c
546                 - (create_pppd_cmd_line): pppd always parses /etc/ppp/options, so always
547                         add really important stuff to the command line to ensure that NM
548                         overrides /etc/ppp/options (bgo #556781)
549
550 2008-10-22  Dan Williams  <dcbw@redhat.com>
551
552         * src/NetworkManagerSystem.c
553           src/nm-device.c
554                 - Use the device's IP interface where appropriate (Per Hallsmark)
555
556 2008-10-22  Dan Williams  <dcbw@redhat.com>
557
558         * src/nm-gsm-device.c
559                 - (schedule_automatic_registration_again): use a short timeout here
560                         instead of an idle handler to avoid using too much CPU polling for
561                         something we should be waiting a bit for anyway
562
563 2008-10-22  Dan Williams  <dcbw@redhat.com>
564
565         * include/NetworkManager.h
566           introspection/nm-device.xml
567                 - Add device state change reason for carrier changes
568
569         * src/nm-device-ethernet.c
570                 - (set_carrier): use the carrier change reason when changing device
571                         state in response to carrier changes
572
573 2008-10-21  Dan Williams  <dcbw@redhat.com>
574
575         * src/NetworkManagerPolicy.c
576                 - (update_etc_hosts): don't leak errors, and ensure that
577                         g_file_set_contents() gets a valid error placeholder (rh #461933)
578
579 2008-10-21  Dan Williams  <dcbw@redhat.com>
580
581         * src/nm-manager.c
582                 - (free_get_settings_info): don't use the DBusGProxy which could be
583                         disposed of by the time the function is called
584                 - (internal_new_connection_cb): save connection scope
585                 - (connection_get_settings_cb): don't replace a connection unless it's
586                         actually different from the existing one; fixes an issue where
587                         killing the settings service wouldn't deactivate an active connection
588                         provided by that settings service, because it was using a connection
589                         that had already been replaced in the system or user hash
590
591 2008-10-21  Dan Williams  <dcbw@redhat.com>
592
593         * src/NetworkManager.c
594                 - (main): keep the DHCP manager around since it's a singleton; fixes
595                         a use-after-free exposed by r4196 since the DHCP manager singleton
596                         variable isn't cleared when the DHCP manager object is finalized
597
598 2008-10-20  Dan Williams  <dcbw@redhat.com>
599
600         * libnm-util/nm-setting-wireless-security.c
601                 - (verify): accept 'none' as a pairwise cipher with Ad-Hoc WPA connections
602
603 2008-10-20  Dan Williams  <dcbw@redhat.com>
604
605         * src/supplicant-manager/nm-supplicant-config.c
606                 - (ADD_STRING_LIST_VAL): don't add empty values to the supplicant config
607
608 2008-10-20  Dan Williams  <dcbw@redhat.com>
609
610         * src/dhcp-manager/nm-dhcp-manager.c
611                 - (nm_dhcp_manager_get): fix mismatched refcount; creating the dhcp
612                         manager object already refs it once
613                 - (nm_dhcp_manager_cancel_transaction_real): clear freed variables that
614                         also get cleaned up by nm_dhcp_device_destroy() to prevent
615                         double-frees
616
617 2008-10-20  Dan Williams  <dcbw@redhat.com>
618
619         * src/nm-manager.c
620                 - (initial_get_connections): use private dbus manager, don't keep
621                         ref-ing the singleton.  Fixes mismatched refcounts of the dbus
622                         manager object.
623
624 2008-10-18  Dan Williams  <dcbw@redhat.com>
625
626         * libnm-glib/nm-settings.c
627           libnm-glib/nm-settings.h
628                 - Rename the "get_secrets" virtual function "service_get_secrets" to
629                         clarify when it's used; NMExportedConnetion is a base-class for both
630                         the client and service side, which is sort of confusing, and
631                         get_secrets only makes sense on the service side.
632
633         * libnm-glib/nm-dbus-connection.c
634                 - (get_secrets): remove, unused, and clients need to do extra work to
635                         get secrets anyway since the call can block on the remote side
636
637         * system-settings/plugins/ifupdown/nm-ifupdown-connection.c
638           system-settings/plugins/keyfile/nm-keyfile-connection.c
639                 - Fix up for get_secrets -> service_get_secrets
640
641 2008-10-16  Dan Williams  <dcbw@redhat.com>
642
643         * src/nm-device-wifi.c
644                 - (constructor): correctly determine encryption capabilities
645
646 2008-10-15  Dan Williams  <dcbw@redhat.com>
647
648         * src/nm-device-wifi.c
649                 - (wireless_qual_to_percent): fix quality calculation in a fallback case
650                         (Johannes Berg)
651
652 2008-10-15  Dan Williams  <dcbw@redhat.com>
653
654         * src/NetworkManagerSystem.c
655                 - (ip4_dest_in_same_subnet): tighter checks on subnet matching,
656                         if the ip4_dest is in a smaller subnet contained within a subnet
657                         the machine is currently on, the destination is in the same subnet
658                 - (nm_system_device_set_ip4_route): move subnet checks to callers
659                 - (add_vpn_gateway_route): check if the VPN gateway is in the same
660                         subnet as the parent device, and if so, don't add the direct
661                         host route via the parent device's gateway (bgo #481620)
662                 - (nm_system_apply_ip4_config): check whether the route to be added
663                         is contained within a subnet the device is already on
664
665 2008-10-11  Dan Williams  <dcbw@redhat.com>
666
667         * include/NetworkManager.h
668           introspection/nm-device.xml
669           include/NetworkManagerVPN.h
670                 - Add a few more state reasons for the device deactivated state
671
672         * src/nm-device-interface.c
673           src/nm-device-interface.h
674                 - (nm_device_interface_deactivate): add a 'reason' argument
675
676         * src/nm-device.c
677           src/nm-device.h
678                 - (nm_device_deactivate, nm_device_take_down): add a 'reason' argument
679                 - (nm_device_state_changed): pass the state change reason to
680                         nm_device_take_down()
681                 - (nm_device_set_managed): take a 'reason' argument, and pass it along
682                         to the state change function
683
684         * src/nm-manager.c
685           src/nm-manager.h
686                 - (remove_one_device, handle_unmanaged_devices, sync_devices,
687                    impl_manager_sleep): pass a reason code to nm_device_set_managed()
688                 - (nm_manager_deactivate_connection): add a 'reason' argument and pass
689                         something reasonable along to VPN deactivation
690
691         * src/vpn-manager/nm-vpn-manager.c
692           src/vpn-manager/nm-vpn-manager.h
693                 - (nm_vpn_manager_deactivate_connection): add a 'reason' argument and
694                         pass that along to nm_vpn_connection_disconnect()
695
696 2008-10-11  Dan Williams  <dcbw@redhat.com>
697
698         * src/nm-device-wifi.c
699                 - (can_scan): remove old madwifi hack for not scanning while connected
700
701 2008-10-11  Dan Williams  <dcbw@redhat.com>
702
703         Add support for VPN subnet gateways (bgo #549196)
704
705         * include/NetworkManager.h
706                 - Add key for internal VPN subnet gateway
707
708         * src/vpn-manager/nm-vpn-connection.c
709                 - (ip_address_to_string): return a const from a static buffer so we
710                         don't leak a lot of strings
711                 - (print_vpn_config): print internal VPN gateway as well
712                 - (nm_vpn_connection_ip4_config_get): grab internal VPN gateway from
713                         VPN service too
714                 - (nm_vpn_connection_get_ip4_internal_gateway): new function
715
716         * src/NetworkManagerSystem.c
717           src/NetworkManagerSystem.h
718                 - (nm_system_device_replace_default_ip4_route): split into two, one for
719                         VPN connections and one for normal devices
720                 - (replace_default_ip4_route): break out route stuff into its own function
721                 - (nm_system_replace_default_ip4_route_vpn,
722                    nm_system_replace_default_ip4_route): simplify by having two cases,
723                         one for VPNs and one for normal devices
724
725         * src/NetworkManagerPolicy.c
726                 - (update_routing_and_dns): simplify, use split default route replacement
727                         functions
728
729 2008-10-10  Dan Williams  <dcbw@redhat.com>
730
731         Rework default route handling to consolidate decisions in the policy,
732         and to take active VPN connections into account when changing the default
733         route (bgo #545912)
734
735         * src/NetworkManager.c
736                 - (main): pass the vpn_manager to the policy so it knows about active
737                         VPN connections; clean up the named manager which wasn't done before
738
739         * src/NetworkManagerPolicy.c
740           src/NetworkManagerPolicy.h
741                 - (nm_policy_new): get a clue about the vpn_manager
742                 - (update_default_route): remove, fold into update_routing_and_dns()
743                 - (update_routing_and_dns): handle active VPN connections too; an
744                         active VPN connection becomes the default route if it does not have
745                         server-specified or user-specified custom routes.  Otherwise, the
746                         best active device gets the default route
747                 - (vpn_connection_activated, vpn_connection_deactivated, nm_policy_new,
748                    nm_policy_destroy): track VPN connection activation and deactivation
749                         and update the default route when appropriate
750
751         * src/NetworkManagerSystem.c
752           src/NetworkManagerSystem.h
753                 - (nm_system_vpn_device_unset_from_ip4_config): remove, put functionality
754                         in the VPN connection itself
755                 - (nm_system_vpn_device_set_from_ip4_config,
756                    nm_system_device_set_from_ip4_config): merge together to make
757                         nm_system_apply_ip4_config()
758                 - (add_vpn_gateway_route): add a route to the VPN's external gateway
759                         via the parent device
760                 - (nm_system_apply_ip4_config): simplify
761                 - (add_ip4_route_to_gateway): new function; add a direct route to the
762                         gateway if needed
763                 - (nm_system_device_replace_default_ip4_route): simplify, break gateway
764                         route stuff out into add_ip4_route_to_gateway() for clarity
765
766         * src/nm-device.c
767                 - (nm_device_set_ip4_config): update for nm_system_apply_ip4_config()
768
769         * src/vpn-manager/nm-vpn-connection.c
770           src/vpn-manager/nm-vpn-connection.h
771                 - (nm_vpn_connection_get_ip4_config, nm_vpn_connection_get_ip_iface,
772                    nm_vpn_connection_get_parent_device): add
773                 - (nm_vpn_connection_ip4_config_get): make the requirement of a tunnel
774                         device explicit
775                 - (connection_state_changed): update the named manager now that
776                         nm_system_vpn_device_unset_from_ip4_config() is gone; do something
777                         useful on errors
778
779         * src/vpn-manager/nm-vpn-manager.c
780           src/vpn-manager/nm-vpn-manager.h
781                 - Add a 'connection-activated' signal
782                 - (nm_vpn_manager_get_active_connections): new function; mainly for the
783                         policy to find out about active VPN connections
784
785 2008-10-10  Tambet Ingo  <tambet@gmail.com>
786
787         * src/nm-logging.c (nm_logging_setup): Don't use LOG_CONS when running as
788         a daemon to prevent NM logging spew on console on startup and shutdown (due
789         to dependency loop between NM and syslog).
790
791 2008-10-10  Alexander Sack  <asac@ubuntu.com>
792
793         Implement managed mode. We bind devices configured in /etc/network/interfaces
794         to their connections by updating wired/wireless setting with the
795         mac address of the device.
796
797         * system-settings/plugins/ifupdown/plugin.c
798                 - (get_net_address_for_udi): implement function to retrieve MAC
799                         address of udi from hal in GByteArray format
800                 - (bind_device_to_connection): bind mac address of device to
801                         wired/wireless system connection
802                 - (hal_device_added_cb): call bind_device_to_connection for
803                         system connections with a matching interface.name
804                 - (hal_device_added_cb): ensure that all code paths
805                         properly free the "iface" string.
806
807 2008-10-10  Alexander Sack  <asac@ubuntu.com>
808
809         Parse nm-system-settings.conf and allow admins to either use managed and unmanaged
810         mode of the ifupdown system config plugin.
811
812         * system-settings/plugins/ifupdown/plugin.c
813                 - (SCPluginIfupdown_init): parse nm-system-settings.conf keyfile and set
814                         private unmanage_well_known state field accordingly
815
816 2008-10-10  Alexander Sack  <asac@ubuntu.com>
817
818         Implement unmanaged mode that will prevent all devices in the
819         well_known_udis set from being touched by NetworkManager
820
821         * system-settings/plugins/ifupdown/plugin.c
822                 - (typedef struct SCPluginIfupdownPrivate): add gboolean
823                         unmanage_well_known field used to turn on/off unmanaged
824                         mode
825                 - (hal_device_added_cb,hal_device_remove_cb): emit |unmanaged-devices-changed|
826                         signal when well_known_udis get added/removed
827                 - (SCPluginIfupdown_get_unmanaged_devices): return all well_known_udis
828                         if we are in unmanaged mode
829
830 2008-10-10  Alexander Sack  <asac@ubuntu.com>
831
832         Add support to track network devices that have a configuration
833         with a matching interface.name in /etc/network/interfaces
834
835         * system-settings/plugins/ifupdown/plugin.c
836                 - (typedef struct SCPluginIfupdownPrivate): add hash table
837                         to track |well_known_udis|
838                 - (get_iface_for_udi): helper function to get interface.name
839                         for a udi
840                 - (hal_device_added_cb, hal_device_removed_cb): callbacks
841                         that add and remove devices to and from the well_known_udis
842                         set depending on whether their |interface.name| matches
843                         any interface definition in /etc/network/interfaces
844                 - (SCPluginIfupdown_init): connect callbacks from above with
845                         hal_mgr and setup well_known_udis hashtable
846                 - (GObject__dispose): destroy well_known_udis hashtable
847                 - (hal_device_added_cb2): implement wrapper callback with GFunc
848                         signature. user_data is supposed to be a triple (hal_mgr,
849                         config and devtype)
850                 - (SCPluginIfupdown_init): bootstrap wired and wifi devices for
851                         startup and call hal_device_added_cb2
852
853 2008-10-10  Alexander Sack  <asac@ubuntu.com>
854
855         Remove implementation for not used NMSystemConfigInterface callback functions
856         in ifupdown plugin
857
858         * system-settings/plugins/ifupdown/plugin.c
859                 - (SCPluginIfupdown_unmanaged_devices_changed): removed
860                 - (SCPluginIfupdown_connection_added): removed
861
862 2008-10-08  Dan Williams  <dcbw@redhat.com>
863
864         Add a 'hostname' dispatcher action triggered on hostname changes (bgo #552983)
865
866         * src/NetworkManagerUtils.c
867                 - (nm_utils_call_dispatcher): add a 'hostname' action
868
869         * src/NetworkManagerPolicy.c
870                 - (set_system_hostname): dispatch hostname changes
871
872         * callouts/nm-dispatcher-action.c
873                 - (nm_dispatcher_action): handle 'hostname' actions
874
875 2008-10-08  Dan Williams  <dcbw@redhat.com>
876
877         * src/NetworkManagerSystem.c
878                 - (find_route): ref the route so it doesn't get destroyed when the cache
879                         is cleared
880                 - (nm_system_device_set_priority): unref the route here after it's done
881                         being used
882
883 2008-10-08  Dan Williams  <dcbw@redhat.com>
884
885         * src/nm-serial-device.c
886                 - Turn on serial debugging when NM_SERIAL_DEBUG is set in the environment
887
888 2008-10-08  Tambet Ingo  <tambet@gmail.com>
889
890         * system-settings/plugins/keyfile/nm-keyfile-connection.c (update): Update the
891         connection with new settings before saving it.
892
893 2008-10-06  Dan Williams  <dcbw@redhat.com>
894
895         * src/nm-ip4-config.c
896           src/nm-ip4-config.h
897                 - nm_ip4_config_is_exported -> nm_ip4_config_get_dbus_path
898
899         * src/nm-device-interface.c
900                 - (nm_device_interface_init): make 'ip4-config' a boxed property of type
901                         DBUS_TYPE_G_OBJECT_PATH so that we can make it NULL when we need to
902                         by using '/' for the object path
903
904         * src/nm-device.c
905                 - (src/nm-device.c): marshal missing/unexported ip4-config through
906                         dbus as '/' since dbus-glib can't handle NULL objects nor can
907                         dbus handle NULL object paths
908
909 2008-10-03  Alexander Sack  <asac@ubuntu.com>
910
911         Implement system hostname support for debian/ubuntu
912
913         * system-settings/plugins/ifupdown/plugin.c
914                 - (GObject__get_property): extend announced capabilities; add
915                         NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME support
916                 - (GObject__set_property,write_system_hostname): implement
917                         NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME capability.
918                 - (GObject__set_property, GObject__get_property, SCPluginIfupdown_init,
919                    update_system_hostname, get_hostname):
920                         implement hostname property that watches and
921                         parses /etc/hostname
922
923 2008-10-03  Alexander Sack  <asac@ubuntu.com>
924
925         * system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
926           system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
927           system-settings/plugins/ifcfg-fedora/Makefile.am
928           system-settings/src/nm-inotify-helper.c
929           system-settings/src/nm-inotify-helper.h
930           src/Makefile.am
931                 - Move ifcfg-fedora inotify helpers to the system settings service so
932                         they are available to all plugins
933
934 2008-10-03  Alexander Sack  <asac@ubuntu.com>
935
936         Implement support for wep-tx-keyidx in ifupdown system
937         config plugin.
938
939         * system-settings/plugins/ifupdown/parser.c
940                 - (update_wireless_security_setting_from_if_block): introduce
941                         free_type_mapping func table; rename a few local
942                         variables to improve readability; add wpa security mapping
943                         for wep-tx-keyidx property
944                 - (string_to_gpointerint): new function used for the auto_type_mapping
945                         of new wep-tx-keyidx property
946                 - (slist_free_all): free func used for mapped slist types
947
948 2008-10-03  Alexander Sack  <asac@ubuntu.com>
949
950         * system-settings/src/main.c:
951                 - (add_default_dhcp_connection, device_removed_cb): ensure the UDI is
952                         always used as the hash key; fixes a crash when removing wired
953                         devices
954
955 2008-10-02  Dan Williams  <dcbw@redhat.com>
956
957         * src/nm-gsm-device.c
958                 - (enter_pin_done, enter_pin, check_pin_done, real_act_stage1_prepare):
959                         pass the required GSM secret along via user_data rather than keeping
960                         it around in the private data where it sometimes didn't get cleared
961                 - (real_get_ppp_name): implement using the GSM username
962
963 2008-10-02  Dan Williams  <dcbw@redhat.com>
964
965         * src/ppp-manager/nm-ppp-manager.c
966           src/ppp-manager/nm-ppp-manager.h
967                 - (impl_ppp_manager_need_secrets): tries secrets twice before asking
968                         the settings daemon for completely new ones
969                 - (create_pppd_cmd_line): new parameter 'ppp_name' used to set the
970                         local PPP peer name; allow PPP debuging by launching NM with
971                         the environment variable NM_PPP_DEBUG defined
972                 - (nm_ppp_manager_start): new parameter 'ppp_name' passed to
973                         create_pppd_cmd_line()
974
975         * src/nm-serial-device.c
976           src/nm-serial-device.h
977                 - New 'get_ppp_name' function for subclasses to implement to return the
978                         local PPP peer name
979                 - (real_act_stage2_config): call 'get_ppp_name' function of subclasses
980                         and pass that name to the PPP manager
981
982         * src/nm-device-ethernet.c
983                 - (pppoe_stage2_config): pass the PPPoE username to the PPP manager as
984                         the local peer name
985
986         * src/nm-cdma-device.c
987                 - (real_get_ppp_name): implement using the CDMA username
988
989 2008-10-02  Dan Williams  <dcbw@redhat.com>
990
991         Patch from Alexander Sack <asac ubuntu com>
992
993         * system-settings/plugins/ifupdown/parser.c
994                 - Implement more graceful ip4 config parsing for cases where
995                   /etc/network/interfaces omits basic ip4 settings, such as gateway etc
996                   by using default values
997
998 2008-10-02  Dan Williams  <dcbw@redhat.com>
999
1000         * src/NetworkManagerPolicy.c
1001                 - (device_state_changed): when marking a connection invalid, clear its
1002                         secrets too so that fresh secrets get requested the next time
1003
1004 2008-10-01  Dan Williams  <dcbw@redhat.com>
1005
1006         * system-settings/src/dbus-settings.c
1007                 - (nm_sysconfig_settings_init): cache system hostname on startup as
1008                         a fallback if no plugin provides a hostname
1009                 - (get_property): fall back to cached hostname if no plugin provides
1010                         a hostname
1011
1012 2008-10-01  Dan Williams  <dcbw@redhat.com>
1013
1014         Fix setting value comparison issue that caused some settings to look the
1015         same when they were really different (rh #464417)
1016
1017         * libnm-util/nm-param-spec-specialized.c
1018                 - (type_is_fixed_size): return fundamental size of the fixed type too
1019                 - (nm_gvalues_compare_collection): use the fundamental fixed type size
1020                         in the comparison so that the _entire_ fixed type collection gets
1021                         compared rather than just the first 'len1' bytes
1022
1023 2008-09-30  Dan Williams  <dcbw@redhat.com>
1024
1025         * src/NetworkManagerPolicy.c
1026                 - (lookup_thread_worker): don't store the idle handler ID becuase the
1027                         idle handler could have already run and freed the LookupThread
1028                         structure
1029
1030 2008-09-30  Tambet Ingo  <tambet@gmail.com>
1031
1032         * src/nm-device.c (nm_device_get_priority): Implement.
1033         (nm_device_set_ip4_config): Send the device priority to system ip4 
1034         config setter.
1035
1036         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config):
1037         Add priority argument and if it's >= 0, set the priority of the network
1038         route added automatically by netlink (or kernel?).
1039         (nm_system_device_set_priority): Implement.
1040
1041         * src/NetworkManagerPolicy.c (get_best_device): Use 
1042         nm_device_get_priority() instead of home-grown version. Revert the
1043         meaning, best priority is the lowest one.
1044
1045 2008-09-29  Dan Williams  <dcbw@redhat.com>
1046
1047         Handle ipw3945 suspend/resume by retrying the GIWRANGE request a few times
1048         when it returns EAGAIN (rh #362421)
1049
1050         * src/nm-device-wifi.c
1051                 - (wireless_get_range): try GIWRANGE a few times until the card responds
1052                 - (real_get_generic_capabilities, constructor): use wireless_get_range()
1053
1054 2008-09-28  Dan Williams  <dcbw@redhat.com>
1055
1056         * src/nm-serial-device.c
1057           src/nm-serial-device.h
1058                 - (nm_serial_device_close): stop PPP manager here so that PPP gets
1059                         cleaned at the right times when subclasses close the serial port too
1060                 - (nm_serial_device_send_command): use a default send delay; don't
1061                         spin forever on EAGAIN
1062                 - (get_reply_done, get_reply_got_data, nm_serial_device_get_reply):
1063                         remove, no longer used
1064                 - (find_response): return the matched response if any
1065                 - (nm_serial_device_wait_reply_blocking): wait for a reply but block
1066                         while doing so
1067                 - (wait_for_reply_done): pass the matched response to the callback
1068                 - (wait_for_reply_got_data): save the matched response; simplify timeout
1069                         handling
1070                 - (nm_serial_device_wait_for_reply): make 'responses' and 'terminators'
1071                         const since they never get modified
1072                 - (cleanup_device): split out common cleanup stuff to a new function
1073                 - (real_deactivate_quickly, finalize): use cleanup_device()
1074
1075         * src/nm-gsm-device.c
1076                 - (modem_get_reply): remove, unused
1077                 - (set_apn): give the card a bit more time to respond
1078                 - (manual_registration_again, schedule_manual_registration_again,
1079                    manual_registration_response, manual_registration): handle manual
1080                         registration timeouts better by retrying registration a few times
1081                         because cards are a bit slow after CFUN=1
1082                 - (automatic_registration_get_network, get_network_response): use
1083                         modem_wait_for_reply() because it interacts better with the serial
1084                         buffer and does more intelligent matching; need to wait for 'OK'
1085                         rather than just matching terminators
1086                 - (schedule_automatic_registration_again,
1087                    automatic_registration_response, automatic_registration): retry
1088                         registration a few times on timeout or "searching" because cards
1089                         take a bit to find a network after being powered up with CFUN=1
1090                 - (power_up_response, power_up, init_full_done, enter_pin,
1091                    check_pin_done): power up the card with CFUN=1 before trying to
1092                         register with the network
1093                 - (init_modem_full, init_modem): use more standard 3G init strings
1094
1095         * src/nm-hso-gsm-device.c
1096                 - (modem_get_reply): remove, unused
1097                 - (hso_ip4_config_response, real_act_stage3_ip_config_start): use
1098                         modem_wait_for_reply() to match actual responses instead of single
1099                         termination characters; it doesn't leave stuff in the serial buffer
1100                         that might confuse later calls
1101                 - (real_deactivate_quickly): use nm_serial_device_wait_reply_blocking()
1102                         to ensure that the call is really disconnected and not leave extra
1103                         stuff in the serial buffer
1104
1105         * src/nm-cdma-device.c
1106                 - (power_up_response, power_up, init_done): try Sierra-style modem
1107                         power up before attempting to connect
1108
1109 2008-09-27  Dan Williams  <dcbw@redhat.com>
1110
1111         * libnm-util/nm-setting-gsm.c
1112                 - (verify): verify GSM network ID
1113
1114 2008-09-25  Dan Williams  <dcbw@redhat.com>
1115
1116         * libnm-util/nm-setting-gsm.c
1117           libnm-util/nm-setting-gsm.h
1118                 - Fix up NM_GSM_NETWORK_* constants to accurately reflect the network
1119                         technology terms (bgo #551361)
1120
1121 2008-09-25  Dan Williams  <dcbw@redhat.com>
1122
1123         Fix bgo #549401 (inspired by patch from Alexander Sack)
1124
1125         * src/nm-device-ethernet.c
1126                 - (finish_supplicant_task): clean up scheduled tasks and free memory
1127                 - (remove_supplicant_interface_error_handler): remove the supplicant
1128                         error idle callback too
1129                 - (supplicant_interface_release): rename from supplicant_interface_clean
1130                         to match nm-device-wifi.c; clean up supplicant interface-related
1131                         state tasks when the supplicant interface is disposed of
1132                 - (schedule_state_handler): add scheduled tasks to a list so they can
1133                         be cleaned up later
1134                 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
1135                    supplicant_iface_connection_state_cb_handler): use
1136                         finish_supplicant_task() to clean up each completed task
1137                 - (supplicant_iface_connection_error_cb_handler,
1138                    supplicant_connection_timeout_cb): clear source id when the task is
1139                         complete
1140                 - (supplicant_iface_connection_error_cb): save scheduled task id for
1141                         later cleanup
1142                 - (nm_device_ethernet_dispose): clean up any pending supplicant state
1143                         tasks
1144
1145         * src/nm-device-wifi.c
1146                 - (finish_supplicant_task): clean up scheduled tasks and free memory
1147                 - (remove_supplicant_interface_error_handler): remove the supplicant
1148                         error idle callback too
1149                 - (supplicant_interface_release): clean up supplicant interface-related
1150                         state tasks when the supplicant interface is disposed of
1151                 - (schedule_state_handler): add scheduled tasks to a list so they can
1152                         be cleaned up later
1153                 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
1154                    supplicant_iface_connection_state_cb_handler): use
1155                         finish_supplicant_task() to clean up each completed task
1156                 - (supplicant_iface_connection_error_cb_handler): clear source id when
1157                         the task is complete
1158                 - (supplicant_iface_connection_error_cb): save scheduled task id for
1159                         later cleanup
1160                 - (nm_device_wifi_dispose): clean up any pending supplicant state tasks
1161
1162 2008-09-24  Tambet Ingo  <tambet@gmail.com>
1163
1164         * system-settings/plugins/keyfile/plugin.c: Implement unmanaged_devices
1165         method and get/set hostname property.
1166
1167 2008-09-24  Tambet Ingo  <tambet@gmail.com>
1168
1169         * src/supplicant-manager/nm-supplicant-interface.c
1170         (nm_supplicant_interface_disconnect): Don't increment the reference 
1171         count when disconnecting. The problem is on shutdown, when the replies
1172         to these commands do not arrive before NM exits, resulting on never
1173         calling supplicant interface's dispose(), which removes the interface
1174         from supplicant.
1175
1176 2008-09-24  Tambet Ingo  <tambet@gmail.com>
1177
1178         * libnm-glib/nm-vpn-plugin-ui-interface.c: Add type checking to
1179         all the public function arguments.
1180
1181 2008-09-22  Tambet Ingo  <tambet@gmail.com>
1182
1183         * src/vpn-manager/nm-vpn-connection.c: Add a signal handler for the
1184         "Failure" signal from VPN plugins, store the failure reason, and
1185         use it when the state is changed to failure.
1186
1187         * introspection/nm-vpn-plugin.xml: Fix the "Failure" signal's type
1188         description.
1189
1190         * include/NetworkManagerVPN.h (NMVPNConnectionStateReason): Add a new
1191         reason to the end of the list to not break the API.
1192         (NMVPNPluginFailure): Move it here (from libnm-glib/nm-vpn-plugin.h)
1193         so it can be shared by plugins and daemon.
1194
1195 2008-09-18  Dan Williams  <dcbw@redhat.com>
1196
1197         Patch from Alexander Sack <asac@ubuntu.com>
1198
1199         * configure.in
1200           system-settings/plugins/Makefile.am
1201           system-settings/plugins/ifupdown/Makefile.am
1202           system-settings/plugins/ifupdown/interface_parser.c
1203           system-settings/plugins/ifupdown/interface_parser.h
1204           system-settings/plugins/ifupdown/nm-ifupdown-connection.c
1205           system-settings/plugins/ifupdown/nm-ifupdown-connection.h
1206           system-settings/plugins/ifupdown/parser.c
1207           system-settings/plugins/ifupdown/parser.h
1208           system-settings/plugins/ifupdown/plugin.c
1209           system-settings/plugins/ifupdown/plugin.h
1210                 - Implement a Debian/Ubuntu legacy network configuration plugin
1211                         (gnome.org #551941)
1212
1213 2008-09-18  Dan Williams  <dcbw@redhat.com>
1214
1215         Implement support for honoring configured and automatic hostnames, and for
1216         setting the configured hostname.
1217
1218         * introspection/nm-ip4-config.xml
1219           src/nm-ip4-config.c
1220           src/nm-ip4-config.h
1221           src/dhcp-manager/nm-dhcp-manager.c
1222                 - Remove useless hostname property; it's not really part of the IPv4
1223                         config
1224
1225         * introspection/nm-settings-system.xml
1226           libnm-glib/nm-dbus-settings-system.c
1227           libnm-glib/nm-dbus-settings-system.h
1228                 - Add SetHostname() call to system settings D-Bus interface
1229                 - Add Hostname property to system settings D-Bus interface
1230                 - (nm_dbus_settings_system_save_hostname,
1231                    nm_dbus_settings_system_get_hostname): implement
1232
1233         * src/nm-device.c
1234           src/nm-device.h
1235                 - (nm_device_get_dhcp4_config): implement
1236
1237         * src/nm-manager.c
1238           src/nm-manager.h
1239                 - Fetch and track system settings service hostname changes, and proxy
1240                         the changes via a GObject property of the manager
1241
1242         * system-settings/src/nm-system-config-interface.c
1243           system-settings/src/nm-system-config-interface.h
1244                 - Replace nm_system_config_interface_supports_add() with a capabilities
1245                         bitfield
1246
1247         * system-settings/src/nm-system-config-error.c
1248           system-settings/src/nm-system-config-error.h
1249                 - Add additional errors
1250
1251         * system-settings/src/dbus-settings.c
1252           system-settings/src/dbus-settings.h
1253                 - (get_property, nm_sysconfig_settings_class_init): add hostname
1254                         property; first plugin returning a hostname wins
1255                 - (impl_settings_add_connection): use plugin capabilities instead of
1256                         nm_system_config_interface_supports_add()
1257                 - (impl_settings_save_hostname): implement hostname saving
1258
1259         * src/NetworkManagerPolicy.c
1260                 - (lookup_thread_run_cb, lookup_thread_worker, lookup_thread_new,
1261                    lookup_thread_die): implement an asynchronous hostname lookup thread
1262                         which given an IPv4 address tries to look up the hostname for that
1263                         address with reverse DNS
1264                 - (get_best_device): split out best device code from
1265                         update_routing_and_dns()
1266                 - (update_etc_hosts): update /etc/hosts with the machine's new hostname
1267                         to preserve the 127.0.0.1 reverse mapping that so many things require
1268                 - (set_system_hostname): set a given hostname
1269                 - (update_system_hostname): implement hostname policy; a configured
1270                         hostname (from the system settings service) is used if available,
1271                         otherwise an automatically determined hostname from DHCP, VPN, etc.
1272                         If there was no automatically determined hostname, reverse DNS of
1273                         the best device's IP address will be used, and as a last resort the
1274                         hostname 'localhost.localdomain' is set.
1275                 - (update_routing_and_dns): use get_best_device(); update the system
1276                         hostname when the network config changes
1277                 - (hostname_changed): update system hostname if the system settings
1278                         service signals a hostname change
1279                 - (nm_policy_new): list for system settings service hostname changes
1280                 - (nm_policy_destroy): ensure that an in-progress hostname lookup thread
1281                         gets told to die
1282
1283         * system-settings/plugins/keyfile/plugin.c
1284           system-settings/plugins/ifcfg-suse/plugin.c
1285                 - (get_property, sc_plugin_ifcfg_class_init): implement hostname and
1286                         capabilities properties
1287
1288         * system-settings/plugins/ifcfg-fedora/shvar.c
1289                 - (svOpenFile): re-enable R/W access of ifcfg files since the plugin
1290                         writes out /etc/sysconfig/network now
1291
1292         * system-settings/plugins/ifcfg-fedora/plugin.c
1293                 - (plugin_get_hostname): get hostname from /etc/sysconfig/network
1294                 - (plugin_set_hostname): save hostname to /etc/sysconfig/network
1295                 - (sc_network_changed_cb): handle changes to /etc/sysconfig/network
1296                 - (sc_plugin_ifcfg_init): monitor /etc/sysconfig/network for changes
1297                 - (get_property, set_property, sc_plugin_ifcfg_class_init): implement
1298                         hostname get/set and capabilities get
1299
1300 2008-09-18  Dan Williams  <dcbw@redhat.com>
1301
1302         * libnm-util/nm-setting-wireless.c
1303                 - (nm_setting_wireless_ap_security_compatible): only verify pairwise and
1304                         group ciphers if the wireless-security setting explicitly specified
1305                         them, effectively making the default be "all ciphers"  (idea from
1306                         Alexander Sack)
1307
1308 2008-09-15  Dan Williams  <dcbw@redhat.com>
1309
1310         Patch from Alexander Sack <asac@ubuntu.com>
1311
1312         * src/named-manager/nm-named-manager.c
1313                 - (dispatch_resolvconf): respect resolvconf exit code
1314
1315 2008-09-12  Tambet Ingo  <tambet@gmail.com>
1316
1317         * src/named-manager/nm-named-manager.c (dispatch_netconfig): Make it compile
1318         again. Add some debugging.
1319
1320 2008-09-11  Dan Williams  <dcbw@redhat.com>
1321
1322         * system-settings/plugins/keyfile/plugin.c
1323                 - (update_connection_settings): update connection manually, since
1324                         nm_exported_connection_update() does authentication
1325                 - (dir_changed): update_connection_settings() doesn't need to return
1326                         an error
1327
1328 2008-09-09  Dan Williams  <dcbw@redhat.com>
1329
1330         * libnm-glib/nm-vpn-plugin-ui-interface.c
1331           libnm-glib/nm-vpn-plugin-ui-interface.h
1332           libnm-glib/libnm_glib_vpn.ver
1333                 - (nm_vpn_plugin_ui_interface_delete_connection): called when the plugin
1334                         should clean up resources related to the connection (like keyring
1335                         secrets)
1336                 - (nm_vpn_plugin_ui_widget_interface_save_secrets): called when the plugin
1337                         should save user-scope secrets (like to the keyring)
1338
1339 2008-09-08  Dan Williams  <dcbw@redhat.com>
1340
1341         Patch from Alexander Sack <asac@ubuntu.com>
1342
1343         * libnm-util/crypto_gnutls.c
1344           libnm-util/crypto_nss.c
1345                 - (crypto_init, crypto_deinit): just use a boolean instead of a refcount
1346
1347         * libnm-util/nm-utils.c
1348           libnm-util/nm-utils.h
1349           libnm-util/libnm-util.ver
1350                 - (nm_utils_init): initialize libnm-util
1351                 - (nm_utils_deinit): de-initialize libnm-util and clean up resources
1352
1353         * libnm-util/nm-setting-8021x.c
1354                 - (nm_setting_802_1x_class_init): init libnm-util when needed
1355
1356 2008-09-05  Dan Williams  <dcbw@redhat.com>
1357
1358         Patch from Roy Marples <roy@marples.name> and others
1359
1360         * configure.in
1361           src/named-manager/nm-named-manager.c
1362                 - Add support for resolvconf; use --with-resolvconf at configure time
1363                         to enable it
1364
1365 2008-09-05  Dan Williams  <dcbw@redhat.com>
1366
1367         * libnm-util/crypto_nss.c
1368           libnm-util/crypto_gnutls.c
1369           libnm-util/crypto.h
1370                 - (crypto_init): return error when init fails
1371
1372 2008-09-05  Dan Williams  <dcbw@redhat.com>
1373
1374         * libnm-glib/nm-device-wifi.c
1375                 - (access_point_removed_proxy): clean up the active access point too
1376                         just in case the active ap changed signal didn't come through yet
1377                 - (clean_up_aps): be sure to set priv->active_ap to NULL when cleaning up
1378
1379 2008-09-05  Dan Williams  <dcbw@redhat.com>
1380
1381         * libnm-glib/nm-client.c
1382                 - (constructor): get initial state after we know whether NM is running
1383                         or not
1384
1385 2008-09-05  Dan Williams  <dcbw@redhat.com>
1386
1387         * libnm-glib/nm-ip4-config.c
1388           libnm-glib/nm-dhcp4-config.c
1389                 - (finalize): clean up the DBusGProxy
1390
1391 2008-09-04  Dan Williams  <dcbw@redhat.com>
1392
1393         * src/nm-ip4-config.c
1394           src/nm-ip4-config.h
1395                 - (nm_ip4_config_new): don't export over D-Bus here
1396                 - (nm_ip4_config_export): new function; export the config over D-Bus
1397                 - (nm_ip4_config_is_exported): new function
1398
1399         * src/nm-device.c
1400                 - (nm_device_activate_stage5_ip_config_commit): fix leak of IP4Config
1401                         objects by balancing the IP4Config constructor; the device holds
1402                         a reference to the IP4Config already
1403                 - (nm_device_set_ip4_config): export the IP4Config when needed
1404
1405 2008-09-04  Dan Williams  <dcbw@redhat.com>
1406
1407         * src/supplicant-manager/nm-supplicant-settings-verify.c
1408                 - Allow WPA-NONE key management for Ad-Hoc WPA connections
1409
1410 2008-09-04  Dan Williams  <dcbw@redhat.com>
1411
1412         * libnm-util/nm-setting-vpn.c
1413           libnm-util/nm-setting-vpn.h
1414                 - Split VPN secrets from VPN data so that settings services can actually
1415                         figure out that they are secrets and store them accordingly
1416
1417         * system-settings/plugins/keyfile/nm-keyfile-connection.c
1418           system-settings/plugins/keyfile/reader.c
1419           system-settings/plugins/keyfile/reader.h
1420           system-settings/plugins/keyfile/writer.c
1421                 - Store VPN secrets separately from VPN data so that they can be fetched
1422                         on demand
1423                 - Implement the get_secrets() call so that (a) secrets don't leak out
1424                         to unprivileged callers, and (b) secrets can be sent to privileged
1425                         callers when needed
1426
1427         * vpn-daemons/vpnc/src/nm-vpnc-service.c
1428                 - Handle split VPN secrets
1429
1430 2008-08-27  Dan Williams  <dcbw@redhat.com>
1431
1432         * system-settings/plugins/ifcfg-fedora/reader.c
1433                 - (make_ip4_setting): use DOMAIN not SEARCH (rh #459370)
1434
1435 2008-08-27  Dan Williams  <dcbw@redhat.com>
1436
1437         Ensure zombie children get cleaned up.  To get notifications when children
1438         die abnormally, g_spawn_async() requires G_SPAWN_DO_NOT_REAP_CHILD, but
1439         that requires calling waitpid() yourself if you've removed the child watch
1440         handler before the process has actually died, which NM needs to do in a few
1441         places.  So ensure that everything uses G_SPAWN_DO_NOT_REAP_CHILD and also
1442         cleans up after the child when required.  Should fix problems trying to
1443         activate mobile broadband connections after a previous failure.
1444
1445         * src/dhcp-manager/nm-dhcp-dhclient.c
1446           src/dhcp-manager/nm-dhcp-dhcpcd.c
1447                 - Use G_SPAWN_DO_NOT_REAP_CHILD
1448
1449         * src/dhcp-manager/nm-dhcp-manager.c
1450                 - (nm_dhcp_device_destroy): ensure child is cleaned up
1451                 - (nm_dhcp_client_stop, nm_dhcp_manager_cancel_transaction_real): always
1452                         block on child quitting, since the non-blocking functionality was
1453                         never actually used
1454
1455         * src/dnsmasq-manager/nm-dnsmasq-manager.c
1456                 - (dm_watch_cb): child is already reaped here
1457                 - (ensure_killed, nm_dnsmasq_manager_stop): block until child is dead
1458
1459         * src/nm-device.c
1460                 - (aipd_cleanup): block until child is dead
1461
1462         * src/named-manager/nm-named-manager.c
1463                 - (run_netconfig): don't use G_SPAWN_DO_NOT_REAP_CHILD if we aren't
1464                         event bothering to watch the child
1465
1466         * src/ppp-manager/nm-ppp-manager.c
1467                 - (ppp_watch_cb): child is already reaped here
1468                 - (ensure_killed, nm_ppp_manager_stop): block until child is dead
1469
1470         * src/vpn-manager/nm-vpn-service.c
1471                 - (vpn_service_watch_cb): child is already reaped here
1472                 - (nm_vpn_service_daemon_exec): use G_SPAWN_DO_NOT_REAP_CHILD so that
1473                         status of the child is actually tracked
1474                 - (ensure_killed, finalize): block until child is dead
1475
1476 2008-08-26  Dan Williams  <dcbw@redhat.com>
1477
1478         * system-settings/plugins/keyfile/nm-keyfile-connection.c
1479                 - (update): Update filename of the connection if the connection id
1480                         was changed
1481
1482         * system-settings/plugins/keyfile/plugin.c
1483                 - (dir_changed): first pass at handling connection renames correctly
1484
1485         * system-settings/plugins/keyfile/writer.c
1486           system-settings/plugins/keyfile/writer.h
1487                 - (write_connection): replace '/' with '*' when writing out the filename
1488                         from the connection id
1489
1490 2008-08-26  Dan Williams  <dcbw@redhat.com>
1491
1492         Add connection UUIDs, since connection names can be changed, and since
1493         old-style connection IDs could change over the life of the connection.  The
1494         UUID should be assigned at connection creation time, be stable for a given
1495         connection, and should be unique among all connections for a given settings
1496         service.
1497
1498         * configure.in
1499           libnm-util/Makefile.am
1500                 - Require libuuid
1501
1502         * introspection/nm-exported-connection.xml
1503                 - Remove "GetID" method
1504
1505         * libnm-glib/nm-dbus-connection.c
1506           libnm-glib/nm-settings.c
1507           libnm-glib/nm-settings.h
1508                 - Remove id-related stuff
1509
1510         * libnm-util/nm-utils.c
1511           libnm-util/nm-utils.h
1512           libnm-util/libnm-util.ver
1513                 - (nm_utils_uuid_generate, nm_utils_uuid_generate_from_string): Add
1514                         utility functions to generate UUIDs
1515
1516         * libnm-util/nm-setting-connection.c
1517           libnm-util/nm-setting-connection.h
1518                 - Add 'uuid' member to the connection setting
1519                 - (verify): require valid 'uuid' for a valid connection
1520
1521         * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
1522           system-settings/plugins/ifcfg-fedora/reader.c
1523           system-settings/plugins/ifcfg-suse/nm-suse-connection.c
1524           system-settings/plugins/ifcfg-suse/parser.c
1525           system-settings/plugins/keyfile/nm-keyfile-connection.c
1526           system-settings/src/main.c
1527                 - Remove id-related stuff
1528                 - Give connections UUIDs where needed
1529
1530 2008-08-25  Dan Williams  <dcbw@redhat.com>
1531
1532         * libnm-util/crypto_gnutls.c
1533           libnm-util/crypto_nss.c
1534                 - (crypto_init, crypto_deinit): refcount init/deinit
1535                 - (crypto_md5_hash): allow NULL salt
1536
1537 2008-08-22  Michael Biebl  <mbiebl@gmail.com>
1538
1539         * libnm-glib/Makefile.am
1540           libnm-util/Makefile.am
1541           libnm-glib/libnm_glib.ver
1542           libnm-glib/libnm_glib_vpn.ver
1543           libnm-util/libnm-util.ver
1544                 - Use linker version scripts to control the list of exported 
1545                 symbols. List each exported symbol explicitely.
1546         * libnm-util/Makefile.am
1547                 - Fix compilation of the test-crypto binary. The crypto
1548                 functions are no longer part of the libnm-util API. Add 
1549                 crypto_*.c to test_crypto_SOURCES and link against the correct
1550                 crypto libraries.
1551
1552 2008-08-19  Dan Williams  <dcbw@redhat.com>
1553
1554         * configure.in
1555           test/Makefile.am
1556                 - Don't build test/test-common
1557                 - Remove unused stuff
1558
1559         * test/nm-set-fallback
1560           test/nmtestdevices.c
1561           test/test-common/.cvsignore
1562           test/test-common/Makefile.am
1563           test/test-common/test-common.c
1564           test/test-common/test-common.h
1565                 - delete
1566
1567 2008-08-18  Dan Williams  <dcbw@redhat.com>
1568
1569         * libnm-util/nm-utils.c
1570           libnm-util/nm-utils.h
1571                 - (nm_utils_garray_to_string): remove; NM was the only user and doesn't
1572                         export anything that needs to be converted with this function
1573
1574         * src/dhcp-manager/nm-dhcp-manager.c
1575                 - (garray_to_string): convert a byte array to a UTF-8 string with
1576                         minimal validation; the DHCP client sends it in ASCII anyway
1577                 - (get_option, copy_option): use garray_to_string()
1578
1579 2008-08-18  Dan Williams  <dcbw@redhat.com>
1580
1581         * include/NetworkManager.h
1582           introspection/nm-device.xml
1583                 - Add a "missing firmware" device state reason
1584
1585         * src/NetworkManagerSystem.c
1586           src/NetworkManagerSystem.h
1587                 - (nm_system_device_set_up_down): add a no_firmware argument
1588                 - (nm_system_device_set_up_down_with_iface): if the result of setting
1589                         IFF_UP is ENOENT, that almost always means missing firmware
1590
1591         * src/backends/NetworkManagerGeneric.c
1592           src/nm-device-ethernet.c
1593           src/nm-device-private.h
1594           src/nm-device-wifi.c
1595           src/nm-device.c
1596           src/nm-device.h
1597           src/nm-hso-gsm-device.c
1598           src/vpn-manager/nm-vpn-connection.c
1599                 - Pass no_firmware along; check it where appropriate
1600
1601 2008-08-18  Dan Williams  <dcbw@redhat.com>
1602
1603         Patch from Robert Buchholz <rbu@gentoo.org>
1604
1605         * autogen.sh
1606           configure.in
1607                 - Change to automake 1.9 and 'ustar' tar format defined by POSIX
1608                         1003.1-1988, allowing for file names longer than 99 characters
1609
1610 2008-08-17  Dan Williams  <dcbw@redhat.com>
1611
1612         * include/NetworkManager.h
1613           introspection/nm-device.xml
1614           src/nm-gsm-device.c
1615                 - Finer-grained GSM registration failure error codes
1616
1617 2008-08-17  Dan Williams  <dcbw@redhat.com>
1618
1619         * callouts/Makefile.am
1620           src/Makefile.am
1621                 - Move dispatcher directory creation to callouts/Makefile.am
1622
1623         * system-settings/plugins/keyfile/Makefile.am
1624                 - Create keyfile connections directory in DESTDIR (bgo #546833)
1625
1626 2008-08-15  Dan Williams  <dcbw@redhat.com>
1627
1628         Do connection sharing in a cleaner manner; all required iptables rules
1629         are now stored in the activation request and pertain only to the device
1630         which is being shared to other computers. (rh #458625)
1631
1632         * src/nm-activation-request.c
1633           src/nm-activation-request.h
1634                 - (nm_act_request_add_share_rule): new function; add a sharing rule to
1635                         the activation request which will get torn down automatically when
1636                         the activation request dies
1637                 - (nm_act_request_set_shared): push sharing rules to iptables when sharing
1638                         is started, and tear them down when sharing is stopped
1639
1640         * src/nm-device.c
1641                 - (start_sharing): start up sharing by doing the required iptables magic
1642                 - (share_init): poke the right bits of the kernel and load the right
1643                         modules for NAT
1644                 - (nm_device_activate_stage5_ip_config_commit): start NAT-ing this
1645                         connection if it's a 'shared' connection
1646
1647         * src/NetworkManagerPolicy.c
1648                 - Remove all sharing stuff; done in the device code itself
1649
1650 2008-08-15  Dan Williams  <dcbw@redhat.com>
1651
1652         * src/dnsmasq-manager/nm-dnsmasq-manager.c
1653                 - (create_dm_cmd_line): send the right router address
1654
1655 2008-08-15  Dan Williams  <dcbw@redhat.com>
1656
1657         * src/ppp-manager/nm-ppp-manager.c
1658                 - (pppd_timed_out): ensure timeouts fail the connection
1659
1660 2008-08-14  Dan Williams  <dcbw@redhat.com>
1661
1662         * src/nm-properties-changed-signal.c
1663           src/nm-properties-changed-signal.h
1664                 - Add a property spec flag for "don't export this property" in
1665                         property changed signals
1666
1667         * src/nm-hso-gsm-device.c
1668           src/nm-gsm-device.c
1669           src/nm-cdma-device.c
1670                 - Don't export monitor interface or netdev interface properties
1671
1672 2008-08-14  Dan Williams  <dcbw@redhat.com>
1673
1674         * src/NetworkManagerPolicy.c
1675                 - (update_routing_and_dns): 'hso' devices can be default even if they
1676                         don't have a gateway
1677
1678 2008-08-14  Dan Williams  <dcbw@redhat.com>
1679
1680         * src/nm-device.c
1681                 - (nm_device_deactivate_quickly): tear down activation request after
1682                         calling device-specific deactivation
1683
1684         * src/nm-hso-gsm-device.c
1685                 - (real_deactivate_quickly): terminate connection when deactivating
1686
1687 2008-08-14  Dan Williams  <dcbw@redhat.com>
1688
1689         * src/nm-activation-request.h
1690                 - Add HSO secrets caller
1691
1692         * src/nm-gsm-device.c
1693           src/nm-gsm-device.h
1694                 - (modem_wait_for_reply): add a 'user_data' argument so callers can pass
1695                         something to the callback function
1696                 - (set_apn, set_apn_done): call class dial function, not a static one
1697                 - (nm_gsm_device_class_init): add a class 'dial' function
1698
1699         * src/nm-hal-manager.c
1700                 - (get_hso_netdev): find the hso-driven hardware's net device
1701                 - (modem_device_creator): recognize hso-driven hardware and create the
1702                         right type of device object for it
1703
1704         * src/Makefile.am
1705           src/nm-hso-gsm-device.c
1706           src/nm-hso-gsm-device.h
1707                 - Implement support for devices driven by the 'hso' driver as a subclass
1708                         of NMGsmDevice
1709
1710 2008-08-14  Dan Williams  <dcbw@redhat.com>
1711
1712         * src/NetworkManagerSystem.c
1713                 - (nm_system_device_is_up_with_iface): ensure ifreq is cleared before using
1714                 - (nm_system_device_set_up_down_with_iface): cleanups; only return
1715                         success if the operation really was successful
1716
1717 2008-08-14  Dan Williams  <dcbw@redhat.com>
1718
1719         * src/nm-netlink-monitor.c
1720           src/nm-netlink-monitor.h
1721           src/nm-device-ethernet.c
1722                 - (nm_netlink_monitor_request_status): return an error on failure
1723                 - (constructor): don't segfault on missing error
1724
1725 2008-08-13  Dan Williams  <dcbw@redhat.com>
1726
1727         * callouts/nm-dispatcher-action.c
1728                 - Add IP4 config info to script environment
1729
1730 2008-08-12  Dan Williams  <dcbw@redhat.com>
1731
1732         * src/nm-device.c
1733                 - (nm_device_set_ip4_config): don't touch hostnames here; distros
1734                         that want to use DHCP hostnames should use dispatcher scripts
1735                         for that
1736
1737         * src/NetworkManagerSystem.h
1738           src/backends/NetworkManagerArch.c
1739           src/backends/NetworkManagerDebian.c
1740           src/backends/NetworkManagerFrugalware.c
1741           src/backends/NetworkManagerGeneric.c
1742           src/backends/NetworkManagerGeneric.h
1743           src/backends/NetworkManagerGentoo.c
1744           src/backends/NetworkManagerMandriva.c
1745           src/backends/NetworkManagerPaldo.c
1746           src/backends/NetworkManagerRedHat.c
1747           src/backends/NetworkManagerSlackware.c
1748           src/backends/NetworkManagerSuSE.c
1749                 - Remove nm_system_set_hostname(), no longer used
1750           
1751         * src/backends/Makefile.am
1752           src/backends/shvar.c
1753           src/backends/shvar.h
1754                 - Remove shvar.*; no longer used
1755
1756 2008-08-12  Dan Williams  <dcbw@redhat.com>
1757
1758         Revert most of the 'hostname' patch.  Too much stuff still breaks when
1759         hostname is updated at runtime.  Distros or users who want hostname updates
1760         can use dispatcher scripts to update the hostname if they need it.
1761
1762 2008-08-12  Dan Williams  <dcbw@redhat.com>
1763
1764         * introspection/nm-settings-system.xml
1765           system-settings/src/dbus-settings.c
1766           system-settings/src/dbus-settings.h
1767                 - Add a 'Hostname' property (rw) which represents the configured
1768                         hostname and domain of the system, if any
1769
1770         * system-settings/src/nm-system-config-error.c
1771           system-settings/src/nm-system-config-error.h
1772           system-settings/src/nm-system-config-interface.c
1773           system-settings/src/nm-system-config-interface.h
1774                 - Add a 'hostname' property to the plugin interface
1775                 - Add a method to send updated hostname to plugins to save in their
1776                         backing configuration store
1777
1778         * system-settings/plugins/keyfile/nm-keyfile-connection.c
1779           system-settings/plugins/keyfile/plugin.c
1780           system-settings/plugins/keyfile/writer.c
1781           system-settings/plugins/keyfile/writer.h
1782           system-settings/plugins/ifcfg-suse/plugin.c
1783                 - Add minimal hostname support
1784
1785         * system-settings/plugins/ifcfg-fedora/plugin.c
1786                 - Add support for updating system hostname in /etc/sysconfig/network
1787
1788 2008-08-12  Dan Williams  <dcbw@redhat.com>
1789
1790         * system-settings/plugins/ifcfg-fedora/shvar.c
1791           system-settings/plugins/ifcfg-fedora/shvar.c
1792                 - Fix double-free caused by svSetValue() followed by svCloseFile()
1793
1794 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1795
1796         * Makefile.am: Fix distcheck.
1797
1798 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1799
1800         * libnm-glib/*.c. Document some more.
1801
1802 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1803
1804         Start documenting libnm-glib public API using gtk-doc.
1805
1806         * libnm-glib/nm-serial-device.c: 
1807         * libnm-glib/nm-object.c: 
1808         * libnm-glib/nm-gsm-device.c: 
1809         * libnm-glib/nm-device.c: 
1810         * libnm-glib/nm-device-wifi.c: 
1811         * libnm-glib/nm-device-ethernet.c: 
1812         * libnm-glib/nm-client.c: 
1813         * libnm-glib/nm-cdma-device.c: Document the public API.
1814
1815         * docs/libnm-glib/libnm-glib.types: Implement.
1816
1817         * docs/libnm-glib/Makefile.am: Implement.
1818
1819         * autogen.sh: 
1820         * configure.in: 
1821         * Makefile.am: Add gtk-doc support.
1822
1823 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1824
1825         * src/backends/*: Get rid of nm_system_should_modify_resolv_conf().
1826
1827         * src/named-manager/nm-named-manager.c (rewrite_resolv_conf): Calculate
1828         the composite result of all the IP4 configurations and call a distro
1829         specific update_resolv_conf().
1830         (update_resolv_conf): Implement one for directly writing to 
1831         /etc/resolv.conf and one for opensuse to call netconfig.
1832
1833 2008-08-11  Dan Williams  <dcbw@redhat.com>
1834
1835         * src/ppp-manager/nm-ppp-manager.c
1836                 - (impl_ppp_manager_need_secrets): pass interface as required
1837
1838 2008-08-11  Dan Williams  <dcbw@redhat.com>
1839
1840         Merge the vpn-properties setting with the vpn setting since it was pointless
1841         to keep both of them around.  Convert the vpn 'data' hash table to a hash
1842         of string:string (instead of string:variant) so that system settings plugins
1843         can have an easier time dealing with the arbitrary key/value pairs.
1844
1845 2008-08-11  Dan Williams  <dcbw@redhat.com>
1846
1847         * libnm-util/nm-utils.c
1848                 - (nm_utils_register_value_transformations): add value transform for
1849                         a hash table of string:string
1850
1851 2008-08-10  Dan Williams  <dcbw@redhat.com>
1852
1853         * libnm-glib/nm-vpn-plugin.c
1854                 - (nm_vpn_plugin_connect): stop plugin after connection failure from
1855                         an idle handler so the Connect reply gets delivered before the
1856                         stop StateChanged signal
1857
1858 2008-08-10  Dan Williams  <dcbw@redhat.com>
1859
1860         * src/nm-ip4-config.c
1861                 - (get_property): use common ip4 address/route conversion functions
1862                 - (nm_ip4_config_replace_address, nm_ip4_config_replace_route): should
1863                         copy the new route here, not take ownership
1864
1865 2008-08-08  Tambet Ingo  <tambet@gmail.com>
1866
1867         * system-settings/plugins/ifcfg-suse/parser.c (make_ip4_setting):
1868         Update the IP4 setting's method name.
1869
1870 2008-08-07  Dan Williams  <dcbw@redhat.com>
1871
1872         * introspection/nm-ip4-config.xml
1873           libnm-glib/libnm-glib-test.c
1874           libnm-glib/nm-ip4-config.c
1875           libnm-glib/nm-ip4-config.h
1876           src/NetworkManagerSystem.h
1877           src/backends/NetworkManagerArch.c
1878           src/backends/NetworkManagerDebian.c
1879           src/backends/NetworkManagerFrugalware.c
1880           src/backends/NetworkManagerGeneric.c
1881           src/backends/NetworkManagerGeneric.h
1882           src/backends/NetworkManagerGentoo.c
1883           src/backends/NetworkManagerMandriva.c
1884           src/backends/NetworkManagerPaldo.c
1885           src/backends/NetworkManagerRedHat.c
1886           src/backends/NetworkManagerSlackware.c
1887           src/backends/NetworkManagerSuSE.c
1888           src/dhcp-manager/nm-dhcp-manager.c
1889           src/nm-device.c
1890           src/nm-ip4-config.c
1891           src/nm-ip4-config.h
1892                 - Remove NIS logic; should be done from dispatcher scripts instead
1893
1894 2008-08-07  Dan Williams  <dcbw@redhat.com>
1895
1896         * src/dhcp-manager/nm-dhcp-manager.c
1897                 - (nm_dhcp_manager_get_ip4_config): fix regression which caused
1898                         mis-handling of DHCP responses that returned more than one router
1899                         (found by Grant Williamson)
1900
1901 2008-08-07  Dan Williams  <dcbw@redhat.com>
1902
1903         * callouts/nm-dispatcher-action.c
1904                 - (nm_dispatcher_action): grab device path and create the device; pass
1905                         the device's DHCP4 config to script caller
1906                 - (dispatch_scripts): dump the DHCP4 config to the environment of called
1907                         scripts
1908
1909         * libnm-glib/nm-dhcp4-config.c
1910           libnm-glib/nm-dhcp4-config.h
1911                 - (nm_dhcp4_config_get_options): expose
1912                 - (nm_dhcp4_config_get_one_option): renamed from nm_dhcp4_config_get_option
1913
1914 2008-08-07  Dan Williams  <dcbw@redhat.com>
1915
1916         * include/NetworkManager.h
1917                 - Add the DHCP4Config D-Bus interface
1918
1919         * libnm-glib/Makefile.am
1920           libnm-glib/nm-dhcp4-config.c
1921           libnm-glib/nm-dhcp4-config.h
1922                 - Handle DHCP4 config objects exported by NM over D-Bus
1923
1924         * libnm-glib/nm-device.c
1925           libnm-glib/nm-device.h
1926                 - Add a 'dhcp4-config' property
1927
1928         * libnm-glib/libnm-glib-test.c
1929                 - Print out DHCP4 config for devices
1930                 - Fix some crashes when no connections are active
1931
1932         * src/nm-device-interface.c
1933           src/nm-device.c
1934           src/nm-dhcp4-config.c
1935           src/nm-dhcp4-config.h
1936                 - Treat dhcp4-config object as an object path at the D-Bus interface so
1937                         that when it doesn't exist we can proxy it as "/" which dbus-glib
1938                         doesn't let us do when the property type is G_TYPE_OBJECT
1939
1940 2008-08-07  Dan Williams  <dcbw@redhat.com>
1941
1942         * src/NetworkManager.c
1943           src/NetworkManagerSystem.h
1944           src/backends/NetworkManagerArch.c
1945           src/backends/NetworkManagerDebian.c
1946           src/backends/NetworkManagerFrugalware.c
1947           src/backends/NetworkManagerGeneric.c
1948           src/backends/NetworkManagerGeneric.h
1949           src/backends/NetworkManagerGentoo.c
1950           src/backends/NetworkManagerMandriva.c
1951           src/backends/NetworkManagerPaldo.c
1952           src/backends/NetworkManagerRedHat.c
1953           src/backends/NetworkManagerSlackware.c
1954           src/backends/NetworkManagerSuSE.c
1955                 - (nm_system_init, nm_system_kill_all_dhcp_daemons): remove, unused
1956
1957 2008-08-06  Dan Williams  <dcbw@redhat.com>
1958
1959         * libnm-glib/nm-ip4-config.c
1960           libnm-glib/nm-ip4-config.h
1961                 - Add 'routes' property
1962
1963         * libnm-util/nm-setting-vpn.c
1964           libnm-util/nm-setting-vpn.h
1965                 - Remove 'routes' property
1966
1967         * libnm-util/nm-setting-ip4-config.c
1968           libnm-util/nm-setting-ip4-config.h
1969                 - 'ignore-dhcp-dns' renamed to 'ignore-auto-dns'
1970                 - Add 'ignore-auto-routes' property
1971                 - 'routes' exposed over D-Bus is now an array of array of uint (4) to 
1972                         accomodate route metrics
1973                 - 'routes' exposed in C is now a list of NMSettingIP4Route structures
1974
1975         * libnm-util/nm-utils.c
1976           libnm-util/nm-utils.h
1977                 - Add helpers for marshalling IP4 routes
1978
1979         * src/NetworkManagerUtils.c
1980                 - (nm_utils_merge_ip4_config): handle property renames and new route
1981                         structure
1982
1983         * src/NetworkManagerSystem.c
1984                 - (nm_system_device_set_ip4_route, nm_system_device_set_from_ip4_config,
1985                    nm_system_vpn_device_set_from_ip4_config): respect route metrics
1986
1987         * src/dhcp-manager/nm-dhcp-manager.c
1988                 - (nm_dhcp_manager_get_ip4_config): handle new route structure
1989
1990         * system-settings/plugins/ifcfg-fedora/reader.c
1991           system-settings/plugins/ifcfg-fedora/writer.c
1992                 - Handle routes separately from addresses now that routes have a different
1993                         format
1994
1995         * introspection/nm-ip4-config.xml
1996           src/nm-ip4-config.c
1997           src/nm-ip4-config.h
1998                 - Rename internal routing functions
1999                 - 'static-routes' renamed to 'routes'
2000
2001 2008-08-04  Dan Williams  <dcbw@redhat.com>
2002
2003         Patch from Sjoerd Simons <sjoerd.simons@collabora.co.uk>
2004
2005         * src/NetworkManager.c
2006           src/nm-manager.c
2007           src/nm-manager.h
2008                 - More explicitly make the NMManager a singleton
2009
2010 2008-08-04  Dan Williams  <dcbw@redhat.com>
2011
2012         * libnm-util/nm-connection.c
2013           libnm-util/nm-connection.h
2014                 - (nm_connection_verify): return error on missing 'connection' setting
2015                         (found by Sjoerd Simons)
2016
2017 2008-08-04  Dan Williams  <dcbw@redhat.com>
2018
2019         Handle multiple concurrent PPP connections.
2020
2021         * src/ppp-manager/nm-ppp-manager.c
2022           src/ppp-manager/nm-ppp-manager.h
2023                 - (constructor): only PPP Manager request bus name once; each
2024                         NMPPPManager object gets a unique object path
2025                 - (nm_ppp_manager_class_init, get_property, set_property,
2026                    nm_ppp_manager_new, nm_ppp_manager_start): pass parent interface in
2027                         at construct time
2028                 - (impl_ppp_manager_need_secrets, impl_ppp_manager_set_state): don't
2029                         remove timeout until PPP manager gets an IP4 config
2030                 - (create_pppd_cmd_line): pass dbus object path as 'ipparam' so that
2031                         the plugin can call back to this specific PPP manager instance
2032
2033         * src/nm-device-ethernet.c
2034           src/nm-serial-device.c
2035                 - Pass parent device in nm_ppp_manager_new()
2036
2037         * src/nm-gsm-device.c
2038           src/nm-cdma-device.c
2039                 - (device_state_changed): don't close serial device on NEED_AUTH
2040                         state changed, that's not a failure case like the rest are
2041
2042         * src/ppp-manager/nm-pppd-plugin.c
2043                 - (nm_ip_up): always use index 0 into the ipcp options, because NM always
2044                         binds one interface to any pppd process, thus the correct index
2045                         is always 0; send PHASE_DEAD on error to alert NM immediately of
2046                         problems; try harder to get a peer address in spite of pppd
2047                 - (plugin_init): use 'ipparam' as the object path back to our specific
2048                         PPP manager instance
2049
2050 2008-08-04  Dan Williams  <dcbw@redhat.com>
2051
2052         * src/ppp-manager/nm-ppp-manager.c
2053                 - (impl_ppp_manager_need_secrets): rework to handle secrets better;
2054                         since the GSM and CDMA settings now implement need_secrets, we can
2055                         rely on them to do the right thing.  Where secrets are not required,
2056                         just pass empty strings back to the pppd plugin.
2057                 - (nm_ppp_manager_update_secrets): leak fix; don't need to dup the strings
2058                 - (impl_ppp_manager_set_ip4_config): clear the secrets tries counter
2059                         on successful IP4 config receipt
2060
2061 2008-08-04  Dan Williams  <dcbw@redhat.com>
2062
2063         * libnm-util/nm-setting-cdma.c
2064           libnm-util/nm-setting-gsm.c
2065                 - (verify): validate username & password if they exist
2066                 - (need_secrets): if username given, require a password too
2067
2068 2008-08-04  Dan Williams  <dcbw@redhat.com>
2069
2070         * src/dnsmasq-manager/nm-dnsmasq-manager.c
2071                 - (create_dm_cmd_line): really don't listen on lo, despite what the
2072                         manpage says about --listen-address without --interface
2073                         (bgo #546033)
2074
2075 2008-08-01  Dan Williams  <dcbw@redhat.com>
2076
2077         * libnm-glib/nm-device.c
2078                 - (proxy_get_string): util function for querying a HAL property
2079                 - (get_ancestor_device): split out from get_product_and_vendor()
2080                 - (get_product_and_vendor): simplify; get more accurate pid & vid info
2081                         from PCI devices by querying subsys properties
2082                 - (nm_device_update_description): simplify
2083
2084 2008-08-01  Dan Williams  <dcbw@redhat.com>
2085
2086         * libnm-util/nm-setting-ip4-config.c
2087           libnm-util/nm-setting-ip4-config.h
2088                 - Make IPv4 methods reflect their usage; 'dhcp' -> 'auto' and
2089                         'autoip' -> 'link-local'.  VPN & PPP connections can also have IPv4
2090                         settings, and they don't necessarily use DHCP.
2091
2092         * src/NetworkManagerPolicy.c
2093           src/nm-device.c
2094           system-settings/plugins/ifcfg-fedora/reader.c
2095           system-settings/plugins/ifcfg-suse/parser.c
2096                 - Fixup for method changes
2097
2098 2008-07-31  Dan Williams  <dcbw@redhat.com>
2099
2100         * src/nm-activation-request.c
2101           src/vpn-manager/nm-vpn-connection.c
2102                 - Correct GetSecrets D-Bus pending call usage; the GetSecrets call
2103                         itself should be attached to the activation request or the VPN
2104                         connection, not the NMConnection object, since the call is not
2105                         expected to live as long as the NMConnection itself
2106
2107 2008-07-31  Dan Williams  <dcbw@redhat.com>
2108
2109         * src/nm-device-wifi.c
2110                 - (real_act_stage2_config): fix issue where association would continue
2111                         even though secrets were needed; 'goto out' was in wrong scope and
2112                         result of handle_auth_or_fail() should have been dumped directly to
2113                         'ret' to ensure that the association was postponed until secrets
2114                         are available
2115
2116 2008-07-31  Dan Williams  <dcbw@redhat.com>
2117
2118         * system-settings/plugins/ifcfg-fedora/plugin.c
2119           system-settings/plugins/ifcfg-fedora/reader.c
2120                 - Don't ignore unmanaged devices if their ifcfg file doesn't make a
2121                         valid NM connection
2122
2123 2008-07-29  Dan Williams  <dcbw@redhat.com>
2124
2125         * src/nm-gsm-device.c
2126                 - (automatic_registration_response, automatic_registration): recognize
2127                         denied registration and reorder responses
2128
2129 2008-07-29  Dan Williams  <dcbw@redhat.com>
2130
2131         * src/nm-serial-device.c
2132                 - (nm_serial_device_wait_for_reply): fix timeout calculation.  Since
2133                         time(2) is used for current time, which returns seconds, we shouldn't
2134                         be multiplying by 1000.
2135
2136 2008-07-28  Dan Williams  <dcbw@redhat.com>
2137
2138         Patch from Fabrice Bellet <fabrice@bellet.info>
2139
2140         * src/NetworkManagerSystem.c
2141                 - (route_in_same_subnet): mask addresses and compare them so that the
2142                         function actually does what it says it's going to do (rh #456685)
2143
2144 2008-07-27  Dan Williams  <dcbw@redhat.com>
2145
2146         * libnm-util/nm-setting-ip6-config.c
2147                 - (set_property): add missing break that caused routes to be overwritten
2148                         with addresses
2149
2150         * libnm-util/nm-setting-ip6-config.c
2151                 - (verify): validate routes and return GError everywhere on invalid setting
2152                 - (finalize): don't leak routes
2153                 - (set_property): add missing break that caused routes to be overwritten
2154                         with addresses
2155
2156 2008-07-27  Dan Williams  <dcbw@redhat.com>
2157
2158         * libnm-util/*
2159                 - Relicense to LGPLv2+
2160
2161 2008-07-27  Dan Williams  <dcbw@redhat.com>
2162
2163         * system-settings/plugins/ifcfg-fedora/reader.c
2164                 - (make_ip4_setting): fix parsing automatic configs
2165
2166 2008-07-27  Dan Williams  <dcbw@redhat.com>
2167
2168         * src/dnsmasq-manager/nm-dnsmasq-manager.c
2169           src/nm-device.c
2170           src/ppp-manager/nm-ppp-manager.c
2171                 - Ensure child process gets reaped.  The child watch function may be
2172                         removed from the mainloop before the child gets killed, so we have
2173                         to make sure the child is reaped when it's told to die intentionally
2174
2175 2008-07-27  Dan Williams  <dcbw@redhat.com>
2176
2177         Patch from Roy Marples <roy@marples.name>
2178
2179         * src/dhcp-manager/nm-dhcp-dhcpcd.c
2180                 - (nm_dhcp_client_start): fixup for latest dhcpcd 4.0 RC
2181
2182 2008-07-27  Dan Williams  <dcbw@redhat.com>
2183
2184         * src/nm-gsm-device.c
2185                 - (init_modem_full): send "ATZ E0" after CPIN, because apparently some
2186                         Huawei devices turn echo back on after CPIN (rh #456770)
2187
2188 2008-07-24  Tambet Ingo  <tambet@gmail.com>
2189
2190         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Add
2191         format argument to g_set_error() call.
2192
2193         * src/backends/interface_parser.[ch]: Remove.
2194
2195         * src/backends/Makefile.am: Remove unused files interface_parser.[ch].
2196
2197 2008-07-21  Dan Williams  <dcbw@redhat.com>
2198
2199         * src/ppp-manager/nm-ppp-manager.c
2200                 - (create_pppd_cmd_line): send 'noipdefault' on non-PPPoE connections
2201                         to prevent pppd from picking up some random local address from an
2202                         interface that doesn't have anything to do with the one we're
2203                         interested in (rh #455348)
2204
2205 2008-07-17  Dan Williams  <dcbw@redhat.com>
2206
2207         * libnm-util/nm-utils.c
2208                 - (string_to_utf8): general function for conversion to UTF-8 assisted
2209                         by locale
2210                 - (nm_utils_ssid_to_utf8): use string_to_utf8()
2211                 - (nm_utils_garray_to_string): ensure returned string is UTF-8 safe
2212
2213 2008-07-17  Dan Williams  <dcbw@redhat.com>
2214
2215         * introspection/Makefile.am
2216           introspection/nm-device.xml
2217           introspection/nm-dhcp4-config.xml
2218                 - Add bits for the DHCP4Config property of the device, and the DHCP4Config
2219                         itself
2220         * src/nm-device-interface.c
2221           src/nm-device-interface.h
2222                 - Add the DHCP4Config property
2223
2224         * src/nm-device.c
2225                 - Keep track of DHCP4 options via a new DHCP4Config property and notify
2226                         D-Bus clients when it changes
2227
2228         * src/nm-dhcp4-config.c
2229           src/nm-dhcp4-config.h
2230                 - Simple object to store DHCP4 options, export them over D-Bus, and
2231                         notify when they change
2232
2233         * src/dhcp-manager/nm-dhcp-manager.c
2234           src/dhcp-manager/nm-dhcp-manager.h
2235                 - (nm_dhcp_manager_set_dhcp4_config, copy_dhcp4_config_option): copy and
2236                         filter server-returned DHCP options into an NMDHCP4Config object
2237
2238 2008-07-16  Dan Williams  <dcbw@redhat.com>
2239
2240         * introspection/nm-device.xml
2241                 - Add device state reasons
2242
2243 2008-07-16  Dan Williams  <dcbw@redhat.com>
2244
2245         Patch from Roy Marples <roy@marples.name>
2246
2247         * configure.in
2248                 - Add --with-dhcp-client option
2249
2250         * src/dhcp-manager/Makefile.am
2251                 - pass DHCP_CLIENT_PATH on compile line
2252
2253         * src/dhcp-manager/nm-dhcp-manager.c
2254           src/dhcp-manager/nm-dhcp-manager.h
2255                 - Genericize for both dhcpcd and dhclient
2256
2257         * src/dhcp-manager/nm-dhcp-dhclient.c
2258                 - Move dhclient stuff out to it's own file from nm-dhcp-manager.c
2259
2260         * src/dhcp-manager/nm-dhcp-dhcpcd.c
2261                 - Implement support for dhcpcd too
2262
2263 2008-07-16  Tambet Ingo  <tambet@gmail.com>
2264
2265         * system-settings/src/nm-system-config-interface.c 
2266         (nm_system_config_interface_supports_add): Implement.
2267         (nm_system_config_interface_add_connection): Return a boolean to notify
2268         of errors.
2269
2270         * system-settings/src/nm-polkit-helpers.c: 
2271         * system-settings/src/nm-polkit-helpers.h: Move error declarations to
2272         a separate file.
2273
2274         * system-settings/src/dbus-settings.c (impl_settings_add_connection):
2275         Return an error when none of the plugins support add or if addition
2276         failed for some reason.
2277
2278         * system-settings/src/nm-system-config-error.h: 
2279         * system-settings/src/nm-system-config-error.c: New files, mostly moved
2280         here from nm-polkit-helpers.[ch].
2281
2282         * system-settings/src/Makefile.am: Build new files.
2283
2284         * system-settings/plugins/keyfile/reader.c 
2285         (read_array_of_array_of_uint): Make it more general so that it would
2286         work for routes as well.
2287
2288         * system-settings/plugins/keyfile/writer.c
2289         (write_array_of_array_of_uint): Ditto.
2290         Fix the netmask/prefix writing.
2291
2292         * system-settings/plugins/keyfile/plugin.c (add_connection): Return
2293         boolean to notify errors.
2294
2295         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c (update):
2296         Return more specific error.
2297         (delete): Ditto.
2298
2299 2008-07-11  Dan Williams  <dcbw@redhat.com>
2300
2301         Modify the NMDevice::state-changed signal to include the previous state
2302         and reason. Enables the applet to provide more information why device
2303         activation failed.
2304
2305 2008-07-09  Dan Williams  <dcbw@redhat.com>
2306
2307         * callouts/Makefile.am
2308           callouts/nm-avahi-autoipd-action.c
2309           callouts/nm-avahi-autoipd.conf
2310                 - avahi-autoipd callout to send options back to NM
2311
2312         * src/autoip.c
2313           src/autoip.h
2314                 - remove
2315
2316         * src/nm-device.c
2317           src/nm-device-private.h
2318           src/nm-manager.c
2319                 - Use avahi-autoipd for IPv4LL functionality rather than really crappy
2320                         old custom stuff
2321
2322 2008-07-07  Dan Williams  <dcbw@redhat.com>
2323
2324         * system-settings/plugins/ifcfg-fedora/reader.c
2325                 - (make_ip4_setting): handle DHCP_HOSTNAME; fix up prefix support to
2326                         handle PREFIX too; clean up
2327
2328 2008-07-07  Dan Williams  <dcbw@redhat.com>
2329
2330         Convert to using IPv4 prefixes instead of netmasks.
2331
2332 2008-07-03  Dan Williams  <dcbw@redhat.com>
2333
2334         * libnm-util/nm-setting-ip4-config.c
2335           libnm-util/nm-setting-ip4-config.h
2336                 - Add properties for DHCP Client Identifier and DHCP Hostname
2337
2338         * src/dhcp-manager/nm-dhcp-manager.c
2339           src/dhcp-manager/nm-dhcp-manager.h
2340                 - (nm_dhcp_manager_begin_transaction): take the connection's ip4-config
2341                         setting as an argument to pass on to the dhclient config file
2342                         creation function
2343                 - (nm_dhcp_manager_cancel_transaction_real): remove dhclient config when
2344                         DHCP is torn down
2345                 - (dhclient_run): punt config file handling to create_dhclient_config()
2346                 - (create_dhclient_config): create an interface-specific dhclient
2347                         config file since there may need to be interface-specific options
2348                         passed to dhclient
2349                 - (merge_dhclient_config): merge normal distro dhclient config file and
2350                         add options from the connection
2351                 - (nm_dhcp_device_new): generate the interface specific dhclient
2352                         config file path once
2353                 - (nm_dhcp_device_destroy): handle partially initialized objects; free
2354                         dhclient config file path
2355
2356         * src/nm-device.c
2357                 - (real_act_stage3_ip_config_start): pass ip4-config, if any, to the
2358                         DHCP manager when starting DHCP
2359
2360 2008-07-02  Dan Williams  <dcbw@redhat.com>
2361
2362         * libnm-util/nm-setting-8021x.c
2363                 - (verify): allow forcing the PEAP label to 0
2364
2365 2008-07-02  Dan Williams  <dcbw@redhat.com>
2366
2367         * introspection/nm-active-connection.xml
2368           introspection/nm-vpn-connection.xml
2369           libnm-glib/nm-active-connection.c
2370           src/nm-activation-request.c
2371           src/nm-active-connection.h
2372           src/vpn-manager/nm-vpn-connection.c
2373                 - Remove "SharedServiceName" and "SharedConnection" bits from the D-Bus
2374                         and libnm-glib API since sharing didn't get implemented that way
2375
2376 2008-07-02  Dan Williams  <dcbw@redhat.com>
2377
2378         * src/nm-device-wifi.c
2379                 - (can_scan): don't scan when a shared connection is activated since
2380                         that makes drivers mad (causing disconnects); also NM doesn't need
2381                         to hedge against disconnects by keeping up-to-date network topology
2382                         because the connection originates from the local machine, and thus
2383                         there should be no disconnects
2384
2385 2008-07-01  Dan Williams  <dcbw@redhat.com>
2386
2387         Fix mobile broadband username/password issues.  NM was never requesting
2388         mobile broadband secrets, nor was it passing back the username and password
2389         if it had them.
2390
2391         * marshallers/nm-marshal.list
2392                 - Add some new types for activation request objects
2393
2394         * src/nm-activation-request.c
2395           src/nm-activation-request.h
2396                 - (get_secrets_cb): pass the caller type in the signal
2397                 - (nm_act_request_request_connection_secrets): take a caller type, so
2398                         that GetSecrets() reply handlers know who asked for the secrets in
2399                         the first place; use secret hints too so the settings service can
2400                         figure out exactly what NM wants (ie, PIN or the PPP password)
2401
2402         * src/ppp-manager/nm-ppp-manager.c
2403           src/ppp-manager/nm-ppp-manager.h
2404                 - (impl_ppp_manager_need_secrets): nm_connection_need_secrets() won't
2405                         detect needed secrets when the secret could be blank, like GSM/CDMA
2406                         passwords.  So always ask for secrets, and send a hint as to what
2407                         secret we really want.
2408                 - (nm_ppp_manager_update_secrets): make function more generic by making
2409                         the device specific class figure out the username and password, and
2410                         accept an error argument to return back over D-Bus
2411
2412         * src/nm-device-wifi.c
2413                 - (link_timeout_cb, handle_auth_or_fail): update for changes to
2414                         nm_act_request_request_connection_secrets()
2415                 - (real_connection_secrets_updated): update for 'caller' changes
2416
2417         * src/nm-device.c
2418           src/nm-device.h
2419                 - (connection_secrets_updated_cb, connection_secrets_failed_cb): update
2420                         for 'caller' changes
2421
2422         * src/nm-device-ethernet.c
2423                 - (real_connection_secrets_updated): update for 'caller' changes and
2424                         move logic for getting PPPoE username and password here before
2425                         calling nm_ppp_manager_update_secrets()
2426                 - (link_timeout_cb, handle_auth_or_fail): update for changes to
2427                         nm_act_request_request_connection_secrets()
2428
2429         * src/nm-cdma-device.c
2430                 - (real_connection_secrets_updated): pass username and password back
2431                         to the PPP manager when required
2432
2433         * src/nm-gsm-device.c
2434                 - (enter_pin): send the required secret name to the settings service
2435                 - (real_connection_secrets_updated): pass username and password back
2436                         to the PPP manager when required
2437
2438 2008-06-30  Dan Williams  <dcbw@redhat.com>
2439
2440         * src/nm-device-wifi.c
2441                 - Consistently use NM_DEVICE_WIFI_GET_PRIVATE instead of self->priv
2442
2443 2008-06-30  Dan Williams  <dcbw@redhat.com>
2444
2445         Attempt to fix various issues causing rh #448889.  Mainly, to qualify for
2446         the DISCONNECTED state, the device must not be rfkilled _and_ have a valid
2447         priv->supplicant.iface.  When either condition is false, the device should
2448         transition back to UNAVAILABLE because it cannot be used.
2449
2450         * src/nm-device-wifi.c
2451                 - (constructor): cleanup; connect to supplicant manager here since the
2452                         supplicant manager is always around
2453                 - (supplicant_interface_acquire): rename from init_supplicant_interface,
2454                         ensure the supplicant manager is in the IDLE state
2455                 - (supplicant_interface_release): rename from cleanup_supplicant_interface,
2456                         cancel any pending scans too
2457                 - (real_bring_up): don't set up the supplicnat interface here, because
2458                         we need the supplicant interface at times when the device may not
2459                         be "up"
2460                 - (real_take_down): just remove the periodic source
2461                 - (schedule_scan): ensure a state that would peg the CPU doesn't happen
2462                 - (remove_supplicant_interface_connection_error_handler): cleanup; don't
2463                         do anything if there's no supplicant interface
2464                 - (cleanup_association_attempt): cleanup
2465                 - (supplicant_iface_state_cb_handler): request an immediate scan when
2466                         the interface enters the READY state; transition to UNAVAILABLE
2467                         state when the interface goes down because the device can't be used
2468                         without a supplicant interface
2469                 - (supplicant_mgr_state_cb_handler): if the supplicant goes away, clean
2470                         up and transition to UNAVAILABLE; if the supplicant becomes ready,
2471                         acquire the supplicant interface and transition to DISCONNECTED
2472                         if the radio isn't killed
2473                 - (nm_device_wifi_dispose): move most of device_cleanup() here
2474                 - (state_changed_cb): release any existing supplicant interface; if the
2475                         radio is enabled then try to acquire a new supplicant interface;
2476                         if the radio is enabled and a supplicant interface has been acquired,
2477                         we can transition to DISCONNECTED
2478                 - (nm_device_wifi_set_enabled): if bringing the hardware up failed,
2479                         don't enable the radio, because HAL probably lied to us about the
2480                         killswitch being off.  If bringing the hardware up worked, then
2481                         try to grab a supplicant interface, and if that was successful,
2482                         transition to DISCONNECTED
2483
2484 2008-06-30  Dan Williams  <dcbw@redhat.com>
2485
2486         * src/supplicant-manager/nm-supplicant-interface.c
2487                 - (request_scan_results, nm_supplicant_interface_dispose,
2488                    wpas_iface_query_scan_results): cleanup; scan_results_timeout is now
2489                         the id of the timeout, not a GSource
2490
2491 2008-06-30  Tambet Ingo  <tambet@gmail.com>
2492
2493         * src/backends/NetworkManagerSuSE.c (nm_system_activate_nis): Fix a 
2494         bunch of typoes introduced by "Patch from David Cantrell 
2495         <dcantrell@redhat.com> and me".
2496
2497 2008-06-30  Tambet Ingo  <tambet@gmail.com>
2498
2499         * src/nm-serial-device.c: 
2500         * src/nm-gsm-device.c: 
2501         * src/nm-cdma-device.c: Move the pending call handling to a common location
2502         in serial device. Handle setting device state to failed in one place as well.
2503
2504 2008-06-29  Dan Williams <dcbw@redhat.com>
2505
2506         * src/nm-hal-manager.c
2507                 - Rework killswitch handling to query killswitch status immediately
2508                         when the first killswitch is added, so that rfkill state is
2509                         known as early as possible
2510                 - Also treat failure of GetPower() as rfkill when the dbus method
2511                         call times out (but not when the HAL callout returns an error)
2512
2513 2008-06-26  Dan Williams <dcbw@redhat.com>
2514
2515         Patch from David Cantrell <dcantrell@redhat.com> and me
2516
2517         * include/nm-dbus-glib-types.h
2518                 - Add IP6 address types
2519
2520         * libnm-util/Makefile.am
2521           libnm-util/nm-setting-ip6-config.c
2522           libnm-util/nm-setting-ip6-config.h
2523                 - Add IP6 settings object
2524
2525         * libnm-util/nm-connection.c
2526                 - (register_default_settings): register ip6 settings object
2527
2528         * libnm-util/nm-utils.c
2529           libnm-util/nm-utils.h
2530                 - (nm_utils_ip6_addresses_from_gvalue, nm_utils_ip6_addresses_to_gvalue,
2531                    nm_utils_ip6_dns_from_gvalue, nm_utils_ip6_dns_to_gvalue): add
2532                         ip6 address conversion functions
2533         
2534 2008-06-26  Dan Williams <dcbw@redhat.com>
2535
2536         Patch from David Cantrell <dcantrell@redhat.com>
2537         
2538         * Use inet_ntop() and inet_pton() everwhere and check for errors
2539
2540 2008-06-26  Dan Williams <dcbw@redhat.com>
2541
2542         * Update FSF address in license headers (Michael Biebl <biebl@debian.org>)
2543
2544 2008-06-26  Dan Williams <dcbw@redhat.com>
2545
2546         Patch from Adel Gadllah <adel.gadllah@gmail.com>
2547
2548         * src/nm-device-wifi.c
2549                 - (link_timeout_cb): don't ignore disconnects due to scanning
2550                 - (supplicant_iface_connection_state_cb_handler): instead, schedule
2551                         a longer timeout when scanning; avoids case where supplicant can't
2552                         find the AP and just keeps scanning forever but isn't connected
2553
2554 2008-06-26  Dan Williams <dcbw@redhat.com>
2555
2556         Patch from Michael Biebl <biebl@debian.org>
2557
2558         * Clean up build system stuff
2559
2560 2008-06-23  Christian Persch  <chpe@gnome.org>
2561
2562         * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.c:
2563         * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.h:
2564         * vpn-daemons/pptp/auth-dialog-general/anonymous-auth-module.c:
2565         (impl_get_object):
2566         * vpn-daemons/pptp/auth-dialog-general/chap-auth-module.c:
2567         (impl_get_object):
2568         * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.c:
2569         * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.h:
2570         * vpn-daemons/pptp/auth-dialog-general/mschapv2-auth-module.c:
2571         (impl_get_object):
2572         * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.c:
2573         * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.h:
2574         * vpn-daemons/pptp/properties/nm-ppp-properties.c: (impl_setup):
2575         * vpn-daemons/pptp/properties/vpnui_impl.c: (impl_get_object):
2576         * vpn-daemons/pptp/properties/vpnui_opt.c:
2577         (vpnui_opt_connect_signals):
2578         * vpn-daemons/pptp/properties/vpnui_opt.h:
2579         * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
2580         * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.h: Don't use
2581         deprecated gtk type macros. Bug #539325.
2582
2583 2008-06-20  Dan Williams  <dcbw@redhat.com>
2584
2585         * libnm-glib/nm-vpn-plugin-ui-interface.c
2586           libnm-glib/nm-vpn-plugin-ui-interface.h
2587                 - 'validity-changed' -> 'changed' to work better with the connection
2588                         editor.  Plugin UI widgets should emit 'changed' whenever their
2589                         UI values change in a meaningful way.
2590                 - (nm_vpn_plugin_ui_widget_interface_update_connection): the
2591                         update_connection member now returns validity of the UI widget
2592
2593 2008-06-20  Tambet Ingo  <tambet@gmail.com>
2594
2595         * libnm-util/nm-connection.c (nm_connection_duplicate): Implement.
2596
2597 2008-06-17  Dan Williams  <dcbw@redhat.com>
2598
2599         * libnm-glib/nm-vpn-plugin-ui-interface.c
2600           libnm-glib/nm-vpn-plugin-ui-interface.h
2601                 - Add "desc" property for longer descriptions of the VPN plugin
2602
2603 2008-06-16  Dan Williams  <dcbw@redhat.com>
2604
2605         * configure.in
2606           libnm-glib/libnm_glib_vpn.pc.in
2607                 - add a .pc file for libnm_glib_vpn
2608
2609         * libnm-glib/nm-vpn-plugin-ui-interface.c
2610           libnm-glib/nm-vpn-plugin-ui-interface.h
2611                 - Move the glib/GNOME VPN UI plugin interface into libnm-glib and
2612                         rework it substantially
2613
2614 2008-06-12  Dan Williams  <dcbw@redhat.com>
2615
2616         Add a GError argument to nm_connection_verify() and nm_setting_verify(),
2617         and add error enums to each NMSetting subclass.  Each NMSetting subclass now
2618         returns a descriptive GError when verification fails.
2619
2620 2008-06-11  Dan Williams  <dcbw@redhat.com>
2621
2622         Patch from Tambet Ingo <tambet@gmail.com>
2623
2624         * libnm-util/nm-setting-gsm.c
2625                 - (verify): validate APN
2626
2627         * src/nm-gsm-device.c
2628                 - (manual_registration_done): start setting APN if needed
2629                 - (set_apn, set_apn_done): set the APN
2630                 - (do_dial): use the APN when dialing
2631
2632 2008-06-11  Dan Williams  <dcbw@redhat.com>
2633
2634         * src/NetworkManagerSystem.c
2635                 - (nm_system_device_set_ip4_route,
2636                    nm_system_device_replace_default_ip4_route): check for the right
2637                         return value from rtnl_route_add() to know when to add a gateway
2638                         route (from Tambet)
2639
2640 2008-06-11  Dan Williams  <dcbw@redhat.com>
2641
2642         * src/NetworkManagerPolicy.c
2643                 - do_ipt_cmd -> do_cmd
2644                 - (sharing_init): use do_cmd() instead of system()
2645
2646 2008-06-10  Dan Williams  <dcbw@redhat.com>
2647
2648         The grand 802-11-wireless rename.  Get rid of the 802-11/80211/802_11 bits
2649         and use "wifi" everwhere instead.
2650
2651 2008-06-10  Dan Williams  <dcbw@redhat.com>
2652
2653         The grand 802-3-ethernet rename.  Get rid of the 802-3/8023/802_3 bits.
2654
2655 2008-06-10  Dan Williams  <dcbw@redhat.com>
2656
2657         Patch from Tambet Ingo <tambet@gmail.com>
2658
2659         * src/ppp-manager/nm-ppp-manager.c: Add ppp stats monitoring, signal the
2660                 changes.
2661
2662         * src/nm-serial-device.c: Monitor "ppp-stats" signals from NMPPPManager. Add
2663                 a signal to emit these changes over dbus.
2664
2665         * src/Makefile.am: Genereate nm-serial-device-glue.
2666
2667         * libnm-glib/nm-serial-device.[ch]: Implement.
2668
2669         * libnm-glib/nm-cdma-device.[ch]
2670           libnm-glib/nm-gsm-device.[ch]: Inherit from NMSerialDevice.
2671
2672         * libnm-glib/Makefile.am: Add nm-serial-device.[ch].
2673
2674         * introspection/nm-device-serial.xml: Implement.
2675
2676         * introspection/all.xml: Fix a couple of typos, add nm-device-serial.xml.
2677
2678         * introspection/Makefile.am: Add nm-device-serial.xml.
2679
2680         * include/NetworkManager.h: Add a DBus interface for serial device.
2681
2682 2008-06-10  Dan Williams  <dcbw@redhat.com>
2683
2684         * configure.in
2685                 - Add TARGET_* define to config.h to distinguish distros
2686
2687         * src/dhcp-manager/nm-dhcp-manager.c
2688                 - (dhclient_run): use distro-specific path for dhclient config file
2689
2690 2008-06-09  Dan Williams  <dcbw@redhat.com>
2691
2692         * src/dnsmasq-manager/nm-dnsmasq-manager.c
2693           src/dnsmasq-manager/nm-dnsmasq-manager.h
2694                 - (create_dm_cmd_line): use the IP4 address of the ip4-config to
2695                         calculate the addresses passed to dnsmasq instead of hard-coding
2696                         them
2697
2698         * src/nm-device.c
2699                 - (nm_device_new_ip4_shared_config): be somewhat dynamic when choosing
2700                         IP addresses for shared connections to guard against shared
2701                         connection address collisions
2702                 - (real_act_stage4_get_ip4_config): handle possible NULL ip4-configs on
2703                         error conditions
2704                 - (nm_device_activate_stage5_ip_config_commit): pass ip4-config to
2705                         the dnsmasq manager
2706
2707 2008-06-09  Dan Williams  <dcbw@redhat.com>
2708
2709         * src/NetworkManagerPolicy.c
2710                 - (update_routing_and_dns): set the default connection _after_ unsetting
2711                         default on all non-default connections so that two connections can
2712                         never be default at the same time
2713                 - (device_state_changed): start and stop connection sharing when
2714                         needed
2715                 - (active_connection_default_changed): restart or stop sharing when
2716                         the default connection changes to keep shared connections always
2717                         NAT-ed through the default connection
2718                 - (check_sharing): handle activation/deactivation of shared connections
2719                 - (sharing_restart): atom-bomb approach to connection sharing until we
2720                         can use libnl; reinit all sharing when the default connection or
2721                         shared connections change
2722                 - (sharing_init, sharing_stop): evil functions that init and deinit
2723                         iptables
2724
2725 2008-06-09  Dan Williams  <dcbw@redhat.com>
2726
2727         * src/nm-activation-request.c
2728           src/nm-activation-request.h
2729                 - (nm_act_request_set_shared, nm_act_request_get_shared,
2730                    nm_act_request_get_device): new functions to facilitate connection
2731                         sharing
2732
2733 2008-06-09  Dan Williams  <dcbw@redhat.com>
2734
2735         * src/nm-device.c
2736                 - (clear_act_request): unset the 'default' property of the activation
2737                         request when clearing it to ensure the property changed signal gets
2738                         delivered and handled
2739
2740 2008-06-09  Dan Williams  <dcbw@redhat.com>
2741
2742         * libnm-glib/nm-device-802-11-wireless.c
2743                 - (access_point_removed_proxy): actually unref the AP after removing
2744                         it from the device's AP list.  Fixes refcounting bug for APs that
2745                         caused them to get mixed up in the applet's menu.
2746
2747 2008-06-09  Tambet Ingo  <tambet@gmail.com>
2748
2749         * src/dhcp-manager/nm-dhcp-manager.c (finalize): Free private members.
2750         (nm_dhcp_device_destroy): Destroy the device options hash table.
2751
2752 2008-06-06  Dan Williams <dcbw@redhat.com>
2753
2754         * system-settings/src/nm-polkit-helpers.c
2755                 - (create_polkit_context): in PolicyKit 0.6, polkit_context_init() will
2756                         unref the context if the initialization fails; also avoid spew when
2757                         the error isn't set
2758
2759 2008-06-06  Dan Williams <dcbw@redhat.com>
2760
2761         Patch from Tambet Ingo  <tambet@gmail.com>
2762
2763         * src/NetworkManagerSystem.c
2764           src/NetworkManagerSystem.h
2765                 - (nm_system_device_add_ip4_route_via_device_with_iface): remove
2766                 - (nm_system_device_set_from_ip4_config): remove unused route_to_iface
2767                 - (nm_system_device_set_ip4_route): clean up
2768                 - (nm_system_vpn_device_set_from_ip4_config): clean up, add VPN routes
2769
2770         * src/nm-device.c
2771                 - (nm_device_set_ip4_config): remove unused route_to_iface bits
2772
2773         * src/vpn-manager/nm-vpn-connection.c
2774                 - (ip_address_to_string): new function
2775                 - (print_vpn_config): use ip_address_to_string
2776                 - (merge_vpn_routes): add user-defined routes to the ip4 config
2777                 - (nm_vpn_connection_ip4_config_get): add routes the VPN server sent
2778
2779         * include/NetworkManagerVPN.h
2780                 - Add 'routes' key
2781
2782 2008-06-05  Dan Williams <dcbw@redhat.com>
2783
2784         Patch from Markus Becker <mab@comnets.uni-bremen.de>
2785
2786         * test/nm-tool.c
2787                 - Show which device is the default device
2788
2789 2008-06-05  Tambet Ingo  <tambet@gmail.com>
2790
2791         Fix memory leaks.
2792
2793         * system-settings/src/nm-system-config-hal-manager.c (get_type_for_udi):
2794         Free data returned from dbus method call.
2795
2796         * system-settings/src/nm-polkit-helpers.c (check_polkit_privileges):
2797         dbus_g_method_get_sender() returns a duplicated string, free it 
2798         when done.
2799         (check_polkit_privileges): Looks like policykit sometimes returns
2800         error and non-null return value, don't leak errors in that case.
2801
2802         * system-settings/src/main.c (find_plugin): Don't leak existing 
2803         plugin names.
2804         (load_stuff): Don't leak device list and list items.
2805         (have_connection_for_device): Don't leak connection list.
2806
2807         * system-settings/plugins/keyfile/reader.c (read_one_setting_value):
2808         Free the data received from g_keyfile_get_*.
2809
2810         * system-settings/plugins/ifcfg-suse/parser.c (READ_WEP_KEY): Free
2811         the key when the security object is updated.
2812
2813         * src/supplicant-manager/nm-supplicant-interface.c (scan_results_cb):
2814         Free data returned from dbus method call.
2815         (iface_state_cb): Ditto.
2816         (add_network_cb): Ditto.
2817         (nm_supplicant_interface_add_cb): Don't make another copy of already
2818         duplicated object path.
2819         (nm_supplicant_interface_add_to_supplicant): Free the driver GValue
2820         when done.
2821
2822         * src/supplicant-manager/nm-supplicant-config.c 
2823         (ADD_STRING_LIST_VAL): Fix a memory leak.
2824
2825         * src/nm-manager.c (free_get_settings_info): Free the allocated
2826         memory slice.
2827         (list_connections_cb): Free data returned from dbus method call.
2828         (system_settings_get_unmanaged_devices_cb): Ditto.
2829
2830         * src/nm-device-802-11-wireless.c (device_cleanup): Free ssid.
2831
2832         * system-settings/plugins/ifcfg-suse/shvar.c (svCloseFile): 
2833         * system-settings/plugins/ifcfg-fedora/shvar.c (svCloseFile): 
2834         * src/backends/shvar.c (svCloseFile): Free the duplicated content
2835         of the GList.
2836
2837         * libnm-util/nm-setting.c (nm_setting_from_hash): Free the constructor
2838         arguments after the object is created.
2839
2840 2008-06-04  Dan Williams <dcbw@redhat.com>
2841
2842         * libnm-util/Makefile.am
2843                 - Don't distribute nm-param-spec-specialized.h
2844
2845 2008-06-02  Tambet Ingo  <tambet@gmail.com>
2846
2847         * libnm-util/nm-setting-ip4-config.[ch]: Add static routes property.
2848
2849         * src/nm-ip4-config.[ch]: Store the static routes as a list of
2850         NMIP4Address, update the getters and setters.
2851
2852         * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
2853         Use the updated NMIP4Config routes api.
2854
2855         * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Merge
2856         static routes as well.
2857
2858         * src/NetworkManagerSystem.c (netmask_to_prefix): Implement.
2859         (nm_system_device_set_from_ip4_config): Use the updated NMIP4Config
2860         routes api.
2861
2862 2008-05-30  Dan Williams <dcbw@redhat.com>
2863
2864         * src/named-manager/nm-named-manager.c
2865           src/named-manager/nm-named-manager.h
2866                 - Remove stale/obsolete bits for controlling bind over DBus
2867
2868 2008-05-29  Dan Williams <dcbw@redhat.com>
2869
2870         * src/dnsmasq-manager/nm-dnsmasq-manager.c
2871           src/dnsmasq-manager/nm-dnsmasq-manager.h
2872                 - (nm_dnsmasq_manager_new): move iface argument here
2873                 - (constructor): remove, not needed
2874                 - (get_pidfile_for_iface, create_dm_cmd_line, kill_existing_for_iface,
2875                    nm_dnsmasq_manager_start, nm_dnsmasq_manager_stop): use priv->pidfile
2876
2877         * src/nm-device.c
2878                 - (real_act_stage4_get_ip4_config,
2879                    nm_device_activate_stage5_ip_config_commit): fix for dnsmasq manager
2880                         changes
2881
2882 2008-05-29  Dan Williams <dcbw@redhat.com>
2883
2884         * src/nm-device.c
2885                 - (dnsmasq_state_changed_cb): new function; fail the connection if
2886                         something happens to dnsmasq
2887                 - (nm_device_new_ip4_shared_config): new function; create a new
2888                         ip4-config for shared connections.  Shared connections always use a
2889                         fixed static IP address.
2890                 - (real_act_stage4_get_ip4_config): handle shared connections; fix
2891                         autoip connections by actually using the returned ip4-config and
2892                         not leaking it
2893                 - (nm_device_activate_stage5_ip_config_commit): start dnsmasq for shared
2894                         connections
2895                 - (nm_device_deactivate_quickly, nm_device_dispose): terminate dnsmasq
2896                         if its active
2897
2898 2008-05-29  Dan Williams <dcbw@redhat.com>
2899
2900         * src/nm-device-802-11-wireless.c
2901                 - (real_get_best_auto_connection): auto-activate 'shared' method
2902                         connections too
2903
2904 2008-05-29  Dan Williams <dcbw@redhat.com>
2905
2906         * libnm-util/nm-setting-ip4-config.c
2907           libnm-util/nm-setting-ip4-config.h
2908                 - Add a 'shared' method to indicate that this connection should be
2909                         brought up with a DHCP and proxy DNS server to facilitate
2910                         connection sharing.
2911                 - (verify): 'shared' method doesn't allow DNS or searches either
2912
2913 2008-05-29  Dan Williams <dcbw@redhat.com>
2914
2915         * configure.in
2916           src/Makefile.am
2917           src/dnsmasq-manager/Makefile.am
2918           src/dnsmasq-manager/nm-dnsmasq-manager.c
2919           src/dnsmasq-manager/nm-dnsmasq-manager.h
2920                 - Add a dnsmasq daemon manager to facilitate connection sharing
2921
2922 2008-05-29  Dan Williams <dcbw@redhat.com>
2923
2924         * src/nm-device-private.h
2925                 - Remove unused prototypes and clean up
2926
2927         * src/nm-device.c
2928                 - Remove anything related to system_config_data, which is no longer used
2929                 - (nm_device_new_ip4_autoip_config): make static
2930
2931 2008-05-29  Tambet Ingo  <tambet@gmail.com>
2932
2933         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c
2934         (file_changed): Fix a bug where suse system settings plugin didn't
2935         update the connections automatically when the files changed.
2936
2937 2008-05-28  Dan Williams  <dcbw@redhat.com>
2938
2939         Revert r3697 (adhoc-create property patch); it's the wrong way to do this.
2940
2941 2008-05-28  Dan Williams  <dcbw@redhat.com>
2942
2943         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2944
2945         * src/NetworkManagerSystem.c
2946                 - (nm_system_device_flush_ip4_routes_with_iface): implement with libnl
2947                 - (nm_system_vpn_device_set_from_ip4_config): don't flush routes here,
2948                         was causing -EINVAL errors since the libnl code actually does flush
2949                         the routes on VPN interfaces now
2950
2951         * src/backends/NetworkManagerArch.c
2952           src/backends/NetworkManagerDebian.c
2953           src/backends/NetworkManagerFrugalware.c
2954           src/backends/NetworkManagerGeneric.c
2955           src/backends/NetworkManagerGentoo.c
2956           src/backends/NetworkManagerMandriva.c
2957           src/backends/NetworkManagerPaldo.c
2958           src/backends/NetworkManagerRedHat.c
2959           src/backends/NetworkManagerSlackware.c
2960           src/backends/NetworkManagerSuSE.c
2961                 - (nm_system_device_flush_ip4_routes,
2962                    nm_system_device_flush_ip4_routes_with_iface): remove
2963
2964 2008-05-28  Dan Williams  <dcbw@redhat.com>
2965
2966         * libnm-util/nm-setting-wireless.c
2967           libnm-util/nm-setting-wireless.h
2968                 - (set_property, get_property, nm_setting_wireless_class_init): add the
2969                         'adhoc-create' property, which when TRUE indicates that NM should
2970                         create this connection as an adhoc wifi network if it's not found
2971                         as an adhoc network during scanning.  Can be used to auto-create
2972                         adhoc networks when used in combination with autoconnect.
2973
2974 2008-05-28  Tambet Ingo  <tambet@gmail.com>
2975
2976         Patch from Dennis Noordsij <dennis.noordsij@helsinki.fi>.
2977
2978         * src/nm-gsm-device.c: Don't try to reset the modem before PIN is
2979         checked, it doesn't work on some devices.
2980
2981 2008-05-28  Tambet Ingo  <tambet@gmail.com>
2982
2983         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Make sure 
2984         pppd gets killed, if SIGTERM doesn't do it's job, SIGKILL it.
2985
2986         * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
2987         Use inet_aton() everywhere to improve error detection.
2988         Don't fall back to 'dhcp_server_identifier' if the gateway is not
2989         provided.
2990
2991 2008-05-26  Tambet Ingo  <tambet@gmail.com>
2992
2993         * system-settings/plugins/ifcfg-suse/plugin.c (get_unamanged_devices_cb):
2994         Fix a typo.
2995
2996 2008-05-26  Tambet Ingo  <tambet@gmail.com>
2997
2998         * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_get_service): Fix a
2999         reference counting issue.
3000
3001 2008-05-23  Dan Williams  <dcbw@redhat.com>
3002
3003         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3004
3005         * src/backends/NetworkManagerGeneric.c
3006                 - (nm_generic_enable_loopback): use libnl
3007
3008 2008-05-23  Dan Williams  <dcbw@redhat.com>
3009
3010         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3011
3012         * src/NetworkManagerSystem.h
3013           src/backends/NetworkManagerArch.c
3014           src/backends/NetworkManagerDebian.c
3015           src/backends/NetworkManagerFrugalware.c
3016           src/backends/NetworkManagerGentoo.c
3017           src/backends/NetworkManagerMandriva.c
3018           src/backends/NetworkManagerPaldo.c
3019           src/backends/NetworkManagerRedHat.c
3020           src/backends/NetworkManagerSlackware.c
3021           src/backends/NetworkManagerSuSE.c
3022                 - (nm_system_device_has_active_routes, nm_system_flush_loopback_routes,
3023                    nm_system_flush_arp_cache): remove, unused
3024
3025         * src/backends/NetworkManagerGeneric.c
3026           src/backends/NetworkManagerGeneric.h
3027                 - (nm_generic_device_has_active_routes, nm_generic_flush_loopback_routes,
3028                    nm_generic_flush_arp_cache): remove, unused
3029
3030 2008-05-23  Dan Williams  <dcbw@redhat.com>
3031
3032         * system-settings/plugins/ifcfg-fedora/reader.c
3033                 - (make_ip4_setting): honor PEERDNS setting
3034
3035 2008-05-23  Dan Williams  <dcbw@redhat.com>
3036
3037         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3038
3039         * src/NetworkManagerSystem.c
3040                 - (nm_system_device_flush_ip4_addresses_with_iface): implement with
3041                         libnl
3042
3043         * src/backends/NetworkManagerArch.c
3044           src/backends/NetworkManagerDebian.c
3045           src/backends/NetworkManagerFrugalware.c
3046           src/backends/NetworkManagerGentoo.c
3047           src/backends/NetworkManagerMandriva.c
3048           src/backends/NetworkManagerPaldo.c
3049           src/backends/NetworkManagerRedHat.c
3050           src/backends/NetworkManagerSlackware.c
3051           src/backends/NetworkManagerSuSE.c
3052                 - (nm_system_device_flush_ip4_addresses,
3053                    nm_system_device_flush_ip4_addresses_with_iface): remove
3054
3055         * src/backends/NetworkManagerGeneric.c
3056                 - (nm_generic_device_flush_ip4_addresses,
3057                    nm_generic_device_flush_ip4_addresses_with_iface): remove
3058
3059 2008-05-23  Dan Williams  <dcbw@redhat.com>
3060
3061         * src/supplicant-manager/nm-supplicant-settings-verify.c
3062                 - Switch 'bssid' from bytes to keyword type
3063                 - (validate_type_keyword): allow NULL keyword lists
3064
3065         * src/supplicant-manager/nm-supplicant-config.c
3066                 - (nm_supplicant_config_add_setting_wireless): convert the bssid from
3067                         a byte array to string form, which is what the supplicant expects
3068
3069 2008-05-23  Tambet Ingo  <tambet@gmail.com>
3070
3071         Add a flag to NMSettingIP4Config to make it possible to ignore the DNS
3072         information received from DHCP.
3073
3074         * libnm-util/nm-setting-ip4-config.c: Add a new membet "ignore_dhcp_dns"
3075         to make it possible to ignore the DNS information (both servers and 
3076         searches) returned by DHCP server.
3077
3078         * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Reset the
3079         name servers and searches if "ignore_dhcp_dns" is set.
3080
3081         * src/nm-ip4-config.c (nm_ip4_config_reset_nameservers)
3082         (nm_ip4_config_reset_searches): Implement.
3083
3084 2008-05-22  Dan Williams  <dcbw@redhat.com>
3085
3086         Remove anything mDNS related.  This is better done from a distro-specific
3087         dispatcher script.  Plus, any distro using avahi doesn't need to restart
3088         avahi, since avahi can handle interface changes just fine using netlink.
3089
3090         * configure.in
3091                 - Remove --with-mdns-provider
3092
3093         * src/NetworkManagerPolicy.c
3094                 - (global_state_changed): don't restart the mdns provider
3095
3096         * src/NetworkManagerSystem.h
3097           src/backends/NetworkManagerArch.c
3098           src/backends/NetworkManagerDebian.c
3099           src/backends/NetworkManagerFrugalware.c
3100           src/backends/NetworkManagerGentoo.c
3101           src/backends/NetworkManagerMandriva.c
3102           src/backends/NetworkManagerPaldo.c
3103           src/backends/NetworkManagerRedHat.c
3104           src/backends/NetworkManagerSlackware.c
3105           src/backends/NetworkManagerSuSE.c
3106                 - (nm_system_restart_mdns_responder): remove
3107
3108         * src/backends/NetworkManagerGeneric.c
3109           src/backends/NetworkManagerGeneric.h
3110                 - (nm_generic_restart_mdns_responder): remove
3111
3112 2008-05-22  Dan Williams  <dcbw@redhat.com>
3113
3114         * configure.in
3115                 - clean up crypto options; just use --with-crypto=nss or
3116                         --with-crypto=gnutls
3117
3118 2008-05-22  Tambet Ingo  <tambet@gmail.com>
3119
3120         * src/nm-manager.c (impl_manager_sleep): No need to schedule the sync
3121         anymore, do it right away.
3122
3123 2008-05-22  Tambet Ingo  <tambet@gmail.com>
3124
3125         * src/nm-gsm-device.c (device_state_changed): Make sure we don't leave the
3126         serial device open when we're not connecting or connected.
3127
3128         * src/nm-cdma-device.c (device_state_changed): Ditto.
3129
3130 2008-05-22  Tambet Ingo  <tambet@gmail.com>
3131
3132         Don't remove all devices on waking up, sync with HAL.
3133
3134         * src/nm-manager.c (nm_manager_udi_is_managed): Implement.
3135         (sync_devices): Implement, based on hal_manager_hal_reappeared_cb.
3136         (hal_manager_hal_reappeared_cb): Just call sync_devices.
3137
3138 2008-05-21  Tambet Ingo  <tambet@gmail.com>
3139
3140         * src/NetworkManagerSystem.c (nm_system_device_replace_default_ip4_route):
3141         If the default gateway is unreachable, add a route to gateway and try
3142         again.
3143
3144 2008-05-20  Dan Williams  <dcbw@redhat.com>
3145
3146         * system-settings/plugins/ifcfg-fedora/reader.c
3147                 - (add_one_wep_key): handle ASCII WEP keys too (rh #293111)
3148
3149 2008-05-19  Dan Williams  <dcbw@redhat.com>
3150
3151         * system-settings/plugins/ifcfg-fedora/reader.c
3152                 - (make_ip4_setting): get a fallback gateway from /etc/sysconfig/network
3153                         if the ifcfg doesn't specify one (rh #446527)
3154
3155 2008-05-19  Dan Williams  <dcbw@redhat.com>
3156
3157         Make the system settings service exit when the bus goes away.  Since it's
3158         a bus-activated service, it's lifetime is limited to the bus that activated
3159         it (rh #444976).
3160
3161         * system-settings/src/Makefile.am
3162           system-settings/src/nm-system-config-hal-manager-private.h
3163                 - Remove nm-system-config-hal-manager-private.h
3164
3165         * system-settings/src/nm-system-config-hal-manager.c
3166                 - (nm_system_config_hal_manager_reinit_dbus,
3167                    nm_system_config_hal_manager_deinit_dbus): remove
3168
3169         * system-settings/src/main.c
3170                 - (dbus_reconnect): remove
3171                 - (dbus_cleanup): don't tell the HAL manager to deinit dbus
3172                 - (destroy_cb): just quit when the bus goes away
3173                 - (start_dbus_service, dbus_init): simplify
3174                 - (main): destroy the wired devices hash table after destroying
3175                         the HAL manager so we don't have to disconnect signals from the
3176                         HAL manager
3177
3178 2008-05-15  Tambet Ingo  <tambet@gmail.com>
3179
3180         Move crypto functions from nm-applet to libnm-util.
3181
3182         * libnm-util/nm-setting-8021x.c (nm_setting_802_1x_set_ca_cert)
3183         (nm_setting_802_1x_set_client_cert)
3184         (nm_setting_802_1x_set_phase2_ca_cert)
3185         (nm_setting_802_1x_set_phase2_client_cert)
3186         (nm_setting_802_1x_set_private_key)
3187         (nm_setting_802_1x_set_phase2_private_key): Implement. Given a certificate
3188         file (or private key and it's password), read the certificate data.
3189
3190         * libnm-util/crypto_nss.c: 
3191         * libnm-util/crypto_gnutls.c: 
3192         * libnm-util/crypto.[ch]: Move here from nm-applet.
3193
3194         * configure.in: Check for NSS and gnutls here (moved here from nm-applet).
3195
3196         * system-settings/plugins/ifcfg-suse/parser.c (read_wpa_eap_settings):
3197         Imlement WPA-EAP configuration reading from sysconfig.
3198
3199 2008-05-16  Dan Williams  <dcbw@redhat.com>
3200
3201         * src/nm-device-802-11-wireless.c
3202                 - (nm_device_802_11_wireless_set_enabled): request a scan after enabling
3203                         wireless
3204
3205 2008-05-14  Dan Williams  <dcbw@redhat.com>
3206
3207         Fix Linus' bug in rh #134886
3208
3209         * src/nm-device-802-3-ethernet.c
3210                 - (constructor): request initial carrier state
3211
3212         * src/nm-netlink-monitor.c
3213                 - (nm_netlink_monitor_request_status): schedule emission of carrier
3214                         signals after refilling the link cache.  Because the refill is a 
3215                         synchronous operation, the normal message hander won't get called
3216                         since libnl has already consumed the messages.
3217                 - (deferred_emit_carrier_state): emit carrier states from an idle handler
3218
3219 2008-05-14  Dan Williams  <dcbw@redhat.com>
3220
3221         * src/NetworkManagerSystem.c
3222                 - (nm_system_device_is_up_with_iface): clean up
3223
3224 2008-05-13  Dan Williams  <dcbw@redhat.com>
3225
3226         Fix refcounting issues over sleep/wake when a VPN connection was active that
3227         caused NM to try registering an object path for a device upon wake that was
3228         the same as an already registered object path.
3229
3230         * src/nm-device.c
3231                 - (nm_device_take_down): properly handle cases where the device is
3232                         no longer active but was just active, and therefore must be
3233                         deactivated.  When a device moves to unmanaged mode, this function
3234                         previously would not deactivate the device, because the state was
3235                         already unmanaged by the time this function was called.
3236
3237         * src/vpn-manager/nm-vpn-connection.c
3238                 - (device_state_changed): properly handle multiple devices states in
3239                         which the device is now deactivated.  Code previously didn't handle
3240                         transitions to the UNAVAILABLE (like rfkill or carrier off) and
3241                         UNMANAGED states.
3242
3243 2008-05-13  Dan Williams  <dcbw@redhat.com>
3244
3245         * src/nm-device-private.h
3246           src/nm-device.c
3247                 - (nm_device_hw_bring_up, nm_device_hw_take_down): export
3248
3249         * src/nm-device-802-11-wireless.c
3250                 - (nm_device_802_11_wireless_set_enabled): take devices up
3251                         and down as appropriate for the rfkill state
3252
3253 2008-05-13  Dan Williams  <dcbw@redhat.com>
3254
3255         * marshallers/nm-marshal.list
3256                 - Add VOID:POINTER,STRING marshaller for ifcfg-fedora plugin
3257
3258         * system-settings/plugins/ifcfg-fedora/Makefile.am
3259           system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
3260           system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
3261                 - Implement a minimal inotify helper for watch paths for IN_CLOSE_WRITE
3262                         events.  Solely for use watching ifcfg files to pick up changes
3263                         to their hardlinks, since GIO doesn't support this yet (bgo #532815)
3264
3265         * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
3266                 - (nm_ifcfg_connection_class_init): new 'ifcfg-changed' signal when the
3267                         file contents change
3268                 - (finalize): clean up inotify watches
3269                 - (nm_ifcfg_connection_new): store keyfile; inotify watch the keyfile
3270                         and the connection ifcfg for changes on their hardlinks
3271                 - (files_changed_cb): proxy the changed signal back out to listeners
3272
3273         * system-settings/plugins/ifcfg-fedora/plugin.c
3274                 - (dir_changed): 
3275                 - (connection_ifcfg_changed): re-read the connection when the ifcfg
3276                         changes
3277                 - (read_one_connection): connect to change signals on the new connection
3278                 - (dir_changed, connection_changed_handler,
3279                    handle_connection_remove_or_new): break out connection change
3280                         handling and connection new/remove handling so it can be used from
3281                         both the GFileMonitor callback and the NMIfcfgConnection changed
3282                         signals
3283
3284         * system-settings/plugins/ifcfg-fedora/reader.c
3285           system-settings/plugins/ifcfg-fedora/reader.h
3286                 - (connection_from_file): return the keyfile path the connection would use
3287
3288 2008-05-13  Tambet Ingo  <tambet@gmail.com>
3289
3290         * system-settings/src/nm-polkit-helpers.c (create_polkit_context): Use a 
3291         single PolKitContext which is shared by all. PolKitContext::unref leaks
3292         just about everything, including all open file descriptiors and results
3293         in 99% cpu usage when data arrives to any of the fds that don't belong
3294         to any context anymore.
3295
3296 2008-05-12  Dan Williams  <dcbw@redhat.com>
3297
3298         * gfilemonitor/glocaldirectorymonitor.c
3299           gfilemonitor/glocaldirectorymonitor.h
3300                 - (g_local_directory_monitor_constructor): actually subscribe to the
3301                         watch
3302                 - (_g_local_directory_monitor_new): ensure that inotify is started up
3303
3304         * gfilemonitor/glocalfilemonitor.c
3305           gfilemonitor/glocalfilemonitor.h
3306                 - (g_local_file_monitor_constructor): actually subscribe to the watch
3307                 - (_g_local_file_monitor_new): ensure that inotify is started up
3308
3309 2008-05-11  Dan Williams  <dcbw@redhat.com>
3310
3311         * configure.in
3312                 - record PolicyKit version
3313
3314         * system-settings/src/nm-polkit-helpers.c
3315                 - (check_polkit_privileges): use polkit_context_can_caller_do_action()
3316                         with PolicyKit <= 0.6
3317
3318 2008-05-11  Dan Williams  <dcbw@redhat.com>
3319
3320         Update Fedora system-settings plugin to support latest API and use
3321         GFileMonitor rather than home-rolled inotify code.
3322
3323         * system-settings/plugins/ifcfg-fedora/Makefile.am
3324           system-settings/plugins/ifcfg-fedora/common.h
3325           system-settings/plugins/ifcfg-fedora/plugin.c
3326                 - Update to latest system settings plugin API; use GIO instead of
3327                         custom inotify code; use NMIfcfgConnection objects instead of
3328                         ConnectionData structures tacked onto NMConnection objects
3329
3330         * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
3331           system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.h
3332                 - Implement an NMExportedConnection subclass mapping ifcfg files to
3333                         connections
3334
3335         * system-settings/plugins/ifcfg-fedora/reader.c
3336           system-settings/plugins/ifcfg-fedora/reader.h
3337                 - Move ifcfg parsing bits here from parser.c
3338
3339         * system-settings/plugins/ifcfg-fedora/parser.c
3340           system-settings/plugins/ifcfg-fedora/parser.h
3341                 - Remove; most code moved to reader.c
3342
3343 2008-05-11  Dan Williams  <dcbw@redhat.com>
3344
3345         * configure.in
3346           Makefile.am
3347           gfilemonitor/*
3348                 - Add a private copy of the GIO GFileMonitor code, with a custom GFile
3349                         implementation, so that the same change monitoring code can be used
3350                         on systems without glib-2.14 (like Fedora 8)
3351
3352         * system-settings/plugins/keyfile/Makefile.am
3353           system-settings/plugins/keyfile/plugin.c
3354           system-settings/plugins/ifcfg-suse/Makefile.am
3355           system-settings/plugins/ifcfg-suse/plugin.c
3356                 - Use private gfilemonitor code if GIO is not present
3357
3358 2008-05-09  Tambet Ingo  <tambet@gmail.com>
3359
3360         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c: Implement
3361         NMExportedConnection's 'update' and 'delete' and return error with
3362         descriptive message.
3363
3364 2008-05-08  Dan Williams  <dcbw@redhat.com>
3365
3366         Patch from Markus Becker <mab@comnets.uni-bremen.de>
3367
3368         * src/nm-gsm-device.c
3369           src/nm-cdma-device.c
3370                 - (real_get_best_auto_connection): implement; allow autoconnection
3371                         to GSM & CDMA devices
3372
3373 2008-05-08  Tambet Ingo  <tambet@gmail.com>
3374
3375         Use PolicyKit to authorize the system settings' AddConnection method
3376         and the system settings connections' Update and Delete methods.
3377         
3378         * libnm-glib/nm-settings.c (impl_exported_connection_update)
3379         (impl_exported_connection_delete, nm_exported_connection_update)
3380         (nm_exported_connection_delete): Return boolean and fill GError
3381         to notify the callers of the reasons why it might have failed.
3382
3383         * libnm-glib/nm-dbus-settings-system.c
3384         (nm_dbus_settings_system_add_connection): Return the error from dbus
3385         call so that the callers can see why it failed.
3386
3387         * libnm-glib/nm-dbus-connection.c (update, delete): Update the 
3388         signatures.
3389
3390         * system-settings/src/nm-polkit-helpers.[ch]: Implement.
3391
3392         * system-settings/src/nm-sysconfig-connection.[ch]: Implement. New
3393         abstract base class that checks PolicyKit permissions.
3394
3395         * system-settings/src/dbus-settings.c:
3396         (impl_settings_add_connection): Check the policy before carring out
3397         the request.
3398
3399         * system-settings/plugins/keyfile/nm-keyfile-connection.c:
3400         Inherit from NMSysconfigConnection, check the policies before
3401         allowing updating or removing.
3402
3403         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c:
3404         Inherit from NMSysconfigConnection.
3405
3406         * introspection/nm-exported-connection.xml: Annotate "Update" and 
3407         "Delete" methods with async flag so that the implementations can get
3408         access to DBusGMethodInvocation.
3409
3410         * system-settings/src/dbus-settings.c 
3411         (settings_add_connection_check_privileges): Implement.
3412         (impl_settings_add_connection): Check the privileges before adding a new
3413         connection. Improve error reporting.
3414
3415         * introspection/nm-settings-system.xml: Make the 'AddConnection' method
3416         async so that the implementation can access DBusGMethodInvocation.
3417
3418         * configure.in: Check for PolicyKit.
3419
3420         * policy/org.freedesktop.network-manager-settings.system.policy: 
3421         New file.
3422
3423         * policy/Makefile.am: Install the policy file.
3424
3425         * configure.in: Add 'policy' subdir.
3426
3427 2008-05-08  Tambet Ingo  <tambet@gmail.com>
3428
3429         Rewrite the suse system settings plugin.
3430
3431         * system-settings/plugins/ifcfg-suse/plugin.c: Rewrite.
3432
3433         * system-settings/plugins/ifcfg-suse/parser.c: Rewrite.
3434
3435         * system-settings/plugins/ifcfg-suse/nm-suse-connection.[ch]: Implement.
3436
3437         * system-settings/plugins/ifcfg-suse/Makefile.am: Add new files to build.
3438
3439         * system-settings/src/dbus-settings.c: Fix connection reference counting.
3440
3441         * system-settings/src/main.c (load_plugins): Improve error reporting.
3442
3443         * system-settings/src/sha1.[ch] Add.
3444
3445         * system-settings/src/Makefile.am: Add sha1[ch] to build.
3446
3447 2008-05-07  Dan Williams  <dcbw@redhat.com>
3448
3449         * system-settings/plugins/keyfile/reader.c
3450                 - (read_one_setting_value): handle IP address items separately
3451                 - (read_array_of_uint): read IPv4 DNS option as a string array
3452                 - (read_array_of_array_of_uint): read IPv4 address tuples as a string
3453                         array
3454
3455         * system-settings/plugins/keyfile/writer.c
3456                 - (write_setting_value): handle IP address items separately
3457                 - (write_array_of_uint): handle IPv4 DNS option as a string array,
3458                         not an array of uint, so that it's user-editable
3459                 - (write_array_of_array_of_uint): handle IPv4 address tuples as string
3460                         arrays, so they are user-editable
3461
3462 2008-05-07  Dan Williams  <dcbw@redhat.com>
3463
3464         * system-settings/plugins/keyfile/Makefile.am
3465                 - Change location of the keyfile plugin settings to
3466                         /etc/NetworkManager/system-connections
3467
3468 2008-05-05  Tambet Ingo  <tambet@gmail.com>
3469
3470         * system-settings/plugins/keyfile/nm-keyfile-connection.[ch]: Implement.
3471
3472         * system-settings/plugins/keyfile/plugin.c: Work with
3473         NMKeyfileConnections.
3474
3475         * system-settings/src/dbus-settings.c: Remove NMSysconfigExportedConnection.
3476         Plugins are supposed to return NMExportedConnections now and handle the
3477         updated(), removed(), and GetSecrets().
3478         Store the internal list of connections in hash table to make it easier
3479         to find duplicates.
3480
3481 2008-05-07  Tambet Ingo  <tambet@gmail.com>
3482
3483         * src/backends/NetworkManagerSuSE.c (nm_system_set_hostname): Update
3484         for multiple IP addresses.
3485
3486 2008-05-07  Tambet Ingo  <tambet@gmail.com>
3487
3488         Patch from André Lemos.
3489
3490         * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Fix a memory
3491         corruption.
3492
3493 2008-05-06  Dan Williams  <dcbw@redhat.com>
3494
3495         * src/dhcp-manager/nm-dhcp-manager.c
3496                 - (nm_dhcp_manager_get_ip4_config): clean up; update for changes to
3497                         NMIP4Config to support multiple IP addresses
3498
3499         * src/NetworkManagerUtils.c
3500                 - (nm_utils_merge_ip4_config): update for multiple IP addresses
3501
3502         * src/nm-ip4-config.c
3503           src/nm-ip4-config.h
3504                 - Store a list of IPv4 address/netmask/gateway tuples
3505                 - (nm_ip4_config_get_gateway, nm_ip4_config_set_gateway,
3506                    nm_ip4_config_get_netmask, nm_ip4_config_set_netmask,
3507                    nm_ip4_config_get_broadcast, nm_ip4_config_set_broadcast,
3508                    nm_ip4_config_set_address): remove
3509                 - (nm_ip4_config_take_address, nm_ip4_config_add_address,
3510                    nm_ip4_config_replace_address, nm_ip4_config_get_num_addresses):
3511                         new functions; handle multiple IPv4 addresses
3512
3513         * src/nm-device.c
3514           src/ppp-manager/nm-ppp-manager.c
3515           src/vpn-manager/nm-vpn-connection.c
3516           src/NetworkManagerPolicy.c
3517           test/nm-tool.c
3518           libnm-glib/libnm-glib-test.c
3519                 - update for changes to NMIP4Config for multiple IPv4 addresses
3520
3521         * src/NetworkManagerSystem.c
3522                 - (nm_system_device_set_ip4_route): don't add the route if any address
3523                         is on the same subnet as the destination
3524                 - (check_one_address): ignore the exact match, just match family and
3525                         interface index
3526                 - (add_ip4_addresses): add all IPv4 addresses in an NMIP4Config to
3527                         an interface
3528                 - (nm_system_device_set_from_ip4_config): use add_ip4_addresses()
3529                 - (nm_system_vpn_device_set_from_ip4_config): use add_ip4_addresses()
3530
3531         * introspection/nm-ip4-config.xml
3532                 - Remove 'address', 'gateway', 'netmask', and 'broadcast' properties
3533                 - Add 'addresses' property which is an array of (uuu) tuples of
3534                         address/netmask/gateway
3535
3536         * libnm-util/nm-setting-ip4-config.c
3537                 - (set_property): use ip-address <-> GValue converters from nm-utils.c
3538
3539         * libnm-glib/nm-ip4-config.c
3540           libnm-glib/nm-ip4-config.h
3541                 - Handle D-Bus interface changes to support multiple IP addresses
3542
3543 2008-05-06  Dan Williams  <dcbw@redhat.com>
3544
3545         * libnm-util/nm-utils.c
3546           libnm-util/nm-utils.h
3547                 - (nm_utils_ip4_addresses_from_gvalue,
3548                    nm_utils_ip4_addresses_to_gvalue): new functions
3549
3550 2008-05-06  Tambet Ingo  <tambet@gmail.com>
3551
3552         * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Don't leak
3553         the returned connection paths.
3554
3555 2008-05-05  Tambet Ingo  <tambet@gmail.com>
3556
3557         * libnm-glib/nm-dbus-settings.c (constructor): Fix the 
3558         "PropertiesChanged" signal signature.
3559
3560         * libnm-glib/nm-dbus-connection.c (constructor): Use the common GType
3561         defined in nm-dbus-glib-types.h.
3562         Don't register the connection on dbus, we're a proxy class to 
3563         communicate with an already registered connection over dbus.
3564
3565 2008-04-30  Tambet Ingo  <tambet@gmail.com>
3566
3567         Implement new subclasses of NMSettings and NMExportedConnection to make
3568         it easier for the applet to access and modify system settings.
3569
3570         * libnm-glib/nm-dbus-connection.[ch]:
3571         * libnm-glib/nm-dbus-settings.[ch]:
3572         * libnm-glib/nm-dbus-settings-system.[ch]: Implement.
3573
3574         * libnm-glib/Makefile.am: Add the new files to build, generate some more
3575         bindings and glue.
3576
3577         * include/NetworkManager.h: Define the system settings DBus interface.
3578
3579 2008-04-30  Tambet Ingo  <tambet@gmail.com>
3580
3581         Implement additional C API for exported connections to make them identical
3582         with the DBus API. Change the (list_connections) virtual function to be
3583         more usable from C - instead of requiring implementers to return a GPtrArray
3584         of dbus paths, return a list of connections.
3585
3586         * libnm-glib/nm-settings.c (nm_exported_connection_class_init): Fix a typo.
3587         (nm_settings_list_connections):
3588         (nm_exported_connection_new):
3589         (nm_exported_connection_update):
3590         (nm_exported_connection_delete): Implement.
3591
3592         (impl_settings_list_connections):
3593         (impl_exported_connection_update):
3594         (impl_exported_connection_delete): Use the new public functions to make 
3595         sure the C and dbus interfaces stay in sync.
3596
3597         * system-settings/src/dbus-settings.c (list_connections): Return a list of
3598         connections.
3599
3600 2008-05-02  Dan Williams  <dcbw@redhat.com>
3601
3602         * system-settings/plugins/ifcfg-fedora/plugin.c
3603                 - (dispose): use right unref call on the DBusGConnection
3604
3605 2008-05-02  Dan Williams  <dcbw@redhat.com>
3606
3607         * src/nm-serial-device.c
3608                 - (find_terminator): don't compare the whole line, just the size of the
3609                         terminator, since some modems put stuff after the terminator, like
3610                         "CONNECT 9600"
3611
3612 2008-05-01  Dan Williams  <dcbw@redhat.com>
3613
3614         Patch from Michael Biebl <biebl@debian.org>
3615
3616         * callouts/Makefile.am
3617           callouts/org.freedesktop.nm_dispatcher.service.in
3618           system-settings/src/Makefile.am
3619           system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service.in
3620                 - use the right install location for dbus-activated stuff
3621
3622 2008-04-30  Dan Williams  <dcbw@redhat.com>
3623
3624         * src/nm-gsm-device.c
3625                 - (enter_pin): fix setting name passed to applets when asking for a GSM
3626                         PIN or PUK
3627
3628 2008-04-30  Dan Williams  <dcbw@redhat.com>
3629
3630         * src/nm-manager.c
3631                 - (nm_manager_error_get_type): remove erroneous NULL enum from table
3632
3633 2008-04-30  Dan Williams  <dcbw@redhat.com>
3634
3635         * src/nm-device-802-3-ethernet.c
3636           src/nm-device-802-11-wireless.c
3637                 - (real_is_up): return true instead of chaining up to unimplemented
3638                         parent method
3639
3640 2008-04-30  Dan Williams  <dcbw@redhat.com>
3641
3642         * src/NetworkManagerSystem.c
3643           src/NetworkManagerSystem.h
3644                 - (nm_system_device_is_up, nm_system_device_is_up_with_iface): new
3645                         functions to check device flags for IFF_UP
3646
3647         * src/nm-serial-device.c
3648                 - (real_is_up): remove; NMDevice now returns TRUE if the subclass doesn't
3649                         implement is_up
3650
3651         * src/nm-device-802-3-ethernet.c
3652           src/nm-device-802-11-wireless.c
3653                 - (real_hw_is_up): call nm_system_device_is_up()
3654
3655         * src/nm-device.c
3656                 - (real_hw_is_up): move to nm_system_device_is_up_with_iface()
3657                 - (real_is_up): remove; nm_device_is_up() returns TRUE if subclass
3658                         does not implement
3659
3660 2008-04-29  Dan Williams  <dcbw@redhat.com>
3661
3662         Handle HAL dropouts better; allow NM to start up even if HAL isn't up yet.
3663
3664         * marshallers/nm-marshal.list
3665                 - Add marshaller
3666
3667         * src/NetworkManager.c
3668                 - (main): let the NMManager handle the NMHalManager
3669
3670         * src/nm-hal-manager.c
3671           src/nm-hal-manager.h
3672                 - convert to a GObject, and emit singals when stuff changes.  Let the
3673                         NMManager handle the signals, instead of the NMHalManager calling
3674                         into the NMManager.  
3675
3676         * src/nm-manager.c
3677           src/nm-manager.h
3678                 - (remove_one_device): consolidate device removals here
3679                 - (dispose): use remove_one_device()
3680                 - (nm_manager_get_device_by_udi): make static
3681                 - (deferred_hal_manager_query_devices): idle handler to query the HAL
3682                         manager for devices at startup or wakeup time
3683                 - (nm_manager_new): create and monitor the HAL manager
3684                 - (hal_manager_udi_added_cb): new function; do what
3685                         nm_manager_add_device() used to do when signalled by the hal manager
3686                 - (hal_manager_udi_removed_cb): new function; do what
3687                         nm_manager_remove_device() used to do when signalled by the hal
3688                         manager
3689                 - (hal_manager_rfkill_changed_cb): handle rfkill changes from the
3690                         hal manager
3691                 - (hal_manager_hal_reappeared_cb): when HAL comes back, remove devices
3692                         in our device list that aren't known to HAL
3693                 - (impl_manager_sleep): on wakeup, re-add devices from an idle handler;
3694                         see comments on nm-hal-manager.c::nm_manager_state_changed() a few
3695                         commits ago
3696                 - (nm_manager_get_device_by_path, nm_manager_is_udi_managed,
3697                    nm_manager_activation_pending, nm_manager_wireless_enabled,
3698                    nm_manager_wireless_hardware_enabled,
3699                    nm_manager_set_wireless_hardware_enabled): remove, unused
3700
3701 2008-04-28  Dan Williams  <dcbw@redhat.com>
3702
3703         Fix the device up/down ambiguities.  Up/down state used to be a
3704         conglomeration of hardware state (IFF_UP) and any device-specific things
3705         (supplicant, periodic timers, etc) that the device used to indicate
3706         readiness.  Unfortunately, if the hardware was already IFF_UP for some
3707         reason, then the device specific stuff wouldn't get run, and the device
3708         would be stuck.
3709
3710         * src/nm-device.c
3711           src/nm-device.h
3712                 - Create hw_is_up, hw_bring_up, and hw_take_down
3713                 - Rename bring_down -> take_down
3714                 - (real_hw_is_up): check interface flags for IFF_UP
3715                 - (nm_device_hw_is_up): let subclasses figure out their own HW state
3716                 - (nm_device_is_up): make static; only used locally
3717                 - (nm_device_hw_bring_up): update the hardware and IPv4 addresses even
3718                         if the device is already up; if the device isn't up, bring it up
3719                 - (nm_device_hw_take_down): just take down hardware
3720                 - (nm_device_bring_up): bring up HW first, then device specific stuff
3721                 - (nm_device_take_down): always deactivate device when called; always
3722                         try to take hardware down too
3723                 - (nm_device_state_changed): take device down when entering unmanaged
3724                         state from a higher state
3725
3726         * src/nm-device-802-11-wireless.c
3727                 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
3728                         check IFF_UP really
3729                 - (real_take_down, supplicant_iface_state_cb_handler, 
3730                    supplicant_iface_connection_state_cb_handler,
3731                    supplicant_mgr_state_cb_handler): fix some messages
3732
3733         * src/nm-device-802-3-ethernet.c
3734                 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
3735                         check IFF_UP really
3736
3737 2008-04-28  Dan Williams  <dcbw@redhat.com>
3738
3739         * src/nm-manager.c
3740           src/nm-manager.h
3741                 - (nm_manager_error_get_type): add new error
3742                 - (nm_manager_remove_device): don't bother taking down the device here,
3743                         the state change from unmanaging the device will do it
3744                 - (impl_manager_sleep): move nm_manager_sleep() here since nothing else
3745                         uses it; when going to sleep, just unmanage the device instead of
3746                         taking it down, because stuff will cleaned up correctly when the
3747                         device gets unmanaged
3748
3749 2008-04-28  Dan Williams  <dcbw@redhat.com>
3750
3751         * src/nm-hal-manager.c
3752                 - (add_initial_devices): convert to a GSourceFunc prototype
3753                 - (nm_manager_state_changed): when coming out of sleep, punt the
3754                         device re-addition to an idle handler to let D-Bus events go out
3755                         first, fixing a potential dbus-glib assert if the old device was
3756                         not yet disposed (due to references held while emitting the D-Bus
3757                         signals) but the new device was found, because the mainloop didn't
3758                         run between signal emission and add_initial_devices()
3759
3760 2008-04-27  Dan Williams  <dcbw@redhat.com>
3761
3762         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3763
3764         * initscript/paldo/NetworkManager.in
3765           initscript/SUSE/networkmanager.in
3766                 - Remove last bits of dhcdbd
3767
3768 2008-04-27  Dan Williams  <dcbw@redhat.com>
3769
3770         * src/nm-device-802-11-wireless.c
3771                 - (link_timeout_cb): don't ask for secrets when disconnected during
3772                         association/authentication phase, drivers are still just too crappy
3773
3774 2008-04-27  Dan Williams  <dcbw@redhat.com>
3775
3776         * Makefile.am
3777           configure.in
3778           dispatcher-daemon/Makefile.am
3779           dispatcher-daemon/NetworkManagerDispatcher.c
3780           initscript/Arch/Makefile.am
3781           initscript/Arch/networkmanager-dispatcher.in
3782           initscript/Gentoo/Makefile.am
3783           initscript/Gentoo/NetworkManagerDispatcher.in
3784           initscript/Mandriva/Makefile.am
3785           initscript/Mandriva/networkmanagerdispatcher.in
3786           initscript/RedHat/Makefile.am
3787           initscript/RedHat/NetworkManagerDispatcher.in
3788           initscript/SUSE/Makefile.am
3789           initscript/SUSE/networkmanager-dispatcher.in
3790           initscript/Slackware/Makefile.am
3791           initscript/Slackware/rc.networkmanager-dispatcher.in
3792           initscript/paldo/Makefile.am
3793           initscript/paldo/NetworkManagerDispatcher.in
3794           man/Makefile.am
3795           man/NetworkManagerDispatcher.8.in
3796                 - Remove the dispatcher daemon
3797
3798 2008-04-27  Dan Williams  <dcbw@redhat.com>
3799
3800         * callouts/Makefile.am
3801           callouts/nm-dispatcher-action.c
3802           callouts/nm-dispatcher-action.h
3803           callouts/nm-dispatcher.conf
3804           callouts/nm-dispatcher.xml
3805           callouts/org.freedesktop.nm_dispatcher.service
3806                 - Re-implement the dispatcher as a system-bus activated service that
3807                         NM calls on-demand, rather than an always running daemon
3808
3809         * src/Makefile.am
3810                 - Add callouts dir to includes to pick up dispatcher defines
3811
3812         * src/nm-device.c
3813                 - (nm_device_state_changed): call dispatcher on device activated/
3814                         deactivated
3815
3816         * src/vpn-manager/nm-vpn-connection.c
3817                 - (nm_vpn_connection_set_vpn_state): call dispatcher when VPN connections
3818                         go up and down
3819
3820         * src/NetworkManagerUtils.c
3821           src/NetworkManagerUtils.h
3822                 - (nm_utils_call_dispatcher): helper to call dispatcher
3823
3824 2008-04-27  Dan Williams  <dcbw@redhat.com>
3825
3826         * src/NetworkManagerUtils.c
3827           src/NetworkManagerUtils.h
3828                 - remove unneeded includes
3829                 - (nm_null_safe_strcmp, nm_ethernet_addresses_are_equal,
3830                    nm_utils_inet_ip4_address_as_string, nm_timeval_has_passed,
3831                    nm_timeval_cmp, nm_timeval_add): remove, unused
3832                 - clean up formatting
3833                 - (nm_spawn_process): de-uglify
3834
3835         * src/nm-device-802-11-wireless.c
3836                 - (get_active_ap): use memcmp() not nm_ethernet_addresses_are_equal()
3837
3838 2008-04-26  Saleem Abdulrasool  <compnerd@compnerd.org>
3839
3840         * initscript/Gentoo/NetworkManager.in:
3841                 Fix for starting the daemon.
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                 - (nm_system_device_set_ip4_route): reimplement using libnl, not ioctls
3849
3850 2008-04-25  Dan Williams  <dcbw@redhat.com>
3851
3852         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3853
3854         * src/NetworkManagerSystem.c
3855                 - (nm_system_device_replace_default_ip4_route): new function; a libnl
3856                         implementation of nm_system_device_replace_default_route()
3857
3858         * src/NetworkManagerPolicy.c
3859                 - (update_default_route): use nm_system_device_replace_default_ip4_route()
3860
3861         * src/backends/NetworkManagerArch.c
3862           src/backends/NetworkManagerDebian.c
3863           src/backends/NetworkManagerFrugalware.c
3864           src/backends/NetworkManagerGeneric.c
3865           src/backends/NetworkManagerGeneric.h
3866           src/backends/NetworkManagerGentoo.c
3867           src/backends/NetworkManagerMandriva.c
3868           src/backends/NetworkManagerPaldo.c
3869           src/backends/NetworkManagerRedHat.c
3870           src/backends/NetworkManagerSlackware.c
3871           src/backends/NetworkManagerSuSE.c
3872                 - (nm_system_device_replace_default_route): remove
3873
3874 2008-04-25  Dan Williams  <dcbw@redhat.com>
3875
3876         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3877
3878         * src/NetworkManagerSystem.c
3879                 - (validate_ip4_route): remove; use nl_addr_parse() instead
3880                 - (nm_system_device_add_ip4_route_via_device_with_iface): new function,
3881                         replace nm_system_device_add_route_via_device_with_iface() in the
3882                         backends
3883
3884         * src/backends/NetworkManagerArch.c
3885           src/backends/NetworkManagerDebian.c
3886           src/backends/NetworkManagerFrugalware.c
3887           src/backends/NetworkManagerGeneric.c
3888           src/backends/NetworkManagerGeneric.h
3889           src/backends/NetworkManagerGentoo.c
3890           src/backends/NetworkManagerMandriva.c
3891           src/backends/NetworkManagerPaldo.c
3892           src/backends/NetworkManagerRedHat.c
3893           src/backends/NetworkManagerSlackware.c
3894           src/backends/NetworkManagerSuSE.c
3895                 - Remove nm_system_device_add_route_via_device_with_iface()
3896
3897 2008-04-25  Dan Williams  <dcbw@redhat.com>
3898
3899         * system-settings/plugins/ifcfg-fedora/parser.c
3900                 - (GET_ONE_DNS): fix parsing of DNS2 & DNS3
3901
3902 2008-04-24  Dan Williams  <dcbw@redhat.com>
3903
3904         * dispatcher-daemon/NetworkManagerDispatcher.c
3905                 - (nmd_execute_scripts): execute scripts in order as sorted by strcmp()
3906
3907 2008-04-24  Dan Williams  <dcbw@redhat.com>
3908
3909         * initscript/RedHat/NetworkManager.in
3910           initscript/RedHat/NetworkManagerDispatcher.in
3911                 - Be active at runlevel 2
3912                 - Adjust priorities earlier
3913
3914 2008-04-22  Dan Williams  <dcbw@redhat.com>
3915
3916         * src/NetworkManagerPolicy.c
3917                 - (update_routing_and_dns): when checking for a gateway, look at the
3918                         composite IP4 config, not the connection's ip4-config setting, which
3919                         doesn't include DHCP-returned information
3920
3921 2008-04-22  Tambet Ingo  <tambet@gmail.com>
3922
3923         Implement GKeyFile system settings plugin.
3924         Implement writing system settings (currently supported only by GKeyFile plugin).
3925
3926         * system-settings/src/main.c: 
3927         * system-settings/src/dbus-settings.c: Move the communication with plugins
3928         from main.c to dbus-settings.c. Makes it possible to talk to all registered
3929         plugins for adding/updating/removing connections.
3930
3931         * system-settings/src/nm-system-config-interface.c
3932         (nm_system_config_interface_add_connection): Implement
3933         (nm_system_config_interface_update_connection): Implement.
3934         (nm_system_config_interface_remove_connection): Implement.
3935
3936         * system-settings/plugins/keyfile/Makefile.am:
3937         * system-settings/plugins/keyfile/plugin.[ch]:
3938         * system-settings/plugins/keyfile/writer.[ch]:
3939         * system-settings/plugins/keyfile/reader.[ch]: Implement.
3940
3941         * system-settings/plugins/Makefile.am: Add GKeyFile plugin.
3942
3943         * configure.in: Generate GKeyFile Makefile.
3944
3945         * libnm-glib/nm-settings.c (impl_exported_connection_get_id): Fix a memory
3946         corruption, need to duplicate the returned string.
3947         (impl_exported_connection_update): Implement.
3948         (impl_exported_connection_delete): Implement.
3949
3950         * introspection/nm-settings-system.xml: Add "AddConnection" method.
3951
3952         * introspection/nm-exported-connection.xml: Add "Update" and "Delete" methods.
3953
3954 2008-04-22  Dan Williams  <dcbw@redhat.com>
3955
3956         Patch from Charles R. Anderson (cra@wpi.edu)
3957
3958         * src/NetworkManagerPolicy.c
3959                 - (update_routing_and_dns): don't select devices without a gateway
3960                         as having the default route (rh #437338)
3961
3962 2008-04-21  Dan Williams  <dcbw@redhat.com>
3963
3964         * src/nm-activation-request.c
3965           src/nm-activation-request.h
3966                 - (dispose): ensure to disconnect from the device's state-changed signal
3967                         when appropriate so the signal doesn't get handled by an already
3968                         disposed NMActRequest
3969                 - (device_state_changed): update is_default here too just to make sure
3970                         default is only True when the child device is activated
3971                 - (nm_act_request_set_default): new function
3972
3973         * src/NetworkManagerPolicy.c
3974                 - (update_routing_and_dns): set 'default' on the active connection which
3975                         has the default route and DNS
3976
3977 2008-04-21  Dan Williams  <dcbw@redhat.com>
3978
3979         * src/NetworkManagerPolicy.c
3980                 - (device_state_changed): update routing and DNS when a device goes
3981                         into unmanaged or unavailable states too (like rfkill or carrier loss)
3982
3983 2008-04-21  Dan Williams  <dcbw@redhat.com>
3984
3985         * include/NetworkManager.h
3986                 - Add NMActiveConnectionState enum
3987
3988         * introspection/nm-active-connection.xml
3989           introspection/nm-vpn-connection.xml
3990                 - Add 'State' property for overall active connection state
3991                 - Add 'Default' property, when True means this active connection
3992                         has the default route
3993                 - Add PropertyChanged signals so changes actually go out over the bus
3994
3995         * src/nm-active-connection.h
3996                 - Add defines for State & Default properties
3997
3998         * src/nm-activation-request.c
3999                 - Add 'state' and 'default' properties, hook up to device 'state-changed'
4000                         signal to determine active connection state
4001
4002         * src/vpn-manager/nm-vpn-connection.c
4003           src/vpn-manager/nm-vpn-connection.h
4004           src/vpn-manager/nm-vpn-manager.c
4005           src/vpn-manager/nm-vpn-service.c
4006                 - Rename old 'state' to 'vpn-state'
4007                 - Rename nm_vpn_connection_get_state() -> nm_vpn_connection_get_vpn_state()
4008                 - Add 'state' and 'default' properties, hook up to the vpn connection's
4009                         'vpn-state-changed' signal
4010
4011         * libnm-glib/nm-active-connection.c
4012           libnm-glib/nm-active-connection.h
4013                 - Add new 'state' and 'default' properties and accessors
4014
4015         * libnm-glib/nm-vpn-connection.c
4016           libnm-glib/nm-vpn-connection.h
4017                 - Rename old 'state' property to 'vpn-state'
4018                 - Add new 'state' and 'default' properties and accessors
4019
4020 2008-04-21  Dan Williams  <dcbw@redhat.com>
4021
4022         * src/nm-ip4-config.c
4023                 - (nm_ip4_config_to_rtnl_addr): fill in the broadcast address if it's
4024                         not specified (rh #443474)
4025
4026 2008-04-20  Dan Williams  <dcbw@redhat.com>
4027
4028         * src/NetworkManagerUtils.c
4029           src/NetworkManagerUtils.h
4030                 - (nm_utils_merge_ip4_config): new function; merge settings from an
4031                         NMSettingIP4Config to an NMIP4Config object
4032
4033         * src/nm-device.c
4034                 - (merge_ip4_config): move to NetworkManagerUtils.c
4035
4036         * src/vpn-manager/nm-vpn-connection.c
4037                 - (nm_vpn_connection_ip4_config_get): merge in user-specified settings
4038                         too
4039
4040 2008-04-18  Dan Williams  <dcbw@redhat.com>
4041
4042         * libnm-util/nm-setting-ppp.c
4043           libnm-util/nm-setting-ppp.h
4044                 - Add 'no-vj-comp' option for TCP header compression
4045                 - baud, mru, mtu, lcp_echo_failure, and lcp_echo_interval are really
4046                         uint32
4047
4048 2008-04-18  Dan Williams  <dcbw@redhat.com>
4049
4050         * libnm-util/nm-setting-ppp.c
4051           libnm-util/nm-setting-ppp.h
4052           src/ppp-manager/nm-ppp-manager.c
4053                 - Add 'refuse-pap' and 'refuse-mschapv2' options
4054
4055 2008-04-18  Dan Williams  <dcbw@redhat.com>
4056
4057         * libnm-util/nm-setting-ppp.c
4058           libnm-util/nm-setting-ppp.h
4059           src/ppp-manager/nm-ppp-manager.c
4060                 - Remove the 'usepeerdns' option and always request DNS servers from
4061                         the PPP server; the connection chooses to use/override/ignore the
4062                         DNS servers returned from the PPP server
4063
4064 2008-04-18  Dan Williams  <dcbw@redhat.com>
4065
4066         * libnm-util/nm-setting-ppp.c
4067           libnm-util/nm-setting-ppp.h
4068           src/ppp-manager/nm-ppp-manager.c
4069                 - Remove the 'require-mppc' option, because pppd doesn't support it and
4070                         it seems to have been an erroneous addition to the PPTP plugin in
4071                         the first place (from which the ppp-manager is derived)
4072
4073 2008-04-17  Dan Williams  <dcbw@redhat.com>
4074
4075         * libnm-util/nm-setting-pppoe.c
4076                 - (verify): require a PPP setting too
4077
4078         * src/ppp-manager/nm-ppp-manager.c
4079                 - (nm_ppp_manager_start): fail if no PPP setting is present instead of
4080                         segfaulting
4081
4082 2008-04-17  Dan Williams  <dcbw@redhat.com>
4083
4084         * src/nm-device.c
4085                 - (nm_device_state_changed): do deactivation and and promotion to
4086                         unavailable here, so that the device gets cleaned up before the
4087                         manager runs and starts emitting signals; do the
4088                         FAILED->DISCONNECTED transition from an idle handler rather than
4089                         immediately to guard against recursion
4090                 - (nm_device_deactivate_quickly, nm_device_dispose): stop the
4091                         FAILED->DISCONNECTED handler if it's scheduled
4092
4093 2008-04-17  Dan Williams  <dcbw@redhat.com>
4094
4095         * src/nm-device-802-11-wireless.c
4096                 - (state_changed_cb): clear AP list when device transitions to
4097                         unavailable or unmanaged
4098                 - (nm_device_802_11_wireless_dispose): remove redundant set_current_ap()
4099                         since this is already done in device_cleanup()
4100                 - (supplicant_iface_scanned_ap_cb): don't leak new APs when the device
4101                         isn't available or managed
4102                 - (device_cleanup): use remove_all_aps()
4103                 - (remove_all_aps): consolidate code removing all APs
4104
4105 2008-04-17  Dan Williams  <dcbw@redhat.com>
4106
4107         * src/nm-serial-device.c
4108           src/nm-serial-device.h
4109                 - (wait_for_reply_got_data): break input into lines, and search each
4110                         line for responses _and_ terminator strings; also make sure that
4111                         the read loop doesn't continue after the timeout is supposed to fire
4112                 - (nm_serial_device_wait_for_reply): take an array of terminators too
4113
4114         * src/nm-gsm-device.c
4115           src/nm-cdma-device.c
4116                 - Send terminators to nm_serial_device_wait_for_reply()
4117
4118 2008-04-16  Dan Williams  <dcbw@redhat.com>
4119
4120         Patch from 陈鑫 <znscnchen@gmail.com>
4121
4122         * src/ppp-manager/nm-pppd-plugin.c
4123                 - (get_credentials): return correct value for success; handle case where
4124                         pppd just does some checking but doesn't want a password
4125                 - (plugin_init): make CHAP work too
4126
4127 2008-04-16  Dan Williams  <dcbw@redhat.com>
4128
4129         Patch from 陈鑫 <znscnchen@gmail.com>
4130
4131         * src/ppp-manager/nm-ppp-manager.c
4132                 - (create_pppd_cmd_line): fix argument generation when spawning pppd
4133
4134 2008-04-16  Dan Williams  <dcbw@redhat.com>
4135
4136         Patch from 陈鑫 <znscnchen@gmail.com>
4137
4138         * src/nm-device-802-3-ethernet.c
4139                 - (real_deactivate_quickly): clear the IP interface name on
4140                         deactivation, otherwise the wrong interface might get used later
4141                         for routing and IP management
4142
4143 2008-04-15  Dan Williams  <dcbw@redhat.com>
4144
4145         * libnm-glib/nm-device.c
4146                 - (get_product_and_vendor): handle serial devices correctly
4147                 - (nm_device_update_description): pass device to get_product_and_vendor()
4148
4149 2008-04-15  Dan Williams  <dcbw@redhat.com>
4150
4151         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
4152
4153         * src/NetworkManagerSystem.h
4154           src/backends/NetworkManagerArch.c
4155           src/backends/NetworkManagerDebian.c
4156           src/backends/NetworkManagerFrugalware.c
4157           src/backends/NetworkManagerGeneric.c
4158           src/backends/NetworkManagerGeneric.h
4159           src/backends/NetworkManagerGentoo.c
4160           src/backends/NetworkManagerMandriva.c
4161           src/backends/NetworkManagerPaldo.c
4162           src/backends/NetworkManagerRedHat.c
4163           src/backends/NetworkManagerSlackware.c
4164           src/backends/NetworkManagerSuSE.c
4165           src/nm-device.c
4166                 - (nm_generic_device_add_ip6_link_address,
4167                    nm_system_device_add_ip6_link_address): remove
4168
4169 2008-04-15  Dan Williams  <dcbw@redhat.com>
4170
4171         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
4172
4173         * src/backends/NetworkManagerArch.c
4174           src/backends/NetworkManagerDebian.c
4175           src/backends/NetworkManagerFrugalware.c
4176           src/backends/NetworkManagerGeneric.c
4177           src/backends/NetworkManagerGeneric.h
4178           src/backends/NetworkManagerGentoo.c
4179           src/backends/NetworkManagerMandriva.c
4180           src/backends/NetworkManagerPaldo.c
4181           src/backends/NetworkManagerRedHat.c
4182           src/backends/NetworkManagerSlackware.c
4183           src/backends/NetworkManagerSuSE.c
4184           src/NetworkManagerSystem.h
4185                 - flush_routes -> flush_ip4_routes
4186                 - flush_addresses -> flush_ip4_addresses
4187
4188         * src/NetworkManagerSystem.c
4189           src/nm-device.c
4190           src/vpn-manager/nm-vpn-connection.c
4191                 - flush only IPv4 addresses; don't touch IPv6 routes and addresses
4192
4193 2008-04-15  Dan Williams  <dcbw@redhat.com>
4194
4195         Remove exposure of wireless-tools mode types in the API.
4196
4197         * include/NetworkManager.h
4198                 - Define NM80211Mode enum
4199
4200         * introspection/generic-types.xml
4201                 - Describe NM_802_11_MODE enum
4202                 - Remove IW_MODE_* enum
4203
4204         * introspection/nm-access-point.xml
4205           libnm-glib/nm-access-point.c
4206           libnm-glib/nm-access-point.h
4207                 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
4208
4209         * introspection/nm-device-802-11-wireless.xml
4210           libnm-glib/nm-device-802-11-wireless.c
4211           libnm-glib/nm-device-802-11-wireless.h
4212                 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
4213
4214         * libnm-util/nm-setting-wireless.c
4215           src/NetworkManagerAP.c
4216           src/NetworkManagerAP.h
4217           src/nm-device-802-11-wireless.c
4218           src/nm-device-802-11-wireless.h
4219           test/nm-tool.c
4220                 - Use NM80211Mode not IW_MODE_*
4221
4222 2008-04-15  Dan Williams  <dcbw@redhat.com>
4223
4224         Enhance nm-online based on a patch from Bill Nottingham.
4225
4226         * test/nm-online.c
4227                 - Add a '-q' option
4228                 - Add help messages and option summary
4229                 - Add long-format options
4230                 - Add a '-x' option to exit if NM isn't running or isn't connecting
4231
4232 2008-04-15  Tambet Ingo  <tambet@gmail.com>
4233
4234         * libnm-util/nm-setting.c (nm_setting_duplicate): Implement.
4235
4236         * libnm-util/nm-connection.c (nm_connection_remove_setting): Implement.
4237
4238 2008-04-15  Dan Williams  <dcbw@redhat.com>
4239
4240         * nm-setting-ip4-config.c
4241                 - (ip4_addresses_from_gvalue): handle NULL address array
4242
4243         * nm-setting-8021x.c
4244                 - (verify_tls, verify_ttls): warn on failed verification
4245
4246 2008-04-10  Dan Williams  <dcbw@redhat.com>
4247
4248         * src/nm-gsm-device.c
4249                 - (automatic_registration): accept "+CREG: 0,0"
4250                 - (automatic_registration_response): fail on "+CREG: 0,0"
4251
4252 2008-04-10  Tambet Ingo  <tambet@gmail.com>
4253
4254         * libnm-util/nm-setting-wired.c (get_property): Fix a typo.
4255
4256 2008-04-10  Tambet Ingo  <tambet@gmail.com>
4257
4258         * system-settings/plugins/ifcfg-suse/parser.c (make_wireless_security_setting): 
4259         Make it compile again by commenting out broken code that at first didn't work and
4260         now didn't compile either.
4261
4262 2008-04-08  Dan Williams  <dcbw@redhat.com>
4263
4264         * libnm-glib/nm-object-cache.c
4265           libnm-glib/nm-settings.c
4266           src/dhcp-manager/nm-dhcp-manager.c
4267           system-settings/plugins/ifcfg-fedora/plugin.c
4268           system-settings/plugins/ifcfg-suse/plugin.c
4269           system-settings/src/nm-system-config-hal-manager.c
4270           libnm-util/nm-utils.c
4271                 - Remove usage of GStaticMutex since gcc-4.3 hates it and because we're
4272                         not threadsafe anyway
4273
4274 2008-04-08  Dan Williams  <dcbw@redhat.com>
4275
4276         * system-settings/src/main.c
4277                 - (load_stuff, device_added_cb, device_removed_cb): device added/removed
4278                         callbacks take a device type too
4279
4280 2008-04-08  Dan Williams  <dcbw@redhat.com>
4281
4282         The system settings service will now create a new default DHCP connection
4283         for wired devices that have no existing applicable connection.
4284
4285         * system-settings/src/nm-system-config-hal-manager.c
4286           system-settings/src/nm-system-config-hal-manager.h
4287                 - (nm_system_config_hal_manager_get_type_for_udi): new function
4288
4289         * system-settings/src/dbus-settings.c
4290           system-settings/src/dbus-settings.h
4291                 - (nm_sysconfig_settings_get_connections): new function
4292                 - (nm_sysconfig_settings_is_device_managed): new function
4293
4294         * system-settings/src/main.c
4295                 - (load_stuff): check for wired devices that need a default connection
4296                 - (get_details_for_udi): get interface and MAC address from HAL
4297                 - (add_default_dhcp_connection): add a default connection for a wired
4298                         device if needed
4299                 - (device_added_cb, device_removed_cb): do the right thing with
4300                         wired devices and their default connections on HAL device events
4301
4302 2008-04-07  Dan Williams  <dcbw@redhat.com>
4303
4304         * libnm-glib/nm-device.c
4305           libnm-glib/nm-device.h
4306                 - Proxy the 'managed' property
4307
4308 2008-04-07  Dan Williams  <dcbw@redhat.com>
4309
4310         * src/nm-gsm-device.c
4311           src/nm-cdma-device.c
4312                 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
4313                         handler to transition to DISCONNECTED
4314
4315 2008-04-07  Dan Williams  <dcbw@redhat.com>
4316
4317         Patch from Bill Nottingham
4318
4319         * dispatcher-daemon/NetworkManagerDispatcher.c
4320                 - ignore backup/packaging crufy (rh #440143)
4321
4322 2008-04-07  Dan Williams  <dcbw@redhat.com>
4323
4324         * include/NetworkManager.h
4325                 - Remove the DOWN and CANCELLED device states
4326                 - Add UNMANAGED and UNAVAILABLE device states
4327                 - Document the device states
4328
4329         * introspection/nm-device.xml
4330           src/nm-device-interface.c
4331           src/nm-device-interface.h
4332                 - Add the 'managed' property
4333
4334         * test/nm-tool.c
4335                 - (detail_device): print out device state
4336
4337         * src/NetworkManagerSystem.h
4338           src/backends/NetworkManagerArch.c
4339           src/backends/NetworkManagerDebian.c
4340           src/backends/NetworkManagerFrugalware.c
4341           src/backends/NetworkManagerGentoo.c
4342           src/backends/NetworkManagerMandriva.c
4343           src/backends/NetworkManagerPaldo.c
4344           src/backends/NetworkManagerRedHat.c
4345           src/backends/NetworkManagerSlackware.c
4346           src/backends/NetworkManagerSuSE.c
4347                 - (nm_system_device_get_system_config, nm_system_device_get_disabled
4348                    nm_system_device_free_system_config): remove; they were unused and
4349                         their functionality should be re-implemented in each distro's
4350                         system settings service plugin 
4351
4352         * src/nm-gsm-device.c
4353           src/nm-gsm-device.h
4354           src/nm-cdma-device.c
4355           src/nm-cdma-device.h
4356                 - (*_new): take the 'managed' argument
4357
4358         * src/nm-device.c
4359                 - (nm_device_set_address): remove, fold into nm_device_bring_up()
4360                 - (nm_device_init): start in unmanaged state, not disconnected
4361                 - (constructor): don't start device until the system settings service
4362                         has had a chance to figure out if the device is managed or not
4363                 - (nm_device_deactivate, nm_device_bring_up, nm_device_bring_down):
4364                         don't set device state here, let callers handle that as appropriate
4365                 - (nm_device_dispose): don't touch the device if it's not managed
4366                 - (set_property, get_property, nm_device_class_init): implement the
4367                         'managed' property
4368                 - (nm_device_state_changed): bring the device up if its now managed,
4369                         and deactivate it if it used to be active
4370                 - (nm_device_get_managed, nm_device_set_managed): do the right thing
4371                         with the managed state
4372
4373         * src/nm-hal-manager.c
4374                 - (wired_device_creator, wireless_device_creator, modem_device_creator):
4375                         take initial managed state and pass it along to device constructors
4376                 - (create_device_and_add_to_list): get managed state and pass to
4377                         type creators
4378
4379         * src/nm-device-802-11-wireless.c
4380                 - (real_can_activate): fold in most of
4381                         nm_device_802_11_wireless_can_activate()
4382                 - (can_scan): can't scan in UNAVAILABLE or UNMANAGED
4383                 - (link_timeout_cb): instead of deactivating, change device state and
4384                         let the device state handler to it
4385                 - (real_update_hw_address): clean up
4386                 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
4387                         handler to transition to DISCONNECTED if the device isn't rfkilled
4388
4389         * src/nm-device-802-3-ethernet.c
4390                 - (set_carrier): move above callers and get rid of prototype
4391                 - (device_state_changed): when entering UNAVAILABLE state, schedule an
4392                         idle handler to transition to DISCONNECTED if the device has a
4393                         carrier
4394                 - (real_update_hw_address): clean up
4395                 - (link_timeout_cb, ppp_state_changed): change state instead of calling
4396                         deactivation directly as deactivation doesn't change state anymore
4397
4398         * src/NetworkManagerPolicy.c
4399                 - (schedule_activate_check): yay, remove wireless_enabled hack since
4400                         the NMManager and wireless devices work that out themselves now
4401                 - (device_state_changed): change to a switch and update for new device
4402                         states
4403                 - (device_carrier_changed): remove; device handles this now through
4404                         state changes
4405                 - (device_added): don't care about carrier any more; the initial
4406                         activation check will happen when the device transitions to
4407                         DISCONNECTED
4408
4409         * src/nm-manager.c
4410                 - (dispose): clear unmanaged devices
4411                 - (handle_unmanaged_devices): update unmanaged device list and toggle
4412                         the managed property on each device when needed
4413                 - (system_settings_properties_changed_cb): handle signals from the
4414                         system settings service
4415                 - (system_settings_get_unmanaged_devices_cb): handle callback from
4416                         getting the unmanaged device list method call
4417                 - (query_unmanaged_devices): ask the system settings service for its
4418                         list of unmanaged devices
4419                 - (nm_manager_name_owner_changed, initial_get_connections): get unmanaged
4420                         devices
4421                 - (manager_set_wireless_enabled): push rfkill state down to wireless
4422                         devices directly and let them handle the necessary state transitions
4423                 - (manager_device_state_changed): update for new device states
4424                 - (nm_manager_add_device): set initial rfkill state on wireless devices
4425                 - (nm_manager_remove_device): don't touch the device if it's unmanaged
4426                 - (nm_manager_activate_connection): return error if the device is
4427                         unmanaged
4428                 - (nm_manager_sleep): handle new device states correctly; don't change
4429                         the state of unavailable/unmanaged devices
4430
4431         * libnm-glib/nm-device-802-11-wireless.c
4432                 - (state_changed_cb): update for new device states
4433
4434 2008-04-07  Dan Williams  <dcbw@redhat.com>
4435
4436         * marshallers/nm-marshal.list
4437                 - Add VOID:STRING,UINT marshaller for system settings HAL manager
4438
4439 2008-04-07  Dan Williams  <dcbw@redhat.com>
4440
4441         * system-settings/src/main.c
4442                 - (unmanaged_devices_changed_cb, register_plugin): proxy changes from
4443                         plugins to the dbus settings object
4444                 - (load_stuff): start the dbus service after grabbing unmanaged devices
4445                 - (dbus_reconnect, dbus_cleanup): make HAL manager aware of dbus events
4446                 - (log_handler, logging_setup, logging_shutdown): log output to syslog
4447                 - (main): switch default logging to syslog with a 'debug' option to
4448                         output to console; start up the HAL manager
4449
4450 2008-04-07  Dan Williams  <dcbw@redhat.com>
4451
4452         * introspection/nm-settings-system.xml
4453           introspection/Makefile.am
4454                 - Define the unmanaged devices interface for the system settings service
4455
4456         * system-settings/src/nm-system-config-hal-manager.c
4457           system-settings/src/nm-system-config-hal-manager.h
4458           system-settings/src/nm-system-config-hal-manager-private.h
4459           system-settings/src/Makefile.am
4460                 - Add a lightweight HAL manager object for tracking network devices for
4461                         the purpose of determining unmanaged devices and which devices need
4462                         the default DHCP connections
4463
4464         * system-settings/src/nm-system-config-interface.c
4465           system-settings/src/nm-system-config-interface.h
4466                 - (nm_system_config_interface_init): add the HAL manager as an argument
4467                 - (nm_system_config_interface_get_unmanaged_devices): implement
4468                 - Define 'unmanaged-devices-changed' signal
4469
4470         * system-settings/src/dbus-settings.c
4471           system-settings/src/dbus-settings.h
4472                 - Implement the unmanaged devices interface; some cleanups
4473
4474         * system-settings/plugins/ifcfg-suse/plugin.c
4475                 - Fixup for plugin interface changes
4476
4477         * system-settings/plugins/ifcfg-fedora/plugin.c
4478                 - (get_ether_device_udi): new function; find the device that has
4479                         a specified MAC address and return its UDI
4480                 - (get_udi_for_connection): new function; try to find the specific
4481                         device a connection is locked to, if any
4482                 - (device_added_cb, device_removed_cb): update unmanaged device list in
4483                         response to HAL events
4484                 - (get_unmanaged_devices): new function; return unmanaged device list
4485                 - (build_one_connection): set the connection's locked device, if any
4486                 - (write_auto_wired_connection): remove
4487                 - (kill_old_auto_wired_file): remove the ifcfg-Auto Wired file if found
4488                 - (handle_connection_changed): alert listeners that the unmanaged device
4489                         list has changed
4490                 - (init): fixup for plugin interface changes, implement unmanaged devices
4491
4492         * system-settings/plugins/ifcfg-fedora/parser.c
4493           system-settings/plugins/ifcfg-fedora/parser.h
4494                 - (connection_data_free): clean up connection UDI
4495
4496 2008-04-07  Dan Williams  <dcbw@redhat.com>
4497
4498         * system-settings/plugins/ifcfg-fedora/parser.c
4499                 - (make_ip4_setting): fix parsing of DNS servers
4500
4501 2008-04-05  Dan Williams  <dcbw@redhat.com>
4502
4503         * Makefile.am
4504           configure.in
4505           marshallers/Makefile.am
4506           marshallers/nm-marshal-main.c
4507           marshallers/nm-marshal.list
4508                 - Consolidate marshallers
4509
4510         * libnm-glib/nm-marshal-main.c
4511           libnm-glib/nm-marshal.list
4512           src/marshallers/Makefile.am
4513           src/marshallers/nm-marshal-main.c
4514           src/marshallers/nm-marshal.list
4515                 - Remove
4516
4517         * libnm-glib/Makefile.am
4518           src/Makefile.am
4519           src/dhcp-manager/Makefile.am
4520           src/ppp-manager/Makefile.am
4521           src/supplicant-manager/Makefile.am
4522           src/vpn-manager/Makefile.am
4523                 - Use consolidated marshallers
4524
4525 2008-04-04  Dan Williams  <dcbw@redhat.com>
4526
4527         * src/nm-hal-manager.c
4528           src/nm-hal-manager.h
4529                 - (hal_init): don't look for hardware here
4530                 - (nm_hal_manager_start): new function; look for hardware here instead,
4531                         which can be done at a later time than hal_init()
4532
4533         * src/NetworkManager.c
4534                 - (main): start HAL manager after entering the main loop
4535
4536 2008-04-03  Dan Williams  <dcbw@redhat.com>
4537
4538         * libnm-glib/nm-settings.c
4539           libnm-glib/nm-settings.h
4540             - (nm_exported_connection_get_id): new function
4541                 - (impl_exported_connection_get_id): use nm_exported_connection_get_id()
4542
4543 2008-04-02  Dan Williams  <dcbw@redhat.com>
4544
4545         * src/nm-device-interface.c
4546           src/nm-device-interface.h
4547           src/nm-device.c
4548           src/nm-device.h
4549                 - Rename check_connection_conflicts() to check_connection_compatible()
4550
4551         * src/nm-device-802-11-wireless.c
4552                 - (real_check_connection_conflicts): remove
4553                 - (real_check_connection_compatible): implement; match MAC address
4554
4555         * src/nm-device-802-3-ethernet.c
4556                 - (real_check_connection_conflicts): remove
4557                 - (real_check_connection_compatible): implement; match MAC address
4558                 - (real_get_best_auto_connection): correctly handle PPPoE cases
4559
4560         * src/nm-manager.c
4561                 - (check_connection_allowed): remove; unused until PolicyKit integration
4562                 - (internal_activate_device): check whether the connection is compatible
4563                         with the device before trying to activate it
4564
4565 2008-04-02  Dan Williams  <dcbw@redhat.com>
4566
4567         * system-settings/plugins/ifcfg-fedora/parser.c
4568                 - (read_mac_address): new function; read in MAC address and stuff it
4569                         into the connection
4570                 - (add_one_wep_key): remove debug spew
4571                 - (make_wireless_security_setting): validate the default TX key; don't
4572                         add the wireless-security setting if the connection doesn't need
4573                         security; don't leak the keys shvarFile on error cases
4574                 - (make_wireless_setting, make_wired_setting): populate device's MAC
4575                         address
4576
4577 2008-04-02  Dan Williams  <dcbw@redhat.com>
4578
4579         * libnm-util/nm-setting-connection.c
4580           libnm-util/nm-setting-connection.h
4581                 - (set_property, get_property, nm_setting_connection_class_init): remove
4582                         the 'lockdown' property; it's functionality will be replaced by
4583                         PolicyKit instead
4584
4585 2008-04-01  Dan Williams  <dcbw@redhat.com>
4586
4587         Patch from Per Øyvind Karlsen <peroyvind@mandriva.org>
4588
4589         * configure.in
4590           initscript/Makefile.am
4591           initscript/Mandriva/Makefile.am
4592           initscript/Mandriva/networkmanager.in
4593           initscript/Mandriva/networkmanagerdispatcher.in
4594           src/backends/Makefile.am
4595           src/backends/NetworkManagerMandriva.c
4596           system-settings/plugins/Makefile.am
4597                 - Add Mandriva support
4598
4599 2008-03-31  Dan Williams  <dcbw@redhat.com>
4600
4601         * src/vpn-manager/nm-vpn-service.c
4602                 - (nm_vpn_service_daemon_exec): add an error argument so that spawn
4603                         errors can be passed back to the caller; also no longer scheduled
4604                         as an idle handler, but called directly; and bump up VPN service
4605                         spawn timeout, 2s is really short
4606                 - (nm_vpn_service_activate): don't schedule the VPN service activation,
4607                         but call it directly so that errors are reported on return from
4608                         ActivateConnection() and don't get lost.  If scheduled as an idle
4609                         handler, clients don't have the time to query NM for the new VPN
4610                         connection's properties before the VPN connection is torn down again
4611                         if the service couldn't be launched, and therefore launch errors
4612                         get lost.
4613
4614 2008-03-31  Dan Williams  <dcbw@redhat.com>
4615
4616         * src/vpn-manager/nm-vpn-connection.c
4617                 - (device_state_changed): send correct state on device failure too
4618                 - (plugin_state_changed): failed state means unexpected disconnection,
4619                         thus if the service goes away while the VPN connection is activated
4620                         that's a failure too
4621
4622 2008-03-31  Dan Williams  <dcbw@redhat.com>
4623
4624         * src/vpn-manager/nm-vpn-manager.c
4625           src/vpn-manager/nm-vpn-manager.h
4626                 - Make VPNManager errors more available; add a service-start-failed error
4627
4628 2008-03-31  Dan Williams  <dcbw@redhat.com>
4629
4630         * libnm-glib/nm-client.c
4631           libnm-glib/nm-client.h
4632                 - (activate_cb): pass the new active connection to callback; fix
4633                         message when no callback is specified
4634
4635 2008-03-30  Dan Williams  <dcbw@redhat.com>
4636
4637         * libnm-util/nm-setting-wireless-security.c
4638                 - (need_secrets): only require key0 if the transmit key index is also
4639                         0
4640                 - (verify): reject non-NULL but zero-length WEP keys; these are invalid
4641
4642 2008-03-29  Dan Williams  <dcbw@redhat.com>
4643
4644         * libnm-util/nm-setting-8021x.c
4645           libnm-util/nm-setting-ip4-config.c
4646           libnm-util/nm-setting-vpn-properties.c
4647           libnm-util/nm-setting-vpn.c
4648           libnm-util/nm-setting-wireless-security.c
4649           libnm-util/nm-setting-wireless.c
4650           libnm-util/nm-utils.c
4651           src/dhcp-manager/nm-dhcp-manager.c
4652           src/nm-activation-request.c
4653           src/nm-ip4-config.c
4654           src/nm-manager.c
4655           src/nm-properties-changed-signal.c
4656           src/ppp-manager/nm-pppd-plugin.c
4657           src/supplicant-manager/nm-supplicant-interface.c
4658           src/vpn-manager/nm-vpn-connection.c
4659                 - consistently use nm-dbus-glib-types.h
4660
4661 2008-03-29  Dan Williams  <dcbw@redhat.com>
4662
4663         * src/vpn-manager/nm-vpn-connection.c
4664                 - (nm_vpn_connection_class_init): PROP_SPECIFIC_OBJECT should be boxed,
4665                         not string
4666
4667         * src/nm-activation-request.c
4668                 - (nm_act_request_class_init): PROP_SPECIFIC_OBJECT should be boxed,
4669                         not string
4670
4671 2008-03-29  Dan Williams  <dcbw@redhat.com>
4672
4673         * libnm-glib/nm-device-802-11-wireless.c
4674                 - (access_point_added_proxy): create new APs if not found
4675
4676 2008-03-29  Dan Williams  <dcbw@redhat.com>
4677
4678         * libnm-glib/nm-client.c
4679                 - (proxy_name_owner_changed): tell wireless devices about rfkill state
4680                         before freeing them
4681
4682 2008-03-29  Dan Williams  <dcbw@redhat.com>
4683
4684         * system-settings/plugins/ifcfg-fedora/parser.c
4685                 - Fix parsing of WEP keys; ifcfg files use indexes [1...4] rather than
4686                         [0...3]; also handle KEY correctly in combination with DEFAULTKEY
4687
4688 2008-03-29  Dan Williams  <dcbw@redhat.com>
4689
4690         * system-settings/plugins/ifcfg-fedora/parser.c
4691                 - (get_one_wep_key, make_wireless_security_setting): handle "KEY" too
4692
4693 2008-03-27  Dan Williams  <dcbw@redhat.com>
4694
4695         * nm-object.c
4696                 - (nm_object_queue_notify): don't notify multiple times for the same
4697                         property
4698
4699         * nm-object-private.h
4700                 - (handle_ptr_array_return): return NULL if the given array is NULL or
4701                         if it has zero elements
4702
4703         * nm-ip4-config.c
4704                 - (finalize): use g_ptr_array_foreach() when freeing domains
4705                 - (nm_ip4_config_get_domains): use handle_ptr_array_return()
4706
4707         * nm-active-connection.c
4708                 - (nm_active_connection_get_devices): use handle_ptr_array_return()
4709
4710         * nm-device-802-11-wireless.c
4711           nm-device-802-11-wireless.h
4712                 - (nm_device_802_11_wireless_get_access_points): return const; use
4713                         handle_ptr_array_return()
4714
4715         * nm-types.c
4716                 - (nm_object_array_demarshal): always create an array, even of length
4717                         zero, to distinguish between "NM returned no items" and "haven't
4718                         asked NM yet"
4719
4720         * nm-client.c
4721                 - (dispose): free active connections too
4722                 - (proxy_name_owner_changed): free active connections too when NM goes
4723                         away
4724                 - (nm_client_get_devices): return const; use handle_ptr_array_return()
4725                 - (nm_client_get_active_connections): use handle_ptr_array_return()
4726
4727 2008-03-26  Dan Williams  <dcbw@redhat.com>
4728
4729         Rework VPN connection handling for a more consistent D-Bus API.  The
4730         VPNManager object has been removed, and active VPN connections are now the
4731         same as any other active connection.  The Manager object's ActivateConnection
4732         and DeactivateConnection methods are used to start and stop a VPN connection,
4733         and the VPNConnection objects are subclasses of the ActiveConnection objects.
4734         When activating a VPN connection, pass the path of the active connection
4735         to which the VPN connection is tied in the 'specific_object' argument.
4736
4737         Consequently, the libnm-glib API has been reworked to match this arrangement,
4738         with the VPNManager object removed, and the NMVPNConnection objects now
4739         being subclasses of NMActiveConnection.
4740
4741 2008-03-25  Dan Williams  <dcbw@redhat.com>
4742
4743         Patch from Björn Martensen <bjoern.martensen@gmail.com>
4744
4745         * initscript/Arch/networkmanager.in
4746           initscript/Arch/networkmanager-dispatcher.in
4747                 - Updates for Arch Linux (gnome.org #523701)
4748
4749 2008-03-25  Dan Williams  <dcbw@redhat.com>
4750
4751         * libnm-glib/nm-ip4-config.c
4752           libnm-glib/nm-active-connection.c
4753           libnm-glib/nm-access-point.c
4754                 - Use nm_object_queue_notify() instead of g_object_notify()
4755
4756         * libnm-glib/nm-device.c
4757                 - (demarshal_ip4_config): distinguish between successful but missing
4758                         ip4-config request, and unsuccessful and missing ip4-config request
4759                 - (nm_device_get_ip4_config): don't try to demarshal a NULL ip4-config
4760                         path
4761                 - Use nm_object_queue_notify() instead of g_object_notify()
4762
4763         * libnm-glib/nm-device-802-11-wireless.c
4764                 - (demarshal_active_ap): distinguish between successfull but missing
4765                         active-ap request, and unsuccessful and missing active-ap request
4766                 - (dispose, clean_up_aps): consolidate AP list and active AP clearing
4767                         code
4768                 - (nm_device_802_11_wireless_set_wireless_enabled): add a private hook
4769                         for the NMClient to notify the device that wireless is disabled,
4770                         and therefore to clear the AP list and active AP
4771                 - Use nm_object_queue_notify() instead of g_object_notify()
4772
4773         * libnm-glib/nm-client.c
4774                 - (poke_wireless_devices_with_rf_status): new function
4775                 - (update_wireless_status): notify wireless devices of the rfkill status
4776                         so they can clean up if needed
4777                 - Use nm_object_queue_notify() instead of g_object_notify()
4778
4779 2008-03-25  Dan Williams  <dcbw@redhat.com>
4780
4781         * libnm-glib/nm-object.c
4782           libnm-glib/nm-object-private.h
4783                 - (nm_object_queue_notify): add helper to batch & postpone GObject notify
4784                         signals to an idle handler
4785                 - (nm_object_get_property): add a timeout to the D-Bus method call
4786
4787 2008-03-25  Dan Williams  <dcbw@redhat.com>
4788
4789         * introspection/nm-device-cdma.xml
4790           introspection/nm-device-gsm.xml
4791           introspection/Makefile.am
4792           introspection/all.xml
4793                 - Add introspection for CDMA and GSM devices for PropertiesChanged signal
4794
4795         * src/nm-gsm-device.h
4796           src/nm-gsm-device.c
4797           src/nm-cdma-device.h
4798           src/nm-cdma-device.c
4799           src/Makefile.am
4800                 - Implement PropertiesChanged signals
4801
4802         * libnm-glib/nm-cdma-device.c
4803           libnm-glib/nm-cdma-device.c
4804                 - Attach to PropertiesChanged signals
4805
4806 2008-03-24  Dan Williams  <dcbw@redhat.com>
4807
4808         * libnm-glib/nm-client.c
4809                 - (client_device_added_proxy): add new devices to the internal device
4810                         list so they appear to clients
4811
4812 2008-03-24  Dan Williams  <dcbw@redhat.com>
4813
4814         Massive fixup of libnm-glib to:
4815         a) have all objects (with the exception of VPN) cache their properties and
4816                 update them asynchronously on PropertiesChanged signals from NM
4817         b) return internal const data for most attributes/properties instead of
4818                 allocated values that the caller must free
4819         c) cache wrapped objects such that a given D-Bus path will always map to the
4820                 same GObject returned by libnm-glib
4821         d) remove a few signals and move them to GObject property notifications
4822         e) match recent NM D-Bus API changes for activation/deactivation
4823         f) remove some private functions from libnm-glib headers
4824
4825 2008-03-20  Dan Williams  <dcbw@redhat.com>
4826
4827         * src/nm-manager.c
4828                 - (nm_manager_update_state, manager_device_state_changed,
4829                    nm_manager_activate_device, connection_added_default_handler,
4830                    impl_manager_activate_connection, impl_manager_deactivate_connection):
4831                         queue PropertyChanged singals when the active connections change
4832
4833 2008-03-20  Dan Williams  <dcbw@redhat.com>
4834
4835         * introspection/nm-manager.xml
4836           introspection/nm-manager-client.xml
4837                 - (ActivateConnection): return the object path of the active connection
4838                         on success
4839                 - (GetActiveConnections): remove
4840                 - (DeactivateConnection): new function; deactivate a currently active
4841                         connection
4842                 - Add an ActiveConnections property which returns an array of
4843                         active connection object paths
4844
4845         * introspection/nm-device.xml
4846                 - (Deactivate): remove
4847
4848         * introspection/all.xml
4849                 - Add ActiveConnection introspection
4850
4851         * introspection/nm-active-connection.xml
4852                 - Add the ActiveConnection object
4853
4854         * include/NetworkManager.h
4855                 - Add the Connection.Active D-Bus interface
4856
4857         * src/nm-device-interface.c
4858                 - (impl_device_deactivate): remove
4859
4860         * src/nm-activation-request.c
4861           src/nm-activation-request.c
4862           src/Makefile.am
4863                 - Implement the Connection.Active D-Bus interface
4864
4865         * src/nm-manager.c
4866                 - (get_property, nm_manager_class_init): add ACTIVE_CONNECTIONS property
4867                 - (nm_manager_activate_device): return the active connection path
4868                 - (connection_added_default_handler, impl_manager_activate_connection):
4869                         return the active connection to the caller
4870                 - (add_one_connection_element, impl_manager_get_active_connections):
4871                         remove
4872                 - (impl_manager_deactivate_connection): new function; deactivate an
4873                         active connection
4874
4875         * libnm-glib/nm-device.c
4876           libnm-glib/nm-device.h
4877                 - Remove Deactivate() function
4878
4879 2008-03-19  Dan Williams  <dcbw@redhat.com>
4880
4881         * introspection/nm-manager.xml
4882           introspection/nm-manager-client.xml
4883                 - Rename the ActivateDevice method to ActivateConnection to better
4884                         reflect it's usage; it's arguments get reordered a bit too
4885                 - Convert GetActiveConnections method return from a struct to a dict
4886
4887         * include/NetworkManager.h
4888                 - Define the dict keys for return value of GetActiveConnections
4889
4890         * src/nm-manager.c
4891                 - impl_manager_activate_device -> impl_manager_activate_connection
4892                 - (add_one_connection_element): return a populated hash table, not
4893                         a structure
4894
4895         * libnm-glib/nm-client.c
4896           libnm-glib/nm-client.h
4897                 - nm_client_activate_device -> nm_client_activate_connection
4898                 - nm_client_free_active_connection_element -> nm_client_free_active_connections_element
4899                 - (nm_client_get_active_connections): return a GSList of GHashTables,
4900                         instead of the custom structures.  Each element of the returned list
4901                         must be freed with nm_client_free_active_connections_element()
4902
4903 2008-03-18  Dan Williams  <dcbw@redhat.com>
4904
4905         * system-settings/plugins/ifcfg-fedora/parser.c
4906           system-settings/plugins/ifcfg-fedora/parser.h
4907           system-settings/plugins/ifcfg-fedora/plugin.c
4908                 - Read settings from /etc/sysconfig/network-scripts/ instead of using
4909                         profiles.  DNS servers and searches must now be stored in the ifcfg
4910                         files themselves
4911
4912 2008-03-18  Tambet Ingo  <tambet@gmail.com>
4913
4914         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Don't
4915         print out username and password, it's supposed to be a secret.
4916
4917         * src/nm-device-802-3-ethernet.c (ppp_state_changed): Handle authentication 
4918         request and set the device state accordingly.
4919
4920 2008-03-18  Tambet Ingo  <tambet@gmail.com>
4921
4922         * src/nm-device-802-3-ethernet.c: Implement wired 802.1x authentication.
4923
4924         * libnm-util/nm-setting-wireless-security.h: Fix a typo.
4925
4926 2008-03-18  Dan Williams  <dcbw@redhat.com>
4927
4928         * src/vpn-manager/nm-vpn-connection.c
4929                 - (get_secrets_cb): handle new GetSecrets return format
4930
4931 2008-03-18  Dan Williams  <dcbw@redhat.com>
4932
4933         Adapt system settings service for split 802.1x.
4934
4935         * system-settings/src/nm-system-config-interface.h
4936                 - clarify return value of get_secrets()
4937
4938         * system-settings/src/dbus-settings.c
4939                 - (string_to_gvalue, destroy_gvalue, add_one_secret_to_hash): remove
4940                 - (check_for_secrets): check if there actually secrets returned by a
4941                         plugin
4942                 - (exported_connection_get_secrets): just return the plugin-returned
4943                         hash of settings' secrets if it looks valid
4944
4945         * system-settings/plugins/ifcfg-fedora/plugin.c
4946                 - (get_secrets): add split secrets with correct format to reply hash
4947
4948         * system-settings/plugins/ifcfg-fedora/parser.c
4949           system-settings/plugins/ifcfg-fedora/parser.h
4950                 - (copy_one_cdata_secret, connection_data_copy_secrets,
4951                    connection_data_free, connection_data_add): keep secrets for
4952                         different settings in different hashes
4953
4954 2008-03-17  Tambet Ingo  <tambet@gmail.com>
4955
4956         Clean up activating device deactivation.
4957
4958         * src/nm-device.c (real_activation_cancel_handler): Remove. The same thing
4959         should be done whether the device activation gets cancelled or the device
4960         is just getting deactivated.
4961         (nm_device_activation_cancel): Remove.
4962         (nm_device_deactivate_quickly): Handle the case where device is activating.
4963
4964         * src/nm-device-802-11-wireless.c (real_activation_cancel_handler): Remove.
4965         It does the exact same thing as real_deactivate_quickly().
4966
4967 2008-03-17  Dan Williams  <dcbw@redhat.com>
4968
4969         Split the 802.1x bits out of the wireless-security setting so they are
4970         generalized enough for wired 802.1x to use too.
4971
4972         * introspection/nm-exported-connection.xml
4973                 - GetSecrets now returns 'a{sa{sv}}' (a hash of settings hashes) instead
4974                         of just a hash of the secrets for one setting
4975
4976         * libnm-util/nm-setting-wireless-security.c
4977           libnm-util/nm-setting-wireless-security.h
4978                 - Remove 802.1x-specific stuff
4979                 - Added leap-username and leap-password properties for old-school LEAP
4980
4981         * src/nm-device.c
4982           src/nm-device.h
4983                 - (connection_secrets_updated_cb): take a list of updated settings names,
4984                         not just one
4985
4986         * src/supplicant-manager/nm-supplicant-config.c
4987           src/supplicant-manager/nm-supplicant-config.h
4988                 - (nm_supplicant_config_add_setting_wireless_security): remove 802.1x
4989                         specific stuff; fix for updated LEAP bits; punt 802.1x stuff
4990                         to nm_supplicant_config_add_setting_8021x()
4991                 - (nm_supplicant_config_add_setting_8021x): add an 802-1x setting to
4992                         the supplicant config
4993
4994         * src/nm-device-802-11-wireless.c
4995                 - (build_supplicant_config): pass in the 802.1x setting too, if any
4996                 - (real_connection_secrets_updated): take a list of updated settings
4997                         names, not just one
4998
4999         * src/nm-device-802-3-ethernet.c
5000           src/nm-cdma-device.c
5001           src/nm-gsm-device.c
5002                 - (real_connection_secrets_updated_cb): take a list of updated settings
5003                         names, not just one
5004
5005         * src/nm-activation-request.c
5006           src/nm-activation-request.h
5007                 - (nm_act_request_class_init): the 'connection-secrets-updated' signal
5008                         now passes a list of updated settings names, not just one
5009                 - (update_one_setting): new function; handle one updated setting
5010                 - (get_secrets_cb): handle multiple settings returned from the
5011                         settings service; have to be careful of ordering here as there are
5012                         some dependencies between settings (ex. wireless-security and 802.1x
5013                         in some cases)
5014
5015         * src/marshallers/nm-marshal.list
5016                 - new marshaller for connection-secrets-updated signal
5017
5018         * libnm-util/nm-setting-8021x.c
5019                 - Add back the 'pin' and 'psk' settings, for EAP-SIM and EAP-PSK auth
5020                         methods
5021                 - (verify): a valid 'eap' property is now required
5022
5023         * libnm-util/nm-connection.c
5024                 - (register_default_settings): add priorities to settings; there are
5025                         some dependencies between settings, and during the need_secrets
5026                         calls this priority needs to be respected.  For example, only the
5027                         wireless-security setting knows whether or not the connection is
5028                         going to use 802.1x or now, so it must be asked for secrets before
5029                         any existing 802.1x setting is
5030                 - (nm_connection_lookup_setting_type): expose
5031
5032         * libnm-util/nm-setting-wireless.c
5033                 - (verify): should verify even if all_settings is NULL; otherwise won't
5034                         catch the case where there is missing security
5035
5036         * libnm-util/nm-setting-wireless-security.c
5037                 - Remove everything to do with 802.1x
5038                 - Add old-school LEAP specific properties for username and password
5039                 - (need_secrets): rework LEAP secrets checking
5040                 - (verify): rework for LEAP and 802.1x verification
5041
5042 2008-03-17  Dan Williams  <dcbw@redhat.com>
5043
5044         * src/NetworkManagerPolicy.c
5045                 - (auto_activate_device): always remove the current activation check
5046                         from the pending activation list, otherwise when the policy gets
5047                         destroyed on NM exit it will attempt to free the already freed
5048                         activation check
5049
5050 2008-03-14  Tambet Ingo  <tambet@gmail.com>
5051
5052         * src/backends/NetworkManagerSlackware.c 
5053         (nm_system_device_setup_static_ip4_config): Remove, it's unused.
5054
5055         * src/backends/NetworkManagerSuSE.c: Add missing includes.
5056
5057 2008-03-14  Dan Williams  <dcbw@redhat.com>
5058
5059         * src/nm-manager.c
5060                 - (nm_device_interface_get_iface): g_object_get() will return an
5061                         allocated value, so this function must not return const
5062                 - (nm_device_interface_activate): free returned iface
5063
5064 2008-03-14  Tambet Ingo  <tambet@gmail.com>
5065
5066         * libnm-util/Makefile.am: Add new files to build.
5067
5068         * libnm-util/nm-connection.c: Register NMSetting8021x.
5069
5070         * libnm-util/nm-setting-8021x.c
5071         * libnm-util/nm-setting-8021x.h: Implement.
5072
5073 2008-03-14  Tambet Ingo  <tambet@gmail.com>
5074
5075         * libnm-util/Makefile.am: Add new files to build.
5076
5077         * libnm-util/nm-connection.c: Register NMSetting8021x.
5078
5079         * libnm-util/nm-setting-8021x.c
5080         * libnm-util/nm-setting-8021x.h: Implement.
5081
5082 2008-03-14  Tambet Ingo  <tambet@gmail.com>
5083
5084         * src/NetworkManagerPolicy.c (auto_activate_device): Don't leak device and
5085         data.
5086
5087 2008-03-14  Dan Williams  <dcbw@redhat.com>
5088
5089         * include/wireless-helper.h
5090           include/Makefile.am
5091                 - One place for all the junk needed for #including wireless.h
5092
5093         * test/nm-tool.c
5094           src/NetworkManagerAP.c
5095           src/wpa.c
5096           src/Makefile.am
5097           libnm-util/nm-utils.c
5098           libnm-util/nm-setting-wireless.c
5099           libnm-glib/nm-device-802-11-wireless.c
5100           libnm-glib/nm-access-point.c
5101           libnm-glib/libnm-glib-test.c
5102                 - include wireless-helper.h, not iwlib.h
5103
5104         * configure.in
5105                 - Don't need libiw really, just need to check for wireless.h
5106
5107         * src/kernel-types.h
5108                 - Remove; used types moved into wpa.c
5109
5110         * src/nm-device-802-11-wireless.c
5111                 - (nm_device_802_11_wireless_update_signal_strength,
5112                    real_get_generic_capabilities, nm_device_802_11_wireless_get_mode,
5113                    nm_device_802_11_wireless_set_mode,
5114                    nm_device_802_11_wireless_get_frequency,
5115                    nm_device_802_11_wireless_get_ssid,
5116                    nm_device_802_11_wireless_set_ssid,
5117                    nm_device_802_11_wireless_get_bitrate,
5118                    nm_device_802_11_wireless_get_bssid,
5119                    nm_device_802_11_wireless_disable_encryption): use ioctl() directly
5120                         instead of iwlib functions
5121
5122 2008-03-14  Dan Williams  <dcbw@redhat.com>
5123
5124         * src/ppp-manager/nm-ppp-manager.c
5125                 - (impl_ppp_manager_need_secrets): since it's asynchronous now, it
5126                         should only take the DBusGMethodInvocation argument, not user/pass
5127                         too.  With dbus-glib, async functions only take 2 C arguments since
5128                         the real dbus method arguments get passed back with
5129                         dbus_g_method_return()
5130
5131 2008-03-13  Tambet Ingo  <tambet@gmail.com>
5132
5133         * system-settings/plugins/ifcfg-suse/plugin.c (update_default_routes): 
5134         Adapt the changes of NMSettingIP4Config.
5135
5136 2008-03-13  Dan Williams  <dcbw@redhat.com>
5137
5138         * src/NetworkManagerUtils.c
5139           src/NetworkManagerUtils.h
5140                 - (nm_ether_ntop): replacement for iw_ether_ntop()
5141
5142         * src/NetworkManagerAP.c
5143           src/nm-device-802-11-wireless.c
5144           src/nm-device-802-3-ethernet.c
5145                 - s/iw_ether_ntop/nm_ether_ntop/g
5146
5147 2008-03-13  Dan Williams  <dcbw@redhat.com>
5148
5149         * src/NetworkManagerPolicy.c
5150                 - (update_routing_and_dns): never set the default route through an
5151                         IPv4LL addressed device
5152
5153 2008-03-13  Dan Williams  <dcbw@redhat.com>
5154
5155         * NetworkManagerUtils.c
5156           NetworkManagerUtils.h
5157                 - Remove NMSock stuff
5158                 - Remove the completion stuff
5159
5160         * nm-device.c
5161           nm-device.h
5162           NetworkManager.c
5163           NetworkManagerSystem.c
5164           autoip.c
5165           nm-device-802-11-wireless.c
5166           nm-device-802-3-ethernet.c
5167                 - Remove NMSock and completion stuff
5168                 - Remove nm_ioctl_info()
5169
5170 2008-03-12  Dan Williams  <dcbw@redhat.com>
5171
5172         * src/nm-device.c
5173                 - (merge_ip4_config): avoid duplicates
5174
5175 2008-03-12  Dan Williams  <dcbw@redhat.com>
5176
5177         * libnm-util/nm-setting-ip4-config.c
5178           libnm-util/nm-setting-ip4-config.h
5179                 - Remove 'manual' and 'autoip' properties
5180                 - Add 'method' property
5181                 - (verify): fix verification with 'method'
5182                 - (finalize): free 'method'
5183                 - (set_property, get_property, nm_setting_ip4_config_class_init): fix
5184                         up for 'method'
5185
5186         * src/nm-device.c
5187                 - (real_act_stage3_ip_config_start): check IP4Config method
5188                 - (nm_device_new_ip4_autoip_config): add a note about not sucking in
5189                         the future
5190                 - (merge_ip4_config): IP settings are valid with DHCP too
5191                 - (real_act_stage4_get_ip4_config): handle all IP4Config methods
5192                 - (real_act_stage4_ip_config_timeout): don't do autoip on DHCP timeout
5193
5194         * src/nm-device-802-11-wireless.c
5195                 - (real_act_stage3_ip_config_start): remove; autoip only on demand
5196                 - (real_act_stage4_get_ip4_config): just chain up to parent; autoip
5197                         only on demand
5198
5199         * system-settings/plugins/ifcfg-fedora/parser.c
5200           system-settings/plugins/ifcfg-suse/parser.c
5201                 - (make_ip4_setting): fix up for 'method'
5202
5203 2008-03-12  Dan Williams  <dcbw@redhat.com>
5204
5205         * system-settings/plugins/ifcfg-fedora/parser.c
5206           system-settings/plugins/ifcfg-fedora/parser.h
5207                 - (get_ifcfg_name): ignore more file suffixes
5208                 - (is_wireless_device): fix check for ifcfgs that have no TYPE
5209
5210 2008-03-12  Dan Williams  <dcbw@redhat.com>
5211
5212         * configure.in
5213                 - Bring in the bits of gnome-common we actually use (all 15 lines)
5214
5215 2008-03-12  Dan Williams  <dcbw@redhat.com>
5216
5217         * system-settings/plugins/ifcfg-fedora/plugin.c
5218                 - (write_auto_wired_connection): new function; write out an auto
5219                         wired connection file since the applet isn't doing it any more
5220                 - (reload_all_connections): write out the auto wired connection file
5221                         if there aren't any wired connections already
5222                 - (init): don't leak a GError
5223
5224 2008-03-12  Dan Williams  <dcbw@redhat.com>
5225
5226         * src/nm-device-interface.c
5227                 - (nm_device_interface_activate): print the ID of the connection
5228                         that's about to be activated
5229
5230 2008-03-12  Dan Williams  <dcbw@redhat.com>
5231
5232         Harmonize the 802.11 bitrate API
5233
5234         * introspection/nm-access-point.xml
5235                 - 'Rate' -> 'MaxBitrate'; clarify units
5236
5237         * introspection/nm-device-802-11-wireless.xml
5238                 - Clarify units of 'Bitrate'
5239
5240         * src/NetworkManagerAP.c
5241           src/NetworkManagerAP.h
5242                 - (set_property, get_property, nm_ap_class_init): rename 'rate'
5243                         property to 'max-bitrate'
5244                 - (foreach_property_cb): convert rate to Kb/s
5245
5246         * src/nm-device-802-11-wireless.c
5247                 - (nm_device_802_11_wireless_get_bitrate): return rate in Kb/s
5248
5249         * libnm-glib/nm-access-point.c
5250           libnm-glib/nm-access-point.h
5251                 - 'rate' -> 'max-bitrate'
5252
5253         * test/nm-tool.c
5254           libnm-glib/libnm-glib-test.c
5255                 - Fix up for these changes
5256
5257 2008-03-12  Dan Williams  <dcbw@redhat.com>
5258
5259         * src/nm-device.c
5260                 - (nm_device_set_ip4_config): don't send property notifications when
5261                         the ip4 config is set to NULL; it causes a PropertyChanged signal
5262                         which dbus-glib can't parse because the value is NULL, which isn't
5263                         a legal object path.  Setting the IP4 config to NULL is only
5264                         valid when deactivating a device anyway, so the device state change
5265                         will alert listeners that the ip4 config is invalid.
5266
5267 2008-03-12  Dan Williams  <dcbw@redhat.com>
5268
5269         * src/nm-properties-changed-signal.c
5270                 - (add_to_string): better handling of NULL objects
5271
5272 2008-03-12  Dan Williams  <dcbw@redhat.com>
5273
5274         Move the 'carrier' property from NMDevice to NMDevice8023Ethernet;
5275         convert the libnm-glib NMDevice8023Ethernet to cached properties
5276
5277         * introspection/nm-device-802-3-ethernet.xml
5278                 - New 'Carrier' property
5279                 - New 'PropertiesChanged' signal
5280
5281         * introspection/nm-device.xml
5282                 - Remove 'Carrier' property
5283                 - Remove 'CarrierChanged' signal
5284
5285         * src/nm-device-interface.c
5286           src/nm-device-interface.h
5287                 - (nm_device_interface_init): remove 'carrier' property and
5288                         'carrier-changed' signal
5289
5290         * src/nm-device.c
5291           src/nm-device.h
5292                 - (nm_device_get_carrier, nm_device_set_carrier): remove
5293                 - (nm_device_activate_stage5_ip_config_commit): don't bother updating
5294                         the link here; wired device will handle that
5295                 - (handle_dhcp_lease_change): don't bother updating link here
5296                 - (get_property, nm_device_class_init): remove carrier property
5297
5298         * src/nm-device-802-11-wireless.c
5299                 - (real_update_link, nm_device_802_11_wireless_class_init): remove
5300                         real_update_link(); wireless devices don't use carrier at all
5301                 - (link_timeout_cb, supplicant_iface_state_cb_handler,
5302                    supplicant_iface_connection_state_cb_handler,
5303                    supplicant_mgr_state_cb_handler): remove anything to do with carrier
5304
5305         * src/nm-device-802-3-ethernet.c
5306           src/nm-device-802-3-ethernet.h
5307                 - (nm_device_802_3_ethernet_carrier_on,
5308                    nm_device_802_3_ethernet_carrier_off, constructor): use set_carrier()
5309                         instead of nm_device_set_carrier()
5310                 - (device_state_changed): update link from sysfs on activation;
5311                         replaces real_update_link()
5312                 - (real_update_link): remove, replaced by device_state_changed()
5313                 - (nm_device_802_3_ethernet_get_carrier, set_carrier): new functions
5314                 - (nm_device_802_3_ethernet_get_speed): move up with other getters/setters
5315                 - (real_get_generic_capabilities, real_can_interrupt_activation): use
5316                         new get_carrier function
5317                 - (get_property): add 'carrier' property
5318                 - (nm_device_802_3_ethernet_class_init): add 'carrier' property and
5319                         hook into property-changed signal helper
5320
5321         * src/NetworkManagerPolicy.c
5322                 - (device_carrier_changed): will only ever be called with a wired device
5323                 - (device_added): only hook up to carrier-changed for wired devices
5324
5325         * libnm-glib/nm-device.c
5326           libnm-glib/nm-device.h
5327                 - (constructor, nm_device_class_init): remove carrier-changed signal
5328                 - (device_carrier_changed_proxy): remove; unused
5329                 - (nm_device_get_carrier): remove; carrier a property of wired devices
5330
5331         * libnm-glib/nm-device-802-3-ethernet.c
5332           libnm-glib/nm-device-802-3-ethernet.h
5333                 - Convert to cached properties like AP and Wireless objects
5334                 - (nm_device_802_3_ethernet_get_hw_address): now returns a 'const char *'
5335                         instead of a 'char *', return value should not be freed
5336                 - (nm_device_802_3_ethernet_get_carrier): return current carrier status
5337                 - (constructor): hook into properties-changed helper
5338                 - (set_property, get_property): new functions
5339                 - (nm_device_802_3_ethernet_class_init): export GObject properties
5340
5341         * test/nm-tool.c
5342                 - (detail_device): strdup the wired hardware address too since it's
5343                         cached now
5344
5345         * libnm-glib/libnm-glib-test.c
5346                 - (dump_wired): strdup the wired hardware address too since it's
5347                         cached now
5348
5349 2008-03-12  Dan Williams  <dcbw@redhat.com>
5350
5351         * libnm-util/nm-setting-ip4-config.c
5352           libnm-util/nm-setting-ip4-config.h
5353                 - (set_property, get_property, nm_setting_ip4_config_class_init): add
5354                         the 'autoip' property from the spec
5355
5356 2008-03-11  Dan Williams  <dcbw@redhat.com>
5357
5358         * src/backends/NetworkManagerGeneric.c
5359           src/backends/NetworkManagerGeneric.h
5360                 - (nm_generic_device_get_use_dhcp): remove
5361
5362 2008-03-11  Dan Williams  <dcbw@redhat.com>
5363
5364         * src/nm-device.c
5365                 - (nm_device_deactivate): don't need to munge DNS here; that gets done
5366                         already in nm_device_set_ip4_config()
5367                 - (handle_dhcp_lease_change): fail the device if setting the IP4Config
5368                         due to a DHCP rebind fails
5369                 - (nm_device_set_ip4_config): send property notifications when the
5370                         ip4 config changes
5371                 - (get_property): only report IP4Config property during valid states
5372
5373         * src/NetworkManagerPolicy.c
5374                 - (update_routing_and_dns): ignore devices that don't have an ip4
5375                         config; add parameter 'force_update' to allow callers to specify
5376                         that changes should be made even if the default device doesn't change
5377                 - (device_ip4_config_changed): update DNS and routing when the device's
5378                         IP4Config changes, like for DHCP updates
5379                 - (device_added): listen for ip4-config property changes
5380
5381 2008-03-11  Dan Williams  <dcbw@redhat.com>
5382
5383         Fix address handling as a result of DHCP rebind/renew/reboot.
5384
5385         * src/NetworkManagerSystem.c
5386                 - (check_one_address): delete an address if it doesn't match a given
5387                         one for the same interface
5388                 - (nm_system_device_set_from_ip4_config): don't flush the default route,
5389                         be smarter about flushing addresses (only flush ones that don't
5390                         match the one we're about to apply)
5391
5392         * src/backends/NetworkManagerDebian.c
5393           src/backends/NetworkManagerSuSE.c
5394           src/backends/NetworkManagerArch.c
5395           src/backends/NetworkManagerSlackware.c
5396           src/backends/NetworkManagerRedHat.c
5397           src/backends/NetworkManagerPaldo.c
5398           src/backends/NetworkManagerFrugalware.c
5399           src/backends/NetworkManagerGentoo.c
5400                 - (nm_system_delete_default_route): remove
5401
5402         * src/backends/NetworkManagerGeneric.c
5403           src/backends/NetworkManagerGeneric.h
5404                 - (nm_generic_enable_loopback): fix the loopback device label
5405                 - (nm_generic_delete_default_route): remove; no longer used
5406
5407 2008-03-11  Dan Williams  <dcbw@redhat.com>
5408
5409         * src/nm-device-interface.h
5410                 - Delimit property name words with '-', otherwise g_object_notify()
5411                         doesn't work the way we expect
5412
5413 2008-03-11  Tambet Ingo  <tambet@gmail.com>
5414
5415         * src/nm-hal-manager.c (create_device_and_add_to_list): Don't ignore USB devices.
5416
5417 2008-03-11  Dan Williams  <dcbw@redhat.com>
5418
5419         * src/NetworkManagerPolicy.c
5420                 - (update_routing_and_dns): don't change anything if the default device
5421                         hasn't changed; print something out when switching the default route
5422                         and DNS
5423
5424 2008-03-10  Tambet Ingo  <tambet@gmail.com>
5425
5426         Implement PPPoE.
5427
5428         * src/ppp-manager/nm-ppp-manager.c (create_pppd_cmd_line): Use PPPoE service
5429         setting. Use "nic-$eth".
5430
5431         * src/NetworkManagerPolicy.c (auto_activate_device): Move the check of whether
5432         the device is activating here to fix a race condition.
5433
5434         * src/ppp-manager/nm-pppd-plugin.c (get_credentials): Implement.
5435
5436         * src/ppp-manager/nm-ppp-manager.c (impl_ppp_manager_need_secrets): Implement.
5437         (ppp_watch_cb): Emit a signal to notify pppd is not running anymore.
5438         (nm_ppp_manager_start): Take activation request instead of connection, we might
5439         need it for asking secrets.
5440         (nm_ppp_manager_update_secrets): Implement.
5441
5442         * src/nm-serial-device.c (real_act_stage2_config): Send activation request to
5443         ppp manager start. It might be needed for asking secrets.
5444
5445         * src/nm-device-802-3-ethernet.c (real_connection_secrets_updated): Implement.
5446         (ppp_state_changed): Handle pppd daemon disappearing.
5447         (pppoe_stage2_config): Send activation request to ppp manager start.
5448
5449         * libnm-util/nm-setting-pppoe.c (nm_setting_pppoe_class_init): Fix a typo.
5450
5451         * introspection/nm-ppp-manager.xml: Make NeedSecrets method async, return only
5452         username and password.
5453         
5454 2008-03-10  Dan Williams  <dcbw@redhat.com>
5455
5456         * src/nm-device.c
5457                 - (handle_dhcp_lease_change): apply an IP4 config to a device in
5458                         response to a DHCP lease change
5459                 - (dhcp_state_changed): handle DHCP lease changes while activated
5460                 - (nm_device_set_ip4_config): remove a previously set named config
5461                         when setting an ip4 config
5462
5463 2008-03-10  Dan Williams  <dcbw@redhat.com>
5464
5465         * src/nm-serial-device.c
5466                 - (nm_serial_device_send_command): report errno on error
5467                 - (get_reply_got_data): limit the size of the overall buffer
5468                 - (wait_for_reply_info_destroy): destroy result string
5469                 - (wait_for_reply_got_data): append received data to an overall buffer
5470                         until timeout, filled buffer, or error instead of keeping a per-call
5471                         buffer.  Some devices send data slowly enough that this function
5472                         gets called multiple times for the same command stream.
5473                 - (nm_serial_device_wait_for_reply): initialize overall buffer for
5474                         wait_for_reply_got_data() here
5475
5476 2008-03-10  Dan Williams  <dcbw@redhat.com>
5477
5478         * src/nm-cdma-device.c
5479                 - (do_dial, init_modem): handle errors from
5480                         nm_serial_device_send_command_string()
5481
5482         * src/nm-gsm-device.c
5483                 - (do_dial, manual_registration, automatic_registration_get_network,
5484                    automatic_registration, enter_pin, check_pin, init_modem): handle
5485                         errors from nm_serial_device_send_command_string()
5486
5487 2008-03-10  Dan Williams  <dcbw@redhat.com>
5488
5489         Patch based on ideas suggested by Bas Zoetekouw <bas@debian.org>
5490
5491         * src/named-manager/nm-named-manager.c
5492                 - (compute_searches): prefer searches before domains
5493                 - (compute_domain): new function
5494                 - (rewrite_resolv_conf): write out the 'domain' and 'searches' options
5495                 - (merge_one_ip4_config): if there are no searches in the source config,
5496                         merge domains of the source config into the target config
5497                 - (compute_nameservers): make formatting of resolv.conf a bit nicer
5498
5499 2008-03-10  Dan Williams  <dcbw@redhat.com>
5500
5501         * src/nm-serial-device.c
5502                 - (get_reply_got_data): clean up indentation, shrink serial buffer
5503                 - (wait_for_reply_got_data): try to handle slower serial devices where
5504                         the reply is broken up into multiple reads by concatenating replies
5505                         together until either an error is received or the search string is
5506                         found
5507
5508 2008-03-10  Dan Williams  <dcbw@redhat.com>
5509
5510         * src/nm-device.c
5511                 - (nm_device_bring_down): deactivate the device if it's activating too,
5512                         not just if it's already activated.  This makes sure that everything
5513                         from an association attempt is cleaned up (like DHCP for example)
5514
5515 2008-03-10  Dan Williams  <dcbw@redhat.com>
5516
5517         * src/nm-serial-device.c
5518                 - (config_fd): report error from TCSETA
5519                 - (nm_serial_device_open): fail when config_fd() fails
5520
5521 2008-03-10  Dan Williams  <dcbw@redhat.com>
5522
5523         * src/nm-ip4-config.c
5524                 - (nm_ip4_config_init): allocate searches list
5525                 - (finalize): free searches list
5526
5527 2008-03-09  Dan Williams  <dcbw@redhat.com>
5528
5529         Patch from Bas Zoetekouw <bas@debian.org>
5530
5531         * src/dhcp-manager/nm-dhcp-manager.c
5532                 - (nm_dhcp_manager_get_ip4_config): handle domain-search option too
5533
5534 2008-03-09  Dan Williams  <dcbw@redhat.com>
5535
5536         Patch from Bas Zoetekouw <bas@debian.org>
5537
5538         * src/nm-ip4-config.c
5539           src/nm-ip4-config.h
5540                 - (nm_ip4_config_add_search, nm_ip4_config_get_search,
5541                    nm_ip4_config_get_num_searches): add 'searches' as distinct from
5542                         domains.  'searches' is the correct way to store multiple search
5543                         domains, whereas 'domains' is really just supposed to store one
5544                         domain.  Some sites abuse the DHCP 'domain-name' option to push
5545                         search domains to the client.
5546                 - (nm_ip4_config_add_domain): group with related functions (my patch)
5547
5548 2008-03-09  Dan Williams  <dcbw@redhat.com>
5549
5550         * src/dhcp-manager/nm-dhcp-manager.c
5551                 - (dhclient_run): send interface-specific config files to dhclient
5552
5553 2008-03-07  Dan Williams  <dcbw@redhat.com>
5554
5555         * system-settings/plugins/ifcfg-fedora/parser.c
5556                 - (is_wireless_device): new function; test a device for wireless
5557                         extensions
5558                 - (parser_parse_file): if the ifcfg file doesn't have a TYPE tag,
5559                         test the device for wireless extensions to determine the type
5560
5561 2008-03-07  Dan Williams  <dcbw@redhat.com>
5562
5563         Change manager's StateChange signal to StateChanged for consistency.
5564
5565         * introspection/nm-manager.xml
5566                 - Add 'StateChanged' signal
5567                 - Move 'StateChange' down to the deprecated section
5568
5569         * src/nm-hal-manager.c
5570                 - (nm_hal_manager_new): connect to 'state-changed' instead
5571
5572         * src/NetworkManagerPolicy.c
5573                 - (nm_policy_new): connect to 'state-changed' instead
5574
5575         * src/nm-manager.c
5576           src/nm-manager.h
5577                 - (nm_manager_update_state): emit both 'state-changed' and 'state-change'
5578                 - (nm_manager_class_init): add 'state-changed' and not the deprecation
5579                         of 'state-change'
5580
5581         * libnm-glib/nm-client.c
5582           libnm-glib/nm-client.h
5583                 - (constructor, nm_client_class_init, client_state_changed_proxy):
5584                         track and proxy 'state-changed' instead of 'state-change'
5585
5586 2008-03-07  Dan Williams  <dcbw@redhat.com>
5587
5588         First pass of multiple active device support.  Expect bugs.
5589
5590         * src/nm-ip4-config.c
5591           src/nm-ip4-config.h
5592                 - (nm_ip4_config_get_secondary, nm_ip4_config_set_secondary): remove;
5593                         there are better ways to do this in the named manager
5594
5595         * src/nm-device.c
5596           src/nm-device.h
5597                 - (nm_device_can_activate): return whether the device can activate a
5598                         connection right now; taking into account things like carrier state
5599                         and rfkill state
5600                 - (nm_device_get_best_auto_connection): renamed from
5601                         nm_device_get_best_connection
5602                 - (real_act_stage4_get_ip4_config): MTU stuff is now handled in the
5603                         device subclasses themselves, so that each device can override the
5604                         MTU from it's NMSetting subclass if needed
5605                 - (nm_device_set_ip4_config): set MTU when setting up routes and stuff
5606                         in NetworkManagerSystem.c, not here
5607
5608         * src/named-manager/nm-named-manager.c
5609           src/named-manager/nm-named-manager.h
5610                 - (nm_named_manager_name_owner_changed,
5611                    nm_named_manager_dbus_connection_changed): fix for changes to
5612                         rewrite_resolv_conf()
5613                 - (compute_nameservers): don't need the NMNamedManager at all, remove
5614                         from parameter list
5615                 - (merge_one_ip4_config): new function; merge ip4 configs together
5616                 - (rewrite_resolv_conf): write out resolv.conf from all the stored
5617                         ip4 configs; the VPN config takes precedence, then the best
5618                         device config, then the rest of the configs
5619                 - (get_domain_for_config): take the NMNamedManager as an argument
5620                         to check whether the config is the VPN config
5621                 - (add_ip4_config_to_named): fixups for removal of the 'secondary'
5622                         attribute from ip4 configs
5623                 - (add_all_ip4_configs_to_named): add all the configs in priority order
5624                 - (remove_ip4_config_from_named): fix for changes to
5625                         get_domain_for_config()
5626                 - (nm_named_manager_add_ip4_config): assign the config to the right slot
5627                         based on its type; callers must pass in the type now
5628                 - (get_last_default_domain): remove, unused
5629                 - (nm_named_manager_remove_ip4_config): handle config slots correctly
5630
5631         * src/nm-device-802-11-wireless.c
5632                 - (real_can_activate): new function
5633                 - (real_get_best_auto_connection): renamed from real_get_best_connection
5634                 - (real_act_stage4_get_ip4_config): handle MTU override
5635
5636         * src/nm-device-802-3-ethernet.c
5637                 - (real_can_activate): new function
5638                 - (real_get_best_auto_connection): renamed from real_get_best_connection
5639                 - (real_act_stage4_get_ip4_config): new function; handle MTU override
5640
5641         * src/vpn-manager/nm-vpn-connection.c
5642                 - (nm_vpn_connection_ip4_config_get): don't need to set the 'secondary'
5643                         attribute on the ip4 config
5644
5645         * src/NetworkManagerPolicy.c
5646                 - (nm_policy_auto_get_best_device): remove
5647                 - (nm_policy_device_change_check): remove
5648                 - (update_default_route): new function; set the default route via
5649                         the specified device
5650                 - (get_device_priority): new function; return the priority number of
5651                         a device type WRT which one should have the default route.  Order is
5652                         (highest to lowest)  wired, wireless, GSM, CDMA.
5653                 - (update_routing_and_dns): new function; determine which device should
5654                         have the default route, then update the routing table and DNS
5655                 - (maybe_auto_activate_device): new function; if a device is now
5656                         available for activation, find out what connection it would like to
5657                         activate and do it
5658                 - (schedule_activate_check): new function; if a device can be activated
5659                         now, schedule the activation.  Each device may have only one
5660                         pending activation at a given time.
5661                 - (device_state_changed): if activation was canceled, try again,
5662                         possibly with another connection; if the device was activated,
5663                         update routing and DNS; if the device was deactivated, try again
5664                         with another connection
5665                 - (device_carrier_changed): if there is no carrier, deactivate the
5666                         device; otherwise schedule an activation check for the device
5667                 - (wireless_networks_changed): schedule an activation check for the
5668                         device
5669                 - (device_added): keep track of the signal handler IDs so they can
5670                         be removed when the device goes away
5671                 - (device_removed): remove any signal handlers that might be attached
5672                         to the device; update routing and DNS
5673                 - (schedule_activate_all): new function
5674                 - (connections_added, connection_added, connection_updated): when
5675                         connections change, schedule all devices for an activation check
5676                 - (connection_removed): when a device is deactivated because its
5677                         connection was removed, schedule another activation check for it
5678                 - (nm_policy_destroy): destroy pending activations and disconnect
5679                         all device signal handlers
5680
5681         * src/nm-manager.c
5682                 - (nm_manager_activate_device): if the device was already actived,
5683                         deactivate it
5684                 - (deactivate_old_device): remove
5685                 - (connection_added_default_handler, impl_manager_activate_device):
5686                         don't deactivate other devices when activating this one
5687
5688         * src/backends/NetworkManagerGentoo.c
5689           src/backends/NetworkManagerFrugalware.c
5690           src/backends/NetworkManagerPaldo.c
5691           src/backends/NetworkManagerRedHat.c
5692           src/backends/NetworkManagerSlackware.c
5693           src/backends/NetworkManagerArch.c
5694           src/backends/NetworkManagerSuSE.c
5695           src/backends/NetworkManagerDebian.c
5696                 - (nm_system_get_mtu): remove; MTU should be provided through the
5697                         distro's system settings service plugin instead
5698                 - (nm_system_device_add_default_route_via_device): remove
5699                 - (nm_system_device_add_default_route_via_device_with_iface): remove
5700                 - (nm_system_device_replace_default_route): new function; call
5701                         generic implementation
5702
5703         * src/backends/NetworkManagerGeneric.c
5704           src/backends/NetworkManagerGeneric.h
5705                 - (nm_generic_device_add_default_route_via_device,
5706                    nm_generic_device_add_default_route_via_device_with_iface): remove
5707                 - (nm_generic_device_replace_default_route): replace the default route
5708                         with the given route via some gateway
5709
5710         * src/NetworkManagerSystem.c
5711           src/NetworkManagerSystem.h
5712                 - (nm_system_device_set_from_ip4_config): let the policy handle updates
5713                         to routing and DNS; but set the MTU here
5714                 - (nm_system_vpn_device_set_from_ip4_config): set the route with the
5715                         ip_iface of the active device; use the standard MTU setting function
5716                 - (nm_system_set_mtu): remove
5717                 - (nm_system_device_set_mtu): consolidate MTU setting code in one place
5718
5719 2008-03-07  Tambet Ingo  <tambet@gmail.com>
5720
5721         Rework the interaction between ppp manager and pppd plugin. Register a well
5722         known DBUS service in manager and let the plugin call it's methods instead
5723         of listening plugin's signals.
5724
5725         * src/ppp-manager/nm-pppd-plugin.c: Call ppp-manager dbus methods instead
5726         of emitting signals.
5727
5728         * src/ppp-manager/nm-ppp-manager.c: Implement dbus service here.
5729
5730         * src/ppp-manager/Makefile.am: Build nm-ppp-manager-glue.h.
5731
5732         * src/nm-serial-device.c (real_act_stage2_config): Pass NMConnection to
5733         nm_ppp_manager_start().
5734
5735         * introspection/nm-ppp-manager.xml: New file.
5736
5737         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_get_speed): Handle
5738         the case correctly where driver is trying to send -1 for the speed, which gets
5739         casted to u16 and thus is always > 0.
5740
5741 2008-03-07  Dan Williams  <dcbw@redhat.com>
5742
5743         * src/nm-hal-manager.c
5744                 - (nm_get_device_driver_name): use net.originating_device first, fall
5745                         back to physical device.  HAL has deprecated physical_device.
5746
5747         * libnm-glib/nm-device.c
5748                 - (get_product_and_vendor): use net.originating_device first, fall
5749                         back to physical device.  HAL has deprecated physical_device.
5750                 - (nm_device_update_description): s/physical_device_udi/orig_dev_udi
5751
5752 2008-03-07  Dan Williams  <dcbw@redhat.com>
5753
5754         * src/nm-netlink.c
5755                 - (nm_netlink_get_default_handle): mistakenly removed too much code in
5756                         last commit; fix that
5757                 - (get_link_cache): print error string
5758
5759 2008-03-07  Dan Williams  <dcbw@redhat.com>
5760
5761         * src/nm-netlink.c
5762                 - (nm_netlink_get_default_handle): NMNetlinkMonitor now uses libnl,
5763                         don't need this hack any more (Benoit Boissinot)
5764
5765 2008-03-06  Dan Williams  <dcbw@redhat.com>
5766
5767         * autogen.sh
5768                 - Die gnome-common, die
5769
5770 2008-03-04  Dan Williams  <dcbw@redhat.com>
5771
5772         Patch from Michael Biebl <biebl@debian.org>
5773
5774         * NetworkManager.pc.in
5775                 - doesn't actually depend on dbus-1
5776
5777         * libnm-util/nm-utils.h
5778                 - remove unused #include <dbus/dbus.h>
5779
5780         * libnm-glib/libnm_glib.pc.in
5781                 - depends on glib and dbus-glib
5782
5783 2008-03-02  Dan Williams  <dcbw@redhat.com>
5784
5785         * src/NetworkManagerPolicy.c
5786                 - s/device_state_changed_idle_id/update_state_id/
5787
5788 2008-03-02  Dan Williams  <dcbw@redhat.com>
5789
5790         * src/nm-device.c
5791           src/nm-device.h
5792           src/nm-device-802-11-wireless.c
5793           src/nm-device-802-3-ethernet.c
5794           src/NetworkManagerPolicy.c
5795                 - s/link_active/carrier
5796                 - nm_device_set_active_link() -> nm_device_set_carrier()
5797                 - nm_device_has_active_link() -> nm_device_get_carrier()
5798
5799 2008-03-02  Dan Williams  <dcbw@redhat.com>
5800
5801         * system-settings/plugins/ifcfg-fedora/parser.c
5802                 - (make_wireless_setting): fail connection creation on missing SSID
5803
5804 2008-02-29  Dan Williams  <dcbw@redhat.com>
5805
5806         * src/NetworkManagerPolicy.c
5807                 - (nm_policy_device_change_check): ensure that a previously active
5808                         device with a system connection has a link before denying a switch
5809                         to a user connection
5810
5811 2008-02-29  Dan Williams  <dcbw@redhat.com>
5812
5813         * src/nm-device-802-11-wireless.c
5814                 - (link_timeout_cb): try again if scanning; deactivate the device when
5815                         activated if the link dies
5816                 - (supplicant_iface_connection_state_cb_handler): bump link timeout to
5817                         15 seconds
5818
5819 2008-02-29  Dan Williams  <dcbw@redhat.com>
5820
5821         * src/nm-device-802-11-wireless.c
5822           src/nm-device-802-11-wireless.h
5823                 - (nm_device_802_11_wireless_reset_scan_interval): remove, unused
5824                         elsewhere; fold into the sole user in nm-device-802-11-wireless.c
5825                 - (device_cleanup): reset the scan interval lower when the device
5826                         deactivates
5827                 - (can_scan): base decision mostly off device state, not supplicant
5828                         interface state since the supplicant interface state isn't a
5829                         great indicator of whether the device is active or not
5830                 - (request_wireless_scan): clean up; schedule the next scan here
5831                 - (schedule_scan): only back the scan interval off if a new scan
5832                         actually gets scheduled; and make scan intervals tighter when the
5833                         device is disconnected
5834                 - (supplicant_iface_state_cb_handler): fold in the bits of
5835                         nm_device_802_11_wireless_reset_scan_interval() by resetting scan
5836                         interval to minimum
5837                 - (activation_success_handler): reset scan interval to something
5838                         reasonable 
5839
5840 2008-02-28  Saleem Abdulrasool  <compnerd@compnerd.org>
5841
5842         reviewed by: Steev <steev@steev.net>
5843
5844         * configure.in:
5845         * src/backends/NetworkManagerGentoo.c:
5846         (nm_system_restart_mdns_responder):
5847                 Howl is no longer a supported mDNS provider
5848
5849 2008-02-28  Tambet Ingo  <tambet@gmail.com>
5850
5851         Get rid of a bunch of unused distro specific functions.
5852
5853 2008-02-28  Tambet Ingo  <tambet@gmail.com>
5854
5855         Implement suse plugin for system settings daemon.
5856
5857         * system-settings/plugins/ifcfg-suse/*: Implement.
5858
5859         * system-settings/plugins/Makefile.am: Add ifcfg-suse to subdirs when targeting
5860         suse.
5861
5862         * configure.in: Check (without failing) for gio.
5863         Create ifcfg-suse plugin's Makefile.
5864
5865 2008-02-20  Dan Williams  <dcbw@redhat.com>
5866
5867         * libnm-util/nm-connection.c
5868           libnm-util/nm-connection.h
5869                 - (nm_connection_compare): accept compare flags and pass them to the
5870                         setting compare function
5871
5872         * libnm-util/nm-setting.c
5873           libnm-util/nm-setting.h
5874                 - (nm_setting_compare): accept compare flags; ignore properties that are
5875                         marked fuzzy
5876
5877         * libnm-util/nm-setting-connection.c
5878           libnm-util/nm-setting-wireless.c
5879           libnm-util/nm-setting-ppp.c
5880           libnm-util/nm-setting-wired.c
5881                 - Mark some setting properties as ignorable when doing a fuzzy compare
5882
5883         * src/nm-device.c
5884                 - (device_activation_precheck): use exact compare
5885
5886 2008-02-20  Dan Williams  <dcbw@redhat.com>
5887
5888         * src/NetworkManagerPolicy.c
5889                 - (nm_policy_device_change_check): get scope off the connection, not
5890                         using the manager helper
5891
5892         * src/nm-manager.c
5893           src/nm-manager.h
5894                 - (get_scope_for_proxy): rename from get_type_for_proxy()
5895                 - (connection_get_settings_cb): set scope and path on connection, not
5896                         using GObject data items
5897                 - (get_connection_for_proxy): don't need to return path, since that
5898                         can be gotten from the connection
5899                 - (get_connection_for_proxy): get path off the connection, not from
5900                         parameters
5901                 - (connection_removed_cb, connection_updated_cb): don't need to get
5902                         path from get_connection_for_proxy(); get scope off the connection
5903                         instead of using GObject data items
5904                 - (connection_added_default_handler, add_one_connection_element): use
5905                         nm_connection_get_path() not nm_manager_get_connection_dbus_path()
5906                 - (nm_manager_get_connection_dbus_path): remove
5907                 - (nm_manager_get_connection_scope): remove
5908
5909 2008-02-20  Dan Williams  <dcbw@redhat.com>
5910
5911         * Global rename of NMConnectionSettings -> NMExportedConnection to cut down
5912                 on confusing names
5913
5914         * Add 'path' and 'scope' properties to NMConnection since both NM and the
5915                 applet were having to hack this in anyway.  Remove the 'path' stuff from
5916                 NMExportedConnection
5917
5918         * Internally rename NMConnectionType -> NMConnectionScope
5919
5920         * Provide default implementations of the 'get_id' and 'get_settings' methods
5921                 of NMExportedConnection
5922
5923 2008-02-15  Dan Williams  <dcbw@redhat.com>
5924
5925         * src/nm-device-802-11-wireless.c
5926                 - (device_cleanup): release the AP list here too so that the AP list
5927                         doesn't survive across suspend/resume and up/down.  There is some
5928                         room for optimization, for example blow the list away when the card
5929                         brought back up, but only if the device has only been down for a
5930                         minute or more.
5931
5932 2008-02-15  Dan Williams  <dcbw@redhat.com>
5933
5934         * src/nm-hal-manager.c
5935                 - (modem_device_creator): recognize new HAL modem capabilities
5936
5937 2008-02-12  Dan Williams  <dcbw@redhat.com>
5938
5939         * system-settings/plugins/ifcfg-fedora/plugin.c
5940                 - (watch_path): handle IN_DELETE_SELF too
5941                 - (handle_connection_changed): notify when removing a connection
5942                 - (stuff_changed): don't warn on unknown inotify watches; handle the
5943                         case of a file moving out of the profile directory
5944
5945 2008-02-12  Dan Williams  <dcbw@redhat.com>
5946
5947         * system-settings/plugins/ifcfg-fedora/parser.c
5948                 - (make_ip4_setting): bring IPv4 setting handling more up to spec
5949
5950 2008-02-12  Dan Williams  <dcbw@redhat.com>
5951
5952         * libnm-util/nm-utils.c
5953                 - (nm_utils_convert_uint_array_to_string): don't die on NULL array, it's
5954                         just any empty array
5955
5956 2008-02-12  Dan Williams  <dcbw@redhat.com>
5957
5958         * system-settings/src/nm-system-config-interface.c
5959           system-settings/src/nm-system-config-interface.h
5960                 - (load_connections): get_connections() should now return an allocated
5961                         GSList that the system settings service will free
5962
5963         * system-settings/plugins/ifcfg-fedora/plugin.c
5964           system-settings/plugins/ifcfg-fedora/parser.h
5965           system-settings/plugins/ifcfg-fedora/parser.c
5966                 - Fix up inotify issues; handle keys-* files, handle new files appearing
5967                         in the profile directory, handle resolv.conf file changes
5968
5969 2008-02-10  Dan Williams  <dcbw@redhat.com>
5970
5971         * src/nm-device-802-3-ethernet.c
5972                 - (real_bring_up): save the supplicant interface state signal id
5973                 - (real_bring_down): disconnect from the supplicant interface state
5974                         signal
5975
5976 2008-02-07  Dan Williams  <dcbw@redhat.com>
5977
5978         * initscript/RedHat/NetworkManager.in
5979           initscript/RedHat/NetworkManagerDispatcher.in
5980                 - Add new-style LSB init headers
5981
5982 2008-02-07  Dan Williams  <dcbw@redhat.com>
5983
5984         * system-settings/src/dbus-settings.c
5985           system-settings/src/dbus-settings.h
5986                 - (add_one_secret_to_hash): copy secrets out of the plugin-returned hash
5987                         table of secrets
5988                 - (connection_settings_get_secrets): consolidate error returns into
5989                         one place; use the new get_secrets() plugin interface function to
5990                         get secrets from the plugin itself rather than using GObject data
5991                         magic
5992
5993         * system-settings/src/main.c
5994                 - (connection_added_cb, connection_removed_cb, free_plugin_connections,
5995                    load_connections): keep a private list of the plugin-returned
5996                         connections, don't use the plugin's GSList
5997
5998         * system-settings/plugins/ifcfg-fedora/plugin.c
5999                 - (watch_path): watch the path, not the filename (duh)
6000                 - (reload_all_connections): use the direct hash/equal functions; the
6001                         ones for int aren't appropriate here
6002                 - (get_secrets, system_config_interface_init): implement the
6003                         get_secrets() function
6004                 - (build_one_connection, find_connection_by_path): ifcfg file path is
6005                         now in the connection's ConnectionData instead of being a GObject
6006                         data property
6007                 - (handle_profile_item_changed): ifcfg file path is now in the
6008                         connection's ConnectionData instead of being a GObject data property;
6009                         be sure to copy secrets over from the new connection to the existing
6010                         connection when updating the connection's settings
6011                 - (init): sc_plugin_inotify_init() returns success/fail, not the inotify
6012                         file descriptor
6013
6014         * system-settings/plugins/ifcfg-fedora/parser.c
6015           system-settings/plugins/ifcfg-fedora/parser.h
6016                 - (connection_data_get, copy_one_cdata_secret, clear_one_cdata_secret,
6017                    connection_data_copy_secrets, connection_data_free,
6018                    connection_data_add): new functions; connection data manipulation
6019                 - (make_wireless_security_setting): stuff secrets into the
6020                         connection data, not as GObject data items; make sure to close
6021                         the keys ifcfg file
6022                 - (wireless_connection_from_ifcfg, wired_connection_from_ifcfg): add
6023                         connection data to the connection
6024
6025 2008-02-07  Dan Williams  <dcbw@redhat.com>
6026
6027         * system-settings/src/nm-system-config-interface.c
6028           system-settings/src/nm-system-config-interface.h
6029                 - Add a get_secrets() interface function to retrieve secrets for a
6030                         specific setting of a specific connection.  Document the interface
6031                         a bit more too.
6032
6033 2008-02-07  Dan Williams  <dcbw@redhat.com>
6034
6035         * src/nm-device-802-11-wireless.c
6036                 - (handle_auth_or_fail): new function; consolidate device activation
6037                         failure check after a certain number of failures getting secrets
6038                 - (supplicant_connection_timeout_cb, real_act_stage2_config,
6039                    real_act_stage4_ip_config_timeout): use handle_auth_or_fail() to fail
6040                         the connection if secrets were requested more than a few times
6041                 - (real_act_stage3_ip_config_start): don't clear the wireless secrets
6042                         tries here; otherwise they are cleared before the IP configure
6043                         timeout, which happens with open system WEP when key is wrong
6044                 - (activation_success_handler): clear wireless secrets tries here too
6045
6046 2008-02-07  Dan Williams  <dcbw@redhat.com>
6047
6048         * src/NetworkManagerPolicy.c
6049                 - (connection_updated): clear invalid tag when connection gets updated
6050                         to allow that connection to be tried again
6051                 - (nm_policy_new): save signal ids so they can be disconnected when
6052                         the policy is destroyed
6053                 - (nm_policy_destroy): stop any in-progress state change idle handler,
6054                         and disconnect all signals from the manager object so that none
6055                         of the policy functions gets called after the policy is destroyed
6056
6057 2008-02-06  Dan Williams  <dcbw@redhat.com>
6058
6059         * src/nm-manager.c
6060                 - (finalize): remove devices a bit earlier; clean up system settings
6061                         poke
6062                 - (nm_manager_name_owner_changed): clean up system settings poke when
6063                         the service appears, and try to restart it if it fails
6064                 - (poke_system_settings_daemon_cb): try to get the system settings
6065                         service started through D-Bus service activation
6066                 - (initial_get_connections): start the system settings daemon if it's
6067                         not already running
6068
6069 2008-02-05  Dan Williams  <dcbw@redhat.com>
6070
6071         * src/supplicant-manager/nm-supplicant-config.c
6072                 - (nm_supplicant_config_add_setting_wireless): send scan_ssid=1 for
6073                         broadcast networks too
6074
6075 2008-02-04  Dan Williams  <dcbw@redhat.com>
6076
6077         * system-settings/plugins/ifcfg-fedora/parser.c
6078                 - (make_wireless_security_setting): fix spelling; unencrypted networks
6079                         need key_mgmt set too
6080                 - (parser_parse_file): validate ifcfg file name and don't try to parse
6081                         .bak files; ensure that an error is set whenever NULL gets returned
6082
6083 2008-02-04  Dan Williams  <dcbw@redhat.com>
6084
6085         * system-settings/src/Makefile.am
6086                 - Install D-Bus service activation file for the system settings
6087                         service
6088
6089         * system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service
6090                 - D-Bus service activation file for system settings service
6091
6092 2008-02-04  Dan Williams  <dcbw@redhat.com>
6093
6094         * system-settings/src/main.c
6095                 - (parse_config_file): parse a config file
6096                 - (main): accept --config option and read plugins from config file
6097
6098 2008-02-04  Dan Williams  <dcbw@redhat.com>
6099
6100         * system-settings/plugins/ifcfg-fedora/plugin.c
6101                 - Change reported name to 'ifcfg-fedora'
6102                 - Use IFCFG_PLUGIN_NAME
6103
6104         * system-settings/plugins/ifcfg-fedora/plugin.c
6105                 - Remove PLUGIN_NAME, use IFCFG_PLUGIN_NAME instead
6106
6107 2008-02-04  Dan Williams  <dcbw@redhat.com>
6108
6109         * system-settings/plugins/ifcfg-fedora/parser.c
6110                 - (get_ifcfg_name): new function; factor out ifcfg name finding code
6111                 - (make_connection_setting): use get_ifcfg_name()
6112                 - (make_wireless_security_setting): handle shadow key files
6113                 - (get_one_wep_key): treat empty string as NULL
6114
6115 2008-02-04  Dan Williams  <dcbw@redhat.com>
6116
6117         * src/supplicant-manager/nm-supplicant-manager.c
6118                 - (poke_supplicant_cb): reschedule the poke as a timeout, don't let
6119                         glib automatically reschedule
6120                 - (nm_supplicant_manager_init): immediately try to start the supplicant
6121                 - (nm_supplicant_manager_name_owner_changed): immediately try to restart
6122                         the supplicant
6123
6124 2008-02-01  Dan Williams  <dcbw@redhat.com>
6125
6126         * src/NetworkManagerPolicy.c
6127                 - (device_state_changed): schedule a change check when a device gets
6128                         deactivated so something happens if you disconnect GSM/CDMA
6129
6130 2008-01-31  Dan Williams  <dcbw@redhat.com>
6131
6132         * src/nm-device-802-11-wireless.h
6133           src/nm-device-802-11-wireless.c
6134                 - (ap_list_get_ap_by_ssid, is_associated,
6135                    nm_device_802_11_wireless_ap_list_get_ap_by_ssid,
6136                    nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): remove
6137                 - (nm_device_802_11_wireless_get_activation_ap): collapse
6138                         nm_device_802_11_wireless_ap_list_get_ap_by_obj_path() into this
6139                         function
6140
6141 2008-01-30  Dan Williams  <dcbw@redhat.com>
6142
6143         * system-settings/plugins/ifcfg
6144         * system-settings/plugins/ifcfg-fedora
6145                 - Move the ifcfg plugin to ifcfg-fedora
6146
6147 2008-01-24  Dan Williams  <dcbw@redhat.com>
6148
6149         * libnm-glib/nm-device-802-11-wireless.c
6150                 - (get_access_point): move the "/" check here; check for invalid path
6151                         too
6152                 - (nm_device_802_11_wireless_set_active_ap): leave the "/" check up
6153                         to get_access_point()
6154                 - (access_point_added_proxy, access_point_removed_proxy): don't try
6155                         to send signals for non-existent access points
6156
6157 2008-01-24  Dan Williams  <dcbw@redhat.com>
6158
6159         * libnm-glib/nm-device-802-11-wireless.c
6160                 - (nm_device_802_11_wireless_set_active_ap): path of "/" means no AP
6161
6162 2008-01-23  Dan Williams  <dcbw@redhat.com>
6163
6164         * libnm-glib/libnm_glib.c
6165                 - (libnm_glib_init): make thread joinable
6166                 - (libnm_glib_ctx_free): join thread on exit to clean up memory
6167
6168 2008-01-23  Dan Williams  <dcbw@redhat.com>
6169
6170         * test/libnm_glib_test.c
6171                 - (signal_handler, setup_signals): trap SIGINT and SIGTERM
6172                 - (main): set up signal handlers; call libnm_glib_shutdown
6173
6174 2008-01-21  Dan Williams  <dcbw@redhat.com>
6175
6176         * include/NetworkManager.h
6177                 - Add CDMA mobile broadband card device type
6178
6179         * src/nm-hal-manager.c
6180                 - (modem_device_creator): handle both CDMA and GSM modems; the device
6181                         must now be tagged with 'cdma' or 'gsm' capability
6182
6183         * src/nm-cdma-device.c
6184           src/nm-cdma-device.h
6185           src/Makefile.am
6186                 - Add the CDMA mobile broadband card device class
6187
6188         * libnm-util/nm-connection.c
6189                 - (register_default_settings): add NMSettingCdma
6190
6191         * libnm-util/nm-setting-cdma.c
6192           libnm-util/nm-setting-cdma.h
6193           libnm-util/Makefile.am
6194                 - Add the CDMA mobile broadband card setting class
6195
6196         * libnm-glib/nm-cdma-device.c
6197           libnm-glib/nm-cdma-device.h
6198           libnm-glib/Makefile.am
6199                 - Add the CDMA mobile broadband card GLib proxy class
6200
6201         * libnm-glib/nm-client.c
6202                 - (get_device): handle CDMA devices too
6203
6204 2008-01-21  Dan Williams  <dcbw@redhat.com>
6205
6206         * src/ppp-manager/nm-ppp-manager.c
6207                 - (ip4_config_get): set peer address too
6208
6209         * src/ppp-manager/nm-pppd-plugin.c
6210                 - (nm_ip_up): try harder to get the peer's address
6211
6212         * src/NetworkManagerSystem.c
6213                 - (nm_system_device_set_from_ip4_config): if the IP4Config has a peer
6214                         address, use that too.  Otherwise, some PPP connections won't work.
6215
6216 2008-01-19  Dan Williams  <dcbw@redhat.com>
6217
6218         * src/NetworkManagerPolicy.c
6219                 - (nm_policy_device_change_check): system connections override user
6220                         connections; don't activate a user connection if there's a currently
6221                         active system connection, and new, better system connections always
6222                         interrupt user connections
6223
6224 2008-01-19  Dan Williams  <dcbw@redhat.com>
6225
6226         * src/nm-manager.h
6227                 - (nm_manager_get_connection_type): new function
6228
6229 2008-01-19  Dan Williams  <dcbw@redhat.com>
6230
6231         * src/nm-device-802-11-wireless.c
6232                 - (real_get_best_connection): collapse find_best_connection() into this
6233                         function
6234
6235 2008-01-19  Dan Williams  <dcbw@redhat.com>
6236
6237         * src/nm-device-802-3-ethernet.c
6238                 - (real_get_best_connection): collapse find_best_connection() into this
6239                         function
6240
6241 2008-01-18  Dan Williams  <dcbw@redhat.com>
6242
6243         * src/nm-device-802-3-ethernet.c
6244                 - (find_best_connection): check MAC address too
6245                 - (real_get_best_connection): let autoconnect=True connections activate
6246                         for devices that don't have carrier detection
6247
6248         * src/nm-device-802-11-wireless.c
6249                 - (find_best_connection): check MAC address too
6250
6251 2008-01-18  Dan Williams  <dcbw@redhat.com>
6252
6253         * system-settings/plugins/ifcfg/parser.c
6254                 - (make_connection_setting): interpret ON_BOOT=y as 'autoconnect=True'
6255
6256 2008-01-17  Dan Williams  <dcbw@redhat.com>
6257
6258         * src/nm-device-802-3-ethernet.c
6259                 - (nm_device_802_3_ethernet_carrier_on,
6260                    nm_device_802_3_ethernet_carrier_off): ignore any spurious netlink
6261                         carrier events that might come in for devices that don't support
6262                         carrier detect
6263
6264 2008-01-17  Dan Williams  <dcbw@redhat.com>
6265
6266         * src/nm-device-interface.c
6267                 - (nm_device_interface_check_connection_conflicts): need to actually
6268                         get the interface, not cast to the object
6269
6270         * src/nm-device.c
6271                 - (nm_device_check_connection_conflicts): need to get the device class,
6272                         not cast the device to the device class
6273
6274 2008-01-17  Dan Williams  <dcbw@redhat.com>
6275
6276         * src/nm-device-802-11-wireless.c
6277                 - (real_check_connection_conflicts): ignore connections that aren't
6278                         wireless connections
6279
6280 2008-01-17  Dan Williams  <dcbw@redhat.com>
6281
6282         * src/NetworkManagerPolicy.c
6283                 - (nm_policy_device_change_check): clear change check idle here
6284                 - (device_change_check_done): remove
6285                 - (schedule_change_check): simplify
6286
6287 2008-01-17  Dan Williams  <dcbw@redhat.com>
6288
6289         * src/nm-manager.c
6290                 - (check_connection_allowed): take an NMDeviceInterface instead of
6291                         an NMDevice object as an argument
6292                 - (nm_manager_activate_device): pass an NMDeviceInterface to
6293                         check_connection_allowed()
6294
6295 2008-01-13  Dan Williams  <dcbw@redhat.com>
6296
6297         * libnm-glib/nm-device-802-11-wireless.c
6298                 - (nm_device_802_11_wireless_get_access_points): fix memory leak
6299
6300 2008-01-12  Dan Williams  <dcbw@redhat.com>
6301
6302         * src/nm-device-802-11-wireless.c
6303                 - (activation_success_handler): if a match was found in the scan list
6304                         and that match is a hidden AP, update that AP's SSID
6305
6306 2008-01-11  Dan Williams  <dcbw@redhat.com>
6307
6308         * src/NetworkManagerAP.c
6309                 - (nm_ap_new_fake_from_connection): mark fake APs as fake
6310
6311         * src/nm-device-802-11-wireless.c
6312                 - (get_active_ap): do two passes over the scan list if the caller
6313                         requests that hidden APs get matched too; during the second pass
6314                         when matching hidden APs, ignore the SSID since hidden APs in the
6315                         scan list don't have an SSID yet
6316                 - (periodic_update): move some checks to
6317                         nm_device_802_11_periodic_update() because not all callers need them
6318                 - (nm_device_802_11_periodic_update): move some checks here from
6319                         perodic_update()
6320                 - (merge_scanned_ap): if the current AP is fake, then don't do strict
6321                         matching on incoming scan results, because the fake AP's flags
6322                         might be slightly different (yet still compatible) with the incoming
6323                         scan result's flags and they might actually be the same AP; update
6324                         the rate on merged APs too
6325                 - (activation_success_handler): update the frequency of the fake AP
6326                         on successful connection; match hidden APs too since if the
6327                         current AP is fake, there might already be a scan result in the
6328                         scan list for the desired AP, just without it's SSID filled in yet
6329
6330 2008-01-10  Dan Williams  <dcbw@redhat.com>
6331
6332         * src/NetworkManagerAP.c
6333                 - (foreach_property_cb): catch more hidden SSID formats
6334
6335 2008-01-10  Dan Williams  <dcbw@redhat.com>
6336
6337         Fix gnome.org #464215.  Requires the kernel patch titled
6338         "Introduce WEXT scan capabilities" but will handle the patch not being
6339         present, you'll just continue to have problems with hidden SSIDs when
6340         using mac80211-based drivers.
6341
6342         * src/supplicant-manager/nm-supplicant-config.h
6343           src/supplicant-manager/nm-supplicant-config.c
6344                 - (nm_supplicant_config_add_setting_wireless): new parameter to indicate
6345                         whether the driver supports SSID scans or not.  If it does, and if
6346                         the AP is hidden, use ap_scan=1 instead of ap_scan=2
6347
6348         * src/nm-device-802-11-wireless.c
6349                 - (constructor): check whether or not the driver supports SSID scans
6350                 - (build_supplicant_config): pass driver SSID scan capability when
6351                         building the wireless bits of the supplicant config
6352
6353 2008-01-09  Dan Williams  <dcbw@redhat.com>
6354
6355         * src/nm-device.c
6356           src/nm-device.h
6357                 - (device_activation_precheck, check_connection_complete): remove this
6358                         virtual function; incomplete connections should be invalid by
6359                         definition, complete-ness should be checked in the setting's
6360                         verify function
6361
6362         * src/nm-serial-device.c
6363           src/nm-gsm-device.c
6364                 - (real_check_connection_complete): remove
6365
6366         * libnm-util/nm-setting-serial.c
6367                 - (verify): new function; ensure there is a PPP setting too
6368
6369         * libnm-util/nm-setting-gsm.c
6370                 - (verify): ensure there is a serial setting too
6371
6372 2008-01-06  Dan Williams  <dcbw@redhat.com>
6373
6374         * src/dhcp-manager/nm-dhcp-manager.c
6375                 - (nm_dhcp_manager_get_ip4_config): handle DHCP-provided MTU
6376                         (gnome.org #332953)
6377
6378 2008-01-04  Dan Williams  <dcbw@redhat.com>
6379
6380         * src/named-manager/nm-named-manager.c
6381                 - (rewrite_resolv_conf, add_ip4_config_to_named): use primary IP4Config's
6382                         nameservers if the secondary config doesn't have any
6383                         (gnome.org #346833)
6384
6385 2008-01-02  Tambet Ingo  <tambet@gmail.com>
6386
6387         * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Mark the properties
6388         with G_PARAM_CONSTRUCT so that they get the default values.
6389
6390         * src/nm-gsm-device.c: Add preliminary support for monitoring device. It only monitors
6391         the monitoring device and prints out the output for now. Or more precicely, doesn't
6392         do absolutely anything right now since the montoring device argument is never set.
6393
6394         * src/nm-serial-device.c (serial_debug): Implement. It's very verbose and thus
6395         requires it's own knob to turn it on.
6396         (config_fd): Add NMSettingSerial to the arguments list.
6397         (nm_serial_device_open): Ditto.
6398         (get_reply_got_data): Ignore the terminators at the beginning of the output.
6399         (nm_serial_device_get_io_channel): Implement.
6400
6401         * src/nm-manager.c: Add NMDBusManager to the private data of the NMManager. Asking
6402         a new reference every time (and forgetting to release it sometimes) is a pain and
6403         it's not like NMManager could work without dbus.
6404         (nm_manager_add_device): Register the added device on dbus here.
6405
6406         * src/nm-hal-manager.c (modem_device_creator): Pass NULL for now for the monitoring
6407         device.
6408
6409         * src/nm-device.c (constructor): Don't export the device here, instead export
6410         it when it's added to the NMManager's device list.
6411
6412 2007-12-31  Dan Williams  <dcbw@redhat.com>
6413
6414         * src/nm-device-interface.c
6415           src/nm-device-interface.h
6416                 - (nm_device_interface_check_connection_conflicts): new function
6417
6418         * src/nm-device.c
6419           src/nm-device.h
6420                 - (nm_device_check_connection_conflicts): new function
6421                 - (device_activation_precheck): don't require subclasses to implement
6422                         check_connection_complete()
6423                 - check_connection() -> check_connection_complete()
6424
6425         * src/nm-device-802-11-wireless.c
6426                 - (real_check_connection): remove; unused
6427                 - (real_check_connection_conflicts): implement, handle lockdown for
6428                         system connections
6429
6430         * src/nm-device-802-3-ethernet.c
6431                 - (real_check_connection): remove; unused
6432
6433         * src/nm-manager.c
6434                 - (check_connection_allowed): new function
6435                 - (nm_manager_activate_device): ensure the connection being requested
6436                         is allowed to be activated
6437
6438         * src/nm-serial-device.c
6439           src/nm-gsm-device.c
6440                 - real_check_connection() -> real_check_connection_complete()
6441
6442 2007-12-27  Dan Williams  <dcbw@redhat.com>
6443
6444         * src/nm-device-interface.c
6445           src/nm-device-interface.h
6446                 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
6447                         normalize and expand errors
6448                 - (nm_device_interface_init): register errors so they can be marshalled
6449                         through dbus-glib
6450                 - (nm_device_interface_activate): ensure that failure of activation
6451                         returns an error
6452
6453         * src/nm-device.c
6454           src/nm-device.h
6455                 - (device_activation_precheck): implementations of check_connection()
6456                         now take a GError and must fill it in if the check fails.  Return
6457                         more descriptive error if the requested connection is already
6458                         activating
6459                 - (nm_device_activate): actually try to return descriptive errors on
6460                         failures
6461
6462         * src/nm-device-802-11-wireless.c
6463           src/nm-device-802-3-ethernet.c
6464           src/nm-serial-device.c
6465           src/nm-gsm-device.c
6466                 - (real_check_connection): return more descriptive errors on failure
6467
6468         * src/NetworkManagerPolicy.c
6469                 - (nm_policy_device_change_check): print activation errors in the logs
6470
6471         * src/nm-manager.c
6472                 - (nm_manager_error_quark, nm_manager_error_get_type,
6473                    nm_manager_class_init): new errors
6474                 - (nm_manager_activate_device): handle errors
6475                 - (nm_manager_error_new): removed
6476                 - (wait_for_connection_expired, connection_added_default_handler,
6477                    impl_manager_activate_device): better error handling
6478
6479 2007-12-27  Dan Williams  <dcbw@redhat.com>
6480
6481         Fixes gnome.org #466954
6482
6483         * src/supplicant-manager/nm-supplicant-settings-verify.c
6484                 - Allow 'frequency' network property
6485
6486         * src/supplicant-manager/nm-supplicant-config.c
6487           src/supplicant-manager/nm-supplicant-config.h
6488                 - (nm_supplicant_config_add_setting_wireless): add 'adhoc_freq' argument
6489                         for callers to specify the frequency an Ad-Hoc network should operate
6490                         on.  Some drivers require this to successfully create an Ad-Hoc
6491                         network.
6492
6493         * src/nm-device-802-11-wireless.c
6494                 - (iw_freq_to_uint32): new function; convert a struct iw_freq into a
6495                         guint32 value in MHz
6496                 - (constructor, nm_device_802_11_wireless_get_frequency): use
6497                         iw_freq_to_uint32()
6498                 - (find_supported_frequency): new function; find a free supported
6499                         frequency for a user-created Ad-Hoc network
6500                 - (build_supplicant_config): if no frequency was specified for a user-
6501                         created Ad-Hoc network, find a free one to use
6502                 - (real_act_stage1_prepare): mark Ad-Hoc connections that don't have
6503                         a specific object as user-created
6504
6505 2007-12-27  Dan Williams  <dcbw@redhat.com>
6506
6507         * libnm-util/nm-utils.c
6508           libnm-util/nm-utils.h
6509                 - (nm_utils_security_valid): add 'adhoc' argument and handle security
6510                         for adhoc networks
6511
6512 2007-12-24  Dan Williams  <dcbw@redhat.com>
6513
6514         * libnm-util/nm-setting-wireless.c
6515                 - (verify): add 802.11a channels 7, 8, 9, 11, 12, 16, 34, 165, 183, 184,
6516                         185, 187, 188, 192, and 196
6517
6518 2007-12-24  Dan Williams  <dcbw@redhat.com>
6519
6520         * src/nm-device-802-11-wireless.c
6521                 - (nm_device_802_11_wireless_get_frequency): handle drivers that return
6522                         a channel # instead of a frequency
6523
6524 2007-12-24  Dan Williams  <dcbw@redhat.com>
6525
6526         * src/NetworkManagerAP.c
6527           src/NetworkManagerAP.h
6528                 - (nm_ap_new_fake_from_connection): pass band to channel_to_freq()
6529                 - (freq_to_channel): handle split band tables
6530                 - (channel_to_freq): handle split band tables, take a band argument
6531
6532 2007-12-24  Dan Williams  <dcbw@redhat.com>
6533
6534         * libnm-util/nm-setting-connection.h
6535           libnm-util/nm-setting-connection.c
6536                 - Add 'lockdown' member
6537
6538 2007-12-22  Dan Williams  <dcbw@redhat.com>
6539
6540         * libnm-util/nm-setting-wireless.c
6541                 - (nm_setting_wireless_class_init): add missing 'rate' property
6542                         specification
6543
6544 2007-12-18  Dan Williams  <dcbw@redhat.com>
6545
6546         Base the NMNetlinkMonitor class on libnl instead of hand-rolled netlink.
6547
6548         * src/nm-netlink-monitor.c
6549           src/nm-netlink-monitor.h
6550                 - Remove handrolled netlink, use libnl instead
6551
6552         * src/nm-device-802-3-ethernet.c
6553                 - (constructor, nm_device_802_3_ethernet_carrier_off,
6554                    nm_device_802_3_ethernet_carrier_on): use new names
6555
6556 2007-12-17  Dan Williams  <dcbw@redhat.com>
6557
6558         * configure.in
6559                 - Bump requirement for libnl to 1.0-pre8 (which works with newer kernels
6560                         and fixes memory leaks)
6561
6562         * src/nm-netlink.c
6563                 - (nm_netlink_get_default_handle): handle new versions of libnl that
6564                         automatically handle the netlink PID
6565
6566 2007-12-17  Dan Williams  <dcbw@redhat.com>
6567
6568         Patch from Michael Biebl <biebl@debian.org>
6569
6570         * configure.in
6571           src/ppp-manager/Makefile.am
6572                 - fix up install dir of pppd plugin
6573                 - clean up configure.in a bit
6574
6575 2007-12-12  Dan Williams  <dcbw@redhat.com>
6576
6577         * system-settings/src/nm-system-settings.conf
6578                 - Allow non-root clients (like the applet) to read settings
6579
6580 2007-12-10  Tambet Ingo  <tambet@gmail.com>
6581
6582         * Replace all occurences of 'UMTS' with 'GSM'.
6583
6584 2007-12-07  Dan Williams  <dcbw@redhat.com>
6585
6586         * src/nm-serial-device.c
6587                 - (real_is_up): serial devices are always "up"
6588
6589 2007-12-07  Dan Williams  <dcbw@redhat.com>
6590
6591         * src/nm-netlink.c
6592           src/NetworkManagerSystem.c
6593                 - (new_nl_handle): ensure that the same netlink pid is never chosen
6594                         twice (gnome.org #491047)
6595                 - Make more robust against allocation-related failures should they occur
6596
6597 2007-12-07  Dan Williams  <dcbw@redhat.com>
6598
6599         Noticed by Christian Persch <chpe@gnome.org>
6600
6601         Always chain up to parent object in dispose and finalize handlers.
6602                 (gnome.org #433112)
6603
6604 2007-12-07  Dan Williams  <dcbw@redhat.com>
6605
6606         * src/nm-device-802-11-wireless.c
6607                 - Wrap #include of linux/mii.h to fix redefined structures due to
6608                         incorrect kernel headers (gnome.org #350061)
6609
6610 2007-12-06  Tambet Ingo  <tambet@gmail.com>
6611
6612         * src/nm-umts-device.c (real_act_stage1_prepare): Flash the modem (drop DTR)
6613         before doing anything else.
6614         (init_modem): Move modem initialization here.
6615
6616         * src/nm-serial-device.c (ppp_state_changed): React on pppd state changes.
6617         (nm_serial_device_flash): Implement.
6618
6619         * src/ppp-manager/nm-ppp-manager.c (name_owner_changed): Fix the typoes: the state
6620         changes signal is "StateChanged" and not "Status".
6621         (ppp_exit_code, ppp_status_changed): Remove the debug output, it's working fine now.
6622
6623 2007-12-06  Dan Williams  <dcbw@redhat.com>
6624
6625         * src/supplicant-manager/nm-supplicant-config.c
6626                 - (nm_supplicant_config_add_setting_wireless_security): reorganize a bit
6627                         to only send some options when they make sense; also send phase2
6628                         option to the supplicant (possible fix for rh #399631)
6629
6630 2007-12-06  Tambet Ingo  <tambet@gmail.com>
6631
6632         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Change the
6633         arguments: This whole file shouldn't really know anything about NMDevices, it
6634         should deal only with device interfaces. Devices might have different ifaces for
6635         different stuff and this place shouldn't know anything about it.
6636
6637         * src/NetworkManagerPolicy.c: Get rid of leftover global variable global_policy.
6638         (global_state_changed): Implement. In the current NM it's not really important,
6639         but will be required in the case of multiple active devices. (Or even better,
6640         if stuff like that gets moved out from NM).
6641
6642         * src/vpn-manager/nm-vpn-connection.c (connection_state_changed): Don't call
6643         nm_system_device_set_from_ip4_config() directly, use nm_device_set_ip4_config() 
6644         instead.
6645
6646         * src/nm-device.c: Add a ip_face protected member. It's used for 'multi-interface'
6647         devices like serial devices (ttyS0 and ppp0 for example).
6648         (nm_device_get_ip_iface): Implement. Default to the device iface if ip_iface is not
6649         set.
6650         (nm_device_set_ip_iface): Implement.
6651         (nm_device_activate_stage5_ip_config_commit): Move all the extra actions that happen
6652         after setting ip4_config from here ...
6653         (nm_device_set_ip4_config): ... to here. The reason behind it is that no other code
6654         than this function should call nm_system_device_set_from_ip4_config() because no
6655         other code has enough information on which arguments to use. So instead, other code
6656         could just set the new ip4 config using this function and everyone is happy.
6657
6658         * src/nm-umts-device.c: Store the pending ids so that we can remove pending actions
6659         if we happen to get deactivated while something is pending.
6660         (automatic_registration): Handle the response that indicates pending network
6661         registration and wait until the pending registration is done.
6662         (real_deactivate_quickly): If there's a pending operation, cancel it.
6663
6664         * src/nm-serial-device.c (ppp_ip4_config): Set the ip_iface when the iface is up ...
6665         (real_deactivate_quickly): ... and remove it when it's down.
6666         (nm_serial_device_get_reply): Return the timeout id so that the callers can remove
6667         it if needed.
6668         (nm_serial_device_wait_for_reply): Ditto.
6669
6670 2007-12-05  Tambet Ingo  <tambet@gmail.com>
6671
6672         * src/nm-umts-device.c (dial_done): Fix the typoes in warnings.
6673         (get_network_done): Remove newline, nm_info() does it already.
6674         (real_act_stage1_prepare): Turn the modem echo off.
6675
6676         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): In case of serial
6677         device, set the route to the device interface. This is a hack.
6678
6679         * src/nm-serial-device.c (nm_serial_device_send_command_string): Only append carriage 
6680         return, no need for a new-line.
6681         (ppp_ip4_config): Store the ip4 config to be set in the next stage.
6682         Change the device iface here (ugh).
6683         (real_act_stage4_get_ip4_config): Implement.
6684         (real_deactivate_quickly): Free the pending ip4 config if it's still pending.
6685         Restore the device iface.
6686
6687         * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Do nothing if the active
6688         device is not wired or wireless (eg, automatically upped) device.
6689
6690         * src/ppp-manager/nm-ppp-manager.c (ip4_config_get): Don't make the config secondary,
6691         it isn't.
6692         (nm_ppp_manager_start): Don't let pppd to set the default route, we want to do it.
6693
6694         * src/nm-hal-manager.c (get_creator): Make sure the device has required capability
6695         before calling it's is_device_fn().
6696
6697 2007-12-05  Dan Williams  <dcbw@redhat.com>
6698
6699         * libnm-util/nm-utils.c
6700                 - (nm_utils_register_value_transformations,
6701                    nm_utils_convert_gvalue_hash_to_string): better debug output of
6702                         GHashTables of GValues too
6703
6704 2007-12-04  Dan Williams  <dcbw@redhat.com>
6705
6706         * initscript/RedHat/NetworkManager.in
6707                 - No longer start named; it's D-Bus interface is going away
6708
6709 2007-12-04  Dan Williams  <dcbw@redhat.com>
6710
6711         Patch from Michael Biebl <biebl@debian.org>
6712
6713         * system-settings/plugins/ifcfg/Makefile.am
6714           system-settings/src/main.c
6715           system-settings/src/Makefile.am
6716                 - Put system settings plugins in NM plugins dir
6717
6718         * src/ppp-manager/Makefile.am
6719           src/ppp-manager/nm-ppp-manager.c
6720                 - Move pppd plugin to NM plugins dir
6721
6722 2007-12-04  Dan Williams  <dcbw@redhat.com>
6723
6724         * libnm-util/nm-setting-vpn-properties.h
6725                 - Clarify usage of the 'data' member of the setting
6726
6727         * libnm-util/nm-setting-vpn-properties.c
6728                 - (nm_setting_vpn_properties_init): initialize the 'data' hash table
6729                 - (set_property): just remove all the settings; don't recreate the has
6730                 - (update_one_secret): don't need to create the hash table here since
6731                         it should always be present
6732
6733 2007-12-03  Tambet Ingo  <tambet@gmail.com>
6734
6735         Implement PIN and PUK requesting.
6736
6737         * src/nm-umts-device.c (enter_pin_done): Request the secret again if it failed.
6738         (enter_pin): Handle PIN and PUK requests.
6739         (real_act_stage1_prepare): Clear the secret type.
6740         (real_connection_secrets_updated): Implement this class method to get
6741         notified when new secrets arrive.
6742         (nm_umts_device_class_init): Add private data back to the umts device class
6743         to store the required secret type.
6744
6745 2007-12-01  Dan Williams  <dcbw@redhat.com>
6746
6747         * system-settings/plugins/ifcfg/parser.c
6748                 - (parser_parse_file): don't try to verify NULL connections
6749
6750 2007-12-01  Dan Williams  <dcbw@redhat.com>
6751
6752         * system-settings/src/main.c
6753                 - (load_connections, add_connection_to_settings): actually export
6754                         plugin-provided connections over D-Bus so NM can get them
6755
6756 2007-12-01  Dan Williams  <dcbw@redhat.com>
6757
6758         * system-settings/plugins/ifcfg/parser.c
6759           system-settings/plugins/ifcfg/parser.h
6760           system-settings/plugins/ifcfg/plugin.c
6761                 - Hook up more inotify bits (untested)
6762
6763 2007-11-29  Dan Williams  <dcbw@redhat.com>
6764
6765         * system-settings/src/nm-system-config-interface.h
6766           system-settings/src/nm-system-config-interface.c
6767                 - (nm_system_config_interface_init,
6768                    nm_system_config_interface_get_connections): add
6769
6770         * system-settings/src/main.c
6771                 - (load_plugins, load_connections, main): use a GSList for plugins
6772                         to ensure priority ordering
6773
6774         * system-settings/plugins/ifcfg/parser.c
6775                 - (ifcfg_error_quark): move to plugin.c, and rename
6776
6777         * system-settings/plugins/ifcfg/plugin.h
6778           system-settings/plugins/ifcfg/plugin.c
6779                 - (ifcfg_plugin_error_quark): move here from parser.c
6780                 - rework connection loading and initialization
6781                 - Add preliminary inotify support for network profile config file
6782
6783 2007-11-28  Tambet Ingo  <tambet@gmail.com>
6784
6785         Merge the beginnings of the new GSM card support.
6786
6787         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Remove the
6788         ppp watch source before killing pppd - If this happens from g_object_unref()
6789         then the ppp manager is already destroyed by the time the watch callback runs.
6790
6791         * src/nm-hal-manager.c: Add a device_type_name string to the device
6792         creators, so that we can print a nice human readable string when a
6793         device is added.
6794
6795         * src/nm-umts-device.c (automatic_registration_get_network): Query
6796         for the activated network, not much is done with the result thought.
6797
6798         * src/nm-serial-device.c (nm_serial_device_get_reply): Implement.
6799         (ppp_ip4_config): Change the device state to activated here for now.
6800         (real_check_connection): Make sure the connection includes ppp setting.
6801
6802         * libnm-glib/nm-client.c (get_device): Handle umts devices.
6803
6804         * libnm-glib/Makefile.am: Add the new files to build.
6805
6806         * libnm-glib/nm-umts-device.c: 
6807         * libnm-glib/nm-umts-device.h: Implement.
6808
6809 2007-11-26  Tambet Ingo  <tambet@gmail.com>
6810
6811         * src/nm-umts-device.c (automatic_registration_get_network): For now, dial
6812         immediately, nm_serial_device_get_reply() isn't implemented correctly yet.
6813
6814         * src/nm-serial-device.c (wait_for_reply_info_destroy): Don't try to remove
6815         the timeout source - this function is only called when the timeout source has
6816         been removed.
6817         (nm_serial_device_wait_for_reply): Allocate the duplicate responses array
6818         to be big enough to contain the terminating zero element as well.
6819         The timeout argument is meant to be in seconds now.
6820         (real_deactivate_quickly): Implement.
6821
6822         * src/NetworkManager.conf: Allow root to own 
6823         "org.freedesktop.NetworkManager.PPP", deny it for everybody else.
6824
6825         * libnm-util/nm-setting-umts.c: Network type and band properties are ints,
6826         (not unsigned ints).
6827
6828         * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Fix a 
6829         small issue with parity bounds - capital letters have lower ascii codes
6830         than lower case letters.
6831
6832         * libnm-util/nm-connection.c (register_default_settings): Register serial
6833         and umts settings.
6834
6835 2007-11-22  Tambet Ingo  <tambet@gmail.com>
6836
6837         Remove the "index" property from devices as not all device types have this.
6838
6839         * include/NetworkManager.h (NM_DBUS_PATH_DEVICE): Remove.
6840
6841         * src/nm-hal-manager.c (nm_get_device_index_from_hal): Remove.
6842         (wired_device_creator): Get the device interface from hal to create the device.
6843         (wireless_device_creator): Ditto.
6844
6845         * src/nm-device.c (nm_device_init): Remove the index member.
6846         (constructor): Remove the checks for index property, make interface property
6847         a require constructor property.
6848         Use the HAL udi for DBus path for devices.
6849         (nm_device_get_index): Remove.
6850         (set_property): Remove index handling.
6851         (get_property): Ditto.
6852         (nm_device_get_dbus_path): Remove.
6853
6854         * src/nm-device-interface.c (nm_device_interface_init): Remove the index
6855         property.
6856
6857         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_link_activated):
6858         Access the device index through it's interface.
6859         (nm_device_802_3_ethernet_link_deactivated): Ditto.
6860         (nm_device_802_3_ethernet_new): Remove the useless argument test_dev. Remove
6861         index argument. Add interface argument.
6862
6863         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new): Remove
6864         the useless test_dev argument. Remove index argument. Add interface arugment.
6865
6866         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Get the
6867         device index through interface.
6868         (nm_system_set_mtu): Ditto.
6869
6870         * introspection/nm-device.xml: Remove the "Index" property.
6871
6872 2007-11-21  Tambet Ingo  <tambet@gmail.com>
6873
6874         * src/nm-serial-device.c: 
6875         * src/nm-serial-device.c: 
6876         * src/nm-umts-device.c:
6877         * src/nm-umts-device.h: Implement.
6878
6879         * src/nm-hal-manager.c (nm_get_device_driver_name): libhal_free_string the string 
6880         allocated by libhal.
6881         (modem_device_creator): Implement.
6882         (register_built_in_creators): Register the modem creator.
6883
6884         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new): 
6885         Remove the unused test_dev argument.
6886
6887         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_new): Ditto.
6888
6889         * src/Makefile.am: Add new files to build.
6890         Link in ppp-manager.
6891
6892         * libnm-util/nm-setting-umts.c: 
6893         * libnm-util/nm-setting-umts.h: 
6894         * libnm-util/nm-setting-serial.c: 
6895         * libnm-util/nm-setting-serial.h: Implement.
6896
6897         * libnm-util/Makefile.am: Add new files to build.
6898
6899 2007-11-28  Dan Williams  <dcbw@redhat.com>
6900
6901         Patch from Zdeněk Jurka <zdenek.jurka@jware.cz>
6902
6903         Support DHCP-provided static routes.
6904
6905         * src/nm-ip4-config.h
6906           src/nm-ip4-config.c
6907                 - Add get/set functions for static routes
6908
6909         * src/dhcp-manager/nm-dhcp-manager.c
6910                 - (nm_dhcp_manager_get_ip4_config): extract static routes from the
6911                         DHCP response
6912
6913         * src/NetworkManagerSystem.c
6914                 - (nm_system_device_set_from_ip4_config): set any static routes on the
6915                         interface when applying the IP4Config
6916
6917 2007-11-28  Dan Williams  <dcbw@redhat.com>
6918
6919         * src/nm-device-802-11-wireless.c
6920                 - (real_act_stage1_prepare): mark APs created for hidden networks
6921                         as non-broadcasting
6922
6923 2007-11-27  Dan Williams  <dcbw@redhat.com>
6924
6925         * system-settings/src/nm-system-config-interface.h
6926                 - Note how to store secrets on NMSetting objects
6927
6928         * system-settings/src/dbus-settings.c
6929                 - (connection_settings_get_secrets): implement
6930
6931 2007-11-27  Dan Williams  <dcbw@redhat.com>
6932
6933         * system-settings/plugins/ifcfg/Makefile.am
6934           system-settings/plugins/ifcfg/parser.c
6935           system-settings/plugins/ifcfg/parser.h
6936           system-settings/plugins/ifcfg/plugin.c
6937                 - Parse wireless connections too
6938
6939         * system-settings/src/dbus-settings.c
6940           system-settings/src/dbus-settings.h
6941           system-settings/src/main.c
6942                 - Handle connection update/removal if the plugin supports it
6943
6944 2007-11-27  Dan Williams  <dcbw@redhat.com>
6945
6946         * src/nm-dbus-manager.h
6947           src/nm-hal-manager.c
6948                 - Include the correct headers now that NetworkManagerDbusUtils.h doesn't
6949                         do it for them
6950
6951         * src/Makefile.am
6952           src/NetworkManagerDbusUtils.c
6953           src/NetworkManagerDbusUtils.h
6954                 - Remove these two source files; they are unused
6955
6956 2007-11-27  Dan Williams  <dcbw@redhat.com>
6957
6958         * src/vpn-manager/nm-vpn-manager.c
6959                 - (impl_vpn_manager_connect): fix system settings check (found by
6960                         James M. Leddy)
6961
6962 2007-11-26  Dan Williams  <dcbw@redhat.com>
6963
6964         * Fix warnings so everything compiles with --enable-more-warnings
6965
6966 2007-11-25  Dan Williams  <dcbw@redhat.com>
6967
6968         * system-settings/*
6969                 - Rework structure and code to use GModule-loaded plugins and a plugin
6970                         interface that plugins export to the system settings service
6971
6972 2007-11-21  Dan Williams  <dcbw@redhat.com>
6973
6974         * system-settings/*
6975                 - Add Soren's system settings service.  Needs work for distros other
6976                         than Fedora; the backends from NM should mostly migrate to here
6977                         and be converted to GObjects
6978
6979 2007-11-21  Dan Williams  <dcbw@redhat.com>
6980
6981         * libnm-util/nm-setting-vpn-properties.c
6982                 - (set_property): must deep-copy the given settings hash, otherwise
6983                         double-free errors occur when the setting is disposed of
6984
6985 2007-11-21  Dan Williams  <dcbw@redhat.com>
6986
6987         * src/vpn-manager/nm-vpn-act-request.h
6988           src/vpn-manager/nm-vpn-act-request.c
6989                 - Remove; unused
6990
6991 2007-11-20  Dan Williams  <dcbw@redhat.com>
6992
6993         * libnm-util/nm-utils.c
6994                 - (nm_utils_convert_strv_to_string, nm_utils_convert_uint_array_to_string,
6995                    nm_utils_convert_ip4_addr_struct_array_to_string,
6996                    nm_utils_register_value_transformations): print out the readable
6997                         values of more types of properties of NMSettings subclasses
6998
6999 2007-11-20  Dan Williams  <dcbw@redhat.com>
7000
7001         * libnm-util/nm-setting-ip4-config.c
7002                 - (ip4_addresses_from_gvalue, ip4_addresses_to_gvalue,
7003                    nm_setting_ip4_config_class_init): apparently dbus-glib can't
7004                         marshal GValueArrays inside collections, so switch to types that it
7005                         can actually marshal/demarshal
7006
7007 2007-11-16  Dan Williams  <dcbw@redhat.com>
7008
7009         * libnm-util/nm-setting-wireless-security.c
7010                 - (verify_tls, verify_ttls, verify_identity, verify_nai): do some
7011                         minimal verification of EAP methods too
7012                 - (verify): verify phase1 eap methods too
7013
7014 2007-11-15  Dan Williams  <dcbw@redhat.com>
7015
7016         * libnm-glib/nm-device.h
7017           libnm-glib/nm-device.c
7018                 - (nm_device_get_product, nm_device_get_vendor): should be returning
7019                         const char *
7020
7021 2007-11-15  Dan Williams  <dcbw@redhat.com>
7022
7023         * libnm-glib/nm-device.c
7024                 - (get_product_and_vendor): don't try to free things that should be
7025                         freed
7026
7027 2007-11-15  Dan Williams  <dcbw@redhat.com>
7028
7029         * src/NetworkManagerUtils.c
7030                 - (nm_ethernet_address_is_valid): unbreak previous fix
7031
7032 2007-11-15  Dan Williams  <dcbw@redhat.com>
7033
7034         * src/supplicant-manager/nm-supplicant-config.c
7035                 - (nm_supplicant_config_add_setting_wireless_security): handle PEAP
7036                         options
7037
7038 2007-11-15  Dan Williams  <dcbw@redhat.com>
7039
7040         * src/NetworkManagerUtils.c
7041                 - (nm_ethernet_address_is_valid): fix style, clarify
7042                 - (nm_ethernet_addresses_are_equal): don't try to memcmp NULLs
7043
7044         * src/nm-device-802-11-wireless.c
7045                 - (get_active_ap): handle failure from nm_device_802_11_wireless_get_bssid()
7046                 - (nm_device_802_11_wireless_get_ssid,
7047                    nm_device_802_11_wireless_get_bssid,
7048                    nm_device_802_11_wireless_get_bitrate): zero the wreq structure
7049                         before calling the ioctl; fixes valgrind-reported jump depends on
7050                         uninitialized value errors
7051
7052 2007-11-15  Dan Williams  <dcbw@redhat.com>
7053
7054         * libnm-util/nm-setting.c
7055                 - (nm_setting_to_hash, one_property_cb): revert previous commit, it's
7056                         unecessary to serialize 'name'
7057
7058         * src/nm-activation-request.c
7059                 - (get_secrets_cb): fix cases where a full NMSetting is returned from
7060                         the GetSecrets call
7061
7062 2007-11-15  Dan Williams  <dcbw@redhat.com>
7063
7064         * libnm-util/nm-setting-connection.h
7065           libnm-util/nm-setting-connection.c
7066                 - Rename the 'name' property to 'id', because it conflicted with the
7067                         NMSetting superclass' 'name' property.
7068
7069         * libnm-util/nm-setting.c
7070                 - (nm_setting_to_hash): serialize the 'name' property
7071                 - (one_property_cb): ignore 'name' on deserialization of a connection
7072
7073         * src/nm-device-802-11-wireless.c
7074           src/vpn-manager/nm-vpn-connection.c
7075           src/NetworkManagerPolicy.c
7076                 - Fix up for NMSettingConnection 'name'->'id' changes
7077
7078 2007-11-13  Dan Williams  <dcbw@redhat.com>
7079
7080         * libnm-glib/nm-device-802-11-wireless.h
7081           libnm-glib/nm-device-802-11-wireless.c
7082                 - (nm_device_802_11_wireless_get_hw_address): return should be const
7083
7084         * test/nm-tool.c
7085           libnm-glib/libnm-glib-test.c
7086                 - Fixes for above change
7087
7088 2007-11-12  Dan Williams  <dcbw@redhat.com>
7089
7090         * src/supplicant-manager/nm-supplicant-settings-verify.c
7091                 - Allow fragment_size option
7092
7093         * src/supplicant-manager/nm-supplicant-settings-verify.c
7094                 - (nm_supplicant_config_add_setting_wireless_security): use a lower
7095                         EAP fragment size than the default to help some TLS connections
7096
7097 2007-11-12  Dan Williams  <dcbw@redhat.com>
7098
7099         Make certs actually work.  The private key is now a secret, and should be
7100         decrypted when requested by NM.  The private key and phase2 private key
7101         passwords are no longer interesting to NM because they should be used by
7102         the settings service to decrypt the private key itself before passing it
7103         to NM, and hence have been removed as fields.
7104
7105         * libnm-util/nm-setting-wireless-security.h
7106           libnm-util/nm-setting-wireless-security.c
7107                 - Remove private-key-passwd and phase2-private-key-passwd from
7108                         properties
7109                 - (need_secrets_password, need_secrets_eappsk, need_secrets_sim,
7110                    need_secrets): use property #defines instead strings to keep things
7111                         consistent
7112                 - (need_secrets_tls): if a client certificate is present but no
7113                         private key, request the private key
7114                 - (set_property, get_property, nm_setting_wireless_security_class_init):
7115                         remove private key password stuff, mark private keys as secret
7116
7117         * src/supplicant-manager/nm-supplicant-settings-verify.c
7118                 - Remove private_key_passwd and private_key2_passwd from opt_table
7119
7120 2007-11-09  Dan Williams  <dcbw@redhat.com>
7121
7122         Fix vpn-properties setting update_secrets call for new NMSetting stuff.
7123         Since the vpn-properties are managed and known by the VPN daemons themselves,
7124         libnm-util doesn't know what's secret and what's in the setting's 'data'
7125         member.
7126
7127         * libnm-util/nm-setting.h
7128           libnm-util/nm-setting.c
7129                 - Add the ability for subclasses to override update_one_secret
7130
7131         * libnm-util/nm-setting-vpn-properties.c
7132                 - Override update_one_secret and just copy the values into the
7133                         internal table
7134
7135 2007-11-09  Dan Williams  <dcbw@redhat.com>
7136
7137         * libnm-glib/nm-settings.h
7138           libnm-glib/nm-settings.c
7139                 - (nm_settings_new_error): remove
7140                 - (nm_settings_error_quark): add; instead of nm_settings_new_error,
7141                         clients should use g_set_error() with NM_SETTINGS_ERROR
7142
7143 2007-11-09  Dan Williams  <dcbw@redhat.com>
7144
7145         * src/supplicant-manager/nm-supplicant-config.c
7146                 - (nm_supplicant_config_add_setting_wireless_security): private key
7147                         passwords are never sent to wpa_supplicant, because the supplicant
7148                         should never be reading random files from the disk.  Clients like
7149                         the applet are required to decrypt the private keys and send NM
7150                         the decrypted blobs.
7151
7152 2007-11-08  Dan Williams  <dcbw@redhat.com>
7153
7154         * libnm-util/nm-setting-wireless-security.h
7155           libnm-util/nm-setting-wireless-security.c
7156                 - Add 'private-key-decrypted' and 'phase2-private-key-decrypted'
7157                         members to 802-11-wireless-security structure.  This should be used
7158                         to indicate that the values in private-key and phase2-private-key
7159                         are already decrypted by the user agent, and that no
7160                         private-key-passwd or phase2-private-key-passwd should be expected.
7161                         It is not meant to be a stored configuration value, but meant to
7162                         be set when the conneciton is sent to NM over dbus.
7163
7164 2007-11-08  Dan Williams  <dcbw@redhat.com>
7165
7166         * libnm-util/nm-connection.h
7167           libnm-util/nm-connection.c
7168                 - (nm_connection_need_secrets): add argument to return hints
7169
7170         * src/nm-device-802-11-wireless.c
7171                 - (link_timeout_cb, supplicant_connection_timeout_cb,
7172                    real_act_stage2_config, real_act_stage4_ip_config_timeout): handle
7173                         nm_connection_need_secrets() change
7174
7175 2007-11-07  Tambet Ingo  <tambet@gmail.com>
7176
7177         Rework NMSetting structures: Move each setting to it's own file.
7178         Convert to GObject. Remove home grown setting types and use GTypes.
7179         Use GObject property introspection for hash conversion, enumerating
7180         properties, etc.
7181
7182         * libnm-util/nm-setting-connection.[ch]
7183         * libnm-util/nm-setting-ip4-config.[ch]
7184         * libnm-util/nm-setting-ppp.[ch]
7185         * libnm-util/nm-setting-vpn.[ch]
7186         * libnm-util/nm-setting-vpn-properties.[ch]
7187         * libnm-util/nm-setting-wired.[ch]
7188         * libnm-util/nm-setting-wireless.[ch]
7189         * libnm-util/nm-setting-wireless-security.[ch]
7190
7191         New files, each containing a setting.
7192
7193         * libnm-util/nm-setting-template.[ch]: A template for creating new
7194         settings. To use it, just replace 'template' with the new setting
7195         name, and you're half-way done.
7196
7197         * libnm-util/nm-setting.c: Convert to GObject and use GObject
7198         introspection instead of internal types and tables.
7199
7200         * libnm-util/nm-connection.c: Adapt the new NMSetting work.
7201
7202         * libnm-util/nm-param-spec-specialized.[ch]: Implement. Handles
7203         GValue types defined by dbus-glib for composed types like collections,
7204         structures and maps.
7205
7206         * src/*: The API of NMSetting and NMConnection changed a bit: Getting
7207         a setting from connection takes the setting type now. Also, since
7208         the settings are in multiple files, include relevant settings.
7209
7210 2007-10-31  Saleem Abdulrasool <compnerd@compnerd.org>
7211
7212         * configure.in:
7213         * src/backends/NetworkManagerGentoo.c:
7214         (nm_system_restart_mdns_responder): Implement restarts for other mdns
7215         providers in Gentoo.
7216
7217 2007-10-31  Dan Williams  <dcbw@redhat.com>
7218
7219         * libnm-util/nm-connection.c
7220                 - (gvalue_to_string): handle UINT32 arrays
7221
7222 2007-10-31  Dan Williams  <dcbw@redhat.com>
7223
7224         * libnm-glib/nm-device.h
7225           libnm-glib/nm-device.c
7226                 - (nm_device_get_description): remove
7227                 - (nm_device_get_product, nm_device_get_vendor): add
7228                 - (nm_device_update_description): new function (private); walk HAL
7229                         devices to get product and vendor IDs for a specific device
7230
7231 2007-10-31  Dan Williams  <dcbw@redhat.com>
7232
7233         * src/nm-device-802-11-wireless.c
7234                 - (nm_device_802_11_wireless_get_mode): ignore ENODEV errors
7235
7236 2007-10-29  Dan Williams  <dcbw@redhat.com>
7237
7238         * src/nm-hal-manager.c
7239                 - (device_added, device_new_capability): ignore device additions while
7240                         asleep.  Fixes crash caused when NM goes to sleep, a network device
7241                         kernel module is unloaded and reloaded and recognized by NM again.
7242
7243 2007-10-26  Dan Williams  <dcbw@redhat.com>
7244
7245         Patch from Helmut Schaa <hschaa@suse.de> (and more bits from me)
7246
7247         * src/NetworkManagerAP.c
7248           src/NetworkManagerAP.h
7249           libnm-glib/nm-access-point.c
7250           libnm-glib/nm-access-point.h
7251                 - Make 'rate' property a guint32 to better match with WEXT and
7252                         wpa_supplicant and to allow representation of higher bitrates
7253
7254         * src/nm-device-802-11-wireless.c
7255           introspection/nm-device-802-11-wireless.xml
7256           libnm-glib/nm-device-802-11-wireless.c
7257           libnm-glib/nm-device-802-11-wireless.h
7258                 - Make 'bitrate' property a guint32 to match AP 'rate' property type
7259
7260         * src/nm-device-802-3-ethernet.c
7261           src/nm-device-802-3-ethernet.h
7262           introspection/nm-device-802-3-ethernet.xml
7263           libnm-glib/nm-device-802-3-ethernet.c
7264           libnm-glib/nm-device-802-3-ethernet.h
7265                 - Make 'speed' property a guint32 to match other speed/rate types
7266                 - Make nm_device_802_3_ethernet_get_speed() static
7267
7268         * test/nm-tool.c
7269                 - Update for the changes above
7270
7271 2007-10-26  Dan Williams  <dcbw@redhat.com>
7272
7273         * src/named-manager/nm-named-manager.c
7274                 - (rewrite_resolv_conf): clean up error handling to avoid double-free by
7275                     not calling fclose() twice on some error conditions
7276
7277 2007-10-26  Dan Williams  <dcbw@redhat.com>
7278
7279         * src/nm-activation-request.c
7280                 - (dispose): clean up indentation; get the right DBusGProxy object to
7281                         cancel the GetSecrets pending call on.  Need to use the Secrets
7282                         proxy, not the regular connection proxy.  Otherwise the GetSecrets
7283                         pending call doesn't get canceled, and pressing Cancel in the
7284                         applet's password dialog could cause get_secrets_cb() to be called
7285                         after the activation request has already been destroyed
7286
7287 2007-10-24  Dan Williams  <dcbw@redhat.com>
7288
7289         * src/supplicant-manager/nm-supplicant-config.c
7290                 - (nm_supplicant_config_add_blob): pass blob data and length for
7291                         verification
7292                 - (get_hash_cb): use GByteArrays rather than GArrays; easier to follow
7293
7294 2007-10-24  Dan Williams  <dcbw@redhat.com>
7295
7296         * src/supplicant-manager/nm-supplicant-settings-verify.c
7297                 - (opt_table): max length for certificates should be 65536
7298
7299 2007-10-24  Dan Williams  <dcbw@redhat.com>
7300
7301         * src/supplicant-manager/nm-supplicant-interface.c
7302                 - (blob_free): correctly free blob data after use
7303                 - (call_set_blobs): use the right D-Bus interfaace for setBlobs
7304
7305 2007-10-24  Dan Williams  <dcbw@redhat.com>
7306
7307         * libnm-util/nm-setting.c
7308                 - (setting_wireless_security_need_secrets): Fix lookup table logic for
7309                         EAP method need secrets
7310
7311 2007-10-24  Dan Williams  <dcbw@redhat.com>
7312
7313         * src/backends/NetworkManagerRedHat.c
7314                 - (nm_system_update_dns): be a lot smarter about telling nscd to restart
7315
7316 2007-10-23  Dan Williams  <dcbw@redhat.com>
7317
7318         * libnm-util/nm-setting.c
7319           libnm-util/nm-setting.c
7320                 - (nm_setting_compare): implement
7321                 - (default_setting_compare_fn, do_one_compare, compare_gvalue_hash,
7322                    compare_one_hash_gvalue): compare the contents of a setting
7323
7324         * libnm-util/nm-connection.c
7325                 - (nm_connection_compare): implement
7326
7327 2007-10-23  Dan Williams  <dcbw@redhat.com>
7328
7329         * src/nm-activation-request.c
7330                 - (get_secrets_cb): handle getting a setting back that is more than
7331                         just secrets (ie, user changed auth or EAP method or something)
7332
7333 2007-10-23  Dan Williams  <dcbw@redhat.com>
7334
7335         * libnm-util/nm-setting.c
7336           libnm-util/nm-setting.h
7337                 - (nm_setting_verify): new function; verify one setting
7338                 - (nm_settings_verify_all): rename from nm_settings_verify()
7339                 - (setting_connection_verify, setting_wireless_verify): allow NULL
7340                         all_settings
7341
7342         * libnm-util/nm-connection.c
7343                 - (nm_connection_replace_settings, nm_connection_verify,
7344                    nm_connection_new_from_hash): handle nm_settings_verify() rename
7345
7346 2007-10-23  Dan Williams  <dcbw@redhat.com>
7347
7348         * src/nm-device-802-11-wireless.c
7349                 - (real_act_stage2_config): use pre-increment on 'tries' to get the
7350                         desired behavior
7351
7352 2007-10-23  Dan Williams  <dcbw@redhat.com>
7353
7354         * src/supplicant-manager/nm-supplicant-settings-verify.c
7355                 - eap_allowed, phase2_allowed: harmonize with allowed values from
7356                         nm-settings.c
7357
7358 2007-10-23  Dan Williams  <dcbw@redhat.com>
7359
7360         * src/nm-device-802-11-wireless.c
7361                 - (real_act_stage2_config): after the first association failure,
7362                         if the connection still needs secrets ask the user for them
7363                         explicitly.  After the fourth association failure due to bad
7364                         secrets, fail the connection entirely.  Handles the GetSecrets
7365                         loop that NM gets into when the provided secrets don't match up
7366                         with the connection details.
7367
7368 2007-10-23  Dan Williams  <dcbw@redhat.com>
7369
7370         * src/supplicant-manager/nm-supplicant-config.c
7371                 - (nm_supplicant_config_add_setting_wireless_security): only add
7372                         WPA-specific options when WPA is in use
7373
7374 2007-10-23  Dan Williams  <dcbw@redhat.com>
7375
7376         * src/supplicant-manager/nm-supplicant-config.c
7377                 - (nm_supplicant_config_add_setting_wireless_security): 'password'
7378                         secret doesn't need to be unhexified
7379
7380 2007-10-23  Dan Williams  <dcbw@redhat.com>
7381
7382         * libnm-util/nm-setting.c
7383                 - (setting_wireless_security_need_secrets): ensure auth_alg is !NULL
7384                         before trying to do something with it
7385
7386 2007-10-23  Dan Williams  <dcbw@redhat.com>
7387
7388         * src/nm-device-802-11-wireless.c
7389                 - (merge_scanned_ap): handle NULL ssids returned from nm_ap_get_ssid()
7390
7391 2007-10-23  Dan Williams  <dcbw@redhat.com>
7392
7393         * src/nm-device-802-11-wireless.c
7394                 - (merge_scanned_ap): use libnm-util empty SSID check to catch more
7395                         non-SSID-broadcasting APs
7396
7397 2007-10-23  Dan Williams  <dcbw@redhat.com>
7398
7399         * src/NetworkManagerAP.c
7400                 - (match_cipher, security_compatible): remove
7401                 - (nm_ap_check_compatible): use nm_utils_ap_security_compatible() from
7402                         libnm-util instead
7403
7404 2007-10-23  Dan Williams  <dcbw@redhat.com>
7405
7406         * libnm-util/nm-utils.c
7407           libnm-util/nm-utils.h
7408                 - (nm_utils_ap_security_compatible): common function for checking
7409                         whether a specific AP is compatible with an NMConnection
7410
7411 2007-10-23  Dan Williams  <dcbw@redhat.com>
7412
7413         * libnm-util/nm-setting.c
7414                 - (setting_wireless_security_need_secrets, need_secrets_phase2,
7415                    need_secrets_tls, need_secrets_sim, need_secrets_eappsk,
7416                    need_secrets_password, setting_wireless_security_verify): fix
7417                         need_secrets for IEEE 802.1x and WPA-EAP by implementing need
7418                         secrets logic for each supported EAP method
7419
7420 2007-10-23  Dan Williams  <dcbw@redhat.com>
7421
7422         * src/supplicant-manager/nm-supplicant-config.c
7423                 - (nm_supplicant_config_add_setting_wireless_security): fix wpa_supplicant
7424                         config option name, should be "private_key2_passwd"
7425
7426 2007-10-22  Tambet Ingo  <tambet@gmail.com>
7427
7428         Implement support for static IP addresses, additional/overridden DNS and
7429         DNS domain search lists.
7430
7431         * libnm-util/nm-setting.c (uint_array_to_gvalue): Implement.
7432         (ip4_addresses_to_gvalue): Implement.
7433         (convert_array_to_byte_array): Implement.
7434         (nm_setting_populate_from_hash_default): Handle NM_S_TYPE_UINT_ARRAY and
7435         NM_S_TYPE_IP4_ADDRESSES.
7436         (nm_setting_hash): Ditto.
7437         (default_setting_clear_secrets): Add a default case for the switch: IP address
7438         shouldn't be secret, ever.
7439         (setting_ip4_config_verify): Update, requires addresses in case of manual
7440         configurations.
7441         (setting_ip4_config_destroy): Free stuff.
7442
7443         * src/nm-device.c (merge_ip4_config): Implement.
7444         (real_act_stage4_get_ip4_config): Merge IP4 configuration from NMConnection.
7445
7446 2007-10-22  Dan Williams  <dcbw@redhat.com>
7447
7448         * libnm-util/nm-setting.c
7449                 - (setting_wireless_security_verify): allow WEP-40 and WEP-104 as
7450                         pairwise cipher options for Dynamic WEP
7451
7452 2007-10-21  Dan Williams  <dcbw@redhat.com>
7453
7454         * src/NetworkManagerAP.c
7455           src/NetworkManagerAP.h
7456                 - Rename 'articifical' -> 'fake' since that's what they are until
7457                         noticed in scans
7458                 - (nm_ap_new_fake_from_connection): new function to create a 'fake' AP
7459                         from the attributes in an NMConnection object
7460                 - (security_compatible): better handle Dynamic WEP and LEAP; handle
7461                         WPA Enterprise
7462                 - (nm_ap_match_in_list): find a matching AP in a scan list
7463
7464         * src/nm-device-802-11-wireless.c
7465                 - (get_active_ap): add an 'ignore_ap' argument to ignore a specific
7466                         AP when searching the scan list; match on frequency and mode too
7467                 - (nm_device_802_11_wireless_get_frequency): implement
7468                 - (merge_scanned_ap): replace duplicate matching logic with
7469                         nm_ap_match_in_list()
7470                 - (real_act_stage1_prepare): handle a NULL specific object; ie where
7471                         the user is trying to connect to a hidden network that is not yet
7472                         known from the scan list
7473                 - (activation_success_handler): now that the card knows the AP's BSSID,
7474                         there may already be a scanned AP in the scan list that is what
7475                         we really wanted to connect to, but didn't know at the time.  Use
7476                         that instead of the 'fake' AP created at activation start and get
7477                         rid of the 'fake' AP 
7478                 - (cull_scan_list): don't remove fake APs
7479
7480 2007-10-21  Dan Williams  <dcbw@redhat.com>
7481
7482         * src/nm-activation-request.h
7483           src/nm-activation-request.c
7484                 - (nm_act_request_set_specific_object): new function; allow setting the
7485                         specific object if one isn't set yet
7486
7487 2007-10-20  Dan Williams  <dcbw@redhat.com>
7488
7489         * src/supplicant-manager/nm-supplicant-config.h
7490           src/supplicant-manager/nm-supplicant-config.c
7491                 - (nm_supplicant_config_init, nm_supplicant_config_finalize): add a hash
7492                         table to store blobs
7493                 - (nm_supplicant_config_add_blob): new function; add blob to internal
7494                         blob hash table
7495                 - (nm_supplicant_config_get_blobs): new function; get stored blobs
7496                 - (nm_supplicant_config_add_setting_wireless_security): handle
7497                         options that use certificates (ie, blobs)
7498
7499         * src/nm-device-802-11-wireless.c
7500                 - (build_supplicant_config): pass a UID (just use the connection path)
7501                         to the supplicant config as now required
7502
7503         * src/supplicant-manager/nm-supplicant-interface.c
7504                 - (add_network_cb, call_set_blobs, set_blobs_cb, call_set_network): if
7505                         there are any blobs to send to wpa_supplicant, send those first
7506                         before sending the network configuration
7507
7508 2007-10-19  Dan Williams  <dcbw@redhat.com>
7509
7510         Split the GetSecrets() call off to a separate D-Bus interface so that it
7511         can be more easily locked down with D-Bus policy.  Only 'root' (ie, NM)
7512         should be able to call GetSecrets().
7513
7514         * include/NetworkManager.h
7515                 - Define the connection secrets D-Bus interface
7516
7517         * src/vpn-manager/nm-vpn-connection.c
7518                 - (clear_need_auth): get the right proxy object for the connection
7519                         secrets interface
7520                 - (get_connection_secrets): use the connection secrets proxy; send
7521                         empty hints in get secrets request
7522
7523         * src/nm-activation-request.c
7524                 - (nm_act_request_request_connection_secrets): use the connection
7525                         secrets proxy; send empty hints in get secrets request
7526
7527         * src/nm-manager.c
7528           src/nm-manager.h
7529                 - (connection_get_settings_cb): set the connection secrets proxy on
7530                         the connection object too
7531                 - (internal_new_connection_cb): create the connection secrets proxy
7532
7533         * introspection/nm-settings-connection.xml
7534                 - Define Connection.Secrets interface and move GetSecrets there
7535                 - Add a 'hints' argument to GetSecrets
7536
7537         * libnm-glib/nm-settings.c
7538           libnm-glib/nm-settings.h
7539                 - (impl_connection_settings_get_secrets): add 'hints' argument
7540
7541 2007-10-19  Dan Williams  <dcbw@redhat.com>
7542
7543         * src/nm-device.c
7544                 - (constructor): add message about what path a device is exported as
7545                         to help in debugging rh #339011
7546
7547 2007-10-17  Dan Williams  <dcbw@redhat.com>
7548
7549         * libnm-util/nm-utils.h
7550           libnm-util/nm-utils.c
7551                 - (nm_utils_security_valid): common function to help find the intersection
7552                         of capabilities of devices and (optionally) access points
7553
7554 2007-10-17  Dan Williams  <dcbw@redhat.com>
7555
7556         * src/nm-device-802-11-wireless.c
7557                 - (get_wireless_capabilities): add missing braces so that WPA capabilities
7558                         don't get erroneously cleared
7559
7560 2007-10-17  Dan Williams  <dcbw@redhat.com>
7561
7562         * src/nm-manager.h
7563           src/nm-manager.c
7564           src/nm-hal-manager.c
7565                 - (device_removed, finalize, nm_manager_remove_device,
7566                    nm_manager_sleep): add a 'deactivate' argument to 
7567                    nm_manager_remove_device() to fully deactivate devices when necessary
7568                    (ie, always except when waking up)
7569
7570 2007-10-16  Dan Williams  <dcbw@redhat.com>
7571
7572         * libnm-util/nm-setting.c
7573                 - (setting_wireless_security_verify): fix phase2_auth methods; 'sim'
7574                         also isn't valid phase2 autheap method
7575
7576 2007-10-16  Dan Williams  <dcbw@redhat.com>
7577
7578         * libnm-glib/nm-client.c
7579                 - (update_wireless_status): consolidate updates of wireless status
7580                 - (constructor): use update_wireless_status()
7581                 - (manager_running): set wireless status off when NM goes away; requery
7582                         the wireless status when NM comes back
7583
7584 2007-10-16  Dan Williams  <dcbw@redhat.com>
7585
7586         * libnm-glib/nm-client.c
7587                 - (nm_client_activate_device): actually use the fixed-up specific
7588                         object path
7589
7590 2007-10-16  Dan Williams  <dcbw@redhat.com>
7591
7592         * src/nm-hal-manager.c
7593                 - (killswitch_getpower_reply, nm_hal_manager_destroy): only print out
7594                         killswitch error messages once
7595
7596 2007-10-16  Dan Williams  <dcbw@redhat.com>
7597
7598         * src/nm-manager.c
7599                 - (manager_set_wireless_enabled): don't allow wireless to be enabled
7600                         if it's disabled in hardware; don't touch network devices while
7601                         NM is asleep
7602
7603 2007-10-16  Dan Williams  <dcbw@redhat.com>
7604
7605         * libnm-util/nm-client.c
7606                 - (nm_client_activate_device): convert NULL specific_object to "/",
7607                         which is used in place of NULL
7608
7609         * src/nm-manager.c
7610                 - (impl_manager_activate_device): convert "/" specific_object back into
7611                         NULL
7612
7613 2007-10-16  Tambet Ingo  <tambet@gmail.com>
7614
7615         Implement a generic NMSetting creator from setting name.
7616         While at it, get rid of all nm_setting_foo_new_from_hash() functions and
7617         add a virtual function 'populate_fn'.
7618
7619         * libnm-util/nm-connection.c (nm_connection_create_setting): Implement.
7620         (register_default_creators): Register setting creators instead of functions
7621         that create and then populate.
7622         (parse_one_setting): Use the common setting creator and then setting specific
7623         poplulation function.
7624
7625         * libnm-util/nm-setting.c: Get rid of nm_setting_foo_new_from_hash() functions,
7626         they all looked exactly the same.
7627         Add a 'populate_fn' virtual function to NMSetting.
7628         Use default virtual functions in case they are not overriden.
7629         (nm_setting_populate_from_hash): Implement.
7630
7631         * src/nm-device.c (real_act_stage3_ip_config_start): Don't hard code the setting
7632         name, use a defined string.
7633         (real_act_stage4_get_ip4_config): Ditto.
7634
7635 2007-10-16  Tambet Ingo  <tambet@gmail.com>
7636
7637         * src/nm-hal-manager.c (killswitch_getpower_reply): The type returned from
7638         HAL is int, not uint.
7639
7640 2007-10-15  Tambet Ingo  <tambet@gmail.com>
7641
7642         Implement killswitch polling through HAL.
7643
7644         * src/nm-manager.c: Add wireless hardware status property. Add 
7645         'properties-changed' signal for changes in wireless and wireless hardware
7646         state changes.
7647
7648         * src/nm-hal-manager.c: Poll hal for killswitch statuses in every 6 seconds
7649         and update NMManager's wireless hardware state when it has changed.
7650         (nm_hal_manager_new): Don't try to add initial devices here - (hal_init)
7651         already does that.
7652
7653         * libnm-glib/nm-client.c: Add wireless hardware status property. Cache the
7654         values of wireless state and wireless hardware state. Listen for the
7655         'properties-changed' signals, update the cached values and emit notify.
7656
7657         * include/NetworkManager.h: Fix a typo in a comment.
7658
7659 2007-10-14  Dan Williams  <dcbw@redhat.com>
7660
7661         * libnm-util/nm-setting.c
7662                 - (setting_wireless_security_need_secrets): handle LEAP secrets
7663
7664 2007-10-13  Dan Williams  <dcbw@redhat.com>
7665
7666         * libnm-util/nm-setting.h
7667           libnm-util/nm-setting.c
7668           src/supplicant-manager/nm-supplicant-config.c
7669                 - Make the 'proto' field of the 802-11-wireless-security field a
7670                         string list
7671
7672 2007-10-12  Tambet Ingo  <tambet@gmail.com>
7673
7674         Rework the "properties-changed" signal listening implementation.
7675         Add a generic implementation to NMObject class that listens for
7676         the signal and calls property setters of the target NMObject.
7677
7678         * libnm-glib/nm-object.c (nm_object_handle_properties_changed): Implement.
7679
7680         * libnm-glib/nm-device-802-11-wireless.c: Move the GObject consturction
7681         code to the end of file so that all the static functions are available
7682         without extra declarations.
7683         Remove the "properties-changed" signal handling and use the framework from
7684         NMObject.
7685         Implement property setters for properties that change with 
7686         "properties-changed" signal.
7687
7688         * libnm-glib/nm-access-point.c: Ditto.
7689
7690 2007-10-12  Tambet Ingo  <tambet@gmail.com>
7691
7692         Rework the "properties-changed" signal implementation.
7693         In classes that need to use it, just emit "GObject::notify" and the new
7694         framework takes care of the rest to make the signal available on dbus.
7695         The framework queues the notifications and tries to send as many together
7696         in one signal as possible.
7697
7698         * src/nm-properties-changed-signal.c:
7699         * src/nm-properties-changed-signal.h: Implement.
7700
7701         * src/Makefile.am: Add new files to build.
7702
7703         * src/NetworkManagerAP.c: Use the general framework for properties-changed
7704         signal.
7705
7706         * src/nm-device-802-11-wireless.c: Ditto.
7707
7708 2007-10-10  Dan Williams  <dcbw@redhat.com>
7709
7710         * src/nm-manager.c
7711                 - (wait_for_connection_expired): ensure info is valid
7712                 - (connection_added_default_handler): Should only remove pending
7713                         connection info when the manager has the connection that it's
7714                         waiting for.  Fixes segfault in wait_for_connection_info().  
7715
7716 2007-10-10  Dan Williams  <dcbw@redhat.com>
7717
7718         * libnm-util/nm-setting.c
7719           libnm-util/nm-setting.h
7720                 - Add a default 'user_name' field to the VPN setting, which VPN plugins
7721                         can use if they choose.  Should be filled in by the settings service
7722                         on-the-fly with the currently logged in user's username
7723
7724 2007-10-10  Dan Williams  <dcbw@redhat.com>
7725
7726         * src/nm-device-802-11-wireless.c
7727                 - (merge_scanned_ap): make sure non-SSID-broadcasting APs are marked
7728                         as such, because even if the manager fills in the SSID, NM still
7729                         has to indicate to wpa_supplicant that the AP isn't broadcasting
7730                         its SSID
7731
7732 2007-10-10  Tambet Ingo  <tambet@gmail.com>
7733
7734         Move ppp-manager over to dbus-glib. The big deal is that it was the last piece of
7735         code that used NM's own version of dbus signal handling and custom dictionary
7736         marshalling/unmarshalling. With this change, all that obsolete code can disappear
7737         and we get to maintain over 2000 lines less code.
7738
7739         * libnm-util/dbus-dict-helpers.c:
7740         * libnm-util/dbus-dict-helpers.h: Remove.
7741
7742         * src/ppp-manager/nm-pppd-plugin.c: Convert it to use dbus-glib.
7743
7744         * src/ppp-manager/nm-pppd-plugin.xml: Implement.
7745
7746         * src/ppp-manager/nm-ppp-manager.c: Use dbus-glib instead of home-brewed dbus signal
7747         handlers.
7748
7749         * src/nm-dbus-manager.c: Remove all the manual dbus signal handling.
7750
7751         * configure.in: Remove test/libnm-util/Makefile creation.
7752
7753         * test/Makefile.am: Remove libnm-util from SUBDIRS.
7754
7755         * test/libnm-util/: Remove the whole directory.
7756
7757 2007-10-10  Tambet Ingo  <tambet@gmail.com>
7758
7759         * src/NetworkManagerPolicy.c (nm_policy_new): Initialize the 
7760         device_state_changed_idle_id variable or it would contain some random value and the
7761         schedule_change_check calls would not do anything.
7762
7763 2007-10-09  Dan Williams  <dcbw@redhat.com>
7764
7765         * src/nm-device-802-11-wireless.c
7766                 - (supplicant_iface_scanned_ap_cb): set the non-broadcast flag elsewhere
7767                 - (merge_scanned_ap): only have the manager fill the SSID if the AP
7768                         isn't broadcasting its SSID; set the non-broadcast flag here; fix
7769                         merging of non-SSID-broadcasting APs
7770
7771 2007-10-09  Tambet Ingo  <tambet@gmail.com>
7772
7773         * libnm-util/nm-utils.c (nm_utils_is_empty_ssid): Convert the ssid type to
7774         "guint8 *" since it's usually used with GByteArray->data.
7775         (nm_utils_ssid_to_utf8): Add it back, the applet needs it.
7776
7777 2007-10-09  Tambet Ingo  <tambet@gmail.com>
7778
7779         * src/NetworkManagerUtils.c
7780         (nm_utils_is_empty_ssid):
7781         (nm_utils_escape_ssid):
7782         (nm_utils_same_ssid): Remove. These functions are copied and pasted in a 
7783         lot of places, so they belong to libnm-utils instead.
7784
7785         Now with 100% less compiler warnings:
7786
7787         * libnm-util/nm-utils.c (nm_dbus_escape_object_path): Remove, unused.
7788         (nm_dbus_unescape_object_path): Ditto.
7789         (nm_utils_ssid_to_utf8): Ditto.
7790         (nm_utils_is_empty_ssid): Move here from src/NetworkManagerUtils.c
7791         (nm_utils_escape_ssid): Ditto.
7792         (nm_utils_same_ssid): Ditto.
7793
7794         * src/nm-manager.c: Include 'netinet/ether.h' for ether_aton_r.
7795         (add_one_connection_element): Remove an unused variable.
7796         (impl_manager_get_active_connections): Ditto.
7797
7798         * src/NetworkManagerPolicy.c (get_device_connection): Remove an unused
7799         variable.
7800
7801         * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Remove a leftover
7802         from the previous commit.
7803
7804         * src/nm-device-802-11-wireless.c (set_current_ap): Remove unused variable.
7805         (real_act_stage1_prepare): Ditto.
7806         (activation_success_handler): Ditto.
7807         (get_property): Ditto.
7808
7809         * src/nm-device-802-3-ethernet.c (real_get_best_connection): Remove unused
7810         variable.
7811
7812         * src/ppp-manager/nm-pppd-plugin.c (nm_ip_up): Remove the check for 'ifname',
7813         it's always set.
7814
7815         * src/supplicant-manager/nm-supplicant-config.c 
7816         (nm_supplicant_config_add_setting_wireless): Cast the GByteArray's 'guint8 *'
7817         to expected "char *".
7818         (nm_supplicant_config_add_setting_wireless): Ditto.
7819         (nm_supplicant_config_remove_option): Remove, not used.
7820
7821         * libnm-glib/libnm-glib-test.c (dump_access_point): Frequency is a guint32,
7822         not double.
7823         (test_wireless_enabled): Ifdef out unused function.
7824         (device_deactivate): Ditto.
7825         (device_state_changed): Ditto.
7826         (nm_utils_is_empty_ssid): Remove, it's now in libnm-utils.
7827         (nm_utils_escape_ssid): Ditto.
7828
7829         * test/nm-tool.c (nm_utils_escape_ssid): Remove, it's now in libnm-utils.
7830         (nm_utils_is_empty_ssid): Ditto.
7831
7832         * libnm-glib/nm-client.c (nm_client_free_active_connection_element): Remove
7833         unused variable.
7834
7835         * libnm-util/nm-setting.c (setting_wireless_destroy): Remove unused variable.
7836         (setting_vpn_properties_update_secrets): Ditto.
7837         (int_to_gvalue): Ifdef out for now, not used.
7838         (byte_to_gvalue): Ditto.
7839
7840         * libnm-util/dbus-dict-helpers.c (_nmu_dbus_add_dict_entry_string_array): 
7841         Unused, remove.
7842
7843 2007-10-08  Tambet Ingo  <tambet@gmail.com>
7844
7845         * src/NetworkManager.c (main): When dbus manager doesn't want to start, complain
7846         about dbus manager, not named manager.
7847         Make sure hal_manager and dbus_mgr are created before trying to unreference.
7848
7849         * src/nm-dbus-manager.c: There was an issue with priv->proxy: We have a signal
7850         handler for it's 'destroy' signal - we use it to catch disconnects from dbus.
7851         However, the same signal is emitted when we destroy it and there's 
7852         nm_dbus_manager_cleanup -> destroy_cb -> nm_dbus_manager_cleanup cycle.
7853
7854         (nm_dbus_manager_cleanup): Let go of the DBusGProxy before
7855         releasing the DBusGConnection, since proxy needs a conneciton.
7856         (destroy_cb): Set the private proxy to NULL before cleaning up the manager.
7857
7858 2007-10-08  Dan Williams  <dcbw@redhat.com>
7859
7860         * src/NetworkManager.c
7861                 - (main): error on unknown command-line options
7862
7863 2007-10-08  Dan Williams  <dcbw@redhat.com>
7864
7865         Reimplement the invalid connection list.  Don't try to re-activate a
7866         connection that just failed or was canceled.
7867
7868         * src/nm-device.c
7869                 - (connection_secrets_failed_cb): fail device activation, don't just
7870                         deactivate the device.  Listeners have to know about the failure.
7871
7872         * src/NetworkManagerPolicy.c
7873                 - (nm_policy_auto_get_best_device): exclude invalid connections from
7874                         the connection list given to a device's get_best_connection()
7875                         method
7876                 - (device_state_changed): tag failed connections as invalid; clear the
7877                         tag from successful connections
7878
7879 2007-10-08  Dan Williams  <dcbw@redhat.com>
7880
7881         Fix problems with interrupted activation.  Previously, choosing an AP
7882         from the menu, then choosing another one before the first connection was
7883         successful wouldn't deactivate the device before starting the new connection
7884         on that same device.
7885
7886         * src/NetworkManagerPolicy.c
7887                 - (deactivate_old_device, device_state_changed, state_changed,
7888                    nm_policy_new): wrong place to deactivate old devices
7889
7890         * src/nm-manager.c
7891                 - (pending_connection_info_destroy, finalize,
7892                    wait_for_connection_expired): decouple destruction of the pending
7893                         connection info from the manager device
7894                 - (connection_added_default_handler): deactivate any active or
7895                         activating device before starting a new activation
7896                 - (impl_manager_activate_device): deactivate any active or activating
7897                         device before starting a new activation; be sure not to leak
7898                         pending connection info if a new activation request arrives but
7899                         there's already a pending one in-process
7900
7901 2007-10-08  Dan Williams  <dcbw@redhat.com>
7902
7903         * src/NetworkManagerAP.h
7904           src/NetworkManagerAP.c
7905                 - (nm_ap_has_manufacturer_default_ssid): remove, unused.  User clients
7906                         should handle default SSIDs and whether or not to autoconnect
7907                         to them
7908
7909 2007-10-08  Dan Williams  <dcbw@redhat.com>
7910
7911         * src/NetworkManagerPolicy.c
7912                 - (nm_policy_device_change_check): print out connection name where
7913                         possible
7914
7915 2007-10-08  Dan Williams  <dcbw@redhat.com>
7916
7917         * src/nm-device-802-11-wireless.c
7918           src/nm-device-802-11-wireless.h
7919                 - (nm_device_802_11_wireless_class_init, merge_scanned_ap): new
7920                         'hidden-ap-found' signal (for internal use only) that allows the
7921                         NMManager to fill in the AP's SSID if a connection has that AP's
7922                         BSSID in its seen-bssids list
7923
7924         * src/nm-manager.c
7925                 - (manager_hidden_ap_found, nm_manager_add_device): attach to a
7926                         wireless device's hidden-ap-found signal and fill in the APs SSID
7927                         if possible
7928
7929 2007-10-07  Dan Williams  <dcbw@redhat.com>
7930
7931         * src/nm-manager.c
7932           src/nm-manager.h
7933                 - Add a 'connections-added' signal to batch together updates of large
7934                         numbers of connections, like when reading from a settings service
7935                         the first time.  Otherwise, the policy would just activate the first
7936                         suitable connection it saw rather than waiting for the full list
7937                         to arrive.
7938                 - (nm_manager_class_init): register new signal
7939                 - (get_type_for_proxy, connection_get_settings_cb,
7940                    get_connection_for_proxy): centralize places where a proxy's setting
7941                         service is determined
7942                 - (free_get_settings_info): if the call being freed is the last call
7943                         in a pending call group, fire off the connections-added signal
7944                 - (internal_new_connection_cb): add call to a pending call group if
7945                         requested
7946                 - (list_connections_cb): always create a call group here, because this
7947                         call results in a batch of new connections
7948                 - (initial_get_connections): start getting system connections first
7949                 - (nm_manager_connections_destroy, emit_removed): actually emit the
7950                         removed signal when destroying connections
7951
7952         * src/NetworkManagerPolicy.c
7953                 - (nm_policy_new, connections_added): handle connections-added signal
7954                         from the manager
7955
7956 2007-10-06  Dan Williams  <dcbw@redhat.com>
7957
7958         * src/nm-device-802-11-wireless.c
7959                 - (constructor): fix leaked socket
7960
7961 2007-10-06  Dan Williams  <dcbw@redhat.com>
7962
7963         * src/NetworkManagerPolicy.c
7964                 - (nm_policy_auto_get_best_device): fix connection list reffing.  Each
7965                         connection in the list returned by nm_manager_get_connections() is
7966                         reffed, but they weren't getting unreffed before returning
7967
7968 2007-10-06  Dan Williams  <dcbw@redhat.com>
7969
7970         * src/nm-manager.c
7971                 - (connections_to_slist): sort connections first on autoconnect, then
7972                         on timestamp
7973
7974 2007-10-06  Dan Williams  <dcbw@redhat.com>
7975
7976         * libnm-util/nm-connection.c
7977                 - (gvalue_to_string): handle UINT64
7978
7979 2007-10-06  Dan Williams  <dcbw@redhat.com>
7980
7981         * src/NetworkManagerPolicy.c
7982                 - (connection_updated, nm_policy_new): recheck state when a connection
7983                         gets updated
7984
7985 2007-10-06  Dan Williams  <dcbw@redhat.com>
7986
7987         * src/nm-manager.c
7988           src/nm-manager.h
7989                 - (nm_manager_get_connection_dbus_path): make static
7990                 - (nm_manager_update_connections): remove; unused
7991                 - Add a connection-updated signal
7992                 - (new_connection_cb, connection_updated_cb, nm_manager_class_init):
7993                         handle connection object updates
7994
7995 2007-10-06  Dan Williams  <dcbw@redhat.com>
7996
7997         * src/NetworkManagerPolicy.c
7998                 - (connection_removed): deactivate removed connections
7999
8000 2007-10-06  Dan Williams  <dcbw@redhat.com>
8001
8002         * libnm-util/nm-connection.c
8003           libnm-util/nm-connection.h
8004                 - (nm_connection_replace_settings): new function
8005
8006 2007-10-06  Dan Williams  <dcbw@redhat.com>
8007
8008         * libnm-glib/nm-device-802-11-wireless.c
8009                 - (nm_device_802_11_wireless_get_active_access_point): don't segfault
8010                         on error when getting the active access point over D-Bus from NM
8011
8012 2007-10-05  Dan Williams  <dcbw@redhat.com>
8013
8014         * libnm-util/nm-setting.c
8015                 - (setting_wireless_verify, setting_wireless_destroy): add seen_bssids
8016                         to the NMSettingWireless table; it's now a string array not an array
8017                         of byte arrays
8018
8019 2007-10-05  Dan Williams  <dcbw@redhat.com>
8020
8021         * libnm-glib/nm-device-802-11-wireless.c
8022                 - Cache properties and update cached properties on D-Bus signals from NM
8023
8024 2007-10-05  Dan Williams  <dcbw@redhat.com>
8025
8026         * src/nm-device-802-11-wireless.c
8027                 - (set_current_ap): consolidate current_ap handling code into one place
8028                         to ensure that PropertiesChanged signals are emitted in all cases
8029                 - (periodic_update, real_deactivate_quickly, real_act_stage1_prepare,
8030                    nm_device_802_11_wireless_dispose): use set_current_ap()
8031
8032 2007-10-05  Dan Williams  <dcbw@redhat.com>
8033
8034         * libnm-glib/nm-access-point.c
8035           libnm-glib/nm-access-point.h
8036                 - (nm_access_point_get_hw_address): return 'const char *', not 'char *'
8037                         because the value is cached internally now.  Callers should not
8038                         free the internal value.
8039                 - Make signal name defines private
8040
8041         * test/nm-tool.c
8042           libnm-glib/libnm-glib-test.c
8043                 - Don't free value returned from nm_access_point_get_hw_address()
8044
8045 2007-10-04  Dan Williams  <dcbw@redhat.com>
8046
8047         * introspection/nm-device-802-11-wireless.xml
8048           src/nm-device-802-11-wireless.h
8049           src/nm-device-802-11-wireless.c
8050                 - Add a PropertiesChanged signal for wireless device
8051                 - Store currently associated access point
8052                 - (periodic_update): generalize; update rate here too and emit the
8053                         correct PropertiesChanged signal when stuff changes
8054                 - (real_deactivate_quickly, nm_device_802_11_wireless_dispose,
8055                    real_activation_cancel_handler): clear current_ap when device is
8056                         deactivated
8057                 - (link_to_specific_ap, get_ap_blacklisted,
8058                    nm_device_802_11_wireless_get_best_ap): remove obsolete and unused
8059                         code
8060                 - (nm_device_802_11_wireless_get_bitrate): make static; unused anywhere
8061                         outside this file
8062                 - (real_set_hw_address): emit property changed signal if the card's
8063                         MAC address changes
8064                 - (real_act_stage1_prepare): set the initial current_ap to the AP
8065                         the card is supposed to be connecting to
8066                 - (activation_success_handler): send out property updates on successful
8067                         activation
8068                 - (get_property): pull bitrate from cached value; use OBJECT_PATH type
8069                         for ACTIVE_ACCESS_POINT property because sometimes there won't be
8070                         one and dbus-glib doesn't like marshalling NULL G_TYPE_OBJECTs
8071                 - (nm_device_802_11_wireless_class_init): ACTIVE_ACCESS_POINT property
8072                         is now boxed; add PropertiesChanged signal
8073
8074 2007-10-04  Dan Williams  <dcbw@redhat.com>
8075
8076         * libnm-util/nm-connection.c
8077           libnm-util/nm-connection.h
8078                 - (nm_connection_verify): new function
8079
8080 2007-10-04  Dan Williams  <dcbw@redhat.com>
8081
8082         * libnm-util/nm-setting.c
8083                 - (nm_settings_verify): use #defines when possible rather than strings
8084                 - (setting_connection_verify): ensure that 'name' and 'type' are valid
8085                 - (setting_vpn_verify): tighter validity check on 'service_type'
8086
8087 2007-10-04  Dan Williams  <dcbw@redhat.com>
8088
8089         * libnm-glib/nm-settings.c
8090                 - (nm_connection_settings_class_init): provide correct type for argument
8091                         to the Updated signal so that dbus-glib knows how to marshal it
8092
8093 2007-10-03  Dan Williams  <dcbw@redhat.com>
8094
8095         * src/nm-device-802-3-ethernet.c
8096                 - (real_get_best_connection): don't create automatic connections
8097                         internally; clients should provide a setting that applies to
8098                         the device with 'autoconnect: True'.  Problem was that these
8099                         internally auto-created connections don't have a proxy or service
8100                         name becuase they weren't created by a settings daemon, and therefore
8101                         clients have no idea what to do with them.
8102
8103 2007-10-03  Dan Williams  <dcbw@redhat.com>
8104
8105         * src/nm-device-802-11-wireless.c
8106           src/nm-device-802-11-wireless.h
8107           introspection/nm-device-802-11-wireless.xml
8108                 - GetActiveNetworks -> GetAccessPoints
8109                 - ActiveNetwork -> ActiveAccessPoint
8110                 - NetworkAdded -> AccessPointAdded
8111                 - NetowrkRemoved -> AccessPointRemoved
8112
8113         * libnm-glib/nm-device-802-11-wireless.c
8114           libnm-glib/nm-device-802-11-wireless.h
8115                 - network-added signal -> access-point-added
8116                 - network-removed signal -> access-point-removed
8117                 - nm_device_802_11_wireless_get_active_network() ->
8118                         nm_device_802_11_wireless_get_active_access_point()
8119                 - nm_device_802_11_wireless_get_network_by_path() ->
8120                         nm_device_802_11_wireless_get_access_point_by_path()
8121                 - nm_device_802_11_wireless_get_networks() ->
8122                         nm_device_802_11_wireless_get_access_points()
8123
8124         * libnm-glib/libnm-glib-test.c
8125           test/nm-tool.c
8126           src/NetworkManagerPolicy.c
8127                 - Fixups for Network -> AccessPoint
8128
8129 2007-10-03  Dan Williams  <dcbw@redhat.com>
8130
8131         Add a GetActiveConnections() method on the Manager object.
8132
8133         * src/nm-manager.c
8134           src/nm-manager.h
8135           introspection/nm-manager.xml
8136                 - (connection_get_settings_cb): keep connection type around too
8137                 - (impl_manager_get_active_connections, add_one_connection_element):
8138                         implement; returns all active connections and what devices they
8139                         apply to
8140
8141         * libnm-glib/nm-client.c
8142           libnm-glib/nm-client.h
8143           introspection/nm-manager-client.xml
8144                 - (nm_client_get_devices): GPtrArray elements are allocated and owned
8145                         by the caller; free here to avoid memory leak
8146                 - (nm_client_get_active_connections): implement; return the list of
8147                         active connections
8148                 - (nm_client_free_active_connection_element): implement; free an element
8149                         of the GSList returned by nm_client_get_active_connections()
8150
8151 2007-10-03  Dan Williams  <dcbw@redhat.com>
8152
8153         * src/nm-device-802-11-wireless.c
8154                 - (nm_device_802_11_wireless_update_bssid): remove
8155                 - (get_active_ap): new function; find the AP in the scan list which
8156                         matches the current BSSID and SSID of the wireless device
8157                 - (nm_device_802_11_periodic_update): get current AP using
8158                         get_active_ap() and print AP roam messages
8159
8160 2007-10-01  Dan Williams  <dcbw@redhat.com>
8161
8162         * libnm-util/nm-setting.h
8163                 - Add a 'timestamp' option to NMSettingConnection
8164                 - Add a UINT64 type
8165
8166         * libnm-util/nm-setting.c
8167                 - (uint64_to_gvalue): new function
8168                 - (nm_setting_populate_from_hash, nm_setting_hash,
8169                    default_setting_clear_secrets): handle UINT64 type
8170                 - con_table: add 'timestamp' member
8171
8172 2007-10-01  Dan Williams  <dcbw@redhat.com>
8173
8174         * src/nm-manager.c
8175                 - (impl_manager_activate_device): ensure the D-Bus method sends a return
8176                         value when the connection can be activated immediately
8177
8178 2007-10-01  Dan Williams  <dcbw@redhat.com>
8179
8180         * libnm-glib/nm-device.c
8181                 - (nm_device_class_init): actually tell glib about the carrier-changed
8182                         signal
8183
8184 2007-10-01  Dan Williams  <dcbw@redhat.com>
8185
8186         * configure.in
8187           src/marshallers/Makefile.am
8188           src/marshallers/nm-marshal.list
8189           src/marshallers/nm-marshal-main.c
8190                 - Consolidate glib marshallers into one place
8191
8192         * src/dhcp-manager/Makefile.am
8193           src/dhcp-manager/nm-dhcp-manager.c
8194           src/supplicant-manager/Makefile.am
8195           src/supplicant-manager/nm-supplicant-manager.c
8196           src/supplicant-manager/nm-supplicant-interface.c
8197           src/ppp-manager/Makefile.am
8198           src/ppp-manager/nm-ppp-manager.c
8199           src/vpn-manager/Makefile.am
8200           src/vpn-manager/nm-vpn-connection.c
8201           src/Makefile.am
8202                 - Use consolidated marshallers
8203
8204         * src/dhcp-manager/nm-dhcp-marshal.list
8205           src/dhcp-manager/nm-dhcp-marshal-main.c
8206           src/supplicant-manager/nm-supplicant-marshal-main.c
8207           src/supplicant-manager/nm-supplicant-marshal.list
8208           src/nm-marshal-main.c
8209           src/nm-marshal.list
8210           src/ppp-manager/nm-ppp-marshal-main.c
8211           src/ppp-manager/nm-ppp-marshal.list
8212           src/vpn-manager/nm-vpn-marshal-main.c
8213           src/vpn-manager/nm-vpn-marshal.list
8214                 - Remove
8215
8216 2007-10-01  Dan Williams  <dcbw@redhat.com>
8217
8218         * include/NetworkManagerVPN.h
8219                 - define VPN connection state change reason codes
8220
8221         * src/vpn-manager/Makefile.am
8222           src/vpn-manager/nm-vpn-marshal.list
8223           src/vpn-manager/nm-vpn-marshal-main.c
8224                 - Add marshallers for StateChanged signal
8225
8226         * introspection/nm-vpn-connection.xml
8227                 - New Banner property
8228                 - StateChanged signal now includes a 'reason' argument
8229
8230         * src/vpn-manager/nm-vpn-connection.c
8231           src/vpn-manager/nm-vpn-connection.h
8232                 - Add a "Banner" property that contains the returned VPN server login
8233                         banner (if any); valid only in the ACTIVATED state
8234                 - (nm_vpn_connection_set_state, nm_vpn_connection_disconnect): now takes
8235                         a 'reason' argument and emits that reason along with the
8236                         state-changed signal
8237                 - Fix up calls to nm_vpn_connection_set_state() to include a reason
8238                 - (nm_vpn_connection_ip4_config_get): save banner for later
8239                 - (nm_vpn_connection_get_banner, get_property,
8240                    nm_vpn_connection_class_init): implement Banner property
8241
8242         * src/vpn-manager/nm-vpn-service.c
8243                 - (nm_vpn_service_connections_stop): take a reason argument; copy the
8244                         connection list because elements may get added/removed from it
8245                         while iterating over the list
8246                 - (connection_state_changed): signal now includes the 'reason' argument
8247
8248         * libnm-glib/nm-vpn-connection.c
8249           libnm-glib/nm-vpn-connection.h
8250                 - (nm_vpn_connection_get_banner): new function
8251                 - (state_changed_proxy): handle reason argument
8252
8253 2007-09-28  Tambet Ingo  <tambet@gmail.com>
8254
8255         * src/nm-manager.c:
8256         * src/nm-manager.h:
8257         Implement device activation through NMManager.
8258         Implement "pending device activation" here - If the connection isn't found,
8259         we try to wait for up to 5 seconds for the connection to be provided.
8260         Add NMConnectionType argument to "connection-added" and "connection-removed"
8261         signals.
8262         (nm_manager_get): Remove. Finally.
8263
8264         * src/nm-activation-request.c: 
8265         * src/nm-activation-request.h: 
8266         Remove all the deferred activation code.
8267
8268         * src/nm-device.c: Remove all the deferred activation code. Once the device
8269         activation is started, it's started. Update the activation virtual function
8270         signature.
8271
8272         * src/nm-device-interface.c:
8273         * src/nm-device-interface.h:
8274         Device activation now takes only NMActRequest argument.
8275         Don't expose device activation directly on dbus, it's supposed to go through
8276         NMManager now.
8277
8278         * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Make the code
8279         a bit more compact.
8280         Use the new device activation methods through NMManager.
8281
8282         * introspection/nm-manager-client.xml: 
8283         * introspection/nm-manager.xml: 
8284         * libnm-glib/nm-client.c:
8285         * libnm-glib/nm-client.h:
8286         Add device activation method.
8287         
8288         * libnm-glib/nm-device.c: 
8289         * libnm-glib/nm-device.h: 
8290         * introspection/nm-device.xml: 
8291         Remove device activation method. It's done through NMManager now.
8292
8293         * src/vpn-manager/nm-vpn-manager.c (impl_vpn_manager_connect): Use the shiny
8294         new (nm_manager_get_device_by_path) function, get rid of our own )find_device).
8295
8296 2007-09-28  Dan Williams  <dcbw@redhat.com>
8297
8298         * libnm-glib/nm-vpn-connection.c
8299                 - (nm_vpn_connection_get_state): try to update state if the current
8300                         state is UNKNOWN
8301
8302 2007-09-27  Dan Williams  <dcbw@redhat.com>
8303
8304         Patch from Bill Nottingham
8305
8306         * src/supplicant-manager/nm-supplicant-config.c
8307                 - (ADD_STRING_VAL): use correct length for binary blobs when sending
8308                         data to the supplicant
8309
8310 2007-09-27  Dan Williams  <dcbw@redhat.com>
8311
8312         * src/NetworkManagerSystem.c
8313                 - (nm_system_vpn_device_set_from_ip4_config): clean up indentation;
8314                         and all address manipulation here should be happening on the
8315                         _VPN_ device, not the active device
8316
8317 2007-09-26  Dan Williams  <dcbw@redhat.com>
8318
8319         * src/nm-manager.c
8320           src/nm-manager.h
8321           src/nm-activation-request.c
8322           src/nm-activation-request.h
8323                 - Move the GetSecrets stuff out of the NMManager instance because it
8324                         doesn't really need to be there and complicates things
8325
8326         * src/nm-device.c
8327                 - (connection_secrets_failed_cb, device_activation_go): connect to the
8328                         connection-secrets-failed signal and deactivate the device if
8329                         the GetSecrets call fails
8330
8331         * src/nm-device-802-11-wireless.c
8332                 - (link_timeout_cb, supplicant_connection_timeout_cb,
8333                    real_act_stage2_config, real_act_stage4_ip_config_timeout): request
8334                         secrets and give correct hints about whether new secrets should be
8335                         asked for by the client or not
8336
8337 2007-09-26  Dan Williams  <dcbw@redhat.com>
8338
8339         * src/vpn-manager/nm-vpn-connection.c
8340                 - (nm_vpn_connection_set_state, clear_need_auth, finalize,
8341                    connection_secrets_updated_cb, get_secrets_cb): don't need to attach
8342                         to the secrets-updated signal of the NMConnection since updating
8343                         the secrets is done within the scope of the NMVPNConnection object
8344                         already
8345                 - (get_connection_secrets): fix an uninialized variable usage error
8346
8347 2007-09-26  Dan Williams  <dcbw@redhat.com>
8348
8349         * libnm-util/nm-setting.c
8350                 - (setting_vpn_properties_update_secrets): implement so VPN secrets
8351                         actually get updated when the user enters them
8352
8353 2007-09-26  Dan Williams  <dcbw@redhat.com>
8354
8355         * libnm-glib/nm-vpn-plugin.c
8356                 - (impl_vpn_plugin_need_secrets): fix logic when no secrets are needed
8357
8358 2007-09-26  Dan Williams  <dcbw@redhat.com>
8359
8360         * include/NetworkManagerVPN.h
8361                 - Add a NEED_AUTH state
8362
8363         * src/vpn-manager/nm-vpn-connection.c
8364                 - Implement the NEED_AUTH state.  First ask the VPN service plugin if
8365                         the connection needs secrets, and if so, then ask the settings
8366                         service to fill in the secrets.  Then start the connection.
8367
8368 2007-09-26  Dan Williams  <dcbw@redhat.com>
8369
8370         * src/vpn-manager/nm-vpn-manager.c
8371                 - (new_vpn_error, impl_vpn_manager_connect): set errors
8372
8373 2007-09-26  Dan Williams  <dcbw@redhat.com>
8374
8375         * introspection/nm-vpn-plugin.xml
8376           libnm-glib/nm-vpn-plugin.c
8377           libnm-glib/nm-vpn-plugin.h
8378                 - (impl_vpn_plugin_need_secrets): implement a call that should return
8379                         the name of the NMSetting in an NMConnection that may require
8380                         secrets specific to that VPN plugin
8381
8382 2007-09-26  Dan Williams  <dcbw@redhat.com>
8383
8384         * src/nm-manager.c
8385           src/nm-manager.h
8386                 - (nm_manager_get_connection_secrets): make static, unused outside
8387                         the file
8388                 - Provide NM_MANAGER_CONNECTION_PROXY_TAG for other users
8389
8390 2007-09-26  Tambet Ingo  <tambet@gmail.com>
8391
8392         * libnm-glib/nm-vpn-plugin.c (nm_vpn_plugin_connect): Update the plugin activation
8393         method.
8394         (impl_vpn_plugin_connect): Convert properties hash to NMConnection, activate, and
8395         unreference the connection.
8396
8397         * introspection/nm-vpn-plugin.xml: Modify the 'Connect' method arguments: instead of
8398         passing properties hash and routes string list, pass NMConnection (in hashed form).
8399
8400         * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Return routes
8401         as GSList, no need to copy stuff around anymore.
8402         (nm_vpn_connection_activate): Update the plugin activation method.
8403
8404         * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Convert
8405         routes argument to GSList.
8406
8407 2007-09-26  Tambet Ingo  <tambet@gmail.com>
8408
8409         * src/nm-manager.c (manager_device_state_changed): Listen to device' NEED_AUTH
8410         state and try to get the secrets.
8411
8412         * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Get the list of
8413         connections from NMManager and let the device to choose the best from the list.
8414         Since the connection list is sorted by system ones first and user ones later,
8415         the devices still prefer system connections like they did before.
8416         (deactivate_old_device): Implement. When a device starts activation, we have a
8417         policy (for now at least) to deactivate any other device that might be either
8418         active or still activating.
8419
8420         * src/vpn-manager/nm-vpn-manager.c: Add NMManager back to the private structure.
8421         It's set on construction, there will be no other way to access it.
8422
8423         * src/nm-device-802-11-wireless.c: Don't touch NMManager, NMManager can listen to
8424         device events and drive the device, not the other way around.
8425
8426         * src/nm-device-802-3-ethernet.c: Ditto.
8427
8428         * src/nm-device.c (nm_device_get_best_connection): The connections list is now
8429         sent along, pass it on to virtual functions.
8430
8431         * src/nm-device-interface.c (nm_device_interface_get_iface): Implement. It's static
8432         for now, but should really be public instead of nm_device_get_iface() since iface
8433         is a property of the DeviceInterface, not Device.
8434         (impl_device_activate): Don't touch NMManager!
8435
8436 2007-09-26  Jürg Billeter  <j@bitron.ch>
8437
8438         * initscript/paldo/NetworkManager.in:
8439         * initscript/paldo/NetworkManagerDispatcher.in:
8440         * src/backends/NetworkManagerPaldo.c: (nm_system_enable_loopback),
8441         (nm_system_flush_loopback_routes): update paldo backend
8442
8443 2007-09-26  Tambet Ingo  <tambet@gmail.com>
8444
8445         * src/nm-device-802-3-ethernet.c (real_get_best_connection): Don't leak NMManager.
8446         The problem with leaking NMManager is that on shutdown, it doesn't get destroyed,
8447         which means none of the devices get brought down properly, which in turn leaves
8448         DHCP client running.
8449
8450         * src/nm-device-802-11-wireless.c (real_get_best_connection): Ditto.
8451         (supplicant_connection_timeout_cb): Ditto.
8452
8453 2007-09-25  Dan Williams  <dcbw@redhat.com>
8454
8455         * src/nm-device.c
8456                 - (device_activation_go): small hack to work around race when
8457                         activating deferred connections; should solve this in a better way
8458
8459 2007-09-25  Dan Williams  <dcbw@redhat.com>
8460
8461         * introspection/nm-device.xml
8462           libnm-glib/nm-device.c
8463           libnm-glib/nm-device.h
8464                 - Add 'Carrier' property to exported NMDevice objects
8465
8466         * src/nm-device-interface.h
8467           src/nm-device-interface.c
8468           src/nm-device.c
8469                 - Add a 'carrier' property to internal NMDevice objects
8470
8471 2007-09-25  Dan Williams  <dcbw@redhat.com>
8472
8473         * src/nm-device-802-11-wireless.c
8474                 - (ap_auth_enforced): also return the encryption status of the AP so
8475                         that callers can differentiate easily between unencrypted APs
8476                         and encrypted ones, in addition to whether the AP has an
8477                         authenticator
8478                 - (link_timeout_cb, supplicant_connection_timeout_cb,
8479                    real_act_stage4_ip_config_timeout): handle unencrypted APs better,
8480                         previously would request secrets from unencrypted APs at times
8481
8482 2007-09-25  Dan Williams  <dcbw@redhat.com>
8483
8484         * src/nm-manager.c
8485                 - (nm_manager_update_state): new function; updates state and emits
8486                         appropriate signals ensuring a state-change signal for the same state
8487                         never gets emitted twice in a row.
8488                 - (manager_device_state_changed): handle more device state to get a
8489                         better picture of the overall NM state
8490
8491 2007-09-25  Dan Williams  <dcbw@redhat.com>
8492
8493         * libnm-glib/nm-settings.c
8494           libnm-glib/nm-settings.h
8495                 - (new_error -> nm_settings_new_error): make public so that subclasses
8496                         can use the same error domain.  Also pass a valid error code to
8497                         g_error_new_literal() so that libdbus doesn't assert when converting
8498                         the GError into a DBusError
8499                 - (impl_settings_list_connections, impl_connection_settings_get_id,
8500                    impl_connection_settings_get_settings,
8501                    impl_connection_settings_get_secrets): use new error creator
8502                         function
8503
8504 2007-09-25  Dan Williams  <dcbw@redhat.com>
8505
8506         * src/NetworkManager.c
8507                 - (nm_signal_handler, main): don't ignore SIGTERM/SIGINT during startup
8508
8509 2007-09-25  Dan Williams  <dcbw@redhat.com>
8510
8511         * src/supplicant-manager/nm-supplicant-manager.c
8512                 - (poke_supplicant_cb, nm_supplicant_manager_init,
8513                    nm_supplicant_manager_dispose, nm_supplicant_manager_name_owner_changed,
8514                    nm_supplicant_manager_startup): when the supplicant isn't running,
8515                         try to start it periodically via system bus activation.  Fixes
8516                         a problem where if wpa_supplicant goes away, NM gets stuck waiting
8517                         for the supplicant to come back
8518
8519 2007-09-25  Dan Williams  <dcbw@redhat.com>
8520
8521         Ensure that old activation requests are forgotten about; previously
8522         hitting Cancel in the password dialog would deactivate whatever device
8523         that password was requested for, even if that wasn't the currently
8524         activating connection.
8525
8526         * src/nm-manager.c
8527           src/nm-manager.h
8528                 - (nm_manager_get_connection_secrets): track the pending call
8529                         object so it can be canceled later if needed
8530                 - (nm_manager_cancel_get_connection_secrets): cancel a pending
8531                         GetSecrets call for a particular connection
8532
8533         * src/nm-activation-request.c
8534                 - (dispose): cancel any outstanding GetSecrets calls on the
8535                         connection
8536
8537 2007-09-25  Dan Williams  <dcbw@redhat.com>
8538
8539         * src/NetworkManagerPolicy.c
8540                 - (nm_policy_device_change_check): handle devices that have a
8541                         deferred activation.  These devices are not really active _yet_,
8542                         but need to be treated as such here.  Don't interrupt them
8543                         automatically.
8544
8545         * src/nm-device-interface.c
8546                 - (impl_device_activate): handle devices that have a deferred activation
8547                         like activating or active devices.  When multiple active devices
8548                         get committed, the device shouldn't be deactivated until the
8549                         connection details are available to avoid DoS and such.  Currently,
8550                         any active, activating, or deferred activation device is deactivated
8551                         here before starting the new activation request.
8552
8553 2007-09-25  Dan Williams  <dcbw@redhat.com>
8554
8555         Properly re-query secrets from the settings daemon when stuff fails.
8556
8557         * src/nm-device-802-11-wireless.c
8558                 - (ap_auth_enforced): handle static WEP correctly here by differentiating
8559                         between Shared Key and Open System auth modes
8560                 - (link_timeout_cb, supplicant_connection_timeout_cb,
8561                    real_act_stage4_ip_config_timeout): clear existing secrets and
8562                         request new ones when something fails due to a suspected wrong key
8563                 - (real_act_stage2_config): fix for new request_new argument to
8564                         nm_manager_get_connection_secrets()
8565
8566         * src/nm-manager.c
8567           src/nm-manager.h
8568                 - (nm_manager_get_connection_secrets): return error status; pass
8569                         new request_new argument on to the settings daemon
8570
8571         * introspection/nm-settings-connection.xml
8572                 - New 'request_new' argument to the GetSecrets call that hints to the
8573                         settings daemon to ask the user for completely new secrets
8574
8575         * libnm-glib/nm-settings.c
8576           libnm-glib/nm-settings.h
8577                 - (impl_connection_settings_get_secrets): handle new 'request_new'
8578                         argument
8579
8580 2007-09-25  Dan Williams  <dcbw@redhat.com>
8581
8582         * libnm-util/nm-connection.c
8583           libnm-util/nm-connection.h
8584                 - (nm_connection_clear_secrets): new function; clear secrets out of
8585                         each NMSetting in an NMConnection
8586
8587         * libnm-util/nm-setting.h
8588           libnm-util/nm-setting.c
8589                 - (nm_setting_clear_secrets, default_setting_clear_secrets): clear 
8590                         secrets out of an NMSetting
8591                 - (nm_setting_connection_new, nm_setting_ip4_config_new, 
8592                    nm_setting_wired_new, nm_setting_wireless_new,
8593                    nm_setting_wireless_security_new, nm_setting_ppp_new,
8594                    nm_setting_vpn_new, nm_setting_vpn_properties_new): set clear_secrets
8595                         to default handler default_setting_clear_secrets()
8596
8597 2007-09-25  Dan Williams  <dcbw@redhat.com>
8598
8599         * src/nm-activation-request.c
8600           src/nm-activation-request.h
8601                 - (nm_act_request_is_deferred): new function
8602
8603 2007-09-24  Dan Williams  <dcbw@redhat.com>
8604
8605         * src/nm-device-802-11-wireless.c
8606                 - (activation_success_handler): update signal strength immediately
8607                         after activation
8608
8609 2007-09-24  Dan Williams  <dcbw@redhat.com>
8610
8611         * libnm-util/nm-setting.c
8612                 - (verify_wep_key): 40-bit WEP keys are 10 bytes long, not 13
8613
8614 2007-09-24  Dan Williams  <dcbw@redhat.com>
8615
8616         * src/NetworkManagerPolicy.c
8617                 - (nm_policy_auto_get_best_device): don't interrupt activation of a
8618                         device by deactivating it because it doesn't have a "best connection".
8619                         Since autoconnect=False connections aren't automatically chosen,
8620                         NM would interrupt activation of such a connection because it
8621                         would never be "best" due to autoconnect=False.
8622
8623 2007-09-24  Dan Williams  <dcbw@redhat.com>
8624
8625         * src/nm-manager.c
8626                 - (nm_manager_get_connection_secrets): Add a long timeout so the user
8627                         actually has some time to enter a key before the GetSecrets call
8628                         times out
8629
8630 2007-09-24  Dan Williams  <dcbw@redhat.com>
8631
8632         * introspection/nm-manager.xml
8633           src/nm-manager.c
8634                 - (impl_manager_legacy_state): fix 'state' method call return value
8635
8636 2007-09-24  Matthias Clasen  <mclasen@redhat.com>
8637
8638         * test/Makefile.am: Install nm-tool
8639
8640 2007-09-24  Dan Williams  <dcbw@redhat.com>
8641
8642         Patch from Ross Burton <ross@burtonini.com>
8643
8644         * test/nm-tool.c
8645           callouts/nm-dhcp-client-action.c
8646           src/nm-netlink.c
8647           src/vpn-manager/nm-vpn-connection.c
8648           libnm-glib/libnm-glib-test.c
8649                 - warning fixes
8650
8651 2007-09-24  Dan Williams  <dcbw@redhat.com>
8652
8653         * libnm-util/nm-utils.h
8654           libnm-util/nm-utils.c
8655                 - (nm_dbus_send_with_callback_replied, nm_dbus_send_with_callback):
8656                         remove, unused
8657
8658 2007-09-23  Dan Williams  <dcbw@redhat.com>
8659
8660         * vpn-daemons/vpnc/properties/nm-vpnc.c
8661                 - Update for new VPN properties API bits; instead of passing around
8662                         a lot of random things, everything goes into the NMConnection
8663                         object.
8664
8665 2007-09-23  Dan Williams  <dcbw@redhat.com>
8666
8667         * libnm-util/nm-setting.c
8668                 - Correctly dispose of settings objects if creating them from a hash
8669                         table fails
8670
8671 2007-09-23  Dan Williams  <dcbw@redhat.com>
8672
8673         * libnm-util/nm-setting.c
8674                 - (property_value_destroy, nm_setting_vpn_properties_new): initialize
8675                         the hash table in a standard manner.  Clients of libnm-util should
8676                         only call g_hash_table_remove_all(), never destroy the hash table
8677                         and recreate it.
8678
8679 2007-09-22  Dan Williams  <dcbw@redhat.com>
8680
8681         * src/nm-device-802-11-wireless.c
8682                 - (real_bring_up): update signal strength every 6 seconds, not 2.  No
8683                         real reason to do it so often, and reduces wakeups for clients.
8684
8685 2007-09-21  Dan Williams  <dcbw@redhat.com>
8686
8687         * src/nm-device-802-11-wireless.c
8688                 - (build_supplicant_config): wpa_supplicant requires the option
8689                         key_mgmt=NONE for unencrypted networks
8690                 - (real_act_stage2_config): clarify log message on activation
8691
8692 2007-09-21  Dan Williams  <dcbw@redhat.com>
8693
8694         * test/nm-supplicant-test.c
8695           test/Makefile.am
8696                 - Remove supplicant test binary; no longer applicable
8697
8698 2007-09-21  Dan Williams  <dcbw@redhat.com>
8699
8700         * src/supplicant-manager/nm-supplicant-manager.c
8701                 - (nm_supplicant_manager_init): poke the supplicant at startup to
8702                         activate it on the system bus
8703
8704 2007-09-20  Dan Williams  <dcbw@redhat.com>
8705
8706         * initscript/RedHat/NetworkManager.in
8707                 - dhcdbd is no longer used, so don't try to start it from the initscripts
8708
8709 2007-09-20  Dan Williams  <dcbw@redhat.com>
8710
8711         * src/nm-device.c
8712                 - (nm_device_is_activating): work around a race between auto-activation
8713                         and the user activating the same device that is being auto-activated
8714
8715 2007-09-20  Dan Williams  <dcbw@redhat.com>
8716
8717         * src/nm-device-interface.c
8718                 - (impl_device_activate): until multiple active device support lands,
8719                         ensure only one device can be active at a time
8720
8721 2007-09-20  Dan Williams  <dcbw@redhat.com>
8722
8723         * src/supplicant-manager/nm-supplicant-config.c
8724           src/supplicant-manager/nm-supplicant-config.h
8725                 - (nm_supplicant_config_add_option): hide secrets from system logs
8726
8727 2007-09-20  Dan Williams  <dcbw@redhat.com>
8728
8729         * src/NetworkManagerPolicy.c
8730                 - (nm_policy_device_change_check): re-enable the wireless device change
8731                         checking code; insted of checking for SSIDs, check for the same
8732                         connection instead
8733
8734 2007-09-20  Dan Williams  <dcbw@redhat.com>
8735
8736         * src/nm-device-802-11-wireless.c
8737                 - (supplicant_iface_connection_state_cb_handler): don't use the card's
8738                         composite link state when determining when to start the disconnection
8739                         timer; that link state is already based on the supplicant interface's
8740                         status which is exactly what's already being examined, plus the link
8741                         state is a conglomeration of various things that we don't want here
8742
8743 2007-09-20  Dan Williams  <dcbw@redhat.com>
8744
8745         * libnm-glib/nm-access-point.c
8746                 - (handle_property_changed): strength is a UCHAR
8747
8748 2007-09-20  Dan Williams  <dcbw@redhat.com>
8749
8750         * src/supplicant-manager/nm-supplicant-config.c
8751                 - (nm_supplicant_config_add_setting_wireless_security): uppercase
8752                         string list keywords too since that's what wpa_supplicant wants
8753
8754 2007-09-20  Dan Williams  <dcbw@redhat.com>
8755
8756         * libnm-util/nm-setting.c
8757                 - (convert_strv_to_slist): dupe the values in the list because since
8758                         the list is a boxed value, it'll get destroyed when it's container
8759                         (like a hash table or whatever) gets destroyed
8760
8761 2007-09-20  Tambet Ingo  <tambet@gmail.com>
8762
8763         * libnm-util/nm-setting.h: Change the type of NMSettingVPN->routes to
8764         GSList.
8765
8766         * libnm-util/nm-setting.c (setting_vpn_destroy): Free routes too.
8767
8768         * src/nm-manager.c (connection_get_settings_cb): No need to use weakref,
8769         just use (g_object_set_data_full).
8770
8771         * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Now
8772         that NMSettingVPN->routes is a GSList, convert it to char **.
8773         (nm_vpn_connection_ip4_config_get): Free routes when done.
8774         (nm_vpn_connection_activate): Ditto.
8775
8776         * src/nm-device-802-11-wireless.c (real_connection_secrets_updated)
8777         (real_act_stage2_config): Use defined setting names.
8778
8779 2007-09-20  Dan Williams  <dcbw@redhat.com>
8780
8781         * src/nm-device-802-11-wireless.c
8782           src/nm-manager.c
8783           src/nm-manager.h
8784                 - Pass an NMDeviceInterface into nm_manager_get_connection_secrets()
8785                         so that the device can be deactivated if secrets are wrong
8786
8787 2007-09-20  Dan Williams  <dcbw@redhat.com>
8788
8789         * introspection/nm-settings-connection.xml
8790           libnm-glib/nm-settings.c
8791           libnm-glib/nm-settings.h
8792                 - Make GetSecrets asynchronous on the server side
8793
8794 2007-09-20  Dan Williams  <dcbw@redhat.com>
8795
8796         * src/nm-manager.h
8797           src/nm-device.c
8798                 - (nm_device_activate): actually check if a given connection
8799                         exists before assuming it doesn't
8800
8801 2007-09-20  Tambet Ingo  <tambet@gmail.com>
8802
8803         * libnm-util/nm-connection.c (register_default_creators): Use defined
8804         setting names. Register NMSettingVPN and NMSettingVPNProperties.
8805
8806         * libnm-util/nm-setting.c: Define property name strings, use them.
8807         Implement NMSettingVPN and NMSettingVPNProperties settings.
8808         Implement NM_S_TYPE_GVALUE_HASH.
8809         (nm_setting_populate_from_hash): Handle NM_S_TYPE_GVALUE_HASH.
8810         (setting_connection_verify): Rename 'devtype' property to 'type'.
8811
8812         * introspection/nm-vpn-manager.xml: Use NMConnection for VPN service
8813         properties.
8814
8815         * src/vpn-manager/nm-vpn-service.c: Ditto.
8816
8817         * src/vpn-manager/nm-vpn-connection.c: Ditto.
8818
8819         * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_connect): Ditto.
8820         (nm_vpn_manager_new): Remove NMManager argument, it's easy enough to get.
8821
8822         * src/nm-device-802-11-wireless.c (find_best_connection): Use defined setting
8823         names. NMSettingConnection->devtype got renamed to 'type'.
8824
8825         * src/nm-device-802-3-ethernet.c (find_best_connection):
8826         (real_get_best_connection): Ditto.
8827
8828         * src/NetworkManager.c (main): Update the vpn manager creation arguments.
8829
8830         * libnm-glib/nm-vpn-manager.[ch]: Update.
8831
8832 2007-09-19  Dan Williams  <dcbw@redhat.com>
8833
8834         * src/NetworkManagerAP.c
8835           src/NetworkManagerAP.h
8836           introspection/nm-access-point.xml
8837                 - Change strength-changed signal into a properties-changed signal
8838                         for all properties, not just strength.  Export that signal over dbus
8839                         so listeners don't have to poll NM for changes.
8840                 - (nm_ap_export_to_dbus, nm_ap_new): not every NMAccessPoint should
8841                         get exported over D-Bus, so break up the logic and let other bits
8842                         decided when to export the AP
8843                 - (nm_ap_new_from_ap): remove, unused
8844
8845         * src/nm-device-802-11-wireless.c
8846                 - (merge_scanned_ap): only export APs that are actually on the device
8847                         list, not every AP created internally
8848
8849         * libnm-glib/nm-access-point.c
8850           libnm-glib/nm-access-point.h
8851                 - Cache properties internally and only hit DBus when needed.  Get
8852                         property updates from NM signals
8853
8854 2007-09-16  Dan Williams  <dcbw@redhat.com>
8855
8856         * libnm-util/nm-connection.c
8857           libnm-util/nm-connection.h
8858                 - (nm_connection_for_each_setting_value): new function; iterate over
8859                         each setting's value and call a user-provided function with details
8860                         about that value
8861
8862         * libnm-util/nm-setting.c
8863           libnm-util/nm-setting.h
8864                 - (nm_setting_enumerate_values): new function; enumerate the values
8865                         of a specific NMSetting subclass for a user-provided function with
8866                         details about that value
8867                 - Change wep_tx_keyidx to a uint32
8868                 - Create settings value tables for each setting defining their type,
8869                         key name, offset into the NMSetting subclass' structure, and whether
8870                         they are required and/or a secret
8871                 - (nm_setting_populate_from_hash): generic function to populate an
8872                         NMSetting from a GHash table, make all settings use it
8873                 - (nm_setting_hash): generic function to derive a GHashTable from
8874                         an NMSetting object, make all settings use it
8875
8876 2007-09-14  Dan Williams  <dcbw@redhat.com>
8877
8878         Remove unused stuff in libnm-util
8879
8880         * configure.in
8881           libnm-util/Makefile.am
8882           libnm-util/cipher-private.h
8883           libnm-util/cipher-wep-ascii.c
8884           libnm-util/cipher-wep-ascii.h
8885           libnm-util/cipher-wep-hex.c
8886           libnm-util/cipher-wep-hex.h
8887           libnm-util/cipher-wep-passphrase.c
8888           libnm-util/cipher-wep-passphrase.h
8889           libnm-util/cipher-wpa-psk-hex.c
8890           libnm-util/cipher-wpa-psk-hex.h
8891           libnm-util/cipher-wpa-psk-passphrase.c
8892           libnm-util/cipher-wpa-psk-passphrase.h
8893           libnm-util/cipher.c
8894           libnm-util/cipher.h
8895           libnm-util/dbus-helpers.c
8896           libnm-util/dbus-helpers.h
8897           libnm-util/gnome-keyring-md5.c
8898           libnm-util/gnome-keyring-md5.h
8899           libnm-util/sha1.c
8900           libnm-util/sha1.h
8901           src/nm-device-802-11-wireless.c
8902           test/libnm-util/Makefile.am
8903           test/libnm-util/test-ciphers.c
8904           test/libnm-util/test-dbus-helpers.c
8905           test/libnm-util/test-inputs.h
8906                 - Removed
8907
8908 2007-09-14  Dan Williams  <dcbw@redhat.com>
8909
8910         * libnm-util/dbus-method-dispatcher.c
8911           libnm-util/dbus-method-dispatcher.h
8912                 - Remove, unused
8913
8914 2007-09-14  Dan Williams  <dcbw@redhat.com>
8915
8916         Implement deferred activation support in the device class.
8917
8918         * src/nm-device-interface.c
8919           src/nm-device-interface.h
8920                 - (nm_device_interface_activate): take more arguments to support
8921                         deferred activation; callers must pass one of (connection) OR
8922                         (service_name, connection_path)
8923                 - (impl_device_activate): connection validation is punted to the device
8924                         to be able to handle deferred activation.  Yes, this means errors
8925                         don't get returned from the Activate() dbus call, and yes, that
8926                         should be fixed somehow later.
8927
8928         * src/nm-device.c
8929           src/nm-device.h
8930                 - (clear_act_request): clear additional deferred activation stuff too
8931                 - (deferred_activation_timeout_cb): new function; clean up when
8932                         deferred activation times out.
8933                 - (deferred_activation_start_cb): new function; when the connection
8934                         finally becomes available, start device activation
8935                 - (nm_device_activate): attach to the right signals of the activation
8936                         request if we need to defer activation until the connection is valid
8937
8938         * src/NetworkManagerPolicy.c
8939                 - (nm_policy_device_change_check): update for additional arguments
8940                         required for nm_device_interface_activate().  Pass NULL for these
8941                         though because this function already knows exactly which
8942                         NMConnection to use
8943
8944 2007-09-14  Dan Williams  <dcbw@redhat.com>
8945
8946         Implement deferred activation handling in the NMActRequest class.  When a
8947         client wants to activate a device but must create the NMConnection details
8948         on the fly, there likely hasn't been enough time yet for NM to receive the
8949         new connection signal and grab all the connection details.  So the
8950         activation is deferred (and bounded by a timer) for a while, and if the
8951         connection appears within the window, it is activated.
8952
8953         * src/nm-activation-request.c
8954           src/nm-activation-request.h
8955                 - (nm_act_request_class_init): two new signals to support deferred
8956                         activation, to allow the listener to handle both timeout and success
8957                 - (nm_act_request_new_deferred): new function, starts the deferred
8958                         activation timeout handler and listens to the NMManager for
8959                         new-connection signals to notice when the connection comes in
8960
8961 2007-09-14  Dan Williams  <dcbw@redhat.com>
8962
8963         * src/nm-manager.h
8964           src/nm-manager.c
8965                 - (nm_manager_get_connection_service_name,
8966                    nm_manager_get_connection_dbus_path): get details about a connection
8967                         known internally by the NMManager
8968                 - (nm_manager_class_init): fix connection add/remove signal marshalers
8969                         because NMConnection is now a GObject subclass
8970                 - Use constant for the gobject data tag used on NMConnection objects for
8971                         storing the associated DBusGProxy
8972
8973 2007-09-14  Dan Williams  <dcbw@redhat.com>
8974
8975         * utils/Makefile.am
8976           utils/nm-utils.c
8977           utils/nm-utils.h
8978           src/supplicant-manager/Makefile.am
8979           src/dhcp-manager/Makefile.am
8980           src/backends/Makefile.am
8981           src/named-manager/Makefile.am
8982           src/ppp-manager/Makefile.am
8983           src/vpn-manager/Makefile.am
8984           test/libnm-util/Makefile.am
8985           test/test-common/Makefile.am
8986                 - Remove utils/; it was unused
8987
8988 2007-09-13  Dan Williams  <dcbw@redhat.com>
8989
8990         * libnm-glib/nm-vpn-manager.h
8991           libnm-glib/nm-vpn-manager.c
8992                 - (nm_vpn_manager_connect): take routes as a GSList, not a char **
8993
8994 2007-09-13  Dan Williams  <dcbw@redhat.com>
8995
8996         * src/nm-device-802-3-ethernet.c
8997                 - (real_bring_down, nm_device_802_3_ethernet_dispose): disconnect from
8998                         netlink monitor carrier signals on dispose, not bring down.  The
8999                         carrier signals should be handled over the entire lifetime of the
9000                         device anyway, not created/destroyed on up or down.
9001
9002 2007-09-13  Dan Williams  <dcbw@redhat.com>
9003
9004         * libnm-glib/nm-device.c
9005           libnm-glib/nm-device.h
9006                 - (nm_device_activate): take a connection object path rather than an
9007                         NMConnection because NMConnection isn't exported over D-Bus and
9008                         therefore it dbus-glib can't automatically get an object path from it
9009
9010 2007-09-13  Dan Williams  <dcbw@redhat.com>
9011
9012         * libnm-util/nm-setting.c
9013                 - (nm_setting_wired_new): set autonegotiate to TRUE by default
9014
9015 2007-09-13  Tambet Ingo  <tambet@gmail.com>
9016
9017         * autogen.sh: NetworkManagerMain.h is gone, check for NetworkManager.c.
9018
9019 2007-09-12  Tambet Ingo  <tambet@gmail.com>
9020
9021         * src/vpn-manager/nm-vpn-connection.[ch]: 
9022         * src/vpn-manager/nm-vpn-manager.[ch]:
9023         * src/vpn-manager/nm-vpn-service.[ch]: Rewrite the vpn handling code. Using 
9024         dbus-glib, GObjects, signals etc.
9025
9026         * libnm-glib/nm-vpn-manager.[ch]: 
9027         * libnm-glib/nm-vpn-connection.[ch]: Now that the NM implementation changed
9028         so much, rewrite these too.
9029
9030         * libnm-glib/Makefile.am: Add new files to build, build new binding files for
9031         the new introspection files.
9032
9033         * libnm-glib/nm-client.[ch]: Remove all VPN related stuff from here.
9034
9035         * libnm-glib/nm-dbus-utils.[ch]: Renamed from nm-utils.[ch] that was shadowing
9036         the header with the same name from libnm-utils.
9037
9038         * libnm-glib/nm-vpn-plugin.[ch]: Implement.
9039
9040         * libnm-util/Makefile.am: Add nm-utils.[ch] to build.
9041
9042         * introspection/nm-vpn-plugin.xml: Implement.
9043
9044         * introspection/nm-vpn-connection.xml: Implement.
9045
9046         * introspection/nm-vpn-manager.xml: Implement.
9047
9048         * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Remove
9049         the named manager argument, it can just as easily get it as the caller.
9050         (nm_system_vpn_device_unset_from_ip4_config): Ditto.
9051
9052         * src/vpn-manager/nm-dbus-vpn.[ch]: Remove.
9053
9054         * src/nm-dbus-manager.h: Fix up the name_owner signal signature.
9055
9056         * src/dhcp-manager/nm-dhcp-manager.c (garray_to_string): Remove, use one from
9057         libnm-utils.
9058
9059         * libnm-util/nm-connection.c: Ditto.
9060
9061         * src/NetworkManagerMain.h: Remove, it's finally empty.
9062
9063         * configure.in: Remove utils/ from build.
9064
9065         * include/NetworkManagerVPN.h: Add some more defines to reduce the amount
9066         of hard-coded strings.
9067
9068         * utils/: Move it over to libnm-util.
9069
9070         * test/Makefile.am: Link against libnm-util now that util/ is gone.
9071
9072         * dispatcher-daemon/Makefile.am: Ditto.
9073
9074         * src/Makefile.am: Ditto.
9075
9076 2007-09-12  Dan Williams  <dcbw@redhat.com>
9077
9078         Wireless connections can be made with config data from the applet now.
9079         
9080         Yay.
9081
9082         * src/supplicant-manager/nm-supplicant-config.h
9083           src/supplicant-manager/nm-supplicant-config.c
9084                 - (nm_supplicant_config_new): kill unused init parameter 'iface'
9085                 - (nm_supplicant_config_add_setting_wireless,
9086                    nm_supplicant_config_add_setting_wireless_security): new functions;
9087                         add key/value pairs from the settings objects to the supplicant
9088                         config
9089
9090         * src/nm-device-802-11-wireless.c
9091                 - (cull_scan_list): fix check to not prune currently associated AP
9092                 - (build_supplicant_config, real_act_stage2_config): call the functions
9093                         of the NMSupplicantConfig that parse settings objects rather than
9094                         doing it manually here
9095
9096 2007-09-12  Dan Williams  <dcbw@redhat.com>
9097
9098         * src/supplicant-manager/nm-supplicant-interface.c
9099           src/supplicant-manager/nm-supplicant-marshal.list
9100                 - (nm_supplicant_interface_class_init): fix stupid mistake, the
9101                         "connection-error" signal arguments should be STRING not CHAR
9102
9103 2007-09-12  Dan Williams  <dcbw@redhat.com>
9104
9105         * src/NetworkManagerUtils.c
9106           src/NetworkManagerUtils.h
9107                 - (nm_utils_hexstr2bin): new function
9108
9109 2007-09-11  Dan Williams  <dcbw@redhat.com>
9110
9111         * src/nm-manager.c
9112                 - (connection_get_settings_cb): emit connection-added signal
9113                 - (connection_removed_cb): uncomment bits for system settings service,
9114                         send connection-removed when appropriate
9115                 - (nm_manager_get_connection_secrets, get_secrets_cb): don't clobber
9116                         the stack by trying to g_object_set_data() on something that's
9117                         not a GObject; handle case where settings service returns
9118                         empty settings hash table
9119
9120 2007-09-11  Dan Williams  <dcbw@redhat.com>
9121
9122         * src/NetworkManagerPolicy.c
9123                 - (connection_added, connection_removed): trigger device change checks
9124                         on connection changes
9125
9126 2007-09-11  Dan Williams  <dcbw@redhat.com>
9127
9128         * src/nm-activation-request.c
9129                 - (connection_secrets_updated_cb): fix c&p error in signal emission
9130
9131 2007-09-11  Dan Williams  <dcbw@redhat.com>
9132
9133         * src/nm-device-802-11-wireless.c
9134                 - (real_connection_secrets_updated): fix erroneous check
9135
9136 2007-09-11  Dan Williams  <dcbw@redhat.com>
9137
9138         * introspection/nm-device.xml
9139           libnm-glib/nm-device.c
9140           libnm-glib/nm-device.c
9141                 - Fix Activate call argument borkage; Activate takes 3 arguments
9142
9143 2007-09-11  Dan Williams  <dcbw@redhat.com>
9144
9145         * libnm-glib/nm-access-point.c
9146           libnm-glib/nm-access-point.c
9147                 - (nm_access_point_get_frequency): now returns guint32 to match
9148                         property change on 2007-09-10
9149
9150 2007-09-11  Dan Williams  <dcbw@redhat.com>
9151
9152         * src/nm-device-802-11-wireless.c
9153                 - (nm_device_802_11_wireless_new): s/index/idx, stupid system header
9154                         somewhere defines 'index' and I missed this one when I fixed the
9155                         shadow declaration errors earlier
9156
9157 2007-09-11  Dan Williams  <dcbw@redhat.com>
9158
9159         * libnm-util/nm-connection.c
9160                 - (nm_connection_update_secrets, need_secrets_check): move
9161                         802-11-wireless-security need_secrets checks to the setting object
9162                         itself, where it belongs
9163
9164         * libnm-util/nm-setting.c
9165           libnm-util/nm-setting.h
9166                 - (nm_setting_need_secrets): new function
9167                 - (setting_wireless_security_verify,
9168                    nm_setting_wireless_security_new_from_hash): make 'key-mgmt' required
9169                 - (setting_wireless_security_need_secrets): mostly copy code over
9170                         from nm-connection.c
9171
9172 2007-09-11  Dan Williams  <dcbw@redhat.com>
9173
9174         * libnm-util/nm-setting.c
9175           libnm-util/nm-setting.h
9176                 - (nm_setting_update_secrets): new function; add a virtual function that
9177                         subclasses can implement to update their secrets
9178                 - (setting_wireless_security_update_secrets): implement that function
9179                         for the 802-11-wireless-security subclass
9180
9181         * libnm-util/nm-connection.c
9182           libnm-util/nm-connection.h
9183                 - (nm_connection_update_secrets): update secrets for a Setting and
9184                         emit a signal on success
9185
9186         * src/nm-manager.c
9187           src/nm-manager.h
9188           src/nm-marshal.list
9189                 - (connection_get_settings_cb): enable system settings bits
9190                 - (nm_manager_get_connection_secrets, get_secrets_cb): add function
9191                         to request secrets from the settings dbus service and to
9192                         push those secrets to the NMConnection itself
9193
9194         * src/nm-activation-request.c
9195           src/nm-activation-request.h
9196                 - Attach to the 'secrets-updated' signal of the NMConnection that's
9197                         currently being activated, and proxy that signal to other listeners.
9198                         Goes through the activation request because the activation request
9199                         is the thing that manages the lifetime of the NMConnection that's
9200                         being activated.
9201
9202         * src/nm-device-802-11-wireless.c
9203                 - (real_connection_secrets_updated): implement the connection secrets
9204                         updated notification and restart activation when secrets are
9205                         received
9206                 - (real_act_stage2_config): request secrets from the settings dbus
9207                         service if secrets are needed
9208
9209         * src/nm-device.c
9210           src/nm-device.h
9211                 - (clear_act_request, nm_device_activation_cancel,
9212                    nm_device_deactivate_quickly, nm_device_dispose): consolidate places
9213                         where the activation request is cleared
9214                 - (nm_device_activate, connection_secrets_updated_cb): attach to the
9215                         updated secrets signal of activation request and add a function
9216                         that subclasses can override to handle it easily
9217
9218 2007-09-11  Tambet Ingo  <tambet@gmail.com>
9219
9220         * src/backends/NetworkManagerSuSE.c: Fix a build issue caused by the
9221         removal of NetworkManagerAPList.
9222
9223 2007-09-10  Dan Williams  <dcbw@redhat.com>
9224
9225         * src/NetworkManagerAP.c
9226           src/NetworkManagerAP.h
9227           introspection/nm-access-point.xml
9228                 - Change 'freq' property to a guint32 instead of a double since we
9229                         weren't using the floating point bits anyway
9230
9231 2007-09-10  Dan Williams  <dcbw@redhat.com>
9232
9233         * NetworkManagerAP.c
9234           NetworkManagerAP.h
9235           NetworkManagerPolicy.c
9236           NetworkManagerSystem.c
9237           NetworkManagerUtils.c
9238           NetworkManagerUtils.h
9239           nm-device-802-11-wireless.c
9240           nm-device-802-3-ethernet.c
9241           nm-hal-manager.c
9242           nm-manager.c
9243           vpn-manager/nm-dbus-vpn.c
9244                 - Warning fixes; casts and removal of unused variables
9245
9246 2007-09-10  Dan Williams  <dcbw@redhat.com>
9247
9248         * include/NetworkManager.h
9249                 - Kill NMNetworkType; AP types don't matter any more
9250
9251         * src/NetworkManagerAPList.c
9252           src/NetworkManagerAPList.h
9253           src/Makefile.am
9254                 - Kill; NMAccessPointList has outlived it's usefulness
9255
9256         * src/NetworkManagerAP.c
9257           src/NetworkManagerAP.h
9258                 - (match_cipher, security_compatible, nm_ap_check_compatible): new
9259                         functions; check if an NMConnection object is compatible with the
9260                         settings of this AP
9261                 - (freq_to_channel, channel_to_freq): utility functions for
9262                         channel <-> frequency conversion
9263
9264         * src/nm-device.c
9265           src/nm-device.h
9266                 - (nm_device_get_best_connection): pass the specific object around
9267                          (which might be the object path of a specific AP to connect to).
9268                          The get_best_connection() call should populate this on return
9269                          if needed (wireless does).
9270
9271         * src/nm-device-802-3-ethernet.c
9272                 - (real_get_best_connection): handle specific_object argument
9273
9274         * src/NetworkManager.c
9275           src/NetworkManagerMain.h
9276                 - Remove unused includes
9277
9278         * src/nm-device-802-11-wireless.c
9279           src/nm-device-802-11-wireless.h
9280                 - Convert the ap_list into a GSList from an NMAccessPointList
9281                 - No need for caching the 'activation_ap' since this is now determined
9282                         from the specific_object of the activation request, which is
9283                         populated from the get_best_connection() call or from a user request
9284                 - (nm_device_802_11_wireless_update_bssid): fix warning
9285                 - (get_wireless_capabilities): fix error message format arguments
9286                 - (nm_device_802_11_wireless_copy_allowed_to_dev_list): remove, unused
9287                 - (find_best_connection, real_get_best_connection): implement
9288                 - (ap_list_get_ap_by_ssid, nm_device_802_11_wireless_ap_list_print):
9289                         move here from NetworkManagerAPList
9290                 - (ap_need_secrets): remove; moved to nm-connection.c where it belongs
9291                 - (real_act_stage1_prepare): just ensure an AP exists, connection is
9292                         already verified earlier
9293                 - (real_act_stage2_config): use nm_connection_need_secrets()
9294
9295         * src/NetworkManagerPolicy.c
9296                 - (nm_policy_auto_get_best_device): handle specific objects
9297                 - (create_connection): remove; automatic connection creation functionality
9298                         is handled by the Connection objects
9299                 - (nm_policy_device_change_check): handle specific_object
9300
9301         * libnm-util/nm-connection.c
9302                 - (wireless_sec_need_secrets, nm_connection_need_secrets): implement
9303
9304 2007-09-10  Dan Williams  <dcbw@redhat.com>
9305
9306         * src/nm-manager.c
9307                 - (query_connections): fix uninitialized variable problem that caused
9308                         segfault
9309                 - (nm_manager_add_device): take devices down on startup so that we can
9310                         be assured that nm_device_is_up() won't short-circuit the init
9311                         process.  Hack until the is_up check gets split into two pieces
9312                         that aren't behaviorally confusing.
9313
9314 2007-09-09  Dan Williams  <dcbw@redhat.com>
9315
9316         * introspection/nm-device.xml
9317                 - The 'Activate' method now takes 3 arguments, a service name for the
9318                 settings service (user or system), the object path of the connection
9319                 to activate, and the specific object to activate, if any
9320
9321         * src/nm-device-interface.c
9322                 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
9323                 Add error bits
9324                 - (impl_device_activate): adapt to new Activate arguments; validate
9325                 the service name and get the Connection object from the NMManager
9326                 before starting to activate the device with the specified connection
9327
9328         * src/nm-device-802-3-ethernet.c
9329                 - (real_get_best_connection): find the best connection, or create a
9330                 default one if no existing connections can be used
9331
9332         * src/NetworkManagerPolicy.c
9333                 - (nm_policy_auto_get_best_device): Get the device's best connection
9334                 and only pick the device if it has one
9335                 - (nm_policy_device_change_check): disable wireless bits for now until
9336                 wireless get_best_connection() can be implemented (replacing "best_ap");
9337                 don't create a default connection here as the device subclass will do
9338                 that if needed
9339
9340         * src/nm-manager.h
9341           src/nm-manager.c
9342                 - (nm_manager_get): make NMManager a singleton and expose the getter
9343                 internally
9344                 - Rework internal NMManager connection handling to use the same
9345                 routines for both the system and user settings services.  Most calls
9346                 take a new NMConnectionType argument specifying either system or user
9347                 connections
9348                 - (nm_manager_get_connection_by_object_path): new function; get a
9349                 connection keyed on its object path
9350
9351         * src/NetworkManager.c
9352                 - (main): use nm_manager_get()
9353
9354 2007-09-09  Dan Williams  <dcbw@redhat.com>
9355
9356         * src/nm-device.h
9357           src/nm-device.c
9358                 - (nm_device_get_best_connection): new function; get best connection
9359                         for the device at that time
9360
9361 2007-09-09  Dan Williams  <dcbw@redhat.com>
9362
9363         * src/nm-device-interface.h
9364                 - Add NMDeviceInterfaceError with an UnknownConnection error
9365
9366 2007-09-09  Dan Williams  <dcbw@redhat.com>
9367
9368         Stupid mistake on my part; object path and interface for settings service
9369         and connection objects can be the same, only the service name must be
9370         different for the system and user settings services.
9371
9372         * include/NetworkManager.h
9373           src/nm-manager.c
9374           introspection/nm-settings-connection.xml
9375           introspection/nm-settings.xml
9376           libnm-glib/nm-settings.c
9377                 - (nm_connection_settings_init, query_user_connections,
9378                    new_connection_cb): Unify NetworkManagerSettings and Connection
9379                    interface name and object path
9380
9381 2007-09-06  Dan Williams  <dcbw@redhat.com>
9382
9383         * libnm-glib/nm-object.c
9384                 - (nm_object_get_string_property, nm_object_get_object_path_property,
9385                    nm_object_get_int_property, nm_object_get_uint_property,
9386                    nm_object_get_boolean_property, nm_object_get_byte_property,
9387                    nm_object_get_double_property, nm_object_get_byte_array_property):
9388                         clear GValues after copying their contents, fixes memory leaks
9389                         after every property access because dbus-glib copies the values
9390                         from the DBusMessage into the GValue already.
9391
9392 2007-09-06  Dan Williams  <dcbw@redhat.com>
9393
9394         * introspection/nm-access-point.xml
9395                 - Fix WpaFlags and RsnFlags property names to be what dbus-glib expects
9396                         them to be.  There's some magic property name parsing going on in
9397                         dbus-glib that breaks up property names based on studly-caps and
9398                         puts - between words.
9399
9400         * libnm-glib/nm-access-point.c
9401                 - (nm_access_point_get_wpa_flags, nm_access_point_get_rsn_flags):
9402                         Fix property names
9403
9404 2007-09-06  Dan Williams  <dcbw@redhat.com>
9405
9406         * src/nm-manager.c
9407                 - (nm_manager_user_connections_destroy): clear the user connections hash
9408                         table, don't destroy it
9409                 - (finalize): only destroy the hash table on NMManager finalization
9410
9411 2007-09-02  Dan Williams  <dcbw@redhat.com>
9412
9413         * include/NetworkManager.h
9414           libnm-glib/nm-settings.c
9415                 - defines for the user settings daemon D-Bus bits
9416
9417         * src/NetworkManager.c
9418                 - Remove stuff that referred to the old NetworkManagerInfo service
9419
9420         * src/vpn-manager/nm-dbus-vpn.h
9421                 - Move old NMI defines to the only place they are used still
9422
9423         * libnm-util/nm-connection.c
9424           libnm-util/nm-connection.h
9425           src/nm-activation-request.c
9426                 - Make NMConnection a GObject subclass so we can do spiffy stuff with it
9427
9428         * src/nm-manager.c
9429           src/nm-manager.h
9430                 - Get connections and their settings from the user settings daemon
9431                         at the appropriate times
9432
9433 2007-09-02  Dan Williams  <dcbw@redhat.com>
9434
9435         * libnm-util/nm-setting.c
9436                 - (nm_settings_verify): correct setting name is 'connection', not 'info'
9437                 - (setting_wireless_hash): set the right value on the item
9438
9439 2007-09-02  Dan Williams  <dcbw@redhat.com>
9440
9441         * test/Makefile.am
9442           test/nminfotest.c
9443                 - Remove, no longer useful
9444
9445 2007-08-30  Dan Williams  <dcbw@redhat.com>
9446
9447         * src/Makefile.am
9448           src/NetworkManagerDbus.c
9449           src/NetworkManagerDbus.h
9450           src/vpn-manager/nm-dbus-vpn.c
9451                 - Remove, no longer necessary.  Move last bits to the only place its
9452                 used, in nm-dbus-vpn.c
9453
9454         * src/NetworkManagerAPList.c
9455           src/nm-device.c
9456           src/NetworkManager.c
9457           src/nm-device-802-11-wireless.c
9458           src/vpn-manager/nm-vpn-manager.c
9459           src/vpn-manager/nm-vpn-service.c
9460           src/NetworkManagerPolicy.c
9461           src/nm-manager.c
9462                 - Remove usage of NetworkManagerDbus.h, and kill the obfuscation
9463                 that was message_is_error()
9464
9465 2007-08-30  Dan Williams  <dcbw@redhat.com>
9466
9467         * libnm-util/sha1.c
9468                 - Include config.h to get defines for endiannes (gnome.org #420216)
9469
9470 2007-08-30  Dan Williams  <dcbw@redhat.com>
9471
9472         Patch from Philip Withnall <bugzilla@tecnocode.co.uk>
9473
9474         * src/ppp-manager/Makefile.am
9475                 - use -fPIC (gnome.org #471825)
9476
9477 2007-08-29  Dan Williams  <dcbw@redhat.com>
9478
9479         * include/NetworkManager.h
9480                 - Keep NMConnection object path in sync
9481
9482         * libnm-glib/nm-settings.c
9483           libnm-glib/nm-settings.h
9484                 - Break D-Bus object registration out of the init function, because
9485                 every object that's exported over D-Bus needs to use the _same_
9486                 DBusConnection.  Otherwise, each object would get a different object
9487                 path tree and wouldn't be callable.
9488
9489 2007-08-29  Dan Williams  <dcbw@redhat.com>
9490
9491         * libnm-util/nm-setting.h
9492           libnm-util/nm-setting.c
9493           libnm-util/nm-connection.c
9494           src/NetworkManagerPolicy.c
9495                 - 'info' settings object should be 'connection' says the spec
9496                 at NetworkManagerConfigurationSpecification
9497
9498 2007-08-29  Dan Williams  <dcbw@redhat.com>
9499
9500         * libnm-glib/nm-settings.c
9501           libnm-glib/nm-settings.h
9502                 - make the dbus path a property of the object, and autogenerate it.
9503                 It can't be composed of the 'id' field becuase that's not available
9504                 yet during the GObject creation in nm_connection_settings_init()
9505
9506 2007-08-29  Dan Williams  <dcbw@redhat.com>
9507
9508         * introspection/nm-settings-connection.xml
9509           introspection/nm-settings.xml
9510                 - Service name -> NetworkManagerUserSettings because two services
9511                 can't share part of the same path.  I'm not really sure how we'll use
9512                 the same code with the system-settings daemon...
9513
9514 2007-08-28  Dan Williams  <dcbw@redhat.com>
9515
9516         * src/nm-device-interface.c
9517           src/nm-device-interface.h
9518                 - Kill one more bit of NMData
9519
9520 2007-08-28  Dan Williams  <dcbw@redhat.com>
9521
9522         * src/NetworkManagerSystem.h
9523           src/nm-device.c
9524           src/nm-device.h
9525           src/nm-hal-manager.c
9526           src/NetworkManager.c
9527           src/nm-device-802-11-wireless.c
9528           src/nm-hal-manager.h
9529           src/nm-device-802-3-ethernet.c
9530           src/vpn-manager/nm-vpn-service.h
9531           src/vpn-manager/nm-vpn-manager.c
9532           src/vpn-manager/nm-vpn-manager.h
9533           src/vpn-manager/nm-vpn-service.c
9534           src/nm-device-802-11-wireless.h
9535           src/NetworkManagerMain.h
9536           src/nm-device-802-3-ethernet.h
9537           src/backends/NetworkManagerGentoo.c
9538           src/backends/NetworkManagerPaldo.c
9539           src/backends/NetworkManagerFrugalware.c
9540           src/backends/NetworkManagerRedHat.c
9541           src/backends/NetworkManagerSlackware.c
9542           src/backends/NetworkManagerGeneric.c
9543           src/backends/NetworkManagerArch.c
9544           src/backends/NetworkManagerSuSE.c
9545           src/backends/NetworkManagerGeneric.h
9546           src/backends/NetworkManagerDebian.c
9547                 - Kill NMData
9548
9549 2007-08-28  Dan Williams  <dcbw@redhat.com>
9550
9551         * src/NetworkManagerMain.h
9552           src/nm-device-802-11-wireless.c
9553           src/NetworkManager.c
9554                 - Remove invalid AP list from NMData; need to rework this somewhat, but
9555                 for now we should set the 'invalid' property on individual APs, and when
9556                 we need to invalidate a whole ESS, set the 'invalid' on every member of
9557                 that ESS
9558
9559 2007-08-28  Dan Williams  <dcbw@redhat.com>
9560
9561         * src/NetworkManagerAP.c
9562           src/NetworkManagerAP.h
9563                 - Remove 'fallback' tag, to be replaced by NMConnection/NMSettings
9564                         'autoconnect' property instead
9565
9566         * src/NetworkManager.c
9567           src/NetworkManagerMain.h
9568           src/NetworkManagerPolicy.c
9569           src/NetworkManagerPolicy.h
9570                 - Remove the 'allowed_ap_list', which should be replaced by 
9571                         NMConnection/NMSettings instead, since _those_ are the allowed
9572                         things that NM can connect to
9573
9574         * src/nm-device-802-11-wireless.c
9575                 - Remove both allowed_ap_list usage and 'fallback' checking
9576
9577 2007-08-28  Dan Williams  <dcbw@redhat.com>
9578
9579         * src/nm-device.c
9580           src/named-manager/nm-named-manager.c
9581           src/named-manager/nm-named-manager.h
9582           src/NetworkManager.c
9583           src/vpn-manager/nm-vpn-manager.c
9584           src/NetworkManagerMain.h
9585           src/NetworkManagerSystem.c
9586                 - Remove the named-manager object from NMData structure in preparation
9587                 for NMData's timely death.  Make the NMNamedManager the singleton that
9588                 it really is
9589
9590 2007-08-28  Dan Williams  <dcbw@redhat.com>
9591
9592         Remove NMAPSecurity objects, they are replaced with flags on the APs for
9593         each AP's capabilities, and by NMConnection/NMSettings objects for user
9594         defined connections.
9595
9596         * include/NetworkManager.h
9597                 - Redefine 802.11 security properties.  There are now device capabilities
9598                         and AP flags and AP security flags.  It was way to unclear before.
9599
9600         * src/Makefile.am
9601           src/nm-ap-security-leap.h
9602           src/nm-ap-security-leap.c
9603           src/nm-ap-security-wpa-eap.c
9604           src/nm-ap-security-wpa-eap.h
9605           src/nm-ap-security-private.h
9606           src/nm-ap-security-wpa-psk.c
9607           src/nm-ap-security-wpa-psk.h
9608           src/nm-ap-security-wep.c
9609           src/nm-ap-security-wep.h
9610           src/nm-ap-security.c
9611           src/nm-ap-security.h
9612                 - Removed, to be replaced with NMConnection/NMSettings objects
9613
9614         * src/nm-dbus-nmi.c
9615           src/nm-dbus-nmi.h
9616                 - Removed, to be replaced by code that talks to the new info daemon
9617                         interface and gets NMConnection/NMSettings objects
9618
9619         * src/backends/NetworkManagerSuSE.c
9620                 - Remove usage of NMAPSecurity; should be replaced by a system-level
9621                         info-daemon that does the same thing but talks the new info-daemon
9622                         D-Bus interface
9623
9624         * src/NetworkManagerAP.h
9625           src/NetworkManagerAP.c
9626           src/NetworkManagerAPList.c
9627           libnm-glib/libnm-glib-test.c
9628                 - Remove usage of NMAPSecurity objects and adjust to new flags for
9629                         WPA/RSN
9630
9631         * libnm-glib/nm-access-point.c
9632           libnm-glib/nm-access-point.h
9633           introspection/nm-access-point.xml
9634           test/nm-tool.c
9635                 - Adjust to new flags for AP security
9636
9637         * utils/nm-utils.c
9638           utils/nm-utils.h
9639           src/vpn-manager/nm-dbus-vpn.c
9640                 - Remove D-Bus pending call stuff from nm-utils and put it in the VPN
9641                         stuff which is the only place it's used
9642
9643         * src/nm-device-interface.c
9644           src/nm-device-interface.h
9645           introspection/nm-device.xml
9646           src/nm-activation-request.c
9647           src/nm-activation-request.h
9648           src/nm-device.c
9649                 - Add a new 'specific_object' argument that hints to NM what actual
9650                         AP or other device-specific thing the connection should apply to.
9651                         NMConnection objects can apply to more than one actual device/AP.
9652
9653         * libnm-util/nm-connection.c
9654         * libnm-util/nm-connection.h
9655                 - Add 'have_secrets" call stubs
9656
9657         * libnm-util/cipher.h
9658                 - Move NM_AUTH_TYPE_* defines here for now
9659
9660         * src/nm-device-802-11-wireless.c
9661                 - Remove usage of NMAPSecurity, to be replaced with NMConnection/
9662                         NMSettings objects
9663
9664         * src/NetworkManagerDbus.c
9665         * src/NetworkManagerPolicy.c
9666                 - Remove usage of update_allowed_networks, should be pushing data in
9667                         a different manner
9668
9669 2007-08-27  Tambet Ingo  <tambet@gmail.com>
9670
9671         * src/nm-manager.c (impl_manager_get_devices): Duplicate the device path, 
9672         dbus-glib frees it when the call is done.
9673
9674 2007-08-26  Dan Williams  <dcbw@redhat.com>
9675
9676         * introspection/nm-device.xml
9677                 - Add 'Index' property on NMDevice objects (forgot to do this earlier)
9678
9679 2007-08-26  Dan Williams  <dcbw@redhat.com>
9680
9681         * src/nm-device-802-3-ethernet.c
9682                 - (constructor): move connection of interface-connected/disconnected
9683                         signals here from real_bring_up().  Should be listening to netlink
9684                         for carrier events no matter what the initial state of the device
9685                         is.
9686
9687 2007-08-26  Dan Williams  <dcbw@redhat.com>
9688
9689         * src/nm-netlink-monitor.c
9690                 - (nm_netlink_monitor_class_init): fix marshalling types for
9691                         interface-connected/interface-disconnected
9692                 - (nm_netlink_monitor_event_handler): clean up carrier on/off
9693                         check
9694
9695 2007-08-26  Dan Williams  <dcbw@redhat.com>
9696
9697         Convert to using interface indexes as the primary method of identifying
9698         devices inside NetworkManager.  Indexes are (?) stable, but devices can
9699         be renamed at any time.  Device object paths now refer to the device
9700         index rather than the name, and you can map those two manually if you like
9701         by looking in the /sys/class/net/<name>/ifindex file.  Also moves most
9702         netlink-related code to nm-netlink.c, and cleans up nm-netlink-monitor.c
9703         to use interface indexes rather than names.
9704
9705 2007-08-26  Dan Williams  <dcbw@redhat.com>
9706
9707         * src/nm-netlink-monitor.h
9708                 - Remove one last bit of wireless-event signal
9709
9710 2007-08-26  Dan Williams  <dcbw@redhat.com>
9711
9712         * src/nm-netlink-monitor.c
9713                 - (nm_netlink_monitor_class_init, nm_netlink_monitor_event_handler):
9714                         don't need the 'wireless-event' signal anymore since that's all
9715                         handled by wpa_supplicant
9716
9717 2007-08-25  Dan Williams  <dcbw@redhat.com>
9718
9719         It's 2007. Remove support for drivers that don't support wireless scanning.
9720
9721         * test/nm-tool.c
9722           include/NetworkManager.h
9723           src/NetworkManagerUtils.c
9724           src/NetworkManagerPolicy.c
9725           src/nm-device-802-11-wireless.c
9726                 - Remove special handling for non-scanning devices and mark them
9727                         as unsupported/unhandled
9728
9729 2007-08-20  Dan Williams  <dcbw@redhat.com>
9730
9731         * src/nm-device-802-11-wireless.c
9732           src/nm-device-802-3-ethernet.c
9733                 - (real_is_up): move device-specific tests before generic IFF_UP test,
9734                         because when the card is pulled or the module removed, the device
9735                         is already !IFF_UP and then device-specific cleanup (removing
9736                         the supplicant interface, periodic checks, etc) never gets done
9737
9738 2007-08-20  Dan Williams  <dcbw@redhat.com>
9739
9740         * src/nm-manager.c
9741                 - (nm_manager_remove_device): bring device down before disconnecting
9742                         signal handlers, so that the 'state' signal will get broadcast when
9743                         the device enters the DOWN state
9744                 - (manager_device_state_changed): add NM_DEVICE_STATE_DOWN to the list
9745                         of states that cause the NMManager to recheck its state
9746
9747 2007-08-20  Dan Williams  <dcbw@redhat.com>
9748
9749         * src/supplicant-manager/nm-supplicant-interface.c
9750                 - (interface_disconnect_done): don't try to dispose of the net proxy
9751                         when it may already have been disposed of
9752
9753 2007-08-20  Dan Williams  <dcbw@redhat.com>
9754
9755         * src/nm-device-802-11-wireless.c
9756                 - (nm_device_802_11_wireless_get_ssid): don't traceback and die when
9757                         the SSID isn't available; this can happen when the card is pulled
9758                         or the module unloaded, during the post-removal deactivation
9759                         paths, when the ioctl returns ENODEV
9760
9761 2007-08-20  Dan Williams  <dcbw@redhat.com>
9762
9763         * src/nm-device-802-11-wireless.c
9764                 - (merge_scanned_ap): only merge the AP with another if the SSID, BSSID,
9765                         frequency, and mode match.  Applets are now responsible for grouping
9766                         access points
9767
9768 2007-08-20  Dan Williams  <dcbw@redhat.com>
9769
9770         * src/NetworkManagerAP.c
9771         * src/NetworkManagerAP.h
9772                 - (nm_ap_print_self): new function
9773
9774         * src/NetworkManagerAPList.c
9775                 - (nm_ap_list_print_members): call nm_ap_print_self() rather than trying
9776                         to do it all here
9777         
9778 2007-08-17  Dan Williams  <dcbw@redhat.com>
9779
9780         * src/nm-device-802-3-ethernet.c
9781                 - (real_bring_down): don't try to dispose of stuff that might not
9782                         exist
9783
9784 2007-08-17  Dan Williams  <dcbw@redhat.com>
9785
9786         * src/NetworkManagerAP.c
9787                 - (nm_ap_set_user_addresses): uppercase any BSSID passed in from the
9788                         applet.  This ensures that the case between the seen-bssids and
9789                         the bssids reported by the driver match.
9790
9791 2007-08-17  Dan Williams  <dcbw@redhat.com>
9792
9793         * src/nm-device-802-11-wireless.c
9794                 - (device_cleanup): disconnect the interface in wpa_supplicant before
9795                         we dispose of the interface proxy in NM
9796
9797 2007-08-16  Dan Williams  <dcbw@redhat.com>
9798
9799         * libnm-glib/nm-client.c
9800                 - (nm_client_init): create VPN connections hash table with key free
9801                         function
9802                 - (proxy_vpn_connection_added): VPN connections hash table key should
9803                         be a duplicated value, not the same memory address as the VPN
9804                         connection name.  This is because the VPN connection name could
9805                         potentially be freed and set to something else during the lifetime
9806                         of the NMVPNConnection object.
9807
9808 2007-08-16  Tambet Ingo  <tambet@gmail.com>
9809
9810         * src/ppp-manager/nm-ppp-manager.c (pppd_child_setup): Implement.
9811         (nm_ppp_manager_start): Use g_spawn_async() since we're not doing anything
9812         with the file descriptors. Send a child setup function to change the pppd
9813         progress group.
9814
9815 2007-08-15  Dan Williams  <dcbw@redhat.com>
9816
9817         * src/supplicant-manager/nm-supplicant-interface.c
9818                 - (try_remove_iface): new function, ask wpa_supplicant to remove
9819                         an interface
9820                 - (nm_supplicant_interface_dispose): call try_remove_iface() when
9821                         disposing of the NMSupplicantInterface.  Otherwise weird stuff
9822                         happens on hotplug if wpa_supplicant doesn't tear down and readd
9823                         the interface internally
9824
9825 2007-08-15  Dan Williams  <dcbw@redhat.com>
9826
9827         * src/nm-device-802-11-wireless.c
9828                 - (real_bring_down): move most of this function into device_cleanup()
9829                         so that it can be called from elsewhere
9830                 - (nm_device_802_11_wireless_dispose): clean up device periodic timers
9831                         and stuff on dispose.  These would normally get cleaned up when
9832                         the device is marked down and deactivated, but when the device is
9833                         hot-unplugged, it's already down and real_down() never gets run
9834
9835 2007-08-15  Dan Williams  <dcbw@redhat.com>
9836
9837         * src/nm-dbus-nmi.c
9838                 - (nm_dbus_get_user_key_for_network_cb): fix incorrect refcounting that
9839                         caused a reference leak on device for which NM requested a key
9840
9841 2007-08-15  Dan Williams  <dcbw@redhat.com>
9842
9843         * libnm-glib/nm-client.c
9844                 - (nm_client_get_best_vpn_state): fix leakage of the vpn connection list
9845
9846 2007-08-15  Tambet Ingo  <tambet@gmail.com>
9847
9848         * src/ppp-manager: Implement ppp-manager. It's sort of dead code for now since
9849         nothing is using it at the moment, but it'll be all useful and stuff later on.
9850
9851         * libnm-util/nm-setting.h: Define NMSettingPPP.
9852
9853         * libnm-util/nm-setting.c: Implement NMSettingPPP.
9854
9855         * libnm-util/nm-connection.c (register_default_creators): Register ppp setting.
9856
9857         * src/Makefile.am: Add ppp-manager to SUBDIRS.
9858
9859         * configure.in: Require ppp headers. Build Makefile for ppp-manager.
9860
9861         * introspection/Makefile.am: Add nm-manager-client.xml to EXTRA_DIST.
9862
9863 2007-08-14  Tambet Ingo  <tambet@gmail.com>
9864
9865         * libnm-glib/Makefile.am: Use nm-manager-client.xml to produce nm-client-bindings.
9866
9867         * introspection/nm-manager-client.xml: Add a horrible horrbile hack to work around
9868         an issue with dbus-glib bindings generator. The issue is, the generated C caller
9869         functions for dbus methods "Sleep(bool)" and "sleep()" both have the same function
9870         name and different arguments and it won't compile anymore. To fix this, we now have
9871         two copies of nm-manager.xml file. nm-manager.xml contains the actual interface,
9872         that is new API + compatibility API and used by the daemon. The other, 
9873         nm-manager-client.xml is only the new API without compatibility bits and is used
9874         by libnm-glib to make it compile.
9875
9876         * introspection/nm-manager.xml: Define compatibility methods (sleep, wake, state).
9877
9878         * src/nm-manager.c (impl_manager_legacy_sleep)
9879         (impl_manager_legacy_wake, impl_manager_legacy_state): Implement the compatibility
9880         interface functions for 0.6 branch.
9881
9882 2007-08-14  Dan Williams  <dcbw@redhat.com>
9883
9884         * src/NetworkManagerAP.c
9885                 - (nm_ap_new_from_properties): fix mistaken check of return value
9886                         from memcmp (should expect 0)
9887
9888 2007-08-14  Dan Williams  <dcbw@redhat.com>
9889
9890         (force-commit to fix wrong comment and partial commit of r2685; this
9891          commit actually applies to r2685)
9892
9893         * src/NetworkManagerUtils.c
9894                 - (nm_utils_same_ssid): add "ignore_trailing_null" parameter which
9895                         ignores trailing nulls in the SSID to work around mismatches in
9896                         expectations between WEXT and what the info-daemon passes back.  The
9897                         info-daemon would pass back the correct length, but due to the
9898                         ESSID length issues with WEXT 22 and greater and wpa_supplicant,
9899                         the device would always have an SSID + 1 depending on what versions
9900                         of wpa_supplicant, the kernel, and NM you have.  This was most often
9901                         visible by just quitting the applet and relaunching, which caused
9902                         NM to reassociated to the same network over again when reloading
9903                         the save networks.
9904
9905         * src/NetworkManagerPolicy.c
9906           src/NetworkManagerUtils.h
9907           src/nm-device-802-11-wireless.c
9908                 - Update for new parameter to nm_utils_same_ssid()
9909
9910 2007-08-14  Dan Williams  <dcbw@redhat.com>
9911
9912         * src/NetworkManagerAP.c
9913                 - (nm_ap_new_from_properties): ignore BSSs with invalid BSSIDs.  Today
9914                         I encountered a BSS that wasn't just hiding it's ESSID, it was
9915                         setting the BSSID to all 0s.  That confused the heck out of NM,
9916                         plus it's useless and probably out-of-spec.
9917
9918 2007-08-14  Dan Williams  <dcbw@redhat.com>
9919
9920         * callouts/Makefile.am
9921           src/dhcp-manager/nm-dhcp-manager.c
9922           src/dhcp-manager/nm-dhcp-manager.h
9923           src/dhcp-manager/Makefile.am
9924                 - Change install location of nm-dhcp-client.action to ${prefix}/libexec
9925
9926 2007-08-14  Dan Williams  <dcbw@redhat.com>
9927
9928         * src/dhcp-manager/nm-dhcp-manager.c
9929                 - (dhclient_run): don't pass -x to dhclient until we figure out if
9930                         it's really needed, get rid of unused xtra_args parameter
9931
9932 2007-08-14  Dan Williams  <dcbw@redhat.com>
9933
9934         * include/NetworkManagerVPN.h
9935           src/vpn-manager/nm-dbus-vpn.c
9936           src/vpn-manager/nm-dbus-vpn.h
9937           src/vpn-manager/nm-vpn-act-request.c
9938           src/vpn-manager/nm-vpn-act-request.h
9939           src/vpn-manager/nm-vpn-service.c
9940           src/vpn-manager/nm-vpn-service.h
9941           libnm-glib/nm-vpn-connection.c
9942           libnm-glib/nm-vpn-connection.h
9943           libnm-glib/nm-client.h
9944                 - Rename NM_VPN_STATE_* -> NM_VPN_SERVICE_STATE_* and NMVPNState -> 
9945                         NMVPNServiceState to clarify what they apply to
9946                 - Rename NM_VPN_ACT_STAGE_* -> NM_VPN_CONNECTION_STATE_* and
9947                         NMVPNActStage -> NMVPNConnectionState for the same reason
9948
9949         * libnm-glib/nm-client.c
9950                 - Constant + type renames from above
9951                 - Properly handle NameOwnerChanged/manager_running signals
9952                         for NM service; only emit when state really changes
9953                 - Use hash tables correctly so that the key (which was previously owned
9954                         by the D-Bus message) now has the same lifetime as the value, since
9955                         the key is now taken from the the NMVPNConnection itself.  This
9956                         really fixes the double-VPN names in the applet
9957
9958 2007-08-13  Dan Williams  <dcbw@redhat.com>
9959
9960         Patch from Michael Biebl <biebl@debian.org>
9961
9962         * po/POTFILES.in
9963           po/POTFILES.skip
9964                 - Update for vpn-properties move
9965
9966 2007-08-13  Dan Williams  <dcbw@redhat.com>
9967
9968         * libnm-glib/nm-client.c
9969                 - Convert internal VPN connection tracking from a list to a hash table
9970                         to easily avoid duplicates
9971                 - (nm_client_get_vpn_connections): now returns an allocated GSList that
9972                         must be freed by the caller, like nm_client_get_devices()
9973                 - (nm_client_remove_vpn_connection): don't let the removal signal
9974                         leak through for NMVPNConnection objects that aren't actually
9975                         tracked.
9976                 - (manager_running): throw away VPN connection list when NM goes away,
9977                         like with the device list
9978
9979 2007-08-13  Dan Williams  <dcbw@redhat.com>
9980
9981         * src/dhcp-manager/nm-dhcp-manager.c
9982                 - Stop any dhclient instance that might be already running for a
9983                         particular interface before starting an NM spawned dhclient.  Fixes
9984                         dhclient processes left over if NM crashes, stuff like that.
9985
9986 2007-08-13  Dan Williams  <dcbw@redhat.com>
9987
9988         * src/NetworkManagerAP.c
9989                 - (finalize): don't try to g_array_free (NULL, ...), which happened
9990                         when the AP wasn't broadcasting it's SSID
9991
9992 2007-08-13  Rodrigo Moya <rodrigo@gnome-db.org>
9993
9994         * include/NetworkManager.h: added DBus path for connection settings.
9995
9996         * libnm-glib/nm-settings.[ch] (nm_settings_signal_new_connection,
9997         nm_connection_settings_signal_updated,
9998         nm_connection_settings_signal_removed): new functions to wrap the
9999         objects' signals.
10000         (nm_connection_settings_init): register GObject with DBus.
10001         (nm_connection_settings_get_dbus_object_path): new function.
10002
10003         * libnm-glib/Makefile.am: added libnmutil to link flags.
10004
10005 2007-08-13  Tambet Ingo  <tambet@gmail.com>
10006
10007         * configure.in: Remove checks for dhcdbd as it's killed! killed! killed!
10008
10009         * gnome/*: Remove. The nm-vpn-properties directory is now part of nm-applet,
10010         libnm_glib directory got merged with libnm-glib/.
10011
10012         * libnm-glib/libnm-glib.pc.in: Rename to libnm_glib.pc.in.
10013
10014         * libnm-glib/Makefile.am: Add legacy libnm_glib.[ch] to the build.
10015         Rename the library from libnm-glib to libnm_glib to maintain the library API
10016         compatibility with 0.6 branch.
10017
10018         * Makefile.am: Remove gnome/ SUBDIR.
10019
10020         * gnome/libnm_glib/libnm_glib.[ch]: Move to libnm-glib/.
10021
10022         * src/Makefile.am: Remove the WPA_SUPPLICANT_BIN define.
10023
10024         * dispatcher-daemon/Makefile.am: Link the binary with libnm_glib.
10025
10026         * configure.in: Remove GNOME checks, NetworkManager does not need any of these
10027         anymore.
10028         Remove checks for wpa_supplicant binary, it's used over dbus.
10029         Remove gnome/ directory files form AC_OUTPUT, that directory is getting moved.
10030
10031         * test/Makefile.am: Remove define WPA_SUPPLICANT_BIN.
10032         Link the binaries with libnm_glib.la.
10033
10034 2007-08-12  Dan Williams  <dcbw@redhat.com>
10035
10036         * src/NetworkManagerPolicy.c
10037                 - (nm_policy_device_change_check): fix policy to deactivate old device
10038                         before activating new one, at least until the multiple active
10039                         device support lands
10040
10041 2007-08-12  Dan Williams  <dcbw@redhat.com>
10042
10043         * src/NetworkManagerPolicy.c
10044                 - (nm_policy_new): hook up to connection-added / connection-removed
10045                         signals instead of connections-changed
10046
10047 2007-08-12  Dan Williams  <dcbw@redhat.com>
10048
10049         Kill dhcdbd until it's dead, dead, dead.  Based on a patch from
10050         Robert Frank <rfrank@redhat.com>
10051
10052         * src/dhcp-manager/nm-dhcp-manager.c
10053           src/dhcp-manager/nm-dhcp-manager.c
10054           src/nm-device.c
10055                 - Spawn and communicate with dhclient directly, through means of a
10056                 custom dhclient callout script.  Process callout D-Bus signals
10057                 with dbus-glib instead of hand-rolled dbus.  DHCP timeouts are now
10058                 sent via gobject signals rather than being driven by the dhcp manager
10059                 directly.
10060
10061 2007-08-12  Dan Williams  <dcbw@redhat.com>
10062
10063         * callouts/nm-dhcp-client-action.c
10064                 - (build_message): ignore non-DHCP-related environment variables
10065
10066 2007-08-12  Dan Williams  <dcbw@redhat.com>
10067
10068         * Makefile.am
10069           configure.in
10070           callouts/Makefile.am
10071           callouts/nm-dhcp-client-action.c
10072           callouts/nm-dhcp-client.conf
10073                 - Add dhclient-executed callout that takes the place of dhclient-script
10074                 and dhcdbd, pushing DHCP options out to the system bus as a signal that
10075                 NM then listens for
10076
10077 2007-08-09  Tambet Ingo  <tambet@gmail.com>
10078
10079         [Based on patch by Helmut Schaa <hschaa@suse.de>]
10080
10081         * libnm-glib/nm-client.h:
10082         * libnm-glib/nm-object.h:
10083         * libnm-glib/nm-vpn-connection.h:
10084         * libnm-glib/nm-settings.h:
10085         * libnm-glib/nm-device.h:
10086         * libnm-glib/nm-ip4-config.h:
10087         * libnm-glib/nm-access-point.h:
10088         * libnm-glib/nm-device-802-3-ethernet.h:
10089         * libnm-util/nm-setting.h: 
10090         * libnm-util/nm-connection.h: Add G_BEGIN_DECLS / G_END_DECLS to support C++.
10091
10092         * libnm-glib/nm-object.c (nm_object_get_byte_property): Implement.
10093
10094         * libnm-glib/nm-access-point.c: Strength has type char.
10095
10096         * gnome/vpn-properties/Makefile.am: Remove GNOME_DISABLE_DEPRECTATED for now
10097         to fix build. GnomeDruid is deprecated in recent libgnomeui.
10098
10099         * introspection/nm-access-point.xml: Strength property is char, not int.
10100
10101         * src/NetworkManagerAP.c (set_property): Set strength from char.
10102         (get_property): Handle hidden APs (with empty SSID).
10103         Get strength value from char.
10104         (nm_ap_class_init): Strength property has char type.
10105
10106 2007-08-03  Rodrigo Moya <rodrigo@gnome-db.org>
10107
10108         * introspection/Makefile.am:
10109         * introspection/nm-settings.xml:
10110         * introspection/nm-settings-connection.xml: added Settings interfaces.
10111
10112         * libnm-glib/nm-settings.[ch]:
10113         * libnm-glib/Makefile.am: added abstract class for Settings interfaces
10114         containing the DBus implementation.
10115
10116 2007-07-26  Dan Williams  <dcbw@redhat.com>
10117
10118         Patch from Bernhard Miklautz <bernhard.miklautz@shacknet.at>
10119
10120         * src/NetworkManagerSystem.c
10121                 - (nm_system_device_set_ip4_route): don't add the route if it's on the
10122                         same subnet (#437396)
10123
10124 2007-07-26  Dan Williams  <dcbw@redhat.com>
10125
10126         Patch from Kelemen Gábor <kelemeng@gnome.hu>
10127
10128         * gnome/vpn-properties/nm-vpn-properties.c
10129                 - Fix translatable strings (#445865)
10130
10131 2007-07-26  Dan Williams  <dcbw@redhat.com>
10132
10133         Patch from Andreas Hanke <andreas.hanke@gmx-topmail.de>
10134
10135         * configure.in
10136                 - Remove useless junk (#412530)
10137
10138 2007-07-10  Christopher Aillon  <caillon@redhat.com>
10139
10140         Patch from Robert Buchholz <rbu@gentoo.org>:
10141
10142         * configure.in:
10143         * Makefile.am:
10144         * introspection/Makefile.am:
10145         Make make distcheck work again.
10146
10147 2007-06-27  Dan Williams  <dcbw@redhat.com>
10148
10149         * Make SSIDs GByteArrays everywhere
10150         * Rename "essid" -> "ssid" everywhere that's appropriate
10151         * Refcount activation_ap member of the 802.11 wireless device class
10152
10153 2007-06-27  Tambet Ingo  <tambet@ximian.com>
10154
10155         * libnm-glib/nm-object.[ch]: Add these to the SVN, oops.
10156
10157 2007-06-22  Tambet Ingo  <tambet@ximian.com>
10158
10159         * src/nm-device-802-11-wireless.c (merge_scanned_ap): Don't advertise constantly
10160         that we got a new AP when we just update existing AP properties.
10161
10162 2007-06-21  Tambet Ingo  <tambet@ximian.com>
10163
10164         * libnm-glib/Makefile.am: Add NMObject to build, remove nm-utils.[ch].
10165
10166         * nm-utils.[ch]: Remove.
10167
10168         * libnm-glib/nm-object.c: Implement a base class for all libnm-glib dbus-aware
10169         objects for easy property access and dbus connection handling.
10170
10171         * libnm-glib/nm-client.c: Derive from NMObject.
10172
10173         * libnm-glib/nm-device.c: Ditto.
10174
10175         * libnm-glib/nm-device-802-3-ethernet.c: Changes for being based on NMObject.
10176
10177         * libnm-glib/nm-device-802-11-wireless.c: Ditto.
10178
10179         * libnm-glib/nm-ip4-config.c: Ditto.
10180
10181         * libnm-glib/nm-access-point.c: Ditto.
10182
10183         * libnm-util/nm-connection.c (nm_connection_compare): Add a stub for connection
10184         comparision. Currently used by the device activation code to determine if the new
10185         activation is the same as the old one.
10186
10187         * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Don't use the obsolete and
10188         wrong way of getting the dbus path for AP. Fixes the issue where the applet isn't
10189         able to ask password for the AP.
10190
10191         * src/nm-device.c (nm_device_activate): Change the logic here - instead of giving
10192         up if the device is already connected, tear down it's connection (if it isn't the
10193         same as new one) and start the activation.
10194
10195         * src/nm-manager.c: Add the beginnings of NMConnection storage and signals.
10196
10197         * src/NetworkManagerAP.c (nm_ap_init): Set the default values to AP memebers, fixes
10198         the issue where all APs are always listed as encrypted.
10199
10200         * src/NetworkManagerDbus.c (nm_dbus_get_object_path_for_network): Remove. APs have
10201         their own registered paths.
10202
10203         * test/nm-tool.c (detail_device): Don't try to get active network from wireless
10204         device if it's not connected - dbus-glib will happily crash trying to marshal NULL.
10205
10206 2007-06-13  Tambet Ingo  <tambet@ximian.com>
10207
10208         * src/NetworkManagerAP.c (foreach_property_cb): Set WEP capabilities too!
10209         (0 & 0 == 0, doh)
10210
10211         * src/nm-device.c (nm_device_state_changed): Emit the signal before handling it
10212         because the handling code will cause the next state change and signal listeners
10213         get the signals in wrong order.
10214
10215         * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Get the "old_dev"
10216         correctly in case of pending activation.
10217
10218         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
10219         Convert the essid byte array to string correctly, including the terminating NULL.
10220
10221         * src/NetworkManagerPolicy.c (create_connection): Create wireless ssid and
10222         mode with correct types.
10223
10224         * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Fix a typo, pass the
10225         constructed info to dbus call instead of the activation request.
10226
10227 2007-06-11  Christopher Aillon  <caillon@redhat.com>
10228
10229         Patch from Christian Persch <chpe@gnome.org>
10230
10231         * libnm-glib/Makefile.am:
10232         * dispatcher-daemon/Makefile.am:
10233         Use the correct variables, the correct paths, and correct ordering. (446315)
10234
10235 2007-06-11  Tambet Ingo  <tambet@ximian.com>
10236
10237         * src/nm-device.c: Make the activation stage virtual functions take NMDevice
10238         argument. The activation request is easy to retrieve.
10239
10240         * src/nm-activation-request.c: Convert to GObject. Do not include half of NM headers
10241         just to be a convenient location for devices to store random stuff.
10242
10243 2007-06-11  Christopher Aillon  <caillon@redhat.com>
10244
10245         Patch from Alex Smith <alex@alex-smith.me.uk>
10246
10247         * src/backends/NetworkManagerFrugalware.c:
10248         Update the FrugalWare backend to fix a few segfaults. (#392642)
10249
10250 2007-06-08  Tambet Ingo  <tambet@ximian.com>
10251
10252         * libnm-util/nm-setting.c: Implement NMSettingWirelessSecurity.
10253
10254         * libnm-util/nm-connection.c (register_default_creators): Register wireless security
10255         setting.
10256         (gvalue_to_string): Recognize G_TYPE_UCHAR and GSList.
10257
10258 2007-06-06  Tambet Ingo  <tambet@ximian.com>
10259
10260         * libnm-util/nm-setting.c: Get rid of dump virtual functions, that can happen
10261         automagically.
10262         Implement NMSettingIP4Config.
10263         Finish NMSettingWired by adding all known members.
10264         (setting_wired_verify): Implement.
10265         Finish NMSettingWireless by adding all known members.
10266         (setting_wireless_verify): Implement.
10267
10268         * libnm-util/nm-connection.c: Register "ipv4" setting.
10269         (nm_connection_dump): Implement. Instead of requiring every NMSetting to implement
10270         dump function, we can introspect the GHashTable which is used for sending connections
10271         over dbus.
10272
10273         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
10274         Take GByteArray for essid, it's really not a string.
10275
10276         * src/nm-device.c (real_act_stage3_ip_config_start): Get information from NMSettings.
10277         Start DHCP request if setting is not passed or if it states that DHCP should be used.
10278         (real_act_stage4_get_ip4_config): If settings are provided, use them, even if it
10279         means overriding the values we got from DHCP.
10280         (real_activation_cancel_handler): Cancel DHCP transaction only if it has started, doh.
10281         (nm_device_deactivate_quickly): Ditto.
10282
10283         * src/nm-device-interface.c (impl_device_activate): Dump the connection structure
10284         for debugging.
10285
10286 2007-05-07  Tambet Ingo  <tambet@ximian.com>
10287
10288         * libnm-glib/Makefile.am: Link with libnm-util to gain access to
10289         NMConnection.
10290
10291         * libnm-glib/nm-device-802-11-wireless.c:
10292         (nm_device_802_3_ethernet_activate): Remove.
10293
10294         * libnm-glib/nm-device-802-3-ethernet.c
10295         (nm_device_802_3_ethernet_activate): Remove.
10296
10297         * libnm-glib/nm-device.c (nm_device_activate): Implement.
10298
10299         * src/nm-device-802-3-ethernet.c: Implement the new activation using
10300         NMConnection.
10301
10302         * src/nm-device-802-11-wireless.c: Store an activation AP once the
10303         activation has started.
10304         Implement the new activation using NMConnection.
10305
10306         * src/nm-activation-request.c: Store a generic connection object instead
10307         of a wireless-specific AP.
10308
10309         * src/NetworkManagerPolicy.c (create_connection): Implement. Depending
10310         on device type, create a device specific connection object suitable for
10311         device activation.
10312
10313         * src/nm-device.c (nm_device_activate): Re-implement. Call the device
10314         specific check to validate the connection and on success start the
10315         activation.
10316
10317         * src/nm-device-interface.h: Add a activate virtual function to the
10318         interface definition.
10319
10320         * src/nm-device-interface.c (nm_device_interface_activate): Implement.
10321         (impl_device_activate): Implement.
10322
10323         * introspection/nm-device.xml: Add a generic device activation interface
10324         that accepts an abstract NMConnection structure that has device-specific
10325         information in it.
10326
10327         * introspection/nm-device-802-3-ethernet.xml: Remove the wired-specific
10328         activation interface.
10329
10330         * introspection/nm-device-802-11-wireless.xml: Remove the wireless-specific
10331         activation interface.
10332
10333         * libnm-util/nm-connection.c: 
10334         * libnm-util/nm-connection.h: 
10335         * libnm-util/nm-setting.c:
10336         * libnm-util/nm-setting.h: Add.
10337
10338         * libnm-util/Makefile.am: Build the added files.
10339
10340         * src/nm-dbus-manager.c
10341         (proxy_name_owner_changed, nm_dbus_manager_class_init): Remove the
10342         DbusConnection argument from 'name-owner-changed' signal. The manager
10343         is already passed as a first argument to the signal and the connection
10344         is easy enough to get from it.
10345
10346         * src/vpn-manager/nm-vpn-service.c (nm_vpn_service_name_owner_changed):
10347         Update the signature of the function.
10348
10349         * src/vpn-manager/nm-vpn-manager.c (nm_name_owner_changed_handler):
10350         Ditto.
10351
10352         * src/NetworkManager.c: Ditto.
10353
10354         * src/named-manager/nm-named-manager.c
10355         (nm_named_manager_name_owner_changed): Ditto.
10356
10357         * src/supplicant-manager/nm-supplicant-manager.c
10358         (nm_supplicant_manager_name_owner_changed): Ditto.
10359
10360         * src/nm-hal-manager.c (name_owner_changed): Ditto.
10361
10362         * src/dhcp-manager/nm-dhcp-manager.c
10363         (nm_dhcp_manager_name_owner_changed): Ditto.
10364
10365         * src/nm-hal-manager.c: Add a list of device detectors and creators
10366         to make it easier to add new devices. Each device type has it's own
10367         entry in the table so adding new device types is only a matter of
10368         implementing a couple of functions, one for device detection and the
10369         other for device creation.
10370
10371 2007-04-25  Dan Williams  <dcbw@redhat.com>
10372
10373         * initscript/RedHat/NetworkManager.in: remove trailing backslash
10374                 (gnome.org #432401)
10375
10376 2007-03-30  Dan Williams  <dcbw@redhat.com>
10377
10378         * src/NetworkManagerSystem.c
10379                 - (nm_system_device_set_ip4_route): clean up and fix argument
10380                         to nm_dev_sock_open()
10381
10382 2007-03-28  Tambet Ingo  <tambet@ximian.com>
10383
10384         * src/supplicant-manager/nm-supplicant-config.c (get_hash_cb): Marshal the
10385         data to correct types instead of always using string.
10386
10387         * src/NetworkManagerAP.c (get_property): AP is encrypted if capabilities does
10388         _not_ have NM_802_11_CAP_PROTO_NONE.
10389         (foreach_property_cb): Set AP capabilities if it's not set or if the protocol
10390         is not set.
10391
10392 2007-03-27  Tambet Ingo  <tambet@ximian.com>
10393
10394         * libnm-glib/Makefile.am: Fix the build issue.
10395
10396 2007-03-26  Tambet Ingo  <tambet@ximian.com>
10397
10398         * libnm-glib/nm-vpn-connection.h: 
10399         * libnm-glib/nm-vpn-connection.c: Implement.
10400
10401         * libnm-glib/nm-client.c: Add VPN support.
10402
10403         * src/vpn-manager/nm-dbus-vpn.c (dbus_message_handler): Implement DBUS message
10404         handler for VPN.
10405
10406         * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_new): Register VPN interface
10407         on DBUS again.
10408
10409 2007-03-26  Dan Williams  <dcbw@redhat.com>
10410
10411         * src/NetworkManagerAPList.c
10412         * src/nm-device-802-11-wireless.c
10413         * src/NetworkManagerAP.c:
10414                 - Store last seen as glong instead of GTimeVal.
10415                 - Fix the upper bound of capabilities, it's a bitfield.
10416
10417 2007-03-16  Tambet Ingo  <tambet@ximian.com>
10418
10419         * libnm-glib/nm-device.c (nm_device_get_description): Implement.
10420
10421         * libnm-glib/nm-client.c (nm_client_manager_is_running): Implement. Also add a
10422         "manager-running" signal that notifies the appearance/disappearance of NM.
10423         (nm_client_sleep): Implement.
10424
10425         * libnm-glib/nm-device.c:
10426         * libnm-glib/nm-device-802-11-wireless.c: 
10427         * libnm-glib/nm-device-802-3-ethernet.c: 
10428
10429         Don't inherit from DBusGProxy, add a proxy to private
10430         data. The reason is, classes inherited from NMDevice wouldn't get any dbus signals
10431         for anything but their own dbus interface. DBusGProxy objects support only one
10432         interfaces and to work around this, NMDevice has spearate proxy for each dbus
10433         interface. The nice side effect of this change is that we do not create a new
10434         DBusGProxy object for each property access.
10435
10436 2007-03-15  Tambet Ingo  <tambet@ximian.com>
10437
10438         * src/nm-device-802-11-wireless.c (constructor): Initialize the iw_ext structures
10439         with zeroes before passing them to functions - the functions never do that and
10440         reading the values back may produce wrong values.
10441         (real_bring_up): Store the signal handler id ...
10442         (real_bring_down): ... So that it can be removed here.
10443         Disconnect the supplicant interface here as well.
10444         (nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): Use the dbus object path
10445         from the access point instead of old $device/Networks/$essid.
10446
10447         * src/nm-manager.c (nm_manager_get_state): Return NM_STATE_CONNECTED when the
10448         device state is connected (instead of just having link/carrier).
10449
10450         * src/nm-activation-request.c: Don't store NMData in activation request, it's
10451         already easily accessible through the device.
10452
10453         * src/NetworkManagerAP.c (nm_ap_init): Construct the dbus object path here and
10454         store it within the object.
10455         (nm_ap_get_dbus_path): Export it to public as well.
10456
10457         * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get): Keep the ownership
10458         of the singleton.
10459
10460 2007-03-12  Dan Williams  <dcbw@redhat.com>
10461
10462         Get rid of 2 second poll of sysfs 'carrier' file for wired devices.  Useless
10463         for non-carrier-detect capable devices, and useless for carrier-detect
10464         devices since we get notifications from netlink about carrier status anyway.
10465
10466         * src/nm-device-802-3-ethernet.c
10467                 - remove 'link_source_id' member from private data
10468                 - (probe_link): remove and collapse into real_update_link()
10469                 - (nm_device_802_3_periodic_update): remove
10470                 - (real_is_up): check for sup_iface rather than link_source_id
10471                 - (real_bring_up): return gboolean for success/fail; require that
10472                         sup_iface be valid for device bringup to succeed
10473                 - (real_bring_down): zero out link signal ids
10474
10475         * src/nm-device.c
10476                 - (nm_device_activate_stage2_device_config): fail activation if device
10477                         bringup fails
10478                 - (real_act_stage4_get_ip4_config): fail activation if device bringup
10479                         fails
10480                 - (nm_device_bring_up): return success/fail
10481
10482         * src/nm-device.h
10483                 - bring_up now returns success/fail
10484
10485         * src/nm-device-802-11-wireless.c
10486                 - (real_bring_up): return success from bringup
10487
10488 2007-03-07  Dan Williams  <dcbw@redhat.com>
10489
10490         Patch from Simon Geard <delgarde@ihug.co.nz>  (Gnome.org #394956)
10491         * src/nm-ap-security-wpa-psk.c
10492                 - (real_write_supplicant_config): work with PSKs that may contain
10493                         zeros in the binary format rather than treating it as a string
10494
10495 2007-03-02  Tambet Ingo  <tambet@ximian.com>
10496
10497         * libnm-glib/nm-device-802-11-wireless.c
10498         (nm_device_802_11_wireless_get_capabilities): Implement.
10499
10500         * libnm-glib/nm-device.c (nm_device_get_capabilities): Implement.
10501
10502         * src/nm-device-802-11-wireless.c: Add "WirelessCapabilities" property.
10503
10504         * src/named-manager/nm-named-manager.c (remove_one_zone_from_named): Unref the
10505         reply only if it's not NULL. Not sure why this started happening right now.
10506
10507         * src/nm-manager.c (device_stop_and_free): Remove. No need to have different
10508         code paths for when devices get removed on shutdown or when a device is just
10509         removed.
10510         (finalize): Don't use a g_slist_foreach() when removing devices, the list data
10511         gets freed so any signal from a device (disconnected for instance) would invoke
10512         NMState update which would crash.
10513         (nm_manager_remove_device): Bring the device down when it gets removed.
10514
10515         * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Remove
10516         the unused dev_type.
10517
10518         * src/nm-hal-manager.c (create_device_and_add_to_list): Don't keep the
10519         reference to the added device, NMManager will own it (if it wants).
10520
10521         * test/nm-tool.c: Rewrite using libnm-glib.
10522
10523         * libnm-glib/nm-device-802-11-wireless.c: Cache networks (bssids) list.
10524         We get signalled when it changes.
10525
10526         * libnm-glib/nm-client.c: Cache NMState and device list, we get signalled
10527         when it changes.
10528
10529         * libnm-glib/nm-device.c: Cache the device state property.
10530
10531         * libnm-glib/nm-access-point.c: Cache the strength property.
10532
10533         * src/nm-device-802-11-wireless.c: Fix wireless device scanning scheduler.
10534         The new algorithm is to start from SCAN_INTERVAL_MIN (currently defined as 0)
10535         and add a SCAN_INTERVAL_STEP (currently 20 seconds) with each successful scan
10536         until SCAN_INTERVAL_MAX (currently 120 seconds) is reached. Do not scan while
10537         the device is down, activating, or activated (in case of A/B/G cards).
10538         Remove some old dead ifdef'ed out code that used to configure wireless devices,
10539         it's all done through supplicant now.
10540
10541         * src/supplicant-manager/nm-supplicant-interface.c: Fix the reference
10542         counting issues with pending calls which caused leaks and crashes when
10543         interface was removed (now that the interface actually gets removed).
10544
10545         * src/nm-call-store.c: Make a copy of data before running a foreach
10546         with user callback on it - The most common usage pattern is to cancel
10547         (and thus remove) all pending calls with foreach which would modify
10548         the hash table we're iterating over.
10549
10550         * src/nm-manager.c: When a device is added, make sure it is "up". When
10551         it's removed or disabled due to disabling wireless or networking, bring
10552         it down.
10553
10554         * include/NetworkManager.h: Add new device state NM_DEVICE_STATE_DOWN.
10555
10556         * src/nm-device-802-11-wireless.c: 
10557         * src/nm-device-802-3-ethernet.c: 
10558         * src/nm-device.c:
10559                 - Remove "init" virtual function, all gobjects have a place for that
10560                   already (constructor).
10561                 - Replace "start" virtual function with "bring_up", devices can be
10562                   brought up and down more than just on startup now.
10563                 - Add "is_up" virtual function.
10564                 - Implement one way to bring a device down instead of previous 4 different
10565                   ways, each of witch did something different.
10566
10567         * src/NetworkManagerUtils.c (nm_dev_sock_open): This doesn't need an NMDevice,
10568         all it needs is the device interface.
10569
10570         Get rid of NMData.dev_list (3 members to go).
10571         Get rif of NMData in a lot of places.
10572
10573         * gnome/libnm_glib/libnm_glib.c: Make it compile again.
10574
10575 2007-02-23  Dan Williams  <dcbw@redhat.com>
10576
10577         Patch from Andy Whitcroft <apw@shadowen.org> (Gnome.org #410426)
10578
10579         * src/NetworkManagerAP.c
10580                 - (add_capabilities_from_cipher): fix addition of WEP capabilities by
10581                         OR-ing rather than AND-ing
10582
10583 2007-02-20  Tambet Ingo  <tambet@ximian.com>
10584
10585         * libnm-glib/nm-device-802-11-wireless.c: Add "network-added" and
10586         "network-removed" signals.
10587
10588         * libnm-glib/libnm-glib.pc.in: Require NetworkManager >= 0.7.0.
10589
10590         * libnm-glib/nm-access-point.c: Add "strength-changed" signal, emit it
10591         when receiving the signal from dbus.
10592
10593         * src/nm-device-802-11-wireless.c (get_property): Fix PROP_ACTIVE_NETWORK
10594         property.
10595
10596         * src/NetworkManagerPolicy.c (state_changed): Fix a typo to make the
10597         deactivation of the previously activated device working again.
10598
10599         * src/nm-activation-request.c: Remove NMActStage property and it's getter
10600         and setter.
10601
10602         * src/nm-device.c (nm_device_is_activated): Remove.
10603         state == NM_DEVICE_STATE_ACTIVATED is just as easy to use.
10604
10605         * include/NetworkManager.h: Remove NM_DBUS_NO_DEVICES_ERROR,
10606         NM_DBUS_NO_DIALUP_ERROR, NM_DBUS_NO_NETWORKS_ERROR,
10607         NM_DBUS_NO_ACTIVE_DEVICE_ERROR, NM_DBUS_NO_ACTIVE_NET_ERROR errors and
10608         NM_DBUS_SIGNAL_STATE_CHANGE signal.
10609         Remove NMNetworkStatus and NMActStage enums.
10610
10611 2007-02-19  Tambet Ingo  <tambet@ximian.com>
10612
10613         * src/vpn-manager/nm-vpn-manager.c: Handle the DBUS state changes itself.
10614         Handle device state changes and disconnect VPN if it's device deactivates.
10615
10616         * src/nm-dbus-nm.c: 
10617         * src/nm-dbus-nm.h: 
10618         * src/nm-dbus-device.c: 
10619         * src/nm-dbus-device.c: 
10620         * src/nm-dbus-net.c: 
10621         * src/nm-dbus-net.h: Remove. All of it is implemented byt the new dbus API.
10622
10623         * src/NetworkManagerMain.h: Get rid of all but 3 properties of NMData.
10624
10625         * src/nm-device.c (nm_device_get_by_udi):
10626         (nm_device_get_by_iface): Remove. This doesn't belong here and is already
10627         implemented in the correct location (NMManager).
10628         Rip out all the test_device stuff.
10629
10630         * src/NetworkManagerPolicy.c: Remove the leftover activation success and
10631         failure handlers, it's all done by NMDevice already.
10632
10633         * src/NetworkManager.c: Move the signal handling here from nm-logging.c
10634         Remove the iochannel hack to route the unix signals to the main thread since
10635         we're not threaded anymore.
10636
10637         * src/NetworkManagerAP.c: Implement HWAddress property.
10638
10639         * src/NetworkManagerDbus.c: Remove the dbus signal sending code, it happens
10640         automatically with dbus-glib.
10641
10642         * src/nm-netlink-monitor.c: 
10643         * src/nm-netlink-monitor.h:
10644                 - Move it low in the class hierarchy, don't reference any NM types.
10645                 - Remove private data from the header.
10646                 - Use type safe checks in public API methods.
10647                 - Make it a singleton so we don't have to pass the single reference around.
10648
10649 2007-02-16  Tambet Ingo  <tambet@ximian.com>
10650
10651         * introspection/nm-ip4-config.xml: Implement.
10652
10653         * libnm-glib/libnm-glib-test.c: Use new DBUS API in tests.
10654
10655         * libnm-glib/nm-ip4-config.c:
10656         * libnm-glib/nm-ip4-config.c: Implement.
10657
10658         * src/nm-ap-security[-*]: Remove circular dependencies between APs and AP
10659         securities. APs reference security.
10660
10661         * src/nm-device-802-11-wireless.c: Implement missing properties that need to
10662         be exported over DBUS.
10663
10664         * src/nm-device-802-3-ethernet.c: Ditto.
10665
10666         * src/NetworkManagerAP.c:
10667         * src/NetworkManagerAP.h:
10668                 - Convert to GObject, export over DBUS.
10669
10670         * src/nm-ip4-config.h:
10671         * src/nm-ip4-config.h:
10672                 - Convert to GObject, export over DBUS.
10673
10674 2007-02-12  Dan Williams  <dcbw@redhat.com>
10675
10676         Patch from Helmut Schaa <hschaa@suse.de>
10677
10678         * vpn-daemons/pptp/configure.in
10679           vpn-daemons/pptp/Makefile.am
10680           vpn-daemons/openvpn/configure.in
10681           vpn-daemons/openvpn/Makefile.am
10682           vpn-daemons/vpnc/configure.in
10683           vpn-daemons/vpnc/Makefile.am
10684                 - Add --without-gnome switch which disables building gnome bits
10685
10686 2007-02-12  Tambet Ingo  <tambet@ximian.com>
10687
10688         * libnm-glib/nm-device.c (nm_device_get_use_dhcp): Remove.
10689
10690         * libnm-glib/nm-access-point.c (nm_access_point_is_broadcast): Remove.
10691
10692         * introspection/nm-device-802-3-ethernet.xml: Rename 'Address' property to
10693         'HwAddress'.
10694
10695         * introspection/nm-device.xml: Remove 'UseDhcp' property.
10696
10697         * introspection/nm-access-point.xml: Remove 'Broadcast' property.
10698
10699         Totally break NetworkManager. Please use 0.6 branch until futher notice.
10700
10701         * src/:
10702                 - Remove old low-level dbus interface implementations and replace them
10703                   with dbus-glib one.
10704
10705         * configure.in:
10706                 - Require dbus-glib >= 0.72.
10707                 - Plug in new sources to build.
10708
10709         * libnm-glib/:
10710                 - Implement GObject wrappers on top of DBUS glib auto-generated bindings
10711                   to make it more convenient to use from GObject based programs.
10712
10713         * introspection/:
10714                 - Implement DBUS XML introspection files, used by both NM and libnm-glib.
10715
10716 2007-02-09  Tambet Ingo  <tambet@ximian.com>
10717
10718         * src/nm-device-802-11-wireless.c:
10719                 - Add "network-added" and "network-removed" signals.
10720                 - Use gobject boilerplate macros to define the GObject.
10721                 - Implement wireless device activation.
10722                 - Remove activation_failure_handler and activation_success_handler
10723                   and instead listen on state-changed signals and run the same code
10724                   from there.
10725
10726         * src/nm-device.c:
10727                 - Implment NMDeviceInterface::deactivate.
10728                 - Remove activation_failure_handler and activation_success_handler
10729                   virtual methods. Each device which is interested in these events
10730                   can just listen on it's state changed signals.
10731
10732         * src/NetworkManagerPolicy.c:
10733                 - Move a bit more NMData usage to NMManager.
10734                 - Remove activation scheduling bits.
10735                 - Add listeners for wireless device's "network-added" and
10736                   "network-removed" signals.
10737                 - Listen device changed signals and deactivate currently activated
10738                   device when another device start activating (for now).
10739                 - Remove (nm_policy_schedule_device_change_check): There's never a need
10740                   for calling this, the policy code knows exactly when this should happen,
10741                   by listening on events from NMManager and NMDevices.
10742
10743         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_activate):
10744         Implement.
10745
10746         * src/nm-dbus-nm.c (nm_dbus_nm_set_active_device): Call the activation
10747         method on the specific device instead of going to through policy code
10748         and determining the device type by passed in AP's existance.
10749
10750         * src/nm-device-interface.c (nm_device_interface_deactivate): Implement the
10751         abstract NMDevice deactivation.
10752
10753 2007-02-08  Tambet Ingo  <tambet@ximian.com>
10754
10755         * src/NetworkManager.c:
10756                 - Set up all the shiny new managers.
10757
10758         * src/NetworkManagerPolicy.c:
10759                 - Add the beginnings of new NMPolicy code. Instead of requireing all
10760                   classes to call into policy code, make the policy code kind of like
10761                   a supervisor that monitors what's going on and drives the whole NM.
10762
10763         * src/nm-hal-manager.c: 
10764         * src/nm-hal-manager.h:
10765                 - Collect all libhal code scattered around NM to this one class.
10766                 - Listen libhal and NMManager events and add/remove devices to
10767                   NMManager.
10768
10769         * src/nm-manager.c:
10770         * src/nm-manager.h:
10771                 - Implment a replacement for NMData. NMData is now officially
10772                 deprecated.
10773
10774 2007-02-05  Tambet Ingo  <tambet@ximian.com>
10775
10776         * src/nm-device-802-11-wireless.c (supplicant_iface_scan_result_cb): 
10777         * src/supplicant-manager/nm-supplicant-interface.h
10778         * src/supplicant-manager/nm-supplicant-interface.c
10779         (nm_supplicant_interface_class_init): Change the "scan-result" signal's
10780         argument to boolean from enum.
10781
10782         Make NMDevice abstract class, remove almost all references to it's
10783         subclasses (the last place gets removed with new policy manager). Add
10784         NMDeviceInterface (which NMDevice implements) so that when we have
10785         NMDevice exported over DBUS, there's a common NMDevice interface which
10786         all instances have, plus there's a device specific interface for each
10787         specific type.
10788         Remove functions (nm_device_is_802_3_ethernet) and
10789         (nm_device_is_802_11_wireless). There are already standard GObject macros
10790         for type safe checks.
10791         Use the updated supplican manager API.
10792
10793         * src/nm-device-interface.h: 
10794         * src/nm-device-interface.c: 
10795         * src/nm-call-store.h: 
10796         * src/nm-call-store.c: Implement.
10797
10798         * src/supplicant-manager/nm-supplicant-interface.c:
10799         * src/supplicant-manager/nm-supplicant-interface.h:
10800         * src/supplicant-manager/nm-supplicant-manager.c:
10801         * src/supplicant-manager/nm-supplicant-manager.h:
10802                 - Remove all private data type references from public header files.
10803                 - Remove all references to other NM classes, this class is just a
10804                   proxy between wpa_supplicant and NM so it doesn't have to know
10805                   any internals.
10806                 - Convert to dbus-glib bindings.
10807                 - Type safe checks for public methods' arguments.
10808                 - Store pending DBUS call ids to NMCallStore.
10809
10810         * src/supplicant-manager/nm-supplicant-config.c:
10811                 - Store config values in a GHashTable instead of GSList.
10812
10813         * src/NetworkManagerMain.h: Remove all references to DHCP manager.
10814
10815         * src/NetworkManager.c: Don't initialize the DHCP manager, it's a
10816         singleton now.
10817
10818         * src/nm-device.c: Use the new DHCP manager API.
10819
10820         * src/nm-activation-request.c:
10821         * src/nm-activation-request.h:
10822                 - Remove all dhcp related properties and methods.
10823
10824         * src/dhcp-manager/nm-dhcp-marshal-main.c: Add.
10825
10826         * src/dhcp-manager/nm-dhcp-marshal.list: Add.
10827
10828         * src/dhcp-manager/nm-dhcp-manager.c:
10829         * src/dhcp-manager/nm-dhcp-manager.h:
10830                 - Convert it to GObject since we need to signal state changes.
10831                 - Remove all references to other NM classes, this class is one
10832                   of the lowest classes in our hierarchy.
10833                 - One less class to use NMActRequest.
10834                 - Make it singleton, one less user of NMData.
10835                 - Remove a couple of sleep() calls.
10836                 - Convert a bunch of low-level dbus API calls to dbus-glib calls.
10837                   One less class to use the NM's custom tailored signal handlig.
10838
10839         * Makefile.am: Generate marshallers, add them to build.
10840
10841 2007-02-02  Dan Williams  <dcbw@redhat.com>
10842
10843         * configure.in
10844           gnome/Makefile.am
10845           nm-applet.desktop
10846           Makefile.am
10847                 - Remove last bits referencing gnome applet
10848
10849 2007-02-02  Dan Williams  <dcbw@redhat.com>
10850
10851         * src/vpn-manager/nm-vpn-service.c
10852                 - (nm_vpn_service_stage4_ip4_config_get): use uint32 arrays for DNS
10853                         and NBNS server addresses
10854
10855 2007-02-02  Tambet Ingo  <tambet@ximian.com>
10856
10857         * src/nm-dbus-manager.c:
10858         * src/nm-dbus-manager.h:
10859                 - Convert all internal DBUS code to use dbus-glib bindings.
10860                 - Remove GObject properties, we don't need them here.
10861                 - Don't explicitly set things to NULL after freeing, glib is
10862                   happy to do it if asked nicely (G_DEBUG=gc-friendly).
10863                 - Make public API argument checks type safe.
10864                 - Remove unnecessary (and wrong) cast to GObject for the first
10865                   argument to g_signal_* calls - The first argument is a gpointer.
10866                 - Export DBusGConnection to other cool classes that (are going to)
10867                   use dbus-glib.
10868
10869 2007-01-26  Dan Williams  <dcbw@redhat.com>
10870
10871         * libnm-util/dbus-dict-helpers.c
10872           libnm-util/dbus-dict-helpers.h
10873                 - Coordinate style with wpa_supplicant version to minimize diff
10874                 - Add uint32 array support
10875                 - (nmu_dbus_dict_append_uint32_array): new function
10876                 - (nmu_dbus_dict_begin_string_array, nmu_dbus_dict_string_array_add_element,
10877                    nmu_dbus_dict_end_string_array): bring over from wpa_supplicant
10878                         version; allow adding string array elements individually
10879
10880         * test/libnm-util/test-dbus-dict-helpers.c
10881                 - Test uint32 arrays
10882
10883 2007-01-27  Jürg Billeter  <j@bitron.ch>
10884
10885         * src/backends/NetworkManagerPaldo.c
10886                 - (nm_system_update_dns): clear nscd hosts cache
10887
10888 2007-01-04  Dan Williams  <dcbw@redhat.com>
10889
10890         Threading removal related cleanups:
10891
10892         - Use the glib default main context.  Remove the device main context
10893                 member from NMDevice, and the main_context member from NMData.  Change
10894                 all the idle and timeout scheduler functions to use plain
10895                 g_idle_add() and g_timeout_add().
10896
10897         - As a side-effect of the first change, nm_dbus_manager_get() no longer
10898                 takes an argument; fix that up too.
10899
10900         - Remove all locking, which is useless since we no longer use threads.  For
10901                 example, nm_get_device_by_iface_locked() has been removed.  The global
10902                 device list lock, the AP List lock, and all static locks in
10903                 NetworkManagerPolicy.c have been removed.  The locking utility functions
10904                 in NetworkManagerUtils.c have also been removed.
10905
10906         - Other cleanups in spacing and code style
10907
10908 2007-01-01  Dan Williams  <dcbw@redhat.com>
10909
10910         Found by Bill Moss:
10911
10912         * src/supplicant-manager/nm-supplicant-interface.c
10913                 - (nm_supplicant_interface_disconnect): fix cleanup logic when
10914                         the supplicant interface wasn't already disconnected.  Always
10915                         call removeNetwork and disconnect unless the supplicant interface
10916                         is in the DISCONNECTED or INACTIVE state.
10917
10918 2006-12-28  Dan Williams  <dcbw@redhat.com>
10919
10920         Use a single thread for everything.  With the move to wpa_supplicant
10921         and communication over D-Bus, there's no reason for multiple threads.
10922         Almost all of the blocking code has been removed, with one exception in
10923         the DHCP manager and a few in the VPN manager.  This commit removes the
10924         per-device worker thread and fixes activation cancellation in the absence
10925         of threads.  Further removal of thread-related code would be removing
10926         any locking code (like the device list lock) and simplification of logic
10927         around areas of code or data structures that are currently locked.
10928
10929         * autoip.c
10930           dhcp-manager/nm-dhcp-manager.c 
10931           nm-device-802-11-wireless.c
10932           nm-device-802-3-ethernet.c
10933           nm-device.c
10934           nm-device.h
10935                 - Remove usage of multiple threads
10936
10937 2006-12-19  Dan Williams  <dcbw@redhat.com>
10938
10939         Big wpa_supplicant + dbus update; need latest wpa_supplicant from CVS
10940         plus a few other patches from wpa_supplicant bugzilla.
10941
10942         * src/Makefile.am
10943           src/NetworkManagerPolicy.c
10944           src/NetworkManagerUtils.c
10945           src/NetworkManagerUtils.h
10946           src/nm-ap-security-leap.c
10947           src/nm-ap-security-wep.c
10948           src/nm-ap-security-wpa-eap.c
10949           src/nm-ap-security-wpa-psk.c
10950           src/nm-ap-security.c
10951           src/nm-ap-security.h
10952           src/nm-device-802-11-wireless.c
10953           src/nm-device-802-11-wireless.h
10954           src/supplicant-manager/nm-supplicant-config.c
10955           src/supplicant-manager/nm-supplicant-config.h
10956           src/supplicant-manager/nm-supplicant-interface.c
10957           src/supplicant-manager/nm-supplicant-interface.h
10958           src/supplicant-manager/nm-supplicant-marshal.list
10959           src/supplicant-manager/nm-supplicant-settings-verify.c
10960           src/supplicant-manager/nm-supplicant-settings-verify.h
10961                 - Move all connection management and association handling to
10962                         wpa_supplicant over dbus, rather than spawning a private copy
10963
10964 2006-12-19  Dan Williams  <dcbw@redhat.com>
10965
10966         * src/NetworkManagerPolicy.c
10967                 - (nm_policy_device_change_check, nm_policy_schedule_device_change_check):
10968                         better locking of the device change check handler ID.  Incorrect
10969                         locking was causing lost device change requests
10970
10971 2006-12-18  Dan Williams  <dcbw@redhat.com>
10972
10973         * libnm-util/dbus-dict-helpers.c
10974                 - (_nmu_dbus_dict_entry_get_array, _nmu_dbus_dict_entry_get_string_array,
10975                    _nmu_dbus_dict_entry_get_byte_array): replace usage of
10976                    dbus_message_iter_get_array_len()  (Gnome.org #382898)
10977
10978 2006-12-18  Dan Williams  <dcbw@redhat.com>
10979
10980         * gnome/libnm_glib/libnm_glib.c
10981                 - Change dbus_connection_close() -> dbus_connection_unref()
10982
10983 2006-12-11  Dan Williams  <dcbw@redhat.com>
10984
10985         * src/supplicant-manager/nm-supplicant-interface.c
10986                 - (iface_state_cb, wpas_iface_get_state): new functions; query initial
10987                         wpa_supplicant interface state
10988                 - (nm_supplicant_interface_add_cb): query initial wpa_supplicant interface
10989                         state before transitioning to READY state
10990
10991 2006-12-04  Dan Williams  <dcbw@redhat.com>
10992
10993         * src/nm-device-802-11-wireless.c
10994                 - (supplicant_iface_scanned_ap_cb): fix parsing of hidden APs due to
10995                         odd length of ESSID returned from ieee80211 stack-based drivers
10996
10997 2006-12-04  Dan Williams  <dcbw@redhat.com>
10998
10999         * src/nm-device-802-11-wireless.c
11000                 - (supplicant_iface_scanned_ap_cb): remove erroneous & from WPA & RSN
11001                         IE handling blocks that cause mis-parsing of the IE
11002
11003 2006-12-04  Dan Williams  <dcbw@redhat.com>
11004
11005         * src/nm-device-802-11-wireless.c
11006                 - (init_supplicant_interface): new function; pull supplicant interface
11007                         setup code out into standalone function since it must be called from
11008                         two different places
11009                 - (real_init): sup_mgr is now in private object data; get and track
11010                         the supplicant manager object over the NMDevice subclass' lifetime
11011                         and register a signal handler for its state signals; only try to
11012                         initialize the supplicant interface if the supplicant manager is in
11013                         the IDLE state (and therefore is ready for requests)
11014                 - (request_wireless_scan): reschedule the scan request if (a) there is
11015                         no supplicant interface yet (meaning wpa_supplicant isn't running
11016                         or isn't ready yet), or (b) if the supplicant interface isn't ready
11017                         for requests yet
11018                 - (supplicant_iface_connection_state_cb): new function; stub for
11019                         handling supplicant interface connection state signals
11020                 - (supplicant_mgr_state_cb): do the right thing when wpa_supplicant
11021                         comes and goes
11022                 - (nm_device_802_11_wireless_dispose): clean up spacing; release the
11023                         supplicant manager object that's being tracked starting with this
11024                         commit
11025
11026 2006-12-04  Dan Williams  <dcbw@redhat.com>
11027
11028         * src/supplicant-manager/nm-supplicant-interface.c
11029                 - (nm_supplicant_interface_set_property): track signal handler ID
11030                 - (nm_supplicant_interface_dispose): remove signal handler on dispose
11031
11032 2006-12-04  Dan Williams  <dcbw@redhat.com>
11033
11034         * src/supplicant-manager/nm-supplicant-interface.[ch]
11035                 - (nm_supplicant_interface_get_state): new function
11036
11037 2006-12-04  Dan Williams  <dcbw@redhat.com>
11038
11039         * src/supplicant-manager/nm-supplicant-interface.c
11040                 - (bssid_properties_cb): don't treat DBus errors as valid
11041                         scanned AP messages
11042
11043 2006-12-04  Dan Williams  <dcbw@redhat.com>
11044
11045         * src/supplicant-manager/nm-supplicant-interface.[ch]
11046                 - (nm_supplicant_interface_get_connection_state): new function
11047                 - define new supplicant connection states
11048                 - send a signal when the supplicant connection state changes
11049
11050 2006-12-03  Dan Williams  <dcbw@redhat.com>
11051
11052         * src/supplicant-manager/Makefile.am
11053           src/supplicant-manager/nm-supplicant-connection.h
11054           src/supplicant-manager/nm-supplicant-connection.c
11055           src/supplicant-manager/nm-supplicant-config.h
11056           src/supplicant-manager/nm-supplicant-config.c
11057           src/supplicant-manager/nm-supplicant-types.h
11058           src/supplicant-manager/nm-supplicant-interface.h
11059           src/supplicant-manager/nm-supplicant-interface.c
11060                 - Rename NMSupplicantConnection -> NMSupplicantConfig
11061
11062 2006-12-03  Dan Williams  <dcbw@redhat.com>
11063
11064         Patch from Gabor Kelemen <kelemeng@gnome.hu>  (Gnome.org #381890)
11065
11066         * po/POTFILES.in
11067           po/POTFILES.skip
11068                 - Move VPN-related translatables to .skip
11069
11070         * vpn-daemons/pptp/po/POTFILES.in
11071                 - Update with new translatables
11072
11073 2006-12-02  Dan Williams  <dcbw@redhat.com>
11074
11075         Patch from Christian Persch <chpe@gnome.org>
11076
11077         * gnome/applet/Makefile.am
11078           gnome/applet/applet-dbus-devices.c
11079           gnome/applet/applet-notifications.c
11080           gnome/applet/applet.c
11081           gnome/applet/applet.h
11082           gnome/applet/main.c
11083                 - Be a GtkStatusIcon on GTK+ >= 2.10
11084
11085 2006-12-02  Dan Williams  <dcbw@redhat.com>
11086
11087         * gnome/applet/applet.c
11088                 - (nma_update_info): fix two unecessary allocations
11089
11090 2006-12-02  Dan Williams  <dcbw@redhat.com>
11091
11092         Patch from Michael Biebl <biebl@teco.edu>
11093         * configure.in
11094           man/NetworkManager.1.in
11095           man/NetworkManagerDispatcher.1.in
11096           man/NetworkManager.8.in
11097           man/NetworkManagerDispatcher.8.in
11098                 - Add .SH NAME stanzas
11099                 - Move NM & NM Dispatcher manpages to section 8 (admin)
11100
11101 2006-12-02  Dan Williams  <dcbw@redhat.com>
11102
11103         Patch from Christian Persch <chpe@gnome.org>
11104
11105         * configure.in
11106                 - Check for GTK+ 2.10 in preparation for GtkStatusIcon patch
11107
11108 2006-11-29  Tambet Ingo  <tambet@ximian.com>
11109
11110         Patch by Timo Hoenig <thoenig@suse.de>:
11111         * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Make it work with
11112         DBUS-1.0.
11113
11114         * src/supplicant-manager/Makefile.am: Add nm-supplicant-marshal here, since
11115         we can't use the one from the main source directory.
11116
11117 2006-11-27  Dan Williams  <dcbw@redhat.com>
11118
11119         Patch from Christian Persch <chpe@gnome.org>
11120
11121         * gnome/applet/applet-dbus-devices.c
11122                 - (hal_info_product_cb): fix memleak; free duped string.
11123                         Gnome.org #379908
11124
11125 2006-11-27  Dan Williams  <dcbw@redhat.com>
11126
11127         Patch from Christian Persch <chpe@gnome.org>
11128
11129         * gnome/applet/menu-items.c
11130                 - (network_menu_item_update): use gtk_progress_bar_set_fraction()
11131                         as gtk_progress_set_percentage is deprecated.  Should
11132                         work as far back as GTK+ 2.4.  Gnome.org #379780
11133
11134 2006-11-26  Dan Williams  <dcbw@redhat.com>
11135
11136         Scan using wpa_supplicant over DBus.
11137
11138         * src/nm-device-802-11-wireless.c
11139                 - remove wireless extensions netlink event handler bits
11140                         (wireless_event_helper, nm_device_802_11_wireless_event)
11141                 - remove wireless extensions scan event handler bits
11142                         (process_scan_results, add_new_ap_to_device_list, hexstr2bin,
11143                         hex2byte, hex2num, request_and_convert_scan_results,
11144                         free_process_scan_cb_data, scan_results_timeout,
11145                         schedule_scan_results_timeout, cancel_scan_results_timeout)
11146                 - Rename nm_device_802_11_wireless_scan() -> request_wireless_scan()
11147                         and request scans from the supplicant interface rather than directly
11148                 - Move functionality of convert_scan_results() to cull_scan_list() and
11149                         supplicant_iface_scanned_ap_cb()
11150                 - (supplicant_iface_scan_result_cb): new function; schedule a new scan
11151                         at the scan interval when the current scan has finished
11152                 - (supplicant_iface_state_cb): start scanning when the supplicant
11153                         interface enters the READY state, and stop scanning when it
11154                         enters the DOWN state
11155                 - (cull_scan_list): weed out old access points from the scan list
11156                 - (supplicant_iface_scanned_ap_cb): convert a supplicant scanned access
11157                         point into an NMAccessPoint and merge it into the device's scan list
11158
11159         * src/supplicant-manager/nm-supplicant-interface.c
11160           src/supplicant-manager/nm-supplicant-interface.h
11161                 - Add a new signal "scan-result" which is issued when the supplicant
11162                         notifies NM that a scan has completed
11163                 - Add a new signal "scanned-ap" that notifies listeners of a new access
11164                         point found in the scan.  Called once for each access point that
11165                         the supplicant interface object receives from the supplicant as a
11166                         result of the "scanResults" method call
11167                 - (wpas_iface_query_scan_results): don't wait 4s before querying
11168                         for the initial scan results
11169                 - (scan_request_cb): new function; send listeners the result
11170                         (success, error) of a wireless scan request
11171                 - (nm_supplicant_interface_request_scan): new function; ask the
11172                         supplicant to perform an immediate wireless scan
11173
11174 2006-11-25  Dan Williams  <dcbw@redhat.com>
11175
11176         * src/supplicant-manager/Makefile.am
11177                 - Since we're including NetworkManagerMain.h in nm-supplicant-interface.c,
11178                         add HAL cflags/includes and named-manager includes directory
11179
11180         * src/supplicant-manager/nm-supplicant-interface.h
11181                 - New state STARTING to handle transition from INIT to READY where
11182                         the addInterface pending call is still outstanding
11183
11184         * src/supplicant-manager/nm-supplicant-interface.c
11185                 - track pending calls differently since we may have more than one
11186                         going on at any given time
11187                 - request scan results from wpa_supplicant; but don't do it more often
11188                         than every 4 seconds.  Drivers that do background scanning
11189                         (like the 'ipw' drivers) send a continuous stream of scan completion
11190                         notifications, so we don't want to hammer the supplicant or dbus
11191                         with requests for all scan results every time we get a completion
11192                         notification.
11193
11194 2006-11-25  Dan Williams  <dcbw@redhat.com>
11195
11196         * src/supplicant-manager/nm-supplicant-types.h
11197                 - new file; move all supplicant manager object typedefs here for
11198                         #include sanity
11199
11200         * src/supplicant-manager/nm-supplicant-interface.c
11201           src/supplicant-manager/nm-supplicant-interface.h
11202                 - new file; an object that interfaces an NMDevice object to the
11203                         supplicant and handles signals from the supplicant.  This object
11204                         does all necessary DBus communication with wpa_supplicant.
11205
11206         * src/supplicant-manager/nm-supplicant-manager.c
11207           src/supplicant-manager/nm-supplicant-manager.h
11208                 - Actually do something.  Track the state of the wpa_supplicant service
11209                         and deal with its comings & goings.  Handle life events of
11210                         supplicant interfaces too.
11211                 - Move NMSupplicantManager typedef to nm-supplicant-types.h
11212
11213         * src/supplicant-manager/nm-supplicant-connection.h
11214                 - Move NMSupplicantConnection typedef to nm-supplicant-types.h
11215
11216         * src/supplicant-manager/Makefile.am
11217                 - Add new files to build, and add libnm-util to includes
11218
11219         * src/nm-marshal.list
11220                 - New marshaler type: VOID:UINT,UINT
11221
11222         * src/nm-device-802-3-ethernet.c
11223                 - (real_init): grab a supplicant interface
11224                 - (nm_device_802_3_ethernet_dispose): release the supplicant interface
11225                 - (supplicant_iface_state_cb): new function, stub for handling
11226                         supplicant interface state changes
11227
11228         * src/nm-device-802-11-wireless.c
11229                 - (real_init): grab a supplicant interface
11230                 - (nm_device_802_11_wireless_dispose): release the supplicant interface
11231                 - (supplicant_iface_state_cb): new function, stub for handling
11232                         supplicant interface state changes
11233
11234         * src/NetworkManager.c
11235                 - (main): create and keep the supplicant manager around for the lifetime
11236                         of NetworkManager
11237
11238         * src/Makefile.am
11239                 - Link to the supplicant manager sub-library and use the supplicant
11240                         manager includes
11241
11242 2006-11-25  Dan Williams  <dcbw@redhat.com>
11243
11244         Rework DBus manager signal handling to be more flexible.  Previously,
11245         only one signal handler could be registered for a particular interface.
11246         The DBus manager now reference counts DBus bus matches and allows multiple
11247         clients to register signal handlers for the same interface and sender.
11248
11249         * src/NetworkManager.c
11250                 - (main): track NMI signal handler ID and remove it when we quit
11251
11252         * src/NetworkManagerMain.h
11253                 - Keep track of NMI signal handler ID
11254
11255         * src/nm-dbus-manager.c
11256           src/nm-dbus-manager.h
11257                 - rework signal handling; each signal handler references one signal
11258                         match, but a signal match may be referenced by one or more
11259                         signal handlers.  Matches are refcounted and are destroyed when the
11260                         last signal handler that references the match is removed.  This is
11261                         necessary because two signal handlers may end up requiring the same
11262                         dbus bus match, so the match must live until the last signal handler
11263                         is destroyed (for example, with the wpa_supplicant network interface
11264                         dbus interface).
11265
11266         * src/dhcp-manager/nm-dhcp-manager.c
11267                 - (nm_dhcp_manager_new): track DHCP signal handler id
11268                 - (nm_dhcp_manager_dispose): remove DHCP signal handler
11269
11270         * src/vpn-manager/nm-vpn-service.c
11271                 - (nm_vpn_service_add_watch): track VPN service signal handler id
11272                 - (nm_vpn_service_remove_watch): remove VPN service signal handler
11273
11274 2006-11-25  Dan Williams  <dcbw@redhat.com>
11275
11276         Suggested by Helmut Schaa <hschaa@suse.de>
11277
11278         * src/vpn-daemons/nm-vpn-service.c
11279                 - (supplicant_child_setup): new function
11280                 - (supplicant_exec): make child process use a new process group id
11281
11282         * src/nm-device-802-11-wireless.c
11283                 - (nm_vpn_service_child_setup): new function
11284                 - (nm_vpn_service_stage1_daemon_exec): make child process use a new
11285                         process group id
11286
11287 2006-11-19  Dan Williams  <dcbw@redhat.com>
11288
11289         Patch from Dan Berrange <dan@berrange.com>  Gnome.org #377262
11290         * gnome/vpn-properties/nm-vpn-properties.c
11291                 - clean up after renamed VPN connection
11292
11293 2006-11-19  Dan Williams  <dcbw@redhat.com>
11294
11295         Patch from Dan Berrange <dan@berrange.com>  Gnome.org #377205
11296         * gnome/applet/applet-dbus-vpn.c
11297                 - (nma_dbus_vpn_properties_cb): sort VPN connections
11298
11299         * gnome/vpn-properties/nm-vpn-properties.c
11300                 - (init_app): sort VPN connections
11301
11302 2006-11-09  Dan Williams  <dcbw@redhat.com>
11303
11304         * src/NetworkManagerAPList.c
11305                 - (nm_ap_list_copy_one_essid_by_address): fix bug due to previous
11306                 code cleanup in revision 1.56; the split of the !nm_ap_get_essid()
11307                 from the nm_ap_list_get_ap_by_address() call was incorrect and
11308                 broke hidden SSID matching.  Found by Bill Moss.
11309
11310 2006-10-25  Dan Williams  <dcbw@redhat.com>
11311
11312         * src/nm-dbus-nm.c
11313                 - (nm_dbus_nm_set_active_device): return an empty success message on
11314                         success, rather than falling through to the error case.
11315
11316 2006-10-25  Dan Williams  <dcbw@redhat.com>
11317
11318         * src/NetworkManagerUtils.c
11319                 - (nm_utils_supplicant_request_with_check): suppress messages for the
11320                         "SCAN" command
11321
11322 2006-10-24  Dan Williams  <dcbw@redhat.com>
11323
11324         Reduce the number of times the Gnome applet wakes up, especially when
11325         it's doing absolutely nothing and is hidden.  Initial patch by
11326         Chris Aillon.
11327
11328         * gnome/applet/applet-dbus.c
11329                 - (nma_dbus_filter): when NM isn't around, or when it goes away,
11330                         kill the redraw timeout.  When NM starts up, start the redraw
11331                         timeout.  Also, if we get kicked off the bus for some reason,
11332                         start the reconnection timeout if one's not already running.
11333                 - (nma_dbus_init): better handling of error conditions, don't leak
11334                         a half-initialized dbus connection
11335                 - (nma_dbus_connection_watcher): consolidate places we reinitialize
11336                         the applet's data, just call nm_dbus_init_helper()
11337                 - (nma_start_dbus_connection_watch): new function, starts a periodic
11338                         timeout that calls nma_dbus_connection_watcher()
11339                 - (nma_dbus_init_helper): if we get a successful connection, kill the
11340                         reconnection timeout, and don't start the reconnection timeout
11341                         unconditionally anymore
11342
11343         * gnome/applet/applet-dbus.h
11344                 - Expose nma_start_dbus_connection_watch()
11345
11346         * gnome/applet/applet.c
11347                 - (nma_update_state): no longer static, called from applet-dbus.c for
11348                         immediate UI updates on certain events
11349                 - (nma_set_running): new function; take over setting applet->running,
11350                         when not running (ie, NM is not active), don't activate the redraw
11351                         timeout because we're not showing the applet anyway.  When we are
11352                         running (ie, NM is active), and only when we're running, start the
11353                         redraw timeout.
11354                 - (nma_destroy): kill the redraw timeout by setting 'not running', and
11355                         kill any reconnection timeout
11356                 - (nma_get_instance): move one-off dbus initialization code here since
11357                         nm_dbus_init_helper() gets called more than once, possibly by the
11358                         reconnection timeout function too.  And, when we start up, if we
11359                         can't get a connection to the bus, start the reconnection timeout.
11360                         But don't start the redraw timeout yet, only do that when we get
11361                         NM's state and find out if it's running or not.
11362
11363         * gnome/applet/applet.h
11364                 - Add the reconnection GSource ID
11365                 - Add prototypes for nma_set_running() and the no-longer-static
11366                         nma_update_state()
11367
11368 2006-10-24  Dan Williams  <dcbw@redhat.com>
11369
11370         * src/vpn-daemons/nm-dbus-vpnc.c
11371                 - (nm_dbus_vpn_update_one_connection_cb): unregister pending call in
11372                         pending call tracker
11373                 - (nm_dbus_vpn_connections_update_cb): unregister pending call in
11374                         pending call tracker; register one-vpn-connection update pending
11375                         call in pending call tracker
11376                 - (nm_dbus_vpn_update_one_vpn_connection): register one-vpn-connection
11377                         update pending call in pending call tracker
11378                 - (nm_dbus_vpn_connections_update_from_nmi): register vpn-connections
11379                         update pending call in pending call tracker; don't block waiting
11380                         for call to return
11381
11382 2006-10-19  Robert Love  <rml@novell.com>
11383
11384         * src/backends/NetworkManagerSuSE.c: Don't ever restart nscd; just
11385           refresh the cache.
11386
11387 2006-10-14  Dan Williams  <dcbw@redhat.com>
11388
11389         * src/dhcp-manager/nm-dhcp-manager.c
11390                 - (get_ip4_string, get_ip4_uint32s): have the caller pass
11391                 the dbus connection and the device object path rather than
11392                 constructing it inside both functions.  Saves a bit of memory
11393                 and clarifies a failure path.
11394                 - (nm_dhcp_manager_get_ip4_config): grab the dbus connection
11395                 and allocate device path here rather than each of the two
11396                 functions above.
11397
11398 2006-10-13  Dan Williams  <dcbw@redhat.com>
11399
11400         * src/NetworkManager.c
11401                 - (nm_name_owner_changed_handler): handle NMI coming and going,
11402                 this somehow droppout in the refactor
11403
11404 2006-10-13  Dan Williams  <dcbw@redhat.com>
11405
11406         * Huge DBus refactor:
11407                 - Create a "DBus Manager" object which manages the connection and
11408                 sends signals on NameOwnerChanged and connection/disconnection events,
11409                 handles reconnection to the bus if NM gets kicked off, and abstracts
11410                 signal handling
11411                 - Remove DBusConnection members from places where they are no
11412                 longer needed due to the refactor, like the dbus-connection
11413                 property of the named manager, and from NMData
11414                 - Reformats a bunch of the code to gnome style
11415                 (8-space tabs, braces on same line as statement, 80-col width).
11416                 Consider it open season to reformat any bits to gnome style.
11417                 style that aren't already.
11418
11419 2006-10-13  Dan Williams  <dcbw@redhat.com>
11420
11421         * src/supplicant-manager/Makefile.am
11422                 - Add new files
11423
11424         * src/supplicant-manager/nm-supplicant-manager.[ch]:
11425                 - Make it a minimal GObject
11426
11427         * src/supplicant-manager/nm-supplicant-settings-verify.[ch]:    
11428                 - Verify settings destined for wpa_supplicant
11429
11430         * src/supplicant-manager/nm-supplicant-connection.[ch]: 
11431                 - Minimal GObject to track wpa_supplicant controlled device
11432                 connections
11433
11434 2006-10-13  Wouter Bolsterlee  <wbolster@gnome.org>
11435
11436         * gnome/applet/applet.c: (nma_update_info),
11437         (nma_act_stage_to_pixbuf), (nma_update_state):
11438         Mark missing strings for translation. Fixes bug #343306.
11439
11440 2006-10-01  Dan Williams  <dcbw@redhat.com>
11441
11442         * src/vpn-manager/nm-vpn-manager.c
11443                 - (nm_vpn_manager_load_services): split and clean up
11444                 for readability and correctness.  Restrict VPN service
11445                 files to ending in ".name", as was meant from the
11446                 beginning (but not coded in).  Better error reporting.
11447
11448 2006-10-01  Dan Williams  <dcbw@redhat.com>
11449
11450         * utils/nm-utils.h
11451                 - Clean up formatting of debug/info/warning log messages
11452
11453 2006-09-27  Robert Love  <rml@novell.com>
11454
11455         Patch by Tambet Ingo <tambet@ximian.com>:
11456         * gnome/vpn-properties/nm-vpn-properties.c: Make Renaming a VPN entry
11457           actually work.
11458
11459 2006-09-07  Dan Williams <dcbw@redhat.com>
11460
11461         * test/Makefile.am
11462           test/libnm-util/Makefile.am
11463           test/nm-supplicant-test.c
11464                 - Add test program emulating the way NM drives wpa_supplicant
11465                 to help debug supplicant issues
11466
11467 2006-08-24  Dan Williams <dcbw@redhat.com>
11468
11469         * configure.in
11470           src/Makefile.am
11471           src/supplicant-manager/Makefile.am
11472           src/supplicant-manager/nm-supplicant-manager.c
11473           src/supplicant-manager/nm-supplicant-manager.h
11474                 - Add skeleton bits of the wpa_supplicant manager
11475
11476 2006-08-24  Dan Williams <dcbw@redhat.com>
11477
11478         Patch from Ed Catmur:
11479         * src/NetworkManagerUtils.c
11480                 - (nm_utils_ip4_netmask_to_prefix): don't infinitely loop
11481                 if netmask is 0 (Gnome #352634)
11482
11483 2006-08-17  Robert Love  <rml@novell.com>
11484
11485         * src/backends/NetworkManagerSuSE.c: Do not restart ypbind; our ypbind
11486           package is now DBUS-enabled and listens for the NM signals.
11487
11488 2006-08-14  Dan Williams  <dcbw@redhat.com>
11489
11490         * Patch from Christian Persch <chpe gnome org>
11491         * configure.in
11492           po/LINGUAS
11493           vpn-daemons/openvpn/po/LINGUAS
11494           vpn-daemons/openvpn/configure.in
11495           vpn-daemons/pptp/po/LINGUAS
11496           vpn-daemons/pptp/configure.in
11497           vpn-daemons/vpnc/po/LINGUAS
11498           vpn-daemons/vpnc/configure.in
11499                 - Convert to LINGUAS method so translators don't have to modify
11500                 configure.in, just stuff in po/.  Gnome #343132, requires intltool
11501                 0.35 or higher
11502
11503 2006-08-14  Dan Williams  <dcbw@redhat.com>
11504
11505         Patch from Alex Smith <alex.extreme2@gmail.com>
11506         * configure.in
11507           src/backends/Makefile.am
11508           src/backends/NetworkManagerFrugalware.c
11509                 - Add support for Frugalware
11510
11511 2006-08-13  Dan Williams  <dcbw@redhat.com>
11512
11513         Patch from Valentine Sinitsyn <e_val@inbox.ru>
11514         * src/nm-device-802-11-wireless.c
11515                 - (supplicant_exec): spawn wpa_supplicant without debug spew
11516                 Gnome #346875
11517
11518 2006-08-13  Dan Williams  <dcbw@redhat.com>
11519
11520         Patch from Valentine Sinitsyn <e_val@inbox.ru>
11521         * src/nm-ap-security.c
11522           src/nm-ap-security.h
11523                 - Add authentication_required bits for subclasses to specify whether
11524                 or not real authentication is required for connections, i.e. whether
11525                 the AP rejects us when an encryption key is wrong or not.
11526
11527         * src/nm-ap-security-wep.c
11528           src/nm-ap-security-wpa-eap.c
11529           src/nm-ap-security-wpa-psk.c
11530           src/nm-ap-security-leap.c
11531                 - Implement authentication_required appropriately for each method
11532
11533         * src/nm-device-802-11-wireless.c
11534                 - Be smarter about when to request a key; for example, using a wrong key
11535                 in WEP shared key mode previously just timed out and did not request
11536                 a new key
11537
11538 2006-08-13  Dan Williams  <dcbw@redhat.com>
11539
11540         * gnome/libnm_glib/libnm_glib.c
11541                 - dbus_connection_disconnect() -> dbus_connection_close() for
11542                 dbus >= 0.90
11543
11544 2006-08-07  Dan Williams  <dcbw@redhat.com>
11545
11546         Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
11547         * src/NetworkManagerSystem.c
11548                 - Respect specified MTU.  Gnome #344967
11549
11550 2006-08-07  Dan Williams  <dcbw@redhat.com>
11551
11552         * src/vpn-manager/nm-vpn-service.c
11553                 - Simplify print_vpn_config() arguments
11554
11555         Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
11556         * src/vpn-manager/Makefile.am
11557           src/vpn-manager/nm-vpn-service.c
11558                 - Add new API for passing VPN config options as a dict. Gnome #344967
11559
11560 2006-08-06  Dan Williams  <dcbw@redhat.com>
11561
11562         * gnome/applet/applet-dbus-devices.c
11563           gnome/applet/applet-dbus-vpn.c
11564           gnome/applet/applet-dbus.c
11565           gnome/applet/applet-dbus.h
11566           src/nm-dbus-nmi.c
11567           utils/nm-utils.c
11568           utils/nm-utils.h
11569                 - Make pending call tracking code generic,
11570                 so we can use it in NM as well as the applet
11571
11572 2006-08-06  Dan Williams  <dcbw@redhat.com>
11573
11574         * src/nm-activation-request.c
11575                 - Refcount pending call objects
11576
11577 2006-08-06  Dan Williams  <dcbw@redhat.com>
11578
11579         Patch from Christan Chiesa <christanc@gmail.com>
11580         * configure.in
11581                 - Tell sha1.c to use bigendian mode on PPC
11582
11583 2006-08-04  Robert Love  <rml@novell.com>
11584
11585         Glib Memory Slices!
11586         * configure.in: Require glib 2.10 or later.
11587         * src/NetworkManager.c, src/NetworkManagerAP.c, src/nm-ip4-config.c,
11588           src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
11589           src/NetworkManagerDbusUtils.c, src/nm-dbus-nmi.c, src/wpa.c,
11590           src/nm-device-802-11-wireless.c: Convert applicable g_malloc and
11591           g_new calls to g_slice_new.  Likewise for g_free to g_slice_free.
11592           Memory Slices are the greatest thing since bread slices.
11593         * src/NetworkManagerAP.c: Also, fix memory leak.
11594
11595 2006-08-01  Robert Love  <rml@novell.com>
11596
11597         * gnome/applet/main.c: Shutdown all VPN connections on logout.
11598
11599 2006-07-31  Robert Love  <rml@novell.com>
11600
11601         * src/backends/interface_parser.c: Declarations must begin the block.
11602
11603 2006-07-24  Dan Williams  <dcbw@redhat.com>
11604
11605         Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
11606         * src/backends/Makefile.am
11607           src/backends/NetworkManagerArch.c
11608           src/backends/NetworkManagerDebian.c
11609           src/backends/NetworkManagerGeneric.c
11610           src/backends/NetworkManagerGeneric.h
11611           src/backends/NetworkManagerGentoo.c
11612           src/backends/NetworkManagerPaldo.c
11613           src/backends/NetworkManagerRedHat.c
11614           src/backends/NetworkManagerSlackware.c
11615           src/backends/NetworkManagerSuSE.c
11616                 - Genericize common backend functions
11617
11618 2006-07-18  Robert Love  <rml@novell.com>
11619
11620         * configure.in: Add "--with-notify" option to allow disabling of
11621           libnotify support.
11622
11623 2006-07-13  Dan Williams  <dcbw@redhat.com>
11624
11625         Patch from Thiago Bauermann <thiago.bauermann@gmail.com>
11626         * gnome/applet/applet.glade
11627           gnome/applet/Makefile.am
11628           gnome/applet/nm-gconf-wso.c
11629           gnome/applet/nm-gconf-wso-leap.c
11630           gnome/applet/nm-gconf-wso-leap.h
11631           gnome/applet/wireless-security-manager.c
11632           gnome/applet/wso-leap.c
11633           gnome/applet/wso-leap.h
11634           include/NetworkManager.h
11635           libnm-util/dbus-helpers.c
11636           libnm-util/dbus-helpers.h
11637           src/Makefile.am
11638           src/NetworkManagerAP.c
11639           src/nm-ap-security.c
11640           src/nm-ap-security-leap.c
11641           src/nm-ap-security-leap.h
11642                 - Add LEAP authentication support
11643
11644 2006-07-13  Dan Williams  <dcbw@redhat.com>
11645
11646         Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
11647         * configure.in
11648           src/backends/NetworkManagerArch.c
11649           src/backends/NetworkManagerDebian.c
11650           src/backends/NetworkManagerGentoo.c
11651           src/backends/NetworkManagerPaldo.c
11652           src/backends/NetworkManagerRedHat.c
11653           src/backends/NetworkManagerSlackware.c
11654           src/backends/NetworkManagerSuSE.c
11655                 - Convert hardcoding of 'ip' path to configure-time
11656                         detected one
11657
11658 2006-07-12  Leonid Kanter <leon@asplinux.ru>
11659
11660         * configure.in: added ru to ALL_LINGUAS
11661
11662 2006-07-10  Dan Williams  <dcbw@redhat.com>
11663
11664         Patch from Valentine Sinitsyn <e_val@inbox.ru>
11665         * src/nm-device.c
11666                 - (real_act_stage3_ip_config_start): don't infinite loop when
11667                         dhcdbd isn't running (Gnome #346845)
11668
11669 2006-07-09  Dan Williams  <dcbw@redhat.com>
11670
11671         * gnome/applet/applet.c
11672                 - (nma_destroy): don't pass NULL to notify_notification_close
11673                         (RH #197917)
11674
11675 2006-07-09  Dan Williams  <dcbw@redhat.com>
11676
11677         * gnome/applet/applet.c
11678                 - (nma_about_cb): remove empty documenters tab (Gnome #341324)
11679
11680 2006-07-04  Tor Krill  <tor@krill.nu>
11681
11682         Patch from Valentine Sinitsyn <e_val@inbox.ru>
11683         * src/backends/NetworkManagerArch.c: (nm_system_update_dns),
11684         (nm_system_restart_mdns_responder), (ArchReadConfig),
11685         (nm_system_device_get_system_config):
11686                 - Explicitly check for DHCP configuration
11687                 - Check if daemons are running before starting them
11688
11689 2006-06-25  Dan Williams  <dcbw@redhat.com>
11690
11691         * libnm-util/dbus-dict-helpers.[ch]
11692           test/libnm-util/test-dbus-dict-helpers.c
11693                 - Add string array support
11694
11695 2006-06-24  Dan Williams  <dcbw@redhat.com>
11696
11697         * src/dhcp-manager/nm-dhcp-manager.c
11698                 - (nm_dhcp_manager_process_signal): clean up spacing
11699
11700 2006-06-21  Dan Williams  <dcbw@redhat.com>
11701
11702         * src/nm-dbus-device.c
11703                 - (nm_dbus_device_get_driver): don't try to stuff a NULL
11704                         through dbus
11705
11706 2006-06-21  Raivis Dejus  <orvils@gmail.com>
11707
11708         * configure.in: Added 'lv' to ALL_LINGUAS
11709
11710 2006-06-19  Dan Williams  <dcbw@redhat.com>
11711
11712         * src/NetworkManagerAP.c
11713                 - Clarify usage of user_created
11714
11715         * src/nm-ap-security-wep.c
11716           src/nm-ap-security-wpa-eap.c
11717           src/nm-ap-security-wpa-psk.c
11718           src/nm-ap-security.c
11719           src/nm-ap-security.h
11720                 - s/user_created/adhoc, because we really do mean adhoc
11721
11722         Patch from Bernard Blackham <bernard@blackham.com.au>
11723         * src/nm-device-802-11-wireless.c         
11724                 - (supplicant_send_network_config): instead of user_created,
11725                         use adhoc, and do AP_SCAN 2 for adhoc networks
11726
11727 2006-06-18  Robert Love  <rml@novell.com>
11728
11729         * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the Gconf keys unless
11730           we have a value to set.  Gconf generates a warning if `val' is NULL.
11731         * src/nm-ap-security-wpa-eap.c: Don't set the key for an Enterprise AP
11732           unless we actually received a valid private key file passphrase or
11733           password.  Otherwise, we don't know to later ask the applet to pull
11734           the key from the keyring.
11735
11736 2006-06-17  Dan Williams  <dcbw@redhat.com>
11737
11738         * libnm-util/dbus-dict-helpers.[ch]
11739           test/libnm-util/test-dbus-dict-helpers.c
11740                 - Fixes for zero-length byte arrays
11741                 - Replace return values of 0 with FALSE for clarity
11742                 - Test zero-length byte arrays
11743
11744 2006-06-17  Dan Williams  <dcbw@redhat.com>
11745
11746         * libnm-util/dbus-dict-helpers.[ch]
11747           test/libnm-util/test-dbus-dict-helpers.c
11748                 - Add helpers for byte arrays
11749                 - Rework bits of the testcase
11750
11751 2006-06-16  Dan Williams  <dcbw@redhat.com>
11752
11753         * libnm-util/Makefile.am
11754         * libnm-util/dbus-dict-helpers.[ch]
11755                 - Add some helpers to take the pain out of using dict types in
11756                         dbus.
11757
11758         * test/libnm-util/Makefile.am
11759         * test/libnm-util/test-dbus-dict-helpers.c
11760                 - Test cases for the dict helper functions
11761
11762 2006-06-15  Robert Love  <rml@novell.com>
11763
11764         * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the key unless there
11765           is a non-empty key to set.  Elsewhere, pass an empty string via DBUS
11766           if there is no key to pass.
11767         * libnm-util/dbus-helpers.c: Given the above, we can trust always
11768           receiving a non-NULL key.
11769
11770 2006-06-14  Robert Love  <rml@novell.com>
11771
11772         * src/nm-ap-security-wpa-eap.c: In real_copy_constructor(), actually
11773           copy the strings.
11774
11775
11776 2006-06-14  Dan Williams  <dcbw@redhat.com>
11777
11778         Patch from Lorenzo Colitti <lorenzo@colitti.com>  gnome.org #344825
11779         * src/nm-device-802-11-wireless.c
11780                 - (nm_device_802_11_wireless_set_essid): only wait for orinoco cards
11781                         or ones where the driver is unknown
11782                 - (supplicant_exec): don't wait for supplicant startup here
11783                 - (supplicant_interface_init): finer grained polling for supplicant
11784                         startup
11785
11786 2006-06-13  Robert Love  <rml@novell.com>
11787
11788         * gnome/applet/applet-dbus-info.c: Don't set the fallback bit to FALSE
11789           if it is currently set to TRUE.  Otherwise, we will reset the value
11790           when we connect normally.
11791         * src/nm-device-802-11-wireless.c: For the roaming code, make sure that
11792           the old BSSID is valid, too.  The recently added ESSID check may not be
11793           sufficient (we can remove it?).  What we really want to catch is the
11794           case of going from all-zeros to the BSSID of some other network, which
11795           happens on failure.
11796
11797 2006-06-09  Dan Williams  <dcbw@redhat.com>
11798
11799         * src/NetworkManagerSystem.[ch]
11800                 - (nm_system_device_set_up_down_with_iface): remove 'dev' argument,
11801                         it was unused and pointless
11802                 - (nm_system_vpn_device_set_from_iface, nm_system_device_set_up_down):
11803                         fix for set_up_down_with_iface change
11804
11805         * src/vpn-manager/nm-vpn-connection.c
11806                 - (nm_vpn_connection_deactivate): fix for set_up_down_with_iface change
11807
11808         * src/backends/NetworkManagerPaldo.c
11809           src/backends/NetworkManagerRedHat.c
11810           src/backends/NetworkManagerSuSE.c
11811           src/backends/NetworkManagerArch.c
11812           src/backends/NetworkManagerDebian.c
11813           src/backends/NetworkManagerGentoo.c
11814                 - (nm_system_enable_loopback): use set_up_down_with_iface where
11815                         appropriate
11816                 - (nm_system_flush_loopback_routes): use flush_routes_with_iface
11817                         where appropriate
11818
11819 2006-06-09  Dan Williams  <dcbw@redhat.com>
11820
11821         Patch from Peter Jones:
11822         * src/nm-device-802-11-wireless.c
11823                 - (nm_device_802_11_wireless_update_bssid): make sure that the
11824                         SSID hasn't changed from what we expect before automatically
11825                         updating the saved BSSID from a new AP
11826
11827 2006-06-08  Robert Love  <rml@novell.com>
11828
11829         Add 'fallback' support.  NetworkManager will attempt to brute-force
11830         connect to networks marked as fallback if there are no better wireless
11831         connections available.  This is useful as a method of last resort, to
11832         work around driver problems, and for use with hidden networks.
11833         * gnome/applet/applet-dbus-devices.c,
11834           gnome/applet/applet-dbus-devices.h: Add fallback parameter.
11835         * gnome/applet/applet-dbus-info.c: Retrieve fallback bit from Gconf and
11836           pass it on via DBUS.
11837         * gnome/applet/applet.c: No fallback by default.
11838         * gnome/applet/applet.glade, gnome/applet/other-network-dialog.c:
11839           Update other-network-dialog to add UI checkbox toggling fallback.
11840         * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Remove "trusted"
11841           propery from AP object.  Add "fallback" property to AP object.
11842         * src/nm-dbus-nm.c: Grab the fallback parameter via DBUS.
11843         * src/nm-dbus-nmi.c: Grab the fallback parameter via DBUS.
11844         * src/nm-device-802-11-wireless.c: Break out blacklist logic into
11845           separate function.  Add get_best_fallback_ap() for returning an AP
11846           on which to attempt fallback.
11847         * src/backends/NetworkManagerSuSE.c: Set stored network as fallback.
11848         * test/nm-set-fallback: New file.  Sets a given network as fallback.
11849
11850 2006-06-07  Robert Love  <rml@novell.com>
11851
11852         * gnome/applet/gconf-helpers.c: Bug fix: nm_gconf_helper_get_bool()
11853           checked that the return type was GCONF_VALUE_STRING, not the correct
11854           GCONF_VALUE_BOOL, and thus it never worked.
11855         * src/NetworkManagerAPList.c: Before concluding that two networks are
11856           identical based on their BSSID, make sure that the BSSID in question
11857           is actually valid.  Specifically, an empty or all zero BSSID does not
11858           cut it.
11859         * gnome/applet/applet-dbus-info.c, gnome/applet/other-network-dialog.c,
11860           src/nm-dbus-nmi.c, src/nm-device-802-11-wireless.c: White space and
11861           similar invariant clean up.
11862
11863 2006-06-02  Robert Love  <rml@novell.com>
11864
11865         * gnome/applet/applet.c: Update copyright years.  Add Novell.
11866
11867 2006-05-28  Dan Williams  <dcbw@redhat.com>
11868
11869         * gnome/applet/applet.glade
11870           gnome/vpn-properties/nm-vpn-properties.glade
11871                 - Set window icons on dialogs  (Gnome.org #333420)
11872
11873 2006-05-28  Christian Persch  <chpe@cvs.gnome.org>
11874
11875         * gnome/vpn-properties/nm-vpn-properties.glade:
11876         * vpn-daemons/openvpn/properties/nm-openvpn-dialog.glade:
11877         * vpn-daemons/pptp/properties/nm-pptp-dialog.glade:
11878         * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
11879                 - Make the VPN properties pages prettier and more HIG
11880                   compliant. Gnome Bug #336913.
11881
11882 2006-05-28  Dan Williams  <dcbw@redhat.com>
11883
11884         Patch from Christian Persch <chpe@gnome.org>
11885         * gnome/vpn-properties/nm-vpn-properties.c
11886         * gnome/vpn-properties/nm-vpn-properties.glade
11887                 - HIG-ification love  (Gnome.org #336846)
11888
11889 2006-05-28  Dan Williams  <dcbw@redhat.com>
11890
11891         Patch from Christian Persch <chpe@gnome.org>
11892         * configure.in
11893           gnome/vpn-properties/nm-vpn-properties.c
11894                 - (main): Fix option parsing.  Gnome.org #336847
11895
11896 2006-05-28  Dan Williams  <dcbw@redhat.com>
11897
11898         * gnome/vpn-properties/nm-vpn-properties.c
11899                 - (find_vpn_ui_by_service_name): protect against NULL service names
11900                 - (update_edit_del_sensitivity): protect against NULL service names
11901                         Gnome.org #341306
11902
11903 2006-05-28  Dan Williams  <dcbw@redhat.com>
11904
11905         Patch from Chris Fuller <crf@grandecom.net>:
11906         * src/nm-device-802-11-wireless.c
11907                 - (nm_device_802_11_wireless_dispose): add a is_initialized member and
11908                         don't dispose of wireless-specific stuff unless it is actually
11909                         initialized.  Gnome.org #341263
11910
11911 2006-05-28  Dan Williams  <dcbw@redhat.com>
11912
11913         * src/NetworkManagerPolicy.c
11914                 - (nm_policy_device_change_check): don't switch devices if the "best"
11915                         AP is essentially the same as the current activation request, but
11916                         the current activation request isn't done activating yet.  Fixes
11917                         multiple requests for keyring password on startup for Gnome applet.
11918                         Gnome.org #341297
11919
11920 2006-05-26  Nicolas Trangez  <eikke@eikke.com>
11921
11922         * src/NetworkManager.c: use GOptions instead of getopt
11923         * configure.in: bump glib required version to >= 2.6 for GOption
11924           support
11925
11926 2006-05-25  Robert Love  <rml@novell.com>
11927
11928         * src/nm-device.h: Introduce nm_ioctl_info(), which defines to
11929           nm_info() if IOCTL_DEBUG is set and a no-op if not.  We can use this
11930           instead of dumping ifdef's throughout the code.
11931         * src/NetworkManagerSystem.c, src/nm-device-802-11-wireless.c,
11932           src/nm-device-802-3-ethernet.c, src/nm-device.c: Remove ifdef's and
11933           use nm_ioctl_info() in lieu.
11934
11935 2006-05-25  Robert Love  <rml@novell.com>
11936
11937         Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342400:
11938         * libnm-util/Makefile.am: Only build gnome-keyring-md5.{c,h} if we are
11939           not using gcrypt.  Otherwise, we get a linker error.
11940
11941 2006-05-25  Robert Love  <rml@novell.com>
11942
11943         Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342398:
11944         * configure.in, gnome/Makefile.am, Makefile.am: Add "--without-gnome"
11945           configure flag to disable building of the GNOME-based applet.
11946
11947 2006-05-25  Robert Love  <rml@novell.com>
11948
11949         * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Rename function
11950           parameter from link, because it shadows a global variable with some
11951           older versions of glibc.  Yes, glibc is now fixed and, yes, glibc
11952           should never have exported to the entire system a common four letter
11953           word.  But we here at NetworkManager are team players.  Fixes
11954           GNOME bug #336532.
11955
11956 2006-05-25  Arangel Angov <ufo@linux.net.mk>
11957
11958         * configure.in: Added mk.po, Macedonian translation.
11959
11960 2006-05-24  Robert Love  <rml@novell.com>
11961
11962         * examples/python/systray/eggtrayicon.c, gnome/applet/eggtrayicon.c,
11963           gnome/applet/passphrase-dialog.c, gnome/applet/vpn-password-dialog.c,
11964           src/NetworkManager.c: Include <glib/gi18n.h> and not <libintl.h>.
11965
11966 2006-05-24  Robert Love  <rml@novell.com>
11967
11968         * gnome/applet/Makefile.am, gnome/vpn-properties/Makefile.am,
11969           libnm-util/Makefile.am, src/Makefile.am,
11970           vpn-daemons/openvpn/auth-dialog/Makefile.am,
11971           vpn-daemons/openvpn/properties/Makefile.am,
11972           vpn-daemons/pptp/auth-dialog/Makefile.am,
11973           vpn-daemons/pptp/properties/Makefile.am,
11974           vpn-daemons/vpnc/auth-dialog/Makefile.am,
11975           vpn-daemons/vpnc/properties/Makefile.am: Do not override what the
11976           user passed for --datadir, if anything, when setting the GNOME locale
11977           directory.  It should be a function of the specified datadir and not
11978           the prefix.
11979
11980 2006-05-24  Robert Love  <rml@novell.com>
11981
11982         * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c,
11983           src/NetworkManager.c: Take care to call bindtextdomain with the
11984           location of msgid files.
11985         * src/Makefile.am: Set GNOMELOCALEDIR to the location of GNOME mo
11986           files.
11987
11988 2006-05-22  Robert Love  <rml@novell.com>
11989
11990         * src/nm-device-802-11-wireless.c: Don't chain up to the parent's
11991           stage4_timeout on failure unless the wireless network is Ad-Hoc.
11992           99% of the time there is a real problem with wireless, and a
11993           seemingly successful connection via Zeroconf just confuses the user.
11994           And that 1% of the time the network is probably Ad-Hoc, anyhow.
11995
11996 2006-05-22  Robert Love  <rml@novell.com>
11997
11998         * src/backends/NetworkManagerSuSE.c: Reload, do not restart, ypbind and
11999           autofs on interface up if NIS is configured.  On interface down, do
12000           nothing.
12001
12002 2006-05-22  Robert Love  <rml@novell.com>
12003
12004         * gnome/applet/applet.c: Zero out the icon pointers before we set them,
12005           to avoid calling g_object_unref() on stale pointers on error in
12006           nma_icons_free().  This happens because we short-circuit loaded the
12007           icons on the first failure but then free all icons.  Normally we have
12008           no issue because the icons were zero'ed out malloc, but we have stale
12009           pointer data after nma_icon_theme_changed().
12010         * gnome/applet/main.c: Return error code if nma_new() failed.
12011
12012 2060-05-21  Dan Williams  <dcbw@redhat.com>
12013
12014         * initscript/NetworkManager.in
12015                 - Ensure both dhcdbd and named are started before NM
12016
12017 2006-05-21  Dan Williams  <dcbw@redhat.com>
12018
12019         * configure.in
12020                 - Bump version to 0.7 to signify we are in 0.7 development
12021
12022 2006-05-21  Dan Williams  <dcbw@redhat.com>
12023
12024         Patch from Adam Schreiber <sadam@clemson.edu>
12025         * gnome/vpn-properties/nm-vpn-properties.c
12026                 - (main): correct Gnome program name  (gnome.org #342498)
12027
12028 2006-05-21  Dan Williams  <dcbw@redhat.com>
12029
12030         Fix gnome.org #330832 based on patch from Crispin Flowerday <crispin@gnome.org>
12031
12032         * src/NetworkManagerDbus.[ch]
12033                 - nm_dbus_get_device_from_object_path -> nm_dbus_get_device_from_escaped_object_path:
12034                         clarify that function's argument should be an escaped dbus object
12035                         path, and look for path segment end before returning a match
12036         * src/nm-dbus-nm.c:
12037                 - Fix up users of nm_dbus_get_device_from_escaped_object_path()
12038
12039 2006-05-17  Robert Love  <rml@novell.com>
12040
12041         Functionality to differentiate Ad-Hoc networks from infrastructure
12042         networks in the applet, by displaying a special icon:
12043         * gnome/applet/applet-dbus-devices.c: Set the mode for new networks.
12044         * gnome/applet/applet.c: Pass 'applet' to network_menu_item_update().
12045         * gnome/applet/menu-items.c: Set a special icon in the scan list for
12046           ad-hoc networks.  TODO: Add a third icon representing "encrypted and
12047           Ad-Hoc".  Right now, we display the same icon for all Ad-Hoc wireless
12048           networks, encrypted or not.
12049         * gnome/applet/wireless-network.c, gnome/applet/wireless-network.h: New
12050           accessor functions to get and set the mode of a given network,
12051           wireless_network_get_mode() and wireless_network_set_mode().
12052
12053 2006-05-17  Robert Love  <rml@novell.com>
12054
12055         Functionality to automatically add BSSIDs to the allowed-MAC list as
12056         one roams from access point to access point on a given network:
12057         * src/NetworkManagerUtils.c: Add nm_ethernet_addresses_are_equal(),
12058           helper function to compare two ether_addr structures and return TRUE
12059           if they contain the same MAC address.
12060         * src/NetworkManagerUtils.h: Add nm_ethernet_addresses_are_equal()
12061           prototype.
12062         * src/nm-device-802-11-wireless.c: New function to update the BSSID
12063           stored with the current AP.  If the BSSID has indeed changed, we
12064           send it out to the applet, allowing the allowed-MAC list to grow
12065           automatically in response to roaming.
12066
12067 2006-05-16  Robert Love  <rml@novell.com>
12068
12069         * src/backends/NetworkManagerSuSE.c: Don't touch ypbind or autofs
12070           unless dhcp:DHCLIENT_MODIFY_NIS_CONF is set to "yes".
12071
12072 2006-05-13  Dan Williams  <dcbw@redhat.com>
12073
12074         * src/nm-device-802-3-ethernet.c
12075                 - (real_get_generic_capabilities): Don't ignore devices that can't do
12076                         carrier detect (Debian bug #366373)
12077
12078 2006-05-11  Dan Williams  <dcbw@redhat.com>
12079
12080         Patch from Michael Biebl <biebl@teco.edu>
12081         * src/backends/NetworkManagerDebian.c
12082                 - Debian backend fixups
12083
12084 2006-05-10  Robert Love  <rml@novell.com>
12085
12086         * src/backends/NetworkManagerSuSE.c: Fix double free (Novell #173442).
12087
12088 2006-05-09  Robert Love  <rml@novell.com>
12089
12090         * gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXME: Save the WPA EAP
12091           private certificate passphrase, if any, in the GNOME Keyring.
12092         * libnm-utils/dbus-helpers.c: Update.
12093
12094 2006-05-05  Dan Williams  <dcbw@redhat.com>
12095
12096         * src/nm-device-802-11-wireless.c
12097                 - (nm_device_802_11_wireless_set_wep_enc_key): convert to
12098                         nm_device_802_11_wireless_disable_encryption() since that's all
12099                         we use it for anymore; we don't ever set WEP keys ourselves.
12100                 - (real_deactivate_quickly): reset SSID and encryption keys
12101                 - (real_deactivate): move SSID and encryption key reset to
12102                         real_deactivate_quickly(), which gets run before us anyway
12103
12104 2006-05-05  Robert Love  <rml@novell.com>
12105
12106         * src/NetworkManager.c: Set the umask to 0022 when daemonizing, in case
12107           root has a wacky default of its own (or, more common, a user has a
12108           bad umask and uses su/sudo to restart NetworkManager).  Anything
12109           other than 0022 does not do what we want with, for example,
12110           resolv.conf.  This problem is amplified by our judicious use of
12111           fopen(), which uses mode 0666 -- implying that the only way to get
12112           the permissions we want is with a umask of 0022.
12113
12114 2006-05-05  Dan Williams  <dcbw@redhat.com>
12115
12116         * gnome/libnm_glib/libnm_glib.c
12117                 - Don't suck CPU when dbus isn't around by scheduling idle handlers
12118                         to reconnect; instead wait a bit more with each reconnect attempt
12119                         up to a max of one minute.
12120
12121 2006-05-04  Ryan Lortie  <desrt@desrt.ca>
12122
12123         * gnome/applet/passphrase-dialog.c (update_button_cb): Get the SSID of
12124           the WirelessNetwork structure using the proper function instead of
12125           just casting it directly to (const char *) (gnome.org #336991)
12126
12127 2006-05-03  Robert Love  <rml@novell.com>
12128
12129         * src/backends/NetworkManagerSuSE.c: Respect the variable
12130           dhcp:DHCLIENT_MODIFY_RESOLV_CONF, not
12131           config:MODIFY_RESOLV_CONF_DYNAMICALLY, when deciding whether or not
12132           to dynamically update /etc/resolv.conf.
12133
12134 2006-05-02  Peter Jones  <pjones@redhat.com>
12135
12136         * vpn-daemons/vpnc/src/nm-vpnc-service.c: Allow rekeying.
12137
12138 2006-05-02  Robert Love  <rml@novell.com>
12139
12140         Patch by Timo Hoenig;
12141         * tests/nm-online.c: Print pretty status indicator as timeout winds
12142           down.  Also fix possible race between DBUS startup and failure
12143           return.
12144
12145 2006-05-01  Robert Love  <rml@novell.com>
12146
12147         * gnome/applet/applet-compat.c: Warn if the returned escaped ESSID is
12148           empty, too.
12149
12150 2006-04-27  Jeremy Katz  <katzj@redhat.com>
12151
12152         * src/nm-device.c (discover_device_type): Actually use the hal
12153         device type instead of ioctl poking
12154
12155 2006-04-26  Robert Love  <rml@novell.com>
12156
12157         * tests/nm-online.c: New file.  Simple utility that returns exit status
12158           noting whether the connection is offline or online.  If offline on
12159           start, it waits 30 seconds (or a command-line given value) for an
12160           online signal.  If it times out, it again returns offline.  This is
12161           useful for scripts that want to wait for network connections.
12162
12163 2006-04-25  Robert Love  <rml@novell.com>
12164
12165         * src/nm-ap-security-wep.c: Bug fix: We stopped setting the
12166           key mode (the authentication algorithm), e.g. open or shared, when we
12167           moved to using wpa_supplicant.  wpa_supplicant defaults to open, so
12168           only shared was broken.  If the user specified a shared key, set it
12169           explicitly, otherwise let wpa_supplicant go with the default.
12170
12171 2006-04-24  Dan Williams  <dcbw@redhat.com>
12172
12173         * src/nm-device-802-11-wireless.c
12174                 - (nm_device_802_11_wireless_set_essid): fix setting of "any" essid
12175
12176 2006-04-24  Dan Williams  <dcbw@redhat.com>
12177
12178         Commit the async scanning patch
12179
12180         * src/nm-device-802-11-wireless.c
12181                 - get rid of scan_mutex
12182                 - (wireless_event_helper): act on wireless scan events
12183                 - (real_start): schedule a pending scan
12184                 - (link_to_specific_ap): fake the link to the AP during a scan
12185                 - (nm_device_802_11_wireless_update_signal_strength): ignore signal
12186                         strength during scans
12187                 - (nm_device_get_frequency, nm_device_set_frequency, nm_device_get_bitrate,
12188                         nm_device_set_bitrate): unused with new scanning code, disable
12189                 - (nm_device_wireless_schedule_scan): removed
12190                 - (nm_device_wireless_process_scan_results): renamed to convert_scan_results()
12191                 - (request_and_convert_scan_results): new function; retrieve scan
12192                         results from the driver and schedule the processing function
12193                 - (scan_results_timeout): timeout triggered when card doesn't send
12194                         a scan results wireless event during a certain interval
12195                 - (schedule_scan_results_timeout): new function; schedule the scan
12196                         results timeout
12197                 - (cancel_scan_results_timeout): new function; cancel the scan
12198                         results timeout
12199                 - (nm_device_802_11_wireless_scan): if wpa_supplicant is running, ask it
12200                         to do the scanning.  Otherwise, just request a scan but don't
12201                         grab results here; instead schedule a timeout for scan results and
12202                         let netlink notify us of scan completion events
12203                 - (nm_device_wireless_schedule_scan): new function; schedule a wireless scan
12204                 - (cancel_pending_scan): new function; cancel a pending wireless scan
12205                 - (supplicant_status_cb): ignore disconnect events while scanning
12206                 - (supplicant_exec): wait a bit longer for the supplicant to start up
12207                 - (nm_device_802_11_wireless_dispose): cancel pending scans and results
12208                         timeouts
12209                 - (get_scan_results): removed; folded into request_and_convert_scan_results()
12210
12211 2006-04-24  Dan Williams  <dcbw@redhat.com>
12212
12213         * gnome/applet/applet-dbus.c
12214                 - Disable the pending call debug stuff, seems under control now
12215
12216 2006-04-20  Robert Love  <rml@novell.com>
12217
12218         Fix bug where hidden ESSID's would not show up in the applet, even
12219         if NMI provided a BSSID -> ESSID mapping from Gconf.  This occurred
12220         because nm_policy_device_list_update_from_allowed_list() would merge
12221         the data, putting a name to the hidden networks, but never notify NMI
12222         of the changes.  Simple fix is to invoke the function
12223         nm_dbus_signal_wireless_network_change() if we make a mapping.
12224         * src/NetworkManagerAPList.c: Call the function
12225           nm_dbus_signal_wireless_network_change() if we made a successful
12226           BSSID to ESSID mapping, notifying the applet of the "new" network.
12227         * src/NetworkManagerAPList.h: Update the prototypes for both
12228           nm_ap_list_copy_essids_by_address() and
12229           nm_ap_list_copy_one_essid_by_address().
12230
12231 2006-04-20  Robert Love  <rml@novell.com>
12232
12233         * gnome/applet/applet-dbus-info.c: Don't bail out if the timestamp is
12234           not set.  Just return zero.
12235
12236 2006-04-20  Robert Love  <rml@novell.com>
12237
12238         * gnome/vpn-properties/nm-vpn-properties.c: Satisfy TODO: Ensure that
12239           only one copy of nm-vpn-properties is running at a time via the 'ol
12240           X selection trick.  This prevents the user from opening two "VPN
12241           Connections" windows from within the applet, which leads to mass
12242           hysteria.
12243         * clipboard.c: New file, implementing simple X selection logic.
12244         * clipboard.h: New file.
12245         * gnome/vpn-properties/Makefile.am: Add clipboard.{c,h}
12246
12247 2006-04-18  Nicolas Trangez  <eikke@eikke.com>
12248
12249         * backends/NetworkManagerGentoo.c: Small cleanups and enhancements
12250         * configure.in
12251           initscript/Gentoo/Makefile.am
12252           initscript/Gentoo/NetworkManagerDispatcher.in
12253                 - New script
12254         * initscript/Gentoo/NetworkManager.in: small dependency fixup from
12255           Gentopia
12256
12257 2006-04-16  Dan Williams  <dcbw@redhat.com>
12258
12259         Patch from Paul Blazejowski <paulb@blazebox.homeip.net>
12260         * configure.in
12261           initscript/Slackware/Makefile.am
12262           initscript/Slackware/rc.networkmanager-dispatcher.in
12263           initscript/Slackware/rc.networkmanager.in
12264                 - Update slackware initscripts
12265
12266 2006-04-10  Robert Love  <rml@novell.com>
12267
12268         * gnome/vpn-properties/nm-vpn-properties.c: Intercept and short-circuit
12269           the "delete_event" signal on the druid's parent window and handle it
12270           our way, lest using the WM to close the druid results in a series of
12271           bloody and ultimately lethal errors.
12272
12273 2006-04-10  Robert Love  <rml@novell.com>
12274
12275         * gnome/vpn-properties/nm-vpn-properties.c: Validate VPN settings on
12276           'Back' too or else the 'Forward' option is initially disabled despite
12277           valid input.
12278
12279 2006-04-06  Robert Love  <rml@novell.com>
12280
12281         Fix bad but simple bug where an active modem connection did not update
12282         NM's connection state, breaking any app that did online/offline:
12283         * src/NetworkManagerMain.h: Add 'modem_active' member to NMData,
12284           represented whether a dial up connection is active, or not.
12285         * src/nm-dbus-nm.c: Set and unset 'modem_active' in response
12286           to modem activation and deactivation.
12287         * src/NetworkManagerDbus.c: When asked our state, do not return
12288           disconnected if the modem is active.
12289
12290 2006-04-04  Robert Love  <rml@novell.com>
12291
12292         * gnome/applet/applet.c: Remove the 'Remove' option that I added to the
12293           applet.  It just confuses the crap out of people and does not make a
12294           lot of sense, as the daemon still runs.
12295
12296 2006-04-02  Tor Krill  <tor@krill.nu>
12297
12298         * initscript/Arch/networkmanager.in: Added checks for HAL and dhcdbd
12299           in start of service.
12300         * src/backends/NetworkManagerArch.c: (nm_system_get_mtu): Added to
12301           get Archlinux backend up to date.
12302
12303 2006-03-29  Robert Love  <rml@novell.com>
12304
12305         Patch by Vinay R <rvinay@novell.com> and Robert Love <rml@novell.com>,
12306         to add support for per-route MSS and improve support for per-interface
12307         MTU:
12308         * src/NetworkManagerSystem.c: Modify nm_system_device_set_ip4_route to
12309           optionally take an MSS parameter and set it for the given route.
12310           Remove nm_system_device_set_ip4_route_with_iface.  Pass in the
12311           NMIP4Config's stored MSS, if any.
12312         * src/nm-ip4-config.c: Add 'mtu' and 'mss' to NMIP4Config, representing
12313           the interface's MTU and the route's MSS, respectively.  Add functions
12314           nm_ip4_config_get_mtu, nm_ip4_config_set_mtu, nm_ip4_config_get_mss,
12315           and nm_ip4_config_set_mss for retrieving and setting the MTU and the
12316           MSS.
12317         * src/nm-ip4-config.h: Add prototypes for nm_ip4_config_get_mtu,
12318           nm_ip4_config_set_mtu, nm_ip4_config_get_mss, and
12319           nm_ip4_config_set_mss.
12320         * src/vpn-manager/nm-vpn-service.c: Modify to receive the MSS from the
12321           VPN daemon.
12322         * src/backends/NetworkManager{Arch,Debian,Gentoo,RedHat,Slackware,SUSE}.c:
12323           Change the retval of nm_system_get_mtu to guint32.
12324         * src/dhcp-manager/nm-dhcp-manager.c: Set the MTU on the new DHCP-given
12325           NMIP4Config to the MTU provided by the system, if any.  TODO: If DHCP
12326           servers can specify MTU's, we should set it here if the MTU was not
12327           provided.
12328
12329 2006-03-27  Jürg Billeter  <j@bitron.ch>
12330
12331         * configure.in:
12332         * initscript/Makefile.am:
12333         * initscript/paldo/Makefile.am:
12334         * initscript/paldo/NetworkManager.in:
12335         * initscript/paldo/NetworkManagerDispatcher.in:
12336         * src/backends/Makefile.am:
12337         * src/backends/NetworkManagerPaldo.c:
12338                 - Add paldo support
12339
12340 2006-03-27  Dan Williams  <dcbw@redhat.com>
12341
12342         Patch from Christian Persch <chpe@gnome.org>
12343         * gnome/applet/applet.glade
12344                 - HIG fixes; mostly for spacing and borders (gnome.org #336220)
12345
12346 2006-03-27  Dan Williams  <dcbw@redhat.com>
12347
12348         Patch from Diffe <diffie@blazebox.homeip.net>
12349         * src/backends/NetworkManagerSlackware.c
12350                 - Don't restart howl, since it's been replaced by Avahi
12351                         in most distributions
12352
12353 2006-03-27  Dan Williams  <dcbw@redhat.com>
12354
12355         Patch from Tor Krill <bugzilla@krill.nu>
12356         * configure.in
12357           initscript/Makefile.am
12358           src/backends/Makefile.am
12359           src/backends/NetworkManagerArch.c
12360           initscript/Arch/Makefile.am
12361           initscript/Arch/networkmanager-dispatcher.in
12362           initscript/Arch/networkmanager.in
12363                 - Add Arch Linux support, fixes gnome.org #335147
12364
12365 2006-03-27  Dan Williams  <dcbw@redhat.com>
12366
12367         Patch from Diffe <diffie@blazebox.homeip.net>
12368      * initscript/Slackware/rc.networkmanager
12369         - update, fixed gnome.org #333368
12370
12371 2006-03-27  Robert Love  <rml@novell.com>
12372
12373         * gnome/applet/other-network-dialog.c: Do not allow the user to try to
12374           create WPA-EAP Ad-Hoc networks because such an action makes no sense.
12375
12376 2006-03-27  Robert Love  <rml@novell.com>
12377
12378         Patch by Jürg Billeter <j@bitron.ch>:
12379         * src/nm-logging.c: Add printf modifier to fix warning on 64-bit
12380           systems.
12381         * src/nm-netlink-monitor.c: Include <net/if.h> instead of <linux/if.h>
12382           as we prefer glibc over kernel headers, if possible.
12383
12384 2006-03-27  Robert Love  <rml@novell.com>
12385
12386         Patch by Jon Escombe <list@dresco.co.uk>:
12387         * gnome/applet/nm-gconf-wso.c: Add missing NM_AUTH_TYPE_WPA_EAP case.
12388         * gnome/applet/nm-gconf-wso-wpa-eap.c: If retrieving the gconf values
12389           fail, don't bail out.  We don't expect all of the various WPA-EAP
12390           values to be present.
12391         * src/nm-ap-security.c: We need to match all capabilities for each
12392           encryption type, not any one of them.
12393
12394 2006-03-27  Robert Love  <rml@novell.com>
12395
12396         * src/backends/NetworkManagerSuSE.c: Revert 2006-03-17 commit and again
12397           restart, not reload, ypbind.  Unfortunately there is no superior
12398           solution.
12399
12400 2006-03-24  Christopher Aillon  <caillon@redhat.com>
12401
12402         * gnome/applet/applet-notifications.c:
12403         When displaying a notification, make sure to get rid of the
12404         previous notification so as to not have competing bubbles,
12405         and stop leaking the old one.
12406
12407         * gnome/applet/applet.c:
12408         * gnome/applet/applet.h:
12409         Add a new 'notification' member to the applet, and zero it out
12410         and free it appropriately.
12411
12412 2006-03-23  Robert Love  <rml@novell.com>
12413
12414         Patch by j <j@bootlab.org>:
12415         * gnome/applet/applet.glade: Don't set the invisible_char property,
12416           which simply overrides the GTK default.  By and by, this behavior
12417           ought to be fixed in Glade.
12418
12419 2006-03-22  Robert Love  <rml@novell.com>
12420
12421         * src/dhcp-manager/nm-dhcp-manager.c: Bump timeout to 45 seconds.
12422
12423 2006-03-22  Robert Love  <rml@novell.com>
12424
12425         Bug fix by Timo Hoenig <thoenig@suse.de>:
12426         * gnome/applet/applet-dbus.c: Let the applet reconnect to DBUS on
12427           disconnect.  Otherwise, we have the daemon surviving DBUS restarts
12428           and the applet going AWOL.
12429
12430 2006-03-22  Robert Love  <rml@novell.com>
12431
12432         * src/dhcp-manager/nm-dhcp-manager.c: Create NM_DHCP_TIMEOUT
12433           preprocessor define and use it instead of open-coded the DHCP
12434           timeout, which is currently 25 seconds, everywhere.
12435
12436 2006-03-22  Robert Love  <rml@novell.com>
12437
12438         Implement "Dynamic WEP", which is basically WPA authentication and WEP
12439         key exchange via WPA, ostensibly providing good security without
12440         requiring hardware that supports full WPA.  Also, add UI elements to
12441         allow the user to select the pairwise & group cipher for WPA Enterprise
12442         networks, too:
12443         * gnome/applet/applet.glade: Update glade file.
12444         * gnome/applet/nm-gconf-wso-wpa-eap.c: Serialize and deserialize the
12445           key type, too, to and from gconf.
12446         * gnome/applet/wireless-security-option.c: Add "wpa_eap" parameter to
12447           wso_wpa_create_key_type_model(), noting whether we are handling PSK
12448           or EAP configuration, and in the latter case add in "Dynamic WEP" if
12449           the capabilities match.
12450         * gnome/applet/wso-private.h: Update wso_wpa_create_key_type_model()'s
12451           prototype.
12452         * gnome/applet/wso-wpa-eap.c: Manage UI elements for the key type and
12453           serialize from UI to DBUS.
12454         * gnome/applet/wso-wpa-psk.c: Cannot fail and always returns at least
12455           one element.
12456         * libnm-util/dbus-helpers.c: Update nmu_security_serialize_wpa_eap(),
12457           nmu_security_serialize_wpa_eap_with_cipher(), and
12458           nmu_security_deserialize_wpa_eap() to take a "key_type" parameter and
12459           serialize/deserialize the key type via DBUS as the new third DBUS
12460           parameter.
12461         * libnm-util/dbus-helpers.h: Update prototypes.
12462         * src/nm-ap-security-wpa-eap.c: Deserialize the key type from DBUS,
12463           too.  If the key type is WEP104, do Dynamic WEP, which means
12464           "IEEE8021X" for "key_mgmt".  Also add support for user-specified
12465           pairwise and group ciphers (fixes a FIXME).
12466
12467 2006-03-21  Robert Love  <rml@novell.com>
12468
12469         * src/NetworkManagerSystem.c, src/NetworkManagerSystem.h: Add
12470           nm_system_get_mtu(), which returns a user-provided or system-mandated
12471           MTU value for a given device, if any, or zero if no such value
12472           exists.  Add nm_system_set_mtu() to set the MTU for a given device
12473           if we have a provided value.
12474         * src/nm-device.c: Set the MTU of devices.
12475         * src/backends/NetworkManagerSuSE.c: Read MTU, if any, from sysconfig.
12476         * src/backends/NetworkManagerDebian.c,
12477           src/backends/NetworkManagerGentoo.c,
12478           src/backends/NetworkManagerRedHat.c,
12479           src/backends/NetworkManagerSlackware.c: Implement stub functions.
12480
12481 2006-03-21  Robert Love  <rml@novell.com>
12482
12483         * src/backends/NetworkManagerSuSE.c: Strip hypens from hex key in
12484           configuration file.
12485
12486 2006-03-17  Robert Love  <rml@novell.com>
12487
12488         * src/backends/NetworkManagerSuSE.c: Do "rcypbind reload" to send the
12489           signal SIGHUP to ypbind, not "rcypbind restart" to physically restart
12490           it, in case it is not running in the first place.  We just want its
12491           configuration reloaded.  Also, do not "rcypbind stop" on device down.
12492
12493 2006-03-15  Robert Love  <rml@novell.com>
12494
12495         * gnome/applet/applet.glade, gnome/applet/wso-wep-ascii.c,
12496           gnome/applet/wso-wep-hex.c, gnome/applet/wso-wep-passphrase.c: The
12497           label "WEP 40/128-bit" is inconsistent because the physical key size
12498           is 40 or 104-bits, to which a 24-bit initialisation vector is
12499           appended, forming a 64 or 128-bit traffic key.  Thus, the label ought
12500           to read "40/104" or "64/128".  I do not care much which, but most
12501           users think of "silver" and "gold" encryption as 64 and 128-bits, so
12502           let's stick with that.  Thus, s/"40/128"/"64/128"/g.  Also, since our
12503           WEP passphrase support only handles 128-bit keys, and any future
12504           64-bit passphrase support will require a new option (no way to auto-
12505           detect the target key size), explicitly label our passphrase support
12506           "WEP 128-bit Passphrase".
12507
12508 2006-03-15  Robert Love  <rml@novell.com>
12509
12510         * src/dhcp-manager/nm-dhcp-manager.c: Do not start dhcdbd, but rely on
12511           the system init scripts (or some other mechanism) starting it (or a
12512           compatible DBUS service) before NetworkManager runs.  This means that
12513           distributions might need to update their init scripts.  This fixes
12514           possible races and is quite a bit cleaner.
12515         * initscript/SUSE/networkmanager.in: Update to start dhcdbd before
12516           starting the NetworkManager daemon.
12517
12518
12519 2006-03-14  Robert Love  <rml@novell.com>
12520
12521         * src/backends/NetworkManagerSuSE.c: Check that we have a valid AP
12522           before adding anything.
12523
12524 2006-03-13  Robert Love  <rml@novell.com>
12525
12526         * gnome/vpn-properties/nm-vpn-properties.c: Hide the next page's
12527           widgets, too, if they exist, in case the user hit the back button.
12528           Fixes a bug where the details page contains the widgets of multiple
12529           VPN modules (Novell bug #157048).
12530
12531 2006-03-13  Robert Love  <rml@novell.com>
12532
12533         Patch by Timo Hoenig <thoenig@suse.de>:
12534         * dispatcher-daemon/NetworkManagerDispatcher.c: Let the dispatcher
12535           daemon survive DBUS restarts, too.
12536
12537 2006-03-10  Robert Love  <rml@novell.com>
12538
12539         * gnome/applet/applet.glade: Add toggles to show/obfuscate the
12540           passphrase or key.
12541         * gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
12542           gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-eap.c,
12543           gnome/applet/wso-wpa-psk.c: Show and obfuscate passphrases and keys
12544           in response to "toggled" signal on new toggle.
12545
12546 2006-03-10  Robert Love  <rml@novell.com>
12547
12548         * src/nm-ap-security-wpa-eap.c: Pass fake empty strings for
12549           serialization if strings are NULL, lest DBUS get angry.
12550
12551 2006-03-10  Robert Love  <rml@novell.com>
12552
12553         * src/nm-ap-security-wpa-eap.c: Don't log the password.
12554
12555 2006-03-09  Robert Love  <rml@novell.com>
12556
12557         * src/backends/NetworkManagerSuSE.c: Read in WEP and WPA static
12558           configurations.
12559
12560 2006-03-09  Dan Williams  <dcbw@redhat.com>
12561
12562         Track pending call requests in the applet, and report how many are
12563         outstanding, and how long each completed one takes.
12564         
12565         * gnome/applet/applet-dbus-devices.c
12566           gnome/applet/applet-dbus-vpn.c
12567                 - Track pending calls
12568
12569         * gnome/applet/applet-dbus.[ch]
12570                 - Remove some unused enums
12571                 - (nma_dbus_send_with_callback, nma_dbus_send_with_callback_replied):
12572                         new functions to track dbus pending calls and spit out some
12573                         statistics about them
12574
12575 2006-03-09  Robert Love  <rml@novell.com>
12576
12577         * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Have the function
12578           nm_ap_set_timestamp() take the second and micro-second parameters as
12579           direct arguments, which avoids both a dynamic memory allocation and a
12580           structure-to-structure copy!  Add a new interface, the aptly named
12581           nm_ap_set_timestamp_via_timestamp(), to set the timestamp from an
12582           existing GTimeVal, as nm_ap_set_timestamp() once did, for use with
12583           the return from nm_ap_get_timestamp().  New users should use the new
12584           nm_ap_set_timestamp(), not nm_ap_set_timestamp_via_timestamp(), for
12585           the extreme benefit to performance.
12586         * src/NetworkManagerAPList.c, src/nm-dbus-nmi.c,
12587           src/backends/NetworkManagerSuSE.c: Use the new functions as needed.
12588
12589 2006-03-08  Robert Love  <rml@novell.com>
12590
12591         * gnome/applet/applet.glade: Hide the password entry text with
12592           asterisks.
12593
12594 2006-03-08  Robert Love  <rml@novell.com>
12595
12596         * src/NetworkManagerSystem.h, src/nm-device.c, NetworkManagerDebian.c,
12597           NetworkManagerRedHat.c, NetworkManagerGentoo.c,
12598           NetworkManagerSlackware.c: Pass nm_system_device_get_system_config()
12599           a second argument, NMData.
12600         * src/nm-ap-security.h, src/nm-ap-security.c: Export nm_ap_security_new.
12601         * src/backends/NetworkManagerSuSE.c: Add wireless networks from ifcfg-*
12602           config files as trusted.
12603
12604 2006-03-06  Robert Love  <rml@novell.com>
12605
12606         * gnome/applet/Makefile.am: Define AUTOSTARTDIR.
12607         * gnome/applet/applet.c: Add 'Remove' option to the right click menu,
12608           to exit the applet.  As a sweet side-effect, idea courtesy of Chris
12609           Rivera, detect if the applet was auto-started.  If so, ask the user
12610           if he or she would like to stop automatically running the applet on
12611           login.  If so, disable autostart.
12612
12613 2006-03-06  Robert Love  <rml@novell.com>
12614
12615         * NetworkManager.pc.in:  Provide an -I to the NetworkManager include
12616           directory in CFLAGS so developers can actually use NetworkManager.h.
12617
12618 2006-03-06  Robert Love  <rml@novell.com>
12619
12620         * src/dhcp-manager/nm-dhcp-manager.c: Use preprocessor defines and not
12621           open-coded integer constants.  Add state_to_string() to map a given
12622           state to a textual description, and provide that when notifying of
12623           state change.
12624         * src/dhcp-manager/nm-dhcp-manager.h: Provide defines for the dhcdbd
12625           states, copied and cleaned up from dhcdbd.d.  Ideally, we would use
12626           this header directly, but it is currently not installed on most
12627           systems.
12628
12629 2006-03-05  Dan Williams  <dcbw@redhat.com>
12630
12631         Process netlink messages in device subclasses rather than in
12632         NetworkManager.c.  Also add support for recognizing Wireless Events.
12633         
12634         * configure.in
12635                 - Find GLIB_GENMARSHAL
12636
12637         * src/Makefile.am
12638                 - Since we're marshalling custom types for wireless event signals,
12639                         we get to create our own marshallers using GLIB_GENMARSHAL
12640
12641         * src/NetworkManager.c
12642                 - (nm_monitor_wired_link_state): renamed to nm_monitor_setup
12643                 - (nm_monitor_setup): renamed from nm_monitor_wired_link_state, and
12644                         cut down somewhat.  We no longer process signals here.
12645                 - (nm_data_new): create the netlink monitor here, and remove a
12646                         useless call to nm_policy_schedule_device_change_check()
12647                 - (nm_data_free): get rid of the netlink monitor here
12648                 - (nm_device_link_activated, nm_device_link_deactivated): removed
12649                 - (main): don't create the netlink monitor here, let nm_data_new
12650                         do that.  Call nm_policy_schedule_device_change_check() right
12651                         before we jump to the mainloop to figure out which device
12652                         to use first
12653
12654         * src/NetworkManagerSystem.[ch]
12655                 - (nm_system_get_rtnl_index_from_iface, nm_system_get_iface_from_rtnl_index):
12656                         convert back and forth from interface names to interface
12657                         indexes
12658
12659         * src/nm-device-802-11-wireless.c
12660                 - (real_init): connect to wireless-event signals from the netlink
12661                         monitor object
12662                 - (nm_device_802_11_wireless_event): new function, schedule handler
12663                         for wireless event signals from the netlink monitor object.  We
12664                         want the handler to run in the device's context
12665                 - (wireless_event_helper): handle wireless-event signals from netlink
12666                 - (nm_device_802_11_wireless_dispose): disconnect wireless-event
12667                         signal handler
12668
12669         * src/nm-device-802-11-wireless.h
12670                 - remove unused prototype for nm_device_802_11_wireless_new
12671
12672         * src/nm-device-802-3-ethernet.c
12673                 - (real_init): new function; set up signal handlers for link events
12674                 - (nm_device_802_3_ethernet_link_activated): new function, schedule
12675                         handler for netlink link activated events on device's main loop
12676                 - (link_activated_helper): when we get a link activated event, set
12677                         the device's link to be active
12678                 - (nm_device_802_3_ethernet_link_deactivated): new function; schedule
12679                         handler for netlink link deactivated events on device's main loop
12680                 - (link_deactivated_helper): when we get a link deactivated event, set
12681                         the device's link to be inactive
12682                 - (nm_device_802_3_ethernet_dispose): disconnect signal handler on
12683                         dispose
12684
12685         * src/nm-device-802-3-ethernet.h
12686                 - remove unused prototype for nm_device_802_3_ethernet_new
12687
12688         * src/nm-device.[ch]
12689                 - (nm_get_device_by_iface_locked): variant of nm_get_device_by_iface
12690                         but locks the device list
12691                 - (nm_device_set_active_link): a little bit of cleanup and de-indenting
12692
12693         * src/nm-netlink-monitor.[ch]
12694                 - (nm_netlink_monitor_class_install_signals): New signal
12695                         "wireless-event"
12696                 - (nm_netlink_monitor_new): keep reference to NMData so we can get
12697                         at the device list
12698                 - (nm_netlink_monitor_event_handler): expand for wireless events too
12699
12700         * src/nm-marshal-main.c
12701                 - Include generated nm-marshal.c and nm-marshal.h
12702
12703         * src/nm-marshal.list
12704                 - List of custom marshal functions
12705
12706 2006-03-05  Dan Williams  <dcbw@redhat.com>
12707
12708         * gnome/applet/applet-notifications.h
12709                 - Protect prototype of nma_send_event_notification() because it
12710                         includes libnotify-specific types
12711                 - Include libnotify/libnotify.h too, since we technically need it
12712
12713         * gnome/applet/applet.c
12714                 - (nma_show_vpn_failure_dialog): fix usage of g_return_if_fail
12715                 - (nma_show_vpn_login_banner_dialog): add some error checking
12716
12717 2006-03-04  Dan Williams  <dcbw@redhat.com>
12718
12719         Clean up activation cancellation.  Should be a lot faster now.  Observed
12720         an issue with wireless devices between stage 2 and 3 of activation, where
12721         activation would be cancelled, but the device thread wouldn't notice until
12722         the supplicant association timed out.  Reorganize activation such that
12723         a cancellation handler gets immediately scheduled in the device's thread,
12724         and devices have a chance to perform any custom cleanup too.
12725
12726         * src/nm-device.[ch]
12727                 - (activation_cancel_handler): new device-type-specific function
12728                         for cleaning up device-type-specific stuff on cancellation
12729                 - (cancel_activation): removed
12730                 - (nm_device_activation_cancel): subsume functionality of
12731                         real_cancel_activation, but instead of doing anything, punt
12732                         operation to a handler that's run in device-thread context
12733                 - (nm_device_schedule_activation_handle_cancel): fix spelling of
12734                         a warning message
12735                 - (activation_handle_cancel_helper): cancellation handler run in
12736                         device-thread context, calls device-type-specific cancelation,
12737                         then tears down the activation request
12738                 - (real_activation_cancel_handler): generic cancellation handler,
12739                         deals with cancelling any in-process DHCP request
12740                 - (nm_device_activate_stage1_device_prepare,
12741                    nm_device_activate_stage2_device_config,
12742                    nm_device_activate_stage3_ip_config_start,
12743                    nm_device_activate_stage4_ip_config_get,
12744                    nm_device_activate_stage4_ip_config_timeout,
12745                    nm_device_activate_stage5_ip_commit): don't call
12746                         nm_device_schedule_activation_handle_cancel() any more, since
12747                         cancellation will have been already scheduled for us by
12748                         nm_device_activation_cancel().  Just exit the function and
12749                         assume that the cancel handler will be called next.
12750
12751         * src/nm-device-802-3-ethernet.c
12752                 - (real_act_stage2_config): remove; didn't do anything anyway
12753
12754         * src/nm-device-802-11-wireless.c
12755                 - (supplicant_status_cb): ensure we don't do anything if the activation
12756                         got cancelled
12757                 - (real_activation_cancel_handler): implement; cancel user key request
12758                         on activation cancellation
12759
12760 2006-03-04  Dan Williams  <dcbw@redhat.com>
12761
12762         * src/nm-device-802-11-wireless.c
12763                 - (supplicant_send_network_config): assume that drivers that don't
12764                         support WPA pretty much suck, and can't handle NM scanning
12765                         along with wpa_supplicant.
12766
12767 2006-03-03  Robert Love  <rml@novell.com>
12768
12769         * configure.in: Bump version to 0.6.0.
12770         * NEWS: Update.
12771
12772 2006-03-03  Robert Love  <rml@novell.com>
12773
12774         * configure.in: Require DBUS 0.60 or later.
12775
12776 2006-03-03  Dan Williams  <dcbw@redhat.com>
12777
12778         Fix a crash if an "Other wireless network" was chosen, failed, then
12779         chosen again from the applet's menu.  If the other network wasn't
12780         noticed in a scan, it wouldn't have any capabilities, but would still
12781         be listed because the user forced the network.  To fix this, we set
12782         sensible capabilities on the forced network, which will get overwritten
12783         with the correct ones if the network shows up later in a scan.
12784         
12785         * src/nm-ap-security.h
12786                 - Add a new "get_default_capabilities_func" member to the
12787                         NMAPSecurity class
12788
12789         * src/nm-ap-security.c
12790                 - (nm_ap_security_get_default_capabilities): new function
12791
12792         * src/nm-ap-security.c
12793           src/nm-ap-security-wep.c
12794           src/nm-ap-security-wpa-psk.c
12795           src/nm-ap-security-wpa-eap.c
12796                 - Implement get_default_capabilities_func() for all, which
12797                         uses the information contained in a specific NMAPSecurity
12798                         object to determine default AP capabilites necessary
12799                         to support that object
12800
12801         As a secondary measure, we now prune artificial access points that fail
12802         to be activated right away.  The thing failed, and we have no scan data for
12803         it, so it's pretty much useless since security information is only saved
12804         in the applets when a connection is successful.
12805
12806         * src/NetworkManagerAPList.c
12807                 - (nm_ap_list_merge_scanned_ap): mark any ap noticed in a scan
12808                         not artificial.  If we see it, it's no longer a figment of the
12809                         user's imagination :)
12810
12811         * src/NetworkManagerPolicy.c
12812                 - (nm_policy_activation_failed): send along the failed AP if we
12813                         have it
12814
12815         * src/nm-device-802-11-wireless.c
12816                 - (real_activation_failure_handler): remove artificial APs from
12817                         the device list, because activation failed
12818
12819 2006-03-02  Robert Love  <rml@novell.com>
12820
12821         Add support for retrieving both the per-device speed and the
12822         per-network maximum supported rate.  Then change the getProperties
12823         DBUS API for both networks and devices to report this informaiton.
12824         Finally, display the information via both nm-applet and nm-tool:
12825         * gnome/applet/applet-dbus-devices.c: Grab the speed from getProperties
12826           and set it.
12827         * gnome/applet/applet.c: Display the device's speed in the 'Connection
12828           Information' dialog.
12829         * gnome/applet/applet.glade: Update the UI to show per-device speed.
12830         * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Add interfaces
12831           network_device_get_speed() and network_device_set_speed() for
12832           retrieving and setting, respectively, a network device's current
12833           speed.
12834         * src/nm-dbus-device.c: Send the device's speed on getProperties.
12835         * src/nm-device-802-11-wireless.c: Return the rate in Mb/s, not Kb/s,
12836           in the function nm_device_802_11_wireless_get_bitrate() -- it does
12837           not matter (yet) what the units are, because we only feed it its own
12838           output.  Implement SIOCGIRATE and set the per-network maximum
12839           supported rate during scanning.
12840         * src/nm-device-802-11-wireless.h: Export the function
12841           nm_device_802_11_wireless_get_bitrate().
12842         * src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h: Add
12843           function nm_device_802_3_ethernet_get_speed() for returning an
12844           802.3's current speed, in Mb/s.
12845         * test/nm-tool.c: Display the per-device current speed, if available,
12846           and the per-network maximum rate.
12847
12848 2006-03-02  Dan Williams  <dcbw@redhat.com>
12849
12850         * src/nm-device-802-11-wireless.c
12851                 - (nm_device_802_11_wireless_set_scan_interval): don't scan-spam the
12852                         card when it gets initialized.  Since devices don't get added to
12853                         the scan list until they are initialized, this function wasn't
12854                         setting the intitial scan interval correctly, and was leaving
12855                         it at 0.  This caused cards to get many scan requests in a short
12856                         amount of time when they were initialized
12857
12858 2006-03-02  Robert Love  <rml@novell.com>
12859
12860         * gnome/applet/applet.c: Do not set the pixbuf if we don't have an
12861           active device.  But do not do what we used to do and override the
12862           state, which caused the dreaded icon race of '05.
12863
12864 2006-03-02  Robert Love  <rml@novell.com>
12865
12866         Commit Dan's update of my previous commit:
12867         * src/nm-device-802-11-wireless.c: Always set the mode, because the
12868           set_mode() function itself does the check.  But do only set the
12869           frequency if in Ad-Hoc mode.
12870
12871 2006-03-02  Robert Love  <rml@novell.com>
12872
12873         Patch by Brian Magnuson <magnuson@rcn.com>:
12874         * src/nm-device-802-11-wireless.c: During scanning, only set the
12875           wireless mode to infrastructure if it is not currently in
12876           infrastructure mode.  For some driver, setting the mode is a costly
12877           operation, apparently.
12878
12879 2006-03-01  Rodrigo Moya <rodrigo@novell.com>
12880
12881         * Makefile.am: use the correct dir for autostart mechanism.
12882
12883 2006-02-28  Dan Williams  <dcbw@redhat.com>
12884
12885         Patch from Brian Magnuson <magnuson@rcn.com>
12886         * gnome/applet/applet.c
12887                 - (nma_show_vpn_failure_dialog): fix errors left over from
12888                         libnotify support changes
12889
12890 2006-02-28  Dan Williams  <dcbw@redhat.com>
12891
12892         * src/vpn-manager/nm-vpn-act-request.[ch]
12893                 - (nm_vpn_act_request_is_activated): don't use a switch/case for
12894                         just one value
12895                 - (nm_vpn_act_request_is_failed): new function; return whether or
12896                         not the vpn activation request has failed
12897
12898         * src/vpn-manager/nm-vpn-manager.c 
12899                 - (nm_vpn_manager_deactivate_vpn_connection): tell the vpn service
12900                         daemon to kill the connection when the activation request fails.
12901                         Fixes issue where NM would get confused if the VPN activation
12902                         request timed out, and would not allow further VPN connections
12903                         on that service.
12904
12905 2006-02-28  Dan Williams  <dcbw@redhat.com>
12906
12907         * gnome/applet/applet.c
12908                 - (nma_menu_add_vpn_menu): until the NM VPN manager can deal with
12909                         overlapping connection requests, disable all VPN menu items
12910                         but the active VPN connection
12911
12912 2006-02-28  Dan Williams  <dcbw@redhat.com>
12913
12914         * src/vpn-manager/nm-vpn-connection.c
12915                 - (nm_vpn_connection_set_parent_device): fix C&P error which
12916                         called g_object_unref() on the connection's parent device
12917                         when it should have been ref-ed instead.  Fixes crash with
12918                         repeated vpn connect requests
12919
12920 2006-02-28  Christopher Aillon  <caillon@redhat.com>
12921
12922         * gnome/applet/applet.glade:
12923         Mark a few strings non-translatable, since they shouldn't be.
12924
12925 2006-02-28  Dan Williams  <dcbw@redhat.com>
12926
12927         * src/vpn-manager/nm-vpn-service.c
12928                 - (nm_vpn_service_start_connection): if the vpn service daemon is
12929                         already running, don't blindly ask it to connect, but wait until
12930                         it's in the STOPPED state first.  Fixes an assertion when user
12931                         starts a second vpn connection without stopping the first.
12932                 - (nm_vpn_service_stage2_daemon_wait): ensure the vpn service's
12933                         dbus service exists before continuing with the connection
12934                         process, and reduce latency while waiting for it to become
12935                         available
12936                 - (nm_vpn_service_schedule_stage2_daemon_wait): reduce latency
12937                         waiting for the vpn service daemon to become available
12938                 - General log message cleanups; show progress via "Stage x of 4"
12939                         rather than not telling anyone how many stages there are
12940
12941 2006-02-28  Robert Love  <rml@novell.com>
12942
12943         * src/NetworkManagerSystem.h: Add nm_system_should_modify_resolv_conf.
12944         * src/backends/NetworkManagerSuSE.c: Implement the interface
12945           nm_system_should_modify_resolv_conf() for SUSE.
12946         * src/backends/NetworkManagerDebian.c,
12947           src/backends/NetworkManagerGentoo.c,
12948           src/backends/NetworkManagerRedHat.c,
12949           src/backends/NetworkManagerSlackware.c: Add stub.
12950         * src/named-manager/Makefile.am: Grab includes from src.
12951         * src/named-manager/nm-named-manager.c: Allow backends to disable the
12952           automatic updating of resolv.conf.  This is useful for testing,
12953           broken static configurations, and administrator lock-down.
12954
12955 2006-02-28  Dan Williams  <dcbw@redhat.com>
12956
12957         * src/nm-device-802-11-wireless.c
12958                 - Move all the wpa_supplicant-related management stuff into its
12959                         own struct, just for oranization's sake
12960                 - (supplicant_exec): when exec-ing wpa_supplicant, connect its stdout
12961                         to a GIOChannel/GSource
12962                 - (supplicant_log_stdout): new function; grab output from the
12963                         wpa_supplicant stdout pipe and write it to our logs.
12964
12965 2006-02-27  Christopher Aillon  <caillon@redhat.com>
12966
12967         * src/nm-device-802-11-wireless.c:
12968         Err, fix thinko in my previous commit.
12969
12970 2006-02-28  Robert Love  <rml@novell.com>
12971
12972         * gnome/applet/wso-wpa-eap.c: Fix misc. FIXME statements.
12973
12974 2006-02-28  Robert Love  <rml@novell.com>
12975
12976         * libnm-util/dbus-helpers.c, src/nm-ap-security-wpa-eap.c,
12977           src/nm-ap-security-wpa-psk.c, gnome/applet/nm-gconf-wso-wpa-eap.c,
12978           gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXMEs: Callers of the DBUS
12979           deserializers are responsible for freeing the returned DBUS strings.
12980
12981 2006-02-27  Christopher Aillon  <caillon@redhat.com>
12982
12983         * src/nm-device-802-11-wireless.c:
12984         The scan list is being pruned prematurely.  We should prune after
12985         the device has gone MIA for three scans, not one.  Split out the
12986         interval to realtime seconds function to better serve this.
12987
12988 2006-02-27  Robert Love  <rml@novell.com>
12989
12990         * dispatcher-daemon/NetworkManagerDispatcher.c, src/NetworkManager.c:
12991           Open the pid file O_TRUNC, so if it already exists we truncate it to
12992           zero length.  Also, be more verbose about warnings generated during
12993           writing out the pid file.  Finally, always write out the pid file if
12994           in daemon mode.  Use "--pid-file" to override the default.
12995
12996 2006-02-27  Robert Love  <rml@novell.com>
12997
12998         Patch by R. Vinay <rvinay@novell.com>:
12999         * gnome/vpn-properties/nm-vpn-properties.c: Remove the gconf key
13000           'last_attempt_success' when removing a VPN connection, too.  (Fixes
13001           Novell bug #153628).
13002           
13003 2006-02-27  Robert Love  <rml@novell.com>
13004
13005         * gnome/applet/applet.glade: Set "activates_default" on passphrase
13006           entry so user can hit <ENTER> after entering passphrase (Novell bug
13007           #153738).
13008
13009 2006-02-27  Dan Williams  <dcbw@redhat.com>
13010
13011         * gnome/applet/*
13012                 - Mass search/replace of:
13013                         nmwa -> nma
13014                         NMWirelessApplet -> NMApplet
13015                         NM_*_WIRELESS_APPLET -> NM_*_APPLET
13016                    (it ain't just for wireless anymore, ma!)
13017                 - Fix duplicate function name printing when using nm_warning
13018                 - wireless-applet.glade -> applet.glade
13019
13020 2006-02-27  Dan Williams  <dcbw@redhat.com>
13021
13022         * dispatcher-daemon/NetworkManagerDispatcher.c
13023                 - Accept --pid-file with a path to a pidfile, write it out on
13024                         startup, and delete it on shutdown
13025
13026         * src/NetworkManager.c
13027                 - Accept --pid-file with a path to a pidfile, write it out on
13028                         startup, and delete it on shutdown
13029                 - Move nm_print_usage() lower
13030
13031         * initscripts/RedHat/NetworkManager.in
13032                 - Use new --pid-file option
13033                 - Fix service stopping to wait a bit for NM to quit
13034
13035         * initscripts/RedHat/NetworkManagerDispatcher.in
13036                 - Use new --pid-file option
13037
13038 2006-02-26  Dan Williams  <dcbw@redhat.com>
13039
13040         * src/Makefile.am
13041                 - make and install nm-crash-logger
13042
13043         * src/nm-logging.[ch]
13044                 - New files; consolidate logging and crash handling
13045
13046         * src/nm-crash-logger.c
13047           src/gdb-cmd
13048                 - Standalong crashlogger for NM, grab a backtrace
13049                         using GDB
13050
13051         * src/NetworkManager.[ch]
13052                 - Remove signal handling and put it into nm-logging.c
13053
13054 2006-02-26  Dan Williams  <dcbw@redhat.com>
13055
13056         * configure.in
13057           gnome/applet/Makefile.am
13058                 - Conditionalize all the notify stuff
13059
13060         Merge most of Chris Aillon's notification patch:
13061         
13062         * gnome/applet/applet-notifications.[ch]
13063                 - New files; show a notification
13064         
13065         * gnome/applet/applet-dbus-devices.[ch]
13066                 - (nmwa_dbus_device_activated, nmwa_dbus_device_activated_cb,
13067                    nmwa_dbus_device_deactivated, nmwa_dbus_device_deactivated_cb):
13068                         new functions, do the right thing when a device change occurs
13069
13070         * gnome/applet/applet-dbus.c
13071                 - (nmwa_dbus_filter): Split out DeviceNowActive and DeviceNoLongerActive
13072                         signals, so we can handle them specially
13073
13074         * gnome/applet/applet.[ch]
13075                 - nmwa_schedule_vpn_login_banner -> nmwa_show_vpn_login_banner
13076                 - nmwa_schedule_vpn_failure_alert -> nmwa_show_vpn_failure_alert
13077                 - (nmwa_notify_state): remove
13078                 - (nmwa_update_state); remove call to nmwa_notify_state, since the
13079                         notification work is now done when the appropriate dbus signals
13080                         are received.
13081                 - (nmwa_show_vpn_login_banner, nmwa_show_vpn_failure_alert): don't
13082                         defer execution of the notification/dialog stuff.  That was an
13083                         artifact of the previous multi-threaded nature of the applet
13084                         and is now pointless.
13085                 - (nmwa_notify_vpn_failure, nmwa_notify_vpn_login_banner): remove,
13086                         no longer needed.  Function folded into applet-notifications.c
13087
13088         * src/NetworkManagerPolicy.c
13089                 - (nm_policy_activation_finish): send the AP along with the device
13090                         status change signal, if the connection is wireless.  Should
13091                         fix the race where applet would show a connection to "unknown"
13092
13093 2006-02-25  Robert Love  <rml@novell.com>
13094
13095         Add WPA Enterprise support:
13096         * gnome/applet/Makefile.am: Build the files nm-gconf-wso-wpa-eap.c and
13097           nm-gconf-wso-wpa-eap.h.
13098         * gnome/applet/nm-gconf-wso-wpa-eap.c,
13099           gnome/applet/nm-gconf-wso-wpa-eap.h:  Add WPA Enterprise Gconf
13100           serialization and deserialization.
13101         * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
13102           gnome/applet/wireless-security-option.c, gnome/applet/wso-wpa-psk.c,
13103           gnome/applet/wso-wpa-psk.h: Clean up, support new defines.
13104         * gnome/applet/wireless-applet.glade: Add UI for configurating security
13105           settings related to WPA Enterprise.
13106         * gnome/applet/wireless-security-manager.c: Invoke wso_wpa_eap_new() to
13107           instantiate WPA Enterprise wireless-security-option.
13108         * gnome/applet/wso-wpa-eap.c, gnome/applet/wso-wpa-eap.h: New files.
13109           Implement WPA Enterprise wireless-security-option object.
13110         * include/NetworkManager.h: Add new NM_AUTH_TYPE_* and NM_EAP_METHOD_*
13111           defines.  Cleanup.
13112         * libnm-util/cipher-wpa-psk-hex.c,
13113           libnm-util/cipher-wpa-psk-passphrase.c: Cleanup.
13114         * libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h: Add
13115           nmu_security_serialize_wpa_eap() to serialize input to DBUS method,
13116           nmu_security_serialize_wpa_eap_with_cipher() to serialize input
13117           including the cipher to DBUS method, and
13118           nmu_security_deserialize_wpa_eap() to deserialize from DBUS return
13119           to output.
13120         * src/Makefile.am: Build the files nm-ap-security-wpa-eap.c and
13121           nm-ap-security-wpa-eap.h
13122         * src/NetworkManagerAP.c: Add NM_AUTH_TYPE_WPA_EAP to
13123           NM_802_11_CAP_KEY_MGMT_802_1X cipher to capability mapping.
13124         * src/nm-ap-security-wpa-eap.c, src/nm-ap-security-wpa-eap.h: New
13125           files.  Implement NMAPSecurityWPA_EAP object.
13126         * src/nm-ap-security-wpa-psk.c: Cleanup.
13127         * src/nm-ap-security.c: Support NM_AUTH_TYPE_EAP cipher and instantiate
13128           an NMAPSecurityWPA_EAP object via the method
13129           nm_ap_security_wpa_eap_new_deserialize().
13130         * src/nm-dbus-nm.c: Cleanup.
13131         * test/nm-tool.c: Display "Enterprise" for wireless networks providing
13132           WPA Enterprise support.
13133
13134 2006-02-24  Robert Love  <rml@novell.com>
13135
13136         Patch from Timo Hoenig <thoenig@suse.de>:
13137         * src/NetworkManagerDbus.c: Survive DBUS restarts like a champ.
13138
13139 2006-02-24  Robert Love  <rml@novell.com>
13140
13141         Patch from Dan Winship <danw@novell.com>:
13142         * gnome/applet/eggtrayicon.c: Update EggTrayIcon code.  Set the gdk
13143           area to transparent.
13144
13145 2006-02-21  Dan Williams  <dcbw@redhat.com>
13146
13147         * gnome/applet/applet.[ch]
13148           gnome/applet/applet-dbus.c
13149                 - Implement notification support for VPN messages too
13150
13151 2006-02-21  Dan Williams  <dcbw@redhat.com>
13152
13153         * gnome/applet/applet-dbus-info.c
13154                 - Clean up warning messages to not double-print the function
13155
13156 2006-02-21  Dan Williams  <dcbw@redhat.com>
13157
13158         * gnome/applet/applet-compat.c
13159                 - (convert_one_entry): accept entries without a key_type and
13160                         convert them to unencrypted networks
13161
13162 2006-02-21  Dan Williams  <dcbw@redhat.com>
13163
13164         * gnome/libnm_glib/libnm_glib.c
13165                 - Use __func__ everywhere we can
13166                 - Code cleanups
13167                 - Use dbus pending calls rather than blocking
13168                 - Reduce busywaits for our thread to start and stop
13169                         (gnome.org #330562)
13170                 - (libnm_glib_dbus_init): Use dbus_bus_get_private() so we don't
13171                         stomp on others using the default shared dbus connection.
13172                         Fixes #rh177546# and gnome.org #326572
13173
13174 2006-02-21  Dan Williams  <dcbw@redhat.com>
13175
13176         Patch from Rodney Dawes <dobey@novell.com>
13177         * configure.in
13178           gnome/applet/Makefile.am
13179           gnome/applet/applet.c
13180                 - Add libnotify support if '--enable-notify=yes' is passed
13181                   at configure time
13182
13183 2006-02-16  Kang Jeong-Hee  <keizie@gmail.com>
13184
13185         * configure.in (ALL_LINGUAS): ko added. (Korean)
13186
13187 2006-02-15  Robert Love  <rml@novell.com>
13188
13189         * src/nm-device-802-11-wireless.c: Use LOCALSTATEDIR preprocessor
13190           define, not an open-coded "/var", for WPA_SUPPLICANT_GLOBAL_SOCKET
13191           and WPA_SUPPLICANT_CONTROL_SOCKET.
13192         
13193 2006-02-15  Robert Love  <rml@novell.com>
13194
13195         * src/nm-device-802-11-wireless.c, src/nm-device.c: When printing debug
13196           information about what connection stage we are at, provide the total
13197           number of stages, e.g. "Stage 2 of 5", so users know how far along
13198           they are if they experience problems.
13199
13200 2006-02-15  Robert Love  <rml@novell.com>
13201
13202         * gnome/vpn-properties/Makefile.am: Define SYSCONFDIR preprocessor
13203           define to $sysconfdir.
13204         * gnome/vpn-properties/nm-vpn-properties.c: Make sure we hide the VPN
13205           editing dialog, vpn_edit_widget, which fixes a bug where editing one
13206           type of VPN and then editing another results in a mangled dialog
13207           box containing the widgets from both VPNs (fixes Novell #150854).
13208           Also, some misc. cleanup and use SYSCONFDIR not open coded directory.
13209
13210 2006-02-14  Robert Love  <rml@novell.com>
13211
13212         * src/NetworkManager.c: Call closelog() on daemon shutdown to close
13213           syslog's file descriptor.
13214
13215 2006-02-14  Robert Love  <rml@novell.com>
13216
13217         Fix bug around since the change to "deal with APs changing settings on
13218         us," checked in on the fifth of February in the year of the dog, 
13219         wherein connecting to non-broadcast encrypted networks always fails
13220         because nm_ap_get_encrypted() always returns FALSE, even when the user
13221         provided a key, because the newly-created fake AP does not have any
13222         capabilities set, which is a sypmtom of security settings not matching
13223         capabilities (Novell bug #150784):
13224         * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Add new interface,
13225           nm_ap_add_capabilities_from_security(), which sets the given AP's
13226           capabilities off the given security settings.  Also improve our
13227           handling of capabilities w.r.t. NM_802_11_CAP_PROTO_NONE and
13228           NM_AUTH_CIPHER_AUTO.
13229         * src/nm-device-802-11-wireless.c: Call the function
13230           nm_ap_add_capabilities_from_security() to ensure that capabilities
13231           match newly updated security settings.
13232
13233 2006-02-14  Robert Love  <rml@novell.com>
13234
13235         * src/nm-device-802-11-wireless.c: Clean up nm_warning calls: Print the
13236           error as a string, not an integer, if possible; do not print the
13237           function name twice; always give the interface, if possible; misc.
13238           cleanup.
13239
13240 2006-02-12  Dan Williams  <dcbw@redhat.com>
13241
13242         Patch from Tom Parker <palfrey@tevp.net>
13243         * src/NetworkManagerSystem.h
13244                 - Remove prototype for nm_system_device_setup_static_ip4_config(),
13245                         no longer used
13246
13247         * src/backends/NetworkManagerDebian.c
13248                 - Remove some dead code (nm_system_device_setup_static_ip4_config) and
13249                         unused variables
13250
13251 2006-02-12  Dan Williams  <dcbw@redhat.com>
13252
13253         * vpn-daemons/openvpn/intltool-extract.in
13254           vpn-daemons/openvpn/intltool-merge.in
13255           vpn-daemons/openvpn/intltool-update.in
13256           vpn-daemons/pptp/intltool-extract.in
13257           vpn-daemons/pptp/intltool-merge.in
13258           vpn-daemons/pptp/intltool-update.in
13259                 - Remove from CVS, they should get created by intltoolize,
13260                         shouldn't they?
13261
13262 2006-02-12  Dan Williams  <dcbw@redhat.com>
13263
13264         * vpn-daemons/pptp/src/pppd/patchlevel.h
13265         * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
13266                 - Rename VERSION -> PPPD_VERSION to avoid conflict with the
13267                         Makefile-defined VERSION
13268
13269 2006-02-09  Dan Williams  <dcbw@redhat.com>
13270
13271         Patch from: Vinay A R <rvinay@novell.com>
13272         * src/vpn-manager/nm-vpn-act-request.[ch]
13273                 - Added 'routes' and 'routes_count' to struct NMVPNActRequest since
13274                         IPSec VPNs require them for std gateway.
13275                 - (nm_vpn_act_request_new): takes arguments for 'user_routes'
13276                         and 'user_routes_count'
13277                 - (nm_vpn_act_request_get_user_routes): new function; gets user
13278                         defined routes  from NMVPNActRequest object, returns the string
13279                         array of routes.
13280
13281         * src/vpn-manager/nm-vpn-manager.[ch]
13282                 - (nm_vpn_manager_activate_vpn_connection): take additional arguments
13283                         for 'user_routes' and 'user_routes_count'
13284         
13285         * src/vpn-manager/nm-dbus-vpn.c
13286                 - (nm_dbus_vpn_activate_connection): gets 'user_routes' from
13287                         nm_dbus_vpn_get_routes() to pass to nm_vpn_manager_activate_vpn_connection()
13288         
13289         * src/vpn-manager/nm-vpn-service.c
13290                 - (nm_vpn_service_stage3_connect): pass user routes over dbus to
13291                         the vpn daemon
13292
13293         Modifications by Dan:
13294         * src/vpn-manager/nm-vpn-service.c
13295                 - (nm_vpn_service_stage3_connect): ensure that we don't pass NULL string
13296                         arrays into dbus
13297
13298         * vpn-daemons/vpnc/src/nm-vpnc-service.c
13299         * vpn-daemons/pptp/src/nm-pptp-service.c
13300         * vpn-daemons/openvpn/src/nm-openvpn-service.c
13301                 - Grab user routes from dbus message
13302                 - Free all string arrays we got from dbus
13303
13304 2006-02-07  Robert Love  <rml@novell.com>
13305
13306         Patch by Stefan Seyfried <seife@suse.de>:
13307         * libnm-util/cipher.c: Fix off-by-one error in cipher_bin2hexstr.
13308
13309 2006-02-06  Robert Love  <rml@novell.com>
13310
13311         * src/nm-device-802-11-wireless.c: Fix leak in supplicant_status_cb().
13312
13313 2006-02-06  Robert Love  <rml@novell.com>
13314
13315         * src/NetworkManagerUtils.c: kill_newline(): 'l' is unsigned so the
13316           test ">=" is never false.  If no newline is found, we loop forever.
13317           We can just check for ">" because the following if() will see the
13318           zero-th argument if the while() gets that far.
13319
13320 2006-02-05  Dan Williams  <dcbw@redhat.com>
13321
13322         Refine handling of non-broadcast networks.
13323
13324         * src/NetworkManagerAPList.c
13325                 - (nm_ap_list_merge_scanned_ap): unconditionally copy the 'broadcast'
13326                         property from scanned AP to the AP from the device list
13327
13328         * src/nm-device-802-11-wireless.c
13329                 - (supplicant_send_network_config): use ap_scan=1 for all networks
13330                         except non-SSID-broadcasting and Ad-Hoc networks.  Use
13331                         ap_scan=2 for those.  Also, don't set scan_ssid for Ad-Hoc
13332                         networks since those don't have APs.
13333                 - (add_new_ap_to_device_list): if there's no valid SSID, mark the
13334                         AP as non-SSID-broadcasting
13335                 - (process_scan_results): don't handle non-SSID-broadcasting here
13336
13337 2006-02-05  Dan Williams  <dcbw@redhat.com>
13338
13339         * src/nm-device-802-11-wireless.c
13340                 - (get_supplicant_timeout): new function; return
13341                         NM_SUPPLICANT_TIMEOUT * 2 for cards that support more than
13342                         14 channels.  These are likely a/b/g cards, like Atheros, and
13343                         slow as hell to scan.
13344                 - (supplicant_timeout_cb, supplicant_monitor_start): use
13345                         get_supplicant_timeout()
13346
13347 2006-02-05  Dan Williams  <dcbw@redhat.com>
13348
13349         * src/dhcp-manager/nm-dhcp-manager.c
13350                 - Loose a commit race with Robert; make sure size check
13351                         uses size of DHCP_SERVICE_LEN, not hardcoded 15
13352
13353 2006-02-05  Robert Love  <rml@novell.com>
13354
13355         Patch by Christoph Brill <chrisbrill@gmx.net>:
13356         * src/dhcp-manager/nm-dhcp-manager.c: Replace two open coded defines
13357           with DHCP_SERVICE_NAME.
13358
13359 2006-02-05  Dan Williams  <dcbw@redhat.com>
13360
13361         Remove anything having to do with device_setup_func from the
13362         AP security objects, since it's no longer used.
13363
13364         * src/nm-ap-security.h
13365                 - Kill device_setup_func and nm_ap_security_device_setup()
13366
13367         * src/nm-ap-security-wep.c
13368           src/nm-ap-security-wpa-psk.c
13369                 - (real_device_setup): remove
13370
13371         * src/nm-ap-security.c
13372                 - (real_device_setup): remove
13373                 - (nm_ap_security_device_setup): remove
13374
13375         * src/nm-device-802-11-wireless.[ch]
13376                 - (nm_device_802_11_wireless_set_wep_enc_key): make static
13377                 - (set_wireless_config, wireless_configure_adhoc): remove; unused
13378                         and done by wpa_supplicant now anyway
13379
13380 2006-02-05  Dan Williams  <dcbw@redhat.com>
13381
13382         * src/nm-device-802-11-wireless.c
13383                 - (ap_need_key, real_act_stage2_config): deal with APs changing
13384                         settings on us.  Previously NM would loop asking for the
13385                         key but getting the same one back.  Now, if the NMI-supplied
13386                         cipher doesn't overlap with the scanned AP capabilities,
13387                         we request a completely new key from the user.
13388
13389 2006-02-05  Dan Williams  <dcbw@redhat.com>
13390
13391         * src/NetworkManagerUtils.c
13392                 - (nm_utils_supplicant_request_with_check, nm_utils_supplicant_request):
13393                         Handle newline killing better
13394
13395 2006-02-05  Dan Williams  <dcbw@redhat.com>
13396
13397         * gnome/applet/nm-gconf-wso.c
13398                 - (real_serialize_dbus): return TRUE, not 0.  Fixes serialization
13399                         of unencrypted access point security info.
13400
13401 2006-02-03  Robert Love  <rml@novell.com>
13402
13403         * src/NetworkManagerUtils.c: Even for debugging, we should not log the
13404           user's encryption key, so we print the err_msg_cmd not the command,
13405           if available.  So long as SUPPLICANT_DEBUG is default, this makes
13406           sense.
13407
13408 2006-02-03  Christopher Aillon  <caillon@redhat.com>
13409
13410         * initscript/RedHat/NetworkManagerDispatcher.in:
13411         * initscript/RedHat/NetworkManager.in: modify the pidfile location
13412         Patch from Dan Walsh <dwalsh@redhat.com>
13413
13414 2006-02-03  Robert Love  <rml@novell.com>
13415
13416         * dispatcher-daemon/NetworkManagerDispatcher.c,
13417           dispatcher-daemon/Makefile.am: Don't hardcode the location of /etc
13418           but use the sysconfdir.
13419
13420 2006-02-03  Robert Love  <rml@novell.com>
13421
13422         * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h:
13423           Make nm_device_802_11_wireless_get_essid() return 'const char *' not
13424           'char *'.
13425         * src/nm-ip4-config.c, src/nm-ip4-config.h: Make the functions
13426           nm_ip4_config_get_hostname() and
13427           nm_ip4_config_get_nis_domain() return 'const char *' not 'char *'.
13428         * src/backends/NetworkManagerSuSE.c: Fix up for above.  Also, do not
13429           leak g_strdup() result.
13430
13431 2006-02-03  Robert Love  <rml@novell.com>
13432
13433         * src/NetworkManagerAP.c: In nm_ap_new(), default new networks to
13434           broadcast == TRUE.  Also, copy broadcast and artificial properties
13435           from source network to destination in nm_ap_copy().
13436         * src/nm-device-802-11-wireless.c: Don't set broadcast flag to TRUE,
13437           since we now default new networks to non-hidden.
13438
13439 2006-02-03  Dan Williams  <dcbw@redhat.com>
13440
13441         * gnome/applet/main.c
13442                 - (main): change the NEVER->ALWAYS so we start at the
13443                         beginning of the session, if being session-managed
13444
13445 2006-02-03  Dan Williams  <dcbw@redhat.com>
13446
13447         * gnome/applet/main.c
13448                 - (main): in a variation on Robert's patch, change
13449                         RESTART_IMMEDIATELY -> RESTART_NEVER.  Should do what
13450                         he wants.
13451
13452 2006-02-02  Robert Love  <rml@novell.com>
13453
13454         * src/Makefile.am: If we aren't going to create the run directory at,
13455           uh, run-time, create it during install.  Then users just doing
13456           'make install' are cool, too.  While we are here, create the
13457           dispatcher.d directory, too.
13458         * src/nm-device-802-11-wireless.c: Let the Makefile define and pass in
13459           the exact run directory.
13460         * Makefile.am: Install nm-applet.desktop.
13461
13462 2006-02-02  Robert Love  <rml@novell.com>
13463
13464         * src/NetworkManagerAP.c: Add 'broadcast' property to the NMAccessPoint
13465           structure, which denotes whether or not the AP is hidden.  This is a
13466           superset of 'artificial' -- we need 'broadcast' because a hidden AP
13467           can show up in the scan list.  Add nm_ap_get_broadcast() and
13468           nm_ap_set_broadcast() accessor interfaces.
13469         * src/NetworkManagerAP.h: Add prototypes for nm_ap_get_broadcast() and
13470           nm_ap_set_broadcast().
13471         * src/nm-dbus-net.c: Add new argument, boolean broadcast, to the
13472           "getProperties" method, which denotes whether or not the given
13473           network is hidden.
13474         * src/nm-device-802-11-wireless.c: Set broadcast to FALSE when creating
13475           an artificial network.  Set broadcast to TRUE when scanning returns
13476           an ESSID and FALSE when not.
13477         * gnome/applet/applet-dbus-devices.c: Retrieve 'broadcast' argument
13478           from "getProperties" method on a network.  Possible TODO is to
13479           somehow display this.
13480         * test/nm-tool.c: Display "Hidden" if the AP does not broadcast.
13481
13482 2006-02-02  Dan Williams  <dcbw@redhat.com>
13483
13484         * src/nm-device-802-11-wireless.c
13485                 - (supplicant_interface_init): don't try to create
13486                         /var/run/NetworkManager, since that should be done by
13487                         the distro package.  Causes problems for stuff like SELinux
13488
13489 2006-02-02  Robert Love  <rml@novell.com>
13490
13491         Patch by Sureshkumar T <tsureshkumar@novell.com>:
13492         * src/vpn-manager/nm-vpn-connection.c, src/NetworkManagerSystem.c:
13493           Check for and handle empty string for iface.
13494
13495 2006-02-01  Robert Love  <rml@novell.com>
13496
13497         * configure.in, man/nm-tool.1.in, man/Makefile.am: Add nm-tool(1)
13498           manpage.
13499
13500 2006-01-31  Dan Williams  <dcbw@redhat.com>
13501
13502         * nm-applet.desktop
13503                 - Add --sm-disable to Exec arguments, presuming that when
13504                         using autostart, we don't want session management
13505
13506 2006-01-31  Robert Love  <rml@novell.com>
13507
13508         * src/NetworkManagerAP.c: Add two new manufacturer default network
13509           names: linksys-a and linksys-g.  These are found (at least) on the
13510           Linksys WAP55AG, which does both 802.11a and 802.11b, each with their
13511           own ESSID.
13512
13513 2006-01-31  Robert Love  <rml@novell.com>
13514
13515         * src/NetworkManagerAP.c: Optimize the function
13516           nm_ap_has_manufacturer_default_essid().  I did not like its resulting
13517           machine code.  This is the first in a series of code tweaks aiming to
13518           generate better machine code and make NetworkManager all the better.
13519           Just kidding.  Who has time to go through the assembly generated for
13520           every function?  I certainly don't.  I have a wife, a kid, a job,
13521           a mortgage, a mistress.  But this function was so bad, I was called
13522           to arms.  Like the book.
13523
13524 2006-01-31  Robert Love  <rml@novell.com>
13525
13526         * src/nm-device-802-11-wireless.c: Set "scan_ssid 1" if the requested
13527           AP is not broadcasting, to scan with probe request frames.  Required
13528           for non-broadcast networks.
13529
13530 2006-01-31  Robert Love  <rml@novell.com>
13531
13532         * src/nm-device-802-11-wireless.c: Make the wpa_supplicant a
13533           preprocessor define (still 20s).  Fix message text in nm_info()
13534           s/too too/took too/.
13535
13536 2006-01-30  Dan Williams  <dcbw@redhat.com>
13537
13538         * src/nm-device-802-11-wireless.c
13539                 - (supplicant_monitor_start): increase connect/auth timeout to
13540                         20 seconds from 10 seconds
13541
13542 2006-01-30  Dan Williams  <dcbw@redhat.com>
13543
13544         * src/Makefile.am
13545                 - Define LOCALSTATEDIR
13546
13547         * src/nm-device-802-11-wireless.c
13548                 - (supplicant_exec): tell wpa_ctrl_open() to stick the local control
13549                         socket where we want it to
13550
13551         * src/wpa_ctrl.[ch]
13552                 - (wpa_ctrl_open): accept location to put local control socket
13553
13554 2006-01-30  Robert Love  <rml@novell.com>
13555
13556         * src/dhcp-manager/nm-dhcp-manager.c: Pass TRUE for ignore_error in
13557           get_ip4_string() for "domain_name".
13558
13559 2006-01-30  Robert Love  <rml@novell.com>
13560
13561         * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
13562           gnome/applet/wireless-security-option.c, include/NetworkManager.h,
13563           libnm-util/cipher-wpa-psk-hex.c, src/nm-ap-security-wpa-psk.c,
13564           libnm-util/cipher-wpa-psk-passphrase.c, src/nm-ap-security.c: Add
13565           support for "Automatic" pairwise and group cipher configuration by
13566           letting wpa_supplicant handle the details.  Add UI elements, new
13567           cipher type NM_AUTH_CIPHER_AUTO, and backend support.  Works like a
13568           charm.  Note this does more than add a nice feature, it fixes a bug.
13569           Apparently, some people have AP's where the pairwise cipher does not
13570           match the group cipher.  Insane, but true.
13571
13572 2006-01-30  Dan Williams  <dcbw@redhat.com>
13573
13574         * gnome/applet/applet-dbus-devices.c
13575                 - (nmwa_dbus_device_get_driver_cb, nmwa_dbus_device_get_driver): new
13576                         functions, grab device driver name from NetworkManager
13577                 - (nmwa_dbus_device_properties_cb): call functions to get driver
13578
13579         * gnome/applet/applet.c
13580                 - (nmwa_update_info): show driver name in Connection Information
13581                         dialog
13582
13583         * gnome/applet/nm-device.[ch]
13584                 - (network_device_get_driver, network_device_set_driver): add
13585                         accessors for driver name
13586
13587         * gnome/applet/wireless-applet.glade
13588                 - Add line for driver name to Connection Information dialog
13589
13590         * src/nm-dbus-device.c
13591                 - (nm_dbus_device_get_driver): new function to return driver name
13592                 - (nm_dbus_device_methods): hook up driver name function to dbus
13593
13594         * test/nm-tool.c
13595                 - (get_driver_name): new function
13596                 - (detail_device): grab and show driver name
13597
13598 2006-01-30  Robert Love  <rml@novell.com>
13599
13600         * gnome/applet/applet.c: Apparently gtk_message_dialog_new_with_markup
13601           does not parse the markup if it is not part of the format.
13602
13603 2006-01-30  Robert Love  <rml@novell.com>
13604
13605         * gnome/applet/passphrase-dialog.c: If wsm_set_capabilities() returns
13606           FALSE, we have no security options for this dialog, so we throw up
13607           an error dialog instead of a broken passphrase dialog.  Fixes
13608           Novell #138404.
13609         * gnome/applet/wireless-security-manager.c,
13610           gnome/applet/wireless-security-manager.h: If wsm_set_capabilities()
13611           does not add any security options, not even NONE, print a warning
13612           and return FALSE.  This let's functions constructing a dialog bail
13613           out if the device's capabilities and the network's requirements have
13614           zero overlap.
13615
13616 2006-01-27  Robert Love  <rml@novell.com>
13617
13618         * configure.in: Require wpa_supplicant.  Detect location of binary and
13619           use it.  Override with "--with-wpa_supplicant=foo".
13620         * src/Makefile.am, src/nm-device-802-11-wireless.c: Do not hardcode the
13621           path to wpa_supplicant but use the auto-detected or user-provided
13622           value from configure.
13623
13624 2006-01-27  Robert Love  <rml@novell.com>
13625
13626         * src/backends/NetworkManagerSuSE.c: If DHCLIENT_SET_HOSTNAME is set
13627           but the DHCP server did not return a hostname, try to look up our
13628           name via DNS and set the system hostname to that.
13629
13630 2006-01-27  Dan Williams  <dcbw@redhat.com>
13631
13632         * src/backends/NetworkManagerRedHat.c
13633                 - Add NM_CONTROLLED system network script support for RH/Fedora
13634
13635 2006-01-27  Dan Williams  <dcbw@redhat.com>
13636
13637         * src/backends/NetworkManagerGentoo.c
13638                 - (nm_system_device_get_disabled): add missing function.
13639                         Gnome BZ #328780
13640
13641 2006-01-27  Clytie Siddall <clytie@riverland.net.au>
13642
13643         * configure.in: Added vi in ALL_LINGUAS line.
13644         
13645 2006-01-26  Robert Love  <rml@novell.com>
13646
13647         * src/Makefile.am, src/kernel-types.h: Now that two different source
13648           files are feeling the crack-addled leakage of kernel types such as
13649           u32 and s8 -- superior to __u64 and __u8, to be sure, but not valid
13650           types in user-space -- define a header and include it as needed.
13651         * src/nm-device-802-3-ethernet.c: Include kernel-types.h
13652         * src/nm-device-802-3-ethernet.h: Remove defines.
13653         * src/wpa.c: Remove defines and include kernel-types.h.
13654
13655 2006-01-26  Robert Love  <rml@novell.com>
13656
13657         * TODO: Update.  WPA support is in the bag and HAL restarts (should)
13658           work.
13659
13660 2006-01-26  Robert Love  <rml@novell.com>
13661
13662         * configure.in: Change '-Wno-unused' to '-Wno-unused-parameter'
13663         * gnome/applet/applet-compat.c, gnome/applet/applet-dbus-devices.c,
13664           gnome/applet/applet-dbus-info.c, gnome/applet/applet-dbus.c,
13665           gnome/applet/applet.c, gnome/applet/applet.h, src/nm-dbus-device.c,
13666           gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
13667           gnome/applet/nm-gconf-wso.c, gnome/applet/nm-gconf-wso.h,
13668           gnome/applet/other-network-dialog.c, src/nm-device.c, test/nm-tool.c,
13669           gnome/applet/passphrase-dialog.c, src/nm-device-802-11-wireless.c,
13670           gnome/applet/wireless-security-manager.c, src/nm-ip4-config.c,
13671           gnome/applet/wireless-security-option.c, src/nm-ap-security.c,
13672           gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
13673           gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-psk.c,
13674           libnm-util/dbus-helpers.c, src/NetworkManagerAP.c, src/nm-dbus-nmi.c,
13675           src/NetworkManagerSystem.c, src/nm-ap-security-wep.c,
13676           src/nm-device-802-11-wireless.h, test/libnm-util/test-ciphers.c,
13677           src/named-manager/nm-named-manager.c, test/test-common/test-common.c:
13678           Kill unused variables, labels, and static functions.  Don't pass
13679           string literals as the format string for printf-like functions.
13680
13681 2006-01-25  Dan Williams  <dcbw@redhat.com>
13682
13683         * gnome/applet/wireless-applet.glade
13684                 - Remove WPA2 Checkbox
13685
13686         * gnome/applet/wireless-security-manager.c
13687                 - (wsm_set_capabilities): split up sections for wpa and wpa2.
13688                         This means the Wireless Security menu now has two WPA options,
13689                         one for "WPA Personal" and one for "WPA2 Personal"
13690
13691         * gnome/applet/wso-wpa-psk.[ch]
13692                 - (wso_wpa_psk_new): remove stuff for WPA2 checkbox, and use
13693                         'wpa2' argument to determine WPA version to use
13694                 - (append_dbus_params_func): pass stored WPA version to cipher
13695                         rather than using the (removed) checkbox
13696
13697 2006-01-24  Robert Love  <rml@novell.com>
13698
13699         * src/dhcp-manager/nm-dhcp-manager.c: Null-out the original byte array
13700           before we g_strdup(), not the ultimate string.
13701
13702 2006-01-23  Dan Williams  <dcbw@redhat.com>
13703
13704         * src/NetworkManagerAP.[ch]
13705                 - (nm_ap_new_from_ap): copy original essid too
13706                 - (nm_ap_unref): free original essid
13707                 - (nm_ap_get_orig_essid): new function
13708                 - (nm_ap_set_essid): Convert essid to UTF-8 for display and dbus,
13709                         but keep original essid around too
13710
13711         * src/nm-device-802-11-wireless.c
13712                 - (supplicant_send_network_config): send wpa_supplicant the
13713                         _original_ essid, and not as a string, but in hex.  Should
13714                         allow us to connect to more APs that use wierd character
13715                         encodings for their essids
13716
13717         * utils/nm-utils.[ch]
13718                 - (nm_utils_essid_to_utf8): make a best-effort to convert the essid
13719                         to UTF-8.  If it's not already valid UTF-8, we check LANG and
13720                         use the current locale as a hint for what encoding the essid
13721                         might be in.  Obviously not 100% accurate, but the idea here is
13722                         that if a user's locale is ex. ja_JP, they are more likely than
13723                         not to be in Japan, where access points will likely be in some
13724                         Japanese encoding.
13725
13726 2006-01-23  Dan Williams  <dcbw@redhat.com>
13727
13728         * libnm-util/cipher-private.h
13729           libnm-util/cipher.c
13730           libnm-util/cipher.h
13731                 - (cipher_bin2hexstr, cipher_hexstr2bin): make public
13732
13733 2006-01-23  Robert Love  <rml@novell.com>
13734
13735         Patch by Timo Hoenig <thoenig@suse.de>:
13736         * dhcp-manager/nm-dhcp-manager.c, nm-device.c, nm-ip4-config.c,
13737           nm-ip4-config.h, NetworkManagerSystem.h: Save the hostname reported
13738           by DHCP and pass it to the backends, allowing distribution-specific
13739           behavior with respect to the DHCP-supplied hostname (if nothing else,
13740           some distributions might not want to set the hostname).
13741         * backends/NetworkManagerSuSE.c: Set the hostname if the variable
13742           DHCLIENT_SET_HOSTNAME is set to "yes" in /etc/sysconfig/network/dhcp.
13743           Also update our NIS behavior.
13744         * backends/NetworkManagerDebian.c, backends/NetworkManagerGentoo.c,
13745           backends/NetworkManagerRedHat.c, backends/NetworkManagerSlackware.c:
13746           Add stub functions.
13747
13748 2006-01-23  Robert Love  <rml@novell.com>
13749
13750         * Makefile.am, nm-applet.desktop: Add autostart .desktop file, now that
13751           gnome-session does autostart.  TODO: We need to install this to
13752           $prefix/share/autostart/.
13753
13754 2006-01-22  Dan Williams  <dcbw@redhat.com>
13755
13756         * src/NetworkManagerAP.[ch]
13757           src/nm-dbus-nmi.c
13758           src/nm-device-802-11-wireless.c         
13759                 - Make nm_ap_get_essid return "const char *"
13760
13761 2006-01-22  Dan Williams  <dcbw@redhat.com>
13762
13763         * src/NetworkManagerAP.[ch]
13764                 - (nm_ap_get_matched, nm_ap_set_matched): remove
13765
13766         * src/NetworkManagerAPList.[ch]
13767                 - (nm_ap_list_diff): removed
13768                 - (nm_ap_list_merge_scanned_ap): move AP dbus signal logic here,
13769                         deal with access points changing essids on us
13770
13771         * src/nm-device-802-11-wireless.c
13772                 - (add_new_ap_to_device_list): move AP dbus signal logic to
13773                         src/NetworkManagerAPList.c
13774                 - (real_can_interrupt_activation): new function; allow interruption
13775                         of device activation if we are waiting for a network key
13776
13777         * src/NetworkManagerPolicy.c
13778                 - (nm_policy_device_change_check): allow interruption of currently
13779                         activating devices if the device allows it.  Previous behavior
13780                         would refuse to activate a just-plugged wired device if a
13781                         wireless device was waiting for a key.
13782
13783         * src/nm-device.[ch]
13784                 - (nm_device_can_interrupt_activation): new function; ask devices
13785                         whether their activation can be interrupted
13786
13787 2006-01-20  Robert Love  <rml@novell.com>
13788
13789         * Makefile.am, configure.in: Add new man subdirectory.
13790         * man, man/NetworkManager.1.in, man/NetworkManagerDispatcher.1.in,
13791           man/Makefile.am: Add man pages for NetworkManager and its
13792           crime-solving bumbling buddy, NetworkManagerDispatcher.
13793         * man/.cvsignore: Add.
13794         * initscript/Debian/NetworkManager,
13795           initscript/Gentoo/NetworkManager.in,
13796           initscript/RedHat/NetworkManager.in,
13797           initscript/RedHat/NetworkManagerDispatcher.in,
13798           initscript/SUSE/networkmanager-dispatcher.in,
13799           initscript/SUSE/networkmanager.in: Update for /usr/sbin not /usr/bin.
13800
13801 2006-01-20  Robert Love  <rml@novell.com>
13802
13803         * src/NetworkManagerDbus.c: Fail if NM's DBUS service is already taken,
13804           instead of queuing.  This prevents the running of multiple NM
13805           daemons concurrently, which does not work whatsoever and results in
13806           neither daemon working correctly.  Also, we don't handle queuing and
13807           name-owner-changes, anyhow.
13808
13809 2006-01-20  Robert Love  <rml@novell.com>
13810
13811         * src/Makefile.am: Install the NetworkManager daemon to sbin, not bin.
13812         * dispatcher/Makefile.am: Install the NetworkManagerDispatcher daemon
13813           to sbin, not bin.
13814
13815 2006-01-19  Robert Love  <rml@novell.com>
13816
13817         * configure.in: Require hal 0.5.0 or later.
13818
13819 2006-01-18  Robert Love  <rml@novell.com>
13820
13821         * src/NetworkManager.c, src/NetworkManagerSystem.h, src/nm-device.c:
13822           Allow backends to flag a device (in whatever distro-dependent way
13823           they so desire) as disabled.  NM will ignore any such device.
13824         * src/backends/NetworkManagerDebian.c,
13825           src/backends/NetworkManagerRedHat.c,
13826           src/backends/NetworkManagerSlackware.c: Add stub function
13827           nm_system_device_get_disabled() that always returns FALSE (enabled).
13828         * src/backends/NetworkManagerSuSE.c: Add system_disabled field to the
13829           SUSE-specific configuration structure.  Fill it in from the
13830           NM_CONTROLLED variable in the system networking scripts.  If this var
13831           exists and is "no", we ignore the device.
13832
13833 2006-01-17  Robert Love  <rml@novell.com>
13834
13835         * configure.in: Remove 'no' language.  Replaced by 'nb', which is
13836           identical for NM.  For a full discussion, see the thread at
13837           http://mail.gnome.org/archives/gnome-i18n/2004-August/msg00006.html.
13838
13839 2006-01-17  Dan Williams  <dcbw@redhat.com>
13840
13841         * src/nm-device.c
13842                 - (nm_device_class_init): connect a default act_stage4_ip_config_timeout
13843                         function.  Fixes crash when wired DHCP fails.
13844
13845 2006-01-16  Robert Love  <rml@novell.com>
13846
13847         * src/Makefile.am: Don't install NMLoadModules
13848         * src/NMLoadModules, test/NMLoadModules: Move the NMLoadModules script
13849           from src/ to test/ as no one uses it anymore.  Note that I would be
13850           fine with removing it altogether.
13851
13852 2006-01-16  Robert Love  <rml@novell.com>
13853
13854         * gnome/applet/eggtrayicon.c, src/nm-device.c, src/nm-ap-security.c,
13855           gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
13856           gnome/applet/nm-gconf-wso.c, src/nm-device-802-3-ethernet.c,
13857           gnome/vpn-properties/nm-vpn-properties.c, src/nm-ap-security-wep.c,
13858           src/nm-ap-security-wpa-psk.c, src/nm-device-802-11-wireless.c,
13859           src/nm-netlink-monitor.c: Don't miss any initializers on structure
13860           declarations, ever.
13861         * gnome/applet/applet.c: Remove useless check (NMState is unsigned and
13862           NM_STATE_DISCONNECTED is zero).
13863
13864 2006-01-16  Robert Love  <rml@novell.com>
13865
13866         * src/nm-device-802-11-wireless.c: argv[3], not argv[4].  Fix
13867           uninitialized parameter and buffer overflow.  Novell #143496.
13868
13869 2006-01-16  Dan Williams  <dcbw@redhat.com>
13870
13871         Apply the PtP Address bits of a patch from Tim Niemueller
13872
13873         * src/nm-ip4-config.[ch]
13874                 - Add ip4_ptp_address member to object
13875                 - (nm_ip4_config_copy): copy ptp address too
13876                 - (nm_ip4_config_get_ptp_address, nm_ip4_config_set_ptp_address):
13877                         new functions
13878                 - (nm_ip4_config_to_rtnl_addr): use ptp address when asked to,
13879                         rather than local tunnel ip address
13880
13881         * src/vpn-manager/nm-vpn-service.c
13882                 - (print_vpn_config): update for PtP address
13883                 - (nm_vpn_service_stage4_ip_config_get): switch parsing to
13884                         DBusMessageIters in preparation for getting routes from the VPN
13885                         service daemons too
13886
13887         * vpn-daemons/openvpn/src/nm-openvpn-service-openvpn-helper.c
13888                 - (send_config_info): update for PtP address, clean up code
13889                 - (main): update for PtP address, clean up code, fix typo
13890
13891         * vpn-daemons/openvpn/src/nm-openvpn-service.c
13892                 - (nm_openvpn_dbus_process_helper_ip4_config): update for PtP address
13893
13894         * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
13895                 - (pptp_ip_up): update for PtP address
13896
13897         * vpn-daemons/pptp/src/nm-pptp-service.c
13898                 - (nm_pptp_dbus_process_helper_ip4_config): update for PtP address
13899
13900         * vpn-daemons/vpnc/src/nm-vpnc-service.c
13901                 - (print_vpn_config): update for PtP address
13902                 - (nm_vpnc_dbus_process_helper_ip4_config): update for PtP address
13903
13904 2006-01-16  Dan Williams  <dcbw@redhat.com>
13905
13906         * gnome/applet/applet.c
13907                 - (nmwa_add_networks_helper): don't indicate an active network
13908                         if NM is disconnected or asleep
13909
13910 2006-01-16  Dan Williams  <dcbw@redhat.com>
13911
13912         * src/NetworkManagerPolicy.c
13913                 - (nm_policy_device_change_check): switch devices if we lose the link
13914                         on an ethernet device. 
13915
13916 2006-01-16  Dan Williams  <dcbw@redhat.com>
13917
13918         * gnome/applet/wso-wpa-psk-hex.[ch]
13919                 - Renamed -> wso-wpa-psk.[ch]
13920
13921         * gnome/applet/wso-wpa-psk.[ch]
13922                 - New files
13923
13924         * gnome/applet/wso-wpa-psk-passphrase.[ch]
13925                 - Removed, rolled into wso-wpa-psk.[ch]
13926
13927         * gnome/applet/Makefile.am
13928                 - Updated for above changes
13929
13930         * gnome/applet/wireless-applet.glade
13931                 - Consolidate WPA-PSK options into one notebook
13932                         widget, and make dialogs invisible by default
13933                         to fix screen oddities
13934
13935         * gnome/applet/wireless-security-manager.c
13936                 - (wsm_set_capabilities): create the new wpa-psk widget rather
13937                         than both the old hex & passphrase ones
13938
13939 2006-01-16  Dan Williams  <dcbw@redhat.com>
13940
13941         * gnome/applet/other-network-dialog.c
13942                 - (nmwa_ond_init): Change text to refer to "name" rather than "ESSID"
13943
13944 2006-01-16  Dan Williams  <dcbw@redhat.com>
13945
13946         * gnome/applet/applet.c
13947                 - (nmwa_show_vpn_login_banner_dialog, nmwa_show_vpn_failure_dialog,
13948                    nmwa_driver_notify, show_warning_dialog): fix up focus-stealing
13949                         prevention to realize window before trying to get server
13950                         time
13951
13952         * gnome/applet/other-network-dialog.c
13953                 - (nmwa_other_network_dialog_run): fix up focus-stealing
13954                         prevention to realize window before trying to get server
13955                         time
13956
13957         * gnome/applet/passphrase-dialog.c
13958                 - (nmi_passphrase_dialog_new): fix up focus-stealing
13959                         prevention to realize window before trying to get server
13960                         time
13961
13962 2006-01-16  Robert Love  <rml@novell.com>
13963
13964         Patch from Timo Hoenig  <thoenig@suse.de:
13965         * libnm-util/cipher-wep-ascii.h, libnm-util/cipher-wep-hex.h,
13966           libnm-util/cipher-wep-passphrase.h, libnm-util/cipher-wpa-psk-hex.h,
13967           libnm-util/cipher-wpa-psk-passphrase.h, libnm-util/cipher.h,
13968           libnm-util/dbus-helpers.h: add checks whether headers are used
13969           within a C++ build.
13970
13971 2006-01-16  Dan Williams  <dcbw@redhat.com>
13972
13973         * gnome/applet/wireless-security-option.c
13974                 - (wso_wpa_create_key_type_model): clarify AES-CCMP algorithm name
13975
13976 2006-01-16  Dan Williams  <dcbw@redhat.com>
13977
13978         * libnm-util/cipher-wpa-psk-passphrase.c
13979                 - (cipher_wpa_psk_passphrase_new): correct passphrase length, should
13980                         be 8 - 63 characters inclusive
13981
13982 2006-01-16  Dan Williams  <dcbw@redhat.com>
13983
13984         * src/nm-dbus-nm.c
13985                 - (nm_dbus_nm_sleep): bring device down after quick deactivation
13986
13987 2006-01-13  Robert Love  <rml@novell.com>
13988
13989         Patch by T Sureshkumar <tsureshkuman@novell.com>:
13990         * src/NetworkManagerSystem.c: Don't assert iface != NULL, allowing VPN
13991           modules that do not use an interface.
13992
13993 2006-01-13  Dan Williams  <dcbw@redhat.com>
13994
13995         * src/nm-device.c
13996           src/nm-device.h
13997                 - Allow subclasses to implement deactivate_quickly()
13998                 - (nm_device_deactivate_quickly): call subclass
13999                         deactivate_quickly() methods
14000                 - (nm_device_set_active_link): small cleanups, and don't
14001                         deactivate the device right away because we risk a deadlock
14002                         when called from device thread, waiting for the device
14003                         thread to cancel activation
14004
14005         * src/nm-device-802-11-wireless.c
14006                 - (real_deactivate_quickly): new function
14007                 - (nm_device_802_11_wireless_class_init): hook in real_deactivate_quickly
14008                 - (real_deactivate): move supplicant cleanup to real_deactivate_quickly
14009                         so that we kill the supplicant when we sleep too
14010                 - (supplicant_interface_init): work around naive naming attempts of
14011                         wpa_ctrl when naming sockets
14012
14013 2006-01-13  Dan Williams  <dcbw@redhat.com>
14014
14015         * src/nm-device-802-11-wireless.c
14016                 - (supplicant_cleanup): delete old device control sockets too
14017                 - (supplicant_get_device_socket_path): new function to consolidate
14018                         locations that need a path to a device's control socket
14019
14020 2006-01-12  Robert Love  <rml@novell.com>
14021
14022         * src/backends/NetworkManagerSuSE.c: Put the ppp device in the
14023           description so that the description is unique for each
14024           pair (device,provider).  Fixes Novell #142773.
14025
14026 2006-01-12  Dan Williams  <dcbw@redhat.com>
14027
14028         * src/nm-device-802-11-wireless.c
14029                 - (supplicant_exec): ensure GError is correctly initialized
14030                         Reported by Diego González (gnome.org #326708)
14031
14032 2006-01-11  Robert Love  <rml@novell.com>
14033
14034         * src/nm-device-802-3-ethernet.c: In case local copies of glibc do not
14035           define if_mii(), open code the same results, and do so without any
14036           type punning.
14037
14038 2006-01-11  Robert Love  <rml@novell.com>
14039
14040         * gnome/applet/wireless-security-manager.c: Fix crash by not asserting
14041           that wso_foo_new() returned non-NULL.  Instead, only append the new
14042           wso to wsm->options if the wso is non-NULL.  The crux is that we
14043           assume that the relevant key types are implied by WEP and WPA as
14044           appropriate.  To be sure, they should be, but we should not expect
14045           drivers to not be oozing piles of wolf fecal matter.
14046
14047 2006-01-11  Robert Love  <rml@novell.com>
14048
14049         * configure.in: Add the gcc flags '-Wshadow' and '-Wfloat-equal'.
14050         * gnome/applet/applet.c, gnome/vpn-properties/nm-vpn-properties.c,
14051           src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
14052           src/NetworkManagerPolicy.c, src/NetworkManagerSystem.c,
14053           src/nm-dbus-device.c, src/nm-device-802-3-ethernet.c,
14054           src/nm-ip4-config.c, src/vpn-manager/nm-vpn-manager.c,
14055           test/nmtestdevices.c: Fix shadowed variable usage as appropriate.
14056         * src/nm-device-802-11-wireless.c: Fix floating point comparison by
14057           comparing values within DBL_EPSILON.  Also fix shadowed variable
14058           usage.
14059
14060 2006-01-11  Dan Williams  <dcbw@redhat.com>
14061
14062         Add options for WPA2 and WPA1+CCMP (AES).
14063
14064         * gnome/applet/wireless-applet.glade
14065                 - Add UI bits for WPA+CCMP
14066
14067         * gnome/applet/other-network-dialog.c
14068                 - (nmwa_ond_init): pass capabilities into the WirelessSecurityManager,
14069                         and don't allow creation of WPA2 Ad-Hoc networks since
14070                         wpa_supplicant doesn't support them
14071
14072         * gnome/applet/wireless-security-manager.c
14073                 - (wsm_set_capabilities): Add WPA2 options, and pass capability
14074                         on to the specific wireless security option being created
14075
14076         * gnome/applet/wireless-security-option.[ch]
14077                 - (wso_wpa_create_key_type_model): new utility function to create
14078                         the model required for WPA Key Type combo box
14079
14080         * gnome/applet/wso-private.h
14081           gnome/applet/wireless-security-option.h
14082                 - Move private function prototypes into wso-private.h
14083
14084         * gnome/applet/wso-wpa-psk-hex.[ch]
14085           gnome/applet/wso-wpa-psk-passphrase.[ch]
14086                 - (append_dbus_params_func): get WPA version from checkbox and pass
14087                         it to the dbus serialization helper
14088                 - (key_type_combo_changed_cb): Set the cipher's WE Cipher when the
14089                         key type combo changes
14090                 - (wso_wpa_psk_hex_new): set up the key type combo with the correct
14091                         model and options
14092
14093         * libnm-util/cipher-wpa-psk-hex.c
14094           libnm-util/cipher-wpa-psk-passphrase.c
14095                 - (cipher_wpa_psk_hex_set_we_cipher, cipher_wpa_psk_passphrase_set_we_cipher):
14096                         new function; allow the cipher to be changed after object creation
14097
14098         * src/nm-ap-security-wpa-psk.c
14099                 - (set_description): Do WPA2 descriptions too
14100
14101         * src/nm-ap-security.c
14102                 - (nm_ap_security_new_from_ap): allow CCMP with WPA1 too
14103
14104 2006-01-11  Robert Love  <rml@novell.com>
14105
14106         * src/nm-device-802-3-ethernet.c: Use the if_mii() inline function that
14107           is defined in <linux/mii.h> to return the mii_ioctl_data structure
14108           from the ifreq structure in lieu of an open coded solution.  Removes
14109           a life-threatening type-punning.
14110         * configure.in: Remove '-Wno-strict-aliasing' as we no longer pun any
14111           types, ever, whatsoever, baby.
14112
14113 2006-01-11  Robert Love  <rml@novell.com>
14114
14115         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.c,
14116           gnome/applet/applet.c, gnome/applet/applet.h: Consolidating
14117           assignments to applet->nm_state into a new nmwa_set_state() function
14118           for both cleanliness and to help debugging.
14119
14120 2006-01-10  Robert Love  <rml@novell.com>
14121
14122         * src/autoip.c: Fix FIXME.  In performing the link-local zeroconf IP
14123           assignment dance, we want to sleep between PROBE_MIN and PROBE_MAX
14124           seconds, exclusive.  That is, we want to sleep x seconds such that
14125           1 < x < 2.
14126
14127 2006-01-10  Robert Love  <rml@novell.com>
14128
14129         * gnome/applet/applet-dbus-info.c: Remove FIXME, we do not have to free
14130           the attr fields according to the example in the email available at
14131           mail.gnome.org/archives/desktop-devel-list/2004-May/msg00230.html.
14132           Conversely, we do have to free 'name', so we do so, fixing a leak.
14133
14134 2006-01-10  Robert Love  <rml@novell.com>
14135
14136         * src/nm-device-802-11-wireless.c, src/nm-device-802-3-ethernet.c: Make
14137           sure that we close the socket!
14138
14139 2006-01-10  Robert Love  <rml@novell.com>
14140
14141         * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h,
14142           src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h,
14143           src/nm-device.c: Fix a FIXME!  Reimplement the function
14144           nm_device_update_hw_address() in device subclass variants,
14145           nm_device_802_3_ethernet_set_address() and
14146           nm_device_802_11_wireless_set_address(), hook them up, and use them.
14147           This fixes the existing bug where MAC addresses are all zeros.
14148
14149 2006-01-10  Robert Love  <rml@novell.com>
14150
14151         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.h,
14152           gnome/applet/applet.c, gnome/applet/applet.h: Add 'Enable Networking'
14153           option to give users ability to globally disconnect and put NM to
14154           sleep.  This is useful as a 'lockdown mode' for flying, security, and
14155           clean disconnect.
14156
14157 2006-01-09  Robert Love  <rml@novell.com>
14158
14159         * src/nm-device-802-3-ethernet.h:  The kernel headers <linux/mii.h> and
14160           <linux/ethtool.h> leak the kernel-only types u16, u32, et al.
14161           User-space does not supply these types, so we have to define them
14162           ourselves.  The relevant kernel maintainer refused to accept a patch
14163           switching these headers to the proper C99 types.
14164
14165 2006-01-09  Dan Williams  <dcbw@redhat.com>
14166
14167         Apply Robert's 'tray icon redo' patch with fixes
14168         * gnome/applet/applet.c
14169           gnome/applet/applet.h
14170                 - Instead of using a menu bar + menu item, simulate menu
14171                         behavior using a popup menu.  Highlight the area around
14172                         the icon more like a menu too, by playing with the
14173                         applet's size requisition
14174
14175 2006-01-09  Timo Hoenig   <thoenig@suse.de>
14176         * libnm-util/dbus-helpers.c
14177           libnm-util/dbus-helpers.h
14178                 - (nmu_create_dbus_error_message): rename parameter 'namespace'
14179                         to 'exception_namespace' (:namespace is a keyword in
14180                         C++)
14181
14182 2006-01-09  Dan Williams  <dcbw@redhat.com>
14183
14184         * src/NetworkManagerPolicy.c
14185                 - (nm_policy_device_change_check): don't autoswitch away from
14186                         Ad-Hoc networks, since there's really no concept of
14187                         "link"
14188
14189         * src/nm-dbus-nm.c
14190                 - (nm_dbus_nm_create_wireless_network): mark created networks
14191                         as Ad-Hoc networks
14192
14193         * src/nm-device-802-11-wireless.c
14194                 - (real_activation_success_handler): add user-created Ad-Hoc
14195                         networks to the device's scan list
14196
14197 2006-01-08  Dan Williams  <dcbw@redhat.com>
14198
14199         We now require a patch for wpa_supplicant to support Ad-Hoc
14200         networks:
14201           http://people.redhat.com/dcbw/wpa_supplicant-ctrl-iface-ap-scan.patch
14202
14203         * src/nm-device-802-11-wireless.c
14204                 - (supplicant_send_network_config): turn off wpa_supplicant's
14205                         scanning.  Fixes Ad-Hoc networks.
14206
14207 2006-01-08  Dan Williams  <dcbw@redhat.com>
14208
14209         * src/nm-ap-security.c
14210           src/nm-ap-security.h
14211                 - Add a user_created argument to the write_supplicant_config
14212                         functions
14213
14214         * src/nm-ap-security-wep.c
14215           src/nm-ap-security-wpa-psk.c
14216           src/nm-device-802-11-wireless.c
14217                 - Make Ad-Hoc mode somewhat work, at least write the
14218                         correct options to wpa_supplicant
14219
14220 2006-01-08  Dan Williams  <dcbw@redhat.com>
14221
14222         * src/nm-device-802-11-wireless.c
14223                 - Remove unused code from the old device activation path
14224
14225 2006-01-08  Dan Williams  <dcbw@redhat.com>
14226
14227         * libnm-util/dbus-helpers.c
14228                 - (nmu_security_serialize_wpa_psk): pass a blank key through
14229                         dbus when key == NULL
14230
14231 2006-01-08  Dan Williams  <dcbw@redhat.com>
14232
14233         * gnome/applet/nm-gconf-wso-wpa-psk.c
14234                 - (nm_gconf_wso_wpa_psk_new_deserialize_dbus): feed
14235                         correct arguments to nmu_security_deserialize_wpa_psk()
14236
14237         * src/nm-ap-security-wpa-psk.c
14238                 - (nm_ap_security_wpa_psk_new_deserialize): feed correct
14239                         arguments to nmu_security_deserialize_wpa_psk()
14240
14241 2006-01-08  Dan Williams  <dcbw@redhat.com>
14242
14243         * gnome/applet/wso-wpa-psk-hex.c
14244           gnome/applet/wso-wpa-psk-passphrase.c
14245                 - Hook up the append_dbus_params_func() function
14246
14247 2006-01-08  Dan Williams  <dcbw@redhat.com>
14248
14249         * src/nm-device-802-11-wireless.c
14250                 - (get_wireless_capabilities): correctly detect driver WPA
14251                         capabilities
14252
14253 2006-01-08  Dan Williams  <dcbw@redhat.com>
14254
14255         * gnome/applet/Makefile.am
14256           gnome/applet/wso-wpa-psk-hex.c
14257           gnome/applet/wso-wpa-psk-hex.h
14258                 - New files, implement WPA-PSK Hex key input
14259
14260         * gnome/applet/wireless-applet.glade
14261                 - Change existing wpa-psk stuff to wpa-psk-hex
14262                 - Add new widgets for wpa-psk-passphrase
14263
14264         * gnome/applet/wireless-security-manager.c
14265                 - (wsm_set_capabilities): enable WPA options
14266
14267         * gnome/applet/wso-wpa-psk-passphrase.c
14268                 - (wso_wpa_psk_passphrase_new): use correct glade widgets
14269                         for WPA-PSK passphrase
14270
14271 2006-01-08  Dan Williams  <dcbw@redhat.com>
14272
14273         * include/NetworkManager.h
14274                 - Add NMI_DBUS_USER_KEY_CANCELED_ERROR as a constant for
14275                         applet/info-daemons
14276
14277         * gnome/applet/passphrase-dialog.c
14278                 - Use the constant.  Fixes a bug where the arguments to
14279                         dbus_message_new_error() were incorrect
14280
14281         * src/nm-dbus-nmi.c
14282                 - Use the constant
14283
14284 2006-01-07  Dan Williams  <dcbw@redhat.com>
14285
14286         * src/nm-device-802-11-wireless.c
14287                 - Add a link timeout so we allow the supplicant time to
14288                         reassociate if it can, before we deactivate the card
14289                 - Fix up link status and link updating so things work better
14290
14291 2006-01-07  Dan Williams  <dcbw@redhat.com>
14292
14293         * src/nm-device-802-11-wireless.c
14294                 - Switch over to using wpa_supplicant
14295                 - Add a timeout of 10s for association of the supplicant
14296                 - Start the monitor callback of the supplicant
14297
14298 2006-01-07  Dan Williams  <dcbw@redhat.com>
14299
14300         * src/NetworkManagerUtils.c
14301                 - (nm_utils_supplicant_request,
14302                   nm_utils_supplicant_request_with_check):
14303                         pass correct buffer length to wpa_ctrl_request()
14304
14305 2006-01-07  Dan Williams  <dcbw@redhat.com>
14306
14307         * src/nm-device-private.h
14308           src/nm-device.c
14309                 - (nm_device_activate_schedule_stage3_ip_config_start): make
14310                         this function available to subclasses
14311
14312 2006-01-06  Robert Love  <rml@novell.com>
14313
14314         * src/NetworkManagerPolicy.c: Always prefer wired to wireless, as the
14315           user plugging in a network cable signals their preference for to
14316           switch, unless the user explicitly selected a wireless network and
14317           therefore signaled their preference for said wireless network over
14318           wired.  In other words, do exactly what makes sense.
14319
14320 2006-01-06  Robert Love  <rml@novell.com>
14321
14322         * src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
14323           src/NetworkManagerDevicePrivate.h, src/NetworkManagerWireless.c,
14324           src/NetworkManagerWireless.h: Remove, no longer used and they keep
14325           showing up in my greps.
14326
14327 2006-01-06  Robert Love  <rml@novell.com>
14328
14329         * gnome/applet/applet-dbus-devices.c,
14330           gnome/applet/other-network-dialog.c, gnome/applet/wso-none.c,
14331           libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h,
14332           src/nm-dbus-nm.c: Fix several issues.  'Connect to Other' and 'Create
14333           New Network' both failed in the non-encrypted case because we were
14334           not appending the security options to the DBUS message.  And
14335           'Connect to Other' was also failing in the encrypted case because
14336           we were not incrementing to the next DBUS parameter.  All fixed.
14337           Thanks to dcdw for some debugging help.
14338
14339 2006-01-06  Robert Love  <rml@novell.com>
14340
14341         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
14342           gnome/applet/applet-dbus-devices.h, src/nm-dbus-nm.c: Remove global
14343           hangup code and add per-device hangup.  Tie last commit into the
14344           GNOME applet.  TODO:  Save, understand, and respond to the state of
14345           each dialup device.
14346
14347 2006-01-06  Robert Love  <rml@novell.com>
14348
14349         Patch by Timo Hoenig <thoenig@suse.de>:
14350         * src/NetworkManagerSystem.h, src/nm-dbus-nm.c: Add interfaces to
14351           hangup specific dialup devices.
14352         * src/backends/NetworkManagerDebian.c,
14353           src/backends/NetworkManagerGentoo.c,
14354           src/backends/NetworkManagerRedHat.c,
14355           src/backends/NetworkManagerSlackware.c: Add stub backend.
14356         * src/backends/NetworkManagerRedHat.c,
14357           src/backends/NetworkManagerSuSE.c: Add specific backend interface to
14358           hangup specific dialup devices.
14359
14360 2006-01-04  Robert Love  <rml@novell.com>
14361
14362         * gnome/applet/applet-dbus-devices.c,
14363           gnome/applet/applet-dbus-devices.h, gnome/applet/applet.c,
14364           src/nm-dbus-nm.c: Expose a menu item for hanging up active dialup
14365           connections.
14366
14367 2006-01-04  Dan Williams  <dcbw@redhat.com>
14368
14369         First dump of wpa_supplicant-related code.  It's not hooked up to
14370         anything yet though.  Thanks to Kay Sievers for
14371         wpa_supplicant_wrapper.c, which formed the basis for this work,
14372         and to Jouni Malinen for writing wpa_ctrl.c and wpa_ctrl.h.
14373
14374         * src/Makefile.am
14375           src/wpa_ctrl.[ch]
14376                 - Add wpa_ctrl stuff from wpa_supplicant so we can talk to it
14377
14378         * src/NetworkManagerUtils.[ch]
14379                 - (nm_utils_supplicant_request, nm_utils_supplicant_request_with_check):
14380                         Add convenience functions for talking to wpa_supplicant
14381
14382         * src/nm-ap-security.[ch]
14383           src/nm-ap-security-wep.c
14384           src/nm-ap-security-wpa-psk.[ch]
14385                 - Update and implement real_write_supplicant_config functions
14386                         in all security types
14387                 - (nm_ap_security_wpa_psk_new_from_ap): implement in
14388                         nm-ap-security-wpa-psk.c
14389
14390         * src/nm-device-802-11-wireless.c
14391                 - (supplicant_cleanup, supplicant_watch_cb, supplicant_monitor_status_cb,
14392                    wpa_supplicant_start, wpa_supplicant_interface_init,
14393                    wpa_supplicant_send_network_config): add functions to talk to
14394                         wpa_supplicant and write network config to it
14395
14396 2006-01-04  Robert Love  <rml@novell.com>
14397
14398         * src/NetworkManagerDialup.h: add 'type' field and NM_DIALUP_TYPE
14399           values so that distribution-backends can differentiate between the
14400           various types (modem, ISDN, et cetera) of dialup device that they
14401           support.
14402         * src/backends/NetworkManagerSuSE.c: perform isdnctrl on interface, as
14403           needed.
14404
14405 2006-01-03  Dan Williams  <dcbw@redhat.com>
14406
14407         * src/NetworkManagerPolicy.c
14408           src/nm-device.[ch]
14409           src/nm-device-802-11-wireless.c
14410                 - Move wireless-specific activation failure and success code
14411                         into wireless device class
14412
14413 2006-01-03  Robert Love  <rml@novell.com>
14414
14415         Patch by Preggna S:
14416         * src/NetworkManagerSystem.c, src/vpn-manager/nm-vpn-connection.c:
14417           IPsec does not require that a VPN client be bound to an interface,
14418           due to the use of the in-kernel IPSec bits.  So make the tunnel
14419           device optional.
14420
14421 2006-01-03  Dan Williams  <dcbw@redhat.com>
14422
14423         * src/NetworkManagerAP.c
14424                 - (nm_ap_add_capabilities_from_ie): presume no WEP unless
14425                         the WPA IE specifies that WEP is supported
14426
14427         * src/nm-device-802-11-wireless.c
14428                 - (process_scan_results): don't mark an AP as supporting WEP
14429                         if there's already other encryption capability info
14430
14431 2006-01-03  Dan Williams  <dcbw@redhat.com>
14432
14433         * src/dhcp-manager/nm-dhcp-manager.c
14434                 - Recognize activation cancellation when waiting for DHCP
14435                         configuration from dhcdbd
14436                 - Ignore non-dhcdbd messages
14437
14438         * src/nm-device.c
14439                 - (real_act_stage3_ip_config_start): return to correct behavior
14440                         of letting the dhcp-manager notify us of failure or
14441                         success rather than incorrectly doing that ourselves
14442                 - (nm_device_activate_stage4_ip_config_get): deal with
14443                         activation cancellation a bit earlier
14444
14445 2006-01-03  Dan Williams  <dcbw@redhat.com>
14446
14447         * src/nm-device-802-11-wireless.c
14448           src/nm-device.[ch]
14449                 - Add hooks to subclasses for stage3_ip_config_start and
14450                         stage4_ip_config_timeout
14451
14452         * src/nm-device-802-3-ethernet.c
14453                 - (real_get_generic_capabilities): make devices NM-supported
14454                         by default
14455
14456 2006-01-03  Robert Love  <rml@novell.com>
14457
14458         * src/backends/NetworkManagerSuSE.c: update to newer API (no more
14459           nm_device_get_hw_address); use inet_aton in lieu of inet_addr as the
14460           latter cannot differentiate between error and the address -1; misc.
14461           clean up.
14462
14463 2006-01-03  Dan Williams  <dcbw@redhat.com>
14464
14465         * src/NetworkManager.c
14466                 - Move link-checking/probing into the device subclasses
14467                         themselves
14468
14469         * src/nm-device.[ch]
14470           src/nm-device-802-11-wireless.c
14471           src/nm-device-802-3-ethernet.c
14472                 - Do periodic link checking in device subclasses rather
14473                         than being triggered from NetworkManager.c
14474                 - discover_wireless_capabilities -> get_wireless_capabilities
14475                 - discover_generic_capabilities -> get_generic_capabilities
14476                 - Device subclass activation routines now return a value of type
14477                         NMActStageReturn to indicate what step to perform next
14478                 - Devices now override stage4_get_ip4_config if they choose
14479
14480 2006-01-01  Dan Williams  <dcbw@redhat.com>
14481
14482         * src/nm-device-802-11-wireless.c
14483                 - (real_init): don't chain up to parent init because we don't
14484                         need to do that anymore
14485
14486         * src/nm-device.c
14487                 - (discover_device_type): fix arguments to ioctl() to correctly
14488                         pass interface name
14489                 - (nm_device_new): consolidate generic device initialization into
14490                         nm_device_new()
14491                 - (real_init): remove, consolidated to nm_device_new()
14492                 - (nm_device_deactivate, real_deactivate): consolidate
14493
14494 2006-01-01  Dan Williams  <dcbw@redhat.com>
14495
14496         * src/nm-activation-request.c
14497                 - Change dhcp_state member of the NMActRequest structure
14498                         from guint8 to guint32
14499
14500         * src/dhcp-manager/nm-dhcp-manager.[ch]
14501                 - (nm_dhcp_manager_get_state_for_device): return guint32 rather
14502                         than guint8 to match the dbus argument.  Turns out we were
14503                         overwriting memory since we were passing in only a guint8
14504
14505 2005-12-31  Dan Williams  <dcbw@redhat.com>
14506
14507         * refactor NMDevice into a GObject-based framework with separate
14508                 objects for wired and wireless.  The following files are no
14509                 longer used but should stick around for a bit so we don't
14510                 loose code through the cracks:
14511                         NetworkManagerDevice.c
14512                         NetworkManagerDevice.h
14513                         NetworkManagerWireless.c
14514                         NetworkManagerWireless.h
14515
14516         The intent here is to allow each device type to manage its own
14517         connection & activation life-cycle, ie to allow wireless devices
14518         to interface with wpa_supplicant, etc.  There's a fair bit of
14519         encapsulation breakage right now that should gradually get pulled
14520         back into each device, along with things like periodic property
14521         updates and link probing.
14522
14523 2005-12-29  Dan Williams  <dcbw@redhat.com>
14524
14525         * include/NetworkManager.h
14526                 - Add NM_802_11_CAP_PROTO_NONE since we need to recognize
14527                         between networks that don't have any encryption at all
14528
14529 2005-12-29  Dan Williams  <dcbw@redhat.com>
14530
14531         * test/test-common.c
14532           test/test-common.h
14533           test/Makefile.am
14534                 - Move to a test-common subdirectory
14535
14536         * test/libnm-util/test-ciphers.c
14537                 - Move test data to test-inputs.h
14538                 - Test WPA ciphers too
14539
14540         * test/libnm-util/test-dbus-helpers.c
14541                 - Test serialization/deserialization of ciphers
14542
14543 2005-12-29  Dan Williams  <dcbw@redhat.com>
14544
14545         * gnome/applet/applet-dbus-devices.c
14546                 - Replace 'enc' parameter with 'capabilities' for wireless networks
14547                         in dbus calls to NM
14548                 - Set capabilities on WirelessNetwork objects
14549                 - Receive and save type-specific device capabilities too
14550
14551         * gnome/applet/applet-dbus-info.c
14552           gnome/applet/applet-dbus.c
14553                 - Passphrase dialog no longer a singleton; new instance gets created
14554                         on each request.  Updates to deal with that.
14555
14556         * gnome/applet/applet.c
14557                 - (nmwa_has_encrypted_networks_helper): use AP capabilities rather
14558                         than single 'encrypted' flag
14559                 - (nmwa_menu_add_vpn_menu): if NM isn't connected, disable any VPN
14560                         menu items
14561                 - Passphrase dialog updates per above
14562
14563         * gnome/applet/menu-items.c
14564                 - (network_menu_item_update): use AP capabilities to determine
14565                         encryption
14566
14567         * gnome/applet/nm-device.[ch]
14568                 - Add accessors for type-specific device capabilities
14569
14570         * gnome/applet/other-network-dialog.c
14571                 - Rework to respect device capabilities.  i.e., if the device doesn't
14572                         support WPA, remove that option from the security dropdown
14573
14574         * gnome/applet/passphrase-dialog.c
14575                 - Massive rework so that a new instance is created each time
14576                         it's used, to support wireless network capabilities
14577
14578         * gnome/applet/wireless-network.[ch]
14579                 - Add accessors and members for wireless network capabilities
14580
14581         * gnome/applet/wireless-security-manager.[ch]
14582                 - (wsm_set_capabilities): called after creation to set which
14583                         security options get shown to the user
14584
14585 2005-12-29  Dan Williams  <dcbw@redhat.com>
14586
14587         * libnm-util/cipher-wpa-psk-passphrase.c
14588                 - (cipher_wpa_psk_passphrase_hash_func): return key as hex string
14589                         like other ciphers
14590
14591 2005-12-23  Dan Williams  <dcbw@redhat.com>
14592
14593         * gnome/applet/applet-dbus-info.c
14594                 - (nmi_dbus_get_key_for_network): if there's no entry in
14595                         GConf for a network, assume we want a new key
14596                 - (nmi_save_network_info): serialize wireless security info
14597                         into GConf so its saved
14598
14599         * src/nm-dbus-nm.c
14600                 - Fix warning as we may not be passed security info when
14601                         connecting to a wireless network
14602
14603 2005-12-23  Dan Williams  <dcbw@redhat.com>
14604
14605         * gnome/applet/applet-compat.c
14606                 - Fix bugs in GConf entry conversion
14607
14608         * gnome/applet/applet-dbus-info.c
14609                 - (nmi_dbus_get_network_properties): handle case of the BSSID
14610                         list being zero-length
14611
14612         * libnm-util/cipher-*
14613           libnm-util/dbus-helpers.c
14614                 - All ciphers must now return hashed keys as UTF-8 valid
14615                         hexadecimal strings, ie "8f3dae4023".  They are pushed
14616                         through dbus as strings too.
14617                 - Consolidate various functions that do bin->hex and hex->bin
14618                         conversion into cipher.c
14619
14620         * src/nm-ap-security-wep.c
14621           src/nm-ap-security-wpa-psk.c
14622                 - Handle NULL keys since we may not know keys right away
14623
14624         * src/nm-dbus-nmi.c
14625                 - (nm_dbus_get_network_data_cb): actually advance to the start
14626                         of the wireless security info before we try to deserialize it
14627
14628         * libnm-util/test-ciphers.c
14629                 - Update cipher tests for the change to UTF-8 hexadecimal strings
14630
14631 2005-12-22  Dan Williams  <dcbw@redhat.com>
14632
14633         * gnome/applet/applet-compat.[ch]
14634                 - Convert old-format GConf and keyring entries
14635                         when the applet starts up.
14636
14637         * gnome/applet/applet.c
14638                 - (nmwa_get_instance): Call the conversion function
14639                         on startup before dbus is initialized
14640
14641 2005-12-22  Dan Williams  <dcbw@redhat.com>
14642
14643         * gnome/applet/applet-dbus-info.c
14644                 - Remove nmi_dbus_create_error_message() in favor of
14645                         nmu_create_dbus_error_message()
14646                 - (nmi_dbus_get_network_properties): Error message cleanups
14647                 - (nmi_dbus_get_network_properties): BSSIDs are now in the 'bssids'
14648                         gconf key rather than 'addresses', since they really are BSSIDs
14649                 - (nmi_dbus_get_network_properties): Dispose of the security
14650                         object when we're done with it
14651
14652 2005-12-21  Dan Williams  <dcbw@redhat.com>
14653
14654         * Consolidate the info-daemon's "updateNetworkInfo" and
14655                 "addNetworkAddress" calls into just "updateNetworkInfo"
14656
14657 2005-12-21  Dan Williams  <dcbw@redhat.com>
14658
14659         * Make connection after key retrieval work again
14660
14661 2005-12-21  Dan Williams  <dcbw@redhat.com>
14662
14663         * gnome/applet/nm-gconf-wso*
14664                 - Make the serialize functions return gboolean
14665                         rather than int
14666
14667         * gnome/applet/nm-gconf-wso.c
14668                 - (nm_gconf_wso_dispose, nm_gconf_wso_finalize): fix up
14669                         parent class handling so we don't segfault
14670
14671         * src/NetworkManagerAP.[ch]
14672                 - (nm_ap_get_capabilities): new function, return capabilities
14673                         now that something can use them
14674                 - (nm_ap_set_encrypted): assume that an access point supports
14675                         both WEP104 and WEP40 if its set encrypted.  FIXME: can
14676                         we even tell whether it just supports WEP40?
14677
14678         * src/NetworkManagerDevice.c
14679                 - (ap_need_key): resurrect and update for the New World Order
14680                 - (nm_device_wireless_get_activation_ap): if we're not given
14681                         security info to use, create some based on access point
14682                         capabilities
14683
14684         * src/nm-ap-security-wep.c
14685                 - (nm_ap_security_wep_new_from_ap): create a new object
14686                         based on a certain access point's capabilities
14687
14688         * src/nm-ap-security.c
14689                 - (nm_ap_security_new_from_ap): delegate creation of a new
14690                         object based on access point capabilities to a subclass
14691                 - (nm_ap_security_copy_properties): don't segfault if we
14692                         don't have a key yet
14693
14694         * src/nm-dbus-nm.c
14695                 - (nm_dbus_nm_set_active_device): provide more informative
14696                         output when errors occur.  Also construct security info
14697                         for a given access point if we weren't given any
14698
14699 2005-12-21  Žygimantas Beručka  <zygis@gnome.org>
14700
14701         * configure.in: Added Lithuanian to ALL_LINGUAS.
14702
14703 2005-12-21  Dan Williams  <dcbw@redhat.com>
14704
14705         * test/libnm-util
14706                 - Add some testcases for WEP ciphers
14707
14708 2005-12-17  Dan Williams  <dcbw@redhat.com>
14709
14710         * Fix bugs
14711
14712 2005-12-17  Dan Williams  <dcbw@redhat.com>
14713
14714         * include/NetworkManager.h
14715                 - Finally kill NMEncKeyType
14716
14717         * gnome/applet/applet-dbus-info.c
14718                 - (nmi_save_network_info): convert to NMGConfWSO
14719
14720         * gnome/applet/nm-gconf-wso-*.c
14721                 - Implement gconf serialization functions
14722
14723         * src/NetworkManagerPolicy.c
14724                 - (nm_policy_activation_finish): fix up meaning of
14725                         automatic/user_requested
14726
14727 2005-12-17  Dan Williams  <dcbw@redhat.com>
14728
14729         * gnome/applet/*
14730                 - More applet cleanups
14731                 - Use the dbus-method-dispatcher
14732
14733         * libnm-util/dbus-method-dispatcher.[ch]
14734                 - Generalize the implementation from NM in
14735                         NetworkManagerUtils.c
14736
14737 2005-12-16  Dan Williams  <dcbw@redhat.com>
14738
14739         * gnome/applet/*
14740                 - Fix up the passphrase dialog to use all the
14741                         WirelessSecurityOption stuff (untested)
14742
14743 2005-12-16  Dan Williams  <dcbw@redhat.com>
14744
14745         * Move nm_gconf_get_*_helper() functions to separate files,
14746                 gconf-helpers.c & gconf-helpers.h
14747
14748         * New NMGConfWSO objects for managing the gconf side of things.
14749                 Eventually these should be merged with the
14750                 WirelessSecurityOption objects and a common base (that can
14751                 serialize/deserialize from dbus & gconf) should be
14752                 refactored out, but for now they are separate.
14753
14754 2005-12-16  Robert Love  <rml@novell.com>
14755
14756         * src/backends/NetworkManagerSuSE.c: Do not invoke ypbind or autofs
14757           binaries unless they exist (nm_spawn_process() emits a warning if
14758           asked to spawn a non-existant process).
14759
14760 2005-12-16  Dan Williams  <dcbw@redhat.com>
14761
14762         * gnome/applet/applet-dbus-info.c
14763                 - Clean up lots of gconf-related code
14764
14765 2005-12-16  Robert Love  <rml@novell.com>
14766
14767         * Makefile.am: Build fix: Reorder 'SUBDIRS' so our deps are right.
14768
14769 2005-12-16  Dan Williams  <dcbw@redhat.com>
14770
14771         * nm_device_set_enc_key -> nm_device_set_wep_enc_key
14772
14773         * Fix up NM -> NMI get-user-key dbus calls in NM (applet
14774                 bits still to be done)
14775
14776 2005-12-16  Dan Williams  <dcbw@redhat.com>
14777
14778         * Finally move info-daemon related stuff out of
14779                 NetworkManagerDbus.c to nm-dbus-nmi.c
14780
14781 2005-12-16  Dan Williams  <dcbw@redhat.com>
14782
14783         * Kill auth_method for access points, since that's now done
14784                 by NMAPSecurity objects
14785
14786         * Add a copy-constructor of sorts to NMAPSecurity
14787                 (how do you do this properly in glib???)
14788
14789 2005-12-15  Dan Williams  <dcbw@redhat.com>
14790
14791         * Exorcise encryption key hashing on APs
14792         * Use libnm-util's serialization/deserialization in both the
14793                 applet and NM
14794         * Random other stuff
14795
14796 2005-12-15  Robert Love  <rml@novell.com>
14797
14798         * gnome/applet/menu-items.c: A new icon, "network-wireless-encrypted"
14799           is being added to the icon naming spec, so let's use that (Tango CVS
14800           has the icon).  Because it is new, however, we fall back to the
14801           current "gnome-lockscreen" if the new icon is not around, thus
14802           behavior is the same.
14803         * gnome/applet/applet.c: Remove setup_stock().  We do not need the
14804           factory junk.
14805
14806 2005-12-15  Robert Love  <rml@novell.com>
14807
14808         * src/gnome/applet.c: Don't show the 'Help' menu item until we have,
14809           well, help to give.  Couple other misc. bits.
14810
14811 2005-12-15  Dan Williams  <dcbw@redhat.com>
14812
14813         * libnm-util/dbus-helpers.[ch]
14814                 - Make this the one-stop-shop for serializing/deserializing
14815                         AP & connection security settings over dbus.  Both NM
14816                         and applets should use this to ensure consistent dbus
14817                         API going forwared.
14818
14819 2005-12-15  Robert Love  <rml@novell.com>
14820
14821         Patch by Timo Hoenig  <thoenig@suse.de>:
14822         * src/NetworkManagerDbus.c
14823                 - (nm_dbus_signal_filter) return DBUS_HANDLER_RESULT_HANDLED
14824                         if HAL jumps off the system bus.  Otherwise libdbus
14825                         (dbus_connection_dispatch) will try to run the filter
14826                         function of our libhal context which is already freed.
14827
14828 2005-12-15  Alexander Shopov  <ash@contact.bg>
14829
14830         * configure.in: Added "bg" (Bulgarian) to ALL_LINGUAS
14831
14832 2005-12-14  Dan Williams  <dcbw@redhat.com>
14833
14834         * include/NetworkManager.h
14835           src/NetworkManagerWireless.c
14836                 - Rearrange 802.11 wireless-specific capabilities again
14837
14838         * src/Makefile.am
14839                 - Forgot to add wpa.c/wpa.h to the makefiles
14840
14841         * src/NetworkManagerAP.[ch]
14842                 - Implement access point capabilities and parse the
14843                         WPA/RSN IEs into the capability bitfield
14844                 - Switch the "encrypted" attribute to utilize the bitfield
14845                         and capabilities rather than being independent
14846
14847         * src/NetworkManagerDevice.c
14848                 - (nm_device_wireless_get_activation_ap): break it horribly
14849                         until we can push NMAPSecurity objects into access point
14850                         objects and through the activation chain
14851                 - Stuff WPA & RSN IEs into AP capabilities
14852
14853         * src/nm-dbus-nm.c
14854                 - Take a shot at actually making setActiveDevice work
14855
14856         * src/wpa.[ch]
14857                 - Make the API a bit saner
14858
14859 2005-12-14  Dan Williams  <dcbw@redhat.com>
14860
14861         * include/NetworkManager.h
14862                 - Add 802.11-specific capability for 802.1x key
14863                         management
14864
14865         * src/wpa.[ch]
14866                 - Pull in WPA IE and RSN IE parsing code from
14867                         wpa_supplicant so we can determine access point
14868                         capabilities
14869                 - Move WPA-related constants here from NetworkManagerAP.h
14870                         and NetworkManagerDevice.c
14871
14872         * src/NetworkManagerDevice.c
14873           src/NetworkManagerAP.[ch]
14874                 - Use WPA-related constants from wpa.h
14875
14876 2005-12-14  Dan Williams  <dcbw@redhat.com>
14877
14878         * include/NetworkManager.h
14879                 - Update and split 802.11 wireless-specific capabilities from
14880                         generic device capabilities
14881
14882         * src/NetworkManagerDevice.c
14883           src/NetworkManagerDevicePrivate.h
14884                 - (nm_device_wireless_discover_capabilities): Move 802.11
14885                         wireless-specific capability checks to
14886                         NetworkManagerWireless.c
14887                 - Rename NMDeviceWirelessOptions -> NMDevice80211WirelessOptions
14888                 - Rename NMDeviceWiredOptions -> NMDevice80211EthernetOptions
14889
14890         * src/NetworkManagerWireless.[ch]
14891                 - (nm_802_11_wireless_discover_capabilities): Check extended
14892                         802.11 wireless-specific capabilities of the driver
14893
14894 2005-12-14  Robert Love  <rml@novell.com>
14895
14896         Patch from Stefan Scheler <sscheler@suse.de>:
14897         * src/NetworkManagerDevice.c: call backend code to activate and
14898           deactivate NIS.
14899         * src/NetworkManagerSystem.h: add new NIS interfaces.
14900         * src/backends/NetworkManagerDebian.c,
14901           src/backends/NetworkManagerGentoo.c,
14902           src/backends/NetworkManagerRedHat.c,
14903           src/backends/NetworkManagerSlackware.c: add stub functions for NIS
14904           support.
14905         * src/backends/NetworkManagerSuSE.c: add NIS support, baby.
14906
14907 2005-12-14  Dan Williams  <dcbw@redhat.com>
14908
14909         * src/nm-ap-security*.[ch]
14910                 - Add AP security abstractions to NetworkManager
14911
14912         * src/nm-dbus-device.c
14913                 - Begin to parse new format dbus messages from the applet
14914                         and construct an AP security object from the message
14915
14916         * libnm-util/dbus-helpers.c
14917                 - Use message iters so we can append the key as a fixed
14918                         array of bytes, which actually works rather than
14919                         using dbus_message_append_args() as we were before
14920
14921 2005-12-14  Dan Williams  <dcbw@redhat.com>
14922
14923         * src/NetworkManagerDbus.c
14924           gnome/applet/applet-dbus.c
14925                 - Fix up dbus service replacement options.  The applet
14926                         should allow replacement, NM itself should not.
14927
14928 2005-12-13  Robert Love  <rml@novell.com>
14929
14930         * src/named-manager/nm-named-manager.c: Revert earlier commit.
14931           Instead, fail silently if config is NULL by not asserting and not
14932           returning FALSE.  Also, make sure we always fclose() the file.
14933
14934 2005-12-13  Robert Love  <rml@novell.com>
14935
14936         Patch by Stefan Scheler <sscheler@suse.de>:
14937         *  src/nm-ip4-config.h, src/nm-ip4-config.c,
14938            src/dhcp-manager/nm-dhcp-manager.c: Add support for setting up NIS
14939            via DHCP.  Still need the backends to commit the NIS domain name and
14940            and servers to yp.conf as needed.
14941
14942 2005-12-13  Robert Love  <rml@novell.com>
14943
14944         * src/vpn-manager/nm-dbus-vpn.c: Do not call the lengthy-named function
14945           nm_vpn_manager_remove_connection() unless vpn is non-NULL.
14946
14947 2005-12-13  Robert Love  <rml@novell.com>
14948
14949         * src/named-manager/nm-named-manager.c: Don't unref the config until
14950           after we call rewrite_resolv_conf(), because get_last_default_domain()
14951           needs to access the config.  Fixes "rewrite_resolv_conf: assertion
14952           `config != NULL' failed" assertion failures and "Could not commit DNS
14953           changes" warnings.
14954
14955 2005-12-12  Dan Williams  <dcbw@redhat.com>
14956
14957         * libnm-util/dbus-helpers.[ch]
14958           libnm-util/Makefile.am
14959                 - new helper calls to consolidate locations where
14960                         NM's setDevice method is called
14961
14962         * gnome/applet/applet-dbus-devices.c
14963           gnome/applet/wireless-security-option.c
14964           gnome/applet/wso-*
14965                 - Implement dbus message param append function for
14966                         all wireless security options
14967
14968 2005-12-12  Robert Love  <rml@novell.com>
14969
14970         * libnm-util/cipher-wep-passphrase.c,
14971           libnm-util/cipher-wpa-psk-passphrase.c, src/NetworkManagerAP.c,
14972           src/NetworkManagerAP.h, src/NetworkManagerDevice.c,
14973           src/NetworkManagerWireless.c, src/NetworkManagerWireless.h: Treat
14974           all WEP/WPA keys as "char *" and not explicitly signed or unsigned.
14975           When handling keys, we don't care what the sign is.  The compiler
14976           guarantees us that we get our 8-bits, which is all we care about.
14977         * configure.in: Remove "-Wno-pointer-sign" flag.  We are sign-aware!
14978
14979 2005-12-12  Dan Williams  <dcbw@redhat.com>
14980
14981         * gnome/applet/applet-dbus-devices.[ch]
14982           gnome/applet/applet.c
14983           gnome/applet/other-network-dialog.c
14984           gnome/applet/wireless-security-manager.[ch]
14985           gnome/applet/wireless-security-option.[ch]
14986           gnome/applet/wso-*
14987                 - Push the wireless security options further into the applet
14988
14989 2005-12-12  Robert Love  <rml@novell.com>
14990
14991         * src/dhcp-manager/nm-dhcp-manager.c: Do not fail if DHCP does not
14992           return any name servers.  That is perfectly valid.  (Novell #134369).
14993
14994 2005-12-11  Dan Williams  <dcbw@redhat.com>
14995
14996         * gnome/applet/wso-*
14997           gnome/applet/wireless-security-option.*
14998           gnome/applet/Makefile.am
14999                 - split each security option out so we can eventually
15000                         have each one build up their own dbus message
15001                         arguments to send to NM
15002
15003 2005-12-11  Dan Williams  <dcbw@redhat.com>
15004
15005         * Make validation of the key work correctly
15006
15007 2005-12-11  Dan Williams  <dcbw@redhat.com>
15008
15009         * Hook more bits of the Other Network Dialog up to the
15010                 wireless security manager stuff, and restructure
15011                 bits of the dialog so there's less code.
15012
15013 2005-12-10  Dan Williams  <dcbw@redhat.com>
15014
15015         * gnome/applet/Makefile.am
15016                 - Add libnm-util to includes
15017                 - Add libnm-util to link list
15018                 - Add wireless-security-common.* to compile list
15019
15020         * gnome/applet/other-network-dialog.c
15021                 - Convert to using the WirelessSecurityManager code and
15022                         widgets
15023
15024         * gnome/applet/passphrase-dialog.c
15025                 - Comment out references to stuff in the glade file that
15026                         cause runtime errors until it can be fixed up
15027                         to use the WirelessSecurityManager code
15028
15029         * gnome/applet/wireless-applet.glade
15030                 - Rename some widgets
15031                 - Add widgets for the WirelessSecurityManager code
15032                 - Remove passphrase-related stuff since that's now
15033                         handled by the WirelessSecurityManager code
15034
15035 2005-12-10  Dan Williams  <dcbw@redhat.com>
15036
15037         * gnome/applet/applet-dbus-devices.c
15038                 - Print out error message details for dbus pending call callbacks
15039                 - Move nmwa_dbus_update_devices() up
15040
15041         * gnome/applet/applet-dbus-vpn.c
15042                 - Print out error message details for dbus pending call callbacks
15043
15044 2005-12-10  Dan Williams  <dcbw@redhat.com>
15045
15046         * libnm-util/*
15047                 - More fixups
15048                 - Remove cipher-manager.* because we don't need it
15049                 - Forgot to add gnome-keyring-md5 files to compile list
15050
15051 2005-12-09  Dan Williams  <dcbw@redhat.com>
15052
15053         * libnm-util/*
15054           configure.in
15055           Makefile.am
15056                 - Add a utility library for clients of NetworkManager.  It's
15057                         only targetted at applets for the moment, and contains
15058                         a generalized 802.11 cipher framework for different
15059                         types of keys (WEP & WPA Hex, ASCII, Passphrase)
15060
15061 2005-12-09  Robert Love  <rml@novell.com>
15062
15063         * src/NetworkManagerDevice.c: handle error better in
15064           nm_device_set_mode().
15065
15066 2005-12-08  Robert Love  <rml@novell.com>
15067
15068         * include/NetworkManager.h: add WPA capabilities constants
15069         * src/NetworkManagerDevice.c: detect if wireless devices support WPA
15070           or WPA2 and add the capabilities bits as appropriate.
15071
15072 2005-12-08  Robert Love  <rml@novell.com>
15073
15074         * initscript/SUSE/networkmanager-dispatcher.in: new initscript for
15075           NetworkManagerDispatcher.
15076         * configure.in, initscript/SUSE/.cvsignore,
15077           initscript/SUSE/Makefile.am: support new networkmanager-dispatcher
15078           initscript.
15079
15080 2005-12-08  Robert Love  <rml@novell.com>
15081
15082         * initscript/SUSE/networkmanager.in: Do not start 'networking' service.
15083
15084 2005-12-08  Robert Love  <rml@novell.com>
15085
15086         * src/NetworkManagerDevice.c: We want to fall back on and default to
15087           IW_MODE_AUTO, not -1, which is more in line with our previous
15088           behavior.  Otherwise, we try to set the wireless mode to -1 in
15089           nm_device_set_mode().
15090
15091 2005-12-07  Robert Love  <rml@novell.com>
15092
15093         * gnome/applet/applet-dbus-info.c, include/NetworkManager.h,
15094           src/NetworkManagerAP.c, src/NetworkManagerAP.h,
15095           src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
15096           src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
15097           src/nm-dbus-nm.c: Convert NM_DEVICE_AUTH_METHOD_* to use the
15098           wireless-tools constants directly.  UNKNOWN is now -1 and NONE is
15099           zero.
15100
15101 2005-12-07  Robert Love  <rml@novell.com>
15102
15103         * src/backends/NetworkManagerSuSE.c: In static configurations, if the
15104           supplied IP is invalid, fall back to DHCP.
15105
15106 2005-12-07  Dan Williams  <dcbw@redhat.com>
15107
15108         * Convert NETWORK_MODE_* constants to IW_MODE_*
15109         * Make all the get_mode/set_mode functions take and return 'int'
15110         * Convert D-BUS calls that pass mode to DBUS_TYPE_INT32 rather than UINT32
15111
15112 2005-12-07  Robert Love  <rml@novell.com>
15113
15114         * src/NetworkManagerDevice.c: strncpy() buffer check.
15115         * src/NetworkManagerUtils.c: be anal about syslog() formatting.
15116
15117 2005-12-06  Dan Williams  <dcbw@redhat.com>
15118
15119         * gnome/applet/applet-dbus.c
15120                 - (set_vpn_last_attempt_status): remove, now in applet-dbus-vpn.c
15121
15122         * gnome/applet/applet-dbus-vpn.c
15123                 - (nmwa_dbus_vpn_set_last_attempt_status): new, from applet-dbus.c
15124                 - (nmwa_dbus_vpn_update_vpn_connection_stage): set last_attempt_success
15125                         to TRUE here if stage was ACTIVATED
15126
15127 2005-12-06  Dan Williams  <dcbw@redhat.com>
15128
15129         * Change nm_device_is_* functions to better names:
15130                 nm_device_is_wireless() -> nm_device_is_802_11_wireless()
15131                 nm_device_is_wired() -> nm_device_is_802_3_ethernet()
15132
15133 2005-12-06  Dan Williams  <dcbw@redhat.com>
15134
15135         * Change naming of NMDeviceType to something more sensible:
15136                 NM_DEVICE_TYPE_DONT_KNOW -> NM_DEVICE_TYPE_UNKNOWN
15137                 NM_DEVICE_TYPE_WIRED_ETHERNET -> NM_DEVICE_TYPE_802_3_ETHERNET
15138                 NM_DEVICE_TYPE_WIRELESS_ETHERNET -> NM_DEVICE_TYPE_802_11_WIRELESS
15139
15140 2005-12-06  Dan Williams  <dcbw@redhat.com>
15141
15142         * Move NetworkManager.h -> include/NetworkManager.h
15143         * Split out VPN stuff into include/NetworkManagerVPN.h
15144         * Fix up makefiles to include new location
15145         * Fix up sources to include NetworkManagerVPN.h
15146
15147 2005-12-06  Dan Williams  <dcbw@redhat.com>
15148
15149         Various changes in the applet to move VPN connection "state" -> "stage",
15150         which it actually is.  I'd like to change the signal as well when we
15151         break compat in the near future.
15152
15153 2005-12-06  Dan Williams  <dcbw@redhat.com>
15154
15155         Slackware patches from Paul Blazejowski <paulb@blazebox.homeip.net>
15156         * initscript/Slackware/rc.networkmanager
15157                 - Cosmetic fix
15158
15159         * src/backends/NetworkManagerSlackware.c
15160                 - Kill dhcpcd when starting so that dhclient can bind to DHCP on
15161                         interfaces
15162
15163 2005-12-05  Robert Love  <rml@novell.com>
15164
15165         * src/NetworkManager.c: don't call nm_data_free() when there is nothing
15166           to free, particularly here as it just barfs.
15167
15168 2005-12-05  Dan Williams  <dcbw@redhat.com>
15169
15170         * gnome/applet/applet-dbus.c
15171                 - Work with dbus 0.6 too
15172
15173 2005-12-03  Dan Williams  <dcbw@redhat.com>
15174
15175         * src/NetworkManagerUtils.[ch]
15176           src/nm-ip4-config.c
15177                 - move ip4_netmask_to_prefix() to NetworkManagerUtils.c
15178                 - consolidate code into nm_utils_ip4_addr_to_nl_addr()
15179
15180 2005-12-01  Robert Love  <rml@novell.com>
15181
15182         * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c: We
15183           need a NULL for the '...' parameter, too, to fill the so-called
15184           sentinel.
15185
15186 2005-12-01  Robert Love  <rml@novell.com>
15187
15188         * src/NetworkManagerSystem.c: If iface_to_rtnl_link() returns NULL, the
15189           interface is already gone, so don't call rtnl_link_change() to down
15190           it (which will segfault, anyhow).
15191
15192 2005-11-22  Robert Love  <rml@novell.com>
15193
15194         * src/backends/NetworkManagerSuSE.c: Don't fall back to DHCP if the
15195           gateway is not set, just print a little note.  Configurations without
15196           gateways are valid.
15197
15198 2005-11-22  Robert Love  <rml@novell.com>
15199
15200         * README: update
15201
15202 2005-11-20  Ilkka Tuohela  <hile@iki.fi>
15203
15204         * configure.in: Added Finnish translation to ALL_LINGUAS
15205
15206 2005-11-14  Robert Love  <rml@novell.com>
15207
15208         * vpn-daemons/openvpn: initial checkin of OpenVPN VPN Module, by Tim
15209           Niemueller <tim@niemueller.de>.
15210
15211 2005-11-08  Dan Williams  <dcbw@redhat.com>
15212
15213         Patch from Bill Moss <bmoss@clemson.edu>
15214         * src/NetworkManagerDevice.c
15215                 - (nm_device_activate_stage5_ip_config_commit): fix ordering
15216                         of nm_policy_schedule_activation_finish() to prevent a
15217                         race condition that causes the link to be dropped
15218
15219 2005-11-08  Dan Williams  <dcbw@redhat.com>
15220
15221         Patch from Bill Moss <bmoss@clemson.edu>
15222         * src/NetworkManagerAPList.c
15223           src/NetworkManagerDevice.c
15224           src/NetworkManagerDbus.c
15225                 - Replace occurances of ether_ntoa_r() with iw_ether_ntop() so
15226                         we get more readable ether/mac addresses
15227
15228 2005-11-02  Christopher Aillon  <caillon@redhat.com>
15229
15230         * gnome/applet/main.c: Don't set the restart command.  This fixes
15231         the issue where the restart command was getting copies of all its
15232         arguments for each time the applet was restarted.
15233
15234 2005-11-02  Robert Love  <rml@novell.com>
15235
15236         * gnome/applet/applet.c: Only send the DBUS setWirelessEnabled method
15237           if the widget state differs from our saved state.  This ensures we
15238           do not enter an endless loop of death and destruction.  Also, this
15239           guarantees us that we enforce the widget state.
15240
15241 2005-11-02  Robert Love  <rml@novell.com>
15242
15243         * gnome/applet/applet.c: add nmwa_enable_wireless_set_active().
15244         * gnome/applet/applet-dbus-devices.c: invoke the new function
15245           nmwa_enable_wireless_set_active() to ensure that the state of the
15246           'Enable Wireless' checkbox matches the daemon's state.  This is a
15247           concern because the daemon remembers the state.
15248
15249 2005-11-02  Robert Love  <rml@novell.com>
15250
15251         * gnome/applet/applet.c: Make menu item "Enable Wireless" not "Wireless
15252           Enabled", as checkboxes should be actions/commands not positive
15253           statements, otherwise they are confusing in the unselected case.  See
15254           examples in GNOME HIG, Chapter 6.
15255
15256 2005-11-02  Robert Love  <rml@novell.com>
15257
15258         * gnome/applet/applet.c: When wireless is disabled, act it.  Do not
15259           show a list of wireless networks or the wireless devices or the
15260           "Create Wireless ..." menus.  Aside from this cosmetics, this fixes
15261           a bad bug: If wireless is disabled and the user picks a wireless
15262           network, NM will switch to the network, only to immediately switch
15263           back, as wireless is disabled.  This also reassures people that NM
15264           is not scanning (it is not -- I verified).  Fixes Novell bug #130041.
15265
15266 2005-11-02  Christopher Aillon  <caillon@redhat.com>
15267
15268         * gnome/applet/applet.c:
15269         * gnome/applet/applet.h:
15270         Partial backout of Dan's timeout animation patch.
15271         Timeout IDs cannot legally be 0, so revert the code in place to handle
15272         a timeout ID of 0 to denote the timeout isn't running.
15273
15274 2005-11-02  Christopher Aillon  <caillon@redhat.com>
15275
15276         * src/NetworkManagerPolicy.c:
15277         (nm_policy_device_change_check) Clarify wireless switch nm_info text
15278
15279 2005-10-28  Robert Love  <rml@novell.com>
15280
15281         * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade: Change label to
15282           "Import Saved Configuration..." to make it clear that importing is
15283           not the next step, but an option.  As an aside, a nice TODO would be
15284           to move Importing out of the vpn-specific dialog and into the main
15285           property editor, as Importing goes with Adding, but that will require
15286           some rearchitecting of the VPN stuff I suspect.
15287
15288 2005-10-27  Dan Williams  <dcbw@redhat.com>
15289
15290         Start using libnl.  You need 1.0-pre3 or higher.  Eventually
15291         we should replace most of the distro-specific backend code
15292         with libnl stuff.
15293
15294         Get it here:  http://people.suug.ch/~tgr/libnl/
15295
15296         * configure.in
15297           src/Makefile.am
15298                 - Add checks for libnl pkgconfig file
15299                 - Use LIBNL_LIBS & LIBNL_CFLAGS
15300
15301         * src/NetworkManagerSystem.c
15302           src/nm-ip4-config.[ch]
15303                 - Use libnl rather than ioctl() for most things
15304                 - Remove unused functions
15305
15306 2005-10-27  Robert Love  <rml@novell.com>
15307
15308         * src/backends/NetworkManagerSuSE.c: fix warning message text
15309
15310 2005-10-27  Christopher Aillon  <caillon@redhat.com>
15311
15312         * gnome/applet/applet.c: Use the copyright symbol instead of (C)
15313
15314 2005-10-27  Christopher Aillon  <caillon@redhat.com>
15315
15316         * gnome/applet/applet.c: The applet's about dialog can advertise our 
15317         project page <http://www.gnome.org/projects/NetworkManager/>
15318
15319 2005-10-26  Christopher Aillon  <caillon@redhat.com>
15320
15321         * gnome/applet.c: Also use translator credits if we don't have
15322         the new GtkAboutDialog (older versions of GTK+)
15323
15324 2005-10-26  Robert Love  <rml@novell.com>
15325
15326         * dispatcher-daemon/NetworkManagerDispatcher.c: print actual error string on daemon()
15327           failure; correct usage text for "--no-daemon"
15328
15329 2005-10-25  Dan Williams  <dcbw@redhat.com>
15330
15331         * src/NetworkManagerDevice.c
15332                 - (get_scan_results): cleanups, deal cleanly with ENODATA signifying
15333                         no scan results
15334                 - (free_process_scan_cb_data): unref the device when freeing results
15335                 - (nm_device_wireless_process_scan_results): free scan results a bit later
15336                         so we don't unref the device underneath ourselves
15337
15338 2005-10-25  Dan Williams  <dcbw@redhat.com>
15339
15340         * Back out 2005-10-24 commit from Tor Krill.  Patch
15341                 causes nameservers never to be removed from named.
15342
15343 2005-10-24  Dan Williams  <dcbw@redhat.com>
15344
15345         Clean up wireless scanning and wireless link probing.
15346
15347         * src/NetworkManagerDevice.c
15348                 - (nm_device_probe_wireless_link_state): instead of calling nm_get_best_ap(),
15349                         just see if there's an activation request on the device, and check the
15350                         current link against the activation request access point's ESSID.
15351                 - (link_to_specific_ap): increase the # of failed links we tolerate from 3 to 6
15352                 - (nm_device_wireless_process_scan_results): actually free our scan data, and
15353                         don't call process_scan_results() on zero-length data
15354                 - (nm_device_set_wireless_scan_interval): increase the init scan interval to 
15355                         15 seconds (from 10)
15356
15357 2005-10-24  Dan Williams  <dcbw@redhat.com>
15358
15359         Cleanup some applet stuff:
15360
15361         - Animation timeouts.  If NM died while the applet was animating,
15362                 the applet would not hide itself.  This is now fixed.
15363
15364         - Remove some dead code
15365
15366         - Remove nmi_passphrase_dialog_schedule_cancel() and convert uses
15367                 to nmi_passphrase_dialog_cancel() since we no longer use threads.
15368
15369         - Track animation timeout using a gboolean rather than the timeout's
15370                 ID, since timeout IDs can legally be 0.
15371
15372 2005-10-24  Dan Williams  <dcbw@redhat.com>
15373
15374         * src/backends/interface_parser.c
15375                 - Add void to function declarations that need it
15376                         to match patch from Engin AYDOGAN
15377
15378         * src/backends/interface_parser.h
15379                 - Remove unused prototype for ifparser_interfaces()
15380
15381         Patch from Engin AYDOGAN <engin@bzzzt.biz>
15382         * src/backends/interface_parser.h:
15383                 - Compile fixes for gcc 4.0.2 (add void)
15384
15385 2005-10-24  Dan Williams  <dcbw@redhat.com>
15386
15387         Patch from Tor Krill <tor@krill.nu>
15388         * src/named-manager/nm-named-manager.c
15389                 - Write more than just the first nameserver to /etc/resolv.conf
15390                 - Write out valid /etc/resolv.conf on exit
15391
15392 2005-10-21  Christopher Aillon  <caillon@redhat.com>
15393
15394         * gnome/applet/applet-dbus-vpn.c:
15395         Get rid of spurious newlines in debug console output
15396
15397 2005-10-21  Christopher Aillon  <caillon@redhat.com>
15398
15399         * src/backends/NetworkManagerGentoo.c:
15400         Fix path to killall.  Patch from Dave Shanker <dshanker@gmail.com>
15401
15402 2005-10-20  Robert Love  <rml@novell.com>
15403
15404         * src/NetworkManagerDevice.c: Use fabs() and DBL_EPSILON to avoid a
15405           direct comparison of floating point values, which is never correct.
15406           Also some misc. cleanup.
15407
15408 2005-10-19  Robert Love  <rml@novell.com>
15409
15410         * vpn-daemons/vpnc/nm-vpnc.desktop.in: add fields
15411
15412 2005-10-19  Robert Love  <rml@novell.com>
15413
15414         * gnome/vpn-properties/nm-vpn-properties.c: Correctly set the
15415           sensitivity of the buttons.  Specificaly, do the right thing if
15416           there are no entries.
15417
15418 2005-10-19  Christopher Aillon  <caillon@redhat.com>
15419
15420         * configure.in: Update check for adequate wireless-tools
15421         with an AC_TRY_COMPILE for the new symbols we use.
15422
15423 2005-10-19  Dan Williams  <dcbw@redhat.com>
15424
15425         * src/NetworkManagerDevice.c
15426                 - (process_scan_results): don't drop the last (or only)
15427                         access point we see
15428
15429 2005-10-19  Christopher Aillon  <caillon@redhat.com>
15430
15431         * src/backends/NetworkManagerSlackware.c:
15432         Patch from Nico <lordllucifer@gmail.com>
15433                 - Update the Slackware backend.
15434
15435 2005-10-18  Christopher Aillon  <caillon@redhat.com>
15436
15437         * gnome/applet/other-network-dialog.c: Use g_get_host_name ()
15438         if we've got GLib 2.8.0
15439
15440 2005-10-18  Robert Love  <rml@novell.com>
15441
15442         * src/NetworkManagerDevice.c: invoke the long-in-the-tooth named
15443           function nm_schedule_state_change_signal_broadcast() when we
15444           deactivate a device, too.
15445
15446 2005-10-18  Robert Love  <rml@novell.com>
15447
15448         * gnome/applet/applet.c: nmwa_context_menu_update(): 'iface' could
15449           be used uninitialized.
15450
15451 2005-10-18  Christopher Aillon  <caillon@redhat.com>
15452
15453         * test/libnm_glib_test.c: Test unregistering, too.
15454
15455 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15456
15457         * configure.in: Bump to 0.5.0
15458
15459 2005-10-17  Dan Williams  <dcbw@redhat.com>
15460
15461         * NetworkManager.h
15462                 - Remove WPA-related constants so they aren't part of the
15463                         upcoming release.
15464
15465 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15466
15467         * gnome/applet/applet.c:
15468         * gnome/applet/applet.h:
15469         Desensitize the 'Connection Information' menu item when there is
15470         no active connection.
15471
15472 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15473
15474         * gnome/libnm_glib/libnm_glib.c:
15475         Make libnm_glib_unregister_callback () actually unregister the callback
15476
15477 2005-10-17  Robert Love  <rml@novell.com>
15478
15479         * src/NetworkManagerDevice.c: Actually wait 20s, as we intend, not
15480           two seconds -- tries is updated every 1/10 of a second, not every
15481           second..
15482
15483 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15484
15485         * gnome/applet/applet-dbus-info.c:
15486         Let D-BUS know that we haven't handled a message when we haven't.
15487
15488 2005-10-17  Robert Love  <rml@novell.com>
15489
15490         * src/nm-ip4-config.c: use GPOINTER_TO_UINT and not a straight cast
15491           in order to remain 64-bit clean.
15492
15493 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15494
15495         * gnome/applet/applet-dbus-info.c:
15496         Find network encryption keys asynchronously
15497
15498 2005-10-17  Robert Love  <rml@novell.com>
15499
15500         * src/backends/NetworkManagerDebian.c,
15501           src/backends/NetworkManagerRedHat,
15502           src/backends/NetworkManagerSuSE.c: allow '#' as a valid resolv.conf
15503           comment delimiter.
15504
15505 2005-10-17  Robert Love  <rml@novell.com>
15506
15507         * src/backends/NetworkManagerSuSE.c: use SYSCONFDIR not open-coded
15508           "/etc"
15509
15510 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15511
15512         * src/NetworkManagerDevice.c: (process_scan_results)
15513         Fix logic that checks to see whether we have an ESSID.
15514
15515 2005-10-15  Dan Williams  <dcbw@redhat.com>
15516
15517         Move scanning code into NetworkManager rather than use iwlib's
15518         iw_scan() function, so that we can figure out AP capabilities.
15519
15520         * NetworkManager.h
15521                 - Add AP capability bits
15522
15523         * src/NetworkManagerAP.[ch]
15524                 - Add capability field to NMAccessPoint structure
15525                 - Add WPA & RSN Information Element fields and accessor
15526                         functions to NMAccessPoint
15527
15528         * src/NetworkManagerDevice.c
15529                 - Remove usage of iw_scan
15530                 - Add scanning code to NetworkManager rather than use
15531                         iw_scan() from iwlib
15532
15533         * src/NetworkManagerUtils.[ch]
15534                 - (nm_dispose_scan_results): remove, unused
15535
15536 2005-10-14  Christopher Aillon  <caillon@redhat.com>
15537
15538         * gnome/libnm_glib/libnm_glib.c:
15539         * gnome/libnm_glib/libnm_glib.h:
15540         Use guint instead of gint for callback IDs.
15541
15542 2005-10-12  Christopher Aillon  <caillon@redhat.com>
15543
15544         * gnome/applet/applet.c:
15545         Fix icon animation smoothness issues.  nmwa_redraw_timeout gets called
15546         every 1000ms.  It will unconditionally call nmwa_update_state which
15547         kills the existing animation timeout and registers a new one with a
15548         callback to draw a new frame every 100ms.  There are 11 connecting
15549         icon frames, so the last 2 frames kept getting dropped.  Only reset
15550         the animation timeout if we aren't animating.
15551
15552 2005-10-11  Dan Williams  <dcbw@redhat.com>
15553
15554         * gnome/applet/applet-dbus-devices.c
15555                 - (nmwa_dbus_update_device_info_from_hal), (hal_net_physdev_cb):
15556                         We want to grab the product & vendor from net.physical_dev
15557                         rather than info.parent.
15558
15559 2005-10-11  Dan Williams  <dcbw@redhat.com>
15560
15561         * src/NetworkManagerDevice.c
15562                 - Use the driver's WE version for scanning rather than
15563                         the WE version NM was compiled with.  Fixes random
15564                         crashes in iw_scan () in iwlib.
15565
15566 2005-10-10  Dan Williams  <dcbw@redhat.com>
15567
15568         * Remove nm_system_load_device_modules() from backend files
15569                 and from NetworkManager.c
15570
15571 2005-10-10  Dan Williams  <dcbw@redhat.com>
15572
15573         * src/NetworkManagerPolicy.c
15574                 - Fix some bugs introduced by the capabilities patch
15575
15576 2005-10-10  Dan Williams  <dcbw@redhat.com>
15577
15578         * gnome/applet/applet-dbus-info.c
15579                 - (nmi_dbus_get_network_key): hide the menu when putting up
15580                         the keyring dialog.  (not sure if the code is right...)
15581
15582 2005-10-09  Dan Williams  <dcbw@redhat.com>
15583
15584         Patch from Bill Moss <bmoss@clemson.edu>
15585         * src/NetworkManagerDevice.c
15586                 - (nm_device_set_user_key_for_network): don't try to set auth
15587                         mode on the AP from the allowed list if it's NULL
15588
15589 2005-10-09  Dan Williams  <dcbw@redhat.com>
15590
15591         * Replace the "driver support level" stuff with capabilities.  The
15592                 capability field is a bitfield that is more flexible than the
15593                 old driver support level thing.  It's mostly so we can easily
15594                 figure out what supports WPA and what doesn't, but should be
15595                 quite useful later.
15596
15597 2005-10-09  Dan Williams  <dcbw@redhat.com>
15598
15599         * test/nmtest.c
15600                 - Removed
15601
15602         * test/nm-tool.c
15603           test/Makefile.am
15604                 - Added new "nm-tool" tool that gives quite a bit more
15605                         information
15606
15607 2005-10-07  Robert Love  <rml@novell.com>
15608
15609         * gnome/applet/applet-dbus-info.c, gnome/applet/applet.c,
15610           gnome/applet/applet.h, gnome/vpn-properties/nm-vpn-properties.c,
15611           src/dhcp-manager/nm-dhcp-manager.c, test/libnm_glib_test.c,
15612           test/nmtest.c test/nmtestdevices.c: mark functions 'static' as
15613           appropriate
15614
15615 2005-10-07  Robert Love  <rml@novell.com>
15616
15617         * configure.in: Change our compile flags for the betterment of mankind.
15618           Add "-Wstrict-prototypes" because we comply anyhow and missing a
15619           prototype is very bad on 64-bit platforms as types default to int but
15620           sizeof(int) != sizeof(long) and add "-Wmissing-prototypes" &
15621           "-Wmissing-declarations" to warn if we define an exported function
15622           but fail to put it in a header.
15623
15624 2005-10-07  Robert Love  <rml@novell.com>
15625
15626         * src/NetworkManagerWireless.c: remove stale, unused function, who goes
15627           by the name nm_update_device_wireless_timeouts() and once tried,
15628           without success, to steal my pet turtle.
15629
15630 2005-10-07  Robert Love  <rml@novell.com>
15631
15632         * Cleanup prototypes: put some functions in header files and mark
15633           others as 'static' -- feel free to invert
15634         * src/vpn-manager/nm-dbus-vpn.c: remove prototype of
15635           nm_vpn_manager_vpn_connection_list_copy()
15636         * src/vpn-manager/nm-vpn-act-request.c: remove prototype of
15637           nm_vpn_service_get_dbus_connection()
15638         * src/vpn-manager/nm-vpn-manager.h: add prototypes for
15639           nm_vpn_manager_vpn_connection_list_copy()
15640         * src/vpn-manager/nm-vpn-service.c: make
15641           nm_vpn_service_act_request_failed() and
15642           nm_vpn_service_stage2_daemon_wait() static
15643         * src/vpn-manager/nm-vpn-service.h: add prototype for
15644           nm_vpn_service_get_dbus_connection()
15645
15646 2005-10-06  Christopher Aillon  <caillon@redhat.com>
15647
15648         * gnome/applet/applet.c:
15649         * gnome/applet/applet.h:
15650         * gnome/applet/icons/Makefile.am:
15651         Convey information about the current connection stage in the
15652         icons themselves instead of creating a separate progress bar.
15653
15654 2005-10-04  Robert Love  <rml@novell.com>
15655
15656         * src/nm-dbus-device.c: Use iw_ether_ntop(), not ether_ntoa_r(), to
15657           convert an ether_addr structure's MAC into a string, because the
15658           latter will drop leading zero's and uses lower-case, e.g. 7:3b:4
15659           versus 07:3B:04, while the former will not.
15660
15661 2005-10-04  Robert Love  <rml@novell.com>
15662
15663         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
15664           gnome/applet/nm-device.c, gnome/applet/nm-device.h,
15665           gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
15666           default route in the 'Connection Information' dialog, send primary
15667           and secondary name servers in in "getProperties" DBUS method, add
15668           network_device_{get,set}_{primary,secondary}_dns(),  The primary and
15669           secondary domain name servers are crucial pieces of information
15670           that a user might need in debugging a network problem.
15671
15672 2005-10-04  Robert Love  <rml@novell.com>
15673
15674         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
15675           gnome/applet/nm-device.c, gnome/applet/nm-device.h,
15676           gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
15677           default route in the 'Connection Information' dialog, send default
15678           route in "getProperties" DBUS method, add network_device_set_route(),
15679           and network_device_get_route().  The Gateway is a crucial piece of
15680           connection-related information that a user might need in debugging a
15681           network problem.
15682
15683 2005-10-03  Robert Love  <rml@novell.com>
15684
15685         * src/backends/NetworkManagerSuSE.c: Fix Glib error, GError must be
15686           NULL.
15687
15688 2005-10-02  Dan Williams  <dcbw@redhat.com>
15689
15690         * Shorten time taken to sleep by fastpathing bits of device deactivation
15691                 necessary for sleep.
15692
15693         * Fix issue where deactivating a device might deactivate the active
15694                 VPN connection, even if the VPN was not using the device.
15695
15696 2005-10-02  Dan Williams  <dcbw@redhat.com>
15697
15698         * gnome/applet/applet.c
15699                 - Adjust signal strength -> icon mapping values slightly
15700                         (so that 51% signal doesn't show a 75% icon) by adding
15701                         5% to the values. ex: > 5% now shows 25% icon, > 30%
15702                         shows 50% icon, etc.
15703
15704 2005-09-29  Robert Love  <rml@novell.com>
15705
15706         * src/NetworkManager.c: removed unused variable.
15707
15708 2005-09-28  Dan Williams  <dcbw@redhat.com>
15709
15710         Support for named + DBus, using Red Hat DBus patches for named.  You
15711         can find those patches here, with "dbus" in the patch's filename:
15712
15713                 http://cvs.fedora.redhat.com/viewcvs/devel/bind/
15714
15715         Don't forget the named dbus service file either.
15716
15717         Instead of writing a config file and spawing a named process, NM will
15718         use an already-running dbus-enabled named if it finds one.  NM will
15719         update named's forwarder configuration on the fly using dbus.
15720
15721         If there is no dbus-enabled named running, NM will automatically fall
15722         back to writing the most-recent DNS server information to /etc/resolv.conf
15723         and calling nm_system_update_dns() to kick the system's resolver.
15724
15725         Accordingly, all named-related configure-time options have been removed.
15726
15727 2005-09-26  Robert Love  <rml@novell.com>
15728
15729         * src/backends/NetworkManagerSuSE.c, (nm_system_get_dialup_config): Add
15730           ISDN support!
15731         * src/backends/NetworkManagerSuSE.c, (verify_and_return_provider): Fix
15732           bug in error path if "ASKPASSWORD" is "no".
15733
15734 2005-09-26  Robert Love  <rml@novell.com>
15735
15736         * src/named-manager/nm-named-manager.c: only '#' is officially a valid
15737           comment in /etc/resolv.conf -- ';' is not.
15738
15739 2005-09-19  Dan Williams  <dcbw@redhat.com>
15740
15741         * src/backends/NetworkManagerRedHat.c:
15742         * src/backends/NetworkManagerDebian.c:
15743         * src/backends/NetworkManagerSlackware.c:
15744         * src/backends/NetworkManagerGentoo.c:
15745         * src/backends/NetworkManagerSUSE.c:
15746         Fix invocations of "/sbin/ip address" to use short form instead
15747
15748 2005-09-19  Christopher Aillon  <caillon@redhat.com>
15749
15750         * src/nm-dbus-device.c: Don't assert when getting
15751         addresses of a not yet connected interface.
15752
15753         * gnome/applet/applet.c: Free icons if loading fails.
15754         Use translator-credits so translators can make themselves known.
15755
15756 2005-09-15  Christopher Aillon  <caillon@redhat.com>
15757
15758         * src/NetworkManagerAP.c:
15759         * src/NetworkManagerAP.h:
15760         * src/NetworkManagerDevice.c:
15761         Set a blacklist for certain common manufacturer default ESSIDs:
15762         APs with these ESSIDs are extremely likely to be completely
15763         different networks: connecting to one should not make NM
15764         auto-connect to every other AP with the same default ESSID.
15765
15766 2005-09-12  Christopher Aillon  <caillon@redhat.com>
15767
15768         * gnome/applet/wireless-applet.glade:
15769         The passphrase entry should also activate the default
15770
15771         * src/gnome-keyring-md5.c: Updated code from gnome-keyring
15772
15773         * gnome/applet/applet-dbus-devices.c:
15774         * gnome/applet/applet.c:
15775         * gnome/applet/nm-device.c:
15776         * gnome/applet/nm-device.h:
15777         * src/NetworkManagerUtils.c:
15778         * src/NetworkManagerUtils.h:
15779         * src/nm-dbus-device.c:
15780         I've got a fever, and the only cure for it is less ioctl.
15781         Make NM push IP data rather than make the applet open a socket
15782         to the device.
15783
15784 2005-09-10  Christopher Aillon  <caillon@redhat.com>
15785
15786         * gnome/applet/applet.c:
15787         * gnome/applet/applet-dbus-devices.c:
15788         * gnome/applet/applet-dbus-info.c:
15789         * gnome/applet/passphrase-dialog.c:
15790         * gnome/libnm_glib/libnm_glib.c:
15791         * gnome/vpn-properties/nm-vpn-properties.c:
15792         * src/autoip.c:
15793         * src/backends/NetworkManagerRedHat.c:
15794         * src/named-manager/nm-named-manager.c:
15795         * src/NetworkManagerAPList.c:
15796         * src/NetworkManager.c:
15797         * src/NetworkManagerDbus.c:
15798         * src/NetworkManagerDevice.c:
15799         * src/NetworkManagerPolicy.c:
15800         * src/NetworkManagerSystem.c:
15801         * src/nm-dbus-device.c:
15802         * src/nm-dbus-nm.c:
15803         * src/vpn-manager/nm-vpn-manager.c:
15804         * src/vpn-manager/nm-vpn-service.c:
15805         * test/libnm_glib_test.c:
15806         * test/nminfotest.c:
15807         * test/nmtestdevices.c:
15808         Fix a bunch of 'unused variable' compiler warnings
15809
15810         * NetworkManager.h:
15811         * gnome/applet/applet-dbus-info.c:
15812         * gnome/applet/applet-dbus-info.h:
15813         * gnome/applet/applet.c:
15814         * gnome/applet/applet.h:
15815         * src/NetworkManager.c:
15816         * src/NetworkManagerDbus.c:
15817         * src/NetworkManagerDbus.h:
15818         * src/NetworkManagerDevice.c:
15819         * src/NetworkManagerDevice.h:
15820         * src/NetworkManagerMain.h:
15821         * src/NetworkManagerWireless.c:
15822         * src/NetworkManagerWireless.h:
15823         * src/nm-dbus-nm.c:
15824         Make NetworkManager be smart about how frequently to scan
15825         based on its current state.  Remove the UI for choosing when
15826         to scan.  Scanning still may disabled completely by the user
15827         via the "Wireless Enabled" menu item.
15828
15829 2005-09-09  Christopher Aillon  <caillon@redhat.com>
15830
15831         * gnome/applet/applet.c:
15832         Also overlay the vpn connecting icons onto the wired icon,
15833         when appropriate.
15834
15835         * gnome/vpn-properties/nm-vpn-properties.glade:
15836         Clean up a few strings to use better grammar and proper casing.
15837
15838 2005-09-08  Christopher Aillon  <caillon@redhat.com>
15839
15840         * gnome/applet/vpn-connection.c:
15841         * gnome/applet/vpn-connection.h:
15842         Add nmwa_vpn_connection_is_activating ()
15843
15844         * gnome/applet/applet.c:
15845         * gnome/applet/applet.h:
15846         * gnome/applet/icons/nm-vpn-connecting*.png:
15847         Add new VPN connecting icons from Diana Fong <dfong@redhat.com>, letting
15848         the user know something's happening between clicking the VPN item and it
15849         actually being connected.
15850
15851 2005-09-07  Christopher Aillon  <caillon@redhat.com>
15852
15853         * gnome/applet/applet-dbus-info.c: need to free attributes in the
15854         failure case as well.
15855
15856 2005-09-07  Rodrigo Moya <rodrigo@novell.com>
15857
15858         * gnome/panel/eggtrayicon.[ch]:
15859         * examples/python/systray/eggtrayicon.[ch]: updated code from libegg.
15860
15861 2005-09-07  Dan Williams  <dcbw@redhat.com>
15862
15863         Patch from Bill Moss <bmoss@clemson.edu>
15864         * src/applet-dbus.c
15865                 - (nmwa_dbus_filter): strip whitespace from beginning
15866                         and end of VPN login banner
15867
15868 2005-09-07  Dan Williams  <dcbw@redhat.com>
15869
15870         * The great VPN Manager rewrite of 2005
15871
15872 2005-09-07  Christopher Aillon  <caillon@redhat.com>
15873
15874         * gnome/applet/menu-items.c:
15875         * gnome/applet/nm-device.c:
15876         * gnome/applet/wireless-network.c:
15877         * gnome/libnm_glib/libnm_glib.c:
15878         * src/NetworkManagerDbusUtils.c:
15879         * vpn-daemons/vpnc/src/nm-vpnc-service.c:
15880         g_malloc0 doesn't return NULL
15881
15882 2005-09-06  Dan Williams  <dcbw@redhat.com>
15883
15884         Patch from Tomislav Vujec <tvujec@redhat.com>
15885         * src/NetworkManagerDevice.c
15886                 - (nm_get_device_by_udi): don't return a device when we
15887                         actually didn't find what we were looking for
15888
15889 2005-09-06  Christopher Aillon  <caillon@redhat.com>
15890
15891         * gnome/applet/applet-dbus-devices.c:
15892         * gnome/applet/applet-dbus-devices.h:
15893         * gnome/applet/applet-dbus.c:
15894         * src/NetworkManagerDbus.c:
15895         * src/NetworkManagerDbus.h:
15896         * src/NetworkManagerDevice.c:
15897         * src/nm-dbus-device.c:
15898         Make NM push updates about active device strength when it changes,
15899         rather than having the applet poll every 2s.
15900
15901 2005-09-05  Christopher Aillon  <caillon@redhat.com>
15902
15903         * gnome/applet/applet-dbus-devices.c: Remove duplicate call to
15904         network_device_set_strength
15905
15906 2005-09-04  Dan Williams  <dcbw@redhat.com>
15907
15908         Patch from Bill Nottingham <notting@redhat.com>
15909         * src/NetworkManagerDevice.c
15910                 - (nm_device_activation_cancel): reset the quit_activation flag
15911
15912 2005-09-04  Dan Williams  <dcbw@redhat.com>
15913
15914         * src/nm-activation-request.c
15915                 - (nm_act_request_unref): actually free the structure,
15916                         which we didn't seem to be doing before
15917
15918 2005-09-04  Dan Williams  <dcbw@redhat.com>
15919
15920         Patch from John Palmieri <johnp@redhat.com>
15921         * gnome/applet/applet-dbus-devices.c
15922                 - Fix up unreffing of DBusMessage objects
15923
15924 2005-09-04  Dan Williams  <dcbw@redhat.com>
15925
15926         Patch from John Palmieri <johnp@redhat.com>
15927         * gnome/applet/nm-device.c
15928                 - (nm_device_unref): clear network_device's memory _before_ freeing it
15929
15930 2005-09-02  Christopher Aillon  <caillon@redhat.com>
15931
15932         * gnome/applet/applet.c: Use a check menu item for Wireless Enabled
15933
15934 2005-09-02  Bill Nottingham  <notting@redhat.com>
15935
15936         * src/backends/NetworkManagerRedHat.c: use nm_warning, not nm_error
15937
15938 2005-09-01  Dan Williams  <dcbw@redhat.com>
15939
15940         * src/NetworkManager.c
15941                 - (nm_remove_device_from_list): rename to nm_remove_device
15942                 - (nm_hal_device_removed): call nm_remove_device()
15943
15944         * src/NetworkManagerDevice.c
15945                 - Change the NMWirelessScanCB member 'reschedule' which
15946                         wasn't used to 'force' to indicate that we need to
15947                         force a scan when adding a device
15948
15949         * src/nm-dbus-nm.c
15950                 - (nm_dbus_nm_sleep): Deactivate all devices and remove them
15951                         from the device list
15952                 - (nm_dbus_nm_wake): Re-add all devices to the device list
15953
15954 2005-09-01  Robert Love  <rml@novell.com>
15955
15956         * gnome/applet/applet.c: nmwa_update_info: iface is used uninitialized
15957           and the check "!iface" in the error case is probably never true.
15958
15959 2005-09-01  Dan Williams  <dcbw@redhat.com>
15960
15961         Patch from Bill Nottingham <notting@redhat.com>
15962         * src/backends/NetworkManagerRedHat.c
15963                 - Add initial dialup support to Red Hat/Fedora backend
15964
15965 2005-09-01  Dan Williams  <dcbw@redhat.com>
15966
15967         * gnome/applet/applet-dbus-devices.c
15968                 - Sort both wireless networks and devices again, which got
15969                         broken when removing threading
15970
15971 2005-09-01  Christopher Aillon  <caillon@redhat.com>
15972
15973         * gnome/applet/applet.c:
15974         Only show the "Stop/Start All Wireless Devices" menuitem
15975         if we actually have wireless devices.
15976
15977         * gnome/applet/applet-dbus-info.c:
15978         * gnome/applet/applet.c:
15979         * gnome/applet/other-network-dialog.c:
15980         * gnome/applet/vpn-password-dialog.c:
15981         Drop the gtk_dialog_run () calls in favor of connecting to
15982         "response" signals, needed now that the applet is not threaded.
15983
15984 2005-08-31  Dan Williams  <dcbw@redhat.com>
15985
15986         Patch from Bill Moss <bmoss@clemson.edu>
15987         * src/NetworkManagerDevice.c
15988                 - (nm_device_wireless_scan): fix scan timeout values
15989
15990 2005-08-30  Dan Williams  <dcbw@redhat.com>
15991
15992         * gnome/applet/wireless-applet.glade
15993                 - HIG-ify the Other Wireless Networks dialog a bit more
15994                 - Fix some potential segfaults in the info dialog
15995
15996 2005-08-30  Dan Williams  <dcbw@redhat.com>
15997
15998         * gnome/applet/applet-dbus-devices.c
15999                 - Remove nmwa_dbus_get_hal_device_string_property(); unused
16000
16001 2005-08-30  Dan Williams  <dcbw@redhat.com>
16002
16003         * gnome/applet/applet-dbus.[ch]
16004                 - Remove all the nmwa_dbus_call_method_xxxx functions since
16005                         they weren't being used anyway
16006
16007 2005-08-30  Bastien Nocera  <hadess@hadess.net>
16008
16009         * test/nmtestdevices.c: (print_usage), (main):
16010         Check the number of arguments, and fix a typo
16011
16012 2005-08-29  Dan Williams  <dcbw@redhat.com>
16013
16014         Patch from Dumitru Ciobarcianu <Dumitru.Ciobarcianu@iNES.RO>
16015         * gnome/applet/applet.c
16016                 - Define GTK_STOCK_INFO for GTK 2.6 and lower
16017
16018 2005-08-29  Dan Williams  <dcbw@redhat.com>
16019
16020         * gnome/applet/*
16021                 - Don't use threads any more.  Anything that blocks
16022                         (like gtk_dialog_run()) will  have to get fixed up which
16023                         should happen quickly.  We really only had threads to make
16024                         the animation smooth, and when everything got converted over
16025                         to DBus Pending Calls, the need for threads kind of went away
16026
16027 2005-08-29  Christopher Aillon  <caillon@redhat.com>
16028
16029         * gnome/applet/applet.c: Draw VPN connections as radio items
16030         since we don't yet support multiple VPNs.
16031         * gnome/applet/other-network-dialog.c: Use stock icon for Connect
16032         * gnome/vpn-properties/nm-vpn-properties.c: Use stock icon for Delete
16033
16034 2005-08-29  Dan Williams  <dcbw@redhat.com>
16035
16036         Patch from j@bootlab.org
16037         - Make --without-named work
16038         - Make --with-dhcdbd work correctly
16039
16040 2005-08-27  Josep Puigdemont i Casamajó  <josep.puigdemont@gmail.com>
16041
16042         * configure.in: Added "ca" to ALL_LINGUAS.
16043
16044 2005-08-26  Christopher Aillon  <caillon@redhat.com>
16045
16046         * Fix up VPN state handling between the applet and NetworkManager,
16047                 so that the applet doesn't show a VPN as connected when one
16048                 really is not
16049                         - The applet no longer has a pointer to the active VPN's
16050                                 name, but tracks each VPNs state individually
16051                         - NM no longer has a "getActiveVPNConnection" method
16052                         - NM no longer broadcasts the "VPNConnectionChange" signal
16053                         - NM now broadcasts a "VPNConnectionStateChange" signal
16054                                 whenever the state of a VPN changes
16055
16056 2005-08-26  Dan Williams <dcbw@redhat.com>
16057
16058         * gnome/applet/applet-dbus-devices.c
16059           gnome/applet/applet-dbus-vpn.c
16060                 - Remove calls to dbus_pending_call_ref() because we already
16061                         "own" the pending call
16062                 - Remove calls to dbus_pending_call_get_completed() because
16063                         when we are in the callback, the pending call is completed
16064                         by definition
16065
16066 2005-08-22  Dan Williams <dcbw@redhat.com>
16067
16068         Patch by Bill Moss <bmoss@clemson.edu>
16069         * src/dhcp-manager/nm-dhcp-manager.c
16070                 - (nm_dhcp_manager_cancel_transaction): Give dhcdbd/dhclient
16071                         some time to send out a RELEASE if they like
16072
16073 2005-08-22  Dan Williams <dcbw@redhat.com>
16074
16075         Noticed by Bill Moss <bmoss@clemson.edu>
16076         * src/NetworkManagerDbus.c
16077                 - (nm_dbus_get_user_key_for_network_cb): deactivate the device
16078                         instead of just cancelling its activation
16079
16080         * src/NetworkManagerDevice.c
16081                 - (nm_device_deactivate): some small cleanups
16082                 - (nm_device_set_user_key_for_network): deactivate the device
16083                         instead of just cancelling its activation
16084
16085 2005-08-22  Dan Williams <dcbw@redhat.com>
16086
16087         Noticed by Bill Moss <bmoss@clemson.edu>
16088         * src/NetworkManagerDevice.c
16089                 - (nm_device_wireless_scan): fix scan timeout, we were
16090                         waiting way too long for scans to complete
16091
16092 2005-08-22  Dan Williams <dcbw@redhat.com>
16093
16094         Patch from j@bootlab.org:
16095         * src/backends/NetworkManagerDebian.c
16096                 - Make the Debian backend work for static IP again
16097
16098 2005-08-20  Christopher Aillon  <caillon@redhat.com>
16099
16100         * gnome/applet/other-network-dialog.c:
16101         The "Create New Network" and "Connect to Other Network"
16102         dialogs share alot of code, but shouldn't share a window
16103         title.  Give them different ones.
16104
16105         * gnome/applet/wireless-applet.glade:
16106         * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
16107         Some more minor UI tweaks.
16108
16109 2005-08-19  Christopher Aillon  <caillon@redhat.com>
16110
16111         * gnome/applet/other-network-dialog.c:
16112         * gnome/applet/wireless-applet.glade:
16113         Also need mnemonic widgets, and underline enabled.
16114
16115 2005-08-19  Dan Williams <dcbw@redhat.com>
16116
16117         * vpn-daemons/vpnc/nm-vpnc-service.c
16118                 - (vpnc_watch_cb): remove no-longer-relevant comment
16119                 - (write_config_option): new function, helper to write
16120                         config options to vpnc's stdin
16121                 - (nm_vpnc_config_write): use the new helper, make the
16122                         code shorter
16123
16124 2005-08-19  Christopher Aillon <caillon@redhat.com>
16125
16126         * gnome/applet/passphrase-dialog.c:
16127         * gnome/applet/wireless-applet.glade:
16128         Make the passphrase dialog response based, and treat
16129         responses other than OK (such as Esc, [X]) as a cancel.
16130
16131 2005-08-18  Christopher Aillon <caillon@redhat.com>
16132
16133         * initscript/Gentoo/NetworkManager:
16134         * initscript/RedHat/NetworkManager:
16135         * initscript/RedHat/NetworkManagerDispatcher:
16136         * initscript/SUSE/networkmanager:
16137         CVS remove these in place of .in replacements
16138
16139         * configure.in:
16140         * initscript/Gentoo/NetworkManager.in:
16141         * initscript/RedHat/NetworkManager.in:
16142         * initscript/RedHat/NetworkManagerDispatcher.in:
16143         * initscript/SUSE/networkmanager.in:
16144         These scripts now are generated so they work still when
16145         NM is built using a bindir other than /usr/bin
16146
16147 2005-08-18  Dan Williams <dcbw@redhat.com>
16148
16149         * gnome/applet/main.c
16150                 - Revert previous change for --no-session since
16151                         --sm-disable does the same thing
16152
16153 2005-08-18  Dan Williams <dcbw@redhat.com>
16154
16155         * gnome/applet/applet-dbus-info.c
16156                 - (nmi_dbus_create_error_message): new function
16157                 - (nmi_dbus_get_key_for_network): correctly use dbus error creation
16158                         functions.  Also don't check for both device _and_ network before
16159                         asking for a user's key, because we may not have gotten all our
16160                         networks back from NM quite yet (due to the dbus pending calls
16161                         coming in later).  Fixes a hang in NM/nm-applet.
16162
16163         * src/NetworkManagerDbus.c
16164                 - (nm_dbus_get_user_key_for_network_cb): handle error conditions in a
16165                         slightly more sane manner, even though we are still broken for
16166                         certain other error conditions.
16167                 - (nm_dbus_get_user_key_for_network): need to pass the network's essid
16168                         to the info-daemon too
16169
16170         * src/NetworkManagerDevice.c
16171                 - Fix some debug messages to be info messages instead
16172
16173 2005-08-18  Dan Williams <dcbw@redhat.com>
16174
16175         * gnome/applet/main.c
16176                 - Add new "--no-session" parameter that disables applet
16177                         session management, ie for testing
16178
16179 2005-08-18  Christopher Aillon <caillon@redhat.com>
16180
16181         * gnome/applet/other-network-dialog.c:
16182         * gnome/applet/wireless-applet.glade: More mnemonics
16183
16184 2005-08-17  Robert Love  <rml@novell.com>
16185
16186         * initscript/SUSE/networkmanager: update
16187
16188 2005-08-17  Dan Williams  <dcbw@redhat.com>
16189
16190         * Tag NM_0_4_1_RELEASE
16191
16192 2005-08-17  Christopher Aillon  <caillon@redhat.com>
16193
16194         * gnome/applet/applet.c: More translatable string cleanup
16195
16196
16197 2005-08-17  Dan Williams  <dcbw@redhat.com>
16198
16199         * gnome/applet/applet-dbus-info.c
16200                 - (nmi_dbus_get_key_for_network): Grab new "new_key" parameter
16201                         from the dbus message, which tells us to unconditionally
16202                         ask the user for a new key.  Otherwise, we pull the key from
16203                         the keyring and return it.  If we fail to get the key from the
16204                         keyring, we ask the user for a new key.
16205                 - (nmi_dbus_get_network_key): new function to grab the key for
16206                         an essid from the keyring.
16207                 - (nmi_dbus_get_network_properties): don't access the keyring here.
16208                         Also, don't return any key in the dbus message.
16209
16210         * src/NetworkManagerDbus.[ch]
16211                 - (nm_dbus_get_user_key_for_network): Add "new_key" parameter to
16212                         indicate that we unconditionally want a new key.  This function
16213                         is now also used to get keys from the info-daemon which are
16214                         pre-stored, not just for asking the user for a new key.  The
16215                         "new_key" parameter indicates whether or not we wish to ask the
16216                         user for a new key.
16217                 - (nm_dbus_get_network_data_cb): we no longer get a key from the
16218                         info-daemon in the return message, so use NULL instead.  The
16219                         key will be filled in at connect time by calling
16220                         nm_dbus_get_user_key_for_network()
16221
16222         * src/NetworkManagerDevice.c
16223                 - (nm_device_wireless_configure): update for "new_key" param to
16224                         nm_dbus_get_user_key_for_network().  We initially set new_key
16225                         to FALSE to see if we have a stored key in the info-daemon, but
16226                         if the connection is unsuccessful at this stage we request a
16227                         new one
16228
16229 2005-08-17  Dan Williams  <dcbw@redhat.com>
16230
16231         * gnome/applet/icons/nm-no-connection.png
16232           gnome/applet/icons/nm-device-wired.png
16233                 - Use Diana's new RJ45 connector icons
16234
16235 2005-08-17  Dan Williams  <dcbw@redhat.com>
16236
16237         * src/NetworkManagerPolicy.c
16238                 - (nm_policy_device_change_check): clarify switching rules if
16239                         both new and old devices are valid; mainly, don't switch
16240                         away from user-requested wireless connection back to a wired
16241                         one
16242
16243 2005-08-17  Dan Williams  <dcbw@redhat.com>
16244
16245         * gnome/applet/Makefile.am
16246                 - Relocate the applet to /usr/bin since it is no longer
16247                         executed by anything, but directly by the user
16248
16249 2005-08-17  Dan Williams  <dcbw@redhat.com>
16250
16251         Patch from Bill Moss <bmoss@clemson.edu>
16252
16253         * gnome/applet/applet-dbus-info.[ch]
16254                 - (nmi_save_network_info): save timestamp for network if it
16255                         was a change requested by the user
16256                 - (nmi_dbus_update_network_info): get user_requested from dbus
16257                         message and pass to nmi_save_network_info()
16258
16259         * gnome/applet/applet.c
16260                 - (nmwa_update_network_timestamp): remove
16261                 - (nmwa_menu_item_activate): don't set timestamp on networks
16262                         here, only after a successful connect in nmi_save_network_info()
16263
16264         * src/NetworkManagerDbus.[ch]
16265                 - (nm_dbus_update_network_info): pass user_requested into the 
16266                         dbus message
16267
16268         * src/NetworkManagerPolicy.c
16269                 - (nm_policy_activation_finish): pass user_requested to
16270                         nm_dbus_update_network_info()
16271
16272 2005-08-16  Robert Love  <rml@novell.com>
16273
16274         * gnome/applet/applet.c: Better "Dial Up" menu item.
16275
16276 2005-08-16  Robert Love  <rml@novell.com>
16277
16278         * gnome/applet/applet.c: use GTK_STOCK_INFO not PROPERTIES for the
16279           "Connection Information" menu item.
16280
16281 2005-08-16  Dan Williams  <dcbw@redhat.com>
16282
16283         Patch from j@bootlab.org
16284         * vpn-daemons/vpnc/Makefile.am: Fix for autoreconf
16285
16286         * configure.in: allow specifying the path to dhcdbd
16287
16288 2005-08-16  Robert Love  <rml@novell.com>
16289
16290         Patch from j@bootlab.org
16291         * src/backends/NetworkManagerDebian.c, src/backends/interface_parser.c,
16292           src/backends/interface_parser.h: Debian dialup support.
16293
16294 2005-08-16  Christopher Aillon  <caillon@redhat.com>
16295
16296         * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
16297         * gnome/applet/applet.c: Add some mnemonics for VPNC
16298
16299         * vpn-daemons/.cvsignore: fix this up a little bit
16300
16301 2005-08-16  Robert Love  <rml@novell.com>
16302
16303         * src/backends/NetworkManagerSuSE.c: improve the SUSE-backend dial up
16304           support.
16305
16306 2005-08-16  Christopher Aillon  <caillon@redhat.com>
16307
16308         * gnome/applet/applet.c: Split markup out of translatable strings
16309         and clean up logic a little bit.  (fixes #309012)
16310
16311 2005-08-15  Christopher Aillon  <caillon@redhat.com>
16312
16313         * gnome/vpn-properties/nm-vpn-properties.c:
16314         * gnome/vpn-properties/nm-vpn-ui-interface.h:
16315         * vpn-daemons/vpnc/properties/nm-vpnc.c:
16316         Makeshift fix to remove newlines from translatable strings.
16317         Note that we now return an allocated string, so callers of
16318         get_confirmation_details () must now call g_free () on the
16319         result. (fixes #309033).
16320
16321 2005-08-12  Robert Love  <rml@novell.com>
16322
16323         * gnome/applet/applet-dbus.c: remove newlines from translatable
16324           strings--not needed here anyway. (fix b.g.o #309011)
16325         * src/nm-netlink.monitor.c: don't translate "%s" (fix b.g.o #172391)
16326
16327 2005-08-11  Robert Love  <rml@novell.com>
16328
16329         * gnome/applet/applet.c: mark string as translatable.
16330
16331 2005-08-11  Robert Love  <rml@novell.com>
16332
16333         * initscript/SUSE/networkmanager: update.
16334
16335 2005-08-11  Dan Williams  <dcbw@redhat.com>
16336
16337         * src/nm-dhcp-manager.c
16338                 - (nm_dhcp_manager_get_ip4_config): if for some reason we don't get
16339                         an gateway returned from DHCP, try to use the address of the DHCP
16340                         server as the gateway instead.  Found by Ralf Ertzinger.
16341
16342 2005-08-10  Robert Love  <rml@novell.com>
16343
16344         * gnome/applet/applet.c: Make applet->dbus_thread joinable so we can
16345           wait for it on exit; call exit() in nmwa_destroy() to jump ship.
16346
16347 2005-08-10  Dan Williams  <dcbw@redhat.com>
16348
16349         Patch from Bill Moss <bmoss@clemson.edu>
16350         * Consolidate writes of access point information updates to the info daemon
16351                 so that we only do it when the connection to the access point was
16352                 successful.  Also consolidates updates to GConf in the Gnome applet.
16353
16354         * src/nm-netlink-monitor.c
16355                 - Silence compile warning when calling g_object_new()
16356
16357 2005-08-08  Dan Williams  <dcbw@redhat.com>
16358
16359         Patch from Steev <steev@steev.net>:
16360         * src/backends/NetworkManagerGentoo.c
16361                 - Stub new dialup backend functions
16362
16363 2005-08-08  Dan Williams  <dcbw@redhat.com>
16364
16365         Patch from Colin Slater:
16366         * src/backends/NetworkManagerGentoo.c
16367                 - (nm_system_update_dns): Fix exit status check for restarting
16368                         nscd
16369
16370 2005-08-05  Robert Love  <rml@novell.com>
16371
16372         * NetworkManager.h,
16373           gnome/applet/applet-dbus-devices.c,
16374           gnome/applet/applet-dbus-devices.h,
16375           gnome/applet/applet-dbus.c,
16376           gnome/applet/applet.c,
16377           gnome/applet/applet.h,
16378           src/NetworkManager.c,
16379           src/NetworkManagerMain.h,
16380           src/NetworkManagerSystem.h,
16381           src/backends/NetworkManagerRedHat.c,
16382           src/backends/NetworkManagerSuSE.c,
16383           src/nm-dbus-nm.c: basic dialup support using distro infrastructure
16384
16385 2005-08-05  Robert Love  <rml@novell.com>
16386
16387         * gnome/applet/other-network-dialog.c: default the adhoc network to the
16388           machine's hostname to make adhoc creation idiot-proof.
16389
16390 2005-08-04  Robert Love  <rml@novell.com>
16391
16392         * gnome/applet/other-network-dialog.c: fix leak. "label" needs to be
16393           freed.
16394
16395 2005-08-04  Dan Williams  <dcbw@redhat.com>
16396
16397         * gnome/applet/applet-dbus-info.c
16398           gnome/applet/applet-dbus-info.h
16399                 - (nmi_dbus_update_network_auth_method->nmi_save_network_info): generalize
16400                         to store key, key type, and auth method rather than just auth method
16401                 - (nmi_dbus_update_network_info): new function
16402                 - (nmi_dbus_info_message_handler): updateNetworkAuthMethod -> updateNetworkInfo
16403
16404         * gnome/applet/passphrase-dialog.c
16405                 - (nmi_passphrase_dialog_ok_clicked): call nmi_save_network_info() instead
16406                         of saving the info ourselves
16407
16408         * gnome/libnm_glib/libnm_glib.c
16409                 - Remove the stupid version check for dbus
16410
16411         * src/NetworkManagerAP.c
16412           src/NetworkManagerAP.h
16413                 - (nm_ap_get_enc_key_source): return 'const char *' rather than 'char *'
16414
16415         * src/NetworkManagerDbus.c
16416           src/NetworkManagerDbus.h
16417                 - (nm_dbus_update_network_auth_method -> nm_dbus_update_network_info): Update
16418                         more than just the auth method
16419
16420         * src/NetworkManagerDevice.c
16421                 - Update network info at the appropriate times
16422
16423 2005-07-29  Ray Strode  <rstrode@redhat.com>
16424
16425         * src/NetworkManager.c (nm_info_handler): don't use input as format
16426         string (Spotted by Ian Jackson).
16427
16428 2005-07-27  Dan Williams  <dcbw@redhat.com>
16429
16430         * src/nm-dbus-nm.c
16431           src/nm-dbus-net.c
16432                 - Random cleanups of spacing
16433
16434         * gnome/applet/applet.h
16435           gnome/applet/other-network-dialog.c
16436           gnome/applet/passphrase-dialog.c
16437                 - Conslidate usage of NMWAEncryptionKeyTypes enum
16438
16439         Patch from Bill Moss:
16440                 - Make Other Wireless Networks work again with encryption keys
16441
16442 2005-07-26  Dan Williams  <dcbw@redhat.com>
16443
16444         Patch from Steev <steev@steev.net>:
16445         * src/backends/NetworkManagerGentoo.c
16446           src/backends/Makefile.am
16447                 - Fix up Gentoo backend
16448
16449 2005-07-26  Robert Love  <rml@novell.com>
16450
16451         * src/backends/NetworkManagerSuSE.c: misc. cleanup
16452
16453 2005-07-25  Robert Love  <rml@novell.com>
16454
16455         * gnome/applet/applet.c: make the "Wired" menu item a radio button,
16456           in the same group as the wireless networks, since they are all
16457           mutually exclusive.
16458
16459 2005-07-24  Ray Strode  <rstrode@redhat.com>
16460
16461         * src/nm-netlink-monitor.c (nm_netlink_monitor_new): 
16462         remove unneeded NULL arg from g_object_new().  Any
16463         warnings caused by not having the extra NULL are just a
16464         result of a bug in glib 2.7.0 - 2.7.2.
16465
16466 2005-07-22  Robert Love  <rml@novell.com>
16467
16468         * gnome/libnm_glib/libnm_glib.c: support D-BUS version 0.35, too
16469
16470 2005-07-22  Robert Love  <rml@novell.com>
16471
16472         * src/nm-netlink-monitor.c: g_object_new() needs at least three
16473           parameters (gcc 4.0.2 warning fix).
16474
16475 2005-07-18  Robert Love  <rml@novell.com>
16476
16477         Suggested by Aaron Bockover (abockover@novell.com)
16478         * gnome/applet/other-network-dialog.c: ASCII is an acronym, thus
16479           s/Ascii/ASCII
16480         * gnome/applet/passphrase-dialog.c: ditto
16481         * gnome/applet/wireless-applet.glade: ditto
16482
16483 2005-07-13  Dan Williams  <dcbw@redhat.com>
16484
16485         Patch from Ray Strode <halfline@gmail.com>
16486         * vpn-daemons/vpnc/nm-vpnc-service.c
16487                 - Don't let vpnc daemonize, fixes some races with PID file reading
16488
16489 2005-07-13  Dan Williams  <dcbw@redhat.com>
16490
16491         Patch from Ray Strode <halfline@gmail.com>
16492         * Random cleanups for strict CFLAGS
16493
16494 2005-07-07  Dan Williams  <dcbw@redhat.com>
16495
16496         Patch from Derek Atkins <warlord@MIT.EDU>
16497         * src/nm-dbus-net.c:
16498                 - (nm_dbus_get_ap_from_object_path): differentiate similar ESSIDs
16499
16500 2005-07-07  Dan Williams  <dcbw@redhat.com>
16501
16502         Patch from Jos Dehaes <jos_dehaes@fastmail.fm>
16503         * src/backends/NetworkManagerGentoo.c
16504                 - Gentoo backend Static IP nameserver fixes
16505                 - General Gentoo backend goodness
16506
16507 2005-07-07  Dan Williams  <dcbw@redhat.com>
16508
16509         Patch from Bastien Nocera:
16510         * gnome/applet/applet.c
16511                 - Fix up error reporting when icons or glade files are missing
16512
16513 2005-07-07  Robert Love  <rml@novell.com>
16514
16515         * gnome/applet/applet.c: do not draw the VPN menu's seperator if there
16516           are not any VPN connections above it.
16517
16518 2005-07-07  Robert Love  <rml@novell.com>
16519
16520         * gnome/applet/applet.c: whoops, left some "dog" debugging code in.
16521
16522 2005-07-05  Robert Love  <rml@novell.com>
16523
16524         * src/NetworkManagerSystem.c: bail out if asked to set a gateway of
16525           zero.
16526
16527 2005-07-05  Robert Love  <rml@novell.com>
16528
16529         * src/NetworkManagerDevice.c: use link-local (autoip) on DHCP failure
16530           on wired or unencrypted wireless.
16531
16532 2005-07-01  Robert Love  <rml@novell.com>
16533
16534         * src/NetworkManagerSystem.c: Print the error via strerror().
16535
16536 2005-06-30  Robert Love  <rml@novell.com>
16537
16538         * gnome/vpn-properties/nm-vpn-properties.c: display an error dialog and
16539           then exit if the glade file is not found.  currently the application
16540           just hangs.
16541
16542 2005-06-30  Robert Love  <rml@novell.com>
16543
16544         * src/nm-dbus-nm.c: Patch by Bill Moss <bmoss@clemson.edu> to
16545           explicitly up all interfaces on wake from sleep.
16546
16547 2005-06-30  Robert Love  <rml@novell.com>
16548
16549         * gnome/applet/applet.c: Add right-click menu item "Connection Info"
16550           with information about the currently active connection.
16551         * gnome/applet/applet.h: (ditto)
16552         * gnome/applet/wireless-applet.glade: (ditto), new file
16553
16554 2005-06-30  Robert Love  <rml@novell.com>
16555
16556         * src/NetworkManagerDevice.c: g_malloc0 cannot fail.
16557         * src/nm-dbus-nm.c: print when we sleep and wake up.
16558         * gnome/applet/menu-items.c: whitespace, misc. cleanup.
16559         * configure.in: look in "/usr/sbin" for dhcdbd, too. (it shouldn't be
16560           in /sbin unless D-BUS is, folks).
16561         * README: update to reflect nm-applet replacing NetworkManagerInfo.
16562
16563 2005-06-27  Robert Love  <rml@novell.com>
16564
16565         * src/nm-dbus-nm.c: fix "setWirelessEnabled" call for the enabling
16566           case.
16567
16568 2005-06-27  Robert Love  <rml@novell.com>
16569
16570         * gnome/applet/applet.c: make the 'Wireless Network Discovery' menu
16571           items radios.
16572
16573 2005-06-26  Robert Love  <rml@novell.com>
16574
16575         * src/NetworkManagerDevice.c: be specific about which device in
16576           nm_info() message.
16577
16578 2005-06-23  Adam Weinberger  <adamw@gnome.org>
16579
16580         * src/nm-netlink-monitor.c: correct spelling error.
16581
16582 2005-06-23  Robert Love  <rml@novell.com>
16583
16584         * gnome/applet/applet-dbus-info.c: gnome keyring support!
16585         * gnome/applet/passphrase-dialog.c: more of that keyring!
16586
16587 2005-06-23  Robert Love  <rml@novell.com>
16588
16589         * configure.in: remove extraneous GNOMEKEYRING directives.
16590         * gnome/applet/Makefile.am: s/GNOMEKEYRING/GNOME_KEYRING/.
16591         * gnome/applet/applet.c: nmwa_icons_init: make style local.
16592         * gnome/applet/passphrase-dialog.c: whitespace.
16593
16594 2005-06-23  Robert Love  <rml@novell.com>
16595
16596         * src/NetworkManagerDevice.c: division in assignment was flipped.
16597
16598 2005-06-23  David Zeuthen  <david@fubar.dk>
16599
16600         * gnome/applet/vpn-password-dialog.c (child_stdout_data_cb): Send a
16601         signal to the child to indicate that we got what we wanted when we
16602         see two new-lines right after each other.
16603         (nmwa_vpn_request_password): Pass a structure with several members
16604         instead of just the passwords
16605
16606 2005-06-23  Dan Williams <dcbw@redhat.com>
16607
16608         * src/NetworkManager.c
16609           src/NetworkManagerMain.h
16610                 - (nm_get_hal_ctx): new function, move Hal initialization code here
16611                 - (nm_hal_init): new function, init libhal context then add devices
16612                 - (nm_hal_deinit): new function, clean up libhal context
16613                 - (nm_data_free): Move Hal cleanup here
16614                 - (main): check whether Hal is running, and if so, get a list of
16615                         network devices from it
16616
16617         * src/NetworkManagerDbus.c
16618                 - (nm_dbus_signal_filter): trap NameOwnerChanged signals for Hal,
16619                         and when it appears, get a list of network devices from it.  If
16620                         Hal goes away, clean up the libhal context
16621
16622 2005-06-22  Robert Love  <rml@novell.com>
16623
16624         * dispatcher-daemon/NetworkManagerDispatcher.c: fix FIXME: check
16625           permissions of scripts before executing.
16626
16627 2005-06-21  Robert Love  <rml@novell.com>
16628
16629         * initscript/SUSE/networkmanager: update.
16630         * src/backends/NetworkManagerSuSE.c: cleanup.
16631
16632 2005-06-21  Robert Love <rml@novell.com>
16633
16634         * gnome/applet/applet.c: use menu mnemonics.
16635         * gnome/applet/menu-items.c: (ditto)
16636
16637 2005-06-21  Robert Love  <rml@novell.com>
16638
16639         * applet/applet-dbus-devices.c: mark non-static functions static.
16640         * applet/applet-dbus-vpn.c: (ditto)
16641         * applet/applet.c: (ditto)
16642         * applet/nm-device.h: (ditto)
16643         * applet/other-network-dialog.c: (ditto)
16644         * applet/passphrase-dialog.c: (ditto)
16645         * NetworkManager.c: (ditto)
16646         * NetworkManagerDbus.c: (ditto)
16647         * NetworkManagerDevice.c: (ditto)
16648         * NetworkManagerPolicy.c: (ditto)
16649         * NetworkManagerUtils.c: (ditto)
16650         * NetworkManagerWireless.c: (ditto)
16651         * NetworkManagerWireless.h: (ditto)
16652         * nm-netlink-monitor.c: (ditto)
16653         * applet/applet-dbus-info.c: (ditto), add FIXME's.
16654         * vpn-manager/nm-dbus-vpn.c: (ditto), remove shadowed variable.
16655         * autoip.c: include autoip.h.
16656         * autoip.h: new file.  define get_autoip().
16657         * nm-netlink-monitor.h: define nm_netlink_close_connection().
16658         * NetworkManagerDbus.h: remove duplicate definitions.
16659
16660 2005-06-20  Robert Love  <rml@novell.com>
16661
16662         * Makefile.am: Add missing intltool-foo.in generated files to
16663           EXTRA_DIST so that 'distcheck' works.  Also add DISTCLEANFILES
16664           with the start of stuff to cleanup on 'distclea'.
16665         * configure.in: add AC_PROG_INTLTOOL macro so that we do the intltool
16666           stuff right and 'distcheck' works.
16667         * po/POTFILES.in: Remove examples/python/systray/eggtrayicon.c.  If
16668           we keep it, we need to add all of examples/* to EXTRA_DIST and do
16669           Makefile.am for each.  And systray/Makefile needs to be redone.
16670
16671 2005-06-19  Dan Williams <dcbw@redhat.com>
16672
16673         * src/NetworkManagerDevice.c
16674         - (nm_device_wireless_process_scan_results): scan every 20s when
16675           disconnected and scanning is ALWAYS_SCAN or WHEN_UNASSOCIATED
16676
16677 2005-06-19  Dan Williams <dcbw@redhat.com>
16678
16679         * WEXT_DEBUG->IOCTL_DEBUG, extend checking to all ioctl() calls
16680
16681 2005-06-18  Ray Strode <rstrode@redhat.com>
16682
16683         * src/nm-netlink-monitor.c 
16684         (nm_netlink_monitor_event_handler): check for the presence
16685         of either error condition not both. 
16686         
16687         (nm_netlink_monitor_error_handler): emit error signal if
16688         error occurs.
16689
16690         (nm_netlink_monitor_event_handler),
16691         (nm_netlink_monitor_error_handler),
16692         (nm_netlink_monitor_disconnect_handler): if an 
16693         assertion fails disconnect the event handler to prevent 
16694         infinite loops.
16695
16696         * src/nm-netlink-monitor.h: add new error condition
16697         NM_NETLINK_MONITOR_ERROR_WAITING_FOR_SOCKET_DATA
16698
16699 2005-06-18  Ray Strode <rstrode@redhat.com>
16700
16701         * src/nm-netlink-monitor.c 
16702         (nm_netlink_monitor_event_handler): remove bogus < 0
16703         check on unsigned value and return early if the kernel
16704         didn't send any bytes.
16705
16706 2005-06-17  Robert Love  <rml@novell.com>
16707
16708         * initscript/SUSE/networkmanager: Change the Provides and default
16709         run levels
16710
16711 2005-06-16  Dan Williams <dcbw@redhat.com>
16712
16713         Patch from Robert Love:
16714         * gnome/applet/applet.c
16715                 - Beautify some applet menu item names
16716
16717 2005-06-17  David Zeuthen  <davidz@redhat.com>
16718
16719         * gnome/vpn-properties/nm-vpn-ui-interface.h: Require users of this
16720         API to define NM_VPN_API_SUBJECT_TO_CHANGE to acknowledge API churn.
16721         Also add new methods can_export, import_file and export.
16722
16723         * gnome/vpn-properties/nm-vpn-properties.glade: Add an Export button
16724         to the main UI
16725
16726         * gnome/vpn-properties/nm-vpn-properties.c:
16727         Define NM_VPN_API_SUBJECT_TO_CHANGE so we can actually include
16728         nm-vpn-ui-interface.h.
16729         (update_edit_del_sensitivity): Also update "Export" sensitivity
16730         (add_vpn_connection): Also add new SVC_NAME column
16731         (import_settings): New function
16732         (retrieve_data_from_selected_connection): New function
16733         (edit_cb): Use retrieve_data_from_selected_connection to simplify
16734         this function
16735         (export_cb): New function
16736         (init_app): Also setup the "export" widget
16737         (main): Support the --import-service and --import-file commandline
16738         arguments
16739
16740         * gnome/libnm_glib/libnm_glib.c (libnm_glib_dbus_filter): Also support
16741         D-BUS 0.34
16742
16743 2005-06-16  Dan Williams <dcbw@redhat.com>
16744
16745         Patch from Robert Love:
16746         * gnome/applet/menu-items.c
16747                 - (network_menu_item_new): pass -1 as wireless network
16748                         menu items height size request rather than ascent / 2
16749
16750 2005-06-16  Dan Williams <dcbw@redhat.com>
16751
16752         * Clean up wording in Wireless Scan Methods menu items and constants
16753
16754 2005-06-16  Robert Love  <rml@novell.com>
16755
16756         * po/POTFILES.in
16757                 - remove gtkcell* files
16758
16759 2005-06-15  Dan Williams <dcbw@redhat.com>
16760
16761         Patch from Robert Love: make the applet stetic
16762
16763         * gnome/applet/Makefile.am
16764                 - Don't compile the gtkcellview and gtkcellrendererprogress files
16765
16766         * gnome/applet/gtkcellview.h
16767           gnome/applet/gtkcellview.c
16768           gnome/applet/gtkcellrendererprogress.h
16769           gnome/applet/gtkcellrendererprogress.c
16770                 - Removed
16771
16772         * gnome/applet/menu-items.c
16773                 - Progress bars are 5:1 size ratio
16774                 - Use GTK progress bars rather than internal ones
16775
16776 2005-06-15  Dan Williams <dcbw@redhat.com>
16777
16778         Patch from Robert Love:
16779         * initscript/SUSE/networkmanager
16780                 - Fix typo
16781
16782 2005-06-15  Dan Williams <dcbw@redhat.com>
16783
16784         * src/backends/NetworkManagerSuSE.c
16785           src/backends/NetworkManagerRedHat.c
16786           src/backends/NetworkManagerDebian.c
16787                 - (set_ip4_config_from_resolv_conf): Fix typo I made, '==' -> '='
16788
16789 2005-06-15  Dan Williams <dcbw@redhat.com>
16790
16791         * src/backends/NetworkManagerDebian.c
16792                 - Add nm_system_device_get_use_dhcp() to debian backend
16793
16794         Patch from Kay Sievers:
16795         * src/backends/NetworkManagerSuSE.c
16796                 - Update debian backend for static IP nameservers
16797
16798         * src/NetworkManagerDevice.c
16799                 - Actually set the device to use static IP or DHCP rather
16800                         than always DHCP
16801
16802 2005-06-15  Dan Williams <dcbw@redhat.com>
16803
16804         Patch from Thom May:
16805         * src/backends/NetworkManagerDebian.c
16806                 - Update debian backend for static IP nameservers
16807
16808 2005-06-15  Dan Williams <dcbw@redhat.com>
16809
16810         Patches from Robert Love:
16811         * gnome/applet/wireless-applet.glade
16812                 - Tighten up wording
16813
16814         * src/NetworkManagerDevice.c
16815                 - Remove misplaced ';'
16816
16817         * configure.in
16818           initscript/Makefile.am
16819           initscript/SUSE/Makefile.am
16820           initscript/SUSE/networkmanager
16821                 - Add SUSE initscript
16822
16823 2005-06-12  David Zeuthen  <davidz@redhat.com>
16824
16825         * gnome/vpn-properties/nm-vpn-ui-interface.h: New file
16826
16827         * gnome/vpn-properties/nm-vpn-properties.glade: New file
16828
16829         * gnome/vpn-properties/nm-vpn-properties.c: New file
16830
16831         * gnome/vpn-properties/Makefile.am: New file
16832
16833         * src/vpn-manager/nm-vpn-manager.h: Rework prototypes to take an
16834         array of passwords
16835
16836         * src/vpn-manager/nm-vpn-manager.c
16837         (nm_vpn_manager_activate_vpn_connection): Take an array of passwords
16838         instead of just a single one
16839
16840         * src/vpn-manager/nm-dbus-vpn.c:
16841         (nm_dbus_vpn_get_vpn_connection_properties): Also append service_name
16842         here
16843         (nm_dbus_vpn_activate_connection): Rework to take an array of passwords
16844
16845         * gnome/applet/vpn-password-dialog.h (nmwa_vpn_request_password): 
16846         Change the interface here to give a list of passwords. Also, don't
16847         require username, but do require service
16848
16849         * gnome/applet/vpn-password-dialog.c: Look up the VPN .name files for
16850         the binary for the auth-dialog and use that instead of putting up a
16851         dialog asking for a single password
16852
16853         * gnome/applet/vpn-connection.[ch]: Don't remember the user_name,
16854         however do remember the service
16855
16856         * gnome/applet/main.c (main): Setup i18n
16857
16858         * gnome/applet/applet.c (nmwa_update_state): Add a line "VPN
16859         connection to '%s'" to the tooltip if we are connected using VPN
16860         (nmwa_menu_vpn_item_activate): Check last_attempt_success gconf
16861         key to determine whether we the auth-dialog needs to
16862         reprompt. Also cope with the fact that the auth-dialog now returns
16863         an array of passwords.
16864         (nmwa_menu_configure_vpn_item_activate): New handler for
16865         "Configure VPN..." menu item
16866         (nmwa_menu_add_vpn_menu): Add the "Configure VPN..." menu item
16867         (is_vpn_available): New function to determine if we got any
16868         NM-compatible VPN software installed
16869         (nmwa_menu_add_devices): Use is_vpn_available to add VPN menu
16870         items only if we have NM-compatible VPN software installed
16871         (nmwa_gconf_vpn_connections_notify_callback): Slightly rework the
16872         logic for detecting when VPN connections are removed
16873
16874         * gnome/applet/applet-dbus.h: Removed the prototypes for 
16875         nmwa_dbus_vpn_activate_connection, nmwa_dbus_vpn_deactivate_connection
16876         since these are defined elsewhere
16877
16878         * gnome/applet/applet-dbus.c (set_vpn_last_attempt_status): New
16879         function used to keep track of whether the last attempt succeded
16880         (nmwa_dbus_filter): Update last_attempt according to whether the
16881         VPN connection could be established or not
16882
16883         * gnome/applet/applet-dbus-vpn.h (nmwa_dbus_vpn_deactivate_connection): 
16884         Change prototype to take an array of passwords, not just a single
16885         password
16886
16887         * gnome/applet/applet-dbus-vpn.c (nmwa_dbus_vpn_properties_cb): Only
16888         update service, not user
16889         (nmwa_dbus_vpn_remove_one_vpn_connection): Check that applet->
16890         dbus_active_vpn_name is not NULL before using it
16891         (nmwa_dbus_vpn_activate_connection): Send the passwords as a
16892         string array instead of assuming a single password
16893
16894         * gnome/applet/applet-dbus-info.c:
16895         (nmi_dbus_get_vpn_connection_properties): Use the logged in user for
16896         user name; don't read from gconf
16897
16898         * gnome/applet/Makefile.am: Also export SYSCONFDIR and 
16899         VPN_NAME_FILES_DIR
16900
16901         * gnome/Makefile.am (SUBDIRS): Add vpn-properties
16902
16903         * configure.in: Add checks for gmodule-2.0.
16904         Generate gnome/vpn-properties/Makefile. Don't generate any Makefile's
16905         in vpn-daemons nor vpn-daemons/vpnc. We have separate autotooled
16906         projects under vpn-daemons now.  See vpn-daemons/vpnc/Changelog
16907         for details
16908
16909         * vpn-daemons/Makefile.am: Removed
16910
16911         * vpn-daemons/README: New file to describe extensions points for VPN
16912         software
16913
16914 2005-06-10  Dan Williams <dcbw@redhat.com>
16915
16916         * src/backends/NetworkManagerRedHat.c
16917                 - (get_current_profile_name): new function, grab current network profile name from
16918                         /etc/sysconfig/network
16919                 - (set_ip4_config_from_resolv_conf): new function, parse a resolv.conf and
16920                         update an IP4 Config structure's settings from it
16921                 - (nm_system_device_get_system_config): if we're using static IP on this device,
16922                         get DNS info from current network profile
16923
16924 2005-06-09  Dan Williams <dcbw@redhat.com>
16925
16926         Patch from Robert Love:
16927         * src/NetworkManagerDevice.c
16928           src/NetworkManagerUtils.c
16929                 - 64-bit build fixes
16930
16931 2005-06-09  Dan Williams <dcbw@redhat.com>
16932
16933         Patch from Kay Sievers and Robert Love:
16934         * configure.in
16935           src/backends/Makefile.am
16936           src/backends/NetworkManagerSuSE.c
16937                 - Add SuSE support
16938
16939 2005-06-09  Dan Williams <dcbw@redhat.com>
16940
16941         * NetworkManager.h
16942                 - Add NMWirelessScanMethod enum for scan methods
16943
16944         * gnome/applet/applet-dbus-devices.c
16945                 - (nmwa_dbus_update_scanning_enabled_cb): remove
16946                 - (nmwa_dbus_update_scanning_enabled): remove
16947                 - (nmwa_dbus_update_devices): don't call nmwa_dbus_update_scanning_enabled() anymore
16948                         since it got removed
16949                 - (nmwa_dbus_enable_scanning): remove
16950
16951         * gnome/applet/applet-dbus-info.c
16952                 - (nmi_dbus_signal_update_scan_method): new function, signal NetworkManager to
16953                         update the wireless scanning method from NMI
16954                 - (nmi_dbus_get_wireless_scan_method): new function, return wireless scanning
16955                         method value to NetworkManager
16956                 - (nmi_dbus_info_message_handler): respond to the "getWirelessScanMethod" method call
16957
16958         * gnome/applet/applet-dbus-info.h
16959                 - Add prototype for nmi_dbus_signal_update_scan_method
16960
16961         * gnome/applet/applet.c
16962                 - (scanning_menu_update): new function, update one GtkCheckMenuItem from the
16963                         Wireless Scanning menu based on current wireless scan method
16964                 - (nmwa_menu_scanning_item_activate): new function, callback for GTK "activate"
16965                         signal for Wireless Scanning menu items, tell NetworkManager the new method
16966                         and update our menu items to make sure the right one is checked
16967                 - (nmwa_set_scanning_enabled_cb): remove
16968                 - (nmwa_context_menu_update): remove references to pause_scanning_item
16969                 - (nmwa_context_menu_create): remove pause_scanning_item, and add new Wireless
16970                         Scanning menu item
16971                 - (nmwa_gconf_get_wireless_scan_method): new method, pull wireless scanning method
16972                         from GConf
16973                 - nmwa_gconf_networks_notify_callback -> nmwa_gconf_info_notify_callback: generalize
16974                         so we get notified of preference values too
16975                 - (nmwa_get_instance): monitor GCONF_PATH_WIRELESS rather than GCONF_PATH_WIRELESS_NETWORKS
16976
16977         * gnome/applet/applet.h
16978                 - GCONF_PATH_WIRELESS added, one level below GCONF_PATH_WIRELESS_NETWORKS
16979                 - Add wireless scan method member to applet data
16980                 - Remove pause_scanning_item, add Wireless Scanning submenu
16981
16982         * src/NetworkManager.c
16983                 - (nm_data_new): default to NM_SCAN_METHOD_ON
16984                 - (main): grab scanning method from NMI if we can
16985
16986         * src/NetworkManagerDbus.c
16987                 - (nm_dbus_update_wireless_scan_method_cb): new function, callback from
16988                         nm_dbus_update_wireless_scan_method()
16989                 - (nm_dbus_update_wireless_scan_method): new function to grab scanning method
16990                         from NMI
16991                 - (nm_dbus_nmi_is_running): redundant function, removed
16992                 - (nm_dbus_signal_filter): trap "WirelessScanMethodUpdate" signal, grab scanning method
16993                         when NMI comes back
16994
16995         * src/NetworkManagerDevice.c
16996                 - (nm_device_is_activated): return TRUE if the device is activated
16997                 - (nm_device_wireless_scan): don't scan if the scan method is OFF, or if its AUTO
16998                         and we are activated
16999
17000         * src/nm-dbus-nm.c
17001                 - (nm_dbus_nm_set_scanning_enabled): removed
17002                 - nm_dbus_nm_get_scanning_enabled -> nm_dbus_nm_get_wireless_scan_method
17003                 - (nm_dbus_nm_methods_setup): remove [get | set] ScanningEnabled and add "getWirelessScanMethod"
17004
17005 2005-06-09  Dan Williams <dcbw@redhat.com>
17006
17007         * NetworkManager.h
17008           src/vpn-manager/nm-vpn-service.c
17009                 - NM_VPN_STATE_ERROR -> NM_VPN_STATE_UNKNOWN (more consistent with other enums)
17010
17011 2005-05-27  Dan Williams <dcbw@redhat.com>
17012
17013         * vpn-daemons/vpnc/nm-vpnc-service.c
17014                 - (vpnc_watch_cb): wait a bit before trying to read vpnc's pidfile.
17015                         Should fix the bug where the VPN connection terminates the first time.
17016
17017 2005-05-20  Dan Williams <dcbw@redhat.com>
17018
17019         * NetworkManager.h
17020                 - Differentiate VPN config signals between bad VPN config options
17021                         and bad IP config
17022
17023         * gnome/applet/applet-dbus-info.h
17024                 - Add prototypes for wireless network and vpn connection update functions
17025
17026         * gnome/applet/applet-dbus.c
17027                 - (nmwa_dbus_filter): trap new VPN config error signals from NetworkManager
17028
17029         * gnome/applet/applet.c
17030                 - (nmwa_schedule_vpn_failure_dialog): new dialog text for new VPN config
17031                         error signals
17032                 - (nmwa_gconf_networks_notify_cb): re-enable wireless network change notify
17033                         propogation to NetworkManager
17034                 - (nmwa_gconf_vpn_connections_notify_cb): re-enable vpn connection change
17035                         notify propogation to NetworkManager
17036
17037         * src/NetworkManagerDbus.c
17038                 - (nm_dbus_update_one_allowed_network): make sure to specify which AP list we
17039                         are updating so a network can be removed from it if necessary
17040
17041         * src/vpn-manager/nm-vpn-manager.c
17042                 - (nm_vpn_manager_process_signal): trap new vpn config error signals
17043
17044         * vpn-daemons/vpnc/nm-vpnc-service.c
17045                 - (nm_vpnc_dbus_signal_failure): generalize function for all VPN error signals
17046                 - (nm_vpnc_dbus_signal_launch_failed): remove
17047                 - (nm_vpnc_dbus_signal_connect_failed): remove
17048                 - (nm_vpnc_helper_timer_cb): update for new generalized error signal function
17049                 - (nm_vpnc_schedule_helper_timer): increase timeout to 10s
17050                 - (vpnc_watch_cb): don't whine about exit code if vpnc exited cleanly, update
17051                         for new generalized error signal function, remove config file stuff
17052                 - (nm_vpnc_start_vpnc_binary): grab a stdin pipe to vpnc after spawning it so
17053                         we can write configuration options to it
17054                 - (nm_vpnc_config_file_generate): removed
17055                 - (nm_vpnc_config_write): write configuration options to the vpnc stdin pipe
17056                 - (nm_vpnc_config_options_validate): validate the config options we receive
17057                         from NetworkManager to block potential exploits
17058                 - (nm_vpnc_dbus_handle_start_vpn): call option validation function before
17059                         starting vpnc
17060                 - (nm_vpnc_dbus_process_helper_config_error): actually propogate config error
17061                         to NetworkManager
17062
17063 2005-05-16  Dan Williams  <dcbw@redhat.com>
17064
17065         * vpn-daemons/vpnc/nm-vpnc-service-vpnc-helper.c
17066                 - (main): Work correctly with vpnc 0.3.3 by exiting if the "reason" code
17067                         is not "connect"
17068
17069 2005-05-16  Dan Williams  <dcbw@redhat.com>
17070
17071         Patch from Tomislav Vujec <tvujec@redhat.com>
17072         * gnome/applet/applet-dbus-info.c
17073                 - (nmi_dbus_get_vpn_connection_routes): new function, pull routes out of
17074                         GConf and pass them to NetworkManager.  New key is 'routes' under
17075                         the VPN connection, and should be a string list
17076
17077         * src/NetworkManagerSystem.c
17078                 - (nm_system_vpn_device_set_from_ip4_config): if user-defined routes exist,
17079                         set them on the device when we set the rest of the VPN config.  Ensure
17080                         they are in the correct format since they are passed directly to the
17081                         command line.
17082
17083         * src/backends/NetworkManagerRedHat.c
17084           src/backends/NetworkManagerDebian.c
17085                 - (nm_system_device_add_route_via_device_with_iface): new function
17086
17087         * src/vpn-manager/nm-dbus-vpn.c
17088                 - (nm_dbus_vpn_get_routes): grab VPN routes from NetworkManagerInfo
17089
17090         * src/vpn-manager/nm-vpn-manager.c
17091                 - (nm_vpn_manager_handle_ip4_config_signal): grab routes from NMI and pass
17092                         them into the IP4 config functions
17093
17094 2005-05-15  Dan Williams  <dcbw@redhat.com>
17095
17096         From Filip Miletic:
17097         * po/sr.po
17098           po/sr@Latn.po
17099           configure.in
17100                 - Serbian translation added
17101
17102 2005-05-15  Dan Williams  <dcbw@redhat.com>
17103
17104         * dispatcher-daemon/NetworkManagerDispatcher.c
17105                 - (main): sync arguments with NetworkManager and the applet, now use
17106                         "--no-daemon" rather than "daemon=no"
17107                 - (nmd_print_usage): Fix script path in usage message
17108
17109 2005-05-15  Dan Williams  <dcbw@redhat.com>
17110
17111         * src/NetworkManagerDevice.[ch]
17112           src/NetworkManagerPolicy.c
17113           src/NetworkManager.c
17114           src/nm-dbus-nm.c
17115                 - Remove the "just_added" parameter from nm_device_deactivate().  We no
17116                         longer send the DeviceNoLongerActive signal unconditionally, but only
17117                         when the device is actually active.
17118
17119         * dispatcher-daemon/NetworkManagerDispatcher.c
17120                 - (nmd_execute_scripts): convert to GLib directory functions from opendir(),
17121                         and simplify the logic
17122                 - (nmd_get_device_name): copy value from dbus reply so we don't segfault when
17123                         we free it later on
17124
17125         * initscript/RedHat/Makefile.am
17126           initscript/RedHat/NetworkManagerDispatcher
17127                 - Add initscript for NetworkManagerDispatcher
17128
17129
17130         Patch from Bill Moss:
17131         * dispatcher-daemon/NetworkManagerDispatcher.c
17132                 - Remove IP4AddressChange signal code including nmd_get_device_ip4_address()
17133
17134         * src/NetworkManagerDbus.c
17135                 - (nm_dbus_signal_device_ip4_address_change): remove.  If the device goes up,
17136                         and DeviceNowActive gets signaled, then the device has a new IP address
17137                         anyway.  There's no need for a separate signal.
17138
17139         * src/NetworkManagerDevice.c
17140                 - (nm_device_update_ip4_address): Don't send IP4AddressChange signal
17141
17142         * src/NetworkManagerPolicy.c
17143                 - (nm_policy_activation_finish): Send DeviceNowActive signal when the device
17144                         activates successfully.  This kind of went missing when I reworked the
17145                         activation code.
17146
17147 2005-05-15  Dan Williams  <dcbw@redhat.com>
17148
17149         * configure.in
17150                 - Check for dhcdbd and error if its not found
17151
17152         * src/dhcp-manager/Makefile.am
17153           src/dhcp-manager/nm-dhcp-manager.c
17154                 - Use path to dhcdbd that configure found
17155
17156 2005-05-14  Dan Williams  <dcbw@redhat.com>
17157
17158         * gnome/applet/nm-device.c
17159                 - (network_device_sort_wireless_networks, sort_networks_function): New functions to
17160                         sort wireless networks alphabetically
17161
17162         * gnome/applet/applet-dbus-devices.c
17163                 - (mwa_dbus_devices_lock_and_copy): Sort network device's wireless network lists
17164                         before copying them over to the GUI
17165
17166 2005-05-14  Dan Williams  <dcbw@redhat.com>
17167
17168         * src/NetworkManager.c
17169                 - (device_stop_and_free): Deactivate VPN connections before deactivating devices,
17170                         fixes a deadlock on shutdown with a VPN connection active.  This function locks
17171                         the device list, as does nm_get_active_device() which is called from
17172                         nm_vpn_manager_deactivate_vpn_connection().
17173
17174 2005-05-14  Dan Williams  <dcbw@redhat.com>
17175
17176         * NetworkManager.h
17177                 - Add signals for VPN Launch and Connect failures
17178
17179         * gnome/applet/applet-dbus.c
17180                 - (nmwa_dbus_filter): Trap new VPN launch & connect failure signals
17181
17182         * gnome/applet/applet.c
17183                 - (nmwa_show_vpn_failure_dialog): generalize old nmwa_show_vpn_login_failure_dialog()
17184                         function to handle all VPN failure messages
17185                 - (nmwa_schedule_vpn_failure_dialog): generalize old  nmwa_schedule_vpn_login_failure_dialog()
17186                         function to hanlde all VPN failure  messages
17187                 - (show_warning_dialog): work around focus-stealing prevention
17188
17189         * gnome/applet/other-network-dialog.c
17190           gnome/applet/passphrase-dialog.c
17191                 - (update_button_cb): Make sure the OK button is enabled when it should be, fixes
17192                         problem where it never enabled for ASCII Key and Hex Key types
17193
17194         * gnome/applet/wireless-applet.glade
17195                 - Add window title to Other Wireless Network Dialog
17196
17197         * src/vpn-manager/nm-dbus-vpn.c
17198                 - (nm_dbus_vpn_signal_vpn_failed): generalize old nm_dbus_vpn_signal_vpn_login_failed()
17199                         function to handle all VPN failure messages
17200
17201         * src/vpn-manager/nm-vpn-manager.c
17202                 - (nm_vpn_manager_process_signal): trap and proxy VPN launch & connect failure signals too
17203
17204         * vpn-daemons/vpnc/nm-vpnc-service.c
17205                 - (nm_vpnc_dbus_signal_launch_failed): new function
17206                 - (nm_vpnc_dbus_signal_connect_failed): new function
17207                 - (nm_vpnc_helper_timer_cb): signal connect failure on timeout
17208                 - (vpnc_watch_cb): signal connection failure when vpnc exits with connection failure
17209                 - (nm_vpnc_start_vpnc_binary): search a number of locations for vpnc
17210                 - (nm_vpnc_dbus_handle_start): send launch failure signal when we fail to launch vpnc
17211
17212 2005-05-11  Dan Williams  <dcbw@redhat.com>
17213
17214         * vpn-daemons/vpnc/nm-vpnc-service.c
17215                 - (nm_vpnc_start_vpnc_binary): NULL-ify GError before using it
17216                 - (nm_vpnc_config_file_generate): Attempt to ensure that the path for the config
17217                         file exists before trying to write it out.
17218
17219 2005-05-10  Dan Williams  <dcbw@redhat.com>
17220
17221     * gnome/applet/applet-dbus-device.c
17222         - (nmwa_dbus_set_device): remove check for valid key and key type, which 
17223             prevented just entering ESSID and leaving key and key type up to
17224             NetworkManager (which should have them already cached)
17225
17226 2005-05-08  Dan Williams  <dcbw@redhat.com>
17227
17228         * src/NetworkManagerPolicy.c
17229                 - (nm_policy_activation_finish): Don't set NM_ACT_STAGE_ACTIVATED here, instead...
17230                 - (nm_policy_schedule_activation_finish): Set NM_ACT_STAGE_ACTIVATED here to
17231                         fix a situation where NM is told to terminate and the device stops activation,
17232                         but the main thread isn't aware of that because it would never have run
17233                         nm_policy_activation_finish() to set the ACTIVATED flag, because the main loop
17234                         had already quit.
17235
17236         * src/NetworkManagerDevice.c
17237                 - (nm_device_probe_wired_link_state): cosmetic fixes
17238                 - (nm_device_activate_stage5_ip_config_commit): Don't check link state if
17239                         we've failed to activate or been canceled.
17240                 - (nm_ac_test): nm_debug -> nm_info for "waiting for device to cancel" message
17241
17242 2005-05-08  Dan Williams  <dcbw@redhat.com>
17243
17244         * src/NetworkManagerWireless.c
17245                 - (nm_wireless_qual_to_percent): Fix #if -> #ifdef, print out the "updated"
17246                         value of WEXT quality structures, and add a debug message when we cannot
17247                         determine any quality % at all
17248
17249 2005-05-08  Dan Williams  <dcbw@redhat.com>
17250
17251         * src/dhcp-manager/nm-dhcp-manager.c
17252                 - (nm_dhcp_manager_begin_transaction): Tell dhclient to release leases when
17253                         it goes down.
17254
17255 2005-05-06  Dan Williams  <dcbw@redhat.com>
17256
17257         * gnome/applet/applet-dbus-device.c
17258           gnome/applet/applet-dbus-info.c
17259           gnome/applet/applet-dbus.c
17260           gnome/applet/applet.c
17261           gnome/applet/applet.h
17262                 - (nmwa_get_device_for_nm_device) -> (nmwa_get_device_for_nm_path)
17263
17264         * gnome/applet/applet-dbus.c
17265                 - (nmwa_dbus_filter): trap DeviceCarrierOn/DeviceCarrierOff signals
17266                         so we notice when wired device's carriers come back on.  Should
17267                         fix issue with wired devices being grayed out even if the cable
17268                         is in, for devices that support carrier detection.
17269
17270         * gnome/applet/applet.c
17271                 - (nmwa_driver_notify): bash focus-stealing prevention in the face
17272                 - (nmwa_act_stage_to_pixbuf): Clarify wireless ACT_STAGE_DEVICE_CONFIG
17273                         tooltip message
17274                 - (nmwa_menu_item_activate, nmwa_menu_add_device_item, nmwa_menu_item_data_free):
17275                         Fix situation where applet wouldn't respond to menu selections
17276
17277         * src/NetworkManager.c
17278           src/NetworkManagerDevice.c
17279           src/NetworkManagerDbus.c
17280           src/NetworkManagerDbus.h
17281                 - (nm_dbus_signal_device_status_change) -> (nm_dbus_schedule_device_status_change_signal)
17282
17283         * src/NetworkManagerDbus.c
17284                 - (nm_dbus_send_network_not_found, nm_dbus_schedule_network_not_found_signal):
17285                         Remove, no longer used or relevant
17286                 - (nm_dbus_signal_device_status_change): Better signal enum->string matching
17287                 - (nm_dbus_schedule_device_status_change_signal): add
17288
17289         * src/NetworkManagerDevice.c
17290                 - (nm_device_worker_thread_stop): don't try to join a NULL worker thread
17291                 - (nm_device_set_link_active): Fix up switching for non-carrier-detect devices,
17292                         ie don't deactivate them unless explicitly told to by the user.  Also send
17293                         CARRIER_OFF / CARRIER_ON signals when link changes
17294                 - (nm_device_set_essid, nm_device_set_enc_key, nm_device_is_up, nm_device_set_mode):
17295                         Don't print error message when device is no longer around
17296                 - (nm_device_deactivate): kill any current DHCP process attached to this device,
17297                         not just during activation
17298
17299         * src/NetworkManagerPolicy.c
17300                 - (nm_policy_auto_get_best_device): Ignore semi-supported devices completely from
17301                         auto-device-selection.
17302                 - (nm_policy_device_change_check): Don't interrupt semi-supported devices
17303
17304         * src/NetworkManagerSystem.c
17305                 - (nm_system_device_set_up_down_with_iface): Quiet first warning message when device
17306                         is no longer present (Bill Moss)
17307
17308         * src/backends/shvar.c
17309                 - (svOpenFile): Open read-only to make SELinux happy
17310
17311         * src/backends/NetworkManagerRedHat.c
17312                 - (nm_system_device_get_system_config): Use SYSCONFDIR rather than hardcoding
17313                         the path to the ifcfg-* files
17314
17315 2005-05-05  Dan Williams  <dcbw@redhat.com>
17316
17317         * Expose activation stages to NetworkManager clients, like the applet
17318         * Add Diana's progress icons to the applet, cued off NM activation stage
17319         * Use more descriptive tooltips, cued off NM activation stage
17320
17321 2005-05-05  Ray Strode  <rstrode@redhat.com>
17322
17323         * src/nm-netlink-monitor.c:
17324                 - Use clear_event_source instead of g_nullify_pointer() again.
17325
17326 2005-05-05  Dan Williams  <dcbw@redhat.com>
17327
17328         * gnome/applet/main.c
17329                 - Fix session management so the applet is actually managed now
17330
17331         * gnome/applet/passphrase-dialog.c
17332                 - (nmi_passphrase_dialog_show): bash focus-stealing prevention in the face
17333
17334 2005-05-05  Dan Williams  <dcbw@redhat.com>
17335
17336         Patch from Bill Moss:
17337         * gnome/libnm_glib/libnm_glib.c
17338                 - Fix for dbus-0.33
17339
17340 2005-05-05  Dan Williams  <dcbw@redhat.com>
17341
17342         Suggestion from Bill Moss:
17343         * src/NetworkManagerSystem.c
17344                 - (nm_system_device_set_up_down_with_iface): ignore ENODEV
17345
17346
17347         * src/NetworkManager.c
17348                 - (nm_data_free): move destruction of the various managers after
17349                         release of device list, because deactivating and freeing a device
17350                         requires at least the named manager
17351                 - (nm_poll_and_update_wireless_link_state):
17352                   (nm_device_link_activated):
17353                   (nm_device_link_deactivated):
17354                         don't grab the device list lock when actually updating device
17355                         link status or strength, since nm_device_set_link_active()
17356                         needs to call nm_get_active_device(), which also locks the device list.
17357
17358         * src/NetworkManagerDevice.c
17359                 - (nm_device_set_link_active): if a device's link switches from off->on,
17360                         and it's wired, and the active device is wireless (or there is no
17361                         active device), activate the new device whose link just came on
17362                 - (link_to_specific_ap): try to smooth over intermittency in wireless links
17363                         my only calling the link to the current ap "failed" when more than 2
17364                         consecutive link checks have failed
17365
17366 2005-05-04  Dan Williams  <dcbw@redhat.com>
17367
17368         * src/NetworkManagerDevice.c
17369                 - (nm_device_probe_wireless_link_state): don't lock the scan mutex here
17370                         but let link_to_specific_ap() do the locking where it needs
17371
17372         Patch from Bill Moss:
17373         * src/NetworkManagerSystem.c
17374                 - Set MTU of VPN devices to 1412
17375
17376 2005-05-04  Dan Williams  <dcbw@redhat.com>
17377
17378         * Remove NM_STATE_SCANNING from NetworkManager.h and applet code
17379
17380         * Fix some holes in device activation and retaining the currently connected
17381                 access point
17382
17383 2005-05-03  Dan Williams  <dcbw@redhat.com>
17384
17385         * Kill dhcpcd.  We now use "dhcdbd", a dbus daemon that controls dhclient.
17386           This means that NetworkManager shouldn't have DHCP issues anymore.  It also
17387           means you need dhcdbd, which you can get here (get the latest one):
17388
17389                 http://people.redhat.com/jvdias/dhcdbd/
17390
17391           Technically NetworkManager can use any DHCP daemon that uses the same DBUS
17392           interface as dhcdbd.
17393
17394         * Rewrite device activation to facilitate the new DHCP infrastructure and
17395           future improvements.  Its now "activation request" based, ie there is a single
17396           activation request composed of the device, access point, and other info which
17397           follows the entire activation process.  There are 5 stages of the activation
17398           process which correspond to:
17399
17400                 1) Device preparation
17401                 2) Device configuration (bring it up, set ESSID/Key/etc)
17402                 3) IP Config Start (fire off DHCP if we're using it)
17403                 4) IP Config Get (grab config from DHCP or static config files)
17404                 5) IP Config Commit (set device's IP address, DNS, etc)
17405
17406           Note that there is no longer a "scanning" step, since the access point must
17407           be known _before_ activation starts.  If the access point drops out or does
17408           not exist for some reason, the entire activation process fails and must be
17409           restarted for a different access point or device.
17410
17411         Patch from Bill Moss:
17412         * gnome/applet/applet.c
17413                 - Fix type of vpn_failure dialog -> vpn_banner dialog
17414
17415 2005-04-27  Dan Williams  <dcbw@redhat.com>
17416
17417         * gnome/applet/applet-dbus-vpn.c
17418           gnome/applet/applet.c
17419           gnome/applet/applet.h
17420                 - Fix up active VPN handling so that we reliably know when a VPN
17421                         connection has been deactivated
17422
17423         * src/vpn-manager/nm-vpn-manager.c
17424                 - Remove duplicate VPNConnectionChange signal
17425
17426 2005-04-27  Dan Williams  <dcbw@redhat.com>
17427
17428         Patch from Peter Jones:
17429         * Remove usage of varargs to fix crashes on PPC (RH #154336)
17430
17431         Patch from Bill Moss:
17432         * src/NetworkManagerSystem.c
17433                 - Fix checking of return value from ioctl()
17434
17435 2005-04-27  Dan Williams  <dcbw@redhat.com>
17436
17437         * Fix choosing of wireless networks and "Other wireless network..." from the applet
17438         * Warn and exit if icons cannot be found
17439
17440 2005-04-27  Dan Williams  <dcbw@redhat.com>
17441
17442         Patch from Tom Parker:
17443         * Update debian backend
17444
17445 2005-04-27  Dan Williams  <dcbw@redhat.com>
17446
17447         * Merge the applet and the info-daemon, and move the converged
17448                 applet under gnome/applet
17449         * Move libnm_glib to gnome/libnm_glib
17450         * Convert most dbus calls between the applet, info-daemon, and NM
17451                 into async calls
17452         * Fix a few things valgrind noticed
17453         * Make NM broadcast state more reliably
17454
17455 2005-04-22  Pawan chitrakar  <pawan@nplinux.org>
17456
17457         * configure.in: Added ne in ALL_LINGUAS
17458
17459 2005-04-15  Dan Williams  <dcbw@redhat.com>
17460
17461         * libnm_glib/libnm_glib: Fix up for dbus-0.32, and remove
17462                 code for dbus 0.2x versions
17463
17464 2005-04-15  Dan Williams  <dcbw@redhat.com>
17465
17466         Patches from Tom Parker:
17467         - Fix memleaks
17468         - Join with worker thread rather than polling for its exit
17469
17470         Patch from Bill Moss:
17471         - Cull duplicate ESSIDs from the scan list, taking highest strength AP
17472
17473 2005-04-15  Dan Williams  <dcbw@redhat.com>
17474
17475         - Fixes to pass 'make distcheck'
17476
17477 2005-04-15  Dan Williams  <dcbw@redhat.com>
17478
17479         Initial VPN Support
17480                 - supports 'vpnc'
17481                 - reworks device IP configuration, backend files have changed and will need
17482                         to be updated for all distributions.  I will try to do what I can for
17483                         them, but I cannot test them.
17484
17485         - Move named directory to src/named-manager
17486         - Make backends directory self-contained
17487
17488 2005-04-06  Dan Williams  <dcbw@redhat.com>
17489
17490         Add debug code for socket/file descriptor leaks.  We register every socket
17491         that we open (except for stuff in dhcpcd/) for tracking, and print out the
17492         list of sockets that we forgot to close on shutdown.  This also consolidates
17493         about 4 places where we opened sockets into 1 function in NetworkManagerUtils.c
17494
17495 2005-04-06  Dan Williams  <dcbw@redhat.com>
17496
17497         * dhcpcd/dhcpcd.c
17498                 - (dhcp_interface_free): fix a file descriptor leak that may have
17499                         caused network drivers to not unload due to refcounts > 0
17500
17501 2005-04-04  Dan Williams  <dcbw@redhat.com>
17502
17503         * panel-applet/NMWirelessAppletDbus.c
17504                 - (nmwa_dbus_call_nm_method): remove some commented code
17505
17506         * src/NetworkManagerAPList.[ch]
17507                 - (nm_ap_list_remove_ap_by_essid): new function
17508
17509         * src/NetworkManagerDevice.c
17510                 - (nm_device_wireless_force_use): remove access points from the ignore list
17511                         when the user forces them
17512
17513         * src/nm-dbus-device.c
17514                 - (nm_dbus_device_get_active_network): fix up escaping of object paths
17515
17516 2005-04-04  Dan Williams  <dcbw@redhat.com>
17517
17518         Patch from Tom Parker: include "nm-utils.h" for backend files that need it
17519
17520 2005-04-04  Dan Williams  <dcbw@redhat.com>
17521
17522         * src/NetworkManagerDevice.c:
17523                 - (nm_completion_scan_has_results): restore pre-completion-patch behavior
17524                         of only erroring after the second consecutive scan times out.  Also
17525                         don't exit when the card requires more time than we can give it, just
17526                         log the event and continue.
17527
17528 2005-04-01  Steve Murphy  <murf@e-tools.com>
17529
17530         * configure.in: Added "rw" to ALL_LINGUAS.
17531
17532 2005-04-01  Dan Williams <dcbw@redhat.com>
17533
17534         Perform scans during device activation, if needed.  Both activation 
17535         and scans run in the same GMainContext.  Therefore, if an access point
17536         is not found by the time the device starts activation, it will not
17537         be available until after activation.  We now try to scan during
17538         activation (in nm_wa_test) every 15s so that all available access
17539         points are more likely to be found and available for the activation
17540         procedure.
17541
17542         Also change nm_wireless_link_state_handle() to only update the "best"
17543         AP if we are not forcing a device and if we are not about to change
17544         state.  This attempts to work around a race when forcing a device,
17545         where the forced AP would get cleared out too soon by the link state
17546         checking timeout in the main thread, and the activation attempt with
17547         that AP would fail.
17548
17549 2005-04-01  Dan Williams <dcbw@redhat.com>
17550
17551         * po/POTFILES.in
17552                 - Update with new translatables
17553
17554 2005-03-31  Dan Williams <dcbw@redhat.com>
17555
17556         * panel-applet/NMWirelessAppletDbus.c
17557                 - Fix device names now that hal has changed device parenting for
17558                         network devices.
17559
17560 2005-03-31  Dan Williams <dcbw@redhat.com>
17561
17562         Tighten up handling of wireless devices that don't support wireless
17563         scanning (ie, Orinoco).  Due to restructuring of code, these devices
17564         hadn't been doing pseudo-scanning for a while either and would just
17565         spin waiting for an access point.  They are now manual devices where
17566         the user must choose the access point from the menu every time.  All
17567         "allowed" access points are listed in the applet's menu regardless
17568         of whether or not they can be seen by the card, since it can't scan
17569         anyway.
17570
17571         * src/NetworkManager.c
17572                 - (nm_wireless_link_state_handle): new function, but only update
17573                         the "best" ap for non-scanning devices when its not activating,
17574                         and when no device is being forced on the card
17575                 - (nm_link_state_monitor): split wireless link state handling out
17576                         into separate function
17577
17578         * src/NetworkManagerDevice.c
17579                 - (nm_device_copy_allowed_to_dev_list): new function
17580                 - (nm_device_new): populate non-scanning cards' AP lists with
17581                         access points from the "allowed" list
17582                 - (nm_device_new): don't start a scanning timeout for devices that
17583                         can't scan
17584                 - (nm_device_activation_schedule_finish): new parameter, should be
17585                         the AP that failed to be connected to, pass it on to the
17586                         activation finish function in NetworkManagerPolicy.c
17587                 - (nm_device_activate_wireless): don't ever try to get a new AP
17588                         for non-scanning devices, just fail.  The user must choose
17589                         a new access point manually.
17590                 - (nm_device_activate): grab the AP that failed connection and
17591                         pass it on
17592                 - (nm_device_update_best_ap): Clear the best AP if we don't have
17593                         a link to it, user must manually choose a new one
17594                 - (nm_device_do_pseudo_scan): remove function
17595                 - (nm_device_wireless_process_scan_results): remove bits for non-
17596                         scanning cards since they never get here
17597                 - (nm_device_wireless_scan): remove bits for non-scanning devices,
17598                         and fake the scan list for test devices a bit earlier
17599
17600         * src/NetworkManagerPolicy.c
17601                 - (nm_policy_activation_finish): use the failed_ap that we get
17602                         passed rather than getting the best_ap from the card, which
17603                         may have changed since we were scheduled
17604                 - (nm_policy_allowed_ap_list_update): for non-scanning devices,
17605                         update their scan list directly from the allowed list when
17606                         we get updates to the allowed list from NetworkManagerInfo
17607
17608         * src/NetworkManagerPolicy.h
17609                 - New member for failed access point in NMActivationResult
17610
17611   -------------------------------------
17612
17613         Driver Notification patch: notifies the user when their driver
17614                 sucks.  Gives them the option to ignore further insertions
17615                 of the card that has the sucky driver.
17616
17617         * NetworkManager.h
17618                 - Remove the SEMI_SUPPORTED member from the NMDriverSupportLevel
17619                         enum and replace it with NO_CARRIER_DETECT and
17620                         NO_WIRELESS_SCAN
17621
17622         * panel-applet/NMWirelessApplet.[ch]
17623                 - Merge essid.glade -> wireless-applet.glade
17624                 - Implement the "Your driver sucks" notification dialog
17625
17626         * panel-applet/NMWirelessAppletDbus.c
17627                 - Change stuff from getSupportsCarrierDetect->getDriverSupportLevel
17628                 - Grab hardware address for each device from NM too
17629                 - Check whether the driver for each device sucks or not whenever
17630                         a new device is noticed
17631
17632         * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17633                 - Deal with stuff being in wireless-applet.glade now rather than essid.glade
17634
17635         * src/NetworkManager.c
17636                 - Fix a double-unref on device removal
17637
17638         * src/NetworkManagerUtils.c
17639                 - Set appropriate driver support level on a device that doesn't
17640                         support scanning or carrier detection
17641
17642         * src/nm-dbus-device.c
17643                 - New "getHWAddress" dbus method on devices
17644                 - getSupportsCarrierDetect -> getDriverSupportLevel
17645
17646 2005-03-31  Dan Williams <dcbw@redhat.com>
17647
17648         * src/NetworkManagerDevice.c
17649                 - (nm_device_wireless_scan): Fix leak of scan results in some
17650                         instances
17651
17652 2005-03-29  Dan Williams <dcbw@redhat.com>
17653
17654         * src/NetworkManager.c
17655                 - (nm_poll_and_update_wireless_link_state): make code less indented
17656
17657         Patch from Bill Moss:
17658         * src/NetworkManager.c
17659                 - (nm_device_update_link_state): Update signal strength on wireless
17660                         devices every time we update link state too.
17661
17662 2005-03-29  Dan Williams <dcbw@redhat.com>
17663
17664         * src/NetworkManagerDevice.c
17665                 - (nm_device_set_essid): Work around Orinoco cards which need
17666                         extra time after setting the ESSID
17667
17668 2005-03-29  Dan Williams <dcbw@redhat.com>
17669
17670         * src/NetworkManagerDevice.c
17671                 - Merge one more bit of Peter Jones' completion patch
17672
17673 2005-03-29  Dan Williams <dcbw@redhat.com>
17674
17675         * src/NetworkManagerDevice.c
17676                 - (nm_device_force_use): Fix possible segfault
17677
17678 2005-03-29  Dan Williams <dcbw@redhat.com>
17679
17680         * src/NetworkManagerDevice.c
17681                 - Use iw_get_ext() where we should rather than iw_set_ext()
17682
17683 2005-03-29  Dan Williams <dcbw@redhat.com>
17684
17685         * src/NetworkManagerDevice.c
17686                 - (nm_device_set_up_down): remove check for unsupported devices
17687                         that caused NM to not bring devices up when they were
17688                         added to the device list.
17689
17690 2005-03-28  Dan Williams <dcbw@redhat.com>
17691
17692         * src/NetworkManagerDevice.c
17693                 - (mdio_read): Fix two bugs that caused all devices to fail
17694                         the MII carrier detection support checks
17695
17696 2005-03-26  Dan Williams <dcbw@redhat.com>
17697
17698         * src/NetworkManagerDevice.c
17699                 - (nm_device_wireless_scan): Remove duplicated scanning code
17700
17701 2005-03-25  Dan Williams <dcbw@redhat.com>
17702
17703         * panel-applet/NMWirelessApplet.c
17704                 - (nmwa_about_cb): Add some more contributors
17705                 - (nmwa_update_state): show the applet when there's no connection
17706                 - Enable the "Stop/Resume all wireless devices" option in the
17707                         context menu
17708                 - New "no connection" icon
17709
17710         * src/NetworkManager.c
17711                 - (nm_poll_and_update_wireless_link_state): don't do anything if
17712                         wireless is disabled or we're asleep
17713
17714         * src/NetworkManagerDHCP.c
17715                 - Remove trailing "\n" on debug messages
17716
17717         * src/NetworkManagerDbus.c
17718                 - (nm_dbus_network_status_from_data): new state "asleep"
17719
17720         * src/NetworkManagerDevice.c
17721                 - Merge most of Peter Jones' "completion" patch that greatly reduces
17722                         latency and wait times for most operations
17723                 - (nm_device_wireless_scan): Don't scan when asleep
17724
17725         * src/NetworkManagerPolicy.c
17726                 - (nm_policy_get_best_device): return no device when asleep
17727                 - (nm_policy_allowed_ap_list_update): From Bill Moss: merge properties
17728                         for all wireless devices on update, not just active device
17729
17730         * src/NetworkManagerUtils.c
17731                 - Merge Peter Jones' "completion" patch
17732
17733         * src/nm-dbus-nm.c
17734                 - (nm_dbus_nm_set_wireless_enabled): bring down wireless devices when
17735                         we're told to disable them
17736                 - (nm_dbus_nm_sleep, nm_dbus_nm_wake): new functions for sleep/wake
17737
17738         * utils/nm-utils.h
17739                 - New variants of the warn/info/error/debug print functions that can take
17740                         variables rather than static strings
17741
17742 2005-03-24  Dan Williams <dcbw@redhat.com>
17743
17744         * src/NetworkManagerUtils.c
17745                 - (nm_get_device_driver_name): driver names are now on the parents of
17746                         "Network Interface" objects, so look for them there
17747
17748 2005-03-24  Dan Williams <dcbw@redhat.com>
17749
17750         * test/nmtest.c
17751                 - Escape some forgotten object paths before we shove them through dbus
17752
17753 2005-03-24  Dan Williams <dcbw@redhat.com>
17754
17755         * dhcpcd/dhcpcd.[ch]
17756           src/NetworkManagerDHCP.c
17757                 - Switch names from "*_record_*" -> "*_element_*" to clarify things a bit
17758                         (ie, dhcp_option_record_len -> dhcp_option_element_len)
17759
17760         * src/NetworkManagerDbus.c
17761                 - spacing cleanups
17762
17763         * src/nm-dbus-dhcp.c
17764                 - Make the API suck less.  There is now only 1 type of each function,
17765                         ie only "getInteger" and no longer also "getIntegerv".  All types
17766                         are returned encapsulated in a DBUS_TYPE_ARRAY, even for options
17767                         that will never have more than 1 element.  This should simplify
17768                         things greatly.
17769
17770         * test/nm-dhcp-opt-test.c
17771                 - Make the tool not segfault
17772                 - adapt to new DHCP Options API
17773
17774 2005-03-22  Dan Williams <dcbw@redhat.com>
17775
17776         * src/NetworkManager.c
17777                 - (nm_wired_link_deactivated): actually ignore netlink events from
17778                         wireless devices.
17779
17780 2005-03-22  Dan Williams <dcbw@redhat.com>
17781
17782         * src/NetworkManager.c
17783                 - (nm_wired_link_activated): actually ignore netlink events from
17784                         wireless devices.
17785
17786 2005-03-17  Dan Williams <dcbw@redhat.com>
17787
17788         Patch from Tom Parker:
17789         * src/nm-netlink-monitor.c
17790                 - Include unistd.h
17791         * info-daemon/NetworkManagerInfoDbus.c
17792                 - (nmi_dbus_update_network_auth_method): free GConf values
17793
17794         Patch from Nathaniel McCallum <npmccallum@gentoo.org>:
17795         * src/NetworkManagerDevice.c
17796                 - (nm_device_set_wireless_config): wait for successful
17797                         association longer for some cards (Atheros a/b/g)
17798
17799 2005-03-15  Ray Strode  <rstrode@redhat.com>
17800
17801         * src/NetworkManager.c:
17802         (sigterm_pipe_handler):
17803         remove bogus FIXME
17804
17805 2005-03-15  Ray Strode  <rstrode@redhat.com>
17806
17807         * src/NetworkManagerDbus.c:
17808         Fix some sign weirdness that gcc4 doesn't like,
17809         and add a header file so PPC can hopefully find
17810         SIGTRAP
17811
17812 2005-03-14  Ray Strode  <rstrode@redhat.com>
17813         
17814         Fourth (probably working) cut at porting to
17815         dbus 0.30 api and new hal. This cut adds
17816         some new logging macros to make debugging
17817         easier.
17818
17819         * dispatcher-daemon/NetworkManagerDispatcher.c:
17820         * info-daemon/NetworkmanagerInfo.c:
17821         * info-daemon/NetworkManagerInfoPassphraseDialog.c:
17822         * info-daemon/NetworkManagerInfoVPN.c:
17823         * src/NetworkManager.c:
17824         * src/NetworkManagerAP.c:
17825         * src/NetworkManagerAPList.c:
17826         * src/NetworkManagerDHCP.c:
17827         * src/NetworkManagerDbus.c:
17828         * src/NetworkManagerDevice.c:
17829         * src/NetworkManagerPolicy.c:
17830         * src/NetworkManagerSystem.c:
17831         * src/NetworkManagerUtils.c:
17832         * src/NetworkManagerWireless.c:
17833         * src/autoip.c:
17834         * src/nm-dbus-nm.c:
17835         * src/backends/NetworkManagerDebian.c:
17836         * src/backends/NetworkManagerGentoo.c:
17837         * src/backends/NetworkManagerRedHat.c:
17838         * src/backends/NetworkManagerSlackware.c:
17839         use new logging macros.
17840
17841         * dispatcher-daemon/NetworkManagerDispatcher.c:
17842         (nmd_dbus_filter): s/dbus_free/g_free/
17843
17844         * info-daemon/Makefile.am: link in utils library.
17845         * info-daemon/NetworkmanagerInfo.c: use new logging 
17846         macros.
17847         (nmi_dbus_get_network): don't assume enumerations
17848         are 32-bit.
17849         (nmi_dbus_nmi_message_handler): don't free what 
17850         doesn't belong to us.
17851
17852         * libnm_glib/libnm_glib.c:
17853         (libnm_glib_get_nm_status): 
17854         (libnm_glib_init): don't free what doesn't
17855         belong to us.
17856         (libnm_glib_dbus): strdup result, so it doesn't get
17857         lost when message is unref'd.
17858
17859         * panel-applet/NMWirelessAppletDbus.c:
17860         (nmwa_dbus_update_devices): s/dbus_free/g_free/
17861
17862         * src/NetworkManager.c:
17863         (nm_monitor_wired_link_state): request initial status 
17864         dump of all cards when we start up, instead of relying
17865         on /sys/.../carrier.
17866         (nm_info_handler), (nm_set_up_log_handlers): 
17867         log handlers to specify what syslog priorites 
17868         the logging macros default to.
17869
17870         * src/NetworkManagerAPList.c: 
17871         (nm_ap_list_populate_from_nmi):
17872         s/dbus_free_string_array/g_strfreev/
17873
17874         * src/NetworkManagerDbus.c:
17875         (nm_dbus_get_network_object):
17876         validate d-bus message argument types.
17877         Advance message iterator after reading argument,
17878         prepend instead of append to GSList.
17879
17880         * src/NetworkManagerDevice.c:
17881         (nm_device_probe_wired_link_status):
17882         remove redundant /sys in /sys path. remove wrong
17883         contents == NULL means has carrier assumption.
17884
17885         * src/nm-netlink-monitor.c 
17886         (nm_netlink_monitor_request_status): implement
17887         function to ask kernel to dump interface link
17888         status over netlink socket.
17889
17890         * test/*.c: s/dbus_free/g_free/
17891
17892         * utils/nm-utils.h:
17893         (nm_print_backtrace): new macro to print backtrace.
17894         (nm_get_timestamp): new macro to get sub-second precise
17895         unix timestamp.
17896         (nm_info), (nm_debug), (nm_warning), (nm_error):
17897         new logging functions. nm_info just prints,
17898         nm_debug includes timestamp and function,
17899         nm_warning includes function, nm_error includes
17900         backtrace and sigtrap.
17901
17902 2005-03-11  Ray Strode  <rstrode@redhat.com>
17903
17904         Third (unfinished, partially working) cut at porting to 
17905         dbus 0.30 api and new hal.
17906
17907         * info-daemon/NetworkManagerInfoDbus.c:
17908                 don't free null arrays.
17909
17910         * panel-applet/NMWirelessAppletDbus.c: 
17911         * src/nm-dbus-device.c:
17912         * src/nm-dbus-net.c: 
17913         * src/NetworkManagerDbus.c: more 
17914         STRING -> OBJECT_PATH fun
17915         * src/NetworkManagerDevice.c:
17916         * src/NetworkManagerDevice.h:
17917         (rename nm_device_get_link_active): rename to 
17918         nm_device_has_active_link
17919         (nm_device_wireless_link_active): rename to
17920         nm_device_probe_wireless_link_state
17921         (nm_device_wired_link_active): rename to
17922         nm_device_probe_wired_link_state.  Rewrite to
17923         use carrier file since hal doesn't maintain
17924         link state anymore.
17925         (nm_device_update_link_active): rename to
17926         nm_device_update_link_state
17927         * src/NetworkManagerPolicy.c 
17928           (nm_policy_activation_finish): check for NULL
17929           MAC address.
17930
17931         * src/Makefile.am:
17932         * src/NetworkManagerMain.h: 
17933         * src/NetworkManager.c:
17934         * src/nm-netlink-monitor.c:
17935         * src/nm-netlink-monitor.h: New class to support
17936         monitoring wired ethernet link status, since HAL
17937         doesn't export that information anymore.
17938
17939 2005-03-09  Ray Strode  <rstrode@redhat.com>
17940
17941         Second (unfinished, unworking) cut at porting to 
17942         dbus 0.30 api.
17943
17944         * dispatcher-daemon/NetworkManagerDispatcher.c:
17945         * info-daemon/NetworkManagerInfoDbus.c:
17946         * panel-applet/NMWirelessAppletDbus.c:
17947         * src/NetworkManagerDbusUtils.c:
17948         * src/NetworkManagerDbusUtils.h:
17949         * src/nm-dbus-device.c:
17950         * src/nm-dbus-nm.c:
17951         * test/nmtest.c: support dbus "object path" type
17952
17953         * configure.in: 
17954         * Makefile.am:
17955         * info-daemon/Makefile.am:
17956         * libnm_glib/Makefile.am:
17957         * panel-applet/Makefile.am:
17958         * dispatcher-daemon/Makefile.am
17959         * src/Makefile.am:
17960         * test/Makefile.am:
17961         * utils/Makefile.am: 
17962         * utils/nm-utils.c: 
17963         * utils/nm-utils.h: new utils static lib
17964
17965 2005-03-07  Ray Strode  <rstrode@redhat.com>
17966
17967         * info-daemon/NetworkManagerInfoDbus.c:
17968         * libnm_glib/libnm_glib.c:
17969         * panel-applet/NMWirelessAppletDbus.c:
17970         * src/NetworkManager.c:
17971         * src/NetworkManagerDbus.c:
17972         * src/NetworkManagerDevice.c:
17973         * src/NetworkManagerUtils.c:
17974         * src/nm-dbus-device.c:
17975         * src/nm-dbus-dhcp.c:
17976         * src/nm-dbus-net.c:
17977         * src/nm-dbus-nm.c:
17978         * test/nminfotest.c:
17979         First (unfinished, unworking) cut at porting to dbus 0.30 api.
17980
17981 2005-03-04  Dan Williams  <dcbw@redhat.com>
17982
17983         * configure.in
17984                 - Mark HEAD as 0.4
17985
17986 2005-03-04  Dan Williams  <dcbw@redhat.com>
17987
17988         Patch from Peter Jones:
17989         - Make stuff work with gcc 4.0
17990
17991 2005-02-28  Maxim Dziumanenko <mvd@mylinux.com.ua>
17992
17993         * uk.po: Added "uk" (Ukrainian) to ALL_LINGUAS.
17994
17995 2005-02-27  Jim Huang  <jserv@kaffe.org>
17996
17997         * configure.in: Added "zh_TW" (Traditional Chinese) to ALL_LINGUAS.
17998
17999 2005-02-27  Dan Williams  <dcbw@redhat.com>
18000
18001         Patch from Bill Moss:
18002         * panel-applet/NMWirelessAppletDbus.c
18003                 - Make sure strength for current access point is up-to-date when we
18004                         update the gui data model
18005
18006 2005-02-27  Alessio Frusciante  <algol@firenze.linux.it>
18007
18008         * configure.in: Added "it" (Italian) to ALL_LINGUAS.
18009
18010 2005-02-27  Dan Williams  <dcbw@redhat.com>
18011
18012         * src/backends/NetworkManagerRedHat.c
18013                 - (nm_system_init): Kill any dhclient processes lying around as well
18014                         as stopping 'nifd' if its already been started.  NetworkManager
18015                         subsumes the functions of nifd (kicking mDNSResponder, autoip)
18016
18017 2005-02-27  Dan Williams  <dcbw@redhat.com>
18018
18019         * panel-applet/NMWirelessApplet.c
18020                 - (nmwa_destroy): Really mean to destroy GUI data model first, then
18021                         dbus data model, not the GUI data model twice.
18022
18023 2005-02-27  Dan Williams  <dcbw@redhat.com>
18024
18025         * panel-applet/NMWirelessApplet.[ch]
18026           panel-applet/NMWirelessAppletDbus.[ch]
18027                 - Move to incremental network updates.  Instead of blowing away our list
18028                         of devices every time we get a signal from NetworkManager, we now
18029                         incrementally add/remove networks when NetworkManager notifies us that
18030                         a new network has appeared or disappered.  Strength updates now happen
18031                         on-the-fly for each access point as well.  There are now two copies of
18032                         data from NetworkManager: one for the dbus side, and one for the gui side.
18033                         When the dbus side data is modified, it is copied over to the gui side
18034                         so we don't have to hold the data_mutex for long periods of time (and
18035                         therefore block animation of the applet's icon).
18036                 - Clean up some memleaks too
18037
18038         * panel-applet/NMWirelessAppletOtherNetworkDialog.c
18039                 - Minor code beautification
18040
18041         * src/NetworkManagerAPList.c
18042                 - (nm_ap_list_merge_scanned_ap): return whether or not the access point is
18043                         completely new and whether or not an existing one's strength was updated.
18044                         Try to fix multiple access points and signal strength by using the highest
18045                         signal strength in each scan for any given ESSID.
18046
18047         * src/NetworkManagerDbus.[ch]
18048                 - (nm_dbus_signal_wireless_network_change): consolidate signals that deal with
18049                         wireless networks; now we have only WirelessNetworkUpdate which includes
18050                         a UINT32 for Appeared, Disappeared, or StrengthChanged (see NetworkManager.h).
18051                 - Kill usage of DbusMessageIter
18052
18053         * src/NetworkManagerDevice.c
18054                 - (nm_device_wireless_process_scan_results): Use the same timestamp for all APs
18055                         in the same scan result list.  Copy ESSIDs-by-address earlier on, for each
18056                         AP rather than all-at-once.  Also don't ever remove the AP a card is
18057                         currently associated with from the network list.
18058                 - Update for new signals during scan, send out Appeared, Disappeared, or
18059                         StrengthChanged when necessary.
18060
18061 2005-02-25  Dan Williams  <dcbw@redhat.com>
18062
18063         * README
18064                 - Line break the README
18065
18066 2005-02-25  Dan Williams  <dcbw@redhat.com>
18067
18068         * panel-applet/NMWirelessAppletOtherNetworkDialog.c
18069                 - Remove usage of gtk_window_set_default_size()
18070
18071         * panel-applet/essid.glade
18072                 - Stick default size here
18073                 - Add in random crap that current glade wants to add in now
18074
18075 2005-02-25  Dan Williams  <dcbw@redhat.com>
18076
18077         * src/backends/NetworkManagerRedHat.c
18078                 - For non-caching-nameserver/non-named case, ensure that nscd is running
18079                         and that we actually tell nscd to reload the hosts cache when it changes
18080
18081 2005-02-25  Dan Williams  <dcbw@redhat.com>
18082
18083         * info-daemon/NetworkManagerInfoDbus.c
18084                 - (nmi_dbus_get_network_properties): whack usage of DbusMessageIter
18085
18086         * test/nminfotest.c
18087                 - Whack usage of DbusMessageIter
18088                 - Clean up DbusError and DbusMessage handling and freeing
18089                 - Remove unused unregister handler
18090
18091         * test/nmtest.c
18092                 - Whack usage of DbusMessageIter
18093
18094         * test/nmtestdevices.c
18095                 - Whack usage of DbusMessageIter
18096
18097 2005-02-25  Dan Williams  <dcbw@redhat.com>
18098
18099         * NetworkManager.h
18100                 - New signal type NMNetworkStatus in preparation for the "WirelessNetworkUpdate"
18101                         signal
18102
18103 2005-02-25  Dan Williams  <dcbw@redhat.com>
18104
18105         * named/nm-named-manager.c
18106                 - Ensure that pid and watch variables for child named process get cleared out
18107                         when the child goes away.
18108
18109 2005-02-22  Dan Williams  <dcbw@redhat.com>
18110
18111         * src/NetworkManagerPolicy.c
18112                 - (nm_policy_activation_finish): Deactivate a device if its activation fails,
18113                         and NULL out data->active_device so that we have to choose another one.
18114                         This may make NetworkManager keep attempting to connect to a wired network
18115                         if it fails, but if it keeps failing the wired network has more problems than
18116                         just NetworkManager.
18117
18118         * src/backends/NetworkManagerRedHat.c
18119                 - (nm_system_update_dns): fix to actually run nscd -i hosts when nscd
18120                         is already running
18121
18122         * named/nm-named-manager.c
18123                 - (rewrite_resolv_conf): Call nm_system_update_dns() when not using
18124                         named so that the distro can flush whatever name service caching
18125                         daemon it uses
18126
18127 2005-02-21  Dan Williams  <dcbw@redhat.com>
18128
18129         * src/NetworkManagerDHCP.[ch]
18130                 - (nm_device_dhcp_remove_timeouts): new function
18131
18132         * src/NetworkManagerDevice.c
18133                 - Use nm_device_dhcp_remove_timeouts() everywhere that we need to
18134                         remove the DHCP timeouts.
18135
18136 2005-02-21  Dan Williams  <dcbw@redhat.com>
18137
18138         * panel-applet/NMWirelessApplet.[ch]
18139           panel-applet/menu-info.[ch]
18140                 - Give the panel applet some major love: menu items are no longer
18141                         subclasses of GtkCheckMenuItem, they are actual GtkCheckMenuItems.
18142                         This allows the applet to actually reflect theme changes correctly,
18143                         since themeing of subclassed items in GTK _sucks_.
18144
18145 2005-02-18  Dan Williams  <dcbw@redhat.com>
18146
18147         * libnm_glib/libnm_glib.[ch]
18148           test/libnm_glib_test.c
18149                 - Clean up libnm_glib API a bit, callback is now passed a libnm_glib_ctx
18150                         and its data, and doesn't have to free the callback data anymore
18151
18152 2005-02-18  Dan Williams  <dcbw@redhat.com>
18153
18154         * panel-applet/NMWirelessApplet.c
18155                 - Revert 2005-02-18 William Jon McCann fix for standard
18156                         copyright string until it passes 'make distcheck'.
18157                         With standard copyright string, xgettext complains
18158                         about "Non-ASCII string at ...".
18159
18160 2005-02-18  Dan Williams  <dcbw@redhat.com>
18161
18162         * panel-applet/essid.glade
18163           panel-applet/NMWirelessAppletOtherNetworksDialog.c
18164                 - Correct spelling of "adaptor"->"adapter"
18165
18166 2005-02-18  William Jon McCann  <mccann@jhu.edu>
18167
18168         * panel-applet/NMWirelessApplet.c: Use GTK_CHECK_VERSION() macro.
18169         (nmwa_about_cb): Use standard copyright string.  Update comment
18170         text to reflect that it is a notification area applet.  Remove
18171         leading newline in authors list.
18172         (nmwa_menu_show_cb, nmwa_setup_widgets): Populate menu on show
18173         instead of on parent menu item activation.  Fixes #167550.
18174
18175 2005-02-18  William Jon McCann  <mccann@jhu.edu>
18176
18177         * panel-applet/essid.glade: Capitalize items as per HIG.
18178           Fixes #167632
18179
18180 2005-02-16  William Jon McCann  <mccann@jhu.edu>
18181
18182         * panel-applet/gtkcellrendererprogress.[ch]: Only compile these
18183         files for GTK 2.4 or lower, since now public in GTK 2.6.
18184
18185         * panel-applet/essid.glade: Don't specify window size.
18186         
18187 2005-02-17  Dan Williams  <dcbw@redhat.com>
18188
18189         Caught by Bill Moss:
18190         * dhcpcd/client.c
18191                 - Time remaining for DHCP transaction calculation was incorrectly
18192                         inside a #ifdef DEBUG
18193
18194 2005-02-15  Christophe Merlet  <redfox@redfoxcenter.org>
18195
18196         * configure.in: Added fr (French) to ALL_LINGUAS.
18197
18198 2005-02-14  Dan Williams  <dcbw@redhat.com>
18199
18200         * src/NetworkManagerDHCP.c
18201                 - (set_domain_searches): Fix free of invalid pointer
18202
18203 2005-02-14  Dan Williams  <dcbw@redhat.com>
18204
18205         Patch from Peter Jones:
18206         * dhcpcd/client.c
18207                 - Ensure we return RET_DHCP_CEASED everywhere we should
18208         * dhcpcd/udpipgen.c
18209                 - Use faster TOS for IP packets
18210                 - Don't set ip_id since we're UDP
18211
18212         Patch from Tomislav Vujec:
18213         * src/nm-dbus-dhcp.c
18214           test/nm-dhcp-opt-test.c
18215                 - Clean up warnings to enable cvs tree compilation.
18216
18217 2005-02-14  Tomislav Vujec  <tvujec@redhat.com>
18218
18219         * configure.in
18220           po/hr.po
18221                 - Add the Croatian locale.
18222
18223 2005-02-14  Colin Walters  <walters@verbum.org>
18224
18225         * src/NetworkManagerDHCP.c (set_domain_searches): Handle space-separated
18226         list of domains to search.
18227         
18228         * src/NetworkManagerMain.h (NMData): Handle multiple domain searches.
18229
18230 2005-02-13  Dan Williams  <dcbw@redhat.com>
18231
18232         * dhcpcd/client.c
18233                 - Debug output cleanups of DHCP option printing and parsing.
18234
18235 2005-02-13  Dan Williams  <dcbw@redhat.com>
18236
18237         Patch from Dan Reed:  DHCP options D-BUS API
18238                 Exposes the DHCP options that a device receives to clients over D-BUS.
18239
18240         * configure.in
18241                 - A few cleanups
18242
18243         * dhcpcd/client.h
18244                 - Correct names, option length, and types for DHCP options
18245
18246         * dhcpcd/dhcpcd.[ch]
18247                 - Clarify function names that access DHCP options & data
18248
18249         * src/NetworkManagerDHCP.c
18250                 - Use new DHCP data access functions
18251
18252         * src/NetworkManagerDbus.c
18253                 - Message handler for DHCP functions
18254
18255         * src/nm-dbus-dhcp.[ch] (new)
18256                 - DHCP dbus methods
18257
18258         * test/nm-dhcp-opt-test.c
18259                 - Test DHCP D-BUS API and return all present DHCP options
18260
18261 2005-02-12  Dan Williams  <dcbw@redhat.com>
18262
18263         * test/Makefile.am
18264           test/nmclienttest.c
18265           test/nmtest.c
18266                 - Move nmclienttest.c -> nmtest.c
18267
18268 2005-02-12  Dan Williams  <dcbw@redhat.com>
18269
18270         * dhcpcd/buildmsg.c
18271                 - Pad DHCP packets until they are at least 300 bytes in size.
18272
18273 2005-02-11  Dan Williams  <dcbw@redhat.com>
18274
18275         * dhcpcd/client.c
18276                 - (dhcp_init): only print out client ID and class ID if they are specified
18277
18278         * src/NetworkManagerDbus.[ch]
18279           src/nm-dbus-nm.[ch]
18280           src/nm-dbus-device.[ch]
18281           src/nm-dbus-net.[ch]
18282                 - Move NM, Device, and Net functions to separate files and use the
18283                         dbus method list stuff in NetworkManagerDbusUtils.c to do
18284                         method dispatching
18285
18286         * src/NetworkManagerDbusUtils.c
18287                 - Add new validate_method called before each dispatch (if present)
18288                         that can validate the method call
18289
18290         * src/NetworkManagerWireless.c
18291                 - (nm_wireless_qual_to_percent): Fix misplaced "!" that caused signal
18292                         levels never to be evaluated
18293
18294         Patch from j@bootlab.org
18295         * src/NetworkManagerDevice.c
18296                 - Add typedef for "u64"
18297
18298         * src/backends/NetworkManagerDebian.c
18299                 - Copy in Dave Woodhouse's fixes for IPv6
18300
18301 2005-02-11  Dan Williams  <dcbw@redhat.com>
18302
18303         Patch from Dave Woodhouse for IPv6:
18304         * src/NetworkManagerUtils.c
18305                 - (nm_ethernet_address_is_valid): Check for prism54 dummy MAC address
18306                         and multicast addresses
18307
18308         * src/NetworkManagerDevice.c
18309                 - (nm_device_set_up_down): make sure our cached MAC address is up-to-date
18310                         after bringing up a card.
18311
18312 2005-02-10  Dan Williams  <dcbw@redhat.com>
18313
18314         Patch from Dave Woodhouse:
18315         * src/NetworkManagerSystem.h
18316           src/backends/NetworkManagerDebian.c
18317           src/backends/NetworkManagerGentoo.c
18318           src/backends/NetworkManagerSlackware.c
18319                 - New nm_system_device_add_ip6_link_address() function to add link-local
18320                         address on an interface.  Stubbed in Debian, Gentoo, and Slackware.
18321
18322         * src/backends/NetworkManagerRedHat.c
18323                 - (nm_system_device_add_ip6_link_address): implement
18324                 - (nm_system_device_flush_addresses): revert to previous behavior of
18325                         flushing all addresses
18326
18327 2005-02-10  Dan Williams  <dcbw@redhat.com>
18328
18329         Patch from Tom Parker:
18330         * src/NetworkManagerDevice.c
18331                 - Remove the "#include <pci/types.h>" since both the ethtool.h and
18332                         mii.h headers are broken, and instead use our own typedefs
18333
18334 2005-02-10  Dan Williams  <dcbw@redhat.com>
18335
18336         * dhcpcd/buildmsg.c
18337                 - (fill_host_and_class_id): only fill in client and class IDs if
18338                         they are set by callers.
18339
18340         * dhcpcd/client.c
18341                 - (class_id_setup): don't autogenerate a class ID, only use one
18342                         we're given, if any.
18343                 - (client_id_setup): don't autogenerate a client ID, only use one
18344                         we're given, if any.
18345
18346         * dhcpcd/dhcpcd.c
18347                 - (dhcp_interface_init): ensure that client options are correctly
18348                         NULL terminated
18349
18350         * src/NetworkManagerDHCP.c
18351                 - (nm_device_dhcp_request): pass hostname to dhcp library
18352
18353 2005-02-10  Dan Williams  <dcbw@redhat.com>
18354
18355         * dhcpcd/client.c
18356                 - #rh147661# Don't send kernel version in DHCP requests
18357
18358         * src/NetworkManagerSystem.h
18359           src/backends/NetworkManagerDebian.c
18360           src/backends/NetworkManagerGentoo.c
18361           src/backends/NetworkManagerRedHat.c
18362           src/backends/NetworkManagerSlackware.c
18363                 - Remove the nm_system_device_run_dhcp() and nm_system_device_stop_dhcp()
18364                         functions, they are no longer used anyway
18365
18366         * src/backends/NetworkManagerRedHat.c
18367                 - (nm_system_device_flush_addresses): only flush "scope global" and "scope site"
18368                         addresses in an attempt to keep IPv6 local-scope addresses around
18369
18370 2005-02-10  Dan Williams  <dcbw@redhat.com>
18371
18372         * src/NetworkManager.c
18373                 - (nm_create_device_and_add_to_list): change the add message slightly
18374
18375         * src/NetworkManagerUtils.c
18376                 - (nm_get_wireless_driver_support_level, nm_get_wired_driver_support_level):
18377                         Return driver name to calling function
18378                 - (nm_get_driver_support_level): print out the driver a device is using
18379                         during the support check
18380
18381         Patch from Dave Woodhouse:
18382         * dhcpcd/udpipgen.c
18383                 - (in_cksum): copy last byte of odd-sized packets into a
18384                         'u_short' rather than a 'u_char', should fix wrong checksums
18385                         on big-endian platforms
18386
18387 2005-02-09  Dan Williams  <dcbw@redhat.com>
18388
18389         * Clean up usage of GSList objects and looping through their members
18390         * Clean up DHCP rebind/renew timeouts, hopefully they will work correctly
18391                 now.
18392         * Fix problem where even if scanning was turned off, card would still
18393                 cycle through frequencies.
18394
18395 2005-02-08  Dan Williams  <dcbw@redhat.com>
18396
18397         * panel-applet/NMWirelessApplet.c
18398                 - Fix for gtk 2.4
18399
18400 2005-02-08  Dan Williams  <dcbw@redhat.com>
18401
18402         Patch from Bill Moss
18403         * panel-applet/NMWirelessApplet.c
18404                 - Restore correct ESSID in tooltips
18405
18406 2005-02-07  Dan Williams  <dcbw@redhat.com>
18407
18408         * panel-applet/NMWirelessApplet.[ch]
18409                 - Add a context menu that contains:
18410                         Pause/Resume Wireless Scanning
18411                         Stop/Start All Wireless Devices
18412                         About...
18413                 - Grab active device strength off active device,
18414                         not its network
18415
18416         * panel-applet/NMWirelessAppletDbus.[ch]
18417                 - Add DBUS accessors for "getSupportsCarrierDetect", "setScanningEnabled",
18418                         "getScanningEnabled", "setWirelessEnabled", and "getWirelessEnabled"
18419                 - Update active device strength every 2 seconds, not every 1 second
18420
18421         * panel-applet/menu-info.c
18422                 - Only disable wired devices in the menu when they support carrier detection,
18423                         and don't currently have a link.  Non-carrier-detect devices will always
18424                         remain choosable
18425
18426         * src/Makefile.am
18427           src/NetworkManagerDbusUtils.[ch]
18428                 - Add new new dbus utils sources
18429
18430         * src/NetworkManager.c
18431                 - Fixes for new link detection, we no longer need to call nm_device_update_link_active()
18432                         with the boolean parameter
18433                 - Set scanning_enabled & wireless_enabled to TRUE
18434
18435         * src/NetworkManagerDbus.c
18436                 - Use new dbus util method dispatcher functions for org.freedesktop.NetworkManager methods
18437                 - Implement scanning & wireless enable/disable calls
18438                 - Remove the dbus vtable unregister handlers, weren't doing anything with them anyway
18439
18440         * src/NetworkManagerDevice.c
18441                 - New link detection stuff again...
18442                         o  Create device's mainloop earlier (but don't run it earlier)
18443                         o  Hook up new carrier-detect support stuff
18444                         o  Add in the ethtool & mii support detection code
18445                 - Don't scan if scanning is disabled
18446
18447         * src/NetworkManagerPolicy.c
18448                 - Never automatically choose a device that doesn't support carrier detection
18449                 - Don't automatically choose a wireless device if wireless is disabled
18450
18451 2005-02-07  Dan Williams  <dcbw@redhat.com>
18452
18453         * libnm_glib/libnm_glib.c
18454                 - Small cleanup in element list iteration
18455
18456 2005-02-07  Dan Williams  <dcbw@redhat.com>
18457
18458         * src/NetworkManagerWireless.c
18459                 - (nm_wireless_qual_to_percent): Fix up wireless quality calculations
18460                         to be in line with the WEXT quality specification
18461
18462 2005-02-02  Dan Williams  <dcbw@redhat.com>
18463
18464         Patch from Nathan Fredrickson <nathan@silverorange.com>
18465         * Fix up compile for deprecation of libgnomeui
18466                 - Switch to <glib/gi18n.h> from <libintl.h>
18467                 - Remove <libgnomeui/libgnomeui.h> includes
18468                 - Use gtk_window_set_default_icon_from_file() rather than
18469                         gnome_window_set_default_icon_from_file()
18470
18471         * named/nm-named-manager.c
18472                 - (generate_named_conf): Fix return-nothing in non-void
18473                         function
18474
18475 2005-02-02  Dan Williams  <dcbw@redhat.com>
18476
18477         * Clean up unused variables and the like
18478
18479 2005-02-02  Dan Williams  <dcbw@redhat.com>
18480
18481         * src/NetworkManagerAPList.c
18482                 - (nm_ap_list_merge_scanned_ap): merge strength too
18483
18484         * src/NetworkManagerUtils.c
18485                 - (nm_lock_mutex, nm_register_mutex_desc): new calls to facilitate debugging
18486                         of locking issues by printing out prettier information than g_mutex_lock
18487                 - Print out names of mutexes registered with nm_register_mutex_desc()
18488                 - (nm_try_lock_mutex): don't do the waiting thing when trying to lock, causes
18489                         us to seemingly block here for too long
18490
18491         * src/NetworkManager.c
18492           src/NetworkManagerAPList.c
18493           src/NetworkManagerDevice.c
18494                 - Convert to using nm_lock_mutex/nm_unlock_mutex rather than the glib variants
18495                         so we get better debug information printed
18496
18497         * src/NetworkManagerDbus.c
18498                 - (nm_dbus_devices_handle_request): reduce usage of nm_device_need_ap_switch()
18499                         since it sometimes has locking side effects
18500                 - (nm_device_get_association_pause_value): Reduce 802.11a card pause value to 8s
18501                         from 10s
18502                 - (nm_device_need_ap_switch): If we can't acquire the scan lock, return saying
18503                         we don't need a switch.  This gets called often enough that we can't block
18504                         until the scan mutex is acquired, because we'll block on device activation
18505                         and a few other things, which hangs main thread for too long.
18506
18507         * src/NetworkManagerPolicy.c
18508                 - (nm_policy_auto_get_best_device): reduce the possiblity that
18509                         nm_device_need_ap_switch() will be called               
18510
18511 2005-02-02  Dan Williams  <dcbw@redhat.com>
18512
18513         * panel-applet/NMWirelessApplet.c
18514                 - Display name of wireless network we are connecting to or connected to
18515                         in the tooltip of the applet
18516
18517 2005-02-02  Dan Williams  <dcbw@redhat.com>
18518
18519         * src/NetworkManagerDHCP.c
18520                 - Hopefully fix double-default-route problem by cleaning up the default
18521                         route added by DHCP code right before the DHCP transaction begins
18522
18523 2005-02-02  Dan Williams  <dcbw@redhat.com>
18524
18525         * named/nm-named-manager.c
18526                 - Write out valid resolv.conf when we exit
18527
18528 2005-02-01  Dan Williams  <dcbw@redhat.com>
18529
18530         Patch from Colin Walters:
18531         * named/nm-named-manager.c
18532                 - Make multi-domain search options work
18533
18534 2005-01-31  Dan Williams  <dcbw@redhat.com>
18535
18536         * info-daemon/NetworkManagerInfoDbus.c
18537                 - (nmi_dbus_nmi_message_handler): make sure 'dialog' exists before using it
18538
18539         * src/NetworkManagerDevice.c
18540                 - (nm_device_new): Don't store the entire range struct, use only what we need
18541                         (which is currently avg_quality, max_quality, and frequencies).  Also
18542                         zero device structure when we've free'd it to maybe expose errors down
18543                         the line.
18544                 - (nm_device_update_signal_strength): grab the scan mutex before getting
18545                         quality data from the card since quality will be useless during a scan.
18546                         Call updated wireless qual-to-percent function with values stored in
18547                         nm_device_new() earlier.
18548                 - Remove some unused functions (nm_device_get_max_quality(), nm_device_get_noise(),
18549                         nm_device_get_bad_crypt_packets())
18550                 - (nm_device_activate_wireless_adhoc): use new frequency values we go in
18551                         nm_device_new()
18552                 - (get_initial_auth_method): always use the Auth method that's in the allowed
18553                         list if available.  Problem was this: when the WEP key is wrong, NM will
18554                         try OS then SK modes, and then get stuck in SK mode after that.  This
18555                         should reset it.
18556                 - (nm_device_wireless_process_scan_results): work with new qual-to-percent
18557                         function
18558
18559         * src/NetworkManagerWireless.c
18560                 - (nm_wireless_qual_to_percent): try to make this function actually work and
18561                         mimic iwlib behavior.  Use card's idea of quality divided by max_qual
18562                         if that's all present, otherwise fall back to signal-to-noise ratios.
18563
18564 2005-01-29  Dan Williams  <dcbw@redhat.com>
18565
18566         * initscript/RedHat/NetworkManager
18567                 - Don't spit out sysctl stuff to console
18568
18569         * libnm_glib/libnm_glib.c
18570                 - (libnm_glib_init): call dbus_g_thread_init()
18571
18572         * panel-applet/NMWirelessAppletDbus.c
18573                 - (nmwa_dbus_worker): call dbus_g_thread_init()
18574
18575         * src/NetworkManager.c
18576                 - (main): call dbus_g_thread_init()
18577
18578         * src/NetworkManagerAPList.c
18579                 - (nm_ap_list_print_members): use LOG_ERR instead of LOG_DEBUG
18580                         so we can actually see what's there in a normal syslog
18581
18582         * src/NetworkManagerDevice.c
18583                 - (nm_device_activate_wireless): print out the "waiting for access point"
18584                         message only once, then say what access point we actually got after
18585                         the wait.
18586                 - (nm_device_need_ap_switch): If a scan is in progress when we're in this
18587                         function, wait until the scan is done.  Scans may change the ESSID of
18588                         the card, making this function think we need to switch access points
18589                 - (nm_device_wireless_process_scan_results): for artificial access points
18590                         don't check against the card's ESSID, but the best_ap's ESSID.  This
18591                         prevents collisions with the scanning code, which may change the card's
18592                         ESSID and cause the access point to get dropped from the device's AP
18593                         list.  Also increase the keep-around time to 2m from 60s since the max
18594                         scan interval could be 60s in some cases.
18595
18596         * src/NetworkManagerPolicy.c
18597                 - (nm_policy_activation_finish): Don't add invalid MAC addresses to GConf
18598                 - (nm_policy_allowed_ap_list_update): When we update, make sure we copy over
18599                         the new properties and ESSIDs to the device's AP list.  Fixes some races
18600                         between NM and NMI.
18601
18602 2005-01-27  Dan Williams  <dcbw@redhat.com>
18603
18604         * info-daemon/NetworkManagerInfoDbus.c
18605                 - (nmi_dbus_add_network_address): if the network doesn't yet exist in
18606                         GConf, make a minimal entry for it (essid & timestamp)
18607
18608         * src/NetworkManagerAPList.c
18609                 - (nm_ap_list_populate_from_nmi): Don't try to grab network data if
18610                         NetworkManagerInfo isn't running
18611
18612         * src/NetworkManagerDbus.[ch]
18613                 - (nm_dbus_nmi_is_running): new function
18614
18615         * src/NetworkManagerDevice.c
18616                 - (nm_device_wireless_force_use): Don't set the created AP's MAC
18617                         address to garbage.
18618
18619         * src/NetworkManagerPolicy.c
18620                 - (nm_policy_activation_finish): On successful activation, make sure
18621                         the "best" AP has a MAC address, and don't tell NMI to add the
18622                         current AP's MAC address to GConf if the AP is an Ad-hoc AP.
18623                 - (nm_policy_allowed_ap_list_update): Update a wireless card's "best"
18624                         access point after refreshing our allowed list if it doesn't already
18625                         have a "best" access point.
18626
18627 2005-01-25  Dan Williams  <dcbw@redhat.com>
18628
18629         * panel-applet/NMWirelessAppletDbus.c
18630                 - (nmwa_dbus_filter): Fix dbus 0.23 ServiceOwnerChanged checks
18631                         so we check for NM_DBUS_SERVICE rather than not for it
18632
18633         * libnm_glib/libnm_glib.c
18634                 - (libnm_glib_dbus_filter): Fix for dbus 0.23, trapping
18635                         ServiceOwnerChanged signal
18636
18637 2005-01-25  Dan Williams  <dcbw@redhat.com>
18638
18639         * configure.in
18640                 - Check DBUS version in configure, and set the C macros
18641                         DBUS_VERSION_[MAJOR,MINOR,MICRO]
18642
18643         * info-daemon/NetworkManagerInfoDbus.c
18644                 - Remove #if 0-d section of code that quit NMI if NM went away.
18645
18646         * panel-applet/NMWirelessAppletDbus.c
18647                 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
18648
18649         * src/NetworkManager.c
18650           src/NetworkManagerMain.h
18651           src/NetworkManagerDbus.c
18652                 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
18653                 - Make updating of our Allowed Wireless Network lists from NMI
18654                         an idle function in the main thread now, with a high priority.
18655
18656 2005-01-24  Dan Williams  <dcbw@redhat.com>
18657
18658         * panel-applet/gtkcellview.[ch]
18659           panel-applet/menu-info.c
18660                 - Fix GTK version checks to be <= rather than <
18661
18662         * test/Makefile.am
18663                 - Include the libtool archive of libnm_glib rather than
18664                         trying to pull in the .so
18665
18666 2005-01-24  Dan Williams  <dcbw@redhat.com>
18667
18668         * src/NetworkManagerDevice.c
18669           src/NetworkManagerDevicePrivate.h
18670                 - Block nm_device_new() until our device's worker thread has had a
18671                         chance to start up.  Fixes a race between main thread and worker
18672                         thread starting that caused activation requests to get lost.
18673
18674 2005-01-24  Dan Williams  <dcbw@redhat.com>
18675
18676         * initscript/RedHat/NetworkManager
18677                 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
18678                         to add the NM startup script at priority 50, which was
18679                         way too early
18680
18681 2005-01-24  Colin Walters  <walters@redhat.com>
18682
18683         * named/named.conf: Use any port for query source instead of
18684         restricting to port 53.
18685
18686 2005-01-24  Dan Williams  <dcbw@redhat.com>
18687
18688         * initscript/RedHat/NetworkManager
18689                 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
18690                         to add the NM startup script at priority 50, which was
18691                         way too early
18692
18693 2005-01-24  Dan Williams  <dcbw@redhat.com>
18694
18695         Patch from Tom Parker <palfrey@tevp.net>
18696         * Fix up compile warnings & errors in the wireless applet
18697
18698 2005-01-24  Dan Williams  <dcbw@redhat.com>
18699
18700         * panel-applet/NMWirelessApplet.c
18701                 - Convert 24x24 icons back to 22x22 and use the 22x22 ones
18702
18703 2005-01-24  Dan Williams  <dcbw@redhat.com>
18704
18705         * panel-applet/gtkcellview.[ch]
18706                 - Only compile these files for GTK 2.4 or lower, since 
18707                         GtkCellView is now public in GTK 2.6.  Fixes crasher
18708                         when choosing "Other Wireless Networks" from the panel
18709                         applet menu
18710
18711 2005-01-21  Dan Williams  <dcbw@redhat.com>
18712
18713         * src/NetworkManager.c
18714                 - Daemonize earlier so that glib doesn't get confused (?)
18715
18716 2005-01-21  Dan Williams  <dcbw@redhat.com>
18717
18718         * panel-applet/NMWirelessApplet.[ch]
18719           panel-applet/NMWirelessAppletDbus.c
18720           panel-applet/menu-info.c
18721           src/NetworkManagerDevice.c
18722                 - Disable wired devices in the menu when they have no link.
18723
18724 2005-01-21  Dan Williams  <dcbw@redhat.com>
18725
18726         * Cache last-known-good wireless authentication method in
18727                 NetworkManagerInfo, and use that method first during
18728                 wireless device activation.  Should speed up devices that
18729                 need Shared Key authentication method since Open System is
18730                 now the default.
18731
18732         * Remove the hack to not do full activation on wired connections
18733                 that are active when we launch, it causes too many problems
18734                 with name resolution and was a hack in the first place.
18735
18736         * Re-work wireless device activation again somewhat to have a
18737                 clearer chain of events and to use last-known-good
18738                 authentication method of the access point.  Also provide
18739                 better status throughout activation to ensure the applet
18740                 can tell the user exactly what's going on.
18741
18742         * Remove the "find wireless network" code and now simply attempt
18743                 to activate with that access point.  This reduces the delay
18744                 between selecting "Other wireless Network" and actually
18745                 connecting to that network.
18746
18747         * Correctly stop the device's worker thread when its removed.
18748
18749 2005-01-21  Dan Williams  <dcbw@redhat.com>
18750
18751         * dhcpcd/client.c
18752                 - Clean up some of the debug messages
18753
18754 2005-01-21  Dan Williams  <dcbw@redhat.com>
18755
18756         * Add new icons, more frames of animation
18757         * Remove some hacks to get the panel applet to display correct
18758                 status, an NM update will soon follow that will fix the
18759                 real issue.
18760
18761 2005-01-19  Kjartan Maraas  <kmaraas@gnome.org>
18762
18763         * panel-applet/NMWirelessApplet.c: #include <config.h> must be
18764         the first include for working i18n. Also, don't include it in .h files
18765         * panel-applet/NMWirelessApplet.h: Same
18766         * panel-applet/NMWirelessAppletOtherNetworkDialog.c: Same
18767         * panel-applet/menu-info.c: Same
18768
18769 2005-01-18  Dan Williams <dcbw@redhat.com>
18770
18771         * dhcpcd/client.c
18772                 - Remove some debug messages
18773                 - Wrap others in #ifdef DEBUG/#endif
18774
18775         * src/NetworkManager.c
18776                 - Remove some debug messages
18777                 - Clarify some debug messages
18778                 - Remove code related to old single-thread wireless scanning
18779
18780         * src/NetworkManagerAP.[ch]
18781                 - New AP property "last_seen" to track how recently an AP was
18782                         found in a scan
18783                 - Start using 'const' more in function arguments
18784
18785         * src/NetworkManagerAPList.[ch]
18786                 - (nm_ap_list_merge_scanned_ap): new, selectively update attributes
18787                         of an AP found in an AP list from a source AP, or if not found
18788                         in the list add the source AP
18789                 - (nm_ap_list_combine): remove, no longer needed
18790
18791         * src/NetworkManagerDevice.c
18792                 - Each device now has a "worker" thread from start to end of its life.
18793                         Scanning for wireless devices now happens in that thread,
18794                         not in a single "wireless scanning thread" for all devices as
18795                         previously.  Activation consists of adding an idle handler to the
18796                         thread's main loop/context, which gets run at the next available
18797                         opportunity.
18798                 - Wireless scanning is also simplified, there is now only one list of
18799                         access points per wireless device, and APs older than 60s are
18800                         removed from the list.  Previously, we kept results for the last
18801                         3 scans and merged whole lists, which was complicated.
18802                 - Cleaned up activation debug messages.
18803                 - Wireless activation and access-point search routines now use Open System
18804                         authentication before trying Shared Key.
18805                 - Removed some code in nm_device_update_best_ap() that could cause cards
18806                         to loose their link to the access point.
18807                 - Scanning now uses a backoff algorithm, where the inverval becomes
18808                         progressively longer between scans when the list of scanned access
18809                         points doesn't change.  A change will revert to the shortest scan
18810                         interval (20s).
18811
18812         * src/NetworkManagerWireless.[ch]
18813                 - Remove code related to old single-thread wireless scanning
18814
18815 2005-01-18  Colin Walters  <walters@redhat.com>
18816
18817         * src/NetworkManagerDHCP.c (set_nameservers): Free and clear list
18818         of older nameservers.
18819
18820 2005-01-18  Colin Walters  <walters@redhat.com>
18821
18822         * named/nm-named-manager.c (generate_named_conf): Many fixes
18823         to config file generation.
18824         (safer_kill): Remove, was too much trouble for little gain.
18825         (nm_named_manager_start): Run named as NM_NAMED_USER.
18826
18827         * configure.in: Add option --with-named-user.
18828
18829 2005-01-14  Colin Walters  <walters@redhat.com>
18830
18831         Patch from ed@catmur.co.uk (Ed Catmur)
18832
18833         * named/nm-named-manager.c: Add "context" property.
18834         Use it to add child watch source in specific GMainContext.
18835
18836         * src/NetworkManager.c (nm_data_new): Initialize
18837         named with correct main context.  Start named only
18838         after forking.
18839
18840 2005-01-14  Colin Walters  <walters@redhat.com>
18841
18842         * named/nm-named-manager.c (generate_named_conf): Write config
18843         and pid files into NM_NAMED_DATA_DIR; this allows things to
18844         work better with FC3 named SELinux policy.  Also fix up silly
18845         format error.
18846
18847         * configure.in: Add --with-named-dir option.
18848
18849 2005-01-14  Colin Walters  <walters@redhat.com>
18850
18851         * configure.in: Make named support require passing --with-named.
18852
18853         * named/nm-named-manager.c: Support writing resolv.conf directly
18854         without running named.
18855
18856 2005-01-13  Dan Williams <dcbw@redhat.com>
18857
18858         * named/nm-named-manager.c
18859                 - Use syslog(LOG_WARNING) rather than g_warning() (gnome.org #163961)
18860
18861         * src/NetworkManagerDevice.c
18862                 - Rework wireless link detection code to be more reliable
18863
18864 2005-01-12  Dan Williams <dcbw@redhat.com>
18865
18866         * initscripts/RedHat/NetworkManager
18867                 - Change initial level to "-" rather than "345" so that
18868                         we don't activate ourselves by default on install
18869
18870 2005-01-12  Dan Williams <dcbw@redhat.com>
18871
18872         * libnm_glib/
18873                 - Client library for applications using glib
18874
18875         * configure.in
18876           various Makefiles
18877                 - Split NM_CFLAGS and NM_LIBS into separate variables
18878                         like DBUS_*, HAL_* and GLIB_*
18879
18880         * src/NetworkManager.c
18881           src/NetworkManagerMain.h
18882                 - (nm_schedule_status_signal_broadcast): at the earliest convenience,
18883                         broadcast a status changed signal over DBUS from the main thread.
18884                         Still unused anywhere for the moment.
18885
18886         Patch from j@bootlab.org
18887         * panel_applet/NMWirelessAppletDbus.c
18888           src/NetworkManagerDbus.c
18889                 - Correct INT32->UINT32 mistmatch between NM and the panel applet
18890                         for the "getMode" method call
18891
18892 2005-01-10  Dan Williams <dcbw@redhat.com>
18893
18894         * src/NetworkManagerDevice.c
18895                 - Minor fixups & corrections to "auto" frequency mode, make it
18896                         less chatty with syslog
18897
18898 2005-01-10  Dan Williams <dcbw@redhat.com>
18899
18900         * src/NetworkManagerDevice.c
18901                 - Implement "auto" frequency/channel support, since cards like Atheros
18902                         can't use other frequencies at all when you've told it to use a
18903                         specific one, even for scanning.
18904                 - Grab the scan mutex around places where we can't tolerate wireless
18905                         settings changing underneath us, like nm_device_wireless_network_exists()
18906                         and nm_device_activate_wireless()
18907
18908         * src/NetworkManagerWireless.c
18909                 - Back scan interval off to 20s instead of 14s
18910
18911 2005-01-09  Dan Williams <dcbw@redhat.com>
18912
18913         * src/NetworkManagerDevice.c
18914                 - Don't set mode/freq/bitrate if that mode/freq/bitrate is
18915                         already set.  Stops some drivers like Atmel from continually
18916                         reloading the firmware, which they do upon every configuration
18917                         change.
18918
18919 2005-01-09  Dan Williams <dcbw@redhat.com>
18920
18921         * dhcpcd/client.c
18922                 - Use correct timeout value
18923
18924         * info-daemon/NetworkManagerInfoDbus.c
18925           src/NetworkManagerDbus.c
18926                 - Consolidate communication between NM and NMI by doing only 1 dbus
18927                         method call to get Wireless Network info from NMI instead of 6
18928
18929         * src/NetworkManager.c
18930                 - Make sure to cancel activation when we receive a SIGTERM, otherwise
18931                         when we didn't have an AP to use, we'd wait for one forever without
18932                         quitting
18933
18934         * src/NetworkManagerDevice.c
18935                 - nm_device_activation_cancel(): Fix a race between dhcp and quitting
18936                         activation, dhcp might not have started yet but we don't quit activation
18937                         before starting it, so the quit signal gets lost
18938
18939 2005-01-07  Dan Williams <dcbw@redhat.com>
18940
18941         * dhcpcd/client.c
18942                 - Rework the DHCP client code to be much less chatty when
18943                         it receives non-DHCP UDP packets during the DHCP run
18944                         (reported by and preliminary patches from Bill Moss)
18945
18946         * Move wireless scanning to a separate thread.  This thread forwards the
18947                 results to the main thread when done where they are integrated into
18948                 the device's access point lists.  This keeps the main thread (which
18949                 does all the DBUS communication) from being blocked for long periods
18950                 of time by wireless scanning.
18951
18952         * Make state modification an idle routine in the main loop, and trigger
18953                 state changes rather than polling for them.
18954
18955         * src/backends/NetworkManagerGentoo.c
18956                 - Fix up invalid C90 code (reported by Christoph Ruessler)
18957
18958         * src/NetworkManagerDevice.c
18959                 - Revert IPv6 patch for wired devices from 2004-12-22 for
18960                         router advertisements, causing problems and infinite loop
18961                         during "best" device determination due to link going up/down
18962                         (reported by Bill Moss)
18963
18964         Apply patch from Peter Jones
18965         * src/NetworkManagerDevice.c
18966                 - Shortcut for link-checking for ipw2x00 cards
18967                 - Split out association check into separate routine
18968
18969 2004-01-05  Colin Walters  <walters@redhat.com>
18970
18971         * named/named.conf: Add PID_FILE.
18972
18973         * named/nm-named-manager.c: Always generate a pid
18974         file, since older BIND versions don't support
18975         "pid-file none".
18976
18977 2005-01-01  Satoru SATOH <ss@gnome.gr.jp>
18978
18979         * configure.in (ALL_LINGUAS): Added ja (Japanese).
18980
18981 2004-12-22  Dan Williams <dcbw@redhat.com>
18982
18983         * src/NetworkManagerDevice.c
18984                 - Silently fail when setting bitrate doesn't work
18985
18986
18987         Patches from j@bootlab.org:
18988         * src/backends/NetworkManagerDebian
18989                 - Update backend to match functionality in RedHat backend
18990         * src/NetworkManagerDevice.c
18991                 - Take down then bring up wired devices after connection so
18992                 they send out ipv6 router advertisements
18993
18994 2004-12-21  Colin Walters  <walters@verbum.org>
18995
18996         * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_update_devices): Correctly
18997         test for NETWORK_MODE_ADHOC; spotted by: Greg <gonufer@gmail.com>.
18998
18999 2004-12-21  Colin Walters  <walters@redhat.com>
19000
19001         * configure.in: Correct named detection.
19002
19003 2004-12-21  Colin Walters  <walters@redhat.com>
19004
19005         * src/NetworkManager.c (nm_data_new): Initialize named.
19006         Also, set up a signal handler for SIGINT/SIGTERM, and exit
19007         the mainloop when these signals are received.
19008         (nm_data_free): Unref named.
19009         (sigterm_handler, sigterm_pipe_handler): New functions for
19010         exiting mainloop.
19011         
19012         * src/NetworkManagerMain.h (NMData): Add signal handling and
19013         nameserver bits.
19014
19015         * src/NetworkManager.c (nm_device_unref): Quit device mainloop on
19016         unref.
19017
19018         * src/NetworkManagerDHCP.c (set_nameservers): New function;
19019         set nameservers from DHCP response data.
19020         (set_domain_search): Set domain search from DHCP response.
19021         (nm_device_dhcp_configure): Invoke them.
19022
19023         * src/NetworkManagerSystem.c
19024         (nm_system_device_update_resolv_conf): Delete.  Deleting
19025         code is totally sweet.
19026
19027         * src/Makefile.am (NetworkManager_LDADD): Add libnamed.
19028
19029         * named/nm-named-manager.h, named/nm-named-manager.c: New files;
19030         implements an object which controls a nameserver.  Currently
19031         uses bind 9.
19032
19033         * configure.in: Check for named.
19034
19035         * Makefile.am (SUBDIRS): Add named dir.
19036
19037         * named/named.conf: New template config file.
19038
19039 2004-12-20  Colin Walters  <walters@redhat.com>
19040
19041         * src/NetworkManagerPolicy.c (nm_policy_get_best_device): Fix usage of '=='
19042         instead of '='.
19043
19044 2004-12-17  Dan Williams  <dcbw@redhat.com>
19045
19046         * Ad Ad-Hoc networking mode support.  In Ad-Hoc mode, we only try to get
19047                 link-local addresses instead of doing DHCP.
19048
19049         * In the panel applet, there's a new "Create new Wireless Network..." item
19050
19051         * The panel applet also sticks around now even if NetworkManager dies, but
19052                 it doesn't hide its icon when NM isn't around.  Not hiding the icon is
19053                 a bug, I'll fix that later.
19054
19055         * We also don't use 'nscd' anymore in the RH backend, it was impeding name
19056                 lookups after a switch rather than actually doing them.
19057
19058         * Clean up some of those warnings in nm_ap_list_* functions
19059
19060         * Delay between scans changed to 15s instead of 10s
19061
19062 2004-12-15  Dan Williams  <dcbw@redhat.com>
19063
19064         Patch from Tom Parker
19065         * Add autoip/Link Local Addressing support when we fail to get a DHCP
19066                 address
19067
19068         * Longer pause after setting ESSID on cards that support a larger number
19069                 of channels to give the card time to find the right channel
19070
19071         * Add system hook to restart mDNSResponder (or whatever the local implementation
19072                 of Multicast DNS is) when we activate interfaces
19073
19074 2004-12-15  Dan Williams  <dcbw@redhat.com>
19075
19076         * Rework the DHCP code again to revert to sending full ethernet frames
19077                 rather then relying on the kernel to do the right thing with our
19078                 packets.
19079
19080 2004-12-06  Dan Williams  <dcbw@redhat.com>
19081
19082         * dhcpcd/client.c
19083                 - Fix some minor errors in dhcp_handle_transaction() that caused
19084                         unexpected early timeouts of DHCP transactions
19085
19086         * dhcpcd/client.h
19087                 - DHCP retransmit time from 4s -> 5s
19088
19089 2004-12-05  Dan Williams  <dcbw@redhat.com>
19090
19091         * Major rework of the DHCP code, taking some cues from pump.  We don't
19092                 write raw Ethernet packets anymore, which simplifies the code quite
19093                 a bit.  The new code should be more robust, not hang in recvfrom()
19094                 as much, and generally work better.  This also means that we need
19095                 to force HAL/dbus to use a created GMainContext rather than the
19096                 default context, since having the DHCP renew/rebind thread using
19097                 its own GMainContext seemed to give dbus a fit.  There is also more
19098                 debugging information printed from the DHCP loop to help with future
19099                 problems.
19100
19101         * Also, if the DHCP server doesn't give us the "routersOnSubnet" option,
19102                 assume that the default gateway should be the DHCP server.
19103
19104         Patch from Matthew Schick <matt oss-institute org>
19105         * src/backends/NetworkManagerGentoo.c
19106                 - Fix compilation error due to missing "ip4_broadcast"
19107
19108 2004-12-03  Dan Williams  <dcbw@redhat.com>
19109
19110         * initscript/Makefile.am
19111         * initscript/Debian/NetworkManager
19112         * initscript/Gentoo/NetworkManager
19113         * initscript/RedHat/NetworkManager
19114         * initscript/NMLaunchHelper.c
19115                 - Remove NMLaunchHelper, if you need to wait until the network
19116                         comes up, use the dead code from CVS.
19117
19118 2004-12-01  Colin Walters  <walters@redhat.com>
19119         
19120         * configure.in: Suck in gcc warnings code from Rhythmbox,
19121         but use fewer default flags, and in particular add -Wno-unused,
19122         since the codebase has a lot of unused variables.
19123
19124         * test/nmtestdevices.c (create_device): 
19125         * test/nminfotest.c (get_network_string_property) 
19126         (get_networks_of_type): 
19127         * test/nmclienttest.c (main): 
19128         * src/NetworkManagerDbus.c (nm_dbus_create_error_message): 
19129         * initscript/NMLaunchHelper.c (get_nm_status): 
19130         * info-daemon/NetworkManagerInfoPassphraseDialog.c (update_button_cb): 
19131         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_create_error_message): 
19132         Fix declarations after statements.
19133
19134 2004-12-01  Colin Walters  <walters@redhat.com>
19135
19136         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_return_vpn_password): New method.
19137         (nmi_dbus_get_vpn_userpass): New method.
19138         (nmi_dbus_nmi_message_handler): Invoke it.
19139
19140         * info-daemon/NetworkManagerInfoDbus.h (nmi_dbus_return_vpn_password): Prototype.
19141
19142         * info-daemon/NetworkManagerInfoVPN.h,
19143         info-daemon/NetworkManagerInfoVPN.c: New files; responds
19144         to requests for VPN passwords.
19145
19146         * configure.in (GNOME_KEYRING_LIBS): Check for gnome-keyring.
19147
19148 2004-12-01  Colin Walters  <walters@redhat.com>
19149
19150         * test/nmtestdevices.c, test/nmclienttest.c: Add missing
19151         includes.
19152
19153 2004-12-01  Colin Walters  <walters@redhat.com>
19154
19155         * panel-applet/NMWirelessAppletDbus.c
19156         (nmwa_dbus_update_active_device_strength): Fix missing
19157         return value.
19158
19159 2004-12-01  Colin Walters  <walters@redhat.com>
19160
19161         * panel-applet/NMWirelessApplet.c: Add missing include.
19162
19163 2004-12-01  Colin Walters  <walters@redhat.com>
19164
19165         * src/NetworkManagerWireless.c (nm_wireless_qual_to_percent):
19166         Remove useless CLAMP (); the value is unsigned, and the case tests
19167         qual->qual < 100, so the value must always be between 0 and 100.
19168
19169 2004-12-01  Colin Walters  <walters@redhat.com>
19170
19171         * dhcpcd/buildmsg.c, dhcpcd/dhcp_test.c: Add missing includes.
19172
19173 2004-11-22  Colin Walters  <walters@verbum.org>
19174
19175         * src/backends/NetworkManagerRedHat.c (nm_system_update_dns): Run
19176         "nscd -i hosts" to invalidate the host cache instead of restarting nscd,
19177         which is essentially a noop since nscd caches hosts on disk too.
19178         
19179 2004-11-22  Colin Walters  <walters@redhat.com>
19180
19181         * src/Makefile.am (NetworkManager_SOURCES): Add
19182         NetworkManagerDevicePrivate.h.
19183
19184 2004-11-22  Dan Williams <dcbw@redhat.com>
19185
19186         * src/NetworkManagerDevicePrivate.h
19187                 - Split out the NMDevice struct to a different file so that stuff like
19188                         NetworkManagerDHCP.c and NetworkManagerSystem.c can use it
19189
19190         * dhcpcd/client.c
19191                 - fprintf->syslog
19192                 - (dhcpSendAndRecv): do non-blocking sends and receives, and check to see if we
19193                         need to cancel the dhcp request during the send and recv
19194
19195         * dhcpcd/client.h
19196                 - Move the DHCP option enum to dhcpcd.h
19197
19198         * src/NetworkManagerDHCP.c
19199                 - Split out the actual IP/netmask/etc setting code
19200                 - New Renew/Rebind functions
19201                 - New timer setup function for renew/rebind operations
19202
19203         * src/NetworkManagerDevice.c
19204                 - For device activation, if we are using DHCP then keep the activation thread
19205                         alive until device deactivation.  We need to renew/rebind the DHCP address
19206                         after the T1 (renew) and T2 (rebind) times have expired.
19207                 - Increase some timeouts after bringing wireless cards up/down
19208
19209 2004-11-17  Dan Williams <dcbw@redhat.com>
19210
19211         * Cache access point MAC addresses in NetworkManagerInfo after you've explicitly
19212                 connected to them.  Then, after a scan, match up non-ESSID-broadcasting access
19213                 points with any cached MAC addresses from NetworkManagerInfo.  Allows us to
19214                 show known access points that don't broadcast their ESSID in the menus without
19215                 any user intervention whatsoever.
19216
19217         * info-daemon/NetworkManagerInfoDbus.c
19218                 - (nmi_dbus_get_network_addresses, nmi_dbus_add_network_address): new functions
19219                         for dbus method calls "getNetworkAddresses" and "addNetworkAddress"
19220
19221         * src/NetworkManagerAP.[ch]
19222                 - Add a "user_addresses" data member to the NMAccessPoint structure
19223                 - (nm_ap_get_user_addresses, nm_ap_set_user_addresses): new functions for accessing
19224                         the user_addresses data member
19225
19226         * src/NetworkManagerAPList.c
19227                 - (nm_ap_list_get_ap_by_address): check user_addresses list too, instead of just
19228                         the AP's reported address
19229                 - (nm_ap_list_update_network): grab the user_addresses list from NetworkManagerInfo
19230
19231         * src/NetworkManagerDHCP.c
19232                 - Increase DHCP timeout from 25s -> 30s
19233
19234         * src/NetworkManagerDbus.[ch]
19235                 - (nm_dbus_get_network_addresses, nm_dbus_add_network_address): have NMI get/set
19236                         user addresses
19237
19238         * src/NetworkManagerDevice.c
19239                 - (nm_device_set_wireless_config): bring down the interface, wait 4s, bring it up,
19240                         wait 2s, then configure it.  Sometimes Prism54 cards will freeze up with
19241                         "mgnt tx queue full", seemingly in response to NM controlling the card too much.
19242                         So, we take the card down to clear it out.
19243                 - (nm_device_do_normal_scan): Copy over AP ESSIDs from the allowed access point list
19244                         too, since that's where the user_addresses are
19245
19246         * src/NetworkManagerPolicy.c
19247                 - (nm_state_modification_monitor): Tell NMI to add an AP's hardware address to
19248                         that wireless networks' user_addresses list upon successful activation
19249
19250 2004-11-16  Dan Williams <dcbw@redhat.com>
19251
19252         * src/NetworkManagerDevice.[ch]
19253                 - (nm_device_clear_activation_fail): new function
19254
19255         * src/NetworkManagerPolicy.c
19256                 - (nm_state_modification_monitor): clear the activation_failed flag on devices
19257                         when we've dealt with the failure so the user doesn't get failure-dialog-spammed
19258
19259 2004-11-16  Dan Williams <dcbw@redhat.com>
19260
19261         * src/NetworkManagerDevice.c
19262                 - (nm_device_activate_wireless): Unref best_ap upon success so we don't
19263                         leak the structure, better updating of now_scanning status
19264                 - (nm_device_wireless_network_exists): Rewrite for better/faster checking
19265
19266 2004-11-15  Dan Williams <dcbw@redhat.com>
19267
19268         Major rework of link detection code.  We now use DHCP
19269         as part of the link detection which proves to be much more robust,
19270         and also supports Open System authentication for wireless networks.
19271
19272         We no longer use external DHCP client programs.  Instead, we use 
19273         our own DHCP client, based on substantially reworked bits of 'dhcpcd'
19274         which was written by:
19275                 Yoichi Hariguchi <yoichi@fore.com>
19276                 Sergei Viznyuk <sv@phystech.com>
19277                 http://www.phystech.com/download/
19278         It resides in the "dhcpcd" directory and was refactored into a general
19279         purpose DHCP client library by me.
19280
19281         Also misc fixes (CPPFLAGS->AM_CPPFLAGS, move some stuff around),
19282         move src/backends/NetworkManagerSystem.h -> src/NetworkManagerSystem.h
19283
19284 2004-11-15  Dan Williams <dcbw@redhat.com>
19285
19286         Patch from Tom Parker <palfrey@tevp.net>:
19287
19288         * src/NetworkManagerDevice.c
19289                 - Less output to console when no access
19290                         points are found during a scan
19291
19292 2004-11-15  Dan Williams <dcbw@redhat.com>
19293
19294         Patch from Tom Parker <palfrey@tevp.net>:
19295
19296         * src/backends/interface_parser.c
19297                 - Use g_strdup ()
19298                 - Check for inp == NULL
19299                 - use syslog ()
19300
19301 2004-11-13  Colin Walters  <walters@redhat.com>
19302
19303         Patch from Tom Parker <palfrey@tevp.net>:
19304
19305         * src/Makefile.am (CPPFLAGS): Switch to AM_CPPFLAGS.
19306         
19307         * src/backends/NetworkManagerRedHat.c: Switch to
19308         including shvar.h instead of shvar.c.
19309
19310         * src/backends/NetworkManagerDebian.c: Don't include
19311         interface_parser.c in source file.
19312
19313         (libnmbackend_la_SOURCES): Don't include shvar.[ch]
19314         and interface_parser.[ch].
19315         * src/Makefile.am (libnmbackend_la_SOURCES) <TARGET_REDHAT>:
19316         Include shvar.c and shvar.h here.
19317         (libnmbackend_la_SOURCES) <TARGET_DEBIAN>: Include
19318         interface_parser.c and interface_parser.h here.
19319
19320 2004-11-12  Colin Walters  <walters@redhat.com>
19321
19322         * configure.in: Strip out TARGET_DISTRO and
19323         SYSTEM_BACKEND_FILE variables.  Switch to Automake
19324         conditionals.
19325
19326         * src/Makefile.am (noinst_LTLIBRARIES): Add libnmbackend.la.
19327         (libnmbackend_la_SOURCES): Use Automake conditionals
19328         to add distro-specific files.
19329
19330         * initscript/Makefile.am (SUBDIRS): Update to
19331         use conditionals.
19332
19333 2004-11-12  Colin Walters  <walters@redhat.com>
19334
19335         Patches from j bootlab org
19336
19337         * src/Makefile.am (EXTRA_NetworkManager_SOURCES): 
19338         Add interface_parser.[ch].
19339
19340         * src/backends/NetworkManagerDebian.c (nm_system_device_run_dhcp): Invoke
19341         dhclient with "-lf /var/lib/dhcp/dhclient-%s.leases".
19342
19343 2004-11-12  Colin Walters  <walters@redhat.com>
19344
19345         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_service_init): Delete
19346         call to nmi_dbus_is_running too, not necessary anymore.
19347         * info-daemon/NetworkManagerInfoDbus.c: Include stdlib.h to
19348         pick up exit().
19349
19350 2004-11-11  Colin Walters  <walters@verbum.org>
19351
19352         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_is_running):
19353         Delete.
19354         (nmi_dbus_service_init): Call dbus_bus_acquire_service with
19355         the DBUS_SERVICE_FLAG_PROHIBIT_REPLACEMENT flag, and
19356         then check the result for DBUS_SERVICE_REPLY_SERVICE_EXISTS.
19357         This avoids a race condition that made it pretty easily
19358         possible to get two NetworkManagerInfo daemons running.
19359
19360 2004-11-11  Colin Walters  <walters@verbum.org>
19361         
19362         * src/NetworkManager.c (main): Use daemon(3).
19363
19364         * info-daemon/NetworkManagerInfo.c (main): Ditto.
19365
19366         * dispatcher-daemon/NetworkManagerDispatcher.c (main): Ditto.
19367
19368 2004-11-10 Dan Williams <dcbw@redhat.com>
19369
19370         Patches from j bootlab org
19371         * src/NetworkManagerDevice.c
19372                 - (nm_device_activate_wireless): wait 5 seconds before attempting to detect
19373                         whether the card has a link or not, some cards are slow
19374                 - (nm_device_activation_configure_ip): make ipv6 work a bit better
19375
19376         * info-daemon/NetworkManagerInfoPassphraseDialog.c
19377                 - Disable the "Login" button on the passphrase dialog until the user
19378                         enters a valid passphrase or key
19379
19380         Patches from Tom Parker <palfrey tevp net>
19381         * src/backends/NetworkManagerDebian.c
19382                 - Add static IP support to the debian backend
19383
19384         * src/backends/interface_parser.[ch]
19385                 - Parse debian interface config files
19386
19387 2004-11-08 Dan Williams <dcbw@redhat.com>
19388
19389         * src/NetworkManagerDevice.c
19390                 - Some random fprintf->syslog conversions
19391                 - (nm_device_wireless_network_exists): double-check for network
19392                 - (nm_device_find_and_use_essid): Copy over encryption key no matter what
19393
19394         * src/NetworkManagerWireless.[ch]
19395                 - (nm_wireless_[128|64]bit_ascii_to_hex): make "ascii" argument unsigned again
19396                         so that the binary->ascii conversion works (if unsigned, the bitshift
19397                         will fill with zeros, which is what's required).  Also mask bitshift
19398                         result with 0xF for futher assurance.
19399
19400 2004-11-06 Dan Williams <dcbw@redhat.com>
19401
19402         * src/NetworkManagerUtils.c
19403                 - (nm_get_wireless_driver_support_level): default to
19404                         FULLY_SUPPORTED rather than UNSUPPORTED, forgot to
19405                         flip this when changing from whitelist->blacklist of
19406                         wireless drivers
19407
19408 2004-11-05 Dan Williams <dcbw@redhat.com>
19409
19410         Patch from Robert Paskowitz:
19411         * src/backends/NetworkManagerGentoo.c
19412                 - Update static IP config code
19413
19414 2004-11-05 Dan Williams <dcbw@redhat.com>
19415
19416         * info-daemon/NetworkManagerInfoDbus.c
19417           src/NetworkManagerDbus.[ch]
19418           src/NetworkManagerDevice.c
19419                 - Keep track of the # of attempts to get the WEP key
19420                         from the user and pass that along to the info daemon
19421
19422 2004-11-05 Dan Williams <dcbw@redhat.com>
19423
19424         * src/NetworkManagerUtils.c
19425                 - Blacklist wireless cards rather than whitelisting them.
19426                 - Grab driver name from HAL rather than trying to find it
19427                         ourselves.
19428
19429 2004-11-03 Dan Williams <dcbw@redhat.com>
19430
19431         * panel-applet/NMWirelessAppletOtherNetworkDialog.c,
19432                 - Disable OK button until valid data is entered
19433                         for encryption stuff too
19434
19435         * panel-applet/NMWirelessApplet.c
19436                 - Report card strength for current AP if the card
19437                         doesn't report strength data for scanned access
19438                         points
19439
19440         * src/NetworkManagerDevice.c
19441                 - Smooth out cards reported quality, Atmel card was
19442                         intermittently reporting no quality data but soon
19443                         recovers
19444
19445         * src/NetworkManagerWireless.c
19446                 - Better quality data percentage calculation.  Atmel
19447                         cards (mine at least) seem to report the quality
19448                         in percentage format already, so honor that
19449
19450         Patch from <j@bootlab.org>
19451         * NetworkManager.h
19452           info-daemon/NetworkManagerInfoPassphraseDialog.c
19453           info-daemon/passphrase.glade
19454           panel-applet/NMWirelessAppletOtherNetworkDialog.c
19455           panel-applet/essid.glade
19456           src/NetworkManagerAP.c
19457           src/NetworkManagerDevice.c
19458           src/NetworkManagerWireless.[ch]
19459                 - Support ASCII WEP keys, in both 40/64 bit and 104/128 bit
19460
19461 2004-11-03 Dan Williams <dcbw@redhat.com>
19462
19463         * src/NetworkManagerDevice.[ch]
19464                 - (nm_device_set_enc_key): Add parameter to set Authentication
19465                         Mode (Open System, Shared Key, or None).  We're still using
19466                         Shared Key for now though.
19467
19468 2004-11-02  Bryan Clark  <clarkbw@cvs.gnome.org>
19469
19470         * panel-applet/menu-info.c: change from bold text to light
19471         colored, may cause problems with some themes, i've tested a lot
19472         and they seem fine. 
19473
19474         * panel-applet/NMWirelessApplet.c: fix strength tooltip
19475
19476 2004-11-01  Colin Walters  <walters@verbum.org>
19477
19478         * src/NetworkManagerWireless.h, src/NetworkManagerWireless.c
19479         (nm_wireless_128bit_key_from_passphrase): Add const.
19480
19481         * src/NetworkManagerAP.h, src/NetworkManagerAP.c
19482         (nm_ap_set_enc_key_source): Add const.
19483         
19484 2004-11-01  Colin Walters  <walters@verbum.org>
19485
19486         * .cvsignore: Update.
19487
19488 2004-10-29 Dan Williams <dcbw@redhat.com>
19489
19490         * src/NetworkManagerDevice.c
19491                 - (nm_device_wireless_network_exists): Actually use the encryption
19492                         key we got from the applet when attempting to find a wireless network
19493                 - Don't bring devices down so much since on some cards it triggers
19494                         firmware hotplugs each time
19495
19496         * src/NetworkManagerDbus.c
19497                 - (nm_dbus_nm_set_active_device): free the passphrase we may have gotten
19498                         from the caller
19499
19500 2004-10-29 Dan Williams <dcbw@redhat.com>
19501
19502         * src/NetworkManager.c
19503                 - (nm_hal_device_property_modified): unlock a locked active
19504                         wireless device when a wired connection gets a link.
19505                         (Means you'll switch to wired whenever you plug in no
19506                         matter what).
19507
19508 2004-10-29 Dan Williams <dcbw@redhat.com>
19509
19510         * panel-applet/NMWirelessAppletOtherNetworksDialog.[ch]
19511                 - New files, implement the "Other wireless network" dialog
19512
19513         * panel-applet/NMWirelessApplet.c
19514                 - Move "other wireless network" dialog to separate file
19515
19516         * panel-applet/NMWirelessAppletDbus.[ch]
19517                 - Take key and key_type paramaters for the set_device function
19518
19519         * panel-applet/essid.glade
19520                 - Add UI bits for encryption settings
19521
19522         * src/NetworkManagerDbus.c
19523                 - Retrieve key and key_type params for "setActiveDevice" method call
19524                         and pass them on
19525                 - unref AP returned from nm_device_get_best_ap() when needed
19526
19527         * src/NetworkManagerDevice.c
19528                 - (nm_device_get_best_ap): ref the ap before returning it
19529                 - unref AP returned from nm_device_get_best_ap() when needed
19530                 - (nm_device_activate_wireless): add "ap" parameter so we don't
19531                         need to call nm_device_get_best_ap() here, it was pretty much
19532                         redundant anyway
19533                 - (AP_NEED_KEY): break second link check condition out into separate
19534                         function, and fix segfault when ap->enc_key_source was NULL
19535                 - (nm_device_find_and_use_essid): take key and key_type parameters and
19536                         pass them along to nm_device_wireless_network_exists().  If the
19537                         network does exist, set the passed-in key+key_type on the AP
19538
19539         * src/NetworkManagerPolicy.c
19540                 - unref AP returned from nm_device_get_best_ap() when needed
19541
19542 2004-10-28 Dan Williams <dcbw@redhat.com>
19543
19544         * src/NetworkManagerUtils.c
19545                 - (nm_spawn_process): Fix a potential dereference of NULL
19546
19547         Patches from Peter Jones:
19548
19549         * src/NetworkManagerDevice.c
19550                 - (nm_device_test_wireless_extensions): Better check for
19551                         wireless devices
19552
19553         * src/NetworkManagerUtils.c
19554                 - (nm_spawn_process): Pass in valid stdout and stderr so
19555                         executed programs don't randomly SIGPIPE and fail
19556                 - (nm_get_wired_driver_support_level): quash hal warning
19557                         when checking for USB ethernet device
19558
19559 2004-10-27 Dan Williams <dcbw@redhat.com>
19560
19561         * info-daemon/NetworkManagerInfo.c
19562           info-daemon/NetworkManagerInfoDbus.c
19563           info-daemon/NetworkManagerInfoPassphraseDialog.c
19564           panel-applet/NMWirelessApplet.c
19565                 - Properly escape gconf keys
19566
19567         * src/NetworkManager.c
19568                 - remove unused variables
19569
19570         * src/NetworkManagerAP.c
19571                 - (nm_ap_new_from_ap): Don't redundantly set new APs
19572                         refcount since it got set in nm_ap_new()
19573
19574         * src/NetworkManagerAPList.c
19575                 - (nm_ap_list_combine): Give up ownership of newly created
19576                         access points to the ap list, fixes memleak
19577
19578         * src/NetworkManagerDevice.c
19579                 - Remove cached_ap_list4 member since its not really needed
19580                 - (nm_device_wireless_network_exists): Try to get correct
19581                         encryption status of a found AP if its already in our
19582                         device list
19583                 - (nm_device_do_normal_scan): Clean up scanning a bit, make
19584                         memory allocs/deallocs a bit clearer and shorter-lived
19585
19586 2004-10-26 Ray Strode <rstrode@redhat.com>
19587
19588         * panel-applet/NMWirelessApplet.c:
19589           (custom_essid_item_selected):  kill some compiler
19590         warnings 
19591
19592 2004-10-26 John (J5) Palmieri <johnp@redhat.com>
19593
19594         * info-daemon/NetworkManagerInfoDbus.c
19595                 - (nmi_dbus_is_running): New function for determining if nmi is already running
19596                 - (nmi_dbus_service_init): exit if another instance of nmi is already running
19597
19598 2004-10-23 Dan Williams <dcbw@redhat.com>
19599
19600         * info-daemon/NetworkManagerInfoDbus.c
19601                 - Trap the "DeviceActivationFailed" signal
19602
19603         * docs/NetworkManager DBUS API.txt
19604                 - Add "DeviceActivationFailed" signal
19605
19606         * panel-applet/NMWirelessAppletDbus.c
19607                 - Quash the "NetworkManager service not available" message
19608
19609         * src/NetworkManagerDbus.[ch]
19610                 - Add the "DeviceActivationFailed" signal
19611
19612         * src/NetworkManagerDevice.c
19613                 - Add support for activation_failed flag
19614                 - Fix deadlock where activation thread didn't clean itself up, making
19615                         main thread still believe it was alive forever (didn't reset activation
19616                         flags like activating, just_activated, etc when IP configuration
19617                         failed)
19618
19619         * src/NetworkManagerPolicy.c
19620                 - Implement logic for DeviceActivationFailed signal, and when activation fails
19621                         for wireless networks, try to fall back to some other access point
19622
19623 2004-10-23 Dan Williams <dcbw@redhat.com>
19624
19625         * panel-applet/NMWirelessApplet.[ch]
19626                 - Place the GtkMenuBar inside a GtkEventBox, and add the Event Box
19627                         to the applet object, so we can get tooltips
19628                 - Add tooltips (RH #136866)
19629
19630         * src/NetworkManagerDevice.c
19631                 - When trying to find a wireless network, try to connect with encryption
19632                         turned on first, so that we can more accurately detect whether or not
19633                         we need to use encryption for the actual association later on
19634
19635 2004-10-21 Dan Williams <dcbw@redhat.com>
19636
19637         * Add some support for telling NetworkManagerInfo to tell the user
19638                 that they are using a device that's not fully supported
19639
19640         * Fix some assertions in debug messages due to null access point args
19641
19642 2004-10-21 Dan Williams <dcbw@redhat.com>
19643
19644         * src/NetworkManagerDevice.c
19645                 - Don't try to activate/bring up/down unsupported
19646                         devices
19647
19648         * src/NetworkManagerUtils.c
19649                 - Fix case of PCI ID checks for driver support levels
19650
19651 2004-10-21 Dan Williams <dcbw@redhat.com>
19652
19653         * NetworkManager.h
19654                 - New file, now contains commonly used structures and bits
19655                         for the dbus API of NetworkManager
19656
19657         * Makefile.am
19658                 - Deliver NetworkManager.h to ${includedir}/NetworkManager
19659
19660         * src/NetworkManager.h
19661                 - Rename -> src/NetworkManagerMain.c
19662
19663         * Various fixups all around to use NetworkManager.h and new
19664                 src/NetworkManagerMain.h, remove redundant bits that got
19665                 moved into NetworkManager.h
19666
19667         * src/NetworkManagerDevice.[ch]
19668           src/NetworkManagerUtils.[ch]
19669           src/NetworkManagerPolicy.c
19670           src/NetworkManagerDbus.c
19671                 - Whitelist wireless drivers, and blacklist some wired
19672                         drivers.  Also blacklist cipsec and ethernet-over-usb
19673                         devices at this time (RH #135722, RH #135648)
19674                 - Don't leak unsupported devices out over dbus, or allow
19675                         them to be set as the active device.  Skip over them
19676                         during automatic device picking
19677
19678         * test/nmclienttest.c
19679                 - Clean up the dbus code a lot
19680
19681 Tue Oct 19 14:20:29 2004  Jonathan Blandford  <jrb@redhat.com>
19682
19683         * configure.in: post release bump.
19684
19685 Tue Oct 19 14:19:24 2004  Jonathan Blandford  <jrb@redhat.com>
19686
19687         * configure.in:
19688         * NEWS: Released NetworkManager-0.3.1
19689
19690 2004-10-18 Dan Williams <dcbw@redhat.com>
19691
19692         Patches from Thom May:
19693         * test/nmtestdevices.c
19694                 - Include <string.h>
19695         * src/backends/NetworkManagerDebian.c:
19696                 - (nm_system_device_run_dhcp, nm_system_device_stop_dhcp)
19697                         (nm_system_device_flush_routes, nm_system_device_flush_addresses)
19698                         Move to using g_strdup_printf rather than arbitrary buffers
19699                 - (nm_system_device_setup_static_ip4_config) Implement function.
19700                 - (nm_system_kill_all_dhcp_daemons) Use killall -q rather than killall
19701
19702 2004-10-17 Dan Williams <dcbw@redhat.com>
19703
19704         * info-daemon/NetworkManagerInfoDbus.c
19705                 - Display name of network in the "network not found" dialog
19706
19707         * panel-applet/NMWirelessAppletDbus.c
19708                 - (nmwa_dbus_call_nm_method): new function replaces all other
19709                         nmwa_dbus_get_[string|string_array|int|boolean] methods
19710                 - nmwa_dbus_get_network_name() and nmwa_dbus_get_device_name()
19711                         consolidated into nmwa_dbus_get_object_name()
19712
19713 2004-10-15 Dan Williams <dcbw@redhat.com>
19714
19715         * src/NetworkManagerDbus.c
19716           info-daemon/NetworkManagerInfoDbus.c
19717                 - Display an error dialog when the user tries to use an
19718                         "Other wireless network" that's not found.
19719
19720 2004-10-15 Dan Williams <dcbw@redhat.com>
19721
19722         * panel-applet/NMWirelessApplet.[ch]
19723                 - Fix up corner cases in applet state, making it
19724                         look more responsive.  Change state to "connecting" when
19725                         the user is forcing a device too.
19726
19727 2004-10-15 Dan Williams <dcbw@redhat.com>
19728
19729         * src/NetworkManagerAPList.c
19730                 - (nm_ap_list_update_network): Disown AP after the list takes ownership
19731
19732         * src/NetworkManagerDbus.c
19733                 - (nm_dbus_nm_set_active_device): Simplify the device setting logic
19734
19735         * src/NetworkManagerDevice.c
19736                 - Disown APs after the device's AP list takes ownership
19737
19738 2004-10-15 Dan Williams <dcbw@redhat.com>
19739
19740         * panel-applet/NMWirelessApplet.c
19741                 - Update our applet state from the GUI thread
19742
19743         * panel-applet/NMWirelessAppletDbus.c
19744                 - Greatly simplify the locking to make the GUI thread
19745                         smoother.  Update a private copy of the device list
19746                         and active device and only when done talking to
19747                         NetworkManager turn it over to the GUI thread.
19748
19749 2004-10-15 Dan Williams <dcbw@redhat.com>
19750
19751         * src/NetworkManagerAP.[ch]
19752                 - Add "artificial" get/set functions, set for APs that
19753                         aren't discovered as part of a scan but instead
19754                         discovered by force-setting the ESSID
19755
19756         * src/NetworkManagerDevice.[ch]
19757                 - (nm_device_wireless_network_exists): pass back whether
19758                         or not the discovered AP was encrypted.  Also, try
19759                         falling back to encrypted mode on the card if unencrypted
19760                         association doesn't work
19761                 - (nm_device_find_and_use_essid): If the network requested
19762                         did in fact exists, but it wasn't in our scan list, add
19763                         an "artificial" entry for it.  Some Cisco cards don't
19764                         see non-ESSID-broadcasting APs in their scan but can still
19765                         associate with them if you know the ESSID, this works around
19766                         that behavior
19767                 - (nm_device_do_normal_scan): Carry "artificial" APs over from scan
19768                         to scan if the card is currently associated with that AP
19769
19770 2004-10-15 Dan Williams <dcbw@redhat.com>
19771
19772         ---- We have a website ----
19773         http://people.redhat.com/dcbw/NetworkManager
19774
19775         Patch from Robert Paskowitz:
19776         * src/NetworkManager.c
19777                 - (main): Make sure we are run as root
19778         * src/NetworkManagerDevice.c
19779                 - Fix type in ad-hoc setting function
19780
19781         Patch from Thom May:
19782         * src/backends/NetworkManagerDebian.c
19783                 - Make Debian backend compile again
19784
19785 2004-10-14 Dan Williams <dcbw@redhat.com>
19786
19787         * Tagged NetworkManager-0_3
19788
19789 2004-10-14 Dan Williams <dcbw@redhat.com>
19790
19791         Patch from Robert Paskowitz:
19792         * NEWS
19793           src/NetworkManagerDevice.[ch]
19794           src/backends/NetworkManagerDebian.c
19795           src/backends/NetworkManagerGentoo.c
19796           src/backends/NetworkManagerRedHat.c
19797           src/backends/NetworkManagerSlackware.c
19798                 - Add support for grabbing and using a broadcast address
19799                         from system config files
19800                 - Some Gentoo backend fixes for grabbing network config
19801                 - Fix LOG_WARN->LOG_WARNING
19802
19803 2004-10-14 Dan Williams <dcbw@redhat.com>
19804
19805         * NEWS: a few small fixes in the credits
19806
19807 Thu Oct 14 19:12:58 2004  Jonathan Blandford  <jrb@redhat.com>
19808
19809         * NEWS: prep for release.
19810
19811 Thu Oct 14 16:47:12 2004  Jonathan Blandford  <jrb@redhat.com>
19812
19813         * panel-applet/NMWirelessAppletDbus.c
19814         (nmwa_dbus_update_device_wireless_networks): remove warnings.
19815
19816 Thu Oct 14 16:40:39 2004  Jonathan Blandford  <jrb@redhat.com>
19817
19818         * panel-applet/NMWirelessApplet.c (animation_timeout): Make
19819         applet->state == APPLET_STATE_NO_NM animation.
19820
19821         * panel-applet/NMWirelessApplet.c (custom_essid_item_selected):
19822         set the text correctly.
19823
19824 2004-10-14 Dan Williams <dcbw@redhat.com>
19825
19826         * src/NetworkManager.c
19827                 - Only accept and manager 802.3 and 802.11 devices
19828
19829         * src/NetworkManagerDbus.[ch]
19830                 - (nm_dbus_nm_set_active_device): move most of the actual activation
19831                         logic into NetworkManagerDevice.c
19832                 - (nm_dbus_network_status_from_data): new function
19833                 - (nm_dbus_signal_network_status_change): new function, unused for now
19834                 - (nm_dbus_nm_message_handler): use nm_dbus_network_status_from_data () now
19835
19836         * src/NetworkManagerDevice.[ch]
19837                 - (nm_device_find_and_use_essid): new function.  Search for, and if found use,
19838                         a random ESSID.
19839
19840 2004-10-14 John (J5) Palmieri <johnp@redhat.com>
19841
19842         * info-daemon/NetworkManagerInfo.c 
19843                 - (main): Added session management
19844
19845 2004-10-14 Dan Williams <dcbw@redhat.com>
19846
19847         * panel-applet/NMWirelessAppletDbus.[ch]
19848                 - Expose network_device_[un]ref()
19849                 - Expose wireless_network_[un]ref()
19850                 - (wireless_network_new_with_essid): new function, create and return
19851                         a wireless network with a particular essid
19852
19853         * panel-applet/NMWirelessApplet.c
19854                 - Hook up the "other network" dialog to do something
19855
19856 Wed Oct 13 19:31:53 2004  Jonathan Blandford  <jrb@redhat.com>
19857
19858         * panel-applet/NMWirelessApplet.c: Add an essid dialog.  It
19859         doesn't work yet, but it looks okay.
19860
19861         * panel-applet/icons/*png: Resize to 22x22 and install in the
19862         right place.
19863
19864 2004-10-13 Dan Williams <dcbw@redhat.com>
19865
19866         * panel-applet/NMWirelessApplet.c
19867                 - Add function to print out applet_state in a readable
19868                         manner
19869
19870         * src/NetworkManager.c
19871                 - (main): Don't segfault when nm_dbus_init() fails, we had
19872                         a left-over call to hal_shutdown() into which we passed NULL
19873
19874         * src/NetworkManagerAP.c
19875                 - (nm_ap_set_essid): Allow NULL essids
19876
19877         * src/NetworkManagerAPList.[ch]
19878                 - More use of nm_ap_list_[un]lock ()
19879                 - (nm_ap_list_get_ap_by_essid): don't warn when looking for a NULL
19880                         network/essid, just return nothing.  Also skip over NULL
19881                         essid access points in the list when searching
19882                 - (nm_ap_list_get_ap_by_address): new function
19883                 - (nm_ap_list_update_network): set the access point's key source to
19884                         NULL when the key returned from NetworkManagerInfo is NULL or
19885                         of 0 length
19886                 - nm_ap_list_update_keys() -> nm_ap_list_update_properties(), and
19887                         copy timestamp over too
19888                 - (nm_ap_list_copy_essids_by_address): new function, attempt to
19889                         find the correct ESSID for a blank-essid access point by searching
19890                         through another list and matching access point MAC addresses
19891                 - (nm_ap_list_diff): exclude blank-essid access points from the diffs
19892
19893         * src/NetworkManagerDbus.c
19894                 - (nm_dbus_nm_set_active_device): deal with random networks the user
19895                         may specify.  This is mainly for access points that don't
19896                         broadcast their essid.  So if the user tells us to associate with
19897                         some random ESSID that's not in our access point list, we find
19898                         out if the access point does in fact exist (by attempting association
19899                         and then matching that access point's MAC address with the essid the
19900                         user gave us) and then we switch to it.
19901                 - (nm_dbus_devices_handle_request): don't add blank-essid access points
19902                         to the returned list of networks for the "getNetworks" method
19903
19904         * src/NetworkManagerDevice.[ch]
19905                 - Extra debugging info for link detection
19906                 - (nm_device_ap_list_get_ap_by_address): new function, return an AP
19907                         based on MAC address
19908                 - (nm_device_get_path_for_ap): ignore blank-essid access points
19909                 - (nm_device_wireless_network_exists): new function, find out whether
19910                         a random ESSID exists by attempting to associate with it
19911                 - (nm_device_do_normal_scan): allow blank-essid access points in our
19912                         device list as long as they have an AP MAC address we can use.
19913                         Also send WirelessNetwork[Dis]Appeared signals for non-active
19914                         devices too.  Lets the applet update more frequently.
19915
19916         * src/backends/NetworkManagerGentoo.c
19917                 - Patch from: Robert Paskowitz
19918                         - Update backend code for Gentoo
19919                         - Implement nm_system_device_update_config_info ()
19920
19921         * test/nmclienttest.c
19922                 - (set_network_device): new function, takes a command-line argument
19923                         and tells NetworkManager to use that wireless network
19924
19925 Wed Oct 13 John (J5) Palmieri <johnp@redhat.com>
19926
19927         * info-daemon/NetworkManagerInfo.c (nmi_spawn_notification_icon): Stop respawning
19928         if the notification icon crashes 5 times within 5 seconds of each respawn 
19929
19930 Tue Oct 12 22:53:04 2004  Jonathan Blandford  <jrb@redhat.com>
19931
19932         * panel-applet/NMWirelessApplet.c (nmwa_update_state): remove
19933         g_print.
19934
19935 Tue Oct 12 22:44:15 2004  Jonathan Blandford  <jrb@redhat.com>
19936
19937         * panel-applet/NMWirelessApplet.h: Change the name of the icons.
19938
19939         * panel-applet/NMWirelessApplet.c: (animation_timeout),
19940         (nmwa_update_state), (nmwa_destroy), (nmwa_setup_widgets),
19941         (nmwa_icons_free), (nmwa_icons_load_from_disk), (nmwa_icons_init):
19942         Change the name of the icons.
19943
19944         * panel-applet/menu-info.c: (nm_menu_wired_class_init),
19945         (nm_menu_wired_expose_event), (nm_menu_network_class_init),
19946         (nm_menu_wireless_class_init), (nm_menu_wireless_new),
19947         (nm_menu_wireless_expose_event): Really bad hack to get the style
19948         to draw in the right color.
19949
19950 Tue Oct 12 John (J5) Palmieri <johnp@redhat.com>
19951
19952         * info-daemon/NetworkManagerInfo.c (main):  Add child watch to respawn
19953         Notification if it crashes
19954
19955 Fri Oct  8 07:19:55 2004  Jonathan Blandford  <jrb@redhat.com>
19956
19957         * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_get_double): 
19958         (nmwa_dbus_get_string): remove unused functions
19959
19960         * panel-applet/NMWirelessApplet.c (nmwa_about_cb):
19961         (nmwa_cancel_timeout), (nmwa_get_menu_pos), (nmwa_factory):
19962         remove unused functions
19963
19964         * panel-applet/NMWirelessApplet.c: Rewrite icon code.
19965
19966 2004-10-12 Dan Williams <dcbw@redhat.com>
19967
19968         * panel-applet/NMWirelessAppletDbus.c
19969                 - New functions:
19970                         wireless_network_new
19971                         wireless_network_copy
19972                         network_device_new
19973                         network_device_copy
19974
19975         * src/NetworkManagerDevice.[ch]
19976                 - New functions:
19977                         nm_device_set_mode_managed
19978                         nm_device_set_mode_adhoc
19979                 - Use these functions where appropriate
19980                 - When creating a new wireless device, force the card
19981                         to managed/Infrastructure mode as soon as possible
19982
19983 2004-10-12 Dan Williams <dcbw@redhat.com>
19984
19985         * src/NetworkManagerDevice.c
19986                 - Force wireless cards into Infrastructure mode before we use them
19987
19988 2004-10-12 Dan Williams <dcbw@redhat.com>
19989
19990         * TODO
19991                 - Remove bit about static IP address support
19992
19993         * src/NetworkManagerUtils.c
19994                 - (nm_spawn_process): Add some error reporting
19995
19996         * src/NetworkManagerDevice.c
19997                 - (nm_device_activation_configure_ip): hook up to the static config
19998                         routines in the backends
19999
20000         * src/backends/NetworkManagerRedHat.c
20001                 - (nm_system_device_update_config_info): use shvar.c routines to
20002                         parse the config file iformation, not our own
20003                 - (nm_system_device_setup_static_ip4_config): new function, based
20004                         heavily on 'ifup' script and 'ipcalc' tool code.  Set up a device
20005                         with a static IP address and gateway
20006
20007         * src/backends/shvar.[ch]
20008                 - Parser (filched from initscripts package) for ifcfg-* files
20009
20010         * src/backends/NetworkManagerSystem.h
20011           src/backends/NetworkManagerGentoo.c
20012           src/backends/NetworkManagerDebian.c
20013           src/backends/NetworkManagerSlackware.c
20014                 - Stub nm_system_device_update_config_info() and nm_system_device_setup_static_ip4_config()
20015
20016 2004-10-11 Dan Williams <dcbw@redhat.com>
20017
20018         * TODO
20019                 - Remove bit about more robust AP diffing since I just implemented it
20020
20021 2004-10-11 Dan Williams <dcbw@redhat.com>
20022
20023         * src/NetworkManagerAP.c
20024                 - (nm_ap_new, nm_ap_new_from_ap): Don't crash when we don't have
20025                         enough RAM to allocate new AP structures, but return NULL instead
20026
20027         * src/NetworkManagerAPList.[ch]
20028                 - (nm_ap_list_is_empty): new function
20029                 - (nm_ap_list_combine): new function, combine two access point lists
20030                 - (nm_ap_list_copy_keys): new function, copy keys from one list
20031                         into another
20032
20033         * src/NetworkManagerDevice.[ch]
20034                 - Rename some functions to be clearer:
20035                         nm_device_get_best_ap_frozen -> nm_device_is_best_ap_frozen
20036                         nm_device_just_activated     -> nm_device_is_just_activated
20037                         nm_device_activating         -> nm_device_is_activating
20038                         nm_device_now_scanning       -> nm_device_is_scanning
20039                 - Cache the last 4 scans so that the access point list is more stable.
20040                         We combine the lastest two scans and use that as the AP list,
20041                         and diff that combined list against the combination of the earliest
20042                         two cached scans for the WirelessNetworkAppeared/Dissappeared signals
20043
20044 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
20045
20046         * info-daemon/NWManagerInfo.h
20047                 - (struct NetworkManagerInfo): add shutdown_timeout GSource
20048
20049         * info-daemon/NWManagerInfoDbus.c
20050                 - (shutdown_callback): new function
20051                 - (nmi_dbus_filter): Create a 30 second timeout until shutdown
20052                         if NetworkManager goes away.  Kill the timeout
20053                         if NetworkManager restarts before the 30 seconds
20054                         are up.
20055                 - (nmi_dbus_service_init): 
20056                         - call gtk_main_quit if NetworkManager is not running
20057                         - add filters to monitor dbus service creations and
20058                                 deletions
20059         
20060 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
20061
20062         * panel-applet/NMWirelessApplet.c
20063                 - (nmwa_update_state): Hide notification icon if we are only
20064                         showing one wired card and no wireless interfaces 
20065                         (Red Hat Bug #134895)
20066
20067         * panel-applet/NMWirelessAppletDbus.c
20068                 - (nmwa_dbus_filter): changed exit to gtk_main_quit ()
20069
20070         * info-daemon/NWManagerInfo.c
20071                 - (main): Terminated the notification_icon_cmd array with a NULL
20072
20073 2004-10-08  Hendrik Brandt  <hebra@cvs.gnome.org>
20074
20075         * configure.in (ALL_LINGUAS): Added de (German).
20076
20077 2004-10-08 Dan Williams <dcbw@redaht.com>
20078
20079         * src/NetworkManagerDevice.c
20080                 - Be a bit more robust about link checking, ie make sure that
20081                         the WEP key we were given actually has some data in it
20082
20083 2004-10-08 Dan Williams <dcbw@redhat.com>
20084
20085         * info-daemon/NetworkManagerInfo.c (main):
20086                 - Initialize GError object to NULL
20087
20088 2004-10-08 Dan Williams <dcbw@redhat.com>
20089
20090         * panel-applet/NMWirelessAppletDbus.c
20091                 - Die if NetworkManagerInfo dies, since it manages our lifetime
20092
20093 2004-10-08 Dan Williams <dcbw@redhat.com>
20094
20095         * info-daemon/NetworkManagerInfo.[ch]
20096           info-dameon/NetworkManagerInfoDbus.[ch]
20097           info-daemon/NetworkManagerInfoPassphraseDialog.[ch]
20098                 - Preserve original label text in the passphrase dialog so that
20099                         it actually gets updated with the new network name the next
20100                         time around.  Previously, we were overwriting it so you'd get
20101                         the wrong network name to enter a key for
20102                 - Add a "Key Type" combo to the passphrase dialog, user selects
20103                         encryption key type now, type is stored in GConf too
20104                 - Adjust NM<->NMI DBUS protocol to pass the key type back to NM too
20105
20106         * src/NetworkManagerAP.[ch]
20107                 - Remove all the encyption method magic.  It's now set by the user
20108                         and NetworkManager retrieves the type of encryption key from
20109                         NetworkManagerInfo
20110
20111         * src/NetworkManagerAPList.[ch]
20112           src/NetworkManagerDbus.[ch]
20113                 - Adjust to new way of setting encryption key and method
20114                 - Pull encryption method down from NMI along with key
20115
20116         * src/NetworkManagerDevice.[ch]
20117                 - Removed encryption method fallback magic as the method is now
20118                         determined by the user.  This greatly simplifies the connection
20119                         logic.
20120                 - More robust connection/link logic.  Besides removing the encryption
20121                         method fallback magic, check whether or not the card is receiving
20122                         invalidly encrypted packets, which usually indicates that we have
20123                         a bad WEP key set.
20124                 - Don't blindly forge ahead when DHCP fails (still not completely fixed)
20125
20126         * test/nminfotest.c
20127                 - Test out new "Key Type" stuff in the NMI passphrase dialog
20128
20129 2004-10-07 Dan Williams <dcbw@redhat.com>
20130
20131         * info-daemon/NetworkManagerInfo.conf
20132                 - Allow root user to run NMI too
20133
20134 2004-10-06 Dan Williams <dcbw@redhat.com>
20135
20136         * src/NetworkManagerDevice.[ch]
20137           src/NetworkManagerDbus.c
20138           doc/NetworkManager DBUS API.txt
20139                 - Add a new status tag "scanning", which is set when there
20140                         is no active network connection, but NetworkManager is
20141                         looking for an access point to associate with
20142
20143         * panel-applet/main.c
20144                 - Cast the applet appropriately for gtk_widget_show_all ()
20145
20146 Mon Oct  4 12:55:41 2004  Jonathan Blandford  <jrb@redhat.com>
20147
20148         * panel-applet/eggtrayicon.[ch]:
20149         * panel-applet/main.c: Add missing file
20150
20151 2004-10-04 Dan Williams <dcbw@redhat.com>
20152
20153         * src/NetworkManagerDevice.[ch]
20154                 - Add a slightly more robust method of determining if the WEP key
20155                         is correct or not, by checking the WEP-discarded packet count
20156                         on the card
20157
20158         * info-daemon/NetworkManagerInfo.c
20159                 - (nmi_gconf_notify_callback): Fix GConf essid escaping, should
20160                         un-escape values we pull out rather than escaping them
20161
20162 2004-10-03  Marcel Telka  <marcel@telka.sk>
20163
20164         * configure.in (ALL_LINGUAS): Added sk.
20165
20166 Fri Oct  1 18:26:03 2004  Jonathan Blandford  <jrb@redhat.com>
20167
20168         * panel-applet/menu-info.c (nm_menu_wired_class_init): update look
20169         and feel.  We should be back to working, and have a good, clean
20170         look.
20171
20172 2004-09-30 Dan Williams <dcbw@redhat.com>
20173
20174         * info-daemon/NetworkManagerInfo.c
20175           info-daemon/NetworkManagerInfoDbus.c
20176           test/nminfotest.c
20177                 - Escape ESSIDs in gconf
20178
20179         * src/NetworkManagerDevice.c
20180                 - Fix pseudo-scanning to use netowrk list from info daemon
20181
20182 Wed Sep 29 18:18:24 2004  Jonathan Blandford  <jrb@redhat.com>
20183
20184         * configure.in: Add a temporary --enable-notification-icon.  This
20185         will prolly go away.
20186
20187         * info-daemon/Makefile.am:
20188         * info-daemon/NetworkManagerInfo.c:
20189         * info-daemon/NetworkManagerInfo.h: Use a notification icon.
20190
20191         * panel-applet/Makefile.am:
20192         * panel-applet/NMWirelessApplet.c: Turn into a notification icon
20193         * panel-applet/NMWirelessApplet.h:
20194
20195 Tue Sep 28 16:35:20 2004  Jonathan Blandford  <jrb@redhat.com>
20196
20197         * panel-applet/NMWirelessApplet.c: Fix deadlock.  Add a separator
20198         before 'select custom ESSID'.
20199
20200         * panel-applet/menu-info.c: Start rewrite for better headers.  Not
20201         fully complete, but syncing in prep for merge.
20202
20203         * panel-applet/icons/*png: New images
20204
20205 2004-09-28 Dan Williams <dcbw@redhat.com>
20206
20207         * src/NetworkManager.c
20208           src/NetworkManagerDevice.c
20209           src/NetworkManagerPolicy.c
20210                 - Don't blow away an active wired connection on startup
20211
20212 2004-09-28  Bryan Clark  <clarkbw@cvs.gnome.org>
20213
20214         Changes from J5
20215         
20216         * info-daemon/NetworkManagerInfo.conf: fixed own permissions
20217
20218         * info-daemon/NetworkManagerInfoDbus.c: added service name to
20219         syslog output
20220
20221 Wed Sep 22 14:19:48 2004  Jonathan Blandford  <jrb@redhat.com>
20222
20223         * panel-applet/NMWirelessApplet.c: Only add essid's if we actually
20224         have a wireless card.
20225
20226 Wed Sep 22 14:05:48 2004  Jonathan Blandford  <jrb@redhat.com>
20227
20228         * panel-applet/NMWirelessApplet.c: move the custom essid item.
20229         Also, get the right device strings.
20230
20231 Wed Sep 22 13:51:45 2004  Jonathan Blandford  <jrb@redhat.com>
20232
20233         * panel-applet/menu-info.c (nm_menu_network_draw_indicator): Flip
20234         the logic to make this right.
20235
20236         * panel-applet/NMWirelessApplet.c (sort_networks_function): sort
20237         devices so that wired networks are always first.
20238
20239 2004-09-22    <clarkbw@cvs.gnome.org>
20240
20241         * initscript/Debian/.cvsignore:
20242         * initscript/Slackware/.cvsignore:
20243         Added new cvsignores for Makefile, Makefile.in
20244         
20245         * test/.cvsignore:
20246         Added nmtestdevices
20247         
20248         * src/NetworkManagerDevice.c: 
20249         * src/NetworkManager.c: 
20250         Updated the wireless/wired HAL device strings from net.ethernet to
20251         net.80203 or net.80211 depending on wired or wireless respectively
20252         
20253         * examples/python/NetworkManager.py: 
20254         s/Quality/Strength/
20255
20256         * examples/python/systray/network_tray.py:
20257         Lots of little changes and fixes.  been rotting for a while so I
20258         figured I'd finally sync them all with CVS
20259
20260 Tue Sep 21 18:05:34 2004  Jonathan Blandford  <jrb@redhat.com>
20261
20262         * configure.in: Add graphics
20263
20264         * panel-applet/Makefile.am: Add graphics
20265
20266         * panel-applet/icons/*: Add graphics
20267
20268         * panel-applet/NMWirelessApplet.c: Use new menu times to display
20269         the icons fully lined up.
20270
20271         * panel-applet/menu-info.c: 
20272         * panel-applet/menu-info.h: Add another menu type.
20273
20274 Fri Sep 17 14:04:34 2004  Jonathan Blandford  <jrb@redhat.com>
20275
20276         * panel-applet/NMWirelessApplet.c: Redo the menu item code.
20277
20278         * panel-applet/menu-item.[ch]: Wireless menu item.
20279
20280 2004-09-15  John (J5) Palmieri <johnp@redhat.com>
20281
20282         * info-daemon/NetworkManagerInfo.conf
20283                 - Created a more robust security policy for the DBus service
20284                         - everything is denied by default
20285                         - root can own and send to the service
20286                         - users logged in at the console can send to the service
20287
20288 2004-09-13  Dan Williams <dcbw@redhat.com>
20289
20290         * src/NetworkManagerDevice.c
20291                 - (nm_device_get_essid): use iw_get_basic_config() rather than
20292                         iw_get_ext (SIOCGIWESSID) since prism54 cards don't like
20293                         the latter
20294
20295 2004-09-13  Dan Williams <dcbw@redhat.com>
20296
20297         * TODO: fix typo
20298
20299         * docs/NetworkManager DBUS API.txt
20300                 - Update for new signal strength changes
20301
20302         * panel-applet/NMWirelessApplet.c
20303                 - Make panel icon show strength of the current connection
20304                 - Cleanups and memleak fixes
20305
20306         * panel-applet/NMWirelessApplet.h
20307                 - Add data members for signal strength on devices and networks
20308
20309         * panel-applet/NMWirelessAppletDbus.c
20310                 - Free more DBusErrors
20311                 - Update for new signal strength changes
20312                 - Make devices and networks more like real objects, use ref/unref methods
20313                 - Actually unlock the mutex when updating the active device
20314
20315         * src/NetworkManagerAP.c
20316                 - Change AP functions and data members from "quality"->"strength"
20317
20318         * src/NetworkManagerDbus.c
20319                 - Kill "getMaxQuality" and "getQuality" methods
20320                 - Add "getStrength" methods for Networks and Devices
20321
20322         * src/NetworkManagerDevice.[ch]
20323                 - Add accessors for device strength
20324                 - Add functions to update strength for a device.  Note that not all drivers
20325                         actually support signal strength for scanned access points (Atmel drivers
20326                         being one)
20327                 - Calculate signal strength for each AP during scan
20328
20329         * src/NetworkManagerWireless.[ch]
20330                 - Add function to return signal strength % from a device and a raw quality struct
20331
20332         * test/nmclienttest.c
20333                 - Update for new signal strength changes
20334
20335 2004-09-11  Dan Williams <dcbw@redhat.com>
20336
20337         * src/NetworkManager.c
20338                 - Fix race condition between initscripts and NM on card insertion
20339                         which could cause a card to keep an IP address and routes around
20340                         even when it was not the active device
20341
20342         * src/NetworkManagerDbus.c
20343                 - Fix compile errors, free more DBusErrors
20344
20345 2004-09-11  Dan Williams <dcbw@redhat.com>
20346
20347         * docs/NetworkManager DBUS API.txt
20348                 - Add an explanation of NM's API
20349
20350         * src/NetworkManagerDbus.c
20351                 - Free some more DBusErrors if needed
20352
20353 2004-09-11  Dan Williams <dcbw@redhat.com>
20354
20355         * panel-applet/NMWirelessApplet.c
20356           panel-applet/NMWirelessAppletDbus.c
20357                 - Start using NetworkDevice/WirelessNetwork structures in more places
20358                 - Update for unified device/network forcing in NetworkManager
20359
20360         * src/NetworkManager.c
20361                 - some code consolidation
20362
20363         * src/NetworkManagerDbus.c
20364                 - (nm_dbus_nm_set_active_device): "setActiveDevice" now takes either one
20365                         or two arguments:  the first is the NM ID of the device to switch to,
20366                         and the second (optional) argument is the ESSID of a wireless network
20367                         to use as well.
20368                 - Get rid of "setNetwork" method due to above change
20369
20370         * src/NetworkManagerDevice.c
20371                 - (nm_device_new): perform scan and update best AP on device creation
20372                 - nm_device_activation_cancel_if_needed()->nm_device_activation_should_cancel()
20373                 - nm_device_activation_signal_cancel()->nm_device_activation_cancel(), and
20374                         spin waiting for cancellation to finish before returning
20375
20376         * src/NetworkManagerPolicy.c
20377                 - Changes here clarify the situations in which a device switch occurs, and 
20378                         make sure to keep using a forced device and network if the user gives
20379                         us one
20380                 - Remove old unused code
20381
20382 2004-09-11  Martin Willemoes Hansen  <mwh@sysrq.dk>
20383
20384         * configure.in: Added Danish (da) to ALL_LINGUAS.
20385
20386 2004-09-09  Dan Williams <dcbw@redhat.com>
20387
20388         * panel-applet/NMWirelessAppletDbus.c
20389                 - Pull fresh devices and networks from NM when wireless networks
20390                         change.  Provides faster feedback of a forced wireless network
20391
20392         * src/NetworkManagerDbus.c
20393                 - Return error when "getMaxQuality" is called on a wired device
20394                 - Make best_ap freezing actually work again, and signal cancellation
20395                         of activation if there's already a device activation when the user
20396                         freezes the best_ap
20397
20398         * src/NetworkManagerDevice.c
20399                 - Don't clear out the best_ap for wireless devices when the link goes
20400                         down, that's done elsewhere
20401                 - Kill any dhcp daemons when cancelling device activation since they
20402                         may be stuck waiting for a DHCP address, and since we're cancelling
20403                         activation we don't care about that anymore
20404
20405         * src/NetworkManagerPolicy.c
20406                 - Make sure to unref the device we ref earlier (we refed it to make sure
20407                         it stuck around during device activation and such)
20408                 - If we were going to change the best device, but its activating currently
20409                         (and therefore the change didn't occur due to the check earlier)
20410                         we mark the state changed to we come back to it later when device
20411                         activation has canceled and its no longer activating
20412
20413         * src/backends/NetworkManagerRedHat.c
20414                 - SIGKILL dhcp daemons rather than SIGTERM-ing them
20415
20416 2004-09-09  Bryan Clark  <clarkbw@cvs.gnome.org>
20417
20418         * info-daemon/passphrase.glade: 
20419         set passphrase input to activates_default : True
20420
20421         * examples/python/systray/network_tray.py
20422         (network_tray.sort_networks):
20423
20424         Added support for having wireless always scanning
20425
20426 2004-09-09  Dan Williams <dcbw@redhat.com>
20427
20428         NOTE: this commit changes the behavior of wireless devices in
20429         NetworkManager.  They are now up all the time, scanning all
20430         the time.  Only the active device has an IP address and routing
20431         information set up however.  Also, NetworkManager will no longer
20432         opportunistically switch wireless networks when a better one
20433         comes in range, it will remain associated with one wireless network
20434         until that one drops out.
20435
20436         * panel-applet/NMWirelessApplet.c
20437           panel-applet/NMWirelessAppletDbus.c
20438                 - List all wireless cards and their respective networks
20439
20440         * src/NMLoadModules
20441                 - Use full path to /sbin/ip
20442
20443         * src/NetworkManager.c
20444                 - Keep wireless devices up all the time so they can scan
20445
20446         * src/NetworkManagerDbus.c
20447                 - On a WirelessNetworkUpdate signal from NMI, don't update
20448                         the "best" AP
20449
20450         * src/NetworkManagerDevice.c
20451                 - (nm_device_set_link_active): clear out the best ap for
20452                         wireless devices when the link is set to FALSE
20453                 - Scan on all wireless cards, all the time
20454                 - (nm_device_activation_worker): split out the wireless card
20455                         link-waiting code to a separate function
20456                 - Keep wireless cards up even if device activation fails
20457                 - Don't update the "best" ap as much
20458
20459         * src/NetworkManagerPolicy.c
20460                 - Don't update the best ap when checking if its frozen,
20461                         let link checking clear out a frozen best ap for us
20462
20463         * src/NetworkManagerWireless.c
20464                 - Scan on all wireless cards, all the time
20465
20466 2004-09-09  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>
20467
20468         * configure.in: Added 'es' (Spanish) to ALL_LINGUAS.
20469
20470 2004-09-09  Ankit Patel <ankit@redhat.com>
20471
20472         * configure.in: Added 'gu' (Gujarati) to ALL_LINGUAS.
20473
20474 2004-09-09  Pablo Saratxaga  <pablo@mandrakesoft.com>
20475
20476         * configure.in: Added Walloon (wa) to ALL_LINGUAS.
20477
20478 2004-09-08  Bryan Clark  <clarkbw@cvs.gnome.org>
20479
20480         * examples/python/NetworkManager.py: 
20481         added CONNECTED, CONNECTING, and DISCONNECTED states
20482         added methods to return number of devices of a single type
20483
20484         * examples/python/systray/network_tray.py: 
20485         did some tweaks to get the menu looking near what it is supposed
20486         to look like.  Also did a Airo card hack to make it show the
20487         correct AP quality
20488
20489 2004-09-08  Dan Williams <dcbw@redhat.com>
20490
20491         * panel-applet/no-networkmanager.png
20492           panel-applet/Makefile.am
20493           panel-applet/NMWirelessApplet.c
20494                 - Add a "NetworkManager not running" icon and use it
20495                 - Use new consolidated GConf keys rather than Preferred/Trusted
20496
20497         * TODO: update
20498
20499         * info-daemon/NetworkManagerInfo.c
20500           info-daemon/NetworkManagerInfoDbus.[ch]
20501           info-daemon/NetworkManagerInfoPassphraseDialog.c
20502                 - There are now no longer two separate lists of wireless networks,
20503                         but one list where each network is "trusted" or not trusted
20504                 - Add a "getNetworkTrusted" dbus method
20505                 - "WirelessNetworkUpdate" signal now sent rather than
20506                         "PreferredNetworkUpdate/TrustedNetworkUpdate" signals
20507                 - Start freeing some dbus errors (not completed yet)
20508
20509         * info-daemon/passphrase.glade
20510                 - Remove the "don't show" hints for pager and taskbar
20511                 - Add a title since its going to be in the taskbar
20512
20513         * src/NetworkManager.[ch]
20514           src/NetworkManagerAPList.[ch]
20515                 - There are now no longer two separate lists of wireless networks,
20516                         but one list where each network is "trusted" or not trusted
20517
20518         * src/NetworkManagerAP.[ch]
20519                 - Add get/set "trusted" accessors and data bit
20520
20521         * src/NetworkManagerDbus.[ch]
20522                 - Add function to get "trusted" status of a network from NetworkManagerInfo
20523                 - Trap new WirelessNetworkUpdate signal rather than old separate signals
20524
20525         * src/NetworkManagerDevice.[ch]
20526                 - Add per-device config data (ip4 addr, gateway, netmask) and accessors
20527                 - (nm_device_new): Get device config from backend when initializing devices
20528                 - (nm_device_activation_worker): Split out device configuration on
20529                         activation to deal with static/dynamic IP differences, and try encryption
20530                         fallbacks on a device if the encryption method for the best AP is not good
20531                 - (nm_device_update_best_ap): convert to new consolidated access point lists from
20532                         NetworkManagerInfo, and copy over latest NMI info to best_ap when setting it
20533
20534         * src/NetworkManagerWireless.c
20535                 - libgcrypt code wasn't converting the MD5 digest to an ascii string, fix it
20536
20537         * src/backends/NetworkManagerRedHat.c
20538           src/backends/NetworkManagerSystem.h
20539                 - (nm_system_device_update_config_info): Add function to get device configuration
20540                         from system data in ifcfg-* files
20541
20542         * src/backends/NetworkManagerDebian.c
20543           src/backends/NetworkManagerGentoo.c
20544           src/backends/NetworkManagerSlackware.c
20545                 - Add stub functions for getting device configuration
20546
20547 2004-09-07  Dan Williams <dcbw@redhat.com>
20548
20549         * src/backends/NetworkManagerRedhat.c
20550           src/backends/NetworkManagerSlackware.c
20551                 - Use full path to /sbin/ip everywhere
20552
20553 2004-09-07  Dan Williams <dcbw@redhat.com>
20554
20555         Patch from: Narayan Newton <narayan_newton@yahoo.com>
20556
20557         * configure.in
20558           initscript/Makefile.am
20559           initscript/Slackware/Makfile.am
20560           initscript/Slackware/rc.networkmanager
20561           src/Makefile.am
20562           src/backends/NetworkManagerSlackware.c
20563                 - Add Slackware support
20564
20565 2004-09-07  Dan Williams <dcbw@redhat.com>
20566
20567         Patches below from:
20568                 <j@bootlab.org>
20569                 Mark Roach <mrroach@okmaybe.com>
20570                 Thom May <thom@debian.org>
20571
20572         * configure.in
20573           initscript/Debian/NetworkManager
20574           initscript/Debian/Makefile.am
20575                 - Initscript for Debian
20576
20577         * src/backends/NetworkManagerDebian.c
20578                 - Add missing system init function to allow compilation
20579                         on Debian
20580
20581 2004-09-03  Raphael Higino <raphaelh@cvs.gnome.org>
20582
20583         * configure.in: Added 'pt_BR' to ALL_LINGUAS.
20584
20585 2004-09-03  Akagic Amila <bono@linux.org.ba>
20586
20587         * configure.in: Added 'bs' to ALL_LINGUAS.
20588
20589 2004-09-02  Colin Walters  <walters@verbum.org>
20590
20591         * src/backends/NetworkManagerRedHat.c (nm_system_device_run_dhcp)
20592         (nm_system_device_stop_dhcp, nm_system_device_flush_routes): Use
20593         g_strdup_printf instead of arbitrarily sized buffers.
20594
20595 2004-09-01  Colin Walters  <walters@verbum.org>
20596
20597         * NetworkManager.pc.in: New file.
20598
20599         * Makefile.am, .cvsignore, configure.in: Add NetworkManager.pc.
20600
20601 2004-09-01  Amanpreet Singh Alam  <aalam@redhat.com>
20602         
20603         * configure.in: Punjabi(pa) is added to po/.
20604
20605 2004-08-31  Dan Williams <dcbw@redhat.com>
20606
20607         * Remove 'debug' extern global from all files since we now
20608                 use syslog()
20609
20610         * src/NetworkManager.[ch]
20611                 - Break out routine that get the net.interface property from HAL,
20612                         removing that logic from nm_create_device_and_add_to_list()
20613                 - (nm_create_device_and_add_to_list): make this a bit more general so
20614                         it doesn't do the talking to HAL.  Also add arguments to facilitate
20615                         the create of test devices.
20616                 - (nm_data_mark_state_changed): rename from nm_data_set_state_modified()
20617                 - (nm_data_new, main, nm_print_usage): add new argument "--enable-test-devices"
20618                         which makes NetworkManager listen for dbus commands to create test
20619                         devices, which have no backing hardware.  Use when you're on a plane
20620                         for example, and/or forgot your wireless card at home.  Test devices
20621                         _cannot_ be created unless NM is started with --enable-test-devices.
20622
20623         * src/NetworkManagerDbus.[ch]
20624                 - New "getLinkActive" method for devices
20625                 - New "setLinkActive" method for devices (only works on test devices)
20626                 - New "createTestDevice" method on NetworkManager object to create a test
20627                         device of a specified type (ie wired, wireless).  UDI is created from
20628                         scratch, as is the interface name.  Only works when NM is started with
20629                         --enable-test-devices switch.
20630                 - New "removeTestDevice" method on NetworkManager object which removes a
20631                         test device.  Only works when NM is started with --enable-test-devices
20632
20633         * src/NetworkManagerDevice.[ch]
20634                 - Logic to facilitate test devices.  Add variables to NMDevice struct to indicate
20635                         whether a device is a test device or not, and what its link status is.
20636                 - Deal with test devices in most functions.  For those that work directly on hardware
20637                         special-case test devices.
20638                 - (nm_device_new): don't create a test device if test devices weren't enabled on the
20639                         command-line.
20640                 - (nm_device_update_link_active): split out logic for wired and wireless device link
20641                         checking to separate functions to facilitate test device link checking.
20642                 - (nm_device_set_enc_key): Since some drivers for wireless cards are daft and
20643                         don't make a distinction between System Authentication and Encryption
20644                         (namely Cisco aironet), we use Open System auth when setting a WEP key
20645                         on the card.  We don't deal with Shared Key auth yet.
20646                 - (nm_device_activation_worker): split the activation cancel check logic out into
20647                         a separate routine nm_device_activation_cancel_if_needed()
20648                 - (nm_device_activation_signal_cancel): rename from nm_device_activation_cancel()
20649                 - (nm_device_fake_ap_list): Test wireless devices obviously cannot scan, so create
20650                         a list of fake access points that they can "see"
20651                 - (nm_device_is_test_device): return whether or not a device is a test device
20652
20653         * src/NetworkManagerPolicy.c
20654                 - (nm_policy_get_best_device): attempt to deal with wireless network selection,
20655                         previously if you "locked"/forced NM to use a wireless device but then
20656                         selected a wireless network for NM to use, it would switch to a wired device.
20657                         So, if the active device is wireless and it has a "forced" best AP, use it
20658                         if the "forced" best AP is still valid
20659                 - (nm_state_modification_monitor): deal with NULL best devices, for example
20660                         there were no usable network devices, or the last one was removed
20661
20662         * src/backends/NetworkManager*.c
20663                 - Deal with test devices, mostly just return success for operations like getting
20664                         a DHCP address
20665
20666         * test/nmtestdevices.c
20667                 - Test tool to create/remove/link-switch test devices
20668
20669 2004-08-30  Bryan Clark  <clarkbw@cvs.gnome.org>
20670
20671         * examples/python/NetworkManager.py: 
20672         added convience functions has_wired_device and has_wireless_device
20673
20674         * examples/python/systray/network_tray.py: 
20675         cleaned up a bunch of cruft, added support for listing wireless
20676         networks just like the real applet.  This is probably all I'm
20677         going to work on this applet from now on.
20678         TODO: add support for actually changing networks and devices
20679
20680         * examples/python/NetworkManager.py (NetworkManager.get_device): 
20681         changed "nm.networks" into a dict from a list so I can store all
20682         the cool information about networks in there
20683
20684         * examples/python/systray/network_tray.py: 
20685         Added nice message when you try to run without running make first
20686
20687         * examples/python/NetworkManager.py: 
20688         Bug fixes to the code so we get all the device information
20689         that we need in get_device()
20690         
20691         * examples/python/NMTester.py: 
20692         Fixed _print_device_list to print_device_list
20693
20694 2004-08-29  Seth Nickell  <seth@gnome.org>
20695
20696         * configure.in:
20697
20698         Actually properly setup the Debian backend in configure.
20699         
20700 2004-08-29  Colin Walters  <walters@verbum.org>
20701
20702         * test/nminfotest.c: Include string.h and stdlib.h.
20703         (get_network_string_property, get_networks_of_type): Return NULL.
20704
20705         * test/nmclienttest.c (get_device_name, get_active_device): Return
20706         NULL.
20707
20708         * src/backends/NetworkManagerRedHat.c (nm_system_device_stop_dhcp): Just
20709         use strlen, fgets always NULL-terminates the string.
20710
20711         * src/NetworkManagerDbus.c (nm_dbus_nmi_filter,
20712         dbus_message_get_member): Remove /* in comment.
20713
20714         * src/NetworkManagerUtils.c (LOCKING_DEBUG): Ditto.
20715
20716         * src/NetworkManager.c (quit): Unused, delete.
20717         (nm_data_free): Cast arg to GFunc.
20718
20719         * panel-applet/NMWirelessAppletDbus.c: Need to include
20720         string.h, and dbus-glib-lowlevel.h (the latter is needed
20721         for dbus_connection_setup_with_g_main at present).
20722         (nmwa_dbus_update_wireless_network_list): Parenthesize
20723         assignment in conditional.
20724         (nmwa_dbus_worker): Return NULL.
20725
20726         * panel-applet/NMWirelessApplet.c (nmwa_redraw)
20727         (nmwa_get_menu_pos, nmwa_toplevel_menu_activate)
20728         (nmwa_menu_add_text_item, nmwa_setup_widgets): Kill unused variables.
20729         (nmwa_populate_menu): Return NULL on failure, instead of just
20730         return;
20731
20732         * initscript/NMLaunchHelper.c (g_timeout_add): Cast arg to GSourceFunc.
20733
20734         * info-daemon/NetworkManagerInfoNetworksDialog.c (nmi_networks_dialog_init): Kill unused
20735         variables.
20736
20737         * info-daemon/NetworkManagerInfo.c (nmi_print_usage): Unused,
20738         delete.
20739         
20740 2004-08-29  Colin Walters  <walters@verbum.org>
20741
20742         * src/NetworkManagerDbus.c (nm_dbus_get_network_timestamp): Return
20743         a GTimeVal instead of time_t.  This is easier to work with,
20744         since time_t may be a long or double, we don't know.
20745
20746         * src/NetworkManagerDbus.h: Update prototype.
20747         
20748         * src/NetworkManagerAP.c (struct NMAccessPoint): Store a GTimeVal
20749         instead of time_t.
20750         (nm_ap_get_timestamp): Update to return GTimeVal.
20751         (nm_ap_set_timestamp): Update to take GTimeVal.
20752         
20753         * src/NetworkManagerDevice.c (nm_device_update_best_ap): Update
20754         to handle GTimeVal.
20755
20756         * src/NetworkManagerAPList.c (nm_ap_list_update_network): Handle
20757         GTimeVal change.
20758         (nm_ap_list_print_members): Fix warnings in printf format.
20759
20760 2004-08-29  Colin Walters  <walters@verbum.org>
20761         
20762         * panel-applet/NMWirelessApplet.c: Include config.h.
20763
20764 2004-08-29  Colin Walters  <walters@verbum.org>
20765
20766         * configure.in: Generate config.h.
20767
20768         * configure.in: Dump dependency on OpenSSL; we can't
20769         use it since this package is GPL:
20770         http://www.gnome.org/~markmc/openssl-and-the-gpl.html
20771         Instead, check for libgcrypt, use it if available,
20772         otherwise use included MD5 code.
20773
20774         * src/gnome-keyring-md5.h, src/gnome-keyring-md5.c:
20775         Suck in from gnome-keyring, munge a bit.
20776         
20777         * src/Makefile.am (NetworkManager_SOURCES) <!WITH_GCRYPT>: Include
20778         gnome-keyring-md5.h gnome-keyring-md5.c.
20779         (NetworkManager_LDADD) <WITH_GCRYPT>: Add dep on LIBGCRYPT_LIBS.
20780
20781         * src/NetworkManagerWireless.c (nm_md5): New function, uses
20782         libgcrypt or included gnome-keyring md5 bits.
20783         (nm_wireless_128bit_key_from_passphrase): Use nm_md5.
20784
20785 2004-08-28  Kjartan Maraas  <kmaraas@gnome.org>
20786
20787         * configure.in: Add «nb» and «no» to ALL_LINGUAS.
20788
20789 2004-08-27  Bryan Clark  <bclark@redhat.com>
20790
20791         * examples/python/systray/Makefile: 
20792
20793         Updated the clean section
20794         
20795         * examples/python/systray/trayiconmodule.c: 
20796         * examples/python/systray/trayicon.override: 
20797         * examples/python/systray/network_tray.py: 
20798         * examples/python/systray/eggtrayicon.h: 
20799         * examples/python/systray/eggtrayicon.c: 
20800         * examples/python/systray/Makefile: 
20801         * examples/python/README: 
20802         * examples/python/NetworkManager.py: 
20803         * examples/python/NMTester.py: 
20804
20805         Initial commit of these python example files
20806
20807 Fri Aug 28 2004 Dan Williams <dcbw@redhat.com>
20808
20809         * panel-applet/NMWirelessApplet.c
20810                 - Make current device bold
20811                 - Show more user-friendly device name if we got one from hal
20812
20813         * panel-applet/NMWirelessAppletDbus.c
20814                 - Grab "info.product" key from hal for network devices
20815                 - Cache the current active device
20816
20817 2004-08-27  Adam Weinberger  <adamw@gnome.org>
20818
20819         * configure.in: Added en_CA to ALL_LINGUAS.
20820
20821 2004-08-27  Christian Rose  <menthos@menthos.com>
20822
20823         * configure.in: Added "sv" to ALL_LINGUAS.
20824
20825 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20826
20827         * Tag NetworkManager-0.2
20828
20829 Thu Aug 26 17:23:16 2004  Jonathan Blandford  <jrb@redhat.com>
20830
20831         * initscripts/Makefile.am
20832         * configure.in: Make pass distcheck
20833
20834         * po/ChangeLog: added
20835
20836 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20837
20838         * panel-applet/NMWirelessApplet.c
20839                 - Remove debugging code
20840                 - Enable device switching from menus
20841
20842         * panel-applet/NMWirelessAppletDbus.[ch]
20843                 - Method for asking NM to switch devices
20844
20845         * src/NetworkManagerDevice.c
20846                 - Set dev->activating earlier, avoids race between
20847                         the dbus signal of "DeviceActivating" and setting
20848                         dev->activating (which is what NM's "status" method call
20849                         looks at)
20850
20851 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20852
20853         * panel-applet/NMWirelessApplet.[ch]
20854                 - Rework menu code to add devices to menu, and to show
20855                         signal strength for each access point.  Code cleanups
20856                         too.
20857
20858         * panel-applet/NMWirelessAppletDbus.c
20859                 - Grab network devices from NetworkManager too
20860                 - Grab quality information from NM for wireless networks
20861
20862         * src/NetworkManagerDbus.[ch]
20863                 - Add dbus methods for getting the HAL UDI from a device and
20864                         for getting its base quality, if its wireless
20865                 - Consolidate some functions (wireless network notifications,
20866                         device notifications)
20867                 - Add method for requesting NM to use a particular device
20868
20869         * src/NetworkManager.c
20870                 - Change for function consolidations from NetworkManagerDbus.c
20871                 - Implement active device locking and user-requested devices
20872                         (ie, tell NM to use a particular device instead of the one
20873                         it autochose)
20874
20875         * src/NetworkManagerDevice.c
20876                 - Add method for getting the base quality of a device, if its
20877                         wireless
20878                 - Grab device base quailty info from iwlib during scans
20879
20880         * src/NetworkManagerPolicy.c
20881                 - Use a user-requested device rather than the auto-chosen device
20882                         if we are told to
20883
20884 Thu Aug 26 15:12:36 2004  Jonathan Blandford  <jrb@redhat.com>
20885
20886         * Makefile.am: add po as a supdir
20887
20888         * autogen.sh: use gnome-autogen.sh
20889
20890         * initscript/Gentoo/.cvsignore:
20891         * initscript/RedHat/.cvsignore: Shut up cvs
20892
20893         * panel-applet/Makefile.am: Define GNOMELOCALEDIR for bonobo.
20894
20895         * panel-applet/NMWirelessApplet.c: (nmwa_populate_menu),
20896         (nmwa_fill): Use gettext.
20897
20898         * configure.in: add gettext support
20899         * po/.cvsignore:
20900         * po/NetworkManager.pot:
20901         * po/POTFILES.in:
20902
20903 2004-08-26  Seth Nickell  <seth@gnome.org>
20904
20905         * panel-applet/NMWirelessApplet.c: (nmwa_destroy),
20906         (nmwa_menu_item_activate), (nmwa_toplevel_menu_activate),
20907         (nmwa_add_menu_item), (nmwa_menu_item_data_free),
20908         (nmwa_dispose_menu_items), (nmwa_populate_menu),
20909         (nmwa_setup_widgets), (do_not_eat_button_press), (nmwa_new):
20910         * panel-applet/NMWirelessApplet.h:
20911
20912         Use a menu bar instead of a button for the main clickable
20913         thingy.
20914         
20915 2004-08-25  Dan Williams <dcbw@redhat.com>
20916
20917         * src/NetworkManagerDevice.c
20918                 - (nm_device_set_enc_key): always set device to "open" mode instead of
20919                         turning encryption off, because the Cisco driver doesn't associate
20920                         with WEP-enabled access points unless we are in "open"
20921
20922 2004-08-25  Dan Williams <dcbw@redhat.com>
20923
20924         * src/NetworkManagerWireless.c
20925                 - Don't try to defererence blank passphrases
20926
20927 2004-08-25  Dan Williams <dcbw@redhat.com>
20928
20929         * panel-applet/NMWirelessApplet.c
20930                 - Rebuild the menu whenever a user clicks
20931
20932 2004-08-25  Dan Williams <dcbw@redhat.com>
20933
20934         * panel-applet/NMWirelessApplet.c
20935                 - (nmwa_udpate_state): Set panel icon to "wired" (for lack of better ones)
20936                         when NM isn't around or when its not connected
20937
20938         * src/NetworkManagerDevice.c
20939                 - (nm_device_activation_worker): Make sure to reset dev->activating if we get
20940                         canceled.
20941
20942 2004-08-25  Dan Williams <dcbw@redhat.com>
20943
20944         * panel-applet/NMWirelessAppletDbus.c
20945                 - (nmwa_dbus_get_bool, nmwa_dbus_get_network_encrypted): correct method name
20946                         for getting encryption, and don't stop on "val" once we've gotten it
20947                         from NetworkManager.  Short form:  encryption should now show up.
20948
20949 2004-08-25  Dan Williams <dcbw@redhat.com>
20950
20951         * panel-applet/NMWirelessApplet.c
20952                 - Set ESSID on a gconf trusted network too when force-setting the wireless
20953                         network to associate with
20954
20955 2004-08-25  Dan Williams <dcbw@redhat.com>
20956
20957         * panel-applet/*
20958                 - Rework the panel applet to do all DBUS communication in a separate
20959                         thread
20960
20961 2004-08-25  Dan Williams <dcbw@redhat.com>
20962
20963         * info-daemon/NetworkManagerInfo.[ch]
20964                 - Remove "get_next_priority" function
20965
20966         * info-daemon/NetworkManagerInfoDbus.[ch]
20967                 - Convert "priority" functions to "timestamp"
20968
20969 2004-08-25  Dan Williams <dcbw@redhat.com>
20970
20971         * src/NetworkManagerAP.[ch]
20972                 - Add a "enc_method_good" member and accessors to an Access Point
20973                         to signal when we've found the correct encryption method
20974                         for an access point
20975                 - Add a "timestamp" member and accessors, remove "priority" member
20976                         and accessors (use timestamps instead)
20977                 - Rename "wep_key"->"enc_key"
20978                 - (nm_ap_get_enc_key_hashed): new, return the correct mangled key
20979                         for a specified encryption method using the access points
20980                         source encryption key/passphrase
20981
20982         * src/NetworkManagerAPList.c
20983                 - When updating a network with dbus, grab timestamp now instead of
20984                         priority
20985
20986         * src/NetworkManagerDBus.[ch]
20987                 - Add signal for "DeviceActivating"
20988                 - Switch priority->timestamp
20989
20990         * src/NetworkManagerDevice.c
20991                 - Change references of "wep_key" -> "enc_key" or "key"
20992                 - Signal DeviceActivating when starting activation
20993                 - When activating a wireless device, if the access point we are connecting
20994                         to is encrypted, and we have a source key, try to generate a mangled
20995                         key and use that (ie, generate real WEP key from a passphrase)
20996                 - Rework device activation to fallback to other encryption methods if
20997                         a previous one didn't work (ie, try mangling a key as a 104-bit passphrase
20998                         first, then if that doesn't work fall back to direct hex key).
20999                 - (nm_device_update_best_ap): fix a deadlock, and use timestamps instead of
21000                         priority.  We now prefer the latest access point used, rather than using
21001                         a priority scheme
21002                 - (nm_device_do_normal_scan): make the encryption method "unknown" on access
21003                         points we've just discovered, and merge in correct info from the global
21004                         access point lists
21005
21006 2004-08-25  Seth Nickell  <seth@gnome.org>
21007
21008         Patch from Matthew Garrett <mjg59@srcf.ucam.org> for adding
21009         Debian support.
21010         
21011         * src/Makefile.am:
21012         * src/backends/NetworkManagerDebian.c: (nm_system_device_run_dhcp),
21013         (nm_system_device_stop_dhcp), (nm_system_device_flush_routes),
21014         (nm_system_device_flush_addresses), (nm_system_enable_loopback),
21015         (nm_system_delete_default_route),
21016         (nm_system_kill_all_dhcp_daemons), (nm_system_update_dns),
21017         (nm_system_load_device_modules):
21018
21019 2004-08-24  Dan Willemsen <dan@willemsen.us>
21020
21021         * src/NetworkManager.c
21022           src/backends/NetworkManagerGentoo.c
21023           src/backends/NetworkManagerRedHat.c
21024           src/backends/NetworkManagerSystem.h
21025                 - Implement preliminary Gentoo support, adding a
21026                         nm_system_init function to the backend specification
21027
21028         * configure.in
21029                 - Distribution auto-detection, lowercase any user-fed
21030                         distribution names
21031
21032         * initscript/.cvsignore
21033           initscript/Makefile.am
21034           initscript/RedHat/Makefile.am
21035           initscript/RedHat/NetworkManager
21036           initscript/Gentoo/Makefile.am
21037           initscript/Gentoo/NetworkManager
21038                 - Refactored initscript code separately for each
21039                         distribution
21040
21041 2004-08-23  Dan Williams <dcbw@redhat.com>
21042
21043         * configure.in
21044           src/Makefile.am
21045           src/NetworkManagerDevice.c
21046           src/NetworkManager.c
21047           src/NetworkManagerUtils.[ch]
21048           src/backends/NetworkManagerSystem.h
21049           src/backends/NetworkManagerRedHat.c
21050           src/backends/NetworkManagerGentoo.c
21051                 - Refactor system-specific code into separate backends for
21052                         each distribution
21053
21054 2004-08-23  Dan Willemsen <dan@willemsen.us>
21055
21056         * dispatcher-daemon/NetworkManagerDispatcher.c
21057           info-daemon/NetworkManagerInfo.[ch]
21058           info-daemon/NetworkManagerInfoDbus.c
21059           info-daemon/NetworkManagerInfoPassphraseDialog.c
21060           src/NetworkManager.c
21061           src/NetworkManagerAP.c
21062           src/NetworkManagerAPList.c
21063           src/NetworkManagerDbus.c
21064           src/NetworkManagerDevice.c
21065           src/NetworkManagerPolicy.c
21066           src/NetworkManagerUtils.[ch]
21067           src/NetworkManagerWireless.c
21068                 - Used syslog functions for logging instead of NM_DEBUG_DISPLAY & fprintf
21069
21070         * src/NetworkManager.c
21071                 - Fixed usage wording for --no-daemon
21072
21073 2004-08-23  Dan Williams <dcbw@redhat.com>
21074
21075         * panel-applet/NMWirelessApplet.c
21076                 - Update our state every second to get more responsive panel icon
21077                 - (nmwa_update_state): remove bogus applet->pix_state = PIX_WIRED that
21078                         was causing our marching ants status blips to never move when
21079                         looking for a wireless network
21080
21081         * src/NetworkManagerDevice.c
21082                 - (nm_device_activation_begin): return if activation has already begun
21083                 - (nm_device_do_normal_scan): merge WEP key and priority from the
21084                         trusted/preferred network into the device's access point when the
21085                         scan list is processed
21086
21087 2004-08-23  Dan Williams <dcbw@redhat.com>
21088
21089         * initscript/NetworkManager
21090                 - Use NMLaunchHelper rather than sleeping
21091
21092         * initscript/NMLaunchHelper.c
21093           Makefile.am
21094                 - Add helper program that exits only when NM activates a device,
21095                         or 10 seconds have passed, whichever happens first.  This
21096                         stops the boot processes until we have a network connection,
21097                         which NM can't do because it daemonizes and brings the connection
21098                         up in the background.  Allows stuff like NFS to not die.
21099
21100 2004-08-20  Dan Williams <dcbw@redhat.com>
21101
21102         * info-daemon/NetworkManagerInfoPassphraseDialog.c
21103                 - (nmi_passphrase_dialog_ok_clicked): when updating the wep key
21104                         for a network, set the essid as well since it may not exist yet
21105                 - (nmi_passphrase_dialog_init): don't star out the passphrase field,
21106                         since WEP keys/passphrases are long and prone to entry-error
21107
21108         * panel-applet/Makefile.am
21109           panel-applet/wired.png
21110                 - Add (pulled from system-config-network temporarily)
21111
21112         * panel-applet/NMWirelessApplet.[ch]
21113                 - Show wired picture when a wired connection is used
21114                 - Rename wireless icon enums, adding WIRELESS
21115
21116         * src/NetworkManagerDevice.c
21117                 - (nm_device_activate_wireless): unset encryption before bringing
21118                         down the card and setting the essid
21119                 - (nm_device_activatin_worker): request a key from the user if the
21120                         AP we are connecting to is encrypted but we don't have a key
21121                         for it yet
21122                 - (nm_device_set_user_key_for_network): fix missing '== 0' for a
21123                         strcmp() that prevented a user-entered key from actually getting
21124                         used
21125
21126 2004-08-16  Dan Williams <dcbw@redhat.com>
21127
21128         * initscript/NetworkManager
21129                 - Check for /sbin/ip
21130                 - Do sysctl magic that network service does
21131                 - sleep 4s after start to allow network time to come up [hack]
21132
21133         * src/Makefile.am
21134           src/NMLoadModules
21135                 - Load all network device kernel modules (hal doesn't know devices
21136                         are ethernet until the module is loaded, and therefore we don't know)
21137
21138         * src/NetworkManager.c
21139                 - (main): daemonize later, launch NMLoadModules to alert HAL of our
21140                         network devices, and bring up the loopback device explicitly
21141
21142         * src/NetworkManagerUtils.[ch]
21143                 - (nm_enable_loopback): new function
21144
21145 2004-08-13  Dan Williams <dcbw@redhat.com>
21146
21147         * configure.in
21148           panel-applet/Makefile.am
21149                 - Fix up cleanfiles and server_DATA/server_in_files
21150
21151         * README
21152                 - Update with some comments on theory of operation
21153
21154         * CONTRIBUTING
21155           Makefile.am
21156                 - Add CONTRIBUTING
21157
21158 2004-08-12  Dan Williams <dcbw@redhat.com>
21159
21160         * info-daemon/passphrase.glade
21161                 - Set window title to " "
21162
21163         * panel-applet/Makefile.am
21164           panel-applet/keyring.png
21165                 - Deliver to correct place
21166
21167         * panel-applet/NMWirelessApplet.[ch]
21168                 - Add comments
21169                 - Remove applet->have_active_device as its no longer used
21170                 - (nmwa_load_theme): load keyring.png too
21171                 - (error_dialog): remove
21172                 - (show_warning_dialog): subsume functionality of error dialog too
21173                 - (nmwa_destroy, nmwa_new): create and dispose of an application-wide GConfClient
21174                 - (nmwa_handle_network_choice): add to deal with user clicking on an item from
21175                         the networks menu
21176                 - (nmwa_menu_item_activated): GtkMenuItem "activate" signal handler
21177                 - (nmwa_button_clicked, nmwa_setup_widgets): create and populate the menu on startup
21178                         and when we get broadcasts of changed wireless access points only, not when the
21179                         user clicks on the button to display the menu (too long of a wait)
21180                 - (nmwa_add_menu_item): Make active network bold, and place a keyring icon beside
21181                         networks that are encrypted
21182                 - (nmwa_dispose_menu, nmwa_menu_item_data_free): dispose of the data we place on each
21183                         menu item with g_object_set_data()
21184
21185         * panel-applet/NMWirelessAppletDbus.[ch]
21186                 - (nmwa_dbus_get_bool): add method to return boolean value from dbus message
21187                 - (nmwa_dbus_get_active_network): add (nmwa_dbus_get_string() wrapper to get active network)
21188                 - (nmwa_dbus_add_networks_to_menu): clean up, only show one instance of each ESSID in the menu
21189                 - (nmwa_dbus_set_network): force NetworkManager to use a particular network for wireless cards
21190                 - (nmwa_dbus_init, nmwa_dbus_filter): Trap network appear/disappear and device
21191                         activation/deactivation signals and rebuild the menu when they happen
21192
21193         * src/NetworkManager.c
21194                 - (main): use new nm_spawn_process() rather than system()
21195
21196         * src/NetworkManagerDbus.c
21197                 - (nm_dbus_devices_handle_request): don't compare AP structure addresses directly, but essids
21198                         instead.  Since we can now force best_aps to stick around, the AP structure to which
21199                         dev->options.wireless.best_ap points to won't necessarily be in the device's device list
21200                         if a scan has happened since the best_ap was frozen.  Also add "setNetwork" method
21201                         to freeze the best_ap.
21202
21203         * src/NetworkManagerDevice.[ch]
21204                 - (nm_device_activation_worker): Use new nm_spawn_process() call rather than system()
21205                 - (nm_device_*_best_ap): add freeze/unfreeze/get_frozen functions, and don't really update
21206                         the best_ap in nm_device_update_best_ap() if the best_ap is frozen AND in the device's
21207                         ap list
21208
21209         * src/NetworkManagerUtils.[ch]
21210                 - (nm_spawn_process): add replacement for system() usage
21211
21212 2004-08-11  Dan Williams <dcbw@redhat.com>
21213
21214         * panel-applet/NMWirelessApplet.[ch]
21215                 - Fix up copyright and credits to include Bastien and Eskil,
21216                         who created the gnome-applets wireless applet, from whose
21217                         skeleton this one was created
21218                 - Rework nmwa_update_state()/nmwa_draw() so that state and which
21219                         pixmap to draw is computed during nmwa_update_state()
21220                 - Applet now shows itself all the time due to panel packing issues
21221                         which caused the applet to previously never come back after hiding.
21222                         When a wired device is the active device, the applet shows "not connected"
21223
21224         * panel-applet/NMWirelessAppletDbus.[ch]
21225                 - Clean up error messages and show what function they are from
21226                 - nmwa_dbus_get_active_wireless_device()->nmwa_dbus_get_active_device()
21227                 - Add new device type getters, and a status getter
21228
21229         * src/NetworkManagerDbus.c
21230                 - (nm_dbus_devices_handle_request): Don't return an active network unless that
21231                         network is actually in the device's ap list
21232                 - (nm_dbus_nm_message_handler): Fix silly mistake returning status
21233
21234         * src/NetworkManagerDevice.c
21235                 - (nm_device_update_best_ap): If the best AP is NULL, clear out the ESSID of the
21236                         card
21237
21238         * test/nmclienttest.c
21239                 - Report status of NetworkManager too
21240
21241 2004-08-11  Dan Williams <dcbw@redhat.com>
21242
21243         * info-daemon/NetworkManagerInfo.c:
21244                 - (main): clean up Seth's code style
21245
21246         * info-daemon/NetworkManagerInfoDbus.c:
21247                 - Use the more aptly-named path/service/interface constants from NetworkManager
21248                 - Don't return empty strings ("") as object paths ever, instead return errors
21249
21250         * panel-applet/NMWirelessApplet.c:
21251                 - Clean up Seth's code style
21252
21253         * src/NetworkManager.[ch]
21254                 - (nm_remove_device_from_list): remove anything having to do with pending_device
21255                 - (main, nm_print_usage): change --daemon=[yes|no] -> --no-daemon
21256
21257         * src/NetworkManagerAPList.[ch]
21258                 - Move Iter struct right above the iter functions to preserve opacity
21259                 - (nm_ap_list_remove_ap): implement
21260                 - (nm_ap_list_update_network): deal with errors returned from nm_dbus_get_network_priority(),
21261                         remove AP if NetworkManagerInfo doesn't know anything about it
21262                 - (nm_ap_list_diff): user NMAPList iterators
21263                 - (nm_ap_list_print_members): implement debugging function
21264
21265         * src/NetworkManagerDbus.[ch]
21266                 - (nm_dbus_nm_get_active_device): remove anything to do with pending_device
21267                 - (nm_dbus_get_user_key_for_network): remove DBusPendingCall stuff (unused),
21268                         and move the actual key setting stuff into NetworkManagerDevice.c
21269                 - (nm_dbus_get_network_priority): return -1 now on errors
21270                 - (nm_dbus_nmi_filter): fix strcmp() error that caused PreferredNetworkUpdate signals to
21271                         get lost, and force the active device to update its "best" ap when AP lists change
21272                 - (nm_dbus_nm_message_handler): Update conditions for returning "connecting" for a "status"
21273                         method call due to pending_device member removal
21274
21275         * src/NetworkManagerDevice.[ch]
21276                 - Move NMDevice structure to the top
21277                 - Add a wireless scan mutex and a best_ap mutex to the Wireless Options structure
21278                 - Remove Pending Action stuff from everywhere
21279                 - (nm_device_activation_*): We now "begin" activation and start a thread to do the
21280                         activation for us.  This thread blocks until all conditions for activation have
21281                         been met (ie for wireless devices, we need a valid WEP key and a "best" ap), and
21282                         then setup up the interface and runs dhclient.  We have to do this because there
21283                         is no guaruntee how long dhclient takes, and while we are blocking on it, we cannot
21284                         run our main loop and respond to dbus method calls or HAL device removals/inserts
21285                 - (nm_device_set_user_key_for_network): Move logic here from NetworkManagerDbus.c so we
21286                         can tell nm_device_activation_worker() that we've got a key
21287                 - (nm_device_*_best_ap): lock access to best_ap member of Wireless Options structure
21288                 - (nm_device_get_path_for_ap): dumb it down so the list doesn't lock against itself when
21289                         diffing (AP appear/disappear signal functions make sure the AP is actually in the device's list)
21290                 - (nm_device_update_best_ap): move logic from nm_wireless_is_ap_better() here
21291
21292         * src/NetworkManagerPolicy.c
21293                 - Remove anything to do with pending_device
21294                 - Adjust device activation to deal with activation-in-worker-thread
21295
21296         * src/NetworkManagerUtils.c
21297                 - Clean up locking debugging a bit
21298
21299         * src/NetworkManagerWireless.[ch]
21300                 - (nm_wireless_is_ap_better): remove, stick logic in nm_device_update_best_ap().  This function
21301                         was badly named and is better as a device function
21302
21303         * panel-applet/.cvsignore: add
21304
21305 2004-08-09  Seth Nickell  <seth@gnome.org>
21306
21307         * panel-applet/NMWirelessApplet.c: (nmwa_timeout_handler),
21308         (nmwa_button_clicked), (nmwa_populate_menu), (nmwa_setup_widgets),
21309         (nmwa_new):
21310         * src/NetworkManagerDbus.c: (nm_dbus_nmi_filter):
21311
21312         Don't load the menus until clicked on (also removes a call outside
21313         normal code paths at first load).
21314
21315         Hide applet when NM is not present.
21316         
21317         Improve printf debugging stuff.
21318         
21319 2004-08-09  Dan Williams <dcbw@redhat.com>
21320
21321         * dispatcher-daemon/NetworkManagerDispatcher.c:
21322                 - Covert uses of dbus_message_iter_* over to dbus_message_get_args
21323                 - Use constants for NetworkManager interface, service, and path
21324
21325 2004-08-09  Dan Williams <dcbw@redhat.com>
21326
21327         * src/NetworkManagerDbus.c:
21328                 - (nm_dbus_nm_get_active_device, nm_dbus_nm_get_devices): Never return an empty object path,
21329                         instead return an error message
21330                 - (nm_dbus_devices_handle_request): Return error when getActiveNetwork/getNetworks is called
21331                         on a wired device.  Also never return an empty object path, instead return an error message
21332
21333 2004-08-06  Seth Nickell  <seth@gnome.org>
21334
21335         * panel-applet/NMWirelessApplet.c: (nmwa_new):
21336
21337         Check the error code when getting a connection.
21338         
21339         * panel-applet/NMWirelessAppletDbus.c: (nmwa_dbus_init):
21340
21341         Check if the NM service exists when initializing (rather than
21342         assuming it does not).
21343         
21344         * src/NetworkManagerDbus.c: (nm_dbus_init):
21345
21346         Don't acquire the well-known service name until we have
21347         registered object/path handlers and can actually receive
21348         calls.
21349         
21350 2004-08-06  Dan Williams <dcbw@redhat.com>
21351
21352         * panel-applet/*
21353                 - Add panel applet
21354
21355         * src/NetworkManagerPolicy.c
21356           src/NetworkManager.c
21357                 - Get access point lists from NetworkManagerInfo on-demand,
21358                         and look for ServiceCreate/ServiceDeleted signals to see when
21359                         we should query NMI for lists
21360         * src/NetworkManagerAPList.c
21361                 - Make sure to init the list's mutex
21362                 - Convert traversals of the list over to the list iter functions
21363
21364         * src/NetworkManagerDbus.[ch]
21365                 - Use more aptly-named path/service/interface constants
21366                 - Treat both active and pending devices the same for "getActiveDevice"
21367                 - Add a "status" method returning "connected", "connecting", or "disconnected"
21368
21369         * src/NetworkManagerDevice.c
21370                 - Honor "ignored" network list when picking best ap to use
21371
21372 2004-08-06  Seth Nickell  <seth@gnome.org>
21373
21374         * aclocal.m4:
21375
21376         Autogenerated, remove from CVS.
21377         
21378         * autogen.sh:
21379
21380         Don't hardcode automake version.
21381         
21382         * configure.in:
21383         * info-daemon/Makefile.am:
21384         * info-daemon/NetworkManagerInfo.c: (main):
21385
21386         Use GnomeProgram et al. for doing session management.
21387         Use popt stuff for argument parsing rather than doing
21388         it manugally.
21389         
21390 2004-08-05  Dan Williams <dcbw@redhat.com>
21391
21392         * test/nminfotest.c
21393                 - Update to new NMI dbus API, check different network types
21394
21395         * info-daemon/NetworkManagerInfoDbus.c
21396                 - Update to new NM dbus API, ie network type sent in query message
21397
21398 2004-08-05  Dan Williams <dcbw@redhat.com>
21399
21400         * An assload of changes
21401
21402 2004-08-02  Dan Williams <dcbw@redhat.com>
21403
21404         * TODO
21405                 - new task: proper logging support
21406
21407         * info-daemon/NetworkManagerInfo.c
21408                 - Correct spelling of "canceled"
21409                 - Correct casting of objects for g_signal_connect()
21410
21411         * info-daemon/NetworkManagerInfoDbus.c
21412                 - Add defines for NetworkManager namespace and object path, and use them
21413                 - Add filter function to trap new signals from NetworkManager:
21414                         WirelessNetworkAppeared, WirelessNetworkDisappeared
21415
21416         * info-daemon/passphrase.glade
21417                 - Change name of "ok" button to "Login to Network..."
21418                 - Mark invisible
21419
21420         * src/NetworkManager.c
21421                 - Code and debug message cleanups
21422                 - Rename "nm_add_current_devices"->"nm_add_initial_devices"
21423                 - (nm_add_initial_devices) Check returned string array of devices
21424                         and don't try to add devices if array is NULL
21425                 - (main) Initialize libhal a bit later, make code a bit clearer
21426
21427         * src/NetworkManagerAP.[ch]
21428                 - New accessor and data member "matched": used to speed up AP list
21429                         diffing
21430                 - New accessor and data member "enc_method": will be used during key
21431                         fallback to cache which passphrase->key conversion actually works
21432                         so we don't have to do it every time
21433
21434         * src/NetworkManagerAPList.[ch]
21435                 - (nm_ap_list_find_ap_in_list) New: find an AP by essid in an AP list
21436                 - (nm_ap_list_diff) New: given two lists of access points, find the differences
21437                         between them, and send WirelessNetworkAppeared/Disappeared signals over
21438                         dbus in response to those differences
21439
21440         * src/NetworkManagerDbus.[ch]
21441                 - (nm_dbus_get_object_path_from_ap) New: given a device and an access point,
21442                         make an object path for that access point (NOTE that we don't yet check to
21443                         make sure that access point is actually in the device's AP list yet)
21444                 - (nm_dbus_get_ap_from_object_path) Renamed from nm_dbus_get_network_from_object_path
21445                 - (nm_dbus_signal_wireless_network_appeared, nm_dbus_signal_wireless_network_disappeared)
21446                         New: signal appearance/disappearance of wireless networks
21447                 - (nm_dbus_set_user_key_for_network) Mark the network/ap as invalid if the user cancelled
21448                         key entry
21449
21450         * src/NetworkManagerDevice.[ch]
21451                 - (nm_device_ap_list_clear) Use nm_ap_list_free rather than doing it ourselves
21452                 - (nm_device_ap_list_get) New: return the AP list (static function)
21453                 - (nm_device_do_normal_scan) Destroy old AP list later, so that we can diff the
21454                         new one resulting from the scan with the old one
21455
21456         * src/NetworkManagerWireless.c
21457                 - (nm_wireless_is_most_prefered_ap) "invalid" access points cannot be "best" access points
21458
21459         * test/nminfotest.c
21460                 - #define object paths and namespaces and use the #defines rather than static strings
21461                 - Test out user-key functionality of NetworkManagerInfo too
21462
21463 2004-07-29  Dan Williams <dcbw@redhat.com>
21464
21465         * info-daemon/NetworkManagerInfoDbus.c
21466           src/NetworkManagerDbus.c
21467                 - Update to current DBus (ie don't use decomposed paths when registering
21468                         object paths/fallbacks)
21469
21470 2004-07-27  Dan Williams <dcbw@redhat.com>
21471
21472         * Remove various Makefile.in files
21473
21474         * TODO
21475                 - Add some more items
21476
21477         * configure.in
21478                 - Add checks for OpenSSL/md5 headers and libs
21479
21480         * src/Makefile.am
21481                 - Use OpenSSL CFLAGS
21482
21483         * src/NetworkManagerAP.[ch]
21484                 - Remove 'stamp' functions, replace with 'invalid' functions
21485                         to support user cancelling WEP key entry
21486
21487         * src/NetworkManagerDbus.c
21488                 - Remove 'stamp' return functions
21489                 - Treat returned user key as a passphrase and convert to a WEP key,
21490                         but don't actually use the WEP key yet.  We use the returned user
21491                         key as a hexadecimal WEP key until we can figure out a UI for
21492                         passphrase-vs-hex key
21493
21494         * src/NetworkManagerWireless.[ch]
21495                 - Add passphrase-to-128bit-key function
21496
21497 2004-07-27  Dan Williams <dcbw@redhat.com>
21498
21499         * TODO
21500                 - Add a couple of items
21501
21502 2004-07-27  Dan Williams <dcbw@redhat.com>
21503
21504         * info-daemon/NetworkManagerInfo.c
21505                 - Update allowed network's GConf key when user enters a WEP key explicitly
21506
21507         * info-daemon/NetworkManagerDbus.c
21508                 - Fix some comments
21509                 - nmi_dbus_get_allowed_networks(): kill warning
21510
21511 2004-07-27  Dan Williams <dcbw@redhat.com>
21512
21513         * initscript/Makefile.in
21514                 - Remove
21515
21516         * initscript/Makefile.am
21517                 - Add correct rules to install the init.d initscript
21518
21519         * info-daemon/NetworkManagerInfoDbus.c
21520                 - Remove debug fprintf
21521
21522         * src/NetworkManagerDbus.[ch]
21523                 - Remove debug fprintfs
21524                 - Add macros for NetworkManagerInfo object path/namespace
21525                 - Use said macros instead of constant strings
21526
21527 2004-07-27  Dan Williams <dcbw@redhat.com>
21528
21529         * initscript/.cvsignore
21530                 - Add
21531
21532         * info-daemon/Makefile.am
21533                 - Install .glade files and keyring.png
21534                 - Fix stupid omission of a \ that caused half the flags not to be
21535                         passed to gcc
21536
21537         * info-daemon/NetworkManagerInfo.c
21538                 - gtk_signal_connect->g_signal_connect
21539                 - Alert NetworkManagerInfo to new glade file location
21540
21541 2004-07-27  Dan Williams <dcbw@redhat.com>
21542
21543         * test/nmclienttest.c
21544           test/nminfotest.c
21545                 - Add missing <dbus/dbus.h> headers
21546                 - Add GPL message at top
21547
21548 2004-07-27  Dan Williams <dcbw@redhat.com>
21549
21550         * src/NetworkManagerAPList.[ch]
21551           src/Makefile.am
21552                 - Add.  Deal with allowed network list additions, deletions, and updates
21553
21554         * dispatcher-daemon/NetworkManagerDispatcher.c
21555                 - Add missing <dbus/dbus.h> header
21556
21557         * info-daemon/NetworkManagerInfo.[ch]
21558                 - Add missing <dbus/dbus.h> header
21559                 - Implement the GConf notify callback to signal NetworkManager of an allowed
21560                         network change
21561                 - Better error checking
21562
21563         * info-daemon/NetworkManagerInfoDbus.[ch]
21564                 - Add missing <dbus/dbus.h> header
21565                 - Convert to using dbus_message_append_args/dbus_message_get_args
21566                 - Implement nmi_dbus_signal_update_allowed_network() to signal NetworkManager
21567                         that an allowed network changed.  We don't want to signal on individual
21568                         keys _inside_ an allowed network really, just want NM to query the info
21569                         daemon for updated info on all keys.
21570                 - Better error checking
21571
21572         * src/NetworkManager.[ch]
21573                 - Add missing <dbus/dbus.h> header
21574                 - Move allowed_ap_list free functions to NetworkManagerAPList.[ch]
21575                 - Zero out NMData structure on free
21576                 - No longer use a thread for allowed_ap_list updating, instead its now done
21577                         through dbus queries against NetworkManagerInfo
21578                 - Populate allowed_ap_list initially before adding existing network devices
21579                         to the device list, so wireless devices can get their "best" AP
21580
21581         * src/NetworkManagerDbus.[ch]
21582                 - Convert to using dbus_message_append_args/dbus_message_get_args
21583                 - Better error checking
21584                 - Implement Allowed Network info functions to request allowed network
21585                         info from NetworkManagerInfo
21586                 - Implement the filter function to process signals from NetworkManagerInfo
21587                         about changing allowed networks
21588
21589         * src/NetworkManagerDevice.c
21590                 - Fix file descriptor leak in nm_device_update_ip4_address()
21591
21592 2004-07-27  Dan Williams <dcbw@redhat.com>
21593
21594         * .cvsignore
21595           src/.cvsignore
21596           test/.cvsignore
21597           dispatcher-daemon/.cvsignore
21598           info-daemon/.cvsignore
21599                 - Add .cvsignore files to reduce noise when diffing
21600
21601 2004-07-24  Dan Williams <dcbw@redhat.com>
21602
21603         * src/NetworkManager.[ch]
21604           src/NetworkManagerDbus.[ch]
21605           src/NetworkManagerDevice.[ch]
21606           src/NetworkManagerPolicy.c
21607           src/NetworkManagerWireless.[ch]
21608                 - Add many more g_return_if_fail()/g_return_val_if_fail() checks
21609                 - Pass the NMData application data structure through all calls
21610                         that need it so we can get rid of nm_get_global_data()
21611                 - Change deallocation of the allowed_ap_list GSList in preparation
21612                         for not completely clearing it every time we get an update,
21613                         but instead getting incremental updates via GConf/dbus
21614
21615 2004-07-22  Dan Williams <dcbw@redhat.com>
21616
21617         * configure.in
21618                 - Add checks for GConf libs & headers & flags
21619
21620         * info-daemon/Makefile.am
21621                 - Add GConf flags & libs to compile/link stages of NetworkManagerInfo
21622
21623         * info-daemon/NetworkManagerInfo.[ch]
21624                 - Don't use gquarks for data storage, just use normal data storage
21625                 - Add gconf bits to watch /system/networking/wireless/allowed_networks
21626
21627         * info-daemon/NetworkManagerDbus.[ch]
21628                 - Add method call for getting allowed networks
21629                 - Add method calls for getting an allowed network's essid, priority, and key
21630                 - Hook the method calls up to GConf
21631                 - Split user key dialog code into separate function (nmi_dbus_get_key_for_network)
21632                 - nmi_dbus_nmi_message_handler(): make sure to unref the reply message after sending
21633                 
21634         * src/NetworkManagerDbus.[ch]
21635                 - Switch for enumeration of networks to using essid instead
21636
21637         * test/Makefile.am
21638           test/nminfotest.c
21639                 - Add test program for NetworkManagerInfo
21640
21641 2004-07-19  Dan Williams <dcbw@redhat.com>
21642
21643         * src/NetworkManagerDbus.c
21644                 - Switch from indexed device paths to names.  Less code, more efficient.
21645                         ie "/org/freedesktop/NetworkManager/0" -> "/org/freedesktop/NetworkManager/eth0"
21646
21647 2004-07-19  Dan Williams <dcbw@redhat.com>
21648
21649         * dispatcher-daemon/NetworkManagerDispatcher.c
21650                 - (nm_dbus_filter): Remove obsolete response to NeedKeyForNetwork signal
21651
21652 2004-07-19  Dan Williams <dcbw@redhat.com>
21653
21654         * Makefile.am
21655                 - Add info-daemon directory
21656
21657         * configure.in
21658                 - Check for glade libs and headers
21659                 - Add info-daemon directory
21660
21661         * src/NetworkManagerAP.c
21662                 - nm_ap_new_from_ap(): Fix bug that resulted in an APs encryption status not getting
21663                         copied over to the new AP.
21664
21665         * src/NetworkManagerDbus.c
21666           src/NetworkManagerDbus.h
21667                 - Deal with nm_device_ap_list_get_ap()->nm_device_ap_list_get_ap_by_index() change
21668                 - Remove nm_dbus_signal_need_key_for_network()
21669                 - Add disabled code for asynchronous user wep key callbacks
21670                 - Add functions for getting, setting, and cancelling user key operations
21671                 - Remove "setKeyForNetwork" device dbus method call, its on NetworkManager object instead
21672                 - Add "setKeyForNetwork" dbus method call on NetworkManager object
21673
21674         * src/NetworkManagerDevice.c
21675           src/NetworkManagerDevice.h
21676                 - nm_device_update_link_active(): revert changes for wireless link detection, the WEP-key-is-wrong
21677                         logic is in device activation now
21678                 - nm_device_activate(): for wireless devices, if we can't associate with access point (perhaps
21679                         key is wrong) trigger get-user-key pending action
21680                 - Implement get-user-key pending action stuff, tie to dbus messages
21681                 - Rename nm_device_ap_list_get_ap() -> nm_device_ap_list_get_ap_by_index()
21682                 - Add nm_device_ap_list_get_ap_by_essid()
21683                 - Instead of copying "best" access points, ref them instead so that the key we set
21684                         sticks around
21685
21686         * src/NetworkManagerPolicy.c
21687                 - Deal with wrong WEP key, but right access point (and if so, return link_active = TRUE)
21688                 - Don't cancel pending actions on a device if its the same device as last iteration
21689                 - Only promote pending_device->active_device if activation was successfull
21690
21691         * src/Makefile.am
21692                 - Rename nmclienttest->nmtest
21693
21694         * info-daemon/Makefile.am
21695           info-daemon/NetworkManagerInfo.c
21696           info-daemon/NetworkManagerInfo.h
21697           info-daemon/NetworkManagerInfoDbus.c
21698           info-daemon/NetworkManagerInfoDbus.h
21699           info-daemon/passphrase.glade
21700           info-daemon/NetworkManagerInfo.conf
21701           info-daemon/keyring.png
21702                 - Import sources for info-daemon, which pops up dialog for passphrase/key when
21703                         NetworkManager asks for it, and also will (soon) provide "allowed" access point
21704                         lists to NetworkManager by proxying user's GConf
21705           
21706
21707 2004-07-15  Dan Williams <dcbw@redhat.com>
21708
21709         * src/Makefile.am
21710                 - Turn on warnings
21711
21712         * src/NetworkManager.c
21713                 - nm_create_device_and_add_to_list(): call nm_device_deactivate() rather
21714                         that doing the deactivation ourselves
21715                 - Cancel an pending actions on a device if its being removed
21716                 - Break up link state checking a bit, make non-active wireless cards
21717                         deactivated to save power
21718                 - Remove unused variables
21719
21720         * src/NetworkManager.h
21721                 - Add support for "pending" device
21722
21723         * src/NetworkManagerAP.h
21724           src/NetworkManagerAP.c
21725                 - Add support for determining whether and AP has encryption enabled or not
21726                 - AP address is now "struct ether_addr" rather than a string
21727
21728         * src/NetworkManagerDbus.h
21729           src/NetworkManagerDbus.c
21730                 - Add signal NeedKeyForNetwork, method SetKeyForNetwork (testing only)
21731                 - Changes for AP address from struct ether_addr->string
21732
21733         * src/NetworkManagerDevice.h
21734           src/NetworkManagerDevice.c
21735                 - Remove unused variables, fix warnings
21736                 - Add support for Pending Actions (things that block a device from being "active"
21737                         until they are completed).
21738                 - First pending action:  Get a WEP key from the user
21739                 - Add nm_device_is_wire[d|less](), rename nm_device_is_wireless()
21740                 - Clean up explicit testing of dev->iface_type to use nm_device_is_wireless()
21741                 - Update wireless link checking to try to determine if the AP we are associated
21742                         with is correct, but the WEP key we are using is just wrong.  If its wrong,
21743                         trigger the GetUserKey pending action on the device
21744                 - If dhclient can't get an IP address, it brings the device down.  Bring it back
21745                         up in that case, otherwise we can't scan or link-check on it
21746                 - Add IP address change notifications at appropriate points (still needs some work)
21747                 - Add nm_device_need_ap_switch(), checks whether we need to switch access points or not
21748
21749         * src/NetworkManagerPolicy.h
21750           src/NetworkManagerPolicy.c
21751                 - Split out "best" access point determiniation into separate function
21752                 - Make device activation 2-stage:  first the device is pending, then
21753                         in the next iteration through it becomes "active" unless it has
21754                         pending actions
21755
21756         * src/NetworkManagerUtils.h
21757           src/NetworkManagerUtils.c
21758                 - Clean up unused variables and warnings
21759                 - Wrap our debug macros in {} to prevent possible confusion
21760
21761         * src/NetworkManagerWireless.c
21762                 - Forgot to return current best priority, which lead to last available AP always
21763                         being chosen no matter what its priority was.  Corrected.
21764
21765 2004-07-15  Dan Williams <dcbw@redhat.com>
21766
21767         * dispatcher-daemon/Makefile.am
21768                 - Turn on warnings
21769
21770         * dispatcher-daemon/NetworkManagerDispatcher.c
21771                 - Remove unused variables due to warnings
21772                 - Fix some comments
21773                 - Print message on receipt of NeedKeyForNetwork signal (testing only)
21774
21775 2004-07-06  Dan Williams <dcbw@redhat.com>
21776
21777         * src/NetworkManager.c
21778                 - Add IPv4 address update for active device during link state check
21779                 - Don't allow wireless cards to be powered up when they are not the
21780                         active device
21781
21782         * src/NetworkManagerDbus.c
21783           src/NetworkManagerDbus.h
21784                 - Add DBUS IPv4 address change signal
21785                 - Add DBUS IPv4 address get method for devices
21786
21787         * src/NetworkManagerDevice.c
21788                 - Make setting the WEP key actually work
21789                 - Move IP address get/set/update stuff here, per-device
21790                 - Power down/bring down wireless device when deactivated
21791                 - For scanning wireless devices, if first scan returned ENODATA, try again
21792
21793         * src/NetworkManagerPolicy.c
21794                 - Only set the WEP key for an allowed access point if there is one.
21795                         We were setting it to be blank if one wasn't specified.
21796
21797         * src/NetworkManagerUtils.h
21798           src/NetworkManagerUtils.c
21799                 - Move the IP address stuff to NetworkManagerDevice.c
21800
21801         * dispatcher-daemon/NetworkManagerDispatcher.c
21802                 - Add device IPv4 address change notification stuff
21803
21804 2004-07-05  Dan Williams <dcbw@redhat.com>
21805
21806         * dispatcher-daemon/NetworkManagerDispatcher.c
21807                 - A bit more descriptive state message
21808                 - Don't segfault when reading directory
21809
21810         * src/NetworkManager.h
21811                 - Remove NMData desired_ap member, its now
21812                         per-device rather than global
21813
21814         * src/NetworkManager.c
21815                 - Remove references to desired_ap
21816                 - Move the allowed AP list refresh stuff into a thread
21817
21818         * src/NetworkManagerDevice.c
21819           src/NetworkManagerDevice.h
21820                 - Each wireless device now has a "best ap"
21821                 - Make device activate/deactivate functions per-device
21822                 - Make wireless scanning per-device
21823                 - Add IPv4 address discover functions, stub IPv6 ones
21824                 - Move ethernet address validation functions to NetworkManagerUtils.c
21825                 - Add wireless access point accessor function
21826                 - Get/Set functions for "best ap"
21827
21828         * src/NetworkManagerPolicy.c
21829                 - Move activate/deactivate stuff into NetworkManagerDevice.c, per-device
21830                 - Deal with per-device "best ap" rather than data->desired_apa
21831                 - Implement allowed access point worker thread
21832                 - Add nm_policy_essid_is_allowed() function
21833
21834         * src/NetworkManagerUtils.c
21835           src/NetworkManagerUtils.h
21836                 - Add nm_ethernet_address_is_valid() function
21837                 - Add IPv4/IPv6 address get functions
21838
21839         * src/NetworkManagerWireless.c
21840           src/NetworkManagerWireless.h
21841                 - Move scanning stuff into NetworkManagerDevice.c, per-device
21842
21843 2004-06-29  Dan Williams <dcbw@redhat.com>
21844
21845         * dispatcher-daemon/NetworkManagerDispatcher.c
21846                 - Implement script callout functionality
21847
21848 2004-06-24  Dan Williams <dcbw@redhat.com>
21849
21850         * NetworkManager.c
21851             - Spacing cleanups
21852             - Flush device routes and ip addresses when added to the device list
21853
21854         * NetworkManagerDbus.c
21855             - Spacing cleanups
21856             - Add missing returns in the two signal functions
21857         
21858         * NetworkManagerPolicy.c
21859             - Spacing and variable cleanups
21860
21861 2004-06-24  Dan Williams <dcbw@redhat.com>
21862
21863         * Makefile.am
21864           Makefile.in
21865           configure.in
21866           dispatcher-daemon/Makefile.am
21867           dispatcher-daemon/Makefile.in
21868           dispatcher-daemon/NetworkManagerDispatcher.c
21869             - Add a daemon that receives signals from NetworkManager
21870                         and will (eventually) call scripts in /etc/somewhere
21871                         when devices go up or down.
21872         
21873         * NetworkManager.c
21874             - Spacing cleanups
21875             - Flush device routes and ip addresses when added to the device list
21876
21877         * NetworkManagerDbus.c
21878             - Spacing cleanups
21879             - Add missing returns in the two signal functions
21880         
21881         * NetworkManagerPolicy.c
21882             - Spacing and variable cleanups
21883             - Rename nm_policy_switch_interface->nm_policy_switch_device
21884             - nm_policy_switch_device():
21885                                 Use kill (pid) instead of system ("kill <pid>")
21886             - nm_state_modification_monitor():
21887                                 Add wireless essid to output of debug statements
21888                                 Correct typo in device compare to switch or not (should be !=)
21889                                 Don't sleep after sending "no longer active" signal, was useless
21890
21891 2004-06-24  Dan Williams <dcbw@redhat.com>
21892
21893         * Initial import