1 2008-11-21 Dan Williams <dcbw@redhat.com>
3 * gfilemonitor/inotify-sub.c
4 - (dup_dirname): actually remove trailing '/' (bgo #561807)
6 2008-11-21 Tambet Ingo <tambet@gmail.com>
8 * system-settings/plugins/ifcfg-suse/parser.c (read_wpa_eap_settings): Make suse
11 2008-11-20 Dan Williams <dcbw@redhat.com>
13 Patch from Tambet Ingo <tambet@gmail.com>
15 * libnm-util/nm-setting.c
16 libnm-util/nm-setting.h
17 - (NMSettingValueIterFn): instead of just a gboolean for secrets, take
18 all the GParamSpec flags of the property
20 * system-settings/plugins/keyfile/nm-keyfile-connection.c
21 system-settings/plugins/keyfile/reader.c
22 system-settings/plugins/keyfile/writer.c
23 - Update for NMSettingValueIterFn change
25 2008-11-20 Dan Williams <dcbw@redhat.com>
27 * libnm-util/nm-utils.c
29 - More documentation updates
31 2008-11-20 Dan Williams <dcbw@redhat.com>
33 * libnm-util/libnm-util.ver
36 libnm-util/nm-utils-private.h
37 libnm-util/nm-connection.c
38 - (nm_utils_register_value_transformations): make private, called
39 from NMConnection registration anyway
41 2008-11-20 Dan Williams <dcbw@redhat.com>
43 * libnm-util/Makefile.am
44 libnm-util/nm-utils-private.h
45 - New header for internal utils private functions
47 * libnm-util/libnm-util.ver
50 - Document some functions
51 - (nm_utils_string_in_list, nm_utils_string_list_contains,
52 nm_utils_string_slist_validate): un-export, only used within
53 libnm-util or of limited use in general, and very easy to
54 re-implement by apps if needed
56 * libnm-util/nm-setting-8021x.c
57 libnm-util/nm-setting-wired.c
58 libnm-util/nm-setting-wireless-security.c
59 libnm-util/nm-setting-wireless.c
60 - Update for private nm_utils_string_* functions
62 2008-11-20 Dan Williams <dcbw@redhat.com>
64 * libnm-util/libnm-util.ver
65 libnm-util/nm-setting.c
66 libnm-util/nm-setting.h
67 - Add NMSetting errors
68 - (nm_setting_update_secrets): return errors
70 * libnm-util/nm-connection.c
71 libnm-util/nm-connection.h
72 - (nm_connection_update_secrets): return errors
74 * libnm-util/nm-setting-vpn.c
75 src/nm-activation-request.c
76 src/vpn-manager/nm-vpn-connection.c
77 - Handle update secrets errors
79 2008-11-20 Dan Williams <dcbw@redhat.com>
81 * libnm-util/nm-setting.c
82 libnm-util/nm-setting.h
83 libnm-util/libnm-util.ver
84 - (nm_setting_new_from_hash): rename from nm_setting_from_hash() to be
85 consistent with nm_connection_new_from_hash()
87 * src/nm-activation-request.c
88 libnm-util/nm-connection.c
91 2008-11-19 Dan Williams <dcbw@redhat.com>
95 docs/libnm-util/Makefile.am
96 docs/libnm-util/libnm-util.types
97 - Start to document libnm-util
99 2008-11-19 Dan Williams <dcbw@redhat.com>
101 * libnm-util/nm-connection.h
102 libnm-util/nm-connection.c
103 - Document public functions
105 2008-11-19 Dan Williams <dcbw@redhat.com>
107 * libnm-util/nm-setting.h
108 libnm-util/nm-setting.c
111 system-settings/plugins/ifcfg-fedora/plugin.c
112 - Prefix compare flag defines with NM_SETTING_
114 2008-11-19 Dan Williams <dcbw@redhat.com>
116 * libnm-util/nm-connection.c
117 libnm-util/nm-connection.h
118 - (nm_connection_replace_settings): take a GError
120 * libnm-glib/nm-settings.c
121 libnm-glib/nm-dbus-connection.c
123 system-settings/plugins/ifcfg-suse/nm-suse-connection.c
124 system-settings/plugins/keyfile/nm-keyfile-connection.c
125 system-settings/plugins/keyfile/plugin.c
126 - Handle, or don't handle, errors from nm_connection_replace_settings()
128 2008-11-19 Dan Williams <dcbw@redhat.com>
130 * libnm-util/libnm-util.ver
131 libnm-util/nm-connection.c
132 - (nm_setting_register, nm_setting_unregister): unexport; they are
133 private and don't have a use outside libnm-util
135 2008-11-17 Dan Williams <dcbw@redhat.com>
137 * src/nm-hso-gsm-device.c
138 - (real_connection_secrets_updated): handle PIN/PUK correctly for HSO
141 2008-11-17 Dan Williams <dcbw@redhat.com>
143 * system-settings/plugins/ifcfg-fedora/reader.c
144 - (read_mac_address): clean up
145 - (make_wireless_setting): pass NULL array to read_mac_address() like it
148 * system-settings/plugins/ifcfg-fedora/plugin.c
149 - (read_one_connection): don't segfault on NULL errors
151 2008-11-14 Dan Williams <dcbw@redhat.com>
155 2008-11-14 Dan Williams <dcbw@redhat.com>
157 Handle gateways on different subnets
159 * src/NetworkManagerSystem.c
160 - (add_ip4_route_to_gateway): gateway route should be link scope and
162 - (replace_default_ip4_route): use a destination address too; gateway
163 address should be /0; don't leak the gateway route object
165 2008-11-14 Dan Williams <dcbw@redhat.com>
167 * libnm-glib/libnm_glib.ver
168 libnm-glib/nm-dbus-settings-system.c
169 libnm-glib/nm-dbus-settings-system.h
170 - Add libnm-glib bits for CanModify
172 2008-11-14 Dan Williams <dcbw@redhat.com>
174 * introspection/nm-settings-system.xml
175 system-settings/src/dbus-settings.c
176 system-settings/src/dbus-settings.h
177 - Add a "CanModify" property to indicate if any plugins support
178 connection modification
180 2008-11-14 Dan Williams <dcbw@redhat.com>
182 Relicense libnm-glib to LGPLv2+ with agreement from contributors
184 2008-11-14 Dan Williams <dcbw@redhat.com>
186 * vpn-manager/nm-vpn-connection.c
187 - (plugin_state_changed): clear VPN secrets on error to ensure they
188 are always requested from the settings service (rh #429287)
190 2008-11-13 Dan Williams <dcbw@redhat.com>
192 * libnm-util/crypto.c
193 - (crypto_get_private_key_data): fix bad initial arg type checking
196 2008-11-13 Dan Williams <dcbw@redhat.com>
198 Add support for PKCS#12 private keys (bgo #558982)
200 * libnm-util/crypto.c
202 - (parse_old_openssl_key_file): rename from parse_key_file(); adapt to
203 take a GByteArray instead of a filename
204 - (file_to_g_byte_array): handle private key files too
205 - (decrypt_key): take a GByteArray rather than data + len
206 - (crypto_get_private_key_data): refactor crypto_get_private_key() into
207 one function that takes a filename, and one that takes raw data;
208 detect pkcs#12 files as well
209 - (crypto_load_and_verify_certificate): detect file type
210 - (crypto_is_pkcs12_data, crypto_is_pkcs12_file): add pkcs#12 detection
213 * libnm-util/crypto_gnutls.c
214 - (crypto_decrypt): take GByteArray rather than data + len; fix a bug
215 whereby tail padding was incorrectly handled, leading to erroneous
216 successes when trying to decrypt the data
217 - (crypto_verify_cert): rework somewhat
218 - (crypto_verify_pkcs12): validate pkcs#12 keys
220 * libnm-util/crypto_nss.c
221 - (crypto_init): enable various pkcs#12 ciphers
222 - (crypto_decrypt): take a GByteArray rather than data + len
223 - (crypto_verify_cert): clean up
224 - (crypto_verify_pkcs12): validate pkcs#12 keys
226 * libnm-util/test-crypto.c
227 - Handle pkcs#12 keys
229 * libnm-util/nm-setting-8021x.c
230 libnm-util/nm-setting-8021x.h
231 libnm-util/libnm-util.ver
232 - Add two new properties, 'private-key-password' and
233 'phase2-private-key-password', to be used in conjunction with
235 - (nm_setting_802_1x_set_ca_cert_from_file,
236 nm_setting_802_1x_set_client_cert_from_file,
237 nm_setting_802_1x_set_phase2_ca_cert_from_file,
238 nm_setting_802_1x_set_phase2_client_from_file): return certificate
240 - (nm_setting_802_1x_get_private_key_password,
241 nm_setting_802_1x_get_phase2_private_key_password): return private
243 - (nm_setting_802_1x_set_private_key_from_file,
244 nm_setting_802_1x_set_phase2_private_key_from_file): set the private
245 key from a file, and update the private key password at the same time
246 - (nm_setting_802_1x_get_private_key_type,
247 nm_setting_802_1x_get_phase2_private_key_type): return the private
250 * src/supplicant-manager/nm-supplicant-settings-verify.c
251 - Whitelist private key passwords
253 * src/supplicant-manager/nm-supplicant-config.c
254 - (nm_supplicant_config_add_setting_8021x): for pkcs#12 private keys,
255 add the private key password to the supplicant config, but do not
256 add the client certificate (as required by wpa_supplicant)
258 2008-11-12 Tambet Ingo <tambet@gmail.com>
260 * system-settings/plugins/keyfile/nm-keyfile-connection.c (copy_one_secret)
261 (add_secrets): Don't add empty secrets to the secrets hash table.
263 2008-11-07 Dan Williams <dcbw@redhat.com>
265 * libnm-util/nm-setting-wireless.c
266 - (nm_setting_wireless_get_seen_bssid): fix bug from accessor conversion
267 that cased this function to return garbage, breaking hidden AP
270 2008-11-07 Dan Williams <dcbw@redhat.com>
272 Fix deletion of VPN gateway route on DHCP renew (bgo #558133)
274 * src/NetworkManagerSystem.c
275 src/NetworkManagerSystem.h
276 - (nm_system_device_set_ip4_route): return the route that was added
277 - (nm_system_add_ip4_vpn_gateway_route): make add_vpn_gateway_route()
278 public, clean up, and return the route that was added
279 - (nm_system_apply_ip4_config): remove VPN related stuff to simplify,
280 since nm_system_add_ip4_vpn_gateway_route() is now available; add
281 flags to allow only certain attributes of the NMIP4Config to be
285 - (handle_dhcp_lease_change): don't touch the DHCP4 config on failure
286 - (nm_device_set_ip4_config): use nm_ip4_config_diff() to only apply
287 what's really changed between the old and new configs; don't export
288 the new IP4 config on failure; always send the DNS info to the
291 * src/vpn-manager/nm-vpn-connection.c
292 - (device_ip4_config_changed, nm_vpn_connection_new, dispose): track the
293 parent device's IP4Config and re-add the VPN gateway route when it
295 - (nm_vpn_connection_ip4_config_get): add the VPN gateway route (since
296 nm_system_apply_ip4_config() no longer does) and cache it for later
297 - (connection_state_changed): move cleanup code to its own function
298 - (vpn_cleanup): delete any previously added VPN gateway route; and
299 re-apply the parent device's addresses and routes using
300 nm_system_apply_ip4_config(), not nm_device_set_ip4_config()
302 2008-11-07 Dan Williams <dcbw@redhat.com>
304 * src/nm-ip4-config.c
306 - (nm_ip4_config_diff): new function; return the difference between two
308 - (nm_ip4_config_compare): change into nm_ip4_config_diff
310 2008-11-05 Dan Williams <dcbw@redhat.com>
314 - (nm_ip4_config_compare): compare two IP4 configs
316 2008-11-05 Dan Williams <dcbw@redhat.com>
318 * src/NetworkManagerPolicy.c
319 - (update_etc_hosts): only add newline if not the last line of the file
322 2008-11-05 Dan Williams <dcbw@redhat.com>
324 * src/dhcp-manager/nm-dhcp-dhclient.c
325 - (get_leasefile_for_iface): move lease files back to where dhclient
328 2008-11-05 Michael Biebl <mbiebl@gmail.com>
330 * initscripts/Debian/NetworkManager
331 - Update to what Debian is actually using
333 2008-11-05 Tambet Ingo <tambet@gmail.com>
335 * libnm-util/nm-setting-8021x.c: Verify PEAP settings as well.
337 2008-11-03 Dan Williams <dcbw@redhat.com>
339 * system-settings/src/main.c
340 - (add_default_dhcp_connection): make the fallback connection read-only
342 * libnm-glib/nm-settings.c
343 libnm-glib/nm-settings.h
344 - Add detailed errors
345 - (impl_exported_connection_update, impl_exported_connection_delete):
346 return an error if the connection is read-only
348 * system-settings/plugins/ifupdown/nm-ifupdown-connection.c
349 system-settings/plugins/keyfile/nm-keyfile-connection.c
350 system-settings/src/main.c
351 - Use more detailed errors
353 * system-settings/src/nm-system-config-error.c
354 system-settings/src/nm-system-config-error.h
355 system-settings/src/dbus-settings.c
356 - Remove NM_SYSCONFIG_SETTINGS_ERROR_INVALID_CONNECTION, replaced by
357 NM_SETTINGS_ERROR_INVALID_CONNECTION
359 2008-11-02 Dan Williams <dcbw@redhat.com>
361 * Add license headers to everything in src/
363 2008-11-02 Dan Williams <dcbw@redhat.com>
367 2008-11-02 Dan Williams <dcbw@redhat.com>
369 * src/NetworkManagerAP.c
370 - (nm_ap_new_fake_from_connection): treat only lack of a wireless security
371 setting as unencrypted; fixes a bug where NM wouldn't ask for new
372 secrets when connecting to an encrypted network failed
374 2008-10-30 Dan Williams <dcbw@redhat.com>
376 * libnm-util/libnm-util.ver
377 libnm-util/nm-setting-ip6-config.c
378 libnm-util/nm-setting-ip6-config.h
379 libnm-util/Makefile.am
380 - Make properties private and add accessor functions
381 - Hide IPv6 stuff from public API, it's incomplete and completely unused
383 * libnm-util/nm-connection.c
384 libnm-util/nm-utils.c
385 libnm-util/nm-utils.h
386 - Ignore IPv6 stuff for now
388 2008-10-30 Dan Williams <dcbw@redhat.com>
390 * libnm-util/libnm-util.ver
391 libnm-util/nm-setting-8021x.c
392 libnm-util/nm-setting-8021x.h
393 - Make properties private and add accessor functions
395 * src/supplicant-manager/nm-supplicant-config.c
396 system-settings/plugins/ifcfg-suse/parser.c
397 - Use 802.1x setting accessors
399 2008-10-30 Dan Williams <dcbw@redhat.com>
401 * libnm-util/libnm-util.ver
402 libnm-util/nm-setting-wireless-security.c
403 libnm-util/nm-setting-wireless-security.h
404 - Make properties private and add accessor functions
406 * libnm-util/nm-setting-wireless.c
407 src/NetworkManagerAP.c
409 src/supplicant-manager/nm-supplicant-config.c
410 system-settings/plugins/ifcfg-fedora/reader.c
411 system-settings/plugins/ifcfg-suse/parser.c
412 - Use wireless security accessors
414 2008-10-30 Dan Williams <dcbw@redhat.com>
416 * src/nm-device-ethernet.c
419 src/ppp-manager/nm-ppp-manager.c
420 - Harmonize return checking of ioctl
422 * system-settings/plugins/ifcfg-fedora/reader.c
423 - (is_wireless_device): fall back to SIOCGIWNAME (rh #466340)
425 2008-10-30 Dan Williams <dcbw@redhat.com>
427 * src/ppp-manager/nm-ppp-manager.c
428 - (nm_ppp_manager_start): if /dev/ppp doesn't exist, load the
429 ppp_generic module to create it (bgo #533064)
431 2008-10-30 Dan Williams <dcbw@redhat.com>
433 Patch from Alexander Sack <asac@canonical.com>
435 Fix "ppp connections don't honour ip4 connection settings"
437 * src/nm-device-ethernet.c
438 - (real_act_stage4_get_ip4_config): merge ip4config settings
439 with results from ppp manager
441 * src/nm-serial-device.c
442 - (real_act_stage4_get_ip4_config): merge ip4config settings
443 with results from ppp manager
445 2008-10-29 Dan Williams <dcbw@redhat.com>
447 * libnm-util/libnm-util.ver
448 libnm-util/nm-setting-ip4-config.c
449 libnm-util/nm-setting-ip4-config.h
450 - Make properties private and add accessor functions
452 * callouts/nm-dispatcher-action.c
453 libnm-glib/libnm-glib-test.c
454 libnm-util/nm-utils.c
455 src/NetworkManagerPolicy.c
456 src/NetworkManagerSystem.c
457 src/NetworkManagerUtils.c
458 src/dhcp-manager/nm-dhcp-dhclient.c
459 src/dhcp-manager/nm-dhcp-manager.c
460 src/dnsmasq-manager/nm-dnsmasq-manager.c
463 src/nm-hso-gsm-device.c
466 src/ppp-manager/nm-ppp-manager.c
467 src/vpn-manager/nm-vpn-connection.c
468 system-settings/plugins/ifcfg-fedora/reader.c
469 system-settings/plugins/ifcfg-suse/parser.c
470 system-settings/plugins/ifcfg-suse/plugin.c
471 system-settings/plugins/ifupdown/parser.c
473 vpn-daemons/vpnc/properties/nm-vpnc.c
474 - Use IP4 accessor functions
476 2008-10-29 Tambet Ingo <tambet@gmail.com>
478 Half of it by Dan Williams <dcbw@redhat.com>
480 * libnm-util/libnm-util.ver
481 libnm-util/nm-setting-vpn.c
482 libnm-util/nm-setting-vpn.h
483 - Make properties private and add accessor functions.
485 * src/vpn-manager/nm-vpn-connection.c
486 src/vpn-manager/nm-vpn-manager.c
487 system-settings/plugins/keyfile/reader.c
488 vpn-daemons/openvpn/properties/auth-helpers.c
489 vpn-daemons/openvpn/properties/import-export.c
490 vpn-daemons/openvpn/properties/nm-openvpn.c
491 vpn-daemons/openvpn/src/nm-openvpn-service.c
492 vpn-daemons/pptp/auth-dialog/main.c
493 vpn-daemons/pptp/properties/advanced-dialog.c
494 vpn-daemons/pptp/properties/nm-pptp.c
495 vpn-daemons/pptp/src/nm-pptp-service.c
496 vpn-daemons/vpnc/properties/nm-vpnc.c
497 vpn-daemons/vpnc/src/nm-vpnc-service.c
498 - Use VPN setting accessors.
500 2008-10-28 Dan Williams <dcbw@redhat.com>
502 Patch from Tambet Ingo <tambet@gmail.com>
504 * libnm-util/libnm-util.ver
505 libnm-util/nm-setting-wireless.c
506 libnm-util/nm-setting-wireless.h
507 - Make properties private and add accessor functions
509 * src/NetworkManagerAP.c
512 src/supplicant-manager/nm-supplicant-config.c
513 system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
514 system-settings/plugins/ifcfg-fedora/reader.c
515 system-settings/plugins/ifcfg-suse/parser.c
516 system-settings/plugins/ifupdown/parser.c
517 - Use wireless setting accessors
519 2008-10-27 Dan Williams <dcbw@redhat.com>
521 Patch from Tambet Ingo <tambet@gmail.com>
523 * libnm-util/libnm-util.ver
524 libnm-util/nm-setting-ppp.c
525 libnm-util/nm-setting-ppp.h
526 - Make properties private and add accessor functions
528 * src/ppp-manager/nm-ppp-manager.c
529 - Use ppp setting accessors
531 2008-10-27 Dan Williams <dcbw@redhat.com>
533 Patch from Tambet Ingo <tambet@gmail.com>
535 * libnm-util/nm-setting.h
536 libnm-util/nm-setting.c
537 - Make properties private and add accessor functions
539 * libnm-util/nm-connection.c
540 libnm-util/nm-setting-8021x.c
541 libnm-util/nm-setting-cdma.c
542 libnm-util/nm-setting-connection.c
543 libnm-util/nm-setting-gsm.c
544 libnm-util/nm-setting-ip4-config.c
545 libnm-util/nm-setting-ip6-config.c
546 libnm-util/nm-setting-ppp.c
547 libnm-util/nm-setting-pppoe.c
548 libnm-util/nm-setting-serial.c
549 libnm-util/nm-setting-template.c
550 libnm-util/nm-setting-vpn.c
551 libnm-util/nm-setting-wired.c
552 libnm-util/nm-setting-wireless-security.c
553 libnm-util/nm-setting-wireless.c
554 system-settings/plugins/keyfile/reader.c
555 system-settings/plugins/keyfile/writer.c
556 - Use setting accessors
558 2008-10-27 Dan Williams <dcbw@redhat.com>
560 * libnm-util/libnm-util.ver
561 libnm-util/nm-setting-connection.c
562 libnm-util/nm-setting-connection.h
563 - Add a 'read-only' property that indicates the connection cannot be
566 * system-settings/plugins/ifcfg-fedora/reader.c
567 system-settings/plugins/ifcfg-suse/parser.c
568 system-settings/plugins/ifupdown/parser.c
569 - These plugins are read-only at the moment
571 * system-settings/plugins/keyfile/reader.c
572 system-settings/plugins/keyfile/writer.c
573 - Read-only shouldn't get saved out to files or read in from them
575 2008-10-27 Tambet Ingo <tambet@gmail.com>
577 * src/nm-device-ethernet.c (nm_device_ethernet_get_speed): Implement
578 correct speed reporting for fast devices (kernel >= 2.6.27).
580 2008-10-26 Dan Williams <dcbw@redhat.com>
582 Attempt to compensate for modems that don't enable full AT parsing before
583 the PIN has been entered.
585 * src/nm-gsm-device.c
586 - (init_modem): accept different init strings
587 - (init_done): try different init strings on failure
588 - (check_pin_done): on PIN success, do full modem init
590 2008-10-26 Dan Williams <dcbw@redhat.com>
592 Patch from Tambet Ingo <tambet@gmail.com>
594 * libnm-util/libnm-util.ver
595 libnm-util/nm-setting-connection.c
596 libnm-util/nm-setting-connection.h
597 - Make properties private and add accessor functions
599 * src/NetworkManagerPolicy.c
601 src/nm-device-ethernet.c
602 src/nm-device-interface.c
606 src/ppp-manager/nm-ppp-manager.c
607 src/vpn-manager/nm-vpn-connection.c
608 system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
609 system-settings/plugins/ifcfg-fedora/plugin.c
610 system-settings/plugins/ifcfg-fedora/reader.c
611 system-settings/plugins/ifcfg-suse/parser.c
612 system-settings/plugins/ifupdown/parser.c
613 system-settings/plugins/keyfile/nm-keyfile-connection.c
614 system-settings/plugins/keyfile/plugin.c
615 system-settings/plugins/keyfile/writer.c
616 system-settings/src/main.c
617 - Use those accessors
619 2008-10-26 Dan Williams <dcbw@redhat.com>
621 Patch from Tambet Ingo <tambet@gmail.com>
623 * libnm-util/libnm-util.ver
624 libnm-util/nm-setting-gsm.c
625 libnm-util/nm-setting-gsm.h
626 - Make properties private and add accessor functions
628 * src/nm-gsm-device.c
629 src/nm-hso-gsm-device.c
630 src/ppp-manager/nm-ppp-manager.c
631 - Use those accessors
633 2008-10-26 Dan Williams <dcbw@redhat.com>
635 Patch from Tambet Ingo <tambet@gmail.com>
637 * libnm-util/libnm-util.ver
638 libnm-util/nm-setting-cdma.c
639 libnm-util/nm-setting-cdma.h
640 - Make properties private and add accessor functions
642 * src/nm-cdma-device.c
643 src/ppp-manager/nm-ppp-manager.c
644 - Use those accessors
646 2008-10-26 Dan Williams <dcbw@redhat.com>
648 Patch from Tambet Ingo <tambet@gmail.com>
650 * libnm-util/libnm-util.ver
651 libnm-util/nm-setting-pppoe.c
652 libnm-util/nm-setting-pppoe.h
653 - Make properties private and add accessor functions
655 * src/nm-device-ethernet.c
656 src/ppp-manager/nm-ppp-manager.c
657 - Use those accessors
659 2008-10-26 Dan Williams <dcbw@redhat.com>
661 Patch from Tambet Ingo <tambet@gmail.com>
663 * libnm-util/libnm-util.ver
664 libnm-util/nm-setting-wired.c
665 libnm-util/nm-setting-wired.h
666 - Make properties private and add accessor functions
668 * src/nm-device-ethernet.c
669 system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
670 system-settings/plugins/ifcfg-suse/parser.c
671 system-settings/src/main.c
672 - Use those accessors
674 2008-10-26 Dan Williams <dcbw@redhat.com>
676 Patch from Tambet Ingo <tambet@gmail.com>
678 * libnm-util/libnm-util.ver
679 libnm-util/nm-setting-serial.c
680 libnm-util/nm-setting-serial.h
681 src/nm-serial-device.c
682 - Make properties private and use accessors instead
684 2008-10-26 Dan Williams <dcbw@redhat.com>
686 * src/supplicant-manager/nm-supplicant-interface.c
687 src/supplicant-manager/nm-supplicant-interface.h
688 src/supplicant-manager/nm-supplicant-manager.c
689 src/supplicant-manager/nm-supplicant-manager.h
690 - Add state-to-string conversion functions
692 * src/nm-device-wifi.c
693 src/nm-device-ethernet.c
694 - Normalize state info logging and use strings instead of numbers
696 2008-10-26 Dan Williams <dcbw@redhat.com>
698 * src/NetworkManagerPolicy.c
699 - (update_routing_and_dns): ignore host routes when determining whether
700 a VPN connection should own the default route (bgo #552594)
702 2008-10-24 Dan Williams <dcbw@redhat.com>
704 * src/nm-gsm-device.c
705 - (set_apn): remove erroneous spaces in AT+CGDCONT command (Jerone Young)
707 2008-10-23 Dan Williams <dcbw@redhat.com>
709 * src/ppp-manager/nm-ppp-manager.c
710 - (create_pppd_cmd_line): pppd always parses /etc/ppp/options, so always
711 add really important stuff to the command line to ensure that NM
712 overrides /etc/ppp/options (bgo #556781)
714 2008-10-22 Dan Williams <dcbw@redhat.com>
716 * src/NetworkManagerSystem.c
718 - Use the device's IP interface where appropriate (Per Hallsmark)
720 2008-10-22 Dan Williams <dcbw@redhat.com>
722 * src/nm-gsm-device.c
723 - (schedule_automatic_registration_again): use a short timeout here
724 instead of an idle handler to avoid using too much CPU polling for
725 something we should be waiting a bit for anyway
727 2008-10-22 Dan Williams <dcbw@redhat.com>
729 * include/NetworkManager.h
730 introspection/nm-device.xml
731 - Add device state change reason for carrier changes
733 * src/nm-device-ethernet.c
734 - (set_carrier): use the carrier change reason when changing device
735 state in response to carrier changes
737 2008-10-21 Dan Williams <dcbw@redhat.com>
739 * src/NetworkManagerPolicy.c
740 - (update_etc_hosts): don't leak errors, and ensure that
741 g_file_set_contents() gets a valid error placeholder (rh #461933)
743 2008-10-21 Dan Williams <dcbw@redhat.com>
746 - (free_get_settings_info): don't use the DBusGProxy which could be
747 disposed of by the time the function is called
748 - (internal_new_connection_cb): save connection scope
749 - (connection_get_settings_cb): don't replace a connection unless it's
750 actually different from the existing one; fixes an issue where
751 killing the settings service wouldn't deactivate an active connection
752 provided by that settings service, because it was using a connection
753 that had already been replaced in the system or user hash
755 2008-10-21 Dan Williams <dcbw@redhat.com>
757 * src/NetworkManager.c
758 - (main): keep the DHCP manager around since it's a singleton; fixes
759 a use-after-free exposed by r4196 since the DHCP manager singleton
760 variable isn't cleared when the DHCP manager object is finalized
762 2008-10-20 Dan Williams <dcbw@redhat.com>
764 * libnm-util/nm-setting-wireless-security.c
765 - (verify): accept 'none' as a pairwise cipher with Ad-Hoc WPA connections
767 2008-10-20 Dan Williams <dcbw@redhat.com>
769 * src/supplicant-manager/nm-supplicant-config.c
770 - (ADD_STRING_LIST_VAL): don't add empty values to the supplicant config
772 2008-10-20 Dan Williams <dcbw@redhat.com>
774 * src/dhcp-manager/nm-dhcp-manager.c
775 - (nm_dhcp_manager_get): fix mismatched refcount; creating the dhcp
776 manager object already refs it once
777 - (nm_dhcp_manager_cancel_transaction_real): clear freed variables that
778 also get cleaned up by nm_dhcp_device_destroy() to prevent
781 2008-10-20 Dan Williams <dcbw@redhat.com>
784 - (initial_get_connections): use private dbus manager, don't keep
785 ref-ing the singleton. Fixes mismatched refcounts of the dbus
788 2008-10-18 Dan Williams <dcbw@redhat.com>
790 * libnm-glib/nm-settings.c
791 libnm-glib/nm-settings.h
792 - Rename the "get_secrets" virtual function "service_get_secrets" to
793 clarify when it's used; NMExportedConnetion is a base-class for both
794 the client and service side, which is sort of confusing, and
795 get_secrets only makes sense on the service side.
797 * libnm-glib/nm-dbus-connection.c
798 - (get_secrets): remove, unused, and clients need to do extra work to
799 get secrets anyway since the call can block on the remote side
801 * system-settings/plugins/ifupdown/nm-ifupdown-connection.c
802 system-settings/plugins/keyfile/nm-keyfile-connection.c
803 - Fix up for get_secrets -> service_get_secrets
805 2008-10-16 Dan Williams <dcbw@redhat.com>
807 * src/nm-device-wifi.c
808 - (constructor): correctly determine encryption capabilities
810 2008-10-15 Dan Williams <dcbw@redhat.com>
812 * src/nm-device-wifi.c
813 - (wireless_qual_to_percent): fix quality calculation in a fallback case
816 2008-10-15 Dan Williams <dcbw@redhat.com>
818 * src/NetworkManagerSystem.c
819 - (ip4_dest_in_same_subnet): tighter checks on subnet matching,
820 if the ip4_dest is in a smaller subnet contained within a subnet
821 the machine is currently on, the destination is in the same subnet
822 - (nm_system_device_set_ip4_route): move subnet checks to callers
823 - (add_vpn_gateway_route): check if the VPN gateway is in the same
824 subnet as the parent device, and if so, don't add the direct
825 host route via the parent device's gateway (bgo #481620)
826 - (nm_system_apply_ip4_config): check whether the route to be added
827 is contained within a subnet the device is already on
829 2008-10-11 Dan Williams <dcbw@redhat.com>
831 * include/NetworkManager.h
832 introspection/nm-device.xml
833 include/NetworkManagerVPN.h
834 - Add a few more state reasons for the device deactivated state
836 * src/nm-device-interface.c
837 src/nm-device-interface.h
838 - (nm_device_interface_deactivate): add a 'reason' argument
842 - (nm_device_deactivate, nm_device_take_down): add a 'reason' argument
843 - (nm_device_state_changed): pass the state change reason to
844 nm_device_take_down()
845 - (nm_device_set_managed): take a 'reason' argument, and pass it along
846 to the state change function
850 - (remove_one_device, handle_unmanaged_devices, sync_devices,
851 impl_manager_sleep): pass a reason code to nm_device_set_managed()
852 - (nm_manager_deactivate_connection): add a 'reason' argument and pass
853 something reasonable along to VPN deactivation
855 * src/vpn-manager/nm-vpn-manager.c
856 src/vpn-manager/nm-vpn-manager.h
857 - (nm_vpn_manager_deactivate_connection): add a 'reason' argument and
858 pass that along to nm_vpn_connection_disconnect()
860 2008-10-11 Dan Williams <dcbw@redhat.com>
862 * src/nm-device-wifi.c
863 - (can_scan): remove old madwifi hack for not scanning while connected
865 2008-10-11 Dan Williams <dcbw@redhat.com>
867 Add support for VPN subnet gateways (bgo #549196)
869 * include/NetworkManager.h
870 - Add key for internal VPN subnet gateway
872 * src/vpn-manager/nm-vpn-connection.c
873 - (ip_address_to_string): return a const from a static buffer so we
874 don't leak a lot of strings
875 - (print_vpn_config): print internal VPN gateway as well
876 - (nm_vpn_connection_ip4_config_get): grab internal VPN gateway from
878 - (nm_vpn_connection_get_ip4_internal_gateway): new function
880 * src/NetworkManagerSystem.c
881 src/NetworkManagerSystem.h
882 - (nm_system_device_replace_default_ip4_route): split into two, one for
883 VPN connections and one for normal devices
884 - (replace_default_ip4_route): break out route stuff into its own function
885 - (nm_system_replace_default_ip4_route_vpn,
886 nm_system_replace_default_ip4_route): simplify by having two cases,
887 one for VPNs and one for normal devices
889 * src/NetworkManagerPolicy.c
890 - (update_routing_and_dns): simplify, use split default route replacement
893 2008-10-10 Dan Williams <dcbw@redhat.com>
895 Rework default route handling to consolidate decisions in the policy,
896 and to take active VPN connections into account when changing the default
899 * src/NetworkManager.c
900 - (main): pass the vpn_manager to the policy so it knows about active
901 VPN connections; clean up the named manager which wasn't done before
903 * src/NetworkManagerPolicy.c
904 src/NetworkManagerPolicy.h
905 - (nm_policy_new): get a clue about the vpn_manager
906 - (update_default_route): remove, fold into update_routing_and_dns()
907 - (update_routing_and_dns): handle active VPN connections too; an
908 active VPN connection becomes the default route if it does not have
909 server-specified or user-specified custom routes. Otherwise, the
910 best active device gets the default route
911 - (vpn_connection_activated, vpn_connection_deactivated, nm_policy_new,
912 nm_policy_destroy): track VPN connection activation and deactivation
913 and update the default route when appropriate
915 * src/NetworkManagerSystem.c
916 src/NetworkManagerSystem.h
917 - (nm_system_vpn_device_unset_from_ip4_config): remove, put functionality
918 in the VPN connection itself
919 - (nm_system_vpn_device_set_from_ip4_config,
920 nm_system_device_set_from_ip4_config): merge together to make
921 nm_system_apply_ip4_config()
922 - (add_vpn_gateway_route): add a route to the VPN's external gateway
923 via the parent device
924 - (nm_system_apply_ip4_config): simplify
925 - (add_ip4_route_to_gateway): new function; add a direct route to the
927 - (nm_system_device_replace_default_ip4_route): simplify, break gateway
928 route stuff out into add_ip4_route_to_gateway() for clarity
931 - (nm_device_set_ip4_config): update for nm_system_apply_ip4_config()
933 * src/vpn-manager/nm-vpn-connection.c
934 src/vpn-manager/nm-vpn-connection.h
935 - (nm_vpn_connection_get_ip4_config, nm_vpn_connection_get_ip_iface,
936 nm_vpn_connection_get_parent_device): add
937 - (nm_vpn_connection_ip4_config_get): make the requirement of a tunnel
939 - (connection_state_changed): update the named manager now that
940 nm_system_vpn_device_unset_from_ip4_config() is gone; do something
943 * src/vpn-manager/nm-vpn-manager.c
944 src/vpn-manager/nm-vpn-manager.h
945 - Add a 'connection-activated' signal
946 - (nm_vpn_manager_get_active_connections): new function; mainly for the
947 policy to find out about active VPN connections
949 2008-10-10 Tambet Ingo <tambet@gmail.com>
951 * src/nm-logging.c (nm_logging_setup): Don't use LOG_CONS when running as
952 a daemon to prevent NM logging spew on console on startup and shutdown (due
953 to dependency loop between NM and syslog).
955 2008-10-10 Alexander Sack <asac@ubuntu.com>
957 Implement managed mode. We bind devices configured in /etc/network/interfaces
958 to their connections by updating wired/wireless setting with the
959 mac address of the device.
961 * system-settings/plugins/ifupdown/plugin.c
962 - (get_net_address_for_udi): implement function to retrieve MAC
963 address of udi from hal in GByteArray format
964 - (bind_device_to_connection): bind mac address of device to
965 wired/wireless system connection
966 - (hal_device_added_cb): call bind_device_to_connection for
967 system connections with a matching interface.name
968 - (hal_device_added_cb): ensure that all code paths
969 properly free the "iface" string.
971 2008-10-10 Alexander Sack <asac@ubuntu.com>
973 Parse nm-system-settings.conf and allow admins to either use managed and unmanaged
974 mode of the ifupdown system config plugin.
976 * system-settings/plugins/ifupdown/plugin.c
977 - (SCPluginIfupdown_init): parse nm-system-settings.conf keyfile and set
978 private unmanage_well_known state field accordingly
980 2008-10-10 Alexander Sack <asac@ubuntu.com>
982 Implement unmanaged mode that will prevent all devices in the
983 well_known_udis set from being touched by NetworkManager
985 * system-settings/plugins/ifupdown/plugin.c
986 - (typedef struct SCPluginIfupdownPrivate): add gboolean
987 unmanage_well_known field used to turn on/off unmanaged
989 - (hal_device_added_cb,hal_device_remove_cb): emit |unmanaged-devices-changed|
990 signal when well_known_udis get added/removed
991 - (SCPluginIfupdown_get_unmanaged_devices): return all well_known_udis
992 if we are in unmanaged mode
994 2008-10-10 Alexander Sack <asac@ubuntu.com>
996 Add support to track network devices that have a configuration
997 with a matching interface.name in /etc/network/interfaces
999 * system-settings/plugins/ifupdown/plugin.c
1000 - (typedef struct SCPluginIfupdownPrivate): add hash table
1001 to track |well_known_udis|
1002 - (get_iface_for_udi): helper function to get interface.name
1004 - (hal_device_added_cb, hal_device_removed_cb): callbacks
1005 that add and remove devices to and from the well_known_udis
1006 set depending on whether their |interface.name| matches
1007 any interface definition in /etc/network/interfaces
1008 - (SCPluginIfupdown_init): connect callbacks from above with
1009 hal_mgr and setup well_known_udis hashtable
1010 - (GObject__dispose): destroy well_known_udis hashtable
1011 - (hal_device_added_cb2): implement wrapper callback with GFunc
1012 signature. user_data is supposed to be a triple (hal_mgr,
1014 - (SCPluginIfupdown_init): bootstrap wired and wifi devices for
1015 startup and call hal_device_added_cb2
1017 2008-10-10 Alexander Sack <asac@ubuntu.com>
1019 Remove implementation for not used NMSystemConfigInterface callback functions
1022 * system-settings/plugins/ifupdown/plugin.c
1023 - (SCPluginIfupdown_unmanaged_devices_changed): removed
1024 - (SCPluginIfupdown_connection_added): removed
1026 2008-10-08 Dan Williams <dcbw@redhat.com>
1028 Add a 'hostname' dispatcher action triggered on hostname changes (bgo #552983)
1030 * src/NetworkManagerUtils.c
1031 - (nm_utils_call_dispatcher): add a 'hostname' action
1033 * src/NetworkManagerPolicy.c
1034 - (set_system_hostname): dispatch hostname changes
1036 * callouts/nm-dispatcher-action.c
1037 - (nm_dispatcher_action): handle 'hostname' actions
1039 2008-10-08 Dan Williams <dcbw@redhat.com>
1041 * src/NetworkManagerSystem.c
1042 - (find_route): ref the route so it doesn't get destroyed when the cache
1044 - (nm_system_device_set_priority): unref the route here after it's done
1047 2008-10-08 Dan Williams <dcbw@redhat.com>
1049 * src/nm-serial-device.c
1050 - Turn on serial debugging when NM_SERIAL_DEBUG is set in the environment
1052 2008-10-08 Tambet Ingo <tambet@gmail.com>
1054 * system-settings/plugins/keyfile/nm-keyfile-connection.c (update): Update the
1055 connection with new settings before saving it.
1057 2008-10-06 Dan Williams <dcbw@redhat.com>
1059 * src/nm-ip4-config.c
1061 - nm_ip4_config_is_exported -> nm_ip4_config_get_dbus_path
1063 * src/nm-device-interface.c
1064 - (nm_device_interface_init): make 'ip4-config' a boxed property of type
1065 DBUS_TYPE_G_OBJECT_PATH so that we can make it NULL when we need to
1066 by using '/' for the object path
1069 - (src/nm-device.c): marshal missing/unexported ip4-config through
1070 dbus as '/' since dbus-glib can't handle NULL objects nor can
1071 dbus handle NULL object paths
1073 2008-10-03 Alexander Sack <asac@ubuntu.com>
1075 Implement system hostname support for debian/ubuntu
1077 * system-settings/plugins/ifupdown/plugin.c
1078 - (GObject__get_property): extend announced capabilities; add
1079 NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME support
1080 - (GObject__set_property,write_system_hostname): implement
1081 NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME capability.
1082 - (GObject__set_property, GObject__get_property, SCPluginIfupdown_init,
1083 update_system_hostname, get_hostname):
1084 implement hostname property that watches and
1085 parses /etc/hostname
1087 2008-10-03 Alexander Sack <asac@ubuntu.com>
1089 * system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
1090 system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
1091 system-settings/plugins/ifcfg-fedora/Makefile.am
1092 system-settings/src/nm-inotify-helper.c
1093 system-settings/src/nm-inotify-helper.h
1095 - Move ifcfg-fedora inotify helpers to the system settings service so
1096 they are available to all plugins
1098 2008-10-03 Alexander Sack <asac@ubuntu.com>
1100 Implement support for wep-tx-keyidx in ifupdown system
1103 * system-settings/plugins/ifupdown/parser.c
1104 - (update_wireless_security_setting_from_if_block): introduce
1105 free_type_mapping func table; rename a few local
1106 variables to improve readability; add wpa security mapping
1107 for wep-tx-keyidx property
1108 - (string_to_gpointerint): new function used for the auto_type_mapping
1109 of new wep-tx-keyidx property
1110 - (slist_free_all): free func used for mapped slist types
1112 2008-10-03 Alexander Sack <asac@ubuntu.com>
1114 * system-settings/src/main.c:
1115 - (add_default_dhcp_connection, device_removed_cb): ensure the UDI is
1116 always used as the hash key; fixes a crash when removing wired
1119 2008-10-02 Dan Williams <dcbw@redhat.com>
1121 * src/nm-gsm-device.c
1122 - (enter_pin_done, enter_pin, check_pin_done, real_act_stage1_prepare):
1123 pass the required GSM secret along via user_data rather than keeping
1124 it around in the private data where it sometimes didn't get cleared
1125 - (real_get_ppp_name): implement using the GSM username
1127 2008-10-02 Dan Williams <dcbw@redhat.com>
1129 * src/ppp-manager/nm-ppp-manager.c
1130 src/ppp-manager/nm-ppp-manager.h
1131 - (impl_ppp_manager_need_secrets): tries secrets twice before asking
1132 the settings daemon for completely new ones
1133 - (create_pppd_cmd_line): new parameter 'ppp_name' used to set the
1134 local PPP peer name; allow PPP debuging by launching NM with
1135 the environment variable NM_PPP_DEBUG defined
1136 - (nm_ppp_manager_start): new parameter 'ppp_name' passed to
1137 create_pppd_cmd_line()
1139 * src/nm-serial-device.c
1140 src/nm-serial-device.h
1141 - New 'get_ppp_name' function for subclasses to implement to return the
1143 - (real_act_stage2_config): call 'get_ppp_name' function of subclasses
1144 and pass that name to the PPP manager
1146 * src/nm-device-ethernet.c
1147 - (pppoe_stage2_config): pass the PPPoE username to the PPP manager as
1150 * src/nm-cdma-device.c
1151 - (real_get_ppp_name): implement using the CDMA username
1153 2008-10-02 Dan Williams <dcbw@redhat.com>
1155 Patch from Alexander Sack <asac ubuntu com>
1157 * system-settings/plugins/ifupdown/parser.c
1158 - Implement more graceful ip4 config parsing for cases where
1159 /etc/network/interfaces omits basic ip4 settings, such as gateway etc
1160 by using default values
1162 2008-10-02 Dan Williams <dcbw@redhat.com>
1164 * src/NetworkManagerPolicy.c
1165 - (device_state_changed): when marking a connection invalid, clear its
1166 secrets too so that fresh secrets get requested the next time
1168 2008-10-01 Dan Williams <dcbw@redhat.com>
1170 * system-settings/src/dbus-settings.c
1171 - (nm_sysconfig_settings_init): cache system hostname on startup as
1172 a fallback if no plugin provides a hostname
1173 - (get_property): fall back to cached hostname if no plugin provides
1176 2008-10-01 Dan Williams <dcbw@redhat.com>
1178 Fix setting value comparison issue that caused some settings to look the
1179 same when they were really different (rh #464417)
1181 * libnm-util/nm-param-spec-specialized.c
1182 - (type_is_fixed_size): return fundamental size of the fixed type too
1183 - (nm_gvalues_compare_collection): use the fundamental fixed type size
1184 in the comparison so that the _entire_ fixed type collection gets
1185 compared rather than just the first 'len1' bytes
1187 2008-09-30 Dan Williams <dcbw@redhat.com>
1189 * src/NetworkManagerPolicy.c
1190 - (lookup_thread_worker): don't store the idle handler ID becuase the
1191 idle handler could have already run and freed the LookupThread
1194 2008-09-30 Tambet Ingo <tambet@gmail.com>
1196 * src/nm-device.c (nm_device_get_priority): Implement.
1197 (nm_device_set_ip4_config): Send the device priority to system ip4
1200 * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config):
1201 Add priority argument and if it's >= 0, set the priority of the network
1202 route added automatically by netlink (or kernel?).
1203 (nm_system_device_set_priority): Implement.
1205 * src/NetworkManagerPolicy.c (get_best_device): Use
1206 nm_device_get_priority() instead of home-grown version. Revert the
1207 meaning, best priority is the lowest one.
1209 2008-09-29 Dan Williams <dcbw@redhat.com>
1211 Handle ipw3945 suspend/resume by retrying the GIWRANGE request a few times
1212 when it returns EAGAIN (rh #362421)
1214 * src/nm-device-wifi.c
1215 - (wireless_get_range): try GIWRANGE a few times until the card responds
1216 - (real_get_generic_capabilities, constructor): use wireless_get_range()
1218 2008-09-28 Dan Williams <dcbw@redhat.com>
1220 * src/nm-serial-device.c
1221 src/nm-serial-device.h
1222 - (nm_serial_device_close): stop PPP manager here so that PPP gets
1223 cleaned at the right times when subclasses close the serial port too
1224 - (nm_serial_device_send_command): use a default send delay; don't
1225 spin forever on EAGAIN
1226 - (get_reply_done, get_reply_got_data, nm_serial_device_get_reply):
1227 remove, no longer used
1228 - (find_response): return the matched response if any
1229 - (nm_serial_device_wait_reply_blocking): wait for a reply but block
1231 - (wait_for_reply_done): pass the matched response to the callback
1232 - (wait_for_reply_got_data): save the matched response; simplify timeout
1234 - (nm_serial_device_wait_for_reply): make 'responses' and 'terminators'
1235 const since they never get modified
1236 - (cleanup_device): split out common cleanup stuff to a new function
1237 - (real_deactivate_quickly, finalize): use cleanup_device()
1239 * src/nm-gsm-device.c
1240 - (modem_get_reply): remove, unused
1241 - (set_apn): give the card a bit more time to respond
1242 - (manual_registration_again, schedule_manual_registration_again,
1243 manual_registration_response, manual_registration): handle manual
1244 registration timeouts better by retrying registration a few times
1245 because cards are a bit slow after CFUN=1
1246 - (automatic_registration_get_network, get_network_response): use
1247 modem_wait_for_reply() because it interacts better with the serial
1248 buffer and does more intelligent matching; need to wait for 'OK'
1249 rather than just matching terminators
1250 - (schedule_automatic_registration_again,
1251 automatic_registration_response, automatic_registration): retry
1252 registration a few times on timeout or "searching" because cards
1253 take a bit to find a network after being powered up with CFUN=1
1254 - (power_up_response, power_up, init_full_done, enter_pin,
1255 check_pin_done): power up the card with CFUN=1 before trying to
1256 register with the network
1257 - (init_modem_full, init_modem): use more standard 3G init strings
1259 * src/nm-hso-gsm-device.c
1260 - (modem_get_reply): remove, unused
1261 - (hso_ip4_config_response, real_act_stage3_ip_config_start): use
1262 modem_wait_for_reply() to match actual responses instead of single
1263 termination characters; it doesn't leave stuff in the serial buffer
1264 that might confuse later calls
1265 - (real_deactivate_quickly): use nm_serial_device_wait_reply_blocking()
1266 to ensure that the call is really disconnected and not leave extra
1267 stuff in the serial buffer
1269 * src/nm-cdma-device.c
1270 - (power_up_response, power_up, init_done): try Sierra-style modem
1271 power up before attempting to connect
1273 2008-09-27 Dan Williams <dcbw@redhat.com>
1275 * libnm-util/nm-setting-gsm.c
1276 - (verify): verify GSM network ID
1278 2008-09-25 Dan Williams <dcbw@redhat.com>
1280 * libnm-util/nm-setting-gsm.c
1281 libnm-util/nm-setting-gsm.h
1282 - Fix up NM_GSM_NETWORK_* constants to accurately reflect the network
1283 technology terms (bgo #551361)
1285 2008-09-25 Dan Williams <dcbw@redhat.com>
1287 Fix bgo #549401 (inspired by patch from Alexander Sack)
1289 * src/nm-device-ethernet.c
1290 - (finish_supplicant_task): clean up scheduled tasks and free memory
1291 - (remove_supplicant_interface_error_handler): remove the supplicant
1292 error idle callback too
1293 - (supplicant_interface_release): rename from supplicant_interface_clean
1294 to match nm-device-wifi.c; clean up supplicant interface-related
1295 state tasks when the supplicant interface is disposed of
1296 - (schedule_state_handler): add scheduled tasks to a list so they can
1298 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
1299 supplicant_iface_connection_state_cb_handler): use
1300 finish_supplicant_task() to clean up each completed task
1301 - (supplicant_iface_connection_error_cb_handler,
1302 supplicant_connection_timeout_cb): clear source id when the task is
1304 - (supplicant_iface_connection_error_cb): save scheduled task id for
1306 - (nm_device_ethernet_dispose): clean up any pending supplicant state
1309 * src/nm-device-wifi.c
1310 - (finish_supplicant_task): clean up scheduled tasks and free memory
1311 - (remove_supplicant_interface_error_handler): remove the supplicant
1312 error idle callback too
1313 - (supplicant_interface_release): clean up supplicant interface-related
1314 state tasks when the supplicant interface is disposed of
1315 - (schedule_state_handler): add scheduled tasks to a list so they can
1317 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
1318 supplicant_iface_connection_state_cb_handler): use
1319 finish_supplicant_task() to clean up each completed task
1320 - (supplicant_iface_connection_error_cb_handler): clear source id when
1321 the task is complete
1322 - (supplicant_iface_connection_error_cb): save scheduled task id for
1324 - (nm_device_wifi_dispose): clean up any pending supplicant state tasks
1326 2008-09-24 Tambet Ingo <tambet@gmail.com>
1328 * system-settings/plugins/keyfile/plugin.c: Implement unmanaged_devices
1329 method and get/set hostname property.
1331 2008-09-24 Tambet Ingo <tambet@gmail.com>
1333 * src/supplicant-manager/nm-supplicant-interface.c
1334 (nm_supplicant_interface_disconnect): Don't increment the reference
1335 count when disconnecting. The problem is on shutdown, when the replies
1336 to these commands do not arrive before NM exits, resulting on never
1337 calling supplicant interface's dispose(), which removes the interface
1340 2008-09-24 Tambet Ingo <tambet@gmail.com>
1342 * libnm-glib/nm-vpn-plugin-ui-interface.c: Add type checking to
1343 all the public function arguments.
1345 2008-09-22 Tambet Ingo <tambet@gmail.com>
1347 * src/vpn-manager/nm-vpn-connection.c: Add a signal handler for the
1348 "Failure" signal from VPN plugins, store the failure reason, and
1349 use it when the state is changed to failure.
1351 * introspection/nm-vpn-plugin.xml: Fix the "Failure" signal's type
1354 * include/NetworkManagerVPN.h (NMVPNConnectionStateReason): Add a new
1355 reason to the end of the list to not break the API.
1356 (NMVPNPluginFailure): Move it here (from libnm-glib/nm-vpn-plugin.h)
1357 so it can be shared by plugins and daemon.
1359 2008-09-18 Dan Williams <dcbw@redhat.com>
1361 Patch from Alexander Sack <asac@ubuntu.com>
1364 system-settings/plugins/Makefile.am
1365 system-settings/plugins/ifupdown/Makefile.am
1366 system-settings/plugins/ifupdown/interface_parser.c
1367 system-settings/plugins/ifupdown/interface_parser.h
1368 system-settings/plugins/ifupdown/nm-ifupdown-connection.c
1369 system-settings/plugins/ifupdown/nm-ifupdown-connection.h
1370 system-settings/plugins/ifupdown/parser.c
1371 system-settings/plugins/ifupdown/parser.h
1372 system-settings/plugins/ifupdown/plugin.c
1373 system-settings/plugins/ifupdown/plugin.h
1374 - Implement a Debian/Ubuntu legacy network configuration plugin
1377 2008-09-18 Dan Williams <dcbw@redhat.com>
1379 Implement support for honoring configured and automatic hostnames, and for
1380 setting the configured hostname.
1382 * introspection/nm-ip4-config.xml
1385 src/dhcp-manager/nm-dhcp-manager.c
1386 - Remove useless hostname property; it's not really part of the IPv4
1389 * introspection/nm-settings-system.xml
1390 libnm-glib/nm-dbus-settings-system.c
1391 libnm-glib/nm-dbus-settings-system.h
1392 - Add SetHostname() call to system settings D-Bus interface
1393 - Add Hostname property to system settings D-Bus interface
1394 - (nm_dbus_settings_system_save_hostname,
1395 nm_dbus_settings_system_get_hostname): implement
1399 - (nm_device_get_dhcp4_config): implement
1403 - Fetch and track system settings service hostname changes, and proxy
1404 the changes via a GObject property of the manager
1406 * system-settings/src/nm-system-config-interface.c
1407 system-settings/src/nm-system-config-interface.h
1408 - Replace nm_system_config_interface_supports_add() with a capabilities
1411 * system-settings/src/nm-system-config-error.c
1412 system-settings/src/nm-system-config-error.h
1413 - Add additional errors
1415 * system-settings/src/dbus-settings.c
1416 system-settings/src/dbus-settings.h
1417 - (get_property, nm_sysconfig_settings_class_init): add hostname
1418 property; first plugin returning a hostname wins
1419 - (impl_settings_add_connection): use plugin capabilities instead of
1420 nm_system_config_interface_supports_add()
1421 - (impl_settings_save_hostname): implement hostname saving
1423 * src/NetworkManagerPolicy.c
1424 - (lookup_thread_run_cb, lookup_thread_worker, lookup_thread_new,
1425 lookup_thread_die): implement an asynchronous hostname lookup thread
1426 which given an IPv4 address tries to look up the hostname for that
1427 address with reverse DNS
1428 - (get_best_device): split out best device code from
1429 update_routing_and_dns()
1430 - (update_etc_hosts): update /etc/hosts with the machine's new hostname
1431 to preserve the 127.0.0.1 reverse mapping that so many things require
1432 - (set_system_hostname): set a given hostname
1433 - (update_system_hostname): implement hostname policy; a configured
1434 hostname (from the system settings service) is used if available,
1435 otherwise an automatically determined hostname from DHCP, VPN, etc.
1436 If there was no automatically determined hostname, reverse DNS of
1437 the best device's IP address will be used, and as a last resort the
1438 hostname 'localhost.localdomain' is set.
1439 - (update_routing_and_dns): use get_best_device(); update the system
1440 hostname when the network config changes
1441 - (hostname_changed): update system hostname if the system settings
1442 service signals a hostname change
1443 - (nm_policy_new): list for system settings service hostname changes
1444 - (nm_policy_destroy): ensure that an in-progress hostname lookup thread
1447 * system-settings/plugins/keyfile/plugin.c
1448 system-settings/plugins/ifcfg-suse/plugin.c
1449 - (get_property, sc_plugin_ifcfg_class_init): implement hostname and
1450 capabilities properties
1452 * system-settings/plugins/ifcfg-fedora/shvar.c
1453 - (svOpenFile): re-enable R/W access of ifcfg files since the plugin
1454 writes out /etc/sysconfig/network now
1456 * system-settings/plugins/ifcfg-fedora/plugin.c
1457 - (plugin_get_hostname): get hostname from /etc/sysconfig/network
1458 - (plugin_set_hostname): save hostname to /etc/sysconfig/network
1459 - (sc_network_changed_cb): handle changes to /etc/sysconfig/network
1460 - (sc_plugin_ifcfg_init): monitor /etc/sysconfig/network for changes
1461 - (get_property, set_property, sc_plugin_ifcfg_class_init): implement
1462 hostname get/set and capabilities get
1464 2008-09-18 Dan Williams <dcbw@redhat.com>
1466 * libnm-util/nm-setting-wireless.c
1467 - (nm_setting_wireless_ap_security_compatible): only verify pairwise and
1468 group ciphers if the wireless-security setting explicitly specified
1469 them, effectively making the default be "all ciphers" (idea from
1472 2008-09-15 Dan Williams <dcbw@redhat.com>
1474 Patch from Alexander Sack <asac@ubuntu.com>
1476 * src/named-manager/nm-named-manager.c
1477 - (dispatch_resolvconf): respect resolvconf exit code
1479 2008-09-12 Tambet Ingo <tambet@gmail.com>
1481 * src/named-manager/nm-named-manager.c (dispatch_netconfig): Make it compile
1482 again. Add some debugging.
1484 2008-09-11 Dan Williams <dcbw@redhat.com>
1486 * system-settings/plugins/keyfile/plugin.c
1487 - (update_connection_settings): update connection manually, since
1488 nm_exported_connection_update() does authentication
1489 - (dir_changed): update_connection_settings() doesn't need to return
1492 2008-09-09 Dan Williams <dcbw@redhat.com>
1494 * libnm-glib/nm-vpn-plugin-ui-interface.c
1495 libnm-glib/nm-vpn-plugin-ui-interface.h
1496 libnm-glib/libnm_glib_vpn.ver
1497 - (nm_vpn_plugin_ui_interface_delete_connection): called when the plugin
1498 should clean up resources related to the connection (like keyring
1500 - (nm_vpn_plugin_ui_widget_interface_save_secrets): called when the plugin
1501 should save user-scope secrets (like to the keyring)
1503 2008-09-08 Dan Williams <dcbw@redhat.com>
1505 Patch from Alexander Sack <asac@ubuntu.com>
1507 * libnm-util/crypto_gnutls.c
1508 libnm-util/crypto_nss.c
1509 - (crypto_init, crypto_deinit): just use a boolean instead of a refcount
1511 * libnm-util/nm-utils.c
1512 libnm-util/nm-utils.h
1513 libnm-util/libnm-util.ver
1514 - (nm_utils_init): initialize libnm-util
1515 - (nm_utils_deinit): de-initialize libnm-util and clean up resources
1517 * libnm-util/nm-setting-8021x.c
1518 - (nm_setting_802_1x_class_init): init libnm-util when needed
1520 2008-09-05 Dan Williams <dcbw@redhat.com>
1522 Patch from Roy Marples <roy@marples.name> and others
1525 src/named-manager/nm-named-manager.c
1526 - Add support for resolvconf; use --with-resolvconf at configure time
1529 2008-09-05 Dan Williams <dcbw@redhat.com>
1531 * libnm-util/crypto_nss.c
1532 libnm-util/crypto_gnutls.c
1534 - (crypto_init): return error when init fails
1536 2008-09-05 Dan Williams <dcbw@redhat.com>
1538 * libnm-glib/nm-device-wifi.c
1539 - (access_point_removed_proxy): clean up the active access point too
1540 just in case the active ap changed signal didn't come through yet
1541 - (clean_up_aps): be sure to set priv->active_ap to NULL when cleaning up
1543 2008-09-05 Dan Williams <dcbw@redhat.com>
1545 * libnm-glib/nm-client.c
1546 - (constructor): get initial state after we know whether NM is running
1549 2008-09-05 Dan Williams <dcbw@redhat.com>
1551 * libnm-glib/nm-ip4-config.c
1552 libnm-glib/nm-dhcp4-config.c
1553 - (finalize): clean up the DBusGProxy
1555 2008-09-04 Dan Williams <dcbw@redhat.com>
1557 * src/nm-ip4-config.c
1559 - (nm_ip4_config_new): don't export over D-Bus here
1560 - (nm_ip4_config_export): new function; export the config over D-Bus
1561 - (nm_ip4_config_is_exported): new function
1564 - (nm_device_activate_stage5_ip_config_commit): fix leak of IP4Config
1565 objects by balancing the IP4Config constructor; the device holds
1566 a reference to the IP4Config already
1567 - (nm_device_set_ip4_config): export the IP4Config when needed
1569 2008-09-04 Dan Williams <dcbw@redhat.com>
1571 * src/supplicant-manager/nm-supplicant-settings-verify.c
1572 - Allow WPA-NONE key management for Ad-Hoc WPA connections
1574 2008-09-04 Dan Williams <dcbw@redhat.com>
1576 * libnm-util/nm-setting-vpn.c
1577 libnm-util/nm-setting-vpn.h
1578 - Split VPN secrets from VPN data so that settings services can actually
1579 figure out that they are secrets and store them accordingly
1581 * system-settings/plugins/keyfile/nm-keyfile-connection.c
1582 system-settings/plugins/keyfile/reader.c
1583 system-settings/plugins/keyfile/reader.h
1584 system-settings/plugins/keyfile/writer.c
1585 - Store VPN secrets separately from VPN data so that they can be fetched
1587 - Implement the get_secrets() call so that (a) secrets don't leak out
1588 to unprivileged callers, and (b) secrets can be sent to privileged
1591 * vpn-daemons/vpnc/src/nm-vpnc-service.c
1592 - Handle split VPN secrets
1594 2008-08-27 Dan Williams <dcbw@redhat.com>
1596 * system-settings/plugins/ifcfg-fedora/reader.c
1597 - (make_ip4_setting): use DOMAIN not SEARCH (rh #459370)
1599 2008-08-27 Dan Williams <dcbw@redhat.com>
1601 Ensure zombie children get cleaned up. To get notifications when children
1602 die abnormally, g_spawn_async() requires G_SPAWN_DO_NOT_REAP_CHILD, but
1603 that requires calling waitpid() yourself if you've removed the child watch
1604 handler before the process has actually died, which NM needs to do in a few
1605 places. So ensure that everything uses G_SPAWN_DO_NOT_REAP_CHILD and also
1606 cleans up after the child when required. Should fix problems trying to
1607 activate mobile broadband connections after a previous failure.
1609 * src/dhcp-manager/nm-dhcp-dhclient.c
1610 src/dhcp-manager/nm-dhcp-dhcpcd.c
1611 - Use G_SPAWN_DO_NOT_REAP_CHILD
1613 * src/dhcp-manager/nm-dhcp-manager.c
1614 - (nm_dhcp_device_destroy): ensure child is cleaned up
1615 - (nm_dhcp_client_stop, nm_dhcp_manager_cancel_transaction_real): always
1616 block on child quitting, since the non-blocking functionality was
1619 * src/dnsmasq-manager/nm-dnsmasq-manager.c
1620 - (dm_watch_cb): child is already reaped here
1621 - (ensure_killed, nm_dnsmasq_manager_stop): block until child is dead
1624 - (aipd_cleanup): block until child is dead
1626 * src/named-manager/nm-named-manager.c
1627 - (run_netconfig): don't use G_SPAWN_DO_NOT_REAP_CHILD if we aren't
1628 event bothering to watch the child
1630 * src/ppp-manager/nm-ppp-manager.c
1631 - (ppp_watch_cb): child is already reaped here
1632 - (ensure_killed, nm_ppp_manager_stop): block until child is dead
1634 * src/vpn-manager/nm-vpn-service.c
1635 - (vpn_service_watch_cb): child is already reaped here
1636 - (nm_vpn_service_daemon_exec): use G_SPAWN_DO_NOT_REAP_CHILD so that
1637 status of the child is actually tracked
1638 - (ensure_killed, finalize): block until child is dead
1640 2008-08-26 Dan Williams <dcbw@redhat.com>
1642 * system-settings/plugins/keyfile/nm-keyfile-connection.c
1643 - (update): Update filename of the connection if the connection id
1646 * system-settings/plugins/keyfile/plugin.c
1647 - (dir_changed): first pass at handling connection renames correctly
1649 * system-settings/plugins/keyfile/writer.c
1650 system-settings/plugins/keyfile/writer.h
1651 - (write_connection): replace '/' with '*' when writing out the filename
1652 from the connection id
1654 2008-08-26 Dan Williams <dcbw@redhat.com>
1656 Add connection UUIDs, since connection names can be changed, and since
1657 old-style connection IDs could change over the life of the connection. The
1658 UUID should be assigned at connection creation time, be stable for a given
1659 connection, and should be unique among all connections for a given settings
1663 libnm-util/Makefile.am
1666 * introspection/nm-exported-connection.xml
1667 - Remove "GetID" method
1669 * libnm-glib/nm-dbus-connection.c
1670 libnm-glib/nm-settings.c
1671 libnm-glib/nm-settings.h
1672 - Remove id-related stuff
1674 * libnm-util/nm-utils.c
1675 libnm-util/nm-utils.h
1676 libnm-util/libnm-util.ver
1677 - (nm_utils_uuid_generate, nm_utils_uuid_generate_from_string): Add
1678 utility functions to generate UUIDs
1680 * libnm-util/nm-setting-connection.c
1681 libnm-util/nm-setting-connection.h
1682 - Add 'uuid' member to the connection setting
1683 - (verify): require valid 'uuid' for a valid connection
1685 * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
1686 system-settings/plugins/ifcfg-fedora/reader.c
1687 system-settings/plugins/ifcfg-suse/nm-suse-connection.c
1688 system-settings/plugins/ifcfg-suse/parser.c
1689 system-settings/plugins/keyfile/nm-keyfile-connection.c
1690 system-settings/src/main.c
1691 - Remove id-related stuff
1692 - Give connections UUIDs where needed
1694 2008-08-25 Dan Williams <dcbw@redhat.com>
1696 * libnm-util/crypto_gnutls.c
1697 libnm-util/crypto_nss.c
1698 - (crypto_init, crypto_deinit): refcount init/deinit
1699 - (crypto_md5_hash): allow NULL salt
1701 2008-08-22 Michael Biebl <mbiebl@gmail.com>
1703 * libnm-glib/Makefile.am
1704 libnm-util/Makefile.am
1705 libnm-glib/libnm_glib.ver
1706 libnm-glib/libnm_glib_vpn.ver
1707 libnm-util/libnm-util.ver
1708 - Use linker version scripts to control the list of exported
1709 symbols. List each exported symbol explicitely.
1710 * libnm-util/Makefile.am
1711 - Fix compilation of the test-crypto binary. The crypto
1712 functions are no longer part of the libnm-util API. Add
1713 crypto_*.c to test_crypto_SOURCES and link against the correct
1716 2008-08-19 Dan Williams <dcbw@redhat.com>
1720 - Don't build test/test-common
1721 - Remove unused stuff
1723 * test/nm-set-fallback
1724 test/nmtestdevices.c
1725 test/test-common/.cvsignore
1726 test/test-common/Makefile.am
1727 test/test-common/test-common.c
1728 test/test-common/test-common.h
1731 2008-08-18 Dan Williams <dcbw@redhat.com>
1733 * libnm-util/nm-utils.c
1734 libnm-util/nm-utils.h
1735 - (nm_utils_garray_to_string): remove; NM was the only user and doesn't
1736 export anything that needs to be converted with this function
1738 * src/dhcp-manager/nm-dhcp-manager.c
1739 - (garray_to_string): convert a byte array to a UTF-8 string with
1740 minimal validation; the DHCP client sends it in ASCII anyway
1741 - (get_option, copy_option): use garray_to_string()
1743 2008-08-18 Dan Williams <dcbw@redhat.com>
1745 * include/NetworkManager.h
1746 introspection/nm-device.xml
1747 - Add a "missing firmware" device state reason
1749 * src/NetworkManagerSystem.c
1750 src/NetworkManagerSystem.h
1751 - (nm_system_device_set_up_down): add a no_firmware argument
1752 - (nm_system_device_set_up_down_with_iface): if the result of setting
1753 IFF_UP is ENOENT, that almost always means missing firmware
1755 * src/backends/NetworkManagerGeneric.c
1756 src/nm-device-ethernet.c
1757 src/nm-device-private.h
1758 src/nm-device-wifi.c
1761 src/nm-hso-gsm-device.c
1762 src/vpn-manager/nm-vpn-connection.c
1763 - Pass no_firmware along; check it where appropriate
1765 2008-08-18 Dan Williams <dcbw@redhat.com>
1767 Patch from Robert Buchholz <rbu@gentoo.org>
1771 - Change to automake 1.9 and 'ustar' tar format defined by POSIX
1772 1003.1-1988, allowing for file names longer than 99 characters
1774 2008-08-17 Dan Williams <dcbw@redhat.com>
1776 * include/NetworkManager.h
1777 introspection/nm-device.xml
1779 - Finer-grained GSM registration failure error codes
1781 2008-08-17 Dan Williams <dcbw@redhat.com>
1783 * callouts/Makefile.am
1785 - Move dispatcher directory creation to callouts/Makefile.am
1787 * system-settings/plugins/keyfile/Makefile.am
1788 - Create keyfile connections directory in DESTDIR (bgo #546833)
1790 2008-08-15 Dan Williams <dcbw@redhat.com>
1792 Do connection sharing in a cleaner manner; all required iptables rules
1793 are now stored in the activation request and pertain only to the device
1794 which is being shared to other computers. (rh #458625)
1796 * src/nm-activation-request.c
1797 src/nm-activation-request.h
1798 - (nm_act_request_add_share_rule): new function; add a sharing rule to
1799 the activation request which will get torn down automatically when
1800 the activation request dies
1801 - (nm_act_request_set_shared): push sharing rules to iptables when sharing
1802 is started, and tear them down when sharing is stopped
1805 - (start_sharing): start up sharing by doing the required iptables magic
1806 - (share_init): poke the right bits of the kernel and load the right
1808 - (nm_device_activate_stage5_ip_config_commit): start NAT-ing this
1809 connection if it's a 'shared' connection
1811 * src/NetworkManagerPolicy.c
1812 - Remove all sharing stuff; done in the device code itself
1814 2008-08-15 Dan Williams <dcbw@redhat.com>
1816 * src/dnsmasq-manager/nm-dnsmasq-manager.c
1817 - (create_dm_cmd_line): send the right router address
1819 2008-08-15 Dan Williams <dcbw@redhat.com>
1821 * src/ppp-manager/nm-ppp-manager.c
1822 - (pppd_timed_out): ensure timeouts fail the connection
1824 2008-08-14 Dan Williams <dcbw@redhat.com>
1826 * src/nm-properties-changed-signal.c
1827 src/nm-properties-changed-signal.h
1828 - Add a property spec flag for "don't export this property" in
1829 property changed signals
1831 * src/nm-hso-gsm-device.c
1833 src/nm-cdma-device.c
1834 - Don't export monitor interface or netdev interface properties
1836 2008-08-14 Dan Williams <dcbw@redhat.com>
1838 * src/NetworkManagerPolicy.c
1839 - (update_routing_and_dns): 'hso' devices can be default even if they
1840 don't have a gateway
1842 2008-08-14 Dan Williams <dcbw@redhat.com>
1845 - (nm_device_deactivate_quickly): tear down activation request after
1846 calling device-specific deactivation
1848 * src/nm-hso-gsm-device.c
1849 - (real_deactivate_quickly): terminate connection when deactivating
1851 2008-08-14 Dan Williams <dcbw@redhat.com>
1853 * src/nm-activation-request.h
1854 - Add HSO secrets caller
1856 * src/nm-gsm-device.c
1858 - (modem_wait_for_reply): add a 'user_data' argument so callers can pass
1859 something to the callback function
1860 - (set_apn, set_apn_done): call class dial function, not a static one
1861 - (nm_gsm_device_class_init): add a class 'dial' function
1863 * src/nm-hal-manager.c
1864 - (get_hso_netdev): find the hso-driven hardware's net device
1865 - (modem_device_creator): recognize hso-driven hardware and create the
1866 right type of device object for it
1869 src/nm-hso-gsm-device.c
1870 src/nm-hso-gsm-device.h
1871 - Implement support for devices driven by the 'hso' driver as a subclass
1874 2008-08-14 Dan Williams <dcbw@redhat.com>
1876 * src/NetworkManagerSystem.c
1877 - (nm_system_device_is_up_with_iface): ensure ifreq is cleared before using
1878 - (nm_system_device_set_up_down_with_iface): cleanups; only return
1879 success if the operation really was successful
1881 2008-08-14 Dan Williams <dcbw@redhat.com>
1883 * src/nm-netlink-monitor.c
1884 src/nm-netlink-monitor.h
1885 src/nm-device-ethernet.c
1886 - (nm_netlink_monitor_request_status): return an error on failure
1887 - (constructor): don't segfault on missing error
1889 2008-08-13 Dan Williams <dcbw@redhat.com>
1891 * callouts/nm-dispatcher-action.c
1892 - Add IP4 config info to script environment
1894 2008-08-12 Dan Williams <dcbw@redhat.com>
1897 - (nm_device_set_ip4_config): don't touch hostnames here; distros
1898 that want to use DHCP hostnames should use dispatcher scripts
1901 * src/NetworkManagerSystem.h
1902 src/backends/NetworkManagerArch.c
1903 src/backends/NetworkManagerDebian.c
1904 src/backends/NetworkManagerFrugalware.c
1905 src/backends/NetworkManagerGeneric.c
1906 src/backends/NetworkManagerGeneric.h
1907 src/backends/NetworkManagerGentoo.c
1908 src/backends/NetworkManagerMandriva.c
1909 src/backends/NetworkManagerPaldo.c
1910 src/backends/NetworkManagerRedHat.c
1911 src/backends/NetworkManagerSlackware.c
1912 src/backends/NetworkManagerSuSE.c
1913 - Remove nm_system_set_hostname(), no longer used
1915 * src/backends/Makefile.am
1916 src/backends/shvar.c
1917 src/backends/shvar.h
1918 - Remove shvar.*; no longer used
1920 2008-08-12 Dan Williams <dcbw@redhat.com>
1922 Revert most of the 'hostname' patch. Too much stuff still breaks when
1923 hostname is updated at runtime. Distros or users who want hostname updates
1924 can use dispatcher scripts to update the hostname if they need it.
1926 2008-08-12 Dan Williams <dcbw@redhat.com>
1928 * introspection/nm-settings-system.xml
1929 system-settings/src/dbus-settings.c
1930 system-settings/src/dbus-settings.h
1931 - Add a 'Hostname' property (rw) which represents the configured
1932 hostname and domain of the system, if any
1934 * system-settings/src/nm-system-config-error.c
1935 system-settings/src/nm-system-config-error.h
1936 system-settings/src/nm-system-config-interface.c
1937 system-settings/src/nm-system-config-interface.h
1938 - Add a 'hostname' property to the plugin interface
1939 - Add a method to send updated hostname to plugins to save in their
1940 backing configuration store
1942 * system-settings/plugins/keyfile/nm-keyfile-connection.c
1943 system-settings/plugins/keyfile/plugin.c
1944 system-settings/plugins/keyfile/writer.c
1945 system-settings/plugins/keyfile/writer.h
1946 system-settings/plugins/ifcfg-suse/plugin.c
1947 - Add minimal hostname support
1949 * system-settings/plugins/ifcfg-fedora/plugin.c
1950 - Add support for updating system hostname in /etc/sysconfig/network
1952 2008-08-12 Dan Williams <dcbw@redhat.com>
1954 * system-settings/plugins/ifcfg-fedora/shvar.c
1955 system-settings/plugins/ifcfg-fedora/shvar.c
1956 - Fix double-free caused by svSetValue() followed by svCloseFile()
1958 2008-08-12 Tambet Ingo <tambet@gmail.com>
1960 * Makefile.am: Fix distcheck.
1962 2008-08-12 Tambet Ingo <tambet@gmail.com>
1964 * libnm-glib/*.c. Document some more.
1966 2008-08-12 Tambet Ingo <tambet@gmail.com>
1968 Start documenting libnm-glib public API using gtk-doc.
1970 * libnm-glib/nm-serial-device.c:
1971 * libnm-glib/nm-object.c:
1972 * libnm-glib/nm-gsm-device.c:
1973 * libnm-glib/nm-device.c:
1974 * libnm-glib/nm-device-wifi.c:
1975 * libnm-glib/nm-device-ethernet.c:
1976 * libnm-glib/nm-client.c:
1977 * libnm-glib/nm-cdma-device.c: Document the public API.
1979 * docs/libnm-glib/libnm-glib.types: Implement.
1981 * docs/libnm-glib/Makefile.am: Implement.
1985 * Makefile.am: Add gtk-doc support.
1987 2008-08-12 Tambet Ingo <tambet@gmail.com>
1989 * src/backends/*: Get rid of nm_system_should_modify_resolv_conf().
1991 * src/named-manager/nm-named-manager.c (rewrite_resolv_conf): Calculate
1992 the composite result of all the IP4 configurations and call a distro
1993 specific update_resolv_conf().
1994 (update_resolv_conf): Implement one for directly writing to
1995 /etc/resolv.conf and one for opensuse to call netconfig.
1997 2008-08-11 Dan Williams <dcbw@redhat.com>
1999 * src/ppp-manager/nm-ppp-manager.c
2000 - (impl_ppp_manager_need_secrets): pass interface as required
2002 2008-08-11 Dan Williams <dcbw@redhat.com>
2004 Merge the vpn-properties setting with the vpn setting since it was pointless
2005 to keep both of them around. Convert the vpn 'data' hash table to a hash
2006 of string:string (instead of string:variant) so that system settings plugins
2007 can have an easier time dealing with the arbitrary key/value pairs.
2009 2008-08-11 Dan Williams <dcbw@redhat.com>
2011 * libnm-util/nm-utils.c
2012 - (nm_utils_register_value_transformations): add value transform for
2013 a hash table of string:string
2015 2008-08-10 Dan Williams <dcbw@redhat.com>
2017 * libnm-glib/nm-vpn-plugin.c
2018 - (nm_vpn_plugin_connect): stop plugin after connection failure from
2019 an idle handler so the Connect reply gets delivered before the
2020 stop StateChanged signal
2022 2008-08-10 Dan Williams <dcbw@redhat.com>
2024 * src/nm-ip4-config.c
2025 - (get_property): use common ip4 address/route conversion functions
2026 - (nm_ip4_config_replace_address, nm_ip4_config_replace_route): should
2027 copy the new route here, not take ownership
2029 2008-08-08 Tambet Ingo <tambet@gmail.com>
2031 * system-settings/plugins/ifcfg-suse/parser.c (make_ip4_setting):
2032 Update the IP4 setting's method name.
2034 2008-08-07 Dan Williams <dcbw@redhat.com>
2036 * introspection/nm-ip4-config.xml
2037 libnm-glib/libnm-glib-test.c
2038 libnm-glib/nm-ip4-config.c
2039 libnm-glib/nm-ip4-config.h
2040 src/NetworkManagerSystem.h
2041 src/backends/NetworkManagerArch.c
2042 src/backends/NetworkManagerDebian.c
2043 src/backends/NetworkManagerFrugalware.c
2044 src/backends/NetworkManagerGeneric.c
2045 src/backends/NetworkManagerGeneric.h
2046 src/backends/NetworkManagerGentoo.c
2047 src/backends/NetworkManagerMandriva.c
2048 src/backends/NetworkManagerPaldo.c
2049 src/backends/NetworkManagerRedHat.c
2050 src/backends/NetworkManagerSlackware.c
2051 src/backends/NetworkManagerSuSE.c
2052 src/dhcp-manager/nm-dhcp-manager.c
2056 - Remove NIS logic; should be done from dispatcher scripts instead
2058 2008-08-07 Dan Williams <dcbw@redhat.com>
2060 * src/dhcp-manager/nm-dhcp-manager.c
2061 - (nm_dhcp_manager_get_ip4_config): fix regression which caused
2062 mis-handling of DHCP responses that returned more than one router
2063 (found by Grant Williamson)
2065 2008-08-07 Dan Williams <dcbw@redhat.com>
2067 * callouts/nm-dispatcher-action.c
2068 - (nm_dispatcher_action): grab device path and create the device; pass
2069 the device's DHCP4 config to script caller
2070 - (dispatch_scripts): dump the DHCP4 config to the environment of called
2073 * libnm-glib/nm-dhcp4-config.c
2074 libnm-glib/nm-dhcp4-config.h
2075 - (nm_dhcp4_config_get_options): expose
2076 - (nm_dhcp4_config_get_one_option): renamed from nm_dhcp4_config_get_option
2078 2008-08-07 Dan Williams <dcbw@redhat.com>
2080 * include/NetworkManager.h
2081 - Add the DHCP4Config D-Bus interface
2083 * libnm-glib/Makefile.am
2084 libnm-glib/nm-dhcp4-config.c
2085 libnm-glib/nm-dhcp4-config.h
2086 - Handle DHCP4 config objects exported by NM over D-Bus
2088 * libnm-glib/nm-device.c
2089 libnm-glib/nm-device.h
2090 - Add a 'dhcp4-config' property
2092 * libnm-glib/libnm-glib-test.c
2093 - Print out DHCP4 config for devices
2094 - Fix some crashes when no connections are active
2096 * src/nm-device-interface.c
2098 src/nm-dhcp4-config.c
2099 src/nm-dhcp4-config.h
2100 - Treat dhcp4-config object as an object path at the D-Bus interface so
2101 that when it doesn't exist we can proxy it as "/" which dbus-glib
2102 doesn't let us do when the property type is G_TYPE_OBJECT
2104 2008-08-07 Dan Williams <dcbw@redhat.com>
2106 * src/NetworkManager.c
2107 src/NetworkManagerSystem.h
2108 src/backends/NetworkManagerArch.c
2109 src/backends/NetworkManagerDebian.c
2110 src/backends/NetworkManagerFrugalware.c
2111 src/backends/NetworkManagerGeneric.c
2112 src/backends/NetworkManagerGeneric.h
2113 src/backends/NetworkManagerGentoo.c
2114 src/backends/NetworkManagerMandriva.c
2115 src/backends/NetworkManagerPaldo.c
2116 src/backends/NetworkManagerRedHat.c
2117 src/backends/NetworkManagerSlackware.c
2118 src/backends/NetworkManagerSuSE.c
2119 - (nm_system_init, nm_system_kill_all_dhcp_daemons): remove, unused
2121 2008-08-06 Dan Williams <dcbw@redhat.com>
2123 * libnm-glib/nm-ip4-config.c
2124 libnm-glib/nm-ip4-config.h
2125 - Add 'routes' property
2127 * libnm-util/nm-setting-vpn.c
2128 libnm-util/nm-setting-vpn.h
2129 - Remove 'routes' property
2131 * libnm-util/nm-setting-ip4-config.c
2132 libnm-util/nm-setting-ip4-config.h
2133 - 'ignore-dhcp-dns' renamed to 'ignore-auto-dns'
2134 - Add 'ignore-auto-routes' property
2135 - 'routes' exposed over D-Bus is now an array of array of uint (4) to
2136 accomodate route metrics
2137 - 'routes' exposed in C is now a list of NMSettingIP4Route structures
2139 * libnm-util/nm-utils.c
2140 libnm-util/nm-utils.h
2141 - Add helpers for marshalling IP4 routes
2143 * src/NetworkManagerUtils.c
2144 - (nm_utils_merge_ip4_config): handle property renames and new route
2147 * src/NetworkManagerSystem.c
2148 - (nm_system_device_set_ip4_route, nm_system_device_set_from_ip4_config,
2149 nm_system_vpn_device_set_from_ip4_config): respect route metrics
2151 * src/dhcp-manager/nm-dhcp-manager.c
2152 - (nm_dhcp_manager_get_ip4_config): handle new route structure
2154 * system-settings/plugins/ifcfg-fedora/reader.c
2155 system-settings/plugins/ifcfg-fedora/writer.c
2156 - Handle routes separately from addresses now that routes have a different
2159 * introspection/nm-ip4-config.xml
2162 - Rename internal routing functions
2163 - 'static-routes' renamed to 'routes'
2165 2008-08-04 Dan Williams <dcbw@redhat.com>
2167 Patch from Sjoerd Simons <sjoerd.simons@collabora.co.uk>
2169 * src/NetworkManager.c
2172 - More explicitly make the NMManager a singleton
2174 2008-08-04 Dan Williams <dcbw@redhat.com>
2176 * libnm-util/nm-connection.c
2177 libnm-util/nm-connection.h
2178 - (nm_connection_verify): return error on missing 'connection' setting
2179 (found by Sjoerd Simons)
2181 2008-08-04 Dan Williams <dcbw@redhat.com>
2183 Handle multiple concurrent PPP connections.
2185 * src/ppp-manager/nm-ppp-manager.c
2186 src/ppp-manager/nm-ppp-manager.h
2187 - (constructor): only PPP Manager request bus name once; each
2188 NMPPPManager object gets a unique object path
2189 - (nm_ppp_manager_class_init, get_property, set_property,
2190 nm_ppp_manager_new, nm_ppp_manager_start): pass parent interface in
2192 - (impl_ppp_manager_need_secrets, impl_ppp_manager_set_state): don't
2193 remove timeout until PPP manager gets an IP4 config
2194 - (create_pppd_cmd_line): pass dbus object path as 'ipparam' so that
2195 the plugin can call back to this specific PPP manager instance
2197 * src/nm-device-ethernet.c
2198 src/nm-serial-device.c
2199 - Pass parent device in nm_ppp_manager_new()
2201 * src/nm-gsm-device.c
2202 src/nm-cdma-device.c
2203 - (device_state_changed): don't close serial device on NEED_AUTH
2204 state changed, that's not a failure case like the rest are
2206 * src/ppp-manager/nm-pppd-plugin.c
2207 - (nm_ip_up): always use index 0 into the ipcp options, because NM always
2208 binds one interface to any pppd process, thus the correct index
2209 is always 0; send PHASE_DEAD on error to alert NM immediately of
2210 problems; try harder to get a peer address in spite of pppd
2211 - (plugin_init): use 'ipparam' as the object path back to our specific
2212 PPP manager instance
2214 2008-08-04 Dan Williams <dcbw@redhat.com>
2216 * src/ppp-manager/nm-ppp-manager.c
2217 - (impl_ppp_manager_need_secrets): rework to handle secrets better;
2218 since the GSM and CDMA settings now implement need_secrets, we can
2219 rely on them to do the right thing. Where secrets are not required,
2220 just pass empty strings back to the pppd plugin.
2221 - (nm_ppp_manager_update_secrets): leak fix; don't need to dup the strings
2222 - (impl_ppp_manager_set_ip4_config): clear the secrets tries counter
2223 on successful IP4 config receipt
2225 2008-08-04 Dan Williams <dcbw@redhat.com>
2227 * libnm-util/nm-setting-cdma.c
2228 libnm-util/nm-setting-gsm.c
2229 - (verify): validate username & password if they exist
2230 - (need_secrets): if username given, require a password too
2232 2008-08-04 Dan Williams <dcbw@redhat.com>
2234 * src/dnsmasq-manager/nm-dnsmasq-manager.c
2235 - (create_dm_cmd_line): really don't listen on lo, despite what the
2236 manpage says about --listen-address without --interface
2239 2008-08-01 Dan Williams <dcbw@redhat.com>
2241 * libnm-glib/nm-device.c
2242 - (proxy_get_string): util function for querying a HAL property
2243 - (get_ancestor_device): split out from get_product_and_vendor()
2244 - (get_product_and_vendor): simplify; get more accurate pid & vid info
2245 from PCI devices by querying subsys properties
2246 - (nm_device_update_description): simplify
2248 2008-08-01 Dan Williams <dcbw@redhat.com>
2250 * libnm-util/nm-setting-ip4-config.c
2251 libnm-util/nm-setting-ip4-config.h
2252 - Make IPv4 methods reflect their usage; 'dhcp' -> 'auto' and
2253 'autoip' -> 'link-local'. VPN & PPP connections can also have IPv4
2254 settings, and they don't necessarily use DHCP.
2256 * src/NetworkManagerPolicy.c
2258 system-settings/plugins/ifcfg-fedora/reader.c
2259 system-settings/plugins/ifcfg-suse/parser.c
2260 - Fixup for method changes
2262 2008-07-31 Dan Williams <dcbw@redhat.com>
2264 * src/nm-activation-request.c
2265 src/vpn-manager/nm-vpn-connection.c
2266 - Correct GetSecrets D-Bus pending call usage; the GetSecrets call
2267 itself should be attached to the activation request or the VPN
2268 connection, not the NMConnection object, since the call is not
2269 expected to live as long as the NMConnection itself
2271 2008-07-31 Dan Williams <dcbw@redhat.com>
2273 * src/nm-device-wifi.c
2274 - (real_act_stage2_config): fix issue where association would continue
2275 even though secrets were needed; 'goto out' was in wrong scope and
2276 result of handle_auth_or_fail() should have been dumped directly to
2277 'ret' to ensure that the association was postponed until secrets
2280 2008-07-31 Dan Williams <dcbw@redhat.com>
2282 * system-settings/plugins/ifcfg-fedora/plugin.c
2283 system-settings/plugins/ifcfg-fedora/reader.c
2284 - Don't ignore unmanaged devices if their ifcfg file doesn't make a
2287 2008-07-29 Dan Williams <dcbw@redhat.com>
2289 * src/nm-gsm-device.c
2290 - (automatic_registration_response, automatic_registration): recognize
2291 denied registration and reorder responses
2293 2008-07-29 Dan Williams <dcbw@redhat.com>
2295 * src/nm-serial-device.c
2296 - (nm_serial_device_wait_for_reply): fix timeout calculation. Since
2297 time(2) is used for current time, which returns seconds, we shouldn't
2298 be multiplying by 1000.
2300 2008-07-28 Dan Williams <dcbw@redhat.com>
2302 Patch from Fabrice Bellet <fabrice@bellet.info>
2304 * src/NetworkManagerSystem.c
2305 - (route_in_same_subnet): mask addresses and compare them so that the
2306 function actually does what it says it's going to do (rh #456685)
2308 2008-07-27 Dan Williams <dcbw@redhat.com>
2310 * libnm-util/nm-setting-ip6-config.c
2311 - (set_property): add missing break that caused routes to be overwritten
2314 * libnm-util/nm-setting-ip6-config.c
2315 - (verify): validate routes and return GError everywhere on invalid setting
2316 - (finalize): don't leak routes
2317 - (set_property): add missing break that caused routes to be overwritten
2320 2008-07-27 Dan Williams <dcbw@redhat.com>
2323 - Relicense to LGPLv2+
2325 2008-07-27 Dan Williams <dcbw@redhat.com>
2327 * system-settings/plugins/ifcfg-fedora/reader.c
2328 - (make_ip4_setting): fix parsing automatic configs
2330 2008-07-27 Dan Williams <dcbw@redhat.com>
2332 * src/dnsmasq-manager/nm-dnsmasq-manager.c
2334 src/ppp-manager/nm-ppp-manager.c
2335 - Ensure child process gets reaped. The child watch function may be
2336 removed from the mainloop before the child gets killed, so we have
2337 to make sure the child is reaped when it's told to die intentionally
2339 2008-07-27 Dan Williams <dcbw@redhat.com>
2341 Patch from Roy Marples <roy@marples.name>
2343 * src/dhcp-manager/nm-dhcp-dhcpcd.c
2344 - (nm_dhcp_client_start): fixup for latest dhcpcd 4.0 RC
2346 2008-07-27 Dan Williams <dcbw@redhat.com>
2348 * src/nm-gsm-device.c
2349 - (init_modem_full): send "ATZ E0" after CPIN, because apparently some
2350 Huawei devices turn echo back on after CPIN (rh #456770)
2352 2008-07-24 Tambet Ingo <tambet@gmail.com>
2354 * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Add
2355 format argument to g_set_error() call.
2357 * src/backends/interface_parser.[ch]: Remove.
2359 * src/backends/Makefile.am: Remove unused files interface_parser.[ch].
2361 2008-07-21 Dan Williams <dcbw@redhat.com>
2363 * src/ppp-manager/nm-ppp-manager.c
2364 - (create_pppd_cmd_line): send 'noipdefault' on non-PPPoE connections
2365 to prevent pppd from picking up some random local address from an
2366 interface that doesn't have anything to do with the one we're
2367 interested in (rh #455348)
2369 2008-07-17 Dan Williams <dcbw@redhat.com>
2371 * libnm-util/nm-utils.c
2372 - (string_to_utf8): general function for conversion to UTF-8 assisted
2374 - (nm_utils_ssid_to_utf8): use string_to_utf8()
2375 - (nm_utils_garray_to_string): ensure returned string is UTF-8 safe
2377 2008-07-17 Dan Williams <dcbw@redhat.com>
2379 * introspection/Makefile.am
2380 introspection/nm-device.xml
2381 introspection/nm-dhcp4-config.xml
2382 - Add bits for the DHCP4Config property of the device, and the DHCP4Config
2384 * src/nm-device-interface.c
2385 src/nm-device-interface.h
2386 - Add the DHCP4Config property
2389 - Keep track of DHCP4 options via a new DHCP4Config property and notify
2390 D-Bus clients when it changes
2392 * src/nm-dhcp4-config.c
2393 src/nm-dhcp4-config.h
2394 - Simple object to store DHCP4 options, export them over D-Bus, and
2395 notify when they change
2397 * src/dhcp-manager/nm-dhcp-manager.c
2398 src/dhcp-manager/nm-dhcp-manager.h
2399 - (nm_dhcp_manager_set_dhcp4_config, copy_dhcp4_config_option): copy and
2400 filter server-returned DHCP options into an NMDHCP4Config object
2402 2008-07-16 Dan Williams <dcbw@redhat.com>
2404 * introspection/nm-device.xml
2405 - Add device state reasons
2407 2008-07-16 Dan Williams <dcbw@redhat.com>
2409 Patch from Roy Marples <roy@marples.name>
2412 - Add --with-dhcp-client option
2414 * src/dhcp-manager/Makefile.am
2415 - pass DHCP_CLIENT_PATH on compile line
2417 * src/dhcp-manager/nm-dhcp-manager.c
2418 src/dhcp-manager/nm-dhcp-manager.h
2419 - Genericize for both dhcpcd and dhclient
2421 * src/dhcp-manager/nm-dhcp-dhclient.c
2422 - Move dhclient stuff out to it's own file from nm-dhcp-manager.c
2424 * src/dhcp-manager/nm-dhcp-dhcpcd.c
2425 - Implement support for dhcpcd too
2427 2008-07-16 Tambet Ingo <tambet@gmail.com>
2429 * system-settings/src/nm-system-config-interface.c
2430 (nm_system_config_interface_supports_add): Implement.
2431 (nm_system_config_interface_add_connection): Return a boolean to notify
2434 * system-settings/src/nm-polkit-helpers.c:
2435 * system-settings/src/nm-polkit-helpers.h: Move error declarations to
2438 * system-settings/src/dbus-settings.c (impl_settings_add_connection):
2439 Return an error when none of the plugins support add or if addition
2440 failed for some reason.
2442 * system-settings/src/nm-system-config-error.h:
2443 * system-settings/src/nm-system-config-error.c: New files, mostly moved
2444 here from nm-polkit-helpers.[ch].
2446 * system-settings/src/Makefile.am: Build new files.
2448 * system-settings/plugins/keyfile/reader.c
2449 (read_array_of_array_of_uint): Make it more general so that it would
2450 work for routes as well.
2452 * system-settings/plugins/keyfile/writer.c
2453 (write_array_of_array_of_uint): Ditto.
2454 Fix the netmask/prefix writing.
2456 * system-settings/plugins/keyfile/plugin.c (add_connection): Return
2457 boolean to notify errors.
2459 * system-settings/plugins/ifcfg-suse/nm-suse-connection.c (update):
2460 Return more specific error.
2463 2008-07-11 Dan Williams <dcbw@redhat.com>
2465 Modify the NMDevice::state-changed signal to include the previous state
2466 and reason. Enables the applet to provide more information why device
2469 2008-07-09 Dan Williams <dcbw@redhat.com>
2471 * callouts/Makefile.am
2472 callouts/nm-avahi-autoipd-action.c
2473 callouts/nm-avahi-autoipd.conf
2474 - avahi-autoipd callout to send options back to NM
2481 src/nm-device-private.h
2483 - Use avahi-autoipd for IPv4LL functionality rather than really crappy
2486 2008-07-07 Dan Williams <dcbw@redhat.com>
2488 * system-settings/plugins/ifcfg-fedora/reader.c
2489 - (make_ip4_setting): handle DHCP_HOSTNAME; fix up prefix support to
2490 handle PREFIX too; clean up
2492 2008-07-07 Dan Williams <dcbw@redhat.com>
2494 Convert to using IPv4 prefixes instead of netmasks.
2496 2008-07-03 Dan Williams <dcbw@redhat.com>
2498 * libnm-util/nm-setting-ip4-config.c
2499 libnm-util/nm-setting-ip4-config.h
2500 - Add properties for DHCP Client Identifier and DHCP Hostname
2502 * src/dhcp-manager/nm-dhcp-manager.c
2503 src/dhcp-manager/nm-dhcp-manager.h
2504 - (nm_dhcp_manager_begin_transaction): take the connection's ip4-config
2505 setting as an argument to pass on to the dhclient config file
2507 - (nm_dhcp_manager_cancel_transaction_real): remove dhclient config when
2509 - (dhclient_run): punt config file handling to create_dhclient_config()
2510 - (create_dhclient_config): create an interface-specific dhclient
2511 config file since there may need to be interface-specific options
2513 - (merge_dhclient_config): merge normal distro dhclient config file and
2514 add options from the connection
2515 - (nm_dhcp_device_new): generate the interface specific dhclient
2516 config file path once
2517 - (nm_dhcp_device_destroy): handle partially initialized objects; free
2518 dhclient config file path
2521 - (real_act_stage3_ip_config_start): pass ip4-config, if any, to the
2522 DHCP manager when starting DHCP
2524 2008-07-02 Dan Williams <dcbw@redhat.com>
2526 * libnm-util/nm-setting-8021x.c
2527 - (verify): allow forcing the PEAP label to 0
2529 2008-07-02 Dan Williams <dcbw@redhat.com>
2531 * introspection/nm-active-connection.xml
2532 introspection/nm-vpn-connection.xml
2533 libnm-glib/nm-active-connection.c
2534 src/nm-activation-request.c
2535 src/nm-active-connection.h
2536 src/vpn-manager/nm-vpn-connection.c
2537 - Remove "SharedServiceName" and "SharedConnection" bits from the D-Bus
2538 and libnm-glib API since sharing didn't get implemented that way
2540 2008-07-02 Dan Williams <dcbw@redhat.com>
2542 * src/nm-device-wifi.c
2543 - (can_scan): don't scan when a shared connection is activated since
2544 that makes drivers mad (causing disconnects); also NM doesn't need
2545 to hedge against disconnects by keeping up-to-date network topology
2546 because the connection originates from the local machine, and thus
2547 there should be no disconnects
2549 2008-07-01 Dan Williams <dcbw@redhat.com>
2551 Fix mobile broadband username/password issues. NM was never requesting
2552 mobile broadband secrets, nor was it passing back the username and password
2555 * marshallers/nm-marshal.list
2556 - Add some new types for activation request objects
2558 * src/nm-activation-request.c
2559 src/nm-activation-request.h
2560 - (get_secrets_cb): pass the caller type in the signal
2561 - (nm_act_request_request_connection_secrets): take a caller type, so
2562 that GetSecrets() reply handlers know who asked for the secrets in
2563 the first place; use secret hints too so the settings service can
2564 figure out exactly what NM wants (ie, PIN or the PPP password)
2566 * src/ppp-manager/nm-ppp-manager.c
2567 src/ppp-manager/nm-ppp-manager.h
2568 - (impl_ppp_manager_need_secrets): nm_connection_need_secrets() won't
2569 detect needed secrets when the secret could be blank, like GSM/CDMA
2570 passwords. So always ask for secrets, and send a hint as to what
2571 secret we really want.
2572 - (nm_ppp_manager_update_secrets): make function more generic by making
2573 the device specific class figure out the username and password, and
2574 accept an error argument to return back over D-Bus
2576 * src/nm-device-wifi.c
2577 - (link_timeout_cb, handle_auth_or_fail): update for changes to
2578 nm_act_request_request_connection_secrets()
2579 - (real_connection_secrets_updated): update for 'caller' changes
2583 - (connection_secrets_updated_cb, connection_secrets_failed_cb): update
2584 for 'caller' changes
2586 * src/nm-device-ethernet.c
2587 - (real_connection_secrets_updated): update for 'caller' changes and
2588 move logic for getting PPPoE username and password here before
2589 calling nm_ppp_manager_update_secrets()
2590 - (link_timeout_cb, handle_auth_or_fail): update for changes to
2591 nm_act_request_request_connection_secrets()
2593 * src/nm-cdma-device.c
2594 - (real_connection_secrets_updated): pass username and password back
2595 to the PPP manager when required
2597 * src/nm-gsm-device.c
2598 - (enter_pin): send the required secret name to the settings service
2599 - (real_connection_secrets_updated): pass username and password back
2600 to the PPP manager when required
2602 2008-06-30 Dan Williams <dcbw@redhat.com>
2604 * src/nm-device-wifi.c
2605 - Consistently use NM_DEVICE_WIFI_GET_PRIVATE instead of self->priv
2607 2008-06-30 Dan Williams <dcbw@redhat.com>
2609 Attempt to fix various issues causing rh #448889. Mainly, to qualify for
2610 the DISCONNECTED state, the device must not be rfkilled _and_ have a valid
2611 priv->supplicant.iface. When either condition is false, the device should
2612 transition back to UNAVAILABLE because it cannot be used.
2614 * src/nm-device-wifi.c
2615 - (constructor): cleanup; connect to supplicant manager here since the
2616 supplicant manager is always around
2617 - (supplicant_interface_acquire): rename from init_supplicant_interface,
2618 ensure the supplicant manager is in the IDLE state
2619 - (supplicant_interface_release): rename from cleanup_supplicant_interface,
2620 cancel any pending scans too
2621 - (real_bring_up): don't set up the supplicnat interface here, because
2622 we need the supplicant interface at times when the device may not
2624 - (real_take_down): just remove the periodic source
2625 - (schedule_scan): ensure a state that would peg the CPU doesn't happen
2626 - (remove_supplicant_interface_connection_error_handler): cleanup; don't
2627 do anything if there's no supplicant interface
2628 - (cleanup_association_attempt): cleanup
2629 - (supplicant_iface_state_cb_handler): request an immediate scan when
2630 the interface enters the READY state; transition to UNAVAILABLE
2631 state when the interface goes down because the device can't be used
2632 without a supplicant interface
2633 - (supplicant_mgr_state_cb_handler): if the supplicant goes away, clean
2634 up and transition to UNAVAILABLE; if the supplicant becomes ready,
2635 acquire the supplicant interface and transition to DISCONNECTED
2636 if the radio isn't killed
2637 - (nm_device_wifi_dispose): move most of device_cleanup() here
2638 - (state_changed_cb): release any existing supplicant interface; if the
2639 radio is enabled then try to acquire a new supplicant interface;
2640 if the radio is enabled and a supplicant interface has been acquired,
2641 we can transition to DISCONNECTED
2642 - (nm_device_wifi_set_enabled): if bringing the hardware up failed,
2643 don't enable the radio, because HAL probably lied to us about the
2644 killswitch being off. If bringing the hardware up worked, then
2645 try to grab a supplicant interface, and if that was successful,
2646 transition to DISCONNECTED
2648 2008-06-30 Dan Williams <dcbw@redhat.com>
2650 * src/supplicant-manager/nm-supplicant-interface.c
2651 - (request_scan_results, nm_supplicant_interface_dispose,
2652 wpas_iface_query_scan_results): cleanup; scan_results_timeout is now
2653 the id of the timeout, not a GSource
2655 2008-06-30 Tambet Ingo <tambet@gmail.com>
2657 * src/backends/NetworkManagerSuSE.c (nm_system_activate_nis): Fix a
2658 bunch of typoes introduced by "Patch from David Cantrell
2659 <dcantrell@redhat.com> and me".
2661 2008-06-30 Tambet Ingo <tambet@gmail.com>
2663 * src/nm-serial-device.c:
2664 * src/nm-gsm-device.c:
2665 * src/nm-cdma-device.c: Move the pending call handling to a common location
2666 in serial device. Handle setting device state to failed in one place as well.
2668 2008-06-29 Dan Williams <dcbw@redhat.com>
2670 * src/nm-hal-manager.c
2671 - Rework killswitch handling to query killswitch status immediately
2672 when the first killswitch is added, so that rfkill state is
2673 known as early as possible
2674 - Also treat failure of GetPower() as rfkill when the dbus method
2675 call times out (but not when the HAL callout returns an error)
2677 2008-06-26 Dan Williams <dcbw@redhat.com>
2679 Patch from David Cantrell <dcantrell@redhat.com> and me
2681 * include/nm-dbus-glib-types.h
2682 - Add IP6 address types
2684 * libnm-util/Makefile.am
2685 libnm-util/nm-setting-ip6-config.c
2686 libnm-util/nm-setting-ip6-config.h
2687 - Add IP6 settings object
2689 * libnm-util/nm-connection.c
2690 - (register_default_settings): register ip6 settings object
2692 * libnm-util/nm-utils.c
2693 libnm-util/nm-utils.h
2694 - (nm_utils_ip6_addresses_from_gvalue, nm_utils_ip6_addresses_to_gvalue,
2695 nm_utils_ip6_dns_from_gvalue, nm_utils_ip6_dns_to_gvalue): add
2696 ip6 address conversion functions
2698 2008-06-26 Dan Williams <dcbw@redhat.com>
2700 Patch from David Cantrell <dcantrell@redhat.com>
2702 * Use inet_ntop() and inet_pton() everwhere and check for errors
2704 2008-06-26 Dan Williams <dcbw@redhat.com>
2706 * Update FSF address in license headers (Michael Biebl <biebl@debian.org>)
2708 2008-06-26 Dan Williams <dcbw@redhat.com>
2710 Patch from Adel Gadllah <adel.gadllah@gmail.com>
2712 * src/nm-device-wifi.c
2713 - (link_timeout_cb): don't ignore disconnects due to scanning
2714 - (supplicant_iface_connection_state_cb_handler): instead, schedule
2715 a longer timeout when scanning; avoids case where supplicant can't
2716 find the AP and just keeps scanning forever but isn't connected
2718 2008-06-26 Dan Williams <dcbw@redhat.com>
2720 Patch from Michael Biebl <biebl@debian.org>
2722 * Clean up build system stuff
2724 2008-06-23 Christian Persch <chpe@gnome.org>
2726 * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.c:
2727 * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.h:
2728 * vpn-daemons/pptp/auth-dialog-general/anonymous-auth-module.c:
2730 * vpn-daemons/pptp/auth-dialog-general/chap-auth-module.c:
2732 * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.c:
2733 * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.h:
2734 * vpn-daemons/pptp/auth-dialog-general/mschapv2-auth-module.c:
2736 * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.c:
2737 * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.h:
2738 * vpn-daemons/pptp/properties/nm-ppp-properties.c: (impl_setup):
2739 * vpn-daemons/pptp/properties/vpnui_impl.c: (impl_get_object):
2740 * vpn-daemons/pptp/properties/vpnui_opt.c:
2741 (vpnui_opt_connect_signals):
2742 * vpn-daemons/pptp/properties/vpnui_opt.h:
2743 * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
2744 * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.h: Don't use
2745 deprecated gtk type macros. Bug #539325.
2747 2008-06-20 Dan Williams <dcbw@redhat.com>
2749 * libnm-glib/nm-vpn-plugin-ui-interface.c
2750 libnm-glib/nm-vpn-plugin-ui-interface.h
2751 - 'validity-changed' -> 'changed' to work better with the connection
2752 editor. Plugin UI widgets should emit 'changed' whenever their
2753 UI values change in a meaningful way.
2754 - (nm_vpn_plugin_ui_widget_interface_update_connection): the
2755 update_connection member now returns validity of the UI widget
2757 2008-06-20 Tambet Ingo <tambet@gmail.com>
2759 * libnm-util/nm-connection.c (nm_connection_duplicate): Implement.
2761 2008-06-17 Dan Williams <dcbw@redhat.com>
2763 * libnm-glib/nm-vpn-plugin-ui-interface.c
2764 libnm-glib/nm-vpn-plugin-ui-interface.h
2765 - Add "desc" property for longer descriptions of the VPN plugin
2767 2008-06-16 Dan Williams <dcbw@redhat.com>
2770 libnm-glib/libnm_glib_vpn.pc.in
2771 - add a .pc file for libnm_glib_vpn
2773 * libnm-glib/nm-vpn-plugin-ui-interface.c
2774 libnm-glib/nm-vpn-plugin-ui-interface.h
2775 - Move the glib/GNOME VPN UI plugin interface into libnm-glib and
2776 rework it substantially
2778 2008-06-12 Dan Williams <dcbw@redhat.com>
2780 Add a GError argument to nm_connection_verify() and nm_setting_verify(),
2781 and add error enums to each NMSetting subclass. Each NMSetting subclass now
2782 returns a descriptive GError when verification fails.
2784 2008-06-11 Dan Williams <dcbw@redhat.com>
2786 Patch from Tambet Ingo <tambet@gmail.com>
2788 * libnm-util/nm-setting-gsm.c
2789 - (verify): validate APN
2791 * src/nm-gsm-device.c
2792 - (manual_registration_done): start setting APN if needed
2793 - (set_apn, set_apn_done): set the APN
2794 - (do_dial): use the APN when dialing
2796 2008-06-11 Dan Williams <dcbw@redhat.com>
2798 * src/NetworkManagerSystem.c
2799 - (nm_system_device_set_ip4_route,
2800 nm_system_device_replace_default_ip4_route): check for the right
2801 return value from rtnl_route_add() to know when to add a gateway
2804 2008-06-11 Dan Williams <dcbw@redhat.com>
2806 * src/NetworkManagerPolicy.c
2807 - do_ipt_cmd -> do_cmd
2808 - (sharing_init): use do_cmd() instead of system()
2810 2008-06-10 Dan Williams <dcbw@redhat.com>
2812 The grand 802-11-wireless rename. Get rid of the 802-11/80211/802_11 bits
2813 and use "wifi" everwhere instead.
2815 2008-06-10 Dan Williams <dcbw@redhat.com>
2817 The grand 802-3-ethernet rename. Get rid of the 802-3/8023/802_3 bits.
2819 2008-06-10 Dan Williams <dcbw@redhat.com>
2821 Patch from Tambet Ingo <tambet@gmail.com>
2823 * src/ppp-manager/nm-ppp-manager.c: Add ppp stats monitoring, signal the
2826 * src/nm-serial-device.c: Monitor "ppp-stats" signals from NMPPPManager. Add
2827 a signal to emit these changes over dbus.
2829 * src/Makefile.am: Genereate nm-serial-device-glue.
2831 * libnm-glib/nm-serial-device.[ch]: Implement.
2833 * libnm-glib/nm-cdma-device.[ch]
2834 libnm-glib/nm-gsm-device.[ch]: Inherit from NMSerialDevice.
2836 * libnm-glib/Makefile.am: Add nm-serial-device.[ch].
2838 * introspection/nm-device-serial.xml: Implement.
2840 * introspection/all.xml: Fix a couple of typos, add nm-device-serial.xml.
2842 * introspection/Makefile.am: Add nm-device-serial.xml.
2844 * include/NetworkManager.h: Add a DBus interface for serial device.
2846 2008-06-10 Dan Williams <dcbw@redhat.com>
2849 - Add TARGET_* define to config.h to distinguish distros
2851 * src/dhcp-manager/nm-dhcp-manager.c
2852 - (dhclient_run): use distro-specific path for dhclient config file
2854 2008-06-09 Dan Williams <dcbw@redhat.com>
2856 * src/dnsmasq-manager/nm-dnsmasq-manager.c
2857 src/dnsmasq-manager/nm-dnsmasq-manager.h
2858 - (create_dm_cmd_line): use the IP4 address of the ip4-config to
2859 calculate the addresses passed to dnsmasq instead of hard-coding
2863 - (nm_device_new_ip4_shared_config): be somewhat dynamic when choosing
2864 IP addresses for shared connections to guard against shared
2865 connection address collisions
2866 - (real_act_stage4_get_ip4_config): handle possible NULL ip4-configs on
2868 - (nm_device_activate_stage5_ip_config_commit): pass ip4-config to
2871 2008-06-09 Dan Williams <dcbw@redhat.com>
2873 * src/NetworkManagerPolicy.c
2874 - (update_routing_and_dns): set the default connection _after_ unsetting
2875 default on all non-default connections so that two connections can
2876 never be default at the same time
2877 - (device_state_changed): start and stop connection sharing when
2879 - (active_connection_default_changed): restart or stop sharing when
2880 the default connection changes to keep shared connections always
2881 NAT-ed through the default connection
2882 - (check_sharing): handle activation/deactivation of shared connections
2883 - (sharing_restart): atom-bomb approach to connection sharing until we
2884 can use libnl; reinit all sharing when the default connection or
2885 shared connections change
2886 - (sharing_init, sharing_stop): evil functions that init and deinit
2889 2008-06-09 Dan Williams <dcbw@redhat.com>
2891 * src/nm-activation-request.c
2892 src/nm-activation-request.h
2893 - (nm_act_request_set_shared, nm_act_request_get_shared,
2894 nm_act_request_get_device): new functions to facilitate connection
2897 2008-06-09 Dan Williams <dcbw@redhat.com>
2900 - (clear_act_request): unset the 'default' property of the activation
2901 request when clearing it to ensure the property changed signal gets
2902 delivered and handled
2904 2008-06-09 Dan Williams <dcbw@redhat.com>
2906 * libnm-glib/nm-device-802-11-wireless.c
2907 - (access_point_removed_proxy): actually unref the AP after removing
2908 it from the device's AP list. Fixes refcounting bug for APs that
2909 caused them to get mixed up in the applet's menu.
2911 2008-06-09 Tambet Ingo <tambet@gmail.com>
2913 * src/dhcp-manager/nm-dhcp-manager.c (finalize): Free private members.
2914 (nm_dhcp_device_destroy): Destroy the device options hash table.
2916 2008-06-06 Dan Williams <dcbw@redhat.com>
2918 * system-settings/src/nm-polkit-helpers.c
2919 - (create_polkit_context): in PolicyKit 0.6, polkit_context_init() will
2920 unref the context if the initialization fails; also avoid spew when
2923 2008-06-06 Dan Williams <dcbw@redhat.com>
2925 Patch from Tambet Ingo <tambet@gmail.com>
2927 * src/NetworkManagerSystem.c
2928 src/NetworkManagerSystem.h
2929 - (nm_system_device_add_ip4_route_via_device_with_iface): remove
2930 - (nm_system_device_set_from_ip4_config): remove unused route_to_iface
2931 - (nm_system_device_set_ip4_route): clean up
2932 - (nm_system_vpn_device_set_from_ip4_config): clean up, add VPN routes
2935 - (nm_device_set_ip4_config): remove unused route_to_iface bits
2937 * src/vpn-manager/nm-vpn-connection.c
2938 - (ip_address_to_string): new function
2939 - (print_vpn_config): use ip_address_to_string
2940 - (merge_vpn_routes): add user-defined routes to the ip4 config
2941 - (nm_vpn_connection_ip4_config_get): add routes the VPN server sent
2943 * include/NetworkManagerVPN.h
2946 2008-06-05 Dan Williams <dcbw@redhat.com>
2948 Patch from Markus Becker <mab@comnets.uni-bremen.de>
2951 - Show which device is the default device
2953 2008-06-05 Tambet Ingo <tambet@gmail.com>
2957 * system-settings/src/nm-system-config-hal-manager.c (get_type_for_udi):
2958 Free data returned from dbus method call.
2960 * system-settings/src/nm-polkit-helpers.c (check_polkit_privileges):
2961 dbus_g_method_get_sender() returns a duplicated string, free it
2963 (check_polkit_privileges): Looks like policykit sometimes returns
2964 error and non-null return value, don't leak errors in that case.
2966 * system-settings/src/main.c (find_plugin): Don't leak existing
2968 (load_stuff): Don't leak device list and list items.
2969 (have_connection_for_device): Don't leak connection list.
2971 * system-settings/plugins/keyfile/reader.c (read_one_setting_value):
2972 Free the data received from g_keyfile_get_*.
2974 * system-settings/plugins/ifcfg-suse/parser.c (READ_WEP_KEY): Free
2975 the key when the security object is updated.
2977 * src/supplicant-manager/nm-supplicant-interface.c (scan_results_cb):
2978 Free data returned from dbus method call.
2979 (iface_state_cb): Ditto.
2980 (add_network_cb): Ditto.
2981 (nm_supplicant_interface_add_cb): Don't make another copy of already
2982 duplicated object path.
2983 (nm_supplicant_interface_add_to_supplicant): Free the driver GValue
2986 * src/supplicant-manager/nm-supplicant-config.c
2987 (ADD_STRING_LIST_VAL): Fix a memory leak.
2989 * src/nm-manager.c (free_get_settings_info): Free the allocated
2991 (list_connections_cb): Free data returned from dbus method call.
2992 (system_settings_get_unmanaged_devices_cb): Ditto.
2994 * src/nm-device-802-11-wireless.c (device_cleanup): Free ssid.
2996 * system-settings/plugins/ifcfg-suse/shvar.c (svCloseFile):
2997 * system-settings/plugins/ifcfg-fedora/shvar.c (svCloseFile):
2998 * src/backends/shvar.c (svCloseFile): Free the duplicated content
3001 * libnm-util/nm-setting.c (nm_setting_from_hash): Free the constructor
3002 arguments after the object is created.
3004 2008-06-04 Dan Williams <dcbw@redhat.com>
3006 * libnm-util/Makefile.am
3007 - Don't distribute nm-param-spec-specialized.h
3009 2008-06-02 Tambet Ingo <tambet@gmail.com>
3011 * libnm-util/nm-setting-ip4-config.[ch]: Add static routes property.
3013 * src/nm-ip4-config.[ch]: Store the static routes as a list of
3014 NMIP4Address, update the getters and setters.
3016 * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
3017 Use the updated NMIP4Config routes api.
3019 * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Merge
3020 static routes as well.
3022 * src/NetworkManagerSystem.c (netmask_to_prefix): Implement.
3023 (nm_system_device_set_from_ip4_config): Use the updated NMIP4Config
3026 2008-05-30 Dan Williams <dcbw@redhat.com>
3028 * src/named-manager/nm-named-manager.c
3029 src/named-manager/nm-named-manager.h
3030 - Remove stale/obsolete bits for controlling bind over DBus
3032 2008-05-29 Dan Williams <dcbw@redhat.com>
3034 * src/dnsmasq-manager/nm-dnsmasq-manager.c
3035 src/dnsmasq-manager/nm-dnsmasq-manager.h
3036 - (nm_dnsmasq_manager_new): move iface argument here
3037 - (constructor): remove, not needed
3038 - (get_pidfile_for_iface, create_dm_cmd_line, kill_existing_for_iface,
3039 nm_dnsmasq_manager_start, nm_dnsmasq_manager_stop): use priv->pidfile
3042 - (real_act_stage4_get_ip4_config,
3043 nm_device_activate_stage5_ip_config_commit): fix for dnsmasq manager
3046 2008-05-29 Dan Williams <dcbw@redhat.com>
3049 - (dnsmasq_state_changed_cb): new function; fail the connection if
3050 something happens to dnsmasq
3051 - (nm_device_new_ip4_shared_config): new function; create a new
3052 ip4-config for shared connections. Shared connections always use a
3053 fixed static IP address.
3054 - (real_act_stage4_get_ip4_config): handle shared connections; fix
3055 autoip connections by actually using the returned ip4-config and
3057 - (nm_device_activate_stage5_ip_config_commit): start dnsmasq for shared
3059 - (nm_device_deactivate_quickly, nm_device_dispose): terminate dnsmasq
3062 2008-05-29 Dan Williams <dcbw@redhat.com>
3064 * src/nm-device-802-11-wireless.c
3065 - (real_get_best_auto_connection): auto-activate 'shared' method
3068 2008-05-29 Dan Williams <dcbw@redhat.com>
3070 * libnm-util/nm-setting-ip4-config.c
3071 libnm-util/nm-setting-ip4-config.h
3072 - Add a 'shared' method to indicate that this connection should be
3073 brought up with a DHCP and proxy DNS server to facilitate
3075 - (verify): 'shared' method doesn't allow DNS or searches either
3077 2008-05-29 Dan Williams <dcbw@redhat.com>
3081 src/dnsmasq-manager/Makefile.am
3082 src/dnsmasq-manager/nm-dnsmasq-manager.c
3083 src/dnsmasq-manager/nm-dnsmasq-manager.h
3084 - Add a dnsmasq daemon manager to facilitate connection sharing
3086 2008-05-29 Dan Williams <dcbw@redhat.com>
3088 * src/nm-device-private.h
3089 - Remove unused prototypes and clean up
3092 - Remove anything related to system_config_data, which is no longer used
3093 - (nm_device_new_ip4_autoip_config): make static
3095 2008-05-29 Tambet Ingo <tambet@gmail.com>
3097 * system-settings/plugins/ifcfg-suse/nm-suse-connection.c
3098 (file_changed): Fix a bug where suse system settings plugin didn't
3099 update the connections automatically when the files changed.
3101 2008-05-28 Dan Williams <dcbw@redhat.com>
3103 Revert r3697 (adhoc-create property patch); it's the wrong way to do this.
3105 2008-05-28 Dan Williams <dcbw@redhat.com>
3107 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3109 * src/NetworkManagerSystem.c
3110 - (nm_system_device_flush_ip4_routes_with_iface): implement with libnl
3111 - (nm_system_vpn_device_set_from_ip4_config): don't flush routes here,
3112 was causing -EINVAL errors since the libnl code actually does flush
3113 the routes on VPN interfaces now
3115 * src/backends/NetworkManagerArch.c
3116 src/backends/NetworkManagerDebian.c
3117 src/backends/NetworkManagerFrugalware.c
3118 src/backends/NetworkManagerGeneric.c
3119 src/backends/NetworkManagerGentoo.c
3120 src/backends/NetworkManagerMandriva.c
3121 src/backends/NetworkManagerPaldo.c
3122 src/backends/NetworkManagerRedHat.c
3123 src/backends/NetworkManagerSlackware.c
3124 src/backends/NetworkManagerSuSE.c
3125 - (nm_system_device_flush_ip4_routes,
3126 nm_system_device_flush_ip4_routes_with_iface): remove
3128 2008-05-28 Dan Williams <dcbw@redhat.com>
3130 * libnm-util/nm-setting-wireless.c
3131 libnm-util/nm-setting-wireless.h
3132 - (set_property, get_property, nm_setting_wireless_class_init): add the
3133 'adhoc-create' property, which when TRUE indicates that NM should
3134 create this connection as an adhoc wifi network if it's not found
3135 as an adhoc network during scanning. Can be used to auto-create
3136 adhoc networks when used in combination with autoconnect.
3138 2008-05-28 Tambet Ingo <tambet@gmail.com>
3140 Patch from Dennis Noordsij <dennis.noordsij@helsinki.fi>.
3142 * src/nm-gsm-device.c: Don't try to reset the modem before PIN is
3143 checked, it doesn't work on some devices.
3145 2008-05-28 Tambet Ingo <tambet@gmail.com>
3147 * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Make sure
3148 pppd gets killed, if SIGTERM doesn't do it's job, SIGKILL it.
3150 * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
3151 Use inet_aton() everywhere to improve error detection.
3152 Don't fall back to 'dhcp_server_identifier' if the gateway is not
3155 2008-05-26 Tambet Ingo <tambet@gmail.com>
3157 * system-settings/plugins/ifcfg-suse/plugin.c (get_unamanged_devices_cb):
3160 2008-05-26 Tambet Ingo <tambet@gmail.com>
3162 * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_get_service): Fix a
3163 reference counting issue.
3165 2008-05-23 Dan Williams <dcbw@redhat.com>
3167 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3169 * src/backends/NetworkManagerGeneric.c
3170 - (nm_generic_enable_loopback): use libnl
3172 2008-05-23 Dan Williams <dcbw@redhat.com>
3174 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3176 * src/NetworkManagerSystem.h
3177 src/backends/NetworkManagerArch.c
3178 src/backends/NetworkManagerDebian.c
3179 src/backends/NetworkManagerFrugalware.c
3180 src/backends/NetworkManagerGentoo.c
3181 src/backends/NetworkManagerMandriva.c
3182 src/backends/NetworkManagerPaldo.c
3183 src/backends/NetworkManagerRedHat.c
3184 src/backends/NetworkManagerSlackware.c
3185 src/backends/NetworkManagerSuSE.c
3186 - (nm_system_device_has_active_routes, nm_system_flush_loopback_routes,
3187 nm_system_flush_arp_cache): remove, unused
3189 * src/backends/NetworkManagerGeneric.c
3190 src/backends/NetworkManagerGeneric.h
3191 - (nm_generic_device_has_active_routes, nm_generic_flush_loopback_routes,
3192 nm_generic_flush_arp_cache): remove, unused
3194 2008-05-23 Dan Williams <dcbw@redhat.com>
3196 * system-settings/plugins/ifcfg-fedora/reader.c
3197 - (make_ip4_setting): honor PEERDNS setting
3199 2008-05-23 Dan Williams <dcbw@redhat.com>
3201 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3203 * src/NetworkManagerSystem.c
3204 - (nm_system_device_flush_ip4_addresses_with_iface): implement with
3207 * src/backends/NetworkManagerArch.c
3208 src/backends/NetworkManagerDebian.c
3209 src/backends/NetworkManagerFrugalware.c
3210 src/backends/NetworkManagerGentoo.c
3211 src/backends/NetworkManagerMandriva.c
3212 src/backends/NetworkManagerPaldo.c
3213 src/backends/NetworkManagerRedHat.c
3214 src/backends/NetworkManagerSlackware.c
3215 src/backends/NetworkManagerSuSE.c
3216 - (nm_system_device_flush_ip4_addresses,
3217 nm_system_device_flush_ip4_addresses_with_iface): remove
3219 * src/backends/NetworkManagerGeneric.c
3220 - (nm_generic_device_flush_ip4_addresses,
3221 nm_generic_device_flush_ip4_addresses_with_iface): remove
3223 2008-05-23 Dan Williams <dcbw@redhat.com>
3225 * src/supplicant-manager/nm-supplicant-settings-verify.c
3226 - Switch 'bssid' from bytes to keyword type
3227 - (validate_type_keyword): allow NULL keyword lists
3229 * src/supplicant-manager/nm-supplicant-config.c
3230 - (nm_supplicant_config_add_setting_wireless): convert the bssid from
3231 a byte array to string form, which is what the supplicant expects
3233 2008-05-23 Tambet Ingo <tambet@gmail.com>
3235 Add a flag to NMSettingIP4Config to make it possible to ignore the DNS
3236 information received from DHCP.
3238 * libnm-util/nm-setting-ip4-config.c: Add a new membet "ignore_dhcp_dns"
3239 to make it possible to ignore the DNS information (both servers and
3240 searches) returned by DHCP server.
3242 * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Reset the
3243 name servers and searches if "ignore_dhcp_dns" is set.
3245 * src/nm-ip4-config.c (nm_ip4_config_reset_nameservers)
3246 (nm_ip4_config_reset_searches): Implement.
3248 2008-05-22 Dan Williams <dcbw@redhat.com>
3250 Remove anything mDNS related. This is better done from a distro-specific
3251 dispatcher script. Plus, any distro using avahi doesn't need to restart
3252 avahi, since avahi can handle interface changes just fine using netlink.
3255 - Remove --with-mdns-provider
3257 * src/NetworkManagerPolicy.c
3258 - (global_state_changed): don't restart the mdns provider
3260 * src/NetworkManagerSystem.h
3261 src/backends/NetworkManagerArch.c
3262 src/backends/NetworkManagerDebian.c
3263 src/backends/NetworkManagerFrugalware.c
3264 src/backends/NetworkManagerGentoo.c
3265 src/backends/NetworkManagerMandriva.c
3266 src/backends/NetworkManagerPaldo.c
3267 src/backends/NetworkManagerRedHat.c
3268 src/backends/NetworkManagerSlackware.c
3269 src/backends/NetworkManagerSuSE.c
3270 - (nm_system_restart_mdns_responder): remove
3272 * src/backends/NetworkManagerGeneric.c
3273 src/backends/NetworkManagerGeneric.h
3274 - (nm_generic_restart_mdns_responder): remove
3276 2008-05-22 Dan Williams <dcbw@redhat.com>
3279 - clean up crypto options; just use --with-crypto=nss or
3280 --with-crypto=gnutls
3282 2008-05-22 Tambet Ingo <tambet@gmail.com>
3284 * src/nm-manager.c (impl_manager_sleep): No need to schedule the sync
3285 anymore, do it right away.
3287 2008-05-22 Tambet Ingo <tambet@gmail.com>
3289 * src/nm-gsm-device.c (device_state_changed): Make sure we don't leave the
3290 serial device open when we're not connecting or connected.
3292 * src/nm-cdma-device.c (device_state_changed): Ditto.
3294 2008-05-22 Tambet Ingo <tambet@gmail.com>
3296 Don't remove all devices on waking up, sync with HAL.
3298 * src/nm-manager.c (nm_manager_udi_is_managed): Implement.
3299 (sync_devices): Implement, based on hal_manager_hal_reappeared_cb.
3300 (hal_manager_hal_reappeared_cb): Just call sync_devices.
3302 2008-05-21 Tambet Ingo <tambet@gmail.com>
3304 * src/NetworkManagerSystem.c (nm_system_device_replace_default_ip4_route):
3305 If the default gateway is unreachable, add a route to gateway and try
3308 2008-05-20 Dan Williams <dcbw@redhat.com>
3310 * system-settings/plugins/ifcfg-fedora/reader.c
3311 - (add_one_wep_key): handle ASCII WEP keys too (rh #293111)
3313 2008-05-19 Dan Williams <dcbw@redhat.com>
3315 * system-settings/plugins/ifcfg-fedora/reader.c
3316 - (make_ip4_setting): get a fallback gateway from /etc/sysconfig/network
3317 if the ifcfg doesn't specify one (rh #446527)
3319 2008-05-19 Dan Williams <dcbw@redhat.com>
3321 Make the system settings service exit when the bus goes away. Since it's
3322 a bus-activated service, it's lifetime is limited to the bus that activated
3325 * system-settings/src/Makefile.am
3326 system-settings/src/nm-system-config-hal-manager-private.h
3327 - Remove nm-system-config-hal-manager-private.h
3329 * system-settings/src/nm-system-config-hal-manager.c
3330 - (nm_system_config_hal_manager_reinit_dbus,
3331 nm_system_config_hal_manager_deinit_dbus): remove
3333 * system-settings/src/main.c
3334 - (dbus_reconnect): remove
3335 - (dbus_cleanup): don't tell the HAL manager to deinit dbus
3336 - (destroy_cb): just quit when the bus goes away
3337 - (start_dbus_service, dbus_init): simplify
3338 - (main): destroy the wired devices hash table after destroying
3339 the HAL manager so we don't have to disconnect signals from the
3342 2008-05-15 Tambet Ingo <tambet@gmail.com>
3344 Move crypto functions from nm-applet to libnm-util.
3346 * libnm-util/nm-setting-8021x.c (nm_setting_802_1x_set_ca_cert)
3347 (nm_setting_802_1x_set_client_cert)
3348 (nm_setting_802_1x_set_phase2_ca_cert)
3349 (nm_setting_802_1x_set_phase2_client_cert)
3350 (nm_setting_802_1x_set_private_key)
3351 (nm_setting_802_1x_set_phase2_private_key): Implement. Given a certificate
3352 file (or private key and it's password), read the certificate data.
3354 * libnm-util/crypto_nss.c:
3355 * libnm-util/crypto_gnutls.c:
3356 * libnm-util/crypto.[ch]: Move here from nm-applet.
3358 * configure.in: Check for NSS and gnutls here (moved here from nm-applet).
3360 * system-settings/plugins/ifcfg-suse/parser.c (read_wpa_eap_settings):
3361 Imlement WPA-EAP configuration reading from sysconfig.
3363 2008-05-16 Dan Williams <dcbw@redhat.com>
3365 * src/nm-device-802-11-wireless.c
3366 - (nm_device_802_11_wireless_set_enabled): request a scan after enabling
3369 2008-05-14 Dan Williams <dcbw@redhat.com>
3371 Fix Linus' bug in rh #134886
3373 * src/nm-device-802-3-ethernet.c
3374 - (constructor): request initial carrier state
3376 * src/nm-netlink-monitor.c
3377 - (nm_netlink_monitor_request_status): schedule emission of carrier
3378 signals after refilling the link cache. Because the refill is a
3379 synchronous operation, the normal message hander won't get called
3380 since libnl has already consumed the messages.
3381 - (deferred_emit_carrier_state): emit carrier states from an idle handler
3383 2008-05-14 Dan Williams <dcbw@redhat.com>
3385 * src/NetworkManagerSystem.c
3386 - (nm_system_device_is_up_with_iface): clean up
3388 2008-05-13 Dan Williams <dcbw@redhat.com>
3390 Fix refcounting issues over sleep/wake when a VPN connection was active that
3391 caused NM to try registering an object path for a device upon wake that was
3392 the same as an already registered object path.
3395 - (nm_device_take_down): properly handle cases where the device is
3396 no longer active but was just active, and therefore must be
3397 deactivated. When a device moves to unmanaged mode, this function
3398 previously would not deactivate the device, because the state was
3399 already unmanaged by the time this function was called.
3401 * src/vpn-manager/nm-vpn-connection.c
3402 - (device_state_changed): properly handle multiple devices states in
3403 which the device is now deactivated. Code previously didn't handle
3404 transitions to the UNAVAILABLE (like rfkill or carrier off) and
3407 2008-05-13 Dan Williams <dcbw@redhat.com>
3409 * src/nm-device-private.h
3411 - (nm_device_hw_bring_up, nm_device_hw_take_down): export
3413 * src/nm-device-802-11-wireless.c
3414 - (nm_device_802_11_wireless_set_enabled): take devices up
3415 and down as appropriate for the rfkill state
3417 2008-05-13 Dan Williams <dcbw@redhat.com>
3419 * marshallers/nm-marshal.list
3420 - Add VOID:POINTER,STRING marshaller for ifcfg-fedora plugin
3422 * system-settings/plugins/ifcfg-fedora/Makefile.am
3423 system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
3424 system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
3425 - Implement a minimal inotify helper for watch paths for IN_CLOSE_WRITE
3426 events. Solely for use watching ifcfg files to pick up changes
3427 to their hardlinks, since GIO doesn't support this yet (bgo #532815)
3429 * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
3430 - (nm_ifcfg_connection_class_init): new 'ifcfg-changed' signal when the
3431 file contents change
3432 - (finalize): clean up inotify watches
3433 - (nm_ifcfg_connection_new): store keyfile; inotify watch the keyfile
3434 and the connection ifcfg for changes on their hardlinks
3435 - (files_changed_cb): proxy the changed signal back out to listeners
3437 * system-settings/plugins/ifcfg-fedora/plugin.c
3439 - (connection_ifcfg_changed): re-read the connection when the ifcfg
3441 - (read_one_connection): connect to change signals on the new connection
3442 - (dir_changed, connection_changed_handler,
3443 handle_connection_remove_or_new): break out connection change
3444 handling and connection new/remove handling so it can be used from
3445 both the GFileMonitor callback and the NMIfcfgConnection changed
3448 * system-settings/plugins/ifcfg-fedora/reader.c
3449 system-settings/plugins/ifcfg-fedora/reader.h
3450 - (connection_from_file): return the keyfile path the connection would use
3452 2008-05-13 Tambet Ingo <tambet@gmail.com>
3454 * system-settings/src/nm-polkit-helpers.c (create_polkit_context): Use a
3455 single PolKitContext which is shared by all. PolKitContext::unref leaks
3456 just about everything, including all open file descriptiors and results
3457 in 99% cpu usage when data arrives to any of the fds that don't belong
3458 to any context anymore.
3460 2008-05-12 Dan Williams <dcbw@redhat.com>
3462 * gfilemonitor/glocaldirectorymonitor.c
3463 gfilemonitor/glocaldirectorymonitor.h
3464 - (g_local_directory_monitor_constructor): actually subscribe to the
3466 - (_g_local_directory_monitor_new): ensure that inotify is started up
3468 * gfilemonitor/glocalfilemonitor.c
3469 gfilemonitor/glocalfilemonitor.h
3470 - (g_local_file_monitor_constructor): actually subscribe to the watch
3471 - (_g_local_file_monitor_new): ensure that inotify is started up
3473 2008-05-11 Dan Williams <dcbw@redhat.com>
3476 - record PolicyKit version
3478 * system-settings/src/nm-polkit-helpers.c
3479 - (check_polkit_privileges): use polkit_context_can_caller_do_action()
3480 with PolicyKit <= 0.6
3482 2008-05-11 Dan Williams <dcbw@redhat.com>
3484 Update Fedora system-settings plugin to support latest API and use
3485 GFileMonitor rather than home-rolled inotify code.
3487 * system-settings/plugins/ifcfg-fedora/Makefile.am
3488 system-settings/plugins/ifcfg-fedora/common.h
3489 system-settings/plugins/ifcfg-fedora/plugin.c
3490 - Update to latest system settings plugin API; use GIO instead of
3491 custom inotify code; use NMIfcfgConnection objects instead of
3492 ConnectionData structures tacked onto NMConnection objects
3494 * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
3495 system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.h
3496 - Implement an NMExportedConnection subclass mapping ifcfg files to
3499 * system-settings/plugins/ifcfg-fedora/reader.c
3500 system-settings/plugins/ifcfg-fedora/reader.h
3501 - Move ifcfg parsing bits here from parser.c
3503 * system-settings/plugins/ifcfg-fedora/parser.c
3504 system-settings/plugins/ifcfg-fedora/parser.h
3505 - Remove; most code moved to reader.c
3507 2008-05-11 Dan Williams <dcbw@redhat.com>
3512 - Add a private copy of the GIO GFileMonitor code, with a custom GFile
3513 implementation, so that the same change monitoring code can be used
3514 on systems without glib-2.14 (like Fedora 8)
3516 * system-settings/plugins/keyfile/Makefile.am
3517 system-settings/plugins/keyfile/plugin.c
3518 system-settings/plugins/ifcfg-suse/Makefile.am
3519 system-settings/plugins/ifcfg-suse/plugin.c
3520 - Use private gfilemonitor code if GIO is not present
3522 2008-05-09 Tambet Ingo <tambet@gmail.com>
3524 * system-settings/plugins/ifcfg-suse/nm-suse-connection.c: Implement
3525 NMExportedConnection's 'update' and 'delete' and return error with
3526 descriptive message.
3528 2008-05-08 Dan Williams <dcbw@redhat.com>
3530 Patch from Markus Becker <mab@comnets.uni-bremen.de>
3532 * src/nm-gsm-device.c
3533 src/nm-cdma-device.c
3534 - (real_get_best_auto_connection): implement; allow autoconnection
3535 to GSM & CDMA devices
3537 2008-05-08 Tambet Ingo <tambet@gmail.com>
3539 Use PolicyKit to authorize the system settings' AddConnection method
3540 and the system settings connections' Update and Delete methods.
3542 * libnm-glib/nm-settings.c (impl_exported_connection_update)
3543 (impl_exported_connection_delete, nm_exported_connection_update)
3544 (nm_exported_connection_delete): Return boolean and fill GError
3545 to notify the callers of the reasons why it might have failed.
3547 * libnm-glib/nm-dbus-settings-system.c
3548 (nm_dbus_settings_system_add_connection): Return the error from dbus
3549 call so that the callers can see why it failed.
3551 * libnm-glib/nm-dbus-connection.c (update, delete): Update the
3554 * system-settings/src/nm-polkit-helpers.[ch]: Implement.
3556 * system-settings/src/nm-sysconfig-connection.[ch]: Implement. New
3557 abstract base class that checks PolicyKit permissions.
3559 * system-settings/src/dbus-settings.c:
3560 (impl_settings_add_connection): Check the policy before carring out
3563 * system-settings/plugins/keyfile/nm-keyfile-connection.c:
3564 Inherit from NMSysconfigConnection, check the policies before
3565 allowing updating or removing.
3567 * system-settings/plugins/ifcfg-suse/nm-suse-connection.c:
3568 Inherit from NMSysconfigConnection.
3570 * introspection/nm-exported-connection.xml: Annotate "Update" and
3571 "Delete" methods with async flag so that the implementations can get
3572 access to DBusGMethodInvocation.
3574 * system-settings/src/dbus-settings.c
3575 (settings_add_connection_check_privileges): Implement.
3576 (impl_settings_add_connection): Check the privileges before adding a new
3577 connection. Improve error reporting.
3579 * introspection/nm-settings-system.xml: Make the 'AddConnection' method
3580 async so that the implementation can access DBusGMethodInvocation.
3582 * configure.in: Check for PolicyKit.
3584 * policy/org.freedesktop.network-manager-settings.system.policy:
3587 * policy/Makefile.am: Install the policy file.
3589 * configure.in: Add 'policy' subdir.
3591 2008-05-08 Tambet Ingo <tambet@gmail.com>
3593 Rewrite the suse system settings plugin.
3595 * system-settings/plugins/ifcfg-suse/plugin.c: Rewrite.
3597 * system-settings/plugins/ifcfg-suse/parser.c: Rewrite.
3599 * system-settings/plugins/ifcfg-suse/nm-suse-connection.[ch]: Implement.
3601 * system-settings/plugins/ifcfg-suse/Makefile.am: Add new files to build.
3603 * system-settings/src/dbus-settings.c: Fix connection reference counting.
3605 * system-settings/src/main.c (load_plugins): Improve error reporting.
3607 * system-settings/src/sha1.[ch] Add.
3609 * system-settings/src/Makefile.am: Add sha1[ch] to build.
3611 2008-05-07 Dan Williams <dcbw@redhat.com>
3613 * system-settings/plugins/keyfile/reader.c
3614 - (read_one_setting_value): handle IP address items separately
3615 - (read_array_of_uint): read IPv4 DNS option as a string array
3616 - (read_array_of_array_of_uint): read IPv4 address tuples as a string
3619 * system-settings/plugins/keyfile/writer.c
3620 - (write_setting_value): handle IP address items separately
3621 - (write_array_of_uint): handle IPv4 DNS option as a string array,
3622 not an array of uint, so that it's user-editable
3623 - (write_array_of_array_of_uint): handle IPv4 address tuples as string
3624 arrays, so they are user-editable
3626 2008-05-07 Dan Williams <dcbw@redhat.com>
3628 * system-settings/plugins/keyfile/Makefile.am
3629 - Change location of the keyfile plugin settings to
3630 /etc/NetworkManager/system-connections
3632 2008-05-05 Tambet Ingo <tambet@gmail.com>
3634 * system-settings/plugins/keyfile/nm-keyfile-connection.[ch]: Implement.
3636 * system-settings/plugins/keyfile/plugin.c: Work with
3637 NMKeyfileConnections.
3639 * system-settings/src/dbus-settings.c: Remove NMSysconfigExportedConnection.
3640 Plugins are supposed to return NMExportedConnections now and handle the
3641 updated(), removed(), and GetSecrets().
3642 Store the internal list of connections in hash table to make it easier
3645 2008-05-07 Tambet Ingo <tambet@gmail.com>
3647 * src/backends/NetworkManagerSuSE.c (nm_system_set_hostname): Update
3648 for multiple IP addresses.
3650 2008-05-07 Tambet Ingo <tambet@gmail.com>
3652 Patch from André Lemos.
3654 * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Fix a memory
3657 2008-05-06 Dan Williams <dcbw@redhat.com>
3659 * src/dhcp-manager/nm-dhcp-manager.c
3660 - (nm_dhcp_manager_get_ip4_config): clean up; update for changes to
3661 NMIP4Config to support multiple IP addresses
3663 * src/NetworkManagerUtils.c
3664 - (nm_utils_merge_ip4_config): update for multiple IP addresses
3666 * src/nm-ip4-config.c
3668 - Store a list of IPv4 address/netmask/gateway tuples
3669 - (nm_ip4_config_get_gateway, nm_ip4_config_set_gateway,
3670 nm_ip4_config_get_netmask, nm_ip4_config_set_netmask,
3671 nm_ip4_config_get_broadcast, nm_ip4_config_set_broadcast,
3672 nm_ip4_config_set_address): remove
3673 - (nm_ip4_config_take_address, nm_ip4_config_add_address,
3674 nm_ip4_config_replace_address, nm_ip4_config_get_num_addresses):
3675 new functions; handle multiple IPv4 addresses
3678 src/ppp-manager/nm-ppp-manager.c
3679 src/vpn-manager/nm-vpn-connection.c
3680 src/NetworkManagerPolicy.c
3682 libnm-glib/libnm-glib-test.c
3683 - update for changes to NMIP4Config for multiple IPv4 addresses
3685 * src/NetworkManagerSystem.c
3686 - (nm_system_device_set_ip4_route): don't add the route if any address
3687 is on the same subnet as the destination
3688 - (check_one_address): ignore the exact match, just match family and
3690 - (add_ip4_addresses): add all IPv4 addresses in an NMIP4Config to
3692 - (nm_system_device_set_from_ip4_config): use add_ip4_addresses()
3693 - (nm_system_vpn_device_set_from_ip4_config): use add_ip4_addresses()
3695 * introspection/nm-ip4-config.xml
3696 - Remove 'address', 'gateway', 'netmask', and 'broadcast' properties
3697 - Add 'addresses' property which is an array of (uuu) tuples of
3698 address/netmask/gateway
3700 * libnm-util/nm-setting-ip4-config.c
3701 - (set_property): use ip-address <-> GValue converters from nm-utils.c
3703 * libnm-glib/nm-ip4-config.c
3704 libnm-glib/nm-ip4-config.h
3705 - Handle D-Bus interface changes to support multiple IP addresses
3707 2008-05-06 Dan Williams <dcbw@redhat.com>
3709 * libnm-util/nm-utils.c
3710 libnm-util/nm-utils.h
3711 - (nm_utils_ip4_addresses_from_gvalue,
3712 nm_utils_ip4_addresses_to_gvalue): new functions
3714 2008-05-06 Tambet Ingo <tambet@gmail.com>
3716 * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Don't leak
3717 the returned connection paths.
3719 2008-05-05 Tambet Ingo <tambet@gmail.com>
3721 * libnm-glib/nm-dbus-settings.c (constructor): Fix the
3722 "PropertiesChanged" signal signature.
3724 * libnm-glib/nm-dbus-connection.c (constructor): Use the common GType
3725 defined in nm-dbus-glib-types.h.
3726 Don't register the connection on dbus, we're a proxy class to
3727 communicate with an already registered connection over dbus.
3729 2008-04-30 Tambet Ingo <tambet@gmail.com>
3731 Implement new subclasses of NMSettings and NMExportedConnection to make
3732 it easier for the applet to access and modify system settings.
3734 * libnm-glib/nm-dbus-connection.[ch]:
3735 * libnm-glib/nm-dbus-settings.[ch]:
3736 * libnm-glib/nm-dbus-settings-system.[ch]: Implement.
3738 * libnm-glib/Makefile.am: Add the new files to build, generate some more
3741 * include/NetworkManager.h: Define the system settings DBus interface.
3743 2008-04-30 Tambet Ingo <tambet@gmail.com>
3745 Implement additional C API for exported connections to make them identical
3746 with the DBus API. Change the (list_connections) virtual function to be
3747 more usable from C - instead of requiring implementers to return a GPtrArray
3748 of dbus paths, return a list of connections.
3750 * libnm-glib/nm-settings.c (nm_exported_connection_class_init): Fix a typo.
3751 (nm_settings_list_connections):
3752 (nm_exported_connection_new):
3753 (nm_exported_connection_update):
3754 (nm_exported_connection_delete): Implement.
3756 (impl_settings_list_connections):
3757 (impl_exported_connection_update):
3758 (impl_exported_connection_delete): Use the new public functions to make
3759 sure the C and dbus interfaces stay in sync.
3761 * system-settings/src/dbus-settings.c (list_connections): Return a list of
3764 2008-05-02 Dan Williams <dcbw@redhat.com>
3766 * system-settings/plugins/ifcfg-fedora/plugin.c
3767 - (dispose): use right unref call on the DBusGConnection
3769 2008-05-02 Dan Williams <dcbw@redhat.com>
3771 * src/nm-serial-device.c
3772 - (find_terminator): don't compare the whole line, just the size of the
3773 terminator, since some modems put stuff after the terminator, like
3776 2008-05-01 Dan Williams <dcbw@redhat.com>
3778 Patch from Michael Biebl <biebl@debian.org>
3780 * callouts/Makefile.am
3781 callouts/org.freedesktop.nm_dispatcher.service.in
3782 system-settings/src/Makefile.am
3783 system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service.in
3784 - use the right install location for dbus-activated stuff
3786 2008-04-30 Dan Williams <dcbw@redhat.com>
3788 * src/nm-gsm-device.c
3789 - (enter_pin): fix setting name passed to applets when asking for a GSM
3792 2008-04-30 Dan Williams <dcbw@redhat.com>
3795 - (nm_manager_error_get_type): remove erroneous NULL enum from table
3797 2008-04-30 Dan Williams <dcbw@redhat.com>
3799 * src/nm-device-802-3-ethernet.c
3800 src/nm-device-802-11-wireless.c
3801 - (real_is_up): return true instead of chaining up to unimplemented
3804 2008-04-30 Dan Williams <dcbw@redhat.com>
3806 * src/NetworkManagerSystem.c
3807 src/NetworkManagerSystem.h
3808 - (nm_system_device_is_up, nm_system_device_is_up_with_iface): new
3809 functions to check device flags for IFF_UP
3811 * src/nm-serial-device.c
3812 - (real_is_up): remove; NMDevice now returns TRUE if the subclass doesn't
3815 * src/nm-device-802-3-ethernet.c
3816 src/nm-device-802-11-wireless.c
3817 - (real_hw_is_up): call nm_system_device_is_up()
3820 - (real_hw_is_up): move to nm_system_device_is_up_with_iface()
3821 - (real_is_up): remove; nm_device_is_up() returns TRUE if subclass
3824 2008-04-29 Dan Williams <dcbw@redhat.com>
3826 Handle HAL dropouts better; allow NM to start up even if HAL isn't up yet.
3828 * marshallers/nm-marshal.list
3831 * src/NetworkManager.c
3832 - (main): let the NMManager handle the NMHalManager
3834 * src/nm-hal-manager.c
3835 src/nm-hal-manager.h
3836 - convert to a GObject, and emit singals when stuff changes. Let the
3837 NMManager handle the signals, instead of the NMHalManager calling
3842 - (remove_one_device): consolidate device removals here
3843 - (dispose): use remove_one_device()
3844 - (nm_manager_get_device_by_udi): make static
3845 - (deferred_hal_manager_query_devices): idle handler to query the HAL
3846 manager for devices at startup or wakeup time
3847 - (nm_manager_new): create and monitor the HAL manager
3848 - (hal_manager_udi_added_cb): new function; do what
3849 nm_manager_add_device() used to do when signalled by the hal manager
3850 - (hal_manager_udi_removed_cb): new function; do what
3851 nm_manager_remove_device() used to do when signalled by the hal
3853 - (hal_manager_rfkill_changed_cb): handle rfkill changes from the
3855 - (hal_manager_hal_reappeared_cb): when HAL comes back, remove devices
3856 in our device list that aren't known to HAL
3857 - (impl_manager_sleep): on wakeup, re-add devices from an idle handler;
3858 see comments on nm-hal-manager.c::nm_manager_state_changed() a few
3860 - (nm_manager_get_device_by_path, nm_manager_is_udi_managed,
3861 nm_manager_activation_pending, nm_manager_wireless_enabled,
3862 nm_manager_wireless_hardware_enabled,
3863 nm_manager_set_wireless_hardware_enabled): remove, unused
3865 2008-04-28 Dan Williams <dcbw@redhat.com>
3867 Fix the device up/down ambiguities. Up/down state used to be a
3868 conglomeration of hardware state (IFF_UP) and any device-specific things
3869 (supplicant, periodic timers, etc) that the device used to indicate
3870 readiness. Unfortunately, if the hardware was already IFF_UP for some
3871 reason, then the device specific stuff wouldn't get run, and the device
3876 - Create hw_is_up, hw_bring_up, and hw_take_down
3877 - Rename bring_down -> take_down
3878 - (real_hw_is_up): check interface flags for IFF_UP
3879 - (nm_device_hw_is_up): let subclasses figure out their own HW state
3880 - (nm_device_is_up): make static; only used locally
3881 - (nm_device_hw_bring_up): update the hardware and IPv4 addresses even
3882 if the device is already up; if the device isn't up, bring it up
3883 - (nm_device_hw_take_down): just take down hardware
3884 - (nm_device_bring_up): bring up HW first, then device specific stuff
3885 - (nm_device_take_down): always deactivate device when called; always
3886 try to take hardware down too
3887 - (nm_device_state_changed): take device down when entering unmanaged
3888 state from a higher state
3890 * src/nm-device-802-11-wireless.c
3891 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
3893 - (real_take_down, supplicant_iface_state_cb_handler,
3894 supplicant_iface_connection_state_cb_handler,
3895 supplicant_mgr_state_cb_handler): fix some messages
3897 * src/nm-device-802-3-ethernet.c
3898 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
3901 2008-04-28 Dan Williams <dcbw@redhat.com>
3905 - (nm_manager_error_get_type): add new error
3906 - (nm_manager_remove_device): don't bother taking down the device here,
3907 the state change from unmanaging the device will do it
3908 - (impl_manager_sleep): move nm_manager_sleep() here since nothing else
3909 uses it; when going to sleep, just unmanage the device instead of
3910 taking it down, because stuff will cleaned up correctly when the
3911 device gets unmanaged
3913 2008-04-28 Dan Williams <dcbw@redhat.com>
3915 * src/nm-hal-manager.c
3916 - (add_initial_devices): convert to a GSourceFunc prototype
3917 - (nm_manager_state_changed): when coming out of sleep, punt the
3918 device re-addition to an idle handler to let D-Bus events go out
3919 first, fixing a potential dbus-glib assert if the old device was
3920 not yet disposed (due to references held while emitting the D-Bus
3921 signals) but the new device was found, because the mainloop didn't
3922 run between signal emission and add_initial_devices()
3924 2008-04-27 Dan Williams <dcbw@redhat.com>
3926 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3928 * initscript/paldo/NetworkManager.in
3929 initscript/SUSE/networkmanager.in
3930 - Remove last bits of dhcdbd
3932 2008-04-27 Dan Williams <dcbw@redhat.com>
3934 * src/nm-device-802-11-wireless.c
3935 - (link_timeout_cb): don't ask for secrets when disconnected during
3936 association/authentication phase, drivers are still just too crappy
3938 2008-04-27 Dan Williams <dcbw@redhat.com>
3942 dispatcher-daemon/Makefile.am
3943 dispatcher-daemon/NetworkManagerDispatcher.c
3944 initscript/Arch/Makefile.am
3945 initscript/Arch/networkmanager-dispatcher.in
3946 initscript/Gentoo/Makefile.am
3947 initscript/Gentoo/NetworkManagerDispatcher.in
3948 initscript/Mandriva/Makefile.am
3949 initscript/Mandriva/networkmanagerdispatcher.in
3950 initscript/RedHat/Makefile.am
3951 initscript/RedHat/NetworkManagerDispatcher.in
3952 initscript/SUSE/Makefile.am
3953 initscript/SUSE/networkmanager-dispatcher.in
3954 initscript/Slackware/Makefile.am
3955 initscript/Slackware/rc.networkmanager-dispatcher.in
3956 initscript/paldo/Makefile.am
3957 initscript/paldo/NetworkManagerDispatcher.in
3959 man/NetworkManagerDispatcher.8.in
3960 - Remove the dispatcher daemon
3962 2008-04-27 Dan Williams <dcbw@redhat.com>
3964 * callouts/Makefile.am
3965 callouts/nm-dispatcher-action.c
3966 callouts/nm-dispatcher-action.h
3967 callouts/nm-dispatcher.conf
3968 callouts/nm-dispatcher.xml
3969 callouts/org.freedesktop.nm_dispatcher.service
3970 - Re-implement the dispatcher as a system-bus activated service that
3971 NM calls on-demand, rather than an always running daemon
3974 - Add callouts dir to includes to pick up dispatcher defines
3977 - (nm_device_state_changed): call dispatcher on device activated/
3980 * src/vpn-manager/nm-vpn-connection.c
3981 - (nm_vpn_connection_set_vpn_state): call dispatcher when VPN connections
3984 * src/NetworkManagerUtils.c
3985 src/NetworkManagerUtils.h
3986 - (nm_utils_call_dispatcher): helper to call dispatcher
3988 2008-04-27 Dan Williams <dcbw@redhat.com>
3990 * src/NetworkManagerUtils.c
3991 src/NetworkManagerUtils.h
3992 - remove unneeded includes
3993 - (nm_null_safe_strcmp, nm_ethernet_addresses_are_equal,
3994 nm_utils_inet_ip4_address_as_string, nm_timeval_has_passed,
3995 nm_timeval_cmp, nm_timeval_add): remove, unused
3996 - clean up formatting
3997 - (nm_spawn_process): de-uglify
3999 * src/nm-device-802-11-wireless.c
4000 - (get_active_ap): use memcmp() not nm_ethernet_addresses_are_equal()
4002 2008-04-26 Saleem Abdulrasool <compnerd@compnerd.org>
4004 * initscript/Gentoo/NetworkManager.in:
4005 Fix for starting the daemon.
4007 2008-04-25 Dan Williams <dcbw@redhat.com>
4009 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
4011 * src/NetworkManagerSystem.c
4012 - (nm_system_device_set_ip4_route): reimplement using libnl, not ioctls
4014 2008-04-25 Dan Williams <dcbw@redhat.com>
4016 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
4018 * src/NetworkManagerSystem.c
4019 - (nm_system_device_replace_default_ip4_route): new function; a libnl
4020 implementation of nm_system_device_replace_default_route()
4022 * src/NetworkManagerPolicy.c
4023 - (update_default_route): use nm_system_device_replace_default_ip4_route()
4025 * src/backends/NetworkManagerArch.c
4026 src/backends/NetworkManagerDebian.c
4027 src/backends/NetworkManagerFrugalware.c
4028 src/backends/NetworkManagerGeneric.c
4029 src/backends/NetworkManagerGeneric.h
4030 src/backends/NetworkManagerGentoo.c
4031 src/backends/NetworkManagerMandriva.c
4032 src/backends/NetworkManagerPaldo.c
4033 src/backends/NetworkManagerRedHat.c
4034 src/backends/NetworkManagerSlackware.c
4035 src/backends/NetworkManagerSuSE.c
4036 - (nm_system_device_replace_default_route): remove
4038 2008-04-25 Dan Williams <dcbw@redhat.com>
4040 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
4042 * src/NetworkManagerSystem.c
4043 - (validate_ip4_route): remove; use nl_addr_parse() instead
4044 - (nm_system_device_add_ip4_route_via_device_with_iface): new function,
4045 replace nm_system_device_add_route_via_device_with_iface() in the
4048 * src/backends/NetworkManagerArch.c
4049 src/backends/NetworkManagerDebian.c
4050 src/backends/NetworkManagerFrugalware.c
4051 src/backends/NetworkManagerGeneric.c
4052 src/backends/NetworkManagerGeneric.h
4053 src/backends/NetworkManagerGentoo.c
4054 src/backends/NetworkManagerMandriva.c
4055 src/backends/NetworkManagerPaldo.c
4056 src/backends/NetworkManagerRedHat.c
4057 src/backends/NetworkManagerSlackware.c
4058 src/backends/NetworkManagerSuSE.c
4059 - Remove nm_system_device_add_route_via_device_with_iface()
4061 2008-04-25 Dan Williams <dcbw@redhat.com>
4063 * system-settings/plugins/ifcfg-fedora/parser.c
4064 - (GET_ONE_DNS): fix parsing of DNS2 & DNS3
4066 2008-04-24 Dan Williams <dcbw@redhat.com>
4068 * dispatcher-daemon/NetworkManagerDispatcher.c
4069 - (nmd_execute_scripts): execute scripts in order as sorted by strcmp()
4071 2008-04-24 Dan Williams <dcbw@redhat.com>
4073 * initscript/RedHat/NetworkManager.in
4074 initscript/RedHat/NetworkManagerDispatcher.in
4075 - Be active at runlevel 2
4076 - Adjust priorities earlier
4078 2008-04-22 Dan Williams <dcbw@redhat.com>
4080 * src/NetworkManagerPolicy.c
4081 - (update_routing_and_dns): when checking for a gateway, look at the
4082 composite IP4 config, not the connection's ip4-config setting, which
4083 doesn't include DHCP-returned information
4085 2008-04-22 Tambet Ingo <tambet@gmail.com>
4087 Implement GKeyFile system settings plugin.
4088 Implement writing system settings (currently supported only by GKeyFile plugin).
4090 * system-settings/src/main.c:
4091 * system-settings/src/dbus-settings.c: Move the communication with plugins
4092 from main.c to dbus-settings.c. Makes it possible to talk to all registered
4093 plugins for adding/updating/removing connections.
4095 * system-settings/src/nm-system-config-interface.c
4096 (nm_system_config_interface_add_connection): Implement
4097 (nm_system_config_interface_update_connection): Implement.
4098 (nm_system_config_interface_remove_connection): Implement.
4100 * system-settings/plugins/keyfile/Makefile.am:
4101 * system-settings/plugins/keyfile/plugin.[ch]:
4102 * system-settings/plugins/keyfile/writer.[ch]:
4103 * system-settings/plugins/keyfile/reader.[ch]: Implement.
4105 * system-settings/plugins/Makefile.am: Add GKeyFile plugin.
4107 * configure.in: Generate GKeyFile Makefile.
4109 * libnm-glib/nm-settings.c (impl_exported_connection_get_id): Fix a memory
4110 corruption, need to duplicate the returned string.
4111 (impl_exported_connection_update): Implement.
4112 (impl_exported_connection_delete): Implement.
4114 * introspection/nm-settings-system.xml: Add "AddConnection" method.
4116 * introspection/nm-exported-connection.xml: Add "Update" and "Delete" methods.
4118 2008-04-22 Dan Williams <dcbw@redhat.com>
4120 Patch from Charles R. Anderson (cra@wpi.edu)
4122 * src/NetworkManagerPolicy.c
4123 - (update_routing_and_dns): don't select devices without a gateway
4124 as having the default route (rh #437338)
4126 2008-04-21 Dan Williams <dcbw@redhat.com>
4128 * src/nm-activation-request.c
4129 src/nm-activation-request.h
4130 - (dispose): ensure to disconnect from the device's state-changed signal
4131 when appropriate so the signal doesn't get handled by an already
4132 disposed NMActRequest
4133 - (device_state_changed): update is_default here too just to make sure
4134 default is only True when the child device is activated
4135 - (nm_act_request_set_default): new function
4137 * src/NetworkManagerPolicy.c
4138 - (update_routing_and_dns): set 'default' on the active connection which
4139 has the default route and DNS
4141 2008-04-21 Dan Williams <dcbw@redhat.com>
4143 * src/NetworkManagerPolicy.c
4144 - (device_state_changed): update routing and DNS when a device goes
4145 into unmanaged or unavailable states too (like rfkill or carrier loss)
4147 2008-04-21 Dan Williams <dcbw@redhat.com>
4149 * include/NetworkManager.h
4150 - Add NMActiveConnectionState enum
4152 * introspection/nm-active-connection.xml
4153 introspection/nm-vpn-connection.xml
4154 - Add 'State' property for overall active connection state
4155 - Add 'Default' property, when True means this active connection
4156 has the default route
4157 - Add PropertyChanged signals so changes actually go out over the bus
4159 * src/nm-active-connection.h
4160 - Add defines for State & Default properties
4162 * src/nm-activation-request.c
4163 - Add 'state' and 'default' properties, hook up to device 'state-changed'
4164 signal to determine active connection state
4166 * src/vpn-manager/nm-vpn-connection.c
4167 src/vpn-manager/nm-vpn-connection.h
4168 src/vpn-manager/nm-vpn-manager.c
4169 src/vpn-manager/nm-vpn-service.c
4170 - Rename old 'state' to 'vpn-state'
4171 - Rename nm_vpn_connection_get_state() -> nm_vpn_connection_get_vpn_state()
4172 - Add 'state' and 'default' properties, hook up to the vpn connection's
4173 'vpn-state-changed' signal
4175 * libnm-glib/nm-active-connection.c
4176 libnm-glib/nm-active-connection.h
4177 - Add new 'state' and 'default' properties and accessors
4179 * libnm-glib/nm-vpn-connection.c
4180 libnm-glib/nm-vpn-connection.h
4181 - Rename old 'state' property to 'vpn-state'
4182 - Add new 'state' and 'default' properties and accessors
4184 2008-04-21 Dan Williams <dcbw@redhat.com>
4186 * src/nm-ip4-config.c
4187 - (nm_ip4_config_to_rtnl_addr): fill in the broadcast address if it's
4188 not specified (rh #443474)
4190 2008-04-20 Dan Williams <dcbw@redhat.com>
4192 * src/NetworkManagerUtils.c
4193 src/NetworkManagerUtils.h
4194 - (nm_utils_merge_ip4_config): new function; merge settings from an
4195 NMSettingIP4Config to an NMIP4Config object
4198 - (merge_ip4_config): move to NetworkManagerUtils.c
4200 * src/vpn-manager/nm-vpn-connection.c
4201 - (nm_vpn_connection_ip4_config_get): merge in user-specified settings
4204 2008-04-18 Dan Williams <dcbw@redhat.com>
4206 * libnm-util/nm-setting-ppp.c
4207 libnm-util/nm-setting-ppp.h
4208 - Add 'no-vj-comp' option for TCP header compression
4209 - baud, mru, mtu, lcp_echo_failure, and lcp_echo_interval are really
4212 2008-04-18 Dan Williams <dcbw@redhat.com>
4214 * libnm-util/nm-setting-ppp.c
4215 libnm-util/nm-setting-ppp.h
4216 src/ppp-manager/nm-ppp-manager.c
4217 - Add 'refuse-pap' and 'refuse-mschapv2' options
4219 2008-04-18 Dan Williams <dcbw@redhat.com>
4221 * libnm-util/nm-setting-ppp.c
4222 libnm-util/nm-setting-ppp.h
4223 src/ppp-manager/nm-ppp-manager.c
4224 - Remove the 'usepeerdns' option and always request DNS servers from
4225 the PPP server; the connection chooses to use/override/ignore the
4226 DNS servers returned from the PPP server
4228 2008-04-18 Dan Williams <dcbw@redhat.com>
4230 * libnm-util/nm-setting-ppp.c
4231 libnm-util/nm-setting-ppp.h
4232 src/ppp-manager/nm-ppp-manager.c
4233 - Remove the 'require-mppc' option, because pppd doesn't support it and
4234 it seems to have been an erroneous addition to the PPTP plugin in
4235 the first place (from which the ppp-manager is derived)
4237 2008-04-17 Dan Williams <dcbw@redhat.com>
4239 * libnm-util/nm-setting-pppoe.c
4240 - (verify): require a PPP setting too
4242 * src/ppp-manager/nm-ppp-manager.c
4243 - (nm_ppp_manager_start): fail if no PPP setting is present instead of
4246 2008-04-17 Dan Williams <dcbw@redhat.com>
4249 - (nm_device_state_changed): do deactivation and and promotion to
4250 unavailable here, so that the device gets cleaned up before the
4251 manager runs and starts emitting signals; do the
4252 FAILED->DISCONNECTED transition from an idle handler rather than
4253 immediately to guard against recursion
4254 - (nm_device_deactivate_quickly, nm_device_dispose): stop the
4255 FAILED->DISCONNECTED handler if it's scheduled
4257 2008-04-17 Dan Williams <dcbw@redhat.com>
4259 * src/nm-device-802-11-wireless.c
4260 - (state_changed_cb): clear AP list when device transitions to
4261 unavailable or unmanaged
4262 - (nm_device_802_11_wireless_dispose): remove redundant set_current_ap()
4263 since this is already done in device_cleanup()
4264 - (supplicant_iface_scanned_ap_cb): don't leak new APs when the device
4265 isn't available or managed
4266 - (device_cleanup): use remove_all_aps()
4267 - (remove_all_aps): consolidate code removing all APs
4269 2008-04-17 Dan Williams <dcbw@redhat.com>
4271 * src/nm-serial-device.c
4272 src/nm-serial-device.h
4273 - (wait_for_reply_got_data): break input into lines, and search each
4274 line for responses _and_ terminator strings; also make sure that
4275 the read loop doesn't continue after the timeout is supposed to fire
4276 - (nm_serial_device_wait_for_reply): take an array of terminators too
4278 * src/nm-gsm-device.c
4279 src/nm-cdma-device.c
4280 - Send terminators to nm_serial_device_wait_for_reply()
4282 2008-04-16 Dan Williams <dcbw@redhat.com>
4284 Patch from 陈鑫 <znscnchen@gmail.com>
4286 * src/ppp-manager/nm-pppd-plugin.c
4287 - (get_credentials): return correct value for success; handle case where
4288 pppd just does some checking but doesn't want a password
4289 - (plugin_init): make CHAP work too
4291 2008-04-16 Dan Williams <dcbw@redhat.com>
4293 Patch from 陈鑫 <znscnchen@gmail.com>
4295 * src/ppp-manager/nm-ppp-manager.c
4296 - (create_pppd_cmd_line): fix argument generation when spawning pppd
4298 2008-04-16 Dan Williams <dcbw@redhat.com>
4300 Patch from 陈鑫 <znscnchen@gmail.com>
4302 * src/nm-device-802-3-ethernet.c
4303 - (real_deactivate_quickly): clear the IP interface name on
4304 deactivation, otherwise the wrong interface might get used later
4305 for routing and IP management
4307 2008-04-15 Dan Williams <dcbw@redhat.com>
4309 * libnm-glib/nm-device.c
4310 - (get_product_and_vendor): handle serial devices correctly
4311 - (nm_device_update_description): pass device to get_product_and_vendor()
4313 2008-04-15 Dan Williams <dcbw@redhat.com>
4315 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
4317 * src/NetworkManagerSystem.h
4318 src/backends/NetworkManagerArch.c
4319 src/backends/NetworkManagerDebian.c
4320 src/backends/NetworkManagerFrugalware.c
4321 src/backends/NetworkManagerGeneric.c
4322 src/backends/NetworkManagerGeneric.h
4323 src/backends/NetworkManagerGentoo.c
4324 src/backends/NetworkManagerMandriva.c
4325 src/backends/NetworkManagerPaldo.c
4326 src/backends/NetworkManagerRedHat.c
4327 src/backends/NetworkManagerSlackware.c
4328 src/backends/NetworkManagerSuSE.c
4330 - (nm_generic_device_add_ip6_link_address,
4331 nm_system_device_add_ip6_link_address): remove
4333 2008-04-15 Dan Williams <dcbw@redhat.com>
4335 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
4337 * src/backends/NetworkManagerArch.c
4338 src/backends/NetworkManagerDebian.c
4339 src/backends/NetworkManagerFrugalware.c
4340 src/backends/NetworkManagerGeneric.c
4341 src/backends/NetworkManagerGeneric.h
4342 src/backends/NetworkManagerGentoo.c
4343 src/backends/NetworkManagerMandriva.c
4344 src/backends/NetworkManagerPaldo.c
4345 src/backends/NetworkManagerRedHat.c
4346 src/backends/NetworkManagerSlackware.c
4347 src/backends/NetworkManagerSuSE.c
4348 src/NetworkManagerSystem.h
4349 - flush_routes -> flush_ip4_routes
4350 - flush_addresses -> flush_ip4_addresses
4352 * src/NetworkManagerSystem.c
4354 src/vpn-manager/nm-vpn-connection.c
4355 - flush only IPv4 addresses; don't touch IPv6 routes and addresses
4357 2008-04-15 Dan Williams <dcbw@redhat.com>
4359 Remove exposure of wireless-tools mode types in the API.
4361 * include/NetworkManager.h
4362 - Define NM80211Mode enum
4364 * introspection/generic-types.xml
4365 - Describe NM_802_11_MODE enum
4366 - Remove IW_MODE_* enum
4368 * introspection/nm-access-point.xml
4369 libnm-glib/nm-access-point.c
4370 libnm-glib/nm-access-point.h
4371 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
4373 * introspection/nm-device-802-11-wireless.xml
4374 libnm-glib/nm-device-802-11-wireless.c
4375 libnm-glib/nm-device-802-11-wireless.h
4376 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
4378 * libnm-util/nm-setting-wireless.c
4379 src/NetworkManagerAP.c
4380 src/NetworkManagerAP.h
4381 src/nm-device-802-11-wireless.c
4382 src/nm-device-802-11-wireless.h
4384 - Use NM80211Mode not IW_MODE_*
4386 2008-04-15 Dan Williams <dcbw@redhat.com>
4388 Enhance nm-online based on a patch from Bill Nottingham.
4392 - Add help messages and option summary
4393 - Add long-format options
4394 - Add a '-x' option to exit if NM isn't running or isn't connecting
4396 2008-04-15 Tambet Ingo <tambet@gmail.com>
4398 * libnm-util/nm-setting.c (nm_setting_duplicate): Implement.
4400 * libnm-util/nm-connection.c (nm_connection_remove_setting): Implement.
4402 2008-04-15 Dan Williams <dcbw@redhat.com>
4404 * nm-setting-ip4-config.c
4405 - (ip4_addresses_from_gvalue): handle NULL address array
4407 * nm-setting-8021x.c
4408 - (verify_tls, verify_ttls): warn on failed verification
4410 2008-04-10 Dan Williams <dcbw@redhat.com>
4412 * src/nm-gsm-device.c
4413 - (automatic_registration): accept "+CREG: 0,0"
4414 - (automatic_registration_response): fail on "+CREG: 0,0"
4416 2008-04-10 Tambet Ingo <tambet@gmail.com>
4418 * libnm-util/nm-setting-wired.c (get_property): Fix a typo.
4420 2008-04-10 Tambet Ingo <tambet@gmail.com>
4422 * system-settings/plugins/ifcfg-suse/parser.c (make_wireless_security_setting):
4423 Make it compile again by commenting out broken code that at first didn't work and
4424 now didn't compile either.
4426 2008-04-08 Dan Williams <dcbw@redhat.com>
4428 * libnm-glib/nm-object-cache.c
4429 libnm-glib/nm-settings.c
4430 src/dhcp-manager/nm-dhcp-manager.c
4431 system-settings/plugins/ifcfg-fedora/plugin.c
4432 system-settings/plugins/ifcfg-suse/plugin.c
4433 system-settings/src/nm-system-config-hal-manager.c
4434 libnm-util/nm-utils.c
4435 - Remove usage of GStaticMutex since gcc-4.3 hates it and because we're
4436 not threadsafe anyway
4438 2008-04-08 Dan Williams <dcbw@redhat.com>
4440 * system-settings/src/main.c
4441 - (load_stuff, device_added_cb, device_removed_cb): device added/removed
4442 callbacks take a device type too
4444 2008-04-08 Dan Williams <dcbw@redhat.com>
4446 The system settings service will now create a new default DHCP connection
4447 for wired devices that have no existing applicable connection.
4449 * system-settings/src/nm-system-config-hal-manager.c
4450 system-settings/src/nm-system-config-hal-manager.h
4451 - (nm_system_config_hal_manager_get_type_for_udi): new function
4453 * system-settings/src/dbus-settings.c
4454 system-settings/src/dbus-settings.h
4455 - (nm_sysconfig_settings_get_connections): new function
4456 - (nm_sysconfig_settings_is_device_managed): new function
4458 * system-settings/src/main.c
4459 - (load_stuff): check for wired devices that need a default connection
4460 - (get_details_for_udi): get interface and MAC address from HAL
4461 - (add_default_dhcp_connection): add a default connection for a wired
4463 - (device_added_cb, device_removed_cb): do the right thing with
4464 wired devices and their default connections on HAL device events
4466 2008-04-07 Dan Williams <dcbw@redhat.com>
4468 * libnm-glib/nm-device.c
4469 libnm-glib/nm-device.h
4470 - Proxy the 'managed' property
4472 2008-04-07 Dan Williams <dcbw@redhat.com>
4474 * src/nm-gsm-device.c
4475 src/nm-cdma-device.c
4476 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
4477 handler to transition to DISCONNECTED
4479 2008-04-07 Dan Williams <dcbw@redhat.com>
4481 Patch from Bill Nottingham
4483 * dispatcher-daemon/NetworkManagerDispatcher.c
4484 - ignore backup/packaging crufy (rh #440143)
4486 2008-04-07 Dan Williams <dcbw@redhat.com>
4488 * include/NetworkManager.h
4489 - Remove the DOWN and CANCELLED device states
4490 - Add UNMANAGED and UNAVAILABLE device states
4491 - Document the device states
4493 * introspection/nm-device.xml
4494 src/nm-device-interface.c
4495 src/nm-device-interface.h
4496 - Add the 'managed' property
4499 - (detail_device): print out device state
4501 * src/NetworkManagerSystem.h
4502 src/backends/NetworkManagerArch.c
4503 src/backends/NetworkManagerDebian.c
4504 src/backends/NetworkManagerFrugalware.c
4505 src/backends/NetworkManagerGentoo.c
4506 src/backends/NetworkManagerMandriva.c
4507 src/backends/NetworkManagerPaldo.c
4508 src/backends/NetworkManagerRedHat.c
4509 src/backends/NetworkManagerSlackware.c
4510 src/backends/NetworkManagerSuSE.c
4511 - (nm_system_device_get_system_config, nm_system_device_get_disabled
4512 nm_system_device_free_system_config): remove; they were unused and
4513 their functionality should be re-implemented in each distro's
4514 system settings service plugin
4516 * src/nm-gsm-device.c
4518 src/nm-cdma-device.c
4519 src/nm-cdma-device.h
4520 - (*_new): take the 'managed' argument
4523 - (nm_device_set_address): remove, fold into nm_device_bring_up()
4524 - (nm_device_init): start in unmanaged state, not disconnected
4525 - (constructor): don't start device until the system settings service
4526 has had a chance to figure out if the device is managed or not
4527 - (nm_device_deactivate, nm_device_bring_up, nm_device_bring_down):
4528 don't set device state here, let callers handle that as appropriate
4529 - (nm_device_dispose): don't touch the device if it's not managed
4530 - (set_property, get_property, nm_device_class_init): implement the
4532 - (nm_device_state_changed): bring the device up if its now managed,
4533 and deactivate it if it used to be active
4534 - (nm_device_get_managed, nm_device_set_managed): do the right thing
4535 with the managed state
4537 * src/nm-hal-manager.c
4538 - (wired_device_creator, wireless_device_creator, modem_device_creator):
4539 take initial managed state and pass it along to device constructors
4540 - (create_device_and_add_to_list): get managed state and pass to
4543 * src/nm-device-802-11-wireless.c
4544 - (real_can_activate): fold in most of
4545 nm_device_802_11_wireless_can_activate()
4546 - (can_scan): can't scan in UNAVAILABLE or UNMANAGED
4547 - (link_timeout_cb): instead of deactivating, change device state and
4548 let the device state handler to it
4549 - (real_update_hw_address): clean up
4550 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
4551 handler to transition to DISCONNECTED if the device isn't rfkilled
4553 * src/nm-device-802-3-ethernet.c
4554 - (set_carrier): move above callers and get rid of prototype
4555 - (device_state_changed): when entering UNAVAILABLE state, schedule an
4556 idle handler to transition to DISCONNECTED if the device has a
4558 - (real_update_hw_address): clean up
4559 - (link_timeout_cb, ppp_state_changed): change state instead of calling
4560 deactivation directly as deactivation doesn't change state anymore
4562 * src/NetworkManagerPolicy.c
4563 - (schedule_activate_check): yay, remove wireless_enabled hack since
4564 the NMManager and wireless devices work that out themselves now
4565 - (device_state_changed): change to a switch and update for new device
4567 - (device_carrier_changed): remove; device handles this now through
4569 - (device_added): don't care about carrier any more; the initial
4570 activation check will happen when the device transitions to
4574 - (dispose): clear unmanaged devices
4575 - (handle_unmanaged_devices): update unmanaged device list and toggle
4576 the managed property on each device when needed
4577 - (system_settings_properties_changed_cb): handle signals from the
4578 system settings service
4579 - (system_settings_get_unmanaged_devices_cb): handle callback from
4580 getting the unmanaged device list method call
4581 - (query_unmanaged_devices): ask the system settings service for its
4582 list of unmanaged devices
4583 - (nm_manager_name_owner_changed, initial_get_connections): get unmanaged
4585 - (manager_set_wireless_enabled): push rfkill state down to wireless
4586 devices directly and let them handle the necessary state transitions
4587 - (manager_device_state_changed): update for new device states
4588 - (nm_manager_add_device): set initial rfkill state on wireless devices
4589 - (nm_manager_remove_device): don't touch the device if it's unmanaged
4590 - (nm_manager_activate_connection): return error if the device is
4592 - (nm_manager_sleep): handle new device states correctly; don't change
4593 the state of unavailable/unmanaged devices
4595 * libnm-glib/nm-device-802-11-wireless.c
4596 - (state_changed_cb): update for new device states
4598 2008-04-07 Dan Williams <dcbw@redhat.com>
4600 * marshallers/nm-marshal.list
4601 - Add VOID:STRING,UINT marshaller for system settings HAL manager
4603 2008-04-07 Dan Williams <dcbw@redhat.com>
4605 * system-settings/src/main.c
4606 - (unmanaged_devices_changed_cb, register_plugin): proxy changes from
4607 plugins to the dbus settings object
4608 - (load_stuff): start the dbus service after grabbing unmanaged devices
4609 - (dbus_reconnect, dbus_cleanup): make HAL manager aware of dbus events
4610 - (log_handler, logging_setup, logging_shutdown): log output to syslog
4611 - (main): switch default logging to syslog with a 'debug' option to
4612 output to console; start up the HAL manager
4614 2008-04-07 Dan Williams <dcbw@redhat.com>
4616 * introspection/nm-settings-system.xml
4617 introspection/Makefile.am
4618 - Define the unmanaged devices interface for the system settings service
4620 * system-settings/src/nm-system-config-hal-manager.c
4621 system-settings/src/nm-system-config-hal-manager.h
4622 system-settings/src/nm-system-config-hal-manager-private.h
4623 system-settings/src/Makefile.am
4624 - Add a lightweight HAL manager object for tracking network devices for
4625 the purpose of determining unmanaged devices and which devices need
4626 the default DHCP connections
4628 * system-settings/src/nm-system-config-interface.c
4629 system-settings/src/nm-system-config-interface.h
4630 - (nm_system_config_interface_init): add the HAL manager as an argument
4631 - (nm_system_config_interface_get_unmanaged_devices): implement
4632 - Define 'unmanaged-devices-changed' signal
4634 * system-settings/src/dbus-settings.c
4635 system-settings/src/dbus-settings.h
4636 - Implement the unmanaged devices interface; some cleanups
4638 * system-settings/plugins/ifcfg-suse/plugin.c
4639 - Fixup for plugin interface changes
4641 * system-settings/plugins/ifcfg-fedora/plugin.c
4642 - (get_ether_device_udi): new function; find the device that has
4643 a specified MAC address and return its UDI
4644 - (get_udi_for_connection): new function; try to find the specific
4645 device a connection is locked to, if any
4646 - (device_added_cb, device_removed_cb): update unmanaged device list in
4647 response to HAL events
4648 - (get_unmanaged_devices): new function; return unmanaged device list
4649 - (build_one_connection): set the connection's locked device, if any
4650 - (write_auto_wired_connection): remove
4651 - (kill_old_auto_wired_file): remove the ifcfg-Auto Wired file if found
4652 - (handle_connection_changed): alert listeners that the unmanaged device
4654 - (init): fixup for plugin interface changes, implement unmanaged devices
4656 * system-settings/plugins/ifcfg-fedora/parser.c
4657 system-settings/plugins/ifcfg-fedora/parser.h
4658 - (connection_data_free): clean up connection UDI
4660 2008-04-07 Dan Williams <dcbw@redhat.com>
4662 * system-settings/plugins/ifcfg-fedora/parser.c
4663 - (make_ip4_setting): fix parsing of DNS servers
4665 2008-04-05 Dan Williams <dcbw@redhat.com>
4669 marshallers/Makefile.am
4670 marshallers/nm-marshal-main.c
4671 marshallers/nm-marshal.list
4672 - Consolidate marshallers
4674 * libnm-glib/nm-marshal-main.c
4675 libnm-glib/nm-marshal.list
4676 src/marshallers/Makefile.am
4677 src/marshallers/nm-marshal-main.c
4678 src/marshallers/nm-marshal.list
4681 * libnm-glib/Makefile.am
4683 src/dhcp-manager/Makefile.am
4684 src/ppp-manager/Makefile.am
4685 src/supplicant-manager/Makefile.am
4686 src/vpn-manager/Makefile.am
4687 - Use consolidated marshallers
4689 2008-04-04 Dan Williams <dcbw@redhat.com>
4691 * src/nm-hal-manager.c
4692 src/nm-hal-manager.h
4693 - (hal_init): don't look for hardware here
4694 - (nm_hal_manager_start): new function; look for hardware here instead,
4695 which can be done at a later time than hal_init()
4697 * src/NetworkManager.c
4698 - (main): start HAL manager after entering the main loop
4700 2008-04-03 Dan Williams <dcbw@redhat.com>
4702 * libnm-glib/nm-settings.c
4703 libnm-glib/nm-settings.h
4704 - (nm_exported_connection_get_id): new function
4705 - (impl_exported_connection_get_id): use nm_exported_connection_get_id()
4707 2008-04-02 Dan Williams <dcbw@redhat.com>
4709 * src/nm-device-interface.c
4710 src/nm-device-interface.h
4713 - Rename check_connection_conflicts() to check_connection_compatible()
4715 * src/nm-device-802-11-wireless.c
4716 - (real_check_connection_conflicts): remove
4717 - (real_check_connection_compatible): implement; match MAC address
4719 * src/nm-device-802-3-ethernet.c
4720 - (real_check_connection_conflicts): remove
4721 - (real_check_connection_compatible): implement; match MAC address
4722 - (real_get_best_auto_connection): correctly handle PPPoE cases
4725 - (check_connection_allowed): remove; unused until PolicyKit integration
4726 - (internal_activate_device): check whether the connection is compatible
4727 with the device before trying to activate it
4729 2008-04-02 Dan Williams <dcbw@redhat.com>
4731 * system-settings/plugins/ifcfg-fedora/parser.c
4732 - (read_mac_address): new function; read in MAC address and stuff it
4734 - (add_one_wep_key): remove debug spew
4735 - (make_wireless_security_setting): validate the default TX key; don't
4736 add the wireless-security setting if the connection doesn't need
4737 security; don't leak the keys shvarFile on error cases
4738 - (make_wireless_setting, make_wired_setting): populate device's MAC
4741 2008-04-02 Dan Williams <dcbw@redhat.com>
4743 * libnm-util/nm-setting-connection.c
4744 libnm-util/nm-setting-connection.h
4745 - (set_property, get_property, nm_setting_connection_class_init): remove
4746 the 'lockdown' property; it's functionality will be replaced by
4749 2008-04-01 Dan Williams <dcbw@redhat.com>
4751 Patch from Per Øyvind Karlsen <peroyvind@mandriva.org>
4754 initscript/Makefile.am
4755 initscript/Mandriva/Makefile.am
4756 initscript/Mandriva/networkmanager.in
4757 initscript/Mandriva/networkmanagerdispatcher.in
4758 src/backends/Makefile.am
4759 src/backends/NetworkManagerMandriva.c
4760 system-settings/plugins/Makefile.am
4761 - Add Mandriva support
4763 2008-03-31 Dan Williams <dcbw@redhat.com>
4765 * src/vpn-manager/nm-vpn-service.c
4766 - (nm_vpn_service_daemon_exec): add an error argument so that spawn
4767 errors can be passed back to the caller; also no longer scheduled
4768 as an idle handler, but called directly; and bump up VPN service
4769 spawn timeout, 2s is really short
4770 - (nm_vpn_service_activate): don't schedule the VPN service activation,
4771 but call it directly so that errors are reported on return from
4772 ActivateConnection() and don't get lost. If scheduled as an idle
4773 handler, clients don't have the time to query NM for the new VPN
4774 connection's properties before the VPN connection is torn down again
4775 if the service couldn't be launched, and therefore launch errors
4778 2008-03-31 Dan Williams <dcbw@redhat.com>
4780 * src/vpn-manager/nm-vpn-connection.c
4781 - (device_state_changed): send correct state on device failure too
4782 - (plugin_state_changed): failed state means unexpected disconnection,
4783 thus if the service goes away while the VPN connection is activated
4784 that's a failure too
4786 2008-03-31 Dan Williams <dcbw@redhat.com>
4788 * src/vpn-manager/nm-vpn-manager.c
4789 src/vpn-manager/nm-vpn-manager.h
4790 - Make VPNManager errors more available; add a service-start-failed error
4792 2008-03-31 Dan Williams <dcbw@redhat.com>
4794 * libnm-glib/nm-client.c
4795 libnm-glib/nm-client.h
4796 - (activate_cb): pass the new active connection to callback; fix
4797 message when no callback is specified
4799 2008-03-30 Dan Williams <dcbw@redhat.com>
4801 * libnm-util/nm-setting-wireless-security.c
4802 - (need_secrets): only require key0 if the transmit key index is also
4804 - (verify): reject non-NULL but zero-length WEP keys; these are invalid
4806 2008-03-29 Dan Williams <dcbw@redhat.com>
4808 * libnm-util/nm-setting-8021x.c
4809 libnm-util/nm-setting-ip4-config.c
4810 libnm-util/nm-setting-vpn-properties.c
4811 libnm-util/nm-setting-vpn.c
4812 libnm-util/nm-setting-wireless-security.c
4813 libnm-util/nm-setting-wireless.c
4814 libnm-util/nm-utils.c
4815 src/dhcp-manager/nm-dhcp-manager.c
4816 src/nm-activation-request.c
4819 src/nm-properties-changed-signal.c
4820 src/ppp-manager/nm-pppd-plugin.c
4821 src/supplicant-manager/nm-supplicant-interface.c
4822 src/vpn-manager/nm-vpn-connection.c
4823 - consistently use nm-dbus-glib-types.h
4825 2008-03-29 Dan Williams <dcbw@redhat.com>
4827 * src/vpn-manager/nm-vpn-connection.c
4828 - (nm_vpn_connection_class_init): PROP_SPECIFIC_OBJECT should be boxed,
4831 * src/nm-activation-request.c
4832 - (nm_act_request_class_init): PROP_SPECIFIC_OBJECT should be boxed,
4835 2008-03-29 Dan Williams <dcbw@redhat.com>
4837 * libnm-glib/nm-device-802-11-wireless.c
4838 - (access_point_added_proxy): create new APs if not found
4840 2008-03-29 Dan Williams <dcbw@redhat.com>
4842 * libnm-glib/nm-client.c
4843 - (proxy_name_owner_changed): tell wireless devices about rfkill state
4846 2008-03-29 Dan Williams <dcbw@redhat.com>
4848 * system-settings/plugins/ifcfg-fedora/parser.c
4849 - Fix parsing of WEP keys; ifcfg files use indexes [1...4] rather than
4850 [0...3]; also handle KEY correctly in combination with DEFAULTKEY
4852 2008-03-29 Dan Williams <dcbw@redhat.com>
4854 * system-settings/plugins/ifcfg-fedora/parser.c
4855 - (get_one_wep_key, make_wireless_security_setting): handle "KEY" too
4857 2008-03-27 Dan Williams <dcbw@redhat.com>
4860 - (nm_object_queue_notify): don't notify multiple times for the same
4863 * nm-object-private.h
4864 - (handle_ptr_array_return): return NULL if the given array is NULL or
4865 if it has zero elements
4868 - (finalize): use g_ptr_array_foreach() when freeing domains
4869 - (nm_ip4_config_get_domains): use handle_ptr_array_return()
4871 * nm-active-connection.c
4872 - (nm_active_connection_get_devices): use handle_ptr_array_return()
4874 * nm-device-802-11-wireless.c
4875 nm-device-802-11-wireless.h
4876 - (nm_device_802_11_wireless_get_access_points): return const; use
4877 handle_ptr_array_return()
4880 - (nm_object_array_demarshal): always create an array, even of length
4881 zero, to distinguish between "NM returned no items" and "haven't
4885 - (dispose): free active connections too
4886 - (proxy_name_owner_changed): free active connections too when NM goes
4888 - (nm_client_get_devices): return const; use handle_ptr_array_return()
4889 - (nm_client_get_active_connections): use handle_ptr_array_return()
4891 2008-03-26 Dan Williams <dcbw@redhat.com>
4893 Rework VPN connection handling for a more consistent D-Bus API. The
4894 VPNManager object has been removed, and active VPN connections are now the
4895 same as any other active connection. The Manager object's ActivateConnection
4896 and DeactivateConnection methods are used to start and stop a VPN connection,
4897 and the VPNConnection objects are subclasses of the ActiveConnection objects.
4898 When activating a VPN connection, pass the path of the active connection
4899 to which the VPN connection is tied in the 'specific_object' argument.
4901 Consequently, the libnm-glib API has been reworked to match this arrangement,
4902 with the VPNManager object removed, and the NMVPNConnection objects now
4903 being subclasses of NMActiveConnection.
4905 2008-03-25 Dan Williams <dcbw@redhat.com>
4907 Patch from Björn Martensen <bjoern.martensen@gmail.com>
4909 * initscript/Arch/networkmanager.in
4910 initscript/Arch/networkmanager-dispatcher.in
4911 - Updates for Arch Linux (gnome.org #523701)
4913 2008-03-25 Dan Williams <dcbw@redhat.com>
4915 * libnm-glib/nm-ip4-config.c
4916 libnm-glib/nm-active-connection.c
4917 libnm-glib/nm-access-point.c
4918 - Use nm_object_queue_notify() instead of g_object_notify()
4920 * libnm-glib/nm-device.c
4921 - (demarshal_ip4_config): distinguish between successful but missing
4922 ip4-config request, and unsuccessful and missing ip4-config request
4923 - (nm_device_get_ip4_config): don't try to demarshal a NULL ip4-config
4925 - Use nm_object_queue_notify() instead of g_object_notify()
4927 * libnm-glib/nm-device-802-11-wireless.c
4928 - (demarshal_active_ap): distinguish between successfull but missing
4929 active-ap request, and unsuccessful and missing active-ap request
4930 - (dispose, clean_up_aps): consolidate AP list and active AP clearing
4932 - (nm_device_802_11_wireless_set_wireless_enabled): add a private hook
4933 for the NMClient to notify the device that wireless is disabled,
4934 and therefore to clear the AP list and active AP
4935 - Use nm_object_queue_notify() instead of g_object_notify()
4937 * libnm-glib/nm-client.c
4938 - (poke_wireless_devices_with_rf_status): new function
4939 - (update_wireless_status): notify wireless devices of the rfkill status
4940 so they can clean up if needed
4941 - Use nm_object_queue_notify() instead of g_object_notify()
4943 2008-03-25 Dan Williams <dcbw@redhat.com>
4945 * libnm-glib/nm-object.c
4946 libnm-glib/nm-object-private.h
4947 - (nm_object_queue_notify): add helper to batch & postpone GObject notify
4948 signals to an idle handler
4949 - (nm_object_get_property): add a timeout to the D-Bus method call
4951 2008-03-25 Dan Williams <dcbw@redhat.com>
4953 * introspection/nm-device-cdma.xml
4954 introspection/nm-device-gsm.xml
4955 introspection/Makefile.am
4956 introspection/all.xml
4957 - Add introspection for CDMA and GSM devices for PropertiesChanged signal
4959 * src/nm-gsm-device.h
4961 src/nm-cdma-device.h
4962 src/nm-cdma-device.c
4964 - Implement PropertiesChanged signals
4966 * libnm-glib/nm-cdma-device.c
4967 libnm-glib/nm-cdma-device.c
4968 - Attach to PropertiesChanged signals
4970 2008-03-24 Dan Williams <dcbw@redhat.com>
4972 * libnm-glib/nm-client.c
4973 - (client_device_added_proxy): add new devices to the internal device
4974 list so they appear to clients
4976 2008-03-24 Dan Williams <dcbw@redhat.com>
4978 Massive fixup of libnm-glib to:
4979 a) have all objects (with the exception of VPN) cache their properties and
4980 update them asynchronously on PropertiesChanged signals from NM
4981 b) return internal const data for most attributes/properties instead of
4982 allocated values that the caller must free
4983 c) cache wrapped objects such that a given D-Bus path will always map to the
4984 same GObject returned by libnm-glib
4985 d) remove a few signals and move them to GObject property notifications
4986 e) match recent NM D-Bus API changes for activation/deactivation
4987 f) remove some private functions from libnm-glib headers
4989 2008-03-20 Dan Williams <dcbw@redhat.com>
4992 - (nm_manager_update_state, manager_device_state_changed,
4993 nm_manager_activate_device, connection_added_default_handler,
4994 impl_manager_activate_connection, impl_manager_deactivate_connection):
4995 queue PropertyChanged singals when the active connections change
4997 2008-03-20 Dan Williams <dcbw@redhat.com>
4999 * introspection/nm-manager.xml
5000 introspection/nm-manager-client.xml
5001 - (ActivateConnection): return the object path of the active connection
5003 - (GetActiveConnections): remove
5004 - (DeactivateConnection): new function; deactivate a currently active
5006 - Add an ActiveConnections property which returns an array of
5007 active connection object paths
5009 * introspection/nm-device.xml
5010 - (Deactivate): remove
5012 * introspection/all.xml
5013 - Add ActiveConnection introspection
5015 * introspection/nm-active-connection.xml
5016 - Add the ActiveConnection object
5018 * include/NetworkManager.h
5019 - Add the Connection.Active D-Bus interface
5021 * src/nm-device-interface.c
5022 - (impl_device_deactivate): remove
5024 * src/nm-activation-request.c
5025 src/nm-activation-request.c
5027 - Implement the Connection.Active D-Bus interface
5030 - (get_property, nm_manager_class_init): add ACTIVE_CONNECTIONS property
5031 - (nm_manager_activate_device): return the active connection path
5032 - (connection_added_default_handler, impl_manager_activate_connection):
5033 return the active connection to the caller
5034 - (add_one_connection_element, impl_manager_get_active_connections):
5036 - (impl_manager_deactivate_connection): new function; deactivate an
5039 * libnm-glib/nm-device.c
5040 libnm-glib/nm-device.h
5041 - Remove Deactivate() function
5043 2008-03-19 Dan Williams <dcbw@redhat.com>
5045 * introspection/nm-manager.xml
5046 introspection/nm-manager-client.xml
5047 - Rename the ActivateDevice method to ActivateConnection to better
5048 reflect it's usage; it's arguments get reordered a bit too
5049 - Convert GetActiveConnections method return from a struct to a dict
5051 * include/NetworkManager.h
5052 - Define the dict keys for return value of GetActiveConnections
5055 - impl_manager_activate_device -> impl_manager_activate_connection
5056 - (add_one_connection_element): return a populated hash table, not
5059 * libnm-glib/nm-client.c
5060 libnm-glib/nm-client.h
5061 - nm_client_activate_device -> nm_client_activate_connection
5062 - nm_client_free_active_connection_element -> nm_client_free_active_connections_element
5063 - (nm_client_get_active_connections): return a GSList of GHashTables,
5064 instead of the custom structures. Each element of the returned list
5065 must be freed with nm_client_free_active_connections_element()
5067 2008-03-18 Dan Williams <dcbw@redhat.com>
5069 * system-settings/plugins/ifcfg-fedora/parser.c
5070 system-settings/plugins/ifcfg-fedora/parser.h
5071 system-settings/plugins/ifcfg-fedora/plugin.c
5072 - Read settings from /etc/sysconfig/network-scripts/ instead of using
5073 profiles. DNS servers and searches must now be stored in the ifcfg
5076 2008-03-18 Tambet Ingo <tambet@gmail.com>
5078 * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Don't
5079 print out username and password, it's supposed to be a secret.
5081 * src/nm-device-802-3-ethernet.c (ppp_state_changed): Handle authentication
5082 request and set the device state accordingly.
5084 2008-03-18 Tambet Ingo <tambet@gmail.com>
5086 * src/nm-device-802-3-ethernet.c: Implement wired 802.1x authentication.
5088 * libnm-util/nm-setting-wireless-security.h: Fix a typo.
5090 2008-03-18 Dan Williams <dcbw@redhat.com>
5092 * src/vpn-manager/nm-vpn-connection.c
5093 - (get_secrets_cb): handle new GetSecrets return format
5095 2008-03-18 Dan Williams <dcbw@redhat.com>
5097 Adapt system settings service for split 802.1x.
5099 * system-settings/src/nm-system-config-interface.h
5100 - clarify return value of get_secrets()
5102 * system-settings/src/dbus-settings.c
5103 - (string_to_gvalue, destroy_gvalue, add_one_secret_to_hash): remove
5104 - (check_for_secrets): check if there actually secrets returned by a
5106 - (exported_connection_get_secrets): just return the plugin-returned
5107 hash of settings' secrets if it looks valid
5109 * system-settings/plugins/ifcfg-fedora/plugin.c
5110 - (get_secrets): add split secrets with correct format to reply hash
5112 * system-settings/plugins/ifcfg-fedora/parser.c
5113 system-settings/plugins/ifcfg-fedora/parser.h
5114 - (copy_one_cdata_secret, connection_data_copy_secrets,
5115 connection_data_free, connection_data_add): keep secrets for
5116 different settings in different hashes
5118 2008-03-17 Tambet Ingo <tambet@gmail.com>
5120 Clean up activating device deactivation.
5122 * src/nm-device.c (real_activation_cancel_handler): Remove. The same thing
5123 should be done whether the device activation gets cancelled or the device
5124 is just getting deactivated.
5125 (nm_device_activation_cancel): Remove.
5126 (nm_device_deactivate_quickly): Handle the case where device is activating.
5128 * src/nm-device-802-11-wireless.c (real_activation_cancel_handler): Remove.
5129 It does the exact same thing as real_deactivate_quickly().
5131 2008-03-17 Dan Williams <dcbw@redhat.com>
5133 Split the 802.1x bits out of the wireless-security setting so they are
5134 generalized enough for wired 802.1x to use too.
5136 * introspection/nm-exported-connection.xml
5137 - GetSecrets now returns 'a{sa{sv}}' (a hash of settings hashes) instead
5138 of just a hash of the secrets for one setting
5140 * libnm-util/nm-setting-wireless-security.c
5141 libnm-util/nm-setting-wireless-security.h
5142 - Remove 802.1x-specific stuff
5143 - Added leap-username and leap-password properties for old-school LEAP
5147 - (connection_secrets_updated_cb): take a list of updated settings names,
5150 * src/supplicant-manager/nm-supplicant-config.c
5151 src/supplicant-manager/nm-supplicant-config.h
5152 - (nm_supplicant_config_add_setting_wireless_security): remove 802.1x
5153 specific stuff; fix for updated LEAP bits; punt 802.1x stuff
5154 to nm_supplicant_config_add_setting_8021x()
5155 - (nm_supplicant_config_add_setting_8021x): add an 802-1x setting to
5156 the supplicant config
5158 * src/nm-device-802-11-wireless.c
5159 - (build_supplicant_config): pass in the 802.1x setting too, if any
5160 - (real_connection_secrets_updated): take a list of updated settings
5163 * src/nm-device-802-3-ethernet.c
5164 src/nm-cdma-device.c
5166 - (real_connection_secrets_updated_cb): take a list of updated settings
5169 * src/nm-activation-request.c
5170 src/nm-activation-request.h
5171 - (nm_act_request_class_init): the 'connection-secrets-updated' signal
5172 now passes a list of updated settings names, not just one
5173 - (update_one_setting): new function; handle one updated setting
5174 - (get_secrets_cb): handle multiple settings returned from the
5175 settings service; have to be careful of ordering here as there are
5176 some dependencies between settings (ex. wireless-security and 802.1x
5179 * src/marshallers/nm-marshal.list
5180 - new marshaller for connection-secrets-updated signal
5182 * libnm-util/nm-setting-8021x.c
5183 - Add back the 'pin' and 'psk' settings, for EAP-SIM and EAP-PSK auth
5185 - (verify): a valid 'eap' property is now required
5187 * libnm-util/nm-connection.c
5188 - (register_default_settings): add priorities to settings; there are
5189 some dependencies between settings, and during the need_secrets
5190 calls this priority needs to be respected. For example, only the
5191 wireless-security setting knows whether or not the connection is
5192 going to use 802.1x or now, so it must be asked for secrets before
5193 any existing 802.1x setting is
5194 - (nm_connection_lookup_setting_type): expose
5196 * libnm-util/nm-setting-wireless.c
5197 - (verify): should verify even if all_settings is NULL; otherwise won't
5198 catch the case where there is missing security
5200 * libnm-util/nm-setting-wireless-security.c
5201 - Remove everything to do with 802.1x
5202 - Add old-school LEAP specific properties for username and password
5203 - (need_secrets): rework LEAP secrets checking
5204 - (verify): rework for LEAP and 802.1x verification
5206 2008-03-17 Dan Williams <dcbw@redhat.com>
5208 * src/NetworkManagerPolicy.c
5209 - (auto_activate_device): always remove the current activation check
5210 from the pending activation list, otherwise when the policy gets
5211 destroyed on NM exit it will attempt to free the already freed
5214 2008-03-14 Tambet Ingo <tambet@gmail.com>
5216 * src/backends/NetworkManagerSlackware.c
5217 (nm_system_device_setup_static_ip4_config): Remove, it's unused.
5219 * src/backends/NetworkManagerSuSE.c: Add missing includes.
5221 2008-03-14 Dan Williams <dcbw@redhat.com>
5224 - (nm_device_interface_get_iface): g_object_get() will return an
5225 allocated value, so this function must not return const
5226 - (nm_device_interface_activate): free returned iface
5228 2008-03-14 Tambet Ingo <tambet@gmail.com>
5230 * libnm-util/Makefile.am: Add new files to build.
5232 * libnm-util/nm-connection.c: Register NMSetting8021x.
5234 * libnm-util/nm-setting-8021x.c
5235 * libnm-util/nm-setting-8021x.h: Implement.
5237 2008-03-14 Tambet Ingo <tambet@gmail.com>
5239 * libnm-util/Makefile.am: Add new files to build.
5241 * libnm-util/nm-connection.c: Register NMSetting8021x.
5243 * libnm-util/nm-setting-8021x.c
5244 * libnm-util/nm-setting-8021x.h: Implement.
5246 2008-03-14 Tambet Ingo <tambet@gmail.com>
5248 * src/NetworkManagerPolicy.c (auto_activate_device): Don't leak device and
5251 2008-03-14 Dan Williams <dcbw@redhat.com>
5253 * include/wireless-helper.h
5255 - One place for all the junk needed for #including wireless.h
5258 src/NetworkManagerAP.c
5261 libnm-util/nm-utils.c
5262 libnm-util/nm-setting-wireless.c
5263 libnm-glib/nm-device-802-11-wireless.c
5264 libnm-glib/nm-access-point.c
5265 libnm-glib/libnm-glib-test.c
5266 - include wireless-helper.h, not iwlib.h
5269 - Don't need libiw really, just need to check for wireless.h
5271 * src/kernel-types.h
5272 - Remove; used types moved into wpa.c
5274 * src/nm-device-802-11-wireless.c
5275 - (nm_device_802_11_wireless_update_signal_strength,
5276 real_get_generic_capabilities, nm_device_802_11_wireless_get_mode,
5277 nm_device_802_11_wireless_set_mode,
5278 nm_device_802_11_wireless_get_frequency,
5279 nm_device_802_11_wireless_get_ssid,
5280 nm_device_802_11_wireless_set_ssid,
5281 nm_device_802_11_wireless_get_bitrate,
5282 nm_device_802_11_wireless_get_bssid,
5283 nm_device_802_11_wireless_disable_encryption): use ioctl() directly
5284 instead of iwlib functions
5286 2008-03-14 Dan Williams <dcbw@redhat.com>
5288 * src/ppp-manager/nm-ppp-manager.c
5289 - (impl_ppp_manager_need_secrets): since it's asynchronous now, it
5290 should only take the DBusGMethodInvocation argument, not user/pass
5291 too. With dbus-glib, async functions only take 2 C arguments since
5292 the real dbus method arguments get passed back with
5293 dbus_g_method_return()
5295 2008-03-13 Tambet Ingo <tambet@gmail.com>
5297 * system-settings/plugins/ifcfg-suse/plugin.c (update_default_routes):
5298 Adapt the changes of NMSettingIP4Config.
5300 2008-03-13 Dan Williams <dcbw@redhat.com>
5302 * src/NetworkManagerUtils.c
5303 src/NetworkManagerUtils.h
5304 - (nm_ether_ntop): replacement for iw_ether_ntop()
5306 * src/NetworkManagerAP.c
5307 src/nm-device-802-11-wireless.c
5308 src/nm-device-802-3-ethernet.c
5309 - s/iw_ether_ntop/nm_ether_ntop/g
5311 2008-03-13 Dan Williams <dcbw@redhat.com>
5313 * src/NetworkManagerPolicy.c
5314 - (update_routing_and_dns): never set the default route through an
5315 IPv4LL addressed device
5317 2008-03-13 Dan Williams <dcbw@redhat.com>
5319 * NetworkManagerUtils.c
5320 NetworkManagerUtils.h
5321 - Remove NMSock stuff
5322 - Remove the completion stuff
5327 NetworkManagerSystem.c
5329 nm-device-802-11-wireless.c
5330 nm-device-802-3-ethernet.c
5331 - Remove NMSock and completion stuff
5332 - Remove nm_ioctl_info()
5334 2008-03-12 Dan Williams <dcbw@redhat.com>
5337 - (merge_ip4_config): avoid duplicates
5339 2008-03-12 Dan Williams <dcbw@redhat.com>
5341 * libnm-util/nm-setting-ip4-config.c
5342 libnm-util/nm-setting-ip4-config.h
5343 - Remove 'manual' and 'autoip' properties
5344 - Add 'method' property
5345 - (verify): fix verification with 'method'
5346 - (finalize): free 'method'
5347 - (set_property, get_property, nm_setting_ip4_config_class_init): fix
5351 - (real_act_stage3_ip_config_start): check IP4Config method
5352 - (nm_device_new_ip4_autoip_config): add a note about not sucking in
5354 - (merge_ip4_config): IP settings are valid with DHCP too
5355 - (real_act_stage4_get_ip4_config): handle all IP4Config methods
5356 - (real_act_stage4_ip_config_timeout): don't do autoip on DHCP timeout
5358 * src/nm-device-802-11-wireless.c
5359 - (real_act_stage3_ip_config_start): remove; autoip only on demand
5360 - (real_act_stage4_get_ip4_config): just chain up to parent; autoip
5363 * system-settings/plugins/ifcfg-fedora/parser.c
5364 system-settings/plugins/ifcfg-suse/parser.c
5365 - (make_ip4_setting): fix up for 'method'
5367 2008-03-12 Dan Williams <dcbw@redhat.com>
5369 * system-settings/plugins/ifcfg-fedora/parser.c
5370 system-settings/plugins/ifcfg-fedora/parser.h
5371 - (get_ifcfg_name): ignore more file suffixes
5372 - (is_wireless_device): fix check for ifcfgs that have no TYPE
5374 2008-03-12 Dan Williams <dcbw@redhat.com>
5377 - Bring in the bits of gnome-common we actually use (all 15 lines)
5379 2008-03-12 Dan Williams <dcbw@redhat.com>
5381 * system-settings/plugins/ifcfg-fedora/plugin.c
5382 - (write_auto_wired_connection): new function; write out an auto
5383 wired connection file since the applet isn't doing it any more
5384 - (reload_all_connections): write out the auto wired connection file
5385 if there aren't any wired connections already
5386 - (init): don't leak a GError
5388 2008-03-12 Dan Williams <dcbw@redhat.com>
5390 * src/nm-device-interface.c
5391 - (nm_device_interface_activate): print the ID of the connection
5392 that's about to be activated
5394 2008-03-12 Dan Williams <dcbw@redhat.com>
5396 Harmonize the 802.11 bitrate API
5398 * introspection/nm-access-point.xml
5399 - 'Rate' -> 'MaxBitrate'; clarify units
5401 * introspection/nm-device-802-11-wireless.xml
5402 - Clarify units of 'Bitrate'
5404 * src/NetworkManagerAP.c
5405 src/NetworkManagerAP.h
5406 - (set_property, get_property, nm_ap_class_init): rename 'rate'
5407 property to 'max-bitrate'
5408 - (foreach_property_cb): convert rate to Kb/s
5410 * src/nm-device-802-11-wireless.c
5411 - (nm_device_802_11_wireless_get_bitrate): return rate in Kb/s
5413 * libnm-glib/nm-access-point.c
5414 libnm-glib/nm-access-point.h
5415 - 'rate' -> 'max-bitrate'
5418 libnm-glib/libnm-glib-test.c
5419 - Fix up for these changes
5421 2008-03-12 Dan Williams <dcbw@redhat.com>
5424 - (nm_device_set_ip4_config): don't send property notifications when
5425 the ip4 config is set to NULL; it causes a PropertyChanged signal
5426 which dbus-glib can't parse because the value is NULL, which isn't
5427 a legal object path. Setting the IP4 config to NULL is only
5428 valid when deactivating a device anyway, so the device state change
5429 will alert listeners that the ip4 config is invalid.
5431 2008-03-12 Dan Williams <dcbw@redhat.com>
5433 * src/nm-properties-changed-signal.c
5434 - (add_to_string): better handling of NULL objects
5436 2008-03-12 Dan Williams <dcbw@redhat.com>
5438 Move the 'carrier' property from NMDevice to NMDevice8023Ethernet;
5439 convert the libnm-glib NMDevice8023Ethernet to cached properties
5441 * introspection/nm-device-802-3-ethernet.xml
5442 - New 'Carrier' property
5443 - New 'PropertiesChanged' signal
5445 * introspection/nm-device.xml
5446 - Remove 'Carrier' property
5447 - Remove 'CarrierChanged' signal
5449 * src/nm-device-interface.c
5450 src/nm-device-interface.h
5451 - (nm_device_interface_init): remove 'carrier' property and
5452 'carrier-changed' signal
5456 - (nm_device_get_carrier, nm_device_set_carrier): remove
5457 - (nm_device_activate_stage5_ip_config_commit): don't bother updating
5458 the link here; wired device will handle that
5459 - (handle_dhcp_lease_change): don't bother updating link here
5460 - (get_property, nm_device_class_init): remove carrier property
5462 * src/nm-device-802-11-wireless.c
5463 - (real_update_link, nm_device_802_11_wireless_class_init): remove
5464 real_update_link(); wireless devices don't use carrier at all
5465 - (link_timeout_cb, supplicant_iface_state_cb_handler,
5466 supplicant_iface_connection_state_cb_handler,
5467 supplicant_mgr_state_cb_handler): remove anything to do with carrier
5469 * src/nm-device-802-3-ethernet.c
5470 src/nm-device-802-3-ethernet.h
5471 - (nm_device_802_3_ethernet_carrier_on,
5472 nm_device_802_3_ethernet_carrier_off, constructor): use set_carrier()
5473 instead of nm_device_set_carrier()
5474 - (device_state_changed): update link from sysfs on activation;
5475 replaces real_update_link()
5476 - (real_update_link): remove, replaced by device_state_changed()
5477 - (nm_device_802_3_ethernet_get_carrier, set_carrier): new functions
5478 - (nm_device_802_3_ethernet_get_speed): move up with other getters/setters
5479 - (real_get_generic_capabilities, real_can_interrupt_activation): use
5480 new get_carrier function
5481 - (get_property): add 'carrier' property
5482 - (nm_device_802_3_ethernet_class_init): add 'carrier' property and
5483 hook into property-changed signal helper
5485 * src/NetworkManagerPolicy.c
5486 - (device_carrier_changed): will only ever be called with a wired device
5487 - (device_added): only hook up to carrier-changed for wired devices
5489 * libnm-glib/nm-device.c
5490 libnm-glib/nm-device.h
5491 - (constructor, nm_device_class_init): remove carrier-changed signal
5492 - (device_carrier_changed_proxy): remove; unused
5493 - (nm_device_get_carrier): remove; carrier a property of wired devices
5495 * libnm-glib/nm-device-802-3-ethernet.c
5496 libnm-glib/nm-device-802-3-ethernet.h
5497 - Convert to cached properties like AP and Wireless objects
5498 - (nm_device_802_3_ethernet_get_hw_address): now returns a 'const char *'
5499 instead of a 'char *', return value should not be freed
5500 - (nm_device_802_3_ethernet_get_carrier): return current carrier status
5501 - (constructor): hook into properties-changed helper
5502 - (set_property, get_property): new functions
5503 - (nm_device_802_3_ethernet_class_init): export GObject properties
5506 - (detail_device): strdup the wired hardware address too since it's
5509 * libnm-glib/libnm-glib-test.c
5510 - (dump_wired): strdup the wired hardware address too since it's
5513 2008-03-12 Dan Williams <dcbw@redhat.com>
5515 * libnm-util/nm-setting-ip4-config.c
5516 libnm-util/nm-setting-ip4-config.h
5517 - (set_property, get_property, nm_setting_ip4_config_class_init): add
5518 the 'autoip' property from the spec
5520 2008-03-11 Dan Williams <dcbw@redhat.com>
5522 * src/backends/NetworkManagerGeneric.c
5523 src/backends/NetworkManagerGeneric.h
5524 - (nm_generic_device_get_use_dhcp): remove
5526 2008-03-11 Dan Williams <dcbw@redhat.com>
5529 - (nm_device_deactivate): don't need to munge DNS here; that gets done
5530 already in nm_device_set_ip4_config()
5531 - (handle_dhcp_lease_change): fail the device if setting the IP4Config
5532 due to a DHCP rebind fails
5533 - (nm_device_set_ip4_config): send property notifications when the
5535 - (get_property): only report IP4Config property during valid states
5537 * src/NetworkManagerPolicy.c
5538 - (update_routing_and_dns): ignore devices that don't have an ip4
5539 config; add parameter 'force_update' to allow callers to specify
5540 that changes should be made even if the default device doesn't change
5541 - (device_ip4_config_changed): update DNS and routing when the device's
5542 IP4Config changes, like for DHCP updates
5543 - (device_added): listen for ip4-config property changes
5545 2008-03-11 Dan Williams <dcbw@redhat.com>
5547 Fix address handling as a result of DHCP rebind/renew/reboot.
5549 * src/NetworkManagerSystem.c
5550 - (check_one_address): delete an address if it doesn't match a given
5551 one for the same interface
5552 - (nm_system_device_set_from_ip4_config): don't flush the default route,
5553 be smarter about flushing addresses (only flush ones that don't
5554 match the one we're about to apply)
5556 * src/backends/NetworkManagerDebian.c
5557 src/backends/NetworkManagerSuSE.c
5558 src/backends/NetworkManagerArch.c
5559 src/backends/NetworkManagerSlackware.c
5560 src/backends/NetworkManagerRedHat.c
5561 src/backends/NetworkManagerPaldo.c
5562 src/backends/NetworkManagerFrugalware.c
5563 src/backends/NetworkManagerGentoo.c
5564 - (nm_system_delete_default_route): remove
5566 * src/backends/NetworkManagerGeneric.c
5567 src/backends/NetworkManagerGeneric.h
5568 - (nm_generic_enable_loopback): fix the loopback device label
5569 - (nm_generic_delete_default_route): remove; no longer used
5571 2008-03-11 Dan Williams <dcbw@redhat.com>
5573 * src/nm-device-interface.h
5574 - Delimit property name words with '-', otherwise g_object_notify()
5575 doesn't work the way we expect
5577 2008-03-11 Tambet Ingo <tambet@gmail.com>
5579 * src/nm-hal-manager.c (create_device_and_add_to_list): Don't ignore USB devices.
5581 2008-03-11 Dan Williams <dcbw@redhat.com>
5583 * src/NetworkManagerPolicy.c
5584 - (update_routing_and_dns): don't change anything if the default device
5585 hasn't changed; print something out when switching the default route
5588 2008-03-10 Tambet Ingo <tambet@gmail.com>
5592 * src/ppp-manager/nm-ppp-manager.c (create_pppd_cmd_line): Use PPPoE service
5593 setting. Use "nic-$eth".
5595 * src/NetworkManagerPolicy.c (auto_activate_device): Move the check of whether
5596 the device is activating here to fix a race condition.
5598 * src/ppp-manager/nm-pppd-plugin.c (get_credentials): Implement.
5600 * src/ppp-manager/nm-ppp-manager.c (impl_ppp_manager_need_secrets): Implement.
5601 (ppp_watch_cb): Emit a signal to notify pppd is not running anymore.
5602 (nm_ppp_manager_start): Take activation request instead of connection, we might
5603 need it for asking secrets.
5604 (nm_ppp_manager_update_secrets): Implement.
5606 * src/nm-serial-device.c (real_act_stage2_config): Send activation request to
5607 ppp manager start. It might be needed for asking secrets.
5609 * src/nm-device-802-3-ethernet.c (real_connection_secrets_updated): Implement.
5610 (ppp_state_changed): Handle pppd daemon disappearing.
5611 (pppoe_stage2_config): Send activation request to ppp manager start.
5613 * libnm-util/nm-setting-pppoe.c (nm_setting_pppoe_class_init): Fix a typo.
5615 * introspection/nm-ppp-manager.xml: Make NeedSecrets method async, return only
5616 username and password.
5618 2008-03-10 Dan Williams <dcbw@redhat.com>
5621 - (handle_dhcp_lease_change): apply an IP4 config to a device in
5622 response to a DHCP lease change
5623 - (dhcp_state_changed): handle DHCP lease changes while activated
5624 - (nm_device_set_ip4_config): remove a previously set named config
5625 when setting an ip4 config
5627 2008-03-10 Dan Williams <dcbw@redhat.com>
5629 * src/nm-serial-device.c
5630 - (nm_serial_device_send_command): report errno on error
5631 - (get_reply_got_data): limit the size of the overall buffer
5632 - (wait_for_reply_info_destroy): destroy result string
5633 - (wait_for_reply_got_data): append received data to an overall buffer
5634 until timeout, filled buffer, or error instead of keeping a per-call
5635 buffer. Some devices send data slowly enough that this function
5636 gets called multiple times for the same command stream.
5637 - (nm_serial_device_wait_for_reply): initialize overall buffer for
5638 wait_for_reply_got_data() here
5640 2008-03-10 Dan Williams <dcbw@redhat.com>
5642 * src/nm-cdma-device.c
5643 - (do_dial, init_modem): handle errors from
5644 nm_serial_device_send_command_string()
5646 * src/nm-gsm-device.c
5647 - (do_dial, manual_registration, automatic_registration_get_network,
5648 automatic_registration, enter_pin, check_pin, init_modem): handle
5649 errors from nm_serial_device_send_command_string()
5651 2008-03-10 Dan Williams <dcbw@redhat.com>
5653 Patch based on ideas suggested by Bas Zoetekouw <bas@debian.org>
5655 * src/named-manager/nm-named-manager.c
5656 - (compute_searches): prefer searches before domains
5657 - (compute_domain): new function
5658 - (rewrite_resolv_conf): write out the 'domain' and 'searches' options
5659 - (merge_one_ip4_config): if there are no searches in the source config,
5660 merge domains of the source config into the target config
5661 - (compute_nameservers): make formatting of resolv.conf a bit nicer
5663 2008-03-10 Dan Williams <dcbw@redhat.com>
5665 * src/nm-serial-device.c
5666 - (get_reply_got_data): clean up indentation, shrink serial buffer
5667 - (wait_for_reply_got_data): try to handle slower serial devices where
5668 the reply is broken up into multiple reads by concatenating replies
5669 together until either an error is received or the search string is
5672 2008-03-10 Dan Williams <dcbw@redhat.com>
5675 - (nm_device_bring_down): deactivate the device if it's activating too,
5676 not just if it's already activated. This makes sure that everything
5677 from an association attempt is cleaned up (like DHCP for example)
5679 2008-03-10 Dan Williams <dcbw@redhat.com>
5681 * src/nm-serial-device.c
5682 - (config_fd): report error from TCSETA
5683 - (nm_serial_device_open): fail when config_fd() fails
5685 2008-03-10 Dan Williams <dcbw@redhat.com>
5687 * src/nm-ip4-config.c
5688 - (nm_ip4_config_init): allocate searches list
5689 - (finalize): free searches list
5691 2008-03-09 Dan Williams <dcbw@redhat.com>
5693 Patch from Bas Zoetekouw <bas@debian.org>
5695 * src/dhcp-manager/nm-dhcp-manager.c
5696 - (nm_dhcp_manager_get_ip4_config): handle domain-search option too
5698 2008-03-09 Dan Williams <dcbw@redhat.com>
5700 Patch from Bas Zoetekouw <bas@debian.org>
5702 * src/nm-ip4-config.c
5704 - (nm_ip4_config_add_search, nm_ip4_config_get_search,
5705 nm_ip4_config_get_num_searches): add 'searches' as distinct from
5706 domains. 'searches' is the correct way to store multiple search
5707 domains, whereas 'domains' is really just supposed to store one
5708 domain. Some sites abuse the DHCP 'domain-name' option to push
5709 search domains to the client.
5710 - (nm_ip4_config_add_domain): group with related functions (my patch)
5712 2008-03-09 Dan Williams <dcbw@redhat.com>
5714 * src/dhcp-manager/nm-dhcp-manager.c
5715 - (dhclient_run): send interface-specific config files to dhclient
5717 2008-03-07 Dan Williams <dcbw@redhat.com>
5719 * system-settings/plugins/ifcfg-fedora/parser.c
5720 - (is_wireless_device): new function; test a device for wireless
5722 - (parser_parse_file): if the ifcfg file doesn't have a TYPE tag,
5723 test the device for wireless extensions to determine the type
5725 2008-03-07 Dan Williams <dcbw@redhat.com>
5727 Change manager's StateChange signal to StateChanged for consistency.
5729 * introspection/nm-manager.xml
5730 - Add 'StateChanged' signal
5731 - Move 'StateChange' down to the deprecated section
5733 * src/nm-hal-manager.c
5734 - (nm_hal_manager_new): connect to 'state-changed' instead
5736 * src/NetworkManagerPolicy.c
5737 - (nm_policy_new): connect to 'state-changed' instead
5741 - (nm_manager_update_state): emit both 'state-changed' and 'state-change'
5742 - (nm_manager_class_init): add 'state-changed' and not the deprecation
5745 * libnm-glib/nm-client.c
5746 libnm-glib/nm-client.h
5747 - (constructor, nm_client_class_init, client_state_changed_proxy):
5748 track and proxy 'state-changed' instead of 'state-change'
5750 2008-03-07 Dan Williams <dcbw@redhat.com>
5752 First pass of multiple active device support. Expect bugs.
5754 * src/nm-ip4-config.c
5756 - (nm_ip4_config_get_secondary, nm_ip4_config_set_secondary): remove;
5757 there are better ways to do this in the named manager
5761 - (nm_device_can_activate): return whether the device can activate a
5762 connection right now; taking into account things like carrier state
5764 - (nm_device_get_best_auto_connection): renamed from
5765 nm_device_get_best_connection
5766 - (real_act_stage4_get_ip4_config): MTU stuff is now handled in the
5767 device subclasses themselves, so that each device can override the
5768 MTU from it's NMSetting subclass if needed
5769 - (nm_device_set_ip4_config): set MTU when setting up routes and stuff
5770 in NetworkManagerSystem.c, not here
5772 * src/named-manager/nm-named-manager.c
5773 src/named-manager/nm-named-manager.h
5774 - (nm_named_manager_name_owner_changed,
5775 nm_named_manager_dbus_connection_changed): fix for changes to
5776 rewrite_resolv_conf()
5777 - (compute_nameservers): don't need the NMNamedManager at all, remove
5779 - (merge_one_ip4_config): new function; merge ip4 configs together
5780 - (rewrite_resolv_conf): write out resolv.conf from all the stored
5781 ip4 configs; the VPN config takes precedence, then the best
5782 device config, then the rest of the configs
5783 - (get_domain_for_config): take the NMNamedManager as an argument
5784 to check whether the config is the VPN config
5785 - (add_ip4_config_to_named): fixups for removal of the 'secondary'
5786 attribute from ip4 configs
5787 - (add_all_ip4_configs_to_named): add all the configs in priority order
5788 - (remove_ip4_config_from_named): fix for changes to
5789 get_domain_for_config()
5790 - (nm_named_manager_add_ip4_config): assign the config to the right slot
5791 based on its type; callers must pass in the type now
5792 - (get_last_default_domain): remove, unused
5793 - (nm_named_manager_remove_ip4_config): handle config slots correctly
5795 * src/nm-device-802-11-wireless.c
5796 - (real_can_activate): new function
5797 - (real_get_best_auto_connection): renamed from real_get_best_connection
5798 - (real_act_stage4_get_ip4_config): handle MTU override
5800 * src/nm-device-802-3-ethernet.c
5801 - (real_can_activate): new function
5802 - (real_get_best_auto_connection): renamed from real_get_best_connection
5803 - (real_act_stage4_get_ip4_config): new function; handle MTU override
5805 * src/vpn-manager/nm-vpn-connection.c
5806 - (nm_vpn_connection_ip4_config_get): don't need to set the 'secondary'
5807 attribute on the ip4 config
5809 * src/NetworkManagerPolicy.c
5810 - (nm_policy_auto_get_best_device): remove
5811 - (nm_policy_device_change_check): remove
5812 - (update_default_route): new function; set the default route via
5813 the specified device
5814 - (get_device_priority): new function; return the priority number of
5815 a device type WRT which one should have the default route. Order is
5816 (highest to lowest) wired, wireless, GSM, CDMA.
5817 - (update_routing_and_dns): new function; determine which device should
5818 have the default route, then update the routing table and DNS
5819 - (maybe_auto_activate_device): new function; if a device is now
5820 available for activation, find out what connection it would like to
5822 - (schedule_activate_check): new function; if a device can be activated
5823 now, schedule the activation. Each device may have only one
5824 pending activation at a given time.
5825 - (device_state_changed): if activation was canceled, try again,
5826 possibly with another connection; if the device was activated,
5827 update routing and DNS; if the device was deactivated, try again
5828 with another connection
5829 - (device_carrier_changed): if there is no carrier, deactivate the
5830 device; otherwise schedule an activation check for the device
5831 - (wireless_networks_changed): schedule an activation check for the
5833 - (device_added): keep track of the signal handler IDs so they can
5834 be removed when the device goes away
5835 - (device_removed): remove any signal handlers that might be attached
5836 to the device; update routing and DNS
5837 - (schedule_activate_all): new function
5838 - (connections_added, connection_added, connection_updated): when
5839 connections change, schedule all devices for an activation check
5840 - (connection_removed): when a device is deactivated because its
5841 connection was removed, schedule another activation check for it
5842 - (nm_policy_destroy): destroy pending activations and disconnect
5843 all device signal handlers
5846 - (nm_manager_activate_device): if the device was already actived,
5848 - (deactivate_old_device): remove
5849 - (connection_added_default_handler, impl_manager_activate_device):
5850 don't deactivate other devices when activating this one
5852 * src/backends/NetworkManagerGentoo.c
5853 src/backends/NetworkManagerFrugalware.c
5854 src/backends/NetworkManagerPaldo.c
5855 src/backends/NetworkManagerRedHat.c
5856 src/backends/NetworkManagerSlackware.c
5857 src/backends/NetworkManagerArch.c
5858 src/backends/NetworkManagerSuSE.c
5859 src/backends/NetworkManagerDebian.c
5860 - (nm_system_get_mtu): remove; MTU should be provided through the
5861 distro's system settings service plugin instead
5862 - (nm_system_device_add_default_route_via_device): remove
5863 - (nm_system_device_add_default_route_via_device_with_iface): remove
5864 - (nm_system_device_replace_default_route): new function; call
5865 generic implementation
5867 * src/backends/NetworkManagerGeneric.c
5868 src/backends/NetworkManagerGeneric.h
5869 - (nm_generic_device_add_default_route_via_device,
5870 nm_generic_device_add_default_route_via_device_with_iface): remove
5871 - (nm_generic_device_replace_default_route): replace the default route
5872 with the given route via some gateway
5874 * src/NetworkManagerSystem.c
5875 src/NetworkManagerSystem.h
5876 - (nm_system_device_set_from_ip4_config): let the policy handle updates
5877 to routing and DNS; but set the MTU here
5878 - (nm_system_vpn_device_set_from_ip4_config): set the route with the
5879 ip_iface of the active device; use the standard MTU setting function
5880 - (nm_system_set_mtu): remove
5881 - (nm_system_device_set_mtu): consolidate MTU setting code in one place
5883 2008-03-07 Tambet Ingo <tambet@gmail.com>
5885 Rework the interaction between ppp manager and pppd plugin. Register a well
5886 known DBUS service in manager and let the plugin call it's methods instead
5887 of listening plugin's signals.
5889 * src/ppp-manager/nm-pppd-plugin.c: Call ppp-manager dbus methods instead
5890 of emitting signals.
5892 * src/ppp-manager/nm-ppp-manager.c: Implement dbus service here.
5894 * src/ppp-manager/Makefile.am: Build nm-ppp-manager-glue.h.
5896 * src/nm-serial-device.c (real_act_stage2_config): Pass NMConnection to
5897 nm_ppp_manager_start().
5899 * introspection/nm-ppp-manager.xml: New file.
5901 * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_get_speed): Handle
5902 the case correctly where driver is trying to send -1 for the speed, which gets
5903 casted to u16 and thus is always > 0.
5905 2008-03-07 Dan Williams <dcbw@redhat.com>
5907 * src/nm-hal-manager.c
5908 - (nm_get_device_driver_name): use net.originating_device first, fall
5909 back to physical device. HAL has deprecated physical_device.
5911 * libnm-glib/nm-device.c
5912 - (get_product_and_vendor): use net.originating_device first, fall
5913 back to physical device. HAL has deprecated physical_device.
5914 - (nm_device_update_description): s/physical_device_udi/orig_dev_udi
5916 2008-03-07 Dan Williams <dcbw@redhat.com>
5919 - (nm_netlink_get_default_handle): mistakenly removed too much code in
5920 last commit; fix that
5921 - (get_link_cache): print error string
5923 2008-03-07 Dan Williams <dcbw@redhat.com>
5926 - (nm_netlink_get_default_handle): NMNetlinkMonitor now uses libnl,
5927 don't need this hack any more (Benoit Boissinot)
5929 2008-03-06 Dan Williams <dcbw@redhat.com>
5932 - Die gnome-common, die
5934 2008-03-04 Dan Williams <dcbw@redhat.com>
5936 Patch from Michael Biebl <biebl@debian.org>
5938 * NetworkManager.pc.in
5939 - doesn't actually depend on dbus-1
5941 * libnm-util/nm-utils.h
5942 - remove unused #include <dbus/dbus.h>
5944 * libnm-glib/libnm_glib.pc.in
5945 - depends on glib and dbus-glib
5947 2008-03-02 Dan Williams <dcbw@redhat.com>
5949 * src/NetworkManagerPolicy.c
5950 - s/device_state_changed_idle_id/update_state_id/
5952 2008-03-02 Dan Williams <dcbw@redhat.com>
5956 src/nm-device-802-11-wireless.c
5957 src/nm-device-802-3-ethernet.c
5958 src/NetworkManagerPolicy.c
5959 - s/link_active/carrier
5960 - nm_device_set_active_link() -> nm_device_set_carrier()
5961 - nm_device_has_active_link() -> nm_device_get_carrier()
5963 2008-03-02 Dan Williams <dcbw@redhat.com>
5965 * system-settings/plugins/ifcfg-fedora/parser.c
5966 - (make_wireless_setting): fail connection creation on missing SSID
5968 2008-02-29 Dan Williams <dcbw@redhat.com>
5970 * src/NetworkManagerPolicy.c
5971 - (nm_policy_device_change_check): ensure that a previously active
5972 device with a system connection has a link before denying a switch
5973 to a user connection
5975 2008-02-29 Dan Williams <dcbw@redhat.com>
5977 * src/nm-device-802-11-wireless.c
5978 - (link_timeout_cb): try again if scanning; deactivate the device when
5979 activated if the link dies
5980 - (supplicant_iface_connection_state_cb_handler): bump link timeout to
5983 2008-02-29 Dan Williams <dcbw@redhat.com>
5985 * src/nm-device-802-11-wireless.c
5986 src/nm-device-802-11-wireless.h
5987 - (nm_device_802_11_wireless_reset_scan_interval): remove, unused
5988 elsewhere; fold into the sole user in nm-device-802-11-wireless.c
5989 - (device_cleanup): reset the scan interval lower when the device
5991 - (can_scan): base decision mostly off device state, not supplicant
5992 interface state since the supplicant interface state isn't a
5993 great indicator of whether the device is active or not
5994 - (request_wireless_scan): clean up; schedule the next scan here
5995 - (schedule_scan): only back the scan interval off if a new scan
5996 actually gets scheduled; and make scan intervals tighter when the
5997 device is disconnected
5998 - (supplicant_iface_state_cb_handler): fold in the bits of
5999 nm_device_802_11_wireless_reset_scan_interval() by resetting scan
6001 - (activation_success_handler): reset scan interval to something
6004 2008-02-28 Saleem Abdulrasool <compnerd@compnerd.org>
6006 reviewed by: Steev <steev@steev.net>
6009 * src/backends/NetworkManagerGentoo.c:
6010 (nm_system_restart_mdns_responder):
6011 Howl is no longer a supported mDNS provider
6013 2008-02-28 Tambet Ingo <tambet@gmail.com>
6015 Get rid of a bunch of unused distro specific functions.
6017 2008-02-28 Tambet Ingo <tambet@gmail.com>
6019 Implement suse plugin for system settings daemon.
6021 * system-settings/plugins/ifcfg-suse/*: Implement.
6023 * system-settings/plugins/Makefile.am: Add ifcfg-suse to subdirs when targeting
6026 * configure.in: Check (without failing) for gio.
6027 Create ifcfg-suse plugin's Makefile.
6029 2008-02-20 Dan Williams <dcbw@redhat.com>
6031 * libnm-util/nm-connection.c
6032 libnm-util/nm-connection.h
6033 - (nm_connection_compare): accept compare flags and pass them to the
6034 setting compare function
6036 * libnm-util/nm-setting.c
6037 libnm-util/nm-setting.h
6038 - (nm_setting_compare): accept compare flags; ignore properties that are
6041 * libnm-util/nm-setting-connection.c
6042 libnm-util/nm-setting-wireless.c
6043 libnm-util/nm-setting-ppp.c
6044 libnm-util/nm-setting-wired.c
6045 - Mark some setting properties as ignorable when doing a fuzzy compare
6048 - (device_activation_precheck): use exact compare
6050 2008-02-20 Dan Williams <dcbw@redhat.com>
6052 * src/NetworkManagerPolicy.c
6053 - (nm_policy_device_change_check): get scope off the connection, not
6054 using the manager helper
6058 - (get_scope_for_proxy): rename from get_type_for_proxy()
6059 - (connection_get_settings_cb): set scope and path on connection, not
6060 using GObject data items
6061 - (get_connection_for_proxy): don't need to return path, since that
6062 can be gotten from the connection
6063 - (get_connection_for_proxy): get path off the connection, not from
6065 - (connection_removed_cb, connection_updated_cb): don't need to get
6066 path from get_connection_for_proxy(); get scope off the connection
6067 instead of using GObject data items
6068 - (connection_added_default_handler, add_one_connection_element): use
6069 nm_connection_get_path() not nm_manager_get_connection_dbus_path()
6070 - (nm_manager_get_connection_dbus_path): remove
6071 - (nm_manager_get_connection_scope): remove
6073 2008-02-20 Dan Williams <dcbw@redhat.com>
6075 * Global rename of NMConnectionSettings -> NMExportedConnection to cut down
6078 * Add 'path' and 'scope' properties to NMConnection since both NM and the
6079 applet were having to hack this in anyway. Remove the 'path' stuff from
6080 NMExportedConnection
6082 * Internally rename NMConnectionType -> NMConnectionScope
6084 * Provide default implementations of the 'get_id' and 'get_settings' methods
6085 of NMExportedConnection
6087 2008-02-15 Dan Williams <dcbw@redhat.com>
6089 * src/nm-device-802-11-wireless.c
6090 - (device_cleanup): release the AP list here too so that the AP list
6091 doesn't survive across suspend/resume and up/down. There is some
6092 room for optimization, for example blow the list away when the card
6093 brought back up, but only if the device has only been down for a
6096 2008-02-15 Dan Williams <dcbw@redhat.com>
6098 * src/nm-hal-manager.c
6099 - (modem_device_creator): recognize new HAL modem capabilities
6101 2008-02-12 Dan Williams <dcbw@redhat.com>
6103 * system-settings/plugins/ifcfg-fedora/plugin.c
6104 - (watch_path): handle IN_DELETE_SELF too
6105 - (handle_connection_changed): notify when removing a connection
6106 - (stuff_changed): don't warn on unknown inotify watches; handle the
6107 case of a file moving out of the profile directory
6109 2008-02-12 Dan Williams <dcbw@redhat.com>
6111 * system-settings/plugins/ifcfg-fedora/parser.c
6112 - (make_ip4_setting): bring IPv4 setting handling more up to spec
6114 2008-02-12 Dan Williams <dcbw@redhat.com>
6116 * libnm-util/nm-utils.c
6117 - (nm_utils_convert_uint_array_to_string): don't die on NULL array, it's
6118 just any empty array
6120 2008-02-12 Dan Williams <dcbw@redhat.com>
6122 * system-settings/src/nm-system-config-interface.c
6123 system-settings/src/nm-system-config-interface.h
6124 - (load_connections): get_connections() should now return an allocated
6125 GSList that the system settings service will free
6127 * system-settings/plugins/ifcfg-fedora/plugin.c
6128 system-settings/plugins/ifcfg-fedora/parser.h
6129 system-settings/plugins/ifcfg-fedora/parser.c
6130 - Fix up inotify issues; handle keys-* files, handle new files appearing
6131 in the profile directory, handle resolv.conf file changes
6133 2008-02-10 Dan Williams <dcbw@redhat.com>
6135 * src/nm-device-802-3-ethernet.c
6136 - (real_bring_up): save the supplicant interface state signal id
6137 - (real_bring_down): disconnect from the supplicant interface state
6140 2008-02-07 Dan Williams <dcbw@redhat.com>
6142 * initscript/RedHat/NetworkManager.in
6143 initscript/RedHat/NetworkManagerDispatcher.in
6144 - Add new-style LSB init headers
6146 2008-02-07 Dan Williams <dcbw@redhat.com>
6148 * system-settings/src/dbus-settings.c
6149 system-settings/src/dbus-settings.h
6150 - (add_one_secret_to_hash): copy secrets out of the plugin-returned hash
6152 - (connection_settings_get_secrets): consolidate error returns into
6153 one place; use the new get_secrets() plugin interface function to
6154 get secrets from the plugin itself rather than using GObject data
6157 * system-settings/src/main.c
6158 - (connection_added_cb, connection_removed_cb, free_plugin_connections,
6159 load_connections): keep a private list of the plugin-returned
6160 connections, don't use the plugin's GSList
6162 * system-settings/plugins/ifcfg-fedora/plugin.c
6163 - (watch_path): watch the path, not the filename (duh)
6164 - (reload_all_connections): use the direct hash/equal functions; the
6165 ones for int aren't appropriate here
6166 - (get_secrets, system_config_interface_init): implement the
6167 get_secrets() function
6168 - (build_one_connection, find_connection_by_path): ifcfg file path is
6169 now in the connection's ConnectionData instead of being a GObject
6171 - (handle_profile_item_changed): ifcfg file path is now in the
6172 connection's ConnectionData instead of being a GObject data property;
6173 be sure to copy secrets over from the new connection to the existing
6174 connection when updating the connection's settings
6175 - (init): sc_plugin_inotify_init() returns success/fail, not the inotify
6178 * system-settings/plugins/ifcfg-fedora/parser.c
6179 system-settings/plugins/ifcfg-fedora/parser.h
6180 - (connection_data_get, copy_one_cdata_secret, clear_one_cdata_secret,
6181 connection_data_copy_secrets, connection_data_free,
6182 connection_data_add): new functions; connection data manipulation
6183 - (make_wireless_security_setting): stuff secrets into the
6184 connection data, not as GObject data items; make sure to close
6186 - (wireless_connection_from_ifcfg, wired_connection_from_ifcfg): add
6187 connection data to the connection
6189 2008-02-07 Dan Williams <dcbw@redhat.com>
6191 * system-settings/src/nm-system-config-interface.c
6192 system-settings/src/nm-system-config-interface.h
6193 - Add a get_secrets() interface function to retrieve secrets for a
6194 specific setting of a specific connection. Document the interface
6197 2008-02-07 Dan Williams <dcbw@redhat.com>
6199 * src/nm-device-802-11-wireless.c
6200 - (handle_auth_or_fail): new function; consolidate device activation
6201 failure check after a certain number of failures getting secrets
6202 - (supplicant_connection_timeout_cb, real_act_stage2_config,
6203 real_act_stage4_ip_config_timeout): use handle_auth_or_fail() to fail
6204 the connection if secrets were requested more than a few times
6205 - (real_act_stage3_ip_config_start): don't clear the wireless secrets
6206 tries here; otherwise they are cleared before the IP configure
6207 timeout, which happens with open system WEP when key is wrong
6208 - (activation_success_handler): clear wireless secrets tries here too
6210 2008-02-07 Dan Williams <dcbw@redhat.com>
6212 * src/NetworkManagerPolicy.c
6213 - (connection_updated): clear invalid tag when connection gets updated
6214 to allow that connection to be tried again
6215 - (nm_policy_new): save signal ids so they can be disconnected when
6216 the policy is destroyed
6217 - (nm_policy_destroy): stop any in-progress state change idle handler,
6218 and disconnect all signals from the manager object so that none
6219 of the policy functions gets called after the policy is destroyed
6221 2008-02-06 Dan Williams <dcbw@redhat.com>
6224 - (finalize): remove devices a bit earlier; clean up system settings
6226 - (nm_manager_name_owner_changed): clean up system settings poke when
6227 the service appears, and try to restart it if it fails
6228 - (poke_system_settings_daemon_cb): try to get the system settings
6229 service started through D-Bus service activation
6230 - (initial_get_connections): start the system settings daemon if it's
6233 2008-02-05 Dan Williams <dcbw@redhat.com>
6235 * src/supplicant-manager/nm-supplicant-config.c
6236 - (nm_supplicant_config_add_setting_wireless): send scan_ssid=1 for
6237 broadcast networks too
6239 2008-02-04 Dan Williams <dcbw@redhat.com>
6241 * system-settings/plugins/ifcfg-fedora/parser.c
6242 - (make_wireless_security_setting): fix spelling; unencrypted networks
6243 need key_mgmt set too
6244 - (parser_parse_file): validate ifcfg file name and don't try to parse
6245 .bak files; ensure that an error is set whenever NULL gets returned
6247 2008-02-04 Dan Williams <dcbw@redhat.com>
6249 * system-settings/src/Makefile.am
6250 - Install D-Bus service activation file for the system settings
6253 * system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service
6254 - D-Bus service activation file for system settings service
6256 2008-02-04 Dan Williams <dcbw@redhat.com>
6258 * system-settings/src/main.c
6259 - (parse_config_file): parse a config file
6260 - (main): accept --config option and read plugins from config file
6262 2008-02-04 Dan Williams <dcbw@redhat.com>
6264 * system-settings/plugins/ifcfg-fedora/plugin.c
6265 - Change reported name to 'ifcfg-fedora'
6266 - Use IFCFG_PLUGIN_NAME
6268 * system-settings/plugins/ifcfg-fedora/plugin.c
6269 - Remove PLUGIN_NAME, use IFCFG_PLUGIN_NAME instead
6271 2008-02-04 Dan Williams <dcbw@redhat.com>
6273 * system-settings/plugins/ifcfg-fedora/parser.c
6274 - (get_ifcfg_name): new function; factor out ifcfg name finding code
6275 - (make_connection_setting): use get_ifcfg_name()
6276 - (make_wireless_security_setting): handle shadow key files
6277 - (get_one_wep_key): treat empty string as NULL
6279 2008-02-04 Dan Williams <dcbw@redhat.com>
6281 * src/supplicant-manager/nm-supplicant-manager.c
6282 - (poke_supplicant_cb): reschedule the poke as a timeout, don't let
6283 glib automatically reschedule
6284 - (nm_supplicant_manager_init): immediately try to start the supplicant
6285 - (nm_supplicant_manager_name_owner_changed): immediately try to restart
6288 2008-02-01 Dan Williams <dcbw@redhat.com>
6290 * src/NetworkManagerPolicy.c
6291 - (device_state_changed): schedule a change check when a device gets
6292 deactivated so something happens if you disconnect GSM/CDMA
6294 2008-01-31 Dan Williams <dcbw@redhat.com>
6296 * src/nm-device-802-11-wireless.h
6297 src/nm-device-802-11-wireless.c
6298 - (ap_list_get_ap_by_ssid, is_associated,
6299 nm_device_802_11_wireless_ap_list_get_ap_by_ssid,
6300 nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): remove
6301 - (nm_device_802_11_wireless_get_activation_ap): collapse
6302 nm_device_802_11_wireless_ap_list_get_ap_by_obj_path() into this
6305 2008-01-30 Dan Williams <dcbw@redhat.com>
6307 * system-settings/plugins/ifcfg
6308 * system-settings/plugins/ifcfg-fedora
6309 - Move the ifcfg plugin to ifcfg-fedora
6311 2008-01-24 Dan Williams <dcbw@redhat.com>
6313 * libnm-glib/nm-device-802-11-wireless.c
6314 - (get_access_point): move the "/" check here; check for invalid path
6316 - (nm_device_802_11_wireless_set_active_ap): leave the "/" check up
6317 to get_access_point()
6318 - (access_point_added_proxy, access_point_removed_proxy): don't try
6319 to send signals for non-existent access points
6321 2008-01-24 Dan Williams <dcbw@redhat.com>
6323 * libnm-glib/nm-device-802-11-wireless.c
6324 - (nm_device_802_11_wireless_set_active_ap): path of "/" means no AP
6326 2008-01-23 Dan Williams <dcbw@redhat.com>
6328 * libnm-glib/libnm_glib.c
6329 - (libnm_glib_init): make thread joinable
6330 - (libnm_glib_ctx_free): join thread on exit to clean up memory
6332 2008-01-23 Dan Williams <dcbw@redhat.com>
6334 * test/libnm_glib_test.c
6335 - (signal_handler, setup_signals): trap SIGINT and SIGTERM
6336 - (main): set up signal handlers; call libnm_glib_shutdown
6338 2008-01-21 Dan Williams <dcbw@redhat.com>
6340 * include/NetworkManager.h
6341 - Add CDMA mobile broadband card device type
6343 * src/nm-hal-manager.c
6344 - (modem_device_creator): handle both CDMA and GSM modems; the device
6345 must now be tagged with 'cdma' or 'gsm' capability
6347 * src/nm-cdma-device.c
6348 src/nm-cdma-device.h
6350 - Add the CDMA mobile broadband card device class
6352 * libnm-util/nm-connection.c
6353 - (register_default_settings): add NMSettingCdma
6355 * libnm-util/nm-setting-cdma.c
6356 libnm-util/nm-setting-cdma.h
6357 libnm-util/Makefile.am
6358 - Add the CDMA mobile broadband card setting class
6360 * libnm-glib/nm-cdma-device.c
6361 libnm-glib/nm-cdma-device.h
6362 libnm-glib/Makefile.am
6363 - Add the CDMA mobile broadband card GLib proxy class
6365 * libnm-glib/nm-client.c
6366 - (get_device): handle CDMA devices too
6368 2008-01-21 Dan Williams <dcbw@redhat.com>
6370 * src/ppp-manager/nm-ppp-manager.c
6371 - (ip4_config_get): set peer address too
6373 * src/ppp-manager/nm-pppd-plugin.c
6374 - (nm_ip_up): try harder to get the peer's address
6376 * src/NetworkManagerSystem.c
6377 - (nm_system_device_set_from_ip4_config): if the IP4Config has a peer
6378 address, use that too. Otherwise, some PPP connections won't work.
6380 2008-01-19 Dan Williams <dcbw@redhat.com>
6382 * src/NetworkManagerPolicy.c
6383 - (nm_policy_device_change_check): system connections override user
6384 connections; don't activate a user connection if there's a currently
6385 active system connection, and new, better system connections always
6386 interrupt user connections
6388 2008-01-19 Dan Williams <dcbw@redhat.com>
6391 - (nm_manager_get_connection_type): new function
6393 2008-01-19 Dan Williams <dcbw@redhat.com>
6395 * src/nm-device-802-11-wireless.c
6396 - (real_get_best_connection): collapse find_best_connection() into this
6399 2008-01-19 Dan Williams <dcbw@redhat.com>
6401 * src/nm-device-802-3-ethernet.c
6402 - (real_get_best_connection): collapse find_best_connection() into this
6405 2008-01-18 Dan Williams <dcbw@redhat.com>
6407 * src/nm-device-802-3-ethernet.c
6408 - (find_best_connection): check MAC address too
6409 - (real_get_best_connection): let autoconnect=True connections activate
6410 for devices that don't have carrier detection
6412 * src/nm-device-802-11-wireless.c
6413 - (find_best_connection): check MAC address too
6415 2008-01-18 Dan Williams <dcbw@redhat.com>
6417 * system-settings/plugins/ifcfg/parser.c
6418 - (make_connection_setting): interpret ON_BOOT=y as 'autoconnect=True'
6420 2008-01-17 Dan Williams <dcbw@redhat.com>
6422 * src/nm-device-802-3-ethernet.c
6423 - (nm_device_802_3_ethernet_carrier_on,
6424 nm_device_802_3_ethernet_carrier_off): ignore any spurious netlink
6425 carrier events that might come in for devices that don't support
6428 2008-01-17 Dan Williams <dcbw@redhat.com>
6430 * src/nm-device-interface.c
6431 - (nm_device_interface_check_connection_conflicts): need to actually
6432 get the interface, not cast to the object
6435 - (nm_device_check_connection_conflicts): need to get the device class,
6436 not cast the device to the device class
6438 2008-01-17 Dan Williams <dcbw@redhat.com>
6440 * src/nm-device-802-11-wireless.c
6441 - (real_check_connection_conflicts): ignore connections that aren't
6442 wireless connections
6444 2008-01-17 Dan Williams <dcbw@redhat.com>
6446 * src/NetworkManagerPolicy.c
6447 - (nm_policy_device_change_check): clear change check idle here
6448 - (device_change_check_done): remove
6449 - (schedule_change_check): simplify
6451 2008-01-17 Dan Williams <dcbw@redhat.com>
6454 - (check_connection_allowed): take an NMDeviceInterface instead of
6455 an NMDevice object as an argument
6456 - (nm_manager_activate_device): pass an NMDeviceInterface to
6457 check_connection_allowed()
6459 2008-01-13 Dan Williams <dcbw@redhat.com>
6461 * libnm-glib/nm-device-802-11-wireless.c
6462 - (nm_device_802_11_wireless_get_access_points): fix memory leak
6464 2008-01-12 Dan Williams <dcbw@redhat.com>
6466 * src/nm-device-802-11-wireless.c
6467 - (activation_success_handler): if a match was found in the scan list
6468 and that match is a hidden AP, update that AP's SSID
6470 2008-01-11 Dan Williams <dcbw@redhat.com>
6472 * src/NetworkManagerAP.c
6473 - (nm_ap_new_fake_from_connection): mark fake APs as fake
6475 * src/nm-device-802-11-wireless.c
6476 - (get_active_ap): do two passes over the scan list if the caller
6477 requests that hidden APs get matched too; during the second pass
6478 when matching hidden APs, ignore the SSID since hidden APs in the
6479 scan list don't have an SSID yet
6480 - (periodic_update): move some checks to
6481 nm_device_802_11_periodic_update() because not all callers need them
6482 - (nm_device_802_11_periodic_update): move some checks here from
6484 - (merge_scanned_ap): if the current AP is fake, then don't do strict
6485 matching on incoming scan results, because the fake AP's flags
6486 might be slightly different (yet still compatible) with the incoming
6487 scan result's flags and they might actually be the same AP; update
6488 the rate on merged APs too
6489 - (activation_success_handler): update the frequency of the fake AP
6490 on successful connection; match hidden APs too since if the
6491 current AP is fake, there might already be a scan result in the
6492 scan list for the desired AP, just without it's SSID filled in yet
6494 2008-01-10 Dan Williams <dcbw@redhat.com>
6496 * src/NetworkManagerAP.c
6497 - (foreach_property_cb): catch more hidden SSID formats
6499 2008-01-10 Dan Williams <dcbw@redhat.com>
6501 Fix gnome.org #464215. Requires the kernel patch titled
6502 "Introduce WEXT scan capabilities" but will handle the patch not being
6503 present, you'll just continue to have problems with hidden SSIDs when
6504 using mac80211-based drivers.
6506 * src/supplicant-manager/nm-supplicant-config.h
6507 src/supplicant-manager/nm-supplicant-config.c
6508 - (nm_supplicant_config_add_setting_wireless): new parameter to indicate
6509 whether the driver supports SSID scans or not. If it does, and if
6510 the AP is hidden, use ap_scan=1 instead of ap_scan=2
6512 * src/nm-device-802-11-wireless.c
6513 - (constructor): check whether or not the driver supports SSID scans
6514 - (build_supplicant_config): pass driver SSID scan capability when
6515 building the wireless bits of the supplicant config
6517 2008-01-09 Dan Williams <dcbw@redhat.com>
6521 - (device_activation_precheck, check_connection_complete): remove this
6522 virtual function; incomplete connections should be invalid by
6523 definition, complete-ness should be checked in the setting's
6526 * src/nm-serial-device.c
6528 - (real_check_connection_complete): remove
6530 * libnm-util/nm-setting-serial.c
6531 - (verify): new function; ensure there is a PPP setting too
6533 * libnm-util/nm-setting-gsm.c
6534 - (verify): ensure there is a serial setting too
6536 2008-01-06 Dan Williams <dcbw@redhat.com>
6538 * src/dhcp-manager/nm-dhcp-manager.c
6539 - (nm_dhcp_manager_get_ip4_config): handle DHCP-provided MTU
6542 2008-01-04 Dan Williams <dcbw@redhat.com>
6544 * src/named-manager/nm-named-manager.c
6545 - (rewrite_resolv_conf, add_ip4_config_to_named): use primary IP4Config's
6546 nameservers if the secondary config doesn't have any
6549 2008-01-02 Tambet Ingo <tambet@gmail.com>
6551 * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Mark the properties
6552 with G_PARAM_CONSTRUCT so that they get the default values.
6554 * src/nm-gsm-device.c: Add preliminary support for monitoring device. It only monitors
6555 the monitoring device and prints out the output for now. Or more precicely, doesn't
6556 do absolutely anything right now since the montoring device argument is never set.
6558 * src/nm-serial-device.c (serial_debug): Implement. It's very verbose and thus
6559 requires it's own knob to turn it on.
6560 (config_fd): Add NMSettingSerial to the arguments list.
6561 (nm_serial_device_open): Ditto.
6562 (get_reply_got_data): Ignore the terminators at the beginning of the output.
6563 (nm_serial_device_get_io_channel): Implement.
6565 * src/nm-manager.c: Add NMDBusManager to the private data of the NMManager. Asking
6566 a new reference every time (and forgetting to release it sometimes) is a pain and
6567 it's not like NMManager could work without dbus.
6568 (nm_manager_add_device): Register the added device on dbus here.
6570 * src/nm-hal-manager.c (modem_device_creator): Pass NULL for now for the monitoring
6573 * src/nm-device.c (constructor): Don't export the device here, instead export
6574 it when it's added to the NMManager's device list.
6576 2007-12-31 Dan Williams <dcbw@redhat.com>
6578 * src/nm-device-interface.c
6579 src/nm-device-interface.h
6580 - (nm_device_interface_check_connection_conflicts): new function
6584 - (nm_device_check_connection_conflicts): new function
6585 - (device_activation_precheck): don't require subclasses to implement
6586 check_connection_complete()
6587 - check_connection() -> check_connection_complete()
6589 * src/nm-device-802-11-wireless.c
6590 - (real_check_connection): remove; unused
6591 - (real_check_connection_conflicts): implement, handle lockdown for
6594 * src/nm-device-802-3-ethernet.c
6595 - (real_check_connection): remove; unused
6598 - (check_connection_allowed): new function
6599 - (nm_manager_activate_device): ensure the connection being requested
6600 is allowed to be activated
6602 * src/nm-serial-device.c
6604 - real_check_connection() -> real_check_connection_complete()
6606 2007-12-27 Dan Williams <dcbw@redhat.com>
6608 * src/nm-device-interface.c
6609 src/nm-device-interface.h
6610 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
6611 normalize and expand errors
6612 - (nm_device_interface_init): register errors so they can be marshalled
6614 - (nm_device_interface_activate): ensure that failure of activation
6619 - (device_activation_precheck): implementations of check_connection()
6620 now take a GError and must fill it in if the check fails. Return
6621 more descriptive error if the requested connection is already
6623 - (nm_device_activate): actually try to return descriptive errors on
6626 * src/nm-device-802-11-wireless.c
6627 src/nm-device-802-3-ethernet.c
6628 src/nm-serial-device.c
6630 - (real_check_connection): return more descriptive errors on failure
6632 * src/NetworkManagerPolicy.c
6633 - (nm_policy_device_change_check): print activation errors in the logs
6636 - (nm_manager_error_quark, nm_manager_error_get_type,
6637 nm_manager_class_init): new errors
6638 - (nm_manager_activate_device): handle errors
6639 - (nm_manager_error_new): removed
6640 - (wait_for_connection_expired, connection_added_default_handler,
6641 impl_manager_activate_device): better error handling
6643 2007-12-27 Dan Williams <dcbw@redhat.com>
6645 Fixes gnome.org #466954
6647 * src/supplicant-manager/nm-supplicant-settings-verify.c
6648 - Allow 'frequency' network property
6650 * src/supplicant-manager/nm-supplicant-config.c
6651 src/supplicant-manager/nm-supplicant-config.h
6652 - (nm_supplicant_config_add_setting_wireless): add 'adhoc_freq' argument
6653 for callers to specify the frequency an Ad-Hoc network should operate
6654 on. Some drivers require this to successfully create an Ad-Hoc
6657 * src/nm-device-802-11-wireless.c
6658 - (iw_freq_to_uint32): new function; convert a struct iw_freq into a
6659 guint32 value in MHz
6660 - (constructor, nm_device_802_11_wireless_get_frequency): use
6662 - (find_supported_frequency): new function; find a free supported
6663 frequency for a user-created Ad-Hoc network
6664 - (build_supplicant_config): if no frequency was specified for a user-
6665 created Ad-Hoc network, find a free one to use
6666 - (real_act_stage1_prepare): mark Ad-Hoc connections that don't have
6667 a specific object as user-created
6669 2007-12-27 Dan Williams <dcbw@redhat.com>
6671 * libnm-util/nm-utils.c
6672 libnm-util/nm-utils.h
6673 - (nm_utils_security_valid): add 'adhoc' argument and handle security
6676 2007-12-24 Dan Williams <dcbw@redhat.com>
6678 * libnm-util/nm-setting-wireless.c
6679 - (verify): add 802.11a channels 7, 8, 9, 11, 12, 16, 34, 165, 183, 184,
6680 185, 187, 188, 192, and 196
6682 2007-12-24 Dan Williams <dcbw@redhat.com>
6684 * src/nm-device-802-11-wireless.c
6685 - (nm_device_802_11_wireless_get_frequency): handle drivers that return
6686 a channel # instead of a frequency
6688 2007-12-24 Dan Williams <dcbw@redhat.com>
6690 * src/NetworkManagerAP.c
6691 src/NetworkManagerAP.h
6692 - (nm_ap_new_fake_from_connection): pass band to channel_to_freq()
6693 - (freq_to_channel): handle split band tables
6694 - (channel_to_freq): handle split band tables, take a band argument
6696 2007-12-24 Dan Williams <dcbw@redhat.com>
6698 * libnm-util/nm-setting-connection.h
6699 libnm-util/nm-setting-connection.c
6700 - Add 'lockdown' member
6702 2007-12-22 Dan Williams <dcbw@redhat.com>
6704 * libnm-util/nm-setting-wireless.c
6705 - (nm_setting_wireless_class_init): add missing 'rate' property
6708 2007-12-18 Dan Williams <dcbw@redhat.com>
6710 Base the NMNetlinkMonitor class on libnl instead of hand-rolled netlink.
6712 * src/nm-netlink-monitor.c
6713 src/nm-netlink-monitor.h
6714 - Remove handrolled netlink, use libnl instead
6716 * src/nm-device-802-3-ethernet.c
6717 - (constructor, nm_device_802_3_ethernet_carrier_off,
6718 nm_device_802_3_ethernet_carrier_on): use new names
6720 2007-12-17 Dan Williams <dcbw@redhat.com>
6723 - Bump requirement for libnl to 1.0-pre8 (which works with newer kernels
6724 and fixes memory leaks)
6727 - (nm_netlink_get_default_handle): handle new versions of libnl that
6728 automatically handle the netlink PID
6730 2007-12-17 Dan Williams <dcbw@redhat.com>
6732 Patch from Michael Biebl <biebl@debian.org>
6735 src/ppp-manager/Makefile.am
6736 - fix up install dir of pppd plugin
6737 - clean up configure.in a bit
6739 2007-12-12 Dan Williams <dcbw@redhat.com>
6741 * system-settings/src/nm-system-settings.conf
6742 - Allow non-root clients (like the applet) to read settings
6744 2007-12-10 Tambet Ingo <tambet@gmail.com>
6746 * Replace all occurences of 'UMTS' with 'GSM'.
6748 2007-12-07 Dan Williams <dcbw@redhat.com>
6750 * src/nm-serial-device.c
6751 - (real_is_up): serial devices are always "up"
6753 2007-12-07 Dan Williams <dcbw@redhat.com>
6756 src/NetworkManagerSystem.c
6757 - (new_nl_handle): ensure that the same netlink pid is never chosen
6758 twice (gnome.org #491047)
6759 - Make more robust against allocation-related failures should they occur
6761 2007-12-07 Dan Williams <dcbw@redhat.com>
6763 Noticed by Christian Persch <chpe@gnome.org>
6765 Always chain up to parent object in dispose and finalize handlers.
6768 2007-12-07 Dan Williams <dcbw@redhat.com>
6770 * src/nm-device-802-11-wireless.c
6771 - Wrap #include of linux/mii.h to fix redefined structures due to
6772 incorrect kernel headers (gnome.org #350061)
6774 2007-12-06 Tambet Ingo <tambet@gmail.com>
6776 * src/nm-umts-device.c (real_act_stage1_prepare): Flash the modem (drop DTR)
6777 before doing anything else.
6778 (init_modem): Move modem initialization here.
6780 * src/nm-serial-device.c (ppp_state_changed): React on pppd state changes.
6781 (nm_serial_device_flash): Implement.
6783 * src/ppp-manager/nm-ppp-manager.c (name_owner_changed): Fix the typoes: the state
6784 changes signal is "StateChanged" and not "Status".
6785 (ppp_exit_code, ppp_status_changed): Remove the debug output, it's working fine now.
6787 2007-12-06 Dan Williams <dcbw@redhat.com>
6789 * src/supplicant-manager/nm-supplicant-config.c
6790 - (nm_supplicant_config_add_setting_wireless_security): reorganize a bit
6791 to only send some options when they make sense; also send phase2
6792 option to the supplicant (possible fix for rh #399631)
6794 2007-12-06 Tambet Ingo <tambet@gmail.com>
6796 * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Change the
6797 arguments: This whole file shouldn't really know anything about NMDevices, it
6798 should deal only with device interfaces. Devices might have different ifaces for
6799 different stuff and this place shouldn't know anything about it.
6801 * src/NetworkManagerPolicy.c: Get rid of leftover global variable global_policy.
6802 (global_state_changed): Implement. In the current NM it's not really important,
6803 but will be required in the case of multiple active devices. (Or even better,
6804 if stuff like that gets moved out from NM).
6806 * src/vpn-manager/nm-vpn-connection.c (connection_state_changed): Don't call
6807 nm_system_device_set_from_ip4_config() directly, use nm_device_set_ip4_config()
6810 * src/nm-device.c: Add a ip_face protected member. It's used for 'multi-interface'
6811 devices like serial devices (ttyS0 and ppp0 for example).
6812 (nm_device_get_ip_iface): Implement. Default to the device iface if ip_iface is not
6814 (nm_device_set_ip_iface): Implement.
6815 (nm_device_activate_stage5_ip_config_commit): Move all the extra actions that happen
6816 after setting ip4_config from here ...
6817 (nm_device_set_ip4_config): ... to here. The reason behind it is that no other code
6818 than this function should call nm_system_device_set_from_ip4_config() because no
6819 other code has enough information on which arguments to use. So instead, other code
6820 could just set the new ip4 config using this function and everyone is happy.
6822 * src/nm-umts-device.c: Store the pending ids so that we can remove pending actions
6823 if we happen to get deactivated while something is pending.
6824 (automatic_registration): Handle the response that indicates pending network
6825 registration and wait until the pending registration is done.
6826 (real_deactivate_quickly): If there's a pending operation, cancel it.
6828 * src/nm-serial-device.c (ppp_ip4_config): Set the ip_iface when the iface is up ...
6829 (real_deactivate_quickly): ... and remove it when it's down.
6830 (nm_serial_device_get_reply): Return the timeout id so that the callers can remove
6832 (nm_serial_device_wait_for_reply): Ditto.
6834 2007-12-05 Tambet Ingo <tambet@gmail.com>
6836 * src/nm-umts-device.c (dial_done): Fix the typoes in warnings.
6837 (get_network_done): Remove newline, nm_info() does it already.
6838 (real_act_stage1_prepare): Turn the modem echo off.
6840 * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): In case of serial
6841 device, set the route to the device interface. This is a hack.
6843 * src/nm-serial-device.c (nm_serial_device_send_command_string): Only append carriage
6844 return, no need for a new-line.
6845 (ppp_ip4_config): Store the ip4 config to be set in the next stage.
6846 Change the device iface here (ugh).
6847 (real_act_stage4_get_ip4_config): Implement.
6848 (real_deactivate_quickly): Free the pending ip4 config if it's still pending.
6849 Restore the device iface.
6851 * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Do nothing if the active
6852 device is not wired or wireless (eg, automatically upped) device.
6854 * src/ppp-manager/nm-ppp-manager.c (ip4_config_get): Don't make the config secondary,
6856 (nm_ppp_manager_start): Don't let pppd to set the default route, we want to do it.
6858 * src/nm-hal-manager.c (get_creator): Make sure the device has required capability
6859 before calling it's is_device_fn().
6861 2007-12-05 Dan Williams <dcbw@redhat.com>
6863 * libnm-util/nm-utils.c
6864 - (nm_utils_register_value_transformations,
6865 nm_utils_convert_gvalue_hash_to_string): better debug output of
6866 GHashTables of GValues too
6868 2007-12-04 Dan Williams <dcbw@redhat.com>
6870 * initscript/RedHat/NetworkManager.in
6871 - No longer start named; it's D-Bus interface is going away
6873 2007-12-04 Dan Williams <dcbw@redhat.com>
6875 Patch from Michael Biebl <biebl@debian.org>
6877 * system-settings/plugins/ifcfg/Makefile.am
6878 system-settings/src/main.c
6879 system-settings/src/Makefile.am
6880 - Put system settings plugins in NM plugins dir
6882 * src/ppp-manager/Makefile.am
6883 src/ppp-manager/nm-ppp-manager.c
6884 - Move pppd plugin to NM plugins dir
6886 2007-12-04 Dan Williams <dcbw@redhat.com>
6888 * libnm-util/nm-setting-vpn-properties.h
6889 - Clarify usage of the 'data' member of the setting
6891 * libnm-util/nm-setting-vpn-properties.c
6892 - (nm_setting_vpn_properties_init): initialize the 'data' hash table
6893 - (set_property): just remove all the settings; don't recreate the has
6894 - (update_one_secret): don't need to create the hash table here since
6895 it should always be present
6897 2007-12-03 Tambet Ingo <tambet@gmail.com>
6899 Implement PIN and PUK requesting.
6901 * src/nm-umts-device.c (enter_pin_done): Request the secret again if it failed.
6902 (enter_pin): Handle PIN and PUK requests.
6903 (real_act_stage1_prepare): Clear the secret type.
6904 (real_connection_secrets_updated): Implement this class method to get
6905 notified when new secrets arrive.
6906 (nm_umts_device_class_init): Add private data back to the umts device class
6907 to store the required secret type.
6909 2007-12-01 Dan Williams <dcbw@redhat.com>
6911 * system-settings/plugins/ifcfg/parser.c
6912 - (parser_parse_file): don't try to verify NULL connections
6914 2007-12-01 Dan Williams <dcbw@redhat.com>
6916 * system-settings/src/main.c
6917 - (load_connections, add_connection_to_settings): actually export
6918 plugin-provided connections over D-Bus so NM can get them
6920 2007-12-01 Dan Williams <dcbw@redhat.com>
6922 * system-settings/plugins/ifcfg/parser.c
6923 system-settings/plugins/ifcfg/parser.h
6924 system-settings/plugins/ifcfg/plugin.c
6925 - Hook up more inotify bits (untested)
6927 2007-11-29 Dan Williams <dcbw@redhat.com>
6929 * system-settings/src/nm-system-config-interface.h
6930 system-settings/src/nm-system-config-interface.c
6931 - (nm_system_config_interface_init,
6932 nm_system_config_interface_get_connections): add
6934 * system-settings/src/main.c
6935 - (load_plugins, load_connections, main): use a GSList for plugins
6936 to ensure priority ordering
6938 * system-settings/plugins/ifcfg/parser.c
6939 - (ifcfg_error_quark): move to plugin.c, and rename
6941 * system-settings/plugins/ifcfg/plugin.h
6942 system-settings/plugins/ifcfg/plugin.c
6943 - (ifcfg_plugin_error_quark): move here from parser.c
6944 - rework connection loading and initialization
6945 - Add preliminary inotify support for network profile config file
6947 2007-11-28 Tambet Ingo <tambet@gmail.com>
6949 Merge the beginnings of the new GSM card support.
6951 * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Remove the
6952 ppp watch source before killing pppd - If this happens from g_object_unref()
6953 then the ppp manager is already destroyed by the time the watch callback runs.
6955 * src/nm-hal-manager.c: Add a device_type_name string to the device
6956 creators, so that we can print a nice human readable string when a
6959 * src/nm-umts-device.c (automatic_registration_get_network): Query
6960 for the activated network, not much is done with the result thought.
6962 * src/nm-serial-device.c (nm_serial_device_get_reply): Implement.
6963 (ppp_ip4_config): Change the device state to activated here for now.
6964 (real_check_connection): Make sure the connection includes ppp setting.
6966 * libnm-glib/nm-client.c (get_device): Handle umts devices.
6968 * libnm-glib/Makefile.am: Add the new files to build.
6970 * libnm-glib/nm-umts-device.c:
6971 * libnm-glib/nm-umts-device.h: Implement.
6973 2007-11-26 Tambet Ingo <tambet@gmail.com>
6975 * src/nm-umts-device.c (automatic_registration_get_network): For now, dial
6976 immediately, nm_serial_device_get_reply() isn't implemented correctly yet.
6978 * src/nm-serial-device.c (wait_for_reply_info_destroy): Don't try to remove
6979 the timeout source - this function is only called when the timeout source has
6981 (nm_serial_device_wait_for_reply): Allocate the duplicate responses array
6982 to be big enough to contain the terminating zero element as well.
6983 The timeout argument is meant to be in seconds now.
6984 (real_deactivate_quickly): Implement.
6986 * src/NetworkManager.conf: Allow root to own
6987 "org.freedesktop.NetworkManager.PPP", deny it for everybody else.
6989 * libnm-util/nm-setting-umts.c: Network type and band properties are ints,
6990 (not unsigned ints).
6992 * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Fix a
6993 small issue with parity bounds - capital letters have lower ascii codes
6994 than lower case letters.
6996 * libnm-util/nm-connection.c (register_default_settings): Register serial
6999 2007-11-22 Tambet Ingo <tambet@gmail.com>
7001 Remove the "index" property from devices as not all device types have this.
7003 * include/NetworkManager.h (NM_DBUS_PATH_DEVICE): Remove.
7005 * src/nm-hal-manager.c (nm_get_device_index_from_hal): Remove.
7006 (wired_device_creator): Get the device interface from hal to create the device.
7007 (wireless_device_creator): Ditto.
7009 * src/nm-device.c (nm_device_init): Remove the index member.
7010 (constructor): Remove the checks for index property, make interface property
7011 a require constructor property.
7012 Use the HAL udi for DBus path for devices.
7013 (nm_device_get_index): Remove.
7014 (set_property): Remove index handling.
7015 (get_property): Ditto.
7016 (nm_device_get_dbus_path): Remove.
7018 * src/nm-device-interface.c (nm_device_interface_init): Remove the index
7021 * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_link_activated):
7022 Access the device index through it's interface.
7023 (nm_device_802_3_ethernet_link_deactivated): Ditto.
7024 (nm_device_802_3_ethernet_new): Remove the useless argument test_dev. Remove
7025 index argument. Add interface argument.
7027 * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new): Remove
7028 the useless test_dev argument. Remove index argument. Add interface arugment.
7030 * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Get the
7031 device index through interface.
7032 (nm_system_set_mtu): Ditto.
7034 * introspection/nm-device.xml: Remove the "Index" property.
7036 2007-11-21 Tambet Ingo <tambet@gmail.com>
7038 * src/nm-serial-device.c:
7039 * src/nm-serial-device.c:
7040 * src/nm-umts-device.c:
7041 * src/nm-umts-device.h: Implement.
7043 * src/nm-hal-manager.c (nm_get_device_driver_name): libhal_free_string the string
7044 allocated by libhal.
7045 (modem_device_creator): Implement.
7046 (register_built_in_creators): Register the modem creator.
7048 * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new):
7049 Remove the unused test_dev argument.
7051 * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_new): Ditto.
7053 * src/Makefile.am: Add new files to build.
7054 Link in ppp-manager.
7056 * libnm-util/nm-setting-umts.c:
7057 * libnm-util/nm-setting-umts.h:
7058 * libnm-util/nm-setting-serial.c:
7059 * libnm-util/nm-setting-serial.h: Implement.
7061 * libnm-util/Makefile.am: Add new files to build.
7063 2007-11-28 Dan Williams <dcbw@redhat.com>
7065 Patch from Zdeněk Jurka <zdenek.jurka@jware.cz>
7067 Support DHCP-provided static routes.
7069 * src/nm-ip4-config.h
7071 - Add get/set functions for static routes
7073 * src/dhcp-manager/nm-dhcp-manager.c
7074 - (nm_dhcp_manager_get_ip4_config): extract static routes from the
7077 * src/NetworkManagerSystem.c
7078 - (nm_system_device_set_from_ip4_config): set any static routes on the
7079 interface when applying the IP4Config
7081 2007-11-28 Dan Williams <dcbw@redhat.com>
7083 * src/nm-device-802-11-wireless.c
7084 - (real_act_stage1_prepare): mark APs created for hidden networks
7087 2007-11-27 Dan Williams <dcbw@redhat.com>
7089 * system-settings/src/nm-system-config-interface.h
7090 - Note how to store secrets on NMSetting objects
7092 * system-settings/src/dbus-settings.c
7093 - (connection_settings_get_secrets): implement
7095 2007-11-27 Dan Williams <dcbw@redhat.com>
7097 * system-settings/plugins/ifcfg/Makefile.am
7098 system-settings/plugins/ifcfg/parser.c
7099 system-settings/plugins/ifcfg/parser.h
7100 system-settings/plugins/ifcfg/plugin.c
7101 - Parse wireless connections too
7103 * system-settings/src/dbus-settings.c
7104 system-settings/src/dbus-settings.h
7105 system-settings/src/main.c
7106 - Handle connection update/removal if the plugin supports it
7108 2007-11-27 Dan Williams <dcbw@redhat.com>
7110 * src/nm-dbus-manager.h
7111 src/nm-hal-manager.c
7112 - Include the correct headers now that NetworkManagerDbusUtils.h doesn't
7116 src/NetworkManagerDbusUtils.c
7117 src/NetworkManagerDbusUtils.h
7118 - Remove these two source files; they are unused
7120 2007-11-27 Dan Williams <dcbw@redhat.com>
7122 * src/vpn-manager/nm-vpn-manager.c
7123 - (impl_vpn_manager_connect): fix system settings check (found by
7126 2007-11-26 Dan Williams <dcbw@redhat.com>
7128 * Fix warnings so everything compiles with --enable-more-warnings
7130 2007-11-25 Dan Williams <dcbw@redhat.com>
7133 - Rework structure and code to use GModule-loaded plugins and a plugin
7134 interface that plugins export to the system settings service
7136 2007-11-21 Dan Williams <dcbw@redhat.com>
7139 - Add Soren's system settings service. Needs work for distros other
7140 than Fedora; the backends from NM should mostly migrate to here
7141 and be converted to GObjects
7143 2007-11-21 Dan Williams <dcbw@redhat.com>
7145 * libnm-util/nm-setting-vpn-properties.c
7146 - (set_property): must deep-copy the given settings hash, otherwise
7147 double-free errors occur when the setting is disposed of
7149 2007-11-21 Dan Williams <dcbw@redhat.com>
7151 * src/vpn-manager/nm-vpn-act-request.h
7152 src/vpn-manager/nm-vpn-act-request.c
7155 2007-11-20 Dan Williams <dcbw@redhat.com>
7157 * libnm-util/nm-utils.c
7158 - (nm_utils_convert_strv_to_string, nm_utils_convert_uint_array_to_string,
7159 nm_utils_convert_ip4_addr_struct_array_to_string,
7160 nm_utils_register_value_transformations): print out the readable
7161 values of more types of properties of NMSettings subclasses
7163 2007-11-20 Dan Williams <dcbw@redhat.com>
7165 * libnm-util/nm-setting-ip4-config.c
7166 - (ip4_addresses_from_gvalue, ip4_addresses_to_gvalue,
7167 nm_setting_ip4_config_class_init): apparently dbus-glib can't
7168 marshal GValueArrays inside collections, so switch to types that it
7169 can actually marshal/demarshal
7171 2007-11-16 Dan Williams <dcbw@redhat.com>
7173 * libnm-util/nm-setting-wireless-security.c
7174 - (verify_tls, verify_ttls, verify_identity, verify_nai): do some
7175 minimal verification of EAP methods too
7176 - (verify): verify phase1 eap methods too
7178 2007-11-15 Dan Williams <dcbw@redhat.com>
7180 * libnm-glib/nm-device.h
7181 libnm-glib/nm-device.c
7182 - (nm_device_get_product, nm_device_get_vendor): should be returning
7185 2007-11-15 Dan Williams <dcbw@redhat.com>
7187 * libnm-glib/nm-device.c
7188 - (get_product_and_vendor): don't try to free things that should be
7191 2007-11-15 Dan Williams <dcbw@redhat.com>
7193 * src/NetworkManagerUtils.c
7194 - (nm_ethernet_address_is_valid): unbreak previous fix
7196 2007-11-15 Dan Williams <dcbw@redhat.com>
7198 * src/supplicant-manager/nm-supplicant-config.c
7199 - (nm_supplicant_config_add_setting_wireless_security): handle PEAP
7202 2007-11-15 Dan Williams <dcbw@redhat.com>
7204 * src/NetworkManagerUtils.c
7205 - (nm_ethernet_address_is_valid): fix style, clarify
7206 - (nm_ethernet_addresses_are_equal): don't try to memcmp NULLs
7208 * src/nm-device-802-11-wireless.c
7209 - (get_active_ap): handle failure from nm_device_802_11_wireless_get_bssid()
7210 - (nm_device_802_11_wireless_get_ssid,
7211 nm_device_802_11_wireless_get_bssid,
7212 nm_device_802_11_wireless_get_bitrate): zero the wreq structure
7213 before calling the ioctl; fixes valgrind-reported jump depends on
7214 uninitialized value errors
7216 2007-11-15 Dan Williams <dcbw@redhat.com>
7218 * libnm-util/nm-setting.c
7219 - (nm_setting_to_hash, one_property_cb): revert previous commit, it's
7220 unecessary to serialize 'name'
7222 * src/nm-activation-request.c
7223 - (get_secrets_cb): fix cases where a full NMSetting is returned from
7226 2007-11-15 Dan Williams <dcbw@redhat.com>
7228 * libnm-util/nm-setting-connection.h
7229 libnm-util/nm-setting-connection.c
7230 - Rename the 'name' property to 'id', because it conflicted with the
7231 NMSetting superclass' 'name' property.
7233 * libnm-util/nm-setting.c
7234 - (nm_setting_to_hash): serialize the 'name' property
7235 - (one_property_cb): ignore 'name' on deserialization of a connection
7237 * src/nm-device-802-11-wireless.c
7238 src/vpn-manager/nm-vpn-connection.c
7239 src/NetworkManagerPolicy.c
7240 - Fix up for NMSettingConnection 'name'->'id' changes
7242 2007-11-13 Dan Williams <dcbw@redhat.com>
7244 * libnm-glib/nm-device-802-11-wireless.h
7245 libnm-glib/nm-device-802-11-wireless.c
7246 - (nm_device_802_11_wireless_get_hw_address): return should be const
7249 libnm-glib/libnm-glib-test.c
7250 - Fixes for above change
7252 2007-11-12 Dan Williams <dcbw@redhat.com>
7254 * src/supplicant-manager/nm-supplicant-settings-verify.c
7255 - Allow fragment_size option
7257 * src/supplicant-manager/nm-supplicant-settings-verify.c
7258 - (nm_supplicant_config_add_setting_wireless_security): use a lower
7259 EAP fragment size than the default to help some TLS connections
7261 2007-11-12 Dan Williams <dcbw@redhat.com>
7263 Make certs actually work. The private key is now a secret, and should be
7264 decrypted when requested by NM. The private key and phase2 private key
7265 passwords are no longer interesting to NM because they should be used by
7266 the settings service to decrypt the private key itself before passing it
7267 to NM, and hence have been removed as fields.
7269 * libnm-util/nm-setting-wireless-security.h
7270 libnm-util/nm-setting-wireless-security.c
7271 - Remove private-key-passwd and phase2-private-key-passwd from
7273 - (need_secrets_password, need_secrets_eappsk, need_secrets_sim,
7274 need_secrets): use property #defines instead strings to keep things
7276 - (need_secrets_tls): if a client certificate is present but no
7277 private key, request the private key
7278 - (set_property, get_property, nm_setting_wireless_security_class_init):
7279 remove private key password stuff, mark private keys as secret
7281 * src/supplicant-manager/nm-supplicant-settings-verify.c
7282 - Remove private_key_passwd and private_key2_passwd from opt_table
7284 2007-11-09 Dan Williams <dcbw@redhat.com>
7286 Fix vpn-properties setting update_secrets call for new NMSetting stuff.
7287 Since the vpn-properties are managed and known by the VPN daemons themselves,
7288 libnm-util doesn't know what's secret and what's in the setting's 'data'
7291 * libnm-util/nm-setting.h
7292 libnm-util/nm-setting.c
7293 - Add the ability for subclasses to override update_one_secret
7295 * libnm-util/nm-setting-vpn-properties.c
7296 - Override update_one_secret and just copy the values into the
7299 2007-11-09 Dan Williams <dcbw@redhat.com>
7301 * libnm-glib/nm-settings.h
7302 libnm-glib/nm-settings.c
7303 - (nm_settings_new_error): remove
7304 - (nm_settings_error_quark): add; instead of nm_settings_new_error,
7305 clients should use g_set_error() with NM_SETTINGS_ERROR
7307 2007-11-09 Dan Williams <dcbw@redhat.com>
7309 * src/supplicant-manager/nm-supplicant-config.c
7310 - (nm_supplicant_config_add_setting_wireless_security): private key
7311 passwords are never sent to wpa_supplicant, because the supplicant
7312 should never be reading random files from the disk. Clients like
7313 the applet are required to decrypt the private keys and send NM
7314 the decrypted blobs.
7316 2007-11-08 Dan Williams <dcbw@redhat.com>
7318 * libnm-util/nm-setting-wireless-security.h
7319 libnm-util/nm-setting-wireless-security.c
7320 - Add 'private-key-decrypted' and 'phase2-private-key-decrypted'
7321 members to 802-11-wireless-security structure. This should be used
7322 to indicate that the values in private-key and phase2-private-key
7323 are already decrypted by the user agent, and that no
7324 private-key-passwd or phase2-private-key-passwd should be expected.
7325 It is not meant to be a stored configuration value, but meant to
7326 be set when the conneciton is sent to NM over dbus.
7328 2007-11-08 Dan Williams <dcbw@redhat.com>
7330 * libnm-util/nm-connection.h
7331 libnm-util/nm-connection.c
7332 - (nm_connection_need_secrets): add argument to return hints
7334 * src/nm-device-802-11-wireless.c
7335 - (link_timeout_cb, supplicant_connection_timeout_cb,
7336 real_act_stage2_config, real_act_stage4_ip_config_timeout): handle
7337 nm_connection_need_secrets() change
7339 2007-11-07 Tambet Ingo <tambet@gmail.com>
7341 Rework NMSetting structures: Move each setting to it's own file.
7342 Convert to GObject. Remove home grown setting types and use GTypes.
7343 Use GObject property introspection for hash conversion, enumerating
7346 * libnm-util/nm-setting-connection.[ch]
7347 * libnm-util/nm-setting-ip4-config.[ch]
7348 * libnm-util/nm-setting-ppp.[ch]
7349 * libnm-util/nm-setting-vpn.[ch]
7350 * libnm-util/nm-setting-vpn-properties.[ch]
7351 * libnm-util/nm-setting-wired.[ch]
7352 * libnm-util/nm-setting-wireless.[ch]
7353 * libnm-util/nm-setting-wireless-security.[ch]
7355 New files, each containing a setting.
7357 * libnm-util/nm-setting-template.[ch]: A template for creating new
7358 settings. To use it, just replace 'template' with the new setting
7359 name, and you're half-way done.
7361 * libnm-util/nm-setting.c: Convert to GObject and use GObject
7362 introspection instead of internal types and tables.
7364 * libnm-util/nm-connection.c: Adapt the new NMSetting work.
7366 * libnm-util/nm-param-spec-specialized.[ch]: Implement. Handles
7367 GValue types defined by dbus-glib for composed types like collections,
7368 structures and maps.
7370 * src/*: The API of NMSetting and NMConnection changed a bit: Getting
7371 a setting from connection takes the setting type now. Also, since
7372 the settings are in multiple files, include relevant settings.
7374 2007-10-31 Saleem Abdulrasool <compnerd@compnerd.org>
7377 * src/backends/NetworkManagerGentoo.c:
7378 (nm_system_restart_mdns_responder): Implement restarts for other mdns
7379 providers in Gentoo.
7381 2007-10-31 Dan Williams <dcbw@redhat.com>
7383 * libnm-util/nm-connection.c
7384 - (gvalue_to_string): handle UINT32 arrays
7386 2007-10-31 Dan Williams <dcbw@redhat.com>
7388 * libnm-glib/nm-device.h
7389 libnm-glib/nm-device.c
7390 - (nm_device_get_description): remove
7391 - (nm_device_get_product, nm_device_get_vendor): add
7392 - (nm_device_update_description): new function (private); walk HAL
7393 devices to get product and vendor IDs for a specific device
7395 2007-10-31 Dan Williams <dcbw@redhat.com>
7397 * src/nm-device-802-11-wireless.c
7398 - (nm_device_802_11_wireless_get_mode): ignore ENODEV errors
7400 2007-10-29 Dan Williams <dcbw@redhat.com>
7402 * src/nm-hal-manager.c
7403 - (device_added, device_new_capability): ignore device additions while
7404 asleep. Fixes crash caused when NM goes to sleep, a network device
7405 kernel module is unloaded and reloaded and recognized by NM again.
7407 2007-10-26 Dan Williams <dcbw@redhat.com>
7409 Patch from Helmut Schaa <hschaa@suse.de> (and more bits from me)
7411 * src/NetworkManagerAP.c
7412 src/NetworkManagerAP.h
7413 libnm-glib/nm-access-point.c
7414 libnm-glib/nm-access-point.h
7415 - Make 'rate' property a guint32 to better match with WEXT and
7416 wpa_supplicant and to allow representation of higher bitrates
7418 * src/nm-device-802-11-wireless.c
7419 introspection/nm-device-802-11-wireless.xml
7420 libnm-glib/nm-device-802-11-wireless.c
7421 libnm-glib/nm-device-802-11-wireless.h
7422 - Make 'bitrate' property a guint32 to match AP 'rate' property type
7424 * src/nm-device-802-3-ethernet.c
7425 src/nm-device-802-3-ethernet.h
7426 introspection/nm-device-802-3-ethernet.xml
7427 libnm-glib/nm-device-802-3-ethernet.c
7428 libnm-glib/nm-device-802-3-ethernet.h
7429 - Make 'speed' property a guint32 to match other speed/rate types
7430 - Make nm_device_802_3_ethernet_get_speed() static
7433 - Update for the changes above
7435 2007-10-26 Dan Williams <dcbw@redhat.com>
7437 * src/named-manager/nm-named-manager.c
7438 - (rewrite_resolv_conf): clean up error handling to avoid double-free by
7439 not calling fclose() twice on some error conditions
7441 2007-10-26 Dan Williams <dcbw@redhat.com>
7443 * src/nm-activation-request.c
7444 - (dispose): clean up indentation; get the right DBusGProxy object to
7445 cancel the GetSecrets pending call on. Need to use the Secrets
7446 proxy, not the regular connection proxy. Otherwise the GetSecrets
7447 pending call doesn't get canceled, and pressing Cancel in the
7448 applet's password dialog could cause get_secrets_cb() to be called
7449 after the activation request has already been destroyed
7451 2007-10-24 Dan Williams <dcbw@redhat.com>
7453 * src/supplicant-manager/nm-supplicant-config.c
7454 - (nm_supplicant_config_add_blob): pass blob data and length for
7456 - (get_hash_cb): use GByteArrays rather than GArrays; easier to follow
7458 2007-10-24 Dan Williams <dcbw@redhat.com>
7460 * src/supplicant-manager/nm-supplicant-settings-verify.c
7461 - (opt_table): max length for certificates should be 65536
7463 2007-10-24 Dan Williams <dcbw@redhat.com>
7465 * src/supplicant-manager/nm-supplicant-interface.c
7466 - (blob_free): correctly free blob data after use
7467 - (call_set_blobs): use the right D-Bus interfaace for setBlobs
7469 2007-10-24 Dan Williams <dcbw@redhat.com>
7471 * libnm-util/nm-setting.c
7472 - (setting_wireless_security_need_secrets): Fix lookup table logic for
7473 EAP method need secrets
7475 2007-10-24 Dan Williams <dcbw@redhat.com>
7477 * src/backends/NetworkManagerRedHat.c
7478 - (nm_system_update_dns): be a lot smarter about telling nscd to restart
7480 2007-10-23 Dan Williams <dcbw@redhat.com>
7482 * libnm-util/nm-setting.c
7483 libnm-util/nm-setting.c
7484 - (nm_setting_compare): implement
7485 - (default_setting_compare_fn, do_one_compare, compare_gvalue_hash,
7486 compare_one_hash_gvalue): compare the contents of a setting
7488 * libnm-util/nm-connection.c
7489 - (nm_connection_compare): implement
7491 2007-10-23 Dan Williams <dcbw@redhat.com>
7493 * src/nm-activation-request.c
7494 - (get_secrets_cb): handle getting a setting back that is more than
7495 just secrets (ie, user changed auth or EAP method or something)
7497 2007-10-23 Dan Williams <dcbw@redhat.com>
7499 * libnm-util/nm-setting.c
7500 libnm-util/nm-setting.h
7501 - (nm_setting_verify): new function; verify one setting
7502 - (nm_settings_verify_all): rename from nm_settings_verify()
7503 - (setting_connection_verify, setting_wireless_verify): allow NULL
7506 * libnm-util/nm-connection.c
7507 - (nm_connection_replace_settings, nm_connection_verify,
7508 nm_connection_new_from_hash): handle nm_settings_verify() rename
7510 2007-10-23 Dan Williams <dcbw@redhat.com>
7512 * src/nm-device-802-11-wireless.c
7513 - (real_act_stage2_config): use pre-increment on 'tries' to get the
7516 2007-10-23 Dan Williams <dcbw@redhat.com>
7518 * src/supplicant-manager/nm-supplicant-settings-verify.c
7519 - eap_allowed, phase2_allowed: harmonize with allowed values from
7522 2007-10-23 Dan Williams <dcbw@redhat.com>
7524 * src/nm-device-802-11-wireless.c
7525 - (real_act_stage2_config): after the first association failure,
7526 if the connection still needs secrets ask the user for them
7527 explicitly. After the fourth association failure due to bad
7528 secrets, fail the connection entirely. Handles the GetSecrets
7529 loop that NM gets into when the provided secrets don't match up
7530 with the connection details.
7532 2007-10-23 Dan Williams <dcbw@redhat.com>
7534 * src/supplicant-manager/nm-supplicant-config.c
7535 - (nm_supplicant_config_add_setting_wireless_security): only add
7536 WPA-specific options when WPA is in use
7538 2007-10-23 Dan Williams <dcbw@redhat.com>
7540 * src/supplicant-manager/nm-supplicant-config.c
7541 - (nm_supplicant_config_add_setting_wireless_security): 'password'
7542 secret doesn't need to be unhexified
7544 2007-10-23 Dan Williams <dcbw@redhat.com>
7546 * libnm-util/nm-setting.c
7547 - (setting_wireless_security_need_secrets): ensure auth_alg is !NULL
7548 before trying to do something with it
7550 2007-10-23 Dan Williams <dcbw@redhat.com>
7552 * src/nm-device-802-11-wireless.c
7553 - (merge_scanned_ap): handle NULL ssids returned from nm_ap_get_ssid()
7555 2007-10-23 Dan Williams <dcbw@redhat.com>
7557 * src/nm-device-802-11-wireless.c
7558 - (merge_scanned_ap): use libnm-util empty SSID check to catch more
7559 non-SSID-broadcasting APs
7561 2007-10-23 Dan Williams <dcbw@redhat.com>
7563 * src/NetworkManagerAP.c
7564 - (match_cipher, security_compatible): remove
7565 - (nm_ap_check_compatible): use nm_utils_ap_security_compatible() from
7568 2007-10-23 Dan Williams <dcbw@redhat.com>
7570 * libnm-util/nm-utils.c
7571 libnm-util/nm-utils.h
7572 - (nm_utils_ap_security_compatible): common function for checking
7573 whether a specific AP is compatible with an NMConnection
7575 2007-10-23 Dan Williams <dcbw@redhat.com>
7577 * libnm-util/nm-setting.c
7578 - (setting_wireless_security_need_secrets, need_secrets_phase2,
7579 need_secrets_tls, need_secrets_sim, need_secrets_eappsk,
7580 need_secrets_password, setting_wireless_security_verify): fix
7581 need_secrets for IEEE 802.1x and WPA-EAP by implementing need
7582 secrets logic for each supported EAP method
7584 2007-10-23 Dan Williams <dcbw@redhat.com>
7586 * src/supplicant-manager/nm-supplicant-config.c
7587 - (nm_supplicant_config_add_setting_wireless_security): fix wpa_supplicant
7588 config option name, should be "private_key2_passwd"
7590 2007-10-22 Tambet Ingo <tambet@gmail.com>
7592 Implement support for static IP addresses, additional/overridden DNS and
7593 DNS domain search lists.
7595 * libnm-util/nm-setting.c (uint_array_to_gvalue): Implement.
7596 (ip4_addresses_to_gvalue): Implement.
7597 (convert_array_to_byte_array): Implement.
7598 (nm_setting_populate_from_hash_default): Handle NM_S_TYPE_UINT_ARRAY and
7599 NM_S_TYPE_IP4_ADDRESSES.
7600 (nm_setting_hash): Ditto.
7601 (default_setting_clear_secrets): Add a default case for the switch: IP address
7602 shouldn't be secret, ever.
7603 (setting_ip4_config_verify): Update, requires addresses in case of manual
7605 (setting_ip4_config_destroy): Free stuff.
7607 * src/nm-device.c (merge_ip4_config): Implement.
7608 (real_act_stage4_get_ip4_config): Merge IP4 configuration from NMConnection.
7610 2007-10-22 Dan Williams <dcbw@redhat.com>
7612 * libnm-util/nm-setting.c
7613 - (setting_wireless_security_verify): allow WEP-40 and WEP-104 as
7614 pairwise cipher options for Dynamic WEP
7616 2007-10-21 Dan Williams <dcbw@redhat.com>
7618 * src/NetworkManagerAP.c
7619 src/NetworkManagerAP.h
7620 - Rename 'articifical' -> 'fake' since that's what they are until
7622 - (nm_ap_new_fake_from_connection): new function to create a 'fake' AP
7623 from the attributes in an NMConnection object
7624 - (security_compatible): better handle Dynamic WEP and LEAP; handle
7626 - (nm_ap_match_in_list): find a matching AP in a scan list
7628 * src/nm-device-802-11-wireless.c
7629 - (get_active_ap): add an 'ignore_ap' argument to ignore a specific
7630 AP when searching the scan list; match on frequency and mode too
7631 - (nm_device_802_11_wireless_get_frequency): implement
7632 - (merge_scanned_ap): replace duplicate matching logic with
7633 nm_ap_match_in_list()
7634 - (real_act_stage1_prepare): handle a NULL specific object; ie where
7635 the user is trying to connect to a hidden network that is not yet
7636 known from the scan list
7637 - (activation_success_handler): now that the card knows the AP's BSSID,
7638 there may already be a scanned AP in the scan list that is what
7639 we really wanted to connect to, but didn't know at the time. Use
7640 that instead of the 'fake' AP created at activation start and get
7641 rid of the 'fake' AP
7642 - (cull_scan_list): don't remove fake APs
7644 2007-10-21 Dan Williams <dcbw@redhat.com>
7646 * src/nm-activation-request.h
7647 src/nm-activation-request.c
7648 - (nm_act_request_set_specific_object): new function; allow setting the
7649 specific object if one isn't set yet
7651 2007-10-20 Dan Williams <dcbw@redhat.com>
7653 * src/supplicant-manager/nm-supplicant-config.h
7654 src/supplicant-manager/nm-supplicant-config.c
7655 - (nm_supplicant_config_init, nm_supplicant_config_finalize): add a hash
7656 table to store blobs
7657 - (nm_supplicant_config_add_blob): new function; add blob to internal
7659 - (nm_supplicant_config_get_blobs): new function; get stored blobs
7660 - (nm_supplicant_config_add_setting_wireless_security): handle
7661 options that use certificates (ie, blobs)
7663 * src/nm-device-802-11-wireless.c
7664 - (build_supplicant_config): pass a UID (just use the connection path)
7665 to the supplicant config as now required
7667 * src/supplicant-manager/nm-supplicant-interface.c
7668 - (add_network_cb, call_set_blobs, set_blobs_cb, call_set_network): if
7669 there are any blobs to send to wpa_supplicant, send those first
7670 before sending the network configuration
7672 2007-10-19 Dan Williams <dcbw@redhat.com>
7674 Split the GetSecrets() call off to a separate D-Bus interface so that it
7675 can be more easily locked down with D-Bus policy. Only 'root' (ie, NM)
7676 should be able to call GetSecrets().
7678 * include/NetworkManager.h
7679 - Define the connection secrets D-Bus interface
7681 * src/vpn-manager/nm-vpn-connection.c
7682 - (clear_need_auth): get the right proxy object for the connection
7684 - (get_connection_secrets): use the connection secrets proxy; send
7685 empty hints in get secrets request
7687 * src/nm-activation-request.c
7688 - (nm_act_request_request_connection_secrets): use the connection
7689 secrets proxy; send empty hints in get secrets request
7693 - (connection_get_settings_cb): set the connection secrets proxy on
7694 the connection object too
7695 - (internal_new_connection_cb): create the connection secrets proxy
7697 * introspection/nm-settings-connection.xml
7698 - Define Connection.Secrets interface and move GetSecrets there
7699 - Add a 'hints' argument to GetSecrets
7701 * libnm-glib/nm-settings.c
7702 libnm-glib/nm-settings.h
7703 - (impl_connection_settings_get_secrets): add 'hints' argument
7705 2007-10-19 Dan Williams <dcbw@redhat.com>
7708 - (constructor): add message about what path a device is exported as
7709 to help in debugging rh #339011
7711 2007-10-17 Dan Williams <dcbw@redhat.com>
7713 * libnm-util/nm-utils.h
7714 libnm-util/nm-utils.c
7715 - (nm_utils_security_valid): common function to help find the intersection
7716 of capabilities of devices and (optionally) access points
7718 2007-10-17 Dan Williams <dcbw@redhat.com>
7720 * src/nm-device-802-11-wireless.c
7721 - (get_wireless_capabilities): add missing braces so that WPA capabilities
7722 don't get erroneously cleared
7724 2007-10-17 Dan Williams <dcbw@redhat.com>
7728 src/nm-hal-manager.c
7729 - (device_removed, finalize, nm_manager_remove_device,
7730 nm_manager_sleep): add a 'deactivate' argument to
7731 nm_manager_remove_device() to fully deactivate devices when necessary
7732 (ie, always except when waking up)
7734 2007-10-16 Dan Williams <dcbw@redhat.com>
7736 * libnm-util/nm-setting.c
7737 - (setting_wireless_security_verify): fix phase2_auth methods; 'sim'
7738 also isn't valid phase2 autheap method
7740 2007-10-16 Dan Williams <dcbw@redhat.com>
7742 * libnm-glib/nm-client.c
7743 - (update_wireless_status): consolidate updates of wireless status
7744 - (constructor): use update_wireless_status()
7745 - (manager_running): set wireless status off when NM goes away; requery
7746 the wireless status when NM comes back
7748 2007-10-16 Dan Williams <dcbw@redhat.com>
7750 * libnm-glib/nm-client.c
7751 - (nm_client_activate_device): actually use the fixed-up specific
7754 2007-10-16 Dan Williams <dcbw@redhat.com>
7756 * src/nm-hal-manager.c
7757 - (killswitch_getpower_reply, nm_hal_manager_destroy): only print out
7758 killswitch error messages once
7760 2007-10-16 Dan Williams <dcbw@redhat.com>
7763 - (manager_set_wireless_enabled): don't allow wireless to be enabled
7764 if it's disabled in hardware; don't touch network devices while
7767 2007-10-16 Dan Williams <dcbw@redhat.com>
7769 * libnm-util/nm-client.c
7770 - (nm_client_activate_device): convert NULL specific_object to "/",
7771 which is used in place of NULL
7774 - (impl_manager_activate_device): convert "/" specific_object back into
7777 2007-10-16 Tambet Ingo <tambet@gmail.com>
7779 Implement a generic NMSetting creator from setting name.
7780 While at it, get rid of all nm_setting_foo_new_from_hash() functions and
7781 add a virtual function 'populate_fn'.
7783 * libnm-util/nm-connection.c (nm_connection_create_setting): Implement.
7784 (register_default_creators): Register setting creators instead of functions
7785 that create and then populate.
7786 (parse_one_setting): Use the common setting creator and then setting specific
7787 poplulation function.
7789 * libnm-util/nm-setting.c: Get rid of nm_setting_foo_new_from_hash() functions,
7790 they all looked exactly the same.
7791 Add a 'populate_fn' virtual function to NMSetting.
7792 Use default virtual functions in case they are not overriden.
7793 (nm_setting_populate_from_hash): Implement.
7795 * src/nm-device.c (real_act_stage3_ip_config_start): Don't hard code the setting
7796 name, use a defined string.
7797 (real_act_stage4_get_ip4_config): Ditto.
7799 2007-10-16 Tambet Ingo <tambet@gmail.com>
7801 * src/nm-hal-manager.c (killswitch_getpower_reply): The type returned from
7802 HAL is int, not uint.
7804 2007-10-15 Tambet Ingo <tambet@gmail.com>
7806 Implement killswitch polling through HAL.
7808 * src/nm-manager.c: Add wireless hardware status property. Add
7809 'properties-changed' signal for changes in wireless and wireless hardware
7812 * src/nm-hal-manager.c: Poll hal for killswitch statuses in every 6 seconds
7813 and update NMManager's wireless hardware state when it has changed.
7814 (nm_hal_manager_new): Don't try to add initial devices here - (hal_init)
7817 * libnm-glib/nm-client.c: Add wireless hardware status property. Cache the
7818 values of wireless state and wireless hardware state. Listen for the
7819 'properties-changed' signals, update the cached values and emit notify.
7821 * include/NetworkManager.h: Fix a typo in a comment.
7823 2007-10-14 Dan Williams <dcbw@redhat.com>
7825 * libnm-util/nm-setting.c
7826 - (setting_wireless_security_need_secrets): handle LEAP secrets
7828 2007-10-13 Dan Williams <dcbw@redhat.com>
7830 * libnm-util/nm-setting.h
7831 libnm-util/nm-setting.c
7832 src/supplicant-manager/nm-supplicant-config.c
7833 - Make the 'proto' field of the 802-11-wireless-security field a
7836 2007-10-12 Tambet Ingo <tambet@gmail.com>
7838 Rework the "properties-changed" signal listening implementation.
7839 Add a generic implementation to NMObject class that listens for
7840 the signal and calls property setters of the target NMObject.
7842 * libnm-glib/nm-object.c (nm_object_handle_properties_changed): Implement.
7844 * libnm-glib/nm-device-802-11-wireless.c: Move the GObject consturction
7845 code to the end of file so that all the static functions are available
7846 without extra declarations.
7847 Remove the "properties-changed" signal handling and use the framework from
7849 Implement property setters for properties that change with
7850 "properties-changed" signal.
7852 * libnm-glib/nm-access-point.c: Ditto.
7854 2007-10-12 Tambet Ingo <tambet@gmail.com>
7856 Rework the "properties-changed" signal implementation.
7857 In classes that need to use it, just emit "GObject::notify" and the new
7858 framework takes care of the rest to make the signal available on dbus.
7859 The framework queues the notifications and tries to send as many together
7860 in one signal as possible.
7862 * src/nm-properties-changed-signal.c:
7863 * src/nm-properties-changed-signal.h: Implement.
7865 * src/Makefile.am: Add new files to build.
7867 * src/NetworkManagerAP.c: Use the general framework for properties-changed
7870 * src/nm-device-802-11-wireless.c: Ditto.
7872 2007-10-10 Dan Williams <dcbw@redhat.com>
7875 - (wait_for_connection_expired): ensure info is valid
7876 - (connection_added_default_handler): Should only remove pending
7877 connection info when the manager has the connection that it's
7878 waiting for. Fixes segfault in wait_for_connection_info().
7880 2007-10-10 Dan Williams <dcbw@redhat.com>
7882 * libnm-util/nm-setting.c
7883 libnm-util/nm-setting.h
7884 - Add a default 'user_name' field to the VPN setting, which VPN plugins
7885 can use if they choose. Should be filled in by the settings service
7886 on-the-fly with the currently logged in user's username
7888 2007-10-10 Dan Williams <dcbw@redhat.com>
7890 * src/nm-device-802-11-wireless.c
7891 - (merge_scanned_ap): make sure non-SSID-broadcasting APs are marked
7892 as such, because even if the manager fills in the SSID, NM still
7893 has to indicate to wpa_supplicant that the AP isn't broadcasting
7896 2007-10-10 Tambet Ingo <tambet@gmail.com>
7898 Move ppp-manager over to dbus-glib. The big deal is that it was the last piece of
7899 code that used NM's own version of dbus signal handling and custom dictionary
7900 marshalling/unmarshalling. With this change, all that obsolete code can disappear
7901 and we get to maintain over 2000 lines less code.
7903 * libnm-util/dbus-dict-helpers.c:
7904 * libnm-util/dbus-dict-helpers.h: Remove.
7906 * src/ppp-manager/nm-pppd-plugin.c: Convert it to use dbus-glib.
7908 * src/ppp-manager/nm-pppd-plugin.xml: Implement.
7910 * src/ppp-manager/nm-ppp-manager.c: Use dbus-glib instead of home-brewed dbus signal
7913 * src/nm-dbus-manager.c: Remove all the manual dbus signal handling.
7915 * configure.in: Remove test/libnm-util/Makefile creation.
7917 * test/Makefile.am: Remove libnm-util from SUBDIRS.
7919 * test/libnm-util/: Remove the whole directory.
7921 2007-10-10 Tambet Ingo <tambet@gmail.com>
7923 * src/NetworkManagerPolicy.c (nm_policy_new): Initialize the
7924 device_state_changed_idle_id variable or it would contain some random value and the
7925 schedule_change_check calls would not do anything.
7927 2007-10-09 Dan Williams <dcbw@redhat.com>
7929 * src/nm-device-802-11-wireless.c
7930 - (supplicant_iface_scanned_ap_cb): set the non-broadcast flag elsewhere
7931 - (merge_scanned_ap): only have the manager fill the SSID if the AP
7932 isn't broadcasting its SSID; set the non-broadcast flag here; fix
7933 merging of non-SSID-broadcasting APs
7935 2007-10-09 Tambet Ingo <tambet@gmail.com>
7937 * libnm-util/nm-utils.c (nm_utils_is_empty_ssid): Convert the ssid type to
7938 "guint8 *" since it's usually used with GByteArray->data.
7939 (nm_utils_ssid_to_utf8): Add it back, the applet needs it.
7941 2007-10-09 Tambet Ingo <tambet@gmail.com>
7943 * src/NetworkManagerUtils.c
7944 (nm_utils_is_empty_ssid):
7945 (nm_utils_escape_ssid):
7946 (nm_utils_same_ssid): Remove. These functions are copied and pasted in a
7947 lot of places, so they belong to libnm-utils instead.
7949 Now with 100% less compiler warnings:
7951 * libnm-util/nm-utils.c (nm_dbus_escape_object_path): Remove, unused.
7952 (nm_dbus_unescape_object_path): Ditto.
7953 (nm_utils_ssid_to_utf8): Ditto.
7954 (nm_utils_is_empty_ssid): Move here from src/NetworkManagerUtils.c
7955 (nm_utils_escape_ssid): Ditto.
7956 (nm_utils_same_ssid): Ditto.
7958 * src/nm-manager.c: Include 'netinet/ether.h' for ether_aton_r.
7959 (add_one_connection_element): Remove an unused variable.
7960 (impl_manager_get_active_connections): Ditto.
7962 * src/NetworkManagerPolicy.c (get_device_connection): Remove an unused
7965 * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Remove a leftover
7966 from the previous commit.
7968 * src/nm-device-802-11-wireless.c (set_current_ap): Remove unused variable.
7969 (real_act_stage1_prepare): Ditto.
7970 (activation_success_handler): Ditto.
7971 (get_property): Ditto.
7973 * src/nm-device-802-3-ethernet.c (real_get_best_connection): Remove unused
7976 * src/ppp-manager/nm-pppd-plugin.c (nm_ip_up): Remove the check for 'ifname',
7979 * src/supplicant-manager/nm-supplicant-config.c
7980 (nm_supplicant_config_add_setting_wireless): Cast the GByteArray's 'guint8 *'
7981 to expected "char *".
7982 (nm_supplicant_config_add_setting_wireless): Ditto.
7983 (nm_supplicant_config_remove_option): Remove, not used.
7985 * libnm-glib/libnm-glib-test.c (dump_access_point): Frequency is a guint32,
7987 (test_wireless_enabled): Ifdef out unused function.
7988 (device_deactivate): Ditto.
7989 (device_state_changed): Ditto.
7990 (nm_utils_is_empty_ssid): Remove, it's now in libnm-utils.
7991 (nm_utils_escape_ssid): Ditto.
7993 * test/nm-tool.c (nm_utils_escape_ssid): Remove, it's now in libnm-utils.
7994 (nm_utils_is_empty_ssid): Ditto.
7996 * libnm-glib/nm-client.c (nm_client_free_active_connection_element): Remove
7999 * libnm-util/nm-setting.c (setting_wireless_destroy): Remove unused variable.
8000 (setting_vpn_properties_update_secrets): Ditto.
8001 (int_to_gvalue): Ifdef out for now, not used.
8002 (byte_to_gvalue): Ditto.
8004 * libnm-util/dbus-dict-helpers.c (_nmu_dbus_add_dict_entry_string_array):
8007 2007-10-08 Tambet Ingo <tambet@gmail.com>
8009 * src/NetworkManager.c (main): When dbus manager doesn't want to start, complain
8010 about dbus manager, not named manager.
8011 Make sure hal_manager and dbus_mgr are created before trying to unreference.
8013 * src/nm-dbus-manager.c: There was an issue with priv->proxy: We have a signal
8014 handler for it's 'destroy' signal - we use it to catch disconnects from dbus.
8015 However, the same signal is emitted when we destroy it and there's
8016 nm_dbus_manager_cleanup -> destroy_cb -> nm_dbus_manager_cleanup cycle.
8018 (nm_dbus_manager_cleanup): Let go of the DBusGProxy before
8019 releasing the DBusGConnection, since proxy needs a conneciton.
8020 (destroy_cb): Set the private proxy to NULL before cleaning up the manager.
8022 2007-10-08 Dan Williams <dcbw@redhat.com>
8024 * src/NetworkManager.c
8025 - (main): error on unknown command-line options
8027 2007-10-08 Dan Williams <dcbw@redhat.com>
8029 Reimplement the invalid connection list. Don't try to re-activate a
8030 connection that just failed or was canceled.
8033 - (connection_secrets_failed_cb): fail device activation, don't just
8034 deactivate the device. Listeners have to know about the failure.
8036 * src/NetworkManagerPolicy.c
8037 - (nm_policy_auto_get_best_device): exclude invalid connections from
8038 the connection list given to a device's get_best_connection()
8040 - (device_state_changed): tag failed connections as invalid; clear the
8041 tag from successful connections
8043 2007-10-08 Dan Williams <dcbw@redhat.com>
8045 Fix problems with interrupted activation. Previously, choosing an AP
8046 from the menu, then choosing another one before the first connection was
8047 successful wouldn't deactivate the device before starting the new connection
8048 on that same device.
8050 * src/NetworkManagerPolicy.c
8051 - (deactivate_old_device, device_state_changed, state_changed,
8052 nm_policy_new): wrong place to deactivate old devices
8055 - (pending_connection_info_destroy, finalize,
8056 wait_for_connection_expired): decouple destruction of the pending
8057 connection info from the manager device
8058 - (connection_added_default_handler): deactivate any active or
8059 activating device before starting a new activation
8060 - (impl_manager_activate_device): deactivate any active or activating
8061 device before starting a new activation; be sure not to leak
8062 pending connection info if a new activation request arrives but
8063 there's already a pending one in-process
8065 2007-10-08 Dan Williams <dcbw@redhat.com>
8067 * src/NetworkManagerAP.h
8068 src/NetworkManagerAP.c
8069 - (nm_ap_has_manufacturer_default_ssid): remove, unused. User clients
8070 should handle default SSIDs and whether or not to autoconnect
8073 2007-10-08 Dan Williams <dcbw@redhat.com>
8075 * src/NetworkManagerPolicy.c
8076 - (nm_policy_device_change_check): print out connection name where
8079 2007-10-08 Dan Williams <dcbw@redhat.com>
8081 * src/nm-device-802-11-wireless.c
8082 src/nm-device-802-11-wireless.h
8083 - (nm_device_802_11_wireless_class_init, merge_scanned_ap): new
8084 'hidden-ap-found' signal (for internal use only) that allows the
8085 NMManager to fill in the AP's SSID if a connection has that AP's
8086 BSSID in its seen-bssids list
8089 - (manager_hidden_ap_found, nm_manager_add_device): attach to a
8090 wireless device's hidden-ap-found signal and fill in the APs SSID
8093 2007-10-07 Dan Williams <dcbw@redhat.com>
8097 - Add a 'connections-added' signal to batch together updates of large
8098 numbers of connections, like when reading from a settings service
8099 the first time. Otherwise, the policy would just activate the first
8100 suitable connection it saw rather than waiting for the full list
8102 - (nm_manager_class_init): register new signal
8103 - (get_type_for_proxy, connection_get_settings_cb,
8104 get_connection_for_proxy): centralize places where a proxy's setting
8105 service is determined
8106 - (free_get_settings_info): if the call being freed is the last call
8107 in a pending call group, fire off the connections-added signal
8108 - (internal_new_connection_cb): add call to a pending call group if
8110 - (list_connections_cb): always create a call group here, because this
8111 call results in a batch of new connections
8112 - (initial_get_connections): start getting system connections first
8113 - (nm_manager_connections_destroy, emit_removed): actually emit the
8114 removed signal when destroying connections
8116 * src/NetworkManagerPolicy.c
8117 - (nm_policy_new, connections_added): handle connections-added signal
8120 2007-10-06 Dan Williams <dcbw@redhat.com>
8122 * src/nm-device-802-11-wireless.c
8123 - (constructor): fix leaked socket
8125 2007-10-06 Dan Williams <dcbw@redhat.com>
8127 * src/NetworkManagerPolicy.c
8128 - (nm_policy_auto_get_best_device): fix connection list reffing. Each
8129 connection in the list returned by nm_manager_get_connections() is
8130 reffed, but they weren't getting unreffed before returning
8132 2007-10-06 Dan Williams <dcbw@redhat.com>
8135 - (connections_to_slist): sort connections first on autoconnect, then
8138 2007-10-06 Dan Williams <dcbw@redhat.com>
8140 * libnm-util/nm-connection.c
8141 - (gvalue_to_string): handle UINT64
8143 2007-10-06 Dan Williams <dcbw@redhat.com>
8145 * src/NetworkManagerPolicy.c
8146 - (connection_updated, nm_policy_new): recheck state when a connection
8149 2007-10-06 Dan Williams <dcbw@redhat.com>
8153 - (nm_manager_get_connection_dbus_path): make static
8154 - (nm_manager_update_connections): remove; unused
8155 - Add a connection-updated signal
8156 - (new_connection_cb, connection_updated_cb, nm_manager_class_init):
8157 handle connection object updates
8159 2007-10-06 Dan Williams <dcbw@redhat.com>
8161 * src/NetworkManagerPolicy.c
8162 - (connection_removed): deactivate removed connections
8164 2007-10-06 Dan Williams <dcbw@redhat.com>
8166 * libnm-util/nm-connection.c
8167 libnm-util/nm-connection.h
8168 - (nm_connection_replace_settings): new function
8170 2007-10-06 Dan Williams <dcbw@redhat.com>
8172 * libnm-glib/nm-device-802-11-wireless.c
8173 - (nm_device_802_11_wireless_get_active_access_point): don't segfault
8174 on error when getting the active access point over D-Bus from NM
8176 2007-10-05 Dan Williams <dcbw@redhat.com>
8178 * libnm-util/nm-setting.c
8179 - (setting_wireless_verify, setting_wireless_destroy): add seen_bssids
8180 to the NMSettingWireless table; it's now a string array not an array
8183 2007-10-05 Dan Williams <dcbw@redhat.com>
8185 * libnm-glib/nm-device-802-11-wireless.c
8186 - Cache properties and update cached properties on D-Bus signals from NM
8188 2007-10-05 Dan Williams <dcbw@redhat.com>
8190 * src/nm-device-802-11-wireless.c
8191 - (set_current_ap): consolidate current_ap handling code into one place
8192 to ensure that PropertiesChanged signals are emitted in all cases
8193 - (periodic_update, real_deactivate_quickly, real_act_stage1_prepare,
8194 nm_device_802_11_wireless_dispose): use set_current_ap()
8196 2007-10-05 Dan Williams <dcbw@redhat.com>
8198 * libnm-glib/nm-access-point.c
8199 libnm-glib/nm-access-point.h
8200 - (nm_access_point_get_hw_address): return 'const char *', not 'char *'
8201 because the value is cached internally now. Callers should not
8202 free the internal value.
8203 - Make signal name defines private
8206 libnm-glib/libnm-glib-test.c
8207 - Don't free value returned from nm_access_point_get_hw_address()
8209 2007-10-04 Dan Williams <dcbw@redhat.com>
8211 * introspection/nm-device-802-11-wireless.xml
8212 src/nm-device-802-11-wireless.h
8213 src/nm-device-802-11-wireless.c
8214 - Add a PropertiesChanged signal for wireless device
8215 - Store currently associated access point
8216 - (periodic_update): generalize; update rate here too and emit the
8217 correct PropertiesChanged signal when stuff changes
8218 - (real_deactivate_quickly, nm_device_802_11_wireless_dispose,
8219 real_activation_cancel_handler): clear current_ap when device is
8221 - (link_to_specific_ap, get_ap_blacklisted,
8222 nm_device_802_11_wireless_get_best_ap): remove obsolete and unused
8224 - (nm_device_802_11_wireless_get_bitrate): make static; unused anywhere
8226 - (real_set_hw_address): emit property changed signal if the card's
8228 - (real_act_stage1_prepare): set the initial current_ap to the AP
8229 the card is supposed to be connecting to
8230 - (activation_success_handler): send out property updates on successful
8232 - (get_property): pull bitrate from cached value; use OBJECT_PATH type
8233 for ACTIVE_ACCESS_POINT property because sometimes there won't be
8234 one and dbus-glib doesn't like marshalling NULL G_TYPE_OBJECTs
8235 - (nm_device_802_11_wireless_class_init): ACTIVE_ACCESS_POINT property
8236 is now boxed; add PropertiesChanged signal
8238 2007-10-04 Dan Williams <dcbw@redhat.com>
8240 * libnm-util/nm-connection.c
8241 libnm-util/nm-connection.h
8242 - (nm_connection_verify): new function
8244 2007-10-04 Dan Williams <dcbw@redhat.com>
8246 * libnm-util/nm-setting.c
8247 - (nm_settings_verify): use #defines when possible rather than strings
8248 - (setting_connection_verify): ensure that 'name' and 'type' are valid
8249 - (setting_vpn_verify): tighter validity check on 'service_type'
8251 2007-10-04 Dan Williams <dcbw@redhat.com>
8253 * libnm-glib/nm-settings.c
8254 - (nm_connection_settings_class_init): provide correct type for argument
8255 to the Updated signal so that dbus-glib knows how to marshal it
8257 2007-10-03 Dan Williams <dcbw@redhat.com>
8259 * src/nm-device-802-3-ethernet.c
8260 - (real_get_best_connection): don't create automatic connections
8261 internally; clients should provide a setting that applies to
8262 the device with 'autoconnect: True'. Problem was that these
8263 internally auto-created connections don't have a proxy or service
8264 name becuase they weren't created by a settings daemon, and therefore
8265 clients have no idea what to do with them.
8267 2007-10-03 Dan Williams <dcbw@redhat.com>
8269 * src/nm-device-802-11-wireless.c
8270 src/nm-device-802-11-wireless.h
8271 introspection/nm-device-802-11-wireless.xml
8272 - GetActiveNetworks -> GetAccessPoints
8273 - ActiveNetwork -> ActiveAccessPoint
8274 - NetworkAdded -> AccessPointAdded
8275 - NetowrkRemoved -> AccessPointRemoved
8277 * libnm-glib/nm-device-802-11-wireless.c
8278 libnm-glib/nm-device-802-11-wireless.h
8279 - network-added signal -> access-point-added
8280 - network-removed signal -> access-point-removed
8281 - nm_device_802_11_wireless_get_active_network() ->
8282 nm_device_802_11_wireless_get_active_access_point()
8283 - nm_device_802_11_wireless_get_network_by_path() ->
8284 nm_device_802_11_wireless_get_access_point_by_path()
8285 - nm_device_802_11_wireless_get_networks() ->
8286 nm_device_802_11_wireless_get_access_points()
8288 * libnm-glib/libnm-glib-test.c
8290 src/NetworkManagerPolicy.c
8291 - Fixups for Network -> AccessPoint
8293 2007-10-03 Dan Williams <dcbw@redhat.com>
8295 Add a GetActiveConnections() method on the Manager object.
8299 introspection/nm-manager.xml
8300 - (connection_get_settings_cb): keep connection type around too
8301 - (impl_manager_get_active_connections, add_one_connection_element):
8302 implement; returns all active connections and what devices they
8305 * libnm-glib/nm-client.c
8306 libnm-glib/nm-client.h
8307 introspection/nm-manager-client.xml
8308 - (nm_client_get_devices): GPtrArray elements are allocated and owned
8309 by the caller; free here to avoid memory leak
8310 - (nm_client_get_active_connections): implement; return the list of
8312 - (nm_client_free_active_connection_element): implement; free an element
8313 of the GSList returned by nm_client_get_active_connections()
8315 2007-10-03 Dan Williams <dcbw@redhat.com>
8317 * src/nm-device-802-11-wireless.c
8318 - (nm_device_802_11_wireless_update_bssid): remove
8319 - (get_active_ap): new function; find the AP in the scan list which
8320 matches the current BSSID and SSID of the wireless device
8321 - (nm_device_802_11_periodic_update): get current AP using
8322 get_active_ap() and print AP roam messages
8324 2007-10-01 Dan Williams <dcbw@redhat.com>
8326 * libnm-util/nm-setting.h
8327 - Add a 'timestamp' option to NMSettingConnection
8330 * libnm-util/nm-setting.c
8331 - (uint64_to_gvalue): new function
8332 - (nm_setting_populate_from_hash, nm_setting_hash,
8333 default_setting_clear_secrets): handle UINT64 type
8334 - con_table: add 'timestamp' member
8336 2007-10-01 Dan Williams <dcbw@redhat.com>
8339 - (impl_manager_activate_device): ensure the D-Bus method sends a return
8340 value when the connection can be activated immediately
8342 2007-10-01 Dan Williams <dcbw@redhat.com>
8344 * libnm-glib/nm-device.c
8345 - (nm_device_class_init): actually tell glib about the carrier-changed
8348 2007-10-01 Dan Williams <dcbw@redhat.com>
8351 src/marshallers/Makefile.am
8352 src/marshallers/nm-marshal.list
8353 src/marshallers/nm-marshal-main.c
8354 - Consolidate glib marshallers into one place
8356 * src/dhcp-manager/Makefile.am
8357 src/dhcp-manager/nm-dhcp-manager.c
8358 src/supplicant-manager/Makefile.am
8359 src/supplicant-manager/nm-supplicant-manager.c
8360 src/supplicant-manager/nm-supplicant-interface.c
8361 src/ppp-manager/Makefile.am
8362 src/ppp-manager/nm-ppp-manager.c
8363 src/vpn-manager/Makefile.am
8364 src/vpn-manager/nm-vpn-connection.c
8366 - Use consolidated marshallers
8368 * src/dhcp-manager/nm-dhcp-marshal.list
8369 src/dhcp-manager/nm-dhcp-marshal-main.c
8370 src/supplicant-manager/nm-supplicant-marshal-main.c
8371 src/supplicant-manager/nm-supplicant-marshal.list
8372 src/nm-marshal-main.c
8374 src/ppp-manager/nm-ppp-marshal-main.c
8375 src/ppp-manager/nm-ppp-marshal.list
8376 src/vpn-manager/nm-vpn-marshal-main.c
8377 src/vpn-manager/nm-vpn-marshal.list
8380 2007-10-01 Dan Williams <dcbw@redhat.com>
8382 * include/NetworkManagerVPN.h
8383 - define VPN connection state change reason codes
8385 * src/vpn-manager/Makefile.am
8386 src/vpn-manager/nm-vpn-marshal.list
8387 src/vpn-manager/nm-vpn-marshal-main.c
8388 - Add marshallers for StateChanged signal
8390 * introspection/nm-vpn-connection.xml
8391 - New Banner property
8392 - StateChanged signal now includes a 'reason' argument
8394 * src/vpn-manager/nm-vpn-connection.c
8395 src/vpn-manager/nm-vpn-connection.h
8396 - Add a "Banner" property that contains the returned VPN server login
8397 banner (if any); valid only in the ACTIVATED state
8398 - (nm_vpn_connection_set_state, nm_vpn_connection_disconnect): now takes
8399 a 'reason' argument and emits that reason along with the
8400 state-changed signal
8401 - Fix up calls to nm_vpn_connection_set_state() to include a reason
8402 - (nm_vpn_connection_ip4_config_get): save banner for later
8403 - (nm_vpn_connection_get_banner, get_property,
8404 nm_vpn_connection_class_init): implement Banner property
8406 * src/vpn-manager/nm-vpn-service.c
8407 - (nm_vpn_service_connections_stop): take a reason argument; copy the
8408 connection list because elements may get added/removed from it
8409 while iterating over the list
8410 - (connection_state_changed): signal now includes the 'reason' argument
8412 * libnm-glib/nm-vpn-connection.c
8413 libnm-glib/nm-vpn-connection.h
8414 - (nm_vpn_connection_get_banner): new function
8415 - (state_changed_proxy): handle reason argument
8417 2007-09-28 Tambet Ingo <tambet@gmail.com>
8421 Implement device activation through NMManager.
8422 Implement "pending device activation" here - If the connection isn't found,
8423 we try to wait for up to 5 seconds for the connection to be provided.
8424 Add NMConnectionType argument to "connection-added" and "connection-removed"
8426 (nm_manager_get): Remove. Finally.
8428 * src/nm-activation-request.c:
8429 * src/nm-activation-request.h:
8430 Remove all the deferred activation code.
8432 * src/nm-device.c: Remove all the deferred activation code. Once the device
8433 activation is started, it's started. Update the activation virtual function
8436 * src/nm-device-interface.c:
8437 * src/nm-device-interface.h:
8438 Device activation now takes only NMActRequest argument.
8439 Don't expose device activation directly on dbus, it's supposed to go through
8442 * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Make the code
8444 Use the new device activation methods through NMManager.
8446 * introspection/nm-manager-client.xml:
8447 * introspection/nm-manager.xml:
8448 * libnm-glib/nm-client.c:
8449 * libnm-glib/nm-client.h:
8450 Add device activation method.
8452 * libnm-glib/nm-device.c:
8453 * libnm-glib/nm-device.h:
8454 * introspection/nm-device.xml:
8455 Remove device activation method. It's done through NMManager now.
8457 * src/vpn-manager/nm-vpn-manager.c (impl_vpn_manager_connect): Use the shiny
8458 new (nm_manager_get_device_by_path) function, get rid of our own )find_device).
8460 2007-09-28 Dan Williams <dcbw@redhat.com>
8462 * libnm-glib/nm-vpn-connection.c
8463 - (nm_vpn_connection_get_state): try to update state if the current
8466 2007-09-27 Dan Williams <dcbw@redhat.com>
8468 Patch from Bill Nottingham
8470 * src/supplicant-manager/nm-supplicant-config.c
8471 - (ADD_STRING_VAL): use correct length for binary blobs when sending
8472 data to the supplicant
8474 2007-09-27 Dan Williams <dcbw@redhat.com>
8476 * src/NetworkManagerSystem.c
8477 - (nm_system_vpn_device_set_from_ip4_config): clean up indentation;
8478 and all address manipulation here should be happening on the
8479 _VPN_ device, not the active device
8481 2007-09-26 Dan Williams <dcbw@redhat.com>
8485 src/nm-activation-request.c
8486 src/nm-activation-request.h
8487 - Move the GetSecrets stuff out of the NMManager instance because it
8488 doesn't really need to be there and complicates things
8491 - (connection_secrets_failed_cb, device_activation_go): connect to the
8492 connection-secrets-failed signal and deactivate the device if
8493 the GetSecrets call fails
8495 * src/nm-device-802-11-wireless.c
8496 - (link_timeout_cb, supplicant_connection_timeout_cb,
8497 real_act_stage2_config, real_act_stage4_ip_config_timeout): request
8498 secrets and give correct hints about whether new secrets should be
8499 asked for by the client or not
8501 2007-09-26 Dan Williams <dcbw@redhat.com>
8503 * src/vpn-manager/nm-vpn-connection.c
8504 - (nm_vpn_connection_set_state, clear_need_auth, finalize,
8505 connection_secrets_updated_cb, get_secrets_cb): don't need to attach
8506 to the secrets-updated signal of the NMConnection since updating
8507 the secrets is done within the scope of the NMVPNConnection object
8509 - (get_connection_secrets): fix an uninialized variable usage error
8511 2007-09-26 Dan Williams <dcbw@redhat.com>
8513 * libnm-util/nm-setting.c
8514 - (setting_vpn_properties_update_secrets): implement so VPN secrets
8515 actually get updated when the user enters them
8517 2007-09-26 Dan Williams <dcbw@redhat.com>
8519 * libnm-glib/nm-vpn-plugin.c
8520 - (impl_vpn_plugin_need_secrets): fix logic when no secrets are needed
8522 2007-09-26 Dan Williams <dcbw@redhat.com>
8524 * include/NetworkManagerVPN.h
8525 - Add a NEED_AUTH state
8527 * src/vpn-manager/nm-vpn-connection.c
8528 - Implement the NEED_AUTH state. First ask the VPN service plugin if
8529 the connection needs secrets, and if so, then ask the settings
8530 service to fill in the secrets. Then start the connection.
8532 2007-09-26 Dan Williams <dcbw@redhat.com>
8534 * src/vpn-manager/nm-vpn-manager.c
8535 - (new_vpn_error, impl_vpn_manager_connect): set errors
8537 2007-09-26 Dan Williams <dcbw@redhat.com>
8539 * introspection/nm-vpn-plugin.xml
8540 libnm-glib/nm-vpn-plugin.c
8541 libnm-glib/nm-vpn-plugin.h
8542 - (impl_vpn_plugin_need_secrets): implement a call that should return
8543 the name of the NMSetting in an NMConnection that may require
8544 secrets specific to that VPN plugin
8546 2007-09-26 Dan Williams <dcbw@redhat.com>
8550 - (nm_manager_get_connection_secrets): make static, unused outside
8552 - Provide NM_MANAGER_CONNECTION_PROXY_TAG for other users
8554 2007-09-26 Tambet Ingo <tambet@gmail.com>
8556 * libnm-glib/nm-vpn-plugin.c (nm_vpn_plugin_connect): Update the plugin activation
8558 (impl_vpn_plugin_connect): Convert properties hash to NMConnection, activate, and
8559 unreference the connection.
8561 * introspection/nm-vpn-plugin.xml: Modify the 'Connect' method arguments: instead of
8562 passing properties hash and routes string list, pass NMConnection (in hashed form).
8564 * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Return routes
8565 as GSList, no need to copy stuff around anymore.
8566 (nm_vpn_connection_activate): Update the plugin activation method.
8568 * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Convert
8569 routes argument to GSList.
8571 2007-09-26 Tambet Ingo <tambet@gmail.com>
8573 * src/nm-manager.c (manager_device_state_changed): Listen to device' NEED_AUTH
8574 state and try to get the secrets.
8576 * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Get the list of
8577 connections from NMManager and let the device to choose the best from the list.
8578 Since the connection list is sorted by system ones first and user ones later,
8579 the devices still prefer system connections like they did before.
8580 (deactivate_old_device): Implement. When a device starts activation, we have a
8581 policy (for now at least) to deactivate any other device that might be either
8582 active or still activating.
8584 * src/vpn-manager/nm-vpn-manager.c: Add NMManager back to the private structure.
8585 It's set on construction, there will be no other way to access it.
8587 * src/nm-device-802-11-wireless.c: Don't touch NMManager, NMManager can listen to
8588 device events and drive the device, not the other way around.
8590 * src/nm-device-802-3-ethernet.c: Ditto.
8592 * src/nm-device.c (nm_device_get_best_connection): The connections list is now
8593 sent along, pass it on to virtual functions.
8595 * src/nm-device-interface.c (nm_device_interface_get_iface): Implement. It's static
8596 for now, but should really be public instead of nm_device_get_iface() since iface
8597 is a property of the DeviceInterface, not Device.
8598 (impl_device_activate): Don't touch NMManager!
8600 2007-09-26 Jürg Billeter <j@bitron.ch>
8602 * initscript/paldo/NetworkManager.in:
8603 * initscript/paldo/NetworkManagerDispatcher.in:
8604 * src/backends/NetworkManagerPaldo.c: (nm_system_enable_loopback),
8605 (nm_system_flush_loopback_routes): update paldo backend
8607 2007-09-26 Tambet Ingo <tambet@gmail.com>
8609 * src/nm-device-802-3-ethernet.c (real_get_best_connection): Don't leak NMManager.
8610 The problem with leaking NMManager is that on shutdown, it doesn't get destroyed,
8611 which means none of the devices get brought down properly, which in turn leaves
8612 DHCP client running.
8614 * src/nm-device-802-11-wireless.c (real_get_best_connection): Ditto.
8615 (supplicant_connection_timeout_cb): Ditto.
8617 2007-09-25 Dan Williams <dcbw@redhat.com>
8620 - (device_activation_go): small hack to work around race when
8621 activating deferred connections; should solve this in a better way
8623 2007-09-25 Dan Williams <dcbw@redhat.com>
8625 * introspection/nm-device.xml
8626 libnm-glib/nm-device.c
8627 libnm-glib/nm-device.h
8628 - Add 'Carrier' property to exported NMDevice objects
8630 * src/nm-device-interface.h
8631 src/nm-device-interface.c
8633 - Add a 'carrier' property to internal NMDevice objects
8635 2007-09-25 Dan Williams <dcbw@redhat.com>
8637 * src/nm-device-802-11-wireless.c
8638 - (ap_auth_enforced): also return the encryption status of the AP so
8639 that callers can differentiate easily between unencrypted APs
8640 and encrypted ones, in addition to whether the AP has an
8642 - (link_timeout_cb, supplicant_connection_timeout_cb,
8643 real_act_stage4_ip_config_timeout): handle unencrypted APs better,
8644 previously would request secrets from unencrypted APs at times
8646 2007-09-25 Dan Williams <dcbw@redhat.com>
8649 - (nm_manager_update_state): new function; updates state and emits
8650 appropriate signals ensuring a state-change signal for the same state
8651 never gets emitted twice in a row.
8652 - (manager_device_state_changed): handle more device state to get a
8653 better picture of the overall NM state
8655 2007-09-25 Dan Williams <dcbw@redhat.com>
8657 * libnm-glib/nm-settings.c
8658 libnm-glib/nm-settings.h
8659 - (new_error -> nm_settings_new_error): make public so that subclasses
8660 can use the same error domain. Also pass a valid error code to
8661 g_error_new_literal() so that libdbus doesn't assert when converting
8662 the GError into a DBusError
8663 - (impl_settings_list_connections, impl_connection_settings_get_id,
8664 impl_connection_settings_get_settings,
8665 impl_connection_settings_get_secrets): use new error creator
8668 2007-09-25 Dan Williams <dcbw@redhat.com>
8670 * src/NetworkManager.c
8671 - (nm_signal_handler, main): don't ignore SIGTERM/SIGINT during startup
8673 2007-09-25 Dan Williams <dcbw@redhat.com>
8675 * src/supplicant-manager/nm-supplicant-manager.c
8676 - (poke_supplicant_cb, nm_supplicant_manager_init,
8677 nm_supplicant_manager_dispose, nm_supplicant_manager_name_owner_changed,
8678 nm_supplicant_manager_startup): when the supplicant isn't running,
8679 try to start it periodically via system bus activation. Fixes
8680 a problem where if wpa_supplicant goes away, NM gets stuck waiting
8681 for the supplicant to come back
8683 2007-09-25 Dan Williams <dcbw@redhat.com>
8685 Ensure that old activation requests are forgotten about; previously
8686 hitting Cancel in the password dialog would deactivate whatever device
8687 that password was requested for, even if that wasn't the currently
8688 activating connection.
8692 - (nm_manager_get_connection_secrets): track the pending call
8693 object so it can be canceled later if needed
8694 - (nm_manager_cancel_get_connection_secrets): cancel a pending
8695 GetSecrets call for a particular connection
8697 * src/nm-activation-request.c
8698 - (dispose): cancel any outstanding GetSecrets calls on the
8701 2007-09-25 Dan Williams <dcbw@redhat.com>
8703 * src/NetworkManagerPolicy.c
8704 - (nm_policy_device_change_check): handle devices that have a
8705 deferred activation. These devices are not really active _yet_,
8706 but need to be treated as such here. Don't interrupt them
8709 * src/nm-device-interface.c
8710 - (impl_device_activate): handle devices that have a deferred activation
8711 like activating or active devices. When multiple active devices
8712 get committed, the device shouldn't be deactivated until the
8713 connection details are available to avoid DoS and such. Currently,
8714 any active, activating, or deferred activation device is deactivated
8715 here before starting the new activation request.
8717 2007-09-25 Dan Williams <dcbw@redhat.com>
8719 Properly re-query secrets from the settings daemon when stuff fails.
8721 * src/nm-device-802-11-wireless.c
8722 - (ap_auth_enforced): handle static WEP correctly here by differentiating
8723 between Shared Key and Open System auth modes
8724 - (link_timeout_cb, supplicant_connection_timeout_cb,
8725 real_act_stage4_ip_config_timeout): clear existing secrets and
8726 request new ones when something fails due to a suspected wrong key
8727 - (real_act_stage2_config): fix for new request_new argument to
8728 nm_manager_get_connection_secrets()
8732 - (nm_manager_get_connection_secrets): return error status; pass
8733 new request_new argument on to the settings daemon
8735 * introspection/nm-settings-connection.xml
8736 - New 'request_new' argument to the GetSecrets call that hints to the
8737 settings daemon to ask the user for completely new secrets
8739 * libnm-glib/nm-settings.c
8740 libnm-glib/nm-settings.h
8741 - (impl_connection_settings_get_secrets): handle new 'request_new'
8744 2007-09-25 Dan Williams <dcbw@redhat.com>
8746 * libnm-util/nm-connection.c
8747 libnm-util/nm-connection.h
8748 - (nm_connection_clear_secrets): new function; clear secrets out of
8749 each NMSetting in an NMConnection
8751 * libnm-util/nm-setting.h
8752 libnm-util/nm-setting.c
8753 - (nm_setting_clear_secrets, default_setting_clear_secrets): clear
8754 secrets out of an NMSetting
8755 - (nm_setting_connection_new, nm_setting_ip4_config_new,
8756 nm_setting_wired_new, nm_setting_wireless_new,
8757 nm_setting_wireless_security_new, nm_setting_ppp_new,
8758 nm_setting_vpn_new, nm_setting_vpn_properties_new): set clear_secrets
8759 to default handler default_setting_clear_secrets()
8761 2007-09-25 Dan Williams <dcbw@redhat.com>
8763 * src/nm-activation-request.c
8764 src/nm-activation-request.h
8765 - (nm_act_request_is_deferred): new function
8767 2007-09-24 Dan Williams <dcbw@redhat.com>
8769 * src/nm-device-802-11-wireless.c
8770 - (activation_success_handler): update signal strength immediately
8773 2007-09-24 Dan Williams <dcbw@redhat.com>
8775 * libnm-util/nm-setting.c
8776 - (verify_wep_key): 40-bit WEP keys are 10 bytes long, not 13
8778 2007-09-24 Dan Williams <dcbw@redhat.com>
8780 * src/NetworkManagerPolicy.c
8781 - (nm_policy_auto_get_best_device): don't interrupt activation of a
8782 device by deactivating it because it doesn't have a "best connection".
8783 Since autoconnect=False connections aren't automatically chosen,
8784 NM would interrupt activation of such a connection because it
8785 would never be "best" due to autoconnect=False.
8787 2007-09-24 Dan Williams <dcbw@redhat.com>
8790 - (nm_manager_get_connection_secrets): Add a long timeout so the user
8791 actually has some time to enter a key before the GetSecrets call
8794 2007-09-24 Dan Williams <dcbw@redhat.com>
8796 * introspection/nm-manager.xml
8798 - (impl_manager_legacy_state): fix 'state' method call return value
8800 2007-09-24 Matthias Clasen <mclasen@redhat.com>
8802 * test/Makefile.am: Install nm-tool
8804 2007-09-24 Dan Williams <dcbw@redhat.com>
8806 Patch from Ross Burton <ross@burtonini.com>
8809 callouts/nm-dhcp-client-action.c
8811 src/vpn-manager/nm-vpn-connection.c
8812 libnm-glib/libnm-glib-test.c
8815 2007-09-24 Dan Williams <dcbw@redhat.com>
8817 * libnm-util/nm-utils.h
8818 libnm-util/nm-utils.c
8819 - (nm_dbus_send_with_callback_replied, nm_dbus_send_with_callback):
8822 2007-09-23 Dan Williams <dcbw@redhat.com>
8824 * vpn-daemons/vpnc/properties/nm-vpnc.c
8825 - Update for new VPN properties API bits; instead of passing around
8826 a lot of random things, everything goes into the NMConnection
8829 2007-09-23 Dan Williams <dcbw@redhat.com>
8831 * libnm-util/nm-setting.c
8832 - Correctly dispose of settings objects if creating them from a hash
8835 2007-09-23 Dan Williams <dcbw@redhat.com>
8837 * libnm-util/nm-setting.c
8838 - (property_value_destroy, nm_setting_vpn_properties_new): initialize
8839 the hash table in a standard manner. Clients of libnm-util should
8840 only call g_hash_table_remove_all(), never destroy the hash table
8843 2007-09-22 Dan Williams <dcbw@redhat.com>
8845 * src/nm-device-802-11-wireless.c
8846 - (real_bring_up): update signal strength every 6 seconds, not 2. No
8847 real reason to do it so often, and reduces wakeups for clients.
8849 2007-09-21 Dan Williams <dcbw@redhat.com>
8851 * src/nm-device-802-11-wireless.c
8852 - (build_supplicant_config): wpa_supplicant requires the option
8853 key_mgmt=NONE for unencrypted networks
8854 - (real_act_stage2_config): clarify log message on activation
8856 2007-09-21 Dan Williams <dcbw@redhat.com>
8858 * test/nm-supplicant-test.c
8860 - Remove supplicant test binary; no longer applicable
8862 2007-09-21 Dan Williams <dcbw@redhat.com>
8864 * src/supplicant-manager/nm-supplicant-manager.c
8865 - (nm_supplicant_manager_init): poke the supplicant at startup to
8866 activate it on the system bus
8868 2007-09-20 Dan Williams <dcbw@redhat.com>
8870 * initscript/RedHat/NetworkManager.in
8871 - dhcdbd is no longer used, so don't try to start it from the initscripts
8873 2007-09-20 Dan Williams <dcbw@redhat.com>
8876 - (nm_device_is_activating): work around a race between auto-activation
8877 and the user activating the same device that is being auto-activated
8879 2007-09-20 Dan Williams <dcbw@redhat.com>
8881 * src/nm-device-interface.c
8882 - (impl_device_activate): until multiple active device support lands,
8883 ensure only one device can be active at a time
8885 2007-09-20 Dan Williams <dcbw@redhat.com>
8887 * src/supplicant-manager/nm-supplicant-config.c
8888 src/supplicant-manager/nm-supplicant-config.h
8889 - (nm_supplicant_config_add_option): hide secrets from system logs
8891 2007-09-20 Dan Williams <dcbw@redhat.com>
8893 * src/NetworkManagerPolicy.c
8894 - (nm_policy_device_change_check): re-enable the wireless device change
8895 checking code; insted of checking for SSIDs, check for the same
8898 2007-09-20 Dan Williams <dcbw@redhat.com>
8900 * src/nm-device-802-11-wireless.c
8901 - (supplicant_iface_connection_state_cb_handler): don't use the card's
8902 composite link state when determining when to start the disconnection
8903 timer; that link state is already based on the supplicant interface's
8904 status which is exactly what's already being examined, plus the link
8905 state is a conglomeration of various things that we don't want here
8907 2007-09-20 Dan Williams <dcbw@redhat.com>
8909 * libnm-glib/nm-access-point.c
8910 - (handle_property_changed): strength is a UCHAR
8912 2007-09-20 Dan Williams <dcbw@redhat.com>
8914 * src/supplicant-manager/nm-supplicant-config.c
8915 - (nm_supplicant_config_add_setting_wireless_security): uppercase
8916 string list keywords too since that's what wpa_supplicant wants
8918 2007-09-20 Dan Williams <dcbw@redhat.com>
8920 * libnm-util/nm-setting.c
8921 - (convert_strv_to_slist): dupe the values in the list because since
8922 the list is a boxed value, it'll get destroyed when it's container
8923 (like a hash table or whatever) gets destroyed
8925 2007-09-20 Tambet Ingo <tambet@gmail.com>
8927 * libnm-util/nm-setting.h: Change the type of NMSettingVPN->routes to
8930 * libnm-util/nm-setting.c (setting_vpn_destroy): Free routes too.
8932 * src/nm-manager.c (connection_get_settings_cb): No need to use weakref,
8933 just use (g_object_set_data_full).
8935 * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Now
8936 that NMSettingVPN->routes is a GSList, convert it to char **.
8937 (nm_vpn_connection_ip4_config_get): Free routes when done.
8938 (nm_vpn_connection_activate): Ditto.
8940 * src/nm-device-802-11-wireless.c (real_connection_secrets_updated)
8941 (real_act_stage2_config): Use defined setting names.
8943 2007-09-20 Dan Williams <dcbw@redhat.com>
8945 * src/nm-device-802-11-wireless.c
8948 - Pass an NMDeviceInterface into nm_manager_get_connection_secrets()
8949 so that the device can be deactivated if secrets are wrong
8951 2007-09-20 Dan Williams <dcbw@redhat.com>
8953 * introspection/nm-settings-connection.xml
8954 libnm-glib/nm-settings.c
8955 libnm-glib/nm-settings.h
8956 - Make GetSecrets asynchronous on the server side
8958 2007-09-20 Dan Williams <dcbw@redhat.com>
8962 - (nm_device_activate): actually check if a given connection
8963 exists before assuming it doesn't
8965 2007-09-20 Tambet Ingo <tambet@gmail.com>
8967 * libnm-util/nm-connection.c (register_default_creators): Use defined
8968 setting names. Register NMSettingVPN and NMSettingVPNProperties.
8970 * libnm-util/nm-setting.c: Define property name strings, use them.
8971 Implement NMSettingVPN and NMSettingVPNProperties settings.
8972 Implement NM_S_TYPE_GVALUE_HASH.
8973 (nm_setting_populate_from_hash): Handle NM_S_TYPE_GVALUE_HASH.
8974 (setting_connection_verify): Rename 'devtype' property to 'type'.
8976 * introspection/nm-vpn-manager.xml: Use NMConnection for VPN service
8979 * src/vpn-manager/nm-vpn-service.c: Ditto.
8981 * src/vpn-manager/nm-vpn-connection.c: Ditto.
8983 * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_connect): Ditto.
8984 (nm_vpn_manager_new): Remove NMManager argument, it's easy enough to get.
8986 * src/nm-device-802-11-wireless.c (find_best_connection): Use defined setting
8987 names. NMSettingConnection->devtype got renamed to 'type'.
8989 * src/nm-device-802-3-ethernet.c (find_best_connection):
8990 (real_get_best_connection): Ditto.
8992 * src/NetworkManager.c (main): Update the vpn manager creation arguments.
8994 * libnm-glib/nm-vpn-manager.[ch]: Update.
8996 2007-09-19 Dan Williams <dcbw@redhat.com>
8998 * src/NetworkManagerAP.c
8999 src/NetworkManagerAP.h
9000 introspection/nm-access-point.xml
9001 - Change strength-changed signal into a properties-changed signal
9002 for all properties, not just strength. Export that signal over dbus
9003 so listeners don't have to poll NM for changes.
9004 - (nm_ap_export_to_dbus, nm_ap_new): not every NMAccessPoint should
9005 get exported over D-Bus, so break up the logic and let other bits
9006 decided when to export the AP
9007 - (nm_ap_new_from_ap): remove, unused
9009 * src/nm-device-802-11-wireless.c
9010 - (merge_scanned_ap): only export APs that are actually on the device
9011 list, not every AP created internally
9013 * libnm-glib/nm-access-point.c
9014 libnm-glib/nm-access-point.h
9015 - Cache properties internally and only hit DBus when needed. Get
9016 property updates from NM signals
9018 2007-09-16 Dan Williams <dcbw@redhat.com>
9020 * libnm-util/nm-connection.c
9021 libnm-util/nm-connection.h
9022 - (nm_connection_for_each_setting_value): new function; iterate over
9023 each setting's value and call a user-provided function with details
9026 * libnm-util/nm-setting.c
9027 libnm-util/nm-setting.h
9028 - (nm_setting_enumerate_values): new function; enumerate the values
9029 of a specific NMSetting subclass for a user-provided function with
9030 details about that value
9031 - Change wep_tx_keyidx to a uint32
9032 - Create settings value tables for each setting defining their type,
9033 key name, offset into the NMSetting subclass' structure, and whether
9034 they are required and/or a secret
9035 - (nm_setting_populate_from_hash): generic function to populate an
9036 NMSetting from a GHash table, make all settings use it
9037 - (nm_setting_hash): generic function to derive a GHashTable from
9038 an NMSetting object, make all settings use it
9040 2007-09-14 Dan Williams <dcbw@redhat.com>
9042 Remove unused stuff in libnm-util
9045 libnm-util/Makefile.am
9046 libnm-util/cipher-private.h
9047 libnm-util/cipher-wep-ascii.c
9048 libnm-util/cipher-wep-ascii.h
9049 libnm-util/cipher-wep-hex.c
9050 libnm-util/cipher-wep-hex.h
9051 libnm-util/cipher-wep-passphrase.c
9052 libnm-util/cipher-wep-passphrase.h
9053 libnm-util/cipher-wpa-psk-hex.c
9054 libnm-util/cipher-wpa-psk-hex.h
9055 libnm-util/cipher-wpa-psk-passphrase.c
9056 libnm-util/cipher-wpa-psk-passphrase.h
9059 libnm-util/dbus-helpers.c
9060 libnm-util/dbus-helpers.h
9061 libnm-util/gnome-keyring-md5.c
9062 libnm-util/gnome-keyring-md5.h
9065 src/nm-device-802-11-wireless.c
9066 test/libnm-util/Makefile.am
9067 test/libnm-util/test-ciphers.c
9068 test/libnm-util/test-dbus-helpers.c
9069 test/libnm-util/test-inputs.h
9072 2007-09-14 Dan Williams <dcbw@redhat.com>
9074 * libnm-util/dbus-method-dispatcher.c
9075 libnm-util/dbus-method-dispatcher.h
9078 2007-09-14 Dan Williams <dcbw@redhat.com>
9080 Implement deferred activation support in the device class.
9082 * src/nm-device-interface.c
9083 src/nm-device-interface.h
9084 - (nm_device_interface_activate): take more arguments to support
9085 deferred activation; callers must pass one of (connection) OR
9086 (service_name, connection_path)
9087 - (impl_device_activate): connection validation is punted to the device
9088 to be able to handle deferred activation. Yes, this means errors
9089 don't get returned from the Activate() dbus call, and yes, that
9090 should be fixed somehow later.
9094 - (clear_act_request): clear additional deferred activation stuff too
9095 - (deferred_activation_timeout_cb): new function; clean up when
9096 deferred activation times out.
9097 - (deferred_activation_start_cb): new function; when the connection
9098 finally becomes available, start device activation
9099 - (nm_device_activate): attach to the right signals of the activation
9100 request if we need to defer activation until the connection is valid
9102 * src/NetworkManagerPolicy.c
9103 - (nm_policy_device_change_check): update for additional arguments
9104 required for nm_device_interface_activate(). Pass NULL for these
9105 though because this function already knows exactly which
9108 2007-09-14 Dan Williams <dcbw@redhat.com>
9110 Implement deferred activation handling in the NMActRequest class. When a
9111 client wants to activate a device but must create the NMConnection details
9112 on the fly, there likely hasn't been enough time yet for NM to receive the
9113 new connection signal and grab all the connection details. So the
9114 activation is deferred (and bounded by a timer) for a while, and if the
9115 connection appears within the window, it is activated.
9117 * src/nm-activation-request.c
9118 src/nm-activation-request.h
9119 - (nm_act_request_class_init): two new signals to support deferred
9120 activation, to allow the listener to handle both timeout and success
9121 - (nm_act_request_new_deferred): new function, starts the deferred
9122 activation timeout handler and listens to the NMManager for
9123 new-connection signals to notice when the connection comes in
9125 2007-09-14 Dan Williams <dcbw@redhat.com>
9129 - (nm_manager_get_connection_service_name,
9130 nm_manager_get_connection_dbus_path): get details about a connection
9131 known internally by the NMManager
9132 - (nm_manager_class_init): fix connection add/remove signal marshalers
9133 because NMConnection is now a GObject subclass
9134 - Use constant for the gobject data tag used on NMConnection objects for
9135 storing the associated DBusGProxy
9137 2007-09-14 Dan Williams <dcbw@redhat.com>
9142 src/supplicant-manager/Makefile.am
9143 src/dhcp-manager/Makefile.am
9144 src/backends/Makefile.am
9145 src/named-manager/Makefile.am
9146 src/ppp-manager/Makefile.am
9147 src/vpn-manager/Makefile.am
9148 test/libnm-util/Makefile.am
9149 test/test-common/Makefile.am
9150 - Remove utils/; it was unused
9152 2007-09-13 Dan Williams <dcbw@redhat.com>
9154 * libnm-glib/nm-vpn-manager.h
9155 libnm-glib/nm-vpn-manager.c
9156 - (nm_vpn_manager_connect): take routes as a GSList, not a char **
9158 2007-09-13 Dan Williams <dcbw@redhat.com>
9160 * src/nm-device-802-3-ethernet.c
9161 - (real_bring_down, nm_device_802_3_ethernet_dispose): disconnect from
9162 netlink monitor carrier signals on dispose, not bring down. The
9163 carrier signals should be handled over the entire lifetime of the
9164 device anyway, not created/destroyed on up or down.
9166 2007-09-13 Dan Williams <dcbw@redhat.com>
9168 * libnm-glib/nm-device.c
9169 libnm-glib/nm-device.h
9170 - (nm_device_activate): take a connection object path rather than an
9171 NMConnection because NMConnection isn't exported over D-Bus and
9172 therefore it dbus-glib can't automatically get an object path from it
9174 2007-09-13 Dan Williams <dcbw@redhat.com>
9176 * libnm-util/nm-setting.c
9177 - (nm_setting_wired_new): set autonegotiate to TRUE by default
9179 2007-09-13 Tambet Ingo <tambet@gmail.com>
9181 * autogen.sh: NetworkManagerMain.h is gone, check for NetworkManager.c.
9183 2007-09-12 Tambet Ingo <tambet@gmail.com>
9185 * src/vpn-manager/nm-vpn-connection.[ch]:
9186 * src/vpn-manager/nm-vpn-manager.[ch]:
9187 * src/vpn-manager/nm-vpn-service.[ch]: Rewrite the vpn handling code. Using
9188 dbus-glib, GObjects, signals etc.
9190 * libnm-glib/nm-vpn-manager.[ch]:
9191 * libnm-glib/nm-vpn-connection.[ch]: Now that the NM implementation changed
9192 so much, rewrite these too.
9194 * libnm-glib/Makefile.am: Add new files to build, build new binding files for
9195 the new introspection files.
9197 * libnm-glib/nm-client.[ch]: Remove all VPN related stuff from here.
9199 * libnm-glib/nm-dbus-utils.[ch]: Renamed from nm-utils.[ch] that was shadowing
9200 the header with the same name from libnm-utils.
9202 * libnm-glib/nm-vpn-plugin.[ch]: Implement.
9204 * libnm-util/Makefile.am: Add nm-utils.[ch] to build.
9206 * introspection/nm-vpn-plugin.xml: Implement.
9208 * introspection/nm-vpn-connection.xml: Implement.
9210 * introspection/nm-vpn-manager.xml: Implement.
9212 * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Remove
9213 the named manager argument, it can just as easily get it as the caller.
9214 (nm_system_vpn_device_unset_from_ip4_config): Ditto.
9216 * src/vpn-manager/nm-dbus-vpn.[ch]: Remove.
9218 * src/nm-dbus-manager.h: Fix up the name_owner signal signature.
9220 * src/dhcp-manager/nm-dhcp-manager.c (garray_to_string): Remove, use one from
9223 * libnm-util/nm-connection.c: Ditto.
9225 * src/NetworkManagerMain.h: Remove, it's finally empty.
9227 * configure.in: Remove utils/ from build.
9229 * include/NetworkManagerVPN.h: Add some more defines to reduce the amount
9230 of hard-coded strings.
9232 * utils/: Move it over to libnm-util.
9234 * test/Makefile.am: Link against libnm-util now that util/ is gone.
9236 * dispatcher-daemon/Makefile.am: Ditto.
9238 * src/Makefile.am: Ditto.
9240 2007-09-12 Dan Williams <dcbw@redhat.com>
9242 Wireless connections can be made with config data from the applet now.
9246 * src/supplicant-manager/nm-supplicant-config.h
9247 src/supplicant-manager/nm-supplicant-config.c
9248 - (nm_supplicant_config_new): kill unused init parameter 'iface'
9249 - (nm_supplicant_config_add_setting_wireless,
9250 nm_supplicant_config_add_setting_wireless_security): new functions;
9251 add key/value pairs from the settings objects to the supplicant
9254 * src/nm-device-802-11-wireless.c
9255 - (cull_scan_list): fix check to not prune currently associated AP
9256 - (build_supplicant_config, real_act_stage2_config): call the functions
9257 of the NMSupplicantConfig that parse settings objects rather than
9258 doing it manually here
9260 2007-09-12 Dan Williams <dcbw@redhat.com>
9262 * src/supplicant-manager/nm-supplicant-interface.c
9263 src/supplicant-manager/nm-supplicant-marshal.list
9264 - (nm_supplicant_interface_class_init): fix stupid mistake, the
9265 "connection-error" signal arguments should be STRING not CHAR
9267 2007-09-12 Dan Williams <dcbw@redhat.com>
9269 * src/NetworkManagerUtils.c
9270 src/NetworkManagerUtils.h
9271 - (nm_utils_hexstr2bin): new function
9273 2007-09-11 Dan Williams <dcbw@redhat.com>
9276 - (connection_get_settings_cb): emit connection-added signal
9277 - (connection_removed_cb): uncomment bits for system settings service,
9278 send connection-removed when appropriate
9279 - (nm_manager_get_connection_secrets, get_secrets_cb): don't clobber
9280 the stack by trying to g_object_set_data() on something that's
9281 not a GObject; handle case where settings service returns
9282 empty settings hash table
9284 2007-09-11 Dan Williams <dcbw@redhat.com>
9286 * src/NetworkManagerPolicy.c
9287 - (connection_added, connection_removed): trigger device change checks
9288 on connection changes
9290 2007-09-11 Dan Williams <dcbw@redhat.com>
9292 * src/nm-activation-request.c
9293 - (connection_secrets_updated_cb): fix c&p error in signal emission
9295 2007-09-11 Dan Williams <dcbw@redhat.com>
9297 * src/nm-device-802-11-wireless.c
9298 - (real_connection_secrets_updated): fix erroneous check
9300 2007-09-11 Dan Williams <dcbw@redhat.com>
9302 * introspection/nm-device.xml
9303 libnm-glib/nm-device.c
9304 libnm-glib/nm-device.c
9305 - Fix Activate call argument borkage; Activate takes 3 arguments
9307 2007-09-11 Dan Williams <dcbw@redhat.com>
9309 * libnm-glib/nm-access-point.c
9310 libnm-glib/nm-access-point.c
9311 - (nm_access_point_get_frequency): now returns guint32 to match
9312 property change on 2007-09-10
9314 2007-09-11 Dan Williams <dcbw@redhat.com>
9316 * src/nm-device-802-11-wireless.c
9317 - (nm_device_802_11_wireless_new): s/index/idx, stupid system header
9318 somewhere defines 'index' and I missed this one when I fixed the
9319 shadow declaration errors earlier
9321 2007-09-11 Dan Williams <dcbw@redhat.com>
9323 * libnm-util/nm-connection.c
9324 - (nm_connection_update_secrets, need_secrets_check): move
9325 802-11-wireless-security need_secrets checks to the setting object
9326 itself, where it belongs
9328 * libnm-util/nm-setting.c
9329 libnm-util/nm-setting.h
9330 - (nm_setting_need_secrets): new function
9331 - (setting_wireless_security_verify,
9332 nm_setting_wireless_security_new_from_hash): make 'key-mgmt' required
9333 - (setting_wireless_security_need_secrets): mostly copy code over
9334 from nm-connection.c
9336 2007-09-11 Dan Williams <dcbw@redhat.com>
9338 * libnm-util/nm-setting.c
9339 libnm-util/nm-setting.h
9340 - (nm_setting_update_secrets): new function; add a virtual function that
9341 subclasses can implement to update their secrets
9342 - (setting_wireless_security_update_secrets): implement that function
9343 for the 802-11-wireless-security subclass
9345 * libnm-util/nm-connection.c
9346 libnm-util/nm-connection.h
9347 - (nm_connection_update_secrets): update secrets for a Setting and
9348 emit a signal on success
9353 - (connection_get_settings_cb): enable system settings bits
9354 - (nm_manager_get_connection_secrets, get_secrets_cb): add function
9355 to request secrets from the settings dbus service and to
9356 push those secrets to the NMConnection itself
9358 * src/nm-activation-request.c
9359 src/nm-activation-request.h
9360 - Attach to the 'secrets-updated' signal of the NMConnection that's
9361 currently being activated, and proxy that signal to other listeners.
9362 Goes through the activation request because the activation request
9363 is the thing that manages the lifetime of the NMConnection that's
9366 * src/nm-device-802-11-wireless.c
9367 - (real_connection_secrets_updated): implement the connection secrets
9368 updated notification and restart activation when secrets are
9370 - (real_act_stage2_config): request secrets from the settings dbus
9371 service if secrets are needed
9375 - (clear_act_request, nm_device_activation_cancel,
9376 nm_device_deactivate_quickly, nm_device_dispose): consolidate places
9377 where the activation request is cleared
9378 - (nm_device_activate, connection_secrets_updated_cb): attach to the
9379 updated secrets signal of activation request and add a function
9380 that subclasses can override to handle it easily
9382 2007-09-11 Tambet Ingo <tambet@gmail.com>
9384 * src/backends/NetworkManagerSuSE.c: Fix a build issue caused by the
9385 removal of NetworkManagerAPList.
9387 2007-09-10 Dan Williams <dcbw@redhat.com>
9389 * src/NetworkManagerAP.c
9390 src/NetworkManagerAP.h
9391 introspection/nm-access-point.xml
9392 - Change 'freq' property to a guint32 instead of a double since we
9393 weren't using the floating point bits anyway
9395 2007-09-10 Dan Williams <dcbw@redhat.com>
9397 * NetworkManagerAP.c
9399 NetworkManagerPolicy.c
9400 NetworkManagerSystem.c
9401 NetworkManagerUtils.c
9402 NetworkManagerUtils.h
9403 nm-device-802-11-wireless.c
9404 nm-device-802-3-ethernet.c
9407 vpn-manager/nm-dbus-vpn.c
9408 - Warning fixes; casts and removal of unused variables
9410 2007-09-10 Dan Williams <dcbw@redhat.com>
9412 * include/NetworkManager.h
9413 - Kill NMNetworkType; AP types don't matter any more
9415 * src/NetworkManagerAPList.c
9416 src/NetworkManagerAPList.h
9418 - Kill; NMAccessPointList has outlived it's usefulness
9420 * src/NetworkManagerAP.c
9421 src/NetworkManagerAP.h
9422 - (match_cipher, security_compatible, nm_ap_check_compatible): new
9423 functions; check if an NMConnection object is compatible with the
9425 - (freq_to_channel, channel_to_freq): utility functions for
9426 channel <-> frequency conversion
9430 - (nm_device_get_best_connection): pass the specific object around
9431 (which might be the object path of a specific AP to connect to).
9432 The get_best_connection() call should populate this on return
9433 if needed (wireless does).
9435 * src/nm-device-802-3-ethernet.c
9436 - (real_get_best_connection): handle specific_object argument
9438 * src/NetworkManager.c
9439 src/NetworkManagerMain.h
9440 - Remove unused includes
9442 * src/nm-device-802-11-wireless.c
9443 src/nm-device-802-11-wireless.h
9444 - Convert the ap_list into a GSList from an NMAccessPointList
9445 - No need for caching the 'activation_ap' since this is now determined
9446 from the specific_object of the activation request, which is
9447 populated from the get_best_connection() call or from a user request
9448 - (nm_device_802_11_wireless_update_bssid): fix warning
9449 - (get_wireless_capabilities): fix error message format arguments
9450 - (nm_device_802_11_wireless_copy_allowed_to_dev_list): remove, unused
9451 - (find_best_connection, real_get_best_connection): implement
9452 - (ap_list_get_ap_by_ssid, nm_device_802_11_wireless_ap_list_print):
9453 move here from NetworkManagerAPList
9454 - (ap_need_secrets): remove; moved to nm-connection.c where it belongs
9455 - (real_act_stage1_prepare): just ensure an AP exists, connection is
9456 already verified earlier
9457 - (real_act_stage2_config): use nm_connection_need_secrets()
9459 * src/NetworkManagerPolicy.c
9460 - (nm_policy_auto_get_best_device): handle specific objects
9461 - (create_connection): remove; automatic connection creation functionality
9462 is handled by the Connection objects
9463 - (nm_policy_device_change_check): handle specific_object
9465 * libnm-util/nm-connection.c
9466 - (wireless_sec_need_secrets, nm_connection_need_secrets): implement
9468 2007-09-10 Dan Williams <dcbw@redhat.com>
9471 - (query_connections): fix uninitialized variable problem that caused
9473 - (nm_manager_add_device): take devices down on startup so that we can
9474 be assured that nm_device_is_up() won't short-circuit the init
9475 process. Hack until the is_up check gets split into two pieces
9476 that aren't behaviorally confusing.
9478 2007-09-09 Dan Williams <dcbw@redhat.com>
9480 * introspection/nm-device.xml
9481 - The 'Activate' method now takes 3 arguments, a service name for the
9482 settings service (user or system), the object path of the connection
9483 to activate, and the specific object to activate, if any
9485 * src/nm-device-interface.c
9486 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
9488 - (impl_device_activate): adapt to new Activate arguments; validate
9489 the service name and get the Connection object from the NMManager
9490 before starting to activate the device with the specified connection
9492 * src/nm-device-802-3-ethernet.c
9493 - (real_get_best_connection): find the best connection, or create a
9494 default one if no existing connections can be used
9496 * src/NetworkManagerPolicy.c
9497 - (nm_policy_auto_get_best_device): Get the device's best connection
9498 and only pick the device if it has one
9499 - (nm_policy_device_change_check): disable wireless bits for now until
9500 wireless get_best_connection() can be implemented (replacing "best_ap");
9501 don't create a default connection here as the device subclass will do
9506 - (nm_manager_get): make NMManager a singleton and expose the getter
9508 - Rework internal NMManager connection handling to use the same
9509 routines for both the system and user settings services. Most calls
9510 take a new NMConnectionType argument specifying either system or user
9512 - (nm_manager_get_connection_by_object_path): new function; get a
9513 connection keyed on its object path
9515 * src/NetworkManager.c
9516 - (main): use nm_manager_get()
9518 2007-09-09 Dan Williams <dcbw@redhat.com>
9522 - (nm_device_get_best_connection): new function; get best connection
9523 for the device at that time
9525 2007-09-09 Dan Williams <dcbw@redhat.com>
9527 * src/nm-device-interface.h
9528 - Add NMDeviceInterfaceError with an UnknownConnection error
9530 2007-09-09 Dan Williams <dcbw@redhat.com>
9532 Stupid mistake on my part; object path and interface for settings service
9533 and connection objects can be the same, only the service name must be
9534 different for the system and user settings services.
9536 * include/NetworkManager.h
9538 introspection/nm-settings-connection.xml
9539 introspection/nm-settings.xml
9540 libnm-glib/nm-settings.c
9541 - (nm_connection_settings_init, query_user_connections,
9542 new_connection_cb): Unify NetworkManagerSettings and Connection
9543 interface name and object path
9545 2007-09-06 Dan Williams <dcbw@redhat.com>
9547 * libnm-glib/nm-object.c
9548 - (nm_object_get_string_property, nm_object_get_object_path_property,
9549 nm_object_get_int_property, nm_object_get_uint_property,
9550 nm_object_get_boolean_property, nm_object_get_byte_property,
9551 nm_object_get_double_property, nm_object_get_byte_array_property):
9552 clear GValues after copying their contents, fixes memory leaks
9553 after every property access because dbus-glib copies the values
9554 from the DBusMessage into the GValue already.
9556 2007-09-06 Dan Williams <dcbw@redhat.com>
9558 * introspection/nm-access-point.xml
9559 - Fix WpaFlags and RsnFlags property names to be what dbus-glib expects
9560 them to be. There's some magic property name parsing going on in
9561 dbus-glib that breaks up property names based on studly-caps and
9562 puts - between words.
9564 * libnm-glib/nm-access-point.c
9565 - (nm_access_point_get_wpa_flags, nm_access_point_get_rsn_flags):
9568 2007-09-06 Dan Williams <dcbw@redhat.com>
9571 - (nm_manager_user_connections_destroy): clear the user connections hash
9572 table, don't destroy it
9573 - (finalize): only destroy the hash table on NMManager finalization
9575 2007-09-02 Dan Williams <dcbw@redhat.com>
9577 * include/NetworkManager.h
9578 libnm-glib/nm-settings.c
9579 - defines for the user settings daemon D-Bus bits
9581 * src/NetworkManager.c
9582 - Remove stuff that referred to the old NetworkManagerInfo service
9584 * src/vpn-manager/nm-dbus-vpn.h
9585 - Move old NMI defines to the only place they are used still
9587 * libnm-util/nm-connection.c
9588 libnm-util/nm-connection.h
9589 src/nm-activation-request.c
9590 - Make NMConnection a GObject subclass so we can do spiffy stuff with it
9594 - Get connections and their settings from the user settings daemon
9595 at the appropriate times
9597 2007-09-02 Dan Williams <dcbw@redhat.com>
9599 * libnm-util/nm-setting.c
9600 - (nm_settings_verify): correct setting name is 'connection', not 'info'
9601 - (setting_wireless_hash): set the right value on the item
9603 2007-09-02 Dan Williams <dcbw@redhat.com>
9607 - Remove, no longer useful
9609 2007-08-30 Dan Williams <dcbw@redhat.com>
9612 src/NetworkManagerDbus.c
9613 src/NetworkManagerDbus.h
9614 src/vpn-manager/nm-dbus-vpn.c
9615 - Remove, no longer necessary. Move last bits to the only place its
9616 used, in nm-dbus-vpn.c
9618 * src/NetworkManagerAPList.c
9620 src/NetworkManager.c
9621 src/nm-device-802-11-wireless.c
9622 src/vpn-manager/nm-vpn-manager.c
9623 src/vpn-manager/nm-vpn-service.c
9624 src/NetworkManagerPolicy.c
9626 - Remove usage of NetworkManagerDbus.h, and kill the obfuscation
9627 that was message_is_error()
9629 2007-08-30 Dan Williams <dcbw@redhat.com>
9632 - Include config.h to get defines for endiannes (gnome.org #420216)
9634 2007-08-30 Dan Williams <dcbw@redhat.com>
9636 Patch from Philip Withnall <bugzilla@tecnocode.co.uk>
9638 * src/ppp-manager/Makefile.am
9639 - use -fPIC (gnome.org #471825)
9641 2007-08-29 Dan Williams <dcbw@redhat.com>
9643 * include/NetworkManager.h
9644 - Keep NMConnection object path in sync
9646 * libnm-glib/nm-settings.c
9647 libnm-glib/nm-settings.h
9648 - Break D-Bus object registration out of the init function, because
9649 every object that's exported over D-Bus needs to use the _same_
9650 DBusConnection. Otherwise, each object would get a different object
9651 path tree and wouldn't be callable.
9653 2007-08-29 Dan Williams <dcbw@redhat.com>
9655 * libnm-util/nm-setting.h
9656 libnm-util/nm-setting.c
9657 libnm-util/nm-connection.c
9658 src/NetworkManagerPolicy.c
9659 - 'info' settings object should be 'connection' says the spec
9660 at NetworkManagerConfigurationSpecification
9662 2007-08-29 Dan Williams <dcbw@redhat.com>
9664 * libnm-glib/nm-settings.c
9665 libnm-glib/nm-settings.h
9666 - make the dbus path a property of the object, and autogenerate it.
9667 It can't be composed of the 'id' field becuase that's not available
9668 yet during the GObject creation in nm_connection_settings_init()
9670 2007-08-29 Dan Williams <dcbw@redhat.com>
9672 * introspection/nm-settings-connection.xml
9673 introspection/nm-settings.xml
9674 - Service name -> NetworkManagerUserSettings because two services
9675 can't share part of the same path. I'm not really sure how we'll use
9676 the same code with the system-settings daemon...
9678 2007-08-28 Dan Williams <dcbw@redhat.com>
9680 * src/nm-device-interface.c
9681 src/nm-device-interface.h
9682 - Kill one more bit of NMData
9684 2007-08-28 Dan Williams <dcbw@redhat.com>
9686 * src/NetworkManagerSystem.h
9689 src/nm-hal-manager.c
9690 src/NetworkManager.c
9691 src/nm-device-802-11-wireless.c
9692 src/nm-hal-manager.h
9693 src/nm-device-802-3-ethernet.c
9694 src/vpn-manager/nm-vpn-service.h
9695 src/vpn-manager/nm-vpn-manager.c
9696 src/vpn-manager/nm-vpn-manager.h
9697 src/vpn-manager/nm-vpn-service.c
9698 src/nm-device-802-11-wireless.h
9699 src/NetworkManagerMain.h
9700 src/nm-device-802-3-ethernet.h
9701 src/backends/NetworkManagerGentoo.c
9702 src/backends/NetworkManagerPaldo.c
9703 src/backends/NetworkManagerFrugalware.c
9704 src/backends/NetworkManagerRedHat.c
9705 src/backends/NetworkManagerSlackware.c
9706 src/backends/NetworkManagerGeneric.c
9707 src/backends/NetworkManagerArch.c
9708 src/backends/NetworkManagerSuSE.c
9709 src/backends/NetworkManagerGeneric.h
9710 src/backends/NetworkManagerDebian.c
9713 2007-08-28 Dan Williams <dcbw@redhat.com>
9715 * src/NetworkManagerMain.h
9716 src/nm-device-802-11-wireless.c
9717 src/NetworkManager.c
9718 - Remove invalid AP list from NMData; need to rework this somewhat, but
9719 for now we should set the 'invalid' property on individual APs, and when
9720 we need to invalidate a whole ESS, set the 'invalid' on every member of
9723 2007-08-28 Dan Williams <dcbw@redhat.com>
9725 * src/NetworkManagerAP.c
9726 src/NetworkManagerAP.h
9727 - Remove 'fallback' tag, to be replaced by NMConnection/NMSettings
9728 'autoconnect' property instead
9730 * src/NetworkManager.c
9731 src/NetworkManagerMain.h
9732 src/NetworkManagerPolicy.c
9733 src/NetworkManagerPolicy.h
9734 - Remove the 'allowed_ap_list', which should be replaced by
9735 NMConnection/NMSettings instead, since _those_ are the allowed
9736 things that NM can connect to
9738 * src/nm-device-802-11-wireless.c
9739 - Remove both allowed_ap_list usage and 'fallback' checking
9741 2007-08-28 Dan Williams <dcbw@redhat.com>
9744 src/named-manager/nm-named-manager.c
9745 src/named-manager/nm-named-manager.h
9746 src/NetworkManager.c
9747 src/vpn-manager/nm-vpn-manager.c
9748 src/NetworkManagerMain.h
9749 src/NetworkManagerSystem.c
9750 - Remove the named-manager object from NMData structure in preparation
9751 for NMData's timely death. Make the NMNamedManager the singleton that
9754 2007-08-28 Dan Williams <dcbw@redhat.com>
9756 Remove NMAPSecurity objects, they are replaced with flags on the APs for
9757 each AP's capabilities, and by NMConnection/NMSettings objects for user
9758 defined connections.
9760 * include/NetworkManager.h
9761 - Redefine 802.11 security properties. There are now device capabilities
9762 and AP flags and AP security flags. It was way to unclear before.
9765 src/nm-ap-security-leap.h
9766 src/nm-ap-security-leap.c
9767 src/nm-ap-security-wpa-eap.c
9768 src/nm-ap-security-wpa-eap.h
9769 src/nm-ap-security-private.h
9770 src/nm-ap-security-wpa-psk.c
9771 src/nm-ap-security-wpa-psk.h
9772 src/nm-ap-security-wep.c
9773 src/nm-ap-security-wep.h
9774 src/nm-ap-security.c
9775 src/nm-ap-security.h
9776 - Removed, to be replaced with NMConnection/NMSettings objects
9780 - Removed, to be replaced by code that talks to the new info daemon
9781 interface and gets NMConnection/NMSettings objects
9783 * src/backends/NetworkManagerSuSE.c
9784 - Remove usage of NMAPSecurity; should be replaced by a system-level
9785 info-daemon that does the same thing but talks the new info-daemon
9788 * src/NetworkManagerAP.h
9789 src/NetworkManagerAP.c
9790 src/NetworkManagerAPList.c
9791 libnm-glib/libnm-glib-test.c
9792 - Remove usage of NMAPSecurity objects and adjust to new flags for
9795 * libnm-glib/nm-access-point.c
9796 libnm-glib/nm-access-point.h
9797 introspection/nm-access-point.xml
9799 - Adjust to new flags for AP security
9803 src/vpn-manager/nm-dbus-vpn.c
9804 - Remove D-Bus pending call stuff from nm-utils and put it in the VPN
9805 stuff which is the only place it's used
9807 * src/nm-device-interface.c
9808 src/nm-device-interface.h
9809 introspection/nm-device.xml
9810 src/nm-activation-request.c
9811 src/nm-activation-request.h
9813 - Add a new 'specific_object' argument that hints to NM what actual
9814 AP or other device-specific thing the connection should apply to.
9815 NMConnection objects can apply to more than one actual device/AP.
9817 * libnm-util/nm-connection.c
9818 * libnm-util/nm-connection.h
9819 - Add 'have_secrets" call stubs
9821 * libnm-util/cipher.h
9822 - Move NM_AUTH_TYPE_* defines here for now
9824 * src/nm-device-802-11-wireless.c
9825 - Remove usage of NMAPSecurity, to be replaced with NMConnection/
9828 * src/NetworkManagerDbus.c
9829 * src/NetworkManagerPolicy.c
9830 - Remove usage of update_allowed_networks, should be pushing data in
9833 2007-08-27 Tambet Ingo <tambet@gmail.com>
9835 * src/nm-manager.c (impl_manager_get_devices): Duplicate the device path,
9836 dbus-glib frees it when the call is done.
9838 2007-08-26 Dan Williams <dcbw@redhat.com>
9840 * introspection/nm-device.xml
9841 - Add 'Index' property on NMDevice objects (forgot to do this earlier)
9843 2007-08-26 Dan Williams <dcbw@redhat.com>
9845 * src/nm-device-802-3-ethernet.c
9846 - (constructor): move connection of interface-connected/disconnected
9847 signals here from real_bring_up(). Should be listening to netlink
9848 for carrier events no matter what the initial state of the device
9851 2007-08-26 Dan Williams <dcbw@redhat.com>
9853 * src/nm-netlink-monitor.c
9854 - (nm_netlink_monitor_class_init): fix marshalling types for
9855 interface-connected/interface-disconnected
9856 - (nm_netlink_monitor_event_handler): clean up carrier on/off
9859 2007-08-26 Dan Williams <dcbw@redhat.com>
9861 Convert to using interface indexes as the primary method of identifying
9862 devices inside NetworkManager. Indexes are (?) stable, but devices can
9863 be renamed at any time. Device object paths now refer to the device
9864 index rather than the name, and you can map those two manually if you like
9865 by looking in the /sys/class/net/<name>/ifindex file. Also moves most
9866 netlink-related code to nm-netlink.c, and cleans up nm-netlink-monitor.c
9867 to use interface indexes rather than names.
9869 2007-08-26 Dan Williams <dcbw@redhat.com>
9871 * src/nm-netlink-monitor.h
9872 - Remove one last bit of wireless-event signal
9874 2007-08-26 Dan Williams <dcbw@redhat.com>
9876 * src/nm-netlink-monitor.c
9877 - (nm_netlink_monitor_class_init, nm_netlink_monitor_event_handler):
9878 don't need the 'wireless-event' signal anymore since that's all
9879 handled by wpa_supplicant
9881 2007-08-25 Dan Williams <dcbw@redhat.com>
9883 It's 2007. Remove support for drivers that don't support wireless scanning.
9886 include/NetworkManager.h
9887 src/NetworkManagerUtils.c
9888 src/NetworkManagerPolicy.c
9889 src/nm-device-802-11-wireless.c
9890 - Remove special handling for non-scanning devices and mark them
9891 as unsupported/unhandled
9893 2007-08-20 Dan Williams <dcbw@redhat.com>
9895 * src/nm-device-802-11-wireless.c
9896 src/nm-device-802-3-ethernet.c
9897 - (real_is_up): move device-specific tests before generic IFF_UP test,
9898 because when the card is pulled or the module removed, the device
9899 is already !IFF_UP and then device-specific cleanup (removing
9900 the supplicant interface, periodic checks, etc) never gets done
9902 2007-08-20 Dan Williams <dcbw@redhat.com>
9905 - (nm_manager_remove_device): bring device down before disconnecting
9906 signal handlers, so that the 'state' signal will get broadcast when
9907 the device enters the DOWN state
9908 - (manager_device_state_changed): add NM_DEVICE_STATE_DOWN to the list
9909 of states that cause the NMManager to recheck its state
9911 2007-08-20 Dan Williams <dcbw@redhat.com>
9913 * src/supplicant-manager/nm-supplicant-interface.c
9914 - (interface_disconnect_done): don't try to dispose of the net proxy
9915 when it may already have been disposed of
9917 2007-08-20 Dan Williams <dcbw@redhat.com>
9919 * src/nm-device-802-11-wireless.c
9920 - (nm_device_802_11_wireless_get_ssid): don't traceback and die when
9921 the SSID isn't available; this can happen when the card is pulled
9922 or the module unloaded, during the post-removal deactivation
9923 paths, when the ioctl returns ENODEV
9925 2007-08-20 Dan Williams <dcbw@redhat.com>
9927 * src/nm-device-802-11-wireless.c
9928 - (merge_scanned_ap): only merge the AP with another if the SSID, BSSID,
9929 frequency, and mode match. Applets are now responsible for grouping
9932 2007-08-20 Dan Williams <dcbw@redhat.com>
9934 * src/NetworkManagerAP.c
9935 * src/NetworkManagerAP.h
9936 - (nm_ap_print_self): new function
9938 * src/NetworkManagerAPList.c
9939 - (nm_ap_list_print_members): call nm_ap_print_self() rather than trying
9942 2007-08-17 Dan Williams <dcbw@redhat.com>
9944 * src/nm-device-802-3-ethernet.c
9945 - (real_bring_down): don't try to dispose of stuff that might not
9948 2007-08-17 Dan Williams <dcbw@redhat.com>
9950 * src/NetworkManagerAP.c
9951 - (nm_ap_set_user_addresses): uppercase any BSSID passed in from the
9952 applet. This ensures that the case between the seen-bssids and
9953 the bssids reported by the driver match.
9955 2007-08-17 Dan Williams <dcbw@redhat.com>
9957 * src/nm-device-802-11-wireless.c
9958 - (device_cleanup): disconnect the interface in wpa_supplicant before
9959 we dispose of the interface proxy in NM
9961 2007-08-16 Dan Williams <dcbw@redhat.com>
9963 * libnm-glib/nm-client.c
9964 - (nm_client_init): create VPN connections hash table with key free
9966 - (proxy_vpn_connection_added): VPN connections hash table key should
9967 be a duplicated value, not the same memory address as the VPN
9968 connection name. This is because the VPN connection name could
9969 potentially be freed and set to something else during the lifetime
9970 of the NMVPNConnection object.
9972 2007-08-16 Tambet Ingo <tambet@gmail.com>
9974 * src/ppp-manager/nm-ppp-manager.c (pppd_child_setup): Implement.
9975 (nm_ppp_manager_start): Use g_spawn_async() since we're not doing anything
9976 with the file descriptors. Send a child setup function to change the pppd
9979 2007-08-15 Dan Williams <dcbw@redhat.com>
9981 * src/supplicant-manager/nm-supplicant-interface.c
9982 - (try_remove_iface): new function, ask wpa_supplicant to remove
9984 - (nm_supplicant_interface_dispose): call try_remove_iface() when
9985 disposing of the NMSupplicantInterface. Otherwise weird stuff
9986 happens on hotplug if wpa_supplicant doesn't tear down and readd
9987 the interface internally
9989 2007-08-15 Dan Williams <dcbw@redhat.com>
9991 * src/nm-device-802-11-wireless.c
9992 - (real_bring_down): move most of this function into device_cleanup()
9993 so that it can be called from elsewhere
9994 - (nm_device_802_11_wireless_dispose): clean up device periodic timers
9995 and stuff on dispose. These would normally get cleaned up when
9996 the device is marked down and deactivated, but when the device is
9997 hot-unplugged, it's already down and real_down() never gets run
9999 2007-08-15 Dan Williams <dcbw@redhat.com>
10001 * src/nm-dbus-nmi.c
10002 - (nm_dbus_get_user_key_for_network_cb): fix incorrect refcounting that
10003 caused a reference leak on device for which NM requested a key
10005 2007-08-15 Dan Williams <dcbw@redhat.com>
10007 * libnm-glib/nm-client.c
10008 - (nm_client_get_best_vpn_state): fix leakage of the vpn connection list
10010 2007-08-15 Tambet Ingo <tambet@gmail.com>
10012 * src/ppp-manager: Implement ppp-manager. It's sort of dead code for now since
10013 nothing is using it at the moment, but it'll be all useful and stuff later on.
10015 * libnm-util/nm-setting.h: Define NMSettingPPP.
10017 * libnm-util/nm-setting.c: Implement NMSettingPPP.
10019 * libnm-util/nm-connection.c (register_default_creators): Register ppp setting.
10021 * src/Makefile.am: Add ppp-manager to SUBDIRS.
10023 * configure.in: Require ppp headers. Build Makefile for ppp-manager.
10025 * introspection/Makefile.am: Add nm-manager-client.xml to EXTRA_DIST.
10027 2007-08-14 Tambet Ingo <tambet@gmail.com>
10029 * libnm-glib/Makefile.am: Use nm-manager-client.xml to produce nm-client-bindings.
10031 * introspection/nm-manager-client.xml: Add a horrible horrbile hack to work around
10032 an issue with dbus-glib bindings generator. The issue is, the generated C caller
10033 functions for dbus methods "Sleep(bool)" and "sleep()" both have the same function
10034 name and different arguments and it won't compile anymore. To fix this, we now have
10035 two copies of nm-manager.xml file. nm-manager.xml contains the actual interface,
10036 that is new API + compatibility API and used by the daemon. The other,
10037 nm-manager-client.xml is only the new API without compatibility bits and is used
10038 by libnm-glib to make it compile.
10040 * introspection/nm-manager.xml: Define compatibility methods (sleep, wake, state).
10042 * src/nm-manager.c (impl_manager_legacy_sleep)
10043 (impl_manager_legacy_wake, impl_manager_legacy_state): Implement the compatibility
10044 interface functions for 0.6 branch.
10046 2007-08-14 Dan Williams <dcbw@redhat.com>
10048 * src/NetworkManagerAP.c
10049 - (nm_ap_new_from_properties): fix mistaken check of return value
10050 from memcmp (should expect 0)
10052 2007-08-14 Dan Williams <dcbw@redhat.com>
10054 (force-commit to fix wrong comment and partial commit of r2685; this
10055 commit actually applies to r2685)
10057 * src/NetworkManagerUtils.c
10058 - (nm_utils_same_ssid): add "ignore_trailing_null" parameter which
10059 ignores trailing nulls in the SSID to work around mismatches in
10060 expectations between WEXT and what the info-daemon passes back. The
10061 info-daemon would pass back the correct length, but due to the
10062 ESSID length issues with WEXT 22 and greater and wpa_supplicant,
10063 the device would always have an SSID + 1 depending on what versions
10064 of wpa_supplicant, the kernel, and NM you have. This was most often
10065 visible by just quitting the applet and relaunching, which caused
10066 NM to reassociated to the same network over again when reloading
10069 * src/NetworkManagerPolicy.c
10070 src/NetworkManagerUtils.h
10071 src/nm-device-802-11-wireless.c
10072 - Update for new parameter to nm_utils_same_ssid()
10074 2007-08-14 Dan Williams <dcbw@redhat.com>
10076 * src/NetworkManagerAP.c
10077 - (nm_ap_new_from_properties): ignore BSSs with invalid BSSIDs. Today
10078 I encountered a BSS that wasn't just hiding it's ESSID, it was
10079 setting the BSSID to all 0s. That confused the heck out of NM,
10080 plus it's useless and probably out-of-spec.
10082 2007-08-14 Dan Williams <dcbw@redhat.com>
10084 * callouts/Makefile.am
10085 src/dhcp-manager/nm-dhcp-manager.c
10086 src/dhcp-manager/nm-dhcp-manager.h
10087 src/dhcp-manager/Makefile.am
10088 - Change install location of nm-dhcp-client.action to ${prefix}/libexec
10090 2007-08-14 Dan Williams <dcbw@redhat.com>
10092 * src/dhcp-manager/nm-dhcp-manager.c
10093 - (dhclient_run): don't pass -x to dhclient until we figure out if
10094 it's really needed, get rid of unused xtra_args parameter
10096 2007-08-14 Dan Williams <dcbw@redhat.com>
10098 * include/NetworkManagerVPN.h
10099 src/vpn-manager/nm-dbus-vpn.c
10100 src/vpn-manager/nm-dbus-vpn.h
10101 src/vpn-manager/nm-vpn-act-request.c
10102 src/vpn-manager/nm-vpn-act-request.h
10103 src/vpn-manager/nm-vpn-service.c
10104 src/vpn-manager/nm-vpn-service.h
10105 libnm-glib/nm-vpn-connection.c
10106 libnm-glib/nm-vpn-connection.h
10107 libnm-glib/nm-client.h
10108 - Rename NM_VPN_STATE_* -> NM_VPN_SERVICE_STATE_* and NMVPNState ->
10109 NMVPNServiceState to clarify what they apply to
10110 - Rename NM_VPN_ACT_STAGE_* -> NM_VPN_CONNECTION_STATE_* and
10111 NMVPNActStage -> NMVPNConnectionState for the same reason
10113 * libnm-glib/nm-client.c
10114 - Constant + type renames from above
10115 - Properly handle NameOwnerChanged/manager_running signals
10116 for NM service; only emit when state really changes
10117 - Use hash tables correctly so that the key (which was previously owned
10118 by the D-Bus message) now has the same lifetime as the value, since
10119 the key is now taken from the the NMVPNConnection itself. This
10120 really fixes the double-VPN names in the applet
10122 2007-08-13 Dan Williams <dcbw@redhat.com>
10124 Patch from Michael Biebl <biebl@debian.org>
10128 - Update for vpn-properties move
10130 2007-08-13 Dan Williams <dcbw@redhat.com>
10132 * libnm-glib/nm-client.c
10133 - Convert internal VPN connection tracking from a list to a hash table
10134 to easily avoid duplicates
10135 - (nm_client_get_vpn_connections): now returns an allocated GSList that
10136 must be freed by the caller, like nm_client_get_devices()
10137 - (nm_client_remove_vpn_connection): don't let the removal signal
10138 leak through for NMVPNConnection objects that aren't actually
10140 - (manager_running): throw away VPN connection list when NM goes away,
10141 like with the device list
10143 2007-08-13 Dan Williams <dcbw@redhat.com>
10145 * src/dhcp-manager/nm-dhcp-manager.c
10146 - Stop any dhclient instance that might be already running for a
10147 particular interface before starting an NM spawned dhclient. Fixes
10148 dhclient processes left over if NM crashes, stuff like that.
10150 2007-08-13 Dan Williams <dcbw@redhat.com>
10152 * src/NetworkManagerAP.c
10153 - (finalize): don't try to g_array_free (NULL, ...), which happened
10154 when the AP wasn't broadcasting it's SSID
10156 2007-08-13 Rodrigo Moya <rodrigo@gnome-db.org>
10158 * include/NetworkManager.h: added DBus path for connection settings.
10160 * libnm-glib/nm-settings.[ch] (nm_settings_signal_new_connection,
10161 nm_connection_settings_signal_updated,
10162 nm_connection_settings_signal_removed): new functions to wrap the
10164 (nm_connection_settings_init): register GObject with DBus.
10165 (nm_connection_settings_get_dbus_object_path): new function.
10167 * libnm-glib/Makefile.am: added libnmutil to link flags.
10169 2007-08-13 Tambet Ingo <tambet@gmail.com>
10171 * configure.in: Remove checks for dhcdbd as it's killed! killed! killed!
10173 * gnome/*: Remove. The nm-vpn-properties directory is now part of nm-applet,
10174 libnm_glib directory got merged with libnm-glib/.
10176 * libnm-glib/libnm-glib.pc.in: Rename to libnm_glib.pc.in.
10178 * libnm-glib/Makefile.am: Add legacy libnm_glib.[ch] to the build.
10179 Rename the library from libnm-glib to libnm_glib to maintain the library API
10180 compatibility with 0.6 branch.
10182 * Makefile.am: Remove gnome/ SUBDIR.
10184 * gnome/libnm_glib/libnm_glib.[ch]: Move to libnm-glib/.
10186 * src/Makefile.am: Remove the WPA_SUPPLICANT_BIN define.
10188 * dispatcher-daemon/Makefile.am: Link the binary with libnm_glib.
10190 * configure.in: Remove GNOME checks, NetworkManager does not need any of these
10192 Remove checks for wpa_supplicant binary, it's used over dbus.
10193 Remove gnome/ directory files form AC_OUTPUT, that directory is getting moved.
10195 * test/Makefile.am: Remove define WPA_SUPPLICANT_BIN.
10196 Link the binaries with libnm_glib.la.
10198 2007-08-12 Dan Williams <dcbw@redhat.com>
10200 * src/NetworkManagerPolicy.c
10201 - (nm_policy_device_change_check): fix policy to deactivate old device
10202 before activating new one, at least until the multiple active
10203 device support lands
10205 2007-08-12 Dan Williams <dcbw@redhat.com>
10207 * src/NetworkManagerPolicy.c
10208 - (nm_policy_new): hook up to connection-added / connection-removed
10209 signals instead of connections-changed
10211 2007-08-12 Dan Williams <dcbw@redhat.com>
10213 Kill dhcdbd until it's dead, dead, dead. Based on a patch from
10214 Robert Frank <rfrank@redhat.com>
10216 * src/dhcp-manager/nm-dhcp-manager.c
10217 src/dhcp-manager/nm-dhcp-manager.c
10219 - Spawn and communicate with dhclient directly, through means of a
10220 custom dhclient callout script. Process callout D-Bus signals
10221 with dbus-glib instead of hand-rolled dbus. DHCP timeouts are now
10222 sent via gobject signals rather than being driven by the dhcp manager
10225 2007-08-12 Dan Williams <dcbw@redhat.com>
10227 * callouts/nm-dhcp-client-action.c
10228 - (build_message): ignore non-DHCP-related environment variables
10230 2007-08-12 Dan Williams <dcbw@redhat.com>
10234 callouts/Makefile.am
10235 callouts/nm-dhcp-client-action.c
10236 callouts/nm-dhcp-client.conf
10237 - Add dhclient-executed callout that takes the place of dhclient-script
10238 and dhcdbd, pushing DHCP options out to the system bus as a signal that
10239 NM then listens for
10241 2007-08-09 Tambet Ingo <tambet@gmail.com>
10243 [Based on patch by Helmut Schaa <hschaa@suse.de>]
10245 * libnm-glib/nm-client.h:
10246 * libnm-glib/nm-object.h:
10247 * libnm-glib/nm-vpn-connection.h:
10248 * libnm-glib/nm-settings.h:
10249 * libnm-glib/nm-device.h:
10250 * libnm-glib/nm-ip4-config.h:
10251 * libnm-glib/nm-access-point.h:
10252 * libnm-glib/nm-device-802-3-ethernet.h:
10253 * libnm-util/nm-setting.h:
10254 * libnm-util/nm-connection.h: Add G_BEGIN_DECLS / G_END_DECLS to support C++.
10256 * libnm-glib/nm-object.c (nm_object_get_byte_property): Implement.
10258 * libnm-glib/nm-access-point.c: Strength has type char.
10260 * gnome/vpn-properties/Makefile.am: Remove GNOME_DISABLE_DEPRECTATED for now
10261 to fix build. GnomeDruid is deprecated in recent libgnomeui.
10263 * introspection/nm-access-point.xml: Strength property is char, not int.
10265 * src/NetworkManagerAP.c (set_property): Set strength from char.
10266 (get_property): Handle hidden APs (with empty SSID).
10267 Get strength value from char.
10268 (nm_ap_class_init): Strength property has char type.
10270 2007-08-03 Rodrigo Moya <rodrigo@gnome-db.org>
10272 * introspection/Makefile.am:
10273 * introspection/nm-settings.xml:
10274 * introspection/nm-settings-connection.xml: added Settings interfaces.
10276 * libnm-glib/nm-settings.[ch]:
10277 * libnm-glib/Makefile.am: added abstract class for Settings interfaces
10278 containing the DBus implementation.
10280 2007-07-26 Dan Williams <dcbw@redhat.com>
10282 Patch from Bernhard Miklautz <bernhard.miklautz@shacknet.at>
10284 * src/NetworkManagerSystem.c
10285 - (nm_system_device_set_ip4_route): don't add the route if it's on the
10286 same subnet (#437396)
10288 2007-07-26 Dan Williams <dcbw@redhat.com>
10290 Patch from Kelemen Gábor <kelemeng@gnome.hu>
10292 * gnome/vpn-properties/nm-vpn-properties.c
10293 - Fix translatable strings (#445865)
10295 2007-07-26 Dan Williams <dcbw@redhat.com>
10297 Patch from Andreas Hanke <andreas.hanke@gmx-topmail.de>
10300 - Remove useless junk (#412530)
10302 2007-07-10 Christopher Aillon <caillon@redhat.com>
10304 Patch from Robert Buchholz <rbu@gentoo.org>:
10308 * introspection/Makefile.am:
10309 Make make distcheck work again.
10311 2007-06-27 Dan Williams <dcbw@redhat.com>
10313 * Make SSIDs GByteArrays everywhere
10314 * Rename "essid" -> "ssid" everywhere that's appropriate
10315 * Refcount activation_ap member of the 802.11 wireless device class
10317 2007-06-27 Tambet Ingo <tambet@ximian.com>
10319 * libnm-glib/nm-object.[ch]: Add these to the SVN, oops.
10321 2007-06-22 Tambet Ingo <tambet@ximian.com>
10323 * src/nm-device-802-11-wireless.c (merge_scanned_ap): Don't advertise constantly
10324 that we got a new AP when we just update existing AP properties.
10326 2007-06-21 Tambet Ingo <tambet@ximian.com>
10328 * libnm-glib/Makefile.am: Add NMObject to build, remove nm-utils.[ch].
10330 * nm-utils.[ch]: Remove.
10332 * libnm-glib/nm-object.c: Implement a base class for all libnm-glib dbus-aware
10333 objects for easy property access and dbus connection handling.
10335 * libnm-glib/nm-client.c: Derive from NMObject.
10337 * libnm-glib/nm-device.c: Ditto.
10339 * libnm-glib/nm-device-802-3-ethernet.c: Changes for being based on NMObject.
10341 * libnm-glib/nm-device-802-11-wireless.c: Ditto.
10343 * libnm-glib/nm-ip4-config.c: Ditto.
10345 * libnm-glib/nm-access-point.c: Ditto.
10347 * libnm-util/nm-connection.c (nm_connection_compare): Add a stub for connection
10348 comparision. Currently used by the device activation code to determine if the new
10349 activation is the same as the old one.
10351 * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Don't use the obsolete and
10352 wrong way of getting the dbus path for AP. Fixes the issue where the applet isn't
10353 able to ask password for the AP.
10355 * src/nm-device.c (nm_device_activate): Change the logic here - instead of giving
10356 up if the device is already connected, tear down it's connection (if it isn't the
10357 same as new one) and start the activation.
10359 * src/nm-manager.c: Add the beginnings of NMConnection storage and signals.
10361 * src/NetworkManagerAP.c (nm_ap_init): Set the default values to AP memebers, fixes
10362 the issue where all APs are always listed as encrypted.
10364 * src/NetworkManagerDbus.c (nm_dbus_get_object_path_for_network): Remove. APs have
10365 their own registered paths.
10367 * test/nm-tool.c (detail_device): Don't try to get active network from wireless
10368 device if it's not connected - dbus-glib will happily crash trying to marshal NULL.
10370 2007-06-13 Tambet Ingo <tambet@ximian.com>
10372 * src/NetworkManagerAP.c (foreach_property_cb): Set WEP capabilities too!
10375 * src/nm-device.c (nm_device_state_changed): Emit the signal before handling it
10376 because the handling code will cause the next state change and signal listeners
10377 get the signals in wrong order.
10379 * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Get the "old_dev"
10380 correctly in case of pending activation.
10382 * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
10383 Convert the essid byte array to string correctly, including the terminating NULL.
10385 * src/NetworkManagerPolicy.c (create_connection): Create wireless ssid and
10386 mode with correct types.
10388 * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Fix a typo, pass the
10389 constructed info to dbus call instead of the activation request.
10391 2007-06-11 Christopher Aillon <caillon@redhat.com>
10393 Patch from Christian Persch <chpe@gnome.org>
10395 * libnm-glib/Makefile.am:
10396 * dispatcher-daemon/Makefile.am:
10397 Use the correct variables, the correct paths, and correct ordering. (446315)
10399 2007-06-11 Tambet Ingo <tambet@ximian.com>
10401 * src/nm-device.c: Make the activation stage virtual functions take NMDevice
10402 argument. The activation request is easy to retrieve.
10404 * src/nm-activation-request.c: Convert to GObject. Do not include half of NM headers
10405 just to be a convenient location for devices to store random stuff.
10407 2007-06-11 Christopher Aillon <caillon@redhat.com>
10409 Patch from Alex Smith <alex@alex-smith.me.uk>
10411 * src/backends/NetworkManagerFrugalware.c:
10412 Update the FrugalWare backend to fix a few segfaults. (#392642)
10414 2007-06-08 Tambet Ingo <tambet@ximian.com>
10416 * libnm-util/nm-setting.c: Implement NMSettingWirelessSecurity.
10418 * libnm-util/nm-connection.c (register_default_creators): Register wireless security
10420 (gvalue_to_string): Recognize G_TYPE_UCHAR and GSList.
10422 2007-06-06 Tambet Ingo <tambet@ximian.com>
10424 * libnm-util/nm-setting.c: Get rid of dump virtual functions, that can happen
10426 Implement NMSettingIP4Config.
10427 Finish NMSettingWired by adding all known members.
10428 (setting_wired_verify): Implement.
10429 Finish NMSettingWireless by adding all known members.
10430 (setting_wireless_verify): Implement.
10432 * libnm-util/nm-connection.c: Register "ipv4" setting.
10433 (nm_connection_dump): Implement. Instead of requiring every NMSetting to implement
10434 dump function, we can introspect the GHashTable which is used for sending connections
10437 * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
10438 Take GByteArray for essid, it's really not a string.
10440 * src/nm-device.c (real_act_stage3_ip_config_start): Get information from NMSettings.
10441 Start DHCP request if setting is not passed or if it states that DHCP should be used.
10442 (real_act_stage4_get_ip4_config): If settings are provided, use them, even if it
10443 means overriding the values we got from DHCP.
10444 (real_activation_cancel_handler): Cancel DHCP transaction only if it has started, doh.
10445 (nm_device_deactivate_quickly): Ditto.
10447 * src/nm-device-interface.c (impl_device_activate): Dump the connection structure
10450 2007-05-07 Tambet Ingo <tambet@ximian.com>
10452 * libnm-glib/Makefile.am: Link with libnm-util to gain access to
10455 * libnm-glib/nm-device-802-11-wireless.c:
10456 (nm_device_802_3_ethernet_activate): Remove.
10458 * libnm-glib/nm-device-802-3-ethernet.c
10459 (nm_device_802_3_ethernet_activate): Remove.
10461 * libnm-glib/nm-device.c (nm_device_activate): Implement.
10463 * src/nm-device-802-3-ethernet.c: Implement the new activation using
10466 * src/nm-device-802-11-wireless.c: Store an activation AP once the
10467 activation has started.
10468 Implement the new activation using NMConnection.
10470 * src/nm-activation-request.c: Store a generic connection object instead
10471 of a wireless-specific AP.
10473 * src/NetworkManagerPolicy.c (create_connection): Implement. Depending
10474 on device type, create a device specific connection object suitable for
10477 * src/nm-device.c (nm_device_activate): Re-implement. Call the device
10478 specific check to validate the connection and on success start the
10481 * src/nm-device-interface.h: Add a activate virtual function to the
10482 interface definition.
10484 * src/nm-device-interface.c (nm_device_interface_activate): Implement.
10485 (impl_device_activate): Implement.
10487 * introspection/nm-device.xml: Add a generic device activation interface
10488 that accepts an abstract NMConnection structure that has device-specific
10491 * introspection/nm-device-802-3-ethernet.xml: Remove the wired-specific
10492 activation interface.
10494 * introspection/nm-device-802-11-wireless.xml: Remove the wireless-specific
10495 activation interface.
10497 * libnm-util/nm-connection.c:
10498 * libnm-util/nm-connection.h:
10499 * libnm-util/nm-setting.c:
10500 * libnm-util/nm-setting.h: Add.
10502 * libnm-util/Makefile.am: Build the added files.
10504 * src/nm-dbus-manager.c
10505 (proxy_name_owner_changed, nm_dbus_manager_class_init): Remove the
10506 DbusConnection argument from 'name-owner-changed' signal. The manager
10507 is already passed as a first argument to the signal and the connection
10508 is easy enough to get from it.
10510 * src/vpn-manager/nm-vpn-service.c (nm_vpn_service_name_owner_changed):
10511 Update the signature of the function.
10513 * src/vpn-manager/nm-vpn-manager.c (nm_name_owner_changed_handler):
10516 * src/NetworkManager.c: Ditto.
10518 * src/named-manager/nm-named-manager.c
10519 (nm_named_manager_name_owner_changed): Ditto.
10521 * src/supplicant-manager/nm-supplicant-manager.c
10522 (nm_supplicant_manager_name_owner_changed): Ditto.
10524 * src/nm-hal-manager.c (name_owner_changed): Ditto.
10526 * src/dhcp-manager/nm-dhcp-manager.c
10527 (nm_dhcp_manager_name_owner_changed): Ditto.
10529 * src/nm-hal-manager.c: Add a list of device detectors and creators
10530 to make it easier to add new devices. Each device type has it's own
10531 entry in the table so adding new device types is only a matter of
10532 implementing a couple of functions, one for device detection and the
10533 other for device creation.
10535 2007-04-25 Dan Williams <dcbw@redhat.com>
10537 * initscript/RedHat/NetworkManager.in: remove trailing backslash
10538 (gnome.org #432401)
10540 2007-03-30 Dan Williams <dcbw@redhat.com>
10542 * src/NetworkManagerSystem.c
10543 - (nm_system_device_set_ip4_route): clean up and fix argument
10544 to nm_dev_sock_open()
10546 2007-03-28 Tambet Ingo <tambet@ximian.com>
10548 * src/supplicant-manager/nm-supplicant-config.c (get_hash_cb): Marshal the
10549 data to correct types instead of always using string.
10551 * src/NetworkManagerAP.c (get_property): AP is encrypted if capabilities does
10552 _not_ have NM_802_11_CAP_PROTO_NONE.
10553 (foreach_property_cb): Set AP capabilities if it's not set or if the protocol
10556 2007-03-27 Tambet Ingo <tambet@ximian.com>
10558 * libnm-glib/Makefile.am: Fix the build issue.
10560 2007-03-26 Tambet Ingo <tambet@ximian.com>
10562 * libnm-glib/nm-vpn-connection.h:
10563 * libnm-glib/nm-vpn-connection.c: Implement.
10565 * libnm-glib/nm-client.c: Add VPN support.
10567 * src/vpn-manager/nm-dbus-vpn.c (dbus_message_handler): Implement DBUS message
10570 * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_new): Register VPN interface
10573 2007-03-26 Dan Williams <dcbw@redhat.com>
10575 * src/NetworkManagerAPList.c
10576 * src/nm-device-802-11-wireless.c
10577 * src/NetworkManagerAP.c:
10578 - Store last seen as glong instead of GTimeVal.
10579 - Fix the upper bound of capabilities, it's a bitfield.
10581 2007-03-16 Tambet Ingo <tambet@ximian.com>
10583 * libnm-glib/nm-device.c (nm_device_get_description): Implement.
10585 * libnm-glib/nm-client.c (nm_client_manager_is_running): Implement. Also add a
10586 "manager-running" signal that notifies the appearance/disappearance of NM.
10587 (nm_client_sleep): Implement.
10589 * libnm-glib/nm-device.c:
10590 * libnm-glib/nm-device-802-11-wireless.c:
10591 * libnm-glib/nm-device-802-3-ethernet.c:
10593 Don't inherit from DBusGProxy, add a proxy to private
10594 data. The reason is, classes inherited from NMDevice wouldn't get any dbus signals
10595 for anything but their own dbus interface. DBusGProxy objects support only one
10596 interfaces and to work around this, NMDevice has spearate proxy for each dbus
10597 interface. The nice side effect of this change is that we do not create a new
10598 DBusGProxy object for each property access.
10600 2007-03-15 Tambet Ingo <tambet@ximian.com>
10602 * src/nm-device-802-11-wireless.c (constructor): Initialize the iw_ext structures
10603 with zeroes before passing them to functions - the functions never do that and
10604 reading the values back may produce wrong values.
10605 (real_bring_up): Store the signal handler id ...
10606 (real_bring_down): ... So that it can be removed here.
10607 Disconnect the supplicant interface here as well.
10608 (nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): Use the dbus object path
10609 from the access point instead of old $device/Networks/$essid.
10611 * src/nm-manager.c (nm_manager_get_state): Return NM_STATE_CONNECTED when the
10612 device state is connected (instead of just having link/carrier).
10614 * src/nm-activation-request.c: Don't store NMData in activation request, it's
10615 already easily accessible through the device.
10617 * src/NetworkManagerAP.c (nm_ap_init): Construct the dbus object path here and
10618 store it within the object.
10619 (nm_ap_get_dbus_path): Export it to public as well.
10621 * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get): Keep the ownership
10624 2007-03-12 Dan Williams <dcbw@redhat.com>
10626 Get rid of 2 second poll of sysfs 'carrier' file for wired devices. Useless
10627 for non-carrier-detect capable devices, and useless for carrier-detect
10628 devices since we get notifications from netlink about carrier status anyway.
10630 * src/nm-device-802-3-ethernet.c
10631 - remove 'link_source_id' member from private data
10632 - (probe_link): remove and collapse into real_update_link()
10633 - (nm_device_802_3_periodic_update): remove
10634 - (real_is_up): check for sup_iface rather than link_source_id
10635 - (real_bring_up): return gboolean for success/fail; require that
10636 sup_iface be valid for device bringup to succeed
10637 - (real_bring_down): zero out link signal ids
10640 - (nm_device_activate_stage2_device_config): fail activation if device
10642 - (real_act_stage4_get_ip4_config): fail activation if device bringup
10644 - (nm_device_bring_up): return success/fail
10647 - bring_up now returns success/fail
10649 * src/nm-device-802-11-wireless.c
10650 - (real_bring_up): return success from bringup
10652 2007-03-07 Dan Williams <dcbw@redhat.com>
10654 Patch from Simon Geard <delgarde@ihug.co.nz> (Gnome.org #394956)
10655 * src/nm-ap-security-wpa-psk.c
10656 - (real_write_supplicant_config): work with PSKs that may contain
10657 zeros in the binary format rather than treating it as a string
10659 2007-03-02 Tambet Ingo <tambet@ximian.com>
10661 * libnm-glib/nm-device-802-11-wireless.c
10662 (nm_device_802_11_wireless_get_capabilities): Implement.
10664 * libnm-glib/nm-device.c (nm_device_get_capabilities): Implement.
10666 * src/nm-device-802-11-wireless.c: Add "WirelessCapabilities" property.
10668 * src/named-manager/nm-named-manager.c (remove_one_zone_from_named): Unref the
10669 reply only if it's not NULL. Not sure why this started happening right now.
10671 * src/nm-manager.c (device_stop_and_free): Remove. No need to have different
10672 code paths for when devices get removed on shutdown or when a device is just
10674 (finalize): Don't use a g_slist_foreach() when removing devices, the list data
10675 gets freed so any signal from a device (disconnected for instance) would invoke
10676 NMState update which would crash.
10677 (nm_manager_remove_device): Bring the device down when it gets removed.
10679 * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Remove
10680 the unused dev_type.
10682 * src/nm-hal-manager.c (create_device_and_add_to_list): Don't keep the
10683 reference to the added device, NMManager will own it (if it wants).
10685 * test/nm-tool.c: Rewrite using libnm-glib.
10687 * libnm-glib/nm-device-802-11-wireless.c: Cache networks (bssids) list.
10688 We get signalled when it changes.
10690 * libnm-glib/nm-client.c: Cache NMState and device list, we get signalled
10693 * libnm-glib/nm-device.c: Cache the device state property.
10695 * libnm-glib/nm-access-point.c: Cache the strength property.
10697 * src/nm-device-802-11-wireless.c: Fix wireless device scanning scheduler.
10698 The new algorithm is to start from SCAN_INTERVAL_MIN (currently defined as 0)
10699 and add a SCAN_INTERVAL_STEP (currently 20 seconds) with each successful scan
10700 until SCAN_INTERVAL_MAX (currently 120 seconds) is reached. Do not scan while
10701 the device is down, activating, or activated (in case of A/B/G cards).
10702 Remove some old dead ifdef'ed out code that used to configure wireless devices,
10703 it's all done through supplicant now.
10705 * src/supplicant-manager/nm-supplicant-interface.c: Fix the reference
10706 counting issues with pending calls which caused leaks and crashes when
10707 interface was removed (now that the interface actually gets removed).
10709 * src/nm-call-store.c: Make a copy of data before running a foreach
10710 with user callback on it - The most common usage pattern is to cancel
10711 (and thus remove) all pending calls with foreach which would modify
10712 the hash table we're iterating over.
10714 * src/nm-manager.c: When a device is added, make sure it is "up". When
10715 it's removed or disabled due to disabling wireless or networking, bring
10718 * include/NetworkManager.h: Add new device state NM_DEVICE_STATE_DOWN.
10720 * src/nm-device-802-11-wireless.c:
10721 * src/nm-device-802-3-ethernet.c:
10723 - Remove "init" virtual function, all gobjects have a place for that
10724 already (constructor).
10725 - Replace "start" virtual function with "bring_up", devices can be
10726 brought up and down more than just on startup now.
10727 - Add "is_up" virtual function.
10728 - Implement one way to bring a device down instead of previous 4 different
10729 ways, each of witch did something different.
10731 * src/NetworkManagerUtils.c (nm_dev_sock_open): This doesn't need an NMDevice,
10732 all it needs is the device interface.
10734 Get rid of NMData.dev_list (3 members to go).
10735 Get rif of NMData in a lot of places.
10737 * gnome/libnm_glib/libnm_glib.c: Make it compile again.
10739 2007-02-23 Dan Williams <dcbw@redhat.com>
10741 Patch from Andy Whitcroft <apw@shadowen.org> (Gnome.org #410426)
10743 * src/NetworkManagerAP.c
10744 - (add_capabilities_from_cipher): fix addition of WEP capabilities by
10745 OR-ing rather than AND-ing
10747 2007-02-20 Tambet Ingo <tambet@ximian.com>
10749 * libnm-glib/nm-device-802-11-wireless.c: Add "network-added" and
10750 "network-removed" signals.
10752 * libnm-glib/libnm-glib.pc.in: Require NetworkManager >= 0.7.0.
10754 * libnm-glib/nm-access-point.c: Add "strength-changed" signal, emit it
10755 when receiving the signal from dbus.
10757 * src/nm-device-802-11-wireless.c (get_property): Fix PROP_ACTIVE_NETWORK
10760 * src/NetworkManagerPolicy.c (state_changed): Fix a typo to make the
10761 deactivation of the previously activated device working again.
10763 * src/nm-activation-request.c: Remove NMActStage property and it's getter
10766 * src/nm-device.c (nm_device_is_activated): Remove.
10767 state == NM_DEVICE_STATE_ACTIVATED is just as easy to use.
10769 * include/NetworkManager.h: Remove NM_DBUS_NO_DEVICES_ERROR,
10770 NM_DBUS_NO_DIALUP_ERROR, NM_DBUS_NO_NETWORKS_ERROR,
10771 NM_DBUS_NO_ACTIVE_DEVICE_ERROR, NM_DBUS_NO_ACTIVE_NET_ERROR errors and
10772 NM_DBUS_SIGNAL_STATE_CHANGE signal.
10773 Remove NMNetworkStatus and NMActStage enums.
10775 2007-02-19 Tambet Ingo <tambet@ximian.com>
10777 * src/vpn-manager/nm-vpn-manager.c: Handle the DBUS state changes itself.
10778 Handle device state changes and disconnect VPN if it's device deactivates.
10780 * src/nm-dbus-nm.c:
10781 * src/nm-dbus-nm.h:
10782 * src/nm-dbus-device.c:
10783 * src/nm-dbus-device.c:
10784 * src/nm-dbus-net.c:
10785 * src/nm-dbus-net.h: Remove. All of it is implemented byt the new dbus API.
10787 * src/NetworkManagerMain.h: Get rid of all but 3 properties of NMData.
10789 * src/nm-device.c (nm_device_get_by_udi):
10790 (nm_device_get_by_iface): Remove. This doesn't belong here and is already
10791 implemented in the correct location (NMManager).
10792 Rip out all the test_device stuff.
10794 * src/NetworkManagerPolicy.c: Remove the leftover activation success and
10795 failure handlers, it's all done by NMDevice already.
10797 * src/NetworkManager.c: Move the signal handling here from nm-logging.c
10798 Remove the iochannel hack to route the unix signals to the main thread since
10799 we're not threaded anymore.
10801 * src/NetworkManagerAP.c: Implement HWAddress property.
10803 * src/NetworkManagerDbus.c: Remove the dbus signal sending code, it happens
10804 automatically with dbus-glib.
10806 * src/nm-netlink-monitor.c:
10807 * src/nm-netlink-monitor.h:
10808 - Move it low in the class hierarchy, don't reference any NM types.
10809 - Remove private data from the header.
10810 - Use type safe checks in public API methods.
10811 - Make it a singleton so we don't have to pass the single reference around.
10813 2007-02-16 Tambet Ingo <tambet@ximian.com>
10815 * introspection/nm-ip4-config.xml: Implement.
10817 * libnm-glib/libnm-glib-test.c: Use new DBUS API in tests.
10819 * libnm-glib/nm-ip4-config.c:
10820 * libnm-glib/nm-ip4-config.c: Implement.
10822 * src/nm-ap-security[-*]: Remove circular dependencies between APs and AP
10823 securities. APs reference security.
10825 * src/nm-device-802-11-wireless.c: Implement missing properties that need to
10826 be exported over DBUS.
10828 * src/nm-device-802-3-ethernet.c: Ditto.
10830 * src/NetworkManagerAP.c:
10831 * src/NetworkManagerAP.h:
10832 - Convert to GObject, export over DBUS.
10834 * src/nm-ip4-config.h:
10835 * src/nm-ip4-config.h:
10836 - Convert to GObject, export over DBUS.
10838 2007-02-12 Dan Williams <dcbw@redhat.com>
10840 Patch from Helmut Schaa <hschaa@suse.de>
10842 * vpn-daemons/pptp/configure.in
10843 vpn-daemons/pptp/Makefile.am
10844 vpn-daemons/openvpn/configure.in
10845 vpn-daemons/openvpn/Makefile.am
10846 vpn-daemons/vpnc/configure.in
10847 vpn-daemons/vpnc/Makefile.am
10848 - Add --without-gnome switch which disables building gnome bits
10850 2007-02-12 Tambet Ingo <tambet@ximian.com>
10852 * libnm-glib/nm-device.c (nm_device_get_use_dhcp): Remove.
10854 * libnm-glib/nm-access-point.c (nm_access_point_is_broadcast): Remove.
10856 * introspection/nm-device-802-3-ethernet.xml: Rename 'Address' property to
10859 * introspection/nm-device.xml: Remove 'UseDhcp' property.
10861 * introspection/nm-access-point.xml: Remove 'Broadcast' property.
10863 Totally break NetworkManager. Please use 0.6 branch until futher notice.
10866 - Remove old low-level dbus interface implementations and replace them
10867 with dbus-glib one.
10870 - Require dbus-glib >= 0.72.
10871 - Plug in new sources to build.
10874 - Implement GObject wrappers on top of DBUS glib auto-generated bindings
10875 to make it more convenient to use from GObject based programs.
10878 - Implement DBUS XML introspection files, used by both NM and libnm-glib.
10880 2007-02-09 Tambet Ingo <tambet@ximian.com>
10882 * src/nm-device-802-11-wireless.c:
10883 - Add "network-added" and "network-removed" signals.
10884 - Use gobject boilerplate macros to define the GObject.
10885 - Implement wireless device activation.
10886 - Remove activation_failure_handler and activation_success_handler
10887 and instead listen on state-changed signals and run the same code
10891 - Implment NMDeviceInterface::deactivate.
10892 - Remove activation_failure_handler and activation_success_handler
10893 virtual methods. Each device which is interested in these events
10894 can just listen on it's state changed signals.
10896 * src/NetworkManagerPolicy.c:
10897 - Move a bit more NMData usage to NMManager.
10898 - Remove activation scheduling bits.
10899 - Add listeners for wireless device's "network-added" and
10900 "network-removed" signals.
10901 - Listen device changed signals and deactivate currently activated
10902 device when another device start activating (for now).
10903 - Remove (nm_policy_schedule_device_change_check): There's never a need
10904 for calling this, the policy code knows exactly when this should happen,
10905 by listening on events from NMManager and NMDevices.
10907 * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_activate):
10910 * src/nm-dbus-nm.c (nm_dbus_nm_set_active_device): Call the activation
10911 method on the specific device instead of going to through policy code
10912 and determining the device type by passed in AP's existance.
10914 * src/nm-device-interface.c (nm_device_interface_deactivate): Implement the
10915 abstract NMDevice deactivation.
10917 2007-02-08 Tambet Ingo <tambet@ximian.com>
10919 * src/NetworkManager.c:
10920 - Set up all the shiny new managers.
10922 * src/NetworkManagerPolicy.c:
10923 - Add the beginnings of new NMPolicy code. Instead of requireing all
10924 classes to call into policy code, make the policy code kind of like
10925 a supervisor that monitors what's going on and drives the whole NM.
10927 * src/nm-hal-manager.c:
10928 * src/nm-hal-manager.h:
10929 - Collect all libhal code scattered around NM to this one class.
10930 - Listen libhal and NMManager events and add/remove devices to
10933 * src/nm-manager.c:
10934 * src/nm-manager.h:
10935 - Implment a replacement for NMData. NMData is now officially
10938 2007-02-05 Tambet Ingo <tambet@ximian.com>
10940 * src/nm-device-802-11-wireless.c (supplicant_iface_scan_result_cb):
10941 * src/supplicant-manager/nm-supplicant-interface.h
10942 * src/supplicant-manager/nm-supplicant-interface.c
10943 (nm_supplicant_interface_class_init): Change the "scan-result" signal's
10944 argument to boolean from enum.
10946 Make NMDevice abstract class, remove almost all references to it's
10947 subclasses (the last place gets removed with new policy manager). Add
10948 NMDeviceInterface (which NMDevice implements) so that when we have
10949 NMDevice exported over DBUS, there's a common NMDevice interface which
10950 all instances have, plus there's a device specific interface for each
10952 Remove functions (nm_device_is_802_3_ethernet) and
10953 (nm_device_is_802_11_wireless). There are already standard GObject macros
10954 for type safe checks.
10955 Use the updated supplican manager API.
10957 * src/nm-device-interface.h:
10958 * src/nm-device-interface.c:
10959 * src/nm-call-store.h:
10960 * src/nm-call-store.c: Implement.
10962 * src/supplicant-manager/nm-supplicant-interface.c:
10963 * src/supplicant-manager/nm-supplicant-interface.h:
10964 * src/supplicant-manager/nm-supplicant-manager.c:
10965 * src/supplicant-manager/nm-supplicant-manager.h:
10966 - Remove all private data type references from public header files.
10967 - Remove all references to other NM classes, this class is just a
10968 proxy between wpa_supplicant and NM so it doesn't have to know
10970 - Convert to dbus-glib bindings.
10971 - Type safe checks for public methods' arguments.
10972 - Store pending DBUS call ids to NMCallStore.
10974 * src/supplicant-manager/nm-supplicant-config.c:
10975 - Store config values in a GHashTable instead of GSList.
10977 * src/NetworkManagerMain.h: Remove all references to DHCP manager.
10979 * src/NetworkManager.c: Don't initialize the DHCP manager, it's a
10982 * src/nm-device.c: Use the new DHCP manager API.
10984 * src/nm-activation-request.c:
10985 * src/nm-activation-request.h:
10986 - Remove all dhcp related properties and methods.
10988 * src/dhcp-manager/nm-dhcp-marshal-main.c: Add.
10990 * src/dhcp-manager/nm-dhcp-marshal.list: Add.
10992 * src/dhcp-manager/nm-dhcp-manager.c:
10993 * src/dhcp-manager/nm-dhcp-manager.h:
10994 - Convert it to GObject since we need to signal state changes.
10995 - Remove all references to other NM classes, this class is one
10996 of the lowest classes in our hierarchy.
10997 - One less class to use NMActRequest.
10998 - Make it singleton, one less user of NMData.
10999 - Remove a couple of sleep() calls.
11000 - Convert a bunch of low-level dbus API calls to dbus-glib calls.
11001 One less class to use the NM's custom tailored signal handlig.
11003 * Makefile.am: Generate marshallers, add them to build.
11005 2007-02-02 Dan Williams <dcbw@redhat.com>
11011 - Remove last bits referencing gnome applet
11013 2007-02-02 Dan Williams <dcbw@redhat.com>
11015 * src/vpn-manager/nm-vpn-service.c
11016 - (nm_vpn_service_stage4_ip4_config_get): use uint32 arrays for DNS
11017 and NBNS server addresses
11019 2007-02-02 Tambet Ingo <tambet@ximian.com>
11021 * src/nm-dbus-manager.c:
11022 * src/nm-dbus-manager.h:
11023 - Convert all internal DBUS code to use dbus-glib bindings.
11024 - Remove GObject properties, we don't need them here.
11025 - Don't explicitly set things to NULL after freeing, glib is
11026 happy to do it if asked nicely (G_DEBUG=gc-friendly).
11027 - Make public API argument checks type safe.
11028 - Remove unnecessary (and wrong) cast to GObject for the first
11029 argument to g_signal_* calls - The first argument is a gpointer.
11030 - Export DBusGConnection to other cool classes that (are going to)
11033 2007-01-26 Dan Williams <dcbw@redhat.com>
11035 * libnm-util/dbus-dict-helpers.c
11036 libnm-util/dbus-dict-helpers.h
11037 - Coordinate style with wpa_supplicant version to minimize diff
11038 - Add uint32 array support
11039 - (nmu_dbus_dict_append_uint32_array): new function
11040 - (nmu_dbus_dict_begin_string_array, nmu_dbus_dict_string_array_add_element,
11041 nmu_dbus_dict_end_string_array): bring over from wpa_supplicant
11042 version; allow adding string array elements individually
11044 * test/libnm-util/test-dbus-dict-helpers.c
11045 - Test uint32 arrays
11047 2007-01-27 Jürg Billeter <j@bitron.ch>
11049 * src/backends/NetworkManagerPaldo.c
11050 - (nm_system_update_dns): clear nscd hosts cache
11052 2007-01-04 Dan Williams <dcbw@redhat.com>
11054 Threading removal related cleanups:
11056 - Use the glib default main context. Remove the device main context
11057 member from NMDevice, and the main_context member from NMData. Change
11058 all the idle and timeout scheduler functions to use plain
11059 g_idle_add() and g_timeout_add().
11061 - As a side-effect of the first change, nm_dbus_manager_get() no longer
11062 takes an argument; fix that up too.
11064 - Remove all locking, which is useless since we no longer use threads. For
11065 example, nm_get_device_by_iface_locked() has been removed. The global
11066 device list lock, the AP List lock, and all static locks in
11067 NetworkManagerPolicy.c have been removed. The locking utility functions
11068 in NetworkManagerUtils.c have also been removed.
11070 - Other cleanups in spacing and code style
11072 2007-01-01 Dan Williams <dcbw@redhat.com>
11074 Found by Bill Moss:
11076 * src/supplicant-manager/nm-supplicant-interface.c
11077 - (nm_supplicant_interface_disconnect): fix cleanup logic when
11078 the supplicant interface wasn't already disconnected. Always
11079 call removeNetwork and disconnect unless the supplicant interface
11080 is in the DISCONNECTED or INACTIVE state.
11082 2006-12-28 Dan Williams <dcbw@redhat.com>
11084 Use a single thread for everything. With the move to wpa_supplicant
11085 and communication over D-Bus, there's no reason for multiple threads.
11086 Almost all of the blocking code has been removed, with one exception in
11087 the DHCP manager and a few in the VPN manager. This commit removes the
11088 per-device worker thread and fixes activation cancellation in the absence
11089 of threads. Further removal of thread-related code would be removing
11090 any locking code (like the device list lock) and simplification of logic
11091 around areas of code or data structures that are currently locked.
11094 dhcp-manager/nm-dhcp-manager.c
11095 nm-device-802-11-wireless.c
11096 nm-device-802-3-ethernet.c
11099 - Remove usage of multiple threads
11101 2006-12-19 Dan Williams <dcbw@redhat.com>
11103 Big wpa_supplicant + dbus update; need latest wpa_supplicant from CVS
11104 plus a few other patches from wpa_supplicant bugzilla.
11107 src/NetworkManagerPolicy.c
11108 src/NetworkManagerUtils.c
11109 src/NetworkManagerUtils.h
11110 src/nm-ap-security-leap.c
11111 src/nm-ap-security-wep.c
11112 src/nm-ap-security-wpa-eap.c
11113 src/nm-ap-security-wpa-psk.c
11114 src/nm-ap-security.c
11115 src/nm-ap-security.h
11116 src/nm-device-802-11-wireless.c
11117 src/nm-device-802-11-wireless.h
11118 src/supplicant-manager/nm-supplicant-config.c
11119 src/supplicant-manager/nm-supplicant-config.h
11120 src/supplicant-manager/nm-supplicant-interface.c
11121 src/supplicant-manager/nm-supplicant-interface.h
11122 src/supplicant-manager/nm-supplicant-marshal.list
11123 src/supplicant-manager/nm-supplicant-settings-verify.c
11124 src/supplicant-manager/nm-supplicant-settings-verify.h
11125 - Move all connection management and association handling to
11126 wpa_supplicant over dbus, rather than spawning a private copy
11128 2006-12-19 Dan Williams <dcbw@redhat.com>
11130 * src/NetworkManagerPolicy.c
11131 - (nm_policy_device_change_check, nm_policy_schedule_device_change_check):
11132 better locking of the device change check handler ID. Incorrect
11133 locking was causing lost device change requests
11135 2006-12-18 Dan Williams <dcbw@redhat.com>
11137 * libnm-util/dbus-dict-helpers.c
11138 - (_nmu_dbus_dict_entry_get_array, _nmu_dbus_dict_entry_get_string_array,
11139 _nmu_dbus_dict_entry_get_byte_array): replace usage of
11140 dbus_message_iter_get_array_len() (Gnome.org #382898)
11142 2006-12-18 Dan Williams <dcbw@redhat.com>
11144 * gnome/libnm_glib/libnm_glib.c
11145 - Change dbus_connection_close() -> dbus_connection_unref()
11147 2006-12-11 Dan Williams <dcbw@redhat.com>
11149 * src/supplicant-manager/nm-supplicant-interface.c
11150 - (iface_state_cb, wpas_iface_get_state): new functions; query initial
11151 wpa_supplicant interface state
11152 - (nm_supplicant_interface_add_cb): query initial wpa_supplicant interface
11153 state before transitioning to READY state
11155 2006-12-04 Dan Williams <dcbw@redhat.com>
11157 * src/nm-device-802-11-wireless.c
11158 - (supplicant_iface_scanned_ap_cb): fix parsing of hidden APs due to
11159 odd length of ESSID returned from ieee80211 stack-based drivers
11161 2006-12-04 Dan Williams <dcbw@redhat.com>
11163 * src/nm-device-802-11-wireless.c
11164 - (supplicant_iface_scanned_ap_cb): remove erroneous & from WPA & RSN
11165 IE handling blocks that cause mis-parsing of the IE
11167 2006-12-04 Dan Williams <dcbw@redhat.com>
11169 * src/nm-device-802-11-wireless.c
11170 - (init_supplicant_interface): new function; pull supplicant interface
11171 setup code out into standalone function since it must be called from
11172 two different places
11173 - (real_init): sup_mgr is now in private object data; get and track
11174 the supplicant manager object over the NMDevice subclass' lifetime
11175 and register a signal handler for its state signals; only try to
11176 initialize the supplicant interface if the supplicant manager is in
11177 the IDLE state (and therefore is ready for requests)
11178 - (request_wireless_scan): reschedule the scan request if (a) there is
11179 no supplicant interface yet (meaning wpa_supplicant isn't running
11180 or isn't ready yet), or (b) if the supplicant interface isn't ready
11182 - (supplicant_iface_connection_state_cb): new function; stub for
11183 handling supplicant interface connection state signals
11184 - (supplicant_mgr_state_cb): do the right thing when wpa_supplicant
11186 - (nm_device_802_11_wireless_dispose): clean up spacing; release the
11187 supplicant manager object that's being tracked starting with this
11190 2006-12-04 Dan Williams <dcbw@redhat.com>
11192 * src/supplicant-manager/nm-supplicant-interface.c
11193 - (nm_supplicant_interface_set_property): track signal handler ID
11194 - (nm_supplicant_interface_dispose): remove signal handler on dispose
11196 2006-12-04 Dan Williams <dcbw@redhat.com>
11198 * src/supplicant-manager/nm-supplicant-interface.[ch]
11199 - (nm_supplicant_interface_get_state): new function
11201 2006-12-04 Dan Williams <dcbw@redhat.com>
11203 * src/supplicant-manager/nm-supplicant-interface.c
11204 - (bssid_properties_cb): don't treat DBus errors as valid
11205 scanned AP messages
11207 2006-12-04 Dan Williams <dcbw@redhat.com>
11209 * src/supplicant-manager/nm-supplicant-interface.[ch]
11210 - (nm_supplicant_interface_get_connection_state): new function
11211 - define new supplicant connection states
11212 - send a signal when the supplicant connection state changes
11214 2006-12-03 Dan Williams <dcbw@redhat.com>
11216 * src/supplicant-manager/Makefile.am
11217 src/supplicant-manager/nm-supplicant-connection.h
11218 src/supplicant-manager/nm-supplicant-connection.c
11219 src/supplicant-manager/nm-supplicant-config.h
11220 src/supplicant-manager/nm-supplicant-config.c
11221 src/supplicant-manager/nm-supplicant-types.h
11222 src/supplicant-manager/nm-supplicant-interface.h
11223 src/supplicant-manager/nm-supplicant-interface.c
11224 - Rename NMSupplicantConnection -> NMSupplicantConfig
11226 2006-12-03 Dan Williams <dcbw@redhat.com>
11228 Patch from Gabor Kelemen <kelemeng@gnome.hu> (Gnome.org #381890)
11232 - Move VPN-related translatables to .skip
11234 * vpn-daemons/pptp/po/POTFILES.in
11235 - Update with new translatables
11237 2006-12-02 Dan Williams <dcbw@redhat.com>
11239 Patch from Christian Persch <chpe@gnome.org>
11241 * gnome/applet/Makefile.am
11242 gnome/applet/applet-dbus-devices.c
11243 gnome/applet/applet-notifications.c
11244 gnome/applet/applet.c
11245 gnome/applet/applet.h
11246 gnome/applet/main.c
11247 - Be a GtkStatusIcon on GTK+ >= 2.10
11249 2006-12-02 Dan Williams <dcbw@redhat.com>
11251 * gnome/applet/applet.c
11252 - (nma_update_info): fix two unecessary allocations
11254 2006-12-02 Dan Williams <dcbw@redhat.com>
11256 Patch from Michael Biebl <biebl@teco.edu>
11258 man/NetworkManager.1.in
11259 man/NetworkManagerDispatcher.1.in
11260 man/NetworkManager.8.in
11261 man/NetworkManagerDispatcher.8.in
11262 - Add .SH NAME stanzas
11263 - Move NM & NM Dispatcher manpages to section 8 (admin)
11265 2006-12-02 Dan Williams <dcbw@redhat.com>
11267 Patch from Christian Persch <chpe@gnome.org>
11270 - Check for GTK+ 2.10 in preparation for GtkStatusIcon patch
11272 2006-11-29 Tambet Ingo <tambet@ximian.com>
11274 Patch by Timo Hoenig <thoenig@suse.de>:
11275 * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Make it work with
11278 * src/supplicant-manager/Makefile.am: Add nm-supplicant-marshal here, since
11279 we can't use the one from the main source directory.
11281 2006-11-27 Dan Williams <dcbw@redhat.com>
11283 Patch from Christian Persch <chpe@gnome.org>
11285 * gnome/applet/applet-dbus-devices.c
11286 - (hal_info_product_cb): fix memleak; free duped string.
11289 2006-11-27 Dan Williams <dcbw@redhat.com>
11291 Patch from Christian Persch <chpe@gnome.org>
11293 * gnome/applet/menu-items.c
11294 - (network_menu_item_update): use gtk_progress_bar_set_fraction()
11295 as gtk_progress_set_percentage is deprecated. Should
11296 work as far back as GTK+ 2.4. Gnome.org #379780
11298 2006-11-26 Dan Williams <dcbw@redhat.com>
11300 Scan using wpa_supplicant over DBus.
11302 * src/nm-device-802-11-wireless.c
11303 - remove wireless extensions netlink event handler bits
11304 (wireless_event_helper, nm_device_802_11_wireless_event)
11305 - remove wireless extensions scan event handler bits
11306 (process_scan_results, add_new_ap_to_device_list, hexstr2bin,
11307 hex2byte, hex2num, request_and_convert_scan_results,
11308 free_process_scan_cb_data, scan_results_timeout,
11309 schedule_scan_results_timeout, cancel_scan_results_timeout)
11310 - Rename nm_device_802_11_wireless_scan() -> request_wireless_scan()
11311 and request scans from the supplicant interface rather than directly
11312 - Move functionality of convert_scan_results() to cull_scan_list() and
11313 supplicant_iface_scanned_ap_cb()
11314 - (supplicant_iface_scan_result_cb): new function; schedule a new scan
11315 at the scan interval when the current scan has finished
11316 - (supplicant_iface_state_cb): start scanning when the supplicant
11317 interface enters the READY state, and stop scanning when it
11318 enters the DOWN state
11319 - (cull_scan_list): weed out old access points from the scan list
11320 - (supplicant_iface_scanned_ap_cb): convert a supplicant scanned access
11321 point into an NMAccessPoint and merge it into the device's scan list
11323 * src/supplicant-manager/nm-supplicant-interface.c
11324 src/supplicant-manager/nm-supplicant-interface.h
11325 - Add a new signal "scan-result" which is issued when the supplicant
11326 notifies NM that a scan has completed
11327 - Add a new signal "scanned-ap" that notifies listeners of a new access
11328 point found in the scan. Called once for each access point that
11329 the supplicant interface object receives from the supplicant as a
11330 result of the "scanResults" method call
11331 - (wpas_iface_query_scan_results): don't wait 4s before querying
11332 for the initial scan results
11333 - (scan_request_cb): new function; send listeners the result
11334 (success, error) of a wireless scan request
11335 - (nm_supplicant_interface_request_scan): new function; ask the
11336 supplicant to perform an immediate wireless scan
11338 2006-11-25 Dan Williams <dcbw@redhat.com>
11340 * src/supplicant-manager/Makefile.am
11341 - Since we're including NetworkManagerMain.h in nm-supplicant-interface.c,
11342 add HAL cflags/includes and named-manager includes directory
11344 * src/supplicant-manager/nm-supplicant-interface.h
11345 - New state STARTING to handle transition from INIT to READY where
11346 the addInterface pending call is still outstanding
11348 * src/supplicant-manager/nm-supplicant-interface.c
11349 - track pending calls differently since we may have more than one
11350 going on at any given time
11351 - request scan results from wpa_supplicant; but don't do it more often
11352 than every 4 seconds. Drivers that do background scanning
11353 (like the 'ipw' drivers) send a continuous stream of scan completion
11354 notifications, so we don't want to hammer the supplicant or dbus
11355 with requests for all scan results every time we get a completion
11358 2006-11-25 Dan Williams <dcbw@redhat.com>
11360 * src/supplicant-manager/nm-supplicant-types.h
11361 - new file; move all supplicant manager object typedefs here for
11364 * src/supplicant-manager/nm-supplicant-interface.c
11365 src/supplicant-manager/nm-supplicant-interface.h
11366 - new file; an object that interfaces an NMDevice object to the
11367 supplicant and handles signals from the supplicant. This object
11368 does all necessary DBus communication with wpa_supplicant.
11370 * src/supplicant-manager/nm-supplicant-manager.c
11371 src/supplicant-manager/nm-supplicant-manager.h
11372 - Actually do something. Track the state of the wpa_supplicant service
11373 and deal with its comings & goings. Handle life events of
11374 supplicant interfaces too.
11375 - Move NMSupplicantManager typedef to nm-supplicant-types.h
11377 * src/supplicant-manager/nm-supplicant-connection.h
11378 - Move NMSupplicantConnection typedef to nm-supplicant-types.h
11380 * src/supplicant-manager/Makefile.am
11381 - Add new files to build, and add libnm-util to includes
11383 * src/nm-marshal.list
11384 - New marshaler type: VOID:UINT,UINT
11386 * src/nm-device-802-3-ethernet.c
11387 - (real_init): grab a supplicant interface
11388 - (nm_device_802_3_ethernet_dispose): release the supplicant interface
11389 - (supplicant_iface_state_cb): new function, stub for handling
11390 supplicant interface state changes
11392 * src/nm-device-802-11-wireless.c
11393 - (real_init): grab a supplicant interface
11394 - (nm_device_802_11_wireless_dispose): release the supplicant interface
11395 - (supplicant_iface_state_cb): new function, stub for handling
11396 supplicant interface state changes
11398 * src/NetworkManager.c
11399 - (main): create and keep the supplicant manager around for the lifetime
11403 - Link to the supplicant manager sub-library and use the supplicant
11406 2006-11-25 Dan Williams <dcbw@redhat.com>
11408 Rework DBus manager signal handling to be more flexible. Previously,
11409 only one signal handler could be registered for a particular interface.
11410 The DBus manager now reference counts DBus bus matches and allows multiple
11411 clients to register signal handlers for the same interface and sender.
11413 * src/NetworkManager.c
11414 - (main): track NMI signal handler ID and remove it when we quit
11416 * src/NetworkManagerMain.h
11417 - Keep track of NMI signal handler ID
11419 * src/nm-dbus-manager.c
11420 src/nm-dbus-manager.h
11421 - rework signal handling; each signal handler references one signal
11422 match, but a signal match may be referenced by one or more
11423 signal handlers. Matches are refcounted and are destroyed when the
11424 last signal handler that references the match is removed. This is
11425 necessary because two signal handlers may end up requiring the same
11426 dbus bus match, so the match must live until the last signal handler
11427 is destroyed (for example, with the wpa_supplicant network interface
11430 * src/dhcp-manager/nm-dhcp-manager.c
11431 - (nm_dhcp_manager_new): track DHCP signal handler id
11432 - (nm_dhcp_manager_dispose): remove DHCP signal handler
11434 * src/vpn-manager/nm-vpn-service.c
11435 - (nm_vpn_service_add_watch): track VPN service signal handler id
11436 - (nm_vpn_service_remove_watch): remove VPN service signal handler
11438 2006-11-25 Dan Williams <dcbw@redhat.com>
11440 Suggested by Helmut Schaa <hschaa@suse.de>
11442 * src/vpn-daemons/nm-vpn-service.c
11443 - (supplicant_child_setup): new function
11444 - (supplicant_exec): make child process use a new process group id
11446 * src/nm-device-802-11-wireless.c
11447 - (nm_vpn_service_child_setup): new function
11448 - (nm_vpn_service_stage1_daemon_exec): make child process use a new
11451 2006-11-19 Dan Williams <dcbw@redhat.com>
11453 Patch from Dan Berrange <dan@berrange.com> Gnome.org #377262
11454 * gnome/vpn-properties/nm-vpn-properties.c
11455 - clean up after renamed VPN connection
11457 2006-11-19 Dan Williams <dcbw@redhat.com>
11459 Patch from Dan Berrange <dan@berrange.com> Gnome.org #377205
11460 * gnome/applet/applet-dbus-vpn.c
11461 - (nma_dbus_vpn_properties_cb): sort VPN connections
11463 * gnome/vpn-properties/nm-vpn-properties.c
11464 - (init_app): sort VPN connections
11466 2006-11-09 Dan Williams <dcbw@redhat.com>
11468 * src/NetworkManagerAPList.c
11469 - (nm_ap_list_copy_one_essid_by_address): fix bug due to previous
11470 code cleanup in revision 1.56; the split of the !nm_ap_get_essid()
11471 from the nm_ap_list_get_ap_by_address() call was incorrect and
11472 broke hidden SSID matching. Found by Bill Moss.
11474 2006-10-25 Dan Williams <dcbw@redhat.com>
11477 - (nm_dbus_nm_set_active_device): return an empty success message on
11478 success, rather than falling through to the error case.
11480 2006-10-25 Dan Williams <dcbw@redhat.com>
11482 * src/NetworkManagerUtils.c
11483 - (nm_utils_supplicant_request_with_check): suppress messages for the
11486 2006-10-24 Dan Williams <dcbw@redhat.com>
11488 Reduce the number of times the Gnome applet wakes up, especially when
11489 it's doing absolutely nothing and is hidden. Initial patch by
11492 * gnome/applet/applet-dbus.c
11493 - (nma_dbus_filter): when NM isn't around, or when it goes away,
11494 kill the redraw timeout. When NM starts up, start the redraw
11495 timeout. Also, if we get kicked off the bus for some reason,
11496 start the reconnection timeout if one's not already running.
11497 - (nma_dbus_init): better handling of error conditions, don't leak
11498 a half-initialized dbus connection
11499 - (nma_dbus_connection_watcher): consolidate places we reinitialize
11500 the applet's data, just call nm_dbus_init_helper()
11501 - (nma_start_dbus_connection_watch): new function, starts a periodic
11502 timeout that calls nma_dbus_connection_watcher()
11503 - (nma_dbus_init_helper): if we get a successful connection, kill the
11504 reconnection timeout, and don't start the reconnection timeout
11505 unconditionally anymore
11507 * gnome/applet/applet-dbus.h
11508 - Expose nma_start_dbus_connection_watch()
11510 * gnome/applet/applet.c
11511 - (nma_update_state): no longer static, called from applet-dbus.c for
11512 immediate UI updates on certain events
11513 - (nma_set_running): new function; take over setting applet->running,
11514 when not running (ie, NM is not active), don't activate the redraw
11515 timeout because we're not showing the applet anyway. When we are
11516 running (ie, NM is active), and only when we're running, start the
11518 - (nma_destroy): kill the redraw timeout by setting 'not running', and
11519 kill any reconnection timeout
11520 - (nma_get_instance): move one-off dbus initialization code here since
11521 nm_dbus_init_helper() gets called more than once, possibly by the
11522 reconnection timeout function too. And, when we start up, if we
11523 can't get a connection to the bus, start the reconnection timeout.
11524 But don't start the redraw timeout yet, only do that when we get
11525 NM's state and find out if it's running or not.
11527 * gnome/applet/applet.h
11528 - Add the reconnection GSource ID
11529 - Add prototypes for nma_set_running() and the no-longer-static
11532 2006-10-24 Dan Williams <dcbw@redhat.com>
11534 * src/vpn-daemons/nm-dbus-vpnc.c
11535 - (nm_dbus_vpn_update_one_connection_cb): unregister pending call in
11536 pending call tracker
11537 - (nm_dbus_vpn_connections_update_cb): unregister pending call in
11538 pending call tracker; register one-vpn-connection update pending
11539 call in pending call tracker
11540 - (nm_dbus_vpn_update_one_vpn_connection): register one-vpn-connection
11541 update pending call in pending call tracker
11542 - (nm_dbus_vpn_connections_update_from_nmi): register vpn-connections
11543 update pending call in pending call tracker; don't block waiting
11546 2006-10-19 Robert Love <rml@novell.com>
11548 * src/backends/NetworkManagerSuSE.c: Don't ever restart nscd; just
11551 2006-10-14 Dan Williams <dcbw@redhat.com>
11553 * src/dhcp-manager/nm-dhcp-manager.c
11554 - (get_ip4_string, get_ip4_uint32s): have the caller pass
11555 the dbus connection and the device object path rather than
11556 constructing it inside both functions. Saves a bit of memory
11557 and clarifies a failure path.
11558 - (nm_dhcp_manager_get_ip4_config): grab the dbus connection
11559 and allocate device path here rather than each of the two
11562 2006-10-13 Dan Williams <dcbw@redhat.com>
11564 * src/NetworkManager.c
11565 - (nm_name_owner_changed_handler): handle NMI coming and going,
11566 this somehow droppout in the refactor
11568 2006-10-13 Dan Williams <dcbw@redhat.com>
11570 * Huge DBus refactor:
11571 - Create a "DBus Manager" object which manages the connection and
11572 sends signals on NameOwnerChanged and connection/disconnection events,
11573 handles reconnection to the bus if NM gets kicked off, and abstracts
11575 - Remove DBusConnection members from places where they are no
11576 longer needed due to the refactor, like the dbus-connection
11577 property of the named manager, and from NMData
11578 - Reformats a bunch of the code to gnome style
11579 (8-space tabs, braces on same line as statement, 80-col width).
11580 Consider it open season to reformat any bits to gnome style.
11581 style that aren't already.
11583 2006-10-13 Dan Williams <dcbw@redhat.com>
11585 * src/supplicant-manager/Makefile.am
11588 * src/supplicant-manager/nm-supplicant-manager.[ch]:
11589 - Make it a minimal GObject
11591 * src/supplicant-manager/nm-supplicant-settings-verify.[ch]:
11592 - Verify settings destined for wpa_supplicant
11594 * src/supplicant-manager/nm-supplicant-connection.[ch]:
11595 - Minimal GObject to track wpa_supplicant controlled device
11598 2006-10-13 Wouter Bolsterlee <wbolster@gnome.org>
11600 * gnome/applet/applet.c: (nma_update_info),
11601 (nma_act_stage_to_pixbuf), (nma_update_state):
11602 Mark missing strings for translation. Fixes bug #343306.
11604 2006-10-01 Dan Williams <dcbw@redhat.com>
11606 * src/vpn-manager/nm-vpn-manager.c
11607 - (nm_vpn_manager_load_services): split and clean up
11608 for readability and correctness. Restrict VPN service
11609 files to ending in ".name", as was meant from the
11610 beginning (but not coded in). Better error reporting.
11612 2006-10-01 Dan Williams <dcbw@redhat.com>
11615 - Clean up formatting of debug/info/warning log messages
11617 2006-09-27 Robert Love <rml@novell.com>
11619 Patch by Tambet Ingo <tambet@ximian.com>:
11620 * gnome/vpn-properties/nm-vpn-properties.c: Make Renaming a VPN entry
11623 2006-09-07 Dan Williams <dcbw@redhat.com>
11626 test/libnm-util/Makefile.am
11627 test/nm-supplicant-test.c
11628 - Add test program emulating the way NM drives wpa_supplicant
11629 to help debug supplicant issues
11631 2006-08-24 Dan Williams <dcbw@redhat.com>
11635 src/supplicant-manager/Makefile.am
11636 src/supplicant-manager/nm-supplicant-manager.c
11637 src/supplicant-manager/nm-supplicant-manager.h
11638 - Add skeleton bits of the wpa_supplicant manager
11640 2006-08-24 Dan Williams <dcbw@redhat.com>
11642 Patch from Ed Catmur:
11643 * src/NetworkManagerUtils.c
11644 - (nm_utils_ip4_netmask_to_prefix): don't infinitely loop
11645 if netmask is 0 (Gnome #352634)
11647 2006-08-17 Robert Love <rml@novell.com>
11649 * src/backends/NetworkManagerSuSE.c: Do not restart ypbind; our ypbind
11650 package is now DBUS-enabled and listens for the NM signals.
11652 2006-08-14 Dan Williams <dcbw@redhat.com>
11654 * Patch from Christian Persch <chpe gnome org>
11657 vpn-daemons/openvpn/po/LINGUAS
11658 vpn-daemons/openvpn/configure.in
11659 vpn-daemons/pptp/po/LINGUAS
11660 vpn-daemons/pptp/configure.in
11661 vpn-daemons/vpnc/po/LINGUAS
11662 vpn-daemons/vpnc/configure.in
11663 - Convert to LINGUAS method so translators don't have to modify
11664 configure.in, just stuff in po/. Gnome #343132, requires intltool
11667 2006-08-14 Dan Williams <dcbw@redhat.com>
11669 Patch from Alex Smith <alex.extreme2@gmail.com>
11671 src/backends/Makefile.am
11672 src/backends/NetworkManagerFrugalware.c
11673 - Add support for Frugalware
11675 2006-08-13 Dan Williams <dcbw@redhat.com>
11677 Patch from Valentine Sinitsyn <e_val@inbox.ru>
11678 * src/nm-device-802-11-wireless.c
11679 - (supplicant_exec): spawn wpa_supplicant without debug spew
11682 2006-08-13 Dan Williams <dcbw@redhat.com>
11684 Patch from Valentine Sinitsyn <e_val@inbox.ru>
11685 * src/nm-ap-security.c
11686 src/nm-ap-security.h
11687 - Add authentication_required bits for subclasses to specify whether
11688 or not real authentication is required for connections, i.e. whether
11689 the AP rejects us when an encryption key is wrong or not.
11691 * src/nm-ap-security-wep.c
11692 src/nm-ap-security-wpa-eap.c
11693 src/nm-ap-security-wpa-psk.c
11694 src/nm-ap-security-leap.c
11695 - Implement authentication_required appropriately for each method
11697 * src/nm-device-802-11-wireless.c
11698 - Be smarter about when to request a key; for example, using a wrong key
11699 in WEP shared key mode previously just timed out and did not request
11702 2006-08-13 Dan Williams <dcbw@redhat.com>
11704 * gnome/libnm_glib/libnm_glib.c
11705 - dbus_connection_disconnect() -> dbus_connection_close() for
11708 2006-08-07 Dan Williams <dcbw@redhat.com>
11710 Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
11711 * src/NetworkManagerSystem.c
11712 - Respect specified MTU. Gnome #344967
11714 2006-08-07 Dan Williams <dcbw@redhat.com>
11716 * src/vpn-manager/nm-vpn-service.c
11717 - Simplify print_vpn_config() arguments
11719 Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
11720 * src/vpn-manager/Makefile.am
11721 src/vpn-manager/nm-vpn-service.c
11722 - Add new API for passing VPN config options as a dict. Gnome #344967
11724 2006-08-06 Dan Williams <dcbw@redhat.com>
11726 * gnome/applet/applet-dbus-devices.c
11727 gnome/applet/applet-dbus-vpn.c
11728 gnome/applet/applet-dbus.c
11729 gnome/applet/applet-dbus.h
11733 - Make pending call tracking code generic,
11734 so we can use it in NM as well as the applet
11736 2006-08-06 Dan Williams <dcbw@redhat.com>
11738 * src/nm-activation-request.c
11739 - Refcount pending call objects
11741 2006-08-06 Dan Williams <dcbw@redhat.com>
11743 Patch from Christan Chiesa <christanc@gmail.com>
11745 - Tell sha1.c to use bigendian mode on PPC
11747 2006-08-04 Robert Love <rml@novell.com>
11749 Glib Memory Slices!
11750 * configure.in: Require glib 2.10 or later.
11751 * src/NetworkManager.c, src/NetworkManagerAP.c, src/nm-ip4-config.c,
11752 src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
11753 src/NetworkManagerDbusUtils.c, src/nm-dbus-nmi.c, src/wpa.c,
11754 src/nm-device-802-11-wireless.c: Convert applicable g_malloc and
11755 g_new calls to g_slice_new. Likewise for g_free to g_slice_free.
11756 Memory Slices are the greatest thing since bread slices.
11757 * src/NetworkManagerAP.c: Also, fix memory leak.
11759 2006-08-01 Robert Love <rml@novell.com>
11761 * gnome/applet/main.c: Shutdown all VPN connections on logout.
11763 2006-07-31 Robert Love <rml@novell.com>
11765 * src/backends/interface_parser.c: Declarations must begin the block.
11767 2006-07-24 Dan Williams <dcbw@redhat.com>
11769 Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
11770 * src/backends/Makefile.am
11771 src/backends/NetworkManagerArch.c
11772 src/backends/NetworkManagerDebian.c
11773 src/backends/NetworkManagerGeneric.c
11774 src/backends/NetworkManagerGeneric.h
11775 src/backends/NetworkManagerGentoo.c
11776 src/backends/NetworkManagerPaldo.c
11777 src/backends/NetworkManagerRedHat.c
11778 src/backends/NetworkManagerSlackware.c
11779 src/backends/NetworkManagerSuSE.c
11780 - Genericize common backend functions
11782 2006-07-18 Robert Love <rml@novell.com>
11784 * configure.in: Add "--with-notify" option to allow disabling of
11787 2006-07-13 Dan Williams <dcbw@redhat.com>
11789 Patch from Thiago Bauermann <thiago.bauermann@gmail.com>
11790 * gnome/applet/applet.glade
11791 gnome/applet/Makefile.am
11792 gnome/applet/nm-gconf-wso.c
11793 gnome/applet/nm-gconf-wso-leap.c
11794 gnome/applet/nm-gconf-wso-leap.h
11795 gnome/applet/wireless-security-manager.c
11796 gnome/applet/wso-leap.c
11797 gnome/applet/wso-leap.h
11798 include/NetworkManager.h
11799 libnm-util/dbus-helpers.c
11800 libnm-util/dbus-helpers.h
11802 src/NetworkManagerAP.c
11803 src/nm-ap-security.c
11804 src/nm-ap-security-leap.c
11805 src/nm-ap-security-leap.h
11806 - Add LEAP authentication support
11808 2006-07-13 Dan Williams <dcbw@redhat.com>
11810 Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
11812 src/backends/NetworkManagerArch.c
11813 src/backends/NetworkManagerDebian.c
11814 src/backends/NetworkManagerGentoo.c
11815 src/backends/NetworkManagerPaldo.c
11816 src/backends/NetworkManagerRedHat.c
11817 src/backends/NetworkManagerSlackware.c
11818 src/backends/NetworkManagerSuSE.c
11819 - Convert hardcoding of 'ip' path to configure-time
11822 2006-07-12 Leonid Kanter <leon@asplinux.ru>
11824 * configure.in: added ru to ALL_LINGUAS
11826 2006-07-10 Dan Williams <dcbw@redhat.com>
11828 Patch from Valentine Sinitsyn <e_val@inbox.ru>
11830 - (real_act_stage3_ip_config_start): don't infinite loop when
11831 dhcdbd isn't running (Gnome #346845)
11833 2006-07-09 Dan Williams <dcbw@redhat.com>
11835 * gnome/applet/applet.c
11836 - (nma_destroy): don't pass NULL to notify_notification_close
11839 2006-07-09 Dan Williams <dcbw@redhat.com>
11841 * gnome/applet/applet.c
11842 - (nma_about_cb): remove empty documenters tab (Gnome #341324)
11844 2006-07-04 Tor Krill <tor@krill.nu>
11846 Patch from Valentine Sinitsyn <e_val@inbox.ru>
11847 * src/backends/NetworkManagerArch.c: (nm_system_update_dns),
11848 (nm_system_restart_mdns_responder), (ArchReadConfig),
11849 (nm_system_device_get_system_config):
11850 - Explicitly check for DHCP configuration
11851 - Check if daemons are running before starting them
11853 2006-06-25 Dan Williams <dcbw@redhat.com>
11855 * libnm-util/dbus-dict-helpers.[ch]
11856 test/libnm-util/test-dbus-dict-helpers.c
11857 - Add string array support
11859 2006-06-24 Dan Williams <dcbw@redhat.com>
11861 * src/dhcp-manager/nm-dhcp-manager.c
11862 - (nm_dhcp_manager_process_signal): clean up spacing
11864 2006-06-21 Dan Williams <dcbw@redhat.com>
11866 * src/nm-dbus-device.c
11867 - (nm_dbus_device_get_driver): don't try to stuff a NULL
11870 2006-06-21 Raivis Dejus <orvils@gmail.com>
11872 * configure.in: Added 'lv' to ALL_LINGUAS
11874 2006-06-19 Dan Williams <dcbw@redhat.com>
11876 * src/NetworkManagerAP.c
11877 - Clarify usage of user_created
11879 * src/nm-ap-security-wep.c
11880 src/nm-ap-security-wpa-eap.c
11881 src/nm-ap-security-wpa-psk.c
11882 src/nm-ap-security.c
11883 src/nm-ap-security.h
11884 - s/user_created/adhoc, because we really do mean adhoc
11886 Patch from Bernard Blackham <bernard@blackham.com.au>
11887 * src/nm-device-802-11-wireless.c
11888 - (supplicant_send_network_config): instead of user_created,
11889 use adhoc, and do AP_SCAN 2 for adhoc networks
11891 2006-06-18 Robert Love <rml@novell.com>
11893 * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the Gconf keys unless
11894 we have a value to set. Gconf generates a warning if `val' is NULL.
11895 * src/nm-ap-security-wpa-eap.c: Don't set the key for an Enterprise AP
11896 unless we actually received a valid private key file passphrase or
11897 password. Otherwise, we don't know to later ask the applet to pull
11898 the key from the keyring.
11900 2006-06-17 Dan Williams <dcbw@redhat.com>
11902 * libnm-util/dbus-dict-helpers.[ch]
11903 test/libnm-util/test-dbus-dict-helpers.c
11904 - Fixes for zero-length byte arrays
11905 - Replace return values of 0 with FALSE for clarity
11906 - Test zero-length byte arrays
11908 2006-06-17 Dan Williams <dcbw@redhat.com>
11910 * libnm-util/dbus-dict-helpers.[ch]
11911 test/libnm-util/test-dbus-dict-helpers.c
11912 - Add helpers for byte arrays
11913 - Rework bits of the testcase
11915 2006-06-16 Dan Williams <dcbw@redhat.com>
11917 * libnm-util/Makefile.am
11918 * libnm-util/dbus-dict-helpers.[ch]
11919 - Add some helpers to take the pain out of using dict types in
11922 * test/libnm-util/Makefile.am
11923 * test/libnm-util/test-dbus-dict-helpers.c
11924 - Test cases for the dict helper functions
11926 2006-06-15 Robert Love <rml@novell.com>
11928 * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the key unless there
11929 is a non-empty key to set. Elsewhere, pass an empty string via DBUS
11930 if there is no key to pass.
11931 * libnm-util/dbus-helpers.c: Given the above, we can trust always
11932 receiving a non-NULL key.
11934 2006-06-14 Robert Love <rml@novell.com>
11936 * src/nm-ap-security-wpa-eap.c: In real_copy_constructor(), actually
11940 2006-06-14 Dan Williams <dcbw@redhat.com>
11942 Patch from Lorenzo Colitti <lorenzo@colitti.com> gnome.org #344825
11943 * src/nm-device-802-11-wireless.c
11944 - (nm_device_802_11_wireless_set_essid): only wait for orinoco cards
11945 or ones where the driver is unknown
11946 - (supplicant_exec): don't wait for supplicant startup here
11947 - (supplicant_interface_init): finer grained polling for supplicant
11950 2006-06-13 Robert Love <rml@novell.com>
11952 * gnome/applet/applet-dbus-info.c: Don't set the fallback bit to FALSE
11953 if it is currently set to TRUE. Otherwise, we will reset the value
11954 when we connect normally.
11955 * src/nm-device-802-11-wireless.c: For the roaming code, make sure that
11956 the old BSSID is valid, too. The recently added ESSID check may not be
11957 sufficient (we can remove it?). What we really want to catch is the
11958 case of going from all-zeros to the BSSID of some other network, which
11959 happens on failure.
11961 2006-06-09 Dan Williams <dcbw@redhat.com>
11963 * src/NetworkManagerSystem.[ch]
11964 - (nm_system_device_set_up_down_with_iface): remove 'dev' argument,
11965 it was unused and pointless
11966 - (nm_system_vpn_device_set_from_iface, nm_system_device_set_up_down):
11967 fix for set_up_down_with_iface change
11969 * src/vpn-manager/nm-vpn-connection.c
11970 - (nm_vpn_connection_deactivate): fix for set_up_down_with_iface change
11972 * src/backends/NetworkManagerPaldo.c
11973 src/backends/NetworkManagerRedHat.c
11974 src/backends/NetworkManagerSuSE.c
11975 src/backends/NetworkManagerArch.c
11976 src/backends/NetworkManagerDebian.c
11977 src/backends/NetworkManagerGentoo.c
11978 - (nm_system_enable_loopback): use set_up_down_with_iface where
11980 - (nm_system_flush_loopback_routes): use flush_routes_with_iface
11983 2006-06-09 Dan Williams <dcbw@redhat.com>
11985 Patch from Peter Jones:
11986 * src/nm-device-802-11-wireless.c
11987 - (nm_device_802_11_wireless_update_bssid): make sure that the
11988 SSID hasn't changed from what we expect before automatically
11989 updating the saved BSSID from a new AP
11991 2006-06-08 Robert Love <rml@novell.com>
11993 Add 'fallback' support. NetworkManager will attempt to brute-force
11994 connect to networks marked as fallback if there are no better wireless
11995 connections available. This is useful as a method of last resort, to
11996 work around driver problems, and for use with hidden networks.
11997 * gnome/applet/applet-dbus-devices.c,
11998 gnome/applet/applet-dbus-devices.h: Add fallback parameter.
11999 * gnome/applet/applet-dbus-info.c: Retrieve fallback bit from Gconf and
12000 pass it on via DBUS.
12001 * gnome/applet/applet.c: No fallback by default.
12002 * gnome/applet/applet.glade, gnome/applet/other-network-dialog.c:
12003 Update other-network-dialog to add UI checkbox toggling fallback.
12004 * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Remove "trusted"
12005 propery from AP object. Add "fallback" property to AP object.
12006 * src/nm-dbus-nm.c: Grab the fallback parameter via DBUS.
12007 * src/nm-dbus-nmi.c: Grab the fallback parameter via DBUS.
12008 * src/nm-device-802-11-wireless.c: Break out blacklist logic into
12009 separate function. Add get_best_fallback_ap() for returning an AP
12010 on which to attempt fallback.
12011 * src/backends/NetworkManagerSuSE.c: Set stored network as fallback.
12012 * test/nm-set-fallback: New file. Sets a given network as fallback.
12014 2006-06-07 Robert Love <rml@novell.com>
12016 * gnome/applet/gconf-helpers.c: Bug fix: nm_gconf_helper_get_bool()
12017 checked that the return type was GCONF_VALUE_STRING, not the correct
12018 GCONF_VALUE_BOOL, and thus it never worked.
12019 * src/NetworkManagerAPList.c: Before concluding that two networks are
12020 identical based on their BSSID, make sure that the BSSID in question
12021 is actually valid. Specifically, an empty or all zero BSSID does not
12023 * gnome/applet/applet-dbus-info.c, gnome/applet/other-network-dialog.c,
12024 src/nm-dbus-nmi.c, src/nm-device-802-11-wireless.c: White space and
12025 similar invariant clean up.
12027 2006-06-02 Robert Love <rml@novell.com>
12029 * gnome/applet/applet.c: Update copyright years. Add Novell.
12031 2006-05-28 Dan Williams <dcbw@redhat.com>
12033 * gnome/applet/applet.glade
12034 gnome/vpn-properties/nm-vpn-properties.glade
12035 - Set window icons on dialogs (Gnome.org #333420)
12037 2006-05-28 Christian Persch <chpe@cvs.gnome.org>
12039 * gnome/vpn-properties/nm-vpn-properties.glade:
12040 * vpn-daemons/openvpn/properties/nm-openvpn-dialog.glade:
12041 * vpn-daemons/pptp/properties/nm-pptp-dialog.glade:
12042 * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
12043 - Make the VPN properties pages prettier and more HIG
12044 compliant. Gnome Bug #336913.
12046 2006-05-28 Dan Williams <dcbw@redhat.com>
12048 Patch from Christian Persch <chpe@gnome.org>
12049 * gnome/vpn-properties/nm-vpn-properties.c
12050 * gnome/vpn-properties/nm-vpn-properties.glade
12051 - HIG-ification love (Gnome.org #336846)
12053 2006-05-28 Dan Williams <dcbw@redhat.com>
12055 Patch from Christian Persch <chpe@gnome.org>
12057 gnome/vpn-properties/nm-vpn-properties.c
12058 - (main): Fix option parsing. Gnome.org #336847
12060 2006-05-28 Dan Williams <dcbw@redhat.com>
12062 * gnome/vpn-properties/nm-vpn-properties.c
12063 - (find_vpn_ui_by_service_name): protect against NULL service names
12064 - (update_edit_del_sensitivity): protect against NULL service names
12067 2006-05-28 Dan Williams <dcbw@redhat.com>
12069 Patch from Chris Fuller <crf@grandecom.net>:
12070 * src/nm-device-802-11-wireless.c
12071 - (nm_device_802_11_wireless_dispose): add a is_initialized member and
12072 don't dispose of wireless-specific stuff unless it is actually
12073 initialized. Gnome.org #341263
12075 2006-05-28 Dan Williams <dcbw@redhat.com>
12077 * src/NetworkManagerPolicy.c
12078 - (nm_policy_device_change_check): don't switch devices if the "best"
12079 AP is essentially the same as the current activation request, but
12080 the current activation request isn't done activating yet. Fixes
12081 multiple requests for keyring password on startup for Gnome applet.
12084 2006-05-26 Nicolas Trangez <eikke@eikke.com>
12086 * src/NetworkManager.c: use GOptions instead of getopt
12087 * configure.in: bump glib required version to >= 2.6 for GOption
12090 2006-05-25 Robert Love <rml@novell.com>
12092 * src/nm-device.h: Introduce nm_ioctl_info(), which defines to
12093 nm_info() if IOCTL_DEBUG is set and a no-op if not. We can use this
12094 instead of dumping ifdef's throughout the code.
12095 * src/NetworkManagerSystem.c, src/nm-device-802-11-wireless.c,
12096 src/nm-device-802-3-ethernet.c, src/nm-device.c: Remove ifdef's and
12097 use nm_ioctl_info() in lieu.
12099 2006-05-25 Robert Love <rml@novell.com>
12101 Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342400:
12102 * libnm-util/Makefile.am: Only build gnome-keyring-md5.{c,h} if we are
12103 not using gcrypt. Otherwise, we get a linker error.
12105 2006-05-25 Robert Love <rml@novell.com>
12107 Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342398:
12108 * configure.in, gnome/Makefile.am, Makefile.am: Add "--without-gnome"
12109 configure flag to disable building of the GNOME-based applet.
12111 2006-05-25 Robert Love <rml@novell.com>
12113 * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Rename function
12114 parameter from link, because it shadows a global variable with some
12115 older versions of glibc. Yes, glibc is now fixed and, yes, glibc
12116 should never have exported to the entire system a common four letter
12117 word. But we here at NetworkManager are team players. Fixes
12120 2006-05-25 Arangel Angov <ufo@linux.net.mk>
12122 * configure.in: Added mk.po, Macedonian translation.
12124 2006-05-24 Robert Love <rml@novell.com>
12126 * examples/python/systray/eggtrayicon.c, gnome/applet/eggtrayicon.c,
12127 gnome/applet/passphrase-dialog.c, gnome/applet/vpn-password-dialog.c,
12128 src/NetworkManager.c: Include <glib/gi18n.h> and not <libintl.h>.
12130 2006-05-24 Robert Love <rml@novell.com>
12132 * gnome/applet/Makefile.am, gnome/vpn-properties/Makefile.am,
12133 libnm-util/Makefile.am, src/Makefile.am,
12134 vpn-daemons/openvpn/auth-dialog/Makefile.am,
12135 vpn-daemons/openvpn/properties/Makefile.am,
12136 vpn-daemons/pptp/auth-dialog/Makefile.am,
12137 vpn-daemons/pptp/properties/Makefile.am,
12138 vpn-daemons/vpnc/auth-dialog/Makefile.am,
12139 vpn-daemons/vpnc/properties/Makefile.am: Do not override what the
12140 user passed for --datadir, if anything, when setting the GNOME locale
12141 directory. It should be a function of the specified datadir and not
12144 2006-05-24 Robert Love <rml@novell.com>
12146 * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c,
12147 src/NetworkManager.c: Take care to call bindtextdomain with the
12148 location of msgid files.
12149 * src/Makefile.am: Set GNOMELOCALEDIR to the location of GNOME mo
12152 2006-05-22 Robert Love <rml@novell.com>
12154 * src/nm-device-802-11-wireless.c: Don't chain up to the parent's
12155 stage4_timeout on failure unless the wireless network is Ad-Hoc.
12156 99% of the time there is a real problem with wireless, and a
12157 seemingly successful connection via Zeroconf just confuses the user.
12158 And that 1% of the time the network is probably Ad-Hoc, anyhow.
12160 2006-05-22 Robert Love <rml@novell.com>
12162 * src/backends/NetworkManagerSuSE.c: Reload, do not restart, ypbind and
12163 autofs on interface up if NIS is configured. On interface down, do
12166 2006-05-22 Robert Love <rml@novell.com>
12168 * gnome/applet/applet.c: Zero out the icon pointers before we set them,
12169 to avoid calling g_object_unref() on stale pointers on error in
12170 nma_icons_free(). This happens because we short-circuit loaded the
12171 icons on the first failure but then free all icons. Normally we have
12172 no issue because the icons were zero'ed out malloc, but we have stale
12173 pointer data after nma_icon_theme_changed().
12174 * gnome/applet/main.c: Return error code if nma_new() failed.
12176 2060-05-21 Dan Williams <dcbw@redhat.com>
12178 * initscript/NetworkManager.in
12179 - Ensure both dhcdbd and named are started before NM
12181 2006-05-21 Dan Williams <dcbw@redhat.com>
12184 - Bump version to 0.7 to signify we are in 0.7 development
12186 2006-05-21 Dan Williams <dcbw@redhat.com>
12188 Patch from Adam Schreiber <sadam@clemson.edu>
12189 * gnome/vpn-properties/nm-vpn-properties.c
12190 - (main): correct Gnome program name (gnome.org #342498)
12192 2006-05-21 Dan Williams <dcbw@redhat.com>
12194 Fix gnome.org #330832 based on patch from Crispin Flowerday <crispin@gnome.org>
12196 * src/NetworkManagerDbus.[ch]
12197 - nm_dbus_get_device_from_object_path -> nm_dbus_get_device_from_escaped_object_path:
12198 clarify that function's argument should be an escaped dbus object
12199 path, and look for path segment end before returning a match
12200 * src/nm-dbus-nm.c:
12201 - Fix up users of nm_dbus_get_device_from_escaped_object_path()
12203 2006-05-17 Robert Love <rml@novell.com>
12205 Functionality to differentiate Ad-Hoc networks from infrastructure
12206 networks in the applet, by displaying a special icon:
12207 * gnome/applet/applet-dbus-devices.c: Set the mode for new networks.
12208 * gnome/applet/applet.c: Pass 'applet' to network_menu_item_update().
12209 * gnome/applet/menu-items.c: Set a special icon in the scan list for
12210 ad-hoc networks. TODO: Add a third icon representing "encrypted and
12211 Ad-Hoc". Right now, we display the same icon for all Ad-Hoc wireless
12212 networks, encrypted or not.
12213 * gnome/applet/wireless-network.c, gnome/applet/wireless-network.h: New
12214 accessor functions to get and set the mode of a given network,
12215 wireless_network_get_mode() and wireless_network_set_mode().
12217 2006-05-17 Robert Love <rml@novell.com>
12219 Functionality to automatically add BSSIDs to the allowed-MAC list as
12220 one roams from access point to access point on a given network:
12221 * src/NetworkManagerUtils.c: Add nm_ethernet_addresses_are_equal(),
12222 helper function to compare two ether_addr structures and return TRUE
12223 if they contain the same MAC address.
12224 * src/NetworkManagerUtils.h: Add nm_ethernet_addresses_are_equal()
12226 * src/nm-device-802-11-wireless.c: New function to update the BSSID
12227 stored with the current AP. If the BSSID has indeed changed, we
12228 send it out to the applet, allowing the allowed-MAC list to grow
12229 automatically in response to roaming.
12231 2006-05-16 Robert Love <rml@novell.com>
12233 * src/backends/NetworkManagerSuSE.c: Don't touch ypbind or autofs
12234 unless dhcp:DHCLIENT_MODIFY_NIS_CONF is set to "yes".
12236 2006-05-13 Dan Williams <dcbw@redhat.com>
12238 * src/nm-device-802-3-ethernet.c
12239 - (real_get_generic_capabilities): Don't ignore devices that can't do
12240 carrier detect (Debian bug #366373)
12242 2006-05-11 Dan Williams <dcbw@redhat.com>
12244 Patch from Michael Biebl <biebl@teco.edu>
12245 * src/backends/NetworkManagerDebian.c
12246 - Debian backend fixups
12248 2006-05-10 Robert Love <rml@novell.com>
12250 * src/backends/NetworkManagerSuSE.c: Fix double free (Novell #173442).
12252 2006-05-09 Robert Love <rml@novell.com>
12254 * gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXME: Save the WPA EAP
12255 private certificate passphrase, if any, in the GNOME Keyring.
12256 * libnm-utils/dbus-helpers.c: Update.
12258 2006-05-05 Dan Williams <dcbw@redhat.com>
12260 * src/nm-device-802-11-wireless.c
12261 - (nm_device_802_11_wireless_set_wep_enc_key): convert to
12262 nm_device_802_11_wireless_disable_encryption() since that's all
12263 we use it for anymore; we don't ever set WEP keys ourselves.
12264 - (real_deactivate_quickly): reset SSID and encryption keys
12265 - (real_deactivate): move SSID and encryption key reset to
12266 real_deactivate_quickly(), which gets run before us anyway
12268 2006-05-05 Robert Love <rml@novell.com>
12270 * src/NetworkManager.c: Set the umask to 0022 when daemonizing, in case
12271 root has a wacky default of its own (or, more common, a user has a
12272 bad umask and uses su/sudo to restart NetworkManager). Anything
12273 other than 0022 does not do what we want with, for example,
12274 resolv.conf. This problem is amplified by our judicious use of
12275 fopen(), which uses mode 0666 -- implying that the only way to get
12276 the permissions we want is with a umask of 0022.
12278 2006-05-05 Dan Williams <dcbw@redhat.com>
12280 * gnome/libnm_glib/libnm_glib.c
12281 - Don't suck CPU when dbus isn't around by scheduling idle handlers
12282 to reconnect; instead wait a bit more with each reconnect attempt
12283 up to a max of one minute.
12285 2006-05-04 Ryan Lortie <desrt@desrt.ca>
12287 * gnome/applet/passphrase-dialog.c (update_button_cb): Get the SSID of
12288 the WirelessNetwork structure using the proper function instead of
12289 just casting it directly to (const char *) (gnome.org #336991)
12291 2006-05-03 Robert Love <rml@novell.com>
12293 * src/backends/NetworkManagerSuSE.c: Respect the variable
12294 dhcp:DHCLIENT_MODIFY_RESOLV_CONF, not
12295 config:MODIFY_RESOLV_CONF_DYNAMICALLY, when deciding whether or not
12296 to dynamically update /etc/resolv.conf.
12298 2006-05-02 Peter Jones <pjones@redhat.com>
12300 * vpn-daemons/vpnc/src/nm-vpnc-service.c: Allow rekeying.
12302 2006-05-02 Robert Love <rml@novell.com>
12304 Patch by Timo Hoenig;
12305 * tests/nm-online.c: Print pretty status indicator as timeout winds
12306 down. Also fix possible race between DBUS startup and failure
12309 2006-05-01 Robert Love <rml@novell.com>
12311 * gnome/applet/applet-compat.c: Warn if the returned escaped ESSID is
12314 2006-04-27 Jeremy Katz <katzj@redhat.com>
12316 * src/nm-device.c (discover_device_type): Actually use the hal
12317 device type instead of ioctl poking
12319 2006-04-26 Robert Love <rml@novell.com>
12321 * tests/nm-online.c: New file. Simple utility that returns exit status
12322 noting whether the connection is offline or online. If offline on
12323 start, it waits 30 seconds (or a command-line given value) for an
12324 online signal. If it times out, it again returns offline. This is
12325 useful for scripts that want to wait for network connections.
12327 2006-04-25 Robert Love <rml@novell.com>
12329 * src/nm-ap-security-wep.c: Bug fix: We stopped setting the
12330 key mode (the authentication algorithm), e.g. open or shared, when we
12331 moved to using wpa_supplicant. wpa_supplicant defaults to open, so
12332 only shared was broken. If the user specified a shared key, set it
12333 explicitly, otherwise let wpa_supplicant go with the default.
12335 2006-04-24 Dan Williams <dcbw@redhat.com>
12337 * src/nm-device-802-11-wireless.c
12338 - (nm_device_802_11_wireless_set_essid): fix setting of "any" essid
12340 2006-04-24 Dan Williams <dcbw@redhat.com>
12342 Commit the async scanning patch
12344 * src/nm-device-802-11-wireless.c
12345 - get rid of scan_mutex
12346 - (wireless_event_helper): act on wireless scan events
12347 - (real_start): schedule a pending scan
12348 - (link_to_specific_ap): fake the link to the AP during a scan
12349 - (nm_device_802_11_wireless_update_signal_strength): ignore signal
12350 strength during scans
12351 - (nm_device_get_frequency, nm_device_set_frequency, nm_device_get_bitrate,
12352 nm_device_set_bitrate): unused with new scanning code, disable
12353 - (nm_device_wireless_schedule_scan): removed
12354 - (nm_device_wireless_process_scan_results): renamed to convert_scan_results()
12355 - (request_and_convert_scan_results): new function; retrieve scan
12356 results from the driver and schedule the processing function
12357 - (scan_results_timeout): timeout triggered when card doesn't send
12358 a scan results wireless event during a certain interval
12359 - (schedule_scan_results_timeout): new function; schedule the scan
12361 - (cancel_scan_results_timeout): new function; cancel the scan
12363 - (nm_device_802_11_wireless_scan): if wpa_supplicant is running, ask it
12364 to do the scanning. Otherwise, just request a scan but don't
12365 grab results here; instead schedule a timeout for scan results and
12366 let netlink notify us of scan completion events
12367 - (nm_device_wireless_schedule_scan): new function; schedule a wireless scan
12368 - (cancel_pending_scan): new function; cancel a pending wireless scan
12369 - (supplicant_status_cb): ignore disconnect events while scanning
12370 - (supplicant_exec): wait a bit longer for the supplicant to start up
12371 - (nm_device_802_11_wireless_dispose): cancel pending scans and results
12373 - (get_scan_results): removed; folded into request_and_convert_scan_results()
12375 2006-04-24 Dan Williams <dcbw@redhat.com>
12377 * gnome/applet/applet-dbus.c
12378 - Disable the pending call debug stuff, seems under control now
12380 2006-04-20 Robert Love <rml@novell.com>
12382 Fix bug where hidden ESSID's would not show up in the applet, even
12383 if NMI provided a BSSID -> ESSID mapping from Gconf. This occurred
12384 because nm_policy_device_list_update_from_allowed_list() would merge
12385 the data, putting a name to the hidden networks, but never notify NMI
12386 of the changes. Simple fix is to invoke the function
12387 nm_dbus_signal_wireless_network_change() if we make a mapping.
12388 * src/NetworkManagerAPList.c: Call the function
12389 nm_dbus_signal_wireless_network_change() if we made a successful
12390 BSSID to ESSID mapping, notifying the applet of the "new" network.
12391 * src/NetworkManagerAPList.h: Update the prototypes for both
12392 nm_ap_list_copy_essids_by_address() and
12393 nm_ap_list_copy_one_essid_by_address().
12395 2006-04-20 Robert Love <rml@novell.com>
12397 * gnome/applet/applet-dbus-info.c: Don't bail out if the timestamp is
12398 not set. Just return zero.
12400 2006-04-20 Robert Love <rml@novell.com>
12402 * gnome/vpn-properties/nm-vpn-properties.c: Satisfy TODO: Ensure that
12403 only one copy of nm-vpn-properties is running at a time via the 'ol
12404 X selection trick. This prevents the user from opening two "VPN
12405 Connections" windows from within the applet, which leads to mass
12407 * clipboard.c: New file, implementing simple X selection logic.
12408 * clipboard.h: New file.
12409 * gnome/vpn-properties/Makefile.am: Add clipboard.{c,h}
12411 2006-04-18 Nicolas Trangez <eikke@eikke.com>
12413 * backends/NetworkManagerGentoo.c: Small cleanups and enhancements
12415 initscript/Gentoo/Makefile.am
12416 initscript/Gentoo/NetworkManagerDispatcher.in
12418 * initscript/Gentoo/NetworkManager.in: small dependency fixup from
12421 2006-04-16 Dan Williams <dcbw@redhat.com>
12423 Patch from Paul Blazejowski <paulb@blazebox.homeip.net>
12425 initscript/Slackware/Makefile.am
12426 initscript/Slackware/rc.networkmanager-dispatcher.in
12427 initscript/Slackware/rc.networkmanager.in
12428 - Update slackware initscripts
12430 2006-04-10 Robert Love <rml@novell.com>
12432 * gnome/vpn-properties/nm-vpn-properties.c: Intercept and short-circuit
12433 the "delete_event" signal on the druid's parent window and handle it
12434 our way, lest using the WM to close the druid results in a series of
12435 bloody and ultimately lethal errors.
12437 2006-04-10 Robert Love <rml@novell.com>
12439 * gnome/vpn-properties/nm-vpn-properties.c: Validate VPN settings on
12440 'Back' too or else the 'Forward' option is initially disabled despite
12443 2006-04-06 Robert Love <rml@novell.com>
12445 Fix bad but simple bug where an active modem connection did not update
12446 NM's connection state, breaking any app that did online/offline:
12447 * src/NetworkManagerMain.h: Add 'modem_active' member to NMData,
12448 represented whether a dial up connection is active, or not.
12449 * src/nm-dbus-nm.c: Set and unset 'modem_active' in response
12450 to modem activation and deactivation.
12451 * src/NetworkManagerDbus.c: When asked our state, do not return
12452 disconnected if the modem is active.
12454 2006-04-04 Robert Love <rml@novell.com>
12456 * gnome/applet/applet.c: Remove the 'Remove' option that I added to the
12457 applet. It just confuses the crap out of people and does not make a
12458 lot of sense, as the daemon still runs.
12460 2006-04-02 Tor Krill <tor@krill.nu>
12462 * initscript/Arch/networkmanager.in: Added checks for HAL and dhcdbd
12463 in start of service.
12464 * src/backends/NetworkManagerArch.c: (nm_system_get_mtu): Added to
12465 get Archlinux backend up to date.
12467 2006-03-29 Robert Love <rml@novell.com>
12469 Patch by Vinay R <rvinay@novell.com> and Robert Love <rml@novell.com>,
12470 to add support for per-route MSS and improve support for per-interface
12472 * src/NetworkManagerSystem.c: Modify nm_system_device_set_ip4_route to
12473 optionally take an MSS parameter and set it for the given route.
12474 Remove nm_system_device_set_ip4_route_with_iface. Pass in the
12475 NMIP4Config's stored MSS, if any.
12476 * src/nm-ip4-config.c: Add 'mtu' and 'mss' to NMIP4Config, representing
12477 the interface's MTU and the route's MSS, respectively. Add functions
12478 nm_ip4_config_get_mtu, nm_ip4_config_set_mtu, nm_ip4_config_get_mss,
12479 and nm_ip4_config_set_mss for retrieving and setting the MTU and the
12481 * src/nm-ip4-config.h: Add prototypes for nm_ip4_config_get_mtu,
12482 nm_ip4_config_set_mtu, nm_ip4_config_get_mss, and
12483 nm_ip4_config_set_mss.
12484 * src/vpn-manager/nm-vpn-service.c: Modify to receive the MSS from the
12486 * src/backends/NetworkManager{Arch,Debian,Gentoo,RedHat,Slackware,SUSE}.c:
12487 Change the retval of nm_system_get_mtu to guint32.
12488 * src/dhcp-manager/nm-dhcp-manager.c: Set the MTU on the new DHCP-given
12489 NMIP4Config to the MTU provided by the system, if any. TODO: If DHCP
12490 servers can specify MTU's, we should set it here if the MTU was not
12493 2006-03-27 Jürg Billeter <j@bitron.ch>
12496 * initscript/Makefile.am:
12497 * initscript/paldo/Makefile.am:
12498 * initscript/paldo/NetworkManager.in:
12499 * initscript/paldo/NetworkManagerDispatcher.in:
12500 * src/backends/Makefile.am:
12501 * src/backends/NetworkManagerPaldo.c:
12502 - Add paldo support
12504 2006-03-27 Dan Williams <dcbw@redhat.com>
12506 Patch from Christian Persch <chpe@gnome.org>
12507 * gnome/applet/applet.glade
12508 - HIG fixes; mostly for spacing and borders (gnome.org #336220)
12510 2006-03-27 Dan Williams <dcbw@redhat.com>
12512 Patch from Diffe <diffie@blazebox.homeip.net>
12513 * src/backends/NetworkManagerSlackware.c
12514 - Don't restart howl, since it's been replaced by Avahi
12515 in most distributions
12517 2006-03-27 Dan Williams <dcbw@redhat.com>
12519 Patch from Tor Krill <bugzilla@krill.nu>
12521 initscript/Makefile.am
12522 src/backends/Makefile.am
12523 src/backends/NetworkManagerArch.c
12524 initscript/Arch/Makefile.am
12525 initscript/Arch/networkmanager-dispatcher.in
12526 initscript/Arch/networkmanager.in
12527 - Add Arch Linux support, fixes gnome.org #335147
12529 2006-03-27 Dan Williams <dcbw@redhat.com>
12531 Patch from Diffe <diffie@blazebox.homeip.net>
12532 * initscript/Slackware/rc.networkmanager
12533 - update, fixed gnome.org #333368
12535 2006-03-27 Robert Love <rml@novell.com>
12537 * gnome/applet/other-network-dialog.c: Do not allow the user to try to
12538 create WPA-EAP Ad-Hoc networks because such an action makes no sense.
12540 2006-03-27 Robert Love <rml@novell.com>
12542 Patch by Jürg Billeter <j@bitron.ch>:
12543 * src/nm-logging.c: Add printf modifier to fix warning on 64-bit
12545 * src/nm-netlink-monitor.c: Include <net/if.h> instead of <linux/if.h>
12546 as we prefer glibc over kernel headers, if possible.
12548 2006-03-27 Robert Love <rml@novell.com>
12550 Patch by Jon Escombe <list@dresco.co.uk>:
12551 * gnome/applet/nm-gconf-wso.c: Add missing NM_AUTH_TYPE_WPA_EAP case.
12552 * gnome/applet/nm-gconf-wso-wpa-eap.c: If retrieving the gconf values
12553 fail, don't bail out. We don't expect all of the various WPA-EAP
12554 values to be present.
12555 * src/nm-ap-security.c: We need to match all capabilities for each
12556 encryption type, not any one of them.
12558 2006-03-27 Robert Love <rml@novell.com>
12560 * src/backends/NetworkManagerSuSE.c: Revert 2006-03-17 commit and again
12561 restart, not reload, ypbind. Unfortunately there is no superior
12564 2006-03-24 Christopher Aillon <caillon@redhat.com>
12566 * gnome/applet/applet-notifications.c:
12567 When displaying a notification, make sure to get rid of the
12568 previous notification so as to not have competing bubbles,
12569 and stop leaking the old one.
12571 * gnome/applet/applet.c:
12572 * gnome/applet/applet.h:
12573 Add a new 'notification' member to the applet, and zero it out
12574 and free it appropriately.
12576 2006-03-23 Robert Love <rml@novell.com>
12578 Patch by j <j@bootlab.org>:
12579 * gnome/applet/applet.glade: Don't set the invisible_char property,
12580 which simply overrides the GTK default. By and by, this behavior
12581 ought to be fixed in Glade.
12583 2006-03-22 Robert Love <rml@novell.com>
12585 * src/dhcp-manager/nm-dhcp-manager.c: Bump timeout to 45 seconds.
12587 2006-03-22 Robert Love <rml@novell.com>
12589 Bug fix by Timo Hoenig <thoenig@suse.de>:
12590 * gnome/applet/applet-dbus.c: Let the applet reconnect to DBUS on
12591 disconnect. Otherwise, we have the daemon surviving DBUS restarts
12592 and the applet going AWOL.
12594 2006-03-22 Robert Love <rml@novell.com>
12596 * src/dhcp-manager/nm-dhcp-manager.c: Create NM_DHCP_TIMEOUT
12597 preprocessor define and use it instead of open-coded the DHCP
12598 timeout, which is currently 25 seconds, everywhere.
12600 2006-03-22 Robert Love <rml@novell.com>
12602 Implement "Dynamic WEP", which is basically WPA authentication and WEP
12603 key exchange via WPA, ostensibly providing good security without
12604 requiring hardware that supports full WPA. Also, add UI elements to
12605 allow the user to select the pairwise & group cipher for WPA Enterprise
12607 * gnome/applet/applet.glade: Update glade file.
12608 * gnome/applet/nm-gconf-wso-wpa-eap.c: Serialize and deserialize the
12609 key type, too, to and from gconf.
12610 * gnome/applet/wireless-security-option.c: Add "wpa_eap" parameter to
12611 wso_wpa_create_key_type_model(), noting whether we are handling PSK
12612 or EAP configuration, and in the latter case add in "Dynamic WEP" if
12613 the capabilities match.
12614 * gnome/applet/wso-private.h: Update wso_wpa_create_key_type_model()'s
12616 * gnome/applet/wso-wpa-eap.c: Manage UI elements for the key type and
12617 serialize from UI to DBUS.
12618 * gnome/applet/wso-wpa-psk.c: Cannot fail and always returns at least
12620 * libnm-util/dbus-helpers.c: Update nmu_security_serialize_wpa_eap(),
12621 nmu_security_serialize_wpa_eap_with_cipher(), and
12622 nmu_security_deserialize_wpa_eap() to take a "key_type" parameter and
12623 serialize/deserialize the key type via DBUS as the new third DBUS
12625 * libnm-util/dbus-helpers.h: Update prototypes.
12626 * src/nm-ap-security-wpa-eap.c: Deserialize the key type from DBUS,
12627 too. If the key type is WEP104, do Dynamic WEP, which means
12628 "IEEE8021X" for "key_mgmt". Also add support for user-specified
12629 pairwise and group ciphers (fixes a FIXME).
12631 2006-03-21 Robert Love <rml@novell.com>
12633 * src/NetworkManagerSystem.c, src/NetworkManagerSystem.h: Add
12634 nm_system_get_mtu(), which returns a user-provided or system-mandated
12635 MTU value for a given device, if any, or zero if no such value
12636 exists. Add nm_system_set_mtu() to set the MTU for a given device
12637 if we have a provided value.
12638 * src/nm-device.c: Set the MTU of devices.
12639 * src/backends/NetworkManagerSuSE.c: Read MTU, if any, from sysconfig.
12640 * src/backends/NetworkManagerDebian.c,
12641 src/backends/NetworkManagerGentoo.c,
12642 src/backends/NetworkManagerRedHat.c,
12643 src/backends/NetworkManagerSlackware.c: Implement stub functions.
12645 2006-03-21 Robert Love <rml@novell.com>
12647 * src/backends/NetworkManagerSuSE.c: Strip hypens from hex key in
12648 configuration file.
12650 2006-03-17 Robert Love <rml@novell.com>
12652 * src/backends/NetworkManagerSuSE.c: Do "rcypbind reload" to send the
12653 signal SIGHUP to ypbind, not "rcypbind restart" to physically restart
12654 it, in case it is not running in the first place. We just want its
12655 configuration reloaded. Also, do not "rcypbind stop" on device down.
12657 2006-03-15 Robert Love <rml@novell.com>
12659 * gnome/applet/applet.glade, gnome/applet/wso-wep-ascii.c,
12660 gnome/applet/wso-wep-hex.c, gnome/applet/wso-wep-passphrase.c: The
12661 label "WEP 40/128-bit" is inconsistent because the physical key size
12662 is 40 or 104-bits, to which a 24-bit initialisation vector is
12663 appended, forming a 64 or 128-bit traffic key. Thus, the label ought
12664 to read "40/104" or "64/128". I do not care much which, but most
12665 users think of "silver" and "gold" encryption as 64 and 128-bits, so
12666 let's stick with that. Thus, s/"40/128"/"64/128"/g. Also, since our
12667 WEP passphrase support only handles 128-bit keys, and any future
12668 64-bit passphrase support will require a new option (no way to auto-
12669 detect the target key size), explicitly label our passphrase support
12670 "WEP 128-bit Passphrase".
12672 2006-03-15 Robert Love <rml@novell.com>
12674 * src/dhcp-manager/nm-dhcp-manager.c: Do not start dhcdbd, but rely on
12675 the system init scripts (or some other mechanism) starting it (or a
12676 compatible DBUS service) before NetworkManager runs. This means that
12677 distributions might need to update their init scripts. This fixes
12678 possible races and is quite a bit cleaner.
12679 * initscript/SUSE/networkmanager.in: Update to start dhcdbd before
12680 starting the NetworkManager daemon.
12683 2006-03-14 Robert Love <rml@novell.com>
12685 * src/backends/NetworkManagerSuSE.c: Check that we have a valid AP
12686 before adding anything.
12688 2006-03-13 Robert Love <rml@novell.com>
12690 * gnome/vpn-properties/nm-vpn-properties.c: Hide the next page's
12691 widgets, too, if they exist, in case the user hit the back button.
12692 Fixes a bug where the details page contains the widgets of multiple
12693 VPN modules (Novell bug #157048).
12695 2006-03-13 Robert Love <rml@novell.com>
12697 Patch by Timo Hoenig <thoenig@suse.de>:
12698 * dispatcher-daemon/NetworkManagerDispatcher.c: Let the dispatcher
12699 daemon survive DBUS restarts, too.
12701 2006-03-10 Robert Love <rml@novell.com>
12703 * gnome/applet/applet.glade: Add toggles to show/obfuscate the
12705 * gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
12706 gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-eap.c,
12707 gnome/applet/wso-wpa-psk.c: Show and obfuscate passphrases and keys
12708 in response to "toggled" signal on new toggle.
12710 2006-03-10 Robert Love <rml@novell.com>
12712 * src/nm-ap-security-wpa-eap.c: Pass fake empty strings for
12713 serialization if strings are NULL, lest DBUS get angry.
12715 2006-03-10 Robert Love <rml@novell.com>
12717 * src/nm-ap-security-wpa-eap.c: Don't log the password.
12719 2006-03-09 Robert Love <rml@novell.com>
12721 * src/backends/NetworkManagerSuSE.c: Read in WEP and WPA static
12724 2006-03-09 Dan Williams <dcbw@redhat.com>
12726 Track pending call requests in the applet, and report how many are
12727 outstanding, and how long each completed one takes.
12729 * gnome/applet/applet-dbus-devices.c
12730 gnome/applet/applet-dbus-vpn.c
12731 - Track pending calls
12733 * gnome/applet/applet-dbus.[ch]
12734 - Remove some unused enums
12735 - (nma_dbus_send_with_callback, nma_dbus_send_with_callback_replied):
12736 new functions to track dbus pending calls and spit out some
12737 statistics about them
12739 2006-03-09 Robert Love <rml@novell.com>
12741 * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Have the function
12742 nm_ap_set_timestamp() take the second and micro-second parameters as
12743 direct arguments, which avoids both a dynamic memory allocation and a
12744 structure-to-structure copy! Add a new interface, the aptly named
12745 nm_ap_set_timestamp_via_timestamp(), to set the timestamp from an
12746 existing GTimeVal, as nm_ap_set_timestamp() once did, for use with
12747 the return from nm_ap_get_timestamp(). New users should use the new
12748 nm_ap_set_timestamp(), not nm_ap_set_timestamp_via_timestamp(), for
12749 the extreme benefit to performance.
12750 * src/NetworkManagerAPList.c, src/nm-dbus-nmi.c,
12751 src/backends/NetworkManagerSuSE.c: Use the new functions as needed.
12753 2006-03-08 Robert Love <rml@novell.com>
12755 * gnome/applet/applet.glade: Hide the password entry text with
12758 2006-03-08 Robert Love <rml@novell.com>
12760 * src/NetworkManagerSystem.h, src/nm-device.c, NetworkManagerDebian.c,
12761 NetworkManagerRedHat.c, NetworkManagerGentoo.c,
12762 NetworkManagerSlackware.c: Pass nm_system_device_get_system_config()
12763 a second argument, NMData.
12764 * src/nm-ap-security.h, src/nm-ap-security.c: Export nm_ap_security_new.
12765 * src/backends/NetworkManagerSuSE.c: Add wireless networks from ifcfg-*
12766 config files as trusted.
12768 2006-03-06 Robert Love <rml@novell.com>
12770 * gnome/applet/Makefile.am: Define AUTOSTARTDIR.
12771 * gnome/applet/applet.c: Add 'Remove' option to the right click menu,
12772 to exit the applet. As a sweet side-effect, idea courtesy of Chris
12773 Rivera, detect if the applet was auto-started. If so, ask the user
12774 if he or she would like to stop automatically running the applet on
12775 login. If so, disable autostart.
12777 2006-03-06 Robert Love <rml@novell.com>
12779 * NetworkManager.pc.in: Provide an -I to the NetworkManager include
12780 directory in CFLAGS so developers can actually use NetworkManager.h.
12782 2006-03-06 Robert Love <rml@novell.com>
12784 * src/dhcp-manager/nm-dhcp-manager.c: Use preprocessor defines and not
12785 open-coded integer constants. Add state_to_string() to map a given
12786 state to a textual description, and provide that when notifying of
12788 * src/dhcp-manager/nm-dhcp-manager.h: Provide defines for the dhcdbd
12789 states, copied and cleaned up from dhcdbd.d. Ideally, we would use
12790 this header directly, but it is currently not installed on most
12793 2006-03-05 Dan Williams <dcbw@redhat.com>
12795 Process netlink messages in device subclasses rather than in
12796 NetworkManager.c. Also add support for recognizing Wireless Events.
12799 - Find GLIB_GENMARSHAL
12802 - Since we're marshalling custom types for wireless event signals,
12803 we get to create our own marshallers using GLIB_GENMARSHAL
12805 * src/NetworkManager.c
12806 - (nm_monitor_wired_link_state): renamed to nm_monitor_setup
12807 - (nm_monitor_setup): renamed from nm_monitor_wired_link_state, and
12808 cut down somewhat. We no longer process signals here.
12809 - (nm_data_new): create the netlink monitor here, and remove a
12810 useless call to nm_policy_schedule_device_change_check()
12811 - (nm_data_free): get rid of the netlink monitor here
12812 - (nm_device_link_activated, nm_device_link_deactivated): removed
12813 - (main): don't create the netlink monitor here, let nm_data_new
12814 do that. Call nm_policy_schedule_device_change_check() right
12815 before we jump to the mainloop to figure out which device
12818 * src/NetworkManagerSystem.[ch]
12819 - (nm_system_get_rtnl_index_from_iface, nm_system_get_iface_from_rtnl_index):
12820 convert back and forth from interface names to interface
12823 * src/nm-device-802-11-wireless.c
12824 - (real_init): connect to wireless-event signals from the netlink
12826 - (nm_device_802_11_wireless_event): new function, schedule handler
12827 for wireless event signals from the netlink monitor object. We
12828 want the handler to run in the device's context
12829 - (wireless_event_helper): handle wireless-event signals from netlink
12830 - (nm_device_802_11_wireless_dispose): disconnect wireless-event
12833 * src/nm-device-802-11-wireless.h
12834 - remove unused prototype for nm_device_802_11_wireless_new
12836 * src/nm-device-802-3-ethernet.c
12837 - (real_init): new function; set up signal handlers for link events
12838 - (nm_device_802_3_ethernet_link_activated): new function, schedule
12839 handler for netlink link activated events on device's main loop
12840 - (link_activated_helper): when we get a link activated event, set
12841 the device's link to be active
12842 - (nm_device_802_3_ethernet_link_deactivated): new function; schedule
12843 handler for netlink link deactivated events on device's main loop
12844 - (link_deactivated_helper): when we get a link deactivated event, set
12845 the device's link to be inactive
12846 - (nm_device_802_3_ethernet_dispose): disconnect signal handler on
12849 * src/nm-device-802-3-ethernet.h
12850 - remove unused prototype for nm_device_802_3_ethernet_new
12852 * src/nm-device.[ch]
12853 - (nm_get_device_by_iface_locked): variant of nm_get_device_by_iface
12854 but locks the device list
12855 - (nm_device_set_active_link): a little bit of cleanup and de-indenting
12857 * src/nm-netlink-monitor.[ch]
12858 - (nm_netlink_monitor_class_install_signals): New signal
12860 - (nm_netlink_monitor_new): keep reference to NMData so we can get
12862 - (nm_netlink_monitor_event_handler): expand for wireless events too
12864 * src/nm-marshal-main.c
12865 - Include generated nm-marshal.c and nm-marshal.h
12867 * src/nm-marshal.list
12868 - List of custom marshal functions
12870 2006-03-05 Dan Williams <dcbw@redhat.com>
12872 * gnome/applet/applet-notifications.h
12873 - Protect prototype of nma_send_event_notification() because it
12874 includes libnotify-specific types
12875 - Include libnotify/libnotify.h too, since we technically need it
12877 * gnome/applet/applet.c
12878 - (nma_show_vpn_failure_dialog): fix usage of g_return_if_fail
12879 - (nma_show_vpn_login_banner_dialog): add some error checking
12881 2006-03-04 Dan Williams <dcbw@redhat.com>
12883 Clean up activation cancellation. Should be a lot faster now. Observed
12884 an issue with wireless devices between stage 2 and 3 of activation, where
12885 activation would be cancelled, but the device thread wouldn't notice until
12886 the supplicant association timed out. Reorganize activation such that
12887 a cancellation handler gets immediately scheduled in the device's thread,
12888 and devices have a chance to perform any custom cleanup too.
12890 * src/nm-device.[ch]
12891 - (activation_cancel_handler): new device-type-specific function
12892 for cleaning up device-type-specific stuff on cancellation
12893 - (cancel_activation): removed
12894 - (nm_device_activation_cancel): subsume functionality of
12895 real_cancel_activation, but instead of doing anything, punt
12896 operation to a handler that's run in device-thread context
12897 - (nm_device_schedule_activation_handle_cancel): fix spelling of
12899 - (activation_handle_cancel_helper): cancellation handler run in
12900 device-thread context, calls device-type-specific cancelation,
12901 then tears down the activation request
12902 - (real_activation_cancel_handler): generic cancellation handler,
12903 deals with cancelling any in-process DHCP request
12904 - (nm_device_activate_stage1_device_prepare,
12905 nm_device_activate_stage2_device_config,
12906 nm_device_activate_stage3_ip_config_start,
12907 nm_device_activate_stage4_ip_config_get,
12908 nm_device_activate_stage4_ip_config_timeout,
12909 nm_device_activate_stage5_ip_commit): don't call
12910 nm_device_schedule_activation_handle_cancel() any more, since
12911 cancellation will have been already scheduled for us by
12912 nm_device_activation_cancel(). Just exit the function and
12913 assume that the cancel handler will be called next.
12915 * src/nm-device-802-3-ethernet.c
12916 - (real_act_stage2_config): remove; didn't do anything anyway
12918 * src/nm-device-802-11-wireless.c
12919 - (supplicant_status_cb): ensure we don't do anything if the activation
12921 - (real_activation_cancel_handler): implement; cancel user key request
12922 on activation cancellation
12924 2006-03-04 Dan Williams <dcbw@redhat.com>
12926 * src/nm-device-802-11-wireless.c
12927 - (supplicant_send_network_config): assume that drivers that don't
12928 support WPA pretty much suck, and can't handle NM scanning
12929 along with wpa_supplicant.
12931 2006-03-03 Robert Love <rml@novell.com>
12933 * configure.in: Bump version to 0.6.0.
12936 2006-03-03 Robert Love <rml@novell.com>
12938 * configure.in: Require DBUS 0.60 or later.
12940 2006-03-03 Dan Williams <dcbw@redhat.com>
12942 Fix a crash if an "Other wireless network" was chosen, failed, then
12943 chosen again from the applet's menu. If the other network wasn't
12944 noticed in a scan, it wouldn't have any capabilities, but would still
12945 be listed because the user forced the network. To fix this, we set
12946 sensible capabilities on the forced network, which will get overwritten
12947 with the correct ones if the network shows up later in a scan.
12949 * src/nm-ap-security.h
12950 - Add a new "get_default_capabilities_func" member to the
12953 * src/nm-ap-security.c
12954 - (nm_ap_security_get_default_capabilities): new function
12956 * src/nm-ap-security.c
12957 src/nm-ap-security-wep.c
12958 src/nm-ap-security-wpa-psk.c
12959 src/nm-ap-security-wpa-eap.c
12960 - Implement get_default_capabilities_func() for all, which
12961 uses the information contained in a specific NMAPSecurity
12962 object to determine default AP capabilites necessary
12963 to support that object
12965 As a secondary measure, we now prune artificial access points that fail
12966 to be activated right away. The thing failed, and we have no scan data for
12967 it, so it's pretty much useless since security information is only saved
12968 in the applets when a connection is successful.
12970 * src/NetworkManagerAPList.c
12971 - (nm_ap_list_merge_scanned_ap): mark any ap noticed in a scan
12972 not artificial. If we see it, it's no longer a figment of the
12973 user's imagination :)
12975 * src/NetworkManagerPolicy.c
12976 - (nm_policy_activation_failed): send along the failed AP if we
12979 * src/nm-device-802-11-wireless.c
12980 - (real_activation_failure_handler): remove artificial APs from
12981 the device list, because activation failed
12983 2006-03-02 Robert Love <rml@novell.com>
12985 Add support for retrieving both the per-device speed and the
12986 per-network maximum supported rate. Then change the getProperties
12987 DBUS API for both networks and devices to report this informaiton.
12988 Finally, display the information via both nm-applet and nm-tool:
12989 * gnome/applet/applet-dbus-devices.c: Grab the speed from getProperties
12991 * gnome/applet/applet.c: Display the device's speed in the 'Connection
12992 Information' dialog.
12993 * gnome/applet/applet.glade: Update the UI to show per-device speed.
12994 * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Add interfaces
12995 network_device_get_speed() and network_device_set_speed() for
12996 retrieving and setting, respectively, a network device's current
12998 * src/nm-dbus-device.c: Send the device's speed on getProperties.
12999 * src/nm-device-802-11-wireless.c: Return the rate in Mb/s, not Kb/s,
13000 in the function nm_device_802_11_wireless_get_bitrate() -- it does
13001 not matter (yet) what the units are, because we only feed it its own
13002 output. Implement SIOCGIRATE and set the per-network maximum
13003 supported rate during scanning.
13004 * src/nm-device-802-11-wireless.h: Export the function
13005 nm_device_802_11_wireless_get_bitrate().
13006 * src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h: Add
13007 function nm_device_802_3_ethernet_get_speed() for returning an
13008 802.3's current speed, in Mb/s.
13009 * test/nm-tool.c: Display the per-device current speed, if available,
13010 and the per-network maximum rate.
13012 2006-03-02 Dan Williams <dcbw@redhat.com>
13014 * src/nm-device-802-11-wireless.c
13015 - (nm_device_802_11_wireless_set_scan_interval): don't scan-spam the
13016 card when it gets initialized. Since devices don't get added to
13017 the scan list until they are initialized, this function wasn't
13018 setting the intitial scan interval correctly, and was leaving
13019 it at 0. This caused cards to get many scan requests in a short
13020 amount of time when they were initialized
13022 2006-03-02 Robert Love <rml@novell.com>
13024 * gnome/applet/applet.c: Do not set the pixbuf if we don't have an
13025 active device. But do not do what we used to do and override the
13026 state, which caused the dreaded icon race of '05.
13028 2006-03-02 Robert Love <rml@novell.com>
13030 Commit Dan's update of my previous commit:
13031 * src/nm-device-802-11-wireless.c: Always set the mode, because the
13032 set_mode() function itself does the check. But do only set the
13033 frequency if in Ad-Hoc mode.
13035 2006-03-02 Robert Love <rml@novell.com>
13037 Patch by Brian Magnuson <magnuson@rcn.com>:
13038 * src/nm-device-802-11-wireless.c: During scanning, only set the
13039 wireless mode to infrastructure if it is not currently in
13040 infrastructure mode. For some driver, setting the mode is a costly
13041 operation, apparently.
13043 2006-03-01 Rodrigo Moya <rodrigo@novell.com>
13045 * Makefile.am: use the correct dir for autostart mechanism.
13047 2006-02-28 Dan Williams <dcbw@redhat.com>
13049 Patch from Brian Magnuson <magnuson@rcn.com>
13050 * gnome/applet/applet.c
13051 - (nma_show_vpn_failure_dialog): fix errors left over from
13052 libnotify support changes
13054 2006-02-28 Dan Williams <dcbw@redhat.com>
13056 * src/vpn-manager/nm-vpn-act-request.[ch]
13057 - (nm_vpn_act_request_is_activated): don't use a switch/case for
13059 - (nm_vpn_act_request_is_failed): new function; return whether or
13060 not the vpn activation request has failed
13062 * src/vpn-manager/nm-vpn-manager.c
13063 - (nm_vpn_manager_deactivate_vpn_connection): tell the vpn service
13064 daemon to kill the connection when the activation request fails.
13065 Fixes issue where NM would get confused if the VPN activation
13066 request timed out, and would not allow further VPN connections
13069 2006-02-28 Dan Williams <dcbw@redhat.com>
13071 * gnome/applet/applet.c
13072 - (nma_menu_add_vpn_menu): until the NM VPN manager can deal with
13073 overlapping connection requests, disable all VPN menu items
13074 but the active VPN connection
13076 2006-02-28 Dan Williams <dcbw@redhat.com>
13078 * src/vpn-manager/nm-vpn-connection.c
13079 - (nm_vpn_connection_set_parent_device): fix C&P error which
13080 called g_object_unref() on the connection's parent device
13081 when it should have been ref-ed instead. Fixes crash with
13082 repeated vpn connect requests
13084 2006-02-28 Christopher Aillon <caillon@redhat.com>
13086 * gnome/applet/applet.glade:
13087 Mark a few strings non-translatable, since they shouldn't be.
13089 2006-02-28 Dan Williams <dcbw@redhat.com>
13091 * src/vpn-manager/nm-vpn-service.c
13092 - (nm_vpn_service_start_connection): if the vpn service daemon is
13093 already running, don't blindly ask it to connect, but wait until
13094 it's in the STOPPED state first. Fixes an assertion when user
13095 starts a second vpn connection without stopping the first.
13096 - (nm_vpn_service_stage2_daemon_wait): ensure the vpn service's
13097 dbus service exists before continuing with the connection
13098 process, and reduce latency while waiting for it to become
13100 - (nm_vpn_service_schedule_stage2_daemon_wait): reduce latency
13101 waiting for the vpn service daemon to become available
13102 - General log message cleanups; show progress via "Stage x of 4"
13103 rather than not telling anyone how many stages there are
13105 2006-02-28 Robert Love <rml@novell.com>
13107 * src/NetworkManagerSystem.h: Add nm_system_should_modify_resolv_conf.
13108 * src/backends/NetworkManagerSuSE.c: Implement the interface
13109 nm_system_should_modify_resolv_conf() for SUSE.
13110 * src/backends/NetworkManagerDebian.c,
13111 src/backends/NetworkManagerGentoo.c,
13112 src/backends/NetworkManagerRedHat.c,
13113 src/backends/NetworkManagerSlackware.c: Add stub.
13114 * src/named-manager/Makefile.am: Grab includes from src.
13115 * src/named-manager/nm-named-manager.c: Allow backends to disable the
13116 automatic updating of resolv.conf. This is useful for testing,
13117 broken static configurations, and administrator lock-down.
13119 2006-02-28 Dan Williams <dcbw@redhat.com>
13121 * src/nm-device-802-11-wireless.c
13122 - Move all the wpa_supplicant-related management stuff into its
13123 own struct, just for oranization's sake
13124 - (supplicant_exec): when exec-ing wpa_supplicant, connect its stdout
13125 to a GIOChannel/GSource
13126 - (supplicant_log_stdout): new function; grab output from the
13127 wpa_supplicant stdout pipe and write it to our logs.
13129 2006-02-27 Christopher Aillon <caillon@redhat.com>
13131 * src/nm-device-802-11-wireless.c:
13132 Err, fix thinko in my previous commit.
13134 2006-02-28 Robert Love <rml@novell.com>
13136 * gnome/applet/wso-wpa-eap.c: Fix misc. FIXME statements.
13138 2006-02-28 Robert Love <rml@novell.com>
13140 * libnm-util/dbus-helpers.c, src/nm-ap-security-wpa-eap.c,
13141 src/nm-ap-security-wpa-psk.c, gnome/applet/nm-gconf-wso-wpa-eap.c,
13142 gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXMEs: Callers of the DBUS
13143 deserializers are responsible for freeing the returned DBUS strings.
13145 2006-02-27 Christopher Aillon <caillon@redhat.com>
13147 * src/nm-device-802-11-wireless.c:
13148 The scan list is being pruned prematurely. We should prune after
13149 the device has gone MIA for three scans, not one. Split out the
13150 interval to realtime seconds function to better serve this.
13152 2006-02-27 Robert Love <rml@novell.com>
13154 * dispatcher-daemon/NetworkManagerDispatcher.c, src/NetworkManager.c:
13155 Open the pid file O_TRUNC, so if it already exists we truncate it to
13156 zero length. Also, be more verbose about warnings generated during
13157 writing out the pid file. Finally, always write out the pid file if
13158 in daemon mode. Use "--pid-file" to override the default.
13160 2006-02-27 Robert Love <rml@novell.com>
13162 Patch by R. Vinay <rvinay@novell.com>:
13163 * gnome/vpn-properties/nm-vpn-properties.c: Remove the gconf key
13164 'last_attempt_success' when removing a VPN connection, too. (Fixes
13165 Novell bug #153628).
13167 2006-02-27 Robert Love <rml@novell.com>
13169 * gnome/applet/applet.glade: Set "activates_default" on passphrase
13170 entry so user can hit <ENTER> after entering passphrase (Novell bug
13173 2006-02-27 Dan Williams <dcbw@redhat.com>
13176 - Mass search/replace of:
13178 NMWirelessApplet -> NMApplet
13179 NM_*_WIRELESS_APPLET -> NM_*_APPLET
13180 (it ain't just for wireless anymore, ma!)
13181 - Fix duplicate function name printing when using nm_warning
13182 - wireless-applet.glade -> applet.glade
13184 2006-02-27 Dan Williams <dcbw@redhat.com>
13186 * dispatcher-daemon/NetworkManagerDispatcher.c
13187 - Accept --pid-file with a path to a pidfile, write it out on
13188 startup, and delete it on shutdown
13190 * src/NetworkManager.c
13191 - Accept --pid-file with a path to a pidfile, write it out on
13192 startup, and delete it on shutdown
13193 - Move nm_print_usage() lower
13195 * initscripts/RedHat/NetworkManager.in
13196 - Use new --pid-file option
13197 - Fix service stopping to wait a bit for NM to quit
13199 * initscripts/RedHat/NetworkManagerDispatcher.in
13200 - Use new --pid-file option
13202 2006-02-26 Dan Williams <dcbw@redhat.com>
13205 - make and install nm-crash-logger
13207 * src/nm-logging.[ch]
13208 - New files; consolidate logging and crash handling
13210 * src/nm-crash-logger.c
13212 - Standalong crashlogger for NM, grab a backtrace
13215 * src/NetworkManager.[ch]
13216 - Remove signal handling and put it into nm-logging.c
13218 2006-02-26 Dan Williams <dcbw@redhat.com>
13221 gnome/applet/Makefile.am
13222 - Conditionalize all the notify stuff
13224 Merge most of Chris Aillon's notification patch:
13226 * gnome/applet/applet-notifications.[ch]
13227 - New files; show a notification
13229 * gnome/applet/applet-dbus-devices.[ch]
13230 - (nmwa_dbus_device_activated, nmwa_dbus_device_activated_cb,
13231 nmwa_dbus_device_deactivated, nmwa_dbus_device_deactivated_cb):
13232 new functions, do the right thing when a device change occurs
13234 * gnome/applet/applet-dbus.c
13235 - (nmwa_dbus_filter): Split out DeviceNowActive and DeviceNoLongerActive
13236 signals, so we can handle them specially
13238 * gnome/applet/applet.[ch]
13239 - nmwa_schedule_vpn_login_banner -> nmwa_show_vpn_login_banner
13240 - nmwa_schedule_vpn_failure_alert -> nmwa_show_vpn_failure_alert
13241 - (nmwa_notify_state): remove
13242 - (nmwa_update_state); remove call to nmwa_notify_state, since the
13243 notification work is now done when the appropriate dbus signals
13245 - (nmwa_show_vpn_login_banner, nmwa_show_vpn_failure_alert): don't
13246 defer execution of the notification/dialog stuff. That was an
13247 artifact of the previous multi-threaded nature of the applet
13248 and is now pointless.
13249 - (nmwa_notify_vpn_failure, nmwa_notify_vpn_login_banner): remove,
13250 no longer needed. Function folded into applet-notifications.c
13252 * src/NetworkManagerPolicy.c
13253 - (nm_policy_activation_finish): send the AP along with the device
13254 status change signal, if the connection is wireless. Should
13255 fix the race where applet would show a connection to "unknown"
13257 2006-02-25 Robert Love <rml@novell.com>
13259 Add WPA Enterprise support:
13260 * gnome/applet/Makefile.am: Build the files nm-gconf-wso-wpa-eap.c and
13261 nm-gconf-wso-wpa-eap.h.
13262 * gnome/applet/nm-gconf-wso-wpa-eap.c,
13263 gnome/applet/nm-gconf-wso-wpa-eap.h: Add WPA Enterprise Gconf
13264 serialization and deserialization.
13265 * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
13266 gnome/applet/wireless-security-option.c, gnome/applet/wso-wpa-psk.c,
13267 gnome/applet/wso-wpa-psk.h: Clean up, support new defines.
13268 * gnome/applet/wireless-applet.glade: Add UI for configurating security
13269 settings related to WPA Enterprise.
13270 * gnome/applet/wireless-security-manager.c: Invoke wso_wpa_eap_new() to
13271 instantiate WPA Enterprise wireless-security-option.
13272 * gnome/applet/wso-wpa-eap.c, gnome/applet/wso-wpa-eap.h: New files.
13273 Implement WPA Enterprise wireless-security-option object.
13274 * include/NetworkManager.h: Add new NM_AUTH_TYPE_* and NM_EAP_METHOD_*
13276 * libnm-util/cipher-wpa-psk-hex.c,
13277 libnm-util/cipher-wpa-psk-passphrase.c: Cleanup.
13278 * libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h: Add
13279 nmu_security_serialize_wpa_eap() to serialize input to DBUS method,
13280 nmu_security_serialize_wpa_eap_with_cipher() to serialize input
13281 including the cipher to DBUS method, and
13282 nmu_security_deserialize_wpa_eap() to deserialize from DBUS return
13284 * src/Makefile.am: Build the files nm-ap-security-wpa-eap.c and
13285 nm-ap-security-wpa-eap.h
13286 * src/NetworkManagerAP.c: Add NM_AUTH_TYPE_WPA_EAP to
13287 NM_802_11_CAP_KEY_MGMT_802_1X cipher to capability mapping.
13288 * src/nm-ap-security-wpa-eap.c, src/nm-ap-security-wpa-eap.h: New
13289 files. Implement NMAPSecurityWPA_EAP object.
13290 * src/nm-ap-security-wpa-psk.c: Cleanup.
13291 * src/nm-ap-security.c: Support NM_AUTH_TYPE_EAP cipher and instantiate
13292 an NMAPSecurityWPA_EAP object via the method
13293 nm_ap_security_wpa_eap_new_deserialize().
13294 * src/nm-dbus-nm.c: Cleanup.
13295 * test/nm-tool.c: Display "Enterprise" for wireless networks providing
13296 WPA Enterprise support.
13298 2006-02-24 Robert Love <rml@novell.com>
13300 Patch from Timo Hoenig <thoenig@suse.de>:
13301 * src/NetworkManagerDbus.c: Survive DBUS restarts like a champ.
13303 2006-02-24 Robert Love <rml@novell.com>
13305 Patch from Dan Winship <danw@novell.com>:
13306 * gnome/applet/eggtrayicon.c: Update EggTrayIcon code. Set the gdk
13307 area to transparent.
13309 2006-02-21 Dan Williams <dcbw@redhat.com>
13311 * gnome/applet/applet.[ch]
13312 gnome/applet/applet-dbus.c
13313 - Implement notification support for VPN messages too
13315 2006-02-21 Dan Williams <dcbw@redhat.com>
13317 * gnome/applet/applet-dbus-info.c
13318 - Clean up warning messages to not double-print the function
13320 2006-02-21 Dan Williams <dcbw@redhat.com>
13322 * gnome/applet/applet-compat.c
13323 - (convert_one_entry): accept entries without a key_type and
13324 convert them to unencrypted networks
13326 2006-02-21 Dan Williams <dcbw@redhat.com>
13328 * gnome/libnm_glib/libnm_glib.c
13329 - Use __func__ everywhere we can
13331 - Use dbus pending calls rather than blocking
13332 - Reduce busywaits for our thread to start and stop
13333 (gnome.org #330562)
13334 - (libnm_glib_dbus_init): Use dbus_bus_get_private() so we don't
13335 stomp on others using the default shared dbus connection.
13336 Fixes #rh177546# and gnome.org #326572
13338 2006-02-21 Dan Williams <dcbw@redhat.com>
13340 Patch from Rodney Dawes <dobey@novell.com>
13342 gnome/applet/Makefile.am
13343 gnome/applet/applet.c
13344 - Add libnotify support if '--enable-notify=yes' is passed
13347 2006-02-16 Kang Jeong-Hee <keizie@gmail.com>
13349 * configure.in (ALL_LINGUAS): ko added. (Korean)
13351 2006-02-15 Robert Love <rml@novell.com>
13353 * src/nm-device-802-11-wireless.c: Use LOCALSTATEDIR preprocessor
13354 define, not an open-coded "/var", for WPA_SUPPLICANT_GLOBAL_SOCKET
13355 and WPA_SUPPLICANT_CONTROL_SOCKET.
13357 2006-02-15 Robert Love <rml@novell.com>
13359 * src/nm-device-802-11-wireless.c, src/nm-device.c: When printing debug
13360 information about what connection stage we are at, provide the total
13361 number of stages, e.g. "Stage 2 of 5", so users know how far along
13362 they are if they experience problems.
13364 2006-02-15 Robert Love <rml@novell.com>
13366 * gnome/vpn-properties/Makefile.am: Define SYSCONFDIR preprocessor
13367 define to $sysconfdir.
13368 * gnome/vpn-properties/nm-vpn-properties.c: Make sure we hide the VPN
13369 editing dialog, vpn_edit_widget, which fixes a bug where editing one
13370 type of VPN and then editing another results in a mangled dialog
13371 box containing the widgets from both VPNs (fixes Novell #150854).
13372 Also, some misc. cleanup and use SYSCONFDIR not open coded directory.
13374 2006-02-14 Robert Love <rml@novell.com>
13376 * src/NetworkManager.c: Call closelog() on daemon shutdown to close
13377 syslog's file descriptor.
13379 2006-02-14 Robert Love <rml@novell.com>
13381 Fix bug around since the change to "deal with APs changing settings on
13382 us," checked in on the fifth of February in the year of the dog,
13383 wherein connecting to non-broadcast encrypted networks always fails
13384 because nm_ap_get_encrypted() always returns FALSE, even when the user
13385 provided a key, because the newly-created fake AP does not have any
13386 capabilities set, which is a sypmtom of security settings not matching
13387 capabilities (Novell bug #150784):
13388 * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Add new interface,
13389 nm_ap_add_capabilities_from_security(), which sets the given AP's
13390 capabilities off the given security settings. Also improve our
13391 handling of capabilities w.r.t. NM_802_11_CAP_PROTO_NONE and
13392 NM_AUTH_CIPHER_AUTO.
13393 * src/nm-device-802-11-wireless.c: Call the function
13394 nm_ap_add_capabilities_from_security() to ensure that capabilities
13395 match newly updated security settings.
13397 2006-02-14 Robert Love <rml@novell.com>
13399 * src/nm-device-802-11-wireless.c: Clean up nm_warning calls: Print the
13400 error as a string, not an integer, if possible; do not print the
13401 function name twice; always give the interface, if possible; misc.
13404 2006-02-12 Dan Williams <dcbw@redhat.com>
13406 Patch from Tom Parker <palfrey@tevp.net>
13407 * src/NetworkManagerSystem.h
13408 - Remove prototype for nm_system_device_setup_static_ip4_config(),
13411 * src/backends/NetworkManagerDebian.c
13412 - Remove some dead code (nm_system_device_setup_static_ip4_config) and
13415 2006-02-12 Dan Williams <dcbw@redhat.com>
13417 * vpn-daemons/openvpn/intltool-extract.in
13418 vpn-daemons/openvpn/intltool-merge.in
13419 vpn-daemons/openvpn/intltool-update.in
13420 vpn-daemons/pptp/intltool-extract.in
13421 vpn-daemons/pptp/intltool-merge.in
13422 vpn-daemons/pptp/intltool-update.in
13423 - Remove from CVS, they should get created by intltoolize,
13426 2006-02-12 Dan Williams <dcbw@redhat.com>
13428 * vpn-daemons/pptp/src/pppd/patchlevel.h
13429 * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
13430 - Rename VERSION -> PPPD_VERSION to avoid conflict with the
13431 Makefile-defined VERSION
13433 2006-02-09 Dan Williams <dcbw@redhat.com>
13435 Patch from: Vinay A R <rvinay@novell.com>
13436 * src/vpn-manager/nm-vpn-act-request.[ch]
13437 - Added 'routes' and 'routes_count' to struct NMVPNActRequest since
13438 IPSec VPNs require them for std gateway.
13439 - (nm_vpn_act_request_new): takes arguments for 'user_routes'
13440 and 'user_routes_count'
13441 - (nm_vpn_act_request_get_user_routes): new function; gets user
13442 defined routes from NMVPNActRequest object, returns the string
13445 * src/vpn-manager/nm-vpn-manager.[ch]
13446 - (nm_vpn_manager_activate_vpn_connection): take additional arguments
13447 for 'user_routes' and 'user_routes_count'
13449 * src/vpn-manager/nm-dbus-vpn.c
13450 - (nm_dbus_vpn_activate_connection): gets 'user_routes' from
13451 nm_dbus_vpn_get_routes() to pass to nm_vpn_manager_activate_vpn_connection()
13453 * src/vpn-manager/nm-vpn-service.c
13454 - (nm_vpn_service_stage3_connect): pass user routes over dbus to
13457 Modifications by Dan:
13458 * src/vpn-manager/nm-vpn-service.c
13459 - (nm_vpn_service_stage3_connect): ensure that we don't pass NULL string
13462 * vpn-daemons/vpnc/src/nm-vpnc-service.c
13463 * vpn-daemons/pptp/src/nm-pptp-service.c
13464 * vpn-daemons/openvpn/src/nm-openvpn-service.c
13465 - Grab user routes from dbus message
13466 - Free all string arrays we got from dbus
13468 2006-02-07 Robert Love <rml@novell.com>
13470 Patch by Stefan Seyfried <seife@suse.de>:
13471 * libnm-util/cipher.c: Fix off-by-one error in cipher_bin2hexstr.
13473 2006-02-06 Robert Love <rml@novell.com>
13475 * src/nm-device-802-11-wireless.c: Fix leak in supplicant_status_cb().
13477 2006-02-06 Robert Love <rml@novell.com>
13479 * src/NetworkManagerUtils.c: kill_newline(): 'l' is unsigned so the
13480 test ">=" is never false. If no newline is found, we loop forever.
13481 We can just check for ">" because the following if() will see the
13482 zero-th argument if the while() gets that far.
13484 2006-02-05 Dan Williams <dcbw@redhat.com>
13486 Refine handling of non-broadcast networks.
13488 * src/NetworkManagerAPList.c
13489 - (nm_ap_list_merge_scanned_ap): unconditionally copy the 'broadcast'
13490 property from scanned AP to the AP from the device list
13492 * src/nm-device-802-11-wireless.c
13493 - (supplicant_send_network_config): use ap_scan=1 for all networks
13494 except non-SSID-broadcasting and Ad-Hoc networks. Use
13495 ap_scan=2 for those. Also, don't set scan_ssid for Ad-Hoc
13496 networks since those don't have APs.
13497 - (add_new_ap_to_device_list): if there's no valid SSID, mark the
13498 AP as non-SSID-broadcasting
13499 - (process_scan_results): don't handle non-SSID-broadcasting here
13501 2006-02-05 Dan Williams <dcbw@redhat.com>
13503 * src/nm-device-802-11-wireless.c
13504 - (get_supplicant_timeout): new function; return
13505 NM_SUPPLICANT_TIMEOUT * 2 for cards that support more than
13506 14 channels. These are likely a/b/g cards, like Atheros, and
13507 slow as hell to scan.
13508 - (supplicant_timeout_cb, supplicant_monitor_start): use
13509 get_supplicant_timeout()
13511 2006-02-05 Dan Williams <dcbw@redhat.com>
13513 * src/dhcp-manager/nm-dhcp-manager.c
13514 - Loose a commit race with Robert; make sure size check
13515 uses size of DHCP_SERVICE_LEN, not hardcoded 15
13517 2006-02-05 Robert Love <rml@novell.com>
13519 Patch by Christoph Brill <chrisbrill@gmx.net>:
13520 * src/dhcp-manager/nm-dhcp-manager.c: Replace two open coded defines
13521 with DHCP_SERVICE_NAME.
13523 2006-02-05 Dan Williams <dcbw@redhat.com>
13525 Remove anything having to do with device_setup_func from the
13526 AP security objects, since it's no longer used.
13528 * src/nm-ap-security.h
13529 - Kill device_setup_func and nm_ap_security_device_setup()
13531 * src/nm-ap-security-wep.c
13532 src/nm-ap-security-wpa-psk.c
13533 - (real_device_setup): remove
13535 * src/nm-ap-security.c
13536 - (real_device_setup): remove
13537 - (nm_ap_security_device_setup): remove
13539 * src/nm-device-802-11-wireless.[ch]
13540 - (nm_device_802_11_wireless_set_wep_enc_key): make static
13541 - (set_wireless_config, wireless_configure_adhoc): remove; unused
13542 and done by wpa_supplicant now anyway
13544 2006-02-05 Dan Williams <dcbw@redhat.com>
13546 * src/nm-device-802-11-wireless.c
13547 - (ap_need_key, real_act_stage2_config): deal with APs changing
13548 settings on us. Previously NM would loop asking for the
13549 key but getting the same one back. Now, if the NMI-supplied
13550 cipher doesn't overlap with the scanned AP capabilities,
13551 we request a completely new key from the user.
13553 2006-02-05 Dan Williams <dcbw@redhat.com>
13555 * src/NetworkManagerUtils.c
13556 - (nm_utils_supplicant_request_with_check, nm_utils_supplicant_request):
13557 Handle newline killing better
13559 2006-02-05 Dan Williams <dcbw@redhat.com>
13561 * gnome/applet/nm-gconf-wso.c
13562 - (real_serialize_dbus): return TRUE, not 0. Fixes serialization
13563 of unencrypted access point security info.
13565 2006-02-03 Robert Love <rml@novell.com>
13567 * src/NetworkManagerUtils.c: Even for debugging, we should not log the
13568 user's encryption key, so we print the err_msg_cmd not the command,
13569 if available. So long as SUPPLICANT_DEBUG is default, this makes
13572 2006-02-03 Christopher Aillon <caillon@redhat.com>
13574 * initscript/RedHat/NetworkManagerDispatcher.in:
13575 * initscript/RedHat/NetworkManager.in: modify the pidfile location
13576 Patch from Dan Walsh <dwalsh@redhat.com>
13578 2006-02-03 Robert Love <rml@novell.com>
13580 * dispatcher-daemon/NetworkManagerDispatcher.c,
13581 dispatcher-daemon/Makefile.am: Don't hardcode the location of /etc
13582 but use the sysconfdir.
13584 2006-02-03 Robert Love <rml@novell.com>
13586 * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h:
13587 Make nm_device_802_11_wireless_get_essid() return 'const char *' not
13589 * src/nm-ip4-config.c, src/nm-ip4-config.h: Make the functions
13590 nm_ip4_config_get_hostname() and
13591 nm_ip4_config_get_nis_domain() return 'const char *' not 'char *'.
13592 * src/backends/NetworkManagerSuSE.c: Fix up for above. Also, do not
13593 leak g_strdup() result.
13595 2006-02-03 Robert Love <rml@novell.com>
13597 * src/NetworkManagerAP.c: In nm_ap_new(), default new networks to
13598 broadcast == TRUE. Also, copy broadcast and artificial properties
13599 from source network to destination in nm_ap_copy().
13600 * src/nm-device-802-11-wireless.c: Don't set broadcast flag to TRUE,
13601 since we now default new networks to non-hidden.
13603 2006-02-03 Dan Williams <dcbw@redhat.com>
13605 * gnome/applet/main.c
13606 - (main): change the NEVER->ALWAYS so we start at the
13607 beginning of the session, if being session-managed
13609 2006-02-03 Dan Williams <dcbw@redhat.com>
13611 * gnome/applet/main.c
13612 - (main): in a variation on Robert's patch, change
13613 RESTART_IMMEDIATELY -> RESTART_NEVER. Should do what
13616 2006-02-02 Robert Love <rml@novell.com>
13618 * src/Makefile.am: If we aren't going to create the run directory at,
13619 uh, run-time, create it during install. Then users just doing
13620 'make install' are cool, too. While we are here, create the
13621 dispatcher.d directory, too.
13622 * src/nm-device-802-11-wireless.c: Let the Makefile define and pass in
13623 the exact run directory.
13624 * Makefile.am: Install nm-applet.desktop.
13626 2006-02-02 Robert Love <rml@novell.com>
13628 * src/NetworkManagerAP.c: Add 'broadcast' property to the NMAccessPoint
13629 structure, which denotes whether or not the AP is hidden. This is a
13630 superset of 'artificial' -- we need 'broadcast' because a hidden AP
13631 can show up in the scan list. Add nm_ap_get_broadcast() and
13632 nm_ap_set_broadcast() accessor interfaces.
13633 * src/NetworkManagerAP.h: Add prototypes for nm_ap_get_broadcast() and
13634 nm_ap_set_broadcast().
13635 * src/nm-dbus-net.c: Add new argument, boolean broadcast, to the
13636 "getProperties" method, which denotes whether or not the given
13638 * src/nm-device-802-11-wireless.c: Set broadcast to FALSE when creating
13639 an artificial network. Set broadcast to TRUE when scanning returns
13640 an ESSID and FALSE when not.
13641 * gnome/applet/applet-dbus-devices.c: Retrieve 'broadcast' argument
13642 from "getProperties" method on a network. Possible TODO is to
13643 somehow display this.
13644 * test/nm-tool.c: Display "Hidden" if the AP does not broadcast.
13646 2006-02-02 Dan Williams <dcbw@redhat.com>
13648 * src/nm-device-802-11-wireless.c
13649 - (supplicant_interface_init): don't try to create
13650 /var/run/NetworkManager, since that should be done by
13651 the distro package. Causes problems for stuff like SELinux
13653 2006-02-02 Robert Love <rml@novell.com>
13655 Patch by Sureshkumar T <tsureshkumar@novell.com>:
13656 * src/vpn-manager/nm-vpn-connection.c, src/NetworkManagerSystem.c:
13657 Check for and handle empty string for iface.
13659 2006-02-01 Robert Love <rml@novell.com>
13661 * configure.in, man/nm-tool.1.in, man/Makefile.am: Add nm-tool(1)
13664 2006-01-31 Dan Williams <dcbw@redhat.com>
13666 * nm-applet.desktop
13667 - Add --sm-disable to Exec arguments, presuming that when
13668 using autostart, we don't want session management
13670 2006-01-31 Robert Love <rml@novell.com>
13672 * src/NetworkManagerAP.c: Add two new manufacturer default network
13673 names: linksys-a and linksys-g. These are found (at least) on the
13674 Linksys WAP55AG, which does both 802.11a and 802.11b, each with their
13677 2006-01-31 Robert Love <rml@novell.com>
13679 * src/NetworkManagerAP.c: Optimize the function
13680 nm_ap_has_manufacturer_default_essid(). I did not like its resulting
13681 machine code. This is the first in a series of code tweaks aiming to
13682 generate better machine code and make NetworkManager all the better.
13683 Just kidding. Who has time to go through the assembly generated for
13684 every function? I certainly don't. I have a wife, a kid, a job,
13685 a mortgage, a mistress. But this function was so bad, I was called
13686 to arms. Like the book.
13688 2006-01-31 Robert Love <rml@novell.com>
13690 * src/nm-device-802-11-wireless.c: Set "scan_ssid 1" if the requested
13691 AP is not broadcasting, to scan with probe request frames. Required
13692 for non-broadcast networks.
13694 2006-01-31 Robert Love <rml@novell.com>
13696 * src/nm-device-802-11-wireless.c: Make the wpa_supplicant a
13697 preprocessor define (still 20s). Fix message text in nm_info()
13698 s/too too/took too/.
13700 2006-01-30 Dan Williams <dcbw@redhat.com>
13702 * src/nm-device-802-11-wireless.c
13703 - (supplicant_monitor_start): increase connect/auth timeout to
13704 20 seconds from 10 seconds
13706 2006-01-30 Dan Williams <dcbw@redhat.com>
13709 - Define LOCALSTATEDIR
13711 * src/nm-device-802-11-wireless.c
13712 - (supplicant_exec): tell wpa_ctrl_open() to stick the local control
13713 socket where we want it to
13715 * src/wpa_ctrl.[ch]
13716 - (wpa_ctrl_open): accept location to put local control socket
13718 2006-01-30 Robert Love <rml@novell.com>
13720 * src/dhcp-manager/nm-dhcp-manager.c: Pass TRUE for ignore_error in
13721 get_ip4_string() for "domain_name".
13723 2006-01-30 Robert Love <rml@novell.com>
13725 * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
13726 gnome/applet/wireless-security-option.c, include/NetworkManager.h,
13727 libnm-util/cipher-wpa-psk-hex.c, src/nm-ap-security-wpa-psk.c,
13728 libnm-util/cipher-wpa-psk-passphrase.c, src/nm-ap-security.c: Add
13729 support for "Automatic" pairwise and group cipher configuration by
13730 letting wpa_supplicant handle the details. Add UI elements, new
13731 cipher type NM_AUTH_CIPHER_AUTO, and backend support. Works like a
13732 charm. Note this does more than add a nice feature, it fixes a bug.
13733 Apparently, some people have AP's where the pairwise cipher does not
13734 match the group cipher. Insane, but true.
13736 2006-01-30 Dan Williams <dcbw@redhat.com>
13738 * gnome/applet/applet-dbus-devices.c
13739 - (nmwa_dbus_device_get_driver_cb, nmwa_dbus_device_get_driver): new
13740 functions, grab device driver name from NetworkManager
13741 - (nmwa_dbus_device_properties_cb): call functions to get driver
13743 * gnome/applet/applet.c
13744 - (nmwa_update_info): show driver name in Connection Information
13747 * gnome/applet/nm-device.[ch]
13748 - (network_device_get_driver, network_device_set_driver): add
13749 accessors for driver name
13751 * gnome/applet/wireless-applet.glade
13752 - Add line for driver name to Connection Information dialog
13754 * src/nm-dbus-device.c
13755 - (nm_dbus_device_get_driver): new function to return driver name
13756 - (nm_dbus_device_methods): hook up driver name function to dbus
13759 - (get_driver_name): new function
13760 - (detail_device): grab and show driver name
13762 2006-01-30 Robert Love <rml@novell.com>
13764 * gnome/applet/applet.c: Apparently gtk_message_dialog_new_with_markup
13765 does not parse the markup if it is not part of the format.
13767 2006-01-30 Robert Love <rml@novell.com>
13769 * gnome/applet/passphrase-dialog.c: If wsm_set_capabilities() returns
13770 FALSE, we have no security options for this dialog, so we throw up
13771 an error dialog instead of a broken passphrase dialog. Fixes
13773 * gnome/applet/wireless-security-manager.c,
13774 gnome/applet/wireless-security-manager.h: If wsm_set_capabilities()
13775 does not add any security options, not even NONE, print a warning
13776 and return FALSE. This let's functions constructing a dialog bail
13777 out if the device's capabilities and the network's requirements have
13780 2006-01-27 Robert Love <rml@novell.com>
13782 * configure.in: Require wpa_supplicant. Detect location of binary and
13783 use it. Override with "--with-wpa_supplicant=foo".
13784 * src/Makefile.am, src/nm-device-802-11-wireless.c: Do not hardcode the
13785 path to wpa_supplicant but use the auto-detected or user-provided
13786 value from configure.
13788 2006-01-27 Robert Love <rml@novell.com>
13790 * src/backends/NetworkManagerSuSE.c: If DHCLIENT_SET_HOSTNAME is set
13791 but the DHCP server did not return a hostname, try to look up our
13792 name via DNS and set the system hostname to that.
13794 2006-01-27 Dan Williams <dcbw@redhat.com>
13796 * src/backends/NetworkManagerRedHat.c
13797 - Add NM_CONTROLLED system network script support for RH/Fedora
13799 2006-01-27 Dan Williams <dcbw@redhat.com>
13801 * src/backends/NetworkManagerGentoo.c
13802 - (nm_system_device_get_disabled): add missing function.
13805 2006-01-27 Clytie Siddall <clytie@riverland.net.au>
13807 * configure.in: Added vi in ALL_LINGUAS line.
13809 2006-01-26 Robert Love <rml@novell.com>
13811 * src/Makefile.am, src/kernel-types.h: Now that two different source
13812 files are feeling the crack-addled leakage of kernel types such as
13813 u32 and s8 -- superior to __u64 and __u8, to be sure, but not valid
13814 types in user-space -- define a header and include it as needed.
13815 * src/nm-device-802-3-ethernet.c: Include kernel-types.h
13816 * src/nm-device-802-3-ethernet.h: Remove defines.
13817 * src/wpa.c: Remove defines and include kernel-types.h.
13819 2006-01-26 Robert Love <rml@novell.com>
13821 * TODO: Update. WPA support is in the bag and HAL restarts (should)
13824 2006-01-26 Robert Love <rml@novell.com>
13826 * configure.in: Change '-Wno-unused' to '-Wno-unused-parameter'
13827 * gnome/applet/applet-compat.c, gnome/applet/applet-dbus-devices.c,
13828 gnome/applet/applet-dbus-info.c, gnome/applet/applet-dbus.c,
13829 gnome/applet/applet.c, gnome/applet/applet.h, src/nm-dbus-device.c,
13830 gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
13831 gnome/applet/nm-gconf-wso.c, gnome/applet/nm-gconf-wso.h,
13832 gnome/applet/other-network-dialog.c, src/nm-device.c, test/nm-tool.c,
13833 gnome/applet/passphrase-dialog.c, src/nm-device-802-11-wireless.c,
13834 gnome/applet/wireless-security-manager.c, src/nm-ip4-config.c,
13835 gnome/applet/wireless-security-option.c, src/nm-ap-security.c,
13836 gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
13837 gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-psk.c,
13838 libnm-util/dbus-helpers.c, src/NetworkManagerAP.c, src/nm-dbus-nmi.c,
13839 src/NetworkManagerSystem.c, src/nm-ap-security-wep.c,
13840 src/nm-device-802-11-wireless.h, test/libnm-util/test-ciphers.c,
13841 src/named-manager/nm-named-manager.c, test/test-common/test-common.c:
13842 Kill unused variables, labels, and static functions. Don't pass
13843 string literals as the format string for printf-like functions.
13845 2006-01-25 Dan Williams <dcbw@redhat.com>
13847 * gnome/applet/wireless-applet.glade
13848 - Remove WPA2 Checkbox
13850 * gnome/applet/wireless-security-manager.c
13851 - (wsm_set_capabilities): split up sections for wpa and wpa2.
13852 This means the Wireless Security menu now has two WPA options,
13853 one for "WPA Personal" and one for "WPA2 Personal"
13855 * gnome/applet/wso-wpa-psk.[ch]
13856 - (wso_wpa_psk_new): remove stuff for WPA2 checkbox, and use
13857 'wpa2' argument to determine WPA version to use
13858 - (append_dbus_params_func): pass stored WPA version to cipher
13859 rather than using the (removed) checkbox
13861 2006-01-24 Robert Love <rml@novell.com>
13863 * src/dhcp-manager/nm-dhcp-manager.c: Null-out the original byte array
13864 before we g_strdup(), not the ultimate string.
13866 2006-01-23 Dan Williams <dcbw@redhat.com>
13868 * src/NetworkManagerAP.[ch]
13869 - (nm_ap_new_from_ap): copy original essid too
13870 - (nm_ap_unref): free original essid
13871 - (nm_ap_get_orig_essid): new function
13872 - (nm_ap_set_essid): Convert essid to UTF-8 for display and dbus,
13873 but keep original essid around too
13875 * src/nm-device-802-11-wireless.c
13876 - (supplicant_send_network_config): send wpa_supplicant the
13877 _original_ essid, and not as a string, but in hex. Should
13878 allow us to connect to more APs that use wierd character
13879 encodings for their essids
13881 * utils/nm-utils.[ch]
13882 - (nm_utils_essid_to_utf8): make a best-effort to convert the essid
13883 to UTF-8. If it's not already valid UTF-8, we check LANG and
13884 use the current locale as a hint for what encoding the essid
13885 might be in. Obviously not 100% accurate, but the idea here is
13886 that if a user's locale is ex. ja_JP, they are more likely than
13887 not to be in Japan, where access points will likely be in some
13890 2006-01-23 Dan Williams <dcbw@redhat.com>
13892 * libnm-util/cipher-private.h
13893 libnm-util/cipher.c
13894 libnm-util/cipher.h
13895 - (cipher_bin2hexstr, cipher_hexstr2bin): make public
13897 2006-01-23 Robert Love <rml@novell.com>
13899 Patch by Timo Hoenig <thoenig@suse.de>:
13900 * dhcp-manager/nm-dhcp-manager.c, nm-device.c, nm-ip4-config.c,
13901 nm-ip4-config.h, NetworkManagerSystem.h: Save the hostname reported
13902 by DHCP and pass it to the backends, allowing distribution-specific
13903 behavior with respect to the DHCP-supplied hostname (if nothing else,
13904 some distributions might not want to set the hostname).
13905 * backends/NetworkManagerSuSE.c: Set the hostname if the variable
13906 DHCLIENT_SET_HOSTNAME is set to "yes" in /etc/sysconfig/network/dhcp.
13907 Also update our NIS behavior.
13908 * backends/NetworkManagerDebian.c, backends/NetworkManagerGentoo.c,
13909 backends/NetworkManagerRedHat.c, backends/NetworkManagerSlackware.c:
13910 Add stub functions.
13912 2006-01-23 Robert Love <rml@novell.com>
13914 * Makefile.am, nm-applet.desktop: Add autostart .desktop file, now that
13915 gnome-session does autostart. TODO: We need to install this to
13916 $prefix/share/autostart/.
13918 2006-01-22 Dan Williams <dcbw@redhat.com>
13920 * src/NetworkManagerAP.[ch]
13922 src/nm-device-802-11-wireless.c
13923 - Make nm_ap_get_essid return "const char *"
13925 2006-01-22 Dan Williams <dcbw@redhat.com>
13927 * src/NetworkManagerAP.[ch]
13928 - (nm_ap_get_matched, nm_ap_set_matched): remove
13930 * src/NetworkManagerAPList.[ch]
13931 - (nm_ap_list_diff): removed
13932 - (nm_ap_list_merge_scanned_ap): move AP dbus signal logic here,
13933 deal with access points changing essids on us
13935 * src/nm-device-802-11-wireless.c
13936 - (add_new_ap_to_device_list): move AP dbus signal logic to
13937 src/NetworkManagerAPList.c
13938 - (real_can_interrupt_activation): new function; allow interruption
13939 of device activation if we are waiting for a network key
13941 * src/NetworkManagerPolicy.c
13942 - (nm_policy_device_change_check): allow interruption of currently
13943 activating devices if the device allows it. Previous behavior
13944 would refuse to activate a just-plugged wired device if a
13945 wireless device was waiting for a key.
13947 * src/nm-device.[ch]
13948 - (nm_device_can_interrupt_activation): new function; ask devices
13949 whether their activation can be interrupted
13951 2006-01-20 Robert Love <rml@novell.com>
13953 * Makefile.am, configure.in: Add new man subdirectory.
13954 * man, man/NetworkManager.1.in, man/NetworkManagerDispatcher.1.in,
13955 man/Makefile.am: Add man pages for NetworkManager and its
13956 crime-solving bumbling buddy, NetworkManagerDispatcher.
13957 * man/.cvsignore: Add.
13958 * initscript/Debian/NetworkManager,
13959 initscript/Gentoo/NetworkManager.in,
13960 initscript/RedHat/NetworkManager.in,
13961 initscript/RedHat/NetworkManagerDispatcher.in,
13962 initscript/SUSE/networkmanager-dispatcher.in,
13963 initscript/SUSE/networkmanager.in: Update for /usr/sbin not /usr/bin.
13965 2006-01-20 Robert Love <rml@novell.com>
13967 * src/NetworkManagerDbus.c: Fail if NM's DBUS service is already taken,
13968 instead of queuing. This prevents the running of multiple NM
13969 daemons concurrently, which does not work whatsoever and results in
13970 neither daemon working correctly. Also, we don't handle queuing and
13971 name-owner-changes, anyhow.
13973 2006-01-20 Robert Love <rml@novell.com>
13975 * src/Makefile.am: Install the NetworkManager daemon to sbin, not bin.
13976 * dispatcher/Makefile.am: Install the NetworkManagerDispatcher daemon
13979 2006-01-19 Robert Love <rml@novell.com>
13981 * configure.in: Require hal 0.5.0 or later.
13983 2006-01-18 Robert Love <rml@novell.com>
13985 * src/NetworkManager.c, src/NetworkManagerSystem.h, src/nm-device.c:
13986 Allow backends to flag a device (in whatever distro-dependent way
13987 they so desire) as disabled. NM will ignore any such device.
13988 * src/backends/NetworkManagerDebian.c,
13989 src/backends/NetworkManagerRedHat.c,
13990 src/backends/NetworkManagerSlackware.c: Add stub function
13991 nm_system_device_get_disabled() that always returns FALSE (enabled).
13992 * src/backends/NetworkManagerSuSE.c: Add system_disabled field to the
13993 SUSE-specific configuration structure. Fill it in from the
13994 NM_CONTROLLED variable in the system networking scripts. If this var
13995 exists and is "no", we ignore the device.
13997 2006-01-17 Robert Love <rml@novell.com>
13999 * configure.in: Remove 'no' language. Replaced by 'nb', which is
14000 identical for NM. For a full discussion, see the thread at
14001 http://mail.gnome.org/archives/gnome-i18n/2004-August/msg00006.html.
14003 2006-01-17 Dan Williams <dcbw@redhat.com>
14006 - (nm_device_class_init): connect a default act_stage4_ip_config_timeout
14007 function. Fixes crash when wired DHCP fails.
14009 2006-01-16 Robert Love <rml@novell.com>
14011 * src/Makefile.am: Don't install NMLoadModules
14012 * src/NMLoadModules, test/NMLoadModules: Move the NMLoadModules script
14013 from src/ to test/ as no one uses it anymore. Note that I would be
14014 fine with removing it altogether.
14016 2006-01-16 Robert Love <rml@novell.com>
14018 * gnome/applet/eggtrayicon.c, src/nm-device.c, src/nm-ap-security.c,
14019 gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
14020 gnome/applet/nm-gconf-wso.c, src/nm-device-802-3-ethernet.c,
14021 gnome/vpn-properties/nm-vpn-properties.c, src/nm-ap-security-wep.c,
14022 src/nm-ap-security-wpa-psk.c, src/nm-device-802-11-wireless.c,
14023 src/nm-netlink-monitor.c: Don't miss any initializers on structure
14024 declarations, ever.
14025 * gnome/applet/applet.c: Remove useless check (NMState is unsigned and
14026 NM_STATE_DISCONNECTED is zero).
14028 2006-01-16 Robert Love <rml@novell.com>
14030 * src/nm-device-802-11-wireless.c: argv[3], not argv[4]. Fix
14031 uninitialized parameter and buffer overflow. Novell #143496.
14033 2006-01-16 Dan Williams <dcbw@redhat.com>
14035 Apply the PtP Address bits of a patch from Tim Niemueller
14037 * src/nm-ip4-config.[ch]
14038 - Add ip4_ptp_address member to object
14039 - (nm_ip4_config_copy): copy ptp address too
14040 - (nm_ip4_config_get_ptp_address, nm_ip4_config_set_ptp_address):
14042 - (nm_ip4_config_to_rtnl_addr): use ptp address when asked to,
14043 rather than local tunnel ip address
14045 * src/vpn-manager/nm-vpn-service.c
14046 - (print_vpn_config): update for PtP address
14047 - (nm_vpn_service_stage4_ip_config_get): switch parsing to
14048 DBusMessageIters in preparation for getting routes from the VPN
14049 service daemons too
14051 * vpn-daemons/openvpn/src/nm-openvpn-service-openvpn-helper.c
14052 - (send_config_info): update for PtP address, clean up code
14053 - (main): update for PtP address, clean up code, fix typo
14055 * vpn-daemons/openvpn/src/nm-openvpn-service.c
14056 - (nm_openvpn_dbus_process_helper_ip4_config): update for PtP address
14058 * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
14059 - (pptp_ip_up): update for PtP address
14061 * vpn-daemons/pptp/src/nm-pptp-service.c
14062 - (nm_pptp_dbus_process_helper_ip4_config): update for PtP address
14064 * vpn-daemons/vpnc/src/nm-vpnc-service.c
14065 - (print_vpn_config): update for PtP address
14066 - (nm_vpnc_dbus_process_helper_ip4_config): update for PtP address
14068 2006-01-16 Dan Williams <dcbw@redhat.com>
14070 * gnome/applet/applet.c
14071 - (nmwa_add_networks_helper): don't indicate an active network
14072 if NM is disconnected or asleep
14074 2006-01-16 Dan Williams <dcbw@redhat.com>
14076 * src/NetworkManagerPolicy.c
14077 - (nm_policy_device_change_check): switch devices if we lose the link
14078 on an ethernet device.
14080 2006-01-16 Dan Williams <dcbw@redhat.com>
14082 * gnome/applet/wso-wpa-psk-hex.[ch]
14083 - Renamed -> wso-wpa-psk.[ch]
14085 * gnome/applet/wso-wpa-psk.[ch]
14088 * gnome/applet/wso-wpa-psk-passphrase.[ch]
14089 - Removed, rolled into wso-wpa-psk.[ch]
14091 * gnome/applet/Makefile.am
14092 - Updated for above changes
14094 * gnome/applet/wireless-applet.glade
14095 - Consolidate WPA-PSK options into one notebook
14096 widget, and make dialogs invisible by default
14097 to fix screen oddities
14099 * gnome/applet/wireless-security-manager.c
14100 - (wsm_set_capabilities): create the new wpa-psk widget rather
14101 than both the old hex & passphrase ones
14103 2006-01-16 Dan Williams <dcbw@redhat.com>
14105 * gnome/applet/other-network-dialog.c
14106 - (nmwa_ond_init): Change text to refer to "name" rather than "ESSID"
14108 2006-01-16 Dan Williams <dcbw@redhat.com>
14110 * gnome/applet/applet.c
14111 - (nmwa_show_vpn_login_banner_dialog, nmwa_show_vpn_failure_dialog,
14112 nmwa_driver_notify, show_warning_dialog): fix up focus-stealing
14113 prevention to realize window before trying to get server
14116 * gnome/applet/other-network-dialog.c
14117 - (nmwa_other_network_dialog_run): fix up focus-stealing
14118 prevention to realize window before trying to get server
14121 * gnome/applet/passphrase-dialog.c
14122 - (nmi_passphrase_dialog_new): fix up focus-stealing
14123 prevention to realize window before trying to get server
14126 2006-01-16 Robert Love <rml@novell.com>
14128 Patch from Timo Hoenig <thoenig@suse.de:
14129 * libnm-util/cipher-wep-ascii.h, libnm-util/cipher-wep-hex.h,
14130 libnm-util/cipher-wep-passphrase.h, libnm-util/cipher-wpa-psk-hex.h,
14131 libnm-util/cipher-wpa-psk-passphrase.h, libnm-util/cipher.h,
14132 libnm-util/dbus-helpers.h: add checks whether headers are used
14133 within a C++ build.
14135 2006-01-16 Dan Williams <dcbw@redhat.com>
14137 * gnome/applet/wireless-security-option.c
14138 - (wso_wpa_create_key_type_model): clarify AES-CCMP algorithm name
14140 2006-01-16 Dan Williams <dcbw@redhat.com>
14142 * libnm-util/cipher-wpa-psk-passphrase.c
14143 - (cipher_wpa_psk_passphrase_new): correct passphrase length, should
14144 be 8 - 63 characters inclusive
14146 2006-01-16 Dan Williams <dcbw@redhat.com>
14149 - (nm_dbus_nm_sleep): bring device down after quick deactivation
14151 2006-01-13 Robert Love <rml@novell.com>
14153 Patch by T Sureshkumar <tsureshkuman@novell.com>:
14154 * src/NetworkManagerSystem.c: Don't assert iface != NULL, allowing VPN
14155 modules that do not use an interface.
14157 2006-01-13 Dan Williams <dcbw@redhat.com>
14161 - Allow subclasses to implement deactivate_quickly()
14162 - (nm_device_deactivate_quickly): call subclass
14163 deactivate_quickly() methods
14164 - (nm_device_set_active_link): small cleanups, and don't
14165 deactivate the device right away because we risk a deadlock
14166 when called from device thread, waiting for the device
14167 thread to cancel activation
14169 * src/nm-device-802-11-wireless.c
14170 - (real_deactivate_quickly): new function
14171 - (nm_device_802_11_wireless_class_init): hook in real_deactivate_quickly
14172 - (real_deactivate): move supplicant cleanup to real_deactivate_quickly
14173 so that we kill the supplicant when we sleep too
14174 - (supplicant_interface_init): work around naive naming attempts of
14175 wpa_ctrl when naming sockets
14177 2006-01-13 Dan Williams <dcbw@redhat.com>
14179 * src/nm-device-802-11-wireless.c
14180 - (supplicant_cleanup): delete old device control sockets too
14181 - (supplicant_get_device_socket_path): new function to consolidate
14182 locations that need a path to a device's control socket
14184 2006-01-12 Robert Love <rml@novell.com>
14186 * src/backends/NetworkManagerSuSE.c: Put the ppp device in the
14187 description so that the description is unique for each
14188 pair (device,provider). Fixes Novell #142773.
14190 2006-01-12 Dan Williams <dcbw@redhat.com>
14192 * src/nm-device-802-11-wireless.c
14193 - (supplicant_exec): ensure GError is correctly initialized
14194 Reported by Diego González (gnome.org #326708)
14196 2006-01-11 Robert Love <rml@novell.com>
14198 * src/nm-device-802-3-ethernet.c: In case local copies of glibc do not
14199 define if_mii(), open code the same results, and do so without any
14202 2006-01-11 Robert Love <rml@novell.com>
14204 * gnome/applet/wireless-security-manager.c: Fix crash by not asserting
14205 that wso_foo_new() returned non-NULL. Instead, only append the new
14206 wso to wsm->options if the wso is non-NULL. The crux is that we
14207 assume that the relevant key types are implied by WEP and WPA as
14208 appropriate. To be sure, they should be, but we should not expect
14209 drivers to not be oozing piles of wolf fecal matter.
14211 2006-01-11 Robert Love <rml@novell.com>
14213 * configure.in: Add the gcc flags '-Wshadow' and '-Wfloat-equal'.
14214 * gnome/applet/applet.c, gnome/vpn-properties/nm-vpn-properties.c,
14215 src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
14216 src/NetworkManagerPolicy.c, src/NetworkManagerSystem.c,
14217 src/nm-dbus-device.c, src/nm-device-802-3-ethernet.c,
14218 src/nm-ip4-config.c, src/vpn-manager/nm-vpn-manager.c,
14219 test/nmtestdevices.c: Fix shadowed variable usage as appropriate.
14220 * src/nm-device-802-11-wireless.c: Fix floating point comparison by
14221 comparing values within DBL_EPSILON. Also fix shadowed variable
14224 2006-01-11 Dan Williams <dcbw@redhat.com>
14226 Add options for WPA2 and WPA1+CCMP (AES).
14228 * gnome/applet/wireless-applet.glade
14229 - Add UI bits for WPA+CCMP
14231 * gnome/applet/other-network-dialog.c
14232 - (nmwa_ond_init): pass capabilities into the WirelessSecurityManager,
14233 and don't allow creation of WPA2 Ad-Hoc networks since
14234 wpa_supplicant doesn't support them
14236 * gnome/applet/wireless-security-manager.c
14237 - (wsm_set_capabilities): Add WPA2 options, and pass capability
14238 on to the specific wireless security option being created
14240 * gnome/applet/wireless-security-option.[ch]
14241 - (wso_wpa_create_key_type_model): new utility function to create
14242 the model required for WPA Key Type combo box
14244 * gnome/applet/wso-private.h
14245 gnome/applet/wireless-security-option.h
14246 - Move private function prototypes into wso-private.h
14248 * gnome/applet/wso-wpa-psk-hex.[ch]
14249 gnome/applet/wso-wpa-psk-passphrase.[ch]
14250 - (append_dbus_params_func): get WPA version from checkbox and pass
14251 it to the dbus serialization helper
14252 - (key_type_combo_changed_cb): Set the cipher's WE Cipher when the
14253 key type combo changes
14254 - (wso_wpa_psk_hex_new): set up the key type combo with the correct
14257 * libnm-util/cipher-wpa-psk-hex.c
14258 libnm-util/cipher-wpa-psk-passphrase.c
14259 - (cipher_wpa_psk_hex_set_we_cipher, cipher_wpa_psk_passphrase_set_we_cipher):
14260 new function; allow the cipher to be changed after object creation
14262 * src/nm-ap-security-wpa-psk.c
14263 - (set_description): Do WPA2 descriptions too
14265 * src/nm-ap-security.c
14266 - (nm_ap_security_new_from_ap): allow CCMP with WPA1 too
14268 2006-01-11 Robert Love <rml@novell.com>
14270 * src/nm-device-802-3-ethernet.c: Use the if_mii() inline function that
14271 is defined in <linux/mii.h> to return the mii_ioctl_data structure
14272 from the ifreq structure in lieu of an open coded solution. Removes
14273 a life-threatening type-punning.
14274 * configure.in: Remove '-Wno-strict-aliasing' as we no longer pun any
14275 types, ever, whatsoever, baby.
14277 2006-01-11 Robert Love <rml@novell.com>
14279 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.c,
14280 gnome/applet/applet.c, gnome/applet/applet.h: Consolidating
14281 assignments to applet->nm_state into a new nmwa_set_state() function
14282 for both cleanliness and to help debugging.
14284 2006-01-10 Robert Love <rml@novell.com>
14286 * src/autoip.c: Fix FIXME. In performing the link-local zeroconf IP
14287 assignment dance, we want to sleep between PROBE_MIN and PROBE_MAX
14288 seconds, exclusive. That is, we want to sleep x seconds such that
14291 2006-01-10 Robert Love <rml@novell.com>
14293 * gnome/applet/applet-dbus-info.c: Remove FIXME, we do not have to free
14294 the attr fields according to the example in the email available at
14295 mail.gnome.org/archives/desktop-devel-list/2004-May/msg00230.html.
14296 Conversely, we do have to free 'name', so we do so, fixing a leak.
14298 2006-01-10 Robert Love <rml@novell.com>
14300 * src/nm-device-802-11-wireless.c, src/nm-device-802-3-ethernet.c: Make
14301 sure that we close the socket!
14303 2006-01-10 Robert Love <rml@novell.com>
14305 * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h,
14306 src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h,
14307 src/nm-device.c: Fix a FIXME! Reimplement the function
14308 nm_device_update_hw_address() in device subclass variants,
14309 nm_device_802_3_ethernet_set_address() and
14310 nm_device_802_11_wireless_set_address(), hook them up, and use them.
14311 This fixes the existing bug where MAC addresses are all zeros.
14313 2006-01-10 Robert Love <rml@novell.com>
14315 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.h,
14316 gnome/applet/applet.c, gnome/applet/applet.h: Add 'Enable Networking'
14317 option to give users ability to globally disconnect and put NM to
14318 sleep. This is useful as a 'lockdown mode' for flying, security, and
14321 2006-01-09 Robert Love <rml@novell.com>
14323 * src/nm-device-802-3-ethernet.h: The kernel headers <linux/mii.h> and
14324 <linux/ethtool.h> leak the kernel-only types u16, u32, et al.
14325 User-space does not supply these types, so we have to define them
14326 ourselves. The relevant kernel maintainer refused to accept a patch
14327 switching these headers to the proper C99 types.
14329 2006-01-09 Dan Williams <dcbw@redhat.com>
14331 Apply Robert's 'tray icon redo' patch with fixes
14332 * gnome/applet/applet.c
14333 gnome/applet/applet.h
14334 - Instead of using a menu bar + menu item, simulate menu
14335 behavior using a popup menu. Highlight the area around
14336 the icon more like a menu too, by playing with the
14337 applet's size requisition
14339 2006-01-09 Timo Hoenig <thoenig@suse.de>
14340 * libnm-util/dbus-helpers.c
14341 libnm-util/dbus-helpers.h
14342 - (nmu_create_dbus_error_message): rename parameter 'namespace'
14343 to 'exception_namespace' (:namespace is a keyword in
14346 2006-01-09 Dan Williams <dcbw@redhat.com>
14348 * src/NetworkManagerPolicy.c
14349 - (nm_policy_device_change_check): don't autoswitch away from
14350 Ad-Hoc networks, since there's really no concept of
14354 - (nm_dbus_nm_create_wireless_network): mark created networks
14357 * src/nm-device-802-11-wireless.c
14358 - (real_activation_success_handler): add user-created Ad-Hoc
14359 networks to the device's scan list
14361 2006-01-08 Dan Williams <dcbw@redhat.com>
14363 We now require a patch for wpa_supplicant to support Ad-Hoc
14365 http://people.redhat.com/dcbw/wpa_supplicant-ctrl-iface-ap-scan.patch
14367 * src/nm-device-802-11-wireless.c
14368 - (supplicant_send_network_config): turn off wpa_supplicant's
14369 scanning. Fixes Ad-Hoc networks.
14371 2006-01-08 Dan Williams <dcbw@redhat.com>
14373 * src/nm-ap-security.c
14374 src/nm-ap-security.h
14375 - Add a user_created argument to the write_supplicant_config
14378 * src/nm-ap-security-wep.c
14379 src/nm-ap-security-wpa-psk.c
14380 src/nm-device-802-11-wireless.c
14381 - Make Ad-Hoc mode somewhat work, at least write the
14382 correct options to wpa_supplicant
14384 2006-01-08 Dan Williams <dcbw@redhat.com>
14386 * src/nm-device-802-11-wireless.c
14387 - Remove unused code from the old device activation path
14389 2006-01-08 Dan Williams <dcbw@redhat.com>
14391 * libnm-util/dbus-helpers.c
14392 - (nmu_security_serialize_wpa_psk): pass a blank key through
14393 dbus when key == NULL
14395 2006-01-08 Dan Williams <dcbw@redhat.com>
14397 * gnome/applet/nm-gconf-wso-wpa-psk.c
14398 - (nm_gconf_wso_wpa_psk_new_deserialize_dbus): feed
14399 correct arguments to nmu_security_deserialize_wpa_psk()
14401 * src/nm-ap-security-wpa-psk.c
14402 - (nm_ap_security_wpa_psk_new_deserialize): feed correct
14403 arguments to nmu_security_deserialize_wpa_psk()
14405 2006-01-08 Dan Williams <dcbw@redhat.com>
14407 * gnome/applet/wso-wpa-psk-hex.c
14408 gnome/applet/wso-wpa-psk-passphrase.c
14409 - Hook up the append_dbus_params_func() function
14411 2006-01-08 Dan Williams <dcbw@redhat.com>
14413 * src/nm-device-802-11-wireless.c
14414 - (get_wireless_capabilities): correctly detect driver WPA
14417 2006-01-08 Dan Williams <dcbw@redhat.com>
14419 * gnome/applet/Makefile.am
14420 gnome/applet/wso-wpa-psk-hex.c
14421 gnome/applet/wso-wpa-psk-hex.h
14422 - New files, implement WPA-PSK Hex key input
14424 * gnome/applet/wireless-applet.glade
14425 - Change existing wpa-psk stuff to wpa-psk-hex
14426 - Add new widgets for wpa-psk-passphrase
14428 * gnome/applet/wireless-security-manager.c
14429 - (wsm_set_capabilities): enable WPA options
14431 * gnome/applet/wso-wpa-psk-passphrase.c
14432 - (wso_wpa_psk_passphrase_new): use correct glade widgets
14433 for WPA-PSK passphrase
14435 2006-01-08 Dan Williams <dcbw@redhat.com>
14437 * include/NetworkManager.h
14438 - Add NMI_DBUS_USER_KEY_CANCELED_ERROR as a constant for
14439 applet/info-daemons
14441 * gnome/applet/passphrase-dialog.c
14442 - Use the constant. Fixes a bug where the arguments to
14443 dbus_message_new_error() were incorrect
14445 * src/nm-dbus-nmi.c
14448 2006-01-07 Dan Williams <dcbw@redhat.com>
14450 * src/nm-device-802-11-wireless.c
14451 - Add a link timeout so we allow the supplicant time to
14452 reassociate if it can, before we deactivate the card
14453 - Fix up link status and link updating so things work better
14455 2006-01-07 Dan Williams <dcbw@redhat.com>
14457 * src/nm-device-802-11-wireless.c
14458 - Switch over to using wpa_supplicant
14459 - Add a timeout of 10s for association of the supplicant
14460 - Start the monitor callback of the supplicant
14462 2006-01-07 Dan Williams <dcbw@redhat.com>
14464 * src/NetworkManagerUtils.c
14465 - (nm_utils_supplicant_request,
14466 nm_utils_supplicant_request_with_check):
14467 pass correct buffer length to wpa_ctrl_request()
14469 2006-01-07 Dan Williams <dcbw@redhat.com>
14471 * src/nm-device-private.h
14473 - (nm_device_activate_schedule_stage3_ip_config_start): make
14474 this function available to subclasses
14476 2006-01-06 Robert Love <rml@novell.com>
14478 * src/NetworkManagerPolicy.c: Always prefer wired to wireless, as the
14479 user plugging in a network cable signals their preference for to
14480 switch, unless the user explicitly selected a wireless network and
14481 therefore signaled their preference for said wireless network over
14482 wired. In other words, do exactly what makes sense.
14484 2006-01-06 Robert Love <rml@novell.com>
14486 * src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
14487 src/NetworkManagerDevicePrivate.h, src/NetworkManagerWireless.c,
14488 src/NetworkManagerWireless.h: Remove, no longer used and they keep
14489 showing up in my greps.
14491 2006-01-06 Robert Love <rml@novell.com>
14493 * gnome/applet/applet-dbus-devices.c,
14494 gnome/applet/other-network-dialog.c, gnome/applet/wso-none.c,
14495 libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h,
14496 src/nm-dbus-nm.c: Fix several issues. 'Connect to Other' and 'Create
14497 New Network' both failed in the non-encrypted case because we were
14498 not appending the security options to the DBUS message. And
14499 'Connect to Other' was also failing in the encrypted case because
14500 we were not incrementing to the next DBUS parameter. All fixed.
14501 Thanks to dcdw for some debugging help.
14503 2006-01-06 Robert Love <rml@novell.com>
14505 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
14506 gnome/applet/applet-dbus-devices.h, src/nm-dbus-nm.c: Remove global
14507 hangup code and add per-device hangup. Tie last commit into the
14508 GNOME applet. TODO: Save, understand, and respond to the state of
14509 each dialup device.
14511 2006-01-06 Robert Love <rml@novell.com>
14513 Patch by Timo Hoenig <thoenig@suse.de>:
14514 * src/NetworkManagerSystem.h, src/nm-dbus-nm.c: Add interfaces to
14515 hangup specific dialup devices.
14516 * src/backends/NetworkManagerDebian.c,
14517 src/backends/NetworkManagerGentoo.c,
14518 src/backends/NetworkManagerRedHat.c,
14519 src/backends/NetworkManagerSlackware.c: Add stub backend.
14520 * src/backends/NetworkManagerRedHat.c,
14521 src/backends/NetworkManagerSuSE.c: Add specific backend interface to
14522 hangup specific dialup devices.
14524 2006-01-04 Robert Love <rml@novell.com>
14526 * gnome/applet/applet-dbus-devices.c,
14527 gnome/applet/applet-dbus-devices.h, gnome/applet/applet.c,
14528 src/nm-dbus-nm.c: Expose a menu item for hanging up active dialup
14531 2006-01-04 Dan Williams <dcbw@redhat.com>
14533 First dump of wpa_supplicant-related code. It's not hooked up to
14534 anything yet though. Thanks to Kay Sievers for
14535 wpa_supplicant_wrapper.c, which formed the basis for this work,
14536 and to Jouni Malinen for writing wpa_ctrl.c and wpa_ctrl.h.
14540 - Add wpa_ctrl stuff from wpa_supplicant so we can talk to it
14542 * src/NetworkManagerUtils.[ch]
14543 - (nm_utils_supplicant_request, nm_utils_supplicant_request_with_check):
14544 Add convenience functions for talking to wpa_supplicant
14546 * src/nm-ap-security.[ch]
14547 src/nm-ap-security-wep.c
14548 src/nm-ap-security-wpa-psk.[ch]
14549 - Update and implement real_write_supplicant_config functions
14550 in all security types
14551 - (nm_ap_security_wpa_psk_new_from_ap): implement in
14552 nm-ap-security-wpa-psk.c
14554 * src/nm-device-802-11-wireless.c
14555 - (supplicant_cleanup, supplicant_watch_cb, supplicant_monitor_status_cb,
14556 wpa_supplicant_start, wpa_supplicant_interface_init,
14557 wpa_supplicant_send_network_config): add functions to talk to
14558 wpa_supplicant and write network config to it
14560 2006-01-04 Robert Love <rml@novell.com>
14562 * src/NetworkManagerDialup.h: add 'type' field and NM_DIALUP_TYPE
14563 values so that distribution-backends can differentiate between the
14564 various types (modem, ISDN, et cetera) of dialup device that they
14566 * src/backends/NetworkManagerSuSE.c: perform isdnctrl on interface, as
14569 2006-01-03 Dan Williams <dcbw@redhat.com>
14571 * src/NetworkManagerPolicy.c
14573 src/nm-device-802-11-wireless.c
14574 - Move wireless-specific activation failure and success code
14575 into wireless device class
14577 2006-01-03 Robert Love <rml@novell.com>
14579 Patch by Preggna S:
14580 * src/NetworkManagerSystem.c, src/vpn-manager/nm-vpn-connection.c:
14581 IPsec does not require that a VPN client be bound to an interface,
14582 due to the use of the in-kernel IPSec bits. So make the tunnel
14585 2006-01-03 Dan Williams <dcbw@redhat.com>
14587 * src/NetworkManagerAP.c
14588 - (nm_ap_add_capabilities_from_ie): presume no WEP unless
14589 the WPA IE specifies that WEP is supported
14591 * src/nm-device-802-11-wireless.c
14592 - (process_scan_results): don't mark an AP as supporting WEP
14593 if there's already other encryption capability info
14595 2006-01-03 Dan Williams <dcbw@redhat.com>
14597 * src/dhcp-manager/nm-dhcp-manager.c
14598 - Recognize activation cancellation when waiting for DHCP
14599 configuration from dhcdbd
14600 - Ignore non-dhcdbd messages
14603 - (real_act_stage3_ip_config_start): return to correct behavior
14604 of letting the dhcp-manager notify us of failure or
14605 success rather than incorrectly doing that ourselves
14606 - (nm_device_activate_stage4_ip_config_get): deal with
14607 activation cancellation a bit earlier
14609 2006-01-03 Dan Williams <dcbw@redhat.com>
14611 * src/nm-device-802-11-wireless.c
14613 - Add hooks to subclasses for stage3_ip_config_start and
14614 stage4_ip_config_timeout
14616 * src/nm-device-802-3-ethernet.c
14617 - (real_get_generic_capabilities): make devices NM-supported
14620 2006-01-03 Robert Love <rml@novell.com>
14622 * src/backends/NetworkManagerSuSE.c: update to newer API (no more
14623 nm_device_get_hw_address); use inet_aton in lieu of inet_addr as the
14624 latter cannot differentiate between error and the address -1; misc.
14627 2006-01-03 Dan Williams <dcbw@redhat.com>
14629 * src/NetworkManager.c
14630 - Move link-checking/probing into the device subclasses
14633 * src/nm-device.[ch]
14634 src/nm-device-802-11-wireless.c
14635 src/nm-device-802-3-ethernet.c
14636 - Do periodic link checking in device subclasses rather
14637 than being triggered from NetworkManager.c
14638 - discover_wireless_capabilities -> get_wireless_capabilities
14639 - discover_generic_capabilities -> get_generic_capabilities
14640 - Device subclass activation routines now return a value of type
14641 NMActStageReturn to indicate what step to perform next
14642 - Devices now override stage4_get_ip4_config if they choose
14644 2006-01-01 Dan Williams <dcbw@redhat.com>
14646 * src/nm-device-802-11-wireless.c
14647 - (real_init): don't chain up to parent init because we don't
14648 need to do that anymore
14651 - (discover_device_type): fix arguments to ioctl() to correctly
14652 pass interface name
14653 - (nm_device_new): consolidate generic device initialization into
14655 - (real_init): remove, consolidated to nm_device_new()
14656 - (nm_device_deactivate, real_deactivate): consolidate
14658 2006-01-01 Dan Williams <dcbw@redhat.com>
14660 * src/nm-activation-request.c
14661 - Change dhcp_state member of the NMActRequest structure
14662 from guint8 to guint32
14664 * src/dhcp-manager/nm-dhcp-manager.[ch]
14665 - (nm_dhcp_manager_get_state_for_device): return guint32 rather
14666 than guint8 to match the dbus argument. Turns out we were
14667 overwriting memory since we were passing in only a guint8
14669 2005-12-31 Dan Williams <dcbw@redhat.com>
14671 * refactor NMDevice into a GObject-based framework with separate
14672 objects for wired and wireless. The following files are no
14673 longer used but should stick around for a bit so we don't
14674 loose code through the cracks:
14675 NetworkManagerDevice.c
14676 NetworkManagerDevice.h
14677 NetworkManagerWireless.c
14678 NetworkManagerWireless.h
14680 The intent here is to allow each device type to manage its own
14681 connection & activation life-cycle, ie to allow wireless devices
14682 to interface with wpa_supplicant, etc. There's a fair bit of
14683 encapsulation breakage right now that should gradually get pulled
14684 back into each device, along with things like periodic property
14685 updates and link probing.
14687 2005-12-29 Dan Williams <dcbw@redhat.com>
14689 * include/NetworkManager.h
14690 - Add NM_802_11_CAP_PROTO_NONE since we need to recognize
14691 between networks that don't have any encryption at all
14693 2005-12-29 Dan Williams <dcbw@redhat.com>
14695 * test/test-common.c
14698 - Move to a test-common subdirectory
14700 * test/libnm-util/test-ciphers.c
14701 - Move test data to test-inputs.h
14702 - Test WPA ciphers too
14704 * test/libnm-util/test-dbus-helpers.c
14705 - Test serialization/deserialization of ciphers
14707 2005-12-29 Dan Williams <dcbw@redhat.com>
14709 * gnome/applet/applet-dbus-devices.c
14710 - Replace 'enc' parameter with 'capabilities' for wireless networks
14711 in dbus calls to NM
14712 - Set capabilities on WirelessNetwork objects
14713 - Receive and save type-specific device capabilities too
14715 * gnome/applet/applet-dbus-info.c
14716 gnome/applet/applet-dbus.c
14717 - Passphrase dialog no longer a singleton; new instance gets created
14718 on each request. Updates to deal with that.
14720 * gnome/applet/applet.c
14721 - (nmwa_has_encrypted_networks_helper): use AP capabilities rather
14722 than single 'encrypted' flag
14723 - (nmwa_menu_add_vpn_menu): if NM isn't connected, disable any VPN
14725 - Passphrase dialog updates per above
14727 * gnome/applet/menu-items.c
14728 - (network_menu_item_update): use AP capabilities to determine
14731 * gnome/applet/nm-device.[ch]
14732 - Add accessors for type-specific device capabilities
14734 * gnome/applet/other-network-dialog.c
14735 - Rework to respect device capabilities. i.e., if the device doesn't
14736 support WPA, remove that option from the security dropdown
14738 * gnome/applet/passphrase-dialog.c
14739 - Massive rework so that a new instance is created each time
14740 it's used, to support wireless network capabilities
14742 * gnome/applet/wireless-network.[ch]
14743 - Add accessors and members for wireless network capabilities
14745 * gnome/applet/wireless-security-manager.[ch]
14746 - (wsm_set_capabilities): called after creation to set which
14747 security options get shown to the user
14749 2005-12-29 Dan Williams <dcbw@redhat.com>
14751 * libnm-util/cipher-wpa-psk-passphrase.c
14752 - (cipher_wpa_psk_passphrase_hash_func): return key as hex string
14755 2005-12-23 Dan Williams <dcbw@redhat.com>
14757 * gnome/applet/applet-dbus-info.c
14758 - (nmi_dbus_get_key_for_network): if there's no entry in
14759 GConf for a network, assume we want a new key
14760 - (nmi_save_network_info): serialize wireless security info
14761 into GConf so its saved
14764 - Fix warning as we may not be passed security info when
14765 connecting to a wireless network
14767 2005-12-23 Dan Williams <dcbw@redhat.com>
14769 * gnome/applet/applet-compat.c
14770 - Fix bugs in GConf entry conversion
14772 * gnome/applet/applet-dbus-info.c
14773 - (nmi_dbus_get_network_properties): handle case of the BSSID
14774 list being zero-length
14776 * libnm-util/cipher-*
14777 libnm-util/dbus-helpers.c
14778 - All ciphers must now return hashed keys as UTF-8 valid
14779 hexadecimal strings, ie "8f3dae4023". They are pushed
14780 through dbus as strings too.
14781 - Consolidate various functions that do bin->hex and hex->bin
14782 conversion into cipher.c
14784 * src/nm-ap-security-wep.c
14785 src/nm-ap-security-wpa-psk.c
14786 - Handle NULL keys since we may not know keys right away
14788 * src/nm-dbus-nmi.c
14789 - (nm_dbus_get_network_data_cb): actually advance to the start
14790 of the wireless security info before we try to deserialize it
14792 * libnm-util/test-ciphers.c
14793 - Update cipher tests for the change to UTF-8 hexadecimal strings
14795 2005-12-22 Dan Williams <dcbw@redhat.com>
14797 * gnome/applet/applet-compat.[ch]
14798 - Convert old-format GConf and keyring entries
14799 when the applet starts up.
14801 * gnome/applet/applet.c
14802 - (nmwa_get_instance): Call the conversion function
14803 on startup before dbus is initialized
14805 2005-12-22 Dan Williams <dcbw@redhat.com>
14807 * gnome/applet/applet-dbus-info.c
14808 - Remove nmi_dbus_create_error_message() in favor of
14809 nmu_create_dbus_error_message()
14810 - (nmi_dbus_get_network_properties): Error message cleanups
14811 - (nmi_dbus_get_network_properties): BSSIDs are now in the 'bssids'
14812 gconf key rather than 'addresses', since they really are BSSIDs
14813 - (nmi_dbus_get_network_properties): Dispose of the security
14814 object when we're done with it
14816 2005-12-21 Dan Williams <dcbw@redhat.com>
14818 * Consolidate the info-daemon's "updateNetworkInfo" and
14819 "addNetworkAddress" calls into just "updateNetworkInfo"
14821 2005-12-21 Dan Williams <dcbw@redhat.com>
14823 * Make connection after key retrieval work again
14825 2005-12-21 Dan Williams <dcbw@redhat.com>
14827 * gnome/applet/nm-gconf-wso*
14828 - Make the serialize functions return gboolean
14831 * gnome/applet/nm-gconf-wso.c
14832 - (nm_gconf_wso_dispose, nm_gconf_wso_finalize): fix up
14833 parent class handling so we don't segfault
14835 * src/NetworkManagerAP.[ch]
14836 - (nm_ap_get_capabilities): new function, return capabilities
14837 now that something can use them
14838 - (nm_ap_set_encrypted): assume that an access point supports
14839 both WEP104 and WEP40 if its set encrypted. FIXME: can
14840 we even tell whether it just supports WEP40?
14842 * src/NetworkManagerDevice.c
14843 - (ap_need_key): resurrect and update for the New World Order
14844 - (nm_device_wireless_get_activation_ap): if we're not given
14845 security info to use, create some based on access point
14848 * src/nm-ap-security-wep.c
14849 - (nm_ap_security_wep_new_from_ap): create a new object
14850 based on a certain access point's capabilities
14852 * src/nm-ap-security.c
14853 - (nm_ap_security_new_from_ap): delegate creation of a new
14854 object based on access point capabilities to a subclass
14855 - (nm_ap_security_copy_properties): don't segfault if we
14856 don't have a key yet
14859 - (nm_dbus_nm_set_active_device): provide more informative
14860 output when errors occur. Also construct security info
14861 for a given access point if we weren't given any
14863 2005-12-21 Žygimantas Beručka <zygis@gnome.org>
14865 * configure.in: Added Lithuanian to ALL_LINGUAS.
14867 2005-12-21 Dan Williams <dcbw@redhat.com>
14870 - Add some testcases for WEP ciphers
14872 2005-12-17 Dan Williams <dcbw@redhat.com>
14876 2005-12-17 Dan Williams <dcbw@redhat.com>
14878 * include/NetworkManager.h
14879 - Finally kill NMEncKeyType
14881 * gnome/applet/applet-dbus-info.c
14882 - (nmi_save_network_info): convert to NMGConfWSO
14884 * gnome/applet/nm-gconf-wso-*.c
14885 - Implement gconf serialization functions
14887 * src/NetworkManagerPolicy.c
14888 - (nm_policy_activation_finish): fix up meaning of
14889 automatic/user_requested
14891 2005-12-17 Dan Williams <dcbw@redhat.com>
14894 - More applet cleanups
14895 - Use the dbus-method-dispatcher
14897 * libnm-util/dbus-method-dispatcher.[ch]
14898 - Generalize the implementation from NM in
14899 NetworkManagerUtils.c
14901 2005-12-16 Dan Williams <dcbw@redhat.com>
14904 - Fix up the passphrase dialog to use all the
14905 WirelessSecurityOption stuff (untested)
14907 2005-12-16 Dan Williams <dcbw@redhat.com>
14909 * Move nm_gconf_get_*_helper() functions to separate files,
14910 gconf-helpers.c & gconf-helpers.h
14912 * New NMGConfWSO objects for managing the gconf side of things.
14913 Eventually these should be merged with the
14914 WirelessSecurityOption objects and a common base (that can
14915 serialize/deserialize from dbus & gconf) should be
14916 refactored out, but for now they are separate.
14918 2005-12-16 Robert Love <rml@novell.com>
14920 * src/backends/NetworkManagerSuSE.c: Do not invoke ypbind or autofs
14921 binaries unless they exist (nm_spawn_process() emits a warning if
14922 asked to spawn a non-existant process).
14924 2005-12-16 Dan Williams <dcbw@redhat.com>
14926 * gnome/applet/applet-dbus-info.c
14927 - Clean up lots of gconf-related code
14929 2005-12-16 Robert Love <rml@novell.com>
14931 * Makefile.am: Build fix: Reorder 'SUBDIRS' so our deps are right.
14933 2005-12-16 Dan Williams <dcbw@redhat.com>
14935 * nm_device_set_enc_key -> nm_device_set_wep_enc_key
14937 * Fix up NM -> NMI get-user-key dbus calls in NM (applet
14938 bits still to be done)
14940 2005-12-16 Dan Williams <dcbw@redhat.com>
14942 * Finally move info-daemon related stuff out of
14943 NetworkManagerDbus.c to nm-dbus-nmi.c
14945 2005-12-16 Dan Williams <dcbw@redhat.com>
14947 * Kill auth_method for access points, since that's now done
14948 by NMAPSecurity objects
14950 * Add a copy-constructor of sorts to NMAPSecurity
14951 (how do you do this properly in glib???)
14953 2005-12-15 Dan Williams <dcbw@redhat.com>
14955 * Exorcise encryption key hashing on APs
14956 * Use libnm-util's serialization/deserialization in both the
14958 * Random other stuff
14960 2005-12-15 Robert Love <rml@novell.com>
14962 * gnome/applet/menu-items.c: A new icon, "network-wireless-encrypted"
14963 is being added to the icon naming spec, so let's use that (Tango CVS
14964 has the icon). Because it is new, however, we fall back to the
14965 current "gnome-lockscreen" if the new icon is not around, thus
14966 behavior is the same.
14967 * gnome/applet/applet.c: Remove setup_stock(). We do not need the
14970 2005-12-15 Robert Love <rml@novell.com>
14972 * src/gnome/applet.c: Don't show the 'Help' menu item until we have,
14973 well, help to give. Couple other misc. bits.
14975 2005-12-15 Dan Williams <dcbw@redhat.com>
14977 * libnm-util/dbus-helpers.[ch]
14978 - Make this the one-stop-shop for serializing/deserializing
14979 AP & connection security settings over dbus. Both NM
14980 and applets should use this to ensure consistent dbus
14981 API going forwared.
14983 2005-12-15 Robert Love <rml@novell.com>
14985 Patch by Timo Hoenig <thoenig@suse.de>:
14986 * src/NetworkManagerDbus.c
14987 - (nm_dbus_signal_filter) return DBUS_HANDLER_RESULT_HANDLED
14988 if HAL jumps off the system bus. Otherwise libdbus
14989 (dbus_connection_dispatch) will try to run the filter
14990 function of our libhal context which is already freed.
14992 2005-12-15 Alexander Shopov <ash@contact.bg>
14994 * configure.in: Added "bg" (Bulgarian) to ALL_LINGUAS
14996 2005-12-14 Dan Williams <dcbw@redhat.com>
14998 * include/NetworkManager.h
14999 src/NetworkManagerWireless.c
15000 - Rearrange 802.11 wireless-specific capabilities again
15003 - Forgot to add wpa.c/wpa.h to the makefiles
15005 * src/NetworkManagerAP.[ch]
15006 - Implement access point capabilities and parse the
15007 WPA/RSN IEs into the capability bitfield
15008 - Switch the "encrypted" attribute to utilize the bitfield
15009 and capabilities rather than being independent
15011 * src/NetworkManagerDevice.c
15012 - (nm_device_wireless_get_activation_ap): break it horribly
15013 until we can push NMAPSecurity objects into access point
15014 objects and through the activation chain
15015 - Stuff WPA & RSN IEs into AP capabilities
15018 - Take a shot at actually making setActiveDevice work
15021 - Make the API a bit saner
15023 2005-12-14 Dan Williams <dcbw@redhat.com>
15025 * include/NetworkManager.h
15026 - Add 802.11-specific capability for 802.1x key
15030 - Pull in WPA IE and RSN IE parsing code from
15031 wpa_supplicant so we can determine access point
15033 - Move WPA-related constants here from NetworkManagerAP.h
15034 and NetworkManagerDevice.c
15036 * src/NetworkManagerDevice.c
15037 src/NetworkManagerAP.[ch]
15038 - Use WPA-related constants from wpa.h
15040 2005-12-14 Dan Williams <dcbw@redhat.com>
15042 * include/NetworkManager.h
15043 - Update and split 802.11 wireless-specific capabilities from
15044 generic device capabilities
15046 * src/NetworkManagerDevice.c
15047 src/NetworkManagerDevicePrivate.h
15048 - (nm_device_wireless_discover_capabilities): Move 802.11
15049 wireless-specific capability checks to
15050 NetworkManagerWireless.c
15051 - Rename NMDeviceWirelessOptions -> NMDevice80211WirelessOptions
15052 - Rename NMDeviceWiredOptions -> NMDevice80211EthernetOptions
15054 * src/NetworkManagerWireless.[ch]
15055 - (nm_802_11_wireless_discover_capabilities): Check extended
15056 802.11 wireless-specific capabilities of the driver
15058 2005-12-14 Robert Love <rml@novell.com>
15060 Patch from Stefan Scheler <sscheler@suse.de>:
15061 * src/NetworkManagerDevice.c: call backend code to activate and
15063 * src/NetworkManagerSystem.h: add new NIS interfaces.
15064 * src/backends/NetworkManagerDebian.c,
15065 src/backends/NetworkManagerGentoo.c,
15066 src/backends/NetworkManagerRedHat.c,
15067 src/backends/NetworkManagerSlackware.c: add stub functions for NIS
15069 * src/backends/NetworkManagerSuSE.c: add NIS support, baby.
15071 2005-12-14 Dan Williams <dcbw@redhat.com>
15073 * src/nm-ap-security*.[ch]
15074 - Add AP security abstractions to NetworkManager
15076 * src/nm-dbus-device.c
15077 - Begin to parse new format dbus messages from the applet
15078 and construct an AP security object from the message
15080 * libnm-util/dbus-helpers.c
15081 - Use message iters so we can append the key as a fixed
15082 array of bytes, which actually works rather than
15083 using dbus_message_append_args() as we were before
15085 2005-12-14 Dan Williams <dcbw@redhat.com>
15087 * src/NetworkManagerDbus.c
15088 gnome/applet/applet-dbus.c
15089 - Fix up dbus service replacement options. The applet
15090 should allow replacement, NM itself should not.
15092 2005-12-13 Robert Love <rml@novell.com>
15094 * src/named-manager/nm-named-manager.c: Revert earlier commit.
15095 Instead, fail silently if config is NULL by not asserting and not
15096 returning FALSE. Also, make sure we always fclose() the file.
15098 2005-12-13 Robert Love <rml@novell.com>
15100 Patch by Stefan Scheler <sscheler@suse.de>:
15101 * src/nm-ip4-config.h, src/nm-ip4-config.c,
15102 src/dhcp-manager/nm-dhcp-manager.c: Add support for setting up NIS
15103 via DHCP. Still need the backends to commit the NIS domain name and
15104 and servers to yp.conf as needed.
15106 2005-12-13 Robert Love <rml@novell.com>
15108 * src/vpn-manager/nm-dbus-vpn.c: Do not call the lengthy-named function
15109 nm_vpn_manager_remove_connection() unless vpn is non-NULL.
15111 2005-12-13 Robert Love <rml@novell.com>
15113 * src/named-manager/nm-named-manager.c: Don't unref the config until
15114 after we call rewrite_resolv_conf(), because get_last_default_domain()
15115 needs to access the config. Fixes "rewrite_resolv_conf: assertion
15116 `config != NULL' failed" assertion failures and "Could not commit DNS
15119 2005-12-12 Dan Williams <dcbw@redhat.com>
15121 * libnm-util/dbus-helpers.[ch]
15122 libnm-util/Makefile.am
15123 - new helper calls to consolidate locations where
15124 NM's setDevice method is called
15126 * gnome/applet/applet-dbus-devices.c
15127 gnome/applet/wireless-security-option.c
15129 - Implement dbus message param append function for
15130 all wireless security options
15132 2005-12-12 Robert Love <rml@novell.com>
15134 * libnm-util/cipher-wep-passphrase.c,
15135 libnm-util/cipher-wpa-psk-passphrase.c, src/NetworkManagerAP.c,
15136 src/NetworkManagerAP.h, src/NetworkManagerDevice.c,
15137 src/NetworkManagerWireless.c, src/NetworkManagerWireless.h: Treat
15138 all WEP/WPA keys as "char *" and not explicitly signed or unsigned.
15139 When handling keys, we don't care what the sign is. The compiler
15140 guarantees us that we get our 8-bits, which is all we care about.
15141 * configure.in: Remove "-Wno-pointer-sign" flag. We are sign-aware!
15143 2005-12-12 Dan Williams <dcbw@redhat.com>
15145 * gnome/applet/applet-dbus-devices.[ch]
15146 gnome/applet/applet.c
15147 gnome/applet/other-network-dialog.c
15148 gnome/applet/wireless-security-manager.[ch]
15149 gnome/applet/wireless-security-option.[ch]
15151 - Push the wireless security options further into the applet
15153 2005-12-12 Robert Love <rml@novell.com>
15155 * src/dhcp-manager/nm-dhcp-manager.c: Do not fail if DHCP does not
15156 return any name servers. That is perfectly valid. (Novell #134369).
15158 2005-12-11 Dan Williams <dcbw@redhat.com>
15160 * gnome/applet/wso-*
15161 gnome/applet/wireless-security-option.*
15162 gnome/applet/Makefile.am
15163 - split each security option out so we can eventually
15164 have each one build up their own dbus message
15165 arguments to send to NM
15167 2005-12-11 Dan Williams <dcbw@redhat.com>
15169 * Make validation of the key work correctly
15171 2005-12-11 Dan Williams <dcbw@redhat.com>
15173 * Hook more bits of the Other Network Dialog up to the
15174 wireless security manager stuff, and restructure
15175 bits of the dialog so there's less code.
15177 2005-12-10 Dan Williams <dcbw@redhat.com>
15179 * gnome/applet/Makefile.am
15180 - Add libnm-util to includes
15181 - Add libnm-util to link list
15182 - Add wireless-security-common.* to compile list
15184 * gnome/applet/other-network-dialog.c
15185 - Convert to using the WirelessSecurityManager code and
15188 * gnome/applet/passphrase-dialog.c
15189 - Comment out references to stuff in the glade file that
15190 cause runtime errors until it can be fixed up
15191 to use the WirelessSecurityManager code
15193 * gnome/applet/wireless-applet.glade
15194 - Rename some widgets
15195 - Add widgets for the WirelessSecurityManager code
15196 - Remove passphrase-related stuff since that's now
15197 handled by the WirelessSecurityManager code
15199 2005-12-10 Dan Williams <dcbw@redhat.com>
15201 * gnome/applet/applet-dbus-devices.c
15202 - Print out error message details for dbus pending call callbacks
15203 - Move nmwa_dbus_update_devices() up
15205 * gnome/applet/applet-dbus-vpn.c
15206 - Print out error message details for dbus pending call callbacks
15208 2005-12-10 Dan Williams <dcbw@redhat.com>
15212 - Remove cipher-manager.* because we don't need it
15213 - Forgot to add gnome-keyring-md5 files to compile list
15215 2005-12-09 Dan Williams <dcbw@redhat.com>
15220 - Add a utility library for clients of NetworkManager. It's
15221 only targetted at applets for the moment, and contains
15222 a generalized 802.11 cipher framework for different
15223 types of keys (WEP & WPA Hex, ASCII, Passphrase)
15225 2005-12-09 Robert Love <rml@novell.com>
15227 * src/NetworkManagerDevice.c: handle error better in
15228 nm_device_set_mode().
15230 2005-12-08 Robert Love <rml@novell.com>
15232 * include/NetworkManager.h: add WPA capabilities constants
15233 * src/NetworkManagerDevice.c: detect if wireless devices support WPA
15234 or WPA2 and add the capabilities bits as appropriate.
15236 2005-12-08 Robert Love <rml@novell.com>
15238 * initscript/SUSE/networkmanager-dispatcher.in: new initscript for
15239 NetworkManagerDispatcher.
15240 * configure.in, initscript/SUSE/.cvsignore,
15241 initscript/SUSE/Makefile.am: support new networkmanager-dispatcher
15244 2005-12-08 Robert Love <rml@novell.com>
15246 * initscript/SUSE/networkmanager.in: Do not start 'networking' service.
15248 2005-12-08 Robert Love <rml@novell.com>
15250 * src/NetworkManagerDevice.c: We want to fall back on and default to
15251 IW_MODE_AUTO, not -1, which is more in line with our previous
15252 behavior. Otherwise, we try to set the wireless mode to -1 in
15253 nm_device_set_mode().
15255 2005-12-07 Robert Love <rml@novell.com>
15257 * gnome/applet/applet-dbus-info.c, include/NetworkManager.h,
15258 src/NetworkManagerAP.c, src/NetworkManagerAP.h,
15259 src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
15260 src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
15261 src/nm-dbus-nm.c: Convert NM_DEVICE_AUTH_METHOD_* to use the
15262 wireless-tools constants directly. UNKNOWN is now -1 and NONE is
15265 2005-12-07 Robert Love <rml@novell.com>
15267 * src/backends/NetworkManagerSuSE.c: In static configurations, if the
15268 supplied IP is invalid, fall back to DHCP.
15270 2005-12-07 Dan Williams <dcbw@redhat.com>
15272 * Convert NETWORK_MODE_* constants to IW_MODE_*
15273 * Make all the get_mode/set_mode functions take and return 'int'
15274 * Convert D-BUS calls that pass mode to DBUS_TYPE_INT32 rather than UINT32
15276 2005-12-07 Robert Love <rml@novell.com>
15278 * src/NetworkManagerDevice.c: strncpy() buffer check.
15279 * src/NetworkManagerUtils.c: be anal about syslog() formatting.
15281 2005-12-06 Dan Williams <dcbw@redhat.com>
15283 * gnome/applet/applet-dbus.c
15284 - (set_vpn_last_attempt_status): remove, now in applet-dbus-vpn.c
15286 * gnome/applet/applet-dbus-vpn.c
15287 - (nmwa_dbus_vpn_set_last_attempt_status): new, from applet-dbus.c
15288 - (nmwa_dbus_vpn_update_vpn_connection_stage): set last_attempt_success
15289 to TRUE here if stage was ACTIVATED
15291 2005-12-06 Dan Williams <dcbw@redhat.com>
15293 * Change nm_device_is_* functions to better names:
15294 nm_device_is_wireless() -> nm_device_is_802_11_wireless()
15295 nm_device_is_wired() -> nm_device_is_802_3_ethernet()
15297 2005-12-06 Dan Williams <dcbw@redhat.com>
15299 * Change naming of NMDeviceType to something more sensible:
15300 NM_DEVICE_TYPE_DONT_KNOW -> NM_DEVICE_TYPE_UNKNOWN
15301 NM_DEVICE_TYPE_WIRED_ETHERNET -> NM_DEVICE_TYPE_802_3_ETHERNET
15302 NM_DEVICE_TYPE_WIRELESS_ETHERNET -> NM_DEVICE_TYPE_802_11_WIRELESS
15304 2005-12-06 Dan Williams <dcbw@redhat.com>
15306 * Move NetworkManager.h -> include/NetworkManager.h
15307 * Split out VPN stuff into include/NetworkManagerVPN.h
15308 * Fix up makefiles to include new location
15309 * Fix up sources to include NetworkManagerVPN.h
15311 2005-12-06 Dan Williams <dcbw@redhat.com>
15313 Various changes in the applet to move VPN connection "state" -> "stage",
15314 which it actually is. I'd like to change the signal as well when we
15315 break compat in the near future.
15317 2005-12-06 Dan Williams <dcbw@redhat.com>
15319 Slackware patches from Paul Blazejowski <paulb@blazebox.homeip.net>
15320 * initscript/Slackware/rc.networkmanager
15323 * src/backends/NetworkManagerSlackware.c
15324 - Kill dhcpcd when starting so that dhclient can bind to DHCP on
15327 2005-12-05 Robert Love <rml@novell.com>
15329 * src/NetworkManager.c: don't call nm_data_free() when there is nothing
15330 to free, particularly here as it just barfs.
15332 2005-12-05 Dan Williams <dcbw@redhat.com>
15334 * gnome/applet/applet-dbus.c
15335 - Work with dbus 0.6 too
15337 2005-12-03 Dan Williams <dcbw@redhat.com>
15339 * src/NetworkManagerUtils.[ch]
15340 src/nm-ip4-config.c
15341 - move ip4_netmask_to_prefix() to NetworkManagerUtils.c
15342 - consolidate code into nm_utils_ip4_addr_to_nl_addr()
15344 2005-12-01 Robert Love <rml@novell.com>
15346 * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c: We
15347 need a NULL for the '...' parameter, too, to fill the so-called
15350 2005-12-01 Robert Love <rml@novell.com>
15352 * src/NetworkManagerSystem.c: If iface_to_rtnl_link() returns NULL, the
15353 interface is already gone, so don't call rtnl_link_change() to down
15354 it (which will segfault, anyhow).
15356 2005-11-22 Robert Love <rml@novell.com>
15358 * src/backends/NetworkManagerSuSE.c: Don't fall back to DHCP if the
15359 gateway is not set, just print a little note. Configurations without
15360 gateways are valid.
15362 2005-11-22 Robert Love <rml@novell.com>
15366 2005-11-20 Ilkka Tuohela <hile@iki.fi>
15368 * configure.in: Added Finnish translation to ALL_LINGUAS
15370 2005-11-14 Robert Love <rml@novell.com>
15372 * vpn-daemons/openvpn: initial checkin of OpenVPN VPN Module, by Tim
15373 Niemueller <tim@niemueller.de>.
15375 2005-11-08 Dan Williams <dcbw@redhat.com>
15377 Patch from Bill Moss <bmoss@clemson.edu>
15378 * src/NetworkManagerDevice.c
15379 - (nm_device_activate_stage5_ip_config_commit): fix ordering
15380 of nm_policy_schedule_activation_finish() to prevent a
15381 race condition that causes the link to be dropped
15383 2005-11-08 Dan Williams <dcbw@redhat.com>
15385 Patch from Bill Moss <bmoss@clemson.edu>
15386 * src/NetworkManagerAPList.c
15387 src/NetworkManagerDevice.c
15388 src/NetworkManagerDbus.c
15389 - Replace occurances of ether_ntoa_r() with iw_ether_ntop() so
15390 we get more readable ether/mac addresses
15392 2005-11-02 Christopher Aillon <caillon@redhat.com>
15394 * gnome/applet/main.c: Don't set the restart command. This fixes
15395 the issue where the restart command was getting copies of all its
15396 arguments for each time the applet was restarted.
15398 2005-11-02 Robert Love <rml@novell.com>
15400 * gnome/applet/applet.c: Only send the DBUS setWirelessEnabled method
15401 if the widget state differs from our saved state. This ensures we
15402 do not enter an endless loop of death and destruction. Also, this
15403 guarantees us that we enforce the widget state.
15405 2005-11-02 Robert Love <rml@novell.com>
15407 * gnome/applet/applet.c: add nmwa_enable_wireless_set_active().
15408 * gnome/applet/applet-dbus-devices.c: invoke the new function
15409 nmwa_enable_wireless_set_active() to ensure that the state of the
15410 'Enable Wireless' checkbox matches the daemon's state. This is a
15411 concern because the daemon remembers the state.
15413 2005-11-02 Robert Love <rml@novell.com>
15415 * gnome/applet/applet.c: Make menu item "Enable Wireless" not "Wireless
15416 Enabled", as checkboxes should be actions/commands not positive
15417 statements, otherwise they are confusing in the unselected case. See
15418 examples in GNOME HIG, Chapter 6.
15420 2005-11-02 Robert Love <rml@novell.com>
15422 * gnome/applet/applet.c: When wireless is disabled, act it. Do not
15423 show a list of wireless networks or the wireless devices or the
15424 "Create Wireless ..." menus. Aside from this cosmetics, this fixes
15425 a bad bug: If wireless is disabled and the user picks a wireless
15426 network, NM will switch to the network, only to immediately switch
15427 back, as wireless is disabled. This also reassures people that NM
15428 is not scanning (it is not -- I verified). Fixes Novell bug #130041.
15430 2005-11-02 Christopher Aillon <caillon@redhat.com>
15432 * gnome/applet/applet.c:
15433 * gnome/applet/applet.h:
15434 Partial backout of Dan's timeout animation patch.
15435 Timeout IDs cannot legally be 0, so revert the code in place to handle
15436 a timeout ID of 0 to denote the timeout isn't running.
15438 2005-11-02 Christopher Aillon <caillon@redhat.com>
15440 * src/NetworkManagerPolicy.c:
15441 (nm_policy_device_change_check) Clarify wireless switch nm_info text
15443 2005-10-28 Robert Love <rml@novell.com>
15445 * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade: Change label to
15446 "Import Saved Configuration..." to make it clear that importing is
15447 not the next step, but an option. As an aside, a nice TODO would be
15448 to move Importing out of the vpn-specific dialog and into the main
15449 property editor, as Importing goes with Adding, but that will require
15450 some rearchitecting of the VPN stuff I suspect.
15452 2005-10-27 Dan Williams <dcbw@redhat.com>
15454 Start using libnl. You need 1.0-pre3 or higher. Eventually
15455 we should replace most of the distro-specific backend code
15458 Get it here: http://people.suug.ch/~tgr/libnl/
15462 - Add checks for libnl pkgconfig file
15463 - Use LIBNL_LIBS & LIBNL_CFLAGS
15465 * src/NetworkManagerSystem.c
15466 src/nm-ip4-config.[ch]
15467 - Use libnl rather than ioctl() for most things
15468 - Remove unused functions
15470 2005-10-27 Robert Love <rml@novell.com>
15472 * src/backends/NetworkManagerSuSE.c: fix warning message text
15474 2005-10-27 Christopher Aillon <caillon@redhat.com>
15476 * gnome/applet/applet.c: Use the copyright symbol instead of (C)
15478 2005-10-27 Christopher Aillon <caillon@redhat.com>
15480 * gnome/applet/applet.c: The applet's about dialog can advertise our
15481 project page <http://www.gnome.org/projects/NetworkManager/>
15483 2005-10-26 Christopher Aillon <caillon@redhat.com>
15485 * gnome/applet.c: Also use translator credits if we don't have
15486 the new GtkAboutDialog (older versions of GTK+)
15488 2005-10-26 Robert Love <rml@novell.com>
15490 * dispatcher-daemon/NetworkManagerDispatcher.c: print actual error string on daemon()
15491 failure; correct usage text for "--no-daemon"
15493 2005-10-25 Dan Williams <dcbw@redhat.com>
15495 * src/NetworkManagerDevice.c
15496 - (get_scan_results): cleanups, deal cleanly with ENODATA signifying
15498 - (free_process_scan_cb_data): unref the device when freeing results
15499 - (nm_device_wireless_process_scan_results): free scan results a bit later
15500 so we don't unref the device underneath ourselves
15502 2005-10-25 Dan Williams <dcbw@redhat.com>
15504 * Back out 2005-10-24 commit from Tor Krill. Patch
15505 causes nameservers never to be removed from named.
15507 2005-10-24 Dan Williams <dcbw@redhat.com>
15509 Clean up wireless scanning and wireless link probing.
15511 * src/NetworkManagerDevice.c
15512 - (nm_device_probe_wireless_link_state): instead of calling nm_get_best_ap(),
15513 just see if there's an activation request on the device, and check the
15514 current link against the activation request access point's ESSID.
15515 - (link_to_specific_ap): increase the # of failed links we tolerate from 3 to 6
15516 - (nm_device_wireless_process_scan_results): actually free our scan data, and
15517 don't call process_scan_results() on zero-length data
15518 - (nm_device_set_wireless_scan_interval): increase the init scan interval to
15519 15 seconds (from 10)
15521 2005-10-24 Dan Williams <dcbw@redhat.com>
15523 Cleanup some applet stuff:
15525 - Animation timeouts. If NM died while the applet was animating,
15526 the applet would not hide itself. This is now fixed.
15528 - Remove some dead code
15530 - Remove nmi_passphrase_dialog_schedule_cancel() and convert uses
15531 to nmi_passphrase_dialog_cancel() since we no longer use threads.
15533 - Track animation timeout using a gboolean rather than the timeout's
15534 ID, since timeout IDs can legally be 0.
15536 2005-10-24 Dan Williams <dcbw@redhat.com>
15538 * src/backends/interface_parser.c
15539 - Add void to function declarations that need it
15540 to match patch from Engin AYDOGAN
15542 * src/backends/interface_parser.h
15543 - Remove unused prototype for ifparser_interfaces()
15545 Patch from Engin AYDOGAN <engin@bzzzt.biz>
15546 * src/backends/interface_parser.h:
15547 - Compile fixes for gcc 4.0.2 (add void)
15549 2005-10-24 Dan Williams <dcbw@redhat.com>
15551 Patch from Tor Krill <tor@krill.nu>
15552 * src/named-manager/nm-named-manager.c
15553 - Write more than just the first nameserver to /etc/resolv.conf
15554 - Write out valid /etc/resolv.conf on exit
15556 2005-10-21 Christopher Aillon <caillon@redhat.com>
15558 * gnome/applet/applet-dbus-vpn.c:
15559 Get rid of spurious newlines in debug console output
15561 2005-10-21 Christopher Aillon <caillon@redhat.com>
15563 * src/backends/NetworkManagerGentoo.c:
15564 Fix path to killall. Patch from Dave Shanker <dshanker@gmail.com>
15566 2005-10-20 Robert Love <rml@novell.com>
15568 * src/NetworkManagerDevice.c: Use fabs() and DBL_EPSILON to avoid a
15569 direct comparison of floating point values, which is never correct.
15570 Also some misc. cleanup.
15572 2005-10-19 Robert Love <rml@novell.com>
15574 * vpn-daemons/vpnc/nm-vpnc.desktop.in: add fields
15576 2005-10-19 Robert Love <rml@novell.com>
15578 * gnome/vpn-properties/nm-vpn-properties.c: Correctly set the
15579 sensitivity of the buttons. Specificaly, do the right thing if
15580 there are no entries.
15582 2005-10-19 Christopher Aillon <caillon@redhat.com>
15584 * configure.in: Update check for adequate wireless-tools
15585 with an AC_TRY_COMPILE for the new symbols we use.
15587 2005-10-19 Dan Williams <dcbw@redhat.com>
15589 * src/NetworkManagerDevice.c
15590 - (process_scan_results): don't drop the last (or only)
15591 access point we see
15593 2005-10-19 Christopher Aillon <caillon@redhat.com>
15595 * src/backends/NetworkManagerSlackware.c:
15596 Patch from Nico <lordllucifer@gmail.com>
15597 - Update the Slackware backend.
15599 2005-10-18 Christopher Aillon <caillon@redhat.com>
15601 * gnome/applet/other-network-dialog.c: Use g_get_host_name ()
15602 if we've got GLib 2.8.0
15604 2005-10-18 Robert Love <rml@novell.com>
15606 * src/NetworkManagerDevice.c: invoke the long-in-the-tooth named
15607 function nm_schedule_state_change_signal_broadcast() when we
15608 deactivate a device, too.
15610 2005-10-18 Robert Love <rml@novell.com>
15612 * gnome/applet/applet.c: nmwa_context_menu_update(): 'iface' could
15613 be used uninitialized.
15615 2005-10-18 Christopher Aillon <caillon@redhat.com>
15617 * test/libnm_glib_test.c: Test unregistering, too.
15619 2005-10-17 Christopher Aillon <caillon@redhat.com>
15621 * configure.in: Bump to 0.5.0
15623 2005-10-17 Dan Williams <dcbw@redhat.com>
15626 - Remove WPA-related constants so they aren't part of the
15629 2005-10-17 Christopher Aillon <caillon@redhat.com>
15631 * gnome/applet/applet.c:
15632 * gnome/applet/applet.h:
15633 Desensitize the 'Connection Information' menu item when there is
15634 no active connection.
15636 2005-10-17 Christopher Aillon <caillon@redhat.com>
15638 * gnome/libnm_glib/libnm_glib.c:
15639 Make libnm_glib_unregister_callback () actually unregister the callback
15641 2005-10-17 Robert Love <rml@novell.com>
15643 * src/NetworkManagerDevice.c: Actually wait 20s, as we intend, not
15644 two seconds -- tries is updated every 1/10 of a second, not every
15647 2005-10-17 Christopher Aillon <caillon@redhat.com>
15649 * gnome/applet/applet-dbus-info.c:
15650 Let D-BUS know that we haven't handled a message when we haven't.
15652 2005-10-17 Robert Love <rml@novell.com>
15654 * src/nm-ip4-config.c: use GPOINTER_TO_UINT and not a straight cast
15655 in order to remain 64-bit clean.
15657 2005-10-17 Christopher Aillon <caillon@redhat.com>
15659 * gnome/applet/applet-dbus-info.c:
15660 Find network encryption keys asynchronously
15662 2005-10-17 Robert Love <rml@novell.com>
15664 * src/backends/NetworkManagerDebian.c,
15665 src/backends/NetworkManagerRedHat,
15666 src/backends/NetworkManagerSuSE.c: allow '#' as a valid resolv.conf
15669 2005-10-17 Robert Love <rml@novell.com>
15671 * src/backends/NetworkManagerSuSE.c: use SYSCONFDIR not open-coded
15674 2005-10-17 Christopher Aillon <caillon@redhat.com>
15676 * src/NetworkManagerDevice.c: (process_scan_results)
15677 Fix logic that checks to see whether we have an ESSID.
15679 2005-10-15 Dan Williams <dcbw@redhat.com>
15681 Move scanning code into NetworkManager rather than use iwlib's
15682 iw_scan() function, so that we can figure out AP capabilities.
15685 - Add AP capability bits
15687 * src/NetworkManagerAP.[ch]
15688 - Add capability field to NMAccessPoint structure
15689 - Add WPA & RSN Information Element fields and accessor
15690 functions to NMAccessPoint
15692 * src/NetworkManagerDevice.c
15693 - Remove usage of iw_scan
15694 - Add scanning code to NetworkManager rather than use
15695 iw_scan() from iwlib
15697 * src/NetworkManagerUtils.[ch]
15698 - (nm_dispose_scan_results): remove, unused
15700 2005-10-14 Christopher Aillon <caillon@redhat.com>
15702 * gnome/libnm_glib/libnm_glib.c:
15703 * gnome/libnm_glib/libnm_glib.h:
15704 Use guint instead of gint for callback IDs.
15706 2005-10-12 Christopher Aillon <caillon@redhat.com>
15708 * gnome/applet/applet.c:
15709 Fix icon animation smoothness issues. nmwa_redraw_timeout gets called
15710 every 1000ms. It will unconditionally call nmwa_update_state which
15711 kills the existing animation timeout and registers a new one with a
15712 callback to draw a new frame every 100ms. There are 11 connecting
15713 icon frames, so the last 2 frames kept getting dropped. Only reset
15714 the animation timeout if we aren't animating.
15716 2005-10-11 Dan Williams <dcbw@redhat.com>
15718 * gnome/applet/applet-dbus-devices.c
15719 - (nmwa_dbus_update_device_info_from_hal), (hal_net_physdev_cb):
15720 We want to grab the product & vendor from net.physical_dev
15721 rather than info.parent.
15723 2005-10-11 Dan Williams <dcbw@redhat.com>
15725 * src/NetworkManagerDevice.c
15726 - Use the driver's WE version for scanning rather than
15727 the WE version NM was compiled with. Fixes random
15728 crashes in iw_scan () in iwlib.
15730 2005-10-10 Dan Williams <dcbw@redhat.com>
15732 * Remove nm_system_load_device_modules() from backend files
15733 and from NetworkManager.c
15735 2005-10-10 Dan Williams <dcbw@redhat.com>
15737 * src/NetworkManagerPolicy.c
15738 - Fix some bugs introduced by the capabilities patch
15740 2005-10-10 Dan Williams <dcbw@redhat.com>
15742 * gnome/applet/applet-dbus-info.c
15743 - (nmi_dbus_get_network_key): hide the menu when putting up
15744 the keyring dialog. (not sure if the code is right...)
15746 2005-10-09 Dan Williams <dcbw@redhat.com>
15748 Patch from Bill Moss <bmoss@clemson.edu>
15749 * src/NetworkManagerDevice.c
15750 - (nm_device_set_user_key_for_network): don't try to set auth
15751 mode on the AP from the allowed list if it's NULL
15753 2005-10-09 Dan Williams <dcbw@redhat.com>
15755 * Replace the "driver support level" stuff with capabilities. The
15756 capability field is a bitfield that is more flexible than the
15757 old driver support level thing. It's mostly so we can easily
15758 figure out what supports WPA and what doesn't, but should be
15759 quite useful later.
15761 2005-10-09 Dan Williams <dcbw@redhat.com>
15768 - Added new "nm-tool" tool that gives quite a bit more
15771 2005-10-07 Robert Love <rml@novell.com>
15773 * gnome/applet/applet-dbus-info.c, gnome/applet/applet.c,
15774 gnome/applet/applet.h, gnome/vpn-properties/nm-vpn-properties.c,
15775 src/dhcp-manager/nm-dhcp-manager.c, test/libnm_glib_test.c,
15776 test/nmtest.c test/nmtestdevices.c: mark functions 'static' as
15779 2005-10-07 Robert Love <rml@novell.com>
15781 * configure.in: Change our compile flags for the betterment of mankind.
15782 Add "-Wstrict-prototypes" because we comply anyhow and missing a
15783 prototype is very bad on 64-bit platforms as types default to int but
15784 sizeof(int) != sizeof(long) and add "-Wmissing-prototypes" &
15785 "-Wmissing-declarations" to warn if we define an exported function
15786 but fail to put it in a header.
15788 2005-10-07 Robert Love <rml@novell.com>
15790 * src/NetworkManagerWireless.c: remove stale, unused function, who goes
15791 by the name nm_update_device_wireless_timeouts() and once tried,
15792 without success, to steal my pet turtle.
15794 2005-10-07 Robert Love <rml@novell.com>
15796 * Cleanup prototypes: put some functions in header files and mark
15797 others as 'static' -- feel free to invert
15798 * src/vpn-manager/nm-dbus-vpn.c: remove prototype of
15799 nm_vpn_manager_vpn_connection_list_copy()
15800 * src/vpn-manager/nm-vpn-act-request.c: remove prototype of
15801 nm_vpn_service_get_dbus_connection()
15802 * src/vpn-manager/nm-vpn-manager.h: add prototypes for
15803 nm_vpn_manager_vpn_connection_list_copy()
15804 * src/vpn-manager/nm-vpn-service.c: make
15805 nm_vpn_service_act_request_failed() and
15806 nm_vpn_service_stage2_daemon_wait() static
15807 * src/vpn-manager/nm-vpn-service.h: add prototype for
15808 nm_vpn_service_get_dbus_connection()
15810 2005-10-06 Christopher Aillon <caillon@redhat.com>
15812 * gnome/applet/applet.c:
15813 * gnome/applet/applet.h:
15814 * gnome/applet/icons/Makefile.am:
15815 Convey information about the current connection stage in the
15816 icons themselves instead of creating a separate progress bar.
15818 2005-10-04 Robert Love <rml@novell.com>
15820 * src/nm-dbus-device.c: Use iw_ether_ntop(), not ether_ntoa_r(), to
15821 convert an ether_addr structure's MAC into a string, because the
15822 latter will drop leading zero's and uses lower-case, e.g. 7:3b:4
15823 versus 07:3B:04, while the former will not.
15825 2005-10-04 Robert Love <rml@novell.com>
15827 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
15828 gnome/applet/nm-device.c, gnome/applet/nm-device.h,
15829 gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
15830 default route in the 'Connection Information' dialog, send primary
15831 and secondary name servers in in "getProperties" DBUS method, add
15832 network_device_{get,set}_{primary,secondary}_dns(), The primary and
15833 secondary domain name servers are crucial pieces of information
15834 that a user might need in debugging a network problem.
15836 2005-10-04 Robert Love <rml@novell.com>
15838 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
15839 gnome/applet/nm-device.c, gnome/applet/nm-device.h,
15840 gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
15841 default route in the 'Connection Information' dialog, send default
15842 route in "getProperties" DBUS method, add network_device_set_route(),
15843 and network_device_get_route(). The Gateway is a crucial piece of
15844 connection-related information that a user might need in debugging a
15847 2005-10-03 Robert Love <rml@novell.com>
15849 * src/backends/NetworkManagerSuSE.c: Fix Glib error, GError must be
15852 2005-10-02 Dan Williams <dcbw@redhat.com>
15854 * Shorten time taken to sleep by fastpathing bits of device deactivation
15855 necessary for sleep.
15857 * Fix issue where deactivating a device might deactivate the active
15858 VPN connection, even if the VPN was not using the device.
15860 2005-10-02 Dan Williams <dcbw@redhat.com>
15862 * gnome/applet/applet.c
15863 - Adjust signal strength -> icon mapping values slightly
15864 (so that 51% signal doesn't show a 75% icon) by adding
15865 5% to the values. ex: > 5% now shows 25% icon, > 30%
15866 shows 50% icon, etc.
15868 2005-09-29 Robert Love <rml@novell.com>
15870 * src/NetworkManager.c: removed unused variable.
15872 2005-09-28 Dan Williams <dcbw@redhat.com>
15874 Support for named + DBus, using Red Hat DBus patches for named. You
15875 can find those patches here, with "dbus" in the patch's filename:
15877 http://cvs.fedora.redhat.com/viewcvs/devel/bind/
15879 Don't forget the named dbus service file either.
15881 Instead of writing a config file and spawing a named process, NM will
15882 use an already-running dbus-enabled named if it finds one. NM will
15883 update named's forwarder configuration on the fly using dbus.
15885 If there is no dbus-enabled named running, NM will automatically fall
15886 back to writing the most-recent DNS server information to /etc/resolv.conf
15887 and calling nm_system_update_dns() to kick the system's resolver.
15889 Accordingly, all named-related configure-time options have been removed.
15891 2005-09-26 Robert Love <rml@novell.com>
15893 * src/backends/NetworkManagerSuSE.c, (nm_system_get_dialup_config): Add
15895 * src/backends/NetworkManagerSuSE.c, (verify_and_return_provider): Fix
15896 bug in error path if "ASKPASSWORD" is "no".
15898 2005-09-26 Robert Love <rml@novell.com>
15900 * src/named-manager/nm-named-manager.c: only '#' is officially a valid
15901 comment in /etc/resolv.conf -- ';' is not.
15903 2005-09-19 Dan Williams <dcbw@redhat.com>
15905 * src/backends/NetworkManagerRedHat.c:
15906 * src/backends/NetworkManagerDebian.c:
15907 * src/backends/NetworkManagerSlackware.c:
15908 * src/backends/NetworkManagerGentoo.c:
15909 * src/backends/NetworkManagerSUSE.c:
15910 Fix invocations of "/sbin/ip address" to use short form instead
15912 2005-09-19 Christopher Aillon <caillon@redhat.com>
15914 * src/nm-dbus-device.c: Don't assert when getting
15915 addresses of a not yet connected interface.
15917 * gnome/applet/applet.c: Free icons if loading fails.
15918 Use translator-credits so translators can make themselves known.
15920 2005-09-15 Christopher Aillon <caillon@redhat.com>
15922 * src/NetworkManagerAP.c:
15923 * src/NetworkManagerAP.h:
15924 * src/NetworkManagerDevice.c:
15925 Set a blacklist for certain common manufacturer default ESSIDs:
15926 APs with these ESSIDs are extremely likely to be completely
15927 different networks: connecting to one should not make NM
15928 auto-connect to every other AP with the same default ESSID.
15930 2005-09-12 Christopher Aillon <caillon@redhat.com>
15932 * gnome/applet/wireless-applet.glade:
15933 The passphrase entry should also activate the default
15935 * src/gnome-keyring-md5.c: Updated code from gnome-keyring
15937 * gnome/applet/applet-dbus-devices.c:
15938 * gnome/applet/applet.c:
15939 * gnome/applet/nm-device.c:
15940 * gnome/applet/nm-device.h:
15941 * src/NetworkManagerUtils.c:
15942 * src/NetworkManagerUtils.h:
15943 * src/nm-dbus-device.c:
15944 I've got a fever, and the only cure for it is less ioctl.
15945 Make NM push IP data rather than make the applet open a socket
15948 2005-09-10 Christopher Aillon <caillon@redhat.com>
15950 * gnome/applet/applet.c:
15951 * gnome/applet/applet-dbus-devices.c:
15952 * gnome/applet/applet-dbus-info.c:
15953 * gnome/applet/passphrase-dialog.c:
15954 * gnome/libnm_glib/libnm_glib.c:
15955 * gnome/vpn-properties/nm-vpn-properties.c:
15957 * src/backends/NetworkManagerRedHat.c:
15958 * src/named-manager/nm-named-manager.c:
15959 * src/NetworkManagerAPList.c:
15960 * src/NetworkManager.c:
15961 * src/NetworkManagerDbus.c:
15962 * src/NetworkManagerDevice.c:
15963 * src/NetworkManagerPolicy.c:
15964 * src/NetworkManagerSystem.c:
15965 * src/nm-dbus-device.c:
15966 * src/nm-dbus-nm.c:
15967 * src/vpn-manager/nm-vpn-manager.c:
15968 * src/vpn-manager/nm-vpn-service.c:
15969 * test/libnm_glib_test.c:
15970 * test/nminfotest.c:
15971 * test/nmtestdevices.c:
15972 Fix a bunch of 'unused variable' compiler warnings
15974 * NetworkManager.h:
15975 * gnome/applet/applet-dbus-info.c:
15976 * gnome/applet/applet-dbus-info.h:
15977 * gnome/applet/applet.c:
15978 * gnome/applet/applet.h:
15979 * src/NetworkManager.c:
15980 * src/NetworkManagerDbus.c:
15981 * src/NetworkManagerDbus.h:
15982 * src/NetworkManagerDevice.c:
15983 * src/NetworkManagerDevice.h:
15984 * src/NetworkManagerMain.h:
15985 * src/NetworkManagerWireless.c:
15986 * src/NetworkManagerWireless.h:
15987 * src/nm-dbus-nm.c:
15988 Make NetworkManager be smart about how frequently to scan
15989 based on its current state. Remove the UI for choosing when
15990 to scan. Scanning still may disabled completely by the user
15991 via the "Wireless Enabled" menu item.
15993 2005-09-09 Christopher Aillon <caillon@redhat.com>
15995 * gnome/applet/applet.c:
15996 Also overlay the vpn connecting icons onto the wired icon,
15999 * gnome/vpn-properties/nm-vpn-properties.glade:
16000 Clean up a few strings to use better grammar and proper casing.
16002 2005-09-08 Christopher Aillon <caillon@redhat.com>
16004 * gnome/applet/vpn-connection.c:
16005 * gnome/applet/vpn-connection.h:
16006 Add nmwa_vpn_connection_is_activating ()
16008 * gnome/applet/applet.c:
16009 * gnome/applet/applet.h:
16010 * gnome/applet/icons/nm-vpn-connecting*.png:
16011 Add new VPN connecting icons from Diana Fong <dfong@redhat.com>, letting
16012 the user know something's happening between clicking the VPN item and it
16013 actually being connected.
16015 2005-09-07 Christopher Aillon <caillon@redhat.com>
16017 * gnome/applet/applet-dbus-info.c: need to free attributes in the
16018 failure case as well.
16020 2005-09-07 Rodrigo Moya <rodrigo@novell.com>
16022 * gnome/panel/eggtrayicon.[ch]:
16023 * examples/python/systray/eggtrayicon.[ch]: updated code from libegg.
16025 2005-09-07 Dan Williams <dcbw@redhat.com>
16027 Patch from Bill Moss <bmoss@clemson.edu>
16028 * src/applet-dbus.c
16029 - (nmwa_dbus_filter): strip whitespace from beginning
16030 and end of VPN login banner
16032 2005-09-07 Dan Williams <dcbw@redhat.com>
16034 * The great VPN Manager rewrite of 2005
16036 2005-09-07 Christopher Aillon <caillon@redhat.com>
16038 * gnome/applet/menu-items.c:
16039 * gnome/applet/nm-device.c:
16040 * gnome/applet/wireless-network.c:
16041 * gnome/libnm_glib/libnm_glib.c:
16042 * src/NetworkManagerDbusUtils.c:
16043 * vpn-daemons/vpnc/src/nm-vpnc-service.c:
16044 g_malloc0 doesn't return NULL
16046 2005-09-06 Dan Williams <dcbw@redhat.com>
16048 Patch from Tomislav Vujec <tvujec@redhat.com>
16049 * src/NetworkManagerDevice.c
16050 - (nm_get_device_by_udi): don't return a device when we
16051 actually didn't find what we were looking for
16053 2005-09-06 Christopher Aillon <caillon@redhat.com>
16055 * gnome/applet/applet-dbus-devices.c:
16056 * gnome/applet/applet-dbus-devices.h:
16057 * gnome/applet/applet-dbus.c:
16058 * src/NetworkManagerDbus.c:
16059 * src/NetworkManagerDbus.h:
16060 * src/NetworkManagerDevice.c:
16061 * src/nm-dbus-device.c:
16062 Make NM push updates about active device strength when it changes,
16063 rather than having the applet poll every 2s.
16065 2005-09-05 Christopher Aillon <caillon@redhat.com>
16067 * gnome/applet/applet-dbus-devices.c: Remove duplicate call to
16068 network_device_set_strength
16070 2005-09-04 Dan Williams <dcbw@redhat.com>
16072 Patch from Bill Nottingham <notting@redhat.com>
16073 * src/NetworkManagerDevice.c
16074 - (nm_device_activation_cancel): reset the quit_activation flag
16076 2005-09-04 Dan Williams <dcbw@redhat.com>
16078 * src/nm-activation-request.c
16079 - (nm_act_request_unref): actually free the structure,
16080 which we didn't seem to be doing before
16082 2005-09-04 Dan Williams <dcbw@redhat.com>
16084 Patch from John Palmieri <johnp@redhat.com>
16085 * gnome/applet/applet-dbus-devices.c
16086 - Fix up unreffing of DBusMessage objects
16088 2005-09-04 Dan Williams <dcbw@redhat.com>
16090 Patch from John Palmieri <johnp@redhat.com>
16091 * gnome/applet/nm-device.c
16092 - (nm_device_unref): clear network_device's memory _before_ freeing it
16094 2005-09-02 Christopher Aillon <caillon@redhat.com>
16096 * gnome/applet/applet.c: Use a check menu item for Wireless Enabled
16098 2005-09-02 Bill Nottingham <notting@redhat.com>
16100 * src/backends/NetworkManagerRedHat.c: use nm_warning, not nm_error
16102 2005-09-01 Dan Williams <dcbw@redhat.com>
16104 * src/NetworkManager.c
16105 - (nm_remove_device_from_list): rename to nm_remove_device
16106 - (nm_hal_device_removed): call nm_remove_device()
16108 * src/NetworkManagerDevice.c
16109 - Change the NMWirelessScanCB member 'reschedule' which
16110 wasn't used to 'force' to indicate that we need to
16111 force a scan when adding a device
16114 - (nm_dbus_nm_sleep): Deactivate all devices and remove them
16115 from the device list
16116 - (nm_dbus_nm_wake): Re-add all devices to the device list
16118 2005-09-01 Robert Love <rml@novell.com>
16120 * gnome/applet/applet.c: nmwa_update_info: iface is used uninitialized
16121 and the check "!iface" in the error case is probably never true.
16123 2005-09-01 Dan Williams <dcbw@redhat.com>
16125 Patch from Bill Nottingham <notting@redhat.com>
16126 * src/backends/NetworkManagerRedHat.c
16127 - Add initial dialup support to Red Hat/Fedora backend
16129 2005-09-01 Dan Williams <dcbw@redhat.com>
16131 * gnome/applet/applet-dbus-devices.c
16132 - Sort both wireless networks and devices again, which got
16133 broken when removing threading
16135 2005-09-01 Christopher Aillon <caillon@redhat.com>
16137 * gnome/applet/applet.c:
16138 Only show the "Stop/Start All Wireless Devices" menuitem
16139 if we actually have wireless devices.
16141 * gnome/applet/applet-dbus-info.c:
16142 * gnome/applet/applet.c:
16143 * gnome/applet/other-network-dialog.c:
16144 * gnome/applet/vpn-password-dialog.c:
16145 Drop the gtk_dialog_run () calls in favor of connecting to
16146 "response" signals, needed now that the applet is not threaded.
16148 2005-08-31 Dan Williams <dcbw@redhat.com>
16150 Patch from Bill Moss <bmoss@clemson.edu>
16151 * src/NetworkManagerDevice.c
16152 - (nm_device_wireless_scan): fix scan timeout values
16154 2005-08-30 Dan Williams <dcbw@redhat.com>
16156 * gnome/applet/wireless-applet.glade
16157 - HIG-ify the Other Wireless Networks dialog a bit more
16158 - Fix some potential segfaults in the info dialog
16160 2005-08-30 Dan Williams <dcbw@redhat.com>
16162 * gnome/applet/applet-dbus-devices.c
16163 - Remove nmwa_dbus_get_hal_device_string_property(); unused
16165 2005-08-30 Dan Williams <dcbw@redhat.com>
16167 * gnome/applet/applet-dbus.[ch]
16168 - Remove all the nmwa_dbus_call_method_xxxx functions since
16169 they weren't being used anyway
16171 2005-08-30 Bastien Nocera <hadess@hadess.net>
16173 * test/nmtestdevices.c: (print_usage), (main):
16174 Check the number of arguments, and fix a typo
16176 2005-08-29 Dan Williams <dcbw@redhat.com>
16178 Patch from Dumitru Ciobarcianu <Dumitru.Ciobarcianu@iNES.RO>
16179 * gnome/applet/applet.c
16180 - Define GTK_STOCK_INFO for GTK 2.6 and lower
16182 2005-08-29 Dan Williams <dcbw@redhat.com>
16185 - Don't use threads any more. Anything that blocks
16186 (like gtk_dialog_run()) will have to get fixed up which
16187 should happen quickly. We really only had threads to make
16188 the animation smooth, and when everything got converted over
16189 to DBus Pending Calls, the need for threads kind of went away
16191 2005-08-29 Christopher Aillon <caillon@redhat.com>
16193 * gnome/applet/applet.c: Draw VPN connections as radio items
16194 since we don't yet support multiple VPNs.
16195 * gnome/applet/other-network-dialog.c: Use stock icon for Connect
16196 * gnome/vpn-properties/nm-vpn-properties.c: Use stock icon for Delete
16198 2005-08-29 Dan Williams <dcbw@redhat.com>
16200 Patch from j@bootlab.org
16201 - Make --without-named work
16202 - Make --with-dhcdbd work correctly
16204 2005-08-27 Josep Puigdemont i Casamajó <josep.puigdemont@gmail.com>
16206 * configure.in: Added "ca" to ALL_LINGUAS.
16208 2005-08-26 Christopher Aillon <caillon@redhat.com>
16210 * Fix up VPN state handling between the applet and NetworkManager,
16211 so that the applet doesn't show a VPN as connected when one
16213 - The applet no longer has a pointer to the active VPN's
16214 name, but tracks each VPNs state individually
16215 - NM no longer has a "getActiveVPNConnection" method
16216 - NM no longer broadcasts the "VPNConnectionChange" signal
16217 - NM now broadcasts a "VPNConnectionStateChange" signal
16218 whenever the state of a VPN changes
16220 2005-08-26 Dan Williams <dcbw@redhat.com>
16222 * gnome/applet/applet-dbus-devices.c
16223 gnome/applet/applet-dbus-vpn.c
16224 - Remove calls to dbus_pending_call_ref() because we already
16225 "own" the pending call
16226 - Remove calls to dbus_pending_call_get_completed() because
16227 when we are in the callback, the pending call is completed
16230 2005-08-22 Dan Williams <dcbw@redhat.com>
16232 Patch by Bill Moss <bmoss@clemson.edu>
16233 * src/dhcp-manager/nm-dhcp-manager.c
16234 - (nm_dhcp_manager_cancel_transaction): Give dhcdbd/dhclient
16235 some time to send out a RELEASE if they like
16237 2005-08-22 Dan Williams <dcbw@redhat.com>
16239 Noticed by Bill Moss <bmoss@clemson.edu>
16240 * src/NetworkManagerDbus.c
16241 - (nm_dbus_get_user_key_for_network_cb): deactivate the device
16242 instead of just cancelling its activation
16244 * src/NetworkManagerDevice.c
16245 - (nm_device_deactivate): some small cleanups
16246 - (nm_device_set_user_key_for_network): deactivate the device
16247 instead of just cancelling its activation
16249 2005-08-22 Dan Williams <dcbw@redhat.com>
16251 Noticed by Bill Moss <bmoss@clemson.edu>
16252 * src/NetworkManagerDevice.c
16253 - (nm_device_wireless_scan): fix scan timeout, we were
16254 waiting way too long for scans to complete
16256 2005-08-22 Dan Williams <dcbw@redhat.com>
16258 Patch from j@bootlab.org:
16259 * src/backends/NetworkManagerDebian.c
16260 - Make the Debian backend work for static IP again
16262 2005-08-20 Christopher Aillon <caillon@redhat.com>
16264 * gnome/applet/other-network-dialog.c:
16265 The "Create New Network" and "Connect to Other Network"
16266 dialogs share alot of code, but shouldn't share a window
16267 title. Give them different ones.
16269 * gnome/applet/wireless-applet.glade:
16270 * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
16271 Some more minor UI tweaks.
16273 2005-08-19 Christopher Aillon <caillon@redhat.com>
16275 * gnome/applet/other-network-dialog.c:
16276 * gnome/applet/wireless-applet.glade:
16277 Also need mnemonic widgets, and underline enabled.
16279 2005-08-19 Dan Williams <dcbw@redhat.com>
16281 * vpn-daemons/vpnc/nm-vpnc-service.c
16282 - (vpnc_watch_cb): remove no-longer-relevant comment
16283 - (write_config_option): new function, helper to write
16284 config options to vpnc's stdin
16285 - (nm_vpnc_config_write): use the new helper, make the
16288 2005-08-19 Christopher Aillon <caillon@redhat.com>
16290 * gnome/applet/passphrase-dialog.c:
16291 * gnome/applet/wireless-applet.glade:
16292 Make the passphrase dialog response based, and treat
16293 responses other than OK (such as Esc, [X]) as a cancel.
16295 2005-08-18 Christopher Aillon <caillon@redhat.com>
16297 * initscript/Gentoo/NetworkManager:
16298 * initscript/RedHat/NetworkManager:
16299 * initscript/RedHat/NetworkManagerDispatcher:
16300 * initscript/SUSE/networkmanager:
16301 CVS remove these in place of .in replacements
16304 * initscript/Gentoo/NetworkManager.in:
16305 * initscript/RedHat/NetworkManager.in:
16306 * initscript/RedHat/NetworkManagerDispatcher.in:
16307 * initscript/SUSE/networkmanager.in:
16308 These scripts now are generated so they work still when
16309 NM is built using a bindir other than /usr/bin
16311 2005-08-18 Dan Williams <dcbw@redhat.com>
16313 * gnome/applet/main.c
16314 - Revert previous change for --no-session since
16315 --sm-disable does the same thing
16317 2005-08-18 Dan Williams <dcbw@redhat.com>
16319 * gnome/applet/applet-dbus-info.c
16320 - (nmi_dbus_create_error_message): new function
16321 - (nmi_dbus_get_key_for_network): correctly use dbus error creation
16322 functions. Also don't check for both device _and_ network before
16323 asking for a user's key, because we may not have gotten all our
16324 networks back from NM quite yet (due to the dbus pending calls
16325 coming in later). Fixes a hang in NM/nm-applet.
16327 * src/NetworkManagerDbus.c
16328 - (nm_dbus_get_user_key_for_network_cb): handle error conditions in a
16329 slightly more sane manner, even though we are still broken for
16330 certain other error conditions.
16331 - (nm_dbus_get_user_key_for_network): need to pass the network's essid
16332 to the info-daemon too
16334 * src/NetworkManagerDevice.c
16335 - Fix some debug messages to be info messages instead
16337 2005-08-18 Dan Williams <dcbw@redhat.com>
16339 * gnome/applet/main.c
16340 - Add new "--no-session" parameter that disables applet
16341 session management, ie for testing
16343 2005-08-18 Christopher Aillon <caillon@redhat.com>
16345 * gnome/applet/other-network-dialog.c:
16346 * gnome/applet/wireless-applet.glade: More mnemonics
16348 2005-08-17 Robert Love <rml@novell.com>
16350 * initscript/SUSE/networkmanager: update
16352 2005-08-17 Dan Williams <dcbw@redhat.com>
16354 * Tag NM_0_4_1_RELEASE
16356 2005-08-17 Christopher Aillon <caillon@redhat.com>
16358 * gnome/applet/applet.c: More translatable string cleanup
16361 2005-08-17 Dan Williams <dcbw@redhat.com>
16363 * gnome/applet/applet-dbus-info.c
16364 - (nmi_dbus_get_key_for_network): Grab new "new_key" parameter
16365 from the dbus message, which tells us to unconditionally
16366 ask the user for a new key. Otherwise, we pull the key from
16367 the keyring and return it. If we fail to get the key from the
16368 keyring, we ask the user for a new key.
16369 - (nmi_dbus_get_network_key): new function to grab the key for
16370 an essid from the keyring.
16371 - (nmi_dbus_get_network_properties): don't access the keyring here.
16372 Also, don't return any key in the dbus message.
16374 * src/NetworkManagerDbus.[ch]
16375 - (nm_dbus_get_user_key_for_network): Add "new_key" parameter to
16376 indicate that we unconditionally want a new key. This function
16377 is now also used to get keys from the info-daemon which are
16378 pre-stored, not just for asking the user for a new key. The
16379 "new_key" parameter indicates whether or not we wish to ask the
16380 user for a new key.
16381 - (nm_dbus_get_network_data_cb): we no longer get a key from the
16382 info-daemon in the return message, so use NULL instead. The
16383 key will be filled in at connect time by calling
16384 nm_dbus_get_user_key_for_network()
16386 * src/NetworkManagerDevice.c
16387 - (nm_device_wireless_configure): update for "new_key" param to
16388 nm_dbus_get_user_key_for_network(). We initially set new_key
16389 to FALSE to see if we have a stored key in the info-daemon, but
16390 if the connection is unsuccessful at this stage we request a
16393 2005-08-17 Dan Williams <dcbw@redhat.com>
16395 * gnome/applet/icons/nm-no-connection.png
16396 gnome/applet/icons/nm-device-wired.png
16397 - Use Diana's new RJ45 connector icons
16399 2005-08-17 Dan Williams <dcbw@redhat.com>
16401 * src/NetworkManagerPolicy.c
16402 - (nm_policy_device_change_check): clarify switching rules if
16403 both new and old devices are valid; mainly, don't switch
16404 away from user-requested wireless connection back to a wired
16407 2005-08-17 Dan Williams <dcbw@redhat.com>
16409 * gnome/applet/Makefile.am
16410 - Relocate the applet to /usr/bin since it is no longer
16411 executed by anything, but directly by the user
16413 2005-08-17 Dan Williams <dcbw@redhat.com>
16415 Patch from Bill Moss <bmoss@clemson.edu>
16417 * gnome/applet/applet-dbus-info.[ch]
16418 - (nmi_save_network_info): save timestamp for network if it
16419 was a change requested by the user
16420 - (nmi_dbus_update_network_info): get user_requested from dbus
16421 message and pass to nmi_save_network_info()
16423 * gnome/applet/applet.c
16424 - (nmwa_update_network_timestamp): remove
16425 - (nmwa_menu_item_activate): don't set timestamp on networks
16426 here, only after a successful connect in nmi_save_network_info()
16428 * src/NetworkManagerDbus.[ch]
16429 - (nm_dbus_update_network_info): pass user_requested into the
16432 * src/NetworkManagerPolicy.c
16433 - (nm_policy_activation_finish): pass user_requested to
16434 nm_dbus_update_network_info()
16436 2005-08-16 Robert Love <rml@novell.com>
16438 * gnome/applet/applet.c: Better "Dial Up" menu item.
16440 2005-08-16 Robert Love <rml@novell.com>
16442 * gnome/applet/applet.c: use GTK_STOCK_INFO not PROPERTIES for the
16443 "Connection Information" menu item.
16445 2005-08-16 Dan Williams <dcbw@redhat.com>
16447 Patch from j@bootlab.org
16448 * vpn-daemons/vpnc/Makefile.am: Fix for autoreconf
16450 * configure.in: allow specifying the path to dhcdbd
16452 2005-08-16 Robert Love <rml@novell.com>
16454 Patch from j@bootlab.org
16455 * src/backends/NetworkManagerDebian.c, src/backends/interface_parser.c,
16456 src/backends/interface_parser.h: Debian dialup support.
16458 2005-08-16 Christopher Aillon <caillon@redhat.com>
16460 * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
16461 * gnome/applet/applet.c: Add some mnemonics for VPNC
16463 * vpn-daemons/.cvsignore: fix this up a little bit
16465 2005-08-16 Robert Love <rml@novell.com>
16467 * src/backends/NetworkManagerSuSE.c: improve the SUSE-backend dial up
16470 2005-08-16 Christopher Aillon <caillon@redhat.com>
16472 * gnome/applet/applet.c: Split markup out of translatable strings
16473 and clean up logic a little bit. (fixes #309012)
16475 2005-08-15 Christopher Aillon <caillon@redhat.com>
16477 * gnome/vpn-properties/nm-vpn-properties.c:
16478 * gnome/vpn-properties/nm-vpn-ui-interface.h:
16479 * vpn-daemons/vpnc/properties/nm-vpnc.c:
16480 Makeshift fix to remove newlines from translatable strings.
16481 Note that we now return an allocated string, so callers of
16482 get_confirmation_details () must now call g_free () on the
16483 result. (fixes #309033).
16485 2005-08-12 Robert Love <rml@novell.com>
16487 * gnome/applet/applet-dbus.c: remove newlines from translatable
16488 strings--not needed here anyway. (fix b.g.o #309011)
16489 * src/nm-netlink.monitor.c: don't translate "%s" (fix b.g.o #172391)
16491 2005-08-11 Robert Love <rml@novell.com>
16493 * gnome/applet/applet.c: mark string as translatable.
16495 2005-08-11 Robert Love <rml@novell.com>
16497 * initscript/SUSE/networkmanager: update.
16499 2005-08-11 Dan Williams <dcbw@redhat.com>
16501 * src/nm-dhcp-manager.c
16502 - (nm_dhcp_manager_get_ip4_config): if for some reason we don't get
16503 an gateway returned from DHCP, try to use the address of the DHCP
16504 server as the gateway instead. Found by Ralf Ertzinger.
16506 2005-08-10 Robert Love <rml@novell.com>
16508 * gnome/applet/applet.c: Make applet->dbus_thread joinable so we can
16509 wait for it on exit; call exit() in nmwa_destroy() to jump ship.
16511 2005-08-10 Dan Williams <dcbw@redhat.com>
16513 Patch from Bill Moss <bmoss@clemson.edu>
16514 * Consolidate writes of access point information updates to the info daemon
16515 so that we only do it when the connection to the access point was
16516 successful. Also consolidates updates to GConf in the Gnome applet.
16518 * src/nm-netlink-monitor.c
16519 - Silence compile warning when calling g_object_new()
16521 2005-08-08 Dan Williams <dcbw@redhat.com>
16523 Patch from Steev <steev@steev.net>:
16524 * src/backends/NetworkManagerGentoo.c
16525 - Stub new dialup backend functions
16527 2005-08-08 Dan Williams <dcbw@redhat.com>
16529 Patch from Colin Slater:
16530 * src/backends/NetworkManagerGentoo.c
16531 - (nm_system_update_dns): Fix exit status check for restarting
16534 2005-08-05 Robert Love <rml@novell.com>
16536 * NetworkManager.h,
16537 gnome/applet/applet-dbus-devices.c,
16538 gnome/applet/applet-dbus-devices.h,
16539 gnome/applet/applet-dbus.c,
16540 gnome/applet/applet.c,
16541 gnome/applet/applet.h,
16542 src/NetworkManager.c,
16543 src/NetworkManagerMain.h,
16544 src/NetworkManagerSystem.h,
16545 src/backends/NetworkManagerRedHat.c,
16546 src/backends/NetworkManagerSuSE.c,
16547 src/nm-dbus-nm.c: basic dialup support using distro infrastructure
16549 2005-08-05 Robert Love <rml@novell.com>
16551 * gnome/applet/other-network-dialog.c: default the adhoc network to the
16552 machine's hostname to make adhoc creation idiot-proof.
16554 2005-08-04 Robert Love <rml@novell.com>
16556 * gnome/applet/other-network-dialog.c: fix leak. "label" needs to be
16559 2005-08-04 Dan Williams <dcbw@redhat.com>
16561 * gnome/applet/applet-dbus-info.c
16562 gnome/applet/applet-dbus-info.h
16563 - (nmi_dbus_update_network_auth_method->nmi_save_network_info): generalize
16564 to store key, key type, and auth method rather than just auth method
16565 - (nmi_dbus_update_network_info): new function
16566 - (nmi_dbus_info_message_handler): updateNetworkAuthMethod -> updateNetworkInfo
16568 * gnome/applet/passphrase-dialog.c
16569 - (nmi_passphrase_dialog_ok_clicked): call nmi_save_network_info() instead
16570 of saving the info ourselves
16572 * gnome/libnm_glib/libnm_glib.c
16573 - Remove the stupid version check for dbus
16575 * src/NetworkManagerAP.c
16576 src/NetworkManagerAP.h
16577 - (nm_ap_get_enc_key_source): return 'const char *' rather than 'char *'
16579 * src/NetworkManagerDbus.c
16580 src/NetworkManagerDbus.h
16581 - (nm_dbus_update_network_auth_method -> nm_dbus_update_network_info): Update
16582 more than just the auth method
16584 * src/NetworkManagerDevice.c
16585 - Update network info at the appropriate times
16587 2005-07-29 Ray Strode <rstrode@redhat.com>
16589 * src/NetworkManager.c (nm_info_handler): don't use input as format
16590 string (Spotted by Ian Jackson).
16592 2005-07-27 Dan Williams <dcbw@redhat.com>
16596 - Random cleanups of spacing
16598 * gnome/applet/applet.h
16599 gnome/applet/other-network-dialog.c
16600 gnome/applet/passphrase-dialog.c
16601 - Conslidate usage of NMWAEncryptionKeyTypes enum
16603 Patch from Bill Moss:
16604 - Make Other Wireless Networks work again with encryption keys
16606 2005-07-26 Dan Williams <dcbw@redhat.com>
16608 Patch from Steev <steev@steev.net>:
16609 * src/backends/NetworkManagerGentoo.c
16610 src/backends/Makefile.am
16611 - Fix up Gentoo backend
16613 2005-07-26 Robert Love <rml@novell.com>
16615 * src/backends/NetworkManagerSuSE.c: misc. cleanup
16617 2005-07-25 Robert Love <rml@novell.com>
16619 * gnome/applet/applet.c: make the "Wired" menu item a radio button,
16620 in the same group as the wireless networks, since they are all
16621 mutually exclusive.
16623 2005-07-24 Ray Strode <rstrode@redhat.com>
16625 * src/nm-netlink-monitor.c (nm_netlink_monitor_new):
16626 remove unneeded NULL arg from g_object_new(). Any
16627 warnings caused by not having the extra NULL are just a
16628 result of a bug in glib 2.7.0 - 2.7.2.
16630 2005-07-22 Robert Love <rml@novell.com>
16632 * gnome/libnm_glib/libnm_glib.c: support D-BUS version 0.35, too
16634 2005-07-22 Robert Love <rml@novell.com>
16636 * src/nm-netlink-monitor.c: g_object_new() needs at least three
16637 parameters (gcc 4.0.2 warning fix).
16639 2005-07-18 Robert Love <rml@novell.com>
16641 Suggested by Aaron Bockover (abockover@novell.com)
16642 * gnome/applet/other-network-dialog.c: ASCII is an acronym, thus
16644 * gnome/applet/passphrase-dialog.c: ditto
16645 * gnome/applet/wireless-applet.glade: ditto
16647 2005-07-13 Dan Williams <dcbw@redhat.com>
16649 Patch from Ray Strode <halfline@gmail.com>
16650 * vpn-daemons/vpnc/nm-vpnc-service.c
16651 - Don't let vpnc daemonize, fixes some races with PID file reading
16653 2005-07-13 Dan Williams <dcbw@redhat.com>
16655 Patch from Ray Strode <halfline@gmail.com>
16656 * Random cleanups for strict CFLAGS
16658 2005-07-07 Dan Williams <dcbw@redhat.com>
16660 Patch from Derek Atkins <warlord@MIT.EDU>
16661 * src/nm-dbus-net.c:
16662 - (nm_dbus_get_ap_from_object_path): differentiate similar ESSIDs
16664 2005-07-07 Dan Williams <dcbw@redhat.com>
16666 Patch from Jos Dehaes <jos_dehaes@fastmail.fm>
16667 * src/backends/NetworkManagerGentoo.c
16668 - Gentoo backend Static IP nameserver fixes
16669 - General Gentoo backend goodness
16671 2005-07-07 Dan Williams <dcbw@redhat.com>
16673 Patch from Bastien Nocera:
16674 * gnome/applet/applet.c
16675 - Fix up error reporting when icons or glade files are missing
16677 2005-07-07 Robert Love <rml@novell.com>
16679 * gnome/applet/applet.c: do not draw the VPN menu's seperator if there
16680 are not any VPN connections above it.
16682 2005-07-07 Robert Love <rml@novell.com>
16684 * gnome/applet/applet.c: whoops, left some "dog" debugging code in.
16686 2005-07-05 Robert Love <rml@novell.com>
16688 * src/NetworkManagerSystem.c: bail out if asked to set a gateway of
16691 2005-07-05 Robert Love <rml@novell.com>
16693 * src/NetworkManagerDevice.c: use link-local (autoip) on DHCP failure
16694 on wired or unencrypted wireless.
16696 2005-07-01 Robert Love <rml@novell.com>
16698 * src/NetworkManagerSystem.c: Print the error via strerror().
16700 2005-06-30 Robert Love <rml@novell.com>
16702 * gnome/vpn-properties/nm-vpn-properties.c: display an error dialog and
16703 then exit if the glade file is not found. currently the application
16706 2005-06-30 Robert Love <rml@novell.com>
16708 * src/nm-dbus-nm.c: Patch by Bill Moss <bmoss@clemson.edu> to
16709 explicitly up all interfaces on wake from sleep.
16711 2005-06-30 Robert Love <rml@novell.com>
16713 * gnome/applet/applet.c: Add right-click menu item "Connection Info"
16714 with information about the currently active connection.
16715 * gnome/applet/applet.h: (ditto)
16716 * gnome/applet/wireless-applet.glade: (ditto), new file
16718 2005-06-30 Robert Love <rml@novell.com>
16720 * src/NetworkManagerDevice.c: g_malloc0 cannot fail.
16721 * src/nm-dbus-nm.c: print when we sleep and wake up.
16722 * gnome/applet/menu-items.c: whitespace, misc. cleanup.
16723 * configure.in: look in "/usr/sbin" for dhcdbd, too. (it shouldn't be
16724 in /sbin unless D-BUS is, folks).
16725 * README: update to reflect nm-applet replacing NetworkManagerInfo.
16727 2005-06-27 Robert Love <rml@novell.com>
16729 * src/nm-dbus-nm.c: fix "setWirelessEnabled" call for the enabling
16732 2005-06-27 Robert Love <rml@novell.com>
16734 * gnome/applet/applet.c: make the 'Wireless Network Discovery' menu
16737 2005-06-26 Robert Love <rml@novell.com>
16739 * src/NetworkManagerDevice.c: be specific about which device in
16742 2005-06-23 Adam Weinberger <adamw@gnome.org>
16744 * src/nm-netlink-monitor.c: correct spelling error.
16746 2005-06-23 Robert Love <rml@novell.com>
16748 * gnome/applet/applet-dbus-info.c: gnome keyring support!
16749 * gnome/applet/passphrase-dialog.c: more of that keyring!
16751 2005-06-23 Robert Love <rml@novell.com>
16753 * configure.in: remove extraneous GNOMEKEYRING directives.
16754 * gnome/applet/Makefile.am: s/GNOMEKEYRING/GNOME_KEYRING/.
16755 * gnome/applet/applet.c: nmwa_icons_init: make style local.
16756 * gnome/applet/passphrase-dialog.c: whitespace.
16758 2005-06-23 Robert Love <rml@novell.com>
16760 * src/NetworkManagerDevice.c: division in assignment was flipped.
16762 2005-06-23 David Zeuthen <david@fubar.dk>
16764 * gnome/applet/vpn-password-dialog.c (child_stdout_data_cb): Send a
16765 signal to the child to indicate that we got what we wanted when we
16766 see two new-lines right after each other.
16767 (nmwa_vpn_request_password): Pass a structure with several members
16768 instead of just the passwords
16770 2005-06-23 Dan Williams <dcbw@redhat.com>
16772 * src/NetworkManager.c
16773 src/NetworkManagerMain.h
16774 - (nm_get_hal_ctx): new function, move Hal initialization code here
16775 - (nm_hal_init): new function, init libhal context then add devices
16776 - (nm_hal_deinit): new function, clean up libhal context
16777 - (nm_data_free): Move Hal cleanup here
16778 - (main): check whether Hal is running, and if so, get a list of
16779 network devices from it
16781 * src/NetworkManagerDbus.c
16782 - (nm_dbus_signal_filter): trap NameOwnerChanged signals for Hal,
16783 and when it appears, get a list of network devices from it. If
16784 Hal goes away, clean up the libhal context
16786 2005-06-22 Robert Love <rml@novell.com>
16788 * dispatcher-daemon/NetworkManagerDispatcher.c: fix FIXME: check
16789 permissions of scripts before executing.
16791 2005-06-21 Robert Love <rml@novell.com>
16793 * initscript/SUSE/networkmanager: update.
16794 * src/backends/NetworkManagerSuSE.c: cleanup.
16796 2005-06-21 Robert Love <rml@novell.com>
16798 * gnome/applet/applet.c: use menu mnemonics.
16799 * gnome/applet/menu-items.c: (ditto)
16801 2005-06-21 Robert Love <rml@novell.com>
16803 * applet/applet-dbus-devices.c: mark non-static functions static.
16804 * applet/applet-dbus-vpn.c: (ditto)
16805 * applet/applet.c: (ditto)
16806 * applet/nm-device.h: (ditto)
16807 * applet/other-network-dialog.c: (ditto)
16808 * applet/passphrase-dialog.c: (ditto)
16809 * NetworkManager.c: (ditto)
16810 * NetworkManagerDbus.c: (ditto)
16811 * NetworkManagerDevice.c: (ditto)
16812 * NetworkManagerPolicy.c: (ditto)
16813 * NetworkManagerUtils.c: (ditto)
16814 * NetworkManagerWireless.c: (ditto)
16815 * NetworkManagerWireless.h: (ditto)
16816 * nm-netlink-monitor.c: (ditto)
16817 * applet/applet-dbus-info.c: (ditto), add FIXME's.
16818 * vpn-manager/nm-dbus-vpn.c: (ditto), remove shadowed variable.
16819 * autoip.c: include autoip.h.
16820 * autoip.h: new file. define get_autoip().
16821 * nm-netlink-monitor.h: define nm_netlink_close_connection().
16822 * NetworkManagerDbus.h: remove duplicate definitions.
16824 2005-06-20 Robert Love <rml@novell.com>
16826 * Makefile.am: Add missing intltool-foo.in generated files to
16827 EXTRA_DIST so that 'distcheck' works. Also add DISTCLEANFILES
16828 with the start of stuff to cleanup on 'distclea'.
16829 * configure.in: add AC_PROG_INTLTOOL macro so that we do the intltool
16830 stuff right and 'distcheck' works.
16831 * po/POTFILES.in: Remove examples/python/systray/eggtrayicon.c. If
16832 we keep it, we need to add all of examples/* to EXTRA_DIST and do
16833 Makefile.am for each. And systray/Makefile needs to be redone.
16835 2005-06-19 Dan Williams <dcbw@redhat.com>
16837 * src/NetworkManagerDevice.c
16838 - (nm_device_wireless_process_scan_results): scan every 20s when
16839 disconnected and scanning is ALWAYS_SCAN or WHEN_UNASSOCIATED
16841 2005-06-19 Dan Williams <dcbw@redhat.com>
16843 * WEXT_DEBUG->IOCTL_DEBUG, extend checking to all ioctl() calls
16845 2005-06-18 Ray Strode <rstrode@redhat.com>
16847 * src/nm-netlink-monitor.c
16848 (nm_netlink_monitor_event_handler): check for the presence
16849 of either error condition not both.
16851 (nm_netlink_monitor_error_handler): emit error signal if
16854 (nm_netlink_monitor_event_handler),
16855 (nm_netlink_monitor_error_handler),
16856 (nm_netlink_monitor_disconnect_handler): if an
16857 assertion fails disconnect the event handler to prevent
16860 * src/nm-netlink-monitor.h: add new error condition
16861 NM_NETLINK_MONITOR_ERROR_WAITING_FOR_SOCKET_DATA
16863 2005-06-18 Ray Strode <rstrode@redhat.com>
16865 * src/nm-netlink-monitor.c
16866 (nm_netlink_monitor_event_handler): remove bogus < 0
16867 check on unsigned value and return early if the kernel
16868 didn't send any bytes.
16870 2005-06-17 Robert Love <rml@novell.com>
16872 * initscript/SUSE/networkmanager: Change the Provides and default
16875 2005-06-16 Dan Williams <dcbw@redhat.com>
16877 Patch from Robert Love:
16878 * gnome/applet/applet.c
16879 - Beautify some applet menu item names
16881 2005-06-17 David Zeuthen <davidz@redhat.com>
16883 * gnome/vpn-properties/nm-vpn-ui-interface.h: Require users of this
16884 API to define NM_VPN_API_SUBJECT_TO_CHANGE to acknowledge API churn.
16885 Also add new methods can_export, import_file and export.
16887 * gnome/vpn-properties/nm-vpn-properties.glade: Add an Export button
16890 * gnome/vpn-properties/nm-vpn-properties.c:
16891 Define NM_VPN_API_SUBJECT_TO_CHANGE so we can actually include
16892 nm-vpn-ui-interface.h.
16893 (update_edit_del_sensitivity): Also update "Export" sensitivity
16894 (add_vpn_connection): Also add new SVC_NAME column
16895 (import_settings): New function
16896 (retrieve_data_from_selected_connection): New function
16897 (edit_cb): Use retrieve_data_from_selected_connection to simplify
16899 (export_cb): New function
16900 (init_app): Also setup the "export" widget
16901 (main): Support the --import-service and --import-file commandline
16904 * gnome/libnm_glib/libnm_glib.c (libnm_glib_dbus_filter): Also support
16907 2005-06-16 Dan Williams <dcbw@redhat.com>
16909 Patch from Robert Love:
16910 * gnome/applet/menu-items.c
16911 - (network_menu_item_new): pass -1 as wireless network
16912 menu items height size request rather than ascent / 2
16914 2005-06-16 Dan Williams <dcbw@redhat.com>
16916 * Clean up wording in Wireless Scan Methods menu items and constants
16918 2005-06-16 Robert Love <rml@novell.com>
16921 - remove gtkcell* files
16923 2005-06-15 Dan Williams <dcbw@redhat.com>
16925 Patch from Robert Love: make the applet stetic
16927 * gnome/applet/Makefile.am
16928 - Don't compile the gtkcellview and gtkcellrendererprogress files
16930 * gnome/applet/gtkcellview.h
16931 gnome/applet/gtkcellview.c
16932 gnome/applet/gtkcellrendererprogress.h
16933 gnome/applet/gtkcellrendererprogress.c
16936 * gnome/applet/menu-items.c
16937 - Progress bars are 5:1 size ratio
16938 - Use GTK progress bars rather than internal ones
16940 2005-06-15 Dan Williams <dcbw@redhat.com>
16942 Patch from Robert Love:
16943 * initscript/SUSE/networkmanager
16946 2005-06-15 Dan Williams <dcbw@redhat.com>
16948 * src/backends/NetworkManagerSuSE.c
16949 src/backends/NetworkManagerRedHat.c
16950 src/backends/NetworkManagerDebian.c
16951 - (set_ip4_config_from_resolv_conf): Fix typo I made, '==' -> '='
16953 2005-06-15 Dan Williams <dcbw@redhat.com>
16955 * src/backends/NetworkManagerDebian.c
16956 - Add nm_system_device_get_use_dhcp() to debian backend
16958 Patch from Kay Sievers:
16959 * src/backends/NetworkManagerSuSE.c
16960 - Update debian backend for static IP nameservers
16962 * src/NetworkManagerDevice.c
16963 - Actually set the device to use static IP or DHCP rather
16966 2005-06-15 Dan Williams <dcbw@redhat.com>
16968 Patch from Thom May:
16969 * src/backends/NetworkManagerDebian.c
16970 - Update debian backend for static IP nameservers
16972 2005-06-15 Dan Williams <dcbw@redhat.com>
16974 Patches from Robert Love:
16975 * gnome/applet/wireless-applet.glade
16976 - Tighten up wording
16978 * src/NetworkManagerDevice.c
16979 - Remove misplaced ';'
16982 initscript/Makefile.am
16983 initscript/SUSE/Makefile.am
16984 initscript/SUSE/networkmanager
16985 - Add SUSE initscript
16987 2005-06-12 David Zeuthen <davidz@redhat.com>
16989 * gnome/vpn-properties/nm-vpn-ui-interface.h: New file
16991 * gnome/vpn-properties/nm-vpn-properties.glade: New file
16993 * gnome/vpn-properties/nm-vpn-properties.c: New file
16995 * gnome/vpn-properties/Makefile.am: New file
16997 * src/vpn-manager/nm-vpn-manager.h: Rework prototypes to take an
17000 * src/vpn-manager/nm-vpn-manager.c
17001 (nm_vpn_manager_activate_vpn_connection): Take an array of passwords
17002 instead of just a single one
17004 * src/vpn-manager/nm-dbus-vpn.c:
17005 (nm_dbus_vpn_get_vpn_connection_properties): Also append service_name
17007 (nm_dbus_vpn_activate_connection): Rework to take an array of passwords
17009 * gnome/applet/vpn-password-dialog.h (nmwa_vpn_request_password):
17010 Change the interface here to give a list of passwords. Also, don't
17011 require username, but do require service
17013 * gnome/applet/vpn-password-dialog.c: Look up the VPN .name files for
17014 the binary for the auth-dialog and use that instead of putting up a
17015 dialog asking for a single password
17017 * gnome/applet/vpn-connection.[ch]: Don't remember the user_name,
17018 however do remember the service
17020 * gnome/applet/main.c (main): Setup i18n
17022 * gnome/applet/applet.c (nmwa_update_state): Add a line "VPN
17023 connection to '%s'" to the tooltip if we are connected using VPN
17024 (nmwa_menu_vpn_item_activate): Check last_attempt_success gconf
17025 key to determine whether we the auth-dialog needs to
17026 reprompt. Also cope with the fact that the auth-dialog now returns
17027 an array of passwords.
17028 (nmwa_menu_configure_vpn_item_activate): New handler for
17029 "Configure VPN..." menu item
17030 (nmwa_menu_add_vpn_menu): Add the "Configure VPN..." menu item
17031 (is_vpn_available): New function to determine if we got any
17032 NM-compatible VPN software installed
17033 (nmwa_menu_add_devices): Use is_vpn_available to add VPN menu
17034 items only if we have NM-compatible VPN software installed
17035 (nmwa_gconf_vpn_connections_notify_callback): Slightly rework the
17036 logic for detecting when VPN connections are removed
17038 * gnome/applet/applet-dbus.h: Removed the prototypes for
17039 nmwa_dbus_vpn_activate_connection, nmwa_dbus_vpn_deactivate_connection
17040 since these are defined elsewhere
17042 * gnome/applet/applet-dbus.c (set_vpn_last_attempt_status): New
17043 function used to keep track of whether the last attempt succeded
17044 (nmwa_dbus_filter): Update last_attempt according to whether the
17045 VPN connection could be established or not
17047 * gnome/applet/applet-dbus-vpn.h (nmwa_dbus_vpn_deactivate_connection):
17048 Change prototype to take an array of passwords, not just a single
17051 * gnome/applet/applet-dbus-vpn.c (nmwa_dbus_vpn_properties_cb): Only
17052 update service, not user
17053 (nmwa_dbus_vpn_remove_one_vpn_connection): Check that applet->
17054 dbus_active_vpn_name is not NULL before using it
17055 (nmwa_dbus_vpn_activate_connection): Send the passwords as a
17056 string array instead of assuming a single password
17058 * gnome/applet/applet-dbus-info.c:
17059 (nmi_dbus_get_vpn_connection_properties): Use the logged in user for
17060 user name; don't read from gconf
17062 * gnome/applet/Makefile.am: Also export SYSCONFDIR and
17065 * gnome/Makefile.am (SUBDIRS): Add vpn-properties
17067 * configure.in: Add checks for gmodule-2.0.
17068 Generate gnome/vpn-properties/Makefile. Don't generate any Makefile's
17069 in vpn-daemons nor vpn-daemons/vpnc. We have separate autotooled
17070 projects under vpn-daemons now. See vpn-daemons/vpnc/Changelog
17073 * vpn-daemons/Makefile.am: Removed
17075 * vpn-daemons/README: New file to describe extensions points for VPN
17078 2005-06-10 Dan Williams <dcbw@redhat.com>
17080 * src/backends/NetworkManagerRedHat.c
17081 - (get_current_profile_name): new function, grab current network profile name from
17082 /etc/sysconfig/network
17083 - (set_ip4_config_from_resolv_conf): new function, parse a resolv.conf and
17084 update an IP4 Config structure's settings from it
17085 - (nm_system_device_get_system_config): if we're using static IP on this device,
17086 get DNS info from current network profile
17088 2005-06-09 Dan Williams <dcbw@redhat.com>
17090 Patch from Robert Love:
17091 * src/NetworkManagerDevice.c
17092 src/NetworkManagerUtils.c
17093 - 64-bit build fixes
17095 2005-06-09 Dan Williams <dcbw@redhat.com>
17097 Patch from Kay Sievers and Robert Love:
17099 src/backends/Makefile.am
17100 src/backends/NetworkManagerSuSE.c
17103 2005-06-09 Dan Williams <dcbw@redhat.com>
17106 - Add NMWirelessScanMethod enum for scan methods
17108 * gnome/applet/applet-dbus-devices.c
17109 - (nmwa_dbus_update_scanning_enabled_cb): remove
17110 - (nmwa_dbus_update_scanning_enabled): remove
17111 - (nmwa_dbus_update_devices): don't call nmwa_dbus_update_scanning_enabled() anymore
17112 since it got removed
17113 - (nmwa_dbus_enable_scanning): remove
17115 * gnome/applet/applet-dbus-info.c
17116 - (nmi_dbus_signal_update_scan_method): new function, signal NetworkManager to
17117 update the wireless scanning method from NMI
17118 - (nmi_dbus_get_wireless_scan_method): new function, return wireless scanning
17119 method value to NetworkManager
17120 - (nmi_dbus_info_message_handler): respond to the "getWirelessScanMethod" method call
17122 * gnome/applet/applet-dbus-info.h
17123 - Add prototype for nmi_dbus_signal_update_scan_method
17125 * gnome/applet/applet.c
17126 - (scanning_menu_update): new function, update one GtkCheckMenuItem from the
17127 Wireless Scanning menu based on current wireless scan method
17128 - (nmwa_menu_scanning_item_activate): new function, callback for GTK "activate"
17129 signal for Wireless Scanning menu items, tell NetworkManager the new method
17130 and update our menu items to make sure the right one is checked
17131 - (nmwa_set_scanning_enabled_cb): remove
17132 - (nmwa_context_menu_update): remove references to pause_scanning_item
17133 - (nmwa_context_menu_create): remove pause_scanning_item, and add new Wireless
17135 - (nmwa_gconf_get_wireless_scan_method): new method, pull wireless scanning method
17137 - nmwa_gconf_networks_notify_callback -> nmwa_gconf_info_notify_callback: generalize
17138 so we get notified of preference values too
17139 - (nmwa_get_instance): monitor GCONF_PATH_WIRELESS rather than GCONF_PATH_WIRELESS_NETWORKS
17141 * gnome/applet/applet.h
17142 - GCONF_PATH_WIRELESS added, one level below GCONF_PATH_WIRELESS_NETWORKS
17143 - Add wireless scan method member to applet data
17144 - Remove pause_scanning_item, add Wireless Scanning submenu
17146 * src/NetworkManager.c
17147 - (nm_data_new): default to NM_SCAN_METHOD_ON
17148 - (main): grab scanning method from NMI if we can
17150 * src/NetworkManagerDbus.c
17151 - (nm_dbus_update_wireless_scan_method_cb): new function, callback from
17152 nm_dbus_update_wireless_scan_method()
17153 - (nm_dbus_update_wireless_scan_method): new function to grab scanning method
17155 - (nm_dbus_nmi_is_running): redundant function, removed
17156 - (nm_dbus_signal_filter): trap "WirelessScanMethodUpdate" signal, grab scanning method
17157 when NMI comes back
17159 * src/NetworkManagerDevice.c
17160 - (nm_device_is_activated): return TRUE if the device is activated
17161 - (nm_device_wireless_scan): don't scan if the scan method is OFF, or if its AUTO
17162 and we are activated
17165 - (nm_dbus_nm_set_scanning_enabled): removed
17166 - nm_dbus_nm_get_scanning_enabled -> nm_dbus_nm_get_wireless_scan_method
17167 - (nm_dbus_nm_methods_setup): remove [get | set] ScanningEnabled and add "getWirelessScanMethod"
17169 2005-06-09 Dan Williams <dcbw@redhat.com>
17172 src/vpn-manager/nm-vpn-service.c
17173 - NM_VPN_STATE_ERROR -> NM_VPN_STATE_UNKNOWN (more consistent with other enums)
17175 2005-05-27 Dan Williams <dcbw@redhat.com>
17177 * vpn-daemons/vpnc/nm-vpnc-service.c
17178 - (vpnc_watch_cb): wait a bit before trying to read vpnc's pidfile.
17179 Should fix the bug where the VPN connection terminates the first time.
17181 2005-05-20 Dan Williams <dcbw@redhat.com>
17184 - Differentiate VPN config signals between bad VPN config options
17187 * gnome/applet/applet-dbus-info.h
17188 - Add prototypes for wireless network and vpn connection update functions
17190 * gnome/applet/applet-dbus.c
17191 - (nmwa_dbus_filter): trap new VPN config error signals from NetworkManager
17193 * gnome/applet/applet.c
17194 - (nmwa_schedule_vpn_failure_dialog): new dialog text for new VPN config
17196 - (nmwa_gconf_networks_notify_cb): re-enable wireless network change notify
17197 propogation to NetworkManager
17198 - (nmwa_gconf_vpn_connections_notify_cb): re-enable vpn connection change
17199 notify propogation to NetworkManager
17201 * src/NetworkManagerDbus.c
17202 - (nm_dbus_update_one_allowed_network): make sure to specify which AP list we
17203 are updating so a network can be removed from it if necessary
17205 * src/vpn-manager/nm-vpn-manager.c
17206 - (nm_vpn_manager_process_signal): trap new vpn config error signals
17208 * vpn-daemons/vpnc/nm-vpnc-service.c
17209 - (nm_vpnc_dbus_signal_failure): generalize function for all VPN error signals
17210 - (nm_vpnc_dbus_signal_launch_failed): remove
17211 - (nm_vpnc_dbus_signal_connect_failed): remove
17212 - (nm_vpnc_helper_timer_cb): update for new generalized error signal function
17213 - (nm_vpnc_schedule_helper_timer): increase timeout to 10s
17214 - (vpnc_watch_cb): don't whine about exit code if vpnc exited cleanly, update
17215 for new generalized error signal function, remove config file stuff
17216 - (nm_vpnc_start_vpnc_binary): grab a stdin pipe to vpnc after spawning it so
17217 we can write configuration options to it
17218 - (nm_vpnc_config_file_generate): removed
17219 - (nm_vpnc_config_write): write configuration options to the vpnc stdin pipe
17220 - (nm_vpnc_config_options_validate): validate the config options we receive
17221 from NetworkManager to block potential exploits
17222 - (nm_vpnc_dbus_handle_start_vpn): call option validation function before
17224 - (nm_vpnc_dbus_process_helper_config_error): actually propogate config error
17227 2005-05-16 Dan Williams <dcbw@redhat.com>
17229 * vpn-daemons/vpnc/nm-vpnc-service-vpnc-helper.c
17230 - (main): Work correctly with vpnc 0.3.3 by exiting if the "reason" code
17233 2005-05-16 Dan Williams <dcbw@redhat.com>
17235 Patch from Tomislav Vujec <tvujec@redhat.com>
17236 * gnome/applet/applet-dbus-info.c
17237 - (nmi_dbus_get_vpn_connection_routes): new function, pull routes out of
17238 GConf and pass them to NetworkManager. New key is 'routes' under
17239 the VPN connection, and should be a string list
17241 * src/NetworkManagerSystem.c
17242 - (nm_system_vpn_device_set_from_ip4_config): if user-defined routes exist,
17243 set them on the device when we set the rest of the VPN config. Ensure
17244 they are in the correct format since they are passed directly to the
17247 * src/backends/NetworkManagerRedHat.c
17248 src/backends/NetworkManagerDebian.c
17249 - (nm_system_device_add_route_via_device_with_iface): new function
17251 * src/vpn-manager/nm-dbus-vpn.c
17252 - (nm_dbus_vpn_get_routes): grab VPN routes from NetworkManagerInfo
17254 * src/vpn-manager/nm-vpn-manager.c
17255 - (nm_vpn_manager_handle_ip4_config_signal): grab routes from NMI and pass
17256 them into the IP4 config functions
17258 2005-05-15 Dan Williams <dcbw@redhat.com>
17260 From Filip Miletic:
17264 - Serbian translation added
17266 2005-05-15 Dan Williams <dcbw@redhat.com>
17268 * dispatcher-daemon/NetworkManagerDispatcher.c
17269 - (main): sync arguments with NetworkManager and the applet, now use
17270 "--no-daemon" rather than "daemon=no"
17271 - (nmd_print_usage): Fix script path in usage message
17273 2005-05-15 Dan Williams <dcbw@redhat.com>
17275 * src/NetworkManagerDevice.[ch]
17276 src/NetworkManagerPolicy.c
17277 src/NetworkManager.c
17279 - Remove the "just_added" parameter from nm_device_deactivate(). We no
17280 longer send the DeviceNoLongerActive signal unconditionally, but only
17281 when the device is actually active.
17283 * dispatcher-daemon/NetworkManagerDispatcher.c
17284 - (nmd_execute_scripts): convert to GLib directory functions from opendir(),
17285 and simplify the logic
17286 - (nmd_get_device_name): copy value from dbus reply so we don't segfault when
17287 we free it later on
17289 * initscript/RedHat/Makefile.am
17290 initscript/RedHat/NetworkManagerDispatcher
17291 - Add initscript for NetworkManagerDispatcher
17294 Patch from Bill Moss:
17295 * dispatcher-daemon/NetworkManagerDispatcher.c
17296 - Remove IP4AddressChange signal code including nmd_get_device_ip4_address()
17298 * src/NetworkManagerDbus.c
17299 - (nm_dbus_signal_device_ip4_address_change): remove. If the device goes up,
17300 and DeviceNowActive gets signaled, then the device has a new IP address
17301 anyway. There's no need for a separate signal.
17303 * src/NetworkManagerDevice.c
17304 - (nm_device_update_ip4_address): Don't send IP4AddressChange signal
17306 * src/NetworkManagerPolicy.c
17307 - (nm_policy_activation_finish): Send DeviceNowActive signal when the device
17308 activates successfully. This kind of went missing when I reworked the
17311 2005-05-15 Dan Williams <dcbw@redhat.com>
17314 - Check for dhcdbd and error if its not found
17316 * src/dhcp-manager/Makefile.am
17317 src/dhcp-manager/nm-dhcp-manager.c
17318 - Use path to dhcdbd that configure found
17320 2005-05-14 Dan Williams <dcbw@redhat.com>
17322 * gnome/applet/nm-device.c
17323 - (network_device_sort_wireless_networks, sort_networks_function): New functions to
17324 sort wireless networks alphabetically
17326 * gnome/applet/applet-dbus-devices.c
17327 - (mwa_dbus_devices_lock_and_copy): Sort network device's wireless network lists
17328 before copying them over to the GUI
17330 2005-05-14 Dan Williams <dcbw@redhat.com>
17332 * src/NetworkManager.c
17333 - (device_stop_and_free): Deactivate VPN connections before deactivating devices,
17334 fixes a deadlock on shutdown with a VPN connection active. This function locks
17335 the device list, as does nm_get_active_device() which is called from
17336 nm_vpn_manager_deactivate_vpn_connection().
17338 2005-05-14 Dan Williams <dcbw@redhat.com>
17341 - Add signals for VPN Launch and Connect failures
17343 * gnome/applet/applet-dbus.c
17344 - (nmwa_dbus_filter): Trap new VPN launch & connect failure signals
17346 * gnome/applet/applet.c
17347 - (nmwa_show_vpn_failure_dialog): generalize old nmwa_show_vpn_login_failure_dialog()
17348 function to handle all VPN failure messages
17349 - (nmwa_schedule_vpn_failure_dialog): generalize old nmwa_schedule_vpn_login_failure_dialog()
17350 function to hanlde all VPN failure messages
17351 - (show_warning_dialog): work around focus-stealing prevention
17353 * gnome/applet/other-network-dialog.c
17354 gnome/applet/passphrase-dialog.c
17355 - (update_button_cb): Make sure the OK button is enabled when it should be, fixes
17356 problem where it never enabled for ASCII Key and Hex Key types
17358 * gnome/applet/wireless-applet.glade
17359 - Add window title to Other Wireless Network Dialog
17361 * src/vpn-manager/nm-dbus-vpn.c
17362 - (nm_dbus_vpn_signal_vpn_failed): generalize old nm_dbus_vpn_signal_vpn_login_failed()
17363 function to handle all VPN failure messages
17365 * src/vpn-manager/nm-vpn-manager.c
17366 - (nm_vpn_manager_process_signal): trap and proxy VPN launch & connect failure signals too
17368 * vpn-daemons/vpnc/nm-vpnc-service.c
17369 - (nm_vpnc_dbus_signal_launch_failed): new function
17370 - (nm_vpnc_dbus_signal_connect_failed): new function
17371 - (nm_vpnc_helper_timer_cb): signal connect failure on timeout
17372 - (vpnc_watch_cb): signal connection failure when vpnc exits with connection failure
17373 - (nm_vpnc_start_vpnc_binary): search a number of locations for vpnc
17374 - (nm_vpnc_dbus_handle_start): send launch failure signal when we fail to launch vpnc
17376 2005-05-11 Dan Williams <dcbw@redhat.com>
17378 * vpn-daemons/vpnc/nm-vpnc-service.c
17379 - (nm_vpnc_start_vpnc_binary): NULL-ify GError before using it
17380 - (nm_vpnc_config_file_generate): Attempt to ensure that the path for the config
17381 file exists before trying to write it out.
17383 2005-05-10 Dan Williams <dcbw@redhat.com>
17385 * gnome/applet/applet-dbus-device.c
17386 - (nmwa_dbus_set_device): remove check for valid key and key type, which
17387 prevented just entering ESSID and leaving key and key type up to
17388 NetworkManager (which should have them already cached)
17390 2005-05-08 Dan Williams <dcbw@redhat.com>
17392 * src/NetworkManagerPolicy.c
17393 - (nm_policy_activation_finish): Don't set NM_ACT_STAGE_ACTIVATED here, instead...
17394 - (nm_policy_schedule_activation_finish): Set NM_ACT_STAGE_ACTIVATED here to
17395 fix a situation where NM is told to terminate and the device stops activation,
17396 but the main thread isn't aware of that because it would never have run
17397 nm_policy_activation_finish() to set the ACTIVATED flag, because the main loop
17400 * src/NetworkManagerDevice.c
17401 - (nm_device_probe_wired_link_state): cosmetic fixes
17402 - (nm_device_activate_stage5_ip_config_commit): Don't check link state if
17403 we've failed to activate or been canceled.
17404 - (nm_ac_test): nm_debug -> nm_info for "waiting for device to cancel" message
17406 2005-05-08 Dan Williams <dcbw@redhat.com>
17408 * src/NetworkManagerWireless.c
17409 - (nm_wireless_qual_to_percent): Fix #if -> #ifdef, print out the "updated"
17410 value of WEXT quality structures, and add a debug message when we cannot
17411 determine any quality % at all
17413 2005-05-08 Dan Williams <dcbw@redhat.com>
17415 * src/dhcp-manager/nm-dhcp-manager.c
17416 - (nm_dhcp_manager_begin_transaction): Tell dhclient to release leases when
17419 2005-05-06 Dan Williams <dcbw@redhat.com>
17421 * gnome/applet/applet-dbus-device.c
17422 gnome/applet/applet-dbus-info.c
17423 gnome/applet/applet-dbus.c
17424 gnome/applet/applet.c
17425 gnome/applet/applet.h
17426 - (nmwa_get_device_for_nm_device) -> (nmwa_get_device_for_nm_path)
17428 * gnome/applet/applet-dbus.c
17429 - (nmwa_dbus_filter): trap DeviceCarrierOn/DeviceCarrierOff signals
17430 so we notice when wired device's carriers come back on. Should
17431 fix issue with wired devices being grayed out even if the cable
17432 is in, for devices that support carrier detection.
17434 * gnome/applet/applet.c
17435 - (nmwa_driver_notify): bash focus-stealing prevention in the face
17436 - (nmwa_act_stage_to_pixbuf): Clarify wireless ACT_STAGE_DEVICE_CONFIG
17438 - (nmwa_menu_item_activate, nmwa_menu_add_device_item, nmwa_menu_item_data_free):
17439 Fix situation where applet wouldn't respond to menu selections
17441 * src/NetworkManager.c
17442 src/NetworkManagerDevice.c
17443 src/NetworkManagerDbus.c
17444 src/NetworkManagerDbus.h
17445 - (nm_dbus_signal_device_status_change) -> (nm_dbus_schedule_device_status_change_signal)
17447 * src/NetworkManagerDbus.c
17448 - (nm_dbus_send_network_not_found, nm_dbus_schedule_network_not_found_signal):
17449 Remove, no longer used or relevant
17450 - (nm_dbus_signal_device_status_change): Better signal enum->string matching
17451 - (nm_dbus_schedule_device_status_change_signal): add
17453 * src/NetworkManagerDevice.c
17454 - (nm_device_worker_thread_stop): don't try to join a NULL worker thread
17455 - (nm_device_set_link_active): Fix up switching for non-carrier-detect devices,
17456 ie don't deactivate them unless explicitly told to by the user. Also send
17457 CARRIER_OFF / CARRIER_ON signals when link changes
17458 - (nm_device_set_essid, nm_device_set_enc_key, nm_device_is_up, nm_device_set_mode):
17459 Don't print error message when device is no longer around
17460 - (nm_device_deactivate): kill any current DHCP process attached to this device,
17461 not just during activation
17463 * src/NetworkManagerPolicy.c
17464 - (nm_policy_auto_get_best_device): Ignore semi-supported devices completely from
17465 auto-device-selection.
17466 - (nm_policy_device_change_check): Don't interrupt semi-supported devices
17468 * src/NetworkManagerSystem.c
17469 - (nm_system_device_set_up_down_with_iface): Quiet first warning message when device
17470 is no longer present (Bill Moss)
17472 * src/backends/shvar.c
17473 - (svOpenFile): Open read-only to make SELinux happy
17475 * src/backends/NetworkManagerRedHat.c
17476 - (nm_system_device_get_system_config): Use SYSCONFDIR rather than hardcoding
17477 the path to the ifcfg-* files
17479 2005-05-05 Dan Williams <dcbw@redhat.com>
17481 * Expose activation stages to NetworkManager clients, like the applet
17482 * Add Diana's progress icons to the applet, cued off NM activation stage
17483 * Use more descriptive tooltips, cued off NM activation stage
17485 2005-05-05 Ray Strode <rstrode@redhat.com>
17487 * src/nm-netlink-monitor.c:
17488 - Use clear_event_source instead of g_nullify_pointer() again.
17490 2005-05-05 Dan Williams <dcbw@redhat.com>
17492 * gnome/applet/main.c
17493 - Fix session management so the applet is actually managed now
17495 * gnome/applet/passphrase-dialog.c
17496 - (nmi_passphrase_dialog_show): bash focus-stealing prevention in the face
17498 2005-05-05 Dan Williams <dcbw@redhat.com>
17500 Patch from Bill Moss:
17501 * gnome/libnm_glib/libnm_glib.c
17502 - Fix for dbus-0.33
17504 2005-05-05 Dan Williams <dcbw@redhat.com>
17506 Suggestion from Bill Moss:
17507 * src/NetworkManagerSystem.c
17508 - (nm_system_device_set_up_down_with_iface): ignore ENODEV
17511 * src/NetworkManager.c
17512 - (nm_data_free): move destruction of the various managers after
17513 release of device list, because deactivating and freeing a device
17514 requires at least the named manager
17515 - (nm_poll_and_update_wireless_link_state):
17516 (nm_device_link_activated):
17517 (nm_device_link_deactivated):
17518 don't grab the device list lock when actually updating device
17519 link status or strength, since nm_device_set_link_active()
17520 needs to call nm_get_active_device(), which also locks the device list.
17522 * src/NetworkManagerDevice.c
17523 - (nm_device_set_link_active): if a device's link switches from off->on,
17524 and it's wired, and the active device is wireless (or there is no
17525 active device), activate the new device whose link just came on
17526 - (link_to_specific_ap): try to smooth over intermittency in wireless links
17527 my only calling the link to the current ap "failed" when more than 2
17528 consecutive link checks have failed
17530 2005-05-04 Dan Williams <dcbw@redhat.com>
17532 * src/NetworkManagerDevice.c
17533 - (nm_device_probe_wireless_link_state): don't lock the scan mutex here
17534 but let link_to_specific_ap() do the locking where it needs
17536 Patch from Bill Moss:
17537 * src/NetworkManagerSystem.c
17538 - Set MTU of VPN devices to 1412
17540 2005-05-04 Dan Williams <dcbw@redhat.com>
17542 * Remove NM_STATE_SCANNING from NetworkManager.h and applet code
17544 * Fix some holes in device activation and retaining the currently connected
17547 2005-05-03 Dan Williams <dcbw@redhat.com>
17549 * Kill dhcpcd. We now use "dhcdbd", a dbus daemon that controls dhclient.
17550 This means that NetworkManager shouldn't have DHCP issues anymore. It also
17551 means you need dhcdbd, which you can get here (get the latest one):
17553 http://people.redhat.com/jvdias/dhcdbd/
17555 Technically NetworkManager can use any DHCP daemon that uses the same DBUS
17556 interface as dhcdbd.
17558 * Rewrite device activation to facilitate the new DHCP infrastructure and
17559 future improvements. Its now "activation request" based, ie there is a single
17560 activation request composed of the device, access point, and other info which
17561 follows the entire activation process. There are 5 stages of the activation
17562 process which correspond to:
17564 1) Device preparation
17565 2) Device configuration (bring it up, set ESSID/Key/etc)
17566 3) IP Config Start (fire off DHCP if we're using it)
17567 4) IP Config Get (grab config from DHCP or static config files)
17568 5) IP Config Commit (set device's IP address, DNS, etc)
17570 Note that there is no longer a "scanning" step, since the access point must
17571 be known _before_ activation starts. If the access point drops out or does
17572 not exist for some reason, the entire activation process fails and must be
17573 restarted for a different access point or device.
17575 Patch from Bill Moss:
17576 * gnome/applet/applet.c
17577 - Fix type of vpn_failure dialog -> vpn_banner dialog
17579 2005-04-27 Dan Williams <dcbw@redhat.com>
17581 * gnome/applet/applet-dbus-vpn.c
17582 gnome/applet/applet.c
17583 gnome/applet/applet.h
17584 - Fix up active VPN handling so that we reliably know when a VPN
17585 connection has been deactivated
17587 * src/vpn-manager/nm-vpn-manager.c
17588 - Remove duplicate VPNConnectionChange signal
17590 2005-04-27 Dan Williams <dcbw@redhat.com>
17592 Patch from Peter Jones:
17593 * Remove usage of varargs to fix crashes on PPC (RH #154336)
17595 Patch from Bill Moss:
17596 * src/NetworkManagerSystem.c
17597 - Fix checking of return value from ioctl()
17599 2005-04-27 Dan Williams <dcbw@redhat.com>
17601 * Fix choosing of wireless networks and "Other wireless network..." from the applet
17602 * Warn and exit if icons cannot be found
17604 2005-04-27 Dan Williams <dcbw@redhat.com>
17606 Patch from Tom Parker:
17607 * Update debian backend
17609 2005-04-27 Dan Williams <dcbw@redhat.com>
17611 * Merge the applet and the info-daemon, and move the converged
17612 applet under gnome/applet
17613 * Move libnm_glib to gnome/libnm_glib
17614 * Convert most dbus calls between the applet, info-daemon, and NM
17616 * Fix a few things valgrind noticed
17617 * Make NM broadcast state more reliably
17619 2005-04-22 Pawan chitrakar <pawan@nplinux.org>
17621 * configure.in: Added ne in ALL_LINGUAS
17623 2005-04-15 Dan Williams <dcbw@redhat.com>
17625 * libnm_glib/libnm_glib: Fix up for dbus-0.32, and remove
17626 code for dbus 0.2x versions
17628 2005-04-15 Dan Williams <dcbw@redhat.com>
17630 Patches from Tom Parker:
17632 - Join with worker thread rather than polling for its exit
17634 Patch from Bill Moss:
17635 - Cull duplicate ESSIDs from the scan list, taking highest strength AP
17637 2005-04-15 Dan Williams <dcbw@redhat.com>
17639 - Fixes to pass 'make distcheck'
17641 2005-04-15 Dan Williams <dcbw@redhat.com>
17643 Initial VPN Support
17645 - reworks device IP configuration, backend files have changed and will need
17646 to be updated for all distributions. I will try to do what I can for
17647 them, but I cannot test them.
17649 - Move named directory to src/named-manager
17650 - Make backends directory self-contained
17652 2005-04-06 Dan Williams <dcbw@redhat.com>
17654 Add debug code for socket/file descriptor leaks. We register every socket
17655 that we open (except for stuff in dhcpcd/) for tracking, and print out the
17656 list of sockets that we forgot to close on shutdown. This also consolidates
17657 about 4 places where we opened sockets into 1 function in NetworkManagerUtils.c
17659 2005-04-06 Dan Williams <dcbw@redhat.com>
17662 - (dhcp_interface_free): fix a file descriptor leak that may have
17663 caused network drivers to not unload due to refcounts > 0
17665 2005-04-04 Dan Williams <dcbw@redhat.com>
17667 * panel-applet/NMWirelessAppletDbus.c
17668 - (nmwa_dbus_call_nm_method): remove some commented code
17670 * src/NetworkManagerAPList.[ch]
17671 - (nm_ap_list_remove_ap_by_essid): new function
17673 * src/NetworkManagerDevice.c
17674 - (nm_device_wireless_force_use): remove access points from the ignore list
17675 when the user forces them
17677 * src/nm-dbus-device.c
17678 - (nm_dbus_device_get_active_network): fix up escaping of object paths
17680 2005-04-04 Dan Williams <dcbw@redhat.com>
17682 Patch from Tom Parker: include "nm-utils.h" for backend files that need it
17684 2005-04-04 Dan Williams <dcbw@redhat.com>
17686 * src/NetworkManagerDevice.c:
17687 - (nm_completion_scan_has_results): restore pre-completion-patch behavior
17688 of only erroring after the second consecutive scan times out. Also
17689 don't exit when the card requires more time than we can give it, just
17690 log the event and continue.
17692 2005-04-01 Steve Murphy <murf@e-tools.com>
17694 * configure.in: Added "rw" to ALL_LINGUAS.
17696 2005-04-01 Dan Williams <dcbw@redhat.com>
17698 Perform scans during device activation, if needed. Both activation
17699 and scans run in the same GMainContext. Therefore, if an access point
17700 is not found by the time the device starts activation, it will not
17701 be available until after activation. We now try to scan during
17702 activation (in nm_wa_test) every 15s so that all available access
17703 points are more likely to be found and available for the activation
17706 Also change nm_wireless_link_state_handle() to only update the "best"
17707 AP if we are not forcing a device and if we are not about to change
17708 state. This attempts to work around a race when forcing a device,
17709 where the forced AP would get cleared out too soon by the link state
17710 checking timeout in the main thread, and the activation attempt with
17711 that AP would fail.
17713 2005-04-01 Dan Williams <dcbw@redhat.com>
17716 - Update with new translatables
17718 2005-03-31 Dan Williams <dcbw@redhat.com>
17720 * panel-applet/NMWirelessAppletDbus.c
17721 - Fix device names now that hal has changed device parenting for
17724 2005-03-31 Dan Williams <dcbw@redhat.com>
17726 Tighten up handling of wireless devices that don't support wireless
17727 scanning (ie, Orinoco). Due to restructuring of code, these devices
17728 hadn't been doing pseudo-scanning for a while either and would just
17729 spin waiting for an access point. They are now manual devices where
17730 the user must choose the access point from the menu every time. All
17731 "allowed" access points are listed in the applet's menu regardless
17732 of whether or not they can be seen by the card, since it can't scan
17735 * src/NetworkManager.c
17736 - (nm_wireless_link_state_handle): new function, but only update
17737 the "best" ap for non-scanning devices when its not activating,
17738 and when no device is being forced on the card
17739 - (nm_link_state_monitor): split wireless link state handling out
17740 into separate function
17742 * src/NetworkManagerDevice.c
17743 - (nm_device_copy_allowed_to_dev_list): new function
17744 - (nm_device_new): populate non-scanning cards' AP lists with
17745 access points from the "allowed" list
17746 - (nm_device_new): don't start a scanning timeout for devices that
17748 - (nm_device_activation_schedule_finish): new parameter, should be
17749 the AP that failed to be connected to, pass it on to the
17750 activation finish function in NetworkManagerPolicy.c
17751 - (nm_device_activate_wireless): don't ever try to get a new AP
17752 for non-scanning devices, just fail. The user must choose
17753 a new access point manually.
17754 - (nm_device_activate): grab the AP that failed connection and
17756 - (nm_device_update_best_ap): Clear the best AP if we don't have
17757 a link to it, user must manually choose a new one
17758 - (nm_device_do_pseudo_scan): remove function
17759 - (nm_device_wireless_process_scan_results): remove bits for non-
17760 scanning cards since they never get here
17761 - (nm_device_wireless_scan): remove bits for non-scanning devices,
17762 and fake the scan list for test devices a bit earlier
17764 * src/NetworkManagerPolicy.c
17765 - (nm_policy_activation_finish): use the failed_ap that we get
17766 passed rather than getting the best_ap from the card, which
17767 may have changed since we were scheduled
17768 - (nm_policy_allowed_ap_list_update): for non-scanning devices,
17769 update their scan list directly from the allowed list when
17770 we get updates to the allowed list from NetworkManagerInfo
17772 * src/NetworkManagerPolicy.h
17773 - New member for failed access point in NMActivationResult
17775 -------------------------------------
17777 Driver Notification patch: notifies the user when their driver
17778 sucks. Gives them the option to ignore further insertions
17779 of the card that has the sucky driver.
17782 - Remove the SEMI_SUPPORTED member from the NMDriverSupportLevel
17783 enum and replace it with NO_CARRIER_DETECT and
17786 * panel-applet/NMWirelessApplet.[ch]
17787 - Merge essid.glade -> wireless-applet.glade
17788 - Implement the "Your driver sucks" notification dialog
17790 * panel-applet/NMWirelessAppletDbus.c
17791 - Change stuff from getSupportsCarrierDetect->getDriverSupportLevel
17792 - Grab hardware address for each device from NM too
17793 - Check whether the driver for each device sucks or not whenever
17794 a new device is noticed
17796 * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17797 - Deal with stuff being in wireless-applet.glade now rather than essid.glade
17799 * src/NetworkManager.c
17800 - Fix a double-unref on device removal
17802 * src/NetworkManagerUtils.c
17803 - Set appropriate driver support level on a device that doesn't
17804 support scanning or carrier detection
17806 * src/nm-dbus-device.c
17807 - New "getHWAddress" dbus method on devices
17808 - getSupportsCarrierDetect -> getDriverSupportLevel
17810 2005-03-31 Dan Williams <dcbw@redhat.com>
17812 * src/NetworkManagerDevice.c
17813 - (nm_device_wireless_scan): Fix leak of scan results in some
17816 2005-03-29 Dan Williams <dcbw@redhat.com>
17818 * src/NetworkManager.c
17819 - (nm_poll_and_update_wireless_link_state): make code less indented
17821 Patch from Bill Moss:
17822 * src/NetworkManager.c
17823 - (nm_device_update_link_state): Update signal strength on wireless
17824 devices every time we update link state too.
17826 2005-03-29 Dan Williams <dcbw@redhat.com>
17828 * src/NetworkManagerDevice.c
17829 - (nm_device_set_essid): Work around Orinoco cards which need
17830 extra time after setting the ESSID
17832 2005-03-29 Dan Williams <dcbw@redhat.com>
17834 * src/NetworkManagerDevice.c
17835 - Merge one more bit of Peter Jones' completion patch
17837 2005-03-29 Dan Williams <dcbw@redhat.com>
17839 * src/NetworkManagerDevice.c
17840 - (nm_device_force_use): Fix possible segfault
17842 2005-03-29 Dan Williams <dcbw@redhat.com>
17844 * src/NetworkManagerDevice.c
17845 - Use iw_get_ext() where we should rather than iw_set_ext()
17847 2005-03-29 Dan Williams <dcbw@redhat.com>
17849 * src/NetworkManagerDevice.c
17850 - (nm_device_set_up_down): remove check for unsupported devices
17851 that caused NM to not bring devices up when they were
17852 added to the device list.
17854 2005-03-28 Dan Williams <dcbw@redhat.com>
17856 * src/NetworkManagerDevice.c
17857 - (mdio_read): Fix two bugs that caused all devices to fail
17858 the MII carrier detection support checks
17860 2005-03-26 Dan Williams <dcbw@redhat.com>
17862 * src/NetworkManagerDevice.c
17863 - (nm_device_wireless_scan): Remove duplicated scanning code
17865 2005-03-25 Dan Williams <dcbw@redhat.com>
17867 * panel-applet/NMWirelessApplet.c
17868 - (nmwa_about_cb): Add some more contributors
17869 - (nmwa_update_state): show the applet when there's no connection
17870 - Enable the "Stop/Resume all wireless devices" option in the
17872 - New "no connection" icon
17874 * src/NetworkManager.c
17875 - (nm_poll_and_update_wireless_link_state): don't do anything if
17876 wireless is disabled or we're asleep
17878 * src/NetworkManagerDHCP.c
17879 - Remove trailing "\n" on debug messages
17881 * src/NetworkManagerDbus.c
17882 - (nm_dbus_network_status_from_data): new state "asleep"
17884 * src/NetworkManagerDevice.c
17885 - Merge most of Peter Jones' "completion" patch that greatly reduces
17886 latency and wait times for most operations
17887 - (nm_device_wireless_scan): Don't scan when asleep
17889 * src/NetworkManagerPolicy.c
17890 - (nm_policy_get_best_device): return no device when asleep
17891 - (nm_policy_allowed_ap_list_update): From Bill Moss: merge properties
17892 for all wireless devices on update, not just active device
17894 * src/NetworkManagerUtils.c
17895 - Merge Peter Jones' "completion" patch
17898 - (nm_dbus_nm_set_wireless_enabled): bring down wireless devices when
17899 we're told to disable them
17900 - (nm_dbus_nm_sleep, nm_dbus_nm_wake): new functions for sleep/wake
17903 - New variants of the warn/info/error/debug print functions that can take
17904 variables rather than static strings
17906 2005-03-24 Dan Williams <dcbw@redhat.com>
17908 * src/NetworkManagerUtils.c
17909 - (nm_get_device_driver_name): driver names are now on the parents of
17910 "Network Interface" objects, so look for them there
17912 2005-03-24 Dan Williams <dcbw@redhat.com>
17915 - Escape some forgotten object paths before we shove them through dbus
17917 2005-03-24 Dan Williams <dcbw@redhat.com>
17919 * dhcpcd/dhcpcd.[ch]
17920 src/NetworkManagerDHCP.c
17921 - Switch names from "*_record_*" -> "*_element_*" to clarify things a bit
17922 (ie, dhcp_option_record_len -> dhcp_option_element_len)
17924 * src/NetworkManagerDbus.c
17927 * src/nm-dbus-dhcp.c
17928 - Make the API suck less. There is now only 1 type of each function,
17929 ie only "getInteger" and no longer also "getIntegerv". All types
17930 are returned encapsulated in a DBUS_TYPE_ARRAY, even for options
17931 that will never have more than 1 element. This should simplify
17934 * test/nm-dhcp-opt-test.c
17935 - Make the tool not segfault
17936 - adapt to new DHCP Options API
17938 2005-03-22 Dan Williams <dcbw@redhat.com>
17940 * src/NetworkManager.c
17941 - (nm_wired_link_deactivated): actually ignore netlink events from
17944 2005-03-22 Dan Williams <dcbw@redhat.com>
17946 * src/NetworkManager.c
17947 - (nm_wired_link_activated): actually ignore netlink events from
17950 2005-03-17 Dan Williams <dcbw@redhat.com>
17952 Patch from Tom Parker:
17953 * src/nm-netlink-monitor.c
17955 * info-daemon/NetworkManagerInfoDbus.c
17956 - (nmi_dbus_update_network_auth_method): free GConf values
17958 Patch from Nathaniel McCallum <npmccallum@gentoo.org>:
17959 * src/NetworkManagerDevice.c
17960 - (nm_device_set_wireless_config): wait for successful
17961 association longer for some cards (Atheros a/b/g)
17963 2005-03-15 Ray Strode <rstrode@redhat.com>
17965 * src/NetworkManager.c:
17966 (sigterm_pipe_handler):
17969 2005-03-15 Ray Strode <rstrode@redhat.com>
17971 * src/NetworkManagerDbus.c:
17972 Fix some sign weirdness that gcc4 doesn't like,
17973 and add a header file so PPC can hopefully find
17976 2005-03-14 Ray Strode <rstrode@redhat.com>
17978 Fourth (probably working) cut at porting to
17979 dbus 0.30 api and new hal. This cut adds
17980 some new logging macros to make debugging
17983 * dispatcher-daemon/NetworkManagerDispatcher.c:
17984 * info-daemon/NetworkmanagerInfo.c:
17985 * info-daemon/NetworkManagerInfoPassphraseDialog.c:
17986 * info-daemon/NetworkManagerInfoVPN.c:
17987 * src/NetworkManager.c:
17988 * src/NetworkManagerAP.c:
17989 * src/NetworkManagerAPList.c:
17990 * src/NetworkManagerDHCP.c:
17991 * src/NetworkManagerDbus.c:
17992 * src/NetworkManagerDevice.c:
17993 * src/NetworkManagerPolicy.c:
17994 * src/NetworkManagerSystem.c:
17995 * src/NetworkManagerUtils.c:
17996 * src/NetworkManagerWireless.c:
17998 * src/nm-dbus-nm.c:
17999 * src/backends/NetworkManagerDebian.c:
18000 * src/backends/NetworkManagerGentoo.c:
18001 * src/backends/NetworkManagerRedHat.c:
18002 * src/backends/NetworkManagerSlackware.c:
18003 use new logging macros.
18005 * dispatcher-daemon/NetworkManagerDispatcher.c:
18006 (nmd_dbus_filter): s/dbus_free/g_free/
18008 * info-daemon/Makefile.am: link in utils library.
18009 * info-daemon/NetworkmanagerInfo.c: use new logging
18011 (nmi_dbus_get_network): don't assume enumerations
18013 (nmi_dbus_nmi_message_handler): don't free what
18014 doesn't belong to us.
18016 * libnm_glib/libnm_glib.c:
18017 (libnm_glib_get_nm_status):
18018 (libnm_glib_init): don't free what doesn't
18020 (libnm_glib_dbus): strdup result, so it doesn't get
18021 lost when message is unref'd.
18023 * panel-applet/NMWirelessAppletDbus.c:
18024 (nmwa_dbus_update_devices): s/dbus_free/g_free/
18026 * src/NetworkManager.c:
18027 (nm_monitor_wired_link_state): request initial status
18028 dump of all cards when we start up, instead of relying
18029 on /sys/.../carrier.
18030 (nm_info_handler), (nm_set_up_log_handlers):
18031 log handlers to specify what syslog priorites
18032 the logging macros default to.
18034 * src/NetworkManagerAPList.c:
18035 (nm_ap_list_populate_from_nmi):
18036 s/dbus_free_string_array/g_strfreev/
18038 * src/NetworkManagerDbus.c:
18039 (nm_dbus_get_network_object):
18040 validate d-bus message argument types.
18041 Advance message iterator after reading argument,
18042 prepend instead of append to GSList.
18044 * src/NetworkManagerDevice.c:
18045 (nm_device_probe_wired_link_status):
18046 remove redundant /sys in /sys path. remove wrong
18047 contents == NULL means has carrier assumption.
18049 * src/nm-netlink-monitor.c
18050 (nm_netlink_monitor_request_status): implement
18051 function to ask kernel to dump interface link
18052 status over netlink socket.
18054 * test/*.c: s/dbus_free/g_free/
18056 * utils/nm-utils.h:
18057 (nm_print_backtrace): new macro to print backtrace.
18058 (nm_get_timestamp): new macro to get sub-second precise
18060 (nm_info), (nm_debug), (nm_warning), (nm_error):
18061 new logging functions. nm_info just prints,
18062 nm_debug includes timestamp and function,
18063 nm_warning includes function, nm_error includes
18064 backtrace and sigtrap.
18066 2005-03-11 Ray Strode <rstrode@redhat.com>
18068 Third (unfinished, partially working) cut at porting to
18069 dbus 0.30 api and new hal.
18071 * info-daemon/NetworkManagerInfoDbus.c:
18072 don't free null arrays.
18074 * panel-applet/NMWirelessAppletDbus.c:
18075 * src/nm-dbus-device.c:
18076 * src/nm-dbus-net.c:
18077 * src/NetworkManagerDbus.c: more
18078 STRING -> OBJECT_PATH fun
18079 * src/NetworkManagerDevice.c:
18080 * src/NetworkManagerDevice.h:
18081 (rename nm_device_get_link_active): rename to
18082 nm_device_has_active_link
18083 (nm_device_wireless_link_active): rename to
18084 nm_device_probe_wireless_link_state
18085 (nm_device_wired_link_active): rename to
18086 nm_device_probe_wired_link_state. Rewrite to
18087 use carrier file since hal doesn't maintain
18088 link state anymore.
18089 (nm_device_update_link_active): rename to
18090 nm_device_update_link_state
18091 * src/NetworkManagerPolicy.c
18092 (nm_policy_activation_finish): check for NULL
18096 * src/NetworkManagerMain.h:
18097 * src/NetworkManager.c:
18098 * src/nm-netlink-monitor.c:
18099 * src/nm-netlink-monitor.h: New class to support
18100 monitoring wired ethernet link status, since HAL
18101 doesn't export that information anymore.
18103 2005-03-09 Ray Strode <rstrode@redhat.com>
18105 Second (unfinished, unworking) cut at porting to
18108 * dispatcher-daemon/NetworkManagerDispatcher.c:
18109 * info-daemon/NetworkManagerInfoDbus.c:
18110 * panel-applet/NMWirelessAppletDbus.c:
18111 * src/NetworkManagerDbusUtils.c:
18112 * src/NetworkManagerDbusUtils.h:
18113 * src/nm-dbus-device.c:
18114 * src/nm-dbus-nm.c:
18115 * test/nmtest.c: support dbus "object path" type
18119 * info-daemon/Makefile.am:
18120 * libnm_glib/Makefile.am:
18121 * panel-applet/Makefile.am:
18122 * dispatcher-daemon/Makefile.am
18124 * test/Makefile.am:
18125 * utils/Makefile.am:
18126 * utils/nm-utils.c:
18127 * utils/nm-utils.h: new utils static lib
18129 2005-03-07 Ray Strode <rstrode@redhat.com>
18131 * info-daemon/NetworkManagerInfoDbus.c:
18132 * libnm_glib/libnm_glib.c:
18133 * panel-applet/NMWirelessAppletDbus.c:
18134 * src/NetworkManager.c:
18135 * src/NetworkManagerDbus.c:
18136 * src/NetworkManagerDevice.c:
18137 * src/NetworkManagerUtils.c:
18138 * src/nm-dbus-device.c:
18139 * src/nm-dbus-dhcp.c:
18140 * src/nm-dbus-net.c:
18141 * src/nm-dbus-nm.c:
18142 * test/nminfotest.c:
18143 First (unfinished, unworking) cut at porting to dbus 0.30 api.
18145 2005-03-04 Dan Williams <dcbw@redhat.com>
18150 2005-03-04 Dan Williams <dcbw@redhat.com>
18152 Patch from Peter Jones:
18153 - Make stuff work with gcc 4.0
18155 2005-02-28 Maxim Dziumanenko <mvd@mylinux.com.ua>
18157 * uk.po: Added "uk" (Ukrainian) to ALL_LINGUAS.
18159 2005-02-27 Jim Huang <jserv@kaffe.org>
18161 * configure.in: Added "zh_TW" (Traditional Chinese) to ALL_LINGUAS.
18163 2005-02-27 Dan Williams <dcbw@redhat.com>
18165 Patch from Bill Moss:
18166 * panel-applet/NMWirelessAppletDbus.c
18167 - Make sure strength for current access point is up-to-date when we
18168 update the gui data model
18170 2005-02-27 Alessio Frusciante <algol@firenze.linux.it>
18172 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
18174 2005-02-27 Dan Williams <dcbw@redhat.com>
18176 * src/backends/NetworkManagerRedHat.c
18177 - (nm_system_init): Kill any dhclient processes lying around as well
18178 as stopping 'nifd' if its already been started. NetworkManager
18179 subsumes the functions of nifd (kicking mDNSResponder, autoip)
18181 2005-02-27 Dan Williams <dcbw@redhat.com>
18183 * panel-applet/NMWirelessApplet.c
18184 - (nmwa_destroy): Really mean to destroy GUI data model first, then
18185 dbus data model, not the GUI data model twice.
18187 2005-02-27 Dan Williams <dcbw@redhat.com>
18189 * panel-applet/NMWirelessApplet.[ch]
18190 panel-applet/NMWirelessAppletDbus.[ch]
18191 - Move to incremental network updates. Instead of blowing away our list
18192 of devices every time we get a signal from NetworkManager, we now
18193 incrementally add/remove networks when NetworkManager notifies us that
18194 a new network has appeared or disappered. Strength updates now happen
18195 on-the-fly for each access point as well. There are now two copies of
18196 data from NetworkManager: one for the dbus side, and one for the gui side.
18197 When the dbus side data is modified, it is copied over to the gui side
18198 so we don't have to hold the data_mutex for long periods of time (and
18199 therefore block animation of the applet's icon).
18200 - Clean up some memleaks too
18202 * panel-applet/NMWirelessAppletOtherNetworkDialog.c
18203 - Minor code beautification
18205 * src/NetworkManagerAPList.c
18206 - (nm_ap_list_merge_scanned_ap): return whether or not the access point is
18207 completely new and whether or not an existing one's strength was updated.
18208 Try to fix multiple access points and signal strength by using the highest
18209 signal strength in each scan for any given ESSID.
18211 * src/NetworkManagerDbus.[ch]
18212 - (nm_dbus_signal_wireless_network_change): consolidate signals that deal with
18213 wireless networks; now we have only WirelessNetworkUpdate which includes
18214 a UINT32 for Appeared, Disappeared, or StrengthChanged (see NetworkManager.h).
18215 - Kill usage of DbusMessageIter
18217 * src/NetworkManagerDevice.c
18218 - (nm_device_wireless_process_scan_results): Use the same timestamp for all APs
18219 in the same scan result list. Copy ESSIDs-by-address earlier on, for each
18220 AP rather than all-at-once. Also don't ever remove the AP a card is
18221 currently associated with from the network list.
18222 - Update for new signals during scan, send out Appeared, Disappeared, or
18223 StrengthChanged when necessary.
18225 2005-02-25 Dan Williams <dcbw@redhat.com>
18228 - Line break the README
18230 2005-02-25 Dan Williams <dcbw@redhat.com>
18232 * panel-applet/NMWirelessAppletOtherNetworkDialog.c
18233 - Remove usage of gtk_window_set_default_size()
18235 * panel-applet/essid.glade
18236 - Stick default size here
18237 - Add in random crap that current glade wants to add in now
18239 2005-02-25 Dan Williams <dcbw@redhat.com>
18241 * src/backends/NetworkManagerRedHat.c
18242 - For non-caching-nameserver/non-named case, ensure that nscd is running
18243 and that we actually tell nscd to reload the hosts cache when it changes
18245 2005-02-25 Dan Williams <dcbw@redhat.com>
18247 * info-daemon/NetworkManagerInfoDbus.c
18248 - (nmi_dbus_get_network_properties): whack usage of DbusMessageIter
18250 * test/nminfotest.c
18251 - Whack usage of DbusMessageIter
18252 - Clean up DbusError and DbusMessage handling and freeing
18253 - Remove unused unregister handler
18256 - Whack usage of DbusMessageIter
18258 * test/nmtestdevices.c
18259 - Whack usage of DbusMessageIter
18261 2005-02-25 Dan Williams <dcbw@redhat.com>
18264 - New signal type NMNetworkStatus in preparation for the "WirelessNetworkUpdate"
18267 2005-02-25 Dan Williams <dcbw@redhat.com>
18269 * named/nm-named-manager.c
18270 - Ensure that pid and watch variables for child named process get cleared out
18271 when the child goes away.
18273 2005-02-22 Dan Williams <dcbw@redhat.com>
18275 * src/NetworkManagerPolicy.c
18276 - (nm_policy_activation_finish): Deactivate a device if its activation fails,
18277 and NULL out data->active_device so that we have to choose another one.
18278 This may make NetworkManager keep attempting to connect to a wired network
18279 if it fails, but if it keeps failing the wired network has more problems than
18280 just NetworkManager.
18282 * src/backends/NetworkManagerRedHat.c
18283 - (nm_system_update_dns): fix to actually run nscd -i hosts when nscd
18286 * named/nm-named-manager.c
18287 - (rewrite_resolv_conf): Call nm_system_update_dns() when not using
18288 named so that the distro can flush whatever name service caching
18291 2005-02-21 Dan Williams <dcbw@redhat.com>
18293 * src/NetworkManagerDHCP.[ch]
18294 - (nm_device_dhcp_remove_timeouts): new function
18296 * src/NetworkManagerDevice.c
18297 - Use nm_device_dhcp_remove_timeouts() everywhere that we need to
18298 remove the DHCP timeouts.
18300 2005-02-21 Dan Williams <dcbw@redhat.com>
18302 * panel-applet/NMWirelessApplet.[ch]
18303 panel-applet/menu-info.[ch]
18304 - Give the panel applet some major love: menu items are no longer
18305 subclasses of GtkCheckMenuItem, they are actual GtkCheckMenuItems.
18306 This allows the applet to actually reflect theme changes correctly,
18307 since themeing of subclassed items in GTK _sucks_.
18309 2005-02-18 Dan Williams <dcbw@redhat.com>
18311 * libnm_glib/libnm_glib.[ch]
18312 test/libnm_glib_test.c
18313 - Clean up libnm_glib API a bit, callback is now passed a libnm_glib_ctx
18314 and its data, and doesn't have to free the callback data anymore
18316 2005-02-18 Dan Williams <dcbw@redhat.com>
18318 * panel-applet/NMWirelessApplet.c
18319 - Revert 2005-02-18 William Jon McCann fix for standard
18320 copyright string until it passes 'make distcheck'.
18321 With standard copyright string, xgettext complains
18322 about "Non-ASCII string at ...".
18324 2005-02-18 Dan Williams <dcbw@redhat.com>
18326 * panel-applet/essid.glade
18327 panel-applet/NMWirelessAppletOtherNetworksDialog.c
18328 - Correct spelling of "adaptor"->"adapter"
18330 2005-02-18 William Jon McCann <mccann@jhu.edu>
18332 * panel-applet/NMWirelessApplet.c: Use GTK_CHECK_VERSION() macro.
18333 (nmwa_about_cb): Use standard copyright string. Update comment
18334 text to reflect that it is a notification area applet. Remove
18335 leading newline in authors list.
18336 (nmwa_menu_show_cb, nmwa_setup_widgets): Populate menu on show
18337 instead of on parent menu item activation. Fixes #167550.
18339 2005-02-18 William Jon McCann <mccann@jhu.edu>
18341 * panel-applet/essid.glade: Capitalize items as per HIG.
18344 2005-02-16 William Jon McCann <mccann@jhu.edu>
18346 * panel-applet/gtkcellrendererprogress.[ch]: Only compile these
18347 files for GTK 2.4 or lower, since now public in GTK 2.6.
18349 * panel-applet/essid.glade: Don't specify window size.
18351 2005-02-17 Dan Williams <dcbw@redhat.com>
18353 Caught by Bill Moss:
18355 - Time remaining for DHCP transaction calculation was incorrectly
18356 inside a #ifdef DEBUG
18358 2005-02-15 Christophe Merlet <redfox@redfoxcenter.org>
18360 * configure.in: Added fr (French) to ALL_LINGUAS.
18362 2005-02-14 Dan Williams <dcbw@redhat.com>
18364 * src/NetworkManagerDHCP.c
18365 - (set_domain_searches): Fix free of invalid pointer
18367 2005-02-14 Dan Williams <dcbw@redhat.com>
18369 Patch from Peter Jones:
18371 - Ensure we return RET_DHCP_CEASED everywhere we should
18372 * dhcpcd/udpipgen.c
18373 - Use faster TOS for IP packets
18374 - Don't set ip_id since we're UDP
18376 Patch from Tomislav Vujec:
18377 * src/nm-dbus-dhcp.c
18378 test/nm-dhcp-opt-test.c
18379 - Clean up warnings to enable cvs tree compilation.
18381 2005-02-14 Tomislav Vujec <tvujec@redhat.com>
18385 - Add the Croatian locale.
18387 2005-02-14 Colin Walters <walters@verbum.org>
18389 * src/NetworkManagerDHCP.c (set_domain_searches): Handle space-separated
18390 list of domains to search.
18392 * src/NetworkManagerMain.h (NMData): Handle multiple domain searches.
18394 2005-02-13 Dan Williams <dcbw@redhat.com>
18397 - Debug output cleanups of DHCP option printing and parsing.
18399 2005-02-13 Dan Williams <dcbw@redhat.com>
18401 Patch from Dan Reed: DHCP options D-BUS API
18402 Exposes the DHCP options that a device receives to clients over D-BUS.
18408 - Correct names, option length, and types for DHCP options
18410 * dhcpcd/dhcpcd.[ch]
18411 - Clarify function names that access DHCP options & data
18413 * src/NetworkManagerDHCP.c
18414 - Use new DHCP data access functions
18416 * src/NetworkManagerDbus.c
18417 - Message handler for DHCP functions
18419 * src/nm-dbus-dhcp.[ch] (new)
18420 - DHCP dbus methods
18422 * test/nm-dhcp-opt-test.c
18423 - Test DHCP D-BUS API and return all present DHCP options
18425 2005-02-12 Dan Williams <dcbw@redhat.com>
18428 test/nmclienttest.c
18430 - Move nmclienttest.c -> nmtest.c
18432 2005-02-12 Dan Williams <dcbw@redhat.com>
18434 * dhcpcd/buildmsg.c
18435 - Pad DHCP packets until they are at least 300 bytes in size.
18437 2005-02-11 Dan Williams <dcbw@redhat.com>
18440 - (dhcp_init): only print out client ID and class ID if they are specified
18442 * src/NetworkManagerDbus.[ch]
18443 src/nm-dbus-nm.[ch]
18444 src/nm-dbus-device.[ch]
18445 src/nm-dbus-net.[ch]
18446 - Move NM, Device, and Net functions to separate files and use the
18447 dbus method list stuff in NetworkManagerDbusUtils.c to do
18450 * src/NetworkManagerDbusUtils.c
18451 - Add new validate_method called before each dispatch (if present)
18452 that can validate the method call
18454 * src/NetworkManagerWireless.c
18455 - (nm_wireless_qual_to_percent): Fix misplaced "!" that caused signal
18456 levels never to be evaluated
18458 Patch from j@bootlab.org
18459 * src/NetworkManagerDevice.c
18460 - Add typedef for "u64"
18462 * src/backends/NetworkManagerDebian.c
18463 - Copy in Dave Woodhouse's fixes for IPv6
18465 2005-02-11 Dan Williams <dcbw@redhat.com>
18467 Patch from Dave Woodhouse for IPv6:
18468 * src/NetworkManagerUtils.c
18469 - (nm_ethernet_address_is_valid): Check for prism54 dummy MAC address
18470 and multicast addresses
18472 * src/NetworkManagerDevice.c
18473 - (nm_device_set_up_down): make sure our cached MAC address is up-to-date
18474 after bringing up a card.
18476 2005-02-10 Dan Williams <dcbw@redhat.com>
18478 Patch from Dave Woodhouse:
18479 * src/NetworkManagerSystem.h
18480 src/backends/NetworkManagerDebian.c
18481 src/backends/NetworkManagerGentoo.c
18482 src/backends/NetworkManagerSlackware.c
18483 - New nm_system_device_add_ip6_link_address() function to add link-local
18484 address on an interface. Stubbed in Debian, Gentoo, and Slackware.
18486 * src/backends/NetworkManagerRedHat.c
18487 - (nm_system_device_add_ip6_link_address): implement
18488 - (nm_system_device_flush_addresses): revert to previous behavior of
18489 flushing all addresses
18491 2005-02-10 Dan Williams <dcbw@redhat.com>
18493 Patch from Tom Parker:
18494 * src/NetworkManagerDevice.c
18495 - Remove the "#include <pci/types.h>" since both the ethtool.h and
18496 mii.h headers are broken, and instead use our own typedefs
18498 2005-02-10 Dan Williams <dcbw@redhat.com>
18500 * dhcpcd/buildmsg.c
18501 - (fill_host_and_class_id): only fill in client and class IDs if
18502 they are set by callers.
18505 - (class_id_setup): don't autogenerate a class ID, only use one
18506 we're given, if any.
18507 - (client_id_setup): don't autogenerate a client ID, only use one
18508 we're given, if any.
18511 - (dhcp_interface_init): ensure that client options are correctly
18514 * src/NetworkManagerDHCP.c
18515 - (nm_device_dhcp_request): pass hostname to dhcp library
18517 2005-02-10 Dan Williams <dcbw@redhat.com>
18520 - #rh147661# Don't send kernel version in DHCP requests
18522 * src/NetworkManagerSystem.h
18523 src/backends/NetworkManagerDebian.c
18524 src/backends/NetworkManagerGentoo.c
18525 src/backends/NetworkManagerRedHat.c
18526 src/backends/NetworkManagerSlackware.c
18527 - Remove the nm_system_device_run_dhcp() and nm_system_device_stop_dhcp()
18528 functions, they are no longer used anyway
18530 * src/backends/NetworkManagerRedHat.c
18531 - (nm_system_device_flush_addresses): only flush "scope global" and "scope site"
18532 addresses in an attempt to keep IPv6 local-scope addresses around
18534 2005-02-10 Dan Williams <dcbw@redhat.com>
18536 * src/NetworkManager.c
18537 - (nm_create_device_and_add_to_list): change the add message slightly
18539 * src/NetworkManagerUtils.c
18540 - (nm_get_wireless_driver_support_level, nm_get_wired_driver_support_level):
18541 Return driver name to calling function
18542 - (nm_get_driver_support_level): print out the driver a device is using
18543 during the support check
18545 Patch from Dave Woodhouse:
18546 * dhcpcd/udpipgen.c
18547 - (in_cksum): copy last byte of odd-sized packets into a
18548 'u_short' rather than a 'u_char', should fix wrong checksums
18549 on big-endian platforms
18551 2005-02-09 Dan Williams <dcbw@redhat.com>
18553 * Clean up usage of GSList objects and looping through their members
18554 * Clean up DHCP rebind/renew timeouts, hopefully they will work correctly
18556 * Fix problem where even if scanning was turned off, card would still
18557 cycle through frequencies.
18559 2005-02-08 Dan Williams <dcbw@redhat.com>
18561 * panel-applet/NMWirelessApplet.c
18564 2005-02-08 Dan Williams <dcbw@redhat.com>
18566 Patch from Bill Moss
18567 * panel-applet/NMWirelessApplet.c
18568 - Restore correct ESSID in tooltips
18570 2005-02-07 Dan Williams <dcbw@redhat.com>
18572 * panel-applet/NMWirelessApplet.[ch]
18573 - Add a context menu that contains:
18574 Pause/Resume Wireless Scanning
18575 Stop/Start All Wireless Devices
18577 - Grab active device strength off active device,
18580 * panel-applet/NMWirelessAppletDbus.[ch]
18581 - Add DBUS accessors for "getSupportsCarrierDetect", "setScanningEnabled",
18582 "getScanningEnabled", "setWirelessEnabled", and "getWirelessEnabled"
18583 - Update active device strength every 2 seconds, not every 1 second
18585 * panel-applet/menu-info.c
18586 - Only disable wired devices in the menu when they support carrier detection,
18587 and don't currently have a link. Non-carrier-detect devices will always
18591 src/NetworkManagerDbusUtils.[ch]
18592 - Add new new dbus utils sources
18594 * src/NetworkManager.c
18595 - Fixes for new link detection, we no longer need to call nm_device_update_link_active()
18596 with the boolean parameter
18597 - Set scanning_enabled & wireless_enabled to TRUE
18599 * src/NetworkManagerDbus.c
18600 - Use new dbus util method dispatcher functions for org.freedesktop.NetworkManager methods
18601 - Implement scanning & wireless enable/disable calls
18602 - Remove the dbus vtable unregister handlers, weren't doing anything with them anyway
18604 * src/NetworkManagerDevice.c
18605 - New link detection stuff again...
18606 o Create device's mainloop earlier (but don't run it earlier)
18607 o Hook up new carrier-detect support stuff
18608 o Add in the ethtool & mii support detection code
18609 - Don't scan if scanning is disabled
18611 * src/NetworkManagerPolicy.c
18612 - Never automatically choose a device that doesn't support carrier detection
18613 - Don't automatically choose a wireless device if wireless is disabled
18615 2005-02-07 Dan Williams <dcbw@redhat.com>
18617 * libnm_glib/libnm_glib.c
18618 - Small cleanup in element list iteration
18620 2005-02-07 Dan Williams <dcbw@redhat.com>
18622 * src/NetworkManagerWireless.c
18623 - (nm_wireless_qual_to_percent): Fix up wireless quality calculations
18624 to be in line with the WEXT quality specification
18626 2005-02-02 Dan Williams <dcbw@redhat.com>
18628 Patch from Nathan Fredrickson <nathan@silverorange.com>
18629 * Fix up compile for deprecation of libgnomeui
18630 - Switch to <glib/gi18n.h> from <libintl.h>
18631 - Remove <libgnomeui/libgnomeui.h> includes
18632 - Use gtk_window_set_default_icon_from_file() rather than
18633 gnome_window_set_default_icon_from_file()
18635 * named/nm-named-manager.c
18636 - (generate_named_conf): Fix return-nothing in non-void
18639 2005-02-02 Dan Williams <dcbw@redhat.com>
18641 * Clean up unused variables and the like
18643 2005-02-02 Dan Williams <dcbw@redhat.com>
18645 * src/NetworkManagerAPList.c
18646 - (nm_ap_list_merge_scanned_ap): merge strength too
18648 * src/NetworkManagerUtils.c
18649 - (nm_lock_mutex, nm_register_mutex_desc): new calls to facilitate debugging
18650 of locking issues by printing out prettier information than g_mutex_lock
18651 - Print out names of mutexes registered with nm_register_mutex_desc()
18652 - (nm_try_lock_mutex): don't do the waiting thing when trying to lock, causes
18653 us to seemingly block here for too long
18655 * src/NetworkManager.c
18656 src/NetworkManagerAPList.c
18657 src/NetworkManagerDevice.c
18658 - Convert to using nm_lock_mutex/nm_unlock_mutex rather than the glib variants
18659 so we get better debug information printed
18661 * src/NetworkManagerDbus.c
18662 - (nm_dbus_devices_handle_request): reduce usage of nm_device_need_ap_switch()
18663 since it sometimes has locking side effects
18664 - (nm_device_get_association_pause_value): Reduce 802.11a card pause value to 8s
18666 - (nm_device_need_ap_switch): If we can't acquire the scan lock, return saying
18667 we don't need a switch. This gets called often enough that we can't block
18668 until the scan mutex is acquired, because we'll block on device activation
18669 and a few other things, which hangs main thread for too long.
18671 * src/NetworkManagerPolicy.c
18672 - (nm_policy_auto_get_best_device): reduce the possiblity that
18673 nm_device_need_ap_switch() will be called
18675 2005-02-02 Dan Williams <dcbw@redhat.com>
18677 * panel-applet/NMWirelessApplet.c
18678 - Display name of wireless network we are connecting to or connected to
18679 in the tooltip of the applet
18681 2005-02-02 Dan Williams <dcbw@redhat.com>
18683 * src/NetworkManagerDHCP.c
18684 - Hopefully fix double-default-route problem by cleaning up the default
18685 route added by DHCP code right before the DHCP transaction begins
18687 2005-02-02 Dan Williams <dcbw@redhat.com>
18689 * named/nm-named-manager.c
18690 - Write out valid resolv.conf when we exit
18692 2005-02-01 Dan Williams <dcbw@redhat.com>
18694 Patch from Colin Walters:
18695 * named/nm-named-manager.c
18696 - Make multi-domain search options work
18698 2005-01-31 Dan Williams <dcbw@redhat.com>
18700 * info-daemon/NetworkManagerInfoDbus.c
18701 - (nmi_dbus_nmi_message_handler): make sure 'dialog' exists before using it
18703 * src/NetworkManagerDevice.c
18704 - (nm_device_new): Don't store the entire range struct, use only what we need
18705 (which is currently avg_quality, max_quality, and frequencies). Also
18706 zero device structure when we've free'd it to maybe expose errors down
18708 - (nm_device_update_signal_strength): grab the scan mutex before getting
18709 quality data from the card since quality will be useless during a scan.
18710 Call updated wireless qual-to-percent function with values stored in
18711 nm_device_new() earlier.
18712 - Remove some unused functions (nm_device_get_max_quality(), nm_device_get_noise(),
18713 nm_device_get_bad_crypt_packets())
18714 - (nm_device_activate_wireless_adhoc): use new frequency values we go in
18716 - (get_initial_auth_method): always use the Auth method that's in the allowed
18717 list if available. Problem was this: when the WEP key is wrong, NM will
18718 try OS then SK modes, and then get stuck in SK mode after that. This
18720 - (nm_device_wireless_process_scan_results): work with new qual-to-percent
18723 * src/NetworkManagerWireless.c
18724 - (nm_wireless_qual_to_percent): try to make this function actually work and
18725 mimic iwlib behavior. Use card's idea of quality divided by max_qual
18726 if that's all present, otherwise fall back to signal-to-noise ratios.
18728 2005-01-29 Dan Williams <dcbw@redhat.com>
18730 * initscript/RedHat/NetworkManager
18731 - Don't spit out sysctl stuff to console
18733 * libnm_glib/libnm_glib.c
18734 - (libnm_glib_init): call dbus_g_thread_init()
18736 * panel-applet/NMWirelessAppletDbus.c
18737 - (nmwa_dbus_worker): call dbus_g_thread_init()
18739 * src/NetworkManager.c
18740 - (main): call dbus_g_thread_init()
18742 * src/NetworkManagerAPList.c
18743 - (nm_ap_list_print_members): use LOG_ERR instead of LOG_DEBUG
18744 so we can actually see what's there in a normal syslog
18746 * src/NetworkManagerDevice.c
18747 - (nm_device_activate_wireless): print out the "waiting for access point"
18748 message only once, then say what access point we actually got after
18750 - (nm_device_need_ap_switch): If a scan is in progress when we're in this
18751 function, wait until the scan is done. Scans may change the ESSID of
18752 the card, making this function think we need to switch access points
18753 - (nm_device_wireless_process_scan_results): for artificial access points
18754 don't check against the card's ESSID, but the best_ap's ESSID. This
18755 prevents collisions with the scanning code, which may change the card's
18756 ESSID and cause the access point to get dropped from the device's AP
18757 list. Also increase the keep-around time to 2m from 60s since the max
18758 scan interval could be 60s in some cases.
18760 * src/NetworkManagerPolicy.c
18761 - (nm_policy_activation_finish): Don't add invalid MAC addresses to GConf
18762 - (nm_policy_allowed_ap_list_update): When we update, make sure we copy over
18763 the new properties and ESSIDs to the device's AP list. Fixes some races
18764 between NM and NMI.
18766 2005-01-27 Dan Williams <dcbw@redhat.com>
18768 * info-daemon/NetworkManagerInfoDbus.c
18769 - (nmi_dbus_add_network_address): if the network doesn't yet exist in
18770 GConf, make a minimal entry for it (essid & timestamp)
18772 * src/NetworkManagerAPList.c
18773 - (nm_ap_list_populate_from_nmi): Don't try to grab network data if
18774 NetworkManagerInfo isn't running
18776 * src/NetworkManagerDbus.[ch]
18777 - (nm_dbus_nmi_is_running): new function
18779 * src/NetworkManagerDevice.c
18780 - (nm_device_wireless_force_use): Don't set the created AP's MAC
18781 address to garbage.
18783 * src/NetworkManagerPolicy.c
18784 - (nm_policy_activation_finish): On successful activation, make sure
18785 the "best" AP has a MAC address, and don't tell NMI to add the
18786 current AP's MAC address to GConf if the AP is an Ad-hoc AP.
18787 - (nm_policy_allowed_ap_list_update): Update a wireless card's "best"
18788 access point after refreshing our allowed list if it doesn't already
18789 have a "best" access point.
18791 2005-01-25 Dan Williams <dcbw@redhat.com>
18793 * panel-applet/NMWirelessAppletDbus.c
18794 - (nmwa_dbus_filter): Fix dbus 0.23 ServiceOwnerChanged checks
18795 so we check for NM_DBUS_SERVICE rather than not for it
18797 * libnm_glib/libnm_glib.c
18798 - (libnm_glib_dbus_filter): Fix for dbus 0.23, trapping
18799 ServiceOwnerChanged signal
18801 2005-01-25 Dan Williams <dcbw@redhat.com>
18804 - Check DBUS version in configure, and set the C macros
18805 DBUS_VERSION_[MAJOR,MINOR,MICRO]
18807 * info-daemon/NetworkManagerInfoDbus.c
18808 - Remove #if 0-d section of code that quit NMI if NM went away.
18810 * panel-applet/NMWirelessAppletDbus.c
18811 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
18813 * src/NetworkManager.c
18814 src/NetworkManagerMain.h
18815 src/NetworkManagerDbus.c
18816 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
18817 - Make updating of our Allowed Wireless Network lists from NMI
18818 an idle function in the main thread now, with a high priority.
18820 2005-01-24 Dan Williams <dcbw@redhat.com>
18822 * panel-applet/gtkcellview.[ch]
18823 panel-applet/menu-info.c
18824 - Fix GTK version checks to be <= rather than <
18827 - Include the libtool archive of libnm_glib rather than
18828 trying to pull in the .so
18830 2005-01-24 Dan Williams <dcbw@redhat.com>
18832 * src/NetworkManagerDevice.c
18833 src/NetworkManagerDevicePrivate.h
18834 - Block nm_device_new() until our device's worker thread has had a
18835 chance to start up. Fixes a race between main thread and worker
18836 thread starting that caused activation requests to get lost.
18838 2005-01-24 Dan Williams <dcbw@redhat.com>
18840 * initscript/RedHat/NetworkManager
18841 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
18842 to add the NM startup script at priority 50, which was
18845 2005-01-24 Colin Walters <walters@redhat.com>
18847 * named/named.conf: Use any port for query source instead of
18848 restricting to port 53.
18850 2005-01-24 Dan Williams <dcbw@redhat.com>
18852 * initscript/RedHat/NetworkManager
18853 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
18854 to add the NM startup script at priority 50, which was
18857 2005-01-24 Dan Williams <dcbw@redhat.com>
18859 Patch from Tom Parker <palfrey@tevp.net>
18860 * Fix up compile warnings & errors in the wireless applet
18862 2005-01-24 Dan Williams <dcbw@redhat.com>
18864 * panel-applet/NMWirelessApplet.c
18865 - Convert 24x24 icons back to 22x22 and use the 22x22 ones
18867 2005-01-24 Dan Williams <dcbw@redhat.com>
18869 * panel-applet/gtkcellview.[ch]
18870 - Only compile these files for GTK 2.4 or lower, since
18871 GtkCellView is now public in GTK 2.6. Fixes crasher
18872 when choosing "Other Wireless Networks" from the panel
18875 2005-01-21 Dan Williams <dcbw@redhat.com>
18877 * src/NetworkManager.c
18878 - Daemonize earlier so that glib doesn't get confused (?)
18880 2005-01-21 Dan Williams <dcbw@redhat.com>
18882 * panel-applet/NMWirelessApplet.[ch]
18883 panel-applet/NMWirelessAppletDbus.c
18884 panel-applet/menu-info.c
18885 src/NetworkManagerDevice.c
18886 - Disable wired devices in the menu when they have no link.
18888 2005-01-21 Dan Williams <dcbw@redhat.com>
18890 * Cache last-known-good wireless authentication method in
18891 NetworkManagerInfo, and use that method first during
18892 wireless device activation. Should speed up devices that
18893 need Shared Key authentication method since Open System is
18896 * Remove the hack to not do full activation on wired connections
18897 that are active when we launch, it causes too many problems
18898 with name resolution and was a hack in the first place.
18900 * Re-work wireless device activation again somewhat to have a
18901 clearer chain of events and to use last-known-good
18902 authentication method of the access point. Also provide
18903 better status throughout activation to ensure the applet
18904 can tell the user exactly what's going on.
18906 * Remove the "find wireless network" code and now simply attempt
18907 to activate with that access point. This reduces the delay
18908 between selecting "Other wireless Network" and actually
18909 connecting to that network.
18911 * Correctly stop the device's worker thread when its removed.
18913 2005-01-21 Dan Williams <dcbw@redhat.com>
18916 - Clean up some of the debug messages
18918 2005-01-21 Dan Williams <dcbw@redhat.com>
18920 * Add new icons, more frames of animation
18921 * Remove some hacks to get the panel applet to display correct
18922 status, an NM update will soon follow that will fix the
18925 2005-01-19 Kjartan Maraas <kmaraas@gnome.org>
18927 * panel-applet/NMWirelessApplet.c: #include <config.h> must be
18928 the first include for working i18n. Also, don't include it in .h files
18929 * panel-applet/NMWirelessApplet.h: Same
18930 * panel-applet/NMWirelessAppletOtherNetworkDialog.c: Same
18931 * panel-applet/menu-info.c: Same
18933 2005-01-18 Dan Williams <dcbw@redhat.com>
18936 - Remove some debug messages
18937 - Wrap others in #ifdef DEBUG/#endif
18939 * src/NetworkManager.c
18940 - Remove some debug messages
18941 - Clarify some debug messages
18942 - Remove code related to old single-thread wireless scanning
18944 * src/NetworkManagerAP.[ch]
18945 - New AP property "last_seen" to track how recently an AP was
18947 - Start using 'const' more in function arguments
18949 * src/NetworkManagerAPList.[ch]
18950 - (nm_ap_list_merge_scanned_ap): new, selectively update attributes
18951 of an AP found in an AP list from a source AP, or if not found
18952 in the list add the source AP
18953 - (nm_ap_list_combine): remove, no longer needed
18955 * src/NetworkManagerDevice.c
18956 - Each device now has a "worker" thread from start to end of its life.
18957 Scanning for wireless devices now happens in that thread,
18958 not in a single "wireless scanning thread" for all devices as
18959 previously. Activation consists of adding an idle handler to the
18960 thread's main loop/context, which gets run at the next available
18962 - Wireless scanning is also simplified, there is now only one list of
18963 access points per wireless device, and APs older than 60s are
18964 removed from the list. Previously, we kept results for the last
18965 3 scans and merged whole lists, which was complicated.
18966 - Cleaned up activation debug messages.
18967 - Wireless activation and access-point search routines now use Open System
18968 authentication before trying Shared Key.
18969 - Removed some code in nm_device_update_best_ap() that could cause cards
18970 to loose their link to the access point.
18971 - Scanning now uses a backoff algorithm, where the inverval becomes
18972 progressively longer between scans when the list of scanned access
18973 points doesn't change. A change will revert to the shortest scan
18976 * src/NetworkManagerWireless.[ch]
18977 - Remove code related to old single-thread wireless scanning
18979 2005-01-18 Colin Walters <walters@redhat.com>
18981 * src/NetworkManagerDHCP.c (set_nameservers): Free and clear list
18982 of older nameservers.
18984 2005-01-18 Colin Walters <walters@redhat.com>
18986 * named/nm-named-manager.c (generate_named_conf): Many fixes
18987 to config file generation.
18988 (safer_kill): Remove, was too much trouble for little gain.
18989 (nm_named_manager_start): Run named as NM_NAMED_USER.
18991 * configure.in: Add option --with-named-user.
18993 2005-01-14 Colin Walters <walters@redhat.com>
18995 Patch from ed@catmur.co.uk (Ed Catmur)
18997 * named/nm-named-manager.c: Add "context" property.
18998 Use it to add child watch source in specific GMainContext.
19000 * src/NetworkManager.c (nm_data_new): Initialize
19001 named with correct main context. Start named only
19004 2005-01-14 Colin Walters <walters@redhat.com>
19006 * named/nm-named-manager.c (generate_named_conf): Write config
19007 and pid files into NM_NAMED_DATA_DIR; this allows things to
19008 work better with FC3 named SELinux policy. Also fix up silly
19011 * configure.in: Add --with-named-dir option.
19013 2005-01-14 Colin Walters <walters@redhat.com>
19015 * configure.in: Make named support require passing --with-named.
19017 * named/nm-named-manager.c: Support writing resolv.conf directly
19018 without running named.
19020 2005-01-13 Dan Williams <dcbw@redhat.com>
19022 * named/nm-named-manager.c
19023 - Use syslog(LOG_WARNING) rather than g_warning() (gnome.org #163961)
19025 * src/NetworkManagerDevice.c
19026 - Rework wireless link detection code to be more reliable
19028 2005-01-12 Dan Williams <dcbw@redhat.com>
19030 * initscripts/RedHat/NetworkManager
19031 - Change initial level to "-" rather than "345" so that
19032 we don't activate ourselves by default on install
19034 2005-01-12 Dan Williams <dcbw@redhat.com>
19037 - Client library for applications using glib
19041 - Split NM_CFLAGS and NM_LIBS into separate variables
19042 like DBUS_*, HAL_* and GLIB_*
19044 * src/NetworkManager.c
19045 src/NetworkManagerMain.h
19046 - (nm_schedule_status_signal_broadcast): at the earliest convenience,
19047 broadcast a status changed signal over DBUS from the main thread.
19048 Still unused anywhere for the moment.
19050 Patch from j@bootlab.org
19051 * panel_applet/NMWirelessAppletDbus.c
19052 src/NetworkManagerDbus.c
19053 - Correct INT32->UINT32 mistmatch between NM and the panel applet
19054 for the "getMode" method call
19056 2005-01-10 Dan Williams <dcbw@redhat.com>
19058 * src/NetworkManagerDevice.c
19059 - Minor fixups & corrections to "auto" frequency mode, make it
19060 less chatty with syslog
19062 2005-01-10 Dan Williams <dcbw@redhat.com>
19064 * src/NetworkManagerDevice.c
19065 - Implement "auto" frequency/channel support, since cards like Atheros
19066 can't use other frequencies at all when you've told it to use a
19067 specific one, even for scanning.
19068 - Grab the scan mutex around places where we can't tolerate wireless
19069 settings changing underneath us, like nm_device_wireless_network_exists()
19070 and nm_device_activate_wireless()
19072 * src/NetworkManagerWireless.c
19073 - Back scan interval off to 20s instead of 14s
19075 2005-01-09 Dan Williams <dcbw@redhat.com>
19077 * src/NetworkManagerDevice.c
19078 - Don't set mode/freq/bitrate if that mode/freq/bitrate is
19079 already set. Stops some drivers like Atmel from continually
19080 reloading the firmware, which they do upon every configuration
19083 2005-01-09 Dan Williams <dcbw@redhat.com>
19086 - Use correct timeout value
19088 * info-daemon/NetworkManagerInfoDbus.c
19089 src/NetworkManagerDbus.c
19090 - Consolidate communication between NM and NMI by doing only 1 dbus
19091 method call to get Wireless Network info from NMI instead of 6
19093 * src/NetworkManager.c
19094 - Make sure to cancel activation when we receive a SIGTERM, otherwise
19095 when we didn't have an AP to use, we'd wait for one forever without
19098 * src/NetworkManagerDevice.c
19099 - nm_device_activation_cancel(): Fix a race between dhcp and quitting
19100 activation, dhcp might not have started yet but we don't quit activation
19101 before starting it, so the quit signal gets lost
19103 2005-01-07 Dan Williams <dcbw@redhat.com>
19106 - Rework the DHCP client code to be much less chatty when
19107 it receives non-DHCP UDP packets during the DHCP run
19108 (reported by and preliminary patches from Bill Moss)
19110 * Move wireless scanning to a separate thread. This thread forwards the
19111 results to the main thread when done where they are integrated into
19112 the device's access point lists. This keeps the main thread (which
19113 does all the DBUS communication) from being blocked for long periods
19114 of time by wireless scanning.
19116 * Make state modification an idle routine in the main loop, and trigger
19117 state changes rather than polling for them.
19119 * src/backends/NetworkManagerGentoo.c
19120 - Fix up invalid C90 code (reported by Christoph Ruessler)
19122 * src/NetworkManagerDevice.c
19123 - Revert IPv6 patch for wired devices from 2004-12-22 for
19124 router advertisements, causing problems and infinite loop
19125 during "best" device determination due to link going up/down
19126 (reported by Bill Moss)
19128 Apply patch from Peter Jones
19129 * src/NetworkManagerDevice.c
19130 - Shortcut for link-checking for ipw2x00 cards
19131 - Split out association check into separate routine
19133 2004-01-05 Colin Walters <walters@redhat.com>
19135 * named/named.conf: Add PID_FILE.
19137 * named/nm-named-manager.c: Always generate a pid
19138 file, since older BIND versions don't support
19141 2005-01-01 Satoru SATOH <ss@gnome.gr.jp>
19143 * configure.in (ALL_LINGUAS): Added ja (Japanese).
19145 2004-12-22 Dan Williams <dcbw@redhat.com>
19147 * src/NetworkManagerDevice.c
19148 - Silently fail when setting bitrate doesn't work
19151 Patches from j@bootlab.org:
19152 * src/backends/NetworkManagerDebian
19153 - Update backend to match functionality in RedHat backend
19154 * src/NetworkManagerDevice.c
19155 - Take down then bring up wired devices after connection so
19156 they send out ipv6 router advertisements
19158 2004-12-21 Colin Walters <walters@verbum.org>
19160 * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_update_devices): Correctly
19161 test for NETWORK_MODE_ADHOC; spotted by: Greg <gonufer@gmail.com>.
19163 2004-12-21 Colin Walters <walters@redhat.com>
19165 * configure.in: Correct named detection.
19167 2004-12-21 Colin Walters <walters@redhat.com>
19169 * src/NetworkManager.c (nm_data_new): Initialize named.
19170 Also, set up a signal handler for SIGINT/SIGTERM, and exit
19171 the mainloop when these signals are received.
19172 (nm_data_free): Unref named.
19173 (sigterm_handler, sigterm_pipe_handler): New functions for
19176 * src/NetworkManagerMain.h (NMData): Add signal handling and
19179 * src/NetworkManager.c (nm_device_unref): Quit device mainloop on
19182 * src/NetworkManagerDHCP.c (set_nameservers): New function;
19183 set nameservers from DHCP response data.
19184 (set_domain_search): Set domain search from DHCP response.
19185 (nm_device_dhcp_configure): Invoke them.
19187 * src/NetworkManagerSystem.c
19188 (nm_system_device_update_resolv_conf): Delete. Deleting
19189 code is totally sweet.
19191 * src/Makefile.am (NetworkManager_LDADD): Add libnamed.
19193 * named/nm-named-manager.h, named/nm-named-manager.c: New files;
19194 implements an object which controls a nameserver. Currently
19197 * configure.in: Check for named.
19199 * Makefile.am (SUBDIRS): Add named dir.
19201 * named/named.conf: New template config file.
19203 2004-12-20 Colin Walters <walters@redhat.com>
19205 * src/NetworkManagerPolicy.c (nm_policy_get_best_device): Fix usage of '=='
19208 2004-12-17 Dan Williams <dcbw@redhat.com>
19210 * Ad Ad-Hoc networking mode support. In Ad-Hoc mode, we only try to get
19211 link-local addresses instead of doing DHCP.
19213 * In the panel applet, there's a new "Create new Wireless Network..." item
19215 * The panel applet also sticks around now even if NetworkManager dies, but
19216 it doesn't hide its icon when NM isn't around. Not hiding the icon is
19217 a bug, I'll fix that later.
19219 * We also don't use 'nscd' anymore in the RH backend, it was impeding name
19220 lookups after a switch rather than actually doing them.
19222 * Clean up some of those warnings in nm_ap_list_* functions
19224 * Delay between scans changed to 15s instead of 10s
19226 2004-12-15 Dan Williams <dcbw@redhat.com>
19228 Patch from Tom Parker
19229 * Add autoip/Link Local Addressing support when we fail to get a DHCP
19232 * Longer pause after setting ESSID on cards that support a larger number
19233 of channels to give the card time to find the right channel
19235 * Add system hook to restart mDNSResponder (or whatever the local implementation
19236 of Multicast DNS is) when we activate interfaces
19238 2004-12-15 Dan Williams <dcbw@redhat.com>
19240 * Rework the DHCP code again to revert to sending full ethernet frames
19241 rather then relying on the kernel to do the right thing with our
19244 2004-12-06 Dan Williams <dcbw@redhat.com>
19247 - Fix some minor errors in dhcp_handle_transaction() that caused
19248 unexpected early timeouts of DHCP transactions
19251 - DHCP retransmit time from 4s -> 5s
19253 2004-12-05 Dan Williams <dcbw@redhat.com>
19255 * Major rework of the DHCP code, taking some cues from pump. We don't
19256 write raw Ethernet packets anymore, which simplifies the code quite
19257 a bit. The new code should be more robust, not hang in recvfrom()
19258 as much, and generally work better. This also means that we need
19259 to force HAL/dbus to use a created GMainContext rather than the
19260 default context, since having the DHCP renew/rebind thread using
19261 its own GMainContext seemed to give dbus a fit. There is also more
19262 debugging information printed from the DHCP loop to help with future
19265 * Also, if the DHCP server doesn't give us the "routersOnSubnet" option,
19266 assume that the default gateway should be the DHCP server.
19268 Patch from Matthew Schick <matt oss-institute org>
19269 * src/backends/NetworkManagerGentoo.c
19270 - Fix compilation error due to missing "ip4_broadcast"
19272 2004-12-03 Dan Williams <dcbw@redhat.com>
19274 * initscript/Makefile.am
19275 * initscript/Debian/NetworkManager
19276 * initscript/Gentoo/NetworkManager
19277 * initscript/RedHat/NetworkManager
19278 * initscript/NMLaunchHelper.c
19279 - Remove NMLaunchHelper, if you need to wait until the network
19280 comes up, use the dead code from CVS.
19282 2004-12-01 Colin Walters <walters@redhat.com>
19284 * configure.in: Suck in gcc warnings code from Rhythmbox,
19285 but use fewer default flags, and in particular add -Wno-unused,
19286 since the codebase has a lot of unused variables.
19288 * test/nmtestdevices.c (create_device):
19289 * test/nminfotest.c (get_network_string_property)
19290 (get_networks_of_type):
19291 * test/nmclienttest.c (main):
19292 * src/NetworkManagerDbus.c (nm_dbus_create_error_message):
19293 * initscript/NMLaunchHelper.c (get_nm_status):
19294 * info-daemon/NetworkManagerInfoPassphraseDialog.c (update_button_cb):
19295 * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_create_error_message):
19296 Fix declarations after statements.
19298 2004-12-01 Colin Walters <walters@redhat.com>
19300 * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_return_vpn_password): New method.
19301 (nmi_dbus_get_vpn_userpass): New method.
19302 (nmi_dbus_nmi_message_handler): Invoke it.
19304 * info-daemon/NetworkManagerInfoDbus.h (nmi_dbus_return_vpn_password): Prototype.
19306 * info-daemon/NetworkManagerInfoVPN.h,
19307 info-daemon/NetworkManagerInfoVPN.c: New files; responds
19308 to requests for VPN passwords.
19310 * configure.in (GNOME_KEYRING_LIBS): Check for gnome-keyring.
19312 2004-12-01 Colin Walters <walters@redhat.com>
19314 * test/nmtestdevices.c, test/nmclienttest.c: Add missing
19317 2004-12-01 Colin Walters <walters@redhat.com>
19319 * panel-applet/NMWirelessAppletDbus.c
19320 (nmwa_dbus_update_active_device_strength): Fix missing
19323 2004-12-01 Colin Walters <walters@redhat.com>
19325 * panel-applet/NMWirelessApplet.c: Add missing include.
19327 2004-12-01 Colin Walters <walters@redhat.com>
19329 * src/NetworkManagerWireless.c (nm_wireless_qual_to_percent):
19330 Remove useless CLAMP (); the value is unsigned, and the case tests
19331 qual->qual < 100, so the value must always be between 0 and 100.
19333 2004-12-01 Colin Walters <walters@redhat.com>
19335 * dhcpcd/buildmsg.c, dhcpcd/dhcp_test.c: Add missing includes.
19337 2004-11-22 Colin Walters <walters@verbum.org>
19339 * src/backends/NetworkManagerRedHat.c (nm_system_update_dns): Run
19340 "nscd -i hosts" to invalidate the host cache instead of restarting nscd,
19341 which is essentially a noop since nscd caches hosts on disk too.
19343 2004-11-22 Colin Walters <walters@redhat.com>
19345 * src/Makefile.am (NetworkManager_SOURCES): Add
19346 NetworkManagerDevicePrivate.h.
19348 2004-11-22 Dan Williams <dcbw@redhat.com>
19350 * src/NetworkManagerDevicePrivate.h
19351 - Split out the NMDevice struct to a different file so that stuff like
19352 NetworkManagerDHCP.c and NetworkManagerSystem.c can use it
19356 - (dhcpSendAndRecv): do non-blocking sends and receives, and check to see if we
19357 need to cancel the dhcp request during the send and recv
19360 - Move the DHCP option enum to dhcpcd.h
19362 * src/NetworkManagerDHCP.c
19363 - Split out the actual IP/netmask/etc setting code
19364 - New Renew/Rebind functions
19365 - New timer setup function for renew/rebind operations
19367 * src/NetworkManagerDevice.c
19368 - For device activation, if we are using DHCP then keep the activation thread
19369 alive until device deactivation. We need to renew/rebind the DHCP address
19370 after the T1 (renew) and T2 (rebind) times have expired.
19371 - Increase some timeouts after bringing wireless cards up/down
19373 2004-11-17 Dan Williams <dcbw@redhat.com>
19375 * Cache access point MAC addresses in NetworkManagerInfo after you've explicitly
19376 connected to them. Then, after a scan, match up non-ESSID-broadcasting access
19377 points with any cached MAC addresses from NetworkManagerInfo. Allows us to
19378 show known access points that don't broadcast their ESSID in the menus without
19379 any user intervention whatsoever.
19381 * info-daemon/NetworkManagerInfoDbus.c
19382 - (nmi_dbus_get_network_addresses, nmi_dbus_add_network_address): new functions
19383 for dbus method calls "getNetworkAddresses" and "addNetworkAddress"
19385 * src/NetworkManagerAP.[ch]
19386 - Add a "user_addresses" data member to the NMAccessPoint structure
19387 - (nm_ap_get_user_addresses, nm_ap_set_user_addresses): new functions for accessing
19388 the user_addresses data member
19390 * src/NetworkManagerAPList.c
19391 - (nm_ap_list_get_ap_by_address): check user_addresses list too, instead of just
19392 the AP's reported address
19393 - (nm_ap_list_update_network): grab the user_addresses list from NetworkManagerInfo
19395 * src/NetworkManagerDHCP.c
19396 - Increase DHCP timeout from 25s -> 30s
19398 * src/NetworkManagerDbus.[ch]
19399 - (nm_dbus_get_network_addresses, nm_dbus_add_network_address): have NMI get/set
19402 * src/NetworkManagerDevice.c
19403 - (nm_device_set_wireless_config): bring down the interface, wait 4s, bring it up,
19404 wait 2s, then configure it. Sometimes Prism54 cards will freeze up with
19405 "mgnt tx queue full", seemingly in response to NM controlling the card too much.
19406 So, we take the card down to clear it out.
19407 - (nm_device_do_normal_scan): Copy over AP ESSIDs from the allowed access point list
19408 too, since that's where the user_addresses are
19410 * src/NetworkManagerPolicy.c
19411 - (nm_state_modification_monitor): Tell NMI to add an AP's hardware address to
19412 that wireless networks' user_addresses list upon successful activation
19414 2004-11-16 Dan Williams <dcbw@redhat.com>
19416 * src/NetworkManagerDevice.[ch]
19417 - (nm_device_clear_activation_fail): new function
19419 * src/NetworkManagerPolicy.c
19420 - (nm_state_modification_monitor): clear the activation_failed flag on devices
19421 when we've dealt with the failure so the user doesn't get failure-dialog-spammed
19423 2004-11-16 Dan Williams <dcbw@redhat.com>
19425 * src/NetworkManagerDevice.c
19426 - (nm_device_activate_wireless): Unref best_ap upon success so we don't
19427 leak the structure, better updating of now_scanning status
19428 - (nm_device_wireless_network_exists): Rewrite for better/faster checking
19430 2004-11-15 Dan Williams <dcbw@redhat.com>
19432 Major rework of link detection code. We now use DHCP
19433 as part of the link detection which proves to be much more robust,
19434 and also supports Open System authentication for wireless networks.
19436 We no longer use external DHCP client programs. Instead, we use
19437 our own DHCP client, based on substantially reworked bits of 'dhcpcd'
19438 which was written by:
19439 Yoichi Hariguchi <yoichi@fore.com>
19440 Sergei Viznyuk <sv@phystech.com>
19441 http://www.phystech.com/download/
19442 It resides in the "dhcpcd" directory and was refactored into a general
19443 purpose DHCP client library by me.
19445 Also misc fixes (CPPFLAGS->AM_CPPFLAGS, move some stuff around),
19446 move src/backends/NetworkManagerSystem.h -> src/NetworkManagerSystem.h
19448 2004-11-15 Dan Williams <dcbw@redhat.com>
19450 Patch from Tom Parker <palfrey@tevp.net>:
19452 * src/NetworkManagerDevice.c
19453 - Less output to console when no access
19454 points are found during a scan
19456 2004-11-15 Dan Williams <dcbw@redhat.com>
19458 Patch from Tom Parker <palfrey@tevp.net>:
19460 * src/backends/interface_parser.c
19462 - Check for inp == NULL
19465 2004-11-13 Colin Walters <walters@redhat.com>
19467 Patch from Tom Parker <palfrey@tevp.net>:
19469 * src/Makefile.am (CPPFLAGS): Switch to AM_CPPFLAGS.
19471 * src/backends/NetworkManagerRedHat.c: Switch to
19472 including shvar.h instead of shvar.c.
19474 * src/backends/NetworkManagerDebian.c: Don't include
19475 interface_parser.c in source file.
19477 (libnmbackend_la_SOURCES): Don't include shvar.[ch]
19478 and interface_parser.[ch].
19479 * src/Makefile.am (libnmbackend_la_SOURCES) <TARGET_REDHAT>:
19480 Include shvar.c and shvar.h here.
19481 (libnmbackend_la_SOURCES) <TARGET_DEBIAN>: Include
19482 interface_parser.c and interface_parser.h here.
19484 2004-11-12 Colin Walters <walters@redhat.com>
19486 * configure.in: Strip out TARGET_DISTRO and
19487 SYSTEM_BACKEND_FILE variables. Switch to Automake
19490 * src/Makefile.am (noinst_LTLIBRARIES): Add libnmbackend.la.
19491 (libnmbackend_la_SOURCES): Use Automake conditionals
19492 to add distro-specific files.
19494 * initscript/Makefile.am (SUBDIRS): Update to
19497 2004-11-12 Colin Walters <walters@redhat.com>
19499 Patches from j bootlab org
19501 * src/Makefile.am (EXTRA_NetworkManager_SOURCES):
19502 Add interface_parser.[ch].
19504 * src/backends/NetworkManagerDebian.c (nm_system_device_run_dhcp): Invoke
19505 dhclient with "-lf /var/lib/dhcp/dhclient-%s.leases".
19507 2004-11-12 Colin Walters <walters@redhat.com>
19509 * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_service_init): Delete
19510 call to nmi_dbus_is_running too, not necessary anymore.
19511 * info-daemon/NetworkManagerInfoDbus.c: Include stdlib.h to
19514 2004-11-11 Colin Walters <walters@verbum.org>
19516 * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_is_running):
19518 (nmi_dbus_service_init): Call dbus_bus_acquire_service with
19519 the DBUS_SERVICE_FLAG_PROHIBIT_REPLACEMENT flag, and
19520 then check the result for DBUS_SERVICE_REPLY_SERVICE_EXISTS.
19521 This avoids a race condition that made it pretty easily
19522 possible to get two NetworkManagerInfo daemons running.
19524 2004-11-11 Colin Walters <walters@verbum.org>
19526 * src/NetworkManager.c (main): Use daemon(3).
19528 * info-daemon/NetworkManagerInfo.c (main): Ditto.
19530 * dispatcher-daemon/NetworkManagerDispatcher.c (main): Ditto.
19532 2004-11-10 Dan Williams <dcbw@redhat.com>
19534 Patches from j bootlab org
19535 * src/NetworkManagerDevice.c
19536 - (nm_device_activate_wireless): wait 5 seconds before attempting to detect
19537 whether the card has a link or not, some cards are slow
19538 - (nm_device_activation_configure_ip): make ipv6 work a bit better
19540 * info-daemon/NetworkManagerInfoPassphraseDialog.c
19541 - Disable the "Login" button on the passphrase dialog until the user
19542 enters a valid passphrase or key
19544 Patches from Tom Parker <palfrey tevp net>
19545 * src/backends/NetworkManagerDebian.c
19546 - Add static IP support to the debian backend
19548 * src/backends/interface_parser.[ch]
19549 - Parse debian interface config files
19551 2004-11-08 Dan Williams <dcbw@redhat.com>
19553 * src/NetworkManagerDevice.c
19554 - Some random fprintf->syslog conversions
19555 - (nm_device_wireless_network_exists): double-check for network
19556 - (nm_device_find_and_use_essid): Copy over encryption key no matter what
19558 * src/NetworkManagerWireless.[ch]
19559 - (nm_wireless_[128|64]bit_ascii_to_hex): make "ascii" argument unsigned again
19560 so that the binary->ascii conversion works (if unsigned, the bitshift
19561 will fill with zeros, which is what's required). Also mask bitshift
19562 result with 0xF for futher assurance.
19564 2004-11-06 Dan Williams <dcbw@redhat.com>
19566 * src/NetworkManagerUtils.c
19567 - (nm_get_wireless_driver_support_level): default to
19568 FULLY_SUPPORTED rather than UNSUPPORTED, forgot to
19569 flip this when changing from whitelist->blacklist of
19572 2004-11-05 Dan Williams <dcbw@redhat.com>
19574 Patch from Robert Paskowitz:
19575 * src/backends/NetworkManagerGentoo.c
19576 - Update static IP config code
19578 2004-11-05 Dan Williams <dcbw@redhat.com>
19580 * info-daemon/NetworkManagerInfoDbus.c
19581 src/NetworkManagerDbus.[ch]
19582 src/NetworkManagerDevice.c
19583 - Keep track of the # of attempts to get the WEP key
19584 from the user and pass that along to the info daemon
19586 2004-11-05 Dan Williams <dcbw@redhat.com>
19588 * src/NetworkManagerUtils.c
19589 - Blacklist wireless cards rather than whitelisting them.
19590 - Grab driver name from HAL rather than trying to find it
19593 2004-11-03 Dan Williams <dcbw@redhat.com>
19595 * panel-applet/NMWirelessAppletOtherNetworkDialog.c,
19596 - Disable OK button until valid data is entered
19597 for encryption stuff too
19599 * panel-applet/NMWirelessApplet.c
19600 - Report card strength for current AP if the card
19601 doesn't report strength data for scanned access
19604 * src/NetworkManagerDevice.c
19605 - Smooth out cards reported quality, Atmel card was
19606 intermittently reporting no quality data but soon
19609 * src/NetworkManagerWireless.c
19610 - Better quality data percentage calculation. Atmel
19611 cards (mine at least) seem to report the quality
19612 in percentage format already, so honor that
19614 Patch from <j@bootlab.org>
19616 info-daemon/NetworkManagerInfoPassphraseDialog.c
19617 info-daemon/passphrase.glade
19618 panel-applet/NMWirelessAppletOtherNetworkDialog.c
19619 panel-applet/essid.glade
19620 src/NetworkManagerAP.c
19621 src/NetworkManagerDevice.c
19622 src/NetworkManagerWireless.[ch]
19623 - Support ASCII WEP keys, in both 40/64 bit and 104/128 bit
19625 2004-11-03 Dan Williams <dcbw@redhat.com>
19627 * src/NetworkManagerDevice.[ch]
19628 - (nm_device_set_enc_key): Add parameter to set Authentication
19629 Mode (Open System, Shared Key, or None). We're still using
19630 Shared Key for now though.
19632 2004-11-02 Bryan Clark <clarkbw@cvs.gnome.org>
19634 * panel-applet/menu-info.c: change from bold text to light
19635 colored, may cause problems with some themes, i've tested a lot
19636 and they seem fine.
19638 * panel-applet/NMWirelessApplet.c: fix strength tooltip
19640 2004-11-01 Colin Walters <walters@verbum.org>
19642 * src/NetworkManagerWireless.h, src/NetworkManagerWireless.c
19643 (nm_wireless_128bit_key_from_passphrase): Add const.
19645 * src/NetworkManagerAP.h, src/NetworkManagerAP.c
19646 (nm_ap_set_enc_key_source): Add const.
19648 2004-11-01 Colin Walters <walters@verbum.org>
19650 * .cvsignore: Update.
19652 2004-10-29 Dan Williams <dcbw@redhat.com>
19654 * src/NetworkManagerDevice.c
19655 - (nm_device_wireless_network_exists): Actually use the encryption
19656 key we got from the applet when attempting to find a wireless network
19657 - Don't bring devices down so much since on some cards it triggers
19658 firmware hotplugs each time
19660 * src/NetworkManagerDbus.c
19661 - (nm_dbus_nm_set_active_device): free the passphrase we may have gotten
19664 2004-10-29 Dan Williams <dcbw@redhat.com>
19666 * src/NetworkManager.c
19667 - (nm_hal_device_property_modified): unlock a locked active
19668 wireless device when a wired connection gets a link.
19669 (Means you'll switch to wired whenever you plug in no
19672 2004-10-29 Dan Williams <dcbw@redhat.com>
19674 * panel-applet/NMWirelessAppletOtherNetworksDialog.[ch]
19675 - New files, implement the "Other wireless network" dialog
19677 * panel-applet/NMWirelessApplet.c
19678 - Move "other wireless network" dialog to separate file
19680 * panel-applet/NMWirelessAppletDbus.[ch]
19681 - Take key and key_type paramaters for the set_device function
19683 * panel-applet/essid.glade
19684 - Add UI bits for encryption settings
19686 * src/NetworkManagerDbus.c
19687 - Retrieve key and key_type params for "setActiveDevice" method call
19689 - unref AP returned from nm_device_get_best_ap() when needed
19691 * src/NetworkManagerDevice.c
19692 - (nm_device_get_best_ap): ref the ap before returning it
19693 - unref AP returned from nm_device_get_best_ap() when needed
19694 - (nm_device_activate_wireless): add "ap" parameter so we don't
19695 need to call nm_device_get_best_ap() here, it was pretty much
19697 - (AP_NEED_KEY): break second link check condition out into separate
19698 function, and fix segfault when ap->enc_key_source was NULL
19699 - (nm_device_find_and_use_essid): take key and key_type parameters and
19700 pass them along to nm_device_wireless_network_exists(). If the
19701 network does exist, set the passed-in key+key_type on the AP
19703 * src/NetworkManagerPolicy.c
19704 - unref AP returned from nm_device_get_best_ap() when needed
19706 2004-10-28 Dan Williams <dcbw@redhat.com>
19708 * src/NetworkManagerUtils.c
19709 - (nm_spawn_process): Fix a potential dereference of NULL
19711 Patches from Peter Jones:
19713 * src/NetworkManagerDevice.c
19714 - (nm_device_test_wireless_extensions): Better check for
19717 * src/NetworkManagerUtils.c
19718 - (nm_spawn_process): Pass in valid stdout and stderr so
19719 executed programs don't randomly SIGPIPE and fail
19720 - (nm_get_wired_driver_support_level): quash hal warning
19721 when checking for USB ethernet device
19723 2004-10-27 Dan Williams <dcbw@redhat.com>
19725 * info-daemon/NetworkManagerInfo.c
19726 info-daemon/NetworkManagerInfoDbus.c
19727 info-daemon/NetworkManagerInfoPassphraseDialog.c
19728 panel-applet/NMWirelessApplet.c
19729 - Properly escape gconf keys
19731 * src/NetworkManager.c
19732 - remove unused variables
19734 * src/NetworkManagerAP.c
19735 - (nm_ap_new_from_ap): Don't redundantly set new APs
19736 refcount since it got set in nm_ap_new()
19738 * src/NetworkManagerAPList.c
19739 - (nm_ap_list_combine): Give up ownership of newly created
19740 access points to the ap list, fixes memleak
19742 * src/NetworkManagerDevice.c
19743 - Remove cached_ap_list4 member since its not really needed
19744 - (nm_device_wireless_network_exists): Try to get correct
19745 encryption status of a found AP if its already in our
19747 - (nm_device_do_normal_scan): Clean up scanning a bit, make
19748 memory allocs/deallocs a bit clearer and shorter-lived
19750 2004-10-26 Ray Strode <rstrode@redhat.com>
19752 * panel-applet/NMWirelessApplet.c:
19753 (custom_essid_item_selected): kill some compiler
19756 2004-10-26 John (J5) Palmieri <johnp@redhat.com>
19758 * info-daemon/NetworkManagerInfoDbus.c
19759 - (nmi_dbus_is_running): New function for determining if nmi is already running
19760 - (nmi_dbus_service_init): exit if another instance of nmi is already running
19762 2004-10-23 Dan Williams <dcbw@redhat.com>
19764 * info-daemon/NetworkManagerInfoDbus.c
19765 - Trap the "DeviceActivationFailed" signal
19767 * docs/NetworkManager DBUS API.txt
19768 - Add "DeviceActivationFailed" signal
19770 * panel-applet/NMWirelessAppletDbus.c
19771 - Quash the "NetworkManager service not available" message
19773 * src/NetworkManagerDbus.[ch]
19774 - Add the "DeviceActivationFailed" signal
19776 * src/NetworkManagerDevice.c
19777 - Add support for activation_failed flag
19778 - Fix deadlock where activation thread didn't clean itself up, making
19779 main thread still believe it was alive forever (didn't reset activation
19780 flags like activating, just_activated, etc when IP configuration
19783 * src/NetworkManagerPolicy.c
19784 - Implement logic for DeviceActivationFailed signal, and when activation fails
19785 for wireless networks, try to fall back to some other access point
19787 2004-10-23 Dan Williams <dcbw@redhat.com>
19789 * panel-applet/NMWirelessApplet.[ch]
19790 - Place the GtkMenuBar inside a GtkEventBox, and add the Event Box
19791 to the applet object, so we can get tooltips
19792 - Add tooltips (RH #136866)
19794 * src/NetworkManagerDevice.c
19795 - When trying to find a wireless network, try to connect with encryption
19796 turned on first, so that we can more accurately detect whether or not
19797 we need to use encryption for the actual association later on
19799 2004-10-21 Dan Williams <dcbw@redhat.com>
19801 * Add some support for telling NetworkManagerInfo to tell the user
19802 that they are using a device that's not fully supported
19804 * Fix some assertions in debug messages due to null access point args
19806 2004-10-21 Dan Williams <dcbw@redhat.com>
19808 * src/NetworkManagerDevice.c
19809 - Don't try to activate/bring up/down unsupported
19812 * src/NetworkManagerUtils.c
19813 - Fix case of PCI ID checks for driver support levels
19815 2004-10-21 Dan Williams <dcbw@redhat.com>
19818 - New file, now contains commonly used structures and bits
19819 for the dbus API of NetworkManager
19822 - Deliver NetworkManager.h to ${includedir}/NetworkManager
19824 * src/NetworkManager.h
19825 - Rename -> src/NetworkManagerMain.c
19827 * Various fixups all around to use NetworkManager.h and new
19828 src/NetworkManagerMain.h, remove redundant bits that got
19829 moved into NetworkManager.h
19831 * src/NetworkManagerDevice.[ch]
19832 src/NetworkManagerUtils.[ch]
19833 src/NetworkManagerPolicy.c
19834 src/NetworkManagerDbus.c
19835 - Whitelist wireless drivers, and blacklist some wired
19836 drivers. Also blacklist cipsec and ethernet-over-usb
19837 devices at this time (RH #135722, RH #135648)
19838 - Don't leak unsupported devices out over dbus, or allow
19839 them to be set as the active device. Skip over them
19840 during automatic device picking
19842 * test/nmclienttest.c
19843 - Clean up the dbus code a lot
19845 Tue Oct 19 14:20:29 2004 Jonathan Blandford <jrb@redhat.com>
19847 * configure.in: post release bump.
19849 Tue Oct 19 14:19:24 2004 Jonathan Blandford <jrb@redhat.com>
19852 * NEWS: Released NetworkManager-0.3.1
19854 2004-10-18 Dan Williams <dcbw@redhat.com>
19856 Patches from Thom May:
19857 * test/nmtestdevices.c
19858 - Include <string.h>
19859 * src/backends/NetworkManagerDebian.c:
19860 - (nm_system_device_run_dhcp, nm_system_device_stop_dhcp)
19861 (nm_system_device_flush_routes, nm_system_device_flush_addresses)
19862 Move to using g_strdup_printf rather than arbitrary buffers
19863 - (nm_system_device_setup_static_ip4_config) Implement function.
19864 - (nm_system_kill_all_dhcp_daemons) Use killall -q rather than killall
19866 2004-10-17 Dan Williams <dcbw@redhat.com>
19868 * info-daemon/NetworkManagerInfoDbus.c
19869 - Display name of network in the "network not found" dialog
19871 * panel-applet/NMWirelessAppletDbus.c
19872 - (nmwa_dbus_call_nm_method): new function replaces all other
19873 nmwa_dbus_get_[string|string_array|int|boolean] methods
19874 - nmwa_dbus_get_network_name() and nmwa_dbus_get_device_name()
19875 consolidated into nmwa_dbus_get_object_name()
19877 2004-10-15 Dan Williams <dcbw@redhat.com>
19879 * src/NetworkManagerDbus.c
19880 info-daemon/NetworkManagerInfoDbus.c
19881 - Display an error dialog when the user tries to use an
19882 "Other wireless network" that's not found.
19884 2004-10-15 Dan Williams <dcbw@redhat.com>
19886 * panel-applet/NMWirelessApplet.[ch]
19887 - Fix up corner cases in applet state, making it
19888 look more responsive. Change state to "connecting" when
19889 the user is forcing a device too.
19891 2004-10-15 Dan Williams <dcbw@redhat.com>
19893 * src/NetworkManagerAPList.c
19894 - (nm_ap_list_update_network): Disown AP after the list takes ownership
19896 * src/NetworkManagerDbus.c
19897 - (nm_dbus_nm_set_active_device): Simplify the device setting logic
19899 * src/NetworkManagerDevice.c
19900 - Disown APs after the device's AP list takes ownership
19902 2004-10-15 Dan Williams <dcbw@redhat.com>
19904 * panel-applet/NMWirelessApplet.c
19905 - Update our applet state from the GUI thread
19907 * panel-applet/NMWirelessAppletDbus.c
19908 - Greatly simplify the locking to make the GUI thread
19909 smoother. Update a private copy of the device list
19910 and active device and only when done talking to
19911 NetworkManager turn it over to the GUI thread.
19913 2004-10-15 Dan Williams <dcbw@redhat.com>
19915 * src/NetworkManagerAP.[ch]
19916 - Add "artificial" get/set functions, set for APs that
19917 aren't discovered as part of a scan but instead
19918 discovered by force-setting the ESSID
19920 * src/NetworkManagerDevice.[ch]
19921 - (nm_device_wireless_network_exists): pass back whether
19922 or not the discovered AP was encrypted. Also, try
19923 falling back to encrypted mode on the card if unencrypted
19924 association doesn't work
19925 - (nm_device_find_and_use_essid): If the network requested
19926 did in fact exists, but it wasn't in our scan list, add
19927 an "artificial" entry for it. Some Cisco cards don't
19928 see non-ESSID-broadcasting APs in their scan but can still
19929 associate with them if you know the ESSID, this works around
19931 - (nm_device_do_normal_scan): Carry "artificial" APs over from scan
19932 to scan if the card is currently associated with that AP
19934 2004-10-15 Dan Williams <dcbw@redhat.com>
19936 ---- We have a website ----
19937 http://people.redhat.com/dcbw/NetworkManager
19939 Patch from Robert Paskowitz:
19940 * src/NetworkManager.c
19941 - (main): Make sure we are run as root
19942 * src/NetworkManagerDevice.c
19943 - Fix type in ad-hoc setting function
19945 Patch from Thom May:
19946 * src/backends/NetworkManagerDebian.c
19947 - Make Debian backend compile again
19949 2004-10-14 Dan Williams <dcbw@redhat.com>
19951 * Tagged NetworkManager-0_3
19953 2004-10-14 Dan Williams <dcbw@redhat.com>
19955 Patch from Robert Paskowitz:
19957 src/NetworkManagerDevice.[ch]
19958 src/backends/NetworkManagerDebian.c
19959 src/backends/NetworkManagerGentoo.c
19960 src/backends/NetworkManagerRedHat.c
19961 src/backends/NetworkManagerSlackware.c
19962 - Add support for grabbing and using a broadcast address
19963 from system config files
19964 - Some Gentoo backend fixes for grabbing network config
19965 - Fix LOG_WARN->LOG_WARNING
19967 2004-10-14 Dan Williams <dcbw@redhat.com>
19969 * NEWS: a few small fixes in the credits
19971 Thu Oct 14 19:12:58 2004 Jonathan Blandford <jrb@redhat.com>
19973 * NEWS: prep for release.
19975 Thu Oct 14 16:47:12 2004 Jonathan Blandford <jrb@redhat.com>
19977 * panel-applet/NMWirelessAppletDbus.c
19978 (nmwa_dbus_update_device_wireless_networks): remove warnings.
19980 Thu Oct 14 16:40:39 2004 Jonathan Blandford <jrb@redhat.com>
19982 * panel-applet/NMWirelessApplet.c (animation_timeout): Make
19983 applet->state == APPLET_STATE_NO_NM animation.
19985 * panel-applet/NMWirelessApplet.c (custom_essid_item_selected):
19986 set the text correctly.
19988 2004-10-14 Dan Williams <dcbw@redhat.com>
19990 * src/NetworkManager.c
19991 - Only accept and manager 802.3 and 802.11 devices
19993 * src/NetworkManagerDbus.[ch]
19994 - (nm_dbus_nm_set_active_device): move most of the actual activation
19995 logic into NetworkManagerDevice.c
19996 - (nm_dbus_network_status_from_data): new function
19997 - (nm_dbus_signal_network_status_change): new function, unused for now
19998 - (nm_dbus_nm_message_handler): use nm_dbus_network_status_from_data () now
20000 * src/NetworkManagerDevice.[ch]
20001 - (nm_device_find_and_use_essid): new function. Search for, and if found use,
20004 2004-10-14 John (J5) Palmieri <johnp@redhat.com>
20006 * info-daemon/NetworkManagerInfo.c
20007 - (main): Added session management
20009 2004-10-14 Dan Williams <dcbw@redhat.com>
20011 * panel-applet/NMWirelessAppletDbus.[ch]
20012 - Expose network_device_[un]ref()
20013 - Expose wireless_network_[un]ref()
20014 - (wireless_network_new_with_essid): new function, create and return
20015 a wireless network with a particular essid
20017 * panel-applet/NMWirelessApplet.c
20018 - Hook up the "other network" dialog to do something
20020 Wed Oct 13 19:31:53 2004 Jonathan Blandford <jrb@redhat.com>
20022 * panel-applet/NMWirelessApplet.c: Add an essid dialog. It
20023 doesn't work yet, but it looks okay.
20025 * panel-applet/icons/*png: Resize to 22x22 and install in the
20028 2004-10-13 Dan Williams <dcbw@redhat.com>
20030 * panel-applet/NMWirelessApplet.c
20031 - Add function to print out applet_state in a readable
20034 * src/NetworkManager.c
20035 - (main): Don't segfault when nm_dbus_init() fails, we had
20036 a left-over call to hal_shutdown() into which we passed NULL
20038 * src/NetworkManagerAP.c
20039 - (nm_ap_set_essid): Allow NULL essids
20041 * src/NetworkManagerAPList.[ch]
20042 - More use of nm_ap_list_[un]lock ()
20043 - (nm_ap_list_get_ap_by_essid): don't warn when looking for a NULL
20044 network/essid, just return nothing. Also skip over NULL
20045 essid access points in the list when searching
20046 - (nm_ap_list_get_ap_by_address): new function
20047 - (nm_ap_list_update_network): set the access point's key source to
20048 NULL when the key returned from NetworkManagerInfo is NULL or
20050 - nm_ap_list_update_keys() -> nm_ap_list_update_properties(), and
20051 copy timestamp over too
20052 - (nm_ap_list_copy_essids_by_address): new function, attempt to
20053 find the correct ESSID for a blank-essid access point by searching
20054 through another list and matching access point MAC addresses
20055 - (nm_ap_list_diff): exclude blank-essid access points from the diffs
20057 * src/NetworkManagerDbus.c
20058 - (nm_dbus_nm_set_active_device): deal with random networks the user
20059 may specify. This is mainly for access points that don't
20060 broadcast their essid. So if the user tells us to associate with
20061 some random ESSID that's not in our access point list, we find
20062 out if the access point does in fact exist (by attempting association
20063 and then matching that access point's MAC address with the essid the
20064 user gave us) and then we switch to it.
20065 - (nm_dbus_devices_handle_request): don't add blank-essid access points
20066 to the returned list of networks for the "getNetworks" method
20068 * src/NetworkManagerDevice.[ch]
20069 - Extra debugging info for link detection
20070 - (nm_device_ap_list_get_ap_by_address): new function, return an AP
20071 based on MAC address
20072 - (nm_device_get_path_for_ap): ignore blank-essid access points
20073 - (nm_device_wireless_network_exists): new function, find out whether
20074 a random ESSID exists by attempting to associate with it
20075 - (nm_device_do_normal_scan): allow blank-essid access points in our
20076 device list as long as they have an AP MAC address we can use.
20077 Also send WirelessNetwork[Dis]Appeared signals for non-active
20078 devices too. Lets the applet update more frequently.
20080 * src/backends/NetworkManagerGentoo.c
20081 - Patch from: Robert Paskowitz
20082 - Update backend code for Gentoo
20083 - Implement nm_system_device_update_config_info ()
20085 * test/nmclienttest.c
20086 - (set_network_device): new function, takes a command-line argument
20087 and tells NetworkManager to use that wireless network
20089 Wed Oct 13 John (J5) Palmieri <johnp@redhat.com>
20091 * info-daemon/NetworkManagerInfo.c (nmi_spawn_notification_icon): Stop respawning
20092 if the notification icon crashes 5 times within 5 seconds of each respawn
20094 Tue Oct 12 22:53:04 2004 Jonathan Blandford <jrb@redhat.com>
20096 * panel-applet/NMWirelessApplet.c (nmwa_update_state): remove
20099 Tue Oct 12 22:44:15 2004 Jonathan Blandford <jrb@redhat.com>
20101 * panel-applet/NMWirelessApplet.h: Change the name of the icons.
20103 * panel-applet/NMWirelessApplet.c: (animation_timeout),
20104 (nmwa_update_state), (nmwa_destroy), (nmwa_setup_widgets),
20105 (nmwa_icons_free), (nmwa_icons_load_from_disk), (nmwa_icons_init):
20106 Change the name of the icons.
20108 * panel-applet/menu-info.c: (nm_menu_wired_class_init),
20109 (nm_menu_wired_expose_event), (nm_menu_network_class_init),
20110 (nm_menu_wireless_class_init), (nm_menu_wireless_new),
20111 (nm_menu_wireless_expose_event): Really bad hack to get the style
20112 to draw in the right color.
20114 Tue Oct 12 John (J5) Palmieri <johnp@redhat.com>
20116 * info-daemon/NetworkManagerInfo.c (main): Add child watch to respawn
20117 Notification if it crashes
20119 Fri Oct 8 07:19:55 2004 Jonathan Blandford <jrb@redhat.com>
20121 * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_get_double):
20122 (nmwa_dbus_get_string): remove unused functions
20124 * panel-applet/NMWirelessApplet.c (nmwa_about_cb):
20125 (nmwa_cancel_timeout), (nmwa_get_menu_pos), (nmwa_factory):
20126 remove unused functions
20128 * panel-applet/NMWirelessApplet.c: Rewrite icon code.
20130 2004-10-12 Dan Williams <dcbw@redhat.com>
20132 * panel-applet/NMWirelessAppletDbus.c
20134 wireless_network_new
20135 wireless_network_copy
20137 network_device_copy
20139 * src/NetworkManagerDevice.[ch]
20141 nm_device_set_mode_managed
20142 nm_device_set_mode_adhoc
20143 - Use these functions where appropriate
20144 - When creating a new wireless device, force the card
20145 to managed/Infrastructure mode as soon as possible
20147 2004-10-12 Dan Williams <dcbw@redhat.com>
20149 * src/NetworkManagerDevice.c
20150 - Force wireless cards into Infrastructure mode before we use them
20152 2004-10-12 Dan Williams <dcbw@redhat.com>
20155 - Remove bit about static IP address support
20157 * src/NetworkManagerUtils.c
20158 - (nm_spawn_process): Add some error reporting
20160 * src/NetworkManagerDevice.c
20161 - (nm_device_activation_configure_ip): hook up to the static config
20162 routines in the backends
20164 * src/backends/NetworkManagerRedHat.c
20165 - (nm_system_device_update_config_info): use shvar.c routines to
20166 parse the config file iformation, not our own
20167 - (nm_system_device_setup_static_ip4_config): new function, based
20168 heavily on 'ifup' script and 'ipcalc' tool code. Set up a device
20169 with a static IP address and gateway
20171 * src/backends/shvar.[ch]
20172 - Parser (filched from initscripts package) for ifcfg-* files
20174 * src/backends/NetworkManagerSystem.h
20175 src/backends/NetworkManagerGentoo.c
20176 src/backends/NetworkManagerDebian.c
20177 src/backends/NetworkManagerSlackware.c
20178 - Stub nm_system_device_update_config_info() and nm_system_device_setup_static_ip4_config()
20180 2004-10-11 Dan Williams <dcbw@redhat.com>
20183 - Remove bit about more robust AP diffing since I just implemented it
20185 2004-10-11 Dan Williams <dcbw@redhat.com>
20187 * src/NetworkManagerAP.c
20188 - (nm_ap_new, nm_ap_new_from_ap): Don't crash when we don't have
20189 enough RAM to allocate new AP structures, but return NULL instead
20191 * src/NetworkManagerAPList.[ch]
20192 - (nm_ap_list_is_empty): new function
20193 - (nm_ap_list_combine): new function, combine two access point lists
20194 - (nm_ap_list_copy_keys): new function, copy keys from one list
20197 * src/NetworkManagerDevice.[ch]
20198 - Rename some functions to be clearer:
20199 nm_device_get_best_ap_frozen -> nm_device_is_best_ap_frozen
20200 nm_device_just_activated -> nm_device_is_just_activated
20201 nm_device_activating -> nm_device_is_activating
20202 nm_device_now_scanning -> nm_device_is_scanning
20203 - Cache the last 4 scans so that the access point list is more stable.
20204 We combine the lastest two scans and use that as the AP list,
20205 and diff that combined list against the combination of the earliest
20206 two cached scans for the WirelessNetworkAppeared/Dissappeared signals
20208 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
20210 * info-daemon/NWManagerInfo.h
20211 - (struct NetworkManagerInfo): add shutdown_timeout GSource
20213 * info-daemon/NWManagerInfoDbus.c
20214 - (shutdown_callback): new function
20215 - (nmi_dbus_filter): Create a 30 second timeout until shutdown
20216 if NetworkManager goes away. Kill the timeout
20217 if NetworkManager restarts before the 30 seconds
20219 - (nmi_dbus_service_init):
20220 - call gtk_main_quit if NetworkManager is not running
20221 - add filters to monitor dbus service creations and
20224 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
20226 * panel-applet/NMWirelessApplet.c
20227 - (nmwa_update_state): Hide notification icon if we are only
20228 showing one wired card and no wireless interfaces
20229 (Red Hat Bug #134895)
20231 * panel-applet/NMWirelessAppletDbus.c
20232 - (nmwa_dbus_filter): changed exit to gtk_main_quit ()
20234 * info-daemon/NWManagerInfo.c
20235 - (main): Terminated the notification_icon_cmd array with a NULL
20237 2004-10-08 Hendrik Brandt <hebra@cvs.gnome.org>
20239 * configure.in (ALL_LINGUAS): Added de (German).
20241 2004-10-08 Dan Williams <dcbw@redaht.com>
20243 * src/NetworkManagerDevice.c
20244 - Be a bit more robust about link checking, ie make sure that
20245 the WEP key we were given actually has some data in it
20247 2004-10-08 Dan Williams <dcbw@redhat.com>
20249 * info-daemon/NetworkManagerInfo.c (main):
20250 - Initialize GError object to NULL
20252 2004-10-08 Dan Williams <dcbw@redhat.com>
20254 * panel-applet/NMWirelessAppletDbus.c
20255 - Die if NetworkManagerInfo dies, since it manages our lifetime
20257 2004-10-08 Dan Williams <dcbw@redhat.com>
20259 * info-daemon/NetworkManagerInfo.[ch]
20260 info-dameon/NetworkManagerInfoDbus.[ch]
20261 info-daemon/NetworkManagerInfoPassphraseDialog.[ch]
20262 - Preserve original label text in the passphrase dialog so that
20263 it actually gets updated with the new network name the next
20264 time around. Previously, we were overwriting it so you'd get
20265 the wrong network name to enter a key for
20266 - Add a "Key Type" combo to the passphrase dialog, user selects
20267 encryption key type now, type is stored in GConf too
20268 - Adjust NM<->NMI DBUS protocol to pass the key type back to NM too
20270 * src/NetworkManagerAP.[ch]
20271 - Remove all the encyption method magic. It's now set by the user
20272 and NetworkManager retrieves the type of encryption key from
20275 * src/NetworkManagerAPList.[ch]
20276 src/NetworkManagerDbus.[ch]
20277 - Adjust to new way of setting encryption key and method
20278 - Pull encryption method down from NMI along with key
20280 * src/NetworkManagerDevice.[ch]
20281 - Removed encryption method fallback magic as the method is now
20282 determined by the user. This greatly simplifies the connection
20284 - More robust connection/link logic. Besides removing the encryption
20285 method fallback magic, check whether or not the card is receiving
20286 invalidly encrypted packets, which usually indicates that we have
20288 - Don't blindly forge ahead when DHCP fails (still not completely fixed)
20290 * test/nminfotest.c
20291 - Test out new "Key Type" stuff in the NMI passphrase dialog
20293 2004-10-07 Dan Williams <dcbw@redhat.com>
20295 * info-daemon/NetworkManagerInfo.conf
20296 - Allow root user to run NMI too
20298 2004-10-06 Dan Williams <dcbw@redhat.com>
20300 * src/NetworkManagerDevice.[ch]
20301 src/NetworkManagerDbus.c
20302 doc/NetworkManager DBUS API.txt
20303 - Add a new status tag "scanning", which is set when there
20304 is no active network connection, but NetworkManager is
20305 looking for an access point to associate with
20307 * panel-applet/main.c
20308 - Cast the applet appropriately for gtk_widget_show_all ()
20310 Mon Oct 4 12:55:41 2004 Jonathan Blandford <jrb@redhat.com>
20312 * panel-applet/eggtrayicon.[ch]:
20313 * panel-applet/main.c: Add missing file
20315 2004-10-04 Dan Williams <dcbw@redhat.com>
20317 * src/NetworkManagerDevice.[ch]
20318 - Add a slightly more robust method of determining if the WEP key
20319 is correct or not, by checking the WEP-discarded packet count
20322 * info-daemon/NetworkManagerInfo.c
20323 - (nmi_gconf_notify_callback): Fix GConf essid escaping, should
20324 un-escape values we pull out rather than escaping them
20326 2004-10-03 Marcel Telka <marcel@telka.sk>
20328 * configure.in (ALL_LINGUAS): Added sk.
20330 Fri Oct 1 18:26:03 2004 Jonathan Blandford <jrb@redhat.com>
20332 * panel-applet/menu-info.c (nm_menu_wired_class_init): update look
20333 and feel. We should be back to working, and have a good, clean
20336 2004-09-30 Dan Williams <dcbw@redhat.com>
20338 * info-daemon/NetworkManagerInfo.c
20339 info-daemon/NetworkManagerInfoDbus.c
20341 - Escape ESSIDs in gconf
20343 * src/NetworkManagerDevice.c
20344 - Fix pseudo-scanning to use netowrk list from info daemon
20346 Wed Sep 29 18:18:24 2004 Jonathan Blandford <jrb@redhat.com>
20348 * configure.in: Add a temporary --enable-notification-icon. This
20349 will prolly go away.
20351 * info-daemon/Makefile.am:
20352 * info-daemon/NetworkManagerInfo.c:
20353 * info-daemon/NetworkManagerInfo.h: Use a notification icon.
20355 * panel-applet/Makefile.am:
20356 * panel-applet/NMWirelessApplet.c: Turn into a notification icon
20357 * panel-applet/NMWirelessApplet.h:
20359 Tue Sep 28 16:35:20 2004 Jonathan Blandford <jrb@redhat.com>
20361 * panel-applet/NMWirelessApplet.c: Fix deadlock. Add a separator
20362 before 'select custom ESSID'.
20364 * panel-applet/menu-info.c: Start rewrite for better headers. Not
20365 fully complete, but syncing in prep for merge.
20367 * panel-applet/icons/*png: New images
20369 2004-09-28 Dan Williams <dcbw@redhat.com>
20371 * src/NetworkManager.c
20372 src/NetworkManagerDevice.c
20373 src/NetworkManagerPolicy.c
20374 - Don't blow away an active wired connection on startup
20376 2004-09-28 Bryan Clark <clarkbw@cvs.gnome.org>
20380 * info-daemon/NetworkManagerInfo.conf: fixed own permissions
20382 * info-daemon/NetworkManagerInfoDbus.c: added service name to
20385 Wed Sep 22 14:19:48 2004 Jonathan Blandford <jrb@redhat.com>
20387 * panel-applet/NMWirelessApplet.c: Only add essid's if we actually
20388 have a wireless card.
20390 Wed Sep 22 14:05:48 2004 Jonathan Blandford <jrb@redhat.com>
20392 * panel-applet/NMWirelessApplet.c: move the custom essid item.
20393 Also, get the right device strings.
20395 Wed Sep 22 13:51:45 2004 Jonathan Blandford <jrb@redhat.com>
20397 * panel-applet/menu-info.c (nm_menu_network_draw_indicator): Flip
20398 the logic to make this right.
20400 * panel-applet/NMWirelessApplet.c (sort_networks_function): sort
20401 devices so that wired networks are always first.
20403 2004-09-22 <clarkbw@cvs.gnome.org>
20405 * initscript/Debian/.cvsignore:
20406 * initscript/Slackware/.cvsignore:
20407 Added new cvsignores for Makefile, Makefile.in
20410 Added nmtestdevices
20412 * src/NetworkManagerDevice.c:
20413 * src/NetworkManager.c:
20414 Updated the wireless/wired HAL device strings from net.ethernet to
20415 net.80203 or net.80211 depending on wired or wireless respectively
20417 * examples/python/NetworkManager.py:
20418 s/Quality/Strength/
20420 * examples/python/systray/network_tray.py:
20421 Lots of little changes and fixes. been rotting for a while so I
20422 figured I'd finally sync them all with CVS
20424 Tue Sep 21 18:05:34 2004 Jonathan Blandford <jrb@redhat.com>
20426 * configure.in: Add graphics
20428 * panel-applet/Makefile.am: Add graphics
20430 * panel-applet/icons/*: Add graphics
20432 * panel-applet/NMWirelessApplet.c: Use new menu times to display
20433 the icons fully lined up.
20435 * panel-applet/menu-info.c:
20436 * panel-applet/menu-info.h: Add another menu type.
20438 Fri Sep 17 14:04:34 2004 Jonathan Blandford <jrb@redhat.com>
20440 * panel-applet/NMWirelessApplet.c: Redo the menu item code.
20442 * panel-applet/menu-item.[ch]: Wireless menu item.
20444 2004-09-15 John (J5) Palmieri <johnp@redhat.com>
20446 * info-daemon/NetworkManagerInfo.conf
20447 - Created a more robust security policy for the DBus service
20448 - everything is denied by default
20449 - root can own and send to the service
20450 - users logged in at the console can send to the service
20452 2004-09-13 Dan Williams <dcbw@redhat.com>
20454 * src/NetworkManagerDevice.c
20455 - (nm_device_get_essid): use iw_get_basic_config() rather than
20456 iw_get_ext (SIOCGIWESSID) since prism54 cards don't like
20459 2004-09-13 Dan Williams <dcbw@redhat.com>
20463 * docs/NetworkManager DBUS API.txt
20464 - Update for new signal strength changes
20466 * panel-applet/NMWirelessApplet.c
20467 - Make panel icon show strength of the current connection
20468 - Cleanups and memleak fixes
20470 * panel-applet/NMWirelessApplet.h
20471 - Add data members for signal strength on devices and networks
20473 * panel-applet/NMWirelessAppletDbus.c
20474 - Free more DBusErrors
20475 - Update for new signal strength changes
20476 - Make devices and networks more like real objects, use ref/unref methods
20477 - Actually unlock the mutex when updating the active device
20479 * src/NetworkManagerAP.c
20480 - Change AP functions and data members from "quality"->"strength"
20482 * src/NetworkManagerDbus.c
20483 - Kill "getMaxQuality" and "getQuality" methods
20484 - Add "getStrength" methods for Networks and Devices
20486 * src/NetworkManagerDevice.[ch]
20487 - Add accessors for device strength
20488 - Add functions to update strength for a device. Note that not all drivers
20489 actually support signal strength for scanned access points (Atmel drivers
20491 - Calculate signal strength for each AP during scan
20493 * src/NetworkManagerWireless.[ch]
20494 - Add function to return signal strength % from a device and a raw quality struct
20496 * test/nmclienttest.c
20497 - Update for new signal strength changes
20499 2004-09-11 Dan Williams <dcbw@redhat.com>
20501 * src/NetworkManager.c
20502 - Fix race condition between initscripts and NM on card insertion
20503 which could cause a card to keep an IP address and routes around
20504 even when it was not the active device
20506 * src/NetworkManagerDbus.c
20507 - Fix compile errors, free more DBusErrors
20509 2004-09-11 Dan Williams <dcbw@redhat.com>
20511 * docs/NetworkManager DBUS API.txt
20512 - Add an explanation of NM's API
20514 * src/NetworkManagerDbus.c
20515 - Free some more DBusErrors if needed
20517 2004-09-11 Dan Williams <dcbw@redhat.com>
20519 * panel-applet/NMWirelessApplet.c
20520 panel-applet/NMWirelessAppletDbus.c
20521 - Start using NetworkDevice/WirelessNetwork structures in more places
20522 - Update for unified device/network forcing in NetworkManager
20524 * src/NetworkManager.c
20525 - some code consolidation
20527 * src/NetworkManagerDbus.c
20528 - (nm_dbus_nm_set_active_device): "setActiveDevice" now takes either one
20529 or two arguments: the first is the NM ID of the device to switch to,
20530 and the second (optional) argument is the ESSID of a wireless network
20532 - Get rid of "setNetwork" method due to above change
20534 * src/NetworkManagerDevice.c
20535 - (nm_device_new): perform scan and update best AP on device creation
20536 - nm_device_activation_cancel_if_needed()->nm_device_activation_should_cancel()
20537 - nm_device_activation_signal_cancel()->nm_device_activation_cancel(), and
20538 spin waiting for cancellation to finish before returning
20540 * src/NetworkManagerPolicy.c
20541 - Changes here clarify the situations in which a device switch occurs, and
20542 make sure to keep using a forced device and network if the user gives
20544 - Remove old unused code
20546 2004-09-11 Martin Willemoes Hansen <mwh@sysrq.dk>
20548 * configure.in: Added Danish (da) to ALL_LINGUAS.
20550 2004-09-09 Dan Williams <dcbw@redhat.com>
20552 * panel-applet/NMWirelessAppletDbus.c
20553 - Pull fresh devices and networks from NM when wireless networks
20554 change. Provides faster feedback of a forced wireless network
20556 * src/NetworkManagerDbus.c
20557 - Return error when "getMaxQuality" is called on a wired device
20558 - Make best_ap freezing actually work again, and signal cancellation
20559 of activation if there's already a device activation when the user
20560 freezes the best_ap
20562 * src/NetworkManagerDevice.c
20563 - Don't clear out the best_ap for wireless devices when the link goes
20564 down, that's done elsewhere
20565 - Kill any dhcp daemons when cancelling device activation since they
20566 may be stuck waiting for a DHCP address, and since we're cancelling
20567 activation we don't care about that anymore
20569 * src/NetworkManagerPolicy.c
20570 - Make sure to unref the device we ref earlier (we refed it to make sure
20571 it stuck around during device activation and such)
20572 - If we were going to change the best device, but its activating currently
20573 (and therefore the change didn't occur due to the check earlier)
20574 we mark the state changed to we come back to it later when device
20575 activation has canceled and its no longer activating
20577 * src/backends/NetworkManagerRedHat.c
20578 - SIGKILL dhcp daemons rather than SIGTERM-ing them
20580 2004-09-09 Bryan Clark <clarkbw@cvs.gnome.org>
20582 * info-daemon/passphrase.glade:
20583 set passphrase input to activates_default : True
20585 * examples/python/systray/network_tray.py
20586 (network_tray.sort_networks):
20588 Added support for having wireless always scanning
20590 2004-09-09 Dan Williams <dcbw@redhat.com>
20592 NOTE: this commit changes the behavior of wireless devices in
20593 NetworkManager. They are now up all the time, scanning all
20594 the time. Only the active device has an IP address and routing
20595 information set up however. Also, NetworkManager will no longer
20596 opportunistically switch wireless networks when a better one
20597 comes in range, it will remain associated with one wireless network
20598 until that one drops out.
20600 * panel-applet/NMWirelessApplet.c
20601 panel-applet/NMWirelessAppletDbus.c
20602 - List all wireless cards and their respective networks
20604 * src/NMLoadModules
20605 - Use full path to /sbin/ip
20607 * src/NetworkManager.c
20608 - Keep wireless devices up all the time so they can scan
20610 * src/NetworkManagerDbus.c
20611 - On a WirelessNetworkUpdate signal from NMI, don't update
20614 * src/NetworkManagerDevice.c
20615 - (nm_device_set_link_active): clear out the best ap for
20616 wireless devices when the link is set to FALSE
20617 - Scan on all wireless cards, all the time
20618 - (nm_device_activation_worker): split out the wireless card
20619 link-waiting code to a separate function
20620 - Keep wireless cards up even if device activation fails
20621 - Don't update the "best" ap as much
20623 * src/NetworkManagerPolicy.c
20624 - Don't update the best ap when checking if its frozen,
20625 let link checking clear out a frozen best ap for us
20627 * src/NetworkManagerWireless.c
20628 - Scan on all wireless cards, all the time
20630 2004-09-09 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
20632 * configure.in: Added 'es' (Spanish) to ALL_LINGUAS.
20634 2004-09-09 Ankit Patel <ankit@redhat.com>
20636 * configure.in: Added 'gu' (Gujarati) to ALL_LINGUAS.
20638 2004-09-09 Pablo Saratxaga <pablo@mandrakesoft.com>
20640 * configure.in: Added Walloon (wa) to ALL_LINGUAS.
20642 2004-09-08 Bryan Clark <clarkbw@cvs.gnome.org>
20644 * examples/python/NetworkManager.py:
20645 added CONNECTED, CONNECTING, and DISCONNECTED states
20646 added methods to return number of devices of a single type
20648 * examples/python/systray/network_tray.py:
20649 did some tweaks to get the menu looking near what it is supposed
20650 to look like. Also did a Airo card hack to make it show the
20653 2004-09-08 Dan Williams <dcbw@redhat.com>
20655 * panel-applet/no-networkmanager.png
20656 panel-applet/Makefile.am
20657 panel-applet/NMWirelessApplet.c
20658 - Add a "NetworkManager not running" icon and use it
20659 - Use new consolidated GConf keys rather than Preferred/Trusted
20663 * info-daemon/NetworkManagerInfo.c
20664 info-daemon/NetworkManagerInfoDbus.[ch]
20665 info-daemon/NetworkManagerInfoPassphraseDialog.c
20666 - There are now no longer two separate lists of wireless networks,
20667 but one list where each network is "trusted" or not trusted
20668 - Add a "getNetworkTrusted" dbus method
20669 - "WirelessNetworkUpdate" signal now sent rather than
20670 "PreferredNetworkUpdate/TrustedNetworkUpdate" signals
20671 - Start freeing some dbus errors (not completed yet)
20673 * info-daemon/passphrase.glade
20674 - Remove the "don't show" hints for pager and taskbar
20675 - Add a title since its going to be in the taskbar
20677 * src/NetworkManager.[ch]
20678 src/NetworkManagerAPList.[ch]
20679 - There are now no longer two separate lists of wireless networks,
20680 but one list where each network is "trusted" or not trusted
20682 * src/NetworkManagerAP.[ch]
20683 - Add get/set "trusted" accessors and data bit
20685 * src/NetworkManagerDbus.[ch]
20686 - Add function to get "trusted" status of a network from NetworkManagerInfo
20687 - Trap new WirelessNetworkUpdate signal rather than old separate signals
20689 * src/NetworkManagerDevice.[ch]
20690 - Add per-device config data (ip4 addr, gateway, netmask) and accessors
20691 - (nm_device_new): Get device config from backend when initializing devices
20692 - (nm_device_activation_worker): Split out device configuration on
20693 activation to deal with static/dynamic IP differences, and try encryption
20694 fallbacks on a device if the encryption method for the best AP is not good
20695 - (nm_device_update_best_ap): convert to new consolidated access point lists from
20696 NetworkManagerInfo, and copy over latest NMI info to best_ap when setting it
20698 * src/NetworkManagerWireless.c
20699 - libgcrypt code wasn't converting the MD5 digest to an ascii string, fix it
20701 * src/backends/NetworkManagerRedHat.c
20702 src/backends/NetworkManagerSystem.h
20703 - (nm_system_device_update_config_info): Add function to get device configuration
20704 from system data in ifcfg-* files
20706 * src/backends/NetworkManagerDebian.c
20707 src/backends/NetworkManagerGentoo.c
20708 src/backends/NetworkManagerSlackware.c
20709 - Add stub functions for getting device configuration
20711 2004-09-07 Dan Williams <dcbw@redhat.com>
20713 * src/backends/NetworkManagerRedhat.c
20714 src/backends/NetworkManagerSlackware.c
20715 - Use full path to /sbin/ip everywhere
20717 2004-09-07 Dan Williams <dcbw@redhat.com>
20719 Patch from: Narayan Newton <narayan_newton@yahoo.com>
20722 initscript/Makefile.am
20723 initscript/Slackware/Makfile.am
20724 initscript/Slackware/rc.networkmanager
20726 src/backends/NetworkManagerSlackware.c
20727 - Add Slackware support
20729 2004-09-07 Dan Williams <dcbw@redhat.com>
20731 Patches below from:
20733 Mark Roach <mrroach@okmaybe.com>
20734 Thom May <thom@debian.org>
20737 initscript/Debian/NetworkManager
20738 initscript/Debian/Makefile.am
20739 - Initscript for Debian
20741 * src/backends/NetworkManagerDebian.c
20742 - Add missing system init function to allow compilation
20745 2004-09-03 Raphael Higino <raphaelh@cvs.gnome.org>
20747 * configure.in: Added 'pt_BR' to ALL_LINGUAS.
20749 2004-09-03 Akagic Amila <bono@linux.org.ba>
20751 * configure.in: Added 'bs' to ALL_LINGUAS.
20753 2004-09-02 Colin Walters <walters@verbum.org>
20755 * src/backends/NetworkManagerRedHat.c (nm_system_device_run_dhcp)
20756 (nm_system_device_stop_dhcp, nm_system_device_flush_routes): Use
20757 g_strdup_printf instead of arbitrarily sized buffers.
20759 2004-09-01 Colin Walters <walters@verbum.org>
20761 * NetworkManager.pc.in: New file.
20763 * Makefile.am, .cvsignore, configure.in: Add NetworkManager.pc.
20765 2004-09-01 Amanpreet Singh Alam <aalam@redhat.com>
20767 * configure.in: Punjabi(pa) is added to po/.
20769 2004-08-31 Dan Williams <dcbw@redhat.com>
20771 * Remove 'debug' extern global from all files since we now
20774 * src/NetworkManager.[ch]
20775 - Break out routine that get the net.interface property from HAL,
20776 removing that logic from nm_create_device_and_add_to_list()
20777 - (nm_create_device_and_add_to_list): make this a bit more general so
20778 it doesn't do the talking to HAL. Also add arguments to facilitate
20779 the create of test devices.
20780 - (nm_data_mark_state_changed): rename from nm_data_set_state_modified()
20781 - (nm_data_new, main, nm_print_usage): add new argument "--enable-test-devices"
20782 which makes NetworkManager listen for dbus commands to create test
20783 devices, which have no backing hardware. Use when you're on a plane
20784 for example, and/or forgot your wireless card at home. Test devices
20785 _cannot_ be created unless NM is started with --enable-test-devices.
20787 * src/NetworkManagerDbus.[ch]
20788 - New "getLinkActive" method for devices
20789 - New "setLinkActive" method for devices (only works on test devices)
20790 - New "createTestDevice" method on NetworkManager object to create a test
20791 device of a specified type (ie wired, wireless). UDI is created from
20792 scratch, as is the interface name. Only works when NM is started with
20793 --enable-test-devices switch.
20794 - New "removeTestDevice" method on NetworkManager object which removes a
20795 test device. Only works when NM is started with --enable-test-devices
20797 * src/NetworkManagerDevice.[ch]
20798 - Logic to facilitate test devices. Add variables to NMDevice struct to indicate
20799 whether a device is a test device or not, and what its link status is.
20800 - Deal with test devices in most functions. For those that work directly on hardware
20801 special-case test devices.
20802 - (nm_device_new): don't create a test device if test devices weren't enabled on the
20804 - (nm_device_update_link_active): split out logic for wired and wireless device link
20805 checking to separate functions to facilitate test device link checking.
20806 - (nm_device_set_enc_key): Since some drivers for wireless cards are daft and
20807 don't make a distinction between System Authentication and Encryption
20808 (namely Cisco aironet), we use Open System auth when setting a WEP key
20809 on the card. We don't deal with Shared Key auth yet.
20810 - (nm_device_activation_worker): split the activation cancel check logic out into
20811 a separate routine nm_device_activation_cancel_if_needed()
20812 - (nm_device_activation_signal_cancel): rename from nm_device_activation_cancel()
20813 - (nm_device_fake_ap_list): Test wireless devices obviously cannot scan, so create
20814 a list of fake access points that they can "see"
20815 - (nm_device_is_test_device): return whether or not a device is a test device
20817 * src/NetworkManagerPolicy.c
20818 - (nm_policy_get_best_device): attempt to deal with wireless network selection,
20819 previously if you "locked"/forced NM to use a wireless device but then
20820 selected a wireless network for NM to use, it would switch to a wired device.
20821 So, if the active device is wireless and it has a "forced" best AP, use it
20822 if the "forced" best AP is still valid
20823 - (nm_state_modification_monitor): deal with NULL best devices, for example
20824 there were no usable network devices, or the last one was removed
20826 * src/backends/NetworkManager*.c
20827 - Deal with test devices, mostly just return success for operations like getting
20830 * test/nmtestdevices.c
20831 - Test tool to create/remove/link-switch test devices
20833 2004-08-30 Bryan Clark <clarkbw@cvs.gnome.org>
20835 * examples/python/NetworkManager.py:
20836 added convience functions has_wired_device and has_wireless_device
20838 * examples/python/systray/network_tray.py:
20839 cleaned up a bunch of cruft, added support for listing wireless
20840 networks just like the real applet. This is probably all I'm
20841 going to work on this applet from now on.
20842 TODO: add support for actually changing networks and devices
20844 * examples/python/NetworkManager.py (NetworkManager.get_device):
20845 changed "nm.networks" into a dict from a list so I can store all
20846 the cool information about networks in there
20848 * examples/python/systray/network_tray.py:
20849 Added nice message when you try to run without running make first
20851 * examples/python/NetworkManager.py:
20852 Bug fixes to the code so we get all the device information
20853 that we need in get_device()
20855 * examples/python/NMTester.py:
20856 Fixed _print_device_list to print_device_list
20858 2004-08-29 Seth Nickell <seth@gnome.org>
20862 Actually properly setup the Debian backend in configure.
20864 2004-08-29 Colin Walters <walters@verbum.org>
20866 * test/nminfotest.c: Include string.h and stdlib.h.
20867 (get_network_string_property, get_networks_of_type): Return NULL.
20869 * test/nmclienttest.c (get_device_name, get_active_device): Return
20872 * src/backends/NetworkManagerRedHat.c (nm_system_device_stop_dhcp): Just
20873 use strlen, fgets always NULL-terminates the string.
20875 * src/NetworkManagerDbus.c (nm_dbus_nmi_filter,
20876 dbus_message_get_member): Remove /* in comment.
20878 * src/NetworkManagerUtils.c (LOCKING_DEBUG): Ditto.
20880 * src/NetworkManager.c (quit): Unused, delete.
20881 (nm_data_free): Cast arg to GFunc.
20883 * panel-applet/NMWirelessAppletDbus.c: Need to include
20884 string.h, and dbus-glib-lowlevel.h (the latter is needed
20885 for dbus_connection_setup_with_g_main at present).
20886 (nmwa_dbus_update_wireless_network_list): Parenthesize
20887 assignment in conditional.
20888 (nmwa_dbus_worker): Return NULL.
20890 * panel-applet/NMWirelessApplet.c (nmwa_redraw)
20891 (nmwa_get_menu_pos, nmwa_toplevel_menu_activate)
20892 (nmwa_menu_add_text_item, nmwa_setup_widgets): Kill unused variables.
20893 (nmwa_populate_menu): Return NULL on failure, instead of just
20896 * initscript/NMLaunchHelper.c (g_timeout_add): Cast arg to GSourceFunc.
20898 * info-daemon/NetworkManagerInfoNetworksDialog.c (nmi_networks_dialog_init): Kill unused
20901 * info-daemon/NetworkManagerInfo.c (nmi_print_usage): Unused,
20904 2004-08-29 Colin Walters <walters@verbum.org>
20906 * src/NetworkManagerDbus.c (nm_dbus_get_network_timestamp): Return
20907 a GTimeVal instead of time_t. This is easier to work with,
20908 since time_t may be a long or double, we don't know.
20910 * src/NetworkManagerDbus.h: Update prototype.
20912 * src/NetworkManagerAP.c (struct NMAccessPoint): Store a GTimeVal
20914 (nm_ap_get_timestamp): Update to return GTimeVal.
20915 (nm_ap_set_timestamp): Update to take GTimeVal.
20917 * src/NetworkManagerDevice.c (nm_device_update_best_ap): Update
20918 to handle GTimeVal.
20920 * src/NetworkManagerAPList.c (nm_ap_list_update_network): Handle
20922 (nm_ap_list_print_members): Fix warnings in printf format.
20924 2004-08-29 Colin Walters <walters@verbum.org>
20926 * panel-applet/NMWirelessApplet.c: Include config.h.
20928 2004-08-29 Colin Walters <walters@verbum.org>
20930 * configure.in: Generate config.h.
20932 * configure.in: Dump dependency on OpenSSL; we can't
20933 use it since this package is GPL:
20934 http://www.gnome.org/~markmc/openssl-and-the-gpl.html
20935 Instead, check for libgcrypt, use it if available,
20936 otherwise use included MD5 code.
20938 * src/gnome-keyring-md5.h, src/gnome-keyring-md5.c:
20939 Suck in from gnome-keyring, munge a bit.
20941 * src/Makefile.am (NetworkManager_SOURCES) <!WITH_GCRYPT>: Include
20942 gnome-keyring-md5.h gnome-keyring-md5.c.
20943 (NetworkManager_LDADD) <WITH_GCRYPT>: Add dep on LIBGCRYPT_LIBS.
20945 * src/NetworkManagerWireless.c (nm_md5): New function, uses
20946 libgcrypt or included gnome-keyring md5 bits.
20947 (nm_wireless_128bit_key_from_passphrase): Use nm_md5.
20949 2004-08-28 Kjartan Maraas <kmaraas@gnome.org>
20951 * configure.in: Add «nb» and «no» to ALL_LINGUAS.
20953 2004-08-27 Bryan Clark <bclark@redhat.com>
20955 * examples/python/systray/Makefile:
20957 Updated the clean section
20959 * examples/python/systray/trayiconmodule.c:
20960 * examples/python/systray/trayicon.override:
20961 * examples/python/systray/network_tray.py:
20962 * examples/python/systray/eggtrayicon.h:
20963 * examples/python/systray/eggtrayicon.c:
20964 * examples/python/systray/Makefile:
20965 * examples/python/README:
20966 * examples/python/NetworkManager.py:
20967 * examples/python/NMTester.py:
20969 Initial commit of these python example files
20971 Fri Aug 28 2004 Dan Williams <dcbw@redhat.com>
20973 * panel-applet/NMWirelessApplet.c
20974 - Make current device bold
20975 - Show more user-friendly device name if we got one from hal
20977 * panel-applet/NMWirelessAppletDbus.c
20978 - Grab "info.product" key from hal for network devices
20979 - Cache the current active device
20981 2004-08-27 Adam Weinberger <adamw@gnome.org>
20983 * configure.in: Added en_CA to ALL_LINGUAS.
20985 2004-08-27 Christian Rose <menthos@menthos.com>
20987 * configure.in: Added "sv" to ALL_LINGUAS.
20989 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20991 * Tag NetworkManager-0.2
20993 Thu Aug 26 17:23:16 2004 Jonathan Blandford <jrb@redhat.com>
20995 * initscripts/Makefile.am
20996 * configure.in: Make pass distcheck
20998 * po/ChangeLog: added
21000 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
21002 * panel-applet/NMWirelessApplet.c
21003 - Remove debugging code
21004 - Enable device switching from menus
21006 * panel-applet/NMWirelessAppletDbus.[ch]
21007 - Method for asking NM to switch devices
21009 * src/NetworkManagerDevice.c
21010 - Set dev->activating earlier, avoids race between
21011 the dbus signal of "DeviceActivating" and setting
21012 dev->activating (which is what NM's "status" method call
21015 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
21017 * panel-applet/NMWirelessApplet.[ch]
21018 - Rework menu code to add devices to menu, and to show
21019 signal strength for each access point. Code cleanups
21022 * panel-applet/NMWirelessAppletDbus.c
21023 - Grab network devices from NetworkManager too
21024 - Grab quality information from NM for wireless networks
21026 * src/NetworkManagerDbus.[ch]
21027 - Add dbus methods for getting the HAL UDI from a device and
21028 for getting its base quality, if its wireless
21029 - Consolidate some functions (wireless network notifications,
21030 device notifications)
21031 - Add method for requesting NM to use a particular device
21033 * src/NetworkManager.c
21034 - Change for function consolidations from NetworkManagerDbus.c
21035 - Implement active device locking and user-requested devices
21036 (ie, tell NM to use a particular device instead of the one
21039 * src/NetworkManagerDevice.c
21040 - Add method for getting the base quality of a device, if its
21042 - Grab device base quailty info from iwlib during scans
21044 * src/NetworkManagerPolicy.c
21045 - Use a user-requested device rather than the auto-chosen device
21048 Thu Aug 26 15:12:36 2004 Jonathan Blandford <jrb@redhat.com>
21050 * Makefile.am: add po as a supdir
21052 * autogen.sh: use gnome-autogen.sh
21054 * initscript/Gentoo/.cvsignore:
21055 * initscript/RedHat/.cvsignore: Shut up cvs
21057 * panel-applet/Makefile.am: Define GNOMELOCALEDIR for bonobo.
21059 * panel-applet/NMWirelessApplet.c: (nmwa_populate_menu),
21060 (nmwa_fill): Use gettext.
21062 * configure.in: add gettext support
21064 * po/NetworkManager.pot:
21067 2004-08-26 Seth Nickell <seth@gnome.org>
21069 * panel-applet/NMWirelessApplet.c: (nmwa_destroy),
21070 (nmwa_menu_item_activate), (nmwa_toplevel_menu_activate),
21071 (nmwa_add_menu_item), (nmwa_menu_item_data_free),
21072 (nmwa_dispose_menu_items), (nmwa_populate_menu),
21073 (nmwa_setup_widgets), (do_not_eat_button_press), (nmwa_new):
21074 * panel-applet/NMWirelessApplet.h:
21076 Use a menu bar instead of a button for the main clickable
21079 2004-08-25 Dan Williams <dcbw@redhat.com>
21081 * src/NetworkManagerDevice.c
21082 - (nm_device_set_enc_key): always set device to "open" mode instead of
21083 turning encryption off, because the Cisco driver doesn't associate
21084 with WEP-enabled access points unless we are in "open"
21086 2004-08-25 Dan Williams <dcbw@redhat.com>
21088 * src/NetworkManagerWireless.c
21089 - Don't try to defererence blank passphrases
21091 2004-08-25 Dan Williams <dcbw@redhat.com>
21093 * panel-applet/NMWirelessApplet.c
21094 - Rebuild the menu whenever a user clicks
21096 2004-08-25 Dan Williams <dcbw@redhat.com>
21098 * panel-applet/NMWirelessApplet.c
21099 - (nmwa_udpate_state): Set panel icon to "wired" (for lack of better ones)
21100 when NM isn't around or when its not connected
21102 * src/NetworkManagerDevice.c
21103 - (nm_device_activation_worker): Make sure to reset dev->activating if we get
21106 2004-08-25 Dan Williams <dcbw@redhat.com>
21108 * panel-applet/NMWirelessAppletDbus.c
21109 - (nmwa_dbus_get_bool, nmwa_dbus_get_network_encrypted): correct method name
21110 for getting encryption, and don't stop on "val" once we've gotten it
21111 from NetworkManager. Short form: encryption should now show up.
21113 2004-08-25 Dan Williams <dcbw@redhat.com>
21115 * panel-applet/NMWirelessApplet.c
21116 - Set ESSID on a gconf trusted network too when force-setting the wireless
21117 network to associate with
21119 2004-08-25 Dan Williams <dcbw@redhat.com>
21122 - Rework the panel applet to do all DBUS communication in a separate
21125 2004-08-25 Dan Williams <dcbw@redhat.com>
21127 * info-daemon/NetworkManagerInfo.[ch]
21128 - Remove "get_next_priority" function
21130 * info-daemon/NetworkManagerInfoDbus.[ch]
21131 - Convert "priority" functions to "timestamp"
21133 2004-08-25 Dan Williams <dcbw@redhat.com>
21135 * src/NetworkManagerAP.[ch]
21136 - Add a "enc_method_good" member and accessors to an Access Point
21137 to signal when we've found the correct encryption method
21138 for an access point
21139 - Add a "timestamp" member and accessors, remove "priority" member
21140 and accessors (use timestamps instead)
21141 - Rename "wep_key"->"enc_key"
21142 - (nm_ap_get_enc_key_hashed): new, return the correct mangled key
21143 for a specified encryption method using the access points
21144 source encryption key/passphrase
21146 * src/NetworkManagerAPList.c
21147 - When updating a network with dbus, grab timestamp now instead of
21150 * src/NetworkManagerDBus.[ch]
21151 - Add signal for "DeviceActivating"
21152 - Switch priority->timestamp
21154 * src/NetworkManagerDevice.c
21155 - Change references of "wep_key" -> "enc_key" or "key"
21156 - Signal DeviceActivating when starting activation
21157 - When activating a wireless device, if the access point we are connecting
21158 to is encrypted, and we have a source key, try to generate a mangled
21159 key and use that (ie, generate real WEP key from a passphrase)
21160 - Rework device activation to fallback to other encryption methods if
21161 a previous one didn't work (ie, try mangling a key as a 104-bit passphrase
21162 first, then if that doesn't work fall back to direct hex key).
21163 - (nm_device_update_best_ap): fix a deadlock, and use timestamps instead of
21164 priority. We now prefer the latest access point used, rather than using
21166 - (nm_device_do_normal_scan): make the encryption method "unknown" on access
21167 points we've just discovered, and merge in correct info from the global
21170 2004-08-25 Seth Nickell <seth@gnome.org>
21172 Patch from Matthew Garrett <mjg59@srcf.ucam.org> for adding
21176 * src/backends/NetworkManagerDebian.c: (nm_system_device_run_dhcp),
21177 (nm_system_device_stop_dhcp), (nm_system_device_flush_routes),
21178 (nm_system_device_flush_addresses), (nm_system_enable_loopback),
21179 (nm_system_delete_default_route),
21180 (nm_system_kill_all_dhcp_daemons), (nm_system_update_dns),
21181 (nm_system_load_device_modules):
21183 2004-08-24 Dan Willemsen <dan@willemsen.us>
21185 * src/NetworkManager.c
21186 src/backends/NetworkManagerGentoo.c
21187 src/backends/NetworkManagerRedHat.c
21188 src/backends/NetworkManagerSystem.h
21189 - Implement preliminary Gentoo support, adding a
21190 nm_system_init function to the backend specification
21193 - Distribution auto-detection, lowercase any user-fed
21196 * initscript/.cvsignore
21197 initscript/Makefile.am
21198 initscript/RedHat/Makefile.am
21199 initscript/RedHat/NetworkManager
21200 initscript/Gentoo/Makefile.am
21201 initscript/Gentoo/NetworkManager
21202 - Refactored initscript code separately for each
21205 2004-08-23 Dan Williams <dcbw@redhat.com>
21209 src/NetworkManagerDevice.c
21210 src/NetworkManager.c
21211 src/NetworkManagerUtils.[ch]
21212 src/backends/NetworkManagerSystem.h
21213 src/backends/NetworkManagerRedHat.c
21214 src/backends/NetworkManagerGentoo.c
21215 - Refactor system-specific code into separate backends for
21218 2004-08-23 Dan Willemsen <dan@willemsen.us>
21220 * dispatcher-daemon/NetworkManagerDispatcher.c
21221 info-daemon/NetworkManagerInfo.[ch]
21222 info-daemon/NetworkManagerInfoDbus.c
21223 info-daemon/NetworkManagerInfoPassphraseDialog.c
21224 src/NetworkManager.c
21225 src/NetworkManagerAP.c
21226 src/NetworkManagerAPList.c
21227 src/NetworkManagerDbus.c
21228 src/NetworkManagerDevice.c
21229 src/NetworkManagerPolicy.c
21230 src/NetworkManagerUtils.[ch]
21231 src/NetworkManagerWireless.c
21232 - Used syslog functions for logging instead of NM_DEBUG_DISPLAY & fprintf
21234 * src/NetworkManager.c
21235 - Fixed usage wording for --no-daemon
21237 2004-08-23 Dan Williams <dcbw@redhat.com>
21239 * panel-applet/NMWirelessApplet.c
21240 - Update our state every second to get more responsive panel icon
21241 - (nmwa_update_state): remove bogus applet->pix_state = PIX_WIRED that
21242 was causing our marching ants status blips to never move when
21243 looking for a wireless network
21245 * src/NetworkManagerDevice.c
21246 - (nm_device_activation_begin): return if activation has already begun
21247 - (nm_device_do_normal_scan): merge WEP key and priority from the
21248 trusted/preferred network into the device's access point when the
21249 scan list is processed
21251 2004-08-23 Dan Williams <dcbw@redhat.com>
21253 * initscript/NetworkManager
21254 - Use NMLaunchHelper rather than sleeping
21256 * initscript/NMLaunchHelper.c
21258 - Add helper program that exits only when NM activates a device,
21259 or 10 seconds have passed, whichever happens first. This
21260 stops the boot processes until we have a network connection,
21261 which NM can't do because it daemonizes and brings the connection
21262 up in the background. Allows stuff like NFS to not die.
21264 2004-08-20 Dan Williams <dcbw@redhat.com>
21266 * info-daemon/NetworkManagerInfoPassphraseDialog.c
21267 - (nmi_passphrase_dialog_ok_clicked): when updating the wep key
21268 for a network, set the essid as well since it may not exist yet
21269 - (nmi_passphrase_dialog_init): don't star out the passphrase field,
21270 since WEP keys/passphrases are long and prone to entry-error
21272 * panel-applet/Makefile.am
21273 panel-applet/wired.png
21274 - Add (pulled from system-config-network temporarily)
21276 * panel-applet/NMWirelessApplet.[ch]
21277 - Show wired picture when a wired connection is used
21278 - Rename wireless icon enums, adding WIRELESS
21280 * src/NetworkManagerDevice.c
21281 - (nm_device_activate_wireless): unset encryption before bringing
21282 down the card and setting the essid
21283 - (nm_device_activatin_worker): request a key from the user if the
21284 AP we are connecting to is encrypted but we don't have a key
21286 - (nm_device_set_user_key_for_network): fix missing '== 0' for a
21287 strcmp() that prevented a user-entered key from actually getting
21290 2004-08-16 Dan Williams <dcbw@redhat.com>
21292 * initscript/NetworkManager
21293 - Check for /sbin/ip
21294 - Do sysctl magic that network service does
21295 - sleep 4s after start to allow network time to come up [hack]
21299 - Load all network device kernel modules (hal doesn't know devices
21300 are ethernet until the module is loaded, and therefore we don't know)
21302 * src/NetworkManager.c
21303 - (main): daemonize later, launch NMLoadModules to alert HAL of our
21304 network devices, and bring up the loopback device explicitly
21306 * src/NetworkManagerUtils.[ch]
21307 - (nm_enable_loopback): new function
21309 2004-08-13 Dan Williams <dcbw@redhat.com>
21312 panel-applet/Makefile.am
21313 - Fix up cleanfiles and server_DATA/server_in_files
21316 - Update with some comments on theory of operation
21322 2004-08-12 Dan Williams <dcbw@redhat.com>
21324 * info-daemon/passphrase.glade
21325 - Set window title to " "
21327 * panel-applet/Makefile.am
21328 panel-applet/keyring.png
21329 - Deliver to correct place
21331 * panel-applet/NMWirelessApplet.[ch]
21333 - Remove applet->have_active_device as its no longer used
21334 - (nmwa_load_theme): load keyring.png too
21335 - (error_dialog): remove
21336 - (show_warning_dialog): subsume functionality of error dialog too
21337 - (nmwa_destroy, nmwa_new): create and dispose of an application-wide GConfClient
21338 - (nmwa_handle_network_choice): add to deal with user clicking on an item from
21340 - (nmwa_menu_item_activated): GtkMenuItem "activate" signal handler
21341 - (nmwa_button_clicked, nmwa_setup_widgets): create and populate the menu on startup
21342 and when we get broadcasts of changed wireless access points only, not when the
21343 user clicks on the button to display the menu (too long of a wait)
21344 - (nmwa_add_menu_item): Make active network bold, and place a keyring icon beside
21345 networks that are encrypted
21346 - (nmwa_dispose_menu, nmwa_menu_item_data_free): dispose of the data we place on each
21347 menu item with g_object_set_data()
21349 * panel-applet/NMWirelessAppletDbus.[ch]
21350 - (nmwa_dbus_get_bool): add method to return boolean value from dbus message
21351 - (nmwa_dbus_get_active_network): add (nmwa_dbus_get_string() wrapper to get active network)
21352 - (nmwa_dbus_add_networks_to_menu): clean up, only show one instance of each ESSID in the menu
21353 - (nmwa_dbus_set_network): force NetworkManager to use a particular network for wireless cards
21354 - (nmwa_dbus_init, nmwa_dbus_filter): Trap network appear/disappear and device
21355 activation/deactivation signals and rebuild the menu when they happen
21357 * src/NetworkManager.c
21358 - (main): use new nm_spawn_process() rather than system()
21360 * src/NetworkManagerDbus.c
21361 - (nm_dbus_devices_handle_request): don't compare AP structure addresses directly, but essids
21362 instead. Since we can now force best_aps to stick around, the AP structure to which
21363 dev->options.wireless.best_ap points to won't necessarily be in the device's device list
21364 if a scan has happened since the best_ap was frozen. Also add "setNetwork" method
21365 to freeze the best_ap.
21367 * src/NetworkManagerDevice.[ch]
21368 - (nm_device_activation_worker): Use new nm_spawn_process() call rather than system()
21369 - (nm_device_*_best_ap): add freeze/unfreeze/get_frozen functions, and don't really update
21370 the best_ap in nm_device_update_best_ap() if the best_ap is frozen AND in the device's
21373 * src/NetworkManagerUtils.[ch]
21374 - (nm_spawn_process): add replacement for system() usage
21376 2004-08-11 Dan Williams <dcbw@redhat.com>
21378 * panel-applet/NMWirelessApplet.[ch]
21379 - Fix up copyright and credits to include Bastien and Eskil,
21380 who created the gnome-applets wireless applet, from whose
21381 skeleton this one was created
21382 - Rework nmwa_update_state()/nmwa_draw() so that state and which
21383 pixmap to draw is computed during nmwa_update_state()
21384 - Applet now shows itself all the time due to panel packing issues
21385 which caused the applet to previously never come back after hiding.
21386 When a wired device is the active device, the applet shows "not connected"
21388 * panel-applet/NMWirelessAppletDbus.[ch]
21389 - Clean up error messages and show what function they are from
21390 - nmwa_dbus_get_active_wireless_device()->nmwa_dbus_get_active_device()
21391 - Add new device type getters, and a status getter
21393 * src/NetworkManagerDbus.c
21394 - (nm_dbus_devices_handle_request): Don't return an active network unless that
21395 network is actually in the device's ap list
21396 - (nm_dbus_nm_message_handler): Fix silly mistake returning status
21398 * src/NetworkManagerDevice.c
21399 - (nm_device_update_best_ap): If the best AP is NULL, clear out the ESSID of the
21402 * test/nmclienttest.c
21403 - Report status of NetworkManager too
21405 2004-08-11 Dan Williams <dcbw@redhat.com>
21407 * info-daemon/NetworkManagerInfo.c:
21408 - (main): clean up Seth's code style
21410 * info-daemon/NetworkManagerInfoDbus.c:
21411 - Use the more aptly-named path/service/interface constants from NetworkManager
21412 - Don't return empty strings ("") as object paths ever, instead return errors
21414 * panel-applet/NMWirelessApplet.c:
21415 - Clean up Seth's code style
21417 * src/NetworkManager.[ch]
21418 - (nm_remove_device_from_list): remove anything having to do with pending_device
21419 - (main, nm_print_usage): change --daemon=[yes|no] -> --no-daemon
21421 * src/NetworkManagerAPList.[ch]
21422 - Move Iter struct right above the iter functions to preserve opacity
21423 - (nm_ap_list_remove_ap): implement
21424 - (nm_ap_list_update_network): deal with errors returned from nm_dbus_get_network_priority(),
21425 remove AP if NetworkManagerInfo doesn't know anything about it
21426 - (nm_ap_list_diff): user NMAPList iterators
21427 - (nm_ap_list_print_members): implement debugging function
21429 * src/NetworkManagerDbus.[ch]
21430 - (nm_dbus_nm_get_active_device): remove anything to do with pending_device
21431 - (nm_dbus_get_user_key_for_network): remove DBusPendingCall stuff (unused),
21432 and move the actual key setting stuff into NetworkManagerDevice.c
21433 - (nm_dbus_get_network_priority): return -1 now on errors
21434 - (nm_dbus_nmi_filter): fix strcmp() error that caused PreferredNetworkUpdate signals to
21435 get lost, and force the active device to update its "best" ap when AP lists change
21436 - (nm_dbus_nm_message_handler): Update conditions for returning "connecting" for a "status"
21437 method call due to pending_device member removal
21439 * src/NetworkManagerDevice.[ch]
21440 - Move NMDevice structure to the top
21441 - Add a wireless scan mutex and a best_ap mutex to the Wireless Options structure
21442 - Remove Pending Action stuff from everywhere
21443 - (nm_device_activation_*): We now "begin" activation and start a thread to do the
21444 activation for us. This thread blocks until all conditions for activation have
21445 been met (ie for wireless devices, we need a valid WEP key and a "best" ap), and
21446 then setup up the interface and runs dhclient. We have to do this because there
21447 is no guaruntee how long dhclient takes, and while we are blocking on it, we cannot
21448 run our main loop and respond to dbus method calls or HAL device removals/inserts
21449 - (nm_device_set_user_key_for_network): Move logic here from NetworkManagerDbus.c so we
21450 can tell nm_device_activation_worker() that we've got a key
21451 - (nm_device_*_best_ap): lock access to best_ap member of Wireless Options structure
21452 - (nm_device_get_path_for_ap): dumb it down so the list doesn't lock against itself when
21453 diffing (AP appear/disappear signal functions make sure the AP is actually in the device's list)
21454 - (nm_device_update_best_ap): move logic from nm_wireless_is_ap_better() here
21456 * src/NetworkManagerPolicy.c
21457 - Remove anything to do with pending_device
21458 - Adjust device activation to deal with activation-in-worker-thread
21460 * src/NetworkManagerUtils.c
21461 - Clean up locking debugging a bit
21463 * src/NetworkManagerWireless.[ch]
21464 - (nm_wireless_is_ap_better): remove, stick logic in nm_device_update_best_ap(). This function
21465 was badly named and is better as a device function
21467 * panel-applet/.cvsignore: add
21469 2004-08-09 Seth Nickell <seth@gnome.org>
21471 * panel-applet/NMWirelessApplet.c: (nmwa_timeout_handler),
21472 (nmwa_button_clicked), (nmwa_populate_menu), (nmwa_setup_widgets),
21474 * src/NetworkManagerDbus.c: (nm_dbus_nmi_filter):
21476 Don't load the menus until clicked on (also removes a call outside
21477 normal code paths at first load).
21479 Hide applet when NM is not present.
21481 Improve printf debugging stuff.
21483 2004-08-09 Dan Williams <dcbw@redhat.com>
21485 * dispatcher-daemon/NetworkManagerDispatcher.c:
21486 - Covert uses of dbus_message_iter_* over to dbus_message_get_args
21487 - Use constants for NetworkManager interface, service, and path
21489 2004-08-09 Dan Williams <dcbw@redhat.com>
21491 * src/NetworkManagerDbus.c:
21492 - (nm_dbus_nm_get_active_device, nm_dbus_nm_get_devices): Never return an empty object path,
21493 instead return an error message
21494 - (nm_dbus_devices_handle_request): Return error when getActiveNetwork/getNetworks is called
21495 on a wired device. Also never return an empty object path, instead return an error message
21497 2004-08-06 Seth Nickell <seth@gnome.org>
21499 * panel-applet/NMWirelessApplet.c: (nmwa_new):
21501 Check the error code when getting a connection.
21503 * panel-applet/NMWirelessAppletDbus.c: (nmwa_dbus_init):
21505 Check if the NM service exists when initializing (rather than
21506 assuming it does not).
21508 * src/NetworkManagerDbus.c: (nm_dbus_init):
21510 Don't acquire the well-known service name until we have
21511 registered object/path handlers and can actually receive
21514 2004-08-06 Dan Williams <dcbw@redhat.com>
21519 * src/NetworkManagerPolicy.c
21520 src/NetworkManager.c
21521 - Get access point lists from NetworkManagerInfo on-demand,
21522 and look for ServiceCreate/ServiceDeleted signals to see when
21523 we should query NMI for lists
21524 * src/NetworkManagerAPList.c
21525 - Make sure to init the list's mutex
21526 - Convert traversals of the list over to the list iter functions
21528 * src/NetworkManagerDbus.[ch]
21529 - Use more aptly-named path/service/interface constants
21530 - Treat both active and pending devices the same for "getActiveDevice"
21531 - Add a "status" method returning "connected", "connecting", or "disconnected"
21533 * src/NetworkManagerDevice.c
21534 - Honor "ignored" network list when picking best ap to use
21536 2004-08-06 Seth Nickell <seth@gnome.org>
21540 Autogenerated, remove from CVS.
21544 Don't hardcode automake version.
21547 * info-daemon/Makefile.am:
21548 * info-daemon/NetworkManagerInfo.c: (main):
21550 Use GnomeProgram et al. for doing session management.
21551 Use popt stuff for argument parsing rather than doing
21554 2004-08-05 Dan Williams <dcbw@redhat.com>
21556 * test/nminfotest.c
21557 - Update to new NMI dbus API, check different network types
21559 * info-daemon/NetworkManagerInfoDbus.c
21560 - Update to new NM dbus API, ie network type sent in query message
21562 2004-08-05 Dan Williams <dcbw@redhat.com>
21564 * An assload of changes
21566 2004-08-02 Dan Williams <dcbw@redhat.com>
21569 - new task: proper logging support
21571 * info-daemon/NetworkManagerInfo.c
21572 - Correct spelling of "canceled"
21573 - Correct casting of objects for g_signal_connect()
21575 * info-daemon/NetworkManagerInfoDbus.c
21576 - Add defines for NetworkManager namespace and object path, and use them
21577 - Add filter function to trap new signals from NetworkManager:
21578 WirelessNetworkAppeared, WirelessNetworkDisappeared
21580 * info-daemon/passphrase.glade
21581 - Change name of "ok" button to "Login to Network..."
21584 * src/NetworkManager.c
21585 - Code and debug message cleanups
21586 - Rename "nm_add_current_devices"->"nm_add_initial_devices"
21587 - (nm_add_initial_devices) Check returned string array of devices
21588 and don't try to add devices if array is NULL
21589 - (main) Initialize libhal a bit later, make code a bit clearer
21591 * src/NetworkManagerAP.[ch]
21592 - New accessor and data member "matched": used to speed up AP list
21594 - New accessor and data member "enc_method": will be used during key
21595 fallback to cache which passphrase->key conversion actually works
21596 so we don't have to do it every time
21598 * src/NetworkManagerAPList.[ch]
21599 - (nm_ap_list_find_ap_in_list) New: find an AP by essid in an AP list
21600 - (nm_ap_list_diff) New: given two lists of access points, find the differences
21601 between them, and send WirelessNetworkAppeared/Disappeared signals over
21602 dbus in response to those differences
21604 * src/NetworkManagerDbus.[ch]
21605 - (nm_dbus_get_object_path_from_ap) New: given a device and an access point,
21606 make an object path for that access point (NOTE that we don't yet check to
21607 make sure that access point is actually in the device's AP list yet)
21608 - (nm_dbus_get_ap_from_object_path) Renamed from nm_dbus_get_network_from_object_path
21609 - (nm_dbus_signal_wireless_network_appeared, nm_dbus_signal_wireless_network_disappeared)
21610 New: signal appearance/disappearance of wireless networks
21611 - (nm_dbus_set_user_key_for_network) Mark the network/ap as invalid if the user cancelled
21614 * src/NetworkManagerDevice.[ch]
21615 - (nm_device_ap_list_clear) Use nm_ap_list_free rather than doing it ourselves
21616 - (nm_device_ap_list_get) New: return the AP list (static function)
21617 - (nm_device_do_normal_scan) Destroy old AP list later, so that we can diff the
21618 new one resulting from the scan with the old one
21620 * src/NetworkManagerWireless.c
21621 - (nm_wireless_is_most_prefered_ap) "invalid" access points cannot be "best" access points
21623 * test/nminfotest.c
21624 - #define object paths and namespaces and use the #defines rather than static strings
21625 - Test out user-key functionality of NetworkManagerInfo too
21627 2004-07-29 Dan Williams <dcbw@redhat.com>
21629 * info-daemon/NetworkManagerInfoDbus.c
21630 src/NetworkManagerDbus.c
21631 - Update to current DBus (ie don't use decomposed paths when registering
21632 object paths/fallbacks)
21634 2004-07-27 Dan Williams <dcbw@redhat.com>
21636 * Remove various Makefile.in files
21639 - Add some more items
21642 - Add checks for OpenSSL/md5 headers and libs
21645 - Use OpenSSL CFLAGS
21647 * src/NetworkManagerAP.[ch]
21648 - Remove 'stamp' functions, replace with 'invalid' functions
21649 to support user cancelling WEP key entry
21651 * src/NetworkManagerDbus.c
21652 - Remove 'stamp' return functions
21653 - Treat returned user key as a passphrase and convert to a WEP key,
21654 but don't actually use the WEP key yet. We use the returned user
21655 key as a hexadecimal WEP key until we can figure out a UI for
21656 passphrase-vs-hex key
21658 * src/NetworkManagerWireless.[ch]
21659 - Add passphrase-to-128bit-key function
21661 2004-07-27 Dan Williams <dcbw@redhat.com>
21664 - Add a couple of items
21666 2004-07-27 Dan Williams <dcbw@redhat.com>
21668 * info-daemon/NetworkManagerInfo.c
21669 - Update allowed network's GConf key when user enters a WEP key explicitly
21671 * info-daemon/NetworkManagerDbus.c
21672 - Fix some comments
21673 - nmi_dbus_get_allowed_networks(): kill warning
21675 2004-07-27 Dan Williams <dcbw@redhat.com>
21677 * initscript/Makefile.in
21680 * initscript/Makefile.am
21681 - Add correct rules to install the init.d initscript
21683 * info-daemon/NetworkManagerInfoDbus.c
21684 - Remove debug fprintf
21686 * src/NetworkManagerDbus.[ch]
21687 - Remove debug fprintfs
21688 - Add macros for NetworkManagerInfo object path/namespace
21689 - Use said macros instead of constant strings
21691 2004-07-27 Dan Williams <dcbw@redhat.com>
21693 * initscript/.cvsignore
21696 * info-daemon/Makefile.am
21697 - Install .glade files and keyring.png
21698 - Fix stupid omission of a \ that caused half the flags not to be
21701 * info-daemon/NetworkManagerInfo.c
21702 - gtk_signal_connect->g_signal_connect
21703 - Alert NetworkManagerInfo to new glade file location
21705 2004-07-27 Dan Williams <dcbw@redhat.com>
21707 * test/nmclienttest.c
21709 - Add missing <dbus/dbus.h> headers
21710 - Add GPL message at top
21712 2004-07-27 Dan Williams <dcbw@redhat.com>
21714 * src/NetworkManagerAPList.[ch]
21716 - Add. Deal with allowed network list additions, deletions, and updates
21718 * dispatcher-daemon/NetworkManagerDispatcher.c
21719 - Add missing <dbus/dbus.h> header
21721 * info-daemon/NetworkManagerInfo.[ch]
21722 - Add missing <dbus/dbus.h> header
21723 - Implement the GConf notify callback to signal NetworkManager of an allowed
21725 - Better error checking
21727 * info-daemon/NetworkManagerInfoDbus.[ch]
21728 - Add missing <dbus/dbus.h> header
21729 - Convert to using dbus_message_append_args/dbus_message_get_args
21730 - Implement nmi_dbus_signal_update_allowed_network() to signal NetworkManager
21731 that an allowed network changed. We don't want to signal on individual
21732 keys _inside_ an allowed network really, just want NM to query the info
21733 daemon for updated info on all keys.
21734 - Better error checking
21736 * src/NetworkManager.[ch]
21737 - Add missing <dbus/dbus.h> header
21738 - Move allowed_ap_list free functions to NetworkManagerAPList.[ch]
21739 - Zero out NMData structure on free
21740 - No longer use a thread for allowed_ap_list updating, instead its now done
21741 through dbus queries against NetworkManagerInfo
21742 - Populate allowed_ap_list initially before adding existing network devices
21743 to the device list, so wireless devices can get their "best" AP
21745 * src/NetworkManagerDbus.[ch]
21746 - Convert to using dbus_message_append_args/dbus_message_get_args
21747 - Better error checking
21748 - Implement Allowed Network info functions to request allowed network
21749 info from NetworkManagerInfo
21750 - Implement the filter function to process signals from NetworkManagerInfo
21751 about changing allowed networks
21753 * src/NetworkManagerDevice.c
21754 - Fix file descriptor leak in nm_device_update_ip4_address()
21756 2004-07-27 Dan Williams <dcbw@redhat.com>
21761 dispatcher-daemon/.cvsignore
21762 info-daemon/.cvsignore
21763 - Add .cvsignore files to reduce noise when diffing
21765 2004-07-24 Dan Williams <dcbw@redhat.com>
21767 * src/NetworkManager.[ch]
21768 src/NetworkManagerDbus.[ch]
21769 src/NetworkManagerDevice.[ch]
21770 src/NetworkManagerPolicy.c
21771 src/NetworkManagerWireless.[ch]
21772 - Add many more g_return_if_fail()/g_return_val_if_fail() checks
21773 - Pass the NMData application data structure through all calls
21774 that need it so we can get rid of nm_get_global_data()
21775 - Change deallocation of the allowed_ap_list GSList in preparation
21776 for not completely clearing it every time we get an update,
21777 but instead getting incremental updates via GConf/dbus
21779 2004-07-22 Dan Williams <dcbw@redhat.com>
21782 - Add checks for GConf libs & headers & flags
21784 * info-daemon/Makefile.am
21785 - Add GConf flags & libs to compile/link stages of NetworkManagerInfo
21787 * info-daemon/NetworkManagerInfo.[ch]
21788 - Don't use gquarks for data storage, just use normal data storage
21789 - Add gconf bits to watch /system/networking/wireless/allowed_networks
21791 * info-daemon/NetworkManagerDbus.[ch]
21792 - Add method call for getting allowed networks
21793 - Add method calls for getting an allowed network's essid, priority, and key
21794 - Hook the method calls up to GConf
21795 - Split user key dialog code into separate function (nmi_dbus_get_key_for_network)
21796 - nmi_dbus_nmi_message_handler(): make sure to unref the reply message after sending
21798 * src/NetworkManagerDbus.[ch]
21799 - Switch for enumeration of networks to using essid instead
21803 - Add test program for NetworkManagerInfo
21805 2004-07-19 Dan Williams <dcbw@redhat.com>
21807 * src/NetworkManagerDbus.c
21808 - Switch from indexed device paths to names. Less code, more efficient.
21809 ie "/org/freedesktop/NetworkManager/0" -> "/org/freedesktop/NetworkManager/eth0"
21811 2004-07-19 Dan Williams <dcbw@redhat.com>
21813 * dispatcher-daemon/NetworkManagerDispatcher.c
21814 - (nm_dbus_filter): Remove obsolete response to NeedKeyForNetwork signal
21816 2004-07-19 Dan Williams <dcbw@redhat.com>
21819 - Add info-daemon directory
21822 - Check for glade libs and headers
21823 - Add info-daemon directory
21825 * src/NetworkManagerAP.c
21826 - nm_ap_new_from_ap(): Fix bug that resulted in an APs encryption status not getting
21827 copied over to the new AP.
21829 * src/NetworkManagerDbus.c
21830 src/NetworkManagerDbus.h
21831 - Deal with nm_device_ap_list_get_ap()->nm_device_ap_list_get_ap_by_index() change
21832 - Remove nm_dbus_signal_need_key_for_network()
21833 - Add disabled code for asynchronous user wep key callbacks
21834 - Add functions for getting, setting, and cancelling user key operations
21835 - Remove "setKeyForNetwork" device dbus method call, its on NetworkManager object instead
21836 - Add "setKeyForNetwork" dbus method call on NetworkManager object
21838 * src/NetworkManagerDevice.c
21839 src/NetworkManagerDevice.h
21840 - nm_device_update_link_active(): revert changes for wireless link detection, the WEP-key-is-wrong
21841 logic is in device activation now
21842 - nm_device_activate(): for wireless devices, if we can't associate with access point (perhaps
21843 key is wrong) trigger get-user-key pending action
21844 - Implement get-user-key pending action stuff, tie to dbus messages
21845 - Rename nm_device_ap_list_get_ap() -> nm_device_ap_list_get_ap_by_index()
21846 - Add nm_device_ap_list_get_ap_by_essid()
21847 - Instead of copying "best" access points, ref them instead so that the key we set
21850 * src/NetworkManagerPolicy.c
21851 - Deal with wrong WEP key, but right access point (and if so, return link_active = TRUE)
21852 - Don't cancel pending actions on a device if its the same device as last iteration
21853 - Only promote pending_device->active_device if activation was successfull
21856 - Rename nmclienttest->nmtest
21858 * info-daemon/Makefile.am
21859 info-daemon/NetworkManagerInfo.c
21860 info-daemon/NetworkManagerInfo.h
21861 info-daemon/NetworkManagerInfoDbus.c
21862 info-daemon/NetworkManagerInfoDbus.h
21863 info-daemon/passphrase.glade
21864 info-daemon/NetworkManagerInfo.conf
21865 info-daemon/keyring.png
21866 - Import sources for info-daemon, which pops up dialog for passphrase/key when
21867 NetworkManager asks for it, and also will (soon) provide "allowed" access point
21868 lists to NetworkManager by proxying user's GConf
21871 2004-07-15 Dan Williams <dcbw@redhat.com>
21876 * src/NetworkManager.c
21877 - nm_create_device_and_add_to_list(): call nm_device_deactivate() rather
21878 that doing the deactivation ourselves
21879 - Cancel an pending actions on a device if its being removed
21880 - Break up link state checking a bit, make non-active wireless cards
21881 deactivated to save power
21882 - Remove unused variables
21884 * src/NetworkManager.h
21885 - Add support for "pending" device
21887 * src/NetworkManagerAP.h
21888 src/NetworkManagerAP.c
21889 - Add support for determining whether and AP has encryption enabled or not
21890 - AP address is now "struct ether_addr" rather than a string
21892 * src/NetworkManagerDbus.h
21893 src/NetworkManagerDbus.c
21894 - Add signal NeedKeyForNetwork, method SetKeyForNetwork (testing only)
21895 - Changes for AP address from struct ether_addr->string
21897 * src/NetworkManagerDevice.h
21898 src/NetworkManagerDevice.c
21899 - Remove unused variables, fix warnings
21900 - Add support for Pending Actions (things that block a device from being "active"
21901 until they are completed).
21902 - First pending action: Get a WEP key from the user
21903 - Add nm_device_is_wire[d|less](), rename nm_device_is_wireless()
21904 - Clean up explicit testing of dev->iface_type to use nm_device_is_wireless()
21905 - Update wireless link checking to try to determine if the AP we are associated
21906 with is correct, but the WEP key we are using is just wrong. If its wrong,
21907 trigger the GetUserKey pending action on the device
21908 - If dhclient can't get an IP address, it brings the device down. Bring it back
21909 up in that case, otherwise we can't scan or link-check on it
21910 - Add IP address change notifications at appropriate points (still needs some work)
21911 - Add nm_device_need_ap_switch(), checks whether we need to switch access points or not
21913 * src/NetworkManagerPolicy.h
21914 src/NetworkManagerPolicy.c
21915 - Split out "best" access point determiniation into separate function
21916 - Make device activation 2-stage: first the device is pending, then
21917 in the next iteration through it becomes "active" unless it has
21920 * src/NetworkManagerUtils.h
21921 src/NetworkManagerUtils.c
21922 - Clean up unused variables and warnings
21923 - Wrap our debug macros in {} to prevent possible confusion
21925 * src/NetworkManagerWireless.c
21926 - Forgot to return current best priority, which lead to last available AP always
21927 being chosen no matter what its priority was. Corrected.
21929 2004-07-15 Dan Williams <dcbw@redhat.com>
21931 * dispatcher-daemon/Makefile.am
21934 * dispatcher-daemon/NetworkManagerDispatcher.c
21935 - Remove unused variables due to warnings
21936 - Fix some comments
21937 - Print message on receipt of NeedKeyForNetwork signal (testing only)
21939 2004-07-06 Dan Williams <dcbw@redhat.com>
21941 * src/NetworkManager.c
21942 - Add IPv4 address update for active device during link state check
21943 - Don't allow wireless cards to be powered up when they are not the
21946 * src/NetworkManagerDbus.c
21947 src/NetworkManagerDbus.h
21948 - Add DBUS IPv4 address change signal
21949 - Add DBUS IPv4 address get method for devices
21951 * src/NetworkManagerDevice.c
21952 - Make setting the WEP key actually work
21953 - Move IP address get/set/update stuff here, per-device
21954 - Power down/bring down wireless device when deactivated
21955 - For scanning wireless devices, if first scan returned ENODATA, try again
21957 * src/NetworkManagerPolicy.c
21958 - Only set the WEP key for an allowed access point if there is one.
21959 We were setting it to be blank if one wasn't specified.
21961 * src/NetworkManagerUtils.h
21962 src/NetworkManagerUtils.c
21963 - Move the IP address stuff to NetworkManagerDevice.c
21965 * dispatcher-daemon/NetworkManagerDispatcher.c
21966 - Add device IPv4 address change notification stuff
21968 2004-07-05 Dan Williams <dcbw@redhat.com>
21970 * dispatcher-daemon/NetworkManagerDispatcher.c
21971 - A bit more descriptive state message
21972 - Don't segfault when reading directory
21974 * src/NetworkManager.h
21975 - Remove NMData desired_ap member, its now
21976 per-device rather than global
21978 * src/NetworkManager.c
21979 - Remove references to desired_ap
21980 - Move the allowed AP list refresh stuff into a thread
21982 * src/NetworkManagerDevice.c
21983 src/NetworkManagerDevice.h
21984 - Each wireless device now has a "best ap"
21985 - Make device activate/deactivate functions per-device
21986 - Make wireless scanning per-device
21987 - Add IPv4 address discover functions, stub IPv6 ones
21988 - Move ethernet address validation functions to NetworkManagerUtils.c
21989 - Add wireless access point accessor function
21990 - Get/Set functions for "best ap"
21992 * src/NetworkManagerPolicy.c
21993 - Move activate/deactivate stuff into NetworkManagerDevice.c, per-device
21994 - Deal with per-device "best ap" rather than data->desired_apa
21995 - Implement allowed access point worker thread
21996 - Add nm_policy_essid_is_allowed() function
21998 * src/NetworkManagerUtils.c
21999 src/NetworkManagerUtils.h
22000 - Add nm_ethernet_address_is_valid() function
22001 - Add IPv4/IPv6 address get functions
22003 * src/NetworkManagerWireless.c
22004 src/NetworkManagerWireless.h
22005 - Move scanning stuff into NetworkManagerDevice.c, per-device
22007 2004-06-29 Dan Williams <dcbw@redhat.com>
22009 * dispatcher-daemon/NetworkManagerDispatcher.c
22010 - Implement script callout functionality
22012 2004-06-24 Dan Williams <dcbw@redhat.com>
22016 - Flush device routes and ip addresses when added to the device list
22018 * NetworkManagerDbus.c
22020 - Add missing returns in the two signal functions
22022 * NetworkManagerPolicy.c
22023 - Spacing and variable cleanups
22025 2004-06-24 Dan Williams <dcbw@redhat.com>
22030 dispatcher-daemon/Makefile.am
22031 dispatcher-daemon/Makefile.in
22032 dispatcher-daemon/NetworkManagerDispatcher.c
22033 - Add a daemon that receives signals from NetworkManager
22034 and will (eventually) call scripts in /etc/somewhere
22035 when devices go up or down.
22039 - Flush device routes and ip addresses when added to the device list
22041 * NetworkManagerDbus.c
22043 - Add missing returns in the two signal functions
22045 * NetworkManagerPolicy.c
22046 - Spacing and variable cleanups
22047 - Rename nm_policy_switch_interface->nm_policy_switch_device
22048 - nm_policy_switch_device():
22049 Use kill (pid) instead of system ("kill <pid>")
22050 - nm_state_modification_monitor():
22051 Add wireless essid to output of debug statements
22052 Correct typo in device compare to switch or not (should be !=)
22053 Don't sleep after sending "no longer active" signal, was useless
22055 2004-06-24 Dan Williams <dcbw@redhat.com>