1 2008-11-21 Dan Williams <dcbw@redhat.com>
3 Patch from Tambet Ingo <tambet@gmail.com>
6 libnm-util/libnm-util.ver
7 libnm-util/nm-setting-8021x.c
8 libnm-util/nm-setting-8021x.h
9 - Add configure-time option for the system CA path
10 - Add 'system-ca-certs' option to 802.1x setting, which directs
11 NetworkManager to use system CA certificates instead of any
12 connection-defined CA certificates
14 * src/supplicant-manager/nm-supplicant-config.c
15 src/supplicant-manager/nm-supplicant-settings-verify.c
16 - Use system CA certificates if the connection says to do so
18 2008-11-21 Dan Williams <dcbw@redhat.com>
20 * src/nm-dbus-manager.c
22 - (nm_dbus_manager_get_name_owner): return error
25 - (impl_manager_activate_connection): perform additional validation on
26 ActivateConnection calls of user connections
27 - (is_user_request_authorized): ensure that the requestor is the same
28 UID as the UID that owns the user settings service; users shouldn't
29 be able to control another user's connections
31 2008-11-21 Dan Williams <dcbw@redhat.com>
33 * gfilemonitor/inotify-sub.c
34 - (dup_dirname): actually remove trailing '/' (bgo #561807)
36 2008-11-21 Tambet Ingo <tambet@gmail.com>
38 * system-settings/plugins/ifcfg-suse/parser.c (read_wpa_eap_settings): Make suse
41 2008-11-20 Dan Williams <dcbw@redhat.com>
43 Patch from Tambet Ingo <tambet@gmail.com>
45 * libnm-util/nm-setting.c
46 libnm-util/nm-setting.h
47 - (NMSettingValueIterFn): instead of just a gboolean for secrets, take
48 all the GParamSpec flags of the property
50 * system-settings/plugins/keyfile/nm-keyfile-connection.c
51 system-settings/plugins/keyfile/reader.c
52 system-settings/plugins/keyfile/writer.c
53 - Update for NMSettingValueIterFn change
55 2008-11-20 Dan Williams <dcbw@redhat.com>
57 * libnm-util/nm-utils.c
59 - More documentation updates
61 2008-11-20 Dan Williams <dcbw@redhat.com>
63 * libnm-util/libnm-util.ver
66 libnm-util/nm-utils-private.h
67 libnm-util/nm-connection.c
68 - (nm_utils_register_value_transformations): make private, called
69 from NMConnection registration anyway
71 2008-11-20 Dan Williams <dcbw@redhat.com>
73 * libnm-util/Makefile.am
74 libnm-util/nm-utils-private.h
75 - New header for internal utils private functions
77 * libnm-util/libnm-util.ver
80 - Document some functions
81 - (nm_utils_string_in_list, nm_utils_string_list_contains,
82 nm_utils_string_slist_validate): un-export, only used within
83 libnm-util or of limited use in general, and very easy to
84 re-implement by apps if needed
86 * libnm-util/nm-setting-8021x.c
87 libnm-util/nm-setting-wired.c
88 libnm-util/nm-setting-wireless-security.c
89 libnm-util/nm-setting-wireless.c
90 - Update for private nm_utils_string_* functions
92 2008-11-20 Dan Williams <dcbw@redhat.com>
94 * libnm-util/libnm-util.ver
95 libnm-util/nm-setting.c
96 libnm-util/nm-setting.h
97 - Add NMSetting errors
98 - (nm_setting_update_secrets): return errors
100 * libnm-util/nm-connection.c
101 libnm-util/nm-connection.h
102 - (nm_connection_update_secrets): return errors
104 * libnm-util/nm-setting-vpn.c
105 src/nm-activation-request.c
106 src/vpn-manager/nm-vpn-connection.c
107 - Handle update secrets errors
109 2008-11-20 Dan Williams <dcbw@redhat.com>
111 * libnm-util/nm-setting.c
112 libnm-util/nm-setting.h
113 libnm-util/libnm-util.ver
114 - (nm_setting_new_from_hash): rename from nm_setting_from_hash() to be
115 consistent with nm_connection_new_from_hash()
117 * src/nm-activation-request.c
118 libnm-util/nm-connection.c
121 2008-11-19 Dan Williams <dcbw@redhat.com>
125 docs/libnm-util/Makefile.am
126 docs/libnm-util/libnm-util.types
127 - Start to document libnm-util
129 2008-11-19 Dan Williams <dcbw@redhat.com>
131 * libnm-util/nm-connection.h
132 libnm-util/nm-connection.c
133 - Document public functions
135 2008-11-19 Dan Williams <dcbw@redhat.com>
137 * libnm-util/nm-setting.h
138 libnm-util/nm-setting.c
141 system-settings/plugins/ifcfg-fedora/plugin.c
142 - Prefix compare flag defines with NM_SETTING_
144 2008-11-19 Dan Williams <dcbw@redhat.com>
146 * libnm-util/nm-connection.c
147 libnm-util/nm-connection.h
148 - (nm_connection_replace_settings): take a GError
150 * libnm-glib/nm-settings.c
151 libnm-glib/nm-dbus-connection.c
153 system-settings/plugins/ifcfg-suse/nm-suse-connection.c
154 system-settings/plugins/keyfile/nm-keyfile-connection.c
155 system-settings/plugins/keyfile/plugin.c
156 - Handle, or don't handle, errors from nm_connection_replace_settings()
158 2008-11-19 Dan Williams <dcbw@redhat.com>
160 * libnm-util/libnm-util.ver
161 libnm-util/nm-connection.c
162 - (nm_setting_register, nm_setting_unregister): unexport; they are
163 private and don't have a use outside libnm-util
165 2008-11-17 Dan Williams <dcbw@redhat.com>
167 * src/nm-hso-gsm-device.c
168 - (real_connection_secrets_updated): handle PIN/PUK correctly for HSO
171 2008-11-17 Dan Williams <dcbw@redhat.com>
173 * system-settings/plugins/ifcfg-fedora/reader.c
174 - (read_mac_address): clean up
175 - (make_wireless_setting): pass NULL array to read_mac_address() like it
178 * system-settings/plugins/ifcfg-fedora/plugin.c
179 - (read_one_connection): don't segfault on NULL errors
181 2008-11-14 Dan Williams <dcbw@redhat.com>
185 2008-11-14 Dan Williams <dcbw@redhat.com>
187 Handle gateways on different subnets
189 * src/NetworkManagerSystem.c
190 - (add_ip4_route_to_gateway): gateway route should be link scope and
192 - (replace_default_ip4_route): use a destination address too; gateway
193 address should be /0; don't leak the gateway route object
195 2008-11-14 Dan Williams <dcbw@redhat.com>
197 * libnm-glib/libnm_glib.ver
198 libnm-glib/nm-dbus-settings-system.c
199 libnm-glib/nm-dbus-settings-system.h
200 - Add libnm-glib bits for CanModify
202 2008-11-14 Dan Williams <dcbw@redhat.com>
204 * introspection/nm-settings-system.xml
205 system-settings/src/dbus-settings.c
206 system-settings/src/dbus-settings.h
207 - Add a "CanModify" property to indicate if any plugins support
208 connection modification
210 2008-11-14 Dan Williams <dcbw@redhat.com>
212 Relicense libnm-glib to LGPLv2+ with agreement from contributors
214 2008-11-14 Dan Williams <dcbw@redhat.com>
216 * vpn-manager/nm-vpn-connection.c
217 - (plugin_state_changed): clear VPN secrets on error to ensure they
218 are always requested from the settings service (rh #429287)
220 2008-11-13 Dan Williams <dcbw@redhat.com>
222 * libnm-util/crypto.c
223 - (crypto_get_private_key_data): fix bad initial arg type checking
226 2008-11-13 Dan Williams <dcbw@redhat.com>
228 Add support for PKCS#12 private keys (bgo #558982)
230 * libnm-util/crypto.c
232 - (parse_old_openssl_key_file): rename from parse_key_file(); adapt to
233 take a GByteArray instead of a filename
234 - (file_to_g_byte_array): handle private key files too
235 - (decrypt_key): take a GByteArray rather than data + len
236 - (crypto_get_private_key_data): refactor crypto_get_private_key() into
237 one function that takes a filename, and one that takes raw data;
238 detect pkcs#12 files as well
239 - (crypto_load_and_verify_certificate): detect file type
240 - (crypto_is_pkcs12_data, crypto_is_pkcs12_file): add pkcs#12 detection
243 * libnm-util/crypto_gnutls.c
244 - (crypto_decrypt): take GByteArray rather than data + len; fix a bug
245 whereby tail padding was incorrectly handled, leading to erroneous
246 successes when trying to decrypt the data
247 - (crypto_verify_cert): rework somewhat
248 - (crypto_verify_pkcs12): validate pkcs#12 keys
250 * libnm-util/crypto_nss.c
251 - (crypto_init): enable various pkcs#12 ciphers
252 - (crypto_decrypt): take a GByteArray rather than data + len
253 - (crypto_verify_cert): clean up
254 - (crypto_verify_pkcs12): validate pkcs#12 keys
256 * libnm-util/test-crypto.c
257 - Handle pkcs#12 keys
259 * libnm-util/nm-setting-8021x.c
260 libnm-util/nm-setting-8021x.h
261 libnm-util/libnm-util.ver
262 - Add two new properties, 'private-key-password' and
263 'phase2-private-key-password', to be used in conjunction with
265 - (nm_setting_802_1x_set_ca_cert_from_file,
266 nm_setting_802_1x_set_client_cert_from_file,
267 nm_setting_802_1x_set_phase2_ca_cert_from_file,
268 nm_setting_802_1x_set_phase2_client_from_file): return certificate
270 - (nm_setting_802_1x_get_private_key_password,
271 nm_setting_802_1x_get_phase2_private_key_password): return private
273 - (nm_setting_802_1x_set_private_key_from_file,
274 nm_setting_802_1x_set_phase2_private_key_from_file): set the private
275 key from a file, and update the private key password at the same time
276 - (nm_setting_802_1x_get_private_key_type,
277 nm_setting_802_1x_get_phase2_private_key_type): return the private
280 * src/supplicant-manager/nm-supplicant-settings-verify.c
281 - Whitelist private key passwords
283 * src/supplicant-manager/nm-supplicant-config.c
284 - (nm_supplicant_config_add_setting_8021x): for pkcs#12 private keys,
285 add the private key password to the supplicant config, but do not
286 add the client certificate (as required by wpa_supplicant)
288 2008-11-12 Tambet Ingo <tambet@gmail.com>
290 * system-settings/plugins/keyfile/nm-keyfile-connection.c (copy_one_secret)
291 (add_secrets): Don't add empty secrets to the secrets hash table.
293 2008-11-07 Dan Williams <dcbw@redhat.com>
295 * libnm-util/nm-setting-wireless.c
296 - (nm_setting_wireless_get_seen_bssid): fix bug from accessor conversion
297 that cased this function to return garbage, breaking hidden AP
300 2008-11-07 Dan Williams <dcbw@redhat.com>
302 Fix deletion of VPN gateway route on DHCP renew (bgo #558133)
304 * src/NetworkManagerSystem.c
305 src/NetworkManagerSystem.h
306 - (nm_system_device_set_ip4_route): return the route that was added
307 - (nm_system_add_ip4_vpn_gateway_route): make add_vpn_gateway_route()
308 public, clean up, and return the route that was added
309 - (nm_system_apply_ip4_config): remove VPN related stuff to simplify,
310 since nm_system_add_ip4_vpn_gateway_route() is now available; add
311 flags to allow only certain attributes of the NMIP4Config to be
315 - (handle_dhcp_lease_change): don't touch the DHCP4 config on failure
316 - (nm_device_set_ip4_config): use nm_ip4_config_diff() to only apply
317 what's really changed between the old and new configs; don't export
318 the new IP4 config on failure; always send the DNS info to the
321 * src/vpn-manager/nm-vpn-connection.c
322 - (device_ip4_config_changed, nm_vpn_connection_new, dispose): track the
323 parent device's IP4Config and re-add the VPN gateway route when it
325 - (nm_vpn_connection_ip4_config_get): add the VPN gateway route (since
326 nm_system_apply_ip4_config() no longer does) and cache it for later
327 - (connection_state_changed): move cleanup code to its own function
328 - (vpn_cleanup): delete any previously added VPN gateway route; and
329 re-apply the parent device's addresses and routes using
330 nm_system_apply_ip4_config(), not nm_device_set_ip4_config()
332 2008-11-07 Dan Williams <dcbw@redhat.com>
334 * src/nm-ip4-config.c
336 - (nm_ip4_config_diff): new function; return the difference between two
338 - (nm_ip4_config_compare): change into nm_ip4_config_diff
340 2008-11-05 Dan Williams <dcbw@redhat.com>
344 - (nm_ip4_config_compare): compare two IP4 configs
346 2008-11-05 Dan Williams <dcbw@redhat.com>
348 * src/NetworkManagerPolicy.c
349 - (update_etc_hosts): only add newline if not the last line of the file
352 2008-11-05 Dan Williams <dcbw@redhat.com>
354 * src/dhcp-manager/nm-dhcp-dhclient.c
355 - (get_leasefile_for_iface): move lease files back to where dhclient
358 2008-11-05 Michael Biebl <mbiebl@gmail.com>
360 * initscripts/Debian/NetworkManager
361 - Update to what Debian is actually using
363 2008-11-05 Tambet Ingo <tambet@gmail.com>
365 * libnm-util/nm-setting-8021x.c: Verify PEAP settings as well.
367 2008-11-03 Dan Williams <dcbw@redhat.com>
369 * system-settings/src/main.c
370 - (add_default_dhcp_connection): make the fallback connection read-only
372 * libnm-glib/nm-settings.c
373 libnm-glib/nm-settings.h
374 - Add detailed errors
375 - (impl_exported_connection_update, impl_exported_connection_delete):
376 return an error if the connection is read-only
378 * system-settings/plugins/ifupdown/nm-ifupdown-connection.c
379 system-settings/plugins/keyfile/nm-keyfile-connection.c
380 system-settings/src/main.c
381 - Use more detailed errors
383 * system-settings/src/nm-system-config-error.c
384 system-settings/src/nm-system-config-error.h
385 system-settings/src/dbus-settings.c
386 - Remove NM_SYSCONFIG_SETTINGS_ERROR_INVALID_CONNECTION, replaced by
387 NM_SETTINGS_ERROR_INVALID_CONNECTION
389 2008-11-02 Dan Williams <dcbw@redhat.com>
391 * Add license headers to everything in src/
393 2008-11-02 Dan Williams <dcbw@redhat.com>
397 2008-11-02 Dan Williams <dcbw@redhat.com>
399 * src/NetworkManagerAP.c
400 - (nm_ap_new_fake_from_connection): treat only lack of a wireless security
401 setting as unencrypted; fixes a bug where NM wouldn't ask for new
402 secrets when connecting to an encrypted network failed
404 2008-10-30 Dan Williams <dcbw@redhat.com>
406 * libnm-util/libnm-util.ver
407 libnm-util/nm-setting-ip6-config.c
408 libnm-util/nm-setting-ip6-config.h
409 libnm-util/Makefile.am
410 - Make properties private and add accessor functions
411 - Hide IPv6 stuff from public API, it's incomplete and completely unused
413 * libnm-util/nm-connection.c
414 libnm-util/nm-utils.c
415 libnm-util/nm-utils.h
416 - Ignore IPv6 stuff for now
418 2008-10-30 Dan Williams <dcbw@redhat.com>
420 * libnm-util/libnm-util.ver
421 libnm-util/nm-setting-8021x.c
422 libnm-util/nm-setting-8021x.h
423 - Make properties private and add accessor functions
425 * src/supplicant-manager/nm-supplicant-config.c
426 system-settings/plugins/ifcfg-suse/parser.c
427 - Use 802.1x setting accessors
429 2008-10-30 Dan Williams <dcbw@redhat.com>
431 * libnm-util/libnm-util.ver
432 libnm-util/nm-setting-wireless-security.c
433 libnm-util/nm-setting-wireless-security.h
434 - Make properties private and add accessor functions
436 * libnm-util/nm-setting-wireless.c
437 src/NetworkManagerAP.c
439 src/supplicant-manager/nm-supplicant-config.c
440 system-settings/plugins/ifcfg-fedora/reader.c
441 system-settings/plugins/ifcfg-suse/parser.c
442 - Use wireless security accessors
444 2008-10-30 Dan Williams <dcbw@redhat.com>
446 * src/nm-device-ethernet.c
449 src/ppp-manager/nm-ppp-manager.c
450 - Harmonize return checking of ioctl
452 * system-settings/plugins/ifcfg-fedora/reader.c
453 - (is_wireless_device): fall back to SIOCGIWNAME (rh #466340)
455 2008-10-30 Dan Williams <dcbw@redhat.com>
457 * src/ppp-manager/nm-ppp-manager.c
458 - (nm_ppp_manager_start): if /dev/ppp doesn't exist, load the
459 ppp_generic module to create it (bgo #533064)
461 2008-10-30 Dan Williams <dcbw@redhat.com>
463 Patch from Alexander Sack <asac@canonical.com>
465 Fix "ppp connections don't honour ip4 connection settings"
467 * src/nm-device-ethernet.c
468 - (real_act_stage4_get_ip4_config): merge ip4config settings
469 with results from ppp manager
471 * src/nm-serial-device.c
472 - (real_act_stage4_get_ip4_config): merge ip4config settings
473 with results from ppp manager
475 2008-10-29 Dan Williams <dcbw@redhat.com>
477 * libnm-util/libnm-util.ver
478 libnm-util/nm-setting-ip4-config.c
479 libnm-util/nm-setting-ip4-config.h
480 - Make properties private and add accessor functions
482 * callouts/nm-dispatcher-action.c
483 libnm-glib/libnm-glib-test.c
484 libnm-util/nm-utils.c
485 src/NetworkManagerPolicy.c
486 src/NetworkManagerSystem.c
487 src/NetworkManagerUtils.c
488 src/dhcp-manager/nm-dhcp-dhclient.c
489 src/dhcp-manager/nm-dhcp-manager.c
490 src/dnsmasq-manager/nm-dnsmasq-manager.c
493 src/nm-hso-gsm-device.c
496 src/ppp-manager/nm-ppp-manager.c
497 src/vpn-manager/nm-vpn-connection.c
498 system-settings/plugins/ifcfg-fedora/reader.c
499 system-settings/plugins/ifcfg-suse/parser.c
500 system-settings/plugins/ifcfg-suse/plugin.c
501 system-settings/plugins/ifupdown/parser.c
503 vpn-daemons/vpnc/properties/nm-vpnc.c
504 - Use IP4 accessor functions
506 2008-10-29 Tambet Ingo <tambet@gmail.com>
508 Half of it by Dan Williams <dcbw@redhat.com>
510 * libnm-util/libnm-util.ver
511 libnm-util/nm-setting-vpn.c
512 libnm-util/nm-setting-vpn.h
513 - Make properties private and add accessor functions.
515 * src/vpn-manager/nm-vpn-connection.c
516 src/vpn-manager/nm-vpn-manager.c
517 system-settings/plugins/keyfile/reader.c
518 vpn-daemons/openvpn/properties/auth-helpers.c
519 vpn-daemons/openvpn/properties/import-export.c
520 vpn-daemons/openvpn/properties/nm-openvpn.c
521 vpn-daemons/openvpn/src/nm-openvpn-service.c
522 vpn-daemons/pptp/auth-dialog/main.c
523 vpn-daemons/pptp/properties/advanced-dialog.c
524 vpn-daemons/pptp/properties/nm-pptp.c
525 vpn-daemons/pptp/src/nm-pptp-service.c
526 vpn-daemons/vpnc/properties/nm-vpnc.c
527 vpn-daemons/vpnc/src/nm-vpnc-service.c
528 - Use VPN setting accessors.
530 2008-10-28 Dan Williams <dcbw@redhat.com>
532 Patch from Tambet Ingo <tambet@gmail.com>
534 * libnm-util/libnm-util.ver
535 libnm-util/nm-setting-wireless.c
536 libnm-util/nm-setting-wireless.h
537 - Make properties private and add accessor functions
539 * src/NetworkManagerAP.c
542 src/supplicant-manager/nm-supplicant-config.c
543 system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
544 system-settings/plugins/ifcfg-fedora/reader.c
545 system-settings/plugins/ifcfg-suse/parser.c
546 system-settings/plugins/ifupdown/parser.c
547 - Use wireless setting accessors
549 2008-10-27 Dan Williams <dcbw@redhat.com>
551 Patch from Tambet Ingo <tambet@gmail.com>
553 * libnm-util/libnm-util.ver
554 libnm-util/nm-setting-ppp.c
555 libnm-util/nm-setting-ppp.h
556 - Make properties private and add accessor functions
558 * src/ppp-manager/nm-ppp-manager.c
559 - Use ppp setting accessors
561 2008-10-27 Dan Williams <dcbw@redhat.com>
563 Patch from Tambet Ingo <tambet@gmail.com>
565 * libnm-util/nm-setting.h
566 libnm-util/nm-setting.c
567 - Make properties private and add accessor functions
569 * libnm-util/nm-connection.c
570 libnm-util/nm-setting-8021x.c
571 libnm-util/nm-setting-cdma.c
572 libnm-util/nm-setting-connection.c
573 libnm-util/nm-setting-gsm.c
574 libnm-util/nm-setting-ip4-config.c
575 libnm-util/nm-setting-ip6-config.c
576 libnm-util/nm-setting-ppp.c
577 libnm-util/nm-setting-pppoe.c
578 libnm-util/nm-setting-serial.c
579 libnm-util/nm-setting-template.c
580 libnm-util/nm-setting-vpn.c
581 libnm-util/nm-setting-wired.c
582 libnm-util/nm-setting-wireless-security.c
583 libnm-util/nm-setting-wireless.c
584 system-settings/plugins/keyfile/reader.c
585 system-settings/plugins/keyfile/writer.c
586 - Use setting accessors
588 2008-10-27 Dan Williams <dcbw@redhat.com>
590 * libnm-util/libnm-util.ver
591 libnm-util/nm-setting-connection.c
592 libnm-util/nm-setting-connection.h
593 - Add a 'read-only' property that indicates the connection cannot be
596 * system-settings/plugins/ifcfg-fedora/reader.c
597 system-settings/plugins/ifcfg-suse/parser.c
598 system-settings/plugins/ifupdown/parser.c
599 - These plugins are read-only at the moment
601 * system-settings/plugins/keyfile/reader.c
602 system-settings/plugins/keyfile/writer.c
603 - Read-only shouldn't get saved out to files or read in from them
605 2008-10-27 Tambet Ingo <tambet@gmail.com>
607 * src/nm-device-ethernet.c (nm_device_ethernet_get_speed): Implement
608 correct speed reporting for fast devices (kernel >= 2.6.27).
610 2008-10-26 Dan Williams <dcbw@redhat.com>
612 Attempt to compensate for modems that don't enable full AT parsing before
613 the PIN has been entered.
615 * src/nm-gsm-device.c
616 - (init_modem): accept different init strings
617 - (init_done): try different init strings on failure
618 - (check_pin_done): on PIN success, do full modem init
620 2008-10-26 Dan Williams <dcbw@redhat.com>
622 Patch from Tambet Ingo <tambet@gmail.com>
624 * libnm-util/libnm-util.ver
625 libnm-util/nm-setting-connection.c
626 libnm-util/nm-setting-connection.h
627 - Make properties private and add accessor functions
629 * src/NetworkManagerPolicy.c
631 src/nm-device-ethernet.c
632 src/nm-device-interface.c
636 src/ppp-manager/nm-ppp-manager.c
637 src/vpn-manager/nm-vpn-connection.c
638 system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
639 system-settings/plugins/ifcfg-fedora/plugin.c
640 system-settings/plugins/ifcfg-fedora/reader.c
641 system-settings/plugins/ifcfg-suse/parser.c
642 system-settings/plugins/ifupdown/parser.c
643 system-settings/plugins/keyfile/nm-keyfile-connection.c
644 system-settings/plugins/keyfile/plugin.c
645 system-settings/plugins/keyfile/writer.c
646 system-settings/src/main.c
647 - Use those accessors
649 2008-10-26 Dan Williams <dcbw@redhat.com>
651 Patch from Tambet Ingo <tambet@gmail.com>
653 * libnm-util/libnm-util.ver
654 libnm-util/nm-setting-gsm.c
655 libnm-util/nm-setting-gsm.h
656 - Make properties private and add accessor functions
658 * src/nm-gsm-device.c
659 src/nm-hso-gsm-device.c
660 src/ppp-manager/nm-ppp-manager.c
661 - Use those accessors
663 2008-10-26 Dan Williams <dcbw@redhat.com>
665 Patch from Tambet Ingo <tambet@gmail.com>
667 * libnm-util/libnm-util.ver
668 libnm-util/nm-setting-cdma.c
669 libnm-util/nm-setting-cdma.h
670 - Make properties private and add accessor functions
672 * src/nm-cdma-device.c
673 src/ppp-manager/nm-ppp-manager.c
674 - Use those accessors
676 2008-10-26 Dan Williams <dcbw@redhat.com>
678 Patch from Tambet Ingo <tambet@gmail.com>
680 * libnm-util/libnm-util.ver
681 libnm-util/nm-setting-pppoe.c
682 libnm-util/nm-setting-pppoe.h
683 - Make properties private and add accessor functions
685 * src/nm-device-ethernet.c
686 src/ppp-manager/nm-ppp-manager.c
687 - Use those accessors
689 2008-10-26 Dan Williams <dcbw@redhat.com>
691 Patch from Tambet Ingo <tambet@gmail.com>
693 * libnm-util/libnm-util.ver
694 libnm-util/nm-setting-wired.c
695 libnm-util/nm-setting-wired.h
696 - Make properties private and add accessor functions
698 * src/nm-device-ethernet.c
699 system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
700 system-settings/plugins/ifcfg-suse/parser.c
701 system-settings/src/main.c
702 - Use those accessors
704 2008-10-26 Dan Williams <dcbw@redhat.com>
706 Patch from Tambet Ingo <tambet@gmail.com>
708 * libnm-util/libnm-util.ver
709 libnm-util/nm-setting-serial.c
710 libnm-util/nm-setting-serial.h
711 src/nm-serial-device.c
712 - Make properties private and use accessors instead
714 2008-10-26 Dan Williams <dcbw@redhat.com>
716 * src/supplicant-manager/nm-supplicant-interface.c
717 src/supplicant-manager/nm-supplicant-interface.h
718 src/supplicant-manager/nm-supplicant-manager.c
719 src/supplicant-manager/nm-supplicant-manager.h
720 - Add state-to-string conversion functions
722 * src/nm-device-wifi.c
723 src/nm-device-ethernet.c
724 - Normalize state info logging and use strings instead of numbers
726 2008-10-26 Dan Williams <dcbw@redhat.com>
728 * src/NetworkManagerPolicy.c
729 - (update_routing_and_dns): ignore host routes when determining whether
730 a VPN connection should own the default route (bgo #552594)
732 2008-10-24 Dan Williams <dcbw@redhat.com>
734 * src/nm-gsm-device.c
735 - (set_apn): remove erroneous spaces in AT+CGDCONT command (Jerone Young)
737 2008-10-23 Dan Williams <dcbw@redhat.com>
739 * src/ppp-manager/nm-ppp-manager.c
740 - (create_pppd_cmd_line): pppd always parses /etc/ppp/options, so always
741 add really important stuff to the command line to ensure that NM
742 overrides /etc/ppp/options (bgo #556781)
744 2008-10-22 Dan Williams <dcbw@redhat.com>
746 * src/NetworkManagerSystem.c
748 - Use the device's IP interface where appropriate (Per Hallsmark)
750 2008-10-22 Dan Williams <dcbw@redhat.com>
752 * src/nm-gsm-device.c
753 - (schedule_automatic_registration_again): use a short timeout here
754 instead of an idle handler to avoid using too much CPU polling for
755 something we should be waiting a bit for anyway
757 2008-10-22 Dan Williams <dcbw@redhat.com>
759 * include/NetworkManager.h
760 introspection/nm-device.xml
761 - Add device state change reason for carrier changes
763 * src/nm-device-ethernet.c
764 - (set_carrier): use the carrier change reason when changing device
765 state in response to carrier changes
767 2008-10-21 Dan Williams <dcbw@redhat.com>
769 * src/NetworkManagerPolicy.c
770 - (update_etc_hosts): don't leak errors, and ensure that
771 g_file_set_contents() gets a valid error placeholder (rh #461933)
773 2008-10-21 Dan Williams <dcbw@redhat.com>
776 - (free_get_settings_info): don't use the DBusGProxy which could be
777 disposed of by the time the function is called
778 - (internal_new_connection_cb): save connection scope
779 - (connection_get_settings_cb): don't replace a connection unless it's
780 actually different from the existing one; fixes an issue where
781 killing the settings service wouldn't deactivate an active connection
782 provided by that settings service, because it was using a connection
783 that had already been replaced in the system or user hash
785 2008-10-21 Dan Williams <dcbw@redhat.com>
787 * src/NetworkManager.c
788 - (main): keep the DHCP manager around since it's a singleton; fixes
789 a use-after-free exposed by r4196 since the DHCP manager singleton
790 variable isn't cleared when the DHCP manager object is finalized
792 2008-10-20 Dan Williams <dcbw@redhat.com>
794 * libnm-util/nm-setting-wireless-security.c
795 - (verify): accept 'none' as a pairwise cipher with Ad-Hoc WPA connections
797 2008-10-20 Dan Williams <dcbw@redhat.com>
799 * src/supplicant-manager/nm-supplicant-config.c
800 - (ADD_STRING_LIST_VAL): don't add empty values to the supplicant config
802 2008-10-20 Dan Williams <dcbw@redhat.com>
804 * src/dhcp-manager/nm-dhcp-manager.c
805 - (nm_dhcp_manager_get): fix mismatched refcount; creating the dhcp
806 manager object already refs it once
807 - (nm_dhcp_manager_cancel_transaction_real): clear freed variables that
808 also get cleaned up by nm_dhcp_device_destroy() to prevent
811 2008-10-20 Dan Williams <dcbw@redhat.com>
814 - (initial_get_connections): use private dbus manager, don't keep
815 ref-ing the singleton. Fixes mismatched refcounts of the dbus
818 2008-10-18 Dan Williams <dcbw@redhat.com>
820 * libnm-glib/nm-settings.c
821 libnm-glib/nm-settings.h
822 - Rename the "get_secrets" virtual function "service_get_secrets" to
823 clarify when it's used; NMExportedConnetion is a base-class for both
824 the client and service side, which is sort of confusing, and
825 get_secrets only makes sense on the service side.
827 * libnm-glib/nm-dbus-connection.c
828 - (get_secrets): remove, unused, and clients need to do extra work to
829 get secrets anyway since the call can block on the remote side
831 * system-settings/plugins/ifupdown/nm-ifupdown-connection.c
832 system-settings/plugins/keyfile/nm-keyfile-connection.c
833 - Fix up for get_secrets -> service_get_secrets
835 2008-10-16 Dan Williams <dcbw@redhat.com>
837 * src/nm-device-wifi.c
838 - (constructor): correctly determine encryption capabilities
840 2008-10-15 Dan Williams <dcbw@redhat.com>
842 * src/nm-device-wifi.c
843 - (wireless_qual_to_percent): fix quality calculation in a fallback case
846 2008-10-15 Dan Williams <dcbw@redhat.com>
848 * src/NetworkManagerSystem.c
849 - (ip4_dest_in_same_subnet): tighter checks on subnet matching,
850 if the ip4_dest is in a smaller subnet contained within a subnet
851 the machine is currently on, the destination is in the same subnet
852 - (nm_system_device_set_ip4_route): move subnet checks to callers
853 - (add_vpn_gateway_route): check if the VPN gateway is in the same
854 subnet as the parent device, and if so, don't add the direct
855 host route via the parent device's gateway (bgo #481620)
856 - (nm_system_apply_ip4_config): check whether the route to be added
857 is contained within a subnet the device is already on
859 2008-10-11 Dan Williams <dcbw@redhat.com>
861 * include/NetworkManager.h
862 introspection/nm-device.xml
863 include/NetworkManagerVPN.h
864 - Add a few more state reasons for the device deactivated state
866 * src/nm-device-interface.c
867 src/nm-device-interface.h
868 - (nm_device_interface_deactivate): add a 'reason' argument
872 - (nm_device_deactivate, nm_device_take_down): add a 'reason' argument
873 - (nm_device_state_changed): pass the state change reason to
874 nm_device_take_down()
875 - (nm_device_set_managed): take a 'reason' argument, and pass it along
876 to the state change function
880 - (remove_one_device, handle_unmanaged_devices, sync_devices,
881 impl_manager_sleep): pass a reason code to nm_device_set_managed()
882 - (nm_manager_deactivate_connection): add a 'reason' argument and pass
883 something reasonable along to VPN deactivation
885 * src/vpn-manager/nm-vpn-manager.c
886 src/vpn-manager/nm-vpn-manager.h
887 - (nm_vpn_manager_deactivate_connection): add a 'reason' argument and
888 pass that along to nm_vpn_connection_disconnect()
890 2008-10-11 Dan Williams <dcbw@redhat.com>
892 * src/nm-device-wifi.c
893 - (can_scan): remove old madwifi hack for not scanning while connected
895 2008-10-11 Dan Williams <dcbw@redhat.com>
897 Add support for VPN subnet gateways (bgo #549196)
899 * include/NetworkManager.h
900 - Add key for internal VPN subnet gateway
902 * src/vpn-manager/nm-vpn-connection.c
903 - (ip_address_to_string): return a const from a static buffer so we
904 don't leak a lot of strings
905 - (print_vpn_config): print internal VPN gateway as well
906 - (nm_vpn_connection_ip4_config_get): grab internal VPN gateway from
908 - (nm_vpn_connection_get_ip4_internal_gateway): new function
910 * src/NetworkManagerSystem.c
911 src/NetworkManagerSystem.h
912 - (nm_system_device_replace_default_ip4_route): split into two, one for
913 VPN connections and one for normal devices
914 - (replace_default_ip4_route): break out route stuff into its own function
915 - (nm_system_replace_default_ip4_route_vpn,
916 nm_system_replace_default_ip4_route): simplify by having two cases,
917 one for VPNs and one for normal devices
919 * src/NetworkManagerPolicy.c
920 - (update_routing_and_dns): simplify, use split default route replacement
923 2008-10-10 Dan Williams <dcbw@redhat.com>
925 Rework default route handling to consolidate decisions in the policy,
926 and to take active VPN connections into account when changing the default
929 * src/NetworkManager.c
930 - (main): pass the vpn_manager to the policy so it knows about active
931 VPN connections; clean up the named manager which wasn't done before
933 * src/NetworkManagerPolicy.c
934 src/NetworkManagerPolicy.h
935 - (nm_policy_new): get a clue about the vpn_manager
936 - (update_default_route): remove, fold into update_routing_and_dns()
937 - (update_routing_and_dns): handle active VPN connections too; an
938 active VPN connection becomes the default route if it does not have
939 server-specified or user-specified custom routes. Otherwise, the
940 best active device gets the default route
941 - (vpn_connection_activated, vpn_connection_deactivated, nm_policy_new,
942 nm_policy_destroy): track VPN connection activation and deactivation
943 and update the default route when appropriate
945 * src/NetworkManagerSystem.c
946 src/NetworkManagerSystem.h
947 - (nm_system_vpn_device_unset_from_ip4_config): remove, put functionality
948 in the VPN connection itself
949 - (nm_system_vpn_device_set_from_ip4_config,
950 nm_system_device_set_from_ip4_config): merge together to make
951 nm_system_apply_ip4_config()
952 - (add_vpn_gateway_route): add a route to the VPN's external gateway
953 via the parent device
954 - (nm_system_apply_ip4_config): simplify
955 - (add_ip4_route_to_gateway): new function; add a direct route to the
957 - (nm_system_device_replace_default_ip4_route): simplify, break gateway
958 route stuff out into add_ip4_route_to_gateway() for clarity
961 - (nm_device_set_ip4_config): update for nm_system_apply_ip4_config()
963 * src/vpn-manager/nm-vpn-connection.c
964 src/vpn-manager/nm-vpn-connection.h
965 - (nm_vpn_connection_get_ip4_config, nm_vpn_connection_get_ip_iface,
966 nm_vpn_connection_get_parent_device): add
967 - (nm_vpn_connection_ip4_config_get): make the requirement of a tunnel
969 - (connection_state_changed): update the named manager now that
970 nm_system_vpn_device_unset_from_ip4_config() is gone; do something
973 * src/vpn-manager/nm-vpn-manager.c
974 src/vpn-manager/nm-vpn-manager.h
975 - Add a 'connection-activated' signal
976 - (nm_vpn_manager_get_active_connections): new function; mainly for the
977 policy to find out about active VPN connections
979 2008-10-10 Tambet Ingo <tambet@gmail.com>
981 * src/nm-logging.c (nm_logging_setup): Don't use LOG_CONS when running as
982 a daemon to prevent NM logging spew on console on startup and shutdown (due
983 to dependency loop between NM and syslog).
985 2008-10-10 Alexander Sack <asac@ubuntu.com>
987 Implement managed mode. We bind devices configured in /etc/network/interfaces
988 to their connections by updating wired/wireless setting with the
989 mac address of the device.
991 * system-settings/plugins/ifupdown/plugin.c
992 - (get_net_address_for_udi): implement function to retrieve MAC
993 address of udi from hal in GByteArray format
994 - (bind_device_to_connection): bind mac address of device to
995 wired/wireless system connection
996 - (hal_device_added_cb): call bind_device_to_connection for
997 system connections with a matching interface.name
998 - (hal_device_added_cb): ensure that all code paths
999 properly free the "iface" string.
1001 2008-10-10 Alexander Sack <asac@ubuntu.com>
1003 Parse nm-system-settings.conf and allow admins to either use managed and unmanaged
1004 mode of the ifupdown system config plugin.
1006 * system-settings/plugins/ifupdown/plugin.c
1007 - (SCPluginIfupdown_init): parse nm-system-settings.conf keyfile and set
1008 private unmanage_well_known state field accordingly
1010 2008-10-10 Alexander Sack <asac@ubuntu.com>
1012 Implement unmanaged mode that will prevent all devices in the
1013 well_known_udis set from being touched by NetworkManager
1015 * system-settings/plugins/ifupdown/plugin.c
1016 - (typedef struct SCPluginIfupdownPrivate): add gboolean
1017 unmanage_well_known field used to turn on/off unmanaged
1019 - (hal_device_added_cb,hal_device_remove_cb): emit |unmanaged-devices-changed|
1020 signal when well_known_udis get added/removed
1021 - (SCPluginIfupdown_get_unmanaged_devices): return all well_known_udis
1022 if we are in unmanaged mode
1024 2008-10-10 Alexander Sack <asac@ubuntu.com>
1026 Add support to track network devices that have a configuration
1027 with a matching interface.name in /etc/network/interfaces
1029 * system-settings/plugins/ifupdown/plugin.c
1030 - (typedef struct SCPluginIfupdownPrivate): add hash table
1031 to track |well_known_udis|
1032 - (get_iface_for_udi): helper function to get interface.name
1034 - (hal_device_added_cb, hal_device_removed_cb): callbacks
1035 that add and remove devices to and from the well_known_udis
1036 set depending on whether their |interface.name| matches
1037 any interface definition in /etc/network/interfaces
1038 - (SCPluginIfupdown_init): connect callbacks from above with
1039 hal_mgr and setup well_known_udis hashtable
1040 - (GObject__dispose): destroy well_known_udis hashtable
1041 - (hal_device_added_cb2): implement wrapper callback with GFunc
1042 signature. user_data is supposed to be a triple (hal_mgr,
1044 - (SCPluginIfupdown_init): bootstrap wired and wifi devices for
1045 startup and call hal_device_added_cb2
1047 2008-10-10 Alexander Sack <asac@ubuntu.com>
1049 Remove implementation for not used NMSystemConfigInterface callback functions
1052 * system-settings/plugins/ifupdown/plugin.c
1053 - (SCPluginIfupdown_unmanaged_devices_changed): removed
1054 - (SCPluginIfupdown_connection_added): removed
1056 2008-10-08 Dan Williams <dcbw@redhat.com>
1058 Add a 'hostname' dispatcher action triggered on hostname changes (bgo #552983)
1060 * src/NetworkManagerUtils.c
1061 - (nm_utils_call_dispatcher): add a 'hostname' action
1063 * src/NetworkManagerPolicy.c
1064 - (set_system_hostname): dispatch hostname changes
1066 * callouts/nm-dispatcher-action.c
1067 - (nm_dispatcher_action): handle 'hostname' actions
1069 2008-10-08 Dan Williams <dcbw@redhat.com>
1071 * src/NetworkManagerSystem.c
1072 - (find_route): ref the route so it doesn't get destroyed when the cache
1074 - (nm_system_device_set_priority): unref the route here after it's done
1077 2008-10-08 Dan Williams <dcbw@redhat.com>
1079 * src/nm-serial-device.c
1080 - Turn on serial debugging when NM_SERIAL_DEBUG is set in the environment
1082 2008-10-08 Tambet Ingo <tambet@gmail.com>
1084 * system-settings/plugins/keyfile/nm-keyfile-connection.c (update): Update the
1085 connection with new settings before saving it.
1087 2008-10-06 Dan Williams <dcbw@redhat.com>
1089 * src/nm-ip4-config.c
1091 - nm_ip4_config_is_exported -> nm_ip4_config_get_dbus_path
1093 * src/nm-device-interface.c
1094 - (nm_device_interface_init): make 'ip4-config' a boxed property of type
1095 DBUS_TYPE_G_OBJECT_PATH so that we can make it NULL when we need to
1096 by using '/' for the object path
1099 - (src/nm-device.c): marshal missing/unexported ip4-config through
1100 dbus as '/' since dbus-glib can't handle NULL objects nor can
1101 dbus handle NULL object paths
1103 2008-10-03 Alexander Sack <asac@ubuntu.com>
1105 Implement system hostname support for debian/ubuntu
1107 * system-settings/plugins/ifupdown/plugin.c
1108 - (GObject__get_property): extend announced capabilities; add
1109 NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME support
1110 - (GObject__set_property,write_system_hostname): implement
1111 NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME capability.
1112 - (GObject__set_property, GObject__get_property, SCPluginIfupdown_init,
1113 update_system_hostname, get_hostname):
1114 implement hostname property that watches and
1115 parses /etc/hostname
1117 2008-10-03 Alexander Sack <asac@ubuntu.com>
1119 * system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
1120 system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
1121 system-settings/plugins/ifcfg-fedora/Makefile.am
1122 system-settings/src/nm-inotify-helper.c
1123 system-settings/src/nm-inotify-helper.h
1125 - Move ifcfg-fedora inotify helpers to the system settings service so
1126 they are available to all plugins
1128 2008-10-03 Alexander Sack <asac@ubuntu.com>
1130 Implement support for wep-tx-keyidx in ifupdown system
1133 * system-settings/plugins/ifupdown/parser.c
1134 - (update_wireless_security_setting_from_if_block): introduce
1135 free_type_mapping func table; rename a few local
1136 variables to improve readability; add wpa security mapping
1137 for wep-tx-keyidx property
1138 - (string_to_gpointerint): new function used for the auto_type_mapping
1139 of new wep-tx-keyidx property
1140 - (slist_free_all): free func used for mapped slist types
1142 2008-10-03 Alexander Sack <asac@ubuntu.com>
1144 * system-settings/src/main.c:
1145 - (add_default_dhcp_connection, device_removed_cb): ensure the UDI is
1146 always used as the hash key; fixes a crash when removing wired
1149 2008-10-02 Dan Williams <dcbw@redhat.com>
1151 * src/nm-gsm-device.c
1152 - (enter_pin_done, enter_pin, check_pin_done, real_act_stage1_prepare):
1153 pass the required GSM secret along via user_data rather than keeping
1154 it around in the private data where it sometimes didn't get cleared
1155 - (real_get_ppp_name): implement using the GSM username
1157 2008-10-02 Dan Williams <dcbw@redhat.com>
1159 * src/ppp-manager/nm-ppp-manager.c
1160 src/ppp-manager/nm-ppp-manager.h
1161 - (impl_ppp_manager_need_secrets): tries secrets twice before asking
1162 the settings daemon for completely new ones
1163 - (create_pppd_cmd_line): new parameter 'ppp_name' used to set the
1164 local PPP peer name; allow PPP debuging by launching NM with
1165 the environment variable NM_PPP_DEBUG defined
1166 - (nm_ppp_manager_start): new parameter 'ppp_name' passed to
1167 create_pppd_cmd_line()
1169 * src/nm-serial-device.c
1170 src/nm-serial-device.h
1171 - New 'get_ppp_name' function for subclasses to implement to return the
1173 - (real_act_stage2_config): call 'get_ppp_name' function of subclasses
1174 and pass that name to the PPP manager
1176 * src/nm-device-ethernet.c
1177 - (pppoe_stage2_config): pass the PPPoE username to the PPP manager as
1180 * src/nm-cdma-device.c
1181 - (real_get_ppp_name): implement using the CDMA username
1183 2008-10-02 Dan Williams <dcbw@redhat.com>
1185 Patch from Alexander Sack <asac ubuntu com>
1187 * system-settings/plugins/ifupdown/parser.c
1188 - Implement more graceful ip4 config parsing for cases where
1189 /etc/network/interfaces omits basic ip4 settings, such as gateway etc
1190 by using default values
1192 2008-10-02 Dan Williams <dcbw@redhat.com>
1194 * src/NetworkManagerPolicy.c
1195 - (device_state_changed): when marking a connection invalid, clear its
1196 secrets too so that fresh secrets get requested the next time
1198 2008-10-01 Dan Williams <dcbw@redhat.com>
1200 * system-settings/src/dbus-settings.c
1201 - (nm_sysconfig_settings_init): cache system hostname on startup as
1202 a fallback if no plugin provides a hostname
1203 - (get_property): fall back to cached hostname if no plugin provides
1206 2008-10-01 Dan Williams <dcbw@redhat.com>
1208 Fix setting value comparison issue that caused some settings to look the
1209 same when they were really different (rh #464417)
1211 * libnm-util/nm-param-spec-specialized.c
1212 - (type_is_fixed_size): return fundamental size of the fixed type too
1213 - (nm_gvalues_compare_collection): use the fundamental fixed type size
1214 in the comparison so that the _entire_ fixed type collection gets
1215 compared rather than just the first 'len1' bytes
1217 2008-09-30 Dan Williams <dcbw@redhat.com>
1219 * src/NetworkManagerPolicy.c
1220 - (lookup_thread_worker): don't store the idle handler ID becuase the
1221 idle handler could have already run and freed the LookupThread
1224 2008-09-30 Tambet Ingo <tambet@gmail.com>
1226 * src/nm-device.c (nm_device_get_priority): Implement.
1227 (nm_device_set_ip4_config): Send the device priority to system ip4
1230 * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config):
1231 Add priority argument and if it's >= 0, set the priority of the network
1232 route added automatically by netlink (or kernel?).
1233 (nm_system_device_set_priority): Implement.
1235 * src/NetworkManagerPolicy.c (get_best_device): Use
1236 nm_device_get_priority() instead of home-grown version. Revert the
1237 meaning, best priority is the lowest one.
1239 2008-09-29 Dan Williams <dcbw@redhat.com>
1241 Handle ipw3945 suspend/resume by retrying the GIWRANGE request a few times
1242 when it returns EAGAIN (rh #362421)
1244 * src/nm-device-wifi.c
1245 - (wireless_get_range): try GIWRANGE a few times until the card responds
1246 - (real_get_generic_capabilities, constructor): use wireless_get_range()
1248 2008-09-28 Dan Williams <dcbw@redhat.com>
1250 * src/nm-serial-device.c
1251 src/nm-serial-device.h
1252 - (nm_serial_device_close): stop PPP manager here so that PPP gets
1253 cleaned at the right times when subclasses close the serial port too
1254 - (nm_serial_device_send_command): use a default send delay; don't
1255 spin forever on EAGAIN
1256 - (get_reply_done, get_reply_got_data, nm_serial_device_get_reply):
1257 remove, no longer used
1258 - (find_response): return the matched response if any
1259 - (nm_serial_device_wait_reply_blocking): wait for a reply but block
1261 - (wait_for_reply_done): pass the matched response to the callback
1262 - (wait_for_reply_got_data): save the matched response; simplify timeout
1264 - (nm_serial_device_wait_for_reply): make 'responses' and 'terminators'
1265 const since they never get modified
1266 - (cleanup_device): split out common cleanup stuff to a new function
1267 - (real_deactivate_quickly, finalize): use cleanup_device()
1269 * src/nm-gsm-device.c
1270 - (modem_get_reply): remove, unused
1271 - (set_apn): give the card a bit more time to respond
1272 - (manual_registration_again, schedule_manual_registration_again,
1273 manual_registration_response, manual_registration): handle manual
1274 registration timeouts better by retrying registration a few times
1275 because cards are a bit slow after CFUN=1
1276 - (automatic_registration_get_network, get_network_response): use
1277 modem_wait_for_reply() because it interacts better with the serial
1278 buffer and does more intelligent matching; need to wait for 'OK'
1279 rather than just matching terminators
1280 - (schedule_automatic_registration_again,
1281 automatic_registration_response, automatic_registration): retry
1282 registration a few times on timeout or "searching" because cards
1283 take a bit to find a network after being powered up with CFUN=1
1284 - (power_up_response, power_up, init_full_done, enter_pin,
1285 check_pin_done): power up the card with CFUN=1 before trying to
1286 register with the network
1287 - (init_modem_full, init_modem): use more standard 3G init strings
1289 * src/nm-hso-gsm-device.c
1290 - (modem_get_reply): remove, unused
1291 - (hso_ip4_config_response, real_act_stage3_ip_config_start): use
1292 modem_wait_for_reply() to match actual responses instead of single
1293 termination characters; it doesn't leave stuff in the serial buffer
1294 that might confuse later calls
1295 - (real_deactivate_quickly): use nm_serial_device_wait_reply_blocking()
1296 to ensure that the call is really disconnected and not leave extra
1297 stuff in the serial buffer
1299 * src/nm-cdma-device.c
1300 - (power_up_response, power_up, init_done): try Sierra-style modem
1301 power up before attempting to connect
1303 2008-09-27 Dan Williams <dcbw@redhat.com>
1305 * libnm-util/nm-setting-gsm.c
1306 - (verify): verify GSM network ID
1308 2008-09-25 Dan Williams <dcbw@redhat.com>
1310 * libnm-util/nm-setting-gsm.c
1311 libnm-util/nm-setting-gsm.h
1312 - Fix up NM_GSM_NETWORK_* constants to accurately reflect the network
1313 technology terms (bgo #551361)
1315 2008-09-25 Dan Williams <dcbw@redhat.com>
1317 Fix bgo #549401 (inspired by patch from Alexander Sack)
1319 * src/nm-device-ethernet.c
1320 - (finish_supplicant_task): clean up scheduled tasks and free memory
1321 - (remove_supplicant_interface_error_handler): remove the supplicant
1322 error idle callback too
1323 - (supplicant_interface_release): rename from supplicant_interface_clean
1324 to match nm-device-wifi.c; clean up supplicant interface-related
1325 state tasks when the supplicant interface is disposed of
1326 - (schedule_state_handler): add scheduled tasks to a list so they can
1328 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
1329 supplicant_iface_connection_state_cb_handler): use
1330 finish_supplicant_task() to clean up each completed task
1331 - (supplicant_iface_connection_error_cb_handler,
1332 supplicant_connection_timeout_cb): clear source id when the task is
1334 - (supplicant_iface_connection_error_cb): save scheduled task id for
1336 - (nm_device_ethernet_dispose): clean up any pending supplicant state
1339 * src/nm-device-wifi.c
1340 - (finish_supplicant_task): clean up scheduled tasks and free memory
1341 - (remove_supplicant_interface_error_handler): remove the supplicant
1342 error idle callback too
1343 - (supplicant_interface_release): clean up supplicant interface-related
1344 state tasks when the supplicant interface is disposed of
1345 - (schedule_state_handler): add scheduled tasks to a list so they can
1347 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
1348 supplicant_iface_connection_state_cb_handler): use
1349 finish_supplicant_task() to clean up each completed task
1350 - (supplicant_iface_connection_error_cb_handler): clear source id when
1351 the task is complete
1352 - (supplicant_iface_connection_error_cb): save scheduled task id for
1354 - (nm_device_wifi_dispose): clean up any pending supplicant state tasks
1356 2008-09-24 Tambet Ingo <tambet@gmail.com>
1358 * system-settings/plugins/keyfile/plugin.c: Implement unmanaged_devices
1359 method and get/set hostname property.
1361 2008-09-24 Tambet Ingo <tambet@gmail.com>
1363 * src/supplicant-manager/nm-supplicant-interface.c
1364 (nm_supplicant_interface_disconnect): Don't increment the reference
1365 count when disconnecting. The problem is on shutdown, when the replies
1366 to these commands do not arrive before NM exits, resulting on never
1367 calling supplicant interface's dispose(), which removes the interface
1370 2008-09-24 Tambet Ingo <tambet@gmail.com>
1372 * libnm-glib/nm-vpn-plugin-ui-interface.c: Add type checking to
1373 all the public function arguments.
1375 2008-09-22 Tambet Ingo <tambet@gmail.com>
1377 * src/vpn-manager/nm-vpn-connection.c: Add a signal handler for the
1378 "Failure" signal from VPN plugins, store the failure reason, and
1379 use it when the state is changed to failure.
1381 * introspection/nm-vpn-plugin.xml: Fix the "Failure" signal's type
1384 * include/NetworkManagerVPN.h (NMVPNConnectionStateReason): Add a new
1385 reason to the end of the list to not break the API.
1386 (NMVPNPluginFailure): Move it here (from libnm-glib/nm-vpn-plugin.h)
1387 so it can be shared by plugins and daemon.
1389 2008-09-18 Dan Williams <dcbw@redhat.com>
1391 Patch from Alexander Sack <asac@ubuntu.com>
1394 system-settings/plugins/Makefile.am
1395 system-settings/plugins/ifupdown/Makefile.am
1396 system-settings/plugins/ifupdown/interface_parser.c
1397 system-settings/plugins/ifupdown/interface_parser.h
1398 system-settings/plugins/ifupdown/nm-ifupdown-connection.c
1399 system-settings/plugins/ifupdown/nm-ifupdown-connection.h
1400 system-settings/plugins/ifupdown/parser.c
1401 system-settings/plugins/ifupdown/parser.h
1402 system-settings/plugins/ifupdown/plugin.c
1403 system-settings/plugins/ifupdown/plugin.h
1404 - Implement a Debian/Ubuntu legacy network configuration plugin
1407 2008-09-18 Dan Williams <dcbw@redhat.com>
1409 Implement support for honoring configured and automatic hostnames, and for
1410 setting the configured hostname.
1412 * introspection/nm-ip4-config.xml
1415 src/dhcp-manager/nm-dhcp-manager.c
1416 - Remove useless hostname property; it's not really part of the IPv4
1419 * introspection/nm-settings-system.xml
1420 libnm-glib/nm-dbus-settings-system.c
1421 libnm-glib/nm-dbus-settings-system.h
1422 - Add SetHostname() call to system settings D-Bus interface
1423 - Add Hostname property to system settings D-Bus interface
1424 - (nm_dbus_settings_system_save_hostname,
1425 nm_dbus_settings_system_get_hostname): implement
1429 - (nm_device_get_dhcp4_config): implement
1433 - Fetch and track system settings service hostname changes, and proxy
1434 the changes via a GObject property of the manager
1436 * system-settings/src/nm-system-config-interface.c
1437 system-settings/src/nm-system-config-interface.h
1438 - Replace nm_system_config_interface_supports_add() with a capabilities
1441 * system-settings/src/nm-system-config-error.c
1442 system-settings/src/nm-system-config-error.h
1443 - Add additional errors
1445 * system-settings/src/dbus-settings.c
1446 system-settings/src/dbus-settings.h
1447 - (get_property, nm_sysconfig_settings_class_init): add hostname
1448 property; first plugin returning a hostname wins
1449 - (impl_settings_add_connection): use plugin capabilities instead of
1450 nm_system_config_interface_supports_add()
1451 - (impl_settings_save_hostname): implement hostname saving
1453 * src/NetworkManagerPolicy.c
1454 - (lookup_thread_run_cb, lookup_thread_worker, lookup_thread_new,
1455 lookup_thread_die): implement an asynchronous hostname lookup thread
1456 which given an IPv4 address tries to look up the hostname for that
1457 address with reverse DNS
1458 - (get_best_device): split out best device code from
1459 update_routing_and_dns()
1460 - (update_etc_hosts): update /etc/hosts with the machine's new hostname
1461 to preserve the 127.0.0.1 reverse mapping that so many things require
1462 - (set_system_hostname): set a given hostname
1463 - (update_system_hostname): implement hostname policy; a configured
1464 hostname (from the system settings service) is used if available,
1465 otherwise an automatically determined hostname from DHCP, VPN, etc.
1466 If there was no automatically determined hostname, reverse DNS of
1467 the best device's IP address will be used, and as a last resort the
1468 hostname 'localhost.localdomain' is set.
1469 - (update_routing_and_dns): use get_best_device(); update the system
1470 hostname when the network config changes
1471 - (hostname_changed): update system hostname if the system settings
1472 service signals a hostname change
1473 - (nm_policy_new): list for system settings service hostname changes
1474 - (nm_policy_destroy): ensure that an in-progress hostname lookup thread
1477 * system-settings/plugins/keyfile/plugin.c
1478 system-settings/plugins/ifcfg-suse/plugin.c
1479 - (get_property, sc_plugin_ifcfg_class_init): implement hostname and
1480 capabilities properties
1482 * system-settings/plugins/ifcfg-fedora/shvar.c
1483 - (svOpenFile): re-enable R/W access of ifcfg files since the plugin
1484 writes out /etc/sysconfig/network now
1486 * system-settings/plugins/ifcfg-fedora/plugin.c
1487 - (plugin_get_hostname): get hostname from /etc/sysconfig/network
1488 - (plugin_set_hostname): save hostname to /etc/sysconfig/network
1489 - (sc_network_changed_cb): handle changes to /etc/sysconfig/network
1490 - (sc_plugin_ifcfg_init): monitor /etc/sysconfig/network for changes
1491 - (get_property, set_property, sc_plugin_ifcfg_class_init): implement
1492 hostname get/set and capabilities get
1494 2008-09-18 Dan Williams <dcbw@redhat.com>
1496 * libnm-util/nm-setting-wireless.c
1497 - (nm_setting_wireless_ap_security_compatible): only verify pairwise and
1498 group ciphers if the wireless-security setting explicitly specified
1499 them, effectively making the default be "all ciphers" (idea from
1502 2008-09-15 Dan Williams <dcbw@redhat.com>
1504 Patch from Alexander Sack <asac@ubuntu.com>
1506 * src/named-manager/nm-named-manager.c
1507 - (dispatch_resolvconf): respect resolvconf exit code
1509 2008-09-12 Tambet Ingo <tambet@gmail.com>
1511 * src/named-manager/nm-named-manager.c (dispatch_netconfig): Make it compile
1512 again. Add some debugging.
1514 2008-09-11 Dan Williams <dcbw@redhat.com>
1516 * system-settings/plugins/keyfile/plugin.c
1517 - (update_connection_settings): update connection manually, since
1518 nm_exported_connection_update() does authentication
1519 - (dir_changed): update_connection_settings() doesn't need to return
1522 2008-09-09 Dan Williams <dcbw@redhat.com>
1524 * libnm-glib/nm-vpn-plugin-ui-interface.c
1525 libnm-glib/nm-vpn-plugin-ui-interface.h
1526 libnm-glib/libnm_glib_vpn.ver
1527 - (nm_vpn_plugin_ui_interface_delete_connection): called when the plugin
1528 should clean up resources related to the connection (like keyring
1530 - (nm_vpn_plugin_ui_widget_interface_save_secrets): called when the plugin
1531 should save user-scope secrets (like to the keyring)
1533 2008-09-08 Dan Williams <dcbw@redhat.com>
1535 Patch from Alexander Sack <asac@ubuntu.com>
1537 * libnm-util/crypto_gnutls.c
1538 libnm-util/crypto_nss.c
1539 - (crypto_init, crypto_deinit): just use a boolean instead of a refcount
1541 * libnm-util/nm-utils.c
1542 libnm-util/nm-utils.h
1543 libnm-util/libnm-util.ver
1544 - (nm_utils_init): initialize libnm-util
1545 - (nm_utils_deinit): de-initialize libnm-util and clean up resources
1547 * libnm-util/nm-setting-8021x.c
1548 - (nm_setting_802_1x_class_init): init libnm-util when needed
1550 2008-09-05 Dan Williams <dcbw@redhat.com>
1552 Patch from Roy Marples <roy@marples.name> and others
1555 src/named-manager/nm-named-manager.c
1556 - Add support for resolvconf; use --with-resolvconf at configure time
1559 2008-09-05 Dan Williams <dcbw@redhat.com>
1561 * libnm-util/crypto_nss.c
1562 libnm-util/crypto_gnutls.c
1564 - (crypto_init): return error when init fails
1566 2008-09-05 Dan Williams <dcbw@redhat.com>
1568 * libnm-glib/nm-device-wifi.c
1569 - (access_point_removed_proxy): clean up the active access point too
1570 just in case the active ap changed signal didn't come through yet
1571 - (clean_up_aps): be sure to set priv->active_ap to NULL when cleaning up
1573 2008-09-05 Dan Williams <dcbw@redhat.com>
1575 * libnm-glib/nm-client.c
1576 - (constructor): get initial state after we know whether NM is running
1579 2008-09-05 Dan Williams <dcbw@redhat.com>
1581 * libnm-glib/nm-ip4-config.c
1582 libnm-glib/nm-dhcp4-config.c
1583 - (finalize): clean up the DBusGProxy
1585 2008-09-04 Dan Williams <dcbw@redhat.com>
1587 * src/nm-ip4-config.c
1589 - (nm_ip4_config_new): don't export over D-Bus here
1590 - (nm_ip4_config_export): new function; export the config over D-Bus
1591 - (nm_ip4_config_is_exported): new function
1594 - (nm_device_activate_stage5_ip_config_commit): fix leak of IP4Config
1595 objects by balancing the IP4Config constructor; the device holds
1596 a reference to the IP4Config already
1597 - (nm_device_set_ip4_config): export the IP4Config when needed
1599 2008-09-04 Dan Williams <dcbw@redhat.com>
1601 * src/supplicant-manager/nm-supplicant-settings-verify.c
1602 - Allow WPA-NONE key management for Ad-Hoc WPA connections
1604 2008-09-04 Dan Williams <dcbw@redhat.com>
1606 * libnm-util/nm-setting-vpn.c
1607 libnm-util/nm-setting-vpn.h
1608 - Split VPN secrets from VPN data so that settings services can actually
1609 figure out that they are secrets and store them accordingly
1611 * system-settings/plugins/keyfile/nm-keyfile-connection.c
1612 system-settings/plugins/keyfile/reader.c
1613 system-settings/plugins/keyfile/reader.h
1614 system-settings/plugins/keyfile/writer.c
1615 - Store VPN secrets separately from VPN data so that they can be fetched
1617 - Implement the get_secrets() call so that (a) secrets don't leak out
1618 to unprivileged callers, and (b) secrets can be sent to privileged
1621 * vpn-daemons/vpnc/src/nm-vpnc-service.c
1622 - Handle split VPN secrets
1624 2008-08-27 Dan Williams <dcbw@redhat.com>
1626 * system-settings/plugins/ifcfg-fedora/reader.c
1627 - (make_ip4_setting): use DOMAIN not SEARCH (rh #459370)
1629 2008-08-27 Dan Williams <dcbw@redhat.com>
1631 Ensure zombie children get cleaned up. To get notifications when children
1632 die abnormally, g_spawn_async() requires G_SPAWN_DO_NOT_REAP_CHILD, but
1633 that requires calling waitpid() yourself if you've removed the child watch
1634 handler before the process has actually died, which NM needs to do in a few
1635 places. So ensure that everything uses G_SPAWN_DO_NOT_REAP_CHILD and also
1636 cleans up after the child when required. Should fix problems trying to
1637 activate mobile broadband connections after a previous failure.
1639 * src/dhcp-manager/nm-dhcp-dhclient.c
1640 src/dhcp-manager/nm-dhcp-dhcpcd.c
1641 - Use G_SPAWN_DO_NOT_REAP_CHILD
1643 * src/dhcp-manager/nm-dhcp-manager.c
1644 - (nm_dhcp_device_destroy): ensure child is cleaned up
1645 - (nm_dhcp_client_stop, nm_dhcp_manager_cancel_transaction_real): always
1646 block on child quitting, since the non-blocking functionality was
1649 * src/dnsmasq-manager/nm-dnsmasq-manager.c
1650 - (dm_watch_cb): child is already reaped here
1651 - (ensure_killed, nm_dnsmasq_manager_stop): block until child is dead
1654 - (aipd_cleanup): block until child is dead
1656 * src/named-manager/nm-named-manager.c
1657 - (run_netconfig): don't use G_SPAWN_DO_NOT_REAP_CHILD if we aren't
1658 event bothering to watch the child
1660 * src/ppp-manager/nm-ppp-manager.c
1661 - (ppp_watch_cb): child is already reaped here
1662 - (ensure_killed, nm_ppp_manager_stop): block until child is dead
1664 * src/vpn-manager/nm-vpn-service.c
1665 - (vpn_service_watch_cb): child is already reaped here
1666 - (nm_vpn_service_daemon_exec): use G_SPAWN_DO_NOT_REAP_CHILD so that
1667 status of the child is actually tracked
1668 - (ensure_killed, finalize): block until child is dead
1670 2008-08-26 Dan Williams <dcbw@redhat.com>
1672 * system-settings/plugins/keyfile/nm-keyfile-connection.c
1673 - (update): Update filename of the connection if the connection id
1676 * system-settings/plugins/keyfile/plugin.c
1677 - (dir_changed): first pass at handling connection renames correctly
1679 * system-settings/plugins/keyfile/writer.c
1680 system-settings/plugins/keyfile/writer.h
1681 - (write_connection): replace '/' with '*' when writing out the filename
1682 from the connection id
1684 2008-08-26 Dan Williams <dcbw@redhat.com>
1686 Add connection UUIDs, since connection names can be changed, and since
1687 old-style connection IDs could change over the life of the connection. The
1688 UUID should be assigned at connection creation time, be stable for a given
1689 connection, and should be unique among all connections for a given settings
1693 libnm-util/Makefile.am
1696 * introspection/nm-exported-connection.xml
1697 - Remove "GetID" method
1699 * libnm-glib/nm-dbus-connection.c
1700 libnm-glib/nm-settings.c
1701 libnm-glib/nm-settings.h
1702 - Remove id-related stuff
1704 * libnm-util/nm-utils.c
1705 libnm-util/nm-utils.h
1706 libnm-util/libnm-util.ver
1707 - (nm_utils_uuid_generate, nm_utils_uuid_generate_from_string): Add
1708 utility functions to generate UUIDs
1710 * libnm-util/nm-setting-connection.c
1711 libnm-util/nm-setting-connection.h
1712 - Add 'uuid' member to the connection setting
1713 - (verify): require valid 'uuid' for a valid connection
1715 * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
1716 system-settings/plugins/ifcfg-fedora/reader.c
1717 system-settings/plugins/ifcfg-suse/nm-suse-connection.c
1718 system-settings/plugins/ifcfg-suse/parser.c
1719 system-settings/plugins/keyfile/nm-keyfile-connection.c
1720 system-settings/src/main.c
1721 - Remove id-related stuff
1722 - Give connections UUIDs where needed
1724 2008-08-25 Dan Williams <dcbw@redhat.com>
1726 * libnm-util/crypto_gnutls.c
1727 libnm-util/crypto_nss.c
1728 - (crypto_init, crypto_deinit): refcount init/deinit
1729 - (crypto_md5_hash): allow NULL salt
1731 2008-08-22 Michael Biebl <mbiebl@gmail.com>
1733 * libnm-glib/Makefile.am
1734 libnm-util/Makefile.am
1735 libnm-glib/libnm_glib.ver
1736 libnm-glib/libnm_glib_vpn.ver
1737 libnm-util/libnm-util.ver
1738 - Use linker version scripts to control the list of exported
1739 symbols. List each exported symbol explicitely.
1740 * libnm-util/Makefile.am
1741 - Fix compilation of the test-crypto binary. The crypto
1742 functions are no longer part of the libnm-util API. Add
1743 crypto_*.c to test_crypto_SOURCES and link against the correct
1746 2008-08-19 Dan Williams <dcbw@redhat.com>
1750 - Don't build test/test-common
1751 - Remove unused stuff
1753 * test/nm-set-fallback
1754 test/nmtestdevices.c
1755 test/test-common/.cvsignore
1756 test/test-common/Makefile.am
1757 test/test-common/test-common.c
1758 test/test-common/test-common.h
1761 2008-08-18 Dan Williams <dcbw@redhat.com>
1763 * libnm-util/nm-utils.c
1764 libnm-util/nm-utils.h
1765 - (nm_utils_garray_to_string): remove; NM was the only user and doesn't
1766 export anything that needs to be converted with this function
1768 * src/dhcp-manager/nm-dhcp-manager.c
1769 - (garray_to_string): convert a byte array to a UTF-8 string with
1770 minimal validation; the DHCP client sends it in ASCII anyway
1771 - (get_option, copy_option): use garray_to_string()
1773 2008-08-18 Dan Williams <dcbw@redhat.com>
1775 * include/NetworkManager.h
1776 introspection/nm-device.xml
1777 - Add a "missing firmware" device state reason
1779 * src/NetworkManagerSystem.c
1780 src/NetworkManagerSystem.h
1781 - (nm_system_device_set_up_down): add a no_firmware argument
1782 - (nm_system_device_set_up_down_with_iface): if the result of setting
1783 IFF_UP is ENOENT, that almost always means missing firmware
1785 * src/backends/NetworkManagerGeneric.c
1786 src/nm-device-ethernet.c
1787 src/nm-device-private.h
1788 src/nm-device-wifi.c
1791 src/nm-hso-gsm-device.c
1792 src/vpn-manager/nm-vpn-connection.c
1793 - Pass no_firmware along; check it where appropriate
1795 2008-08-18 Dan Williams <dcbw@redhat.com>
1797 Patch from Robert Buchholz <rbu@gentoo.org>
1801 - Change to automake 1.9 and 'ustar' tar format defined by POSIX
1802 1003.1-1988, allowing for file names longer than 99 characters
1804 2008-08-17 Dan Williams <dcbw@redhat.com>
1806 * include/NetworkManager.h
1807 introspection/nm-device.xml
1809 - Finer-grained GSM registration failure error codes
1811 2008-08-17 Dan Williams <dcbw@redhat.com>
1813 * callouts/Makefile.am
1815 - Move dispatcher directory creation to callouts/Makefile.am
1817 * system-settings/plugins/keyfile/Makefile.am
1818 - Create keyfile connections directory in DESTDIR (bgo #546833)
1820 2008-08-15 Dan Williams <dcbw@redhat.com>
1822 Do connection sharing in a cleaner manner; all required iptables rules
1823 are now stored in the activation request and pertain only to the device
1824 which is being shared to other computers. (rh #458625)
1826 * src/nm-activation-request.c
1827 src/nm-activation-request.h
1828 - (nm_act_request_add_share_rule): new function; add a sharing rule to
1829 the activation request which will get torn down automatically when
1830 the activation request dies
1831 - (nm_act_request_set_shared): push sharing rules to iptables when sharing
1832 is started, and tear them down when sharing is stopped
1835 - (start_sharing): start up sharing by doing the required iptables magic
1836 - (share_init): poke the right bits of the kernel and load the right
1838 - (nm_device_activate_stage5_ip_config_commit): start NAT-ing this
1839 connection if it's a 'shared' connection
1841 * src/NetworkManagerPolicy.c
1842 - Remove all sharing stuff; done in the device code itself
1844 2008-08-15 Dan Williams <dcbw@redhat.com>
1846 * src/dnsmasq-manager/nm-dnsmasq-manager.c
1847 - (create_dm_cmd_line): send the right router address
1849 2008-08-15 Dan Williams <dcbw@redhat.com>
1851 * src/ppp-manager/nm-ppp-manager.c
1852 - (pppd_timed_out): ensure timeouts fail the connection
1854 2008-08-14 Dan Williams <dcbw@redhat.com>
1856 * src/nm-properties-changed-signal.c
1857 src/nm-properties-changed-signal.h
1858 - Add a property spec flag for "don't export this property" in
1859 property changed signals
1861 * src/nm-hso-gsm-device.c
1863 src/nm-cdma-device.c
1864 - Don't export monitor interface or netdev interface properties
1866 2008-08-14 Dan Williams <dcbw@redhat.com>
1868 * src/NetworkManagerPolicy.c
1869 - (update_routing_and_dns): 'hso' devices can be default even if they
1870 don't have a gateway
1872 2008-08-14 Dan Williams <dcbw@redhat.com>
1875 - (nm_device_deactivate_quickly): tear down activation request after
1876 calling device-specific deactivation
1878 * src/nm-hso-gsm-device.c
1879 - (real_deactivate_quickly): terminate connection when deactivating
1881 2008-08-14 Dan Williams <dcbw@redhat.com>
1883 * src/nm-activation-request.h
1884 - Add HSO secrets caller
1886 * src/nm-gsm-device.c
1888 - (modem_wait_for_reply): add a 'user_data' argument so callers can pass
1889 something to the callback function
1890 - (set_apn, set_apn_done): call class dial function, not a static one
1891 - (nm_gsm_device_class_init): add a class 'dial' function
1893 * src/nm-hal-manager.c
1894 - (get_hso_netdev): find the hso-driven hardware's net device
1895 - (modem_device_creator): recognize hso-driven hardware and create the
1896 right type of device object for it
1899 src/nm-hso-gsm-device.c
1900 src/nm-hso-gsm-device.h
1901 - Implement support for devices driven by the 'hso' driver as a subclass
1904 2008-08-14 Dan Williams <dcbw@redhat.com>
1906 * src/NetworkManagerSystem.c
1907 - (nm_system_device_is_up_with_iface): ensure ifreq is cleared before using
1908 - (nm_system_device_set_up_down_with_iface): cleanups; only return
1909 success if the operation really was successful
1911 2008-08-14 Dan Williams <dcbw@redhat.com>
1913 * src/nm-netlink-monitor.c
1914 src/nm-netlink-monitor.h
1915 src/nm-device-ethernet.c
1916 - (nm_netlink_monitor_request_status): return an error on failure
1917 - (constructor): don't segfault on missing error
1919 2008-08-13 Dan Williams <dcbw@redhat.com>
1921 * callouts/nm-dispatcher-action.c
1922 - Add IP4 config info to script environment
1924 2008-08-12 Dan Williams <dcbw@redhat.com>
1927 - (nm_device_set_ip4_config): don't touch hostnames here; distros
1928 that want to use DHCP hostnames should use dispatcher scripts
1931 * src/NetworkManagerSystem.h
1932 src/backends/NetworkManagerArch.c
1933 src/backends/NetworkManagerDebian.c
1934 src/backends/NetworkManagerFrugalware.c
1935 src/backends/NetworkManagerGeneric.c
1936 src/backends/NetworkManagerGeneric.h
1937 src/backends/NetworkManagerGentoo.c
1938 src/backends/NetworkManagerMandriva.c
1939 src/backends/NetworkManagerPaldo.c
1940 src/backends/NetworkManagerRedHat.c
1941 src/backends/NetworkManagerSlackware.c
1942 src/backends/NetworkManagerSuSE.c
1943 - Remove nm_system_set_hostname(), no longer used
1945 * src/backends/Makefile.am
1946 src/backends/shvar.c
1947 src/backends/shvar.h
1948 - Remove shvar.*; no longer used
1950 2008-08-12 Dan Williams <dcbw@redhat.com>
1952 Revert most of the 'hostname' patch. Too much stuff still breaks when
1953 hostname is updated at runtime. Distros or users who want hostname updates
1954 can use dispatcher scripts to update the hostname if they need it.
1956 2008-08-12 Dan Williams <dcbw@redhat.com>
1958 * introspection/nm-settings-system.xml
1959 system-settings/src/dbus-settings.c
1960 system-settings/src/dbus-settings.h
1961 - Add a 'Hostname' property (rw) which represents the configured
1962 hostname and domain of the system, if any
1964 * system-settings/src/nm-system-config-error.c
1965 system-settings/src/nm-system-config-error.h
1966 system-settings/src/nm-system-config-interface.c
1967 system-settings/src/nm-system-config-interface.h
1968 - Add a 'hostname' property to the plugin interface
1969 - Add a method to send updated hostname to plugins to save in their
1970 backing configuration store
1972 * system-settings/plugins/keyfile/nm-keyfile-connection.c
1973 system-settings/plugins/keyfile/plugin.c
1974 system-settings/plugins/keyfile/writer.c
1975 system-settings/plugins/keyfile/writer.h
1976 system-settings/plugins/ifcfg-suse/plugin.c
1977 - Add minimal hostname support
1979 * system-settings/plugins/ifcfg-fedora/plugin.c
1980 - Add support for updating system hostname in /etc/sysconfig/network
1982 2008-08-12 Dan Williams <dcbw@redhat.com>
1984 * system-settings/plugins/ifcfg-fedora/shvar.c
1985 system-settings/plugins/ifcfg-fedora/shvar.c
1986 - Fix double-free caused by svSetValue() followed by svCloseFile()
1988 2008-08-12 Tambet Ingo <tambet@gmail.com>
1990 * Makefile.am: Fix distcheck.
1992 2008-08-12 Tambet Ingo <tambet@gmail.com>
1994 * libnm-glib/*.c. Document some more.
1996 2008-08-12 Tambet Ingo <tambet@gmail.com>
1998 Start documenting libnm-glib public API using gtk-doc.
2000 * libnm-glib/nm-serial-device.c:
2001 * libnm-glib/nm-object.c:
2002 * libnm-glib/nm-gsm-device.c:
2003 * libnm-glib/nm-device.c:
2004 * libnm-glib/nm-device-wifi.c:
2005 * libnm-glib/nm-device-ethernet.c:
2006 * libnm-glib/nm-client.c:
2007 * libnm-glib/nm-cdma-device.c: Document the public API.
2009 * docs/libnm-glib/libnm-glib.types: Implement.
2011 * docs/libnm-glib/Makefile.am: Implement.
2015 * Makefile.am: Add gtk-doc support.
2017 2008-08-12 Tambet Ingo <tambet@gmail.com>
2019 * src/backends/*: Get rid of nm_system_should_modify_resolv_conf().
2021 * src/named-manager/nm-named-manager.c (rewrite_resolv_conf): Calculate
2022 the composite result of all the IP4 configurations and call a distro
2023 specific update_resolv_conf().
2024 (update_resolv_conf): Implement one for directly writing to
2025 /etc/resolv.conf and one for opensuse to call netconfig.
2027 2008-08-11 Dan Williams <dcbw@redhat.com>
2029 * src/ppp-manager/nm-ppp-manager.c
2030 - (impl_ppp_manager_need_secrets): pass interface as required
2032 2008-08-11 Dan Williams <dcbw@redhat.com>
2034 Merge the vpn-properties setting with the vpn setting since it was pointless
2035 to keep both of them around. Convert the vpn 'data' hash table to a hash
2036 of string:string (instead of string:variant) so that system settings plugins
2037 can have an easier time dealing with the arbitrary key/value pairs.
2039 2008-08-11 Dan Williams <dcbw@redhat.com>
2041 * libnm-util/nm-utils.c
2042 - (nm_utils_register_value_transformations): add value transform for
2043 a hash table of string:string
2045 2008-08-10 Dan Williams <dcbw@redhat.com>
2047 * libnm-glib/nm-vpn-plugin.c
2048 - (nm_vpn_plugin_connect): stop plugin after connection failure from
2049 an idle handler so the Connect reply gets delivered before the
2050 stop StateChanged signal
2052 2008-08-10 Dan Williams <dcbw@redhat.com>
2054 * src/nm-ip4-config.c
2055 - (get_property): use common ip4 address/route conversion functions
2056 - (nm_ip4_config_replace_address, nm_ip4_config_replace_route): should
2057 copy the new route here, not take ownership
2059 2008-08-08 Tambet Ingo <tambet@gmail.com>
2061 * system-settings/plugins/ifcfg-suse/parser.c (make_ip4_setting):
2062 Update the IP4 setting's method name.
2064 2008-08-07 Dan Williams <dcbw@redhat.com>
2066 * introspection/nm-ip4-config.xml
2067 libnm-glib/libnm-glib-test.c
2068 libnm-glib/nm-ip4-config.c
2069 libnm-glib/nm-ip4-config.h
2070 src/NetworkManagerSystem.h
2071 src/backends/NetworkManagerArch.c
2072 src/backends/NetworkManagerDebian.c
2073 src/backends/NetworkManagerFrugalware.c
2074 src/backends/NetworkManagerGeneric.c
2075 src/backends/NetworkManagerGeneric.h
2076 src/backends/NetworkManagerGentoo.c
2077 src/backends/NetworkManagerMandriva.c
2078 src/backends/NetworkManagerPaldo.c
2079 src/backends/NetworkManagerRedHat.c
2080 src/backends/NetworkManagerSlackware.c
2081 src/backends/NetworkManagerSuSE.c
2082 src/dhcp-manager/nm-dhcp-manager.c
2086 - Remove NIS logic; should be done from dispatcher scripts instead
2088 2008-08-07 Dan Williams <dcbw@redhat.com>
2090 * src/dhcp-manager/nm-dhcp-manager.c
2091 - (nm_dhcp_manager_get_ip4_config): fix regression which caused
2092 mis-handling of DHCP responses that returned more than one router
2093 (found by Grant Williamson)
2095 2008-08-07 Dan Williams <dcbw@redhat.com>
2097 * callouts/nm-dispatcher-action.c
2098 - (nm_dispatcher_action): grab device path and create the device; pass
2099 the device's DHCP4 config to script caller
2100 - (dispatch_scripts): dump the DHCP4 config to the environment of called
2103 * libnm-glib/nm-dhcp4-config.c
2104 libnm-glib/nm-dhcp4-config.h
2105 - (nm_dhcp4_config_get_options): expose
2106 - (nm_dhcp4_config_get_one_option): renamed from nm_dhcp4_config_get_option
2108 2008-08-07 Dan Williams <dcbw@redhat.com>
2110 * include/NetworkManager.h
2111 - Add the DHCP4Config D-Bus interface
2113 * libnm-glib/Makefile.am
2114 libnm-glib/nm-dhcp4-config.c
2115 libnm-glib/nm-dhcp4-config.h
2116 - Handle DHCP4 config objects exported by NM over D-Bus
2118 * libnm-glib/nm-device.c
2119 libnm-glib/nm-device.h
2120 - Add a 'dhcp4-config' property
2122 * libnm-glib/libnm-glib-test.c
2123 - Print out DHCP4 config for devices
2124 - Fix some crashes when no connections are active
2126 * src/nm-device-interface.c
2128 src/nm-dhcp4-config.c
2129 src/nm-dhcp4-config.h
2130 - Treat dhcp4-config object as an object path at the D-Bus interface so
2131 that when it doesn't exist we can proxy it as "/" which dbus-glib
2132 doesn't let us do when the property type is G_TYPE_OBJECT
2134 2008-08-07 Dan Williams <dcbw@redhat.com>
2136 * src/NetworkManager.c
2137 src/NetworkManagerSystem.h
2138 src/backends/NetworkManagerArch.c
2139 src/backends/NetworkManagerDebian.c
2140 src/backends/NetworkManagerFrugalware.c
2141 src/backends/NetworkManagerGeneric.c
2142 src/backends/NetworkManagerGeneric.h
2143 src/backends/NetworkManagerGentoo.c
2144 src/backends/NetworkManagerMandriva.c
2145 src/backends/NetworkManagerPaldo.c
2146 src/backends/NetworkManagerRedHat.c
2147 src/backends/NetworkManagerSlackware.c
2148 src/backends/NetworkManagerSuSE.c
2149 - (nm_system_init, nm_system_kill_all_dhcp_daemons): remove, unused
2151 2008-08-06 Dan Williams <dcbw@redhat.com>
2153 * libnm-glib/nm-ip4-config.c
2154 libnm-glib/nm-ip4-config.h
2155 - Add 'routes' property
2157 * libnm-util/nm-setting-vpn.c
2158 libnm-util/nm-setting-vpn.h
2159 - Remove 'routes' property
2161 * libnm-util/nm-setting-ip4-config.c
2162 libnm-util/nm-setting-ip4-config.h
2163 - 'ignore-dhcp-dns' renamed to 'ignore-auto-dns'
2164 - Add 'ignore-auto-routes' property
2165 - 'routes' exposed over D-Bus is now an array of array of uint (4) to
2166 accomodate route metrics
2167 - 'routes' exposed in C is now a list of NMSettingIP4Route structures
2169 * libnm-util/nm-utils.c
2170 libnm-util/nm-utils.h
2171 - Add helpers for marshalling IP4 routes
2173 * src/NetworkManagerUtils.c
2174 - (nm_utils_merge_ip4_config): handle property renames and new route
2177 * src/NetworkManagerSystem.c
2178 - (nm_system_device_set_ip4_route, nm_system_device_set_from_ip4_config,
2179 nm_system_vpn_device_set_from_ip4_config): respect route metrics
2181 * src/dhcp-manager/nm-dhcp-manager.c
2182 - (nm_dhcp_manager_get_ip4_config): handle new route structure
2184 * system-settings/plugins/ifcfg-fedora/reader.c
2185 system-settings/plugins/ifcfg-fedora/writer.c
2186 - Handle routes separately from addresses now that routes have a different
2189 * introspection/nm-ip4-config.xml
2192 - Rename internal routing functions
2193 - 'static-routes' renamed to 'routes'
2195 2008-08-04 Dan Williams <dcbw@redhat.com>
2197 Patch from Sjoerd Simons <sjoerd.simons@collabora.co.uk>
2199 * src/NetworkManager.c
2202 - More explicitly make the NMManager a singleton
2204 2008-08-04 Dan Williams <dcbw@redhat.com>
2206 * libnm-util/nm-connection.c
2207 libnm-util/nm-connection.h
2208 - (nm_connection_verify): return error on missing 'connection' setting
2209 (found by Sjoerd Simons)
2211 2008-08-04 Dan Williams <dcbw@redhat.com>
2213 Handle multiple concurrent PPP connections.
2215 * src/ppp-manager/nm-ppp-manager.c
2216 src/ppp-manager/nm-ppp-manager.h
2217 - (constructor): only PPP Manager request bus name once; each
2218 NMPPPManager object gets a unique object path
2219 - (nm_ppp_manager_class_init, get_property, set_property,
2220 nm_ppp_manager_new, nm_ppp_manager_start): pass parent interface in
2222 - (impl_ppp_manager_need_secrets, impl_ppp_manager_set_state): don't
2223 remove timeout until PPP manager gets an IP4 config
2224 - (create_pppd_cmd_line): pass dbus object path as 'ipparam' so that
2225 the plugin can call back to this specific PPP manager instance
2227 * src/nm-device-ethernet.c
2228 src/nm-serial-device.c
2229 - Pass parent device in nm_ppp_manager_new()
2231 * src/nm-gsm-device.c
2232 src/nm-cdma-device.c
2233 - (device_state_changed): don't close serial device on NEED_AUTH
2234 state changed, that's not a failure case like the rest are
2236 * src/ppp-manager/nm-pppd-plugin.c
2237 - (nm_ip_up): always use index 0 into the ipcp options, because NM always
2238 binds one interface to any pppd process, thus the correct index
2239 is always 0; send PHASE_DEAD on error to alert NM immediately of
2240 problems; try harder to get a peer address in spite of pppd
2241 - (plugin_init): use 'ipparam' as the object path back to our specific
2242 PPP manager instance
2244 2008-08-04 Dan Williams <dcbw@redhat.com>
2246 * src/ppp-manager/nm-ppp-manager.c
2247 - (impl_ppp_manager_need_secrets): rework to handle secrets better;
2248 since the GSM and CDMA settings now implement need_secrets, we can
2249 rely on them to do the right thing. Where secrets are not required,
2250 just pass empty strings back to the pppd plugin.
2251 - (nm_ppp_manager_update_secrets): leak fix; don't need to dup the strings
2252 - (impl_ppp_manager_set_ip4_config): clear the secrets tries counter
2253 on successful IP4 config receipt
2255 2008-08-04 Dan Williams <dcbw@redhat.com>
2257 * libnm-util/nm-setting-cdma.c
2258 libnm-util/nm-setting-gsm.c
2259 - (verify): validate username & password if they exist
2260 - (need_secrets): if username given, require a password too
2262 2008-08-04 Dan Williams <dcbw@redhat.com>
2264 * src/dnsmasq-manager/nm-dnsmasq-manager.c
2265 - (create_dm_cmd_line): really don't listen on lo, despite what the
2266 manpage says about --listen-address without --interface
2269 2008-08-01 Dan Williams <dcbw@redhat.com>
2271 * libnm-glib/nm-device.c
2272 - (proxy_get_string): util function for querying a HAL property
2273 - (get_ancestor_device): split out from get_product_and_vendor()
2274 - (get_product_and_vendor): simplify; get more accurate pid & vid info
2275 from PCI devices by querying subsys properties
2276 - (nm_device_update_description): simplify
2278 2008-08-01 Dan Williams <dcbw@redhat.com>
2280 * libnm-util/nm-setting-ip4-config.c
2281 libnm-util/nm-setting-ip4-config.h
2282 - Make IPv4 methods reflect their usage; 'dhcp' -> 'auto' and
2283 'autoip' -> 'link-local'. VPN & PPP connections can also have IPv4
2284 settings, and they don't necessarily use DHCP.
2286 * src/NetworkManagerPolicy.c
2288 system-settings/plugins/ifcfg-fedora/reader.c
2289 system-settings/plugins/ifcfg-suse/parser.c
2290 - Fixup for method changes
2292 2008-07-31 Dan Williams <dcbw@redhat.com>
2294 * src/nm-activation-request.c
2295 src/vpn-manager/nm-vpn-connection.c
2296 - Correct GetSecrets D-Bus pending call usage; the GetSecrets call
2297 itself should be attached to the activation request or the VPN
2298 connection, not the NMConnection object, since the call is not
2299 expected to live as long as the NMConnection itself
2301 2008-07-31 Dan Williams <dcbw@redhat.com>
2303 * src/nm-device-wifi.c
2304 - (real_act_stage2_config): fix issue where association would continue
2305 even though secrets were needed; 'goto out' was in wrong scope and
2306 result of handle_auth_or_fail() should have been dumped directly to
2307 'ret' to ensure that the association was postponed until secrets
2310 2008-07-31 Dan Williams <dcbw@redhat.com>
2312 * system-settings/plugins/ifcfg-fedora/plugin.c
2313 system-settings/plugins/ifcfg-fedora/reader.c
2314 - Don't ignore unmanaged devices if their ifcfg file doesn't make a
2317 2008-07-29 Dan Williams <dcbw@redhat.com>
2319 * src/nm-gsm-device.c
2320 - (automatic_registration_response, automatic_registration): recognize
2321 denied registration and reorder responses
2323 2008-07-29 Dan Williams <dcbw@redhat.com>
2325 * src/nm-serial-device.c
2326 - (nm_serial_device_wait_for_reply): fix timeout calculation. Since
2327 time(2) is used for current time, which returns seconds, we shouldn't
2328 be multiplying by 1000.
2330 2008-07-28 Dan Williams <dcbw@redhat.com>
2332 Patch from Fabrice Bellet <fabrice@bellet.info>
2334 * src/NetworkManagerSystem.c
2335 - (route_in_same_subnet): mask addresses and compare them so that the
2336 function actually does what it says it's going to do (rh #456685)
2338 2008-07-27 Dan Williams <dcbw@redhat.com>
2340 * libnm-util/nm-setting-ip6-config.c
2341 - (set_property): add missing break that caused routes to be overwritten
2344 * libnm-util/nm-setting-ip6-config.c
2345 - (verify): validate routes and return GError everywhere on invalid setting
2346 - (finalize): don't leak routes
2347 - (set_property): add missing break that caused routes to be overwritten
2350 2008-07-27 Dan Williams <dcbw@redhat.com>
2353 - Relicense to LGPLv2+
2355 2008-07-27 Dan Williams <dcbw@redhat.com>
2357 * system-settings/plugins/ifcfg-fedora/reader.c
2358 - (make_ip4_setting): fix parsing automatic configs
2360 2008-07-27 Dan Williams <dcbw@redhat.com>
2362 * src/dnsmasq-manager/nm-dnsmasq-manager.c
2364 src/ppp-manager/nm-ppp-manager.c
2365 - Ensure child process gets reaped. The child watch function may be
2366 removed from the mainloop before the child gets killed, so we have
2367 to make sure the child is reaped when it's told to die intentionally
2369 2008-07-27 Dan Williams <dcbw@redhat.com>
2371 Patch from Roy Marples <roy@marples.name>
2373 * src/dhcp-manager/nm-dhcp-dhcpcd.c
2374 - (nm_dhcp_client_start): fixup for latest dhcpcd 4.0 RC
2376 2008-07-27 Dan Williams <dcbw@redhat.com>
2378 * src/nm-gsm-device.c
2379 - (init_modem_full): send "ATZ E0" after CPIN, because apparently some
2380 Huawei devices turn echo back on after CPIN (rh #456770)
2382 2008-07-24 Tambet Ingo <tambet@gmail.com>
2384 * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Add
2385 format argument to g_set_error() call.
2387 * src/backends/interface_parser.[ch]: Remove.
2389 * src/backends/Makefile.am: Remove unused files interface_parser.[ch].
2391 2008-07-21 Dan Williams <dcbw@redhat.com>
2393 * src/ppp-manager/nm-ppp-manager.c
2394 - (create_pppd_cmd_line): send 'noipdefault' on non-PPPoE connections
2395 to prevent pppd from picking up some random local address from an
2396 interface that doesn't have anything to do with the one we're
2397 interested in (rh #455348)
2399 2008-07-17 Dan Williams <dcbw@redhat.com>
2401 * libnm-util/nm-utils.c
2402 - (string_to_utf8): general function for conversion to UTF-8 assisted
2404 - (nm_utils_ssid_to_utf8): use string_to_utf8()
2405 - (nm_utils_garray_to_string): ensure returned string is UTF-8 safe
2407 2008-07-17 Dan Williams <dcbw@redhat.com>
2409 * introspection/Makefile.am
2410 introspection/nm-device.xml
2411 introspection/nm-dhcp4-config.xml
2412 - Add bits for the DHCP4Config property of the device, and the DHCP4Config
2414 * src/nm-device-interface.c
2415 src/nm-device-interface.h
2416 - Add the DHCP4Config property
2419 - Keep track of DHCP4 options via a new DHCP4Config property and notify
2420 D-Bus clients when it changes
2422 * src/nm-dhcp4-config.c
2423 src/nm-dhcp4-config.h
2424 - Simple object to store DHCP4 options, export them over D-Bus, and
2425 notify when they change
2427 * src/dhcp-manager/nm-dhcp-manager.c
2428 src/dhcp-manager/nm-dhcp-manager.h
2429 - (nm_dhcp_manager_set_dhcp4_config, copy_dhcp4_config_option): copy and
2430 filter server-returned DHCP options into an NMDHCP4Config object
2432 2008-07-16 Dan Williams <dcbw@redhat.com>
2434 * introspection/nm-device.xml
2435 - Add device state reasons
2437 2008-07-16 Dan Williams <dcbw@redhat.com>
2439 Patch from Roy Marples <roy@marples.name>
2442 - Add --with-dhcp-client option
2444 * src/dhcp-manager/Makefile.am
2445 - pass DHCP_CLIENT_PATH on compile line
2447 * src/dhcp-manager/nm-dhcp-manager.c
2448 src/dhcp-manager/nm-dhcp-manager.h
2449 - Genericize for both dhcpcd and dhclient
2451 * src/dhcp-manager/nm-dhcp-dhclient.c
2452 - Move dhclient stuff out to it's own file from nm-dhcp-manager.c
2454 * src/dhcp-manager/nm-dhcp-dhcpcd.c
2455 - Implement support for dhcpcd too
2457 2008-07-16 Tambet Ingo <tambet@gmail.com>
2459 * system-settings/src/nm-system-config-interface.c
2460 (nm_system_config_interface_supports_add): Implement.
2461 (nm_system_config_interface_add_connection): Return a boolean to notify
2464 * system-settings/src/nm-polkit-helpers.c:
2465 * system-settings/src/nm-polkit-helpers.h: Move error declarations to
2468 * system-settings/src/dbus-settings.c (impl_settings_add_connection):
2469 Return an error when none of the plugins support add or if addition
2470 failed for some reason.
2472 * system-settings/src/nm-system-config-error.h:
2473 * system-settings/src/nm-system-config-error.c: New files, mostly moved
2474 here from nm-polkit-helpers.[ch].
2476 * system-settings/src/Makefile.am: Build new files.
2478 * system-settings/plugins/keyfile/reader.c
2479 (read_array_of_array_of_uint): Make it more general so that it would
2480 work for routes as well.
2482 * system-settings/plugins/keyfile/writer.c
2483 (write_array_of_array_of_uint): Ditto.
2484 Fix the netmask/prefix writing.
2486 * system-settings/plugins/keyfile/plugin.c (add_connection): Return
2487 boolean to notify errors.
2489 * system-settings/plugins/ifcfg-suse/nm-suse-connection.c (update):
2490 Return more specific error.
2493 2008-07-11 Dan Williams <dcbw@redhat.com>
2495 Modify the NMDevice::state-changed signal to include the previous state
2496 and reason. Enables the applet to provide more information why device
2499 2008-07-09 Dan Williams <dcbw@redhat.com>
2501 * callouts/Makefile.am
2502 callouts/nm-avahi-autoipd-action.c
2503 callouts/nm-avahi-autoipd.conf
2504 - avahi-autoipd callout to send options back to NM
2511 src/nm-device-private.h
2513 - Use avahi-autoipd for IPv4LL functionality rather than really crappy
2516 2008-07-07 Dan Williams <dcbw@redhat.com>
2518 * system-settings/plugins/ifcfg-fedora/reader.c
2519 - (make_ip4_setting): handle DHCP_HOSTNAME; fix up prefix support to
2520 handle PREFIX too; clean up
2522 2008-07-07 Dan Williams <dcbw@redhat.com>
2524 Convert to using IPv4 prefixes instead of netmasks.
2526 2008-07-03 Dan Williams <dcbw@redhat.com>
2528 * libnm-util/nm-setting-ip4-config.c
2529 libnm-util/nm-setting-ip4-config.h
2530 - Add properties for DHCP Client Identifier and DHCP Hostname
2532 * src/dhcp-manager/nm-dhcp-manager.c
2533 src/dhcp-manager/nm-dhcp-manager.h
2534 - (nm_dhcp_manager_begin_transaction): take the connection's ip4-config
2535 setting as an argument to pass on to the dhclient config file
2537 - (nm_dhcp_manager_cancel_transaction_real): remove dhclient config when
2539 - (dhclient_run): punt config file handling to create_dhclient_config()
2540 - (create_dhclient_config): create an interface-specific dhclient
2541 config file since there may need to be interface-specific options
2543 - (merge_dhclient_config): merge normal distro dhclient config file and
2544 add options from the connection
2545 - (nm_dhcp_device_new): generate the interface specific dhclient
2546 config file path once
2547 - (nm_dhcp_device_destroy): handle partially initialized objects; free
2548 dhclient config file path
2551 - (real_act_stage3_ip_config_start): pass ip4-config, if any, to the
2552 DHCP manager when starting DHCP
2554 2008-07-02 Dan Williams <dcbw@redhat.com>
2556 * libnm-util/nm-setting-8021x.c
2557 - (verify): allow forcing the PEAP label to 0
2559 2008-07-02 Dan Williams <dcbw@redhat.com>
2561 * introspection/nm-active-connection.xml
2562 introspection/nm-vpn-connection.xml
2563 libnm-glib/nm-active-connection.c
2564 src/nm-activation-request.c
2565 src/nm-active-connection.h
2566 src/vpn-manager/nm-vpn-connection.c
2567 - Remove "SharedServiceName" and "SharedConnection" bits from the D-Bus
2568 and libnm-glib API since sharing didn't get implemented that way
2570 2008-07-02 Dan Williams <dcbw@redhat.com>
2572 * src/nm-device-wifi.c
2573 - (can_scan): don't scan when a shared connection is activated since
2574 that makes drivers mad (causing disconnects); also NM doesn't need
2575 to hedge against disconnects by keeping up-to-date network topology
2576 because the connection originates from the local machine, and thus
2577 there should be no disconnects
2579 2008-07-01 Dan Williams <dcbw@redhat.com>
2581 Fix mobile broadband username/password issues. NM was never requesting
2582 mobile broadband secrets, nor was it passing back the username and password
2585 * marshallers/nm-marshal.list
2586 - Add some new types for activation request objects
2588 * src/nm-activation-request.c
2589 src/nm-activation-request.h
2590 - (get_secrets_cb): pass the caller type in the signal
2591 - (nm_act_request_request_connection_secrets): take a caller type, so
2592 that GetSecrets() reply handlers know who asked for the secrets in
2593 the first place; use secret hints too so the settings service can
2594 figure out exactly what NM wants (ie, PIN or the PPP password)
2596 * src/ppp-manager/nm-ppp-manager.c
2597 src/ppp-manager/nm-ppp-manager.h
2598 - (impl_ppp_manager_need_secrets): nm_connection_need_secrets() won't
2599 detect needed secrets when the secret could be blank, like GSM/CDMA
2600 passwords. So always ask for secrets, and send a hint as to what
2601 secret we really want.
2602 - (nm_ppp_manager_update_secrets): make function more generic by making
2603 the device specific class figure out the username and password, and
2604 accept an error argument to return back over D-Bus
2606 * src/nm-device-wifi.c
2607 - (link_timeout_cb, handle_auth_or_fail): update for changes to
2608 nm_act_request_request_connection_secrets()
2609 - (real_connection_secrets_updated): update for 'caller' changes
2613 - (connection_secrets_updated_cb, connection_secrets_failed_cb): update
2614 for 'caller' changes
2616 * src/nm-device-ethernet.c
2617 - (real_connection_secrets_updated): update for 'caller' changes and
2618 move logic for getting PPPoE username and password here before
2619 calling nm_ppp_manager_update_secrets()
2620 - (link_timeout_cb, handle_auth_or_fail): update for changes to
2621 nm_act_request_request_connection_secrets()
2623 * src/nm-cdma-device.c
2624 - (real_connection_secrets_updated): pass username and password back
2625 to the PPP manager when required
2627 * src/nm-gsm-device.c
2628 - (enter_pin): send the required secret name to the settings service
2629 - (real_connection_secrets_updated): pass username and password back
2630 to the PPP manager when required
2632 2008-06-30 Dan Williams <dcbw@redhat.com>
2634 * src/nm-device-wifi.c
2635 - Consistently use NM_DEVICE_WIFI_GET_PRIVATE instead of self->priv
2637 2008-06-30 Dan Williams <dcbw@redhat.com>
2639 Attempt to fix various issues causing rh #448889. Mainly, to qualify for
2640 the DISCONNECTED state, the device must not be rfkilled _and_ have a valid
2641 priv->supplicant.iface. When either condition is false, the device should
2642 transition back to UNAVAILABLE because it cannot be used.
2644 * src/nm-device-wifi.c
2645 - (constructor): cleanup; connect to supplicant manager here since the
2646 supplicant manager is always around
2647 - (supplicant_interface_acquire): rename from init_supplicant_interface,
2648 ensure the supplicant manager is in the IDLE state
2649 - (supplicant_interface_release): rename from cleanup_supplicant_interface,
2650 cancel any pending scans too
2651 - (real_bring_up): don't set up the supplicnat interface here, because
2652 we need the supplicant interface at times when the device may not
2654 - (real_take_down): just remove the periodic source
2655 - (schedule_scan): ensure a state that would peg the CPU doesn't happen
2656 - (remove_supplicant_interface_connection_error_handler): cleanup; don't
2657 do anything if there's no supplicant interface
2658 - (cleanup_association_attempt): cleanup
2659 - (supplicant_iface_state_cb_handler): request an immediate scan when
2660 the interface enters the READY state; transition to UNAVAILABLE
2661 state when the interface goes down because the device can't be used
2662 without a supplicant interface
2663 - (supplicant_mgr_state_cb_handler): if the supplicant goes away, clean
2664 up and transition to UNAVAILABLE; if the supplicant becomes ready,
2665 acquire the supplicant interface and transition to DISCONNECTED
2666 if the radio isn't killed
2667 - (nm_device_wifi_dispose): move most of device_cleanup() here
2668 - (state_changed_cb): release any existing supplicant interface; if the
2669 radio is enabled then try to acquire a new supplicant interface;
2670 if the radio is enabled and a supplicant interface has been acquired,
2671 we can transition to DISCONNECTED
2672 - (nm_device_wifi_set_enabled): if bringing the hardware up failed,
2673 don't enable the radio, because HAL probably lied to us about the
2674 killswitch being off. If bringing the hardware up worked, then
2675 try to grab a supplicant interface, and if that was successful,
2676 transition to DISCONNECTED
2678 2008-06-30 Dan Williams <dcbw@redhat.com>
2680 * src/supplicant-manager/nm-supplicant-interface.c
2681 - (request_scan_results, nm_supplicant_interface_dispose,
2682 wpas_iface_query_scan_results): cleanup; scan_results_timeout is now
2683 the id of the timeout, not a GSource
2685 2008-06-30 Tambet Ingo <tambet@gmail.com>
2687 * src/backends/NetworkManagerSuSE.c (nm_system_activate_nis): Fix a
2688 bunch of typoes introduced by "Patch from David Cantrell
2689 <dcantrell@redhat.com> and me".
2691 2008-06-30 Tambet Ingo <tambet@gmail.com>
2693 * src/nm-serial-device.c:
2694 * src/nm-gsm-device.c:
2695 * src/nm-cdma-device.c: Move the pending call handling to a common location
2696 in serial device. Handle setting device state to failed in one place as well.
2698 2008-06-29 Dan Williams <dcbw@redhat.com>
2700 * src/nm-hal-manager.c
2701 - Rework killswitch handling to query killswitch status immediately
2702 when the first killswitch is added, so that rfkill state is
2703 known as early as possible
2704 - Also treat failure of GetPower() as rfkill when the dbus method
2705 call times out (but not when the HAL callout returns an error)
2707 2008-06-26 Dan Williams <dcbw@redhat.com>
2709 Patch from David Cantrell <dcantrell@redhat.com> and me
2711 * include/nm-dbus-glib-types.h
2712 - Add IP6 address types
2714 * libnm-util/Makefile.am
2715 libnm-util/nm-setting-ip6-config.c
2716 libnm-util/nm-setting-ip6-config.h
2717 - Add IP6 settings object
2719 * libnm-util/nm-connection.c
2720 - (register_default_settings): register ip6 settings object
2722 * libnm-util/nm-utils.c
2723 libnm-util/nm-utils.h
2724 - (nm_utils_ip6_addresses_from_gvalue, nm_utils_ip6_addresses_to_gvalue,
2725 nm_utils_ip6_dns_from_gvalue, nm_utils_ip6_dns_to_gvalue): add
2726 ip6 address conversion functions
2728 2008-06-26 Dan Williams <dcbw@redhat.com>
2730 Patch from David Cantrell <dcantrell@redhat.com>
2732 * Use inet_ntop() and inet_pton() everwhere and check for errors
2734 2008-06-26 Dan Williams <dcbw@redhat.com>
2736 * Update FSF address in license headers (Michael Biebl <biebl@debian.org>)
2738 2008-06-26 Dan Williams <dcbw@redhat.com>
2740 Patch from Adel Gadllah <adel.gadllah@gmail.com>
2742 * src/nm-device-wifi.c
2743 - (link_timeout_cb): don't ignore disconnects due to scanning
2744 - (supplicant_iface_connection_state_cb_handler): instead, schedule
2745 a longer timeout when scanning; avoids case where supplicant can't
2746 find the AP and just keeps scanning forever but isn't connected
2748 2008-06-26 Dan Williams <dcbw@redhat.com>
2750 Patch from Michael Biebl <biebl@debian.org>
2752 * Clean up build system stuff
2754 2008-06-23 Christian Persch <chpe@gnome.org>
2756 * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.c:
2757 * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.h:
2758 * vpn-daemons/pptp/auth-dialog-general/anonymous-auth-module.c:
2760 * vpn-daemons/pptp/auth-dialog-general/chap-auth-module.c:
2762 * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.c:
2763 * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.h:
2764 * vpn-daemons/pptp/auth-dialog-general/mschapv2-auth-module.c:
2766 * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.c:
2767 * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.h:
2768 * vpn-daemons/pptp/properties/nm-ppp-properties.c: (impl_setup):
2769 * vpn-daemons/pptp/properties/vpnui_impl.c: (impl_get_object):
2770 * vpn-daemons/pptp/properties/vpnui_opt.c:
2771 (vpnui_opt_connect_signals):
2772 * vpn-daemons/pptp/properties/vpnui_opt.h:
2773 * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
2774 * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.h: Don't use
2775 deprecated gtk type macros. Bug #539325.
2777 2008-06-20 Dan Williams <dcbw@redhat.com>
2779 * libnm-glib/nm-vpn-plugin-ui-interface.c
2780 libnm-glib/nm-vpn-plugin-ui-interface.h
2781 - 'validity-changed' -> 'changed' to work better with the connection
2782 editor. Plugin UI widgets should emit 'changed' whenever their
2783 UI values change in a meaningful way.
2784 - (nm_vpn_plugin_ui_widget_interface_update_connection): the
2785 update_connection member now returns validity of the UI widget
2787 2008-06-20 Tambet Ingo <tambet@gmail.com>
2789 * libnm-util/nm-connection.c (nm_connection_duplicate): Implement.
2791 2008-06-17 Dan Williams <dcbw@redhat.com>
2793 * libnm-glib/nm-vpn-plugin-ui-interface.c
2794 libnm-glib/nm-vpn-plugin-ui-interface.h
2795 - Add "desc" property for longer descriptions of the VPN plugin
2797 2008-06-16 Dan Williams <dcbw@redhat.com>
2800 libnm-glib/libnm_glib_vpn.pc.in
2801 - add a .pc file for libnm_glib_vpn
2803 * libnm-glib/nm-vpn-plugin-ui-interface.c
2804 libnm-glib/nm-vpn-plugin-ui-interface.h
2805 - Move the glib/GNOME VPN UI plugin interface into libnm-glib and
2806 rework it substantially
2808 2008-06-12 Dan Williams <dcbw@redhat.com>
2810 Add a GError argument to nm_connection_verify() and nm_setting_verify(),
2811 and add error enums to each NMSetting subclass. Each NMSetting subclass now
2812 returns a descriptive GError when verification fails.
2814 2008-06-11 Dan Williams <dcbw@redhat.com>
2816 Patch from Tambet Ingo <tambet@gmail.com>
2818 * libnm-util/nm-setting-gsm.c
2819 - (verify): validate APN
2821 * src/nm-gsm-device.c
2822 - (manual_registration_done): start setting APN if needed
2823 - (set_apn, set_apn_done): set the APN
2824 - (do_dial): use the APN when dialing
2826 2008-06-11 Dan Williams <dcbw@redhat.com>
2828 * src/NetworkManagerSystem.c
2829 - (nm_system_device_set_ip4_route,
2830 nm_system_device_replace_default_ip4_route): check for the right
2831 return value from rtnl_route_add() to know when to add a gateway
2834 2008-06-11 Dan Williams <dcbw@redhat.com>
2836 * src/NetworkManagerPolicy.c
2837 - do_ipt_cmd -> do_cmd
2838 - (sharing_init): use do_cmd() instead of system()
2840 2008-06-10 Dan Williams <dcbw@redhat.com>
2842 The grand 802-11-wireless rename. Get rid of the 802-11/80211/802_11 bits
2843 and use "wifi" everwhere instead.
2845 2008-06-10 Dan Williams <dcbw@redhat.com>
2847 The grand 802-3-ethernet rename. Get rid of the 802-3/8023/802_3 bits.
2849 2008-06-10 Dan Williams <dcbw@redhat.com>
2851 Patch from Tambet Ingo <tambet@gmail.com>
2853 * src/ppp-manager/nm-ppp-manager.c: Add ppp stats monitoring, signal the
2856 * src/nm-serial-device.c: Monitor "ppp-stats" signals from NMPPPManager. Add
2857 a signal to emit these changes over dbus.
2859 * src/Makefile.am: Genereate nm-serial-device-glue.
2861 * libnm-glib/nm-serial-device.[ch]: Implement.
2863 * libnm-glib/nm-cdma-device.[ch]
2864 libnm-glib/nm-gsm-device.[ch]: Inherit from NMSerialDevice.
2866 * libnm-glib/Makefile.am: Add nm-serial-device.[ch].
2868 * introspection/nm-device-serial.xml: Implement.
2870 * introspection/all.xml: Fix a couple of typos, add nm-device-serial.xml.
2872 * introspection/Makefile.am: Add nm-device-serial.xml.
2874 * include/NetworkManager.h: Add a DBus interface for serial device.
2876 2008-06-10 Dan Williams <dcbw@redhat.com>
2879 - Add TARGET_* define to config.h to distinguish distros
2881 * src/dhcp-manager/nm-dhcp-manager.c
2882 - (dhclient_run): use distro-specific path for dhclient config file
2884 2008-06-09 Dan Williams <dcbw@redhat.com>
2886 * src/dnsmasq-manager/nm-dnsmasq-manager.c
2887 src/dnsmasq-manager/nm-dnsmasq-manager.h
2888 - (create_dm_cmd_line): use the IP4 address of the ip4-config to
2889 calculate the addresses passed to dnsmasq instead of hard-coding
2893 - (nm_device_new_ip4_shared_config): be somewhat dynamic when choosing
2894 IP addresses for shared connections to guard against shared
2895 connection address collisions
2896 - (real_act_stage4_get_ip4_config): handle possible NULL ip4-configs on
2898 - (nm_device_activate_stage5_ip_config_commit): pass ip4-config to
2901 2008-06-09 Dan Williams <dcbw@redhat.com>
2903 * src/NetworkManagerPolicy.c
2904 - (update_routing_and_dns): set the default connection _after_ unsetting
2905 default on all non-default connections so that two connections can
2906 never be default at the same time
2907 - (device_state_changed): start and stop connection sharing when
2909 - (active_connection_default_changed): restart or stop sharing when
2910 the default connection changes to keep shared connections always
2911 NAT-ed through the default connection
2912 - (check_sharing): handle activation/deactivation of shared connections
2913 - (sharing_restart): atom-bomb approach to connection sharing until we
2914 can use libnl; reinit all sharing when the default connection or
2915 shared connections change
2916 - (sharing_init, sharing_stop): evil functions that init and deinit
2919 2008-06-09 Dan Williams <dcbw@redhat.com>
2921 * src/nm-activation-request.c
2922 src/nm-activation-request.h
2923 - (nm_act_request_set_shared, nm_act_request_get_shared,
2924 nm_act_request_get_device): new functions to facilitate connection
2927 2008-06-09 Dan Williams <dcbw@redhat.com>
2930 - (clear_act_request): unset the 'default' property of the activation
2931 request when clearing it to ensure the property changed signal gets
2932 delivered and handled
2934 2008-06-09 Dan Williams <dcbw@redhat.com>
2936 * libnm-glib/nm-device-802-11-wireless.c
2937 - (access_point_removed_proxy): actually unref the AP after removing
2938 it from the device's AP list. Fixes refcounting bug for APs that
2939 caused them to get mixed up in the applet's menu.
2941 2008-06-09 Tambet Ingo <tambet@gmail.com>
2943 * src/dhcp-manager/nm-dhcp-manager.c (finalize): Free private members.
2944 (nm_dhcp_device_destroy): Destroy the device options hash table.
2946 2008-06-06 Dan Williams <dcbw@redhat.com>
2948 * system-settings/src/nm-polkit-helpers.c
2949 - (create_polkit_context): in PolicyKit 0.6, polkit_context_init() will
2950 unref the context if the initialization fails; also avoid spew when
2953 2008-06-06 Dan Williams <dcbw@redhat.com>
2955 Patch from Tambet Ingo <tambet@gmail.com>
2957 * src/NetworkManagerSystem.c
2958 src/NetworkManagerSystem.h
2959 - (nm_system_device_add_ip4_route_via_device_with_iface): remove
2960 - (nm_system_device_set_from_ip4_config): remove unused route_to_iface
2961 - (nm_system_device_set_ip4_route): clean up
2962 - (nm_system_vpn_device_set_from_ip4_config): clean up, add VPN routes
2965 - (nm_device_set_ip4_config): remove unused route_to_iface bits
2967 * src/vpn-manager/nm-vpn-connection.c
2968 - (ip_address_to_string): new function
2969 - (print_vpn_config): use ip_address_to_string
2970 - (merge_vpn_routes): add user-defined routes to the ip4 config
2971 - (nm_vpn_connection_ip4_config_get): add routes the VPN server sent
2973 * include/NetworkManagerVPN.h
2976 2008-06-05 Dan Williams <dcbw@redhat.com>
2978 Patch from Markus Becker <mab@comnets.uni-bremen.de>
2981 - Show which device is the default device
2983 2008-06-05 Tambet Ingo <tambet@gmail.com>
2987 * system-settings/src/nm-system-config-hal-manager.c (get_type_for_udi):
2988 Free data returned from dbus method call.
2990 * system-settings/src/nm-polkit-helpers.c (check_polkit_privileges):
2991 dbus_g_method_get_sender() returns a duplicated string, free it
2993 (check_polkit_privileges): Looks like policykit sometimes returns
2994 error and non-null return value, don't leak errors in that case.
2996 * system-settings/src/main.c (find_plugin): Don't leak existing
2998 (load_stuff): Don't leak device list and list items.
2999 (have_connection_for_device): Don't leak connection list.
3001 * system-settings/plugins/keyfile/reader.c (read_one_setting_value):
3002 Free the data received from g_keyfile_get_*.
3004 * system-settings/plugins/ifcfg-suse/parser.c (READ_WEP_KEY): Free
3005 the key when the security object is updated.
3007 * src/supplicant-manager/nm-supplicant-interface.c (scan_results_cb):
3008 Free data returned from dbus method call.
3009 (iface_state_cb): Ditto.
3010 (add_network_cb): Ditto.
3011 (nm_supplicant_interface_add_cb): Don't make another copy of already
3012 duplicated object path.
3013 (nm_supplicant_interface_add_to_supplicant): Free the driver GValue
3016 * src/supplicant-manager/nm-supplicant-config.c
3017 (ADD_STRING_LIST_VAL): Fix a memory leak.
3019 * src/nm-manager.c (free_get_settings_info): Free the allocated
3021 (list_connections_cb): Free data returned from dbus method call.
3022 (system_settings_get_unmanaged_devices_cb): Ditto.
3024 * src/nm-device-802-11-wireless.c (device_cleanup): Free ssid.
3026 * system-settings/plugins/ifcfg-suse/shvar.c (svCloseFile):
3027 * system-settings/plugins/ifcfg-fedora/shvar.c (svCloseFile):
3028 * src/backends/shvar.c (svCloseFile): Free the duplicated content
3031 * libnm-util/nm-setting.c (nm_setting_from_hash): Free the constructor
3032 arguments after the object is created.
3034 2008-06-04 Dan Williams <dcbw@redhat.com>
3036 * libnm-util/Makefile.am
3037 - Don't distribute nm-param-spec-specialized.h
3039 2008-06-02 Tambet Ingo <tambet@gmail.com>
3041 * libnm-util/nm-setting-ip4-config.[ch]: Add static routes property.
3043 * src/nm-ip4-config.[ch]: Store the static routes as a list of
3044 NMIP4Address, update the getters and setters.
3046 * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
3047 Use the updated NMIP4Config routes api.
3049 * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Merge
3050 static routes as well.
3052 * src/NetworkManagerSystem.c (netmask_to_prefix): Implement.
3053 (nm_system_device_set_from_ip4_config): Use the updated NMIP4Config
3056 2008-05-30 Dan Williams <dcbw@redhat.com>
3058 * src/named-manager/nm-named-manager.c
3059 src/named-manager/nm-named-manager.h
3060 - Remove stale/obsolete bits for controlling bind over DBus
3062 2008-05-29 Dan Williams <dcbw@redhat.com>
3064 * src/dnsmasq-manager/nm-dnsmasq-manager.c
3065 src/dnsmasq-manager/nm-dnsmasq-manager.h
3066 - (nm_dnsmasq_manager_new): move iface argument here
3067 - (constructor): remove, not needed
3068 - (get_pidfile_for_iface, create_dm_cmd_line, kill_existing_for_iface,
3069 nm_dnsmasq_manager_start, nm_dnsmasq_manager_stop): use priv->pidfile
3072 - (real_act_stage4_get_ip4_config,
3073 nm_device_activate_stage5_ip_config_commit): fix for dnsmasq manager
3076 2008-05-29 Dan Williams <dcbw@redhat.com>
3079 - (dnsmasq_state_changed_cb): new function; fail the connection if
3080 something happens to dnsmasq
3081 - (nm_device_new_ip4_shared_config): new function; create a new
3082 ip4-config for shared connections. Shared connections always use a
3083 fixed static IP address.
3084 - (real_act_stage4_get_ip4_config): handle shared connections; fix
3085 autoip connections by actually using the returned ip4-config and
3087 - (nm_device_activate_stage5_ip_config_commit): start dnsmasq for shared
3089 - (nm_device_deactivate_quickly, nm_device_dispose): terminate dnsmasq
3092 2008-05-29 Dan Williams <dcbw@redhat.com>
3094 * src/nm-device-802-11-wireless.c
3095 - (real_get_best_auto_connection): auto-activate 'shared' method
3098 2008-05-29 Dan Williams <dcbw@redhat.com>
3100 * libnm-util/nm-setting-ip4-config.c
3101 libnm-util/nm-setting-ip4-config.h
3102 - Add a 'shared' method to indicate that this connection should be
3103 brought up with a DHCP and proxy DNS server to facilitate
3105 - (verify): 'shared' method doesn't allow DNS or searches either
3107 2008-05-29 Dan Williams <dcbw@redhat.com>
3111 src/dnsmasq-manager/Makefile.am
3112 src/dnsmasq-manager/nm-dnsmasq-manager.c
3113 src/dnsmasq-manager/nm-dnsmasq-manager.h
3114 - Add a dnsmasq daemon manager to facilitate connection sharing
3116 2008-05-29 Dan Williams <dcbw@redhat.com>
3118 * src/nm-device-private.h
3119 - Remove unused prototypes and clean up
3122 - Remove anything related to system_config_data, which is no longer used
3123 - (nm_device_new_ip4_autoip_config): make static
3125 2008-05-29 Tambet Ingo <tambet@gmail.com>
3127 * system-settings/plugins/ifcfg-suse/nm-suse-connection.c
3128 (file_changed): Fix a bug where suse system settings plugin didn't
3129 update the connections automatically when the files changed.
3131 2008-05-28 Dan Williams <dcbw@redhat.com>
3133 Revert r3697 (adhoc-create property patch); it's the wrong way to do this.
3135 2008-05-28 Dan Williams <dcbw@redhat.com>
3137 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3139 * src/NetworkManagerSystem.c
3140 - (nm_system_device_flush_ip4_routes_with_iface): implement with libnl
3141 - (nm_system_vpn_device_set_from_ip4_config): don't flush routes here,
3142 was causing -EINVAL errors since the libnl code actually does flush
3143 the routes on VPN interfaces now
3145 * src/backends/NetworkManagerArch.c
3146 src/backends/NetworkManagerDebian.c
3147 src/backends/NetworkManagerFrugalware.c
3148 src/backends/NetworkManagerGeneric.c
3149 src/backends/NetworkManagerGentoo.c
3150 src/backends/NetworkManagerMandriva.c
3151 src/backends/NetworkManagerPaldo.c
3152 src/backends/NetworkManagerRedHat.c
3153 src/backends/NetworkManagerSlackware.c
3154 src/backends/NetworkManagerSuSE.c
3155 - (nm_system_device_flush_ip4_routes,
3156 nm_system_device_flush_ip4_routes_with_iface): remove
3158 2008-05-28 Dan Williams <dcbw@redhat.com>
3160 * libnm-util/nm-setting-wireless.c
3161 libnm-util/nm-setting-wireless.h
3162 - (set_property, get_property, nm_setting_wireless_class_init): add the
3163 'adhoc-create' property, which when TRUE indicates that NM should
3164 create this connection as an adhoc wifi network if it's not found
3165 as an adhoc network during scanning. Can be used to auto-create
3166 adhoc networks when used in combination with autoconnect.
3168 2008-05-28 Tambet Ingo <tambet@gmail.com>
3170 Patch from Dennis Noordsij <dennis.noordsij@helsinki.fi>.
3172 * src/nm-gsm-device.c: Don't try to reset the modem before PIN is
3173 checked, it doesn't work on some devices.
3175 2008-05-28 Tambet Ingo <tambet@gmail.com>
3177 * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Make sure
3178 pppd gets killed, if SIGTERM doesn't do it's job, SIGKILL it.
3180 * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
3181 Use inet_aton() everywhere to improve error detection.
3182 Don't fall back to 'dhcp_server_identifier' if the gateway is not
3185 2008-05-26 Tambet Ingo <tambet@gmail.com>
3187 * system-settings/plugins/ifcfg-suse/plugin.c (get_unamanged_devices_cb):
3190 2008-05-26 Tambet Ingo <tambet@gmail.com>
3192 * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_get_service): Fix a
3193 reference counting issue.
3195 2008-05-23 Dan Williams <dcbw@redhat.com>
3197 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3199 * src/backends/NetworkManagerGeneric.c
3200 - (nm_generic_enable_loopback): use libnl
3202 2008-05-23 Dan Williams <dcbw@redhat.com>
3204 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3206 * src/NetworkManagerSystem.h
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_has_active_routes, nm_system_flush_loopback_routes,
3217 nm_system_flush_arp_cache): remove, unused
3219 * src/backends/NetworkManagerGeneric.c
3220 src/backends/NetworkManagerGeneric.h
3221 - (nm_generic_device_has_active_routes, nm_generic_flush_loopback_routes,
3222 nm_generic_flush_arp_cache): remove, unused
3224 2008-05-23 Dan Williams <dcbw@redhat.com>
3226 * system-settings/plugins/ifcfg-fedora/reader.c
3227 - (make_ip4_setting): honor PEERDNS setting
3229 2008-05-23 Dan Williams <dcbw@redhat.com>
3231 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3233 * src/NetworkManagerSystem.c
3234 - (nm_system_device_flush_ip4_addresses_with_iface): implement with
3237 * src/backends/NetworkManagerArch.c
3238 src/backends/NetworkManagerDebian.c
3239 src/backends/NetworkManagerFrugalware.c
3240 src/backends/NetworkManagerGentoo.c
3241 src/backends/NetworkManagerMandriva.c
3242 src/backends/NetworkManagerPaldo.c
3243 src/backends/NetworkManagerRedHat.c
3244 src/backends/NetworkManagerSlackware.c
3245 src/backends/NetworkManagerSuSE.c
3246 - (nm_system_device_flush_ip4_addresses,
3247 nm_system_device_flush_ip4_addresses_with_iface): remove
3249 * src/backends/NetworkManagerGeneric.c
3250 - (nm_generic_device_flush_ip4_addresses,
3251 nm_generic_device_flush_ip4_addresses_with_iface): remove
3253 2008-05-23 Dan Williams <dcbw@redhat.com>
3255 * src/supplicant-manager/nm-supplicant-settings-verify.c
3256 - Switch 'bssid' from bytes to keyword type
3257 - (validate_type_keyword): allow NULL keyword lists
3259 * src/supplicant-manager/nm-supplicant-config.c
3260 - (nm_supplicant_config_add_setting_wireless): convert the bssid from
3261 a byte array to string form, which is what the supplicant expects
3263 2008-05-23 Tambet Ingo <tambet@gmail.com>
3265 Add a flag to NMSettingIP4Config to make it possible to ignore the DNS
3266 information received from DHCP.
3268 * libnm-util/nm-setting-ip4-config.c: Add a new membet "ignore_dhcp_dns"
3269 to make it possible to ignore the DNS information (both servers and
3270 searches) returned by DHCP server.
3272 * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Reset the
3273 name servers and searches if "ignore_dhcp_dns" is set.
3275 * src/nm-ip4-config.c (nm_ip4_config_reset_nameservers)
3276 (nm_ip4_config_reset_searches): Implement.
3278 2008-05-22 Dan Williams <dcbw@redhat.com>
3280 Remove anything mDNS related. This is better done from a distro-specific
3281 dispatcher script. Plus, any distro using avahi doesn't need to restart
3282 avahi, since avahi can handle interface changes just fine using netlink.
3285 - Remove --with-mdns-provider
3287 * src/NetworkManagerPolicy.c
3288 - (global_state_changed): don't restart the mdns provider
3290 * src/NetworkManagerSystem.h
3291 src/backends/NetworkManagerArch.c
3292 src/backends/NetworkManagerDebian.c
3293 src/backends/NetworkManagerFrugalware.c
3294 src/backends/NetworkManagerGentoo.c
3295 src/backends/NetworkManagerMandriva.c
3296 src/backends/NetworkManagerPaldo.c
3297 src/backends/NetworkManagerRedHat.c
3298 src/backends/NetworkManagerSlackware.c
3299 src/backends/NetworkManagerSuSE.c
3300 - (nm_system_restart_mdns_responder): remove
3302 * src/backends/NetworkManagerGeneric.c
3303 src/backends/NetworkManagerGeneric.h
3304 - (nm_generic_restart_mdns_responder): remove
3306 2008-05-22 Dan Williams <dcbw@redhat.com>
3309 - clean up crypto options; just use --with-crypto=nss or
3310 --with-crypto=gnutls
3312 2008-05-22 Tambet Ingo <tambet@gmail.com>
3314 * src/nm-manager.c (impl_manager_sleep): No need to schedule the sync
3315 anymore, do it right away.
3317 2008-05-22 Tambet Ingo <tambet@gmail.com>
3319 * src/nm-gsm-device.c (device_state_changed): Make sure we don't leave the
3320 serial device open when we're not connecting or connected.
3322 * src/nm-cdma-device.c (device_state_changed): Ditto.
3324 2008-05-22 Tambet Ingo <tambet@gmail.com>
3326 Don't remove all devices on waking up, sync with HAL.
3328 * src/nm-manager.c (nm_manager_udi_is_managed): Implement.
3329 (sync_devices): Implement, based on hal_manager_hal_reappeared_cb.
3330 (hal_manager_hal_reappeared_cb): Just call sync_devices.
3332 2008-05-21 Tambet Ingo <tambet@gmail.com>
3334 * src/NetworkManagerSystem.c (nm_system_device_replace_default_ip4_route):
3335 If the default gateway is unreachable, add a route to gateway and try
3338 2008-05-20 Dan Williams <dcbw@redhat.com>
3340 * system-settings/plugins/ifcfg-fedora/reader.c
3341 - (add_one_wep_key): handle ASCII WEP keys too (rh #293111)
3343 2008-05-19 Dan Williams <dcbw@redhat.com>
3345 * system-settings/plugins/ifcfg-fedora/reader.c
3346 - (make_ip4_setting): get a fallback gateway from /etc/sysconfig/network
3347 if the ifcfg doesn't specify one (rh #446527)
3349 2008-05-19 Dan Williams <dcbw@redhat.com>
3351 Make the system settings service exit when the bus goes away. Since it's
3352 a bus-activated service, it's lifetime is limited to the bus that activated
3355 * system-settings/src/Makefile.am
3356 system-settings/src/nm-system-config-hal-manager-private.h
3357 - Remove nm-system-config-hal-manager-private.h
3359 * system-settings/src/nm-system-config-hal-manager.c
3360 - (nm_system_config_hal_manager_reinit_dbus,
3361 nm_system_config_hal_manager_deinit_dbus): remove
3363 * system-settings/src/main.c
3364 - (dbus_reconnect): remove
3365 - (dbus_cleanup): don't tell the HAL manager to deinit dbus
3366 - (destroy_cb): just quit when the bus goes away
3367 - (start_dbus_service, dbus_init): simplify
3368 - (main): destroy the wired devices hash table after destroying
3369 the HAL manager so we don't have to disconnect signals from the
3372 2008-05-15 Tambet Ingo <tambet@gmail.com>
3374 Move crypto functions from nm-applet to libnm-util.
3376 * libnm-util/nm-setting-8021x.c (nm_setting_802_1x_set_ca_cert)
3377 (nm_setting_802_1x_set_client_cert)
3378 (nm_setting_802_1x_set_phase2_ca_cert)
3379 (nm_setting_802_1x_set_phase2_client_cert)
3380 (nm_setting_802_1x_set_private_key)
3381 (nm_setting_802_1x_set_phase2_private_key): Implement. Given a certificate
3382 file (or private key and it's password), read the certificate data.
3384 * libnm-util/crypto_nss.c:
3385 * libnm-util/crypto_gnutls.c:
3386 * libnm-util/crypto.[ch]: Move here from nm-applet.
3388 * configure.in: Check for NSS and gnutls here (moved here from nm-applet).
3390 * system-settings/plugins/ifcfg-suse/parser.c (read_wpa_eap_settings):
3391 Imlement WPA-EAP configuration reading from sysconfig.
3393 2008-05-16 Dan Williams <dcbw@redhat.com>
3395 * src/nm-device-802-11-wireless.c
3396 - (nm_device_802_11_wireless_set_enabled): request a scan after enabling
3399 2008-05-14 Dan Williams <dcbw@redhat.com>
3401 Fix Linus' bug in rh #134886
3403 * src/nm-device-802-3-ethernet.c
3404 - (constructor): request initial carrier state
3406 * src/nm-netlink-monitor.c
3407 - (nm_netlink_monitor_request_status): schedule emission of carrier
3408 signals after refilling the link cache. Because the refill is a
3409 synchronous operation, the normal message hander won't get called
3410 since libnl has already consumed the messages.
3411 - (deferred_emit_carrier_state): emit carrier states from an idle handler
3413 2008-05-14 Dan Williams <dcbw@redhat.com>
3415 * src/NetworkManagerSystem.c
3416 - (nm_system_device_is_up_with_iface): clean up
3418 2008-05-13 Dan Williams <dcbw@redhat.com>
3420 Fix refcounting issues over sleep/wake when a VPN connection was active that
3421 caused NM to try registering an object path for a device upon wake that was
3422 the same as an already registered object path.
3425 - (nm_device_take_down): properly handle cases where the device is
3426 no longer active but was just active, and therefore must be
3427 deactivated. When a device moves to unmanaged mode, this function
3428 previously would not deactivate the device, because the state was
3429 already unmanaged by the time this function was called.
3431 * src/vpn-manager/nm-vpn-connection.c
3432 - (device_state_changed): properly handle multiple devices states in
3433 which the device is now deactivated. Code previously didn't handle
3434 transitions to the UNAVAILABLE (like rfkill or carrier off) and
3437 2008-05-13 Dan Williams <dcbw@redhat.com>
3439 * src/nm-device-private.h
3441 - (nm_device_hw_bring_up, nm_device_hw_take_down): export
3443 * src/nm-device-802-11-wireless.c
3444 - (nm_device_802_11_wireless_set_enabled): take devices up
3445 and down as appropriate for the rfkill state
3447 2008-05-13 Dan Williams <dcbw@redhat.com>
3449 * marshallers/nm-marshal.list
3450 - Add VOID:POINTER,STRING marshaller for ifcfg-fedora plugin
3452 * system-settings/plugins/ifcfg-fedora/Makefile.am
3453 system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
3454 system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
3455 - Implement a minimal inotify helper for watch paths for IN_CLOSE_WRITE
3456 events. Solely for use watching ifcfg files to pick up changes
3457 to their hardlinks, since GIO doesn't support this yet (bgo #532815)
3459 * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
3460 - (nm_ifcfg_connection_class_init): new 'ifcfg-changed' signal when the
3461 file contents change
3462 - (finalize): clean up inotify watches
3463 - (nm_ifcfg_connection_new): store keyfile; inotify watch the keyfile
3464 and the connection ifcfg for changes on their hardlinks
3465 - (files_changed_cb): proxy the changed signal back out to listeners
3467 * system-settings/plugins/ifcfg-fedora/plugin.c
3469 - (connection_ifcfg_changed): re-read the connection when the ifcfg
3471 - (read_one_connection): connect to change signals on the new connection
3472 - (dir_changed, connection_changed_handler,
3473 handle_connection_remove_or_new): break out connection change
3474 handling and connection new/remove handling so it can be used from
3475 both the GFileMonitor callback and the NMIfcfgConnection changed
3478 * system-settings/plugins/ifcfg-fedora/reader.c
3479 system-settings/plugins/ifcfg-fedora/reader.h
3480 - (connection_from_file): return the keyfile path the connection would use
3482 2008-05-13 Tambet Ingo <tambet@gmail.com>
3484 * system-settings/src/nm-polkit-helpers.c (create_polkit_context): Use a
3485 single PolKitContext which is shared by all. PolKitContext::unref leaks
3486 just about everything, including all open file descriptiors and results
3487 in 99% cpu usage when data arrives to any of the fds that don't belong
3488 to any context anymore.
3490 2008-05-12 Dan Williams <dcbw@redhat.com>
3492 * gfilemonitor/glocaldirectorymonitor.c
3493 gfilemonitor/glocaldirectorymonitor.h
3494 - (g_local_directory_monitor_constructor): actually subscribe to the
3496 - (_g_local_directory_monitor_new): ensure that inotify is started up
3498 * gfilemonitor/glocalfilemonitor.c
3499 gfilemonitor/glocalfilemonitor.h
3500 - (g_local_file_monitor_constructor): actually subscribe to the watch
3501 - (_g_local_file_monitor_new): ensure that inotify is started up
3503 2008-05-11 Dan Williams <dcbw@redhat.com>
3506 - record PolicyKit version
3508 * system-settings/src/nm-polkit-helpers.c
3509 - (check_polkit_privileges): use polkit_context_can_caller_do_action()
3510 with PolicyKit <= 0.6
3512 2008-05-11 Dan Williams <dcbw@redhat.com>
3514 Update Fedora system-settings plugin to support latest API and use
3515 GFileMonitor rather than home-rolled inotify code.
3517 * system-settings/plugins/ifcfg-fedora/Makefile.am
3518 system-settings/plugins/ifcfg-fedora/common.h
3519 system-settings/plugins/ifcfg-fedora/plugin.c
3520 - Update to latest system settings plugin API; use GIO instead of
3521 custom inotify code; use NMIfcfgConnection objects instead of
3522 ConnectionData structures tacked onto NMConnection objects
3524 * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
3525 system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.h
3526 - Implement an NMExportedConnection subclass mapping ifcfg files to
3529 * system-settings/plugins/ifcfg-fedora/reader.c
3530 system-settings/plugins/ifcfg-fedora/reader.h
3531 - Move ifcfg parsing bits here from parser.c
3533 * system-settings/plugins/ifcfg-fedora/parser.c
3534 system-settings/plugins/ifcfg-fedora/parser.h
3535 - Remove; most code moved to reader.c
3537 2008-05-11 Dan Williams <dcbw@redhat.com>
3542 - Add a private copy of the GIO GFileMonitor code, with a custom GFile
3543 implementation, so that the same change monitoring code can be used
3544 on systems without glib-2.14 (like Fedora 8)
3546 * system-settings/plugins/keyfile/Makefile.am
3547 system-settings/plugins/keyfile/plugin.c
3548 system-settings/plugins/ifcfg-suse/Makefile.am
3549 system-settings/plugins/ifcfg-suse/plugin.c
3550 - Use private gfilemonitor code if GIO is not present
3552 2008-05-09 Tambet Ingo <tambet@gmail.com>
3554 * system-settings/plugins/ifcfg-suse/nm-suse-connection.c: Implement
3555 NMExportedConnection's 'update' and 'delete' and return error with
3556 descriptive message.
3558 2008-05-08 Dan Williams <dcbw@redhat.com>
3560 Patch from Markus Becker <mab@comnets.uni-bremen.de>
3562 * src/nm-gsm-device.c
3563 src/nm-cdma-device.c
3564 - (real_get_best_auto_connection): implement; allow autoconnection
3565 to GSM & CDMA devices
3567 2008-05-08 Tambet Ingo <tambet@gmail.com>
3569 Use PolicyKit to authorize the system settings' AddConnection method
3570 and the system settings connections' Update and Delete methods.
3572 * libnm-glib/nm-settings.c (impl_exported_connection_update)
3573 (impl_exported_connection_delete, nm_exported_connection_update)
3574 (nm_exported_connection_delete): Return boolean and fill GError
3575 to notify the callers of the reasons why it might have failed.
3577 * libnm-glib/nm-dbus-settings-system.c
3578 (nm_dbus_settings_system_add_connection): Return the error from dbus
3579 call so that the callers can see why it failed.
3581 * libnm-glib/nm-dbus-connection.c (update, delete): Update the
3584 * system-settings/src/nm-polkit-helpers.[ch]: Implement.
3586 * system-settings/src/nm-sysconfig-connection.[ch]: Implement. New
3587 abstract base class that checks PolicyKit permissions.
3589 * system-settings/src/dbus-settings.c:
3590 (impl_settings_add_connection): Check the policy before carring out
3593 * system-settings/plugins/keyfile/nm-keyfile-connection.c:
3594 Inherit from NMSysconfigConnection, check the policies before
3595 allowing updating or removing.
3597 * system-settings/plugins/ifcfg-suse/nm-suse-connection.c:
3598 Inherit from NMSysconfigConnection.
3600 * introspection/nm-exported-connection.xml: Annotate "Update" and
3601 "Delete" methods with async flag so that the implementations can get
3602 access to DBusGMethodInvocation.
3604 * system-settings/src/dbus-settings.c
3605 (settings_add_connection_check_privileges): Implement.
3606 (impl_settings_add_connection): Check the privileges before adding a new
3607 connection. Improve error reporting.
3609 * introspection/nm-settings-system.xml: Make the 'AddConnection' method
3610 async so that the implementation can access DBusGMethodInvocation.
3612 * configure.in: Check for PolicyKit.
3614 * policy/org.freedesktop.network-manager-settings.system.policy:
3617 * policy/Makefile.am: Install the policy file.
3619 * configure.in: Add 'policy' subdir.
3621 2008-05-08 Tambet Ingo <tambet@gmail.com>
3623 Rewrite the suse system settings plugin.
3625 * system-settings/plugins/ifcfg-suse/plugin.c: Rewrite.
3627 * system-settings/plugins/ifcfg-suse/parser.c: Rewrite.
3629 * system-settings/plugins/ifcfg-suse/nm-suse-connection.[ch]: Implement.
3631 * system-settings/plugins/ifcfg-suse/Makefile.am: Add new files to build.
3633 * system-settings/src/dbus-settings.c: Fix connection reference counting.
3635 * system-settings/src/main.c (load_plugins): Improve error reporting.
3637 * system-settings/src/sha1.[ch] Add.
3639 * system-settings/src/Makefile.am: Add sha1[ch] to build.
3641 2008-05-07 Dan Williams <dcbw@redhat.com>
3643 * system-settings/plugins/keyfile/reader.c
3644 - (read_one_setting_value): handle IP address items separately
3645 - (read_array_of_uint): read IPv4 DNS option as a string array
3646 - (read_array_of_array_of_uint): read IPv4 address tuples as a string
3649 * system-settings/plugins/keyfile/writer.c
3650 - (write_setting_value): handle IP address items separately
3651 - (write_array_of_uint): handle IPv4 DNS option as a string array,
3652 not an array of uint, so that it's user-editable
3653 - (write_array_of_array_of_uint): handle IPv4 address tuples as string
3654 arrays, so they are user-editable
3656 2008-05-07 Dan Williams <dcbw@redhat.com>
3658 * system-settings/plugins/keyfile/Makefile.am
3659 - Change location of the keyfile plugin settings to
3660 /etc/NetworkManager/system-connections
3662 2008-05-05 Tambet Ingo <tambet@gmail.com>
3664 * system-settings/plugins/keyfile/nm-keyfile-connection.[ch]: Implement.
3666 * system-settings/plugins/keyfile/plugin.c: Work with
3667 NMKeyfileConnections.
3669 * system-settings/src/dbus-settings.c: Remove NMSysconfigExportedConnection.
3670 Plugins are supposed to return NMExportedConnections now and handle the
3671 updated(), removed(), and GetSecrets().
3672 Store the internal list of connections in hash table to make it easier
3675 2008-05-07 Tambet Ingo <tambet@gmail.com>
3677 * src/backends/NetworkManagerSuSE.c (nm_system_set_hostname): Update
3678 for multiple IP addresses.
3680 2008-05-07 Tambet Ingo <tambet@gmail.com>
3682 Patch from André Lemos.
3684 * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Fix a memory
3687 2008-05-06 Dan Williams <dcbw@redhat.com>
3689 * src/dhcp-manager/nm-dhcp-manager.c
3690 - (nm_dhcp_manager_get_ip4_config): clean up; update for changes to
3691 NMIP4Config to support multiple IP addresses
3693 * src/NetworkManagerUtils.c
3694 - (nm_utils_merge_ip4_config): update for multiple IP addresses
3696 * src/nm-ip4-config.c
3698 - Store a list of IPv4 address/netmask/gateway tuples
3699 - (nm_ip4_config_get_gateway, nm_ip4_config_set_gateway,
3700 nm_ip4_config_get_netmask, nm_ip4_config_set_netmask,
3701 nm_ip4_config_get_broadcast, nm_ip4_config_set_broadcast,
3702 nm_ip4_config_set_address): remove
3703 - (nm_ip4_config_take_address, nm_ip4_config_add_address,
3704 nm_ip4_config_replace_address, nm_ip4_config_get_num_addresses):
3705 new functions; handle multiple IPv4 addresses
3708 src/ppp-manager/nm-ppp-manager.c
3709 src/vpn-manager/nm-vpn-connection.c
3710 src/NetworkManagerPolicy.c
3712 libnm-glib/libnm-glib-test.c
3713 - update for changes to NMIP4Config for multiple IPv4 addresses
3715 * src/NetworkManagerSystem.c
3716 - (nm_system_device_set_ip4_route): don't add the route if any address
3717 is on the same subnet as the destination
3718 - (check_one_address): ignore the exact match, just match family and
3720 - (add_ip4_addresses): add all IPv4 addresses in an NMIP4Config to
3722 - (nm_system_device_set_from_ip4_config): use add_ip4_addresses()
3723 - (nm_system_vpn_device_set_from_ip4_config): use add_ip4_addresses()
3725 * introspection/nm-ip4-config.xml
3726 - Remove 'address', 'gateway', 'netmask', and 'broadcast' properties
3727 - Add 'addresses' property which is an array of (uuu) tuples of
3728 address/netmask/gateway
3730 * libnm-util/nm-setting-ip4-config.c
3731 - (set_property): use ip-address <-> GValue converters from nm-utils.c
3733 * libnm-glib/nm-ip4-config.c
3734 libnm-glib/nm-ip4-config.h
3735 - Handle D-Bus interface changes to support multiple IP addresses
3737 2008-05-06 Dan Williams <dcbw@redhat.com>
3739 * libnm-util/nm-utils.c
3740 libnm-util/nm-utils.h
3741 - (nm_utils_ip4_addresses_from_gvalue,
3742 nm_utils_ip4_addresses_to_gvalue): new functions
3744 2008-05-06 Tambet Ingo <tambet@gmail.com>
3746 * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Don't leak
3747 the returned connection paths.
3749 2008-05-05 Tambet Ingo <tambet@gmail.com>
3751 * libnm-glib/nm-dbus-settings.c (constructor): Fix the
3752 "PropertiesChanged" signal signature.
3754 * libnm-glib/nm-dbus-connection.c (constructor): Use the common GType
3755 defined in nm-dbus-glib-types.h.
3756 Don't register the connection on dbus, we're a proxy class to
3757 communicate with an already registered connection over dbus.
3759 2008-04-30 Tambet Ingo <tambet@gmail.com>
3761 Implement new subclasses of NMSettings and NMExportedConnection to make
3762 it easier for the applet to access and modify system settings.
3764 * libnm-glib/nm-dbus-connection.[ch]:
3765 * libnm-glib/nm-dbus-settings.[ch]:
3766 * libnm-glib/nm-dbus-settings-system.[ch]: Implement.
3768 * libnm-glib/Makefile.am: Add the new files to build, generate some more
3771 * include/NetworkManager.h: Define the system settings DBus interface.
3773 2008-04-30 Tambet Ingo <tambet@gmail.com>
3775 Implement additional C API for exported connections to make them identical
3776 with the DBus API. Change the (list_connections) virtual function to be
3777 more usable from C - instead of requiring implementers to return a GPtrArray
3778 of dbus paths, return a list of connections.
3780 * libnm-glib/nm-settings.c (nm_exported_connection_class_init): Fix a typo.
3781 (nm_settings_list_connections):
3782 (nm_exported_connection_new):
3783 (nm_exported_connection_update):
3784 (nm_exported_connection_delete): Implement.
3786 (impl_settings_list_connections):
3787 (impl_exported_connection_update):
3788 (impl_exported_connection_delete): Use the new public functions to make
3789 sure the C and dbus interfaces stay in sync.
3791 * system-settings/src/dbus-settings.c (list_connections): Return a list of
3794 2008-05-02 Dan Williams <dcbw@redhat.com>
3796 * system-settings/plugins/ifcfg-fedora/plugin.c
3797 - (dispose): use right unref call on the DBusGConnection
3799 2008-05-02 Dan Williams <dcbw@redhat.com>
3801 * src/nm-serial-device.c
3802 - (find_terminator): don't compare the whole line, just the size of the
3803 terminator, since some modems put stuff after the terminator, like
3806 2008-05-01 Dan Williams <dcbw@redhat.com>
3808 Patch from Michael Biebl <biebl@debian.org>
3810 * callouts/Makefile.am
3811 callouts/org.freedesktop.nm_dispatcher.service.in
3812 system-settings/src/Makefile.am
3813 system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service.in
3814 - use the right install location for dbus-activated stuff
3816 2008-04-30 Dan Williams <dcbw@redhat.com>
3818 * src/nm-gsm-device.c
3819 - (enter_pin): fix setting name passed to applets when asking for a GSM
3822 2008-04-30 Dan Williams <dcbw@redhat.com>
3825 - (nm_manager_error_get_type): remove erroneous NULL enum from table
3827 2008-04-30 Dan Williams <dcbw@redhat.com>
3829 * src/nm-device-802-3-ethernet.c
3830 src/nm-device-802-11-wireless.c
3831 - (real_is_up): return true instead of chaining up to unimplemented
3834 2008-04-30 Dan Williams <dcbw@redhat.com>
3836 * src/NetworkManagerSystem.c
3837 src/NetworkManagerSystem.h
3838 - (nm_system_device_is_up, nm_system_device_is_up_with_iface): new
3839 functions to check device flags for IFF_UP
3841 * src/nm-serial-device.c
3842 - (real_is_up): remove; NMDevice now returns TRUE if the subclass doesn't
3845 * src/nm-device-802-3-ethernet.c
3846 src/nm-device-802-11-wireless.c
3847 - (real_hw_is_up): call nm_system_device_is_up()
3850 - (real_hw_is_up): move to nm_system_device_is_up_with_iface()
3851 - (real_is_up): remove; nm_device_is_up() returns TRUE if subclass
3854 2008-04-29 Dan Williams <dcbw@redhat.com>
3856 Handle HAL dropouts better; allow NM to start up even if HAL isn't up yet.
3858 * marshallers/nm-marshal.list
3861 * src/NetworkManager.c
3862 - (main): let the NMManager handle the NMHalManager
3864 * src/nm-hal-manager.c
3865 src/nm-hal-manager.h
3866 - convert to a GObject, and emit singals when stuff changes. Let the
3867 NMManager handle the signals, instead of the NMHalManager calling
3872 - (remove_one_device): consolidate device removals here
3873 - (dispose): use remove_one_device()
3874 - (nm_manager_get_device_by_udi): make static
3875 - (deferred_hal_manager_query_devices): idle handler to query the HAL
3876 manager for devices at startup or wakeup time
3877 - (nm_manager_new): create and monitor the HAL manager
3878 - (hal_manager_udi_added_cb): new function; do what
3879 nm_manager_add_device() used to do when signalled by the hal manager
3880 - (hal_manager_udi_removed_cb): new function; do what
3881 nm_manager_remove_device() used to do when signalled by the hal
3883 - (hal_manager_rfkill_changed_cb): handle rfkill changes from the
3885 - (hal_manager_hal_reappeared_cb): when HAL comes back, remove devices
3886 in our device list that aren't known to HAL
3887 - (impl_manager_sleep): on wakeup, re-add devices from an idle handler;
3888 see comments on nm-hal-manager.c::nm_manager_state_changed() a few
3890 - (nm_manager_get_device_by_path, nm_manager_is_udi_managed,
3891 nm_manager_activation_pending, nm_manager_wireless_enabled,
3892 nm_manager_wireless_hardware_enabled,
3893 nm_manager_set_wireless_hardware_enabled): remove, unused
3895 2008-04-28 Dan Williams <dcbw@redhat.com>
3897 Fix the device up/down ambiguities. Up/down state used to be a
3898 conglomeration of hardware state (IFF_UP) and any device-specific things
3899 (supplicant, periodic timers, etc) that the device used to indicate
3900 readiness. Unfortunately, if the hardware was already IFF_UP for some
3901 reason, then the device specific stuff wouldn't get run, and the device
3906 - Create hw_is_up, hw_bring_up, and hw_take_down
3907 - Rename bring_down -> take_down
3908 - (real_hw_is_up): check interface flags for IFF_UP
3909 - (nm_device_hw_is_up): let subclasses figure out their own HW state
3910 - (nm_device_is_up): make static; only used locally
3911 - (nm_device_hw_bring_up): update the hardware and IPv4 addresses even
3912 if the device is already up; if the device isn't up, bring it up
3913 - (nm_device_hw_take_down): just take down hardware
3914 - (nm_device_bring_up): bring up HW first, then device specific stuff
3915 - (nm_device_take_down): always deactivate device when called; always
3916 try to take hardware down too
3917 - (nm_device_state_changed): take device down when entering unmanaged
3918 state from a higher state
3920 * src/nm-device-802-11-wireless.c
3921 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
3923 - (real_take_down, supplicant_iface_state_cb_handler,
3924 supplicant_iface_connection_state_cb_handler,
3925 supplicant_mgr_state_cb_handler): fix some messages
3927 * src/nm-device-802-3-ethernet.c
3928 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
3931 2008-04-28 Dan Williams <dcbw@redhat.com>
3935 - (nm_manager_error_get_type): add new error
3936 - (nm_manager_remove_device): don't bother taking down the device here,
3937 the state change from unmanaging the device will do it
3938 - (impl_manager_sleep): move nm_manager_sleep() here since nothing else
3939 uses it; when going to sleep, just unmanage the device instead of
3940 taking it down, because stuff will cleaned up correctly when the
3941 device gets unmanaged
3943 2008-04-28 Dan Williams <dcbw@redhat.com>
3945 * src/nm-hal-manager.c
3946 - (add_initial_devices): convert to a GSourceFunc prototype
3947 - (nm_manager_state_changed): when coming out of sleep, punt the
3948 device re-addition to an idle handler to let D-Bus events go out
3949 first, fixing a potential dbus-glib assert if the old device was
3950 not yet disposed (due to references held while emitting the D-Bus
3951 signals) but the new device was found, because the mainloop didn't
3952 run between signal emission and add_initial_devices()
3954 2008-04-27 Dan Williams <dcbw@redhat.com>
3956 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3958 * initscript/paldo/NetworkManager.in
3959 initscript/SUSE/networkmanager.in
3960 - Remove last bits of dhcdbd
3962 2008-04-27 Dan Williams <dcbw@redhat.com>
3964 * src/nm-device-802-11-wireless.c
3965 - (link_timeout_cb): don't ask for secrets when disconnected during
3966 association/authentication phase, drivers are still just too crappy
3968 2008-04-27 Dan Williams <dcbw@redhat.com>
3972 dispatcher-daemon/Makefile.am
3973 dispatcher-daemon/NetworkManagerDispatcher.c
3974 initscript/Arch/Makefile.am
3975 initscript/Arch/networkmanager-dispatcher.in
3976 initscript/Gentoo/Makefile.am
3977 initscript/Gentoo/NetworkManagerDispatcher.in
3978 initscript/Mandriva/Makefile.am
3979 initscript/Mandriva/networkmanagerdispatcher.in
3980 initscript/RedHat/Makefile.am
3981 initscript/RedHat/NetworkManagerDispatcher.in
3982 initscript/SUSE/Makefile.am
3983 initscript/SUSE/networkmanager-dispatcher.in
3984 initscript/Slackware/Makefile.am
3985 initscript/Slackware/rc.networkmanager-dispatcher.in
3986 initscript/paldo/Makefile.am
3987 initscript/paldo/NetworkManagerDispatcher.in
3989 man/NetworkManagerDispatcher.8.in
3990 - Remove the dispatcher daemon
3992 2008-04-27 Dan Williams <dcbw@redhat.com>
3994 * callouts/Makefile.am
3995 callouts/nm-dispatcher-action.c
3996 callouts/nm-dispatcher-action.h
3997 callouts/nm-dispatcher.conf
3998 callouts/nm-dispatcher.xml
3999 callouts/org.freedesktop.nm_dispatcher.service
4000 - Re-implement the dispatcher as a system-bus activated service that
4001 NM calls on-demand, rather than an always running daemon
4004 - Add callouts dir to includes to pick up dispatcher defines
4007 - (nm_device_state_changed): call dispatcher on device activated/
4010 * src/vpn-manager/nm-vpn-connection.c
4011 - (nm_vpn_connection_set_vpn_state): call dispatcher when VPN connections
4014 * src/NetworkManagerUtils.c
4015 src/NetworkManagerUtils.h
4016 - (nm_utils_call_dispatcher): helper to call dispatcher
4018 2008-04-27 Dan Williams <dcbw@redhat.com>
4020 * src/NetworkManagerUtils.c
4021 src/NetworkManagerUtils.h
4022 - remove unneeded includes
4023 - (nm_null_safe_strcmp, nm_ethernet_addresses_are_equal,
4024 nm_utils_inet_ip4_address_as_string, nm_timeval_has_passed,
4025 nm_timeval_cmp, nm_timeval_add): remove, unused
4026 - clean up formatting
4027 - (nm_spawn_process): de-uglify
4029 * src/nm-device-802-11-wireless.c
4030 - (get_active_ap): use memcmp() not nm_ethernet_addresses_are_equal()
4032 2008-04-26 Saleem Abdulrasool <compnerd@compnerd.org>
4034 * initscript/Gentoo/NetworkManager.in:
4035 Fix for starting the daemon.
4037 2008-04-25 Dan Williams <dcbw@redhat.com>
4039 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
4041 * src/NetworkManagerSystem.c
4042 - (nm_system_device_set_ip4_route): reimplement using libnl, not ioctls
4044 2008-04-25 Dan Williams <dcbw@redhat.com>
4046 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
4048 * src/NetworkManagerSystem.c
4049 - (nm_system_device_replace_default_ip4_route): new function; a libnl
4050 implementation of nm_system_device_replace_default_route()
4052 * src/NetworkManagerPolicy.c
4053 - (update_default_route): use nm_system_device_replace_default_ip4_route()
4055 * src/backends/NetworkManagerArch.c
4056 src/backends/NetworkManagerDebian.c
4057 src/backends/NetworkManagerFrugalware.c
4058 src/backends/NetworkManagerGeneric.c
4059 src/backends/NetworkManagerGeneric.h
4060 src/backends/NetworkManagerGentoo.c
4061 src/backends/NetworkManagerMandriva.c
4062 src/backends/NetworkManagerPaldo.c
4063 src/backends/NetworkManagerRedHat.c
4064 src/backends/NetworkManagerSlackware.c
4065 src/backends/NetworkManagerSuSE.c
4066 - (nm_system_device_replace_default_route): remove
4068 2008-04-25 Dan Williams <dcbw@redhat.com>
4070 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
4072 * src/NetworkManagerSystem.c
4073 - (validate_ip4_route): remove; use nl_addr_parse() instead
4074 - (nm_system_device_add_ip4_route_via_device_with_iface): new function,
4075 replace nm_system_device_add_route_via_device_with_iface() in the
4078 * src/backends/NetworkManagerArch.c
4079 src/backends/NetworkManagerDebian.c
4080 src/backends/NetworkManagerFrugalware.c
4081 src/backends/NetworkManagerGeneric.c
4082 src/backends/NetworkManagerGeneric.h
4083 src/backends/NetworkManagerGentoo.c
4084 src/backends/NetworkManagerMandriva.c
4085 src/backends/NetworkManagerPaldo.c
4086 src/backends/NetworkManagerRedHat.c
4087 src/backends/NetworkManagerSlackware.c
4088 src/backends/NetworkManagerSuSE.c
4089 - Remove nm_system_device_add_route_via_device_with_iface()
4091 2008-04-25 Dan Williams <dcbw@redhat.com>
4093 * system-settings/plugins/ifcfg-fedora/parser.c
4094 - (GET_ONE_DNS): fix parsing of DNS2 & DNS3
4096 2008-04-24 Dan Williams <dcbw@redhat.com>
4098 * dispatcher-daemon/NetworkManagerDispatcher.c
4099 - (nmd_execute_scripts): execute scripts in order as sorted by strcmp()
4101 2008-04-24 Dan Williams <dcbw@redhat.com>
4103 * initscript/RedHat/NetworkManager.in
4104 initscript/RedHat/NetworkManagerDispatcher.in
4105 - Be active at runlevel 2
4106 - Adjust priorities earlier
4108 2008-04-22 Dan Williams <dcbw@redhat.com>
4110 * src/NetworkManagerPolicy.c
4111 - (update_routing_and_dns): when checking for a gateway, look at the
4112 composite IP4 config, not the connection's ip4-config setting, which
4113 doesn't include DHCP-returned information
4115 2008-04-22 Tambet Ingo <tambet@gmail.com>
4117 Implement GKeyFile system settings plugin.
4118 Implement writing system settings (currently supported only by GKeyFile plugin).
4120 * system-settings/src/main.c:
4121 * system-settings/src/dbus-settings.c: Move the communication with plugins
4122 from main.c to dbus-settings.c. Makes it possible to talk to all registered
4123 plugins for adding/updating/removing connections.
4125 * system-settings/src/nm-system-config-interface.c
4126 (nm_system_config_interface_add_connection): Implement
4127 (nm_system_config_interface_update_connection): Implement.
4128 (nm_system_config_interface_remove_connection): Implement.
4130 * system-settings/plugins/keyfile/Makefile.am:
4131 * system-settings/plugins/keyfile/plugin.[ch]:
4132 * system-settings/plugins/keyfile/writer.[ch]:
4133 * system-settings/plugins/keyfile/reader.[ch]: Implement.
4135 * system-settings/plugins/Makefile.am: Add GKeyFile plugin.
4137 * configure.in: Generate GKeyFile Makefile.
4139 * libnm-glib/nm-settings.c (impl_exported_connection_get_id): Fix a memory
4140 corruption, need to duplicate the returned string.
4141 (impl_exported_connection_update): Implement.
4142 (impl_exported_connection_delete): Implement.
4144 * introspection/nm-settings-system.xml: Add "AddConnection" method.
4146 * introspection/nm-exported-connection.xml: Add "Update" and "Delete" methods.
4148 2008-04-22 Dan Williams <dcbw@redhat.com>
4150 Patch from Charles R. Anderson (cra@wpi.edu)
4152 * src/NetworkManagerPolicy.c
4153 - (update_routing_and_dns): don't select devices without a gateway
4154 as having the default route (rh #437338)
4156 2008-04-21 Dan Williams <dcbw@redhat.com>
4158 * src/nm-activation-request.c
4159 src/nm-activation-request.h
4160 - (dispose): ensure to disconnect from the device's state-changed signal
4161 when appropriate so the signal doesn't get handled by an already
4162 disposed NMActRequest
4163 - (device_state_changed): update is_default here too just to make sure
4164 default is only True when the child device is activated
4165 - (nm_act_request_set_default): new function
4167 * src/NetworkManagerPolicy.c
4168 - (update_routing_and_dns): set 'default' on the active connection which
4169 has the default route and DNS
4171 2008-04-21 Dan Williams <dcbw@redhat.com>
4173 * src/NetworkManagerPolicy.c
4174 - (device_state_changed): update routing and DNS when a device goes
4175 into unmanaged or unavailable states too (like rfkill or carrier loss)
4177 2008-04-21 Dan Williams <dcbw@redhat.com>
4179 * include/NetworkManager.h
4180 - Add NMActiveConnectionState enum
4182 * introspection/nm-active-connection.xml
4183 introspection/nm-vpn-connection.xml
4184 - Add 'State' property for overall active connection state
4185 - Add 'Default' property, when True means this active connection
4186 has the default route
4187 - Add PropertyChanged signals so changes actually go out over the bus
4189 * src/nm-active-connection.h
4190 - Add defines for State & Default properties
4192 * src/nm-activation-request.c
4193 - Add 'state' and 'default' properties, hook up to device 'state-changed'
4194 signal to determine active connection state
4196 * src/vpn-manager/nm-vpn-connection.c
4197 src/vpn-manager/nm-vpn-connection.h
4198 src/vpn-manager/nm-vpn-manager.c
4199 src/vpn-manager/nm-vpn-service.c
4200 - Rename old 'state' to 'vpn-state'
4201 - Rename nm_vpn_connection_get_state() -> nm_vpn_connection_get_vpn_state()
4202 - Add 'state' and 'default' properties, hook up to the vpn connection's
4203 'vpn-state-changed' signal
4205 * libnm-glib/nm-active-connection.c
4206 libnm-glib/nm-active-connection.h
4207 - Add new 'state' and 'default' properties and accessors
4209 * libnm-glib/nm-vpn-connection.c
4210 libnm-glib/nm-vpn-connection.h
4211 - Rename old 'state' property to 'vpn-state'
4212 - Add new 'state' and 'default' properties and accessors
4214 2008-04-21 Dan Williams <dcbw@redhat.com>
4216 * src/nm-ip4-config.c
4217 - (nm_ip4_config_to_rtnl_addr): fill in the broadcast address if it's
4218 not specified (rh #443474)
4220 2008-04-20 Dan Williams <dcbw@redhat.com>
4222 * src/NetworkManagerUtils.c
4223 src/NetworkManagerUtils.h
4224 - (nm_utils_merge_ip4_config): new function; merge settings from an
4225 NMSettingIP4Config to an NMIP4Config object
4228 - (merge_ip4_config): move to NetworkManagerUtils.c
4230 * src/vpn-manager/nm-vpn-connection.c
4231 - (nm_vpn_connection_ip4_config_get): merge in user-specified settings
4234 2008-04-18 Dan Williams <dcbw@redhat.com>
4236 * libnm-util/nm-setting-ppp.c
4237 libnm-util/nm-setting-ppp.h
4238 - Add 'no-vj-comp' option for TCP header compression
4239 - baud, mru, mtu, lcp_echo_failure, and lcp_echo_interval are really
4242 2008-04-18 Dan Williams <dcbw@redhat.com>
4244 * libnm-util/nm-setting-ppp.c
4245 libnm-util/nm-setting-ppp.h
4246 src/ppp-manager/nm-ppp-manager.c
4247 - Add 'refuse-pap' and 'refuse-mschapv2' options
4249 2008-04-18 Dan Williams <dcbw@redhat.com>
4251 * libnm-util/nm-setting-ppp.c
4252 libnm-util/nm-setting-ppp.h
4253 src/ppp-manager/nm-ppp-manager.c
4254 - Remove the 'usepeerdns' option and always request DNS servers from
4255 the PPP server; the connection chooses to use/override/ignore the
4256 DNS servers returned from the PPP server
4258 2008-04-18 Dan Williams <dcbw@redhat.com>
4260 * libnm-util/nm-setting-ppp.c
4261 libnm-util/nm-setting-ppp.h
4262 src/ppp-manager/nm-ppp-manager.c
4263 - Remove the 'require-mppc' option, because pppd doesn't support it and
4264 it seems to have been an erroneous addition to the PPTP plugin in
4265 the first place (from which the ppp-manager is derived)
4267 2008-04-17 Dan Williams <dcbw@redhat.com>
4269 * libnm-util/nm-setting-pppoe.c
4270 - (verify): require a PPP setting too
4272 * src/ppp-manager/nm-ppp-manager.c
4273 - (nm_ppp_manager_start): fail if no PPP setting is present instead of
4276 2008-04-17 Dan Williams <dcbw@redhat.com>
4279 - (nm_device_state_changed): do deactivation and and promotion to
4280 unavailable here, so that the device gets cleaned up before the
4281 manager runs and starts emitting signals; do the
4282 FAILED->DISCONNECTED transition from an idle handler rather than
4283 immediately to guard against recursion
4284 - (nm_device_deactivate_quickly, nm_device_dispose): stop the
4285 FAILED->DISCONNECTED handler if it's scheduled
4287 2008-04-17 Dan Williams <dcbw@redhat.com>
4289 * src/nm-device-802-11-wireless.c
4290 - (state_changed_cb): clear AP list when device transitions to
4291 unavailable or unmanaged
4292 - (nm_device_802_11_wireless_dispose): remove redundant set_current_ap()
4293 since this is already done in device_cleanup()
4294 - (supplicant_iface_scanned_ap_cb): don't leak new APs when the device
4295 isn't available or managed
4296 - (device_cleanup): use remove_all_aps()
4297 - (remove_all_aps): consolidate code removing all APs
4299 2008-04-17 Dan Williams <dcbw@redhat.com>
4301 * src/nm-serial-device.c
4302 src/nm-serial-device.h
4303 - (wait_for_reply_got_data): break input into lines, and search each
4304 line for responses _and_ terminator strings; also make sure that
4305 the read loop doesn't continue after the timeout is supposed to fire
4306 - (nm_serial_device_wait_for_reply): take an array of terminators too
4308 * src/nm-gsm-device.c
4309 src/nm-cdma-device.c
4310 - Send terminators to nm_serial_device_wait_for_reply()
4312 2008-04-16 Dan Williams <dcbw@redhat.com>
4314 Patch from 陈鑫 <znscnchen@gmail.com>
4316 * src/ppp-manager/nm-pppd-plugin.c
4317 - (get_credentials): return correct value for success; handle case where
4318 pppd just does some checking but doesn't want a password
4319 - (plugin_init): make CHAP work too
4321 2008-04-16 Dan Williams <dcbw@redhat.com>
4323 Patch from 陈鑫 <znscnchen@gmail.com>
4325 * src/ppp-manager/nm-ppp-manager.c
4326 - (create_pppd_cmd_line): fix argument generation when spawning pppd
4328 2008-04-16 Dan Williams <dcbw@redhat.com>
4330 Patch from 陈鑫 <znscnchen@gmail.com>
4332 * src/nm-device-802-3-ethernet.c
4333 - (real_deactivate_quickly): clear the IP interface name on
4334 deactivation, otherwise the wrong interface might get used later
4335 for routing and IP management
4337 2008-04-15 Dan Williams <dcbw@redhat.com>
4339 * libnm-glib/nm-device.c
4340 - (get_product_and_vendor): handle serial devices correctly
4341 - (nm_device_update_description): pass device to get_product_and_vendor()
4343 2008-04-15 Dan Williams <dcbw@redhat.com>
4345 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
4347 * src/NetworkManagerSystem.h
4348 src/backends/NetworkManagerArch.c
4349 src/backends/NetworkManagerDebian.c
4350 src/backends/NetworkManagerFrugalware.c
4351 src/backends/NetworkManagerGeneric.c
4352 src/backends/NetworkManagerGeneric.h
4353 src/backends/NetworkManagerGentoo.c
4354 src/backends/NetworkManagerMandriva.c
4355 src/backends/NetworkManagerPaldo.c
4356 src/backends/NetworkManagerRedHat.c
4357 src/backends/NetworkManagerSlackware.c
4358 src/backends/NetworkManagerSuSE.c
4360 - (nm_generic_device_add_ip6_link_address,
4361 nm_system_device_add_ip6_link_address): remove
4363 2008-04-15 Dan Williams <dcbw@redhat.com>
4365 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
4367 * src/backends/NetworkManagerArch.c
4368 src/backends/NetworkManagerDebian.c
4369 src/backends/NetworkManagerFrugalware.c
4370 src/backends/NetworkManagerGeneric.c
4371 src/backends/NetworkManagerGeneric.h
4372 src/backends/NetworkManagerGentoo.c
4373 src/backends/NetworkManagerMandriva.c
4374 src/backends/NetworkManagerPaldo.c
4375 src/backends/NetworkManagerRedHat.c
4376 src/backends/NetworkManagerSlackware.c
4377 src/backends/NetworkManagerSuSE.c
4378 src/NetworkManagerSystem.h
4379 - flush_routes -> flush_ip4_routes
4380 - flush_addresses -> flush_ip4_addresses
4382 * src/NetworkManagerSystem.c
4384 src/vpn-manager/nm-vpn-connection.c
4385 - flush only IPv4 addresses; don't touch IPv6 routes and addresses
4387 2008-04-15 Dan Williams <dcbw@redhat.com>
4389 Remove exposure of wireless-tools mode types in the API.
4391 * include/NetworkManager.h
4392 - Define NM80211Mode enum
4394 * introspection/generic-types.xml
4395 - Describe NM_802_11_MODE enum
4396 - Remove IW_MODE_* enum
4398 * introspection/nm-access-point.xml
4399 libnm-glib/nm-access-point.c
4400 libnm-glib/nm-access-point.h
4401 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
4403 * introspection/nm-device-802-11-wireless.xml
4404 libnm-glib/nm-device-802-11-wireless.c
4405 libnm-glib/nm-device-802-11-wireless.h
4406 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
4408 * libnm-util/nm-setting-wireless.c
4409 src/NetworkManagerAP.c
4410 src/NetworkManagerAP.h
4411 src/nm-device-802-11-wireless.c
4412 src/nm-device-802-11-wireless.h
4414 - Use NM80211Mode not IW_MODE_*
4416 2008-04-15 Dan Williams <dcbw@redhat.com>
4418 Enhance nm-online based on a patch from Bill Nottingham.
4422 - Add help messages and option summary
4423 - Add long-format options
4424 - Add a '-x' option to exit if NM isn't running or isn't connecting
4426 2008-04-15 Tambet Ingo <tambet@gmail.com>
4428 * libnm-util/nm-setting.c (nm_setting_duplicate): Implement.
4430 * libnm-util/nm-connection.c (nm_connection_remove_setting): Implement.
4432 2008-04-15 Dan Williams <dcbw@redhat.com>
4434 * nm-setting-ip4-config.c
4435 - (ip4_addresses_from_gvalue): handle NULL address array
4437 * nm-setting-8021x.c
4438 - (verify_tls, verify_ttls): warn on failed verification
4440 2008-04-10 Dan Williams <dcbw@redhat.com>
4442 * src/nm-gsm-device.c
4443 - (automatic_registration): accept "+CREG: 0,0"
4444 - (automatic_registration_response): fail on "+CREG: 0,0"
4446 2008-04-10 Tambet Ingo <tambet@gmail.com>
4448 * libnm-util/nm-setting-wired.c (get_property): Fix a typo.
4450 2008-04-10 Tambet Ingo <tambet@gmail.com>
4452 * system-settings/plugins/ifcfg-suse/parser.c (make_wireless_security_setting):
4453 Make it compile again by commenting out broken code that at first didn't work and
4454 now didn't compile either.
4456 2008-04-08 Dan Williams <dcbw@redhat.com>
4458 * libnm-glib/nm-object-cache.c
4459 libnm-glib/nm-settings.c
4460 src/dhcp-manager/nm-dhcp-manager.c
4461 system-settings/plugins/ifcfg-fedora/plugin.c
4462 system-settings/plugins/ifcfg-suse/plugin.c
4463 system-settings/src/nm-system-config-hal-manager.c
4464 libnm-util/nm-utils.c
4465 - Remove usage of GStaticMutex since gcc-4.3 hates it and because we're
4466 not threadsafe anyway
4468 2008-04-08 Dan Williams <dcbw@redhat.com>
4470 * system-settings/src/main.c
4471 - (load_stuff, device_added_cb, device_removed_cb): device added/removed
4472 callbacks take a device type too
4474 2008-04-08 Dan Williams <dcbw@redhat.com>
4476 The system settings service will now create a new default DHCP connection
4477 for wired devices that have no existing applicable connection.
4479 * system-settings/src/nm-system-config-hal-manager.c
4480 system-settings/src/nm-system-config-hal-manager.h
4481 - (nm_system_config_hal_manager_get_type_for_udi): new function
4483 * system-settings/src/dbus-settings.c
4484 system-settings/src/dbus-settings.h
4485 - (nm_sysconfig_settings_get_connections): new function
4486 - (nm_sysconfig_settings_is_device_managed): new function
4488 * system-settings/src/main.c
4489 - (load_stuff): check for wired devices that need a default connection
4490 - (get_details_for_udi): get interface and MAC address from HAL
4491 - (add_default_dhcp_connection): add a default connection for a wired
4493 - (device_added_cb, device_removed_cb): do the right thing with
4494 wired devices and their default connections on HAL device events
4496 2008-04-07 Dan Williams <dcbw@redhat.com>
4498 * libnm-glib/nm-device.c
4499 libnm-glib/nm-device.h
4500 - Proxy the 'managed' property
4502 2008-04-07 Dan Williams <dcbw@redhat.com>
4504 * src/nm-gsm-device.c
4505 src/nm-cdma-device.c
4506 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
4507 handler to transition to DISCONNECTED
4509 2008-04-07 Dan Williams <dcbw@redhat.com>
4511 Patch from Bill Nottingham
4513 * dispatcher-daemon/NetworkManagerDispatcher.c
4514 - ignore backup/packaging crufy (rh #440143)
4516 2008-04-07 Dan Williams <dcbw@redhat.com>
4518 * include/NetworkManager.h
4519 - Remove the DOWN and CANCELLED device states
4520 - Add UNMANAGED and UNAVAILABLE device states
4521 - Document the device states
4523 * introspection/nm-device.xml
4524 src/nm-device-interface.c
4525 src/nm-device-interface.h
4526 - Add the 'managed' property
4529 - (detail_device): print out device state
4531 * src/NetworkManagerSystem.h
4532 src/backends/NetworkManagerArch.c
4533 src/backends/NetworkManagerDebian.c
4534 src/backends/NetworkManagerFrugalware.c
4535 src/backends/NetworkManagerGentoo.c
4536 src/backends/NetworkManagerMandriva.c
4537 src/backends/NetworkManagerPaldo.c
4538 src/backends/NetworkManagerRedHat.c
4539 src/backends/NetworkManagerSlackware.c
4540 src/backends/NetworkManagerSuSE.c
4541 - (nm_system_device_get_system_config, nm_system_device_get_disabled
4542 nm_system_device_free_system_config): remove; they were unused and
4543 their functionality should be re-implemented in each distro's
4544 system settings service plugin
4546 * src/nm-gsm-device.c
4548 src/nm-cdma-device.c
4549 src/nm-cdma-device.h
4550 - (*_new): take the 'managed' argument
4553 - (nm_device_set_address): remove, fold into nm_device_bring_up()
4554 - (nm_device_init): start in unmanaged state, not disconnected
4555 - (constructor): don't start device until the system settings service
4556 has had a chance to figure out if the device is managed or not
4557 - (nm_device_deactivate, nm_device_bring_up, nm_device_bring_down):
4558 don't set device state here, let callers handle that as appropriate
4559 - (nm_device_dispose): don't touch the device if it's not managed
4560 - (set_property, get_property, nm_device_class_init): implement the
4562 - (nm_device_state_changed): bring the device up if its now managed,
4563 and deactivate it if it used to be active
4564 - (nm_device_get_managed, nm_device_set_managed): do the right thing
4565 with the managed state
4567 * src/nm-hal-manager.c
4568 - (wired_device_creator, wireless_device_creator, modem_device_creator):
4569 take initial managed state and pass it along to device constructors
4570 - (create_device_and_add_to_list): get managed state and pass to
4573 * src/nm-device-802-11-wireless.c
4574 - (real_can_activate): fold in most of
4575 nm_device_802_11_wireless_can_activate()
4576 - (can_scan): can't scan in UNAVAILABLE or UNMANAGED
4577 - (link_timeout_cb): instead of deactivating, change device state and
4578 let the device state handler to it
4579 - (real_update_hw_address): clean up
4580 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
4581 handler to transition to DISCONNECTED if the device isn't rfkilled
4583 * src/nm-device-802-3-ethernet.c
4584 - (set_carrier): move above callers and get rid of prototype
4585 - (device_state_changed): when entering UNAVAILABLE state, schedule an
4586 idle handler to transition to DISCONNECTED if the device has a
4588 - (real_update_hw_address): clean up
4589 - (link_timeout_cb, ppp_state_changed): change state instead of calling
4590 deactivation directly as deactivation doesn't change state anymore
4592 * src/NetworkManagerPolicy.c
4593 - (schedule_activate_check): yay, remove wireless_enabled hack since
4594 the NMManager and wireless devices work that out themselves now
4595 - (device_state_changed): change to a switch and update for new device
4597 - (device_carrier_changed): remove; device handles this now through
4599 - (device_added): don't care about carrier any more; the initial
4600 activation check will happen when the device transitions to
4604 - (dispose): clear unmanaged devices
4605 - (handle_unmanaged_devices): update unmanaged device list and toggle
4606 the managed property on each device when needed
4607 - (system_settings_properties_changed_cb): handle signals from the
4608 system settings service
4609 - (system_settings_get_unmanaged_devices_cb): handle callback from
4610 getting the unmanaged device list method call
4611 - (query_unmanaged_devices): ask the system settings service for its
4612 list of unmanaged devices
4613 - (nm_manager_name_owner_changed, initial_get_connections): get unmanaged
4615 - (manager_set_wireless_enabled): push rfkill state down to wireless
4616 devices directly and let them handle the necessary state transitions
4617 - (manager_device_state_changed): update for new device states
4618 - (nm_manager_add_device): set initial rfkill state on wireless devices
4619 - (nm_manager_remove_device): don't touch the device if it's unmanaged
4620 - (nm_manager_activate_connection): return error if the device is
4622 - (nm_manager_sleep): handle new device states correctly; don't change
4623 the state of unavailable/unmanaged devices
4625 * libnm-glib/nm-device-802-11-wireless.c
4626 - (state_changed_cb): update for new device states
4628 2008-04-07 Dan Williams <dcbw@redhat.com>
4630 * marshallers/nm-marshal.list
4631 - Add VOID:STRING,UINT marshaller for system settings HAL manager
4633 2008-04-07 Dan Williams <dcbw@redhat.com>
4635 * system-settings/src/main.c
4636 - (unmanaged_devices_changed_cb, register_plugin): proxy changes from
4637 plugins to the dbus settings object
4638 - (load_stuff): start the dbus service after grabbing unmanaged devices
4639 - (dbus_reconnect, dbus_cleanup): make HAL manager aware of dbus events
4640 - (log_handler, logging_setup, logging_shutdown): log output to syslog
4641 - (main): switch default logging to syslog with a 'debug' option to
4642 output to console; start up the HAL manager
4644 2008-04-07 Dan Williams <dcbw@redhat.com>
4646 * introspection/nm-settings-system.xml
4647 introspection/Makefile.am
4648 - Define the unmanaged devices interface for the system settings service
4650 * system-settings/src/nm-system-config-hal-manager.c
4651 system-settings/src/nm-system-config-hal-manager.h
4652 system-settings/src/nm-system-config-hal-manager-private.h
4653 system-settings/src/Makefile.am
4654 - Add a lightweight HAL manager object for tracking network devices for
4655 the purpose of determining unmanaged devices and which devices need
4656 the default DHCP connections
4658 * system-settings/src/nm-system-config-interface.c
4659 system-settings/src/nm-system-config-interface.h
4660 - (nm_system_config_interface_init): add the HAL manager as an argument
4661 - (nm_system_config_interface_get_unmanaged_devices): implement
4662 - Define 'unmanaged-devices-changed' signal
4664 * system-settings/src/dbus-settings.c
4665 system-settings/src/dbus-settings.h
4666 - Implement the unmanaged devices interface; some cleanups
4668 * system-settings/plugins/ifcfg-suse/plugin.c
4669 - Fixup for plugin interface changes
4671 * system-settings/plugins/ifcfg-fedora/plugin.c
4672 - (get_ether_device_udi): new function; find the device that has
4673 a specified MAC address and return its UDI
4674 - (get_udi_for_connection): new function; try to find the specific
4675 device a connection is locked to, if any
4676 - (device_added_cb, device_removed_cb): update unmanaged device list in
4677 response to HAL events
4678 - (get_unmanaged_devices): new function; return unmanaged device list
4679 - (build_one_connection): set the connection's locked device, if any
4680 - (write_auto_wired_connection): remove
4681 - (kill_old_auto_wired_file): remove the ifcfg-Auto Wired file if found
4682 - (handle_connection_changed): alert listeners that the unmanaged device
4684 - (init): fixup for plugin interface changes, implement unmanaged devices
4686 * system-settings/plugins/ifcfg-fedora/parser.c
4687 system-settings/plugins/ifcfg-fedora/parser.h
4688 - (connection_data_free): clean up connection UDI
4690 2008-04-07 Dan Williams <dcbw@redhat.com>
4692 * system-settings/plugins/ifcfg-fedora/parser.c
4693 - (make_ip4_setting): fix parsing of DNS servers
4695 2008-04-05 Dan Williams <dcbw@redhat.com>
4699 marshallers/Makefile.am
4700 marshallers/nm-marshal-main.c
4701 marshallers/nm-marshal.list
4702 - Consolidate marshallers
4704 * libnm-glib/nm-marshal-main.c
4705 libnm-glib/nm-marshal.list
4706 src/marshallers/Makefile.am
4707 src/marshallers/nm-marshal-main.c
4708 src/marshallers/nm-marshal.list
4711 * libnm-glib/Makefile.am
4713 src/dhcp-manager/Makefile.am
4714 src/ppp-manager/Makefile.am
4715 src/supplicant-manager/Makefile.am
4716 src/vpn-manager/Makefile.am
4717 - Use consolidated marshallers
4719 2008-04-04 Dan Williams <dcbw@redhat.com>
4721 * src/nm-hal-manager.c
4722 src/nm-hal-manager.h
4723 - (hal_init): don't look for hardware here
4724 - (nm_hal_manager_start): new function; look for hardware here instead,
4725 which can be done at a later time than hal_init()
4727 * src/NetworkManager.c
4728 - (main): start HAL manager after entering the main loop
4730 2008-04-03 Dan Williams <dcbw@redhat.com>
4732 * libnm-glib/nm-settings.c
4733 libnm-glib/nm-settings.h
4734 - (nm_exported_connection_get_id): new function
4735 - (impl_exported_connection_get_id): use nm_exported_connection_get_id()
4737 2008-04-02 Dan Williams <dcbw@redhat.com>
4739 * src/nm-device-interface.c
4740 src/nm-device-interface.h
4743 - Rename check_connection_conflicts() to check_connection_compatible()
4745 * src/nm-device-802-11-wireless.c
4746 - (real_check_connection_conflicts): remove
4747 - (real_check_connection_compatible): implement; match MAC address
4749 * src/nm-device-802-3-ethernet.c
4750 - (real_check_connection_conflicts): remove
4751 - (real_check_connection_compatible): implement; match MAC address
4752 - (real_get_best_auto_connection): correctly handle PPPoE cases
4755 - (check_connection_allowed): remove; unused until PolicyKit integration
4756 - (internal_activate_device): check whether the connection is compatible
4757 with the device before trying to activate it
4759 2008-04-02 Dan Williams <dcbw@redhat.com>
4761 * system-settings/plugins/ifcfg-fedora/parser.c
4762 - (read_mac_address): new function; read in MAC address and stuff it
4764 - (add_one_wep_key): remove debug spew
4765 - (make_wireless_security_setting): validate the default TX key; don't
4766 add the wireless-security setting if the connection doesn't need
4767 security; don't leak the keys shvarFile on error cases
4768 - (make_wireless_setting, make_wired_setting): populate device's MAC
4771 2008-04-02 Dan Williams <dcbw@redhat.com>
4773 * libnm-util/nm-setting-connection.c
4774 libnm-util/nm-setting-connection.h
4775 - (set_property, get_property, nm_setting_connection_class_init): remove
4776 the 'lockdown' property; it's functionality will be replaced by
4779 2008-04-01 Dan Williams <dcbw@redhat.com>
4781 Patch from Per Øyvind Karlsen <peroyvind@mandriva.org>
4784 initscript/Makefile.am
4785 initscript/Mandriva/Makefile.am
4786 initscript/Mandriva/networkmanager.in
4787 initscript/Mandriva/networkmanagerdispatcher.in
4788 src/backends/Makefile.am
4789 src/backends/NetworkManagerMandriva.c
4790 system-settings/plugins/Makefile.am
4791 - Add Mandriva support
4793 2008-03-31 Dan Williams <dcbw@redhat.com>
4795 * src/vpn-manager/nm-vpn-service.c
4796 - (nm_vpn_service_daemon_exec): add an error argument so that spawn
4797 errors can be passed back to the caller; also no longer scheduled
4798 as an idle handler, but called directly; and bump up VPN service
4799 spawn timeout, 2s is really short
4800 - (nm_vpn_service_activate): don't schedule the VPN service activation,
4801 but call it directly so that errors are reported on return from
4802 ActivateConnection() and don't get lost. If scheduled as an idle
4803 handler, clients don't have the time to query NM for the new VPN
4804 connection's properties before the VPN connection is torn down again
4805 if the service couldn't be launched, and therefore launch errors
4808 2008-03-31 Dan Williams <dcbw@redhat.com>
4810 * src/vpn-manager/nm-vpn-connection.c
4811 - (device_state_changed): send correct state on device failure too
4812 - (plugin_state_changed): failed state means unexpected disconnection,
4813 thus if the service goes away while the VPN connection is activated
4814 that's a failure too
4816 2008-03-31 Dan Williams <dcbw@redhat.com>
4818 * src/vpn-manager/nm-vpn-manager.c
4819 src/vpn-manager/nm-vpn-manager.h
4820 - Make VPNManager errors more available; add a service-start-failed error
4822 2008-03-31 Dan Williams <dcbw@redhat.com>
4824 * libnm-glib/nm-client.c
4825 libnm-glib/nm-client.h
4826 - (activate_cb): pass the new active connection to callback; fix
4827 message when no callback is specified
4829 2008-03-30 Dan Williams <dcbw@redhat.com>
4831 * libnm-util/nm-setting-wireless-security.c
4832 - (need_secrets): only require key0 if the transmit key index is also
4834 - (verify): reject non-NULL but zero-length WEP keys; these are invalid
4836 2008-03-29 Dan Williams <dcbw@redhat.com>
4838 * libnm-util/nm-setting-8021x.c
4839 libnm-util/nm-setting-ip4-config.c
4840 libnm-util/nm-setting-vpn-properties.c
4841 libnm-util/nm-setting-vpn.c
4842 libnm-util/nm-setting-wireless-security.c
4843 libnm-util/nm-setting-wireless.c
4844 libnm-util/nm-utils.c
4845 src/dhcp-manager/nm-dhcp-manager.c
4846 src/nm-activation-request.c
4849 src/nm-properties-changed-signal.c
4850 src/ppp-manager/nm-pppd-plugin.c
4851 src/supplicant-manager/nm-supplicant-interface.c
4852 src/vpn-manager/nm-vpn-connection.c
4853 - consistently use nm-dbus-glib-types.h
4855 2008-03-29 Dan Williams <dcbw@redhat.com>
4857 * src/vpn-manager/nm-vpn-connection.c
4858 - (nm_vpn_connection_class_init): PROP_SPECIFIC_OBJECT should be boxed,
4861 * src/nm-activation-request.c
4862 - (nm_act_request_class_init): PROP_SPECIFIC_OBJECT should be boxed,
4865 2008-03-29 Dan Williams <dcbw@redhat.com>
4867 * libnm-glib/nm-device-802-11-wireless.c
4868 - (access_point_added_proxy): create new APs if not found
4870 2008-03-29 Dan Williams <dcbw@redhat.com>
4872 * libnm-glib/nm-client.c
4873 - (proxy_name_owner_changed): tell wireless devices about rfkill state
4876 2008-03-29 Dan Williams <dcbw@redhat.com>
4878 * system-settings/plugins/ifcfg-fedora/parser.c
4879 - Fix parsing of WEP keys; ifcfg files use indexes [1...4] rather than
4880 [0...3]; also handle KEY correctly in combination with DEFAULTKEY
4882 2008-03-29 Dan Williams <dcbw@redhat.com>
4884 * system-settings/plugins/ifcfg-fedora/parser.c
4885 - (get_one_wep_key, make_wireless_security_setting): handle "KEY" too
4887 2008-03-27 Dan Williams <dcbw@redhat.com>
4890 - (nm_object_queue_notify): don't notify multiple times for the same
4893 * nm-object-private.h
4894 - (handle_ptr_array_return): return NULL if the given array is NULL or
4895 if it has zero elements
4898 - (finalize): use g_ptr_array_foreach() when freeing domains
4899 - (nm_ip4_config_get_domains): use handle_ptr_array_return()
4901 * nm-active-connection.c
4902 - (nm_active_connection_get_devices): use handle_ptr_array_return()
4904 * nm-device-802-11-wireless.c
4905 nm-device-802-11-wireless.h
4906 - (nm_device_802_11_wireless_get_access_points): return const; use
4907 handle_ptr_array_return()
4910 - (nm_object_array_demarshal): always create an array, even of length
4911 zero, to distinguish between "NM returned no items" and "haven't
4915 - (dispose): free active connections too
4916 - (proxy_name_owner_changed): free active connections too when NM goes
4918 - (nm_client_get_devices): return const; use handle_ptr_array_return()
4919 - (nm_client_get_active_connections): use handle_ptr_array_return()
4921 2008-03-26 Dan Williams <dcbw@redhat.com>
4923 Rework VPN connection handling for a more consistent D-Bus API. The
4924 VPNManager object has been removed, and active VPN connections are now the
4925 same as any other active connection. The Manager object's ActivateConnection
4926 and DeactivateConnection methods are used to start and stop a VPN connection,
4927 and the VPNConnection objects are subclasses of the ActiveConnection objects.
4928 When activating a VPN connection, pass the path of the active connection
4929 to which the VPN connection is tied in the 'specific_object' argument.
4931 Consequently, the libnm-glib API has been reworked to match this arrangement,
4932 with the VPNManager object removed, and the NMVPNConnection objects now
4933 being subclasses of NMActiveConnection.
4935 2008-03-25 Dan Williams <dcbw@redhat.com>
4937 Patch from Björn Martensen <bjoern.martensen@gmail.com>
4939 * initscript/Arch/networkmanager.in
4940 initscript/Arch/networkmanager-dispatcher.in
4941 - Updates for Arch Linux (gnome.org #523701)
4943 2008-03-25 Dan Williams <dcbw@redhat.com>
4945 * libnm-glib/nm-ip4-config.c
4946 libnm-glib/nm-active-connection.c
4947 libnm-glib/nm-access-point.c
4948 - Use nm_object_queue_notify() instead of g_object_notify()
4950 * libnm-glib/nm-device.c
4951 - (demarshal_ip4_config): distinguish between successful but missing
4952 ip4-config request, and unsuccessful and missing ip4-config request
4953 - (nm_device_get_ip4_config): don't try to demarshal a NULL ip4-config
4955 - Use nm_object_queue_notify() instead of g_object_notify()
4957 * libnm-glib/nm-device-802-11-wireless.c
4958 - (demarshal_active_ap): distinguish between successfull but missing
4959 active-ap request, and unsuccessful and missing active-ap request
4960 - (dispose, clean_up_aps): consolidate AP list and active AP clearing
4962 - (nm_device_802_11_wireless_set_wireless_enabled): add a private hook
4963 for the NMClient to notify the device that wireless is disabled,
4964 and therefore to clear the AP list and active AP
4965 - Use nm_object_queue_notify() instead of g_object_notify()
4967 * libnm-glib/nm-client.c
4968 - (poke_wireless_devices_with_rf_status): new function
4969 - (update_wireless_status): notify wireless devices of the rfkill status
4970 so they can clean up if needed
4971 - Use nm_object_queue_notify() instead of g_object_notify()
4973 2008-03-25 Dan Williams <dcbw@redhat.com>
4975 * libnm-glib/nm-object.c
4976 libnm-glib/nm-object-private.h
4977 - (nm_object_queue_notify): add helper to batch & postpone GObject notify
4978 signals to an idle handler
4979 - (nm_object_get_property): add a timeout to the D-Bus method call
4981 2008-03-25 Dan Williams <dcbw@redhat.com>
4983 * introspection/nm-device-cdma.xml
4984 introspection/nm-device-gsm.xml
4985 introspection/Makefile.am
4986 introspection/all.xml
4987 - Add introspection for CDMA and GSM devices for PropertiesChanged signal
4989 * src/nm-gsm-device.h
4991 src/nm-cdma-device.h
4992 src/nm-cdma-device.c
4994 - Implement PropertiesChanged signals
4996 * libnm-glib/nm-cdma-device.c
4997 libnm-glib/nm-cdma-device.c
4998 - Attach to PropertiesChanged signals
5000 2008-03-24 Dan Williams <dcbw@redhat.com>
5002 * libnm-glib/nm-client.c
5003 - (client_device_added_proxy): add new devices to the internal device
5004 list so they appear to clients
5006 2008-03-24 Dan Williams <dcbw@redhat.com>
5008 Massive fixup of libnm-glib to:
5009 a) have all objects (with the exception of VPN) cache their properties and
5010 update them asynchronously on PropertiesChanged signals from NM
5011 b) return internal const data for most attributes/properties instead of
5012 allocated values that the caller must free
5013 c) cache wrapped objects such that a given D-Bus path will always map to the
5014 same GObject returned by libnm-glib
5015 d) remove a few signals and move them to GObject property notifications
5016 e) match recent NM D-Bus API changes for activation/deactivation
5017 f) remove some private functions from libnm-glib headers
5019 2008-03-20 Dan Williams <dcbw@redhat.com>
5022 - (nm_manager_update_state, manager_device_state_changed,
5023 nm_manager_activate_device, connection_added_default_handler,
5024 impl_manager_activate_connection, impl_manager_deactivate_connection):
5025 queue PropertyChanged singals when the active connections change
5027 2008-03-20 Dan Williams <dcbw@redhat.com>
5029 * introspection/nm-manager.xml
5030 introspection/nm-manager-client.xml
5031 - (ActivateConnection): return the object path of the active connection
5033 - (GetActiveConnections): remove
5034 - (DeactivateConnection): new function; deactivate a currently active
5036 - Add an ActiveConnections property which returns an array of
5037 active connection object paths
5039 * introspection/nm-device.xml
5040 - (Deactivate): remove
5042 * introspection/all.xml
5043 - Add ActiveConnection introspection
5045 * introspection/nm-active-connection.xml
5046 - Add the ActiveConnection object
5048 * include/NetworkManager.h
5049 - Add the Connection.Active D-Bus interface
5051 * src/nm-device-interface.c
5052 - (impl_device_deactivate): remove
5054 * src/nm-activation-request.c
5055 src/nm-activation-request.c
5057 - Implement the Connection.Active D-Bus interface
5060 - (get_property, nm_manager_class_init): add ACTIVE_CONNECTIONS property
5061 - (nm_manager_activate_device): return the active connection path
5062 - (connection_added_default_handler, impl_manager_activate_connection):
5063 return the active connection to the caller
5064 - (add_one_connection_element, impl_manager_get_active_connections):
5066 - (impl_manager_deactivate_connection): new function; deactivate an
5069 * libnm-glib/nm-device.c
5070 libnm-glib/nm-device.h
5071 - Remove Deactivate() function
5073 2008-03-19 Dan Williams <dcbw@redhat.com>
5075 * introspection/nm-manager.xml
5076 introspection/nm-manager-client.xml
5077 - Rename the ActivateDevice method to ActivateConnection to better
5078 reflect it's usage; it's arguments get reordered a bit too
5079 - Convert GetActiveConnections method return from a struct to a dict
5081 * include/NetworkManager.h
5082 - Define the dict keys for return value of GetActiveConnections
5085 - impl_manager_activate_device -> impl_manager_activate_connection
5086 - (add_one_connection_element): return a populated hash table, not
5089 * libnm-glib/nm-client.c
5090 libnm-glib/nm-client.h
5091 - nm_client_activate_device -> nm_client_activate_connection
5092 - nm_client_free_active_connection_element -> nm_client_free_active_connections_element
5093 - (nm_client_get_active_connections): return a GSList of GHashTables,
5094 instead of the custom structures. Each element of the returned list
5095 must be freed with nm_client_free_active_connections_element()
5097 2008-03-18 Dan Williams <dcbw@redhat.com>
5099 * system-settings/plugins/ifcfg-fedora/parser.c
5100 system-settings/plugins/ifcfg-fedora/parser.h
5101 system-settings/plugins/ifcfg-fedora/plugin.c
5102 - Read settings from /etc/sysconfig/network-scripts/ instead of using
5103 profiles. DNS servers and searches must now be stored in the ifcfg
5106 2008-03-18 Tambet Ingo <tambet@gmail.com>
5108 * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Don't
5109 print out username and password, it's supposed to be a secret.
5111 * src/nm-device-802-3-ethernet.c (ppp_state_changed): Handle authentication
5112 request and set the device state accordingly.
5114 2008-03-18 Tambet Ingo <tambet@gmail.com>
5116 * src/nm-device-802-3-ethernet.c: Implement wired 802.1x authentication.
5118 * libnm-util/nm-setting-wireless-security.h: Fix a typo.
5120 2008-03-18 Dan Williams <dcbw@redhat.com>
5122 * src/vpn-manager/nm-vpn-connection.c
5123 - (get_secrets_cb): handle new GetSecrets return format
5125 2008-03-18 Dan Williams <dcbw@redhat.com>
5127 Adapt system settings service for split 802.1x.
5129 * system-settings/src/nm-system-config-interface.h
5130 - clarify return value of get_secrets()
5132 * system-settings/src/dbus-settings.c
5133 - (string_to_gvalue, destroy_gvalue, add_one_secret_to_hash): remove
5134 - (check_for_secrets): check if there actually secrets returned by a
5136 - (exported_connection_get_secrets): just return the plugin-returned
5137 hash of settings' secrets if it looks valid
5139 * system-settings/plugins/ifcfg-fedora/plugin.c
5140 - (get_secrets): add split secrets with correct format to reply hash
5142 * system-settings/plugins/ifcfg-fedora/parser.c
5143 system-settings/plugins/ifcfg-fedora/parser.h
5144 - (copy_one_cdata_secret, connection_data_copy_secrets,
5145 connection_data_free, connection_data_add): keep secrets for
5146 different settings in different hashes
5148 2008-03-17 Tambet Ingo <tambet@gmail.com>
5150 Clean up activating device deactivation.
5152 * src/nm-device.c (real_activation_cancel_handler): Remove. The same thing
5153 should be done whether the device activation gets cancelled or the device
5154 is just getting deactivated.
5155 (nm_device_activation_cancel): Remove.
5156 (nm_device_deactivate_quickly): Handle the case where device is activating.
5158 * src/nm-device-802-11-wireless.c (real_activation_cancel_handler): Remove.
5159 It does the exact same thing as real_deactivate_quickly().
5161 2008-03-17 Dan Williams <dcbw@redhat.com>
5163 Split the 802.1x bits out of the wireless-security setting so they are
5164 generalized enough for wired 802.1x to use too.
5166 * introspection/nm-exported-connection.xml
5167 - GetSecrets now returns 'a{sa{sv}}' (a hash of settings hashes) instead
5168 of just a hash of the secrets for one setting
5170 * libnm-util/nm-setting-wireless-security.c
5171 libnm-util/nm-setting-wireless-security.h
5172 - Remove 802.1x-specific stuff
5173 - Added leap-username and leap-password properties for old-school LEAP
5177 - (connection_secrets_updated_cb): take a list of updated settings names,
5180 * src/supplicant-manager/nm-supplicant-config.c
5181 src/supplicant-manager/nm-supplicant-config.h
5182 - (nm_supplicant_config_add_setting_wireless_security): remove 802.1x
5183 specific stuff; fix for updated LEAP bits; punt 802.1x stuff
5184 to nm_supplicant_config_add_setting_8021x()
5185 - (nm_supplicant_config_add_setting_8021x): add an 802-1x setting to
5186 the supplicant config
5188 * src/nm-device-802-11-wireless.c
5189 - (build_supplicant_config): pass in the 802.1x setting too, if any
5190 - (real_connection_secrets_updated): take a list of updated settings
5193 * src/nm-device-802-3-ethernet.c
5194 src/nm-cdma-device.c
5196 - (real_connection_secrets_updated_cb): take a list of updated settings
5199 * src/nm-activation-request.c
5200 src/nm-activation-request.h
5201 - (nm_act_request_class_init): the 'connection-secrets-updated' signal
5202 now passes a list of updated settings names, not just one
5203 - (update_one_setting): new function; handle one updated setting
5204 - (get_secrets_cb): handle multiple settings returned from the
5205 settings service; have to be careful of ordering here as there are
5206 some dependencies between settings (ex. wireless-security and 802.1x
5209 * src/marshallers/nm-marshal.list
5210 - new marshaller for connection-secrets-updated signal
5212 * libnm-util/nm-setting-8021x.c
5213 - Add back the 'pin' and 'psk' settings, for EAP-SIM and EAP-PSK auth
5215 - (verify): a valid 'eap' property is now required
5217 * libnm-util/nm-connection.c
5218 - (register_default_settings): add priorities to settings; there are
5219 some dependencies between settings, and during the need_secrets
5220 calls this priority needs to be respected. For example, only the
5221 wireless-security setting knows whether or not the connection is
5222 going to use 802.1x or now, so it must be asked for secrets before
5223 any existing 802.1x setting is
5224 - (nm_connection_lookup_setting_type): expose
5226 * libnm-util/nm-setting-wireless.c
5227 - (verify): should verify even if all_settings is NULL; otherwise won't
5228 catch the case where there is missing security
5230 * libnm-util/nm-setting-wireless-security.c
5231 - Remove everything to do with 802.1x
5232 - Add old-school LEAP specific properties for username and password
5233 - (need_secrets): rework LEAP secrets checking
5234 - (verify): rework for LEAP and 802.1x verification
5236 2008-03-17 Dan Williams <dcbw@redhat.com>
5238 * src/NetworkManagerPolicy.c
5239 - (auto_activate_device): always remove the current activation check
5240 from the pending activation list, otherwise when the policy gets
5241 destroyed on NM exit it will attempt to free the already freed
5244 2008-03-14 Tambet Ingo <tambet@gmail.com>
5246 * src/backends/NetworkManagerSlackware.c
5247 (nm_system_device_setup_static_ip4_config): Remove, it's unused.
5249 * src/backends/NetworkManagerSuSE.c: Add missing includes.
5251 2008-03-14 Dan Williams <dcbw@redhat.com>
5254 - (nm_device_interface_get_iface): g_object_get() will return an
5255 allocated value, so this function must not return const
5256 - (nm_device_interface_activate): free returned iface
5258 2008-03-14 Tambet Ingo <tambet@gmail.com>
5260 * libnm-util/Makefile.am: Add new files to build.
5262 * libnm-util/nm-connection.c: Register NMSetting8021x.
5264 * libnm-util/nm-setting-8021x.c
5265 * libnm-util/nm-setting-8021x.h: Implement.
5267 2008-03-14 Tambet Ingo <tambet@gmail.com>
5269 * libnm-util/Makefile.am: Add new files to build.
5271 * libnm-util/nm-connection.c: Register NMSetting8021x.
5273 * libnm-util/nm-setting-8021x.c
5274 * libnm-util/nm-setting-8021x.h: Implement.
5276 2008-03-14 Tambet Ingo <tambet@gmail.com>
5278 * src/NetworkManagerPolicy.c (auto_activate_device): Don't leak device and
5281 2008-03-14 Dan Williams <dcbw@redhat.com>
5283 * include/wireless-helper.h
5285 - One place for all the junk needed for #including wireless.h
5288 src/NetworkManagerAP.c
5291 libnm-util/nm-utils.c
5292 libnm-util/nm-setting-wireless.c
5293 libnm-glib/nm-device-802-11-wireless.c
5294 libnm-glib/nm-access-point.c
5295 libnm-glib/libnm-glib-test.c
5296 - include wireless-helper.h, not iwlib.h
5299 - Don't need libiw really, just need to check for wireless.h
5301 * src/kernel-types.h
5302 - Remove; used types moved into wpa.c
5304 * src/nm-device-802-11-wireless.c
5305 - (nm_device_802_11_wireless_update_signal_strength,
5306 real_get_generic_capabilities, nm_device_802_11_wireless_get_mode,
5307 nm_device_802_11_wireless_set_mode,
5308 nm_device_802_11_wireless_get_frequency,
5309 nm_device_802_11_wireless_get_ssid,
5310 nm_device_802_11_wireless_set_ssid,
5311 nm_device_802_11_wireless_get_bitrate,
5312 nm_device_802_11_wireless_get_bssid,
5313 nm_device_802_11_wireless_disable_encryption): use ioctl() directly
5314 instead of iwlib functions
5316 2008-03-14 Dan Williams <dcbw@redhat.com>
5318 * src/ppp-manager/nm-ppp-manager.c
5319 - (impl_ppp_manager_need_secrets): since it's asynchronous now, it
5320 should only take the DBusGMethodInvocation argument, not user/pass
5321 too. With dbus-glib, async functions only take 2 C arguments since
5322 the real dbus method arguments get passed back with
5323 dbus_g_method_return()
5325 2008-03-13 Tambet Ingo <tambet@gmail.com>
5327 * system-settings/plugins/ifcfg-suse/plugin.c (update_default_routes):
5328 Adapt the changes of NMSettingIP4Config.
5330 2008-03-13 Dan Williams <dcbw@redhat.com>
5332 * src/NetworkManagerUtils.c
5333 src/NetworkManagerUtils.h
5334 - (nm_ether_ntop): replacement for iw_ether_ntop()
5336 * src/NetworkManagerAP.c
5337 src/nm-device-802-11-wireless.c
5338 src/nm-device-802-3-ethernet.c
5339 - s/iw_ether_ntop/nm_ether_ntop/g
5341 2008-03-13 Dan Williams <dcbw@redhat.com>
5343 * src/NetworkManagerPolicy.c
5344 - (update_routing_and_dns): never set the default route through an
5345 IPv4LL addressed device
5347 2008-03-13 Dan Williams <dcbw@redhat.com>
5349 * NetworkManagerUtils.c
5350 NetworkManagerUtils.h
5351 - Remove NMSock stuff
5352 - Remove the completion stuff
5357 NetworkManagerSystem.c
5359 nm-device-802-11-wireless.c
5360 nm-device-802-3-ethernet.c
5361 - Remove NMSock and completion stuff
5362 - Remove nm_ioctl_info()
5364 2008-03-12 Dan Williams <dcbw@redhat.com>
5367 - (merge_ip4_config): avoid duplicates
5369 2008-03-12 Dan Williams <dcbw@redhat.com>
5371 * libnm-util/nm-setting-ip4-config.c
5372 libnm-util/nm-setting-ip4-config.h
5373 - Remove 'manual' and 'autoip' properties
5374 - Add 'method' property
5375 - (verify): fix verification with 'method'
5376 - (finalize): free 'method'
5377 - (set_property, get_property, nm_setting_ip4_config_class_init): fix
5381 - (real_act_stage3_ip_config_start): check IP4Config method
5382 - (nm_device_new_ip4_autoip_config): add a note about not sucking in
5384 - (merge_ip4_config): IP settings are valid with DHCP too
5385 - (real_act_stage4_get_ip4_config): handle all IP4Config methods
5386 - (real_act_stage4_ip_config_timeout): don't do autoip on DHCP timeout
5388 * src/nm-device-802-11-wireless.c
5389 - (real_act_stage3_ip_config_start): remove; autoip only on demand
5390 - (real_act_stage4_get_ip4_config): just chain up to parent; autoip
5393 * system-settings/plugins/ifcfg-fedora/parser.c
5394 system-settings/plugins/ifcfg-suse/parser.c
5395 - (make_ip4_setting): fix up for 'method'
5397 2008-03-12 Dan Williams <dcbw@redhat.com>
5399 * system-settings/plugins/ifcfg-fedora/parser.c
5400 system-settings/plugins/ifcfg-fedora/parser.h
5401 - (get_ifcfg_name): ignore more file suffixes
5402 - (is_wireless_device): fix check for ifcfgs that have no TYPE
5404 2008-03-12 Dan Williams <dcbw@redhat.com>
5407 - Bring in the bits of gnome-common we actually use (all 15 lines)
5409 2008-03-12 Dan Williams <dcbw@redhat.com>
5411 * system-settings/plugins/ifcfg-fedora/plugin.c
5412 - (write_auto_wired_connection): new function; write out an auto
5413 wired connection file since the applet isn't doing it any more
5414 - (reload_all_connections): write out the auto wired connection file
5415 if there aren't any wired connections already
5416 - (init): don't leak a GError
5418 2008-03-12 Dan Williams <dcbw@redhat.com>
5420 * src/nm-device-interface.c
5421 - (nm_device_interface_activate): print the ID of the connection
5422 that's about to be activated
5424 2008-03-12 Dan Williams <dcbw@redhat.com>
5426 Harmonize the 802.11 bitrate API
5428 * introspection/nm-access-point.xml
5429 - 'Rate' -> 'MaxBitrate'; clarify units
5431 * introspection/nm-device-802-11-wireless.xml
5432 - Clarify units of 'Bitrate'
5434 * src/NetworkManagerAP.c
5435 src/NetworkManagerAP.h
5436 - (set_property, get_property, nm_ap_class_init): rename 'rate'
5437 property to 'max-bitrate'
5438 - (foreach_property_cb): convert rate to Kb/s
5440 * src/nm-device-802-11-wireless.c
5441 - (nm_device_802_11_wireless_get_bitrate): return rate in Kb/s
5443 * libnm-glib/nm-access-point.c
5444 libnm-glib/nm-access-point.h
5445 - 'rate' -> 'max-bitrate'
5448 libnm-glib/libnm-glib-test.c
5449 - Fix up for these changes
5451 2008-03-12 Dan Williams <dcbw@redhat.com>
5454 - (nm_device_set_ip4_config): don't send property notifications when
5455 the ip4 config is set to NULL; it causes a PropertyChanged signal
5456 which dbus-glib can't parse because the value is NULL, which isn't
5457 a legal object path. Setting the IP4 config to NULL is only
5458 valid when deactivating a device anyway, so the device state change
5459 will alert listeners that the ip4 config is invalid.
5461 2008-03-12 Dan Williams <dcbw@redhat.com>
5463 * src/nm-properties-changed-signal.c
5464 - (add_to_string): better handling of NULL objects
5466 2008-03-12 Dan Williams <dcbw@redhat.com>
5468 Move the 'carrier' property from NMDevice to NMDevice8023Ethernet;
5469 convert the libnm-glib NMDevice8023Ethernet to cached properties
5471 * introspection/nm-device-802-3-ethernet.xml
5472 - New 'Carrier' property
5473 - New 'PropertiesChanged' signal
5475 * introspection/nm-device.xml
5476 - Remove 'Carrier' property
5477 - Remove 'CarrierChanged' signal
5479 * src/nm-device-interface.c
5480 src/nm-device-interface.h
5481 - (nm_device_interface_init): remove 'carrier' property and
5482 'carrier-changed' signal
5486 - (nm_device_get_carrier, nm_device_set_carrier): remove
5487 - (nm_device_activate_stage5_ip_config_commit): don't bother updating
5488 the link here; wired device will handle that
5489 - (handle_dhcp_lease_change): don't bother updating link here
5490 - (get_property, nm_device_class_init): remove carrier property
5492 * src/nm-device-802-11-wireless.c
5493 - (real_update_link, nm_device_802_11_wireless_class_init): remove
5494 real_update_link(); wireless devices don't use carrier at all
5495 - (link_timeout_cb, supplicant_iface_state_cb_handler,
5496 supplicant_iface_connection_state_cb_handler,
5497 supplicant_mgr_state_cb_handler): remove anything to do with carrier
5499 * src/nm-device-802-3-ethernet.c
5500 src/nm-device-802-3-ethernet.h
5501 - (nm_device_802_3_ethernet_carrier_on,
5502 nm_device_802_3_ethernet_carrier_off, constructor): use set_carrier()
5503 instead of nm_device_set_carrier()
5504 - (device_state_changed): update link from sysfs on activation;
5505 replaces real_update_link()
5506 - (real_update_link): remove, replaced by device_state_changed()
5507 - (nm_device_802_3_ethernet_get_carrier, set_carrier): new functions
5508 - (nm_device_802_3_ethernet_get_speed): move up with other getters/setters
5509 - (real_get_generic_capabilities, real_can_interrupt_activation): use
5510 new get_carrier function
5511 - (get_property): add 'carrier' property
5512 - (nm_device_802_3_ethernet_class_init): add 'carrier' property and
5513 hook into property-changed signal helper
5515 * src/NetworkManagerPolicy.c
5516 - (device_carrier_changed): will only ever be called with a wired device
5517 - (device_added): only hook up to carrier-changed for wired devices
5519 * libnm-glib/nm-device.c
5520 libnm-glib/nm-device.h
5521 - (constructor, nm_device_class_init): remove carrier-changed signal
5522 - (device_carrier_changed_proxy): remove; unused
5523 - (nm_device_get_carrier): remove; carrier a property of wired devices
5525 * libnm-glib/nm-device-802-3-ethernet.c
5526 libnm-glib/nm-device-802-3-ethernet.h
5527 - Convert to cached properties like AP and Wireless objects
5528 - (nm_device_802_3_ethernet_get_hw_address): now returns a 'const char *'
5529 instead of a 'char *', return value should not be freed
5530 - (nm_device_802_3_ethernet_get_carrier): return current carrier status
5531 - (constructor): hook into properties-changed helper
5532 - (set_property, get_property): new functions
5533 - (nm_device_802_3_ethernet_class_init): export GObject properties
5536 - (detail_device): strdup the wired hardware address too since it's
5539 * libnm-glib/libnm-glib-test.c
5540 - (dump_wired): strdup the wired hardware address too since it's
5543 2008-03-12 Dan Williams <dcbw@redhat.com>
5545 * libnm-util/nm-setting-ip4-config.c
5546 libnm-util/nm-setting-ip4-config.h
5547 - (set_property, get_property, nm_setting_ip4_config_class_init): add
5548 the 'autoip' property from the spec
5550 2008-03-11 Dan Williams <dcbw@redhat.com>
5552 * src/backends/NetworkManagerGeneric.c
5553 src/backends/NetworkManagerGeneric.h
5554 - (nm_generic_device_get_use_dhcp): remove
5556 2008-03-11 Dan Williams <dcbw@redhat.com>
5559 - (nm_device_deactivate): don't need to munge DNS here; that gets done
5560 already in nm_device_set_ip4_config()
5561 - (handle_dhcp_lease_change): fail the device if setting the IP4Config
5562 due to a DHCP rebind fails
5563 - (nm_device_set_ip4_config): send property notifications when the
5565 - (get_property): only report IP4Config property during valid states
5567 * src/NetworkManagerPolicy.c
5568 - (update_routing_and_dns): ignore devices that don't have an ip4
5569 config; add parameter 'force_update' to allow callers to specify
5570 that changes should be made even if the default device doesn't change
5571 - (device_ip4_config_changed): update DNS and routing when the device's
5572 IP4Config changes, like for DHCP updates
5573 - (device_added): listen for ip4-config property changes
5575 2008-03-11 Dan Williams <dcbw@redhat.com>
5577 Fix address handling as a result of DHCP rebind/renew/reboot.
5579 * src/NetworkManagerSystem.c
5580 - (check_one_address): delete an address if it doesn't match a given
5581 one for the same interface
5582 - (nm_system_device_set_from_ip4_config): don't flush the default route,
5583 be smarter about flushing addresses (only flush ones that don't
5584 match the one we're about to apply)
5586 * src/backends/NetworkManagerDebian.c
5587 src/backends/NetworkManagerSuSE.c
5588 src/backends/NetworkManagerArch.c
5589 src/backends/NetworkManagerSlackware.c
5590 src/backends/NetworkManagerRedHat.c
5591 src/backends/NetworkManagerPaldo.c
5592 src/backends/NetworkManagerFrugalware.c
5593 src/backends/NetworkManagerGentoo.c
5594 - (nm_system_delete_default_route): remove
5596 * src/backends/NetworkManagerGeneric.c
5597 src/backends/NetworkManagerGeneric.h
5598 - (nm_generic_enable_loopback): fix the loopback device label
5599 - (nm_generic_delete_default_route): remove; no longer used
5601 2008-03-11 Dan Williams <dcbw@redhat.com>
5603 * src/nm-device-interface.h
5604 - Delimit property name words with '-', otherwise g_object_notify()
5605 doesn't work the way we expect
5607 2008-03-11 Tambet Ingo <tambet@gmail.com>
5609 * src/nm-hal-manager.c (create_device_and_add_to_list): Don't ignore USB devices.
5611 2008-03-11 Dan Williams <dcbw@redhat.com>
5613 * src/NetworkManagerPolicy.c
5614 - (update_routing_and_dns): don't change anything if the default device
5615 hasn't changed; print something out when switching the default route
5618 2008-03-10 Tambet Ingo <tambet@gmail.com>
5622 * src/ppp-manager/nm-ppp-manager.c (create_pppd_cmd_line): Use PPPoE service
5623 setting. Use "nic-$eth".
5625 * src/NetworkManagerPolicy.c (auto_activate_device): Move the check of whether
5626 the device is activating here to fix a race condition.
5628 * src/ppp-manager/nm-pppd-plugin.c (get_credentials): Implement.
5630 * src/ppp-manager/nm-ppp-manager.c (impl_ppp_manager_need_secrets): Implement.
5631 (ppp_watch_cb): Emit a signal to notify pppd is not running anymore.
5632 (nm_ppp_manager_start): Take activation request instead of connection, we might
5633 need it for asking secrets.
5634 (nm_ppp_manager_update_secrets): Implement.
5636 * src/nm-serial-device.c (real_act_stage2_config): Send activation request to
5637 ppp manager start. It might be needed for asking secrets.
5639 * src/nm-device-802-3-ethernet.c (real_connection_secrets_updated): Implement.
5640 (ppp_state_changed): Handle pppd daemon disappearing.
5641 (pppoe_stage2_config): Send activation request to ppp manager start.
5643 * libnm-util/nm-setting-pppoe.c (nm_setting_pppoe_class_init): Fix a typo.
5645 * introspection/nm-ppp-manager.xml: Make NeedSecrets method async, return only
5646 username and password.
5648 2008-03-10 Dan Williams <dcbw@redhat.com>
5651 - (handle_dhcp_lease_change): apply an IP4 config to a device in
5652 response to a DHCP lease change
5653 - (dhcp_state_changed): handle DHCP lease changes while activated
5654 - (nm_device_set_ip4_config): remove a previously set named config
5655 when setting an ip4 config
5657 2008-03-10 Dan Williams <dcbw@redhat.com>
5659 * src/nm-serial-device.c
5660 - (nm_serial_device_send_command): report errno on error
5661 - (get_reply_got_data): limit the size of the overall buffer
5662 - (wait_for_reply_info_destroy): destroy result string
5663 - (wait_for_reply_got_data): append received data to an overall buffer
5664 until timeout, filled buffer, or error instead of keeping a per-call
5665 buffer. Some devices send data slowly enough that this function
5666 gets called multiple times for the same command stream.
5667 - (nm_serial_device_wait_for_reply): initialize overall buffer for
5668 wait_for_reply_got_data() here
5670 2008-03-10 Dan Williams <dcbw@redhat.com>
5672 * src/nm-cdma-device.c
5673 - (do_dial, init_modem): handle errors from
5674 nm_serial_device_send_command_string()
5676 * src/nm-gsm-device.c
5677 - (do_dial, manual_registration, automatic_registration_get_network,
5678 automatic_registration, enter_pin, check_pin, init_modem): handle
5679 errors from nm_serial_device_send_command_string()
5681 2008-03-10 Dan Williams <dcbw@redhat.com>
5683 Patch based on ideas suggested by Bas Zoetekouw <bas@debian.org>
5685 * src/named-manager/nm-named-manager.c
5686 - (compute_searches): prefer searches before domains
5687 - (compute_domain): new function
5688 - (rewrite_resolv_conf): write out the 'domain' and 'searches' options
5689 - (merge_one_ip4_config): if there are no searches in the source config,
5690 merge domains of the source config into the target config
5691 - (compute_nameservers): make formatting of resolv.conf a bit nicer
5693 2008-03-10 Dan Williams <dcbw@redhat.com>
5695 * src/nm-serial-device.c
5696 - (get_reply_got_data): clean up indentation, shrink serial buffer
5697 - (wait_for_reply_got_data): try to handle slower serial devices where
5698 the reply is broken up into multiple reads by concatenating replies
5699 together until either an error is received or the search string is
5702 2008-03-10 Dan Williams <dcbw@redhat.com>
5705 - (nm_device_bring_down): deactivate the device if it's activating too,
5706 not just if it's already activated. This makes sure that everything
5707 from an association attempt is cleaned up (like DHCP for example)
5709 2008-03-10 Dan Williams <dcbw@redhat.com>
5711 * src/nm-serial-device.c
5712 - (config_fd): report error from TCSETA
5713 - (nm_serial_device_open): fail when config_fd() fails
5715 2008-03-10 Dan Williams <dcbw@redhat.com>
5717 * src/nm-ip4-config.c
5718 - (nm_ip4_config_init): allocate searches list
5719 - (finalize): free searches list
5721 2008-03-09 Dan Williams <dcbw@redhat.com>
5723 Patch from Bas Zoetekouw <bas@debian.org>
5725 * src/dhcp-manager/nm-dhcp-manager.c
5726 - (nm_dhcp_manager_get_ip4_config): handle domain-search option too
5728 2008-03-09 Dan Williams <dcbw@redhat.com>
5730 Patch from Bas Zoetekouw <bas@debian.org>
5732 * src/nm-ip4-config.c
5734 - (nm_ip4_config_add_search, nm_ip4_config_get_search,
5735 nm_ip4_config_get_num_searches): add 'searches' as distinct from
5736 domains. 'searches' is the correct way to store multiple search
5737 domains, whereas 'domains' is really just supposed to store one
5738 domain. Some sites abuse the DHCP 'domain-name' option to push
5739 search domains to the client.
5740 - (nm_ip4_config_add_domain): group with related functions (my patch)
5742 2008-03-09 Dan Williams <dcbw@redhat.com>
5744 * src/dhcp-manager/nm-dhcp-manager.c
5745 - (dhclient_run): send interface-specific config files to dhclient
5747 2008-03-07 Dan Williams <dcbw@redhat.com>
5749 * system-settings/plugins/ifcfg-fedora/parser.c
5750 - (is_wireless_device): new function; test a device for wireless
5752 - (parser_parse_file): if the ifcfg file doesn't have a TYPE tag,
5753 test the device for wireless extensions to determine the type
5755 2008-03-07 Dan Williams <dcbw@redhat.com>
5757 Change manager's StateChange signal to StateChanged for consistency.
5759 * introspection/nm-manager.xml
5760 - Add 'StateChanged' signal
5761 - Move 'StateChange' down to the deprecated section
5763 * src/nm-hal-manager.c
5764 - (nm_hal_manager_new): connect to 'state-changed' instead
5766 * src/NetworkManagerPolicy.c
5767 - (nm_policy_new): connect to 'state-changed' instead
5771 - (nm_manager_update_state): emit both 'state-changed' and 'state-change'
5772 - (nm_manager_class_init): add 'state-changed' and not the deprecation
5775 * libnm-glib/nm-client.c
5776 libnm-glib/nm-client.h
5777 - (constructor, nm_client_class_init, client_state_changed_proxy):
5778 track and proxy 'state-changed' instead of 'state-change'
5780 2008-03-07 Dan Williams <dcbw@redhat.com>
5782 First pass of multiple active device support. Expect bugs.
5784 * src/nm-ip4-config.c
5786 - (nm_ip4_config_get_secondary, nm_ip4_config_set_secondary): remove;
5787 there are better ways to do this in the named manager
5791 - (nm_device_can_activate): return whether the device can activate a
5792 connection right now; taking into account things like carrier state
5794 - (nm_device_get_best_auto_connection): renamed from
5795 nm_device_get_best_connection
5796 - (real_act_stage4_get_ip4_config): MTU stuff is now handled in the
5797 device subclasses themselves, so that each device can override the
5798 MTU from it's NMSetting subclass if needed
5799 - (nm_device_set_ip4_config): set MTU when setting up routes and stuff
5800 in NetworkManagerSystem.c, not here
5802 * src/named-manager/nm-named-manager.c
5803 src/named-manager/nm-named-manager.h
5804 - (nm_named_manager_name_owner_changed,
5805 nm_named_manager_dbus_connection_changed): fix for changes to
5806 rewrite_resolv_conf()
5807 - (compute_nameservers): don't need the NMNamedManager at all, remove
5809 - (merge_one_ip4_config): new function; merge ip4 configs together
5810 - (rewrite_resolv_conf): write out resolv.conf from all the stored
5811 ip4 configs; the VPN config takes precedence, then the best
5812 device config, then the rest of the configs
5813 - (get_domain_for_config): take the NMNamedManager as an argument
5814 to check whether the config is the VPN config
5815 - (add_ip4_config_to_named): fixups for removal of the 'secondary'
5816 attribute from ip4 configs
5817 - (add_all_ip4_configs_to_named): add all the configs in priority order
5818 - (remove_ip4_config_from_named): fix for changes to
5819 get_domain_for_config()
5820 - (nm_named_manager_add_ip4_config): assign the config to the right slot
5821 based on its type; callers must pass in the type now
5822 - (get_last_default_domain): remove, unused
5823 - (nm_named_manager_remove_ip4_config): handle config slots correctly
5825 * src/nm-device-802-11-wireless.c
5826 - (real_can_activate): new function
5827 - (real_get_best_auto_connection): renamed from real_get_best_connection
5828 - (real_act_stage4_get_ip4_config): handle MTU override
5830 * src/nm-device-802-3-ethernet.c
5831 - (real_can_activate): new function
5832 - (real_get_best_auto_connection): renamed from real_get_best_connection
5833 - (real_act_stage4_get_ip4_config): new function; handle MTU override
5835 * src/vpn-manager/nm-vpn-connection.c
5836 - (nm_vpn_connection_ip4_config_get): don't need to set the 'secondary'
5837 attribute on the ip4 config
5839 * src/NetworkManagerPolicy.c
5840 - (nm_policy_auto_get_best_device): remove
5841 - (nm_policy_device_change_check): remove
5842 - (update_default_route): new function; set the default route via
5843 the specified device
5844 - (get_device_priority): new function; return the priority number of
5845 a device type WRT which one should have the default route. Order is
5846 (highest to lowest) wired, wireless, GSM, CDMA.
5847 - (update_routing_and_dns): new function; determine which device should
5848 have the default route, then update the routing table and DNS
5849 - (maybe_auto_activate_device): new function; if a device is now
5850 available for activation, find out what connection it would like to
5852 - (schedule_activate_check): new function; if a device can be activated
5853 now, schedule the activation. Each device may have only one
5854 pending activation at a given time.
5855 - (device_state_changed): if activation was canceled, try again,
5856 possibly with another connection; if the device was activated,
5857 update routing and DNS; if the device was deactivated, try again
5858 with another connection
5859 - (device_carrier_changed): if there is no carrier, deactivate the
5860 device; otherwise schedule an activation check for the device
5861 - (wireless_networks_changed): schedule an activation check for the
5863 - (device_added): keep track of the signal handler IDs so they can
5864 be removed when the device goes away
5865 - (device_removed): remove any signal handlers that might be attached
5866 to the device; update routing and DNS
5867 - (schedule_activate_all): new function
5868 - (connections_added, connection_added, connection_updated): when
5869 connections change, schedule all devices for an activation check
5870 - (connection_removed): when a device is deactivated because its
5871 connection was removed, schedule another activation check for it
5872 - (nm_policy_destroy): destroy pending activations and disconnect
5873 all device signal handlers
5876 - (nm_manager_activate_device): if the device was already actived,
5878 - (deactivate_old_device): remove
5879 - (connection_added_default_handler, impl_manager_activate_device):
5880 don't deactivate other devices when activating this one
5882 * src/backends/NetworkManagerGentoo.c
5883 src/backends/NetworkManagerFrugalware.c
5884 src/backends/NetworkManagerPaldo.c
5885 src/backends/NetworkManagerRedHat.c
5886 src/backends/NetworkManagerSlackware.c
5887 src/backends/NetworkManagerArch.c
5888 src/backends/NetworkManagerSuSE.c
5889 src/backends/NetworkManagerDebian.c
5890 - (nm_system_get_mtu): remove; MTU should be provided through the
5891 distro's system settings service plugin instead
5892 - (nm_system_device_add_default_route_via_device): remove
5893 - (nm_system_device_add_default_route_via_device_with_iface): remove
5894 - (nm_system_device_replace_default_route): new function; call
5895 generic implementation
5897 * src/backends/NetworkManagerGeneric.c
5898 src/backends/NetworkManagerGeneric.h
5899 - (nm_generic_device_add_default_route_via_device,
5900 nm_generic_device_add_default_route_via_device_with_iface): remove
5901 - (nm_generic_device_replace_default_route): replace the default route
5902 with the given route via some gateway
5904 * src/NetworkManagerSystem.c
5905 src/NetworkManagerSystem.h
5906 - (nm_system_device_set_from_ip4_config): let the policy handle updates
5907 to routing and DNS; but set the MTU here
5908 - (nm_system_vpn_device_set_from_ip4_config): set the route with the
5909 ip_iface of the active device; use the standard MTU setting function
5910 - (nm_system_set_mtu): remove
5911 - (nm_system_device_set_mtu): consolidate MTU setting code in one place
5913 2008-03-07 Tambet Ingo <tambet@gmail.com>
5915 Rework the interaction between ppp manager and pppd plugin. Register a well
5916 known DBUS service in manager and let the plugin call it's methods instead
5917 of listening plugin's signals.
5919 * src/ppp-manager/nm-pppd-plugin.c: Call ppp-manager dbus methods instead
5920 of emitting signals.
5922 * src/ppp-manager/nm-ppp-manager.c: Implement dbus service here.
5924 * src/ppp-manager/Makefile.am: Build nm-ppp-manager-glue.h.
5926 * src/nm-serial-device.c (real_act_stage2_config): Pass NMConnection to
5927 nm_ppp_manager_start().
5929 * introspection/nm-ppp-manager.xml: New file.
5931 * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_get_speed): Handle
5932 the case correctly where driver is trying to send -1 for the speed, which gets
5933 casted to u16 and thus is always > 0.
5935 2008-03-07 Dan Williams <dcbw@redhat.com>
5937 * src/nm-hal-manager.c
5938 - (nm_get_device_driver_name): use net.originating_device first, fall
5939 back to physical device. HAL has deprecated physical_device.
5941 * libnm-glib/nm-device.c
5942 - (get_product_and_vendor): use net.originating_device first, fall
5943 back to physical device. HAL has deprecated physical_device.
5944 - (nm_device_update_description): s/physical_device_udi/orig_dev_udi
5946 2008-03-07 Dan Williams <dcbw@redhat.com>
5949 - (nm_netlink_get_default_handle): mistakenly removed too much code in
5950 last commit; fix that
5951 - (get_link_cache): print error string
5953 2008-03-07 Dan Williams <dcbw@redhat.com>
5956 - (nm_netlink_get_default_handle): NMNetlinkMonitor now uses libnl,
5957 don't need this hack any more (Benoit Boissinot)
5959 2008-03-06 Dan Williams <dcbw@redhat.com>
5962 - Die gnome-common, die
5964 2008-03-04 Dan Williams <dcbw@redhat.com>
5966 Patch from Michael Biebl <biebl@debian.org>
5968 * NetworkManager.pc.in
5969 - doesn't actually depend on dbus-1
5971 * libnm-util/nm-utils.h
5972 - remove unused #include <dbus/dbus.h>
5974 * libnm-glib/libnm_glib.pc.in
5975 - depends on glib and dbus-glib
5977 2008-03-02 Dan Williams <dcbw@redhat.com>
5979 * src/NetworkManagerPolicy.c
5980 - s/device_state_changed_idle_id/update_state_id/
5982 2008-03-02 Dan Williams <dcbw@redhat.com>
5986 src/nm-device-802-11-wireless.c
5987 src/nm-device-802-3-ethernet.c
5988 src/NetworkManagerPolicy.c
5989 - s/link_active/carrier
5990 - nm_device_set_active_link() -> nm_device_set_carrier()
5991 - nm_device_has_active_link() -> nm_device_get_carrier()
5993 2008-03-02 Dan Williams <dcbw@redhat.com>
5995 * system-settings/plugins/ifcfg-fedora/parser.c
5996 - (make_wireless_setting): fail connection creation on missing SSID
5998 2008-02-29 Dan Williams <dcbw@redhat.com>
6000 * src/NetworkManagerPolicy.c
6001 - (nm_policy_device_change_check): ensure that a previously active
6002 device with a system connection has a link before denying a switch
6003 to a user connection
6005 2008-02-29 Dan Williams <dcbw@redhat.com>
6007 * src/nm-device-802-11-wireless.c
6008 - (link_timeout_cb): try again if scanning; deactivate the device when
6009 activated if the link dies
6010 - (supplicant_iface_connection_state_cb_handler): bump link timeout to
6013 2008-02-29 Dan Williams <dcbw@redhat.com>
6015 * src/nm-device-802-11-wireless.c
6016 src/nm-device-802-11-wireless.h
6017 - (nm_device_802_11_wireless_reset_scan_interval): remove, unused
6018 elsewhere; fold into the sole user in nm-device-802-11-wireless.c
6019 - (device_cleanup): reset the scan interval lower when the device
6021 - (can_scan): base decision mostly off device state, not supplicant
6022 interface state since the supplicant interface state isn't a
6023 great indicator of whether the device is active or not
6024 - (request_wireless_scan): clean up; schedule the next scan here
6025 - (schedule_scan): only back the scan interval off if a new scan
6026 actually gets scheduled; and make scan intervals tighter when the
6027 device is disconnected
6028 - (supplicant_iface_state_cb_handler): fold in the bits of
6029 nm_device_802_11_wireless_reset_scan_interval() by resetting scan
6031 - (activation_success_handler): reset scan interval to something
6034 2008-02-28 Saleem Abdulrasool <compnerd@compnerd.org>
6036 reviewed by: Steev <steev@steev.net>
6039 * src/backends/NetworkManagerGentoo.c:
6040 (nm_system_restart_mdns_responder):
6041 Howl is no longer a supported mDNS provider
6043 2008-02-28 Tambet Ingo <tambet@gmail.com>
6045 Get rid of a bunch of unused distro specific functions.
6047 2008-02-28 Tambet Ingo <tambet@gmail.com>
6049 Implement suse plugin for system settings daemon.
6051 * system-settings/plugins/ifcfg-suse/*: Implement.
6053 * system-settings/plugins/Makefile.am: Add ifcfg-suse to subdirs when targeting
6056 * configure.in: Check (without failing) for gio.
6057 Create ifcfg-suse plugin's Makefile.
6059 2008-02-20 Dan Williams <dcbw@redhat.com>
6061 * libnm-util/nm-connection.c
6062 libnm-util/nm-connection.h
6063 - (nm_connection_compare): accept compare flags and pass them to the
6064 setting compare function
6066 * libnm-util/nm-setting.c
6067 libnm-util/nm-setting.h
6068 - (nm_setting_compare): accept compare flags; ignore properties that are
6071 * libnm-util/nm-setting-connection.c
6072 libnm-util/nm-setting-wireless.c
6073 libnm-util/nm-setting-ppp.c
6074 libnm-util/nm-setting-wired.c
6075 - Mark some setting properties as ignorable when doing a fuzzy compare
6078 - (device_activation_precheck): use exact compare
6080 2008-02-20 Dan Williams <dcbw@redhat.com>
6082 * src/NetworkManagerPolicy.c
6083 - (nm_policy_device_change_check): get scope off the connection, not
6084 using the manager helper
6088 - (get_scope_for_proxy): rename from get_type_for_proxy()
6089 - (connection_get_settings_cb): set scope and path on connection, not
6090 using GObject data items
6091 - (get_connection_for_proxy): don't need to return path, since that
6092 can be gotten from the connection
6093 - (get_connection_for_proxy): get path off the connection, not from
6095 - (connection_removed_cb, connection_updated_cb): don't need to get
6096 path from get_connection_for_proxy(); get scope off the connection
6097 instead of using GObject data items
6098 - (connection_added_default_handler, add_one_connection_element): use
6099 nm_connection_get_path() not nm_manager_get_connection_dbus_path()
6100 - (nm_manager_get_connection_dbus_path): remove
6101 - (nm_manager_get_connection_scope): remove
6103 2008-02-20 Dan Williams <dcbw@redhat.com>
6105 * Global rename of NMConnectionSettings -> NMExportedConnection to cut down
6108 * Add 'path' and 'scope' properties to NMConnection since both NM and the
6109 applet were having to hack this in anyway. Remove the 'path' stuff from
6110 NMExportedConnection
6112 * Internally rename NMConnectionType -> NMConnectionScope
6114 * Provide default implementations of the 'get_id' and 'get_settings' methods
6115 of NMExportedConnection
6117 2008-02-15 Dan Williams <dcbw@redhat.com>
6119 * src/nm-device-802-11-wireless.c
6120 - (device_cleanup): release the AP list here too so that the AP list
6121 doesn't survive across suspend/resume and up/down. There is some
6122 room for optimization, for example blow the list away when the card
6123 brought back up, but only if the device has only been down for a
6126 2008-02-15 Dan Williams <dcbw@redhat.com>
6128 * src/nm-hal-manager.c
6129 - (modem_device_creator): recognize new HAL modem capabilities
6131 2008-02-12 Dan Williams <dcbw@redhat.com>
6133 * system-settings/plugins/ifcfg-fedora/plugin.c
6134 - (watch_path): handle IN_DELETE_SELF too
6135 - (handle_connection_changed): notify when removing a connection
6136 - (stuff_changed): don't warn on unknown inotify watches; handle the
6137 case of a file moving out of the profile directory
6139 2008-02-12 Dan Williams <dcbw@redhat.com>
6141 * system-settings/plugins/ifcfg-fedora/parser.c
6142 - (make_ip4_setting): bring IPv4 setting handling more up to spec
6144 2008-02-12 Dan Williams <dcbw@redhat.com>
6146 * libnm-util/nm-utils.c
6147 - (nm_utils_convert_uint_array_to_string): don't die on NULL array, it's
6148 just any empty array
6150 2008-02-12 Dan Williams <dcbw@redhat.com>
6152 * system-settings/src/nm-system-config-interface.c
6153 system-settings/src/nm-system-config-interface.h
6154 - (load_connections): get_connections() should now return an allocated
6155 GSList that the system settings service will free
6157 * system-settings/plugins/ifcfg-fedora/plugin.c
6158 system-settings/plugins/ifcfg-fedora/parser.h
6159 system-settings/plugins/ifcfg-fedora/parser.c
6160 - Fix up inotify issues; handle keys-* files, handle new files appearing
6161 in the profile directory, handle resolv.conf file changes
6163 2008-02-10 Dan Williams <dcbw@redhat.com>
6165 * src/nm-device-802-3-ethernet.c
6166 - (real_bring_up): save the supplicant interface state signal id
6167 - (real_bring_down): disconnect from the supplicant interface state
6170 2008-02-07 Dan Williams <dcbw@redhat.com>
6172 * initscript/RedHat/NetworkManager.in
6173 initscript/RedHat/NetworkManagerDispatcher.in
6174 - Add new-style LSB init headers
6176 2008-02-07 Dan Williams <dcbw@redhat.com>
6178 * system-settings/src/dbus-settings.c
6179 system-settings/src/dbus-settings.h
6180 - (add_one_secret_to_hash): copy secrets out of the plugin-returned hash
6182 - (connection_settings_get_secrets): consolidate error returns into
6183 one place; use the new get_secrets() plugin interface function to
6184 get secrets from the plugin itself rather than using GObject data
6187 * system-settings/src/main.c
6188 - (connection_added_cb, connection_removed_cb, free_plugin_connections,
6189 load_connections): keep a private list of the plugin-returned
6190 connections, don't use the plugin's GSList
6192 * system-settings/plugins/ifcfg-fedora/plugin.c
6193 - (watch_path): watch the path, not the filename (duh)
6194 - (reload_all_connections): use the direct hash/equal functions; the
6195 ones for int aren't appropriate here
6196 - (get_secrets, system_config_interface_init): implement the
6197 get_secrets() function
6198 - (build_one_connection, find_connection_by_path): ifcfg file path is
6199 now in the connection's ConnectionData instead of being a GObject
6201 - (handle_profile_item_changed): ifcfg file path is now in the
6202 connection's ConnectionData instead of being a GObject data property;
6203 be sure to copy secrets over from the new connection to the existing
6204 connection when updating the connection's settings
6205 - (init): sc_plugin_inotify_init() returns success/fail, not the inotify
6208 * system-settings/plugins/ifcfg-fedora/parser.c
6209 system-settings/plugins/ifcfg-fedora/parser.h
6210 - (connection_data_get, copy_one_cdata_secret, clear_one_cdata_secret,
6211 connection_data_copy_secrets, connection_data_free,
6212 connection_data_add): new functions; connection data manipulation
6213 - (make_wireless_security_setting): stuff secrets into the
6214 connection data, not as GObject data items; make sure to close
6216 - (wireless_connection_from_ifcfg, wired_connection_from_ifcfg): add
6217 connection data to the connection
6219 2008-02-07 Dan Williams <dcbw@redhat.com>
6221 * system-settings/src/nm-system-config-interface.c
6222 system-settings/src/nm-system-config-interface.h
6223 - Add a get_secrets() interface function to retrieve secrets for a
6224 specific setting of a specific connection. Document the interface
6227 2008-02-07 Dan Williams <dcbw@redhat.com>
6229 * src/nm-device-802-11-wireless.c
6230 - (handle_auth_or_fail): new function; consolidate device activation
6231 failure check after a certain number of failures getting secrets
6232 - (supplicant_connection_timeout_cb, real_act_stage2_config,
6233 real_act_stage4_ip_config_timeout): use handle_auth_or_fail() to fail
6234 the connection if secrets were requested more than a few times
6235 - (real_act_stage3_ip_config_start): don't clear the wireless secrets
6236 tries here; otherwise they are cleared before the IP configure
6237 timeout, which happens with open system WEP when key is wrong
6238 - (activation_success_handler): clear wireless secrets tries here too
6240 2008-02-07 Dan Williams <dcbw@redhat.com>
6242 * src/NetworkManagerPolicy.c
6243 - (connection_updated): clear invalid tag when connection gets updated
6244 to allow that connection to be tried again
6245 - (nm_policy_new): save signal ids so they can be disconnected when
6246 the policy is destroyed
6247 - (nm_policy_destroy): stop any in-progress state change idle handler,
6248 and disconnect all signals from the manager object so that none
6249 of the policy functions gets called after the policy is destroyed
6251 2008-02-06 Dan Williams <dcbw@redhat.com>
6254 - (finalize): remove devices a bit earlier; clean up system settings
6256 - (nm_manager_name_owner_changed): clean up system settings poke when
6257 the service appears, and try to restart it if it fails
6258 - (poke_system_settings_daemon_cb): try to get the system settings
6259 service started through D-Bus service activation
6260 - (initial_get_connections): start the system settings daemon if it's
6263 2008-02-05 Dan Williams <dcbw@redhat.com>
6265 * src/supplicant-manager/nm-supplicant-config.c
6266 - (nm_supplicant_config_add_setting_wireless): send scan_ssid=1 for
6267 broadcast networks too
6269 2008-02-04 Dan Williams <dcbw@redhat.com>
6271 * system-settings/plugins/ifcfg-fedora/parser.c
6272 - (make_wireless_security_setting): fix spelling; unencrypted networks
6273 need key_mgmt set too
6274 - (parser_parse_file): validate ifcfg file name and don't try to parse
6275 .bak files; ensure that an error is set whenever NULL gets returned
6277 2008-02-04 Dan Williams <dcbw@redhat.com>
6279 * system-settings/src/Makefile.am
6280 - Install D-Bus service activation file for the system settings
6283 * system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service
6284 - D-Bus service activation file for system settings service
6286 2008-02-04 Dan Williams <dcbw@redhat.com>
6288 * system-settings/src/main.c
6289 - (parse_config_file): parse a config file
6290 - (main): accept --config option and read plugins from config file
6292 2008-02-04 Dan Williams <dcbw@redhat.com>
6294 * system-settings/plugins/ifcfg-fedora/plugin.c
6295 - Change reported name to 'ifcfg-fedora'
6296 - Use IFCFG_PLUGIN_NAME
6298 * system-settings/plugins/ifcfg-fedora/plugin.c
6299 - Remove PLUGIN_NAME, use IFCFG_PLUGIN_NAME instead
6301 2008-02-04 Dan Williams <dcbw@redhat.com>
6303 * system-settings/plugins/ifcfg-fedora/parser.c
6304 - (get_ifcfg_name): new function; factor out ifcfg name finding code
6305 - (make_connection_setting): use get_ifcfg_name()
6306 - (make_wireless_security_setting): handle shadow key files
6307 - (get_one_wep_key): treat empty string as NULL
6309 2008-02-04 Dan Williams <dcbw@redhat.com>
6311 * src/supplicant-manager/nm-supplicant-manager.c
6312 - (poke_supplicant_cb): reschedule the poke as a timeout, don't let
6313 glib automatically reschedule
6314 - (nm_supplicant_manager_init): immediately try to start the supplicant
6315 - (nm_supplicant_manager_name_owner_changed): immediately try to restart
6318 2008-02-01 Dan Williams <dcbw@redhat.com>
6320 * src/NetworkManagerPolicy.c
6321 - (device_state_changed): schedule a change check when a device gets
6322 deactivated so something happens if you disconnect GSM/CDMA
6324 2008-01-31 Dan Williams <dcbw@redhat.com>
6326 * src/nm-device-802-11-wireless.h
6327 src/nm-device-802-11-wireless.c
6328 - (ap_list_get_ap_by_ssid, is_associated,
6329 nm_device_802_11_wireless_ap_list_get_ap_by_ssid,
6330 nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): remove
6331 - (nm_device_802_11_wireless_get_activation_ap): collapse
6332 nm_device_802_11_wireless_ap_list_get_ap_by_obj_path() into this
6335 2008-01-30 Dan Williams <dcbw@redhat.com>
6337 * system-settings/plugins/ifcfg
6338 * system-settings/plugins/ifcfg-fedora
6339 - Move the ifcfg plugin to ifcfg-fedora
6341 2008-01-24 Dan Williams <dcbw@redhat.com>
6343 * libnm-glib/nm-device-802-11-wireless.c
6344 - (get_access_point): move the "/" check here; check for invalid path
6346 - (nm_device_802_11_wireless_set_active_ap): leave the "/" check up
6347 to get_access_point()
6348 - (access_point_added_proxy, access_point_removed_proxy): don't try
6349 to send signals for non-existent access points
6351 2008-01-24 Dan Williams <dcbw@redhat.com>
6353 * libnm-glib/nm-device-802-11-wireless.c
6354 - (nm_device_802_11_wireless_set_active_ap): path of "/" means no AP
6356 2008-01-23 Dan Williams <dcbw@redhat.com>
6358 * libnm-glib/libnm_glib.c
6359 - (libnm_glib_init): make thread joinable
6360 - (libnm_glib_ctx_free): join thread on exit to clean up memory
6362 2008-01-23 Dan Williams <dcbw@redhat.com>
6364 * test/libnm_glib_test.c
6365 - (signal_handler, setup_signals): trap SIGINT and SIGTERM
6366 - (main): set up signal handlers; call libnm_glib_shutdown
6368 2008-01-21 Dan Williams <dcbw@redhat.com>
6370 * include/NetworkManager.h
6371 - Add CDMA mobile broadband card device type
6373 * src/nm-hal-manager.c
6374 - (modem_device_creator): handle both CDMA and GSM modems; the device
6375 must now be tagged with 'cdma' or 'gsm' capability
6377 * src/nm-cdma-device.c
6378 src/nm-cdma-device.h
6380 - Add the CDMA mobile broadband card device class
6382 * libnm-util/nm-connection.c
6383 - (register_default_settings): add NMSettingCdma
6385 * libnm-util/nm-setting-cdma.c
6386 libnm-util/nm-setting-cdma.h
6387 libnm-util/Makefile.am
6388 - Add the CDMA mobile broadband card setting class
6390 * libnm-glib/nm-cdma-device.c
6391 libnm-glib/nm-cdma-device.h
6392 libnm-glib/Makefile.am
6393 - Add the CDMA mobile broadband card GLib proxy class
6395 * libnm-glib/nm-client.c
6396 - (get_device): handle CDMA devices too
6398 2008-01-21 Dan Williams <dcbw@redhat.com>
6400 * src/ppp-manager/nm-ppp-manager.c
6401 - (ip4_config_get): set peer address too
6403 * src/ppp-manager/nm-pppd-plugin.c
6404 - (nm_ip_up): try harder to get the peer's address
6406 * src/NetworkManagerSystem.c
6407 - (nm_system_device_set_from_ip4_config): if the IP4Config has a peer
6408 address, use that too. Otherwise, some PPP connections won't work.
6410 2008-01-19 Dan Williams <dcbw@redhat.com>
6412 * src/NetworkManagerPolicy.c
6413 - (nm_policy_device_change_check): system connections override user
6414 connections; don't activate a user connection if there's a currently
6415 active system connection, and new, better system connections always
6416 interrupt user connections
6418 2008-01-19 Dan Williams <dcbw@redhat.com>
6421 - (nm_manager_get_connection_type): new function
6423 2008-01-19 Dan Williams <dcbw@redhat.com>
6425 * src/nm-device-802-11-wireless.c
6426 - (real_get_best_connection): collapse find_best_connection() into this
6429 2008-01-19 Dan Williams <dcbw@redhat.com>
6431 * src/nm-device-802-3-ethernet.c
6432 - (real_get_best_connection): collapse find_best_connection() into this
6435 2008-01-18 Dan Williams <dcbw@redhat.com>
6437 * src/nm-device-802-3-ethernet.c
6438 - (find_best_connection): check MAC address too
6439 - (real_get_best_connection): let autoconnect=True connections activate
6440 for devices that don't have carrier detection
6442 * src/nm-device-802-11-wireless.c
6443 - (find_best_connection): check MAC address too
6445 2008-01-18 Dan Williams <dcbw@redhat.com>
6447 * system-settings/plugins/ifcfg/parser.c
6448 - (make_connection_setting): interpret ON_BOOT=y as 'autoconnect=True'
6450 2008-01-17 Dan Williams <dcbw@redhat.com>
6452 * src/nm-device-802-3-ethernet.c
6453 - (nm_device_802_3_ethernet_carrier_on,
6454 nm_device_802_3_ethernet_carrier_off): ignore any spurious netlink
6455 carrier events that might come in for devices that don't support
6458 2008-01-17 Dan Williams <dcbw@redhat.com>
6460 * src/nm-device-interface.c
6461 - (nm_device_interface_check_connection_conflicts): need to actually
6462 get the interface, not cast to the object
6465 - (nm_device_check_connection_conflicts): need to get the device class,
6466 not cast the device to the device class
6468 2008-01-17 Dan Williams <dcbw@redhat.com>
6470 * src/nm-device-802-11-wireless.c
6471 - (real_check_connection_conflicts): ignore connections that aren't
6472 wireless connections
6474 2008-01-17 Dan Williams <dcbw@redhat.com>
6476 * src/NetworkManagerPolicy.c
6477 - (nm_policy_device_change_check): clear change check idle here
6478 - (device_change_check_done): remove
6479 - (schedule_change_check): simplify
6481 2008-01-17 Dan Williams <dcbw@redhat.com>
6484 - (check_connection_allowed): take an NMDeviceInterface instead of
6485 an NMDevice object as an argument
6486 - (nm_manager_activate_device): pass an NMDeviceInterface to
6487 check_connection_allowed()
6489 2008-01-13 Dan Williams <dcbw@redhat.com>
6491 * libnm-glib/nm-device-802-11-wireless.c
6492 - (nm_device_802_11_wireless_get_access_points): fix memory leak
6494 2008-01-12 Dan Williams <dcbw@redhat.com>
6496 * src/nm-device-802-11-wireless.c
6497 - (activation_success_handler): if a match was found in the scan list
6498 and that match is a hidden AP, update that AP's SSID
6500 2008-01-11 Dan Williams <dcbw@redhat.com>
6502 * src/NetworkManagerAP.c
6503 - (nm_ap_new_fake_from_connection): mark fake APs as fake
6505 * src/nm-device-802-11-wireless.c
6506 - (get_active_ap): do two passes over the scan list if the caller
6507 requests that hidden APs get matched too; during the second pass
6508 when matching hidden APs, ignore the SSID since hidden APs in the
6509 scan list don't have an SSID yet
6510 - (periodic_update): move some checks to
6511 nm_device_802_11_periodic_update() because not all callers need them
6512 - (nm_device_802_11_periodic_update): move some checks here from
6514 - (merge_scanned_ap): if the current AP is fake, then don't do strict
6515 matching on incoming scan results, because the fake AP's flags
6516 might be slightly different (yet still compatible) with the incoming
6517 scan result's flags and they might actually be the same AP; update
6518 the rate on merged APs too
6519 - (activation_success_handler): update the frequency of the fake AP
6520 on successful connection; match hidden APs too since if the
6521 current AP is fake, there might already be a scan result in the
6522 scan list for the desired AP, just without it's SSID filled in yet
6524 2008-01-10 Dan Williams <dcbw@redhat.com>
6526 * src/NetworkManagerAP.c
6527 - (foreach_property_cb): catch more hidden SSID formats
6529 2008-01-10 Dan Williams <dcbw@redhat.com>
6531 Fix gnome.org #464215. Requires the kernel patch titled
6532 "Introduce WEXT scan capabilities" but will handle the patch not being
6533 present, you'll just continue to have problems with hidden SSIDs when
6534 using mac80211-based drivers.
6536 * src/supplicant-manager/nm-supplicant-config.h
6537 src/supplicant-manager/nm-supplicant-config.c
6538 - (nm_supplicant_config_add_setting_wireless): new parameter to indicate
6539 whether the driver supports SSID scans or not. If it does, and if
6540 the AP is hidden, use ap_scan=1 instead of ap_scan=2
6542 * src/nm-device-802-11-wireless.c
6543 - (constructor): check whether or not the driver supports SSID scans
6544 - (build_supplicant_config): pass driver SSID scan capability when
6545 building the wireless bits of the supplicant config
6547 2008-01-09 Dan Williams <dcbw@redhat.com>
6551 - (device_activation_precheck, check_connection_complete): remove this
6552 virtual function; incomplete connections should be invalid by
6553 definition, complete-ness should be checked in the setting's
6556 * src/nm-serial-device.c
6558 - (real_check_connection_complete): remove
6560 * libnm-util/nm-setting-serial.c
6561 - (verify): new function; ensure there is a PPP setting too
6563 * libnm-util/nm-setting-gsm.c
6564 - (verify): ensure there is a serial setting too
6566 2008-01-06 Dan Williams <dcbw@redhat.com>
6568 * src/dhcp-manager/nm-dhcp-manager.c
6569 - (nm_dhcp_manager_get_ip4_config): handle DHCP-provided MTU
6572 2008-01-04 Dan Williams <dcbw@redhat.com>
6574 * src/named-manager/nm-named-manager.c
6575 - (rewrite_resolv_conf, add_ip4_config_to_named): use primary IP4Config's
6576 nameservers if the secondary config doesn't have any
6579 2008-01-02 Tambet Ingo <tambet@gmail.com>
6581 * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Mark the properties
6582 with G_PARAM_CONSTRUCT so that they get the default values.
6584 * src/nm-gsm-device.c: Add preliminary support for monitoring device. It only monitors
6585 the monitoring device and prints out the output for now. Or more precicely, doesn't
6586 do absolutely anything right now since the montoring device argument is never set.
6588 * src/nm-serial-device.c (serial_debug): Implement. It's very verbose and thus
6589 requires it's own knob to turn it on.
6590 (config_fd): Add NMSettingSerial to the arguments list.
6591 (nm_serial_device_open): Ditto.
6592 (get_reply_got_data): Ignore the terminators at the beginning of the output.
6593 (nm_serial_device_get_io_channel): Implement.
6595 * src/nm-manager.c: Add NMDBusManager to the private data of the NMManager. Asking
6596 a new reference every time (and forgetting to release it sometimes) is a pain and
6597 it's not like NMManager could work without dbus.
6598 (nm_manager_add_device): Register the added device on dbus here.
6600 * src/nm-hal-manager.c (modem_device_creator): Pass NULL for now for the monitoring
6603 * src/nm-device.c (constructor): Don't export the device here, instead export
6604 it when it's added to the NMManager's device list.
6606 2007-12-31 Dan Williams <dcbw@redhat.com>
6608 * src/nm-device-interface.c
6609 src/nm-device-interface.h
6610 - (nm_device_interface_check_connection_conflicts): new function
6614 - (nm_device_check_connection_conflicts): new function
6615 - (device_activation_precheck): don't require subclasses to implement
6616 check_connection_complete()
6617 - check_connection() -> check_connection_complete()
6619 * src/nm-device-802-11-wireless.c
6620 - (real_check_connection): remove; unused
6621 - (real_check_connection_conflicts): implement, handle lockdown for
6624 * src/nm-device-802-3-ethernet.c
6625 - (real_check_connection): remove; unused
6628 - (check_connection_allowed): new function
6629 - (nm_manager_activate_device): ensure the connection being requested
6630 is allowed to be activated
6632 * src/nm-serial-device.c
6634 - real_check_connection() -> real_check_connection_complete()
6636 2007-12-27 Dan Williams <dcbw@redhat.com>
6638 * src/nm-device-interface.c
6639 src/nm-device-interface.h
6640 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
6641 normalize and expand errors
6642 - (nm_device_interface_init): register errors so they can be marshalled
6644 - (nm_device_interface_activate): ensure that failure of activation
6649 - (device_activation_precheck): implementations of check_connection()
6650 now take a GError and must fill it in if the check fails. Return
6651 more descriptive error if the requested connection is already
6653 - (nm_device_activate): actually try to return descriptive errors on
6656 * src/nm-device-802-11-wireless.c
6657 src/nm-device-802-3-ethernet.c
6658 src/nm-serial-device.c
6660 - (real_check_connection): return more descriptive errors on failure
6662 * src/NetworkManagerPolicy.c
6663 - (nm_policy_device_change_check): print activation errors in the logs
6666 - (nm_manager_error_quark, nm_manager_error_get_type,
6667 nm_manager_class_init): new errors
6668 - (nm_manager_activate_device): handle errors
6669 - (nm_manager_error_new): removed
6670 - (wait_for_connection_expired, connection_added_default_handler,
6671 impl_manager_activate_device): better error handling
6673 2007-12-27 Dan Williams <dcbw@redhat.com>
6675 Fixes gnome.org #466954
6677 * src/supplicant-manager/nm-supplicant-settings-verify.c
6678 - Allow 'frequency' network property
6680 * src/supplicant-manager/nm-supplicant-config.c
6681 src/supplicant-manager/nm-supplicant-config.h
6682 - (nm_supplicant_config_add_setting_wireless): add 'adhoc_freq' argument
6683 for callers to specify the frequency an Ad-Hoc network should operate
6684 on. Some drivers require this to successfully create an Ad-Hoc
6687 * src/nm-device-802-11-wireless.c
6688 - (iw_freq_to_uint32): new function; convert a struct iw_freq into a
6689 guint32 value in MHz
6690 - (constructor, nm_device_802_11_wireless_get_frequency): use
6692 - (find_supported_frequency): new function; find a free supported
6693 frequency for a user-created Ad-Hoc network
6694 - (build_supplicant_config): if no frequency was specified for a user-
6695 created Ad-Hoc network, find a free one to use
6696 - (real_act_stage1_prepare): mark Ad-Hoc connections that don't have
6697 a specific object as user-created
6699 2007-12-27 Dan Williams <dcbw@redhat.com>
6701 * libnm-util/nm-utils.c
6702 libnm-util/nm-utils.h
6703 - (nm_utils_security_valid): add 'adhoc' argument and handle security
6706 2007-12-24 Dan Williams <dcbw@redhat.com>
6708 * libnm-util/nm-setting-wireless.c
6709 - (verify): add 802.11a channels 7, 8, 9, 11, 12, 16, 34, 165, 183, 184,
6710 185, 187, 188, 192, and 196
6712 2007-12-24 Dan Williams <dcbw@redhat.com>
6714 * src/nm-device-802-11-wireless.c
6715 - (nm_device_802_11_wireless_get_frequency): handle drivers that return
6716 a channel # instead of a frequency
6718 2007-12-24 Dan Williams <dcbw@redhat.com>
6720 * src/NetworkManagerAP.c
6721 src/NetworkManagerAP.h
6722 - (nm_ap_new_fake_from_connection): pass band to channel_to_freq()
6723 - (freq_to_channel): handle split band tables
6724 - (channel_to_freq): handle split band tables, take a band argument
6726 2007-12-24 Dan Williams <dcbw@redhat.com>
6728 * libnm-util/nm-setting-connection.h
6729 libnm-util/nm-setting-connection.c
6730 - Add 'lockdown' member
6732 2007-12-22 Dan Williams <dcbw@redhat.com>
6734 * libnm-util/nm-setting-wireless.c
6735 - (nm_setting_wireless_class_init): add missing 'rate' property
6738 2007-12-18 Dan Williams <dcbw@redhat.com>
6740 Base the NMNetlinkMonitor class on libnl instead of hand-rolled netlink.
6742 * src/nm-netlink-monitor.c
6743 src/nm-netlink-monitor.h
6744 - Remove handrolled netlink, use libnl instead
6746 * src/nm-device-802-3-ethernet.c
6747 - (constructor, nm_device_802_3_ethernet_carrier_off,
6748 nm_device_802_3_ethernet_carrier_on): use new names
6750 2007-12-17 Dan Williams <dcbw@redhat.com>
6753 - Bump requirement for libnl to 1.0-pre8 (which works with newer kernels
6754 and fixes memory leaks)
6757 - (nm_netlink_get_default_handle): handle new versions of libnl that
6758 automatically handle the netlink PID
6760 2007-12-17 Dan Williams <dcbw@redhat.com>
6762 Patch from Michael Biebl <biebl@debian.org>
6765 src/ppp-manager/Makefile.am
6766 - fix up install dir of pppd plugin
6767 - clean up configure.in a bit
6769 2007-12-12 Dan Williams <dcbw@redhat.com>
6771 * system-settings/src/nm-system-settings.conf
6772 - Allow non-root clients (like the applet) to read settings
6774 2007-12-10 Tambet Ingo <tambet@gmail.com>
6776 * Replace all occurences of 'UMTS' with 'GSM'.
6778 2007-12-07 Dan Williams <dcbw@redhat.com>
6780 * src/nm-serial-device.c
6781 - (real_is_up): serial devices are always "up"
6783 2007-12-07 Dan Williams <dcbw@redhat.com>
6786 src/NetworkManagerSystem.c
6787 - (new_nl_handle): ensure that the same netlink pid is never chosen
6788 twice (gnome.org #491047)
6789 - Make more robust against allocation-related failures should they occur
6791 2007-12-07 Dan Williams <dcbw@redhat.com>
6793 Noticed by Christian Persch <chpe@gnome.org>
6795 Always chain up to parent object in dispose and finalize handlers.
6798 2007-12-07 Dan Williams <dcbw@redhat.com>
6800 * src/nm-device-802-11-wireless.c
6801 - Wrap #include of linux/mii.h to fix redefined structures due to
6802 incorrect kernel headers (gnome.org #350061)
6804 2007-12-06 Tambet Ingo <tambet@gmail.com>
6806 * src/nm-umts-device.c (real_act_stage1_prepare): Flash the modem (drop DTR)
6807 before doing anything else.
6808 (init_modem): Move modem initialization here.
6810 * src/nm-serial-device.c (ppp_state_changed): React on pppd state changes.
6811 (nm_serial_device_flash): Implement.
6813 * src/ppp-manager/nm-ppp-manager.c (name_owner_changed): Fix the typoes: the state
6814 changes signal is "StateChanged" and not "Status".
6815 (ppp_exit_code, ppp_status_changed): Remove the debug output, it's working fine now.
6817 2007-12-06 Dan Williams <dcbw@redhat.com>
6819 * src/supplicant-manager/nm-supplicant-config.c
6820 - (nm_supplicant_config_add_setting_wireless_security): reorganize a bit
6821 to only send some options when they make sense; also send phase2
6822 option to the supplicant (possible fix for rh #399631)
6824 2007-12-06 Tambet Ingo <tambet@gmail.com>
6826 * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Change the
6827 arguments: This whole file shouldn't really know anything about NMDevices, it
6828 should deal only with device interfaces. Devices might have different ifaces for
6829 different stuff and this place shouldn't know anything about it.
6831 * src/NetworkManagerPolicy.c: Get rid of leftover global variable global_policy.
6832 (global_state_changed): Implement. In the current NM it's not really important,
6833 but will be required in the case of multiple active devices. (Or even better,
6834 if stuff like that gets moved out from NM).
6836 * src/vpn-manager/nm-vpn-connection.c (connection_state_changed): Don't call
6837 nm_system_device_set_from_ip4_config() directly, use nm_device_set_ip4_config()
6840 * src/nm-device.c: Add a ip_face protected member. It's used for 'multi-interface'
6841 devices like serial devices (ttyS0 and ppp0 for example).
6842 (nm_device_get_ip_iface): Implement. Default to the device iface if ip_iface is not
6844 (nm_device_set_ip_iface): Implement.
6845 (nm_device_activate_stage5_ip_config_commit): Move all the extra actions that happen
6846 after setting ip4_config from here ...
6847 (nm_device_set_ip4_config): ... to here. The reason behind it is that no other code
6848 than this function should call nm_system_device_set_from_ip4_config() because no
6849 other code has enough information on which arguments to use. So instead, other code
6850 could just set the new ip4 config using this function and everyone is happy.
6852 * src/nm-umts-device.c: Store the pending ids so that we can remove pending actions
6853 if we happen to get deactivated while something is pending.
6854 (automatic_registration): Handle the response that indicates pending network
6855 registration and wait until the pending registration is done.
6856 (real_deactivate_quickly): If there's a pending operation, cancel it.
6858 * src/nm-serial-device.c (ppp_ip4_config): Set the ip_iface when the iface is up ...
6859 (real_deactivate_quickly): ... and remove it when it's down.
6860 (nm_serial_device_get_reply): Return the timeout id so that the callers can remove
6862 (nm_serial_device_wait_for_reply): Ditto.
6864 2007-12-05 Tambet Ingo <tambet@gmail.com>
6866 * src/nm-umts-device.c (dial_done): Fix the typoes in warnings.
6867 (get_network_done): Remove newline, nm_info() does it already.
6868 (real_act_stage1_prepare): Turn the modem echo off.
6870 * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): In case of serial
6871 device, set the route to the device interface. This is a hack.
6873 * src/nm-serial-device.c (nm_serial_device_send_command_string): Only append carriage
6874 return, no need for a new-line.
6875 (ppp_ip4_config): Store the ip4 config to be set in the next stage.
6876 Change the device iface here (ugh).
6877 (real_act_stage4_get_ip4_config): Implement.
6878 (real_deactivate_quickly): Free the pending ip4 config if it's still pending.
6879 Restore the device iface.
6881 * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Do nothing if the active
6882 device is not wired or wireless (eg, automatically upped) device.
6884 * src/ppp-manager/nm-ppp-manager.c (ip4_config_get): Don't make the config secondary,
6886 (nm_ppp_manager_start): Don't let pppd to set the default route, we want to do it.
6888 * src/nm-hal-manager.c (get_creator): Make sure the device has required capability
6889 before calling it's is_device_fn().
6891 2007-12-05 Dan Williams <dcbw@redhat.com>
6893 * libnm-util/nm-utils.c
6894 - (nm_utils_register_value_transformations,
6895 nm_utils_convert_gvalue_hash_to_string): better debug output of
6896 GHashTables of GValues too
6898 2007-12-04 Dan Williams <dcbw@redhat.com>
6900 * initscript/RedHat/NetworkManager.in
6901 - No longer start named; it's D-Bus interface is going away
6903 2007-12-04 Dan Williams <dcbw@redhat.com>
6905 Patch from Michael Biebl <biebl@debian.org>
6907 * system-settings/plugins/ifcfg/Makefile.am
6908 system-settings/src/main.c
6909 system-settings/src/Makefile.am
6910 - Put system settings plugins in NM plugins dir
6912 * src/ppp-manager/Makefile.am
6913 src/ppp-manager/nm-ppp-manager.c
6914 - Move pppd plugin to NM plugins dir
6916 2007-12-04 Dan Williams <dcbw@redhat.com>
6918 * libnm-util/nm-setting-vpn-properties.h
6919 - Clarify usage of the 'data' member of the setting
6921 * libnm-util/nm-setting-vpn-properties.c
6922 - (nm_setting_vpn_properties_init): initialize the 'data' hash table
6923 - (set_property): just remove all the settings; don't recreate the has
6924 - (update_one_secret): don't need to create the hash table here since
6925 it should always be present
6927 2007-12-03 Tambet Ingo <tambet@gmail.com>
6929 Implement PIN and PUK requesting.
6931 * src/nm-umts-device.c (enter_pin_done): Request the secret again if it failed.
6932 (enter_pin): Handle PIN and PUK requests.
6933 (real_act_stage1_prepare): Clear the secret type.
6934 (real_connection_secrets_updated): Implement this class method to get
6935 notified when new secrets arrive.
6936 (nm_umts_device_class_init): Add private data back to the umts device class
6937 to store the required secret type.
6939 2007-12-01 Dan Williams <dcbw@redhat.com>
6941 * system-settings/plugins/ifcfg/parser.c
6942 - (parser_parse_file): don't try to verify NULL connections
6944 2007-12-01 Dan Williams <dcbw@redhat.com>
6946 * system-settings/src/main.c
6947 - (load_connections, add_connection_to_settings): actually export
6948 plugin-provided connections over D-Bus so NM can get them
6950 2007-12-01 Dan Williams <dcbw@redhat.com>
6952 * system-settings/plugins/ifcfg/parser.c
6953 system-settings/plugins/ifcfg/parser.h
6954 system-settings/plugins/ifcfg/plugin.c
6955 - Hook up more inotify bits (untested)
6957 2007-11-29 Dan Williams <dcbw@redhat.com>
6959 * system-settings/src/nm-system-config-interface.h
6960 system-settings/src/nm-system-config-interface.c
6961 - (nm_system_config_interface_init,
6962 nm_system_config_interface_get_connections): add
6964 * system-settings/src/main.c
6965 - (load_plugins, load_connections, main): use a GSList for plugins
6966 to ensure priority ordering
6968 * system-settings/plugins/ifcfg/parser.c
6969 - (ifcfg_error_quark): move to plugin.c, and rename
6971 * system-settings/plugins/ifcfg/plugin.h
6972 system-settings/plugins/ifcfg/plugin.c
6973 - (ifcfg_plugin_error_quark): move here from parser.c
6974 - rework connection loading and initialization
6975 - Add preliminary inotify support for network profile config file
6977 2007-11-28 Tambet Ingo <tambet@gmail.com>
6979 Merge the beginnings of the new GSM card support.
6981 * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Remove the
6982 ppp watch source before killing pppd - If this happens from g_object_unref()
6983 then the ppp manager is already destroyed by the time the watch callback runs.
6985 * src/nm-hal-manager.c: Add a device_type_name string to the device
6986 creators, so that we can print a nice human readable string when a
6989 * src/nm-umts-device.c (automatic_registration_get_network): Query
6990 for the activated network, not much is done with the result thought.
6992 * src/nm-serial-device.c (nm_serial_device_get_reply): Implement.
6993 (ppp_ip4_config): Change the device state to activated here for now.
6994 (real_check_connection): Make sure the connection includes ppp setting.
6996 * libnm-glib/nm-client.c (get_device): Handle umts devices.
6998 * libnm-glib/Makefile.am: Add the new files to build.
7000 * libnm-glib/nm-umts-device.c:
7001 * libnm-glib/nm-umts-device.h: Implement.
7003 2007-11-26 Tambet Ingo <tambet@gmail.com>
7005 * src/nm-umts-device.c (automatic_registration_get_network): For now, dial
7006 immediately, nm_serial_device_get_reply() isn't implemented correctly yet.
7008 * src/nm-serial-device.c (wait_for_reply_info_destroy): Don't try to remove
7009 the timeout source - this function is only called when the timeout source has
7011 (nm_serial_device_wait_for_reply): Allocate the duplicate responses array
7012 to be big enough to contain the terminating zero element as well.
7013 The timeout argument is meant to be in seconds now.
7014 (real_deactivate_quickly): Implement.
7016 * src/NetworkManager.conf: Allow root to own
7017 "org.freedesktop.NetworkManager.PPP", deny it for everybody else.
7019 * libnm-util/nm-setting-umts.c: Network type and band properties are ints,
7020 (not unsigned ints).
7022 * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Fix a
7023 small issue with parity bounds - capital letters have lower ascii codes
7024 than lower case letters.
7026 * libnm-util/nm-connection.c (register_default_settings): Register serial
7029 2007-11-22 Tambet Ingo <tambet@gmail.com>
7031 Remove the "index" property from devices as not all device types have this.
7033 * include/NetworkManager.h (NM_DBUS_PATH_DEVICE): Remove.
7035 * src/nm-hal-manager.c (nm_get_device_index_from_hal): Remove.
7036 (wired_device_creator): Get the device interface from hal to create the device.
7037 (wireless_device_creator): Ditto.
7039 * src/nm-device.c (nm_device_init): Remove the index member.
7040 (constructor): Remove the checks for index property, make interface property
7041 a require constructor property.
7042 Use the HAL udi for DBus path for devices.
7043 (nm_device_get_index): Remove.
7044 (set_property): Remove index handling.
7045 (get_property): Ditto.
7046 (nm_device_get_dbus_path): Remove.
7048 * src/nm-device-interface.c (nm_device_interface_init): Remove the index
7051 * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_link_activated):
7052 Access the device index through it's interface.
7053 (nm_device_802_3_ethernet_link_deactivated): Ditto.
7054 (nm_device_802_3_ethernet_new): Remove the useless argument test_dev. Remove
7055 index argument. Add interface argument.
7057 * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new): Remove
7058 the useless test_dev argument. Remove index argument. Add interface arugment.
7060 * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Get the
7061 device index through interface.
7062 (nm_system_set_mtu): Ditto.
7064 * introspection/nm-device.xml: Remove the "Index" property.
7066 2007-11-21 Tambet Ingo <tambet@gmail.com>
7068 * src/nm-serial-device.c:
7069 * src/nm-serial-device.c:
7070 * src/nm-umts-device.c:
7071 * src/nm-umts-device.h: Implement.
7073 * src/nm-hal-manager.c (nm_get_device_driver_name): libhal_free_string the string
7074 allocated by libhal.
7075 (modem_device_creator): Implement.
7076 (register_built_in_creators): Register the modem creator.
7078 * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new):
7079 Remove the unused test_dev argument.
7081 * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_new): Ditto.
7083 * src/Makefile.am: Add new files to build.
7084 Link in ppp-manager.
7086 * libnm-util/nm-setting-umts.c:
7087 * libnm-util/nm-setting-umts.h:
7088 * libnm-util/nm-setting-serial.c:
7089 * libnm-util/nm-setting-serial.h: Implement.
7091 * libnm-util/Makefile.am: Add new files to build.
7093 2007-11-28 Dan Williams <dcbw@redhat.com>
7095 Patch from Zdeněk Jurka <zdenek.jurka@jware.cz>
7097 Support DHCP-provided static routes.
7099 * src/nm-ip4-config.h
7101 - Add get/set functions for static routes
7103 * src/dhcp-manager/nm-dhcp-manager.c
7104 - (nm_dhcp_manager_get_ip4_config): extract static routes from the
7107 * src/NetworkManagerSystem.c
7108 - (nm_system_device_set_from_ip4_config): set any static routes on the
7109 interface when applying the IP4Config
7111 2007-11-28 Dan Williams <dcbw@redhat.com>
7113 * src/nm-device-802-11-wireless.c
7114 - (real_act_stage1_prepare): mark APs created for hidden networks
7117 2007-11-27 Dan Williams <dcbw@redhat.com>
7119 * system-settings/src/nm-system-config-interface.h
7120 - Note how to store secrets on NMSetting objects
7122 * system-settings/src/dbus-settings.c
7123 - (connection_settings_get_secrets): implement
7125 2007-11-27 Dan Williams <dcbw@redhat.com>
7127 * system-settings/plugins/ifcfg/Makefile.am
7128 system-settings/plugins/ifcfg/parser.c
7129 system-settings/plugins/ifcfg/parser.h
7130 system-settings/plugins/ifcfg/plugin.c
7131 - Parse wireless connections too
7133 * system-settings/src/dbus-settings.c
7134 system-settings/src/dbus-settings.h
7135 system-settings/src/main.c
7136 - Handle connection update/removal if the plugin supports it
7138 2007-11-27 Dan Williams <dcbw@redhat.com>
7140 * src/nm-dbus-manager.h
7141 src/nm-hal-manager.c
7142 - Include the correct headers now that NetworkManagerDbusUtils.h doesn't
7146 src/NetworkManagerDbusUtils.c
7147 src/NetworkManagerDbusUtils.h
7148 - Remove these two source files; they are unused
7150 2007-11-27 Dan Williams <dcbw@redhat.com>
7152 * src/vpn-manager/nm-vpn-manager.c
7153 - (impl_vpn_manager_connect): fix system settings check (found by
7156 2007-11-26 Dan Williams <dcbw@redhat.com>
7158 * Fix warnings so everything compiles with --enable-more-warnings
7160 2007-11-25 Dan Williams <dcbw@redhat.com>
7163 - Rework structure and code to use GModule-loaded plugins and a plugin
7164 interface that plugins export to the system settings service
7166 2007-11-21 Dan Williams <dcbw@redhat.com>
7169 - Add Soren's system settings service. Needs work for distros other
7170 than Fedora; the backends from NM should mostly migrate to here
7171 and be converted to GObjects
7173 2007-11-21 Dan Williams <dcbw@redhat.com>
7175 * libnm-util/nm-setting-vpn-properties.c
7176 - (set_property): must deep-copy the given settings hash, otherwise
7177 double-free errors occur when the setting is disposed of
7179 2007-11-21 Dan Williams <dcbw@redhat.com>
7181 * src/vpn-manager/nm-vpn-act-request.h
7182 src/vpn-manager/nm-vpn-act-request.c
7185 2007-11-20 Dan Williams <dcbw@redhat.com>
7187 * libnm-util/nm-utils.c
7188 - (nm_utils_convert_strv_to_string, nm_utils_convert_uint_array_to_string,
7189 nm_utils_convert_ip4_addr_struct_array_to_string,
7190 nm_utils_register_value_transformations): print out the readable
7191 values of more types of properties of NMSettings subclasses
7193 2007-11-20 Dan Williams <dcbw@redhat.com>
7195 * libnm-util/nm-setting-ip4-config.c
7196 - (ip4_addresses_from_gvalue, ip4_addresses_to_gvalue,
7197 nm_setting_ip4_config_class_init): apparently dbus-glib can't
7198 marshal GValueArrays inside collections, so switch to types that it
7199 can actually marshal/demarshal
7201 2007-11-16 Dan Williams <dcbw@redhat.com>
7203 * libnm-util/nm-setting-wireless-security.c
7204 - (verify_tls, verify_ttls, verify_identity, verify_nai): do some
7205 minimal verification of EAP methods too
7206 - (verify): verify phase1 eap methods too
7208 2007-11-15 Dan Williams <dcbw@redhat.com>
7210 * libnm-glib/nm-device.h
7211 libnm-glib/nm-device.c
7212 - (nm_device_get_product, nm_device_get_vendor): should be returning
7215 2007-11-15 Dan Williams <dcbw@redhat.com>
7217 * libnm-glib/nm-device.c
7218 - (get_product_and_vendor): don't try to free things that should be
7221 2007-11-15 Dan Williams <dcbw@redhat.com>
7223 * src/NetworkManagerUtils.c
7224 - (nm_ethernet_address_is_valid): unbreak previous fix
7226 2007-11-15 Dan Williams <dcbw@redhat.com>
7228 * src/supplicant-manager/nm-supplicant-config.c
7229 - (nm_supplicant_config_add_setting_wireless_security): handle PEAP
7232 2007-11-15 Dan Williams <dcbw@redhat.com>
7234 * src/NetworkManagerUtils.c
7235 - (nm_ethernet_address_is_valid): fix style, clarify
7236 - (nm_ethernet_addresses_are_equal): don't try to memcmp NULLs
7238 * src/nm-device-802-11-wireless.c
7239 - (get_active_ap): handle failure from nm_device_802_11_wireless_get_bssid()
7240 - (nm_device_802_11_wireless_get_ssid,
7241 nm_device_802_11_wireless_get_bssid,
7242 nm_device_802_11_wireless_get_bitrate): zero the wreq structure
7243 before calling the ioctl; fixes valgrind-reported jump depends on
7244 uninitialized value errors
7246 2007-11-15 Dan Williams <dcbw@redhat.com>
7248 * libnm-util/nm-setting.c
7249 - (nm_setting_to_hash, one_property_cb): revert previous commit, it's
7250 unecessary to serialize 'name'
7252 * src/nm-activation-request.c
7253 - (get_secrets_cb): fix cases where a full NMSetting is returned from
7256 2007-11-15 Dan Williams <dcbw@redhat.com>
7258 * libnm-util/nm-setting-connection.h
7259 libnm-util/nm-setting-connection.c
7260 - Rename the 'name' property to 'id', because it conflicted with the
7261 NMSetting superclass' 'name' property.
7263 * libnm-util/nm-setting.c
7264 - (nm_setting_to_hash): serialize the 'name' property
7265 - (one_property_cb): ignore 'name' on deserialization of a connection
7267 * src/nm-device-802-11-wireless.c
7268 src/vpn-manager/nm-vpn-connection.c
7269 src/NetworkManagerPolicy.c
7270 - Fix up for NMSettingConnection 'name'->'id' changes
7272 2007-11-13 Dan Williams <dcbw@redhat.com>
7274 * libnm-glib/nm-device-802-11-wireless.h
7275 libnm-glib/nm-device-802-11-wireless.c
7276 - (nm_device_802_11_wireless_get_hw_address): return should be const
7279 libnm-glib/libnm-glib-test.c
7280 - Fixes for above change
7282 2007-11-12 Dan Williams <dcbw@redhat.com>
7284 * src/supplicant-manager/nm-supplicant-settings-verify.c
7285 - Allow fragment_size option
7287 * src/supplicant-manager/nm-supplicant-settings-verify.c
7288 - (nm_supplicant_config_add_setting_wireless_security): use a lower
7289 EAP fragment size than the default to help some TLS connections
7291 2007-11-12 Dan Williams <dcbw@redhat.com>
7293 Make certs actually work. The private key is now a secret, and should be
7294 decrypted when requested by NM. The private key and phase2 private key
7295 passwords are no longer interesting to NM because they should be used by
7296 the settings service to decrypt the private key itself before passing it
7297 to NM, and hence have been removed as fields.
7299 * libnm-util/nm-setting-wireless-security.h
7300 libnm-util/nm-setting-wireless-security.c
7301 - Remove private-key-passwd and phase2-private-key-passwd from
7303 - (need_secrets_password, need_secrets_eappsk, need_secrets_sim,
7304 need_secrets): use property #defines instead strings to keep things
7306 - (need_secrets_tls): if a client certificate is present but no
7307 private key, request the private key
7308 - (set_property, get_property, nm_setting_wireless_security_class_init):
7309 remove private key password stuff, mark private keys as secret
7311 * src/supplicant-manager/nm-supplicant-settings-verify.c
7312 - Remove private_key_passwd and private_key2_passwd from opt_table
7314 2007-11-09 Dan Williams <dcbw@redhat.com>
7316 Fix vpn-properties setting update_secrets call for new NMSetting stuff.
7317 Since the vpn-properties are managed and known by the VPN daemons themselves,
7318 libnm-util doesn't know what's secret and what's in the setting's 'data'
7321 * libnm-util/nm-setting.h
7322 libnm-util/nm-setting.c
7323 - Add the ability for subclasses to override update_one_secret
7325 * libnm-util/nm-setting-vpn-properties.c
7326 - Override update_one_secret and just copy the values into the
7329 2007-11-09 Dan Williams <dcbw@redhat.com>
7331 * libnm-glib/nm-settings.h
7332 libnm-glib/nm-settings.c
7333 - (nm_settings_new_error): remove
7334 - (nm_settings_error_quark): add; instead of nm_settings_new_error,
7335 clients should use g_set_error() with NM_SETTINGS_ERROR
7337 2007-11-09 Dan Williams <dcbw@redhat.com>
7339 * src/supplicant-manager/nm-supplicant-config.c
7340 - (nm_supplicant_config_add_setting_wireless_security): private key
7341 passwords are never sent to wpa_supplicant, because the supplicant
7342 should never be reading random files from the disk. Clients like
7343 the applet are required to decrypt the private keys and send NM
7344 the decrypted blobs.
7346 2007-11-08 Dan Williams <dcbw@redhat.com>
7348 * libnm-util/nm-setting-wireless-security.h
7349 libnm-util/nm-setting-wireless-security.c
7350 - Add 'private-key-decrypted' and 'phase2-private-key-decrypted'
7351 members to 802-11-wireless-security structure. This should be used
7352 to indicate that the values in private-key and phase2-private-key
7353 are already decrypted by the user agent, and that no
7354 private-key-passwd or phase2-private-key-passwd should be expected.
7355 It is not meant to be a stored configuration value, but meant to
7356 be set when the conneciton is sent to NM over dbus.
7358 2007-11-08 Dan Williams <dcbw@redhat.com>
7360 * libnm-util/nm-connection.h
7361 libnm-util/nm-connection.c
7362 - (nm_connection_need_secrets): add argument to return hints
7364 * src/nm-device-802-11-wireless.c
7365 - (link_timeout_cb, supplicant_connection_timeout_cb,
7366 real_act_stage2_config, real_act_stage4_ip_config_timeout): handle
7367 nm_connection_need_secrets() change
7369 2007-11-07 Tambet Ingo <tambet@gmail.com>
7371 Rework NMSetting structures: Move each setting to it's own file.
7372 Convert to GObject. Remove home grown setting types and use GTypes.
7373 Use GObject property introspection for hash conversion, enumerating
7376 * libnm-util/nm-setting-connection.[ch]
7377 * libnm-util/nm-setting-ip4-config.[ch]
7378 * libnm-util/nm-setting-ppp.[ch]
7379 * libnm-util/nm-setting-vpn.[ch]
7380 * libnm-util/nm-setting-vpn-properties.[ch]
7381 * libnm-util/nm-setting-wired.[ch]
7382 * libnm-util/nm-setting-wireless.[ch]
7383 * libnm-util/nm-setting-wireless-security.[ch]
7385 New files, each containing a setting.
7387 * libnm-util/nm-setting-template.[ch]: A template for creating new
7388 settings. To use it, just replace 'template' with the new setting
7389 name, and you're half-way done.
7391 * libnm-util/nm-setting.c: Convert to GObject and use GObject
7392 introspection instead of internal types and tables.
7394 * libnm-util/nm-connection.c: Adapt the new NMSetting work.
7396 * libnm-util/nm-param-spec-specialized.[ch]: Implement. Handles
7397 GValue types defined by dbus-glib for composed types like collections,
7398 structures and maps.
7400 * src/*: The API of NMSetting and NMConnection changed a bit: Getting
7401 a setting from connection takes the setting type now. Also, since
7402 the settings are in multiple files, include relevant settings.
7404 2007-10-31 Saleem Abdulrasool <compnerd@compnerd.org>
7407 * src/backends/NetworkManagerGentoo.c:
7408 (nm_system_restart_mdns_responder): Implement restarts for other mdns
7409 providers in Gentoo.
7411 2007-10-31 Dan Williams <dcbw@redhat.com>
7413 * libnm-util/nm-connection.c
7414 - (gvalue_to_string): handle UINT32 arrays
7416 2007-10-31 Dan Williams <dcbw@redhat.com>
7418 * libnm-glib/nm-device.h
7419 libnm-glib/nm-device.c
7420 - (nm_device_get_description): remove
7421 - (nm_device_get_product, nm_device_get_vendor): add
7422 - (nm_device_update_description): new function (private); walk HAL
7423 devices to get product and vendor IDs for a specific device
7425 2007-10-31 Dan Williams <dcbw@redhat.com>
7427 * src/nm-device-802-11-wireless.c
7428 - (nm_device_802_11_wireless_get_mode): ignore ENODEV errors
7430 2007-10-29 Dan Williams <dcbw@redhat.com>
7432 * src/nm-hal-manager.c
7433 - (device_added, device_new_capability): ignore device additions while
7434 asleep. Fixes crash caused when NM goes to sleep, a network device
7435 kernel module is unloaded and reloaded and recognized by NM again.
7437 2007-10-26 Dan Williams <dcbw@redhat.com>
7439 Patch from Helmut Schaa <hschaa@suse.de> (and more bits from me)
7441 * src/NetworkManagerAP.c
7442 src/NetworkManagerAP.h
7443 libnm-glib/nm-access-point.c
7444 libnm-glib/nm-access-point.h
7445 - Make 'rate' property a guint32 to better match with WEXT and
7446 wpa_supplicant and to allow representation of higher bitrates
7448 * src/nm-device-802-11-wireless.c
7449 introspection/nm-device-802-11-wireless.xml
7450 libnm-glib/nm-device-802-11-wireless.c
7451 libnm-glib/nm-device-802-11-wireless.h
7452 - Make 'bitrate' property a guint32 to match AP 'rate' property type
7454 * src/nm-device-802-3-ethernet.c
7455 src/nm-device-802-3-ethernet.h
7456 introspection/nm-device-802-3-ethernet.xml
7457 libnm-glib/nm-device-802-3-ethernet.c
7458 libnm-glib/nm-device-802-3-ethernet.h
7459 - Make 'speed' property a guint32 to match other speed/rate types
7460 - Make nm_device_802_3_ethernet_get_speed() static
7463 - Update for the changes above
7465 2007-10-26 Dan Williams <dcbw@redhat.com>
7467 * src/named-manager/nm-named-manager.c
7468 - (rewrite_resolv_conf): clean up error handling to avoid double-free by
7469 not calling fclose() twice on some error conditions
7471 2007-10-26 Dan Williams <dcbw@redhat.com>
7473 * src/nm-activation-request.c
7474 - (dispose): clean up indentation; get the right DBusGProxy object to
7475 cancel the GetSecrets pending call on. Need to use the Secrets
7476 proxy, not the regular connection proxy. Otherwise the GetSecrets
7477 pending call doesn't get canceled, and pressing Cancel in the
7478 applet's password dialog could cause get_secrets_cb() to be called
7479 after the activation request has already been destroyed
7481 2007-10-24 Dan Williams <dcbw@redhat.com>
7483 * src/supplicant-manager/nm-supplicant-config.c
7484 - (nm_supplicant_config_add_blob): pass blob data and length for
7486 - (get_hash_cb): use GByteArrays rather than GArrays; easier to follow
7488 2007-10-24 Dan Williams <dcbw@redhat.com>
7490 * src/supplicant-manager/nm-supplicant-settings-verify.c
7491 - (opt_table): max length for certificates should be 65536
7493 2007-10-24 Dan Williams <dcbw@redhat.com>
7495 * src/supplicant-manager/nm-supplicant-interface.c
7496 - (blob_free): correctly free blob data after use
7497 - (call_set_blobs): use the right D-Bus interfaace for setBlobs
7499 2007-10-24 Dan Williams <dcbw@redhat.com>
7501 * libnm-util/nm-setting.c
7502 - (setting_wireless_security_need_secrets): Fix lookup table logic for
7503 EAP method need secrets
7505 2007-10-24 Dan Williams <dcbw@redhat.com>
7507 * src/backends/NetworkManagerRedHat.c
7508 - (nm_system_update_dns): be a lot smarter about telling nscd to restart
7510 2007-10-23 Dan Williams <dcbw@redhat.com>
7512 * libnm-util/nm-setting.c
7513 libnm-util/nm-setting.c
7514 - (nm_setting_compare): implement
7515 - (default_setting_compare_fn, do_one_compare, compare_gvalue_hash,
7516 compare_one_hash_gvalue): compare the contents of a setting
7518 * libnm-util/nm-connection.c
7519 - (nm_connection_compare): implement
7521 2007-10-23 Dan Williams <dcbw@redhat.com>
7523 * src/nm-activation-request.c
7524 - (get_secrets_cb): handle getting a setting back that is more than
7525 just secrets (ie, user changed auth or EAP method or something)
7527 2007-10-23 Dan Williams <dcbw@redhat.com>
7529 * libnm-util/nm-setting.c
7530 libnm-util/nm-setting.h
7531 - (nm_setting_verify): new function; verify one setting
7532 - (nm_settings_verify_all): rename from nm_settings_verify()
7533 - (setting_connection_verify, setting_wireless_verify): allow NULL
7536 * libnm-util/nm-connection.c
7537 - (nm_connection_replace_settings, nm_connection_verify,
7538 nm_connection_new_from_hash): handle nm_settings_verify() rename
7540 2007-10-23 Dan Williams <dcbw@redhat.com>
7542 * src/nm-device-802-11-wireless.c
7543 - (real_act_stage2_config): use pre-increment on 'tries' to get the
7546 2007-10-23 Dan Williams <dcbw@redhat.com>
7548 * src/supplicant-manager/nm-supplicant-settings-verify.c
7549 - eap_allowed, phase2_allowed: harmonize with allowed values from
7552 2007-10-23 Dan Williams <dcbw@redhat.com>
7554 * src/nm-device-802-11-wireless.c
7555 - (real_act_stage2_config): after the first association failure,
7556 if the connection still needs secrets ask the user for them
7557 explicitly. After the fourth association failure due to bad
7558 secrets, fail the connection entirely. Handles the GetSecrets
7559 loop that NM gets into when the provided secrets don't match up
7560 with the connection details.
7562 2007-10-23 Dan Williams <dcbw@redhat.com>
7564 * src/supplicant-manager/nm-supplicant-config.c
7565 - (nm_supplicant_config_add_setting_wireless_security): only add
7566 WPA-specific options when WPA is in use
7568 2007-10-23 Dan Williams <dcbw@redhat.com>
7570 * src/supplicant-manager/nm-supplicant-config.c
7571 - (nm_supplicant_config_add_setting_wireless_security): 'password'
7572 secret doesn't need to be unhexified
7574 2007-10-23 Dan Williams <dcbw@redhat.com>
7576 * libnm-util/nm-setting.c
7577 - (setting_wireless_security_need_secrets): ensure auth_alg is !NULL
7578 before trying to do something with it
7580 2007-10-23 Dan Williams <dcbw@redhat.com>
7582 * src/nm-device-802-11-wireless.c
7583 - (merge_scanned_ap): handle NULL ssids returned from nm_ap_get_ssid()
7585 2007-10-23 Dan Williams <dcbw@redhat.com>
7587 * src/nm-device-802-11-wireless.c
7588 - (merge_scanned_ap): use libnm-util empty SSID check to catch more
7589 non-SSID-broadcasting APs
7591 2007-10-23 Dan Williams <dcbw@redhat.com>
7593 * src/NetworkManagerAP.c
7594 - (match_cipher, security_compatible): remove
7595 - (nm_ap_check_compatible): use nm_utils_ap_security_compatible() from
7598 2007-10-23 Dan Williams <dcbw@redhat.com>
7600 * libnm-util/nm-utils.c
7601 libnm-util/nm-utils.h
7602 - (nm_utils_ap_security_compatible): common function for checking
7603 whether a specific AP is compatible with an NMConnection
7605 2007-10-23 Dan Williams <dcbw@redhat.com>
7607 * libnm-util/nm-setting.c
7608 - (setting_wireless_security_need_secrets, need_secrets_phase2,
7609 need_secrets_tls, need_secrets_sim, need_secrets_eappsk,
7610 need_secrets_password, setting_wireless_security_verify): fix
7611 need_secrets for IEEE 802.1x and WPA-EAP by implementing need
7612 secrets logic for each supported EAP method
7614 2007-10-23 Dan Williams <dcbw@redhat.com>
7616 * src/supplicant-manager/nm-supplicant-config.c
7617 - (nm_supplicant_config_add_setting_wireless_security): fix wpa_supplicant
7618 config option name, should be "private_key2_passwd"
7620 2007-10-22 Tambet Ingo <tambet@gmail.com>
7622 Implement support for static IP addresses, additional/overridden DNS and
7623 DNS domain search lists.
7625 * libnm-util/nm-setting.c (uint_array_to_gvalue): Implement.
7626 (ip4_addresses_to_gvalue): Implement.
7627 (convert_array_to_byte_array): Implement.
7628 (nm_setting_populate_from_hash_default): Handle NM_S_TYPE_UINT_ARRAY and
7629 NM_S_TYPE_IP4_ADDRESSES.
7630 (nm_setting_hash): Ditto.
7631 (default_setting_clear_secrets): Add a default case for the switch: IP address
7632 shouldn't be secret, ever.
7633 (setting_ip4_config_verify): Update, requires addresses in case of manual
7635 (setting_ip4_config_destroy): Free stuff.
7637 * src/nm-device.c (merge_ip4_config): Implement.
7638 (real_act_stage4_get_ip4_config): Merge IP4 configuration from NMConnection.
7640 2007-10-22 Dan Williams <dcbw@redhat.com>
7642 * libnm-util/nm-setting.c
7643 - (setting_wireless_security_verify): allow WEP-40 and WEP-104 as
7644 pairwise cipher options for Dynamic WEP
7646 2007-10-21 Dan Williams <dcbw@redhat.com>
7648 * src/NetworkManagerAP.c
7649 src/NetworkManagerAP.h
7650 - Rename 'articifical' -> 'fake' since that's what they are until
7652 - (nm_ap_new_fake_from_connection): new function to create a 'fake' AP
7653 from the attributes in an NMConnection object
7654 - (security_compatible): better handle Dynamic WEP and LEAP; handle
7656 - (nm_ap_match_in_list): find a matching AP in a scan list
7658 * src/nm-device-802-11-wireless.c
7659 - (get_active_ap): add an 'ignore_ap' argument to ignore a specific
7660 AP when searching the scan list; match on frequency and mode too
7661 - (nm_device_802_11_wireless_get_frequency): implement
7662 - (merge_scanned_ap): replace duplicate matching logic with
7663 nm_ap_match_in_list()
7664 - (real_act_stage1_prepare): handle a NULL specific object; ie where
7665 the user is trying to connect to a hidden network that is not yet
7666 known from the scan list
7667 - (activation_success_handler): now that the card knows the AP's BSSID,
7668 there may already be a scanned AP in the scan list that is what
7669 we really wanted to connect to, but didn't know at the time. Use
7670 that instead of the 'fake' AP created at activation start and get
7671 rid of the 'fake' AP
7672 - (cull_scan_list): don't remove fake APs
7674 2007-10-21 Dan Williams <dcbw@redhat.com>
7676 * src/nm-activation-request.h
7677 src/nm-activation-request.c
7678 - (nm_act_request_set_specific_object): new function; allow setting the
7679 specific object if one isn't set yet
7681 2007-10-20 Dan Williams <dcbw@redhat.com>
7683 * src/supplicant-manager/nm-supplicant-config.h
7684 src/supplicant-manager/nm-supplicant-config.c
7685 - (nm_supplicant_config_init, nm_supplicant_config_finalize): add a hash
7686 table to store blobs
7687 - (nm_supplicant_config_add_blob): new function; add blob to internal
7689 - (nm_supplicant_config_get_blobs): new function; get stored blobs
7690 - (nm_supplicant_config_add_setting_wireless_security): handle
7691 options that use certificates (ie, blobs)
7693 * src/nm-device-802-11-wireless.c
7694 - (build_supplicant_config): pass a UID (just use the connection path)
7695 to the supplicant config as now required
7697 * src/supplicant-manager/nm-supplicant-interface.c
7698 - (add_network_cb, call_set_blobs, set_blobs_cb, call_set_network): if
7699 there are any blobs to send to wpa_supplicant, send those first
7700 before sending the network configuration
7702 2007-10-19 Dan Williams <dcbw@redhat.com>
7704 Split the GetSecrets() call off to a separate D-Bus interface so that it
7705 can be more easily locked down with D-Bus policy. Only 'root' (ie, NM)
7706 should be able to call GetSecrets().
7708 * include/NetworkManager.h
7709 - Define the connection secrets D-Bus interface
7711 * src/vpn-manager/nm-vpn-connection.c
7712 - (clear_need_auth): get the right proxy object for the connection
7714 - (get_connection_secrets): use the connection secrets proxy; send
7715 empty hints in get secrets request
7717 * src/nm-activation-request.c
7718 - (nm_act_request_request_connection_secrets): use the connection
7719 secrets proxy; send empty hints in get secrets request
7723 - (connection_get_settings_cb): set the connection secrets proxy on
7724 the connection object too
7725 - (internal_new_connection_cb): create the connection secrets proxy
7727 * introspection/nm-settings-connection.xml
7728 - Define Connection.Secrets interface and move GetSecrets there
7729 - Add a 'hints' argument to GetSecrets
7731 * libnm-glib/nm-settings.c
7732 libnm-glib/nm-settings.h
7733 - (impl_connection_settings_get_secrets): add 'hints' argument
7735 2007-10-19 Dan Williams <dcbw@redhat.com>
7738 - (constructor): add message about what path a device is exported as
7739 to help in debugging rh #339011
7741 2007-10-17 Dan Williams <dcbw@redhat.com>
7743 * libnm-util/nm-utils.h
7744 libnm-util/nm-utils.c
7745 - (nm_utils_security_valid): common function to help find the intersection
7746 of capabilities of devices and (optionally) access points
7748 2007-10-17 Dan Williams <dcbw@redhat.com>
7750 * src/nm-device-802-11-wireless.c
7751 - (get_wireless_capabilities): add missing braces so that WPA capabilities
7752 don't get erroneously cleared
7754 2007-10-17 Dan Williams <dcbw@redhat.com>
7758 src/nm-hal-manager.c
7759 - (device_removed, finalize, nm_manager_remove_device,
7760 nm_manager_sleep): add a 'deactivate' argument to
7761 nm_manager_remove_device() to fully deactivate devices when necessary
7762 (ie, always except when waking up)
7764 2007-10-16 Dan Williams <dcbw@redhat.com>
7766 * libnm-util/nm-setting.c
7767 - (setting_wireless_security_verify): fix phase2_auth methods; 'sim'
7768 also isn't valid phase2 autheap method
7770 2007-10-16 Dan Williams <dcbw@redhat.com>
7772 * libnm-glib/nm-client.c
7773 - (update_wireless_status): consolidate updates of wireless status
7774 - (constructor): use update_wireless_status()
7775 - (manager_running): set wireless status off when NM goes away; requery
7776 the wireless status when NM comes back
7778 2007-10-16 Dan Williams <dcbw@redhat.com>
7780 * libnm-glib/nm-client.c
7781 - (nm_client_activate_device): actually use the fixed-up specific
7784 2007-10-16 Dan Williams <dcbw@redhat.com>
7786 * src/nm-hal-manager.c
7787 - (killswitch_getpower_reply, nm_hal_manager_destroy): only print out
7788 killswitch error messages once
7790 2007-10-16 Dan Williams <dcbw@redhat.com>
7793 - (manager_set_wireless_enabled): don't allow wireless to be enabled
7794 if it's disabled in hardware; don't touch network devices while
7797 2007-10-16 Dan Williams <dcbw@redhat.com>
7799 * libnm-util/nm-client.c
7800 - (nm_client_activate_device): convert NULL specific_object to "/",
7801 which is used in place of NULL
7804 - (impl_manager_activate_device): convert "/" specific_object back into
7807 2007-10-16 Tambet Ingo <tambet@gmail.com>
7809 Implement a generic NMSetting creator from setting name.
7810 While at it, get rid of all nm_setting_foo_new_from_hash() functions and
7811 add a virtual function 'populate_fn'.
7813 * libnm-util/nm-connection.c (nm_connection_create_setting): Implement.
7814 (register_default_creators): Register setting creators instead of functions
7815 that create and then populate.
7816 (parse_one_setting): Use the common setting creator and then setting specific
7817 poplulation function.
7819 * libnm-util/nm-setting.c: Get rid of nm_setting_foo_new_from_hash() functions,
7820 they all looked exactly the same.
7821 Add a 'populate_fn' virtual function to NMSetting.
7822 Use default virtual functions in case they are not overriden.
7823 (nm_setting_populate_from_hash): Implement.
7825 * src/nm-device.c (real_act_stage3_ip_config_start): Don't hard code the setting
7826 name, use a defined string.
7827 (real_act_stage4_get_ip4_config): Ditto.
7829 2007-10-16 Tambet Ingo <tambet@gmail.com>
7831 * src/nm-hal-manager.c (killswitch_getpower_reply): The type returned from
7832 HAL is int, not uint.
7834 2007-10-15 Tambet Ingo <tambet@gmail.com>
7836 Implement killswitch polling through HAL.
7838 * src/nm-manager.c: Add wireless hardware status property. Add
7839 'properties-changed' signal for changes in wireless and wireless hardware
7842 * src/nm-hal-manager.c: Poll hal for killswitch statuses in every 6 seconds
7843 and update NMManager's wireless hardware state when it has changed.
7844 (nm_hal_manager_new): Don't try to add initial devices here - (hal_init)
7847 * libnm-glib/nm-client.c: Add wireless hardware status property. Cache the
7848 values of wireless state and wireless hardware state. Listen for the
7849 'properties-changed' signals, update the cached values and emit notify.
7851 * include/NetworkManager.h: Fix a typo in a comment.
7853 2007-10-14 Dan Williams <dcbw@redhat.com>
7855 * libnm-util/nm-setting.c
7856 - (setting_wireless_security_need_secrets): handle LEAP secrets
7858 2007-10-13 Dan Williams <dcbw@redhat.com>
7860 * libnm-util/nm-setting.h
7861 libnm-util/nm-setting.c
7862 src/supplicant-manager/nm-supplicant-config.c
7863 - Make the 'proto' field of the 802-11-wireless-security field a
7866 2007-10-12 Tambet Ingo <tambet@gmail.com>
7868 Rework the "properties-changed" signal listening implementation.
7869 Add a generic implementation to NMObject class that listens for
7870 the signal and calls property setters of the target NMObject.
7872 * libnm-glib/nm-object.c (nm_object_handle_properties_changed): Implement.
7874 * libnm-glib/nm-device-802-11-wireless.c: Move the GObject consturction
7875 code to the end of file so that all the static functions are available
7876 without extra declarations.
7877 Remove the "properties-changed" signal handling and use the framework from
7879 Implement property setters for properties that change with
7880 "properties-changed" signal.
7882 * libnm-glib/nm-access-point.c: Ditto.
7884 2007-10-12 Tambet Ingo <tambet@gmail.com>
7886 Rework the "properties-changed" signal implementation.
7887 In classes that need to use it, just emit "GObject::notify" and the new
7888 framework takes care of the rest to make the signal available on dbus.
7889 The framework queues the notifications and tries to send as many together
7890 in one signal as possible.
7892 * src/nm-properties-changed-signal.c:
7893 * src/nm-properties-changed-signal.h: Implement.
7895 * src/Makefile.am: Add new files to build.
7897 * src/NetworkManagerAP.c: Use the general framework for properties-changed
7900 * src/nm-device-802-11-wireless.c: Ditto.
7902 2007-10-10 Dan Williams <dcbw@redhat.com>
7905 - (wait_for_connection_expired): ensure info is valid
7906 - (connection_added_default_handler): Should only remove pending
7907 connection info when the manager has the connection that it's
7908 waiting for. Fixes segfault in wait_for_connection_info().
7910 2007-10-10 Dan Williams <dcbw@redhat.com>
7912 * libnm-util/nm-setting.c
7913 libnm-util/nm-setting.h
7914 - Add a default 'user_name' field to the VPN setting, which VPN plugins
7915 can use if they choose. Should be filled in by the settings service
7916 on-the-fly with the currently logged in user's username
7918 2007-10-10 Dan Williams <dcbw@redhat.com>
7920 * src/nm-device-802-11-wireless.c
7921 - (merge_scanned_ap): make sure non-SSID-broadcasting APs are marked
7922 as such, because even if the manager fills in the SSID, NM still
7923 has to indicate to wpa_supplicant that the AP isn't broadcasting
7926 2007-10-10 Tambet Ingo <tambet@gmail.com>
7928 Move ppp-manager over to dbus-glib. The big deal is that it was the last piece of
7929 code that used NM's own version of dbus signal handling and custom dictionary
7930 marshalling/unmarshalling. With this change, all that obsolete code can disappear
7931 and we get to maintain over 2000 lines less code.
7933 * libnm-util/dbus-dict-helpers.c:
7934 * libnm-util/dbus-dict-helpers.h: Remove.
7936 * src/ppp-manager/nm-pppd-plugin.c: Convert it to use dbus-glib.
7938 * src/ppp-manager/nm-pppd-plugin.xml: Implement.
7940 * src/ppp-manager/nm-ppp-manager.c: Use dbus-glib instead of home-brewed dbus signal
7943 * src/nm-dbus-manager.c: Remove all the manual dbus signal handling.
7945 * configure.in: Remove test/libnm-util/Makefile creation.
7947 * test/Makefile.am: Remove libnm-util from SUBDIRS.
7949 * test/libnm-util/: Remove the whole directory.
7951 2007-10-10 Tambet Ingo <tambet@gmail.com>
7953 * src/NetworkManagerPolicy.c (nm_policy_new): Initialize the
7954 device_state_changed_idle_id variable or it would contain some random value and the
7955 schedule_change_check calls would not do anything.
7957 2007-10-09 Dan Williams <dcbw@redhat.com>
7959 * src/nm-device-802-11-wireless.c
7960 - (supplicant_iface_scanned_ap_cb): set the non-broadcast flag elsewhere
7961 - (merge_scanned_ap): only have the manager fill the SSID if the AP
7962 isn't broadcasting its SSID; set the non-broadcast flag here; fix
7963 merging of non-SSID-broadcasting APs
7965 2007-10-09 Tambet Ingo <tambet@gmail.com>
7967 * libnm-util/nm-utils.c (nm_utils_is_empty_ssid): Convert the ssid type to
7968 "guint8 *" since it's usually used with GByteArray->data.
7969 (nm_utils_ssid_to_utf8): Add it back, the applet needs it.
7971 2007-10-09 Tambet Ingo <tambet@gmail.com>
7973 * src/NetworkManagerUtils.c
7974 (nm_utils_is_empty_ssid):
7975 (nm_utils_escape_ssid):
7976 (nm_utils_same_ssid): Remove. These functions are copied and pasted in a
7977 lot of places, so they belong to libnm-utils instead.
7979 Now with 100% less compiler warnings:
7981 * libnm-util/nm-utils.c (nm_dbus_escape_object_path): Remove, unused.
7982 (nm_dbus_unescape_object_path): Ditto.
7983 (nm_utils_ssid_to_utf8): Ditto.
7984 (nm_utils_is_empty_ssid): Move here from src/NetworkManagerUtils.c
7985 (nm_utils_escape_ssid): Ditto.
7986 (nm_utils_same_ssid): Ditto.
7988 * src/nm-manager.c: Include 'netinet/ether.h' for ether_aton_r.
7989 (add_one_connection_element): Remove an unused variable.
7990 (impl_manager_get_active_connections): Ditto.
7992 * src/NetworkManagerPolicy.c (get_device_connection): Remove an unused
7995 * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Remove a leftover
7996 from the previous commit.
7998 * src/nm-device-802-11-wireless.c (set_current_ap): Remove unused variable.
7999 (real_act_stage1_prepare): Ditto.
8000 (activation_success_handler): Ditto.
8001 (get_property): Ditto.
8003 * src/nm-device-802-3-ethernet.c (real_get_best_connection): Remove unused
8006 * src/ppp-manager/nm-pppd-plugin.c (nm_ip_up): Remove the check for 'ifname',
8009 * src/supplicant-manager/nm-supplicant-config.c
8010 (nm_supplicant_config_add_setting_wireless): Cast the GByteArray's 'guint8 *'
8011 to expected "char *".
8012 (nm_supplicant_config_add_setting_wireless): Ditto.
8013 (nm_supplicant_config_remove_option): Remove, not used.
8015 * libnm-glib/libnm-glib-test.c (dump_access_point): Frequency is a guint32,
8017 (test_wireless_enabled): Ifdef out unused function.
8018 (device_deactivate): Ditto.
8019 (device_state_changed): Ditto.
8020 (nm_utils_is_empty_ssid): Remove, it's now in libnm-utils.
8021 (nm_utils_escape_ssid): Ditto.
8023 * test/nm-tool.c (nm_utils_escape_ssid): Remove, it's now in libnm-utils.
8024 (nm_utils_is_empty_ssid): Ditto.
8026 * libnm-glib/nm-client.c (nm_client_free_active_connection_element): Remove
8029 * libnm-util/nm-setting.c (setting_wireless_destroy): Remove unused variable.
8030 (setting_vpn_properties_update_secrets): Ditto.
8031 (int_to_gvalue): Ifdef out for now, not used.
8032 (byte_to_gvalue): Ditto.
8034 * libnm-util/dbus-dict-helpers.c (_nmu_dbus_add_dict_entry_string_array):
8037 2007-10-08 Tambet Ingo <tambet@gmail.com>
8039 * src/NetworkManager.c (main): When dbus manager doesn't want to start, complain
8040 about dbus manager, not named manager.
8041 Make sure hal_manager and dbus_mgr are created before trying to unreference.
8043 * src/nm-dbus-manager.c: There was an issue with priv->proxy: We have a signal
8044 handler for it's 'destroy' signal - we use it to catch disconnects from dbus.
8045 However, the same signal is emitted when we destroy it and there's
8046 nm_dbus_manager_cleanup -> destroy_cb -> nm_dbus_manager_cleanup cycle.
8048 (nm_dbus_manager_cleanup): Let go of the DBusGProxy before
8049 releasing the DBusGConnection, since proxy needs a conneciton.
8050 (destroy_cb): Set the private proxy to NULL before cleaning up the manager.
8052 2007-10-08 Dan Williams <dcbw@redhat.com>
8054 * src/NetworkManager.c
8055 - (main): error on unknown command-line options
8057 2007-10-08 Dan Williams <dcbw@redhat.com>
8059 Reimplement the invalid connection list. Don't try to re-activate a
8060 connection that just failed or was canceled.
8063 - (connection_secrets_failed_cb): fail device activation, don't just
8064 deactivate the device. Listeners have to know about the failure.
8066 * src/NetworkManagerPolicy.c
8067 - (nm_policy_auto_get_best_device): exclude invalid connections from
8068 the connection list given to a device's get_best_connection()
8070 - (device_state_changed): tag failed connections as invalid; clear the
8071 tag from successful connections
8073 2007-10-08 Dan Williams <dcbw@redhat.com>
8075 Fix problems with interrupted activation. Previously, choosing an AP
8076 from the menu, then choosing another one before the first connection was
8077 successful wouldn't deactivate the device before starting the new connection
8078 on that same device.
8080 * src/NetworkManagerPolicy.c
8081 - (deactivate_old_device, device_state_changed, state_changed,
8082 nm_policy_new): wrong place to deactivate old devices
8085 - (pending_connection_info_destroy, finalize,
8086 wait_for_connection_expired): decouple destruction of the pending
8087 connection info from the manager device
8088 - (connection_added_default_handler): deactivate any active or
8089 activating device before starting a new activation
8090 - (impl_manager_activate_device): deactivate any active or activating
8091 device before starting a new activation; be sure not to leak
8092 pending connection info if a new activation request arrives but
8093 there's already a pending one in-process
8095 2007-10-08 Dan Williams <dcbw@redhat.com>
8097 * src/NetworkManagerAP.h
8098 src/NetworkManagerAP.c
8099 - (nm_ap_has_manufacturer_default_ssid): remove, unused. User clients
8100 should handle default SSIDs and whether or not to autoconnect
8103 2007-10-08 Dan Williams <dcbw@redhat.com>
8105 * src/NetworkManagerPolicy.c
8106 - (nm_policy_device_change_check): print out connection name where
8109 2007-10-08 Dan Williams <dcbw@redhat.com>
8111 * src/nm-device-802-11-wireless.c
8112 src/nm-device-802-11-wireless.h
8113 - (nm_device_802_11_wireless_class_init, merge_scanned_ap): new
8114 'hidden-ap-found' signal (for internal use only) that allows the
8115 NMManager to fill in the AP's SSID if a connection has that AP's
8116 BSSID in its seen-bssids list
8119 - (manager_hidden_ap_found, nm_manager_add_device): attach to a
8120 wireless device's hidden-ap-found signal and fill in the APs SSID
8123 2007-10-07 Dan Williams <dcbw@redhat.com>
8127 - Add a 'connections-added' signal to batch together updates of large
8128 numbers of connections, like when reading from a settings service
8129 the first time. Otherwise, the policy would just activate the first
8130 suitable connection it saw rather than waiting for the full list
8132 - (nm_manager_class_init): register new signal
8133 - (get_type_for_proxy, connection_get_settings_cb,
8134 get_connection_for_proxy): centralize places where a proxy's setting
8135 service is determined
8136 - (free_get_settings_info): if the call being freed is the last call
8137 in a pending call group, fire off the connections-added signal
8138 - (internal_new_connection_cb): add call to a pending call group if
8140 - (list_connections_cb): always create a call group here, because this
8141 call results in a batch of new connections
8142 - (initial_get_connections): start getting system connections first
8143 - (nm_manager_connections_destroy, emit_removed): actually emit the
8144 removed signal when destroying connections
8146 * src/NetworkManagerPolicy.c
8147 - (nm_policy_new, connections_added): handle connections-added signal
8150 2007-10-06 Dan Williams <dcbw@redhat.com>
8152 * src/nm-device-802-11-wireless.c
8153 - (constructor): fix leaked socket
8155 2007-10-06 Dan Williams <dcbw@redhat.com>
8157 * src/NetworkManagerPolicy.c
8158 - (nm_policy_auto_get_best_device): fix connection list reffing. Each
8159 connection in the list returned by nm_manager_get_connections() is
8160 reffed, but they weren't getting unreffed before returning
8162 2007-10-06 Dan Williams <dcbw@redhat.com>
8165 - (connections_to_slist): sort connections first on autoconnect, then
8168 2007-10-06 Dan Williams <dcbw@redhat.com>
8170 * libnm-util/nm-connection.c
8171 - (gvalue_to_string): handle UINT64
8173 2007-10-06 Dan Williams <dcbw@redhat.com>
8175 * src/NetworkManagerPolicy.c
8176 - (connection_updated, nm_policy_new): recheck state when a connection
8179 2007-10-06 Dan Williams <dcbw@redhat.com>
8183 - (nm_manager_get_connection_dbus_path): make static
8184 - (nm_manager_update_connections): remove; unused
8185 - Add a connection-updated signal
8186 - (new_connection_cb, connection_updated_cb, nm_manager_class_init):
8187 handle connection object updates
8189 2007-10-06 Dan Williams <dcbw@redhat.com>
8191 * src/NetworkManagerPolicy.c
8192 - (connection_removed): deactivate removed connections
8194 2007-10-06 Dan Williams <dcbw@redhat.com>
8196 * libnm-util/nm-connection.c
8197 libnm-util/nm-connection.h
8198 - (nm_connection_replace_settings): new function
8200 2007-10-06 Dan Williams <dcbw@redhat.com>
8202 * libnm-glib/nm-device-802-11-wireless.c
8203 - (nm_device_802_11_wireless_get_active_access_point): don't segfault
8204 on error when getting the active access point over D-Bus from NM
8206 2007-10-05 Dan Williams <dcbw@redhat.com>
8208 * libnm-util/nm-setting.c
8209 - (setting_wireless_verify, setting_wireless_destroy): add seen_bssids
8210 to the NMSettingWireless table; it's now a string array not an array
8213 2007-10-05 Dan Williams <dcbw@redhat.com>
8215 * libnm-glib/nm-device-802-11-wireless.c
8216 - Cache properties and update cached properties on D-Bus signals from NM
8218 2007-10-05 Dan Williams <dcbw@redhat.com>
8220 * src/nm-device-802-11-wireless.c
8221 - (set_current_ap): consolidate current_ap handling code into one place
8222 to ensure that PropertiesChanged signals are emitted in all cases
8223 - (periodic_update, real_deactivate_quickly, real_act_stage1_prepare,
8224 nm_device_802_11_wireless_dispose): use set_current_ap()
8226 2007-10-05 Dan Williams <dcbw@redhat.com>
8228 * libnm-glib/nm-access-point.c
8229 libnm-glib/nm-access-point.h
8230 - (nm_access_point_get_hw_address): return 'const char *', not 'char *'
8231 because the value is cached internally now. Callers should not
8232 free the internal value.
8233 - Make signal name defines private
8236 libnm-glib/libnm-glib-test.c
8237 - Don't free value returned from nm_access_point_get_hw_address()
8239 2007-10-04 Dan Williams <dcbw@redhat.com>
8241 * introspection/nm-device-802-11-wireless.xml
8242 src/nm-device-802-11-wireless.h
8243 src/nm-device-802-11-wireless.c
8244 - Add a PropertiesChanged signal for wireless device
8245 - Store currently associated access point
8246 - (periodic_update): generalize; update rate here too and emit the
8247 correct PropertiesChanged signal when stuff changes
8248 - (real_deactivate_quickly, nm_device_802_11_wireless_dispose,
8249 real_activation_cancel_handler): clear current_ap when device is
8251 - (link_to_specific_ap, get_ap_blacklisted,
8252 nm_device_802_11_wireless_get_best_ap): remove obsolete and unused
8254 - (nm_device_802_11_wireless_get_bitrate): make static; unused anywhere
8256 - (real_set_hw_address): emit property changed signal if the card's
8258 - (real_act_stage1_prepare): set the initial current_ap to the AP
8259 the card is supposed to be connecting to
8260 - (activation_success_handler): send out property updates on successful
8262 - (get_property): pull bitrate from cached value; use OBJECT_PATH type
8263 for ACTIVE_ACCESS_POINT property because sometimes there won't be
8264 one and dbus-glib doesn't like marshalling NULL G_TYPE_OBJECTs
8265 - (nm_device_802_11_wireless_class_init): ACTIVE_ACCESS_POINT property
8266 is now boxed; add PropertiesChanged signal
8268 2007-10-04 Dan Williams <dcbw@redhat.com>
8270 * libnm-util/nm-connection.c
8271 libnm-util/nm-connection.h
8272 - (nm_connection_verify): new function
8274 2007-10-04 Dan Williams <dcbw@redhat.com>
8276 * libnm-util/nm-setting.c
8277 - (nm_settings_verify): use #defines when possible rather than strings
8278 - (setting_connection_verify): ensure that 'name' and 'type' are valid
8279 - (setting_vpn_verify): tighter validity check on 'service_type'
8281 2007-10-04 Dan Williams <dcbw@redhat.com>
8283 * libnm-glib/nm-settings.c
8284 - (nm_connection_settings_class_init): provide correct type for argument
8285 to the Updated signal so that dbus-glib knows how to marshal it
8287 2007-10-03 Dan Williams <dcbw@redhat.com>
8289 * src/nm-device-802-3-ethernet.c
8290 - (real_get_best_connection): don't create automatic connections
8291 internally; clients should provide a setting that applies to
8292 the device with 'autoconnect: True'. Problem was that these
8293 internally auto-created connections don't have a proxy or service
8294 name becuase they weren't created by a settings daemon, and therefore
8295 clients have no idea what to do with them.
8297 2007-10-03 Dan Williams <dcbw@redhat.com>
8299 * src/nm-device-802-11-wireless.c
8300 src/nm-device-802-11-wireless.h
8301 introspection/nm-device-802-11-wireless.xml
8302 - GetActiveNetworks -> GetAccessPoints
8303 - ActiveNetwork -> ActiveAccessPoint
8304 - NetworkAdded -> AccessPointAdded
8305 - NetowrkRemoved -> AccessPointRemoved
8307 * libnm-glib/nm-device-802-11-wireless.c
8308 libnm-glib/nm-device-802-11-wireless.h
8309 - network-added signal -> access-point-added
8310 - network-removed signal -> access-point-removed
8311 - nm_device_802_11_wireless_get_active_network() ->
8312 nm_device_802_11_wireless_get_active_access_point()
8313 - nm_device_802_11_wireless_get_network_by_path() ->
8314 nm_device_802_11_wireless_get_access_point_by_path()
8315 - nm_device_802_11_wireless_get_networks() ->
8316 nm_device_802_11_wireless_get_access_points()
8318 * libnm-glib/libnm-glib-test.c
8320 src/NetworkManagerPolicy.c
8321 - Fixups for Network -> AccessPoint
8323 2007-10-03 Dan Williams <dcbw@redhat.com>
8325 Add a GetActiveConnections() method on the Manager object.
8329 introspection/nm-manager.xml
8330 - (connection_get_settings_cb): keep connection type around too
8331 - (impl_manager_get_active_connections, add_one_connection_element):
8332 implement; returns all active connections and what devices they
8335 * libnm-glib/nm-client.c
8336 libnm-glib/nm-client.h
8337 introspection/nm-manager-client.xml
8338 - (nm_client_get_devices): GPtrArray elements are allocated and owned
8339 by the caller; free here to avoid memory leak
8340 - (nm_client_get_active_connections): implement; return the list of
8342 - (nm_client_free_active_connection_element): implement; free an element
8343 of the GSList returned by nm_client_get_active_connections()
8345 2007-10-03 Dan Williams <dcbw@redhat.com>
8347 * src/nm-device-802-11-wireless.c
8348 - (nm_device_802_11_wireless_update_bssid): remove
8349 - (get_active_ap): new function; find the AP in the scan list which
8350 matches the current BSSID and SSID of the wireless device
8351 - (nm_device_802_11_periodic_update): get current AP using
8352 get_active_ap() and print AP roam messages
8354 2007-10-01 Dan Williams <dcbw@redhat.com>
8356 * libnm-util/nm-setting.h
8357 - Add a 'timestamp' option to NMSettingConnection
8360 * libnm-util/nm-setting.c
8361 - (uint64_to_gvalue): new function
8362 - (nm_setting_populate_from_hash, nm_setting_hash,
8363 default_setting_clear_secrets): handle UINT64 type
8364 - con_table: add 'timestamp' member
8366 2007-10-01 Dan Williams <dcbw@redhat.com>
8369 - (impl_manager_activate_device): ensure the D-Bus method sends a return
8370 value when the connection can be activated immediately
8372 2007-10-01 Dan Williams <dcbw@redhat.com>
8374 * libnm-glib/nm-device.c
8375 - (nm_device_class_init): actually tell glib about the carrier-changed
8378 2007-10-01 Dan Williams <dcbw@redhat.com>
8381 src/marshallers/Makefile.am
8382 src/marshallers/nm-marshal.list
8383 src/marshallers/nm-marshal-main.c
8384 - Consolidate glib marshallers into one place
8386 * src/dhcp-manager/Makefile.am
8387 src/dhcp-manager/nm-dhcp-manager.c
8388 src/supplicant-manager/Makefile.am
8389 src/supplicant-manager/nm-supplicant-manager.c
8390 src/supplicant-manager/nm-supplicant-interface.c
8391 src/ppp-manager/Makefile.am
8392 src/ppp-manager/nm-ppp-manager.c
8393 src/vpn-manager/Makefile.am
8394 src/vpn-manager/nm-vpn-connection.c
8396 - Use consolidated marshallers
8398 * src/dhcp-manager/nm-dhcp-marshal.list
8399 src/dhcp-manager/nm-dhcp-marshal-main.c
8400 src/supplicant-manager/nm-supplicant-marshal-main.c
8401 src/supplicant-manager/nm-supplicant-marshal.list
8402 src/nm-marshal-main.c
8404 src/ppp-manager/nm-ppp-marshal-main.c
8405 src/ppp-manager/nm-ppp-marshal.list
8406 src/vpn-manager/nm-vpn-marshal-main.c
8407 src/vpn-manager/nm-vpn-marshal.list
8410 2007-10-01 Dan Williams <dcbw@redhat.com>
8412 * include/NetworkManagerVPN.h
8413 - define VPN connection state change reason codes
8415 * src/vpn-manager/Makefile.am
8416 src/vpn-manager/nm-vpn-marshal.list
8417 src/vpn-manager/nm-vpn-marshal-main.c
8418 - Add marshallers for StateChanged signal
8420 * introspection/nm-vpn-connection.xml
8421 - New Banner property
8422 - StateChanged signal now includes a 'reason' argument
8424 * src/vpn-manager/nm-vpn-connection.c
8425 src/vpn-manager/nm-vpn-connection.h
8426 - Add a "Banner" property that contains the returned VPN server login
8427 banner (if any); valid only in the ACTIVATED state
8428 - (nm_vpn_connection_set_state, nm_vpn_connection_disconnect): now takes
8429 a 'reason' argument and emits that reason along with the
8430 state-changed signal
8431 - Fix up calls to nm_vpn_connection_set_state() to include a reason
8432 - (nm_vpn_connection_ip4_config_get): save banner for later
8433 - (nm_vpn_connection_get_banner, get_property,
8434 nm_vpn_connection_class_init): implement Banner property
8436 * src/vpn-manager/nm-vpn-service.c
8437 - (nm_vpn_service_connections_stop): take a reason argument; copy the
8438 connection list because elements may get added/removed from it
8439 while iterating over the list
8440 - (connection_state_changed): signal now includes the 'reason' argument
8442 * libnm-glib/nm-vpn-connection.c
8443 libnm-glib/nm-vpn-connection.h
8444 - (nm_vpn_connection_get_banner): new function
8445 - (state_changed_proxy): handle reason argument
8447 2007-09-28 Tambet Ingo <tambet@gmail.com>
8451 Implement device activation through NMManager.
8452 Implement "pending device activation" here - If the connection isn't found,
8453 we try to wait for up to 5 seconds for the connection to be provided.
8454 Add NMConnectionType argument to "connection-added" and "connection-removed"
8456 (nm_manager_get): Remove. Finally.
8458 * src/nm-activation-request.c:
8459 * src/nm-activation-request.h:
8460 Remove all the deferred activation code.
8462 * src/nm-device.c: Remove all the deferred activation code. Once the device
8463 activation is started, it's started. Update the activation virtual function
8466 * src/nm-device-interface.c:
8467 * src/nm-device-interface.h:
8468 Device activation now takes only NMActRequest argument.
8469 Don't expose device activation directly on dbus, it's supposed to go through
8472 * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Make the code
8474 Use the new device activation methods through NMManager.
8476 * introspection/nm-manager-client.xml:
8477 * introspection/nm-manager.xml:
8478 * libnm-glib/nm-client.c:
8479 * libnm-glib/nm-client.h:
8480 Add device activation method.
8482 * libnm-glib/nm-device.c:
8483 * libnm-glib/nm-device.h:
8484 * introspection/nm-device.xml:
8485 Remove device activation method. It's done through NMManager now.
8487 * src/vpn-manager/nm-vpn-manager.c (impl_vpn_manager_connect): Use the shiny
8488 new (nm_manager_get_device_by_path) function, get rid of our own )find_device).
8490 2007-09-28 Dan Williams <dcbw@redhat.com>
8492 * libnm-glib/nm-vpn-connection.c
8493 - (nm_vpn_connection_get_state): try to update state if the current
8496 2007-09-27 Dan Williams <dcbw@redhat.com>
8498 Patch from Bill Nottingham
8500 * src/supplicant-manager/nm-supplicant-config.c
8501 - (ADD_STRING_VAL): use correct length for binary blobs when sending
8502 data to the supplicant
8504 2007-09-27 Dan Williams <dcbw@redhat.com>
8506 * src/NetworkManagerSystem.c
8507 - (nm_system_vpn_device_set_from_ip4_config): clean up indentation;
8508 and all address manipulation here should be happening on the
8509 _VPN_ device, not the active device
8511 2007-09-26 Dan Williams <dcbw@redhat.com>
8515 src/nm-activation-request.c
8516 src/nm-activation-request.h
8517 - Move the GetSecrets stuff out of the NMManager instance because it
8518 doesn't really need to be there and complicates things
8521 - (connection_secrets_failed_cb, device_activation_go): connect to the
8522 connection-secrets-failed signal and deactivate the device if
8523 the GetSecrets call fails
8525 * src/nm-device-802-11-wireless.c
8526 - (link_timeout_cb, supplicant_connection_timeout_cb,
8527 real_act_stage2_config, real_act_stage4_ip_config_timeout): request
8528 secrets and give correct hints about whether new secrets should be
8529 asked for by the client or not
8531 2007-09-26 Dan Williams <dcbw@redhat.com>
8533 * src/vpn-manager/nm-vpn-connection.c
8534 - (nm_vpn_connection_set_state, clear_need_auth, finalize,
8535 connection_secrets_updated_cb, get_secrets_cb): don't need to attach
8536 to the secrets-updated signal of the NMConnection since updating
8537 the secrets is done within the scope of the NMVPNConnection object
8539 - (get_connection_secrets): fix an uninialized variable usage error
8541 2007-09-26 Dan Williams <dcbw@redhat.com>
8543 * libnm-util/nm-setting.c
8544 - (setting_vpn_properties_update_secrets): implement so VPN secrets
8545 actually get updated when the user enters them
8547 2007-09-26 Dan Williams <dcbw@redhat.com>
8549 * libnm-glib/nm-vpn-plugin.c
8550 - (impl_vpn_plugin_need_secrets): fix logic when no secrets are needed
8552 2007-09-26 Dan Williams <dcbw@redhat.com>
8554 * include/NetworkManagerVPN.h
8555 - Add a NEED_AUTH state
8557 * src/vpn-manager/nm-vpn-connection.c
8558 - Implement the NEED_AUTH state. First ask the VPN service plugin if
8559 the connection needs secrets, and if so, then ask the settings
8560 service to fill in the secrets. Then start the connection.
8562 2007-09-26 Dan Williams <dcbw@redhat.com>
8564 * src/vpn-manager/nm-vpn-manager.c
8565 - (new_vpn_error, impl_vpn_manager_connect): set errors
8567 2007-09-26 Dan Williams <dcbw@redhat.com>
8569 * introspection/nm-vpn-plugin.xml
8570 libnm-glib/nm-vpn-plugin.c
8571 libnm-glib/nm-vpn-plugin.h
8572 - (impl_vpn_plugin_need_secrets): implement a call that should return
8573 the name of the NMSetting in an NMConnection that may require
8574 secrets specific to that VPN plugin
8576 2007-09-26 Dan Williams <dcbw@redhat.com>
8580 - (nm_manager_get_connection_secrets): make static, unused outside
8582 - Provide NM_MANAGER_CONNECTION_PROXY_TAG for other users
8584 2007-09-26 Tambet Ingo <tambet@gmail.com>
8586 * libnm-glib/nm-vpn-plugin.c (nm_vpn_plugin_connect): Update the plugin activation
8588 (impl_vpn_plugin_connect): Convert properties hash to NMConnection, activate, and
8589 unreference the connection.
8591 * introspection/nm-vpn-plugin.xml: Modify the 'Connect' method arguments: instead of
8592 passing properties hash and routes string list, pass NMConnection (in hashed form).
8594 * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Return routes
8595 as GSList, no need to copy stuff around anymore.
8596 (nm_vpn_connection_activate): Update the plugin activation method.
8598 * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Convert
8599 routes argument to GSList.
8601 2007-09-26 Tambet Ingo <tambet@gmail.com>
8603 * src/nm-manager.c (manager_device_state_changed): Listen to device' NEED_AUTH
8604 state and try to get the secrets.
8606 * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Get the list of
8607 connections from NMManager and let the device to choose the best from the list.
8608 Since the connection list is sorted by system ones first and user ones later,
8609 the devices still prefer system connections like they did before.
8610 (deactivate_old_device): Implement. When a device starts activation, we have a
8611 policy (for now at least) to deactivate any other device that might be either
8612 active or still activating.
8614 * src/vpn-manager/nm-vpn-manager.c: Add NMManager back to the private structure.
8615 It's set on construction, there will be no other way to access it.
8617 * src/nm-device-802-11-wireless.c: Don't touch NMManager, NMManager can listen to
8618 device events and drive the device, not the other way around.
8620 * src/nm-device-802-3-ethernet.c: Ditto.
8622 * src/nm-device.c (nm_device_get_best_connection): The connections list is now
8623 sent along, pass it on to virtual functions.
8625 * src/nm-device-interface.c (nm_device_interface_get_iface): Implement. It's static
8626 for now, but should really be public instead of nm_device_get_iface() since iface
8627 is a property of the DeviceInterface, not Device.
8628 (impl_device_activate): Don't touch NMManager!
8630 2007-09-26 Jürg Billeter <j@bitron.ch>
8632 * initscript/paldo/NetworkManager.in:
8633 * initscript/paldo/NetworkManagerDispatcher.in:
8634 * src/backends/NetworkManagerPaldo.c: (nm_system_enable_loopback),
8635 (nm_system_flush_loopback_routes): update paldo backend
8637 2007-09-26 Tambet Ingo <tambet@gmail.com>
8639 * src/nm-device-802-3-ethernet.c (real_get_best_connection): Don't leak NMManager.
8640 The problem with leaking NMManager is that on shutdown, it doesn't get destroyed,
8641 which means none of the devices get brought down properly, which in turn leaves
8642 DHCP client running.
8644 * src/nm-device-802-11-wireless.c (real_get_best_connection): Ditto.
8645 (supplicant_connection_timeout_cb): Ditto.
8647 2007-09-25 Dan Williams <dcbw@redhat.com>
8650 - (device_activation_go): small hack to work around race when
8651 activating deferred connections; should solve this in a better way
8653 2007-09-25 Dan Williams <dcbw@redhat.com>
8655 * introspection/nm-device.xml
8656 libnm-glib/nm-device.c
8657 libnm-glib/nm-device.h
8658 - Add 'Carrier' property to exported NMDevice objects
8660 * src/nm-device-interface.h
8661 src/nm-device-interface.c
8663 - Add a 'carrier' property to internal NMDevice objects
8665 2007-09-25 Dan Williams <dcbw@redhat.com>
8667 * src/nm-device-802-11-wireless.c
8668 - (ap_auth_enforced): also return the encryption status of the AP so
8669 that callers can differentiate easily between unencrypted APs
8670 and encrypted ones, in addition to whether the AP has an
8672 - (link_timeout_cb, supplicant_connection_timeout_cb,
8673 real_act_stage4_ip_config_timeout): handle unencrypted APs better,
8674 previously would request secrets from unencrypted APs at times
8676 2007-09-25 Dan Williams <dcbw@redhat.com>
8679 - (nm_manager_update_state): new function; updates state and emits
8680 appropriate signals ensuring a state-change signal for the same state
8681 never gets emitted twice in a row.
8682 - (manager_device_state_changed): handle more device state to get a
8683 better picture of the overall NM state
8685 2007-09-25 Dan Williams <dcbw@redhat.com>
8687 * libnm-glib/nm-settings.c
8688 libnm-glib/nm-settings.h
8689 - (new_error -> nm_settings_new_error): make public so that subclasses
8690 can use the same error domain. Also pass a valid error code to
8691 g_error_new_literal() so that libdbus doesn't assert when converting
8692 the GError into a DBusError
8693 - (impl_settings_list_connections, impl_connection_settings_get_id,
8694 impl_connection_settings_get_settings,
8695 impl_connection_settings_get_secrets): use new error creator
8698 2007-09-25 Dan Williams <dcbw@redhat.com>
8700 * src/NetworkManager.c
8701 - (nm_signal_handler, main): don't ignore SIGTERM/SIGINT during startup
8703 2007-09-25 Dan Williams <dcbw@redhat.com>
8705 * src/supplicant-manager/nm-supplicant-manager.c
8706 - (poke_supplicant_cb, nm_supplicant_manager_init,
8707 nm_supplicant_manager_dispose, nm_supplicant_manager_name_owner_changed,
8708 nm_supplicant_manager_startup): when the supplicant isn't running,
8709 try to start it periodically via system bus activation. Fixes
8710 a problem where if wpa_supplicant goes away, NM gets stuck waiting
8711 for the supplicant to come back
8713 2007-09-25 Dan Williams <dcbw@redhat.com>
8715 Ensure that old activation requests are forgotten about; previously
8716 hitting Cancel in the password dialog would deactivate whatever device
8717 that password was requested for, even if that wasn't the currently
8718 activating connection.
8722 - (nm_manager_get_connection_secrets): track the pending call
8723 object so it can be canceled later if needed
8724 - (nm_manager_cancel_get_connection_secrets): cancel a pending
8725 GetSecrets call for a particular connection
8727 * src/nm-activation-request.c
8728 - (dispose): cancel any outstanding GetSecrets calls on the
8731 2007-09-25 Dan Williams <dcbw@redhat.com>
8733 * src/NetworkManagerPolicy.c
8734 - (nm_policy_device_change_check): handle devices that have a
8735 deferred activation. These devices are not really active _yet_,
8736 but need to be treated as such here. Don't interrupt them
8739 * src/nm-device-interface.c
8740 - (impl_device_activate): handle devices that have a deferred activation
8741 like activating or active devices. When multiple active devices
8742 get committed, the device shouldn't be deactivated until the
8743 connection details are available to avoid DoS and such. Currently,
8744 any active, activating, or deferred activation device is deactivated
8745 here before starting the new activation request.
8747 2007-09-25 Dan Williams <dcbw@redhat.com>
8749 Properly re-query secrets from the settings daemon when stuff fails.
8751 * src/nm-device-802-11-wireless.c
8752 - (ap_auth_enforced): handle static WEP correctly here by differentiating
8753 between Shared Key and Open System auth modes
8754 - (link_timeout_cb, supplicant_connection_timeout_cb,
8755 real_act_stage4_ip_config_timeout): clear existing secrets and
8756 request new ones when something fails due to a suspected wrong key
8757 - (real_act_stage2_config): fix for new request_new argument to
8758 nm_manager_get_connection_secrets()
8762 - (nm_manager_get_connection_secrets): return error status; pass
8763 new request_new argument on to the settings daemon
8765 * introspection/nm-settings-connection.xml
8766 - New 'request_new' argument to the GetSecrets call that hints to the
8767 settings daemon to ask the user for completely new secrets
8769 * libnm-glib/nm-settings.c
8770 libnm-glib/nm-settings.h
8771 - (impl_connection_settings_get_secrets): handle new 'request_new'
8774 2007-09-25 Dan Williams <dcbw@redhat.com>
8776 * libnm-util/nm-connection.c
8777 libnm-util/nm-connection.h
8778 - (nm_connection_clear_secrets): new function; clear secrets out of
8779 each NMSetting in an NMConnection
8781 * libnm-util/nm-setting.h
8782 libnm-util/nm-setting.c
8783 - (nm_setting_clear_secrets, default_setting_clear_secrets): clear
8784 secrets out of an NMSetting
8785 - (nm_setting_connection_new, nm_setting_ip4_config_new,
8786 nm_setting_wired_new, nm_setting_wireless_new,
8787 nm_setting_wireless_security_new, nm_setting_ppp_new,
8788 nm_setting_vpn_new, nm_setting_vpn_properties_new): set clear_secrets
8789 to default handler default_setting_clear_secrets()
8791 2007-09-25 Dan Williams <dcbw@redhat.com>
8793 * src/nm-activation-request.c
8794 src/nm-activation-request.h
8795 - (nm_act_request_is_deferred): new function
8797 2007-09-24 Dan Williams <dcbw@redhat.com>
8799 * src/nm-device-802-11-wireless.c
8800 - (activation_success_handler): update signal strength immediately
8803 2007-09-24 Dan Williams <dcbw@redhat.com>
8805 * libnm-util/nm-setting.c
8806 - (verify_wep_key): 40-bit WEP keys are 10 bytes long, not 13
8808 2007-09-24 Dan Williams <dcbw@redhat.com>
8810 * src/NetworkManagerPolicy.c
8811 - (nm_policy_auto_get_best_device): don't interrupt activation of a
8812 device by deactivating it because it doesn't have a "best connection".
8813 Since autoconnect=False connections aren't automatically chosen,
8814 NM would interrupt activation of such a connection because it
8815 would never be "best" due to autoconnect=False.
8817 2007-09-24 Dan Williams <dcbw@redhat.com>
8820 - (nm_manager_get_connection_secrets): Add a long timeout so the user
8821 actually has some time to enter a key before the GetSecrets call
8824 2007-09-24 Dan Williams <dcbw@redhat.com>
8826 * introspection/nm-manager.xml
8828 - (impl_manager_legacy_state): fix 'state' method call return value
8830 2007-09-24 Matthias Clasen <mclasen@redhat.com>
8832 * test/Makefile.am: Install nm-tool
8834 2007-09-24 Dan Williams <dcbw@redhat.com>
8836 Patch from Ross Burton <ross@burtonini.com>
8839 callouts/nm-dhcp-client-action.c
8841 src/vpn-manager/nm-vpn-connection.c
8842 libnm-glib/libnm-glib-test.c
8845 2007-09-24 Dan Williams <dcbw@redhat.com>
8847 * libnm-util/nm-utils.h
8848 libnm-util/nm-utils.c
8849 - (nm_dbus_send_with_callback_replied, nm_dbus_send_with_callback):
8852 2007-09-23 Dan Williams <dcbw@redhat.com>
8854 * vpn-daemons/vpnc/properties/nm-vpnc.c
8855 - Update for new VPN properties API bits; instead of passing around
8856 a lot of random things, everything goes into the NMConnection
8859 2007-09-23 Dan Williams <dcbw@redhat.com>
8861 * libnm-util/nm-setting.c
8862 - Correctly dispose of settings objects if creating them from a hash
8865 2007-09-23 Dan Williams <dcbw@redhat.com>
8867 * libnm-util/nm-setting.c
8868 - (property_value_destroy, nm_setting_vpn_properties_new): initialize
8869 the hash table in a standard manner. Clients of libnm-util should
8870 only call g_hash_table_remove_all(), never destroy the hash table
8873 2007-09-22 Dan Williams <dcbw@redhat.com>
8875 * src/nm-device-802-11-wireless.c
8876 - (real_bring_up): update signal strength every 6 seconds, not 2. No
8877 real reason to do it so often, and reduces wakeups for clients.
8879 2007-09-21 Dan Williams <dcbw@redhat.com>
8881 * src/nm-device-802-11-wireless.c
8882 - (build_supplicant_config): wpa_supplicant requires the option
8883 key_mgmt=NONE for unencrypted networks
8884 - (real_act_stage2_config): clarify log message on activation
8886 2007-09-21 Dan Williams <dcbw@redhat.com>
8888 * test/nm-supplicant-test.c
8890 - Remove supplicant test binary; no longer applicable
8892 2007-09-21 Dan Williams <dcbw@redhat.com>
8894 * src/supplicant-manager/nm-supplicant-manager.c
8895 - (nm_supplicant_manager_init): poke the supplicant at startup to
8896 activate it on the system bus
8898 2007-09-20 Dan Williams <dcbw@redhat.com>
8900 * initscript/RedHat/NetworkManager.in
8901 - dhcdbd is no longer used, so don't try to start it from the initscripts
8903 2007-09-20 Dan Williams <dcbw@redhat.com>
8906 - (nm_device_is_activating): work around a race between auto-activation
8907 and the user activating the same device that is being auto-activated
8909 2007-09-20 Dan Williams <dcbw@redhat.com>
8911 * src/nm-device-interface.c
8912 - (impl_device_activate): until multiple active device support lands,
8913 ensure only one device can be active at a time
8915 2007-09-20 Dan Williams <dcbw@redhat.com>
8917 * src/supplicant-manager/nm-supplicant-config.c
8918 src/supplicant-manager/nm-supplicant-config.h
8919 - (nm_supplicant_config_add_option): hide secrets from system logs
8921 2007-09-20 Dan Williams <dcbw@redhat.com>
8923 * src/NetworkManagerPolicy.c
8924 - (nm_policy_device_change_check): re-enable the wireless device change
8925 checking code; insted of checking for SSIDs, check for the same
8928 2007-09-20 Dan Williams <dcbw@redhat.com>
8930 * src/nm-device-802-11-wireless.c
8931 - (supplicant_iface_connection_state_cb_handler): don't use the card's
8932 composite link state when determining when to start the disconnection
8933 timer; that link state is already based on the supplicant interface's
8934 status which is exactly what's already being examined, plus the link
8935 state is a conglomeration of various things that we don't want here
8937 2007-09-20 Dan Williams <dcbw@redhat.com>
8939 * libnm-glib/nm-access-point.c
8940 - (handle_property_changed): strength is a UCHAR
8942 2007-09-20 Dan Williams <dcbw@redhat.com>
8944 * src/supplicant-manager/nm-supplicant-config.c
8945 - (nm_supplicant_config_add_setting_wireless_security): uppercase
8946 string list keywords too since that's what wpa_supplicant wants
8948 2007-09-20 Dan Williams <dcbw@redhat.com>
8950 * libnm-util/nm-setting.c
8951 - (convert_strv_to_slist): dupe the values in the list because since
8952 the list is a boxed value, it'll get destroyed when it's container
8953 (like a hash table or whatever) gets destroyed
8955 2007-09-20 Tambet Ingo <tambet@gmail.com>
8957 * libnm-util/nm-setting.h: Change the type of NMSettingVPN->routes to
8960 * libnm-util/nm-setting.c (setting_vpn_destroy): Free routes too.
8962 * src/nm-manager.c (connection_get_settings_cb): No need to use weakref,
8963 just use (g_object_set_data_full).
8965 * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Now
8966 that NMSettingVPN->routes is a GSList, convert it to char **.
8967 (nm_vpn_connection_ip4_config_get): Free routes when done.
8968 (nm_vpn_connection_activate): Ditto.
8970 * src/nm-device-802-11-wireless.c (real_connection_secrets_updated)
8971 (real_act_stage2_config): Use defined setting names.
8973 2007-09-20 Dan Williams <dcbw@redhat.com>
8975 * src/nm-device-802-11-wireless.c
8978 - Pass an NMDeviceInterface into nm_manager_get_connection_secrets()
8979 so that the device can be deactivated if secrets are wrong
8981 2007-09-20 Dan Williams <dcbw@redhat.com>
8983 * introspection/nm-settings-connection.xml
8984 libnm-glib/nm-settings.c
8985 libnm-glib/nm-settings.h
8986 - Make GetSecrets asynchronous on the server side
8988 2007-09-20 Dan Williams <dcbw@redhat.com>
8992 - (nm_device_activate): actually check if a given connection
8993 exists before assuming it doesn't
8995 2007-09-20 Tambet Ingo <tambet@gmail.com>
8997 * libnm-util/nm-connection.c (register_default_creators): Use defined
8998 setting names. Register NMSettingVPN and NMSettingVPNProperties.
9000 * libnm-util/nm-setting.c: Define property name strings, use them.
9001 Implement NMSettingVPN and NMSettingVPNProperties settings.
9002 Implement NM_S_TYPE_GVALUE_HASH.
9003 (nm_setting_populate_from_hash): Handle NM_S_TYPE_GVALUE_HASH.
9004 (setting_connection_verify): Rename 'devtype' property to 'type'.
9006 * introspection/nm-vpn-manager.xml: Use NMConnection for VPN service
9009 * src/vpn-manager/nm-vpn-service.c: Ditto.
9011 * src/vpn-manager/nm-vpn-connection.c: Ditto.
9013 * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_connect): Ditto.
9014 (nm_vpn_manager_new): Remove NMManager argument, it's easy enough to get.
9016 * src/nm-device-802-11-wireless.c (find_best_connection): Use defined setting
9017 names. NMSettingConnection->devtype got renamed to 'type'.
9019 * src/nm-device-802-3-ethernet.c (find_best_connection):
9020 (real_get_best_connection): Ditto.
9022 * src/NetworkManager.c (main): Update the vpn manager creation arguments.
9024 * libnm-glib/nm-vpn-manager.[ch]: Update.
9026 2007-09-19 Dan Williams <dcbw@redhat.com>
9028 * src/NetworkManagerAP.c
9029 src/NetworkManagerAP.h
9030 introspection/nm-access-point.xml
9031 - Change strength-changed signal into a properties-changed signal
9032 for all properties, not just strength. Export that signal over dbus
9033 so listeners don't have to poll NM for changes.
9034 - (nm_ap_export_to_dbus, nm_ap_new): not every NMAccessPoint should
9035 get exported over D-Bus, so break up the logic and let other bits
9036 decided when to export the AP
9037 - (nm_ap_new_from_ap): remove, unused
9039 * src/nm-device-802-11-wireless.c
9040 - (merge_scanned_ap): only export APs that are actually on the device
9041 list, not every AP created internally
9043 * libnm-glib/nm-access-point.c
9044 libnm-glib/nm-access-point.h
9045 - Cache properties internally and only hit DBus when needed. Get
9046 property updates from NM signals
9048 2007-09-16 Dan Williams <dcbw@redhat.com>
9050 * libnm-util/nm-connection.c
9051 libnm-util/nm-connection.h
9052 - (nm_connection_for_each_setting_value): new function; iterate over
9053 each setting's value and call a user-provided function with details
9056 * libnm-util/nm-setting.c
9057 libnm-util/nm-setting.h
9058 - (nm_setting_enumerate_values): new function; enumerate the values
9059 of a specific NMSetting subclass for a user-provided function with
9060 details about that value
9061 - Change wep_tx_keyidx to a uint32
9062 - Create settings value tables for each setting defining their type,
9063 key name, offset into the NMSetting subclass' structure, and whether
9064 they are required and/or a secret
9065 - (nm_setting_populate_from_hash): generic function to populate an
9066 NMSetting from a GHash table, make all settings use it
9067 - (nm_setting_hash): generic function to derive a GHashTable from
9068 an NMSetting object, make all settings use it
9070 2007-09-14 Dan Williams <dcbw@redhat.com>
9072 Remove unused stuff in libnm-util
9075 libnm-util/Makefile.am
9076 libnm-util/cipher-private.h
9077 libnm-util/cipher-wep-ascii.c
9078 libnm-util/cipher-wep-ascii.h
9079 libnm-util/cipher-wep-hex.c
9080 libnm-util/cipher-wep-hex.h
9081 libnm-util/cipher-wep-passphrase.c
9082 libnm-util/cipher-wep-passphrase.h
9083 libnm-util/cipher-wpa-psk-hex.c
9084 libnm-util/cipher-wpa-psk-hex.h
9085 libnm-util/cipher-wpa-psk-passphrase.c
9086 libnm-util/cipher-wpa-psk-passphrase.h
9089 libnm-util/dbus-helpers.c
9090 libnm-util/dbus-helpers.h
9091 libnm-util/gnome-keyring-md5.c
9092 libnm-util/gnome-keyring-md5.h
9095 src/nm-device-802-11-wireless.c
9096 test/libnm-util/Makefile.am
9097 test/libnm-util/test-ciphers.c
9098 test/libnm-util/test-dbus-helpers.c
9099 test/libnm-util/test-inputs.h
9102 2007-09-14 Dan Williams <dcbw@redhat.com>
9104 * libnm-util/dbus-method-dispatcher.c
9105 libnm-util/dbus-method-dispatcher.h
9108 2007-09-14 Dan Williams <dcbw@redhat.com>
9110 Implement deferred activation support in the device class.
9112 * src/nm-device-interface.c
9113 src/nm-device-interface.h
9114 - (nm_device_interface_activate): take more arguments to support
9115 deferred activation; callers must pass one of (connection) OR
9116 (service_name, connection_path)
9117 - (impl_device_activate): connection validation is punted to the device
9118 to be able to handle deferred activation. Yes, this means errors
9119 don't get returned from the Activate() dbus call, and yes, that
9120 should be fixed somehow later.
9124 - (clear_act_request): clear additional deferred activation stuff too
9125 - (deferred_activation_timeout_cb): new function; clean up when
9126 deferred activation times out.
9127 - (deferred_activation_start_cb): new function; when the connection
9128 finally becomes available, start device activation
9129 - (nm_device_activate): attach to the right signals of the activation
9130 request if we need to defer activation until the connection is valid
9132 * src/NetworkManagerPolicy.c
9133 - (nm_policy_device_change_check): update for additional arguments
9134 required for nm_device_interface_activate(). Pass NULL for these
9135 though because this function already knows exactly which
9138 2007-09-14 Dan Williams <dcbw@redhat.com>
9140 Implement deferred activation handling in the NMActRequest class. When a
9141 client wants to activate a device but must create the NMConnection details
9142 on the fly, there likely hasn't been enough time yet for NM to receive the
9143 new connection signal and grab all the connection details. So the
9144 activation is deferred (and bounded by a timer) for a while, and if the
9145 connection appears within the window, it is activated.
9147 * src/nm-activation-request.c
9148 src/nm-activation-request.h
9149 - (nm_act_request_class_init): two new signals to support deferred
9150 activation, to allow the listener to handle both timeout and success
9151 - (nm_act_request_new_deferred): new function, starts the deferred
9152 activation timeout handler and listens to the NMManager for
9153 new-connection signals to notice when the connection comes in
9155 2007-09-14 Dan Williams <dcbw@redhat.com>
9159 - (nm_manager_get_connection_service_name,
9160 nm_manager_get_connection_dbus_path): get details about a connection
9161 known internally by the NMManager
9162 - (nm_manager_class_init): fix connection add/remove signal marshalers
9163 because NMConnection is now a GObject subclass
9164 - Use constant for the gobject data tag used on NMConnection objects for
9165 storing the associated DBusGProxy
9167 2007-09-14 Dan Williams <dcbw@redhat.com>
9172 src/supplicant-manager/Makefile.am
9173 src/dhcp-manager/Makefile.am
9174 src/backends/Makefile.am
9175 src/named-manager/Makefile.am
9176 src/ppp-manager/Makefile.am
9177 src/vpn-manager/Makefile.am
9178 test/libnm-util/Makefile.am
9179 test/test-common/Makefile.am
9180 - Remove utils/; it was unused
9182 2007-09-13 Dan Williams <dcbw@redhat.com>
9184 * libnm-glib/nm-vpn-manager.h
9185 libnm-glib/nm-vpn-manager.c
9186 - (nm_vpn_manager_connect): take routes as a GSList, not a char **
9188 2007-09-13 Dan Williams <dcbw@redhat.com>
9190 * src/nm-device-802-3-ethernet.c
9191 - (real_bring_down, nm_device_802_3_ethernet_dispose): disconnect from
9192 netlink monitor carrier signals on dispose, not bring down. The
9193 carrier signals should be handled over the entire lifetime of the
9194 device anyway, not created/destroyed on up or down.
9196 2007-09-13 Dan Williams <dcbw@redhat.com>
9198 * libnm-glib/nm-device.c
9199 libnm-glib/nm-device.h
9200 - (nm_device_activate): take a connection object path rather than an
9201 NMConnection because NMConnection isn't exported over D-Bus and
9202 therefore it dbus-glib can't automatically get an object path from it
9204 2007-09-13 Dan Williams <dcbw@redhat.com>
9206 * libnm-util/nm-setting.c
9207 - (nm_setting_wired_new): set autonegotiate to TRUE by default
9209 2007-09-13 Tambet Ingo <tambet@gmail.com>
9211 * autogen.sh: NetworkManagerMain.h is gone, check for NetworkManager.c.
9213 2007-09-12 Tambet Ingo <tambet@gmail.com>
9215 * src/vpn-manager/nm-vpn-connection.[ch]:
9216 * src/vpn-manager/nm-vpn-manager.[ch]:
9217 * src/vpn-manager/nm-vpn-service.[ch]: Rewrite the vpn handling code. Using
9218 dbus-glib, GObjects, signals etc.
9220 * libnm-glib/nm-vpn-manager.[ch]:
9221 * libnm-glib/nm-vpn-connection.[ch]: Now that the NM implementation changed
9222 so much, rewrite these too.
9224 * libnm-glib/Makefile.am: Add new files to build, build new binding files for
9225 the new introspection files.
9227 * libnm-glib/nm-client.[ch]: Remove all VPN related stuff from here.
9229 * libnm-glib/nm-dbus-utils.[ch]: Renamed from nm-utils.[ch] that was shadowing
9230 the header with the same name from libnm-utils.
9232 * libnm-glib/nm-vpn-plugin.[ch]: Implement.
9234 * libnm-util/Makefile.am: Add nm-utils.[ch] to build.
9236 * introspection/nm-vpn-plugin.xml: Implement.
9238 * introspection/nm-vpn-connection.xml: Implement.
9240 * introspection/nm-vpn-manager.xml: Implement.
9242 * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Remove
9243 the named manager argument, it can just as easily get it as the caller.
9244 (nm_system_vpn_device_unset_from_ip4_config): Ditto.
9246 * src/vpn-manager/nm-dbus-vpn.[ch]: Remove.
9248 * src/nm-dbus-manager.h: Fix up the name_owner signal signature.
9250 * src/dhcp-manager/nm-dhcp-manager.c (garray_to_string): Remove, use one from
9253 * libnm-util/nm-connection.c: Ditto.
9255 * src/NetworkManagerMain.h: Remove, it's finally empty.
9257 * configure.in: Remove utils/ from build.
9259 * include/NetworkManagerVPN.h: Add some more defines to reduce the amount
9260 of hard-coded strings.
9262 * utils/: Move it over to libnm-util.
9264 * test/Makefile.am: Link against libnm-util now that util/ is gone.
9266 * dispatcher-daemon/Makefile.am: Ditto.
9268 * src/Makefile.am: Ditto.
9270 2007-09-12 Dan Williams <dcbw@redhat.com>
9272 Wireless connections can be made with config data from the applet now.
9276 * src/supplicant-manager/nm-supplicant-config.h
9277 src/supplicant-manager/nm-supplicant-config.c
9278 - (nm_supplicant_config_new): kill unused init parameter 'iface'
9279 - (nm_supplicant_config_add_setting_wireless,
9280 nm_supplicant_config_add_setting_wireless_security): new functions;
9281 add key/value pairs from the settings objects to the supplicant
9284 * src/nm-device-802-11-wireless.c
9285 - (cull_scan_list): fix check to not prune currently associated AP
9286 - (build_supplicant_config, real_act_stage2_config): call the functions
9287 of the NMSupplicantConfig that parse settings objects rather than
9288 doing it manually here
9290 2007-09-12 Dan Williams <dcbw@redhat.com>
9292 * src/supplicant-manager/nm-supplicant-interface.c
9293 src/supplicant-manager/nm-supplicant-marshal.list
9294 - (nm_supplicant_interface_class_init): fix stupid mistake, the
9295 "connection-error" signal arguments should be STRING not CHAR
9297 2007-09-12 Dan Williams <dcbw@redhat.com>
9299 * src/NetworkManagerUtils.c
9300 src/NetworkManagerUtils.h
9301 - (nm_utils_hexstr2bin): new function
9303 2007-09-11 Dan Williams <dcbw@redhat.com>
9306 - (connection_get_settings_cb): emit connection-added signal
9307 - (connection_removed_cb): uncomment bits for system settings service,
9308 send connection-removed when appropriate
9309 - (nm_manager_get_connection_secrets, get_secrets_cb): don't clobber
9310 the stack by trying to g_object_set_data() on something that's
9311 not a GObject; handle case where settings service returns
9312 empty settings hash table
9314 2007-09-11 Dan Williams <dcbw@redhat.com>
9316 * src/NetworkManagerPolicy.c
9317 - (connection_added, connection_removed): trigger device change checks
9318 on connection changes
9320 2007-09-11 Dan Williams <dcbw@redhat.com>
9322 * src/nm-activation-request.c
9323 - (connection_secrets_updated_cb): fix c&p error in signal emission
9325 2007-09-11 Dan Williams <dcbw@redhat.com>
9327 * src/nm-device-802-11-wireless.c
9328 - (real_connection_secrets_updated): fix erroneous check
9330 2007-09-11 Dan Williams <dcbw@redhat.com>
9332 * introspection/nm-device.xml
9333 libnm-glib/nm-device.c
9334 libnm-glib/nm-device.c
9335 - Fix Activate call argument borkage; Activate takes 3 arguments
9337 2007-09-11 Dan Williams <dcbw@redhat.com>
9339 * libnm-glib/nm-access-point.c
9340 libnm-glib/nm-access-point.c
9341 - (nm_access_point_get_frequency): now returns guint32 to match
9342 property change on 2007-09-10
9344 2007-09-11 Dan Williams <dcbw@redhat.com>
9346 * src/nm-device-802-11-wireless.c
9347 - (nm_device_802_11_wireless_new): s/index/idx, stupid system header
9348 somewhere defines 'index' and I missed this one when I fixed the
9349 shadow declaration errors earlier
9351 2007-09-11 Dan Williams <dcbw@redhat.com>
9353 * libnm-util/nm-connection.c
9354 - (nm_connection_update_secrets, need_secrets_check): move
9355 802-11-wireless-security need_secrets checks to the setting object
9356 itself, where it belongs
9358 * libnm-util/nm-setting.c
9359 libnm-util/nm-setting.h
9360 - (nm_setting_need_secrets): new function
9361 - (setting_wireless_security_verify,
9362 nm_setting_wireless_security_new_from_hash): make 'key-mgmt' required
9363 - (setting_wireless_security_need_secrets): mostly copy code over
9364 from nm-connection.c
9366 2007-09-11 Dan Williams <dcbw@redhat.com>
9368 * libnm-util/nm-setting.c
9369 libnm-util/nm-setting.h
9370 - (nm_setting_update_secrets): new function; add a virtual function that
9371 subclasses can implement to update their secrets
9372 - (setting_wireless_security_update_secrets): implement that function
9373 for the 802-11-wireless-security subclass
9375 * libnm-util/nm-connection.c
9376 libnm-util/nm-connection.h
9377 - (nm_connection_update_secrets): update secrets for a Setting and
9378 emit a signal on success
9383 - (connection_get_settings_cb): enable system settings bits
9384 - (nm_manager_get_connection_secrets, get_secrets_cb): add function
9385 to request secrets from the settings dbus service and to
9386 push those secrets to the NMConnection itself
9388 * src/nm-activation-request.c
9389 src/nm-activation-request.h
9390 - Attach to the 'secrets-updated' signal of the NMConnection that's
9391 currently being activated, and proxy that signal to other listeners.
9392 Goes through the activation request because the activation request
9393 is the thing that manages the lifetime of the NMConnection that's
9396 * src/nm-device-802-11-wireless.c
9397 - (real_connection_secrets_updated): implement the connection secrets
9398 updated notification and restart activation when secrets are
9400 - (real_act_stage2_config): request secrets from the settings dbus
9401 service if secrets are needed
9405 - (clear_act_request, nm_device_activation_cancel,
9406 nm_device_deactivate_quickly, nm_device_dispose): consolidate places
9407 where the activation request is cleared
9408 - (nm_device_activate, connection_secrets_updated_cb): attach to the
9409 updated secrets signal of activation request and add a function
9410 that subclasses can override to handle it easily
9412 2007-09-11 Tambet Ingo <tambet@gmail.com>
9414 * src/backends/NetworkManagerSuSE.c: Fix a build issue caused by the
9415 removal of NetworkManagerAPList.
9417 2007-09-10 Dan Williams <dcbw@redhat.com>
9419 * src/NetworkManagerAP.c
9420 src/NetworkManagerAP.h
9421 introspection/nm-access-point.xml
9422 - Change 'freq' property to a guint32 instead of a double since we
9423 weren't using the floating point bits anyway
9425 2007-09-10 Dan Williams <dcbw@redhat.com>
9427 * NetworkManagerAP.c
9429 NetworkManagerPolicy.c
9430 NetworkManagerSystem.c
9431 NetworkManagerUtils.c
9432 NetworkManagerUtils.h
9433 nm-device-802-11-wireless.c
9434 nm-device-802-3-ethernet.c
9437 vpn-manager/nm-dbus-vpn.c
9438 - Warning fixes; casts and removal of unused variables
9440 2007-09-10 Dan Williams <dcbw@redhat.com>
9442 * include/NetworkManager.h
9443 - Kill NMNetworkType; AP types don't matter any more
9445 * src/NetworkManagerAPList.c
9446 src/NetworkManagerAPList.h
9448 - Kill; NMAccessPointList has outlived it's usefulness
9450 * src/NetworkManagerAP.c
9451 src/NetworkManagerAP.h
9452 - (match_cipher, security_compatible, nm_ap_check_compatible): new
9453 functions; check if an NMConnection object is compatible with the
9455 - (freq_to_channel, channel_to_freq): utility functions for
9456 channel <-> frequency conversion
9460 - (nm_device_get_best_connection): pass the specific object around
9461 (which might be the object path of a specific AP to connect to).
9462 The get_best_connection() call should populate this on return
9463 if needed (wireless does).
9465 * src/nm-device-802-3-ethernet.c
9466 - (real_get_best_connection): handle specific_object argument
9468 * src/NetworkManager.c
9469 src/NetworkManagerMain.h
9470 - Remove unused includes
9472 * src/nm-device-802-11-wireless.c
9473 src/nm-device-802-11-wireless.h
9474 - Convert the ap_list into a GSList from an NMAccessPointList
9475 - No need for caching the 'activation_ap' since this is now determined
9476 from the specific_object of the activation request, which is
9477 populated from the get_best_connection() call or from a user request
9478 - (nm_device_802_11_wireless_update_bssid): fix warning
9479 - (get_wireless_capabilities): fix error message format arguments
9480 - (nm_device_802_11_wireless_copy_allowed_to_dev_list): remove, unused
9481 - (find_best_connection, real_get_best_connection): implement
9482 - (ap_list_get_ap_by_ssid, nm_device_802_11_wireless_ap_list_print):
9483 move here from NetworkManagerAPList
9484 - (ap_need_secrets): remove; moved to nm-connection.c where it belongs
9485 - (real_act_stage1_prepare): just ensure an AP exists, connection is
9486 already verified earlier
9487 - (real_act_stage2_config): use nm_connection_need_secrets()
9489 * src/NetworkManagerPolicy.c
9490 - (nm_policy_auto_get_best_device): handle specific objects
9491 - (create_connection): remove; automatic connection creation functionality
9492 is handled by the Connection objects
9493 - (nm_policy_device_change_check): handle specific_object
9495 * libnm-util/nm-connection.c
9496 - (wireless_sec_need_secrets, nm_connection_need_secrets): implement
9498 2007-09-10 Dan Williams <dcbw@redhat.com>
9501 - (query_connections): fix uninitialized variable problem that caused
9503 - (nm_manager_add_device): take devices down on startup so that we can
9504 be assured that nm_device_is_up() won't short-circuit the init
9505 process. Hack until the is_up check gets split into two pieces
9506 that aren't behaviorally confusing.
9508 2007-09-09 Dan Williams <dcbw@redhat.com>
9510 * introspection/nm-device.xml
9511 - The 'Activate' method now takes 3 arguments, a service name for the
9512 settings service (user or system), the object path of the connection
9513 to activate, and the specific object to activate, if any
9515 * src/nm-device-interface.c
9516 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
9518 - (impl_device_activate): adapt to new Activate arguments; validate
9519 the service name and get the Connection object from the NMManager
9520 before starting to activate the device with the specified connection
9522 * src/nm-device-802-3-ethernet.c
9523 - (real_get_best_connection): find the best connection, or create a
9524 default one if no existing connections can be used
9526 * src/NetworkManagerPolicy.c
9527 - (nm_policy_auto_get_best_device): Get the device's best connection
9528 and only pick the device if it has one
9529 - (nm_policy_device_change_check): disable wireless bits for now until
9530 wireless get_best_connection() can be implemented (replacing "best_ap");
9531 don't create a default connection here as the device subclass will do
9536 - (nm_manager_get): make NMManager a singleton and expose the getter
9538 - Rework internal NMManager connection handling to use the same
9539 routines for both the system and user settings services. Most calls
9540 take a new NMConnectionType argument specifying either system or user
9542 - (nm_manager_get_connection_by_object_path): new function; get a
9543 connection keyed on its object path
9545 * src/NetworkManager.c
9546 - (main): use nm_manager_get()
9548 2007-09-09 Dan Williams <dcbw@redhat.com>
9552 - (nm_device_get_best_connection): new function; get best connection
9553 for the device at that time
9555 2007-09-09 Dan Williams <dcbw@redhat.com>
9557 * src/nm-device-interface.h
9558 - Add NMDeviceInterfaceError with an UnknownConnection error
9560 2007-09-09 Dan Williams <dcbw@redhat.com>
9562 Stupid mistake on my part; object path and interface for settings service
9563 and connection objects can be the same, only the service name must be
9564 different for the system and user settings services.
9566 * include/NetworkManager.h
9568 introspection/nm-settings-connection.xml
9569 introspection/nm-settings.xml
9570 libnm-glib/nm-settings.c
9571 - (nm_connection_settings_init, query_user_connections,
9572 new_connection_cb): Unify NetworkManagerSettings and Connection
9573 interface name and object path
9575 2007-09-06 Dan Williams <dcbw@redhat.com>
9577 * libnm-glib/nm-object.c
9578 - (nm_object_get_string_property, nm_object_get_object_path_property,
9579 nm_object_get_int_property, nm_object_get_uint_property,
9580 nm_object_get_boolean_property, nm_object_get_byte_property,
9581 nm_object_get_double_property, nm_object_get_byte_array_property):
9582 clear GValues after copying their contents, fixes memory leaks
9583 after every property access because dbus-glib copies the values
9584 from the DBusMessage into the GValue already.
9586 2007-09-06 Dan Williams <dcbw@redhat.com>
9588 * introspection/nm-access-point.xml
9589 - Fix WpaFlags and RsnFlags property names to be what dbus-glib expects
9590 them to be. There's some magic property name parsing going on in
9591 dbus-glib that breaks up property names based on studly-caps and
9592 puts - between words.
9594 * libnm-glib/nm-access-point.c
9595 - (nm_access_point_get_wpa_flags, nm_access_point_get_rsn_flags):
9598 2007-09-06 Dan Williams <dcbw@redhat.com>
9601 - (nm_manager_user_connections_destroy): clear the user connections hash
9602 table, don't destroy it
9603 - (finalize): only destroy the hash table on NMManager finalization
9605 2007-09-02 Dan Williams <dcbw@redhat.com>
9607 * include/NetworkManager.h
9608 libnm-glib/nm-settings.c
9609 - defines for the user settings daemon D-Bus bits
9611 * src/NetworkManager.c
9612 - Remove stuff that referred to the old NetworkManagerInfo service
9614 * src/vpn-manager/nm-dbus-vpn.h
9615 - Move old NMI defines to the only place they are used still
9617 * libnm-util/nm-connection.c
9618 libnm-util/nm-connection.h
9619 src/nm-activation-request.c
9620 - Make NMConnection a GObject subclass so we can do spiffy stuff with it
9624 - Get connections and their settings from the user settings daemon
9625 at the appropriate times
9627 2007-09-02 Dan Williams <dcbw@redhat.com>
9629 * libnm-util/nm-setting.c
9630 - (nm_settings_verify): correct setting name is 'connection', not 'info'
9631 - (setting_wireless_hash): set the right value on the item
9633 2007-09-02 Dan Williams <dcbw@redhat.com>
9637 - Remove, no longer useful
9639 2007-08-30 Dan Williams <dcbw@redhat.com>
9642 src/NetworkManagerDbus.c
9643 src/NetworkManagerDbus.h
9644 src/vpn-manager/nm-dbus-vpn.c
9645 - Remove, no longer necessary. Move last bits to the only place its
9646 used, in nm-dbus-vpn.c
9648 * src/NetworkManagerAPList.c
9650 src/NetworkManager.c
9651 src/nm-device-802-11-wireless.c
9652 src/vpn-manager/nm-vpn-manager.c
9653 src/vpn-manager/nm-vpn-service.c
9654 src/NetworkManagerPolicy.c
9656 - Remove usage of NetworkManagerDbus.h, and kill the obfuscation
9657 that was message_is_error()
9659 2007-08-30 Dan Williams <dcbw@redhat.com>
9662 - Include config.h to get defines for endiannes (gnome.org #420216)
9664 2007-08-30 Dan Williams <dcbw@redhat.com>
9666 Patch from Philip Withnall <bugzilla@tecnocode.co.uk>
9668 * src/ppp-manager/Makefile.am
9669 - use -fPIC (gnome.org #471825)
9671 2007-08-29 Dan Williams <dcbw@redhat.com>
9673 * include/NetworkManager.h
9674 - Keep NMConnection object path in sync
9676 * libnm-glib/nm-settings.c
9677 libnm-glib/nm-settings.h
9678 - Break D-Bus object registration out of the init function, because
9679 every object that's exported over D-Bus needs to use the _same_
9680 DBusConnection. Otherwise, each object would get a different object
9681 path tree and wouldn't be callable.
9683 2007-08-29 Dan Williams <dcbw@redhat.com>
9685 * libnm-util/nm-setting.h
9686 libnm-util/nm-setting.c
9687 libnm-util/nm-connection.c
9688 src/NetworkManagerPolicy.c
9689 - 'info' settings object should be 'connection' says the spec
9690 at NetworkManagerConfigurationSpecification
9692 2007-08-29 Dan Williams <dcbw@redhat.com>
9694 * libnm-glib/nm-settings.c
9695 libnm-glib/nm-settings.h
9696 - make the dbus path a property of the object, and autogenerate it.
9697 It can't be composed of the 'id' field becuase that's not available
9698 yet during the GObject creation in nm_connection_settings_init()
9700 2007-08-29 Dan Williams <dcbw@redhat.com>
9702 * introspection/nm-settings-connection.xml
9703 introspection/nm-settings.xml
9704 - Service name -> NetworkManagerUserSettings because two services
9705 can't share part of the same path. I'm not really sure how we'll use
9706 the same code with the system-settings daemon...
9708 2007-08-28 Dan Williams <dcbw@redhat.com>
9710 * src/nm-device-interface.c
9711 src/nm-device-interface.h
9712 - Kill one more bit of NMData
9714 2007-08-28 Dan Williams <dcbw@redhat.com>
9716 * src/NetworkManagerSystem.h
9719 src/nm-hal-manager.c
9720 src/NetworkManager.c
9721 src/nm-device-802-11-wireless.c
9722 src/nm-hal-manager.h
9723 src/nm-device-802-3-ethernet.c
9724 src/vpn-manager/nm-vpn-service.h
9725 src/vpn-manager/nm-vpn-manager.c
9726 src/vpn-manager/nm-vpn-manager.h
9727 src/vpn-manager/nm-vpn-service.c
9728 src/nm-device-802-11-wireless.h
9729 src/NetworkManagerMain.h
9730 src/nm-device-802-3-ethernet.h
9731 src/backends/NetworkManagerGentoo.c
9732 src/backends/NetworkManagerPaldo.c
9733 src/backends/NetworkManagerFrugalware.c
9734 src/backends/NetworkManagerRedHat.c
9735 src/backends/NetworkManagerSlackware.c
9736 src/backends/NetworkManagerGeneric.c
9737 src/backends/NetworkManagerArch.c
9738 src/backends/NetworkManagerSuSE.c
9739 src/backends/NetworkManagerGeneric.h
9740 src/backends/NetworkManagerDebian.c
9743 2007-08-28 Dan Williams <dcbw@redhat.com>
9745 * src/NetworkManagerMain.h
9746 src/nm-device-802-11-wireless.c
9747 src/NetworkManager.c
9748 - Remove invalid AP list from NMData; need to rework this somewhat, but
9749 for now we should set the 'invalid' property on individual APs, and when
9750 we need to invalidate a whole ESS, set the 'invalid' on every member of
9753 2007-08-28 Dan Williams <dcbw@redhat.com>
9755 * src/NetworkManagerAP.c
9756 src/NetworkManagerAP.h
9757 - Remove 'fallback' tag, to be replaced by NMConnection/NMSettings
9758 'autoconnect' property instead
9760 * src/NetworkManager.c
9761 src/NetworkManagerMain.h
9762 src/NetworkManagerPolicy.c
9763 src/NetworkManagerPolicy.h
9764 - Remove the 'allowed_ap_list', which should be replaced by
9765 NMConnection/NMSettings instead, since _those_ are the allowed
9766 things that NM can connect to
9768 * src/nm-device-802-11-wireless.c
9769 - Remove both allowed_ap_list usage and 'fallback' checking
9771 2007-08-28 Dan Williams <dcbw@redhat.com>
9774 src/named-manager/nm-named-manager.c
9775 src/named-manager/nm-named-manager.h
9776 src/NetworkManager.c
9777 src/vpn-manager/nm-vpn-manager.c
9778 src/NetworkManagerMain.h
9779 src/NetworkManagerSystem.c
9780 - Remove the named-manager object from NMData structure in preparation
9781 for NMData's timely death. Make the NMNamedManager the singleton that
9784 2007-08-28 Dan Williams <dcbw@redhat.com>
9786 Remove NMAPSecurity objects, they are replaced with flags on the APs for
9787 each AP's capabilities, and by NMConnection/NMSettings objects for user
9788 defined connections.
9790 * include/NetworkManager.h
9791 - Redefine 802.11 security properties. There are now device capabilities
9792 and AP flags and AP security flags. It was way to unclear before.
9795 src/nm-ap-security-leap.h
9796 src/nm-ap-security-leap.c
9797 src/nm-ap-security-wpa-eap.c
9798 src/nm-ap-security-wpa-eap.h
9799 src/nm-ap-security-private.h
9800 src/nm-ap-security-wpa-psk.c
9801 src/nm-ap-security-wpa-psk.h
9802 src/nm-ap-security-wep.c
9803 src/nm-ap-security-wep.h
9804 src/nm-ap-security.c
9805 src/nm-ap-security.h
9806 - Removed, to be replaced with NMConnection/NMSettings objects
9810 - Removed, to be replaced by code that talks to the new info daemon
9811 interface and gets NMConnection/NMSettings objects
9813 * src/backends/NetworkManagerSuSE.c
9814 - Remove usage of NMAPSecurity; should be replaced by a system-level
9815 info-daemon that does the same thing but talks the new info-daemon
9818 * src/NetworkManagerAP.h
9819 src/NetworkManagerAP.c
9820 src/NetworkManagerAPList.c
9821 libnm-glib/libnm-glib-test.c
9822 - Remove usage of NMAPSecurity objects and adjust to new flags for
9825 * libnm-glib/nm-access-point.c
9826 libnm-glib/nm-access-point.h
9827 introspection/nm-access-point.xml
9829 - Adjust to new flags for AP security
9833 src/vpn-manager/nm-dbus-vpn.c
9834 - Remove D-Bus pending call stuff from nm-utils and put it in the VPN
9835 stuff which is the only place it's used
9837 * src/nm-device-interface.c
9838 src/nm-device-interface.h
9839 introspection/nm-device.xml
9840 src/nm-activation-request.c
9841 src/nm-activation-request.h
9843 - Add a new 'specific_object' argument that hints to NM what actual
9844 AP or other device-specific thing the connection should apply to.
9845 NMConnection objects can apply to more than one actual device/AP.
9847 * libnm-util/nm-connection.c
9848 * libnm-util/nm-connection.h
9849 - Add 'have_secrets" call stubs
9851 * libnm-util/cipher.h
9852 - Move NM_AUTH_TYPE_* defines here for now
9854 * src/nm-device-802-11-wireless.c
9855 - Remove usage of NMAPSecurity, to be replaced with NMConnection/
9858 * src/NetworkManagerDbus.c
9859 * src/NetworkManagerPolicy.c
9860 - Remove usage of update_allowed_networks, should be pushing data in
9863 2007-08-27 Tambet Ingo <tambet@gmail.com>
9865 * src/nm-manager.c (impl_manager_get_devices): Duplicate the device path,
9866 dbus-glib frees it when the call is done.
9868 2007-08-26 Dan Williams <dcbw@redhat.com>
9870 * introspection/nm-device.xml
9871 - Add 'Index' property on NMDevice objects (forgot to do this earlier)
9873 2007-08-26 Dan Williams <dcbw@redhat.com>
9875 * src/nm-device-802-3-ethernet.c
9876 - (constructor): move connection of interface-connected/disconnected
9877 signals here from real_bring_up(). Should be listening to netlink
9878 for carrier events no matter what the initial state of the device
9881 2007-08-26 Dan Williams <dcbw@redhat.com>
9883 * src/nm-netlink-monitor.c
9884 - (nm_netlink_monitor_class_init): fix marshalling types for
9885 interface-connected/interface-disconnected
9886 - (nm_netlink_monitor_event_handler): clean up carrier on/off
9889 2007-08-26 Dan Williams <dcbw@redhat.com>
9891 Convert to using interface indexes as the primary method of identifying
9892 devices inside NetworkManager. Indexes are (?) stable, but devices can
9893 be renamed at any time. Device object paths now refer to the device
9894 index rather than the name, and you can map those two manually if you like
9895 by looking in the /sys/class/net/<name>/ifindex file. Also moves most
9896 netlink-related code to nm-netlink.c, and cleans up nm-netlink-monitor.c
9897 to use interface indexes rather than names.
9899 2007-08-26 Dan Williams <dcbw@redhat.com>
9901 * src/nm-netlink-monitor.h
9902 - Remove one last bit of wireless-event signal
9904 2007-08-26 Dan Williams <dcbw@redhat.com>
9906 * src/nm-netlink-monitor.c
9907 - (nm_netlink_monitor_class_init, nm_netlink_monitor_event_handler):
9908 don't need the 'wireless-event' signal anymore since that's all
9909 handled by wpa_supplicant
9911 2007-08-25 Dan Williams <dcbw@redhat.com>
9913 It's 2007. Remove support for drivers that don't support wireless scanning.
9916 include/NetworkManager.h
9917 src/NetworkManagerUtils.c
9918 src/NetworkManagerPolicy.c
9919 src/nm-device-802-11-wireless.c
9920 - Remove special handling for non-scanning devices and mark them
9921 as unsupported/unhandled
9923 2007-08-20 Dan Williams <dcbw@redhat.com>
9925 * src/nm-device-802-11-wireless.c
9926 src/nm-device-802-3-ethernet.c
9927 - (real_is_up): move device-specific tests before generic IFF_UP test,
9928 because when the card is pulled or the module removed, the device
9929 is already !IFF_UP and then device-specific cleanup (removing
9930 the supplicant interface, periodic checks, etc) never gets done
9932 2007-08-20 Dan Williams <dcbw@redhat.com>
9935 - (nm_manager_remove_device): bring device down before disconnecting
9936 signal handlers, so that the 'state' signal will get broadcast when
9937 the device enters the DOWN state
9938 - (manager_device_state_changed): add NM_DEVICE_STATE_DOWN to the list
9939 of states that cause the NMManager to recheck its state
9941 2007-08-20 Dan Williams <dcbw@redhat.com>
9943 * src/supplicant-manager/nm-supplicant-interface.c
9944 - (interface_disconnect_done): don't try to dispose of the net proxy
9945 when it may already have been disposed of
9947 2007-08-20 Dan Williams <dcbw@redhat.com>
9949 * src/nm-device-802-11-wireless.c
9950 - (nm_device_802_11_wireless_get_ssid): don't traceback and die when
9951 the SSID isn't available; this can happen when the card is pulled
9952 or the module unloaded, during the post-removal deactivation
9953 paths, when the ioctl returns ENODEV
9955 2007-08-20 Dan Williams <dcbw@redhat.com>
9957 * src/nm-device-802-11-wireless.c
9958 - (merge_scanned_ap): only merge the AP with another if the SSID, BSSID,
9959 frequency, and mode match. Applets are now responsible for grouping
9962 2007-08-20 Dan Williams <dcbw@redhat.com>
9964 * src/NetworkManagerAP.c
9965 * src/NetworkManagerAP.h
9966 - (nm_ap_print_self): new function
9968 * src/NetworkManagerAPList.c
9969 - (nm_ap_list_print_members): call nm_ap_print_self() rather than trying
9972 2007-08-17 Dan Williams <dcbw@redhat.com>
9974 * src/nm-device-802-3-ethernet.c
9975 - (real_bring_down): don't try to dispose of stuff that might not
9978 2007-08-17 Dan Williams <dcbw@redhat.com>
9980 * src/NetworkManagerAP.c
9981 - (nm_ap_set_user_addresses): uppercase any BSSID passed in from the
9982 applet. This ensures that the case between the seen-bssids and
9983 the bssids reported by the driver match.
9985 2007-08-17 Dan Williams <dcbw@redhat.com>
9987 * src/nm-device-802-11-wireless.c
9988 - (device_cleanup): disconnect the interface in wpa_supplicant before
9989 we dispose of the interface proxy in NM
9991 2007-08-16 Dan Williams <dcbw@redhat.com>
9993 * libnm-glib/nm-client.c
9994 - (nm_client_init): create VPN connections hash table with key free
9996 - (proxy_vpn_connection_added): VPN connections hash table key should
9997 be a duplicated value, not the same memory address as the VPN
9998 connection name. This is because the VPN connection name could
9999 potentially be freed and set to something else during the lifetime
10000 of the NMVPNConnection object.
10002 2007-08-16 Tambet Ingo <tambet@gmail.com>
10004 * src/ppp-manager/nm-ppp-manager.c (pppd_child_setup): Implement.
10005 (nm_ppp_manager_start): Use g_spawn_async() since we're not doing anything
10006 with the file descriptors. Send a child setup function to change the pppd
10009 2007-08-15 Dan Williams <dcbw@redhat.com>
10011 * src/supplicant-manager/nm-supplicant-interface.c
10012 - (try_remove_iface): new function, ask wpa_supplicant to remove
10014 - (nm_supplicant_interface_dispose): call try_remove_iface() when
10015 disposing of the NMSupplicantInterface. Otherwise weird stuff
10016 happens on hotplug if wpa_supplicant doesn't tear down and readd
10017 the interface internally
10019 2007-08-15 Dan Williams <dcbw@redhat.com>
10021 * src/nm-device-802-11-wireless.c
10022 - (real_bring_down): move most of this function into device_cleanup()
10023 so that it can be called from elsewhere
10024 - (nm_device_802_11_wireless_dispose): clean up device periodic timers
10025 and stuff on dispose. These would normally get cleaned up when
10026 the device is marked down and deactivated, but when the device is
10027 hot-unplugged, it's already down and real_down() never gets run
10029 2007-08-15 Dan Williams <dcbw@redhat.com>
10031 * src/nm-dbus-nmi.c
10032 - (nm_dbus_get_user_key_for_network_cb): fix incorrect refcounting that
10033 caused a reference leak on device for which NM requested a key
10035 2007-08-15 Dan Williams <dcbw@redhat.com>
10037 * libnm-glib/nm-client.c
10038 - (nm_client_get_best_vpn_state): fix leakage of the vpn connection list
10040 2007-08-15 Tambet Ingo <tambet@gmail.com>
10042 * src/ppp-manager: Implement ppp-manager. It's sort of dead code for now since
10043 nothing is using it at the moment, but it'll be all useful and stuff later on.
10045 * libnm-util/nm-setting.h: Define NMSettingPPP.
10047 * libnm-util/nm-setting.c: Implement NMSettingPPP.
10049 * libnm-util/nm-connection.c (register_default_creators): Register ppp setting.
10051 * src/Makefile.am: Add ppp-manager to SUBDIRS.
10053 * configure.in: Require ppp headers. Build Makefile for ppp-manager.
10055 * introspection/Makefile.am: Add nm-manager-client.xml to EXTRA_DIST.
10057 2007-08-14 Tambet Ingo <tambet@gmail.com>
10059 * libnm-glib/Makefile.am: Use nm-manager-client.xml to produce nm-client-bindings.
10061 * introspection/nm-manager-client.xml: Add a horrible horrbile hack to work around
10062 an issue with dbus-glib bindings generator. The issue is, the generated C caller
10063 functions for dbus methods "Sleep(bool)" and "sleep()" both have the same function
10064 name and different arguments and it won't compile anymore. To fix this, we now have
10065 two copies of nm-manager.xml file. nm-manager.xml contains the actual interface,
10066 that is new API + compatibility API and used by the daemon. The other,
10067 nm-manager-client.xml is only the new API without compatibility bits and is used
10068 by libnm-glib to make it compile.
10070 * introspection/nm-manager.xml: Define compatibility methods (sleep, wake, state).
10072 * src/nm-manager.c (impl_manager_legacy_sleep)
10073 (impl_manager_legacy_wake, impl_manager_legacy_state): Implement the compatibility
10074 interface functions for 0.6 branch.
10076 2007-08-14 Dan Williams <dcbw@redhat.com>
10078 * src/NetworkManagerAP.c
10079 - (nm_ap_new_from_properties): fix mistaken check of return value
10080 from memcmp (should expect 0)
10082 2007-08-14 Dan Williams <dcbw@redhat.com>
10084 (force-commit to fix wrong comment and partial commit of r2685; this
10085 commit actually applies to r2685)
10087 * src/NetworkManagerUtils.c
10088 - (nm_utils_same_ssid): add "ignore_trailing_null" parameter which
10089 ignores trailing nulls in the SSID to work around mismatches in
10090 expectations between WEXT and what the info-daemon passes back. The
10091 info-daemon would pass back the correct length, but due to the
10092 ESSID length issues with WEXT 22 and greater and wpa_supplicant,
10093 the device would always have an SSID + 1 depending on what versions
10094 of wpa_supplicant, the kernel, and NM you have. This was most often
10095 visible by just quitting the applet and relaunching, which caused
10096 NM to reassociated to the same network over again when reloading
10099 * src/NetworkManagerPolicy.c
10100 src/NetworkManagerUtils.h
10101 src/nm-device-802-11-wireless.c
10102 - Update for new parameter to nm_utils_same_ssid()
10104 2007-08-14 Dan Williams <dcbw@redhat.com>
10106 * src/NetworkManagerAP.c
10107 - (nm_ap_new_from_properties): ignore BSSs with invalid BSSIDs. Today
10108 I encountered a BSS that wasn't just hiding it's ESSID, it was
10109 setting the BSSID to all 0s. That confused the heck out of NM,
10110 plus it's useless and probably out-of-spec.
10112 2007-08-14 Dan Williams <dcbw@redhat.com>
10114 * callouts/Makefile.am
10115 src/dhcp-manager/nm-dhcp-manager.c
10116 src/dhcp-manager/nm-dhcp-manager.h
10117 src/dhcp-manager/Makefile.am
10118 - Change install location of nm-dhcp-client.action to ${prefix}/libexec
10120 2007-08-14 Dan Williams <dcbw@redhat.com>
10122 * src/dhcp-manager/nm-dhcp-manager.c
10123 - (dhclient_run): don't pass -x to dhclient until we figure out if
10124 it's really needed, get rid of unused xtra_args parameter
10126 2007-08-14 Dan Williams <dcbw@redhat.com>
10128 * include/NetworkManagerVPN.h
10129 src/vpn-manager/nm-dbus-vpn.c
10130 src/vpn-manager/nm-dbus-vpn.h
10131 src/vpn-manager/nm-vpn-act-request.c
10132 src/vpn-manager/nm-vpn-act-request.h
10133 src/vpn-manager/nm-vpn-service.c
10134 src/vpn-manager/nm-vpn-service.h
10135 libnm-glib/nm-vpn-connection.c
10136 libnm-glib/nm-vpn-connection.h
10137 libnm-glib/nm-client.h
10138 - Rename NM_VPN_STATE_* -> NM_VPN_SERVICE_STATE_* and NMVPNState ->
10139 NMVPNServiceState to clarify what they apply to
10140 - Rename NM_VPN_ACT_STAGE_* -> NM_VPN_CONNECTION_STATE_* and
10141 NMVPNActStage -> NMVPNConnectionState for the same reason
10143 * libnm-glib/nm-client.c
10144 - Constant + type renames from above
10145 - Properly handle NameOwnerChanged/manager_running signals
10146 for NM service; only emit when state really changes
10147 - Use hash tables correctly so that the key (which was previously owned
10148 by the D-Bus message) now has the same lifetime as the value, since
10149 the key is now taken from the the NMVPNConnection itself. This
10150 really fixes the double-VPN names in the applet
10152 2007-08-13 Dan Williams <dcbw@redhat.com>
10154 Patch from Michael Biebl <biebl@debian.org>
10158 - Update for vpn-properties move
10160 2007-08-13 Dan Williams <dcbw@redhat.com>
10162 * libnm-glib/nm-client.c
10163 - Convert internal VPN connection tracking from a list to a hash table
10164 to easily avoid duplicates
10165 - (nm_client_get_vpn_connections): now returns an allocated GSList that
10166 must be freed by the caller, like nm_client_get_devices()
10167 - (nm_client_remove_vpn_connection): don't let the removal signal
10168 leak through for NMVPNConnection objects that aren't actually
10170 - (manager_running): throw away VPN connection list when NM goes away,
10171 like with the device list
10173 2007-08-13 Dan Williams <dcbw@redhat.com>
10175 * src/dhcp-manager/nm-dhcp-manager.c
10176 - Stop any dhclient instance that might be already running for a
10177 particular interface before starting an NM spawned dhclient. Fixes
10178 dhclient processes left over if NM crashes, stuff like that.
10180 2007-08-13 Dan Williams <dcbw@redhat.com>
10182 * src/NetworkManagerAP.c
10183 - (finalize): don't try to g_array_free (NULL, ...), which happened
10184 when the AP wasn't broadcasting it's SSID
10186 2007-08-13 Rodrigo Moya <rodrigo@gnome-db.org>
10188 * include/NetworkManager.h: added DBus path for connection settings.
10190 * libnm-glib/nm-settings.[ch] (nm_settings_signal_new_connection,
10191 nm_connection_settings_signal_updated,
10192 nm_connection_settings_signal_removed): new functions to wrap the
10194 (nm_connection_settings_init): register GObject with DBus.
10195 (nm_connection_settings_get_dbus_object_path): new function.
10197 * libnm-glib/Makefile.am: added libnmutil to link flags.
10199 2007-08-13 Tambet Ingo <tambet@gmail.com>
10201 * configure.in: Remove checks for dhcdbd as it's killed! killed! killed!
10203 * gnome/*: Remove. The nm-vpn-properties directory is now part of nm-applet,
10204 libnm_glib directory got merged with libnm-glib/.
10206 * libnm-glib/libnm-glib.pc.in: Rename to libnm_glib.pc.in.
10208 * libnm-glib/Makefile.am: Add legacy libnm_glib.[ch] to the build.
10209 Rename the library from libnm-glib to libnm_glib to maintain the library API
10210 compatibility with 0.6 branch.
10212 * Makefile.am: Remove gnome/ SUBDIR.
10214 * gnome/libnm_glib/libnm_glib.[ch]: Move to libnm-glib/.
10216 * src/Makefile.am: Remove the WPA_SUPPLICANT_BIN define.
10218 * dispatcher-daemon/Makefile.am: Link the binary with libnm_glib.
10220 * configure.in: Remove GNOME checks, NetworkManager does not need any of these
10222 Remove checks for wpa_supplicant binary, it's used over dbus.
10223 Remove gnome/ directory files form AC_OUTPUT, that directory is getting moved.
10225 * test/Makefile.am: Remove define WPA_SUPPLICANT_BIN.
10226 Link the binaries with libnm_glib.la.
10228 2007-08-12 Dan Williams <dcbw@redhat.com>
10230 * src/NetworkManagerPolicy.c
10231 - (nm_policy_device_change_check): fix policy to deactivate old device
10232 before activating new one, at least until the multiple active
10233 device support lands
10235 2007-08-12 Dan Williams <dcbw@redhat.com>
10237 * src/NetworkManagerPolicy.c
10238 - (nm_policy_new): hook up to connection-added / connection-removed
10239 signals instead of connections-changed
10241 2007-08-12 Dan Williams <dcbw@redhat.com>
10243 Kill dhcdbd until it's dead, dead, dead. Based on a patch from
10244 Robert Frank <rfrank@redhat.com>
10246 * src/dhcp-manager/nm-dhcp-manager.c
10247 src/dhcp-manager/nm-dhcp-manager.c
10249 - Spawn and communicate with dhclient directly, through means of a
10250 custom dhclient callout script. Process callout D-Bus signals
10251 with dbus-glib instead of hand-rolled dbus. DHCP timeouts are now
10252 sent via gobject signals rather than being driven by the dhcp manager
10255 2007-08-12 Dan Williams <dcbw@redhat.com>
10257 * callouts/nm-dhcp-client-action.c
10258 - (build_message): ignore non-DHCP-related environment variables
10260 2007-08-12 Dan Williams <dcbw@redhat.com>
10264 callouts/Makefile.am
10265 callouts/nm-dhcp-client-action.c
10266 callouts/nm-dhcp-client.conf
10267 - Add dhclient-executed callout that takes the place of dhclient-script
10268 and dhcdbd, pushing DHCP options out to the system bus as a signal that
10269 NM then listens for
10271 2007-08-09 Tambet Ingo <tambet@gmail.com>
10273 [Based on patch by Helmut Schaa <hschaa@suse.de>]
10275 * libnm-glib/nm-client.h:
10276 * libnm-glib/nm-object.h:
10277 * libnm-glib/nm-vpn-connection.h:
10278 * libnm-glib/nm-settings.h:
10279 * libnm-glib/nm-device.h:
10280 * libnm-glib/nm-ip4-config.h:
10281 * libnm-glib/nm-access-point.h:
10282 * libnm-glib/nm-device-802-3-ethernet.h:
10283 * libnm-util/nm-setting.h:
10284 * libnm-util/nm-connection.h: Add G_BEGIN_DECLS / G_END_DECLS to support C++.
10286 * libnm-glib/nm-object.c (nm_object_get_byte_property): Implement.
10288 * libnm-glib/nm-access-point.c: Strength has type char.
10290 * gnome/vpn-properties/Makefile.am: Remove GNOME_DISABLE_DEPRECTATED for now
10291 to fix build. GnomeDruid is deprecated in recent libgnomeui.
10293 * introspection/nm-access-point.xml: Strength property is char, not int.
10295 * src/NetworkManagerAP.c (set_property): Set strength from char.
10296 (get_property): Handle hidden APs (with empty SSID).
10297 Get strength value from char.
10298 (nm_ap_class_init): Strength property has char type.
10300 2007-08-03 Rodrigo Moya <rodrigo@gnome-db.org>
10302 * introspection/Makefile.am:
10303 * introspection/nm-settings.xml:
10304 * introspection/nm-settings-connection.xml: added Settings interfaces.
10306 * libnm-glib/nm-settings.[ch]:
10307 * libnm-glib/Makefile.am: added abstract class for Settings interfaces
10308 containing the DBus implementation.
10310 2007-07-26 Dan Williams <dcbw@redhat.com>
10312 Patch from Bernhard Miklautz <bernhard.miklautz@shacknet.at>
10314 * src/NetworkManagerSystem.c
10315 - (nm_system_device_set_ip4_route): don't add the route if it's on the
10316 same subnet (#437396)
10318 2007-07-26 Dan Williams <dcbw@redhat.com>
10320 Patch from Kelemen Gábor <kelemeng@gnome.hu>
10322 * gnome/vpn-properties/nm-vpn-properties.c
10323 - Fix translatable strings (#445865)
10325 2007-07-26 Dan Williams <dcbw@redhat.com>
10327 Patch from Andreas Hanke <andreas.hanke@gmx-topmail.de>
10330 - Remove useless junk (#412530)
10332 2007-07-10 Christopher Aillon <caillon@redhat.com>
10334 Patch from Robert Buchholz <rbu@gentoo.org>:
10338 * introspection/Makefile.am:
10339 Make make distcheck work again.
10341 2007-06-27 Dan Williams <dcbw@redhat.com>
10343 * Make SSIDs GByteArrays everywhere
10344 * Rename "essid" -> "ssid" everywhere that's appropriate
10345 * Refcount activation_ap member of the 802.11 wireless device class
10347 2007-06-27 Tambet Ingo <tambet@ximian.com>
10349 * libnm-glib/nm-object.[ch]: Add these to the SVN, oops.
10351 2007-06-22 Tambet Ingo <tambet@ximian.com>
10353 * src/nm-device-802-11-wireless.c (merge_scanned_ap): Don't advertise constantly
10354 that we got a new AP when we just update existing AP properties.
10356 2007-06-21 Tambet Ingo <tambet@ximian.com>
10358 * libnm-glib/Makefile.am: Add NMObject to build, remove nm-utils.[ch].
10360 * nm-utils.[ch]: Remove.
10362 * libnm-glib/nm-object.c: Implement a base class for all libnm-glib dbus-aware
10363 objects for easy property access and dbus connection handling.
10365 * libnm-glib/nm-client.c: Derive from NMObject.
10367 * libnm-glib/nm-device.c: Ditto.
10369 * libnm-glib/nm-device-802-3-ethernet.c: Changes for being based on NMObject.
10371 * libnm-glib/nm-device-802-11-wireless.c: Ditto.
10373 * libnm-glib/nm-ip4-config.c: Ditto.
10375 * libnm-glib/nm-access-point.c: Ditto.
10377 * libnm-util/nm-connection.c (nm_connection_compare): Add a stub for connection
10378 comparision. Currently used by the device activation code to determine if the new
10379 activation is the same as the old one.
10381 * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Don't use the obsolete and
10382 wrong way of getting the dbus path for AP. Fixes the issue where the applet isn't
10383 able to ask password for the AP.
10385 * src/nm-device.c (nm_device_activate): Change the logic here - instead of giving
10386 up if the device is already connected, tear down it's connection (if it isn't the
10387 same as new one) and start the activation.
10389 * src/nm-manager.c: Add the beginnings of NMConnection storage and signals.
10391 * src/NetworkManagerAP.c (nm_ap_init): Set the default values to AP memebers, fixes
10392 the issue where all APs are always listed as encrypted.
10394 * src/NetworkManagerDbus.c (nm_dbus_get_object_path_for_network): Remove. APs have
10395 their own registered paths.
10397 * test/nm-tool.c (detail_device): Don't try to get active network from wireless
10398 device if it's not connected - dbus-glib will happily crash trying to marshal NULL.
10400 2007-06-13 Tambet Ingo <tambet@ximian.com>
10402 * src/NetworkManagerAP.c (foreach_property_cb): Set WEP capabilities too!
10405 * src/nm-device.c (nm_device_state_changed): Emit the signal before handling it
10406 because the handling code will cause the next state change and signal listeners
10407 get the signals in wrong order.
10409 * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Get the "old_dev"
10410 correctly in case of pending activation.
10412 * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
10413 Convert the essid byte array to string correctly, including the terminating NULL.
10415 * src/NetworkManagerPolicy.c (create_connection): Create wireless ssid and
10416 mode with correct types.
10418 * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Fix a typo, pass the
10419 constructed info to dbus call instead of the activation request.
10421 2007-06-11 Christopher Aillon <caillon@redhat.com>
10423 Patch from Christian Persch <chpe@gnome.org>
10425 * libnm-glib/Makefile.am:
10426 * dispatcher-daemon/Makefile.am:
10427 Use the correct variables, the correct paths, and correct ordering. (446315)
10429 2007-06-11 Tambet Ingo <tambet@ximian.com>
10431 * src/nm-device.c: Make the activation stage virtual functions take NMDevice
10432 argument. The activation request is easy to retrieve.
10434 * src/nm-activation-request.c: Convert to GObject. Do not include half of NM headers
10435 just to be a convenient location for devices to store random stuff.
10437 2007-06-11 Christopher Aillon <caillon@redhat.com>
10439 Patch from Alex Smith <alex@alex-smith.me.uk>
10441 * src/backends/NetworkManagerFrugalware.c:
10442 Update the FrugalWare backend to fix a few segfaults. (#392642)
10444 2007-06-08 Tambet Ingo <tambet@ximian.com>
10446 * libnm-util/nm-setting.c: Implement NMSettingWirelessSecurity.
10448 * libnm-util/nm-connection.c (register_default_creators): Register wireless security
10450 (gvalue_to_string): Recognize G_TYPE_UCHAR and GSList.
10452 2007-06-06 Tambet Ingo <tambet@ximian.com>
10454 * libnm-util/nm-setting.c: Get rid of dump virtual functions, that can happen
10456 Implement NMSettingIP4Config.
10457 Finish NMSettingWired by adding all known members.
10458 (setting_wired_verify): Implement.
10459 Finish NMSettingWireless by adding all known members.
10460 (setting_wireless_verify): Implement.
10462 * libnm-util/nm-connection.c: Register "ipv4" setting.
10463 (nm_connection_dump): Implement. Instead of requiring every NMSetting to implement
10464 dump function, we can introspect the GHashTable which is used for sending connections
10467 * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
10468 Take GByteArray for essid, it's really not a string.
10470 * src/nm-device.c (real_act_stage3_ip_config_start): Get information from NMSettings.
10471 Start DHCP request if setting is not passed or if it states that DHCP should be used.
10472 (real_act_stage4_get_ip4_config): If settings are provided, use them, even if it
10473 means overriding the values we got from DHCP.
10474 (real_activation_cancel_handler): Cancel DHCP transaction only if it has started, doh.
10475 (nm_device_deactivate_quickly): Ditto.
10477 * src/nm-device-interface.c (impl_device_activate): Dump the connection structure
10480 2007-05-07 Tambet Ingo <tambet@ximian.com>
10482 * libnm-glib/Makefile.am: Link with libnm-util to gain access to
10485 * libnm-glib/nm-device-802-11-wireless.c:
10486 (nm_device_802_3_ethernet_activate): Remove.
10488 * libnm-glib/nm-device-802-3-ethernet.c
10489 (nm_device_802_3_ethernet_activate): Remove.
10491 * libnm-glib/nm-device.c (nm_device_activate): Implement.
10493 * src/nm-device-802-3-ethernet.c: Implement the new activation using
10496 * src/nm-device-802-11-wireless.c: Store an activation AP once the
10497 activation has started.
10498 Implement the new activation using NMConnection.
10500 * src/nm-activation-request.c: Store a generic connection object instead
10501 of a wireless-specific AP.
10503 * src/NetworkManagerPolicy.c (create_connection): Implement. Depending
10504 on device type, create a device specific connection object suitable for
10507 * src/nm-device.c (nm_device_activate): Re-implement. Call the device
10508 specific check to validate the connection and on success start the
10511 * src/nm-device-interface.h: Add a activate virtual function to the
10512 interface definition.
10514 * src/nm-device-interface.c (nm_device_interface_activate): Implement.
10515 (impl_device_activate): Implement.
10517 * introspection/nm-device.xml: Add a generic device activation interface
10518 that accepts an abstract NMConnection structure that has device-specific
10521 * introspection/nm-device-802-3-ethernet.xml: Remove the wired-specific
10522 activation interface.
10524 * introspection/nm-device-802-11-wireless.xml: Remove the wireless-specific
10525 activation interface.
10527 * libnm-util/nm-connection.c:
10528 * libnm-util/nm-connection.h:
10529 * libnm-util/nm-setting.c:
10530 * libnm-util/nm-setting.h: Add.
10532 * libnm-util/Makefile.am: Build the added files.
10534 * src/nm-dbus-manager.c
10535 (proxy_name_owner_changed, nm_dbus_manager_class_init): Remove the
10536 DbusConnection argument from 'name-owner-changed' signal. The manager
10537 is already passed as a first argument to the signal and the connection
10538 is easy enough to get from it.
10540 * src/vpn-manager/nm-vpn-service.c (nm_vpn_service_name_owner_changed):
10541 Update the signature of the function.
10543 * src/vpn-manager/nm-vpn-manager.c (nm_name_owner_changed_handler):
10546 * src/NetworkManager.c: Ditto.
10548 * src/named-manager/nm-named-manager.c
10549 (nm_named_manager_name_owner_changed): Ditto.
10551 * src/supplicant-manager/nm-supplicant-manager.c
10552 (nm_supplicant_manager_name_owner_changed): Ditto.
10554 * src/nm-hal-manager.c (name_owner_changed): Ditto.
10556 * src/dhcp-manager/nm-dhcp-manager.c
10557 (nm_dhcp_manager_name_owner_changed): Ditto.
10559 * src/nm-hal-manager.c: Add a list of device detectors and creators
10560 to make it easier to add new devices. Each device type has it's own
10561 entry in the table so adding new device types is only a matter of
10562 implementing a couple of functions, one for device detection and the
10563 other for device creation.
10565 2007-04-25 Dan Williams <dcbw@redhat.com>
10567 * initscript/RedHat/NetworkManager.in: remove trailing backslash
10568 (gnome.org #432401)
10570 2007-03-30 Dan Williams <dcbw@redhat.com>
10572 * src/NetworkManagerSystem.c
10573 - (nm_system_device_set_ip4_route): clean up and fix argument
10574 to nm_dev_sock_open()
10576 2007-03-28 Tambet Ingo <tambet@ximian.com>
10578 * src/supplicant-manager/nm-supplicant-config.c (get_hash_cb): Marshal the
10579 data to correct types instead of always using string.
10581 * src/NetworkManagerAP.c (get_property): AP is encrypted if capabilities does
10582 _not_ have NM_802_11_CAP_PROTO_NONE.
10583 (foreach_property_cb): Set AP capabilities if it's not set or if the protocol
10586 2007-03-27 Tambet Ingo <tambet@ximian.com>
10588 * libnm-glib/Makefile.am: Fix the build issue.
10590 2007-03-26 Tambet Ingo <tambet@ximian.com>
10592 * libnm-glib/nm-vpn-connection.h:
10593 * libnm-glib/nm-vpn-connection.c: Implement.
10595 * libnm-glib/nm-client.c: Add VPN support.
10597 * src/vpn-manager/nm-dbus-vpn.c (dbus_message_handler): Implement DBUS message
10600 * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_new): Register VPN interface
10603 2007-03-26 Dan Williams <dcbw@redhat.com>
10605 * src/NetworkManagerAPList.c
10606 * src/nm-device-802-11-wireless.c
10607 * src/NetworkManagerAP.c:
10608 - Store last seen as glong instead of GTimeVal.
10609 - Fix the upper bound of capabilities, it's a bitfield.
10611 2007-03-16 Tambet Ingo <tambet@ximian.com>
10613 * libnm-glib/nm-device.c (nm_device_get_description): Implement.
10615 * libnm-glib/nm-client.c (nm_client_manager_is_running): Implement. Also add a
10616 "manager-running" signal that notifies the appearance/disappearance of NM.
10617 (nm_client_sleep): Implement.
10619 * libnm-glib/nm-device.c:
10620 * libnm-glib/nm-device-802-11-wireless.c:
10621 * libnm-glib/nm-device-802-3-ethernet.c:
10623 Don't inherit from DBusGProxy, add a proxy to private
10624 data. The reason is, classes inherited from NMDevice wouldn't get any dbus signals
10625 for anything but their own dbus interface. DBusGProxy objects support only one
10626 interfaces and to work around this, NMDevice has spearate proxy for each dbus
10627 interface. The nice side effect of this change is that we do not create a new
10628 DBusGProxy object for each property access.
10630 2007-03-15 Tambet Ingo <tambet@ximian.com>
10632 * src/nm-device-802-11-wireless.c (constructor): Initialize the iw_ext structures
10633 with zeroes before passing them to functions - the functions never do that and
10634 reading the values back may produce wrong values.
10635 (real_bring_up): Store the signal handler id ...
10636 (real_bring_down): ... So that it can be removed here.
10637 Disconnect the supplicant interface here as well.
10638 (nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): Use the dbus object path
10639 from the access point instead of old $device/Networks/$essid.
10641 * src/nm-manager.c (nm_manager_get_state): Return NM_STATE_CONNECTED when the
10642 device state is connected (instead of just having link/carrier).
10644 * src/nm-activation-request.c: Don't store NMData in activation request, it's
10645 already easily accessible through the device.
10647 * src/NetworkManagerAP.c (nm_ap_init): Construct the dbus object path here and
10648 store it within the object.
10649 (nm_ap_get_dbus_path): Export it to public as well.
10651 * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get): Keep the ownership
10654 2007-03-12 Dan Williams <dcbw@redhat.com>
10656 Get rid of 2 second poll of sysfs 'carrier' file for wired devices. Useless
10657 for non-carrier-detect capable devices, and useless for carrier-detect
10658 devices since we get notifications from netlink about carrier status anyway.
10660 * src/nm-device-802-3-ethernet.c
10661 - remove 'link_source_id' member from private data
10662 - (probe_link): remove and collapse into real_update_link()
10663 - (nm_device_802_3_periodic_update): remove
10664 - (real_is_up): check for sup_iface rather than link_source_id
10665 - (real_bring_up): return gboolean for success/fail; require that
10666 sup_iface be valid for device bringup to succeed
10667 - (real_bring_down): zero out link signal ids
10670 - (nm_device_activate_stage2_device_config): fail activation if device
10672 - (real_act_stage4_get_ip4_config): fail activation if device bringup
10674 - (nm_device_bring_up): return success/fail
10677 - bring_up now returns success/fail
10679 * src/nm-device-802-11-wireless.c
10680 - (real_bring_up): return success from bringup
10682 2007-03-07 Dan Williams <dcbw@redhat.com>
10684 Patch from Simon Geard <delgarde@ihug.co.nz> (Gnome.org #394956)
10685 * src/nm-ap-security-wpa-psk.c
10686 - (real_write_supplicant_config): work with PSKs that may contain
10687 zeros in the binary format rather than treating it as a string
10689 2007-03-02 Tambet Ingo <tambet@ximian.com>
10691 * libnm-glib/nm-device-802-11-wireless.c
10692 (nm_device_802_11_wireless_get_capabilities): Implement.
10694 * libnm-glib/nm-device.c (nm_device_get_capabilities): Implement.
10696 * src/nm-device-802-11-wireless.c: Add "WirelessCapabilities" property.
10698 * src/named-manager/nm-named-manager.c (remove_one_zone_from_named): Unref the
10699 reply only if it's not NULL. Not sure why this started happening right now.
10701 * src/nm-manager.c (device_stop_and_free): Remove. No need to have different
10702 code paths for when devices get removed on shutdown or when a device is just
10704 (finalize): Don't use a g_slist_foreach() when removing devices, the list data
10705 gets freed so any signal from a device (disconnected for instance) would invoke
10706 NMState update which would crash.
10707 (nm_manager_remove_device): Bring the device down when it gets removed.
10709 * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Remove
10710 the unused dev_type.
10712 * src/nm-hal-manager.c (create_device_and_add_to_list): Don't keep the
10713 reference to the added device, NMManager will own it (if it wants).
10715 * test/nm-tool.c: Rewrite using libnm-glib.
10717 * libnm-glib/nm-device-802-11-wireless.c: Cache networks (bssids) list.
10718 We get signalled when it changes.
10720 * libnm-glib/nm-client.c: Cache NMState and device list, we get signalled
10723 * libnm-glib/nm-device.c: Cache the device state property.
10725 * libnm-glib/nm-access-point.c: Cache the strength property.
10727 * src/nm-device-802-11-wireless.c: Fix wireless device scanning scheduler.
10728 The new algorithm is to start from SCAN_INTERVAL_MIN (currently defined as 0)
10729 and add a SCAN_INTERVAL_STEP (currently 20 seconds) with each successful scan
10730 until SCAN_INTERVAL_MAX (currently 120 seconds) is reached. Do not scan while
10731 the device is down, activating, or activated (in case of A/B/G cards).
10732 Remove some old dead ifdef'ed out code that used to configure wireless devices,
10733 it's all done through supplicant now.
10735 * src/supplicant-manager/nm-supplicant-interface.c: Fix the reference
10736 counting issues with pending calls which caused leaks and crashes when
10737 interface was removed (now that the interface actually gets removed).
10739 * src/nm-call-store.c: Make a copy of data before running a foreach
10740 with user callback on it - The most common usage pattern is to cancel
10741 (and thus remove) all pending calls with foreach which would modify
10742 the hash table we're iterating over.
10744 * src/nm-manager.c: When a device is added, make sure it is "up". When
10745 it's removed or disabled due to disabling wireless or networking, bring
10748 * include/NetworkManager.h: Add new device state NM_DEVICE_STATE_DOWN.
10750 * src/nm-device-802-11-wireless.c:
10751 * src/nm-device-802-3-ethernet.c:
10753 - Remove "init" virtual function, all gobjects have a place for that
10754 already (constructor).
10755 - Replace "start" virtual function with "bring_up", devices can be
10756 brought up and down more than just on startup now.
10757 - Add "is_up" virtual function.
10758 - Implement one way to bring a device down instead of previous 4 different
10759 ways, each of witch did something different.
10761 * src/NetworkManagerUtils.c (nm_dev_sock_open): This doesn't need an NMDevice,
10762 all it needs is the device interface.
10764 Get rid of NMData.dev_list (3 members to go).
10765 Get rif of NMData in a lot of places.
10767 * gnome/libnm_glib/libnm_glib.c: Make it compile again.
10769 2007-02-23 Dan Williams <dcbw@redhat.com>
10771 Patch from Andy Whitcroft <apw@shadowen.org> (Gnome.org #410426)
10773 * src/NetworkManagerAP.c
10774 - (add_capabilities_from_cipher): fix addition of WEP capabilities by
10775 OR-ing rather than AND-ing
10777 2007-02-20 Tambet Ingo <tambet@ximian.com>
10779 * libnm-glib/nm-device-802-11-wireless.c: Add "network-added" and
10780 "network-removed" signals.
10782 * libnm-glib/libnm-glib.pc.in: Require NetworkManager >= 0.7.0.
10784 * libnm-glib/nm-access-point.c: Add "strength-changed" signal, emit it
10785 when receiving the signal from dbus.
10787 * src/nm-device-802-11-wireless.c (get_property): Fix PROP_ACTIVE_NETWORK
10790 * src/NetworkManagerPolicy.c (state_changed): Fix a typo to make the
10791 deactivation of the previously activated device working again.
10793 * src/nm-activation-request.c: Remove NMActStage property and it's getter
10796 * src/nm-device.c (nm_device_is_activated): Remove.
10797 state == NM_DEVICE_STATE_ACTIVATED is just as easy to use.
10799 * include/NetworkManager.h: Remove NM_DBUS_NO_DEVICES_ERROR,
10800 NM_DBUS_NO_DIALUP_ERROR, NM_DBUS_NO_NETWORKS_ERROR,
10801 NM_DBUS_NO_ACTIVE_DEVICE_ERROR, NM_DBUS_NO_ACTIVE_NET_ERROR errors and
10802 NM_DBUS_SIGNAL_STATE_CHANGE signal.
10803 Remove NMNetworkStatus and NMActStage enums.
10805 2007-02-19 Tambet Ingo <tambet@ximian.com>
10807 * src/vpn-manager/nm-vpn-manager.c: Handle the DBUS state changes itself.
10808 Handle device state changes and disconnect VPN if it's device deactivates.
10810 * src/nm-dbus-nm.c:
10811 * src/nm-dbus-nm.h:
10812 * src/nm-dbus-device.c:
10813 * src/nm-dbus-device.c:
10814 * src/nm-dbus-net.c:
10815 * src/nm-dbus-net.h: Remove. All of it is implemented byt the new dbus API.
10817 * src/NetworkManagerMain.h: Get rid of all but 3 properties of NMData.
10819 * src/nm-device.c (nm_device_get_by_udi):
10820 (nm_device_get_by_iface): Remove. This doesn't belong here and is already
10821 implemented in the correct location (NMManager).
10822 Rip out all the test_device stuff.
10824 * src/NetworkManagerPolicy.c: Remove the leftover activation success and
10825 failure handlers, it's all done by NMDevice already.
10827 * src/NetworkManager.c: Move the signal handling here from nm-logging.c
10828 Remove the iochannel hack to route the unix signals to the main thread since
10829 we're not threaded anymore.
10831 * src/NetworkManagerAP.c: Implement HWAddress property.
10833 * src/NetworkManagerDbus.c: Remove the dbus signal sending code, it happens
10834 automatically with dbus-glib.
10836 * src/nm-netlink-monitor.c:
10837 * src/nm-netlink-monitor.h:
10838 - Move it low in the class hierarchy, don't reference any NM types.
10839 - Remove private data from the header.
10840 - Use type safe checks in public API methods.
10841 - Make it a singleton so we don't have to pass the single reference around.
10843 2007-02-16 Tambet Ingo <tambet@ximian.com>
10845 * introspection/nm-ip4-config.xml: Implement.
10847 * libnm-glib/libnm-glib-test.c: Use new DBUS API in tests.
10849 * libnm-glib/nm-ip4-config.c:
10850 * libnm-glib/nm-ip4-config.c: Implement.
10852 * src/nm-ap-security[-*]: Remove circular dependencies between APs and AP
10853 securities. APs reference security.
10855 * src/nm-device-802-11-wireless.c: Implement missing properties that need to
10856 be exported over DBUS.
10858 * src/nm-device-802-3-ethernet.c: Ditto.
10860 * src/NetworkManagerAP.c:
10861 * src/NetworkManagerAP.h:
10862 - Convert to GObject, export over DBUS.
10864 * src/nm-ip4-config.h:
10865 * src/nm-ip4-config.h:
10866 - Convert to GObject, export over DBUS.
10868 2007-02-12 Dan Williams <dcbw@redhat.com>
10870 Patch from Helmut Schaa <hschaa@suse.de>
10872 * vpn-daemons/pptp/configure.in
10873 vpn-daemons/pptp/Makefile.am
10874 vpn-daemons/openvpn/configure.in
10875 vpn-daemons/openvpn/Makefile.am
10876 vpn-daemons/vpnc/configure.in
10877 vpn-daemons/vpnc/Makefile.am
10878 - Add --without-gnome switch which disables building gnome bits
10880 2007-02-12 Tambet Ingo <tambet@ximian.com>
10882 * libnm-glib/nm-device.c (nm_device_get_use_dhcp): Remove.
10884 * libnm-glib/nm-access-point.c (nm_access_point_is_broadcast): Remove.
10886 * introspection/nm-device-802-3-ethernet.xml: Rename 'Address' property to
10889 * introspection/nm-device.xml: Remove 'UseDhcp' property.
10891 * introspection/nm-access-point.xml: Remove 'Broadcast' property.
10893 Totally break NetworkManager. Please use 0.6 branch until futher notice.
10896 - Remove old low-level dbus interface implementations and replace them
10897 with dbus-glib one.
10900 - Require dbus-glib >= 0.72.
10901 - Plug in new sources to build.
10904 - Implement GObject wrappers on top of DBUS glib auto-generated bindings
10905 to make it more convenient to use from GObject based programs.
10908 - Implement DBUS XML introspection files, used by both NM and libnm-glib.
10910 2007-02-09 Tambet Ingo <tambet@ximian.com>
10912 * src/nm-device-802-11-wireless.c:
10913 - Add "network-added" and "network-removed" signals.
10914 - Use gobject boilerplate macros to define the GObject.
10915 - Implement wireless device activation.
10916 - Remove activation_failure_handler and activation_success_handler
10917 and instead listen on state-changed signals and run the same code
10921 - Implment NMDeviceInterface::deactivate.
10922 - Remove activation_failure_handler and activation_success_handler
10923 virtual methods. Each device which is interested in these events
10924 can just listen on it's state changed signals.
10926 * src/NetworkManagerPolicy.c:
10927 - Move a bit more NMData usage to NMManager.
10928 - Remove activation scheduling bits.
10929 - Add listeners for wireless device's "network-added" and
10930 "network-removed" signals.
10931 - Listen device changed signals and deactivate currently activated
10932 device when another device start activating (for now).
10933 - Remove (nm_policy_schedule_device_change_check): There's never a need
10934 for calling this, the policy code knows exactly when this should happen,
10935 by listening on events from NMManager and NMDevices.
10937 * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_activate):
10940 * src/nm-dbus-nm.c (nm_dbus_nm_set_active_device): Call the activation
10941 method on the specific device instead of going to through policy code
10942 and determining the device type by passed in AP's existance.
10944 * src/nm-device-interface.c (nm_device_interface_deactivate): Implement the
10945 abstract NMDevice deactivation.
10947 2007-02-08 Tambet Ingo <tambet@ximian.com>
10949 * src/NetworkManager.c:
10950 - Set up all the shiny new managers.
10952 * src/NetworkManagerPolicy.c:
10953 - Add the beginnings of new NMPolicy code. Instead of requireing all
10954 classes to call into policy code, make the policy code kind of like
10955 a supervisor that monitors what's going on and drives the whole NM.
10957 * src/nm-hal-manager.c:
10958 * src/nm-hal-manager.h:
10959 - Collect all libhal code scattered around NM to this one class.
10960 - Listen libhal and NMManager events and add/remove devices to
10963 * src/nm-manager.c:
10964 * src/nm-manager.h:
10965 - Implment a replacement for NMData. NMData is now officially
10968 2007-02-05 Tambet Ingo <tambet@ximian.com>
10970 * src/nm-device-802-11-wireless.c (supplicant_iface_scan_result_cb):
10971 * src/supplicant-manager/nm-supplicant-interface.h
10972 * src/supplicant-manager/nm-supplicant-interface.c
10973 (nm_supplicant_interface_class_init): Change the "scan-result" signal's
10974 argument to boolean from enum.
10976 Make NMDevice abstract class, remove almost all references to it's
10977 subclasses (the last place gets removed with new policy manager). Add
10978 NMDeviceInterface (which NMDevice implements) so that when we have
10979 NMDevice exported over DBUS, there's a common NMDevice interface which
10980 all instances have, plus there's a device specific interface for each
10982 Remove functions (nm_device_is_802_3_ethernet) and
10983 (nm_device_is_802_11_wireless). There are already standard GObject macros
10984 for type safe checks.
10985 Use the updated supplican manager API.
10987 * src/nm-device-interface.h:
10988 * src/nm-device-interface.c:
10989 * src/nm-call-store.h:
10990 * src/nm-call-store.c: Implement.
10992 * src/supplicant-manager/nm-supplicant-interface.c:
10993 * src/supplicant-manager/nm-supplicant-interface.h:
10994 * src/supplicant-manager/nm-supplicant-manager.c:
10995 * src/supplicant-manager/nm-supplicant-manager.h:
10996 - Remove all private data type references from public header files.
10997 - Remove all references to other NM classes, this class is just a
10998 proxy between wpa_supplicant and NM so it doesn't have to know
11000 - Convert to dbus-glib bindings.
11001 - Type safe checks for public methods' arguments.
11002 - Store pending DBUS call ids to NMCallStore.
11004 * src/supplicant-manager/nm-supplicant-config.c:
11005 - Store config values in a GHashTable instead of GSList.
11007 * src/NetworkManagerMain.h: Remove all references to DHCP manager.
11009 * src/NetworkManager.c: Don't initialize the DHCP manager, it's a
11012 * src/nm-device.c: Use the new DHCP manager API.
11014 * src/nm-activation-request.c:
11015 * src/nm-activation-request.h:
11016 - Remove all dhcp related properties and methods.
11018 * src/dhcp-manager/nm-dhcp-marshal-main.c: Add.
11020 * src/dhcp-manager/nm-dhcp-marshal.list: Add.
11022 * src/dhcp-manager/nm-dhcp-manager.c:
11023 * src/dhcp-manager/nm-dhcp-manager.h:
11024 - Convert it to GObject since we need to signal state changes.
11025 - Remove all references to other NM classes, this class is one
11026 of the lowest classes in our hierarchy.
11027 - One less class to use NMActRequest.
11028 - Make it singleton, one less user of NMData.
11029 - Remove a couple of sleep() calls.
11030 - Convert a bunch of low-level dbus API calls to dbus-glib calls.
11031 One less class to use the NM's custom tailored signal handlig.
11033 * Makefile.am: Generate marshallers, add them to build.
11035 2007-02-02 Dan Williams <dcbw@redhat.com>
11041 - Remove last bits referencing gnome applet
11043 2007-02-02 Dan Williams <dcbw@redhat.com>
11045 * src/vpn-manager/nm-vpn-service.c
11046 - (nm_vpn_service_stage4_ip4_config_get): use uint32 arrays for DNS
11047 and NBNS server addresses
11049 2007-02-02 Tambet Ingo <tambet@ximian.com>
11051 * src/nm-dbus-manager.c:
11052 * src/nm-dbus-manager.h:
11053 - Convert all internal DBUS code to use dbus-glib bindings.
11054 - Remove GObject properties, we don't need them here.
11055 - Don't explicitly set things to NULL after freeing, glib is
11056 happy to do it if asked nicely (G_DEBUG=gc-friendly).
11057 - Make public API argument checks type safe.
11058 - Remove unnecessary (and wrong) cast to GObject for the first
11059 argument to g_signal_* calls - The first argument is a gpointer.
11060 - Export DBusGConnection to other cool classes that (are going to)
11063 2007-01-26 Dan Williams <dcbw@redhat.com>
11065 * libnm-util/dbus-dict-helpers.c
11066 libnm-util/dbus-dict-helpers.h
11067 - Coordinate style with wpa_supplicant version to minimize diff
11068 - Add uint32 array support
11069 - (nmu_dbus_dict_append_uint32_array): new function
11070 - (nmu_dbus_dict_begin_string_array, nmu_dbus_dict_string_array_add_element,
11071 nmu_dbus_dict_end_string_array): bring over from wpa_supplicant
11072 version; allow adding string array elements individually
11074 * test/libnm-util/test-dbus-dict-helpers.c
11075 - Test uint32 arrays
11077 2007-01-27 Jürg Billeter <j@bitron.ch>
11079 * src/backends/NetworkManagerPaldo.c
11080 - (nm_system_update_dns): clear nscd hosts cache
11082 2007-01-04 Dan Williams <dcbw@redhat.com>
11084 Threading removal related cleanups:
11086 - Use the glib default main context. Remove the device main context
11087 member from NMDevice, and the main_context member from NMData. Change
11088 all the idle and timeout scheduler functions to use plain
11089 g_idle_add() and g_timeout_add().
11091 - As a side-effect of the first change, nm_dbus_manager_get() no longer
11092 takes an argument; fix that up too.
11094 - Remove all locking, which is useless since we no longer use threads. For
11095 example, nm_get_device_by_iface_locked() has been removed. The global
11096 device list lock, the AP List lock, and all static locks in
11097 NetworkManagerPolicy.c have been removed. The locking utility functions
11098 in NetworkManagerUtils.c have also been removed.
11100 - Other cleanups in spacing and code style
11102 2007-01-01 Dan Williams <dcbw@redhat.com>
11104 Found by Bill Moss:
11106 * src/supplicant-manager/nm-supplicant-interface.c
11107 - (nm_supplicant_interface_disconnect): fix cleanup logic when
11108 the supplicant interface wasn't already disconnected. Always
11109 call removeNetwork and disconnect unless the supplicant interface
11110 is in the DISCONNECTED or INACTIVE state.
11112 2006-12-28 Dan Williams <dcbw@redhat.com>
11114 Use a single thread for everything. With the move to wpa_supplicant
11115 and communication over D-Bus, there's no reason for multiple threads.
11116 Almost all of the blocking code has been removed, with one exception in
11117 the DHCP manager and a few in the VPN manager. This commit removes the
11118 per-device worker thread and fixes activation cancellation in the absence
11119 of threads. Further removal of thread-related code would be removing
11120 any locking code (like the device list lock) and simplification of logic
11121 around areas of code or data structures that are currently locked.
11124 dhcp-manager/nm-dhcp-manager.c
11125 nm-device-802-11-wireless.c
11126 nm-device-802-3-ethernet.c
11129 - Remove usage of multiple threads
11131 2006-12-19 Dan Williams <dcbw@redhat.com>
11133 Big wpa_supplicant + dbus update; need latest wpa_supplicant from CVS
11134 plus a few other patches from wpa_supplicant bugzilla.
11137 src/NetworkManagerPolicy.c
11138 src/NetworkManagerUtils.c
11139 src/NetworkManagerUtils.h
11140 src/nm-ap-security-leap.c
11141 src/nm-ap-security-wep.c
11142 src/nm-ap-security-wpa-eap.c
11143 src/nm-ap-security-wpa-psk.c
11144 src/nm-ap-security.c
11145 src/nm-ap-security.h
11146 src/nm-device-802-11-wireless.c
11147 src/nm-device-802-11-wireless.h
11148 src/supplicant-manager/nm-supplicant-config.c
11149 src/supplicant-manager/nm-supplicant-config.h
11150 src/supplicant-manager/nm-supplicant-interface.c
11151 src/supplicant-manager/nm-supplicant-interface.h
11152 src/supplicant-manager/nm-supplicant-marshal.list
11153 src/supplicant-manager/nm-supplicant-settings-verify.c
11154 src/supplicant-manager/nm-supplicant-settings-verify.h
11155 - Move all connection management and association handling to
11156 wpa_supplicant over dbus, rather than spawning a private copy
11158 2006-12-19 Dan Williams <dcbw@redhat.com>
11160 * src/NetworkManagerPolicy.c
11161 - (nm_policy_device_change_check, nm_policy_schedule_device_change_check):
11162 better locking of the device change check handler ID. Incorrect
11163 locking was causing lost device change requests
11165 2006-12-18 Dan Williams <dcbw@redhat.com>
11167 * libnm-util/dbus-dict-helpers.c
11168 - (_nmu_dbus_dict_entry_get_array, _nmu_dbus_dict_entry_get_string_array,
11169 _nmu_dbus_dict_entry_get_byte_array): replace usage of
11170 dbus_message_iter_get_array_len() (Gnome.org #382898)
11172 2006-12-18 Dan Williams <dcbw@redhat.com>
11174 * gnome/libnm_glib/libnm_glib.c
11175 - Change dbus_connection_close() -> dbus_connection_unref()
11177 2006-12-11 Dan Williams <dcbw@redhat.com>
11179 * src/supplicant-manager/nm-supplicant-interface.c
11180 - (iface_state_cb, wpas_iface_get_state): new functions; query initial
11181 wpa_supplicant interface state
11182 - (nm_supplicant_interface_add_cb): query initial wpa_supplicant interface
11183 state before transitioning to READY state
11185 2006-12-04 Dan Williams <dcbw@redhat.com>
11187 * src/nm-device-802-11-wireless.c
11188 - (supplicant_iface_scanned_ap_cb): fix parsing of hidden APs due to
11189 odd length of ESSID returned from ieee80211 stack-based drivers
11191 2006-12-04 Dan Williams <dcbw@redhat.com>
11193 * src/nm-device-802-11-wireless.c
11194 - (supplicant_iface_scanned_ap_cb): remove erroneous & from WPA & RSN
11195 IE handling blocks that cause mis-parsing of the IE
11197 2006-12-04 Dan Williams <dcbw@redhat.com>
11199 * src/nm-device-802-11-wireless.c
11200 - (init_supplicant_interface): new function; pull supplicant interface
11201 setup code out into standalone function since it must be called from
11202 two different places
11203 - (real_init): sup_mgr is now in private object data; get and track
11204 the supplicant manager object over the NMDevice subclass' lifetime
11205 and register a signal handler for its state signals; only try to
11206 initialize the supplicant interface if the supplicant manager is in
11207 the IDLE state (and therefore is ready for requests)
11208 - (request_wireless_scan): reschedule the scan request if (a) there is
11209 no supplicant interface yet (meaning wpa_supplicant isn't running
11210 or isn't ready yet), or (b) if the supplicant interface isn't ready
11212 - (supplicant_iface_connection_state_cb): new function; stub for
11213 handling supplicant interface connection state signals
11214 - (supplicant_mgr_state_cb): do the right thing when wpa_supplicant
11216 - (nm_device_802_11_wireless_dispose): clean up spacing; release the
11217 supplicant manager object that's being tracked starting with this
11220 2006-12-04 Dan Williams <dcbw@redhat.com>
11222 * src/supplicant-manager/nm-supplicant-interface.c
11223 - (nm_supplicant_interface_set_property): track signal handler ID
11224 - (nm_supplicant_interface_dispose): remove signal handler on dispose
11226 2006-12-04 Dan Williams <dcbw@redhat.com>
11228 * src/supplicant-manager/nm-supplicant-interface.[ch]
11229 - (nm_supplicant_interface_get_state): new function
11231 2006-12-04 Dan Williams <dcbw@redhat.com>
11233 * src/supplicant-manager/nm-supplicant-interface.c
11234 - (bssid_properties_cb): don't treat DBus errors as valid
11235 scanned AP messages
11237 2006-12-04 Dan Williams <dcbw@redhat.com>
11239 * src/supplicant-manager/nm-supplicant-interface.[ch]
11240 - (nm_supplicant_interface_get_connection_state): new function
11241 - define new supplicant connection states
11242 - send a signal when the supplicant connection state changes
11244 2006-12-03 Dan Williams <dcbw@redhat.com>
11246 * src/supplicant-manager/Makefile.am
11247 src/supplicant-manager/nm-supplicant-connection.h
11248 src/supplicant-manager/nm-supplicant-connection.c
11249 src/supplicant-manager/nm-supplicant-config.h
11250 src/supplicant-manager/nm-supplicant-config.c
11251 src/supplicant-manager/nm-supplicant-types.h
11252 src/supplicant-manager/nm-supplicant-interface.h
11253 src/supplicant-manager/nm-supplicant-interface.c
11254 - Rename NMSupplicantConnection -> NMSupplicantConfig
11256 2006-12-03 Dan Williams <dcbw@redhat.com>
11258 Patch from Gabor Kelemen <kelemeng@gnome.hu> (Gnome.org #381890)
11262 - Move VPN-related translatables to .skip
11264 * vpn-daemons/pptp/po/POTFILES.in
11265 - Update with new translatables
11267 2006-12-02 Dan Williams <dcbw@redhat.com>
11269 Patch from Christian Persch <chpe@gnome.org>
11271 * gnome/applet/Makefile.am
11272 gnome/applet/applet-dbus-devices.c
11273 gnome/applet/applet-notifications.c
11274 gnome/applet/applet.c
11275 gnome/applet/applet.h
11276 gnome/applet/main.c
11277 - Be a GtkStatusIcon on GTK+ >= 2.10
11279 2006-12-02 Dan Williams <dcbw@redhat.com>
11281 * gnome/applet/applet.c
11282 - (nma_update_info): fix two unecessary allocations
11284 2006-12-02 Dan Williams <dcbw@redhat.com>
11286 Patch from Michael Biebl <biebl@teco.edu>
11288 man/NetworkManager.1.in
11289 man/NetworkManagerDispatcher.1.in
11290 man/NetworkManager.8.in
11291 man/NetworkManagerDispatcher.8.in
11292 - Add .SH NAME stanzas
11293 - Move NM & NM Dispatcher manpages to section 8 (admin)
11295 2006-12-02 Dan Williams <dcbw@redhat.com>
11297 Patch from Christian Persch <chpe@gnome.org>
11300 - Check for GTK+ 2.10 in preparation for GtkStatusIcon patch
11302 2006-11-29 Tambet Ingo <tambet@ximian.com>
11304 Patch by Timo Hoenig <thoenig@suse.de>:
11305 * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Make it work with
11308 * src/supplicant-manager/Makefile.am: Add nm-supplicant-marshal here, since
11309 we can't use the one from the main source directory.
11311 2006-11-27 Dan Williams <dcbw@redhat.com>
11313 Patch from Christian Persch <chpe@gnome.org>
11315 * gnome/applet/applet-dbus-devices.c
11316 - (hal_info_product_cb): fix memleak; free duped string.
11319 2006-11-27 Dan Williams <dcbw@redhat.com>
11321 Patch from Christian Persch <chpe@gnome.org>
11323 * gnome/applet/menu-items.c
11324 - (network_menu_item_update): use gtk_progress_bar_set_fraction()
11325 as gtk_progress_set_percentage is deprecated. Should
11326 work as far back as GTK+ 2.4. Gnome.org #379780
11328 2006-11-26 Dan Williams <dcbw@redhat.com>
11330 Scan using wpa_supplicant over DBus.
11332 * src/nm-device-802-11-wireless.c
11333 - remove wireless extensions netlink event handler bits
11334 (wireless_event_helper, nm_device_802_11_wireless_event)
11335 - remove wireless extensions scan event handler bits
11336 (process_scan_results, add_new_ap_to_device_list, hexstr2bin,
11337 hex2byte, hex2num, request_and_convert_scan_results,
11338 free_process_scan_cb_data, scan_results_timeout,
11339 schedule_scan_results_timeout, cancel_scan_results_timeout)
11340 - Rename nm_device_802_11_wireless_scan() -> request_wireless_scan()
11341 and request scans from the supplicant interface rather than directly
11342 - Move functionality of convert_scan_results() to cull_scan_list() and
11343 supplicant_iface_scanned_ap_cb()
11344 - (supplicant_iface_scan_result_cb): new function; schedule a new scan
11345 at the scan interval when the current scan has finished
11346 - (supplicant_iface_state_cb): start scanning when the supplicant
11347 interface enters the READY state, and stop scanning when it
11348 enters the DOWN state
11349 - (cull_scan_list): weed out old access points from the scan list
11350 - (supplicant_iface_scanned_ap_cb): convert a supplicant scanned access
11351 point into an NMAccessPoint and merge it into the device's scan list
11353 * src/supplicant-manager/nm-supplicant-interface.c
11354 src/supplicant-manager/nm-supplicant-interface.h
11355 - Add a new signal "scan-result" which is issued when the supplicant
11356 notifies NM that a scan has completed
11357 - Add a new signal "scanned-ap" that notifies listeners of a new access
11358 point found in the scan. Called once for each access point that
11359 the supplicant interface object receives from the supplicant as a
11360 result of the "scanResults" method call
11361 - (wpas_iface_query_scan_results): don't wait 4s before querying
11362 for the initial scan results
11363 - (scan_request_cb): new function; send listeners the result
11364 (success, error) of a wireless scan request
11365 - (nm_supplicant_interface_request_scan): new function; ask the
11366 supplicant to perform an immediate wireless scan
11368 2006-11-25 Dan Williams <dcbw@redhat.com>
11370 * src/supplicant-manager/Makefile.am
11371 - Since we're including NetworkManagerMain.h in nm-supplicant-interface.c,
11372 add HAL cflags/includes and named-manager includes directory
11374 * src/supplicant-manager/nm-supplicant-interface.h
11375 - New state STARTING to handle transition from INIT to READY where
11376 the addInterface pending call is still outstanding
11378 * src/supplicant-manager/nm-supplicant-interface.c
11379 - track pending calls differently since we may have more than one
11380 going on at any given time
11381 - request scan results from wpa_supplicant; but don't do it more often
11382 than every 4 seconds. Drivers that do background scanning
11383 (like the 'ipw' drivers) send a continuous stream of scan completion
11384 notifications, so we don't want to hammer the supplicant or dbus
11385 with requests for all scan results every time we get a completion
11388 2006-11-25 Dan Williams <dcbw@redhat.com>
11390 * src/supplicant-manager/nm-supplicant-types.h
11391 - new file; move all supplicant manager object typedefs here for
11394 * src/supplicant-manager/nm-supplicant-interface.c
11395 src/supplicant-manager/nm-supplicant-interface.h
11396 - new file; an object that interfaces an NMDevice object to the
11397 supplicant and handles signals from the supplicant. This object
11398 does all necessary DBus communication with wpa_supplicant.
11400 * src/supplicant-manager/nm-supplicant-manager.c
11401 src/supplicant-manager/nm-supplicant-manager.h
11402 - Actually do something. Track the state of the wpa_supplicant service
11403 and deal with its comings & goings. Handle life events of
11404 supplicant interfaces too.
11405 - Move NMSupplicantManager typedef to nm-supplicant-types.h
11407 * src/supplicant-manager/nm-supplicant-connection.h
11408 - Move NMSupplicantConnection typedef to nm-supplicant-types.h
11410 * src/supplicant-manager/Makefile.am
11411 - Add new files to build, and add libnm-util to includes
11413 * src/nm-marshal.list
11414 - New marshaler type: VOID:UINT,UINT
11416 * src/nm-device-802-3-ethernet.c
11417 - (real_init): grab a supplicant interface
11418 - (nm_device_802_3_ethernet_dispose): release the supplicant interface
11419 - (supplicant_iface_state_cb): new function, stub for handling
11420 supplicant interface state changes
11422 * src/nm-device-802-11-wireless.c
11423 - (real_init): grab a supplicant interface
11424 - (nm_device_802_11_wireless_dispose): release the supplicant interface
11425 - (supplicant_iface_state_cb): new function, stub for handling
11426 supplicant interface state changes
11428 * src/NetworkManager.c
11429 - (main): create and keep the supplicant manager around for the lifetime
11433 - Link to the supplicant manager sub-library and use the supplicant
11436 2006-11-25 Dan Williams <dcbw@redhat.com>
11438 Rework DBus manager signal handling to be more flexible. Previously,
11439 only one signal handler could be registered for a particular interface.
11440 The DBus manager now reference counts DBus bus matches and allows multiple
11441 clients to register signal handlers for the same interface and sender.
11443 * src/NetworkManager.c
11444 - (main): track NMI signal handler ID and remove it when we quit
11446 * src/NetworkManagerMain.h
11447 - Keep track of NMI signal handler ID
11449 * src/nm-dbus-manager.c
11450 src/nm-dbus-manager.h
11451 - rework signal handling; each signal handler references one signal
11452 match, but a signal match may be referenced by one or more
11453 signal handlers. Matches are refcounted and are destroyed when the
11454 last signal handler that references the match is removed. This is
11455 necessary because two signal handlers may end up requiring the same
11456 dbus bus match, so the match must live until the last signal handler
11457 is destroyed (for example, with the wpa_supplicant network interface
11460 * src/dhcp-manager/nm-dhcp-manager.c
11461 - (nm_dhcp_manager_new): track DHCP signal handler id
11462 - (nm_dhcp_manager_dispose): remove DHCP signal handler
11464 * src/vpn-manager/nm-vpn-service.c
11465 - (nm_vpn_service_add_watch): track VPN service signal handler id
11466 - (nm_vpn_service_remove_watch): remove VPN service signal handler
11468 2006-11-25 Dan Williams <dcbw@redhat.com>
11470 Suggested by Helmut Schaa <hschaa@suse.de>
11472 * src/vpn-daemons/nm-vpn-service.c
11473 - (supplicant_child_setup): new function
11474 - (supplicant_exec): make child process use a new process group id
11476 * src/nm-device-802-11-wireless.c
11477 - (nm_vpn_service_child_setup): new function
11478 - (nm_vpn_service_stage1_daemon_exec): make child process use a new
11481 2006-11-19 Dan Williams <dcbw@redhat.com>
11483 Patch from Dan Berrange <dan@berrange.com> Gnome.org #377262
11484 * gnome/vpn-properties/nm-vpn-properties.c
11485 - clean up after renamed VPN connection
11487 2006-11-19 Dan Williams <dcbw@redhat.com>
11489 Patch from Dan Berrange <dan@berrange.com> Gnome.org #377205
11490 * gnome/applet/applet-dbus-vpn.c
11491 - (nma_dbus_vpn_properties_cb): sort VPN connections
11493 * gnome/vpn-properties/nm-vpn-properties.c
11494 - (init_app): sort VPN connections
11496 2006-11-09 Dan Williams <dcbw@redhat.com>
11498 * src/NetworkManagerAPList.c
11499 - (nm_ap_list_copy_one_essid_by_address): fix bug due to previous
11500 code cleanup in revision 1.56; the split of the !nm_ap_get_essid()
11501 from the nm_ap_list_get_ap_by_address() call was incorrect and
11502 broke hidden SSID matching. Found by Bill Moss.
11504 2006-10-25 Dan Williams <dcbw@redhat.com>
11507 - (nm_dbus_nm_set_active_device): return an empty success message on
11508 success, rather than falling through to the error case.
11510 2006-10-25 Dan Williams <dcbw@redhat.com>
11512 * src/NetworkManagerUtils.c
11513 - (nm_utils_supplicant_request_with_check): suppress messages for the
11516 2006-10-24 Dan Williams <dcbw@redhat.com>
11518 Reduce the number of times the Gnome applet wakes up, especially when
11519 it's doing absolutely nothing and is hidden. Initial patch by
11522 * gnome/applet/applet-dbus.c
11523 - (nma_dbus_filter): when NM isn't around, or when it goes away,
11524 kill the redraw timeout. When NM starts up, start the redraw
11525 timeout. Also, if we get kicked off the bus for some reason,
11526 start the reconnection timeout if one's not already running.
11527 - (nma_dbus_init): better handling of error conditions, don't leak
11528 a half-initialized dbus connection
11529 - (nma_dbus_connection_watcher): consolidate places we reinitialize
11530 the applet's data, just call nm_dbus_init_helper()
11531 - (nma_start_dbus_connection_watch): new function, starts a periodic
11532 timeout that calls nma_dbus_connection_watcher()
11533 - (nma_dbus_init_helper): if we get a successful connection, kill the
11534 reconnection timeout, and don't start the reconnection timeout
11535 unconditionally anymore
11537 * gnome/applet/applet-dbus.h
11538 - Expose nma_start_dbus_connection_watch()
11540 * gnome/applet/applet.c
11541 - (nma_update_state): no longer static, called from applet-dbus.c for
11542 immediate UI updates on certain events
11543 - (nma_set_running): new function; take over setting applet->running,
11544 when not running (ie, NM is not active), don't activate the redraw
11545 timeout because we're not showing the applet anyway. When we are
11546 running (ie, NM is active), and only when we're running, start the
11548 - (nma_destroy): kill the redraw timeout by setting 'not running', and
11549 kill any reconnection timeout
11550 - (nma_get_instance): move one-off dbus initialization code here since
11551 nm_dbus_init_helper() gets called more than once, possibly by the
11552 reconnection timeout function too. And, when we start up, if we
11553 can't get a connection to the bus, start the reconnection timeout.
11554 But don't start the redraw timeout yet, only do that when we get
11555 NM's state and find out if it's running or not.
11557 * gnome/applet/applet.h
11558 - Add the reconnection GSource ID
11559 - Add prototypes for nma_set_running() and the no-longer-static
11562 2006-10-24 Dan Williams <dcbw@redhat.com>
11564 * src/vpn-daemons/nm-dbus-vpnc.c
11565 - (nm_dbus_vpn_update_one_connection_cb): unregister pending call in
11566 pending call tracker
11567 - (nm_dbus_vpn_connections_update_cb): unregister pending call in
11568 pending call tracker; register one-vpn-connection update pending
11569 call in pending call tracker
11570 - (nm_dbus_vpn_update_one_vpn_connection): register one-vpn-connection
11571 update pending call in pending call tracker
11572 - (nm_dbus_vpn_connections_update_from_nmi): register vpn-connections
11573 update pending call in pending call tracker; don't block waiting
11576 2006-10-19 Robert Love <rml@novell.com>
11578 * src/backends/NetworkManagerSuSE.c: Don't ever restart nscd; just
11581 2006-10-14 Dan Williams <dcbw@redhat.com>
11583 * src/dhcp-manager/nm-dhcp-manager.c
11584 - (get_ip4_string, get_ip4_uint32s): have the caller pass
11585 the dbus connection and the device object path rather than
11586 constructing it inside both functions. Saves a bit of memory
11587 and clarifies a failure path.
11588 - (nm_dhcp_manager_get_ip4_config): grab the dbus connection
11589 and allocate device path here rather than each of the two
11592 2006-10-13 Dan Williams <dcbw@redhat.com>
11594 * src/NetworkManager.c
11595 - (nm_name_owner_changed_handler): handle NMI coming and going,
11596 this somehow droppout in the refactor
11598 2006-10-13 Dan Williams <dcbw@redhat.com>
11600 * Huge DBus refactor:
11601 - Create a "DBus Manager" object which manages the connection and
11602 sends signals on NameOwnerChanged and connection/disconnection events,
11603 handles reconnection to the bus if NM gets kicked off, and abstracts
11605 - Remove DBusConnection members from places where they are no
11606 longer needed due to the refactor, like the dbus-connection
11607 property of the named manager, and from NMData
11608 - Reformats a bunch of the code to gnome style
11609 (8-space tabs, braces on same line as statement, 80-col width).
11610 Consider it open season to reformat any bits to gnome style.
11611 style that aren't already.
11613 2006-10-13 Dan Williams <dcbw@redhat.com>
11615 * src/supplicant-manager/Makefile.am
11618 * src/supplicant-manager/nm-supplicant-manager.[ch]:
11619 - Make it a minimal GObject
11621 * src/supplicant-manager/nm-supplicant-settings-verify.[ch]:
11622 - Verify settings destined for wpa_supplicant
11624 * src/supplicant-manager/nm-supplicant-connection.[ch]:
11625 - Minimal GObject to track wpa_supplicant controlled device
11628 2006-10-13 Wouter Bolsterlee <wbolster@gnome.org>
11630 * gnome/applet/applet.c: (nma_update_info),
11631 (nma_act_stage_to_pixbuf), (nma_update_state):
11632 Mark missing strings for translation. Fixes bug #343306.
11634 2006-10-01 Dan Williams <dcbw@redhat.com>
11636 * src/vpn-manager/nm-vpn-manager.c
11637 - (nm_vpn_manager_load_services): split and clean up
11638 for readability and correctness. Restrict VPN service
11639 files to ending in ".name", as was meant from the
11640 beginning (but not coded in). Better error reporting.
11642 2006-10-01 Dan Williams <dcbw@redhat.com>
11645 - Clean up formatting of debug/info/warning log messages
11647 2006-09-27 Robert Love <rml@novell.com>
11649 Patch by Tambet Ingo <tambet@ximian.com>:
11650 * gnome/vpn-properties/nm-vpn-properties.c: Make Renaming a VPN entry
11653 2006-09-07 Dan Williams <dcbw@redhat.com>
11656 test/libnm-util/Makefile.am
11657 test/nm-supplicant-test.c
11658 - Add test program emulating the way NM drives wpa_supplicant
11659 to help debug supplicant issues
11661 2006-08-24 Dan Williams <dcbw@redhat.com>
11665 src/supplicant-manager/Makefile.am
11666 src/supplicant-manager/nm-supplicant-manager.c
11667 src/supplicant-manager/nm-supplicant-manager.h
11668 - Add skeleton bits of the wpa_supplicant manager
11670 2006-08-24 Dan Williams <dcbw@redhat.com>
11672 Patch from Ed Catmur:
11673 * src/NetworkManagerUtils.c
11674 - (nm_utils_ip4_netmask_to_prefix): don't infinitely loop
11675 if netmask is 0 (Gnome #352634)
11677 2006-08-17 Robert Love <rml@novell.com>
11679 * src/backends/NetworkManagerSuSE.c: Do not restart ypbind; our ypbind
11680 package is now DBUS-enabled and listens for the NM signals.
11682 2006-08-14 Dan Williams <dcbw@redhat.com>
11684 * Patch from Christian Persch <chpe gnome org>
11687 vpn-daemons/openvpn/po/LINGUAS
11688 vpn-daemons/openvpn/configure.in
11689 vpn-daemons/pptp/po/LINGUAS
11690 vpn-daemons/pptp/configure.in
11691 vpn-daemons/vpnc/po/LINGUAS
11692 vpn-daemons/vpnc/configure.in
11693 - Convert to LINGUAS method so translators don't have to modify
11694 configure.in, just stuff in po/. Gnome #343132, requires intltool
11697 2006-08-14 Dan Williams <dcbw@redhat.com>
11699 Patch from Alex Smith <alex.extreme2@gmail.com>
11701 src/backends/Makefile.am
11702 src/backends/NetworkManagerFrugalware.c
11703 - Add support for Frugalware
11705 2006-08-13 Dan Williams <dcbw@redhat.com>
11707 Patch from Valentine Sinitsyn <e_val@inbox.ru>
11708 * src/nm-device-802-11-wireless.c
11709 - (supplicant_exec): spawn wpa_supplicant without debug spew
11712 2006-08-13 Dan Williams <dcbw@redhat.com>
11714 Patch from Valentine Sinitsyn <e_val@inbox.ru>
11715 * src/nm-ap-security.c
11716 src/nm-ap-security.h
11717 - Add authentication_required bits for subclasses to specify whether
11718 or not real authentication is required for connections, i.e. whether
11719 the AP rejects us when an encryption key is wrong or not.
11721 * src/nm-ap-security-wep.c
11722 src/nm-ap-security-wpa-eap.c
11723 src/nm-ap-security-wpa-psk.c
11724 src/nm-ap-security-leap.c
11725 - Implement authentication_required appropriately for each method
11727 * src/nm-device-802-11-wireless.c
11728 - Be smarter about when to request a key; for example, using a wrong key
11729 in WEP shared key mode previously just timed out and did not request
11732 2006-08-13 Dan Williams <dcbw@redhat.com>
11734 * gnome/libnm_glib/libnm_glib.c
11735 - dbus_connection_disconnect() -> dbus_connection_close() for
11738 2006-08-07 Dan Williams <dcbw@redhat.com>
11740 Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
11741 * src/NetworkManagerSystem.c
11742 - Respect specified MTU. Gnome #344967
11744 2006-08-07 Dan Williams <dcbw@redhat.com>
11746 * src/vpn-manager/nm-vpn-service.c
11747 - Simplify print_vpn_config() arguments
11749 Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
11750 * src/vpn-manager/Makefile.am
11751 src/vpn-manager/nm-vpn-service.c
11752 - Add new API for passing VPN config options as a dict. Gnome #344967
11754 2006-08-06 Dan Williams <dcbw@redhat.com>
11756 * gnome/applet/applet-dbus-devices.c
11757 gnome/applet/applet-dbus-vpn.c
11758 gnome/applet/applet-dbus.c
11759 gnome/applet/applet-dbus.h
11763 - Make pending call tracking code generic,
11764 so we can use it in NM as well as the applet
11766 2006-08-06 Dan Williams <dcbw@redhat.com>
11768 * src/nm-activation-request.c
11769 - Refcount pending call objects
11771 2006-08-06 Dan Williams <dcbw@redhat.com>
11773 Patch from Christan Chiesa <christanc@gmail.com>
11775 - Tell sha1.c to use bigendian mode on PPC
11777 2006-08-04 Robert Love <rml@novell.com>
11779 Glib Memory Slices!
11780 * configure.in: Require glib 2.10 or later.
11781 * src/NetworkManager.c, src/NetworkManagerAP.c, src/nm-ip4-config.c,
11782 src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
11783 src/NetworkManagerDbusUtils.c, src/nm-dbus-nmi.c, src/wpa.c,
11784 src/nm-device-802-11-wireless.c: Convert applicable g_malloc and
11785 g_new calls to g_slice_new. Likewise for g_free to g_slice_free.
11786 Memory Slices are the greatest thing since bread slices.
11787 * src/NetworkManagerAP.c: Also, fix memory leak.
11789 2006-08-01 Robert Love <rml@novell.com>
11791 * gnome/applet/main.c: Shutdown all VPN connections on logout.
11793 2006-07-31 Robert Love <rml@novell.com>
11795 * src/backends/interface_parser.c: Declarations must begin the block.
11797 2006-07-24 Dan Williams <dcbw@redhat.com>
11799 Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
11800 * src/backends/Makefile.am
11801 src/backends/NetworkManagerArch.c
11802 src/backends/NetworkManagerDebian.c
11803 src/backends/NetworkManagerGeneric.c
11804 src/backends/NetworkManagerGeneric.h
11805 src/backends/NetworkManagerGentoo.c
11806 src/backends/NetworkManagerPaldo.c
11807 src/backends/NetworkManagerRedHat.c
11808 src/backends/NetworkManagerSlackware.c
11809 src/backends/NetworkManagerSuSE.c
11810 - Genericize common backend functions
11812 2006-07-18 Robert Love <rml@novell.com>
11814 * configure.in: Add "--with-notify" option to allow disabling of
11817 2006-07-13 Dan Williams <dcbw@redhat.com>
11819 Patch from Thiago Bauermann <thiago.bauermann@gmail.com>
11820 * gnome/applet/applet.glade
11821 gnome/applet/Makefile.am
11822 gnome/applet/nm-gconf-wso.c
11823 gnome/applet/nm-gconf-wso-leap.c
11824 gnome/applet/nm-gconf-wso-leap.h
11825 gnome/applet/wireless-security-manager.c
11826 gnome/applet/wso-leap.c
11827 gnome/applet/wso-leap.h
11828 include/NetworkManager.h
11829 libnm-util/dbus-helpers.c
11830 libnm-util/dbus-helpers.h
11832 src/NetworkManagerAP.c
11833 src/nm-ap-security.c
11834 src/nm-ap-security-leap.c
11835 src/nm-ap-security-leap.h
11836 - Add LEAP authentication support
11838 2006-07-13 Dan Williams <dcbw@redhat.com>
11840 Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
11842 src/backends/NetworkManagerArch.c
11843 src/backends/NetworkManagerDebian.c
11844 src/backends/NetworkManagerGentoo.c
11845 src/backends/NetworkManagerPaldo.c
11846 src/backends/NetworkManagerRedHat.c
11847 src/backends/NetworkManagerSlackware.c
11848 src/backends/NetworkManagerSuSE.c
11849 - Convert hardcoding of 'ip' path to configure-time
11852 2006-07-12 Leonid Kanter <leon@asplinux.ru>
11854 * configure.in: added ru to ALL_LINGUAS
11856 2006-07-10 Dan Williams <dcbw@redhat.com>
11858 Patch from Valentine Sinitsyn <e_val@inbox.ru>
11860 - (real_act_stage3_ip_config_start): don't infinite loop when
11861 dhcdbd isn't running (Gnome #346845)
11863 2006-07-09 Dan Williams <dcbw@redhat.com>
11865 * gnome/applet/applet.c
11866 - (nma_destroy): don't pass NULL to notify_notification_close
11869 2006-07-09 Dan Williams <dcbw@redhat.com>
11871 * gnome/applet/applet.c
11872 - (nma_about_cb): remove empty documenters tab (Gnome #341324)
11874 2006-07-04 Tor Krill <tor@krill.nu>
11876 Patch from Valentine Sinitsyn <e_val@inbox.ru>
11877 * src/backends/NetworkManagerArch.c: (nm_system_update_dns),
11878 (nm_system_restart_mdns_responder), (ArchReadConfig),
11879 (nm_system_device_get_system_config):
11880 - Explicitly check for DHCP configuration
11881 - Check if daemons are running before starting them
11883 2006-06-25 Dan Williams <dcbw@redhat.com>
11885 * libnm-util/dbus-dict-helpers.[ch]
11886 test/libnm-util/test-dbus-dict-helpers.c
11887 - Add string array support
11889 2006-06-24 Dan Williams <dcbw@redhat.com>
11891 * src/dhcp-manager/nm-dhcp-manager.c
11892 - (nm_dhcp_manager_process_signal): clean up spacing
11894 2006-06-21 Dan Williams <dcbw@redhat.com>
11896 * src/nm-dbus-device.c
11897 - (nm_dbus_device_get_driver): don't try to stuff a NULL
11900 2006-06-21 Raivis Dejus <orvils@gmail.com>
11902 * configure.in: Added 'lv' to ALL_LINGUAS
11904 2006-06-19 Dan Williams <dcbw@redhat.com>
11906 * src/NetworkManagerAP.c
11907 - Clarify usage of user_created
11909 * src/nm-ap-security-wep.c
11910 src/nm-ap-security-wpa-eap.c
11911 src/nm-ap-security-wpa-psk.c
11912 src/nm-ap-security.c
11913 src/nm-ap-security.h
11914 - s/user_created/adhoc, because we really do mean adhoc
11916 Patch from Bernard Blackham <bernard@blackham.com.au>
11917 * src/nm-device-802-11-wireless.c
11918 - (supplicant_send_network_config): instead of user_created,
11919 use adhoc, and do AP_SCAN 2 for adhoc networks
11921 2006-06-18 Robert Love <rml@novell.com>
11923 * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the Gconf keys unless
11924 we have a value to set. Gconf generates a warning if `val' is NULL.
11925 * src/nm-ap-security-wpa-eap.c: Don't set the key for an Enterprise AP
11926 unless we actually received a valid private key file passphrase or
11927 password. Otherwise, we don't know to later ask the applet to pull
11928 the key from the keyring.
11930 2006-06-17 Dan Williams <dcbw@redhat.com>
11932 * libnm-util/dbus-dict-helpers.[ch]
11933 test/libnm-util/test-dbus-dict-helpers.c
11934 - Fixes for zero-length byte arrays
11935 - Replace return values of 0 with FALSE for clarity
11936 - Test zero-length byte arrays
11938 2006-06-17 Dan Williams <dcbw@redhat.com>
11940 * libnm-util/dbus-dict-helpers.[ch]
11941 test/libnm-util/test-dbus-dict-helpers.c
11942 - Add helpers for byte arrays
11943 - Rework bits of the testcase
11945 2006-06-16 Dan Williams <dcbw@redhat.com>
11947 * libnm-util/Makefile.am
11948 * libnm-util/dbus-dict-helpers.[ch]
11949 - Add some helpers to take the pain out of using dict types in
11952 * test/libnm-util/Makefile.am
11953 * test/libnm-util/test-dbus-dict-helpers.c
11954 - Test cases for the dict helper functions
11956 2006-06-15 Robert Love <rml@novell.com>
11958 * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the key unless there
11959 is a non-empty key to set. Elsewhere, pass an empty string via DBUS
11960 if there is no key to pass.
11961 * libnm-util/dbus-helpers.c: Given the above, we can trust always
11962 receiving a non-NULL key.
11964 2006-06-14 Robert Love <rml@novell.com>
11966 * src/nm-ap-security-wpa-eap.c: In real_copy_constructor(), actually
11970 2006-06-14 Dan Williams <dcbw@redhat.com>
11972 Patch from Lorenzo Colitti <lorenzo@colitti.com> gnome.org #344825
11973 * src/nm-device-802-11-wireless.c
11974 - (nm_device_802_11_wireless_set_essid): only wait for orinoco cards
11975 or ones where the driver is unknown
11976 - (supplicant_exec): don't wait for supplicant startup here
11977 - (supplicant_interface_init): finer grained polling for supplicant
11980 2006-06-13 Robert Love <rml@novell.com>
11982 * gnome/applet/applet-dbus-info.c: Don't set the fallback bit to FALSE
11983 if it is currently set to TRUE. Otherwise, we will reset the value
11984 when we connect normally.
11985 * src/nm-device-802-11-wireless.c: For the roaming code, make sure that
11986 the old BSSID is valid, too. The recently added ESSID check may not be
11987 sufficient (we can remove it?). What we really want to catch is the
11988 case of going from all-zeros to the BSSID of some other network, which
11989 happens on failure.
11991 2006-06-09 Dan Williams <dcbw@redhat.com>
11993 * src/NetworkManagerSystem.[ch]
11994 - (nm_system_device_set_up_down_with_iface): remove 'dev' argument,
11995 it was unused and pointless
11996 - (nm_system_vpn_device_set_from_iface, nm_system_device_set_up_down):
11997 fix for set_up_down_with_iface change
11999 * src/vpn-manager/nm-vpn-connection.c
12000 - (nm_vpn_connection_deactivate): fix for set_up_down_with_iface change
12002 * src/backends/NetworkManagerPaldo.c
12003 src/backends/NetworkManagerRedHat.c
12004 src/backends/NetworkManagerSuSE.c
12005 src/backends/NetworkManagerArch.c
12006 src/backends/NetworkManagerDebian.c
12007 src/backends/NetworkManagerGentoo.c
12008 - (nm_system_enable_loopback): use set_up_down_with_iface where
12010 - (nm_system_flush_loopback_routes): use flush_routes_with_iface
12013 2006-06-09 Dan Williams <dcbw@redhat.com>
12015 Patch from Peter Jones:
12016 * src/nm-device-802-11-wireless.c
12017 - (nm_device_802_11_wireless_update_bssid): make sure that the
12018 SSID hasn't changed from what we expect before automatically
12019 updating the saved BSSID from a new AP
12021 2006-06-08 Robert Love <rml@novell.com>
12023 Add 'fallback' support. NetworkManager will attempt to brute-force
12024 connect to networks marked as fallback if there are no better wireless
12025 connections available. This is useful as a method of last resort, to
12026 work around driver problems, and for use with hidden networks.
12027 * gnome/applet/applet-dbus-devices.c,
12028 gnome/applet/applet-dbus-devices.h: Add fallback parameter.
12029 * gnome/applet/applet-dbus-info.c: Retrieve fallback bit from Gconf and
12030 pass it on via DBUS.
12031 * gnome/applet/applet.c: No fallback by default.
12032 * gnome/applet/applet.glade, gnome/applet/other-network-dialog.c:
12033 Update other-network-dialog to add UI checkbox toggling fallback.
12034 * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Remove "trusted"
12035 propery from AP object. Add "fallback" property to AP object.
12036 * src/nm-dbus-nm.c: Grab the fallback parameter via DBUS.
12037 * src/nm-dbus-nmi.c: Grab the fallback parameter via DBUS.
12038 * src/nm-device-802-11-wireless.c: Break out blacklist logic into
12039 separate function. Add get_best_fallback_ap() for returning an AP
12040 on which to attempt fallback.
12041 * src/backends/NetworkManagerSuSE.c: Set stored network as fallback.
12042 * test/nm-set-fallback: New file. Sets a given network as fallback.
12044 2006-06-07 Robert Love <rml@novell.com>
12046 * gnome/applet/gconf-helpers.c: Bug fix: nm_gconf_helper_get_bool()
12047 checked that the return type was GCONF_VALUE_STRING, not the correct
12048 GCONF_VALUE_BOOL, and thus it never worked.
12049 * src/NetworkManagerAPList.c: Before concluding that two networks are
12050 identical based on their BSSID, make sure that the BSSID in question
12051 is actually valid. Specifically, an empty or all zero BSSID does not
12053 * gnome/applet/applet-dbus-info.c, gnome/applet/other-network-dialog.c,
12054 src/nm-dbus-nmi.c, src/nm-device-802-11-wireless.c: White space and
12055 similar invariant clean up.
12057 2006-06-02 Robert Love <rml@novell.com>
12059 * gnome/applet/applet.c: Update copyright years. Add Novell.
12061 2006-05-28 Dan Williams <dcbw@redhat.com>
12063 * gnome/applet/applet.glade
12064 gnome/vpn-properties/nm-vpn-properties.glade
12065 - Set window icons on dialogs (Gnome.org #333420)
12067 2006-05-28 Christian Persch <chpe@cvs.gnome.org>
12069 * gnome/vpn-properties/nm-vpn-properties.glade:
12070 * vpn-daemons/openvpn/properties/nm-openvpn-dialog.glade:
12071 * vpn-daemons/pptp/properties/nm-pptp-dialog.glade:
12072 * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
12073 - Make the VPN properties pages prettier and more HIG
12074 compliant. Gnome Bug #336913.
12076 2006-05-28 Dan Williams <dcbw@redhat.com>
12078 Patch from Christian Persch <chpe@gnome.org>
12079 * gnome/vpn-properties/nm-vpn-properties.c
12080 * gnome/vpn-properties/nm-vpn-properties.glade
12081 - HIG-ification love (Gnome.org #336846)
12083 2006-05-28 Dan Williams <dcbw@redhat.com>
12085 Patch from Christian Persch <chpe@gnome.org>
12087 gnome/vpn-properties/nm-vpn-properties.c
12088 - (main): Fix option parsing. Gnome.org #336847
12090 2006-05-28 Dan Williams <dcbw@redhat.com>
12092 * gnome/vpn-properties/nm-vpn-properties.c
12093 - (find_vpn_ui_by_service_name): protect against NULL service names
12094 - (update_edit_del_sensitivity): protect against NULL service names
12097 2006-05-28 Dan Williams <dcbw@redhat.com>
12099 Patch from Chris Fuller <crf@grandecom.net>:
12100 * src/nm-device-802-11-wireless.c
12101 - (nm_device_802_11_wireless_dispose): add a is_initialized member and
12102 don't dispose of wireless-specific stuff unless it is actually
12103 initialized. Gnome.org #341263
12105 2006-05-28 Dan Williams <dcbw@redhat.com>
12107 * src/NetworkManagerPolicy.c
12108 - (nm_policy_device_change_check): don't switch devices if the "best"
12109 AP is essentially the same as the current activation request, but
12110 the current activation request isn't done activating yet. Fixes
12111 multiple requests for keyring password on startup for Gnome applet.
12114 2006-05-26 Nicolas Trangez <eikke@eikke.com>
12116 * src/NetworkManager.c: use GOptions instead of getopt
12117 * configure.in: bump glib required version to >= 2.6 for GOption
12120 2006-05-25 Robert Love <rml@novell.com>
12122 * src/nm-device.h: Introduce nm_ioctl_info(), which defines to
12123 nm_info() if IOCTL_DEBUG is set and a no-op if not. We can use this
12124 instead of dumping ifdef's throughout the code.
12125 * src/NetworkManagerSystem.c, src/nm-device-802-11-wireless.c,
12126 src/nm-device-802-3-ethernet.c, src/nm-device.c: Remove ifdef's and
12127 use nm_ioctl_info() in lieu.
12129 2006-05-25 Robert Love <rml@novell.com>
12131 Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342400:
12132 * libnm-util/Makefile.am: Only build gnome-keyring-md5.{c,h} if we are
12133 not using gcrypt. Otherwise, we get a linker error.
12135 2006-05-25 Robert Love <rml@novell.com>
12137 Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342398:
12138 * configure.in, gnome/Makefile.am, Makefile.am: Add "--without-gnome"
12139 configure flag to disable building of the GNOME-based applet.
12141 2006-05-25 Robert Love <rml@novell.com>
12143 * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Rename function
12144 parameter from link, because it shadows a global variable with some
12145 older versions of glibc. Yes, glibc is now fixed and, yes, glibc
12146 should never have exported to the entire system a common four letter
12147 word. But we here at NetworkManager are team players. Fixes
12150 2006-05-25 Arangel Angov <ufo@linux.net.mk>
12152 * configure.in: Added mk.po, Macedonian translation.
12154 2006-05-24 Robert Love <rml@novell.com>
12156 * examples/python/systray/eggtrayicon.c, gnome/applet/eggtrayicon.c,
12157 gnome/applet/passphrase-dialog.c, gnome/applet/vpn-password-dialog.c,
12158 src/NetworkManager.c: Include <glib/gi18n.h> and not <libintl.h>.
12160 2006-05-24 Robert Love <rml@novell.com>
12162 * gnome/applet/Makefile.am, gnome/vpn-properties/Makefile.am,
12163 libnm-util/Makefile.am, src/Makefile.am,
12164 vpn-daemons/openvpn/auth-dialog/Makefile.am,
12165 vpn-daemons/openvpn/properties/Makefile.am,
12166 vpn-daemons/pptp/auth-dialog/Makefile.am,
12167 vpn-daemons/pptp/properties/Makefile.am,
12168 vpn-daemons/vpnc/auth-dialog/Makefile.am,
12169 vpn-daemons/vpnc/properties/Makefile.am: Do not override what the
12170 user passed for --datadir, if anything, when setting the GNOME locale
12171 directory. It should be a function of the specified datadir and not
12174 2006-05-24 Robert Love <rml@novell.com>
12176 * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c,
12177 src/NetworkManager.c: Take care to call bindtextdomain with the
12178 location of msgid files.
12179 * src/Makefile.am: Set GNOMELOCALEDIR to the location of GNOME mo
12182 2006-05-22 Robert Love <rml@novell.com>
12184 * src/nm-device-802-11-wireless.c: Don't chain up to the parent's
12185 stage4_timeout on failure unless the wireless network is Ad-Hoc.
12186 99% of the time there is a real problem with wireless, and a
12187 seemingly successful connection via Zeroconf just confuses the user.
12188 And that 1% of the time the network is probably Ad-Hoc, anyhow.
12190 2006-05-22 Robert Love <rml@novell.com>
12192 * src/backends/NetworkManagerSuSE.c: Reload, do not restart, ypbind and
12193 autofs on interface up if NIS is configured. On interface down, do
12196 2006-05-22 Robert Love <rml@novell.com>
12198 * gnome/applet/applet.c: Zero out the icon pointers before we set them,
12199 to avoid calling g_object_unref() on stale pointers on error in
12200 nma_icons_free(). This happens because we short-circuit loaded the
12201 icons on the first failure but then free all icons. Normally we have
12202 no issue because the icons were zero'ed out malloc, but we have stale
12203 pointer data after nma_icon_theme_changed().
12204 * gnome/applet/main.c: Return error code if nma_new() failed.
12206 2060-05-21 Dan Williams <dcbw@redhat.com>
12208 * initscript/NetworkManager.in
12209 - Ensure both dhcdbd and named are started before NM
12211 2006-05-21 Dan Williams <dcbw@redhat.com>
12214 - Bump version to 0.7 to signify we are in 0.7 development
12216 2006-05-21 Dan Williams <dcbw@redhat.com>
12218 Patch from Adam Schreiber <sadam@clemson.edu>
12219 * gnome/vpn-properties/nm-vpn-properties.c
12220 - (main): correct Gnome program name (gnome.org #342498)
12222 2006-05-21 Dan Williams <dcbw@redhat.com>
12224 Fix gnome.org #330832 based on patch from Crispin Flowerday <crispin@gnome.org>
12226 * src/NetworkManagerDbus.[ch]
12227 - nm_dbus_get_device_from_object_path -> nm_dbus_get_device_from_escaped_object_path:
12228 clarify that function's argument should be an escaped dbus object
12229 path, and look for path segment end before returning a match
12230 * src/nm-dbus-nm.c:
12231 - Fix up users of nm_dbus_get_device_from_escaped_object_path()
12233 2006-05-17 Robert Love <rml@novell.com>
12235 Functionality to differentiate Ad-Hoc networks from infrastructure
12236 networks in the applet, by displaying a special icon:
12237 * gnome/applet/applet-dbus-devices.c: Set the mode for new networks.
12238 * gnome/applet/applet.c: Pass 'applet' to network_menu_item_update().
12239 * gnome/applet/menu-items.c: Set a special icon in the scan list for
12240 ad-hoc networks. TODO: Add a third icon representing "encrypted and
12241 Ad-Hoc". Right now, we display the same icon for all Ad-Hoc wireless
12242 networks, encrypted or not.
12243 * gnome/applet/wireless-network.c, gnome/applet/wireless-network.h: New
12244 accessor functions to get and set the mode of a given network,
12245 wireless_network_get_mode() and wireless_network_set_mode().
12247 2006-05-17 Robert Love <rml@novell.com>
12249 Functionality to automatically add BSSIDs to the allowed-MAC list as
12250 one roams from access point to access point on a given network:
12251 * src/NetworkManagerUtils.c: Add nm_ethernet_addresses_are_equal(),
12252 helper function to compare two ether_addr structures and return TRUE
12253 if they contain the same MAC address.
12254 * src/NetworkManagerUtils.h: Add nm_ethernet_addresses_are_equal()
12256 * src/nm-device-802-11-wireless.c: New function to update the BSSID
12257 stored with the current AP. If the BSSID has indeed changed, we
12258 send it out to the applet, allowing the allowed-MAC list to grow
12259 automatically in response to roaming.
12261 2006-05-16 Robert Love <rml@novell.com>
12263 * src/backends/NetworkManagerSuSE.c: Don't touch ypbind or autofs
12264 unless dhcp:DHCLIENT_MODIFY_NIS_CONF is set to "yes".
12266 2006-05-13 Dan Williams <dcbw@redhat.com>
12268 * src/nm-device-802-3-ethernet.c
12269 - (real_get_generic_capabilities): Don't ignore devices that can't do
12270 carrier detect (Debian bug #366373)
12272 2006-05-11 Dan Williams <dcbw@redhat.com>
12274 Patch from Michael Biebl <biebl@teco.edu>
12275 * src/backends/NetworkManagerDebian.c
12276 - Debian backend fixups
12278 2006-05-10 Robert Love <rml@novell.com>
12280 * src/backends/NetworkManagerSuSE.c: Fix double free (Novell #173442).
12282 2006-05-09 Robert Love <rml@novell.com>
12284 * gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXME: Save the WPA EAP
12285 private certificate passphrase, if any, in the GNOME Keyring.
12286 * libnm-utils/dbus-helpers.c: Update.
12288 2006-05-05 Dan Williams <dcbw@redhat.com>
12290 * src/nm-device-802-11-wireless.c
12291 - (nm_device_802_11_wireless_set_wep_enc_key): convert to
12292 nm_device_802_11_wireless_disable_encryption() since that's all
12293 we use it for anymore; we don't ever set WEP keys ourselves.
12294 - (real_deactivate_quickly): reset SSID and encryption keys
12295 - (real_deactivate): move SSID and encryption key reset to
12296 real_deactivate_quickly(), which gets run before us anyway
12298 2006-05-05 Robert Love <rml@novell.com>
12300 * src/NetworkManager.c: Set the umask to 0022 when daemonizing, in case
12301 root has a wacky default of its own (or, more common, a user has a
12302 bad umask and uses su/sudo to restart NetworkManager). Anything
12303 other than 0022 does not do what we want with, for example,
12304 resolv.conf. This problem is amplified by our judicious use of
12305 fopen(), which uses mode 0666 -- implying that the only way to get
12306 the permissions we want is with a umask of 0022.
12308 2006-05-05 Dan Williams <dcbw@redhat.com>
12310 * gnome/libnm_glib/libnm_glib.c
12311 - Don't suck CPU when dbus isn't around by scheduling idle handlers
12312 to reconnect; instead wait a bit more with each reconnect attempt
12313 up to a max of one minute.
12315 2006-05-04 Ryan Lortie <desrt@desrt.ca>
12317 * gnome/applet/passphrase-dialog.c (update_button_cb): Get the SSID of
12318 the WirelessNetwork structure using the proper function instead of
12319 just casting it directly to (const char *) (gnome.org #336991)
12321 2006-05-03 Robert Love <rml@novell.com>
12323 * src/backends/NetworkManagerSuSE.c: Respect the variable
12324 dhcp:DHCLIENT_MODIFY_RESOLV_CONF, not
12325 config:MODIFY_RESOLV_CONF_DYNAMICALLY, when deciding whether or not
12326 to dynamically update /etc/resolv.conf.
12328 2006-05-02 Peter Jones <pjones@redhat.com>
12330 * vpn-daemons/vpnc/src/nm-vpnc-service.c: Allow rekeying.
12332 2006-05-02 Robert Love <rml@novell.com>
12334 Patch by Timo Hoenig;
12335 * tests/nm-online.c: Print pretty status indicator as timeout winds
12336 down. Also fix possible race between DBUS startup and failure
12339 2006-05-01 Robert Love <rml@novell.com>
12341 * gnome/applet/applet-compat.c: Warn if the returned escaped ESSID is
12344 2006-04-27 Jeremy Katz <katzj@redhat.com>
12346 * src/nm-device.c (discover_device_type): Actually use the hal
12347 device type instead of ioctl poking
12349 2006-04-26 Robert Love <rml@novell.com>
12351 * tests/nm-online.c: New file. Simple utility that returns exit status
12352 noting whether the connection is offline or online. If offline on
12353 start, it waits 30 seconds (or a command-line given value) for an
12354 online signal. If it times out, it again returns offline. This is
12355 useful for scripts that want to wait for network connections.
12357 2006-04-25 Robert Love <rml@novell.com>
12359 * src/nm-ap-security-wep.c: Bug fix: We stopped setting the
12360 key mode (the authentication algorithm), e.g. open or shared, when we
12361 moved to using wpa_supplicant. wpa_supplicant defaults to open, so
12362 only shared was broken. If the user specified a shared key, set it
12363 explicitly, otherwise let wpa_supplicant go with the default.
12365 2006-04-24 Dan Williams <dcbw@redhat.com>
12367 * src/nm-device-802-11-wireless.c
12368 - (nm_device_802_11_wireless_set_essid): fix setting of "any" essid
12370 2006-04-24 Dan Williams <dcbw@redhat.com>
12372 Commit the async scanning patch
12374 * src/nm-device-802-11-wireless.c
12375 - get rid of scan_mutex
12376 - (wireless_event_helper): act on wireless scan events
12377 - (real_start): schedule a pending scan
12378 - (link_to_specific_ap): fake the link to the AP during a scan
12379 - (nm_device_802_11_wireless_update_signal_strength): ignore signal
12380 strength during scans
12381 - (nm_device_get_frequency, nm_device_set_frequency, nm_device_get_bitrate,
12382 nm_device_set_bitrate): unused with new scanning code, disable
12383 - (nm_device_wireless_schedule_scan): removed
12384 - (nm_device_wireless_process_scan_results): renamed to convert_scan_results()
12385 - (request_and_convert_scan_results): new function; retrieve scan
12386 results from the driver and schedule the processing function
12387 - (scan_results_timeout): timeout triggered when card doesn't send
12388 a scan results wireless event during a certain interval
12389 - (schedule_scan_results_timeout): new function; schedule the scan
12391 - (cancel_scan_results_timeout): new function; cancel the scan
12393 - (nm_device_802_11_wireless_scan): if wpa_supplicant is running, ask it
12394 to do the scanning. Otherwise, just request a scan but don't
12395 grab results here; instead schedule a timeout for scan results and
12396 let netlink notify us of scan completion events
12397 - (nm_device_wireless_schedule_scan): new function; schedule a wireless scan
12398 - (cancel_pending_scan): new function; cancel a pending wireless scan
12399 - (supplicant_status_cb): ignore disconnect events while scanning
12400 - (supplicant_exec): wait a bit longer for the supplicant to start up
12401 - (nm_device_802_11_wireless_dispose): cancel pending scans and results
12403 - (get_scan_results): removed; folded into request_and_convert_scan_results()
12405 2006-04-24 Dan Williams <dcbw@redhat.com>
12407 * gnome/applet/applet-dbus.c
12408 - Disable the pending call debug stuff, seems under control now
12410 2006-04-20 Robert Love <rml@novell.com>
12412 Fix bug where hidden ESSID's would not show up in the applet, even
12413 if NMI provided a BSSID -> ESSID mapping from Gconf. This occurred
12414 because nm_policy_device_list_update_from_allowed_list() would merge
12415 the data, putting a name to the hidden networks, but never notify NMI
12416 of the changes. Simple fix is to invoke the function
12417 nm_dbus_signal_wireless_network_change() if we make a mapping.
12418 * src/NetworkManagerAPList.c: Call the function
12419 nm_dbus_signal_wireless_network_change() if we made a successful
12420 BSSID to ESSID mapping, notifying the applet of the "new" network.
12421 * src/NetworkManagerAPList.h: Update the prototypes for both
12422 nm_ap_list_copy_essids_by_address() and
12423 nm_ap_list_copy_one_essid_by_address().
12425 2006-04-20 Robert Love <rml@novell.com>
12427 * gnome/applet/applet-dbus-info.c: Don't bail out if the timestamp is
12428 not set. Just return zero.
12430 2006-04-20 Robert Love <rml@novell.com>
12432 * gnome/vpn-properties/nm-vpn-properties.c: Satisfy TODO: Ensure that
12433 only one copy of nm-vpn-properties is running at a time via the 'ol
12434 X selection trick. This prevents the user from opening two "VPN
12435 Connections" windows from within the applet, which leads to mass
12437 * clipboard.c: New file, implementing simple X selection logic.
12438 * clipboard.h: New file.
12439 * gnome/vpn-properties/Makefile.am: Add clipboard.{c,h}
12441 2006-04-18 Nicolas Trangez <eikke@eikke.com>
12443 * backends/NetworkManagerGentoo.c: Small cleanups and enhancements
12445 initscript/Gentoo/Makefile.am
12446 initscript/Gentoo/NetworkManagerDispatcher.in
12448 * initscript/Gentoo/NetworkManager.in: small dependency fixup from
12451 2006-04-16 Dan Williams <dcbw@redhat.com>
12453 Patch from Paul Blazejowski <paulb@blazebox.homeip.net>
12455 initscript/Slackware/Makefile.am
12456 initscript/Slackware/rc.networkmanager-dispatcher.in
12457 initscript/Slackware/rc.networkmanager.in
12458 - Update slackware initscripts
12460 2006-04-10 Robert Love <rml@novell.com>
12462 * gnome/vpn-properties/nm-vpn-properties.c: Intercept and short-circuit
12463 the "delete_event" signal on the druid's parent window and handle it
12464 our way, lest using the WM to close the druid results in a series of
12465 bloody and ultimately lethal errors.
12467 2006-04-10 Robert Love <rml@novell.com>
12469 * gnome/vpn-properties/nm-vpn-properties.c: Validate VPN settings on
12470 'Back' too or else the 'Forward' option is initially disabled despite
12473 2006-04-06 Robert Love <rml@novell.com>
12475 Fix bad but simple bug where an active modem connection did not update
12476 NM's connection state, breaking any app that did online/offline:
12477 * src/NetworkManagerMain.h: Add 'modem_active' member to NMData,
12478 represented whether a dial up connection is active, or not.
12479 * src/nm-dbus-nm.c: Set and unset 'modem_active' in response
12480 to modem activation and deactivation.
12481 * src/NetworkManagerDbus.c: When asked our state, do not return
12482 disconnected if the modem is active.
12484 2006-04-04 Robert Love <rml@novell.com>
12486 * gnome/applet/applet.c: Remove the 'Remove' option that I added to the
12487 applet. It just confuses the crap out of people and does not make a
12488 lot of sense, as the daemon still runs.
12490 2006-04-02 Tor Krill <tor@krill.nu>
12492 * initscript/Arch/networkmanager.in: Added checks for HAL and dhcdbd
12493 in start of service.
12494 * src/backends/NetworkManagerArch.c: (nm_system_get_mtu): Added to
12495 get Archlinux backend up to date.
12497 2006-03-29 Robert Love <rml@novell.com>
12499 Patch by Vinay R <rvinay@novell.com> and Robert Love <rml@novell.com>,
12500 to add support for per-route MSS and improve support for per-interface
12502 * src/NetworkManagerSystem.c: Modify nm_system_device_set_ip4_route to
12503 optionally take an MSS parameter and set it for the given route.
12504 Remove nm_system_device_set_ip4_route_with_iface. Pass in the
12505 NMIP4Config's stored MSS, if any.
12506 * src/nm-ip4-config.c: Add 'mtu' and 'mss' to NMIP4Config, representing
12507 the interface's MTU and the route's MSS, respectively. Add functions
12508 nm_ip4_config_get_mtu, nm_ip4_config_set_mtu, nm_ip4_config_get_mss,
12509 and nm_ip4_config_set_mss for retrieving and setting the MTU and the
12511 * src/nm-ip4-config.h: Add prototypes for nm_ip4_config_get_mtu,
12512 nm_ip4_config_set_mtu, nm_ip4_config_get_mss, and
12513 nm_ip4_config_set_mss.
12514 * src/vpn-manager/nm-vpn-service.c: Modify to receive the MSS from the
12516 * src/backends/NetworkManager{Arch,Debian,Gentoo,RedHat,Slackware,SUSE}.c:
12517 Change the retval of nm_system_get_mtu to guint32.
12518 * src/dhcp-manager/nm-dhcp-manager.c: Set the MTU on the new DHCP-given
12519 NMIP4Config to the MTU provided by the system, if any. TODO: If DHCP
12520 servers can specify MTU's, we should set it here if the MTU was not
12523 2006-03-27 Jürg Billeter <j@bitron.ch>
12526 * initscript/Makefile.am:
12527 * initscript/paldo/Makefile.am:
12528 * initscript/paldo/NetworkManager.in:
12529 * initscript/paldo/NetworkManagerDispatcher.in:
12530 * src/backends/Makefile.am:
12531 * src/backends/NetworkManagerPaldo.c:
12532 - Add paldo support
12534 2006-03-27 Dan Williams <dcbw@redhat.com>
12536 Patch from Christian Persch <chpe@gnome.org>
12537 * gnome/applet/applet.glade
12538 - HIG fixes; mostly for spacing and borders (gnome.org #336220)
12540 2006-03-27 Dan Williams <dcbw@redhat.com>
12542 Patch from Diffe <diffie@blazebox.homeip.net>
12543 * src/backends/NetworkManagerSlackware.c
12544 - Don't restart howl, since it's been replaced by Avahi
12545 in most distributions
12547 2006-03-27 Dan Williams <dcbw@redhat.com>
12549 Patch from Tor Krill <bugzilla@krill.nu>
12551 initscript/Makefile.am
12552 src/backends/Makefile.am
12553 src/backends/NetworkManagerArch.c
12554 initscript/Arch/Makefile.am
12555 initscript/Arch/networkmanager-dispatcher.in
12556 initscript/Arch/networkmanager.in
12557 - Add Arch Linux support, fixes gnome.org #335147
12559 2006-03-27 Dan Williams <dcbw@redhat.com>
12561 Patch from Diffe <diffie@blazebox.homeip.net>
12562 * initscript/Slackware/rc.networkmanager
12563 - update, fixed gnome.org #333368
12565 2006-03-27 Robert Love <rml@novell.com>
12567 * gnome/applet/other-network-dialog.c: Do not allow the user to try to
12568 create WPA-EAP Ad-Hoc networks because such an action makes no sense.
12570 2006-03-27 Robert Love <rml@novell.com>
12572 Patch by Jürg Billeter <j@bitron.ch>:
12573 * src/nm-logging.c: Add printf modifier to fix warning on 64-bit
12575 * src/nm-netlink-monitor.c: Include <net/if.h> instead of <linux/if.h>
12576 as we prefer glibc over kernel headers, if possible.
12578 2006-03-27 Robert Love <rml@novell.com>
12580 Patch by Jon Escombe <list@dresco.co.uk>:
12581 * gnome/applet/nm-gconf-wso.c: Add missing NM_AUTH_TYPE_WPA_EAP case.
12582 * gnome/applet/nm-gconf-wso-wpa-eap.c: If retrieving the gconf values
12583 fail, don't bail out. We don't expect all of the various WPA-EAP
12584 values to be present.
12585 * src/nm-ap-security.c: We need to match all capabilities for each
12586 encryption type, not any one of them.
12588 2006-03-27 Robert Love <rml@novell.com>
12590 * src/backends/NetworkManagerSuSE.c: Revert 2006-03-17 commit and again
12591 restart, not reload, ypbind. Unfortunately there is no superior
12594 2006-03-24 Christopher Aillon <caillon@redhat.com>
12596 * gnome/applet/applet-notifications.c:
12597 When displaying a notification, make sure to get rid of the
12598 previous notification so as to not have competing bubbles,
12599 and stop leaking the old one.
12601 * gnome/applet/applet.c:
12602 * gnome/applet/applet.h:
12603 Add a new 'notification' member to the applet, and zero it out
12604 and free it appropriately.
12606 2006-03-23 Robert Love <rml@novell.com>
12608 Patch by j <j@bootlab.org>:
12609 * gnome/applet/applet.glade: Don't set the invisible_char property,
12610 which simply overrides the GTK default. By and by, this behavior
12611 ought to be fixed in Glade.
12613 2006-03-22 Robert Love <rml@novell.com>
12615 * src/dhcp-manager/nm-dhcp-manager.c: Bump timeout to 45 seconds.
12617 2006-03-22 Robert Love <rml@novell.com>
12619 Bug fix by Timo Hoenig <thoenig@suse.de>:
12620 * gnome/applet/applet-dbus.c: Let the applet reconnect to DBUS on
12621 disconnect. Otherwise, we have the daemon surviving DBUS restarts
12622 and the applet going AWOL.
12624 2006-03-22 Robert Love <rml@novell.com>
12626 * src/dhcp-manager/nm-dhcp-manager.c: Create NM_DHCP_TIMEOUT
12627 preprocessor define and use it instead of open-coded the DHCP
12628 timeout, which is currently 25 seconds, everywhere.
12630 2006-03-22 Robert Love <rml@novell.com>
12632 Implement "Dynamic WEP", which is basically WPA authentication and WEP
12633 key exchange via WPA, ostensibly providing good security without
12634 requiring hardware that supports full WPA. Also, add UI elements to
12635 allow the user to select the pairwise & group cipher for WPA Enterprise
12637 * gnome/applet/applet.glade: Update glade file.
12638 * gnome/applet/nm-gconf-wso-wpa-eap.c: Serialize and deserialize the
12639 key type, too, to and from gconf.
12640 * gnome/applet/wireless-security-option.c: Add "wpa_eap" parameter to
12641 wso_wpa_create_key_type_model(), noting whether we are handling PSK
12642 or EAP configuration, and in the latter case add in "Dynamic WEP" if
12643 the capabilities match.
12644 * gnome/applet/wso-private.h: Update wso_wpa_create_key_type_model()'s
12646 * gnome/applet/wso-wpa-eap.c: Manage UI elements for the key type and
12647 serialize from UI to DBUS.
12648 * gnome/applet/wso-wpa-psk.c: Cannot fail and always returns at least
12650 * libnm-util/dbus-helpers.c: Update nmu_security_serialize_wpa_eap(),
12651 nmu_security_serialize_wpa_eap_with_cipher(), and
12652 nmu_security_deserialize_wpa_eap() to take a "key_type" parameter and
12653 serialize/deserialize the key type via DBUS as the new third DBUS
12655 * libnm-util/dbus-helpers.h: Update prototypes.
12656 * src/nm-ap-security-wpa-eap.c: Deserialize the key type from DBUS,
12657 too. If the key type is WEP104, do Dynamic WEP, which means
12658 "IEEE8021X" for "key_mgmt". Also add support for user-specified
12659 pairwise and group ciphers (fixes a FIXME).
12661 2006-03-21 Robert Love <rml@novell.com>
12663 * src/NetworkManagerSystem.c, src/NetworkManagerSystem.h: Add
12664 nm_system_get_mtu(), which returns a user-provided or system-mandated
12665 MTU value for a given device, if any, or zero if no such value
12666 exists. Add nm_system_set_mtu() to set the MTU for a given device
12667 if we have a provided value.
12668 * src/nm-device.c: Set the MTU of devices.
12669 * src/backends/NetworkManagerSuSE.c: Read MTU, if any, from sysconfig.
12670 * src/backends/NetworkManagerDebian.c,
12671 src/backends/NetworkManagerGentoo.c,
12672 src/backends/NetworkManagerRedHat.c,
12673 src/backends/NetworkManagerSlackware.c: Implement stub functions.
12675 2006-03-21 Robert Love <rml@novell.com>
12677 * src/backends/NetworkManagerSuSE.c: Strip hypens from hex key in
12678 configuration file.
12680 2006-03-17 Robert Love <rml@novell.com>
12682 * src/backends/NetworkManagerSuSE.c: Do "rcypbind reload" to send the
12683 signal SIGHUP to ypbind, not "rcypbind restart" to physically restart
12684 it, in case it is not running in the first place. We just want its
12685 configuration reloaded. Also, do not "rcypbind stop" on device down.
12687 2006-03-15 Robert Love <rml@novell.com>
12689 * gnome/applet/applet.glade, gnome/applet/wso-wep-ascii.c,
12690 gnome/applet/wso-wep-hex.c, gnome/applet/wso-wep-passphrase.c: The
12691 label "WEP 40/128-bit" is inconsistent because the physical key size
12692 is 40 or 104-bits, to which a 24-bit initialisation vector is
12693 appended, forming a 64 or 128-bit traffic key. Thus, the label ought
12694 to read "40/104" or "64/128". I do not care much which, but most
12695 users think of "silver" and "gold" encryption as 64 and 128-bits, so
12696 let's stick with that. Thus, s/"40/128"/"64/128"/g. Also, since our
12697 WEP passphrase support only handles 128-bit keys, and any future
12698 64-bit passphrase support will require a new option (no way to auto-
12699 detect the target key size), explicitly label our passphrase support
12700 "WEP 128-bit Passphrase".
12702 2006-03-15 Robert Love <rml@novell.com>
12704 * src/dhcp-manager/nm-dhcp-manager.c: Do not start dhcdbd, but rely on
12705 the system init scripts (or some other mechanism) starting it (or a
12706 compatible DBUS service) before NetworkManager runs. This means that
12707 distributions might need to update their init scripts. This fixes
12708 possible races and is quite a bit cleaner.
12709 * initscript/SUSE/networkmanager.in: Update to start dhcdbd before
12710 starting the NetworkManager daemon.
12713 2006-03-14 Robert Love <rml@novell.com>
12715 * src/backends/NetworkManagerSuSE.c: Check that we have a valid AP
12716 before adding anything.
12718 2006-03-13 Robert Love <rml@novell.com>
12720 * gnome/vpn-properties/nm-vpn-properties.c: Hide the next page's
12721 widgets, too, if they exist, in case the user hit the back button.
12722 Fixes a bug where the details page contains the widgets of multiple
12723 VPN modules (Novell bug #157048).
12725 2006-03-13 Robert Love <rml@novell.com>
12727 Patch by Timo Hoenig <thoenig@suse.de>:
12728 * dispatcher-daemon/NetworkManagerDispatcher.c: Let the dispatcher
12729 daemon survive DBUS restarts, too.
12731 2006-03-10 Robert Love <rml@novell.com>
12733 * gnome/applet/applet.glade: Add toggles to show/obfuscate the
12735 * gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
12736 gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-eap.c,
12737 gnome/applet/wso-wpa-psk.c: Show and obfuscate passphrases and keys
12738 in response to "toggled" signal on new toggle.
12740 2006-03-10 Robert Love <rml@novell.com>
12742 * src/nm-ap-security-wpa-eap.c: Pass fake empty strings for
12743 serialization if strings are NULL, lest DBUS get angry.
12745 2006-03-10 Robert Love <rml@novell.com>
12747 * src/nm-ap-security-wpa-eap.c: Don't log the password.
12749 2006-03-09 Robert Love <rml@novell.com>
12751 * src/backends/NetworkManagerSuSE.c: Read in WEP and WPA static
12754 2006-03-09 Dan Williams <dcbw@redhat.com>
12756 Track pending call requests in the applet, and report how many are
12757 outstanding, and how long each completed one takes.
12759 * gnome/applet/applet-dbus-devices.c
12760 gnome/applet/applet-dbus-vpn.c
12761 - Track pending calls
12763 * gnome/applet/applet-dbus.[ch]
12764 - Remove some unused enums
12765 - (nma_dbus_send_with_callback, nma_dbus_send_with_callback_replied):
12766 new functions to track dbus pending calls and spit out some
12767 statistics about them
12769 2006-03-09 Robert Love <rml@novell.com>
12771 * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Have the function
12772 nm_ap_set_timestamp() take the second and micro-second parameters as
12773 direct arguments, which avoids both a dynamic memory allocation and a
12774 structure-to-structure copy! Add a new interface, the aptly named
12775 nm_ap_set_timestamp_via_timestamp(), to set the timestamp from an
12776 existing GTimeVal, as nm_ap_set_timestamp() once did, for use with
12777 the return from nm_ap_get_timestamp(). New users should use the new
12778 nm_ap_set_timestamp(), not nm_ap_set_timestamp_via_timestamp(), for
12779 the extreme benefit to performance.
12780 * src/NetworkManagerAPList.c, src/nm-dbus-nmi.c,
12781 src/backends/NetworkManagerSuSE.c: Use the new functions as needed.
12783 2006-03-08 Robert Love <rml@novell.com>
12785 * gnome/applet/applet.glade: Hide the password entry text with
12788 2006-03-08 Robert Love <rml@novell.com>
12790 * src/NetworkManagerSystem.h, src/nm-device.c, NetworkManagerDebian.c,
12791 NetworkManagerRedHat.c, NetworkManagerGentoo.c,
12792 NetworkManagerSlackware.c: Pass nm_system_device_get_system_config()
12793 a second argument, NMData.
12794 * src/nm-ap-security.h, src/nm-ap-security.c: Export nm_ap_security_new.
12795 * src/backends/NetworkManagerSuSE.c: Add wireless networks from ifcfg-*
12796 config files as trusted.
12798 2006-03-06 Robert Love <rml@novell.com>
12800 * gnome/applet/Makefile.am: Define AUTOSTARTDIR.
12801 * gnome/applet/applet.c: Add 'Remove' option to the right click menu,
12802 to exit the applet. As a sweet side-effect, idea courtesy of Chris
12803 Rivera, detect if the applet was auto-started. If so, ask the user
12804 if he or she would like to stop automatically running the applet on
12805 login. If so, disable autostart.
12807 2006-03-06 Robert Love <rml@novell.com>
12809 * NetworkManager.pc.in: Provide an -I to the NetworkManager include
12810 directory in CFLAGS so developers can actually use NetworkManager.h.
12812 2006-03-06 Robert Love <rml@novell.com>
12814 * src/dhcp-manager/nm-dhcp-manager.c: Use preprocessor defines and not
12815 open-coded integer constants. Add state_to_string() to map a given
12816 state to a textual description, and provide that when notifying of
12818 * src/dhcp-manager/nm-dhcp-manager.h: Provide defines for the dhcdbd
12819 states, copied and cleaned up from dhcdbd.d. Ideally, we would use
12820 this header directly, but it is currently not installed on most
12823 2006-03-05 Dan Williams <dcbw@redhat.com>
12825 Process netlink messages in device subclasses rather than in
12826 NetworkManager.c. Also add support for recognizing Wireless Events.
12829 - Find GLIB_GENMARSHAL
12832 - Since we're marshalling custom types for wireless event signals,
12833 we get to create our own marshallers using GLIB_GENMARSHAL
12835 * src/NetworkManager.c
12836 - (nm_monitor_wired_link_state): renamed to nm_monitor_setup
12837 - (nm_monitor_setup): renamed from nm_monitor_wired_link_state, and
12838 cut down somewhat. We no longer process signals here.
12839 - (nm_data_new): create the netlink monitor here, and remove a
12840 useless call to nm_policy_schedule_device_change_check()
12841 - (nm_data_free): get rid of the netlink monitor here
12842 - (nm_device_link_activated, nm_device_link_deactivated): removed
12843 - (main): don't create the netlink monitor here, let nm_data_new
12844 do that. Call nm_policy_schedule_device_change_check() right
12845 before we jump to the mainloop to figure out which device
12848 * src/NetworkManagerSystem.[ch]
12849 - (nm_system_get_rtnl_index_from_iface, nm_system_get_iface_from_rtnl_index):
12850 convert back and forth from interface names to interface
12853 * src/nm-device-802-11-wireless.c
12854 - (real_init): connect to wireless-event signals from the netlink
12856 - (nm_device_802_11_wireless_event): new function, schedule handler
12857 for wireless event signals from the netlink monitor object. We
12858 want the handler to run in the device's context
12859 - (wireless_event_helper): handle wireless-event signals from netlink
12860 - (nm_device_802_11_wireless_dispose): disconnect wireless-event
12863 * src/nm-device-802-11-wireless.h
12864 - remove unused prototype for nm_device_802_11_wireless_new
12866 * src/nm-device-802-3-ethernet.c
12867 - (real_init): new function; set up signal handlers for link events
12868 - (nm_device_802_3_ethernet_link_activated): new function, schedule
12869 handler for netlink link activated events on device's main loop
12870 - (link_activated_helper): when we get a link activated event, set
12871 the device's link to be active
12872 - (nm_device_802_3_ethernet_link_deactivated): new function; schedule
12873 handler for netlink link deactivated events on device's main loop
12874 - (link_deactivated_helper): when we get a link deactivated event, set
12875 the device's link to be inactive
12876 - (nm_device_802_3_ethernet_dispose): disconnect signal handler on
12879 * src/nm-device-802-3-ethernet.h
12880 - remove unused prototype for nm_device_802_3_ethernet_new
12882 * src/nm-device.[ch]
12883 - (nm_get_device_by_iface_locked): variant of nm_get_device_by_iface
12884 but locks the device list
12885 - (nm_device_set_active_link): a little bit of cleanup and de-indenting
12887 * src/nm-netlink-monitor.[ch]
12888 - (nm_netlink_monitor_class_install_signals): New signal
12890 - (nm_netlink_monitor_new): keep reference to NMData so we can get
12892 - (nm_netlink_monitor_event_handler): expand for wireless events too
12894 * src/nm-marshal-main.c
12895 - Include generated nm-marshal.c and nm-marshal.h
12897 * src/nm-marshal.list
12898 - List of custom marshal functions
12900 2006-03-05 Dan Williams <dcbw@redhat.com>
12902 * gnome/applet/applet-notifications.h
12903 - Protect prototype of nma_send_event_notification() because it
12904 includes libnotify-specific types
12905 - Include libnotify/libnotify.h too, since we technically need it
12907 * gnome/applet/applet.c
12908 - (nma_show_vpn_failure_dialog): fix usage of g_return_if_fail
12909 - (nma_show_vpn_login_banner_dialog): add some error checking
12911 2006-03-04 Dan Williams <dcbw@redhat.com>
12913 Clean up activation cancellation. Should be a lot faster now. Observed
12914 an issue with wireless devices between stage 2 and 3 of activation, where
12915 activation would be cancelled, but the device thread wouldn't notice until
12916 the supplicant association timed out. Reorganize activation such that
12917 a cancellation handler gets immediately scheduled in the device's thread,
12918 and devices have a chance to perform any custom cleanup too.
12920 * src/nm-device.[ch]
12921 - (activation_cancel_handler): new device-type-specific function
12922 for cleaning up device-type-specific stuff on cancellation
12923 - (cancel_activation): removed
12924 - (nm_device_activation_cancel): subsume functionality of
12925 real_cancel_activation, but instead of doing anything, punt
12926 operation to a handler that's run in device-thread context
12927 - (nm_device_schedule_activation_handle_cancel): fix spelling of
12929 - (activation_handle_cancel_helper): cancellation handler run in
12930 device-thread context, calls device-type-specific cancelation,
12931 then tears down the activation request
12932 - (real_activation_cancel_handler): generic cancellation handler,
12933 deals with cancelling any in-process DHCP request
12934 - (nm_device_activate_stage1_device_prepare,
12935 nm_device_activate_stage2_device_config,
12936 nm_device_activate_stage3_ip_config_start,
12937 nm_device_activate_stage4_ip_config_get,
12938 nm_device_activate_stage4_ip_config_timeout,
12939 nm_device_activate_stage5_ip_commit): don't call
12940 nm_device_schedule_activation_handle_cancel() any more, since
12941 cancellation will have been already scheduled for us by
12942 nm_device_activation_cancel(). Just exit the function and
12943 assume that the cancel handler will be called next.
12945 * src/nm-device-802-3-ethernet.c
12946 - (real_act_stage2_config): remove; didn't do anything anyway
12948 * src/nm-device-802-11-wireless.c
12949 - (supplicant_status_cb): ensure we don't do anything if the activation
12951 - (real_activation_cancel_handler): implement; cancel user key request
12952 on activation cancellation
12954 2006-03-04 Dan Williams <dcbw@redhat.com>
12956 * src/nm-device-802-11-wireless.c
12957 - (supplicant_send_network_config): assume that drivers that don't
12958 support WPA pretty much suck, and can't handle NM scanning
12959 along with wpa_supplicant.
12961 2006-03-03 Robert Love <rml@novell.com>
12963 * configure.in: Bump version to 0.6.0.
12966 2006-03-03 Robert Love <rml@novell.com>
12968 * configure.in: Require DBUS 0.60 or later.
12970 2006-03-03 Dan Williams <dcbw@redhat.com>
12972 Fix a crash if an "Other wireless network" was chosen, failed, then
12973 chosen again from the applet's menu. If the other network wasn't
12974 noticed in a scan, it wouldn't have any capabilities, but would still
12975 be listed because the user forced the network. To fix this, we set
12976 sensible capabilities on the forced network, which will get overwritten
12977 with the correct ones if the network shows up later in a scan.
12979 * src/nm-ap-security.h
12980 - Add a new "get_default_capabilities_func" member to the
12983 * src/nm-ap-security.c
12984 - (nm_ap_security_get_default_capabilities): new function
12986 * src/nm-ap-security.c
12987 src/nm-ap-security-wep.c
12988 src/nm-ap-security-wpa-psk.c
12989 src/nm-ap-security-wpa-eap.c
12990 - Implement get_default_capabilities_func() for all, which
12991 uses the information contained in a specific NMAPSecurity
12992 object to determine default AP capabilites necessary
12993 to support that object
12995 As a secondary measure, we now prune artificial access points that fail
12996 to be activated right away. The thing failed, and we have no scan data for
12997 it, so it's pretty much useless since security information is only saved
12998 in the applets when a connection is successful.
13000 * src/NetworkManagerAPList.c
13001 - (nm_ap_list_merge_scanned_ap): mark any ap noticed in a scan
13002 not artificial. If we see it, it's no longer a figment of the
13003 user's imagination :)
13005 * src/NetworkManagerPolicy.c
13006 - (nm_policy_activation_failed): send along the failed AP if we
13009 * src/nm-device-802-11-wireless.c
13010 - (real_activation_failure_handler): remove artificial APs from
13011 the device list, because activation failed
13013 2006-03-02 Robert Love <rml@novell.com>
13015 Add support for retrieving both the per-device speed and the
13016 per-network maximum supported rate. Then change the getProperties
13017 DBUS API for both networks and devices to report this informaiton.
13018 Finally, display the information via both nm-applet and nm-tool:
13019 * gnome/applet/applet-dbus-devices.c: Grab the speed from getProperties
13021 * gnome/applet/applet.c: Display the device's speed in the 'Connection
13022 Information' dialog.
13023 * gnome/applet/applet.glade: Update the UI to show per-device speed.
13024 * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Add interfaces
13025 network_device_get_speed() and network_device_set_speed() for
13026 retrieving and setting, respectively, a network device's current
13028 * src/nm-dbus-device.c: Send the device's speed on getProperties.
13029 * src/nm-device-802-11-wireless.c: Return the rate in Mb/s, not Kb/s,
13030 in the function nm_device_802_11_wireless_get_bitrate() -- it does
13031 not matter (yet) what the units are, because we only feed it its own
13032 output. Implement SIOCGIRATE and set the per-network maximum
13033 supported rate during scanning.
13034 * src/nm-device-802-11-wireless.h: Export the function
13035 nm_device_802_11_wireless_get_bitrate().
13036 * src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h: Add
13037 function nm_device_802_3_ethernet_get_speed() for returning an
13038 802.3's current speed, in Mb/s.
13039 * test/nm-tool.c: Display the per-device current speed, if available,
13040 and the per-network maximum rate.
13042 2006-03-02 Dan Williams <dcbw@redhat.com>
13044 * src/nm-device-802-11-wireless.c
13045 - (nm_device_802_11_wireless_set_scan_interval): don't scan-spam the
13046 card when it gets initialized. Since devices don't get added to
13047 the scan list until they are initialized, this function wasn't
13048 setting the intitial scan interval correctly, and was leaving
13049 it at 0. This caused cards to get many scan requests in a short
13050 amount of time when they were initialized
13052 2006-03-02 Robert Love <rml@novell.com>
13054 * gnome/applet/applet.c: Do not set the pixbuf if we don't have an
13055 active device. But do not do what we used to do and override the
13056 state, which caused the dreaded icon race of '05.
13058 2006-03-02 Robert Love <rml@novell.com>
13060 Commit Dan's update of my previous commit:
13061 * src/nm-device-802-11-wireless.c: Always set the mode, because the
13062 set_mode() function itself does the check. But do only set the
13063 frequency if in Ad-Hoc mode.
13065 2006-03-02 Robert Love <rml@novell.com>
13067 Patch by Brian Magnuson <magnuson@rcn.com>:
13068 * src/nm-device-802-11-wireless.c: During scanning, only set the
13069 wireless mode to infrastructure if it is not currently in
13070 infrastructure mode. For some driver, setting the mode is a costly
13071 operation, apparently.
13073 2006-03-01 Rodrigo Moya <rodrigo@novell.com>
13075 * Makefile.am: use the correct dir for autostart mechanism.
13077 2006-02-28 Dan Williams <dcbw@redhat.com>
13079 Patch from Brian Magnuson <magnuson@rcn.com>
13080 * gnome/applet/applet.c
13081 - (nma_show_vpn_failure_dialog): fix errors left over from
13082 libnotify support changes
13084 2006-02-28 Dan Williams <dcbw@redhat.com>
13086 * src/vpn-manager/nm-vpn-act-request.[ch]
13087 - (nm_vpn_act_request_is_activated): don't use a switch/case for
13089 - (nm_vpn_act_request_is_failed): new function; return whether or
13090 not the vpn activation request has failed
13092 * src/vpn-manager/nm-vpn-manager.c
13093 - (nm_vpn_manager_deactivate_vpn_connection): tell the vpn service
13094 daemon to kill the connection when the activation request fails.
13095 Fixes issue where NM would get confused if the VPN activation
13096 request timed out, and would not allow further VPN connections
13099 2006-02-28 Dan Williams <dcbw@redhat.com>
13101 * gnome/applet/applet.c
13102 - (nma_menu_add_vpn_menu): until the NM VPN manager can deal with
13103 overlapping connection requests, disable all VPN menu items
13104 but the active VPN connection
13106 2006-02-28 Dan Williams <dcbw@redhat.com>
13108 * src/vpn-manager/nm-vpn-connection.c
13109 - (nm_vpn_connection_set_parent_device): fix C&P error which
13110 called g_object_unref() on the connection's parent device
13111 when it should have been ref-ed instead. Fixes crash with
13112 repeated vpn connect requests
13114 2006-02-28 Christopher Aillon <caillon@redhat.com>
13116 * gnome/applet/applet.glade:
13117 Mark a few strings non-translatable, since they shouldn't be.
13119 2006-02-28 Dan Williams <dcbw@redhat.com>
13121 * src/vpn-manager/nm-vpn-service.c
13122 - (nm_vpn_service_start_connection): if the vpn service daemon is
13123 already running, don't blindly ask it to connect, but wait until
13124 it's in the STOPPED state first. Fixes an assertion when user
13125 starts a second vpn connection without stopping the first.
13126 - (nm_vpn_service_stage2_daemon_wait): ensure the vpn service's
13127 dbus service exists before continuing with the connection
13128 process, and reduce latency while waiting for it to become
13130 - (nm_vpn_service_schedule_stage2_daemon_wait): reduce latency
13131 waiting for the vpn service daemon to become available
13132 - General log message cleanups; show progress via "Stage x of 4"
13133 rather than not telling anyone how many stages there are
13135 2006-02-28 Robert Love <rml@novell.com>
13137 * src/NetworkManagerSystem.h: Add nm_system_should_modify_resolv_conf.
13138 * src/backends/NetworkManagerSuSE.c: Implement the interface
13139 nm_system_should_modify_resolv_conf() for SUSE.
13140 * src/backends/NetworkManagerDebian.c,
13141 src/backends/NetworkManagerGentoo.c,
13142 src/backends/NetworkManagerRedHat.c,
13143 src/backends/NetworkManagerSlackware.c: Add stub.
13144 * src/named-manager/Makefile.am: Grab includes from src.
13145 * src/named-manager/nm-named-manager.c: Allow backends to disable the
13146 automatic updating of resolv.conf. This is useful for testing,
13147 broken static configurations, and administrator lock-down.
13149 2006-02-28 Dan Williams <dcbw@redhat.com>
13151 * src/nm-device-802-11-wireless.c
13152 - Move all the wpa_supplicant-related management stuff into its
13153 own struct, just for oranization's sake
13154 - (supplicant_exec): when exec-ing wpa_supplicant, connect its stdout
13155 to a GIOChannel/GSource
13156 - (supplicant_log_stdout): new function; grab output from the
13157 wpa_supplicant stdout pipe and write it to our logs.
13159 2006-02-27 Christopher Aillon <caillon@redhat.com>
13161 * src/nm-device-802-11-wireless.c:
13162 Err, fix thinko in my previous commit.
13164 2006-02-28 Robert Love <rml@novell.com>
13166 * gnome/applet/wso-wpa-eap.c: Fix misc. FIXME statements.
13168 2006-02-28 Robert Love <rml@novell.com>
13170 * libnm-util/dbus-helpers.c, src/nm-ap-security-wpa-eap.c,
13171 src/nm-ap-security-wpa-psk.c, gnome/applet/nm-gconf-wso-wpa-eap.c,
13172 gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXMEs: Callers of the DBUS
13173 deserializers are responsible for freeing the returned DBUS strings.
13175 2006-02-27 Christopher Aillon <caillon@redhat.com>
13177 * src/nm-device-802-11-wireless.c:
13178 The scan list is being pruned prematurely. We should prune after
13179 the device has gone MIA for three scans, not one. Split out the
13180 interval to realtime seconds function to better serve this.
13182 2006-02-27 Robert Love <rml@novell.com>
13184 * dispatcher-daemon/NetworkManagerDispatcher.c, src/NetworkManager.c:
13185 Open the pid file O_TRUNC, so if it already exists we truncate it to
13186 zero length. Also, be more verbose about warnings generated during
13187 writing out the pid file. Finally, always write out the pid file if
13188 in daemon mode. Use "--pid-file" to override the default.
13190 2006-02-27 Robert Love <rml@novell.com>
13192 Patch by R. Vinay <rvinay@novell.com>:
13193 * gnome/vpn-properties/nm-vpn-properties.c: Remove the gconf key
13194 'last_attempt_success' when removing a VPN connection, too. (Fixes
13195 Novell bug #153628).
13197 2006-02-27 Robert Love <rml@novell.com>
13199 * gnome/applet/applet.glade: Set "activates_default" on passphrase
13200 entry so user can hit <ENTER> after entering passphrase (Novell bug
13203 2006-02-27 Dan Williams <dcbw@redhat.com>
13206 - Mass search/replace of:
13208 NMWirelessApplet -> NMApplet
13209 NM_*_WIRELESS_APPLET -> NM_*_APPLET
13210 (it ain't just for wireless anymore, ma!)
13211 - Fix duplicate function name printing when using nm_warning
13212 - wireless-applet.glade -> applet.glade
13214 2006-02-27 Dan Williams <dcbw@redhat.com>
13216 * dispatcher-daemon/NetworkManagerDispatcher.c
13217 - Accept --pid-file with a path to a pidfile, write it out on
13218 startup, and delete it on shutdown
13220 * src/NetworkManager.c
13221 - Accept --pid-file with a path to a pidfile, write it out on
13222 startup, and delete it on shutdown
13223 - Move nm_print_usage() lower
13225 * initscripts/RedHat/NetworkManager.in
13226 - Use new --pid-file option
13227 - Fix service stopping to wait a bit for NM to quit
13229 * initscripts/RedHat/NetworkManagerDispatcher.in
13230 - Use new --pid-file option
13232 2006-02-26 Dan Williams <dcbw@redhat.com>
13235 - make and install nm-crash-logger
13237 * src/nm-logging.[ch]
13238 - New files; consolidate logging and crash handling
13240 * src/nm-crash-logger.c
13242 - Standalong crashlogger for NM, grab a backtrace
13245 * src/NetworkManager.[ch]
13246 - Remove signal handling and put it into nm-logging.c
13248 2006-02-26 Dan Williams <dcbw@redhat.com>
13251 gnome/applet/Makefile.am
13252 - Conditionalize all the notify stuff
13254 Merge most of Chris Aillon's notification patch:
13256 * gnome/applet/applet-notifications.[ch]
13257 - New files; show a notification
13259 * gnome/applet/applet-dbus-devices.[ch]
13260 - (nmwa_dbus_device_activated, nmwa_dbus_device_activated_cb,
13261 nmwa_dbus_device_deactivated, nmwa_dbus_device_deactivated_cb):
13262 new functions, do the right thing when a device change occurs
13264 * gnome/applet/applet-dbus.c
13265 - (nmwa_dbus_filter): Split out DeviceNowActive and DeviceNoLongerActive
13266 signals, so we can handle them specially
13268 * gnome/applet/applet.[ch]
13269 - nmwa_schedule_vpn_login_banner -> nmwa_show_vpn_login_banner
13270 - nmwa_schedule_vpn_failure_alert -> nmwa_show_vpn_failure_alert
13271 - (nmwa_notify_state): remove
13272 - (nmwa_update_state); remove call to nmwa_notify_state, since the
13273 notification work is now done when the appropriate dbus signals
13275 - (nmwa_show_vpn_login_banner, nmwa_show_vpn_failure_alert): don't
13276 defer execution of the notification/dialog stuff. That was an
13277 artifact of the previous multi-threaded nature of the applet
13278 and is now pointless.
13279 - (nmwa_notify_vpn_failure, nmwa_notify_vpn_login_banner): remove,
13280 no longer needed. Function folded into applet-notifications.c
13282 * src/NetworkManagerPolicy.c
13283 - (nm_policy_activation_finish): send the AP along with the device
13284 status change signal, if the connection is wireless. Should
13285 fix the race where applet would show a connection to "unknown"
13287 2006-02-25 Robert Love <rml@novell.com>
13289 Add WPA Enterprise support:
13290 * gnome/applet/Makefile.am: Build the files nm-gconf-wso-wpa-eap.c and
13291 nm-gconf-wso-wpa-eap.h.
13292 * gnome/applet/nm-gconf-wso-wpa-eap.c,
13293 gnome/applet/nm-gconf-wso-wpa-eap.h: Add WPA Enterprise Gconf
13294 serialization and deserialization.
13295 * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
13296 gnome/applet/wireless-security-option.c, gnome/applet/wso-wpa-psk.c,
13297 gnome/applet/wso-wpa-psk.h: Clean up, support new defines.
13298 * gnome/applet/wireless-applet.glade: Add UI for configurating security
13299 settings related to WPA Enterprise.
13300 * gnome/applet/wireless-security-manager.c: Invoke wso_wpa_eap_new() to
13301 instantiate WPA Enterprise wireless-security-option.
13302 * gnome/applet/wso-wpa-eap.c, gnome/applet/wso-wpa-eap.h: New files.
13303 Implement WPA Enterprise wireless-security-option object.
13304 * include/NetworkManager.h: Add new NM_AUTH_TYPE_* and NM_EAP_METHOD_*
13306 * libnm-util/cipher-wpa-psk-hex.c,
13307 libnm-util/cipher-wpa-psk-passphrase.c: Cleanup.
13308 * libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h: Add
13309 nmu_security_serialize_wpa_eap() to serialize input to DBUS method,
13310 nmu_security_serialize_wpa_eap_with_cipher() to serialize input
13311 including the cipher to DBUS method, and
13312 nmu_security_deserialize_wpa_eap() to deserialize from DBUS return
13314 * src/Makefile.am: Build the files nm-ap-security-wpa-eap.c and
13315 nm-ap-security-wpa-eap.h
13316 * src/NetworkManagerAP.c: Add NM_AUTH_TYPE_WPA_EAP to
13317 NM_802_11_CAP_KEY_MGMT_802_1X cipher to capability mapping.
13318 * src/nm-ap-security-wpa-eap.c, src/nm-ap-security-wpa-eap.h: New
13319 files. Implement NMAPSecurityWPA_EAP object.
13320 * src/nm-ap-security-wpa-psk.c: Cleanup.
13321 * src/nm-ap-security.c: Support NM_AUTH_TYPE_EAP cipher and instantiate
13322 an NMAPSecurityWPA_EAP object via the method
13323 nm_ap_security_wpa_eap_new_deserialize().
13324 * src/nm-dbus-nm.c: Cleanup.
13325 * test/nm-tool.c: Display "Enterprise" for wireless networks providing
13326 WPA Enterprise support.
13328 2006-02-24 Robert Love <rml@novell.com>
13330 Patch from Timo Hoenig <thoenig@suse.de>:
13331 * src/NetworkManagerDbus.c: Survive DBUS restarts like a champ.
13333 2006-02-24 Robert Love <rml@novell.com>
13335 Patch from Dan Winship <danw@novell.com>:
13336 * gnome/applet/eggtrayicon.c: Update EggTrayIcon code. Set the gdk
13337 area to transparent.
13339 2006-02-21 Dan Williams <dcbw@redhat.com>
13341 * gnome/applet/applet.[ch]
13342 gnome/applet/applet-dbus.c
13343 - Implement notification support for VPN messages too
13345 2006-02-21 Dan Williams <dcbw@redhat.com>
13347 * gnome/applet/applet-dbus-info.c
13348 - Clean up warning messages to not double-print the function
13350 2006-02-21 Dan Williams <dcbw@redhat.com>
13352 * gnome/applet/applet-compat.c
13353 - (convert_one_entry): accept entries without a key_type and
13354 convert them to unencrypted networks
13356 2006-02-21 Dan Williams <dcbw@redhat.com>
13358 * gnome/libnm_glib/libnm_glib.c
13359 - Use __func__ everywhere we can
13361 - Use dbus pending calls rather than blocking
13362 - Reduce busywaits for our thread to start and stop
13363 (gnome.org #330562)
13364 - (libnm_glib_dbus_init): Use dbus_bus_get_private() so we don't
13365 stomp on others using the default shared dbus connection.
13366 Fixes #rh177546# and gnome.org #326572
13368 2006-02-21 Dan Williams <dcbw@redhat.com>
13370 Patch from Rodney Dawes <dobey@novell.com>
13372 gnome/applet/Makefile.am
13373 gnome/applet/applet.c
13374 - Add libnotify support if '--enable-notify=yes' is passed
13377 2006-02-16 Kang Jeong-Hee <keizie@gmail.com>
13379 * configure.in (ALL_LINGUAS): ko added. (Korean)
13381 2006-02-15 Robert Love <rml@novell.com>
13383 * src/nm-device-802-11-wireless.c: Use LOCALSTATEDIR preprocessor
13384 define, not an open-coded "/var", for WPA_SUPPLICANT_GLOBAL_SOCKET
13385 and WPA_SUPPLICANT_CONTROL_SOCKET.
13387 2006-02-15 Robert Love <rml@novell.com>
13389 * src/nm-device-802-11-wireless.c, src/nm-device.c: When printing debug
13390 information about what connection stage we are at, provide the total
13391 number of stages, e.g. "Stage 2 of 5", so users know how far along
13392 they are if they experience problems.
13394 2006-02-15 Robert Love <rml@novell.com>
13396 * gnome/vpn-properties/Makefile.am: Define SYSCONFDIR preprocessor
13397 define to $sysconfdir.
13398 * gnome/vpn-properties/nm-vpn-properties.c: Make sure we hide the VPN
13399 editing dialog, vpn_edit_widget, which fixes a bug where editing one
13400 type of VPN and then editing another results in a mangled dialog
13401 box containing the widgets from both VPNs (fixes Novell #150854).
13402 Also, some misc. cleanup and use SYSCONFDIR not open coded directory.
13404 2006-02-14 Robert Love <rml@novell.com>
13406 * src/NetworkManager.c: Call closelog() on daemon shutdown to close
13407 syslog's file descriptor.
13409 2006-02-14 Robert Love <rml@novell.com>
13411 Fix bug around since the change to "deal with APs changing settings on
13412 us," checked in on the fifth of February in the year of the dog,
13413 wherein connecting to non-broadcast encrypted networks always fails
13414 because nm_ap_get_encrypted() always returns FALSE, even when the user
13415 provided a key, because the newly-created fake AP does not have any
13416 capabilities set, which is a sypmtom of security settings not matching
13417 capabilities (Novell bug #150784):
13418 * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Add new interface,
13419 nm_ap_add_capabilities_from_security(), which sets the given AP's
13420 capabilities off the given security settings. Also improve our
13421 handling of capabilities w.r.t. NM_802_11_CAP_PROTO_NONE and
13422 NM_AUTH_CIPHER_AUTO.
13423 * src/nm-device-802-11-wireless.c: Call the function
13424 nm_ap_add_capabilities_from_security() to ensure that capabilities
13425 match newly updated security settings.
13427 2006-02-14 Robert Love <rml@novell.com>
13429 * src/nm-device-802-11-wireless.c: Clean up nm_warning calls: Print the
13430 error as a string, not an integer, if possible; do not print the
13431 function name twice; always give the interface, if possible; misc.
13434 2006-02-12 Dan Williams <dcbw@redhat.com>
13436 Patch from Tom Parker <palfrey@tevp.net>
13437 * src/NetworkManagerSystem.h
13438 - Remove prototype for nm_system_device_setup_static_ip4_config(),
13441 * src/backends/NetworkManagerDebian.c
13442 - Remove some dead code (nm_system_device_setup_static_ip4_config) and
13445 2006-02-12 Dan Williams <dcbw@redhat.com>
13447 * vpn-daemons/openvpn/intltool-extract.in
13448 vpn-daemons/openvpn/intltool-merge.in
13449 vpn-daemons/openvpn/intltool-update.in
13450 vpn-daemons/pptp/intltool-extract.in
13451 vpn-daemons/pptp/intltool-merge.in
13452 vpn-daemons/pptp/intltool-update.in
13453 - Remove from CVS, they should get created by intltoolize,
13456 2006-02-12 Dan Williams <dcbw@redhat.com>
13458 * vpn-daemons/pptp/src/pppd/patchlevel.h
13459 * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
13460 - Rename VERSION -> PPPD_VERSION to avoid conflict with the
13461 Makefile-defined VERSION
13463 2006-02-09 Dan Williams <dcbw@redhat.com>
13465 Patch from: Vinay A R <rvinay@novell.com>
13466 * src/vpn-manager/nm-vpn-act-request.[ch]
13467 - Added 'routes' and 'routes_count' to struct NMVPNActRequest since
13468 IPSec VPNs require them for std gateway.
13469 - (nm_vpn_act_request_new): takes arguments for 'user_routes'
13470 and 'user_routes_count'
13471 - (nm_vpn_act_request_get_user_routes): new function; gets user
13472 defined routes from NMVPNActRequest object, returns the string
13475 * src/vpn-manager/nm-vpn-manager.[ch]
13476 - (nm_vpn_manager_activate_vpn_connection): take additional arguments
13477 for 'user_routes' and 'user_routes_count'
13479 * src/vpn-manager/nm-dbus-vpn.c
13480 - (nm_dbus_vpn_activate_connection): gets 'user_routes' from
13481 nm_dbus_vpn_get_routes() to pass to nm_vpn_manager_activate_vpn_connection()
13483 * src/vpn-manager/nm-vpn-service.c
13484 - (nm_vpn_service_stage3_connect): pass user routes over dbus to
13487 Modifications by Dan:
13488 * src/vpn-manager/nm-vpn-service.c
13489 - (nm_vpn_service_stage3_connect): ensure that we don't pass NULL string
13492 * vpn-daemons/vpnc/src/nm-vpnc-service.c
13493 * vpn-daemons/pptp/src/nm-pptp-service.c
13494 * vpn-daemons/openvpn/src/nm-openvpn-service.c
13495 - Grab user routes from dbus message
13496 - Free all string arrays we got from dbus
13498 2006-02-07 Robert Love <rml@novell.com>
13500 Patch by Stefan Seyfried <seife@suse.de>:
13501 * libnm-util/cipher.c: Fix off-by-one error in cipher_bin2hexstr.
13503 2006-02-06 Robert Love <rml@novell.com>
13505 * src/nm-device-802-11-wireless.c: Fix leak in supplicant_status_cb().
13507 2006-02-06 Robert Love <rml@novell.com>
13509 * src/NetworkManagerUtils.c: kill_newline(): 'l' is unsigned so the
13510 test ">=" is never false. If no newline is found, we loop forever.
13511 We can just check for ">" because the following if() will see the
13512 zero-th argument if the while() gets that far.
13514 2006-02-05 Dan Williams <dcbw@redhat.com>
13516 Refine handling of non-broadcast networks.
13518 * src/NetworkManagerAPList.c
13519 - (nm_ap_list_merge_scanned_ap): unconditionally copy the 'broadcast'
13520 property from scanned AP to the AP from the device list
13522 * src/nm-device-802-11-wireless.c
13523 - (supplicant_send_network_config): use ap_scan=1 for all networks
13524 except non-SSID-broadcasting and Ad-Hoc networks. Use
13525 ap_scan=2 for those. Also, don't set scan_ssid for Ad-Hoc
13526 networks since those don't have APs.
13527 - (add_new_ap_to_device_list): if there's no valid SSID, mark the
13528 AP as non-SSID-broadcasting
13529 - (process_scan_results): don't handle non-SSID-broadcasting here
13531 2006-02-05 Dan Williams <dcbw@redhat.com>
13533 * src/nm-device-802-11-wireless.c
13534 - (get_supplicant_timeout): new function; return
13535 NM_SUPPLICANT_TIMEOUT * 2 for cards that support more than
13536 14 channels. These are likely a/b/g cards, like Atheros, and
13537 slow as hell to scan.
13538 - (supplicant_timeout_cb, supplicant_monitor_start): use
13539 get_supplicant_timeout()
13541 2006-02-05 Dan Williams <dcbw@redhat.com>
13543 * src/dhcp-manager/nm-dhcp-manager.c
13544 - Loose a commit race with Robert; make sure size check
13545 uses size of DHCP_SERVICE_LEN, not hardcoded 15
13547 2006-02-05 Robert Love <rml@novell.com>
13549 Patch by Christoph Brill <chrisbrill@gmx.net>:
13550 * src/dhcp-manager/nm-dhcp-manager.c: Replace two open coded defines
13551 with DHCP_SERVICE_NAME.
13553 2006-02-05 Dan Williams <dcbw@redhat.com>
13555 Remove anything having to do with device_setup_func from the
13556 AP security objects, since it's no longer used.
13558 * src/nm-ap-security.h
13559 - Kill device_setup_func and nm_ap_security_device_setup()
13561 * src/nm-ap-security-wep.c
13562 src/nm-ap-security-wpa-psk.c
13563 - (real_device_setup): remove
13565 * src/nm-ap-security.c
13566 - (real_device_setup): remove
13567 - (nm_ap_security_device_setup): remove
13569 * src/nm-device-802-11-wireless.[ch]
13570 - (nm_device_802_11_wireless_set_wep_enc_key): make static
13571 - (set_wireless_config, wireless_configure_adhoc): remove; unused
13572 and done by wpa_supplicant now anyway
13574 2006-02-05 Dan Williams <dcbw@redhat.com>
13576 * src/nm-device-802-11-wireless.c
13577 - (ap_need_key, real_act_stage2_config): deal with APs changing
13578 settings on us. Previously NM would loop asking for the
13579 key but getting the same one back. Now, if the NMI-supplied
13580 cipher doesn't overlap with the scanned AP capabilities,
13581 we request a completely new key from the user.
13583 2006-02-05 Dan Williams <dcbw@redhat.com>
13585 * src/NetworkManagerUtils.c
13586 - (nm_utils_supplicant_request_with_check, nm_utils_supplicant_request):
13587 Handle newline killing better
13589 2006-02-05 Dan Williams <dcbw@redhat.com>
13591 * gnome/applet/nm-gconf-wso.c
13592 - (real_serialize_dbus): return TRUE, not 0. Fixes serialization
13593 of unencrypted access point security info.
13595 2006-02-03 Robert Love <rml@novell.com>
13597 * src/NetworkManagerUtils.c: Even for debugging, we should not log the
13598 user's encryption key, so we print the err_msg_cmd not the command,
13599 if available. So long as SUPPLICANT_DEBUG is default, this makes
13602 2006-02-03 Christopher Aillon <caillon@redhat.com>
13604 * initscript/RedHat/NetworkManagerDispatcher.in:
13605 * initscript/RedHat/NetworkManager.in: modify the pidfile location
13606 Patch from Dan Walsh <dwalsh@redhat.com>
13608 2006-02-03 Robert Love <rml@novell.com>
13610 * dispatcher-daemon/NetworkManagerDispatcher.c,
13611 dispatcher-daemon/Makefile.am: Don't hardcode the location of /etc
13612 but use the sysconfdir.
13614 2006-02-03 Robert Love <rml@novell.com>
13616 * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h:
13617 Make nm_device_802_11_wireless_get_essid() return 'const char *' not
13619 * src/nm-ip4-config.c, src/nm-ip4-config.h: Make the functions
13620 nm_ip4_config_get_hostname() and
13621 nm_ip4_config_get_nis_domain() return 'const char *' not 'char *'.
13622 * src/backends/NetworkManagerSuSE.c: Fix up for above. Also, do not
13623 leak g_strdup() result.
13625 2006-02-03 Robert Love <rml@novell.com>
13627 * src/NetworkManagerAP.c: In nm_ap_new(), default new networks to
13628 broadcast == TRUE. Also, copy broadcast and artificial properties
13629 from source network to destination in nm_ap_copy().
13630 * src/nm-device-802-11-wireless.c: Don't set broadcast flag to TRUE,
13631 since we now default new networks to non-hidden.
13633 2006-02-03 Dan Williams <dcbw@redhat.com>
13635 * gnome/applet/main.c
13636 - (main): change the NEVER->ALWAYS so we start at the
13637 beginning of the session, if being session-managed
13639 2006-02-03 Dan Williams <dcbw@redhat.com>
13641 * gnome/applet/main.c
13642 - (main): in a variation on Robert's patch, change
13643 RESTART_IMMEDIATELY -> RESTART_NEVER. Should do what
13646 2006-02-02 Robert Love <rml@novell.com>
13648 * src/Makefile.am: If we aren't going to create the run directory at,
13649 uh, run-time, create it during install. Then users just doing
13650 'make install' are cool, too. While we are here, create the
13651 dispatcher.d directory, too.
13652 * src/nm-device-802-11-wireless.c: Let the Makefile define and pass in
13653 the exact run directory.
13654 * Makefile.am: Install nm-applet.desktop.
13656 2006-02-02 Robert Love <rml@novell.com>
13658 * src/NetworkManagerAP.c: Add 'broadcast' property to the NMAccessPoint
13659 structure, which denotes whether or not the AP is hidden. This is a
13660 superset of 'artificial' -- we need 'broadcast' because a hidden AP
13661 can show up in the scan list. Add nm_ap_get_broadcast() and
13662 nm_ap_set_broadcast() accessor interfaces.
13663 * src/NetworkManagerAP.h: Add prototypes for nm_ap_get_broadcast() and
13664 nm_ap_set_broadcast().
13665 * src/nm-dbus-net.c: Add new argument, boolean broadcast, to the
13666 "getProperties" method, which denotes whether or not the given
13668 * src/nm-device-802-11-wireless.c: Set broadcast to FALSE when creating
13669 an artificial network. Set broadcast to TRUE when scanning returns
13670 an ESSID and FALSE when not.
13671 * gnome/applet/applet-dbus-devices.c: Retrieve 'broadcast' argument
13672 from "getProperties" method on a network. Possible TODO is to
13673 somehow display this.
13674 * test/nm-tool.c: Display "Hidden" if the AP does not broadcast.
13676 2006-02-02 Dan Williams <dcbw@redhat.com>
13678 * src/nm-device-802-11-wireless.c
13679 - (supplicant_interface_init): don't try to create
13680 /var/run/NetworkManager, since that should be done by
13681 the distro package. Causes problems for stuff like SELinux
13683 2006-02-02 Robert Love <rml@novell.com>
13685 Patch by Sureshkumar T <tsureshkumar@novell.com>:
13686 * src/vpn-manager/nm-vpn-connection.c, src/NetworkManagerSystem.c:
13687 Check for and handle empty string for iface.
13689 2006-02-01 Robert Love <rml@novell.com>
13691 * configure.in, man/nm-tool.1.in, man/Makefile.am: Add nm-tool(1)
13694 2006-01-31 Dan Williams <dcbw@redhat.com>
13696 * nm-applet.desktop
13697 - Add --sm-disable to Exec arguments, presuming that when
13698 using autostart, we don't want session management
13700 2006-01-31 Robert Love <rml@novell.com>
13702 * src/NetworkManagerAP.c: Add two new manufacturer default network
13703 names: linksys-a and linksys-g. These are found (at least) on the
13704 Linksys WAP55AG, which does both 802.11a and 802.11b, each with their
13707 2006-01-31 Robert Love <rml@novell.com>
13709 * src/NetworkManagerAP.c: Optimize the function
13710 nm_ap_has_manufacturer_default_essid(). I did not like its resulting
13711 machine code. This is the first in a series of code tweaks aiming to
13712 generate better machine code and make NetworkManager all the better.
13713 Just kidding. Who has time to go through the assembly generated for
13714 every function? I certainly don't. I have a wife, a kid, a job,
13715 a mortgage, a mistress. But this function was so bad, I was called
13716 to arms. Like the book.
13718 2006-01-31 Robert Love <rml@novell.com>
13720 * src/nm-device-802-11-wireless.c: Set "scan_ssid 1" if the requested
13721 AP is not broadcasting, to scan with probe request frames. Required
13722 for non-broadcast networks.
13724 2006-01-31 Robert Love <rml@novell.com>
13726 * src/nm-device-802-11-wireless.c: Make the wpa_supplicant a
13727 preprocessor define (still 20s). Fix message text in nm_info()
13728 s/too too/took too/.
13730 2006-01-30 Dan Williams <dcbw@redhat.com>
13732 * src/nm-device-802-11-wireless.c
13733 - (supplicant_monitor_start): increase connect/auth timeout to
13734 20 seconds from 10 seconds
13736 2006-01-30 Dan Williams <dcbw@redhat.com>
13739 - Define LOCALSTATEDIR
13741 * src/nm-device-802-11-wireless.c
13742 - (supplicant_exec): tell wpa_ctrl_open() to stick the local control
13743 socket where we want it to
13745 * src/wpa_ctrl.[ch]
13746 - (wpa_ctrl_open): accept location to put local control socket
13748 2006-01-30 Robert Love <rml@novell.com>
13750 * src/dhcp-manager/nm-dhcp-manager.c: Pass TRUE for ignore_error in
13751 get_ip4_string() for "domain_name".
13753 2006-01-30 Robert Love <rml@novell.com>
13755 * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
13756 gnome/applet/wireless-security-option.c, include/NetworkManager.h,
13757 libnm-util/cipher-wpa-psk-hex.c, src/nm-ap-security-wpa-psk.c,
13758 libnm-util/cipher-wpa-psk-passphrase.c, src/nm-ap-security.c: Add
13759 support for "Automatic" pairwise and group cipher configuration by
13760 letting wpa_supplicant handle the details. Add UI elements, new
13761 cipher type NM_AUTH_CIPHER_AUTO, and backend support. Works like a
13762 charm. Note this does more than add a nice feature, it fixes a bug.
13763 Apparently, some people have AP's where the pairwise cipher does not
13764 match the group cipher. Insane, but true.
13766 2006-01-30 Dan Williams <dcbw@redhat.com>
13768 * gnome/applet/applet-dbus-devices.c
13769 - (nmwa_dbus_device_get_driver_cb, nmwa_dbus_device_get_driver): new
13770 functions, grab device driver name from NetworkManager
13771 - (nmwa_dbus_device_properties_cb): call functions to get driver
13773 * gnome/applet/applet.c
13774 - (nmwa_update_info): show driver name in Connection Information
13777 * gnome/applet/nm-device.[ch]
13778 - (network_device_get_driver, network_device_set_driver): add
13779 accessors for driver name
13781 * gnome/applet/wireless-applet.glade
13782 - Add line for driver name to Connection Information dialog
13784 * src/nm-dbus-device.c
13785 - (nm_dbus_device_get_driver): new function to return driver name
13786 - (nm_dbus_device_methods): hook up driver name function to dbus
13789 - (get_driver_name): new function
13790 - (detail_device): grab and show driver name
13792 2006-01-30 Robert Love <rml@novell.com>
13794 * gnome/applet/applet.c: Apparently gtk_message_dialog_new_with_markup
13795 does not parse the markup if it is not part of the format.
13797 2006-01-30 Robert Love <rml@novell.com>
13799 * gnome/applet/passphrase-dialog.c: If wsm_set_capabilities() returns
13800 FALSE, we have no security options for this dialog, so we throw up
13801 an error dialog instead of a broken passphrase dialog. Fixes
13803 * gnome/applet/wireless-security-manager.c,
13804 gnome/applet/wireless-security-manager.h: If wsm_set_capabilities()
13805 does not add any security options, not even NONE, print a warning
13806 and return FALSE. This let's functions constructing a dialog bail
13807 out if the device's capabilities and the network's requirements have
13810 2006-01-27 Robert Love <rml@novell.com>
13812 * configure.in: Require wpa_supplicant. Detect location of binary and
13813 use it. Override with "--with-wpa_supplicant=foo".
13814 * src/Makefile.am, src/nm-device-802-11-wireless.c: Do not hardcode the
13815 path to wpa_supplicant but use the auto-detected or user-provided
13816 value from configure.
13818 2006-01-27 Robert Love <rml@novell.com>
13820 * src/backends/NetworkManagerSuSE.c: If DHCLIENT_SET_HOSTNAME is set
13821 but the DHCP server did not return a hostname, try to look up our
13822 name via DNS and set the system hostname to that.
13824 2006-01-27 Dan Williams <dcbw@redhat.com>
13826 * src/backends/NetworkManagerRedHat.c
13827 - Add NM_CONTROLLED system network script support for RH/Fedora
13829 2006-01-27 Dan Williams <dcbw@redhat.com>
13831 * src/backends/NetworkManagerGentoo.c
13832 - (nm_system_device_get_disabled): add missing function.
13835 2006-01-27 Clytie Siddall <clytie@riverland.net.au>
13837 * configure.in: Added vi in ALL_LINGUAS line.
13839 2006-01-26 Robert Love <rml@novell.com>
13841 * src/Makefile.am, src/kernel-types.h: Now that two different source
13842 files are feeling the crack-addled leakage of kernel types such as
13843 u32 and s8 -- superior to __u64 and __u8, to be sure, but not valid
13844 types in user-space -- define a header and include it as needed.
13845 * src/nm-device-802-3-ethernet.c: Include kernel-types.h
13846 * src/nm-device-802-3-ethernet.h: Remove defines.
13847 * src/wpa.c: Remove defines and include kernel-types.h.
13849 2006-01-26 Robert Love <rml@novell.com>
13851 * TODO: Update. WPA support is in the bag and HAL restarts (should)
13854 2006-01-26 Robert Love <rml@novell.com>
13856 * configure.in: Change '-Wno-unused' to '-Wno-unused-parameter'
13857 * gnome/applet/applet-compat.c, gnome/applet/applet-dbus-devices.c,
13858 gnome/applet/applet-dbus-info.c, gnome/applet/applet-dbus.c,
13859 gnome/applet/applet.c, gnome/applet/applet.h, src/nm-dbus-device.c,
13860 gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
13861 gnome/applet/nm-gconf-wso.c, gnome/applet/nm-gconf-wso.h,
13862 gnome/applet/other-network-dialog.c, src/nm-device.c, test/nm-tool.c,
13863 gnome/applet/passphrase-dialog.c, src/nm-device-802-11-wireless.c,
13864 gnome/applet/wireless-security-manager.c, src/nm-ip4-config.c,
13865 gnome/applet/wireless-security-option.c, src/nm-ap-security.c,
13866 gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
13867 gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-psk.c,
13868 libnm-util/dbus-helpers.c, src/NetworkManagerAP.c, src/nm-dbus-nmi.c,
13869 src/NetworkManagerSystem.c, src/nm-ap-security-wep.c,
13870 src/nm-device-802-11-wireless.h, test/libnm-util/test-ciphers.c,
13871 src/named-manager/nm-named-manager.c, test/test-common/test-common.c:
13872 Kill unused variables, labels, and static functions. Don't pass
13873 string literals as the format string for printf-like functions.
13875 2006-01-25 Dan Williams <dcbw@redhat.com>
13877 * gnome/applet/wireless-applet.glade
13878 - Remove WPA2 Checkbox
13880 * gnome/applet/wireless-security-manager.c
13881 - (wsm_set_capabilities): split up sections for wpa and wpa2.
13882 This means the Wireless Security menu now has two WPA options,
13883 one for "WPA Personal" and one for "WPA2 Personal"
13885 * gnome/applet/wso-wpa-psk.[ch]
13886 - (wso_wpa_psk_new): remove stuff for WPA2 checkbox, and use
13887 'wpa2' argument to determine WPA version to use
13888 - (append_dbus_params_func): pass stored WPA version to cipher
13889 rather than using the (removed) checkbox
13891 2006-01-24 Robert Love <rml@novell.com>
13893 * src/dhcp-manager/nm-dhcp-manager.c: Null-out the original byte array
13894 before we g_strdup(), not the ultimate string.
13896 2006-01-23 Dan Williams <dcbw@redhat.com>
13898 * src/NetworkManagerAP.[ch]
13899 - (nm_ap_new_from_ap): copy original essid too
13900 - (nm_ap_unref): free original essid
13901 - (nm_ap_get_orig_essid): new function
13902 - (nm_ap_set_essid): Convert essid to UTF-8 for display and dbus,
13903 but keep original essid around too
13905 * src/nm-device-802-11-wireless.c
13906 - (supplicant_send_network_config): send wpa_supplicant the
13907 _original_ essid, and not as a string, but in hex. Should
13908 allow us to connect to more APs that use wierd character
13909 encodings for their essids
13911 * utils/nm-utils.[ch]
13912 - (nm_utils_essid_to_utf8): make a best-effort to convert the essid
13913 to UTF-8. If it's not already valid UTF-8, we check LANG and
13914 use the current locale as a hint for what encoding the essid
13915 might be in. Obviously not 100% accurate, but the idea here is
13916 that if a user's locale is ex. ja_JP, they are more likely than
13917 not to be in Japan, where access points will likely be in some
13920 2006-01-23 Dan Williams <dcbw@redhat.com>
13922 * libnm-util/cipher-private.h
13923 libnm-util/cipher.c
13924 libnm-util/cipher.h
13925 - (cipher_bin2hexstr, cipher_hexstr2bin): make public
13927 2006-01-23 Robert Love <rml@novell.com>
13929 Patch by Timo Hoenig <thoenig@suse.de>:
13930 * dhcp-manager/nm-dhcp-manager.c, nm-device.c, nm-ip4-config.c,
13931 nm-ip4-config.h, NetworkManagerSystem.h: Save the hostname reported
13932 by DHCP and pass it to the backends, allowing distribution-specific
13933 behavior with respect to the DHCP-supplied hostname (if nothing else,
13934 some distributions might not want to set the hostname).
13935 * backends/NetworkManagerSuSE.c: Set the hostname if the variable
13936 DHCLIENT_SET_HOSTNAME is set to "yes" in /etc/sysconfig/network/dhcp.
13937 Also update our NIS behavior.
13938 * backends/NetworkManagerDebian.c, backends/NetworkManagerGentoo.c,
13939 backends/NetworkManagerRedHat.c, backends/NetworkManagerSlackware.c:
13940 Add stub functions.
13942 2006-01-23 Robert Love <rml@novell.com>
13944 * Makefile.am, nm-applet.desktop: Add autostart .desktop file, now that
13945 gnome-session does autostart. TODO: We need to install this to
13946 $prefix/share/autostart/.
13948 2006-01-22 Dan Williams <dcbw@redhat.com>
13950 * src/NetworkManagerAP.[ch]
13952 src/nm-device-802-11-wireless.c
13953 - Make nm_ap_get_essid return "const char *"
13955 2006-01-22 Dan Williams <dcbw@redhat.com>
13957 * src/NetworkManagerAP.[ch]
13958 - (nm_ap_get_matched, nm_ap_set_matched): remove
13960 * src/NetworkManagerAPList.[ch]
13961 - (nm_ap_list_diff): removed
13962 - (nm_ap_list_merge_scanned_ap): move AP dbus signal logic here,
13963 deal with access points changing essids on us
13965 * src/nm-device-802-11-wireless.c
13966 - (add_new_ap_to_device_list): move AP dbus signal logic to
13967 src/NetworkManagerAPList.c
13968 - (real_can_interrupt_activation): new function; allow interruption
13969 of device activation if we are waiting for a network key
13971 * src/NetworkManagerPolicy.c
13972 - (nm_policy_device_change_check): allow interruption of currently
13973 activating devices if the device allows it. Previous behavior
13974 would refuse to activate a just-plugged wired device if a
13975 wireless device was waiting for a key.
13977 * src/nm-device.[ch]
13978 - (nm_device_can_interrupt_activation): new function; ask devices
13979 whether their activation can be interrupted
13981 2006-01-20 Robert Love <rml@novell.com>
13983 * Makefile.am, configure.in: Add new man subdirectory.
13984 * man, man/NetworkManager.1.in, man/NetworkManagerDispatcher.1.in,
13985 man/Makefile.am: Add man pages for NetworkManager and its
13986 crime-solving bumbling buddy, NetworkManagerDispatcher.
13987 * man/.cvsignore: Add.
13988 * initscript/Debian/NetworkManager,
13989 initscript/Gentoo/NetworkManager.in,
13990 initscript/RedHat/NetworkManager.in,
13991 initscript/RedHat/NetworkManagerDispatcher.in,
13992 initscript/SUSE/networkmanager-dispatcher.in,
13993 initscript/SUSE/networkmanager.in: Update for /usr/sbin not /usr/bin.
13995 2006-01-20 Robert Love <rml@novell.com>
13997 * src/NetworkManagerDbus.c: Fail if NM's DBUS service is already taken,
13998 instead of queuing. This prevents the running of multiple NM
13999 daemons concurrently, which does not work whatsoever and results in
14000 neither daemon working correctly. Also, we don't handle queuing and
14001 name-owner-changes, anyhow.
14003 2006-01-20 Robert Love <rml@novell.com>
14005 * src/Makefile.am: Install the NetworkManager daemon to sbin, not bin.
14006 * dispatcher/Makefile.am: Install the NetworkManagerDispatcher daemon
14009 2006-01-19 Robert Love <rml@novell.com>
14011 * configure.in: Require hal 0.5.0 or later.
14013 2006-01-18 Robert Love <rml@novell.com>
14015 * src/NetworkManager.c, src/NetworkManagerSystem.h, src/nm-device.c:
14016 Allow backends to flag a device (in whatever distro-dependent way
14017 they so desire) as disabled. NM will ignore any such device.
14018 * src/backends/NetworkManagerDebian.c,
14019 src/backends/NetworkManagerRedHat.c,
14020 src/backends/NetworkManagerSlackware.c: Add stub function
14021 nm_system_device_get_disabled() that always returns FALSE (enabled).
14022 * src/backends/NetworkManagerSuSE.c: Add system_disabled field to the
14023 SUSE-specific configuration structure. Fill it in from the
14024 NM_CONTROLLED variable in the system networking scripts. If this var
14025 exists and is "no", we ignore the device.
14027 2006-01-17 Robert Love <rml@novell.com>
14029 * configure.in: Remove 'no' language. Replaced by 'nb', which is
14030 identical for NM. For a full discussion, see the thread at
14031 http://mail.gnome.org/archives/gnome-i18n/2004-August/msg00006.html.
14033 2006-01-17 Dan Williams <dcbw@redhat.com>
14036 - (nm_device_class_init): connect a default act_stage4_ip_config_timeout
14037 function. Fixes crash when wired DHCP fails.
14039 2006-01-16 Robert Love <rml@novell.com>
14041 * src/Makefile.am: Don't install NMLoadModules
14042 * src/NMLoadModules, test/NMLoadModules: Move the NMLoadModules script
14043 from src/ to test/ as no one uses it anymore. Note that I would be
14044 fine with removing it altogether.
14046 2006-01-16 Robert Love <rml@novell.com>
14048 * gnome/applet/eggtrayicon.c, src/nm-device.c, src/nm-ap-security.c,
14049 gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
14050 gnome/applet/nm-gconf-wso.c, src/nm-device-802-3-ethernet.c,
14051 gnome/vpn-properties/nm-vpn-properties.c, src/nm-ap-security-wep.c,
14052 src/nm-ap-security-wpa-psk.c, src/nm-device-802-11-wireless.c,
14053 src/nm-netlink-monitor.c: Don't miss any initializers on structure
14054 declarations, ever.
14055 * gnome/applet/applet.c: Remove useless check (NMState is unsigned and
14056 NM_STATE_DISCONNECTED is zero).
14058 2006-01-16 Robert Love <rml@novell.com>
14060 * src/nm-device-802-11-wireless.c: argv[3], not argv[4]. Fix
14061 uninitialized parameter and buffer overflow. Novell #143496.
14063 2006-01-16 Dan Williams <dcbw@redhat.com>
14065 Apply the PtP Address bits of a patch from Tim Niemueller
14067 * src/nm-ip4-config.[ch]
14068 - Add ip4_ptp_address member to object
14069 - (nm_ip4_config_copy): copy ptp address too
14070 - (nm_ip4_config_get_ptp_address, nm_ip4_config_set_ptp_address):
14072 - (nm_ip4_config_to_rtnl_addr): use ptp address when asked to,
14073 rather than local tunnel ip address
14075 * src/vpn-manager/nm-vpn-service.c
14076 - (print_vpn_config): update for PtP address
14077 - (nm_vpn_service_stage4_ip_config_get): switch parsing to
14078 DBusMessageIters in preparation for getting routes from the VPN
14079 service daemons too
14081 * vpn-daemons/openvpn/src/nm-openvpn-service-openvpn-helper.c
14082 - (send_config_info): update for PtP address, clean up code
14083 - (main): update for PtP address, clean up code, fix typo
14085 * vpn-daemons/openvpn/src/nm-openvpn-service.c
14086 - (nm_openvpn_dbus_process_helper_ip4_config): update for PtP address
14088 * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
14089 - (pptp_ip_up): update for PtP address
14091 * vpn-daemons/pptp/src/nm-pptp-service.c
14092 - (nm_pptp_dbus_process_helper_ip4_config): update for PtP address
14094 * vpn-daemons/vpnc/src/nm-vpnc-service.c
14095 - (print_vpn_config): update for PtP address
14096 - (nm_vpnc_dbus_process_helper_ip4_config): update for PtP address
14098 2006-01-16 Dan Williams <dcbw@redhat.com>
14100 * gnome/applet/applet.c
14101 - (nmwa_add_networks_helper): don't indicate an active network
14102 if NM is disconnected or asleep
14104 2006-01-16 Dan Williams <dcbw@redhat.com>
14106 * src/NetworkManagerPolicy.c
14107 - (nm_policy_device_change_check): switch devices if we lose the link
14108 on an ethernet device.
14110 2006-01-16 Dan Williams <dcbw@redhat.com>
14112 * gnome/applet/wso-wpa-psk-hex.[ch]
14113 - Renamed -> wso-wpa-psk.[ch]
14115 * gnome/applet/wso-wpa-psk.[ch]
14118 * gnome/applet/wso-wpa-psk-passphrase.[ch]
14119 - Removed, rolled into wso-wpa-psk.[ch]
14121 * gnome/applet/Makefile.am
14122 - Updated for above changes
14124 * gnome/applet/wireless-applet.glade
14125 - Consolidate WPA-PSK options into one notebook
14126 widget, and make dialogs invisible by default
14127 to fix screen oddities
14129 * gnome/applet/wireless-security-manager.c
14130 - (wsm_set_capabilities): create the new wpa-psk widget rather
14131 than both the old hex & passphrase ones
14133 2006-01-16 Dan Williams <dcbw@redhat.com>
14135 * gnome/applet/other-network-dialog.c
14136 - (nmwa_ond_init): Change text to refer to "name" rather than "ESSID"
14138 2006-01-16 Dan Williams <dcbw@redhat.com>
14140 * gnome/applet/applet.c
14141 - (nmwa_show_vpn_login_banner_dialog, nmwa_show_vpn_failure_dialog,
14142 nmwa_driver_notify, show_warning_dialog): fix up focus-stealing
14143 prevention to realize window before trying to get server
14146 * gnome/applet/other-network-dialog.c
14147 - (nmwa_other_network_dialog_run): fix up focus-stealing
14148 prevention to realize window before trying to get server
14151 * gnome/applet/passphrase-dialog.c
14152 - (nmi_passphrase_dialog_new): fix up focus-stealing
14153 prevention to realize window before trying to get server
14156 2006-01-16 Robert Love <rml@novell.com>
14158 Patch from Timo Hoenig <thoenig@suse.de:
14159 * libnm-util/cipher-wep-ascii.h, libnm-util/cipher-wep-hex.h,
14160 libnm-util/cipher-wep-passphrase.h, libnm-util/cipher-wpa-psk-hex.h,
14161 libnm-util/cipher-wpa-psk-passphrase.h, libnm-util/cipher.h,
14162 libnm-util/dbus-helpers.h: add checks whether headers are used
14163 within a C++ build.
14165 2006-01-16 Dan Williams <dcbw@redhat.com>
14167 * gnome/applet/wireless-security-option.c
14168 - (wso_wpa_create_key_type_model): clarify AES-CCMP algorithm name
14170 2006-01-16 Dan Williams <dcbw@redhat.com>
14172 * libnm-util/cipher-wpa-psk-passphrase.c
14173 - (cipher_wpa_psk_passphrase_new): correct passphrase length, should
14174 be 8 - 63 characters inclusive
14176 2006-01-16 Dan Williams <dcbw@redhat.com>
14179 - (nm_dbus_nm_sleep): bring device down after quick deactivation
14181 2006-01-13 Robert Love <rml@novell.com>
14183 Patch by T Sureshkumar <tsureshkuman@novell.com>:
14184 * src/NetworkManagerSystem.c: Don't assert iface != NULL, allowing VPN
14185 modules that do not use an interface.
14187 2006-01-13 Dan Williams <dcbw@redhat.com>
14191 - Allow subclasses to implement deactivate_quickly()
14192 - (nm_device_deactivate_quickly): call subclass
14193 deactivate_quickly() methods
14194 - (nm_device_set_active_link): small cleanups, and don't
14195 deactivate the device right away because we risk a deadlock
14196 when called from device thread, waiting for the device
14197 thread to cancel activation
14199 * src/nm-device-802-11-wireless.c
14200 - (real_deactivate_quickly): new function
14201 - (nm_device_802_11_wireless_class_init): hook in real_deactivate_quickly
14202 - (real_deactivate): move supplicant cleanup to real_deactivate_quickly
14203 so that we kill the supplicant when we sleep too
14204 - (supplicant_interface_init): work around naive naming attempts of
14205 wpa_ctrl when naming sockets
14207 2006-01-13 Dan Williams <dcbw@redhat.com>
14209 * src/nm-device-802-11-wireless.c
14210 - (supplicant_cleanup): delete old device control sockets too
14211 - (supplicant_get_device_socket_path): new function to consolidate
14212 locations that need a path to a device's control socket
14214 2006-01-12 Robert Love <rml@novell.com>
14216 * src/backends/NetworkManagerSuSE.c: Put the ppp device in the
14217 description so that the description is unique for each
14218 pair (device,provider). Fixes Novell #142773.
14220 2006-01-12 Dan Williams <dcbw@redhat.com>
14222 * src/nm-device-802-11-wireless.c
14223 - (supplicant_exec): ensure GError is correctly initialized
14224 Reported by Diego González (gnome.org #326708)
14226 2006-01-11 Robert Love <rml@novell.com>
14228 * src/nm-device-802-3-ethernet.c: In case local copies of glibc do not
14229 define if_mii(), open code the same results, and do so without any
14232 2006-01-11 Robert Love <rml@novell.com>
14234 * gnome/applet/wireless-security-manager.c: Fix crash by not asserting
14235 that wso_foo_new() returned non-NULL. Instead, only append the new
14236 wso to wsm->options if the wso is non-NULL. The crux is that we
14237 assume that the relevant key types are implied by WEP and WPA as
14238 appropriate. To be sure, they should be, but we should not expect
14239 drivers to not be oozing piles of wolf fecal matter.
14241 2006-01-11 Robert Love <rml@novell.com>
14243 * configure.in: Add the gcc flags '-Wshadow' and '-Wfloat-equal'.
14244 * gnome/applet/applet.c, gnome/vpn-properties/nm-vpn-properties.c,
14245 src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
14246 src/NetworkManagerPolicy.c, src/NetworkManagerSystem.c,
14247 src/nm-dbus-device.c, src/nm-device-802-3-ethernet.c,
14248 src/nm-ip4-config.c, src/vpn-manager/nm-vpn-manager.c,
14249 test/nmtestdevices.c: Fix shadowed variable usage as appropriate.
14250 * src/nm-device-802-11-wireless.c: Fix floating point comparison by
14251 comparing values within DBL_EPSILON. Also fix shadowed variable
14254 2006-01-11 Dan Williams <dcbw@redhat.com>
14256 Add options for WPA2 and WPA1+CCMP (AES).
14258 * gnome/applet/wireless-applet.glade
14259 - Add UI bits for WPA+CCMP
14261 * gnome/applet/other-network-dialog.c
14262 - (nmwa_ond_init): pass capabilities into the WirelessSecurityManager,
14263 and don't allow creation of WPA2 Ad-Hoc networks since
14264 wpa_supplicant doesn't support them
14266 * gnome/applet/wireless-security-manager.c
14267 - (wsm_set_capabilities): Add WPA2 options, and pass capability
14268 on to the specific wireless security option being created
14270 * gnome/applet/wireless-security-option.[ch]
14271 - (wso_wpa_create_key_type_model): new utility function to create
14272 the model required for WPA Key Type combo box
14274 * gnome/applet/wso-private.h
14275 gnome/applet/wireless-security-option.h
14276 - Move private function prototypes into wso-private.h
14278 * gnome/applet/wso-wpa-psk-hex.[ch]
14279 gnome/applet/wso-wpa-psk-passphrase.[ch]
14280 - (append_dbus_params_func): get WPA version from checkbox and pass
14281 it to the dbus serialization helper
14282 - (key_type_combo_changed_cb): Set the cipher's WE Cipher when the
14283 key type combo changes
14284 - (wso_wpa_psk_hex_new): set up the key type combo with the correct
14287 * libnm-util/cipher-wpa-psk-hex.c
14288 libnm-util/cipher-wpa-psk-passphrase.c
14289 - (cipher_wpa_psk_hex_set_we_cipher, cipher_wpa_psk_passphrase_set_we_cipher):
14290 new function; allow the cipher to be changed after object creation
14292 * src/nm-ap-security-wpa-psk.c
14293 - (set_description): Do WPA2 descriptions too
14295 * src/nm-ap-security.c
14296 - (nm_ap_security_new_from_ap): allow CCMP with WPA1 too
14298 2006-01-11 Robert Love <rml@novell.com>
14300 * src/nm-device-802-3-ethernet.c: Use the if_mii() inline function that
14301 is defined in <linux/mii.h> to return the mii_ioctl_data structure
14302 from the ifreq structure in lieu of an open coded solution. Removes
14303 a life-threatening type-punning.
14304 * configure.in: Remove '-Wno-strict-aliasing' as we no longer pun any
14305 types, ever, whatsoever, baby.
14307 2006-01-11 Robert Love <rml@novell.com>
14309 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.c,
14310 gnome/applet/applet.c, gnome/applet/applet.h: Consolidating
14311 assignments to applet->nm_state into a new nmwa_set_state() function
14312 for both cleanliness and to help debugging.
14314 2006-01-10 Robert Love <rml@novell.com>
14316 * src/autoip.c: Fix FIXME. In performing the link-local zeroconf IP
14317 assignment dance, we want to sleep between PROBE_MIN and PROBE_MAX
14318 seconds, exclusive. That is, we want to sleep x seconds such that
14321 2006-01-10 Robert Love <rml@novell.com>
14323 * gnome/applet/applet-dbus-info.c: Remove FIXME, we do not have to free
14324 the attr fields according to the example in the email available at
14325 mail.gnome.org/archives/desktop-devel-list/2004-May/msg00230.html.
14326 Conversely, we do have to free 'name', so we do so, fixing a leak.
14328 2006-01-10 Robert Love <rml@novell.com>
14330 * src/nm-device-802-11-wireless.c, src/nm-device-802-3-ethernet.c: Make
14331 sure that we close the socket!
14333 2006-01-10 Robert Love <rml@novell.com>
14335 * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h,
14336 src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h,
14337 src/nm-device.c: Fix a FIXME! Reimplement the function
14338 nm_device_update_hw_address() in device subclass variants,
14339 nm_device_802_3_ethernet_set_address() and
14340 nm_device_802_11_wireless_set_address(), hook them up, and use them.
14341 This fixes the existing bug where MAC addresses are all zeros.
14343 2006-01-10 Robert Love <rml@novell.com>
14345 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.h,
14346 gnome/applet/applet.c, gnome/applet/applet.h: Add 'Enable Networking'
14347 option to give users ability to globally disconnect and put NM to
14348 sleep. This is useful as a 'lockdown mode' for flying, security, and
14351 2006-01-09 Robert Love <rml@novell.com>
14353 * src/nm-device-802-3-ethernet.h: The kernel headers <linux/mii.h> and
14354 <linux/ethtool.h> leak the kernel-only types u16, u32, et al.
14355 User-space does not supply these types, so we have to define them
14356 ourselves. The relevant kernel maintainer refused to accept a patch
14357 switching these headers to the proper C99 types.
14359 2006-01-09 Dan Williams <dcbw@redhat.com>
14361 Apply Robert's 'tray icon redo' patch with fixes
14362 * gnome/applet/applet.c
14363 gnome/applet/applet.h
14364 - Instead of using a menu bar + menu item, simulate menu
14365 behavior using a popup menu. Highlight the area around
14366 the icon more like a menu too, by playing with the
14367 applet's size requisition
14369 2006-01-09 Timo Hoenig <thoenig@suse.de>
14370 * libnm-util/dbus-helpers.c
14371 libnm-util/dbus-helpers.h
14372 - (nmu_create_dbus_error_message): rename parameter 'namespace'
14373 to 'exception_namespace' (:namespace is a keyword in
14376 2006-01-09 Dan Williams <dcbw@redhat.com>
14378 * src/NetworkManagerPolicy.c
14379 - (nm_policy_device_change_check): don't autoswitch away from
14380 Ad-Hoc networks, since there's really no concept of
14384 - (nm_dbus_nm_create_wireless_network): mark created networks
14387 * src/nm-device-802-11-wireless.c
14388 - (real_activation_success_handler): add user-created Ad-Hoc
14389 networks to the device's scan list
14391 2006-01-08 Dan Williams <dcbw@redhat.com>
14393 We now require a patch for wpa_supplicant to support Ad-Hoc
14395 http://people.redhat.com/dcbw/wpa_supplicant-ctrl-iface-ap-scan.patch
14397 * src/nm-device-802-11-wireless.c
14398 - (supplicant_send_network_config): turn off wpa_supplicant's
14399 scanning. Fixes Ad-Hoc networks.
14401 2006-01-08 Dan Williams <dcbw@redhat.com>
14403 * src/nm-ap-security.c
14404 src/nm-ap-security.h
14405 - Add a user_created argument to the write_supplicant_config
14408 * src/nm-ap-security-wep.c
14409 src/nm-ap-security-wpa-psk.c
14410 src/nm-device-802-11-wireless.c
14411 - Make Ad-Hoc mode somewhat work, at least write the
14412 correct options to wpa_supplicant
14414 2006-01-08 Dan Williams <dcbw@redhat.com>
14416 * src/nm-device-802-11-wireless.c
14417 - Remove unused code from the old device activation path
14419 2006-01-08 Dan Williams <dcbw@redhat.com>
14421 * libnm-util/dbus-helpers.c
14422 - (nmu_security_serialize_wpa_psk): pass a blank key through
14423 dbus when key == NULL
14425 2006-01-08 Dan Williams <dcbw@redhat.com>
14427 * gnome/applet/nm-gconf-wso-wpa-psk.c
14428 - (nm_gconf_wso_wpa_psk_new_deserialize_dbus): feed
14429 correct arguments to nmu_security_deserialize_wpa_psk()
14431 * src/nm-ap-security-wpa-psk.c
14432 - (nm_ap_security_wpa_psk_new_deserialize): feed correct
14433 arguments to nmu_security_deserialize_wpa_psk()
14435 2006-01-08 Dan Williams <dcbw@redhat.com>
14437 * gnome/applet/wso-wpa-psk-hex.c
14438 gnome/applet/wso-wpa-psk-passphrase.c
14439 - Hook up the append_dbus_params_func() function
14441 2006-01-08 Dan Williams <dcbw@redhat.com>
14443 * src/nm-device-802-11-wireless.c
14444 - (get_wireless_capabilities): correctly detect driver WPA
14447 2006-01-08 Dan Williams <dcbw@redhat.com>
14449 * gnome/applet/Makefile.am
14450 gnome/applet/wso-wpa-psk-hex.c
14451 gnome/applet/wso-wpa-psk-hex.h
14452 - New files, implement WPA-PSK Hex key input
14454 * gnome/applet/wireless-applet.glade
14455 - Change existing wpa-psk stuff to wpa-psk-hex
14456 - Add new widgets for wpa-psk-passphrase
14458 * gnome/applet/wireless-security-manager.c
14459 - (wsm_set_capabilities): enable WPA options
14461 * gnome/applet/wso-wpa-psk-passphrase.c
14462 - (wso_wpa_psk_passphrase_new): use correct glade widgets
14463 for WPA-PSK passphrase
14465 2006-01-08 Dan Williams <dcbw@redhat.com>
14467 * include/NetworkManager.h
14468 - Add NMI_DBUS_USER_KEY_CANCELED_ERROR as a constant for
14469 applet/info-daemons
14471 * gnome/applet/passphrase-dialog.c
14472 - Use the constant. Fixes a bug where the arguments to
14473 dbus_message_new_error() were incorrect
14475 * src/nm-dbus-nmi.c
14478 2006-01-07 Dan Williams <dcbw@redhat.com>
14480 * src/nm-device-802-11-wireless.c
14481 - Add a link timeout so we allow the supplicant time to
14482 reassociate if it can, before we deactivate the card
14483 - Fix up link status and link updating so things work better
14485 2006-01-07 Dan Williams <dcbw@redhat.com>
14487 * src/nm-device-802-11-wireless.c
14488 - Switch over to using wpa_supplicant
14489 - Add a timeout of 10s for association of the supplicant
14490 - Start the monitor callback of the supplicant
14492 2006-01-07 Dan Williams <dcbw@redhat.com>
14494 * src/NetworkManagerUtils.c
14495 - (nm_utils_supplicant_request,
14496 nm_utils_supplicant_request_with_check):
14497 pass correct buffer length to wpa_ctrl_request()
14499 2006-01-07 Dan Williams <dcbw@redhat.com>
14501 * src/nm-device-private.h
14503 - (nm_device_activate_schedule_stage3_ip_config_start): make
14504 this function available to subclasses
14506 2006-01-06 Robert Love <rml@novell.com>
14508 * src/NetworkManagerPolicy.c: Always prefer wired to wireless, as the
14509 user plugging in a network cable signals their preference for to
14510 switch, unless the user explicitly selected a wireless network and
14511 therefore signaled their preference for said wireless network over
14512 wired. In other words, do exactly what makes sense.
14514 2006-01-06 Robert Love <rml@novell.com>
14516 * src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
14517 src/NetworkManagerDevicePrivate.h, src/NetworkManagerWireless.c,
14518 src/NetworkManagerWireless.h: Remove, no longer used and they keep
14519 showing up in my greps.
14521 2006-01-06 Robert Love <rml@novell.com>
14523 * gnome/applet/applet-dbus-devices.c,
14524 gnome/applet/other-network-dialog.c, gnome/applet/wso-none.c,
14525 libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h,
14526 src/nm-dbus-nm.c: Fix several issues. 'Connect to Other' and 'Create
14527 New Network' both failed in the non-encrypted case because we were
14528 not appending the security options to the DBUS message. And
14529 'Connect to Other' was also failing in the encrypted case because
14530 we were not incrementing to the next DBUS parameter. All fixed.
14531 Thanks to dcdw for some debugging help.
14533 2006-01-06 Robert Love <rml@novell.com>
14535 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
14536 gnome/applet/applet-dbus-devices.h, src/nm-dbus-nm.c: Remove global
14537 hangup code and add per-device hangup. Tie last commit into the
14538 GNOME applet. TODO: Save, understand, and respond to the state of
14539 each dialup device.
14541 2006-01-06 Robert Love <rml@novell.com>
14543 Patch by Timo Hoenig <thoenig@suse.de>:
14544 * src/NetworkManagerSystem.h, src/nm-dbus-nm.c: Add interfaces to
14545 hangup specific dialup devices.
14546 * src/backends/NetworkManagerDebian.c,
14547 src/backends/NetworkManagerGentoo.c,
14548 src/backends/NetworkManagerRedHat.c,
14549 src/backends/NetworkManagerSlackware.c: Add stub backend.
14550 * src/backends/NetworkManagerRedHat.c,
14551 src/backends/NetworkManagerSuSE.c: Add specific backend interface to
14552 hangup specific dialup devices.
14554 2006-01-04 Robert Love <rml@novell.com>
14556 * gnome/applet/applet-dbus-devices.c,
14557 gnome/applet/applet-dbus-devices.h, gnome/applet/applet.c,
14558 src/nm-dbus-nm.c: Expose a menu item for hanging up active dialup
14561 2006-01-04 Dan Williams <dcbw@redhat.com>
14563 First dump of wpa_supplicant-related code. It's not hooked up to
14564 anything yet though. Thanks to Kay Sievers for
14565 wpa_supplicant_wrapper.c, which formed the basis for this work,
14566 and to Jouni Malinen for writing wpa_ctrl.c and wpa_ctrl.h.
14570 - Add wpa_ctrl stuff from wpa_supplicant so we can talk to it
14572 * src/NetworkManagerUtils.[ch]
14573 - (nm_utils_supplicant_request, nm_utils_supplicant_request_with_check):
14574 Add convenience functions for talking to wpa_supplicant
14576 * src/nm-ap-security.[ch]
14577 src/nm-ap-security-wep.c
14578 src/nm-ap-security-wpa-psk.[ch]
14579 - Update and implement real_write_supplicant_config functions
14580 in all security types
14581 - (nm_ap_security_wpa_psk_new_from_ap): implement in
14582 nm-ap-security-wpa-psk.c
14584 * src/nm-device-802-11-wireless.c
14585 - (supplicant_cleanup, supplicant_watch_cb, supplicant_monitor_status_cb,
14586 wpa_supplicant_start, wpa_supplicant_interface_init,
14587 wpa_supplicant_send_network_config): add functions to talk to
14588 wpa_supplicant and write network config to it
14590 2006-01-04 Robert Love <rml@novell.com>
14592 * src/NetworkManagerDialup.h: add 'type' field and NM_DIALUP_TYPE
14593 values so that distribution-backends can differentiate between the
14594 various types (modem, ISDN, et cetera) of dialup device that they
14596 * src/backends/NetworkManagerSuSE.c: perform isdnctrl on interface, as
14599 2006-01-03 Dan Williams <dcbw@redhat.com>
14601 * src/NetworkManagerPolicy.c
14603 src/nm-device-802-11-wireless.c
14604 - Move wireless-specific activation failure and success code
14605 into wireless device class
14607 2006-01-03 Robert Love <rml@novell.com>
14609 Patch by Preggna S:
14610 * src/NetworkManagerSystem.c, src/vpn-manager/nm-vpn-connection.c:
14611 IPsec does not require that a VPN client be bound to an interface,
14612 due to the use of the in-kernel IPSec bits. So make the tunnel
14615 2006-01-03 Dan Williams <dcbw@redhat.com>
14617 * src/NetworkManagerAP.c
14618 - (nm_ap_add_capabilities_from_ie): presume no WEP unless
14619 the WPA IE specifies that WEP is supported
14621 * src/nm-device-802-11-wireless.c
14622 - (process_scan_results): don't mark an AP as supporting WEP
14623 if there's already other encryption capability info
14625 2006-01-03 Dan Williams <dcbw@redhat.com>
14627 * src/dhcp-manager/nm-dhcp-manager.c
14628 - Recognize activation cancellation when waiting for DHCP
14629 configuration from dhcdbd
14630 - Ignore non-dhcdbd messages
14633 - (real_act_stage3_ip_config_start): return to correct behavior
14634 of letting the dhcp-manager notify us of failure or
14635 success rather than incorrectly doing that ourselves
14636 - (nm_device_activate_stage4_ip_config_get): deal with
14637 activation cancellation a bit earlier
14639 2006-01-03 Dan Williams <dcbw@redhat.com>
14641 * src/nm-device-802-11-wireless.c
14643 - Add hooks to subclasses for stage3_ip_config_start and
14644 stage4_ip_config_timeout
14646 * src/nm-device-802-3-ethernet.c
14647 - (real_get_generic_capabilities): make devices NM-supported
14650 2006-01-03 Robert Love <rml@novell.com>
14652 * src/backends/NetworkManagerSuSE.c: update to newer API (no more
14653 nm_device_get_hw_address); use inet_aton in lieu of inet_addr as the
14654 latter cannot differentiate between error and the address -1; misc.
14657 2006-01-03 Dan Williams <dcbw@redhat.com>
14659 * src/NetworkManager.c
14660 - Move link-checking/probing into the device subclasses
14663 * src/nm-device.[ch]
14664 src/nm-device-802-11-wireless.c
14665 src/nm-device-802-3-ethernet.c
14666 - Do periodic link checking in device subclasses rather
14667 than being triggered from NetworkManager.c
14668 - discover_wireless_capabilities -> get_wireless_capabilities
14669 - discover_generic_capabilities -> get_generic_capabilities
14670 - Device subclass activation routines now return a value of type
14671 NMActStageReturn to indicate what step to perform next
14672 - Devices now override stage4_get_ip4_config if they choose
14674 2006-01-01 Dan Williams <dcbw@redhat.com>
14676 * src/nm-device-802-11-wireless.c
14677 - (real_init): don't chain up to parent init because we don't
14678 need to do that anymore
14681 - (discover_device_type): fix arguments to ioctl() to correctly
14682 pass interface name
14683 - (nm_device_new): consolidate generic device initialization into
14685 - (real_init): remove, consolidated to nm_device_new()
14686 - (nm_device_deactivate, real_deactivate): consolidate
14688 2006-01-01 Dan Williams <dcbw@redhat.com>
14690 * src/nm-activation-request.c
14691 - Change dhcp_state member of the NMActRequest structure
14692 from guint8 to guint32
14694 * src/dhcp-manager/nm-dhcp-manager.[ch]
14695 - (nm_dhcp_manager_get_state_for_device): return guint32 rather
14696 than guint8 to match the dbus argument. Turns out we were
14697 overwriting memory since we were passing in only a guint8
14699 2005-12-31 Dan Williams <dcbw@redhat.com>
14701 * refactor NMDevice into a GObject-based framework with separate
14702 objects for wired and wireless. The following files are no
14703 longer used but should stick around for a bit so we don't
14704 loose code through the cracks:
14705 NetworkManagerDevice.c
14706 NetworkManagerDevice.h
14707 NetworkManagerWireless.c
14708 NetworkManagerWireless.h
14710 The intent here is to allow each device type to manage its own
14711 connection & activation life-cycle, ie to allow wireless devices
14712 to interface with wpa_supplicant, etc. There's a fair bit of
14713 encapsulation breakage right now that should gradually get pulled
14714 back into each device, along with things like periodic property
14715 updates and link probing.
14717 2005-12-29 Dan Williams <dcbw@redhat.com>
14719 * include/NetworkManager.h
14720 - Add NM_802_11_CAP_PROTO_NONE since we need to recognize
14721 between networks that don't have any encryption at all
14723 2005-12-29 Dan Williams <dcbw@redhat.com>
14725 * test/test-common.c
14728 - Move to a test-common subdirectory
14730 * test/libnm-util/test-ciphers.c
14731 - Move test data to test-inputs.h
14732 - Test WPA ciphers too
14734 * test/libnm-util/test-dbus-helpers.c
14735 - Test serialization/deserialization of ciphers
14737 2005-12-29 Dan Williams <dcbw@redhat.com>
14739 * gnome/applet/applet-dbus-devices.c
14740 - Replace 'enc' parameter with 'capabilities' for wireless networks
14741 in dbus calls to NM
14742 - Set capabilities on WirelessNetwork objects
14743 - Receive and save type-specific device capabilities too
14745 * gnome/applet/applet-dbus-info.c
14746 gnome/applet/applet-dbus.c
14747 - Passphrase dialog no longer a singleton; new instance gets created
14748 on each request. Updates to deal with that.
14750 * gnome/applet/applet.c
14751 - (nmwa_has_encrypted_networks_helper): use AP capabilities rather
14752 than single 'encrypted' flag
14753 - (nmwa_menu_add_vpn_menu): if NM isn't connected, disable any VPN
14755 - Passphrase dialog updates per above
14757 * gnome/applet/menu-items.c
14758 - (network_menu_item_update): use AP capabilities to determine
14761 * gnome/applet/nm-device.[ch]
14762 - Add accessors for type-specific device capabilities
14764 * gnome/applet/other-network-dialog.c
14765 - Rework to respect device capabilities. i.e., if the device doesn't
14766 support WPA, remove that option from the security dropdown
14768 * gnome/applet/passphrase-dialog.c
14769 - Massive rework so that a new instance is created each time
14770 it's used, to support wireless network capabilities
14772 * gnome/applet/wireless-network.[ch]
14773 - Add accessors and members for wireless network capabilities
14775 * gnome/applet/wireless-security-manager.[ch]
14776 - (wsm_set_capabilities): called after creation to set which
14777 security options get shown to the user
14779 2005-12-29 Dan Williams <dcbw@redhat.com>
14781 * libnm-util/cipher-wpa-psk-passphrase.c
14782 - (cipher_wpa_psk_passphrase_hash_func): return key as hex string
14785 2005-12-23 Dan Williams <dcbw@redhat.com>
14787 * gnome/applet/applet-dbus-info.c
14788 - (nmi_dbus_get_key_for_network): if there's no entry in
14789 GConf for a network, assume we want a new key
14790 - (nmi_save_network_info): serialize wireless security info
14791 into GConf so its saved
14794 - Fix warning as we may not be passed security info when
14795 connecting to a wireless network
14797 2005-12-23 Dan Williams <dcbw@redhat.com>
14799 * gnome/applet/applet-compat.c
14800 - Fix bugs in GConf entry conversion
14802 * gnome/applet/applet-dbus-info.c
14803 - (nmi_dbus_get_network_properties): handle case of the BSSID
14804 list being zero-length
14806 * libnm-util/cipher-*
14807 libnm-util/dbus-helpers.c
14808 - All ciphers must now return hashed keys as UTF-8 valid
14809 hexadecimal strings, ie "8f3dae4023". They are pushed
14810 through dbus as strings too.
14811 - Consolidate various functions that do bin->hex and hex->bin
14812 conversion into cipher.c
14814 * src/nm-ap-security-wep.c
14815 src/nm-ap-security-wpa-psk.c
14816 - Handle NULL keys since we may not know keys right away
14818 * src/nm-dbus-nmi.c
14819 - (nm_dbus_get_network_data_cb): actually advance to the start
14820 of the wireless security info before we try to deserialize it
14822 * libnm-util/test-ciphers.c
14823 - Update cipher tests for the change to UTF-8 hexadecimal strings
14825 2005-12-22 Dan Williams <dcbw@redhat.com>
14827 * gnome/applet/applet-compat.[ch]
14828 - Convert old-format GConf and keyring entries
14829 when the applet starts up.
14831 * gnome/applet/applet.c
14832 - (nmwa_get_instance): Call the conversion function
14833 on startup before dbus is initialized
14835 2005-12-22 Dan Williams <dcbw@redhat.com>
14837 * gnome/applet/applet-dbus-info.c
14838 - Remove nmi_dbus_create_error_message() in favor of
14839 nmu_create_dbus_error_message()
14840 - (nmi_dbus_get_network_properties): Error message cleanups
14841 - (nmi_dbus_get_network_properties): BSSIDs are now in the 'bssids'
14842 gconf key rather than 'addresses', since they really are BSSIDs
14843 - (nmi_dbus_get_network_properties): Dispose of the security
14844 object when we're done with it
14846 2005-12-21 Dan Williams <dcbw@redhat.com>
14848 * Consolidate the info-daemon's "updateNetworkInfo" and
14849 "addNetworkAddress" calls into just "updateNetworkInfo"
14851 2005-12-21 Dan Williams <dcbw@redhat.com>
14853 * Make connection after key retrieval work again
14855 2005-12-21 Dan Williams <dcbw@redhat.com>
14857 * gnome/applet/nm-gconf-wso*
14858 - Make the serialize functions return gboolean
14861 * gnome/applet/nm-gconf-wso.c
14862 - (nm_gconf_wso_dispose, nm_gconf_wso_finalize): fix up
14863 parent class handling so we don't segfault
14865 * src/NetworkManagerAP.[ch]
14866 - (nm_ap_get_capabilities): new function, return capabilities
14867 now that something can use them
14868 - (nm_ap_set_encrypted): assume that an access point supports
14869 both WEP104 and WEP40 if its set encrypted. FIXME: can
14870 we even tell whether it just supports WEP40?
14872 * src/NetworkManagerDevice.c
14873 - (ap_need_key): resurrect and update for the New World Order
14874 - (nm_device_wireless_get_activation_ap): if we're not given
14875 security info to use, create some based on access point
14878 * src/nm-ap-security-wep.c
14879 - (nm_ap_security_wep_new_from_ap): create a new object
14880 based on a certain access point's capabilities
14882 * src/nm-ap-security.c
14883 - (nm_ap_security_new_from_ap): delegate creation of a new
14884 object based on access point capabilities to a subclass
14885 - (nm_ap_security_copy_properties): don't segfault if we
14886 don't have a key yet
14889 - (nm_dbus_nm_set_active_device): provide more informative
14890 output when errors occur. Also construct security info
14891 for a given access point if we weren't given any
14893 2005-12-21 Žygimantas Beručka <zygis@gnome.org>
14895 * configure.in: Added Lithuanian to ALL_LINGUAS.
14897 2005-12-21 Dan Williams <dcbw@redhat.com>
14900 - Add some testcases for WEP ciphers
14902 2005-12-17 Dan Williams <dcbw@redhat.com>
14906 2005-12-17 Dan Williams <dcbw@redhat.com>
14908 * include/NetworkManager.h
14909 - Finally kill NMEncKeyType
14911 * gnome/applet/applet-dbus-info.c
14912 - (nmi_save_network_info): convert to NMGConfWSO
14914 * gnome/applet/nm-gconf-wso-*.c
14915 - Implement gconf serialization functions
14917 * src/NetworkManagerPolicy.c
14918 - (nm_policy_activation_finish): fix up meaning of
14919 automatic/user_requested
14921 2005-12-17 Dan Williams <dcbw@redhat.com>
14924 - More applet cleanups
14925 - Use the dbus-method-dispatcher
14927 * libnm-util/dbus-method-dispatcher.[ch]
14928 - Generalize the implementation from NM in
14929 NetworkManagerUtils.c
14931 2005-12-16 Dan Williams <dcbw@redhat.com>
14934 - Fix up the passphrase dialog to use all the
14935 WirelessSecurityOption stuff (untested)
14937 2005-12-16 Dan Williams <dcbw@redhat.com>
14939 * Move nm_gconf_get_*_helper() functions to separate files,
14940 gconf-helpers.c & gconf-helpers.h
14942 * New NMGConfWSO objects for managing the gconf side of things.
14943 Eventually these should be merged with the
14944 WirelessSecurityOption objects and a common base (that can
14945 serialize/deserialize from dbus & gconf) should be
14946 refactored out, but for now they are separate.
14948 2005-12-16 Robert Love <rml@novell.com>
14950 * src/backends/NetworkManagerSuSE.c: Do not invoke ypbind or autofs
14951 binaries unless they exist (nm_spawn_process() emits a warning if
14952 asked to spawn a non-existant process).
14954 2005-12-16 Dan Williams <dcbw@redhat.com>
14956 * gnome/applet/applet-dbus-info.c
14957 - Clean up lots of gconf-related code
14959 2005-12-16 Robert Love <rml@novell.com>
14961 * Makefile.am: Build fix: Reorder 'SUBDIRS' so our deps are right.
14963 2005-12-16 Dan Williams <dcbw@redhat.com>
14965 * nm_device_set_enc_key -> nm_device_set_wep_enc_key
14967 * Fix up NM -> NMI get-user-key dbus calls in NM (applet
14968 bits still to be done)
14970 2005-12-16 Dan Williams <dcbw@redhat.com>
14972 * Finally move info-daemon related stuff out of
14973 NetworkManagerDbus.c to nm-dbus-nmi.c
14975 2005-12-16 Dan Williams <dcbw@redhat.com>
14977 * Kill auth_method for access points, since that's now done
14978 by NMAPSecurity objects
14980 * Add a copy-constructor of sorts to NMAPSecurity
14981 (how do you do this properly in glib???)
14983 2005-12-15 Dan Williams <dcbw@redhat.com>
14985 * Exorcise encryption key hashing on APs
14986 * Use libnm-util's serialization/deserialization in both the
14988 * Random other stuff
14990 2005-12-15 Robert Love <rml@novell.com>
14992 * gnome/applet/menu-items.c: A new icon, "network-wireless-encrypted"
14993 is being added to the icon naming spec, so let's use that (Tango CVS
14994 has the icon). Because it is new, however, we fall back to the
14995 current "gnome-lockscreen" if the new icon is not around, thus
14996 behavior is the same.
14997 * gnome/applet/applet.c: Remove setup_stock(). We do not need the
15000 2005-12-15 Robert Love <rml@novell.com>
15002 * src/gnome/applet.c: Don't show the 'Help' menu item until we have,
15003 well, help to give. Couple other misc. bits.
15005 2005-12-15 Dan Williams <dcbw@redhat.com>
15007 * libnm-util/dbus-helpers.[ch]
15008 - Make this the one-stop-shop for serializing/deserializing
15009 AP & connection security settings over dbus. Both NM
15010 and applets should use this to ensure consistent dbus
15011 API going forwared.
15013 2005-12-15 Robert Love <rml@novell.com>
15015 Patch by Timo Hoenig <thoenig@suse.de>:
15016 * src/NetworkManagerDbus.c
15017 - (nm_dbus_signal_filter) return DBUS_HANDLER_RESULT_HANDLED
15018 if HAL jumps off the system bus. Otherwise libdbus
15019 (dbus_connection_dispatch) will try to run the filter
15020 function of our libhal context which is already freed.
15022 2005-12-15 Alexander Shopov <ash@contact.bg>
15024 * configure.in: Added "bg" (Bulgarian) to ALL_LINGUAS
15026 2005-12-14 Dan Williams <dcbw@redhat.com>
15028 * include/NetworkManager.h
15029 src/NetworkManagerWireless.c
15030 - Rearrange 802.11 wireless-specific capabilities again
15033 - Forgot to add wpa.c/wpa.h to the makefiles
15035 * src/NetworkManagerAP.[ch]
15036 - Implement access point capabilities and parse the
15037 WPA/RSN IEs into the capability bitfield
15038 - Switch the "encrypted" attribute to utilize the bitfield
15039 and capabilities rather than being independent
15041 * src/NetworkManagerDevice.c
15042 - (nm_device_wireless_get_activation_ap): break it horribly
15043 until we can push NMAPSecurity objects into access point
15044 objects and through the activation chain
15045 - Stuff WPA & RSN IEs into AP capabilities
15048 - Take a shot at actually making setActiveDevice work
15051 - Make the API a bit saner
15053 2005-12-14 Dan Williams <dcbw@redhat.com>
15055 * include/NetworkManager.h
15056 - Add 802.11-specific capability for 802.1x key
15060 - Pull in WPA IE and RSN IE parsing code from
15061 wpa_supplicant so we can determine access point
15063 - Move WPA-related constants here from NetworkManagerAP.h
15064 and NetworkManagerDevice.c
15066 * src/NetworkManagerDevice.c
15067 src/NetworkManagerAP.[ch]
15068 - Use WPA-related constants from wpa.h
15070 2005-12-14 Dan Williams <dcbw@redhat.com>
15072 * include/NetworkManager.h
15073 - Update and split 802.11 wireless-specific capabilities from
15074 generic device capabilities
15076 * src/NetworkManagerDevice.c
15077 src/NetworkManagerDevicePrivate.h
15078 - (nm_device_wireless_discover_capabilities): Move 802.11
15079 wireless-specific capability checks to
15080 NetworkManagerWireless.c
15081 - Rename NMDeviceWirelessOptions -> NMDevice80211WirelessOptions
15082 - Rename NMDeviceWiredOptions -> NMDevice80211EthernetOptions
15084 * src/NetworkManagerWireless.[ch]
15085 - (nm_802_11_wireless_discover_capabilities): Check extended
15086 802.11 wireless-specific capabilities of the driver
15088 2005-12-14 Robert Love <rml@novell.com>
15090 Patch from Stefan Scheler <sscheler@suse.de>:
15091 * src/NetworkManagerDevice.c: call backend code to activate and
15093 * src/NetworkManagerSystem.h: add new NIS interfaces.
15094 * src/backends/NetworkManagerDebian.c,
15095 src/backends/NetworkManagerGentoo.c,
15096 src/backends/NetworkManagerRedHat.c,
15097 src/backends/NetworkManagerSlackware.c: add stub functions for NIS
15099 * src/backends/NetworkManagerSuSE.c: add NIS support, baby.
15101 2005-12-14 Dan Williams <dcbw@redhat.com>
15103 * src/nm-ap-security*.[ch]
15104 - Add AP security abstractions to NetworkManager
15106 * src/nm-dbus-device.c
15107 - Begin to parse new format dbus messages from the applet
15108 and construct an AP security object from the message
15110 * libnm-util/dbus-helpers.c
15111 - Use message iters so we can append the key as a fixed
15112 array of bytes, which actually works rather than
15113 using dbus_message_append_args() as we were before
15115 2005-12-14 Dan Williams <dcbw@redhat.com>
15117 * src/NetworkManagerDbus.c
15118 gnome/applet/applet-dbus.c
15119 - Fix up dbus service replacement options. The applet
15120 should allow replacement, NM itself should not.
15122 2005-12-13 Robert Love <rml@novell.com>
15124 * src/named-manager/nm-named-manager.c: Revert earlier commit.
15125 Instead, fail silently if config is NULL by not asserting and not
15126 returning FALSE. Also, make sure we always fclose() the file.
15128 2005-12-13 Robert Love <rml@novell.com>
15130 Patch by Stefan Scheler <sscheler@suse.de>:
15131 * src/nm-ip4-config.h, src/nm-ip4-config.c,
15132 src/dhcp-manager/nm-dhcp-manager.c: Add support for setting up NIS
15133 via DHCP. Still need the backends to commit the NIS domain name and
15134 and servers to yp.conf as needed.
15136 2005-12-13 Robert Love <rml@novell.com>
15138 * src/vpn-manager/nm-dbus-vpn.c: Do not call the lengthy-named function
15139 nm_vpn_manager_remove_connection() unless vpn is non-NULL.
15141 2005-12-13 Robert Love <rml@novell.com>
15143 * src/named-manager/nm-named-manager.c: Don't unref the config until
15144 after we call rewrite_resolv_conf(), because get_last_default_domain()
15145 needs to access the config. Fixes "rewrite_resolv_conf: assertion
15146 `config != NULL' failed" assertion failures and "Could not commit DNS
15149 2005-12-12 Dan Williams <dcbw@redhat.com>
15151 * libnm-util/dbus-helpers.[ch]
15152 libnm-util/Makefile.am
15153 - new helper calls to consolidate locations where
15154 NM's setDevice method is called
15156 * gnome/applet/applet-dbus-devices.c
15157 gnome/applet/wireless-security-option.c
15159 - Implement dbus message param append function for
15160 all wireless security options
15162 2005-12-12 Robert Love <rml@novell.com>
15164 * libnm-util/cipher-wep-passphrase.c,
15165 libnm-util/cipher-wpa-psk-passphrase.c, src/NetworkManagerAP.c,
15166 src/NetworkManagerAP.h, src/NetworkManagerDevice.c,
15167 src/NetworkManagerWireless.c, src/NetworkManagerWireless.h: Treat
15168 all WEP/WPA keys as "char *" and not explicitly signed or unsigned.
15169 When handling keys, we don't care what the sign is. The compiler
15170 guarantees us that we get our 8-bits, which is all we care about.
15171 * configure.in: Remove "-Wno-pointer-sign" flag. We are sign-aware!
15173 2005-12-12 Dan Williams <dcbw@redhat.com>
15175 * gnome/applet/applet-dbus-devices.[ch]
15176 gnome/applet/applet.c
15177 gnome/applet/other-network-dialog.c
15178 gnome/applet/wireless-security-manager.[ch]
15179 gnome/applet/wireless-security-option.[ch]
15181 - Push the wireless security options further into the applet
15183 2005-12-12 Robert Love <rml@novell.com>
15185 * src/dhcp-manager/nm-dhcp-manager.c: Do not fail if DHCP does not
15186 return any name servers. That is perfectly valid. (Novell #134369).
15188 2005-12-11 Dan Williams <dcbw@redhat.com>
15190 * gnome/applet/wso-*
15191 gnome/applet/wireless-security-option.*
15192 gnome/applet/Makefile.am
15193 - split each security option out so we can eventually
15194 have each one build up their own dbus message
15195 arguments to send to NM
15197 2005-12-11 Dan Williams <dcbw@redhat.com>
15199 * Make validation of the key work correctly
15201 2005-12-11 Dan Williams <dcbw@redhat.com>
15203 * Hook more bits of the Other Network Dialog up to the
15204 wireless security manager stuff, and restructure
15205 bits of the dialog so there's less code.
15207 2005-12-10 Dan Williams <dcbw@redhat.com>
15209 * gnome/applet/Makefile.am
15210 - Add libnm-util to includes
15211 - Add libnm-util to link list
15212 - Add wireless-security-common.* to compile list
15214 * gnome/applet/other-network-dialog.c
15215 - Convert to using the WirelessSecurityManager code and
15218 * gnome/applet/passphrase-dialog.c
15219 - Comment out references to stuff in the glade file that
15220 cause runtime errors until it can be fixed up
15221 to use the WirelessSecurityManager code
15223 * gnome/applet/wireless-applet.glade
15224 - Rename some widgets
15225 - Add widgets for the WirelessSecurityManager code
15226 - Remove passphrase-related stuff since that's now
15227 handled by the WirelessSecurityManager code
15229 2005-12-10 Dan Williams <dcbw@redhat.com>
15231 * gnome/applet/applet-dbus-devices.c
15232 - Print out error message details for dbus pending call callbacks
15233 - Move nmwa_dbus_update_devices() up
15235 * gnome/applet/applet-dbus-vpn.c
15236 - Print out error message details for dbus pending call callbacks
15238 2005-12-10 Dan Williams <dcbw@redhat.com>
15242 - Remove cipher-manager.* because we don't need it
15243 - Forgot to add gnome-keyring-md5 files to compile list
15245 2005-12-09 Dan Williams <dcbw@redhat.com>
15250 - Add a utility library for clients of NetworkManager. It's
15251 only targetted at applets for the moment, and contains
15252 a generalized 802.11 cipher framework for different
15253 types of keys (WEP & WPA Hex, ASCII, Passphrase)
15255 2005-12-09 Robert Love <rml@novell.com>
15257 * src/NetworkManagerDevice.c: handle error better in
15258 nm_device_set_mode().
15260 2005-12-08 Robert Love <rml@novell.com>
15262 * include/NetworkManager.h: add WPA capabilities constants
15263 * src/NetworkManagerDevice.c: detect if wireless devices support WPA
15264 or WPA2 and add the capabilities bits as appropriate.
15266 2005-12-08 Robert Love <rml@novell.com>
15268 * initscript/SUSE/networkmanager-dispatcher.in: new initscript for
15269 NetworkManagerDispatcher.
15270 * configure.in, initscript/SUSE/.cvsignore,
15271 initscript/SUSE/Makefile.am: support new networkmanager-dispatcher
15274 2005-12-08 Robert Love <rml@novell.com>
15276 * initscript/SUSE/networkmanager.in: Do not start 'networking' service.
15278 2005-12-08 Robert Love <rml@novell.com>
15280 * src/NetworkManagerDevice.c: We want to fall back on and default to
15281 IW_MODE_AUTO, not -1, which is more in line with our previous
15282 behavior. Otherwise, we try to set the wireless mode to -1 in
15283 nm_device_set_mode().
15285 2005-12-07 Robert Love <rml@novell.com>
15287 * gnome/applet/applet-dbus-info.c, include/NetworkManager.h,
15288 src/NetworkManagerAP.c, src/NetworkManagerAP.h,
15289 src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
15290 src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
15291 src/nm-dbus-nm.c: Convert NM_DEVICE_AUTH_METHOD_* to use the
15292 wireless-tools constants directly. UNKNOWN is now -1 and NONE is
15295 2005-12-07 Robert Love <rml@novell.com>
15297 * src/backends/NetworkManagerSuSE.c: In static configurations, if the
15298 supplied IP is invalid, fall back to DHCP.
15300 2005-12-07 Dan Williams <dcbw@redhat.com>
15302 * Convert NETWORK_MODE_* constants to IW_MODE_*
15303 * Make all the get_mode/set_mode functions take and return 'int'
15304 * Convert D-BUS calls that pass mode to DBUS_TYPE_INT32 rather than UINT32
15306 2005-12-07 Robert Love <rml@novell.com>
15308 * src/NetworkManagerDevice.c: strncpy() buffer check.
15309 * src/NetworkManagerUtils.c: be anal about syslog() formatting.
15311 2005-12-06 Dan Williams <dcbw@redhat.com>
15313 * gnome/applet/applet-dbus.c
15314 - (set_vpn_last_attempt_status): remove, now in applet-dbus-vpn.c
15316 * gnome/applet/applet-dbus-vpn.c
15317 - (nmwa_dbus_vpn_set_last_attempt_status): new, from applet-dbus.c
15318 - (nmwa_dbus_vpn_update_vpn_connection_stage): set last_attempt_success
15319 to TRUE here if stage was ACTIVATED
15321 2005-12-06 Dan Williams <dcbw@redhat.com>
15323 * Change nm_device_is_* functions to better names:
15324 nm_device_is_wireless() -> nm_device_is_802_11_wireless()
15325 nm_device_is_wired() -> nm_device_is_802_3_ethernet()
15327 2005-12-06 Dan Williams <dcbw@redhat.com>
15329 * Change naming of NMDeviceType to something more sensible:
15330 NM_DEVICE_TYPE_DONT_KNOW -> NM_DEVICE_TYPE_UNKNOWN
15331 NM_DEVICE_TYPE_WIRED_ETHERNET -> NM_DEVICE_TYPE_802_3_ETHERNET
15332 NM_DEVICE_TYPE_WIRELESS_ETHERNET -> NM_DEVICE_TYPE_802_11_WIRELESS
15334 2005-12-06 Dan Williams <dcbw@redhat.com>
15336 * Move NetworkManager.h -> include/NetworkManager.h
15337 * Split out VPN stuff into include/NetworkManagerVPN.h
15338 * Fix up makefiles to include new location
15339 * Fix up sources to include NetworkManagerVPN.h
15341 2005-12-06 Dan Williams <dcbw@redhat.com>
15343 Various changes in the applet to move VPN connection "state" -> "stage",
15344 which it actually is. I'd like to change the signal as well when we
15345 break compat in the near future.
15347 2005-12-06 Dan Williams <dcbw@redhat.com>
15349 Slackware patches from Paul Blazejowski <paulb@blazebox.homeip.net>
15350 * initscript/Slackware/rc.networkmanager
15353 * src/backends/NetworkManagerSlackware.c
15354 - Kill dhcpcd when starting so that dhclient can bind to DHCP on
15357 2005-12-05 Robert Love <rml@novell.com>
15359 * src/NetworkManager.c: don't call nm_data_free() when there is nothing
15360 to free, particularly here as it just barfs.
15362 2005-12-05 Dan Williams <dcbw@redhat.com>
15364 * gnome/applet/applet-dbus.c
15365 - Work with dbus 0.6 too
15367 2005-12-03 Dan Williams <dcbw@redhat.com>
15369 * src/NetworkManagerUtils.[ch]
15370 src/nm-ip4-config.c
15371 - move ip4_netmask_to_prefix() to NetworkManagerUtils.c
15372 - consolidate code into nm_utils_ip4_addr_to_nl_addr()
15374 2005-12-01 Robert Love <rml@novell.com>
15376 * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c: We
15377 need a NULL for the '...' parameter, too, to fill the so-called
15380 2005-12-01 Robert Love <rml@novell.com>
15382 * src/NetworkManagerSystem.c: If iface_to_rtnl_link() returns NULL, the
15383 interface is already gone, so don't call rtnl_link_change() to down
15384 it (which will segfault, anyhow).
15386 2005-11-22 Robert Love <rml@novell.com>
15388 * src/backends/NetworkManagerSuSE.c: Don't fall back to DHCP if the
15389 gateway is not set, just print a little note. Configurations without
15390 gateways are valid.
15392 2005-11-22 Robert Love <rml@novell.com>
15396 2005-11-20 Ilkka Tuohela <hile@iki.fi>
15398 * configure.in: Added Finnish translation to ALL_LINGUAS
15400 2005-11-14 Robert Love <rml@novell.com>
15402 * vpn-daemons/openvpn: initial checkin of OpenVPN VPN Module, by Tim
15403 Niemueller <tim@niemueller.de>.
15405 2005-11-08 Dan Williams <dcbw@redhat.com>
15407 Patch from Bill Moss <bmoss@clemson.edu>
15408 * src/NetworkManagerDevice.c
15409 - (nm_device_activate_stage5_ip_config_commit): fix ordering
15410 of nm_policy_schedule_activation_finish() to prevent a
15411 race condition that causes the link to be dropped
15413 2005-11-08 Dan Williams <dcbw@redhat.com>
15415 Patch from Bill Moss <bmoss@clemson.edu>
15416 * src/NetworkManagerAPList.c
15417 src/NetworkManagerDevice.c
15418 src/NetworkManagerDbus.c
15419 - Replace occurances of ether_ntoa_r() with iw_ether_ntop() so
15420 we get more readable ether/mac addresses
15422 2005-11-02 Christopher Aillon <caillon@redhat.com>
15424 * gnome/applet/main.c: Don't set the restart command. This fixes
15425 the issue where the restart command was getting copies of all its
15426 arguments for each time the applet was restarted.
15428 2005-11-02 Robert Love <rml@novell.com>
15430 * gnome/applet/applet.c: Only send the DBUS setWirelessEnabled method
15431 if the widget state differs from our saved state. This ensures we
15432 do not enter an endless loop of death and destruction. Also, this
15433 guarantees us that we enforce the widget state.
15435 2005-11-02 Robert Love <rml@novell.com>
15437 * gnome/applet/applet.c: add nmwa_enable_wireless_set_active().
15438 * gnome/applet/applet-dbus-devices.c: invoke the new function
15439 nmwa_enable_wireless_set_active() to ensure that the state of the
15440 'Enable Wireless' checkbox matches the daemon's state. This is a
15441 concern because the daemon remembers the state.
15443 2005-11-02 Robert Love <rml@novell.com>
15445 * gnome/applet/applet.c: Make menu item "Enable Wireless" not "Wireless
15446 Enabled", as checkboxes should be actions/commands not positive
15447 statements, otherwise they are confusing in the unselected case. See
15448 examples in GNOME HIG, Chapter 6.
15450 2005-11-02 Robert Love <rml@novell.com>
15452 * gnome/applet/applet.c: When wireless is disabled, act it. Do not
15453 show a list of wireless networks or the wireless devices or the
15454 "Create Wireless ..." menus. Aside from this cosmetics, this fixes
15455 a bad bug: If wireless is disabled and the user picks a wireless
15456 network, NM will switch to the network, only to immediately switch
15457 back, as wireless is disabled. This also reassures people that NM
15458 is not scanning (it is not -- I verified). Fixes Novell bug #130041.
15460 2005-11-02 Christopher Aillon <caillon@redhat.com>
15462 * gnome/applet/applet.c:
15463 * gnome/applet/applet.h:
15464 Partial backout of Dan's timeout animation patch.
15465 Timeout IDs cannot legally be 0, so revert the code in place to handle
15466 a timeout ID of 0 to denote the timeout isn't running.
15468 2005-11-02 Christopher Aillon <caillon@redhat.com>
15470 * src/NetworkManagerPolicy.c:
15471 (nm_policy_device_change_check) Clarify wireless switch nm_info text
15473 2005-10-28 Robert Love <rml@novell.com>
15475 * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade: Change label to
15476 "Import Saved Configuration..." to make it clear that importing is
15477 not the next step, but an option. As an aside, a nice TODO would be
15478 to move Importing out of the vpn-specific dialog and into the main
15479 property editor, as Importing goes with Adding, but that will require
15480 some rearchitecting of the VPN stuff I suspect.
15482 2005-10-27 Dan Williams <dcbw@redhat.com>
15484 Start using libnl. You need 1.0-pre3 or higher. Eventually
15485 we should replace most of the distro-specific backend code
15488 Get it here: http://people.suug.ch/~tgr/libnl/
15492 - Add checks for libnl pkgconfig file
15493 - Use LIBNL_LIBS & LIBNL_CFLAGS
15495 * src/NetworkManagerSystem.c
15496 src/nm-ip4-config.[ch]
15497 - Use libnl rather than ioctl() for most things
15498 - Remove unused functions
15500 2005-10-27 Robert Love <rml@novell.com>
15502 * src/backends/NetworkManagerSuSE.c: fix warning message text
15504 2005-10-27 Christopher Aillon <caillon@redhat.com>
15506 * gnome/applet/applet.c: Use the copyright symbol instead of (C)
15508 2005-10-27 Christopher Aillon <caillon@redhat.com>
15510 * gnome/applet/applet.c: The applet's about dialog can advertise our
15511 project page <http://www.gnome.org/projects/NetworkManager/>
15513 2005-10-26 Christopher Aillon <caillon@redhat.com>
15515 * gnome/applet.c: Also use translator credits if we don't have
15516 the new GtkAboutDialog (older versions of GTK+)
15518 2005-10-26 Robert Love <rml@novell.com>
15520 * dispatcher-daemon/NetworkManagerDispatcher.c: print actual error string on daemon()
15521 failure; correct usage text for "--no-daemon"
15523 2005-10-25 Dan Williams <dcbw@redhat.com>
15525 * src/NetworkManagerDevice.c
15526 - (get_scan_results): cleanups, deal cleanly with ENODATA signifying
15528 - (free_process_scan_cb_data): unref the device when freeing results
15529 - (nm_device_wireless_process_scan_results): free scan results a bit later
15530 so we don't unref the device underneath ourselves
15532 2005-10-25 Dan Williams <dcbw@redhat.com>
15534 * Back out 2005-10-24 commit from Tor Krill. Patch
15535 causes nameservers never to be removed from named.
15537 2005-10-24 Dan Williams <dcbw@redhat.com>
15539 Clean up wireless scanning and wireless link probing.
15541 * src/NetworkManagerDevice.c
15542 - (nm_device_probe_wireless_link_state): instead of calling nm_get_best_ap(),
15543 just see if there's an activation request on the device, and check the
15544 current link against the activation request access point's ESSID.
15545 - (link_to_specific_ap): increase the # of failed links we tolerate from 3 to 6
15546 - (nm_device_wireless_process_scan_results): actually free our scan data, and
15547 don't call process_scan_results() on zero-length data
15548 - (nm_device_set_wireless_scan_interval): increase the init scan interval to
15549 15 seconds (from 10)
15551 2005-10-24 Dan Williams <dcbw@redhat.com>
15553 Cleanup some applet stuff:
15555 - Animation timeouts. If NM died while the applet was animating,
15556 the applet would not hide itself. This is now fixed.
15558 - Remove some dead code
15560 - Remove nmi_passphrase_dialog_schedule_cancel() and convert uses
15561 to nmi_passphrase_dialog_cancel() since we no longer use threads.
15563 - Track animation timeout using a gboolean rather than the timeout's
15564 ID, since timeout IDs can legally be 0.
15566 2005-10-24 Dan Williams <dcbw@redhat.com>
15568 * src/backends/interface_parser.c
15569 - Add void to function declarations that need it
15570 to match patch from Engin AYDOGAN
15572 * src/backends/interface_parser.h
15573 - Remove unused prototype for ifparser_interfaces()
15575 Patch from Engin AYDOGAN <engin@bzzzt.biz>
15576 * src/backends/interface_parser.h:
15577 - Compile fixes for gcc 4.0.2 (add void)
15579 2005-10-24 Dan Williams <dcbw@redhat.com>
15581 Patch from Tor Krill <tor@krill.nu>
15582 * src/named-manager/nm-named-manager.c
15583 - Write more than just the first nameserver to /etc/resolv.conf
15584 - Write out valid /etc/resolv.conf on exit
15586 2005-10-21 Christopher Aillon <caillon@redhat.com>
15588 * gnome/applet/applet-dbus-vpn.c:
15589 Get rid of spurious newlines in debug console output
15591 2005-10-21 Christopher Aillon <caillon@redhat.com>
15593 * src/backends/NetworkManagerGentoo.c:
15594 Fix path to killall. Patch from Dave Shanker <dshanker@gmail.com>
15596 2005-10-20 Robert Love <rml@novell.com>
15598 * src/NetworkManagerDevice.c: Use fabs() and DBL_EPSILON to avoid a
15599 direct comparison of floating point values, which is never correct.
15600 Also some misc. cleanup.
15602 2005-10-19 Robert Love <rml@novell.com>
15604 * vpn-daemons/vpnc/nm-vpnc.desktop.in: add fields
15606 2005-10-19 Robert Love <rml@novell.com>
15608 * gnome/vpn-properties/nm-vpn-properties.c: Correctly set the
15609 sensitivity of the buttons. Specificaly, do the right thing if
15610 there are no entries.
15612 2005-10-19 Christopher Aillon <caillon@redhat.com>
15614 * configure.in: Update check for adequate wireless-tools
15615 with an AC_TRY_COMPILE for the new symbols we use.
15617 2005-10-19 Dan Williams <dcbw@redhat.com>
15619 * src/NetworkManagerDevice.c
15620 - (process_scan_results): don't drop the last (or only)
15621 access point we see
15623 2005-10-19 Christopher Aillon <caillon@redhat.com>
15625 * src/backends/NetworkManagerSlackware.c:
15626 Patch from Nico <lordllucifer@gmail.com>
15627 - Update the Slackware backend.
15629 2005-10-18 Christopher Aillon <caillon@redhat.com>
15631 * gnome/applet/other-network-dialog.c: Use g_get_host_name ()
15632 if we've got GLib 2.8.0
15634 2005-10-18 Robert Love <rml@novell.com>
15636 * src/NetworkManagerDevice.c: invoke the long-in-the-tooth named
15637 function nm_schedule_state_change_signal_broadcast() when we
15638 deactivate a device, too.
15640 2005-10-18 Robert Love <rml@novell.com>
15642 * gnome/applet/applet.c: nmwa_context_menu_update(): 'iface' could
15643 be used uninitialized.
15645 2005-10-18 Christopher Aillon <caillon@redhat.com>
15647 * test/libnm_glib_test.c: Test unregistering, too.
15649 2005-10-17 Christopher Aillon <caillon@redhat.com>
15651 * configure.in: Bump to 0.5.0
15653 2005-10-17 Dan Williams <dcbw@redhat.com>
15656 - Remove WPA-related constants so they aren't part of the
15659 2005-10-17 Christopher Aillon <caillon@redhat.com>
15661 * gnome/applet/applet.c:
15662 * gnome/applet/applet.h:
15663 Desensitize the 'Connection Information' menu item when there is
15664 no active connection.
15666 2005-10-17 Christopher Aillon <caillon@redhat.com>
15668 * gnome/libnm_glib/libnm_glib.c:
15669 Make libnm_glib_unregister_callback () actually unregister the callback
15671 2005-10-17 Robert Love <rml@novell.com>
15673 * src/NetworkManagerDevice.c: Actually wait 20s, as we intend, not
15674 two seconds -- tries is updated every 1/10 of a second, not every
15677 2005-10-17 Christopher Aillon <caillon@redhat.com>
15679 * gnome/applet/applet-dbus-info.c:
15680 Let D-BUS know that we haven't handled a message when we haven't.
15682 2005-10-17 Robert Love <rml@novell.com>
15684 * src/nm-ip4-config.c: use GPOINTER_TO_UINT and not a straight cast
15685 in order to remain 64-bit clean.
15687 2005-10-17 Christopher Aillon <caillon@redhat.com>
15689 * gnome/applet/applet-dbus-info.c:
15690 Find network encryption keys asynchronously
15692 2005-10-17 Robert Love <rml@novell.com>
15694 * src/backends/NetworkManagerDebian.c,
15695 src/backends/NetworkManagerRedHat,
15696 src/backends/NetworkManagerSuSE.c: allow '#' as a valid resolv.conf
15699 2005-10-17 Robert Love <rml@novell.com>
15701 * src/backends/NetworkManagerSuSE.c: use SYSCONFDIR not open-coded
15704 2005-10-17 Christopher Aillon <caillon@redhat.com>
15706 * src/NetworkManagerDevice.c: (process_scan_results)
15707 Fix logic that checks to see whether we have an ESSID.
15709 2005-10-15 Dan Williams <dcbw@redhat.com>
15711 Move scanning code into NetworkManager rather than use iwlib's
15712 iw_scan() function, so that we can figure out AP capabilities.
15715 - Add AP capability bits
15717 * src/NetworkManagerAP.[ch]
15718 - Add capability field to NMAccessPoint structure
15719 - Add WPA & RSN Information Element fields and accessor
15720 functions to NMAccessPoint
15722 * src/NetworkManagerDevice.c
15723 - Remove usage of iw_scan
15724 - Add scanning code to NetworkManager rather than use
15725 iw_scan() from iwlib
15727 * src/NetworkManagerUtils.[ch]
15728 - (nm_dispose_scan_results): remove, unused
15730 2005-10-14 Christopher Aillon <caillon@redhat.com>
15732 * gnome/libnm_glib/libnm_glib.c:
15733 * gnome/libnm_glib/libnm_glib.h:
15734 Use guint instead of gint for callback IDs.
15736 2005-10-12 Christopher Aillon <caillon@redhat.com>
15738 * gnome/applet/applet.c:
15739 Fix icon animation smoothness issues. nmwa_redraw_timeout gets called
15740 every 1000ms. It will unconditionally call nmwa_update_state which
15741 kills the existing animation timeout and registers a new one with a
15742 callback to draw a new frame every 100ms. There are 11 connecting
15743 icon frames, so the last 2 frames kept getting dropped. Only reset
15744 the animation timeout if we aren't animating.
15746 2005-10-11 Dan Williams <dcbw@redhat.com>
15748 * gnome/applet/applet-dbus-devices.c
15749 - (nmwa_dbus_update_device_info_from_hal), (hal_net_physdev_cb):
15750 We want to grab the product & vendor from net.physical_dev
15751 rather than info.parent.
15753 2005-10-11 Dan Williams <dcbw@redhat.com>
15755 * src/NetworkManagerDevice.c
15756 - Use the driver's WE version for scanning rather than
15757 the WE version NM was compiled with. Fixes random
15758 crashes in iw_scan () in iwlib.
15760 2005-10-10 Dan Williams <dcbw@redhat.com>
15762 * Remove nm_system_load_device_modules() from backend files
15763 and from NetworkManager.c
15765 2005-10-10 Dan Williams <dcbw@redhat.com>
15767 * src/NetworkManagerPolicy.c
15768 - Fix some bugs introduced by the capabilities patch
15770 2005-10-10 Dan Williams <dcbw@redhat.com>
15772 * gnome/applet/applet-dbus-info.c
15773 - (nmi_dbus_get_network_key): hide the menu when putting up
15774 the keyring dialog. (not sure if the code is right...)
15776 2005-10-09 Dan Williams <dcbw@redhat.com>
15778 Patch from Bill Moss <bmoss@clemson.edu>
15779 * src/NetworkManagerDevice.c
15780 - (nm_device_set_user_key_for_network): don't try to set auth
15781 mode on the AP from the allowed list if it's NULL
15783 2005-10-09 Dan Williams <dcbw@redhat.com>
15785 * Replace the "driver support level" stuff with capabilities. The
15786 capability field is a bitfield that is more flexible than the
15787 old driver support level thing. It's mostly so we can easily
15788 figure out what supports WPA and what doesn't, but should be
15789 quite useful later.
15791 2005-10-09 Dan Williams <dcbw@redhat.com>
15798 - Added new "nm-tool" tool that gives quite a bit more
15801 2005-10-07 Robert Love <rml@novell.com>
15803 * gnome/applet/applet-dbus-info.c, gnome/applet/applet.c,
15804 gnome/applet/applet.h, gnome/vpn-properties/nm-vpn-properties.c,
15805 src/dhcp-manager/nm-dhcp-manager.c, test/libnm_glib_test.c,
15806 test/nmtest.c test/nmtestdevices.c: mark functions 'static' as
15809 2005-10-07 Robert Love <rml@novell.com>
15811 * configure.in: Change our compile flags for the betterment of mankind.
15812 Add "-Wstrict-prototypes" because we comply anyhow and missing a
15813 prototype is very bad on 64-bit platforms as types default to int but
15814 sizeof(int) != sizeof(long) and add "-Wmissing-prototypes" &
15815 "-Wmissing-declarations" to warn if we define an exported function
15816 but fail to put it in a header.
15818 2005-10-07 Robert Love <rml@novell.com>
15820 * src/NetworkManagerWireless.c: remove stale, unused function, who goes
15821 by the name nm_update_device_wireless_timeouts() and once tried,
15822 without success, to steal my pet turtle.
15824 2005-10-07 Robert Love <rml@novell.com>
15826 * Cleanup prototypes: put some functions in header files and mark
15827 others as 'static' -- feel free to invert
15828 * src/vpn-manager/nm-dbus-vpn.c: remove prototype of
15829 nm_vpn_manager_vpn_connection_list_copy()
15830 * src/vpn-manager/nm-vpn-act-request.c: remove prototype of
15831 nm_vpn_service_get_dbus_connection()
15832 * src/vpn-manager/nm-vpn-manager.h: add prototypes for
15833 nm_vpn_manager_vpn_connection_list_copy()
15834 * src/vpn-manager/nm-vpn-service.c: make
15835 nm_vpn_service_act_request_failed() and
15836 nm_vpn_service_stage2_daemon_wait() static
15837 * src/vpn-manager/nm-vpn-service.h: add prototype for
15838 nm_vpn_service_get_dbus_connection()
15840 2005-10-06 Christopher Aillon <caillon@redhat.com>
15842 * gnome/applet/applet.c:
15843 * gnome/applet/applet.h:
15844 * gnome/applet/icons/Makefile.am:
15845 Convey information about the current connection stage in the
15846 icons themselves instead of creating a separate progress bar.
15848 2005-10-04 Robert Love <rml@novell.com>
15850 * src/nm-dbus-device.c: Use iw_ether_ntop(), not ether_ntoa_r(), to
15851 convert an ether_addr structure's MAC into a string, because the
15852 latter will drop leading zero's and uses lower-case, e.g. 7:3b:4
15853 versus 07:3B:04, while the former will not.
15855 2005-10-04 Robert Love <rml@novell.com>
15857 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
15858 gnome/applet/nm-device.c, gnome/applet/nm-device.h,
15859 gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
15860 default route in the 'Connection Information' dialog, send primary
15861 and secondary name servers in in "getProperties" DBUS method, add
15862 network_device_{get,set}_{primary,secondary}_dns(), The primary and
15863 secondary domain name servers are crucial pieces of information
15864 that a user might need in debugging a network problem.
15866 2005-10-04 Robert Love <rml@novell.com>
15868 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
15869 gnome/applet/nm-device.c, gnome/applet/nm-device.h,
15870 gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
15871 default route in the 'Connection Information' dialog, send default
15872 route in "getProperties" DBUS method, add network_device_set_route(),
15873 and network_device_get_route(). The Gateway is a crucial piece of
15874 connection-related information that a user might need in debugging a
15877 2005-10-03 Robert Love <rml@novell.com>
15879 * src/backends/NetworkManagerSuSE.c: Fix Glib error, GError must be
15882 2005-10-02 Dan Williams <dcbw@redhat.com>
15884 * Shorten time taken to sleep by fastpathing bits of device deactivation
15885 necessary for sleep.
15887 * Fix issue where deactivating a device might deactivate the active
15888 VPN connection, even if the VPN was not using the device.
15890 2005-10-02 Dan Williams <dcbw@redhat.com>
15892 * gnome/applet/applet.c
15893 - Adjust signal strength -> icon mapping values slightly
15894 (so that 51% signal doesn't show a 75% icon) by adding
15895 5% to the values. ex: > 5% now shows 25% icon, > 30%
15896 shows 50% icon, etc.
15898 2005-09-29 Robert Love <rml@novell.com>
15900 * src/NetworkManager.c: removed unused variable.
15902 2005-09-28 Dan Williams <dcbw@redhat.com>
15904 Support for named + DBus, using Red Hat DBus patches for named. You
15905 can find those patches here, with "dbus" in the patch's filename:
15907 http://cvs.fedora.redhat.com/viewcvs/devel/bind/
15909 Don't forget the named dbus service file either.
15911 Instead of writing a config file and spawing a named process, NM will
15912 use an already-running dbus-enabled named if it finds one. NM will
15913 update named's forwarder configuration on the fly using dbus.
15915 If there is no dbus-enabled named running, NM will automatically fall
15916 back to writing the most-recent DNS server information to /etc/resolv.conf
15917 and calling nm_system_update_dns() to kick the system's resolver.
15919 Accordingly, all named-related configure-time options have been removed.
15921 2005-09-26 Robert Love <rml@novell.com>
15923 * src/backends/NetworkManagerSuSE.c, (nm_system_get_dialup_config): Add
15925 * src/backends/NetworkManagerSuSE.c, (verify_and_return_provider): Fix
15926 bug in error path if "ASKPASSWORD" is "no".
15928 2005-09-26 Robert Love <rml@novell.com>
15930 * src/named-manager/nm-named-manager.c: only '#' is officially a valid
15931 comment in /etc/resolv.conf -- ';' is not.
15933 2005-09-19 Dan Williams <dcbw@redhat.com>
15935 * src/backends/NetworkManagerRedHat.c:
15936 * src/backends/NetworkManagerDebian.c:
15937 * src/backends/NetworkManagerSlackware.c:
15938 * src/backends/NetworkManagerGentoo.c:
15939 * src/backends/NetworkManagerSUSE.c:
15940 Fix invocations of "/sbin/ip address" to use short form instead
15942 2005-09-19 Christopher Aillon <caillon@redhat.com>
15944 * src/nm-dbus-device.c: Don't assert when getting
15945 addresses of a not yet connected interface.
15947 * gnome/applet/applet.c: Free icons if loading fails.
15948 Use translator-credits so translators can make themselves known.
15950 2005-09-15 Christopher Aillon <caillon@redhat.com>
15952 * src/NetworkManagerAP.c:
15953 * src/NetworkManagerAP.h:
15954 * src/NetworkManagerDevice.c:
15955 Set a blacklist for certain common manufacturer default ESSIDs:
15956 APs with these ESSIDs are extremely likely to be completely
15957 different networks: connecting to one should not make NM
15958 auto-connect to every other AP with the same default ESSID.
15960 2005-09-12 Christopher Aillon <caillon@redhat.com>
15962 * gnome/applet/wireless-applet.glade:
15963 The passphrase entry should also activate the default
15965 * src/gnome-keyring-md5.c: Updated code from gnome-keyring
15967 * gnome/applet/applet-dbus-devices.c:
15968 * gnome/applet/applet.c:
15969 * gnome/applet/nm-device.c:
15970 * gnome/applet/nm-device.h:
15971 * src/NetworkManagerUtils.c:
15972 * src/NetworkManagerUtils.h:
15973 * src/nm-dbus-device.c:
15974 I've got a fever, and the only cure for it is less ioctl.
15975 Make NM push IP data rather than make the applet open a socket
15978 2005-09-10 Christopher Aillon <caillon@redhat.com>
15980 * gnome/applet/applet.c:
15981 * gnome/applet/applet-dbus-devices.c:
15982 * gnome/applet/applet-dbus-info.c:
15983 * gnome/applet/passphrase-dialog.c:
15984 * gnome/libnm_glib/libnm_glib.c:
15985 * gnome/vpn-properties/nm-vpn-properties.c:
15987 * src/backends/NetworkManagerRedHat.c:
15988 * src/named-manager/nm-named-manager.c:
15989 * src/NetworkManagerAPList.c:
15990 * src/NetworkManager.c:
15991 * src/NetworkManagerDbus.c:
15992 * src/NetworkManagerDevice.c:
15993 * src/NetworkManagerPolicy.c:
15994 * src/NetworkManagerSystem.c:
15995 * src/nm-dbus-device.c:
15996 * src/nm-dbus-nm.c:
15997 * src/vpn-manager/nm-vpn-manager.c:
15998 * src/vpn-manager/nm-vpn-service.c:
15999 * test/libnm_glib_test.c:
16000 * test/nminfotest.c:
16001 * test/nmtestdevices.c:
16002 Fix a bunch of 'unused variable' compiler warnings
16004 * NetworkManager.h:
16005 * gnome/applet/applet-dbus-info.c:
16006 * gnome/applet/applet-dbus-info.h:
16007 * gnome/applet/applet.c:
16008 * gnome/applet/applet.h:
16009 * src/NetworkManager.c:
16010 * src/NetworkManagerDbus.c:
16011 * src/NetworkManagerDbus.h:
16012 * src/NetworkManagerDevice.c:
16013 * src/NetworkManagerDevice.h:
16014 * src/NetworkManagerMain.h:
16015 * src/NetworkManagerWireless.c:
16016 * src/NetworkManagerWireless.h:
16017 * src/nm-dbus-nm.c:
16018 Make NetworkManager be smart about how frequently to scan
16019 based on its current state. Remove the UI for choosing when
16020 to scan. Scanning still may disabled completely by the user
16021 via the "Wireless Enabled" menu item.
16023 2005-09-09 Christopher Aillon <caillon@redhat.com>
16025 * gnome/applet/applet.c:
16026 Also overlay the vpn connecting icons onto the wired icon,
16029 * gnome/vpn-properties/nm-vpn-properties.glade:
16030 Clean up a few strings to use better grammar and proper casing.
16032 2005-09-08 Christopher Aillon <caillon@redhat.com>
16034 * gnome/applet/vpn-connection.c:
16035 * gnome/applet/vpn-connection.h:
16036 Add nmwa_vpn_connection_is_activating ()
16038 * gnome/applet/applet.c:
16039 * gnome/applet/applet.h:
16040 * gnome/applet/icons/nm-vpn-connecting*.png:
16041 Add new VPN connecting icons from Diana Fong <dfong@redhat.com>, letting
16042 the user know something's happening between clicking the VPN item and it
16043 actually being connected.
16045 2005-09-07 Christopher Aillon <caillon@redhat.com>
16047 * gnome/applet/applet-dbus-info.c: need to free attributes in the
16048 failure case as well.
16050 2005-09-07 Rodrigo Moya <rodrigo@novell.com>
16052 * gnome/panel/eggtrayicon.[ch]:
16053 * examples/python/systray/eggtrayicon.[ch]: updated code from libegg.
16055 2005-09-07 Dan Williams <dcbw@redhat.com>
16057 Patch from Bill Moss <bmoss@clemson.edu>
16058 * src/applet-dbus.c
16059 - (nmwa_dbus_filter): strip whitespace from beginning
16060 and end of VPN login banner
16062 2005-09-07 Dan Williams <dcbw@redhat.com>
16064 * The great VPN Manager rewrite of 2005
16066 2005-09-07 Christopher Aillon <caillon@redhat.com>
16068 * gnome/applet/menu-items.c:
16069 * gnome/applet/nm-device.c:
16070 * gnome/applet/wireless-network.c:
16071 * gnome/libnm_glib/libnm_glib.c:
16072 * src/NetworkManagerDbusUtils.c:
16073 * vpn-daemons/vpnc/src/nm-vpnc-service.c:
16074 g_malloc0 doesn't return NULL
16076 2005-09-06 Dan Williams <dcbw@redhat.com>
16078 Patch from Tomislav Vujec <tvujec@redhat.com>
16079 * src/NetworkManagerDevice.c
16080 - (nm_get_device_by_udi): don't return a device when we
16081 actually didn't find what we were looking for
16083 2005-09-06 Christopher Aillon <caillon@redhat.com>
16085 * gnome/applet/applet-dbus-devices.c:
16086 * gnome/applet/applet-dbus-devices.h:
16087 * gnome/applet/applet-dbus.c:
16088 * src/NetworkManagerDbus.c:
16089 * src/NetworkManagerDbus.h:
16090 * src/NetworkManagerDevice.c:
16091 * src/nm-dbus-device.c:
16092 Make NM push updates about active device strength when it changes,
16093 rather than having the applet poll every 2s.
16095 2005-09-05 Christopher Aillon <caillon@redhat.com>
16097 * gnome/applet/applet-dbus-devices.c: Remove duplicate call to
16098 network_device_set_strength
16100 2005-09-04 Dan Williams <dcbw@redhat.com>
16102 Patch from Bill Nottingham <notting@redhat.com>
16103 * src/NetworkManagerDevice.c
16104 - (nm_device_activation_cancel): reset the quit_activation flag
16106 2005-09-04 Dan Williams <dcbw@redhat.com>
16108 * src/nm-activation-request.c
16109 - (nm_act_request_unref): actually free the structure,
16110 which we didn't seem to be doing before
16112 2005-09-04 Dan Williams <dcbw@redhat.com>
16114 Patch from John Palmieri <johnp@redhat.com>
16115 * gnome/applet/applet-dbus-devices.c
16116 - Fix up unreffing of DBusMessage objects
16118 2005-09-04 Dan Williams <dcbw@redhat.com>
16120 Patch from John Palmieri <johnp@redhat.com>
16121 * gnome/applet/nm-device.c
16122 - (nm_device_unref): clear network_device's memory _before_ freeing it
16124 2005-09-02 Christopher Aillon <caillon@redhat.com>
16126 * gnome/applet/applet.c: Use a check menu item for Wireless Enabled
16128 2005-09-02 Bill Nottingham <notting@redhat.com>
16130 * src/backends/NetworkManagerRedHat.c: use nm_warning, not nm_error
16132 2005-09-01 Dan Williams <dcbw@redhat.com>
16134 * src/NetworkManager.c
16135 - (nm_remove_device_from_list): rename to nm_remove_device
16136 - (nm_hal_device_removed): call nm_remove_device()
16138 * src/NetworkManagerDevice.c
16139 - Change the NMWirelessScanCB member 'reschedule' which
16140 wasn't used to 'force' to indicate that we need to
16141 force a scan when adding a device
16144 - (nm_dbus_nm_sleep): Deactivate all devices and remove them
16145 from the device list
16146 - (nm_dbus_nm_wake): Re-add all devices to the device list
16148 2005-09-01 Robert Love <rml@novell.com>
16150 * gnome/applet/applet.c: nmwa_update_info: iface is used uninitialized
16151 and the check "!iface" in the error case is probably never true.
16153 2005-09-01 Dan Williams <dcbw@redhat.com>
16155 Patch from Bill Nottingham <notting@redhat.com>
16156 * src/backends/NetworkManagerRedHat.c
16157 - Add initial dialup support to Red Hat/Fedora backend
16159 2005-09-01 Dan Williams <dcbw@redhat.com>
16161 * gnome/applet/applet-dbus-devices.c
16162 - Sort both wireless networks and devices again, which got
16163 broken when removing threading
16165 2005-09-01 Christopher Aillon <caillon@redhat.com>
16167 * gnome/applet/applet.c:
16168 Only show the "Stop/Start All Wireless Devices" menuitem
16169 if we actually have wireless devices.
16171 * gnome/applet/applet-dbus-info.c:
16172 * gnome/applet/applet.c:
16173 * gnome/applet/other-network-dialog.c:
16174 * gnome/applet/vpn-password-dialog.c:
16175 Drop the gtk_dialog_run () calls in favor of connecting to
16176 "response" signals, needed now that the applet is not threaded.
16178 2005-08-31 Dan Williams <dcbw@redhat.com>
16180 Patch from Bill Moss <bmoss@clemson.edu>
16181 * src/NetworkManagerDevice.c
16182 - (nm_device_wireless_scan): fix scan timeout values
16184 2005-08-30 Dan Williams <dcbw@redhat.com>
16186 * gnome/applet/wireless-applet.glade
16187 - HIG-ify the Other Wireless Networks dialog a bit more
16188 - Fix some potential segfaults in the info dialog
16190 2005-08-30 Dan Williams <dcbw@redhat.com>
16192 * gnome/applet/applet-dbus-devices.c
16193 - Remove nmwa_dbus_get_hal_device_string_property(); unused
16195 2005-08-30 Dan Williams <dcbw@redhat.com>
16197 * gnome/applet/applet-dbus.[ch]
16198 - Remove all the nmwa_dbus_call_method_xxxx functions since
16199 they weren't being used anyway
16201 2005-08-30 Bastien Nocera <hadess@hadess.net>
16203 * test/nmtestdevices.c: (print_usage), (main):
16204 Check the number of arguments, and fix a typo
16206 2005-08-29 Dan Williams <dcbw@redhat.com>
16208 Patch from Dumitru Ciobarcianu <Dumitru.Ciobarcianu@iNES.RO>
16209 * gnome/applet/applet.c
16210 - Define GTK_STOCK_INFO for GTK 2.6 and lower
16212 2005-08-29 Dan Williams <dcbw@redhat.com>
16215 - Don't use threads any more. Anything that blocks
16216 (like gtk_dialog_run()) will have to get fixed up which
16217 should happen quickly. We really only had threads to make
16218 the animation smooth, and when everything got converted over
16219 to DBus Pending Calls, the need for threads kind of went away
16221 2005-08-29 Christopher Aillon <caillon@redhat.com>
16223 * gnome/applet/applet.c: Draw VPN connections as radio items
16224 since we don't yet support multiple VPNs.
16225 * gnome/applet/other-network-dialog.c: Use stock icon for Connect
16226 * gnome/vpn-properties/nm-vpn-properties.c: Use stock icon for Delete
16228 2005-08-29 Dan Williams <dcbw@redhat.com>
16230 Patch from j@bootlab.org
16231 - Make --without-named work
16232 - Make --with-dhcdbd work correctly
16234 2005-08-27 Josep Puigdemont i Casamajó <josep.puigdemont@gmail.com>
16236 * configure.in: Added "ca" to ALL_LINGUAS.
16238 2005-08-26 Christopher Aillon <caillon@redhat.com>
16240 * Fix up VPN state handling between the applet and NetworkManager,
16241 so that the applet doesn't show a VPN as connected when one
16243 - The applet no longer has a pointer to the active VPN's
16244 name, but tracks each VPNs state individually
16245 - NM no longer has a "getActiveVPNConnection" method
16246 - NM no longer broadcasts the "VPNConnectionChange" signal
16247 - NM now broadcasts a "VPNConnectionStateChange" signal
16248 whenever the state of a VPN changes
16250 2005-08-26 Dan Williams <dcbw@redhat.com>
16252 * gnome/applet/applet-dbus-devices.c
16253 gnome/applet/applet-dbus-vpn.c
16254 - Remove calls to dbus_pending_call_ref() because we already
16255 "own" the pending call
16256 - Remove calls to dbus_pending_call_get_completed() because
16257 when we are in the callback, the pending call is completed
16260 2005-08-22 Dan Williams <dcbw@redhat.com>
16262 Patch by Bill Moss <bmoss@clemson.edu>
16263 * src/dhcp-manager/nm-dhcp-manager.c
16264 - (nm_dhcp_manager_cancel_transaction): Give dhcdbd/dhclient
16265 some time to send out a RELEASE if they like
16267 2005-08-22 Dan Williams <dcbw@redhat.com>
16269 Noticed by Bill Moss <bmoss@clemson.edu>
16270 * src/NetworkManagerDbus.c
16271 - (nm_dbus_get_user_key_for_network_cb): deactivate the device
16272 instead of just cancelling its activation
16274 * src/NetworkManagerDevice.c
16275 - (nm_device_deactivate): some small cleanups
16276 - (nm_device_set_user_key_for_network): deactivate the device
16277 instead of just cancelling its activation
16279 2005-08-22 Dan Williams <dcbw@redhat.com>
16281 Noticed by Bill Moss <bmoss@clemson.edu>
16282 * src/NetworkManagerDevice.c
16283 - (nm_device_wireless_scan): fix scan timeout, we were
16284 waiting way too long for scans to complete
16286 2005-08-22 Dan Williams <dcbw@redhat.com>
16288 Patch from j@bootlab.org:
16289 * src/backends/NetworkManagerDebian.c
16290 - Make the Debian backend work for static IP again
16292 2005-08-20 Christopher Aillon <caillon@redhat.com>
16294 * gnome/applet/other-network-dialog.c:
16295 The "Create New Network" and "Connect to Other Network"
16296 dialogs share alot of code, but shouldn't share a window
16297 title. Give them different ones.
16299 * gnome/applet/wireless-applet.glade:
16300 * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
16301 Some more minor UI tweaks.
16303 2005-08-19 Christopher Aillon <caillon@redhat.com>
16305 * gnome/applet/other-network-dialog.c:
16306 * gnome/applet/wireless-applet.glade:
16307 Also need mnemonic widgets, and underline enabled.
16309 2005-08-19 Dan Williams <dcbw@redhat.com>
16311 * vpn-daemons/vpnc/nm-vpnc-service.c
16312 - (vpnc_watch_cb): remove no-longer-relevant comment
16313 - (write_config_option): new function, helper to write
16314 config options to vpnc's stdin
16315 - (nm_vpnc_config_write): use the new helper, make the
16318 2005-08-19 Christopher Aillon <caillon@redhat.com>
16320 * gnome/applet/passphrase-dialog.c:
16321 * gnome/applet/wireless-applet.glade:
16322 Make the passphrase dialog response based, and treat
16323 responses other than OK (such as Esc, [X]) as a cancel.
16325 2005-08-18 Christopher Aillon <caillon@redhat.com>
16327 * initscript/Gentoo/NetworkManager:
16328 * initscript/RedHat/NetworkManager:
16329 * initscript/RedHat/NetworkManagerDispatcher:
16330 * initscript/SUSE/networkmanager:
16331 CVS remove these in place of .in replacements
16334 * initscript/Gentoo/NetworkManager.in:
16335 * initscript/RedHat/NetworkManager.in:
16336 * initscript/RedHat/NetworkManagerDispatcher.in:
16337 * initscript/SUSE/networkmanager.in:
16338 These scripts now are generated so they work still when
16339 NM is built using a bindir other than /usr/bin
16341 2005-08-18 Dan Williams <dcbw@redhat.com>
16343 * gnome/applet/main.c
16344 - Revert previous change for --no-session since
16345 --sm-disable does the same thing
16347 2005-08-18 Dan Williams <dcbw@redhat.com>
16349 * gnome/applet/applet-dbus-info.c
16350 - (nmi_dbus_create_error_message): new function
16351 - (nmi_dbus_get_key_for_network): correctly use dbus error creation
16352 functions. Also don't check for both device _and_ network before
16353 asking for a user's key, because we may not have gotten all our
16354 networks back from NM quite yet (due to the dbus pending calls
16355 coming in later). Fixes a hang in NM/nm-applet.
16357 * src/NetworkManagerDbus.c
16358 - (nm_dbus_get_user_key_for_network_cb): handle error conditions in a
16359 slightly more sane manner, even though we are still broken for
16360 certain other error conditions.
16361 - (nm_dbus_get_user_key_for_network): need to pass the network's essid
16362 to the info-daemon too
16364 * src/NetworkManagerDevice.c
16365 - Fix some debug messages to be info messages instead
16367 2005-08-18 Dan Williams <dcbw@redhat.com>
16369 * gnome/applet/main.c
16370 - Add new "--no-session" parameter that disables applet
16371 session management, ie for testing
16373 2005-08-18 Christopher Aillon <caillon@redhat.com>
16375 * gnome/applet/other-network-dialog.c:
16376 * gnome/applet/wireless-applet.glade: More mnemonics
16378 2005-08-17 Robert Love <rml@novell.com>
16380 * initscript/SUSE/networkmanager: update
16382 2005-08-17 Dan Williams <dcbw@redhat.com>
16384 * Tag NM_0_4_1_RELEASE
16386 2005-08-17 Christopher Aillon <caillon@redhat.com>
16388 * gnome/applet/applet.c: More translatable string cleanup
16391 2005-08-17 Dan Williams <dcbw@redhat.com>
16393 * gnome/applet/applet-dbus-info.c
16394 - (nmi_dbus_get_key_for_network): Grab new "new_key" parameter
16395 from the dbus message, which tells us to unconditionally
16396 ask the user for a new key. Otherwise, we pull the key from
16397 the keyring and return it. If we fail to get the key from the
16398 keyring, we ask the user for a new key.
16399 - (nmi_dbus_get_network_key): new function to grab the key for
16400 an essid from the keyring.
16401 - (nmi_dbus_get_network_properties): don't access the keyring here.
16402 Also, don't return any key in the dbus message.
16404 * src/NetworkManagerDbus.[ch]
16405 - (nm_dbus_get_user_key_for_network): Add "new_key" parameter to
16406 indicate that we unconditionally want a new key. This function
16407 is now also used to get keys from the info-daemon which are
16408 pre-stored, not just for asking the user for a new key. The
16409 "new_key" parameter indicates whether or not we wish to ask the
16410 user for a new key.
16411 - (nm_dbus_get_network_data_cb): we no longer get a key from the
16412 info-daemon in the return message, so use NULL instead. The
16413 key will be filled in at connect time by calling
16414 nm_dbus_get_user_key_for_network()
16416 * src/NetworkManagerDevice.c
16417 - (nm_device_wireless_configure): update for "new_key" param to
16418 nm_dbus_get_user_key_for_network(). We initially set new_key
16419 to FALSE to see if we have a stored key in the info-daemon, but
16420 if the connection is unsuccessful at this stage we request a
16423 2005-08-17 Dan Williams <dcbw@redhat.com>
16425 * gnome/applet/icons/nm-no-connection.png
16426 gnome/applet/icons/nm-device-wired.png
16427 - Use Diana's new RJ45 connector icons
16429 2005-08-17 Dan Williams <dcbw@redhat.com>
16431 * src/NetworkManagerPolicy.c
16432 - (nm_policy_device_change_check): clarify switching rules if
16433 both new and old devices are valid; mainly, don't switch
16434 away from user-requested wireless connection back to a wired
16437 2005-08-17 Dan Williams <dcbw@redhat.com>
16439 * gnome/applet/Makefile.am
16440 - Relocate the applet to /usr/bin since it is no longer
16441 executed by anything, but directly by the user
16443 2005-08-17 Dan Williams <dcbw@redhat.com>
16445 Patch from Bill Moss <bmoss@clemson.edu>
16447 * gnome/applet/applet-dbus-info.[ch]
16448 - (nmi_save_network_info): save timestamp for network if it
16449 was a change requested by the user
16450 - (nmi_dbus_update_network_info): get user_requested from dbus
16451 message and pass to nmi_save_network_info()
16453 * gnome/applet/applet.c
16454 - (nmwa_update_network_timestamp): remove
16455 - (nmwa_menu_item_activate): don't set timestamp on networks
16456 here, only after a successful connect in nmi_save_network_info()
16458 * src/NetworkManagerDbus.[ch]
16459 - (nm_dbus_update_network_info): pass user_requested into the
16462 * src/NetworkManagerPolicy.c
16463 - (nm_policy_activation_finish): pass user_requested to
16464 nm_dbus_update_network_info()
16466 2005-08-16 Robert Love <rml@novell.com>
16468 * gnome/applet/applet.c: Better "Dial Up" menu item.
16470 2005-08-16 Robert Love <rml@novell.com>
16472 * gnome/applet/applet.c: use GTK_STOCK_INFO not PROPERTIES for the
16473 "Connection Information" menu item.
16475 2005-08-16 Dan Williams <dcbw@redhat.com>
16477 Patch from j@bootlab.org
16478 * vpn-daemons/vpnc/Makefile.am: Fix for autoreconf
16480 * configure.in: allow specifying the path to dhcdbd
16482 2005-08-16 Robert Love <rml@novell.com>
16484 Patch from j@bootlab.org
16485 * src/backends/NetworkManagerDebian.c, src/backends/interface_parser.c,
16486 src/backends/interface_parser.h: Debian dialup support.
16488 2005-08-16 Christopher Aillon <caillon@redhat.com>
16490 * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
16491 * gnome/applet/applet.c: Add some mnemonics for VPNC
16493 * vpn-daemons/.cvsignore: fix this up a little bit
16495 2005-08-16 Robert Love <rml@novell.com>
16497 * src/backends/NetworkManagerSuSE.c: improve the SUSE-backend dial up
16500 2005-08-16 Christopher Aillon <caillon@redhat.com>
16502 * gnome/applet/applet.c: Split markup out of translatable strings
16503 and clean up logic a little bit. (fixes #309012)
16505 2005-08-15 Christopher Aillon <caillon@redhat.com>
16507 * gnome/vpn-properties/nm-vpn-properties.c:
16508 * gnome/vpn-properties/nm-vpn-ui-interface.h:
16509 * vpn-daemons/vpnc/properties/nm-vpnc.c:
16510 Makeshift fix to remove newlines from translatable strings.
16511 Note that we now return an allocated string, so callers of
16512 get_confirmation_details () must now call g_free () on the
16513 result. (fixes #309033).
16515 2005-08-12 Robert Love <rml@novell.com>
16517 * gnome/applet/applet-dbus.c: remove newlines from translatable
16518 strings--not needed here anyway. (fix b.g.o #309011)
16519 * src/nm-netlink.monitor.c: don't translate "%s" (fix b.g.o #172391)
16521 2005-08-11 Robert Love <rml@novell.com>
16523 * gnome/applet/applet.c: mark string as translatable.
16525 2005-08-11 Robert Love <rml@novell.com>
16527 * initscript/SUSE/networkmanager: update.
16529 2005-08-11 Dan Williams <dcbw@redhat.com>
16531 * src/nm-dhcp-manager.c
16532 - (nm_dhcp_manager_get_ip4_config): if for some reason we don't get
16533 an gateway returned from DHCP, try to use the address of the DHCP
16534 server as the gateway instead. Found by Ralf Ertzinger.
16536 2005-08-10 Robert Love <rml@novell.com>
16538 * gnome/applet/applet.c: Make applet->dbus_thread joinable so we can
16539 wait for it on exit; call exit() in nmwa_destroy() to jump ship.
16541 2005-08-10 Dan Williams <dcbw@redhat.com>
16543 Patch from Bill Moss <bmoss@clemson.edu>
16544 * Consolidate writes of access point information updates to the info daemon
16545 so that we only do it when the connection to the access point was
16546 successful. Also consolidates updates to GConf in the Gnome applet.
16548 * src/nm-netlink-monitor.c
16549 - Silence compile warning when calling g_object_new()
16551 2005-08-08 Dan Williams <dcbw@redhat.com>
16553 Patch from Steev <steev@steev.net>:
16554 * src/backends/NetworkManagerGentoo.c
16555 - Stub new dialup backend functions
16557 2005-08-08 Dan Williams <dcbw@redhat.com>
16559 Patch from Colin Slater:
16560 * src/backends/NetworkManagerGentoo.c
16561 - (nm_system_update_dns): Fix exit status check for restarting
16564 2005-08-05 Robert Love <rml@novell.com>
16566 * NetworkManager.h,
16567 gnome/applet/applet-dbus-devices.c,
16568 gnome/applet/applet-dbus-devices.h,
16569 gnome/applet/applet-dbus.c,
16570 gnome/applet/applet.c,
16571 gnome/applet/applet.h,
16572 src/NetworkManager.c,
16573 src/NetworkManagerMain.h,
16574 src/NetworkManagerSystem.h,
16575 src/backends/NetworkManagerRedHat.c,
16576 src/backends/NetworkManagerSuSE.c,
16577 src/nm-dbus-nm.c: basic dialup support using distro infrastructure
16579 2005-08-05 Robert Love <rml@novell.com>
16581 * gnome/applet/other-network-dialog.c: default the adhoc network to the
16582 machine's hostname to make adhoc creation idiot-proof.
16584 2005-08-04 Robert Love <rml@novell.com>
16586 * gnome/applet/other-network-dialog.c: fix leak. "label" needs to be
16589 2005-08-04 Dan Williams <dcbw@redhat.com>
16591 * gnome/applet/applet-dbus-info.c
16592 gnome/applet/applet-dbus-info.h
16593 - (nmi_dbus_update_network_auth_method->nmi_save_network_info): generalize
16594 to store key, key type, and auth method rather than just auth method
16595 - (nmi_dbus_update_network_info): new function
16596 - (nmi_dbus_info_message_handler): updateNetworkAuthMethod -> updateNetworkInfo
16598 * gnome/applet/passphrase-dialog.c
16599 - (nmi_passphrase_dialog_ok_clicked): call nmi_save_network_info() instead
16600 of saving the info ourselves
16602 * gnome/libnm_glib/libnm_glib.c
16603 - Remove the stupid version check for dbus
16605 * src/NetworkManagerAP.c
16606 src/NetworkManagerAP.h
16607 - (nm_ap_get_enc_key_source): return 'const char *' rather than 'char *'
16609 * src/NetworkManagerDbus.c
16610 src/NetworkManagerDbus.h
16611 - (nm_dbus_update_network_auth_method -> nm_dbus_update_network_info): Update
16612 more than just the auth method
16614 * src/NetworkManagerDevice.c
16615 - Update network info at the appropriate times
16617 2005-07-29 Ray Strode <rstrode@redhat.com>
16619 * src/NetworkManager.c (nm_info_handler): don't use input as format
16620 string (Spotted by Ian Jackson).
16622 2005-07-27 Dan Williams <dcbw@redhat.com>
16626 - Random cleanups of spacing
16628 * gnome/applet/applet.h
16629 gnome/applet/other-network-dialog.c
16630 gnome/applet/passphrase-dialog.c
16631 - Conslidate usage of NMWAEncryptionKeyTypes enum
16633 Patch from Bill Moss:
16634 - Make Other Wireless Networks work again with encryption keys
16636 2005-07-26 Dan Williams <dcbw@redhat.com>
16638 Patch from Steev <steev@steev.net>:
16639 * src/backends/NetworkManagerGentoo.c
16640 src/backends/Makefile.am
16641 - Fix up Gentoo backend
16643 2005-07-26 Robert Love <rml@novell.com>
16645 * src/backends/NetworkManagerSuSE.c: misc. cleanup
16647 2005-07-25 Robert Love <rml@novell.com>
16649 * gnome/applet/applet.c: make the "Wired" menu item a radio button,
16650 in the same group as the wireless networks, since they are all
16651 mutually exclusive.
16653 2005-07-24 Ray Strode <rstrode@redhat.com>
16655 * src/nm-netlink-monitor.c (nm_netlink_monitor_new):
16656 remove unneeded NULL arg from g_object_new(). Any
16657 warnings caused by not having the extra NULL are just a
16658 result of a bug in glib 2.7.0 - 2.7.2.
16660 2005-07-22 Robert Love <rml@novell.com>
16662 * gnome/libnm_glib/libnm_glib.c: support D-BUS version 0.35, too
16664 2005-07-22 Robert Love <rml@novell.com>
16666 * src/nm-netlink-monitor.c: g_object_new() needs at least three
16667 parameters (gcc 4.0.2 warning fix).
16669 2005-07-18 Robert Love <rml@novell.com>
16671 Suggested by Aaron Bockover (abockover@novell.com)
16672 * gnome/applet/other-network-dialog.c: ASCII is an acronym, thus
16674 * gnome/applet/passphrase-dialog.c: ditto
16675 * gnome/applet/wireless-applet.glade: ditto
16677 2005-07-13 Dan Williams <dcbw@redhat.com>
16679 Patch from Ray Strode <halfline@gmail.com>
16680 * vpn-daemons/vpnc/nm-vpnc-service.c
16681 - Don't let vpnc daemonize, fixes some races with PID file reading
16683 2005-07-13 Dan Williams <dcbw@redhat.com>
16685 Patch from Ray Strode <halfline@gmail.com>
16686 * Random cleanups for strict CFLAGS
16688 2005-07-07 Dan Williams <dcbw@redhat.com>
16690 Patch from Derek Atkins <warlord@MIT.EDU>
16691 * src/nm-dbus-net.c:
16692 - (nm_dbus_get_ap_from_object_path): differentiate similar ESSIDs
16694 2005-07-07 Dan Williams <dcbw@redhat.com>
16696 Patch from Jos Dehaes <jos_dehaes@fastmail.fm>
16697 * src/backends/NetworkManagerGentoo.c
16698 - Gentoo backend Static IP nameserver fixes
16699 - General Gentoo backend goodness
16701 2005-07-07 Dan Williams <dcbw@redhat.com>
16703 Patch from Bastien Nocera:
16704 * gnome/applet/applet.c
16705 - Fix up error reporting when icons or glade files are missing
16707 2005-07-07 Robert Love <rml@novell.com>
16709 * gnome/applet/applet.c: do not draw the VPN menu's seperator if there
16710 are not any VPN connections above it.
16712 2005-07-07 Robert Love <rml@novell.com>
16714 * gnome/applet/applet.c: whoops, left some "dog" debugging code in.
16716 2005-07-05 Robert Love <rml@novell.com>
16718 * src/NetworkManagerSystem.c: bail out if asked to set a gateway of
16721 2005-07-05 Robert Love <rml@novell.com>
16723 * src/NetworkManagerDevice.c: use link-local (autoip) on DHCP failure
16724 on wired or unencrypted wireless.
16726 2005-07-01 Robert Love <rml@novell.com>
16728 * src/NetworkManagerSystem.c: Print the error via strerror().
16730 2005-06-30 Robert Love <rml@novell.com>
16732 * gnome/vpn-properties/nm-vpn-properties.c: display an error dialog and
16733 then exit if the glade file is not found. currently the application
16736 2005-06-30 Robert Love <rml@novell.com>
16738 * src/nm-dbus-nm.c: Patch by Bill Moss <bmoss@clemson.edu> to
16739 explicitly up all interfaces on wake from sleep.
16741 2005-06-30 Robert Love <rml@novell.com>
16743 * gnome/applet/applet.c: Add right-click menu item "Connection Info"
16744 with information about the currently active connection.
16745 * gnome/applet/applet.h: (ditto)
16746 * gnome/applet/wireless-applet.glade: (ditto), new file
16748 2005-06-30 Robert Love <rml@novell.com>
16750 * src/NetworkManagerDevice.c: g_malloc0 cannot fail.
16751 * src/nm-dbus-nm.c: print when we sleep and wake up.
16752 * gnome/applet/menu-items.c: whitespace, misc. cleanup.
16753 * configure.in: look in "/usr/sbin" for dhcdbd, too. (it shouldn't be
16754 in /sbin unless D-BUS is, folks).
16755 * README: update to reflect nm-applet replacing NetworkManagerInfo.
16757 2005-06-27 Robert Love <rml@novell.com>
16759 * src/nm-dbus-nm.c: fix "setWirelessEnabled" call for the enabling
16762 2005-06-27 Robert Love <rml@novell.com>
16764 * gnome/applet/applet.c: make the 'Wireless Network Discovery' menu
16767 2005-06-26 Robert Love <rml@novell.com>
16769 * src/NetworkManagerDevice.c: be specific about which device in
16772 2005-06-23 Adam Weinberger <adamw@gnome.org>
16774 * src/nm-netlink-monitor.c: correct spelling error.
16776 2005-06-23 Robert Love <rml@novell.com>
16778 * gnome/applet/applet-dbus-info.c: gnome keyring support!
16779 * gnome/applet/passphrase-dialog.c: more of that keyring!
16781 2005-06-23 Robert Love <rml@novell.com>
16783 * configure.in: remove extraneous GNOMEKEYRING directives.
16784 * gnome/applet/Makefile.am: s/GNOMEKEYRING/GNOME_KEYRING/.
16785 * gnome/applet/applet.c: nmwa_icons_init: make style local.
16786 * gnome/applet/passphrase-dialog.c: whitespace.
16788 2005-06-23 Robert Love <rml@novell.com>
16790 * src/NetworkManagerDevice.c: division in assignment was flipped.
16792 2005-06-23 David Zeuthen <david@fubar.dk>
16794 * gnome/applet/vpn-password-dialog.c (child_stdout_data_cb): Send a
16795 signal to the child to indicate that we got what we wanted when we
16796 see two new-lines right after each other.
16797 (nmwa_vpn_request_password): Pass a structure with several members
16798 instead of just the passwords
16800 2005-06-23 Dan Williams <dcbw@redhat.com>
16802 * src/NetworkManager.c
16803 src/NetworkManagerMain.h
16804 - (nm_get_hal_ctx): new function, move Hal initialization code here
16805 - (nm_hal_init): new function, init libhal context then add devices
16806 - (nm_hal_deinit): new function, clean up libhal context
16807 - (nm_data_free): Move Hal cleanup here
16808 - (main): check whether Hal is running, and if so, get a list of
16809 network devices from it
16811 * src/NetworkManagerDbus.c
16812 - (nm_dbus_signal_filter): trap NameOwnerChanged signals for Hal,
16813 and when it appears, get a list of network devices from it. If
16814 Hal goes away, clean up the libhal context
16816 2005-06-22 Robert Love <rml@novell.com>
16818 * dispatcher-daemon/NetworkManagerDispatcher.c: fix FIXME: check
16819 permissions of scripts before executing.
16821 2005-06-21 Robert Love <rml@novell.com>
16823 * initscript/SUSE/networkmanager: update.
16824 * src/backends/NetworkManagerSuSE.c: cleanup.
16826 2005-06-21 Robert Love <rml@novell.com>
16828 * gnome/applet/applet.c: use menu mnemonics.
16829 * gnome/applet/menu-items.c: (ditto)
16831 2005-06-21 Robert Love <rml@novell.com>
16833 * applet/applet-dbus-devices.c: mark non-static functions static.
16834 * applet/applet-dbus-vpn.c: (ditto)
16835 * applet/applet.c: (ditto)
16836 * applet/nm-device.h: (ditto)
16837 * applet/other-network-dialog.c: (ditto)
16838 * applet/passphrase-dialog.c: (ditto)
16839 * NetworkManager.c: (ditto)
16840 * NetworkManagerDbus.c: (ditto)
16841 * NetworkManagerDevice.c: (ditto)
16842 * NetworkManagerPolicy.c: (ditto)
16843 * NetworkManagerUtils.c: (ditto)
16844 * NetworkManagerWireless.c: (ditto)
16845 * NetworkManagerWireless.h: (ditto)
16846 * nm-netlink-monitor.c: (ditto)
16847 * applet/applet-dbus-info.c: (ditto), add FIXME's.
16848 * vpn-manager/nm-dbus-vpn.c: (ditto), remove shadowed variable.
16849 * autoip.c: include autoip.h.
16850 * autoip.h: new file. define get_autoip().
16851 * nm-netlink-monitor.h: define nm_netlink_close_connection().
16852 * NetworkManagerDbus.h: remove duplicate definitions.
16854 2005-06-20 Robert Love <rml@novell.com>
16856 * Makefile.am: Add missing intltool-foo.in generated files to
16857 EXTRA_DIST so that 'distcheck' works. Also add DISTCLEANFILES
16858 with the start of stuff to cleanup on 'distclea'.
16859 * configure.in: add AC_PROG_INTLTOOL macro so that we do the intltool
16860 stuff right and 'distcheck' works.
16861 * po/POTFILES.in: Remove examples/python/systray/eggtrayicon.c. If
16862 we keep it, we need to add all of examples/* to EXTRA_DIST and do
16863 Makefile.am for each. And systray/Makefile needs to be redone.
16865 2005-06-19 Dan Williams <dcbw@redhat.com>
16867 * src/NetworkManagerDevice.c
16868 - (nm_device_wireless_process_scan_results): scan every 20s when
16869 disconnected and scanning is ALWAYS_SCAN or WHEN_UNASSOCIATED
16871 2005-06-19 Dan Williams <dcbw@redhat.com>
16873 * WEXT_DEBUG->IOCTL_DEBUG, extend checking to all ioctl() calls
16875 2005-06-18 Ray Strode <rstrode@redhat.com>
16877 * src/nm-netlink-monitor.c
16878 (nm_netlink_monitor_event_handler): check for the presence
16879 of either error condition not both.
16881 (nm_netlink_monitor_error_handler): emit error signal if
16884 (nm_netlink_monitor_event_handler),
16885 (nm_netlink_monitor_error_handler),
16886 (nm_netlink_monitor_disconnect_handler): if an
16887 assertion fails disconnect the event handler to prevent
16890 * src/nm-netlink-monitor.h: add new error condition
16891 NM_NETLINK_MONITOR_ERROR_WAITING_FOR_SOCKET_DATA
16893 2005-06-18 Ray Strode <rstrode@redhat.com>
16895 * src/nm-netlink-monitor.c
16896 (nm_netlink_monitor_event_handler): remove bogus < 0
16897 check on unsigned value and return early if the kernel
16898 didn't send any bytes.
16900 2005-06-17 Robert Love <rml@novell.com>
16902 * initscript/SUSE/networkmanager: Change the Provides and default
16905 2005-06-16 Dan Williams <dcbw@redhat.com>
16907 Patch from Robert Love:
16908 * gnome/applet/applet.c
16909 - Beautify some applet menu item names
16911 2005-06-17 David Zeuthen <davidz@redhat.com>
16913 * gnome/vpn-properties/nm-vpn-ui-interface.h: Require users of this
16914 API to define NM_VPN_API_SUBJECT_TO_CHANGE to acknowledge API churn.
16915 Also add new methods can_export, import_file and export.
16917 * gnome/vpn-properties/nm-vpn-properties.glade: Add an Export button
16920 * gnome/vpn-properties/nm-vpn-properties.c:
16921 Define NM_VPN_API_SUBJECT_TO_CHANGE so we can actually include
16922 nm-vpn-ui-interface.h.
16923 (update_edit_del_sensitivity): Also update "Export" sensitivity
16924 (add_vpn_connection): Also add new SVC_NAME column
16925 (import_settings): New function
16926 (retrieve_data_from_selected_connection): New function
16927 (edit_cb): Use retrieve_data_from_selected_connection to simplify
16929 (export_cb): New function
16930 (init_app): Also setup the "export" widget
16931 (main): Support the --import-service and --import-file commandline
16934 * gnome/libnm_glib/libnm_glib.c (libnm_glib_dbus_filter): Also support
16937 2005-06-16 Dan Williams <dcbw@redhat.com>
16939 Patch from Robert Love:
16940 * gnome/applet/menu-items.c
16941 - (network_menu_item_new): pass -1 as wireless network
16942 menu items height size request rather than ascent / 2
16944 2005-06-16 Dan Williams <dcbw@redhat.com>
16946 * Clean up wording in Wireless Scan Methods menu items and constants
16948 2005-06-16 Robert Love <rml@novell.com>
16951 - remove gtkcell* files
16953 2005-06-15 Dan Williams <dcbw@redhat.com>
16955 Patch from Robert Love: make the applet stetic
16957 * gnome/applet/Makefile.am
16958 - Don't compile the gtkcellview and gtkcellrendererprogress files
16960 * gnome/applet/gtkcellview.h
16961 gnome/applet/gtkcellview.c
16962 gnome/applet/gtkcellrendererprogress.h
16963 gnome/applet/gtkcellrendererprogress.c
16966 * gnome/applet/menu-items.c
16967 - Progress bars are 5:1 size ratio
16968 - Use GTK progress bars rather than internal ones
16970 2005-06-15 Dan Williams <dcbw@redhat.com>
16972 Patch from Robert Love:
16973 * initscript/SUSE/networkmanager
16976 2005-06-15 Dan Williams <dcbw@redhat.com>
16978 * src/backends/NetworkManagerSuSE.c
16979 src/backends/NetworkManagerRedHat.c
16980 src/backends/NetworkManagerDebian.c
16981 - (set_ip4_config_from_resolv_conf): Fix typo I made, '==' -> '='
16983 2005-06-15 Dan Williams <dcbw@redhat.com>
16985 * src/backends/NetworkManagerDebian.c
16986 - Add nm_system_device_get_use_dhcp() to debian backend
16988 Patch from Kay Sievers:
16989 * src/backends/NetworkManagerSuSE.c
16990 - Update debian backend for static IP nameservers
16992 * src/NetworkManagerDevice.c
16993 - Actually set the device to use static IP or DHCP rather
16996 2005-06-15 Dan Williams <dcbw@redhat.com>
16998 Patch from Thom May:
16999 * src/backends/NetworkManagerDebian.c
17000 - Update debian backend for static IP nameservers
17002 2005-06-15 Dan Williams <dcbw@redhat.com>
17004 Patches from Robert Love:
17005 * gnome/applet/wireless-applet.glade
17006 - Tighten up wording
17008 * src/NetworkManagerDevice.c
17009 - Remove misplaced ';'
17012 initscript/Makefile.am
17013 initscript/SUSE/Makefile.am
17014 initscript/SUSE/networkmanager
17015 - Add SUSE initscript
17017 2005-06-12 David Zeuthen <davidz@redhat.com>
17019 * gnome/vpn-properties/nm-vpn-ui-interface.h: New file
17021 * gnome/vpn-properties/nm-vpn-properties.glade: New file
17023 * gnome/vpn-properties/nm-vpn-properties.c: New file
17025 * gnome/vpn-properties/Makefile.am: New file
17027 * src/vpn-manager/nm-vpn-manager.h: Rework prototypes to take an
17030 * src/vpn-manager/nm-vpn-manager.c
17031 (nm_vpn_manager_activate_vpn_connection): Take an array of passwords
17032 instead of just a single one
17034 * src/vpn-manager/nm-dbus-vpn.c:
17035 (nm_dbus_vpn_get_vpn_connection_properties): Also append service_name
17037 (nm_dbus_vpn_activate_connection): Rework to take an array of passwords
17039 * gnome/applet/vpn-password-dialog.h (nmwa_vpn_request_password):
17040 Change the interface here to give a list of passwords. Also, don't
17041 require username, but do require service
17043 * gnome/applet/vpn-password-dialog.c: Look up the VPN .name files for
17044 the binary for the auth-dialog and use that instead of putting up a
17045 dialog asking for a single password
17047 * gnome/applet/vpn-connection.[ch]: Don't remember the user_name,
17048 however do remember the service
17050 * gnome/applet/main.c (main): Setup i18n
17052 * gnome/applet/applet.c (nmwa_update_state): Add a line "VPN
17053 connection to '%s'" to the tooltip if we are connected using VPN
17054 (nmwa_menu_vpn_item_activate): Check last_attempt_success gconf
17055 key to determine whether we the auth-dialog needs to
17056 reprompt. Also cope with the fact that the auth-dialog now returns
17057 an array of passwords.
17058 (nmwa_menu_configure_vpn_item_activate): New handler for
17059 "Configure VPN..." menu item
17060 (nmwa_menu_add_vpn_menu): Add the "Configure VPN..." menu item
17061 (is_vpn_available): New function to determine if we got any
17062 NM-compatible VPN software installed
17063 (nmwa_menu_add_devices): Use is_vpn_available to add VPN menu
17064 items only if we have NM-compatible VPN software installed
17065 (nmwa_gconf_vpn_connections_notify_callback): Slightly rework the
17066 logic for detecting when VPN connections are removed
17068 * gnome/applet/applet-dbus.h: Removed the prototypes for
17069 nmwa_dbus_vpn_activate_connection, nmwa_dbus_vpn_deactivate_connection
17070 since these are defined elsewhere
17072 * gnome/applet/applet-dbus.c (set_vpn_last_attempt_status): New
17073 function used to keep track of whether the last attempt succeded
17074 (nmwa_dbus_filter): Update last_attempt according to whether the
17075 VPN connection could be established or not
17077 * gnome/applet/applet-dbus-vpn.h (nmwa_dbus_vpn_deactivate_connection):
17078 Change prototype to take an array of passwords, not just a single
17081 * gnome/applet/applet-dbus-vpn.c (nmwa_dbus_vpn_properties_cb): Only
17082 update service, not user
17083 (nmwa_dbus_vpn_remove_one_vpn_connection): Check that applet->
17084 dbus_active_vpn_name is not NULL before using it
17085 (nmwa_dbus_vpn_activate_connection): Send the passwords as a
17086 string array instead of assuming a single password
17088 * gnome/applet/applet-dbus-info.c:
17089 (nmi_dbus_get_vpn_connection_properties): Use the logged in user for
17090 user name; don't read from gconf
17092 * gnome/applet/Makefile.am: Also export SYSCONFDIR and
17095 * gnome/Makefile.am (SUBDIRS): Add vpn-properties
17097 * configure.in: Add checks for gmodule-2.0.
17098 Generate gnome/vpn-properties/Makefile. Don't generate any Makefile's
17099 in vpn-daemons nor vpn-daemons/vpnc. We have separate autotooled
17100 projects under vpn-daemons now. See vpn-daemons/vpnc/Changelog
17103 * vpn-daemons/Makefile.am: Removed
17105 * vpn-daemons/README: New file to describe extensions points for VPN
17108 2005-06-10 Dan Williams <dcbw@redhat.com>
17110 * src/backends/NetworkManagerRedHat.c
17111 - (get_current_profile_name): new function, grab current network profile name from
17112 /etc/sysconfig/network
17113 - (set_ip4_config_from_resolv_conf): new function, parse a resolv.conf and
17114 update an IP4 Config structure's settings from it
17115 - (nm_system_device_get_system_config): if we're using static IP on this device,
17116 get DNS info from current network profile
17118 2005-06-09 Dan Williams <dcbw@redhat.com>
17120 Patch from Robert Love:
17121 * src/NetworkManagerDevice.c
17122 src/NetworkManagerUtils.c
17123 - 64-bit build fixes
17125 2005-06-09 Dan Williams <dcbw@redhat.com>
17127 Patch from Kay Sievers and Robert Love:
17129 src/backends/Makefile.am
17130 src/backends/NetworkManagerSuSE.c
17133 2005-06-09 Dan Williams <dcbw@redhat.com>
17136 - Add NMWirelessScanMethod enum for scan methods
17138 * gnome/applet/applet-dbus-devices.c
17139 - (nmwa_dbus_update_scanning_enabled_cb): remove
17140 - (nmwa_dbus_update_scanning_enabled): remove
17141 - (nmwa_dbus_update_devices): don't call nmwa_dbus_update_scanning_enabled() anymore
17142 since it got removed
17143 - (nmwa_dbus_enable_scanning): remove
17145 * gnome/applet/applet-dbus-info.c
17146 - (nmi_dbus_signal_update_scan_method): new function, signal NetworkManager to
17147 update the wireless scanning method from NMI
17148 - (nmi_dbus_get_wireless_scan_method): new function, return wireless scanning
17149 method value to NetworkManager
17150 - (nmi_dbus_info_message_handler): respond to the "getWirelessScanMethod" method call
17152 * gnome/applet/applet-dbus-info.h
17153 - Add prototype for nmi_dbus_signal_update_scan_method
17155 * gnome/applet/applet.c
17156 - (scanning_menu_update): new function, update one GtkCheckMenuItem from the
17157 Wireless Scanning menu based on current wireless scan method
17158 - (nmwa_menu_scanning_item_activate): new function, callback for GTK "activate"
17159 signal for Wireless Scanning menu items, tell NetworkManager the new method
17160 and update our menu items to make sure the right one is checked
17161 - (nmwa_set_scanning_enabled_cb): remove
17162 - (nmwa_context_menu_update): remove references to pause_scanning_item
17163 - (nmwa_context_menu_create): remove pause_scanning_item, and add new Wireless
17165 - (nmwa_gconf_get_wireless_scan_method): new method, pull wireless scanning method
17167 - nmwa_gconf_networks_notify_callback -> nmwa_gconf_info_notify_callback: generalize
17168 so we get notified of preference values too
17169 - (nmwa_get_instance): monitor GCONF_PATH_WIRELESS rather than GCONF_PATH_WIRELESS_NETWORKS
17171 * gnome/applet/applet.h
17172 - GCONF_PATH_WIRELESS added, one level below GCONF_PATH_WIRELESS_NETWORKS
17173 - Add wireless scan method member to applet data
17174 - Remove pause_scanning_item, add Wireless Scanning submenu
17176 * src/NetworkManager.c
17177 - (nm_data_new): default to NM_SCAN_METHOD_ON
17178 - (main): grab scanning method from NMI if we can
17180 * src/NetworkManagerDbus.c
17181 - (nm_dbus_update_wireless_scan_method_cb): new function, callback from
17182 nm_dbus_update_wireless_scan_method()
17183 - (nm_dbus_update_wireless_scan_method): new function to grab scanning method
17185 - (nm_dbus_nmi_is_running): redundant function, removed
17186 - (nm_dbus_signal_filter): trap "WirelessScanMethodUpdate" signal, grab scanning method
17187 when NMI comes back
17189 * src/NetworkManagerDevice.c
17190 - (nm_device_is_activated): return TRUE if the device is activated
17191 - (nm_device_wireless_scan): don't scan if the scan method is OFF, or if its AUTO
17192 and we are activated
17195 - (nm_dbus_nm_set_scanning_enabled): removed
17196 - nm_dbus_nm_get_scanning_enabled -> nm_dbus_nm_get_wireless_scan_method
17197 - (nm_dbus_nm_methods_setup): remove [get | set] ScanningEnabled and add "getWirelessScanMethod"
17199 2005-06-09 Dan Williams <dcbw@redhat.com>
17202 src/vpn-manager/nm-vpn-service.c
17203 - NM_VPN_STATE_ERROR -> NM_VPN_STATE_UNKNOWN (more consistent with other enums)
17205 2005-05-27 Dan Williams <dcbw@redhat.com>
17207 * vpn-daemons/vpnc/nm-vpnc-service.c
17208 - (vpnc_watch_cb): wait a bit before trying to read vpnc's pidfile.
17209 Should fix the bug where the VPN connection terminates the first time.
17211 2005-05-20 Dan Williams <dcbw@redhat.com>
17214 - Differentiate VPN config signals between bad VPN config options
17217 * gnome/applet/applet-dbus-info.h
17218 - Add prototypes for wireless network and vpn connection update functions
17220 * gnome/applet/applet-dbus.c
17221 - (nmwa_dbus_filter): trap new VPN config error signals from NetworkManager
17223 * gnome/applet/applet.c
17224 - (nmwa_schedule_vpn_failure_dialog): new dialog text for new VPN config
17226 - (nmwa_gconf_networks_notify_cb): re-enable wireless network change notify
17227 propogation to NetworkManager
17228 - (nmwa_gconf_vpn_connections_notify_cb): re-enable vpn connection change
17229 notify propogation to NetworkManager
17231 * src/NetworkManagerDbus.c
17232 - (nm_dbus_update_one_allowed_network): make sure to specify which AP list we
17233 are updating so a network can be removed from it if necessary
17235 * src/vpn-manager/nm-vpn-manager.c
17236 - (nm_vpn_manager_process_signal): trap new vpn config error signals
17238 * vpn-daemons/vpnc/nm-vpnc-service.c
17239 - (nm_vpnc_dbus_signal_failure): generalize function for all VPN error signals
17240 - (nm_vpnc_dbus_signal_launch_failed): remove
17241 - (nm_vpnc_dbus_signal_connect_failed): remove
17242 - (nm_vpnc_helper_timer_cb): update for new generalized error signal function
17243 - (nm_vpnc_schedule_helper_timer): increase timeout to 10s
17244 - (vpnc_watch_cb): don't whine about exit code if vpnc exited cleanly, update
17245 for new generalized error signal function, remove config file stuff
17246 - (nm_vpnc_start_vpnc_binary): grab a stdin pipe to vpnc after spawning it so
17247 we can write configuration options to it
17248 - (nm_vpnc_config_file_generate): removed
17249 - (nm_vpnc_config_write): write configuration options to the vpnc stdin pipe
17250 - (nm_vpnc_config_options_validate): validate the config options we receive
17251 from NetworkManager to block potential exploits
17252 - (nm_vpnc_dbus_handle_start_vpn): call option validation function before
17254 - (nm_vpnc_dbus_process_helper_config_error): actually propogate config error
17257 2005-05-16 Dan Williams <dcbw@redhat.com>
17259 * vpn-daemons/vpnc/nm-vpnc-service-vpnc-helper.c
17260 - (main): Work correctly with vpnc 0.3.3 by exiting if the "reason" code
17263 2005-05-16 Dan Williams <dcbw@redhat.com>
17265 Patch from Tomislav Vujec <tvujec@redhat.com>
17266 * gnome/applet/applet-dbus-info.c
17267 - (nmi_dbus_get_vpn_connection_routes): new function, pull routes out of
17268 GConf and pass them to NetworkManager. New key is 'routes' under
17269 the VPN connection, and should be a string list
17271 * src/NetworkManagerSystem.c
17272 - (nm_system_vpn_device_set_from_ip4_config): if user-defined routes exist,
17273 set them on the device when we set the rest of the VPN config. Ensure
17274 they are in the correct format since they are passed directly to the
17277 * src/backends/NetworkManagerRedHat.c
17278 src/backends/NetworkManagerDebian.c
17279 - (nm_system_device_add_route_via_device_with_iface): new function
17281 * src/vpn-manager/nm-dbus-vpn.c
17282 - (nm_dbus_vpn_get_routes): grab VPN routes from NetworkManagerInfo
17284 * src/vpn-manager/nm-vpn-manager.c
17285 - (nm_vpn_manager_handle_ip4_config_signal): grab routes from NMI and pass
17286 them into the IP4 config functions
17288 2005-05-15 Dan Williams <dcbw@redhat.com>
17290 From Filip Miletic:
17294 - Serbian translation added
17296 2005-05-15 Dan Williams <dcbw@redhat.com>
17298 * dispatcher-daemon/NetworkManagerDispatcher.c
17299 - (main): sync arguments with NetworkManager and the applet, now use
17300 "--no-daemon" rather than "daemon=no"
17301 - (nmd_print_usage): Fix script path in usage message
17303 2005-05-15 Dan Williams <dcbw@redhat.com>
17305 * src/NetworkManagerDevice.[ch]
17306 src/NetworkManagerPolicy.c
17307 src/NetworkManager.c
17309 - Remove the "just_added" parameter from nm_device_deactivate(). We no
17310 longer send the DeviceNoLongerActive signal unconditionally, but only
17311 when the device is actually active.
17313 * dispatcher-daemon/NetworkManagerDispatcher.c
17314 - (nmd_execute_scripts): convert to GLib directory functions from opendir(),
17315 and simplify the logic
17316 - (nmd_get_device_name): copy value from dbus reply so we don't segfault when
17317 we free it later on
17319 * initscript/RedHat/Makefile.am
17320 initscript/RedHat/NetworkManagerDispatcher
17321 - Add initscript for NetworkManagerDispatcher
17324 Patch from Bill Moss:
17325 * dispatcher-daemon/NetworkManagerDispatcher.c
17326 - Remove IP4AddressChange signal code including nmd_get_device_ip4_address()
17328 * src/NetworkManagerDbus.c
17329 - (nm_dbus_signal_device_ip4_address_change): remove. If the device goes up,
17330 and DeviceNowActive gets signaled, then the device has a new IP address
17331 anyway. There's no need for a separate signal.
17333 * src/NetworkManagerDevice.c
17334 - (nm_device_update_ip4_address): Don't send IP4AddressChange signal
17336 * src/NetworkManagerPolicy.c
17337 - (nm_policy_activation_finish): Send DeviceNowActive signal when the device
17338 activates successfully. This kind of went missing when I reworked the
17341 2005-05-15 Dan Williams <dcbw@redhat.com>
17344 - Check for dhcdbd and error if its not found
17346 * src/dhcp-manager/Makefile.am
17347 src/dhcp-manager/nm-dhcp-manager.c
17348 - Use path to dhcdbd that configure found
17350 2005-05-14 Dan Williams <dcbw@redhat.com>
17352 * gnome/applet/nm-device.c
17353 - (network_device_sort_wireless_networks, sort_networks_function): New functions to
17354 sort wireless networks alphabetically
17356 * gnome/applet/applet-dbus-devices.c
17357 - (mwa_dbus_devices_lock_and_copy): Sort network device's wireless network lists
17358 before copying them over to the GUI
17360 2005-05-14 Dan Williams <dcbw@redhat.com>
17362 * src/NetworkManager.c
17363 - (device_stop_and_free): Deactivate VPN connections before deactivating devices,
17364 fixes a deadlock on shutdown with a VPN connection active. This function locks
17365 the device list, as does nm_get_active_device() which is called from
17366 nm_vpn_manager_deactivate_vpn_connection().
17368 2005-05-14 Dan Williams <dcbw@redhat.com>
17371 - Add signals for VPN Launch and Connect failures
17373 * gnome/applet/applet-dbus.c
17374 - (nmwa_dbus_filter): Trap new VPN launch & connect failure signals
17376 * gnome/applet/applet.c
17377 - (nmwa_show_vpn_failure_dialog): generalize old nmwa_show_vpn_login_failure_dialog()
17378 function to handle all VPN failure messages
17379 - (nmwa_schedule_vpn_failure_dialog): generalize old nmwa_schedule_vpn_login_failure_dialog()
17380 function to hanlde all VPN failure messages
17381 - (show_warning_dialog): work around focus-stealing prevention
17383 * gnome/applet/other-network-dialog.c
17384 gnome/applet/passphrase-dialog.c
17385 - (update_button_cb): Make sure the OK button is enabled when it should be, fixes
17386 problem where it never enabled for ASCII Key and Hex Key types
17388 * gnome/applet/wireless-applet.glade
17389 - Add window title to Other Wireless Network Dialog
17391 * src/vpn-manager/nm-dbus-vpn.c
17392 - (nm_dbus_vpn_signal_vpn_failed): generalize old nm_dbus_vpn_signal_vpn_login_failed()
17393 function to handle all VPN failure messages
17395 * src/vpn-manager/nm-vpn-manager.c
17396 - (nm_vpn_manager_process_signal): trap and proxy VPN launch & connect failure signals too
17398 * vpn-daemons/vpnc/nm-vpnc-service.c
17399 - (nm_vpnc_dbus_signal_launch_failed): new function
17400 - (nm_vpnc_dbus_signal_connect_failed): new function
17401 - (nm_vpnc_helper_timer_cb): signal connect failure on timeout
17402 - (vpnc_watch_cb): signal connection failure when vpnc exits with connection failure
17403 - (nm_vpnc_start_vpnc_binary): search a number of locations for vpnc
17404 - (nm_vpnc_dbus_handle_start): send launch failure signal when we fail to launch vpnc
17406 2005-05-11 Dan Williams <dcbw@redhat.com>
17408 * vpn-daemons/vpnc/nm-vpnc-service.c
17409 - (nm_vpnc_start_vpnc_binary): NULL-ify GError before using it
17410 - (nm_vpnc_config_file_generate): Attempt to ensure that the path for the config
17411 file exists before trying to write it out.
17413 2005-05-10 Dan Williams <dcbw@redhat.com>
17415 * gnome/applet/applet-dbus-device.c
17416 - (nmwa_dbus_set_device): remove check for valid key and key type, which
17417 prevented just entering ESSID and leaving key and key type up to
17418 NetworkManager (which should have them already cached)
17420 2005-05-08 Dan Williams <dcbw@redhat.com>
17422 * src/NetworkManagerPolicy.c
17423 - (nm_policy_activation_finish): Don't set NM_ACT_STAGE_ACTIVATED here, instead...
17424 - (nm_policy_schedule_activation_finish): Set NM_ACT_STAGE_ACTIVATED here to
17425 fix a situation where NM is told to terminate and the device stops activation,
17426 but the main thread isn't aware of that because it would never have run
17427 nm_policy_activation_finish() to set the ACTIVATED flag, because the main loop
17430 * src/NetworkManagerDevice.c
17431 - (nm_device_probe_wired_link_state): cosmetic fixes
17432 - (nm_device_activate_stage5_ip_config_commit): Don't check link state if
17433 we've failed to activate or been canceled.
17434 - (nm_ac_test): nm_debug -> nm_info for "waiting for device to cancel" message
17436 2005-05-08 Dan Williams <dcbw@redhat.com>
17438 * src/NetworkManagerWireless.c
17439 - (nm_wireless_qual_to_percent): Fix #if -> #ifdef, print out the "updated"
17440 value of WEXT quality structures, and add a debug message when we cannot
17441 determine any quality % at all
17443 2005-05-08 Dan Williams <dcbw@redhat.com>
17445 * src/dhcp-manager/nm-dhcp-manager.c
17446 - (nm_dhcp_manager_begin_transaction): Tell dhclient to release leases when
17449 2005-05-06 Dan Williams <dcbw@redhat.com>
17451 * gnome/applet/applet-dbus-device.c
17452 gnome/applet/applet-dbus-info.c
17453 gnome/applet/applet-dbus.c
17454 gnome/applet/applet.c
17455 gnome/applet/applet.h
17456 - (nmwa_get_device_for_nm_device) -> (nmwa_get_device_for_nm_path)
17458 * gnome/applet/applet-dbus.c
17459 - (nmwa_dbus_filter): trap DeviceCarrierOn/DeviceCarrierOff signals
17460 so we notice when wired device's carriers come back on. Should
17461 fix issue with wired devices being grayed out even if the cable
17462 is in, for devices that support carrier detection.
17464 * gnome/applet/applet.c
17465 - (nmwa_driver_notify): bash focus-stealing prevention in the face
17466 - (nmwa_act_stage_to_pixbuf): Clarify wireless ACT_STAGE_DEVICE_CONFIG
17468 - (nmwa_menu_item_activate, nmwa_menu_add_device_item, nmwa_menu_item_data_free):
17469 Fix situation where applet wouldn't respond to menu selections
17471 * src/NetworkManager.c
17472 src/NetworkManagerDevice.c
17473 src/NetworkManagerDbus.c
17474 src/NetworkManagerDbus.h
17475 - (nm_dbus_signal_device_status_change) -> (nm_dbus_schedule_device_status_change_signal)
17477 * src/NetworkManagerDbus.c
17478 - (nm_dbus_send_network_not_found, nm_dbus_schedule_network_not_found_signal):
17479 Remove, no longer used or relevant
17480 - (nm_dbus_signal_device_status_change): Better signal enum->string matching
17481 - (nm_dbus_schedule_device_status_change_signal): add
17483 * src/NetworkManagerDevice.c
17484 - (nm_device_worker_thread_stop): don't try to join a NULL worker thread
17485 - (nm_device_set_link_active): Fix up switching for non-carrier-detect devices,
17486 ie don't deactivate them unless explicitly told to by the user. Also send
17487 CARRIER_OFF / CARRIER_ON signals when link changes
17488 - (nm_device_set_essid, nm_device_set_enc_key, nm_device_is_up, nm_device_set_mode):
17489 Don't print error message when device is no longer around
17490 - (nm_device_deactivate): kill any current DHCP process attached to this device,
17491 not just during activation
17493 * src/NetworkManagerPolicy.c
17494 - (nm_policy_auto_get_best_device): Ignore semi-supported devices completely from
17495 auto-device-selection.
17496 - (nm_policy_device_change_check): Don't interrupt semi-supported devices
17498 * src/NetworkManagerSystem.c
17499 - (nm_system_device_set_up_down_with_iface): Quiet first warning message when device
17500 is no longer present (Bill Moss)
17502 * src/backends/shvar.c
17503 - (svOpenFile): Open read-only to make SELinux happy
17505 * src/backends/NetworkManagerRedHat.c
17506 - (nm_system_device_get_system_config): Use SYSCONFDIR rather than hardcoding
17507 the path to the ifcfg-* files
17509 2005-05-05 Dan Williams <dcbw@redhat.com>
17511 * Expose activation stages to NetworkManager clients, like the applet
17512 * Add Diana's progress icons to the applet, cued off NM activation stage
17513 * Use more descriptive tooltips, cued off NM activation stage
17515 2005-05-05 Ray Strode <rstrode@redhat.com>
17517 * src/nm-netlink-monitor.c:
17518 - Use clear_event_source instead of g_nullify_pointer() again.
17520 2005-05-05 Dan Williams <dcbw@redhat.com>
17522 * gnome/applet/main.c
17523 - Fix session management so the applet is actually managed now
17525 * gnome/applet/passphrase-dialog.c
17526 - (nmi_passphrase_dialog_show): bash focus-stealing prevention in the face
17528 2005-05-05 Dan Williams <dcbw@redhat.com>
17530 Patch from Bill Moss:
17531 * gnome/libnm_glib/libnm_glib.c
17532 - Fix for dbus-0.33
17534 2005-05-05 Dan Williams <dcbw@redhat.com>
17536 Suggestion from Bill Moss:
17537 * src/NetworkManagerSystem.c
17538 - (nm_system_device_set_up_down_with_iface): ignore ENODEV
17541 * src/NetworkManager.c
17542 - (nm_data_free): move destruction of the various managers after
17543 release of device list, because deactivating and freeing a device
17544 requires at least the named manager
17545 - (nm_poll_and_update_wireless_link_state):
17546 (nm_device_link_activated):
17547 (nm_device_link_deactivated):
17548 don't grab the device list lock when actually updating device
17549 link status or strength, since nm_device_set_link_active()
17550 needs to call nm_get_active_device(), which also locks the device list.
17552 * src/NetworkManagerDevice.c
17553 - (nm_device_set_link_active): if a device's link switches from off->on,
17554 and it's wired, and the active device is wireless (or there is no
17555 active device), activate the new device whose link just came on
17556 - (link_to_specific_ap): try to smooth over intermittency in wireless links
17557 my only calling the link to the current ap "failed" when more than 2
17558 consecutive link checks have failed
17560 2005-05-04 Dan Williams <dcbw@redhat.com>
17562 * src/NetworkManagerDevice.c
17563 - (nm_device_probe_wireless_link_state): don't lock the scan mutex here
17564 but let link_to_specific_ap() do the locking where it needs
17566 Patch from Bill Moss:
17567 * src/NetworkManagerSystem.c
17568 - Set MTU of VPN devices to 1412
17570 2005-05-04 Dan Williams <dcbw@redhat.com>
17572 * Remove NM_STATE_SCANNING from NetworkManager.h and applet code
17574 * Fix some holes in device activation and retaining the currently connected
17577 2005-05-03 Dan Williams <dcbw@redhat.com>
17579 * Kill dhcpcd. We now use "dhcdbd", a dbus daemon that controls dhclient.
17580 This means that NetworkManager shouldn't have DHCP issues anymore. It also
17581 means you need dhcdbd, which you can get here (get the latest one):
17583 http://people.redhat.com/jvdias/dhcdbd/
17585 Technically NetworkManager can use any DHCP daemon that uses the same DBUS
17586 interface as dhcdbd.
17588 * Rewrite device activation to facilitate the new DHCP infrastructure and
17589 future improvements. Its now "activation request" based, ie there is a single
17590 activation request composed of the device, access point, and other info which
17591 follows the entire activation process. There are 5 stages of the activation
17592 process which correspond to:
17594 1) Device preparation
17595 2) Device configuration (bring it up, set ESSID/Key/etc)
17596 3) IP Config Start (fire off DHCP if we're using it)
17597 4) IP Config Get (grab config from DHCP or static config files)
17598 5) IP Config Commit (set device's IP address, DNS, etc)
17600 Note that there is no longer a "scanning" step, since the access point must
17601 be known _before_ activation starts. If the access point drops out or does
17602 not exist for some reason, the entire activation process fails and must be
17603 restarted for a different access point or device.
17605 Patch from Bill Moss:
17606 * gnome/applet/applet.c
17607 - Fix type of vpn_failure dialog -> vpn_banner dialog
17609 2005-04-27 Dan Williams <dcbw@redhat.com>
17611 * gnome/applet/applet-dbus-vpn.c
17612 gnome/applet/applet.c
17613 gnome/applet/applet.h
17614 - Fix up active VPN handling so that we reliably know when a VPN
17615 connection has been deactivated
17617 * src/vpn-manager/nm-vpn-manager.c
17618 - Remove duplicate VPNConnectionChange signal
17620 2005-04-27 Dan Williams <dcbw@redhat.com>
17622 Patch from Peter Jones:
17623 * Remove usage of varargs to fix crashes on PPC (RH #154336)
17625 Patch from Bill Moss:
17626 * src/NetworkManagerSystem.c
17627 - Fix checking of return value from ioctl()
17629 2005-04-27 Dan Williams <dcbw@redhat.com>
17631 * Fix choosing of wireless networks and "Other wireless network..." from the applet
17632 * Warn and exit if icons cannot be found
17634 2005-04-27 Dan Williams <dcbw@redhat.com>
17636 Patch from Tom Parker:
17637 * Update debian backend
17639 2005-04-27 Dan Williams <dcbw@redhat.com>
17641 * Merge the applet and the info-daemon, and move the converged
17642 applet under gnome/applet
17643 * Move libnm_glib to gnome/libnm_glib
17644 * Convert most dbus calls between the applet, info-daemon, and NM
17646 * Fix a few things valgrind noticed
17647 * Make NM broadcast state more reliably
17649 2005-04-22 Pawan chitrakar <pawan@nplinux.org>
17651 * configure.in: Added ne in ALL_LINGUAS
17653 2005-04-15 Dan Williams <dcbw@redhat.com>
17655 * libnm_glib/libnm_glib: Fix up for dbus-0.32, and remove
17656 code for dbus 0.2x versions
17658 2005-04-15 Dan Williams <dcbw@redhat.com>
17660 Patches from Tom Parker:
17662 - Join with worker thread rather than polling for its exit
17664 Patch from Bill Moss:
17665 - Cull duplicate ESSIDs from the scan list, taking highest strength AP
17667 2005-04-15 Dan Williams <dcbw@redhat.com>
17669 - Fixes to pass 'make distcheck'
17671 2005-04-15 Dan Williams <dcbw@redhat.com>
17673 Initial VPN Support
17675 - reworks device IP configuration, backend files have changed and will need
17676 to be updated for all distributions. I will try to do what I can for
17677 them, but I cannot test them.
17679 - Move named directory to src/named-manager
17680 - Make backends directory self-contained
17682 2005-04-06 Dan Williams <dcbw@redhat.com>
17684 Add debug code for socket/file descriptor leaks. We register every socket
17685 that we open (except for stuff in dhcpcd/) for tracking, and print out the
17686 list of sockets that we forgot to close on shutdown. This also consolidates
17687 about 4 places where we opened sockets into 1 function in NetworkManagerUtils.c
17689 2005-04-06 Dan Williams <dcbw@redhat.com>
17692 - (dhcp_interface_free): fix a file descriptor leak that may have
17693 caused network drivers to not unload due to refcounts > 0
17695 2005-04-04 Dan Williams <dcbw@redhat.com>
17697 * panel-applet/NMWirelessAppletDbus.c
17698 - (nmwa_dbus_call_nm_method): remove some commented code
17700 * src/NetworkManagerAPList.[ch]
17701 - (nm_ap_list_remove_ap_by_essid): new function
17703 * src/NetworkManagerDevice.c
17704 - (nm_device_wireless_force_use): remove access points from the ignore list
17705 when the user forces them
17707 * src/nm-dbus-device.c
17708 - (nm_dbus_device_get_active_network): fix up escaping of object paths
17710 2005-04-04 Dan Williams <dcbw@redhat.com>
17712 Patch from Tom Parker: include "nm-utils.h" for backend files that need it
17714 2005-04-04 Dan Williams <dcbw@redhat.com>
17716 * src/NetworkManagerDevice.c:
17717 - (nm_completion_scan_has_results): restore pre-completion-patch behavior
17718 of only erroring after the second consecutive scan times out. Also
17719 don't exit when the card requires more time than we can give it, just
17720 log the event and continue.
17722 2005-04-01 Steve Murphy <murf@e-tools.com>
17724 * configure.in: Added "rw" to ALL_LINGUAS.
17726 2005-04-01 Dan Williams <dcbw@redhat.com>
17728 Perform scans during device activation, if needed. Both activation
17729 and scans run in the same GMainContext. Therefore, if an access point
17730 is not found by the time the device starts activation, it will not
17731 be available until after activation. We now try to scan during
17732 activation (in nm_wa_test) every 15s so that all available access
17733 points are more likely to be found and available for the activation
17736 Also change nm_wireless_link_state_handle() to only update the "best"
17737 AP if we are not forcing a device and if we are not about to change
17738 state. This attempts to work around a race when forcing a device,
17739 where the forced AP would get cleared out too soon by the link state
17740 checking timeout in the main thread, and the activation attempt with
17741 that AP would fail.
17743 2005-04-01 Dan Williams <dcbw@redhat.com>
17746 - Update with new translatables
17748 2005-03-31 Dan Williams <dcbw@redhat.com>
17750 * panel-applet/NMWirelessAppletDbus.c
17751 - Fix device names now that hal has changed device parenting for
17754 2005-03-31 Dan Williams <dcbw@redhat.com>
17756 Tighten up handling of wireless devices that don't support wireless
17757 scanning (ie, Orinoco). Due to restructuring of code, these devices
17758 hadn't been doing pseudo-scanning for a while either and would just
17759 spin waiting for an access point. They are now manual devices where
17760 the user must choose the access point from the menu every time. All
17761 "allowed" access points are listed in the applet's menu regardless
17762 of whether or not they can be seen by the card, since it can't scan
17765 * src/NetworkManager.c
17766 - (nm_wireless_link_state_handle): new function, but only update
17767 the "best" ap for non-scanning devices when its not activating,
17768 and when no device is being forced on the card
17769 - (nm_link_state_monitor): split wireless link state handling out
17770 into separate function
17772 * src/NetworkManagerDevice.c
17773 - (nm_device_copy_allowed_to_dev_list): new function
17774 - (nm_device_new): populate non-scanning cards' AP lists with
17775 access points from the "allowed" list
17776 - (nm_device_new): don't start a scanning timeout for devices that
17778 - (nm_device_activation_schedule_finish): new parameter, should be
17779 the AP that failed to be connected to, pass it on to the
17780 activation finish function in NetworkManagerPolicy.c
17781 - (nm_device_activate_wireless): don't ever try to get a new AP
17782 for non-scanning devices, just fail. The user must choose
17783 a new access point manually.
17784 - (nm_device_activate): grab the AP that failed connection and
17786 - (nm_device_update_best_ap): Clear the best AP if we don't have
17787 a link to it, user must manually choose a new one
17788 - (nm_device_do_pseudo_scan): remove function
17789 - (nm_device_wireless_process_scan_results): remove bits for non-
17790 scanning cards since they never get here
17791 - (nm_device_wireless_scan): remove bits for non-scanning devices,
17792 and fake the scan list for test devices a bit earlier
17794 * src/NetworkManagerPolicy.c
17795 - (nm_policy_activation_finish): use the failed_ap that we get
17796 passed rather than getting the best_ap from the card, which
17797 may have changed since we were scheduled
17798 - (nm_policy_allowed_ap_list_update): for non-scanning devices,
17799 update their scan list directly from the allowed list when
17800 we get updates to the allowed list from NetworkManagerInfo
17802 * src/NetworkManagerPolicy.h
17803 - New member for failed access point in NMActivationResult
17805 -------------------------------------
17807 Driver Notification patch: notifies the user when their driver
17808 sucks. Gives them the option to ignore further insertions
17809 of the card that has the sucky driver.
17812 - Remove the SEMI_SUPPORTED member from the NMDriverSupportLevel
17813 enum and replace it with NO_CARRIER_DETECT and
17816 * panel-applet/NMWirelessApplet.[ch]
17817 - Merge essid.glade -> wireless-applet.glade
17818 - Implement the "Your driver sucks" notification dialog
17820 * panel-applet/NMWirelessAppletDbus.c
17821 - Change stuff from getSupportsCarrierDetect->getDriverSupportLevel
17822 - Grab hardware address for each device from NM too
17823 - Check whether the driver for each device sucks or not whenever
17824 a new device is noticed
17826 * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17827 - Deal with stuff being in wireless-applet.glade now rather than essid.glade
17829 * src/NetworkManager.c
17830 - Fix a double-unref on device removal
17832 * src/NetworkManagerUtils.c
17833 - Set appropriate driver support level on a device that doesn't
17834 support scanning or carrier detection
17836 * src/nm-dbus-device.c
17837 - New "getHWAddress" dbus method on devices
17838 - getSupportsCarrierDetect -> getDriverSupportLevel
17840 2005-03-31 Dan Williams <dcbw@redhat.com>
17842 * src/NetworkManagerDevice.c
17843 - (nm_device_wireless_scan): Fix leak of scan results in some
17846 2005-03-29 Dan Williams <dcbw@redhat.com>
17848 * src/NetworkManager.c
17849 - (nm_poll_and_update_wireless_link_state): make code less indented
17851 Patch from Bill Moss:
17852 * src/NetworkManager.c
17853 - (nm_device_update_link_state): Update signal strength on wireless
17854 devices every time we update link state too.
17856 2005-03-29 Dan Williams <dcbw@redhat.com>
17858 * src/NetworkManagerDevice.c
17859 - (nm_device_set_essid): Work around Orinoco cards which need
17860 extra time after setting the ESSID
17862 2005-03-29 Dan Williams <dcbw@redhat.com>
17864 * src/NetworkManagerDevice.c
17865 - Merge one more bit of Peter Jones' completion patch
17867 2005-03-29 Dan Williams <dcbw@redhat.com>
17869 * src/NetworkManagerDevice.c
17870 - (nm_device_force_use): Fix possible segfault
17872 2005-03-29 Dan Williams <dcbw@redhat.com>
17874 * src/NetworkManagerDevice.c
17875 - Use iw_get_ext() where we should rather than iw_set_ext()
17877 2005-03-29 Dan Williams <dcbw@redhat.com>
17879 * src/NetworkManagerDevice.c
17880 - (nm_device_set_up_down): remove check for unsupported devices
17881 that caused NM to not bring devices up when they were
17882 added to the device list.
17884 2005-03-28 Dan Williams <dcbw@redhat.com>
17886 * src/NetworkManagerDevice.c
17887 - (mdio_read): Fix two bugs that caused all devices to fail
17888 the MII carrier detection support checks
17890 2005-03-26 Dan Williams <dcbw@redhat.com>
17892 * src/NetworkManagerDevice.c
17893 - (nm_device_wireless_scan): Remove duplicated scanning code
17895 2005-03-25 Dan Williams <dcbw@redhat.com>
17897 * panel-applet/NMWirelessApplet.c
17898 - (nmwa_about_cb): Add some more contributors
17899 - (nmwa_update_state): show the applet when there's no connection
17900 - Enable the "Stop/Resume all wireless devices" option in the
17902 - New "no connection" icon
17904 * src/NetworkManager.c
17905 - (nm_poll_and_update_wireless_link_state): don't do anything if
17906 wireless is disabled or we're asleep
17908 * src/NetworkManagerDHCP.c
17909 - Remove trailing "\n" on debug messages
17911 * src/NetworkManagerDbus.c
17912 - (nm_dbus_network_status_from_data): new state "asleep"
17914 * src/NetworkManagerDevice.c
17915 - Merge most of Peter Jones' "completion" patch that greatly reduces
17916 latency and wait times for most operations
17917 - (nm_device_wireless_scan): Don't scan when asleep
17919 * src/NetworkManagerPolicy.c
17920 - (nm_policy_get_best_device): return no device when asleep
17921 - (nm_policy_allowed_ap_list_update): From Bill Moss: merge properties
17922 for all wireless devices on update, not just active device
17924 * src/NetworkManagerUtils.c
17925 - Merge Peter Jones' "completion" patch
17928 - (nm_dbus_nm_set_wireless_enabled): bring down wireless devices when
17929 we're told to disable them
17930 - (nm_dbus_nm_sleep, nm_dbus_nm_wake): new functions for sleep/wake
17933 - New variants of the warn/info/error/debug print functions that can take
17934 variables rather than static strings
17936 2005-03-24 Dan Williams <dcbw@redhat.com>
17938 * src/NetworkManagerUtils.c
17939 - (nm_get_device_driver_name): driver names are now on the parents of
17940 "Network Interface" objects, so look for them there
17942 2005-03-24 Dan Williams <dcbw@redhat.com>
17945 - Escape some forgotten object paths before we shove them through dbus
17947 2005-03-24 Dan Williams <dcbw@redhat.com>
17949 * dhcpcd/dhcpcd.[ch]
17950 src/NetworkManagerDHCP.c
17951 - Switch names from "*_record_*" -> "*_element_*" to clarify things a bit
17952 (ie, dhcp_option_record_len -> dhcp_option_element_len)
17954 * src/NetworkManagerDbus.c
17957 * src/nm-dbus-dhcp.c
17958 - Make the API suck less. There is now only 1 type of each function,
17959 ie only "getInteger" and no longer also "getIntegerv". All types
17960 are returned encapsulated in a DBUS_TYPE_ARRAY, even for options
17961 that will never have more than 1 element. This should simplify
17964 * test/nm-dhcp-opt-test.c
17965 - Make the tool not segfault
17966 - adapt to new DHCP Options API
17968 2005-03-22 Dan Williams <dcbw@redhat.com>
17970 * src/NetworkManager.c
17971 - (nm_wired_link_deactivated): actually ignore netlink events from
17974 2005-03-22 Dan Williams <dcbw@redhat.com>
17976 * src/NetworkManager.c
17977 - (nm_wired_link_activated): actually ignore netlink events from
17980 2005-03-17 Dan Williams <dcbw@redhat.com>
17982 Patch from Tom Parker:
17983 * src/nm-netlink-monitor.c
17985 * info-daemon/NetworkManagerInfoDbus.c
17986 - (nmi_dbus_update_network_auth_method): free GConf values
17988 Patch from Nathaniel McCallum <npmccallum@gentoo.org>:
17989 * src/NetworkManagerDevice.c
17990 - (nm_device_set_wireless_config): wait for successful
17991 association longer for some cards (Atheros a/b/g)
17993 2005-03-15 Ray Strode <rstrode@redhat.com>
17995 * src/NetworkManager.c:
17996 (sigterm_pipe_handler):
17999 2005-03-15 Ray Strode <rstrode@redhat.com>
18001 * src/NetworkManagerDbus.c:
18002 Fix some sign weirdness that gcc4 doesn't like,
18003 and add a header file so PPC can hopefully find
18006 2005-03-14 Ray Strode <rstrode@redhat.com>
18008 Fourth (probably working) cut at porting to
18009 dbus 0.30 api and new hal. This cut adds
18010 some new logging macros to make debugging
18013 * dispatcher-daemon/NetworkManagerDispatcher.c:
18014 * info-daemon/NetworkmanagerInfo.c:
18015 * info-daemon/NetworkManagerInfoPassphraseDialog.c:
18016 * info-daemon/NetworkManagerInfoVPN.c:
18017 * src/NetworkManager.c:
18018 * src/NetworkManagerAP.c:
18019 * src/NetworkManagerAPList.c:
18020 * src/NetworkManagerDHCP.c:
18021 * src/NetworkManagerDbus.c:
18022 * src/NetworkManagerDevice.c:
18023 * src/NetworkManagerPolicy.c:
18024 * src/NetworkManagerSystem.c:
18025 * src/NetworkManagerUtils.c:
18026 * src/NetworkManagerWireless.c:
18028 * src/nm-dbus-nm.c:
18029 * src/backends/NetworkManagerDebian.c:
18030 * src/backends/NetworkManagerGentoo.c:
18031 * src/backends/NetworkManagerRedHat.c:
18032 * src/backends/NetworkManagerSlackware.c:
18033 use new logging macros.
18035 * dispatcher-daemon/NetworkManagerDispatcher.c:
18036 (nmd_dbus_filter): s/dbus_free/g_free/
18038 * info-daemon/Makefile.am: link in utils library.
18039 * info-daemon/NetworkmanagerInfo.c: use new logging
18041 (nmi_dbus_get_network): don't assume enumerations
18043 (nmi_dbus_nmi_message_handler): don't free what
18044 doesn't belong to us.
18046 * libnm_glib/libnm_glib.c:
18047 (libnm_glib_get_nm_status):
18048 (libnm_glib_init): don't free what doesn't
18050 (libnm_glib_dbus): strdup result, so it doesn't get
18051 lost when message is unref'd.
18053 * panel-applet/NMWirelessAppletDbus.c:
18054 (nmwa_dbus_update_devices): s/dbus_free/g_free/
18056 * src/NetworkManager.c:
18057 (nm_monitor_wired_link_state): request initial status
18058 dump of all cards when we start up, instead of relying
18059 on /sys/.../carrier.
18060 (nm_info_handler), (nm_set_up_log_handlers):
18061 log handlers to specify what syslog priorites
18062 the logging macros default to.
18064 * src/NetworkManagerAPList.c:
18065 (nm_ap_list_populate_from_nmi):
18066 s/dbus_free_string_array/g_strfreev/
18068 * src/NetworkManagerDbus.c:
18069 (nm_dbus_get_network_object):
18070 validate d-bus message argument types.
18071 Advance message iterator after reading argument,
18072 prepend instead of append to GSList.
18074 * src/NetworkManagerDevice.c:
18075 (nm_device_probe_wired_link_status):
18076 remove redundant /sys in /sys path. remove wrong
18077 contents == NULL means has carrier assumption.
18079 * src/nm-netlink-monitor.c
18080 (nm_netlink_monitor_request_status): implement
18081 function to ask kernel to dump interface link
18082 status over netlink socket.
18084 * test/*.c: s/dbus_free/g_free/
18086 * utils/nm-utils.h:
18087 (nm_print_backtrace): new macro to print backtrace.
18088 (nm_get_timestamp): new macro to get sub-second precise
18090 (nm_info), (nm_debug), (nm_warning), (nm_error):
18091 new logging functions. nm_info just prints,
18092 nm_debug includes timestamp and function,
18093 nm_warning includes function, nm_error includes
18094 backtrace and sigtrap.
18096 2005-03-11 Ray Strode <rstrode@redhat.com>
18098 Third (unfinished, partially working) cut at porting to
18099 dbus 0.30 api and new hal.
18101 * info-daemon/NetworkManagerInfoDbus.c:
18102 don't free null arrays.
18104 * panel-applet/NMWirelessAppletDbus.c:
18105 * src/nm-dbus-device.c:
18106 * src/nm-dbus-net.c:
18107 * src/NetworkManagerDbus.c: more
18108 STRING -> OBJECT_PATH fun
18109 * src/NetworkManagerDevice.c:
18110 * src/NetworkManagerDevice.h:
18111 (rename nm_device_get_link_active): rename to
18112 nm_device_has_active_link
18113 (nm_device_wireless_link_active): rename to
18114 nm_device_probe_wireless_link_state
18115 (nm_device_wired_link_active): rename to
18116 nm_device_probe_wired_link_state. Rewrite to
18117 use carrier file since hal doesn't maintain
18118 link state anymore.
18119 (nm_device_update_link_active): rename to
18120 nm_device_update_link_state
18121 * src/NetworkManagerPolicy.c
18122 (nm_policy_activation_finish): check for NULL
18126 * src/NetworkManagerMain.h:
18127 * src/NetworkManager.c:
18128 * src/nm-netlink-monitor.c:
18129 * src/nm-netlink-monitor.h: New class to support
18130 monitoring wired ethernet link status, since HAL
18131 doesn't export that information anymore.
18133 2005-03-09 Ray Strode <rstrode@redhat.com>
18135 Second (unfinished, unworking) cut at porting to
18138 * dispatcher-daemon/NetworkManagerDispatcher.c:
18139 * info-daemon/NetworkManagerInfoDbus.c:
18140 * panel-applet/NMWirelessAppletDbus.c:
18141 * src/NetworkManagerDbusUtils.c:
18142 * src/NetworkManagerDbusUtils.h:
18143 * src/nm-dbus-device.c:
18144 * src/nm-dbus-nm.c:
18145 * test/nmtest.c: support dbus "object path" type
18149 * info-daemon/Makefile.am:
18150 * libnm_glib/Makefile.am:
18151 * panel-applet/Makefile.am:
18152 * dispatcher-daemon/Makefile.am
18154 * test/Makefile.am:
18155 * utils/Makefile.am:
18156 * utils/nm-utils.c:
18157 * utils/nm-utils.h: new utils static lib
18159 2005-03-07 Ray Strode <rstrode@redhat.com>
18161 * info-daemon/NetworkManagerInfoDbus.c:
18162 * libnm_glib/libnm_glib.c:
18163 * panel-applet/NMWirelessAppletDbus.c:
18164 * src/NetworkManager.c:
18165 * src/NetworkManagerDbus.c:
18166 * src/NetworkManagerDevice.c:
18167 * src/NetworkManagerUtils.c:
18168 * src/nm-dbus-device.c:
18169 * src/nm-dbus-dhcp.c:
18170 * src/nm-dbus-net.c:
18171 * src/nm-dbus-nm.c:
18172 * test/nminfotest.c:
18173 First (unfinished, unworking) cut at porting to dbus 0.30 api.
18175 2005-03-04 Dan Williams <dcbw@redhat.com>
18180 2005-03-04 Dan Williams <dcbw@redhat.com>
18182 Patch from Peter Jones:
18183 - Make stuff work with gcc 4.0
18185 2005-02-28 Maxim Dziumanenko <mvd@mylinux.com.ua>
18187 * uk.po: Added "uk" (Ukrainian) to ALL_LINGUAS.
18189 2005-02-27 Jim Huang <jserv@kaffe.org>
18191 * configure.in: Added "zh_TW" (Traditional Chinese) to ALL_LINGUAS.
18193 2005-02-27 Dan Williams <dcbw@redhat.com>
18195 Patch from Bill Moss:
18196 * panel-applet/NMWirelessAppletDbus.c
18197 - Make sure strength for current access point is up-to-date when we
18198 update the gui data model
18200 2005-02-27 Alessio Frusciante <algol@firenze.linux.it>
18202 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
18204 2005-02-27 Dan Williams <dcbw@redhat.com>
18206 * src/backends/NetworkManagerRedHat.c
18207 - (nm_system_init): Kill any dhclient processes lying around as well
18208 as stopping 'nifd' if its already been started. NetworkManager
18209 subsumes the functions of nifd (kicking mDNSResponder, autoip)
18211 2005-02-27 Dan Williams <dcbw@redhat.com>
18213 * panel-applet/NMWirelessApplet.c
18214 - (nmwa_destroy): Really mean to destroy GUI data model first, then
18215 dbus data model, not the GUI data model twice.
18217 2005-02-27 Dan Williams <dcbw@redhat.com>
18219 * panel-applet/NMWirelessApplet.[ch]
18220 panel-applet/NMWirelessAppletDbus.[ch]
18221 - Move to incremental network updates. Instead of blowing away our list
18222 of devices every time we get a signal from NetworkManager, we now
18223 incrementally add/remove networks when NetworkManager notifies us that
18224 a new network has appeared or disappered. Strength updates now happen
18225 on-the-fly for each access point as well. There are now two copies of
18226 data from NetworkManager: one for the dbus side, and one for the gui side.
18227 When the dbus side data is modified, it is copied over to the gui side
18228 so we don't have to hold the data_mutex for long periods of time (and
18229 therefore block animation of the applet's icon).
18230 - Clean up some memleaks too
18232 * panel-applet/NMWirelessAppletOtherNetworkDialog.c
18233 - Minor code beautification
18235 * src/NetworkManagerAPList.c
18236 - (nm_ap_list_merge_scanned_ap): return whether or not the access point is
18237 completely new and whether or not an existing one's strength was updated.
18238 Try to fix multiple access points and signal strength by using the highest
18239 signal strength in each scan for any given ESSID.
18241 * src/NetworkManagerDbus.[ch]
18242 - (nm_dbus_signal_wireless_network_change): consolidate signals that deal with
18243 wireless networks; now we have only WirelessNetworkUpdate which includes
18244 a UINT32 for Appeared, Disappeared, or StrengthChanged (see NetworkManager.h).
18245 - Kill usage of DbusMessageIter
18247 * src/NetworkManagerDevice.c
18248 - (nm_device_wireless_process_scan_results): Use the same timestamp for all APs
18249 in the same scan result list. Copy ESSIDs-by-address earlier on, for each
18250 AP rather than all-at-once. Also don't ever remove the AP a card is
18251 currently associated with from the network list.
18252 - Update for new signals during scan, send out Appeared, Disappeared, or
18253 StrengthChanged when necessary.
18255 2005-02-25 Dan Williams <dcbw@redhat.com>
18258 - Line break the README
18260 2005-02-25 Dan Williams <dcbw@redhat.com>
18262 * panel-applet/NMWirelessAppletOtherNetworkDialog.c
18263 - Remove usage of gtk_window_set_default_size()
18265 * panel-applet/essid.glade
18266 - Stick default size here
18267 - Add in random crap that current glade wants to add in now
18269 2005-02-25 Dan Williams <dcbw@redhat.com>
18271 * src/backends/NetworkManagerRedHat.c
18272 - For non-caching-nameserver/non-named case, ensure that nscd is running
18273 and that we actually tell nscd to reload the hosts cache when it changes
18275 2005-02-25 Dan Williams <dcbw@redhat.com>
18277 * info-daemon/NetworkManagerInfoDbus.c
18278 - (nmi_dbus_get_network_properties): whack usage of DbusMessageIter
18280 * test/nminfotest.c
18281 - Whack usage of DbusMessageIter
18282 - Clean up DbusError and DbusMessage handling and freeing
18283 - Remove unused unregister handler
18286 - Whack usage of DbusMessageIter
18288 * test/nmtestdevices.c
18289 - Whack usage of DbusMessageIter
18291 2005-02-25 Dan Williams <dcbw@redhat.com>
18294 - New signal type NMNetworkStatus in preparation for the "WirelessNetworkUpdate"
18297 2005-02-25 Dan Williams <dcbw@redhat.com>
18299 * named/nm-named-manager.c
18300 - Ensure that pid and watch variables for child named process get cleared out
18301 when the child goes away.
18303 2005-02-22 Dan Williams <dcbw@redhat.com>
18305 * src/NetworkManagerPolicy.c
18306 - (nm_policy_activation_finish): Deactivate a device if its activation fails,
18307 and NULL out data->active_device so that we have to choose another one.
18308 This may make NetworkManager keep attempting to connect to a wired network
18309 if it fails, but if it keeps failing the wired network has more problems than
18310 just NetworkManager.
18312 * src/backends/NetworkManagerRedHat.c
18313 - (nm_system_update_dns): fix to actually run nscd -i hosts when nscd
18316 * named/nm-named-manager.c
18317 - (rewrite_resolv_conf): Call nm_system_update_dns() when not using
18318 named so that the distro can flush whatever name service caching
18321 2005-02-21 Dan Williams <dcbw@redhat.com>
18323 * src/NetworkManagerDHCP.[ch]
18324 - (nm_device_dhcp_remove_timeouts): new function
18326 * src/NetworkManagerDevice.c
18327 - Use nm_device_dhcp_remove_timeouts() everywhere that we need to
18328 remove the DHCP timeouts.
18330 2005-02-21 Dan Williams <dcbw@redhat.com>
18332 * panel-applet/NMWirelessApplet.[ch]
18333 panel-applet/menu-info.[ch]
18334 - Give the panel applet some major love: menu items are no longer
18335 subclasses of GtkCheckMenuItem, they are actual GtkCheckMenuItems.
18336 This allows the applet to actually reflect theme changes correctly,
18337 since themeing of subclassed items in GTK _sucks_.
18339 2005-02-18 Dan Williams <dcbw@redhat.com>
18341 * libnm_glib/libnm_glib.[ch]
18342 test/libnm_glib_test.c
18343 - Clean up libnm_glib API a bit, callback is now passed a libnm_glib_ctx
18344 and its data, and doesn't have to free the callback data anymore
18346 2005-02-18 Dan Williams <dcbw@redhat.com>
18348 * panel-applet/NMWirelessApplet.c
18349 - Revert 2005-02-18 William Jon McCann fix for standard
18350 copyright string until it passes 'make distcheck'.
18351 With standard copyright string, xgettext complains
18352 about "Non-ASCII string at ...".
18354 2005-02-18 Dan Williams <dcbw@redhat.com>
18356 * panel-applet/essid.glade
18357 panel-applet/NMWirelessAppletOtherNetworksDialog.c
18358 - Correct spelling of "adaptor"->"adapter"
18360 2005-02-18 William Jon McCann <mccann@jhu.edu>
18362 * panel-applet/NMWirelessApplet.c: Use GTK_CHECK_VERSION() macro.
18363 (nmwa_about_cb): Use standard copyright string. Update comment
18364 text to reflect that it is a notification area applet. Remove
18365 leading newline in authors list.
18366 (nmwa_menu_show_cb, nmwa_setup_widgets): Populate menu on show
18367 instead of on parent menu item activation. Fixes #167550.
18369 2005-02-18 William Jon McCann <mccann@jhu.edu>
18371 * panel-applet/essid.glade: Capitalize items as per HIG.
18374 2005-02-16 William Jon McCann <mccann@jhu.edu>
18376 * panel-applet/gtkcellrendererprogress.[ch]: Only compile these
18377 files for GTK 2.4 or lower, since now public in GTK 2.6.
18379 * panel-applet/essid.glade: Don't specify window size.
18381 2005-02-17 Dan Williams <dcbw@redhat.com>
18383 Caught by Bill Moss:
18385 - Time remaining for DHCP transaction calculation was incorrectly
18386 inside a #ifdef DEBUG
18388 2005-02-15 Christophe Merlet <redfox@redfoxcenter.org>
18390 * configure.in: Added fr (French) to ALL_LINGUAS.
18392 2005-02-14 Dan Williams <dcbw@redhat.com>
18394 * src/NetworkManagerDHCP.c
18395 - (set_domain_searches): Fix free of invalid pointer
18397 2005-02-14 Dan Williams <dcbw@redhat.com>
18399 Patch from Peter Jones:
18401 - Ensure we return RET_DHCP_CEASED everywhere we should
18402 * dhcpcd/udpipgen.c
18403 - Use faster TOS for IP packets
18404 - Don't set ip_id since we're UDP
18406 Patch from Tomislav Vujec:
18407 * src/nm-dbus-dhcp.c
18408 test/nm-dhcp-opt-test.c
18409 - Clean up warnings to enable cvs tree compilation.
18411 2005-02-14 Tomislav Vujec <tvujec@redhat.com>
18415 - Add the Croatian locale.
18417 2005-02-14 Colin Walters <walters@verbum.org>
18419 * src/NetworkManagerDHCP.c (set_domain_searches): Handle space-separated
18420 list of domains to search.
18422 * src/NetworkManagerMain.h (NMData): Handle multiple domain searches.
18424 2005-02-13 Dan Williams <dcbw@redhat.com>
18427 - Debug output cleanups of DHCP option printing and parsing.
18429 2005-02-13 Dan Williams <dcbw@redhat.com>
18431 Patch from Dan Reed: DHCP options D-BUS API
18432 Exposes the DHCP options that a device receives to clients over D-BUS.
18438 - Correct names, option length, and types for DHCP options
18440 * dhcpcd/dhcpcd.[ch]
18441 - Clarify function names that access DHCP options & data
18443 * src/NetworkManagerDHCP.c
18444 - Use new DHCP data access functions
18446 * src/NetworkManagerDbus.c
18447 - Message handler for DHCP functions
18449 * src/nm-dbus-dhcp.[ch] (new)
18450 - DHCP dbus methods
18452 * test/nm-dhcp-opt-test.c
18453 - Test DHCP D-BUS API and return all present DHCP options
18455 2005-02-12 Dan Williams <dcbw@redhat.com>
18458 test/nmclienttest.c
18460 - Move nmclienttest.c -> nmtest.c
18462 2005-02-12 Dan Williams <dcbw@redhat.com>
18464 * dhcpcd/buildmsg.c
18465 - Pad DHCP packets until they are at least 300 bytes in size.
18467 2005-02-11 Dan Williams <dcbw@redhat.com>
18470 - (dhcp_init): only print out client ID and class ID if they are specified
18472 * src/NetworkManagerDbus.[ch]
18473 src/nm-dbus-nm.[ch]
18474 src/nm-dbus-device.[ch]
18475 src/nm-dbus-net.[ch]
18476 - Move NM, Device, and Net functions to separate files and use the
18477 dbus method list stuff in NetworkManagerDbusUtils.c to do
18480 * src/NetworkManagerDbusUtils.c
18481 - Add new validate_method called before each dispatch (if present)
18482 that can validate the method call
18484 * src/NetworkManagerWireless.c
18485 - (nm_wireless_qual_to_percent): Fix misplaced "!" that caused signal
18486 levels never to be evaluated
18488 Patch from j@bootlab.org
18489 * src/NetworkManagerDevice.c
18490 - Add typedef for "u64"
18492 * src/backends/NetworkManagerDebian.c
18493 - Copy in Dave Woodhouse's fixes for IPv6
18495 2005-02-11 Dan Williams <dcbw@redhat.com>
18497 Patch from Dave Woodhouse for IPv6:
18498 * src/NetworkManagerUtils.c
18499 - (nm_ethernet_address_is_valid): Check for prism54 dummy MAC address
18500 and multicast addresses
18502 * src/NetworkManagerDevice.c
18503 - (nm_device_set_up_down): make sure our cached MAC address is up-to-date
18504 after bringing up a card.
18506 2005-02-10 Dan Williams <dcbw@redhat.com>
18508 Patch from Dave Woodhouse:
18509 * src/NetworkManagerSystem.h
18510 src/backends/NetworkManagerDebian.c
18511 src/backends/NetworkManagerGentoo.c
18512 src/backends/NetworkManagerSlackware.c
18513 - New nm_system_device_add_ip6_link_address() function to add link-local
18514 address on an interface. Stubbed in Debian, Gentoo, and Slackware.
18516 * src/backends/NetworkManagerRedHat.c
18517 - (nm_system_device_add_ip6_link_address): implement
18518 - (nm_system_device_flush_addresses): revert to previous behavior of
18519 flushing all addresses
18521 2005-02-10 Dan Williams <dcbw@redhat.com>
18523 Patch from Tom Parker:
18524 * src/NetworkManagerDevice.c
18525 - Remove the "#include <pci/types.h>" since both the ethtool.h and
18526 mii.h headers are broken, and instead use our own typedefs
18528 2005-02-10 Dan Williams <dcbw@redhat.com>
18530 * dhcpcd/buildmsg.c
18531 - (fill_host_and_class_id): only fill in client and class IDs if
18532 they are set by callers.
18535 - (class_id_setup): don't autogenerate a class ID, only use one
18536 we're given, if any.
18537 - (client_id_setup): don't autogenerate a client ID, only use one
18538 we're given, if any.
18541 - (dhcp_interface_init): ensure that client options are correctly
18544 * src/NetworkManagerDHCP.c
18545 - (nm_device_dhcp_request): pass hostname to dhcp library
18547 2005-02-10 Dan Williams <dcbw@redhat.com>
18550 - #rh147661# Don't send kernel version in DHCP requests
18552 * src/NetworkManagerSystem.h
18553 src/backends/NetworkManagerDebian.c
18554 src/backends/NetworkManagerGentoo.c
18555 src/backends/NetworkManagerRedHat.c
18556 src/backends/NetworkManagerSlackware.c
18557 - Remove the nm_system_device_run_dhcp() and nm_system_device_stop_dhcp()
18558 functions, they are no longer used anyway
18560 * src/backends/NetworkManagerRedHat.c
18561 - (nm_system_device_flush_addresses): only flush "scope global" and "scope site"
18562 addresses in an attempt to keep IPv6 local-scope addresses around
18564 2005-02-10 Dan Williams <dcbw@redhat.com>
18566 * src/NetworkManager.c
18567 - (nm_create_device_and_add_to_list): change the add message slightly
18569 * src/NetworkManagerUtils.c
18570 - (nm_get_wireless_driver_support_level, nm_get_wired_driver_support_level):
18571 Return driver name to calling function
18572 - (nm_get_driver_support_level): print out the driver a device is using
18573 during the support check
18575 Patch from Dave Woodhouse:
18576 * dhcpcd/udpipgen.c
18577 - (in_cksum): copy last byte of odd-sized packets into a
18578 'u_short' rather than a 'u_char', should fix wrong checksums
18579 on big-endian platforms
18581 2005-02-09 Dan Williams <dcbw@redhat.com>
18583 * Clean up usage of GSList objects and looping through their members
18584 * Clean up DHCP rebind/renew timeouts, hopefully they will work correctly
18586 * Fix problem where even if scanning was turned off, card would still
18587 cycle through frequencies.
18589 2005-02-08 Dan Williams <dcbw@redhat.com>
18591 * panel-applet/NMWirelessApplet.c
18594 2005-02-08 Dan Williams <dcbw@redhat.com>
18596 Patch from Bill Moss
18597 * panel-applet/NMWirelessApplet.c
18598 - Restore correct ESSID in tooltips
18600 2005-02-07 Dan Williams <dcbw@redhat.com>
18602 * panel-applet/NMWirelessApplet.[ch]
18603 - Add a context menu that contains:
18604 Pause/Resume Wireless Scanning
18605 Stop/Start All Wireless Devices
18607 - Grab active device strength off active device,
18610 * panel-applet/NMWirelessAppletDbus.[ch]
18611 - Add DBUS accessors for "getSupportsCarrierDetect", "setScanningEnabled",
18612 "getScanningEnabled", "setWirelessEnabled", and "getWirelessEnabled"
18613 - Update active device strength every 2 seconds, not every 1 second
18615 * panel-applet/menu-info.c
18616 - Only disable wired devices in the menu when they support carrier detection,
18617 and don't currently have a link. Non-carrier-detect devices will always
18621 src/NetworkManagerDbusUtils.[ch]
18622 - Add new new dbus utils sources
18624 * src/NetworkManager.c
18625 - Fixes for new link detection, we no longer need to call nm_device_update_link_active()
18626 with the boolean parameter
18627 - Set scanning_enabled & wireless_enabled to TRUE
18629 * src/NetworkManagerDbus.c
18630 - Use new dbus util method dispatcher functions for org.freedesktop.NetworkManager methods
18631 - Implement scanning & wireless enable/disable calls
18632 - Remove the dbus vtable unregister handlers, weren't doing anything with them anyway
18634 * src/NetworkManagerDevice.c
18635 - New link detection stuff again...
18636 o Create device's mainloop earlier (but don't run it earlier)
18637 o Hook up new carrier-detect support stuff
18638 o Add in the ethtool & mii support detection code
18639 - Don't scan if scanning is disabled
18641 * src/NetworkManagerPolicy.c
18642 - Never automatically choose a device that doesn't support carrier detection
18643 - Don't automatically choose a wireless device if wireless is disabled
18645 2005-02-07 Dan Williams <dcbw@redhat.com>
18647 * libnm_glib/libnm_glib.c
18648 - Small cleanup in element list iteration
18650 2005-02-07 Dan Williams <dcbw@redhat.com>
18652 * src/NetworkManagerWireless.c
18653 - (nm_wireless_qual_to_percent): Fix up wireless quality calculations
18654 to be in line with the WEXT quality specification
18656 2005-02-02 Dan Williams <dcbw@redhat.com>
18658 Patch from Nathan Fredrickson <nathan@silverorange.com>
18659 * Fix up compile for deprecation of libgnomeui
18660 - Switch to <glib/gi18n.h> from <libintl.h>
18661 - Remove <libgnomeui/libgnomeui.h> includes
18662 - Use gtk_window_set_default_icon_from_file() rather than
18663 gnome_window_set_default_icon_from_file()
18665 * named/nm-named-manager.c
18666 - (generate_named_conf): Fix return-nothing in non-void
18669 2005-02-02 Dan Williams <dcbw@redhat.com>
18671 * Clean up unused variables and the like
18673 2005-02-02 Dan Williams <dcbw@redhat.com>
18675 * src/NetworkManagerAPList.c
18676 - (nm_ap_list_merge_scanned_ap): merge strength too
18678 * src/NetworkManagerUtils.c
18679 - (nm_lock_mutex, nm_register_mutex_desc): new calls to facilitate debugging
18680 of locking issues by printing out prettier information than g_mutex_lock
18681 - Print out names of mutexes registered with nm_register_mutex_desc()
18682 - (nm_try_lock_mutex): don't do the waiting thing when trying to lock, causes
18683 us to seemingly block here for too long
18685 * src/NetworkManager.c
18686 src/NetworkManagerAPList.c
18687 src/NetworkManagerDevice.c
18688 - Convert to using nm_lock_mutex/nm_unlock_mutex rather than the glib variants
18689 so we get better debug information printed
18691 * src/NetworkManagerDbus.c
18692 - (nm_dbus_devices_handle_request): reduce usage of nm_device_need_ap_switch()
18693 since it sometimes has locking side effects
18694 - (nm_device_get_association_pause_value): Reduce 802.11a card pause value to 8s
18696 - (nm_device_need_ap_switch): If we can't acquire the scan lock, return saying
18697 we don't need a switch. This gets called often enough that we can't block
18698 until the scan mutex is acquired, because we'll block on device activation
18699 and a few other things, which hangs main thread for too long.
18701 * src/NetworkManagerPolicy.c
18702 - (nm_policy_auto_get_best_device): reduce the possiblity that
18703 nm_device_need_ap_switch() will be called
18705 2005-02-02 Dan Williams <dcbw@redhat.com>
18707 * panel-applet/NMWirelessApplet.c
18708 - Display name of wireless network we are connecting to or connected to
18709 in the tooltip of the applet
18711 2005-02-02 Dan Williams <dcbw@redhat.com>
18713 * src/NetworkManagerDHCP.c
18714 - Hopefully fix double-default-route problem by cleaning up the default
18715 route added by DHCP code right before the DHCP transaction begins
18717 2005-02-02 Dan Williams <dcbw@redhat.com>
18719 * named/nm-named-manager.c
18720 - Write out valid resolv.conf when we exit
18722 2005-02-01 Dan Williams <dcbw@redhat.com>
18724 Patch from Colin Walters:
18725 * named/nm-named-manager.c
18726 - Make multi-domain search options work
18728 2005-01-31 Dan Williams <dcbw@redhat.com>
18730 * info-daemon/NetworkManagerInfoDbus.c
18731 - (nmi_dbus_nmi_message_handler): make sure 'dialog' exists before using it
18733 * src/NetworkManagerDevice.c
18734 - (nm_device_new): Don't store the entire range struct, use only what we need
18735 (which is currently avg_quality, max_quality, and frequencies). Also
18736 zero device structure when we've free'd it to maybe expose errors down
18738 - (nm_device_update_signal_strength): grab the scan mutex before getting
18739 quality data from the card since quality will be useless during a scan.
18740 Call updated wireless qual-to-percent function with values stored in
18741 nm_device_new() earlier.
18742 - Remove some unused functions (nm_device_get_max_quality(), nm_device_get_noise(),
18743 nm_device_get_bad_crypt_packets())
18744 - (nm_device_activate_wireless_adhoc): use new frequency values we go in
18746 - (get_initial_auth_method): always use the Auth method that's in the allowed
18747 list if available. Problem was this: when the WEP key is wrong, NM will
18748 try OS then SK modes, and then get stuck in SK mode after that. This
18750 - (nm_device_wireless_process_scan_results): work with new qual-to-percent
18753 * src/NetworkManagerWireless.c
18754 - (nm_wireless_qual_to_percent): try to make this function actually work and
18755 mimic iwlib behavior. Use card's idea of quality divided by max_qual
18756 if that's all present, otherwise fall back to signal-to-noise ratios.
18758 2005-01-29 Dan Williams <dcbw@redhat.com>
18760 * initscript/RedHat/NetworkManager
18761 - Don't spit out sysctl stuff to console
18763 * libnm_glib/libnm_glib.c
18764 - (libnm_glib_init): call dbus_g_thread_init()
18766 * panel-applet/NMWirelessAppletDbus.c
18767 - (nmwa_dbus_worker): call dbus_g_thread_init()
18769 * src/NetworkManager.c
18770 - (main): call dbus_g_thread_init()
18772 * src/NetworkManagerAPList.c
18773 - (nm_ap_list_print_members): use LOG_ERR instead of LOG_DEBUG
18774 so we can actually see what's there in a normal syslog
18776 * src/NetworkManagerDevice.c
18777 - (nm_device_activate_wireless): print out the "waiting for access point"
18778 message only once, then say what access point we actually got after
18780 - (nm_device_need_ap_switch): If a scan is in progress when we're in this
18781 function, wait until the scan is done. Scans may change the ESSID of
18782 the card, making this function think we need to switch access points
18783 - (nm_device_wireless_process_scan_results): for artificial access points
18784 don't check against the card's ESSID, but the best_ap's ESSID. This
18785 prevents collisions with the scanning code, which may change the card's
18786 ESSID and cause the access point to get dropped from the device's AP
18787 list. Also increase the keep-around time to 2m from 60s since the max
18788 scan interval could be 60s in some cases.
18790 * src/NetworkManagerPolicy.c
18791 - (nm_policy_activation_finish): Don't add invalid MAC addresses to GConf
18792 - (nm_policy_allowed_ap_list_update): When we update, make sure we copy over
18793 the new properties and ESSIDs to the device's AP list. Fixes some races
18794 between NM and NMI.
18796 2005-01-27 Dan Williams <dcbw@redhat.com>
18798 * info-daemon/NetworkManagerInfoDbus.c
18799 - (nmi_dbus_add_network_address): if the network doesn't yet exist in
18800 GConf, make a minimal entry for it (essid & timestamp)
18802 * src/NetworkManagerAPList.c
18803 - (nm_ap_list_populate_from_nmi): Don't try to grab network data if
18804 NetworkManagerInfo isn't running
18806 * src/NetworkManagerDbus.[ch]
18807 - (nm_dbus_nmi_is_running): new function
18809 * src/NetworkManagerDevice.c
18810 - (nm_device_wireless_force_use): Don't set the created AP's MAC
18811 address to garbage.
18813 * src/NetworkManagerPolicy.c
18814 - (nm_policy_activation_finish): On successful activation, make sure
18815 the "best" AP has a MAC address, and don't tell NMI to add the
18816 current AP's MAC address to GConf if the AP is an Ad-hoc AP.
18817 - (nm_policy_allowed_ap_list_update): Update a wireless card's "best"
18818 access point after refreshing our allowed list if it doesn't already
18819 have a "best" access point.
18821 2005-01-25 Dan Williams <dcbw@redhat.com>
18823 * panel-applet/NMWirelessAppletDbus.c
18824 - (nmwa_dbus_filter): Fix dbus 0.23 ServiceOwnerChanged checks
18825 so we check for NM_DBUS_SERVICE rather than not for it
18827 * libnm_glib/libnm_glib.c
18828 - (libnm_glib_dbus_filter): Fix for dbus 0.23, trapping
18829 ServiceOwnerChanged signal
18831 2005-01-25 Dan Williams <dcbw@redhat.com>
18834 - Check DBUS version in configure, and set the C macros
18835 DBUS_VERSION_[MAJOR,MINOR,MICRO]
18837 * info-daemon/NetworkManagerInfoDbus.c
18838 - Remove #if 0-d section of code that quit NMI if NM went away.
18840 * panel-applet/NMWirelessAppletDbus.c
18841 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
18843 * src/NetworkManager.c
18844 src/NetworkManagerMain.h
18845 src/NetworkManagerDbus.c
18846 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
18847 - Make updating of our Allowed Wireless Network lists from NMI
18848 an idle function in the main thread now, with a high priority.
18850 2005-01-24 Dan Williams <dcbw@redhat.com>
18852 * panel-applet/gtkcellview.[ch]
18853 panel-applet/menu-info.c
18854 - Fix GTK version checks to be <= rather than <
18857 - Include the libtool archive of libnm_glib rather than
18858 trying to pull in the .so
18860 2005-01-24 Dan Williams <dcbw@redhat.com>
18862 * src/NetworkManagerDevice.c
18863 src/NetworkManagerDevicePrivate.h
18864 - Block nm_device_new() until our device's worker thread has had a
18865 chance to start up. Fixes a race between main thread and worker
18866 thread starting that caused activation requests to get lost.
18868 2005-01-24 Dan Williams <dcbw@redhat.com>
18870 * initscript/RedHat/NetworkManager
18871 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
18872 to add the NM startup script at priority 50, which was
18875 2005-01-24 Colin Walters <walters@redhat.com>
18877 * named/named.conf: Use any port for query source instead of
18878 restricting to port 53.
18880 2005-01-24 Dan Williams <dcbw@redhat.com>
18882 * initscript/RedHat/NetworkManager
18883 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
18884 to add the NM startup script at priority 50, which was
18887 2005-01-24 Dan Williams <dcbw@redhat.com>
18889 Patch from Tom Parker <palfrey@tevp.net>
18890 * Fix up compile warnings & errors in the wireless applet
18892 2005-01-24 Dan Williams <dcbw@redhat.com>
18894 * panel-applet/NMWirelessApplet.c
18895 - Convert 24x24 icons back to 22x22 and use the 22x22 ones
18897 2005-01-24 Dan Williams <dcbw@redhat.com>
18899 * panel-applet/gtkcellview.[ch]
18900 - Only compile these files for GTK 2.4 or lower, since
18901 GtkCellView is now public in GTK 2.6. Fixes crasher
18902 when choosing "Other Wireless Networks" from the panel
18905 2005-01-21 Dan Williams <dcbw@redhat.com>
18907 * src/NetworkManager.c
18908 - Daemonize earlier so that glib doesn't get confused (?)
18910 2005-01-21 Dan Williams <dcbw@redhat.com>
18912 * panel-applet/NMWirelessApplet.[ch]
18913 panel-applet/NMWirelessAppletDbus.c
18914 panel-applet/menu-info.c
18915 src/NetworkManagerDevice.c
18916 - Disable wired devices in the menu when they have no link.
18918 2005-01-21 Dan Williams <dcbw@redhat.com>
18920 * Cache last-known-good wireless authentication method in
18921 NetworkManagerInfo, and use that method first during
18922 wireless device activation. Should speed up devices that
18923 need Shared Key authentication method since Open System is
18926 * Remove the hack to not do full activation on wired connections
18927 that are active when we launch, it causes too many problems
18928 with name resolution and was a hack in the first place.
18930 * Re-work wireless device activation again somewhat to have a
18931 clearer chain of events and to use last-known-good
18932 authentication method of the access point. Also provide
18933 better status throughout activation to ensure the applet
18934 can tell the user exactly what's going on.
18936 * Remove the "find wireless network" code and now simply attempt
18937 to activate with that access point. This reduces the delay
18938 between selecting "Other wireless Network" and actually
18939 connecting to that network.
18941 * Correctly stop the device's worker thread when its removed.
18943 2005-01-21 Dan Williams <dcbw@redhat.com>
18946 - Clean up some of the debug messages
18948 2005-01-21 Dan Williams <dcbw@redhat.com>
18950 * Add new icons, more frames of animation
18951 * Remove some hacks to get the panel applet to display correct
18952 status, an NM update will soon follow that will fix the
18955 2005-01-19 Kjartan Maraas <kmaraas@gnome.org>
18957 * panel-applet/NMWirelessApplet.c: #include <config.h> must be
18958 the first include for working i18n. Also, don't include it in .h files
18959 * panel-applet/NMWirelessApplet.h: Same
18960 * panel-applet/NMWirelessAppletOtherNetworkDialog.c: Same
18961 * panel-applet/menu-info.c: Same
18963 2005-01-18 Dan Williams <dcbw@redhat.com>
18966 - Remove some debug messages
18967 - Wrap others in #ifdef DEBUG/#endif
18969 * src/NetworkManager.c
18970 - Remove some debug messages
18971 - Clarify some debug messages
18972 - Remove code related to old single-thread wireless scanning
18974 * src/NetworkManagerAP.[ch]
18975 - New AP property "last_seen" to track how recently an AP was
18977 - Start using 'const' more in function arguments
18979 * src/NetworkManagerAPList.[ch]
18980 - (nm_ap_list_merge_scanned_ap): new, selectively update attributes
18981 of an AP found in an AP list from a source AP, or if not found
18982 in the list add the source AP
18983 - (nm_ap_list_combine): remove, no longer needed
18985 * src/NetworkManagerDevice.c
18986 - Each device now has a "worker" thread from start to end of its life.
18987 Scanning for wireless devices now happens in that thread,
18988 not in a single "wireless scanning thread" for all devices as
18989 previously. Activation consists of adding an idle handler to the
18990 thread's main loop/context, which gets run at the next available
18992 - Wireless scanning is also simplified, there is now only one list of
18993 access points per wireless device, and APs older than 60s are
18994 removed from the list. Previously, we kept results for the last
18995 3 scans and merged whole lists, which was complicated.
18996 - Cleaned up activation debug messages.
18997 - Wireless activation and access-point search routines now use Open System
18998 authentication before trying Shared Key.
18999 - Removed some code in nm_device_update_best_ap() that could cause cards
19000 to loose their link to the access point.
19001 - Scanning now uses a backoff algorithm, where the inverval becomes
19002 progressively longer between scans when the list of scanned access
19003 points doesn't change. A change will revert to the shortest scan
19006 * src/NetworkManagerWireless.[ch]
19007 - Remove code related to old single-thread wireless scanning
19009 2005-01-18 Colin Walters <walters@redhat.com>
19011 * src/NetworkManagerDHCP.c (set_nameservers): Free and clear list
19012 of older nameservers.
19014 2005-01-18 Colin Walters <walters@redhat.com>
19016 * named/nm-named-manager.c (generate_named_conf): Many fixes
19017 to config file generation.
19018 (safer_kill): Remove, was too much trouble for little gain.
19019 (nm_named_manager_start): Run named as NM_NAMED_USER.
19021 * configure.in: Add option --with-named-user.
19023 2005-01-14 Colin Walters <walters@redhat.com>
19025 Patch from ed@catmur.co.uk (Ed Catmur)
19027 * named/nm-named-manager.c: Add "context" property.
19028 Use it to add child watch source in specific GMainContext.
19030 * src/NetworkManager.c (nm_data_new): Initialize
19031 named with correct main context. Start named only
19034 2005-01-14 Colin Walters <walters@redhat.com>
19036 * named/nm-named-manager.c (generate_named_conf): Write config
19037 and pid files into NM_NAMED_DATA_DIR; this allows things to
19038 work better with FC3 named SELinux policy. Also fix up silly
19041 * configure.in: Add --with-named-dir option.
19043 2005-01-14 Colin Walters <walters@redhat.com>
19045 * configure.in: Make named support require passing --with-named.
19047 * named/nm-named-manager.c: Support writing resolv.conf directly
19048 without running named.
19050 2005-01-13 Dan Williams <dcbw@redhat.com>
19052 * named/nm-named-manager.c
19053 - Use syslog(LOG_WARNING) rather than g_warning() (gnome.org #163961)
19055 * src/NetworkManagerDevice.c
19056 - Rework wireless link detection code to be more reliable
19058 2005-01-12 Dan Williams <dcbw@redhat.com>
19060 * initscripts/RedHat/NetworkManager
19061 - Change initial level to "-" rather than "345" so that
19062 we don't activate ourselves by default on install
19064 2005-01-12 Dan Williams <dcbw@redhat.com>
19067 - Client library for applications using glib
19071 - Split NM_CFLAGS and NM_LIBS into separate variables
19072 like DBUS_*, HAL_* and GLIB_*
19074 * src/NetworkManager.c
19075 src/NetworkManagerMain.h
19076 - (nm_schedule_status_signal_broadcast): at the earliest convenience,
19077 broadcast a status changed signal over DBUS from the main thread.
19078 Still unused anywhere for the moment.
19080 Patch from j@bootlab.org
19081 * panel_applet/NMWirelessAppletDbus.c
19082 src/NetworkManagerDbus.c
19083 - Correct INT32->UINT32 mistmatch between NM and the panel applet
19084 for the "getMode" method call
19086 2005-01-10 Dan Williams <dcbw@redhat.com>
19088 * src/NetworkManagerDevice.c
19089 - Minor fixups & corrections to "auto" frequency mode, make it
19090 less chatty with syslog
19092 2005-01-10 Dan Williams <dcbw@redhat.com>
19094 * src/NetworkManagerDevice.c
19095 - Implement "auto" frequency/channel support, since cards like Atheros
19096 can't use other frequencies at all when you've told it to use a
19097 specific one, even for scanning.
19098 - Grab the scan mutex around places where we can't tolerate wireless
19099 settings changing underneath us, like nm_device_wireless_network_exists()
19100 and nm_device_activate_wireless()
19102 * src/NetworkManagerWireless.c
19103 - Back scan interval off to 20s instead of 14s
19105 2005-01-09 Dan Williams <dcbw@redhat.com>
19107 * src/NetworkManagerDevice.c
19108 - Don't set mode/freq/bitrate if that mode/freq/bitrate is
19109 already set. Stops some drivers like Atmel from continually
19110 reloading the firmware, which they do upon every configuration
19113 2005-01-09 Dan Williams <dcbw@redhat.com>
19116 - Use correct timeout value
19118 * info-daemon/NetworkManagerInfoDbus.c
19119 src/NetworkManagerDbus.c
19120 - Consolidate communication between NM and NMI by doing only 1 dbus
19121 method call to get Wireless Network info from NMI instead of 6
19123 * src/NetworkManager.c
19124 - Make sure to cancel activation when we receive a SIGTERM, otherwise
19125 when we didn't have an AP to use, we'd wait for one forever without
19128 * src/NetworkManagerDevice.c
19129 - nm_device_activation_cancel(): Fix a race between dhcp and quitting
19130 activation, dhcp might not have started yet but we don't quit activation
19131 before starting it, so the quit signal gets lost
19133 2005-01-07 Dan Williams <dcbw@redhat.com>
19136 - Rework the DHCP client code to be much less chatty when
19137 it receives non-DHCP UDP packets during the DHCP run
19138 (reported by and preliminary patches from Bill Moss)
19140 * Move wireless scanning to a separate thread. This thread forwards the
19141 results to the main thread when done where they are integrated into
19142 the device's access point lists. This keeps the main thread (which
19143 does all the DBUS communication) from being blocked for long periods
19144 of time by wireless scanning.
19146 * Make state modification an idle routine in the main loop, and trigger
19147 state changes rather than polling for them.
19149 * src/backends/NetworkManagerGentoo.c
19150 - Fix up invalid C90 code (reported by Christoph Ruessler)
19152 * src/NetworkManagerDevice.c
19153 - Revert IPv6 patch for wired devices from 2004-12-22 for
19154 router advertisements, causing problems and infinite loop
19155 during "best" device determination due to link going up/down
19156 (reported by Bill Moss)
19158 Apply patch from Peter Jones
19159 * src/NetworkManagerDevice.c
19160 - Shortcut for link-checking for ipw2x00 cards
19161 - Split out association check into separate routine
19163 2004-01-05 Colin Walters <walters@redhat.com>
19165 * named/named.conf: Add PID_FILE.
19167 * named/nm-named-manager.c: Always generate a pid
19168 file, since older BIND versions don't support
19171 2005-01-01 Satoru SATOH <ss@gnome.gr.jp>
19173 * configure.in (ALL_LINGUAS): Added ja (Japanese).
19175 2004-12-22 Dan Williams <dcbw@redhat.com>
19177 * src/NetworkManagerDevice.c
19178 - Silently fail when setting bitrate doesn't work
19181 Patches from j@bootlab.org:
19182 * src/backends/NetworkManagerDebian
19183 - Update backend to match functionality in RedHat backend
19184 * src/NetworkManagerDevice.c
19185 - Take down then bring up wired devices after connection so
19186 they send out ipv6 router advertisements
19188 2004-12-21 Colin Walters <walters@verbum.org>
19190 * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_update_devices): Correctly
19191 test for NETWORK_MODE_ADHOC; spotted by: Greg <gonufer@gmail.com>.
19193 2004-12-21 Colin Walters <walters@redhat.com>
19195 * configure.in: Correct named detection.
19197 2004-12-21 Colin Walters <walters@redhat.com>
19199 * src/NetworkManager.c (nm_data_new): Initialize named.
19200 Also, set up a signal handler for SIGINT/SIGTERM, and exit
19201 the mainloop when these signals are received.
19202 (nm_data_free): Unref named.
19203 (sigterm_handler, sigterm_pipe_handler): New functions for
19206 * src/NetworkManagerMain.h (NMData): Add signal handling and
19209 * src/NetworkManager.c (nm_device_unref): Quit device mainloop on
19212 * src/NetworkManagerDHCP.c (set_nameservers): New function;
19213 set nameservers from DHCP response data.
19214 (set_domain_search): Set domain search from DHCP response.
19215 (nm_device_dhcp_configure): Invoke them.
19217 * src/NetworkManagerSystem.c
19218 (nm_system_device_update_resolv_conf): Delete. Deleting
19219 code is totally sweet.
19221 * src/Makefile.am (NetworkManager_LDADD): Add libnamed.
19223 * named/nm-named-manager.h, named/nm-named-manager.c: New files;
19224 implements an object which controls a nameserver. Currently
19227 * configure.in: Check for named.
19229 * Makefile.am (SUBDIRS): Add named dir.
19231 * named/named.conf: New template config file.
19233 2004-12-20 Colin Walters <walters@redhat.com>
19235 * src/NetworkManagerPolicy.c (nm_policy_get_best_device): Fix usage of '=='
19238 2004-12-17 Dan Williams <dcbw@redhat.com>
19240 * Ad Ad-Hoc networking mode support. In Ad-Hoc mode, we only try to get
19241 link-local addresses instead of doing DHCP.
19243 * In the panel applet, there's a new "Create new Wireless Network..." item
19245 * The panel applet also sticks around now even if NetworkManager dies, but
19246 it doesn't hide its icon when NM isn't around. Not hiding the icon is
19247 a bug, I'll fix that later.
19249 * We also don't use 'nscd' anymore in the RH backend, it was impeding name
19250 lookups after a switch rather than actually doing them.
19252 * Clean up some of those warnings in nm_ap_list_* functions
19254 * Delay between scans changed to 15s instead of 10s
19256 2004-12-15 Dan Williams <dcbw@redhat.com>
19258 Patch from Tom Parker
19259 * Add autoip/Link Local Addressing support when we fail to get a DHCP
19262 * Longer pause after setting ESSID on cards that support a larger number
19263 of channels to give the card time to find the right channel
19265 * Add system hook to restart mDNSResponder (or whatever the local implementation
19266 of Multicast DNS is) when we activate interfaces
19268 2004-12-15 Dan Williams <dcbw@redhat.com>
19270 * Rework the DHCP code again to revert to sending full ethernet frames
19271 rather then relying on the kernel to do the right thing with our
19274 2004-12-06 Dan Williams <dcbw@redhat.com>
19277 - Fix some minor errors in dhcp_handle_transaction() that caused
19278 unexpected early timeouts of DHCP transactions
19281 - DHCP retransmit time from 4s -> 5s
19283 2004-12-05 Dan Williams <dcbw@redhat.com>
19285 * Major rework of the DHCP code, taking some cues from pump. We don't
19286 write raw Ethernet packets anymore, which simplifies the code quite
19287 a bit. The new code should be more robust, not hang in recvfrom()
19288 as much, and generally work better. This also means that we need
19289 to force HAL/dbus to use a created GMainContext rather than the
19290 default context, since having the DHCP renew/rebind thread using
19291 its own GMainContext seemed to give dbus a fit. There is also more
19292 debugging information printed from the DHCP loop to help with future
19295 * Also, if the DHCP server doesn't give us the "routersOnSubnet" option,
19296 assume that the default gateway should be the DHCP server.
19298 Patch from Matthew Schick <matt oss-institute org>
19299 * src/backends/NetworkManagerGentoo.c
19300 - Fix compilation error due to missing "ip4_broadcast"
19302 2004-12-03 Dan Williams <dcbw@redhat.com>
19304 * initscript/Makefile.am
19305 * initscript/Debian/NetworkManager
19306 * initscript/Gentoo/NetworkManager
19307 * initscript/RedHat/NetworkManager
19308 * initscript/NMLaunchHelper.c
19309 - Remove NMLaunchHelper, if you need to wait until the network
19310 comes up, use the dead code from CVS.
19312 2004-12-01 Colin Walters <walters@redhat.com>
19314 * configure.in: Suck in gcc warnings code from Rhythmbox,
19315 but use fewer default flags, and in particular add -Wno-unused,
19316 since the codebase has a lot of unused variables.
19318 * test/nmtestdevices.c (create_device):
19319 * test/nminfotest.c (get_network_string_property)
19320 (get_networks_of_type):
19321 * test/nmclienttest.c (main):
19322 * src/NetworkManagerDbus.c (nm_dbus_create_error_message):
19323 * initscript/NMLaunchHelper.c (get_nm_status):
19324 * info-daemon/NetworkManagerInfoPassphraseDialog.c (update_button_cb):
19325 * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_create_error_message):
19326 Fix declarations after statements.
19328 2004-12-01 Colin Walters <walters@redhat.com>
19330 * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_return_vpn_password): New method.
19331 (nmi_dbus_get_vpn_userpass): New method.
19332 (nmi_dbus_nmi_message_handler): Invoke it.
19334 * info-daemon/NetworkManagerInfoDbus.h (nmi_dbus_return_vpn_password): Prototype.
19336 * info-daemon/NetworkManagerInfoVPN.h,
19337 info-daemon/NetworkManagerInfoVPN.c: New files; responds
19338 to requests for VPN passwords.
19340 * configure.in (GNOME_KEYRING_LIBS): Check for gnome-keyring.
19342 2004-12-01 Colin Walters <walters@redhat.com>
19344 * test/nmtestdevices.c, test/nmclienttest.c: Add missing
19347 2004-12-01 Colin Walters <walters@redhat.com>
19349 * panel-applet/NMWirelessAppletDbus.c
19350 (nmwa_dbus_update_active_device_strength): Fix missing
19353 2004-12-01 Colin Walters <walters@redhat.com>
19355 * panel-applet/NMWirelessApplet.c: Add missing include.
19357 2004-12-01 Colin Walters <walters@redhat.com>
19359 * src/NetworkManagerWireless.c (nm_wireless_qual_to_percent):
19360 Remove useless CLAMP (); the value is unsigned, and the case tests
19361 qual->qual < 100, so the value must always be between 0 and 100.
19363 2004-12-01 Colin Walters <walters@redhat.com>
19365 * dhcpcd/buildmsg.c, dhcpcd/dhcp_test.c: Add missing includes.
19367 2004-11-22 Colin Walters <walters@verbum.org>
19369 * src/backends/NetworkManagerRedHat.c (nm_system_update_dns): Run
19370 "nscd -i hosts" to invalidate the host cache instead of restarting nscd,
19371 which is essentially a noop since nscd caches hosts on disk too.
19373 2004-11-22 Colin Walters <walters@redhat.com>
19375 * src/Makefile.am (NetworkManager_SOURCES): Add
19376 NetworkManagerDevicePrivate.h.
19378 2004-11-22 Dan Williams <dcbw@redhat.com>
19380 * src/NetworkManagerDevicePrivate.h
19381 - Split out the NMDevice struct to a different file so that stuff like
19382 NetworkManagerDHCP.c and NetworkManagerSystem.c can use it
19386 - (dhcpSendAndRecv): do non-blocking sends and receives, and check to see if we
19387 need to cancel the dhcp request during the send and recv
19390 - Move the DHCP option enum to dhcpcd.h
19392 * src/NetworkManagerDHCP.c
19393 - Split out the actual IP/netmask/etc setting code
19394 - New Renew/Rebind functions
19395 - New timer setup function for renew/rebind operations
19397 * src/NetworkManagerDevice.c
19398 - For device activation, if we are using DHCP then keep the activation thread
19399 alive until device deactivation. We need to renew/rebind the DHCP address
19400 after the T1 (renew) and T2 (rebind) times have expired.
19401 - Increase some timeouts after bringing wireless cards up/down
19403 2004-11-17 Dan Williams <dcbw@redhat.com>
19405 * Cache access point MAC addresses in NetworkManagerInfo after you've explicitly
19406 connected to them. Then, after a scan, match up non-ESSID-broadcasting access
19407 points with any cached MAC addresses from NetworkManagerInfo. Allows us to
19408 show known access points that don't broadcast their ESSID in the menus without
19409 any user intervention whatsoever.
19411 * info-daemon/NetworkManagerInfoDbus.c
19412 - (nmi_dbus_get_network_addresses, nmi_dbus_add_network_address): new functions
19413 for dbus method calls "getNetworkAddresses" and "addNetworkAddress"
19415 * src/NetworkManagerAP.[ch]
19416 - Add a "user_addresses" data member to the NMAccessPoint structure
19417 - (nm_ap_get_user_addresses, nm_ap_set_user_addresses): new functions for accessing
19418 the user_addresses data member
19420 * src/NetworkManagerAPList.c
19421 - (nm_ap_list_get_ap_by_address): check user_addresses list too, instead of just
19422 the AP's reported address
19423 - (nm_ap_list_update_network): grab the user_addresses list from NetworkManagerInfo
19425 * src/NetworkManagerDHCP.c
19426 - Increase DHCP timeout from 25s -> 30s
19428 * src/NetworkManagerDbus.[ch]
19429 - (nm_dbus_get_network_addresses, nm_dbus_add_network_address): have NMI get/set
19432 * src/NetworkManagerDevice.c
19433 - (nm_device_set_wireless_config): bring down the interface, wait 4s, bring it up,
19434 wait 2s, then configure it. Sometimes Prism54 cards will freeze up with
19435 "mgnt tx queue full", seemingly in response to NM controlling the card too much.
19436 So, we take the card down to clear it out.
19437 - (nm_device_do_normal_scan): Copy over AP ESSIDs from the allowed access point list
19438 too, since that's where the user_addresses are
19440 * src/NetworkManagerPolicy.c
19441 - (nm_state_modification_monitor): Tell NMI to add an AP's hardware address to
19442 that wireless networks' user_addresses list upon successful activation
19444 2004-11-16 Dan Williams <dcbw@redhat.com>
19446 * src/NetworkManagerDevice.[ch]
19447 - (nm_device_clear_activation_fail): new function
19449 * src/NetworkManagerPolicy.c
19450 - (nm_state_modification_monitor): clear the activation_failed flag on devices
19451 when we've dealt with the failure so the user doesn't get failure-dialog-spammed
19453 2004-11-16 Dan Williams <dcbw@redhat.com>
19455 * src/NetworkManagerDevice.c
19456 - (nm_device_activate_wireless): Unref best_ap upon success so we don't
19457 leak the structure, better updating of now_scanning status
19458 - (nm_device_wireless_network_exists): Rewrite for better/faster checking
19460 2004-11-15 Dan Williams <dcbw@redhat.com>
19462 Major rework of link detection code. We now use DHCP
19463 as part of the link detection which proves to be much more robust,
19464 and also supports Open System authentication for wireless networks.
19466 We no longer use external DHCP client programs. Instead, we use
19467 our own DHCP client, based on substantially reworked bits of 'dhcpcd'
19468 which was written by:
19469 Yoichi Hariguchi <yoichi@fore.com>
19470 Sergei Viznyuk <sv@phystech.com>
19471 http://www.phystech.com/download/
19472 It resides in the "dhcpcd" directory and was refactored into a general
19473 purpose DHCP client library by me.
19475 Also misc fixes (CPPFLAGS->AM_CPPFLAGS, move some stuff around),
19476 move src/backends/NetworkManagerSystem.h -> src/NetworkManagerSystem.h
19478 2004-11-15 Dan Williams <dcbw@redhat.com>
19480 Patch from Tom Parker <palfrey@tevp.net>:
19482 * src/NetworkManagerDevice.c
19483 - Less output to console when no access
19484 points are found during a scan
19486 2004-11-15 Dan Williams <dcbw@redhat.com>
19488 Patch from Tom Parker <palfrey@tevp.net>:
19490 * src/backends/interface_parser.c
19492 - Check for inp == NULL
19495 2004-11-13 Colin Walters <walters@redhat.com>
19497 Patch from Tom Parker <palfrey@tevp.net>:
19499 * src/Makefile.am (CPPFLAGS): Switch to AM_CPPFLAGS.
19501 * src/backends/NetworkManagerRedHat.c: Switch to
19502 including shvar.h instead of shvar.c.
19504 * src/backends/NetworkManagerDebian.c: Don't include
19505 interface_parser.c in source file.
19507 (libnmbackend_la_SOURCES): Don't include shvar.[ch]
19508 and interface_parser.[ch].
19509 * src/Makefile.am (libnmbackend_la_SOURCES) <TARGET_REDHAT>:
19510 Include shvar.c and shvar.h here.
19511 (libnmbackend_la_SOURCES) <TARGET_DEBIAN>: Include
19512 interface_parser.c and interface_parser.h here.
19514 2004-11-12 Colin Walters <walters@redhat.com>
19516 * configure.in: Strip out TARGET_DISTRO and
19517 SYSTEM_BACKEND_FILE variables. Switch to Automake
19520 * src/Makefile.am (noinst_LTLIBRARIES): Add libnmbackend.la.
19521 (libnmbackend_la_SOURCES): Use Automake conditionals
19522 to add distro-specific files.
19524 * initscript/Makefile.am (SUBDIRS): Update to
19527 2004-11-12 Colin Walters <walters@redhat.com>
19529 Patches from j bootlab org
19531 * src/Makefile.am (EXTRA_NetworkManager_SOURCES):
19532 Add interface_parser.[ch].
19534 * src/backends/NetworkManagerDebian.c (nm_system_device_run_dhcp): Invoke
19535 dhclient with "-lf /var/lib/dhcp/dhclient-%s.leases".
19537 2004-11-12 Colin Walters <walters@redhat.com>
19539 * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_service_init): Delete
19540 call to nmi_dbus_is_running too, not necessary anymore.
19541 * info-daemon/NetworkManagerInfoDbus.c: Include stdlib.h to
19544 2004-11-11 Colin Walters <walters@verbum.org>
19546 * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_is_running):
19548 (nmi_dbus_service_init): Call dbus_bus_acquire_service with
19549 the DBUS_SERVICE_FLAG_PROHIBIT_REPLACEMENT flag, and
19550 then check the result for DBUS_SERVICE_REPLY_SERVICE_EXISTS.
19551 This avoids a race condition that made it pretty easily
19552 possible to get two NetworkManagerInfo daemons running.
19554 2004-11-11 Colin Walters <walters@verbum.org>
19556 * src/NetworkManager.c (main): Use daemon(3).
19558 * info-daemon/NetworkManagerInfo.c (main): Ditto.
19560 * dispatcher-daemon/NetworkManagerDispatcher.c (main): Ditto.
19562 2004-11-10 Dan Williams <dcbw@redhat.com>
19564 Patches from j bootlab org
19565 * src/NetworkManagerDevice.c
19566 - (nm_device_activate_wireless): wait 5 seconds before attempting to detect
19567 whether the card has a link or not, some cards are slow
19568 - (nm_device_activation_configure_ip): make ipv6 work a bit better
19570 * info-daemon/NetworkManagerInfoPassphraseDialog.c
19571 - Disable the "Login" button on the passphrase dialog until the user
19572 enters a valid passphrase or key
19574 Patches from Tom Parker <palfrey tevp net>
19575 * src/backends/NetworkManagerDebian.c
19576 - Add static IP support to the debian backend
19578 * src/backends/interface_parser.[ch]
19579 - Parse debian interface config files
19581 2004-11-08 Dan Williams <dcbw@redhat.com>
19583 * src/NetworkManagerDevice.c
19584 - Some random fprintf->syslog conversions
19585 - (nm_device_wireless_network_exists): double-check for network
19586 - (nm_device_find_and_use_essid): Copy over encryption key no matter what
19588 * src/NetworkManagerWireless.[ch]
19589 - (nm_wireless_[128|64]bit_ascii_to_hex): make "ascii" argument unsigned again
19590 so that the binary->ascii conversion works (if unsigned, the bitshift
19591 will fill with zeros, which is what's required). Also mask bitshift
19592 result with 0xF for futher assurance.
19594 2004-11-06 Dan Williams <dcbw@redhat.com>
19596 * src/NetworkManagerUtils.c
19597 - (nm_get_wireless_driver_support_level): default to
19598 FULLY_SUPPORTED rather than UNSUPPORTED, forgot to
19599 flip this when changing from whitelist->blacklist of
19602 2004-11-05 Dan Williams <dcbw@redhat.com>
19604 Patch from Robert Paskowitz:
19605 * src/backends/NetworkManagerGentoo.c
19606 - Update static IP config code
19608 2004-11-05 Dan Williams <dcbw@redhat.com>
19610 * info-daemon/NetworkManagerInfoDbus.c
19611 src/NetworkManagerDbus.[ch]
19612 src/NetworkManagerDevice.c
19613 - Keep track of the # of attempts to get the WEP key
19614 from the user and pass that along to the info daemon
19616 2004-11-05 Dan Williams <dcbw@redhat.com>
19618 * src/NetworkManagerUtils.c
19619 - Blacklist wireless cards rather than whitelisting them.
19620 - Grab driver name from HAL rather than trying to find it
19623 2004-11-03 Dan Williams <dcbw@redhat.com>
19625 * panel-applet/NMWirelessAppletOtherNetworkDialog.c,
19626 - Disable OK button until valid data is entered
19627 for encryption stuff too
19629 * panel-applet/NMWirelessApplet.c
19630 - Report card strength for current AP if the card
19631 doesn't report strength data for scanned access
19634 * src/NetworkManagerDevice.c
19635 - Smooth out cards reported quality, Atmel card was
19636 intermittently reporting no quality data but soon
19639 * src/NetworkManagerWireless.c
19640 - Better quality data percentage calculation. Atmel
19641 cards (mine at least) seem to report the quality
19642 in percentage format already, so honor that
19644 Patch from <j@bootlab.org>
19646 info-daemon/NetworkManagerInfoPassphraseDialog.c
19647 info-daemon/passphrase.glade
19648 panel-applet/NMWirelessAppletOtherNetworkDialog.c
19649 panel-applet/essid.glade
19650 src/NetworkManagerAP.c
19651 src/NetworkManagerDevice.c
19652 src/NetworkManagerWireless.[ch]
19653 - Support ASCII WEP keys, in both 40/64 bit and 104/128 bit
19655 2004-11-03 Dan Williams <dcbw@redhat.com>
19657 * src/NetworkManagerDevice.[ch]
19658 - (nm_device_set_enc_key): Add parameter to set Authentication
19659 Mode (Open System, Shared Key, or None). We're still using
19660 Shared Key for now though.
19662 2004-11-02 Bryan Clark <clarkbw@cvs.gnome.org>
19664 * panel-applet/menu-info.c: change from bold text to light
19665 colored, may cause problems with some themes, i've tested a lot
19666 and they seem fine.
19668 * panel-applet/NMWirelessApplet.c: fix strength tooltip
19670 2004-11-01 Colin Walters <walters@verbum.org>
19672 * src/NetworkManagerWireless.h, src/NetworkManagerWireless.c
19673 (nm_wireless_128bit_key_from_passphrase): Add const.
19675 * src/NetworkManagerAP.h, src/NetworkManagerAP.c
19676 (nm_ap_set_enc_key_source): Add const.
19678 2004-11-01 Colin Walters <walters@verbum.org>
19680 * .cvsignore: Update.
19682 2004-10-29 Dan Williams <dcbw@redhat.com>
19684 * src/NetworkManagerDevice.c
19685 - (nm_device_wireless_network_exists): Actually use the encryption
19686 key we got from the applet when attempting to find a wireless network
19687 - Don't bring devices down so much since on some cards it triggers
19688 firmware hotplugs each time
19690 * src/NetworkManagerDbus.c
19691 - (nm_dbus_nm_set_active_device): free the passphrase we may have gotten
19694 2004-10-29 Dan Williams <dcbw@redhat.com>
19696 * src/NetworkManager.c
19697 - (nm_hal_device_property_modified): unlock a locked active
19698 wireless device when a wired connection gets a link.
19699 (Means you'll switch to wired whenever you plug in no
19702 2004-10-29 Dan Williams <dcbw@redhat.com>
19704 * panel-applet/NMWirelessAppletOtherNetworksDialog.[ch]
19705 - New files, implement the "Other wireless network" dialog
19707 * panel-applet/NMWirelessApplet.c
19708 - Move "other wireless network" dialog to separate file
19710 * panel-applet/NMWirelessAppletDbus.[ch]
19711 - Take key and key_type paramaters for the set_device function
19713 * panel-applet/essid.glade
19714 - Add UI bits for encryption settings
19716 * src/NetworkManagerDbus.c
19717 - Retrieve key and key_type params for "setActiveDevice" method call
19719 - unref AP returned from nm_device_get_best_ap() when needed
19721 * src/NetworkManagerDevice.c
19722 - (nm_device_get_best_ap): ref the ap before returning it
19723 - unref AP returned from nm_device_get_best_ap() when needed
19724 - (nm_device_activate_wireless): add "ap" parameter so we don't
19725 need to call nm_device_get_best_ap() here, it was pretty much
19727 - (AP_NEED_KEY): break second link check condition out into separate
19728 function, and fix segfault when ap->enc_key_source was NULL
19729 - (nm_device_find_and_use_essid): take key and key_type parameters and
19730 pass them along to nm_device_wireless_network_exists(). If the
19731 network does exist, set the passed-in key+key_type on the AP
19733 * src/NetworkManagerPolicy.c
19734 - unref AP returned from nm_device_get_best_ap() when needed
19736 2004-10-28 Dan Williams <dcbw@redhat.com>
19738 * src/NetworkManagerUtils.c
19739 - (nm_spawn_process): Fix a potential dereference of NULL
19741 Patches from Peter Jones:
19743 * src/NetworkManagerDevice.c
19744 - (nm_device_test_wireless_extensions): Better check for
19747 * src/NetworkManagerUtils.c
19748 - (nm_spawn_process): Pass in valid stdout and stderr so
19749 executed programs don't randomly SIGPIPE and fail
19750 - (nm_get_wired_driver_support_level): quash hal warning
19751 when checking for USB ethernet device
19753 2004-10-27 Dan Williams <dcbw@redhat.com>
19755 * info-daemon/NetworkManagerInfo.c
19756 info-daemon/NetworkManagerInfoDbus.c
19757 info-daemon/NetworkManagerInfoPassphraseDialog.c
19758 panel-applet/NMWirelessApplet.c
19759 - Properly escape gconf keys
19761 * src/NetworkManager.c
19762 - remove unused variables
19764 * src/NetworkManagerAP.c
19765 - (nm_ap_new_from_ap): Don't redundantly set new APs
19766 refcount since it got set in nm_ap_new()
19768 * src/NetworkManagerAPList.c
19769 - (nm_ap_list_combine): Give up ownership of newly created
19770 access points to the ap list, fixes memleak
19772 * src/NetworkManagerDevice.c
19773 - Remove cached_ap_list4 member since its not really needed
19774 - (nm_device_wireless_network_exists): Try to get correct
19775 encryption status of a found AP if its already in our
19777 - (nm_device_do_normal_scan): Clean up scanning a bit, make
19778 memory allocs/deallocs a bit clearer and shorter-lived
19780 2004-10-26 Ray Strode <rstrode@redhat.com>
19782 * panel-applet/NMWirelessApplet.c:
19783 (custom_essid_item_selected): kill some compiler
19786 2004-10-26 John (J5) Palmieri <johnp@redhat.com>
19788 * info-daemon/NetworkManagerInfoDbus.c
19789 - (nmi_dbus_is_running): New function for determining if nmi is already running
19790 - (nmi_dbus_service_init): exit if another instance of nmi is already running
19792 2004-10-23 Dan Williams <dcbw@redhat.com>
19794 * info-daemon/NetworkManagerInfoDbus.c
19795 - Trap the "DeviceActivationFailed" signal
19797 * docs/NetworkManager DBUS API.txt
19798 - Add "DeviceActivationFailed" signal
19800 * panel-applet/NMWirelessAppletDbus.c
19801 - Quash the "NetworkManager service not available" message
19803 * src/NetworkManagerDbus.[ch]
19804 - Add the "DeviceActivationFailed" signal
19806 * src/NetworkManagerDevice.c
19807 - Add support for activation_failed flag
19808 - Fix deadlock where activation thread didn't clean itself up, making
19809 main thread still believe it was alive forever (didn't reset activation
19810 flags like activating, just_activated, etc when IP configuration
19813 * src/NetworkManagerPolicy.c
19814 - Implement logic for DeviceActivationFailed signal, and when activation fails
19815 for wireless networks, try to fall back to some other access point
19817 2004-10-23 Dan Williams <dcbw@redhat.com>
19819 * panel-applet/NMWirelessApplet.[ch]
19820 - Place the GtkMenuBar inside a GtkEventBox, and add the Event Box
19821 to the applet object, so we can get tooltips
19822 - Add tooltips (RH #136866)
19824 * src/NetworkManagerDevice.c
19825 - When trying to find a wireless network, try to connect with encryption
19826 turned on first, so that we can more accurately detect whether or not
19827 we need to use encryption for the actual association later on
19829 2004-10-21 Dan Williams <dcbw@redhat.com>
19831 * Add some support for telling NetworkManagerInfo to tell the user
19832 that they are using a device that's not fully supported
19834 * Fix some assertions in debug messages due to null access point args
19836 2004-10-21 Dan Williams <dcbw@redhat.com>
19838 * src/NetworkManagerDevice.c
19839 - Don't try to activate/bring up/down unsupported
19842 * src/NetworkManagerUtils.c
19843 - Fix case of PCI ID checks for driver support levels
19845 2004-10-21 Dan Williams <dcbw@redhat.com>
19848 - New file, now contains commonly used structures and bits
19849 for the dbus API of NetworkManager
19852 - Deliver NetworkManager.h to ${includedir}/NetworkManager
19854 * src/NetworkManager.h
19855 - Rename -> src/NetworkManagerMain.c
19857 * Various fixups all around to use NetworkManager.h and new
19858 src/NetworkManagerMain.h, remove redundant bits that got
19859 moved into NetworkManager.h
19861 * src/NetworkManagerDevice.[ch]
19862 src/NetworkManagerUtils.[ch]
19863 src/NetworkManagerPolicy.c
19864 src/NetworkManagerDbus.c
19865 - Whitelist wireless drivers, and blacklist some wired
19866 drivers. Also blacklist cipsec and ethernet-over-usb
19867 devices at this time (RH #135722, RH #135648)
19868 - Don't leak unsupported devices out over dbus, or allow
19869 them to be set as the active device. Skip over them
19870 during automatic device picking
19872 * test/nmclienttest.c
19873 - Clean up the dbus code a lot
19875 Tue Oct 19 14:20:29 2004 Jonathan Blandford <jrb@redhat.com>
19877 * configure.in: post release bump.
19879 Tue Oct 19 14:19:24 2004 Jonathan Blandford <jrb@redhat.com>
19882 * NEWS: Released NetworkManager-0.3.1
19884 2004-10-18 Dan Williams <dcbw@redhat.com>
19886 Patches from Thom May:
19887 * test/nmtestdevices.c
19888 - Include <string.h>
19889 * src/backends/NetworkManagerDebian.c:
19890 - (nm_system_device_run_dhcp, nm_system_device_stop_dhcp)
19891 (nm_system_device_flush_routes, nm_system_device_flush_addresses)
19892 Move to using g_strdup_printf rather than arbitrary buffers
19893 - (nm_system_device_setup_static_ip4_config) Implement function.
19894 - (nm_system_kill_all_dhcp_daemons) Use killall -q rather than killall
19896 2004-10-17 Dan Williams <dcbw@redhat.com>
19898 * info-daemon/NetworkManagerInfoDbus.c
19899 - Display name of network in the "network not found" dialog
19901 * panel-applet/NMWirelessAppletDbus.c
19902 - (nmwa_dbus_call_nm_method): new function replaces all other
19903 nmwa_dbus_get_[string|string_array|int|boolean] methods
19904 - nmwa_dbus_get_network_name() and nmwa_dbus_get_device_name()
19905 consolidated into nmwa_dbus_get_object_name()
19907 2004-10-15 Dan Williams <dcbw@redhat.com>
19909 * src/NetworkManagerDbus.c
19910 info-daemon/NetworkManagerInfoDbus.c
19911 - Display an error dialog when the user tries to use an
19912 "Other wireless network" that's not found.
19914 2004-10-15 Dan Williams <dcbw@redhat.com>
19916 * panel-applet/NMWirelessApplet.[ch]
19917 - Fix up corner cases in applet state, making it
19918 look more responsive. Change state to "connecting" when
19919 the user is forcing a device too.
19921 2004-10-15 Dan Williams <dcbw@redhat.com>
19923 * src/NetworkManagerAPList.c
19924 - (nm_ap_list_update_network): Disown AP after the list takes ownership
19926 * src/NetworkManagerDbus.c
19927 - (nm_dbus_nm_set_active_device): Simplify the device setting logic
19929 * src/NetworkManagerDevice.c
19930 - Disown APs after the device's AP list takes ownership
19932 2004-10-15 Dan Williams <dcbw@redhat.com>
19934 * panel-applet/NMWirelessApplet.c
19935 - Update our applet state from the GUI thread
19937 * panel-applet/NMWirelessAppletDbus.c
19938 - Greatly simplify the locking to make the GUI thread
19939 smoother. Update a private copy of the device list
19940 and active device and only when done talking to
19941 NetworkManager turn it over to the GUI thread.
19943 2004-10-15 Dan Williams <dcbw@redhat.com>
19945 * src/NetworkManagerAP.[ch]
19946 - Add "artificial" get/set functions, set for APs that
19947 aren't discovered as part of a scan but instead
19948 discovered by force-setting the ESSID
19950 * src/NetworkManagerDevice.[ch]
19951 - (nm_device_wireless_network_exists): pass back whether
19952 or not the discovered AP was encrypted. Also, try
19953 falling back to encrypted mode on the card if unencrypted
19954 association doesn't work
19955 - (nm_device_find_and_use_essid): If the network requested
19956 did in fact exists, but it wasn't in our scan list, add
19957 an "artificial" entry for it. Some Cisco cards don't
19958 see non-ESSID-broadcasting APs in their scan but can still
19959 associate with them if you know the ESSID, this works around
19961 - (nm_device_do_normal_scan): Carry "artificial" APs over from scan
19962 to scan if the card is currently associated with that AP
19964 2004-10-15 Dan Williams <dcbw@redhat.com>
19966 ---- We have a website ----
19967 http://people.redhat.com/dcbw/NetworkManager
19969 Patch from Robert Paskowitz:
19970 * src/NetworkManager.c
19971 - (main): Make sure we are run as root
19972 * src/NetworkManagerDevice.c
19973 - Fix type in ad-hoc setting function
19975 Patch from Thom May:
19976 * src/backends/NetworkManagerDebian.c
19977 - Make Debian backend compile again
19979 2004-10-14 Dan Williams <dcbw@redhat.com>
19981 * Tagged NetworkManager-0_3
19983 2004-10-14 Dan Williams <dcbw@redhat.com>
19985 Patch from Robert Paskowitz:
19987 src/NetworkManagerDevice.[ch]
19988 src/backends/NetworkManagerDebian.c
19989 src/backends/NetworkManagerGentoo.c
19990 src/backends/NetworkManagerRedHat.c
19991 src/backends/NetworkManagerSlackware.c
19992 - Add support for grabbing and using a broadcast address
19993 from system config files
19994 - Some Gentoo backend fixes for grabbing network config
19995 - Fix LOG_WARN->LOG_WARNING
19997 2004-10-14 Dan Williams <dcbw@redhat.com>
19999 * NEWS: a few small fixes in the credits
20001 Thu Oct 14 19:12:58 2004 Jonathan Blandford <jrb@redhat.com>
20003 * NEWS: prep for release.
20005 Thu Oct 14 16:47:12 2004 Jonathan Blandford <jrb@redhat.com>
20007 * panel-applet/NMWirelessAppletDbus.c
20008 (nmwa_dbus_update_device_wireless_networks): remove warnings.
20010 Thu Oct 14 16:40:39 2004 Jonathan Blandford <jrb@redhat.com>
20012 * panel-applet/NMWirelessApplet.c (animation_timeout): Make
20013 applet->state == APPLET_STATE_NO_NM animation.
20015 * panel-applet/NMWirelessApplet.c (custom_essid_item_selected):
20016 set the text correctly.
20018 2004-10-14 Dan Williams <dcbw@redhat.com>
20020 * src/NetworkManager.c
20021 - Only accept and manager 802.3 and 802.11 devices
20023 * src/NetworkManagerDbus.[ch]
20024 - (nm_dbus_nm_set_active_device): move most of the actual activation
20025 logic into NetworkManagerDevice.c
20026 - (nm_dbus_network_status_from_data): new function
20027 - (nm_dbus_signal_network_status_change): new function, unused for now
20028 - (nm_dbus_nm_message_handler): use nm_dbus_network_status_from_data () now
20030 * src/NetworkManagerDevice.[ch]
20031 - (nm_device_find_and_use_essid): new function. Search for, and if found use,
20034 2004-10-14 John (J5) Palmieri <johnp@redhat.com>
20036 * info-daemon/NetworkManagerInfo.c
20037 - (main): Added session management
20039 2004-10-14 Dan Williams <dcbw@redhat.com>
20041 * panel-applet/NMWirelessAppletDbus.[ch]
20042 - Expose network_device_[un]ref()
20043 - Expose wireless_network_[un]ref()
20044 - (wireless_network_new_with_essid): new function, create and return
20045 a wireless network with a particular essid
20047 * panel-applet/NMWirelessApplet.c
20048 - Hook up the "other network" dialog to do something
20050 Wed Oct 13 19:31:53 2004 Jonathan Blandford <jrb@redhat.com>
20052 * panel-applet/NMWirelessApplet.c: Add an essid dialog. It
20053 doesn't work yet, but it looks okay.
20055 * panel-applet/icons/*png: Resize to 22x22 and install in the
20058 2004-10-13 Dan Williams <dcbw@redhat.com>
20060 * panel-applet/NMWirelessApplet.c
20061 - Add function to print out applet_state in a readable
20064 * src/NetworkManager.c
20065 - (main): Don't segfault when nm_dbus_init() fails, we had
20066 a left-over call to hal_shutdown() into which we passed NULL
20068 * src/NetworkManagerAP.c
20069 - (nm_ap_set_essid): Allow NULL essids
20071 * src/NetworkManagerAPList.[ch]
20072 - More use of nm_ap_list_[un]lock ()
20073 - (nm_ap_list_get_ap_by_essid): don't warn when looking for a NULL
20074 network/essid, just return nothing. Also skip over NULL
20075 essid access points in the list when searching
20076 - (nm_ap_list_get_ap_by_address): new function
20077 - (nm_ap_list_update_network): set the access point's key source to
20078 NULL when the key returned from NetworkManagerInfo is NULL or
20080 - nm_ap_list_update_keys() -> nm_ap_list_update_properties(), and
20081 copy timestamp over too
20082 - (nm_ap_list_copy_essids_by_address): new function, attempt to
20083 find the correct ESSID for a blank-essid access point by searching
20084 through another list and matching access point MAC addresses
20085 - (nm_ap_list_diff): exclude blank-essid access points from the diffs
20087 * src/NetworkManagerDbus.c
20088 - (nm_dbus_nm_set_active_device): deal with random networks the user
20089 may specify. This is mainly for access points that don't
20090 broadcast their essid. So if the user tells us to associate with
20091 some random ESSID that's not in our access point list, we find
20092 out if the access point does in fact exist (by attempting association
20093 and then matching that access point's MAC address with the essid the
20094 user gave us) and then we switch to it.
20095 - (nm_dbus_devices_handle_request): don't add blank-essid access points
20096 to the returned list of networks for the "getNetworks" method
20098 * src/NetworkManagerDevice.[ch]
20099 - Extra debugging info for link detection
20100 - (nm_device_ap_list_get_ap_by_address): new function, return an AP
20101 based on MAC address
20102 - (nm_device_get_path_for_ap): ignore blank-essid access points
20103 - (nm_device_wireless_network_exists): new function, find out whether
20104 a random ESSID exists by attempting to associate with it
20105 - (nm_device_do_normal_scan): allow blank-essid access points in our
20106 device list as long as they have an AP MAC address we can use.
20107 Also send WirelessNetwork[Dis]Appeared signals for non-active
20108 devices too. Lets the applet update more frequently.
20110 * src/backends/NetworkManagerGentoo.c
20111 - Patch from: Robert Paskowitz
20112 - Update backend code for Gentoo
20113 - Implement nm_system_device_update_config_info ()
20115 * test/nmclienttest.c
20116 - (set_network_device): new function, takes a command-line argument
20117 and tells NetworkManager to use that wireless network
20119 Wed Oct 13 John (J5) Palmieri <johnp@redhat.com>
20121 * info-daemon/NetworkManagerInfo.c (nmi_spawn_notification_icon): Stop respawning
20122 if the notification icon crashes 5 times within 5 seconds of each respawn
20124 Tue Oct 12 22:53:04 2004 Jonathan Blandford <jrb@redhat.com>
20126 * panel-applet/NMWirelessApplet.c (nmwa_update_state): remove
20129 Tue Oct 12 22:44:15 2004 Jonathan Blandford <jrb@redhat.com>
20131 * panel-applet/NMWirelessApplet.h: Change the name of the icons.
20133 * panel-applet/NMWirelessApplet.c: (animation_timeout),
20134 (nmwa_update_state), (nmwa_destroy), (nmwa_setup_widgets),
20135 (nmwa_icons_free), (nmwa_icons_load_from_disk), (nmwa_icons_init):
20136 Change the name of the icons.
20138 * panel-applet/menu-info.c: (nm_menu_wired_class_init),
20139 (nm_menu_wired_expose_event), (nm_menu_network_class_init),
20140 (nm_menu_wireless_class_init), (nm_menu_wireless_new),
20141 (nm_menu_wireless_expose_event): Really bad hack to get the style
20142 to draw in the right color.
20144 Tue Oct 12 John (J5) Palmieri <johnp@redhat.com>
20146 * info-daemon/NetworkManagerInfo.c (main): Add child watch to respawn
20147 Notification if it crashes
20149 Fri Oct 8 07:19:55 2004 Jonathan Blandford <jrb@redhat.com>
20151 * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_get_double):
20152 (nmwa_dbus_get_string): remove unused functions
20154 * panel-applet/NMWirelessApplet.c (nmwa_about_cb):
20155 (nmwa_cancel_timeout), (nmwa_get_menu_pos), (nmwa_factory):
20156 remove unused functions
20158 * panel-applet/NMWirelessApplet.c: Rewrite icon code.
20160 2004-10-12 Dan Williams <dcbw@redhat.com>
20162 * panel-applet/NMWirelessAppletDbus.c
20164 wireless_network_new
20165 wireless_network_copy
20167 network_device_copy
20169 * src/NetworkManagerDevice.[ch]
20171 nm_device_set_mode_managed
20172 nm_device_set_mode_adhoc
20173 - Use these functions where appropriate
20174 - When creating a new wireless device, force the card
20175 to managed/Infrastructure mode as soon as possible
20177 2004-10-12 Dan Williams <dcbw@redhat.com>
20179 * src/NetworkManagerDevice.c
20180 - Force wireless cards into Infrastructure mode before we use them
20182 2004-10-12 Dan Williams <dcbw@redhat.com>
20185 - Remove bit about static IP address support
20187 * src/NetworkManagerUtils.c
20188 - (nm_spawn_process): Add some error reporting
20190 * src/NetworkManagerDevice.c
20191 - (nm_device_activation_configure_ip): hook up to the static config
20192 routines in the backends
20194 * src/backends/NetworkManagerRedHat.c
20195 - (nm_system_device_update_config_info): use shvar.c routines to
20196 parse the config file iformation, not our own
20197 - (nm_system_device_setup_static_ip4_config): new function, based
20198 heavily on 'ifup' script and 'ipcalc' tool code. Set up a device
20199 with a static IP address and gateway
20201 * src/backends/shvar.[ch]
20202 - Parser (filched from initscripts package) for ifcfg-* files
20204 * src/backends/NetworkManagerSystem.h
20205 src/backends/NetworkManagerGentoo.c
20206 src/backends/NetworkManagerDebian.c
20207 src/backends/NetworkManagerSlackware.c
20208 - Stub nm_system_device_update_config_info() and nm_system_device_setup_static_ip4_config()
20210 2004-10-11 Dan Williams <dcbw@redhat.com>
20213 - Remove bit about more robust AP diffing since I just implemented it
20215 2004-10-11 Dan Williams <dcbw@redhat.com>
20217 * src/NetworkManagerAP.c
20218 - (nm_ap_new, nm_ap_new_from_ap): Don't crash when we don't have
20219 enough RAM to allocate new AP structures, but return NULL instead
20221 * src/NetworkManagerAPList.[ch]
20222 - (nm_ap_list_is_empty): new function
20223 - (nm_ap_list_combine): new function, combine two access point lists
20224 - (nm_ap_list_copy_keys): new function, copy keys from one list
20227 * src/NetworkManagerDevice.[ch]
20228 - Rename some functions to be clearer:
20229 nm_device_get_best_ap_frozen -> nm_device_is_best_ap_frozen
20230 nm_device_just_activated -> nm_device_is_just_activated
20231 nm_device_activating -> nm_device_is_activating
20232 nm_device_now_scanning -> nm_device_is_scanning
20233 - Cache the last 4 scans so that the access point list is more stable.
20234 We combine the lastest two scans and use that as the AP list,
20235 and diff that combined list against the combination of the earliest
20236 two cached scans for the WirelessNetworkAppeared/Dissappeared signals
20238 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
20240 * info-daemon/NWManagerInfo.h
20241 - (struct NetworkManagerInfo): add shutdown_timeout GSource
20243 * info-daemon/NWManagerInfoDbus.c
20244 - (shutdown_callback): new function
20245 - (nmi_dbus_filter): Create a 30 second timeout until shutdown
20246 if NetworkManager goes away. Kill the timeout
20247 if NetworkManager restarts before the 30 seconds
20249 - (nmi_dbus_service_init):
20250 - call gtk_main_quit if NetworkManager is not running
20251 - add filters to monitor dbus service creations and
20254 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
20256 * panel-applet/NMWirelessApplet.c
20257 - (nmwa_update_state): Hide notification icon if we are only
20258 showing one wired card and no wireless interfaces
20259 (Red Hat Bug #134895)
20261 * panel-applet/NMWirelessAppletDbus.c
20262 - (nmwa_dbus_filter): changed exit to gtk_main_quit ()
20264 * info-daemon/NWManagerInfo.c
20265 - (main): Terminated the notification_icon_cmd array with a NULL
20267 2004-10-08 Hendrik Brandt <hebra@cvs.gnome.org>
20269 * configure.in (ALL_LINGUAS): Added de (German).
20271 2004-10-08 Dan Williams <dcbw@redaht.com>
20273 * src/NetworkManagerDevice.c
20274 - Be a bit more robust about link checking, ie make sure that
20275 the WEP key we were given actually has some data in it
20277 2004-10-08 Dan Williams <dcbw@redhat.com>
20279 * info-daemon/NetworkManagerInfo.c (main):
20280 - Initialize GError object to NULL
20282 2004-10-08 Dan Williams <dcbw@redhat.com>
20284 * panel-applet/NMWirelessAppletDbus.c
20285 - Die if NetworkManagerInfo dies, since it manages our lifetime
20287 2004-10-08 Dan Williams <dcbw@redhat.com>
20289 * info-daemon/NetworkManagerInfo.[ch]
20290 info-dameon/NetworkManagerInfoDbus.[ch]
20291 info-daemon/NetworkManagerInfoPassphraseDialog.[ch]
20292 - Preserve original label text in the passphrase dialog so that
20293 it actually gets updated with the new network name the next
20294 time around. Previously, we were overwriting it so you'd get
20295 the wrong network name to enter a key for
20296 - Add a "Key Type" combo to the passphrase dialog, user selects
20297 encryption key type now, type is stored in GConf too
20298 - Adjust NM<->NMI DBUS protocol to pass the key type back to NM too
20300 * src/NetworkManagerAP.[ch]
20301 - Remove all the encyption method magic. It's now set by the user
20302 and NetworkManager retrieves the type of encryption key from
20305 * src/NetworkManagerAPList.[ch]
20306 src/NetworkManagerDbus.[ch]
20307 - Adjust to new way of setting encryption key and method
20308 - Pull encryption method down from NMI along with key
20310 * src/NetworkManagerDevice.[ch]
20311 - Removed encryption method fallback magic as the method is now
20312 determined by the user. This greatly simplifies the connection
20314 - More robust connection/link logic. Besides removing the encryption
20315 method fallback magic, check whether or not the card is receiving
20316 invalidly encrypted packets, which usually indicates that we have
20318 - Don't blindly forge ahead when DHCP fails (still not completely fixed)
20320 * test/nminfotest.c
20321 - Test out new "Key Type" stuff in the NMI passphrase dialog
20323 2004-10-07 Dan Williams <dcbw@redhat.com>
20325 * info-daemon/NetworkManagerInfo.conf
20326 - Allow root user to run NMI too
20328 2004-10-06 Dan Williams <dcbw@redhat.com>
20330 * src/NetworkManagerDevice.[ch]
20331 src/NetworkManagerDbus.c
20332 doc/NetworkManager DBUS API.txt
20333 - Add a new status tag "scanning", which is set when there
20334 is no active network connection, but NetworkManager is
20335 looking for an access point to associate with
20337 * panel-applet/main.c
20338 - Cast the applet appropriately for gtk_widget_show_all ()
20340 Mon Oct 4 12:55:41 2004 Jonathan Blandford <jrb@redhat.com>
20342 * panel-applet/eggtrayicon.[ch]:
20343 * panel-applet/main.c: Add missing file
20345 2004-10-04 Dan Williams <dcbw@redhat.com>
20347 * src/NetworkManagerDevice.[ch]
20348 - Add a slightly more robust method of determining if the WEP key
20349 is correct or not, by checking the WEP-discarded packet count
20352 * info-daemon/NetworkManagerInfo.c
20353 - (nmi_gconf_notify_callback): Fix GConf essid escaping, should
20354 un-escape values we pull out rather than escaping them
20356 2004-10-03 Marcel Telka <marcel@telka.sk>
20358 * configure.in (ALL_LINGUAS): Added sk.
20360 Fri Oct 1 18:26:03 2004 Jonathan Blandford <jrb@redhat.com>
20362 * panel-applet/menu-info.c (nm_menu_wired_class_init): update look
20363 and feel. We should be back to working, and have a good, clean
20366 2004-09-30 Dan Williams <dcbw@redhat.com>
20368 * info-daemon/NetworkManagerInfo.c
20369 info-daemon/NetworkManagerInfoDbus.c
20371 - Escape ESSIDs in gconf
20373 * src/NetworkManagerDevice.c
20374 - Fix pseudo-scanning to use netowrk list from info daemon
20376 Wed Sep 29 18:18:24 2004 Jonathan Blandford <jrb@redhat.com>
20378 * configure.in: Add a temporary --enable-notification-icon. This
20379 will prolly go away.
20381 * info-daemon/Makefile.am:
20382 * info-daemon/NetworkManagerInfo.c:
20383 * info-daemon/NetworkManagerInfo.h: Use a notification icon.
20385 * panel-applet/Makefile.am:
20386 * panel-applet/NMWirelessApplet.c: Turn into a notification icon
20387 * panel-applet/NMWirelessApplet.h:
20389 Tue Sep 28 16:35:20 2004 Jonathan Blandford <jrb@redhat.com>
20391 * panel-applet/NMWirelessApplet.c: Fix deadlock. Add a separator
20392 before 'select custom ESSID'.
20394 * panel-applet/menu-info.c: Start rewrite for better headers. Not
20395 fully complete, but syncing in prep for merge.
20397 * panel-applet/icons/*png: New images
20399 2004-09-28 Dan Williams <dcbw@redhat.com>
20401 * src/NetworkManager.c
20402 src/NetworkManagerDevice.c
20403 src/NetworkManagerPolicy.c
20404 - Don't blow away an active wired connection on startup
20406 2004-09-28 Bryan Clark <clarkbw@cvs.gnome.org>
20410 * info-daemon/NetworkManagerInfo.conf: fixed own permissions
20412 * info-daemon/NetworkManagerInfoDbus.c: added service name to
20415 Wed Sep 22 14:19:48 2004 Jonathan Blandford <jrb@redhat.com>
20417 * panel-applet/NMWirelessApplet.c: Only add essid's if we actually
20418 have a wireless card.
20420 Wed Sep 22 14:05:48 2004 Jonathan Blandford <jrb@redhat.com>
20422 * panel-applet/NMWirelessApplet.c: move the custom essid item.
20423 Also, get the right device strings.
20425 Wed Sep 22 13:51:45 2004 Jonathan Blandford <jrb@redhat.com>
20427 * panel-applet/menu-info.c (nm_menu_network_draw_indicator): Flip
20428 the logic to make this right.
20430 * panel-applet/NMWirelessApplet.c (sort_networks_function): sort
20431 devices so that wired networks are always first.
20433 2004-09-22 <clarkbw@cvs.gnome.org>
20435 * initscript/Debian/.cvsignore:
20436 * initscript/Slackware/.cvsignore:
20437 Added new cvsignores for Makefile, Makefile.in
20440 Added nmtestdevices
20442 * src/NetworkManagerDevice.c:
20443 * src/NetworkManager.c:
20444 Updated the wireless/wired HAL device strings from net.ethernet to
20445 net.80203 or net.80211 depending on wired or wireless respectively
20447 * examples/python/NetworkManager.py:
20448 s/Quality/Strength/
20450 * examples/python/systray/network_tray.py:
20451 Lots of little changes and fixes. been rotting for a while so I
20452 figured I'd finally sync them all with CVS
20454 Tue Sep 21 18:05:34 2004 Jonathan Blandford <jrb@redhat.com>
20456 * configure.in: Add graphics
20458 * panel-applet/Makefile.am: Add graphics
20460 * panel-applet/icons/*: Add graphics
20462 * panel-applet/NMWirelessApplet.c: Use new menu times to display
20463 the icons fully lined up.
20465 * panel-applet/menu-info.c:
20466 * panel-applet/menu-info.h: Add another menu type.
20468 Fri Sep 17 14:04:34 2004 Jonathan Blandford <jrb@redhat.com>
20470 * panel-applet/NMWirelessApplet.c: Redo the menu item code.
20472 * panel-applet/menu-item.[ch]: Wireless menu item.
20474 2004-09-15 John (J5) Palmieri <johnp@redhat.com>
20476 * info-daemon/NetworkManagerInfo.conf
20477 - Created a more robust security policy for the DBus service
20478 - everything is denied by default
20479 - root can own and send to the service
20480 - users logged in at the console can send to the service
20482 2004-09-13 Dan Williams <dcbw@redhat.com>
20484 * src/NetworkManagerDevice.c
20485 - (nm_device_get_essid): use iw_get_basic_config() rather than
20486 iw_get_ext (SIOCGIWESSID) since prism54 cards don't like
20489 2004-09-13 Dan Williams <dcbw@redhat.com>
20493 * docs/NetworkManager DBUS API.txt
20494 - Update for new signal strength changes
20496 * panel-applet/NMWirelessApplet.c
20497 - Make panel icon show strength of the current connection
20498 - Cleanups and memleak fixes
20500 * panel-applet/NMWirelessApplet.h
20501 - Add data members for signal strength on devices and networks
20503 * panel-applet/NMWirelessAppletDbus.c
20504 - Free more DBusErrors
20505 - Update for new signal strength changes
20506 - Make devices and networks more like real objects, use ref/unref methods
20507 - Actually unlock the mutex when updating the active device
20509 * src/NetworkManagerAP.c
20510 - Change AP functions and data members from "quality"->"strength"
20512 * src/NetworkManagerDbus.c
20513 - Kill "getMaxQuality" and "getQuality" methods
20514 - Add "getStrength" methods for Networks and Devices
20516 * src/NetworkManagerDevice.[ch]
20517 - Add accessors for device strength
20518 - Add functions to update strength for a device. Note that not all drivers
20519 actually support signal strength for scanned access points (Atmel drivers
20521 - Calculate signal strength for each AP during scan
20523 * src/NetworkManagerWireless.[ch]
20524 - Add function to return signal strength % from a device and a raw quality struct
20526 * test/nmclienttest.c
20527 - Update for new signal strength changes
20529 2004-09-11 Dan Williams <dcbw@redhat.com>
20531 * src/NetworkManager.c
20532 - Fix race condition between initscripts and NM on card insertion
20533 which could cause a card to keep an IP address and routes around
20534 even when it was not the active device
20536 * src/NetworkManagerDbus.c
20537 - Fix compile errors, free more DBusErrors
20539 2004-09-11 Dan Williams <dcbw@redhat.com>
20541 * docs/NetworkManager DBUS API.txt
20542 - Add an explanation of NM's API
20544 * src/NetworkManagerDbus.c
20545 - Free some more DBusErrors if needed
20547 2004-09-11 Dan Williams <dcbw@redhat.com>
20549 * panel-applet/NMWirelessApplet.c
20550 panel-applet/NMWirelessAppletDbus.c
20551 - Start using NetworkDevice/WirelessNetwork structures in more places
20552 - Update for unified device/network forcing in NetworkManager
20554 * src/NetworkManager.c
20555 - some code consolidation
20557 * src/NetworkManagerDbus.c
20558 - (nm_dbus_nm_set_active_device): "setActiveDevice" now takes either one
20559 or two arguments: the first is the NM ID of the device to switch to,
20560 and the second (optional) argument is the ESSID of a wireless network
20562 - Get rid of "setNetwork" method due to above change
20564 * src/NetworkManagerDevice.c
20565 - (nm_device_new): perform scan and update best AP on device creation
20566 - nm_device_activation_cancel_if_needed()->nm_device_activation_should_cancel()
20567 - nm_device_activation_signal_cancel()->nm_device_activation_cancel(), and
20568 spin waiting for cancellation to finish before returning
20570 * src/NetworkManagerPolicy.c
20571 - Changes here clarify the situations in which a device switch occurs, and
20572 make sure to keep using a forced device and network if the user gives
20574 - Remove old unused code
20576 2004-09-11 Martin Willemoes Hansen <mwh@sysrq.dk>
20578 * configure.in: Added Danish (da) to ALL_LINGUAS.
20580 2004-09-09 Dan Williams <dcbw@redhat.com>
20582 * panel-applet/NMWirelessAppletDbus.c
20583 - Pull fresh devices and networks from NM when wireless networks
20584 change. Provides faster feedback of a forced wireless network
20586 * src/NetworkManagerDbus.c
20587 - Return error when "getMaxQuality" is called on a wired device
20588 - Make best_ap freezing actually work again, and signal cancellation
20589 of activation if there's already a device activation when the user
20590 freezes the best_ap
20592 * src/NetworkManagerDevice.c
20593 - Don't clear out the best_ap for wireless devices when the link goes
20594 down, that's done elsewhere
20595 - Kill any dhcp daemons when cancelling device activation since they
20596 may be stuck waiting for a DHCP address, and since we're cancelling
20597 activation we don't care about that anymore
20599 * src/NetworkManagerPolicy.c
20600 - Make sure to unref the device we ref earlier (we refed it to make sure
20601 it stuck around during device activation and such)
20602 - If we were going to change the best device, but its activating currently
20603 (and therefore the change didn't occur due to the check earlier)
20604 we mark the state changed to we come back to it later when device
20605 activation has canceled and its no longer activating
20607 * src/backends/NetworkManagerRedHat.c
20608 - SIGKILL dhcp daemons rather than SIGTERM-ing them
20610 2004-09-09 Bryan Clark <clarkbw@cvs.gnome.org>
20612 * info-daemon/passphrase.glade:
20613 set passphrase input to activates_default : True
20615 * examples/python/systray/network_tray.py
20616 (network_tray.sort_networks):
20618 Added support for having wireless always scanning
20620 2004-09-09 Dan Williams <dcbw@redhat.com>
20622 NOTE: this commit changes the behavior of wireless devices in
20623 NetworkManager. They are now up all the time, scanning all
20624 the time. Only the active device has an IP address and routing
20625 information set up however. Also, NetworkManager will no longer
20626 opportunistically switch wireless networks when a better one
20627 comes in range, it will remain associated with one wireless network
20628 until that one drops out.
20630 * panel-applet/NMWirelessApplet.c
20631 panel-applet/NMWirelessAppletDbus.c
20632 - List all wireless cards and their respective networks
20634 * src/NMLoadModules
20635 - Use full path to /sbin/ip
20637 * src/NetworkManager.c
20638 - Keep wireless devices up all the time so they can scan
20640 * src/NetworkManagerDbus.c
20641 - On a WirelessNetworkUpdate signal from NMI, don't update
20644 * src/NetworkManagerDevice.c
20645 - (nm_device_set_link_active): clear out the best ap for
20646 wireless devices when the link is set to FALSE
20647 - Scan on all wireless cards, all the time
20648 - (nm_device_activation_worker): split out the wireless card
20649 link-waiting code to a separate function
20650 - Keep wireless cards up even if device activation fails
20651 - Don't update the "best" ap as much
20653 * src/NetworkManagerPolicy.c
20654 - Don't update the best ap when checking if its frozen,
20655 let link checking clear out a frozen best ap for us
20657 * src/NetworkManagerWireless.c
20658 - Scan on all wireless cards, all the time
20660 2004-09-09 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
20662 * configure.in: Added 'es' (Spanish) to ALL_LINGUAS.
20664 2004-09-09 Ankit Patel <ankit@redhat.com>
20666 * configure.in: Added 'gu' (Gujarati) to ALL_LINGUAS.
20668 2004-09-09 Pablo Saratxaga <pablo@mandrakesoft.com>
20670 * configure.in: Added Walloon (wa) to ALL_LINGUAS.
20672 2004-09-08 Bryan Clark <clarkbw@cvs.gnome.org>
20674 * examples/python/NetworkManager.py:
20675 added CONNECTED, CONNECTING, and DISCONNECTED states
20676 added methods to return number of devices of a single type
20678 * examples/python/systray/network_tray.py:
20679 did some tweaks to get the menu looking near what it is supposed
20680 to look like. Also did a Airo card hack to make it show the
20683 2004-09-08 Dan Williams <dcbw@redhat.com>
20685 * panel-applet/no-networkmanager.png
20686 panel-applet/Makefile.am
20687 panel-applet/NMWirelessApplet.c
20688 - Add a "NetworkManager not running" icon and use it
20689 - Use new consolidated GConf keys rather than Preferred/Trusted
20693 * info-daemon/NetworkManagerInfo.c
20694 info-daemon/NetworkManagerInfoDbus.[ch]
20695 info-daemon/NetworkManagerInfoPassphraseDialog.c
20696 - There are now no longer two separate lists of wireless networks,
20697 but one list where each network is "trusted" or not trusted
20698 - Add a "getNetworkTrusted" dbus method
20699 - "WirelessNetworkUpdate" signal now sent rather than
20700 "PreferredNetworkUpdate/TrustedNetworkUpdate" signals
20701 - Start freeing some dbus errors (not completed yet)
20703 * info-daemon/passphrase.glade
20704 - Remove the "don't show" hints for pager and taskbar
20705 - Add a title since its going to be in the taskbar
20707 * src/NetworkManager.[ch]
20708 src/NetworkManagerAPList.[ch]
20709 - There are now no longer two separate lists of wireless networks,
20710 but one list where each network is "trusted" or not trusted
20712 * src/NetworkManagerAP.[ch]
20713 - Add get/set "trusted" accessors and data bit
20715 * src/NetworkManagerDbus.[ch]
20716 - Add function to get "trusted" status of a network from NetworkManagerInfo
20717 - Trap new WirelessNetworkUpdate signal rather than old separate signals
20719 * src/NetworkManagerDevice.[ch]
20720 - Add per-device config data (ip4 addr, gateway, netmask) and accessors
20721 - (nm_device_new): Get device config from backend when initializing devices
20722 - (nm_device_activation_worker): Split out device configuration on
20723 activation to deal with static/dynamic IP differences, and try encryption
20724 fallbacks on a device if the encryption method for the best AP is not good
20725 - (nm_device_update_best_ap): convert to new consolidated access point lists from
20726 NetworkManagerInfo, and copy over latest NMI info to best_ap when setting it
20728 * src/NetworkManagerWireless.c
20729 - libgcrypt code wasn't converting the MD5 digest to an ascii string, fix it
20731 * src/backends/NetworkManagerRedHat.c
20732 src/backends/NetworkManagerSystem.h
20733 - (nm_system_device_update_config_info): Add function to get device configuration
20734 from system data in ifcfg-* files
20736 * src/backends/NetworkManagerDebian.c
20737 src/backends/NetworkManagerGentoo.c
20738 src/backends/NetworkManagerSlackware.c
20739 - Add stub functions for getting device configuration
20741 2004-09-07 Dan Williams <dcbw@redhat.com>
20743 * src/backends/NetworkManagerRedhat.c
20744 src/backends/NetworkManagerSlackware.c
20745 - Use full path to /sbin/ip everywhere
20747 2004-09-07 Dan Williams <dcbw@redhat.com>
20749 Patch from: Narayan Newton <narayan_newton@yahoo.com>
20752 initscript/Makefile.am
20753 initscript/Slackware/Makfile.am
20754 initscript/Slackware/rc.networkmanager
20756 src/backends/NetworkManagerSlackware.c
20757 - Add Slackware support
20759 2004-09-07 Dan Williams <dcbw@redhat.com>
20761 Patches below from:
20763 Mark Roach <mrroach@okmaybe.com>
20764 Thom May <thom@debian.org>
20767 initscript/Debian/NetworkManager
20768 initscript/Debian/Makefile.am
20769 - Initscript for Debian
20771 * src/backends/NetworkManagerDebian.c
20772 - Add missing system init function to allow compilation
20775 2004-09-03 Raphael Higino <raphaelh@cvs.gnome.org>
20777 * configure.in: Added 'pt_BR' to ALL_LINGUAS.
20779 2004-09-03 Akagic Amila <bono@linux.org.ba>
20781 * configure.in: Added 'bs' to ALL_LINGUAS.
20783 2004-09-02 Colin Walters <walters@verbum.org>
20785 * src/backends/NetworkManagerRedHat.c (nm_system_device_run_dhcp)
20786 (nm_system_device_stop_dhcp, nm_system_device_flush_routes): Use
20787 g_strdup_printf instead of arbitrarily sized buffers.
20789 2004-09-01 Colin Walters <walters@verbum.org>
20791 * NetworkManager.pc.in: New file.
20793 * Makefile.am, .cvsignore, configure.in: Add NetworkManager.pc.
20795 2004-09-01 Amanpreet Singh Alam <aalam@redhat.com>
20797 * configure.in: Punjabi(pa) is added to po/.
20799 2004-08-31 Dan Williams <dcbw@redhat.com>
20801 * Remove 'debug' extern global from all files since we now
20804 * src/NetworkManager.[ch]
20805 - Break out routine that get the net.interface property from HAL,
20806 removing that logic from nm_create_device_and_add_to_list()
20807 - (nm_create_device_and_add_to_list): make this a bit more general so
20808 it doesn't do the talking to HAL. Also add arguments to facilitate
20809 the create of test devices.
20810 - (nm_data_mark_state_changed): rename from nm_data_set_state_modified()
20811 - (nm_data_new, main, nm_print_usage): add new argument "--enable-test-devices"
20812 which makes NetworkManager listen for dbus commands to create test
20813 devices, which have no backing hardware. Use when you're on a plane
20814 for example, and/or forgot your wireless card at home. Test devices
20815 _cannot_ be created unless NM is started with --enable-test-devices.
20817 * src/NetworkManagerDbus.[ch]
20818 - New "getLinkActive" method for devices
20819 - New "setLinkActive" method for devices (only works on test devices)
20820 - New "createTestDevice" method on NetworkManager object to create a test
20821 device of a specified type (ie wired, wireless). UDI is created from
20822 scratch, as is the interface name. Only works when NM is started with
20823 --enable-test-devices switch.
20824 - New "removeTestDevice" method on NetworkManager object which removes a
20825 test device. Only works when NM is started with --enable-test-devices
20827 * src/NetworkManagerDevice.[ch]
20828 - Logic to facilitate test devices. Add variables to NMDevice struct to indicate
20829 whether a device is a test device or not, and what its link status is.
20830 - Deal with test devices in most functions. For those that work directly on hardware
20831 special-case test devices.
20832 - (nm_device_new): don't create a test device if test devices weren't enabled on the
20834 - (nm_device_update_link_active): split out logic for wired and wireless device link
20835 checking to separate functions to facilitate test device link checking.
20836 - (nm_device_set_enc_key): Since some drivers for wireless cards are daft and
20837 don't make a distinction between System Authentication and Encryption
20838 (namely Cisco aironet), we use Open System auth when setting a WEP key
20839 on the card. We don't deal with Shared Key auth yet.
20840 - (nm_device_activation_worker): split the activation cancel check logic out into
20841 a separate routine nm_device_activation_cancel_if_needed()
20842 - (nm_device_activation_signal_cancel): rename from nm_device_activation_cancel()
20843 - (nm_device_fake_ap_list): Test wireless devices obviously cannot scan, so create
20844 a list of fake access points that they can "see"
20845 - (nm_device_is_test_device): return whether or not a device is a test device
20847 * src/NetworkManagerPolicy.c
20848 - (nm_policy_get_best_device): attempt to deal with wireless network selection,
20849 previously if you "locked"/forced NM to use a wireless device but then
20850 selected a wireless network for NM to use, it would switch to a wired device.
20851 So, if the active device is wireless and it has a "forced" best AP, use it
20852 if the "forced" best AP is still valid
20853 - (nm_state_modification_monitor): deal with NULL best devices, for example
20854 there were no usable network devices, or the last one was removed
20856 * src/backends/NetworkManager*.c
20857 - Deal with test devices, mostly just return success for operations like getting
20860 * test/nmtestdevices.c
20861 - Test tool to create/remove/link-switch test devices
20863 2004-08-30 Bryan Clark <clarkbw@cvs.gnome.org>
20865 * examples/python/NetworkManager.py:
20866 added convience functions has_wired_device and has_wireless_device
20868 * examples/python/systray/network_tray.py:
20869 cleaned up a bunch of cruft, added support for listing wireless
20870 networks just like the real applet. This is probably all I'm
20871 going to work on this applet from now on.
20872 TODO: add support for actually changing networks and devices
20874 * examples/python/NetworkManager.py (NetworkManager.get_device):
20875 changed "nm.networks" into a dict from a list so I can store all
20876 the cool information about networks in there
20878 * examples/python/systray/network_tray.py:
20879 Added nice message when you try to run without running make first
20881 * examples/python/NetworkManager.py:
20882 Bug fixes to the code so we get all the device information
20883 that we need in get_device()
20885 * examples/python/NMTester.py:
20886 Fixed _print_device_list to print_device_list
20888 2004-08-29 Seth Nickell <seth@gnome.org>
20892 Actually properly setup the Debian backend in configure.
20894 2004-08-29 Colin Walters <walters@verbum.org>
20896 * test/nminfotest.c: Include string.h and stdlib.h.
20897 (get_network_string_property, get_networks_of_type): Return NULL.
20899 * test/nmclienttest.c (get_device_name, get_active_device): Return
20902 * src/backends/NetworkManagerRedHat.c (nm_system_device_stop_dhcp): Just
20903 use strlen, fgets always NULL-terminates the string.
20905 * src/NetworkManagerDbus.c (nm_dbus_nmi_filter,
20906 dbus_message_get_member): Remove /* in comment.
20908 * src/NetworkManagerUtils.c (LOCKING_DEBUG): Ditto.
20910 * src/NetworkManager.c (quit): Unused, delete.
20911 (nm_data_free): Cast arg to GFunc.
20913 * panel-applet/NMWirelessAppletDbus.c: Need to include
20914 string.h, and dbus-glib-lowlevel.h (the latter is needed
20915 for dbus_connection_setup_with_g_main at present).
20916 (nmwa_dbus_update_wireless_network_list): Parenthesize
20917 assignment in conditional.
20918 (nmwa_dbus_worker): Return NULL.
20920 * panel-applet/NMWirelessApplet.c (nmwa_redraw)
20921 (nmwa_get_menu_pos, nmwa_toplevel_menu_activate)
20922 (nmwa_menu_add_text_item, nmwa_setup_widgets): Kill unused variables.
20923 (nmwa_populate_menu): Return NULL on failure, instead of just
20926 * initscript/NMLaunchHelper.c (g_timeout_add): Cast arg to GSourceFunc.
20928 * info-daemon/NetworkManagerInfoNetworksDialog.c (nmi_networks_dialog_init): Kill unused
20931 * info-daemon/NetworkManagerInfo.c (nmi_print_usage): Unused,
20934 2004-08-29 Colin Walters <walters@verbum.org>
20936 * src/NetworkManagerDbus.c (nm_dbus_get_network_timestamp): Return
20937 a GTimeVal instead of time_t. This is easier to work with,
20938 since time_t may be a long or double, we don't know.
20940 * src/NetworkManagerDbus.h: Update prototype.
20942 * src/NetworkManagerAP.c (struct NMAccessPoint): Store a GTimeVal
20944 (nm_ap_get_timestamp): Update to return GTimeVal.
20945 (nm_ap_set_timestamp): Update to take GTimeVal.
20947 * src/NetworkManagerDevice.c (nm_device_update_best_ap): Update
20948 to handle GTimeVal.
20950 * src/NetworkManagerAPList.c (nm_ap_list_update_network): Handle
20952 (nm_ap_list_print_members): Fix warnings in printf format.
20954 2004-08-29 Colin Walters <walters@verbum.org>
20956 * panel-applet/NMWirelessApplet.c: Include config.h.
20958 2004-08-29 Colin Walters <walters@verbum.org>
20960 * configure.in: Generate config.h.
20962 * configure.in: Dump dependency on OpenSSL; we can't
20963 use it since this package is GPL:
20964 http://www.gnome.org/~markmc/openssl-and-the-gpl.html
20965 Instead, check for libgcrypt, use it if available,
20966 otherwise use included MD5 code.
20968 * src/gnome-keyring-md5.h, src/gnome-keyring-md5.c:
20969 Suck in from gnome-keyring, munge a bit.
20971 * src/Makefile.am (NetworkManager_SOURCES) <!WITH_GCRYPT>: Include
20972 gnome-keyring-md5.h gnome-keyring-md5.c.
20973 (NetworkManager_LDADD) <WITH_GCRYPT>: Add dep on LIBGCRYPT_LIBS.
20975 * src/NetworkManagerWireless.c (nm_md5): New function, uses
20976 libgcrypt or included gnome-keyring md5 bits.
20977 (nm_wireless_128bit_key_from_passphrase): Use nm_md5.
20979 2004-08-28 Kjartan Maraas <kmaraas@gnome.org>
20981 * configure.in: Add «nb» and «no» to ALL_LINGUAS.
20983 2004-08-27 Bryan Clark <bclark@redhat.com>
20985 * examples/python/systray/Makefile:
20987 Updated the clean section
20989 * examples/python/systray/trayiconmodule.c:
20990 * examples/python/systray/trayicon.override:
20991 * examples/python/systray/network_tray.py:
20992 * examples/python/systray/eggtrayicon.h:
20993 * examples/python/systray/eggtrayicon.c:
20994 * examples/python/systray/Makefile:
20995 * examples/python/README:
20996 * examples/python/NetworkManager.py:
20997 * examples/python/NMTester.py:
20999 Initial commit of these python example files
21001 Fri Aug 28 2004 Dan Williams <dcbw@redhat.com>
21003 * panel-applet/NMWirelessApplet.c
21004 - Make current device bold
21005 - Show more user-friendly device name if we got one from hal
21007 * panel-applet/NMWirelessAppletDbus.c
21008 - Grab "info.product" key from hal for network devices
21009 - Cache the current active device
21011 2004-08-27 Adam Weinberger <adamw@gnome.org>
21013 * configure.in: Added en_CA to ALL_LINGUAS.
21015 2004-08-27 Christian Rose <menthos@menthos.com>
21017 * configure.in: Added "sv" to ALL_LINGUAS.
21019 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
21021 * Tag NetworkManager-0.2
21023 Thu Aug 26 17:23:16 2004 Jonathan Blandford <jrb@redhat.com>
21025 * initscripts/Makefile.am
21026 * configure.in: Make pass distcheck
21028 * po/ChangeLog: added
21030 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
21032 * panel-applet/NMWirelessApplet.c
21033 - Remove debugging code
21034 - Enable device switching from menus
21036 * panel-applet/NMWirelessAppletDbus.[ch]
21037 - Method for asking NM to switch devices
21039 * src/NetworkManagerDevice.c
21040 - Set dev->activating earlier, avoids race between
21041 the dbus signal of "DeviceActivating" and setting
21042 dev->activating (which is what NM's "status" method call
21045 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
21047 * panel-applet/NMWirelessApplet.[ch]
21048 - Rework menu code to add devices to menu, and to show
21049 signal strength for each access point. Code cleanups
21052 * panel-applet/NMWirelessAppletDbus.c
21053 - Grab network devices from NetworkManager too
21054 - Grab quality information from NM for wireless networks
21056 * src/NetworkManagerDbus.[ch]
21057 - Add dbus methods for getting the HAL UDI from a device and
21058 for getting its base quality, if its wireless
21059 - Consolidate some functions (wireless network notifications,
21060 device notifications)
21061 - Add method for requesting NM to use a particular device
21063 * src/NetworkManager.c
21064 - Change for function consolidations from NetworkManagerDbus.c
21065 - Implement active device locking and user-requested devices
21066 (ie, tell NM to use a particular device instead of the one
21069 * src/NetworkManagerDevice.c
21070 - Add method for getting the base quality of a device, if its
21072 - Grab device base quailty info from iwlib during scans
21074 * src/NetworkManagerPolicy.c
21075 - Use a user-requested device rather than the auto-chosen device
21078 Thu Aug 26 15:12:36 2004 Jonathan Blandford <jrb@redhat.com>
21080 * Makefile.am: add po as a supdir
21082 * autogen.sh: use gnome-autogen.sh
21084 * initscript/Gentoo/.cvsignore:
21085 * initscript/RedHat/.cvsignore: Shut up cvs
21087 * panel-applet/Makefile.am: Define GNOMELOCALEDIR for bonobo.
21089 * panel-applet/NMWirelessApplet.c: (nmwa_populate_menu),
21090 (nmwa_fill): Use gettext.
21092 * configure.in: add gettext support
21094 * po/NetworkManager.pot:
21097 2004-08-26 Seth Nickell <seth@gnome.org>
21099 * panel-applet/NMWirelessApplet.c: (nmwa_destroy),
21100 (nmwa_menu_item_activate), (nmwa_toplevel_menu_activate),
21101 (nmwa_add_menu_item), (nmwa_menu_item_data_free),
21102 (nmwa_dispose_menu_items), (nmwa_populate_menu),
21103 (nmwa_setup_widgets), (do_not_eat_button_press), (nmwa_new):
21104 * panel-applet/NMWirelessApplet.h:
21106 Use a menu bar instead of a button for the main clickable
21109 2004-08-25 Dan Williams <dcbw@redhat.com>
21111 * src/NetworkManagerDevice.c
21112 - (nm_device_set_enc_key): always set device to "open" mode instead of
21113 turning encryption off, because the Cisco driver doesn't associate
21114 with WEP-enabled access points unless we are in "open"
21116 2004-08-25 Dan Williams <dcbw@redhat.com>
21118 * src/NetworkManagerWireless.c
21119 - Don't try to defererence blank passphrases
21121 2004-08-25 Dan Williams <dcbw@redhat.com>
21123 * panel-applet/NMWirelessApplet.c
21124 - Rebuild the menu whenever a user clicks
21126 2004-08-25 Dan Williams <dcbw@redhat.com>
21128 * panel-applet/NMWirelessApplet.c
21129 - (nmwa_udpate_state): Set panel icon to "wired" (for lack of better ones)
21130 when NM isn't around or when its not connected
21132 * src/NetworkManagerDevice.c
21133 - (nm_device_activation_worker): Make sure to reset dev->activating if we get
21136 2004-08-25 Dan Williams <dcbw@redhat.com>
21138 * panel-applet/NMWirelessAppletDbus.c
21139 - (nmwa_dbus_get_bool, nmwa_dbus_get_network_encrypted): correct method name
21140 for getting encryption, and don't stop on "val" once we've gotten it
21141 from NetworkManager. Short form: encryption should now show up.
21143 2004-08-25 Dan Williams <dcbw@redhat.com>
21145 * panel-applet/NMWirelessApplet.c
21146 - Set ESSID on a gconf trusted network too when force-setting the wireless
21147 network to associate with
21149 2004-08-25 Dan Williams <dcbw@redhat.com>
21152 - Rework the panel applet to do all DBUS communication in a separate
21155 2004-08-25 Dan Williams <dcbw@redhat.com>
21157 * info-daemon/NetworkManagerInfo.[ch]
21158 - Remove "get_next_priority" function
21160 * info-daemon/NetworkManagerInfoDbus.[ch]
21161 - Convert "priority" functions to "timestamp"
21163 2004-08-25 Dan Williams <dcbw@redhat.com>
21165 * src/NetworkManagerAP.[ch]
21166 - Add a "enc_method_good" member and accessors to an Access Point
21167 to signal when we've found the correct encryption method
21168 for an access point
21169 - Add a "timestamp" member and accessors, remove "priority" member
21170 and accessors (use timestamps instead)
21171 - Rename "wep_key"->"enc_key"
21172 - (nm_ap_get_enc_key_hashed): new, return the correct mangled key
21173 for a specified encryption method using the access points
21174 source encryption key/passphrase
21176 * src/NetworkManagerAPList.c
21177 - When updating a network with dbus, grab timestamp now instead of
21180 * src/NetworkManagerDBus.[ch]
21181 - Add signal for "DeviceActivating"
21182 - Switch priority->timestamp
21184 * src/NetworkManagerDevice.c
21185 - Change references of "wep_key" -> "enc_key" or "key"
21186 - Signal DeviceActivating when starting activation
21187 - When activating a wireless device, if the access point we are connecting
21188 to is encrypted, and we have a source key, try to generate a mangled
21189 key and use that (ie, generate real WEP key from a passphrase)
21190 - Rework device activation to fallback to other encryption methods if
21191 a previous one didn't work (ie, try mangling a key as a 104-bit passphrase
21192 first, then if that doesn't work fall back to direct hex key).
21193 - (nm_device_update_best_ap): fix a deadlock, and use timestamps instead of
21194 priority. We now prefer the latest access point used, rather than using
21196 - (nm_device_do_normal_scan): make the encryption method "unknown" on access
21197 points we've just discovered, and merge in correct info from the global
21200 2004-08-25 Seth Nickell <seth@gnome.org>
21202 Patch from Matthew Garrett <mjg59@srcf.ucam.org> for adding
21206 * src/backends/NetworkManagerDebian.c: (nm_system_device_run_dhcp),
21207 (nm_system_device_stop_dhcp), (nm_system_device_flush_routes),
21208 (nm_system_device_flush_addresses), (nm_system_enable_loopback),
21209 (nm_system_delete_default_route),
21210 (nm_system_kill_all_dhcp_daemons), (nm_system_update_dns),
21211 (nm_system_load_device_modules):
21213 2004-08-24 Dan Willemsen <dan@willemsen.us>
21215 * src/NetworkManager.c
21216 src/backends/NetworkManagerGentoo.c
21217 src/backends/NetworkManagerRedHat.c
21218 src/backends/NetworkManagerSystem.h
21219 - Implement preliminary Gentoo support, adding a
21220 nm_system_init function to the backend specification
21223 - Distribution auto-detection, lowercase any user-fed
21226 * initscript/.cvsignore
21227 initscript/Makefile.am
21228 initscript/RedHat/Makefile.am
21229 initscript/RedHat/NetworkManager
21230 initscript/Gentoo/Makefile.am
21231 initscript/Gentoo/NetworkManager
21232 - Refactored initscript code separately for each
21235 2004-08-23 Dan Williams <dcbw@redhat.com>
21239 src/NetworkManagerDevice.c
21240 src/NetworkManager.c
21241 src/NetworkManagerUtils.[ch]
21242 src/backends/NetworkManagerSystem.h
21243 src/backends/NetworkManagerRedHat.c
21244 src/backends/NetworkManagerGentoo.c
21245 - Refactor system-specific code into separate backends for
21248 2004-08-23 Dan Willemsen <dan@willemsen.us>
21250 * dispatcher-daemon/NetworkManagerDispatcher.c
21251 info-daemon/NetworkManagerInfo.[ch]
21252 info-daemon/NetworkManagerInfoDbus.c
21253 info-daemon/NetworkManagerInfoPassphraseDialog.c
21254 src/NetworkManager.c
21255 src/NetworkManagerAP.c
21256 src/NetworkManagerAPList.c
21257 src/NetworkManagerDbus.c
21258 src/NetworkManagerDevice.c
21259 src/NetworkManagerPolicy.c
21260 src/NetworkManagerUtils.[ch]
21261 src/NetworkManagerWireless.c
21262 - Used syslog functions for logging instead of NM_DEBUG_DISPLAY & fprintf
21264 * src/NetworkManager.c
21265 - Fixed usage wording for --no-daemon
21267 2004-08-23 Dan Williams <dcbw@redhat.com>
21269 * panel-applet/NMWirelessApplet.c
21270 - Update our state every second to get more responsive panel icon
21271 - (nmwa_update_state): remove bogus applet->pix_state = PIX_WIRED that
21272 was causing our marching ants status blips to never move when
21273 looking for a wireless network
21275 * src/NetworkManagerDevice.c
21276 - (nm_device_activation_begin): return if activation has already begun
21277 - (nm_device_do_normal_scan): merge WEP key and priority from the
21278 trusted/preferred network into the device's access point when the
21279 scan list is processed
21281 2004-08-23 Dan Williams <dcbw@redhat.com>
21283 * initscript/NetworkManager
21284 - Use NMLaunchHelper rather than sleeping
21286 * initscript/NMLaunchHelper.c
21288 - Add helper program that exits only when NM activates a device,
21289 or 10 seconds have passed, whichever happens first. This
21290 stops the boot processes until we have a network connection,
21291 which NM can't do because it daemonizes and brings the connection
21292 up in the background. Allows stuff like NFS to not die.
21294 2004-08-20 Dan Williams <dcbw@redhat.com>
21296 * info-daemon/NetworkManagerInfoPassphraseDialog.c
21297 - (nmi_passphrase_dialog_ok_clicked): when updating the wep key
21298 for a network, set the essid as well since it may not exist yet
21299 - (nmi_passphrase_dialog_init): don't star out the passphrase field,
21300 since WEP keys/passphrases are long and prone to entry-error
21302 * panel-applet/Makefile.am
21303 panel-applet/wired.png
21304 - Add (pulled from system-config-network temporarily)
21306 * panel-applet/NMWirelessApplet.[ch]
21307 - Show wired picture when a wired connection is used
21308 - Rename wireless icon enums, adding WIRELESS
21310 * src/NetworkManagerDevice.c
21311 - (nm_device_activate_wireless): unset encryption before bringing
21312 down the card and setting the essid
21313 - (nm_device_activatin_worker): request a key from the user if the
21314 AP we are connecting to is encrypted but we don't have a key
21316 - (nm_device_set_user_key_for_network): fix missing '== 0' for a
21317 strcmp() that prevented a user-entered key from actually getting
21320 2004-08-16 Dan Williams <dcbw@redhat.com>
21322 * initscript/NetworkManager
21323 - Check for /sbin/ip
21324 - Do sysctl magic that network service does
21325 - sleep 4s after start to allow network time to come up [hack]
21329 - Load all network device kernel modules (hal doesn't know devices
21330 are ethernet until the module is loaded, and therefore we don't know)
21332 * src/NetworkManager.c
21333 - (main): daemonize later, launch NMLoadModules to alert HAL of our
21334 network devices, and bring up the loopback device explicitly
21336 * src/NetworkManagerUtils.[ch]
21337 - (nm_enable_loopback): new function
21339 2004-08-13 Dan Williams <dcbw@redhat.com>
21342 panel-applet/Makefile.am
21343 - Fix up cleanfiles and server_DATA/server_in_files
21346 - Update with some comments on theory of operation
21352 2004-08-12 Dan Williams <dcbw@redhat.com>
21354 * info-daemon/passphrase.glade
21355 - Set window title to " "
21357 * panel-applet/Makefile.am
21358 panel-applet/keyring.png
21359 - Deliver to correct place
21361 * panel-applet/NMWirelessApplet.[ch]
21363 - Remove applet->have_active_device as its no longer used
21364 - (nmwa_load_theme): load keyring.png too
21365 - (error_dialog): remove
21366 - (show_warning_dialog): subsume functionality of error dialog too
21367 - (nmwa_destroy, nmwa_new): create and dispose of an application-wide GConfClient
21368 - (nmwa_handle_network_choice): add to deal with user clicking on an item from
21370 - (nmwa_menu_item_activated): GtkMenuItem "activate" signal handler
21371 - (nmwa_button_clicked, nmwa_setup_widgets): create and populate the menu on startup
21372 and when we get broadcasts of changed wireless access points only, not when the
21373 user clicks on the button to display the menu (too long of a wait)
21374 - (nmwa_add_menu_item): Make active network bold, and place a keyring icon beside
21375 networks that are encrypted
21376 - (nmwa_dispose_menu, nmwa_menu_item_data_free): dispose of the data we place on each
21377 menu item with g_object_set_data()
21379 * panel-applet/NMWirelessAppletDbus.[ch]
21380 - (nmwa_dbus_get_bool): add method to return boolean value from dbus message
21381 - (nmwa_dbus_get_active_network): add (nmwa_dbus_get_string() wrapper to get active network)
21382 - (nmwa_dbus_add_networks_to_menu): clean up, only show one instance of each ESSID in the menu
21383 - (nmwa_dbus_set_network): force NetworkManager to use a particular network for wireless cards
21384 - (nmwa_dbus_init, nmwa_dbus_filter): Trap network appear/disappear and device
21385 activation/deactivation signals and rebuild the menu when they happen
21387 * src/NetworkManager.c
21388 - (main): use new nm_spawn_process() rather than system()
21390 * src/NetworkManagerDbus.c
21391 - (nm_dbus_devices_handle_request): don't compare AP structure addresses directly, but essids
21392 instead. Since we can now force best_aps to stick around, the AP structure to which
21393 dev->options.wireless.best_ap points to won't necessarily be in the device's device list
21394 if a scan has happened since the best_ap was frozen. Also add "setNetwork" method
21395 to freeze the best_ap.
21397 * src/NetworkManagerDevice.[ch]
21398 - (nm_device_activation_worker): Use new nm_spawn_process() call rather than system()
21399 - (nm_device_*_best_ap): add freeze/unfreeze/get_frozen functions, and don't really update
21400 the best_ap in nm_device_update_best_ap() if the best_ap is frozen AND in the device's
21403 * src/NetworkManagerUtils.[ch]
21404 - (nm_spawn_process): add replacement for system() usage
21406 2004-08-11 Dan Williams <dcbw@redhat.com>
21408 * panel-applet/NMWirelessApplet.[ch]
21409 - Fix up copyright and credits to include Bastien and Eskil,
21410 who created the gnome-applets wireless applet, from whose
21411 skeleton this one was created
21412 - Rework nmwa_update_state()/nmwa_draw() so that state and which
21413 pixmap to draw is computed during nmwa_update_state()
21414 - Applet now shows itself all the time due to panel packing issues
21415 which caused the applet to previously never come back after hiding.
21416 When a wired device is the active device, the applet shows "not connected"
21418 * panel-applet/NMWirelessAppletDbus.[ch]
21419 - Clean up error messages and show what function they are from
21420 - nmwa_dbus_get_active_wireless_device()->nmwa_dbus_get_active_device()
21421 - Add new device type getters, and a status getter
21423 * src/NetworkManagerDbus.c
21424 - (nm_dbus_devices_handle_request): Don't return an active network unless that
21425 network is actually in the device's ap list
21426 - (nm_dbus_nm_message_handler): Fix silly mistake returning status
21428 * src/NetworkManagerDevice.c
21429 - (nm_device_update_best_ap): If the best AP is NULL, clear out the ESSID of the
21432 * test/nmclienttest.c
21433 - Report status of NetworkManager too
21435 2004-08-11 Dan Williams <dcbw@redhat.com>
21437 * info-daemon/NetworkManagerInfo.c:
21438 - (main): clean up Seth's code style
21440 * info-daemon/NetworkManagerInfoDbus.c:
21441 - Use the more aptly-named path/service/interface constants from NetworkManager
21442 - Don't return empty strings ("") as object paths ever, instead return errors
21444 * panel-applet/NMWirelessApplet.c:
21445 - Clean up Seth's code style
21447 * src/NetworkManager.[ch]
21448 - (nm_remove_device_from_list): remove anything having to do with pending_device
21449 - (main, nm_print_usage): change --daemon=[yes|no] -> --no-daemon
21451 * src/NetworkManagerAPList.[ch]
21452 - Move Iter struct right above the iter functions to preserve opacity
21453 - (nm_ap_list_remove_ap): implement
21454 - (nm_ap_list_update_network): deal with errors returned from nm_dbus_get_network_priority(),
21455 remove AP if NetworkManagerInfo doesn't know anything about it
21456 - (nm_ap_list_diff): user NMAPList iterators
21457 - (nm_ap_list_print_members): implement debugging function
21459 * src/NetworkManagerDbus.[ch]
21460 - (nm_dbus_nm_get_active_device): remove anything to do with pending_device
21461 - (nm_dbus_get_user_key_for_network): remove DBusPendingCall stuff (unused),
21462 and move the actual key setting stuff into NetworkManagerDevice.c
21463 - (nm_dbus_get_network_priority): return -1 now on errors
21464 - (nm_dbus_nmi_filter): fix strcmp() error that caused PreferredNetworkUpdate signals to
21465 get lost, and force the active device to update its "best" ap when AP lists change
21466 - (nm_dbus_nm_message_handler): Update conditions for returning "connecting" for a "status"
21467 method call due to pending_device member removal
21469 * src/NetworkManagerDevice.[ch]
21470 - Move NMDevice structure to the top
21471 - Add a wireless scan mutex and a best_ap mutex to the Wireless Options structure
21472 - Remove Pending Action stuff from everywhere
21473 - (nm_device_activation_*): We now "begin" activation and start a thread to do the
21474 activation for us. This thread blocks until all conditions for activation have
21475 been met (ie for wireless devices, we need a valid WEP key and a "best" ap), and
21476 then setup up the interface and runs dhclient. We have to do this because there
21477 is no guaruntee how long dhclient takes, and while we are blocking on it, we cannot
21478 run our main loop and respond to dbus method calls or HAL device removals/inserts
21479 - (nm_device_set_user_key_for_network): Move logic here from NetworkManagerDbus.c so we
21480 can tell nm_device_activation_worker() that we've got a key
21481 - (nm_device_*_best_ap): lock access to best_ap member of Wireless Options structure
21482 - (nm_device_get_path_for_ap): dumb it down so the list doesn't lock against itself when
21483 diffing (AP appear/disappear signal functions make sure the AP is actually in the device's list)
21484 - (nm_device_update_best_ap): move logic from nm_wireless_is_ap_better() here
21486 * src/NetworkManagerPolicy.c
21487 - Remove anything to do with pending_device
21488 - Adjust device activation to deal with activation-in-worker-thread
21490 * src/NetworkManagerUtils.c
21491 - Clean up locking debugging a bit
21493 * src/NetworkManagerWireless.[ch]
21494 - (nm_wireless_is_ap_better): remove, stick logic in nm_device_update_best_ap(). This function
21495 was badly named and is better as a device function
21497 * panel-applet/.cvsignore: add
21499 2004-08-09 Seth Nickell <seth@gnome.org>
21501 * panel-applet/NMWirelessApplet.c: (nmwa_timeout_handler),
21502 (nmwa_button_clicked), (nmwa_populate_menu), (nmwa_setup_widgets),
21504 * src/NetworkManagerDbus.c: (nm_dbus_nmi_filter):
21506 Don't load the menus until clicked on (also removes a call outside
21507 normal code paths at first load).
21509 Hide applet when NM is not present.
21511 Improve printf debugging stuff.
21513 2004-08-09 Dan Williams <dcbw@redhat.com>
21515 * dispatcher-daemon/NetworkManagerDispatcher.c:
21516 - Covert uses of dbus_message_iter_* over to dbus_message_get_args
21517 - Use constants for NetworkManager interface, service, and path
21519 2004-08-09 Dan Williams <dcbw@redhat.com>
21521 * src/NetworkManagerDbus.c:
21522 - (nm_dbus_nm_get_active_device, nm_dbus_nm_get_devices): Never return an empty object path,
21523 instead return an error message
21524 - (nm_dbus_devices_handle_request): Return error when getActiveNetwork/getNetworks is called
21525 on a wired device. Also never return an empty object path, instead return an error message
21527 2004-08-06 Seth Nickell <seth@gnome.org>
21529 * panel-applet/NMWirelessApplet.c: (nmwa_new):
21531 Check the error code when getting a connection.
21533 * panel-applet/NMWirelessAppletDbus.c: (nmwa_dbus_init):
21535 Check if the NM service exists when initializing (rather than
21536 assuming it does not).
21538 * src/NetworkManagerDbus.c: (nm_dbus_init):
21540 Don't acquire the well-known service name until we have
21541 registered object/path handlers and can actually receive
21544 2004-08-06 Dan Williams <dcbw@redhat.com>
21549 * src/NetworkManagerPolicy.c
21550 src/NetworkManager.c
21551 - Get access point lists from NetworkManagerInfo on-demand,
21552 and look for ServiceCreate/ServiceDeleted signals to see when
21553 we should query NMI for lists
21554 * src/NetworkManagerAPList.c
21555 - Make sure to init the list's mutex
21556 - Convert traversals of the list over to the list iter functions
21558 * src/NetworkManagerDbus.[ch]
21559 - Use more aptly-named path/service/interface constants
21560 - Treat both active and pending devices the same for "getActiveDevice"
21561 - Add a "status" method returning "connected", "connecting", or "disconnected"
21563 * src/NetworkManagerDevice.c
21564 - Honor "ignored" network list when picking best ap to use
21566 2004-08-06 Seth Nickell <seth@gnome.org>
21570 Autogenerated, remove from CVS.
21574 Don't hardcode automake version.
21577 * info-daemon/Makefile.am:
21578 * info-daemon/NetworkManagerInfo.c: (main):
21580 Use GnomeProgram et al. for doing session management.
21581 Use popt stuff for argument parsing rather than doing
21584 2004-08-05 Dan Williams <dcbw@redhat.com>
21586 * test/nminfotest.c
21587 - Update to new NMI dbus API, check different network types
21589 * info-daemon/NetworkManagerInfoDbus.c
21590 - Update to new NM dbus API, ie network type sent in query message
21592 2004-08-05 Dan Williams <dcbw@redhat.com>
21594 * An assload of changes
21596 2004-08-02 Dan Williams <dcbw@redhat.com>
21599 - new task: proper logging support
21601 * info-daemon/NetworkManagerInfo.c
21602 - Correct spelling of "canceled"
21603 - Correct casting of objects for g_signal_connect()
21605 * info-daemon/NetworkManagerInfoDbus.c
21606 - Add defines for NetworkManager namespace and object path, and use them
21607 - Add filter function to trap new signals from NetworkManager:
21608 WirelessNetworkAppeared, WirelessNetworkDisappeared
21610 * info-daemon/passphrase.glade
21611 - Change name of "ok" button to "Login to Network..."
21614 * src/NetworkManager.c
21615 - Code and debug message cleanups
21616 - Rename "nm_add_current_devices"->"nm_add_initial_devices"
21617 - (nm_add_initial_devices) Check returned string array of devices
21618 and don't try to add devices if array is NULL
21619 - (main) Initialize libhal a bit later, make code a bit clearer
21621 * src/NetworkManagerAP.[ch]
21622 - New accessor and data member "matched": used to speed up AP list
21624 - New accessor and data member "enc_method": will be used during key
21625 fallback to cache which passphrase->key conversion actually works
21626 so we don't have to do it every time
21628 * src/NetworkManagerAPList.[ch]
21629 - (nm_ap_list_find_ap_in_list) New: find an AP by essid in an AP list
21630 - (nm_ap_list_diff) New: given two lists of access points, find the differences
21631 between them, and send WirelessNetworkAppeared/Disappeared signals over
21632 dbus in response to those differences
21634 * src/NetworkManagerDbus.[ch]
21635 - (nm_dbus_get_object_path_from_ap) New: given a device and an access point,
21636 make an object path for that access point (NOTE that we don't yet check to
21637 make sure that access point is actually in the device's AP list yet)
21638 - (nm_dbus_get_ap_from_object_path) Renamed from nm_dbus_get_network_from_object_path
21639 - (nm_dbus_signal_wireless_network_appeared, nm_dbus_signal_wireless_network_disappeared)
21640 New: signal appearance/disappearance of wireless networks
21641 - (nm_dbus_set_user_key_for_network) Mark the network/ap as invalid if the user cancelled
21644 * src/NetworkManagerDevice.[ch]
21645 - (nm_device_ap_list_clear) Use nm_ap_list_free rather than doing it ourselves
21646 - (nm_device_ap_list_get) New: return the AP list (static function)
21647 - (nm_device_do_normal_scan) Destroy old AP list later, so that we can diff the
21648 new one resulting from the scan with the old one
21650 * src/NetworkManagerWireless.c
21651 - (nm_wireless_is_most_prefered_ap) "invalid" access points cannot be "best" access points
21653 * test/nminfotest.c
21654 - #define object paths and namespaces and use the #defines rather than static strings
21655 - Test out user-key functionality of NetworkManagerInfo too
21657 2004-07-29 Dan Williams <dcbw@redhat.com>
21659 * info-daemon/NetworkManagerInfoDbus.c
21660 src/NetworkManagerDbus.c
21661 - Update to current DBus (ie don't use decomposed paths when registering
21662 object paths/fallbacks)
21664 2004-07-27 Dan Williams <dcbw@redhat.com>
21666 * Remove various Makefile.in files
21669 - Add some more items
21672 - Add checks for OpenSSL/md5 headers and libs
21675 - Use OpenSSL CFLAGS
21677 * src/NetworkManagerAP.[ch]
21678 - Remove 'stamp' functions, replace with 'invalid' functions
21679 to support user cancelling WEP key entry
21681 * src/NetworkManagerDbus.c
21682 - Remove 'stamp' return functions
21683 - Treat returned user key as a passphrase and convert to a WEP key,
21684 but don't actually use the WEP key yet. We use the returned user
21685 key as a hexadecimal WEP key until we can figure out a UI for
21686 passphrase-vs-hex key
21688 * src/NetworkManagerWireless.[ch]
21689 - Add passphrase-to-128bit-key function
21691 2004-07-27 Dan Williams <dcbw@redhat.com>
21694 - Add a couple of items
21696 2004-07-27 Dan Williams <dcbw@redhat.com>
21698 * info-daemon/NetworkManagerInfo.c
21699 - Update allowed network's GConf key when user enters a WEP key explicitly
21701 * info-daemon/NetworkManagerDbus.c
21702 - Fix some comments
21703 - nmi_dbus_get_allowed_networks(): kill warning
21705 2004-07-27 Dan Williams <dcbw@redhat.com>
21707 * initscript/Makefile.in
21710 * initscript/Makefile.am
21711 - Add correct rules to install the init.d initscript
21713 * info-daemon/NetworkManagerInfoDbus.c
21714 - Remove debug fprintf
21716 * src/NetworkManagerDbus.[ch]
21717 - Remove debug fprintfs
21718 - Add macros for NetworkManagerInfo object path/namespace
21719 - Use said macros instead of constant strings
21721 2004-07-27 Dan Williams <dcbw@redhat.com>
21723 * initscript/.cvsignore
21726 * info-daemon/Makefile.am
21727 - Install .glade files and keyring.png
21728 - Fix stupid omission of a \ that caused half the flags not to be
21731 * info-daemon/NetworkManagerInfo.c
21732 - gtk_signal_connect->g_signal_connect
21733 - Alert NetworkManagerInfo to new glade file location
21735 2004-07-27 Dan Williams <dcbw@redhat.com>
21737 * test/nmclienttest.c
21739 - Add missing <dbus/dbus.h> headers
21740 - Add GPL message at top
21742 2004-07-27 Dan Williams <dcbw@redhat.com>
21744 * src/NetworkManagerAPList.[ch]
21746 - Add. Deal with allowed network list additions, deletions, and updates
21748 * dispatcher-daemon/NetworkManagerDispatcher.c
21749 - Add missing <dbus/dbus.h> header
21751 * info-daemon/NetworkManagerInfo.[ch]
21752 - Add missing <dbus/dbus.h> header
21753 - Implement the GConf notify callback to signal NetworkManager of an allowed
21755 - Better error checking
21757 * info-daemon/NetworkManagerInfoDbus.[ch]
21758 - Add missing <dbus/dbus.h> header
21759 - Convert to using dbus_message_append_args/dbus_message_get_args
21760 - Implement nmi_dbus_signal_update_allowed_network() to signal NetworkManager
21761 that an allowed network changed. We don't want to signal on individual
21762 keys _inside_ an allowed network really, just want NM to query the info
21763 daemon for updated info on all keys.
21764 - Better error checking
21766 * src/NetworkManager.[ch]
21767 - Add missing <dbus/dbus.h> header
21768 - Move allowed_ap_list free functions to NetworkManagerAPList.[ch]
21769 - Zero out NMData structure on free
21770 - No longer use a thread for allowed_ap_list updating, instead its now done
21771 through dbus queries against NetworkManagerInfo
21772 - Populate allowed_ap_list initially before adding existing network devices
21773 to the device list, so wireless devices can get their "best" AP
21775 * src/NetworkManagerDbus.[ch]
21776 - Convert to using dbus_message_append_args/dbus_message_get_args
21777 - Better error checking
21778 - Implement Allowed Network info functions to request allowed network
21779 info from NetworkManagerInfo
21780 - Implement the filter function to process signals from NetworkManagerInfo
21781 about changing allowed networks
21783 * src/NetworkManagerDevice.c
21784 - Fix file descriptor leak in nm_device_update_ip4_address()
21786 2004-07-27 Dan Williams <dcbw@redhat.com>
21791 dispatcher-daemon/.cvsignore
21792 info-daemon/.cvsignore
21793 - Add .cvsignore files to reduce noise when diffing
21795 2004-07-24 Dan Williams <dcbw@redhat.com>
21797 * src/NetworkManager.[ch]
21798 src/NetworkManagerDbus.[ch]
21799 src/NetworkManagerDevice.[ch]
21800 src/NetworkManagerPolicy.c
21801 src/NetworkManagerWireless.[ch]
21802 - Add many more g_return_if_fail()/g_return_val_if_fail() checks
21803 - Pass the NMData application data structure through all calls
21804 that need it so we can get rid of nm_get_global_data()
21805 - Change deallocation of the allowed_ap_list GSList in preparation
21806 for not completely clearing it every time we get an update,
21807 but instead getting incremental updates via GConf/dbus
21809 2004-07-22 Dan Williams <dcbw@redhat.com>
21812 - Add checks for GConf libs & headers & flags
21814 * info-daemon/Makefile.am
21815 - Add GConf flags & libs to compile/link stages of NetworkManagerInfo
21817 * info-daemon/NetworkManagerInfo.[ch]
21818 - Don't use gquarks for data storage, just use normal data storage
21819 - Add gconf bits to watch /system/networking/wireless/allowed_networks
21821 * info-daemon/NetworkManagerDbus.[ch]
21822 - Add method call for getting allowed networks
21823 - Add method calls for getting an allowed network's essid, priority, and key
21824 - Hook the method calls up to GConf
21825 - Split user key dialog code into separate function (nmi_dbus_get_key_for_network)
21826 - nmi_dbus_nmi_message_handler(): make sure to unref the reply message after sending
21828 * src/NetworkManagerDbus.[ch]
21829 - Switch for enumeration of networks to using essid instead
21833 - Add test program for NetworkManagerInfo
21835 2004-07-19 Dan Williams <dcbw@redhat.com>
21837 * src/NetworkManagerDbus.c
21838 - Switch from indexed device paths to names. Less code, more efficient.
21839 ie "/org/freedesktop/NetworkManager/0" -> "/org/freedesktop/NetworkManager/eth0"
21841 2004-07-19 Dan Williams <dcbw@redhat.com>
21843 * dispatcher-daemon/NetworkManagerDispatcher.c
21844 - (nm_dbus_filter): Remove obsolete response to NeedKeyForNetwork signal
21846 2004-07-19 Dan Williams <dcbw@redhat.com>
21849 - Add info-daemon directory
21852 - Check for glade libs and headers
21853 - Add info-daemon directory
21855 * src/NetworkManagerAP.c
21856 - nm_ap_new_from_ap(): Fix bug that resulted in an APs encryption status not getting
21857 copied over to the new AP.
21859 * src/NetworkManagerDbus.c
21860 src/NetworkManagerDbus.h
21861 - Deal with nm_device_ap_list_get_ap()->nm_device_ap_list_get_ap_by_index() change
21862 - Remove nm_dbus_signal_need_key_for_network()
21863 - Add disabled code for asynchronous user wep key callbacks
21864 - Add functions for getting, setting, and cancelling user key operations
21865 - Remove "setKeyForNetwork" device dbus method call, its on NetworkManager object instead
21866 - Add "setKeyForNetwork" dbus method call on NetworkManager object
21868 * src/NetworkManagerDevice.c
21869 src/NetworkManagerDevice.h
21870 - nm_device_update_link_active(): revert changes for wireless link detection, the WEP-key-is-wrong
21871 logic is in device activation now
21872 - nm_device_activate(): for wireless devices, if we can't associate with access point (perhaps
21873 key is wrong) trigger get-user-key pending action
21874 - Implement get-user-key pending action stuff, tie to dbus messages
21875 - Rename nm_device_ap_list_get_ap() -> nm_device_ap_list_get_ap_by_index()
21876 - Add nm_device_ap_list_get_ap_by_essid()
21877 - Instead of copying "best" access points, ref them instead so that the key we set
21880 * src/NetworkManagerPolicy.c
21881 - Deal with wrong WEP key, but right access point (and if so, return link_active = TRUE)
21882 - Don't cancel pending actions on a device if its the same device as last iteration
21883 - Only promote pending_device->active_device if activation was successfull
21886 - Rename nmclienttest->nmtest
21888 * info-daemon/Makefile.am
21889 info-daemon/NetworkManagerInfo.c
21890 info-daemon/NetworkManagerInfo.h
21891 info-daemon/NetworkManagerInfoDbus.c
21892 info-daemon/NetworkManagerInfoDbus.h
21893 info-daemon/passphrase.glade
21894 info-daemon/NetworkManagerInfo.conf
21895 info-daemon/keyring.png
21896 - Import sources for info-daemon, which pops up dialog for passphrase/key when
21897 NetworkManager asks for it, and also will (soon) provide "allowed" access point
21898 lists to NetworkManager by proxying user's GConf
21901 2004-07-15 Dan Williams <dcbw@redhat.com>
21906 * src/NetworkManager.c
21907 - nm_create_device_and_add_to_list(): call nm_device_deactivate() rather
21908 that doing the deactivation ourselves
21909 - Cancel an pending actions on a device if its being removed
21910 - Break up link state checking a bit, make non-active wireless cards
21911 deactivated to save power
21912 - Remove unused variables
21914 * src/NetworkManager.h
21915 - Add support for "pending" device
21917 * src/NetworkManagerAP.h
21918 src/NetworkManagerAP.c
21919 - Add support for determining whether and AP has encryption enabled or not
21920 - AP address is now "struct ether_addr" rather than a string
21922 * src/NetworkManagerDbus.h
21923 src/NetworkManagerDbus.c
21924 - Add signal NeedKeyForNetwork, method SetKeyForNetwork (testing only)
21925 - Changes for AP address from struct ether_addr->string
21927 * src/NetworkManagerDevice.h
21928 src/NetworkManagerDevice.c
21929 - Remove unused variables, fix warnings
21930 - Add support for Pending Actions (things that block a device from being "active"
21931 until they are completed).
21932 - First pending action: Get a WEP key from the user
21933 - Add nm_device_is_wire[d|less](), rename nm_device_is_wireless()
21934 - Clean up explicit testing of dev->iface_type to use nm_device_is_wireless()
21935 - Update wireless link checking to try to determine if the AP we are associated
21936 with is correct, but the WEP key we are using is just wrong. If its wrong,
21937 trigger the GetUserKey pending action on the device
21938 - If dhclient can't get an IP address, it brings the device down. Bring it back
21939 up in that case, otherwise we can't scan or link-check on it
21940 - Add IP address change notifications at appropriate points (still needs some work)
21941 - Add nm_device_need_ap_switch(), checks whether we need to switch access points or not
21943 * src/NetworkManagerPolicy.h
21944 src/NetworkManagerPolicy.c
21945 - Split out "best" access point determiniation into separate function
21946 - Make device activation 2-stage: first the device is pending, then
21947 in the next iteration through it becomes "active" unless it has
21950 * src/NetworkManagerUtils.h
21951 src/NetworkManagerUtils.c
21952 - Clean up unused variables and warnings
21953 - Wrap our debug macros in {} to prevent possible confusion
21955 * src/NetworkManagerWireless.c
21956 - Forgot to return current best priority, which lead to last available AP always
21957 being chosen no matter what its priority was. Corrected.
21959 2004-07-15 Dan Williams <dcbw@redhat.com>
21961 * dispatcher-daemon/Makefile.am
21964 * dispatcher-daemon/NetworkManagerDispatcher.c
21965 - Remove unused variables due to warnings
21966 - Fix some comments
21967 - Print message on receipt of NeedKeyForNetwork signal (testing only)
21969 2004-07-06 Dan Williams <dcbw@redhat.com>
21971 * src/NetworkManager.c
21972 - Add IPv4 address update for active device during link state check
21973 - Don't allow wireless cards to be powered up when they are not the
21976 * src/NetworkManagerDbus.c
21977 src/NetworkManagerDbus.h
21978 - Add DBUS IPv4 address change signal
21979 - Add DBUS IPv4 address get method for devices
21981 * src/NetworkManagerDevice.c
21982 - Make setting the WEP key actually work
21983 - Move IP address get/set/update stuff here, per-device
21984 - Power down/bring down wireless device when deactivated
21985 - For scanning wireless devices, if first scan returned ENODATA, try again
21987 * src/NetworkManagerPolicy.c
21988 - Only set the WEP key for an allowed access point if there is one.
21989 We were setting it to be blank if one wasn't specified.
21991 * src/NetworkManagerUtils.h
21992 src/NetworkManagerUtils.c
21993 - Move the IP address stuff to NetworkManagerDevice.c
21995 * dispatcher-daemon/NetworkManagerDispatcher.c
21996 - Add device IPv4 address change notification stuff
21998 2004-07-05 Dan Williams <dcbw@redhat.com>
22000 * dispatcher-daemon/NetworkManagerDispatcher.c
22001 - A bit more descriptive state message
22002 - Don't segfault when reading directory
22004 * src/NetworkManager.h
22005 - Remove NMData desired_ap member, its now
22006 per-device rather than global
22008 * src/NetworkManager.c
22009 - Remove references to desired_ap
22010 - Move the allowed AP list refresh stuff into a thread
22012 * src/NetworkManagerDevice.c
22013 src/NetworkManagerDevice.h
22014 - Each wireless device now has a "best ap"
22015 - Make device activate/deactivate functions per-device
22016 - Make wireless scanning per-device
22017 - Add IPv4 address discover functions, stub IPv6 ones
22018 - Move ethernet address validation functions to NetworkManagerUtils.c
22019 - Add wireless access point accessor function
22020 - Get/Set functions for "best ap"
22022 * src/NetworkManagerPolicy.c
22023 - Move activate/deactivate stuff into NetworkManagerDevice.c, per-device
22024 - Deal with per-device "best ap" rather than data->desired_apa
22025 - Implement allowed access point worker thread
22026 - Add nm_policy_essid_is_allowed() function
22028 * src/NetworkManagerUtils.c
22029 src/NetworkManagerUtils.h
22030 - Add nm_ethernet_address_is_valid() function
22031 - Add IPv4/IPv6 address get functions
22033 * src/NetworkManagerWireless.c
22034 src/NetworkManagerWireless.h
22035 - Move scanning stuff into NetworkManagerDevice.c, per-device
22037 2004-06-29 Dan Williams <dcbw@redhat.com>
22039 * dispatcher-daemon/NetworkManagerDispatcher.c
22040 - Implement script callout functionality
22042 2004-06-24 Dan Williams <dcbw@redhat.com>
22046 - Flush device routes and ip addresses when added to the device list
22048 * NetworkManagerDbus.c
22050 - Add missing returns in the two signal functions
22052 * NetworkManagerPolicy.c
22053 - Spacing and variable cleanups
22055 2004-06-24 Dan Williams <dcbw@redhat.com>
22060 dispatcher-daemon/Makefile.am
22061 dispatcher-daemon/Makefile.in
22062 dispatcher-daemon/NetworkManagerDispatcher.c
22063 - Add a daemon that receives signals from NetworkManager
22064 and will (eventually) call scripts in /etc/somewhere
22065 when devices go up or down.
22069 - Flush device routes and ip addresses when added to the device list
22071 * NetworkManagerDbus.c
22073 - Add missing returns in the two signal functions
22075 * NetworkManagerPolicy.c
22076 - Spacing and variable cleanups
22077 - Rename nm_policy_switch_interface->nm_policy_switch_device
22078 - nm_policy_switch_device():
22079 Use kill (pid) instead of system ("kill <pid>")
22080 - nm_state_modification_monitor():
22081 Add wireless essid to output of debug statements
22082 Correct typo in device compare to switch or not (should be !=)
22083 Don't sleep after sending "no longer active" signal, was useless
22085 2004-06-24 Dan Williams <dcbw@redhat.com>