1 2008-11-20 Dan Williams <dcbw@redhat.com>
3 Patch from Tambet Ingo <tambet@gmail.com>
5 * libnm-util/nm-setting.c
6 libnm-util/nm-setting.h
7 - (NMSettingValueIterFn): instead of just a gboolean for secrets, take
8 all the GParamSpec flags of the property
10 * system-settings/plugins/keyfile/nm-keyfile-connection.c
11 system-settings/plugins/keyfile/reader.c
12 system-settings/plugins/keyfile/writer.c
13 - Update for NMSettingValueIterFn change
15 2008-11-20 Dan Williams <dcbw@redhat.com>
17 * libnm-util/nm-utils.c
19 - More documentation updates
21 2008-11-20 Dan Williams <dcbw@redhat.com>
23 * libnm-util/libnm-util.ver
26 libnm-util/nm-utils-private.h
27 libnm-util/nm-connection.c
28 - (nm_utils_register_value_transformations): make private, called
29 from NMConnection registration anyway
31 2008-11-20 Dan Williams <dcbw@redhat.com>
33 * libnm-util/Makefile.am
34 libnm-util/nm-utils-private.h
35 - New header for internal utils private functions
37 * libnm-util/libnm-util.ver
40 - Document some functions
41 - (nm_utils_string_in_list, nm_utils_string_list_contains,
42 nm_utils_string_slist_validate): un-export, only used within
43 libnm-util or of limited use in general, and very easy to
44 re-implement by apps if needed
46 * libnm-util/nm-setting-8021x.c
47 libnm-util/nm-setting-wired.c
48 libnm-util/nm-setting-wireless-security.c
49 libnm-util/nm-setting-wireless.c
50 - Update for private nm_utils_string_* functions
52 2008-11-20 Dan Williams <dcbw@redhat.com>
54 * libnm-util/libnm-util.ver
55 libnm-util/nm-setting.c
56 libnm-util/nm-setting.h
57 - Add NMSetting errors
58 - (nm_setting_update_secrets): return errors
60 * libnm-util/nm-connection.c
61 libnm-util/nm-connection.h
62 - (nm_connection_update_secrets): return errors
64 * libnm-util/nm-setting-vpn.c
65 src/nm-activation-request.c
66 src/vpn-manager/nm-vpn-connection.c
67 - Handle update secrets errors
69 2008-11-20 Dan Williams <dcbw@redhat.com>
71 * libnm-util/nm-setting.c
72 libnm-util/nm-setting.h
73 libnm-util/libnm-util.ver
74 - (nm_setting_new_from_hash): rename from nm_setting_from_hash() to be
75 consistent with nm_connection_new_from_hash()
77 * src/nm-activation-request.c
78 libnm-util/nm-connection.c
81 2008-11-19 Dan Williams <dcbw@redhat.com>
85 docs/libnm-util/Makefile.am
86 docs/libnm-util/libnm-util.types
87 - Start to document libnm-util
89 2008-11-19 Dan Williams <dcbw@redhat.com>
91 * libnm-util/nm-connection.h
92 libnm-util/nm-connection.c
93 - Document public functions
95 2008-11-19 Dan Williams <dcbw@redhat.com>
97 * libnm-util/nm-setting.h
98 libnm-util/nm-setting.c
101 system-settings/plugins/ifcfg-fedora/plugin.c
102 - Prefix compare flag defines with NM_SETTING_
104 2008-11-19 Dan Williams <dcbw@redhat.com>
106 * libnm-util/nm-connection.c
107 libnm-util/nm-connection.h
108 - (nm_connection_replace_settings): take a GError
110 * libnm-glib/nm-settings.c
111 libnm-glib/nm-dbus-connection.c
113 system-settings/plugins/ifcfg-suse/nm-suse-connection.c
114 system-settings/plugins/keyfile/nm-keyfile-connection.c
115 system-settings/plugins/keyfile/plugin.c
116 - Handle, or don't handle, errors from nm_connection_replace_settings()
118 2008-11-19 Dan Williams <dcbw@redhat.com>
120 * libnm-util/libnm-util.ver
121 libnm-util/nm-connection.c
122 - (nm_setting_register, nm_setting_unregister): unexport; they are
123 private and don't have a use outside libnm-util
125 2008-11-17 Dan Williams <dcbw@redhat.com>
127 * src/nm-hso-gsm-device.c
128 - (real_connection_secrets_updated): handle PIN/PUK correctly for HSO
131 2008-11-17 Dan Williams <dcbw@redhat.com>
133 * system-settings/plugins/ifcfg-fedora/reader.c
134 - (read_mac_address): clean up
135 - (make_wireless_setting): pass NULL array to read_mac_address() like it
138 * system-settings/plugins/ifcfg-fedora/plugin.c
139 - (read_one_connection): don't segfault on NULL errors
141 2008-11-14 Dan Williams <dcbw@redhat.com>
145 2008-11-14 Dan Williams <dcbw@redhat.com>
147 Handle gateways on different subnets
149 * src/NetworkManagerSystem.c
150 - (add_ip4_route_to_gateway): gateway route should be link scope and
152 - (replace_default_ip4_route): use a destination address too; gateway
153 address should be /0; don't leak the gateway route object
155 2008-11-14 Dan Williams <dcbw@redhat.com>
157 * libnm-glib/libnm_glib.ver
158 libnm-glib/nm-dbus-settings-system.c
159 libnm-glib/nm-dbus-settings-system.h
160 - Add libnm-glib bits for CanModify
162 2008-11-14 Dan Williams <dcbw@redhat.com>
164 * introspection/nm-settings-system.xml
165 system-settings/src/dbus-settings.c
166 system-settings/src/dbus-settings.h
167 - Add a "CanModify" property to indicate if any plugins support
168 connection modification
170 2008-11-14 Dan Williams <dcbw@redhat.com>
172 Relicense libnm-glib to LGPLv2+ with agreement from contributors
174 2008-11-14 Dan Williams <dcbw@redhat.com>
176 * vpn-manager/nm-vpn-connection.c
177 - (plugin_state_changed): clear VPN secrets on error to ensure they
178 are always requested from the settings service (rh #429287)
180 2008-11-13 Dan Williams <dcbw@redhat.com>
182 * libnm-util/crypto.c
183 - (crypto_get_private_key_data): fix bad initial arg type checking
186 2008-11-13 Dan Williams <dcbw@redhat.com>
188 Add support for PKCS#12 private keys (bgo #558982)
190 * libnm-util/crypto.c
192 - (parse_old_openssl_key_file): rename from parse_key_file(); adapt to
193 take a GByteArray instead of a filename
194 - (file_to_g_byte_array): handle private key files too
195 - (decrypt_key): take a GByteArray rather than data + len
196 - (crypto_get_private_key_data): refactor crypto_get_private_key() into
197 one function that takes a filename, and one that takes raw data;
198 detect pkcs#12 files as well
199 - (crypto_load_and_verify_certificate): detect file type
200 - (crypto_is_pkcs12_data, crypto_is_pkcs12_file): add pkcs#12 detection
203 * libnm-util/crypto_gnutls.c
204 - (crypto_decrypt): take GByteArray rather than data + len; fix a bug
205 whereby tail padding was incorrectly handled, leading to erroneous
206 successes when trying to decrypt the data
207 - (crypto_verify_cert): rework somewhat
208 - (crypto_verify_pkcs12): validate pkcs#12 keys
210 * libnm-util/crypto_nss.c
211 - (crypto_init): enable various pkcs#12 ciphers
212 - (crypto_decrypt): take a GByteArray rather than data + len
213 - (crypto_verify_cert): clean up
214 - (crypto_verify_pkcs12): validate pkcs#12 keys
216 * libnm-util/test-crypto.c
217 - Handle pkcs#12 keys
219 * libnm-util/nm-setting-8021x.c
220 libnm-util/nm-setting-8021x.h
221 libnm-util/libnm-util.ver
222 - Add two new properties, 'private-key-password' and
223 'phase2-private-key-password', to be used in conjunction with
225 - (nm_setting_802_1x_set_ca_cert_from_file,
226 nm_setting_802_1x_set_client_cert_from_file,
227 nm_setting_802_1x_set_phase2_ca_cert_from_file,
228 nm_setting_802_1x_set_phase2_client_from_file): return certificate
230 - (nm_setting_802_1x_get_private_key_password,
231 nm_setting_802_1x_get_phase2_private_key_password): return private
233 - (nm_setting_802_1x_set_private_key_from_file,
234 nm_setting_802_1x_set_phase2_private_key_from_file): set the private
235 key from a file, and update the private key password at the same time
236 - (nm_setting_802_1x_get_private_key_type,
237 nm_setting_802_1x_get_phase2_private_key_type): return the private
240 * src/supplicant-manager/nm-supplicant-settings-verify.c
241 - Whitelist private key passwords
243 * src/supplicant-manager/nm-supplicant-config.c
244 - (nm_supplicant_config_add_setting_8021x): for pkcs#12 private keys,
245 add the private key password to the supplicant config, but do not
246 add the client certificate (as required by wpa_supplicant)
248 2008-11-12 Tambet Ingo <tambet@gmail.com>
250 * system-settings/plugins/keyfile/nm-keyfile-connection.c (copy_one_secret)
251 (add_secrets): Don't add empty secrets to the secrets hash table.
253 2008-11-07 Dan Williams <dcbw@redhat.com>
255 * libnm-util/nm-setting-wireless.c
256 - (nm_setting_wireless_get_seen_bssid): fix bug from accessor conversion
257 that cased this function to return garbage, breaking hidden AP
260 2008-11-07 Dan Williams <dcbw@redhat.com>
262 Fix deletion of VPN gateway route on DHCP renew (bgo #558133)
264 * src/NetworkManagerSystem.c
265 src/NetworkManagerSystem.h
266 - (nm_system_device_set_ip4_route): return the route that was added
267 - (nm_system_add_ip4_vpn_gateway_route): make add_vpn_gateway_route()
268 public, clean up, and return the route that was added
269 - (nm_system_apply_ip4_config): remove VPN related stuff to simplify,
270 since nm_system_add_ip4_vpn_gateway_route() is now available; add
271 flags to allow only certain attributes of the NMIP4Config to be
275 - (handle_dhcp_lease_change): don't touch the DHCP4 config on failure
276 - (nm_device_set_ip4_config): use nm_ip4_config_diff() to only apply
277 what's really changed between the old and new configs; don't export
278 the new IP4 config on failure; always send the DNS info to the
281 * src/vpn-manager/nm-vpn-connection.c
282 - (device_ip4_config_changed, nm_vpn_connection_new, dispose): track the
283 parent device's IP4Config and re-add the VPN gateway route when it
285 - (nm_vpn_connection_ip4_config_get): add the VPN gateway route (since
286 nm_system_apply_ip4_config() no longer does) and cache it for later
287 - (connection_state_changed): move cleanup code to its own function
288 - (vpn_cleanup): delete any previously added VPN gateway route; and
289 re-apply the parent device's addresses and routes using
290 nm_system_apply_ip4_config(), not nm_device_set_ip4_config()
292 2008-11-07 Dan Williams <dcbw@redhat.com>
294 * src/nm-ip4-config.c
296 - (nm_ip4_config_diff): new function; return the difference between two
298 - (nm_ip4_config_compare): change into nm_ip4_config_diff
300 2008-11-05 Dan Williams <dcbw@redhat.com>
304 - (nm_ip4_config_compare): compare two IP4 configs
306 2008-11-05 Dan Williams <dcbw@redhat.com>
308 * src/NetworkManagerPolicy.c
309 - (update_etc_hosts): only add newline if not the last line of the file
312 2008-11-05 Dan Williams <dcbw@redhat.com>
314 * src/dhcp-manager/nm-dhcp-dhclient.c
315 - (get_leasefile_for_iface): move lease files back to where dhclient
318 2008-11-05 Michael Biebl <mbiebl@gmail.com>
320 * initscripts/Debian/NetworkManager
321 - Update to what Debian is actually using
323 2008-11-05 Tambet Ingo <tambet@gmail.com>
325 * libnm-util/nm-setting-8021x.c: Verify PEAP settings as well.
327 2008-11-03 Dan Williams <dcbw@redhat.com>
329 * system-settings/src/main.c
330 - (add_default_dhcp_connection): make the fallback connection read-only
332 * libnm-glib/nm-settings.c
333 libnm-glib/nm-settings.h
334 - Add detailed errors
335 - (impl_exported_connection_update, impl_exported_connection_delete):
336 return an error if the connection is read-only
338 * system-settings/plugins/ifupdown/nm-ifupdown-connection.c
339 system-settings/plugins/keyfile/nm-keyfile-connection.c
340 system-settings/src/main.c
341 - Use more detailed errors
343 * system-settings/src/nm-system-config-error.c
344 system-settings/src/nm-system-config-error.h
345 system-settings/src/dbus-settings.c
346 - Remove NM_SYSCONFIG_SETTINGS_ERROR_INVALID_CONNECTION, replaced by
347 NM_SETTINGS_ERROR_INVALID_CONNECTION
349 2008-11-02 Dan Williams <dcbw@redhat.com>
351 * Add license headers to everything in src/
353 2008-11-02 Dan Williams <dcbw@redhat.com>
357 2008-11-02 Dan Williams <dcbw@redhat.com>
359 * src/NetworkManagerAP.c
360 - (nm_ap_new_fake_from_connection): treat only lack of a wireless security
361 setting as unencrypted; fixes a bug where NM wouldn't ask for new
362 secrets when connecting to an encrypted network failed
364 2008-10-30 Dan Williams <dcbw@redhat.com>
366 * libnm-util/libnm-util.ver
367 libnm-util/nm-setting-ip6-config.c
368 libnm-util/nm-setting-ip6-config.h
369 libnm-util/Makefile.am
370 - Make properties private and add accessor functions
371 - Hide IPv6 stuff from public API, it's incomplete and completely unused
373 * libnm-util/nm-connection.c
374 libnm-util/nm-utils.c
375 libnm-util/nm-utils.h
376 - Ignore IPv6 stuff for now
378 2008-10-30 Dan Williams <dcbw@redhat.com>
380 * libnm-util/libnm-util.ver
381 libnm-util/nm-setting-8021x.c
382 libnm-util/nm-setting-8021x.h
383 - Make properties private and add accessor functions
385 * src/supplicant-manager/nm-supplicant-config.c
386 system-settings/plugins/ifcfg-suse/parser.c
387 - Use 802.1x setting accessors
389 2008-10-30 Dan Williams <dcbw@redhat.com>
391 * libnm-util/libnm-util.ver
392 libnm-util/nm-setting-wireless-security.c
393 libnm-util/nm-setting-wireless-security.h
394 - Make properties private and add accessor functions
396 * libnm-util/nm-setting-wireless.c
397 src/NetworkManagerAP.c
399 src/supplicant-manager/nm-supplicant-config.c
400 system-settings/plugins/ifcfg-fedora/reader.c
401 system-settings/plugins/ifcfg-suse/parser.c
402 - Use wireless security accessors
404 2008-10-30 Dan Williams <dcbw@redhat.com>
406 * src/nm-device-ethernet.c
409 src/ppp-manager/nm-ppp-manager.c
410 - Harmonize return checking of ioctl
412 * system-settings/plugins/ifcfg-fedora/reader.c
413 - (is_wireless_device): fall back to SIOCGIWNAME (rh #466340)
415 2008-10-30 Dan Williams <dcbw@redhat.com>
417 * src/ppp-manager/nm-ppp-manager.c
418 - (nm_ppp_manager_start): if /dev/ppp doesn't exist, load the
419 ppp_generic module to create it (bgo #533064)
421 2008-10-30 Dan Williams <dcbw@redhat.com>
423 Patch from Alexander Sack <asac@canonical.com>
425 Fix "ppp connections don't honour ip4 connection settings"
427 * src/nm-device-ethernet.c
428 - (real_act_stage4_get_ip4_config): merge ip4config settings
429 with results from ppp manager
431 * src/nm-serial-device.c
432 - (real_act_stage4_get_ip4_config): merge ip4config settings
433 with results from ppp manager
435 2008-10-29 Dan Williams <dcbw@redhat.com>
437 * libnm-util/libnm-util.ver
438 libnm-util/nm-setting-ip4-config.c
439 libnm-util/nm-setting-ip4-config.h
440 - Make properties private and add accessor functions
442 * callouts/nm-dispatcher-action.c
443 libnm-glib/libnm-glib-test.c
444 libnm-util/nm-utils.c
445 src/NetworkManagerPolicy.c
446 src/NetworkManagerSystem.c
447 src/NetworkManagerUtils.c
448 src/dhcp-manager/nm-dhcp-dhclient.c
449 src/dhcp-manager/nm-dhcp-manager.c
450 src/dnsmasq-manager/nm-dnsmasq-manager.c
453 src/nm-hso-gsm-device.c
456 src/ppp-manager/nm-ppp-manager.c
457 src/vpn-manager/nm-vpn-connection.c
458 system-settings/plugins/ifcfg-fedora/reader.c
459 system-settings/plugins/ifcfg-suse/parser.c
460 system-settings/plugins/ifcfg-suse/plugin.c
461 system-settings/plugins/ifupdown/parser.c
463 vpn-daemons/vpnc/properties/nm-vpnc.c
464 - Use IP4 accessor functions
466 2008-10-29 Tambet Ingo <tambet@gmail.com>
468 Half of it by Dan Williams <dcbw@redhat.com>
470 * libnm-util/libnm-util.ver
471 libnm-util/nm-setting-vpn.c
472 libnm-util/nm-setting-vpn.h
473 - Make properties private and add accessor functions.
475 * src/vpn-manager/nm-vpn-connection.c
476 src/vpn-manager/nm-vpn-manager.c
477 system-settings/plugins/keyfile/reader.c
478 vpn-daemons/openvpn/properties/auth-helpers.c
479 vpn-daemons/openvpn/properties/import-export.c
480 vpn-daemons/openvpn/properties/nm-openvpn.c
481 vpn-daemons/openvpn/src/nm-openvpn-service.c
482 vpn-daemons/pptp/auth-dialog/main.c
483 vpn-daemons/pptp/properties/advanced-dialog.c
484 vpn-daemons/pptp/properties/nm-pptp.c
485 vpn-daemons/pptp/src/nm-pptp-service.c
486 vpn-daemons/vpnc/properties/nm-vpnc.c
487 vpn-daemons/vpnc/src/nm-vpnc-service.c
488 - Use VPN setting accessors.
490 2008-10-28 Dan Williams <dcbw@redhat.com>
492 Patch from Tambet Ingo <tambet@gmail.com>
494 * libnm-util/libnm-util.ver
495 libnm-util/nm-setting-wireless.c
496 libnm-util/nm-setting-wireless.h
497 - Make properties private and add accessor functions
499 * src/NetworkManagerAP.c
502 src/supplicant-manager/nm-supplicant-config.c
503 system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
504 system-settings/plugins/ifcfg-fedora/reader.c
505 system-settings/plugins/ifcfg-suse/parser.c
506 system-settings/plugins/ifupdown/parser.c
507 - Use wireless setting accessors
509 2008-10-27 Dan Williams <dcbw@redhat.com>
511 Patch from Tambet Ingo <tambet@gmail.com>
513 * libnm-util/libnm-util.ver
514 libnm-util/nm-setting-ppp.c
515 libnm-util/nm-setting-ppp.h
516 - Make properties private and add accessor functions
518 * src/ppp-manager/nm-ppp-manager.c
519 - Use ppp setting accessors
521 2008-10-27 Dan Williams <dcbw@redhat.com>
523 Patch from Tambet Ingo <tambet@gmail.com>
525 * libnm-util/nm-setting.h
526 libnm-util/nm-setting.c
527 - Make properties private and add accessor functions
529 * libnm-util/nm-connection.c
530 libnm-util/nm-setting-8021x.c
531 libnm-util/nm-setting-cdma.c
532 libnm-util/nm-setting-connection.c
533 libnm-util/nm-setting-gsm.c
534 libnm-util/nm-setting-ip4-config.c
535 libnm-util/nm-setting-ip6-config.c
536 libnm-util/nm-setting-ppp.c
537 libnm-util/nm-setting-pppoe.c
538 libnm-util/nm-setting-serial.c
539 libnm-util/nm-setting-template.c
540 libnm-util/nm-setting-vpn.c
541 libnm-util/nm-setting-wired.c
542 libnm-util/nm-setting-wireless-security.c
543 libnm-util/nm-setting-wireless.c
544 system-settings/plugins/keyfile/reader.c
545 system-settings/plugins/keyfile/writer.c
546 - Use setting accessors
548 2008-10-27 Dan Williams <dcbw@redhat.com>
550 * libnm-util/libnm-util.ver
551 libnm-util/nm-setting-connection.c
552 libnm-util/nm-setting-connection.h
553 - Add a 'read-only' property that indicates the connection cannot be
556 * system-settings/plugins/ifcfg-fedora/reader.c
557 system-settings/plugins/ifcfg-suse/parser.c
558 system-settings/plugins/ifupdown/parser.c
559 - These plugins are read-only at the moment
561 * system-settings/plugins/keyfile/reader.c
562 system-settings/plugins/keyfile/writer.c
563 - Read-only shouldn't get saved out to files or read in from them
565 2008-10-27 Tambet Ingo <tambet@gmail.com>
567 * src/nm-device-ethernet.c (nm_device_ethernet_get_speed): Implement
568 correct speed reporting for fast devices (kernel >= 2.6.27).
570 2008-10-26 Dan Williams <dcbw@redhat.com>
572 Attempt to compensate for modems that don't enable full AT parsing before
573 the PIN has been entered.
575 * src/nm-gsm-device.c
576 - (init_modem): accept different init strings
577 - (init_done): try different init strings on failure
578 - (check_pin_done): on PIN success, do full modem init
580 2008-10-26 Dan Williams <dcbw@redhat.com>
582 Patch from Tambet Ingo <tambet@gmail.com>
584 * libnm-util/libnm-util.ver
585 libnm-util/nm-setting-connection.c
586 libnm-util/nm-setting-connection.h
587 - Make properties private and add accessor functions
589 * src/NetworkManagerPolicy.c
591 src/nm-device-ethernet.c
592 src/nm-device-interface.c
596 src/ppp-manager/nm-ppp-manager.c
597 src/vpn-manager/nm-vpn-connection.c
598 system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
599 system-settings/plugins/ifcfg-fedora/plugin.c
600 system-settings/plugins/ifcfg-fedora/reader.c
601 system-settings/plugins/ifcfg-suse/parser.c
602 system-settings/plugins/ifupdown/parser.c
603 system-settings/plugins/keyfile/nm-keyfile-connection.c
604 system-settings/plugins/keyfile/plugin.c
605 system-settings/plugins/keyfile/writer.c
606 system-settings/src/main.c
607 - Use those accessors
609 2008-10-26 Dan Williams <dcbw@redhat.com>
611 Patch from Tambet Ingo <tambet@gmail.com>
613 * libnm-util/libnm-util.ver
614 libnm-util/nm-setting-gsm.c
615 libnm-util/nm-setting-gsm.h
616 - Make properties private and add accessor functions
618 * src/nm-gsm-device.c
619 src/nm-hso-gsm-device.c
620 src/ppp-manager/nm-ppp-manager.c
621 - Use those accessors
623 2008-10-26 Dan Williams <dcbw@redhat.com>
625 Patch from Tambet Ingo <tambet@gmail.com>
627 * libnm-util/libnm-util.ver
628 libnm-util/nm-setting-cdma.c
629 libnm-util/nm-setting-cdma.h
630 - Make properties private and add accessor functions
632 * src/nm-cdma-device.c
633 src/ppp-manager/nm-ppp-manager.c
634 - Use those accessors
636 2008-10-26 Dan Williams <dcbw@redhat.com>
638 Patch from Tambet Ingo <tambet@gmail.com>
640 * libnm-util/libnm-util.ver
641 libnm-util/nm-setting-pppoe.c
642 libnm-util/nm-setting-pppoe.h
643 - Make properties private and add accessor functions
645 * src/nm-device-ethernet.c
646 src/ppp-manager/nm-ppp-manager.c
647 - Use those accessors
649 2008-10-26 Dan Williams <dcbw@redhat.com>
651 Patch from Tambet Ingo <tambet@gmail.com>
653 * libnm-util/libnm-util.ver
654 libnm-util/nm-setting-wired.c
655 libnm-util/nm-setting-wired.h
656 - Make properties private and add accessor functions
658 * src/nm-device-ethernet.c
659 system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
660 system-settings/plugins/ifcfg-suse/parser.c
661 system-settings/src/main.c
662 - Use those accessors
664 2008-10-26 Dan Williams <dcbw@redhat.com>
666 Patch from Tambet Ingo <tambet@gmail.com>
668 * libnm-util/libnm-util.ver
669 libnm-util/nm-setting-serial.c
670 libnm-util/nm-setting-serial.h
671 src/nm-serial-device.c
672 - Make properties private and use accessors instead
674 2008-10-26 Dan Williams <dcbw@redhat.com>
676 * src/supplicant-manager/nm-supplicant-interface.c
677 src/supplicant-manager/nm-supplicant-interface.h
678 src/supplicant-manager/nm-supplicant-manager.c
679 src/supplicant-manager/nm-supplicant-manager.h
680 - Add state-to-string conversion functions
682 * src/nm-device-wifi.c
683 src/nm-device-ethernet.c
684 - Normalize state info logging and use strings instead of numbers
686 2008-10-26 Dan Williams <dcbw@redhat.com>
688 * src/NetworkManagerPolicy.c
689 - (update_routing_and_dns): ignore host routes when determining whether
690 a VPN connection should own the default route (bgo #552594)
692 2008-10-24 Dan Williams <dcbw@redhat.com>
694 * src/nm-gsm-device.c
695 - (set_apn): remove erroneous spaces in AT+CGDCONT command (Jerone Young)
697 2008-10-23 Dan Williams <dcbw@redhat.com>
699 * src/ppp-manager/nm-ppp-manager.c
700 - (create_pppd_cmd_line): pppd always parses /etc/ppp/options, so always
701 add really important stuff to the command line to ensure that NM
702 overrides /etc/ppp/options (bgo #556781)
704 2008-10-22 Dan Williams <dcbw@redhat.com>
706 * src/NetworkManagerSystem.c
708 - Use the device's IP interface where appropriate (Per Hallsmark)
710 2008-10-22 Dan Williams <dcbw@redhat.com>
712 * src/nm-gsm-device.c
713 - (schedule_automatic_registration_again): use a short timeout here
714 instead of an idle handler to avoid using too much CPU polling for
715 something we should be waiting a bit for anyway
717 2008-10-22 Dan Williams <dcbw@redhat.com>
719 * include/NetworkManager.h
720 introspection/nm-device.xml
721 - Add device state change reason for carrier changes
723 * src/nm-device-ethernet.c
724 - (set_carrier): use the carrier change reason when changing device
725 state in response to carrier changes
727 2008-10-21 Dan Williams <dcbw@redhat.com>
729 * src/NetworkManagerPolicy.c
730 - (update_etc_hosts): don't leak errors, and ensure that
731 g_file_set_contents() gets a valid error placeholder (rh #461933)
733 2008-10-21 Dan Williams <dcbw@redhat.com>
736 - (free_get_settings_info): don't use the DBusGProxy which could be
737 disposed of by the time the function is called
738 - (internal_new_connection_cb): save connection scope
739 - (connection_get_settings_cb): don't replace a connection unless it's
740 actually different from the existing one; fixes an issue where
741 killing the settings service wouldn't deactivate an active connection
742 provided by that settings service, because it was using a connection
743 that had already been replaced in the system or user hash
745 2008-10-21 Dan Williams <dcbw@redhat.com>
747 * src/NetworkManager.c
748 - (main): keep the DHCP manager around since it's a singleton; fixes
749 a use-after-free exposed by r4196 since the DHCP manager singleton
750 variable isn't cleared when the DHCP manager object is finalized
752 2008-10-20 Dan Williams <dcbw@redhat.com>
754 * libnm-util/nm-setting-wireless-security.c
755 - (verify): accept 'none' as a pairwise cipher with Ad-Hoc WPA connections
757 2008-10-20 Dan Williams <dcbw@redhat.com>
759 * src/supplicant-manager/nm-supplicant-config.c
760 - (ADD_STRING_LIST_VAL): don't add empty values to the supplicant config
762 2008-10-20 Dan Williams <dcbw@redhat.com>
764 * src/dhcp-manager/nm-dhcp-manager.c
765 - (nm_dhcp_manager_get): fix mismatched refcount; creating the dhcp
766 manager object already refs it once
767 - (nm_dhcp_manager_cancel_transaction_real): clear freed variables that
768 also get cleaned up by nm_dhcp_device_destroy() to prevent
771 2008-10-20 Dan Williams <dcbw@redhat.com>
774 - (initial_get_connections): use private dbus manager, don't keep
775 ref-ing the singleton. Fixes mismatched refcounts of the dbus
778 2008-10-18 Dan Williams <dcbw@redhat.com>
780 * libnm-glib/nm-settings.c
781 libnm-glib/nm-settings.h
782 - Rename the "get_secrets" virtual function "service_get_secrets" to
783 clarify when it's used; NMExportedConnetion is a base-class for both
784 the client and service side, which is sort of confusing, and
785 get_secrets only makes sense on the service side.
787 * libnm-glib/nm-dbus-connection.c
788 - (get_secrets): remove, unused, and clients need to do extra work to
789 get secrets anyway since the call can block on the remote side
791 * system-settings/plugins/ifupdown/nm-ifupdown-connection.c
792 system-settings/plugins/keyfile/nm-keyfile-connection.c
793 - Fix up for get_secrets -> service_get_secrets
795 2008-10-16 Dan Williams <dcbw@redhat.com>
797 * src/nm-device-wifi.c
798 - (constructor): correctly determine encryption capabilities
800 2008-10-15 Dan Williams <dcbw@redhat.com>
802 * src/nm-device-wifi.c
803 - (wireless_qual_to_percent): fix quality calculation in a fallback case
806 2008-10-15 Dan Williams <dcbw@redhat.com>
808 * src/NetworkManagerSystem.c
809 - (ip4_dest_in_same_subnet): tighter checks on subnet matching,
810 if the ip4_dest is in a smaller subnet contained within a subnet
811 the machine is currently on, the destination is in the same subnet
812 - (nm_system_device_set_ip4_route): move subnet checks to callers
813 - (add_vpn_gateway_route): check if the VPN gateway is in the same
814 subnet as the parent device, and if so, don't add the direct
815 host route via the parent device's gateway (bgo #481620)
816 - (nm_system_apply_ip4_config): check whether the route to be added
817 is contained within a subnet the device is already on
819 2008-10-11 Dan Williams <dcbw@redhat.com>
821 * include/NetworkManager.h
822 introspection/nm-device.xml
823 include/NetworkManagerVPN.h
824 - Add a few more state reasons for the device deactivated state
826 * src/nm-device-interface.c
827 src/nm-device-interface.h
828 - (nm_device_interface_deactivate): add a 'reason' argument
832 - (nm_device_deactivate, nm_device_take_down): add a 'reason' argument
833 - (nm_device_state_changed): pass the state change reason to
834 nm_device_take_down()
835 - (nm_device_set_managed): take a 'reason' argument, and pass it along
836 to the state change function
840 - (remove_one_device, handle_unmanaged_devices, sync_devices,
841 impl_manager_sleep): pass a reason code to nm_device_set_managed()
842 - (nm_manager_deactivate_connection): add a 'reason' argument and pass
843 something reasonable along to VPN deactivation
845 * src/vpn-manager/nm-vpn-manager.c
846 src/vpn-manager/nm-vpn-manager.h
847 - (nm_vpn_manager_deactivate_connection): add a 'reason' argument and
848 pass that along to nm_vpn_connection_disconnect()
850 2008-10-11 Dan Williams <dcbw@redhat.com>
852 * src/nm-device-wifi.c
853 - (can_scan): remove old madwifi hack for not scanning while connected
855 2008-10-11 Dan Williams <dcbw@redhat.com>
857 Add support for VPN subnet gateways (bgo #549196)
859 * include/NetworkManager.h
860 - Add key for internal VPN subnet gateway
862 * src/vpn-manager/nm-vpn-connection.c
863 - (ip_address_to_string): return a const from a static buffer so we
864 don't leak a lot of strings
865 - (print_vpn_config): print internal VPN gateway as well
866 - (nm_vpn_connection_ip4_config_get): grab internal VPN gateway from
868 - (nm_vpn_connection_get_ip4_internal_gateway): new function
870 * src/NetworkManagerSystem.c
871 src/NetworkManagerSystem.h
872 - (nm_system_device_replace_default_ip4_route): split into two, one for
873 VPN connections and one for normal devices
874 - (replace_default_ip4_route): break out route stuff into its own function
875 - (nm_system_replace_default_ip4_route_vpn,
876 nm_system_replace_default_ip4_route): simplify by having two cases,
877 one for VPNs and one for normal devices
879 * src/NetworkManagerPolicy.c
880 - (update_routing_and_dns): simplify, use split default route replacement
883 2008-10-10 Dan Williams <dcbw@redhat.com>
885 Rework default route handling to consolidate decisions in the policy,
886 and to take active VPN connections into account when changing the default
889 * src/NetworkManager.c
890 - (main): pass the vpn_manager to the policy so it knows about active
891 VPN connections; clean up the named manager which wasn't done before
893 * src/NetworkManagerPolicy.c
894 src/NetworkManagerPolicy.h
895 - (nm_policy_new): get a clue about the vpn_manager
896 - (update_default_route): remove, fold into update_routing_and_dns()
897 - (update_routing_and_dns): handle active VPN connections too; an
898 active VPN connection becomes the default route if it does not have
899 server-specified or user-specified custom routes. Otherwise, the
900 best active device gets the default route
901 - (vpn_connection_activated, vpn_connection_deactivated, nm_policy_new,
902 nm_policy_destroy): track VPN connection activation and deactivation
903 and update the default route when appropriate
905 * src/NetworkManagerSystem.c
906 src/NetworkManagerSystem.h
907 - (nm_system_vpn_device_unset_from_ip4_config): remove, put functionality
908 in the VPN connection itself
909 - (nm_system_vpn_device_set_from_ip4_config,
910 nm_system_device_set_from_ip4_config): merge together to make
911 nm_system_apply_ip4_config()
912 - (add_vpn_gateway_route): add a route to the VPN's external gateway
913 via the parent device
914 - (nm_system_apply_ip4_config): simplify
915 - (add_ip4_route_to_gateway): new function; add a direct route to the
917 - (nm_system_device_replace_default_ip4_route): simplify, break gateway
918 route stuff out into add_ip4_route_to_gateway() for clarity
921 - (nm_device_set_ip4_config): update for nm_system_apply_ip4_config()
923 * src/vpn-manager/nm-vpn-connection.c
924 src/vpn-manager/nm-vpn-connection.h
925 - (nm_vpn_connection_get_ip4_config, nm_vpn_connection_get_ip_iface,
926 nm_vpn_connection_get_parent_device): add
927 - (nm_vpn_connection_ip4_config_get): make the requirement of a tunnel
929 - (connection_state_changed): update the named manager now that
930 nm_system_vpn_device_unset_from_ip4_config() is gone; do something
933 * src/vpn-manager/nm-vpn-manager.c
934 src/vpn-manager/nm-vpn-manager.h
935 - Add a 'connection-activated' signal
936 - (nm_vpn_manager_get_active_connections): new function; mainly for the
937 policy to find out about active VPN connections
939 2008-10-10 Tambet Ingo <tambet@gmail.com>
941 * src/nm-logging.c (nm_logging_setup): Don't use LOG_CONS when running as
942 a daemon to prevent NM logging spew on console on startup and shutdown (due
943 to dependency loop between NM and syslog).
945 2008-10-10 Alexander Sack <asac@ubuntu.com>
947 Implement managed mode. We bind devices configured in /etc/network/interfaces
948 to their connections by updating wired/wireless setting with the
949 mac address of the device.
951 * system-settings/plugins/ifupdown/plugin.c
952 - (get_net_address_for_udi): implement function to retrieve MAC
953 address of udi from hal in GByteArray format
954 - (bind_device_to_connection): bind mac address of device to
955 wired/wireless system connection
956 - (hal_device_added_cb): call bind_device_to_connection for
957 system connections with a matching interface.name
958 - (hal_device_added_cb): ensure that all code paths
959 properly free the "iface" string.
961 2008-10-10 Alexander Sack <asac@ubuntu.com>
963 Parse nm-system-settings.conf and allow admins to either use managed and unmanaged
964 mode of the ifupdown system config plugin.
966 * system-settings/plugins/ifupdown/plugin.c
967 - (SCPluginIfupdown_init): parse nm-system-settings.conf keyfile and set
968 private unmanage_well_known state field accordingly
970 2008-10-10 Alexander Sack <asac@ubuntu.com>
972 Implement unmanaged mode that will prevent all devices in the
973 well_known_udis set from being touched by NetworkManager
975 * system-settings/plugins/ifupdown/plugin.c
976 - (typedef struct SCPluginIfupdownPrivate): add gboolean
977 unmanage_well_known field used to turn on/off unmanaged
979 - (hal_device_added_cb,hal_device_remove_cb): emit |unmanaged-devices-changed|
980 signal when well_known_udis get added/removed
981 - (SCPluginIfupdown_get_unmanaged_devices): return all well_known_udis
982 if we are in unmanaged mode
984 2008-10-10 Alexander Sack <asac@ubuntu.com>
986 Add support to track network devices that have a configuration
987 with a matching interface.name in /etc/network/interfaces
989 * system-settings/plugins/ifupdown/plugin.c
990 - (typedef struct SCPluginIfupdownPrivate): add hash table
991 to track |well_known_udis|
992 - (get_iface_for_udi): helper function to get interface.name
994 - (hal_device_added_cb, hal_device_removed_cb): callbacks
995 that add and remove devices to and from the well_known_udis
996 set depending on whether their |interface.name| matches
997 any interface definition in /etc/network/interfaces
998 - (SCPluginIfupdown_init): connect callbacks from above with
999 hal_mgr and setup well_known_udis hashtable
1000 - (GObject__dispose): destroy well_known_udis hashtable
1001 - (hal_device_added_cb2): implement wrapper callback with GFunc
1002 signature. user_data is supposed to be a triple (hal_mgr,
1004 - (SCPluginIfupdown_init): bootstrap wired and wifi devices for
1005 startup and call hal_device_added_cb2
1007 2008-10-10 Alexander Sack <asac@ubuntu.com>
1009 Remove implementation for not used NMSystemConfigInterface callback functions
1012 * system-settings/plugins/ifupdown/plugin.c
1013 - (SCPluginIfupdown_unmanaged_devices_changed): removed
1014 - (SCPluginIfupdown_connection_added): removed
1016 2008-10-08 Dan Williams <dcbw@redhat.com>
1018 Add a 'hostname' dispatcher action triggered on hostname changes (bgo #552983)
1020 * src/NetworkManagerUtils.c
1021 - (nm_utils_call_dispatcher): add a 'hostname' action
1023 * src/NetworkManagerPolicy.c
1024 - (set_system_hostname): dispatch hostname changes
1026 * callouts/nm-dispatcher-action.c
1027 - (nm_dispatcher_action): handle 'hostname' actions
1029 2008-10-08 Dan Williams <dcbw@redhat.com>
1031 * src/NetworkManagerSystem.c
1032 - (find_route): ref the route so it doesn't get destroyed when the cache
1034 - (nm_system_device_set_priority): unref the route here after it's done
1037 2008-10-08 Dan Williams <dcbw@redhat.com>
1039 * src/nm-serial-device.c
1040 - Turn on serial debugging when NM_SERIAL_DEBUG is set in the environment
1042 2008-10-08 Tambet Ingo <tambet@gmail.com>
1044 * system-settings/plugins/keyfile/nm-keyfile-connection.c (update): Update the
1045 connection with new settings before saving it.
1047 2008-10-06 Dan Williams <dcbw@redhat.com>
1049 * src/nm-ip4-config.c
1051 - nm_ip4_config_is_exported -> nm_ip4_config_get_dbus_path
1053 * src/nm-device-interface.c
1054 - (nm_device_interface_init): make 'ip4-config' a boxed property of type
1055 DBUS_TYPE_G_OBJECT_PATH so that we can make it NULL when we need to
1056 by using '/' for the object path
1059 - (src/nm-device.c): marshal missing/unexported ip4-config through
1060 dbus as '/' since dbus-glib can't handle NULL objects nor can
1061 dbus handle NULL object paths
1063 2008-10-03 Alexander Sack <asac@ubuntu.com>
1065 Implement system hostname support for debian/ubuntu
1067 * system-settings/plugins/ifupdown/plugin.c
1068 - (GObject__get_property): extend announced capabilities; add
1069 NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME support
1070 - (GObject__set_property,write_system_hostname): implement
1071 NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME capability.
1072 - (GObject__set_property, GObject__get_property, SCPluginIfupdown_init,
1073 update_system_hostname, get_hostname):
1074 implement hostname property that watches and
1075 parses /etc/hostname
1077 2008-10-03 Alexander Sack <asac@ubuntu.com>
1079 * system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
1080 system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
1081 system-settings/plugins/ifcfg-fedora/Makefile.am
1082 system-settings/src/nm-inotify-helper.c
1083 system-settings/src/nm-inotify-helper.h
1085 - Move ifcfg-fedora inotify helpers to the system settings service so
1086 they are available to all plugins
1088 2008-10-03 Alexander Sack <asac@ubuntu.com>
1090 Implement support for wep-tx-keyidx in ifupdown system
1093 * system-settings/plugins/ifupdown/parser.c
1094 - (update_wireless_security_setting_from_if_block): introduce
1095 free_type_mapping func table; rename a few local
1096 variables to improve readability; add wpa security mapping
1097 for wep-tx-keyidx property
1098 - (string_to_gpointerint): new function used for the auto_type_mapping
1099 of new wep-tx-keyidx property
1100 - (slist_free_all): free func used for mapped slist types
1102 2008-10-03 Alexander Sack <asac@ubuntu.com>
1104 * system-settings/src/main.c:
1105 - (add_default_dhcp_connection, device_removed_cb): ensure the UDI is
1106 always used as the hash key; fixes a crash when removing wired
1109 2008-10-02 Dan Williams <dcbw@redhat.com>
1111 * src/nm-gsm-device.c
1112 - (enter_pin_done, enter_pin, check_pin_done, real_act_stage1_prepare):
1113 pass the required GSM secret along via user_data rather than keeping
1114 it around in the private data where it sometimes didn't get cleared
1115 - (real_get_ppp_name): implement using the GSM username
1117 2008-10-02 Dan Williams <dcbw@redhat.com>
1119 * src/ppp-manager/nm-ppp-manager.c
1120 src/ppp-manager/nm-ppp-manager.h
1121 - (impl_ppp_manager_need_secrets): tries secrets twice before asking
1122 the settings daemon for completely new ones
1123 - (create_pppd_cmd_line): new parameter 'ppp_name' used to set the
1124 local PPP peer name; allow PPP debuging by launching NM with
1125 the environment variable NM_PPP_DEBUG defined
1126 - (nm_ppp_manager_start): new parameter 'ppp_name' passed to
1127 create_pppd_cmd_line()
1129 * src/nm-serial-device.c
1130 src/nm-serial-device.h
1131 - New 'get_ppp_name' function for subclasses to implement to return the
1133 - (real_act_stage2_config): call 'get_ppp_name' function of subclasses
1134 and pass that name to the PPP manager
1136 * src/nm-device-ethernet.c
1137 - (pppoe_stage2_config): pass the PPPoE username to the PPP manager as
1140 * src/nm-cdma-device.c
1141 - (real_get_ppp_name): implement using the CDMA username
1143 2008-10-02 Dan Williams <dcbw@redhat.com>
1145 Patch from Alexander Sack <asac ubuntu com>
1147 * system-settings/plugins/ifupdown/parser.c
1148 - Implement more graceful ip4 config parsing for cases where
1149 /etc/network/interfaces omits basic ip4 settings, such as gateway etc
1150 by using default values
1152 2008-10-02 Dan Williams <dcbw@redhat.com>
1154 * src/NetworkManagerPolicy.c
1155 - (device_state_changed): when marking a connection invalid, clear its
1156 secrets too so that fresh secrets get requested the next time
1158 2008-10-01 Dan Williams <dcbw@redhat.com>
1160 * system-settings/src/dbus-settings.c
1161 - (nm_sysconfig_settings_init): cache system hostname on startup as
1162 a fallback if no plugin provides a hostname
1163 - (get_property): fall back to cached hostname if no plugin provides
1166 2008-10-01 Dan Williams <dcbw@redhat.com>
1168 Fix setting value comparison issue that caused some settings to look the
1169 same when they were really different (rh #464417)
1171 * libnm-util/nm-param-spec-specialized.c
1172 - (type_is_fixed_size): return fundamental size of the fixed type too
1173 - (nm_gvalues_compare_collection): use the fundamental fixed type size
1174 in the comparison so that the _entire_ fixed type collection gets
1175 compared rather than just the first 'len1' bytes
1177 2008-09-30 Dan Williams <dcbw@redhat.com>
1179 * src/NetworkManagerPolicy.c
1180 - (lookup_thread_worker): don't store the idle handler ID becuase the
1181 idle handler could have already run and freed the LookupThread
1184 2008-09-30 Tambet Ingo <tambet@gmail.com>
1186 * src/nm-device.c (nm_device_get_priority): Implement.
1187 (nm_device_set_ip4_config): Send the device priority to system ip4
1190 * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config):
1191 Add priority argument and if it's >= 0, set the priority of the network
1192 route added automatically by netlink (or kernel?).
1193 (nm_system_device_set_priority): Implement.
1195 * src/NetworkManagerPolicy.c (get_best_device): Use
1196 nm_device_get_priority() instead of home-grown version. Revert the
1197 meaning, best priority is the lowest one.
1199 2008-09-29 Dan Williams <dcbw@redhat.com>
1201 Handle ipw3945 suspend/resume by retrying the GIWRANGE request a few times
1202 when it returns EAGAIN (rh #362421)
1204 * src/nm-device-wifi.c
1205 - (wireless_get_range): try GIWRANGE a few times until the card responds
1206 - (real_get_generic_capabilities, constructor): use wireless_get_range()
1208 2008-09-28 Dan Williams <dcbw@redhat.com>
1210 * src/nm-serial-device.c
1211 src/nm-serial-device.h
1212 - (nm_serial_device_close): stop PPP manager here so that PPP gets
1213 cleaned at the right times when subclasses close the serial port too
1214 - (nm_serial_device_send_command): use a default send delay; don't
1215 spin forever on EAGAIN
1216 - (get_reply_done, get_reply_got_data, nm_serial_device_get_reply):
1217 remove, no longer used
1218 - (find_response): return the matched response if any
1219 - (nm_serial_device_wait_reply_blocking): wait for a reply but block
1221 - (wait_for_reply_done): pass the matched response to the callback
1222 - (wait_for_reply_got_data): save the matched response; simplify timeout
1224 - (nm_serial_device_wait_for_reply): make 'responses' and 'terminators'
1225 const since they never get modified
1226 - (cleanup_device): split out common cleanup stuff to a new function
1227 - (real_deactivate_quickly, finalize): use cleanup_device()
1229 * src/nm-gsm-device.c
1230 - (modem_get_reply): remove, unused
1231 - (set_apn): give the card a bit more time to respond
1232 - (manual_registration_again, schedule_manual_registration_again,
1233 manual_registration_response, manual_registration): handle manual
1234 registration timeouts better by retrying registration a few times
1235 because cards are a bit slow after CFUN=1
1236 - (automatic_registration_get_network, get_network_response): use
1237 modem_wait_for_reply() because it interacts better with the serial
1238 buffer and does more intelligent matching; need to wait for 'OK'
1239 rather than just matching terminators
1240 - (schedule_automatic_registration_again,
1241 automatic_registration_response, automatic_registration): retry
1242 registration a few times on timeout or "searching" because cards
1243 take a bit to find a network after being powered up with CFUN=1
1244 - (power_up_response, power_up, init_full_done, enter_pin,
1245 check_pin_done): power up the card with CFUN=1 before trying to
1246 register with the network
1247 - (init_modem_full, init_modem): use more standard 3G init strings
1249 * src/nm-hso-gsm-device.c
1250 - (modem_get_reply): remove, unused
1251 - (hso_ip4_config_response, real_act_stage3_ip_config_start): use
1252 modem_wait_for_reply() to match actual responses instead of single
1253 termination characters; it doesn't leave stuff in the serial buffer
1254 that might confuse later calls
1255 - (real_deactivate_quickly): use nm_serial_device_wait_reply_blocking()
1256 to ensure that the call is really disconnected and not leave extra
1257 stuff in the serial buffer
1259 * src/nm-cdma-device.c
1260 - (power_up_response, power_up, init_done): try Sierra-style modem
1261 power up before attempting to connect
1263 2008-09-27 Dan Williams <dcbw@redhat.com>
1265 * libnm-util/nm-setting-gsm.c
1266 - (verify): verify GSM network ID
1268 2008-09-25 Dan Williams <dcbw@redhat.com>
1270 * libnm-util/nm-setting-gsm.c
1271 libnm-util/nm-setting-gsm.h
1272 - Fix up NM_GSM_NETWORK_* constants to accurately reflect the network
1273 technology terms (bgo #551361)
1275 2008-09-25 Dan Williams <dcbw@redhat.com>
1277 Fix bgo #549401 (inspired by patch from Alexander Sack)
1279 * src/nm-device-ethernet.c
1280 - (finish_supplicant_task): clean up scheduled tasks and free memory
1281 - (remove_supplicant_interface_error_handler): remove the supplicant
1282 error idle callback too
1283 - (supplicant_interface_release): rename from supplicant_interface_clean
1284 to match nm-device-wifi.c; clean up supplicant interface-related
1285 state tasks when the supplicant interface is disposed of
1286 - (schedule_state_handler): add scheduled tasks to a list so they can
1288 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
1289 supplicant_iface_connection_state_cb_handler): use
1290 finish_supplicant_task() to clean up each completed task
1291 - (supplicant_iface_connection_error_cb_handler,
1292 supplicant_connection_timeout_cb): clear source id when the task is
1294 - (supplicant_iface_connection_error_cb): save scheduled task id for
1296 - (nm_device_ethernet_dispose): clean up any pending supplicant state
1299 * src/nm-device-wifi.c
1300 - (finish_supplicant_task): clean up scheduled tasks and free memory
1301 - (remove_supplicant_interface_error_handler): remove the supplicant
1302 error idle callback too
1303 - (supplicant_interface_release): clean up supplicant interface-related
1304 state tasks when the supplicant interface is disposed of
1305 - (schedule_state_handler): add scheduled tasks to a list so they can
1307 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
1308 supplicant_iface_connection_state_cb_handler): use
1309 finish_supplicant_task() to clean up each completed task
1310 - (supplicant_iface_connection_error_cb_handler): clear source id when
1311 the task is complete
1312 - (supplicant_iface_connection_error_cb): save scheduled task id for
1314 - (nm_device_wifi_dispose): clean up any pending supplicant state tasks
1316 2008-09-24 Tambet Ingo <tambet@gmail.com>
1318 * system-settings/plugins/keyfile/plugin.c: Implement unmanaged_devices
1319 method and get/set hostname property.
1321 2008-09-24 Tambet Ingo <tambet@gmail.com>
1323 * src/supplicant-manager/nm-supplicant-interface.c
1324 (nm_supplicant_interface_disconnect): Don't increment the reference
1325 count when disconnecting. The problem is on shutdown, when the replies
1326 to these commands do not arrive before NM exits, resulting on never
1327 calling supplicant interface's dispose(), which removes the interface
1330 2008-09-24 Tambet Ingo <tambet@gmail.com>
1332 * libnm-glib/nm-vpn-plugin-ui-interface.c: Add type checking to
1333 all the public function arguments.
1335 2008-09-22 Tambet Ingo <tambet@gmail.com>
1337 * src/vpn-manager/nm-vpn-connection.c: Add a signal handler for the
1338 "Failure" signal from VPN plugins, store the failure reason, and
1339 use it when the state is changed to failure.
1341 * introspection/nm-vpn-plugin.xml: Fix the "Failure" signal's type
1344 * include/NetworkManagerVPN.h (NMVPNConnectionStateReason): Add a new
1345 reason to the end of the list to not break the API.
1346 (NMVPNPluginFailure): Move it here (from libnm-glib/nm-vpn-plugin.h)
1347 so it can be shared by plugins and daemon.
1349 2008-09-18 Dan Williams <dcbw@redhat.com>
1351 Patch from Alexander Sack <asac@ubuntu.com>
1354 system-settings/plugins/Makefile.am
1355 system-settings/plugins/ifupdown/Makefile.am
1356 system-settings/plugins/ifupdown/interface_parser.c
1357 system-settings/plugins/ifupdown/interface_parser.h
1358 system-settings/plugins/ifupdown/nm-ifupdown-connection.c
1359 system-settings/plugins/ifupdown/nm-ifupdown-connection.h
1360 system-settings/plugins/ifupdown/parser.c
1361 system-settings/plugins/ifupdown/parser.h
1362 system-settings/plugins/ifupdown/plugin.c
1363 system-settings/plugins/ifupdown/plugin.h
1364 - Implement a Debian/Ubuntu legacy network configuration plugin
1367 2008-09-18 Dan Williams <dcbw@redhat.com>
1369 Implement support for honoring configured and automatic hostnames, and for
1370 setting the configured hostname.
1372 * introspection/nm-ip4-config.xml
1375 src/dhcp-manager/nm-dhcp-manager.c
1376 - Remove useless hostname property; it's not really part of the IPv4
1379 * introspection/nm-settings-system.xml
1380 libnm-glib/nm-dbus-settings-system.c
1381 libnm-glib/nm-dbus-settings-system.h
1382 - Add SetHostname() call to system settings D-Bus interface
1383 - Add Hostname property to system settings D-Bus interface
1384 - (nm_dbus_settings_system_save_hostname,
1385 nm_dbus_settings_system_get_hostname): implement
1389 - (nm_device_get_dhcp4_config): implement
1393 - Fetch and track system settings service hostname changes, and proxy
1394 the changes via a GObject property of the manager
1396 * system-settings/src/nm-system-config-interface.c
1397 system-settings/src/nm-system-config-interface.h
1398 - Replace nm_system_config_interface_supports_add() with a capabilities
1401 * system-settings/src/nm-system-config-error.c
1402 system-settings/src/nm-system-config-error.h
1403 - Add additional errors
1405 * system-settings/src/dbus-settings.c
1406 system-settings/src/dbus-settings.h
1407 - (get_property, nm_sysconfig_settings_class_init): add hostname
1408 property; first plugin returning a hostname wins
1409 - (impl_settings_add_connection): use plugin capabilities instead of
1410 nm_system_config_interface_supports_add()
1411 - (impl_settings_save_hostname): implement hostname saving
1413 * src/NetworkManagerPolicy.c
1414 - (lookup_thread_run_cb, lookup_thread_worker, lookup_thread_new,
1415 lookup_thread_die): implement an asynchronous hostname lookup thread
1416 which given an IPv4 address tries to look up the hostname for that
1417 address with reverse DNS
1418 - (get_best_device): split out best device code from
1419 update_routing_and_dns()
1420 - (update_etc_hosts): update /etc/hosts with the machine's new hostname
1421 to preserve the 127.0.0.1 reverse mapping that so many things require
1422 - (set_system_hostname): set a given hostname
1423 - (update_system_hostname): implement hostname policy; a configured
1424 hostname (from the system settings service) is used if available,
1425 otherwise an automatically determined hostname from DHCP, VPN, etc.
1426 If there was no automatically determined hostname, reverse DNS of
1427 the best device's IP address will be used, and as a last resort the
1428 hostname 'localhost.localdomain' is set.
1429 - (update_routing_and_dns): use get_best_device(); update the system
1430 hostname when the network config changes
1431 - (hostname_changed): update system hostname if the system settings
1432 service signals a hostname change
1433 - (nm_policy_new): list for system settings service hostname changes
1434 - (nm_policy_destroy): ensure that an in-progress hostname lookup thread
1437 * system-settings/plugins/keyfile/plugin.c
1438 system-settings/plugins/ifcfg-suse/plugin.c
1439 - (get_property, sc_plugin_ifcfg_class_init): implement hostname and
1440 capabilities properties
1442 * system-settings/plugins/ifcfg-fedora/shvar.c
1443 - (svOpenFile): re-enable R/W access of ifcfg files since the plugin
1444 writes out /etc/sysconfig/network now
1446 * system-settings/plugins/ifcfg-fedora/plugin.c
1447 - (plugin_get_hostname): get hostname from /etc/sysconfig/network
1448 - (plugin_set_hostname): save hostname to /etc/sysconfig/network
1449 - (sc_network_changed_cb): handle changes to /etc/sysconfig/network
1450 - (sc_plugin_ifcfg_init): monitor /etc/sysconfig/network for changes
1451 - (get_property, set_property, sc_plugin_ifcfg_class_init): implement
1452 hostname get/set and capabilities get
1454 2008-09-18 Dan Williams <dcbw@redhat.com>
1456 * libnm-util/nm-setting-wireless.c
1457 - (nm_setting_wireless_ap_security_compatible): only verify pairwise and
1458 group ciphers if the wireless-security setting explicitly specified
1459 them, effectively making the default be "all ciphers" (idea from
1462 2008-09-15 Dan Williams <dcbw@redhat.com>
1464 Patch from Alexander Sack <asac@ubuntu.com>
1466 * src/named-manager/nm-named-manager.c
1467 - (dispatch_resolvconf): respect resolvconf exit code
1469 2008-09-12 Tambet Ingo <tambet@gmail.com>
1471 * src/named-manager/nm-named-manager.c (dispatch_netconfig): Make it compile
1472 again. Add some debugging.
1474 2008-09-11 Dan Williams <dcbw@redhat.com>
1476 * system-settings/plugins/keyfile/plugin.c
1477 - (update_connection_settings): update connection manually, since
1478 nm_exported_connection_update() does authentication
1479 - (dir_changed): update_connection_settings() doesn't need to return
1482 2008-09-09 Dan Williams <dcbw@redhat.com>
1484 * libnm-glib/nm-vpn-plugin-ui-interface.c
1485 libnm-glib/nm-vpn-plugin-ui-interface.h
1486 libnm-glib/libnm_glib_vpn.ver
1487 - (nm_vpn_plugin_ui_interface_delete_connection): called when the plugin
1488 should clean up resources related to the connection (like keyring
1490 - (nm_vpn_plugin_ui_widget_interface_save_secrets): called when the plugin
1491 should save user-scope secrets (like to the keyring)
1493 2008-09-08 Dan Williams <dcbw@redhat.com>
1495 Patch from Alexander Sack <asac@ubuntu.com>
1497 * libnm-util/crypto_gnutls.c
1498 libnm-util/crypto_nss.c
1499 - (crypto_init, crypto_deinit): just use a boolean instead of a refcount
1501 * libnm-util/nm-utils.c
1502 libnm-util/nm-utils.h
1503 libnm-util/libnm-util.ver
1504 - (nm_utils_init): initialize libnm-util
1505 - (nm_utils_deinit): de-initialize libnm-util and clean up resources
1507 * libnm-util/nm-setting-8021x.c
1508 - (nm_setting_802_1x_class_init): init libnm-util when needed
1510 2008-09-05 Dan Williams <dcbw@redhat.com>
1512 Patch from Roy Marples <roy@marples.name> and others
1515 src/named-manager/nm-named-manager.c
1516 - Add support for resolvconf; use --with-resolvconf at configure time
1519 2008-09-05 Dan Williams <dcbw@redhat.com>
1521 * libnm-util/crypto_nss.c
1522 libnm-util/crypto_gnutls.c
1524 - (crypto_init): return error when init fails
1526 2008-09-05 Dan Williams <dcbw@redhat.com>
1528 * libnm-glib/nm-device-wifi.c
1529 - (access_point_removed_proxy): clean up the active access point too
1530 just in case the active ap changed signal didn't come through yet
1531 - (clean_up_aps): be sure to set priv->active_ap to NULL when cleaning up
1533 2008-09-05 Dan Williams <dcbw@redhat.com>
1535 * libnm-glib/nm-client.c
1536 - (constructor): get initial state after we know whether NM is running
1539 2008-09-05 Dan Williams <dcbw@redhat.com>
1541 * libnm-glib/nm-ip4-config.c
1542 libnm-glib/nm-dhcp4-config.c
1543 - (finalize): clean up the DBusGProxy
1545 2008-09-04 Dan Williams <dcbw@redhat.com>
1547 * src/nm-ip4-config.c
1549 - (nm_ip4_config_new): don't export over D-Bus here
1550 - (nm_ip4_config_export): new function; export the config over D-Bus
1551 - (nm_ip4_config_is_exported): new function
1554 - (nm_device_activate_stage5_ip_config_commit): fix leak of IP4Config
1555 objects by balancing the IP4Config constructor; the device holds
1556 a reference to the IP4Config already
1557 - (nm_device_set_ip4_config): export the IP4Config when needed
1559 2008-09-04 Dan Williams <dcbw@redhat.com>
1561 * src/supplicant-manager/nm-supplicant-settings-verify.c
1562 - Allow WPA-NONE key management for Ad-Hoc WPA connections
1564 2008-09-04 Dan Williams <dcbw@redhat.com>
1566 * libnm-util/nm-setting-vpn.c
1567 libnm-util/nm-setting-vpn.h
1568 - Split VPN secrets from VPN data so that settings services can actually
1569 figure out that they are secrets and store them accordingly
1571 * system-settings/plugins/keyfile/nm-keyfile-connection.c
1572 system-settings/plugins/keyfile/reader.c
1573 system-settings/plugins/keyfile/reader.h
1574 system-settings/plugins/keyfile/writer.c
1575 - Store VPN secrets separately from VPN data so that they can be fetched
1577 - Implement the get_secrets() call so that (a) secrets don't leak out
1578 to unprivileged callers, and (b) secrets can be sent to privileged
1581 * vpn-daemons/vpnc/src/nm-vpnc-service.c
1582 - Handle split VPN secrets
1584 2008-08-27 Dan Williams <dcbw@redhat.com>
1586 * system-settings/plugins/ifcfg-fedora/reader.c
1587 - (make_ip4_setting): use DOMAIN not SEARCH (rh #459370)
1589 2008-08-27 Dan Williams <dcbw@redhat.com>
1591 Ensure zombie children get cleaned up. To get notifications when children
1592 die abnormally, g_spawn_async() requires G_SPAWN_DO_NOT_REAP_CHILD, but
1593 that requires calling waitpid() yourself if you've removed the child watch
1594 handler before the process has actually died, which NM needs to do in a few
1595 places. So ensure that everything uses G_SPAWN_DO_NOT_REAP_CHILD and also
1596 cleans up after the child when required. Should fix problems trying to
1597 activate mobile broadband connections after a previous failure.
1599 * src/dhcp-manager/nm-dhcp-dhclient.c
1600 src/dhcp-manager/nm-dhcp-dhcpcd.c
1601 - Use G_SPAWN_DO_NOT_REAP_CHILD
1603 * src/dhcp-manager/nm-dhcp-manager.c
1604 - (nm_dhcp_device_destroy): ensure child is cleaned up
1605 - (nm_dhcp_client_stop, nm_dhcp_manager_cancel_transaction_real): always
1606 block on child quitting, since the non-blocking functionality was
1609 * src/dnsmasq-manager/nm-dnsmasq-manager.c
1610 - (dm_watch_cb): child is already reaped here
1611 - (ensure_killed, nm_dnsmasq_manager_stop): block until child is dead
1614 - (aipd_cleanup): block until child is dead
1616 * src/named-manager/nm-named-manager.c
1617 - (run_netconfig): don't use G_SPAWN_DO_NOT_REAP_CHILD if we aren't
1618 event bothering to watch the child
1620 * src/ppp-manager/nm-ppp-manager.c
1621 - (ppp_watch_cb): child is already reaped here
1622 - (ensure_killed, nm_ppp_manager_stop): block until child is dead
1624 * src/vpn-manager/nm-vpn-service.c
1625 - (vpn_service_watch_cb): child is already reaped here
1626 - (nm_vpn_service_daemon_exec): use G_SPAWN_DO_NOT_REAP_CHILD so that
1627 status of the child is actually tracked
1628 - (ensure_killed, finalize): block until child is dead
1630 2008-08-26 Dan Williams <dcbw@redhat.com>
1632 * system-settings/plugins/keyfile/nm-keyfile-connection.c
1633 - (update): Update filename of the connection if the connection id
1636 * system-settings/plugins/keyfile/plugin.c
1637 - (dir_changed): first pass at handling connection renames correctly
1639 * system-settings/plugins/keyfile/writer.c
1640 system-settings/plugins/keyfile/writer.h
1641 - (write_connection): replace '/' with '*' when writing out the filename
1642 from the connection id
1644 2008-08-26 Dan Williams <dcbw@redhat.com>
1646 Add connection UUIDs, since connection names can be changed, and since
1647 old-style connection IDs could change over the life of the connection. The
1648 UUID should be assigned at connection creation time, be stable for a given
1649 connection, and should be unique among all connections for a given settings
1653 libnm-util/Makefile.am
1656 * introspection/nm-exported-connection.xml
1657 - Remove "GetID" method
1659 * libnm-glib/nm-dbus-connection.c
1660 libnm-glib/nm-settings.c
1661 libnm-glib/nm-settings.h
1662 - Remove id-related stuff
1664 * libnm-util/nm-utils.c
1665 libnm-util/nm-utils.h
1666 libnm-util/libnm-util.ver
1667 - (nm_utils_uuid_generate, nm_utils_uuid_generate_from_string): Add
1668 utility functions to generate UUIDs
1670 * libnm-util/nm-setting-connection.c
1671 libnm-util/nm-setting-connection.h
1672 - Add 'uuid' member to the connection setting
1673 - (verify): require valid 'uuid' for a valid connection
1675 * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
1676 system-settings/plugins/ifcfg-fedora/reader.c
1677 system-settings/plugins/ifcfg-suse/nm-suse-connection.c
1678 system-settings/plugins/ifcfg-suse/parser.c
1679 system-settings/plugins/keyfile/nm-keyfile-connection.c
1680 system-settings/src/main.c
1681 - Remove id-related stuff
1682 - Give connections UUIDs where needed
1684 2008-08-25 Dan Williams <dcbw@redhat.com>
1686 * libnm-util/crypto_gnutls.c
1687 libnm-util/crypto_nss.c
1688 - (crypto_init, crypto_deinit): refcount init/deinit
1689 - (crypto_md5_hash): allow NULL salt
1691 2008-08-22 Michael Biebl <mbiebl@gmail.com>
1693 * libnm-glib/Makefile.am
1694 libnm-util/Makefile.am
1695 libnm-glib/libnm_glib.ver
1696 libnm-glib/libnm_glib_vpn.ver
1697 libnm-util/libnm-util.ver
1698 - Use linker version scripts to control the list of exported
1699 symbols. List each exported symbol explicitely.
1700 * libnm-util/Makefile.am
1701 - Fix compilation of the test-crypto binary. The crypto
1702 functions are no longer part of the libnm-util API. Add
1703 crypto_*.c to test_crypto_SOURCES and link against the correct
1706 2008-08-19 Dan Williams <dcbw@redhat.com>
1710 - Don't build test/test-common
1711 - Remove unused stuff
1713 * test/nm-set-fallback
1714 test/nmtestdevices.c
1715 test/test-common/.cvsignore
1716 test/test-common/Makefile.am
1717 test/test-common/test-common.c
1718 test/test-common/test-common.h
1721 2008-08-18 Dan Williams <dcbw@redhat.com>
1723 * libnm-util/nm-utils.c
1724 libnm-util/nm-utils.h
1725 - (nm_utils_garray_to_string): remove; NM was the only user and doesn't
1726 export anything that needs to be converted with this function
1728 * src/dhcp-manager/nm-dhcp-manager.c
1729 - (garray_to_string): convert a byte array to a UTF-8 string with
1730 minimal validation; the DHCP client sends it in ASCII anyway
1731 - (get_option, copy_option): use garray_to_string()
1733 2008-08-18 Dan Williams <dcbw@redhat.com>
1735 * include/NetworkManager.h
1736 introspection/nm-device.xml
1737 - Add a "missing firmware" device state reason
1739 * src/NetworkManagerSystem.c
1740 src/NetworkManagerSystem.h
1741 - (nm_system_device_set_up_down): add a no_firmware argument
1742 - (nm_system_device_set_up_down_with_iface): if the result of setting
1743 IFF_UP is ENOENT, that almost always means missing firmware
1745 * src/backends/NetworkManagerGeneric.c
1746 src/nm-device-ethernet.c
1747 src/nm-device-private.h
1748 src/nm-device-wifi.c
1751 src/nm-hso-gsm-device.c
1752 src/vpn-manager/nm-vpn-connection.c
1753 - Pass no_firmware along; check it where appropriate
1755 2008-08-18 Dan Williams <dcbw@redhat.com>
1757 Patch from Robert Buchholz <rbu@gentoo.org>
1761 - Change to automake 1.9 and 'ustar' tar format defined by POSIX
1762 1003.1-1988, allowing for file names longer than 99 characters
1764 2008-08-17 Dan Williams <dcbw@redhat.com>
1766 * include/NetworkManager.h
1767 introspection/nm-device.xml
1769 - Finer-grained GSM registration failure error codes
1771 2008-08-17 Dan Williams <dcbw@redhat.com>
1773 * callouts/Makefile.am
1775 - Move dispatcher directory creation to callouts/Makefile.am
1777 * system-settings/plugins/keyfile/Makefile.am
1778 - Create keyfile connections directory in DESTDIR (bgo #546833)
1780 2008-08-15 Dan Williams <dcbw@redhat.com>
1782 Do connection sharing in a cleaner manner; all required iptables rules
1783 are now stored in the activation request and pertain only to the device
1784 which is being shared to other computers. (rh #458625)
1786 * src/nm-activation-request.c
1787 src/nm-activation-request.h
1788 - (nm_act_request_add_share_rule): new function; add a sharing rule to
1789 the activation request which will get torn down automatically when
1790 the activation request dies
1791 - (nm_act_request_set_shared): push sharing rules to iptables when sharing
1792 is started, and tear them down when sharing is stopped
1795 - (start_sharing): start up sharing by doing the required iptables magic
1796 - (share_init): poke the right bits of the kernel and load the right
1798 - (nm_device_activate_stage5_ip_config_commit): start NAT-ing this
1799 connection if it's a 'shared' connection
1801 * src/NetworkManagerPolicy.c
1802 - Remove all sharing stuff; done in the device code itself
1804 2008-08-15 Dan Williams <dcbw@redhat.com>
1806 * src/dnsmasq-manager/nm-dnsmasq-manager.c
1807 - (create_dm_cmd_line): send the right router address
1809 2008-08-15 Dan Williams <dcbw@redhat.com>
1811 * src/ppp-manager/nm-ppp-manager.c
1812 - (pppd_timed_out): ensure timeouts fail the connection
1814 2008-08-14 Dan Williams <dcbw@redhat.com>
1816 * src/nm-properties-changed-signal.c
1817 src/nm-properties-changed-signal.h
1818 - Add a property spec flag for "don't export this property" in
1819 property changed signals
1821 * src/nm-hso-gsm-device.c
1823 src/nm-cdma-device.c
1824 - Don't export monitor interface or netdev interface properties
1826 2008-08-14 Dan Williams <dcbw@redhat.com>
1828 * src/NetworkManagerPolicy.c
1829 - (update_routing_and_dns): 'hso' devices can be default even if they
1830 don't have a gateway
1832 2008-08-14 Dan Williams <dcbw@redhat.com>
1835 - (nm_device_deactivate_quickly): tear down activation request after
1836 calling device-specific deactivation
1838 * src/nm-hso-gsm-device.c
1839 - (real_deactivate_quickly): terminate connection when deactivating
1841 2008-08-14 Dan Williams <dcbw@redhat.com>
1843 * src/nm-activation-request.h
1844 - Add HSO secrets caller
1846 * src/nm-gsm-device.c
1848 - (modem_wait_for_reply): add a 'user_data' argument so callers can pass
1849 something to the callback function
1850 - (set_apn, set_apn_done): call class dial function, not a static one
1851 - (nm_gsm_device_class_init): add a class 'dial' function
1853 * src/nm-hal-manager.c
1854 - (get_hso_netdev): find the hso-driven hardware's net device
1855 - (modem_device_creator): recognize hso-driven hardware and create the
1856 right type of device object for it
1859 src/nm-hso-gsm-device.c
1860 src/nm-hso-gsm-device.h
1861 - Implement support for devices driven by the 'hso' driver as a subclass
1864 2008-08-14 Dan Williams <dcbw@redhat.com>
1866 * src/NetworkManagerSystem.c
1867 - (nm_system_device_is_up_with_iface): ensure ifreq is cleared before using
1868 - (nm_system_device_set_up_down_with_iface): cleanups; only return
1869 success if the operation really was successful
1871 2008-08-14 Dan Williams <dcbw@redhat.com>
1873 * src/nm-netlink-monitor.c
1874 src/nm-netlink-monitor.h
1875 src/nm-device-ethernet.c
1876 - (nm_netlink_monitor_request_status): return an error on failure
1877 - (constructor): don't segfault on missing error
1879 2008-08-13 Dan Williams <dcbw@redhat.com>
1881 * callouts/nm-dispatcher-action.c
1882 - Add IP4 config info to script environment
1884 2008-08-12 Dan Williams <dcbw@redhat.com>
1887 - (nm_device_set_ip4_config): don't touch hostnames here; distros
1888 that want to use DHCP hostnames should use dispatcher scripts
1891 * src/NetworkManagerSystem.h
1892 src/backends/NetworkManagerArch.c
1893 src/backends/NetworkManagerDebian.c
1894 src/backends/NetworkManagerFrugalware.c
1895 src/backends/NetworkManagerGeneric.c
1896 src/backends/NetworkManagerGeneric.h
1897 src/backends/NetworkManagerGentoo.c
1898 src/backends/NetworkManagerMandriva.c
1899 src/backends/NetworkManagerPaldo.c
1900 src/backends/NetworkManagerRedHat.c
1901 src/backends/NetworkManagerSlackware.c
1902 src/backends/NetworkManagerSuSE.c
1903 - Remove nm_system_set_hostname(), no longer used
1905 * src/backends/Makefile.am
1906 src/backends/shvar.c
1907 src/backends/shvar.h
1908 - Remove shvar.*; no longer used
1910 2008-08-12 Dan Williams <dcbw@redhat.com>
1912 Revert most of the 'hostname' patch. Too much stuff still breaks when
1913 hostname is updated at runtime. Distros or users who want hostname updates
1914 can use dispatcher scripts to update the hostname if they need it.
1916 2008-08-12 Dan Williams <dcbw@redhat.com>
1918 * introspection/nm-settings-system.xml
1919 system-settings/src/dbus-settings.c
1920 system-settings/src/dbus-settings.h
1921 - Add a 'Hostname' property (rw) which represents the configured
1922 hostname and domain of the system, if any
1924 * system-settings/src/nm-system-config-error.c
1925 system-settings/src/nm-system-config-error.h
1926 system-settings/src/nm-system-config-interface.c
1927 system-settings/src/nm-system-config-interface.h
1928 - Add a 'hostname' property to the plugin interface
1929 - Add a method to send updated hostname to plugins to save in their
1930 backing configuration store
1932 * system-settings/plugins/keyfile/nm-keyfile-connection.c
1933 system-settings/plugins/keyfile/plugin.c
1934 system-settings/plugins/keyfile/writer.c
1935 system-settings/plugins/keyfile/writer.h
1936 system-settings/plugins/ifcfg-suse/plugin.c
1937 - Add minimal hostname support
1939 * system-settings/plugins/ifcfg-fedora/plugin.c
1940 - Add support for updating system hostname in /etc/sysconfig/network
1942 2008-08-12 Dan Williams <dcbw@redhat.com>
1944 * system-settings/plugins/ifcfg-fedora/shvar.c
1945 system-settings/plugins/ifcfg-fedora/shvar.c
1946 - Fix double-free caused by svSetValue() followed by svCloseFile()
1948 2008-08-12 Tambet Ingo <tambet@gmail.com>
1950 * Makefile.am: Fix distcheck.
1952 2008-08-12 Tambet Ingo <tambet@gmail.com>
1954 * libnm-glib/*.c. Document some more.
1956 2008-08-12 Tambet Ingo <tambet@gmail.com>
1958 Start documenting libnm-glib public API using gtk-doc.
1960 * libnm-glib/nm-serial-device.c:
1961 * libnm-glib/nm-object.c:
1962 * libnm-glib/nm-gsm-device.c:
1963 * libnm-glib/nm-device.c:
1964 * libnm-glib/nm-device-wifi.c:
1965 * libnm-glib/nm-device-ethernet.c:
1966 * libnm-glib/nm-client.c:
1967 * libnm-glib/nm-cdma-device.c: Document the public API.
1969 * docs/libnm-glib/libnm-glib.types: Implement.
1971 * docs/libnm-glib/Makefile.am: Implement.
1975 * Makefile.am: Add gtk-doc support.
1977 2008-08-12 Tambet Ingo <tambet@gmail.com>
1979 * src/backends/*: Get rid of nm_system_should_modify_resolv_conf().
1981 * src/named-manager/nm-named-manager.c (rewrite_resolv_conf): Calculate
1982 the composite result of all the IP4 configurations and call a distro
1983 specific update_resolv_conf().
1984 (update_resolv_conf): Implement one for directly writing to
1985 /etc/resolv.conf and one for opensuse to call netconfig.
1987 2008-08-11 Dan Williams <dcbw@redhat.com>
1989 * src/ppp-manager/nm-ppp-manager.c
1990 - (impl_ppp_manager_need_secrets): pass interface as required
1992 2008-08-11 Dan Williams <dcbw@redhat.com>
1994 Merge the vpn-properties setting with the vpn setting since it was pointless
1995 to keep both of them around. Convert the vpn 'data' hash table to a hash
1996 of string:string (instead of string:variant) so that system settings plugins
1997 can have an easier time dealing with the arbitrary key/value pairs.
1999 2008-08-11 Dan Williams <dcbw@redhat.com>
2001 * libnm-util/nm-utils.c
2002 - (nm_utils_register_value_transformations): add value transform for
2003 a hash table of string:string
2005 2008-08-10 Dan Williams <dcbw@redhat.com>
2007 * libnm-glib/nm-vpn-plugin.c
2008 - (nm_vpn_plugin_connect): stop plugin after connection failure from
2009 an idle handler so the Connect reply gets delivered before the
2010 stop StateChanged signal
2012 2008-08-10 Dan Williams <dcbw@redhat.com>
2014 * src/nm-ip4-config.c
2015 - (get_property): use common ip4 address/route conversion functions
2016 - (nm_ip4_config_replace_address, nm_ip4_config_replace_route): should
2017 copy the new route here, not take ownership
2019 2008-08-08 Tambet Ingo <tambet@gmail.com>
2021 * system-settings/plugins/ifcfg-suse/parser.c (make_ip4_setting):
2022 Update the IP4 setting's method name.
2024 2008-08-07 Dan Williams <dcbw@redhat.com>
2026 * introspection/nm-ip4-config.xml
2027 libnm-glib/libnm-glib-test.c
2028 libnm-glib/nm-ip4-config.c
2029 libnm-glib/nm-ip4-config.h
2030 src/NetworkManagerSystem.h
2031 src/backends/NetworkManagerArch.c
2032 src/backends/NetworkManagerDebian.c
2033 src/backends/NetworkManagerFrugalware.c
2034 src/backends/NetworkManagerGeneric.c
2035 src/backends/NetworkManagerGeneric.h
2036 src/backends/NetworkManagerGentoo.c
2037 src/backends/NetworkManagerMandriva.c
2038 src/backends/NetworkManagerPaldo.c
2039 src/backends/NetworkManagerRedHat.c
2040 src/backends/NetworkManagerSlackware.c
2041 src/backends/NetworkManagerSuSE.c
2042 src/dhcp-manager/nm-dhcp-manager.c
2046 - Remove NIS logic; should be done from dispatcher scripts instead
2048 2008-08-07 Dan Williams <dcbw@redhat.com>
2050 * src/dhcp-manager/nm-dhcp-manager.c
2051 - (nm_dhcp_manager_get_ip4_config): fix regression which caused
2052 mis-handling of DHCP responses that returned more than one router
2053 (found by Grant Williamson)
2055 2008-08-07 Dan Williams <dcbw@redhat.com>
2057 * callouts/nm-dispatcher-action.c
2058 - (nm_dispatcher_action): grab device path and create the device; pass
2059 the device's DHCP4 config to script caller
2060 - (dispatch_scripts): dump the DHCP4 config to the environment of called
2063 * libnm-glib/nm-dhcp4-config.c
2064 libnm-glib/nm-dhcp4-config.h
2065 - (nm_dhcp4_config_get_options): expose
2066 - (nm_dhcp4_config_get_one_option): renamed from nm_dhcp4_config_get_option
2068 2008-08-07 Dan Williams <dcbw@redhat.com>
2070 * include/NetworkManager.h
2071 - Add the DHCP4Config D-Bus interface
2073 * libnm-glib/Makefile.am
2074 libnm-glib/nm-dhcp4-config.c
2075 libnm-glib/nm-dhcp4-config.h
2076 - Handle DHCP4 config objects exported by NM over D-Bus
2078 * libnm-glib/nm-device.c
2079 libnm-glib/nm-device.h
2080 - Add a 'dhcp4-config' property
2082 * libnm-glib/libnm-glib-test.c
2083 - Print out DHCP4 config for devices
2084 - Fix some crashes when no connections are active
2086 * src/nm-device-interface.c
2088 src/nm-dhcp4-config.c
2089 src/nm-dhcp4-config.h
2090 - Treat dhcp4-config object as an object path at the D-Bus interface so
2091 that when it doesn't exist we can proxy it as "/" which dbus-glib
2092 doesn't let us do when the property type is G_TYPE_OBJECT
2094 2008-08-07 Dan Williams <dcbw@redhat.com>
2096 * src/NetworkManager.c
2097 src/NetworkManagerSystem.h
2098 src/backends/NetworkManagerArch.c
2099 src/backends/NetworkManagerDebian.c
2100 src/backends/NetworkManagerFrugalware.c
2101 src/backends/NetworkManagerGeneric.c
2102 src/backends/NetworkManagerGeneric.h
2103 src/backends/NetworkManagerGentoo.c
2104 src/backends/NetworkManagerMandriva.c
2105 src/backends/NetworkManagerPaldo.c
2106 src/backends/NetworkManagerRedHat.c
2107 src/backends/NetworkManagerSlackware.c
2108 src/backends/NetworkManagerSuSE.c
2109 - (nm_system_init, nm_system_kill_all_dhcp_daemons): remove, unused
2111 2008-08-06 Dan Williams <dcbw@redhat.com>
2113 * libnm-glib/nm-ip4-config.c
2114 libnm-glib/nm-ip4-config.h
2115 - Add 'routes' property
2117 * libnm-util/nm-setting-vpn.c
2118 libnm-util/nm-setting-vpn.h
2119 - Remove 'routes' property
2121 * libnm-util/nm-setting-ip4-config.c
2122 libnm-util/nm-setting-ip4-config.h
2123 - 'ignore-dhcp-dns' renamed to 'ignore-auto-dns'
2124 - Add 'ignore-auto-routes' property
2125 - 'routes' exposed over D-Bus is now an array of array of uint (4) to
2126 accomodate route metrics
2127 - 'routes' exposed in C is now a list of NMSettingIP4Route structures
2129 * libnm-util/nm-utils.c
2130 libnm-util/nm-utils.h
2131 - Add helpers for marshalling IP4 routes
2133 * src/NetworkManagerUtils.c
2134 - (nm_utils_merge_ip4_config): handle property renames and new route
2137 * src/NetworkManagerSystem.c
2138 - (nm_system_device_set_ip4_route, nm_system_device_set_from_ip4_config,
2139 nm_system_vpn_device_set_from_ip4_config): respect route metrics
2141 * src/dhcp-manager/nm-dhcp-manager.c
2142 - (nm_dhcp_manager_get_ip4_config): handle new route structure
2144 * system-settings/plugins/ifcfg-fedora/reader.c
2145 system-settings/plugins/ifcfg-fedora/writer.c
2146 - Handle routes separately from addresses now that routes have a different
2149 * introspection/nm-ip4-config.xml
2152 - Rename internal routing functions
2153 - 'static-routes' renamed to 'routes'
2155 2008-08-04 Dan Williams <dcbw@redhat.com>
2157 Patch from Sjoerd Simons <sjoerd.simons@collabora.co.uk>
2159 * src/NetworkManager.c
2162 - More explicitly make the NMManager a singleton
2164 2008-08-04 Dan Williams <dcbw@redhat.com>
2166 * libnm-util/nm-connection.c
2167 libnm-util/nm-connection.h
2168 - (nm_connection_verify): return error on missing 'connection' setting
2169 (found by Sjoerd Simons)
2171 2008-08-04 Dan Williams <dcbw@redhat.com>
2173 Handle multiple concurrent PPP connections.
2175 * src/ppp-manager/nm-ppp-manager.c
2176 src/ppp-manager/nm-ppp-manager.h
2177 - (constructor): only PPP Manager request bus name once; each
2178 NMPPPManager object gets a unique object path
2179 - (nm_ppp_manager_class_init, get_property, set_property,
2180 nm_ppp_manager_new, nm_ppp_manager_start): pass parent interface in
2182 - (impl_ppp_manager_need_secrets, impl_ppp_manager_set_state): don't
2183 remove timeout until PPP manager gets an IP4 config
2184 - (create_pppd_cmd_line): pass dbus object path as 'ipparam' so that
2185 the plugin can call back to this specific PPP manager instance
2187 * src/nm-device-ethernet.c
2188 src/nm-serial-device.c
2189 - Pass parent device in nm_ppp_manager_new()
2191 * src/nm-gsm-device.c
2192 src/nm-cdma-device.c
2193 - (device_state_changed): don't close serial device on NEED_AUTH
2194 state changed, that's not a failure case like the rest are
2196 * src/ppp-manager/nm-pppd-plugin.c
2197 - (nm_ip_up): always use index 0 into the ipcp options, because NM always
2198 binds one interface to any pppd process, thus the correct index
2199 is always 0; send PHASE_DEAD on error to alert NM immediately of
2200 problems; try harder to get a peer address in spite of pppd
2201 - (plugin_init): use 'ipparam' as the object path back to our specific
2202 PPP manager instance
2204 2008-08-04 Dan Williams <dcbw@redhat.com>
2206 * src/ppp-manager/nm-ppp-manager.c
2207 - (impl_ppp_manager_need_secrets): rework to handle secrets better;
2208 since the GSM and CDMA settings now implement need_secrets, we can
2209 rely on them to do the right thing. Where secrets are not required,
2210 just pass empty strings back to the pppd plugin.
2211 - (nm_ppp_manager_update_secrets): leak fix; don't need to dup the strings
2212 - (impl_ppp_manager_set_ip4_config): clear the secrets tries counter
2213 on successful IP4 config receipt
2215 2008-08-04 Dan Williams <dcbw@redhat.com>
2217 * libnm-util/nm-setting-cdma.c
2218 libnm-util/nm-setting-gsm.c
2219 - (verify): validate username & password if they exist
2220 - (need_secrets): if username given, require a password too
2222 2008-08-04 Dan Williams <dcbw@redhat.com>
2224 * src/dnsmasq-manager/nm-dnsmasq-manager.c
2225 - (create_dm_cmd_line): really don't listen on lo, despite what the
2226 manpage says about --listen-address without --interface
2229 2008-08-01 Dan Williams <dcbw@redhat.com>
2231 * libnm-glib/nm-device.c
2232 - (proxy_get_string): util function for querying a HAL property
2233 - (get_ancestor_device): split out from get_product_and_vendor()
2234 - (get_product_and_vendor): simplify; get more accurate pid & vid info
2235 from PCI devices by querying subsys properties
2236 - (nm_device_update_description): simplify
2238 2008-08-01 Dan Williams <dcbw@redhat.com>
2240 * libnm-util/nm-setting-ip4-config.c
2241 libnm-util/nm-setting-ip4-config.h
2242 - Make IPv4 methods reflect their usage; 'dhcp' -> 'auto' and
2243 'autoip' -> 'link-local'. VPN & PPP connections can also have IPv4
2244 settings, and they don't necessarily use DHCP.
2246 * src/NetworkManagerPolicy.c
2248 system-settings/plugins/ifcfg-fedora/reader.c
2249 system-settings/plugins/ifcfg-suse/parser.c
2250 - Fixup for method changes
2252 2008-07-31 Dan Williams <dcbw@redhat.com>
2254 * src/nm-activation-request.c
2255 src/vpn-manager/nm-vpn-connection.c
2256 - Correct GetSecrets D-Bus pending call usage; the GetSecrets call
2257 itself should be attached to the activation request or the VPN
2258 connection, not the NMConnection object, since the call is not
2259 expected to live as long as the NMConnection itself
2261 2008-07-31 Dan Williams <dcbw@redhat.com>
2263 * src/nm-device-wifi.c
2264 - (real_act_stage2_config): fix issue where association would continue
2265 even though secrets were needed; 'goto out' was in wrong scope and
2266 result of handle_auth_or_fail() should have been dumped directly to
2267 'ret' to ensure that the association was postponed until secrets
2270 2008-07-31 Dan Williams <dcbw@redhat.com>
2272 * system-settings/plugins/ifcfg-fedora/plugin.c
2273 system-settings/plugins/ifcfg-fedora/reader.c
2274 - Don't ignore unmanaged devices if their ifcfg file doesn't make a
2277 2008-07-29 Dan Williams <dcbw@redhat.com>
2279 * src/nm-gsm-device.c
2280 - (automatic_registration_response, automatic_registration): recognize
2281 denied registration and reorder responses
2283 2008-07-29 Dan Williams <dcbw@redhat.com>
2285 * src/nm-serial-device.c
2286 - (nm_serial_device_wait_for_reply): fix timeout calculation. Since
2287 time(2) is used for current time, which returns seconds, we shouldn't
2288 be multiplying by 1000.
2290 2008-07-28 Dan Williams <dcbw@redhat.com>
2292 Patch from Fabrice Bellet <fabrice@bellet.info>
2294 * src/NetworkManagerSystem.c
2295 - (route_in_same_subnet): mask addresses and compare them so that the
2296 function actually does what it says it's going to do (rh #456685)
2298 2008-07-27 Dan Williams <dcbw@redhat.com>
2300 * libnm-util/nm-setting-ip6-config.c
2301 - (set_property): add missing break that caused routes to be overwritten
2304 * libnm-util/nm-setting-ip6-config.c
2305 - (verify): validate routes and return GError everywhere on invalid setting
2306 - (finalize): don't leak routes
2307 - (set_property): add missing break that caused routes to be overwritten
2310 2008-07-27 Dan Williams <dcbw@redhat.com>
2313 - Relicense to LGPLv2+
2315 2008-07-27 Dan Williams <dcbw@redhat.com>
2317 * system-settings/plugins/ifcfg-fedora/reader.c
2318 - (make_ip4_setting): fix parsing automatic configs
2320 2008-07-27 Dan Williams <dcbw@redhat.com>
2322 * src/dnsmasq-manager/nm-dnsmasq-manager.c
2324 src/ppp-manager/nm-ppp-manager.c
2325 - Ensure child process gets reaped. The child watch function may be
2326 removed from the mainloop before the child gets killed, so we have
2327 to make sure the child is reaped when it's told to die intentionally
2329 2008-07-27 Dan Williams <dcbw@redhat.com>
2331 Patch from Roy Marples <roy@marples.name>
2333 * src/dhcp-manager/nm-dhcp-dhcpcd.c
2334 - (nm_dhcp_client_start): fixup for latest dhcpcd 4.0 RC
2336 2008-07-27 Dan Williams <dcbw@redhat.com>
2338 * src/nm-gsm-device.c
2339 - (init_modem_full): send "ATZ E0" after CPIN, because apparently some
2340 Huawei devices turn echo back on after CPIN (rh #456770)
2342 2008-07-24 Tambet Ingo <tambet@gmail.com>
2344 * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Add
2345 format argument to g_set_error() call.
2347 * src/backends/interface_parser.[ch]: Remove.
2349 * src/backends/Makefile.am: Remove unused files interface_parser.[ch].
2351 2008-07-21 Dan Williams <dcbw@redhat.com>
2353 * src/ppp-manager/nm-ppp-manager.c
2354 - (create_pppd_cmd_line): send 'noipdefault' on non-PPPoE connections
2355 to prevent pppd from picking up some random local address from an
2356 interface that doesn't have anything to do with the one we're
2357 interested in (rh #455348)
2359 2008-07-17 Dan Williams <dcbw@redhat.com>
2361 * libnm-util/nm-utils.c
2362 - (string_to_utf8): general function for conversion to UTF-8 assisted
2364 - (nm_utils_ssid_to_utf8): use string_to_utf8()
2365 - (nm_utils_garray_to_string): ensure returned string is UTF-8 safe
2367 2008-07-17 Dan Williams <dcbw@redhat.com>
2369 * introspection/Makefile.am
2370 introspection/nm-device.xml
2371 introspection/nm-dhcp4-config.xml
2372 - Add bits for the DHCP4Config property of the device, and the DHCP4Config
2374 * src/nm-device-interface.c
2375 src/nm-device-interface.h
2376 - Add the DHCP4Config property
2379 - Keep track of DHCP4 options via a new DHCP4Config property and notify
2380 D-Bus clients when it changes
2382 * src/nm-dhcp4-config.c
2383 src/nm-dhcp4-config.h
2384 - Simple object to store DHCP4 options, export them over D-Bus, and
2385 notify when they change
2387 * src/dhcp-manager/nm-dhcp-manager.c
2388 src/dhcp-manager/nm-dhcp-manager.h
2389 - (nm_dhcp_manager_set_dhcp4_config, copy_dhcp4_config_option): copy and
2390 filter server-returned DHCP options into an NMDHCP4Config object
2392 2008-07-16 Dan Williams <dcbw@redhat.com>
2394 * introspection/nm-device.xml
2395 - Add device state reasons
2397 2008-07-16 Dan Williams <dcbw@redhat.com>
2399 Patch from Roy Marples <roy@marples.name>
2402 - Add --with-dhcp-client option
2404 * src/dhcp-manager/Makefile.am
2405 - pass DHCP_CLIENT_PATH on compile line
2407 * src/dhcp-manager/nm-dhcp-manager.c
2408 src/dhcp-manager/nm-dhcp-manager.h
2409 - Genericize for both dhcpcd and dhclient
2411 * src/dhcp-manager/nm-dhcp-dhclient.c
2412 - Move dhclient stuff out to it's own file from nm-dhcp-manager.c
2414 * src/dhcp-manager/nm-dhcp-dhcpcd.c
2415 - Implement support for dhcpcd too
2417 2008-07-16 Tambet Ingo <tambet@gmail.com>
2419 * system-settings/src/nm-system-config-interface.c
2420 (nm_system_config_interface_supports_add): Implement.
2421 (nm_system_config_interface_add_connection): Return a boolean to notify
2424 * system-settings/src/nm-polkit-helpers.c:
2425 * system-settings/src/nm-polkit-helpers.h: Move error declarations to
2428 * system-settings/src/dbus-settings.c (impl_settings_add_connection):
2429 Return an error when none of the plugins support add or if addition
2430 failed for some reason.
2432 * system-settings/src/nm-system-config-error.h:
2433 * system-settings/src/nm-system-config-error.c: New files, mostly moved
2434 here from nm-polkit-helpers.[ch].
2436 * system-settings/src/Makefile.am: Build new files.
2438 * system-settings/plugins/keyfile/reader.c
2439 (read_array_of_array_of_uint): Make it more general so that it would
2440 work for routes as well.
2442 * system-settings/plugins/keyfile/writer.c
2443 (write_array_of_array_of_uint): Ditto.
2444 Fix the netmask/prefix writing.
2446 * system-settings/plugins/keyfile/plugin.c (add_connection): Return
2447 boolean to notify errors.
2449 * system-settings/plugins/ifcfg-suse/nm-suse-connection.c (update):
2450 Return more specific error.
2453 2008-07-11 Dan Williams <dcbw@redhat.com>
2455 Modify the NMDevice::state-changed signal to include the previous state
2456 and reason. Enables the applet to provide more information why device
2459 2008-07-09 Dan Williams <dcbw@redhat.com>
2461 * callouts/Makefile.am
2462 callouts/nm-avahi-autoipd-action.c
2463 callouts/nm-avahi-autoipd.conf
2464 - avahi-autoipd callout to send options back to NM
2471 src/nm-device-private.h
2473 - Use avahi-autoipd for IPv4LL functionality rather than really crappy
2476 2008-07-07 Dan Williams <dcbw@redhat.com>
2478 * system-settings/plugins/ifcfg-fedora/reader.c
2479 - (make_ip4_setting): handle DHCP_HOSTNAME; fix up prefix support to
2480 handle PREFIX too; clean up
2482 2008-07-07 Dan Williams <dcbw@redhat.com>
2484 Convert to using IPv4 prefixes instead of netmasks.
2486 2008-07-03 Dan Williams <dcbw@redhat.com>
2488 * libnm-util/nm-setting-ip4-config.c
2489 libnm-util/nm-setting-ip4-config.h
2490 - Add properties for DHCP Client Identifier and DHCP Hostname
2492 * src/dhcp-manager/nm-dhcp-manager.c
2493 src/dhcp-manager/nm-dhcp-manager.h
2494 - (nm_dhcp_manager_begin_transaction): take the connection's ip4-config
2495 setting as an argument to pass on to the dhclient config file
2497 - (nm_dhcp_manager_cancel_transaction_real): remove dhclient config when
2499 - (dhclient_run): punt config file handling to create_dhclient_config()
2500 - (create_dhclient_config): create an interface-specific dhclient
2501 config file since there may need to be interface-specific options
2503 - (merge_dhclient_config): merge normal distro dhclient config file and
2504 add options from the connection
2505 - (nm_dhcp_device_new): generate the interface specific dhclient
2506 config file path once
2507 - (nm_dhcp_device_destroy): handle partially initialized objects; free
2508 dhclient config file path
2511 - (real_act_stage3_ip_config_start): pass ip4-config, if any, to the
2512 DHCP manager when starting DHCP
2514 2008-07-02 Dan Williams <dcbw@redhat.com>
2516 * libnm-util/nm-setting-8021x.c
2517 - (verify): allow forcing the PEAP label to 0
2519 2008-07-02 Dan Williams <dcbw@redhat.com>
2521 * introspection/nm-active-connection.xml
2522 introspection/nm-vpn-connection.xml
2523 libnm-glib/nm-active-connection.c
2524 src/nm-activation-request.c
2525 src/nm-active-connection.h
2526 src/vpn-manager/nm-vpn-connection.c
2527 - Remove "SharedServiceName" and "SharedConnection" bits from the D-Bus
2528 and libnm-glib API since sharing didn't get implemented that way
2530 2008-07-02 Dan Williams <dcbw@redhat.com>
2532 * src/nm-device-wifi.c
2533 - (can_scan): don't scan when a shared connection is activated since
2534 that makes drivers mad (causing disconnects); also NM doesn't need
2535 to hedge against disconnects by keeping up-to-date network topology
2536 because the connection originates from the local machine, and thus
2537 there should be no disconnects
2539 2008-07-01 Dan Williams <dcbw@redhat.com>
2541 Fix mobile broadband username/password issues. NM was never requesting
2542 mobile broadband secrets, nor was it passing back the username and password
2545 * marshallers/nm-marshal.list
2546 - Add some new types for activation request objects
2548 * src/nm-activation-request.c
2549 src/nm-activation-request.h
2550 - (get_secrets_cb): pass the caller type in the signal
2551 - (nm_act_request_request_connection_secrets): take a caller type, so
2552 that GetSecrets() reply handlers know who asked for the secrets in
2553 the first place; use secret hints too so the settings service can
2554 figure out exactly what NM wants (ie, PIN or the PPP password)
2556 * src/ppp-manager/nm-ppp-manager.c
2557 src/ppp-manager/nm-ppp-manager.h
2558 - (impl_ppp_manager_need_secrets): nm_connection_need_secrets() won't
2559 detect needed secrets when the secret could be blank, like GSM/CDMA
2560 passwords. So always ask for secrets, and send a hint as to what
2561 secret we really want.
2562 - (nm_ppp_manager_update_secrets): make function more generic by making
2563 the device specific class figure out the username and password, and
2564 accept an error argument to return back over D-Bus
2566 * src/nm-device-wifi.c
2567 - (link_timeout_cb, handle_auth_or_fail): update for changes to
2568 nm_act_request_request_connection_secrets()
2569 - (real_connection_secrets_updated): update for 'caller' changes
2573 - (connection_secrets_updated_cb, connection_secrets_failed_cb): update
2574 for 'caller' changes
2576 * src/nm-device-ethernet.c
2577 - (real_connection_secrets_updated): update for 'caller' changes and
2578 move logic for getting PPPoE username and password here before
2579 calling nm_ppp_manager_update_secrets()
2580 - (link_timeout_cb, handle_auth_or_fail): update for changes to
2581 nm_act_request_request_connection_secrets()
2583 * src/nm-cdma-device.c
2584 - (real_connection_secrets_updated): pass username and password back
2585 to the PPP manager when required
2587 * src/nm-gsm-device.c
2588 - (enter_pin): send the required secret name to the settings service
2589 - (real_connection_secrets_updated): pass username and password back
2590 to the PPP manager when required
2592 2008-06-30 Dan Williams <dcbw@redhat.com>
2594 * src/nm-device-wifi.c
2595 - Consistently use NM_DEVICE_WIFI_GET_PRIVATE instead of self->priv
2597 2008-06-30 Dan Williams <dcbw@redhat.com>
2599 Attempt to fix various issues causing rh #448889. Mainly, to qualify for
2600 the DISCONNECTED state, the device must not be rfkilled _and_ have a valid
2601 priv->supplicant.iface. When either condition is false, the device should
2602 transition back to UNAVAILABLE because it cannot be used.
2604 * src/nm-device-wifi.c
2605 - (constructor): cleanup; connect to supplicant manager here since the
2606 supplicant manager is always around
2607 - (supplicant_interface_acquire): rename from init_supplicant_interface,
2608 ensure the supplicant manager is in the IDLE state
2609 - (supplicant_interface_release): rename from cleanup_supplicant_interface,
2610 cancel any pending scans too
2611 - (real_bring_up): don't set up the supplicnat interface here, because
2612 we need the supplicant interface at times when the device may not
2614 - (real_take_down): just remove the periodic source
2615 - (schedule_scan): ensure a state that would peg the CPU doesn't happen
2616 - (remove_supplicant_interface_connection_error_handler): cleanup; don't
2617 do anything if there's no supplicant interface
2618 - (cleanup_association_attempt): cleanup
2619 - (supplicant_iface_state_cb_handler): request an immediate scan when
2620 the interface enters the READY state; transition to UNAVAILABLE
2621 state when the interface goes down because the device can't be used
2622 without a supplicant interface
2623 - (supplicant_mgr_state_cb_handler): if the supplicant goes away, clean
2624 up and transition to UNAVAILABLE; if the supplicant becomes ready,
2625 acquire the supplicant interface and transition to DISCONNECTED
2626 if the radio isn't killed
2627 - (nm_device_wifi_dispose): move most of device_cleanup() here
2628 - (state_changed_cb): release any existing supplicant interface; if the
2629 radio is enabled then try to acquire a new supplicant interface;
2630 if the radio is enabled and a supplicant interface has been acquired,
2631 we can transition to DISCONNECTED
2632 - (nm_device_wifi_set_enabled): if bringing the hardware up failed,
2633 don't enable the radio, because HAL probably lied to us about the
2634 killswitch being off. If bringing the hardware up worked, then
2635 try to grab a supplicant interface, and if that was successful,
2636 transition to DISCONNECTED
2638 2008-06-30 Dan Williams <dcbw@redhat.com>
2640 * src/supplicant-manager/nm-supplicant-interface.c
2641 - (request_scan_results, nm_supplicant_interface_dispose,
2642 wpas_iface_query_scan_results): cleanup; scan_results_timeout is now
2643 the id of the timeout, not a GSource
2645 2008-06-30 Tambet Ingo <tambet@gmail.com>
2647 * src/backends/NetworkManagerSuSE.c (nm_system_activate_nis): Fix a
2648 bunch of typoes introduced by "Patch from David Cantrell
2649 <dcantrell@redhat.com> and me".
2651 2008-06-30 Tambet Ingo <tambet@gmail.com>
2653 * src/nm-serial-device.c:
2654 * src/nm-gsm-device.c:
2655 * src/nm-cdma-device.c: Move the pending call handling to a common location
2656 in serial device. Handle setting device state to failed in one place as well.
2658 2008-06-29 Dan Williams <dcbw@redhat.com>
2660 * src/nm-hal-manager.c
2661 - Rework killswitch handling to query killswitch status immediately
2662 when the first killswitch is added, so that rfkill state is
2663 known as early as possible
2664 - Also treat failure of GetPower() as rfkill when the dbus method
2665 call times out (but not when the HAL callout returns an error)
2667 2008-06-26 Dan Williams <dcbw@redhat.com>
2669 Patch from David Cantrell <dcantrell@redhat.com> and me
2671 * include/nm-dbus-glib-types.h
2672 - Add IP6 address types
2674 * libnm-util/Makefile.am
2675 libnm-util/nm-setting-ip6-config.c
2676 libnm-util/nm-setting-ip6-config.h
2677 - Add IP6 settings object
2679 * libnm-util/nm-connection.c
2680 - (register_default_settings): register ip6 settings object
2682 * libnm-util/nm-utils.c
2683 libnm-util/nm-utils.h
2684 - (nm_utils_ip6_addresses_from_gvalue, nm_utils_ip6_addresses_to_gvalue,
2685 nm_utils_ip6_dns_from_gvalue, nm_utils_ip6_dns_to_gvalue): add
2686 ip6 address conversion functions
2688 2008-06-26 Dan Williams <dcbw@redhat.com>
2690 Patch from David Cantrell <dcantrell@redhat.com>
2692 * Use inet_ntop() and inet_pton() everwhere and check for errors
2694 2008-06-26 Dan Williams <dcbw@redhat.com>
2696 * Update FSF address in license headers (Michael Biebl <biebl@debian.org>)
2698 2008-06-26 Dan Williams <dcbw@redhat.com>
2700 Patch from Adel Gadllah <adel.gadllah@gmail.com>
2702 * src/nm-device-wifi.c
2703 - (link_timeout_cb): don't ignore disconnects due to scanning
2704 - (supplicant_iface_connection_state_cb_handler): instead, schedule
2705 a longer timeout when scanning; avoids case where supplicant can't
2706 find the AP and just keeps scanning forever but isn't connected
2708 2008-06-26 Dan Williams <dcbw@redhat.com>
2710 Patch from Michael Biebl <biebl@debian.org>
2712 * Clean up build system stuff
2714 2008-06-23 Christian Persch <chpe@gnome.org>
2716 * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.c:
2717 * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.h:
2718 * vpn-daemons/pptp/auth-dialog-general/anonymous-auth-module.c:
2720 * vpn-daemons/pptp/auth-dialog-general/chap-auth-module.c:
2722 * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.c:
2723 * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.h:
2724 * vpn-daemons/pptp/auth-dialog-general/mschapv2-auth-module.c:
2726 * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.c:
2727 * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.h:
2728 * vpn-daemons/pptp/properties/nm-ppp-properties.c: (impl_setup):
2729 * vpn-daemons/pptp/properties/vpnui_impl.c: (impl_get_object):
2730 * vpn-daemons/pptp/properties/vpnui_opt.c:
2731 (vpnui_opt_connect_signals):
2732 * vpn-daemons/pptp/properties/vpnui_opt.h:
2733 * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
2734 * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.h: Don't use
2735 deprecated gtk type macros. Bug #539325.
2737 2008-06-20 Dan Williams <dcbw@redhat.com>
2739 * libnm-glib/nm-vpn-plugin-ui-interface.c
2740 libnm-glib/nm-vpn-plugin-ui-interface.h
2741 - 'validity-changed' -> 'changed' to work better with the connection
2742 editor. Plugin UI widgets should emit 'changed' whenever their
2743 UI values change in a meaningful way.
2744 - (nm_vpn_plugin_ui_widget_interface_update_connection): the
2745 update_connection member now returns validity of the UI widget
2747 2008-06-20 Tambet Ingo <tambet@gmail.com>
2749 * libnm-util/nm-connection.c (nm_connection_duplicate): Implement.
2751 2008-06-17 Dan Williams <dcbw@redhat.com>
2753 * libnm-glib/nm-vpn-plugin-ui-interface.c
2754 libnm-glib/nm-vpn-plugin-ui-interface.h
2755 - Add "desc" property for longer descriptions of the VPN plugin
2757 2008-06-16 Dan Williams <dcbw@redhat.com>
2760 libnm-glib/libnm_glib_vpn.pc.in
2761 - add a .pc file for libnm_glib_vpn
2763 * libnm-glib/nm-vpn-plugin-ui-interface.c
2764 libnm-glib/nm-vpn-plugin-ui-interface.h
2765 - Move the glib/GNOME VPN UI plugin interface into libnm-glib and
2766 rework it substantially
2768 2008-06-12 Dan Williams <dcbw@redhat.com>
2770 Add a GError argument to nm_connection_verify() and nm_setting_verify(),
2771 and add error enums to each NMSetting subclass. Each NMSetting subclass now
2772 returns a descriptive GError when verification fails.
2774 2008-06-11 Dan Williams <dcbw@redhat.com>
2776 Patch from Tambet Ingo <tambet@gmail.com>
2778 * libnm-util/nm-setting-gsm.c
2779 - (verify): validate APN
2781 * src/nm-gsm-device.c
2782 - (manual_registration_done): start setting APN if needed
2783 - (set_apn, set_apn_done): set the APN
2784 - (do_dial): use the APN when dialing
2786 2008-06-11 Dan Williams <dcbw@redhat.com>
2788 * src/NetworkManagerSystem.c
2789 - (nm_system_device_set_ip4_route,
2790 nm_system_device_replace_default_ip4_route): check for the right
2791 return value from rtnl_route_add() to know when to add a gateway
2794 2008-06-11 Dan Williams <dcbw@redhat.com>
2796 * src/NetworkManagerPolicy.c
2797 - do_ipt_cmd -> do_cmd
2798 - (sharing_init): use do_cmd() instead of system()
2800 2008-06-10 Dan Williams <dcbw@redhat.com>
2802 The grand 802-11-wireless rename. Get rid of the 802-11/80211/802_11 bits
2803 and use "wifi" everwhere instead.
2805 2008-06-10 Dan Williams <dcbw@redhat.com>
2807 The grand 802-3-ethernet rename. Get rid of the 802-3/8023/802_3 bits.
2809 2008-06-10 Dan Williams <dcbw@redhat.com>
2811 Patch from Tambet Ingo <tambet@gmail.com>
2813 * src/ppp-manager/nm-ppp-manager.c: Add ppp stats monitoring, signal the
2816 * src/nm-serial-device.c: Monitor "ppp-stats" signals from NMPPPManager. Add
2817 a signal to emit these changes over dbus.
2819 * src/Makefile.am: Genereate nm-serial-device-glue.
2821 * libnm-glib/nm-serial-device.[ch]: Implement.
2823 * libnm-glib/nm-cdma-device.[ch]
2824 libnm-glib/nm-gsm-device.[ch]: Inherit from NMSerialDevice.
2826 * libnm-glib/Makefile.am: Add nm-serial-device.[ch].
2828 * introspection/nm-device-serial.xml: Implement.
2830 * introspection/all.xml: Fix a couple of typos, add nm-device-serial.xml.
2832 * introspection/Makefile.am: Add nm-device-serial.xml.
2834 * include/NetworkManager.h: Add a DBus interface for serial device.
2836 2008-06-10 Dan Williams <dcbw@redhat.com>
2839 - Add TARGET_* define to config.h to distinguish distros
2841 * src/dhcp-manager/nm-dhcp-manager.c
2842 - (dhclient_run): use distro-specific path for dhclient config file
2844 2008-06-09 Dan Williams <dcbw@redhat.com>
2846 * src/dnsmasq-manager/nm-dnsmasq-manager.c
2847 src/dnsmasq-manager/nm-dnsmasq-manager.h
2848 - (create_dm_cmd_line): use the IP4 address of the ip4-config to
2849 calculate the addresses passed to dnsmasq instead of hard-coding
2853 - (nm_device_new_ip4_shared_config): be somewhat dynamic when choosing
2854 IP addresses for shared connections to guard against shared
2855 connection address collisions
2856 - (real_act_stage4_get_ip4_config): handle possible NULL ip4-configs on
2858 - (nm_device_activate_stage5_ip_config_commit): pass ip4-config to
2861 2008-06-09 Dan Williams <dcbw@redhat.com>
2863 * src/NetworkManagerPolicy.c
2864 - (update_routing_and_dns): set the default connection _after_ unsetting
2865 default on all non-default connections so that two connections can
2866 never be default at the same time
2867 - (device_state_changed): start and stop connection sharing when
2869 - (active_connection_default_changed): restart or stop sharing when
2870 the default connection changes to keep shared connections always
2871 NAT-ed through the default connection
2872 - (check_sharing): handle activation/deactivation of shared connections
2873 - (sharing_restart): atom-bomb approach to connection sharing until we
2874 can use libnl; reinit all sharing when the default connection or
2875 shared connections change
2876 - (sharing_init, sharing_stop): evil functions that init and deinit
2879 2008-06-09 Dan Williams <dcbw@redhat.com>
2881 * src/nm-activation-request.c
2882 src/nm-activation-request.h
2883 - (nm_act_request_set_shared, nm_act_request_get_shared,
2884 nm_act_request_get_device): new functions to facilitate connection
2887 2008-06-09 Dan Williams <dcbw@redhat.com>
2890 - (clear_act_request): unset the 'default' property of the activation
2891 request when clearing it to ensure the property changed signal gets
2892 delivered and handled
2894 2008-06-09 Dan Williams <dcbw@redhat.com>
2896 * libnm-glib/nm-device-802-11-wireless.c
2897 - (access_point_removed_proxy): actually unref the AP after removing
2898 it from the device's AP list. Fixes refcounting bug for APs that
2899 caused them to get mixed up in the applet's menu.
2901 2008-06-09 Tambet Ingo <tambet@gmail.com>
2903 * src/dhcp-manager/nm-dhcp-manager.c (finalize): Free private members.
2904 (nm_dhcp_device_destroy): Destroy the device options hash table.
2906 2008-06-06 Dan Williams <dcbw@redhat.com>
2908 * system-settings/src/nm-polkit-helpers.c
2909 - (create_polkit_context): in PolicyKit 0.6, polkit_context_init() will
2910 unref the context if the initialization fails; also avoid spew when
2913 2008-06-06 Dan Williams <dcbw@redhat.com>
2915 Patch from Tambet Ingo <tambet@gmail.com>
2917 * src/NetworkManagerSystem.c
2918 src/NetworkManagerSystem.h
2919 - (nm_system_device_add_ip4_route_via_device_with_iface): remove
2920 - (nm_system_device_set_from_ip4_config): remove unused route_to_iface
2921 - (nm_system_device_set_ip4_route): clean up
2922 - (nm_system_vpn_device_set_from_ip4_config): clean up, add VPN routes
2925 - (nm_device_set_ip4_config): remove unused route_to_iface bits
2927 * src/vpn-manager/nm-vpn-connection.c
2928 - (ip_address_to_string): new function
2929 - (print_vpn_config): use ip_address_to_string
2930 - (merge_vpn_routes): add user-defined routes to the ip4 config
2931 - (nm_vpn_connection_ip4_config_get): add routes the VPN server sent
2933 * include/NetworkManagerVPN.h
2936 2008-06-05 Dan Williams <dcbw@redhat.com>
2938 Patch from Markus Becker <mab@comnets.uni-bremen.de>
2941 - Show which device is the default device
2943 2008-06-05 Tambet Ingo <tambet@gmail.com>
2947 * system-settings/src/nm-system-config-hal-manager.c (get_type_for_udi):
2948 Free data returned from dbus method call.
2950 * system-settings/src/nm-polkit-helpers.c (check_polkit_privileges):
2951 dbus_g_method_get_sender() returns a duplicated string, free it
2953 (check_polkit_privileges): Looks like policykit sometimes returns
2954 error and non-null return value, don't leak errors in that case.
2956 * system-settings/src/main.c (find_plugin): Don't leak existing
2958 (load_stuff): Don't leak device list and list items.
2959 (have_connection_for_device): Don't leak connection list.
2961 * system-settings/plugins/keyfile/reader.c (read_one_setting_value):
2962 Free the data received from g_keyfile_get_*.
2964 * system-settings/plugins/ifcfg-suse/parser.c (READ_WEP_KEY): Free
2965 the key when the security object is updated.
2967 * src/supplicant-manager/nm-supplicant-interface.c (scan_results_cb):
2968 Free data returned from dbus method call.
2969 (iface_state_cb): Ditto.
2970 (add_network_cb): Ditto.
2971 (nm_supplicant_interface_add_cb): Don't make another copy of already
2972 duplicated object path.
2973 (nm_supplicant_interface_add_to_supplicant): Free the driver GValue
2976 * src/supplicant-manager/nm-supplicant-config.c
2977 (ADD_STRING_LIST_VAL): Fix a memory leak.
2979 * src/nm-manager.c (free_get_settings_info): Free the allocated
2981 (list_connections_cb): Free data returned from dbus method call.
2982 (system_settings_get_unmanaged_devices_cb): Ditto.
2984 * src/nm-device-802-11-wireless.c (device_cleanup): Free ssid.
2986 * system-settings/plugins/ifcfg-suse/shvar.c (svCloseFile):
2987 * system-settings/plugins/ifcfg-fedora/shvar.c (svCloseFile):
2988 * src/backends/shvar.c (svCloseFile): Free the duplicated content
2991 * libnm-util/nm-setting.c (nm_setting_from_hash): Free the constructor
2992 arguments after the object is created.
2994 2008-06-04 Dan Williams <dcbw@redhat.com>
2996 * libnm-util/Makefile.am
2997 - Don't distribute nm-param-spec-specialized.h
2999 2008-06-02 Tambet Ingo <tambet@gmail.com>
3001 * libnm-util/nm-setting-ip4-config.[ch]: Add static routes property.
3003 * src/nm-ip4-config.[ch]: Store the static routes as a list of
3004 NMIP4Address, update the getters and setters.
3006 * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
3007 Use the updated NMIP4Config routes api.
3009 * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Merge
3010 static routes as well.
3012 * src/NetworkManagerSystem.c (netmask_to_prefix): Implement.
3013 (nm_system_device_set_from_ip4_config): Use the updated NMIP4Config
3016 2008-05-30 Dan Williams <dcbw@redhat.com>
3018 * src/named-manager/nm-named-manager.c
3019 src/named-manager/nm-named-manager.h
3020 - Remove stale/obsolete bits for controlling bind over DBus
3022 2008-05-29 Dan Williams <dcbw@redhat.com>
3024 * src/dnsmasq-manager/nm-dnsmasq-manager.c
3025 src/dnsmasq-manager/nm-dnsmasq-manager.h
3026 - (nm_dnsmasq_manager_new): move iface argument here
3027 - (constructor): remove, not needed
3028 - (get_pidfile_for_iface, create_dm_cmd_line, kill_existing_for_iface,
3029 nm_dnsmasq_manager_start, nm_dnsmasq_manager_stop): use priv->pidfile
3032 - (real_act_stage4_get_ip4_config,
3033 nm_device_activate_stage5_ip_config_commit): fix for dnsmasq manager
3036 2008-05-29 Dan Williams <dcbw@redhat.com>
3039 - (dnsmasq_state_changed_cb): new function; fail the connection if
3040 something happens to dnsmasq
3041 - (nm_device_new_ip4_shared_config): new function; create a new
3042 ip4-config for shared connections. Shared connections always use a
3043 fixed static IP address.
3044 - (real_act_stage4_get_ip4_config): handle shared connections; fix
3045 autoip connections by actually using the returned ip4-config and
3047 - (nm_device_activate_stage5_ip_config_commit): start dnsmasq for shared
3049 - (nm_device_deactivate_quickly, nm_device_dispose): terminate dnsmasq
3052 2008-05-29 Dan Williams <dcbw@redhat.com>
3054 * src/nm-device-802-11-wireless.c
3055 - (real_get_best_auto_connection): auto-activate 'shared' method
3058 2008-05-29 Dan Williams <dcbw@redhat.com>
3060 * libnm-util/nm-setting-ip4-config.c
3061 libnm-util/nm-setting-ip4-config.h
3062 - Add a 'shared' method to indicate that this connection should be
3063 brought up with a DHCP and proxy DNS server to facilitate
3065 - (verify): 'shared' method doesn't allow DNS or searches either
3067 2008-05-29 Dan Williams <dcbw@redhat.com>
3071 src/dnsmasq-manager/Makefile.am
3072 src/dnsmasq-manager/nm-dnsmasq-manager.c
3073 src/dnsmasq-manager/nm-dnsmasq-manager.h
3074 - Add a dnsmasq daemon manager to facilitate connection sharing
3076 2008-05-29 Dan Williams <dcbw@redhat.com>
3078 * src/nm-device-private.h
3079 - Remove unused prototypes and clean up
3082 - Remove anything related to system_config_data, which is no longer used
3083 - (nm_device_new_ip4_autoip_config): make static
3085 2008-05-29 Tambet Ingo <tambet@gmail.com>
3087 * system-settings/plugins/ifcfg-suse/nm-suse-connection.c
3088 (file_changed): Fix a bug where suse system settings plugin didn't
3089 update the connections automatically when the files changed.
3091 2008-05-28 Dan Williams <dcbw@redhat.com>
3093 Revert r3697 (adhoc-create property patch); it's the wrong way to do this.
3095 2008-05-28 Dan Williams <dcbw@redhat.com>
3097 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3099 * src/NetworkManagerSystem.c
3100 - (nm_system_device_flush_ip4_routes_with_iface): implement with libnl
3101 - (nm_system_vpn_device_set_from_ip4_config): don't flush routes here,
3102 was causing -EINVAL errors since the libnl code actually does flush
3103 the routes on VPN interfaces now
3105 * src/backends/NetworkManagerArch.c
3106 src/backends/NetworkManagerDebian.c
3107 src/backends/NetworkManagerFrugalware.c
3108 src/backends/NetworkManagerGeneric.c
3109 src/backends/NetworkManagerGentoo.c
3110 src/backends/NetworkManagerMandriva.c
3111 src/backends/NetworkManagerPaldo.c
3112 src/backends/NetworkManagerRedHat.c
3113 src/backends/NetworkManagerSlackware.c
3114 src/backends/NetworkManagerSuSE.c
3115 - (nm_system_device_flush_ip4_routes,
3116 nm_system_device_flush_ip4_routes_with_iface): remove
3118 2008-05-28 Dan Williams <dcbw@redhat.com>
3120 * libnm-util/nm-setting-wireless.c
3121 libnm-util/nm-setting-wireless.h
3122 - (set_property, get_property, nm_setting_wireless_class_init): add the
3123 'adhoc-create' property, which when TRUE indicates that NM should
3124 create this connection as an adhoc wifi network if it's not found
3125 as an adhoc network during scanning. Can be used to auto-create
3126 adhoc networks when used in combination with autoconnect.
3128 2008-05-28 Tambet Ingo <tambet@gmail.com>
3130 Patch from Dennis Noordsij <dennis.noordsij@helsinki.fi>.
3132 * src/nm-gsm-device.c: Don't try to reset the modem before PIN is
3133 checked, it doesn't work on some devices.
3135 2008-05-28 Tambet Ingo <tambet@gmail.com>
3137 * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Make sure
3138 pppd gets killed, if SIGTERM doesn't do it's job, SIGKILL it.
3140 * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
3141 Use inet_aton() everywhere to improve error detection.
3142 Don't fall back to 'dhcp_server_identifier' if the gateway is not
3145 2008-05-26 Tambet Ingo <tambet@gmail.com>
3147 * system-settings/plugins/ifcfg-suse/plugin.c (get_unamanged_devices_cb):
3150 2008-05-26 Tambet Ingo <tambet@gmail.com>
3152 * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_get_service): Fix a
3153 reference counting issue.
3155 2008-05-23 Dan Williams <dcbw@redhat.com>
3157 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3159 * src/backends/NetworkManagerGeneric.c
3160 - (nm_generic_enable_loopback): use libnl
3162 2008-05-23 Dan Williams <dcbw@redhat.com>
3164 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3166 * src/NetworkManagerSystem.h
3167 src/backends/NetworkManagerArch.c
3168 src/backends/NetworkManagerDebian.c
3169 src/backends/NetworkManagerFrugalware.c
3170 src/backends/NetworkManagerGentoo.c
3171 src/backends/NetworkManagerMandriva.c
3172 src/backends/NetworkManagerPaldo.c
3173 src/backends/NetworkManagerRedHat.c
3174 src/backends/NetworkManagerSlackware.c
3175 src/backends/NetworkManagerSuSE.c
3176 - (nm_system_device_has_active_routes, nm_system_flush_loopback_routes,
3177 nm_system_flush_arp_cache): remove, unused
3179 * src/backends/NetworkManagerGeneric.c
3180 src/backends/NetworkManagerGeneric.h
3181 - (nm_generic_device_has_active_routes, nm_generic_flush_loopback_routes,
3182 nm_generic_flush_arp_cache): remove, unused
3184 2008-05-23 Dan Williams <dcbw@redhat.com>
3186 * system-settings/plugins/ifcfg-fedora/reader.c
3187 - (make_ip4_setting): honor PEERDNS setting
3189 2008-05-23 Dan Williams <dcbw@redhat.com>
3191 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3193 * src/NetworkManagerSystem.c
3194 - (nm_system_device_flush_ip4_addresses_with_iface): implement with
3197 * src/backends/NetworkManagerArch.c
3198 src/backends/NetworkManagerDebian.c
3199 src/backends/NetworkManagerFrugalware.c
3200 src/backends/NetworkManagerGentoo.c
3201 src/backends/NetworkManagerMandriva.c
3202 src/backends/NetworkManagerPaldo.c
3203 src/backends/NetworkManagerRedHat.c
3204 src/backends/NetworkManagerSlackware.c
3205 src/backends/NetworkManagerSuSE.c
3206 - (nm_system_device_flush_ip4_addresses,
3207 nm_system_device_flush_ip4_addresses_with_iface): remove
3209 * src/backends/NetworkManagerGeneric.c
3210 - (nm_generic_device_flush_ip4_addresses,
3211 nm_generic_device_flush_ip4_addresses_with_iface): remove
3213 2008-05-23 Dan Williams <dcbw@redhat.com>
3215 * src/supplicant-manager/nm-supplicant-settings-verify.c
3216 - Switch 'bssid' from bytes to keyword type
3217 - (validate_type_keyword): allow NULL keyword lists
3219 * src/supplicant-manager/nm-supplicant-config.c
3220 - (nm_supplicant_config_add_setting_wireless): convert the bssid from
3221 a byte array to string form, which is what the supplicant expects
3223 2008-05-23 Tambet Ingo <tambet@gmail.com>
3225 Add a flag to NMSettingIP4Config to make it possible to ignore the DNS
3226 information received from DHCP.
3228 * libnm-util/nm-setting-ip4-config.c: Add a new membet "ignore_dhcp_dns"
3229 to make it possible to ignore the DNS information (both servers and
3230 searches) returned by DHCP server.
3232 * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Reset the
3233 name servers and searches if "ignore_dhcp_dns" is set.
3235 * src/nm-ip4-config.c (nm_ip4_config_reset_nameservers)
3236 (nm_ip4_config_reset_searches): Implement.
3238 2008-05-22 Dan Williams <dcbw@redhat.com>
3240 Remove anything mDNS related. This is better done from a distro-specific
3241 dispatcher script. Plus, any distro using avahi doesn't need to restart
3242 avahi, since avahi can handle interface changes just fine using netlink.
3245 - Remove --with-mdns-provider
3247 * src/NetworkManagerPolicy.c
3248 - (global_state_changed): don't restart the mdns provider
3250 * src/NetworkManagerSystem.h
3251 src/backends/NetworkManagerArch.c
3252 src/backends/NetworkManagerDebian.c
3253 src/backends/NetworkManagerFrugalware.c
3254 src/backends/NetworkManagerGentoo.c
3255 src/backends/NetworkManagerMandriva.c
3256 src/backends/NetworkManagerPaldo.c
3257 src/backends/NetworkManagerRedHat.c
3258 src/backends/NetworkManagerSlackware.c
3259 src/backends/NetworkManagerSuSE.c
3260 - (nm_system_restart_mdns_responder): remove
3262 * src/backends/NetworkManagerGeneric.c
3263 src/backends/NetworkManagerGeneric.h
3264 - (nm_generic_restart_mdns_responder): remove
3266 2008-05-22 Dan Williams <dcbw@redhat.com>
3269 - clean up crypto options; just use --with-crypto=nss or
3270 --with-crypto=gnutls
3272 2008-05-22 Tambet Ingo <tambet@gmail.com>
3274 * src/nm-manager.c (impl_manager_sleep): No need to schedule the sync
3275 anymore, do it right away.
3277 2008-05-22 Tambet Ingo <tambet@gmail.com>
3279 * src/nm-gsm-device.c (device_state_changed): Make sure we don't leave the
3280 serial device open when we're not connecting or connected.
3282 * src/nm-cdma-device.c (device_state_changed): Ditto.
3284 2008-05-22 Tambet Ingo <tambet@gmail.com>
3286 Don't remove all devices on waking up, sync with HAL.
3288 * src/nm-manager.c (nm_manager_udi_is_managed): Implement.
3289 (sync_devices): Implement, based on hal_manager_hal_reappeared_cb.
3290 (hal_manager_hal_reappeared_cb): Just call sync_devices.
3292 2008-05-21 Tambet Ingo <tambet@gmail.com>
3294 * src/NetworkManagerSystem.c (nm_system_device_replace_default_ip4_route):
3295 If the default gateway is unreachable, add a route to gateway and try
3298 2008-05-20 Dan Williams <dcbw@redhat.com>
3300 * system-settings/plugins/ifcfg-fedora/reader.c
3301 - (add_one_wep_key): handle ASCII WEP keys too (rh #293111)
3303 2008-05-19 Dan Williams <dcbw@redhat.com>
3305 * system-settings/plugins/ifcfg-fedora/reader.c
3306 - (make_ip4_setting): get a fallback gateway from /etc/sysconfig/network
3307 if the ifcfg doesn't specify one (rh #446527)
3309 2008-05-19 Dan Williams <dcbw@redhat.com>
3311 Make the system settings service exit when the bus goes away. Since it's
3312 a bus-activated service, it's lifetime is limited to the bus that activated
3315 * system-settings/src/Makefile.am
3316 system-settings/src/nm-system-config-hal-manager-private.h
3317 - Remove nm-system-config-hal-manager-private.h
3319 * system-settings/src/nm-system-config-hal-manager.c
3320 - (nm_system_config_hal_manager_reinit_dbus,
3321 nm_system_config_hal_manager_deinit_dbus): remove
3323 * system-settings/src/main.c
3324 - (dbus_reconnect): remove
3325 - (dbus_cleanup): don't tell the HAL manager to deinit dbus
3326 - (destroy_cb): just quit when the bus goes away
3327 - (start_dbus_service, dbus_init): simplify
3328 - (main): destroy the wired devices hash table after destroying
3329 the HAL manager so we don't have to disconnect signals from the
3332 2008-05-15 Tambet Ingo <tambet@gmail.com>
3334 Move crypto functions from nm-applet to libnm-util.
3336 * libnm-util/nm-setting-8021x.c (nm_setting_802_1x_set_ca_cert)
3337 (nm_setting_802_1x_set_client_cert)
3338 (nm_setting_802_1x_set_phase2_ca_cert)
3339 (nm_setting_802_1x_set_phase2_client_cert)
3340 (nm_setting_802_1x_set_private_key)
3341 (nm_setting_802_1x_set_phase2_private_key): Implement. Given a certificate
3342 file (or private key and it's password), read the certificate data.
3344 * libnm-util/crypto_nss.c:
3345 * libnm-util/crypto_gnutls.c:
3346 * libnm-util/crypto.[ch]: Move here from nm-applet.
3348 * configure.in: Check for NSS and gnutls here (moved here from nm-applet).
3350 * system-settings/plugins/ifcfg-suse/parser.c (read_wpa_eap_settings):
3351 Imlement WPA-EAP configuration reading from sysconfig.
3353 2008-05-16 Dan Williams <dcbw@redhat.com>
3355 * src/nm-device-802-11-wireless.c
3356 - (nm_device_802_11_wireless_set_enabled): request a scan after enabling
3359 2008-05-14 Dan Williams <dcbw@redhat.com>
3361 Fix Linus' bug in rh #134886
3363 * src/nm-device-802-3-ethernet.c
3364 - (constructor): request initial carrier state
3366 * src/nm-netlink-monitor.c
3367 - (nm_netlink_monitor_request_status): schedule emission of carrier
3368 signals after refilling the link cache. Because the refill is a
3369 synchronous operation, the normal message hander won't get called
3370 since libnl has already consumed the messages.
3371 - (deferred_emit_carrier_state): emit carrier states from an idle handler
3373 2008-05-14 Dan Williams <dcbw@redhat.com>
3375 * src/NetworkManagerSystem.c
3376 - (nm_system_device_is_up_with_iface): clean up
3378 2008-05-13 Dan Williams <dcbw@redhat.com>
3380 Fix refcounting issues over sleep/wake when a VPN connection was active that
3381 caused NM to try registering an object path for a device upon wake that was
3382 the same as an already registered object path.
3385 - (nm_device_take_down): properly handle cases where the device is
3386 no longer active but was just active, and therefore must be
3387 deactivated. When a device moves to unmanaged mode, this function
3388 previously would not deactivate the device, because the state was
3389 already unmanaged by the time this function was called.
3391 * src/vpn-manager/nm-vpn-connection.c
3392 - (device_state_changed): properly handle multiple devices states in
3393 which the device is now deactivated. Code previously didn't handle
3394 transitions to the UNAVAILABLE (like rfkill or carrier off) and
3397 2008-05-13 Dan Williams <dcbw@redhat.com>
3399 * src/nm-device-private.h
3401 - (nm_device_hw_bring_up, nm_device_hw_take_down): export
3403 * src/nm-device-802-11-wireless.c
3404 - (nm_device_802_11_wireless_set_enabled): take devices up
3405 and down as appropriate for the rfkill state
3407 2008-05-13 Dan Williams <dcbw@redhat.com>
3409 * marshallers/nm-marshal.list
3410 - Add VOID:POINTER,STRING marshaller for ifcfg-fedora plugin
3412 * system-settings/plugins/ifcfg-fedora/Makefile.am
3413 system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
3414 system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
3415 - Implement a minimal inotify helper for watch paths for IN_CLOSE_WRITE
3416 events. Solely for use watching ifcfg files to pick up changes
3417 to their hardlinks, since GIO doesn't support this yet (bgo #532815)
3419 * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
3420 - (nm_ifcfg_connection_class_init): new 'ifcfg-changed' signal when the
3421 file contents change
3422 - (finalize): clean up inotify watches
3423 - (nm_ifcfg_connection_new): store keyfile; inotify watch the keyfile
3424 and the connection ifcfg for changes on their hardlinks
3425 - (files_changed_cb): proxy the changed signal back out to listeners
3427 * system-settings/plugins/ifcfg-fedora/plugin.c
3429 - (connection_ifcfg_changed): re-read the connection when the ifcfg
3431 - (read_one_connection): connect to change signals on the new connection
3432 - (dir_changed, connection_changed_handler,
3433 handle_connection_remove_or_new): break out connection change
3434 handling and connection new/remove handling so it can be used from
3435 both the GFileMonitor callback and the NMIfcfgConnection changed
3438 * system-settings/plugins/ifcfg-fedora/reader.c
3439 system-settings/plugins/ifcfg-fedora/reader.h
3440 - (connection_from_file): return the keyfile path the connection would use
3442 2008-05-13 Tambet Ingo <tambet@gmail.com>
3444 * system-settings/src/nm-polkit-helpers.c (create_polkit_context): Use a
3445 single PolKitContext which is shared by all. PolKitContext::unref leaks
3446 just about everything, including all open file descriptiors and results
3447 in 99% cpu usage when data arrives to any of the fds that don't belong
3448 to any context anymore.
3450 2008-05-12 Dan Williams <dcbw@redhat.com>
3452 * gfilemonitor/glocaldirectorymonitor.c
3453 gfilemonitor/glocaldirectorymonitor.h
3454 - (g_local_directory_monitor_constructor): actually subscribe to the
3456 - (_g_local_directory_monitor_new): ensure that inotify is started up
3458 * gfilemonitor/glocalfilemonitor.c
3459 gfilemonitor/glocalfilemonitor.h
3460 - (g_local_file_monitor_constructor): actually subscribe to the watch
3461 - (_g_local_file_monitor_new): ensure that inotify is started up
3463 2008-05-11 Dan Williams <dcbw@redhat.com>
3466 - record PolicyKit version
3468 * system-settings/src/nm-polkit-helpers.c
3469 - (check_polkit_privileges): use polkit_context_can_caller_do_action()
3470 with PolicyKit <= 0.6
3472 2008-05-11 Dan Williams <dcbw@redhat.com>
3474 Update Fedora system-settings plugin to support latest API and use
3475 GFileMonitor rather than home-rolled inotify code.
3477 * system-settings/plugins/ifcfg-fedora/Makefile.am
3478 system-settings/plugins/ifcfg-fedora/common.h
3479 system-settings/plugins/ifcfg-fedora/plugin.c
3480 - Update to latest system settings plugin API; use GIO instead of
3481 custom inotify code; use NMIfcfgConnection objects instead of
3482 ConnectionData structures tacked onto NMConnection objects
3484 * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
3485 system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.h
3486 - Implement an NMExportedConnection subclass mapping ifcfg files to
3489 * system-settings/plugins/ifcfg-fedora/reader.c
3490 system-settings/plugins/ifcfg-fedora/reader.h
3491 - Move ifcfg parsing bits here from parser.c
3493 * system-settings/plugins/ifcfg-fedora/parser.c
3494 system-settings/plugins/ifcfg-fedora/parser.h
3495 - Remove; most code moved to reader.c
3497 2008-05-11 Dan Williams <dcbw@redhat.com>
3502 - Add a private copy of the GIO GFileMonitor code, with a custom GFile
3503 implementation, so that the same change monitoring code can be used
3504 on systems without glib-2.14 (like Fedora 8)
3506 * system-settings/plugins/keyfile/Makefile.am
3507 system-settings/plugins/keyfile/plugin.c
3508 system-settings/plugins/ifcfg-suse/Makefile.am
3509 system-settings/plugins/ifcfg-suse/plugin.c
3510 - Use private gfilemonitor code if GIO is not present
3512 2008-05-09 Tambet Ingo <tambet@gmail.com>
3514 * system-settings/plugins/ifcfg-suse/nm-suse-connection.c: Implement
3515 NMExportedConnection's 'update' and 'delete' and return error with
3516 descriptive message.
3518 2008-05-08 Dan Williams <dcbw@redhat.com>
3520 Patch from Markus Becker <mab@comnets.uni-bremen.de>
3522 * src/nm-gsm-device.c
3523 src/nm-cdma-device.c
3524 - (real_get_best_auto_connection): implement; allow autoconnection
3525 to GSM & CDMA devices
3527 2008-05-08 Tambet Ingo <tambet@gmail.com>
3529 Use PolicyKit to authorize the system settings' AddConnection method
3530 and the system settings connections' Update and Delete methods.
3532 * libnm-glib/nm-settings.c (impl_exported_connection_update)
3533 (impl_exported_connection_delete, nm_exported_connection_update)
3534 (nm_exported_connection_delete): Return boolean and fill GError
3535 to notify the callers of the reasons why it might have failed.
3537 * libnm-glib/nm-dbus-settings-system.c
3538 (nm_dbus_settings_system_add_connection): Return the error from dbus
3539 call so that the callers can see why it failed.
3541 * libnm-glib/nm-dbus-connection.c (update, delete): Update the
3544 * system-settings/src/nm-polkit-helpers.[ch]: Implement.
3546 * system-settings/src/nm-sysconfig-connection.[ch]: Implement. New
3547 abstract base class that checks PolicyKit permissions.
3549 * system-settings/src/dbus-settings.c:
3550 (impl_settings_add_connection): Check the policy before carring out
3553 * system-settings/plugins/keyfile/nm-keyfile-connection.c:
3554 Inherit from NMSysconfigConnection, check the policies before
3555 allowing updating or removing.
3557 * system-settings/plugins/ifcfg-suse/nm-suse-connection.c:
3558 Inherit from NMSysconfigConnection.
3560 * introspection/nm-exported-connection.xml: Annotate "Update" and
3561 "Delete" methods with async flag so that the implementations can get
3562 access to DBusGMethodInvocation.
3564 * system-settings/src/dbus-settings.c
3565 (settings_add_connection_check_privileges): Implement.
3566 (impl_settings_add_connection): Check the privileges before adding a new
3567 connection. Improve error reporting.
3569 * introspection/nm-settings-system.xml: Make the 'AddConnection' method
3570 async so that the implementation can access DBusGMethodInvocation.
3572 * configure.in: Check for PolicyKit.
3574 * policy/org.freedesktop.network-manager-settings.system.policy:
3577 * policy/Makefile.am: Install the policy file.
3579 * configure.in: Add 'policy' subdir.
3581 2008-05-08 Tambet Ingo <tambet@gmail.com>
3583 Rewrite the suse system settings plugin.
3585 * system-settings/plugins/ifcfg-suse/plugin.c: Rewrite.
3587 * system-settings/plugins/ifcfg-suse/parser.c: Rewrite.
3589 * system-settings/plugins/ifcfg-suse/nm-suse-connection.[ch]: Implement.
3591 * system-settings/plugins/ifcfg-suse/Makefile.am: Add new files to build.
3593 * system-settings/src/dbus-settings.c: Fix connection reference counting.
3595 * system-settings/src/main.c (load_plugins): Improve error reporting.
3597 * system-settings/src/sha1.[ch] Add.
3599 * system-settings/src/Makefile.am: Add sha1[ch] to build.
3601 2008-05-07 Dan Williams <dcbw@redhat.com>
3603 * system-settings/plugins/keyfile/reader.c
3604 - (read_one_setting_value): handle IP address items separately
3605 - (read_array_of_uint): read IPv4 DNS option as a string array
3606 - (read_array_of_array_of_uint): read IPv4 address tuples as a string
3609 * system-settings/plugins/keyfile/writer.c
3610 - (write_setting_value): handle IP address items separately
3611 - (write_array_of_uint): handle IPv4 DNS option as a string array,
3612 not an array of uint, so that it's user-editable
3613 - (write_array_of_array_of_uint): handle IPv4 address tuples as string
3614 arrays, so they are user-editable
3616 2008-05-07 Dan Williams <dcbw@redhat.com>
3618 * system-settings/plugins/keyfile/Makefile.am
3619 - Change location of the keyfile plugin settings to
3620 /etc/NetworkManager/system-connections
3622 2008-05-05 Tambet Ingo <tambet@gmail.com>
3624 * system-settings/plugins/keyfile/nm-keyfile-connection.[ch]: Implement.
3626 * system-settings/plugins/keyfile/plugin.c: Work with
3627 NMKeyfileConnections.
3629 * system-settings/src/dbus-settings.c: Remove NMSysconfigExportedConnection.
3630 Plugins are supposed to return NMExportedConnections now and handle the
3631 updated(), removed(), and GetSecrets().
3632 Store the internal list of connections in hash table to make it easier
3635 2008-05-07 Tambet Ingo <tambet@gmail.com>
3637 * src/backends/NetworkManagerSuSE.c (nm_system_set_hostname): Update
3638 for multiple IP addresses.
3640 2008-05-07 Tambet Ingo <tambet@gmail.com>
3642 Patch from André Lemos.
3644 * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Fix a memory
3647 2008-05-06 Dan Williams <dcbw@redhat.com>
3649 * src/dhcp-manager/nm-dhcp-manager.c
3650 - (nm_dhcp_manager_get_ip4_config): clean up; update for changes to
3651 NMIP4Config to support multiple IP addresses
3653 * src/NetworkManagerUtils.c
3654 - (nm_utils_merge_ip4_config): update for multiple IP addresses
3656 * src/nm-ip4-config.c
3658 - Store a list of IPv4 address/netmask/gateway tuples
3659 - (nm_ip4_config_get_gateway, nm_ip4_config_set_gateway,
3660 nm_ip4_config_get_netmask, nm_ip4_config_set_netmask,
3661 nm_ip4_config_get_broadcast, nm_ip4_config_set_broadcast,
3662 nm_ip4_config_set_address): remove
3663 - (nm_ip4_config_take_address, nm_ip4_config_add_address,
3664 nm_ip4_config_replace_address, nm_ip4_config_get_num_addresses):
3665 new functions; handle multiple IPv4 addresses
3668 src/ppp-manager/nm-ppp-manager.c
3669 src/vpn-manager/nm-vpn-connection.c
3670 src/NetworkManagerPolicy.c
3672 libnm-glib/libnm-glib-test.c
3673 - update for changes to NMIP4Config for multiple IPv4 addresses
3675 * src/NetworkManagerSystem.c
3676 - (nm_system_device_set_ip4_route): don't add the route if any address
3677 is on the same subnet as the destination
3678 - (check_one_address): ignore the exact match, just match family and
3680 - (add_ip4_addresses): add all IPv4 addresses in an NMIP4Config to
3682 - (nm_system_device_set_from_ip4_config): use add_ip4_addresses()
3683 - (nm_system_vpn_device_set_from_ip4_config): use add_ip4_addresses()
3685 * introspection/nm-ip4-config.xml
3686 - Remove 'address', 'gateway', 'netmask', and 'broadcast' properties
3687 - Add 'addresses' property which is an array of (uuu) tuples of
3688 address/netmask/gateway
3690 * libnm-util/nm-setting-ip4-config.c
3691 - (set_property): use ip-address <-> GValue converters from nm-utils.c
3693 * libnm-glib/nm-ip4-config.c
3694 libnm-glib/nm-ip4-config.h
3695 - Handle D-Bus interface changes to support multiple IP addresses
3697 2008-05-06 Dan Williams <dcbw@redhat.com>
3699 * libnm-util/nm-utils.c
3700 libnm-util/nm-utils.h
3701 - (nm_utils_ip4_addresses_from_gvalue,
3702 nm_utils_ip4_addresses_to_gvalue): new functions
3704 2008-05-06 Tambet Ingo <tambet@gmail.com>
3706 * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Don't leak
3707 the returned connection paths.
3709 2008-05-05 Tambet Ingo <tambet@gmail.com>
3711 * libnm-glib/nm-dbus-settings.c (constructor): Fix the
3712 "PropertiesChanged" signal signature.
3714 * libnm-glib/nm-dbus-connection.c (constructor): Use the common GType
3715 defined in nm-dbus-glib-types.h.
3716 Don't register the connection on dbus, we're a proxy class to
3717 communicate with an already registered connection over dbus.
3719 2008-04-30 Tambet Ingo <tambet@gmail.com>
3721 Implement new subclasses of NMSettings and NMExportedConnection to make
3722 it easier for the applet to access and modify system settings.
3724 * libnm-glib/nm-dbus-connection.[ch]:
3725 * libnm-glib/nm-dbus-settings.[ch]:
3726 * libnm-glib/nm-dbus-settings-system.[ch]: Implement.
3728 * libnm-glib/Makefile.am: Add the new files to build, generate some more
3731 * include/NetworkManager.h: Define the system settings DBus interface.
3733 2008-04-30 Tambet Ingo <tambet@gmail.com>
3735 Implement additional C API for exported connections to make them identical
3736 with the DBus API. Change the (list_connections) virtual function to be
3737 more usable from C - instead of requiring implementers to return a GPtrArray
3738 of dbus paths, return a list of connections.
3740 * libnm-glib/nm-settings.c (nm_exported_connection_class_init): Fix a typo.
3741 (nm_settings_list_connections):
3742 (nm_exported_connection_new):
3743 (nm_exported_connection_update):
3744 (nm_exported_connection_delete): Implement.
3746 (impl_settings_list_connections):
3747 (impl_exported_connection_update):
3748 (impl_exported_connection_delete): Use the new public functions to make
3749 sure the C and dbus interfaces stay in sync.
3751 * system-settings/src/dbus-settings.c (list_connections): Return a list of
3754 2008-05-02 Dan Williams <dcbw@redhat.com>
3756 * system-settings/plugins/ifcfg-fedora/plugin.c
3757 - (dispose): use right unref call on the DBusGConnection
3759 2008-05-02 Dan Williams <dcbw@redhat.com>
3761 * src/nm-serial-device.c
3762 - (find_terminator): don't compare the whole line, just the size of the
3763 terminator, since some modems put stuff after the terminator, like
3766 2008-05-01 Dan Williams <dcbw@redhat.com>
3768 Patch from Michael Biebl <biebl@debian.org>
3770 * callouts/Makefile.am
3771 callouts/org.freedesktop.nm_dispatcher.service.in
3772 system-settings/src/Makefile.am
3773 system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service.in
3774 - use the right install location for dbus-activated stuff
3776 2008-04-30 Dan Williams <dcbw@redhat.com>
3778 * src/nm-gsm-device.c
3779 - (enter_pin): fix setting name passed to applets when asking for a GSM
3782 2008-04-30 Dan Williams <dcbw@redhat.com>
3785 - (nm_manager_error_get_type): remove erroneous NULL enum from table
3787 2008-04-30 Dan Williams <dcbw@redhat.com>
3789 * src/nm-device-802-3-ethernet.c
3790 src/nm-device-802-11-wireless.c
3791 - (real_is_up): return true instead of chaining up to unimplemented
3794 2008-04-30 Dan Williams <dcbw@redhat.com>
3796 * src/NetworkManagerSystem.c
3797 src/NetworkManagerSystem.h
3798 - (nm_system_device_is_up, nm_system_device_is_up_with_iface): new
3799 functions to check device flags for IFF_UP
3801 * src/nm-serial-device.c
3802 - (real_is_up): remove; NMDevice now returns TRUE if the subclass doesn't
3805 * src/nm-device-802-3-ethernet.c
3806 src/nm-device-802-11-wireless.c
3807 - (real_hw_is_up): call nm_system_device_is_up()
3810 - (real_hw_is_up): move to nm_system_device_is_up_with_iface()
3811 - (real_is_up): remove; nm_device_is_up() returns TRUE if subclass
3814 2008-04-29 Dan Williams <dcbw@redhat.com>
3816 Handle HAL dropouts better; allow NM to start up even if HAL isn't up yet.
3818 * marshallers/nm-marshal.list
3821 * src/NetworkManager.c
3822 - (main): let the NMManager handle the NMHalManager
3824 * src/nm-hal-manager.c
3825 src/nm-hal-manager.h
3826 - convert to a GObject, and emit singals when stuff changes. Let the
3827 NMManager handle the signals, instead of the NMHalManager calling
3832 - (remove_one_device): consolidate device removals here
3833 - (dispose): use remove_one_device()
3834 - (nm_manager_get_device_by_udi): make static
3835 - (deferred_hal_manager_query_devices): idle handler to query the HAL
3836 manager for devices at startup or wakeup time
3837 - (nm_manager_new): create and monitor the HAL manager
3838 - (hal_manager_udi_added_cb): new function; do what
3839 nm_manager_add_device() used to do when signalled by the hal manager
3840 - (hal_manager_udi_removed_cb): new function; do what
3841 nm_manager_remove_device() used to do when signalled by the hal
3843 - (hal_manager_rfkill_changed_cb): handle rfkill changes from the
3845 - (hal_manager_hal_reappeared_cb): when HAL comes back, remove devices
3846 in our device list that aren't known to HAL
3847 - (impl_manager_sleep): on wakeup, re-add devices from an idle handler;
3848 see comments on nm-hal-manager.c::nm_manager_state_changed() a few
3850 - (nm_manager_get_device_by_path, nm_manager_is_udi_managed,
3851 nm_manager_activation_pending, nm_manager_wireless_enabled,
3852 nm_manager_wireless_hardware_enabled,
3853 nm_manager_set_wireless_hardware_enabled): remove, unused
3855 2008-04-28 Dan Williams <dcbw@redhat.com>
3857 Fix the device up/down ambiguities. Up/down state used to be a
3858 conglomeration of hardware state (IFF_UP) and any device-specific things
3859 (supplicant, periodic timers, etc) that the device used to indicate
3860 readiness. Unfortunately, if the hardware was already IFF_UP for some
3861 reason, then the device specific stuff wouldn't get run, and the device
3866 - Create hw_is_up, hw_bring_up, and hw_take_down
3867 - Rename bring_down -> take_down
3868 - (real_hw_is_up): check interface flags for IFF_UP
3869 - (nm_device_hw_is_up): let subclasses figure out their own HW state
3870 - (nm_device_is_up): make static; only used locally
3871 - (nm_device_hw_bring_up): update the hardware and IPv4 addresses even
3872 if the device is already up; if the device isn't up, bring it up
3873 - (nm_device_hw_take_down): just take down hardware
3874 - (nm_device_bring_up): bring up HW first, then device specific stuff
3875 - (nm_device_take_down): always deactivate device when called; always
3876 try to take hardware down too
3877 - (nm_device_state_changed): take device down when entering unmanaged
3878 state from a higher state
3880 * src/nm-device-802-11-wireless.c
3881 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
3883 - (real_take_down, supplicant_iface_state_cb_handler,
3884 supplicant_iface_connection_state_cb_handler,
3885 supplicant_mgr_state_cb_handler): fix some messages
3887 * src/nm-device-802-3-ethernet.c
3888 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
3891 2008-04-28 Dan Williams <dcbw@redhat.com>
3895 - (nm_manager_error_get_type): add new error
3896 - (nm_manager_remove_device): don't bother taking down the device here,
3897 the state change from unmanaging the device will do it
3898 - (impl_manager_sleep): move nm_manager_sleep() here since nothing else
3899 uses it; when going to sleep, just unmanage the device instead of
3900 taking it down, because stuff will cleaned up correctly when the
3901 device gets unmanaged
3903 2008-04-28 Dan Williams <dcbw@redhat.com>
3905 * src/nm-hal-manager.c
3906 - (add_initial_devices): convert to a GSourceFunc prototype
3907 - (nm_manager_state_changed): when coming out of sleep, punt the
3908 device re-addition to an idle handler to let D-Bus events go out
3909 first, fixing a potential dbus-glib assert if the old device was
3910 not yet disposed (due to references held while emitting the D-Bus
3911 signals) but the new device was found, because the mainloop didn't
3912 run between signal emission and add_initial_devices()
3914 2008-04-27 Dan Williams <dcbw@redhat.com>
3916 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3918 * initscript/paldo/NetworkManager.in
3919 initscript/SUSE/networkmanager.in
3920 - Remove last bits of dhcdbd
3922 2008-04-27 Dan Williams <dcbw@redhat.com>
3924 * src/nm-device-802-11-wireless.c
3925 - (link_timeout_cb): don't ask for secrets when disconnected during
3926 association/authentication phase, drivers are still just too crappy
3928 2008-04-27 Dan Williams <dcbw@redhat.com>
3932 dispatcher-daemon/Makefile.am
3933 dispatcher-daemon/NetworkManagerDispatcher.c
3934 initscript/Arch/Makefile.am
3935 initscript/Arch/networkmanager-dispatcher.in
3936 initscript/Gentoo/Makefile.am
3937 initscript/Gentoo/NetworkManagerDispatcher.in
3938 initscript/Mandriva/Makefile.am
3939 initscript/Mandriva/networkmanagerdispatcher.in
3940 initscript/RedHat/Makefile.am
3941 initscript/RedHat/NetworkManagerDispatcher.in
3942 initscript/SUSE/Makefile.am
3943 initscript/SUSE/networkmanager-dispatcher.in
3944 initscript/Slackware/Makefile.am
3945 initscript/Slackware/rc.networkmanager-dispatcher.in
3946 initscript/paldo/Makefile.am
3947 initscript/paldo/NetworkManagerDispatcher.in
3949 man/NetworkManagerDispatcher.8.in
3950 - Remove the dispatcher daemon
3952 2008-04-27 Dan Williams <dcbw@redhat.com>
3954 * callouts/Makefile.am
3955 callouts/nm-dispatcher-action.c
3956 callouts/nm-dispatcher-action.h
3957 callouts/nm-dispatcher.conf
3958 callouts/nm-dispatcher.xml
3959 callouts/org.freedesktop.nm_dispatcher.service
3960 - Re-implement the dispatcher as a system-bus activated service that
3961 NM calls on-demand, rather than an always running daemon
3964 - Add callouts dir to includes to pick up dispatcher defines
3967 - (nm_device_state_changed): call dispatcher on device activated/
3970 * src/vpn-manager/nm-vpn-connection.c
3971 - (nm_vpn_connection_set_vpn_state): call dispatcher when VPN connections
3974 * src/NetworkManagerUtils.c
3975 src/NetworkManagerUtils.h
3976 - (nm_utils_call_dispatcher): helper to call dispatcher
3978 2008-04-27 Dan Williams <dcbw@redhat.com>
3980 * src/NetworkManagerUtils.c
3981 src/NetworkManagerUtils.h
3982 - remove unneeded includes
3983 - (nm_null_safe_strcmp, nm_ethernet_addresses_are_equal,
3984 nm_utils_inet_ip4_address_as_string, nm_timeval_has_passed,
3985 nm_timeval_cmp, nm_timeval_add): remove, unused
3986 - clean up formatting
3987 - (nm_spawn_process): de-uglify
3989 * src/nm-device-802-11-wireless.c
3990 - (get_active_ap): use memcmp() not nm_ethernet_addresses_are_equal()
3992 2008-04-26 Saleem Abdulrasool <compnerd@compnerd.org>
3994 * initscript/Gentoo/NetworkManager.in:
3995 Fix for starting the daemon.
3997 2008-04-25 Dan Williams <dcbw@redhat.com>
3999 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
4001 * src/NetworkManagerSystem.c
4002 - (nm_system_device_set_ip4_route): reimplement using libnl, not ioctls
4004 2008-04-25 Dan Williams <dcbw@redhat.com>
4006 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
4008 * src/NetworkManagerSystem.c
4009 - (nm_system_device_replace_default_ip4_route): new function; a libnl
4010 implementation of nm_system_device_replace_default_route()
4012 * src/NetworkManagerPolicy.c
4013 - (update_default_route): use nm_system_device_replace_default_ip4_route()
4015 * src/backends/NetworkManagerArch.c
4016 src/backends/NetworkManagerDebian.c
4017 src/backends/NetworkManagerFrugalware.c
4018 src/backends/NetworkManagerGeneric.c
4019 src/backends/NetworkManagerGeneric.h
4020 src/backends/NetworkManagerGentoo.c
4021 src/backends/NetworkManagerMandriva.c
4022 src/backends/NetworkManagerPaldo.c
4023 src/backends/NetworkManagerRedHat.c
4024 src/backends/NetworkManagerSlackware.c
4025 src/backends/NetworkManagerSuSE.c
4026 - (nm_system_device_replace_default_route): remove
4028 2008-04-25 Dan Williams <dcbw@redhat.com>
4030 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
4032 * src/NetworkManagerSystem.c
4033 - (validate_ip4_route): remove; use nl_addr_parse() instead
4034 - (nm_system_device_add_ip4_route_via_device_with_iface): new function,
4035 replace nm_system_device_add_route_via_device_with_iface() in the
4038 * src/backends/NetworkManagerArch.c
4039 src/backends/NetworkManagerDebian.c
4040 src/backends/NetworkManagerFrugalware.c
4041 src/backends/NetworkManagerGeneric.c
4042 src/backends/NetworkManagerGeneric.h
4043 src/backends/NetworkManagerGentoo.c
4044 src/backends/NetworkManagerMandriva.c
4045 src/backends/NetworkManagerPaldo.c
4046 src/backends/NetworkManagerRedHat.c
4047 src/backends/NetworkManagerSlackware.c
4048 src/backends/NetworkManagerSuSE.c
4049 - Remove nm_system_device_add_route_via_device_with_iface()
4051 2008-04-25 Dan Williams <dcbw@redhat.com>
4053 * system-settings/plugins/ifcfg-fedora/parser.c
4054 - (GET_ONE_DNS): fix parsing of DNS2 & DNS3
4056 2008-04-24 Dan Williams <dcbw@redhat.com>
4058 * dispatcher-daemon/NetworkManagerDispatcher.c
4059 - (nmd_execute_scripts): execute scripts in order as sorted by strcmp()
4061 2008-04-24 Dan Williams <dcbw@redhat.com>
4063 * initscript/RedHat/NetworkManager.in
4064 initscript/RedHat/NetworkManagerDispatcher.in
4065 - Be active at runlevel 2
4066 - Adjust priorities earlier
4068 2008-04-22 Dan Williams <dcbw@redhat.com>
4070 * src/NetworkManagerPolicy.c
4071 - (update_routing_and_dns): when checking for a gateway, look at the
4072 composite IP4 config, not the connection's ip4-config setting, which
4073 doesn't include DHCP-returned information
4075 2008-04-22 Tambet Ingo <tambet@gmail.com>
4077 Implement GKeyFile system settings plugin.
4078 Implement writing system settings (currently supported only by GKeyFile plugin).
4080 * system-settings/src/main.c:
4081 * system-settings/src/dbus-settings.c: Move the communication with plugins
4082 from main.c to dbus-settings.c. Makes it possible to talk to all registered
4083 plugins for adding/updating/removing connections.
4085 * system-settings/src/nm-system-config-interface.c
4086 (nm_system_config_interface_add_connection): Implement
4087 (nm_system_config_interface_update_connection): Implement.
4088 (nm_system_config_interface_remove_connection): Implement.
4090 * system-settings/plugins/keyfile/Makefile.am:
4091 * system-settings/plugins/keyfile/plugin.[ch]:
4092 * system-settings/plugins/keyfile/writer.[ch]:
4093 * system-settings/plugins/keyfile/reader.[ch]: Implement.
4095 * system-settings/plugins/Makefile.am: Add GKeyFile plugin.
4097 * configure.in: Generate GKeyFile Makefile.
4099 * libnm-glib/nm-settings.c (impl_exported_connection_get_id): Fix a memory
4100 corruption, need to duplicate the returned string.
4101 (impl_exported_connection_update): Implement.
4102 (impl_exported_connection_delete): Implement.
4104 * introspection/nm-settings-system.xml: Add "AddConnection" method.
4106 * introspection/nm-exported-connection.xml: Add "Update" and "Delete" methods.
4108 2008-04-22 Dan Williams <dcbw@redhat.com>
4110 Patch from Charles R. Anderson (cra@wpi.edu)
4112 * src/NetworkManagerPolicy.c
4113 - (update_routing_and_dns): don't select devices without a gateway
4114 as having the default route (rh #437338)
4116 2008-04-21 Dan Williams <dcbw@redhat.com>
4118 * src/nm-activation-request.c
4119 src/nm-activation-request.h
4120 - (dispose): ensure to disconnect from the device's state-changed signal
4121 when appropriate so the signal doesn't get handled by an already
4122 disposed NMActRequest
4123 - (device_state_changed): update is_default here too just to make sure
4124 default is only True when the child device is activated
4125 - (nm_act_request_set_default): new function
4127 * src/NetworkManagerPolicy.c
4128 - (update_routing_and_dns): set 'default' on the active connection which
4129 has the default route and DNS
4131 2008-04-21 Dan Williams <dcbw@redhat.com>
4133 * src/NetworkManagerPolicy.c
4134 - (device_state_changed): update routing and DNS when a device goes
4135 into unmanaged or unavailable states too (like rfkill or carrier loss)
4137 2008-04-21 Dan Williams <dcbw@redhat.com>
4139 * include/NetworkManager.h
4140 - Add NMActiveConnectionState enum
4142 * introspection/nm-active-connection.xml
4143 introspection/nm-vpn-connection.xml
4144 - Add 'State' property for overall active connection state
4145 - Add 'Default' property, when True means this active connection
4146 has the default route
4147 - Add PropertyChanged signals so changes actually go out over the bus
4149 * src/nm-active-connection.h
4150 - Add defines for State & Default properties
4152 * src/nm-activation-request.c
4153 - Add 'state' and 'default' properties, hook up to device 'state-changed'
4154 signal to determine active connection state
4156 * src/vpn-manager/nm-vpn-connection.c
4157 src/vpn-manager/nm-vpn-connection.h
4158 src/vpn-manager/nm-vpn-manager.c
4159 src/vpn-manager/nm-vpn-service.c
4160 - Rename old 'state' to 'vpn-state'
4161 - Rename nm_vpn_connection_get_state() -> nm_vpn_connection_get_vpn_state()
4162 - Add 'state' and 'default' properties, hook up to the vpn connection's
4163 'vpn-state-changed' signal
4165 * libnm-glib/nm-active-connection.c
4166 libnm-glib/nm-active-connection.h
4167 - Add new 'state' and 'default' properties and accessors
4169 * libnm-glib/nm-vpn-connection.c
4170 libnm-glib/nm-vpn-connection.h
4171 - Rename old 'state' property to 'vpn-state'
4172 - Add new 'state' and 'default' properties and accessors
4174 2008-04-21 Dan Williams <dcbw@redhat.com>
4176 * src/nm-ip4-config.c
4177 - (nm_ip4_config_to_rtnl_addr): fill in the broadcast address if it's
4178 not specified (rh #443474)
4180 2008-04-20 Dan Williams <dcbw@redhat.com>
4182 * src/NetworkManagerUtils.c
4183 src/NetworkManagerUtils.h
4184 - (nm_utils_merge_ip4_config): new function; merge settings from an
4185 NMSettingIP4Config to an NMIP4Config object
4188 - (merge_ip4_config): move to NetworkManagerUtils.c
4190 * src/vpn-manager/nm-vpn-connection.c
4191 - (nm_vpn_connection_ip4_config_get): merge in user-specified settings
4194 2008-04-18 Dan Williams <dcbw@redhat.com>
4196 * libnm-util/nm-setting-ppp.c
4197 libnm-util/nm-setting-ppp.h
4198 - Add 'no-vj-comp' option for TCP header compression
4199 - baud, mru, mtu, lcp_echo_failure, and lcp_echo_interval are really
4202 2008-04-18 Dan Williams <dcbw@redhat.com>
4204 * libnm-util/nm-setting-ppp.c
4205 libnm-util/nm-setting-ppp.h
4206 src/ppp-manager/nm-ppp-manager.c
4207 - Add 'refuse-pap' and 'refuse-mschapv2' options
4209 2008-04-18 Dan Williams <dcbw@redhat.com>
4211 * libnm-util/nm-setting-ppp.c
4212 libnm-util/nm-setting-ppp.h
4213 src/ppp-manager/nm-ppp-manager.c
4214 - Remove the 'usepeerdns' option and always request DNS servers from
4215 the PPP server; the connection chooses to use/override/ignore the
4216 DNS servers returned from the PPP server
4218 2008-04-18 Dan Williams <dcbw@redhat.com>
4220 * libnm-util/nm-setting-ppp.c
4221 libnm-util/nm-setting-ppp.h
4222 src/ppp-manager/nm-ppp-manager.c
4223 - Remove the 'require-mppc' option, because pppd doesn't support it and
4224 it seems to have been an erroneous addition to the PPTP plugin in
4225 the first place (from which the ppp-manager is derived)
4227 2008-04-17 Dan Williams <dcbw@redhat.com>
4229 * libnm-util/nm-setting-pppoe.c
4230 - (verify): require a PPP setting too
4232 * src/ppp-manager/nm-ppp-manager.c
4233 - (nm_ppp_manager_start): fail if no PPP setting is present instead of
4236 2008-04-17 Dan Williams <dcbw@redhat.com>
4239 - (nm_device_state_changed): do deactivation and and promotion to
4240 unavailable here, so that the device gets cleaned up before the
4241 manager runs and starts emitting signals; do the
4242 FAILED->DISCONNECTED transition from an idle handler rather than
4243 immediately to guard against recursion
4244 - (nm_device_deactivate_quickly, nm_device_dispose): stop the
4245 FAILED->DISCONNECTED handler if it's scheduled
4247 2008-04-17 Dan Williams <dcbw@redhat.com>
4249 * src/nm-device-802-11-wireless.c
4250 - (state_changed_cb): clear AP list when device transitions to
4251 unavailable or unmanaged
4252 - (nm_device_802_11_wireless_dispose): remove redundant set_current_ap()
4253 since this is already done in device_cleanup()
4254 - (supplicant_iface_scanned_ap_cb): don't leak new APs when the device
4255 isn't available or managed
4256 - (device_cleanup): use remove_all_aps()
4257 - (remove_all_aps): consolidate code removing all APs
4259 2008-04-17 Dan Williams <dcbw@redhat.com>
4261 * src/nm-serial-device.c
4262 src/nm-serial-device.h
4263 - (wait_for_reply_got_data): break input into lines, and search each
4264 line for responses _and_ terminator strings; also make sure that
4265 the read loop doesn't continue after the timeout is supposed to fire
4266 - (nm_serial_device_wait_for_reply): take an array of terminators too
4268 * src/nm-gsm-device.c
4269 src/nm-cdma-device.c
4270 - Send terminators to nm_serial_device_wait_for_reply()
4272 2008-04-16 Dan Williams <dcbw@redhat.com>
4274 Patch from 陈鑫 <znscnchen@gmail.com>
4276 * src/ppp-manager/nm-pppd-plugin.c
4277 - (get_credentials): return correct value for success; handle case where
4278 pppd just does some checking but doesn't want a password
4279 - (plugin_init): make CHAP work too
4281 2008-04-16 Dan Williams <dcbw@redhat.com>
4283 Patch from 陈鑫 <znscnchen@gmail.com>
4285 * src/ppp-manager/nm-ppp-manager.c
4286 - (create_pppd_cmd_line): fix argument generation when spawning pppd
4288 2008-04-16 Dan Williams <dcbw@redhat.com>
4290 Patch from 陈鑫 <znscnchen@gmail.com>
4292 * src/nm-device-802-3-ethernet.c
4293 - (real_deactivate_quickly): clear the IP interface name on
4294 deactivation, otherwise the wrong interface might get used later
4295 for routing and IP management
4297 2008-04-15 Dan Williams <dcbw@redhat.com>
4299 * libnm-glib/nm-device.c
4300 - (get_product_and_vendor): handle serial devices correctly
4301 - (nm_device_update_description): pass device to get_product_and_vendor()
4303 2008-04-15 Dan Williams <dcbw@redhat.com>
4305 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
4307 * src/NetworkManagerSystem.h
4308 src/backends/NetworkManagerArch.c
4309 src/backends/NetworkManagerDebian.c
4310 src/backends/NetworkManagerFrugalware.c
4311 src/backends/NetworkManagerGeneric.c
4312 src/backends/NetworkManagerGeneric.h
4313 src/backends/NetworkManagerGentoo.c
4314 src/backends/NetworkManagerMandriva.c
4315 src/backends/NetworkManagerPaldo.c
4316 src/backends/NetworkManagerRedHat.c
4317 src/backends/NetworkManagerSlackware.c
4318 src/backends/NetworkManagerSuSE.c
4320 - (nm_generic_device_add_ip6_link_address,
4321 nm_system_device_add_ip6_link_address): remove
4323 2008-04-15 Dan Williams <dcbw@redhat.com>
4325 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
4327 * src/backends/NetworkManagerArch.c
4328 src/backends/NetworkManagerDebian.c
4329 src/backends/NetworkManagerFrugalware.c
4330 src/backends/NetworkManagerGeneric.c
4331 src/backends/NetworkManagerGeneric.h
4332 src/backends/NetworkManagerGentoo.c
4333 src/backends/NetworkManagerMandriva.c
4334 src/backends/NetworkManagerPaldo.c
4335 src/backends/NetworkManagerRedHat.c
4336 src/backends/NetworkManagerSlackware.c
4337 src/backends/NetworkManagerSuSE.c
4338 src/NetworkManagerSystem.h
4339 - flush_routes -> flush_ip4_routes
4340 - flush_addresses -> flush_ip4_addresses
4342 * src/NetworkManagerSystem.c
4344 src/vpn-manager/nm-vpn-connection.c
4345 - flush only IPv4 addresses; don't touch IPv6 routes and addresses
4347 2008-04-15 Dan Williams <dcbw@redhat.com>
4349 Remove exposure of wireless-tools mode types in the API.
4351 * include/NetworkManager.h
4352 - Define NM80211Mode enum
4354 * introspection/generic-types.xml
4355 - Describe NM_802_11_MODE enum
4356 - Remove IW_MODE_* enum
4358 * introspection/nm-access-point.xml
4359 libnm-glib/nm-access-point.c
4360 libnm-glib/nm-access-point.h
4361 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
4363 * introspection/nm-device-802-11-wireless.xml
4364 libnm-glib/nm-device-802-11-wireless.c
4365 libnm-glib/nm-device-802-11-wireless.h
4366 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
4368 * libnm-util/nm-setting-wireless.c
4369 src/NetworkManagerAP.c
4370 src/NetworkManagerAP.h
4371 src/nm-device-802-11-wireless.c
4372 src/nm-device-802-11-wireless.h
4374 - Use NM80211Mode not IW_MODE_*
4376 2008-04-15 Dan Williams <dcbw@redhat.com>
4378 Enhance nm-online based on a patch from Bill Nottingham.
4382 - Add help messages and option summary
4383 - Add long-format options
4384 - Add a '-x' option to exit if NM isn't running or isn't connecting
4386 2008-04-15 Tambet Ingo <tambet@gmail.com>
4388 * libnm-util/nm-setting.c (nm_setting_duplicate): Implement.
4390 * libnm-util/nm-connection.c (nm_connection_remove_setting): Implement.
4392 2008-04-15 Dan Williams <dcbw@redhat.com>
4394 * nm-setting-ip4-config.c
4395 - (ip4_addresses_from_gvalue): handle NULL address array
4397 * nm-setting-8021x.c
4398 - (verify_tls, verify_ttls): warn on failed verification
4400 2008-04-10 Dan Williams <dcbw@redhat.com>
4402 * src/nm-gsm-device.c
4403 - (automatic_registration): accept "+CREG: 0,0"
4404 - (automatic_registration_response): fail on "+CREG: 0,0"
4406 2008-04-10 Tambet Ingo <tambet@gmail.com>
4408 * libnm-util/nm-setting-wired.c (get_property): Fix a typo.
4410 2008-04-10 Tambet Ingo <tambet@gmail.com>
4412 * system-settings/plugins/ifcfg-suse/parser.c (make_wireless_security_setting):
4413 Make it compile again by commenting out broken code that at first didn't work and
4414 now didn't compile either.
4416 2008-04-08 Dan Williams <dcbw@redhat.com>
4418 * libnm-glib/nm-object-cache.c
4419 libnm-glib/nm-settings.c
4420 src/dhcp-manager/nm-dhcp-manager.c
4421 system-settings/plugins/ifcfg-fedora/plugin.c
4422 system-settings/plugins/ifcfg-suse/plugin.c
4423 system-settings/src/nm-system-config-hal-manager.c
4424 libnm-util/nm-utils.c
4425 - Remove usage of GStaticMutex since gcc-4.3 hates it and because we're
4426 not threadsafe anyway
4428 2008-04-08 Dan Williams <dcbw@redhat.com>
4430 * system-settings/src/main.c
4431 - (load_stuff, device_added_cb, device_removed_cb): device added/removed
4432 callbacks take a device type too
4434 2008-04-08 Dan Williams <dcbw@redhat.com>
4436 The system settings service will now create a new default DHCP connection
4437 for wired devices that have no existing applicable connection.
4439 * system-settings/src/nm-system-config-hal-manager.c
4440 system-settings/src/nm-system-config-hal-manager.h
4441 - (nm_system_config_hal_manager_get_type_for_udi): new function
4443 * system-settings/src/dbus-settings.c
4444 system-settings/src/dbus-settings.h
4445 - (nm_sysconfig_settings_get_connections): new function
4446 - (nm_sysconfig_settings_is_device_managed): new function
4448 * system-settings/src/main.c
4449 - (load_stuff): check for wired devices that need a default connection
4450 - (get_details_for_udi): get interface and MAC address from HAL
4451 - (add_default_dhcp_connection): add a default connection for a wired
4453 - (device_added_cb, device_removed_cb): do the right thing with
4454 wired devices and their default connections on HAL device events
4456 2008-04-07 Dan Williams <dcbw@redhat.com>
4458 * libnm-glib/nm-device.c
4459 libnm-glib/nm-device.h
4460 - Proxy the 'managed' property
4462 2008-04-07 Dan Williams <dcbw@redhat.com>
4464 * src/nm-gsm-device.c
4465 src/nm-cdma-device.c
4466 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
4467 handler to transition to DISCONNECTED
4469 2008-04-07 Dan Williams <dcbw@redhat.com>
4471 Patch from Bill Nottingham
4473 * dispatcher-daemon/NetworkManagerDispatcher.c
4474 - ignore backup/packaging crufy (rh #440143)
4476 2008-04-07 Dan Williams <dcbw@redhat.com>
4478 * include/NetworkManager.h
4479 - Remove the DOWN and CANCELLED device states
4480 - Add UNMANAGED and UNAVAILABLE device states
4481 - Document the device states
4483 * introspection/nm-device.xml
4484 src/nm-device-interface.c
4485 src/nm-device-interface.h
4486 - Add the 'managed' property
4489 - (detail_device): print out device state
4491 * src/NetworkManagerSystem.h
4492 src/backends/NetworkManagerArch.c
4493 src/backends/NetworkManagerDebian.c
4494 src/backends/NetworkManagerFrugalware.c
4495 src/backends/NetworkManagerGentoo.c
4496 src/backends/NetworkManagerMandriva.c
4497 src/backends/NetworkManagerPaldo.c
4498 src/backends/NetworkManagerRedHat.c
4499 src/backends/NetworkManagerSlackware.c
4500 src/backends/NetworkManagerSuSE.c
4501 - (nm_system_device_get_system_config, nm_system_device_get_disabled
4502 nm_system_device_free_system_config): remove; they were unused and
4503 their functionality should be re-implemented in each distro's
4504 system settings service plugin
4506 * src/nm-gsm-device.c
4508 src/nm-cdma-device.c
4509 src/nm-cdma-device.h
4510 - (*_new): take the 'managed' argument
4513 - (nm_device_set_address): remove, fold into nm_device_bring_up()
4514 - (nm_device_init): start in unmanaged state, not disconnected
4515 - (constructor): don't start device until the system settings service
4516 has had a chance to figure out if the device is managed or not
4517 - (nm_device_deactivate, nm_device_bring_up, nm_device_bring_down):
4518 don't set device state here, let callers handle that as appropriate
4519 - (nm_device_dispose): don't touch the device if it's not managed
4520 - (set_property, get_property, nm_device_class_init): implement the
4522 - (nm_device_state_changed): bring the device up if its now managed,
4523 and deactivate it if it used to be active
4524 - (nm_device_get_managed, nm_device_set_managed): do the right thing
4525 with the managed state
4527 * src/nm-hal-manager.c
4528 - (wired_device_creator, wireless_device_creator, modem_device_creator):
4529 take initial managed state and pass it along to device constructors
4530 - (create_device_and_add_to_list): get managed state and pass to
4533 * src/nm-device-802-11-wireless.c
4534 - (real_can_activate): fold in most of
4535 nm_device_802_11_wireless_can_activate()
4536 - (can_scan): can't scan in UNAVAILABLE or UNMANAGED
4537 - (link_timeout_cb): instead of deactivating, change device state and
4538 let the device state handler to it
4539 - (real_update_hw_address): clean up
4540 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
4541 handler to transition to DISCONNECTED if the device isn't rfkilled
4543 * src/nm-device-802-3-ethernet.c
4544 - (set_carrier): move above callers and get rid of prototype
4545 - (device_state_changed): when entering UNAVAILABLE state, schedule an
4546 idle handler to transition to DISCONNECTED if the device has a
4548 - (real_update_hw_address): clean up
4549 - (link_timeout_cb, ppp_state_changed): change state instead of calling
4550 deactivation directly as deactivation doesn't change state anymore
4552 * src/NetworkManagerPolicy.c
4553 - (schedule_activate_check): yay, remove wireless_enabled hack since
4554 the NMManager and wireless devices work that out themselves now
4555 - (device_state_changed): change to a switch and update for new device
4557 - (device_carrier_changed): remove; device handles this now through
4559 - (device_added): don't care about carrier any more; the initial
4560 activation check will happen when the device transitions to
4564 - (dispose): clear unmanaged devices
4565 - (handle_unmanaged_devices): update unmanaged device list and toggle
4566 the managed property on each device when needed
4567 - (system_settings_properties_changed_cb): handle signals from the
4568 system settings service
4569 - (system_settings_get_unmanaged_devices_cb): handle callback from
4570 getting the unmanaged device list method call
4571 - (query_unmanaged_devices): ask the system settings service for its
4572 list of unmanaged devices
4573 - (nm_manager_name_owner_changed, initial_get_connections): get unmanaged
4575 - (manager_set_wireless_enabled): push rfkill state down to wireless
4576 devices directly and let them handle the necessary state transitions
4577 - (manager_device_state_changed): update for new device states
4578 - (nm_manager_add_device): set initial rfkill state on wireless devices
4579 - (nm_manager_remove_device): don't touch the device if it's unmanaged
4580 - (nm_manager_activate_connection): return error if the device is
4582 - (nm_manager_sleep): handle new device states correctly; don't change
4583 the state of unavailable/unmanaged devices
4585 * libnm-glib/nm-device-802-11-wireless.c
4586 - (state_changed_cb): update for new device states
4588 2008-04-07 Dan Williams <dcbw@redhat.com>
4590 * marshallers/nm-marshal.list
4591 - Add VOID:STRING,UINT marshaller for system settings HAL manager
4593 2008-04-07 Dan Williams <dcbw@redhat.com>
4595 * system-settings/src/main.c
4596 - (unmanaged_devices_changed_cb, register_plugin): proxy changes from
4597 plugins to the dbus settings object
4598 - (load_stuff): start the dbus service after grabbing unmanaged devices
4599 - (dbus_reconnect, dbus_cleanup): make HAL manager aware of dbus events
4600 - (log_handler, logging_setup, logging_shutdown): log output to syslog
4601 - (main): switch default logging to syslog with a 'debug' option to
4602 output to console; start up the HAL manager
4604 2008-04-07 Dan Williams <dcbw@redhat.com>
4606 * introspection/nm-settings-system.xml
4607 introspection/Makefile.am
4608 - Define the unmanaged devices interface for the system settings service
4610 * system-settings/src/nm-system-config-hal-manager.c
4611 system-settings/src/nm-system-config-hal-manager.h
4612 system-settings/src/nm-system-config-hal-manager-private.h
4613 system-settings/src/Makefile.am
4614 - Add a lightweight HAL manager object for tracking network devices for
4615 the purpose of determining unmanaged devices and which devices need
4616 the default DHCP connections
4618 * system-settings/src/nm-system-config-interface.c
4619 system-settings/src/nm-system-config-interface.h
4620 - (nm_system_config_interface_init): add the HAL manager as an argument
4621 - (nm_system_config_interface_get_unmanaged_devices): implement
4622 - Define 'unmanaged-devices-changed' signal
4624 * system-settings/src/dbus-settings.c
4625 system-settings/src/dbus-settings.h
4626 - Implement the unmanaged devices interface; some cleanups
4628 * system-settings/plugins/ifcfg-suse/plugin.c
4629 - Fixup for plugin interface changes
4631 * system-settings/plugins/ifcfg-fedora/plugin.c
4632 - (get_ether_device_udi): new function; find the device that has
4633 a specified MAC address and return its UDI
4634 - (get_udi_for_connection): new function; try to find the specific
4635 device a connection is locked to, if any
4636 - (device_added_cb, device_removed_cb): update unmanaged device list in
4637 response to HAL events
4638 - (get_unmanaged_devices): new function; return unmanaged device list
4639 - (build_one_connection): set the connection's locked device, if any
4640 - (write_auto_wired_connection): remove
4641 - (kill_old_auto_wired_file): remove the ifcfg-Auto Wired file if found
4642 - (handle_connection_changed): alert listeners that the unmanaged device
4644 - (init): fixup for plugin interface changes, implement unmanaged devices
4646 * system-settings/plugins/ifcfg-fedora/parser.c
4647 system-settings/plugins/ifcfg-fedora/parser.h
4648 - (connection_data_free): clean up connection UDI
4650 2008-04-07 Dan Williams <dcbw@redhat.com>
4652 * system-settings/plugins/ifcfg-fedora/parser.c
4653 - (make_ip4_setting): fix parsing of DNS servers
4655 2008-04-05 Dan Williams <dcbw@redhat.com>
4659 marshallers/Makefile.am
4660 marshallers/nm-marshal-main.c
4661 marshallers/nm-marshal.list
4662 - Consolidate marshallers
4664 * libnm-glib/nm-marshal-main.c
4665 libnm-glib/nm-marshal.list
4666 src/marshallers/Makefile.am
4667 src/marshallers/nm-marshal-main.c
4668 src/marshallers/nm-marshal.list
4671 * libnm-glib/Makefile.am
4673 src/dhcp-manager/Makefile.am
4674 src/ppp-manager/Makefile.am
4675 src/supplicant-manager/Makefile.am
4676 src/vpn-manager/Makefile.am
4677 - Use consolidated marshallers
4679 2008-04-04 Dan Williams <dcbw@redhat.com>
4681 * src/nm-hal-manager.c
4682 src/nm-hal-manager.h
4683 - (hal_init): don't look for hardware here
4684 - (nm_hal_manager_start): new function; look for hardware here instead,
4685 which can be done at a later time than hal_init()
4687 * src/NetworkManager.c
4688 - (main): start HAL manager after entering the main loop
4690 2008-04-03 Dan Williams <dcbw@redhat.com>
4692 * libnm-glib/nm-settings.c
4693 libnm-glib/nm-settings.h
4694 - (nm_exported_connection_get_id): new function
4695 - (impl_exported_connection_get_id): use nm_exported_connection_get_id()
4697 2008-04-02 Dan Williams <dcbw@redhat.com>
4699 * src/nm-device-interface.c
4700 src/nm-device-interface.h
4703 - Rename check_connection_conflicts() to check_connection_compatible()
4705 * src/nm-device-802-11-wireless.c
4706 - (real_check_connection_conflicts): remove
4707 - (real_check_connection_compatible): implement; match MAC address
4709 * src/nm-device-802-3-ethernet.c
4710 - (real_check_connection_conflicts): remove
4711 - (real_check_connection_compatible): implement; match MAC address
4712 - (real_get_best_auto_connection): correctly handle PPPoE cases
4715 - (check_connection_allowed): remove; unused until PolicyKit integration
4716 - (internal_activate_device): check whether the connection is compatible
4717 with the device before trying to activate it
4719 2008-04-02 Dan Williams <dcbw@redhat.com>
4721 * system-settings/plugins/ifcfg-fedora/parser.c
4722 - (read_mac_address): new function; read in MAC address and stuff it
4724 - (add_one_wep_key): remove debug spew
4725 - (make_wireless_security_setting): validate the default TX key; don't
4726 add the wireless-security setting if the connection doesn't need
4727 security; don't leak the keys shvarFile on error cases
4728 - (make_wireless_setting, make_wired_setting): populate device's MAC
4731 2008-04-02 Dan Williams <dcbw@redhat.com>
4733 * libnm-util/nm-setting-connection.c
4734 libnm-util/nm-setting-connection.h
4735 - (set_property, get_property, nm_setting_connection_class_init): remove
4736 the 'lockdown' property; it's functionality will be replaced by
4739 2008-04-01 Dan Williams <dcbw@redhat.com>
4741 Patch from Per Øyvind Karlsen <peroyvind@mandriva.org>
4744 initscript/Makefile.am
4745 initscript/Mandriva/Makefile.am
4746 initscript/Mandriva/networkmanager.in
4747 initscript/Mandriva/networkmanagerdispatcher.in
4748 src/backends/Makefile.am
4749 src/backends/NetworkManagerMandriva.c
4750 system-settings/plugins/Makefile.am
4751 - Add Mandriva support
4753 2008-03-31 Dan Williams <dcbw@redhat.com>
4755 * src/vpn-manager/nm-vpn-service.c
4756 - (nm_vpn_service_daemon_exec): add an error argument so that spawn
4757 errors can be passed back to the caller; also no longer scheduled
4758 as an idle handler, but called directly; and bump up VPN service
4759 spawn timeout, 2s is really short
4760 - (nm_vpn_service_activate): don't schedule the VPN service activation,
4761 but call it directly so that errors are reported on return from
4762 ActivateConnection() and don't get lost. If scheduled as an idle
4763 handler, clients don't have the time to query NM for the new VPN
4764 connection's properties before the VPN connection is torn down again
4765 if the service couldn't be launched, and therefore launch errors
4768 2008-03-31 Dan Williams <dcbw@redhat.com>
4770 * src/vpn-manager/nm-vpn-connection.c
4771 - (device_state_changed): send correct state on device failure too
4772 - (plugin_state_changed): failed state means unexpected disconnection,
4773 thus if the service goes away while the VPN connection is activated
4774 that's a failure too
4776 2008-03-31 Dan Williams <dcbw@redhat.com>
4778 * src/vpn-manager/nm-vpn-manager.c
4779 src/vpn-manager/nm-vpn-manager.h
4780 - Make VPNManager errors more available; add a service-start-failed error
4782 2008-03-31 Dan Williams <dcbw@redhat.com>
4784 * libnm-glib/nm-client.c
4785 libnm-glib/nm-client.h
4786 - (activate_cb): pass the new active connection to callback; fix
4787 message when no callback is specified
4789 2008-03-30 Dan Williams <dcbw@redhat.com>
4791 * libnm-util/nm-setting-wireless-security.c
4792 - (need_secrets): only require key0 if the transmit key index is also
4794 - (verify): reject non-NULL but zero-length WEP keys; these are invalid
4796 2008-03-29 Dan Williams <dcbw@redhat.com>
4798 * libnm-util/nm-setting-8021x.c
4799 libnm-util/nm-setting-ip4-config.c
4800 libnm-util/nm-setting-vpn-properties.c
4801 libnm-util/nm-setting-vpn.c
4802 libnm-util/nm-setting-wireless-security.c
4803 libnm-util/nm-setting-wireless.c
4804 libnm-util/nm-utils.c
4805 src/dhcp-manager/nm-dhcp-manager.c
4806 src/nm-activation-request.c
4809 src/nm-properties-changed-signal.c
4810 src/ppp-manager/nm-pppd-plugin.c
4811 src/supplicant-manager/nm-supplicant-interface.c
4812 src/vpn-manager/nm-vpn-connection.c
4813 - consistently use nm-dbus-glib-types.h
4815 2008-03-29 Dan Williams <dcbw@redhat.com>
4817 * src/vpn-manager/nm-vpn-connection.c
4818 - (nm_vpn_connection_class_init): PROP_SPECIFIC_OBJECT should be boxed,
4821 * src/nm-activation-request.c
4822 - (nm_act_request_class_init): PROP_SPECIFIC_OBJECT should be boxed,
4825 2008-03-29 Dan Williams <dcbw@redhat.com>
4827 * libnm-glib/nm-device-802-11-wireless.c
4828 - (access_point_added_proxy): create new APs if not found
4830 2008-03-29 Dan Williams <dcbw@redhat.com>
4832 * libnm-glib/nm-client.c
4833 - (proxy_name_owner_changed): tell wireless devices about rfkill state
4836 2008-03-29 Dan Williams <dcbw@redhat.com>
4838 * system-settings/plugins/ifcfg-fedora/parser.c
4839 - Fix parsing of WEP keys; ifcfg files use indexes [1...4] rather than
4840 [0...3]; also handle KEY correctly in combination with DEFAULTKEY
4842 2008-03-29 Dan Williams <dcbw@redhat.com>
4844 * system-settings/plugins/ifcfg-fedora/parser.c
4845 - (get_one_wep_key, make_wireless_security_setting): handle "KEY" too
4847 2008-03-27 Dan Williams <dcbw@redhat.com>
4850 - (nm_object_queue_notify): don't notify multiple times for the same
4853 * nm-object-private.h
4854 - (handle_ptr_array_return): return NULL if the given array is NULL or
4855 if it has zero elements
4858 - (finalize): use g_ptr_array_foreach() when freeing domains
4859 - (nm_ip4_config_get_domains): use handle_ptr_array_return()
4861 * nm-active-connection.c
4862 - (nm_active_connection_get_devices): use handle_ptr_array_return()
4864 * nm-device-802-11-wireless.c
4865 nm-device-802-11-wireless.h
4866 - (nm_device_802_11_wireless_get_access_points): return const; use
4867 handle_ptr_array_return()
4870 - (nm_object_array_demarshal): always create an array, even of length
4871 zero, to distinguish between "NM returned no items" and "haven't
4875 - (dispose): free active connections too
4876 - (proxy_name_owner_changed): free active connections too when NM goes
4878 - (nm_client_get_devices): return const; use handle_ptr_array_return()
4879 - (nm_client_get_active_connections): use handle_ptr_array_return()
4881 2008-03-26 Dan Williams <dcbw@redhat.com>
4883 Rework VPN connection handling for a more consistent D-Bus API. The
4884 VPNManager object has been removed, and active VPN connections are now the
4885 same as any other active connection. The Manager object's ActivateConnection
4886 and DeactivateConnection methods are used to start and stop a VPN connection,
4887 and the VPNConnection objects are subclasses of the ActiveConnection objects.
4888 When activating a VPN connection, pass the path of the active connection
4889 to which the VPN connection is tied in the 'specific_object' argument.
4891 Consequently, the libnm-glib API has been reworked to match this arrangement,
4892 with the VPNManager object removed, and the NMVPNConnection objects now
4893 being subclasses of NMActiveConnection.
4895 2008-03-25 Dan Williams <dcbw@redhat.com>
4897 Patch from Björn Martensen <bjoern.martensen@gmail.com>
4899 * initscript/Arch/networkmanager.in
4900 initscript/Arch/networkmanager-dispatcher.in
4901 - Updates for Arch Linux (gnome.org #523701)
4903 2008-03-25 Dan Williams <dcbw@redhat.com>
4905 * libnm-glib/nm-ip4-config.c
4906 libnm-glib/nm-active-connection.c
4907 libnm-glib/nm-access-point.c
4908 - Use nm_object_queue_notify() instead of g_object_notify()
4910 * libnm-glib/nm-device.c
4911 - (demarshal_ip4_config): distinguish between successful but missing
4912 ip4-config request, and unsuccessful and missing ip4-config request
4913 - (nm_device_get_ip4_config): don't try to demarshal a NULL ip4-config
4915 - Use nm_object_queue_notify() instead of g_object_notify()
4917 * libnm-glib/nm-device-802-11-wireless.c
4918 - (demarshal_active_ap): distinguish between successfull but missing
4919 active-ap request, and unsuccessful and missing active-ap request
4920 - (dispose, clean_up_aps): consolidate AP list and active AP clearing
4922 - (nm_device_802_11_wireless_set_wireless_enabled): add a private hook
4923 for the NMClient to notify the device that wireless is disabled,
4924 and therefore to clear the AP list and active AP
4925 - Use nm_object_queue_notify() instead of g_object_notify()
4927 * libnm-glib/nm-client.c
4928 - (poke_wireless_devices_with_rf_status): new function
4929 - (update_wireless_status): notify wireless devices of the rfkill status
4930 so they can clean up if needed
4931 - Use nm_object_queue_notify() instead of g_object_notify()
4933 2008-03-25 Dan Williams <dcbw@redhat.com>
4935 * libnm-glib/nm-object.c
4936 libnm-glib/nm-object-private.h
4937 - (nm_object_queue_notify): add helper to batch & postpone GObject notify
4938 signals to an idle handler
4939 - (nm_object_get_property): add a timeout to the D-Bus method call
4941 2008-03-25 Dan Williams <dcbw@redhat.com>
4943 * introspection/nm-device-cdma.xml
4944 introspection/nm-device-gsm.xml
4945 introspection/Makefile.am
4946 introspection/all.xml
4947 - Add introspection for CDMA and GSM devices for PropertiesChanged signal
4949 * src/nm-gsm-device.h
4951 src/nm-cdma-device.h
4952 src/nm-cdma-device.c
4954 - Implement PropertiesChanged signals
4956 * libnm-glib/nm-cdma-device.c
4957 libnm-glib/nm-cdma-device.c
4958 - Attach to PropertiesChanged signals
4960 2008-03-24 Dan Williams <dcbw@redhat.com>
4962 * libnm-glib/nm-client.c
4963 - (client_device_added_proxy): add new devices to the internal device
4964 list so they appear to clients
4966 2008-03-24 Dan Williams <dcbw@redhat.com>
4968 Massive fixup of libnm-glib to:
4969 a) have all objects (with the exception of VPN) cache their properties and
4970 update them asynchronously on PropertiesChanged signals from NM
4971 b) return internal const data for most attributes/properties instead of
4972 allocated values that the caller must free
4973 c) cache wrapped objects such that a given D-Bus path will always map to the
4974 same GObject returned by libnm-glib
4975 d) remove a few signals and move them to GObject property notifications
4976 e) match recent NM D-Bus API changes for activation/deactivation
4977 f) remove some private functions from libnm-glib headers
4979 2008-03-20 Dan Williams <dcbw@redhat.com>
4982 - (nm_manager_update_state, manager_device_state_changed,
4983 nm_manager_activate_device, connection_added_default_handler,
4984 impl_manager_activate_connection, impl_manager_deactivate_connection):
4985 queue PropertyChanged singals when the active connections change
4987 2008-03-20 Dan Williams <dcbw@redhat.com>
4989 * introspection/nm-manager.xml
4990 introspection/nm-manager-client.xml
4991 - (ActivateConnection): return the object path of the active connection
4993 - (GetActiveConnections): remove
4994 - (DeactivateConnection): new function; deactivate a currently active
4996 - Add an ActiveConnections property which returns an array of
4997 active connection object paths
4999 * introspection/nm-device.xml
5000 - (Deactivate): remove
5002 * introspection/all.xml
5003 - Add ActiveConnection introspection
5005 * introspection/nm-active-connection.xml
5006 - Add the ActiveConnection object
5008 * include/NetworkManager.h
5009 - Add the Connection.Active D-Bus interface
5011 * src/nm-device-interface.c
5012 - (impl_device_deactivate): remove
5014 * src/nm-activation-request.c
5015 src/nm-activation-request.c
5017 - Implement the Connection.Active D-Bus interface
5020 - (get_property, nm_manager_class_init): add ACTIVE_CONNECTIONS property
5021 - (nm_manager_activate_device): return the active connection path
5022 - (connection_added_default_handler, impl_manager_activate_connection):
5023 return the active connection to the caller
5024 - (add_one_connection_element, impl_manager_get_active_connections):
5026 - (impl_manager_deactivate_connection): new function; deactivate an
5029 * libnm-glib/nm-device.c
5030 libnm-glib/nm-device.h
5031 - Remove Deactivate() function
5033 2008-03-19 Dan Williams <dcbw@redhat.com>
5035 * introspection/nm-manager.xml
5036 introspection/nm-manager-client.xml
5037 - Rename the ActivateDevice method to ActivateConnection to better
5038 reflect it's usage; it's arguments get reordered a bit too
5039 - Convert GetActiveConnections method return from a struct to a dict
5041 * include/NetworkManager.h
5042 - Define the dict keys for return value of GetActiveConnections
5045 - impl_manager_activate_device -> impl_manager_activate_connection
5046 - (add_one_connection_element): return a populated hash table, not
5049 * libnm-glib/nm-client.c
5050 libnm-glib/nm-client.h
5051 - nm_client_activate_device -> nm_client_activate_connection
5052 - nm_client_free_active_connection_element -> nm_client_free_active_connections_element
5053 - (nm_client_get_active_connections): return a GSList of GHashTables,
5054 instead of the custom structures. Each element of the returned list
5055 must be freed with nm_client_free_active_connections_element()
5057 2008-03-18 Dan Williams <dcbw@redhat.com>
5059 * system-settings/plugins/ifcfg-fedora/parser.c
5060 system-settings/plugins/ifcfg-fedora/parser.h
5061 system-settings/plugins/ifcfg-fedora/plugin.c
5062 - Read settings from /etc/sysconfig/network-scripts/ instead of using
5063 profiles. DNS servers and searches must now be stored in the ifcfg
5066 2008-03-18 Tambet Ingo <tambet@gmail.com>
5068 * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Don't
5069 print out username and password, it's supposed to be a secret.
5071 * src/nm-device-802-3-ethernet.c (ppp_state_changed): Handle authentication
5072 request and set the device state accordingly.
5074 2008-03-18 Tambet Ingo <tambet@gmail.com>
5076 * src/nm-device-802-3-ethernet.c: Implement wired 802.1x authentication.
5078 * libnm-util/nm-setting-wireless-security.h: Fix a typo.
5080 2008-03-18 Dan Williams <dcbw@redhat.com>
5082 * src/vpn-manager/nm-vpn-connection.c
5083 - (get_secrets_cb): handle new GetSecrets return format
5085 2008-03-18 Dan Williams <dcbw@redhat.com>
5087 Adapt system settings service for split 802.1x.
5089 * system-settings/src/nm-system-config-interface.h
5090 - clarify return value of get_secrets()
5092 * system-settings/src/dbus-settings.c
5093 - (string_to_gvalue, destroy_gvalue, add_one_secret_to_hash): remove
5094 - (check_for_secrets): check if there actually secrets returned by a
5096 - (exported_connection_get_secrets): just return the plugin-returned
5097 hash of settings' secrets if it looks valid
5099 * system-settings/plugins/ifcfg-fedora/plugin.c
5100 - (get_secrets): add split secrets with correct format to reply hash
5102 * system-settings/plugins/ifcfg-fedora/parser.c
5103 system-settings/plugins/ifcfg-fedora/parser.h
5104 - (copy_one_cdata_secret, connection_data_copy_secrets,
5105 connection_data_free, connection_data_add): keep secrets for
5106 different settings in different hashes
5108 2008-03-17 Tambet Ingo <tambet@gmail.com>
5110 Clean up activating device deactivation.
5112 * src/nm-device.c (real_activation_cancel_handler): Remove. The same thing
5113 should be done whether the device activation gets cancelled or the device
5114 is just getting deactivated.
5115 (nm_device_activation_cancel): Remove.
5116 (nm_device_deactivate_quickly): Handle the case where device is activating.
5118 * src/nm-device-802-11-wireless.c (real_activation_cancel_handler): Remove.
5119 It does the exact same thing as real_deactivate_quickly().
5121 2008-03-17 Dan Williams <dcbw@redhat.com>
5123 Split the 802.1x bits out of the wireless-security setting so they are
5124 generalized enough for wired 802.1x to use too.
5126 * introspection/nm-exported-connection.xml
5127 - GetSecrets now returns 'a{sa{sv}}' (a hash of settings hashes) instead
5128 of just a hash of the secrets for one setting
5130 * libnm-util/nm-setting-wireless-security.c
5131 libnm-util/nm-setting-wireless-security.h
5132 - Remove 802.1x-specific stuff
5133 - Added leap-username and leap-password properties for old-school LEAP
5137 - (connection_secrets_updated_cb): take a list of updated settings names,
5140 * src/supplicant-manager/nm-supplicant-config.c
5141 src/supplicant-manager/nm-supplicant-config.h
5142 - (nm_supplicant_config_add_setting_wireless_security): remove 802.1x
5143 specific stuff; fix for updated LEAP bits; punt 802.1x stuff
5144 to nm_supplicant_config_add_setting_8021x()
5145 - (nm_supplicant_config_add_setting_8021x): add an 802-1x setting to
5146 the supplicant config
5148 * src/nm-device-802-11-wireless.c
5149 - (build_supplicant_config): pass in the 802.1x setting too, if any
5150 - (real_connection_secrets_updated): take a list of updated settings
5153 * src/nm-device-802-3-ethernet.c
5154 src/nm-cdma-device.c
5156 - (real_connection_secrets_updated_cb): take a list of updated settings
5159 * src/nm-activation-request.c
5160 src/nm-activation-request.h
5161 - (nm_act_request_class_init): the 'connection-secrets-updated' signal
5162 now passes a list of updated settings names, not just one
5163 - (update_one_setting): new function; handle one updated setting
5164 - (get_secrets_cb): handle multiple settings returned from the
5165 settings service; have to be careful of ordering here as there are
5166 some dependencies between settings (ex. wireless-security and 802.1x
5169 * src/marshallers/nm-marshal.list
5170 - new marshaller for connection-secrets-updated signal
5172 * libnm-util/nm-setting-8021x.c
5173 - Add back the 'pin' and 'psk' settings, for EAP-SIM and EAP-PSK auth
5175 - (verify): a valid 'eap' property is now required
5177 * libnm-util/nm-connection.c
5178 - (register_default_settings): add priorities to settings; there are
5179 some dependencies between settings, and during the need_secrets
5180 calls this priority needs to be respected. For example, only the
5181 wireless-security setting knows whether or not the connection is
5182 going to use 802.1x or now, so it must be asked for secrets before
5183 any existing 802.1x setting is
5184 - (nm_connection_lookup_setting_type): expose
5186 * libnm-util/nm-setting-wireless.c
5187 - (verify): should verify even if all_settings is NULL; otherwise won't
5188 catch the case where there is missing security
5190 * libnm-util/nm-setting-wireless-security.c
5191 - Remove everything to do with 802.1x
5192 - Add old-school LEAP specific properties for username and password
5193 - (need_secrets): rework LEAP secrets checking
5194 - (verify): rework for LEAP and 802.1x verification
5196 2008-03-17 Dan Williams <dcbw@redhat.com>
5198 * src/NetworkManagerPolicy.c
5199 - (auto_activate_device): always remove the current activation check
5200 from the pending activation list, otherwise when the policy gets
5201 destroyed on NM exit it will attempt to free the already freed
5204 2008-03-14 Tambet Ingo <tambet@gmail.com>
5206 * src/backends/NetworkManagerSlackware.c
5207 (nm_system_device_setup_static_ip4_config): Remove, it's unused.
5209 * src/backends/NetworkManagerSuSE.c: Add missing includes.
5211 2008-03-14 Dan Williams <dcbw@redhat.com>
5214 - (nm_device_interface_get_iface): g_object_get() will return an
5215 allocated value, so this function must not return const
5216 - (nm_device_interface_activate): free returned iface
5218 2008-03-14 Tambet Ingo <tambet@gmail.com>
5220 * libnm-util/Makefile.am: Add new files to build.
5222 * libnm-util/nm-connection.c: Register NMSetting8021x.
5224 * libnm-util/nm-setting-8021x.c
5225 * libnm-util/nm-setting-8021x.h: Implement.
5227 2008-03-14 Tambet Ingo <tambet@gmail.com>
5229 * libnm-util/Makefile.am: Add new files to build.
5231 * libnm-util/nm-connection.c: Register NMSetting8021x.
5233 * libnm-util/nm-setting-8021x.c
5234 * libnm-util/nm-setting-8021x.h: Implement.
5236 2008-03-14 Tambet Ingo <tambet@gmail.com>
5238 * src/NetworkManagerPolicy.c (auto_activate_device): Don't leak device and
5241 2008-03-14 Dan Williams <dcbw@redhat.com>
5243 * include/wireless-helper.h
5245 - One place for all the junk needed for #including wireless.h
5248 src/NetworkManagerAP.c
5251 libnm-util/nm-utils.c
5252 libnm-util/nm-setting-wireless.c
5253 libnm-glib/nm-device-802-11-wireless.c
5254 libnm-glib/nm-access-point.c
5255 libnm-glib/libnm-glib-test.c
5256 - include wireless-helper.h, not iwlib.h
5259 - Don't need libiw really, just need to check for wireless.h
5261 * src/kernel-types.h
5262 - Remove; used types moved into wpa.c
5264 * src/nm-device-802-11-wireless.c
5265 - (nm_device_802_11_wireless_update_signal_strength,
5266 real_get_generic_capabilities, nm_device_802_11_wireless_get_mode,
5267 nm_device_802_11_wireless_set_mode,
5268 nm_device_802_11_wireless_get_frequency,
5269 nm_device_802_11_wireless_get_ssid,
5270 nm_device_802_11_wireless_set_ssid,
5271 nm_device_802_11_wireless_get_bitrate,
5272 nm_device_802_11_wireless_get_bssid,
5273 nm_device_802_11_wireless_disable_encryption): use ioctl() directly
5274 instead of iwlib functions
5276 2008-03-14 Dan Williams <dcbw@redhat.com>
5278 * src/ppp-manager/nm-ppp-manager.c
5279 - (impl_ppp_manager_need_secrets): since it's asynchronous now, it
5280 should only take the DBusGMethodInvocation argument, not user/pass
5281 too. With dbus-glib, async functions only take 2 C arguments since
5282 the real dbus method arguments get passed back with
5283 dbus_g_method_return()
5285 2008-03-13 Tambet Ingo <tambet@gmail.com>
5287 * system-settings/plugins/ifcfg-suse/plugin.c (update_default_routes):
5288 Adapt the changes of NMSettingIP4Config.
5290 2008-03-13 Dan Williams <dcbw@redhat.com>
5292 * src/NetworkManagerUtils.c
5293 src/NetworkManagerUtils.h
5294 - (nm_ether_ntop): replacement for iw_ether_ntop()
5296 * src/NetworkManagerAP.c
5297 src/nm-device-802-11-wireless.c
5298 src/nm-device-802-3-ethernet.c
5299 - s/iw_ether_ntop/nm_ether_ntop/g
5301 2008-03-13 Dan Williams <dcbw@redhat.com>
5303 * src/NetworkManagerPolicy.c
5304 - (update_routing_and_dns): never set the default route through an
5305 IPv4LL addressed device
5307 2008-03-13 Dan Williams <dcbw@redhat.com>
5309 * NetworkManagerUtils.c
5310 NetworkManagerUtils.h
5311 - Remove NMSock stuff
5312 - Remove the completion stuff
5317 NetworkManagerSystem.c
5319 nm-device-802-11-wireless.c
5320 nm-device-802-3-ethernet.c
5321 - Remove NMSock and completion stuff
5322 - Remove nm_ioctl_info()
5324 2008-03-12 Dan Williams <dcbw@redhat.com>
5327 - (merge_ip4_config): avoid duplicates
5329 2008-03-12 Dan Williams <dcbw@redhat.com>
5331 * libnm-util/nm-setting-ip4-config.c
5332 libnm-util/nm-setting-ip4-config.h
5333 - Remove 'manual' and 'autoip' properties
5334 - Add 'method' property
5335 - (verify): fix verification with 'method'
5336 - (finalize): free 'method'
5337 - (set_property, get_property, nm_setting_ip4_config_class_init): fix
5341 - (real_act_stage3_ip_config_start): check IP4Config method
5342 - (nm_device_new_ip4_autoip_config): add a note about not sucking in
5344 - (merge_ip4_config): IP settings are valid with DHCP too
5345 - (real_act_stage4_get_ip4_config): handle all IP4Config methods
5346 - (real_act_stage4_ip_config_timeout): don't do autoip on DHCP timeout
5348 * src/nm-device-802-11-wireless.c
5349 - (real_act_stage3_ip_config_start): remove; autoip only on demand
5350 - (real_act_stage4_get_ip4_config): just chain up to parent; autoip
5353 * system-settings/plugins/ifcfg-fedora/parser.c
5354 system-settings/plugins/ifcfg-suse/parser.c
5355 - (make_ip4_setting): fix up for 'method'
5357 2008-03-12 Dan Williams <dcbw@redhat.com>
5359 * system-settings/plugins/ifcfg-fedora/parser.c
5360 system-settings/plugins/ifcfg-fedora/parser.h
5361 - (get_ifcfg_name): ignore more file suffixes
5362 - (is_wireless_device): fix check for ifcfgs that have no TYPE
5364 2008-03-12 Dan Williams <dcbw@redhat.com>
5367 - Bring in the bits of gnome-common we actually use (all 15 lines)
5369 2008-03-12 Dan Williams <dcbw@redhat.com>
5371 * system-settings/plugins/ifcfg-fedora/plugin.c
5372 - (write_auto_wired_connection): new function; write out an auto
5373 wired connection file since the applet isn't doing it any more
5374 - (reload_all_connections): write out the auto wired connection file
5375 if there aren't any wired connections already
5376 - (init): don't leak a GError
5378 2008-03-12 Dan Williams <dcbw@redhat.com>
5380 * src/nm-device-interface.c
5381 - (nm_device_interface_activate): print the ID of the connection
5382 that's about to be activated
5384 2008-03-12 Dan Williams <dcbw@redhat.com>
5386 Harmonize the 802.11 bitrate API
5388 * introspection/nm-access-point.xml
5389 - 'Rate' -> 'MaxBitrate'; clarify units
5391 * introspection/nm-device-802-11-wireless.xml
5392 - Clarify units of 'Bitrate'
5394 * src/NetworkManagerAP.c
5395 src/NetworkManagerAP.h
5396 - (set_property, get_property, nm_ap_class_init): rename 'rate'
5397 property to 'max-bitrate'
5398 - (foreach_property_cb): convert rate to Kb/s
5400 * src/nm-device-802-11-wireless.c
5401 - (nm_device_802_11_wireless_get_bitrate): return rate in Kb/s
5403 * libnm-glib/nm-access-point.c
5404 libnm-glib/nm-access-point.h
5405 - 'rate' -> 'max-bitrate'
5408 libnm-glib/libnm-glib-test.c
5409 - Fix up for these changes
5411 2008-03-12 Dan Williams <dcbw@redhat.com>
5414 - (nm_device_set_ip4_config): don't send property notifications when
5415 the ip4 config is set to NULL; it causes a PropertyChanged signal
5416 which dbus-glib can't parse because the value is NULL, which isn't
5417 a legal object path. Setting the IP4 config to NULL is only
5418 valid when deactivating a device anyway, so the device state change
5419 will alert listeners that the ip4 config is invalid.
5421 2008-03-12 Dan Williams <dcbw@redhat.com>
5423 * src/nm-properties-changed-signal.c
5424 - (add_to_string): better handling of NULL objects
5426 2008-03-12 Dan Williams <dcbw@redhat.com>
5428 Move the 'carrier' property from NMDevice to NMDevice8023Ethernet;
5429 convert the libnm-glib NMDevice8023Ethernet to cached properties
5431 * introspection/nm-device-802-3-ethernet.xml
5432 - New 'Carrier' property
5433 - New 'PropertiesChanged' signal
5435 * introspection/nm-device.xml
5436 - Remove 'Carrier' property
5437 - Remove 'CarrierChanged' signal
5439 * src/nm-device-interface.c
5440 src/nm-device-interface.h
5441 - (nm_device_interface_init): remove 'carrier' property and
5442 'carrier-changed' signal
5446 - (nm_device_get_carrier, nm_device_set_carrier): remove
5447 - (nm_device_activate_stage5_ip_config_commit): don't bother updating
5448 the link here; wired device will handle that
5449 - (handle_dhcp_lease_change): don't bother updating link here
5450 - (get_property, nm_device_class_init): remove carrier property
5452 * src/nm-device-802-11-wireless.c
5453 - (real_update_link, nm_device_802_11_wireless_class_init): remove
5454 real_update_link(); wireless devices don't use carrier at all
5455 - (link_timeout_cb, supplicant_iface_state_cb_handler,
5456 supplicant_iface_connection_state_cb_handler,
5457 supplicant_mgr_state_cb_handler): remove anything to do with carrier
5459 * src/nm-device-802-3-ethernet.c
5460 src/nm-device-802-3-ethernet.h
5461 - (nm_device_802_3_ethernet_carrier_on,
5462 nm_device_802_3_ethernet_carrier_off, constructor): use set_carrier()
5463 instead of nm_device_set_carrier()
5464 - (device_state_changed): update link from sysfs on activation;
5465 replaces real_update_link()
5466 - (real_update_link): remove, replaced by device_state_changed()
5467 - (nm_device_802_3_ethernet_get_carrier, set_carrier): new functions
5468 - (nm_device_802_3_ethernet_get_speed): move up with other getters/setters
5469 - (real_get_generic_capabilities, real_can_interrupt_activation): use
5470 new get_carrier function
5471 - (get_property): add 'carrier' property
5472 - (nm_device_802_3_ethernet_class_init): add 'carrier' property and
5473 hook into property-changed signal helper
5475 * src/NetworkManagerPolicy.c
5476 - (device_carrier_changed): will only ever be called with a wired device
5477 - (device_added): only hook up to carrier-changed for wired devices
5479 * libnm-glib/nm-device.c
5480 libnm-glib/nm-device.h
5481 - (constructor, nm_device_class_init): remove carrier-changed signal
5482 - (device_carrier_changed_proxy): remove; unused
5483 - (nm_device_get_carrier): remove; carrier a property of wired devices
5485 * libnm-glib/nm-device-802-3-ethernet.c
5486 libnm-glib/nm-device-802-3-ethernet.h
5487 - Convert to cached properties like AP and Wireless objects
5488 - (nm_device_802_3_ethernet_get_hw_address): now returns a 'const char *'
5489 instead of a 'char *', return value should not be freed
5490 - (nm_device_802_3_ethernet_get_carrier): return current carrier status
5491 - (constructor): hook into properties-changed helper
5492 - (set_property, get_property): new functions
5493 - (nm_device_802_3_ethernet_class_init): export GObject properties
5496 - (detail_device): strdup the wired hardware address too since it's
5499 * libnm-glib/libnm-glib-test.c
5500 - (dump_wired): strdup the wired hardware address too since it's
5503 2008-03-12 Dan Williams <dcbw@redhat.com>
5505 * libnm-util/nm-setting-ip4-config.c
5506 libnm-util/nm-setting-ip4-config.h
5507 - (set_property, get_property, nm_setting_ip4_config_class_init): add
5508 the 'autoip' property from the spec
5510 2008-03-11 Dan Williams <dcbw@redhat.com>
5512 * src/backends/NetworkManagerGeneric.c
5513 src/backends/NetworkManagerGeneric.h
5514 - (nm_generic_device_get_use_dhcp): remove
5516 2008-03-11 Dan Williams <dcbw@redhat.com>
5519 - (nm_device_deactivate): don't need to munge DNS here; that gets done
5520 already in nm_device_set_ip4_config()
5521 - (handle_dhcp_lease_change): fail the device if setting the IP4Config
5522 due to a DHCP rebind fails
5523 - (nm_device_set_ip4_config): send property notifications when the
5525 - (get_property): only report IP4Config property during valid states
5527 * src/NetworkManagerPolicy.c
5528 - (update_routing_and_dns): ignore devices that don't have an ip4
5529 config; add parameter 'force_update' to allow callers to specify
5530 that changes should be made even if the default device doesn't change
5531 - (device_ip4_config_changed): update DNS and routing when the device's
5532 IP4Config changes, like for DHCP updates
5533 - (device_added): listen for ip4-config property changes
5535 2008-03-11 Dan Williams <dcbw@redhat.com>
5537 Fix address handling as a result of DHCP rebind/renew/reboot.
5539 * src/NetworkManagerSystem.c
5540 - (check_one_address): delete an address if it doesn't match a given
5541 one for the same interface
5542 - (nm_system_device_set_from_ip4_config): don't flush the default route,
5543 be smarter about flushing addresses (only flush ones that don't
5544 match the one we're about to apply)
5546 * src/backends/NetworkManagerDebian.c
5547 src/backends/NetworkManagerSuSE.c
5548 src/backends/NetworkManagerArch.c
5549 src/backends/NetworkManagerSlackware.c
5550 src/backends/NetworkManagerRedHat.c
5551 src/backends/NetworkManagerPaldo.c
5552 src/backends/NetworkManagerFrugalware.c
5553 src/backends/NetworkManagerGentoo.c
5554 - (nm_system_delete_default_route): remove
5556 * src/backends/NetworkManagerGeneric.c
5557 src/backends/NetworkManagerGeneric.h
5558 - (nm_generic_enable_loopback): fix the loopback device label
5559 - (nm_generic_delete_default_route): remove; no longer used
5561 2008-03-11 Dan Williams <dcbw@redhat.com>
5563 * src/nm-device-interface.h
5564 - Delimit property name words with '-', otherwise g_object_notify()
5565 doesn't work the way we expect
5567 2008-03-11 Tambet Ingo <tambet@gmail.com>
5569 * src/nm-hal-manager.c (create_device_and_add_to_list): Don't ignore USB devices.
5571 2008-03-11 Dan Williams <dcbw@redhat.com>
5573 * src/NetworkManagerPolicy.c
5574 - (update_routing_and_dns): don't change anything if the default device
5575 hasn't changed; print something out when switching the default route
5578 2008-03-10 Tambet Ingo <tambet@gmail.com>
5582 * src/ppp-manager/nm-ppp-manager.c (create_pppd_cmd_line): Use PPPoE service
5583 setting. Use "nic-$eth".
5585 * src/NetworkManagerPolicy.c (auto_activate_device): Move the check of whether
5586 the device is activating here to fix a race condition.
5588 * src/ppp-manager/nm-pppd-plugin.c (get_credentials): Implement.
5590 * src/ppp-manager/nm-ppp-manager.c (impl_ppp_manager_need_secrets): Implement.
5591 (ppp_watch_cb): Emit a signal to notify pppd is not running anymore.
5592 (nm_ppp_manager_start): Take activation request instead of connection, we might
5593 need it for asking secrets.
5594 (nm_ppp_manager_update_secrets): Implement.
5596 * src/nm-serial-device.c (real_act_stage2_config): Send activation request to
5597 ppp manager start. It might be needed for asking secrets.
5599 * src/nm-device-802-3-ethernet.c (real_connection_secrets_updated): Implement.
5600 (ppp_state_changed): Handle pppd daemon disappearing.
5601 (pppoe_stage2_config): Send activation request to ppp manager start.
5603 * libnm-util/nm-setting-pppoe.c (nm_setting_pppoe_class_init): Fix a typo.
5605 * introspection/nm-ppp-manager.xml: Make NeedSecrets method async, return only
5606 username and password.
5608 2008-03-10 Dan Williams <dcbw@redhat.com>
5611 - (handle_dhcp_lease_change): apply an IP4 config to a device in
5612 response to a DHCP lease change
5613 - (dhcp_state_changed): handle DHCP lease changes while activated
5614 - (nm_device_set_ip4_config): remove a previously set named config
5615 when setting an ip4 config
5617 2008-03-10 Dan Williams <dcbw@redhat.com>
5619 * src/nm-serial-device.c
5620 - (nm_serial_device_send_command): report errno on error
5621 - (get_reply_got_data): limit the size of the overall buffer
5622 - (wait_for_reply_info_destroy): destroy result string
5623 - (wait_for_reply_got_data): append received data to an overall buffer
5624 until timeout, filled buffer, or error instead of keeping a per-call
5625 buffer. Some devices send data slowly enough that this function
5626 gets called multiple times for the same command stream.
5627 - (nm_serial_device_wait_for_reply): initialize overall buffer for
5628 wait_for_reply_got_data() here
5630 2008-03-10 Dan Williams <dcbw@redhat.com>
5632 * src/nm-cdma-device.c
5633 - (do_dial, init_modem): handle errors from
5634 nm_serial_device_send_command_string()
5636 * src/nm-gsm-device.c
5637 - (do_dial, manual_registration, automatic_registration_get_network,
5638 automatic_registration, enter_pin, check_pin, init_modem): handle
5639 errors from nm_serial_device_send_command_string()
5641 2008-03-10 Dan Williams <dcbw@redhat.com>
5643 Patch based on ideas suggested by Bas Zoetekouw <bas@debian.org>
5645 * src/named-manager/nm-named-manager.c
5646 - (compute_searches): prefer searches before domains
5647 - (compute_domain): new function
5648 - (rewrite_resolv_conf): write out the 'domain' and 'searches' options
5649 - (merge_one_ip4_config): if there are no searches in the source config,
5650 merge domains of the source config into the target config
5651 - (compute_nameservers): make formatting of resolv.conf a bit nicer
5653 2008-03-10 Dan Williams <dcbw@redhat.com>
5655 * src/nm-serial-device.c
5656 - (get_reply_got_data): clean up indentation, shrink serial buffer
5657 - (wait_for_reply_got_data): try to handle slower serial devices where
5658 the reply is broken up into multiple reads by concatenating replies
5659 together until either an error is received or the search string is
5662 2008-03-10 Dan Williams <dcbw@redhat.com>
5665 - (nm_device_bring_down): deactivate the device if it's activating too,
5666 not just if it's already activated. This makes sure that everything
5667 from an association attempt is cleaned up (like DHCP for example)
5669 2008-03-10 Dan Williams <dcbw@redhat.com>
5671 * src/nm-serial-device.c
5672 - (config_fd): report error from TCSETA
5673 - (nm_serial_device_open): fail when config_fd() fails
5675 2008-03-10 Dan Williams <dcbw@redhat.com>
5677 * src/nm-ip4-config.c
5678 - (nm_ip4_config_init): allocate searches list
5679 - (finalize): free searches list
5681 2008-03-09 Dan Williams <dcbw@redhat.com>
5683 Patch from Bas Zoetekouw <bas@debian.org>
5685 * src/dhcp-manager/nm-dhcp-manager.c
5686 - (nm_dhcp_manager_get_ip4_config): handle domain-search option too
5688 2008-03-09 Dan Williams <dcbw@redhat.com>
5690 Patch from Bas Zoetekouw <bas@debian.org>
5692 * src/nm-ip4-config.c
5694 - (nm_ip4_config_add_search, nm_ip4_config_get_search,
5695 nm_ip4_config_get_num_searches): add 'searches' as distinct from
5696 domains. 'searches' is the correct way to store multiple search
5697 domains, whereas 'domains' is really just supposed to store one
5698 domain. Some sites abuse the DHCP 'domain-name' option to push
5699 search domains to the client.
5700 - (nm_ip4_config_add_domain): group with related functions (my patch)
5702 2008-03-09 Dan Williams <dcbw@redhat.com>
5704 * src/dhcp-manager/nm-dhcp-manager.c
5705 - (dhclient_run): send interface-specific config files to dhclient
5707 2008-03-07 Dan Williams <dcbw@redhat.com>
5709 * system-settings/plugins/ifcfg-fedora/parser.c
5710 - (is_wireless_device): new function; test a device for wireless
5712 - (parser_parse_file): if the ifcfg file doesn't have a TYPE tag,
5713 test the device for wireless extensions to determine the type
5715 2008-03-07 Dan Williams <dcbw@redhat.com>
5717 Change manager's StateChange signal to StateChanged for consistency.
5719 * introspection/nm-manager.xml
5720 - Add 'StateChanged' signal
5721 - Move 'StateChange' down to the deprecated section
5723 * src/nm-hal-manager.c
5724 - (nm_hal_manager_new): connect to 'state-changed' instead
5726 * src/NetworkManagerPolicy.c
5727 - (nm_policy_new): connect to 'state-changed' instead
5731 - (nm_manager_update_state): emit both 'state-changed' and 'state-change'
5732 - (nm_manager_class_init): add 'state-changed' and not the deprecation
5735 * libnm-glib/nm-client.c
5736 libnm-glib/nm-client.h
5737 - (constructor, nm_client_class_init, client_state_changed_proxy):
5738 track and proxy 'state-changed' instead of 'state-change'
5740 2008-03-07 Dan Williams <dcbw@redhat.com>
5742 First pass of multiple active device support. Expect bugs.
5744 * src/nm-ip4-config.c
5746 - (nm_ip4_config_get_secondary, nm_ip4_config_set_secondary): remove;
5747 there are better ways to do this in the named manager
5751 - (nm_device_can_activate): return whether the device can activate a
5752 connection right now; taking into account things like carrier state
5754 - (nm_device_get_best_auto_connection): renamed from
5755 nm_device_get_best_connection
5756 - (real_act_stage4_get_ip4_config): MTU stuff is now handled in the
5757 device subclasses themselves, so that each device can override the
5758 MTU from it's NMSetting subclass if needed
5759 - (nm_device_set_ip4_config): set MTU when setting up routes and stuff
5760 in NetworkManagerSystem.c, not here
5762 * src/named-manager/nm-named-manager.c
5763 src/named-manager/nm-named-manager.h
5764 - (nm_named_manager_name_owner_changed,
5765 nm_named_manager_dbus_connection_changed): fix for changes to
5766 rewrite_resolv_conf()
5767 - (compute_nameservers): don't need the NMNamedManager at all, remove
5769 - (merge_one_ip4_config): new function; merge ip4 configs together
5770 - (rewrite_resolv_conf): write out resolv.conf from all the stored
5771 ip4 configs; the VPN config takes precedence, then the best
5772 device config, then the rest of the configs
5773 - (get_domain_for_config): take the NMNamedManager as an argument
5774 to check whether the config is the VPN config
5775 - (add_ip4_config_to_named): fixups for removal of the 'secondary'
5776 attribute from ip4 configs
5777 - (add_all_ip4_configs_to_named): add all the configs in priority order
5778 - (remove_ip4_config_from_named): fix for changes to
5779 get_domain_for_config()
5780 - (nm_named_manager_add_ip4_config): assign the config to the right slot
5781 based on its type; callers must pass in the type now
5782 - (get_last_default_domain): remove, unused
5783 - (nm_named_manager_remove_ip4_config): handle config slots correctly
5785 * src/nm-device-802-11-wireless.c
5786 - (real_can_activate): new function
5787 - (real_get_best_auto_connection): renamed from real_get_best_connection
5788 - (real_act_stage4_get_ip4_config): handle MTU override
5790 * src/nm-device-802-3-ethernet.c
5791 - (real_can_activate): new function
5792 - (real_get_best_auto_connection): renamed from real_get_best_connection
5793 - (real_act_stage4_get_ip4_config): new function; handle MTU override
5795 * src/vpn-manager/nm-vpn-connection.c
5796 - (nm_vpn_connection_ip4_config_get): don't need to set the 'secondary'
5797 attribute on the ip4 config
5799 * src/NetworkManagerPolicy.c
5800 - (nm_policy_auto_get_best_device): remove
5801 - (nm_policy_device_change_check): remove
5802 - (update_default_route): new function; set the default route via
5803 the specified device
5804 - (get_device_priority): new function; return the priority number of
5805 a device type WRT which one should have the default route. Order is
5806 (highest to lowest) wired, wireless, GSM, CDMA.
5807 - (update_routing_and_dns): new function; determine which device should
5808 have the default route, then update the routing table and DNS
5809 - (maybe_auto_activate_device): new function; if a device is now
5810 available for activation, find out what connection it would like to
5812 - (schedule_activate_check): new function; if a device can be activated
5813 now, schedule the activation. Each device may have only one
5814 pending activation at a given time.
5815 - (device_state_changed): if activation was canceled, try again,
5816 possibly with another connection; if the device was activated,
5817 update routing and DNS; if the device was deactivated, try again
5818 with another connection
5819 - (device_carrier_changed): if there is no carrier, deactivate the
5820 device; otherwise schedule an activation check for the device
5821 - (wireless_networks_changed): schedule an activation check for the
5823 - (device_added): keep track of the signal handler IDs so they can
5824 be removed when the device goes away
5825 - (device_removed): remove any signal handlers that might be attached
5826 to the device; update routing and DNS
5827 - (schedule_activate_all): new function
5828 - (connections_added, connection_added, connection_updated): when
5829 connections change, schedule all devices for an activation check
5830 - (connection_removed): when a device is deactivated because its
5831 connection was removed, schedule another activation check for it
5832 - (nm_policy_destroy): destroy pending activations and disconnect
5833 all device signal handlers
5836 - (nm_manager_activate_device): if the device was already actived,
5838 - (deactivate_old_device): remove
5839 - (connection_added_default_handler, impl_manager_activate_device):
5840 don't deactivate other devices when activating this one
5842 * src/backends/NetworkManagerGentoo.c
5843 src/backends/NetworkManagerFrugalware.c
5844 src/backends/NetworkManagerPaldo.c
5845 src/backends/NetworkManagerRedHat.c
5846 src/backends/NetworkManagerSlackware.c
5847 src/backends/NetworkManagerArch.c
5848 src/backends/NetworkManagerSuSE.c
5849 src/backends/NetworkManagerDebian.c
5850 - (nm_system_get_mtu): remove; MTU should be provided through the
5851 distro's system settings service plugin instead
5852 - (nm_system_device_add_default_route_via_device): remove
5853 - (nm_system_device_add_default_route_via_device_with_iface): remove
5854 - (nm_system_device_replace_default_route): new function; call
5855 generic implementation
5857 * src/backends/NetworkManagerGeneric.c
5858 src/backends/NetworkManagerGeneric.h
5859 - (nm_generic_device_add_default_route_via_device,
5860 nm_generic_device_add_default_route_via_device_with_iface): remove
5861 - (nm_generic_device_replace_default_route): replace the default route
5862 with the given route via some gateway
5864 * src/NetworkManagerSystem.c
5865 src/NetworkManagerSystem.h
5866 - (nm_system_device_set_from_ip4_config): let the policy handle updates
5867 to routing and DNS; but set the MTU here
5868 - (nm_system_vpn_device_set_from_ip4_config): set the route with the
5869 ip_iface of the active device; use the standard MTU setting function
5870 - (nm_system_set_mtu): remove
5871 - (nm_system_device_set_mtu): consolidate MTU setting code in one place
5873 2008-03-07 Tambet Ingo <tambet@gmail.com>
5875 Rework the interaction between ppp manager and pppd plugin. Register a well
5876 known DBUS service in manager and let the plugin call it's methods instead
5877 of listening plugin's signals.
5879 * src/ppp-manager/nm-pppd-plugin.c: Call ppp-manager dbus methods instead
5880 of emitting signals.
5882 * src/ppp-manager/nm-ppp-manager.c: Implement dbus service here.
5884 * src/ppp-manager/Makefile.am: Build nm-ppp-manager-glue.h.
5886 * src/nm-serial-device.c (real_act_stage2_config): Pass NMConnection to
5887 nm_ppp_manager_start().
5889 * introspection/nm-ppp-manager.xml: New file.
5891 * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_get_speed): Handle
5892 the case correctly where driver is trying to send -1 for the speed, which gets
5893 casted to u16 and thus is always > 0.
5895 2008-03-07 Dan Williams <dcbw@redhat.com>
5897 * src/nm-hal-manager.c
5898 - (nm_get_device_driver_name): use net.originating_device first, fall
5899 back to physical device. HAL has deprecated physical_device.
5901 * libnm-glib/nm-device.c
5902 - (get_product_and_vendor): use net.originating_device first, fall
5903 back to physical device. HAL has deprecated physical_device.
5904 - (nm_device_update_description): s/physical_device_udi/orig_dev_udi
5906 2008-03-07 Dan Williams <dcbw@redhat.com>
5909 - (nm_netlink_get_default_handle): mistakenly removed too much code in
5910 last commit; fix that
5911 - (get_link_cache): print error string
5913 2008-03-07 Dan Williams <dcbw@redhat.com>
5916 - (nm_netlink_get_default_handle): NMNetlinkMonitor now uses libnl,
5917 don't need this hack any more (Benoit Boissinot)
5919 2008-03-06 Dan Williams <dcbw@redhat.com>
5922 - Die gnome-common, die
5924 2008-03-04 Dan Williams <dcbw@redhat.com>
5926 Patch from Michael Biebl <biebl@debian.org>
5928 * NetworkManager.pc.in
5929 - doesn't actually depend on dbus-1
5931 * libnm-util/nm-utils.h
5932 - remove unused #include <dbus/dbus.h>
5934 * libnm-glib/libnm_glib.pc.in
5935 - depends on glib and dbus-glib
5937 2008-03-02 Dan Williams <dcbw@redhat.com>
5939 * src/NetworkManagerPolicy.c
5940 - s/device_state_changed_idle_id/update_state_id/
5942 2008-03-02 Dan Williams <dcbw@redhat.com>
5946 src/nm-device-802-11-wireless.c
5947 src/nm-device-802-3-ethernet.c
5948 src/NetworkManagerPolicy.c
5949 - s/link_active/carrier
5950 - nm_device_set_active_link() -> nm_device_set_carrier()
5951 - nm_device_has_active_link() -> nm_device_get_carrier()
5953 2008-03-02 Dan Williams <dcbw@redhat.com>
5955 * system-settings/plugins/ifcfg-fedora/parser.c
5956 - (make_wireless_setting): fail connection creation on missing SSID
5958 2008-02-29 Dan Williams <dcbw@redhat.com>
5960 * src/NetworkManagerPolicy.c
5961 - (nm_policy_device_change_check): ensure that a previously active
5962 device with a system connection has a link before denying a switch
5963 to a user connection
5965 2008-02-29 Dan Williams <dcbw@redhat.com>
5967 * src/nm-device-802-11-wireless.c
5968 - (link_timeout_cb): try again if scanning; deactivate the device when
5969 activated if the link dies
5970 - (supplicant_iface_connection_state_cb_handler): bump link timeout to
5973 2008-02-29 Dan Williams <dcbw@redhat.com>
5975 * src/nm-device-802-11-wireless.c
5976 src/nm-device-802-11-wireless.h
5977 - (nm_device_802_11_wireless_reset_scan_interval): remove, unused
5978 elsewhere; fold into the sole user in nm-device-802-11-wireless.c
5979 - (device_cleanup): reset the scan interval lower when the device
5981 - (can_scan): base decision mostly off device state, not supplicant
5982 interface state since the supplicant interface state isn't a
5983 great indicator of whether the device is active or not
5984 - (request_wireless_scan): clean up; schedule the next scan here
5985 - (schedule_scan): only back the scan interval off if a new scan
5986 actually gets scheduled; and make scan intervals tighter when the
5987 device is disconnected
5988 - (supplicant_iface_state_cb_handler): fold in the bits of
5989 nm_device_802_11_wireless_reset_scan_interval() by resetting scan
5991 - (activation_success_handler): reset scan interval to something
5994 2008-02-28 Saleem Abdulrasool <compnerd@compnerd.org>
5996 reviewed by: Steev <steev@steev.net>
5999 * src/backends/NetworkManagerGentoo.c:
6000 (nm_system_restart_mdns_responder):
6001 Howl is no longer a supported mDNS provider
6003 2008-02-28 Tambet Ingo <tambet@gmail.com>
6005 Get rid of a bunch of unused distro specific functions.
6007 2008-02-28 Tambet Ingo <tambet@gmail.com>
6009 Implement suse plugin for system settings daemon.
6011 * system-settings/plugins/ifcfg-suse/*: Implement.
6013 * system-settings/plugins/Makefile.am: Add ifcfg-suse to subdirs when targeting
6016 * configure.in: Check (without failing) for gio.
6017 Create ifcfg-suse plugin's Makefile.
6019 2008-02-20 Dan Williams <dcbw@redhat.com>
6021 * libnm-util/nm-connection.c
6022 libnm-util/nm-connection.h
6023 - (nm_connection_compare): accept compare flags and pass them to the
6024 setting compare function
6026 * libnm-util/nm-setting.c
6027 libnm-util/nm-setting.h
6028 - (nm_setting_compare): accept compare flags; ignore properties that are
6031 * libnm-util/nm-setting-connection.c
6032 libnm-util/nm-setting-wireless.c
6033 libnm-util/nm-setting-ppp.c
6034 libnm-util/nm-setting-wired.c
6035 - Mark some setting properties as ignorable when doing a fuzzy compare
6038 - (device_activation_precheck): use exact compare
6040 2008-02-20 Dan Williams <dcbw@redhat.com>
6042 * src/NetworkManagerPolicy.c
6043 - (nm_policy_device_change_check): get scope off the connection, not
6044 using the manager helper
6048 - (get_scope_for_proxy): rename from get_type_for_proxy()
6049 - (connection_get_settings_cb): set scope and path on connection, not
6050 using GObject data items
6051 - (get_connection_for_proxy): don't need to return path, since that
6052 can be gotten from the connection
6053 - (get_connection_for_proxy): get path off the connection, not from
6055 - (connection_removed_cb, connection_updated_cb): don't need to get
6056 path from get_connection_for_proxy(); get scope off the connection
6057 instead of using GObject data items
6058 - (connection_added_default_handler, add_one_connection_element): use
6059 nm_connection_get_path() not nm_manager_get_connection_dbus_path()
6060 - (nm_manager_get_connection_dbus_path): remove
6061 - (nm_manager_get_connection_scope): remove
6063 2008-02-20 Dan Williams <dcbw@redhat.com>
6065 * Global rename of NMConnectionSettings -> NMExportedConnection to cut down
6068 * Add 'path' and 'scope' properties to NMConnection since both NM and the
6069 applet were having to hack this in anyway. Remove the 'path' stuff from
6070 NMExportedConnection
6072 * Internally rename NMConnectionType -> NMConnectionScope
6074 * Provide default implementations of the 'get_id' and 'get_settings' methods
6075 of NMExportedConnection
6077 2008-02-15 Dan Williams <dcbw@redhat.com>
6079 * src/nm-device-802-11-wireless.c
6080 - (device_cleanup): release the AP list here too so that the AP list
6081 doesn't survive across suspend/resume and up/down. There is some
6082 room for optimization, for example blow the list away when the card
6083 brought back up, but only if the device has only been down for a
6086 2008-02-15 Dan Williams <dcbw@redhat.com>
6088 * src/nm-hal-manager.c
6089 - (modem_device_creator): recognize new HAL modem capabilities
6091 2008-02-12 Dan Williams <dcbw@redhat.com>
6093 * system-settings/plugins/ifcfg-fedora/plugin.c
6094 - (watch_path): handle IN_DELETE_SELF too
6095 - (handle_connection_changed): notify when removing a connection
6096 - (stuff_changed): don't warn on unknown inotify watches; handle the
6097 case of a file moving out of the profile directory
6099 2008-02-12 Dan Williams <dcbw@redhat.com>
6101 * system-settings/plugins/ifcfg-fedora/parser.c
6102 - (make_ip4_setting): bring IPv4 setting handling more up to spec
6104 2008-02-12 Dan Williams <dcbw@redhat.com>
6106 * libnm-util/nm-utils.c
6107 - (nm_utils_convert_uint_array_to_string): don't die on NULL array, it's
6108 just any empty array
6110 2008-02-12 Dan Williams <dcbw@redhat.com>
6112 * system-settings/src/nm-system-config-interface.c
6113 system-settings/src/nm-system-config-interface.h
6114 - (load_connections): get_connections() should now return an allocated
6115 GSList that the system settings service will free
6117 * system-settings/plugins/ifcfg-fedora/plugin.c
6118 system-settings/plugins/ifcfg-fedora/parser.h
6119 system-settings/plugins/ifcfg-fedora/parser.c
6120 - Fix up inotify issues; handle keys-* files, handle new files appearing
6121 in the profile directory, handle resolv.conf file changes
6123 2008-02-10 Dan Williams <dcbw@redhat.com>
6125 * src/nm-device-802-3-ethernet.c
6126 - (real_bring_up): save the supplicant interface state signal id
6127 - (real_bring_down): disconnect from the supplicant interface state
6130 2008-02-07 Dan Williams <dcbw@redhat.com>
6132 * initscript/RedHat/NetworkManager.in
6133 initscript/RedHat/NetworkManagerDispatcher.in
6134 - Add new-style LSB init headers
6136 2008-02-07 Dan Williams <dcbw@redhat.com>
6138 * system-settings/src/dbus-settings.c
6139 system-settings/src/dbus-settings.h
6140 - (add_one_secret_to_hash): copy secrets out of the plugin-returned hash
6142 - (connection_settings_get_secrets): consolidate error returns into
6143 one place; use the new get_secrets() plugin interface function to
6144 get secrets from the plugin itself rather than using GObject data
6147 * system-settings/src/main.c
6148 - (connection_added_cb, connection_removed_cb, free_plugin_connections,
6149 load_connections): keep a private list of the plugin-returned
6150 connections, don't use the plugin's GSList
6152 * system-settings/plugins/ifcfg-fedora/plugin.c
6153 - (watch_path): watch the path, not the filename (duh)
6154 - (reload_all_connections): use the direct hash/equal functions; the
6155 ones for int aren't appropriate here
6156 - (get_secrets, system_config_interface_init): implement the
6157 get_secrets() function
6158 - (build_one_connection, find_connection_by_path): ifcfg file path is
6159 now in the connection's ConnectionData instead of being a GObject
6161 - (handle_profile_item_changed): ifcfg file path is now in the
6162 connection's ConnectionData instead of being a GObject data property;
6163 be sure to copy secrets over from the new connection to the existing
6164 connection when updating the connection's settings
6165 - (init): sc_plugin_inotify_init() returns success/fail, not the inotify
6168 * system-settings/plugins/ifcfg-fedora/parser.c
6169 system-settings/plugins/ifcfg-fedora/parser.h
6170 - (connection_data_get, copy_one_cdata_secret, clear_one_cdata_secret,
6171 connection_data_copy_secrets, connection_data_free,
6172 connection_data_add): new functions; connection data manipulation
6173 - (make_wireless_security_setting): stuff secrets into the
6174 connection data, not as GObject data items; make sure to close
6176 - (wireless_connection_from_ifcfg, wired_connection_from_ifcfg): add
6177 connection data to the connection
6179 2008-02-07 Dan Williams <dcbw@redhat.com>
6181 * system-settings/src/nm-system-config-interface.c
6182 system-settings/src/nm-system-config-interface.h
6183 - Add a get_secrets() interface function to retrieve secrets for a
6184 specific setting of a specific connection. Document the interface
6187 2008-02-07 Dan Williams <dcbw@redhat.com>
6189 * src/nm-device-802-11-wireless.c
6190 - (handle_auth_or_fail): new function; consolidate device activation
6191 failure check after a certain number of failures getting secrets
6192 - (supplicant_connection_timeout_cb, real_act_stage2_config,
6193 real_act_stage4_ip_config_timeout): use handle_auth_or_fail() to fail
6194 the connection if secrets were requested more than a few times
6195 - (real_act_stage3_ip_config_start): don't clear the wireless secrets
6196 tries here; otherwise they are cleared before the IP configure
6197 timeout, which happens with open system WEP when key is wrong
6198 - (activation_success_handler): clear wireless secrets tries here too
6200 2008-02-07 Dan Williams <dcbw@redhat.com>
6202 * src/NetworkManagerPolicy.c
6203 - (connection_updated): clear invalid tag when connection gets updated
6204 to allow that connection to be tried again
6205 - (nm_policy_new): save signal ids so they can be disconnected when
6206 the policy is destroyed
6207 - (nm_policy_destroy): stop any in-progress state change idle handler,
6208 and disconnect all signals from the manager object so that none
6209 of the policy functions gets called after the policy is destroyed
6211 2008-02-06 Dan Williams <dcbw@redhat.com>
6214 - (finalize): remove devices a bit earlier; clean up system settings
6216 - (nm_manager_name_owner_changed): clean up system settings poke when
6217 the service appears, and try to restart it if it fails
6218 - (poke_system_settings_daemon_cb): try to get the system settings
6219 service started through D-Bus service activation
6220 - (initial_get_connections): start the system settings daemon if it's
6223 2008-02-05 Dan Williams <dcbw@redhat.com>
6225 * src/supplicant-manager/nm-supplicant-config.c
6226 - (nm_supplicant_config_add_setting_wireless): send scan_ssid=1 for
6227 broadcast networks too
6229 2008-02-04 Dan Williams <dcbw@redhat.com>
6231 * system-settings/plugins/ifcfg-fedora/parser.c
6232 - (make_wireless_security_setting): fix spelling; unencrypted networks
6233 need key_mgmt set too
6234 - (parser_parse_file): validate ifcfg file name and don't try to parse
6235 .bak files; ensure that an error is set whenever NULL gets returned
6237 2008-02-04 Dan Williams <dcbw@redhat.com>
6239 * system-settings/src/Makefile.am
6240 - Install D-Bus service activation file for the system settings
6243 * system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service
6244 - D-Bus service activation file for system settings service
6246 2008-02-04 Dan Williams <dcbw@redhat.com>
6248 * system-settings/src/main.c
6249 - (parse_config_file): parse a config file
6250 - (main): accept --config option and read plugins from config file
6252 2008-02-04 Dan Williams <dcbw@redhat.com>
6254 * system-settings/plugins/ifcfg-fedora/plugin.c
6255 - Change reported name to 'ifcfg-fedora'
6256 - Use IFCFG_PLUGIN_NAME
6258 * system-settings/plugins/ifcfg-fedora/plugin.c
6259 - Remove PLUGIN_NAME, use IFCFG_PLUGIN_NAME instead
6261 2008-02-04 Dan Williams <dcbw@redhat.com>
6263 * system-settings/plugins/ifcfg-fedora/parser.c
6264 - (get_ifcfg_name): new function; factor out ifcfg name finding code
6265 - (make_connection_setting): use get_ifcfg_name()
6266 - (make_wireless_security_setting): handle shadow key files
6267 - (get_one_wep_key): treat empty string as NULL
6269 2008-02-04 Dan Williams <dcbw@redhat.com>
6271 * src/supplicant-manager/nm-supplicant-manager.c
6272 - (poke_supplicant_cb): reschedule the poke as a timeout, don't let
6273 glib automatically reschedule
6274 - (nm_supplicant_manager_init): immediately try to start the supplicant
6275 - (nm_supplicant_manager_name_owner_changed): immediately try to restart
6278 2008-02-01 Dan Williams <dcbw@redhat.com>
6280 * src/NetworkManagerPolicy.c
6281 - (device_state_changed): schedule a change check when a device gets
6282 deactivated so something happens if you disconnect GSM/CDMA
6284 2008-01-31 Dan Williams <dcbw@redhat.com>
6286 * src/nm-device-802-11-wireless.h
6287 src/nm-device-802-11-wireless.c
6288 - (ap_list_get_ap_by_ssid, is_associated,
6289 nm_device_802_11_wireless_ap_list_get_ap_by_ssid,
6290 nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): remove
6291 - (nm_device_802_11_wireless_get_activation_ap): collapse
6292 nm_device_802_11_wireless_ap_list_get_ap_by_obj_path() into this
6295 2008-01-30 Dan Williams <dcbw@redhat.com>
6297 * system-settings/plugins/ifcfg
6298 * system-settings/plugins/ifcfg-fedora
6299 - Move the ifcfg plugin to ifcfg-fedora
6301 2008-01-24 Dan Williams <dcbw@redhat.com>
6303 * libnm-glib/nm-device-802-11-wireless.c
6304 - (get_access_point): move the "/" check here; check for invalid path
6306 - (nm_device_802_11_wireless_set_active_ap): leave the "/" check up
6307 to get_access_point()
6308 - (access_point_added_proxy, access_point_removed_proxy): don't try
6309 to send signals for non-existent access points
6311 2008-01-24 Dan Williams <dcbw@redhat.com>
6313 * libnm-glib/nm-device-802-11-wireless.c
6314 - (nm_device_802_11_wireless_set_active_ap): path of "/" means no AP
6316 2008-01-23 Dan Williams <dcbw@redhat.com>
6318 * libnm-glib/libnm_glib.c
6319 - (libnm_glib_init): make thread joinable
6320 - (libnm_glib_ctx_free): join thread on exit to clean up memory
6322 2008-01-23 Dan Williams <dcbw@redhat.com>
6324 * test/libnm_glib_test.c
6325 - (signal_handler, setup_signals): trap SIGINT and SIGTERM
6326 - (main): set up signal handlers; call libnm_glib_shutdown
6328 2008-01-21 Dan Williams <dcbw@redhat.com>
6330 * include/NetworkManager.h
6331 - Add CDMA mobile broadband card device type
6333 * src/nm-hal-manager.c
6334 - (modem_device_creator): handle both CDMA and GSM modems; the device
6335 must now be tagged with 'cdma' or 'gsm' capability
6337 * src/nm-cdma-device.c
6338 src/nm-cdma-device.h
6340 - Add the CDMA mobile broadband card device class
6342 * libnm-util/nm-connection.c
6343 - (register_default_settings): add NMSettingCdma
6345 * libnm-util/nm-setting-cdma.c
6346 libnm-util/nm-setting-cdma.h
6347 libnm-util/Makefile.am
6348 - Add the CDMA mobile broadband card setting class
6350 * libnm-glib/nm-cdma-device.c
6351 libnm-glib/nm-cdma-device.h
6352 libnm-glib/Makefile.am
6353 - Add the CDMA mobile broadband card GLib proxy class
6355 * libnm-glib/nm-client.c
6356 - (get_device): handle CDMA devices too
6358 2008-01-21 Dan Williams <dcbw@redhat.com>
6360 * src/ppp-manager/nm-ppp-manager.c
6361 - (ip4_config_get): set peer address too
6363 * src/ppp-manager/nm-pppd-plugin.c
6364 - (nm_ip_up): try harder to get the peer's address
6366 * src/NetworkManagerSystem.c
6367 - (nm_system_device_set_from_ip4_config): if the IP4Config has a peer
6368 address, use that too. Otherwise, some PPP connections won't work.
6370 2008-01-19 Dan Williams <dcbw@redhat.com>
6372 * src/NetworkManagerPolicy.c
6373 - (nm_policy_device_change_check): system connections override user
6374 connections; don't activate a user connection if there's a currently
6375 active system connection, and new, better system connections always
6376 interrupt user connections
6378 2008-01-19 Dan Williams <dcbw@redhat.com>
6381 - (nm_manager_get_connection_type): new function
6383 2008-01-19 Dan Williams <dcbw@redhat.com>
6385 * src/nm-device-802-11-wireless.c
6386 - (real_get_best_connection): collapse find_best_connection() into this
6389 2008-01-19 Dan Williams <dcbw@redhat.com>
6391 * src/nm-device-802-3-ethernet.c
6392 - (real_get_best_connection): collapse find_best_connection() into this
6395 2008-01-18 Dan Williams <dcbw@redhat.com>
6397 * src/nm-device-802-3-ethernet.c
6398 - (find_best_connection): check MAC address too
6399 - (real_get_best_connection): let autoconnect=True connections activate
6400 for devices that don't have carrier detection
6402 * src/nm-device-802-11-wireless.c
6403 - (find_best_connection): check MAC address too
6405 2008-01-18 Dan Williams <dcbw@redhat.com>
6407 * system-settings/plugins/ifcfg/parser.c
6408 - (make_connection_setting): interpret ON_BOOT=y as 'autoconnect=True'
6410 2008-01-17 Dan Williams <dcbw@redhat.com>
6412 * src/nm-device-802-3-ethernet.c
6413 - (nm_device_802_3_ethernet_carrier_on,
6414 nm_device_802_3_ethernet_carrier_off): ignore any spurious netlink
6415 carrier events that might come in for devices that don't support
6418 2008-01-17 Dan Williams <dcbw@redhat.com>
6420 * src/nm-device-interface.c
6421 - (nm_device_interface_check_connection_conflicts): need to actually
6422 get the interface, not cast to the object
6425 - (nm_device_check_connection_conflicts): need to get the device class,
6426 not cast the device to the device class
6428 2008-01-17 Dan Williams <dcbw@redhat.com>
6430 * src/nm-device-802-11-wireless.c
6431 - (real_check_connection_conflicts): ignore connections that aren't
6432 wireless connections
6434 2008-01-17 Dan Williams <dcbw@redhat.com>
6436 * src/NetworkManagerPolicy.c
6437 - (nm_policy_device_change_check): clear change check idle here
6438 - (device_change_check_done): remove
6439 - (schedule_change_check): simplify
6441 2008-01-17 Dan Williams <dcbw@redhat.com>
6444 - (check_connection_allowed): take an NMDeviceInterface instead of
6445 an NMDevice object as an argument
6446 - (nm_manager_activate_device): pass an NMDeviceInterface to
6447 check_connection_allowed()
6449 2008-01-13 Dan Williams <dcbw@redhat.com>
6451 * libnm-glib/nm-device-802-11-wireless.c
6452 - (nm_device_802_11_wireless_get_access_points): fix memory leak
6454 2008-01-12 Dan Williams <dcbw@redhat.com>
6456 * src/nm-device-802-11-wireless.c
6457 - (activation_success_handler): if a match was found in the scan list
6458 and that match is a hidden AP, update that AP's SSID
6460 2008-01-11 Dan Williams <dcbw@redhat.com>
6462 * src/NetworkManagerAP.c
6463 - (nm_ap_new_fake_from_connection): mark fake APs as fake
6465 * src/nm-device-802-11-wireless.c
6466 - (get_active_ap): do two passes over the scan list if the caller
6467 requests that hidden APs get matched too; during the second pass
6468 when matching hidden APs, ignore the SSID since hidden APs in the
6469 scan list don't have an SSID yet
6470 - (periodic_update): move some checks to
6471 nm_device_802_11_periodic_update() because not all callers need them
6472 - (nm_device_802_11_periodic_update): move some checks here from
6474 - (merge_scanned_ap): if the current AP is fake, then don't do strict
6475 matching on incoming scan results, because the fake AP's flags
6476 might be slightly different (yet still compatible) with the incoming
6477 scan result's flags and they might actually be the same AP; update
6478 the rate on merged APs too
6479 - (activation_success_handler): update the frequency of the fake AP
6480 on successful connection; match hidden APs too since if the
6481 current AP is fake, there might already be a scan result in the
6482 scan list for the desired AP, just without it's SSID filled in yet
6484 2008-01-10 Dan Williams <dcbw@redhat.com>
6486 * src/NetworkManagerAP.c
6487 - (foreach_property_cb): catch more hidden SSID formats
6489 2008-01-10 Dan Williams <dcbw@redhat.com>
6491 Fix gnome.org #464215. Requires the kernel patch titled
6492 "Introduce WEXT scan capabilities" but will handle the patch not being
6493 present, you'll just continue to have problems with hidden SSIDs when
6494 using mac80211-based drivers.
6496 * src/supplicant-manager/nm-supplicant-config.h
6497 src/supplicant-manager/nm-supplicant-config.c
6498 - (nm_supplicant_config_add_setting_wireless): new parameter to indicate
6499 whether the driver supports SSID scans or not. If it does, and if
6500 the AP is hidden, use ap_scan=1 instead of ap_scan=2
6502 * src/nm-device-802-11-wireless.c
6503 - (constructor): check whether or not the driver supports SSID scans
6504 - (build_supplicant_config): pass driver SSID scan capability when
6505 building the wireless bits of the supplicant config
6507 2008-01-09 Dan Williams <dcbw@redhat.com>
6511 - (device_activation_precheck, check_connection_complete): remove this
6512 virtual function; incomplete connections should be invalid by
6513 definition, complete-ness should be checked in the setting's
6516 * src/nm-serial-device.c
6518 - (real_check_connection_complete): remove
6520 * libnm-util/nm-setting-serial.c
6521 - (verify): new function; ensure there is a PPP setting too
6523 * libnm-util/nm-setting-gsm.c
6524 - (verify): ensure there is a serial setting too
6526 2008-01-06 Dan Williams <dcbw@redhat.com>
6528 * src/dhcp-manager/nm-dhcp-manager.c
6529 - (nm_dhcp_manager_get_ip4_config): handle DHCP-provided MTU
6532 2008-01-04 Dan Williams <dcbw@redhat.com>
6534 * src/named-manager/nm-named-manager.c
6535 - (rewrite_resolv_conf, add_ip4_config_to_named): use primary IP4Config's
6536 nameservers if the secondary config doesn't have any
6539 2008-01-02 Tambet Ingo <tambet@gmail.com>
6541 * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Mark the properties
6542 with G_PARAM_CONSTRUCT so that they get the default values.
6544 * src/nm-gsm-device.c: Add preliminary support for monitoring device. It only monitors
6545 the monitoring device and prints out the output for now. Or more precicely, doesn't
6546 do absolutely anything right now since the montoring device argument is never set.
6548 * src/nm-serial-device.c (serial_debug): Implement. It's very verbose and thus
6549 requires it's own knob to turn it on.
6550 (config_fd): Add NMSettingSerial to the arguments list.
6551 (nm_serial_device_open): Ditto.
6552 (get_reply_got_data): Ignore the terminators at the beginning of the output.
6553 (nm_serial_device_get_io_channel): Implement.
6555 * src/nm-manager.c: Add NMDBusManager to the private data of the NMManager. Asking
6556 a new reference every time (and forgetting to release it sometimes) is a pain and
6557 it's not like NMManager could work without dbus.
6558 (nm_manager_add_device): Register the added device on dbus here.
6560 * src/nm-hal-manager.c (modem_device_creator): Pass NULL for now for the monitoring
6563 * src/nm-device.c (constructor): Don't export the device here, instead export
6564 it when it's added to the NMManager's device list.
6566 2007-12-31 Dan Williams <dcbw@redhat.com>
6568 * src/nm-device-interface.c
6569 src/nm-device-interface.h
6570 - (nm_device_interface_check_connection_conflicts): new function
6574 - (nm_device_check_connection_conflicts): new function
6575 - (device_activation_precheck): don't require subclasses to implement
6576 check_connection_complete()
6577 - check_connection() -> check_connection_complete()
6579 * src/nm-device-802-11-wireless.c
6580 - (real_check_connection): remove; unused
6581 - (real_check_connection_conflicts): implement, handle lockdown for
6584 * src/nm-device-802-3-ethernet.c
6585 - (real_check_connection): remove; unused
6588 - (check_connection_allowed): new function
6589 - (nm_manager_activate_device): ensure the connection being requested
6590 is allowed to be activated
6592 * src/nm-serial-device.c
6594 - real_check_connection() -> real_check_connection_complete()
6596 2007-12-27 Dan Williams <dcbw@redhat.com>
6598 * src/nm-device-interface.c
6599 src/nm-device-interface.h
6600 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
6601 normalize and expand errors
6602 - (nm_device_interface_init): register errors so they can be marshalled
6604 - (nm_device_interface_activate): ensure that failure of activation
6609 - (device_activation_precheck): implementations of check_connection()
6610 now take a GError and must fill it in if the check fails. Return
6611 more descriptive error if the requested connection is already
6613 - (nm_device_activate): actually try to return descriptive errors on
6616 * src/nm-device-802-11-wireless.c
6617 src/nm-device-802-3-ethernet.c
6618 src/nm-serial-device.c
6620 - (real_check_connection): return more descriptive errors on failure
6622 * src/NetworkManagerPolicy.c
6623 - (nm_policy_device_change_check): print activation errors in the logs
6626 - (nm_manager_error_quark, nm_manager_error_get_type,
6627 nm_manager_class_init): new errors
6628 - (nm_manager_activate_device): handle errors
6629 - (nm_manager_error_new): removed
6630 - (wait_for_connection_expired, connection_added_default_handler,
6631 impl_manager_activate_device): better error handling
6633 2007-12-27 Dan Williams <dcbw@redhat.com>
6635 Fixes gnome.org #466954
6637 * src/supplicant-manager/nm-supplicant-settings-verify.c
6638 - Allow 'frequency' network property
6640 * src/supplicant-manager/nm-supplicant-config.c
6641 src/supplicant-manager/nm-supplicant-config.h
6642 - (nm_supplicant_config_add_setting_wireless): add 'adhoc_freq' argument
6643 for callers to specify the frequency an Ad-Hoc network should operate
6644 on. Some drivers require this to successfully create an Ad-Hoc
6647 * src/nm-device-802-11-wireless.c
6648 - (iw_freq_to_uint32): new function; convert a struct iw_freq into a
6649 guint32 value in MHz
6650 - (constructor, nm_device_802_11_wireless_get_frequency): use
6652 - (find_supported_frequency): new function; find a free supported
6653 frequency for a user-created Ad-Hoc network
6654 - (build_supplicant_config): if no frequency was specified for a user-
6655 created Ad-Hoc network, find a free one to use
6656 - (real_act_stage1_prepare): mark Ad-Hoc connections that don't have
6657 a specific object as user-created
6659 2007-12-27 Dan Williams <dcbw@redhat.com>
6661 * libnm-util/nm-utils.c
6662 libnm-util/nm-utils.h
6663 - (nm_utils_security_valid): add 'adhoc' argument and handle security
6666 2007-12-24 Dan Williams <dcbw@redhat.com>
6668 * libnm-util/nm-setting-wireless.c
6669 - (verify): add 802.11a channels 7, 8, 9, 11, 12, 16, 34, 165, 183, 184,
6670 185, 187, 188, 192, and 196
6672 2007-12-24 Dan Williams <dcbw@redhat.com>
6674 * src/nm-device-802-11-wireless.c
6675 - (nm_device_802_11_wireless_get_frequency): handle drivers that return
6676 a channel # instead of a frequency
6678 2007-12-24 Dan Williams <dcbw@redhat.com>
6680 * src/NetworkManagerAP.c
6681 src/NetworkManagerAP.h
6682 - (nm_ap_new_fake_from_connection): pass band to channel_to_freq()
6683 - (freq_to_channel): handle split band tables
6684 - (channel_to_freq): handle split band tables, take a band argument
6686 2007-12-24 Dan Williams <dcbw@redhat.com>
6688 * libnm-util/nm-setting-connection.h
6689 libnm-util/nm-setting-connection.c
6690 - Add 'lockdown' member
6692 2007-12-22 Dan Williams <dcbw@redhat.com>
6694 * libnm-util/nm-setting-wireless.c
6695 - (nm_setting_wireless_class_init): add missing 'rate' property
6698 2007-12-18 Dan Williams <dcbw@redhat.com>
6700 Base the NMNetlinkMonitor class on libnl instead of hand-rolled netlink.
6702 * src/nm-netlink-monitor.c
6703 src/nm-netlink-monitor.h
6704 - Remove handrolled netlink, use libnl instead
6706 * src/nm-device-802-3-ethernet.c
6707 - (constructor, nm_device_802_3_ethernet_carrier_off,
6708 nm_device_802_3_ethernet_carrier_on): use new names
6710 2007-12-17 Dan Williams <dcbw@redhat.com>
6713 - Bump requirement for libnl to 1.0-pre8 (which works with newer kernels
6714 and fixes memory leaks)
6717 - (nm_netlink_get_default_handle): handle new versions of libnl that
6718 automatically handle the netlink PID
6720 2007-12-17 Dan Williams <dcbw@redhat.com>
6722 Patch from Michael Biebl <biebl@debian.org>
6725 src/ppp-manager/Makefile.am
6726 - fix up install dir of pppd plugin
6727 - clean up configure.in a bit
6729 2007-12-12 Dan Williams <dcbw@redhat.com>
6731 * system-settings/src/nm-system-settings.conf
6732 - Allow non-root clients (like the applet) to read settings
6734 2007-12-10 Tambet Ingo <tambet@gmail.com>
6736 * Replace all occurences of 'UMTS' with 'GSM'.
6738 2007-12-07 Dan Williams <dcbw@redhat.com>
6740 * src/nm-serial-device.c
6741 - (real_is_up): serial devices are always "up"
6743 2007-12-07 Dan Williams <dcbw@redhat.com>
6746 src/NetworkManagerSystem.c
6747 - (new_nl_handle): ensure that the same netlink pid is never chosen
6748 twice (gnome.org #491047)
6749 - Make more robust against allocation-related failures should they occur
6751 2007-12-07 Dan Williams <dcbw@redhat.com>
6753 Noticed by Christian Persch <chpe@gnome.org>
6755 Always chain up to parent object in dispose and finalize handlers.
6758 2007-12-07 Dan Williams <dcbw@redhat.com>
6760 * src/nm-device-802-11-wireless.c
6761 - Wrap #include of linux/mii.h to fix redefined structures due to
6762 incorrect kernel headers (gnome.org #350061)
6764 2007-12-06 Tambet Ingo <tambet@gmail.com>
6766 * src/nm-umts-device.c (real_act_stage1_prepare): Flash the modem (drop DTR)
6767 before doing anything else.
6768 (init_modem): Move modem initialization here.
6770 * src/nm-serial-device.c (ppp_state_changed): React on pppd state changes.
6771 (nm_serial_device_flash): Implement.
6773 * src/ppp-manager/nm-ppp-manager.c (name_owner_changed): Fix the typoes: the state
6774 changes signal is "StateChanged" and not "Status".
6775 (ppp_exit_code, ppp_status_changed): Remove the debug output, it's working fine now.
6777 2007-12-06 Dan Williams <dcbw@redhat.com>
6779 * src/supplicant-manager/nm-supplicant-config.c
6780 - (nm_supplicant_config_add_setting_wireless_security): reorganize a bit
6781 to only send some options when they make sense; also send phase2
6782 option to the supplicant (possible fix for rh #399631)
6784 2007-12-06 Tambet Ingo <tambet@gmail.com>
6786 * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Change the
6787 arguments: This whole file shouldn't really know anything about NMDevices, it
6788 should deal only with device interfaces. Devices might have different ifaces for
6789 different stuff and this place shouldn't know anything about it.
6791 * src/NetworkManagerPolicy.c: Get rid of leftover global variable global_policy.
6792 (global_state_changed): Implement. In the current NM it's not really important,
6793 but will be required in the case of multiple active devices. (Or even better,
6794 if stuff like that gets moved out from NM).
6796 * src/vpn-manager/nm-vpn-connection.c (connection_state_changed): Don't call
6797 nm_system_device_set_from_ip4_config() directly, use nm_device_set_ip4_config()
6800 * src/nm-device.c: Add a ip_face protected member. It's used for 'multi-interface'
6801 devices like serial devices (ttyS0 and ppp0 for example).
6802 (nm_device_get_ip_iface): Implement. Default to the device iface if ip_iface is not
6804 (nm_device_set_ip_iface): Implement.
6805 (nm_device_activate_stage5_ip_config_commit): Move all the extra actions that happen
6806 after setting ip4_config from here ...
6807 (nm_device_set_ip4_config): ... to here. The reason behind it is that no other code
6808 than this function should call nm_system_device_set_from_ip4_config() because no
6809 other code has enough information on which arguments to use. So instead, other code
6810 could just set the new ip4 config using this function and everyone is happy.
6812 * src/nm-umts-device.c: Store the pending ids so that we can remove pending actions
6813 if we happen to get deactivated while something is pending.
6814 (automatic_registration): Handle the response that indicates pending network
6815 registration and wait until the pending registration is done.
6816 (real_deactivate_quickly): If there's a pending operation, cancel it.
6818 * src/nm-serial-device.c (ppp_ip4_config): Set the ip_iface when the iface is up ...
6819 (real_deactivate_quickly): ... and remove it when it's down.
6820 (nm_serial_device_get_reply): Return the timeout id so that the callers can remove
6822 (nm_serial_device_wait_for_reply): Ditto.
6824 2007-12-05 Tambet Ingo <tambet@gmail.com>
6826 * src/nm-umts-device.c (dial_done): Fix the typoes in warnings.
6827 (get_network_done): Remove newline, nm_info() does it already.
6828 (real_act_stage1_prepare): Turn the modem echo off.
6830 * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): In case of serial
6831 device, set the route to the device interface. This is a hack.
6833 * src/nm-serial-device.c (nm_serial_device_send_command_string): Only append carriage
6834 return, no need for a new-line.
6835 (ppp_ip4_config): Store the ip4 config to be set in the next stage.
6836 Change the device iface here (ugh).
6837 (real_act_stage4_get_ip4_config): Implement.
6838 (real_deactivate_quickly): Free the pending ip4 config if it's still pending.
6839 Restore the device iface.
6841 * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Do nothing if the active
6842 device is not wired or wireless (eg, automatically upped) device.
6844 * src/ppp-manager/nm-ppp-manager.c (ip4_config_get): Don't make the config secondary,
6846 (nm_ppp_manager_start): Don't let pppd to set the default route, we want to do it.
6848 * src/nm-hal-manager.c (get_creator): Make sure the device has required capability
6849 before calling it's is_device_fn().
6851 2007-12-05 Dan Williams <dcbw@redhat.com>
6853 * libnm-util/nm-utils.c
6854 - (nm_utils_register_value_transformations,
6855 nm_utils_convert_gvalue_hash_to_string): better debug output of
6856 GHashTables of GValues too
6858 2007-12-04 Dan Williams <dcbw@redhat.com>
6860 * initscript/RedHat/NetworkManager.in
6861 - No longer start named; it's D-Bus interface is going away
6863 2007-12-04 Dan Williams <dcbw@redhat.com>
6865 Patch from Michael Biebl <biebl@debian.org>
6867 * system-settings/plugins/ifcfg/Makefile.am
6868 system-settings/src/main.c
6869 system-settings/src/Makefile.am
6870 - Put system settings plugins in NM plugins dir
6872 * src/ppp-manager/Makefile.am
6873 src/ppp-manager/nm-ppp-manager.c
6874 - Move pppd plugin to NM plugins dir
6876 2007-12-04 Dan Williams <dcbw@redhat.com>
6878 * libnm-util/nm-setting-vpn-properties.h
6879 - Clarify usage of the 'data' member of the setting
6881 * libnm-util/nm-setting-vpn-properties.c
6882 - (nm_setting_vpn_properties_init): initialize the 'data' hash table
6883 - (set_property): just remove all the settings; don't recreate the has
6884 - (update_one_secret): don't need to create the hash table here since
6885 it should always be present
6887 2007-12-03 Tambet Ingo <tambet@gmail.com>
6889 Implement PIN and PUK requesting.
6891 * src/nm-umts-device.c (enter_pin_done): Request the secret again if it failed.
6892 (enter_pin): Handle PIN and PUK requests.
6893 (real_act_stage1_prepare): Clear the secret type.
6894 (real_connection_secrets_updated): Implement this class method to get
6895 notified when new secrets arrive.
6896 (nm_umts_device_class_init): Add private data back to the umts device class
6897 to store the required secret type.
6899 2007-12-01 Dan Williams <dcbw@redhat.com>
6901 * system-settings/plugins/ifcfg/parser.c
6902 - (parser_parse_file): don't try to verify NULL connections
6904 2007-12-01 Dan Williams <dcbw@redhat.com>
6906 * system-settings/src/main.c
6907 - (load_connections, add_connection_to_settings): actually export
6908 plugin-provided connections over D-Bus so NM can get them
6910 2007-12-01 Dan Williams <dcbw@redhat.com>
6912 * system-settings/plugins/ifcfg/parser.c
6913 system-settings/plugins/ifcfg/parser.h
6914 system-settings/plugins/ifcfg/plugin.c
6915 - Hook up more inotify bits (untested)
6917 2007-11-29 Dan Williams <dcbw@redhat.com>
6919 * system-settings/src/nm-system-config-interface.h
6920 system-settings/src/nm-system-config-interface.c
6921 - (nm_system_config_interface_init,
6922 nm_system_config_interface_get_connections): add
6924 * system-settings/src/main.c
6925 - (load_plugins, load_connections, main): use a GSList for plugins
6926 to ensure priority ordering
6928 * system-settings/plugins/ifcfg/parser.c
6929 - (ifcfg_error_quark): move to plugin.c, and rename
6931 * system-settings/plugins/ifcfg/plugin.h
6932 system-settings/plugins/ifcfg/plugin.c
6933 - (ifcfg_plugin_error_quark): move here from parser.c
6934 - rework connection loading and initialization
6935 - Add preliminary inotify support for network profile config file
6937 2007-11-28 Tambet Ingo <tambet@gmail.com>
6939 Merge the beginnings of the new GSM card support.
6941 * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Remove the
6942 ppp watch source before killing pppd - If this happens from g_object_unref()
6943 then the ppp manager is already destroyed by the time the watch callback runs.
6945 * src/nm-hal-manager.c: Add a device_type_name string to the device
6946 creators, so that we can print a nice human readable string when a
6949 * src/nm-umts-device.c (automatic_registration_get_network): Query
6950 for the activated network, not much is done with the result thought.
6952 * src/nm-serial-device.c (nm_serial_device_get_reply): Implement.
6953 (ppp_ip4_config): Change the device state to activated here for now.
6954 (real_check_connection): Make sure the connection includes ppp setting.
6956 * libnm-glib/nm-client.c (get_device): Handle umts devices.
6958 * libnm-glib/Makefile.am: Add the new files to build.
6960 * libnm-glib/nm-umts-device.c:
6961 * libnm-glib/nm-umts-device.h: Implement.
6963 2007-11-26 Tambet Ingo <tambet@gmail.com>
6965 * src/nm-umts-device.c (automatic_registration_get_network): For now, dial
6966 immediately, nm_serial_device_get_reply() isn't implemented correctly yet.
6968 * src/nm-serial-device.c (wait_for_reply_info_destroy): Don't try to remove
6969 the timeout source - this function is only called when the timeout source has
6971 (nm_serial_device_wait_for_reply): Allocate the duplicate responses array
6972 to be big enough to contain the terminating zero element as well.
6973 The timeout argument is meant to be in seconds now.
6974 (real_deactivate_quickly): Implement.
6976 * src/NetworkManager.conf: Allow root to own
6977 "org.freedesktop.NetworkManager.PPP", deny it for everybody else.
6979 * libnm-util/nm-setting-umts.c: Network type and band properties are ints,
6980 (not unsigned ints).
6982 * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Fix a
6983 small issue with parity bounds - capital letters have lower ascii codes
6984 than lower case letters.
6986 * libnm-util/nm-connection.c (register_default_settings): Register serial
6989 2007-11-22 Tambet Ingo <tambet@gmail.com>
6991 Remove the "index" property from devices as not all device types have this.
6993 * include/NetworkManager.h (NM_DBUS_PATH_DEVICE): Remove.
6995 * src/nm-hal-manager.c (nm_get_device_index_from_hal): Remove.
6996 (wired_device_creator): Get the device interface from hal to create the device.
6997 (wireless_device_creator): Ditto.
6999 * src/nm-device.c (nm_device_init): Remove the index member.
7000 (constructor): Remove the checks for index property, make interface property
7001 a require constructor property.
7002 Use the HAL udi for DBus path for devices.
7003 (nm_device_get_index): Remove.
7004 (set_property): Remove index handling.
7005 (get_property): Ditto.
7006 (nm_device_get_dbus_path): Remove.
7008 * src/nm-device-interface.c (nm_device_interface_init): Remove the index
7011 * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_link_activated):
7012 Access the device index through it's interface.
7013 (nm_device_802_3_ethernet_link_deactivated): Ditto.
7014 (nm_device_802_3_ethernet_new): Remove the useless argument test_dev. Remove
7015 index argument. Add interface argument.
7017 * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new): Remove
7018 the useless test_dev argument. Remove index argument. Add interface arugment.
7020 * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Get the
7021 device index through interface.
7022 (nm_system_set_mtu): Ditto.
7024 * introspection/nm-device.xml: Remove the "Index" property.
7026 2007-11-21 Tambet Ingo <tambet@gmail.com>
7028 * src/nm-serial-device.c:
7029 * src/nm-serial-device.c:
7030 * src/nm-umts-device.c:
7031 * src/nm-umts-device.h: Implement.
7033 * src/nm-hal-manager.c (nm_get_device_driver_name): libhal_free_string the string
7034 allocated by libhal.
7035 (modem_device_creator): Implement.
7036 (register_built_in_creators): Register the modem creator.
7038 * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new):
7039 Remove the unused test_dev argument.
7041 * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_new): Ditto.
7043 * src/Makefile.am: Add new files to build.
7044 Link in ppp-manager.
7046 * libnm-util/nm-setting-umts.c:
7047 * libnm-util/nm-setting-umts.h:
7048 * libnm-util/nm-setting-serial.c:
7049 * libnm-util/nm-setting-serial.h: Implement.
7051 * libnm-util/Makefile.am: Add new files to build.
7053 2007-11-28 Dan Williams <dcbw@redhat.com>
7055 Patch from Zdeněk Jurka <zdenek.jurka@jware.cz>
7057 Support DHCP-provided static routes.
7059 * src/nm-ip4-config.h
7061 - Add get/set functions for static routes
7063 * src/dhcp-manager/nm-dhcp-manager.c
7064 - (nm_dhcp_manager_get_ip4_config): extract static routes from the
7067 * src/NetworkManagerSystem.c
7068 - (nm_system_device_set_from_ip4_config): set any static routes on the
7069 interface when applying the IP4Config
7071 2007-11-28 Dan Williams <dcbw@redhat.com>
7073 * src/nm-device-802-11-wireless.c
7074 - (real_act_stage1_prepare): mark APs created for hidden networks
7077 2007-11-27 Dan Williams <dcbw@redhat.com>
7079 * system-settings/src/nm-system-config-interface.h
7080 - Note how to store secrets on NMSetting objects
7082 * system-settings/src/dbus-settings.c
7083 - (connection_settings_get_secrets): implement
7085 2007-11-27 Dan Williams <dcbw@redhat.com>
7087 * system-settings/plugins/ifcfg/Makefile.am
7088 system-settings/plugins/ifcfg/parser.c
7089 system-settings/plugins/ifcfg/parser.h
7090 system-settings/plugins/ifcfg/plugin.c
7091 - Parse wireless connections too
7093 * system-settings/src/dbus-settings.c
7094 system-settings/src/dbus-settings.h
7095 system-settings/src/main.c
7096 - Handle connection update/removal if the plugin supports it
7098 2007-11-27 Dan Williams <dcbw@redhat.com>
7100 * src/nm-dbus-manager.h
7101 src/nm-hal-manager.c
7102 - Include the correct headers now that NetworkManagerDbusUtils.h doesn't
7106 src/NetworkManagerDbusUtils.c
7107 src/NetworkManagerDbusUtils.h
7108 - Remove these two source files; they are unused
7110 2007-11-27 Dan Williams <dcbw@redhat.com>
7112 * src/vpn-manager/nm-vpn-manager.c
7113 - (impl_vpn_manager_connect): fix system settings check (found by
7116 2007-11-26 Dan Williams <dcbw@redhat.com>
7118 * Fix warnings so everything compiles with --enable-more-warnings
7120 2007-11-25 Dan Williams <dcbw@redhat.com>
7123 - Rework structure and code to use GModule-loaded plugins and a plugin
7124 interface that plugins export to the system settings service
7126 2007-11-21 Dan Williams <dcbw@redhat.com>
7129 - Add Soren's system settings service. Needs work for distros other
7130 than Fedora; the backends from NM should mostly migrate to here
7131 and be converted to GObjects
7133 2007-11-21 Dan Williams <dcbw@redhat.com>
7135 * libnm-util/nm-setting-vpn-properties.c
7136 - (set_property): must deep-copy the given settings hash, otherwise
7137 double-free errors occur when the setting is disposed of
7139 2007-11-21 Dan Williams <dcbw@redhat.com>
7141 * src/vpn-manager/nm-vpn-act-request.h
7142 src/vpn-manager/nm-vpn-act-request.c
7145 2007-11-20 Dan Williams <dcbw@redhat.com>
7147 * libnm-util/nm-utils.c
7148 - (nm_utils_convert_strv_to_string, nm_utils_convert_uint_array_to_string,
7149 nm_utils_convert_ip4_addr_struct_array_to_string,
7150 nm_utils_register_value_transformations): print out the readable
7151 values of more types of properties of NMSettings subclasses
7153 2007-11-20 Dan Williams <dcbw@redhat.com>
7155 * libnm-util/nm-setting-ip4-config.c
7156 - (ip4_addresses_from_gvalue, ip4_addresses_to_gvalue,
7157 nm_setting_ip4_config_class_init): apparently dbus-glib can't
7158 marshal GValueArrays inside collections, so switch to types that it
7159 can actually marshal/demarshal
7161 2007-11-16 Dan Williams <dcbw@redhat.com>
7163 * libnm-util/nm-setting-wireless-security.c
7164 - (verify_tls, verify_ttls, verify_identity, verify_nai): do some
7165 minimal verification of EAP methods too
7166 - (verify): verify phase1 eap methods too
7168 2007-11-15 Dan Williams <dcbw@redhat.com>
7170 * libnm-glib/nm-device.h
7171 libnm-glib/nm-device.c
7172 - (nm_device_get_product, nm_device_get_vendor): should be returning
7175 2007-11-15 Dan Williams <dcbw@redhat.com>
7177 * libnm-glib/nm-device.c
7178 - (get_product_and_vendor): don't try to free things that should be
7181 2007-11-15 Dan Williams <dcbw@redhat.com>
7183 * src/NetworkManagerUtils.c
7184 - (nm_ethernet_address_is_valid): unbreak previous fix
7186 2007-11-15 Dan Williams <dcbw@redhat.com>
7188 * src/supplicant-manager/nm-supplicant-config.c
7189 - (nm_supplicant_config_add_setting_wireless_security): handle PEAP
7192 2007-11-15 Dan Williams <dcbw@redhat.com>
7194 * src/NetworkManagerUtils.c
7195 - (nm_ethernet_address_is_valid): fix style, clarify
7196 - (nm_ethernet_addresses_are_equal): don't try to memcmp NULLs
7198 * src/nm-device-802-11-wireless.c
7199 - (get_active_ap): handle failure from nm_device_802_11_wireless_get_bssid()
7200 - (nm_device_802_11_wireless_get_ssid,
7201 nm_device_802_11_wireless_get_bssid,
7202 nm_device_802_11_wireless_get_bitrate): zero the wreq structure
7203 before calling the ioctl; fixes valgrind-reported jump depends on
7204 uninitialized value errors
7206 2007-11-15 Dan Williams <dcbw@redhat.com>
7208 * libnm-util/nm-setting.c
7209 - (nm_setting_to_hash, one_property_cb): revert previous commit, it's
7210 unecessary to serialize 'name'
7212 * src/nm-activation-request.c
7213 - (get_secrets_cb): fix cases where a full NMSetting is returned from
7216 2007-11-15 Dan Williams <dcbw@redhat.com>
7218 * libnm-util/nm-setting-connection.h
7219 libnm-util/nm-setting-connection.c
7220 - Rename the 'name' property to 'id', because it conflicted with the
7221 NMSetting superclass' 'name' property.
7223 * libnm-util/nm-setting.c
7224 - (nm_setting_to_hash): serialize the 'name' property
7225 - (one_property_cb): ignore 'name' on deserialization of a connection
7227 * src/nm-device-802-11-wireless.c
7228 src/vpn-manager/nm-vpn-connection.c
7229 src/NetworkManagerPolicy.c
7230 - Fix up for NMSettingConnection 'name'->'id' changes
7232 2007-11-13 Dan Williams <dcbw@redhat.com>
7234 * libnm-glib/nm-device-802-11-wireless.h
7235 libnm-glib/nm-device-802-11-wireless.c
7236 - (nm_device_802_11_wireless_get_hw_address): return should be const
7239 libnm-glib/libnm-glib-test.c
7240 - Fixes for above change
7242 2007-11-12 Dan Williams <dcbw@redhat.com>
7244 * src/supplicant-manager/nm-supplicant-settings-verify.c
7245 - Allow fragment_size option
7247 * src/supplicant-manager/nm-supplicant-settings-verify.c
7248 - (nm_supplicant_config_add_setting_wireless_security): use a lower
7249 EAP fragment size than the default to help some TLS connections
7251 2007-11-12 Dan Williams <dcbw@redhat.com>
7253 Make certs actually work. The private key is now a secret, and should be
7254 decrypted when requested by NM. The private key and phase2 private key
7255 passwords are no longer interesting to NM because they should be used by
7256 the settings service to decrypt the private key itself before passing it
7257 to NM, and hence have been removed as fields.
7259 * libnm-util/nm-setting-wireless-security.h
7260 libnm-util/nm-setting-wireless-security.c
7261 - Remove private-key-passwd and phase2-private-key-passwd from
7263 - (need_secrets_password, need_secrets_eappsk, need_secrets_sim,
7264 need_secrets): use property #defines instead strings to keep things
7266 - (need_secrets_tls): if a client certificate is present but no
7267 private key, request the private key
7268 - (set_property, get_property, nm_setting_wireless_security_class_init):
7269 remove private key password stuff, mark private keys as secret
7271 * src/supplicant-manager/nm-supplicant-settings-verify.c
7272 - Remove private_key_passwd and private_key2_passwd from opt_table
7274 2007-11-09 Dan Williams <dcbw@redhat.com>
7276 Fix vpn-properties setting update_secrets call for new NMSetting stuff.
7277 Since the vpn-properties are managed and known by the VPN daemons themselves,
7278 libnm-util doesn't know what's secret and what's in the setting's 'data'
7281 * libnm-util/nm-setting.h
7282 libnm-util/nm-setting.c
7283 - Add the ability for subclasses to override update_one_secret
7285 * libnm-util/nm-setting-vpn-properties.c
7286 - Override update_one_secret and just copy the values into the
7289 2007-11-09 Dan Williams <dcbw@redhat.com>
7291 * libnm-glib/nm-settings.h
7292 libnm-glib/nm-settings.c
7293 - (nm_settings_new_error): remove
7294 - (nm_settings_error_quark): add; instead of nm_settings_new_error,
7295 clients should use g_set_error() with NM_SETTINGS_ERROR
7297 2007-11-09 Dan Williams <dcbw@redhat.com>
7299 * src/supplicant-manager/nm-supplicant-config.c
7300 - (nm_supplicant_config_add_setting_wireless_security): private key
7301 passwords are never sent to wpa_supplicant, because the supplicant
7302 should never be reading random files from the disk. Clients like
7303 the applet are required to decrypt the private keys and send NM
7304 the decrypted blobs.
7306 2007-11-08 Dan Williams <dcbw@redhat.com>
7308 * libnm-util/nm-setting-wireless-security.h
7309 libnm-util/nm-setting-wireless-security.c
7310 - Add 'private-key-decrypted' and 'phase2-private-key-decrypted'
7311 members to 802-11-wireless-security structure. This should be used
7312 to indicate that the values in private-key and phase2-private-key
7313 are already decrypted by the user agent, and that no
7314 private-key-passwd or phase2-private-key-passwd should be expected.
7315 It is not meant to be a stored configuration value, but meant to
7316 be set when the conneciton is sent to NM over dbus.
7318 2007-11-08 Dan Williams <dcbw@redhat.com>
7320 * libnm-util/nm-connection.h
7321 libnm-util/nm-connection.c
7322 - (nm_connection_need_secrets): add argument to return hints
7324 * src/nm-device-802-11-wireless.c
7325 - (link_timeout_cb, supplicant_connection_timeout_cb,
7326 real_act_stage2_config, real_act_stage4_ip_config_timeout): handle
7327 nm_connection_need_secrets() change
7329 2007-11-07 Tambet Ingo <tambet@gmail.com>
7331 Rework NMSetting structures: Move each setting to it's own file.
7332 Convert to GObject. Remove home grown setting types and use GTypes.
7333 Use GObject property introspection for hash conversion, enumerating
7336 * libnm-util/nm-setting-connection.[ch]
7337 * libnm-util/nm-setting-ip4-config.[ch]
7338 * libnm-util/nm-setting-ppp.[ch]
7339 * libnm-util/nm-setting-vpn.[ch]
7340 * libnm-util/nm-setting-vpn-properties.[ch]
7341 * libnm-util/nm-setting-wired.[ch]
7342 * libnm-util/nm-setting-wireless.[ch]
7343 * libnm-util/nm-setting-wireless-security.[ch]
7345 New files, each containing a setting.
7347 * libnm-util/nm-setting-template.[ch]: A template for creating new
7348 settings. To use it, just replace 'template' with the new setting
7349 name, and you're half-way done.
7351 * libnm-util/nm-setting.c: Convert to GObject and use GObject
7352 introspection instead of internal types and tables.
7354 * libnm-util/nm-connection.c: Adapt the new NMSetting work.
7356 * libnm-util/nm-param-spec-specialized.[ch]: Implement. Handles
7357 GValue types defined by dbus-glib for composed types like collections,
7358 structures and maps.
7360 * src/*: The API of NMSetting and NMConnection changed a bit: Getting
7361 a setting from connection takes the setting type now. Also, since
7362 the settings are in multiple files, include relevant settings.
7364 2007-10-31 Saleem Abdulrasool <compnerd@compnerd.org>
7367 * src/backends/NetworkManagerGentoo.c:
7368 (nm_system_restart_mdns_responder): Implement restarts for other mdns
7369 providers in Gentoo.
7371 2007-10-31 Dan Williams <dcbw@redhat.com>
7373 * libnm-util/nm-connection.c
7374 - (gvalue_to_string): handle UINT32 arrays
7376 2007-10-31 Dan Williams <dcbw@redhat.com>
7378 * libnm-glib/nm-device.h
7379 libnm-glib/nm-device.c
7380 - (nm_device_get_description): remove
7381 - (nm_device_get_product, nm_device_get_vendor): add
7382 - (nm_device_update_description): new function (private); walk HAL
7383 devices to get product and vendor IDs for a specific device
7385 2007-10-31 Dan Williams <dcbw@redhat.com>
7387 * src/nm-device-802-11-wireless.c
7388 - (nm_device_802_11_wireless_get_mode): ignore ENODEV errors
7390 2007-10-29 Dan Williams <dcbw@redhat.com>
7392 * src/nm-hal-manager.c
7393 - (device_added, device_new_capability): ignore device additions while
7394 asleep. Fixes crash caused when NM goes to sleep, a network device
7395 kernel module is unloaded and reloaded and recognized by NM again.
7397 2007-10-26 Dan Williams <dcbw@redhat.com>
7399 Patch from Helmut Schaa <hschaa@suse.de> (and more bits from me)
7401 * src/NetworkManagerAP.c
7402 src/NetworkManagerAP.h
7403 libnm-glib/nm-access-point.c
7404 libnm-glib/nm-access-point.h
7405 - Make 'rate' property a guint32 to better match with WEXT and
7406 wpa_supplicant and to allow representation of higher bitrates
7408 * src/nm-device-802-11-wireless.c
7409 introspection/nm-device-802-11-wireless.xml
7410 libnm-glib/nm-device-802-11-wireless.c
7411 libnm-glib/nm-device-802-11-wireless.h
7412 - Make 'bitrate' property a guint32 to match AP 'rate' property type
7414 * src/nm-device-802-3-ethernet.c
7415 src/nm-device-802-3-ethernet.h
7416 introspection/nm-device-802-3-ethernet.xml
7417 libnm-glib/nm-device-802-3-ethernet.c
7418 libnm-glib/nm-device-802-3-ethernet.h
7419 - Make 'speed' property a guint32 to match other speed/rate types
7420 - Make nm_device_802_3_ethernet_get_speed() static
7423 - Update for the changes above
7425 2007-10-26 Dan Williams <dcbw@redhat.com>
7427 * src/named-manager/nm-named-manager.c
7428 - (rewrite_resolv_conf): clean up error handling to avoid double-free by
7429 not calling fclose() twice on some error conditions
7431 2007-10-26 Dan Williams <dcbw@redhat.com>
7433 * src/nm-activation-request.c
7434 - (dispose): clean up indentation; get the right DBusGProxy object to
7435 cancel the GetSecrets pending call on. Need to use the Secrets
7436 proxy, not the regular connection proxy. Otherwise the GetSecrets
7437 pending call doesn't get canceled, and pressing Cancel in the
7438 applet's password dialog could cause get_secrets_cb() to be called
7439 after the activation request has already been destroyed
7441 2007-10-24 Dan Williams <dcbw@redhat.com>
7443 * src/supplicant-manager/nm-supplicant-config.c
7444 - (nm_supplicant_config_add_blob): pass blob data and length for
7446 - (get_hash_cb): use GByteArrays rather than GArrays; easier to follow
7448 2007-10-24 Dan Williams <dcbw@redhat.com>
7450 * src/supplicant-manager/nm-supplicant-settings-verify.c
7451 - (opt_table): max length for certificates should be 65536
7453 2007-10-24 Dan Williams <dcbw@redhat.com>
7455 * src/supplicant-manager/nm-supplicant-interface.c
7456 - (blob_free): correctly free blob data after use
7457 - (call_set_blobs): use the right D-Bus interfaace for setBlobs
7459 2007-10-24 Dan Williams <dcbw@redhat.com>
7461 * libnm-util/nm-setting.c
7462 - (setting_wireless_security_need_secrets): Fix lookup table logic for
7463 EAP method need secrets
7465 2007-10-24 Dan Williams <dcbw@redhat.com>
7467 * src/backends/NetworkManagerRedHat.c
7468 - (nm_system_update_dns): be a lot smarter about telling nscd to restart
7470 2007-10-23 Dan Williams <dcbw@redhat.com>
7472 * libnm-util/nm-setting.c
7473 libnm-util/nm-setting.c
7474 - (nm_setting_compare): implement
7475 - (default_setting_compare_fn, do_one_compare, compare_gvalue_hash,
7476 compare_one_hash_gvalue): compare the contents of a setting
7478 * libnm-util/nm-connection.c
7479 - (nm_connection_compare): implement
7481 2007-10-23 Dan Williams <dcbw@redhat.com>
7483 * src/nm-activation-request.c
7484 - (get_secrets_cb): handle getting a setting back that is more than
7485 just secrets (ie, user changed auth or EAP method or something)
7487 2007-10-23 Dan Williams <dcbw@redhat.com>
7489 * libnm-util/nm-setting.c
7490 libnm-util/nm-setting.h
7491 - (nm_setting_verify): new function; verify one setting
7492 - (nm_settings_verify_all): rename from nm_settings_verify()
7493 - (setting_connection_verify, setting_wireless_verify): allow NULL
7496 * libnm-util/nm-connection.c
7497 - (nm_connection_replace_settings, nm_connection_verify,
7498 nm_connection_new_from_hash): handle nm_settings_verify() rename
7500 2007-10-23 Dan Williams <dcbw@redhat.com>
7502 * src/nm-device-802-11-wireless.c
7503 - (real_act_stage2_config): use pre-increment on 'tries' to get the
7506 2007-10-23 Dan Williams <dcbw@redhat.com>
7508 * src/supplicant-manager/nm-supplicant-settings-verify.c
7509 - eap_allowed, phase2_allowed: harmonize with allowed values from
7512 2007-10-23 Dan Williams <dcbw@redhat.com>
7514 * src/nm-device-802-11-wireless.c
7515 - (real_act_stage2_config): after the first association failure,
7516 if the connection still needs secrets ask the user for them
7517 explicitly. After the fourth association failure due to bad
7518 secrets, fail the connection entirely. Handles the GetSecrets
7519 loop that NM gets into when the provided secrets don't match up
7520 with the connection details.
7522 2007-10-23 Dan Williams <dcbw@redhat.com>
7524 * src/supplicant-manager/nm-supplicant-config.c
7525 - (nm_supplicant_config_add_setting_wireless_security): only add
7526 WPA-specific options when WPA is in use
7528 2007-10-23 Dan Williams <dcbw@redhat.com>
7530 * src/supplicant-manager/nm-supplicant-config.c
7531 - (nm_supplicant_config_add_setting_wireless_security): 'password'
7532 secret doesn't need to be unhexified
7534 2007-10-23 Dan Williams <dcbw@redhat.com>
7536 * libnm-util/nm-setting.c
7537 - (setting_wireless_security_need_secrets): ensure auth_alg is !NULL
7538 before trying to do something with it
7540 2007-10-23 Dan Williams <dcbw@redhat.com>
7542 * src/nm-device-802-11-wireless.c
7543 - (merge_scanned_ap): handle NULL ssids returned from nm_ap_get_ssid()
7545 2007-10-23 Dan Williams <dcbw@redhat.com>
7547 * src/nm-device-802-11-wireless.c
7548 - (merge_scanned_ap): use libnm-util empty SSID check to catch more
7549 non-SSID-broadcasting APs
7551 2007-10-23 Dan Williams <dcbw@redhat.com>
7553 * src/NetworkManagerAP.c
7554 - (match_cipher, security_compatible): remove
7555 - (nm_ap_check_compatible): use nm_utils_ap_security_compatible() from
7558 2007-10-23 Dan Williams <dcbw@redhat.com>
7560 * libnm-util/nm-utils.c
7561 libnm-util/nm-utils.h
7562 - (nm_utils_ap_security_compatible): common function for checking
7563 whether a specific AP is compatible with an NMConnection
7565 2007-10-23 Dan Williams <dcbw@redhat.com>
7567 * libnm-util/nm-setting.c
7568 - (setting_wireless_security_need_secrets, need_secrets_phase2,
7569 need_secrets_tls, need_secrets_sim, need_secrets_eappsk,
7570 need_secrets_password, setting_wireless_security_verify): fix
7571 need_secrets for IEEE 802.1x and WPA-EAP by implementing need
7572 secrets logic for each supported EAP method
7574 2007-10-23 Dan Williams <dcbw@redhat.com>
7576 * src/supplicant-manager/nm-supplicant-config.c
7577 - (nm_supplicant_config_add_setting_wireless_security): fix wpa_supplicant
7578 config option name, should be "private_key2_passwd"
7580 2007-10-22 Tambet Ingo <tambet@gmail.com>
7582 Implement support for static IP addresses, additional/overridden DNS and
7583 DNS domain search lists.
7585 * libnm-util/nm-setting.c (uint_array_to_gvalue): Implement.
7586 (ip4_addresses_to_gvalue): Implement.
7587 (convert_array_to_byte_array): Implement.
7588 (nm_setting_populate_from_hash_default): Handle NM_S_TYPE_UINT_ARRAY and
7589 NM_S_TYPE_IP4_ADDRESSES.
7590 (nm_setting_hash): Ditto.
7591 (default_setting_clear_secrets): Add a default case for the switch: IP address
7592 shouldn't be secret, ever.
7593 (setting_ip4_config_verify): Update, requires addresses in case of manual
7595 (setting_ip4_config_destroy): Free stuff.
7597 * src/nm-device.c (merge_ip4_config): Implement.
7598 (real_act_stage4_get_ip4_config): Merge IP4 configuration from NMConnection.
7600 2007-10-22 Dan Williams <dcbw@redhat.com>
7602 * libnm-util/nm-setting.c
7603 - (setting_wireless_security_verify): allow WEP-40 and WEP-104 as
7604 pairwise cipher options for Dynamic WEP
7606 2007-10-21 Dan Williams <dcbw@redhat.com>
7608 * src/NetworkManagerAP.c
7609 src/NetworkManagerAP.h
7610 - Rename 'articifical' -> 'fake' since that's what they are until
7612 - (nm_ap_new_fake_from_connection): new function to create a 'fake' AP
7613 from the attributes in an NMConnection object
7614 - (security_compatible): better handle Dynamic WEP and LEAP; handle
7616 - (nm_ap_match_in_list): find a matching AP in a scan list
7618 * src/nm-device-802-11-wireless.c
7619 - (get_active_ap): add an 'ignore_ap' argument to ignore a specific
7620 AP when searching the scan list; match on frequency and mode too
7621 - (nm_device_802_11_wireless_get_frequency): implement
7622 - (merge_scanned_ap): replace duplicate matching logic with
7623 nm_ap_match_in_list()
7624 - (real_act_stage1_prepare): handle a NULL specific object; ie where
7625 the user is trying to connect to a hidden network that is not yet
7626 known from the scan list
7627 - (activation_success_handler): now that the card knows the AP's BSSID,
7628 there may already be a scanned AP in the scan list that is what
7629 we really wanted to connect to, but didn't know at the time. Use
7630 that instead of the 'fake' AP created at activation start and get
7631 rid of the 'fake' AP
7632 - (cull_scan_list): don't remove fake APs
7634 2007-10-21 Dan Williams <dcbw@redhat.com>
7636 * src/nm-activation-request.h
7637 src/nm-activation-request.c
7638 - (nm_act_request_set_specific_object): new function; allow setting the
7639 specific object if one isn't set yet
7641 2007-10-20 Dan Williams <dcbw@redhat.com>
7643 * src/supplicant-manager/nm-supplicant-config.h
7644 src/supplicant-manager/nm-supplicant-config.c
7645 - (nm_supplicant_config_init, nm_supplicant_config_finalize): add a hash
7646 table to store blobs
7647 - (nm_supplicant_config_add_blob): new function; add blob to internal
7649 - (nm_supplicant_config_get_blobs): new function; get stored blobs
7650 - (nm_supplicant_config_add_setting_wireless_security): handle
7651 options that use certificates (ie, blobs)
7653 * src/nm-device-802-11-wireless.c
7654 - (build_supplicant_config): pass a UID (just use the connection path)
7655 to the supplicant config as now required
7657 * src/supplicant-manager/nm-supplicant-interface.c
7658 - (add_network_cb, call_set_blobs, set_blobs_cb, call_set_network): if
7659 there are any blobs to send to wpa_supplicant, send those first
7660 before sending the network configuration
7662 2007-10-19 Dan Williams <dcbw@redhat.com>
7664 Split the GetSecrets() call off to a separate D-Bus interface so that it
7665 can be more easily locked down with D-Bus policy. Only 'root' (ie, NM)
7666 should be able to call GetSecrets().
7668 * include/NetworkManager.h
7669 - Define the connection secrets D-Bus interface
7671 * src/vpn-manager/nm-vpn-connection.c
7672 - (clear_need_auth): get the right proxy object for the connection
7674 - (get_connection_secrets): use the connection secrets proxy; send
7675 empty hints in get secrets request
7677 * src/nm-activation-request.c
7678 - (nm_act_request_request_connection_secrets): use the connection
7679 secrets proxy; send empty hints in get secrets request
7683 - (connection_get_settings_cb): set the connection secrets proxy on
7684 the connection object too
7685 - (internal_new_connection_cb): create the connection secrets proxy
7687 * introspection/nm-settings-connection.xml
7688 - Define Connection.Secrets interface and move GetSecrets there
7689 - Add a 'hints' argument to GetSecrets
7691 * libnm-glib/nm-settings.c
7692 libnm-glib/nm-settings.h
7693 - (impl_connection_settings_get_secrets): add 'hints' argument
7695 2007-10-19 Dan Williams <dcbw@redhat.com>
7698 - (constructor): add message about what path a device is exported as
7699 to help in debugging rh #339011
7701 2007-10-17 Dan Williams <dcbw@redhat.com>
7703 * libnm-util/nm-utils.h
7704 libnm-util/nm-utils.c
7705 - (nm_utils_security_valid): common function to help find the intersection
7706 of capabilities of devices and (optionally) access points
7708 2007-10-17 Dan Williams <dcbw@redhat.com>
7710 * src/nm-device-802-11-wireless.c
7711 - (get_wireless_capabilities): add missing braces so that WPA capabilities
7712 don't get erroneously cleared
7714 2007-10-17 Dan Williams <dcbw@redhat.com>
7718 src/nm-hal-manager.c
7719 - (device_removed, finalize, nm_manager_remove_device,
7720 nm_manager_sleep): add a 'deactivate' argument to
7721 nm_manager_remove_device() to fully deactivate devices when necessary
7722 (ie, always except when waking up)
7724 2007-10-16 Dan Williams <dcbw@redhat.com>
7726 * libnm-util/nm-setting.c
7727 - (setting_wireless_security_verify): fix phase2_auth methods; 'sim'
7728 also isn't valid phase2 autheap method
7730 2007-10-16 Dan Williams <dcbw@redhat.com>
7732 * libnm-glib/nm-client.c
7733 - (update_wireless_status): consolidate updates of wireless status
7734 - (constructor): use update_wireless_status()
7735 - (manager_running): set wireless status off when NM goes away; requery
7736 the wireless status when NM comes back
7738 2007-10-16 Dan Williams <dcbw@redhat.com>
7740 * libnm-glib/nm-client.c
7741 - (nm_client_activate_device): actually use the fixed-up specific
7744 2007-10-16 Dan Williams <dcbw@redhat.com>
7746 * src/nm-hal-manager.c
7747 - (killswitch_getpower_reply, nm_hal_manager_destroy): only print out
7748 killswitch error messages once
7750 2007-10-16 Dan Williams <dcbw@redhat.com>
7753 - (manager_set_wireless_enabled): don't allow wireless to be enabled
7754 if it's disabled in hardware; don't touch network devices while
7757 2007-10-16 Dan Williams <dcbw@redhat.com>
7759 * libnm-util/nm-client.c
7760 - (nm_client_activate_device): convert NULL specific_object to "/",
7761 which is used in place of NULL
7764 - (impl_manager_activate_device): convert "/" specific_object back into
7767 2007-10-16 Tambet Ingo <tambet@gmail.com>
7769 Implement a generic NMSetting creator from setting name.
7770 While at it, get rid of all nm_setting_foo_new_from_hash() functions and
7771 add a virtual function 'populate_fn'.
7773 * libnm-util/nm-connection.c (nm_connection_create_setting): Implement.
7774 (register_default_creators): Register setting creators instead of functions
7775 that create and then populate.
7776 (parse_one_setting): Use the common setting creator and then setting specific
7777 poplulation function.
7779 * libnm-util/nm-setting.c: Get rid of nm_setting_foo_new_from_hash() functions,
7780 they all looked exactly the same.
7781 Add a 'populate_fn' virtual function to NMSetting.
7782 Use default virtual functions in case they are not overriden.
7783 (nm_setting_populate_from_hash): Implement.
7785 * src/nm-device.c (real_act_stage3_ip_config_start): Don't hard code the setting
7786 name, use a defined string.
7787 (real_act_stage4_get_ip4_config): Ditto.
7789 2007-10-16 Tambet Ingo <tambet@gmail.com>
7791 * src/nm-hal-manager.c (killswitch_getpower_reply): The type returned from
7792 HAL is int, not uint.
7794 2007-10-15 Tambet Ingo <tambet@gmail.com>
7796 Implement killswitch polling through HAL.
7798 * src/nm-manager.c: Add wireless hardware status property. Add
7799 'properties-changed' signal for changes in wireless and wireless hardware
7802 * src/nm-hal-manager.c: Poll hal for killswitch statuses in every 6 seconds
7803 and update NMManager's wireless hardware state when it has changed.
7804 (nm_hal_manager_new): Don't try to add initial devices here - (hal_init)
7807 * libnm-glib/nm-client.c: Add wireless hardware status property. Cache the
7808 values of wireless state and wireless hardware state. Listen for the
7809 'properties-changed' signals, update the cached values and emit notify.
7811 * include/NetworkManager.h: Fix a typo in a comment.
7813 2007-10-14 Dan Williams <dcbw@redhat.com>
7815 * libnm-util/nm-setting.c
7816 - (setting_wireless_security_need_secrets): handle LEAP secrets
7818 2007-10-13 Dan Williams <dcbw@redhat.com>
7820 * libnm-util/nm-setting.h
7821 libnm-util/nm-setting.c
7822 src/supplicant-manager/nm-supplicant-config.c
7823 - Make the 'proto' field of the 802-11-wireless-security field a
7826 2007-10-12 Tambet Ingo <tambet@gmail.com>
7828 Rework the "properties-changed" signal listening implementation.
7829 Add a generic implementation to NMObject class that listens for
7830 the signal and calls property setters of the target NMObject.
7832 * libnm-glib/nm-object.c (nm_object_handle_properties_changed): Implement.
7834 * libnm-glib/nm-device-802-11-wireless.c: Move the GObject consturction
7835 code to the end of file so that all the static functions are available
7836 without extra declarations.
7837 Remove the "properties-changed" signal handling and use the framework from
7839 Implement property setters for properties that change with
7840 "properties-changed" signal.
7842 * libnm-glib/nm-access-point.c: Ditto.
7844 2007-10-12 Tambet Ingo <tambet@gmail.com>
7846 Rework the "properties-changed" signal implementation.
7847 In classes that need to use it, just emit "GObject::notify" and the new
7848 framework takes care of the rest to make the signal available on dbus.
7849 The framework queues the notifications and tries to send as many together
7850 in one signal as possible.
7852 * src/nm-properties-changed-signal.c:
7853 * src/nm-properties-changed-signal.h: Implement.
7855 * src/Makefile.am: Add new files to build.
7857 * src/NetworkManagerAP.c: Use the general framework for properties-changed
7860 * src/nm-device-802-11-wireless.c: Ditto.
7862 2007-10-10 Dan Williams <dcbw@redhat.com>
7865 - (wait_for_connection_expired): ensure info is valid
7866 - (connection_added_default_handler): Should only remove pending
7867 connection info when the manager has the connection that it's
7868 waiting for. Fixes segfault in wait_for_connection_info().
7870 2007-10-10 Dan Williams <dcbw@redhat.com>
7872 * libnm-util/nm-setting.c
7873 libnm-util/nm-setting.h
7874 - Add a default 'user_name' field to the VPN setting, which VPN plugins
7875 can use if they choose. Should be filled in by the settings service
7876 on-the-fly with the currently logged in user's username
7878 2007-10-10 Dan Williams <dcbw@redhat.com>
7880 * src/nm-device-802-11-wireless.c
7881 - (merge_scanned_ap): make sure non-SSID-broadcasting APs are marked
7882 as such, because even if the manager fills in the SSID, NM still
7883 has to indicate to wpa_supplicant that the AP isn't broadcasting
7886 2007-10-10 Tambet Ingo <tambet@gmail.com>
7888 Move ppp-manager over to dbus-glib. The big deal is that it was the last piece of
7889 code that used NM's own version of dbus signal handling and custom dictionary
7890 marshalling/unmarshalling. With this change, all that obsolete code can disappear
7891 and we get to maintain over 2000 lines less code.
7893 * libnm-util/dbus-dict-helpers.c:
7894 * libnm-util/dbus-dict-helpers.h: Remove.
7896 * src/ppp-manager/nm-pppd-plugin.c: Convert it to use dbus-glib.
7898 * src/ppp-manager/nm-pppd-plugin.xml: Implement.
7900 * src/ppp-manager/nm-ppp-manager.c: Use dbus-glib instead of home-brewed dbus signal
7903 * src/nm-dbus-manager.c: Remove all the manual dbus signal handling.
7905 * configure.in: Remove test/libnm-util/Makefile creation.
7907 * test/Makefile.am: Remove libnm-util from SUBDIRS.
7909 * test/libnm-util/: Remove the whole directory.
7911 2007-10-10 Tambet Ingo <tambet@gmail.com>
7913 * src/NetworkManagerPolicy.c (nm_policy_new): Initialize the
7914 device_state_changed_idle_id variable or it would contain some random value and the
7915 schedule_change_check calls would not do anything.
7917 2007-10-09 Dan Williams <dcbw@redhat.com>
7919 * src/nm-device-802-11-wireless.c
7920 - (supplicant_iface_scanned_ap_cb): set the non-broadcast flag elsewhere
7921 - (merge_scanned_ap): only have the manager fill the SSID if the AP
7922 isn't broadcasting its SSID; set the non-broadcast flag here; fix
7923 merging of non-SSID-broadcasting APs
7925 2007-10-09 Tambet Ingo <tambet@gmail.com>
7927 * libnm-util/nm-utils.c (nm_utils_is_empty_ssid): Convert the ssid type to
7928 "guint8 *" since it's usually used with GByteArray->data.
7929 (nm_utils_ssid_to_utf8): Add it back, the applet needs it.
7931 2007-10-09 Tambet Ingo <tambet@gmail.com>
7933 * src/NetworkManagerUtils.c
7934 (nm_utils_is_empty_ssid):
7935 (nm_utils_escape_ssid):
7936 (nm_utils_same_ssid): Remove. These functions are copied and pasted in a
7937 lot of places, so they belong to libnm-utils instead.
7939 Now with 100% less compiler warnings:
7941 * libnm-util/nm-utils.c (nm_dbus_escape_object_path): Remove, unused.
7942 (nm_dbus_unescape_object_path): Ditto.
7943 (nm_utils_ssid_to_utf8): Ditto.
7944 (nm_utils_is_empty_ssid): Move here from src/NetworkManagerUtils.c
7945 (nm_utils_escape_ssid): Ditto.
7946 (nm_utils_same_ssid): Ditto.
7948 * src/nm-manager.c: Include 'netinet/ether.h' for ether_aton_r.
7949 (add_one_connection_element): Remove an unused variable.
7950 (impl_manager_get_active_connections): Ditto.
7952 * src/NetworkManagerPolicy.c (get_device_connection): Remove an unused
7955 * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Remove a leftover
7956 from the previous commit.
7958 * src/nm-device-802-11-wireless.c (set_current_ap): Remove unused variable.
7959 (real_act_stage1_prepare): Ditto.
7960 (activation_success_handler): Ditto.
7961 (get_property): Ditto.
7963 * src/nm-device-802-3-ethernet.c (real_get_best_connection): Remove unused
7966 * src/ppp-manager/nm-pppd-plugin.c (nm_ip_up): Remove the check for 'ifname',
7969 * src/supplicant-manager/nm-supplicant-config.c
7970 (nm_supplicant_config_add_setting_wireless): Cast the GByteArray's 'guint8 *'
7971 to expected "char *".
7972 (nm_supplicant_config_add_setting_wireless): Ditto.
7973 (nm_supplicant_config_remove_option): Remove, not used.
7975 * libnm-glib/libnm-glib-test.c (dump_access_point): Frequency is a guint32,
7977 (test_wireless_enabled): Ifdef out unused function.
7978 (device_deactivate): Ditto.
7979 (device_state_changed): Ditto.
7980 (nm_utils_is_empty_ssid): Remove, it's now in libnm-utils.
7981 (nm_utils_escape_ssid): Ditto.
7983 * test/nm-tool.c (nm_utils_escape_ssid): Remove, it's now in libnm-utils.
7984 (nm_utils_is_empty_ssid): Ditto.
7986 * libnm-glib/nm-client.c (nm_client_free_active_connection_element): Remove
7989 * libnm-util/nm-setting.c (setting_wireless_destroy): Remove unused variable.
7990 (setting_vpn_properties_update_secrets): Ditto.
7991 (int_to_gvalue): Ifdef out for now, not used.
7992 (byte_to_gvalue): Ditto.
7994 * libnm-util/dbus-dict-helpers.c (_nmu_dbus_add_dict_entry_string_array):
7997 2007-10-08 Tambet Ingo <tambet@gmail.com>
7999 * src/NetworkManager.c (main): When dbus manager doesn't want to start, complain
8000 about dbus manager, not named manager.
8001 Make sure hal_manager and dbus_mgr are created before trying to unreference.
8003 * src/nm-dbus-manager.c: There was an issue with priv->proxy: We have a signal
8004 handler for it's 'destroy' signal - we use it to catch disconnects from dbus.
8005 However, the same signal is emitted when we destroy it and there's
8006 nm_dbus_manager_cleanup -> destroy_cb -> nm_dbus_manager_cleanup cycle.
8008 (nm_dbus_manager_cleanup): Let go of the DBusGProxy before
8009 releasing the DBusGConnection, since proxy needs a conneciton.
8010 (destroy_cb): Set the private proxy to NULL before cleaning up the manager.
8012 2007-10-08 Dan Williams <dcbw@redhat.com>
8014 * src/NetworkManager.c
8015 - (main): error on unknown command-line options
8017 2007-10-08 Dan Williams <dcbw@redhat.com>
8019 Reimplement the invalid connection list. Don't try to re-activate a
8020 connection that just failed or was canceled.
8023 - (connection_secrets_failed_cb): fail device activation, don't just
8024 deactivate the device. Listeners have to know about the failure.
8026 * src/NetworkManagerPolicy.c
8027 - (nm_policy_auto_get_best_device): exclude invalid connections from
8028 the connection list given to a device's get_best_connection()
8030 - (device_state_changed): tag failed connections as invalid; clear the
8031 tag from successful connections
8033 2007-10-08 Dan Williams <dcbw@redhat.com>
8035 Fix problems with interrupted activation. Previously, choosing an AP
8036 from the menu, then choosing another one before the first connection was
8037 successful wouldn't deactivate the device before starting the new connection
8038 on that same device.
8040 * src/NetworkManagerPolicy.c
8041 - (deactivate_old_device, device_state_changed, state_changed,
8042 nm_policy_new): wrong place to deactivate old devices
8045 - (pending_connection_info_destroy, finalize,
8046 wait_for_connection_expired): decouple destruction of the pending
8047 connection info from the manager device
8048 - (connection_added_default_handler): deactivate any active or
8049 activating device before starting a new activation
8050 - (impl_manager_activate_device): deactivate any active or activating
8051 device before starting a new activation; be sure not to leak
8052 pending connection info if a new activation request arrives but
8053 there's already a pending one in-process
8055 2007-10-08 Dan Williams <dcbw@redhat.com>
8057 * src/NetworkManagerAP.h
8058 src/NetworkManagerAP.c
8059 - (nm_ap_has_manufacturer_default_ssid): remove, unused. User clients
8060 should handle default SSIDs and whether or not to autoconnect
8063 2007-10-08 Dan Williams <dcbw@redhat.com>
8065 * src/NetworkManagerPolicy.c
8066 - (nm_policy_device_change_check): print out connection name where
8069 2007-10-08 Dan Williams <dcbw@redhat.com>
8071 * src/nm-device-802-11-wireless.c
8072 src/nm-device-802-11-wireless.h
8073 - (nm_device_802_11_wireless_class_init, merge_scanned_ap): new
8074 'hidden-ap-found' signal (for internal use only) that allows the
8075 NMManager to fill in the AP's SSID if a connection has that AP's
8076 BSSID in its seen-bssids list
8079 - (manager_hidden_ap_found, nm_manager_add_device): attach to a
8080 wireless device's hidden-ap-found signal and fill in the APs SSID
8083 2007-10-07 Dan Williams <dcbw@redhat.com>
8087 - Add a 'connections-added' signal to batch together updates of large
8088 numbers of connections, like when reading from a settings service
8089 the first time. Otherwise, the policy would just activate the first
8090 suitable connection it saw rather than waiting for the full list
8092 - (nm_manager_class_init): register new signal
8093 - (get_type_for_proxy, connection_get_settings_cb,
8094 get_connection_for_proxy): centralize places where a proxy's setting
8095 service is determined
8096 - (free_get_settings_info): if the call being freed is the last call
8097 in a pending call group, fire off the connections-added signal
8098 - (internal_new_connection_cb): add call to a pending call group if
8100 - (list_connections_cb): always create a call group here, because this
8101 call results in a batch of new connections
8102 - (initial_get_connections): start getting system connections first
8103 - (nm_manager_connections_destroy, emit_removed): actually emit the
8104 removed signal when destroying connections
8106 * src/NetworkManagerPolicy.c
8107 - (nm_policy_new, connections_added): handle connections-added signal
8110 2007-10-06 Dan Williams <dcbw@redhat.com>
8112 * src/nm-device-802-11-wireless.c
8113 - (constructor): fix leaked socket
8115 2007-10-06 Dan Williams <dcbw@redhat.com>
8117 * src/NetworkManagerPolicy.c
8118 - (nm_policy_auto_get_best_device): fix connection list reffing. Each
8119 connection in the list returned by nm_manager_get_connections() is
8120 reffed, but they weren't getting unreffed before returning
8122 2007-10-06 Dan Williams <dcbw@redhat.com>
8125 - (connections_to_slist): sort connections first on autoconnect, then
8128 2007-10-06 Dan Williams <dcbw@redhat.com>
8130 * libnm-util/nm-connection.c
8131 - (gvalue_to_string): handle UINT64
8133 2007-10-06 Dan Williams <dcbw@redhat.com>
8135 * src/NetworkManagerPolicy.c
8136 - (connection_updated, nm_policy_new): recheck state when a connection
8139 2007-10-06 Dan Williams <dcbw@redhat.com>
8143 - (nm_manager_get_connection_dbus_path): make static
8144 - (nm_manager_update_connections): remove; unused
8145 - Add a connection-updated signal
8146 - (new_connection_cb, connection_updated_cb, nm_manager_class_init):
8147 handle connection object updates
8149 2007-10-06 Dan Williams <dcbw@redhat.com>
8151 * src/NetworkManagerPolicy.c
8152 - (connection_removed): deactivate removed connections
8154 2007-10-06 Dan Williams <dcbw@redhat.com>
8156 * libnm-util/nm-connection.c
8157 libnm-util/nm-connection.h
8158 - (nm_connection_replace_settings): new function
8160 2007-10-06 Dan Williams <dcbw@redhat.com>
8162 * libnm-glib/nm-device-802-11-wireless.c
8163 - (nm_device_802_11_wireless_get_active_access_point): don't segfault
8164 on error when getting the active access point over D-Bus from NM
8166 2007-10-05 Dan Williams <dcbw@redhat.com>
8168 * libnm-util/nm-setting.c
8169 - (setting_wireless_verify, setting_wireless_destroy): add seen_bssids
8170 to the NMSettingWireless table; it's now a string array not an array
8173 2007-10-05 Dan Williams <dcbw@redhat.com>
8175 * libnm-glib/nm-device-802-11-wireless.c
8176 - Cache properties and update cached properties on D-Bus signals from NM
8178 2007-10-05 Dan Williams <dcbw@redhat.com>
8180 * src/nm-device-802-11-wireless.c
8181 - (set_current_ap): consolidate current_ap handling code into one place
8182 to ensure that PropertiesChanged signals are emitted in all cases
8183 - (periodic_update, real_deactivate_quickly, real_act_stage1_prepare,
8184 nm_device_802_11_wireless_dispose): use set_current_ap()
8186 2007-10-05 Dan Williams <dcbw@redhat.com>
8188 * libnm-glib/nm-access-point.c
8189 libnm-glib/nm-access-point.h
8190 - (nm_access_point_get_hw_address): return 'const char *', not 'char *'
8191 because the value is cached internally now. Callers should not
8192 free the internal value.
8193 - Make signal name defines private
8196 libnm-glib/libnm-glib-test.c
8197 - Don't free value returned from nm_access_point_get_hw_address()
8199 2007-10-04 Dan Williams <dcbw@redhat.com>
8201 * introspection/nm-device-802-11-wireless.xml
8202 src/nm-device-802-11-wireless.h
8203 src/nm-device-802-11-wireless.c
8204 - Add a PropertiesChanged signal for wireless device
8205 - Store currently associated access point
8206 - (periodic_update): generalize; update rate here too and emit the
8207 correct PropertiesChanged signal when stuff changes
8208 - (real_deactivate_quickly, nm_device_802_11_wireless_dispose,
8209 real_activation_cancel_handler): clear current_ap when device is
8211 - (link_to_specific_ap, get_ap_blacklisted,
8212 nm_device_802_11_wireless_get_best_ap): remove obsolete and unused
8214 - (nm_device_802_11_wireless_get_bitrate): make static; unused anywhere
8216 - (real_set_hw_address): emit property changed signal if the card's
8218 - (real_act_stage1_prepare): set the initial current_ap to the AP
8219 the card is supposed to be connecting to
8220 - (activation_success_handler): send out property updates on successful
8222 - (get_property): pull bitrate from cached value; use OBJECT_PATH type
8223 for ACTIVE_ACCESS_POINT property because sometimes there won't be
8224 one and dbus-glib doesn't like marshalling NULL G_TYPE_OBJECTs
8225 - (nm_device_802_11_wireless_class_init): ACTIVE_ACCESS_POINT property
8226 is now boxed; add PropertiesChanged signal
8228 2007-10-04 Dan Williams <dcbw@redhat.com>
8230 * libnm-util/nm-connection.c
8231 libnm-util/nm-connection.h
8232 - (nm_connection_verify): new function
8234 2007-10-04 Dan Williams <dcbw@redhat.com>
8236 * libnm-util/nm-setting.c
8237 - (nm_settings_verify): use #defines when possible rather than strings
8238 - (setting_connection_verify): ensure that 'name' and 'type' are valid
8239 - (setting_vpn_verify): tighter validity check on 'service_type'
8241 2007-10-04 Dan Williams <dcbw@redhat.com>
8243 * libnm-glib/nm-settings.c
8244 - (nm_connection_settings_class_init): provide correct type for argument
8245 to the Updated signal so that dbus-glib knows how to marshal it
8247 2007-10-03 Dan Williams <dcbw@redhat.com>
8249 * src/nm-device-802-3-ethernet.c
8250 - (real_get_best_connection): don't create automatic connections
8251 internally; clients should provide a setting that applies to
8252 the device with 'autoconnect: True'. Problem was that these
8253 internally auto-created connections don't have a proxy or service
8254 name becuase they weren't created by a settings daemon, and therefore
8255 clients have no idea what to do with them.
8257 2007-10-03 Dan Williams <dcbw@redhat.com>
8259 * src/nm-device-802-11-wireless.c
8260 src/nm-device-802-11-wireless.h
8261 introspection/nm-device-802-11-wireless.xml
8262 - GetActiveNetworks -> GetAccessPoints
8263 - ActiveNetwork -> ActiveAccessPoint
8264 - NetworkAdded -> AccessPointAdded
8265 - NetowrkRemoved -> AccessPointRemoved
8267 * libnm-glib/nm-device-802-11-wireless.c
8268 libnm-glib/nm-device-802-11-wireless.h
8269 - network-added signal -> access-point-added
8270 - network-removed signal -> access-point-removed
8271 - nm_device_802_11_wireless_get_active_network() ->
8272 nm_device_802_11_wireless_get_active_access_point()
8273 - nm_device_802_11_wireless_get_network_by_path() ->
8274 nm_device_802_11_wireless_get_access_point_by_path()
8275 - nm_device_802_11_wireless_get_networks() ->
8276 nm_device_802_11_wireless_get_access_points()
8278 * libnm-glib/libnm-glib-test.c
8280 src/NetworkManagerPolicy.c
8281 - Fixups for Network -> AccessPoint
8283 2007-10-03 Dan Williams <dcbw@redhat.com>
8285 Add a GetActiveConnections() method on the Manager object.
8289 introspection/nm-manager.xml
8290 - (connection_get_settings_cb): keep connection type around too
8291 - (impl_manager_get_active_connections, add_one_connection_element):
8292 implement; returns all active connections and what devices they
8295 * libnm-glib/nm-client.c
8296 libnm-glib/nm-client.h
8297 introspection/nm-manager-client.xml
8298 - (nm_client_get_devices): GPtrArray elements are allocated and owned
8299 by the caller; free here to avoid memory leak
8300 - (nm_client_get_active_connections): implement; return the list of
8302 - (nm_client_free_active_connection_element): implement; free an element
8303 of the GSList returned by nm_client_get_active_connections()
8305 2007-10-03 Dan Williams <dcbw@redhat.com>
8307 * src/nm-device-802-11-wireless.c
8308 - (nm_device_802_11_wireless_update_bssid): remove
8309 - (get_active_ap): new function; find the AP in the scan list which
8310 matches the current BSSID and SSID of the wireless device
8311 - (nm_device_802_11_periodic_update): get current AP using
8312 get_active_ap() and print AP roam messages
8314 2007-10-01 Dan Williams <dcbw@redhat.com>
8316 * libnm-util/nm-setting.h
8317 - Add a 'timestamp' option to NMSettingConnection
8320 * libnm-util/nm-setting.c
8321 - (uint64_to_gvalue): new function
8322 - (nm_setting_populate_from_hash, nm_setting_hash,
8323 default_setting_clear_secrets): handle UINT64 type
8324 - con_table: add 'timestamp' member
8326 2007-10-01 Dan Williams <dcbw@redhat.com>
8329 - (impl_manager_activate_device): ensure the D-Bus method sends a return
8330 value when the connection can be activated immediately
8332 2007-10-01 Dan Williams <dcbw@redhat.com>
8334 * libnm-glib/nm-device.c
8335 - (nm_device_class_init): actually tell glib about the carrier-changed
8338 2007-10-01 Dan Williams <dcbw@redhat.com>
8341 src/marshallers/Makefile.am
8342 src/marshallers/nm-marshal.list
8343 src/marshallers/nm-marshal-main.c
8344 - Consolidate glib marshallers into one place
8346 * src/dhcp-manager/Makefile.am
8347 src/dhcp-manager/nm-dhcp-manager.c
8348 src/supplicant-manager/Makefile.am
8349 src/supplicant-manager/nm-supplicant-manager.c
8350 src/supplicant-manager/nm-supplicant-interface.c
8351 src/ppp-manager/Makefile.am
8352 src/ppp-manager/nm-ppp-manager.c
8353 src/vpn-manager/Makefile.am
8354 src/vpn-manager/nm-vpn-connection.c
8356 - Use consolidated marshallers
8358 * src/dhcp-manager/nm-dhcp-marshal.list
8359 src/dhcp-manager/nm-dhcp-marshal-main.c
8360 src/supplicant-manager/nm-supplicant-marshal-main.c
8361 src/supplicant-manager/nm-supplicant-marshal.list
8362 src/nm-marshal-main.c
8364 src/ppp-manager/nm-ppp-marshal-main.c
8365 src/ppp-manager/nm-ppp-marshal.list
8366 src/vpn-manager/nm-vpn-marshal-main.c
8367 src/vpn-manager/nm-vpn-marshal.list
8370 2007-10-01 Dan Williams <dcbw@redhat.com>
8372 * include/NetworkManagerVPN.h
8373 - define VPN connection state change reason codes
8375 * src/vpn-manager/Makefile.am
8376 src/vpn-manager/nm-vpn-marshal.list
8377 src/vpn-manager/nm-vpn-marshal-main.c
8378 - Add marshallers for StateChanged signal
8380 * introspection/nm-vpn-connection.xml
8381 - New Banner property
8382 - StateChanged signal now includes a 'reason' argument
8384 * src/vpn-manager/nm-vpn-connection.c
8385 src/vpn-manager/nm-vpn-connection.h
8386 - Add a "Banner" property that contains the returned VPN server login
8387 banner (if any); valid only in the ACTIVATED state
8388 - (nm_vpn_connection_set_state, nm_vpn_connection_disconnect): now takes
8389 a 'reason' argument and emits that reason along with the
8390 state-changed signal
8391 - Fix up calls to nm_vpn_connection_set_state() to include a reason
8392 - (nm_vpn_connection_ip4_config_get): save banner for later
8393 - (nm_vpn_connection_get_banner, get_property,
8394 nm_vpn_connection_class_init): implement Banner property
8396 * src/vpn-manager/nm-vpn-service.c
8397 - (nm_vpn_service_connections_stop): take a reason argument; copy the
8398 connection list because elements may get added/removed from it
8399 while iterating over the list
8400 - (connection_state_changed): signal now includes the 'reason' argument
8402 * libnm-glib/nm-vpn-connection.c
8403 libnm-glib/nm-vpn-connection.h
8404 - (nm_vpn_connection_get_banner): new function
8405 - (state_changed_proxy): handle reason argument
8407 2007-09-28 Tambet Ingo <tambet@gmail.com>
8411 Implement device activation through NMManager.
8412 Implement "pending device activation" here - If the connection isn't found,
8413 we try to wait for up to 5 seconds for the connection to be provided.
8414 Add NMConnectionType argument to "connection-added" and "connection-removed"
8416 (nm_manager_get): Remove. Finally.
8418 * src/nm-activation-request.c:
8419 * src/nm-activation-request.h:
8420 Remove all the deferred activation code.
8422 * src/nm-device.c: Remove all the deferred activation code. Once the device
8423 activation is started, it's started. Update the activation virtual function
8426 * src/nm-device-interface.c:
8427 * src/nm-device-interface.h:
8428 Device activation now takes only NMActRequest argument.
8429 Don't expose device activation directly on dbus, it's supposed to go through
8432 * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Make the code
8434 Use the new device activation methods through NMManager.
8436 * introspection/nm-manager-client.xml:
8437 * introspection/nm-manager.xml:
8438 * libnm-glib/nm-client.c:
8439 * libnm-glib/nm-client.h:
8440 Add device activation method.
8442 * libnm-glib/nm-device.c:
8443 * libnm-glib/nm-device.h:
8444 * introspection/nm-device.xml:
8445 Remove device activation method. It's done through NMManager now.
8447 * src/vpn-manager/nm-vpn-manager.c (impl_vpn_manager_connect): Use the shiny
8448 new (nm_manager_get_device_by_path) function, get rid of our own )find_device).
8450 2007-09-28 Dan Williams <dcbw@redhat.com>
8452 * libnm-glib/nm-vpn-connection.c
8453 - (nm_vpn_connection_get_state): try to update state if the current
8456 2007-09-27 Dan Williams <dcbw@redhat.com>
8458 Patch from Bill Nottingham
8460 * src/supplicant-manager/nm-supplicant-config.c
8461 - (ADD_STRING_VAL): use correct length for binary blobs when sending
8462 data to the supplicant
8464 2007-09-27 Dan Williams <dcbw@redhat.com>
8466 * src/NetworkManagerSystem.c
8467 - (nm_system_vpn_device_set_from_ip4_config): clean up indentation;
8468 and all address manipulation here should be happening on the
8469 _VPN_ device, not the active device
8471 2007-09-26 Dan Williams <dcbw@redhat.com>
8475 src/nm-activation-request.c
8476 src/nm-activation-request.h
8477 - Move the GetSecrets stuff out of the NMManager instance because it
8478 doesn't really need to be there and complicates things
8481 - (connection_secrets_failed_cb, device_activation_go): connect to the
8482 connection-secrets-failed signal and deactivate the device if
8483 the GetSecrets call fails
8485 * src/nm-device-802-11-wireless.c
8486 - (link_timeout_cb, supplicant_connection_timeout_cb,
8487 real_act_stage2_config, real_act_stage4_ip_config_timeout): request
8488 secrets and give correct hints about whether new secrets should be
8489 asked for by the client or not
8491 2007-09-26 Dan Williams <dcbw@redhat.com>
8493 * src/vpn-manager/nm-vpn-connection.c
8494 - (nm_vpn_connection_set_state, clear_need_auth, finalize,
8495 connection_secrets_updated_cb, get_secrets_cb): don't need to attach
8496 to the secrets-updated signal of the NMConnection since updating
8497 the secrets is done within the scope of the NMVPNConnection object
8499 - (get_connection_secrets): fix an uninialized variable usage error
8501 2007-09-26 Dan Williams <dcbw@redhat.com>
8503 * libnm-util/nm-setting.c
8504 - (setting_vpn_properties_update_secrets): implement so VPN secrets
8505 actually get updated when the user enters them
8507 2007-09-26 Dan Williams <dcbw@redhat.com>
8509 * libnm-glib/nm-vpn-plugin.c
8510 - (impl_vpn_plugin_need_secrets): fix logic when no secrets are needed
8512 2007-09-26 Dan Williams <dcbw@redhat.com>
8514 * include/NetworkManagerVPN.h
8515 - Add a NEED_AUTH state
8517 * src/vpn-manager/nm-vpn-connection.c
8518 - Implement the NEED_AUTH state. First ask the VPN service plugin if
8519 the connection needs secrets, and if so, then ask the settings
8520 service to fill in the secrets. Then start the connection.
8522 2007-09-26 Dan Williams <dcbw@redhat.com>
8524 * src/vpn-manager/nm-vpn-manager.c
8525 - (new_vpn_error, impl_vpn_manager_connect): set errors
8527 2007-09-26 Dan Williams <dcbw@redhat.com>
8529 * introspection/nm-vpn-plugin.xml
8530 libnm-glib/nm-vpn-plugin.c
8531 libnm-glib/nm-vpn-plugin.h
8532 - (impl_vpn_plugin_need_secrets): implement a call that should return
8533 the name of the NMSetting in an NMConnection that may require
8534 secrets specific to that VPN plugin
8536 2007-09-26 Dan Williams <dcbw@redhat.com>
8540 - (nm_manager_get_connection_secrets): make static, unused outside
8542 - Provide NM_MANAGER_CONNECTION_PROXY_TAG for other users
8544 2007-09-26 Tambet Ingo <tambet@gmail.com>
8546 * libnm-glib/nm-vpn-plugin.c (nm_vpn_plugin_connect): Update the plugin activation
8548 (impl_vpn_plugin_connect): Convert properties hash to NMConnection, activate, and
8549 unreference the connection.
8551 * introspection/nm-vpn-plugin.xml: Modify the 'Connect' method arguments: instead of
8552 passing properties hash and routes string list, pass NMConnection (in hashed form).
8554 * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Return routes
8555 as GSList, no need to copy stuff around anymore.
8556 (nm_vpn_connection_activate): Update the plugin activation method.
8558 * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Convert
8559 routes argument to GSList.
8561 2007-09-26 Tambet Ingo <tambet@gmail.com>
8563 * src/nm-manager.c (manager_device_state_changed): Listen to device' NEED_AUTH
8564 state and try to get the secrets.
8566 * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Get the list of
8567 connections from NMManager and let the device to choose the best from the list.
8568 Since the connection list is sorted by system ones first and user ones later,
8569 the devices still prefer system connections like they did before.
8570 (deactivate_old_device): Implement. When a device starts activation, we have a
8571 policy (for now at least) to deactivate any other device that might be either
8572 active or still activating.
8574 * src/vpn-manager/nm-vpn-manager.c: Add NMManager back to the private structure.
8575 It's set on construction, there will be no other way to access it.
8577 * src/nm-device-802-11-wireless.c: Don't touch NMManager, NMManager can listen to
8578 device events and drive the device, not the other way around.
8580 * src/nm-device-802-3-ethernet.c: Ditto.
8582 * src/nm-device.c (nm_device_get_best_connection): The connections list is now
8583 sent along, pass it on to virtual functions.
8585 * src/nm-device-interface.c (nm_device_interface_get_iface): Implement. It's static
8586 for now, but should really be public instead of nm_device_get_iface() since iface
8587 is a property of the DeviceInterface, not Device.
8588 (impl_device_activate): Don't touch NMManager!
8590 2007-09-26 Jürg Billeter <j@bitron.ch>
8592 * initscript/paldo/NetworkManager.in:
8593 * initscript/paldo/NetworkManagerDispatcher.in:
8594 * src/backends/NetworkManagerPaldo.c: (nm_system_enable_loopback),
8595 (nm_system_flush_loopback_routes): update paldo backend
8597 2007-09-26 Tambet Ingo <tambet@gmail.com>
8599 * src/nm-device-802-3-ethernet.c (real_get_best_connection): Don't leak NMManager.
8600 The problem with leaking NMManager is that on shutdown, it doesn't get destroyed,
8601 which means none of the devices get brought down properly, which in turn leaves
8602 DHCP client running.
8604 * src/nm-device-802-11-wireless.c (real_get_best_connection): Ditto.
8605 (supplicant_connection_timeout_cb): Ditto.
8607 2007-09-25 Dan Williams <dcbw@redhat.com>
8610 - (device_activation_go): small hack to work around race when
8611 activating deferred connections; should solve this in a better way
8613 2007-09-25 Dan Williams <dcbw@redhat.com>
8615 * introspection/nm-device.xml
8616 libnm-glib/nm-device.c
8617 libnm-glib/nm-device.h
8618 - Add 'Carrier' property to exported NMDevice objects
8620 * src/nm-device-interface.h
8621 src/nm-device-interface.c
8623 - Add a 'carrier' property to internal NMDevice objects
8625 2007-09-25 Dan Williams <dcbw@redhat.com>
8627 * src/nm-device-802-11-wireless.c
8628 - (ap_auth_enforced): also return the encryption status of the AP so
8629 that callers can differentiate easily between unencrypted APs
8630 and encrypted ones, in addition to whether the AP has an
8632 - (link_timeout_cb, supplicant_connection_timeout_cb,
8633 real_act_stage4_ip_config_timeout): handle unencrypted APs better,
8634 previously would request secrets from unencrypted APs at times
8636 2007-09-25 Dan Williams <dcbw@redhat.com>
8639 - (nm_manager_update_state): new function; updates state and emits
8640 appropriate signals ensuring a state-change signal for the same state
8641 never gets emitted twice in a row.
8642 - (manager_device_state_changed): handle more device state to get a
8643 better picture of the overall NM state
8645 2007-09-25 Dan Williams <dcbw@redhat.com>
8647 * libnm-glib/nm-settings.c
8648 libnm-glib/nm-settings.h
8649 - (new_error -> nm_settings_new_error): make public so that subclasses
8650 can use the same error domain. Also pass a valid error code to
8651 g_error_new_literal() so that libdbus doesn't assert when converting
8652 the GError into a DBusError
8653 - (impl_settings_list_connections, impl_connection_settings_get_id,
8654 impl_connection_settings_get_settings,
8655 impl_connection_settings_get_secrets): use new error creator
8658 2007-09-25 Dan Williams <dcbw@redhat.com>
8660 * src/NetworkManager.c
8661 - (nm_signal_handler, main): don't ignore SIGTERM/SIGINT during startup
8663 2007-09-25 Dan Williams <dcbw@redhat.com>
8665 * src/supplicant-manager/nm-supplicant-manager.c
8666 - (poke_supplicant_cb, nm_supplicant_manager_init,
8667 nm_supplicant_manager_dispose, nm_supplicant_manager_name_owner_changed,
8668 nm_supplicant_manager_startup): when the supplicant isn't running,
8669 try to start it periodically via system bus activation. Fixes
8670 a problem where if wpa_supplicant goes away, NM gets stuck waiting
8671 for the supplicant to come back
8673 2007-09-25 Dan Williams <dcbw@redhat.com>
8675 Ensure that old activation requests are forgotten about; previously
8676 hitting Cancel in the password dialog would deactivate whatever device
8677 that password was requested for, even if that wasn't the currently
8678 activating connection.
8682 - (nm_manager_get_connection_secrets): track the pending call
8683 object so it can be canceled later if needed
8684 - (nm_manager_cancel_get_connection_secrets): cancel a pending
8685 GetSecrets call for a particular connection
8687 * src/nm-activation-request.c
8688 - (dispose): cancel any outstanding GetSecrets calls on the
8691 2007-09-25 Dan Williams <dcbw@redhat.com>
8693 * src/NetworkManagerPolicy.c
8694 - (nm_policy_device_change_check): handle devices that have a
8695 deferred activation. These devices are not really active _yet_,
8696 but need to be treated as such here. Don't interrupt them
8699 * src/nm-device-interface.c
8700 - (impl_device_activate): handle devices that have a deferred activation
8701 like activating or active devices. When multiple active devices
8702 get committed, the device shouldn't be deactivated until the
8703 connection details are available to avoid DoS and such. Currently,
8704 any active, activating, or deferred activation device is deactivated
8705 here before starting the new activation request.
8707 2007-09-25 Dan Williams <dcbw@redhat.com>
8709 Properly re-query secrets from the settings daemon when stuff fails.
8711 * src/nm-device-802-11-wireless.c
8712 - (ap_auth_enforced): handle static WEP correctly here by differentiating
8713 between Shared Key and Open System auth modes
8714 - (link_timeout_cb, supplicant_connection_timeout_cb,
8715 real_act_stage4_ip_config_timeout): clear existing secrets and
8716 request new ones when something fails due to a suspected wrong key
8717 - (real_act_stage2_config): fix for new request_new argument to
8718 nm_manager_get_connection_secrets()
8722 - (nm_manager_get_connection_secrets): return error status; pass
8723 new request_new argument on to the settings daemon
8725 * introspection/nm-settings-connection.xml
8726 - New 'request_new' argument to the GetSecrets call that hints to the
8727 settings daemon to ask the user for completely new secrets
8729 * libnm-glib/nm-settings.c
8730 libnm-glib/nm-settings.h
8731 - (impl_connection_settings_get_secrets): handle new 'request_new'
8734 2007-09-25 Dan Williams <dcbw@redhat.com>
8736 * libnm-util/nm-connection.c
8737 libnm-util/nm-connection.h
8738 - (nm_connection_clear_secrets): new function; clear secrets out of
8739 each NMSetting in an NMConnection
8741 * libnm-util/nm-setting.h
8742 libnm-util/nm-setting.c
8743 - (nm_setting_clear_secrets, default_setting_clear_secrets): clear
8744 secrets out of an NMSetting
8745 - (nm_setting_connection_new, nm_setting_ip4_config_new,
8746 nm_setting_wired_new, nm_setting_wireless_new,
8747 nm_setting_wireless_security_new, nm_setting_ppp_new,
8748 nm_setting_vpn_new, nm_setting_vpn_properties_new): set clear_secrets
8749 to default handler default_setting_clear_secrets()
8751 2007-09-25 Dan Williams <dcbw@redhat.com>
8753 * src/nm-activation-request.c
8754 src/nm-activation-request.h
8755 - (nm_act_request_is_deferred): new function
8757 2007-09-24 Dan Williams <dcbw@redhat.com>
8759 * src/nm-device-802-11-wireless.c
8760 - (activation_success_handler): update signal strength immediately
8763 2007-09-24 Dan Williams <dcbw@redhat.com>
8765 * libnm-util/nm-setting.c
8766 - (verify_wep_key): 40-bit WEP keys are 10 bytes long, not 13
8768 2007-09-24 Dan Williams <dcbw@redhat.com>
8770 * src/NetworkManagerPolicy.c
8771 - (nm_policy_auto_get_best_device): don't interrupt activation of a
8772 device by deactivating it because it doesn't have a "best connection".
8773 Since autoconnect=False connections aren't automatically chosen,
8774 NM would interrupt activation of such a connection because it
8775 would never be "best" due to autoconnect=False.
8777 2007-09-24 Dan Williams <dcbw@redhat.com>
8780 - (nm_manager_get_connection_secrets): Add a long timeout so the user
8781 actually has some time to enter a key before the GetSecrets call
8784 2007-09-24 Dan Williams <dcbw@redhat.com>
8786 * introspection/nm-manager.xml
8788 - (impl_manager_legacy_state): fix 'state' method call return value
8790 2007-09-24 Matthias Clasen <mclasen@redhat.com>
8792 * test/Makefile.am: Install nm-tool
8794 2007-09-24 Dan Williams <dcbw@redhat.com>
8796 Patch from Ross Burton <ross@burtonini.com>
8799 callouts/nm-dhcp-client-action.c
8801 src/vpn-manager/nm-vpn-connection.c
8802 libnm-glib/libnm-glib-test.c
8805 2007-09-24 Dan Williams <dcbw@redhat.com>
8807 * libnm-util/nm-utils.h
8808 libnm-util/nm-utils.c
8809 - (nm_dbus_send_with_callback_replied, nm_dbus_send_with_callback):
8812 2007-09-23 Dan Williams <dcbw@redhat.com>
8814 * vpn-daemons/vpnc/properties/nm-vpnc.c
8815 - Update for new VPN properties API bits; instead of passing around
8816 a lot of random things, everything goes into the NMConnection
8819 2007-09-23 Dan Williams <dcbw@redhat.com>
8821 * libnm-util/nm-setting.c
8822 - Correctly dispose of settings objects if creating them from a hash
8825 2007-09-23 Dan Williams <dcbw@redhat.com>
8827 * libnm-util/nm-setting.c
8828 - (property_value_destroy, nm_setting_vpn_properties_new): initialize
8829 the hash table in a standard manner. Clients of libnm-util should
8830 only call g_hash_table_remove_all(), never destroy the hash table
8833 2007-09-22 Dan Williams <dcbw@redhat.com>
8835 * src/nm-device-802-11-wireless.c
8836 - (real_bring_up): update signal strength every 6 seconds, not 2. No
8837 real reason to do it so often, and reduces wakeups for clients.
8839 2007-09-21 Dan Williams <dcbw@redhat.com>
8841 * src/nm-device-802-11-wireless.c
8842 - (build_supplicant_config): wpa_supplicant requires the option
8843 key_mgmt=NONE for unencrypted networks
8844 - (real_act_stage2_config): clarify log message on activation
8846 2007-09-21 Dan Williams <dcbw@redhat.com>
8848 * test/nm-supplicant-test.c
8850 - Remove supplicant test binary; no longer applicable
8852 2007-09-21 Dan Williams <dcbw@redhat.com>
8854 * src/supplicant-manager/nm-supplicant-manager.c
8855 - (nm_supplicant_manager_init): poke the supplicant at startup to
8856 activate it on the system bus
8858 2007-09-20 Dan Williams <dcbw@redhat.com>
8860 * initscript/RedHat/NetworkManager.in
8861 - dhcdbd is no longer used, so don't try to start it from the initscripts
8863 2007-09-20 Dan Williams <dcbw@redhat.com>
8866 - (nm_device_is_activating): work around a race between auto-activation
8867 and the user activating the same device that is being auto-activated
8869 2007-09-20 Dan Williams <dcbw@redhat.com>
8871 * src/nm-device-interface.c
8872 - (impl_device_activate): until multiple active device support lands,
8873 ensure only one device can be active at a time
8875 2007-09-20 Dan Williams <dcbw@redhat.com>
8877 * src/supplicant-manager/nm-supplicant-config.c
8878 src/supplicant-manager/nm-supplicant-config.h
8879 - (nm_supplicant_config_add_option): hide secrets from system logs
8881 2007-09-20 Dan Williams <dcbw@redhat.com>
8883 * src/NetworkManagerPolicy.c
8884 - (nm_policy_device_change_check): re-enable the wireless device change
8885 checking code; insted of checking for SSIDs, check for the same
8888 2007-09-20 Dan Williams <dcbw@redhat.com>
8890 * src/nm-device-802-11-wireless.c
8891 - (supplicant_iface_connection_state_cb_handler): don't use the card's
8892 composite link state when determining when to start the disconnection
8893 timer; that link state is already based on the supplicant interface's
8894 status which is exactly what's already being examined, plus the link
8895 state is a conglomeration of various things that we don't want here
8897 2007-09-20 Dan Williams <dcbw@redhat.com>
8899 * libnm-glib/nm-access-point.c
8900 - (handle_property_changed): strength is a UCHAR
8902 2007-09-20 Dan Williams <dcbw@redhat.com>
8904 * src/supplicant-manager/nm-supplicant-config.c
8905 - (nm_supplicant_config_add_setting_wireless_security): uppercase
8906 string list keywords too since that's what wpa_supplicant wants
8908 2007-09-20 Dan Williams <dcbw@redhat.com>
8910 * libnm-util/nm-setting.c
8911 - (convert_strv_to_slist): dupe the values in the list because since
8912 the list is a boxed value, it'll get destroyed when it's container
8913 (like a hash table or whatever) gets destroyed
8915 2007-09-20 Tambet Ingo <tambet@gmail.com>
8917 * libnm-util/nm-setting.h: Change the type of NMSettingVPN->routes to
8920 * libnm-util/nm-setting.c (setting_vpn_destroy): Free routes too.
8922 * src/nm-manager.c (connection_get_settings_cb): No need to use weakref,
8923 just use (g_object_set_data_full).
8925 * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Now
8926 that NMSettingVPN->routes is a GSList, convert it to char **.
8927 (nm_vpn_connection_ip4_config_get): Free routes when done.
8928 (nm_vpn_connection_activate): Ditto.
8930 * src/nm-device-802-11-wireless.c (real_connection_secrets_updated)
8931 (real_act_stage2_config): Use defined setting names.
8933 2007-09-20 Dan Williams <dcbw@redhat.com>
8935 * src/nm-device-802-11-wireless.c
8938 - Pass an NMDeviceInterface into nm_manager_get_connection_secrets()
8939 so that the device can be deactivated if secrets are wrong
8941 2007-09-20 Dan Williams <dcbw@redhat.com>
8943 * introspection/nm-settings-connection.xml
8944 libnm-glib/nm-settings.c
8945 libnm-glib/nm-settings.h
8946 - Make GetSecrets asynchronous on the server side
8948 2007-09-20 Dan Williams <dcbw@redhat.com>
8952 - (nm_device_activate): actually check if a given connection
8953 exists before assuming it doesn't
8955 2007-09-20 Tambet Ingo <tambet@gmail.com>
8957 * libnm-util/nm-connection.c (register_default_creators): Use defined
8958 setting names. Register NMSettingVPN and NMSettingVPNProperties.
8960 * libnm-util/nm-setting.c: Define property name strings, use them.
8961 Implement NMSettingVPN and NMSettingVPNProperties settings.
8962 Implement NM_S_TYPE_GVALUE_HASH.
8963 (nm_setting_populate_from_hash): Handle NM_S_TYPE_GVALUE_HASH.
8964 (setting_connection_verify): Rename 'devtype' property to 'type'.
8966 * introspection/nm-vpn-manager.xml: Use NMConnection for VPN service
8969 * src/vpn-manager/nm-vpn-service.c: Ditto.
8971 * src/vpn-manager/nm-vpn-connection.c: Ditto.
8973 * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_connect): Ditto.
8974 (nm_vpn_manager_new): Remove NMManager argument, it's easy enough to get.
8976 * src/nm-device-802-11-wireless.c (find_best_connection): Use defined setting
8977 names. NMSettingConnection->devtype got renamed to 'type'.
8979 * src/nm-device-802-3-ethernet.c (find_best_connection):
8980 (real_get_best_connection): Ditto.
8982 * src/NetworkManager.c (main): Update the vpn manager creation arguments.
8984 * libnm-glib/nm-vpn-manager.[ch]: Update.
8986 2007-09-19 Dan Williams <dcbw@redhat.com>
8988 * src/NetworkManagerAP.c
8989 src/NetworkManagerAP.h
8990 introspection/nm-access-point.xml
8991 - Change strength-changed signal into a properties-changed signal
8992 for all properties, not just strength. Export that signal over dbus
8993 so listeners don't have to poll NM for changes.
8994 - (nm_ap_export_to_dbus, nm_ap_new): not every NMAccessPoint should
8995 get exported over D-Bus, so break up the logic and let other bits
8996 decided when to export the AP
8997 - (nm_ap_new_from_ap): remove, unused
8999 * src/nm-device-802-11-wireless.c
9000 - (merge_scanned_ap): only export APs that are actually on the device
9001 list, not every AP created internally
9003 * libnm-glib/nm-access-point.c
9004 libnm-glib/nm-access-point.h
9005 - Cache properties internally and only hit DBus when needed. Get
9006 property updates from NM signals
9008 2007-09-16 Dan Williams <dcbw@redhat.com>
9010 * libnm-util/nm-connection.c
9011 libnm-util/nm-connection.h
9012 - (nm_connection_for_each_setting_value): new function; iterate over
9013 each setting's value and call a user-provided function with details
9016 * libnm-util/nm-setting.c
9017 libnm-util/nm-setting.h
9018 - (nm_setting_enumerate_values): new function; enumerate the values
9019 of a specific NMSetting subclass for a user-provided function with
9020 details about that value
9021 - Change wep_tx_keyidx to a uint32
9022 - Create settings value tables for each setting defining their type,
9023 key name, offset into the NMSetting subclass' structure, and whether
9024 they are required and/or a secret
9025 - (nm_setting_populate_from_hash): generic function to populate an
9026 NMSetting from a GHash table, make all settings use it
9027 - (nm_setting_hash): generic function to derive a GHashTable from
9028 an NMSetting object, make all settings use it
9030 2007-09-14 Dan Williams <dcbw@redhat.com>
9032 Remove unused stuff in libnm-util
9035 libnm-util/Makefile.am
9036 libnm-util/cipher-private.h
9037 libnm-util/cipher-wep-ascii.c
9038 libnm-util/cipher-wep-ascii.h
9039 libnm-util/cipher-wep-hex.c
9040 libnm-util/cipher-wep-hex.h
9041 libnm-util/cipher-wep-passphrase.c
9042 libnm-util/cipher-wep-passphrase.h
9043 libnm-util/cipher-wpa-psk-hex.c
9044 libnm-util/cipher-wpa-psk-hex.h
9045 libnm-util/cipher-wpa-psk-passphrase.c
9046 libnm-util/cipher-wpa-psk-passphrase.h
9049 libnm-util/dbus-helpers.c
9050 libnm-util/dbus-helpers.h
9051 libnm-util/gnome-keyring-md5.c
9052 libnm-util/gnome-keyring-md5.h
9055 src/nm-device-802-11-wireless.c
9056 test/libnm-util/Makefile.am
9057 test/libnm-util/test-ciphers.c
9058 test/libnm-util/test-dbus-helpers.c
9059 test/libnm-util/test-inputs.h
9062 2007-09-14 Dan Williams <dcbw@redhat.com>
9064 * libnm-util/dbus-method-dispatcher.c
9065 libnm-util/dbus-method-dispatcher.h
9068 2007-09-14 Dan Williams <dcbw@redhat.com>
9070 Implement deferred activation support in the device class.
9072 * src/nm-device-interface.c
9073 src/nm-device-interface.h
9074 - (nm_device_interface_activate): take more arguments to support
9075 deferred activation; callers must pass one of (connection) OR
9076 (service_name, connection_path)
9077 - (impl_device_activate): connection validation is punted to the device
9078 to be able to handle deferred activation. Yes, this means errors
9079 don't get returned from the Activate() dbus call, and yes, that
9080 should be fixed somehow later.
9084 - (clear_act_request): clear additional deferred activation stuff too
9085 - (deferred_activation_timeout_cb): new function; clean up when
9086 deferred activation times out.
9087 - (deferred_activation_start_cb): new function; when the connection
9088 finally becomes available, start device activation
9089 - (nm_device_activate): attach to the right signals of the activation
9090 request if we need to defer activation until the connection is valid
9092 * src/NetworkManagerPolicy.c
9093 - (nm_policy_device_change_check): update for additional arguments
9094 required for nm_device_interface_activate(). Pass NULL for these
9095 though because this function already knows exactly which
9098 2007-09-14 Dan Williams <dcbw@redhat.com>
9100 Implement deferred activation handling in the NMActRequest class. When a
9101 client wants to activate a device but must create the NMConnection details
9102 on the fly, there likely hasn't been enough time yet for NM to receive the
9103 new connection signal and grab all the connection details. So the
9104 activation is deferred (and bounded by a timer) for a while, and if the
9105 connection appears within the window, it is activated.
9107 * src/nm-activation-request.c
9108 src/nm-activation-request.h
9109 - (nm_act_request_class_init): two new signals to support deferred
9110 activation, to allow the listener to handle both timeout and success
9111 - (nm_act_request_new_deferred): new function, starts the deferred
9112 activation timeout handler and listens to the NMManager for
9113 new-connection signals to notice when the connection comes in
9115 2007-09-14 Dan Williams <dcbw@redhat.com>
9119 - (nm_manager_get_connection_service_name,
9120 nm_manager_get_connection_dbus_path): get details about a connection
9121 known internally by the NMManager
9122 - (nm_manager_class_init): fix connection add/remove signal marshalers
9123 because NMConnection is now a GObject subclass
9124 - Use constant for the gobject data tag used on NMConnection objects for
9125 storing the associated DBusGProxy
9127 2007-09-14 Dan Williams <dcbw@redhat.com>
9132 src/supplicant-manager/Makefile.am
9133 src/dhcp-manager/Makefile.am
9134 src/backends/Makefile.am
9135 src/named-manager/Makefile.am
9136 src/ppp-manager/Makefile.am
9137 src/vpn-manager/Makefile.am
9138 test/libnm-util/Makefile.am
9139 test/test-common/Makefile.am
9140 - Remove utils/; it was unused
9142 2007-09-13 Dan Williams <dcbw@redhat.com>
9144 * libnm-glib/nm-vpn-manager.h
9145 libnm-glib/nm-vpn-manager.c
9146 - (nm_vpn_manager_connect): take routes as a GSList, not a char **
9148 2007-09-13 Dan Williams <dcbw@redhat.com>
9150 * src/nm-device-802-3-ethernet.c
9151 - (real_bring_down, nm_device_802_3_ethernet_dispose): disconnect from
9152 netlink monitor carrier signals on dispose, not bring down. The
9153 carrier signals should be handled over the entire lifetime of the
9154 device anyway, not created/destroyed on up or down.
9156 2007-09-13 Dan Williams <dcbw@redhat.com>
9158 * libnm-glib/nm-device.c
9159 libnm-glib/nm-device.h
9160 - (nm_device_activate): take a connection object path rather than an
9161 NMConnection because NMConnection isn't exported over D-Bus and
9162 therefore it dbus-glib can't automatically get an object path from it
9164 2007-09-13 Dan Williams <dcbw@redhat.com>
9166 * libnm-util/nm-setting.c
9167 - (nm_setting_wired_new): set autonegotiate to TRUE by default
9169 2007-09-13 Tambet Ingo <tambet@gmail.com>
9171 * autogen.sh: NetworkManagerMain.h is gone, check for NetworkManager.c.
9173 2007-09-12 Tambet Ingo <tambet@gmail.com>
9175 * src/vpn-manager/nm-vpn-connection.[ch]:
9176 * src/vpn-manager/nm-vpn-manager.[ch]:
9177 * src/vpn-manager/nm-vpn-service.[ch]: Rewrite the vpn handling code. Using
9178 dbus-glib, GObjects, signals etc.
9180 * libnm-glib/nm-vpn-manager.[ch]:
9181 * libnm-glib/nm-vpn-connection.[ch]: Now that the NM implementation changed
9182 so much, rewrite these too.
9184 * libnm-glib/Makefile.am: Add new files to build, build new binding files for
9185 the new introspection files.
9187 * libnm-glib/nm-client.[ch]: Remove all VPN related stuff from here.
9189 * libnm-glib/nm-dbus-utils.[ch]: Renamed from nm-utils.[ch] that was shadowing
9190 the header with the same name from libnm-utils.
9192 * libnm-glib/nm-vpn-plugin.[ch]: Implement.
9194 * libnm-util/Makefile.am: Add nm-utils.[ch] to build.
9196 * introspection/nm-vpn-plugin.xml: Implement.
9198 * introspection/nm-vpn-connection.xml: Implement.
9200 * introspection/nm-vpn-manager.xml: Implement.
9202 * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Remove
9203 the named manager argument, it can just as easily get it as the caller.
9204 (nm_system_vpn_device_unset_from_ip4_config): Ditto.
9206 * src/vpn-manager/nm-dbus-vpn.[ch]: Remove.
9208 * src/nm-dbus-manager.h: Fix up the name_owner signal signature.
9210 * src/dhcp-manager/nm-dhcp-manager.c (garray_to_string): Remove, use one from
9213 * libnm-util/nm-connection.c: Ditto.
9215 * src/NetworkManagerMain.h: Remove, it's finally empty.
9217 * configure.in: Remove utils/ from build.
9219 * include/NetworkManagerVPN.h: Add some more defines to reduce the amount
9220 of hard-coded strings.
9222 * utils/: Move it over to libnm-util.
9224 * test/Makefile.am: Link against libnm-util now that util/ is gone.
9226 * dispatcher-daemon/Makefile.am: Ditto.
9228 * src/Makefile.am: Ditto.
9230 2007-09-12 Dan Williams <dcbw@redhat.com>
9232 Wireless connections can be made with config data from the applet now.
9236 * src/supplicant-manager/nm-supplicant-config.h
9237 src/supplicant-manager/nm-supplicant-config.c
9238 - (nm_supplicant_config_new): kill unused init parameter 'iface'
9239 - (nm_supplicant_config_add_setting_wireless,
9240 nm_supplicant_config_add_setting_wireless_security): new functions;
9241 add key/value pairs from the settings objects to the supplicant
9244 * src/nm-device-802-11-wireless.c
9245 - (cull_scan_list): fix check to not prune currently associated AP
9246 - (build_supplicant_config, real_act_stage2_config): call the functions
9247 of the NMSupplicantConfig that parse settings objects rather than
9248 doing it manually here
9250 2007-09-12 Dan Williams <dcbw@redhat.com>
9252 * src/supplicant-manager/nm-supplicant-interface.c
9253 src/supplicant-manager/nm-supplicant-marshal.list
9254 - (nm_supplicant_interface_class_init): fix stupid mistake, the
9255 "connection-error" signal arguments should be STRING not CHAR
9257 2007-09-12 Dan Williams <dcbw@redhat.com>
9259 * src/NetworkManagerUtils.c
9260 src/NetworkManagerUtils.h
9261 - (nm_utils_hexstr2bin): new function
9263 2007-09-11 Dan Williams <dcbw@redhat.com>
9266 - (connection_get_settings_cb): emit connection-added signal
9267 - (connection_removed_cb): uncomment bits for system settings service,
9268 send connection-removed when appropriate
9269 - (nm_manager_get_connection_secrets, get_secrets_cb): don't clobber
9270 the stack by trying to g_object_set_data() on something that's
9271 not a GObject; handle case where settings service returns
9272 empty settings hash table
9274 2007-09-11 Dan Williams <dcbw@redhat.com>
9276 * src/NetworkManagerPolicy.c
9277 - (connection_added, connection_removed): trigger device change checks
9278 on connection changes
9280 2007-09-11 Dan Williams <dcbw@redhat.com>
9282 * src/nm-activation-request.c
9283 - (connection_secrets_updated_cb): fix c&p error in signal emission
9285 2007-09-11 Dan Williams <dcbw@redhat.com>
9287 * src/nm-device-802-11-wireless.c
9288 - (real_connection_secrets_updated): fix erroneous check
9290 2007-09-11 Dan Williams <dcbw@redhat.com>
9292 * introspection/nm-device.xml
9293 libnm-glib/nm-device.c
9294 libnm-glib/nm-device.c
9295 - Fix Activate call argument borkage; Activate takes 3 arguments
9297 2007-09-11 Dan Williams <dcbw@redhat.com>
9299 * libnm-glib/nm-access-point.c
9300 libnm-glib/nm-access-point.c
9301 - (nm_access_point_get_frequency): now returns guint32 to match
9302 property change on 2007-09-10
9304 2007-09-11 Dan Williams <dcbw@redhat.com>
9306 * src/nm-device-802-11-wireless.c
9307 - (nm_device_802_11_wireless_new): s/index/idx, stupid system header
9308 somewhere defines 'index' and I missed this one when I fixed the
9309 shadow declaration errors earlier
9311 2007-09-11 Dan Williams <dcbw@redhat.com>
9313 * libnm-util/nm-connection.c
9314 - (nm_connection_update_secrets, need_secrets_check): move
9315 802-11-wireless-security need_secrets checks to the setting object
9316 itself, where it belongs
9318 * libnm-util/nm-setting.c
9319 libnm-util/nm-setting.h
9320 - (nm_setting_need_secrets): new function
9321 - (setting_wireless_security_verify,
9322 nm_setting_wireless_security_new_from_hash): make 'key-mgmt' required
9323 - (setting_wireless_security_need_secrets): mostly copy code over
9324 from nm-connection.c
9326 2007-09-11 Dan Williams <dcbw@redhat.com>
9328 * libnm-util/nm-setting.c
9329 libnm-util/nm-setting.h
9330 - (nm_setting_update_secrets): new function; add a virtual function that
9331 subclasses can implement to update their secrets
9332 - (setting_wireless_security_update_secrets): implement that function
9333 for the 802-11-wireless-security subclass
9335 * libnm-util/nm-connection.c
9336 libnm-util/nm-connection.h
9337 - (nm_connection_update_secrets): update secrets for a Setting and
9338 emit a signal on success
9343 - (connection_get_settings_cb): enable system settings bits
9344 - (nm_manager_get_connection_secrets, get_secrets_cb): add function
9345 to request secrets from the settings dbus service and to
9346 push those secrets to the NMConnection itself
9348 * src/nm-activation-request.c
9349 src/nm-activation-request.h
9350 - Attach to the 'secrets-updated' signal of the NMConnection that's
9351 currently being activated, and proxy that signal to other listeners.
9352 Goes through the activation request because the activation request
9353 is the thing that manages the lifetime of the NMConnection that's
9356 * src/nm-device-802-11-wireless.c
9357 - (real_connection_secrets_updated): implement the connection secrets
9358 updated notification and restart activation when secrets are
9360 - (real_act_stage2_config): request secrets from the settings dbus
9361 service if secrets are needed
9365 - (clear_act_request, nm_device_activation_cancel,
9366 nm_device_deactivate_quickly, nm_device_dispose): consolidate places
9367 where the activation request is cleared
9368 - (nm_device_activate, connection_secrets_updated_cb): attach to the
9369 updated secrets signal of activation request and add a function
9370 that subclasses can override to handle it easily
9372 2007-09-11 Tambet Ingo <tambet@gmail.com>
9374 * src/backends/NetworkManagerSuSE.c: Fix a build issue caused by the
9375 removal of NetworkManagerAPList.
9377 2007-09-10 Dan Williams <dcbw@redhat.com>
9379 * src/NetworkManagerAP.c
9380 src/NetworkManagerAP.h
9381 introspection/nm-access-point.xml
9382 - Change 'freq' property to a guint32 instead of a double since we
9383 weren't using the floating point bits anyway
9385 2007-09-10 Dan Williams <dcbw@redhat.com>
9387 * NetworkManagerAP.c
9389 NetworkManagerPolicy.c
9390 NetworkManagerSystem.c
9391 NetworkManagerUtils.c
9392 NetworkManagerUtils.h
9393 nm-device-802-11-wireless.c
9394 nm-device-802-3-ethernet.c
9397 vpn-manager/nm-dbus-vpn.c
9398 - Warning fixes; casts and removal of unused variables
9400 2007-09-10 Dan Williams <dcbw@redhat.com>
9402 * include/NetworkManager.h
9403 - Kill NMNetworkType; AP types don't matter any more
9405 * src/NetworkManagerAPList.c
9406 src/NetworkManagerAPList.h
9408 - Kill; NMAccessPointList has outlived it's usefulness
9410 * src/NetworkManagerAP.c
9411 src/NetworkManagerAP.h
9412 - (match_cipher, security_compatible, nm_ap_check_compatible): new
9413 functions; check if an NMConnection object is compatible with the
9415 - (freq_to_channel, channel_to_freq): utility functions for
9416 channel <-> frequency conversion
9420 - (nm_device_get_best_connection): pass the specific object around
9421 (which might be the object path of a specific AP to connect to).
9422 The get_best_connection() call should populate this on return
9423 if needed (wireless does).
9425 * src/nm-device-802-3-ethernet.c
9426 - (real_get_best_connection): handle specific_object argument
9428 * src/NetworkManager.c
9429 src/NetworkManagerMain.h
9430 - Remove unused includes
9432 * src/nm-device-802-11-wireless.c
9433 src/nm-device-802-11-wireless.h
9434 - Convert the ap_list into a GSList from an NMAccessPointList
9435 - No need for caching the 'activation_ap' since this is now determined
9436 from the specific_object of the activation request, which is
9437 populated from the get_best_connection() call or from a user request
9438 - (nm_device_802_11_wireless_update_bssid): fix warning
9439 - (get_wireless_capabilities): fix error message format arguments
9440 - (nm_device_802_11_wireless_copy_allowed_to_dev_list): remove, unused
9441 - (find_best_connection, real_get_best_connection): implement
9442 - (ap_list_get_ap_by_ssid, nm_device_802_11_wireless_ap_list_print):
9443 move here from NetworkManagerAPList
9444 - (ap_need_secrets): remove; moved to nm-connection.c where it belongs
9445 - (real_act_stage1_prepare): just ensure an AP exists, connection is
9446 already verified earlier
9447 - (real_act_stage2_config): use nm_connection_need_secrets()
9449 * src/NetworkManagerPolicy.c
9450 - (nm_policy_auto_get_best_device): handle specific objects
9451 - (create_connection): remove; automatic connection creation functionality
9452 is handled by the Connection objects
9453 - (nm_policy_device_change_check): handle specific_object
9455 * libnm-util/nm-connection.c
9456 - (wireless_sec_need_secrets, nm_connection_need_secrets): implement
9458 2007-09-10 Dan Williams <dcbw@redhat.com>
9461 - (query_connections): fix uninitialized variable problem that caused
9463 - (nm_manager_add_device): take devices down on startup so that we can
9464 be assured that nm_device_is_up() won't short-circuit the init
9465 process. Hack until the is_up check gets split into two pieces
9466 that aren't behaviorally confusing.
9468 2007-09-09 Dan Williams <dcbw@redhat.com>
9470 * introspection/nm-device.xml
9471 - The 'Activate' method now takes 3 arguments, a service name for the
9472 settings service (user or system), the object path of the connection
9473 to activate, and the specific object to activate, if any
9475 * src/nm-device-interface.c
9476 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
9478 - (impl_device_activate): adapt to new Activate arguments; validate
9479 the service name and get the Connection object from the NMManager
9480 before starting to activate the device with the specified connection
9482 * src/nm-device-802-3-ethernet.c
9483 - (real_get_best_connection): find the best connection, or create a
9484 default one if no existing connections can be used
9486 * src/NetworkManagerPolicy.c
9487 - (nm_policy_auto_get_best_device): Get the device's best connection
9488 and only pick the device if it has one
9489 - (nm_policy_device_change_check): disable wireless bits for now until
9490 wireless get_best_connection() can be implemented (replacing "best_ap");
9491 don't create a default connection here as the device subclass will do
9496 - (nm_manager_get): make NMManager a singleton and expose the getter
9498 - Rework internal NMManager connection handling to use the same
9499 routines for both the system and user settings services. Most calls
9500 take a new NMConnectionType argument specifying either system or user
9502 - (nm_manager_get_connection_by_object_path): new function; get a
9503 connection keyed on its object path
9505 * src/NetworkManager.c
9506 - (main): use nm_manager_get()
9508 2007-09-09 Dan Williams <dcbw@redhat.com>
9512 - (nm_device_get_best_connection): new function; get best connection
9513 for the device at that time
9515 2007-09-09 Dan Williams <dcbw@redhat.com>
9517 * src/nm-device-interface.h
9518 - Add NMDeviceInterfaceError with an UnknownConnection error
9520 2007-09-09 Dan Williams <dcbw@redhat.com>
9522 Stupid mistake on my part; object path and interface for settings service
9523 and connection objects can be the same, only the service name must be
9524 different for the system and user settings services.
9526 * include/NetworkManager.h
9528 introspection/nm-settings-connection.xml
9529 introspection/nm-settings.xml
9530 libnm-glib/nm-settings.c
9531 - (nm_connection_settings_init, query_user_connections,
9532 new_connection_cb): Unify NetworkManagerSettings and Connection
9533 interface name and object path
9535 2007-09-06 Dan Williams <dcbw@redhat.com>
9537 * libnm-glib/nm-object.c
9538 - (nm_object_get_string_property, nm_object_get_object_path_property,
9539 nm_object_get_int_property, nm_object_get_uint_property,
9540 nm_object_get_boolean_property, nm_object_get_byte_property,
9541 nm_object_get_double_property, nm_object_get_byte_array_property):
9542 clear GValues after copying their contents, fixes memory leaks
9543 after every property access because dbus-glib copies the values
9544 from the DBusMessage into the GValue already.
9546 2007-09-06 Dan Williams <dcbw@redhat.com>
9548 * introspection/nm-access-point.xml
9549 - Fix WpaFlags and RsnFlags property names to be what dbus-glib expects
9550 them to be. There's some magic property name parsing going on in
9551 dbus-glib that breaks up property names based on studly-caps and
9552 puts - between words.
9554 * libnm-glib/nm-access-point.c
9555 - (nm_access_point_get_wpa_flags, nm_access_point_get_rsn_flags):
9558 2007-09-06 Dan Williams <dcbw@redhat.com>
9561 - (nm_manager_user_connections_destroy): clear the user connections hash
9562 table, don't destroy it
9563 - (finalize): only destroy the hash table on NMManager finalization
9565 2007-09-02 Dan Williams <dcbw@redhat.com>
9567 * include/NetworkManager.h
9568 libnm-glib/nm-settings.c
9569 - defines for the user settings daemon D-Bus bits
9571 * src/NetworkManager.c
9572 - Remove stuff that referred to the old NetworkManagerInfo service
9574 * src/vpn-manager/nm-dbus-vpn.h
9575 - Move old NMI defines to the only place they are used still
9577 * libnm-util/nm-connection.c
9578 libnm-util/nm-connection.h
9579 src/nm-activation-request.c
9580 - Make NMConnection a GObject subclass so we can do spiffy stuff with it
9584 - Get connections and their settings from the user settings daemon
9585 at the appropriate times
9587 2007-09-02 Dan Williams <dcbw@redhat.com>
9589 * libnm-util/nm-setting.c
9590 - (nm_settings_verify): correct setting name is 'connection', not 'info'
9591 - (setting_wireless_hash): set the right value on the item
9593 2007-09-02 Dan Williams <dcbw@redhat.com>
9597 - Remove, no longer useful
9599 2007-08-30 Dan Williams <dcbw@redhat.com>
9602 src/NetworkManagerDbus.c
9603 src/NetworkManagerDbus.h
9604 src/vpn-manager/nm-dbus-vpn.c
9605 - Remove, no longer necessary. Move last bits to the only place its
9606 used, in nm-dbus-vpn.c
9608 * src/NetworkManagerAPList.c
9610 src/NetworkManager.c
9611 src/nm-device-802-11-wireless.c
9612 src/vpn-manager/nm-vpn-manager.c
9613 src/vpn-manager/nm-vpn-service.c
9614 src/NetworkManagerPolicy.c
9616 - Remove usage of NetworkManagerDbus.h, and kill the obfuscation
9617 that was message_is_error()
9619 2007-08-30 Dan Williams <dcbw@redhat.com>
9622 - Include config.h to get defines for endiannes (gnome.org #420216)
9624 2007-08-30 Dan Williams <dcbw@redhat.com>
9626 Patch from Philip Withnall <bugzilla@tecnocode.co.uk>
9628 * src/ppp-manager/Makefile.am
9629 - use -fPIC (gnome.org #471825)
9631 2007-08-29 Dan Williams <dcbw@redhat.com>
9633 * include/NetworkManager.h
9634 - Keep NMConnection object path in sync
9636 * libnm-glib/nm-settings.c
9637 libnm-glib/nm-settings.h
9638 - Break D-Bus object registration out of the init function, because
9639 every object that's exported over D-Bus needs to use the _same_
9640 DBusConnection. Otherwise, each object would get a different object
9641 path tree and wouldn't be callable.
9643 2007-08-29 Dan Williams <dcbw@redhat.com>
9645 * libnm-util/nm-setting.h
9646 libnm-util/nm-setting.c
9647 libnm-util/nm-connection.c
9648 src/NetworkManagerPolicy.c
9649 - 'info' settings object should be 'connection' says the spec
9650 at NetworkManagerConfigurationSpecification
9652 2007-08-29 Dan Williams <dcbw@redhat.com>
9654 * libnm-glib/nm-settings.c
9655 libnm-glib/nm-settings.h
9656 - make the dbus path a property of the object, and autogenerate it.
9657 It can't be composed of the 'id' field becuase that's not available
9658 yet during the GObject creation in nm_connection_settings_init()
9660 2007-08-29 Dan Williams <dcbw@redhat.com>
9662 * introspection/nm-settings-connection.xml
9663 introspection/nm-settings.xml
9664 - Service name -> NetworkManagerUserSettings because two services
9665 can't share part of the same path. I'm not really sure how we'll use
9666 the same code with the system-settings daemon...
9668 2007-08-28 Dan Williams <dcbw@redhat.com>
9670 * src/nm-device-interface.c
9671 src/nm-device-interface.h
9672 - Kill one more bit of NMData
9674 2007-08-28 Dan Williams <dcbw@redhat.com>
9676 * src/NetworkManagerSystem.h
9679 src/nm-hal-manager.c
9680 src/NetworkManager.c
9681 src/nm-device-802-11-wireless.c
9682 src/nm-hal-manager.h
9683 src/nm-device-802-3-ethernet.c
9684 src/vpn-manager/nm-vpn-service.h
9685 src/vpn-manager/nm-vpn-manager.c
9686 src/vpn-manager/nm-vpn-manager.h
9687 src/vpn-manager/nm-vpn-service.c
9688 src/nm-device-802-11-wireless.h
9689 src/NetworkManagerMain.h
9690 src/nm-device-802-3-ethernet.h
9691 src/backends/NetworkManagerGentoo.c
9692 src/backends/NetworkManagerPaldo.c
9693 src/backends/NetworkManagerFrugalware.c
9694 src/backends/NetworkManagerRedHat.c
9695 src/backends/NetworkManagerSlackware.c
9696 src/backends/NetworkManagerGeneric.c
9697 src/backends/NetworkManagerArch.c
9698 src/backends/NetworkManagerSuSE.c
9699 src/backends/NetworkManagerGeneric.h
9700 src/backends/NetworkManagerDebian.c
9703 2007-08-28 Dan Williams <dcbw@redhat.com>
9705 * src/NetworkManagerMain.h
9706 src/nm-device-802-11-wireless.c
9707 src/NetworkManager.c
9708 - Remove invalid AP list from NMData; need to rework this somewhat, but
9709 for now we should set the 'invalid' property on individual APs, and when
9710 we need to invalidate a whole ESS, set the 'invalid' on every member of
9713 2007-08-28 Dan Williams <dcbw@redhat.com>
9715 * src/NetworkManagerAP.c
9716 src/NetworkManagerAP.h
9717 - Remove 'fallback' tag, to be replaced by NMConnection/NMSettings
9718 'autoconnect' property instead
9720 * src/NetworkManager.c
9721 src/NetworkManagerMain.h
9722 src/NetworkManagerPolicy.c
9723 src/NetworkManagerPolicy.h
9724 - Remove the 'allowed_ap_list', which should be replaced by
9725 NMConnection/NMSettings instead, since _those_ are the allowed
9726 things that NM can connect to
9728 * src/nm-device-802-11-wireless.c
9729 - Remove both allowed_ap_list usage and 'fallback' checking
9731 2007-08-28 Dan Williams <dcbw@redhat.com>
9734 src/named-manager/nm-named-manager.c
9735 src/named-manager/nm-named-manager.h
9736 src/NetworkManager.c
9737 src/vpn-manager/nm-vpn-manager.c
9738 src/NetworkManagerMain.h
9739 src/NetworkManagerSystem.c
9740 - Remove the named-manager object from NMData structure in preparation
9741 for NMData's timely death. Make the NMNamedManager the singleton that
9744 2007-08-28 Dan Williams <dcbw@redhat.com>
9746 Remove NMAPSecurity objects, they are replaced with flags on the APs for
9747 each AP's capabilities, and by NMConnection/NMSettings objects for user
9748 defined connections.
9750 * include/NetworkManager.h
9751 - Redefine 802.11 security properties. There are now device capabilities
9752 and AP flags and AP security flags. It was way to unclear before.
9755 src/nm-ap-security-leap.h
9756 src/nm-ap-security-leap.c
9757 src/nm-ap-security-wpa-eap.c
9758 src/nm-ap-security-wpa-eap.h
9759 src/nm-ap-security-private.h
9760 src/nm-ap-security-wpa-psk.c
9761 src/nm-ap-security-wpa-psk.h
9762 src/nm-ap-security-wep.c
9763 src/nm-ap-security-wep.h
9764 src/nm-ap-security.c
9765 src/nm-ap-security.h
9766 - Removed, to be replaced with NMConnection/NMSettings objects
9770 - Removed, to be replaced by code that talks to the new info daemon
9771 interface and gets NMConnection/NMSettings objects
9773 * src/backends/NetworkManagerSuSE.c
9774 - Remove usage of NMAPSecurity; should be replaced by a system-level
9775 info-daemon that does the same thing but talks the new info-daemon
9778 * src/NetworkManagerAP.h
9779 src/NetworkManagerAP.c
9780 src/NetworkManagerAPList.c
9781 libnm-glib/libnm-glib-test.c
9782 - Remove usage of NMAPSecurity objects and adjust to new flags for
9785 * libnm-glib/nm-access-point.c
9786 libnm-glib/nm-access-point.h
9787 introspection/nm-access-point.xml
9789 - Adjust to new flags for AP security
9793 src/vpn-manager/nm-dbus-vpn.c
9794 - Remove D-Bus pending call stuff from nm-utils and put it in the VPN
9795 stuff which is the only place it's used
9797 * src/nm-device-interface.c
9798 src/nm-device-interface.h
9799 introspection/nm-device.xml
9800 src/nm-activation-request.c
9801 src/nm-activation-request.h
9803 - Add a new 'specific_object' argument that hints to NM what actual
9804 AP or other device-specific thing the connection should apply to.
9805 NMConnection objects can apply to more than one actual device/AP.
9807 * libnm-util/nm-connection.c
9808 * libnm-util/nm-connection.h
9809 - Add 'have_secrets" call stubs
9811 * libnm-util/cipher.h
9812 - Move NM_AUTH_TYPE_* defines here for now
9814 * src/nm-device-802-11-wireless.c
9815 - Remove usage of NMAPSecurity, to be replaced with NMConnection/
9818 * src/NetworkManagerDbus.c
9819 * src/NetworkManagerPolicy.c
9820 - Remove usage of update_allowed_networks, should be pushing data in
9823 2007-08-27 Tambet Ingo <tambet@gmail.com>
9825 * src/nm-manager.c (impl_manager_get_devices): Duplicate the device path,
9826 dbus-glib frees it when the call is done.
9828 2007-08-26 Dan Williams <dcbw@redhat.com>
9830 * introspection/nm-device.xml
9831 - Add 'Index' property on NMDevice objects (forgot to do this earlier)
9833 2007-08-26 Dan Williams <dcbw@redhat.com>
9835 * src/nm-device-802-3-ethernet.c
9836 - (constructor): move connection of interface-connected/disconnected
9837 signals here from real_bring_up(). Should be listening to netlink
9838 for carrier events no matter what the initial state of the device
9841 2007-08-26 Dan Williams <dcbw@redhat.com>
9843 * src/nm-netlink-monitor.c
9844 - (nm_netlink_monitor_class_init): fix marshalling types for
9845 interface-connected/interface-disconnected
9846 - (nm_netlink_monitor_event_handler): clean up carrier on/off
9849 2007-08-26 Dan Williams <dcbw@redhat.com>
9851 Convert to using interface indexes as the primary method of identifying
9852 devices inside NetworkManager. Indexes are (?) stable, but devices can
9853 be renamed at any time. Device object paths now refer to the device
9854 index rather than the name, and you can map those two manually if you like
9855 by looking in the /sys/class/net/<name>/ifindex file. Also moves most
9856 netlink-related code to nm-netlink.c, and cleans up nm-netlink-monitor.c
9857 to use interface indexes rather than names.
9859 2007-08-26 Dan Williams <dcbw@redhat.com>
9861 * src/nm-netlink-monitor.h
9862 - Remove one last bit of wireless-event signal
9864 2007-08-26 Dan Williams <dcbw@redhat.com>
9866 * src/nm-netlink-monitor.c
9867 - (nm_netlink_monitor_class_init, nm_netlink_monitor_event_handler):
9868 don't need the 'wireless-event' signal anymore since that's all
9869 handled by wpa_supplicant
9871 2007-08-25 Dan Williams <dcbw@redhat.com>
9873 It's 2007. Remove support for drivers that don't support wireless scanning.
9876 include/NetworkManager.h
9877 src/NetworkManagerUtils.c
9878 src/NetworkManagerPolicy.c
9879 src/nm-device-802-11-wireless.c
9880 - Remove special handling for non-scanning devices and mark them
9881 as unsupported/unhandled
9883 2007-08-20 Dan Williams <dcbw@redhat.com>
9885 * src/nm-device-802-11-wireless.c
9886 src/nm-device-802-3-ethernet.c
9887 - (real_is_up): move device-specific tests before generic IFF_UP test,
9888 because when the card is pulled or the module removed, the device
9889 is already !IFF_UP and then device-specific cleanup (removing
9890 the supplicant interface, periodic checks, etc) never gets done
9892 2007-08-20 Dan Williams <dcbw@redhat.com>
9895 - (nm_manager_remove_device): bring device down before disconnecting
9896 signal handlers, so that the 'state' signal will get broadcast when
9897 the device enters the DOWN state
9898 - (manager_device_state_changed): add NM_DEVICE_STATE_DOWN to the list
9899 of states that cause the NMManager to recheck its state
9901 2007-08-20 Dan Williams <dcbw@redhat.com>
9903 * src/supplicant-manager/nm-supplicant-interface.c
9904 - (interface_disconnect_done): don't try to dispose of the net proxy
9905 when it may already have been disposed of
9907 2007-08-20 Dan Williams <dcbw@redhat.com>
9909 * src/nm-device-802-11-wireless.c
9910 - (nm_device_802_11_wireless_get_ssid): don't traceback and die when
9911 the SSID isn't available; this can happen when the card is pulled
9912 or the module unloaded, during the post-removal deactivation
9913 paths, when the ioctl returns ENODEV
9915 2007-08-20 Dan Williams <dcbw@redhat.com>
9917 * src/nm-device-802-11-wireless.c
9918 - (merge_scanned_ap): only merge the AP with another if the SSID, BSSID,
9919 frequency, and mode match. Applets are now responsible for grouping
9922 2007-08-20 Dan Williams <dcbw@redhat.com>
9924 * src/NetworkManagerAP.c
9925 * src/NetworkManagerAP.h
9926 - (nm_ap_print_self): new function
9928 * src/NetworkManagerAPList.c
9929 - (nm_ap_list_print_members): call nm_ap_print_self() rather than trying
9932 2007-08-17 Dan Williams <dcbw@redhat.com>
9934 * src/nm-device-802-3-ethernet.c
9935 - (real_bring_down): don't try to dispose of stuff that might not
9938 2007-08-17 Dan Williams <dcbw@redhat.com>
9940 * src/NetworkManagerAP.c
9941 - (nm_ap_set_user_addresses): uppercase any BSSID passed in from the
9942 applet. This ensures that the case between the seen-bssids and
9943 the bssids reported by the driver match.
9945 2007-08-17 Dan Williams <dcbw@redhat.com>
9947 * src/nm-device-802-11-wireless.c
9948 - (device_cleanup): disconnect the interface in wpa_supplicant before
9949 we dispose of the interface proxy in NM
9951 2007-08-16 Dan Williams <dcbw@redhat.com>
9953 * libnm-glib/nm-client.c
9954 - (nm_client_init): create VPN connections hash table with key free
9956 - (proxy_vpn_connection_added): VPN connections hash table key should
9957 be a duplicated value, not the same memory address as the VPN
9958 connection name. This is because the VPN connection name could
9959 potentially be freed and set to something else during the lifetime
9960 of the NMVPNConnection object.
9962 2007-08-16 Tambet Ingo <tambet@gmail.com>
9964 * src/ppp-manager/nm-ppp-manager.c (pppd_child_setup): Implement.
9965 (nm_ppp_manager_start): Use g_spawn_async() since we're not doing anything
9966 with the file descriptors. Send a child setup function to change the pppd
9969 2007-08-15 Dan Williams <dcbw@redhat.com>
9971 * src/supplicant-manager/nm-supplicant-interface.c
9972 - (try_remove_iface): new function, ask wpa_supplicant to remove
9974 - (nm_supplicant_interface_dispose): call try_remove_iface() when
9975 disposing of the NMSupplicantInterface. Otherwise weird stuff
9976 happens on hotplug if wpa_supplicant doesn't tear down and readd
9977 the interface internally
9979 2007-08-15 Dan Williams <dcbw@redhat.com>
9981 * src/nm-device-802-11-wireless.c
9982 - (real_bring_down): move most of this function into device_cleanup()
9983 so that it can be called from elsewhere
9984 - (nm_device_802_11_wireless_dispose): clean up device periodic timers
9985 and stuff on dispose. These would normally get cleaned up when
9986 the device is marked down and deactivated, but when the device is
9987 hot-unplugged, it's already down and real_down() never gets run
9989 2007-08-15 Dan Williams <dcbw@redhat.com>
9992 - (nm_dbus_get_user_key_for_network_cb): fix incorrect refcounting that
9993 caused a reference leak on device for which NM requested a key
9995 2007-08-15 Dan Williams <dcbw@redhat.com>
9997 * libnm-glib/nm-client.c
9998 - (nm_client_get_best_vpn_state): fix leakage of the vpn connection list
10000 2007-08-15 Tambet Ingo <tambet@gmail.com>
10002 * src/ppp-manager: Implement ppp-manager. It's sort of dead code for now since
10003 nothing is using it at the moment, but it'll be all useful and stuff later on.
10005 * libnm-util/nm-setting.h: Define NMSettingPPP.
10007 * libnm-util/nm-setting.c: Implement NMSettingPPP.
10009 * libnm-util/nm-connection.c (register_default_creators): Register ppp setting.
10011 * src/Makefile.am: Add ppp-manager to SUBDIRS.
10013 * configure.in: Require ppp headers. Build Makefile for ppp-manager.
10015 * introspection/Makefile.am: Add nm-manager-client.xml to EXTRA_DIST.
10017 2007-08-14 Tambet Ingo <tambet@gmail.com>
10019 * libnm-glib/Makefile.am: Use nm-manager-client.xml to produce nm-client-bindings.
10021 * introspection/nm-manager-client.xml: Add a horrible horrbile hack to work around
10022 an issue with dbus-glib bindings generator. The issue is, the generated C caller
10023 functions for dbus methods "Sleep(bool)" and "sleep()" both have the same function
10024 name and different arguments and it won't compile anymore. To fix this, we now have
10025 two copies of nm-manager.xml file. nm-manager.xml contains the actual interface,
10026 that is new API + compatibility API and used by the daemon. The other,
10027 nm-manager-client.xml is only the new API without compatibility bits and is used
10028 by libnm-glib to make it compile.
10030 * introspection/nm-manager.xml: Define compatibility methods (sleep, wake, state).
10032 * src/nm-manager.c (impl_manager_legacy_sleep)
10033 (impl_manager_legacy_wake, impl_manager_legacy_state): Implement the compatibility
10034 interface functions for 0.6 branch.
10036 2007-08-14 Dan Williams <dcbw@redhat.com>
10038 * src/NetworkManagerAP.c
10039 - (nm_ap_new_from_properties): fix mistaken check of return value
10040 from memcmp (should expect 0)
10042 2007-08-14 Dan Williams <dcbw@redhat.com>
10044 (force-commit to fix wrong comment and partial commit of r2685; this
10045 commit actually applies to r2685)
10047 * src/NetworkManagerUtils.c
10048 - (nm_utils_same_ssid): add "ignore_trailing_null" parameter which
10049 ignores trailing nulls in the SSID to work around mismatches in
10050 expectations between WEXT and what the info-daemon passes back. The
10051 info-daemon would pass back the correct length, but due to the
10052 ESSID length issues with WEXT 22 and greater and wpa_supplicant,
10053 the device would always have an SSID + 1 depending on what versions
10054 of wpa_supplicant, the kernel, and NM you have. This was most often
10055 visible by just quitting the applet and relaunching, which caused
10056 NM to reassociated to the same network over again when reloading
10059 * src/NetworkManagerPolicy.c
10060 src/NetworkManagerUtils.h
10061 src/nm-device-802-11-wireless.c
10062 - Update for new parameter to nm_utils_same_ssid()
10064 2007-08-14 Dan Williams <dcbw@redhat.com>
10066 * src/NetworkManagerAP.c
10067 - (nm_ap_new_from_properties): ignore BSSs with invalid BSSIDs. Today
10068 I encountered a BSS that wasn't just hiding it's ESSID, it was
10069 setting the BSSID to all 0s. That confused the heck out of NM,
10070 plus it's useless and probably out-of-spec.
10072 2007-08-14 Dan Williams <dcbw@redhat.com>
10074 * callouts/Makefile.am
10075 src/dhcp-manager/nm-dhcp-manager.c
10076 src/dhcp-manager/nm-dhcp-manager.h
10077 src/dhcp-manager/Makefile.am
10078 - Change install location of nm-dhcp-client.action to ${prefix}/libexec
10080 2007-08-14 Dan Williams <dcbw@redhat.com>
10082 * src/dhcp-manager/nm-dhcp-manager.c
10083 - (dhclient_run): don't pass -x to dhclient until we figure out if
10084 it's really needed, get rid of unused xtra_args parameter
10086 2007-08-14 Dan Williams <dcbw@redhat.com>
10088 * include/NetworkManagerVPN.h
10089 src/vpn-manager/nm-dbus-vpn.c
10090 src/vpn-manager/nm-dbus-vpn.h
10091 src/vpn-manager/nm-vpn-act-request.c
10092 src/vpn-manager/nm-vpn-act-request.h
10093 src/vpn-manager/nm-vpn-service.c
10094 src/vpn-manager/nm-vpn-service.h
10095 libnm-glib/nm-vpn-connection.c
10096 libnm-glib/nm-vpn-connection.h
10097 libnm-glib/nm-client.h
10098 - Rename NM_VPN_STATE_* -> NM_VPN_SERVICE_STATE_* and NMVPNState ->
10099 NMVPNServiceState to clarify what they apply to
10100 - Rename NM_VPN_ACT_STAGE_* -> NM_VPN_CONNECTION_STATE_* and
10101 NMVPNActStage -> NMVPNConnectionState for the same reason
10103 * libnm-glib/nm-client.c
10104 - Constant + type renames from above
10105 - Properly handle NameOwnerChanged/manager_running signals
10106 for NM service; only emit when state really changes
10107 - Use hash tables correctly so that the key (which was previously owned
10108 by the D-Bus message) now has the same lifetime as the value, since
10109 the key is now taken from the the NMVPNConnection itself. This
10110 really fixes the double-VPN names in the applet
10112 2007-08-13 Dan Williams <dcbw@redhat.com>
10114 Patch from Michael Biebl <biebl@debian.org>
10118 - Update for vpn-properties move
10120 2007-08-13 Dan Williams <dcbw@redhat.com>
10122 * libnm-glib/nm-client.c
10123 - Convert internal VPN connection tracking from a list to a hash table
10124 to easily avoid duplicates
10125 - (nm_client_get_vpn_connections): now returns an allocated GSList that
10126 must be freed by the caller, like nm_client_get_devices()
10127 - (nm_client_remove_vpn_connection): don't let the removal signal
10128 leak through for NMVPNConnection objects that aren't actually
10130 - (manager_running): throw away VPN connection list when NM goes away,
10131 like with the device list
10133 2007-08-13 Dan Williams <dcbw@redhat.com>
10135 * src/dhcp-manager/nm-dhcp-manager.c
10136 - Stop any dhclient instance that might be already running for a
10137 particular interface before starting an NM spawned dhclient. Fixes
10138 dhclient processes left over if NM crashes, stuff like that.
10140 2007-08-13 Dan Williams <dcbw@redhat.com>
10142 * src/NetworkManagerAP.c
10143 - (finalize): don't try to g_array_free (NULL, ...), which happened
10144 when the AP wasn't broadcasting it's SSID
10146 2007-08-13 Rodrigo Moya <rodrigo@gnome-db.org>
10148 * include/NetworkManager.h: added DBus path for connection settings.
10150 * libnm-glib/nm-settings.[ch] (nm_settings_signal_new_connection,
10151 nm_connection_settings_signal_updated,
10152 nm_connection_settings_signal_removed): new functions to wrap the
10154 (nm_connection_settings_init): register GObject with DBus.
10155 (nm_connection_settings_get_dbus_object_path): new function.
10157 * libnm-glib/Makefile.am: added libnmutil to link flags.
10159 2007-08-13 Tambet Ingo <tambet@gmail.com>
10161 * configure.in: Remove checks for dhcdbd as it's killed! killed! killed!
10163 * gnome/*: Remove. The nm-vpn-properties directory is now part of nm-applet,
10164 libnm_glib directory got merged with libnm-glib/.
10166 * libnm-glib/libnm-glib.pc.in: Rename to libnm_glib.pc.in.
10168 * libnm-glib/Makefile.am: Add legacy libnm_glib.[ch] to the build.
10169 Rename the library from libnm-glib to libnm_glib to maintain the library API
10170 compatibility with 0.6 branch.
10172 * Makefile.am: Remove gnome/ SUBDIR.
10174 * gnome/libnm_glib/libnm_glib.[ch]: Move to libnm-glib/.
10176 * src/Makefile.am: Remove the WPA_SUPPLICANT_BIN define.
10178 * dispatcher-daemon/Makefile.am: Link the binary with libnm_glib.
10180 * configure.in: Remove GNOME checks, NetworkManager does not need any of these
10182 Remove checks for wpa_supplicant binary, it's used over dbus.
10183 Remove gnome/ directory files form AC_OUTPUT, that directory is getting moved.
10185 * test/Makefile.am: Remove define WPA_SUPPLICANT_BIN.
10186 Link the binaries with libnm_glib.la.
10188 2007-08-12 Dan Williams <dcbw@redhat.com>
10190 * src/NetworkManagerPolicy.c
10191 - (nm_policy_device_change_check): fix policy to deactivate old device
10192 before activating new one, at least until the multiple active
10193 device support lands
10195 2007-08-12 Dan Williams <dcbw@redhat.com>
10197 * src/NetworkManagerPolicy.c
10198 - (nm_policy_new): hook up to connection-added / connection-removed
10199 signals instead of connections-changed
10201 2007-08-12 Dan Williams <dcbw@redhat.com>
10203 Kill dhcdbd until it's dead, dead, dead. Based on a patch from
10204 Robert Frank <rfrank@redhat.com>
10206 * src/dhcp-manager/nm-dhcp-manager.c
10207 src/dhcp-manager/nm-dhcp-manager.c
10209 - Spawn and communicate with dhclient directly, through means of a
10210 custom dhclient callout script. Process callout D-Bus signals
10211 with dbus-glib instead of hand-rolled dbus. DHCP timeouts are now
10212 sent via gobject signals rather than being driven by the dhcp manager
10215 2007-08-12 Dan Williams <dcbw@redhat.com>
10217 * callouts/nm-dhcp-client-action.c
10218 - (build_message): ignore non-DHCP-related environment variables
10220 2007-08-12 Dan Williams <dcbw@redhat.com>
10224 callouts/Makefile.am
10225 callouts/nm-dhcp-client-action.c
10226 callouts/nm-dhcp-client.conf
10227 - Add dhclient-executed callout that takes the place of dhclient-script
10228 and dhcdbd, pushing DHCP options out to the system bus as a signal that
10229 NM then listens for
10231 2007-08-09 Tambet Ingo <tambet@gmail.com>
10233 [Based on patch by Helmut Schaa <hschaa@suse.de>]
10235 * libnm-glib/nm-client.h:
10236 * libnm-glib/nm-object.h:
10237 * libnm-glib/nm-vpn-connection.h:
10238 * libnm-glib/nm-settings.h:
10239 * libnm-glib/nm-device.h:
10240 * libnm-glib/nm-ip4-config.h:
10241 * libnm-glib/nm-access-point.h:
10242 * libnm-glib/nm-device-802-3-ethernet.h:
10243 * libnm-util/nm-setting.h:
10244 * libnm-util/nm-connection.h: Add G_BEGIN_DECLS / G_END_DECLS to support C++.
10246 * libnm-glib/nm-object.c (nm_object_get_byte_property): Implement.
10248 * libnm-glib/nm-access-point.c: Strength has type char.
10250 * gnome/vpn-properties/Makefile.am: Remove GNOME_DISABLE_DEPRECTATED for now
10251 to fix build. GnomeDruid is deprecated in recent libgnomeui.
10253 * introspection/nm-access-point.xml: Strength property is char, not int.
10255 * src/NetworkManagerAP.c (set_property): Set strength from char.
10256 (get_property): Handle hidden APs (with empty SSID).
10257 Get strength value from char.
10258 (nm_ap_class_init): Strength property has char type.
10260 2007-08-03 Rodrigo Moya <rodrigo@gnome-db.org>
10262 * introspection/Makefile.am:
10263 * introspection/nm-settings.xml:
10264 * introspection/nm-settings-connection.xml: added Settings interfaces.
10266 * libnm-glib/nm-settings.[ch]:
10267 * libnm-glib/Makefile.am: added abstract class for Settings interfaces
10268 containing the DBus implementation.
10270 2007-07-26 Dan Williams <dcbw@redhat.com>
10272 Patch from Bernhard Miklautz <bernhard.miklautz@shacknet.at>
10274 * src/NetworkManagerSystem.c
10275 - (nm_system_device_set_ip4_route): don't add the route if it's on the
10276 same subnet (#437396)
10278 2007-07-26 Dan Williams <dcbw@redhat.com>
10280 Patch from Kelemen Gábor <kelemeng@gnome.hu>
10282 * gnome/vpn-properties/nm-vpn-properties.c
10283 - Fix translatable strings (#445865)
10285 2007-07-26 Dan Williams <dcbw@redhat.com>
10287 Patch from Andreas Hanke <andreas.hanke@gmx-topmail.de>
10290 - Remove useless junk (#412530)
10292 2007-07-10 Christopher Aillon <caillon@redhat.com>
10294 Patch from Robert Buchholz <rbu@gentoo.org>:
10298 * introspection/Makefile.am:
10299 Make make distcheck work again.
10301 2007-06-27 Dan Williams <dcbw@redhat.com>
10303 * Make SSIDs GByteArrays everywhere
10304 * Rename "essid" -> "ssid" everywhere that's appropriate
10305 * Refcount activation_ap member of the 802.11 wireless device class
10307 2007-06-27 Tambet Ingo <tambet@ximian.com>
10309 * libnm-glib/nm-object.[ch]: Add these to the SVN, oops.
10311 2007-06-22 Tambet Ingo <tambet@ximian.com>
10313 * src/nm-device-802-11-wireless.c (merge_scanned_ap): Don't advertise constantly
10314 that we got a new AP when we just update existing AP properties.
10316 2007-06-21 Tambet Ingo <tambet@ximian.com>
10318 * libnm-glib/Makefile.am: Add NMObject to build, remove nm-utils.[ch].
10320 * nm-utils.[ch]: Remove.
10322 * libnm-glib/nm-object.c: Implement a base class for all libnm-glib dbus-aware
10323 objects for easy property access and dbus connection handling.
10325 * libnm-glib/nm-client.c: Derive from NMObject.
10327 * libnm-glib/nm-device.c: Ditto.
10329 * libnm-glib/nm-device-802-3-ethernet.c: Changes for being based on NMObject.
10331 * libnm-glib/nm-device-802-11-wireless.c: Ditto.
10333 * libnm-glib/nm-ip4-config.c: Ditto.
10335 * libnm-glib/nm-access-point.c: Ditto.
10337 * libnm-util/nm-connection.c (nm_connection_compare): Add a stub for connection
10338 comparision. Currently used by the device activation code to determine if the new
10339 activation is the same as the old one.
10341 * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Don't use the obsolete and
10342 wrong way of getting the dbus path for AP. Fixes the issue where the applet isn't
10343 able to ask password for the AP.
10345 * src/nm-device.c (nm_device_activate): Change the logic here - instead of giving
10346 up if the device is already connected, tear down it's connection (if it isn't the
10347 same as new one) and start the activation.
10349 * src/nm-manager.c: Add the beginnings of NMConnection storage and signals.
10351 * src/NetworkManagerAP.c (nm_ap_init): Set the default values to AP memebers, fixes
10352 the issue where all APs are always listed as encrypted.
10354 * src/NetworkManagerDbus.c (nm_dbus_get_object_path_for_network): Remove. APs have
10355 their own registered paths.
10357 * test/nm-tool.c (detail_device): Don't try to get active network from wireless
10358 device if it's not connected - dbus-glib will happily crash trying to marshal NULL.
10360 2007-06-13 Tambet Ingo <tambet@ximian.com>
10362 * src/NetworkManagerAP.c (foreach_property_cb): Set WEP capabilities too!
10365 * src/nm-device.c (nm_device_state_changed): Emit the signal before handling it
10366 because the handling code will cause the next state change and signal listeners
10367 get the signals in wrong order.
10369 * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Get the "old_dev"
10370 correctly in case of pending activation.
10372 * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
10373 Convert the essid byte array to string correctly, including the terminating NULL.
10375 * src/NetworkManagerPolicy.c (create_connection): Create wireless ssid and
10376 mode with correct types.
10378 * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Fix a typo, pass the
10379 constructed info to dbus call instead of the activation request.
10381 2007-06-11 Christopher Aillon <caillon@redhat.com>
10383 Patch from Christian Persch <chpe@gnome.org>
10385 * libnm-glib/Makefile.am:
10386 * dispatcher-daemon/Makefile.am:
10387 Use the correct variables, the correct paths, and correct ordering. (446315)
10389 2007-06-11 Tambet Ingo <tambet@ximian.com>
10391 * src/nm-device.c: Make the activation stage virtual functions take NMDevice
10392 argument. The activation request is easy to retrieve.
10394 * src/nm-activation-request.c: Convert to GObject. Do not include half of NM headers
10395 just to be a convenient location for devices to store random stuff.
10397 2007-06-11 Christopher Aillon <caillon@redhat.com>
10399 Patch from Alex Smith <alex@alex-smith.me.uk>
10401 * src/backends/NetworkManagerFrugalware.c:
10402 Update the FrugalWare backend to fix a few segfaults. (#392642)
10404 2007-06-08 Tambet Ingo <tambet@ximian.com>
10406 * libnm-util/nm-setting.c: Implement NMSettingWirelessSecurity.
10408 * libnm-util/nm-connection.c (register_default_creators): Register wireless security
10410 (gvalue_to_string): Recognize G_TYPE_UCHAR and GSList.
10412 2007-06-06 Tambet Ingo <tambet@ximian.com>
10414 * libnm-util/nm-setting.c: Get rid of dump virtual functions, that can happen
10416 Implement NMSettingIP4Config.
10417 Finish NMSettingWired by adding all known members.
10418 (setting_wired_verify): Implement.
10419 Finish NMSettingWireless by adding all known members.
10420 (setting_wireless_verify): Implement.
10422 * libnm-util/nm-connection.c: Register "ipv4" setting.
10423 (nm_connection_dump): Implement. Instead of requiring every NMSetting to implement
10424 dump function, we can introspect the GHashTable which is used for sending connections
10427 * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
10428 Take GByteArray for essid, it's really not a string.
10430 * src/nm-device.c (real_act_stage3_ip_config_start): Get information from NMSettings.
10431 Start DHCP request if setting is not passed or if it states that DHCP should be used.
10432 (real_act_stage4_get_ip4_config): If settings are provided, use them, even if it
10433 means overriding the values we got from DHCP.
10434 (real_activation_cancel_handler): Cancel DHCP transaction only if it has started, doh.
10435 (nm_device_deactivate_quickly): Ditto.
10437 * src/nm-device-interface.c (impl_device_activate): Dump the connection structure
10440 2007-05-07 Tambet Ingo <tambet@ximian.com>
10442 * libnm-glib/Makefile.am: Link with libnm-util to gain access to
10445 * libnm-glib/nm-device-802-11-wireless.c:
10446 (nm_device_802_3_ethernet_activate): Remove.
10448 * libnm-glib/nm-device-802-3-ethernet.c
10449 (nm_device_802_3_ethernet_activate): Remove.
10451 * libnm-glib/nm-device.c (nm_device_activate): Implement.
10453 * src/nm-device-802-3-ethernet.c: Implement the new activation using
10456 * src/nm-device-802-11-wireless.c: Store an activation AP once the
10457 activation has started.
10458 Implement the new activation using NMConnection.
10460 * src/nm-activation-request.c: Store a generic connection object instead
10461 of a wireless-specific AP.
10463 * src/NetworkManagerPolicy.c (create_connection): Implement. Depending
10464 on device type, create a device specific connection object suitable for
10467 * src/nm-device.c (nm_device_activate): Re-implement. Call the device
10468 specific check to validate the connection and on success start the
10471 * src/nm-device-interface.h: Add a activate virtual function to the
10472 interface definition.
10474 * src/nm-device-interface.c (nm_device_interface_activate): Implement.
10475 (impl_device_activate): Implement.
10477 * introspection/nm-device.xml: Add a generic device activation interface
10478 that accepts an abstract NMConnection structure that has device-specific
10481 * introspection/nm-device-802-3-ethernet.xml: Remove the wired-specific
10482 activation interface.
10484 * introspection/nm-device-802-11-wireless.xml: Remove the wireless-specific
10485 activation interface.
10487 * libnm-util/nm-connection.c:
10488 * libnm-util/nm-connection.h:
10489 * libnm-util/nm-setting.c:
10490 * libnm-util/nm-setting.h: Add.
10492 * libnm-util/Makefile.am: Build the added files.
10494 * src/nm-dbus-manager.c
10495 (proxy_name_owner_changed, nm_dbus_manager_class_init): Remove the
10496 DbusConnection argument from 'name-owner-changed' signal. The manager
10497 is already passed as a first argument to the signal and the connection
10498 is easy enough to get from it.
10500 * src/vpn-manager/nm-vpn-service.c (nm_vpn_service_name_owner_changed):
10501 Update the signature of the function.
10503 * src/vpn-manager/nm-vpn-manager.c (nm_name_owner_changed_handler):
10506 * src/NetworkManager.c: Ditto.
10508 * src/named-manager/nm-named-manager.c
10509 (nm_named_manager_name_owner_changed): Ditto.
10511 * src/supplicant-manager/nm-supplicant-manager.c
10512 (nm_supplicant_manager_name_owner_changed): Ditto.
10514 * src/nm-hal-manager.c (name_owner_changed): Ditto.
10516 * src/dhcp-manager/nm-dhcp-manager.c
10517 (nm_dhcp_manager_name_owner_changed): Ditto.
10519 * src/nm-hal-manager.c: Add a list of device detectors and creators
10520 to make it easier to add new devices. Each device type has it's own
10521 entry in the table so adding new device types is only a matter of
10522 implementing a couple of functions, one for device detection and the
10523 other for device creation.
10525 2007-04-25 Dan Williams <dcbw@redhat.com>
10527 * initscript/RedHat/NetworkManager.in: remove trailing backslash
10528 (gnome.org #432401)
10530 2007-03-30 Dan Williams <dcbw@redhat.com>
10532 * src/NetworkManagerSystem.c
10533 - (nm_system_device_set_ip4_route): clean up and fix argument
10534 to nm_dev_sock_open()
10536 2007-03-28 Tambet Ingo <tambet@ximian.com>
10538 * src/supplicant-manager/nm-supplicant-config.c (get_hash_cb): Marshal the
10539 data to correct types instead of always using string.
10541 * src/NetworkManagerAP.c (get_property): AP is encrypted if capabilities does
10542 _not_ have NM_802_11_CAP_PROTO_NONE.
10543 (foreach_property_cb): Set AP capabilities if it's not set or if the protocol
10546 2007-03-27 Tambet Ingo <tambet@ximian.com>
10548 * libnm-glib/Makefile.am: Fix the build issue.
10550 2007-03-26 Tambet Ingo <tambet@ximian.com>
10552 * libnm-glib/nm-vpn-connection.h:
10553 * libnm-glib/nm-vpn-connection.c: Implement.
10555 * libnm-glib/nm-client.c: Add VPN support.
10557 * src/vpn-manager/nm-dbus-vpn.c (dbus_message_handler): Implement DBUS message
10560 * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_new): Register VPN interface
10563 2007-03-26 Dan Williams <dcbw@redhat.com>
10565 * src/NetworkManagerAPList.c
10566 * src/nm-device-802-11-wireless.c
10567 * src/NetworkManagerAP.c:
10568 - Store last seen as glong instead of GTimeVal.
10569 - Fix the upper bound of capabilities, it's a bitfield.
10571 2007-03-16 Tambet Ingo <tambet@ximian.com>
10573 * libnm-glib/nm-device.c (nm_device_get_description): Implement.
10575 * libnm-glib/nm-client.c (nm_client_manager_is_running): Implement. Also add a
10576 "manager-running" signal that notifies the appearance/disappearance of NM.
10577 (nm_client_sleep): Implement.
10579 * libnm-glib/nm-device.c:
10580 * libnm-glib/nm-device-802-11-wireless.c:
10581 * libnm-glib/nm-device-802-3-ethernet.c:
10583 Don't inherit from DBusGProxy, add a proxy to private
10584 data. The reason is, classes inherited from NMDevice wouldn't get any dbus signals
10585 for anything but their own dbus interface. DBusGProxy objects support only one
10586 interfaces and to work around this, NMDevice has spearate proxy for each dbus
10587 interface. The nice side effect of this change is that we do not create a new
10588 DBusGProxy object for each property access.
10590 2007-03-15 Tambet Ingo <tambet@ximian.com>
10592 * src/nm-device-802-11-wireless.c (constructor): Initialize the iw_ext structures
10593 with zeroes before passing them to functions - the functions never do that and
10594 reading the values back may produce wrong values.
10595 (real_bring_up): Store the signal handler id ...
10596 (real_bring_down): ... So that it can be removed here.
10597 Disconnect the supplicant interface here as well.
10598 (nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): Use the dbus object path
10599 from the access point instead of old $device/Networks/$essid.
10601 * src/nm-manager.c (nm_manager_get_state): Return NM_STATE_CONNECTED when the
10602 device state is connected (instead of just having link/carrier).
10604 * src/nm-activation-request.c: Don't store NMData in activation request, it's
10605 already easily accessible through the device.
10607 * src/NetworkManagerAP.c (nm_ap_init): Construct the dbus object path here and
10608 store it within the object.
10609 (nm_ap_get_dbus_path): Export it to public as well.
10611 * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get): Keep the ownership
10614 2007-03-12 Dan Williams <dcbw@redhat.com>
10616 Get rid of 2 second poll of sysfs 'carrier' file for wired devices. Useless
10617 for non-carrier-detect capable devices, and useless for carrier-detect
10618 devices since we get notifications from netlink about carrier status anyway.
10620 * src/nm-device-802-3-ethernet.c
10621 - remove 'link_source_id' member from private data
10622 - (probe_link): remove and collapse into real_update_link()
10623 - (nm_device_802_3_periodic_update): remove
10624 - (real_is_up): check for sup_iface rather than link_source_id
10625 - (real_bring_up): return gboolean for success/fail; require that
10626 sup_iface be valid for device bringup to succeed
10627 - (real_bring_down): zero out link signal ids
10630 - (nm_device_activate_stage2_device_config): fail activation if device
10632 - (real_act_stage4_get_ip4_config): fail activation if device bringup
10634 - (nm_device_bring_up): return success/fail
10637 - bring_up now returns success/fail
10639 * src/nm-device-802-11-wireless.c
10640 - (real_bring_up): return success from bringup
10642 2007-03-07 Dan Williams <dcbw@redhat.com>
10644 Patch from Simon Geard <delgarde@ihug.co.nz> (Gnome.org #394956)
10645 * src/nm-ap-security-wpa-psk.c
10646 - (real_write_supplicant_config): work with PSKs that may contain
10647 zeros in the binary format rather than treating it as a string
10649 2007-03-02 Tambet Ingo <tambet@ximian.com>
10651 * libnm-glib/nm-device-802-11-wireless.c
10652 (nm_device_802_11_wireless_get_capabilities): Implement.
10654 * libnm-glib/nm-device.c (nm_device_get_capabilities): Implement.
10656 * src/nm-device-802-11-wireless.c: Add "WirelessCapabilities" property.
10658 * src/named-manager/nm-named-manager.c (remove_one_zone_from_named): Unref the
10659 reply only if it's not NULL. Not sure why this started happening right now.
10661 * src/nm-manager.c (device_stop_and_free): Remove. No need to have different
10662 code paths for when devices get removed on shutdown or when a device is just
10664 (finalize): Don't use a g_slist_foreach() when removing devices, the list data
10665 gets freed so any signal from a device (disconnected for instance) would invoke
10666 NMState update which would crash.
10667 (nm_manager_remove_device): Bring the device down when it gets removed.
10669 * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Remove
10670 the unused dev_type.
10672 * src/nm-hal-manager.c (create_device_and_add_to_list): Don't keep the
10673 reference to the added device, NMManager will own it (if it wants).
10675 * test/nm-tool.c: Rewrite using libnm-glib.
10677 * libnm-glib/nm-device-802-11-wireless.c: Cache networks (bssids) list.
10678 We get signalled when it changes.
10680 * libnm-glib/nm-client.c: Cache NMState and device list, we get signalled
10683 * libnm-glib/nm-device.c: Cache the device state property.
10685 * libnm-glib/nm-access-point.c: Cache the strength property.
10687 * src/nm-device-802-11-wireless.c: Fix wireless device scanning scheduler.
10688 The new algorithm is to start from SCAN_INTERVAL_MIN (currently defined as 0)
10689 and add a SCAN_INTERVAL_STEP (currently 20 seconds) with each successful scan
10690 until SCAN_INTERVAL_MAX (currently 120 seconds) is reached. Do not scan while
10691 the device is down, activating, or activated (in case of A/B/G cards).
10692 Remove some old dead ifdef'ed out code that used to configure wireless devices,
10693 it's all done through supplicant now.
10695 * src/supplicant-manager/nm-supplicant-interface.c: Fix the reference
10696 counting issues with pending calls which caused leaks and crashes when
10697 interface was removed (now that the interface actually gets removed).
10699 * src/nm-call-store.c: Make a copy of data before running a foreach
10700 with user callback on it - The most common usage pattern is to cancel
10701 (and thus remove) all pending calls with foreach which would modify
10702 the hash table we're iterating over.
10704 * src/nm-manager.c: When a device is added, make sure it is "up". When
10705 it's removed or disabled due to disabling wireless or networking, bring
10708 * include/NetworkManager.h: Add new device state NM_DEVICE_STATE_DOWN.
10710 * src/nm-device-802-11-wireless.c:
10711 * src/nm-device-802-3-ethernet.c:
10713 - Remove "init" virtual function, all gobjects have a place for that
10714 already (constructor).
10715 - Replace "start" virtual function with "bring_up", devices can be
10716 brought up and down more than just on startup now.
10717 - Add "is_up" virtual function.
10718 - Implement one way to bring a device down instead of previous 4 different
10719 ways, each of witch did something different.
10721 * src/NetworkManagerUtils.c (nm_dev_sock_open): This doesn't need an NMDevice,
10722 all it needs is the device interface.
10724 Get rid of NMData.dev_list (3 members to go).
10725 Get rif of NMData in a lot of places.
10727 * gnome/libnm_glib/libnm_glib.c: Make it compile again.
10729 2007-02-23 Dan Williams <dcbw@redhat.com>
10731 Patch from Andy Whitcroft <apw@shadowen.org> (Gnome.org #410426)
10733 * src/NetworkManagerAP.c
10734 - (add_capabilities_from_cipher): fix addition of WEP capabilities by
10735 OR-ing rather than AND-ing
10737 2007-02-20 Tambet Ingo <tambet@ximian.com>
10739 * libnm-glib/nm-device-802-11-wireless.c: Add "network-added" and
10740 "network-removed" signals.
10742 * libnm-glib/libnm-glib.pc.in: Require NetworkManager >= 0.7.0.
10744 * libnm-glib/nm-access-point.c: Add "strength-changed" signal, emit it
10745 when receiving the signal from dbus.
10747 * src/nm-device-802-11-wireless.c (get_property): Fix PROP_ACTIVE_NETWORK
10750 * src/NetworkManagerPolicy.c (state_changed): Fix a typo to make the
10751 deactivation of the previously activated device working again.
10753 * src/nm-activation-request.c: Remove NMActStage property and it's getter
10756 * src/nm-device.c (nm_device_is_activated): Remove.
10757 state == NM_DEVICE_STATE_ACTIVATED is just as easy to use.
10759 * include/NetworkManager.h: Remove NM_DBUS_NO_DEVICES_ERROR,
10760 NM_DBUS_NO_DIALUP_ERROR, NM_DBUS_NO_NETWORKS_ERROR,
10761 NM_DBUS_NO_ACTIVE_DEVICE_ERROR, NM_DBUS_NO_ACTIVE_NET_ERROR errors and
10762 NM_DBUS_SIGNAL_STATE_CHANGE signal.
10763 Remove NMNetworkStatus and NMActStage enums.
10765 2007-02-19 Tambet Ingo <tambet@ximian.com>
10767 * src/vpn-manager/nm-vpn-manager.c: Handle the DBUS state changes itself.
10768 Handle device state changes and disconnect VPN if it's device deactivates.
10770 * src/nm-dbus-nm.c:
10771 * src/nm-dbus-nm.h:
10772 * src/nm-dbus-device.c:
10773 * src/nm-dbus-device.c:
10774 * src/nm-dbus-net.c:
10775 * src/nm-dbus-net.h: Remove. All of it is implemented byt the new dbus API.
10777 * src/NetworkManagerMain.h: Get rid of all but 3 properties of NMData.
10779 * src/nm-device.c (nm_device_get_by_udi):
10780 (nm_device_get_by_iface): Remove. This doesn't belong here and is already
10781 implemented in the correct location (NMManager).
10782 Rip out all the test_device stuff.
10784 * src/NetworkManagerPolicy.c: Remove the leftover activation success and
10785 failure handlers, it's all done by NMDevice already.
10787 * src/NetworkManager.c: Move the signal handling here from nm-logging.c
10788 Remove the iochannel hack to route the unix signals to the main thread since
10789 we're not threaded anymore.
10791 * src/NetworkManagerAP.c: Implement HWAddress property.
10793 * src/NetworkManagerDbus.c: Remove the dbus signal sending code, it happens
10794 automatically with dbus-glib.
10796 * src/nm-netlink-monitor.c:
10797 * src/nm-netlink-monitor.h:
10798 - Move it low in the class hierarchy, don't reference any NM types.
10799 - Remove private data from the header.
10800 - Use type safe checks in public API methods.
10801 - Make it a singleton so we don't have to pass the single reference around.
10803 2007-02-16 Tambet Ingo <tambet@ximian.com>
10805 * introspection/nm-ip4-config.xml: Implement.
10807 * libnm-glib/libnm-glib-test.c: Use new DBUS API in tests.
10809 * libnm-glib/nm-ip4-config.c:
10810 * libnm-glib/nm-ip4-config.c: Implement.
10812 * src/nm-ap-security[-*]: Remove circular dependencies between APs and AP
10813 securities. APs reference security.
10815 * src/nm-device-802-11-wireless.c: Implement missing properties that need to
10816 be exported over DBUS.
10818 * src/nm-device-802-3-ethernet.c: Ditto.
10820 * src/NetworkManagerAP.c:
10821 * src/NetworkManagerAP.h:
10822 - Convert to GObject, export over DBUS.
10824 * src/nm-ip4-config.h:
10825 * src/nm-ip4-config.h:
10826 - Convert to GObject, export over DBUS.
10828 2007-02-12 Dan Williams <dcbw@redhat.com>
10830 Patch from Helmut Schaa <hschaa@suse.de>
10832 * vpn-daemons/pptp/configure.in
10833 vpn-daemons/pptp/Makefile.am
10834 vpn-daemons/openvpn/configure.in
10835 vpn-daemons/openvpn/Makefile.am
10836 vpn-daemons/vpnc/configure.in
10837 vpn-daemons/vpnc/Makefile.am
10838 - Add --without-gnome switch which disables building gnome bits
10840 2007-02-12 Tambet Ingo <tambet@ximian.com>
10842 * libnm-glib/nm-device.c (nm_device_get_use_dhcp): Remove.
10844 * libnm-glib/nm-access-point.c (nm_access_point_is_broadcast): Remove.
10846 * introspection/nm-device-802-3-ethernet.xml: Rename 'Address' property to
10849 * introspection/nm-device.xml: Remove 'UseDhcp' property.
10851 * introspection/nm-access-point.xml: Remove 'Broadcast' property.
10853 Totally break NetworkManager. Please use 0.6 branch until futher notice.
10856 - Remove old low-level dbus interface implementations and replace them
10857 with dbus-glib one.
10860 - Require dbus-glib >= 0.72.
10861 - Plug in new sources to build.
10864 - Implement GObject wrappers on top of DBUS glib auto-generated bindings
10865 to make it more convenient to use from GObject based programs.
10868 - Implement DBUS XML introspection files, used by both NM and libnm-glib.
10870 2007-02-09 Tambet Ingo <tambet@ximian.com>
10872 * src/nm-device-802-11-wireless.c:
10873 - Add "network-added" and "network-removed" signals.
10874 - Use gobject boilerplate macros to define the GObject.
10875 - Implement wireless device activation.
10876 - Remove activation_failure_handler and activation_success_handler
10877 and instead listen on state-changed signals and run the same code
10881 - Implment NMDeviceInterface::deactivate.
10882 - Remove activation_failure_handler and activation_success_handler
10883 virtual methods. Each device which is interested in these events
10884 can just listen on it's state changed signals.
10886 * src/NetworkManagerPolicy.c:
10887 - Move a bit more NMData usage to NMManager.
10888 - Remove activation scheduling bits.
10889 - Add listeners for wireless device's "network-added" and
10890 "network-removed" signals.
10891 - Listen device changed signals and deactivate currently activated
10892 device when another device start activating (for now).
10893 - Remove (nm_policy_schedule_device_change_check): There's never a need
10894 for calling this, the policy code knows exactly when this should happen,
10895 by listening on events from NMManager and NMDevices.
10897 * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_activate):
10900 * src/nm-dbus-nm.c (nm_dbus_nm_set_active_device): Call the activation
10901 method on the specific device instead of going to through policy code
10902 and determining the device type by passed in AP's existance.
10904 * src/nm-device-interface.c (nm_device_interface_deactivate): Implement the
10905 abstract NMDevice deactivation.
10907 2007-02-08 Tambet Ingo <tambet@ximian.com>
10909 * src/NetworkManager.c:
10910 - Set up all the shiny new managers.
10912 * src/NetworkManagerPolicy.c:
10913 - Add the beginnings of new NMPolicy code. Instead of requireing all
10914 classes to call into policy code, make the policy code kind of like
10915 a supervisor that monitors what's going on and drives the whole NM.
10917 * src/nm-hal-manager.c:
10918 * src/nm-hal-manager.h:
10919 - Collect all libhal code scattered around NM to this one class.
10920 - Listen libhal and NMManager events and add/remove devices to
10923 * src/nm-manager.c:
10924 * src/nm-manager.h:
10925 - Implment a replacement for NMData. NMData is now officially
10928 2007-02-05 Tambet Ingo <tambet@ximian.com>
10930 * src/nm-device-802-11-wireless.c (supplicant_iface_scan_result_cb):
10931 * src/supplicant-manager/nm-supplicant-interface.h
10932 * src/supplicant-manager/nm-supplicant-interface.c
10933 (nm_supplicant_interface_class_init): Change the "scan-result" signal's
10934 argument to boolean from enum.
10936 Make NMDevice abstract class, remove almost all references to it's
10937 subclasses (the last place gets removed with new policy manager). Add
10938 NMDeviceInterface (which NMDevice implements) so that when we have
10939 NMDevice exported over DBUS, there's a common NMDevice interface which
10940 all instances have, plus there's a device specific interface for each
10942 Remove functions (nm_device_is_802_3_ethernet) and
10943 (nm_device_is_802_11_wireless). There are already standard GObject macros
10944 for type safe checks.
10945 Use the updated supplican manager API.
10947 * src/nm-device-interface.h:
10948 * src/nm-device-interface.c:
10949 * src/nm-call-store.h:
10950 * src/nm-call-store.c: Implement.
10952 * src/supplicant-manager/nm-supplicant-interface.c:
10953 * src/supplicant-manager/nm-supplicant-interface.h:
10954 * src/supplicant-manager/nm-supplicant-manager.c:
10955 * src/supplicant-manager/nm-supplicant-manager.h:
10956 - Remove all private data type references from public header files.
10957 - Remove all references to other NM classes, this class is just a
10958 proxy between wpa_supplicant and NM so it doesn't have to know
10960 - Convert to dbus-glib bindings.
10961 - Type safe checks for public methods' arguments.
10962 - Store pending DBUS call ids to NMCallStore.
10964 * src/supplicant-manager/nm-supplicant-config.c:
10965 - Store config values in a GHashTable instead of GSList.
10967 * src/NetworkManagerMain.h: Remove all references to DHCP manager.
10969 * src/NetworkManager.c: Don't initialize the DHCP manager, it's a
10972 * src/nm-device.c: Use the new DHCP manager API.
10974 * src/nm-activation-request.c:
10975 * src/nm-activation-request.h:
10976 - Remove all dhcp related properties and methods.
10978 * src/dhcp-manager/nm-dhcp-marshal-main.c: Add.
10980 * src/dhcp-manager/nm-dhcp-marshal.list: Add.
10982 * src/dhcp-manager/nm-dhcp-manager.c:
10983 * src/dhcp-manager/nm-dhcp-manager.h:
10984 - Convert it to GObject since we need to signal state changes.
10985 - Remove all references to other NM classes, this class is one
10986 of the lowest classes in our hierarchy.
10987 - One less class to use NMActRequest.
10988 - Make it singleton, one less user of NMData.
10989 - Remove a couple of sleep() calls.
10990 - Convert a bunch of low-level dbus API calls to dbus-glib calls.
10991 One less class to use the NM's custom tailored signal handlig.
10993 * Makefile.am: Generate marshallers, add them to build.
10995 2007-02-02 Dan Williams <dcbw@redhat.com>
11001 - Remove last bits referencing gnome applet
11003 2007-02-02 Dan Williams <dcbw@redhat.com>
11005 * src/vpn-manager/nm-vpn-service.c
11006 - (nm_vpn_service_stage4_ip4_config_get): use uint32 arrays for DNS
11007 and NBNS server addresses
11009 2007-02-02 Tambet Ingo <tambet@ximian.com>
11011 * src/nm-dbus-manager.c:
11012 * src/nm-dbus-manager.h:
11013 - Convert all internal DBUS code to use dbus-glib bindings.
11014 - Remove GObject properties, we don't need them here.
11015 - Don't explicitly set things to NULL after freeing, glib is
11016 happy to do it if asked nicely (G_DEBUG=gc-friendly).
11017 - Make public API argument checks type safe.
11018 - Remove unnecessary (and wrong) cast to GObject for the first
11019 argument to g_signal_* calls - The first argument is a gpointer.
11020 - Export DBusGConnection to other cool classes that (are going to)
11023 2007-01-26 Dan Williams <dcbw@redhat.com>
11025 * libnm-util/dbus-dict-helpers.c
11026 libnm-util/dbus-dict-helpers.h
11027 - Coordinate style with wpa_supplicant version to minimize diff
11028 - Add uint32 array support
11029 - (nmu_dbus_dict_append_uint32_array): new function
11030 - (nmu_dbus_dict_begin_string_array, nmu_dbus_dict_string_array_add_element,
11031 nmu_dbus_dict_end_string_array): bring over from wpa_supplicant
11032 version; allow adding string array elements individually
11034 * test/libnm-util/test-dbus-dict-helpers.c
11035 - Test uint32 arrays
11037 2007-01-27 Jürg Billeter <j@bitron.ch>
11039 * src/backends/NetworkManagerPaldo.c
11040 - (nm_system_update_dns): clear nscd hosts cache
11042 2007-01-04 Dan Williams <dcbw@redhat.com>
11044 Threading removal related cleanups:
11046 - Use the glib default main context. Remove the device main context
11047 member from NMDevice, and the main_context member from NMData. Change
11048 all the idle and timeout scheduler functions to use plain
11049 g_idle_add() and g_timeout_add().
11051 - As a side-effect of the first change, nm_dbus_manager_get() no longer
11052 takes an argument; fix that up too.
11054 - Remove all locking, which is useless since we no longer use threads. For
11055 example, nm_get_device_by_iface_locked() has been removed. The global
11056 device list lock, the AP List lock, and all static locks in
11057 NetworkManagerPolicy.c have been removed. The locking utility functions
11058 in NetworkManagerUtils.c have also been removed.
11060 - Other cleanups in spacing and code style
11062 2007-01-01 Dan Williams <dcbw@redhat.com>
11064 Found by Bill Moss:
11066 * src/supplicant-manager/nm-supplicant-interface.c
11067 - (nm_supplicant_interface_disconnect): fix cleanup logic when
11068 the supplicant interface wasn't already disconnected. Always
11069 call removeNetwork and disconnect unless the supplicant interface
11070 is in the DISCONNECTED or INACTIVE state.
11072 2006-12-28 Dan Williams <dcbw@redhat.com>
11074 Use a single thread for everything. With the move to wpa_supplicant
11075 and communication over D-Bus, there's no reason for multiple threads.
11076 Almost all of the blocking code has been removed, with one exception in
11077 the DHCP manager and a few in the VPN manager. This commit removes the
11078 per-device worker thread and fixes activation cancellation in the absence
11079 of threads. Further removal of thread-related code would be removing
11080 any locking code (like the device list lock) and simplification of logic
11081 around areas of code or data structures that are currently locked.
11084 dhcp-manager/nm-dhcp-manager.c
11085 nm-device-802-11-wireless.c
11086 nm-device-802-3-ethernet.c
11089 - Remove usage of multiple threads
11091 2006-12-19 Dan Williams <dcbw@redhat.com>
11093 Big wpa_supplicant + dbus update; need latest wpa_supplicant from CVS
11094 plus a few other patches from wpa_supplicant bugzilla.
11097 src/NetworkManagerPolicy.c
11098 src/NetworkManagerUtils.c
11099 src/NetworkManagerUtils.h
11100 src/nm-ap-security-leap.c
11101 src/nm-ap-security-wep.c
11102 src/nm-ap-security-wpa-eap.c
11103 src/nm-ap-security-wpa-psk.c
11104 src/nm-ap-security.c
11105 src/nm-ap-security.h
11106 src/nm-device-802-11-wireless.c
11107 src/nm-device-802-11-wireless.h
11108 src/supplicant-manager/nm-supplicant-config.c
11109 src/supplicant-manager/nm-supplicant-config.h
11110 src/supplicant-manager/nm-supplicant-interface.c
11111 src/supplicant-manager/nm-supplicant-interface.h
11112 src/supplicant-manager/nm-supplicant-marshal.list
11113 src/supplicant-manager/nm-supplicant-settings-verify.c
11114 src/supplicant-manager/nm-supplicant-settings-verify.h
11115 - Move all connection management and association handling to
11116 wpa_supplicant over dbus, rather than spawning a private copy
11118 2006-12-19 Dan Williams <dcbw@redhat.com>
11120 * src/NetworkManagerPolicy.c
11121 - (nm_policy_device_change_check, nm_policy_schedule_device_change_check):
11122 better locking of the device change check handler ID. Incorrect
11123 locking was causing lost device change requests
11125 2006-12-18 Dan Williams <dcbw@redhat.com>
11127 * libnm-util/dbus-dict-helpers.c
11128 - (_nmu_dbus_dict_entry_get_array, _nmu_dbus_dict_entry_get_string_array,
11129 _nmu_dbus_dict_entry_get_byte_array): replace usage of
11130 dbus_message_iter_get_array_len() (Gnome.org #382898)
11132 2006-12-18 Dan Williams <dcbw@redhat.com>
11134 * gnome/libnm_glib/libnm_glib.c
11135 - Change dbus_connection_close() -> dbus_connection_unref()
11137 2006-12-11 Dan Williams <dcbw@redhat.com>
11139 * src/supplicant-manager/nm-supplicant-interface.c
11140 - (iface_state_cb, wpas_iface_get_state): new functions; query initial
11141 wpa_supplicant interface state
11142 - (nm_supplicant_interface_add_cb): query initial wpa_supplicant interface
11143 state before transitioning to READY state
11145 2006-12-04 Dan Williams <dcbw@redhat.com>
11147 * src/nm-device-802-11-wireless.c
11148 - (supplicant_iface_scanned_ap_cb): fix parsing of hidden APs due to
11149 odd length of ESSID returned from ieee80211 stack-based drivers
11151 2006-12-04 Dan Williams <dcbw@redhat.com>
11153 * src/nm-device-802-11-wireless.c
11154 - (supplicant_iface_scanned_ap_cb): remove erroneous & from WPA & RSN
11155 IE handling blocks that cause mis-parsing of the IE
11157 2006-12-04 Dan Williams <dcbw@redhat.com>
11159 * src/nm-device-802-11-wireless.c
11160 - (init_supplicant_interface): new function; pull supplicant interface
11161 setup code out into standalone function since it must be called from
11162 two different places
11163 - (real_init): sup_mgr is now in private object data; get and track
11164 the supplicant manager object over the NMDevice subclass' lifetime
11165 and register a signal handler for its state signals; only try to
11166 initialize the supplicant interface if the supplicant manager is in
11167 the IDLE state (and therefore is ready for requests)
11168 - (request_wireless_scan): reschedule the scan request if (a) there is
11169 no supplicant interface yet (meaning wpa_supplicant isn't running
11170 or isn't ready yet), or (b) if the supplicant interface isn't ready
11172 - (supplicant_iface_connection_state_cb): new function; stub for
11173 handling supplicant interface connection state signals
11174 - (supplicant_mgr_state_cb): do the right thing when wpa_supplicant
11176 - (nm_device_802_11_wireless_dispose): clean up spacing; release the
11177 supplicant manager object that's being tracked starting with this
11180 2006-12-04 Dan Williams <dcbw@redhat.com>
11182 * src/supplicant-manager/nm-supplicant-interface.c
11183 - (nm_supplicant_interface_set_property): track signal handler ID
11184 - (nm_supplicant_interface_dispose): remove signal handler on dispose
11186 2006-12-04 Dan Williams <dcbw@redhat.com>
11188 * src/supplicant-manager/nm-supplicant-interface.[ch]
11189 - (nm_supplicant_interface_get_state): new function
11191 2006-12-04 Dan Williams <dcbw@redhat.com>
11193 * src/supplicant-manager/nm-supplicant-interface.c
11194 - (bssid_properties_cb): don't treat DBus errors as valid
11195 scanned AP messages
11197 2006-12-04 Dan Williams <dcbw@redhat.com>
11199 * src/supplicant-manager/nm-supplicant-interface.[ch]
11200 - (nm_supplicant_interface_get_connection_state): new function
11201 - define new supplicant connection states
11202 - send a signal when the supplicant connection state changes
11204 2006-12-03 Dan Williams <dcbw@redhat.com>
11206 * src/supplicant-manager/Makefile.am
11207 src/supplicant-manager/nm-supplicant-connection.h
11208 src/supplicant-manager/nm-supplicant-connection.c
11209 src/supplicant-manager/nm-supplicant-config.h
11210 src/supplicant-manager/nm-supplicant-config.c
11211 src/supplicant-manager/nm-supplicant-types.h
11212 src/supplicant-manager/nm-supplicant-interface.h
11213 src/supplicant-manager/nm-supplicant-interface.c
11214 - Rename NMSupplicantConnection -> NMSupplicantConfig
11216 2006-12-03 Dan Williams <dcbw@redhat.com>
11218 Patch from Gabor Kelemen <kelemeng@gnome.hu> (Gnome.org #381890)
11222 - Move VPN-related translatables to .skip
11224 * vpn-daemons/pptp/po/POTFILES.in
11225 - Update with new translatables
11227 2006-12-02 Dan Williams <dcbw@redhat.com>
11229 Patch from Christian Persch <chpe@gnome.org>
11231 * gnome/applet/Makefile.am
11232 gnome/applet/applet-dbus-devices.c
11233 gnome/applet/applet-notifications.c
11234 gnome/applet/applet.c
11235 gnome/applet/applet.h
11236 gnome/applet/main.c
11237 - Be a GtkStatusIcon on GTK+ >= 2.10
11239 2006-12-02 Dan Williams <dcbw@redhat.com>
11241 * gnome/applet/applet.c
11242 - (nma_update_info): fix two unecessary allocations
11244 2006-12-02 Dan Williams <dcbw@redhat.com>
11246 Patch from Michael Biebl <biebl@teco.edu>
11248 man/NetworkManager.1.in
11249 man/NetworkManagerDispatcher.1.in
11250 man/NetworkManager.8.in
11251 man/NetworkManagerDispatcher.8.in
11252 - Add .SH NAME stanzas
11253 - Move NM & NM Dispatcher manpages to section 8 (admin)
11255 2006-12-02 Dan Williams <dcbw@redhat.com>
11257 Patch from Christian Persch <chpe@gnome.org>
11260 - Check for GTK+ 2.10 in preparation for GtkStatusIcon patch
11262 2006-11-29 Tambet Ingo <tambet@ximian.com>
11264 Patch by Timo Hoenig <thoenig@suse.de>:
11265 * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Make it work with
11268 * src/supplicant-manager/Makefile.am: Add nm-supplicant-marshal here, since
11269 we can't use the one from the main source directory.
11271 2006-11-27 Dan Williams <dcbw@redhat.com>
11273 Patch from Christian Persch <chpe@gnome.org>
11275 * gnome/applet/applet-dbus-devices.c
11276 - (hal_info_product_cb): fix memleak; free duped string.
11279 2006-11-27 Dan Williams <dcbw@redhat.com>
11281 Patch from Christian Persch <chpe@gnome.org>
11283 * gnome/applet/menu-items.c
11284 - (network_menu_item_update): use gtk_progress_bar_set_fraction()
11285 as gtk_progress_set_percentage is deprecated. Should
11286 work as far back as GTK+ 2.4. Gnome.org #379780
11288 2006-11-26 Dan Williams <dcbw@redhat.com>
11290 Scan using wpa_supplicant over DBus.
11292 * src/nm-device-802-11-wireless.c
11293 - remove wireless extensions netlink event handler bits
11294 (wireless_event_helper, nm_device_802_11_wireless_event)
11295 - remove wireless extensions scan event handler bits
11296 (process_scan_results, add_new_ap_to_device_list, hexstr2bin,
11297 hex2byte, hex2num, request_and_convert_scan_results,
11298 free_process_scan_cb_data, scan_results_timeout,
11299 schedule_scan_results_timeout, cancel_scan_results_timeout)
11300 - Rename nm_device_802_11_wireless_scan() -> request_wireless_scan()
11301 and request scans from the supplicant interface rather than directly
11302 - Move functionality of convert_scan_results() to cull_scan_list() and
11303 supplicant_iface_scanned_ap_cb()
11304 - (supplicant_iface_scan_result_cb): new function; schedule a new scan
11305 at the scan interval when the current scan has finished
11306 - (supplicant_iface_state_cb): start scanning when the supplicant
11307 interface enters the READY state, and stop scanning when it
11308 enters the DOWN state
11309 - (cull_scan_list): weed out old access points from the scan list
11310 - (supplicant_iface_scanned_ap_cb): convert a supplicant scanned access
11311 point into an NMAccessPoint and merge it into the device's scan list
11313 * src/supplicant-manager/nm-supplicant-interface.c
11314 src/supplicant-manager/nm-supplicant-interface.h
11315 - Add a new signal "scan-result" which is issued when the supplicant
11316 notifies NM that a scan has completed
11317 - Add a new signal "scanned-ap" that notifies listeners of a new access
11318 point found in the scan. Called once for each access point that
11319 the supplicant interface object receives from the supplicant as a
11320 result of the "scanResults" method call
11321 - (wpas_iface_query_scan_results): don't wait 4s before querying
11322 for the initial scan results
11323 - (scan_request_cb): new function; send listeners the result
11324 (success, error) of a wireless scan request
11325 - (nm_supplicant_interface_request_scan): new function; ask the
11326 supplicant to perform an immediate wireless scan
11328 2006-11-25 Dan Williams <dcbw@redhat.com>
11330 * src/supplicant-manager/Makefile.am
11331 - Since we're including NetworkManagerMain.h in nm-supplicant-interface.c,
11332 add HAL cflags/includes and named-manager includes directory
11334 * src/supplicant-manager/nm-supplicant-interface.h
11335 - New state STARTING to handle transition from INIT to READY where
11336 the addInterface pending call is still outstanding
11338 * src/supplicant-manager/nm-supplicant-interface.c
11339 - track pending calls differently since we may have more than one
11340 going on at any given time
11341 - request scan results from wpa_supplicant; but don't do it more often
11342 than every 4 seconds. Drivers that do background scanning
11343 (like the 'ipw' drivers) send a continuous stream of scan completion
11344 notifications, so we don't want to hammer the supplicant or dbus
11345 with requests for all scan results every time we get a completion
11348 2006-11-25 Dan Williams <dcbw@redhat.com>
11350 * src/supplicant-manager/nm-supplicant-types.h
11351 - new file; move all supplicant manager object typedefs here for
11354 * src/supplicant-manager/nm-supplicant-interface.c
11355 src/supplicant-manager/nm-supplicant-interface.h
11356 - new file; an object that interfaces an NMDevice object to the
11357 supplicant and handles signals from the supplicant. This object
11358 does all necessary DBus communication with wpa_supplicant.
11360 * src/supplicant-manager/nm-supplicant-manager.c
11361 src/supplicant-manager/nm-supplicant-manager.h
11362 - Actually do something. Track the state of the wpa_supplicant service
11363 and deal with its comings & goings. Handle life events of
11364 supplicant interfaces too.
11365 - Move NMSupplicantManager typedef to nm-supplicant-types.h
11367 * src/supplicant-manager/nm-supplicant-connection.h
11368 - Move NMSupplicantConnection typedef to nm-supplicant-types.h
11370 * src/supplicant-manager/Makefile.am
11371 - Add new files to build, and add libnm-util to includes
11373 * src/nm-marshal.list
11374 - New marshaler type: VOID:UINT,UINT
11376 * src/nm-device-802-3-ethernet.c
11377 - (real_init): grab a supplicant interface
11378 - (nm_device_802_3_ethernet_dispose): release the supplicant interface
11379 - (supplicant_iface_state_cb): new function, stub for handling
11380 supplicant interface state changes
11382 * src/nm-device-802-11-wireless.c
11383 - (real_init): grab a supplicant interface
11384 - (nm_device_802_11_wireless_dispose): release the supplicant interface
11385 - (supplicant_iface_state_cb): new function, stub for handling
11386 supplicant interface state changes
11388 * src/NetworkManager.c
11389 - (main): create and keep the supplicant manager around for the lifetime
11393 - Link to the supplicant manager sub-library and use the supplicant
11396 2006-11-25 Dan Williams <dcbw@redhat.com>
11398 Rework DBus manager signal handling to be more flexible. Previously,
11399 only one signal handler could be registered for a particular interface.
11400 The DBus manager now reference counts DBus bus matches and allows multiple
11401 clients to register signal handlers for the same interface and sender.
11403 * src/NetworkManager.c
11404 - (main): track NMI signal handler ID and remove it when we quit
11406 * src/NetworkManagerMain.h
11407 - Keep track of NMI signal handler ID
11409 * src/nm-dbus-manager.c
11410 src/nm-dbus-manager.h
11411 - rework signal handling; each signal handler references one signal
11412 match, but a signal match may be referenced by one or more
11413 signal handlers. Matches are refcounted and are destroyed when the
11414 last signal handler that references the match is removed. This is
11415 necessary because two signal handlers may end up requiring the same
11416 dbus bus match, so the match must live until the last signal handler
11417 is destroyed (for example, with the wpa_supplicant network interface
11420 * src/dhcp-manager/nm-dhcp-manager.c
11421 - (nm_dhcp_manager_new): track DHCP signal handler id
11422 - (nm_dhcp_manager_dispose): remove DHCP signal handler
11424 * src/vpn-manager/nm-vpn-service.c
11425 - (nm_vpn_service_add_watch): track VPN service signal handler id
11426 - (nm_vpn_service_remove_watch): remove VPN service signal handler
11428 2006-11-25 Dan Williams <dcbw@redhat.com>
11430 Suggested by Helmut Schaa <hschaa@suse.de>
11432 * src/vpn-daemons/nm-vpn-service.c
11433 - (supplicant_child_setup): new function
11434 - (supplicant_exec): make child process use a new process group id
11436 * src/nm-device-802-11-wireless.c
11437 - (nm_vpn_service_child_setup): new function
11438 - (nm_vpn_service_stage1_daemon_exec): make child process use a new
11441 2006-11-19 Dan Williams <dcbw@redhat.com>
11443 Patch from Dan Berrange <dan@berrange.com> Gnome.org #377262
11444 * gnome/vpn-properties/nm-vpn-properties.c
11445 - clean up after renamed VPN connection
11447 2006-11-19 Dan Williams <dcbw@redhat.com>
11449 Patch from Dan Berrange <dan@berrange.com> Gnome.org #377205
11450 * gnome/applet/applet-dbus-vpn.c
11451 - (nma_dbus_vpn_properties_cb): sort VPN connections
11453 * gnome/vpn-properties/nm-vpn-properties.c
11454 - (init_app): sort VPN connections
11456 2006-11-09 Dan Williams <dcbw@redhat.com>
11458 * src/NetworkManagerAPList.c
11459 - (nm_ap_list_copy_one_essid_by_address): fix bug due to previous
11460 code cleanup in revision 1.56; the split of the !nm_ap_get_essid()
11461 from the nm_ap_list_get_ap_by_address() call was incorrect and
11462 broke hidden SSID matching. Found by Bill Moss.
11464 2006-10-25 Dan Williams <dcbw@redhat.com>
11467 - (nm_dbus_nm_set_active_device): return an empty success message on
11468 success, rather than falling through to the error case.
11470 2006-10-25 Dan Williams <dcbw@redhat.com>
11472 * src/NetworkManagerUtils.c
11473 - (nm_utils_supplicant_request_with_check): suppress messages for the
11476 2006-10-24 Dan Williams <dcbw@redhat.com>
11478 Reduce the number of times the Gnome applet wakes up, especially when
11479 it's doing absolutely nothing and is hidden. Initial patch by
11482 * gnome/applet/applet-dbus.c
11483 - (nma_dbus_filter): when NM isn't around, or when it goes away,
11484 kill the redraw timeout. When NM starts up, start the redraw
11485 timeout. Also, if we get kicked off the bus for some reason,
11486 start the reconnection timeout if one's not already running.
11487 - (nma_dbus_init): better handling of error conditions, don't leak
11488 a half-initialized dbus connection
11489 - (nma_dbus_connection_watcher): consolidate places we reinitialize
11490 the applet's data, just call nm_dbus_init_helper()
11491 - (nma_start_dbus_connection_watch): new function, starts a periodic
11492 timeout that calls nma_dbus_connection_watcher()
11493 - (nma_dbus_init_helper): if we get a successful connection, kill the
11494 reconnection timeout, and don't start the reconnection timeout
11495 unconditionally anymore
11497 * gnome/applet/applet-dbus.h
11498 - Expose nma_start_dbus_connection_watch()
11500 * gnome/applet/applet.c
11501 - (nma_update_state): no longer static, called from applet-dbus.c for
11502 immediate UI updates on certain events
11503 - (nma_set_running): new function; take over setting applet->running,
11504 when not running (ie, NM is not active), don't activate the redraw
11505 timeout because we're not showing the applet anyway. When we are
11506 running (ie, NM is active), and only when we're running, start the
11508 - (nma_destroy): kill the redraw timeout by setting 'not running', and
11509 kill any reconnection timeout
11510 - (nma_get_instance): move one-off dbus initialization code here since
11511 nm_dbus_init_helper() gets called more than once, possibly by the
11512 reconnection timeout function too. And, when we start up, if we
11513 can't get a connection to the bus, start the reconnection timeout.
11514 But don't start the redraw timeout yet, only do that when we get
11515 NM's state and find out if it's running or not.
11517 * gnome/applet/applet.h
11518 - Add the reconnection GSource ID
11519 - Add prototypes for nma_set_running() and the no-longer-static
11522 2006-10-24 Dan Williams <dcbw@redhat.com>
11524 * src/vpn-daemons/nm-dbus-vpnc.c
11525 - (nm_dbus_vpn_update_one_connection_cb): unregister pending call in
11526 pending call tracker
11527 - (nm_dbus_vpn_connections_update_cb): unregister pending call in
11528 pending call tracker; register one-vpn-connection update pending
11529 call in pending call tracker
11530 - (nm_dbus_vpn_update_one_vpn_connection): register one-vpn-connection
11531 update pending call in pending call tracker
11532 - (nm_dbus_vpn_connections_update_from_nmi): register vpn-connections
11533 update pending call in pending call tracker; don't block waiting
11536 2006-10-19 Robert Love <rml@novell.com>
11538 * src/backends/NetworkManagerSuSE.c: Don't ever restart nscd; just
11541 2006-10-14 Dan Williams <dcbw@redhat.com>
11543 * src/dhcp-manager/nm-dhcp-manager.c
11544 - (get_ip4_string, get_ip4_uint32s): have the caller pass
11545 the dbus connection and the device object path rather than
11546 constructing it inside both functions. Saves a bit of memory
11547 and clarifies a failure path.
11548 - (nm_dhcp_manager_get_ip4_config): grab the dbus connection
11549 and allocate device path here rather than each of the two
11552 2006-10-13 Dan Williams <dcbw@redhat.com>
11554 * src/NetworkManager.c
11555 - (nm_name_owner_changed_handler): handle NMI coming and going,
11556 this somehow droppout in the refactor
11558 2006-10-13 Dan Williams <dcbw@redhat.com>
11560 * Huge DBus refactor:
11561 - Create a "DBus Manager" object which manages the connection and
11562 sends signals on NameOwnerChanged and connection/disconnection events,
11563 handles reconnection to the bus if NM gets kicked off, and abstracts
11565 - Remove DBusConnection members from places where they are no
11566 longer needed due to the refactor, like the dbus-connection
11567 property of the named manager, and from NMData
11568 - Reformats a bunch of the code to gnome style
11569 (8-space tabs, braces on same line as statement, 80-col width).
11570 Consider it open season to reformat any bits to gnome style.
11571 style that aren't already.
11573 2006-10-13 Dan Williams <dcbw@redhat.com>
11575 * src/supplicant-manager/Makefile.am
11578 * src/supplicant-manager/nm-supplicant-manager.[ch]:
11579 - Make it a minimal GObject
11581 * src/supplicant-manager/nm-supplicant-settings-verify.[ch]:
11582 - Verify settings destined for wpa_supplicant
11584 * src/supplicant-manager/nm-supplicant-connection.[ch]:
11585 - Minimal GObject to track wpa_supplicant controlled device
11588 2006-10-13 Wouter Bolsterlee <wbolster@gnome.org>
11590 * gnome/applet/applet.c: (nma_update_info),
11591 (nma_act_stage_to_pixbuf), (nma_update_state):
11592 Mark missing strings for translation. Fixes bug #343306.
11594 2006-10-01 Dan Williams <dcbw@redhat.com>
11596 * src/vpn-manager/nm-vpn-manager.c
11597 - (nm_vpn_manager_load_services): split and clean up
11598 for readability and correctness. Restrict VPN service
11599 files to ending in ".name", as was meant from the
11600 beginning (but not coded in). Better error reporting.
11602 2006-10-01 Dan Williams <dcbw@redhat.com>
11605 - Clean up formatting of debug/info/warning log messages
11607 2006-09-27 Robert Love <rml@novell.com>
11609 Patch by Tambet Ingo <tambet@ximian.com>:
11610 * gnome/vpn-properties/nm-vpn-properties.c: Make Renaming a VPN entry
11613 2006-09-07 Dan Williams <dcbw@redhat.com>
11616 test/libnm-util/Makefile.am
11617 test/nm-supplicant-test.c
11618 - Add test program emulating the way NM drives wpa_supplicant
11619 to help debug supplicant issues
11621 2006-08-24 Dan Williams <dcbw@redhat.com>
11625 src/supplicant-manager/Makefile.am
11626 src/supplicant-manager/nm-supplicant-manager.c
11627 src/supplicant-manager/nm-supplicant-manager.h
11628 - Add skeleton bits of the wpa_supplicant manager
11630 2006-08-24 Dan Williams <dcbw@redhat.com>
11632 Patch from Ed Catmur:
11633 * src/NetworkManagerUtils.c
11634 - (nm_utils_ip4_netmask_to_prefix): don't infinitely loop
11635 if netmask is 0 (Gnome #352634)
11637 2006-08-17 Robert Love <rml@novell.com>
11639 * src/backends/NetworkManagerSuSE.c: Do not restart ypbind; our ypbind
11640 package is now DBUS-enabled and listens for the NM signals.
11642 2006-08-14 Dan Williams <dcbw@redhat.com>
11644 * Patch from Christian Persch <chpe gnome org>
11647 vpn-daemons/openvpn/po/LINGUAS
11648 vpn-daemons/openvpn/configure.in
11649 vpn-daemons/pptp/po/LINGUAS
11650 vpn-daemons/pptp/configure.in
11651 vpn-daemons/vpnc/po/LINGUAS
11652 vpn-daemons/vpnc/configure.in
11653 - Convert to LINGUAS method so translators don't have to modify
11654 configure.in, just stuff in po/. Gnome #343132, requires intltool
11657 2006-08-14 Dan Williams <dcbw@redhat.com>
11659 Patch from Alex Smith <alex.extreme2@gmail.com>
11661 src/backends/Makefile.am
11662 src/backends/NetworkManagerFrugalware.c
11663 - Add support for Frugalware
11665 2006-08-13 Dan Williams <dcbw@redhat.com>
11667 Patch from Valentine Sinitsyn <e_val@inbox.ru>
11668 * src/nm-device-802-11-wireless.c
11669 - (supplicant_exec): spawn wpa_supplicant without debug spew
11672 2006-08-13 Dan Williams <dcbw@redhat.com>
11674 Patch from Valentine Sinitsyn <e_val@inbox.ru>
11675 * src/nm-ap-security.c
11676 src/nm-ap-security.h
11677 - Add authentication_required bits for subclasses to specify whether
11678 or not real authentication is required for connections, i.e. whether
11679 the AP rejects us when an encryption key is wrong or not.
11681 * src/nm-ap-security-wep.c
11682 src/nm-ap-security-wpa-eap.c
11683 src/nm-ap-security-wpa-psk.c
11684 src/nm-ap-security-leap.c
11685 - Implement authentication_required appropriately for each method
11687 * src/nm-device-802-11-wireless.c
11688 - Be smarter about when to request a key; for example, using a wrong key
11689 in WEP shared key mode previously just timed out and did not request
11692 2006-08-13 Dan Williams <dcbw@redhat.com>
11694 * gnome/libnm_glib/libnm_glib.c
11695 - dbus_connection_disconnect() -> dbus_connection_close() for
11698 2006-08-07 Dan Williams <dcbw@redhat.com>
11700 Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
11701 * src/NetworkManagerSystem.c
11702 - Respect specified MTU. Gnome #344967
11704 2006-08-07 Dan Williams <dcbw@redhat.com>
11706 * src/vpn-manager/nm-vpn-service.c
11707 - Simplify print_vpn_config() arguments
11709 Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
11710 * src/vpn-manager/Makefile.am
11711 src/vpn-manager/nm-vpn-service.c
11712 - Add new API for passing VPN config options as a dict. Gnome #344967
11714 2006-08-06 Dan Williams <dcbw@redhat.com>
11716 * gnome/applet/applet-dbus-devices.c
11717 gnome/applet/applet-dbus-vpn.c
11718 gnome/applet/applet-dbus.c
11719 gnome/applet/applet-dbus.h
11723 - Make pending call tracking code generic,
11724 so we can use it in NM as well as the applet
11726 2006-08-06 Dan Williams <dcbw@redhat.com>
11728 * src/nm-activation-request.c
11729 - Refcount pending call objects
11731 2006-08-06 Dan Williams <dcbw@redhat.com>
11733 Patch from Christan Chiesa <christanc@gmail.com>
11735 - Tell sha1.c to use bigendian mode on PPC
11737 2006-08-04 Robert Love <rml@novell.com>
11739 Glib Memory Slices!
11740 * configure.in: Require glib 2.10 or later.
11741 * src/NetworkManager.c, src/NetworkManagerAP.c, src/nm-ip4-config.c,
11742 src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
11743 src/NetworkManagerDbusUtils.c, src/nm-dbus-nmi.c, src/wpa.c,
11744 src/nm-device-802-11-wireless.c: Convert applicable g_malloc and
11745 g_new calls to g_slice_new. Likewise for g_free to g_slice_free.
11746 Memory Slices are the greatest thing since bread slices.
11747 * src/NetworkManagerAP.c: Also, fix memory leak.
11749 2006-08-01 Robert Love <rml@novell.com>
11751 * gnome/applet/main.c: Shutdown all VPN connections on logout.
11753 2006-07-31 Robert Love <rml@novell.com>
11755 * src/backends/interface_parser.c: Declarations must begin the block.
11757 2006-07-24 Dan Williams <dcbw@redhat.com>
11759 Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
11760 * src/backends/Makefile.am
11761 src/backends/NetworkManagerArch.c
11762 src/backends/NetworkManagerDebian.c
11763 src/backends/NetworkManagerGeneric.c
11764 src/backends/NetworkManagerGeneric.h
11765 src/backends/NetworkManagerGentoo.c
11766 src/backends/NetworkManagerPaldo.c
11767 src/backends/NetworkManagerRedHat.c
11768 src/backends/NetworkManagerSlackware.c
11769 src/backends/NetworkManagerSuSE.c
11770 - Genericize common backend functions
11772 2006-07-18 Robert Love <rml@novell.com>
11774 * configure.in: Add "--with-notify" option to allow disabling of
11777 2006-07-13 Dan Williams <dcbw@redhat.com>
11779 Patch from Thiago Bauermann <thiago.bauermann@gmail.com>
11780 * gnome/applet/applet.glade
11781 gnome/applet/Makefile.am
11782 gnome/applet/nm-gconf-wso.c
11783 gnome/applet/nm-gconf-wso-leap.c
11784 gnome/applet/nm-gconf-wso-leap.h
11785 gnome/applet/wireless-security-manager.c
11786 gnome/applet/wso-leap.c
11787 gnome/applet/wso-leap.h
11788 include/NetworkManager.h
11789 libnm-util/dbus-helpers.c
11790 libnm-util/dbus-helpers.h
11792 src/NetworkManagerAP.c
11793 src/nm-ap-security.c
11794 src/nm-ap-security-leap.c
11795 src/nm-ap-security-leap.h
11796 - Add LEAP authentication support
11798 2006-07-13 Dan Williams <dcbw@redhat.com>
11800 Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
11802 src/backends/NetworkManagerArch.c
11803 src/backends/NetworkManagerDebian.c
11804 src/backends/NetworkManagerGentoo.c
11805 src/backends/NetworkManagerPaldo.c
11806 src/backends/NetworkManagerRedHat.c
11807 src/backends/NetworkManagerSlackware.c
11808 src/backends/NetworkManagerSuSE.c
11809 - Convert hardcoding of 'ip' path to configure-time
11812 2006-07-12 Leonid Kanter <leon@asplinux.ru>
11814 * configure.in: added ru to ALL_LINGUAS
11816 2006-07-10 Dan Williams <dcbw@redhat.com>
11818 Patch from Valentine Sinitsyn <e_val@inbox.ru>
11820 - (real_act_stage3_ip_config_start): don't infinite loop when
11821 dhcdbd isn't running (Gnome #346845)
11823 2006-07-09 Dan Williams <dcbw@redhat.com>
11825 * gnome/applet/applet.c
11826 - (nma_destroy): don't pass NULL to notify_notification_close
11829 2006-07-09 Dan Williams <dcbw@redhat.com>
11831 * gnome/applet/applet.c
11832 - (nma_about_cb): remove empty documenters tab (Gnome #341324)
11834 2006-07-04 Tor Krill <tor@krill.nu>
11836 Patch from Valentine Sinitsyn <e_val@inbox.ru>
11837 * src/backends/NetworkManagerArch.c: (nm_system_update_dns),
11838 (nm_system_restart_mdns_responder), (ArchReadConfig),
11839 (nm_system_device_get_system_config):
11840 - Explicitly check for DHCP configuration
11841 - Check if daemons are running before starting them
11843 2006-06-25 Dan Williams <dcbw@redhat.com>
11845 * libnm-util/dbus-dict-helpers.[ch]
11846 test/libnm-util/test-dbus-dict-helpers.c
11847 - Add string array support
11849 2006-06-24 Dan Williams <dcbw@redhat.com>
11851 * src/dhcp-manager/nm-dhcp-manager.c
11852 - (nm_dhcp_manager_process_signal): clean up spacing
11854 2006-06-21 Dan Williams <dcbw@redhat.com>
11856 * src/nm-dbus-device.c
11857 - (nm_dbus_device_get_driver): don't try to stuff a NULL
11860 2006-06-21 Raivis Dejus <orvils@gmail.com>
11862 * configure.in: Added 'lv' to ALL_LINGUAS
11864 2006-06-19 Dan Williams <dcbw@redhat.com>
11866 * src/NetworkManagerAP.c
11867 - Clarify usage of user_created
11869 * src/nm-ap-security-wep.c
11870 src/nm-ap-security-wpa-eap.c
11871 src/nm-ap-security-wpa-psk.c
11872 src/nm-ap-security.c
11873 src/nm-ap-security.h
11874 - s/user_created/adhoc, because we really do mean adhoc
11876 Patch from Bernard Blackham <bernard@blackham.com.au>
11877 * src/nm-device-802-11-wireless.c
11878 - (supplicant_send_network_config): instead of user_created,
11879 use adhoc, and do AP_SCAN 2 for adhoc networks
11881 2006-06-18 Robert Love <rml@novell.com>
11883 * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the Gconf keys unless
11884 we have a value to set. Gconf generates a warning if `val' is NULL.
11885 * src/nm-ap-security-wpa-eap.c: Don't set the key for an Enterprise AP
11886 unless we actually received a valid private key file passphrase or
11887 password. Otherwise, we don't know to later ask the applet to pull
11888 the key from the keyring.
11890 2006-06-17 Dan Williams <dcbw@redhat.com>
11892 * libnm-util/dbus-dict-helpers.[ch]
11893 test/libnm-util/test-dbus-dict-helpers.c
11894 - Fixes for zero-length byte arrays
11895 - Replace return values of 0 with FALSE for clarity
11896 - Test zero-length byte arrays
11898 2006-06-17 Dan Williams <dcbw@redhat.com>
11900 * libnm-util/dbus-dict-helpers.[ch]
11901 test/libnm-util/test-dbus-dict-helpers.c
11902 - Add helpers for byte arrays
11903 - Rework bits of the testcase
11905 2006-06-16 Dan Williams <dcbw@redhat.com>
11907 * libnm-util/Makefile.am
11908 * libnm-util/dbus-dict-helpers.[ch]
11909 - Add some helpers to take the pain out of using dict types in
11912 * test/libnm-util/Makefile.am
11913 * test/libnm-util/test-dbus-dict-helpers.c
11914 - Test cases for the dict helper functions
11916 2006-06-15 Robert Love <rml@novell.com>
11918 * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the key unless there
11919 is a non-empty key to set. Elsewhere, pass an empty string via DBUS
11920 if there is no key to pass.
11921 * libnm-util/dbus-helpers.c: Given the above, we can trust always
11922 receiving a non-NULL key.
11924 2006-06-14 Robert Love <rml@novell.com>
11926 * src/nm-ap-security-wpa-eap.c: In real_copy_constructor(), actually
11930 2006-06-14 Dan Williams <dcbw@redhat.com>
11932 Patch from Lorenzo Colitti <lorenzo@colitti.com> gnome.org #344825
11933 * src/nm-device-802-11-wireless.c
11934 - (nm_device_802_11_wireless_set_essid): only wait for orinoco cards
11935 or ones where the driver is unknown
11936 - (supplicant_exec): don't wait for supplicant startup here
11937 - (supplicant_interface_init): finer grained polling for supplicant
11940 2006-06-13 Robert Love <rml@novell.com>
11942 * gnome/applet/applet-dbus-info.c: Don't set the fallback bit to FALSE
11943 if it is currently set to TRUE. Otherwise, we will reset the value
11944 when we connect normally.
11945 * src/nm-device-802-11-wireless.c: For the roaming code, make sure that
11946 the old BSSID is valid, too. The recently added ESSID check may not be
11947 sufficient (we can remove it?). What we really want to catch is the
11948 case of going from all-zeros to the BSSID of some other network, which
11949 happens on failure.
11951 2006-06-09 Dan Williams <dcbw@redhat.com>
11953 * src/NetworkManagerSystem.[ch]
11954 - (nm_system_device_set_up_down_with_iface): remove 'dev' argument,
11955 it was unused and pointless
11956 - (nm_system_vpn_device_set_from_iface, nm_system_device_set_up_down):
11957 fix for set_up_down_with_iface change
11959 * src/vpn-manager/nm-vpn-connection.c
11960 - (nm_vpn_connection_deactivate): fix for set_up_down_with_iface change
11962 * src/backends/NetworkManagerPaldo.c
11963 src/backends/NetworkManagerRedHat.c
11964 src/backends/NetworkManagerSuSE.c
11965 src/backends/NetworkManagerArch.c
11966 src/backends/NetworkManagerDebian.c
11967 src/backends/NetworkManagerGentoo.c
11968 - (nm_system_enable_loopback): use set_up_down_with_iface where
11970 - (nm_system_flush_loopback_routes): use flush_routes_with_iface
11973 2006-06-09 Dan Williams <dcbw@redhat.com>
11975 Patch from Peter Jones:
11976 * src/nm-device-802-11-wireless.c
11977 - (nm_device_802_11_wireless_update_bssid): make sure that the
11978 SSID hasn't changed from what we expect before automatically
11979 updating the saved BSSID from a new AP
11981 2006-06-08 Robert Love <rml@novell.com>
11983 Add 'fallback' support. NetworkManager will attempt to brute-force
11984 connect to networks marked as fallback if there are no better wireless
11985 connections available. This is useful as a method of last resort, to
11986 work around driver problems, and for use with hidden networks.
11987 * gnome/applet/applet-dbus-devices.c,
11988 gnome/applet/applet-dbus-devices.h: Add fallback parameter.
11989 * gnome/applet/applet-dbus-info.c: Retrieve fallback bit from Gconf and
11990 pass it on via DBUS.
11991 * gnome/applet/applet.c: No fallback by default.
11992 * gnome/applet/applet.glade, gnome/applet/other-network-dialog.c:
11993 Update other-network-dialog to add UI checkbox toggling fallback.
11994 * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Remove "trusted"
11995 propery from AP object. Add "fallback" property to AP object.
11996 * src/nm-dbus-nm.c: Grab the fallback parameter via DBUS.
11997 * src/nm-dbus-nmi.c: Grab the fallback parameter via DBUS.
11998 * src/nm-device-802-11-wireless.c: Break out blacklist logic into
11999 separate function. Add get_best_fallback_ap() for returning an AP
12000 on which to attempt fallback.
12001 * src/backends/NetworkManagerSuSE.c: Set stored network as fallback.
12002 * test/nm-set-fallback: New file. Sets a given network as fallback.
12004 2006-06-07 Robert Love <rml@novell.com>
12006 * gnome/applet/gconf-helpers.c: Bug fix: nm_gconf_helper_get_bool()
12007 checked that the return type was GCONF_VALUE_STRING, not the correct
12008 GCONF_VALUE_BOOL, and thus it never worked.
12009 * src/NetworkManagerAPList.c: Before concluding that two networks are
12010 identical based on their BSSID, make sure that the BSSID in question
12011 is actually valid. Specifically, an empty or all zero BSSID does not
12013 * gnome/applet/applet-dbus-info.c, gnome/applet/other-network-dialog.c,
12014 src/nm-dbus-nmi.c, src/nm-device-802-11-wireless.c: White space and
12015 similar invariant clean up.
12017 2006-06-02 Robert Love <rml@novell.com>
12019 * gnome/applet/applet.c: Update copyright years. Add Novell.
12021 2006-05-28 Dan Williams <dcbw@redhat.com>
12023 * gnome/applet/applet.glade
12024 gnome/vpn-properties/nm-vpn-properties.glade
12025 - Set window icons on dialogs (Gnome.org #333420)
12027 2006-05-28 Christian Persch <chpe@cvs.gnome.org>
12029 * gnome/vpn-properties/nm-vpn-properties.glade:
12030 * vpn-daemons/openvpn/properties/nm-openvpn-dialog.glade:
12031 * vpn-daemons/pptp/properties/nm-pptp-dialog.glade:
12032 * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
12033 - Make the VPN properties pages prettier and more HIG
12034 compliant. Gnome Bug #336913.
12036 2006-05-28 Dan Williams <dcbw@redhat.com>
12038 Patch from Christian Persch <chpe@gnome.org>
12039 * gnome/vpn-properties/nm-vpn-properties.c
12040 * gnome/vpn-properties/nm-vpn-properties.glade
12041 - HIG-ification love (Gnome.org #336846)
12043 2006-05-28 Dan Williams <dcbw@redhat.com>
12045 Patch from Christian Persch <chpe@gnome.org>
12047 gnome/vpn-properties/nm-vpn-properties.c
12048 - (main): Fix option parsing. Gnome.org #336847
12050 2006-05-28 Dan Williams <dcbw@redhat.com>
12052 * gnome/vpn-properties/nm-vpn-properties.c
12053 - (find_vpn_ui_by_service_name): protect against NULL service names
12054 - (update_edit_del_sensitivity): protect against NULL service names
12057 2006-05-28 Dan Williams <dcbw@redhat.com>
12059 Patch from Chris Fuller <crf@grandecom.net>:
12060 * src/nm-device-802-11-wireless.c
12061 - (nm_device_802_11_wireless_dispose): add a is_initialized member and
12062 don't dispose of wireless-specific stuff unless it is actually
12063 initialized. Gnome.org #341263
12065 2006-05-28 Dan Williams <dcbw@redhat.com>
12067 * src/NetworkManagerPolicy.c
12068 - (nm_policy_device_change_check): don't switch devices if the "best"
12069 AP is essentially the same as the current activation request, but
12070 the current activation request isn't done activating yet. Fixes
12071 multiple requests for keyring password on startup for Gnome applet.
12074 2006-05-26 Nicolas Trangez <eikke@eikke.com>
12076 * src/NetworkManager.c: use GOptions instead of getopt
12077 * configure.in: bump glib required version to >= 2.6 for GOption
12080 2006-05-25 Robert Love <rml@novell.com>
12082 * src/nm-device.h: Introduce nm_ioctl_info(), which defines to
12083 nm_info() if IOCTL_DEBUG is set and a no-op if not. We can use this
12084 instead of dumping ifdef's throughout the code.
12085 * src/NetworkManagerSystem.c, src/nm-device-802-11-wireless.c,
12086 src/nm-device-802-3-ethernet.c, src/nm-device.c: Remove ifdef's and
12087 use nm_ioctl_info() in lieu.
12089 2006-05-25 Robert Love <rml@novell.com>
12091 Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342400:
12092 * libnm-util/Makefile.am: Only build gnome-keyring-md5.{c,h} if we are
12093 not using gcrypt. Otherwise, we get a linker error.
12095 2006-05-25 Robert Love <rml@novell.com>
12097 Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342398:
12098 * configure.in, gnome/Makefile.am, Makefile.am: Add "--without-gnome"
12099 configure flag to disable building of the GNOME-based applet.
12101 2006-05-25 Robert Love <rml@novell.com>
12103 * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Rename function
12104 parameter from link, because it shadows a global variable with some
12105 older versions of glibc. Yes, glibc is now fixed and, yes, glibc
12106 should never have exported to the entire system a common four letter
12107 word. But we here at NetworkManager are team players. Fixes
12110 2006-05-25 Arangel Angov <ufo@linux.net.mk>
12112 * configure.in: Added mk.po, Macedonian translation.
12114 2006-05-24 Robert Love <rml@novell.com>
12116 * examples/python/systray/eggtrayicon.c, gnome/applet/eggtrayicon.c,
12117 gnome/applet/passphrase-dialog.c, gnome/applet/vpn-password-dialog.c,
12118 src/NetworkManager.c: Include <glib/gi18n.h> and not <libintl.h>.
12120 2006-05-24 Robert Love <rml@novell.com>
12122 * gnome/applet/Makefile.am, gnome/vpn-properties/Makefile.am,
12123 libnm-util/Makefile.am, src/Makefile.am,
12124 vpn-daemons/openvpn/auth-dialog/Makefile.am,
12125 vpn-daemons/openvpn/properties/Makefile.am,
12126 vpn-daemons/pptp/auth-dialog/Makefile.am,
12127 vpn-daemons/pptp/properties/Makefile.am,
12128 vpn-daemons/vpnc/auth-dialog/Makefile.am,
12129 vpn-daemons/vpnc/properties/Makefile.am: Do not override what the
12130 user passed for --datadir, if anything, when setting the GNOME locale
12131 directory. It should be a function of the specified datadir and not
12134 2006-05-24 Robert Love <rml@novell.com>
12136 * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c,
12137 src/NetworkManager.c: Take care to call bindtextdomain with the
12138 location of msgid files.
12139 * src/Makefile.am: Set GNOMELOCALEDIR to the location of GNOME mo
12142 2006-05-22 Robert Love <rml@novell.com>
12144 * src/nm-device-802-11-wireless.c: Don't chain up to the parent's
12145 stage4_timeout on failure unless the wireless network is Ad-Hoc.
12146 99% of the time there is a real problem with wireless, and a
12147 seemingly successful connection via Zeroconf just confuses the user.
12148 And that 1% of the time the network is probably Ad-Hoc, anyhow.
12150 2006-05-22 Robert Love <rml@novell.com>
12152 * src/backends/NetworkManagerSuSE.c: Reload, do not restart, ypbind and
12153 autofs on interface up if NIS is configured. On interface down, do
12156 2006-05-22 Robert Love <rml@novell.com>
12158 * gnome/applet/applet.c: Zero out the icon pointers before we set them,
12159 to avoid calling g_object_unref() on stale pointers on error in
12160 nma_icons_free(). This happens because we short-circuit loaded the
12161 icons on the first failure but then free all icons. Normally we have
12162 no issue because the icons were zero'ed out malloc, but we have stale
12163 pointer data after nma_icon_theme_changed().
12164 * gnome/applet/main.c: Return error code if nma_new() failed.
12166 2060-05-21 Dan Williams <dcbw@redhat.com>
12168 * initscript/NetworkManager.in
12169 - Ensure both dhcdbd and named are started before NM
12171 2006-05-21 Dan Williams <dcbw@redhat.com>
12174 - Bump version to 0.7 to signify we are in 0.7 development
12176 2006-05-21 Dan Williams <dcbw@redhat.com>
12178 Patch from Adam Schreiber <sadam@clemson.edu>
12179 * gnome/vpn-properties/nm-vpn-properties.c
12180 - (main): correct Gnome program name (gnome.org #342498)
12182 2006-05-21 Dan Williams <dcbw@redhat.com>
12184 Fix gnome.org #330832 based on patch from Crispin Flowerday <crispin@gnome.org>
12186 * src/NetworkManagerDbus.[ch]
12187 - nm_dbus_get_device_from_object_path -> nm_dbus_get_device_from_escaped_object_path:
12188 clarify that function's argument should be an escaped dbus object
12189 path, and look for path segment end before returning a match
12190 * src/nm-dbus-nm.c:
12191 - Fix up users of nm_dbus_get_device_from_escaped_object_path()
12193 2006-05-17 Robert Love <rml@novell.com>
12195 Functionality to differentiate Ad-Hoc networks from infrastructure
12196 networks in the applet, by displaying a special icon:
12197 * gnome/applet/applet-dbus-devices.c: Set the mode for new networks.
12198 * gnome/applet/applet.c: Pass 'applet' to network_menu_item_update().
12199 * gnome/applet/menu-items.c: Set a special icon in the scan list for
12200 ad-hoc networks. TODO: Add a third icon representing "encrypted and
12201 Ad-Hoc". Right now, we display the same icon for all Ad-Hoc wireless
12202 networks, encrypted or not.
12203 * gnome/applet/wireless-network.c, gnome/applet/wireless-network.h: New
12204 accessor functions to get and set the mode of a given network,
12205 wireless_network_get_mode() and wireless_network_set_mode().
12207 2006-05-17 Robert Love <rml@novell.com>
12209 Functionality to automatically add BSSIDs to the allowed-MAC list as
12210 one roams from access point to access point on a given network:
12211 * src/NetworkManagerUtils.c: Add nm_ethernet_addresses_are_equal(),
12212 helper function to compare two ether_addr structures and return TRUE
12213 if they contain the same MAC address.
12214 * src/NetworkManagerUtils.h: Add nm_ethernet_addresses_are_equal()
12216 * src/nm-device-802-11-wireless.c: New function to update the BSSID
12217 stored with the current AP. If the BSSID has indeed changed, we
12218 send it out to the applet, allowing the allowed-MAC list to grow
12219 automatically in response to roaming.
12221 2006-05-16 Robert Love <rml@novell.com>
12223 * src/backends/NetworkManagerSuSE.c: Don't touch ypbind or autofs
12224 unless dhcp:DHCLIENT_MODIFY_NIS_CONF is set to "yes".
12226 2006-05-13 Dan Williams <dcbw@redhat.com>
12228 * src/nm-device-802-3-ethernet.c
12229 - (real_get_generic_capabilities): Don't ignore devices that can't do
12230 carrier detect (Debian bug #366373)
12232 2006-05-11 Dan Williams <dcbw@redhat.com>
12234 Patch from Michael Biebl <biebl@teco.edu>
12235 * src/backends/NetworkManagerDebian.c
12236 - Debian backend fixups
12238 2006-05-10 Robert Love <rml@novell.com>
12240 * src/backends/NetworkManagerSuSE.c: Fix double free (Novell #173442).
12242 2006-05-09 Robert Love <rml@novell.com>
12244 * gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXME: Save the WPA EAP
12245 private certificate passphrase, if any, in the GNOME Keyring.
12246 * libnm-utils/dbus-helpers.c: Update.
12248 2006-05-05 Dan Williams <dcbw@redhat.com>
12250 * src/nm-device-802-11-wireless.c
12251 - (nm_device_802_11_wireless_set_wep_enc_key): convert to
12252 nm_device_802_11_wireless_disable_encryption() since that's all
12253 we use it for anymore; we don't ever set WEP keys ourselves.
12254 - (real_deactivate_quickly): reset SSID and encryption keys
12255 - (real_deactivate): move SSID and encryption key reset to
12256 real_deactivate_quickly(), which gets run before us anyway
12258 2006-05-05 Robert Love <rml@novell.com>
12260 * src/NetworkManager.c: Set the umask to 0022 when daemonizing, in case
12261 root has a wacky default of its own (or, more common, a user has a
12262 bad umask and uses su/sudo to restart NetworkManager). Anything
12263 other than 0022 does not do what we want with, for example,
12264 resolv.conf. This problem is amplified by our judicious use of
12265 fopen(), which uses mode 0666 -- implying that the only way to get
12266 the permissions we want is with a umask of 0022.
12268 2006-05-05 Dan Williams <dcbw@redhat.com>
12270 * gnome/libnm_glib/libnm_glib.c
12271 - Don't suck CPU when dbus isn't around by scheduling idle handlers
12272 to reconnect; instead wait a bit more with each reconnect attempt
12273 up to a max of one minute.
12275 2006-05-04 Ryan Lortie <desrt@desrt.ca>
12277 * gnome/applet/passphrase-dialog.c (update_button_cb): Get the SSID of
12278 the WirelessNetwork structure using the proper function instead of
12279 just casting it directly to (const char *) (gnome.org #336991)
12281 2006-05-03 Robert Love <rml@novell.com>
12283 * src/backends/NetworkManagerSuSE.c: Respect the variable
12284 dhcp:DHCLIENT_MODIFY_RESOLV_CONF, not
12285 config:MODIFY_RESOLV_CONF_DYNAMICALLY, when deciding whether or not
12286 to dynamically update /etc/resolv.conf.
12288 2006-05-02 Peter Jones <pjones@redhat.com>
12290 * vpn-daemons/vpnc/src/nm-vpnc-service.c: Allow rekeying.
12292 2006-05-02 Robert Love <rml@novell.com>
12294 Patch by Timo Hoenig;
12295 * tests/nm-online.c: Print pretty status indicator as timeout winds
12296 down. Also fix possible race between DBUS startup and failure
12299 2006-05-01 Robert Love <rml@novell.com>
12301 * gnome/applet/applet-compat.c: Warn if the returned escaped ESSID is
12304 2006-04-27 Jeremy Katz <katzj@redhat.com>
12306 * src/nm-device.c (discover_device_type): Actually use the hal
12307 device type instead of ioctl poking
12309 2006-04-26 Robert Love <rml@novell.com>
12311 * tests/nm-online.c: New file. Simple utility that returns exit status
12312 noting whether the connection is offline or online. If offline on
12313 start, it waits 30 seconds (or a command-line given value) for an
12314 online signal. If it times out, it again returns offline. This is
12315 useful for scripts that want to wait for network connections.
12317 2006-04-25 Robert Love <rml@novell.com>
12319 * src/nm-ap-security-wep.c: Bug fix: We stopped setting the
12320 key mode (the authentication algorithm), e.g. open or shared, when we
12321 moved to using wpa_supplicant. wpa_supplicant defaults to open, so
12322 only shared was broken. If the user specified a shared key, set it
12323 explicitly, otherwise let wpa_supplicant go with the default.
12325 2006-04-24 Dan Williams <dcbw@redhat.com>
12327 * src/nm-device-802-11-wireless.c
12328 - (nm_device_802_11_wireless_set_essid): fix setting of "any" essid
12330 2006-04-24 Dan Williams <dcbw@redhat.com>
12332 Commit the async scanning patch
12334 * src/nm-device-802-11-wireless.c
12335 - get rid of scan_mutex
12336 - (wireless_event_helper): act on wireless scan events
12337 - (real_start): schedule a pending scan
12338 - (link_to_specific_ap): fake the link to the AP during a scan
12339 - (nm_device_802_11_wireless_update_signal_strength): ignore signal
12340 strength during scans
12341 - (nm_device_get_frequency, nm_device_set_frequency, nm_device_get_bitrate,
12342 nm_device_set_bitrate): unused with new scanning code, disable
12343 - (nm_device_wireless_schedule_scan): removed
12344 - (nm_device_wireless_process_scan_results): renamed to convert_scan_results()
12345 - (request_and_convert_scan_results): new function; retrieve scan
12346 results from the driver and schedule the processing function
12347 - (scan_results_timeout): timeout triggered when card doesn't send
12348 a scan results wireless event during a certain interval
12349 - (schedule_scan_results_timeout): new function; schedule the scan
12351 - (cancel_scan_results_timeout): new function; cancel the scan
12353 - (nm_device_802_11_wireless_scan): if wpa_supplicant is running, ask it
12354 to do the scanning. Otherwise, just request a scan but don't
12355 grab results here; instead schedule a timeout for scan results and
12356 let netlink notify us of scan completion events
12357 - (nm_device_wireless_schedule_scan): new function; schedule a wireless scan
12358 - (cancel_pending_scan): new function; cancel a pending wireless scan
12359 - (supplicant_status_cb): ignore disconnect events while scanning
12360 - (supplicant_exec): wait a bit longer for the supplicant to start up
12361 - (nm_device_802_11_wireless_dispose): cancel pending scans and results
12363 - (get_scan_results): removed; folded into request_and_convert_scan_results()
12365 2006-04-24 Dan Williams <dcbw@redhat.com>
12367 * gnome/applet/applet-dbus.c
12368 - Disable the pending call debug stuff, seems under control now
12370 2006-04-20 Robert Love <rml@novell.com>
12372 Fix bug where hidden ESSID's would not show up in the applet, even
12373 if NMI provided a BSSID -> ESSID mapping from Gconf. This occurred
12374 because nm_policy_device_list_update_from_allowed_list() would merge
12375 the data, putting a name to the hidden networks, but never notify NMI
12376 of the changes. Simple fix is to invoke the function
12377 nm_dbus_signal_wireless_network_change() if we make a mapping.
12378 * src/NetworkManagerAPList.c: Call the function
12379 nm_dbus_signal_wireless_network_change() if we made a successful
12380 BSSID to ESSID mapping, notifying the applet of the "new" network.
12381 * src/NetworkManagerAPList.h: Update the prototypes for both
12382 nm_ap_list_copy_essids_by_address() and
12383 nm_ap_list_copy_one_essid_by_address().
12385 2006-04-20 Robert Love <rml@novell.com>
12387 * gnome/applet/applet-dbus-info.c: Don't bail out if the timestamp is
12388 not set. Just return zero.
12390 2006-04-20 Robert Love <rml@novell.com>
12392 * gnome/vpn-properties/nm-vpn-properties.c: Satisfy TODO: Ensure that
12393 only one copy of nm-vpn-properties is running at a time via the 'ol
12394 X selection trick. This prevents the user from opening two "VPN
12395 Connections" windows from within the applet, which leads to mass
12397 * clipboard.c: New file, implementing simple X selection logic.
12398 * clipboard.h: New file.
12399 * gnome/vpn-properties/Makefile.am: Add clipboard.{c,h}
12401 2006-04-18 Nicolas Trangez <eikke@eikke.com>
12403 * backends/NetworkManagerGentoo.c: Small cleanups and enhancements
12405 initscript/Gentoo/Makefile.am
12406 initscript/Gentoo/NetworkManagerDispatcher.in
12408 * initscript/Gentoo/NetworkManager.in: small dependency fixup from
12411 2006-04-16 Dan Williams <dcbw@redhat.com>
12413 Patch from Paul Blazejowski <paulb@blazebox.homeip.net>
12415 initscript/Slackware/Makefile.am
12416 initscript/Slackware/rc.networkmanager-dispatcher.in
12417 initscript/Slackware/rc.networkmanager.in
12418 - Update slackware initscripts
12420 2006-04-10 Robert Love <rml@novell.com>
12422 * gnome/vpn-properties/nm-vpn-properties.c: Intercept and short-circuit
12423 the "delete_event" signal on the druid's parent window and handle it
12424 our way, lest using the WM to close the druid results in a series of
12425 bloody and ultimately lethal errors.
12427 2006-04-10 Robert Love <rml@novell.com>
12429 * gnome/vpn-properties/nm-vpn-properties.c: Validate VPN settings on
12430 'Back' too or else the 'Forward' option is initially disabled despite
12433 2006-04-06 Robert Love <rml@novell.com>
12435 Fix bad but simple bug where an active modem connection did not update
12436 NM's connection state, breaking any app that did online/offline:
12437 * src/NetworkManagerMain.h: Add 'modem_active' member to NMData,
12438 represented whether a dial up connection is active, or not.
12439 * src/nm-dbus-nm.c: Set and unset 'modem_active' in response
12440 to modem activation and deactivation.
12441 * src/NetworkManagerDbus.c: When asked our state, do not return
12442 disconnected if the modem is active.
12444 2006-04-04 Robert Love <rml@novell.com>
12446 * gnome/applet/applet.c: Remove the 'Remove' option that I added to the
12447 applet. It just confuses the crap out of people and does not make a
12448 lot of sense, as the daemon still runs.
12450 2006-04-02 Tor Krill <tor@krill.nu>
12452 * initscript/Arch/networkmanager.in: Added checks for HAL and dhcdbd
12453 in start of service.
12454 * src/backends/NetworkManagerArch.c: (nm_system_get_mtu): Added to
12455 get Archlinux backend up to date.
12457 2006-03-29 Robert Love <rml@novell.com>
12459 Patch by Vinay R <rvinay@novell.com> and Robert Love <rml@novell.com>,
12460 to add support for per-route MSS and improve support for per-interface
12462 * src/NetworkManagerSystem.c: Modify nm_system_device_set_ip4_route to
12463 optionally take an MSS parameter and set it for the given route.
12464 Remove nm_system_device_set_ip4_route_with_iface. Pass in the
12465 NMIP4Config's stored MSS, if any.
12466 * src/nm-ip4-config.c: Add 'mtu' and 'mss' to NMIP4Config, representing
12467 the interface's MTU and the route's MSS, respectively. Add functions
12468 nm_ip4_config_get_mtu, nm_ip4_config_set_mtu, nm_ip4_config_get_mss,
12469 and nm_ip4_config_set_mss for retrieving and setting the MTU and the
12471 * src/nm-ip4-config.h: Add prototypes for nm_ip4_config_get_mtu,
12472 nm_ip4_config_set_mtu, nm_ip4_config_get_mss, and
12473 nm_ip4_config_set_mss.
12474 * src/vpn-manager/nm-vpn-service.c: Modify to receive the MSS from the
12476 * src/backends/NetworkManager{Arch,Debian,Gentoo,RedHat,Slackware,SUSE}.c:
12477 Change the retval of nm_system_get_mtu to guint32.
12478 * src/dhcp-manager/nm-dhcp-manager.c: Set the MTU on the new DHCP-given
12479 NMIP4Config to the MTU provided by the system, if any. TODO: If DHCP
12480 servers can specify MTU's, we should set it here if the MTU was not
12483 2006-03-27 Jürg Billeter <j@bitron.ch>
12486 * initscript/Makefile.am:
12487 * initscript/paldo/Makefile.am:
12488 * initscript/paldo/NetworkManager.in:
12489 * initscript/paldo/NetworkManagerDispatcher.in:
12490 * src/backends/Makefile.am:
12491 * src/backends/NetworkManagerPaldo.c:
12492 - Add paldo support
12494 2006-03-27 Dan Williams <dcbw@redhat.com>
12496 Patch from Christian Persch <chpe@gnome.org>
12497 * gnome/applet/applet.glade
12498 - HIG fixes; mostly for spacing and borders (gnome.org #336220)
12500 2006-03-27 Dan Williams <dcbw@redhat.com>
12502 Patch from Diffe <diffie@blazebox.homeip.net>
12503 * src/backends/NetworkManagerSlackware.c
12504 - Don't restart howl, since it's been replaced by Avahi
12505 in most distributions
12507 2006-03-27 Dan Williams <dcbw@redhat.com>
12509 Patch from Tor Krill <bugzilla@krill.nu>
12511 initscript/Makefile.am
12512 src/backends/Makefile.am
12513 src/backends/NetworkManagerArch.c
12514 initscript/Arch/Makefile.am
12515 initscript/Arch/networkmanager-dispatcher.in
12516 initscript/Arch/networkmanager.in
12517 - Add Arch Linux support, fixes gnome.org #335147
12519 2006-03-27 Dan Williams <dcbw@redhat.com>
12521 Patch from Diffe <diffie@blazebox.homeip.net>
12522 * initscript/Slackware/rc.networkmanager
12523 - update, fixed gnome.org #333368
12525 2006-03-27 Robert Love <rml@novell.com>
12527 * gnome/applet/other-network-dialog.c: Do not allow the user to try to
12528 create WPA-EAP Ad-Hoc networks because such an action makes no sense.
12530 2006-03-27 Robert Love <rml@novell.com>
12532 Patch by Jürg Billeter <j@bitron.ch>:
12533 * src/nm-logging.c: Add printf modifier to fix warning on 64-bit
12535 * src/nm-netlink-monitor.c: Include <net/if.h> instead of <linux/if.h>
12536 as we prefer glibc over kernel headers, if possible.
12538 2006-03-27 Robert Love <rml@novell.com>
12540 Patch by Jon Escombe <list@dresco.co.uk>:
12541 * gnome/applet/nm-gconf-wso.c: Add missing NM_AUTH_TYPE_WPA_EAP case.
12542 * gnome/applet/nm-gconf-wso-wpa-eap.c: If retrieving the gconf values
12543 fail, don't bail out. We don't expect all of the various WPA-EAP
12544 values to be present.
12545 * src/nm-ap-security.c: We need to match all capabilities for each
12546 encryption type, not any one of them.
12548 2006-03-27 Robert Love <rml@novell.com>
12550 * src/backends/NetworkManagerSuSE.c: Revert 2006-03-17 commit and again
12551 restart, not reload, ypbind. Unfortunately there is no superior
12554 2006-03-24 Christopher Aillon <caillon@redhat.com>
12556 * gnome/applet/applet-notifications.c:
12557 When displaying a notification, make sure to get rid of the
12558 previous notification so as to not have competing bubbles,
12559 and stop leaking the old one.
12561 * gnome/applet/applet.c:
12562 * gnome/applet/applet.h:
12563 Add a new 'notification' member to the applet, and zero it out
12564 and free it appropriately.
12566 2006-03-23 Robert Love <rml@novell.com>
12568 Patch by j <j@bootlab.org>:
12569 * gnome/applet/applet.glade: Don't set the invisible_char property,
12570 which simply overrides the GTK default. By and by, this behavior
12571 ought to be fixed in Glade.
12573 2006-03-22 Robert Love <rml@novell.com>
12575 * src/dhcp-manager/nm-dhcp-manager.c: Bump timeout to 45 seconds.
12577 2006-03-22 Robert Love <rml@novell.com>
12579 Bug fix by Timo Hoenig <thoenig@suse.de>:
12580 * gnome/applet/applet-dbus.c: Let the applet reconnect to DBUS on
12581 disconnect. Otherwise, we have the daemon surviving DBUS restarts
12582 and the applet going AWOL.
12584 2006-03-22 Robert Love <rml@novell.com>
12586 * src/dhcp-manager/nm-dhcp-manager.c: Create NM_DHCP_TIMEOUT
12587 preprocessor define and use it instead of open-coded the DHCP
12588 timeout, which is currently 25 seconds, everywhere.
12590 2006-03-22 Robert Love <rml@novell.com>
12592 Implement "Dynamic WEP", which is basically WPA authentication and WEP
12593 key exchange via WPA, ostensibly providing good security without
12594 requiring hardware that supports full WPA. Also, add UI elements to
12595 allow the user to select the pairwise & group cipher for WPA Enterprise
12597 * gnome/applet/applet.glade: Update glade file.
12598 * gnome/applet/nm-gconf-wso-wpa-eap.c: Serialize and deserialize the
12599 key type, too, to and from gconf.
12600 * gnome/applet/wireless-security-option.c: Add "wpa_eap" parameter to
12601 wso_wpa_create_key_type_model(), noting whether we are handling PSK
12602 or EAP configuration, and in the latter case add in "Dynamic WEP" if
12603 the capabilities match.
12604 * gnome/applet/wso-private.h: Update wso_wpa_create_key_type_model()'s
12606 * gnome/applet/wso-wpa-eap.c: Manage UI elements for the key type and
12607 serialize from UI to DBUS.
12608 * gnome/applet/wso-wpa-psk.c: Cannot fail and always returns at least
12610 * libnm-util/dbus-helpers.c: Update nmu_security_serialize_wpa_eap(),
12611 nmu_security_serialize_wpa_eap_with_cipher(), and
12612 nmu_security_deserialize_wpa_eap() to take a "key_type" parameter and
12613 serialize/deserialize the key type via DBUS as the new third DBUS
12615 * libnm-util/dbus-helpers.h: Update prototypes.
12616 * src/nm-ap-security-wpa-eap.c: Deserialize the key type from DBUS,
12617 too. If the key type is WEP104, do Dynamic WEP, which means
12618 "IEEE8021X" for "key_mgmt". Also add support for user-specified
12619 pairwise and group ciphers (fixes a FIXME).
12621 2006-03-21 Robert Love <rml@novell.com>
12623 * src/NetworkManagerSystem.c, src/NetworkManagerSystem.h: Add
12624 nm_system_get_mtu(), which returns a user-provided or system-mandated
12625 MTU value for a given device, if any, or zero if no such value
12626 exists. Add nm_system_set_mtu() to set the MTU for a given device
12627 if we have a provided value.
12628 * src/nm-device.c: Set the MTU of devices.
12629 * src/backends/NetworkManagerSuSE.c: Read MTU, if any, from sysconfig.
12630 * src/backends/NetworkManagerDebian.c,
12631 src/backends/NetworkManagerGentoo.c,
12632 src/backends/NetworkManagerRedHat.c,
12633 src/backends/NetworkManagerSlackware.c: Implement stub functions.
12635 2006-03-21 Robert Love <rml@novell.com>
12637 * src/backends/NetworkManagerSuSE.c: Strip hypens from hex key in
12638 configuration file.
12640 2006-03-17 Robert Love <rml@novell.com>
12642 * src/backends/NetworkManagerSuSE.c: Do "rcypbind reload" to send the
12643 signal SIGHUP to ypbind, not "rcypbind restart" to physically restart
12644 it, in case it is not running in the first place. We just want its
12645 configuration reloaded. Also, do not "rcypbind stop" on device down.
12647 2006-03-15 Robert Love <rml@novell.com>
12649 * gnome/applet/applet.glade, gnome/applet/wso-wep-ascii.c,
12650 gnome/applet/wso-wep-hex.c, gnome/applet/wso-wep-passphrase.c: The
12651 label "WEP 40/128-bit" is inconsistent because the physical key size
12652 is 40 or 104-bits, to which a 24-bit initialisation vector is
12653 appended, forming a 64 or 128-bit traffic key. Thus, the label ought
12654 to read "40/104" or "64/128". I do not care much which, but most
12655 users think of "silver" and "gold" encryption as 64 and 128-bits, so
12656 let's stick with that. Thus, s/"40/128"/"64/128"/g. Also, since our
12657 WEP passphrase support only handles 128-bit keys, and any future
12658 64-bit passphrase support will require a new option (no way to auto-
12659 detect the target key size), explicitly label our passphrase support
12660 "WEP 128-bit Passphrase".
12662 2006-03-15 Robert Love <rml@novell.com>
12664 * src/dhcp-manager/nm-dhcp-manager.c: Do not start dhcdbd, but rely on
12665 the system init scripts (or some other mechanism) starting it (or a
12666 compatible DBUS service) before NetworkManager runs. This means that
12667 distributions might need to update their init scripts. This fixes
12668 possible races and is quite a bit cleaner.
12669 * initscript/SUSE/networkmanager.in: Update to start dhcdbd before
12670 starting the NetworkManager daemon.
12673 2006-03-14 Robert Love <rml@novell.com>
12675 * src/backends/NetworkManagerSuSE.c: Check that we have a valid AP
12676 before adding anything.
12678 2006-03-13 Robert Love <rml@novell.com>
12680 * gnome/vpn-properties/nm-vpn-properties.c: Hide the next page's
12681 widgets, too, if they exist, in case the user hit the back button.
12682 Fixes a bug where the details page contains the widgets of multiple
12683 VPN modules (Novell bug #157048).
12685 2006-03-13 Robert Love <rml@novell.com>
12687 Patch by Timo Hoenig <thoenig@suse.de>:
12688 * dispatcher-daemon/NetworkManagerDispatcher.c: Let the dispatcher
12689 daemon survive DBUS restarts, too.
12691 2006-03-10 Robert Love <rml@novell.com>
12693 * gnome/applet/applet.glade: Add toggles to show/obfuscate the
12695 * gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
12696 gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-eap.c,
12697 gnome/applet/wso-wpa-psk.c: Show and obfuscate passphrases and keys
12698 in response to "toggled" signal on new toggle.
12700 2006-03-10 Robert Love <rml@novell.com>
12702 * src/nm-ap-security-wpa-eap.c: Pass fake empty strings for
12703 serialization if strings are NULL, lest DBUS get angry.
12705 2006-03-10 Robert Love <rml@novell.com>
12707 * src/nm-ap-security-wpa-eap.c: Don't log the password.
12709 2006-03-09 Robert Love <rml@novell.com>
12711 * src/backends/NetworkManagerSuSE.c: Read in WEP and WPA static
12714 2006-03-09 Dan Williams <dcbw@redhat.com>
12716 Track pending call requests in the applet, and report how many are
12717 outstanding, and how long each completed one takes.
12719 * gnome/applet/applet-dbus-devices.c
12720 gnome/applet/applet-dbus-vpn.c
12721 - Track pending calls
12723 * gnome/applet/applet-dbus.[ch]
12724 - Remove some unused enums
12725 - (nma_dbus_send_with_callback, nma_dbus_send_with_callback_replied):
12726 new functions to track dbus pending calls and spit out some
12727 statistics about them
12729 2006-03-09 Robert Love <rml@novell.com>
12731 * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Have the function
12732 nm_ap_set_timestamp() take the second and micro-second parameters as
12733 direct arguments, which avoids both a dynamic memory allocation and a
12734 structure-to-structure copy! Add a new interface, the aptly named
12735 nm_ap_set_timestamp_via_timestamp(), to set the timestamp from an
12736 existing GTimeVal, as nm_ap_set_timestamp() once did, for use with
12737 the return from nm_ap_get_timestamp(). New users should use the new
12738 nm_ap_set_timestamp(), not nm_ap_set_timestamp_via_timestamp(), for
12739 the extreme benefit to performance.
12740 * src/NetworkManagerAPList.c, src/nm-dbus-nmi.c,
12741 src/backends/NetworkManagerSuSE.c: Use the new functions as needed.
12743 2006-03-08 Robert Love <rml@novell.com>
12745 * gnome/applet/applet.glade: Hide the password entry text with
12748 2006-03-08 Robert Love <rml@novell.com>
12750 * src/NetworkManagerSystem.h, src/nm-device.c, NetworkManagerDebian.c,
12751 NetworkManagerRedHat.c, NetworkManagerGentoo.c,
12752 NetworkManagerSlackware.c: Pass nm_system_device_get_system_config()
12753 a second argument, NMData.
12754 * src/nm-ap-security.h, src/nm-ap-security.c: Export nm_ap_security_new.
12755 * src/backends/NetworkManagerSuSE.c: Add wireless networks from ifcfg-*
12756 config files as trusted.
12758 2006-03-06 Robert Love <rml@novell.com>
12760 * gnome/applet/Makefile.am: Define AUTOSTARTDIR.
12761 * gnome/applet/applet.c: Add 'Remove' option to the right click menu,
12762 to exit the applet. As a sweet side-effect, idea courtesy of Chris
12763 Rivera, detect if the applet was auto-started. If so, ask the user
12764 if he or she would like to stop automatically running the applet on
12765 login. If so, disable autostart.
12767 2006-03-06 Robert Love <rml@novell.com>
12769 * NetworkManager.pc.in: Provide an -I to the NetworkManager include
12770 directory in CFLAGS so developers can actually use NetworkManager.h.
12772 2006-03-06 Robert Love <rml@novell.com>
12774 * src/dhcp-manager/nm-dhcp-manager.c: Use preprocessor defines and not
12775 open-coded integer constants. Add state_to_string() to map a given
12776 state to a textual description, and provide that when notifying of
12778 * src/dhcp-manager/nm-dhcp-manager.h: Provide defines for the dhcdbd
12779 states, copied and cleaned up from dhcdbd.d. Ideally, we would use
12780 this header directly, but it is currently not installed on most
12783 2006-03-05 Dan Williams <dcbw@redhat.com>
12785 Process netlink messages in device subclasses rather than in
12786 NetworkManager.c. Also add support for recognizing Wireless Events.
12789 - Find GLIB_GENMARSHAL
12792 - Since we're marshalling custom types for wireless event signals,
12793 we get to create our own marshallers using GLIB_GENMARSHAL
12795 * src/NetworkManager.c
12796 - (nm_monitor_wired_link_state): renamed to nm_monitor_setup
12797 - (nm_monitor_setup): renamed from nm_monitor_wired_link_state, and
12798 cut down somewhat. We no longer process signals here.
12799 - (nm_data_new): create the netlink monitor here, and remove a
12800 useless call to nm_policy_schedule_device_change_check()
12801 - (nm_data_free): get rid of the netlink monitor here
12802 - (nm_device_link_activated, nm_device_link_deactivated): removed
12803 - (main): don't create the netlink monitor here, let nm_data_new
12804 do that. Call nm_policy_schedule_device_change_check() right
12805 before we jump to the mainloop to figure out which device
12808 * src/NetworkManagerSystem.[ch]
12809 - (nm_system_get_rtnl_index_from_iface, nm_system_get_iface_from_rtnl_index):
12810 convert back and forth from interface names to interface
12813 * src/nm-device-802-11-wireless.c
12814 - (real_init): connect to wireless-event signals from the netlink
12816 - (nm_device_802_11_wireless_event): new function, schedule handler
12817 for wireless event signals from the netlink monitor object. We
12818 want the handler to run in the device's context
12819 - (wireless_event_helper): handle wireless-event signals from netlink
12820 - (nm_device_802_11_wireless_dispose): disconnect wireless-event
12823 * src/nm-device-802-11-wireless.h
12824 - remove unused prototype for nm_device_802_11_wireless_new
12826 * src/nm-device-802-3-ethernet.c
12827 - (real_init): new function; set up signal handlers for link events
12828 - (nm_device_802_3_ethernet_link_activated): new function, schedule
12829 handler for netlink link activated events on device's main loop
12830 - (link_activated_helper): when we get a link activated event, set
12831 the device's link to be active
12832 - (nm_device_802_3_ethernet_link_deactivated): new function; schedule
12833 handler for netlink link deactivated events on device's main loop
12834 - (link_deactivated_helper): when we get a link deactivated event, set
12835 the device's link to be inactive
12836 - (nm_device_802_3_ethernet_dispose): disconnect signal handler on
12839 * src/nm-device-802-3-ethernet.h
12840 - remove unused prototype for nm_device_802_3_ethernet_new
12842 * src/nm-device.[ch]
12843 - (nm_get_device_by_iface_locked): variant of nm_get_device_by_iface
12844 but locks the device list
12845 - (nm_device_set_active_link): a little bit of cleanup and de-indenting
12847 * src/nm-netlink-monitor.[ch]
12848 - (nm_netlink_monitor_class_install_signals): New signal
12850 - (nm_netlink_monitor_new): keep reference to NMData so we can get
12852 - (nm_netlink_monitor_event_handler): expand for wireless events too
12854 * src/nm-marshal-main.c
12855 - Include generated nm-marshal.c and nm-marshal.h
12857 * src/nm-marshal.list
12858 - List of custom marshal functions
12860 2006-03-05 Dan Williams <dcbw@redhat.com>
12862 * gnome/applet/applet-notifications.h
12863 - Protect prototype of nma_send_event_notification() because it
12864 includes libnotify-specific types
12865 - Include libnotify/libnotify.h too, since we technically need it
12867 * gnome/applet/applet.c
12868 - (nma_show_vpn_failure_dialog): fix usage of g_return_if_fail
12869 - (nma_show_vpn_login_banner_dialog): add some error checking
12871 2006-03-04 Dan Williams <dcbw@redhat.com>
12873 Clean up activation cancellation. Should be a lot faster now. Observed
12874 an issue with wireless devices between stage 2 and 3 of activation, where
12875 activation would be cancelled, but the device thread wouldn't notice until
12876 the supplicant association timed out. Reorganize activation such that
12877 a cancellation handler gets immediately scheduled in the device's thread,
12878 and devices have a chance to perform any custom cleanup too.
12880 * src/nm-device.[ch]
12881 - (activation_cancel_handler): new device-type-specific function
12882 for cleaning up device-type-specific stuff on cancellation
12883 - (cancel_activation): removed
12884 - (nm_device_activation_cancel): subsume functionality of
12885 real_cancel_activation, but instead of doing anything, punt
12886 operation to a handler that's run in device-thread context
12887 - (nm_device_schedule_activation_handle_cancel): fix spelling of
12889 - (activation_handle_cancel_helper): cancellation handler run in
12890 device-thread context, calls device-type-specific cancelation,
12891 then tears down the activation request
12892 - (real_activation_cancel_handler): generic cancellation handler,
12893 deals with cancelling any in-process DHCP request
12894 - (nm_device_activate_stage1_device_prepare,
12895 nm_device_activate_stage2_device_config,
12896 nm_device_activate_stage3_ip_config_start,
12897 nm_device_activate_stage4_ip_config_get,
12898 nm_device_activate_stage4_ip_config_timeout,
12899 nm_device_activate_stage5_ip_commit): don't call
12900 nm_device_schedule_activation_handle_cancel() any more, since
12901 cancellation will have been already scheduled for us by
12902 nm_device_activation_cancel(). Just exit the function and
12903 assume that the cancel handler will be called next.
12905 * src/nm-device-802-3-ethernet.c
12906 - (real_act_stage2_config): remove; didn't do anything anyway
12908 * src/nm-device-802-11-wireless.c
12909 - (supplicant_status_cb): ensure we don't do anything if the activation
12911 - (real_activation_cancel_handler): implement; cancel user key request
12912 on activation cancellation
12914 2006-03-04 Dan Williams <dcbw@redhat.com>
12916 * src/nm-device-802-11-wireless.c
12917 - (supplicant_send_network_config): assume that drivers that don't
12918 support WPA pretty much suck, and can't handle NM scanning
12919 along with wpa_supplicant.
12921 2006-03-03 Robert Love <rml@novell.com>
12923 * configure.in: Bump version to 0.6.0.
12926 2006-03-03 Robert Love <rml@novell.com>
12928 * configure.in: Require DBUS 0.60 or later.
12930 2006-03-03 Dan Williams <dcbw@redhat.com>
12932 Fix a crash if an "Other wireless network" was chosen, failed, then
12933 chosen again from the applet's menu. If the other network wasn't
12934 noticed in a scan, it wouldn't have any capabilities, but would still
12935 be listed because the user forced the network. To fix this, we set
12936 sensible capabilities on the forced network, which will get overwritten
12937 with the correct ones if the network shows up later in a scan.
12939 * src/nm-ap-security.h
12940 - Add a new "get_default_capabilities_func" member to the
12943 * src/nm-ap-security.c
12944 - (nm_ap_security_get_default_capabilities): new function
12946 * src/nm-ap-security.c
12947 src/nm-ap-security-wep.c
12948 src/nm-ap-security-wpa-psk.c
12949 src/nm-ap-security-wpa-eap.c
12950 - Implement get_default_capabilities_func() for all, which
12951 uses the information contained in a specific NMAPSecurity
12952 object to determine default AP capabilites necessary
12953 to support that object
12955 As a secondary measure, we now prune artificial access points that fail
12956 to be activated right away. The thing failed, and we have no scan data for
12957 it, so it's pretty much useless since security information is only saved
12958 in the applets when a connection is successful.
12960 * src/NetworkManagerAPList.c
12961 - (nm_ap_list_merge_scanned_ap): mark any ap noticed in a scan
12962 not artificial. If we see it, it's no longer a figment of the
12963 user's imagination :)
12965 * src/NetworkManagerPolicy.c
12966 - (nm_policy_activation_failed): send along the failed AP if we
12969 * src/nm-device-802-11-wireless.c
12970 - (real_activation_failure_handler): remove artificial APs from
12971 the device list, because activation failed
12973 2006-03-02 Robert Love <rml@novell.com>
12975 Add support for retrieving both the per-device speed and the
12976 per-network maximum supported rate. Then change the getProperties
12977 DBUS API for both networks and devices to report this informaiton.
12978 Finally, display the information via both nm-applet and nm-tool:
12979 * gnome/applet/applet-dbus-devices.c: Grab the speed from getProperties
12981 * gnome/applet/applet.c: Display the device's speed in the 'Connection
12982 Information' dialog.
12983 * gnome/applet/applet.glade: Update the UI to show per-device speed.
12984 * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Add interfaces
12985 network_device_get_speed() and network_device_set_speed() for
12986 retrieving and setting, respectively, a network device's current
12988 * src/nm-dbus-device.c: Send the device's speed on getProperties.
12989 * src/nm-device-802-11-wireless.c: Return the rate in Mb/s, not Kb/s,
12990 in the function nm_device_802_11_wireless_get_bitrate() -- it does
12991 not matter (yet) what the units are, because we only feed it its own
12992 output. Implement SIOCGIRATE and set the per-network maximum
12993 supported rate during scanning.
12994 * src/nm-device-802-11-wireless.h: Export the function
12995 nm_device_802_11_wireless_get_bitrate().
12996 * src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h: Add
12997 function nm_device_802_3_ethernet_get_speed() for returning an
12998 802.3's current speed, in Mb/s.
12999 * test/nm-tool.c: Display the per-device current speed, if available,
13000 and the per-network maximum rate.
13002 2006-03-02 Dan Williams <dcbw@redhat.com>
13004 * src/nm-device-802-11-wireless.c
13005 - (nm_device_802_11_wireless_set_scan_interval): don't scan-spam the
13006 card when it gets initialized. Since devices don't get added to
13007 the scan list until they are initialized, this function wasn't
13008 setting the intitial scan interval correctly, and was leaving
13009 it at 0. This caused cards to get many scan requests in a short
13010 amount of time when they were initialized
13012 2006-03-02 Robert Love <rml@novell.com>
13014 * gnome/applet/applet.c: Do not set the pixbuf if we don't have an
13015 active device. But do not do what we used to do and override the
13016 state, which caused the dreaded icon race of '05.
13018 2006-03-02 Robert Love <rml@novell.com>
13020 Commit Dan's update of my previous commit:
13021 * src/nm-device-802-11-wireless.c: Always set the mode, because the
13022 set_mode() function itself does the check. But do only set the
13023 frequency if in Ad-Hoc mode.
13025 2006-03-02 Robert Love <rml@novell.com>
13027 Patch by Brian Magnuson <magnuson@rcn.com>:
13028 * src/nm-device-802-11-wireless.c: During scanning, only set the
13029 wireless mode to infrastructure if it is not currently in
13030 infrastructure mode. For some driver, setting the mode is a costly
13031 operation, apparently.
13033 2006-03-01 Rodrigo Moya <rodrigo@novell.com>
13035 * Makefile.am: use the correct dir for autostart mechanism.
13037 2006-02-28 Dan Williams <dcbw@redhat.com>
13039 Patch from Brian Magnuson <magnuson@rcn.com>
13040 * gnome/applet/applet.c
13041 - (nma_show_vpn_failure_dialog): fix errors left over from
13042 libnotify support changes
13044 2006-02-28 Dan Williams <dcbw@redhat.com>
13046 * src/vpn-manager/nm-vpn-act-request.[ch]
13047 - (nm_vpn_act_request_is_activated): don't use a switch/case for
13049 - (nm_vpn_act_request_is_failed): new function; return whether or
13050 not the vpn activation request has failed
13052 * src/vpn-manager/nm-vpn-manager.c
13053 - (nm_vpn_manager_deactivate_vpn_connection): tell the vpn service
13054 daemon to kill the connection when the activation request fails.
13055 Fixes issue where NM would get confused if the VPN activation
13056 request timed out, and would not allow further VPN connections
13059 2006-02-28 Dan Williams <dcbw@redhat.com>
13061 * gnome/applet/applet.c
13062 - (nma_menu_add_vpn_menu): until the NM VPN manager can deal with
13063 overlapping connection requests, disable all VPN menu items
13064 but the active VPN connection
13066 2006-02-28 Dan Williams <dcbw@redhat.com>
13068 * src/vpn-manager/nm-vpn-connection.c
13069 - (nm_vpn_connection_set_parent_device): fix C&P error which
13070 called g_object_unref() on the connection's parent device
13071 when it should have been ref-ed instead. Fixes crash with
13072 repeated vpn connect requests
13074 2006-02-28 Christopher Aillon <caillon@redhat.com>
13076 * gnome/applet/applet.glade:
13077 Mark a few strings non-translatable, since they shouldn't be.
13079 2006-02-28 Dan Williams <dcbw@redhat.com>
13081 * src/vpn-manager/nm-vpn-service.c
13082 - (nm_vpn_service_start_connection): if the vpn service daemon is
13083 already running, don't blindly ask it to connect, but wait until
13084 it's in the STOPPED state first. Fixes an assertion when user
13085 starts a second vpn connection without stopping the first.
13086 - (nm_vpn_service_stage2_daemon_wait): ensure the vpn service's
13087 dbus service exists before continuing with the connection
13088 process, and reduce latency while waiting for it to become
13090 - (nm_vpn_service_schedule_stage2_daemon_wait): reduce latency
13091 waiting for the vpn service daemon to become available
13092 - General log message cleanups; show progress via "Stage x of 4"
13093 rather than not telling anyone how many stages there are
13095 2006-02-28 Robert Love <rml@novell.com>
13097 * src/NetworkManagerSystem.h: Add nm_system_should_modify_resolv_conf.
13098 * src/backends/NetworkManagerSuSE.c: Implement the interface
13099 nm_system_should_modify_resolv_conf() for SUSE.
13100 * src/backends/NetworkManagerDebian.c,
13101 src/backends/NetworkManagerGentoo.c,
13102 src/backends/NetworkManagerRedHat.c,
13103 src/backends/NetworkManagerSlackware.c: Add stub.
13104 * src/named-manager/Makefile.am: Grab includes from src.
13105 * src/named-manager/nm-named-manager.c: Allow backends to disable the
13106 automatic updating of resolv.conf. This is useful for testing,
13107 broken static configurations, and administrator lock-down.
13109 2006-02-28 Dan Williams <dcbw@redhat.com>
13111 * src/nm-device-802-11-wireless.c
13112 - Move all the wpa_supplicant-related management stuff into its
13113 own struct, just for oranization's sake
13114 - (supplicant_exec): when exec-ing wpa_supplicant, connect its stdout
13115 to a GIOChannel/GSource
13116 - (supplicant_log_stdout): new function; grab output from the
13117 wpa_supplicant stdout pipe and write it to our logs.
13119 2006-02-27 Christopher Aillon <caillon@redhat.com>
13121 * src/nm-device-802-11-wireless.c:
13122 Err, fix thinko in my previous commit.
13124 2006-02-28 Robert Love <rml@novell.com>
13126 * gnome/applet/wso-wpa-eap.c: Fix misc. FIXME statements.
13128 2006-02-28 Robert Love <rml@novell.com>
13130 * libnm-util/dbus-helpers.c, src/nm-ap-security-wpa-eap.c,
13131 src/nm-ap-security-wpa-psk.c, gnome/applet/nm-gconf-wso-wpa-eap.c,
13132 gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXMEs: Callers of the DBUS
13133 deserializers are responsible for freeing the returned DBUS strings.
13135 2006-02-27 Christopher Aillon <caillon@redhat.com>
13137 * src/nm-device-802-11-wireless.c:
13138 The scan list is being pruned prematurely. We should prune after
13139 the device has gone MIA for three scans, not one. Split out the
13140 interval to realtime seconds function to better serve this.
13142 2006-02-27 Robert Love <rml@novell.com>
13144 * dispatcher-daemon/NetworkManagerDispatcher.c, src/NetworkManager.c:
13145 Open the pid file O_TRUNC, so if it already exists we truncate it to
13146 zero length. Also, be more verbose about warnings generated during
13147 writing out the pid file. Finally, always write out the pid file if
13148 in daemon mode. Use "--pid-file" to override the default.
13150 2006-02-27 Robert Love <rml@novell.com>
13152 Patch by R. Vinay <rvinay@novell.com>:
13153 * gnome/vpn-properties/nm-vpn-properties.c: Remove the gconf key
13154 'last_attempt_success' when removing a VPN connection, too. (Fixes
13155 Novell bug #153628).
13157 2006-02-27 Robert Love <rml@novell.com>
13159 * gnome/applet/applet.glade: Set "activates_default" on passphrase
13160 entry so user can hit <ENTER> after entering passphrase (Novell bug
13163 2006-02-27 Dan Williams <dcbw@redhat.com>
13166 - Mass search/replace of:
13168 NMWirelessApplet -> NMApplet
13169 NM_*_WIRELESS_APPLET -> NM_*_APPLET
13170 (it ain't just for wireless anymore, ma!)
13171 - Fix duplicate function name printing when using nm_warning
13172 - wireless-applet.glade -> applet.glade
13174 2006-02-27 Dan Williams <dcbw@redhat.com>
13176 * dispatcher-daemon/NetworkManagerDispatcher.c
13177 - Accept --pid-file with a path to a pidfile, write it out on
13178 startup, and delete it on shutdown
13180 * src/NetworkManager.c
13181 - Accept --pid-file with a path to a pidfile, write it out on
13182 startup, and delete it on shutdown
13183 - Move nm_print_usage() lower
13185 * initscripts/RedHat/NetworkManager.in
13186 - Use new --pid-file option
13187 - Fix service stopping to wait a bit for NM to quit
13189 * initscripts/RedHat/NetworkManagerDispatcher.in
13190 - Use new --pid-file option
13192 2006-02-26 Dan Williams <dcbw@redhat.com>
13195 - make and install nm-crash-logger
13197 * src/nm-logging.[ch]
13198 - New files; consolidate logging and crash handling
13200 * src/nm-crash-logger.c
13202 - Standalong crashlogger for NM, grab a backtrace
13205 * src/NetworkManager.[ch]
13206 - Remove signal handling and put it into nm-logging.c
13208 2006-02-26 Dan Williams <dcbw@redhat.com>
13211 gnome/applet/Makefile.am
13212 - Conditionalize all the notify stuff
13214 Merge most of Chris Aillon's notification patch:
13216 * gnome/applet/applet-notifications.[ch]
13217 - New files; show a notification
13219 * gnome/applet/applet-dbus-devices.[ch]
13220 - (nmwa_dbus_device_activated, nmwa_dbus_device_activated_cb,
13221 nmwa_dbus_device_deactivated, nmwa_dbus_device_deactivated_cb):
13222 new functions, do the right thing when a device change occurs
13224 * gnome/applet/applet-dbus.c
13225 - (nmwa_dbus_filter): Split out DeviceNowActive and DeviceNoLongerActive
13226 signals, so we can handle them specially
13228 * gnome/applet/applet.[ch]
13229 - nmwa_schedule_vpn_login_banner -> nmwa_show_vpn_login_banner
13230 - nmwa_schedule_vpn_failure_alert -> nmwa_show_vpn_failure_alert
13231 - (nmwa_notify_state): remove
13232 - (nmwa_update_state); remove call to nmwa_notify_state, since the
13233 notification work is now done when the appropriate dbus signals
13235 - (nmwa_show_vpn_login_banner, nmwa_show_vpn_failure_alert): don't
13236 defer execution of the notification/dialog stuff. That was an
13237 artifact of the previous multi-threaded nature of the applet
13238 and is now pointless.
13239 - (nmwa_notify_vpn_failure, nmwa_notify_vpn_login_banner): remove,
13240 no longer needed. Function folded into applet-notifications.c
13242 * src/NetworkManagerPolicy.c
13243 - (nm_policy_activation_finish): send the AP along with the device
13244 status change signal, if the connection is wireless. Should
13245 fix the race where applet would show a connection to "unknown"
13247 2006-02-25 Robert Love <rml@novell.com>
13249 Add WPA Enterprise support:
13250 * gnome/applet/Makefile.am: Build the files nm-gconf-wso-wpa-eap.c and
13251 nm-gconf-wso-wpa-eap.h.
13252 * gnome/applet/nm-gconf-wso-wpa-eap.c,
13253 gnome/applet/nm-gconf-wso-wpa-eap.h: Add WPA Enterprise Gconf
13254 serialization and deserialization.
13255 * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
13256 gnome/applet/wireless-security-option.c, gnome/applet/wso-wpa-psk.c,
13257 gnome/applet/wso-wpa-psk.h: Clean up, support new defines.
13258 * gnome/applet/wireless-applet.glade: Add UI for configurating security
13259 settings related to WPA Enterprise.
13260 * gnome/applet/wireless-security-manager.c: Invoke wso_wpa_eap_new() to
13261 instantiate WPA Enterprise wireless-security-option.
13262 * gnome/applet/wso-wpa-eap.c, gnome/applet/wso-wpa-eap.h: New files.
13263 Implement WPA Enterprise wireless-security-option object.
13264 * include/NetworkManager.h: Add new NM_AUTH_TYPE_* and NM_EAP_METHOD_*
13266 * libnm-util/cipher-wpa-psk-hex.c,
13267 libnm-util/cipher-wpa-psk-passphrase.c: Cleanup.
13268 * libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h: Add
13269 nmu_security_serialize_wpa_eap() to serialize input to DBUS method,
13270 nmu_security_serialize_wpa_eap_with_cipher() to serialize input
13271 including the cipher to DBUS method, and
13272 nmu_security_deserialize_wpa_eap() to deserialize from DBUS return
13274 * src/Makefile.am: Build the files nm-ap-security-wpa-eap.c and
13275 nm-ap-security-wpa-eap.h
13276 * src/NetworkManagerAP.c: Add NM_AUTH_TYPE_WPA_EAP to
13277 NM_802_11_CAP_KEY_MGMT_802_1X cipher to capability mapping.
13278 * src/nm-ap-security-wpa-eap.c, src/nm-ap-security-wpa-eap.h: New
13279 files. Implement NMAPSecurityWPA_EAP object.
13280 * src/nm-ap-security-wpa-psk.c: Cleanup.
13281 * src/nm-ap-security.c: Support NM_AUTH_TYPE_EAP cipher and instantiate
13282 an NMAPSecurityWPA_EAP object via the method
13283 nm_ap_security_wpa_eap_new_deserialize().
13284 * src/nm-dbus-nm.c: Cleanup.
13285 * test/nm-tool.c: Display "Enterprise" for wireless networks providing
13286 WPA Enterprise support.
13288 2006-02-24 Robert Love <rml@novell.com>
13290 Patch from Timo Hoenig <thoenig@suse.de>:
13291 * src/NetworkManagerDbus.c: Survive DBUS restarts like a champ.
13293 2006-02-24 Robert Love <rml@novell.com>
13295 Patch from Dan Winship <danw@novell.com>:
13296 * gnome/applet/eggtrayicon.c: Update EggTrayIcon code. Set the gdk
13297 area to transparent.
13299 2006-02-21 Dan Williams <dcbw@redhat.com>
13301 * gnome/applet/applet.[ch]
13302 gnome/applet/applet-dbus.c
13303 - Implement notification support for VPN messages too
13305 2006-02-21 Dan Williams <dcbw@redhat.com>
13307 * gnome/applet/applet-dbus-info.c
13308 - Clean up warning messages to not double-print the function
13310 2006-02-21 Dan Williams <dcbw@redhat.com>
13312 * gnome/applet/applet-compat.c
13313 - (convert_one_entry): accept entries without a key_type and
13314 convert them to unencrypted networks
13316 2006-02-21 Dan Williams <dcbw@redhat.com>
13318 * gnome/libnm_glib/libnm_glib.c
13319 - Use __func__ everywhere we can
13321 - Use dbus pending calls rather than blocking
13322 - Reduce busywaits for our thread to start and stop
13323 (gnome.org #330562)
13324 - (libnm_glib_dbus_init): Use dbus_bus_get_private() so we don't
13325 stomp on others using the default shared dbus connection.
13326 Fixes #rh177546# and gnome.org #326572
13328 2006-02-21 Dan Williams <dcbw@redhat.com>
13330 Patch from Rodney Dawes <dobey@novell.com>
13332 gnome/applet/Makefile.am
13333 gnome/applet/applet.c
13334 - Add libnotify support if '--enable-notify=yes' is passed
13337 2006-02-16 Kang Jeong-Hee <keizie@gmail.com>
13339 * configure.in (ALL_LINGUAS): ko added. (Korean)
13341 2006-02-15 Robert Love <rml@novell.com>
13343 * src/nm-device-802-11-wireless.c: Use LOCALSTATEDIR preprocessor
13344 define, not an open-coded "/var", for WPA_SUPPLICANT_GLOBAL_SOCKET
13345 and WPA_SUPPLICANT_CONTROL_SOCKET.
13347 2006-02-15 Robert Love <rml@novell.com>
13349 * src/nm-device-802-11-wireless.c, src/nm-device.c: When printing debug
13350 information about what connection stage we are at, provide the total
13351 number of stages, e.g. "Stage 2 of 5", so users know how far along
13352 they are if they experience problems.
13354 2006-02-15 Robert Love <rml@novell.com>
13356 * gnome/vpn-properties/Makefile.am: Define SYSCONFDIR preprocessor
13357 define to $sysconfdir.
13358 * gnome/vpn-properties/nm-vpn-properties.c: Make sure we hide the VPN
13359 editing dialog, vpn_edit_widget, which fixes a bug where editing one
13360 type of VPN and then editing another results in a mangled dialog
13361 box containing the widgets from both VPNs (fixes Novell #150854).
13362 Also, some misc. cleanup and use SYSCONFDIR not open coded directory.
13364 2006-02-14 Robert Love <rml@novell.com>
13366 * src/NetworkManager.c: Call closelog() on daemon shutdown to close
13367 syslog's file descriptor.
13369 2006-02-14 Robert Love <rml@novell.com>
13371 Fix bug around since the change to "deal with APs changing settings on
13372 us," checked in on the fifth of February in the year of the dog,
13373 wherein connecting to non-broadcast encrypted networks always fails
13374 because nm_ap_get_encrypted() always returns FALSE, even when the user
13375 provided a key, because the newly-created fake AP does not have any
13376 capabilities set, which is a sypmtom of security settings not matching
13377 capabilities (Novell bug #150784):
13378 * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Add new interface,
13379 nm_ap_add_capabilities_from_security(), which sets the given AP's
13380 capabilities off the given security settings. Also improve our
13381 handling of capabilities w.r.t. NM_802_11_CAP_PROTO_NONE and
13382 NM_AUTH_CIPHER_AUTO.
13383 * src/nm-device-802-11-wireless.c: Call the function
13384 nm_ap_add_capabilities_from_security() to ensure that capabilities
13385 match newly updated security settings.
13387 2006-02-14 Robert Love <rml@novell.com>
13389 * src/nm-device-802-11-wireless.c: Clean up nm_warning calls: Print the
13390 error as a string, not an integer, if possible; do not print the
13391 function name twice; always give the interface, if possible; misc.
13394 2006-02-12 Dan Williams <dcbw@redhat.com>
13396 Patch from Tom Parker <palfrey@tevp.net>
13397 * src/NetworkManagerSystem.h
13398 - Remove prototype for nm_system_device_setup_static_ip4_config(),
13401 * src/backends/NetworkManagerDebian.c
13402 - Remove some dead code (nm_system_device_setup_static_ip4_config) and
13405 2006-02-12 Dan Williams <dcbw@redhat.com>
13407 * vpn-daemons/openvpn/intltool-extract.in
13408 vpn-daemons/openvpn/intltool-merge.in
13409 vpn-daemons/openvpn/intltool-update.in
13410 vpn-daemons/pptp/intltool-extract.in
13411 vpn-daemons/pptp/intltool-merge.in
13412 vpn-daemons/pptp/intltool-update.in
13413 - Remove from CVS, they should get created by intltoolize,
13416 2006-02-12 Dan Williams <dcbw@redhat.com>
13418 * vpn-daemons/pptp/src/pppd/patchlevel.h
13419 * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
13420 - Rename VERSION -> PPPD_VERSION to avoid conflict with the
13421 Makefile-defined VERSION
13423 2006-02-09 Dan Williams <dcbw@redhat.com>
13425 Patch from: Vinay A R <rvinay@novell.com>
13426 * src/vpn-manager/nm-vpn-act-request.[ch]
13427 - Added 'routes' and 'routes_count' to struct NMVPNActRequest since
13428 IPSec VPNs require them for std gateway.
13429 - (nm_vpn_act_request_new): takes arguments for 'user_routes'
13430 and 'user_routes_count'
13431 - (nm_vpn_act_request_get_user_routes): new function; gets user
13432 defined routes from NMVPNActRequest object, returns the string
13435 * src/vpn-manager/nm-vpn-manager.[ch]
13436 - (nm_vpn_manager_activate_vpn_connection): take additional arguments
13437 for 'user_routes' and 'user_routes_count'
13439 * src/vpn-manager/nm-dbus-vpn.c
13440 - (nm_dbus_vpn_activate_connection): gets 'user_routes' from
13441 nm_dbus_vpn_get_routes() to pass to nm_vpn_manager_activate_vpn_connection()
13443 * src/vpn-manager/nm-vpn-service.c
13444 - (nm_vpn_service_stage3_connect): pass user routes over dbus to
13447 Modifications by Dan:
13448 * src/vpn-manager/nm-vpn-service.c
13449 - (nm_vpn_service_stage3_connect): ensure that we don't pass NULL string
13452 * vpn-daemons/vpnc/src/nm-vpnc-service.c
13453 * vpn-daemons/pptp/src/nm-pptp-service.c
13454 * vpn-daemons/openvpn/src/nm-openvpn-service.c
13455 - Grab user routes from dbus message
13456 - Free all string arrays we got from dbus
13458 2006-02-07 Robert Love <rml@novell.com>
13460 Patch by Stefan Seyfried <seife@suse.de>:
13461 * libnm-util/cipher.c: Fix off-by-one error in cipher_bin2hexstr.
13463 2006-02-06 Robert Love <rml@novell.com>
13465 * src/nm-device-802-11-wireless.c: Fix leak in supplicant_status_cb().
13467 2006-02-06 Robert Love <rml@novell.com>
13469 * src/NetworkManagerUtils.c: kill_newline(): 'l' is unsigned so the
13470 test ">=" is never false. If no newline is found, we loop forever.
13471 We can just check for ">" because the following if() will see the
13472 zero-th argument if the while() gets that far.
13474 2006-02-05 Dan Williams <dcbw@redhat.com>
13476 Refine handling of non-broadcast networks.
13478 * src/NetworkManagerAPList.c
13479 - (nm_ap_list_merge_scanned_ap): unconditionally copy the 'broadcast'
13480 property from scanned AP to the AP from the device list
13482 * src/nm-device-802-11-wireless.c
13483 - (supplicant_send_network_config): use ap_scan=1 for all networks
13484 except non-SSID-broadcasting and Ad-Hoc networks. Use
13485 ap_scan=2 for those. Also, don't set scan_ssid for Ad-Hoc
13486 networks since those don't have APs.
13487 - (add_new_ap_to_device_list): if there's no valid SSID, mark the
13488 AP as non-SSID-broadcasting
13489 - (process_scan_results): don't handle non-SSID-broadcasting here
13491 2006-02-05 Dan Williams <dcbw@redhat.com>
13493 * src/nm-device-802-11-wireless.c
13494 - (get_supplicant_timeout): new function; return
13495 NM_SUPPLICANT_TIMEOUT * 2 for cards that support more than
13496 14 channels. These are likely a/b/g cards, like Atheros, and
13497 slow as hell to scan.
13498 - (supplicant_timeout_cb, supplicant_monitor_start): use
13499 get_supplicant_timeout()
13501 2006-02-05 Dan Williams <dcbw@redhat.com>
13503 * src/dhcp-manager/nm-dhcp-manager.c
13504 - Loose a commit race with Robert; make sure size check
13505 uses size of DHCP_SERVICE_LEN, not hardcoded 15
13507 2006-02-05 Robert Love <rml@novell.com>
13509 Patch by Christoph Brill <chrisbrill@gmx.net>:
13510 * src/dhcp-manager/nm-dhcp-manager.c: Replace two open coded defines
13511 with DHCP_SERVICE_NAME.
13513 2006-02-05 Dan Williams <dcbw@redhat.com>
13515 Remove anything having to do with device_setup_func from the
13516 AP security objects, since it's no longer used.
13518 * src/nm-ap-security.h
13519 - Kill device_setup_func and nm_ap_security_device_setup()
13521 * src/nm-ap-security-wep.c
13522 src/nm-ap-security-wpa-psk.c
13523 - (real_device_setup): remove
13525 * src/nm-ap-security.c
13526 - (real_device_setup): remove
13527 - (nm_ap_security_device_setup): remove
13529 * src/nm-device-802-11-wireless.[ch]
13530 - (nm_device_802_11_wireless_set_wep_enc_key): make static
13531 - (set_wireless_config, wireless_configure_adhoc): remove; unused
13532 and done by wpa_supplicant now anyway
13534 2006-02-05 Dan Williams <dcbw@redhat.com>
13536 * src/nm-device-802-11-wireless.c
13537 - (ap_need_key, real_act_stage2_config): deal with APs changing
13538 settings on us. Previously NM would loop asking for the
13539 key but getting the same one back. Now, if the NMI-supplied
13540 cipher doesn't overlap with the scanned AP capabilities,
13541 we request a completely new key from the user.
13543 2006-02-05 Dan Williams <dcbw@redhat.com>
13545 * src/NetworkManagerUtils.c
13546 - (nm_utils_supplicant_request_with_check, nm_utils_supplicant_request):
13547 Handle newline killing better
13549 2006-02-05 Dan Williams <dcbw@redhat.com>
13551 * gnome/applet/nm-gconf-wso.c
13552 - (real_serialize_dbus): return TRUE, not 0. Fixes serialization
13553 of unencrypted access point security info.
13555 2006-02-03 Robert Love <rml@novell.com>
13557 * src/NetworkManagerUtils.c: Even for debugging, we should not log the
13558 user's encryption key, so we print the err_msg_cmd not the command,
13559 if available. So long as SUPPLICANT_DEBUG is default, this makes
13562 2006-02-03 Christopher Aillon <caillon@redhat.com>
13564 * initscript/RedHat/NetworkManagerDispatcher.in:
13565 * initscript/RedHat/NetworkManager.in: modify the pidfile location
13566 Patch from Dan Walsh <dwalsh@redhat.com>
13568 2006-02-03 Robert Love <rml@novell.com>
13570 * dispatcher-daemon/NetworkManagerDispatcher.c,
13571 dispatcher-daemon/Makefile.am: Don't hardcode the location of /etc
13572 but use the sysconfdir.
13574 2006-02-03 Robert Love <rml@novell.com>
13576 * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h:
13577 Make nm_device_802_11_wireless_get_essid() return 'const char *' not
13579 * src/nm-ip4-config.c, src/nm-ip4-config.h: Make the functions
13580 nm_ip4_config_get_hostname() and
13581 nm_ip4_config_get_nis_domain() return 'const char *' not 'char *'.
13582 * src/backends/NetworkManagerSuSE.c: Fix up for above. Also, do not
13583 leak g_strdup() result.
13585 2006-02-03 Robert Love <rml@novell.com>
13587 * src/NetworkManagerAP.c: In nm_ap_new(), default new networks to
13588 broadcast == TRUE. Also, copy broadcast and artificial properties
13589 from source network to destination in nm_ap_copy().
13590 * src/nm-device-802-11-wireless.c: Don't set broadcast flag to TRUE,
13591 since we now default new networks to non-hidden.
13593 2006-02-03 Dan Williams <dcbw@redhat.com>
13595 * gnome/applet/main.c
13596 - (main): change the NEVER->ALWAYS so we start at the
13597 beginning of the session, if being session-managed
13599 2006-02-03 Dan Williams <dcbw@redhat.com>
13601 * gnome/applet/main.c
13602 - (main): in a variation on Robert's patch, change
13603 RESTART_IMMEDIATELY -> RESTART_NEVER. Should do what
13606 2006-02-02 Robert Love <rml@novell.com>
13608 * src/Makefile.am: If we aren't going to create the run directory at,
13609 uh, run-time, create it during install. Then users just doing
13610 'make install' are cool, too. While we are here, create the
13611 dispatcher.d directory, too.
13612 * src/nm-device-802-11-wireless.c: Let the Makefile define and pass in
13613 the exact run directory.
13614 * Makefile.am: Install nm-applet.desktop.
13616 2006-02-02 Robert Love <rml@novell.com>
13618 * src/NetworkManagerAP.c: Add 'broadcast' property to the NMAccessPoint
13619 structure, which denotes whether or not the AP is hidden. This is a
13620 superset of 'artificial' -- we need 'broadcast' because a hidden AP
13621 can show up in the scan list. Add nm_ap_get_broadcast() and
13622 nm_ap_set_broadcast() accessor interfaces.
13623 * src/NetworkManagerAP.h: Add prototypes for nm_ap_get_broadcast() and
13624 nm_ap_set_broadcast().
13625 * src/nm-dbus-net.c: Add new argument, boolean broadcast, to the
13626 "getProperties" method, which denotes whether or not the given
13628 * src/nm-device-802-11-wireless.c: Set broadcast to FALSE when creating
13629 an artificial network. Set broadcast to TRUE when scanning returns
13630 an ESSID and FALSE when not.
13631 * gnome/applet/applet-dbus-devices.c: Retrieve 'broadcast' argument
13632 from "getProperties" method on a network. Possible TODO is to
13633 somehow display this.
13634 * test/nm-tool.c: Display "Hidden" if the AP does not broadcast.
13636 2006-02-02 Dan Williams <dcbw@redhat.com>
13638 * src/nm-device-802-11-wireless.c
13639 - (supplicant_interface_init): don't try to create
13640 /var/run/NetworkManager, since that should be done by
13641 the distro package. Causes problems for stuff like SELinux
13643 2006-02-02 Robert Love <rml@novell.com>
13645 Patch by Sureshkumar T <tsureshkumar@novell.com>:
13646 * src/vpn-manager/nm-vpn-connection.c, src/NetworkManagerSystem.c:
13647 Check for and handle empty string for iface.
13649 2006-02-01 Robert Love <rml@novell.com>
13651 * configure.in, man/nm-tool.1.in, man/Makefile.am: Add nm-tool(1)
13654 2006-01-31 Dan Williams <dcbw@redhat.com>
13656 * nm-applet.desktop
13657 - Add --sm-disable to Exec arguments, presuming that when
13658 using autostart, we don't want session management
13660 2006-01-31 Robert Love <rml@novell.com>
13662 * src/NetworkManagerAP.c: Add two new manufacturer default network
13663 names: linksys-a and linksys-g. These are found (at least) on the
13664 Linksys WAP55AG, which does both 802.11a and 802.11b, each with their
13667 2006-01-31 Robert Love <rml@novell.com>
13669 * src/NetworkManagerAP.c: Optimize the function
13670 nm_ap_has_manufacturer_default_essid(). I did not like its resulting
13671 machine code. This is the first in a series of code tweaks aiming to
13672 generate better machine code and make NetworkManager all the better.
13673 Just kidding. Who has time to go through the assembly generated for
13674 every function? I certainly don't. I have a wife, a kid, a job,
13675 a mortgage, a mistress. But this function was so bad, I was called
13676 to arms. Like the book.
13678 2006-01-31 Robert Love <rml@novell.com>
13680 * src/nm-device-802-11-wireless.c: Set "scan_ssid 1" if the requested
13681 AP is not broadcasting, to scan with probe request frames. Required
13682 for non-broadcast networks.
13684 2006-01-31 Robert Love <rml@novell.com>
13686 * src/nm-device-802-11-wireless.c: Make the wpa_supplicant a
13687 preprocessor define (still 20s). Fix message text in nm_info()
13688 s/too too/took too/.
13690 2006-01-30 Dan Williams <dcbw@redhat.com>
13692 * src/nm-device-802-11-wireless.c
13693 - (supplicant_monitor_start): increase connect/auth timeout to
13694 20 seconds from 10 seconds
13696 2006-01-30 Dan Williams <dcbw@redhat.com>
13699 - Define LOCALSTATEDIR
13701 * src/nm-device-802-11-wireless.c
13702 - (supplicant_exec): tell wpa_ctrl_open() to stick the local control
13703 socket where we want it to
13705 * src/wpa_ctrl.[ch]
13706 - (wpa_ctrl_open): accept location to put local control socket
13708 2006-01-30 Robert Love <rml@novell.com>
13710 * src/dhcp-manager/nm-dhcp-manager.c: Pass TRUE for ignore_error in
13711 get_ip4_string() for "domain_name".
13713 2006-01-30 Robert Love <rml@novell.com>
13715 * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
13716 gnome/applet/wireless-security-option.c, include/NetworkManager.h,
13717 libnm-util/cipher-wpa-psk-hex.c, src/nm-ap-security-wpa-psk.c,
13718 libnm-util/cipher-wpa-psk-passphrase.c, src/nm-ap-security.c: Add
13719 support for "Automatic" pairwise and group cipher configuration by
13720 letting wpa_supplicant handle the details. Add UI elements, new
13721 cipher type NM_AUTH_CIPHER_AUTO, and backend support. Works like a
13722 charm. Note this does more than add a nice feature, it fixes a bug.
13723 Apparently, some people have AP's where the pairwise cipher does not
13724 match the group cipher. Insane, but true.
13726 2006-01-30 Dan Williams <dcbw@redhat.com>
13728 * gnome/applet/applet-dbus-devices.c
13729 - (nmwa_dbus_device_get_driver_cb, nmwa_dbus_device_get_driver): new
13730 functions, grab device driver name from NetworkManager
13731 - (nmwa_dbus_device_properties_cb): call functions to get driver
13733 * gnome/applet/applet.c
13734 - (nmwa_update_info): show driver name in Connection Information
13737 * gnome/applet/nm-device.[ch]
13738 - (network_device_get_driver, network_device_set_driver): add
13739 accessors for driver name
13741 * gnome/applet/wireless-applet.glade
13742 - Add line for driver name to Connection Information dialog
13744 * src/nm-dbus-device.c
13745 - (nm_dbus_device_get_driver): new function to return driver name
13746 - (nm_dbus_device_methods): hook up driver name function to dbus
13749 - (get_driver_name): new function
13750 - (detail_device): grab and show driver name
13752 2006-01-30 Robert Love <rml@novell.com>
13754 * gnome/applet/applet.c: Apparently gtk_message_dialog_new_with_markup
13755 does not parse the markup if it is not part of the format.
13757 2006-01-30 Robert Love <rml@novell.com>
13759 * gnome/applet/passphrase-dialog.c: If wsm_set_capabilities() returns
13760 FALSE, we have no security options for this dialog, so we throw up
13761 an error dialog instead of a broken passphrase dialog. Fixes
13763 * gnome/applet/wireless-security-manager.c,
13764 gnome/applet/wireless-security-manager.h: If wsm_set_capabilities()
13765 does not add any security options, not even NONE, print a warning
13766 and return FALSE. This let's functions constructing a dialog bail
13767 out if the device's capabilities and the network's requirements have
13770 2006-01-27 Robert Love <rml@novell.com>
13772 * configure.in: Require wpa_supplicant. Detect location of binary and
13773 use it. Override with "--with-wpa_supplicant=foo".
13774 * src/Makefile.am, src/nm-device-802-11-wireless.c: Do not hardcode the
13775 path to wpa_supplicant but use the auto-detected or user-provided
13776 value from configure.
13778 2006-01-27 Robert Love <rml@novell.com>
13780 * src/backends/NetworkManagerSuSE.c: If DHCLIENT_SET_HOSTNAME is set
13781 but the DHCP server did not return a hostname, try to look up our
13782 name via DNS and set the system hostname to that.
13784 2006-01-27 Dan Williams <dcbw@redhat.com>
13786 * src/backends/NetworkManagerRedHat.c
13787 - Add NM_CONTROLLED system network script support for RH/Fedora
13789 2006-01-27 Dan Williams <dcbw@redhat.com>
13791 * src/backends/NetworkManagerGentoo.c
13792 - (nm_system_device_get_disabled): add missing function.
13795 2006-01-27 Clytie Siddall <clytie@riverland.net.au>
13797 * configure.in: Added vi in ALL_LINGUAS line.
13799 2006-01-26 Robert Love <rml@novell.com>
13801 * src/Makefile.am, src/kernel-types.h: Now that two different source
13802 files are feeling the crack-addled leakage of kernel types such as
13803 u32 and s8 -- superior to __u64 and __u8, to be sure, but not valid
13804 types in user-space -- define a header and include it as needed.
13805 * src/nm-device-802-3-ethernet.c: Include kernel-types.h
13806 * src/nm-device-802-3-ethernet.h: Remove defines.
13807 * src/wpa.c: Remove defines and include kernel-types.h.
13809 2006-01-26 Robert Love <rml@novell.com>
13811 * TODO: Update. WPA support is in the bag and HAL restarts (should)
13814 2006-01-26 Robert Love <rml@novell.com>
13816 * configure.in: Change '-Wno-unused' to '-Wno-unused-parameter'
13817 * gnome/applet/applet-compat.c, gnome/applet/applet-dbus-devices.c,
13818 gnome/applet/applet-dbus-info.c, gnome/applet/applet-dbus.c,
13819 gnome/applet/applet.c, gnome/applet/applet.h, src/nm-dbus-device.c,
13820 gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
13821 gnome/applet/nm-gconf-wso.c, gnome/applet/nm-gconf-wso.h,
13822 gnome/applet/other-network-dialog.c, src/nm-device.c, test/nm-tool.c,
13823 gnome/applet/passphrase-dialog.c, src/nm-device-802-11-wireless.c,
13824 gnome/applet/wireless-security-manager.c, src/nm-ip4-config.c,
13825 gnome/applet/wireless-security-option.c, src/nm-ap-security.c,
13826 gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
13827 gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-psk.c,
13828 libnm-util/dbus-helpers.c, src/NetworkManagerAP.c, src/nm-dbus-nmi.c,
13829 src/NetworkManagerSystem.c, src/nm-ap-security-wep.c,
13830 src/nm-device-802-11-wireless.h, test/libnm-util/test-ciphers.c,
13831 src/named-manager/nm-named-manager.c, test/test-common/test-common.c:
13832 Kill unused variables, labels, and static functions. Don't pass
13833 string literals as the format string for printf-like functions.
13835 2006-01-25 Dan Williams <dcbw@redhat.com>
13837 * gnome/applet/wireless-applet.glade
13838 - Remove WPA2 Checkbox
13840 * gnome/applet/wireless-security-manager.c
13841 - (wsm_set_capabilities): split up sections for wpa and wpa2.
13842 This means the Wireless Security menu now has two WPA options,
13843 one for "WPA Personal" and one for "WPA2 Personal"
13845 * gnome/applet/wso-wpa-psk.[ch]
13846 - (wso_wpa_psk_new): remove stuff for WPA2 checkbox, and use
13847 'wpa2' argument to determine WPA version to use
13848 - (append_dbus_params_func): pass stored WPA version to cipher
13849 rather than using the (removed) checkbox
13851 2006-01-24 Robert Love <rml@novell.com>
13853 * src/dhcp-manager/nm-dhcp-manager.c: Null-out the original byte array
13854 before we g_strdup(), not the ultimate string.
13856 2006-01-23 Dan Williams <dcbw@redhat.com>
13858 * src/NetworkManagerAP.[ch]
13859 - (nm_ap_new_from_ap): copy original essid too
13860 - (nm_ap_unref): free original essid
13861 - (nm_ap_get_orig_essid): new function
13862 - (nm_ap_set_essid): Convert essid to UTF-8 for display and dbus,
13863 but keep original essid around too
13865 * src/nm-device-802-11-wireless.c
13866 - (supplicant_send_network_config): send wpa_supplicant the
13867 _original_ essid, and not as a string, but in hex. Should
13868 allow us to connect to more APs that use wierd character
13869 encodings for their essids
13871 * utils/nm-utils.[ch]
13872 - (nm_utils_essid_to_utf8): make a best-effort to convert the essid
13873 to UTF-8. If it's not already valid UTF-8, we check LANG and
13874 use the current locale as a hint for what encoding the essid
13875 might be in. Obviously not 100% accurate, but the idea here is
13876 that if a user's locale is ex. ja_JP, they are more likely than
13877 not to be in Japan, where access points will likely be in some
13880 2006-01-23 Dan Williams <dcbw@redhat.com>
13882 * libnm-util/cipher-private.h
13883 libnm-util/cipher.c
13884 libnm-util/cipher.h
13885 - (cipher_bin2hexstr, cipher_hexstr2bin): make public
13887 2006-01-23 Robert Love <rml@novell.com>
13889 Patch by Timo Hoenig <thoenig@suse.de>:
13890 * dhcp-manager/nm-dhcp-manager.c, nm-device.c, nm-ip4-config.c,
13891 nm-ip4-config.h, NetworkManagerSystem.h: Save the hostname reported
13892 by DHCP and pass it to the backends, allowing distribution-specific
13893 behavior with respect to the DHCP-supplied hostname (if nothing else,
13894 some distributions might not want to set the hostname).
13895 * backends/NetworkManagerSuSE.c: Set the hostname if the variable
13896 DHCLIENT_SET_HOSTNAME is set to "yes" in /etc/sysconfig/network/dhcp.
13897 Also update our NIS behavior.
13898 * backends/NetworkManagerDebian.c, backends/NetworkManagerGentoo.c,
13899 backends/NetworkManagerRedHat.c, backends/NetworkManagerSlackware.c:
13900 Add stub functions.
13902 2006-01-23 Robert Love <rml@novell.com>
13904 * Makefile.am, nm-applet.desktop: Add autostart .desktop file, now that
13905 gnome-session does autostart. TODO: We need to install this to
13906 $prefix/share/autostart/.
13908 2006-01-22 Dan Williams <dcbw@redhat.com>
13910 * src/NetworkManagerAP.[ch]
13912 src/nm-device-802-11-wireless.c
13913 - Make nm_ap_get_essid return "const char *"
13915 2006-01-22 Dan Williams <dcbw@redhat.com>
13917 * src/NetworkManagerAP.[ch]
13918 - (nm_ap_get_matched, nm_ap_set_matched): remove
13920 * src/NetworkManagerAPList.[ch]
13921 - (nm_ap_list_diff): removed
13922 - (nm_ap_list_merge_scanned_ap): move AP dbus signal logic here,
13923 deal with access points changing essids on us
13925 * src/nm-device-802-11-wireless.c
13926 - (add_new_ap_to_device_list): move AP dbus signal logic to
13927 src/NetworkManagerAPList.c
13928 - (real_can_interrupt_activation): new function; allow interruption
13929 of device activation if we are waiting for a network key
13931 * src/NetworkManagerPolicy.c
13932 - (nm_policy_device_change_check): allow interruption of currently
13933 activating devices if the device allows it. Previous behavior
13934 would refuse to activate a just-plugged wired device if a
13935 wireless device was waiting for a key.
13937 * src/nm-device.[ch]
13938 - (nm_device_can_interrupt_activation): new function; ask devices
13939 whether their activation can be interrupted
13941 2006-01-20 Robert Love <rml@novell.com>
13943 * Makefile.am, configure.in: Add new man subdirectory.
13944 * man, man/NetworkManager.1.in, man/NetworkManagerDispatcher.1.in,
13945 man/Makefile.am: Add man pages for NetworkManager and its
13946 crime-solving bumbling buddy, NetworkManagerDispatcher.
13947 * man/.cvsignore: Add.
13948 * initscript/Debian/NetworkManager,
13949 initscript/Gentoo/NetworkManager.in,
13950 initscript/RedHat/NetworkManager.in,
13951 initscript/RedHat/NetworkManagerDispatcher.in,
13952 initscript/SUSE/networkmanager-dispatcher.in,
13953 initscript/SUSE/networkmanager.in: Update for /usr/sbin not /usr/bin.
13955 2006-01-20 Robert Love <rml@novell.com>
13957 * src/NetworkManagerDbus.c: Fail if NM's DBUS service is already taken,
13958 instead of queuing. This prevents the running of multiple NM
13959 daemons concurrently, which does not work whatsoever and results in
13960 neither daemon working correctly. Also, we don't handle queuing and
13961 name-owner-changes, anyhow.
13963 2006-01-20 Robert Love <rml@novell.com>
13965 * src/Makefile.am: Install the NetworkManager daemon to sbin, not bin.
13966 * dispatcher/Makefile.am: Install the NetworkManagerDispatcher daemon
13969 2006-01-19 Robert Love <rml@novell.com>
13971 * configure.in: Require hal 0.5.0 or later.
13973 2006-01-18 Robert Love <rml@novell.com>
13975 * src/NetworkManager.c, src/NetworkManagerSystem.h, src/nm-device.c:
13976 Allow backends to flag a device (in whatever distro-dependent way
13977 they so desire) as disabled. NM will ignore any such device.
13978 * src/backends/NetworkManagerDebian.c,
13979 src/backends/NetworkManagerRedHat.c,
13980 src/backends/NetworkManagerSlackware.c: Add stub function
13981 nm_system_device_get_disabled() that always returns FALSE (enabled).
13982 * src/backends/NetworkManagerSuSE.c: Add system_disabled field to the
13983 SUSE-specific configuration structure. Fill it in from the
13984 NM_CONTROLLED variable in the system networking scripts. If this var
13985 exists and is "no", we ignore the device.
13987 2006-01-17 Robert Love <rml@novell.com>
13989 * configure.in: Remove 'no' language. Replaced by 'nb', which is
13990 identical for NM. For a full discussion, see the thread at
13991 http://mail.gnome.org/archives/gnome-i18n/2004-August/msg00006.html.
13993 2006-01-17 Dan Williams <dcbw@redhat.com>
13996 - (nm_device_class_init): connect a default act_stage4_ip_config_timeout
13997 function. Fixes crash when wired DHCP fails.
13999 2006-01-16 Robert Love <rml@novell.com>
14001 * src/Makefile.am: Don't install NMLoadModules
14002 * src/NMLoadModules, test/NMLoadModules: Move the NMLoadModules script
14003 from src/ to test/ as no one uses it anymore. Note that I would be
14004 fine with removing it altogether.
14006 2006-01-16 Robert Love <rml@novell.com>
14008 * gnome/applet/eggtrayicon.c, src/nm-device.c, src/nm-ap-security.c,
14009 gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
14010 gnome/applet/nm-gconf-wso.c, src/nm-device-802-3-ethernet.c,
14011 gnome/vpn-properties/nm-vpn-properties.c, src/nm-ap-security-wep.c,
14012 src/nm-ap-security-wpa-psk.c, src/nm-device-802-11-wireless.c,
14013 src/nm-netlink-monitor.c: Don't miss any initializers on structure
14014 declarations, ever.
14015 * gnome/applet/applet.c: Remove useless check (NMState is unsigned and
14016 NM_STATE_DISCONNECTED is zero).
14018 2006-01-16 Robert Love <rml@novell.com>
14020 * src/nm-device-802-11-wireless.c: argv[3], not argv[4]. Fix
14021 uninitialized parameter and buffer overflow. Novell #143496.
14023 2006-01-16 Dan Williams <dcbw@redhat.com>
14025 Apply the PtP Address bits of a patch from Tim Niemueller
14027 * src/nm-ip4-config.[ch]
14028 - Add ip4_ptp_address member to object
14029 - (nm_ip4_config_copy): copy ptp address too
14030 - (nm_ip4_config_get_ptp_address, nm_ip4_config_set_ptp_address):
14032 - (nm_ip4_config_to_rtnl_addr): use ptp address when asked to,
14033 rather than local tunnel ip address
14035 * src/vpn-manager/nm-vpn-service.c
14036 - (print_vpn_config): update for PtP address
14037 - (nm_vpn_service_stage4_ip_config_get): switch parsing to
14038 DBusMessageIters in preparation for getting routes from the VPN
14039 service daemons too
14041 * vpn-daemons/openvpn/src/nm-openvpn-service-openvpn-helper.c
14042 - (send_config_info): update for PtP address, clean up code
14043 - (main): update for PtP address, clean up code, fix typo
14045 * vpn-daemons/openvpn/src/nm-openvpn-service.c
14046 - (nm_openvpn_dbus_process_helper_ip4_config): update for PtP address
14048 * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
14049 - (pptp_ip_up): update for PtP address
14051 * vpn-daemons/pptp/src/nm-pptp-service.c
14052 - (nm_pptp_dbus_process_helper_ip4_config): update for PtP address
14054 * vpn-daemons/vpnc/src/nm-vpnc-service.c
14055 - (print_vpn_config): update for PtP address
14056 - (nm_vpnc_dbus_process_helper_ip4_config): update for PtP address
14058 2006-01-16 Dan Williams <dcbw@redhat.com>
14060 * gnome/applet/applet.c
14061 - (nmwa_add_networks_helper): don't indicate an active network
14062 if NM is disconnected or asleep
14064 2006-01-16 Dan Williams <dcbw@redhat.com>
14066 * src/NetworkManagerPolicy.c
14067 - (nm_policy_device_change_check): switch devices if we lose the link
14068 on an ethernet device.
14070 2006-01-16 Dan Williams <dcbw@redhat.com>
14072 * gnome/applet/wso-wpa-psk-hex.[ch]
14073 - Renamed -> wso-wpa-psk.[ch]
14075 * gnome/applet/wso-wpa-psk.[ch]
14078 * gnome/applet/wso-wpa-psk-passphrase.[ch]
14079 - Removed, rolled into wso-wpa-psk.[ch]
14081 * gnome/applet/Makefile.am
14082 - Updated for above changes
14084 * gnome/applet/wireless-applet.glade
14085 - Consolidate WPA-PSK options into one notebook
14086 widget, and make dialogs invisible by default
14087 to fix screen oddities
14089 * gnome/applet/wireless-security-manager.c
14090 - (wsm_set_capabilities): create the new wpa-psk widget rather
14091 than both the old hex & passphrase ones
14093 2006-01-16 Dan Williams <dcbw@redhat.com>
14095 * gnome/applet/other-network-dialog.c
14096 - (nmwa_ond_init): Change text to refer to "name" rather than "ESSID"
14098 2006-01-16 Dan Williams <dcbw@redhat.com>
14100 * gnome/applet/applet.c
14101 - (nmwa_show_vpn_login_banner_dialog, nmwa_show_vpn_failure_dialog,
14102 nmwa_driver_notify, show_warning_dialog): fix up focus-stealing
14103 prevention to realize window before trying to get server
14106 * gnome/applet/other-network-dialog.c
14107 - (nmwa_other_network_dialog_run): fix up focus-stealing
14108 prevention to realize window before trying to get server
14111 * gnome/applet/passphrase-dialog.c
14112 - (nmi_passphrase_dialog_new): fix up focus-stealing
14113 prevention to realize window before trying to get server
14116 2006-01-16 Robert Love <rml@novell.com>
14118 Patch from Timo Hoenig <thoenig@suse.de:
14119 * libnm-util/cipher-wep-ascii.h, libnm-util/cipher-wep-hex.h,
14120 libnm-util/cipher-wep-passphrase.h, libnm-util/cipher-wpa-psk-hex.h,
14121 libnm-util/cipher-wpa-psk-passphrase.h, libnm-util/cipher.h,
14122 libnm-util/dbus-helpers.h: add checks whether headers are used
14123 within a C++ build.
14125 2006-01-16 Dan Williams <dcbw@redhat.com>
14127 * gnome/applet/wireless-security-option.c
14128 - (wso_wpa_create_key_type_model): clarify AES-CCMP algorithm name
14130 2006-01-16 Dan Williams <dcbw@redhat.com>
14132 * libnm-util/cipher-wpa-psk-passphrase.c
14133 - (cipher_wpa_psk_passphrase_new): correct passphrase length, should
14134 be 8 - 63 characters inclusive
14136 2006-01-16 Dan Williams <dcbw@redhat.com>
14139 - (nm_dbus_nm_sleep): bring device down after quick deactivation
14141 2006-01-13 Robert Love <rml@novell.com>
14143 Patch by T Sureshkumar <tsureshkuman@novell.com>:
14144 * src/NetworkManagerSystem.c: Don't assert iface != NULL, allowing VPN
14145 modules that do not use an interface.
14147 2006-01-13 Dan Williams <dcbw@redhat.com>
14151 - Allow subclasses to implement deactivate_quickly()
14152 - (nm_device_deactivate_quickly): call subclass
14153 deactivate_quickly() methods
14154 - (nm_device_set_active_link): small cleanups, and don't
14155 deactivate the device right away because we risk a deadlock
14156 when called from device thread, waiting for the device
14157 thread to cancel activation
14159 * src/nm-device-802-11-wireless.c
14160 - (real_deactivate_quickly): new function
14161 - (nm_device_802_11_wireless_class_init): hook in real_deactivate_quickly
14162 - (real_deactivate): move supplicant cleanup to real_deactivate_quickly
14163 so that we kill the supplicant when we sleep too
14164 - (supplicant_interface_init): work around naive naming attempts of
14165 wpa_ctrl when naming sockets
14167 2006-01-13 Dan Williams <dcbw@redhat.com>
14169 * src/nm-device-802-11-wireless.c
14170 - (supplicant_cleanup): delete old device control sockets too
14171 - (supplicant_get_device_socket_path): new function to consolidate
14172 locations that need a path to a device's control socket
14174 2006-01-12 Robert Love <rml@novell.com>
14176 * src/backends/NetworkManagerSuSE.c: Put the ppp device in the
14177 description so that the description is unique for each
14178 pair (device,provider). Fixes Novell #142773.
14180 2006-01-12 Dan Williams <dcbw@redhat.com>
14182 * src/nm-device-802-11-wireless.c
14183 - (supplicant_exec): ensure GError is correctly initialized
14184 Reported by Diego González (gnome.org #326708)
14186 2006-01-11 Robert Love <rml@novell.com>
14188 * src/nm-device-802-3-ethernet.c: In case local copies of glibc do not
14189 define if_mii(), open code the same results, and do so without any
14192 2006-01-11 Robert Love <rml@novell.com>
14194 * gnome/applet/wireless-security-manager.c: Fix crash by not asserting
14195 that wso_foo_new() returned non-NULL. Instead, only append the new
14196 wso to wsm->options if the wso is non-NULL. The crux is that we
14197 assume that the relevant key types are implied by WEP and WPA as
14198 appropriate. To be sure, they should be, but we should not expect
14199 drivers to not be oozing piles of wolf fecal matter.
14201 2006-01-11 Robert Love <rml@novell.com>
14203 * configure.in: Add the gcc flags '-Wshadow' and '-Wfloat-equal'.
14204 * gnome/applet/applet.c, gnome/vpn-properties/nm-vpn-properties.c,
14205 src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
14206 src/NetworkManagerPolicy.c, src/NetworkManagerSystem.c,
14207 src/nm-dbus-device.c, src/nm-device-802-3-ethernet.c,
14208 src/nm-ip4-config.c, src/vpn-manager/nm-vpn-manager.c,
14209 test/nmtestdevices.c: Fix shadowed variable usage as appropriate.
14210 * src/nm-device-802-11-wireless.c: Fix floating point comparison by
14211 comparing values within DBL_EPSILON. Also fix shadowed variable
14214 2006-01-11 Dan Williams <dcbw@redhat.com>
14216 Add options for WPA2 and WPA1+CCMP (AES).
14218 * gnome/applet/wireless-applet.glade
14219 - Add UI bits for WPA+CCMP
14221 * gnome/applet/other-network-dialog.c
14222 - (nmwa_ond_init): pass capabilities into the WirelessSecurityManager,
14223 and don't allow creation of WPA2 Ad-Hoc networks since
14224 wpa_supplicant doesn't support them
14226 * gnome/applet/wireless-security-manager.c
14227 - (wsm_set_capabilities): Add WPA2 options, and pass capability
14228 on to the specific wireless security option being created
14230 * gnome/applet/wireless-security-option.[ch]
14231 - (wso_wpa_create_key_type_model): new utility function to create
14232 the model required for WPA Key Type combo box
14234 * gnome/applet/wso-private.h
14235 gnome/applet/wireless-security-option.h
14236 - Move private function prototypes into wso-private.h
14238 * gnome/applet/wso-wpa-psk-hex.[ch]
14239 gnome/applet/wso-wpa-psk-passphrase.[ch]
14240 - (append_dbus_params_func): get WPA version from checkbox and pass
14241 it to the dbus serialization helper
14242 - (key_type_combo_changed_cb): Set the cipher's WE Cipher when the
14243 key type combo changes
14244 - (wso_wpa_psk_hex_new): set up the key type combo with the correct
14247 * libnm-util/cipher-wpa-psk-hex.c
14248 libnm-util/cipher-wpa-psk-passphrase.c
14249 - (cipher_wpa_psk_hex_set_we_cipher, cipher_wpa_psk_passphrase_set_we_cipher):
14250 new function; allow the cipher to be changed after object creation
14252 * src/nm-ap-security-wpa-psk.c
14253 - (set_description): Do WPA2 descriptions too
14255 * src/nm-ap-security.c
14256 - (nm_ap_security_new_from_ap): allow CCMP with WPA1 too
14258 2006-01-11 Robert Love <rml@novell.com>
14260 * src/nm-device-802-3-ethernet.c: Use the if_mii() inline function that
14261 is defined in <linux/mii.h> to return the mii_ioctl_data structure
14262 from the ifreq structure in lieu of an open coded solution. Removes
14263 a life-threatening type-punning.
14264 * configure.in: Remove '-Wno-strict-aliasing' as we no longer pun any
14265 types, ever, whatsoever, baby.
14267 2006-01-11 Robert Love <rml@novell.com>
14269 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.c,
14270 gnome/applet/applet.c, gnome/applet/applet.h: Consolidating
14271 assignments to applet->nm_state into a new nmwa_set_state() function
14272 for both cleanliness and to help debugging.
14274 2006-01-10 Robert Love <rml@novell.com>
14276 * src/autoip.c: Fix FIXME. In performing the link-local zeroconf IP
14277 assignment dance, we want to sleep between PROBE_MIN and PROBE_MAX
14278 seconds, exclusive. That is, we want to sleep x seconds such that
14281 2006-01-10 Robert Love <rml@novell.com>
14283 * gnome/applet/applet-dbus-info.c: Remove FIXME, we do not have to free
14284 the attr fields according to the example in the email available at
14285 mail.gnome.org/archives/desktop-devel-list/2004-May/msg00230.html.
14286 Conversely, we do have to free 'name', so we do so, fixing a leak.
14288 2006-01-10 Robert Love <rml@novell.com>
14290 * src/nm-device-802-11-wireless.c, src/nm-device-802-3-ethernet.c: Make
14291 sure that we close the socket!
14293 2006-01-10 Robert Love <rml@novell.com>
14295 * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h,
14296 src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h,
14297 src/nm-device.c: Fix a FIXME! Reimplement the function
14298 nm_device_update_hw_address() in device subclass variants,
14299 nm_device_802_3_ethernet_set_address() and
14300 nm_device_802_11_wireless_set_address(), hook them up, and use them.
14301 This fixes the existing bug where MAC addresses are all zeros.
14303 2006-01-10 Robert Love <rml@novell.com>
14305 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.h,
14306 gnome/applet/applet.c, gnome/applet/applet.h: Add 'Enable Networking'
14307 option to give users ability to globally disconnect and put NM to
14308 sleep. This is useful as a 'lockdown mode' for flying, security, and
14311 2006-01-09 Robert Love <rml@novell.com>
14313 * src/nm-device-802-3-ethernet.h: The kernel headers <linux/mii.h> and
14314 <linux/ethtool.h> leak the kernel-only types u16, u32, et al.
14315 User-space does not supply these types, so we have to define them
14316 ourselves. The relevant kernel maintainer refused to accept a patch
14317 switching these headers to the proper C99 types.
14319 2006-01-09 Dan Williams <dcbw@redhat.com>
14321 Apply Robert's 'tray icon redo' patch with fixes
14322 * gnome/applet/applet.c
14323 gnome/applet/applet.h
14324 - Instead of using a menu bar + menu item, simulate menu
14325 behavior using a popup menu. Highlight the area around
14326 the icon more like a menu too, by playing with the
14327 applet's size requisition
14329 2006-01-09 Timo Hoenig <thoenig@suse.de>
14330 * libnm-util/dbus-helpers.c
14331 libnm-util/dbus-helpers.h
14332 - (nmu_create_dbus_error_message): rename parameter 'namespace'
14333 to 'exception_namespace' (:namespace is a keyword in
14336 2006-01-09 Dan Williams <dcbw@redhat.com>
14338 * src/NetworkManagerPolicy.c
14339 - (nm_policy_device_change_check): don't autoswitch away from
14340 Ad-Hoc networks, since there's really no concept of
14344 - (nm_dbus_nm_create_wireless_network): mark created networks
14347 * src/nm-device-802-11-wireless.c
14348 - (real_activation_success_handler): add user-created Ad-Hoc
14349 networks to the device's scan list
14351 2006-01-08 Dan Williams <dcbw@redhat.com>
14353 We now require a patch for wpa_supplicant to support Ad-Hoc
14355 http://people.redhat.com/dcbw/wpa_supplicant-ctrl-iface-ap-scan.patch
14357 * src/nm-device-802-11-wireless.c
14358 - (supplicant_send_network_config): turn off wpa_supplicant's
14359 scanning. Fixes Ad-Hoc networks.
14361 2006-01-08 Dan Williams <dcbw@redhat.com>
14363 * src/nm-ap-security.c
14364 src/nm-ap-security.h
14365 - Add a user_created argument to the write_supplicant_config
14368 * src/nm-ap-security-wep.c
14369 src/nm-ap-security-wpa-psk.c
14370 src/nm-device-802-11-wireless.c
14371 - Make Ad-Hoc mode somewhat work, at least write the
14372 correct options to wpa_supplicant
14374 2006-01-08 Dan Williams <dcbw@redhat.com>
14376 * src/nm-device-802-11-wireless.c
14377 - Remove unused code from the old device activation path
14379 2006-01-08 Dan Williams <dcbw@redhat.com>
14381 * libnm-util/dbus-helpers.c
14382 - (nmu_security_serialize_wpa_psk): pass a blank key through
14383 dbus when key == NULL
14385 2006-01-08 Dan Williams <dcbw@redhat.com>
14387 * gnome/applet/nm-gconf-wso-wpa-psk.c
14388 - (nm_gconf_wso_wpa_psk_new_deserialize_dbus): feed
14389 correct arguments to nmu_security_deserialize_wpa_psk()
14391 * src/nm-ap-security-wpa-psk.c
14392 - (nm_ap_security_wpa_psk_new_deserialize): feed correct
14393 arguments to nmu_security_deserialize_wpa_psk()
14395 2006-01-08 Dan Williams <dcbw@redhat.com>
14397 * gnome/applet/wso-wpa-psk-hex.c
14398 gnome/applet/wso-wpa-psk-passphrase.c
14399 - Hook up the append_dbus_params_func() function
14401 2006-01-08 Dan Williams <dcbw@redhat.com>
14403 * src/nm-device-802-11-wireless.c
14404 - (get_wireless_capabilities): correctly detect driver WPA
14407 2006-01-08 Dan Williams <dcbw@redhat.com>
14409 * gnome/applet/Makefile.am
14410 gnome/applet/wso-wpa-psk-hex.c
14411 gnome/applet/wso-wpa-psk-hex.h
14412 - New files, implement WPA-PSK Hex key input
14414 * gnome/applet/wireless-applet.glade
14415 - Change existing wpa-psk stuff to wpa-psk-hex
14416 - Add new widgets for wpa-psk-passphrase
14418 * gnome/applet/wireless-security-manager.c
14419 - (wsm_set_capabilities): enable WPA options
14421 * gnome/applet/wso-wpa-psk-passphrase.c
14422 - (wso_wpa_psk_passphrase_new): use correct glade widgets
14423 for WPA-PSK passphrase
14425 2006-01-08 Dan Williams <dcbw@redhat.com>
14427 * include/NetworkManager.h
14428 - Add NMI_DBUS_USER_KEY_CANCELED_ERROR as a constant for
14429 applet/info-daemons
14431 * gnome/applet/passphrase-dialog.c
14432 - Use the constant. Fixes a bug where the arguments to
14433 dbus_message_new_error() were incorrect
14435 * src/nm-dbus-nmi.c
14438 2006-01-07 Dan Williams <dcbw@redhat.com>
14440 * src/nm-device-802-11-wireless.c
14441 - Add a link timeout so we allow the supplicant time to
14442 reassociate if it can, before we deactivate the card
14443 - Fix up link status and link updating so things work better
14445 2006-01-07 Dan Williams <dcbw@redhat.com>
14447 * src/nm-device-802-11-wireless.c
14448 - Switch over to using wpa_supplicant
14449 - Add a timeout of 10s for association of the supplicant
14450 - Start the monitor callback of the supplicant
14452 2006-01-07 Dan Williams <dcbw@redhat.com>
14454 * src/NetworkManagerUtils.c
14455 - (nm_utils_supplicant_request,
14456 nm_utils_supplicant_request_with_check):
14457 pass correct buffer length to wpa_ctrl_request()
14459 2006-01-07 Dan Williams <dcbw@redhat.com>
14461 * src/nm-device-private.h
14463 - (nm_device_activate_schedule_stage3_ip_config_start): make
14464 this function available to subclasses
14466 2006-01-06 Robert Love <rml@novell.com>
14468 * src/NetworkManagerPolicy.c: Always prefer wired to wireless, as the
14469 user plugging in a network cable signals their preference for to
14470 switch, unless the user explicitly selected a wireless network and
14471 therefore signaled their preference for said wireless network over
14472 wired. In other words, do exactly what makes sense.
14474 2006-01-06 Robert Love <rml@novell.com>
14476 * src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
14477 src/NetworkManagerDevicePrivate.h, src/NetworkManagerWireless.c,
14478 src/NetworkManagerWireless.h: Remove, no longer used and they keep
14479 showing up in my greps.
14481 2006-01-06 Robert Love <rml@novell.com>
14483 * gnome/applet/applet-dbus-devices.c,
14484 gnome/applet/other-network-dialog.c, gnome/applet/wso-none.c,
14485 libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h,
14486 src/nm-dbus-nm.c: Fix several issues. 'Connect to Other' and 'Create
14487 New Network' both failed in the non-encrypted case because we were
14488 not appending the security options to the DBUS message. And
14489 'Connect to Other' was also failing in the encrypted case because
14490 we were not incrementing to the next DBUS parameter. All fixed.
14491 Thanks to dcdw for some debugging help.
14493 2006-01-06 Robert Love <rml@novell.com>
14495 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
14496 gnome/applet/applet-dbus-devices.h, src/nm-dbus-nm.c: Remove global
14497 hangup code and add per-device hangup. Tie last commit into the
14498 GNOME applet. TODO: Save, understand, and respond to the state of
14499 each dialup device.
14501 2006-01-06 Robert Love <rml@novell.com>
14503 Patch by Timo Hoenig <thoenig@suse.de>:
14504 * src/NetworkManagerSystem.h, src/nm-dbus-nm.c: Add interfaces to
14505 hangup specific dialup devices.
14506 * src/backends/NetworkManagerDebian.c,
14507 src/backends/NetworkManagerGentoo.c,
14508 src/backends/NetworkManagerRedHat.c,
14509 src/backends/NetworkManagerSlackware.c: Add stub backend.
14510 * src/backends/NetworkManagerRedHat.c,
14511 src/backends/NetworkManagerSuSE.c: Add specific backend interface to
14512 hangup specific dialup devices.
14514 2006-01-04 Robert Love <rml@novell.com>
14516 * gnome/applet/applet-dbus-devices.c,
14517 gnome/applet/applet-dbus-devices.h, gnome/applet/applet.c,
14518 src/nm-dbus-nm.c: Expose a menu item for hanging up active dialup
14521 2006-01-04 Dan Williams <dcbw@redhat.com>
14523 First dump of wpa_supplicant-related code. It's not hooked up to
14524 anything yet though. Thanks to Kay Sievers for
14525 wpa_supplicant_wrapper.c, which formed the basis for this work,
14526 and to Jouni Malinen for writing wpa_ctrl.c and wpa_ctrl.h.
14530 - Add wpa_ctrl stuff from wpa_supplicant so we can talk to it
14532 * src/NetworkManagerUtils.[ch]
14533 - (nm_utils_supplicant_request, nm_utils_supplicant_request_with_check):
14534 Add convenience functions for talking to wpa_supplicant
14536 * src/nm-ap-security.[ch]
14537 src/nm-ap-security-wep.c
14538 src/nm-ap-security-wpa-psk.[ch]
14539 - Update and implement real_write_supplicant_config functions
14540 in all security types
14541 - (nm_ap_security_wpa_psk_new_from_ap): implement in
14542 nm-ap-security-wpa-psk.c
14544 * src/nm-device-802-11-wireless.c
14545 - (supplicant_cleanup, supplicant_watch_cb, supplicant_monitor_status_cb,
14546 wpa_supplicant_start, wpa_supplicant_interface_init,
14547 wpa_supplicant_send_network_config): add functions to talk to
14548 wpa_supplicant and write network config to it
14550 2006-01-04 Robert Love <rml@novell.com>
14552 * src/NetworkManagerDialup.h: add 'type' field and NM_DIALUP_TYPE
14553 values so that distribution-backends can differentiate between the
14554 various types (modem, ISDN, et cetera) of dialup device that they
14556 * src/backends/NetworkManagerSuSE.c: perform isdnctrl on interface, as
14559 2006-01-03 Dan Williams <dcbw@redhat.com>
14561 * src/NetworkManagerPolicy.c
14563 src/nm-device-802-11-wireless.c
14564 - Move wireless-specific activation failure and success code
14565 into wireless device class
14567 2006-01-03 Robert Love <rml@novell.com>
14569 Patch by Preggna S:
14570 * src/NetworkManagerSystem.c, src/vpn-manager/nm-vpn-connection.c:
14571 IPsec does not require that a VPN client be bound to an interface,
14572 due to the use of the in-kernel IPSec bits. So make the tunnel
14575 2006-01-03 Dan Williams <dcbw@redhat.com>
14577 * src/NetworkManagerAP.c
14578 - (nm_ap_add_capabilities_from_ie): presume no WEP unless
14579 the WPA IE specifies that WEP is supported
14581 * src/nm-device-802-11-wireless.c
14582 - (process_scan_results): don't mark an AP as supporting WEP
14583 if there's already other encryption capability info
14585 2006-01-03 Dan Williams <dcbw@redhat.com>
14587 * src/dhcp-manager/nm-dhcp-manager.c
14588 - Recognize activation cancellation when waiting for DHCP
14589 configuration from dhcdbd
14590 - Ignore non-dhcdbd messages
14593 - (real_act_stage3_ip_config_start): return to correct behavior
14594 of letting the dhcp-manager notify us of failure or
14595 success rather than incorrectly doing that ourselves
14596 - (nm_device_activate_stage4_ip_config_get): deal with
14597 activation cancellation a bit earlier
14599 2006-01-03 Dan Williams <dcbw@redhat.com>
14601 * src/nm-device-802-11-wireless.c
14603 - Add hooks to subclasses for stage3_ip_config_start and
14604 stage4_ip_config_timeout
14606 * src/nm-device-802-3-ethernet.c
14607 - (real_get_generic_capabilities): make devices NM-supported
14610 2006-01-03 Robert Love <rml@novell.com>
14612 * src/backends/NetworkManagerSuSE.c: update to newer API (no more
14613 nm_device_get_hw_address); use inet_aton in lieu of inet_addr as the
14614 latter cannot differentiate between error and the address -1; misc.
14617 2006-01-03 Dan Williams <dcbw@redhat.com>
14619 * src/NetworkManager.c
14620 - Move link-checking/probing into the device subclasses
14623 * src/nm-device.[ch]
14624 src/nm-device-802-11-wireless.c
14625 src/nm-device-802-3-ethernet.c
14626 - Do periodic link checking in device subclasses rather
14627 than being triggered from NetworkManager.c
14628 - discover_wireless_capabilities -> get_wireless_capabilities
14629 - discover_generic_capabilities -> get_generic_capabilities
14630 - Device subclass activation routines now return a value of type
14631 NMActStageReturn to indicate what step to perform next
14632 - Devices now override stage4_get_ip4_config if they choose
14634 2006-01-01 Dan Williams <dcbw@redhat.com>
14636 * src/nm-device-802-11-wireless.c
14637 - (real_init): don't chain up to parent init because we don't
14638 need to do that anymore
14641 - (discover_device_type): fix arguments to ioctl() to correctly
14642 pass interface name
14643 - (nm_device_new): consolidate generic device initialization into
14645 - (real_init): remove, consolidated to nm_device_new()
14646 - (nm_device_deactivate, real_deactivate): consolidate
14648 2006-01-01 Dan Williams <dcbw@redhat.com>
14650 * src/nm-activation-request.c
14651 - Change dhcp_state member of the NMActRequest structure
14652 from guint8 to guint32
14654 * src/dhcp-manager/nm-dhcp-manager.[ch]
14655 - (nm_dhcp_manager_get_state_for_device): return guint32 rather
14656 than guint8 to match the dbus argument. Turns out we were
14657 overwriting memory since we were passing in only a guint8
14659 2005-12-31 Dan Williams <dcbw@redhat.com>
14661 * refactor NMDevice into a GObject-based framework with separate
14662 objects for wired and wireless. The following files are no
14663 longer used but should stick around for a bit so we don't
14664 loose code through the cracks:
14665 NetworkManagerDevice.c
14666 NetworkManagerDevice.h
14667 NetworkManagerWireless.c
14668 NetworkManagerWireless.h
14670 The intent here is to allow each device type to manage its own
14671 connection & activation life-cycle, ie to allow wireless devices
14672 to interface with wpa_supplicant, etc. There's a fair bit of
14673 encapsulation breakage right now that should gradually get pulled
14674 back into each device, along with things like periodic property
14675 updates and link probing.
14677 2005-12-29 Dan Williams <dcbw@redhat.com>
14679 * include/NetworkManager.h
14680 - Add NM_802_11_CAP_PROTO_NONE since we need to recognize
14681 between networks that don't have any encryption at all
14683 2005-12-29 Dan Williams <dcbw@redhat.com>
14685 * test/test-common.c
14688 - Move to a test-common subdirectory
14690 * test/libnm-util/test-ciphers.c
14691 - Move test data to test-inputs.h
14692 - Test WPA ciphers too
14694 * test/libnm-util/test-dbus-helpers.c
14695 - Test serialization/deserialization of ciphers
14697 2005-12-29 Dan Williams <dcbw@redhat.com>
14699 * gnome/applet/applet-dbus-devices.c
14700 - Replace 'enc' parameter with 'capabilities' for wireless networks
14701 in dbus calls to NM
14702 - Set capabilities on WirelessNetwork objects
14703 - Receive and save type-specific device capabilities too
14705 * gnome/applet/applet-dbus-info.c
14706 gnome/applet/applet-dbus.c
14707 - Passphrase dialog no longer a singleton; new instance gets created
14708 on each request. Updates to deal with that.
14710 * gnome/applet/applet.c
14711 - (nmwa_has_encrypted_networks_helper): use AP capabilities rather
14712 than single 'encrypted' flag
14713 - (nmwa_menu_add_vpn_menu): if NM isn't connected, disable any VPN
14715 - Passphrase dialog updates per above
14717 * gnome/applet/menu-items.c
14718 - (network_menu_item_update): use AP capabilities to determine
14721 * gnome/applet/nm-device.[ch]
14722 - Add accessors for type-specific device capabilities
14724 * gnome/applet/other-network-dialog.c
14725 - Rework to respect device capabilities. i.e., if the device doesn't
14726 support WPA, remove that option from the security dropdown
14728 * gnome/applet/passphrase-dialog.c
14729 - Massive rework so that a new instance is created each time
14730 it's used, to support wireless network capabilities
14732 * gnome/applet/wireless-network.[ch]
14733 - Add accessors and members for wireless network capabilities
14735 * gnome/applet/wireless-security-manager.[ch]
14736 - (wsm_set_capabilities): called after creation to set which
14737 security options get shown to the user
14739 2005-12-29 Dan Williams <dcbw@redhat.com>
14741 * libnm-util/cipher-wpa-psk-passphrase.c
14742 - (cipher_wpa_psk_passphrase_hash_func): return key as hex string
14745 2005-12-23 Dan Williams <dcbw@redhat.com>
14747 * gnome/applet/applet-dbus-info.c
14748 - (nmi_dbus_get_key_for_network): if there's no entry in
14749 GConf for a network, assume we want a new key
14750 - (nmi_save_network_info): serialize wireless security info
14751 into GConf so its saved
14754 - Fix warning as we may not be passed security info when
14755 connecting to a wireless network
14757 2005-12-23 Dan Williams <dcbw@redhat.com>
14759 * gnome/applet/applet-compat.c
14760 - Fix bugs in GConf entry conversion
14762 * gnome/applet/applet-dbus-info.c
14763 - (nmi_dbus_get_network_properties): handle case of the BSSID
14764 list being zero-length
14766 * libnm-util/cipher-*
14767 libnm-util/dbus-helpers.c
14768 - All ciphers must now return hashed keys as UTF-8 valid
14769 hexadecimal strings, ie "8f3dae4023". They are pushed
14770 through dbus as strings too.
14771 - Consolidate various functions that do bin->hex and hex->bin
14772 conversion into cipher.c
14774 * src/nm-ap-security-wep.c
14775 src/nm-ap-security-wpa-psk.c
14776 - Handle NULL keys since we may not know keys right away
14778 * src/nm-dbus-nmi.c
14779 - (nm_dbus_get_network_data_cb): actually advance to the start
14780 of the wireless security info before we try to deserialize it
14782 * libnm-util/test-ciphers.c
14783 - Update cipher tests for the change to UTF-8 hexadecimal strings
14785 2005-12-22 Dan Williams <dcbw@redhat.com>
14787 * gnome/applet/applet-compat.[ch]
14788 - Convert old-format GConf and keyring entries
14789 when the applet starts up.
14791 * gnome/applet/applet.c
14792 - (nmwa_get_instance): Call the conversion function
14793 on startup before dbus is initialized
14795 2005-12-22 Dan Williams <dcbw@redhat.com>
14797 * gnome/applet/applet-dbus-info.c
14798 - Remove nmi_dbus_create_error_message() in favor of
14799 nmu_create_dbus_error_message()
14800 - (nmi_dbus_get_network_properties): Error message cleanups
14801 - (nmi_dbus_get_network_properties): BSSIDs are now in the 'bssids'
14802 gconf key rather than 'addresses', since they really are BSSIDs
14803 - (nmi_dbus_get_network_properties): Dispose of the security
14804 object when we're done with it
14806 2005-12-21 Dan Williams <dcbw@redhat.com>
14808 * Consolidate the info-daemon's "updateNetworkInfo" and
14809 "addNetworkAddress" calls into just "updateNetworkInfo"
14811 2005-12-21 Dan Williams <dcbw@redhat.com>
14813 * Make connection after key retrieval work again
14815 2005-12-21 Dan Williams <dcbw@redhat.com>
14817 * gnome/applet/nm-gconf-wso*
14818 - Make the serialize functions return gboolean
14821 * gnome/applet/nm-gconf-wso.c
14822 - (nm_gconf_wso_dispose, nm_gconf_wso_finalize): fix up
14823 parent class handling so we don't segfault
14825 * src/NetworkManagerAP.[ch]
14826 - (nm_ap_get_capabilities): new function, return capabilities
14827 now that something can use them
14828 - (nm_ap_set_encrypted): assume that an access point supports
14829 both WEP104 and WEP40 if its set encrypted. FIXME: can
14830 we even tell whether it just supports WEP40?
14832 * src/NetworkManagerDevice.c
14833 - (ap_need_key): resurrect and update for the New World Order
14834 - (nm_device_wireless_get_activation_ap): if we're not given
14835 security info to use, create some based on access point
14838 * src/nm-ap-security-wep.c
14839 - (nm_ap_security_wep_new_from_ap): create a new object
14840 based on a certain access point's capabilities
14842 * src/nm-ap-security.c
14843 - (nm_ap_security_new_from_ap): delegate creation of a new
14844 object based on access point capabilities to a subclass
14845 - (nm_ap_security_copy_properties): don't segfault if we
14846 don't have a key yet
14849 - (nm_dbus_nm_set_active_device): provide more informative
14850 output when errors occur. Also construct security info
14851 for a given access point if we weren't given any
14853 2005-12-21 Žygimantas Beručka <zygis@gnome.org>
14855 * configure.in: Added Lithuanian to ALL_LINGUAS.
14857 2005-12-21 Dan Williams <dcbw@redhat.com>
14860 - Add some testcases for WEP ciphers
14862 2005-12-17 Dan Williams <dcbw@redhat.com>
14866 2005-12-17 Dan Williams <dcbw@redhat.com>
14868 * include/NetworkManager.h
14869 - Finally kill NMEncKeyType
14871 * gnome/applet/applet-dbus-info.c
14872 - (nmi_save_network_info): convert to NMGConfWSO
14874 * gnome/applet/nm-gconf-wso-*.c
14875 - Implement gconf serialization functions
14877 * src/NetworkManagerPolicy.c
14878 - (nm_policy_activation_finish): fix up meaning of
14879 automatic/user_requested
14881 2005-12-17 Dan Williams <dcbw@redhat.com>
14884 - More applet cleanups
14885 - Use the dbus-method-dispatcher
14887 * libnm-util/dbus-method-dispatcher.[ch]
14888 - Generalize the implementation from NM in
14889 NetworkManagerUtils.c
14891 2005-12-16 Dan Williams <dcbw@redhat.com>
14894 - Fix up the passphrase dialog to use all the
14895 WirelessSecurityOption stuff (untested)
14897 2005-12-16 Dan Williams <dcbw@redhat.com>
14899 * Move nm_gconf_get_*_helper() functions to separate files,
14900 gconf-helpers.c & gconf-helpers.h
14902 * New NMGConfWSO objects for managing the gconf side of things.
14903 Eventually these should be merged with the
14904 WirelessSecurityOption objects and a common base (that can
14905 serialize/deserialize from dbus & gconf) should be
14906 refactored out, but for now they are separate.
14908 2005-12-16 Robert Love <rml@novell.com>
14910 * src/backends/NetworkManagerSuSE.c: Do not invoke ypbind or autofs
14911 binaries unless they exist (nm_spawn_process() emits a warning if
14912 asked to spawn a non-existant process).
14914 2005-12-16 Dan Williams <dcbw@redhat.com>
14916 * gnome/applet/applet-dbus-info.c
14917 - Clean up lots of gconf-related code
14919 2005-12-16 Robert Love <rml@novell.com>
14921 * Makefile.am: Build fix: Reorder 'SUBDIRS' so our deps are right.
14923 2005-12-16 Dan Williams <dcbw@redhat.com>
14925 * nm_device_set_enc_key -> nm_device_set_wep_enc_key
14927 * Fix up NM -> NMI get-user-key dbus calls in NM (applet
14928 bits still to be done)
14930 2005-12-16 Dan Williams <dcbw@redhat.com>
14932 * Finally move info-daemon related stuff out of
14933 NetworkManagerDbus.c to nm-dbus-nmi.c
14935 2005-12-16 Dan Williams <dcbw@redhat.com>
14937 * Kill auth_method for access points, since that's now done
14938 by NMAPSecurity objects
14940 * Add a copy-constructor of sorts to NMAPSecurity
14941 (how do you do this properly in glib???)
14943 2005-12-15 Dan Williams <dcbw@redhat.com>
14945 * Exorcise encryption key hashing on APs
14946 * Use libnm-util's serialization/deserialization in both the
14948 * Random other stuff
14950 2005-12-15 Robert Love <rml@novell.com>
14952 * gnome/applet/menu-items.c: A new icon, "network-wireless-encrypted"
14953 is being added to the icon naming spec, so let's use that (Tango CVS
14954 has the icon). Because it is new, however, we fall back to the
14955 current "gnome-lockscreen" if the new icon is not around, thus
14956 behavior is the same.
14957 * gnome/applet/applet.c: Remove setup_stock(). We do not need the
14960 2005-12-15 Robert Love <rml@novell.com>
14962 * src/gnome/applet.c: Don't show the 'Help' menu item until we have,
14963 well, help to give. Couple other misc. bits.
14965 2005-12-15 Dan Williams <dcbw@redhat.com>
14967 * libnm-util/dbus-helpers.[ch]
14968 - Make this the one-stop-shop for serializing/deserializing
14969 AP & connection security settings over dbus. Both NM
14970 and applets should use this to ensure consistent dbus
14971 API going forwared.
14973 2005-12-15 Robert Love <rml@novell.com>
14975 Patch by Timo Hoenig <thoenig@suse.de>:
14976 * src/NetworkManagerDbus.c
14977 - (nm_dbus_signal_filter) return DBUS_HANDLER_RESULT_HANDLED
14978 if HAL jumps off the system bus. Otherwise libdbus
14979 (dbus_connection_dispatch) will try to run the filter
14980 function of our libhal context which is already freed.
14982 2005-12-15 Alexander Shopov <ash@contact.bg>
14984 * configure.in: Added "bg" (Bulgarian) to ALL_LINGUAS
14986 2005-12-14 Dan Williams <dcbw@redhat.com>
14988 * include/NetworkManager.h
14989 src/NetworkManagerWireless.c
14990 - Rearrange 802.11 wireless-specific capabilities again
14993 - Forgot to add wpa.c/wpa.h to the makefiles
14995 * src/NetworkManagerAP.[ch]
14996 - Implement access point capabilities and parse the
14997 WPA/RSN IEs into the capability bitfield
14998 - Switch the "encrypted" attribute to utilize the bitfield
14999 and capabilities rather than being independent
15001 * src/NetworkManagerDevice.c
15002 - (nm_device_wireless_get_activation_ap): break it horribly
15003 until we can push NMAPSecurity objects into access point
15004 objects and through the activation chain
15005 - Stuff WPA & RSN IEs into AP capabilities
15008 - Take a shot at actually making setActiveDevice work
15011 - Make the API a bit saner
15013 2005-12-14 Dan Williams <dcbw@redhat.com>
15015 * include/NetworkManager.h
15016 - Add 802.11-specific capability for 802.1x key
15020 - Pull in WPA IE and RSN IE parsing code from
15021 wpa_supplicant so we can determine access point
15023 - Move WPA-related constants here from NetworkManagerAP.h
15024 and NetworkManagerDevice.c
15026 * src/NetworkManagerDevice.c
15027 src/NetworkManagerAP.[ch]
15028 - Use WPA-related constants from wpa.h
15030 2005-12-14 Dan Williams <dcbw@redhat.com>
15032 * include/NetworkManager.h
15033 - Update and split 802.11 wireless-specific capabilities from
15034 generic device capabilities
15036 * src/NetworkManagerDevice.c
15037 src/NetworkManagerDevicePrivate.h
15038 - (nm_device_wireless_discover_capabilities): Move 802.11
15039 wireless-specific capability checks to
15040 NetworkManagerWireless.c
15041 - Rename NMDeviceWirelessOptions -> NMDevice80211WirelessOptions
15042 - Rename NMDeviceWiredOptions -> NMDevice80211EthernetOptions
15044 * src/NetworkManagerWireless.[ch]
15045 - (nm_802_11_wireless_discover_capabilities): Check extended
15046 802.11 wireless-specific capabilities of the driver
15048 2005-12-14 Robert Love <rml@novell.com>
15050 Patch from Stefan Scheler <sscheler@suse.de>:
15051 * src/NetworkManagerDevice.c: call backend code to activate and
15053 * src/NetworkManagerSystem.h: add new NIS interfaces.
15054 * src/backends/NetworkManagerDebian.c,
15055 src/backends/NetworkManagerGentoo.c,
15056 src/backends/NetworkManagerRedHat.c,
15057 src/backends/NetworkManagerSlackware.c: add stub functions for NIS
15059 * src/backends/NetworkManagerSuSE.c: add NIS support, baby.
15061 2005-12-14 Dan Williams <dcbw@redhat.com>
15063 * src/nm-ap-security*.[ch]
15064 - Add AP security abstractions to NetworkManager
15066 * src/nm-dbus-device.c
15067 - Begin to parse new format dbus messages from the applet
15068 and construct an AP security object from the message
15070 * libnm-util/dbus-helpers.c
15071 - Use message iters so we can append the key as a fixed
15072 array of bytes, which actually works rather than
15073 using dbus_message_append_args() as we were before
15075 2005-12-14 Dan Williams <dcbw@redhat.com>
15077 * src/NetworkManagerDbus.c
15078 gnome/applet/applet-dbus.c
15079 - Fix up dbus service replacement options. The applet
15080 should allow replacement, NM itself should not.
15082 2005-12-13 Robert Love <rml@novell.com>
15084 * src/named-manager/nm-named-manager.c: Revert earlier commit.
15085 Instead, fail silently if config is NULL by not asserting and not
15086 returning FALSE. Also, make sure we always fclose() the file.
15088 2005-12-13 Robert Love <rml@novell.com>
15090 Patch by Stefan Scheler <sscheler@suse.de>:
15091 * src/nm-ip4-config.h, src/nm-ip4-config.c,
15092 src/dhcp-manager/nm-dhcp-manager.c: Add support for setting up NIS
15093 via DHCP. Still need the backends to commit the NIS domain name and
15094 and servers to yp.conf as needed.
15096 2005-12-13 Robert Love <rml@novell.com>
15098 * src/vpn-manager/nm-dbus-vpn.c: Do not call the lengthy-named function
15099 nm_vpn_manager_remove_connection() unless vpn is non-NULL.
15101 2005-12-13 Robert Love <rml@novell.com>
15103 * src/named-manager/nm-named-manager.c: Don't unref the config until
15104 after we call rewrite_resolv_conf(), because get_last_default_domain()
15105 needs to access the config. Fixes "rewrite_resolv_conf: assertion
15106 `config != NULL' failed" assertion failures and "Could not commit DNS
15109 2005-12-12 Dan Williams <dcbw@redhat.com>
15111 * libnm-util/dbus-helpers.[ch]
15112 libnm-util/Makefile.am
15113 - new helper calls to consolidate locations where
15114 NM's setDevice method is called
15116 * gnome/applet/applet-dbus-devices.c
15117 gnome/applet/wireless-security-option.c
15119 - Implement dbus message param append function for
15120 all wireless security options
15122 2005-12-12 Robert Love <rml@novell.com>
15124 * libnm-util/cipher-wep-passphrase.c,
15125 libnm-util/cipher-wpa-psk-passphrase.c, src/NetworkManagerAP.c,
15126 src/NetworkManagerAP.h, src/NetworkManagerDevice.c,
15127 src/NetworkManagerWireless.c, src/NetworkManagerWireless.h: Treat
15128 all WEP/WPA keys as "char *" and not explicitly signed or unsigned.
15129 When handling keys, we don't care what the sign is. The compiler
15130 guarantees us that we get our 8-bits, which is all we care about.
15131 * configure.in: Remove "-Wno-pointer-sign" flag. We are sign-aware!
15133 2005-12-12 Dan Williams <dcbw@redhat.com>
15135 * gnome/applet/applet-dbus-devices.[ch]
15136 gnome/applet/applet.c
15137 gnome/applet/other-network-dialog.c
15138 gnome/applet/wireless-security-manager.[ch]
15139 gnome/applet/wireless-security-option.[ch]
15141 - Push the wireless security options further into the applet
15143 2005-12-12 Robert Love <rml@novell.com>
15145 * src/dhcp-manager/nm-dhcp-manager.c: Do not fail if DHCP does not
15146 return any name servers. That is perfectly valid. (Novell #134369).
15148 2005-12-11 Dan Williams <dcbw@redhat.com>
15150 * gnome/applet/wso-*
15151 gnome/applet/wireless-security-option.*
15152 gnome/applet/Makefile.am
15153 - split each security option out so we can eventually
15154 have each one build up their own dbus message
15155 arguments to send to NM
15157 2005-12-11 Dan Williams <dcbw@redhat.com>
15159 * Make validation of the key work correctly
15161 2005-12-11 Dan Williams <dcbw@redhat.com>
15163 * Hook more bits of the Other Network Dialog up to the
15164 wireless security manager stuff, and restructure
15165 bits of the dialog so there's less code.
15167 2005-12-10 Dan Williams <dcbw@redhat.com>
15169 * gnome/applet/Makefile.am
15170 - Add libnm-util to includes
15171 - Add libnm-util to link list
15172 - Add wireless-security-common.* to compile list
15174 * gnome/applet/other-network-dialog.c
15175 - Convert to using the WirelessSecurityManager code and
15178 * gnome/applet/passphrase-dialog.c
15179 - Comment out references to stuff in the glade file that
15180 cause runtime errors until it can be fixed up
15181 to use the WirelessSecurityManager code
15183 * gnome/applet/wireless-applet.glade
15184 - Rename some widgets
15185 - Add widgets for the WirelessSecurityManager code
15186 - Remove passphrase-related stuff since that's now
15187 handled by the WirelessSecurityManager code
15189 2005-12-10 Dan Williams <dcbw@redhat.com>
15191 * gnome/applet/applet-dbus-devices.c
15192 - Print out error message details for dbus pending call callbacks
15193 - Move nmwa_dbus_update_devices() up
15195 * gnome/applet/applet-dbus-vpn.c
15196 - Print out error message details for dbus pending call callbacks
15198 2005-12-10 Dan Williams <dcbw@redhat.com>
15202 - Remove cipher-manager.* because we don't need it
15203 - Forgot to add gnome-keyring-md5 files to compile list
15205 2005-12-09 Dan Williams <dcbw@redhat.com>
15210 - Add a utility library for clients of NetworkManager. It's
15211 only targetted at applets for the moment, and contains
15212 a generalized 802.11 cipher framework for different
15213 types of keys (WEP & WPA Hex, ASCII, Passphrase)
15215 2005-12-09 Robert Love <rml@novell.com>
15217 * src/NetworkManagerDevice.c: handle error better in
15218 nm_device_set_mode().
15220 2005-12-08 Robert Love <rml@novell.com>
15222 * include/NetworkManager.h: add WPA capabilities constants
15223 * src/NetworkManagerDevice.c: detect if wireless devices support WPA
15224 or WPA2 and add the capabilities bits as appropriate.
15226 2005-12-08 Robert Love <rml@novell.com>
15228 * initscript/SUSE/networkmanager-dispatcher.in: new initscript for
15229 NetworkManagerDispatcher.
15230 * configure.in, initscript/SUSE/.cvsignore,
15231 initscript/SUSE/Makefile.am: support new networkmanager-dispatcher
15234 2005-12-08 Robert Love <rml@novell.com>
15236 * initscript/SUSE/networkmanager.in: Do not start 'networking' service.
15238 2005-12-08 Robert Love <rml@novell.com>
15240 * src/NetworkManagerDevice.c: We want to fall back on and default to
15241 IW_MODE_AUTO, not -1, which is more in line with our previous
15242 behavior. Otherwise, we try to set the wireless mode to -1 in
15243 nm_device_set_mode().
15245 2005-12-07 Robert Love <rml@novell.com>
15247 * gnome/applet/applet-dbus-info.c, include/NetworkManager.h,
15248 src/NetworkManagerAP.c, src/NetworkManagerAP.h,
15249 src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
15250 src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
15251 src/nm-dbus-nm.c: Convert NM_DEVICE_AUTH_METHOD_* to use the
15252 wireless-tools constants directly. UNKNOWN is now -1 and NONE is
15255 2005-12-07 Robert Love <rml@novell.com>
15257 * src/backends/NetworkManagerSuSE.c: In static configurations, if the
15258 supplied IP is invalid, fall back to DHCP.
15260 2005-12-07 Dan Williams <dcbw@redhat.com>
15262 * Convert NETWORK_MODE_* constants to IW_MODE_*
15263 * Make all the get_mode/set_mode functions take and return 'int'
15264 * Convert D-BUS calls that pass mode to DBUS_TYPE_INT32 rather than UINT32
15266 2005-12-07 Robert Love <rml@novell.com>
15268 * src/NetworkManagerDevice.c: strncpy() buffer check.
15269 * src/NetworkManagerUtils.c: be anal about syslog() formatting.
15271 2005-12-06 Dan Williams <dcbw@redhat.com>
15273 * gnome/applet/applet-dbus.c
15274 - (set_vpn_last_attempt_status): remove, now in applet-dbus-vpn.c
15276 * gnome/applet/applet-dbus-vpn.c
15277 - (nmwa_dbus_vpn_set_last_attempt_status): new, from applet-dbus.c
15278 - (nmwa_dbus_vpn_update_vpn_connection_stage): set last_attempt_success
15279 to TRUE here if stage was ACTIVATED
15281 2005-12-06 Dan Williams <dcbw@redhat.com>
15283 * Change nm_device_is_* functions to better names:
15284 nm_device_is_wireless() -> nm_device_is_802_11_wireless()
15285 nm_device_is_wired() -> nm_device_is_802_3_ethernet()
15287 2005-12-06 Dan Williams <dcbw@redhat.com>
15289 * Change naming of NMDeviceType to something more sensible:
15290 NM_DEVICE_TYPE_DONT_KNOW -> NM_DEVICE_TYPE_UNKNOWN
15291 NM_DEVICE_TYPE_WIRED_ETHERNET -> NM_DEVICE_TYPE_802_3_ETHERNET
15292 NM_DEVICE_TYPE_WIRELESS_ETHERNET -> NM_DEVICE_TYPE_802_11_WIRELESS
15294 2005-12-06 Dan Williams <dcbw@redhat.com>
15296 * Move NetworkManager.h -> include/NetworkManager.h
15297 * Split out VPN stuff into include/NetworkManagerVPN.h
15298 * Fix up makefiles to include new location
15299 * Fix up sources to include NetworkManagerVPN.h
15301 2005-12-06 Dan Williams <dcbw@redhat.com>
15303 Various changes in the applet to move VPN connection "state" -> "stage",
15304 which it actually is. I'd like to change the signal as well when we
15305 break compat in the near future.
15307 2005-12-06 Dan Williams <dcbw@redhat.com>
15309 Slackware patches from Paul Blazejowski <paulb@blazebox.homeip.net>
15310 * initscript/Slackware/rc.networkmanager
15313 * src/backends/NetworkManagerSlackware.c
15314 - Kill dhcpcd when starting so that dhclient can bind to DHCP on
15317 2005-12-05 Robert Love <rml@novell.com>
15319 * src/NetworkManager.c: don't call nm_data_free() when there is nothing
15320 to free, particularly here as it just barfs.
15322 2005-12-05 Dan Williams <dcbw@redhat.com>
15324 * gnome/applet/applet-dbus.c
15325 - Work with dbus 0.6 too
15327 2005-12-03 Dan Williams <dcbw@redhat.com>
15329 * src/NetworkManagerUtils.[ch]
15330 src/nm-ip4-config.c
15331 - move ip4_netmask_to_prefix() to NetworkManagerUtils.c
15332 - consolidate code into nm_utils_ip4_addr_to_nl_addr()
15334 2005-12-01 Robert Love <rml@novell.com>
15336 * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c: We
15337 need a NULL for the '...' parameter, too, to fill the so-called
15340 2005-12-01 Robert Love <rml@novell.com>
15342 * src/NetworkManagerSystem.c: If iface_to_rtnl_link() returns NULL, the
15343 interface is already gone, so don't call rtnl_link_change() to down
15344 it (which will segfault, anyhow).
15346 2005-11-22 Robert Love <rml@novell.com>
15348 * src/backends/NetworkManagerSuSE.c: Don't fall back to DHCP if the
15349 gateway is not set, just print a little note. Configurations without
15350 gateways are valid.
15352 2005-11-22 Robert Love <rml@novell.com>
15356 2005-11-20 Ilkka Tuohela <hile@iki.fi>
15358 * configure.in: Added Finnish translation to ALL_LINGUAS
15360 2005-11-14 Robert Love <rml@novell.com>
15362 * vpn-daemons/openvpn: initial checkin of OpenVPN VPN Module, by Tim
15363 Niemueller <tim@niemueller.de>.
15365 2005-11-08 Dan Williams <dcbw@redhat.com>
15367 Patch from Bill Moss <bmoss@clemson.edu>
15368 * src/NetworkManagerDevice.c
15369 - (nm_device_activate_stage5_ip_config_commit): fix ordering
15370 of nm_policy_schedule_activation_finish() to prevent a
15371 race condition that causes the link to be dropped
15373 2005-11-08 Dan Williams <dcbw@redhat.com>
15375 Patch from Bill Moss <bmoss@clemson.edu>
15376 * src/NetworkManagerAPList.c
15377 src/NetworkManagerDevice.c
15378 src/NetworkManagerDbus.c
15379 - Replace occurances of ether_ntoa_r() with iw_ether_ntop() so
15380 we get more readable ether/mac addresses
15382 2005-11-02 Christopher Aillon <caillon@redhat.com>
15384 * gnome/applet/main.c: Don't set the restart command. This fixes
15385 the issue where the restart command was getting copies of all its
15386 arguments for each time the applet was restarted.
15388 2005-11-02 Robert Love <rml@novell.com>
15390 * gnome/applet/applet.c: Only send the DBUS setWirelessEnabled method
15391 if the widget state differs from our saved state. This ensures we
15392 do not enter an endless loop of death and destruction. Also, this
15393 guarantees us that we enforce the widget state.
15395 2005-11-02 Robert Love <rml@novell.com>
15397 * gnome/applet/applet.c: add nmwa_enable_wireless_set_active().
15398 * gnome/applet/applet-dbus-devices.c: invoke the new function
15399 nmwa_enable_wireless_set_active() to ensure that the state of the
15400 'Enable Wireless' checkbox matches the daemon's state. This is a
15401 concern because the daemon remembers the state.
15403 2005-11-02 Robert Love <rml@novell.com>
15405 * gnome/applet/applet.c: Make menu item "Enable Wireless" not "Wireless
15406 Enabled", as checkboxes should be actions/commands not positive
15407 statements, otherwise they are confusing in the unselected case. See
15408 examples in GNOME HIG, Chapter 6.
15410 2005-11-02 Robert Love <rml@novell.com>
15412 * gnome/applet/applet.c: When wireless is disabled, act it. Do not
15413 show a list of wireless networks or the wireless devices or the
15414 "Create Wireless ..." menus. Aside from this cosmetics, this fixes
15415 a bad bug: If wireless is disabled and the user picks a wireless
15416 network, NM will switch to the network, only to immediately switch
15417 back, as wireless is disabled. This also reassures people that NM
15418 is not scanning (it is not -- I verified). Fixes Novell bug #130041.
15420 2005-11-02 Christopher Aillon <caillon@redhat.com>
15422 * gnome/applet/applet.c:
15423 * gnome/applet/applet.h:
15424 Partial backout of Dan's timeout animation patch.
15425 Timeout IDs cannot legally be 0, so revert the code in place to handle
15426 a timeout ID of 0 to denote the timeout isn't running.
15428 2005-11-02 Christopher Aillon <caillon@redhat.com>
15430 * src/NetworkManagerPolicy.c:
15431 (nm_policy_device_change_check) Clarify wireless switch nm_info text
15433 2005-10-28 Robert Love <rml@novell.com>
15435 * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade: Change label to
15436 "Import Saved Configuration..." to make it clear that importing is
15437 not the next step, but an option. As an aside, a nice TODO would be
15438 to move Importing out of the vpn-specific dialog and into the main
15439 property editor, as Importing goes with Adding, but that will require
15440 some rearchitecting of the VPN stuff I suspect.
15442 2005-10-27 Dan Williams <dcbw@redhat.com>
15444 Start using libnl. You need 1.0-pre3 or higher. Eventually
15445 we should replace most of the distro-specific backend code
15448 Get it here: http://people.suug.ch/~tgr/libnl/
15452 - Add checks for libnl pkgconfig file
15453 - Use LIBNL_LIBS & LIBNL_CFLAGS
15455 * src/NetworkManagerSystem.c
15456 src/nm-ip4-config.[ch]
15457 - Use libnl rather than ioctl() for most things
15458 - Remove unused functions
15460 2005-10-27 Robert Love <rml@novell.com>
15462 * src/backends/NetworkManagerSuSE.c: fix warning message text
15464 2005-10-27 Christopher Aillon <caillon@redhat.com>
15466 * gnome/applet/applet.c: Use the copyright symbol instead of (C)
15468 2005-10-27 Christopher Aillon <caillon@redhat.com>
15470 * gnome/applet/applet.c: The applet's about dialog can advertise our
15471 project page <http://www.gnome.org/projects/NetworkManager/>
15473 2005-10-26 Christopher Aillon <caillon@redhat.com>
15475 * gnome/applet.c: Also use translator credits if we don't have
15476 the new GtkAboutDialog (older versions of GTK+)
15478 2005-10-26 Robert Love <rml@novell.com>
15480 * dispatcher-daemon/NetworkManagerDispatcher.c: print actual error string on daemon()
15481 failure; correct usage text for "--no-daemon"
15483 2005-10-25 Dan Williams <dcbw@redhat.com>
15485 * src/NetworkManagerDevice.c
15486 - (get_scan_results): cleanups, deal cleanly with ENODATA signifying
15488 - (free_process_scan_cb_data): unref the device when freeing results
15489 - (nm_device_wireless_process_scan_results): free scan results a bit later
15490 so we don't unref the device underneath ourselves
15492 2005-10-25 Dan Williams <dcbw@redhat.com>
15494 * Back out 2005-10-24 commit from Tor Krill. Patch
15495 causes nameservers never to be removed from named.
15497 2005-10-24 Dan Williams <dcbw@redhat.com>
15499 Clean up wireless scanning and wireless link probing.
15501 * src/NetworkManagerDevice.c
15502 - (nm_device_probe_wireless_link_state): instead of calling nm_get_best_ap(),
15503 just see if there's an activation request on the device, and check the
15504 current link against the activation request access point's ESSID.
15505 - (link_to_specific_ap): increase the # of failed links we tolerate from 3 to 6
15506 - (nm_device_wireless_process_scan_results): actually free our scan data, and
15507 don't call process_scan_results() on zero-length data
15508 - (nm_device_set_wireless_scan_interval): increase the init scan interval to
15509 15 seconds (from 10)
15511 2005-10-24 Dan Williams <dcbw@redhat.com>
15513 Cleanup some applet stuff:
15515 - Animation timeouts. If NM died while the applet was animating,
15516 the applet would not hide itself. This is now fixed.
15518 - Remove some dead code
15520 - Remove nmi_passphrase_dialog_schedule_cancel() and convert uses
15521 to nmi_passphrase_dialog_cancel() since we no longer use threads.
15523 - Track animation timeout using a gboolean rather than the timeout's
15524 ID, since timeout IDs can legally be 0.
15526 2005-10-24 Dan Williams <dcbw@redhat.com>
15528 * src/backends/interface_parser.c
15529 - Add void to function declarations that need it
15530 to match patch from Engin AYDOGAN
15532 * src/backends/interface_parser.h
15533 - Remove unused prototype for ifparser_interfaces()
15535 Patch from Engin AYDOGAN <engin@bzzzt.biz>
15536 * src/backends/interface_parser.h:
15537 - Compile fixes for gcc 4.0.2 (add void)
15539 2005-10-24 Dan Williams <dcbw@redhat.com>
15541 Patch from Tor Krill <tor@krill.nu>
15542 * src/named-manager/nm-named-manager.c
15543 - Write more than just the first nameserver to /etc/resolv.conf
15544 - Write out valid /etc/resolv.conf on exit
15546 2005-10-21 Christopher Aillon <caillon@redhat.com>
15548 * gnome/applet/applet-dbus-vpn.c:
15549 Get rid of spurious newlines in debug console output
15551 2005-10-21 Christopher Aillon <caillon@redhat.com>
15553 * src/backends/NetworkManagerGentoo.c:
15554 Fix path to killall. Patch from Dave Shanker <dshanker@gmail.com>
15556 2005-10-20 Robert Love <rml@novell.com>
15558 * src/NetworkManagerDevice.c: Use fabs() and DBL_EPSILON to avoid a
15559 direct comparison of floating point values, which is never correct.
15560 Also some misc. cleanup.
15562 2005-10-19 Robert Love <rml@novell.com>
15564 * vpn-daemons/vpnc/nm-vpnc.desktop.in: add fields
15566 2005-10-19 Robert Love <rml@novell.com>
15568 * gnome/vpn-properties/nm-vpn-properties.c: Correctly set the
15569 sensitivity of the buttons. Specificaly, do the right thing if
15570 there are no entries.
15572 2005-10-19 Christopher Aillon <caillon@redhat.com>
15574 * configure.in: Update check for adequate wireless-tools
15575 with an AC_TRY_COMPILE for the new symbols we use.
15577 2005-10-19 Dan Williams <dcbw@redhat.com>
15579 * src/NetworkManagerDevice.c
15580 - (process_scan_results): don't drop the last (or only)
15581 access point we see
15583 2005-10-19 Christopher Aillon <caillon@redhat.com>
15585 * src/backends/NetworkManagerSlackware.c:
15586 Patch from Nico <lordllucifer@gmail.com>
15587 - Update the Slackware backend.
15589 2005-10-18 Christopher Aillon <caillon@redhat.com>
15591 * gnome/applet/other-network-dialog.c: Use g_get_host_name ()
15592 if we've got GLib 2.8.0
15594 2005-10-18 Robert Love <rml@novell.com>
15596 * src/NetworkManagerDevice.c: invoke the long-in-the-tooth named
15597 function nm_schedule_state_change_signal_broadcast() when we
15598 deactivate a device, too.
15600 2005-10-18 Robert Love <rml@novell.com>
15602 * gnome/applet/applet.c: nmwa_context_menu_update(): 'iface' could
15603 be used uninitialized.
15605 2005-10-18 Christopher Aillon <caillon@redhat.com>
15607 * test/libnm_glib_test.c: Test unregistering, too.
15609 2005-10-17 Christopher Aillon <caillon@redhat.com>
15611 * configure.in: Bump to 0.5.0
15613 2005-10-17 Dan Williams <dcbw@redhat.com>
15616 - Remove WPA-related constants so they aren't part of the
15619 2005-10-17 Christopher Aillon <caillon@redhat.com>
15621 * gnome/applet/applet.c:
15622 * gnome/applet/applet.h:
15623 Desensitize the 'Connection Information' menu item when there is
15624 no active connection.
15626 2005-10-17 Christopher Aillon <caillon@redhat.com>
15628 * gnome/libnm_glib/libnm_glib.c:
15629 Make libnm_glib_unregister_callback () actually unregister the callback
15631 2005-10-17 Robert Love <rml@novell.com>
15633 * src/NetworkManagerDevice.c: Actually wait 20s, as we intend, not
15634 two seconds -- tries is updated every 1/10 of a second, not every
15637 2005-10-17 Christopher Aillon <caillon@redhat.com>
15639 * gnome/applet/applet-dbus-info.c:
15640 Let D-BUS know that we haven't handled a message when we haven't.
15642 2005-10-17 Robert Love <rml@novell.com>
15644 * src/nm-ip4-config.c: use GPOINTER_TO_UINT and not a straight cast
15645 in order to remain 64-bit clean.
15647 2005-10-17 Christopher Aillon <caillon@redhat.com>
15649 * gnome/applet/applet-dbus-info.c:
15650 Find network encryption keys asynchronously
15652 2005-10-17 Robert Love <rml@novell.com>
15654 * src/backends/NetworkManagerDebian.c,
15655 src/backends/NetworkManagerRedHat,
15656 src/backends/NetworkManagerSuSE.c: allow '#' as a valid resolv.conf
15659 2005-10-17 Robert Love <rml@novell.com>
15661 * src/backends/NetworkManagerSuSE.c: use SYSCONFDIR not open-coded
15664 2005-10-17 Christopher Aillon <caillon@redhat.com>
15666 * src/NetworkManagerDevice.c: (process_scan_results)
15667 Fix logic that checks to see whether we have an ESSID.
15669 2005-10-15 Dan Williams <dcbw@redhat.com>
15671 Move scanning code into NetworkManager rather than use iwlib's
15672 iw_scan() function, so that we can figure out AP capabilities.
15675 - Add AP capability bits
15677 * src/NetworkManagerAP.[ch]
15678 - Add capability field to NMAccessPoint structure
15679 - Add WPA & RSN Information Element fields and accessor
15680 functions to NMAccessPoint
15682 * src/NetworkManagerDevice.c
15683 - Remove usage of iw_scan
15684 - Add scanning code to NetworkManager rather than use
15685 iw_scan() from iwlib
15687 * src/NetworkManagerUtils.[ch]
15688 - (nm_dispose_scan_results): remove, unused
15690 2005-10-14 Christopher Aillon <caillon@redhat.com>
15692 * gnome/libnm_glib/libnm_glib.c:
15693 * gnome/libnm_glib/libnm_glib.h:
15694 Use guint instead of gint for callback IDs.
15696 2005-10-12 Christopher Aillon <caillon@redhat.com>
15698 * gnome/applet/applet.c:
15699 Fix icon animation smoothness issues. nmwa_redraw_timeout gets called
15700 every 1000ms. It will unconditionally call nmwa_update_state which
15701 kills the existing animation timeout and registers a new one with a
15702 callback to draw a new frame every 100ms. There are 11 connecting
15703 icon frames, so the last 2 frames kept getting dropped. Only reset
15704 the animation timeout if we aren't animating.
15706 2005-10-11 Dan Williams <dcbw@redhat.com>
15708 * gnome/applet/applet-dbus-devices.c
15709 - (nmwa_dbus_update_device_info_from_hal), (hal_net_physdev_cb):
15710 We want to grab the product & vendor from net.physical_dev
15711 rather than info.parent.
15713 2005-10-11 Dan Williams <dcbw@redhat.com>
15715 * src/NetworkManagerDevice.c
15716 - Use the driver's WE version for scanning rather than
15717 the WE version NM was compiled with. Fixes random
15718 crashes in iw_scan () in iwlib.
15720 2005-10-10 Dan Williams <dcbw@redhat.com>
15722 * Remove nm_system_load_device_modules() from backend files
15723 and from NetworkManager.c
15725 2005-10-10 Dan Williams <dcbw@redhat.com>
15727 * src/NetworkManagerPolicy.c
15728 - Fix some bugs introduced by the capabilities patch
15730 2005-10-10 Dan Williams <dcbw@redhat.com>
15732 * gnome/applet/applet-dbus-info.c
15733 - (nmi_dbus_get_network_key): hide the menu when putting up
15734 the keyring dialog. (not sure if the code is right...)
15736 2005-10-09 Dan Williams <dcbw@redhat.com>
15738 Patch from Bill Moss <bmoss@clemson.edu>
15739 * src/NetworkManagerDevice.c
15740 - (nm_device_set_user_key_for_network): don't try to set auth
15741 mode on the AP from the allowed list if it's NULL
15743 2005-10-09 Dan Williams <dcbw@redhat.com>
15745 * Replace the "driver support level" stuff with capabilities. The
15746 capability field is a bitfield that is more flexible than the
15747 old driver support level thing. It's mostly so we can easily
15748 figure out what supports WPA and what doesn't, but should be
15749 quite useful later.
15751 2005-10-09 Dan Williams <dcbw@redhat.com>
15758 - Added new "nm-tool" tool that gives quite a bit more
15761 2005-10-07 Robert Love <rml@novell.com>
15763 * gnome/applet/applet-dbus-info.c, gnome/applet/applet.c,
15764 gnome/applet/applet.h, gnome/vpn-properties/nm-vpn-properties.c,
15765 src/dhcp-manager/nm-dhcp-manager.c, test/libnm_glib_test.c,
15766 test/nmtest.c test/nmtestdevices.c: mark functions 'static' as
15769 2005-10-07 Robert Love <rml@novell.com>
15771 * configure.in: Change our compile flags for the betterment of mankind.
15772 Add "-Wstrict-prototypes" because we comply anyhow and missing a
15773 prototype is very bad on 64-bit platforms as types default to int but
15774 sizeof(int) != sizeof(long) and add "-Wmissing-prototypes" &
15775 "-Wmissing-declarations" to warn if we define an exported function
15776 but fail to put it in a header.
15778 2005-10-07 Robert Love <rml@novell.com>
15780 * src/NetworkManagerWireless.c: remove stale, unused function, who goes
15781 by the name nm_update_device_wireless_timeouts() and once tried,
15782 without success, to steal my pet turtle.
15784 2005-10-07 Robert Love <rml@novell.com>
15786 * Cleanup prototypes: put some functions in header files and mark
15787 others as 'static' -- feel free to invert
15788 * src/vpn-manager/nm-dbus-vpn.c: remove prototype of
15789 nm_vpn_manager_vpn_connection_list_copy()
15790 * src/vpn-manager/nm-vpn-act-request.c: remove prototype of
15791 nm_vpn_service_get_dbus_connection()
15792 * src/vpn-manager/nm-vpn-manager.h: add prototypes for
15793 nm_vpn_manager_vpn_connection_list_copy()
15794 * src/vpn-manager/nm-vpn-service.c: make
15795 nm_vpn_service_act_request_failed() and
15796 nm_vpn_service_stage2_daemon_wait() static
15797 * src/vpn-manager/nm-vpn-service.h: add prototype for
15798 nm_vpn_service_get_dbus_connection()
15800 2005-10-06 Christopher Aillon <caillon@redhat.com>
15802 * gnome/applet/applet.c:
15803 * gnome/applet/applet.h:
15804 * gnome/applet/icons/Makefile.am:
15805 Convey information about the current connection stage in the
15806 icons themselves instead of creating a separate progress bar.
15808 2005-10-04 Robert Love <rml@novell.com>
15810 * src/nm-dbus-device.c: Use iw_ether_ntop(), not ether_ntoa_r(), to
15811 convert an ether_addr structure's MAC into a string, because the
15812 latter will drop leading zero's and uses lower-case, e.g. 7:3b:4
15813 versus 07:3B:04, while the former will not.
15815 2005-10-04 Robert Love <rml@novell.com>
15817 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
15818 gnome/applet/nm-device.c, gnome/applet/nm-device.h,
15819 gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
15820 default route in the 'Connection Information' dialog, send primary
15821 and secondary name servers in in "getProperties" DBUS method, add
15822 network_device_{get,set}_{primary,secondary}_dns(), The primary and
15823 secondary domain name servers are crucial pieces of information
15824 that a user might need in debugging a network problem.
15826 2005-10-04 Robert Love <rml@novell.com>
15828 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
15829 gnome/applet/nm-device.c, gnome/applet/nm-device.h,
15830 gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
15831 default route in the 'Connection Information' dialog, send default
15832 route in "getProperties" DBUS method, add network_device_set_route(),
15833 and network_device_get_route(). The Gateway is a crucial piece of
15834 connection-related information that a user might need in debugging a
15837 2005-10-03 Robert Love <rml@novell.com>
15839 * src/backends/NetworkManagerSuSE.c: Fix Glib error, GError must be
15842 2005-10-02 Dan Williams <dcbw@redhat.com>
15844 * Shorten time taken to sleep by fastpathing bits of device deactivation
15845 necessary for sleep.
15847 * Fix issue where deactivating a device might deactivate the active
15848 VPN connection, even if the VPN was not using the device.
15850 2005-10-02 Dan Williams <dcbw@redhat.com>
15852 * gnome/applet/applet.c
15853 - Adjust signal strength -> icon mapping values slightly
15854 (so that 51% signal doesn't show a 75% icon) by adding
15855 5% to the values. ex: > 5% now shows 25% icon, > 30%
15856 shows 50% icon, etc.
15858 2005-09-29 Robert Love <rml@novell.com>
15860 * src/NetworkManager.c: removed unused variable.
15862 2005-09-28 Dan Williams <dcbw@redhat.com>
15864 Support for named + DBus, using Red Hat DBus patches for named. You
15865 can find those patches here, with "dbus" in the patch's filename:
15867 http://cvs.fedora.redhat.com/viewcvs/devel/bind/
15869 Don't forget the named dbus service file either.
15871 Instead of writing a config file and spawing a named process, NM will
15872 use an already-running dbus-enabled named if it finds one. NM will
15873 update named's forwarder configuration on the fly using dbus.
15875 If there is no dbus-enabled named running, NM will automatically fall
15876 back to writing the most-recent DNS server information to /etc/resolv.conf
15877 and calling nm_system_update_dns() to kick the system's resolver.
15879 Accordingly, all named-related configure-time options have been removed.
15881 2005-09-26 Robert Love <rml@novell.com>
15883 * src/backends/NetworkManagerSuSE.c, (nm_system_get_dialup_config): Add
15885 * src/backends/NetworkManagerSuSE.c, (verify_and_return_provider): Fix
15886 bug in error path if "ASKPASSWORD" is "no".
15888 2005-09-26 Robert Love <rml@novell.com>
15890 * src/named-manager/nm-named-manager.c: only '#' is officially a valid
15891 comment in /etc/resolv.conf -- ';' is not.
15893 2005-09-19 Dan Williams <dcbw@redhat.com>
15895 * src/backends/NetworkManagerRedHat.c:
15896 * src/backends/NetworkManagerDebian.c:
15897 * src/backends/NetworkManagerSlackware.c:
15898 * src/backends/NetworkManagerGentoo.c:
15899 * src/backends/NetworkManagerSUSE.c:
15900 Fix invocations of "/sbin/ip address" to use short form instead
15902 2005-09-19 Christopher Aillon <caillon@redhat.com>
15904 * src/nm-dbus-device.c: Don't assert when getting
15905 addresses of a not yet connected interface.
15907 * gnome/applet/applet.c: Free icons if loading fails.
15908 Use translator-credits so translators can make themselves known.
15910 2005-09-15 Christopher Aillon <caillon@redhat.com>
15912 * src/NetworkManagerAP.c:
15913 * src/NetworkManagerAP.h:
15914 * src/NetworkManagerDevice.c:
15915 Set a blacklist for certain common manufacturer default ESSIDs:
15916 APs with these ESSIDs are extremely likely to be completely
15917 different networks: connecting to one should not make NM
15918 auto-connect to every other AP with the same default ESSID.
15920 2005-09-12 Christopher Aillon <caillon@redhat.com>
15922 * gnome/applet/wireless-applet.glade:
15923 The passphrase entry should also activate the default
15925 * src/gnome-keyring-md5.c: Updated code from gnome-keyring
15927 * gnome/applet/applet-dbus-devices.c:
15928 * gnome/applet/applet.c:
15929 * gnome/applet/nm-device.c:
15930 * gnome/applet/nm-device.h:
15931 * src/NetworkManagerUtils.c:
15932 * src/NetworkManagerUtils.h:
15933 * src/nm-dbus-device.c:
15934 I've got a fever, and the only cure for it is less ioctl.
15935 Make NM push IP data rather than make the applet open a socket
15938 2005-09-10 Christopher Aillon <caillon@redhat.com>
15940 * gnome/applet/applet.c:
15941 * gnome/applet/applet-dbus-devices.c:
15942 * gnome/applet/applet-dbus-info.c:
15943 * gnome/applet/passphrase-dialog.c:
15944 * gnome/libnm_glib/libnm_glib.c:
15945 * gnome/vpn-properties/nm-vpn-properties.c:
15947 * src/backends/NetworkManagerRedHat.c:
15948 * src/named-manager/nm-named-manager.c:
15949 * src/NetworkManagerAPList.c:
15950 * src/NetworkManager.c:
15951 * src/NetworkManagerDbus.c:
15952 * src/NetworkManagerDevice.c:
15953 * src/NetworkManagerPolicy.c:
15954 * src/NetworkManagerSystem.c:
15955 * src/nm-dbus-device.c:
15956 * src/nm-dbus-nm.c:
15957 * src/vpn-manager/nm-vpn-manager.c:
15958 * src/vpn-manager/nm-vpn-service.c:
15959 * test/libnm_glib_test.c:
15960 * test/nminfotest.c:
15961 * test/nmtestdevices.c:
15962 Fix a bunch of 'unused variable' compiler warnings
15964 * NetworkManager.h:
15965 * gnome/applet/applet-dbus-info.c:
15966 * gnome/applet/applet-dbus-info.h:
15967 * gnome/applet/applet.c:
15968 * gnome/applet/applet.h:
15969 * src/NetworkManager.c:
15970 * src/NetworkManagerDbus.c:
15971 * src/NetworkManagerDbus.h:
15972 * src/NetworkManagerDevice.c:
15973 * src/NetworkManagerDevice.h:
15974 * src/NetworkManagerMain.h:
15975 * src/NetworkManagerWireless.c:
15976 * src/NetworkManagerWireless.h:
15977 * src/nm-dbus-nm.c:
15978 Make NetworkManager be smart about how frequently to scan
15979 based on its current state. Remove the UI for choosing when
15980 to scan. Scanning still may disabled completely by the user
15981 via the "Wireless Enabled" menu item.
15983 2005-09-09 Christopher Aillon <caillon@redhat.com>
15985 * gnome/applet/applet.c:
15986 Also overlay the vpn connecting icons onto the wired icon,
15989 * gnome/vpn-properties/nm-vpn-properties.glade:
15990 Clean up a few strings to use better grammar and proper casing.
15992 2005-09-08 Christopher Aillon <caillon@redhat.com>
15994 * gnome/applet/vpn-connection.c:
15995 * gnome/applet/vpn-connection.h:
15996 Add nmwa_vpn_connection_is_activating ()
15998 * gnome/applet/applet.c:
15999 * gnome/applet/applet.h:
16000 * gnome/applet/icons/nm-vpn-connecting*.png:
16001 Add new VPN connecting icons from Diana Fong <dfong@redhat.com>, letting
16002 the user know something's happening between clicking the VPN item and it
16003 actually being connected.
16005 2005-09-07 Christopher Aillon <caillon@redhat.com>
16007 * gnome/applet/applet-dbus-info.c: need to free attributes in the
16008 failure case as well.
16010 2005-09-07 Rodrigo Moya <rodrigo@novell.com>
16012 * gnome/panel/eggtrayicon.[ch]:
16013 * examples/python/systray/eggtrayicon.[ch]: updated code from libegg.
16015 2005-09-07 Dan Williams <dcbw@redhat.com>
16017 Patch from Bill Moss <bmoss@clemson.edu>
16018 * src/applet-dbus.c
16019 - (nmwa_dbus_filter): strip whitespace from beginning
16020 and end of VPN login banner
16022 2005-09-07 Dan Williams <dcbw@redhat.com>
16024 * The great VPN Manager rewrite of 2005
16026 2005-09-07 Christopher Aillon <caillon@redhat.com>
16028 * gnome/applet/menu-items.c:
16029 * gnome/applet/nm-device.c:
16030 * gnome/applet/wireless-network.c:
16031 * gnome/libnm_glib/libnm_glib.c:
16032 * src/NetworkManagerDbusUtils.c:
16033 * vpn-daemons/vpnc/src/nm-vpnc-service.c:
16034 g_malloc0 doesn't return NULL
16036 2005-09-06 Dan Williams <dcbw@redhat.com>
16038 Patch from Tomislav Vujec <tvujec@redhat.com>
16039 * src/NetworkManagerDevice.c
16040 - (nm_get_device_by_udi): don't return a device when we
16041 actually didn't find what we were looking for
16043 2005-09-06 Christopher Aillon <caillon@redhat.com>
16045 * gnome/applet/applet-dbus-devices.c:
16046 * gnome/applet/applet-dbus-devices.h:
16047 * gnome/applet/applet-dbus.c:
16048 * src/NetworkManagerDbus.c:
16049 * src/NetworkManagerDbus.h:
16050 * src/NetworkManagerDevice.c:
16051 * src/nm-dbus-device.c:
16052 Make NM push updates about active device strength when it changes,
16053 rather than having the applet poll every 2s.
16055 2005-09-05 Christopher Aillon <caillon@redhat.com>
16057 * gnome/applet/applet-dbus-devices.c: Remove duplicate call to
16058 network_device_set_strength
16060 2005-09-04 Dan Williams <dcbw@redhat.com>
16062 Patch from Bill Nottingham <notting@redhat.com>
16063 * src/NetworkManagerDevice.c
16064 - (nm_device_activation_cancel): reset the quit_activation flag
16066 2005-09-04 Dan Williams <dcbw@redhat.com>
16068 * src/nm-activation-request.c
16069 - (nm_act_request_unref): actually free the structure,
16070 which we didn't seem to be doing before
16072 2005-09-04 Dan Williams <dcbw@redhat.com>
16074 Patch from John Palmieri <johnp@redhat.com>
16075 * gnome/applet/applet-dbus-devices.c
16076 - Fix up unreffing of DBusMessage objects
16078 2005-09-04 Dan Williams <dcbw@redhat.com>
16080 Patch from John Palmieri <johnp@redhat.com>
16081 * gnome/applet/nm-device.c
16082 - (nm_device_unref): clear network_device's memory _before_ freeing it
16084 2005-09-02 Christopher Aillon <caillon@redhat.com>
16086 * gnome/applet/applet.c: Use a check menu item for Wireless Enabled
16088 2005-09-02 Bill Nottingham <notting@redhat.com>
16090 * src/backends/NetworkManagerRedHat.c: use nm_warning, not nm_error
16092 2005-09-01 Dan Williams <dcbw@redhat.com>
16094 * src/NetworkManager.c
16095 - (nm_remove_device_from_list): rename to nm_remove_device
16096 - (nm_hal_device_removed): call nm_remove_device()
16098 * src/NetworkManagerDevice.c
16099 - Change the NMWirelessScanCB member 'reschedule' which
16100 wasn't used to 'force' to indicate that we need to
16101 force a scan when adding a device
16104 - (nm_dbus_nm_sleep): Deactivate all devices and remove them
16105 from the device list
16106 - (nm_dbus_nm_wake): Re-add all devices to the device list
16108 2005-09-01 Robert Love <rml@novell.com>
16110 * gnome/applet/applet.c: nmwa_update_info: iface is used uninitialized
16111 and the check "!iface" in the error case is probably never true.
16113 2005-09-01 Dan Williams <dcbw@redhat.com>
16115 Patch from Bill Nottingham <notting@redhat.com>
16116 * src/backends/NetworkManagerRedHat.c
16117 - Add initial dialup support to Red Hat/Fedora backend
16119 2005-09-01 Dan Williams <dcbw@redhat.com>
16121 * gnome/applet/applet-dbus-devices.c
16122 - Sort both wireless networks and devices again, which got
16123 broken when removing threading
16125 2005-09-01 Christopher Aillon <caillon@redhat.com>
16127 * gnome/applet/applet.c:
16128 Only show the "Stop/Start All Wireless Devices" menuitem
16129 if we actually have wireless devices.
16131 * gnome/applet/applet-dbus-info.c:
16132 * gnome/applet/applet.c:
16133 * gnome/applet/other-network-dialog.c:
16134 * gnome/applet/vpn-password-dialog.c:
16135 Drop the gtk_dialog_run () calls in favor of connecting to
16136 "response" signals, needed now that the applet is not threaded.
16138 2005-08-31 Dan Williams <dcbw@redhat.com>
16140 Patch from Bill Moss <bmoss@clemson.edu>
16141 * src/NetworkManagerDevice.c
16142 - (nm_device_wireless_scan): fix scan timeout values
16144 2005-08-30 Dan Williams <dcbw@redhat.com>
16146 * gnome/applet/wireless-applet.glade
16147 - HIG-ify the Other Wireless Networks dialog a bit more
16148 - Fix some potential segfaults in the info dialog
16150 2005-08-30 Dan Williams <dcbw@redhat.com>
16152 * gnome/applet/applet-dbus-devices.c
16153 - Remove nmwa_dbus_get_hal_device_string_property(); unused
16155 2005-08-30 Dan Williams <dcbw@redhat.com>
16157 * gnome/applet/applet-dbus.[ch]
16158 - Remove all the nmwa_dbus_call_method_xxxx functions since
16159 they weren't being used anyway
16161 2005-08-30 Bastien Nocera <hadess@hadess.net>
16163 * test/nmtestdevices.c: (print_usage), (main):
16164 Check the number of arguments, and fix a typo
16166 2005-08-29 Dan Williams <dcbw@redhat.com>
16168 Patch from Dumitru Ciobarcianu <Dumitru.Ciobarcianu@iNES.RO>
16169 * gnome/applet/applet.c
16170 - Define GTK_STOCK_INFO for GTK 2.6 and lower
16172 2005-08-29 Dan Williams <dcbw@redhat.com>
16175 - Don't use threads any more. Anything that blocks
16176 (like gtk_dialog_run()) will have to get fixed up which
16177 should happen quickly. We really only had threads to make
16178 the animation smooth, and when everything got converted over
16179 to DBus Pending Calls, the need for threads kind of went away
16181 2005-08-29 Christopher Aillon <caillon@redhat.com>
16183 * gnome/applet/applet.c: Draw VPN connections as radio items
16184 since we don't yet support multiple VPNs.
16185 * gnome/applet/other-network-dialog.c: Use stock icon for Connect
16186 * gnome/vpn-properties/nm-vpn-properties.c: Use stock icon for Delete
16188 2005-08-29 Dan Williams <dcbw@redhat.com>
16190 Patch from j@bootlab.org
16191 - Make --without-named work
16192 - Make --with-dhcdbd work correctly
16194 2005-08-27 Josep Puigdemont i Casamajó <josep.puigdemont@gmail.com>
16196 * configure.in: Added "ca" to ALL_LINGUAS.
16198 2005-08-26 Christopher Aillon <caillon@redhat.com>
16200 * Fix up VPN state handling between the applet and NetworkManager,
16201 so that the applet doesn't show a VPN as connected when one
16203 - The applet no longer has a pointer to the active VPN's
16204 name, but tracks each VPNs state individually
16205 - NM no longer has a "getActiveVPNConnection" method
16206 - NM no longer broadcasts the "VPNConnectionChange" signal
16207 - NM now broadcasts a "VPNConnectionStateChange" signal
16208 whenever the state of a VPN changes
16210 2005-08-26 Dan Williams <dcbw@redhat.com>
16212 * gnome/applet/applet-dbus-devices.c
16213 gnome/applet/applet-dbus-vpn.c
16214 - Remove calls to dbus_pending_call_ref() because we already
16215 "own" the pending call
16216 - Remove calls to dbus_pending_call_get_completed() because
16217 when we are in the callback, the pending call is completed
16220 2005-08-22 Dan Williams <dcbw@redhat.com>
16222 Patch by Bill Moss <bmoss@clemson.edu>
16223 * src/dhcp-manager/nm-dhcp-manager.c
16224 - (nm_dhcp_manager_cancel_transaction): Give dhcdbd/dhclient
16225 some time to send out a RELEASE if they like
16227 2005-08-22 Dan Williams <dcbw@redhat.com>
16229 Noticed by Bill Moss <bmoss@clemson.edu>
16230 * src/NetworkManagerDbus.c
16231 - (nm_dbus_get_user_key_for_network_cb): deactivate the device
16232 instead of just cancelling its activation
16234 * src/NetworkManagerDevice.c
16235 - (nm_device_deactivate): some small cleanups
16236 - (nm_device_set_user_key_for_network): deactivate the device
16237 instead of just cancelling its activation
16239 2005-08-22 Dan Williams <dcbw@redhat.com>
16241 Noticed by Bill Moss <bmoss@clemson.edu>
16242 * src/NetworkManagerDevice.c
16243 - (nm_device_wireless_scan): fix scan timeout, we were
16244 waiting way too long for scans to complete
16246 2005-08-22 Dan Williams <dcbw@redhat.com>
16248 Patch from j@bootlab.org:
16249 * src/backends/NetworkManagerDebian.c
16250 - Make the Debian backend work for static IP again
16252 2005-08-20 Christopher Aillon <caillon@redhat.com>
16254 * gnome/applet/other-network-dialog.c:
16255 The "Create New Network" and "Connect to Other Network"
16256 dialogs share alot of code, but shouldn't share a window
16257 title. Give them different ones.
16259 * gnome/applet/wireless-applet.glade:
16260 * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
16261 Some more minor UI tweaks.
16263 2005-08-19 Christopher Aillon <caillon@redhat.com>
16265 * gnome/applet/other-network-dialog.c:
16266 * gnome/applet/wireless-applet.glade:
16267 Also need mnemonic widgets, and underline enabled.
16269 2005-08-19 Dan Williams <dcbw@redhat.com>
16271 * vpn-daemons/vpnc/nm-vpnc-service.c
16272 - (vpnc_watch_cb): remove no-longer-relevant comment
16273 - (write_config_option): new function, helper to write
16274 config options to vpnc's stdin
16275 - (nm_vpnc_config_write): use the new helper, make the
16278 2005-08-19 Christopher Aillon <caillon@redhat.com>
16280 * gnome/applet/passphrase-dialog.c:
16281 * gnome/applet/wireless-applet.glade:
16282 Make the passphrase dialog response based, and treat
16283 responses other than OK (such as Esc, [X]) as a cancel.
16285 2005-08-18 Christopher Aillon <caillon@redhat.com>
16287 * initscript/Gentoo/NetworkManager:
16288 * initscript/RedHat/NetworkManager:
16289 * initscript/RedHat/NetworkManagerDispatcher:
16290 * initscript/SUSE/networkmanager:
16291 CVS remove these in place of .in replacements
16294 * initscript/Gentoo/NetworkManager.in:
16295 * initscript/RedHat/NetworkManager.in:
16296 * initscript/RedHat/NetworkManagerDispatcher.in:
16297 * initscript/SUSE/networkmanager.in:
16298 These scripts now are generated so they work still when
16299 NM is built using a bindir other than /usr/bin
16301 2005-08-18 Dan Williams <dcbw@redhat.com>
16303 * gnome/applet/main.c
16304 - Revert previous change for --no-session since
16305 --sm-disable does the same thing
16307 2005-08-18 Dan Williams <dcbw@redhat.com>
16309 * gnome/applet/applet-dbus-info.c
16310 - (nmi_dbus_create_error_message): new function
16311 - (nmi_dbus_get_key_for_network): correctly use dbus error creation
16312 functions. Also don't check for both device _and_ network before
16313 asking for a user's key, because we may not have gotten all our
16314 networks back from NM quite yet (due to the dbus pending calls
16315 coming in later). Fixes a hang in NM/nm-applet.
16317 * src/NetworkManagerDbus.c
16318 - (nm_dbus_get_user_key_for_network_cb): handle error conditions in a
16319 slightly more sane manner, even though we are still broken for
16320 certain other error conditions.
16321 - (nm_dbus_get_user_key_for_network): need to pass the network's essid
16322 to the info-daemon too
16324 * src/NetworkManagerDevice.c
16325 - Fix some debug messages to be info messages instead
16327 2005-08-18 Dan Williams <dcbw@redhat.com>
16329 * gnome/applet/main.c
16330 - Add new "--no-session" parameter that disables applet
16331 session management, ie for testing
16333 2005-08-18 Christopher Aillon <caillon@redhat.com>
16335 * gnome/applet/other-network-dialog.c:
16336 * gnome/applet/wireless-applet.glade: More mnemonics
16338 2005-08-17 Robert Love <rml@novell.com>
16340 * initscript/SUSE/networkmanager: update
16342 2005-08-17 Dan Williams <dcbw@redhat.com>
16344 * Tag NM_0_4_1_RELEASE
16346 2005-08-17 Christopher Aillon <caillon@redhat.com>
16348 * gnome/applet/applet.c: More translatable string cleanup
16351 2005-08-17 Dan Williams <dcbw@redhat.com>
16353 * gnome/applet/applet-dbus-info.c
16354 - (nmi_dbus_get_key_for_network): Grab new "new_key" parameter
16355 from the dbus message, which tells us to unconditionally
16356 ask the user for a new key. Otherwise, we pull the key from
16357 the keyring and return it. If we fail to get the key from the
16358 keyring, we ask the user for a new key.
16359 - (nmi_dbus_get_network_key): new function to grab the key for
16360 an essid from the keyring.
16361 - (nmi_dbus_get_network_properties): don't access the keyring here.
16362 Also, don't return any key in the dbus message.
16364 * src/NetworkManagerDbus.[ch]
16365 - (nm_dbus_get_user_key_for_network): Add "new_key" parameter to
16366 indicate that we unconditionally want a new key. This function
16367 is now also used to get keys from the info-daemon which are
16368 pre-stored, not just for asking the user for a new key. The
16369 "new_key" parameter indicates whether or not we wish to ask the
16370 user for a new key.
16371 - (nm_dbus_get_network_data_cb): we no longer get a key from the
16372 info-daemon in the return message, so use NULL instead. The
16373 key will be filled in at connect time by calling
16374 nm_dbus_get_user_key_for_network()
16376 * src/NetworkManagerDevice.c
16377 - (nm_device_wireless_configure): update for "new_key" param to
16378 nm_dbus_get_user_key_for_network(). We initially set new_key
16379 to FALSE to see if we have a stored key in the info-daemon, but
16380 if the connection is unsuccessful at this stage we request a
16383 2005-08-17 Dan Williams <dcbw@redhat.com>
16385 * gnome/applet/icons/nm-no-connection.png
16386 gnome/applet/icons/nm-device-wired.png
16387 - Use Diana's new RJ45 connector icons
16389 2005-08-17 Dan Williams <dcbw@redhat.com>
16391 * src/NetworkManagerPolicy.c
16392 - (nm_policy_device_change_check): clarify switching rules if
16393 both new and old devices are valid; mainly, don't switch
16394 away from user-requested wireless connection back to a wired
16397 2005-08-17 Dan Williams <dcbw@redhat.com>
16399 * gnome/applet/Makefile.am
16400 - Relocate the applet to /usr/bin since it is no longer
16401 executed by anything, but directly by the user
16403 2005-08-17 Dan Williams <dcbw@redhat.com>
16405 Patch from Bill Moss <bmoss@clemson.edu>
16407 * gnome/applet/applet-dbus-info.[ch]
16408 - (nmi_save_network_info): save timestamp for network if it
16409 was a change requested by the user
16410 - (nmi_dbus_update_network_info): get user_requested from dbus
16411 message and pass to nmi_save_network_info()
16413 * gnome/applet/applet.c
16414 - (nmwa_update_network_timestamp): remove
16415 - (nmwa_menu_item_activate): don't set timestamp on networks
16416 here, only after a successful connect in nmi_save_network_info()
16418 * src/NetworkManagerDbus.[ch]
16419 - (nm_dbus_update_network_info): pass user_requested into the
16422 * src/NetworkManagerPolicy.c
16423 - (nm_policy_activation_finish): pass user_requested to
16424 nm_dbus_update_network_info()
16426 2005-08-16 Robert Love <rml@novell.com>
16428 * gnome/applet/applet.c: Better "Dial Up" menu item.
16430 2005-08-16 Robert Love <rml@novell.com>
16432 * gnome/applet/applet.c: use GTK_STOCK_INFO not PROPERTIES for the
16433 "Connection Information" menu item.
16435 2005-08-16 Dan Williams <dcbw@redhat.com>
16437 Patch from j@bootlab.org
16438 * vpn-daemons/vpnc/Makefile.am: Fix for autoreconf
16440 * configure.in: allow specifying the path to dhcdbd
16442 2005-08-16 Robert Love <rml@novell.com>
16444 Patch from j@bootlab.org
16445 * src/backends/NetworkManagerDebian.c, src/backends/interface_parser.c,
16446 src/backends/interface_parser.h: Debian dialup support.
16448 2005-08-16 Christopher Aillon <caillon@redhat.com>
16450 * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
16451 * gnome/applet/applet.c: Add some mnemonics for VPNC
16453 * vpn-daemons/.cvsignore: fix this up a little bit
16455 2005-08-16 Robert Love <rml@novell.com>
16457 * src/backends/NetworkManagerSuSE.c: improve the SUSE-backend dial up
16460 2005-08-16 Christopher Aillon <caillon@redhat.com>
16462 * gnome/applet/applet.c: Split markup out of translatable strings
16463 and clean up logic a little bit. (fixes #309012)
16465 2005-08-15 Christopher Aillon <caillon@redhat.com>
16467 * gnome/vpn-properties/nm-vpn-properties.c:
16468 * gnome/vpn-properties/nm-vpn-ui-interface.h:
16469 * vpn-daemons/vpnc/properties/nm-vpnc.c:
16470 Makeshift fix to remove newlines from translatable strings.
16471 Note that we now return an allocated string, so callers of
16472 get_confirmation_details () must now call g_free () on the
16473 result. (fixes #309033).
16475 2005-08-12 Robert Love <rml@novell.com>
16477 * gnome/applet/applet-dbus.c: remove newlines from translatable
16478 strings--not needed here anyway. (fix b.g.o #309011)
16479 * src/nm-netlink.monitor.c: don't translate "%s" (fix b.g.o #172391)
16481 2005-08-11 Robert Love <rml@novell.com>
16483 * gnome/applet/applet.c: mark string as translatable.
16485 2005-08-11 Robert Love <rml@novell.com>
16487 * initscript/SUSE/networkmanager: update.
16489 2005-08-11 Dan Williams <dcbw@redhat.com>
16491 * src/nm-dhcp-manager.c
16492 - (nm_dhcp_manager_get_ip4_config): if for some reason we don't get
16493 an gateway returned from DHCP, try to use the address of the DHCP
16494 server as the gateway instead. Found by Ralf Ertzinger.
16496 2005-08-10 Robert Love <rml@novell.com>
16498 * gnome/applet/applet.c: Make applet->dbus_thread joinable so we can
16499 wait for it on exit; call exit() in nmwa_destroy() to jump ship.
16501 2005-08-10 Dan Williams <dcbw@redhat.com>
16503 Patch from Bill Moss <bmoss@clemson.edu>
16504 * Consolidate writes of access point information updates to the info daemon
16505 so that we only do it when the connection to the access point was
16506 successful. Also consolidates updates to GConf in the Gnome applet.
16508 * src/nm-netlink-monitor.c
16509 - Silence compile warning when calling g_object_new()
16511 2005-08-08 Dan Williams <dcbw@redhat.com>
16513 Patch from Steev <steev@steev.net>:
16514 * src/backends/NetworkManagerGentoo.c
16515 - Stub new dialup backend functions
16517 2005-08-08 Dan Williams <dcbw@redhat.com>
16519 Patch from Colin Slater:
16520 * src/backends/NetworkManagerGentoo.c
16521 - (nm_system_update_dns): Fix exit status check for restarting
16524 2005-08-05 Robert Love <rml@novell.com>
16526 * NetworkManager.h,
16527 gnome/applet/applet-dbus-devices.c,
16528 gnome/applet/applet-dbus-devices.h,
16529 gnome/applet/applet-dbus.c,
16530 gnome/applet/applet.c,
16531 gnome/applet/applet.h,
16532 src/NetworkManager.c,
16533 src/NetworkManagerMain.h,
16534 src/NetworkManagerSystem.h,
16535 src/backends/NetworkManagerRedHat.c,
16536 src/backends/NetworkManagerSuSE.c,
16537 src/nm-dbus-nm.c: basic dialup support using distro infrastructure
16539 2005-08-05 Robert Love <rml@novell.com>
16541 * gnome/applet/other-network-dialog.c: default the adhoc network to the
16542 machine's hostname to make adhoc creation idiot-proof.
16544 2005-08-04 Robert Love <rml@novell.com>
16546 * gnome/applet/other-network-dialog.c: fix leak. "label" needs to be
16549 2005-08-04 Dan Williams <dcbw@redhat.com>
16551 * gnome/applet/applet-dbus-info.c
16552 gnome/applet/applet-dbus-info.h
16553 - (nmi_dbus_update_network_auth_method->nmi_save_network_info): generalize
16554 to store key, key type, and auth method rather than just auth method
16555 - (nmi_dbus_update_network_info): new function
16556 - (nmi_dbus_info_message_handler): updateNetworkAuthMethod -> updateNetworkInfo
16558 * gnome/applet/passphrase-dialog.c
16559 - (nmi_passphrase_dialog_ok_clicked): call nmi_save_network_info() instead
16560 of saving the info ourselves
16562 * gnome/libnm_glib/libnm_glib.c
16563 - Remove the stupid version check for dbus
16565 * src/NetworkManagerAP.c
16566 src/NetworkManagerAP.h
16567 - (nm_ap_get_enc_key_source): return 'const char *' rather than 'char *'
16569 * src/NetworkManagerDbus.c
16570 src/NetworkManagerDbus.h
16571 - (nm_dbus_update_network_auth_method -> nm_dbus_update_network_info): Update
16572 more than just the auth method
16574 * src/NetworkManagerDevice.c
16575 - Update network info at the appropriate times
16577 2005-07-29 Ray Strode <rstrode@redhat.com>
16579 * src/NetworkManager.c (nm_info_handler): don't use input as format
16580 string (Spotted by Ian Jackson).
16582 2005-07-27 Dan Williams <dcbw@redhat.com>
16586 - Random cleanups of spacing
16588 * gnome/applet/applet.h
16589 gnome/applet/other-network-dialog.c
16590 gnome/applet/passphrase-dialog.c
16591 - Conslidate usage of NMWAEncryptionKeyTypes enum
16593 Patch from Bill Moss:
16594 - Make Other Wireless Networks work again with encryption keys
16596 2005-07-26 Dan Williams <dcbw@redhat.com>
16598 Patch from Steev <steev@steev.net>:
16599 * src/backends/NetworkManagerGentoo.c
16600 src/backends/Makefile.am
16601 - Fix up Gentoo backend
16603 2005-07-26 Robert Love <rml@novell.com>
16605 * src/backends/NetworkManagerSuSE.c: misc. cleanup
16607 2005-07-25 Robert Love <rml@novell.com>
16609 * gnome/applet/applet.c: make the "Wired" menu item a radio button,
16610 in the same group as the wireless networks, since they are all
16611 mutually exclusive.
16613 2005-07-24 Ray Strode <rstrode@redhat.com>
16615 * src/nm-netlink-monitor.c (nm_netlink_monitor_new):
16616 remove unneeded NULL arg from g_object_new(). Any
16617 warnings caused by not having the extra NULL are just a
16618 result of a bug in glib 2.7.0 - 2.7.2.
16620 2005-07-22 Robert Love <rml@novell.com>
16622 * gnome/libnm_glib/libnm_glib.c: support D-BUS version 0.35, too
16624 2005-07-22 Robert Love <rml@novell.com>
16626 * src/nm-netlink-monitor.c: g_object_new() needs at least three
16627 parameters (gcc 4.0.2 warning fix).
16629 2005-07-18 Robert Love <rml@novell.com>
16631 Suggested by Aaron Bockover (abockover@novell.com)
16632 * gnome/applet/other-network-dialog.c: ASCII is an acronym, thus
16634 * gnome/applet/passphrase-dialog.c: ditto
16635 * gnome/applet/wireless-applet.glade: ditto
16637 2005-07-13 Dan Williams <dcbw@redhat.com>
16639 Patch from Ray Strode <halfline@gmail.com>
16640 * vpn-daemons/vpnc/nm-vpnc-service.c
16641 - Don't let vpnc daemonize, fixes some races with PID file reading
16643 2005-07-13 Dan Williams <dcbw@redhat.com>
16645 Patch from Ray Strode <halfline@gmail.com>
16646 * Random cleanups for strict CFLAGS
16648 2005-07-07 Dan Williams <dcbw@redhat.com>
16650 Patch from Derek Atkins <warlord@MIT.EDU>
16651 * src/nm-dbus-net.c:
16652 - (nm_dbus_get_ap_from_object_path): differentiate similar ESSIDs
16654 2005-07-07 Dan Williams <dcbw@redhat.com>
16656 Patch from Jos Dehaes <jos_dehaes@fastmail.fm>
16657 * src/backends/NetworkManagerGentoo.c
16658 - Gentoo backend Static IP nameserver fixes
16659 - General Gentoo backend goodness
16661 2005-07-07 Dan Williams <dcbw@redhat.com>
16663 Patch from Bastien Nocera:
16664 * gnome/applet/applet.c
16665 - Fix up error reporting when icons or glade files are missing
16667 2005-07-07 Robert Love <rml@novell.com>
16669 * gnome/applet/applet.c: do not draw the VPN menu's seperator if there
16670 are not any VPN connections above it.
16672 2005-07-07 Robert Love <rml@novell.com>
16674 * gnome/applet/applet.c: whoops, left some "dog" debugging code in.
16676 2005-07-05 Robert Love <rml@novell.com>
16678 * src/NetworkManagerSystem.c: bail out if asked to set a gateway of
16681 2005-07-05 Robert Love <rml@novell.com>
16683 * src/NetworkManagerDevice.c: use link-local (autoip) on DHCP failure
16684 on wired or unencrypted wireless.
16686 2005-07-01 Robert Love <rml@novell.com>
16688 * src/NetworkManagerSystem.c: Print the error via strerror().
16690 2005-06-30 Robert Love <rml@novell.com>
16692 * gnome/vpn-properties/nm-vpn-properties.c: display an error dialog and
16693 then exit if the glade file is not found. currently the application
16696 2005-06-30 Robert Love <rml@novell.com>
16698 * src/nm-dbus-nm.c: Patch by Bill Moss <bmoss@clemson.edu> to
16699 explicitly up all interfaces on wake from sleep.
16701 2005-06-30 Robert Love <rml@novell.com>
16703 * gnome/applet/applet.c: Add right-click menu item "Connection Info"
16704 with information about the currently active connection.
16705 * gnome/applet/applet.h: (ditto)
16706 * gnome/applet/wireless-applet.glade: (ditto), new file
16708 2005-06-30 Robert Love <rml@novell.com>
16710 * src/NetworkManagerDevice.c: g_malloc0 cannot fail.
16711 * src/nm-dbus-nm.c: print when we sleep and wake up.
16712 * gnome/applet/menu-items.c: whitespace, misc. cleanup.
16713 * configure.in: look in "/usr/sbin" for dhcdbd, too. (it shouldn't be
16714 in /sbin unless D-BUS is, folks).
16715 * README: update to reflect nm-applet replacing NetworkManagerInfo.
16717 2005-06-27 Robert Love <rml@novell.com>
16719 * src/nm-dbus-nm.c: fix "setWirelessEnabled" call for the enabling
16722 2005-06-27 Robert Love <rml@novell.com>
16724 * gnome/applet/applet.c: make the 'Wireless Network Discovery' menu
16727 2005-06-26 Robert Love <rml@novell.com>
16729 * src/NetworkManagerDevice.c: be specific about which device in
16732 2005-06-23 Adam Weinberger <adamw@gnome.org>
16734 * src/nm-netlink-monitor.c: correct spelling error.
16736 2005-06-23 Robert Love <rml@novell.com>
16738 * gnome/applet/applet-dbus-info.c: gnome keyring support!
16739 * gnome/applet/passphrase-dialog.c: more of that keyring!
16741 2005-06-23 Robert Love <rml@novell.com>
16743 * configure.in: remove extraneous GNOMEKEYRING directives.
16744 * gnome/applet/Makefile.am: s/GNOMEKEYRING/GNOME_KEYRING/.
16745 * gnome/applet/applet.c: nmwa_icons_init: make style local.
16746 * gnome/applet/passphrase-dialog.c: whitespace.
16748 2005-06-23 Robert Love <rml@novell.com>
16750 * src/NetworkManagerDevice.c: division in assignment was flipped.
16752 2005-06-23 David Zeuthen <david@fubar.dk>
16754 * gnome/applet/vpn-password-dialog.c (child_stdout_data_cb): Send a
16755 signal to the child to indicate that we got what we wanted when we
16756 see two new-lines right after each other.
16757 (nmwa_vpn_request_password): Pass a structure with several members
16758 instead of just the passwords
16760 2005-06-23 Dan Williams <dcbw@redhat.com>
16762 * src/NetworkManager.c
16763 src/NetworkManagerMain.h
16764 - (nm_get_hal_ctx): new function, move Hal initialization code here
16765 - (nm_hal_init): new function, init libhal context then add devices
16766 - (nm_hal_deinit): new function, clean up libhal context
16767 - (nm_data_free): Move Hal cleanup here
16768 - (main): check whether Hal is running, and if so, get a list of
16769 network devices from it
16771 * src/NetworkManagerDbus.c
16772 - (nm_dbus_signal_filter): trap NameOwnerChanged signals for Hal,
16773 and when it appears, get a list of network devices from it. If
16774 Hal goes away, clean up the libhal context
16776 2005-06-22 Robert Love <rml@novell.com>
16778 * dispatcher-daemon/NetworkManagerDispatcher.c: fix FIXME: check
16779 permissions of scripts before executing.
16781 2005-06-21 Robert Love <rml@novell.com>
16783 * initscript/SUSE/networkmanager: update.
16784 * src/backends/NetworkManagerSuSE.c: cleanup.
16786 2005-06-21 Robert Love <rml@novell.com>
16788 * gnome/applet/applet.c: use menu mnemonics.
16789 * gnome/applet/menu-items.c: (ditto)
16791 2005-06-21 Robert Love <rml@novell.com>
16793 * applet/applet-dbus-devices.c: mark non-static functions static.
16794 * applet/applet-dbus-vpn.c: (ditto)
16795 * applet/applet.c: (ditto)
16796 * applet/nm-device.h: (ditto)
16797 * applet/other-network-dialog.c: (ditto)
16798 * applet/passphrase-dialog.c: (ditto)
16799 * NetworkManager.c: (ditto)
16800 * NetworkManagerDbus.c: (ditto)
16801 * NetworkManagerDevice.c: (ditto)
16802 * NetworkManagerPolicy.c: (ditto)
16803 * NetworkManagerUtils.c: (ditto)
16804 * NetworkManagerWireless.c: (ditto)
16805 * NetworkManagerWireless.h: (ditto)
16806 * nm-netlink-monitor.c: (ditto)
16807 * applet/applet-dbus-info.c: (ditto), add FIXME's.
16808 * vpn-manager/nm-dbus-vpn.c: (ditto), remove shadowed variable.
16809 * autoip.c: include autoip.h.
16810 * autoip.h: new file. define get_autoip().
16811 * nm-netlink-monitor.h: define nm_netlink_close_connection().
16812 * NetworkManagerDbus.h: remove duplicate definitions.
16814 2005-06-20 Robert Love <rml@novell.com>
16816 * Makefile.am: Add missing intltool-foo.in generated files to
16817 EXTRA_DIST so that 'distcheck' works. Also add DISTCLEANFILES
16818 with the start of stuff to cleanup on 'distclea'.
16819 * configure.in: add AC_PROG_INTLTOOL macro so that we do the intltool
16820 stuff right and 'distcheck' works.
16821 * po/POTFILES.in: Remove examples/python/systray/eggtrayicon.c. If
16822 we keep it, we need to add all of examples/* to EXTRA_DIST and do
16823 Makefile.am for each. And systray/Makefile needs to be redone.
16825 2005-06-19 Dan Williams <dcbw@redhat.com>
16827 * src/NetworkManagerDevice.c
16828 - (nm_device_wireless_process_scan_results): scan every 20s when
16829 disconnected and scanning is ALWAYS_SCAN or WHEN_UNASSOCIATED
16831 2005-06-19 Dan Williams <dcbw@redhat.com>
16833 * WEXT_DEBUG->IOCTL_DEBUG, extend checking to all ioctl() calls
16835 2005-06-18 Ray Strode <rstrode@redhat.com>
16837 * src/nm-netlink-monitor.c
16838 (nm_netlink_monitor_event_handler): check for the presence
16839 of either error condition not both.
16841 (nm_netlink_monitor_error_handler): emit error signal if
16844 (nm_netlink_monitor_event_handler),
16845 (nm_netlink_monitor_error_handler),
16846 (nm_netlink_monitor_disconnect_handler): if an
16847 assertion fails disconnect the event handler to prevent
16850 * src/nm-netlink-monitor.h: add new error condition
16851 NM_NETLINK_MONITOR_ERROR_WAITING_FOR_SOCKET_DATA
16853 2005-06-18 Ray Strode <rstrode@redhat.com>
16855 * src/nm-netlink-monitor.c
16856 (nm_netlink_monitor_event_handler): remove bogus < 0
16857 check on unsigned value and return early if the kernel
16858 didn't send any bytes.
16860 2005-06-17 Robert Love <rml@novell.com>
16862 * initscript/SUSE/networkmanager: Change the Provides and default
16865 2005-06-16 Dan Williams <dcbw@redhat.com>
16867 Patch from Robert Love:
16868 * gnome/applet/applet.c
16869 - Beautify some applet menu item names
16871 2005-06-17 David Zeuthen <davidz@redhat.com>
16873 * gnome/vpn-properties/nm-vpn-ui-interface.h: Require users of this
16874 API to define NM_VPN_API_SUBJECT_TO_CHANGE to acknowledge API churn.
16875 Also add new methods can_export, import_file and export.
16877 * gnome/vpn-properties/nm-vpn-properties.glade: Add an Export button
16880 * gnome/vpn-properties/nm-vpn-properties.c:
16881 Define NM_VPN_API_SUBJECT_TO_CHANGE so we can actually include
16882 nm-vpn-ui-interface.h.
16883 (update_edit_del_sensitivity): Also update "Export" sensitivity
16884 (add_vpn_connection): Also add new SVC_NAME column
16885 (import_settings): New function
16886 (retrieve_data_from_selected_connection): New function
16887 (edit_cb): Use retrieve_data_from_selected_connection to simplify
16889 (export_cb): New function
16890 (init_app): Also setup the "export" widget
16891 (main): Support the --import-service and --import-file commandline
16894 * gnome/libnm_glib/libnm_glib.c (libnm_glib_dbus_filter): Also support
16897 2005-06-16 Dan Williams <dcbw@redhat.com>
16899 Patch from Robert Love:
16900 * gnome/applet/menu-items.c
16901 - (network_menu_item_new): pass -1 as wireless network
16902 menu items height size request rather than ascent / 2
16904 2005-06-16 Dan Williams <dcbw@redhat.com>
16906 * Clean up wording in Wireless Scan Methods menu items and constants
16908 2005-06-16 Robert Love <rml@novell.com>
16911 - remove gtkcell* files
16913 2005-06-15 Dan Williams <dcbw@redhat.com>
16915 Patch from Robert Love: make the applet stetic
16917 * gnome/applet/Makefile.am
16918 - Don't compile the gtkcellview and gtkcellrendererprogress files
16920 * gnome/applet/gtkcellview.h
16921 gnome/applet/gtkcellview.c
16922 gnome/applet/gtkcellrendererprogress.h
16923 gnome/applet/gtkcellrendererprogress.c
16926 * gnome/applet/menu-items.c
16927 - Progress bars are 5:1 size ratio
16928 - Use GTK progress bars rather than internal ones
16930 2005-06-15 Dan Williams <dcbw@redhat.com>
16932 Patch from Robert Love:
16933 * initscript/SUSE/networkmanager
16936 2005-06-15 Dan Williams <dcbw@redhat.com>
16938 * src/backends/NetworkManagerSuSE.c
16939 src/backends/NetworkManagerRedHat.c
16940 src/backends/NetworkManagerDebian.c
16941 - (set_ip4_config_from_resolv_conf): Fix typo I made, '==' -> '='
16943 2005-06-15 Dan Williams <dcbw@redhat.com>
16945 * src/backends/NetworkManagerDebian.c
16946 - Add nm_system_device_get_use_dhcp() to debian backend
16948 Patch from Kay Sievers:
16949 * src/backends/NetworkManagerSuSE.c
16950 - Update debian backend for static IP nameservers
16952 * src/NetworkManagerDevice.c
16953 - Actually set the device to use static IP or DHCP rather
16956 2005-06-15 Dan Williams <dcbw@redhat.com>
16958 Patch from Thom May:
16959 * src/backends/NetworkManagerDebian.c
16960 - Update debian backend for static IP nameservers
16962 2005-06-15 Dan Williams <dcbw@redhat.com>
16964 Patches from Robert Love:
16965 * gnome/applet/wireless-applet.glade
16966 - Tighten up wording
16968 * src/NetworkManagerDevice.c
16969 - Remove misplaced ';'
16972 initscript/Makefile.am
16973 initscript/SUSE/Makefile.am
16974 initscript/SUSE/networkmanager
16975 - Add SUSE initscript
16977 2005-06-12 David Zeuthen <davidz@redhat.com>
16979 * gnome/vpn-properties/nm-vpn-ui-interface.h: New file
16981 * gnome/vpn-properties/nm-vpn-properties.glade: New file
16983 * gnome/vpn-properties/nm-vpn-properties.c: New file
16985 * gnome/vpn-properties/Makefile.am: New file
16987 * src/vpn-manager/nm-vpn-manager.h: Rework prototypes to take an
16990 * src/vpn-manager/nm-vpn-manager.c
16991 (nm_vpn_manager_activate_vpn_connection): Take an array of passwords
16992 instead of just a single one
16994 * src/vpn-manager/nm-dbus-vpn.c:
16995 (nm_dbus_vpn_get_vpn_connection_properties): Also append service_name
16997 (nm_dbus_vpn_activate_connection): Rework to take an array of passwords
16999 * gnome/applet/vpn-password-dialog.h (nmwa_vpn_request_password):
17000 Change the interface here to give a list of passwords. Also, don't
17001 require username, but do require service
17003 * gnome/applet/vpn-password-dialog.c: Look up the VPN .name files for
17004 the binary for the auth-dialog and use that instead of putting up a
17005 dialog asking for a single password
17007 * gnome/applet/vpn-connection.[ch]: Don't remember the user_name,
17008 however do remember the service
17010 * gnome/applet/main.c (main): Setup i18n
17012 * gnome/applet/applet.c (nmwa_update_state): Add a line "VPN
17013 connection to '%s'" to the tooltip if we are connected using VPN
17014 (nmwa_menu_vpn_item_activate): Check last_attempt_success gconf
17015 key to determine whether we the auth-dialog needs to
17016 reprompt. Also cope with the fact that the auth-dialog now returns
17017 an array of passwords.
17018 (nmwa_menu_configure_vpn_item_activate): New handler for
17019 "Configure VPN..." menu item
17020 (nmwa_menu_add_vpn_menu): Add the "Configure VPN..." menu item
17021 (is_vpn_available): New function to determine if we got any
17022 NM-compatible VPN software installed
17023 (nmwa_menu_add_devices): Use is_vpn_available to add VPN menu
17024 items only if we have NM-compatible VPN software installed
17025 (nmwa_gconf_vpn_connections_notify_callback): Slightly rework the
17026 logic for detecting when VPN connections are removed
17028 * gnome/applet/applet-dbus.h: Removed the prototypes for
17029 nmwa_dbus_vpn_activate_connection, nmwa_dbus_vpn_deactivate_connection
17030 since these are defined elsewhere
17032 * gnome/applet/applet-dbus.c (set_vpn_last_attempt_status): New
17033 function used to keep track of whether the last attempt succeded
17034 (nmwa_dbus_filter): Update last_attempt according to whether the
17035 VPN connection could be established or not
17037 * gnome/applet/applet-dbus-vpn.h (nmwa_dbus_vpn_deactivate_connection):
17038 Change prototype to take an array of passwords, not just a single
17041 * gnome/applet/applet-dbus-vpn.c (nmwa_dbus_vpn_properties_cb): Only
17042 update service, not user
17043 (nmwa_dbus_vpn_remove_one_vpn_connection): Check that applet->
17044 dbus_active_vpn_name is not NULL before using it
17045 (nmwa_dbus_vpn_activate_connection): Send the passwords as a
17046 string array instead of assuming a single password
17048 * gnome/applet/applet-dbus-info.c:
17049 (nmi_dbus_get_vpn_connection_properties): Use the logged in user for
17050 user name; don't read from gconf
17052 * gnome/applet/Makefile.am: Also export SYSCONFDIR and
17055 * gnome/Makefile.am (SUBDIRS): Add vpn-properties
17057 * configure.in: Add checks for gmodule-2.0.
17058 Generate gnome/vpn-properties/Makefile. Don't generate any Makefile's
17059 in vpn-daemons nor vpn-daemons/vpnc. We have separate autotooled
17060 projects under vpn-daemons now. See vpn-daemons/vpnc/Changelog
17063 * vpn-daemons/Makefile.am: Removed
17065 * vpn-daemons/README: New file to describe extensions points for VPN
17068 2005-06-10 Dan Williams <dcbw@redhat.com>
17070 * src/backends/NetworkManagerRedHat.c
17071 - (get_current_profile_name): new function, grab current network profile name from
17072 /etc/sysconfig/network
17073 - (set_ip4_config_from_resolv_conf): new function, parse a resolv.conf and
17074 update an IP4 Config structure's settings from it
17075 - (nm_system_device_get_system_config): if we're using static IP on this device,
17076 get DNS info from current network profile
17078 2005-06-09 Dan Williams <dcbw@redhat.com>
17080 Patch from Robert Love:
17081 * src/NetworkManagerDevice.c
17082 src/NetworkManagerUtils.c
17083 - 64-bit build fixes
17085 2005-06-09 Dan Williams <dcbw@redhat.com>
17087 Patch from Kay Sievers and Robert Love:
17089 src/backends/Makefile.am
17090 src/backends/NetworkManagerSuSE.c
17093 2005-06-09 Dan Williams <dcbw@redhat.com>
17096 - Add NMWirelessScanMethod enum for scan methods
17098 * gnome/applet/applet-dbus-devices.c
17099 - (nmwa_dbus_update_scanning_enabled_cb): remove
17100 - (nmwa_dbus_update_scanning_enabled): remove
17101 - (nmwa_dbus_update_devices): don't call nmwa_dbus_update_scanning_enabled() anymore
17102 since it got removed
17103 - (nmwa_dbus_enable_scanning): remove
17105 * gnome/applet/applet-dbus-info.c
17106 - (nmi_dbus_signal_update_scan_method): new function, signal NetworkManager to
17107 update the wireless scanning method from NMI
17108 - (nmi_dbus_get_wireless_scan_method): new function, return wireless scanning
17109 method value to NetworkManager
17110 - (nmi_dbus_info_message_handler): respond to the "getWirelessScanMethod" method call
17112 * gnome/applet/applet-dbus-info.h
17113 - Add prototype for nmi_dbus_signal_update_scan_method
17115 * gnome/applet/applet.c
17116 - (scanning_menu_update): new function, update one GtkCheckMenuItem from the
17117 Wireless Scanning menu based on current wireless scan method
17118 - (nmwa_menu_scanning_item_activate): new function, callback for GTK "activate"
17119 signal for Wireless Scanning menu items, tell NetworkManager the new method
17120 and update our menu items to make sure the right one is checked
17121 - (nmwa_set_scanning_enabled_cb): remove
17122 - (nmwa_context_menu_update): remove references to pause_scanning_item
17123 - (nmwa_context_menu_create): remove pause_scanning_item, and add new Wireless
17125 - (nmwa_gconf_get_wireless_scan_method): new method, pull wireless scanning method
17127 - nmwa_gconf_networks_notify_callback -> nmwa_gconf_info_notify_callback: generalize
17128 so we get notified of preference values too
17129 - (nmwa_get_instance): monitor GCONF_PATH_WIRELESS rather than GCONF_PATH_WIRELESS_NETWORKS
17131 * gnome/applet/applet.h
17132 - GCONF_PATH_WIRELESS added, one level below GCONF_PATH_WIRELESS_NETWORKS
17133 - Add wireless scan method member to applet data
17134 - Remove pause_scanning_item, add Wireless Scanning submenu
17136 * src/NetworkManager.c
17137 - (nm_data_new): default to NM_SCAN_METHOD_ON
17138 - (main): grab scanning method from NMI if we can
17140 * src/NetworkManagerDbus.c
17141 - (nm_dbus_update_wireless_scan_method_cb): new function, callback from
17142 nm_dbus_update_wireless_scan_method()
17143 - (nm_dbus_update_wireless_scan_method): new function to grab scanning method
17145 - (nm_dbus_nmi_is_running): redundant function, removed
17146 - (nm_dbus_signal_filter): trap "WirelessScanMethodUpdate" signal, grab scanning method
17147 when NMI comes back
17149 * src/NetworkManagerDevice.c
17150 - (nm_device_is_activated): return TRUE if the device is activated
17151 - (nm_device_wireless_scan): don't scan if the scan method is OFF, or if its AUTO
17152 and we are activated
17155 - (nm_dbus_nm_set_scanning_enabled): removed
17156 - nm_dbus_nm_get_scanning_enabled -> nm_dbus_nm_get_wireless_scan_method
17157 - (nm_dbus_nm_methods_setup): remove [get | set] ScanningEnabled and add "getWirelessScanMethod"
17159 2005-06-09 Dan Williams <dcbw@redhat.com>
17162 src/vpn-manager/nm-vpn-service.c
17163 - NM_VPN_STATE_ERROR -> NM_VPN_STATE_UNKNOWN (more consistent with other enums)
17165 2005-05-27 Dan Williams <dcbw@redhat.com>
17167 * vpn-daemons/vpnc/nm-vpnc-service.c
17168 - (vpnc_watch_cb): wait a bit before trying to read vpnc's pidfile.
17169 Should fix the bug where the VPN connection terminates the first time.
17171 2005-05-20 Dan Williams <dcbw@redhat.com>
17174 - Differentiate VPN config signals between bad VPN config options
17177 * gnome/applet/applet-dbus-info.h
17178 - Add prototypes for wireless network and vpn connection update functions
17180 * gnome/applet/applet-dbus.c
17181 - (nmwa_dbus_filter): trap new VPN config error signals from NetworkManager
17183 * gnome/applet/applet.c
17184 - (nmwa_schedule_vpn_failure_dialog): new dialog text for new VPN config
17186 - (nmwa_gconf_networks_notify_cb): re-enable wireless network change notify
17187 propogation to NetworkManager
17188 - (nmwa_gconf_vpn_connections_notify_cb): re-enable vpn connection change
17189 notify propogation to NetworkManager
17191 * src/NetworkManagerDbus.c
17192 - (nm_dbus_update_one_allowed_network): make sure to specify which AP list we
17193 are updating so a network can be removed from it if necessary
17195 * src/vpn-manager/nm-vpn-manager.c
17196 - (nm_vpn_manager_process_signal): trap new vpn config error signals
17198 * vpn-daemons/vpnc/nm-vpnc-service.c
17199 - (nm_vpnc_dbus_signal_failure): generalize function for all VPN error signals
17200 - (nm_vpnc_dbus_signal_launch_failed): remove
17201 - (nm_vpnc_dbus_signal_connect_failed): remove
17202 - (nm_vpnc_helper_timer_cb): update for new generalized error signal function
17203 - (nm_vpnc_schedule_helper_timer): increase timeout to 10s
17204 - (vpnc_watch_cb): don't whine about exit code if vpnc exited cleanly, update
17205 for new generalized error signal function, remove config file stuff
17206 - (nm_vpnc_start_vpnc_binary): grab a stdin pipe to vpnc after spawning it so
17207 we can write configuration options to it
17208 - (nm_vpnc_config_file_generate): removed
17209 - (nm_vpnc_config_write): write configuration options to the vpnc stdin pipe
17210 - (nm_vpnc_config_options_validate): validate the config options we receive
17211 from NetworkManager to block potential exploits
17212 - (nm_vpnc_dbus_handle_start_vpn): call option validation function before
17214 - (nm_vpnc_dbus_process_helper_config_error): actually propogate config error
17217 2005-05-16 Dan Williams <dcbw@redhat.com>
17219 * vpn-daemons/vpnc/nm-vpnc-service-vpnc-helper.c
17220 - (main): Work correctly with vpnc 0.3.3 by exiting if the "reason" code
17223 2005-05-16 Dan Williams <dcbw@redhat.com>
17225 Patch from Tomislav Vujec <tvujec@redhat.com>
17226 * gnome/applet/applet-dbus-info.c
17227 - (nmi_dbus_get_vpn_connection_routes): new function, pull routes out of
17228 GConf and pass them to NetworkManager. New key is 'routes' under
17229 the VPN connection, and should be a string list
17231 * src/NetworkManagerSystem.c
17232 - (nm_system_vpn_device_set_from_ip4_config): if user-defined routes exist,
17233 set them on the device when we set the rest of the VPN config. Ensure
17234 they are in the correct format since they are passed directly to the
17237 * src/backends/NetworkManagerRedHat.c
17238 src/backends/NetworkManagerDebian.c
17239 - (nm_system_device_add_route_via_device_with_iface): new function
17241 * src/vpn-manager/nm-dbus-vpn.c
17242 - (nm_dbus_vpn_get_routes): grab VPN routes from NetworkManagerInfo
17244 * src/vpn-manager/nm-vpn-manager.c
17245 - (nm_vpn_manager_handle_ip4_config_signal): grab routes from NMI and pass
17246 them into the IP4 config functions
17248 2005-05-15 Dan Williams <dcbw@redhat.com>
17250 From Filip Miletic:
17254 - Serbian translation added
17256 2005-05-15 Dan Williams <dcbw@redhat.com>
17258 * dispatcher-daemon/NetworkManagerDispatcher.c
17259 - (main): sync arguments with NetworkManager and the applet, now use
17260 "--no-daemon" rather than "daemon=no"
17261 - (nmd_print_usage): Fix script path in usage message
17263 2005-05-15 Dan Williams <dcbw@redhat.com>
17265 * src/NetworkManagerDevice.[ch]
17266 src/NetworkManagerPolicy.c
17267 src/NetworkManager.c
17269 - Remove the "just_added" parameter from nm_device_deactivate(). We no
17270 longer send the DeviceNoLongerActive signal unconditionally, but only
17271 when the device is actually active.
17273 * dispatcher-daemon/NetworkManagerDispatcher.c
17274 - (nmd_execute_scripts): convert to GLib directory functions from opendir(),
17275 and simplify the logic
17276 - (nmd_get_device_name): copy value from dbus reply so we don't segfault when
17277 we free it later on
17279 * initscript/RedHat/Makefile.am
17280 initscript/RedHat/NetworkManagerDispatcher
17281 - Add initscript for NetworkManagerDispatcher
17284 Patch from Bill Moss:
17285 * dispatcher-daemon/NetworkManagerDispatcher.c
17286 - Remove IP4AddressChange signal code including nmd_get_device_ip4_address()
17288 * src/NetworkManagerDbus.c
17289 - (nm_dbus_signal_device_ip4_address_change): remove. If the device goes up,
17290 and DeviceNowActive gets signaled, then the device has a new IP address
17291 anyway. There's no need for a separate signal.
17293 * src/NetworkManagerDevice.c
17294 - (nm_device_update_ip4_address): Don't send IP4AddressChange signal
17296 * src/NetworkManagerPolicy.c
17297 - (nm_policy_activation_finish): Send DeviceNowActive signal when the device
17298 activates successfully. This kind of went missing when I reworked the
17301 2005-05-15 Dan Williams <dcbw@redhat.com>
17304 - Check for dhcdbd and error if its not found
17306 * src/dhcp-manager/Makefile.am
17307 src/dhcp-manager/nm-dhcp-manager.c
17308 - Use path to dhcdbd that configure found
17310 2005-05-14 Dan Williams <dcbw@redhat.com>
17312 * gnome/applet/nm-device.c
17313 - (network_device_sort_wireless_networks, sort_networks_function): New functions to
17314 sort wireless networks alphabetically
17316 * gnome/applet/applet-dbus-devices.c
17317 - (mwa_dbus_devices_lock_and_copy): Sort network device's wireless network lists
17318 before copying them over to the GUI
17320 2005-05-14 Dan Williams <dcbw@redhat.com>
17322 * src/NetworkManager.c
17323 - (device_stop_and_free): Deactivate VPN connections before deactivating devices,
17324 fixes a deadlock on shutdown with a VPN connection active. This function locks
17325 the device list, as does nm_get_active_device() which is called from
17326 nm_vpn_manager_deactivate_vpn_connection().
17328 2005-05-14 Dan Williams <dcbw@redhat.com>
17331 - Add signals for VPN Launch and Connect failures
17333 * gnome/applet/applet-dbus.c
17334 - (nmwa_dbus_filter): Trap new VPN launch & connect failure signals
17336 * gnome/applet/applet.c
17337 - (nmwa_show_vpn_failure_dialog): generalize old nmwa_show_vpn_login_failure_dialog()
17338 function to handle all VPN failure messages
17339 - (nmwa_schedule_vpn_failure_dialog): generalize old nmwa_schedule_vpn_login_failure_dialog()
17340 function to hanlde all VPN failure messages
17341 - (show_warning_dialog): work around focus-stealing prevention
17343 * gnome/applet/other-network-dialog.c
17344 gnome/applet/passphrase-dialog.c
17345 - (update_button_cb): Make sure the OK button is enabled when it should be, fixes
17346 problem where it never enabled for ASCII Key and Hex Key types
17348 * gnome/applet/wireless-applet.glade
17349 - Add window title to Other Wireless Network Dialog
17351 * src/vpn-manager/nm-dbus-vpn.c
17352 - (nm_dbus_vpn_signal_vpn_failed): generalize old nm_dbus_vpn_signal_vpn_login_failed()
17353 function to handle all VPN failure messages
17355 * src/vpn-manager/nm-vpn-manager.c
17356 - (nm_vpn_manager_process_signal): trap and proxy VPN launch & connect failure signals too
17358 * vpn-daemons/vpnc/nm-vpnc-service.c
17359 - (nm_vpnc_dbus_signal_launch_failed): new function
17360 - (nm_vpnc_dbus_signal_connect_failed): new function
17361 - (nm_vpnc_helper_timer_cb): signal connect failure on timeout
17362 - (vpnc_watch_cb): signal connection failure when vpnc exits with connection failure
17363 - (nm_vpnc_start_vpnc_binary): search a number of locations for vpnc
17364 - (nm_vpnc_dbus_handle_start): send launch failure signal when we fail to launch vpnc
17366 2005-05-11 Dan Williams <dcbw@redhat.com>
17368 * vpn-daemons/vpnc/nm-vpnc-service.c
17369 - (nm_vpnc_start_vpnc_binary): NULL-ify GError before using it
17370 - (nm_vpnc_config_file_generate): Attempt to ensure that the path for the config
17371 file exists before trying to write it out.
17373 2005-05-10 Dan Williams <dcbw@redhat.com>
17375 * gnome/applet/applet-dbus-device.c
17376 - (nmwa_dbus_set_device): remove check for valid key and key type, which
17377 prevented just entering ESSID and leaving key and key type up to
17378 NetworkManager (which should have them already cached)
17380 2005-05-08 Dan Williams <dcbw@redhat.com>
17382 * src/NetworkManagerPolicy.c
17383 - (nm_policy_activation_finish): Don't set NM_ACT_STAGE_ACTIVATED here, instead...
17384 - (nm_policy_schedule_activation_finish): Set NM_ACT_STAGE_ACTIVATED here to
17385 fix a situation where NM is told to terminate and the device stops activation,
17386 but the main thread isn't aware of that because it would never have run
17387 nm_policy_activation_finish() to set the ACTIVATED flag, because the main loop
17390 * src/NetworkManagerDevice.c
17391 - (nm_device_probe_wired_link_state): cosmetic fixes
17392 - (nm_device_activate_stage5_ip_config_commit): Don't check link state if
17393 we've failed to activate or been canceled.
17394 - (nm_ac_test): nm_debug -> nm_info for "waiting for device to cancel" message
17396 2005-05-08 Dan Williams <dcbw@redhat.com>
17398 * src/NetworkManagerWireless.c
17399 - (nm_wireless_qual_to_percent): Fix #if -> #ifdef, print out the "updated"
17400 value of WEXT quality structures, and add a debug message when we cannot
17401 determine any quality % at all
17403 2005-05-08 Dan Williams <dcbw@redhat.com>
17405 * src/dhcp-manager/nm-dhcp-manager.c
17406 - (nm_dhcp_manager_begin_transaction): Tell dhclient to release leases when
17409 2005-05-06 Dan Williams <dcbw@redhat.com>
17411 * gnome/applet/applet-dbus-device.c
17412 gnome/applet/applet-dbus-info.c
17413 gnome/applet/applet-dbus.c
17414 gnome/applet/applet.c
17415 gnome/applet/applet.h
17416 - (nmwa_get_device_for_nm_device) -> (nmwa_get_device_for_nm_path)
17418 * gnome/applet/applet-dbus.c
17419 - (nmwa_dbus_filter): trap DeviceCarrierOn/DeviceCarrierOff signals
17420 so we notice when wired device's carriers come back on. Should
17421 fix issue with wired devices being grayed out even if the cable
17422 is in, for devices that support carrier detection.
17424 * gnome/applet/applet.c
17425 - (nmwa_driver_notify): bash focus-stealing prevention in the face
17426 - (nmwa_act_stage_to_pixbuf): Clarify wireless ACT_STAGE_DEVICE_CONFIG
17428 - (nmwa_menu_item_activate, nmwa_menu_add_device_item, nmwa_menu_item_data_free):
17429 Fix situation where applet wouldn't respond to menu selections
17431 * src/NetworkManager.c
17432 src/NetworkManagerDevice.c
17433 src/NetworkManagerDbus.c
17434 src/NetworkManagerDbus.h
17435 - (nm_dbus_signal_device_status_change) -> (nm_dbus_schedule_device_status_change_signal)
17437 * src/NetworkManagerDbus.c
17438 - (nm_dbus_send_network_not_found, nm_dbus_schedule_network_not_found_signal):
17439 Remove, no longer used or relevant
17440 - (nm_dbus_signal_device_status_change): Better signal enum->string matching
17441 - (nm_dbus_schedule_device_status_change_signal): add
17443 * src/NetworkManagerDevice.c
17444 - (nm_device_worker_thread_stop): don't try to join a NULL worker thread
17445 - (nm_device_set_link_active): Fix up switching for non-carrier-detect devices,
17446 ie don't deactivate them unless explicitly told to by the user. Also send
17447 CARRIER_OFF / CARRIER_ON signals when link changes
17448 - (nm_device_set_essid, nm_device_set_enc_key, nm_device_is_up, nm_device_set_mode):
17449 Don't print error message when device is no longer around
17450 - (nm_device_deactivate): kill any current DHCP process attached to this device,
17451 not just during activation
17453 * src/NetworkManagerPolicy.c
17454 - (nm_policy_auto_get_best_device): Ignore semi-supported devices completely from
17455 auto-device-selection.
17456 - (nm_policy_device_change_check): Don't interrupt semi-supported devices
17458 * src/NetworkManagerSystem.c
17459 - (nm_system_device_set_up_down_with_iface): Quiet first warning message when device
17460 is no longer present (Bill Moss)
17462 * src/backends/shvar.c
17463 - (svOpenFile): Open read-only to make SELinux happy
17465 * src/backends/NetworkManagerRedHat.c
17466 - (nm_system_device_get_system_config): Use SYSCONFDIR rather than hardcoding
17467 the path to the ifcfg-* files
17469 2005-05-05 Dan Williams <dcbw@redhat.com>
17471 * Expose activation stages to NetworkManager clients, like the applet
17472 * Add Diana's progress icons to the applet, cued off NM activation stage
17473 * Use more descriptive tooltips, cued off NM activation stage
17475 2005-05-05 Ray Strode <rstrode@redhat.com>
17477 * src/nm-netlink-monitor.c:
17478 - Use clear_event_source instead of g_nullify_pointer() again.
17480 2005-05-05 Dan Williams <dcbw@redhat.com>
17482 * gnome/applet/main.c
17483 - Fix session management so the applet is actually managed now
17485 * gnome/applet/passphrase-dialog.c
17486 - (nmi_passphrase_dialog_show): bash focus-stealing prevention in the face
17488 2005-05-05 Dan Williams <dcbw@redhat.com>
17490 Patch from Bill Moss:
17491 * gnome/libnm_glib/libnm_glib.c
17492 - Fix for dbus-0.33
17494 2005-05-05 Dan Williams <dcbw@redhat.com>
17496 Suggestion from Bill Moss:
17497 * src/NetworkManagerSystem.c
17498 - (nm_system_device_set_up_down_with_iface): ignore ENODEV
17501 * src/NetworkManager.c
17502 - (nm_data_free): move destruction of the various managers after
17503 release of device list, because deactivating and freeing a device
17504 requires at least the named manager
17505 - (nm_poll_and_update_wireless_link_state):
17506 (nm_device_link_activated):
17507 (nm_device_link_deactivated):
17508 don't grab the device list lock when actually updating device
17509 link status or strength, since nm_device_set_link_active()
17510 needs to call nm_get_active_device(), which also locks the device list.
17512 * src/NetworkManagerDevice.c
17513 - (nm_device_set_link_active): if a device's link switches from off->on,
17514 and it's wired, and the active device is wireless (or there is no
17515 active device), activate the new device whose link just came on
17516 - (link_to_specific_ap): try to smooth over intermittency in wireless links
17517 my only calling the link to the current ap "failed" when more than 2
17518 consecutive link checks have failed
17520 2005-05-04 Dan Williams <dcbw@redhat.com>
17522 * src/NetworkManagerDevice.c
17523 - (nm_device_probe_wireless_link_state): don't lock the scan mutex here
17524 but let link_to_specific_ap() do the locking where it needs
17526 Patch from Bill Moss:
17527 * src/NetworkManagerSystem.c
17528 - Set MTU of VPN devices to 1412
17530 2005-05-04 Dan Williams <dcbw@redhat.com>
17532 * Remove NM_STATE_SCANNING from NetworkManager.h and applet code
17534 * Fix some holes in device activation and retaining the currently connected
17537 2005-05-03 Dan Williams <dcbw@redhat.com>
17539 * Kill dhcpcd. We now use "dhcdbd", a dbus daemon that controls dhclient.
17540 This means that NetworkManager shouldn't have DHCP issues anymore. It also
17541 means you need dhcdbd, which you can get here (get the latest one):
17543 http://people.redhat.com/jvdias/dhcdbd/
17545 Technically NetworkManager can use any DHCP daemon that uses the same DBUS
17546 interface as dhcdbd.
17548 * Rewrite device activation to facilitate the new DHCP infrastructure and
17549 future improvements. Its now "activation request" based, ie there is a single
17550 activation request composed of the device, access point, and other info which
17551 follows the entire activation process. There are 5 stages of the activation
17552 process which correspond to:
17554 1) Device preparation
17555 2) Device configuration (bring it up, set ESSID/Key/etc)
17556 3) IP Config Start (fire off DHCP if we're using it)
17557 4) IP Config Get (grab config from DHCP or static config files)
17558 5) IP Config Commit (set device's IP address, DNS, etc)
17560 Note that there is no longer a "scanning" step, since the access point must
17561 be known _before_ activation starts. If the access point drops out or does
17562 not exist for some reason, the entire activation process fails and must be
17563 restarted for a different access point or device.
17565 Patch from Bill Moss:
17566 * gnome/applet/applet.c
17567 - Fix type of vpn_failure dialog -> vpn_banner dialog
17569 2005-04-27 Dan Williams <dcbw@redhat.com>
17571 * gnome/applet/applet-dbus-vpn.c
17572 gnome/applet/applet.c
17573 gnome/applet/applet.h
17574 - Fix up active VPN handling so that we reliably know when a VPN
17575 connection has been deactivated
17577 * src/vpn-manager/nm-vpn-manager.c
17578 - Remove duplicate VPNConnectionChange signal
17580 2005-04-27 Dan Williams <dcbw@redhat.com>
17582 Patch from Peter Jones:
17583 * Remove usage of varargs to fix crashes on PPC (RH #154336)
17585 Patch from Bill Moss:
17586 * src/NetworkManagerSystem.c
17587 - Fix checking of return value from ioctl()
17589 2005-04-27 Dan Williams <dcbw@redhat.com>
17591 * Fix choosing of wireless networks and "Other wireless network..." from the applet
17592 * Warn and exit if icons cannot be found
17594 2005-04-27 Dan Williams <dcbw@redhat.com>
17596 Patch from Tom Parker:
17597 * Update debian backend
17599 2005-04-27 Dan Williams <dcbw@redhat.com>
17601 * Merge the applet and the info-daemon, and move the converged
17602 applet under gnome/applet
17603 * Move libnm_glib to gnome/libnm_glib
17604 * Convert most dbus calls between the applet, info-daemon, and NM
17606 * Fix a few things valgrind noticed
17607 * Make NM broadcast state more reliably
17609 2005-04-22 Pawan chitrakar <pawan@nplinux.org>
17611 * configure.in: Added ne in ALL_LINGUAS
17613 2005-04-15 Dan Williams <dcbw@redhat.com>
17615 * libnm_glib/libnm_glib: Fix up for dbus-0.32, and remove
17616 code for dbus 0.2x versions
17618 2005-04-15 Dan Williams <dcbw@redhat.com>
17620 Patches from Tom Parker:
17622 - Join with worker thread rather than polling for its exit
17624 Patch from Bill Moss:
17625 - Cull duplicate ESSIDs from the scan list, taking highest strength AP
17627 2005-04-15 Dan Williams <dcbw@redhat.com>
17629 - Fixes to pass 'make distcheck'
17631 2005-04-15 Dan Williams <dcbw@redhat.com>
17633 Initial VPN Support
17635 - reworks device IP configuration, backend files have changed and will need
17636 to be updated for all distributions. I will try to do what I can for
17637 them, but I cannot test them.
17639 - Move named directory to src/named-manager
17640 - Make backends directory self-contained
17642 2005-04-06 Dan Williams <dcbw@redhat.com>
17644 Add debug code for socket/file descriptor leaks. We register every socket
17645 that we open (except for stuff in dhcpcd/) for tracking, and print out the
17646 list of sockets that we forgot to close on shutdown. This also consolidates
17647 about 4 places where we opened sockets into 1 function in NetworkManagerUtils.c
17649 2005-04-06 Dan Williams <dcbw@redhat.com>
17652 - (dhcp_interface_free): fix a file descriptor leak that may have
17653 caused network drivers to not unload due to refcounts > 0
17655 2005-04-04 Dan Williams <dcbw@redhat.com>
17657 * panel-applet/NMWirelessAppletDbus.c
17658 - (nmwa_dbus_call_nm_method): remove some commented code
17660 * src/NetworkManagerAPList.[ch]
17661 - (nm_ap_list_remove_ap_by_essid): new function
17663 * src/NetworkManagerDevice.c
17664 - (nm_device_wireless_force_use): remove access points from the ignore list
17665 when the user forces them
17667 * src/nm-dbus-device.c
17668 - (nm_dbus_device_get_active_network): fix up escaping of object paths
17670 2005-04-04 Dan Williams <dcbw@redhat.com>
17672 Patch from Tom Parker: include "nm-utils.h" for backend files that need it
17674 2005-04-04 Dan Williams <dcbw@redhat.com>
17676 * src/NetworkManagerDevice.c:
17677 - (nm_completion_scan_has_results): restore pre-completion-patch behavior
17678 of only erroring after the second consecutive scan times out. Also
17679 don't exit when the card requires more time than we can give it, just
17680 log the event and continue.
17682 2005-04-01 Steve Murphy <murf@e-tools.com>
17684 * configure.in: Added "rw" to ALL_LINGUAS.
17686 2005-04-01 Dan Williams <dcbw@redhat.com>
17688 Perform scans during device activation, if needed. Both activation
17689 and scans run in the same GMainContext. Therefore, if an access point
17690 is not found by the time the device starts activation, it will not
17691 be available until after activation. We now try to scan during
17692 activation (in nm_wa_test) every 15s so that all available access
17693 points are more likely to be found and available for the activation
17696 Also change nm_wireless_link_state_handle() to only update the "best"
17697 AP if we are not forcing a device and if we are not about to change
17698 state. This attempts to work around a race when forcing a device,
17699 where the forced AP would get cleared out too soon by the link state
17700 checking timeout in the main thread, and the activation attempt with
17701 that AP would fail.
17703 2005-04-01 Dan Williams <dcbw@redhat.com>
17706 - Update with new translatables
17708 2005-03-31 Dan Williams <dcbw@redhat.com>
17710 * panel-applet/NMWirelessAppletDbus.c
17711 - Fix device names now that hal has changed device parenting for
17714 2005-03-31 Dan Williams <dcbw@redhat.com>
17716 Tighten up handling of wireless devices that don't support wireless
17717 scanning (ie, Orinoco). Due to restructuring of code, these devices
17718 hadn't been doing pseudo-scanning for a while either and would just
17719 spin waiting for an access point. They are now manual devices where
17720 the user must choose the access point from the menu every time. All
17721 "allowed" access points are listed in the applet's menu regardless
17722 of whether or not they can be seen by the card, since it can't scan
17725 * src/NetworkManager.c
17726 - (nm_wireless_link_state_handle): new function, but only update
17727 the "best" ap for non-scanning devices when its not activating,
17728 and when no device is being forced on the card
17729 - (nm_link_state_monitor): split wireless link state handling out
17730 into separate function
17732 * src/NetworkManagerDevice.c
17733 - (nm_device_copy_allowed_to_dev_list): new function
17734 - (nm_device_new): populate non-scanning cards' AP lists with
17735 access points from the "allowed" list
17736 - (nm_device_new): don't start a scanning timeout for devices that
17738 - (nm_device_activation_schedule_finish): new parameter, should be
17739 the AP that failed to be connected to, pass it on to the
17740 activation finish function in NetworkManagerPolicy.c
17741 - (nm_device_activate_wireless): don't ever try to get a new AP
17742 for non-scanning devices, just fail. The user must choose
17743 a new access point manually.
17744 - (nm_device_activate): grab the AP that failed connection and
17746 - (nm_device_update_best_ap): Clear the best AP if we don't have
17747 a link to it, user must manually choose a new one
17748 - (nm_device_do_pseudo_scan): remove function
17749 - (nm_device_wireless_process_scan_results): remove bits for non-
17750 scanning cards since they never get here
17751 - (nm_device_wireless_scan): remove bits for non-scanning devices,
17752 and fake the scan list for test devices a bit earlier
17754 * src/NetworkManagerPolicy.c
17755 - (nm_policy_activation_finish): use the failed_ap that we get
17756 passed rather than getting the best_ap from the card, which
17757 may have changed since we were scheduled
17758 - (nm_policy_allowed_ap_list_update): for non-scanning devices,
17759 update their scan list directly from the allowed list when
17760 we get updates to the allowed list from NetworkManagerInfo
17762 * src/NetworkManagerPolicy.h
17763 - New member for failed access point in NMActivationResult
17765 -------------------------------------
17767 Driver Notification patch: notifies the user when their driver
17768 sucks. Gives them the option to ignore further insertions
17769 of the card that has the sucky driver.
17772 - Remove the SEMI_SUPPORTED member from the NMDriverSupportLevel
17773 enum and replace it with NO_CARRIER_DETECT and
17776 * panel-applet/NMWirelessApplet.[ch]
17777 - Merge essid.glade -> wireless-applet.glade
17778 - Implement the "Your driver sucks" notification dialog
17780 * panel-applet/NMWirelessAppletDbus.c
17781 - Change stuff from getSupportsCarrierDetect->getDriverSupportLevel
17782 - Grab hardware address for each device from NM too
17783 - Check whether the driver for each device sucks or not whenever
17784 a new device is noticed
17786 * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17787 - Deal with stuff being in wireless-applet.glade now rather than essid.glade
17789 * src/NetworkManager.c
17790 - Fix a double-unref on device removal
17792 * src/NetworkManagerUtils.c
17793 - Set appropriate driver support level on a device that doesn't
17794 support scanning or carrier detection
17796 * src/nm-dbus-device.c
17797 - New "getHWAddress" dbus method on devices
17798 - getSupportsCarrierDetect -> getDriverSupportLevel
17800 2005-03-31 Dan Williams <dcbw@redhat.com>
17802 * src/NetworkManagerDevice.c
17803 - (nm_device_wireless_scan): Fix leak of scan results in some
17806 2005-03-29 Dan Williams <dcbw@redhat.com>
17808 * src/NetworkManager.c
17809 - (nm_poll_and_update_wireless_link_state): make code less indented
17811 Patch from Bill Moss:
17812 * src/NetworkManager.c
17813 - (nm_device_update_link_state): Update signal strength on wireless
17814 devices every time we update link state too.
17816 2005-03-29 Dan Williams <dcbw@redhat.com>
17818 * src/NetworkManagerDevice.c
17819 - (nm_device_set_essid): Work around Orinoco cards which need
17820 extra time after setting the ESSID
17822 2005-03-29 Dan Williams <dcbw@redhat.com>
17824 * src/NetworkManagerDevice.c
17825 - Merge one more bit of Peter Jones' completion patch
17827 2005-03-29 Dan Williams <dcbw@redhat.com>
17829 * src/NetworkManagerDevice.c
17830 - (nm_device_force_use): Fix possible segfault
17832 2005-03-29 Dan Williams <dcbw@redhat.com>
17834 * src/NetworkManagerDevice.c
17835 - Use iw_get_ext() where we should rather than iw_set_ext()
17837 2005-03-29 Dan Williams <dcbw@redhat.com>
17839 * src/NetworkManagerDevice.c
17840 - (nm_device_set_up_down): remove check for unsupported devices
17841 that caused NM to not bring devices up when they were
17842 added to the device list.
17844 2005-03-28 Dan Williams <dcbw@redhat.com>
17846 * src/NetworkManagerDevice.c
17847 - (mdio_read): Fix two bugs that caused all devices to fail
17848 the MII carrier detection support checks
17850 2005-03-26 Dan Williams <dcbw@redhat.com>
17852 * src/NetworkManagerDevice.c
17853 - (nm_device_wireless_scan): Remove duplicated scanning code
17855 2005-03-25 Dan Williams <dcbw@redhat.com>
17857 * panel-applet/NMWirelessApplet.c
17858 - (nmwa_about_cb): Add some more contributors
17859 - (nmwa_update_state): show the applet when there's no connection
17860 - Enable the "Stop/Resume all wireless devices" option in the
17862 - New "no connection" icon
17864 * src/NetworkManager.c
17865 - (nm_poll_and_update_wireless_link_state): don't do anything if
17866 wireless is disabled or we're asleep
17868 * src/NetworkManagerDHCP.c
17869 - Remove trailing "\n" on debug messages
17871 * src/NetworkManagerDbus.c
17872 - (nm_dbus_network_status_from_data): new state "asleep"
17874 * src/NetworkManagerDevice.c
17875 - Merge most of Peter Jones' "completion" patch that greatly reduces
17876 latency and wait times for most operations
17877 - (nm_device_wireless_scan): Don't scan when asleep
17879 * src/NetworkManagerPolicy.c
17880 - (nm_policy_get_best_device): return no device when asleep
17881 - (nm_policy_allowed_ap_list_update): From Bill Moss: merge properties
17882 for all wireless devices on update, not just active device
17884 * src/NetworkManagerUtils.c
17885 - Merge Peter Jones' "completion" patch
17888 - (nm_dbus_nm_set_wireless_enabled): bring down wireless devices when
17889 we're told to disable them
17890 - (nm_dbus_nm_sleep, nm_dbus_nm_wake): new functions for sleep/wake
17893 - New variants of the warn/info/error/debug print functions that can take
17894 variables rather than static strings
17896 2005-03-24 Dan Williams <dcbw@redhat.com>
17898 * src/NetworkManagerUtils.c
17899 - (nm_get_device_driver_name): driver names are now on the parents of
17900 "Network Interface" objects, so look for them there
17902 2005-03-24 Dan Williams <dcbw@redhat.com>
17905 - Escape some forgotten object paths before we shove them through dbus
17907 2005-03-24 Dan Williams <dcbw@redhat.com>
17909 * dhcpcd/dhcpcd.[ch]
17910 src/NetworkManagerDHCP.c
17911 - Switch names from "*_record_*" -> "*_element_*" to clarify things a bit
17912 (ie, dhcp_option_record_len -> dhcp_option_element_len)
17914 * src/NetworkManagerDbus.c
17917 * src/nm-dbus-dhcp.c
17918 - Make the API suck less. There is now only 1 type of each function,
17919 ie only "getInteger" and no longer also "getIntegerv". All types
17920 are returned encapsulated in a DBUS_TYPE_ARRAY, even for options
17921 that will never have more than 1 element. This should simplify
17924 * test/nm-dhcp-opt-test.c
17925 - Make the tool not segfault
17926 - adapt to new DHCP Options API
17928 2005-03-22 Dan Williams <dcbw@redhat.com>
17930 * src/NetworkManager.c
17931 - (nm_wired_link_deactivated): actually ignore netlink events from
17934 2005-03-22 Dan Williams <dcbw@redhat.com>
17936 * src/NetworkManager.c
17937 - (nm_wired_link_activated): actually ignore netlink events from
17940 2005-03-17 Dan Williams <dcbw@redhat.com>
17942 Patch from Tom Parker:
17943 * src/nm-netlink-monitor.c
17945 * info-daemon/NetworkManagerInfoDbus.c
17946 - (nmi_dbus_update_network_auth_method): free GConf values
17948 Patch from Nathaniel McCallum <npmccallum@gentoo.org>:
17949 * src/NetworkManagerDevice.c
17950 - (nm_device_set_wireless_config): wait for successful
17951 association longer for some cards (Atheros a/b/g)
17953 2005-03-15 Ray Strode <rstrode@redhat.com>
17955 * src/NetworkManager.c:
17956 (sigterm_pipe_handler):
17959 2005-03-15 Ray Strode <rstrode@redhat.com>
17961 * src/NetworkManagerDbus.c:
17962 Fix some sign weirdness that gcc4 doesn't like,
17963 and add a header file so PPC can hopefully find
17966 2005-03-14 Ray Strode <rstrode@redhat.com>
17968 Fourth (probably working) cut at porting to
17969 dbus 0.30 api and new hal. This cut adds
17970 some new logging macros to make debugging
17973 * dispatcher-daemon/NetworkManagerDispatcher.c:
17974 * info-daemon/NetworkmanagerInfo.c:
17975 * info-daemon/NetworkManagerInfoPassphraseDialog.c:
17976 * info-daemon/NetworkManagerInfoVPN.c:
17977 * src/NetworkManager.c:
17978 * src/NetworkManagerAP.c:
17979 * src/NetworkManagerAPList.c:
17980 * src/NetworkManagerDHCP.c:
17981 * src/NetworkManagerDbus.c:
17982 * src/NetworkManagerDevice.c:
17983 * src/NetworkManagerPolicy.c:
17984 * src/NetworkManagerSystem.c:
17985 * src/NetworkManagerUtils.c:
17986 * src/NetworkManagerWireless.c:
17988 * src/nm-dbus-nm.c:
17989 * src/backends/NetworkManagerDebian.c:
17990 * src/backends/NetworkManagerGentoo.c:
17991 * src/backends/NetworkManagerRedHat.c:
17992 * src/backends/NetworkManagerSlackware.c:
17993 use new logging macros.
17995 * dispatcher-daemon/NetworkManagerDispatcher.c:
17996 (nmd_dbus_filter): s/dbus_free/g_free/
17998 * info-daemon/Makefile.am: link in utils library.
17999 * info-daemon/NetworkmanagerInfo.c: use new logging
18001 (nmi_dbus_get_network): don't assume enumerations
18003 (nmi_dbus_nmi_message_handler): don't free what
18004 doesn't belong to us.
18006 * libnm_glib/libnm_glib.c:
18007 (libnm_glib_get_nm_status):
18008 (libnm_glib_init): don't free what doesn't
18010 (libnm_glib_dbus): strdup result, so it doesn't get
18011 lost when message is unref'd.
18013 * panel-applet/NMWirelessAppletDbus.c:
18014 (nmwa_dbus_update_devices): s/dbus_free/g_free/
18016 * src/NetworkManager.c:
18017 (nm_monitor_wired_link_state): request initial status
18018 dump of all cards when we start up, instead of relying
18019 on /sys/.../carrier.
18020 (nm_info_handler), (nm_set_up_log_handlers):
18021 log handlers to specify what syslog priorites
18022 the logging macros default to.
18024 * src/NetworkManagerAPList.c:
18025 (nm_ap_list_populate_from_nmi):
18026 s/dbus_free_string_array/g_strfreev/
18028 * src/NetworkManagerDbus.c:
18029 (nm_dbus_get_network_object):
18030 validate d-bus message argument types.
18031 Advance message iterator after reading argument,
18032 prepend instead of append to GSList.
18034 * src/NetworkManagerDevice.c:
18035 (nm_device_probe_wired_link_status):
18036 remove redundant /sys in /sys path. remove wrong
18037 contents == NULL means has carrier assumption.
18039 * src/nm-netlink-monitor.c
18040 (nm_netlink_monitor_request_status): implement
18041 function to ask kernel to dump interface link
18042 status over netlink socket.
18044 * test/*.c: s/dbus_free/g_free/
18046 * utils/nm-utils.h:
18047 (nm_print_backtrace): new macro to print backtrace.
18048 (nm_get_timestamp): new macro to get sub-second precise
18050 (nm_info), (nm_debug), (nm_warning), (nm_error):
18051 new logging functions. nm_info just prints,
18052 nm_debug includes timestamp and function,
18053 nm_warning includes function, nm_error includes
18054 backtrace and sigtrap.
18056 2005-03-11 Ray Strode <rstrode@redhat.com>
18058 Third (unfinished, partially working) cut at porting to
18059 dbus 0.30 api and new hal.
18061 * info-daemon/NetworkManagerInfoDbus.c:
18062 don't free null arrays.
18064 * panel-applet/NMWirelessAppletDbus.c:
18065 * src/nm-dbus-device.c:
18066 * src/nm-dbus-net.c:
18067 * src/NetworkManagerDbus.c: more
18068 STRING -> OBJECT_PATH fun
18069 * src/NetworkManagerDevice.c:
18070 * src/NetworkManagerDevice.h:
18071 (rename nm_device_get_link_active): rename to
18072 nm_device_has_active_link
18073 (nm_device_wireless_link_active): rename to
18074 nm_device_probe_wireless_link_state
18075 (nm_device_wired_link_active): rename to
18076 nm_device_probe_wired_link_state. Rewrite to
18077 use carrier file since hal doesn't maintain
18078 link state anymore.
18079 (nm_device_update_link_active): rename to
18080 nm_device_update_link_state
18081 * src/NetworkManagerPolicy.c
18082 (nm_policy_activation_finish): check for NULL
18086 * src/NetworkManagerMain.h:
18087 * src/NetworkManager.c:
18088 * src/nm-netlink-monitor.c:
18089 * src/nm-netlink-monitor.h: New class to support
18090 monitoring wired ethernet link status, since HAL
18091 doesn't export that information anymore.
18093 2005-03-09 Ray Strode <rstrode@redhat.com>
18095 Second (unfinished, unworking) cut at porting to
18098 * dispatcher-daemon/NetworkManagerDispatcher.c:
18099 * info-daemon/NetworkManagerInfoDbus.c:
18100 * panel-applet/NMWirelessAppletDbus.c:
18101 * src/NetworkManagerDbusUtils.c:
18102 * src/NetworkManagerDbusUtils.h:
18103 * src/nm-dbus-device.c:
18104 * src/nm-dbus-nm.c:
18105 * test/nmtest.c: support dbus "object path" type
18109 * info-daemon/Makefile.am:
18110 * libnm_glib/Makefile.am:
18111 * panel-applet/Makefile.am:
18112 * dispatcher-daemon/Makefile.am
18114 * test/Makefile.am:
18115 * utils/Makefile.am:
18116 * utils/nm-utils.c:
18117 * utils/nm-utils.h: new utils static lib
18119 2005-03-07 Ray Strode <rstrode@redhat.com>
18121 * info-daemon/NetworkManagerInfoDbus.c:
18122 * libnm_glib/libnm_glib.c:
18123 * panel-applet/NMWirelessAppletDbus.c:
18124 * src/NetworkManager.c:
18125 * src/NetworkManagerDbus.c:
18126 * src/NetworkManagerDevice.c:
18127 * src/NetworkManagerUtils.c:
18128 * src/nm-dbus-device.c:
18129 * src/nm-dbus-dhcp.c:
18130 * src/nm-dbus-net.c:
18131 * src/nm-dbus-nm.c:
18132 * test/nminfotest.c:
18133 First (unfinished, unworking) cut at porting to dbus 0.30 api.
18135 2005-03-04 Dan Williams <dcbw@redhat.com>
18140 2005-03-04 Dan Williams <dcbw@redhat.com>
18142 Patch from Peter Jones:
18143 - Make stuff work with gcc 4.0
18145 2005-02-28 Maxim Dziumanenko <mvd@mylinux.com.ua>
18147 * uk.po: Added "uk" (Ukrainian) to ALL_LINGUAS.
18149 2005-02-27 Jim Huang <jserv@kaffe.org>
18151 * configure.in: Added "zh_TW" (Traditional Chinese) to ALL_LINGUAS.
18153 2005-02-27 Dan Williams <dcbw@redhat.com>
18155 Patch from Bill Moss:
18156 * panel-applet/NMWirelessAppletDbus.c
18157 - Make sure strength for current access point is up-to-date when we
18158 update the gui data model
18160 2005-02-27 Alessio Frusciante <algol@firenze.linux.it>
18162 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
18164 2005-02-27 Dan Williams <dcbw@redhat.com>
18166 * src/backends/NetworkManagerRedHat.c
18167 - (nm_system_init): Kill any dhclient processes lying around as well
18168 as stopping 'nifd' if its already been started. NetworkManager
18169 subsumes the functions of nifd (kicking mDNSResponder, autoip)
18171 2005-02-27 Dan Williams <dcbw@redhat.com>
18173 * panel-applet/NMWirelessApplet.c
18174 - (nmwa_destroy): Really mean to destroy GUI data model first, then
18175 dbus data model, not the GUI data model twice.
18177 2005-02-27 Dan Williams <dcbw@redhat.com>
18179 * panel-applet/NMWirelessApplet.[ch]
18180 panel-applet/NMWirelessAppletDbus.[ch]
18181 - Move to incremental network updates. Instead of blowing away our list
18182 of devices every time we get a signal from NetworkManager, we now
18183 incrementally add/remove networks when NetworkManager notifies us that
18184 a new network has appeared or disappered. Strength updates now happen
18185 on-the-fly for each access point as well. There are now two copies of
18186 data from NetworkManager: one for the dbus side, and one for the gui side.
18187 When the dbus side data is modified, it is copied over to the gui side
18188 so we don't have to hold the data_mutex for long periods of time (and
18189 therefore block animation of the applet's icon).
18190 - Clean up some memleaks too
18192 * panel-applet/NMWirelessAppletOtherNetworkDialog.c
18193 - Minor code beautification
18195 * src/NetworkManagerAPList.c
18196 - (nm_ap_list_merge_scanned_ap): return whether or not the access point is
18197 completely new and whether or not an existing one's strength was updated.
18198 Try to fix multiple access points and signal strength by using the highest
18199 signal strength in each scan for any given ESSID.
18201 * src/NetworkManagerDbus.[ch]
18202 - (nm_dbus_signal_wireless_network_change): consolidate signals that deal with
18203 wireless networks; now we have only WirelessNetworkUpdate which includes
18204 a UINT32 for Appeared, Disappeared, or StrengthChanged (see NetworkManager.h).
18205 - Kill usage of DbusMessageIter
18207 * src/NetworkManagerDevice.c
18208 - (nm_device_wireless_process_scan_results): Use the same timestamp for all APs
18209 in the same scan result list. Copy ESSIDs-by-address earlier on, for each
18210 AP rather than all-at-once. Also don't ever remove the AP a card is
18211 currently associated with from the network list.
18212 - Update for new signals during scan, send out Appeared, Disappeared, or
18213 StrengthChanged when necessary.
18215 2005-02-25 Dan Williams <dcbw@redhat.com>
18218 - Line break the README
18220 2005-02-25 Dan Williams <dcbw@redhat.com>
18222 * panel-applet/NMWirelessAppletOtherNetworkDialog.c
18223 - Remove usage of gtk_window_set_default_size()
18225 * panel-applet/essid.glade
18226 - Stick default size here
18227 - Add in random crap that current glade wants to add in now
18229 2005-02-25 Dan Williams <dcbw@redhat.com>
18231 * src/backends/NetworkManagerRedHat.c
18232 - For non-caching-nameserver/non-named case, ensure that nscd is running
18233 and that we actually tell nscd to reload the hosts cache when it changes
18235 2005-02-25 Dan Williams <dcbw@redhat.com>
18237 * info-daemon/NetworkManagerInfoDbus.c
18238 - (nmi_dbus_get_network_properties): whack usage of DbusMessageIter
18240 * test/nminfotest.c
18241 - Whack usage of DbusMessageIter
18242 - Clean up DbusError and DbusMessage handling and freeing
18243 - Remove unused unregister handler
18246 - Whack usage of DbusMessageIter
18248 * test/nmtestdevices.c
18249 - Whack usage of DbusMessageIter
18251 2005-02-25 Dan Williams <dcbw@redhat.com>
18254 - New signal type NMNetworkStatus in preparation for the "WirelessNetworkUpdate"
18257 2005-02-25 Dan Williams <dcbw@redhat.com>
18259 * named/nm-named-manager.c
18260 - Ensure that pid and watch variables for child named process get cleared out
18261 when the child goes away.
18263 2005-02-22 Dan Williams <dcbw@redhat.com>
18265 * src/NetworkManagerPolicy.c
18266 - (nm_policy_activation_finish): Deactivate a device if its activation fails,
18267 and NULL out data->active_device so that we have to choose another one.
18268 This may make NetworkManager keep attempting to connect to a wired network
18269 if it fails, but if it keeps failing the wired network has more problems than
18270 just NetworkManager.
18272 * src/backends/NetworkManagerRedHat.c
18273 - (nm_system_update_dns): fix to actually run nscd -i hosts when nscd
18276 * named/nm-named-manager.c
18277 - (rewrite_resolv_conf): Call nm_system_update_dns() when not using
18278 named so that the distro can flush whatever name service caching
18281 2005-02-21 Dan Williams <dcbw@redhat.com>
18283 * src/NetworkManagerDHCP.[ch]
18284 - (nm_device_dhcp_remove_timeouts): new function
18286 * src/NetworkManagerDevice.c
18287 - Use nm_device_dhcp_remove_timeouts() everywhere that we need to
18288 remove the DHCP timeouts.
18290 2005-02-21 Dan Williams <dcbw@redhat.com>
18292 * panel-applet/NMWirelessApplet.[ch]
18293 panel-applet/menu-info.[ch]
18294 - Give the panel applet some major love: menu items are no longer
18295 subclasses of GtkCheckMenuItem, they are actual GtkCheckMenuItems.
18296 This allows the applet to actually reflect theme changes correctly,
18297 since themeing of subclassed items in GTK _sucks_.
18299 2005-02-18 Dan Williams <dcbw@redhat.com>
18301 * libnm_glib/libnm_glib.[ch]
18302 test/libnm_glib_test.c
18303 - Clean up libnm_glib API a bit, callback is now passed a libnm_glib_ctx
18304 and its data, and doesn't have to free the callback data anymore
18306 2005-02-18 Dan Williams <dcbw@redhat.com>
18308 * panel-applet/NMWirelessApplet.c
18309 - Revert 2005-02-18 William Jon McCann fix for standard
18310 copyright string until it passes 'make distcheck'.
18311 With standard copyright string, xgettext complains
18312 about "Non-ASCII string at ...".
18314 2005-02-18 Dan Williams <dcbw@redhat.com>
18316 * panel-applet/essid.glade
18317 panel-applet/NMWirelessAppletOtherNetworksDialog.c
18318 - Correct spelling of "adaptor"->"adapter"
18320 2005-02-18 William Jon McCann <mccann@jhu.edu>
18322 * panel-applet/NMWirelessApplet.c: Use GTK_CHECK_VERSION() macro.
18323 (nmwa_about_cb): Use standard copyright string. Update comment
18324 text to reflect that it is a notification area applet. Remove
18325 leading newline in authors list.
18326 (nmwa_menu_show_cb, nmwa_setup_widgets): Populate menu on show
18327 instead of on parent menu item activation. Fixes #167550.
18329 2005-02-18 William Jon McCann <mccann@jhu.edu>
18331 * panel-applet/essid.glade: Capitalize items as per HIG.
18334 2005-02-16 William Jon McCann <mccann@jhu.edu>
18336 * panel-applet/gtkcellrendererprogress.[ch]: Only compile these
18337 files for GTK 2.4 or lower, since now public in GTK 2.6.
18339 * panel-applet/essid.glade: Don't specify window size.
18341 2005-02-17 Dan Williams <dcbw@redhat.com>
18343 Caught by Bill Moss:
18345 - Time remaining for DHCP transaction calculation was incorrectly
18346 inside a #ifdef DEBUG
18348 2005-02-15 Christophe Merlet <redfox@redfoxcenter.org>
18350 * configure.in: Added fr (French) to ALL_LINGUAS.
18352 2005-02-14 Dan Williams <dcbw@redhat.com>
18354 * src/NetworkManagerDHCP.c
18355 - (set_domain_searches): Fix free of invalid pointer
18357 2005-02-14 Dan Williams <dcbw@redhat.com>
18359 Patch from Peter Jones:
18361 - Ensure we return RET_DHCP_CEASED everywhere we should
18362 * dhcpcd/udpipgen.c
18363 - Use faster TOS for IP packets
18364 - Don't set ip_id since we're UDP
18366 Patch from Tomislav Vujec:
18367 * src/nm-dbus-dhcp.c
18368 test/nm-dhcp-opt-test.c
18369 - Clean up warnings to enable cvs tree compilation.
18371 2005-02-14 Tomislav Vujec <tvujec@redhat.com>
18375 - Add the Croatian locale.
18377 2005-02-14 Colin Walters <walters@verbum.org>
18379 * src/NetworkManagerDHCP.c (set_domain_searches): Handle space-separated
18380 list of domains to search.
18382 * src/NetworkManagerMain.h (NMData): Handle multiple domain searches.
18384 2005-02-13 Dan Williams <dcbw@redhat.com>
18387 - Debug output cleanups of DHCP option printing and parsing.
18389 2005-02-13 Dan Williams <dcbw@redhat.com>
18391 Patch from Dan Reed: DHCP options D-BUS API
18392 Exposes the DHCP options that a device receives to clients over D-BUS.
18398 - Correct names, option length, and types for DHCP options
18400 * dhcpcd/dhcpcd.[ch]
18401 - Clarify function names that access DHCP options & data
18403 * src/NetworkManagerDHCP.c
18404 - Use new DHCP data access functions
18406 * src/NetworkManagerDbus.c
18407 - Message handler for DHCP functions
18409 * src/nm-dbus-dhcp.[ch] (new)
18410 - DHCP dbus methods
18412 * test/nm-dhcp-opt-test.c
18413 - Test DHCP D-BUS API and return all present DHCP options
18415 2005-02-12 Dan Williams <dcbw@redhat.com>
18418 test/nmclienttest.c
18420 - Move nmclienttest.c -> nmtest.c
18422 2005-02-12 Dan Williams <dcbw@redhat.com>
18424 * dhcpcd/buildmsg.c
18425 - Pad DHCP packets until they are at least 300 bytes in size.
18427 2005-02-11 Dan Williams <dcbw@redhat.com>
18430 - (dhcp_init): only print out client ID and class ID if they are specified
18432 * src/NetworkManagerDbus.[ch]
18433 src/nm-dbus-nm.[ch]
18434 src/nm-dbus-device.[ch]
18435 src/nm-dbus-net.[ch]
18436 - Move NM, Device, and Net functions to separate files and use the
18437 dbus method list stuff in NetworkManagerDbusUtils.c to do
18440 * src/NetworkManagerDbusUtils.c
18441 - Add new validate_method called before each dispatch (if present)
18442 that can validate the method call
18444 * src/NetworkManagerWireless.c
18445 - (nm_wireless_qual_to_percent): Fix misplaced "!" that caused signal
18446 levels never to be evaluated
18448 Patch from j@bootlab.org
18449 * src/NetworkManagerDevice.c
18450 - Add typedef for "u64"
18452 * src/backends/NetworkManagerDebian.c
18453 - Copy in Dave Woodhouse's fixes for IPv6
18455 2005-02-11 Dan Williams <dcbw@redhat.com>
18457 Patch from Dave Woodhouse for IPv6:
18458 * src/NetworkManagerUtils.c
18459 - (nm_ethernet_address_is_valid): Check for prism54 dummy MAC address
18460 and multicast addresses
18462 * src/NetworkManagerDevice.c
18463 - (nm_device_set_up_down): make sure our cached MAC address is up-to-date
18464 after bringing up a card.
18466 2005-02-10 Dan Williams <dcbw@redhat.com>
18468 Patch from Dave Woodhouse:
18469 * src/NetworkManagerSystem.h
18470 src/backends/NetworkManagerDebian.c
18471 src/backends/NetworkManagerGentoo.c
18472 src/backends/NetworkManagerSlackware.c
18473 - New nm_system_device_add_ip6_link_address() function to add link-local
18474 address on an interface. Stubbed in Debian, Gentoo, and Slackware.
18476 * src/backends/NetworkManagerRedHat.c
18477 - (nm_system_device_add_ip6_link_address): implement
18478 - (nm_system_device_flush_addresses): revert to previous behavior of
18479 flushing all addresses
18481 2005-02-10 Dan Williams <dcbw@redhat.com>
18483 Patch from Tom Parker:
18484 * src/NetworkManagerDevice.c
18485 - Remove the "#include <pci/types.h>" since both the ethtool.h and
18486 mii.h headers are broken, and instead use our own typedefs
18488 2005-02-10 Dan Williams <dcbw@redhat.com>
18490 * dhcpcd/buildmsg.c
18491 - (fill_host_and_class_id): only fill in client and class IDs if
18492 they are set by callers.
18495 - (class_id_setup): don't autogenerate a class ID, only use one
18496 we're given, if any.
18497 - (client_id_setup): don't autogenerate a client ID, only use one
18498 we're given, if any.
18501 - (dhcp_interface_init): ensure that client options are correctly
18504 * src/NetworkManagerDHCP.c
18505 - (nm_device_dhcp_request): pass hostname to dhcp library
18507 2005-02-10 Dan Williams <dcbw@redhat.com>
18510 - #rh147661# Don't send kernel version in DHCP requests
18512 * src/NetworkManagerSystem.h
18513 src/backends/NetworkManagerDebian.c
18514 src/backends/NetworkManagerGentoo.c
18515 src/backends/NetworkManagerRedHat.c
18516 src/backends/NetworkManagerSlackware.c
18517 - Remove the nm_system_device_run_dhcp() and nm_system_device_stop_dhcp()
18518 functions, they are no longer used anyway
18520 * src/backends/NetworkManagerRedHat.c
18521 - (nm_system_device_flush_addresses): only flush "scope global" and "scope site"
18522 addresses in an attempt to keep IPv6 local-scope addresses around
18524 2005-02-10 Dan Williams <dcbw@redhat.com>
18526 * src/NetworkManager.c
18527 - (nm_create_device_and_add_to_list): change the add message slightly
18529 * src/NetworkManagerUtils.c
18530 - (nm_get_wireless_driver_support_level, nm_get_wired_driver_support_level):
18531 Return driver name to calling function
18532 - (nm_get_driver_support_level): print out the driver a device is using
18533 during the support check
18535 Patch from Dave Woodhouse:
18536 * dhcpcd/udpipgen.c
18537 - (in_cksum): copy last byte of odd-sized packets into a
18538 'u_short' rather than a 'u_char', should fix wrong checksums
18539 on big-endian platforms
18541 2005-02-09 Dan Williams <dcbw@redhat.com>
18543 * Clean up usage of GSList objects and looping through their members
18544 * Clean up DHCP rebind/renew timeouts, hopefully they will work correctly
18546 * Fix problem where even if scanning was turned off, card would still
18547 cycle through frequencies.
18549 2005-02-08 Dan Williams <dcbw@redhat.com>
18551 * panel-applet/NMWirelessApplet.c
18554 2005-02-08 Dan Williams <dcbw@redhat.com>
18556 Patch from Bill Moss
18557 * panel-applet/NMWirelessApplet.c
18558 - Restore correct ESSID in tooltips
18560 2005-02-07 Dan Williams <dcbw@redhat.com>
18562 * panel-applet/NMWirelessApplet.[ch]
18563 - Add a context menu that contains:
18564 Pause/Resume Wireless Scanning
18565 Stop/Start All Wireless Devices
18567 - Grab active device strength off active device,
18570 * panel-applet/NMWirelessAppletDbus.[ch]
18571 - Add DBUS accessors for "getSupportsCarrierDetect", "setScanningEnabled",
18572 "getScanningEnabled", "setWirelessEnabled", and "getWirelessEnabled"
18573 - Update active device strength every 2 seconds, not every 1 second
18575 * panel-applet/menu-info.c
18576 - Only disable wired devices in the menu when they support carrier detection,
18577 and don't currently have a link. Non-carrier-detect devices will always
18581 src/NetworkManagerDbusUtils.[ch]
18582 - Add new new dbus utils sources
18584 * src/NetworkManager.c
18585 - Fixes for new link detection, we no longer need to call nm_device_update_link_active()
18586 with the boolean parameter
18587 - Set scanning_enabled & wireless_enabled to TRUE
18589 * src/NetworkManagerDbus.c
18590 - Use new dbus util method dispatcher functions for org.freedesktop.NetworkManager methods
18591 - Implement scanning & wireless enable/disable calls
18592 - Remove the dbus vtable unregister handlers, weren't doing anything with them anyway
18594 * src/NetworkManagerDevice.c
18595 - New link detection stuff again...
18596 o Create device's mainloop earlier (but don't run it earlier)
18597 o Hook up new carrier-detect support stuff
18598 o Add in the ethtool & mii support detection code
18599 - Don't scan if scanning is disabled
18601 * src/NetworkManagerPolicy.c
18602 - Never automatically choose a device that doesn't support carrier detection
18603 - Don't automatically choose a wireless device if wireless is disabled
18605 2005-02-07 Dan Williams <dcbw@redhat.com>
18607 * libnm_glib/libnm_glib.c
18608 - Small cleanup in element list iteration
18610 2005-02-07 Dan Williams <dcbw@redhat.com>
18612 * src/NetworkManagerWireless.c
18613 - (nm_wireless_qual_to_percent): Fix up wireless quality calculations
18614 to be in line with the WEXT quality specification
18616 2005-02-02 Dan Williams <dcbw@redhat.com>
18618 Patch from Nathan Fredrickson <nathan@silverorange.com>
18619 * Fix up compile for deprecation of libgnomeui
18620 - Switch to <glib/gi18n.h> from <libintl.h>
18621 - Remove <libgnomeui/libgnomeui.h> includes
18622 - Use gtk_window_set_default_icon_from_file() rather than
18623 gnome_window_set_default_icon_from_file()
18625 * named/nm-named-manager.c
18626 - (generate_named_conf): Fix return-nothing in non-void
18629 2005-02-02 Dan Williams <dcbw@redhat.com>
18631 * Clean up unused variables and the like
18633 2005-02-02 Dan Williams <dcbw@redhat.com>
18635 * src/NetworkManagerAPList.c
18636 - (nm_ap_list_merge_scanned_ap): merge strength too
18638 * src/NetworkManagerUtils.c
18639 - (nm_lock_mutex, nm_register_mutex_desc): new calls to facilitate debugging
18640 of locking issues by printing out prettier information than g_mutex_lock
18641 - Print out names of mutexes registered with nm_register_mutex_desc()
18642 - (nm_try_lock_mutex): don't do the waiting thing when trying to lock, causes
18643 us to seemingly block here for too long
18645 * src/NetworkManager.c
18646 src/NetworkManagerAPList.c
18647 src/NetworkManagerDevice.c
18648 - Convert to using nm_lock_mutex/nm_unlock_mutex rather than the glib variants
18649 so we get better debug information printed
18651 * src/NetworkManagerDbus.c
18652 - (nm_dbus_devices_handle_request): reduce usage of nm_device_need_ap_switch()
18653 since it sometimes has locking side effects
18654 - (nm_device_get_association_pause_value): Reduce 802.11a card pause value to 8s
18656 - (nm_device_need_ap_switch): If we can't acquire the scan lock, return saying
18657 we don't need a switch. This gets called often enough that we can't block
18658 until the scan mutex is acquired, because we'll block on device activation
18659 and a few other things, which hangs main thread for too long.
18661 * src/NetworkManagerPolicy.c
18662 - (nm_policy_auto_get_best_device): reduce the possiblity that
18663 nm_device_need_ap_switch() will be called
18665 2005-02-02 Dan Williams <dcbw@redhat.com>
18667 * panel-applet/NMWirelessApplet.c
18668 - Display name of wireless network we are connecting to or connected to
18669 in the tooltip of the applet
18671 2005-02-02 Dan Williams <dcbw@redhat.com>
18673 * src/NetworkManagerDHCP.c
18674 - Hopefully fix double-default-route problem by cleaning up the default
18675 route added by DHCP code right before the DHCP transaction begins
18677 2005-02-02 Dan Williams <dcbw@redhat.com>
18679 * named/nm-named-manager.c
18680 - Write out valid resolv.conf when we exit
18682 2005-02-01 Dan Williams <dcbw@redhat.com>
18684 Patch from Colin Walters:
18685 * named/nm-named-manager.c
18686 - Make multi-domain search options work
18688 2005-01-31 Dan Williams <dcbw@redhat.com>
18690 * info-daemon/NetworkManagerInfoDbus.c
18691 - (nmi_dbus_nmi_message_handler): make sure 'dialog' exists before using it
18693 * src/NetworkManagerDevice.c
18694 - (nm_device_new): Don't store the entire range struct, use only what we need
18695 (which is currently avg_quality, max_quality, and frequencies). Also
18696 zero device structure when we've free'd it to maybe expose errors down
18698 - (nm_device_update_signal_strength): grab the scan mutex before getting
18699 quality data from the card since quality will be useless during a scan.
18700 Call updated wireless qual-to-percent function with values stored in
18701 nm_device_new() earlier.
18702 - Remove some unused functions (nm_device_get_max_quality(), nm_device_get_noise(),
18703 nm_device_get_bad_crypt_packets())
18704 - (nm_device_activate_wireless_adhoc): use new frequency values we go in
18706 - (get_initial_auth_method): always use the Auth method that's in the allowed
18707 list if available. Problem was this: when the WEP key is wrong, NM will
18708 try OS then SK modes, and then get stuck in SK mode after that. This
18710 - (nm_device_wireless_process_scan_results): work with new qual-to-percent
18713 * src/NetworkManagerWireless.c
18714 - (nm_wireless_qual_to_percent): try to make this function actually work and
18715 mimic iwlib behavior. Use card's idea of quality divided by max_qual
18716 if that's all present, otherwise fall back to signal-to-noise ratios.
18718 2005-01-29 Dan Williams <dcbw@redhat.com>
18720 * initscript/RedHat/NetworkManager
18721 - Don't spit out sysctl stuff to console
18723 * libnm_glib/libnm_glib.c
18724 - (libnm_glib_init): call dbus_g_thread_init()
18726 * panel-applet/NMWirelessAppletDbus.c
18727 - (nmwa_dbus_worker): call dbus_g_thread_init()
18729 * src/NetworkManager.c
18730 - (main): call dbus_g_thread_init()
18732 * src/NetworkManagerAPList.c
18733 - (nm_ap_list_print_members): use LOG_ERR instead of LOG_DEBUG
18734 so we can actually see what's there in a normal syslog
18736 * src/NetworkManagerDevice.c
18737 - (nm_device_activate_wireless): print out the "waiting for access point"
18738 message only once, then say what access point we actually got after
18740 - (nm_device_need_ap_switch): If a scan is in progress when we're in this
18741 function, wait until the scan is done. Scans may change the ESSID of
18742 the card, making this function think we need to switch access points
18743 - (nm_device_wireless_process_scan_results): for artificial access points
18744 don't check against the card's ESSID, but the best_ap's ESSID. This
18745 prevents collisions with the scanning code, which may change the card's
18746 ESSID and cause the access point to get dropped from the device's AP
18747 list. Also increase the keep-around time to 2m from 60s since the max
18748 scan interval could be 60s in some cases.
18750 * src/NetworkManagerPolicy.c
18751 - (nm_policy_activation_finish): Don't add invalid MAC addresses to GConf
18752 - (nm_policy_allowed_ap_list_update): When we update, make sure we copy over
18753 the new properties and ESSIDs to the device's AP list. Fixes some races
18754 between NM and NMI.
18756 2005-01-27 Dan Williams <dcbw@redhat.com>
18758 * info-daemon/NetworkManagerInfoDbus.c
18759 - (nmi_dbus_add_network_address): if the network doesn't yet exist in
18760 GConf, make a minimal entry for it (essid & timestamp)
18762 * src/NetworkManagerAPList.c
18763 - (nm_ap_list_populate_from_nmi): Don't try to grab network data if
18764 NetworkManagerInfo isn't running
18766 * src/NetworkManagerDbus.[ch]
18767 - (nm_dbus_nmi_is_running): new function
18769 * src/NetworkManagerDevice.c
18770 - (nm_device_wireless_force_use): Don't set the created AP's MAC
18771 address to garbage.
18773 * src/NetworkManagerPolicy.c
18774 - (nm_policy_activation_finish): On successful activation, make sure
18775 the "best" AP has a MAC address, and don't tell NMI to add the
18776 current AP's MAC address to GConf if the AP is an Ad-hoc AP.
18777 - (nm_policy_allowed_ap_list_update): Update a wireless card's "best"
18778 access point after refreshing our allowed list if it doesn't already
18779 have a "best" access point.
18781 2005-01-25 Dan Williams <dcbw@redhat.com>
18783 * panel-applet/NMWirelessAppletDbus.c
18784 - (nmwa_dbus_filter): Fix dbus 0.23 ServiceOwnerChanged checks
18785 so we check for NM_DBUS_SERVICE rather than not for it
18787 * libnm_glib/libnm_glib.c
18788 - (libnm_glib_dbus_filter): Fix for dbus 0.23, trapping
18789 ServiceOwnerChanged signal
18791 2005-01-25 Dan Williams <dcbw@redhat.com>
18794 - Check DBUS version in configure, and set the C macros
18795 DBUS_VERSION_[MAJOR,MINOR,MICRO]
18797 * info-daemon/NetworkManagerInfoDbus.c
18798 - Remove #if 0-d section of code that quit NMI if NM went away.
18800 * panel-applet/NMWirelessAppletDbus.c
18801 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
18803 * src/NetworkManager.c
18804 src/NetworkManagerMain.h
18805 src/NetworkManagerDbus.c
18806 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
18807 - Make updating of our Allowed Wireless Network lists from NMI
18808 an idle function in the main thread now, with a high priority.
18810 2005-01-24 Dan Williams <dcbw@redhat.com>
18812 * panel-applet/gtkcellview.[ch]
18813 panel-applet/menu-info.c
18814 - Fix GTK version checks to be <= rather than <
18817 - Include the libtool archive of libnm_glib rather than
18818 trying to pull in the .so
18820 2005-01-24 Dan Williams <dcbw@redhat.com>
18822 * src/NetworkManagerDevice.c
18823 src/NetworkManagerDevicePrivate.h
18824 - Block nm_device_new() until our device's worker thread has had a
18825 chance to start up. Fixes a race between main thread and worker
18826 thread starting that caused activation requests to get lost.
18828 2005-01-24 Dan Williams <dcbw@redhat.com>
18830 * initscript/RedHat/NetworkManager
18831 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
18832 to add the NM startup script at priority 50, which was
18835 2005-01-24 Colin Walters <walters@redhat.com>
18837 * named/named.conf: Use any port for query source instead of
18838 restricting to port 53.
18840 2005-01-24 Dan Williams <dcbw@redhat.com>
18842 * initscript/RedHat/NetworkManager
18843 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
18844 to add the NM startup script at priority 50, which was
18847 2005-01-24 Dan Williams <dcbw@redhat.com>
18849 Patch from Tom Parker <palfrey@tevp.net>
18850 * Fix up compile warnings & errors in the wireless applet
18852 2005-01-24 Dan Williams <dcbw@redhat.com>
18854 * panel-applet/NMWirelessApplet.c
18855 - Convert 24x24 icons back to 22x22 and use the 22x22 ones
18857 2005-01-24 Dan Williams <dcbw@redhat.com>
18859 * panel-applet/gtkcellview.[ch]
18860 - Only compile these files for GTK 2.4 or lower, since
18861 GtkCellView is now public in GTK 2.6. Fixes crasher
18862 when choosing "Other Wireless Networks" from the panel
18865 2005-01-21 Dan Williams <dcbw@redhat.com>
18867 * src/NetworkManager.c
18868 - Daemonize earlier so that glib doesn't get confused (?)
18870 2005-01-21 Dan Williams <dcbw@redhat.com>
18872 * panel-applet/NMWirelessApplet.[ch]
18873 panel-applet/NMWirelessAppletDbus.c
18874 panel-applet/menu-info.c
18875 src/NetworkManagerDevice.c
18876 - Disable wired devices in the menu when they have no link.
18878 2005-01-21 Dan Williams <dcbw@redhat.com>
18880 * Cache last-known-good wireless authentication method in
18881 NetworkManagerInfo, and use that method first during
18882 wireless device activation. Should speed up devices that
18883 need Shared Key authentication method since Open System is
18886 * Remove the hack to not do full activation on wired connections
18887 that are active when we launch, it causes too many problems
18888 with name resolution and was a hack in the first place.
18890 * Re-work wireless device activation again somewhat to have a
18891 clearer chain of events and to use last-known-good
18892 authentication method of the access point. Also provide
18893 better status throughout activation to ensure the applet
18894 can tell the user exactly what's going on.
18896 * Remove the "find wireless network" code and now simply attempt
18897 to activate with that access point. This reduces the delay
18898 between selecting "Other wireless Network" and actually
18899 connecting to that network.
18901 * Correctly stop the device's worker thread when its removed.
18903 2005-01-21 Dan Williams <dcbw@redhat.com>
18906 - Clean up some of the debug messages
18908 2005-01-21 Dan Williams <dcbw@redhat.com>
18910 * Add new icons, more frames of animation
18911 * Remove some hacks to get the panel applet to display correct
18912 status, an NM update will soon follow that will fix the
18915 2005-01-19 Kjartan Maraas <kmaraas@gnome.org>
18917 * panel-applet/NMWirelessApplet.c: #include <config.h> must be
18918 the first include for working i18n. Also, don't include it in .h files
18919 * panel-applet/NMWirelessApplet.h: Same
18920 * panel-applet/NMWirelessAppletOtherNetworkDialog.c: Same
18921 * panel-applet/menu-info.c: Same
18923 2005-01-18 Dan Williams <dcbw@redhat.com>
18926 - Remove some debug messages
18927 - Wrap others in #ifdef DEBUG/#endif
18929 * src/NetworkManager.c
18930 - Remove some debug messages
18931 - Clarify some debug messages
18932 - Remove code related to old single-thread wireless scanning
18934 * src/NetworkManagerAP.[ch]
18935 - New AP property "last_seen" to track how recently an AP was
18937 - Start using 'const' more in function arguments
18939 * src/NetworkManagerAPList.[ch]
18940 - (nm_ap_list_merge_scanned_ap): new, selectively update attributes
18941 of an AP found in an AP list from a source AP, or if not found
18942 in the list add the source AP
18943 - (nm_ap_list_combine): remove, no longer needed
18945 * src/NetworkManagerDevice.c
18946 - Each device now has a "worker" thread from start to end of its life.
18947 Scanning for wireless devices now happens in that thread,
18948 not in a single "wireless scanning thread" for all devices as
18949 previously. Activation consists of adding an idle handler to the
18950 thread's main loop/context, which gets run at the next available
18952 - Wireless scanning is also simplified, there is now only one list of
18953 access points per wireless device, and APs older than 60s are
18954 removed from the list. Previously, we kept results for the last
18955 3 scans and merged whole lists, which was complicated.
18956 - Cleaned up activation debug messages.
18957 - Wireless activation and access-point search routines now use Open System
18958 authentication before trying Shared Key.
18959 - Removed some code in nm_device_update_best_ap() that could cause cards
18960 to loose their link to the access point.
18961 - Scanning now uses a backoff algorithm, where the inverval becomes
18962 progressively longer between scans when the list of scanned access
18963 points doesn't change. A change will revert to the shortest scan
18966 * src/NetworkManagerWireless.[ch]
18967 - Remove code related to old single-thread wireless scanning
18969 2005-01-18 Colin Walters <walters@redhat.com>
18971 * src/NetworkManagerDHCP.c (set_nameservers): Free and clear list
18972 of older nameservers.
18974 2005-01-18 Colin Walters <walters@redhat.com>
18976 * named/nm-named-manager.c (generate_named_conf): Many fixes
18977 to config file generation.
18978 (safer_kill): Remove, was too much trouble for little gain.
18979 (nm_named_manager_start): Run named as NM_NAMED_USER.
18981 * configure.in: Add option --with-named-user.
18983 2005-01-14 Colin Walters <walters@redhat.com>
18985 Patch from ed@catmur.co.uk (Ed Catmur)
18987 * named/nm-named-manager.c: Add "context" property.
18988 Use it to add child watch source in specific GMainContext.
18990 * src/NetworkManager.c (nm_data_new): Initialize
18991 named with correct main context. Start named only
18994 2005-01-14 Colin Walters <walters@redhat.com>
18996 * named/nm-named-manager.c (generate_named_conf): Write config
18997 and pid files into NM_NAMED_DATA_DIR; this allows things to
18998 work better with FC3 named SELinux policy. Also fix up silly
19001 * configure.in: Add --with-named-dir option.
19003 2005-01-14 Colin Walters <walters@redhat.com>
19005 * configure.in: Make named support require passing --with-named.
19007 * named/nm-named-manager.c: Support writing resolv.conf directly
19008 without running named.
19010 2005-01-13 Dan Williams <dcbw@redhat.com>
19012 * named/nm-named-manager.c
19013 - Use syslog(LOG_WARNING) rather than g_warning() (gnome.org #163961)
19015 * src/NetworkManagerDevice.c
19016 - Rework wireless link detection code to be more reliable
19018 2005-01-12 Dan Williams <dcbw@redhat.com>
19020 * initscripts/RedHat/NetworkManager
19021 - Change initial level to "-" rather than "345" so that
19022 we don't activate ourselves by default on install
19024 2005-01-12 Dan Williams <dcbw@redhat.com>
19027 - Client library for applications using glib
19031 - Split NM_CFLAGS and NM_LIBS into separate variables
19032 like DBUS_*, HAL_* and GLIB_*
19034 * src/NetworkManager.c
19035 src/NetworkManagerMain.h
19036 - (nm_schedule_status_signal_broadcast): at the earliest convenience,
19037 broadcast a status changed signal over DBUS from the main thread.
19038 Still unused anywhere for the moment.
19040 Patch from j@bootlab.org
19041 * panel_applet/NMWirelessAppletDbus.c
19042 src/NetworkManagerDbus.c
19043 - Correct INT32->UINT32 mistmatch between NM and the panel applet
19044 for the "getMode" method call
19046 2005-01-10 Dan Williams <dcbw@redhat.com>
19048 * src/NetworkManagerDevice.c
19049 - Minor fixups & corrections to "auto" frequency mode, make it
19050 less chatty with syslog
19052 2005-01-10 Dan Williams <dcbw@redhat.com>
19054 * src/NetworkManagerDevice.c
19055 - Implement "auto" frequency/channel support, since cards like Atheros
19056 can't use other frequencies at all when you've told it to use a
19057 specific one, even for scanning.
19058 - Grab the scan mutex around places where we can't tolerate wireless
19059 settings changing underneath us, like nm_device_wireless_network_exists()
19060 and nm_device_activate_wireless()
19062 * src/NetworkManagerWireless.c
19063 - Back scan interval off to 20s instead of 14s
19065 2005-01-09 Dan Williams <dcbw@redhat.com>
19067 * src/NetworkManagerDevice.c
19068 - Don't set mode/freq/bitrate if that mode/freq/bitrate is
19069 already set. Stops some drivers like Atmel from continually
19070 reloading the firmware, which they do upon every configuration
19073 2005-01-09 Dan Williams <dcbw@redhat.com>
19076 - Use correct timeout value
19078 * info-daemon/NetworkManagerInfoDbus.c
19079 src/NetworkManagerDbus.c
19080 - Consolidate communication between NM and NMI by doing only 1 dbus
19081 method call to get Wireless Network info from NMI instead of 6
19083 * src/NetworkManager.c
19084 - Make sure to cancel activation when we receive a SIGTERM, otherwise
19085 when we didn't have an AP to use, we'd wait for one forever without
19088 * src/NetworkManagerDevice.c
19089 - nm_device_activation_cancel(): Fix a race between dhcp and quitting
19090 activation, dhcp might not have started yet but we don't quit activation
19091 before starting it, so the quit signal gets lost
19093 2005-01-07 Dan Williams <dcbw@redhat.com>
19096 - Rework the DHCP client code to be much less chatty when
19097 it receives non-DHCP UDP packets during the DHCP run
19098 (reported by and preliminary patches from Bill Moss)
19100 * Move wireless scanning to a separate thread. This thread forwards the
19101 results to the main thread when done where they are integrated into
19102 the device's access point lists. This keeps the main thread (which
19103 does all the DBUS communication) from being blocked for long periods
19104 of time by wireless scanning.
19106 * Make state modification an idle routine in the main loop, and trigger
19107 state changes rather than polling for them.
19109 * src/backends/NetworkManagerGentoo.c
19110 - Fix up invalid C90 code (reported by Christoph Ruessler)
19112 * src/NetworkManagerDevice.c
19113 - Revert IPv6 patch for wired devices from 2004-12-22 for
19114 router advertisements, causing problems and infinite loop
19115 during "best" device determination due to link going up/down
19116 (reported by Bill Moss)
19118 Apply patch from Peter Jones
19119 * src/NetworkManagerDevice.c
19120 - Shortcut for link-checking for ipw2x00 cards
19121 - Split out association check into separate routine
19123 2004-01-05 Colin Walters <walters@redhat.com>
19125 * named/named.conf: Add PID_FILE.
19127 * named/nm-named-manager.c: Always generate a pid
19128 file, since older BIND versions don't support
19131 2005-01-01 Satoru SATOH <ss@gnome.gr.jp>
19133 * configure.in (ALL_LINGUAS): Added ja (Japanese).
19135 2004-12-22 Dan Williams <dcbw@redhat.com>
19137 * src/NetworkManagerDevice.c
19138 - Silently fail when setting bitrate doesn't work
19141 Patches from j@bootlab.org:
19142 * src/backends/NetworkManagerDebian
19143 - Update backend to match functionality in RedHat backend
19144 * src/NetworkManagerDevice.c
19145 - Take down then bring up wired devices after connection so
19146 they send out ipv6 router advertisements
19148 2004-12-21 Colin Walters <walters@verbum.org>
19150 * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_update_devices): Correctly
19151 test for NETWORK_MODE_ADHOC; spotted by: Greg <gonufer@gmail.com>.
19153 2004-12-21 Colin Walters <walters@redhat.com>
19155 * configure.in: Correct named detection.
19157 2004-12-21 Colin Walters <walters@redhat.com>
19159 * src/NetworkManager.c (nm_data_new): Initialize named.
19160 Also, set up a signal handler for SIGINT/SIGTERM, and exit
19161 the mainloop when these signals are received.
19162 (nm_data_free): Unref named.
19163 (sigterm_handler, sigterm_pipe_handler): New functions for
19166 * src/NetworkManagerMain.h (NMData): Add signal handling and
19169 * src/NetworkManager.c (nm_device_unref): Quit device mainloop on
19172 * src/NetworkManagerDHCP.c (set_nameservers): New function;
19173 set nameservers from DHCP response data.
19174 (set_domain_search): Set domain search from DHCP response.
19175 (nm_device_dhcp_configure): Invoke them.
19177 * src/NetworkManagerSystem.c
19178 (nm_system_device_update_resolv_conf): Delete. Deleting
19179 code is totally sweet.
19181 * src/Makefile.am (NetworkManager_LDADD): Add libnamed.
19183 * named/nm-named-manager.h, named/nm-named-manager.c: New files;
19184 implements an object which controls a nameserver. Currently
19187 * configure.in: Check for named.
19189 * Makefile.am (SUBDIRS): Add named dir.
19191 * named/named.conf: New template config file.
19193 2004-12-20 Colin Walters <walters@redhat.com>
19195 * src/NetworkManagerPolicy.c (nm_policy_get_best_device): Fix usage of '=='
19198 2004-12-17 Dan Williams <dcbw@redhat.com>
19200 * Ad Ad-Hoc networking mode support. In Ad-Hoc mode, we only try to get
19201 link-local addresses instead of doing DHCP.
19203 * In the panel applet, there's a new "Create new Wireless Network..." item
19205 * The panel applet also sticks around now even if NetworkManager dies, but
19206 it doesn't hide its icon when NM isn't around. Not hiding the icon is
19207 a bug, I'll fix that later.
19209 * We also don't use 'nscd' anymore in the RH backend, it was impeding name
19210 lookups after a switch rather than actually doing them.
19212 * Clean up some of those warnings in nm_ap_list_* functions
19214 * Delay between scans changed to 15s instead of 10s
19216 2004-12-15 Dan Williams <dcbw@redhat.com>
19218 Patch from Tom Parker
19219 * Add autoip/Link Local Addressing support when we fail to get a DHCP
19222 * Longer pause after setting ESSID on cards that support a larger number
19223 of channels to give the card time to find the right channel
19225 * Add system hook to restart mDNSResponder (or whatever the local implementation
19226 of Multicast DNS is) when we activate interfaces
19228 2004-12-15 Dan Williams <dcbw@redhat.com>
19230 * Rework the DHCP code again to revert to sending full ethernet frames
19231 rather then relying on the kernel to do the right thing with our
19234 2004-12-06 Dan Williams <dcbw@redhat.com>
19237 - Fix some minor errors in dhcp_handle_transaction() that caused
19238 unexpected early timeouts of DHCP transactions
19241 - DHCP retransmit time from 4s -> 5s
19243 2004-12-05 Dan Williams <dcbw@redhat.com>
19245 * Major rework of the DHCP code, taking some cues from pump. We don't
19246 write raw Ethernet packets anymore, which simplifies the code quite
19247 a bit. The new code should be more robust, not hang in recvfrom()
19248 as much, and generally work better. This also means that we need
19249 to force HAL/dbus to use a created GMainContext rather than the
19250 default context, since having the DHCP renew/rebind thread using
19251 its own GMainContext seemed to give dbus a fit. There is also more
19252 debugging information printed from the DHCP loop to help with future
19255 * Also, if the DHCP server doesn't give us the "routersOnSubnet" option,
19256 assume that the default gateway should be the DHCP server.
19258 Patch from Matthew Schick <matt oss-institute org>
19259 * src/backends/NetworkManagerGentoo.c
19260 - Fix compilation error due to missing "ip4_broadcast"
19262 2004-12-03 Dan Williams <dcbw@redhat.com>
19264 * initscript/Makefile.am
19265 * initscript/Debian/NetworkManager
19266 * initscript/Gentoo/NetworkManager
19267 * initscript/RedHat/NetworkManager
19268 * initscript/NMLaunchHelper.c
19269 - Remove NMLaunchHelper, if you need to wait until the network
19270 comes up, use the dead code from CVS.
19272 2004-12-01 Colin Walters <walters@redhat.com>
19274 * configure.in: Suck in gcc warnings code from Rhythmbox,
19275 but use fewer default flags, and in particular add -Wno-unused,
19276 since the codebase has a lot of unused variables.
19278 * test/nmtestdevices.c (create_device):
19279 * test/nminfotest.c (get_network_string_property)
19280 (get_networks_of_type):
19281 * test/nmclienttest.c (main):
19282 * src/NetworkManagerDbus.c (nm_dbus_create_error_message):
19283 * initscript/NMLaunchHelper.c (get_nm_status):
19284 * info-daemon/NetworkManagerInfoPassphraseDialog.c (update_button_cb):
19285 * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_create_error_message):
19286 Fix declarations after statements.
19288 2004-12-01 Colin Walters <walters@redhat.com>
19290 * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_return_vpn_password): New method.
19291 (nmi_dbus_get_vpn_userpass): New method.
19292 (nmi_dbus_nmi_message_handler): Invoke it.
19294 * info-daemon/NetworkManagerInfoDbus.h (nmi_dbus_return_vpn_password): Prototype.
19296 * info-daemon/NetworkManagerInfoVPN.h,
19297 info-daemon/NetworkManagerInfoVPN.c: New files; responds
19298 to requests for VPN passwords.
19300 * configure.in (GNOME_KEYRING_LIBS): Check for gnome-keyring.
19302 2004-12-01 Colin Walters <walters@redhat.com>
19304 * test/nmtestdevices.c, test/nmclienttest.c: Add missing
19307 2004-12-01 Colin Walters <walters@redhat.com>
19309 * panel-applet/NMWirelessAppletDbus.c
19310 (nmwa_dbus_update_active_device_strength): Fix missing
19313 2004-12-01 Colin Walters <walters@redhat.com>
19315 * panel-applet/NMWirelessApplet.c: Add missing include.
19317 2004-12-01 Colin Walters <walters@redhat.com>
19319 * src/NetworkManagerWireless.c (nm_wireless_qual_to_percent):
19320 Remove useless CLAMP (); the value is unsigned, and the case tests
19321 qual->qual < 100, so the value must always be between 0 and 100.
19323 2004-12-01 Colin Walters <walters@redhat.com>
19325 * dhcpcd/buildmsg.c, dhcpcd/dhcp_test.c: Add missing includes.
19327 2004-11-22 Colin Walters <walters@verbum.org>
19329 * src/backends/NetworkManagerRedHat.c (nm_system_update_dns): Run
19330 "nscd -i hosts" to invalidate the host cache instead of restarting nscd,
19331 which is essentially a noop since nscd caches hosts on disk too.
19333 2004-11-22 Colin Walters <walters@redhat.com>
19335 * src/Makefile.am (NetworkManager_SOURCES): Add
19336 NetworkManagerDevicePrivate.h.
19338 2004-11-22 Dan Williams <dcbw@redhat.com>
19340 * src/NetworkManagerDevicePrivate.h
19341 - Split out the NMDevice struct to a different file so that stuff like
19342 NetworkManagerDHCP.c and NetworkManagerSystem.c can use it
19346 - (dhcpSendAndRecv): do non-blocking sends and receives, and check to see if we
19347 need to cancel the dhcp request during the send and recv
19350 - Move the DHCP option enum to dhcpcd.h
19352 * src/NetworkManagerDHCP.c
19353 - Split out the actual IP/netmask/etc setting code
19354 - New Renew/Rebind functions
19355 - New timer setup function for renew/rebind operations
19357 * src/NetworkManagerDevice.c
19358 - For device activation, if we are using DHCP then keep the activation thread
19359 alive until device deactivation. We need to renew/rebind the DHCP address
19360 after the T1 (renew) and T2 (rebind) times have expired.
19361 - Increase some timeouts after bringing wireless cards up/down
19363 2004-11-17 Dan Williams <dcbw@redhat.com>
19365 * Cache access point MAC addresses in NetworkManagerInfo after you've explicitly
19366 connected to them. Then, after a scan, match up non-ESSID-broadcasting access
19367 points with any cached MAC addresses from NetworkManagerInfo. Allows us to
19368 show known access points that don't broadcast their ESSID in the menus without
19369 any user intervention whatsoever.
19371 * info-daemon/NetworkManagerInfoDbus.c
19372 - (nmi_dbus_get_network_addresses, nmi_dbus_add_network_address): new functions
19373 for dbus method calls "getNetworkAddresses" and "addNetworkAddress"
19375 * src/NetworkManagerAP.[ch]
19376 - Add a "user_addresses" data member to the NMAccessPoint structure
19377 - (nm_ap_get_user_addresses, nm_ap_set_user_addresses): new functions for accessing
19378 the user_addresses data member
19380 * src/NetworkManagerAPList.c
19381 - (nm_ap_list_get_ap_by_address): check user_addresses list too, instead of just
19382 the AP's reported address
19383 - (nm_ap_list_update_network): grab the user_addresses list from NetworkManagerInfo
19385 * src/NetworkManagerDHCP.c
19386 - Increase DHCP timeout from 25s -> 30s
19388 * src/NetworkManagerDbus.[ch]
19389 - (nm_dbus_get_network_addresses, nm_dbus_add_network_address): have NMI get/set
19392 * src/NetworkManagerDevice.c
19393 - (nm_device_set_wireless_config): bring down the interface, wait 4s, bring it up,
19394 wait 2s, then configure it. Sometimes Prism54 cards will freeze up with
19395 "mgnt tx queue full", seemingly in response to NM controlling the card too much.
19396 So, we take the card down to clear it out.
19397 - (nm_device_do_normal_scan): Copy over AP ESSIDs from the allowed access point list
19398 too, since that's where the user_addresses are
19400 * src/NetworkManagerPolicy.c
19401 - (nm_state_modification_monitor): Tell NMI to add an AP's hardware address to
19402 that wireless networks' user_addresses list upon successful activation
19404 2004-11-16 Dan Williams <dcbw@redhat.com>
19406 * src/NetworkManagerDevice.[ch]
19407 - (nm_device_clear_activation_fail): new function
19409 * src/NetworkManagerPolicy.c
19410 - (nm_state_modification_monitor): clear the activation_failed flag on devices
19411 when we've dealt with the failure so the user doesn't get failure-dialog-spammed
19413 2004-11-16 Dan Williams <dcbw@redhat.com>
19415 * src/NetworkManagerDevice.c
19416 - (nm_device_activate_wireless): Unref best_ap upon success so we don't
19417 leak the structure, better updating of now_scanning status
19418 - (nm_device_wireless_network_exists): Rewrite for better/faster checking
19420 2004-11-15 Dan Williams <dcbw@redhat.com>
19422 Major rework of link detection code. We now use DHCP
19423 as part of the link detection which proves to be much more robust,
19424 and also supports Open System authentication for wireless networks.
19426 We no longer use external DHCP client programs. Instead, we use
19427 our own DHCP client, based on substantially reworked bits of 'dhcpcd'
19428 which was written by:
19429 Yoichi Hariguchi <yoichi@fore.com>
19430 Sergei Viznyuk <sv@phystech.com>
19431 http://www.phystech.com/download/
19432 It resides in the "dhcpcd" directory and was refactored into a general
19433 purpose DHCP client library by me.
19435 Also misc fixes (CPPFLAGS->AM_CPPFLAGS, move some stuff around),
19436 move src/backends/NetworkManagerSystem.h -> src/NetworkManagerSystem.h
19438 2004-11-15 Dan Williams <dcbw@redhat.com>
19440 Patch from Tom Parker <palfrey@tevp.net>:
19442 * src/NetworkManagerDevice.c
19443 - Less output to console when no access
19444 points are found during a scan
19446 2004-11-15 Dan Williams <dcbw@redhat.com>
19448 Patch from Tom Parker <palfrey@tevp.net>:
19450 * src/backends/interface_parser.c
19452 - Check for inp == NULL
19455 2004-11-13 Colin Walters <walters@redhat.com>
19457 Patch from Tom Parker <palfrey@tevp.net>:
19459 * src/Makefile.am (CPPFLAGS): Switch to AM_CPPFLAGS.
19461 * src/backends/NetworkManagerRedHat.c: Switch to
19462 including shvar.h instead of shvar.c.
19464 * src/backends/NetworkManagerDebian.c: Don't include
19465 interface_parser.c in source file.
19467 (libnmbackend_la_SOURCES): Don't include shvar.[ch]
19468 and interface_parser.[ch].
19469 * src/Makefile.am (libnmbackend_la_SOURCES) <TARGET_REDHAT>:
19470 Include shvar.c and shvar.h here.
19471 (libnmbackend_la_SOURCES) <TARGET_DEBIAN>: Include
19472 interface_parser.c and interface_parser.h here.
19474 2004-11-12 Colin Walters <walters@redhat.com>
19476 * configure.in: Strip out TARGET_DISTRO and
19477 SYSTEM_BACKEND_FILE variables. Switch to Automake
19480 * src/Makefile.am (noinst_LTLIBRARIES): Add libnmbackend.la.
19481 (libnmbackend_la_SOURCES): Use Automake conditionals
19482 to add distro-specific files.
19484 * initscript/Makefile.am (SUBDIRS): Update to
19487 2004-11-12 Colin Walters <walters@redhat.com>
19489 Patches from j bootlab org
19491 * src/Makefile.am (EXTRA_NetworkManager_SOURCES):
19492 Add interface_parser.[ch].
19494 * src/backends/NetworkManagerDebian.c (nm_system_device_run_dhcp): Invoke
19495 dhclient with "-lf /var/lib/dhcp/dhclient-%s.leases".
19497 2004-11-12 Colin Walters <walters@redhat.com>
19499 * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_service_init): Delete
19500 call to nmi_dbus_is_running too, not necessary anymore.
19501 * info-daemon/NetworkManagerInfoDbus.c: Include stdlib.h to
19504 2004-11-11 Colin Walters <walters@verbum.org>
19506 * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_is_running):
19508 (nmi_dbus_service_init): Call dbus_bus_acquire_service with
19509 the DBUS_SERVICE_FLAG_PROHIBIT_REPLACEMENT flag, and
19510 then check the result for DBUS_SERVICE_REPLY_SERVICE_EXISTS.
19511 This avoids a race condition that made it pretty easily
19512 possible to get two NetworkManagerInfo daemons running.
19514 2004-11-11 Colin Walters <walters@verbum.org>
19516 * src/NetworkManager.c (main): Use daemon(3).
19518 * info-daemon/NetworkManagerInfo.c (main): Ditto.
19520 * dispatcher-daemon/NetworkManagerDispatcher.c (main): Ditto.
19522 2004-11-10 Dan Williams <dcbw@redhat.com>
19524 Patches from j bootlab org
19525 * src/NetworkManagerDevice.c
19526 - (nm_device_activate_wireless): wait 5 seconds before attempting to detect
19527 whether the card has a link or not, some cards are slow
19528 - (nm_device_activation_configure_ip): make ipv6 work a bit better
19530 * info-daemon/NetworkManagerInfoPassphraseDialog.c
19531 - Disable the "Login" button on the passphrase dialog until the user
19532 enters a valid passphrase or key
19534 Patches from Tom Parker <palfrey tevp net>
19535 * src/backends/NetworkManagerDebian.c
19536 - Add static IP support to the debian backend
19538 * src/backends/interface_parser.[ch]
19539 - Parse debian interface config files
19541 2004-11-08 Dan Williams <dcbw@redhat.com>
19543 * src/NetworkManagerDevice.c
19544 - Some random fprintf->syslog conversions
19545 - (nm_device_wireless_network_exists): double-check for network
19546 - (nm_device_find_and_use_essid): Copy over encryption key no matter what
19548 * src/NetworkManagerWireless.[ch]
19549 - (nm_wireless_[128|64]bit_ascii_to_hex): make "ascii" argument unsigned again
19550 so that the binary->ascii conversion works (if unsigned, the bitshift
19551 will fill with zeros, which is what's required). Also mask bitshift
19552 result with 0xF for futher assurance.
19554 2004-11-06 Dan Williams <dcbw@redhat.com>
19556 * src/NetworkManagerUtils.c
19557 - (nm_get_wireless_driver_support_level): default to
19558 FULLY_SUPPORTED rather than UNSUPPORTED, forgot to
19559 flip this when changing from whitelist->blacklist of
19562 2004-11-05 Dan Williams <dcbw@redhat.com>
19564 Patch from Robert Paskowitz:
19565 * src/backends/NetworkManagerGentoo.c
19566 - Update static IP config code
19568 2004-11-05 Dan Williams <dcbw@redhat.com>
19570 * info-daemon/NetworkManagerInfoDbus.c
19571 src/NetworkManagerDbus.[ch]
19572 src/NetworkManagerDevice.c
19573 - Keep track of the # of attempts to get the WEP key
19574 from the user and pass that along to the info daemon
19576 2004-11-05 Dan Williams <dcbw@redhat.com>
19578 * src/NetworkManagerUtils.c
19579 - Blacklist wireless cards rather than whitelisting them.
19580 - Grab driver name from HAL rather than trying to find it
19583 2004-11-03 Dan Williams <dcbw@redhat.com>
19585 * panel-applet/NMWirelessAppletOtherNetworkDialog.c,
19586 - Disable OK button until valid data is entered
19587 for encryption stuff too
19589 * panel-applet/NMWirelessApplet.c
19590 - Report card strength for current AP if the card
19591 doesn't report strength data for scanned access
19594 * src/NetworkManagerDevice.c
19595 - Smooth out cards reported quality, Atmel card was
19596 intermittently reporting no quality data but soon
19599 * src/NetworkManagerWireless.c
19600 - Better quality data percentage calculation. Atmel
19601 cards (mine at least) seem to report the quality
19602 in percentage format already, so honor that
19604 Patch from <j@bootlab.org>
19606 info-daemon/NetworkManagerInfoPassphraseDialog.c
19607 info-daemon/passphrase.glade
19608 panel-applet/NMWirelessAppletOtherNetworkDialog.c
19609 panel-applet/essid.glade
19610 src/NetworkManagerAP.c
19611 src/NetworkManagerDevice.c
19612 src/NetworkManagerWireless.[ch]
19613 - Support ASCII WEP keys, in both 40/64 bit and 104/128 bit
19615 2004-11-03 Dan Williams <dcbw@redhat.com>
19617 * src/NetworkManagerDevice.[ch]
19618 - (nm_device_set_enc_key): Add parameter to set Authentication
19619 Mode (Open System, Shared Key, or None). We're still using
19620 Shared Key for now though.
19622 2004-11-02 Bryan Clark <clarkbw@cvs.gnome.org>
19624 * panel-applet/menu-info.c: change from bold text to light
19625 colored, may cause problems with some themes, i've tested a lot
19626 and they seem fine.
19628 * panel-applet/NMWirelessApplet.c: fix strength tooltip
19630 2004-11-01 Colin Walters <walters@verbum.org>
19632 * src/NetworkManagerWireless.h, src/NetworkManagerWireless.c
19633 (nm_wireless_128bit_key_from_passphrase): Add const.
19635 * src/NetworkManagerAP.h, src/NetworkManagerAP.c
19636 (nm_ap_set_enc_key_source): Add const.
19638 2004-11-01 Colin Walters <walters@verbum.org>
19640 * .cvsignore: Update.
19642 2004-10-29 Dan Williams <dcbw@redhat.com>
19644 * src/NetworkManagerDevice.c
19645 - (nm_device_wireless_network_exists): Actually use the encryption
19646 key we got from the applet when attempting to find a wireless network
19647 - Don't bring devices down so much since on some cards it triggers
19648 firmware hotplugs each time
19650 * src/NetworkManagerDbus.c
19651 - (nm_dbus_nm_set_active_device): free the passphrase we may have gotten
19654 2004-10-29 Dan Williams <dcbw@redhat.com>
19656 * src/NetworkManager.c
19657 - (nm_hal_device_property_modified): unlock a locked active
19658 wireless device when a wired connection gets a link.
19659 (Means you'll switch to wired whenever you plug in no
19662 2004-10-29 Dan Williams <dcbw@redhat.com>
19664 * panel-applet/NMWirelessAppletOtherNetworksDialog.[ch]
19665 - New files, implement the "Other wireless network" dialog
19667 * panel-applet/NMWirelessApplet.c
19668 - Move "other wireless network" dialog to separate file
19670 * panel-applet/NMWirelessAppletDbus.[ch]
19671 - Take key and key_type paramaters for the set_device function
19673 * panel-applet/essid.glade
19674 - Add UI bits for encryption settings
19676 * src/NetworkManagerDbus.c
19677 - Retrieve key and key_type params for "setActiveDevice" method call
19679 - unref AP returned from nm_device_get_best_ap() when needed
19681 * src/NetworkManagerDevice.c
19682 - (nm_device_get_best_ap): ref the ap before returning it
19683 - unref AP returned from nm_device_get_best_ap() when needed
19684 - (nm_device_activate_wireless): add "ap" parameter so we don't
19685 need to call nm_device_get_best_ap() here, it was pretty much
19687 - (AP_NEED_KEY): break second link check condition out into separate
19688 function, and fix segfault when ap->enc_key_source was NULL
19689 - (nm_device_find_and_use_essid): take key and key_type parameters and
19690 pass them along to nm_device_wireless_network_exists(). If the
19691 network does exist, set the passed-in key+key_type on the AP
19693 * src/NetworkManagerPolicy.c
19694 - unref AP returned from nm_device_get_best_ap() when needed
19696 2004-10-28 Dan Williams <dcbw@redhat.com>
19698 * src/NetworkManagerUtils.c
19699 - (nm_spawn_process): Fix a potential dereference of NULL
19701 Patches from Peter Jones:
19703 * src/NetworkManagerDevice.c
19704 - (nm_device_test_wireless_extensions): Better check for
19707 * src/NetworkManagerUtils.c
19708 - (nm_spawn_process): Pass in valid stdout and stderr so
19709 executed programs don't randomly SIGPIPE and fail
19710 - (nm_get_wired_driver_support_level): quash hal warning
19711 when checking for USB ethernet device
19713 2004-10-27 Dan Williams <dcbw@redhat.com>
19715 * info-daemon/NetworkManagerInfo.c
19716 info-daemon/NetworkManagerInfoDbus.c
19717 info-daemon/NetworkManagerInfoPassphraseDialog.c
19718 panel-applet/NMWirelessApplet.c
19719 - Properly escape gconf keys
19721 * src/NetworkManager.c
19722 - remove unused variables
19724 * src/NetworkManagerAP.c
19725 - (nm_ap_new_from_ap): Don't redundantly set new APs
19726 refcount since it got set in nm_ap_new()
19728 * src/NetworkManagerAPList.c
19729 - (nm_ap_list_combine): Give up ownership of newly created
19730 access points to the ap list, fixes memleak
19732 * src/NetworkManagerDevice.c
19733 - Remove cached_ap_list4 member since its not really needed
19734 - (nm_device_wireless_network_exists): Try to get correct
19735 encryption status of a found AP if its already in our
19737 - (nm_device_do_normal_scan): Clean up scanning a bit, make
19738 memory allocs/deallocs a bit clearer and shorter-lived
19740 2004-10-26 Ray Strode <rstrode@redhat.com>
19742 * panel-applet/NMWirelessApplet.c:
19743 (custom_essid_item_selected): kill some compiler
19746 2004-10-26 John (J5) Palmieri <johnp@redhat.com>
19748 * info-daemon/NetworkManagerInfoDbus.c
19749 - (nmi_dbus_is_running): New function for determining if nmi is already running
19750 - (nmi_dbus_service_init): exit if another instance of nmi is already running
19752 2004-10-23 Dan Williams <dcbw@redhat.com>
19754 * info-daemon/NetworkManagerInfoDbus.c
19755 - Trap the "DeviceActivationFailed" signal
19757 * docs/NetworkManager DBUS API.txt
19758 - Add "DeviceActivationFailed" signal
19760 * panel-applet/NMWirelessAppletDbus.c
19761 - Quash the "NetworkManager service not available" message
19763 * src/NetworkManagerDbus.[ch]
19764 - Add the "DeviceActivationFailed" signal
19766 * src/NetworkManagerDevice.c
19767 - Add support for activation_failed flag
19768 - Fix deadlock where activation thread didn't clean itself up, making
19769 main thread still believe it was alive forever (didn't reset activation
19770 flags like activating, just_activated, etc when IP configuration
19773 * src/NetworkManagerPolicy.c
19774 - Implement logic for DeviceActivationFailed signal, and when activation fails
19775 for wireless networks, try to fall back to some other access point
19777 2004-10-23 Dan Williams <dcbw@redhat.com>
19779 * panel-applet/NMWirelessApplet.[ch]
19780 - Place the GtkMenuBar inside a GtkEventBox, and add the Event Box
19781 to the applet object, so we can get tooltips
19782 - Add tooltips (RH #136866)
19784 * src/NetworkManagerDevice.c
19785 - When trying to find a wireless network, try to connect with encryption
19786 turned on first, so that we can more accurately detect whether or not
19787 we need to use encryption for the actual association later on
19789 2004-10-21 Dan Williams <dcbw@redhat.com>
19791 * Add some support for telling NetworkManagerInfo to tell the user
19792 that they are using a device that's not fully supported
19794 * Fix some assertions in debug messages due to null access point args
19796 2004-10-21 Dan Williams <dcbw@redhat.com>
19798 * src/NetworkManagerDevice.c
19799 - Don't try to activate/bring up/down unsupported
19802 * src/NetworkManagerUtils.c
19803 - Fix case of PCI ID checks for driver support levels
19805 2004-10-21 Dan Williams <dcbw@redhat.com>
19808 - New file, now contains commonly used structures and bits
19809 for the dbus API of NetworkManager
19812 - Deliver NetworkManager.h to ${includedir}/NetworkManager
19814 * src/NetworkManager.h
19815 - Rename -> src/NetworkManagerMain.c
19817 * Various fixups all around to use NetworkManager.h and new
19818 src/NetworkManagerMain.h, remove redundant bits that got
19819 moved into NetworkManager.h
19821 * src/NetworkManagerDevice.[ch]
19822 src/NetworkManagerUtils.[ch]
19823 src/NetworkManagerPolicy.c
19824 src/NetworkManagerDbus.c
19825 - Whitelist wireless drivers, and blacklist some wired
19826 drivers. Also blacklist cipsec and ethernet-over-usb
19827 devices at this time (RH #135722, RH #135648)
19828 - Don't leak unsupported devices out over dbus, or allow
19829 them to be set as the active device. Skip over them
19830 during automatic device picking
19832 * test/nmclienttest.c
19833 - Clean up the dbus code a lot
19835 Tue Oct 19 14:20:29 2004 Jonathan Blandford <jrb@redhat.com>
19837 * configure.in: post release bump.
19839 Tue Oct 19 14:19:24 2004 Jonathan Blandford <jrb@redhat.com>
19842 * NEWS: Released NetworkManager-0.3.1
19844 2004-10-18 Dan Williams <dcbw@redhat.com>
19846 Patches from Thom May:
19847 * test/nmtestdevices.c
19848 - Include <string.h>
19849 * src/backends/NetworkManagerDebian.c:
19850 - (nm_system_device_run_dhcp, nm_system_device_stop_dhcp)
19851 (nm_system_device_flush_routes, nm_system_device_flush_addresses)
19852 Move to using g_strdup_printf rather than arbitrary buffers
19853 - (nm_system_device_setup_static_ip4_config) Implement function.
19854 - (nm_system_kill_all_dhcp_daemons) Use killall -q rather than killall
19856 2004-10-17 Dan Williams <dcbw@redhat.com>
19858 * info-daemon/NetworkManagerInfoDbus.c
19859 - Display name of network in the "network not found" dialog
19861 * panel-applet/NMWirelessAppletDbus.c
19862 - (nmwa_dbus_call_nm_method): new function replaces all other
19863 nmwa_dbus_get_[string|string_array|int|boolean] methods
19864 - nmwa_dbus_get_network_name() and nmwa_dbus_get_device_name()
19865 consolidated into nmwa_dbus_get_object_name()
19867 2004-10-15 Dan Williams <dcbw@redhat.com>
19869 * src/NetworkManagerDbus.c
19870 info-daemon/NetworkManagerInfoDbus.c
19871 - Display an error dialog when the user tries to use an
19872 "Other wireless network" that's not found.
19874 2004-10-15 Dan Williams <dcbw@redhat.com>
19876 * panel-applet/NMWirelessApplet.[ch]
19877 - Fix up corner cases in applet state, making it
19878 look more responsive. Change state to "connecting" when
19879 the user is forcing a device too.
19881 2004-10-15 Dan Williams <dcbw@redhat.com>
19883 * src/NetworkManagerAPList.c
19884 - (nm_ap_list_update_network): Disown AP after the list takes ownership
19886 * src/NetworkManagerDbus.c
19887 - (nm_dbus_nm_set_active_device): Simplify the device setting logic
19889 * src/NetworkManagerDevice.c
19890 - Disown APs after the device's AP list takes ownership
19892 2004-10-15 Dan Williams <dcbw@redhat.com>
19894 * panel-applet/NMWirelessApplet.c
19895 - Update our applet state from the GUI thread
19897 * panel-applet/NMWirelessAppletDbus.c
19898 - Greatly simplify the locking to make the GUI thread
19899 smoother. Update a private copy of the device list
19900 and active device and only when done talking to
19901 NetworkManager turn it over to the GUI thread.
19903 2004-10-15 Dan Williams <dcbw@redhat.com>
19905 * src/NetworkManagerAP.[ch]
19906 - Add "artificial" get/set functions, set for APs that
19907 aren't discovered as part of a scan but instead
19908 discovered by force-setting the ESSID
19910 * src/NetworkManagerDevice.[ch]
19911 - (nm_device_wireless_network_exists): pass back whether
19912 or not the discovered AP was encrypted. Also, try
19913 falling back to encrypted mode on the card if unencrypted
19914 association doesn't work
19915 - (nm_device_find_and_use_essid): If the network requested
19916 did in fact exists, but it wasn't in our scan list, add
19917 an "artificial" entry for it. Some Cisco cards don't
19918 see non-ESSID-broadcasting APs in their scan but can still
19919 associate with them if you know the ESSID, this works around
19921 - (nm_device_do_normal_scan): Carry "artificial" APs over from scan
19922 to scan if the card is currently associated with that AP
19924 2004-10-15 Dan Williams <dcbw@redhat.com>
19926 ---- We have a website ----
19927 http://people.redhat.com/dcbw/NetworkManager
19929 Patch from Robert Paskowitz:
19930 * src/NetworkManager.c
19931 - (main): Make sure we are run as root
19932 * src/NetworkManagerDevice.c
19933 - Fix type in ad-hoc setting function
19935 Patch from Thom May:
19936 * src/backends/NetworkManagerDebian.c
19937 - Make Debian backend compile again
19939 2004-10-14 Dan Williams <dcbw@redhat.com>
19941 * Tagged NetworkManager-0_3
19943 2004-10-14 Dan Williams <dcbw@redhat.com>
19945 Patch from Robert Paskowitz:
19947 src/NetworkManagerDevice.[ch]
19948 src/backends/NetworkManagerDebian.c
19949 src/backends/NetworkManagerGentoo.c
19950 src/backends/NetworkManagerRedHat.c
19951 src/backends/NetworkManagerSlackware.c
19952 - Add support for grabbing and using a broadcast address
19953 from system config files
19954 - Some Gentoo backend fixes for grabbing network config
19955 - Fix LOG_WARN->LOG_WARNING
19957 2004-10-14 Dan Williams <dcbw@redhat.com>
19959 * NEWS: a few small fixes in the credits
19961 Thu Oct 14 19:12:58 2004 Jonathan Blandford <jrb@redhat.com>
19963 * NEWS: prep for release.
19965 Thu Oct 14 16:47:12 2004 Jonathan Blandford <jrb@redhat.com>
19967 * panel-applet/NMWirelessAppletDbus.c
19968 (nmwa_dbus_update_device_wireless_networks): remove warnings.
19970 Thu Oct 14 16:40:39 2004 Jonathan Blandford <jrb@redhat.com>
19972 * panel-applet/NMWirelessApplet.c (animation_timeout): Make
19973 applet->state == APPLET_STATE_NO_NM animation.
19975 * panel-applet/NMWirelessApplet.c (custom_essid_item_selected):
19976 set the text correctly.
19978 2004-10-14 Dan Williams <dcbw@redhat.com>
19980 * src/NetworkManager.c
19981 - Only accept and manager 802.3 and 802.11 devices
19983 * src/NetworkManagerDbus.[ch]
19984 - (nm_dbus_nm_set_active_device): move most of the actual activation
19985 logic into NetworkManagerDevice.c
19986 - (nm_dbus_network_status_from_data): new function
19987 - (nm_dbus_signal_network_status_change): new function, unused for now
19988 - (nm_dbus_nm_message_handler): use nm_dbus_network_status_from_data () now
19990 * src/NetworkManagerDevice.[ch]
19991 - (nm_device_find_and_use_essid): new function. Search for, and if found use,
19994 2004-10-14 John (J5) Palmieri <johnp@redhat.com>
19996 * info-daemon/NetworkManagerInfo.c
19997 - (main): Added session management
19999 2004-10-14 Dan Williams <dcbw@redhat.com>
20001 * panel-applet/NMWirelessAppletDbus.[ch]
20002 - Expose network_device_[un]ref()
20003 - Expose wireless_network_[un]ref()
20004 - (wireless_network_new_with_essid): new function, create and return
20005 a wireless network with a particular essid
20007 * panel-applet/NMWirelessApplet.c
20008 - Hook up the "other network" dialog to do something
20010 Wed Oct 13 19:31:53 2004 Jonathan Blandford <jrb@redhat.com>
20012 * panel-applet/NMWirelessApplet.c: Add an essid dialog. It
20013 doesn't work yet, but it looks okay.
20015 * panel-applet/icons/*png: Resize to 22x22 and install in the
20018 2004-10-13 Dan Williams <dcbw@redhat.com>
20020 * panel-applet/NMWirelessApplet.c
20021 - Add function to print out applet_state in a readable
20024 * src/NetworkManager.c
20025 - (main): Don't segfault when nm_dbus_init() fails, we had
20026 a left-over call to hal_shutdown() into which we passed NULL
20028 * src/NetworkManagerAP.c
20029 - (nm_ap_set_essid): Allow NULL essids
20031 * src/NetworkManagerAPList.[ch]
20032 - More use of nm_ap_list_[un]lock ()
20033 - (nm_ap_list_get_ap_by_essid): don't warn when looking for a NULL
20034 network/essid, just return nothing. Also skip over NULL
20035 essid access points in the list when searching
20036 - (nm_ap_list_get_ap_by_address): new function
20037 - (nm_ap_list_update_network): set the access point's key source to
20038 NULL when the key returned from NetworkManagerInfo is NULL or
20040 - nm_ap_list_update_keys() -> nm_ap_list_update_properties(), and
20041 copy timestamp over too
20042 - (nm_ap_list_copy_essids_by_address): new function, attempt to
20043 find the correct ESSID for a blank-essid access point by searching
20044 through another list and matching access point MAC addresses
20045 - (nm_ap_list_diff): exclude blank-essid access points from the diffs
20047 * src/NetworkManagerDbus.c
20048 - (nm_dbus_nm_set_active_device): deal with random networks the user
20049 may specify. This is mainly for access points that don't
20050 broadcast their essid. So if the user tells us to associate with
20051 some random ESSID that's not in our access point list, we find
20052 out if the access point does in fact exist (by attempting association
20053 and then matching that access point's MAC address with the essid the
20054 user gave us) and then we switch to it.
20055 - (nm_dbus_devices_handle_request): don't add blank-essid access points
20056 to the returned list of networks for the "getNetworks" method
20058 * src/NetworkManagerDevice.[ch]
20059 - Extra debugging info for link detection
20060 - (nm_device_ap_list_get_ap_by_address): new function, return an AP
20061 based on MAC address
20062 - (nm_device_get_path_for_ap): ignore blank-essid access points
20063 - (nm_device_wireless_network_exists): new function, find out whether
20064 a random ESSID exists by attempting to associate with it
20065 - (nm_device_do_normal_scan): allow blank-essid access points in our
20066 device list as long as they have an AP MAC address we can use.
20067 Also send WirelessNetwork[Dis]Appeared signals for non-active
20068 devices too. Lets the applet update more frequently.
20070 * src/backends/NetworkManagerGentoo.c
20071 - Patch from: Robert Paskowitz
20072 - Update backend code for Gentoo
20073 - Implement nm_system_device_update_config_info ()
20075 * test/nmclienttest.c
20076 - (set_network_device): new function, takes a command-line argument
20077 and tells NetworkManager to use that wireless network
20079 Wed Oct 13 John (J5) Palmieri <johnp@redhat.com>
20081 * info-daemon/NetworkManagerInfo.c (nmi_spawn_notification_icon): Stop respawning
20082 if the notification icon crashes 5 times within 5 seconds of each respawn
20084 Tue Oct 12 22:53:04 2004 Jonathan Blandford <jrb@redhat.com>
20086 * panel-applet/NMWirelessApplet.c (nmwa_update_state): remove
20089 Tue Oct 12 22:44:15 2004 Jonathan Blandford <jrb@redhat.com>
20091 * panel-applet/NMWirelessApplet.h: Change the name of the icons.
20093 * panel-applet/NMWirelessApplet.c: (animation_timeout),
20094 (nmwa_update_state), (nmwa_destroy), (nmwa_setup_widgets),
20095 (nmwa_icons_free), (nmwa_icons_load_from_disk), (nmwa_icons_init):
20096 Change the name of the icons.
20098 * panel-applet/menu-info.c: (nm_menu_wired_class_init),
20099 (nm_menu_wired_expose_event), (nm_menu_network_class_init),
20100 (nm_menu_wireless_class_init), (nm_menu_wireless_new),
20101 (nm_menu_wireless_expose_event): Really bad hack to get the style
20102 to draw in the right color.
20104 Tue Oct 12 John (J5) Palmieri <johnp@redhat.com>
20106 * info-daemon/NetworkManagerInfo.c (main): Add child watch to respawn
20107 Notification if it crashes
20109 Fri Oct 8 07:19:55 2004 Jonathan Blandford <jrb@redhat.com>
20111 * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_get_double):
20112 (nmwa_dbus_get_string): remove unused functions
20114 * panel-applet/NMWirelessApplet.c (nmwa_about_cb):
20115 (nmwa_cancel_timeout), (nmwa_get_menu_pos), (nmwa_factory):
20116 remove unused functions
20118 * panel-applet/NMWirelessApplet.c: Rewrite icon code.
20120 2004-10-12 Dan Williams <dcbw@redhat.com>
20122 * panel-applet/NMWirelessAppletDbus.c
20124 wireless_network_new
20125 wireless_network_copy
20127 network_device_copy
20129 * src/NetworkManagerDevice.[ch]
20131 nm_device_set_mode_managed
20132 nm_device_set_mode_adhoc
20133 - Use these functions where appropriate
20134 - When creating a new wireless device, force the card
20135 to managed/Infrastructure mode as soon as possible
20137 2004-10-12 Dan Williams <dcbw@redhat.com>
20139 * src/NetworkManagerDevice.c
20140 - Force wireless cards into Infrastructure mode before we use them
20142 2004-10-12 Dan Williams <dcbw@redhat.com>
20145 - Remove bit about static IP address support
20147 * src/NetworkManagerUtils.c
20148 - (nm_spawn_process): Add some error reporting
20150 * src/NetworkManagerDevice.c
20151 - (nm_device_activation_configure_ip): hook up to the static config
20152 routines in the backends
20154 * src/backends/NetworkManagerRedHat.c
20155 - (nm_system_device_update_config_info): use shvar.c routines to
20156 parse the config file iformation, not our own
20157 - (nm_system_device_setup_static_ip4_config): new function, based
20158 heavily on 'ifup' script and 'ipcalc' tool code. Set up a device
20159 with a static IP address and gateway
20161 * src/backends/shvar.[ch]
20162 - Parser (filched from initscripts package) for ifcfg-* files
20164 * src/backends/NetworkManagerSystem.h
20165 src/backends/NetworkManagerGentoo.c
20166 src/backends/NetworkManagerDebian.c
20167 src/backends/NetworkManagerSlackware.c
20168 - Stub nm_system_device_update_config_info() and nm_system_device_setup_static_ip4_config()
20170 2004-10-11 Dan Williams <dcbw@redhat.com>
20173 - Remove bit about more robust AP diffing since I just implemented it
20175 2004-10-11 Dan Williams <dcbw@redhat.com>
20177 * src/NetworkManagerAP.c
20178 - (nm_ap_new, nm_ap_new_from_ap): Don't crash when we don't have
20179 enough RAM to allocate new AP structures, but return NULL instead
20181 * src/NetworkManagerAPList.[ch]
20182 - (nm_ap_list_is_empty): new function
20183 - (nm_ap_list_combine): new function, combine two access point lists
20184 - (nm_ap_list_copy_keys): new function, copy keys from one list
20187 * src/NetworkManagerDevice.[ch]
20188 - Rename some functions to be clearer:
20189 nm_device_get_best_ap_frozen -> nm_device_is_best_ap_frozen
20190 nm_device_just_activated -> nm_device_is_just_activated
20191 nm_device_activating -> nm_device_is_activating
20192 nm_device_now_scanning -> nm_device_is_scanning
20193 - Cache the last 4 scans so that the access point list is more stable.
20194 We combine the lastest two scans and use that as the AP list,
20195 and diff that combined list against the combination of the earliest
20196 two cached scans for the WirelessNetworkAppeared/Dissappeared signals
20198 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
20200 * info-daemon/NWManagerInfo.h
20201 - (struct NetworkManagerInfo): add shutdown_timeout GSource
20203 * info-daemon/NWManagerInfoDbus.c
20204 - (shutdown_callback): new function
20205 - (nmi_dbus_filter): Create a 30 second timeout until shutdown
20206 if NetworkManager goes away. Kill the timeout
20207 if NetworkManager restarts before the 30 seconds
20209 - (nmi_dbus_service_init):
20210 - call gtk_main_quit if NetworkManager is not running
20211 - add filters to monitor dbus service creations and
20214 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
20216 * panel-applet/NMWirelessApplet.c
20217 - (nmwa_update_state): Hide notification icon if we are only
20218 showing one wired card and no wireless interfaces
20219 (Red Hat Bug #134895)
20221 * panel-applet/NMWirelessAppletDbus.c
20222 - (nmwa_dbus_filter): changed exit to gtk_main_quit ()
20224 * info-daemon/NWManagerInfo.c
20225 - (main): Terminated the notification_icon_cmd array with a NULL
20227 2004-10-08 Hendrik Brandt <hebra@cvs.gnome.org>
20229 * configure.in (ALL_LINGUAS): Added de (German).
20231 2004-10-08 Dan Williams <dcbw@redaht.com>
20233 * src/NetworkManagerDevice.c
20234 - Be a bit more robust about link checking, ie make sure that
20235 the WEP key we were given actually has some data in it
20237 2004-10-08 Dan Williams <dcbw@redhat.com>
20239 * info-daemon/NetworkManagerInfo.c (main):
20240 - Initialize GError object to NULL
20242 2004-10-08 Dan Williams <dcbw@redhat.com>
20244 * panel-applet/NMWirelessAppletDbus.c
20245 - Die if NetworkManagerInfo dies, since it manages our lifetime
20247 2004-10-08 Dan Williams <dcbw@redhat.com>
20249 * info-daemon/NetworkManagerInfo.[ch]
20250 info-dameon/NetworkManagerInfoDbus.[ch]
20251 info-daemon/NetworkManagerInfoPassphraseDialog.[ch]
20252 - Preserve original label text in the passphrase dialog so that
20253 it actually gets updated with the new network name the next
20254 time around. Previously, we were overwriting it so you'd get
20255 the wrong network name to enter a key for
20256 - Add a "Key Type" combo to the passphrase dialog, user selects
20257 encryption key type now, type is stored in GConf too
20258 - Adjust NM<->NMI DBUS protocol to pass the key type back to NM too
20260 * src/NetworkManagerAP.[ch]
20261 - Remove all the encyption method magic. It's now set by the user
20262 and NetworkManager retrieves the type of encryption key from
20265 * src/NetworkManagerAPList.[ch]
20266 src/NetworkManagerDbus.[ch]
20267 - Adjust to new way of setting encryption key and method
20268 - Pull encryption method down from NMI along with key
20270 * src/NetworkManagerDevice.[ch]
20271 - Removed encryption method fallback magic as the method is now
20272 determined by the user. This greatly simplifies the connection
20274 - More robust connection/link logic. Besides removing the encryption
20275 method fallback magic, check whether or not the card is receiving
20276 invalidly encrypted packets, which usually indicates that we have
20278 - Don't blindly forge ahead when DHCP fails (still not completely fixed)
20280 * test/nminfotest.c
20281 - Test out new "Key Type" stuff in the NMI passphrase dialog
20283 2004-10-07 Dan Williams <dcbw@redhat.com>
20285 * info-daemon/NetworkManagerInfo.conf
20286 - Allow root user to run NMI too
20288 2004-10-06 Dan Williams <dcbw@redhat.com>
20290 * src/NetworkManagerDevice.[ch]
20291 src/NetworkManagerDbus.c
20292 doc/NetworkManager DBUS API.txt
20293 - Add a new status tag "scanning", which is set when there
20294 is no active network connection, but NetworkManager is
20295 looking for an access point to associate with
20297 * panel-applet/main.c
20298 - Cast the applet appropriately for gtk_widget_show_all ()
20300 Mon Oct 4 12:55:41 2004 Jonathan Blandford <jrb@redhat.com>
20302 * panel-applet/eggtrayicon.[ch]:
20303 * panel-applet/main.c: Add missing file
20305 2004-10-04 Dan Williams <dcbw@redhat.com>
20307 * src/NetworkManagerDevice.[ch]
20308 - Add a slightly more robust method of determining if the WEP key
20309 is correct or not, by checking the WEP-discarded packet count
20312 * info-daemon/NetworkManagerInfo.c
20313 - (nmi_gconf_notify_callback): Fix GConf essid escaping, should
20314 un-escape values we pull out rather than escaping them
20316 2004-10-03 Marcel Telka <marcel@telka.sk>
20318 * configure.in (ALL_LINGUAS): Added sk.
20320 Fri Oct 1 18:26:03 2004 Jonathan Blandford <jrb@redhat.com>
20322 * panel-applet/menu-info.c (nm_menu_wired_class_init): update look
20323 and feel. We should be back to working, and have a good, clean
20326 2004-09-30 Dan Williams <dcbw@redhat.com>
20328 * info-daemon/NetworkManagerInfo.c
20329 info-daemon/NetworkManagerInfoDbus.c
20331 - Escape ESSIDs in gconf
20333 * src/NetworkManagerDevice.c
20334 - Fix pseudo-scanning to use netowrk list from info daemon
20336 Wed Sep 29 18:18:24 2004 Jonathan Blandford <jrb@redhat.com>
20338 * configure.in: Add a temporary --enable-notification-icon. This
20339 will prolly go away.
20341 * info-daemon/Makefile.am:
20342 * info-daemon/NetworkManagerInfo.c:
20343 * info-daemon/NetworkManagerInfo.h: Use a notification icon.
20345 * panel-applet/Makefile.am:
20346 * panel-applet/NMWirelessApplet.c: Turn into a notification icon
20347 * panel-applet/NMWirelessApplet.h:
20349 Tue Sep 28 16:35:20 2004 Jonathan Blandford <jrb@redhat.com>
20351 * panel-applet/NMWirelessApplet.c: Fix deadlock. Add a separator
20352 before 'select custom ESSID'.
20354 * panel-applet/menu-info.c: Start rewrite for better headers. Not
20355 fully complete, but syncing in prep for merge.
20357 * panel-applet/icons/*png: New images
20359 2004-09-28 Dan Williams <dcbw@redhat.com>
20361 * src/NetworkManager.c
20362 src/NetworkManagerDevice.c
20363 src/NetworkManagerPolicy.c
20364 - Don't blow away an active wired connection on startup
20366 2004-09-28 Bryan Clark <clarkbw@cvs.gnome.org>
20370 * info-daemon/NetworkManagerInfo.conf: fixed own permissions
20372 * info-daemon/NetworkManagerInfoDbus.c: added service name to
20375 Wed Sep 22 14:19:48 2004 Jonathan Blandford <jrb@redhat.com>
20377 * panel-applet/NMWirelessApplet.c: Only add essid's if we actually
20378 have a wireless card.
20380 Wed Sep 22 14:05:48 2004 Jonathan Blandford <jrb@redhat.com>
20382 * panel-applet/NMWirelessApplet.c: move the custom essid item.
20383 Also, get the right device strings.
20385 Wed Sep 22 13:51:45 2004 Jonathan Blandford <jrb@redhat.com>
20387 * panel-applet/menu-info.c (nm_menu_network_draw_indicator): Flip
20388 the logic to make this right.
20390 * panel-applet/NMWirelessApplet.c (sort_networks_function): sort
20391 devices so that wired networks are always first.
20393 2004-09-22 <clarkbw@cvs.gnome.org>
20395 * initscript/Debian/.cvsignore:
20396 * initscript/Slackware/.cvsignore:
20397 Added new cvsignores for Makefile, Makefile.in
20400 Added nmtestdevices
20402 * src/NetworkManagerDevice.c:
20403 * src/NetworkManager.c:
20404 Updated the wireless/wired HAL device strings from net.ethernet to
20405 net.80203 or net.80211 depending on wired or wireless respectively
20407 * examples/python/NetworkManager.py:
20408 s/Quality/Strength/
20410 * examples/python/systray/network_tray.py:
20411 Lots of little changes and fixes. been rotting for a while so I
20412 figured I'd finally sync them all with CVS
20414 Tue Sep 21 18:05:34 2004 Jonathan Blandford <jrb@redhat.com>
20416 * configure.in: Add graphics
20418 * panel-applet/Makefile.am: Add graphics
20420 * panel-applet/icons/*: Add graphics
20422 * panel-applet/NMWirelessApplet.c: Use new menu times to display
20423 the icons fully lined up.
20425 * panel-applet/menu-info.c:
20426 * panel-applet/menu-info.h: Add another menu type.
20428 Fri Sep 17 14:04:34 2004 Jonathan Blandford <jrb@redhat.com>
20430 * panel-applet/NMWirelessApplet.c: Redo the menu item code.
20432 * panel-applet/menu-item.[ch]: Wireless menu item.
20434 2004-09-15 John (J5) Palmieri <johnp@redhat.com>
20436 * info-daemon/NetworkManagerInfo.conf
20437 - Created a more robust security policy for the DBus service
20438 - everything is denied by default
20439 - root can own and send to the service
20440 - users logged in at the console can send to the service
20442 2004-09-13 Dan Williams <dcbw@redhat.com>
20444 * src/NetworkManagerDevice.c
20445 - (nm_device_get_essid): use iw_get_basic_config() rather than
20446 iw_get_ext (SIOCGIWESSID) since prism54 cards don't like
20449 2004-09-13 Dan Williams <dcbw@redhat.com>
20453 * docs/NetworkManager DBUS API.txt
20454 - Update for new signal strength changes
20456 * panel-applet/NMWirelessApplet.c
20457 - Make panel icon show strength of the current connection
20458 - Cleanups and memleak fixes
20460 * panel-applet/NMWirelessApplet.h
20461 - Add data members for signal strength on devices and networks
20463 * panel-applet/NMWirelessAppletDbus.c
20464 - Free more DBusErrors
20465 - Update for new signal strength changes
20466 - Make devices and networks more like real objects, use ref/unref methods
20467 - Actually unlock the mutex when updating the active device
20469 * src/NetworkManagerAP.c
20470 - Change AP functions and data members from "quality"->"strength"
20472 * src/NetworkManagerDbus.c
20473 - Kill "getMaxQuality" and "getQuality" methods
20474 - Add "getStrength" methods for Networks and Devices
20476 * src/NetworkManagerDevice.[ch]
20477 - Add accessors for device strength
20478 - Add functions to update strength for a device. Note that not all drivers
20479 actually support signal strength for scanned access points (Atmel drivers
20481 - Calculate signal strength for each AP during scan
20483 * src/NetworkManagerWireless.[ch]
20484 - Add function to return signal strength % from a device and a raw quality struct
20486 * test/nmclienttest.c
20487 - Update for new signal strength changes
20489 2004-09-11 Dan Williams <dcbw@redhat.com>
20491 * src/NetworkManager.c
20492 - Fix race condition between initscripts and NM on card insertion
20493 which could cause a card to keep an IP address and routes around
20494 even when it was not the active device
20496 * src/NetworkManagerDbus.c
20497 - Fix compile errors, free more DBusErrors
20499 2004-09-11 Dan Williams <dcbw@redhat.com>
20501 * docs/NetworkManager DBUS API.txt
20502 - Add an explanation of NM's API
20504 * src/NetworkManagerDbus.c
20505 - Free some more DBusErrors if needed
20507 2004-09-11 Dan Williams <dcbw@redhat.com>
20509 * panel-applet/NMWirelessApplet.c
20510 panel-applet/NMWirelessAppletDbus.c
20511 - Start using NetworkDevice/WirelessNetwork structures in more places
20512 - Update for unified device/network forcing in NetworkManager
20514 * src/NetworkManager.c
20515 - some code consolidation
20517 * src/NetworkManagerDbus.c
20518 - (nm_dbus_nm_set_active_device): "setActiveDevice" now takes either one
20519 or two arguments: the first is the NM ID of the device to switch to,
20520 and the second (optional) argument is the ESSID of a wireless network
20522 - Get rid of "setNetwork" method due to above change
20524 * src/NetworkManagerDevice.c
20525 - (nm_device_new): perform scan and update best AP on device creation
20526 - nm_device_activation_cancel_if_needed()->nm_device_activation_should_cancel()
20527 - nm_device_activation_signal_cancel()->nm_device_activation_cancel(), and
20528 spin waiting for cancellation to finish before returning
20530 * src/NetworkManagerPolicy.c
20531 - Changes here clarify the situations in which a device switch occurs, and
20532 make sure to keep using a forced device and network if the user gives
20534 - Remove old unused code
20536 2004-09-11 Martin Willemoes Hansen <mwh@sysrq.dk>
20538 * configure.in: Added Danish (da) to ALL_LINGUAS.
20540 2004-09-09 Dan Williams <dcbw@redhat.com>
20542 * panel-applet/NMWirelessAppletDbus.c
20543 - Pull fresh devices and networks from NM when wireless networks
20544 change. Provides faster feedback of a forced wireless network
20546 * src/NetworkManagerDbus.c
20547 - Return error when "getMaxQuality" is called on a wired device
20548 - Make best_ap freezing actually work again, and signal cancellation
20549 of activation if there's already a device activation when the user
20550 freezes the best_ap
20552 * src/NetworkManagerDevice.c
20553 - Don't clear out the best_ap for wireless devices when the link goes
20554 down, that's done elsewhere
20555 - Kill any dhcp daemons when cancelling device activation since they
20556 may be stuck waiting for a DHCP address, and since we're cancelling
20557 activation we don't care about that anymore
20559 * src/NetworkManagerPolicy.c
20560 - Make sure to unref the device we ref earlier (we refed it to make sure
20561 it stuck around during device activation and such)
20562 - If we were going to change the best device, but its activating currently
20563 (and therefore the change didn't occur due to the check earlier)
20564 we mark the state changed to we come back to it later when device
20565 activation has canceled and its no longer activating
20567 * src/backends/NetworkManagerRedHat.c
20568 - SIGKILL dhcp daemons rather than SIGTERM-ing them
20570 2004-09-09 Bryan Clark <clarkbw@cvs.gnome.org>
20572 * info-daemon/passphrase.glade:
20573 set passphrase input to activates_default : True
20575 * examples/python/systray/network_tray.py
20576 (network_tray.sort_networks):
20578 Added support for having wireless always scanning
20580 2004-09-09 Dan Williams <dcbw@redhat.com>
20582 NOTE: this commit changes the behavior of wireless devices in
20583 NetworkManager. They are now up all the time, scanning all
20584 the time. Only the active device has an IP address and routing
20585 information set up however. Also, NetworkManager will no longer
20586 opportunistically switch wireless networks when a better one
20587 comes in range, it will remain associated with one wireless network
20588 until that one drops out.
20590 * panel-applet/NMWirelessApplet.c
20591 panel-applet/NMWirelessAppletDbus.c
20592 - List all wireless cards and their respective networks
20594 * src/NMLoadModules
20595 - Use full path to /sbin/ip
20597 * src/NetworkManager.c
20598 - Keep wireless devices up all the time so they can scan
20600 * src/NetworkManagerDbus.c
20601 - On a WirelessNetworkUpdate signal from NMI, don't update
20604 * src/NetworkManagerDevice.c
20605 - (nm_device_set_link_active): clear out the best ap for
20606 wireless devices when the link is set to FALSE
20607 - Scan on all wireless cards, all the time
20608 - (nm_device_activation_worker): split out the wireless card
20609 link-waiting code to a separate function
20610 - Keep wireless cards up even if device activation fails
20611 - Don't update the "best" ap as much
20613 * src/NetworkManagerPolicy.c
20614 - Don't update the best ap when checking if its frozen,
20615 let link checking clear out a frozen best ap for us
20617 * src/NetworkManagerWireless.c
20618 - Scan on all wireless cards, all the time
20620 2004-09-09 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
20622 * configure.in: Added 'es' (Spanish) to ALL_LINGUAS.
20624 2004-09-09 Ankit Patel <ankit@redhat.com>
20626 * configure.in: Added 'gu' (Gujarati) to ALL_LINGUAS.
20628 2004-09-09 Pablo Saratxaga <pablo@mandrakesoft.com>
20630 * configure.in: Added Walloon (wa) to ALL_LINGUAS.
20632 2004-09-08 Bryan Clark <clarkbw@cvs.gnome.org>
20634 * examples/python/NetworkManager.py:
20635 added CONNECTED, CONNECTING, and DISCONNECTED states
20636 added methods to return number of devices of a single type
20638 * examples/python/systray/network_tray.py:
20639 did some tweaks to get the menu looking near what it is supposed
20640 to look like. Also did a Airo card hack to make it show the
20643 2004-09-08 Dan Williams <dcbw@redhat.com>
20645 * panel-applet/no-networkmanager.png
20646 panel-applet/Makefile.am
20647 panel-applet/NMWirelessApplet.c
20648 - Add a "NetworkManager not running" icon and use it
20649 - Use new consolidated GConf keys rather than Preferred/Trusted
20653 * info-daemon/NetworkManagerInfo.c
20654 info-daemon/NetworkManagerInfoDbus.[ch]
20655 info-daemon/NetworkManagerInfoPassphraseDialog.c
20656 - There are now no longer two separate lists of wireless networks,
20657 but one list where each network is "trusted" or not trusted
20658 - Add a "getNetworkTrusted" dbus method
20659 - "WirelessNetworkUpdate" signal now sent rather than
20660 "PreferredNetworkUpdate/TrustedNetworkUpdate" signals
20661 - Start freeing some dbus errors (not completed yet)
20663 * info-daemon/passphrase.glade
20664 - Remove the "don't show" hints for pager and taskbar
20665 - Add a title since its going to be in the taskbar
20667 * src/NetworkManager.[ch]
20668 src/NetworkManagerAPList.[ch]
20669 - There are now no longer two separate lists of wireless networks,
20670 but one list where each network is "trusted" or not trusted
20672 * src/NetworkManagerAP.[ch]
20673 - Add get/set "trusted" accessors and data bit
20675 * src/NetworkManagerDbus.[ch]
20676 - Add function to get "trusted" status of a network from NetworkManagerInfo
20677 - Trap new WirelessNetworkUpdate signal rather than old separate signals
20679 * src/NetworkManagerDevice.[ch]
20680 - Add per-device config data (ip4 addr, gateway, netmask) and accessors
20681 - (nm_device_new): Get device config from backend when initializing devices
20682 - (nm_device_activation_worker): Split out device configuration on
20683 activation to deal with static/dynamic IP differences, and try encryption
20684 fallbacks on a device if the encryption method for the best AP is not good
20685 - (nm_device_update_best_ap): convert to new consolidated access point lists from
20686 NetworkManagerInfo, and copy over latest NMI info to best_ap when setting it
20688 * src/NetworkManagerWireless.c
20689 - libgcrypt code wasn't converting the MD5 digest to an ascii string, fix it
20691 * src/backends/NetworkManagerRedHat.c
20692 src/backends/NetworkManagerSystem.h
20693 - (nm_system_device_update_config_info): Add function to get device configuration
20694 from system data in ifcfg-* files
20696 * src/backends/NetworkManagerDebian.c
20697 src/backends/NetworkManagerGentoo.c
20698 src/backends/NetworkManagerSlackware.c
20699 - Add stub functions for getting device configuration
20701 2004-09-07 Dan Williams <dcbw@redhat.com>
20703 * src/backends/NetworkManagerRedhat.c
20704 src/backends/NetworkManagerSlackware.c
20705 - Use full path to /sbin/ip everywhere
20707 2004-09-07 Dan Williams <dcbw@redhat.com>
20709 Patch from: Narayan Newton <narayan_newton@yahoo.com>
20712 initscript/Makefile.am
20713 initscript/Slackware/Makfile.am
20714 initscript/Slackware/rc.networkmanager
20716 src/backends/NetworkManagerSlackware.c
20717 - Add Slackware support
20719 2004-09-07 Dan Williams <dcbw@redhat.com>
20721 Patches below from:
20723 Mark Roach <mrroach@okmaybe.com>
20724 Thom May <thom@debian.org>
20727 initscript/Debian/NetworkManager
20728 initscript/Debian/Makefile.am
20729 - Initscript for Debian
20731 * src/backends/NetworkManagerDebian.c
20732 - Add missing system init function to allow compilation
20735 2004-09-03 Raphael Higino <raphaelh@cvs.gnome.org>
20737 * configure.in: Added 'pt_BR' to ALL_LINGUAS.
20739 2004-09-03 Akagic Amila <bono@linux.org.ba>
20741 * configure.in: Added 'bs' to ALL_LINGUAS.
20743 2004-09-02 Colin Walters <walters@verbum.org>
20745 * src/backends/NetworkManagerRedHat.c (nm_system_device_run_dhcp)
20746 (nm_system_device_stop_dhcp, nm_system_device_flush_routes): Use
20747 g_strdup_printf instead of arbitrarily sized buffers.
20749 2004-09-01 Colin Walters <walters@verbum.org>
20751 * NetworkManager.pc.in: New file.
20753 * Makefile.am, .cvsignore, configure.in: Add NetworkManager.pc.
20755 2004-09-01 Amanpreet Singh Alam <aalam@redhat.com>
20757 * configure.in: Punjabi(pa) is added to po/.
20759 2004-08-31 Dan Williams <dcbw@redhat.com>
20761 * Remove 'debug' extern global from all files since we now
20764 * src/NetworkManager.[ch]
20765 - Break out routine that get the net.interface property from HAL,
20766 removing that logic from nm_create_device_and_add_to_list()
20767 - (nm_create_device_and_add_to_list): make this a bit more general so
20768 it doesn't do the talking to HAL. Also add arguments to facilitate
20769 the create of test devices.
20770 - (nm_data_mark_state_changed): rename from nm_data_set_state_modified()
20771 - (nm_data_new, main, nm_print_usage): add new argument "--enable-test-devices"
20772 which makes NetworkManager listen for dbus commands to create test
20773 devices, which have no backing hardware. Use when you're on a plane
20774 for example, and/or forgot your wireless card at home. Test devices
20775 _cannot_ be created unless NM is started with --enable-test-devices.
20777 * src/NetworkManagerDbus.[ch]
20778 - New "getLinkActive" method for devices
20779 - New "setLinkActive" method for devices (only works on test devices)
20780 - New "createTestDevice" method on NetworkManager object to create a test
20781 device of a specified type (ie wired, wireless). UDI is created from
20782 scratch, as is the interface name. Only works when NM is started with
20783 --enable-test-devices switch.
20784 - New "removeTestDevice" method on NetworkManager object which removes a
20785 test device. Only works when NM is started with --enable-test-devices
20787 * src/NetworkManagerDevice.[ch]
20788 - Logic to facilitate test devices. Add variables to NMDevice struct to indicate
20789 whether a device is a test device or not, and what its link status is.
20790 - Deal with test devices in most functions. For those that work directly on hardware
20791 special-case test devices.
20792 - (nm_device_new): don't create a test device if test devices weren't enabled on the
20794 - (nm_device_update_link_active): split out logic for wired and wireless device link
20795 checking to separate functions to facilitate test device link checking.
20796 - (nm_device_set_enc_key): Since some drivers for wireless cards are daft and
20797 don't make a distinction between System Authentication and Encryption
20798 (namely Cisco aironet), we use Open System auth when setting a WEP key
20799 on the card. We don't deal with Shared Key auth yet.
20800 - (nm_device_activation_worker): split the activation cancel check logic out into
20801 a separate routine nm_device_activation_cancel_if_needed()
20802 - (nm_device_activation_signal_cancel): rename from nm_device_activation_cancel()
20803 - (nm_device_fake_ap_list): Test wireless devices obviously cannot scan, so create
20804 a list of fake access points that they can "see"
20805 - (nm_device_is_test_device): return whether or not a device is a test device
20807 * src/NetworkManagerPolicy.c
20808 - (nm_policy_get_best_device): attempt to deal with wireless network selection,
20809 previously if you "locked"/forced NM to use a wireless device but then
20810 selected a wireless network for NM to use, it would switch to a wired device.
20811 So, if the active device is wireless and it has a "forced" best AP, use it
20812 if the "forced" best AP is still valid
20813 - (nm_state_modification_monitor): deal with NULL best devices, for example
20814 there were no usable network devices, or the last one was removed
20816 * src/backends/NetworkManager*.c
20817 - Deal with test devices, mostly just return success for operations like getting
20820 * test/nmtestdevices.c
20821 - Test tool to create/remove/link-switch test devices
20823 2004-08-30 Bryan Clark <clarkbw@cvs.gnome.org>
20825 * examples/python/NetworkManager.py:
20826 added convience functions has_wired_device and has_wireless_device
20828 * examples/python/systray/network_tray.py:
20829 cleaned up a bunch of cruft, added support for listing wireless
20830 networks just like the real applet. This is probably all I'm
20831 going to work on this applet from now on.
20832 TODO: add support for actually changing networks and devices
20834 * examples/python/NetworkManager.py (NetworkManager.get_device):
20835 changed "nm.networks" into a dict from a list so I can store all
20836 the cool information about networks in there
20838 * examples/python/systray/network_tray.py:
20839 Added nice message when you try to run without running make first
20841 * examples/python/NetworkManager.py:
20842 Bug fixes to the code so we get all the device information
20843 that we need in get_device()
20845 * examples/python/NMTester.py:
20846 Fixed _print_device_list to print_device_list
20848 2004-08-29 Seth Nickell <seth@gnome.org>
20852 Actually properly setup the Debian backend in configure.
20854 2004-08-29 Colin Walters <walters@verbum.org>
20856 * test/nminfotest.c: Include string.h and stdlib.h.
20857 (get_network_string_property, get_networks_of_type): Return NULL.
20859 * test/nmclienttest.c (get_device_name, get_active_device): Return
20862 * src/backends/NetworkManagerRedHat.c (nm_system_device_stop_dhcp): Just
20863 use strlen, fgets always NULL-terminates the string.
20865 * src/NetworkManagerDbus.c (nm_dbus_nmi_filter,
20866 dbus_message_get_member): Remove /* in comment.
20868 * src/NetworkManagerUtils.c (LOCKING_DEBUG): Ditto.
20870 * src/NetworkManager.c (quit): Unused, delete.
20871 (nm_data_free): Cast arg to GFunc.
20873 * panel-applet/NMWirelessAppletDbus.c: Need to include
20874 string.h, and dbus-glib-lowlevel.h (the latter is needed
20875 for dbus_connection_setup_with_g_main at present).
20876 (nmwa_dbus_update_wireless_network_list): Parenthesize
20877 assignment in conditional.
20878 (nmwa_dbus_worker): Return NULL.
20880 * panel-applet/NMWirelessApplet.c (nmwa_redraw)
20881 (nmwa_get_menu_pos, nmwa_toplevel_menu_activate)
20882 (nmwa_menu_add_text_item, nmwa_setup_widgets): Kill unused variables.
20883 (nmwa_populate_menu): Return NULL on failure, instead of just
20886 * initscript/NMLaunchHelper.c (g_timeout_add): Cast arg to GSourceFunc.
20888 * info-daemon/NetworkManagerInfoNetworksDialog.c (nmi_networks_dialog_init): Kill unused
20891 * info-daemon/NetworkManagerInfo.c (nmi_print_usage): Unused,
20894 2004-08-29 Colin Walters <walters@verbum.org>
20896 * src/NetworkManagerDbus.c (nm_dbus_get_network_timestamp): Return
20897 a GTimeVal instead of time_t. This is easier to work with,
20898 since time_t may be a long or double, we don't know.
20900 * src/NetworkManagerDbus.h: Update prototype.
20902 * src/NetworkManagerAP.c (struct NMAccessPoint): Store a GTimeVal
20904 (nm_ap_get_timestamp): Update to return GTimeVal.
20905 (nm_ap_set_timestamp): Update to take GTimeVal.
20907 * src/NetworkManagerDevice.c (nm_device_update_best_ap): Update
20908 to handle GTimeVal.
20910 * src/NetworkManagerAPList.c (nm_ap_list_update_network): Handle
20912 (nm_ap_list_print_members): Fix warnings in printf format.
20914 2004-08-29 Colin Walters <walters@verbum.org>
20916 * panel-applet/NMWirelessApplet.c: Include config.h.
20918 2004-08-29 Colin Walters <walters@verbum.org>
20920 * configure.in: Generate config.h.
20922 * configure.in: Dump dependency on OpenSSL; we can't
20923 use it since this package is GPL:
20924 http://www.gnome.org/~markmc/openssl-and-the-gpl.html
20925 Instead, check for libgcrypt, use it if available,
20926 otherwise use included MD5 code.
20928 * src/gnome-keyring-md5.h, src/gnome-keyring-md5.c:
20929 Suck in from gnome-keyring, munge a bit.
20931 * src/Makefile.am (NetworkManager_SOURCES) <!WITH_GCRYPT>: Include
20932 gnome-keyring-md5.h gnome-keyring-md5.c.
20933 (NetworkManager_LDADD) <WITH_GCRYPT>: Add dep on LIBGCRYPT_LIBS.
20935 * src/NetworkManagerWireless.c (nm_md5): New function, uses
20936 libgcrypt or included gnome-keyring md5 bits.
20937 (nm_wireless_128bit_key_from_passphrase): Use nm_md5.
20939 2004-08-28 Kjartan Maraas <kmaraas@gnome.org>
20941 * configure.in: Add «nb» and «no» to ALL_LINGUAS.
20943 2004-08-27 Bryan Clark <bclark@redhat.com>
20945 * examples/python/systray/Makefile:
20947 Updated the clean section
20949 * examples/python/systray/trayiconmodule.c:
20950 * examples/python/systray/trayicon.override:
20951 * examples/python/systray/network_tray.py:
20952 * examples/python/systray/eggtrayicon.h:
20953 * examples/python/systray/eggtrayicon.c:
20954 * examples/python/systray/Makefile:
20955 * examples/python/README:
20956 * examples/python/NetworkManager.py:
20957 * examples/python/NMTester.py:
20959 Initial commit of these python example files
20961 Fri Aug 28 2004 Dan Williams <dcbw@redhat.com>
20963 * panel-applet/NMWirelessApplet.c
20964 - Make current device bold
20965 - Show more user-friendly device name if we got one from hal
20967 * panel-applet/NMWirelessAppletDbus.c
20968 - Grab "info.product" key from hal for network devices
20969 - Cache the current active device
20971 2004-08-27 Adam Weinberger <adamw@gnome.org>
20973 * configure.in: Added en_CA to ALL_LINGUAS.
20975 2004-08-27 Christian Rose <menthos@menthos.com>
20977 * configure.in: Added "sv" to ALL_LINGUAS.
20979 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20981 * Tag NetworkManager-0.2
20983 Thu Aug 26 17:23:16 2004 Jonathan Blandford <jrb@redhat.com>
20985 * initscripts/Makefile.am
20986 * configure.in: Make pass distcheck
20988 * po/ChangeLog: added
20990 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20992 * panel-applet/NMWirelessApplet.c
20993 - Remove debugging code
20994 - Enable device switching from menus
20996 * panel-applet/NMWirelessAppletDbus.[ch]
20997 - Method for asking NM to switch devices
20999 * src/NetworkManagerDevice.c
21000 - Set dev->activating earlier, avoids race between
21001 the dbus signal of "DeviceActivating" and setting
21002 dev->activating (which is what NM's "status" method call
21005 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
21007 * panel-applet/NMWirelessApplet.[ch]
21008 - Rework menu code to add devices to menu, and to show
21009 signal strength for each access point. Code cleanups
21012 * panel-applet/NMWirelessAppletDbus.c
21013 - Grab network devices from NetworkManager too
21014 - Grab quality information from NM for wireless networks
21016 * src/NetworkManagerDbus.[ch]
21017 - Add dbus methods for getting the HAL UDI from a device and
21018 for getting its base quality, if its wireless
21019 - Consolidate some functions (wireless network notifications,
21020 device notifications)
21021 - Add method for requesting NM to use a particular device
21023 * src/NetworkManager.c
21024 - Change for function consolidations from NetworkManagerDbus.c
21025 - Implement active device locking and user-requested devices
21026 (ie, tell NM to use a particular device instead of the one
21029 * src/NetworkManagerDevice.c
21030 - Add method for getting the base quality of a device, if its
21032 - Grab device base quailty info from iwlib during scans
21034 * src/NetworkManagerPolicy.c
21035 - Use a user-requested device rather than the auto-chosen device
21038 Thu Aug 26 15:12:36 2004 Jonathan Blandford <jrb@redhat.com>
21040 * Makefile.am: add po as a supdir
21042 * autogen.sh: use gnome-autogen.sh
21044 * initscript/Gentoo/.cvsignore:
21045 * initscript/RedHat/.cvsignore: Shut up cvs
21047 * panel-applet/Makefile.am: Define GNOMELOCALEDIR for bonobo.
21049 * panel-applet/NMWirelessApplet.c: (nmwa_populate_menu),
21050 (nmwa_fill): Use gettext.
21052 * configure.in: add gettext support
21054 * po/NetworkManager.pot:
21057 2004-08-26 Seth Nickell <seth@gnome.org>
21059 * panel-applet/NMWirelessApplet.c: (nmwa_destroy),
21060 (nmwa_menu_item_activate), (nmwa_toplevel_menu_activate),
21061 (nmwa_add_menu_item), (nmwa_menu_item_data_free),
21062 (nmwa_dispose_menu_items), (nmwa_populate_menu),
21063 (nmwa_setup_widgets), (do_not_eat_button_press), (nmwa_new):
21064 * panel-applet/NMWirelessApplet.h:
21066 Use a menu bar instead of a button for the main clickable
21069 2004-08-25 Dan Williams <dcbw@redhat.com>
21071 * src/NetworkManagerDevice.c
21072 - (nm_device_set_enc_key): always set device to "open" mode instead of
21073 turning encryption off, because the Cisco driver doesn't associate
21074 with WEP-enabled access points unless we are in "open"
21076 2004-08-25 Dan Williams <dcbw@redhat.com>
21078 * src/NetworkManagerWireless.c
21079 - Don't try to defererence blank passphrases
21081 2004-08-25 Dan Williams <dcbw@redhat.com>
21083 * panel-applet/NMWirelessApplet.c
21084 - Rebuild the menu whenever a user clicks
21086 2004-08-25 Dan Williams <dcbw@redhat.com>
21088 * panel-applet/NMWirelessApplet.c
21089 - (nmwa_udpate_state): Set panel icon to "wired" (for lack of better ones)
21090 when NM isn't around or when its not connected
21092 * src/NetworkManagerDevice.c
21093 - (nm_device_activation_worker): Make sure to reset dev->activating if we get
21096 2004-08-25 Dan Williams <dcbw@redhat.com>
21098 * panel-applet/NMWirelessAppletDbus.c
21099 - (nmwa_dbus_get_bool, nmwa_dbus_get_network_encrypted): correct method name
21100 for getting encryption, and don't stop on "val" once we've gotten it
21101 from NetworkManager. Short form: encryption should now show up.
21103 2004-08-25 Dan Williams <dcbw@redhat.com>
21105 * panel-applet/NMWirelessApplet.c
21106 - Set ESSID on a gconf trusted network too when force-setting the wireless
21107 network to associate with
21109 2004-08-25 Dan Williams <dcbw@redhat.com>
21112 - Rework the panel applet to do all DBUS communication in a separate
21115 2004-08-25 Dan Williams <dcbw@redhat.com>
21117 * info-daemon/NetworkManagerInfo.[ch]
21118 - Remove "get_next_priority" function
21120 * info-daemon/NetworkManagerInfoDbus.[ch]
21121 - Convert "priority" functions to "timestamp"
21123 2004-08-25 Dan Williams <dcbw@redhat.com>
21125 * src/NetworkManagerAP.[ch]
21126 - Add a "enc_method_good" member and accessors to an Access Point
21127 to signal when we've found the correct encryption method
21128 for an access point
21129 - Add a "timestamp" member and accessors, remove "priority" member
21130 and accessors (use timestamps instead)
21131 - Rename "wep_key"->"enc_key"
21132 - (nm_ap_get_enc_key_hashed): new, return the correct mangled key
21133 for a specified encryption method using the access points
21134 source encryption key/passphrase
21136 * src/NetworkManagerAPList.c
21137 - When updating a network with dbus, grab timestamp now instead of
21140 * src/NetworkManagerDBus.[ch]
21141 - Add signal for "DeviceActivating"
21142 - Switch priority->timestamp
21144 * src/NetworkManagerDevice.c
21145 - Change references of "wep_key" -> "enc_key" or "key"
21146 - Signal DeviceActivating when starting activation
21147 - When activating a wireless device, if the access point we are connecting
21148 to is encrypted, and we have a source key, try to generate a mangled
21149 key and use that (ie, generate real WEP key from a passphrase)
21150 - Rework device activation to fallback to other encryption methods if
21151 a previous one didn't work (ie, try mangling a key as a 104-bit passphrase
21152 first, then if that doesn't work fall back to direct hex key).
21153 - (nm_device_update_best_ap): fix a deadlock, and use timestamps instead of
21154 priority. We now prefer the latest access point used, rather than using
21156 - (nm_device_do_normal_scan): make the encryption method "unknown" on access
21157 points we've just discovered, and merge in correct info from the global
21160 2004-08-25 Seth Nickell <seth@gnome.org>
21162 Patch from Matthew Garrett <mjg59@srcf.ucam.org> for adding
21166 * src/backends/NetworkManagerDebian.c: (nm_system_device_run_dhcp),
21167 (nm_system_device_stop_dhcp), (nm_system_device_flush_routes),
21168 (nm_system_device_flush_addresses), (nm_system_enable_loopback),
21169 (nm_system_delete_default_route),
21170 (nm_system_kill_all_dhcp_daemons), (nm_system_update_dns),
21171 (nm_system_load_device_modules):
21173 2004-08-24 Dan Willemsen <dan@willemsen.us>
21175 * src/NetworkManager.c
21176 src/backends/NetworkManagerGentoo.c
21177 src/backends/NetworkManagerRedHat.c
21178 src/backends/NetworkManagerSystem.h
21179 - Implement preliminary Gentoo support, adding a
21180 nm_system_init function to the backend specification
21183 - Distribution auto-detection, lowercase any user-fed
21186 * initscript/.cvsignore
21187 initscript/Makefile.am
21188 initscript/RedHat/Makefile.am
21189 initscript/RedHat/NetworkManager
21190 initscript/Gentoo/Makefile.am
21191 initscript/Gentoo/NetworkManager
21192 - Refactored initscript code separately for each
21195 2004-08-23 Dan Williams <dcbw@redhat.com>
21199 src/NetworkManagerDevice.c
21200 src/NetworkManager.c
21201 src/NetworkManagerUtils.[ch]
21202 src/backends/NetworkManagerSystem.h
21203 src/backends/NetworkManagerRedHat.c
21204 src/backends/NetworkManagerGentoo.c
21205 - Refactor system-specific code into separate backends for
21208 2004-08-23 Dan Willemsen <dan@willemsen.us>
21210 * dispatcher-daemon/NetworkManagerDispatcher.c
21211 info-daemon/NetworkManagerInfo.[ch]
21212 info-daemon/NetworkManagerInfoDbus.c
21213 info-daemon/NetworkManagerInfoPassphraseDialog.c
21214 src/NetworkManager.c
21215 src/NetworkManagerAP.c
21216 src/NetworkManagerAPList.c
21217 src/NetworkManagerDbus.c
21218 src/NetworkManagerDevice.c
21219 src/NetworkManagerPolicy.c
21220 src/NetworkManagerUtils.[ch]
21221 src/NetworkManagerWireless.c
21222 - Used syslog functions for logging instead of NM_DEBUG_DISPLAY & fprintf
21224 * src/NetworkManager.c
21225 - Fixed usage wording for --no-daemon
21227 2004-08-23 Dan Williams <dcbw@redhat.com>
21229 * panel-applet/NMWirelessApplet.c
21230 - Update our state every second to get more responsive panel icon
21231 - (nmwa_update_state): remove bogus applet->pix_state = PIX_WIRED that
21232 was causing our marching ants status blips to never move when
21233 looking for a wireless network
21235 * src/NetworkManagerDevice.c
21236 - (nm_device_activation_begin): return if activation has already begun
21237 - (nm_device_do_normal_scan): merge WEP key and priority from the
21238 trusted/preferred network into the device's access point when the
21239 scan list is processed
21241 2004-08-23 Dan Williams <dcbw@redhat.com>
21243 * initscript/NetworkManager
21244 - Use NMLaunchHelper rather than sleeping
21246 * initscript/NMLaunchHelper.c
21248 - Add helper program that exits only when NM activates a device,
21249 or 10 seconds have passed, whichever happens first. This
21250 stops the boot processes until we have a network connection,
21251 which NM can't do because it daemonizes and brings the connection
21252 up in the background. Allows stuff like NFS to not die.
21254 2004-08-20 Dan Williams <dcbw@redhat.com>
21256 * info-daemon/NetworkManagerInfoPassphraseDialog.c
21257 - (nmi_passphrase_dialog_ok_clicked): when updating the wep key
21258 for a network, set the essid as well since it may not exist yet
21259 - (nmi_passphrase_dialog_init): don't star out the passphrase field,
21260 since WEP keys/passphrases are long and prone to entry-error
21262 * panel-applet/Makefile.am
21263 panel-applet/wired.png
21264 - Add (pulled from system-config-network temporarily)
21266 * panel-applet/NMWirelessApplet.[ch]
21267 - Show wired picture when a wired connection is used
21268 - Rename wireless icon enums, adding WIRELESS
21270 * src/NetworkManagerDevice.c
21271 - (nm_device_activate_wireless): unset encryption before bringing
21272 down the card and setting the essid
21273 - (nm_device_activatin_worker): request a key from the user if the
21274 AP we are connecting to is encrypted but we don't have a key
21276 - (nm_device_set_user_key_for_network): fix missing '== 0' for a
21277 strcmp() that prevented a user-entered key from actually getting
21280 2004-08-16 Dan Williams <dcbw@redhat.com>
21282 * initscript/NetworkManager
21283 - Check for /sbin/ip
21284 - Do sysctl magic that network service does
21285 - sleep 4s after start to allow network time to come up [hack]
21289 - Load all network device kernel modules (hal doesn't know devices
21290 are ethernet until the module is loaded, and therefore we don't know)
21292 * src/NetworkManager.c
21293 - (main): daemonize later, launch NMLoadModules to alert HAL of our
21294 network devices, and bring up the loopback device explicitly
21296 * src/NetworkManagerUtils.[ch]
21297 - (nm_enable_loopback): new function
21299 2004-08-13 Dan Williams <dcbw@redhat.com>
21302 panel-applet/Makefile.am
21303 - Fix up cleanfiles and server_DATA/server_in_files
21306 - Update with some comments on theory of operation
21312 2004-08-12 Dan Williams <dcbw@redhat.com>
21314 * info-daemon/passphrase.glade
21315 - Set window title to " "
21317 * panel-applet/Makefile.am
21318 panel-applet/keyring.png
21319 - Deliver to correct place
21321 * panel-applet/NMWirelessApplet.[ch]
21323 - Remove applet->have_active_device as its no longer used
21324 - (nmwa_load_theme): load keyring.png too
21325 - (error_dialog): remove
21326 - (show_warning_dialog): subsume functionality of error dialog too
21327 - (nmwa_destroy, nmwa_new): create and dispose of an application-wide GConfClient
21328 - (nmwa_handle_network_choice): add to deal with user clicking on an item from
21330 - (nmwa_menu_item_activated): GtkMenuItem "activate" signal handler
21331 - (nmwa_button_clicked, nmwa_setup_widgets): create and populate the menu on startup
21332 and when we get broadcasts of changed wireless access points only, not when the
21333 user clicks on the button to display the menu (too long of a wait)
21334 - (nmwa_add_menu_item): Make active network bold, and place a keyring icon beside
21335 networks that are encrypted
21336 - (nmwa_dispose_menu, nmwa_menu_item_data_free): dispose of the data we place on each
21337 menu item with g_object_set_data()
21339 * panel-applet/NMWirelessAppletDbus.[ch]
21340 - (nmwa_dbus_get_bool): add method to return boolean value from dbus message
21341 - (nmwa_dbus_get_active_network): add (nmwa_dbus_get_string() wrapper to get active network)
21342 - (nmwa_dbus_add_networks_to_menu): clean up, only show one instance of each ESSID in the menu
21343 - (nmwa_dbus_set_network): force NetworkManager to use a particular network for wireless cards
21344 - (nmwa_dbus_init, nmwa_dbus_filter): Trap network appear/disappear and device
21345 activation/deactivation signals and rebuild the menu when they happen
21347 * src/NetworkManager.c
21348 - (main): use new nm_spawn_process() rather than system()
21350 * src/NetworkManagerDbus.c
21351 - (nm_dbus_devices_handle_request): don't compare AP structure addresses directly, but essids
21352 instead. Since we can now force best_aps to stick around, the AP structure to which
21353 dev->options.wireless.best_ap points to won't necessarily be in the device's device list
21354 if a scan has happened since the best_ap was frozen. Also add "setNetwork" method
21355 to freeze the best_ap.
21357 * src/NetworkManagerDevice.[ch]
21358 - (nm_device_activation_worker): Use new nm_spawn_process() call rather than system()
21359 - (nm_device_*_best_ap): add freeze/unfreeze/get_frozen functions, and don't really update
21360 the best_ap in nm_device_update_best_ap() if the best_ap is frozen AND in the device's
21363 * src/NetworkManagerUtils.[ch]
21364 - (nm_spawn_process): add replacement for system() usage
21366 2004-08-11 Dan Williams <dcbw@redhat.com>
21368 * panel-applet/NMWirelessApplet.[ch]
21369 - Fix up copyright and credits to include Bastien and Eskil,
21370 who created the gnome-applets wireless applet, from whose
21371 skeleton this one was created
21372 - Rework nmwa_update_state()/nmwa_draw() so that state and which
21373 pixmap to draw is computed during nmwa_update_state()
21374 - Applet now shows itself all the time due to panel packing issues
21375 which caused the applet to previously never come back after hiding.
21376 When a wired device is the active device, the applet shows "not connected"
21378 * panel-applet/NMWirelessAppletDbus.[ch]
21379 - Clean up error messages and show what function they are from
21380 - nmwa_dbus_get_active_wireless_device()->nmwa_dbus_get_active_device()
21381 - Add new device type getters, and a status getter
21383 * src/NetworkManagerDbus.c
21384 - (nm_dbus_devices_handle_request): Don't return an active network unless that
21385 network is actually in the device's ap list
21386 - (nm_dbus_nm_message_handler): Fix silly mistake returning status
21388 * src/NetworkManagerDevice.c
21389 - (nm_device_update_best_ap): If the best AP is NULL, clear out the ESSID of the
21392 * test/nmclienttest.c
21393 - Report status of NetworkManager too
21395 2004-08-11 Dan Williams <dcbw@redhat.com>
21397 * info-daemon/NetworkManagerInfo.c:
21398 - (main): clean up Seth's code style
21400 * info-daemon/NetworkManagerInfoDbus.c:
21401 - Use the more aptly-named path/service/interface constants from NetworkManager
21402 - Don't return empty strings ("") as object paths ever, instead return errors
21404 * panel-applet/NMWirelessApplet.c:
21405 - Clean up Seth's code style
21407 * src/NetworkManager.[ch]
21408 - (nm_remove_device_from_list): remove anything having to do with pending_device
21409 - (main, nm_print_usage): change --daemon=[yes|no] -> --no-daemon
21411 * src/NetworkManagerAPList.[ch]
21412 - Move Iter struct right above the iter functions to preserve opacity
21413 - (nm_ap_list_remove_ap): implement
21414 - (nm_ap_list_update_network): deal with errors returned from nm_dbus_get_network_priority(),
21415 remove AP if NetworkManagerInfo doesn't know anything about it
21416 - (nm_ap_list_diff): user NMAPList iterators
21417 - (nm_ap_list_print_members): implement debugging function
21419 * src/NetworkManagerDbus.[ch]
21420 - (nm_dbus_nm_get_active_device): remove anything to do with pending_device
21421 - (nm_dbus_get_user_key_for_network): remove DBusPendingCall stuff (unused),
21422 and move the actual key setting stuff into NetworkManagerDevice.c
21423 - (nm_dbus_get_network_priority): return -1 now on errors
21424 - (nm_dbus_nmi_filter): fix strcmp() error that caused PreferredNetworkUpdate signals to
21425 get lost, and force the active device to update its "best" ap when AP lists change
21426 - (nm_dbus_nm_message_handler): Update conditions for returning "connecting" for a "status"
21427 method call due to pending_device member removal
21429 * src/NetworkManagerDevice.[ch]
21430 - Move NMDevice structure to the top
21431 - Add a wireless scan mutex and a best_ap mutex to the Wireless Options structure
21432 - Remove Pending Action stuff from everywhere
21433 - (nm_device_activation_*): We now "begin" activation and start a thread to do the
21434 activation for us. This thread blocks until all conditions for activation have
21435 been met (ie for wireless devices, we need a valid WEP key and a "best" ap), and
21436 then setup up the interface and runs dhclient. We have to do this because there
21437 is no guaruntee how long dhclient takes, and while we are blocking on it, we cannot
21438 run our main loop and respond to dbus method calls or HAL device removals/inserts
21439 - (nm_device_set_user_key_for_network): Move logic here from NetworkManagerDbus.c so we
21440 can tell nm_device_activation_worker() that we've got a key
21441 - (nm_device_*_best_ap): lock access to best_ap member of Wireless Options structure
21442 - (nm_device_get_path_for_ap): dumb it down so the list doesn't lock against itself when
21443 diffing (AP appear/disappear signal functions make sure the AP is actually in the device's list)
21444 - (nm_device_update_best_ap): move logic from nm_wireless_is_ap_better() here
21446 * src/NetworkManagerPolicy.c
21447 - Remove anything to do with pending_device
21448 - Adjust device activation to deal with activation-in-worker-thread
21450 * src/NetworkManagerUtils.c
21451 - Clean up locking debugging a bit
21453 * src/NetworkManagerWireless.[ch]
21454 - (nm_wireless_is_ap_better): remove, stick logic in nm_device_update_best_ap(). This function
21455 was badly named and is better as a device function
21457 * panel-applet/.cvsignore: add
21459 2004-08-09 Seth Nickell <seth@gnome.org>
21461 * panel-applet/NMWirelessApplet.c: (nmwa_timeout_handler),
21462 (nmwa_button_clicked), (nmwa_populate_menu), (nmwa_setup_widgets),
21464 * src/NetworkManagerDbus.c: (nm_dbus_nmi_filter):
21466 Don't load the menus until clicked on (also removes a call outside
21467 normal code paths at first load).
21469 Hide applet when NM is not present.
21471 Improve printf debugging stuff.
21473 2004-08-09 Dan Williams <dcbw@redhat.com>
21475 * dispatcher-daemon/NetworkManagerDispatcher.c:
21476 - Covert uses of dbus_message_iter_* over to dbus_message_get_args
21477 - Use constants for NetworkManager interface, service, and path
21479 2004-08-09 Dan Williams <dcbw@redhat.com>
21481 * src/NetworkManagerDbus.c:
21482 - (nm_dbus_nm_get_active_device, nm_dbus_nm_get_devices): Never return an empty object path,
21483 instead return an error message
21484 - (nm_dbus_devices_handle_request): Return error when getActiveNetwork/getNetworks is called
21485 on a wired device. Also never return an empty object path, instead return an error message
21487 2004-08-06 Seth Nickell <seth@gnome.org>
21489 * panel-applet/NMWirelessApplet.c: (nmwa_new):
21491 Check the error code when getting a connection.
21493 * panel-applet/NMWirelessAppletDbus.c: (nmwa_dbus_init):
21495 Check if the NM service exists when initializing (rather than
21496 assuming it does not).
21498 * src/NetworkManagerDbus.c: (nm_dbus_init):
21500 Don't acquire the well-known service name until we have
21501 registered object/path handlers and can actually receive
21504 2004-08-06 Dan Williams <dcbw@redhat.com>
21509 * src/NetworkManagerPolicy.c
21510 src/NetworkManager.c
21511 - Get access point lists from NetworkManagerInfo on-demand,
21512 and look for ServiceCreate/ServiceDeleted signals to see when
21513 we should query NMI for lists
21514 * src/NetworkManagerAPList.c
21515 - Make sure to init the list's mutex
21516 - Convert traversals of the list over to the list iter functions
21518 * src/NetworkManagerDbus.[ch]
21519 - Use more aptly-named path/service/interface constants
21520 - Treat both active and pending devices the same for "getActiveDevice"
21521 - Add a "status" method returning "connected", "connecting", or "disconnected"
21523 * src/NetworkManagerDevice.c
21524 - Honor "ignored" network list when picking best ap to use
21526 2004-08-06 Seth Nickell <seth@gnome.org>
21530 Autogenerated, remove from CVS.
21534 Don't hardcode automake version.
21537 * info-daemon/Makefile.am:
21538 * info-daemon/NetworkManagerInfo.c: (main):
21540 Use GnomeProgram et al. for doing session management.
21541 Use popt stuff for argument parsing rather than doing
21544 2004-08-05 Dan Williams <dcbw@redhat.com>
21546 * test/nminfotest.c
21547 - Update to new NMI dbus API, check different network types
21549 * info-daemon/NetworkManagerInfoDbus.c
21550 - Update to new NM dbus API, ie network type sent in query message
21552 2004-08-05 Dan Williams <dcbw@redhat.com>
21554 * An assload of changes
21556 2004-08-02 Dan Williams <dcbw@redhat.com>
21559 - new task: proper logging support
21561 * info-daemon/NetworkManagerInfo.c
21562 - Correct spelling of "canceled"
21563 - Correct casting of objects for g_signal_connect()
21565 * info-daemon/NetworkManagerInfoDbus.c
21566 - Add defines for NetworkManager namespace and object path, and use them
21567 - Add filter function to trap new signals from NetworkManager:
21568 WirelessNetworkAppeared, WirelessNetworkDisappeared
21570 * info-daemon/passphrase.glade
21571 - Change name of "ok" button to "Login to Network..."
21574 * src/NetworkManager.c
21575 - Code and debug message cleanups
21576 - Rename "nm_add_current_devices"->"nm_add_initial_devices"
21577 - (nm_add_initial_devices) Check returned string array of devices
21578 and don't try to add devices if array is NULL
21579 - (main) Initialize libhal a bit later, make code a bit clearer
21581 * src/NetworkManagerAP.[ch]
21582 - New accessor and data member "matched": used to speed up AP list
21584 - New accessor and data member "enc_method": will be used during key
21585 fallback to cache which passphrase->key conversion actually works
21586 so we don't have to do it every time
21588 * src/NetworkManagerAPList.[ch]
21589 - (nm_ap_list_find_ap_in_list) New: find an AP by essid in an AP list
21590 - (nm_ap_list_diff) New: given two lists of access points, find the differences
21591 between them, and send WirelessNetworkAppeared/Disappeared signals over
21592 dbus in response to those differences
21594 * src/NetworkManagerDbus.[ch]
21595 - (nm_dbus_get_object_path_from_ap) New: given a device and an access point,
21596 make an object path for that access point (NOTE that we don't yet check to
21597 make sure that access point is actually in the device's AP list yet)
21598 - (nm_dbus_get_ap_from_object_path) Renamed from nm_dbus_get_network_from_object_path
21599 - (nm_dbus_signal_wireless_network_appeared, nm_dbus_signal_wireless_network_disappeared)
21600 New: signal appearance/disappearance of wireless networks
21601 - (nm_dbus_set_user_key_for_network) Mark the network/ap as invalid if the user cancelled
21604 * src/NetworkManagerDevice.[ch]
21605 - (nm_device_ap_list_clear) Use nm_ap_list_free rather than doing it ourselves
21606 - (nm_device_ap_list_get) New: return the AP list (static function)
21607 - (nm_device_do_normal_scan) Destroy old AP list later, so that we can diff the
21608 new one resulting from the scan with the old one
21610 * src/NetworkManagerWireless.c
21611 - (nm_wireless_is_most_prefered_ap) "invalid" access points cannot be "best" access points
21613 * test/nminfotest.c
21614 - #define object paths and namespaces and use the #defines rather than static strings
21615 - Test out user-key functionality of NetworkManagerInfo too
21617 2004-07-29 Dan Williams <dcbw@redhat.com>
21619 * info-daemon/NetworkManagerInfoDbus.c
21620 src/NetworkManagerDbus.c
21621 - Update to current DBus (ie don't use decomposed paths when registering
21622 object paths/fallbacks)
21624 2004-07-27 Dan Williams <dcbw@redhat.com>
21626 * Remove various Makefile.in files
21629 - Add some more items
21632 - Add checks for OpenSSL/md5 headers and libs
21635 - Use OpenSSL CFLAGS
21637 * src/NetworkManagerAP.[ch]
21638 - Remove 'stamp' functions, replace with 'invalid' functions
21639 to support user cancelling WEP key entry
21641 * src/NetworkManagerDbus.c
21642 - Remove 'stamp' return functions
21643 - Treat returned user key as a passphrase and convert to a WEP key,
21644 but don't actually use the WEP key yet. We use the returned user
21645 key as a hexadecimal WEP key until we can figure out a UI for
21646 passphrase-vs-hex key
21648 * src/NetworkManagerWireless.[ch]
21649 - Add passphrase-to-128bit-key function
21651 2004-07-27 Dan Williams <dcbw@redhat.com>
21654 - Add a couple of items
21656 2004-07-27 Dan Williams <dcbw@redhat.com>
21658 * info-daemon/NetworkManagerInfo.c
21659 - Update allowed network's GConf key when user enters a WEP key explicitly
21661 * info-daemon/NetworkManagerDbus.c
21662 - Fix some comments
21663 - nmi_dbus_get_allowed_networks(): kill warning
21665 2004-07-27 Dan Williams <dcbw@redhat.com>
21667 * initscript/Makefile.in
21670 * initscript/Makefile.am
21671 - Add correct rules to install the init.d initscript
21673 * info-daemon/NetworkManagerInfoDbus.c
21674 - Remove debug fprintf
21676 * src/NetworkManagerDbus.[ch]
21677 - Remove debug fprintfs
21678 - Add macros for NetworkManagerInfo object path/namespace
21679 - Use said macros instead of constant strings
21681 2004-07-27 Dan Williams <dcbw@redhat.com>
21683 * initscript/.cvsignore
21686 * info-daemon/Makefile.am
21687 - Install .glade files and keyring.png
21688 - Fix stupid omission of a \ that caused half the flags not to be
21691 * info-daemon/NetworkManagerInfo.c
21692 - gtk_signal_connect->g_signal_connect
21693 - Alert NetworkManagerInfo to new glade file location
21695 2004-07-27 Dan Williams <dcbw@redhat.com>
21697 * test/nmclienttest.c
21699 - Add missing <dbus/dbus.h> headers
21700 - Add GPL message at top
21702 2004-07-27 Dan Williams <dcbw@redhat.com>
21704 * src/NetworkManagerAPList.[ch]
21706 - Add. Deal with allowed network list additions, deletions, and updates
21708 * dispatcher-daemon/NetworkManagerDispatcher.c
21709 - Add missing <dbus/dbus.h> header
21711 * info-daemon/NetworkManagerInfo.[ch]
21712 - Add missing <dbus/dbus.h> header
21713 - Implement the GConf notify callback to signal NetworkManager of an allowed
21715 - Better error checking
21717 * info-daemon/NetworkManagerInfoDbus.[ch]
21718 - Add missing <dbus/dbus.h> header
21719 - Convert to using dbus_message_append_args/dbus_message_get_args
21720 - Implement nmi_dbus_signal_update_allowed_network() to signal NetworkManager
21721 that an allowed network changed. We don't want to signal on individual
21722 keys _inside_ an allowed network really, just want NM to query the info
21723 daemon for updated info on all keys.
21724 - Better error checking
21726 * src/NetworkManager.[ch]
21727 - Add missing <dbus/dbus.h> header
21728 - Move allowed_ap_list free functions to NetworkManagerAPList.[ch]
21729 - Zero out NMData structure on free
21730 - No longer use a thread for allowed_ap_list updating, instead its now done
21731 through dbus queries against NetworkManagerInfo
21732 - Populate allowed_ap_list initially before adding existing network devices
21733 to the device list, so wireless devices can get their "best" AP
21735 * src/NetworkManagerDbus.[ch]
21736 - Convert to using dbus_message_append_args/dbus_message_get_args
21737 - Better error checking
21738 - Implement Allowed Network info functions to request allowed network
21739 info from NetworkManagerInfo
21740 - Implement the filter function to process signals from NetworkManagerInfo
21741 about changing allowed networks
21743 * src/NetworkManagerDevice.c
21744 - Fix file descriptor leak in nm_device_update_ip4_address()
21746 2004-07-27 Dan Williams <dcbw@redhat.com>
21751 dispatcher-daemon/.cvsignore
21752 info-daemon/.cvsignore
21753 - Add .cvsignore files to reduce noise when diffing
21755 2004-07-24 Dan Williams <dcbw@redhat.com>
21757 * src/NetworkManager.[ch]
21758 src/NetworkManagerDbus.[ch]
21759 src/NetworkManagerDevice.[ch]
21760 src/NetworkManagerPolicy.c
21761 src/NetworkManagerWireless.[ch]
21762 - Add many more g_return_if_fail()/g_return_val_if_fail() checks
21763 - Pass the NMData application data structure through all calls
21764 that need it so we can get rid of nm_get_global_data()
21765 - Change deallocation of the allowed_ap_list GSList in preparation
21766 for not completely clearing it every time we get an update,
21767 but instead getting incremental updates via GConf/dbus
21769 2004-07-22 Dan Williams <dcbw@redhat.com>
21772 - Add checks for GConf libs & headers & flags
21774 * info-daemon/Makefile.am
21775 - Add GConf flags & libs to compile/link stages of NetworkManagerInfo
21777 * info-daemon/NetworkManagerInfo.[ch]
21778 - Don't use gquarks for data storage, just use normal data storage
21779 - Add gconf bits to watch /system/networking/wireless/allowed_networks
21781 * info-daemon/NetworkManagerDbus.[ch]
21782 - Add method call for getting allowed networks
21783 - Add method calls for getting an allowed network's essid, priority, and key
21784 - Hook the method calls up to GConf
21785 - Split user key dialog code into separate function (nmi_dbus_get_key_for_network)
21786 - nmi_dbus_nmi_message_handler(): make sure to unref the reply message after sending
21788 * src/NetworkManagerDbus.[ch]
21789 - Switch for enumeration of networks to using essid instead
21793 - Add test program for NetworkManagerInfo
21795 2004-07-19 Dan Williams <dcbw@redhat.com>
21797 * src/NetworkManagerDbus.c
21798 - Switch from indexed device paths to names. Less code, more efficient.
21799 ie "/org/freedesktop/NetworkManager/0" -> "/org/freedesktop/NetworkManager/eth0"
21801 2004-07-19 Dan Williams <dcbw@redhat.com>
21803 * dispatcher-daemon/NetworkManagerDispatcher.c
21804 - (nm_dbus_filter): Remove obsolete response to NeedKeyForNetwork signal
21806 2004-07-19 Dan Williams <dcbw@redhat.com>
21809 - Add info-daemon directory
21812 - Check for glade libs and headers
21813 - Add info-daemon directory
21815 * src/NetworkManagerAP.c
21816 - nm_ap_new_from_ap(): Fix bug that resulted in an APs encryption status not getting
21817 copied over to the new AP.
21819 * src/NetworkManagerDbus.c
21820 src/NetworkManagerDbus.h
21821 - Deal with nm_device_ap_list_get_ap()->nm_device_ap_list_get_ap_by_index() change
21822 - Remove nm_dbus_signal_need_key_for_network()
21823 - Add disabled code for asynchronous user wep key callbacks
21824 - Add functions for getting, setting, and cancelling user key operations
21825 - Remove "setKeyForNetwork" device dbus method call, its on NetworkManager object instead
21826 - Add "setKeyForNetwork" dbus method call on NetworkManager object
21828 * src/NetworkManagerDevice.c
21829 src/NetworkManagerDevice.h
21830 - nm_device_update_link_active(): revert changes for wireless link detection, the WEP-key-is-wrong
21831 logic is in device activation now
21832 - nm_device_activate(): for wireless devices, if we can't associate with access point (perhaps
21833 key is wrong) trigger get-user-key pending action
21834 - Implement get-user-key pending action stuff, tie to dbus messages
21835 - Rename nm_device_ap_list_get_ap() -> nm_device_ap_list_get_ap_by_index()
21836 - Add nm_device_ap_list_get_ap_by_essid()
21837 - Instead of copying "best" access points, ref them instead so that the key we set
21840 * src/NetworkManagerPolicy.c
21841 - Deal with wrong WEP key, but right access point (and if so, return link_active = TRUE)
21842 - Don't cancel pending actions on a device if its the same device as last iteration
21843 - Only promote pending_device->active_device if activation was successfull
21846 - Rename nmclienttest->nmtest
21848 * info-daemon/Makefile.am
21849 info-daemon/NetworkManagerInfo.c
21850 info-daemon/NetworkManagerInfo.h
21851 info-daemon/NetworkManagerInfoDbus.c
21852 info-daemon/NetworkManagerInfoDbus.h
21853 info-daemon/passphrase.glade
21854 info-daemon/NetworkManagerInfo.conf
21855 info-daemon/keyring.png
21856 - Import sources for info-daemon, which pops up dialog for passphrase/key when
21857 NetworkManager asks for it, and also will (soon) provide "allowed" access point
21858 lists to NetworkManager by proxying user's GConf
21861 2004-07-15 Dan Williams <dcbw@redhat.com>
21866 * src/NetworkManager.c
21867 - nm_create_device_and_add_to_list(): call nm_device_deactivate() rather
21868 that doing the deactivation ourselves
21869 - Cancel an pending actions on a device if its being removed
21870 - Break up link state checking a bit, make non-active wireless cards
21871 deactivated to save power
21872 - Remove unused variables
21874 * src/NetworkManager.h
21875 - Add support for "pending" device
21877 * src/NetworkManagerAP.h
21878 src/NetworkManagerAP.c
21879 - Add support for determining whether and AP has encryption enabled or not
21880 - AP address is now "struct ether_addr" rather than a string
21882 * src/NetworkManagerDbus.h
21883 src/NetworkManagerDbus.c
21884 - Add signal NeedKeyForNetwork, method SetKeyForNetwork (testing only)
21885 - Changes for AP address from struct ether_addr->string
21887 * src/NetworkManagerDevice.h
21888 src/NetworkManagerDevice.c
21889 - Remove unused variables, fix warnings
21890 - Add support for Pending Actions (things that block a device from being "active"
21891 until they are completed).
21892 - First pending action: Get a WEP key from the user
21893 - Add nm_device_is_wire[d|less](), rename nm_device_is_wireless()
21894 - Clean up explicit testing of dev->iface_type to use nm_device_is_wireless()
21895 - Update wireless link checking to try to determine if the AP we are associated
21896 with is correct, but the WEP key we are using is just wrong. If its wrong,
21897 trigger the GetUserKey pending action on the device
21898 - If dhclient can't get an IP address, it brings the device down. Bring it back
21899 up in that case, otherwise we can't scan or link-check on it
21900 - Add IP address change notifications at appropriate points (still needs some work)
21901 - Add nm_device_need_ap_switch(), checks whether we need to switch access points or not
21903 * src/NetworkManagerPolicy.h
21904 src/NetworkManagerPolicy.c
21905 - Split out "best" access point determiniation into separate function
21906 - Make device activation 2-stage: first the device is pending, then
21907 in the next iteration through it becomes "active" unless it has
21910 * src/NetworkManagerUtils.h
21911 src/NetworkManagerUtils.c
21912 - Clean up unused variables and warnings
21913 - Wrap our debug macros in {} to prevent possible confusion
21915 * src/NetworkManagerWireless.c
21916 - Forgot to return current best priority, which lead to last available AP always
21917 being chosen no matter what its priority was. Corrected.
21919 2004-07-15 Dan Williams <dcbw@redhat.com>
21921 * dispatcher-daemon/Makefile.am
21924 * dispatcher-daemon/NetworkManagerDispatcher.c
21925 - Remove unused variables due to warnings
21926 - Fix some comments
21927 - Print message on receipt of NeedKeyForNetwork signal (testing only)
21929 2004-07-06 Dan Williams <dcbw@redhat.com>
21931 * src/NetworkManager.c
21932 - Add IPv4 address update for active device during link state check
21933 - Don't allow wireless cards to be powered up when they are not the
21936 * src/NetworkManagerDbus.c
21937 src/NetworkManagerDbus.h
21938 - Add DBUS IPv4 address change signal
21939 - Add DBUS IPv4 address get method for devices
21941 * src/NetworkManagerDevice.c
21942 - Make setting the WEP key actually work
21943 - Move IP address get/set/update stuff here, per-device
21944 - Power down/bring down wireless device when deactivated
21945 - For scanning wireless devices, if first scan returned ENODATA, try again
21947 * src/NetworkManagerPolicy.c
21948 - Only set the WEP key for an allowed access point if there is one.
21949 We were setting it to be blank if one wasn't specified.
21951 * src/NetworkManagerUtils.h
21952 src/NetworkManagerUtils.c
21953 - Move the IP address stuff to NetworkManagerDevice.c
21955 * dispatcher-daemon/NetworkManagerDispatcher.c
21956 - Add device IPv4 address change notification stuff
21958 2004-07-05 Dan Williams <dcbw@redhat.com>
21960 * dispatcher-daemon/NetworkManagerDispatcher.c
21961 - A bit more descriptive state message
21962 - Don't segfault when reading directory
21964 * src/NetworkManager.h
21965 - Remove NMData desired_ap member, its now
21966 per-device rather than global
21968 * src/NetworkManager.c
21969 - Remove references to desired_ap
21970 - Move the allowed AP list refresh stuff into a thread
21972 * src/NetworkManagerDevice.c
21973 src/NetworkManagerDevice.h
21974 - Each wireless device now has a "best ap"
21975 - Make device activate/deactivate functions per-device
21976 - Make wireless scanning per-device
21977 - Add IPv4 address discover functions, stub IPv6 ones
21978 - Move ethernet address validation functions to NetworkManagerUtils.c
21979 - Add wireless access point accessor function
21980 - Get/Set functions for "best ap"
21982 * src/NetworkManagerPolicy.c
21983 - Move activate/deactivate stuff into NetworkManagerDevice.c, per-device
21984 - Deal with per-device "best ap" rather than data->desired_apa
21985 - Implement allowed access point worker thread
21986 - Add nm_policy_essid_is_allowed() function
21988 * src/NetworkManagerUtils.c
21989 src/NetworkManagerUtils.h
21990 - Add nm_ethernet_address_is_valid() function
21991 - Add IPv4/IPv6 address get functions
21993 * src/NetworkManagerWireless.c
21994 src/NetworkManagerWireless.h
21995 - Move scanning stuff into NetworkManagerDevice.c, per-device
21997 2004-06-29 Dan Williams <dcbw@redhat.com>
21999 * dispatcher-daemon/NetworkManagerDispatcher.c
22000 - Implement script callout functionality
22002 2004-06-24 Dan Williams <dcbw@redhat.com>
22006 - Flush device routes and ip addresses when added to the device list
22008 * NetworkManagerDbus.c
22010 - Add missing returns in the two signal functions
22012 * NetworkManagerPolicy.c
22013 - Spacing and variable cleanups
22015 2004-06-24 Dan Williams <dcbw@redhat.com>
22020 dispatcher-daemon/Makefile.am
22021 dispatcher-daemon/Makefile.in
22022 dispatcher-daemon/NetworkManagerDispatcher.c
22023 - Add a daemon that receives signals from NetworkManager
22024 and will (eventually) call scripts in /etc/somewhere
22025 when devices go up or down.
22029 - Flush device routes and ip addresses when added to the device list
22031 * NetworkManagerDbus.c
22033 - Add missing returns in the two signal functions
22035 * NetworkManagerPolicy.c
22036 - Spacing and variable cleanups
22037 - Rename nm_policy_switch_interface->nm_policy_switch_device
22038 - nm_policy_switch_device():
22039 Use kill (pid) instead of system ("kill <pid>")
22040 - nm_state_modification_monitor():
22041 Add wireless essid to output of debug statements
22042 Correct typo in device compare to switch or not (should be !=)
22043 Don't sleep after sending "no longer active" signal, was useless
22045 2004-06-24 Dan Williams <dcbw@redhat.com>