1 2008-11-23 Dan Williams <dcbw@redhat.com>
3 * callouts/nm-dispatcher-action.c
4 - (construct_envp, nm_dispatcher_action): pass connection UUID to
5 scripts in the environment
7 2008-11-21 Dan Williams <dcbw@redhat.com>
9 Patch from Tambet Ingo <tambet@gmail.com>
12 libnm-util/libnm-util.ver
13 libnm-util/nm-setting-8021x.c
14 libnm-util/nm-setting-8021x.h
15 - Add configure-time option for the system CA path
16 - Add 'system-ca-certs' option to 802.1x setting, which directs
17 NetworkManager to use system CA certificates instead of any
18 connection-defined CA certificates
20 * src/supplicant-manager/nm-supplicant-config.c
21 src/supplicant-manager/nm-supplicant-settings-verify.c
22 - Use system CA certificates if the connection says to do so
24 2008-11-21 Dan Williams <dcbw@redhat.com>
26 * src/nm-dbus-manager.c
28 - (nm_dbus_manager_get_name_owner): return error
31 - (impl_manager_activate_connection): perform additional validation on
32 ActivateConnection calls of user connections
33 - (is_user_request_authorized): ensure that the requestor is the same
34 UID as the UID that owns the user settings service; users shouldn't
35 be able to control another user's connections
37 2008-11-21 Dan Williams <dcbw@redhat.com>
39 * gfilemonitor/inotify-sub.c
40 - (dup_dirname): actually remove trailing '/' (bgo #561807)
42 2008-11-21 Tambet Ingo <tambet@gmail.com>
44 * system-settings/plugins/ifcfg-suse/parser.c (read_wpa_eap_settings): Make suse
47 2008-11-20 Dan Williams <dcbw@redhat.com>
49 Patch from Tambet Ingo <tambet@gmail.com>
51 * libnm-util/nm-setting.c
52 libnm-util/nm-setting.h
53 - (NMSettingValueIterFn): instead of just a gboolean for secrets, take
54 all the GParamSpec flags of the property
56 * system-settings/plugins/keyfile/nm-keyfile-connection.c
57 system-settings/plugins/keyfile/reader.c
58 system-settings/plugins/keyfile/writer.c
59 - Update for NMSettingValueIterFn change
61 2008-11-20 Dan Williams <dcbw@redhat.com>
63 * libnm-util/nm-utils.c
65 - More documentation updates
67 2008-11-20 Dan Williams <dcbw@redhat.com>
69 * libnm-util/libnm-util.ver
72 libnm-util/nm-utils-private.h
73 libnm-util/nm-connection.c
74 - (nm_utils_register_value_transformations): make private, called
75 from NMConnection registration anyway
77 2008-11-20 Dan Williams <dcbw@redhat.com>
79 * libnm-util/Makefile.am
80 libnm-util/nm-utils-private.h
81 - New header for internal utils private functions
83 * libnm-util/libnm-util.ver
86 - Document some functions
87 - (nm_utils_string_in_list, nm_utils_string_list_contains,
88 nm_utils_string_slist_validate): un-export, only used within
89 libnm-util or of limited use in general, and very easy to
90 re-implement by apps if needed
92 * libnm-util/nm-setting-8021x.c
93 libnm-util/nm-setting-wired.c
94 libnm-util/nm-setting-wireless-security.c
95 libnm-util/nm-setting-wireless.c
96 - Update for private nm_utils_string_* functions
98 2008-11-20 Dan Williams <dcbw@redhat.com>
100 * libnm-util/libnm-util.ver
101 libnm-util/nm-setting.c
102 libnm-util/nm-setting.h
103 - Add NMSetting errors
104 - (nm_setting_update_secrets): return errors
106 * libnm-util/nm-connection.c
107 libnm-util/nm-connection.h
108 - (nm_connection_update_secrets): return errors
110 * libnm-util/nm-setting-vpn.c
111 src/nm-activation-request.c
112 src/vpn-manager/nm-vpn-connection.c
113 - Handle update secrets errors
115 2008-11-20 Dan Williams <dcbw@redhat.com>
117 * libnm-util/nm-setting.c
118 libnm-util/nm-setting.h
119 libnm-util/libnm-util.ver
120 - (nm_setting_new_from_hash): rename from nm_setting_from_hash() to be
121 consistent with nm_connection_new_from_hash()
123 * src/nm-activation-request.c
124 libnm-util/nm-connection.c
127 2008-11-19 Dan Williams <dcbw@redhat.com>
131 docs/libnm-util/Makefile.am
132 docs/libnm-util/libnm-util.types
133 - Start to document libnm-util
135 2008-11-19 Dan Williams <dcbw@redhat.com>
137 * libnm-util/nm-connection.h
138 libnm-util/nm-connection.c
139 - Document public functions
141 2008-11-19 Dan Williams <dcbw@redhat.com>
143 * libnm-util/nm-setting.h
144 libnm-util/nm-setting.c
147 system-settings/plugins/ifcfg-fedora/plugin.c
148 - Prefix compare flag defines with NM_SETTING_
150 2008-11-19 Dan Williams <dcbw@redhat.com>
152 * libnm-util/nm-connection.c
153 libnm-util/nm-connection.h
154 - (nm_connection_replace_settings): take a GError
156 * libnm-glib/nm-settings.c
157 libnm-glib/nm-dbus-connection.c
159 system-settings/plugins/ifcfg-suse/nm-suse-connection.c
160 system-settings/plugins/keyfile/nm-keyfile-connection.c
161 system-settings/plugins/keyfile/plugin.c
162 - Handle, or don't handle, errors from nm_connection_replace_settings()
164 2008-11-19 Dan Williams <dcbw@redhat.com>
166 * libnm-util/libnm-util.ver
167 libnm-util/nm-connection.c
168 - (nm_setting_register, nm_setting_unregister): unexport; they are
169 private and don't have a use outside libnm-util
171 2008-11-17 Dan Williams <dcbw@redhat.com>
173 * src/nm-hso-gsm-device.c
174 - (real_connection_secrets_updated): handle PIN/PUK correctly for HSO
177 2008-11-17 Dan Williams <dcbw@redhat.com>
179 * system-settings/plugins/ifcfg-fedora/reader.c
180 - (read_mac_address): clean up
181 - (make_wireless_setting): pass NULL array to read_mac_address() like it
184 * system-settings/plugins/ifcfg-fedora/plugin.c
185 - (read_one_connection): don't segfault on NULL errors
187 2008-11-14 Dan Williams <dcbw@redhat.com>
191 2008-11-14 Dan Williams <dcbw@redhat.com>
193 Handle gateways on different subnets
195 * src/NetworkManagerSystem.c
196 - (add_ip4_route_to_gateway): gateway route should be link scope and
198 - (replace_default_ip4_route): use a destination address too; gateway
199 address should be /0; don't leak the gateway route object
201 2008-11-14 Dan Williams <dcbw@redhat.com>
203 * libnm-glib/libnm_glib.ver
204 libnm-glib/nm-dbus-settings-system.c
205 libnm-glib/nm-dbus-settings-system.h
206 - Add libnm-glib bits for CanModify
208 2008-11-14 Dan Williams <dcbw@redhat.com>
210 * introspection/nm-settings-system.xml
211 system-settings/src/dbus-settings.c
212 system-settings/src/dbus-settings.h
213 - Add a "CanModify" property to indicate if any plugins support
214 connection modification
216 2008-11-14 Dan Williams <dcbw@redhat.com>
218 Relicense libnm-glib to LGPLv2+ with agreement from contributors
220 2008-11-14 Dan Williams <dcbw@redhat.com>
222 * vpn-manager/nm-vpn-connection.c
223 - (plugin_state_changed): clear VPN secrets on error to ensure they
224 are always requested from the settings service (rh #429287)
226 2008-11-13 Dan Williams <dcbw@redhat.com>
228 * libnm-util/crypto.c
229 - (crypto_get_private_key_data): fix bad initial arg type checking
232 2008-11-13 Dan Williams <dcbw@redhat.com>
234 Add support for PKCS#12 private keys (bgo #558982)
236 * libnm-util/crypto.c
238 - (parse_old_openssl_key_file): rename from parse_key_file(); adapt to
239 take a GByteArray instead of a filename
240 - (file_to_g_byte_array): handle private key files too
241 - (decrypt_key): take a GByteArray rather than data + len
242 - (crypto_get_private_key_data): refactor crypto_get_private_key() into
243 one function that takes a filename, and one that takes raw data;
244 detect pkcs#12 files as well
245 - (crypto_load_and_verify_certificate): detect file type
246 - (crypto_is_pkcs12_data, crypto_is_pkcs12_file): add pkcs#12 detection
249 * libnm-util/crypto_gnutls.c
250 - (crypto_decrypt): take GByteArray rather than data + len; fix a bug
251 whereby tail padding was incorrectly handled, leading to erroneous
252 successes when trying to decrypt the data
253 - (crypto_verify_cert): rework somewhat
254 - (crypto_verify_pkcs12): validate pkcs#12 keys
256 * libnm-util/crypto_nss.c
257 - (crypto_init): enable various pkcs#12 ciphers
258 - (crypto_decrypt): take a GByteArray rather than data + len
259 - (crypto_verify_cert): clean up
260 - (crypto_verify_pkcs12): validate pkcs#12 keys
262 * libnm-util/test-crypto.c
263 - Handle pkcs#12 keys
265 * libnm-util/nm-setting-8021x.c
266 libnm-util/nm-setting-8021x.h
267 libnm-util/libnm-util.ver
268 - Add two new properties, 'private-key-password' and
269 'phase2-private-key-password', to be used in conjunction with
271 - (nm_setting_802_1x_set_ca_cert_from_file,
272 nm_setting_802_1x_set_client_cert_from_file,
273 nm_setting_802_1x_set_phase2_ca_cert_from_file,
274 nm_setting_802_1x_set_phase2_client_from_file): return certificate
276 - (nm_setting_802_1x_get_private_key_password,
277 nm_setting_802_1x_get_phase2_private_key_password): return private
279 - (nm_setting_802_1x_set_private_key_from_file,
280 nm_setting_802_1x_set_phase2_private_key_from_file): set the private
281 key from a file, and update the private key password at the same time
282 - (nm_setting_802_1x_get_private_key_type,
283 nm_setting_802_1x_get_phase2_private_key_type): return the private
286 * src/supplicant-manager/nm-supplicant-settings-verify.c
287 - Whitelist private key passwords
289 * src/supplicant-manager/nm-supplicant-config.c
290 - (nm_supplicant_config_add_setting_8021x): for pkcs#12 private keys,
291 add the private key password to the supplicant config, but do not
292 add the client certificate (as required by wpa_supplicant)
294 2008-11-12 Tambet Ingo <tambet@gmail.com>
296 * system-settings/plugins/keyfile/nm-keyfile-connection.c (copy_one_secret)
297 (add_secrets): Don't add empty secrets to the secrets hash table.
299 2008-11-07 Dan Williams <dcbw@redhat.com>
301 * libnm-util/nm-setting-wireless.c
302 - (nm_setting_wireless_get_seen_bssid): fix bug from accessor conversion
303 that cased this function to return garbage, breaking hidden AP
306 2008-11-07 Dan Williams <dcbw@redhat.com>
308 Fix deletion of VPN gateway route on DHCP renew (bgo #558133)
310 * src/NetworkManagerSystem.c
311 src/NetworkManagerSystem.h
312 - (nm_system_device_set_ip4_route): return the route that was added
313 - (nm_system_add_ip4_vpn_gateway_route): make add_vpn_gateway_route()
314 public, clean up, and return the route that was added
315 - (nm_system_apply_ip4_config): remove VPN related stuff to simplify,
316 since nm_system_add_ip4_vpn_gateway_route() is now available; add
317 flags to allow only certain attributes of the NMIP4Config to be
321 - (handle_dhcp_lease_change): don't touch the DHCP4 config on failure
322 - (nm_device_set_ip4_config): use nm_ip4_config_diff() to only apply
323 what's really changed between the old and new configs; don't export
324 the new IP4 config on failure; always send the DNS info to the
327 * src/vpn-manager/nm-vpn-connection.c
328 - (device_ip4_config_changed, nm_vpn_connection_new, dispose): track the
329 parent device's IP4Config and re-add the VPN gateway route when it
331 - (nm_vpn_connection_ip4_config_get): add the VPN gateway route (since
332 nm_system_apply_ip4_config() no longer does) and cache it for later
333 - (connection_state_changed): move cleanup code to its own function
334 - (vpn_cleanup): delete any previously added VPN gateway route; and
335 re-apply the parent device's addresses and routes using
336 nm_system_apply_ip4_config(), not nm_device_set_ip4_config()
338 2008-11-07 Dan Williams <dcbw@redhat.com>
340 * src/nm-ip4-config.c
342 - (nm_ip4_config_diff): new function; return the difference between two
344 - (nm_ip4_config_compare): change into nm_ip4_config_diff
346 2008-11-05 Dan Williams <dcbw@redhat.com>
350 - (nm_ip4_config_compare): compare two IP4 configs
352 2008-11-05 Dan Williams <dcbw@redhat.com>
354 * src/NetworkManagerPolicy.c
355 - (update_etc_hosts): only add newline if not the last line of the file
358 2008-11-05 Dan Williams <dcbw@redhat.com>
360 * src/dhcp-manager/nm-dhcp-dhclient.c
361 - (get_leasefile_for_iface): move lease files back to where dhclient
364 2008-11-05 Michael Biebl <mbiebl@gmail.com>
366 * initscripts/Debian/NetworkManager
367 - Update to what Debian is actually using
369 2008-11-05 Tambet Ingo <tambet@gmail.com>
371 * libnm-util/nm-setting-8021x.c: Verify PEAP settings as well.
373 2008-11-03 Dan Williams <dcbw@redhat.com>
375 * system-settings/src/main.c
376 - (add_default_dhcp_connection): make the fallback connection read-only
378 * libnm-glib/nm-settings.c
379 libnm-glib/nm-settings.h
380 - Add detailed errors
381 - (impl_exported_connection_update, impl_exported_connection_delete):
382 return an error if the connection is read-only
384 * system-settings/plugins/ifupdown/nm-ifupdown-connection.c
385 system-settings/plugins/keyfile/nm-keyfile-connection.c
386 system-settings/src/main.c
387 - Use more detailed errors
389 * system-settings/src/nm-system-config-error.c
390 system-settings/src/nm-system-config-error.h
391 system-settings/src/dbus-settings.c
392 - Remove NM_SYSCONFIG_SETTINGS_ERROR_INVALID_CONNECTION, replaced by
393 NM_SETTINGS_ERROR_INVALID_CONNECTION
395 2008-11-02 Dan Williams <dcbw@redhat.com>
397 * Add license headers to everything in src/
399 2008-11-02 Dan Williams <dcbw@redhat.com>
403 2008-11-02 Dan Williams <dcbw@redhat.com>
405 * src/NetworkManagerAP.c
406 - (nm_ap_new_fake_from_connection): treat only lack of a wireless security
407 setting as unencrypted; fixes a bug where NM wouldn't ask for new
408 secrets when connecting to an encrypted network failed
410 2008-10-30 Dan Williams <dcbw@redhat.com>
412 * libnm-util/libnm-util.ver
413 libnm-util/nm-setting-ip6-config.c
414 libnm-util/nm-setting-ip6-config.h
415 libnm-util/Makefile.am
416 - Make properties private and add accessor functions
417 - Hide IPv6 stuff from public API, it's incomplete and completely unused
419 * libnm-util/nm-connection.c
420 libnm-util/nm-utils.c
421 libnm-util/nm-utils.h
422 - Ignore IPv6 stuff for now
424 2008-10-30 Dan Williams <dcbw@redhat.com>
426 * libnm-util/libnm-util.ver
427 libnm-util/nm-setting-8021x.c
428 libnm-util/nm-setting-8021x.h
429 - Make properties private and add accessor functions
431 * src/supplicant-manager/nm-supplicant-config.c
432 system-settings/plugins/ifcfg-suse/parser.c
433 - Use 802.1x setting accessors
435 2008-10-30 Dan Williams <dcbw@redhat.com>
437 * libnm-util/libnm-util.ver
438 libnm-util/nm-setting-wireless-security.c
439 libnm-util/nm-setting-wireless-security.h
440 - Make properties private and add accessor functions
442 * libnm-util/nm-setting-wireless.c
443 src/NetworkManagerAP.c
445 src/supplicant-manager/nm-supplicant-config.c
446 system-settings/plugins/ifcfg-fedora/reader.c
447 system-settings/plugins/ifcfg-suse/parser.c
448 - Use wireless security accessors
450 2008-10-30 Dan Williams <dcbw@redhat.com>
452 * src/nm-device-ethernet.c
455 src/ppp-manager/nm-ppp-manager.c
456 - Harmonize return checking of ioctl
458 * system-settings/plugins/ifcfg-fedora/reader.c
459 - (is_wireless_device): fall back to SIOCGIWNAME (rh #466340)
461 2008-10-30 Dan Williams <dcbw@redhat.com>
463 * src/ppp-manager/nm-ppp-manager.c
464 - (nm_ppp_manager_start): if /dev/ppp doesn't exist, load the
465 ppp_generic module to create it (bgo #533064)
467 2008-10-30 Dan Williams <dcbw@redhat.com>
469 Patch from Alexander Sack <asac@canonical.com>
471 Fix "ppp connections don't honour ip4 connection settings"
473 * src/nm-device-ethernet.c
474 - (real_act_stage4_get_ip4_config): merge ip4config settings
475 with results from ppp manager
477 * src/nm-serial-device.c
478 - (real_act_stage4_get_ip4_config): merge ip4config settings
479 with results from ppp manager
481 2008-10-29 Dan Williams <dcbw@redhat.com>
483 * libnm-util/libnm-util.ver
484 libnm-util/nm-setting-ip4-config.c
485 libnm-util/nm-setting-ip4-config.h
486 - Make properties private and add accessor functions
488 * callouts/nm-dispatcher-action.c
489 libnm-glib/libnm-glib-test.c
490 libnm-util/nm-utils.c
491 src/NetworkManagerPolicy.c
492 src/NetworkManagerSystem.c
493 src/NetworkManagerUtils.c
494 src/dhcp-manager/nm-dhcp-dhclient.c
495 src/dhcp-manager/nm-dhcp-manager.c
496 src/dnsmasq-manager/nm-dnsmasq-manager.c
499 src/nm-hso-gsm-device.c
502 src/ppp-manager/nm-ppp-manager.c
503 src/vpn-manager/nm-vpn-connection.c
504 system-settings/plugins/ifcfg-fedora/reader.c
505 system-settings/plugins/ifcfg-suse/parser.c
506 system-settings/plugins/ifcfg-suse/plugin.c
507 system-settings/plugins/ifupdown/parser.c
509 vpn-daemons/vpnc/properties/nm-vpnc.c
510 - Use IP4 accessor functions
512 2008-10-29 Tambet Ingo <tambet@gmail.com>
514 Half of it by Dan Williams <dcbw@redhat.com>
516 * libnm-util/libnm-util.ver
517 libnm-util/nm-setting-vpn.c
518 libnm-util/nm-setting-vpn.h
519 - Make properties private and add accessor functions.
521 * src/vpn-manager/nm-vpn-connection.c
522 src/vpn-manager/nm-vpn-manager.c
523 system-settings/plugins/keyfile/reader.c
524 vpn-daemons/openvpn/properties/auth-helpers.c
525 vpn-daemons/openvpn/properties/import-export.c
526 vpn-daemons/openvpn/properties/nm-openvpn.c
527 vpn-daemons/openvpn/src/nm-openvpn-service.c
528 vpn-daemons/pptp/auth-dialog/main.c
529 vpn-daemons/pptp/properties/advanced-dialog.c
530 vpn-daemons/pptp/properties/nm-pptp.c
531 vpn-daemons/pptp/src/nm-pptp-service.c
532 vpn-daemons/vpnc/properties/nm-vpnc.c
533 vpn-daemons/vpnc/src/nm-vpnc-service.c
534 - Use VPN setting accessors.
536 2008-10-28 Dan Williams <dcbw@redhat.com>
538 Patch from Tambet Ingo <tambet@gmail.com>
540 * libnm-util/libnm-util.ver
541 libnm-util/nm-setting-wireless.c
542 libnm-util/nm-setting-wireless.h
543 - Make properties private and add accessor functions
545 * src/NetworkManagerAP.c
548 src/supplicant-manager/nm-supplicant-config.c
549 system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
550 system-settings/plugins/ifcfg-fedora/reader.c
551 system-settings/plugins/ifcfg-suse/parser.c
552 system-settings/plugins/ifupdown/parser.c
553 - Use wireless setting accessors
555 2008-10-27 Dan Williams <dcbw@redhat.com>
557 Patch from Tambet Ingo <tambet@gmail.com>
559 * libnm-util/libnm-util.ver
560 libnm-util/nm-setting-ppp.c
561 libnm-util/nm-setting-ppp.h
562 - Make properties private and add accessor functions
564 * src/ppp-manager/nm-ppp-manager.c
565 - Use ppp setting accessors
567 2008-10-27 Dan Williams <dcbw@redhat.com>
569 Patch from Tambet Ingo <tambet@gmail.com>
571 * libnm-util/nm-setting.h
572 libnm-util/nm-setting.c
573 - Make properties private and add accessor functions
575 * libnm-util/nm-connection.c
576 libnm-util/nm-setting-8021x.c
577 libnm-util/nm-setting-cdma.c
578 libnm-util/nm-setting-connection.c
579 libnm-util/nm-setting-gsm.c
580 libnm-util/nm-setting-ip4-config.c
581 libnm-util/nm-setting-ip6-config.c
582 libnm-util/nm-setting-ppp.c
583 libnm-util/nm-setting-pppoe.c
584 libnm-util/nm-setting-serial.c
585 libnm-util/nm-setting-template.c
586 libnm-util/nm-setting-vpn.c
587 libnm-util/nm-setting-wired.c
588 libnm-util/nm-setting-wireless-security.c
589 libnm-util/nm-setting-wireless.c
590 system-settings/plugins/keyfile/reader.c
591 system-settings/plugins/keyfile/writer.c
592 - Use setting accessors
594 2008-10-27 Dan Williams <dcbw@redhat.com>
596 * libnm-util/libnm-util.ver
597 libnm-util/nm-setting-connection.c
598 libnm-util/nm-setting-connection.h
599 - Add a 'read-only' property that indicates the connection cannot be
602 * system-settings/plugins/ifcfg-fedora/reader.c
603 system-settings/plugins/ifcfg-suse/parser.c
604 system-settings/plugins/ifupdown/parser.c
605 - These plugins are read-only at the moment
607 * system-settings/plugins/keyfile/reader.c
608 system-settings/plugins/keyfile/writer.c
609 - Read-only shouldn't get saved out to files or read in from them
611 2008-10-27 Tambet Ingo <tambet@gmail.com>
613 * src/nm-device-ethernet.c (nm_device_ethernet_get_speed): Implement
614 correct speed reporting for fast devices (kernel >= 2.6.27).
616 2008-10-26 Dan Williams <dcbw@redhat.com>
618 Attempt to compensate for modems that don't enable full AT parsing before
619 the PIN has been entered.
621 * src/nm-gsm-device.c
622 - (init_modem): accept different init strings
623 - (init_done): try different init strings on failure
624 - (check_pin_done): on PIN success, do full modem init
626 2008-10-26 Dan Williams <dcbw@redhat.com>
628 Patch from Tambet Ingo <tambet@gmail.com>
630 * libnm-util/libnm-util.ver
631 libnm-util/nm-setting-connection.c
632 libnm-util/nm-setting-connection.h
633 - Make properties private and add accessor functions
635 * src/NetworkManagerPolicy.c
637 src/nm-device-ethernet.c
638 src/nm-device-interface.c
642 src/ppp-manager/nm-ppp-manager.c
643 src/vpn-manager/nm-vpn-connection.c
644 system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
645 system-settings/plugins/ifcfg-fedora/plugin.c
646 system-settings/plugins/ifcfg-fedora/reader.c
647 system-settings/plugins/ifcfg-suse/parser.c
648 system-settings/plugins/ifupdown/parser.c
649 system-settings/plugins/keyfile/nm-keyfile-connection.c
650 system-settings/plugins/keyfile/plugin.c
651 system-settings/plugins/keyfile/writer.c
652 system-settings/src/main.c
653 - Use those accessors
655 2008-10-26 Dan Williams <dcbw@redhat.com>
657 Patch from Tambet Ingo <tambet@gmail.com>
659 * libnm-util/libnm-util.ver
660 libnm-util/nm-setting-gsm.c
661 libnm-util/nm-setting-gsm.h
662 - Make properties private and add accessor functions
664 * src/nm-gsm-device.c
665 src/nm-hso-gsm-device.c
666 src/ppp-manager/nm-ppp-manager.c
667 - Use those accessors
669 2008-10-26 Dan Williams <dcbw@redhat.com>
671 Patch from Tambet Ingo <tambet@gmail.com>
673 * libnm-util/libnm-util.ver
674 libnm-util/nm-setting-cdma.c
675 libnm-util/nm-setting-cdma.h
676 - Make properties private and add accessor functions
678 * src/nm-cdma-device.c
679 src/ppp-manager/nm-ppp-manager.c
680 - Use those accessors
682 2008-10-26 Dan Williams <dcbw@redhat.com>
684 Patch from Tambet Ingo <tambet@gmail.com>
686 * libnm-util/libnm-util.ver
687 libnm-util/nm-setting-pppoe.c
688 libnm-util/nm-setting-pppoe.h
689 - Make properties private and add accessor functions
691 * src/nm-device-ethernet.c
692 src/ppp-manager/nm-ppp-manager.c
693 - Use those accessors
695 2008-10-26 Dan Williams <dcbw@redhat.com>
697 Patch from Tambet Ingo <tambet@gmail.com>
699 * libnm-util/libnm-util.ver
700 libnm-util/nm-setting-wired.c
701 libnm-util/nm-setting-wired.h
702 - Make properties private and add accessor functions
704 * src/nm-device-ethernet.c
705 system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
706 system-settings/plugins/ifcfg-suse/parser.c
707 system-settings/src/main.c
708 - Use those accessors
710 2008-10-26 Dan Williams <dcbw@redhat.com>
712 Patch from Tambet Ingo <tambet@gmail.com>
714 * libnm-util/libnm-util.ver
715 libnm-util/nm-setting-serial.c
716 libnm-util/nm-setting-serial.h
717 src/nm-serial-device.c
718 - Make properties private and use accessors instead
720 2008-10-26 Dan Williams <dcbw@redhat.com>
722 * src/supplicant-manager/nm-supplicant-interface.c
723 src/supplicant-manager/nm-supplicant-interface.h
724 src/supplicant-manager/nm-supplicant-manager.c
725 src/supplicant-manager/nm-supplicant-manager.h
726 - Add state-to-string conversion functions
728 * src/nm-device-wifi.c
729 src/nm-device-ethernet.c
730 - Normalize state info logging and use strings instead of numbers
732 2008-10-26 Dan Williams <dcbw@redhat.com>
734 * src/NetworkManagerPolicy.c
735 - (update_routing_and_dns): ignore host routes when determining whether
736 a VPN connection should own the default route (bgo #552594)
738 2008-10-24 Dan Williams <dcbw@redhat.com>
740 * src/nm-gsm-device.c
741 - (set_apn): remove erroneous spaces in AT+CGDCONT command (Jerone Young)
743 2008-10-23 Dan Williams <dcbw@redhat.com>
745 * src/ppp-manager/nm-ppp-manager.c
746 - (create_pppd_cmd_line): pppd always parses /etc/ppp/options, so always
747 add really important stuff to the command line to ensure that NM
748 overrides /etc/ppp/options (bgo #556781)
750 2008-10-22 Dan Williams <dcbw@redhat.com>
752 * src/NetworkManagerSystem.c
754 - Use the device's IP interface where appropriate (Per Hallsmark)
756 2008-10-22 Dan Williams <dcbw@redhat.com>
758 * src/nm-gsm-device.c
759 - (schedule_automatic_registration_again): use a short timeout here
760 instead of an idle handler to avoid using too much CPU polling for
761 something we should be waiting a bit for anyway
763 2008-10-22 Dan Williams <dcbw@redhat.com>
765 * include/NetworkManager.h
766 introspection/nm-device.xml
767 - Add device state change reason for carrier changes
769 * src/nm-device-ethernet.c
770 - (set_carrier): use the carrier change reason when changing device
771 state in response to carrier changes
773 2008-10-21 Dan Williams <dcbw@redhat.com>
775 * src/NetworkManagerPolicy.c
776 - (update_etc_hosts): don't leak errors, and ensure that
777 g_file_set_contents() gets a valid error placeholder (rh #461933)
779 2008-10-21 Dan Williams <dcbw@redhat.com>
782 - (free_get_settings_info): don't use the DBusGProxy which could be
783 disposed of by the time the function is called
784 - (internal_new_connection_cb): save connection scope
785 - (connection_get_settings_cb): don't replace a connection unless it's
786 actually different from the existing one; fixes an issue where
787 killing the settings service wouldn't deactivate an active connection
788 provided by that settings service, because it was using a connection
789 that had already been replaced in the system or user hash
791 2008-10-21 Dan Williams <dcbw@redhat.com>
793 * src/NetworkManager.c
794 - (main): keep the DHCP manager around since it's a singleton; fixes
795 a use-after-free exposed by r4196 since the DHCP manager singleton
796 variable isn't cleared when the DHCP manager object is finalized
798 2008-10-20 Dan Williams <dcbw@redhat.com>
800 * libnm-util/nm-setting-wireless-security.c
801 - (verify): accept 'none' as a pairwise cipher with Ad-Hoc WPA connections
803 2008-10-20 Dan Williams <dcbw@redhat.com>
805 * src/supplicant-manager/nm-supplicant-config.c
806 - (ADD_STRING_LIST_VAL): don't add empty values to the supplicant config
808 2008-10-20 Dan Williams <dcbw@redhat.com>
810 * src/dhcp-manager/nm-dhcp-manager.c
811 - (nm_dhcp_manager_get): fix mismatched refcount; creating the dhcp
812 manager object already refs it once
813 - (nm_dhcp_manager_cancel_transaction_real): clear freed variables that
814 also get cleaned up by nm_dhcp_device_destroy() to prevent
817 2008-10-20 Dan Williams <dcbw@redhat.com>
820 - (initial_get_connections): use private dbus manager, don't keep
821 ref-ing the singleton. Fixes mismatched refcounts of the dbus
824 2008-10-18 Dan Williams <dcbw@redhat.com>
826 * libnm-glib/nm-settings.c
827 libnm-glib/nm-settings.h
828 - Rename the "get_secrets" virtual function "service_get_secrets" to
829 clarify when it's used; NMExportedConnetion is a base-class for both
830 the client and service side, which is sort of confusing, and
831 get_secrets only makes sense on the service side.
833 * libnm-glib/nm-dbus-connection.c
834 - (get_secrets): remove, unused, and clients need to do extra work to
835 get secrets anyway since the call can block on the remote side
837 * system-settings/plugins/ifupdown/nm-ifupdown-connection.c
838 system-settings/plugins/keyfile/nm-keyfile-connection.c
839 - Fix up for get_secrets -> service_get_secrets
841 2008-10-16 Dan Williams <dcbw@redhat.com>
843 * src/nm-device-wifi.c
844 - (constructor): correctly determine encryption capabilities
846 2008-10-15 Dan Williams <dcbw@redhat.com>
848 * src/nm-device-wifi.c
849 - (wireless_qual_to_percent): fix quality calculation in a fallback case
852 2008-10-15 Dan Williams <dcbw@redhat.com>
854 * src/NetworkManagerSystem.c
855 - (ip4_dest_in_same_subnet): tighter checks on subnet matching,
856 if the ip4_dest is in a smaller subnet contained within a subnet
857 the machine is currently on, the destination is in the same subnet
858 - (nm_system_device_set_ip4_route): move subnet checks to callers
859 - (add_vpn_gateway_route): check if the VPN gateway is in the same
860 subnet as the parent device, and if so, don't add the direct
861 host route via the parent device's gateway (bgo #481620)
862 - (nm_system_apply_ip4_config): check whether the route to be added
863 is contained within a subnet the device is already on
865 2008-10-11 Dan Williams <dcbw@redhat.com>
867 * include/NetworkManager.h
868 introspection/nm-device.xml
869 include/NetworkManagerVPN.h
870 - Add a few more state reasons for the device deactivated state
872 * src/nm-device-interface.c
873 src/nm-device-interface.h
874 - (nm_device_interface_deactivate): add a 'reason' argument
878 - (nm_device_deactivate, nm_device_take_down): add a 'reason' argument
879 - (nm_device_state_changed): pass the state change reason to
880 nm_device_take_down()
881 - (nm_device_set_managed): take a 'reason' argument, and pass it along
882 to the state change function
886 - (remove_one_device, handle_unmanaged_devices, sync_devices,
887 impl_manager_sleep): pass a reason code to nm_device_set_managed()
888 - (nm_manager_deactivate_connection): add a 'reason' argument and pass
889 something reasonable along to VPN deactivation
891 * src/vpn-manager/nm-vpn-manager.c
892 src/vpn-manager/nm-vpn-manager.h
893 - (nm_vpn_manager_deactivate_connection): add a 'reason' argument and
894 pass that along to nm_vpn_connection_disconnect()
896 2008-10-11 Dan Williams <dcbw@redhat.com>
898 * src/nm-device-wifi.c
899 - (can_scan): remove old madwifi hack for not scanning while connected
901 2008-10-11 Dan Williams <dcbw@redhat.com>
903 Add support for VPN subnet gateways (bgo #549196)
905 * include/NetworkManager.h
906 - Add key for internal VPN subnet gateway
908 * src/vpn-manager/nm-vpn-connection.c
909 - (ip_address_to_string): return a const from a static buffer so we
910 don't leak a lot of strings
911 - (print_vpn_config): print internal VPN gateway as well
912 - (nm_vpn_connection_ip4_config_get): grab internal VPN gateway from
914 - (nm_vpn_connection_get_ip4_internal_gateway): new function
916 * src/NetworkManagerSystem.c
917 src/NetworkManagerSystem.h
918 - (nm_system_device_replace_default_ip4_route): split into two, one for
919 VPN connections and one for normal devices
920 - (replace_default_ip4_route): break out route stuff into its own function
921 - (nm_system_replace_default_ip4_route_vpn,
922 nm_system_replace_default_ip4_route): simplify by having two cases,
923 one for VPNs and one for normal devices
925 * src/NetworkManagerPolicy.c
926 - (update_routing_and_dns): simplify, use split default route replacement
929 2008-10-10 Dan Williams <dcbw@redhat.com>
931 Rework default route handling to consolidate decisions in the policy,
932 and to take active VPN connections into account when changing the default
935 * src/NetworkManager.c
936 - (main): pass the vpn_manager to the policy so it knows about active
937 VPN connections; clean up the named manager which wasn't done before
939 * src/NetworkManagerPolicy.c
940 src/NetworkManagerPolicy.h
941 - (nm_policy_new): get a clue about the vpn_manager
942 - (update_default_route): remove, fold into update_routing_and_dns()
943 - (update_routing_and_dns): handle active VPN connections too; an
944 active VPN connection becomes the default route if it does not have
945 server-specified or user-specified custom routes. Otherwise, the
946 best active device gets the default route
947 - (vpn_connection_activated, vpn_connection_deactivated, nm_policy_new,
948 nm_policy_destroy): track VPN connection activation and deactivation
949 and update the default route when appropriate
951 * src/NetworkManagerSystem.c
952 src/NetworkManagerSystem.h
953 - (nm_system_vpn_device_unset_from_ip4_config): remove, put functionality
954 in the VPN connection itself
955 - (nm_system_vpn_device_set_from_ip4_config,
956 nm_system_device_set_from_ip4_config): merge together to make
957 nm_system_apply_ip4_config()
958 - (add_vpn_gateway_route): add a route to the VPN's external gateway
959 via the parent device
960 - (nm_system_apply_ip4_config): simplify
961 - (add_ip4_route_to_gateway): new function; add a direct route to the
963 - (nm_system_device_replace_default_ip4_route): simplify, break gateway
964 route stuff out into add_ip4_route_to_gateway() for clarity
967 - (nm_device_set_ip4_config): update for nm_system_apply_ip4_config()
969 * src/vpn-manager/nm-vpn-connection.c
970 src/vpn-manager/nm-vpn-connection.h
971 - (nm_vpn_connection_get_ip4_config, nm_vpn_connection_get_ip_iface,
972 nm_vpn_connection_get_parent_device): add
973 - (nm_vpn_connection_ip4_config_get): make the requirement of a tunnel
975 - (connection_state_changed): update the named manager now that
976 nm_system_vpn_device_unset_from_ip4_config() is gone; do something
979 * src/vpn-manager/nm-vpn-manager.c
980 src/vpn-manager/nm-vpn-manager.h
981 - Add a 'connection-activated' signal
982 - (nm_vpn_manager_get_active_connections): new function; mainly for the
983 policy to find out about active VPN connections
985 2008-10-10 Tambet Ingo <tambet@gmail.com>
987 * src/nm-logging.c (nm_logging_setup): Don't use LOG_CONS when running as
988 a daemon to prevent NM logging spew on console on startup and shutdown (due
989 to dependency loop between NM and syslog).
991 2008-10-10 Alexander Sack <asac@ubuntu.com>
993 Implement managed mode. We bind devices configured in /etc/network/interfaces
994 to their connections by updating wired/wireless setting with the
995 mac address of the device.
997 * system-settings/plugins/ifupdown/plugin.c
998 - (get_net_address_for_udi): implement function to retrieve MAC
999 address of udi from hal in GByteArray format
1000 - (bind_device_to_connection): bind mac address of device to
1001 wired/wireless system connection
1002 - (hal_device_added_cb): call bind_device_to_connection for
1003 system connections with a matching interface.name
1004 - (hal_device_added_cb): ensure that all code paths
1005 properly free the "iface" string.
1007 2008-10-10 Alexander Sack <asac@ubuntu.com>
1009 Parse nm-system-settings.conf and allow admins to either use managed and unmanaged
1010 mode of the ifupdown system config plugin.
1012 * system-settings/plugins/ifupdown/plugin.c
1013 - (SCPluginIfupdown_init): parse nm-system-settings.conf keyfile and set
1014 private unmanage_well_known state field accordingly
1016 2008-10-10 Alexander Sack <asac@ubuntu.com>
1018 Implement unmanaged mode that will prevent all devices in the
1019 well_known_udis set from being touched by NetworkManager
1021 * system-settings/plugins/ifupdown/plugin.c
1022 - (typedef struct SCPluginIfupdownPrivate): add gboolean
1023 unmanage_well_known field used to turn on/off unmanaged
1025 - (hal_device_added_cb,hal_device_remove_cb): emit |unmanaged-devices-changed|
1026 signal when well_known_udis get added/removed
1027 - (SCPluginIfupdown_get_unmanaged_devices): return all well_known_udis
1028 if we are in unmanaged mode
1030 2008-10-10 Alexander Sack <asac@ubuntu.com>
1032 Add support to track network devices that have a configuration
1033 with a matching interface.name in /etc/network/interfaces
1035 * system-settings/plugins/ifupdown/plugin.c
1036 - (typedef struct SCPluginIfupdownPrivate): add hash table
1037 to track |well_known_udis|
1038 - (get_iface_for_udi): helper function to get interface.name
1040 - (hal_device_added_cb, hal_device_removed_cb): callbacks
1041 that add and remove devices to and from the well_known_udis
1042 set depending on whether their |interface.name| matches
1043 any interface definition in /etc/network/interfaces
1044 - (SCPluginIfupdown_init): connect callbacks from above with
1045 hal_mgr and setup well_known_udis hashtable
1046 - (GObject__dispose): destroy well_known_udis hashtable
1047 - (hal_device_added_cb2): implement wrapper callback with GFunc
1048 signature. user_data is supposed to be a triple (hal_mgr,
1050 - (SCPluginIfupdown_init): bootstrap wired and wifi devices for
1051 startup and call hal_device_added_cb2
1053 2008-10-10 Alexander Sack <asac@ubuntu.com>
1055 Remove implementation for not used NMSystemConfigInterface callback functions
1058 * system-settings/plugins/ifupdown/plugin.c
1059 - (SCPluginIfupdown_unmanaged_devices_changed): removed
1060 - (SCPluginIfupdown_connection_added): removed
1062 2008-10-08 Dan Williams <dcbw@redhat.com>
1064 Add a 'hostname' dispatcher action triggered on hostname changes (bgo #552983)
1066 * src/NetworkManagerUtils.c
1067 - (nm_utils_call_dispatcher): add a 'hostname' action
1069 * src/NetworkManagerPolicy.c
1070 - (set_system_hostname): dispatch hostname changes
1072 * callouts/nm-dispatcher-action.c
1073 - (nm_dispatcher_action): handle 'hostname' actions
1075 2008-10-08 Dan Williams <dcbw@redhat.com>
1077 * src/NetworkManagerSystem.c
1078 - (find_route): ref the route so it doesn't get destroyed when the cache
1080 - (nm_system_device_set_priority): unref the route here after it's done
1083 2008-10-08 Dan Williams <dcbw@redhat.com>
1085 * src/nm-serial-device.c
1086 - Turn on serial debugging when NM_SERIAL_DEBUG is set in the environment
1088 2008-10-08 Tambet Ingo <tambet@gmail.com>
1090 * system-settings/plugins/keyfile/nm-keyfile-connection.c (update): Update the
1091 connection with new settings before saving it.
1093 2008-10-06 Dan Williams <dcbw@redhat.com>
1095 * src/nm-ip4-config.c
1097 - nm_ip4_config_is_exported -> nm_ip4_config_get_dbus_path
1099 * src/nm-device-interface.c
1100 - (nm_device_interface_init): make 'ip4-config' a boxed property of type
1101 DBUS_TYPE_G_OBJECT_PATH so that we can make it NULL when we need to
1102 by using '/' for the object path
1105 - (src/nm-device.c): marshal missing/unexported ip4-config through
1106 dbus as '/' since dbus-glib can't handle NULL objects nor can
1107 dbus handle NULL object paths
1109 2008-10-03 Alexander Sack <asac@ubuntu.com>
1111 Implement system hostname support for debian/ubuntu
1113 * system-settings/plugins/ifupdown/plugin.c
1114 - (GObject__get_property): extend announced capabilities; add
1115 NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME support
1116 - (GObject__set_property,write_system_hostname): implement
1117 NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME capability.
1118 - (GObject__set_property, GObject__get_property, SCPluginIfupdown_init,
1119 update_system_hostname, get_hostname):
1120 implement hostname property that watches and
1121 parses /etc/hostname
1123 2008-10-03 Alexander Sack <asac@ubuntu.com>
1125 * system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
1126 system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
1127 system-settings/plugins/ifcfg-fedora/Makefile.am
1128 system-settings/src/nm-inotify-helper.c
1129 system-settings/src/nm-inotify-helper.h
1131 - Move ifcfg-fedora inotify helpers to the system settings service so
1132 they are available to all plugins
1134 2008-10-03 Alexander Sack <asac@ubuntu.com>
1136 Implement support for wep-tx-keyidx in ifupdown system
1139 * system-settings/plugins/ifupdown/parser.c
1140 - (update_wireless_security_setting_from_if_block): introduce
1141 free_type_mapping func table; rename a few local
1142 variables to improve readability; add wpa security mapping
1143 for wep-tx-keyidx property
1144 - (string_to_gpointerint): new function used for the auto_type_mapping
1145 of new wep-tx-keyidx property
1146 - (slist_free_all): free func used for mapped slist types
1148 2008-10-03 Alexander Sack <asac@ubuntu.com>
1150 * system-settings/src/main.c:
1151 - (add_default_dhcp_connection, device_removed_cb): ensure the UDI is
1152 always used as the hash key; fixes a crash when removing wired
1155 2008-10-02 Dan Williams <dcbw@redhat.com>
1157 * src/nm-gsm-device.c
1158 - (enter_pin_done, enter_pin, check_pin_done, real_act_stage1_prepare):
1159 pass the required GSM secret along via user_data rather than keeping
1160 it around in the private data where it sometimes didn't get cleared
1161 - (real_get_ppp_name): implement using the GSM username
1163 2008-10-02 Dan Williams <dcbw@redhat.com>
1165 * src/ppp-manager/nm-ppp-manager.c
1166 src/ppp-manager/nm-ppp-manager.h
1167 - (impl_ppp_manager_need_secrets): tries secrets twice before asking
1168 the settings daemon for completely new ones
1169 - (create_pppd_cmd_line): new parameter 'ppp_name' used to set the
1170 local PPP peer name; allow PPP debuging by launching NM with
1171 the environment variable NM_PPP_DEBUG defined
1172 - (nm_ppp_manager_start): new parameter 'ppp_name' passed to
1173 create_pppd_cmd_line()
1175 * src/nm-serial-device.c
1176 src/nm-serial-device.h
1177 - New 'get_ppp_name' function for subclasses to implement to return the
1179 - (real_act_stage2_config): call 'get_ppp_name' function of subclasses
1180 and pass that name to the PPP manager
1182 * src/nm-device-ethernet.c
1183 - (pppoe_stage2_config): pass the PPPoE username to the PPP manager as
1186 * src/nm-cdma-device.c
1187 - (real_get_ppp_name): implement using the CDMA username
1189 2008-10-02 Dan Williams <dcbw@redhat.com>
1191 Patch from Alexander Sack <asac ubuntu com>
1193 * system-settings/plugins/ifupdown/parser.c
1194 - Implement more graceful ip4 config parsing for cases where
1195 /etc/network/interfaces omits basic ip4 settings, such as gateway etc
1196 by using default values
1198 2008-10-02 Dan Williams <dcbw@redhat.com>
1200 * src/NetworkManagerPolicy.c
1201 - (device_state_changed): when marking a connection invalid, clear its
1202 secrets too so that fresh secrets get requested the next time
1204 2008-10-01 Dan Williams <dcbw@redhat.com>
1206 * system-settings/src/dbus-settings.c
1207 - (nm_sysconfig_settings_init): cache system hostname on startup as
1208 a fallback if no plugin provides a hostname
1209 - (get_property): fall back to cached hostname if no plugin provides
1212 2008-10-01 Dan Williams <dcbw@redhat.com>
1214 Fix setting value comparison issue that caused some settings to look the
1215 same when they were really different (rh #464417)
1217 * libnm-util/nm-param-spec-specialized.c
1218 - (type_is_fixed_size): return fundamental size of the fixed type too
1219 - (nm_gvalues_compare_collection): use the fundamental fixed type size
1220 in the comparison so that the _entire_ fixed type collection gets
1221 compared rather than just the first 'len1' bytes
1223 2008-09-30 Dan Williams <dcbw@redhat.com>
1225 * src/NetworkManagerPolicy.c
1226 - (lookup_thread_worker): don't store the idle handler ID becuase the
1227 idle handler could have already run and freed the LookupThread
1230 2008-09-30 Tambet Ingo <tambet@gmail.com>
1232 * src/nm-device.c (nm_device_get_priority): Implement.
1233 (nm_device_set_ip4_config): Send the device priority to system ip4
1236 * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config):
1237 Add priority argument and if it's >= 0, set the priority of the network
1238 route added automatically by netlink (or kernel?).
1239 (nm_system_device_set_priority): Implement.
1241 * src/NetworkManagerPolicy.c (get_best_device): Use
1242 nm_device_get_priority() instead of home-grown version. Revert the
1243 meaning, best priority is the lowest one.
1245 2008-09-29 Dan Williams <dcbw@redhat.com>
1247 Handle ipw3945 suspend/resume by retrying the GIWRANGE request a few times
1248 when it returns EAGAIN (rh #362421)
1250 * src/nm-device-wifi.c
1251 - (wireless_get_range): try GIWRANGE a few times until the card responds
1252 - (real_get_generic_capabilities, constructor): use wireless_get_range()
1254 2008-09-28 Dan Williams <dcbw@redhat.com>
1256 * src/nm-serial-device.c
1257 src/nm-serial-device.h
1258 - (nm_serial_device_close): stop PPP manager here so that PPP gets
1259 cleaned at the right times when subclasses close the serial port too
1260 - (nm_serial_device_send_command): use a default send delay; don't
1261 spin forever on EAGAIN
1262 - (get_reply_done, get_reply_got_data, nm_serial_device_get_reply):
1263 remove, no longer used
1264 - (find_response): return the matched response if any
1265 - (nm_serial_device_wait_reply_blocking): wait for a reply but block
1267 - (wait_for_reply_done): pass the matched response to the callback
1268 - (wait_for_reply_got_data): save the matched response; simplify timeout
1270 - (nm_serial_device_wait_for_reply): make 'responses' and 'terminators'
1271 const since they never get modified
1272 - (cleanup_device): split out common cleanup stuff to a new function
1273 - (real_deactivate_quickly, finalize): use cleanup_device()
1275 * src/nm-gsm-device.c
1276 - (modem_get_reply): remove, unused
1277 - (set_apn): give the card a bit more time to respond
1278 - (manual_registration_again, schedule_manual_registration_again,
1279 manual_registration_response, manual_registration): handle manual
1280 registration timeouts better by retrying registration a few times
1281 because cards are a bit slow after CFUN=1
1282 - (automatic_registration_get_network, get_network_response): use
1283 modem_wait_for_reply() because it interacts better with the serial
1284 buffer and does more intelligent matching; need to wait for 'OK'
1285 rather than just matching terminators
1286 - (schedule_automatic_registration_again,
1287 automatic_registration_response, automatic_registration): retry
1288 registration a few times on timeout or "searching" because cards
1289 take a bit to find a network after being powered up with CFUN=1
1290 - (power_up_response, power_up, init_full_done, enter_pin,
1291 check_pin_done): power up the card with CFUN=1 before trying to
1292 register with the network
1293 - (init_modem_full, init_modem): use more standard 3G init strings
1295 * src/nm-hso-gsm-device.c
1296 - (modem_get_reply): remove, unused
1297 - (hso_ip4_config_response, real_act_stage3_ip_config_start): use
1298 modem_wait_for_reply() to match actual responses instead of single
1299 termination characters; it doesn't leave stuff in the serial buffer
1300 that might confuse later calls
1301 - (real_deactivate_quickly): use nm_serial_device_wait_reply_blocking()
1302 to ensure that the call is really disconnected and not leave extra
1303 stuff in the serial buffer
1305 * src/nm-cdma-device.c
1306 - (power_up_response, power_up, init_done): try Sierra-style modem
1307 power up before attempting to connect
1309 2008-09-27 Dan Williams <dcbw@redhat.com>
1311 * libnm-util/nm-setting-gsm.c
1312 - (verify): verify GSM network ID
1314 2008-09-25 Dan Williams <dcbw@redhat.com>
1316 * libnm-util/nm-setting-gsm.c
1317 libnm-util/nm-setting-gsm.h
1318 - Fix up NM_GSM_NETWORK_* constants to accurately reflect the network
1319 technology terms (bgo #551361)
1321 2008-09-25 Dan Williams <dcbw@redhat.com>
1323 Fix bgo #549401 (inspired by patch from Alexander Sack)
1325 * src/nm-device-ethernet.c
1326 - (finish_supplicant_task): clean up scheduled tasks and free memory
1327 - (remove_supplicant_interface_error_handler): remove the supplicant
1328 error idle callback too
1329 - (supplicant_interface_release): rename from supplicant_interface_clean
1330 to match nm-device-wifi.c; clean up supplicant interface-related
1331 state tasks when the supplicant interface is disposed of
1332 - (schedule_state_handler): add scheduled tasks to a list so they can
1334 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
1335 supplicant_iface_connection_state_cb_handler): use
1336 finish_supplicant_task() to clean up each completed task
1337 - (supplicant_iface_connection_error_cb_handler,
1338 supplicant_connection_timeout_cb): clear source id when the task is
1340 - (supplicant_iface_connection_error_cb): save scheduled task id for
1342 - (nm_device_ethernet_dispose): clean up any pending supplicant state
1345 * src/nm-device-wifi.c
1346 - (finish_supplicant_task): clean up scheduled tasks and free memory
1347 - (remove_supplicant_interface_error_handler): remove the supplicant
1348 error idle callback too
1349 - (supplicant_interface_release): clean up supplicant interface-related
1350 state tasks when the supplicant interface is disposed of
1351 - (schedule_state_handler): add scheduled tasks to a list so they can
1353 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
1354 supplicant_iface_connection_state_cb_handler): use
1355 finish_supplicant_task() to clean up each completed task
1356 - (supplicant_iface_connection_error_cb_handler): clear source id when
1357 the task is complete
1358 - (supplicant_iface_connection_error_cb): save scheduled task id for
1360 - (nm_device_wifi_dispose): clean up any pending supplicant state tasks
1362 2008-09-24 Tambet Ingo <tambet@gmail.com>
1364 * system-settings/plugins/keyfile/plugin.c: Implement unmanaged_devices
1365 method and get/set hostname property.
1367 2008-09-24 Tambet Ingo <tambet@gmail.com>
1369 * src/supplicant-manager/nm-supplicant-interface.c
1370 (nm_supplicant_interface_disconnect): Don't increment the reference
1371 count when disconnecting. The problem is on shutdown, when the replies
1372 to these commands do not arrive before NM exits, resulting on never
1373 calling supplicant interface's dispose(), which removes the interface
1376 2008-09-24 Tambet Ingo <tambet@gmail.com>
1378 * libnm-glib/nm-vpn-plugin-ui-interface.c: Add type checking to
1379 all the public function arguments.
1381 2008-09-22 Tambet Ingo <tambet@gmail.com>
1383 * src/vpn-manager/nm-vpn-connection.c: Add a signal handler for the
1384 "Failure" signal from VPN plugins, store the failure reason, and
1385 use it when the state is changed to failure.
1387 * introspection/nm-vpn-plugin.xml: Fix the "Failure" signal's type
1390 * include/NetworkManagerVPN.h (NMVPNConnectionStateReason): Add a new
1391 reason to the end of the list to not break the API.
1392 (NMVPNPluginFailure): Move it here (from libnm-glib/nm-vpn-plugin.h)
1393 so it can be shared by plugins and daemon.
1395 2008-09-18 Dan Williams <dcbw@redhat.com>
1397 Patch from Alexander Sack <asac@ubuntu.com>
1400 system-settings/plugins/Makefile.am
1401 system-settings/plugins/ifupdown/Makefile.am
1402 system-settings/plugins/ifupdown/interface_parser.c
1403 system-settings/plugins/ifupdown/interface_parser.h
1404 system-settings/plugins/ifupdown/nm-ifupdown-connection.c
1405 system-settings/plugins/ifupdown/nm-ifupdown-connection.h
1406 system-settings/plugins/ifupdown/parser.c
1407 system-settings/plugins/ifupdown/parser.h
1408 system-settings/plugins/ifupdown/plugin.c
1409 system-settings/plugins/ifupdown/plugin.h
1410 - Implement a Debian/Ubuntu legacy network configuration plugin
1413 2008-09-18 Dan Williams <dcbw@redhat.com>
1415 Implement support for honoring configured and automatic hostnames, and for
1416 setting the configured hostname.
1418 * introspection/nm-ip4-config.xml
1421 src/dhcp-manager/nm-dhcp-manager.c
1422 - Remove useless hostname property; it's not really part of the IPv4
1425 * introspection/nm-settings-system.xml
1426 libnm-glib/nm-dbus-settings-system.c
1427 libnm-glib/nm-dbus-settings-system.h
1428 - Add SetHostname() call to system settings D-Bus interface
1429 - Add Hostname property to system settings D-Bus interface
1430 - (nm_dbus_settings_system_save_hostname,
1431 nm_dbus_settings_system_get_hostname): implement
1435 - (nm_device_get_dhcp4_config): implement
1439 - Fetch and track system settings service hostname changes, and proxy
1440 the changes via a GObject property of the manager
1442 * system-settings/src/nm-system-config-interface.c
1443 system-settings/src/nm-system-config-interface.h
1444 - Replace nm_system_config_interface_supports_add() with a capabilities
1447 * system-settings/src/nm-system-config-error.c
1448 system-settings/src/nm-system-config-error.h
1449 - Add additional errors
1451 * system-settings/src/dbus-settings.c
1452 system-settings/src/dbus-settings.h
1453 - (get_property, nm_sysconfig_settings_class_init): add hostname
1454 property; first plugin returning a hostname wins
1455 - (impl_settings_add_connection): use plugin capabilities instead of
1456 nm_system_config_interface_supports_add()
1457 - (impl_settings_save_hostname): implement hostname saving
1459 * src/NetworkManagerPolicy.c
1460 - (lookup_thread_run_cb, lookup_thread_worker, lookup_thread_new,
1461 lookup_thread_die): implement an asynchronous hostname lookup thread
1462 which given an IPv4 address tries to look up the hostname for that
1463 address with reverse DNS
1464 - (get_best_device): split out best device code from
1465 update_routing_and_dns()
1466 - (update_etc_hosts): update /etc/hosts with the machine's new hostname
1467 to preserve the 127.0.0.1 reverse mapping that so many things require
1468 - (set_system_hostname): set a given hostname
1469 - (update_system_hostname): implement hostname policy; a configured
1470 hostname (from the system settings service) is used if available,
1471 otherwise an automatically determined hostname from DHCP, VPN, etc.
1472 If there was no automatically determined hostname, reverse DNS of
1473 the best device's IP address will be used, and as a last resort the
1474 hostname 'localhost.localdomain' is set.
1475 - (update_routing_and_dns): use get_best_device(); update the system
1476 hostname when the network config changes
1477 - (hostname_changed): update system hostname if the system settings
1478 service signals a hostname change
1479 - (nm_policy_new): list for system settings service hostname changes
1480 - (nm_policy_destroy): ensure that an in-progress hostname lookup thread
1483 * system-settings/plugins/keyfile/plugin.c
1484 system-settings/plugins/ifcfg-suse/plugin.c
1485 - (get_property, sc_plugin_ifcfg_class_init): implement hostname and
1486 capabilities properties
1488 * system-settings/plugins/ifcfg-fedora/shvar.c
1489 - (svOpenFile): re-enable R/W access of ifcfg files since the plugin
1490 writes out /etc/sysconfig/network now
1492 * system-settings/plugins/ifcfg-fedora/plugin.c
1493 - (plugin_get_hostname): get hostname from /etc/sysconfig/network
1494 - (plugin_set_hostname): save hostname to /etc/sysconfig/network
1495 - (sc_network_changed_cb): handle changes to /etc/sysconfig/network
1496 - (sc_plugin_ifcfg_init): monitor /etc/sysconfig/network for changes
1497 - (get_property, set_property, sc_plugin_ifcfg_class_init): implement
1498 hostname get/set and capabilities get
1500 2008-09-18 Dan Williams <dcbw@redhat.com>
1502 * libnm-util/nm-setting-wireless.c
1503 - (nm_setting_wireless_ap_security_compatible): only verify pairwise and
1504 group ciphers if the wireless-security setting explicitly specified
1505 them, effectively making the default be "all ciphers" (idea from
1508 2008-09-15 Dan Williams <dcbw@redhat.com>
1510 Patch from Alexander Sack <asac@ubuntu.com>
1512 * src/named-manager/nm-named-manager.c
1513 - (dispatch_resolvconf): respect resolvconf exit code
1515 2008-09-12 Tambet Ingo <tambet@gmail.com>
1517 * src/named-manager/nm-named-manager.c (dispatch_netconfig): Make it compile
1518 again. Add some debugging.
1520 2008-09-11 Dan Williams <dcbw@redhat.com>
1522 * system-settings/plugins/keyfile/plugin.c
1523 - (update_connection_settings): update connection manually, since
1524 nm_exported_connection_update() does authentication
1525 - (dir_changed): update_connection_settings() doesn't need to return
1528 2008-09-09 Dan Williams <dcbw@redhat.com>
1530 * libnm-glib/nm-vpn-plugin-ui-interface.c
1531 libnm-glib/nm-vpn-plugin-ui-interface.h
1532 libnm-glib/libnm_glib_vpn.ver
1533 - (nm_vpn_plugin_ui_interface_delete_connection): called when the plugin
1534 should clean up resources related to the connection (like keyring
1536 - (nm_vpn_plugin_ui_widget_interface_save_secrets): called when the plugin
1537 should save user-scope secrets (like to the keyring)
1539 2008-09-08 Dan Williams <dcbw@redhat.com>
1541 Patch from Alexander Sack <asac@ubuntu.com>
1543 * libnm-util/crypto_gnutls.c
1544 libnm-util/crypto_nss.c
1545 - (crypto_init, crypto_deinit): just use a boolean instead of a refcount
1547 * libnm-util/nm-utils.c
1548 libnm-util/nm-utils.h
1549 libnm-util/libnm-util.ver
1550 - (nm_utils_init): initialize libnm-util
1551 - (nm_utils_deinit): de-initialize libnm-util and clean up resources
1553 * libnm-util/nm-setting-8021x.c
1554 - (nm_setting_802_1x_class_init): init libnm-util when needed
1556 2008-09-05 Dan Williams <dcbw@redhat.com>
1558 Patch from Roy Marples <roy@marples.name> and others
1561 src/named-manager/nm-named-manager.c
1562 - Add support for resolvconf; use --with-resolvconf at configure time
1565 2008-09-05 Dan Williams <dcbw@redhat.com>
1567 * libnm-util/crypto_nss.c
1568 libnm-util/crypto_gnutls.c
1570 - (crypto_init): return error when init fails
1572 2008-09-05 Dan Williams <dcbw@redhat.com>
1574 * libnm-glib/nm-device-wifi.c
1575 - (access_point_removed_proxy): clean up the active access point too
1576 just in case the active ap changed signal didn't come through yet
1577 - (clean_up_aps): be sure to set priv->active_ap to NULL when cleaning up
1579 2008-09-05 Dan Williams <dcbw@redhat.com>
1581 * libnm-glib/nm-client.c
1582 - (constructor): get initial state after we know whether NM is running
1585 2008-09-05 Dan Williams <dcbw@redhat.com>
1587 * libnm-glib/nm-ip4-config.c
1588 libnm-glib/nm-dhcp4-config.c
1589 - (finalize): clean up the DBusGProxy
1591 2008-09-04 Dan Williams <dcbw@redhat.com>
1593 * src/nm-ip4-config.c
1595 - (nm_ip4_config_new): don't export over D-Bus here
1596 - (nm_ip4_config_export): new function; export the config over D-Bus
1597 - (nm_ip4_config_is_exported): new function
1600 - (nm_device_activate_stage5_ip_config_commit): fix leak of IP4Config
1601 objects by balancing the IP4Config constructor; the device holds
1602 a reference to the IP4Config already
1603 - (nm_device_set_ip4_config): export the IP4Config when needed
1605 2008-09-04 Dan Williams <dcbw@redhat.com>
1607 * src/supplicant-manager/nm-supplicant-settings-verify.c
1608 - Allow WPA-NONE key management for Ad-Hoc WPA connections
1610 2008-09-04 Dan Williams <dcbw@redhat.com>
1612 * libnm-util/nm-setting-vpn.c
1613 libnm-util/nm-setting-vpn.h
1614 - Split VPN secrets from VPN data so that settings services can actually
1615 figure out that they are secrets and store them accordingly
1617 * system-settings/plugins/keyfile/nm-keyfile-connection.c
1618 system-settings/plugins/keyfile/reader.c
1619 system-settings/plugins/keyfile/reader.h
1620 system-settings/plugins/keyfile/writer.c
1621 - Store VPN secrets separately from VPN data so that they can be fetched
1623 - Implement the get_secrets() call so that (a) secrets don't leak out
1624 to unprivileged callers, and (b) secrets can be sent to privileged
1627 * vpn-daemons/vpnc/src/nm-vpnc-service.c
1628 - Handle split VPN secrets
1630 2008-08-27 Dan Williams <dcbw@redhat.com>
1632 * system-settings/plugins/ifcfg-fedora/reader.c
1633 - (make_ip4_setting): use DOMAIN not SEARCH (rh #459370)
1635 2008-08-27 Dan Williams <dcbw@redhat.com>
1637 Ensure zombie children get cleaned up. To get notifications when children
1638 die abnormally, g_spawn_async() requires G_SPAWN_DO_NOT_REAP_CHILD, but
1639 that requires calling waitpid() yourself if you've removed the child watch
1640 handler before the process has actually died, which NM needs to do in a few
1641 places. So ensure that everything uses G_SPAWN_DO_NOT_REAP_CHILD and also
1642 cleans up after the child when required. Should fix problems trying to
1643 activate mobile broadband connections after a previous failure.
1645 * src/dhcp-manager/nm-dhcp-dhclient.c
1646 src/dhcp-manager/nm-dhcp-dhcpcd.c
1647 - Use G_SPAWN_DO_NOT_REAP_CHILD
1649 * src/dhcp-manager/nm-dhcp-manager.c
1650 - (nm_dhcp_device_destroy): ensure child is cleaned up
1651 - (nm_dhcp_client_stop, nm_dhcp_manager_cancel_transaction_real): always
1652 block on child quitting, since the non-blocking functionality was
1655 * src/dnsmasq-manager/nm-dnsmasq-manager.c
1656 - (dm_watch_cb): child is already reaped here
1657 - (ensure_killed, nm_dnsmasq_manager_stop): block until child is dead
1660 - (aipd_cleanup): block until child is dead
1662 * src/named-manager/nm-named-manager.c
1663 - (run_netconfig): don't use G_SPAWN_DO_NOT_REAP_CHILD if we aren't
1664 event bothering to watch the child
1666 * src/ppp-manager/nm-ppp-manager.c
1667 - (ppp_watch_cb): child is already reaped here
1668 - (ensure_killed, nm_ppp_manager_stop): block until child is dead
1670 * src/vpn-manager/nm-vpn-service.c
1671 - (vpn_service_watch_cb): child is already reaped here
1672 - (nm_vpn_service_daemon_exec): use G_SPAWN_DO_NOT_REAP_CHILD so that
1673 status of the child is actually tracked
1674 - (ensure_killed, finalize): block until child is dead
1676 2008-08-26 Dan Williams <dcbw@redhat.com>
1678 * system-settings/plugins/keyfile/nm-keyfile-connection.c
1679 - (update): Update filename of the connection if the connection id
1682 * system-settings/plugins/keyfile/plugin.c
1683 - (dir_changed): first pass at handling connection renames correctly
1685 * system-settings/plugins/keyfile/writer.c
1686 system-settings/plugins/keyfile/writer.h
1687 - (write_connection): replace '/' with '*' when writing out the filename
1688 from the connection id
1690 2008-08-26 Dan Williams <dcbw@redhat.com>
1692 Add connection UUIDs, since connection names can be changed, and since
1693 old-style connection IDs could change over the life of the connection. The
1694 UUID should be assigned at connection creation time, be stable for a given
1695 connection, and should be unique among all connections for a given settings
1699 libnm-util/Makefile.am
1702 * introspection/nm-exported-connection.xml
1703 - Remove "GetID" method
1705 * libnm-glib/nm-dbus-connection.c
1706 libnm-glib/nm-settings.c
1707 libnm-glib/nm-settings.h
1708 - Remove id-related stuff
1710 * libnm-util/nm-utils.c
1711 libnm-util/nm-utils.h
1712 libnm-util/libnm-util.ver
1713 - (nm_utils_uuid_generate, nm_utils_uuid_generate_from_string): Add
1714 utility functions to generate UUIDs
1716 * libnm-util/nm-setting-connection.c
1717 libnm-util/nm-setting-connection.h
1718 - Add 'uuid' member to the connection setting
1719 - (verify): require valid 'uuid' for a valid connection
1721 * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
1722 system-settings/plugins/ifcfg-fedora/reader.c
1723 system-settings/plugins/ifcfg-suse/nm-suse-connection.c
1724 system-settings/plugins/ifcfg-suse/parser.c
1725 system-settings/plugins/keyfile/nm-keyfile-connection.c
1726 system-settings/src/main.c
1727 - Remove id-related stuff
1728 - Give connections UUIDs where needed
1730 2008-08-25 Dan Williams <dcbw@redhat.com>
1732 * libnm-util/crypto_gnutls.c
1733 libnm-util/crypto_nss.c
1734 - (crypto_init, crypto_deinit): refcount init/deinit
1735 - (crypto_md5_hash): allow NULL salt
1737 2008-08-22 Michael Biebl <mbiebl@gmail.com>
1739 * libnm-glib/Makefile.am
1740 libnm-util/Makefile.am
1741 libnm-glib/libnm_glib.ver
1742 libnm-glib/libnm_glib_vpn.ver
1743 libnm-util/libnm-util.ver
1744 - Use linker version scripts to control the list of exported
1745 symbols. List each exported symbol explicitely.
1746 * libnm-util/Makefile.am
1747 - Fix compilation of the test-crypto binary. The crypto
1748 functions are no longer part of the libnm-util API. Add
1749 crypto_*.c to test_crypto_SOURCES and link against the correct
1752 2008-08-19 Dan Williams <dcbw@redhat.com>
1756 - Don't build test/test-common
1757 - Remove unused stuff
1759 * test/nm-set-fallback
1760 test/nmtestdevices.c
1761 test/test-common/.cvsignore
1762 test/test-common/Makefile.am
1763 test/test-common/test-common.c
1764 test/test-common/test-common.h
1767 2008-08-18 Dan Williams <dcbw@redhat.com>
1769 * libnm-util/nm-utils.c
1770 libnm-util/nm-utils.h
1771 - (nm_utils_garray_to_string): remove; NM was the only user and doesn't
1772 export anything that needs to be converted with this function
1774 * src/dhcp-manager/nm-dhcp-manager.c
1775 - (garray_to_string): convert a byte array to a UTF-8 string with
1776 minimal validation; the DHCP client sends it in ASCII anyway
1777 - (get_option, copy_option): use garray_to_string()
1779 2008-08-18 Dan Williams <dcbw@redhat.com>
1781 * include/NetworkManager.h
1782 introspection/nm-device.xml
1783 - Add a "missing firmware" device state reason
1785 * src/NetworkManagerSystem.c
1786 src/NetworkManagerSystem.h
1787 - (nm_system_device_set_up_down): add a no_firmware argument
1788 - (nm_system_device_set_up_down_with_iface): if the result of setting
1789 IFF_UP is ENOENT, that almost always means missing firmware
1791 * src/backends/NetworkManagerGeneric.c
1792 src/nm-device-ethernet.c
1793 src/nm-device-private.h
1794 src/nm-device-wifi.c
1797 src/nm-hso-gsm-device.c
1798 src/vpn-manager/nm-vpn-connection.c
1799 - Pass no_firmware along; check it where appropriate
1801 2008-08-18 Dan Williams <dcbw@redhat.com>
1803 Patch from Robert Buchholz <rbu@gentoo.org>
1807 - Change to automake 1.9 and 'ustar' tar format defined by POSIX
1808 1003.1-1988, allowing for file names longer than 99 characters
1810 2008-08-17 Dan Williams <dcbw@redhat.com>
1812 * include/NetworkManager.h
1813 introspection/nm-device.xml
1815 - Finer-grained GSM registration failure error codes
1817 2008-08-17 Dan Williams <dcbw@redhat.com>
1819 * callouts/Makefile.am
1821 - Move dispatcher directory creation to callouts/Makefile.am
1823 * system-settings/plugins/keyfile/Makefile.am
1824 - Create keyfile connections directory in DESTDIR (bgo #546833)
1826 2008-08-15 Dan Williams <dcbw@redhat.com>
1828 Do connection sharing in a cleaner manner; all required iptables rules
1829 are now stored in the activation request and pertain only to the device
1830 which is being shared to other computers. (rh #458625)
1832 * src/nm-activation-request.c
1833 src/nm-activation-request.h
1834 - (nm_act_request_add_share_rule): new function; add a sharing rule to
1835 the activation request which will get torn down automatically when
1836 the activation request dies
1837 - (nm_act_request_set_shared): push sharing rules to iptables when sharing
1838 is started, and tear them down when sharing is stopped
1841 - (start_sharing): start up sharing by doing the required iptables magic
1842 - (share_init): poke the right bits of the kernel and load the right
1844 - (nm_device_activate_stage5_ip_config_commit): start NAT-ing this
1845 connection if it's a 'shared' connection
1847 * src/NetworkManagerPolicy.c
1848 - Remove all sharing stuff; done in the device code itself
1850 2008-08-15 Dan Williams <dcbw@redhat.com>
1852 * src/dnsmasq-manager/nm-dnsmasq-manager.c
1853 - (create_dm_cmd_line): send the right router address
1855 2008-08-15 Dan Williams <dcbw@redhat.com>
1857 * src/ppp-manager/nm-ppp-manager.c
1858 - (pppd_timed_out): ensure timeouts fail the connection
1860 2008-08-14 Dan Williams <dcbw@redhat.com>
1862 * src/nm-properties-changed-signal.c
1863 src/nm-properties-changed-signal.h
1864 - Add a property spec flag for "don't export this property" in
1865 property changed signals
1867 * src/nm-hso-gsm-device.c
1869 src/nm-cdma-device.c
1870 - Don't export monitor interface or netdev interface properties
1872 2008-08-14 Dan Williams <dcbw@redhat.com>
1874 * src/NetworkManagerPolicy.c
1875 - (update_routing_and_dns): 'hso' devices can be default even if they
1876 don't have a gateway
1878 2008-08-14 Dan Williams <dcbw@redhat.com>
1881 - (nm_device_deactivate_quickly): tear down activation request after
1882 calling device-specific deactivation
1884 * src/nm-hso-gsm-device.c
1885 - (real_deactivate_quickly): terminate connection when deactivating
1887 2008-08-14 Dan Williams <dcbw@redhat.com>
1889 * src/nm-activation-request.h
1890 - Add HSO secrets caller
1892 * src/nm-gsm-device.c
1894 - (modem_wait_for_reply): add a 'user_data' argument so callers can pass
1895 something to the callback function
1896 - (set_apn, set_apn_done): call class dial function, not a static one
1897 - (nm_gsm_device_class_init): add a class 'dial' function
1899 * src/nm-hal-manager.c
1900 - (get_hso_netdev): find the hso-driven hardware's net device
1901 - (modem_device_creator): recognize hso-driven hardware and create the
1902 right type of device object for it
1905 src/nm-hso-gsm-device.c
1906 src/nm-hso-gsm-device.h
1907 - Implement support for devices driven by the 'hso' driver as a subclass
1910 2008-08-14 Dan Williams <dcbw@redhat.com>
1912 * src/NetworkManagerSystem.c
1913 - (nm_system_device_is_up_with_iface): ensure ifreq is cleared before using
1914 - (nm_system_device_set_up_down_with_iface): cleanups; only return
1915 success if the operation really was successful
1917 2008-08-14 Dan Williams <dcbw@redhat.com>
1919 * src/nm-netlink-monitor.c
1920 src/nm-netlink-monitor.h
1921 src/nm-device-ethernet.c
1922 - (nm_netlink_monitor_request_status): return an error on failure
1923 - (constructor): don't segfault on missing error
1925 2008-08-13 Dan Williams <dcbw@redhat.com>
1927 * callouts/nm-dispatcher-action.c
1928 - Add IP4 config info to script environment
1930 2008-08-12 Dan Williams <dcbw@redhat.com>
1933 - (nm_device_set_ip4_config): don't touch hostnames here; distros
1934 that want to use DHCP hostnames should use dispatcher scripts
1937 * src/NetworkManagerSystem.h
1938 src/backends/NetworkManagerArch.c
1939 src/backends/NetworkManagerDebian.c
1940 src/backends/NetworkManagerFrugalware.c
1941 src/backends/NetworkManagerGeneric.c
1942 src/backends/NetworkManagerGeneric.h
1943 src/backends/NetworkManagerGentoo.c
1944 src/backends/NetworkManagerMandriva.c
1945 src/backends/NetworkManagerPaldo.c
1946 src/backends/NetworkManagerRedHat.c
1947 src/backends/NetworkManagerSlackware.c
1948 src/backends/NetworkManagerSuSE.c
1949 - Remove nm_system_set_hostname(), no longer used
1951 * src/backends/Makefile.am
1952 src/backends/shvar.c
1953 src/backends/shvar.h
1954 - Remove shvar.*; no longer used
1956 2008-08-12 Dan Williams <dcbw@redhat.com>
1958 Revert most of the 'hostname' patch. Too much stuff still breaks when
1959 hostname is updated at runtime. Distros or users who want hostname updates
1960 can use dispatcher scripts to update the hostname if they need it.
1962 2008-08-12 Dan Williams <dcbw@redhat.com>
1964 * introspection/nm-settings-system.xml
1965 system-settings/src/dbus-settings.c
1966 system-settings/src/dbus-settings.h
1967 - Add a 'Hostname' property (rw) which represents the configured
1968 hostname and domain of the system, if any
1970 * system-settings/src/nm-system-config-error.c
1971 system-settings/src/nm-system-config-error.h
1972 system-settings/src/nm-system-config-interface.c
1973 system-settings/src/nm-system-config-interface.h
1974 - Add a 'hostname' property to the plugin interface
1975 - Add a method to send updated hostname to plugins to save in their
1976 backing configuration store
1978 * system-settings/plugins/keyfile/nm-keyfile-connection.c
1979 system-settings/plugins/keyfile/plugin.c
1980 system-settings/plugins/keyfile/writer.c
1981 system-settings/plugins/keyfile/writer.h
1982 system-settings/plugins/ifcfg-suse/plugin.c
1983 - Add minimal hostname support
1985 * system-settings/plugins/ifcfg-fedora/plugin.c
1986 - Add support for updating system hostname in /etc/sysconfig/network
1988 2008-08-12 Dan Williams <dcbw@redhat.com>
1990 * system-settings/plugins/ifcfg-fedora/shvar.c
1991 system-settings/plugins/ifcfg-fedora/shvar.c
1992 - Fix double-free caused by svSetValue() followed by svCloseFile()
1994 2008-08-12 Tambet Ingo <tambet@gmail.com>
1996 * Makefile.am: Fix distcheck.
1998 2008-08-12 Tambet Ingo <tambet@gmail.com>
2000 * libnm-glib/*.c. Document some more.
2002 2008-08-12 Tambet Ingo <tambet@gmail.com>
2004 Start documenting libnm-glib public API using gtk-doc.
2006 * libnm-glib/nm-serial-device.c:
2007 * libnm-glib/nm-object.c:
2008 * libnm-glib/nm-gsm-device.c:
2009 * libnm-glib/nm-device.c:
2010 * libnm-glib/nm-device-wifi.c:
2011 * libnm-glib/nm-device-ethernet.c:
2012 * libnm-glib/nm-client.c:
2013 * libnm-glib/nm-cdma-device.c: Document the public API.
2015 * docs/libnm-glib/libnm-glib.types: Implement.
2017 * docs/libnm-glib/Makefile.am: Implement.
2021 * Makefile.am: Add gtk-doc support.
2023 2008-08-12 Tambet Ingo <tambet@gmail.com>
2025 * src/backends/*: Get rid of nm_system_should_modify_resolv_conf().
2027 * src/named-manager/nm-named-manager.c (rewrite_resolv_conf): Calculate
2028 the composite result of all the IP4 configurations and call a distro
2029 specific update_resolv_conf().
2030 (update_resolv_conf): Implement one for directly writing to
2031 /etc/resolv.conf and one for opensuse to call netconfig.
2033 2008-08-11 Dan Williams <dcbw@redhat.com>
2035 * src/ppp-manager/nm-ppp-manager.c
2036 - (impl_ppp_manager_need_secrets): pass interface as required
2038 2008-08-11 Dan Williams <dcbw@redhat.com>
2040 Merge the vpn-properties setting with the vpn setting since it was pointless
2041 to keep both of them around. Convert the vpn 'data' hash table to a hash
2042 of string:string (instead of string:variant) so that system settings plugins
2043 can have an easier time dealing with the arbitrary key/value pairs.
2045 2008-08-11 Dan Williams <dcbw@redhat.com>
2047 * libnm-util/nm-utils.c
2048 - (nm_utils_register_value_transformations): add value transform for
2049 a hash table of string:string
2051 2008-08-10 Dan Williams <dcbw@redhat.com>
2053 * libnm-glib/nm-vpn-plugin.c
2054 - (nm_vpn_plugin_connect): stop plugin after connection failure from
2055 an idle handler so the Connect reply gets delivered before the
2056 stop StateChanged signal
2058 2008-08-10 Dan Williams <dcbw@redhat.com>
2060 * src/nm-ip4-config.c
2061 - (get_property): use common ip4 address/route conversion functions
2062 - (nm_ip4_config_replace_address, nm_ip4_config_replace_route): should
2063 copy the new route here, not take ownership
2065 2008-08-08 Tambet Ingo <tambet@gmail.com>
2067 * system-settings/plugins/ifcfg-suse/parser.c (make_ip4_setting):
2068 Update the IP4 setting's method name.
2070 2008-08-07 Dan Williams <dcbw@redhat.com>
2072 * introspection/nm-ip4-config.xml
2073 libnm-glib/libnm-glib-test.c
2074 libnm-glib/nm-ip4-config.c
2075 libnm-glib/nm-ip4-config.h
2076 src/NetworkManagerSystem.h
2077 src/backends/NetworkManagerArch.c
2078 src/backends/NetworkManagerDebian.c
2079 src/backends/NetworkManagerFrugalware.c
2080 src/backends/NetworkManagerGeneric.c
2081 src/backends/NetworkManagerGeneric.h
2082 src/backends/NetworkManagerGentoo.c
2083 src/backends/NetworkManagerMandriva.c
2084 src/backends/NetworkManagerPaldo.c
2085 src/backends/NetworkManagerRedHat.c
2086 src/backends/NetworkManagerSlackware.c
2087 src/backends/NetworkManagerSuSE.c
2088 src/dhcp-manager/nm-dhcp-manager.c
2092 - Remove NIS logic; should be done from dispatcher scripts instead
2094 2008-08-07 Dan Williams <dcbw@redhat.com>
2096 * src/dhcp-manager/nm-dhcp-manager.c
2097 - (nm_dhcp_manager_get_ip4_config): fix regression which caused
2098 mis-handling of DHCP responses that returned more than one router
2099 (found by Grant Williamson)
2101 2008-08-07 Dan Williams <dcbw@redhat.com>
2103 * callouts/nm-dispatcher-action.c
2104 - (nm_dispatcher_action): grab device path and create the device; pass
2105 the device's DHCP4 config to script caller
2106 - (dispatch_scripts): dump the DHCP4 config to the environment of called
2109 * libnm-glib/nm-dhcp4-config.c
2110 libnm-glib/nm-dhcp4-config.h
2111 - (nm_dhcp4_config_get_options): expose
2112 - (nm_dhcp4_config_get_one_option): renamed from nm_dhcp4_config_get_option
2114 2008-08-07 Dan Williams <dcbw@redhat.com>
2116 * include/NetworkManager.h
2117 - Add the DHCP4Config D-Bus interface
2119 * libnm-glib/Makefile.am
2120 libnm-glib/nm-dhcp4-config.c
2121 libnm-glib/nm-dhcp4-config.h
2122 - Handle DHCP4 config objects exported by NM over D-Bus
2124 * libnm-glib/nm-device.c
2125 libnm-glib/nm-device.h
2126 - Add a 'dhcp4-config' property
2128 * libnm-glib/libnm-glib-test.c
2129 - Print out DHCP4 config for devices
2130 - Fix some crashes when no connections are active
2132 * src/nm-device-interface.c
2134 src/nm-dhcp4-config.c
2135 src/nm-dhcp4-config.h
2136 - Treat dhcp4-config object as an object path at the D-Bus interface so
2137 that when it doesn't exist we can proxy it as "/" which dbus-glib
2138 doesn't let us do when the property type is G_TYPE_OBJECT
2140 2008-08-07 Dan Williams <dcbw@redhat.com>
2142 * src/NetworkManager.c
2143 src/NetworkManagerSystem.h
2144 src/backends/NetworkManagerArch.c
2145 src/backends/NetworkManagerDebian.c
2146 src/backends/NetworkManagerFrugalware.c
2147 src/backends/NetworkManagerGeneric.c
2148 src/backends/NetworkManagerGeneric.h
2149 src/backends/NetworkManagerGentoo.c
2150 src/backends/NetworkManagerMandriva.c
2151 src/backends/NetworkManagerPaldo.c
2152 src/backends/NetworkManagerRedHat.c
2153 src/backends/NetworkManagerSlackware.c
2154 src/backends/NetworkManagerSuSE.c
2155 - (nm_system_init, nm_system_kill_all_dhcp_daemons): remove, unused
2157 2008-08-06 Dan Williams <dcbw@redhat.com>
2159 * libnm-glib/nm-ip4-config.c
2160 libnm-glib/nm-ip4-config.h
2161 - Add 'routes' property
2163 * libnm-util/nm-setting-vpn.c
2164 libnm-util/nm-setting-vpn.h
2165 - Remove 'routes' property
2167 * libnm-util/nm-setting-ip4-config.c
2168 libnm-util/nm-setting-ip4-config.h
2169 - 'ignore-dhcp-dns' renamed to 'ignore-auto-dns'
2170 - Add 'ignore-auto-routes' property
2171 - 'routes' exposed over D-Bus is now an array of array of uint (4) to
2172 accomodate route metrics
2173 - 'routes' exposed in C is now a list of NMSettingIP4Route structures
2175 * libnm-util/nm-utils.c
2176 libnm-util/nm-utils.h
2177 - Add helpers for marshalling IP4 routes
2179 * src/NetworkManagerUtils.c
2180 - (nm_utils_merge_ip4_config): handle property renames and new route
2183 * src/NetworkManagerSystem.c
2184 - (nm_system_device_set_ip4_route, nm_system_device_set_from_ip4_config,
2185 nm_system_vpn_device_set_from_ip4_config): respect route metrics
2187 * src/dhcp-manager/nm-dhcp-manager.c
2188 - (nm_dhcp_manager_get_ip4_config): handle new route structure
2190 * system-settings/plugins/ifcfg-fedora/reader.c
2191 system-settings/plugins/ifcfg-fedora/writer.c
2192 - Handle routes separately from addresses now that routes have a different
2195 * introspection/nm-ip4-config.xml
2198 - Rename internal routing functions
2199 - 'static-routes' renamed to 'routes'
2201 2008-08-04 Dan Williams <dcbw@redhat.com>
2203 Patch from Sjoerd Simons <sjoerd.simons@collabora.co.uk>
2205 * src/NetworkManager.c
2208 - More explicitly make the NMManager a singleton
2210 2008-08-04 Dan Williams <dcbw@redhat.com>
2212 * libnm-util/nm-connection.c
2213 libnm-util/nm-connection.h
2214 - (nm_connection_verify): return error on missing 'connection' setting
2215 (found by Sjoerd Simons)
2217 2008-08-04 Dan Williams <dcbw@redhat.com>
2219 Handle multiple concurrent PPP connections.
2221 * src/ppp-manager/nm-ppp-manager.c
2222 src/ppp-manager/nm-ppp-manager.h
2223 - (constructor): only PPP Manager request bus name once; each
2224 NMPPPManager object gets a unique object path
2225 - (nm_ppp_manager_class_init, get_property, set_property,
2226 nm_ppp_manager_new, nm_ppp_manager_start): pass parent interface in
2228 - (impl_ppp_manager_need_secrets, impl_ppp_manager_set_state): don't
2229 remove timeout until PPP manager gets an IP4 config
2230 - (create_pppd_cmd_line): pass dbus object path as 'ipparam' so that
2231 the plugin can call back to this specific PPP manager instance
2233 * src/nm-device-ethernet.c
2234 src/nm-serial-device.c
2235 - Pass parent device in nm_ppp_manager_new()
2237 * src/nm-gsm-device.c
2238 src/nm-cdma-device.c
2239 - (device_state_changed): don't close serial device on NEED_AUTH
2240 state changed, that's not a failure case like the rest are
2242 * src/ppp-manager/nm-pppd-plugin.c
2243 - (nm_ip_up): always use index 0 into the ipcp options, because NM always
2244 binds one interface to any pppd process, thus the correct index
2245 is always 0; send PHASE_DEAD on error to alert NM immediately of
2246 problems; try harder to get a peer address in spite of pppd
2247 - (plugin_init): use 'ipparam' as the object path back to our specific
2248 PPP manager instance
2250 2008-08-04 Dan Williams <dcbw@redhat.com>
2252 * src/ppp-manager/nm-ppp-manager.c
2253 - (impl_ppp_manager_need_secrets): rework to handle secrets better;
2254 since the GSM and CDMA settings now implement need_secrets, we can
2255 rely on them to do the right thing. Where secrets are not required,
2256 just pass empty strings back to the pppd plugin.
2257 - (nm_ppp_manager_update_secrets): leak fix; don't need to dup the strings
2258 - (impl_ppp_manager_set_ip4_config): clear the secrets tries counter
2259 on successful IP4 config receipt
2261 2008-08-04 Dan Williams <dcbw@redhat.com>
2263 * libnm-util/nm-setting-cdma.c
2264 libnm-util/nm-setting-gsm.c
2265 - (verify): validate username & password if they exist
2266 - (need_secrets): if username given, require a password too
2268 2008-08-04 Dan Williams <dcbw@redhat.com>
2270 * src/dnsmasq-manager/nm-dnsmasq-manager.c
2271 - (create_dm_cmd_line): really don't listen on lo, despite what the
2272 manpage says about --listen-address without --interface
2275 2008-08-01 Dan Williams <dcbw@redhat.com>
2277 * libnm-glib/nm-device.c
2278 - (proxy_get_string): util function for querying a HAL property
2279 - (get_ancestor_device): split out from get_product_and_vendor()
2280 - (get_product_and_vendor): simplify; get more accurate pid & vid info
2281 from PCI devices by querying subsys properties
2282 - (nm_device_update_description): simplify
2284 2008-08-01 Dan Williams <dcbw@redhat.com>
2286 * libnm-util/nm-setting-ip4-config.c
2287 libnm-util/nm-setting-ip4-config.h
2288 - Make IPv4 methods reflect their usage; 'dhcp' -> 'auto' and
2289 'autoip' -> 'link-local'. VPN & PPP connections can also have IPv4
2290 settings, and they don't necessarily use DHCP.
2292 * src/NetworkManagerPolicy.c
2294 system-settings/plugins/ifcfg-fedora/reader.c
2295 system-settings/plugins/ifcfg-suse/parser.c
2296 - Fixup for method changes
2298 2008-07-31 Dan Williams <dcbw@redhat.com>
2300 * src/nm-activation-request.c
2301 src/vpn-manager/nm-vpn-connection.c
2302 - Correct GetSecrets D-Bus pending call usage; the GetSecrets call
2303 itself should be attached to the activation request or the VPN
2304 connection, not the NMConnection object, since the call is not
2305 expected to live as long as the NMConnection itself
2307 2008-07-31 Dan Williams <dcbw@redhat.com>
2309 * src/nm-device-wifi.c
2310 - (real_act_stage2_config): fix issue where association would continue
2311 even though secrets were needed; 'goto out' was in wrong scope and
2312 result of handle_auth_or_fail() should have been dumped directly to
2313 'ret' to ensure that the association was postponed until secrets
2316 2008-07-31 Dan Williams <dcbw@redhat.com>
2318 * system-settings/plugins/ifcfg-fedora/plugin.c
2319 system-settings/plugins/ifcfg-fedora/reader.c
2320 - Don't ignore unmanaged devices if their ifcfg file doesn't make a
2323 2008-07-29 Dan Williams <dcbw@redhat.com>
2325 * src/nm-gsm-device.c
2326 - (automatic_registration_response, automatic_registration): recognize
2327 denied registration and reorder responses
2329 2008-07-29 Dan Williams <dcbw@redhat.com>
2331 * src/nm-serial-device.c
2332 - (nm_serial_device_wait_for_reply): fix timeout calculation. Since
2333 time(2) is used for current time, which returns seconds, we shouldn't
2334 be multiplying by 1000.
2336 2008-07-28 Dan Williams <dcbw@redhat.com>
2338 Patch from Fabrice Bellet <fabrice@bellet.info>
2340 * src/NetworkManagerSystem.c
2341 - (route_in_same_subnet): mask addresses and compare them so that the
2342 function actually does what it says it's going to do (rh #456685)
2344 2008-07-27 Dan Williams <dcbw@redhat.com>
2346 * libnm-util/nm-setting-ip6-config.c
2347 - (set_property): add missing break that caused routes to be overwritten
2350 * libnm-util/nm-setting-ip6-config.c
2351 - (verify): validate routes and return GError everywhere on invalid setting
2352 - (finalize): don't leak routes
2353 - (set_property): add missing break that caused routes to be overwritten
2356 2008-07-27 Dan Williams <dcbw@redhat.com>
2359 - Relicense to LGPLv2+
2361 2008-07-27 Dan Williams <dcbw@redhat.com>
2363 * system-settings/plugins/ifcfg-fedora/reader.c
2364 - (make_ip4_setting): fix parsing automatic configs
2366 2008-07-27 Dan Williams <dcbw@redhat.com>
2368 * src/dnsmasq-manager/nm-dnsmasq-manager.c
2370 src/ppp-manager/nm-ppp-manager.c
2371 - Ensure child process gets reaped. The child watch function may be
2372 removed from the mainloop before the child gets killed, so we have
2373 to make sure the child is reaped when it's told to die intentionally
2375 2008-07-27 Dan Williams <dcbw@redhat.com>
2377 Patch from Roy Marples <roy@marples.name>
2379 * src/dhcp-manager/nm-dhcp-dhcpcd.c
2380 - (nm_dhcp_client_start): fixup for latest dhcpcd 4.0 RC
2382 2008-07-27 Dan Williams <dcbw@redhat.com>
2384 * src/nm-gsm-device.c
2385 - (init_modem_full): send "ATZ E0" after CPIN, because apparently some
2386 Huawei devices turn echo back on after CPIN (rh #456770)
2388 2008-07-24 Tambet Ingo <tambet@gmail.com>
2390 * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Add
2391 format argument to g_set_error() call.
2393 * src/backends/interface_parser.[ch]: Remove.
2395 * src/backends/Makefile.am: Remove unused files interface_parser.[ch].
2397 2008-07-21 Dan Williams <dcbw@redhat.com>
2399 * src/ppp-manager/nm-ppp-manager.c
2400 - (create_pppd_cmd_line): send 'noipdefault' on non-PPPoE connections
2401 to prevent pppd from picking up some random local address from an
2402 interface that doesn't have anything to do with the one we're
2403 interested in (rh #455348)
2405 2008-07-17 Dan Williams <dcbw@redhat.com>
2407 * libnm-util/nm-utils.c
2408 - (string_to_utf8): general function for conversion to UTF-8 assisted
2410 - (nm_utils_ssid_to_utf8): use string_to_utf8()
2411 - (nm_utils_garray_to_string): ensure returned string is UTF-8 safe
2413 2008-07-17 Dan Williams <dcbw@redhat.com>
2415 * introspection/Makefile.am
2416 introspection/nm-device.xml
2417 introspection/nm-dhcp4-config.xml
2418 - Add bits for the DHCP4Config property of the device, and the DHCP4Config
2420 * src/nm-device-interface.c
2421 src/nm-device-interface.h
2422 - Add the DHCP4Config property
2425 - Keep track of DHCP4 options via a new DHCP4Config property and notify
2426 D-Bus clients when it changes
2428 * src/nm-dhcp4-config.c
2429 src/nm-dhcp4-config.h
2430 - Simple object to store DHCP4 options, export them over D-Bus, and
2431 notify when they change
2433 * src/dhcp-manager/nm-dhcp-manager.c
2434 src/dhcp-manager/nm-dhcp-manager.h
2435 - (nm_dhcp_manager_set_dhcp4_config, copy_dhcp4_config_option): copy and
2436 filter server-returned DHCP options into an NMDHCP4Config object
2438 2008-07-16 Dan Williams <dcbw@redhat.com>
2440 * introspection/nm-device.xml
2441 - Add device state reasons
2443 2008-07-16 Dan Williams <dcbw@redhat.com>
2445 Patch from Roy Marples <roy@marples.name>
2448 - Add --with-dhcp-client option
2450 * src/dhcp-manager/Makefile.am
2451 - pass DHCP_CLIENT_PATH on compile line
2453 * src/dhcp-manager/nm-dhcp-manager.c
2454 src/dhcp-manager/nm-dhcp-manager.h
2455 - Genericize for both dhcpcd and dhclient
2457 * src/dhcp-manager/nm-dhcp-dhclient.c
2458 - Move dhclient stuff out to it's own file from nm-dhcp-manager.c
2460 * src/dhcp-manager/nm-dhcp-dhcpcd.c
2461 - Implement support for dhcpcd too
2463 2008-07-16 Tambet Ingo <tambet@gmail.com>
2465 * system-settings/src/nm-system-config-interface.c
2466 (nm_system_config_interface_supports_add): Implement.
2467 (nm_system_config_interface_add_connection): Return a boolean to notify
2470 * system-settings/src/nm-polkit-helpers.c:
2471 * system-settings/src/nm-polkit-helpers.h: Move error declarations to
2474 * system-settings/src/dbus-settings.c (impl_settings_add_connection):
2475 Return an error when none of the plugins support add or if addition
2476 failed for some reason.
2478 * system-settings/src/nm-system-config-error.h:
2479 * system-settings/src/nm-system-config-error.c: New files, mostly moved
2480 here from nm-polkit-helpers.[ch].
2482 * system-settings/src/Makefile.am: Build new files.
2484 * system-settings/plugins/keyfile/reader.c
2485 (read_array_of_array_of_uint): Make it more general so that it would
2486 work for routes as well.
2488 * system-settings/plugins/keyfile/writer.c
2489 (write_array_of_array_of_uint): Ditto.
2490 Fix the netmask/prefix writing.
2492 * system-settings/plugins/keyfile/plugin.c (add_connection): Return
2493 boolean to notify errors.
2495 * system-settings/plugins/ifcfg-suse/nm-suse-connection.c (update):
2496 Return more specific error.
2499 2008-07-11 Dan Williams <dcbw@redhat.com>
2501 Modify the NMDevice::state-changed signal to include the previous state
2502 and reason. Enables the applet to provide more information why device
2505 2008-07-09 Dan Williams <dcbw@redhat.com>
2507 * callouts/Makefile.am
2508 callouts/nm-avahi-autoipd-action.c
2509 callouts/nm-avahi-autoipd.conf
2510 - avahi-autoipd callout to send options back to NM
2517 src/nm-device-private.h
2519 - Use avahi-autoipd for IPv4LL functionality rather than really crappy
2522 2008-07-07 Dan Williams <dcbw@redhat.com>
2524 * system-settings/plugins/ifcfg-fedora/reader.c
2525 - (make_ip4_setting): handle DHCP_HOSTNAME; fix up prefix support to
2526 handle PREFIX too; clean up
2528 2008-07-07 Dan Williams <dcbw@redhat.com>
2530 Convert to using IPv4 prefixes instead of netmasks.
2532 2008-07-03 Dan Williams <dcbw@redhat.com>
2534 * libnm-util/nm-setting-ip4-config.c
2535 libnm-util/nm-setting-ip4-config.h
2536 - Add properties for DHCP Client Identifier and DHCP Hostname
2538 * src/dhcp-manager/nm-dhcp-manager.c
2539 src/dhcp-manager/nm-dhcp-manager.h
2540 - (nm_dhcp_manager_begin_transaction): take the connection's ip4-config
2541 setting as an argument to pass on to the dhclient config file
2543 - (nm_dhcp_manager_cancel_transaction_real): remove dhclient config when
2545 - (dhclient_run): punt config file handling to create_dhclient_config()
2546 - (create_dhclient_config): create an interface-specific dhclient
2547 config file since there may need to be interface-specific options
2549 - (merge_dhclient_config): merge normal distro dhclient config file and
2550 add options from the connection
2551 - (nm_dhcp_device_new): generate the interface specific dhclient
2552 config file path once
2553 - (nm_dhcp_device_destroy): handle partially initialized objects; free
2554 dhclient config file path
2557 - (real_act_stage3_ip_config_start): pass ip4-config, if any, to the
2558 DHCP manager when starting DHCP
2560 2008-07-02 Dan Williams <dcbw@redhat.com>
2562 * libnm-util/nm-setting-8021x.c
2563 - (verify): allow forcing the PEAP label to 0
2565 2008-07-02 Dan Williams <dcbw@redhat.com>
2567 * introspection/nm-active-connection.xml
2568 introspection/nm-vpn-connection.xml
2569 libnm-glib/nm-active-connection.c
2570 src/nm-activation-request.c
2571 src/nm-active-connection.h
2572 src/vpn-manager/nm-vpn-connection.c
2573 - Remove "SharedServiceName" and "SharedConnection" bits from the D-Bus
2574 and libnm-glib API since sharing didn't get implemented that way
2576 2008-07-02 Dan Williams <dcbw@redhat.com>
2578 * src/nm-device-wifi.c
2579 - (can_scan): don't scan when a shared connection is activated since
2580 that makes drivers mad (causing disconnects); also NM doesn't need
2581 to hedge against disconnects by keeping up-to-date network topology
2582 because the connection originates from the local machine, and thus
2583 there should be no disconnects
2585 2008-07-01 Dan Williams <dcbw@redhat.com>
2587 Fix mobile broadband username/password issues. NM was never requesting
2588 mobile broadband secrets, nor was it passing back the username and password
2591 * marshallers/nm-marshal.list
2592 - Add some new types for activation request objects
2594 * src/nm-activation-request.c
2595 src/nm-activation-request.h
2596 - (get_secrets_cb): pass the caller type in the signal
2597 - (nm_act_request_request_connection_secrets): take a caller type, so
2598 that GetSecrets() reply handlers know who asked for the secrets in
2599 the first place; use secret hints too so the settings service can
2600 figure out exactly what NM wants (ie, PIN or the PPP password)
2602 * src/ppp-manager/nm-ppp-manager.c
2603 src/ppp-manager/nm-ppp-manager.h
2604 - (impl_ppp_manager_need_secrets): nm_connection_need_secrets() won't
2605 detect needed secrets when the secret could be blank, like GSM/CDMA
2606 passwords. So always ask for secrets, and send a hint as to what
2607 secret we really want.
2608 - (nm_ppp_manager_update_secrets): make function more generic by making
2609 the device specific class figure out the username and password, and
2610 accept an error argument to return back over D-Bus
2612 * src/nm-device-wifi.c
2613 - (link_timeout_cb, handle_auth_or_fail): update for changes to
2614 nm_act_request_request_connection_secrets()
2615 - (real_connection_secrets_updated): update for 'caller' changes
2619 - (connection_secrets_updated_cb, connection_secrets_failed_cb): update
2620 for 'caller' changes
2622 * src/nm-device-ethernet.c
2623 - (real_connection_secrets_updated): update for 'caller' changes and
2624 move logic for getting PPPoE username and password here before
2625 calling nm_ppp_manager_update_secrets()
2626 - (link_timeout_cb, handle_auth_or_fail): update for changes to
2627 nm_act_request_request_connection_secrets()
2629 * src/nm-cdma-device.c
2630 - (real_connection_secrets_updated): pass username and password back
2631 to the PPP manager when required
2633 * src/nm-gsm-device.c
2634 - (enter_pin): send the required secret name to the settings service
2635 - (real_connection_secrets_updated): pass username and password back
2636 to the PPP manager when required
2638 2008-06-30 Dan Williams <dcbw@redhat.com>
2640 * src/nm-device-wifi.c
2641 - Consistently use NM_DEVICE_WIFI_GET_PRIVATE instead of self->priv
2643 2008-06-30 Dan Williams <dcbw@redhat.com>
2645 Attempt to fix various issues causing rh #448889. Mainly, to qualify for
2646 the DISCONNECTED state, the device must not be rfkilled _and_ have a valid
2647 priv->supplicant.iface. When either condition is false, the device should
2648 transition back to UNAVAILABLE because it cannot be used.
2650 * src/nm-device-wifi.c
2651 - (constructor): cleanup; connect to supplicant manager here since the
2652 supplicant manager is always around
2653 - (supplicant_interface_acquire): rename from init_supplicant_interface,
2654 ensure the supplicant manager is in the IDLE state
2655 - (supplicant_interface_release): rename from cleanup_supplicant_interface,
2656 cancel any pending scans too
2657 - (real_bring_up): don't set up the supplicnat interface here, because
2658 we need the supplicant interface at times when the device may not
2660 - (real_take_down): just remove the periodic source
2661 - (schedule_scan): ensure a state that would peg the CPU doesn't happen
2662 - (remove_supplicant_interface_connection_error_handler): cleanup; don't
2663 do anything if there's no supplicant interface
2664 - (cleanup_association_attempt): cleanup
2665 - (supplicant_iface_state_cb_handler): request an immediate scan when
2666 the interface enters the READY state; transition to UNAVAILABLE
2667 state when the interface goes down because the device can't be used
2668 without a supplicant interface
2669 - (supplicant_mgr_state_cb_handler): if the supplicant goes away, clean
2670 up and transition to UNAVAILABLE; if the supplicant becomes ready,
2671 acquire the supplicant interface and transition to DISCONNECTED
2672 if the radio isn't killed
2673 - (nm_device_wifi_dispose): move most of device_cleanup() here
2674 - (state_changed_cb): release any existing supplicant interface; if the
2675 radio is enabled then try to acquire a new supplicant interface;
2676 if the radio is enabled and a supplicant interface has been acquired,
2677 we can transition to DISCONNECTED
2678 - (nm_device_wifi_set_enabled): if bringing the hardware up failed,
2679 don't enable the radio, because HAL probably lied to us about the
2680 killswitch being off. If bringing the hardware up worked, then
2681 try to grab a supplicant interface, and if that was successful,
2682 transition to DISCONNECTED
2684 2008-06-30 Dan Williams <dcbw@redhat.com>
2686 * src/supplicant-manager/nm-supplicant-interface.c
2687 - (request_scan_results, nm_supplicant_interface_dispose,
2688 wpas_iface_query_scan_results): cleanup; scan_results_timeout is now
2689 the id of the timeout, not a GSource
2691 2008-06-30 Tambet Ingo <tambet@gmail.com>
2693 * src/backends/NetworkManagerSuSE.c (nm_system_activate_nis): Fix a
2694 bunch of typoes introduced by "Patch from David Cantrell
2695 <dcantrell@redhat.com> and me".
2697 2008-06-30 Tambet Ingo <tambet@gmail.com>
2699 * src/nm-serial-device.c:
2700 * src/nm-gsm-device.c:
2701 * src/nm-cdma-device.c: Move the pending call handling to a common location
2702 in serial device. Handle setting device state to failed in one place as well.
2704 2008-06-29 Dan Williams <dcbw@redhat.com>
2706 * src/nm-hal-manager.c
2707 - Rework killswitch handling to query killswitch status immediately
2708 when the first killswitch is added, so that rfkill state is
2709 known as early as possible
2710 - Also treat failure of GetPower() as rfkill when the dbus method
2711 call times out (but not when the HAL callout returns an error)
2713 2008-06-26 Dan Williams <dcbw@redhat.com>
2715 Patch from David Cantrell <dcantrell@redhat.com> and me
2717 * include/nm-dbus-glib-types.h
2718 - Add IP6 address types
2720 * libnm-util/Makefile.am
2721 libnm-util/nm-setting-ip6-config.c
2722 libnm-util/nm-setting-ip6-config.h
2723 - Add IP6 settings object
2725 * libnm-util/nm-connection.c
2726 - (register_default_settings): register ip6 settings object
2728 * libnm-util/nm-utils.c
2729 libnm-util/nm-utils.h
2730 - (nm_utils_ip6_addresses_from_gvalue, nm_utils_ip6_addresses_to_gvalue,
2731 nm_utils_ip6_dns_from_gvalue, nm_utils_ip6_dns_to_gvalue): add
2732 ip6 address conversion functions
2734 2008-06-26 Dan Williams <dcbw@redhat.com>
2736 Patch from David Cantrell <dcantrell@redhat.com>
2738 * Use inet_ntop() and inet_pton() everwhere and check for errors
2740 2008-06-26 Dan Williams <dcbw@redhat.com>
2742 * Update FSF address in license headers (Michael Biebl <biebl@debian.org>)
2744 2008-06-26 Dan Williams <dcbw@redhat.com>
2746 Patch from Adel Gadllah <adel.gadllah@gmail.com>
2748 * src/nm-device-wifi.c
2749 - (link_timeout_cb): don't ignore disconnects due to scanning
2750 - (supplicant_iface_connection_state_cb_handler): instead, schedule
2751 a longer timeout when scanning; avoids case where supplicant can't
2752 find the AP and just keeps scanning forever but isn't connected
2754 2008-06-26 Dan Williams <dcbw@redhat.com>
2756 Patch from Michael Biebl <biebl@debian.org>
2758 * Clean up build system stuff
2760 2008-06-23 Christian Persch <chpe@gnome.org>
2762 * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.c:
2763 * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.h:
2764 * vpn-daemons/pptp/auth-dialog-general/anonymous-auth-module.c:
2766 * vpn-daemons/pptp/auth-dialog-general/chap-auth-module.c:
2768 * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.c:
2769 * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.h:
2770 * vpn-daemons/pptp/auth-dialog-general/mschapv2-auth-module.c:
2772 * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.c:
2773 * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.h:
2774 * vpn-daemons/pptp/properties/nm-ppp-properties.c: (impl_setup):
2775 * vpn-daemons/pptp/properties/vpnui_impl.c: (impl_get_object):
2776 * vpn-daemons/pptp/properties/vpnui_opt.c:
2777 (vpnui_opt_connect_signals):
2778 * vpn-daemons/pptp/properties/vpnui_opt.h:
2779 * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
2780 * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.h: Don't use
2781 deprecated gtk type macros. Bug #539325.
2783 2008-06-20 Dan Williams <dcbw@redhat.com>
2785 * libnm-glib/nm-vpn-plugin-ui-interface.c
2786 libnm-glib/nm-vpn-plugin-ui-interface.h
2787 - 'validity-changed' -> 'changed' to work better with the connection
2788 editor. Plugin UI widgets should emit 'changed' whenever their
2789 UI values change in a meaningful way.
2790 - (nm_vpn_plugin_ui_widget_interface_update_connection): the
2791 update_connection member now returns validity of the UI widget
2793 2008-06-20 Tambet Ingo <tambet@gmail.com>
2795 * libnm-util/nm-connection.c (nm_connection_duplicate): Implement.
2797 2008-06-17 Dan Williams <dcbw@redhat.com>
2799 * libnm-glib/nm-vpn-plugin-ui-interface.c
2800 libnm-glib/nm-vpn-plugin-ui-interface.h
2801 - Add "desc" property for longer descriptions of the VPN plugin
2803 2008-06-16 Dan Williams <dcbw@redhat.com>
2806 libnm-glib/libnm_glib_vpn.pc.in
2807 - add a .pc file for libnm_glib_vpn
2809 * libnm-glib/nm-vpn-plugin-ui-interface.c
2810 libnm-glib/nm-vpn-plugin-ui-interface.h
2811 - Move the glib/GNOME VPN UI plugin interface into libnm-glib and
2812 rework it substantially
2814 2008-06-12 Dan Williams <dcbw@redhat.com>
2816 Add a GError argument to nm_connection_verify() and nm_setting_verify(),
2817 and add error enums to each NMSetting subclass. Each NMSetting subclass now
2818 returns a descriptive GError when verification fails.
2820 2008-06-11 Dan Williams <dcbw@redhat.com>
2822 Patch from Tambet Ingo <tambet@gmail.com>
2824 * libnm-util/nm-setting-gsm.c
2825 - (verify): validate APN
2827 * src/nm-gsm-device.c
2828 - (manual_registration_done): start setting APN if needed
2829 - (set_apn, set_apn_done): set the APN
2830 - (do_dial): use the APN when dialing
2832 2008-06-11 Dan Williams <dcbw@redhat.com>
2834 * src/NetworkManagerSystem.c
2835 - (nm_system_device_set_ip4_route,
2836 nm_system_device_replace_default_ip4_route): check for the right
2837 return value from rtnl_route_add() to know when to add a gateway
2840 2008-06-11 Dan Williams <dcbw@redhat.com>
2842 * src/NetworkManagerPolicy.c
2843 - do_ipt_cmd -> do_cmd
2844 - (sharing_init): use do_cmd() instead of system()
2846 2008-06-10 Dan Williams <dcbw@redhat.com>
2848 The grand 802-11-wireless rename. Get rid of the 802-11/80211/802_11 bits
2849 and use "wifi" everwhere instead.
2851 2008-06-10 Dan Williams <dcbw@redhat.com>
2853 The grand 802-3-ethernet rename. Get rid of the 802-3/8023/802_3 bits.
2855 2008-06-10 Dan Williams <dcbw@redhat.com>
2857 Patch from Tambet Ingo <tambet@gmail.com>
2859 * src/ppp-manager/nm-ppp-manager.c: Add ppp stats monitoring, signal the
2862 * src/nm-serial-device.c: Monitor "ppp-stats" signals from NMPPPManager. Add
2863 a signal to emit these changes over dbus.
2865 * src/Makefile.am: Genereate nm-serial-device-glue.
2867 * libnm-glib/nm-serial-device.[ch]: Implement.
2869 * libnm-glib/nm-cdma-device.[ch]
2870 libnm-glib/nm-gsm-device.[ch]: Inherit from NMSerialDevice.
2872 * libnm-glib/Makefile.am: Add nm-serial-device.[ch].
2874 * introspection/nm-device-serial.xml: Implement.
2876 * introspection/all.xml: Fix a couple of typos, add nm-device-serial.xml.
2878 * introspection/Makefile.am: Add nm-device-serial.xml.
2880 * include/NetworkManager.h: Add a DBus interface for serial device.
2882 2008-06-10 Dan Williams <dcbw@redhat.com>
2885 - Add TARGET_* define to config.h to distinguish distros
2887 * src/dhcp-manager/nm-dhcp-manager.c
2888 - (dhclient_run): use distro-specific path for dhclient config file
2890 2008-06-09 Dan Williams <dcbw@redhat.com>
2892 * src/dnsmasq-manager/nm-dnsmasq-manager.c
2893 src/dnsmasq-manager/nm-dnsmasq-manager.h
2894 - (create_dm_cmd_line): use the IP4 address of the ip4-config to
2895 calculate the addresses passed to dnsmasq instead of hard-coding
2899 - (nm_device_new_ip4_shared_config): be somewhat dynamic when choosing
2900 IP addresses for shared connections to guard against shared
2901 connection address collisions
2902 - (real_act_stage4_get_ip4_config): handle possible NULL ip4-configs on
2904 - (nm_device_activate_stage5_ip_config_commit): pass ip4-config to
2907 2008-06-09 Dan Williams <dcbw@redhat.com>
2909 * src/NetworkManagerPolicy.c
2910 - (update_routing_and_dns): set the default connection _after_ unsetting
2911 default on all non-default connections so that two connections can
2912 never be default at the same time
2913 - (device_state_changed): start and stop connection sharing when
2915 - (active_connection_default_changed): restart or stop sharing when
2916 the default connection changes to keep shared connections always
2917 NAT-ed through the default connection
2918 - (check_sharing): handle activation/deactivation of shared connections
2919 - (sharing_restart): atom-bomb approach to connection sharing until we
2920 can use libnl; reinit all sharing when the default connection or
2921 shared connections change
2922 - (sharing_init, sharing_stop): evil functions that init and deinit
2925 2008-06-09 Dan Williams <dcbw@redhat.com>
2927 * src/nm-activation-request.c
2928 src/nm-activation-request.h
2929 - (nm_act_request_set_shared, nm_act_request_get_shared,
2930 nm_act_request_get_device): new functions to facilitate connection
2933 2008-06-09 Dan Williams <dcbw@redhat.com>
2936 - (clear_act_request): unset the 'default' property of the activation
2937 request when clearing it to ensure the property changed signal gets
2938 delivered and handled
2940 2008-06-09 Dan Williams <dcbw@redhat.com>
2942 * libnm-glib/nm-device-802-11-wireless.c
2943 - (access_point_removed_proxy): actually unref the AP after removing
2944 it from the device's AP list. Fixes refcounting bug for APs that
2945 caused them to get mixed up in the applet's menu.
2947 2008-06-09 Tambet Ingo <tambet@gmail.com>
2949 * src/dhcp-manager/nm-dhcp-manager.c (finalize): Free private members.
2950 (nm_dhcp_device_destroy): Destroy the device options hash table.
2952 2008-06-06 Dan Williams <dcbw@redhat.com>
2954 * system-settings/src/nm-polkit-helpers.c
2955 - (create_polkit_context): in PolicyKit 0.6, polkit_context_init() will
2956 unref the context if the initialization fails; also avoid spew when
2959 2008-06-06 Dan Williams <dcbw@redhat.com>
2961 Patch from Tambet Ingo <tambet@gmail.com>
2963 * src/NetworkManagerSystem.c
2964 src/NetworkManagerSystem.h
2965 - (nm_system_device_add_ip4_route_via_device_with_iface): remove
2966 - (nm_system_device_set_from_ip4_config): remove unused route_to_iface
2967 - (nm_system_device_set_ip4_route): clean up
2968 - (nm_system_vpn_device_set_from_ip4_config): clean up, add VPN routes
2971 - (nm_device_set_ip4_config): remove unused route_to_iface bits
2973 * src/vpn-manager/nm-vpn-connection.c
2974 - (ip_address_to_string): new function
2975 - (print_vpn_config): use ip_address_to_string
2976 - (merge_vpn_routes): add user-defined routes to the ip4 config
2977 - (nm_vpn_connection_ip4_config_get): add routes the VPN server sent
2979 * include/NetworkManagerVPN.h
2982 2008-06-05 Dan Williams <dcbw@redhat.com>
2984 Patch from Markus Becker <mab@comnets.uni-bremen.de>
2987 - Show which device is the default device
2989 2008-06-05 Tambet Ingo <tambet@gmail.com>
2993 * system-settings/src/nm-system-config-hal-manager.c (get_type_for_udi):
2994 Free data returned from dbus method call.
2996 * system-settings/src/nm-polkit-helpers.c (check_polkit_privileges):
2997 dbus_g_method_get_sender() returns a duplicated string, free it
2999 (check_polkit_privileges): Looks like policykit sometimes returns
3000 error and non-null return value, don't leak errors in that case.
3002 * system-settings/src/main.c (find_plugin): Don't leak existing
3004 (load_stuff): Don't leak device list and list items.
3005 (have_connection_for_device): Don't leak connection list.
3007 * system-settings/plugins/keyfile/reader.c (read_one_setting_value):
3008 Free the data received from g_keyfile_get_*.
3010 * system-settings/plugins/ifcfg-suse/parser.c (READ_WEP_KEY): Free
3011 the key when the security object is updated.
3013 * src/supplicant-manager/nm-supplicant-interface.c (scan_results_cb):
3014 Free data returned from dbus method call.
3015 (iface_state_cb): Ditto.
3016 (add_network_cb): Ditto.
3017 (nm_supplicant_interface_add_cb): Don't make another copy of already
3018 duplicated object path.
3019 (nm_supplicant_interface_add_to_supplicant): Free the driver GValue
3022 * src/supplicant-manager/nm-supplicant-config.c
3023 (ADD_STRING_LIST_VAL): Fix a memory leak.
3025 * src/nm-manager.c (free_get_settings_info): Free the allocated
3027 (list_connections_cb): Free data returned from dbus method call.
3028 (system_settings_get_unmanaged_devices_cb): Ditto.
3030 * src/nm-device-802-11-wireless.c (device_cleanup): Free ssid.
3032 * system-settings/plugins/ifcfg-suse/shvar.c (svCloseFile):
3033 * system-settings/plugins/ifcfg-fedora/shvar.c (svCloseFile):
3034 * src/backends/shvar.c (svCloseFile): Free the duplicated content
3037 * libnm-util/nm-setting.c (nm_setting_from_hash): Free the constructor
3038 arguments after the object is created.
3040 2008-06-04 Dan Williams <dcbw@redhat.com>
3042 * libnm-util/Makefile.am
3043 - Don't distribute nm-param-spec-specialized.h
3045 2008-06-02 Tambet Ingo <tambet@gmail.com>
3047 * libnm-util/nm-setting-ip4-config.[ch]: Add static routes property.
3049 * src/nm-ip4-config.[ch]: Store the static routes as a list of
3050 NMIP4Address, update the getters and setters.
3052 * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
3053 Use the updated NMIP4Config routes api.
3055 * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Merge
3056 static routes as well.
3058 * src/NetworkManagerSystem.c (netmask_to_prefix): Implement.
3059 (nm_system_device_set_from_ip4_config): Use the updated NMIP4Config
3062 2008-05-30 Dan Williams <dcbw@redhat.com>
3064 * src/named-manager/nm-named-manager.c
3065 src/named-manager/nm-named-manager.h
3066 - Remove stale/obsolete bits for controlling bind over DBus
3068 2008-05-29 Dan Williams <dcbw@redhat.com>
3070 * src/dnsmasq-manager/nm-dnsmasq-manager.c
3071 src/dnsmasq-manager/nm-dnsmasq-manager.h
3072 - (nm_dnsmasq_manager_new): move iface argument here
3073 - (constructor): remove, not needed
3074 - (get_pidfile_for_iface, create_dm_cmd_line, kill_existing_for_iface,
3075 nm_dnsmasq_manager_start, nm_dnsmasq_manager_stop): use priv->pidfile
3078 - (real_act_stage4_get_ip4_config,
3079 nm_device_activate_stage5_ip_config_commit): fix for dnsmasq manager
3082 2008-05-29 Dan Williams <dcbw@redhat.com>
3085 - (dnsmasq_state_changed_cb): new function; fail the connection if
3086 something happens to dnsmasq
3087 - (nm_device_new_ip4_shared_config): new function; create a new
3088 ip4-config for shared connections. Shared connections always use a
3089 fixed static IP address.
3090 - (real_act_stage4_get_ip4_config): handle shared connections; fix
3091 autoip connections by actually using the returned ip4-config and
3093 - (nm_device_activate_stage5_ip_config_commit): start dnsmasq for shared
3095 - (nm_device_deactivate_quickly, nm_device_dispose): terminate dnsmasq
3098 2008-05-29 Dan Williams <dcbw@redhat.com>
3100 * src/nm-device-802-11-wireless.c
3101 - (real_get_best_auto_connection): auto-activate 'shared' method
3104 2008-05-29 Dan Williams <dcbw@redhat.com>
3106 * libnm-util/nm-setting-ip4-config.c
3107 libnm-util/nm-setting-ip4-config.h
3108 - Add a 'shared' method to indicate that this connection should be
3109 brought up with a DHCP and proxy DNS server to facilitate
3111 - (verify): 'shared' method doesn't allow DNS or searches either
3113 2008-05-29 Dan Williams <dcbw@redhat.com>
3117 src/dnsmasq-manager/Makefile.am
3118 src/dnsmasq-manager/nm-dnsmasq-manager.c
3119 src/dnsmasq-manager/nm-dnsmasq-manager.h
3120 - Add a dnsmasq daemon manager to facilitate connection sharing
3122 2008-05-29 Dan Williams <dcbw@redhat.com>
3124 * src/nm-device-private.h
3125 - Remove unused prototypes and clean up
3128 - Remove anything related to system_config_data, which is no longer used
3129 - (nm_device_new_ip4_autoip_config): make static
3131 2008-05-29 Tambet Ingo <tambet@gmail.com>
3133 * system-settings/plugins/ifcfg-suse/nm-suse-connection.c
3134 (file_changed): Fix a bug where suse system settings plugin didn't
3135 update the connections automatically when the files changed.
3137 2008-05-28 Dan Williams <dcbw@redhat.com>
3139 Revert r3697 (adhoc-create property patch); it's the wrong way to do this.
3141 2008-05-28 Dan Williams <dcbw@redhat.com>
3143 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3145 * src/NetworkManagerSystem.c
3146 - (nm_system_device_flush_ip4_routes_with_iface): implement with libnl
3147 - (nm_system_vpn_device_set_from_ip4_config): don't flush routes here,
3148 was causing -EINVAL errors since the libnl code actually does flush
3149 the routes on VPN interfaces now
3151 * src/backends/NetworkManagerArch.c
3152 src/backends/NetworkManagerDebian.c
3153 src/backends/NetworkManagerFrugalware.c
3154 src/backends/NetworkManagerGeneric.c
3155 src/backends/NetworkManagerGentoo.c
3156 src/backends/NetworkManagerMandriva.c
3157 src/backends/NetworkManagerPaldo.c
3158 src/backends/NetworkManagerRedHat.c
3159 src/backends/NetworkManagerSlackware.c
3160 src/backends/NetworkManagerSuSE.c
3161 - (nm_system_device_flush_ip4_routes,
3162 nm_system_device_flush_ip4_routes_with_iface): remove
3164 2008-05-28 Dan Williams <dcbw@redhat.com>
3166 * libnm-util/nm-setting-wireless.c
3167 libnm-util/nm-setting-wireless.h
3168 - (set_property, get_property, nm_setting_wireless_class_init): add the
3169 'adhoc-create' property, which when TRUE indicates that NM should
3170 create this connection as an adhoc wifi network if it's not found
3171 as an adhoc network during scanning. Can be used to auto-create
3172 adhoc networks when used in combination with autoconnect.
3174 2008-05-28 Tambet Ingo <tambet@gmail.com>
3176 Patch from Dennis Noordsij <dennis.noordsij@helsinki.fi>.
3178 * src/nm-gsm-device.c: Don't try to reset the modem before PIN is
3179 checked, it doesn't work on some devices.
3181 2008-05-28 Tambet Ingo <tambet@gmail.com>
3183 * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Make sure
3184 pppd gets killed, if SIGTERM doesn't do it's job, SIGKILL it.
3186 * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
3187 Use inet_aton() everywhere to improve error detection.
3188 Don't fall back to 'dhcp_server_identifier' if the gateway is not
3191 2008-05-26 Tambet Ingo <tambet@gmail.com>
3193 * system-settings/plugins/ifcfg-suse/plugin.c (get_unamanged_devices_cb):
3196 2008-05-26 Tambet Ingo <tambet@gmail.com>
3198 * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_get_service): Fix a
3199 reference counting issue.
3201 2008-05-23 Dan Williams <dcbw@redhat.com>
3203 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3205 * src/backends/NetworkManagerGeneric.c
3206 - (nm_generic_enable_loopback): use libnl
3208 2008-05-23 Dan Williams <dcbw@redhat.com>
3210 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3212 * src/NetworkManagerSystem.h
3213 src/backends/NetworkManagerArch.c
3214 src/backends/NetworkManagerDebian.c
3215 src/backends/NetworkManagerFrugalware.c
3216 src/backends/NetworkManagerGentoo.c
3217 src/backends/NetworkManagerMandriva.c
3218 src/backends/NetworkManagerPaldo.c
3219 src/backends/NetworkManagerRedHat.c
3220 src/backends/NetworkManagerSlackware.c
3221 src/backends/NetworkManagerSuSE.c
3222 - (nm_system_device_has_active_routes, nm_system_flush_loopback_routes,
3223 nm_system_flush_arp_cache): remove, unused
3225 * src/backends/NetworkManagerGeneric.c
3226 src/backends/NetworkManagerGeneric.h
3227 - (nm_generic_device_has_active_routes, nm_generic_flush_loopback_routes,
3228 nm_generic_flush_arp_cache): remove, unused
3230 2008-05-23 Dan Williams <dcbw@redhat.com>
3232 * system-settings/plugins/ifcfg-fedora/reader.c
3233 - (make_ip4_setting): honor PEERDNS setting
3235 2008-05-23 Dan Williams <dcbw@redhat.com>
3237 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3239 * src/NetworkManagerSystem.c
3240 - (nm_system_device_flush_ip4_addresses_with_iface): implement with
3243 * src/backends/NetworkManagerArch.c
3244 src/backends/NetworkManagerDebian.c
3245 src/backends/NetworkManagerFrugalware.c
3246 src/backends/NetworkManagerGentoo.c
3247 src/backends/NetworkManagerMandriva.c
3248 src/backends/NetworkManagerPaldo.c
3249 src/backends/NetworkManagerRedHat.c
3250 src/backends/NetworkManagerSlackware.c
3251 src/backends/NetworkManagerSuSE.c
3252 - (nm_system_device_flush_ip4_addresses,
3253 nm_system_device_flush_ip4_addresses_with_iface): remove
3255 * src/backends/NetworkManagerGeneric.c
3256 - (nm_generic_device_flush_ip4_addresses,
3257 nm_generic_device_flush_ip4_addresses_with_iface): remove
3259 2008-05-23 Dan Williams <dcbw@redhat.com>
3261 * src/supplicant-manager/nm-supplicant-settings-verify.c
3262 - Switch 'bssid' from bytes to keyword type
3263 - (validate_type_keyword): allow NULL keyword lists
3265 * src/supplicant-manager/nm-supplicant-config.c
3266 - (nm_supplicant_config_add_setting_wireless): convert the bssid from
3267 a byte array to string form, which is what the supplicant expects
3269 2008-05-23 Tambet Ingo <tambet@gmail.com>
3271 Add a flag to NMSettingIP4Config to make it possible to ignore the DNS
3272 information received from DHCP.
3274 * libnm-util/nm-setting-ip4-config.c: Add a new membet "ignore_dhcp_dns"
3275 to make it possible to ignore the DNS information (both servers and
3276 searches) returned by DHCP server.
3278 * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Reset the
3279 name servers and searches if "ignore_dhcp_dns" is set.
3281 * src/nm-ip4-config.c (nm_ip4_config_reset_nameservers)
3282 (nm_ip4_config_reset_searches): Implement.
3284 2008-05-22 Dan Williams <dcbw@redhat.com>
3286 Remove anything mDNS related. This is better done from a distro-specific
3287 dispatcher script. Plus, any distro using avahi doesn't need to restart
3288 avahi, since avahi can handle interface changes just fine using netlink.
3291 - Remove --with-mdns-provider
3293 * src/NetworkManagerPolicy.c
3294 - (global_state_changed): don't restart the mdns provider
3296 * src/NetworkManagerSystem.h
3297 src/backends/NetworkManagerArch.c
3298 src/backends/NetworkManagerDebian.c
3299 src/backends/NetworkManagerFrugalware.c
3300 src/backends/NetworkManagerGentoo.c
3301 src/backends/NetworkManagerMandriva.c
3302 src/backends/NetworkManagerPaldo.c
3303 src/backends/NetworkManagerRedHat.c
3304 src/backends/NetworkManagerSlackware.c
3305 src/backends/NetworkManagerSuSE.c
3306 - (nm_system_restart_mdns_responder): remove
3308 * src/backends/NetworkManagerGeneric.c
3309 src/backends/NetworkManagerGeneric.h
3310 - (nm_generic_restart_mdns_responder): remove
3312 2008-05-22 Dan Williams <dcbw@redhat.com>
3315 - clean up crypto options; just use --with-crypto=nss or
3316 --with-crypto=gnutls
3318 2008-05-22 Tambet Ingo <tambet@gmail.com>
3320 * src/nm-manager.c (impl_manager_sleep): No need to schedule the sync
3321 anymore, do it right away.
3323 2008-05-22 Tambet Ingo <tambet@gmail.com>
3325 * src/nm-gsm-device.c (device_state_changed): Make sure we don't leave the
3326 serial device open when we're not connecting or connected.
3328 * src/nm-cdma-device.c (device_state_changed): Ditto.
3330 2008-05-22 Tambet Ingo <tambet@gmail.com>
3332 Don't remove all devices on waking up, sync with HAL.
3334 * src/nm-manager.c (nm_manager_udi_is_managed): Implement.
3335 (sync_devices): Implement, based on hal_manager_hal_reappeared_cb.
3336 (hal_manager_hal_reappeared_cb): Just call sync_devices.
3338 2008-05-21 Tambet Ingo <tambet@gmail.com>
3340 * src/NetworkManagerSystem.c (nm_system_device_replace_default_ip4_route):
3341 If the default gateway is unreachable, add a route to gateway and try
3344 2008-05-20 Dan Williams <dcbw@redhat.com>
3346 * system-settings/plugins/ifcfg-fedora/reader.c
3347 - (add_one_wep_key): handle ASCII WEP keys too (rh #293111)
3349 2008-05-19 Dan Williams <dcbw@redhat.com>
3351 * system-settings/plugins/ifcfg-fedora/reader.c
3352 - (make_ip4_setting): get a fallback gateway from /etc/sysconfig/network
3353 if the ifcfg doesn't specify one (rh #446527)
3355 2008-05-19 Dan Williams <dcbw@redhat.com>
3357 Make the system settings service exit when the bus goes away. Since it's
3358 a bus-activated service, it's lifetime is limited to the bus that activated
3361 * system-settings/src/Makefile.am
3362 system-settings/src/nm-system-config-hal-manager-private.h
3363 - Remove nm-system-config-hal-manager-private.h
3365 * system-settings/src/nm-system-config-hal-manager.c
3366 - (nm_system_config_hal_manager_reinit_dbus,
3367 nm_system_config_hal_manager_deinit_dbus): remove
3369 * system-settings/src/main.c
3370 - (dbus_reconnect): remove
3371 - (dbus_cleanup): don't tell the HAL manager to deinit dbus
3372 - (destroy_cb): just quit when the bus goes away
3373 - (start_dbus_service, dbus_init): simplify
3374 - (main): destroy the wired devices hash table after destroying
3375 the HAL manager so we don't have to disconnect signals from the
3378 2008-05-15 Tambet Ingo <tambet@gmail.com>
3380 Move crypto functions from nm-applet to libnm-util.
3382 * libnm-util/nm-setting-8021x.c (nm_setting_802_1x_set_ca_cert)
3383 (nm_setting_802_1x_set_client_cert)
3384 (nm_setting_802_1x_set_phase2_ca_cert)
3385 (nm_setting_802_1x_set_phase2_client_cert)
3386 (nm_setting_802_1x_set_private_key)
3387 (nm_setting_802_1x_set_phase2_private_key): Implement. Given a certificate
3388 file (or private key and it's password), read the certificate data.
3390 * libnm-util/crypto_nss.c:
3391 * libnm-util/crypto_gnutls.c:
3392 * libnm-util/crypto.[ch]: Move here from nm-applet.
3394 * configure.in: Check for NSS and gnutls here (moved here from nm-applet).
3396 * system-settings/plugins/ifcfg-suse/parser.c (read_wpa_eap_settings):
3397 Imlement WPA-EAP configuration reading from sysconfig.
3399 2008-05-16 Dan Williams <dcbw@redhat.com>
3401 * src/nm-device-802-11-wireless.c
3402 - (nm_device_802_11_wireless_set_enabled): request a scan after enabling
3405 2008-05-14 Dan Williams <dcbw@redhat.com>
3407 Fix Linus' bug in rh #134886
3409 * src/nm-device-802-3-ethernet.c
3410 - (constructor): request initial carrier state
3412 * src/nm-netlink-monitor.c
3413 - (nm_netlink_monitor_request_status): schedule emission of carrier
3414 signals after refilling the link cache. Because the refill is a
3415 synchronous operation, the normal message hander won't get called
3416 since libnl has already consumed the messages.
3417 - (deferred_emit_carrier_state): emit carrier states from an idle handler
3419 2008-05-14 Dan Williams <dcbw@redhat.com>
3421 * src/NetworkManagerSystem.c
3422 - (nm_system_device_is_up_with_iface): clean up
3424 2008-05-13 Dan Williams <dcbw@redhat.com>
3426 Fix refcounting issues over sleep/wake when a VPN connection was active that
3427 caused NM to try registering an object path for a device upon wake that was
3428 the same as an already registered object path.
3431 - (nm_device_take_down): properly handle cases where the device is
3432 no longer active but was just active, and therefore must be
3433 deactivated. When a device moves to unmanaged mode, this function
3434 previously would not deactivate the device, because the state was
3435 already unmanaged by the time this function was called.
3437 * src/vpn-manager/nm-vpn-connection.c
3438 - (device_state_changed): properly handle multiple devices states in
3439 which the device is now deactivated. Code previously didn't handle
3440 transitions to the UNAVAILABLE (like rfkill or carrier off) and
3443 2008-05-13 Dan Williams <dcbw@redhat.com>
3445 * src/nm-device-private.h
3447 - (nm_device_hw_bring_up, nm_device_hw_take_down): export
3449 * src/nm-device-802-11-wireless.c
3450 - (nm_device_802_11_wireless_set_enabled): take devices up
3451 and down as appropriate for the rfkill state
3453 2008-05-13 Dan Williams <dcbw@redhat.com>
3455 * marshallers/nm-marshal.list
3456 - Add VOID:POINTER,STRING marshaller for ifcfg-fedora plugin
3458 * system-settings/plugins/ifcfg-fedora/Makefile.am
3459 system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
3460 system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
3461 - Implement a minimal inotify helper for watch paths for IN_CLOSE_WRITE
3462 events. Solely for use watching ifcfg files to pick up changes
3463 to their hardlinks, since GIO doesn't support this yet (bgo #532815)
3465 * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
3466 - (nm_ifcfg_connection_class_init): new 'ifcfg-changed' signal when the
3467 file contents change
3468 - (finalize): clean up inotify watches
3469 - (nm_ifcfg_connection_new): store keyfile; inotify watch the keyfile
3470 and the connection ifcfg for changes on their hardlinks
3471 - (files_changed_cb): proxy the changed signal back out to listeners
3473 * system-settings/plugins/ifcfg-fedora/plugin.c
3475 - (connection_ifcfg_changed): re-read the connection when the ifcfg
3477 - (read_one_connection): connect to change signals on the new connection
3478 - (dir_changed, connection_changed_handler,
3479 handle_connection_remove_or_new): break out connection change
3480 handling and connection new/remove handling so it can be used from
3481 both the GFileMonitor callback and the NMIfcfgConnection changed
3484 * system-settings/plugins/ifcfg-fedora/reader.c
3485 system-settings/plugins/ifcfg-fedora/reader.h
3486 - (connection_from_file): return the keyfile path the connection would use
3488 2008-05-13 Tambet Ingo <tambet@gmail.com>
3490 * system-settings/src/nm-polkit-helpers.c (create_polkit_context): Use a
3491 single PolKitContext which is shared by all. PolKitContext::unref leaks
3492 just about everything, including all open file descriptiors and results
3493 in 99% cpu usage when data arrives to any of the fds that don't belong
3494 to any context anymore.
3496 2008-05-12 Dan Williams <dcbw@redhat.com>
3498 * gfilemonitor/glocaldirectorymonitor.c
3499 gfilemonitor/glocaldirectorymonitor.h
3500 - (g_local_directory_monitor_constructor): actually subscribe to the
3502 - (_g_local_directory_monitor_new): ensure that inotify is started up
3504 * gfilemonitor/glocalfilemonitor.c
3505 gfilemonitor/glocalfilemonitor.h
3506 - (g_local_file_monitor_constructor): actually subscribe to the watch
3507 - (_g_local_file_monitor_new): ensure that inotify is started up
3509 2008-05-11 Dan Williams <dcbw@redhat.com>
3512 - record PolicyKit version
3514 * system-settings/src/nm-polkit-helpers.c
3515 - (check_polkit_privileges): use polkit_context_can_caller_do_action()
3516 with PolicyKit <= 0.6
3518 2008-05-11 Dan Williams <dcbw@redhat.com>
3520 Update Fedora system-settings plugin to support latest API and use
3521 GFileMonitor rather than home-rolled inotify code.
3523 * system-settings/plugins/ifcfg-fedora/Makefile.am
3524 system-settings/plugins/ifcfg-fedora/common.h
3525 system-settings/plugins/ifcfg-fedora/plugin.c
3526 - Update to latest system settings plugin API; use GIO instead of
3527 custom inotify code; use NMIfcfgConnection objects instead of
3528 ConnectionData structures tacked onto NMConnection objects
3530 * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
3531 system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.h
3532 - Implement an NMExportedConnection subclass mapping ifcfg files to
3535 * system-settings/plugins/ifcfg-fedora/reader.c
3536 system-settings/plugins/ifcfg-fedora/reader.h
3537 - Move ifcfg parsing bits here from parser.c
3539 * system-settings/plugins/ifcfg-fedora/parser.c
3540 system-settings/plugins/ifcfg-fedora/parser.h
3541 - Remove; most code moved to reader.c
3543 2008-05-11 Dan Williams <dcbw@redhat.com>
3548 - Add a private copy of the GIO GFileMonitor code, with a custom GFile
3549 implementation, so that the same change monitoring code can be used
3550 on systems without glib-2.14 (like Fedora 8)
3552 * system-settings/plugins/keyfile/Makefile.am
3553 system-settings/plugins/keyfile/plugin.c
3554 system-settings/plugins/ifcfg-suse/Makefile.am
3555 system-settings/plugins/ifcfg-suse/plugin.c
3556 - Use private gfilemonitor code if GIO is not present
3558 2008-05-09 Tambet Ingo <tambet@gmail.com>
3560 * system-settings/plugins/ifcfg-suse/nm-suse-connection.c: Implement
3561 NMExportedConnection's 'update' and 'delete' and return error with
3562 descriptive message.
3564 2008-05-08 Dan Williams <dcbw@redhat.com>
3566 Patch from Markus Becker <mab@comnets.uni-bremen.de>
3568 * src/nm-gsm-device.c
3569 src/nm-cdma-device.c
3570 - (real_get_best_auto_connection): implement; allow autoconnection
3571 to GSM & CDMA devices
3573 2008-05-08 Tambet Ingo <tambet@gmail.com>
3575 Use PolicyKit to authorize the system settings' AddConnection method
3576 and the system settings connections' Update and Delete methods.
3578 * libnm-glib/nm-settings.c (impl_exported_connection_update)
3579 (impl_exported_connection_delete, nm_exported_connection_update)
3580 (nm_exported_connection_delete): Return boolean and fill GError
3581 to notify the callers of the reasons why it might have failed.
3583 * libnm-glib/nm-dbus-settings-system.c
3584 (nm_dbus_settings_system_add_connection): Return the error from dbus
3585 call so that the callers can see why it failed.
3587 * libnm-glib/nm-dbus-connection.c (update, delete): Update the
3590 * system-settings/src/nm-polkit-helpers.[ch]: Implement.
3592 * system-settings/src/nm-sysconfig-connection.[ch]: Implement. New
3593 abstract base class that checks PolicyKit permissions.
3595 * system-settings/src/dbus-settings.c:
3596 (impl_settings_add_connection): Check the policy before carring out
3599 * system-settings/plugins/keyfile/nm-keyfile-connection.c:
3600 Inherit from NMSysconfigConnection, check the policies before
3601 allowing updating or removing.
3603 * system-settings/plugins/ifcfg-suse/nm-suse-connection.c:
3604 Inherit from NMSysconfigConnection.
3606 * introspection/nm-exported-connection.xml: Annotate "Update" and
3607 "Delete" methods with async flag so that the implementations can get
3608 access to DBusGMethodInvocation.
3610 * system-settings/src/dbus-settings.c
3611 (settings_add_connection_check_privileges): Implement.
3612 (impl_settings_add_connection): Check the privileges before adding a new
3613 connection. Improve error reporting.
3615 * introspection/nm-settings-system.xml: Make the 'AddConnection' method
3616 async so that the implementation can access DBusGMethodInvocation.
3618 * configure.in: Check for PolicyKit.
3620 * policy/org.freedesktop.network-manager-settings.system.policy:
3623 * policy/Makefile.am: Install the policy file.
3625 * configure.in: Add 'policy' subdir.
3627 2008-05-08 Tambet Ingo <tambet@gmail.com>
3629 Rewrite the suse system settings plugin.
3631 * system-settings/plugins/ifcfg-suse/plugin.c: Rewrite.
3633 * system-settings/plugins/ifcfg-suse/parser.c: Rewrite.
3635 * system-settings/plugins/ifcfg-suse/nm-suse-connection.[ch]: Implement.
3637 * system-settings/plugins/ifcfg-suse/Makefile.am: Add new files to build.
3639 * system-settings/src/dbus-settings.c: Fix connection reference counting.
3641 * system-settings/src/main.c (load_plugins): Improve error reporting.
3643 * system-settings/src/sha1.[ch] Add.
3645 * system-settings/src/Makefile.am: Add sha1[ch] to build.
3647 2008-05-07 Dan Williams <dcbw@redhat.com>
3649 * system-settings/plugins/keyfile/reader.c
3650 - (read_one_setting_value): handle IP address items separately
3651 - (read_array_of_uint): read IPv4 DNS option as a string array
3652 - (read_array_of_array_of_uint): read IPv4 address tuples as a string
3655 * system-settings/plugins/keyfile/writer.c
3656 - (write_setting_value): handle IP address items separately
3657 - (write_array_of_uint): handle IPv4 DNS option as a string array,
3658 not an array of uint, so that it's user-editable
3659 - (write_array_of_array_of_uint): handle IPv4 address tuples as string
3660 arrays, so they are user-editable
3662 2008-05-07 Dan Williams <dcbw@redhat.com>
3664 * system-settings/plugins/keyfile/Makefile.am
3665 - Change location of the keyfile plugin settings to
3666 /etc/NetworkManager/system-connections
3668 2008-05-05 Tambet Ingo <tambet@gmail.com>
3670 * system-settings/plugins/keyfile/nm-keyfile-connection.[ch]: Implement.
3672 * system-settings/plugins/keyfile/plugin.c: Work with
3673 NMKeyfileConnections.
3675 * system-settings/src/dbus-settings.c: Remove NMSysconfigExportedConnection.
3676 Plugins are supposed to return NMExportedConnections now and handle the
3677 updated(), removed(), and GetSecrets().
3678 Store the internal list of connections in hash table to make it easier
3681 2008-05-07 Tambet Ingo <tambet@gmail.com>
3683 * src/backends/NetworkManagerSuSE.c (nm_system_set_hostname): Update
3684 for multiple IP addresses.
3686 2008-05-07 Tambet Ingo <tambet@gmail.com>
3688 Patch from André Lemos.
3690 * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Fix a memory
3693 2008-05-06 Dan Williams <dcbw@redhat.com>
3695 * src/dhcp-manager/nm-dhcp-manager.c
3696 - (nm_dhcp_manager_get_ip4_config): clean up; update for changes to
3697 NMIP4Config to support multiple IP addresses
3699 * src/NetworkManagerUtils.c
3700 - (nm_utils_merge_ip4_config): update for multiple IP addresses
3702 * src/nm-ip4-config.c
3704 - Store a list of IPv4 address/netmask/gateway tuples
3705 - (nm_ip4_config_get_gateway, nm_ip4_config_set_gateway,
3706 nm_ip4_config_get_netmask, nm_ip4_config_set_netmask,
3707 nm_ip4_config_get_broadcast, nm_ip4_config_set_broadcast,
3708 nm_ip4_config_set_address): remove
3709 - (nm_ip4_config_take_address, nm_ip4_config_add_address,
3710 nm_ip4_config_replace_address, nm_ip4_config_get_num_addresses):
3711 new functions; handle multiple IPv4 addresses
3714 src/ppp-manager/nm-ppp-manager.c
3715 src/vpn-manager/nm-vpn-connection.c
3716 src/NetworkManagerPolicy.c
3718 libnm-glib/libnm-glib-test.c
3719 - update for changes to NMIP4Config for multiple IPv4 addresses
3721 * src/NetworkManagerSystem.c
3722 - (nm_system_device_set_ip4_route): don't add the route if any address
3723 is on the same subnet as the destination
3724 - (check_one_address): ignore the exact match, just match family and
3726 - (add_ip4_addresses): add all IPv4 addresses in an NMIP4Config to
3728 - (nm_system_device_set_from_ip4_config): use add_ip4_addresses()
3729 - (nm_system_vpn_device_set_from_ip4_config): use add_ip4_addresses()
3731 * introspection/nm-ip4-config.xml
3732 - Remove 'address', 'gateway', 'netmask', and 'broadcast' properties
3733 - Add 'addresses' property which is an array of (uuu) tuples of
3734 address/netmask/gateway
3736 * libnm-util/nm-setting-ip4-config.c
3737 - (set_property): use ip-address <-> GValue converters from nm-utils.c
3739 * libnm-glib/nm-ip4-config.c
3740 libnm-glib/nm-ip4-config.h
3741 - Handle D-Bus interface changes to support multiple IP addresses
3743 2008-05-06 Dan Williams <dcbw@redhat.com>
3745 * libnm-util/nm-utils.c
3746 libnm-util/nm-utils.h
3747 - (nm_utils_ip4_addresses_from_gvalue,
3748 nm_utils_ip4_addresses_to_gvalue): new functions
3750 2008-05-06 Tambet Ingo <tambet@gmail.com>
3752 * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Don't leak
3753 the returned connection paths.
3755 2008-05-05 Tambet Ingo <tambet@gmail.com>
3757 * libnm-glib/nm-dbus-settings.c (constructor): Fix the
3758 "PropertiesChanged" signal signature.
3760 * libnm-glib/nm-dbus-connection.c (constructor): Use the common GType
3761 defined in nm-dbus-glib-types.h.
3762 Don't register the connection on dbus, we're a proxy class to
3763 communicate with an already registered connection over dbus.
3765 2008-04-30 Tambet Ingo <tambet@gmail.com>
3767 Implement new subclasses of NMSettings and NMExportedConnection to make
3768 it easier for the applet to access and modify system settings.
3770 * libnm-glib/nm-dbus-connection.[ch]:
3771 * libnm-glib/nm-dbus-settings.[ch]:
3772 * libnm-glib/nm-dbus-settings-system.[ch]: Implement.
3774 * libnm-glib/Makefile.am: Add the new files to build, generate some more
3777 * include/NetworkManager.h: Define the system settings DBus interface.
3779 2008-04-30 Tambet Ingo <tambet@gmail.com>
3781 Implement additional C API for exported connections to make them identical
3782 with the DBus API. Change the (list_connections) virtual function to be
3783 more usable from C - instead of requiring implementers to return a GPtrArray
3784 of dbus paths, return a list of connections.
3786 * libnm-glib/nm-settings.c (nm_exported_connection_class_init): Fix a typo.
3787 (nm_settings_list_connections):
3788 (nm_exported_connection_new):
3789 (nm_exported_connection_update):
3790 (nm_exported_connection_delete): Implement.
3792 (impl_settings_list_connections):
3793 (impl_exported_connection_update):
3794 (impl_exported_connection_delete): Use the new public functions to make
3795 sure the C and dbus interfaces stay in sync.
3797 * system-settings/src/dbus-settings.c (list_connections): Return a list of
3800 2008-05-02 Dan Williams <dcbw@redhat.com>
3802 * system-settings/plugins/ifcfg-fedora/plugin.c
3803 - (dispose): use right unref call on the DBusGConnection
3805 2008-05-02 Dan Williams <dcbw@redhat.com>
3807 * src/nm-serial-device.c
3808 - (find_terminator): don't compare the whole line, just the size of the
3809 terminator, since some modems put stuff after the terminator, like
3812 2008-05-01 Dan Williams <dcbw@redhat.com>
3814 Patch from Michael Biebl <biebl@debian.org>
3816 * callouts/Makefile.am
3817 callouts/org.freedesktop.nm_dispatcher.service.in
3818 system-settings/src/Makefile.am
3819 system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service.in
3820 - use the right install location for dbus-activated stuff
3822 2008-04-30 Dan Williams <dcbw@redhat.com>
3824 * src/nm-gsm-device.c
3825 - (enter_pin): fix setting name passed to applets when asking for a GSM
3828 2008-04-30 Dan Williams <dcbw@redhat.com>
3831 - (nm_manager_error_get_type): remove erroneous NULL enum from table
3833 2008-04-30 Dan Williams <dcbw@redhat.com>
3835 * src/nm-device-802-3-ethernet.c
3836 src/nm-device-802-11-wireless.c
3837 - (real_is_up): return true instead of chaining up to unimplemented
3840 2008-04-30 Dan Williams <dcbw@redhat.com>
3842 * src/NetworkManagerSystem.c
3843 src/NetworkManagerSystem.h
3844 - (nm_system_device_is_up, nm_system_device_is_up_with_iface): new
3845 functions to check device flags for IFF_UP
3847 * src/nm-serial-device.c
3848 - (real_is_up): remove; NMDevice now returns TRUE if the subclass doesn't
3851 * src/nm-device-802-3-ethernet.c
3852 src/nm-device-802-11-wireless.c
3853 - (real_hw_is_up): call nm_system_device_is_up()
3856 - (real_hw_is_up): move to nm_system_device_is_up_with_iface()
3857 - (real_is_up): remove; nm_device_is_up() returns TRUE if subclass
3860 2008-04-29 Dan Williams <dcbw@redhat.com>
3862 Handle HAL dropouts better; allow NM to start up even if HAL isn't up yet.
3864 * marshallers/nm-marshal.list
3867 * src/NetworkManager.c
3868 - (main): let the NMManager handle the NMHalManager
3870 * src/nm-hal-manager.c
3871 src/nm-hal-manager.h
3872 - convert to a GObject, and emit singals when stuff changes. Let the
3873 NMManager handle the signals, instead of the NMHalManager calling
3878 - (remove_one_device): consolidate device removals here
3879 - (dispose): use remove_one_device()
3880 - (nm_manager_get_device_by_udi): make static
3881 - (deferred_hal_manager_query_devices): idle handler to query the HAL
3882 manager for devices at startup or wakeup time
3883 - (nm_manager_new): create and monitor the HAL manager
3884 - (hal_manager_udi_added_cb): new function; do what
3885 nm_manager_add_device() used to do when signalled by the hal manager
3886 - (hal_manager_udi_removed_cb): new function; do what
3887 nm_manager_remove_device() used to do when signalled by the hal
3889 - (hal_manager_rfkill_changed_cb): handle rfkill changes from the
3891 - (hal_manager_hal_reappeared_cb): when HAL comes back, remove devices
3892 in our device list that aren't known to HAL
3893 - (impl_manager_sleep): on wakeup, re-add devices from an idle handler;
3894 see comments on nm-hal-manager.c::nm_manager_state_changed() a few
3896 - (nm_manager_get_device_by_path, nm_manager_is_udi_managed,
3897 nm_manager_activation_pending, nm_manager_wireless_enabled,
3898 nm_manager_wireless_hardware_enabled,
3899 nm_manager_set_wireless_hardware_enabled): remove, unused
3901 2008-04-28 Dan Williams <dcbw@redhat.com>
3903 Fix the device up/down ambiguities. Up/down state used to be a
3904 conglomeration of hardware state (IFF_UP) and any device-specific things
3905 (supplicant, periodic timers, etc) that the device used to indicate
3906 readiness. Unfortunately, if the hardware was already IFF_UP for some
3907 reason, then the device specific stuff wouldn't get run, and the device
3912 - Create hw_is_up, hw_bring_up, and hw_take_down
3913 - Rename bring_down -> take_down
3914 - (real_hw_is_up): check interface flags for IFF_UP
3915 - (nm_device_hw_is_up): let subclasses figure out their own HW state
3916 - (nm_device_is_up): make static; only used locally
3917 - (nm_device_hw_bring_up): update the hardware and IPv4 addresses even
3918 if the device is already up; if the device isn't up, bring it up
3919 - (nm_device_hw_take_down): just take down hardware
3920 - (nm_device_bring_up): bring up HW first, then device specific stuff
3921 - (nm_device_take_down): always deactivate device when called; always
3922 try to take hardware down too
3923 - (nm_device_state_changed): take device down when entering unmanaged
3924 state from a higher state
3926 * src/nm-device-802-11-wireless.c
3927 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
3929 - (real_take_down, supplicant_iface_state_cb_handler,
3930 supplicant_iface_connection_state_cb_handler,
3931 supplicant_mgr_state_cb_handler): fix some messages
3933 * src/nm-device-802-3-ethernet.c
3934 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
3937 2008-04-28 Dan Williams <dcbw@redhat.com>
3941 - (nm_manager_error_get_type): add new error
3942 - (nm_manager_remove_device): don't bother taking down the device here,
3943 the state change from unmanaging the device will do it
3944 - (impl_manager_sleep): move nm_manager_sleep() here since nothing else
3945 uses it; when going to sleep, just unmanage the device instead of
3946 taking it down, because stuff will cleaned up correctly when the
3947 device gets unmanaged
3949 2008-04-28 Dan Williams <dcbw@redhat.com>
3951 * src/nm-hal-manager.c
3952 - (add_initial_devices): convert to a GSourceFunc prototype
3953 - (nm_manager_state_changed): when coming out of sleep, punt the
3954 device re-addition to an idle handler to let D-Bus events go out
3955 first, fixing a potential dbus-glib assert if the old device was
3956 not yet disposed (due to references held while emitting the D-Bus
3957 signals) but the new device was found, because the mainloop didn't
3958 run between signal emission and add_initial_devices()
3960 2008-04-27 Dan Williams <dcbw@redhat.com>
3962 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3964 * initscript/paldo/NetworkManager.in
3965 initscript/SUSE/networkmanager.in
3966 - Remove last bits of dhcdbd
3968 2008-04-27 Dan Williams <dcbw@redhat.com>
3970 * src/nm-device-802-11-wireless.c
3971 - (link_timeout_cb): don't ask for secrets when disconnected during
3972 association/authentication phase, drivers are still just too crappy
3974 2008-04-27 Dan Williams <dcbw@redhat.com>
3978 dispatcher-daemon/Makefile.am
3979 dispatcher-daemon/NetworkManagerDispatcher.c
3980 initscript/Arch/Makefile.am
3981 initscript/Arch/networkmanager-dispatcher.in
3982 initscript/Gentoo/Makefile.am
3983 initscript/Gentoo/NetworkManagerDispatcher.in
3984 initscript/Mandriva/Makefile.am
3985 initscript/Mandriva/networkmanagerdispatcher.in
3986 initscript/RedHat/Makefile.am
3987 initscript/RedHat/NetworkManagerDispatcher.in
3988 initscript/SUSE/Makefile.am
3989 initscript/SUSE/networkmanager-dispatcher.in
3990 initscript/Slackware/Makefile.am
3991 initscript/Slackware/rc.networkmanager-dispatcher.in
3992 initscript/paldo/Makefile.am
3993 initscript/paldo/NetworkManagerDispatcher.in
3995 man/NetworkManagerDispatcher.8.in
3996 - Remove the dispatcher daemon
3998 2008-04-27 Dan Williams <dcbw@redhat.com>
4000 * callouts/Makefile.am
4001 callouts/nm-dispatcher-action.c
4002 callouts/nm-dispatcher-action.h
4003 callouts/nm-dispatcher.conf
4004 callouts/nm-dispatcher.xml
4005 callouts/org.freedesktop.nm_dispatcher.service
4006 - Re-implement the dispatcher as a system-bus activated service that
4007 NM calls on-demand, rather than an always running daemon
4010 - Add callouts dir to includes to pick up dispatcher defines
4013 - (nm_device_state_changed): call dispatcher on device activated/
4016 * src/vpn-manager/nm-vpn-connection.c
4017 - (nm_vpn_connection_set_vpn_state): call dispatcher when VPN connections
4020 * src/NetworkManagerUtils.c
4021 src/NetworkManagerUtils.h
4022 - (nm_utils_call_dispatcher): helper to call dispatcher
4024 2008-04-27 Dan Williams <dcbw@redhat.com>
4026 * src/NetworkManagerUtils.c
4027 src/NetworkManagerUtils.h
4028 - remove unneeded includes
4029 - (nm_null_safe_strcmp, nm_ethernet_addresses_are_equal,
4030 nm_utils_inet_ip4_address_as_string, nm_timeval_has_passed,
4031 nm_timeval_cmp, nm_timeval_add): remove, unused
4032 - clean up formatting
4033 - (nm_spawn_process): de-uglify
4035 * src/nm-device-802-11-wireless.c
4036 - (get_active_ap): use memcmp() not nm_ethernet_addresses_are_equal()
4038 2008-04-26 Saleem Abdulrasool <compnerd@compnerd.org>
4040 * initscript/Gentoo/NetworkManager.in:
4041 Fix for starting the daemon.
4043 2008-04-25 Dan Williams <dcbw@redhat.com>
4045 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
4047 * src/NetworkManagerSystem.c
4048 - (nm_system_device_set_ip4_route): reimplement using libnl, not ioctls
4050 2008-04-25 Dan Williams <dcbw@redhat.com>
4052 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
4054 * src/NetworkManagerSystem.c
4055 - (nm_system_device_replace_default_ip4_route): new function; a libnl
4056 implementation of nm_system_device_replace_default_route()
4058 * src/NetworkManagerPolicy.c
4059 - (update_default_route): use nm_system_device_replace_default_ip4_route()
4061 * src/backends/NetworkManagerArch.c
4062 src/backends/NetworkManagerDebian.c
4063 src/backends/NetworkManagerFrugalware.c
4064 src/backends/NetworkManagerGeneric.c
4065 src/backends/NetworkManagerGeneric.h
4066 src/backends/NetworkManagerGentoo.c
4067 src/backends/NetworkManagerMandriva.c
4068 src/backends/NetworkManagerPaldo.c
4069 src/backends/NetworkManagerRedHat.c
4070 src/backends/NetworkManagerSlackware.c
4071 src/backends/NetworkManagerSuSE.c
4072 - (nm_system_device_replace_default_route): remove
4074 2008-04-25 Dan Williams <dcbw@redhat.com>
4076 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
4078 * src/NetworkManagerSystem.c
4079 - (validate_ip4_route): remove; use nl_addr_parse() instead
4080 - (nm_system_device_add_ip4_route_via_device_with_iface): new function,
4081 replace nm_system_device_add_route_via_device_with_iface() in the
4084 * src/backends/NetworkManagerArch.c
4085 src/backends/NetworkManagerDebian.c
4086 src/backends/NetworkManagerFrugalware.c
4087 src/backends/NetworkManagerGeneric.c
4088 src/backends/NetworkManagerGeneric.h
4089 src/backends/NetworkManagerGentoo.c
4090 src/backends/NetworkManagerMandriva.c
4091 src/backends/NetworkManagerPaldo.c
4092 src/backends/NetworkManagerRedHat.c
4093 src/backends/NetworkManagerSlackware.c
4094 src/backends/NetworkManagerSuSE.c
4095 - Remove nm_system_device_add_route_via_device_with_iface()
4097 2008-04-25 Dan Williams <dcbw@redhat.com>
4099 * system-settings/plugins/ifcfg-fedora/parser.c
4100 - (GET_ONE_DNS): fix parsing of DNS2 & DNS3
4102 2008-04-24 Dan Williams <dcbw@redhat.com>
4104 * dispatcher-daemon/NetworkManagerDispatcher.c
4105 - (nmd_execute_scripts): execute scripts in order as sorted by strcmp()
4107 2008-04-24 Dan Williams <dcbw@redhat.com>
4109 * initscript/RedHat/NetworkManager.in
4110 initscript/RedHat/NetworkManagerDispatcher.in
4111 - Be active at runlevel 2
4112 - Adjust priorities earlier
4114 2008-04-22 Dan Williams <dcbw@redhat.com>
4116 * src/NetworkManagerPolicy.c
4117 - (update_routing_and_dns): when checking for a gateway, look at the
4118 composite IP4 config, not the connection's ip4-config setting, which
4119 doesn't include DHCP-returned information
4121 2008-04-22 Tambet Ingo <tambet@gmail.com>
4123 Implement GKeyFile system settings plugin.
4124 Implement writing system settings (currently supported only by GKeyFile plugin).
4126 * system-settings/src/main.c:
4127 * system-settings/src/dbus-settings.c: Move the communication with plugins
4128 from main.c to dbus-settings.c. Makes it possible to talk to all registered
4129 plugins for adding/updating/removing connections.
4131 * system-settings/src/nm-system-config-interface.c
4132 (nm_system_config_interface_add_connection): Implement
4133 (nm_system_config_interface_update_connection): Implement.
4134 (nm_system_config_interface_remove_connection): Implement.
4136 * system-settings/plugins/keyfile/Makefile.am:
4137 * system-settings/plugins/keyfile/plugin.[ch]:
4138 * system-settings/plugins/keyfile/writer.[ch]:
4139 * system-settings/plugins/keyfile/reader.[ch]: Implement.
4141 * system-settings/plugins/Makefile.am: Add GKeyFile plugin.
4143 * configure.in: Generate GKeyFile Makefile.
4145 * libnm-glib/nm-settings.c (impl_exported_connection_get_id): Fix a memory
4146 corruption, need to duplicate the returned string.
4147 (impl_exported_connection_update): Implement.
4148 (impl_exported_connection_delete): Implement.
4150 * introspection/nm-settings-system.xml: Add "AddConnection" method.
4152 * introspection/nm-exported-connection.xml: Add "Update" and "Delete" methods.
4154 2008-04-22 Dan Williams <dcbw@redhat.com>
4156 Patch from Charles R. Anderson (cra@wpi.edu)
4158 * src/NetworkManagerPolicy.c
4159 - (update_routing_and_dns): don't select devices without a gateway
4160 as having the default route (rh #437338)
4162 2008-04-21 Dan Williams <dcbw@redhat.com>
4164 * src/nm-activation-request.c
4165 src/nm-activation-request.h
4166 - (dispose): ensure to disconnect from the device's state-changed signal
4167 when appropriate so the signal doesn't get handled by an already
4168 disposed NMActRequest
4169 - (device_state_changed): update is_default here too just to make sure
4170 default is only True when the child device is activated
4171 - (nm_act_request_set_default): new function
4173 * src/NetworkManagerPolicy.c
4174 - (update_routing_and_dns): set 'default' on the active connection which
4175 has the default route and DNS
4177 2008-04-21 Dan Williams <dcbw@redhat.com>
4179 * src/NetworkManagerPolicy.c
4180 - (device_state_changed): update routing and DNS when a device goes
4181 into unmanaged or unavailable states too (like rfkill or carrier loss)
4183 2008-04-21 Dan Williams <dcbw@redhat.com>
4185 * include/NetworkManager.h
4186 - Add NMActiveConnectionState enum
4188 * introspection/nm-active-connection.xml
4189 introspection/nm-vpn-connection.xml
4190 - Add 'State' property for overall active connection state
4191 - Add 'Default' property, when True means this active connection
4192 has the default route
4193 - Add PropertyChanged signals so changes actually go out over the bus
4195 * src/nm-active-connection.h
4196 - Add defines for State & Default properties
4198 * src/nm-activation-request.c
4199 - Add 'state' and 'default' properties, hook up to device 'state-changed'
4200 signal to determine active connection state
4202 * src/vpn-manager/nm-vpn-connection.c
4203 src/vpn-manager/nm-vpn-connection.h
4204 src/vpn-manager/nm-vpn-manager.c
4205 src/vpn-manager/nm-vpn-service.c
4206 - Rename old 'state' to 'vpn-state'
4207 - Rename nm_vpn_connection_get_state() -> nm_vpn_connection_get_vpn_state()
4208 - Add 'state' and 'default' properties, hook up to the vpn connection's
4209 'vpn-state-changed' signal
4211 * libnm-glib/nm-active-connection.c
4212 libnm-glib/nm-active-connection.h
4213 - Add new 'state' and 'default' properties and accessors
4215 * libnm-glib/nm-vpn-connection.c
4216 libnm-glib/nm-vpn-connection.h
4217 - Rename old 'state' property to 'vpn-state'
4218 - Add new 'state' and 'default' properties and accessors
4220 2008-04-21 Dan Williams <dcbw@redhat.com>
4222 * src/nm-ip4-config.c
4223 - (nm_ip4_config_to_rtnl_addr): fill in the broadcast address if it's
4224 not specified (rh #443474)
4226 2008-04-20 Dan Williams <dcbw@redhat.com>
4228 * src/NetworkManagerUtils.c
4229 src/NetworkManagerUtils.h
4230 - (nm_utils_merge_ip4_config): new function; merge settings from an
4231 NMSettingIP4Config to an NMIP4Config object
4234 - (merge_ip4_config): move to NetworkManagerUtils.c
4236 * src/vpn-manager/nm-vpn-connection.c
4237 - (nm_vpn_connection_ip4_config_get): merge in user-specified settings
4240 2008-04-18 Dan Williams <dcbw@redhat.com>
4242 * libnm-util/nm-setting-ppp.c
4243 libnm-util/nm-setting-ppp.h
4244 - Add 'no-vj-comp' option for TCP header compression
4245 - baud, mru, mtu, lcp_echo_failure, and lcp_echo_interval are really
4248 2008-04-18 Dan Williams <dcbw@redhat.com>
4250 * libnm-util/nm-setting-ppp.c
4251 libnm-util/nm-setting-ppp.h
4252 src/ppp-manager/nm-ppp-manager.c
4253 - Add 'refuse-pap' and 'refuse-mschapv2' options
4255 2008-04-18 Dan Williams <dcbw@redhat.com>
4257 * libnm-util/nm-setting-ppp.c
4258 libnm-util/nm-setting-ppp.h
4259 src/ppp-manager/nm-ppp-manager.c
4260 - Remove the 'usepeerdns' option and always request DNS servers from
4261 the PPP server; the connection chooses to use/override/ignore the
4262 DNS servers returned from the PPP server
4264 2008-04-18 Dan Williams <dcbw@redhat.com>
4266 * libnm-util/nm-setting-ppp.c
4267 libnm-util/nm-setting-ppp.h
4268 src/ppp-manager/nm-ppp-manager.c
4269 - Remove the 'require-mppc' option, because pppd doesn't support it and
4270 it seems to have been an erroneous addition to the PPTP plugin in
4271 the first place (from which the ppp-manager is derived)
4273 2008-04-17 Dan Williams <dcbw@redhat.com>
4275 * libnm-util/nm-setting-pppoe.c
4276 - (verify): require a PPP setting too
4278 * src/ppp-manager/nm-ppp-manager.c
4279 - (nm_ppp_manager_start): fail if no PPP setting is present instead of
4282 2008-04-17 Dan Williams <dcbw@redhat.com>
4285 - (nm_device_state_changed): do deactivation and and promotion to
4286 unavailable here, so that the device gets cleaned up before the
4287 manager runs and starts emitting signals; do the
4288 FAILED->DISCONNECTED transition from an idle handler rather than
4289 immediately to guard against recursion
4290 - (nm_device_deactivate_quickly, nm_device_dispose): stop the
4291 FAILED->DISCONNECTED handler if it's scheduled
4293 2008-04-17 Dan Williams <dcbw@redhat.com>
4295 * src/nm-device-802-11-wireless.c
4296 - (state_changed_cb): clear AP list when device transitions to
4297 unavailable or unmanaged
4298 - (nm_device_802_11_wireless_dispose): remove redundant set_current_ap()
4299 since this is already done in device_cleanup()
4300 - (supplicant_iface_scanned_ap_cb): don't leak new APs when the device
4301 isn't available or managed
4302 - (device_cleanup): use remove_all_aps()
4303 - (remove_all_aps): consolidate code removing all APs
4305 2008-04-17 Dan Williams <dcbw@redhat.com>
4307 * src/nm-serial-device.c
4308 src/nm-serial-device.h
4309 - (wait_for_reply_got_data): break input into lines, and search each
4310 line for responses _and_ terminator strings; also make sure that
4311 the read loop doesn't continue after the timeout is supposed to fire
4312 - (nm_serial_device_wait_for_reply): take an array of terminators too
4314 * src/nm-gsm-device.c
4315 src/nm-cdma-device.c
4316 - Send terminators to nm_serial_device_wait_for_reply()
4318 2008-04-16 Dan Williams <dcbw@redhat.com>
4320 Patch from 陈鑫 <znscnchen@gmail.com>
4322 * src/ppp-manager/nm-pppd-plugin.c
4323 - (get_credentials): return correct value for success; handle case where
4324 pppd just does some checking but doesn't want a password
4325 - (plugin_init): make CHAP work too
4327 2008-04-16 Dan Williams <dcbw@redhat.com>
4329 Patch from 陈鑫 <znscnchen@gmail.com>
4331 * src/ppp-manager/nm-ppp-manager.c
4332 - (create_pppd_cmd_line): fix argument generation when spawning pppd
4334 2008-04-16 Dan Williams <dcbw@redhat.com>
4336 Patch from 陈鑫 <znscnchen@gmail.com>
4338 * src/nm-device-802-3-ethernet.c
4339 - (real_deactivate_quickly): clear the IP interface name on
4340 deactivation, otherwise the wrong interface might get used later
4341 for routing and IP management
4343 2008-04-15 Dan Williams <dcbw@redhat.com>
4345 * libnm-glib/nm-device.c
4346 - (get_product_and_vendor): handle serial devices correctly
4347 - (nm_device_update_description): pass device to get_product_and_vendor()
4349 2008-04-15 Dan Williams <dcbw@redhat.com>
4351 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
4353 * src/NetworkManagerSystem.h
4354 src/backends/NetworkManagerArch.c
4355 src/backends/NetworkManagerDebian.c
4356 src/backends/NetworkManagerFrugalware.c
4357 src/backends/NetworkManagerGeneric.c
4358 src/backends/NetworkManagerGeneric.h
4359 src/backends/NetworkManagerGentoo.c
4360 src/backends/NetworkManagerMandriva.c
4361 src/backends/NetworkManagerPaldo.c
4362 src/backends/NetworkManagerRedHat.c
4363 src/backends/NetworkManagerSlackware.c
4364 src/backends/NetworkManagerSuSE.c
4366 - (nm_generic_device_add_ip6_link_address,
4367 nm_system_device_add_ip6_link_address): remove
4369 2008-04-15 Dan Williams <dcbw@redhat.com>
4371 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
4373 * src/backends/NetworkManagerArch.c
4374 src/backends/NetworkManagerDebian.c
4375 src/backends/NetworkManagerFrugalware.c
4376 src/backends/NetworkManagerGeneric.c
4377 src/backends/NetworkManagerGeneric.h
4378 src/backends/NetworkManagerGentoo.c
4379 src/backends/NetworkManagerMandriva.c
4380 src/backends/NetworkManagerPaldo.c
4381 src/backends/NetworkManagerRedHat.c
4382 src/backends/NetworkManagerSlackware.c
4383 src/backends/NetworkManagerSuSE.c
4384 src/NetworkManagerSystem.h
4385 - flush_routes -> flush_ip4_routes
4386 - flush_addresses -> flush_ip4_addresses
4388 * src/NetworkManagerSystem.c
4390 src/vpn-manager/nm-vpn-connection.c
4391 - flush only IPv4 addresses; don't touch IPv6 routes and addresses
4393 2008-04-15 Dan Williams <dcbw@redhat.com>
4395 Remove exposure of wireless-tools mode types in the API.
4397 * include/NetworkManager.h
4398 - Define NM80211Mode enum
4400 * introspection/generic-types.xml
4401 - Describe NM_802_11_MODE enum
4402 - Remove IW_MODE_* enum
4404 * introspection/nm-access-point.xml
4405 libnm-glib/nm-access-point.c
4406 libnm-glib/nm-access-point.h
4407 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
4409 * introspection/nm-device-802-11-wireless.xml
4410 libnm-glib/nm-device-802-11-wireless.c
4411 libnm-glib/nm-device-802-11-wireless.h
4412 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
4414 * libnm-util/nm-setting-wireless.c
4415 src/NetworkManagerAP.c
4416 src/NetworkManagerAP.h
4417 src/nm-device-802-11-wireless.c
4418 src/nm-device-802-11-wireless.h
4420 - Use NM80211Mode not IW_MODE_*
4422 2008-04-15 Dan Williams <dcbw@redhat.com>
4424 Enhance nm-online based on a patch from Bill Nottingham.
4428 - Add help messages and option summary
4429 - Add long-format options
4430 - Add a '-x' option to exit if NM isn't running or isn't connecting
4432 2008-04-15 Tambet Ingo <tambet@gmail.com>
4434 * libnm-util/nm-setting.c (nm_setting_duplicate): Implement.
4436 * libnm-util/nm-connection.c (nm_connection_remove_setting): Implement.
4438 2008-04-15 Dan Williams <dcbw@redhat.com>
4440 * nm-setting-ip4-config.c
4441 - (ip4_addresses_from_gvalue): handle NULL address array
4443 * nm-setting-8021x.c
4444 - (verify_tls, verify_ttls): warn on failed verification
4446 2008-04-10 Dan Williams <dcbw@redhat.com>
4448 * src/nm-gsm-device.c
4449 - (automatic_registration): accept "+CREG: 0,0"
4450 - (automatic_registration_response): fail on "+CREG: 0,0"
4452 2008-04-10 Tambet Ingo <tambet@gmail.com>
4454 * libnm-util/nm-setting-wired.c (get_property): Fix a typo.
4456 2008-04-10 Tambet Ingo <tambet@gmail.com>
4458 * system-settings/plugins/ifcfg-suse/parser.c (make_wireless_security_setting):
4459 Make it compile again by commenting out broken code that at first didn't work and
4460 now didn't compile either.
4462 2008-04-08 Dan Williams <dcbw@redhat.com>
4464 * libnm-glib/nm-object-cache.c
4465 libnm-glib/nm-settings.c
4466 src/dhcp-manager/nm-dhcp-manager.c
4467 system-settings/plugins/ifcfg-fedora/plugin.c
4468 system-settings/plugins/ifcfg-suse/plugin.c
4469 system-settings/src/nm-system-config-hal-manager.c
4470 libnm-util/nm-utils.c
4471 - Remove usage of GStaticMutex since gcc-4.3 hates it and because we're
4472 not threadsafe anyway
4474 2008-04-08 Dan Williams <dcbw@redhat.com>
4476 * system-settings/src/main.c
4477 - (load_stuff, device_added_cb, device_removed_cb): device added/removed
4478 callbacks take a device type too
4480 2008-04-08 Dan Williams <dcbw@redhat.com>
4482 The system settings service will now create a new default DHCP connection
4483 for wired devices that have no existing applicable connection.
4485 * system-settings/src/nm-system-config-hal-manager.c
4486 system-settings/src/nm-system-config-hal-manager.h
4487 - (nm_system_config_hal_manager_get_type_for_udi): new function
4489 * system-settings/src/dbus-settings.c
4490 system-settings/src/dbus-settings.h
4491 - (nm_sysconfig_settings_get_connections): new function
4492 - (nm_sysconfig_settings_is_device_managed): new function
4494 * system-settings/src/main.c
4495 - (load_stuff): check for wired devices that need a default connection
4496 - (get_details_for_udi): get interface and MAC address from HAL
4497 - (add_default_dhcp_connection): add a default connection for a wired
4499 - (device_added_cb, device_removed_cb): do the right thing with
4500 wired devices and their default connections on HAL device events
4502 2008-04-07 Dan Williams <dcbw@redhat.com>
4504 * libnm-glib/nm-device.c
4505 libnm-glib/nm-device.h
4506 - Proxy the 'managed' property
4508 2008-04-07 Dan Williams <dcbw@redhat.com>
4510 * src/nm-gsm-device.c
4511 src/nm-cdma-device.c
4512 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
4513 handler to transition to DISCONNECTED
4515 2008-04-07 Dan Williams <dcbw@redhat.com>
4517 Patch from Bill Nottingham
4519 * dispatcher-daemon/NetworkManagerDispatcher.c
4520 - ignore backup/packaging crufy (rh #440143)
4522 2008-04-07 Dan Williams <dcbw@redhat.com>
4524 * include/NetworkManager.h
4525 - Remove the DOWN and CANCELLED device states
4526 - Add UNMANAGED and UNAVAILABLE device states
4527 - Document the device states
4529 * introspection/nm-device.xml
4530 src/nm-device-interface.c
4531 src/nm-device-interface.h
4532 - Add the 'managed' property
4535 - (detail_device): print out device state
4537 * src/NetworkManagerSystem.h
4538 src/backends/NetworkManagerArch.c
4539 src/backends/NetworkManagerDebian.c
4540 src/backends/NetworkManagerFrugalware.c
4541 src/backends/NetworkManagerGentoo.c
4542 src/backends/NetworkManagerMandriva.c
4543 src/backends/NetworkManagerPaldo.c
4544 src/backends/NetworkManagerRedHat.c
4545 src/backends/NetworkManagerSlackware.c
4546 src/backends/NetworkManagerSuSE.c
4547 - (nm_system_device_get_system_config, nm_system_device_get_disabled
4548 nm_system_device_free_system_config): remove; they were unused and
4549 their functionality should be re-implemented in each distro's
4550 system settings service plugin
4552 * src/nm-gsm-device.c
4554 src/nm-cdma-device.c
4555 src/nm-cdma-device.h
4556 - (*_new): take the 'managed' argument
4559 - (nm_device_set_address): remove, fold into nm_device_bring_up()
4560 - (nm_device_init): start in unmanaged state, not disconnected
4561 - (constructor): don't start device until the system settings service
4562 has had a chance to figure out if the device is managed or not
4563 - (nm_device_deactivate, nm_device_bring_up, nm_device_bring_down):
4564 don't set device state here, let callers handle that as appropriate
4565 - (nm_device_dispose): don't touch the device if it's not managed
4566 - (set_property, get_property, nm_device_class_init): implement the
4568 - (nm_device_state_changed): bring the device up if its now managed,
4569 and deactivate it if it used to be active
4570 - (nm_device_get_managed, nm_device_set_managed): do the right thing
4571 with the managed state
4573 * src/nm-hal-manager.c
4574 - (wired_device_creator, wireless_device_creator, modem_device_creator):
4575 take initial managed state and pass it along to device constructors
4576 - (create_device_and_add_to_list): get managed state and pass to
4579 * src/nm-device-802-11-wireless.c
4580 - (real_can_activate): fold in most of
4581 nm_device_802_11_wireless_can_activate()
4582 - (can_scan): can't scan in UNAVAILABLE or UNMANAGED
4583 - (link_timeout_cb): instead of deactivating, change device state and
4584 let the device state handler to it
4585 - (real_update_hw_address): clean up
4586 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
4587 handler to transition to DISCONNECTED if the device isn't rfkilled
4589 * src/nm-device-802-3-ethernet.c
4590 - (set_carrier): move above callers and get rid of prototype
4591 - (device_state_changed): when entering UNAVAILABLE state, schedule an
4592 idle handler to transition to DISCONNECTED if the device has a
4594 - (real_update_hw_address): clean up
4595 - (link_timeout_cb, ppp_state_changed): change state instead of calling
4596 deactivation directly as deactivation doesn't change state anymore
4598 * src/NetworkManagerPolicy.c
4599 - (schedule_activate_check): yay, remove wireless_enabled hack since
4600 the NMManager and wireless devices work that out themselves now
4601 - (device_state_changed): change to a switch and update for new device
4603 - (device_carrier_changed): remove; device handles this now through
4605 - (device_added): don't care about carrier any more; the initial
4606 activation check will happen when the device transitions to
4610 - (dispose): clear unmanaged devices
4611 - (handle_unmanaged_devices): update unmanaged device list and toggle
4612 the managed property on each device when needed
4613 - (system_settings_properties_changed_cb): handle signals from the
4614 system settings service
4615 - (system_settings_get_unmanaged_devices_cb): handle callback from
4616 getting the unmanaged device list method call
4617 - (query_unmanaged_devices): ask the system settings service for its
4618 list of unmanaged devices
4619 - (nm_manager_name_owner_changed, initial_get_connections): get unmanaged
4621 - (manager_set_wireless_enabled): push rfkill state down to wireless
4622 devices directly and let them handle the necessary state transitions
4623 - (manager_device_state_changed): update for new device states
4624 - (nm_manager_add_device): set initial rfkill state on wireless devices
4625 - (nm_manager_remove_device): don't touch the device if it's unmanaged
4626 - (nm_manager_activate_connection): return error if the device is
4628 - (nm_manager_sleep): handle new device states correctly; don't change
4629 the state of unavailable/unmanaged devices
4631 * libnm-glib/nm-device-802-11-wireless.c
4632 - (state_changed_cb): update for new device states
4634 2008-04-07 Dan Williams <dcbw@redhat.com>
4636 * marshallers/nm-marshal.list
4637 - Add VOID:STRING,UINT marshaller for system settings HAL manager
4639 2008-04-07 Dan Williams <dcbw@redhat.com>
4641 * system-settings/src/main.c
4642 - (unmanaged_devices_changed_cb, register_plugin): proxy changes from
4643 plugins to the dbus settings object
4644 - (load_stuff): start the dbus service after grabbing unmanaged devices
4645 - (dbus_reconnect, dbus_cleanup): make HAL manager aware of dbus events
4646 - (log_handler, logging_setup, logging_shutdown): log output to syslog
4647 - (main): switch default logging to syslog with a 'debug' option to
4648 output to console; start up the HAL manager
4650 2008-04-07 Dan Williams <dcbw@redhat.com>
4652 * introspection/nm-settings-system.xml
4653 introspection/Makefile.am
4654 - Define the unmanaged devices interface for the system settings service
4656 * system-settings/src/nm-system-config-hal-manager.c
4657 system-settings/src/nm-system-config-hal-manager.h
4658 system-settings/src/nm-system-config-hal-manager-private.h
4659 system-settings/src/Makefile.am
4660 - Add a lightweight HAL manager object for tracking network devices for
4661 the purpose of determining unmanaged devices and which devices need
4662 the default DHCP connections
4664 * system-settings/src/nm-system-config-interface.c
4665 system-settings/src/nm-system-config-interface.h
4666 - (nm_system_config_interface_init): add the HAL manager as an argument
4667 - (nm_system_config_interface_get_unmanaged_devices): implement
4668 - Define 'unmanaged-devices-changed' signal
4670 * system-settings/src/dbus-settings.c
4671 system-settings/src/dbus-settings.h
4672 - Implement the unmanaged devices interface; some cleanups
4674 * system-settings/plugins/ifcfg-suse/plugin.c
4675 - Fixup for plugin interface changes
4677 * system-settings/plugins/ifcfg-fedora/plugin.c
4678 - (get_ether_device_udi): new function; find the device that has
4679 a specified MAC address and return its UDI
4680 - (get_udi_for_connection): new function; try to find the specific
4681 device a connection is locked to, if any
4682 - (device_added_cb, device_removed_cb): update unmanaged device list in
4683 response to HAL events
4684 - (get_unmanaged_devices): new function; return unmanaged device list
4685 - (build_one_connection): set the connection's locked device, if any
4686 - (write_auto_wired_connection): remove
4687 - (kill_old_auto_wired_file): remove the ifcfg-Auto Wired file if found
4688 - (handle_connection_changed): alert listeners that the unmanaged device
4690 - (init): fixup for plugin interface changes, implement unmanaged devices
4692 * system-settings/plugins/ifcfg-fedora/parser.c
4693 system-settings/plugins/ifcfg-fedora/parser.h
4694 - (connection_data_free): clean up connection UDI
4696 2008-04-07 Dan Williams <dcbw@redhat.com>
4698 * system-settings/plugins/ifcfg-fedora/parser.c
4699 - (make_ip4_setting): fix parsing of DNS servers
4701 2008-04-05 Dan Williams <dcbw@redhat.com>
4705 marshallers/Makefile.am
4706 marshallers/nm-marshal-main.c
4707 marshallers/nm-marshal.list
4708 - Consolidate marshallers
4710 * libnm-glib/nm-marshal-main.c
4711 libnm-glib/nm-marshal.list
4712 src/marshallers/Makefile.am
4713 src/marshallers/nm-marshal-main.c
4714 src/marshallers/nm-marshal.list
4717 * libnm-glib/Makefile.am
4719 src/dhcp-manager/Makefile.am
4720 src/ppp-manager/Makefile.am
4721 src/supplicant-manager/Makefile.am
4722 src/vpn-manager/Makefile.am
4723 - Use consolidated marshallers
4725 2008-04-04 Dan Williams <dcbw@redhat.com>
4727 * src/nm-hal-manager.c
4728 src/nm-hal-manager.h
4729 - (hal_init): don't look for hardware here
4730 - (nm_hal_manager_start): new function; look for hardware here instead,
4731 which can be done at a later time than hal_init()
4733 * src/NetworkManager.c
4734 - (main): start HAL manager after entering the main loop
4736 2008-04-03 Dan Williams <dcbw@redhat.com>
4738 * libnm-glib/nm-settings.c
4739 libnm-glib/nm-settings.h
4740 - (nm_exported_connection_get_id): new function
4741 - (impl_exported_connection_get_id): use nm_exported_connection_get_id()
4743 2008-04-02 Dan Williams <dcbw@redhat.com>
4745 * src/nm-device-interface.c
4746 src/nm-device-interface.h
4749 - Rename check_connection_conflicts() to check_connection_compatible()
4751 * src/nm-device-802-11-wireless.c
4752 - (real_check_connection_conflicts): remove
4753 - (real_check_connection_compatible): implement; match MAC address
4755 * src/nm-device-802-3-ethernet.c
4756 - (real_check_connection_conflicts): remove
4757 - (real_check_connection_compatible): implement; match MAC address
4758 - (real_get_best_auto_connection): correctly handle PPPoE cases
4761 - (check_connection_allowed): remove; unused until PolicyKit integration
4762 - (internal_activate_device): check whether the connection is compatible
4763 with the device before trying to activate it
4765 2008-04-02 Dan Williams <dcbw@redhat.com>
4767 * system-settings/plugins/ifcfg-fedora/parser.c
4768 - (read_mac_address): new function; read in MAC address and stuff it
4770 - (add_one_wep_key): remove debug spew
4771 - (make_wireless_security_setting): validate the default TX key; don't
4772 add the wireless-security setting if the connection doesn't need
4773 security; don't leak the keys shvarFile on error cases
4774 - (make_wireless_setting, make_wired_setting): populate device's MAC
4777 2008-04-02 Dan Williams <dcbw@redhat.com>
4779 * libnm-util/nm-setting-connection.c
4780 libnm-util/nm-setting-connection.h
4781 - (set_property, get_property, nm_setting_connection_class_init): remove
4782 the 'lockdown' property; it's functionality will be replaced by
4785 2008-04-01 Dan Williams <dcbw@redhat.com>
4787 Patch from Per Øyvind Karlsen <peroyvind@mandriva.org>
4790 initscript/Makefile.am
4791 initscript/Mandriva/Makefile.am
4792 initscript/Mandriva/networkmanager.in
4793 initscript/Mandriva/networkmanagerdispatcher.in
4794 src/backends/Makefile.am
4795 src/backends/NetworkManagerMandriva.c
4796 system-settings/plugins/Makefile.am
4797 - Add Mandriva support
4799 2008-03-31 Dan Williams <dcbw@redhat.com>
4801 * src/vpn-manager/nm-vpn-service.c
4802 - (nm_vpn_service_daemon_exec): add an error argument so that spawn
4803 errors can be passed back to the caller; also no longer scheduled
4804 as an idle handler, but called directly; and bump up VPN service
4805 spawn timeout, 2s is really short
4806 - (nm_vpn_service_activate): don't schedule the VPN service activation,
4807 but call it directly so that errors are reported on return from
4808 ActivateConnection() and don't get lost. If scheduled as an idle
4809 handler, clients don't have the time to query NM for the new VPN
4810 connection's properties before the VPN connection is torn down again
4811 if the service couldn't be launched, and therefore launch errors
4814 2008-03-31 Dan Williams <dcbw@redhat.com>
4816 * src/vpn-manager/nm-vpn-connection.c
4817 - (device_state_changed): send correct state on device failure too
4818 - (plugin_state_changed): failed state means unexpected disconnection,
4819 thus if the service goes away while the VPN connection is activated
4820 that's a failure too
4822 2008-03-31 Dan Williams <dcbw@redhat.com>
4824 * src/vpn-manager/nm-vpn-manager.c
4825 src/vpn-manager/nm-vpn-manager.h
4826 - Make VPNManager errors more available; add a service-start-failed error
4828 2008-03-31 Dan Williams <dcbw@redhat.com>
4830 * libnm-glib/nm-client.c
4831 libnm-glib/nm-client.h
4832 - (activate_cb): pass the new active connection to callback; fix
4833 message when no callback is specified
4835 2008-03-30 Dan Williams <dcbw@redhat.com>
4837 * libnm-util/nm-setting-wireless-security.c
4838 - (need_secrets): only require key0 if the transmit key index is also
4840 - (verify): reject non-NULL but zero-length WEP keys; these are invalid
4842 2008-03-29 Dan Williams <dcbw@redhat.com>
4844 * libnm-util/nm-setting-8021x.c
4845 libnm-util/nm-setting-ip4-config.c
4846 libnm-util/nm-setting-vpn-properties.c
4847 libnm-util/nm-setting-vpn.c
4848 libnm-util/nm-setting-wireless-security.c
4849 libnm-util/nm-setting-wireless.c
4850 libnm-util/nm-utils.c
4851 src/dhcp-manager/nm-dhcp-manager.c
4852 src/nm-activation-request.c
4855 src/nm-properties-changed-signal.c
4856 src/ppp-manager/nm-pppd-plugin.c
4857 src/supplicant-manager/nm-supplicant-interface.c
4858 src/vpn-manager/nm-vpn-connection.c
4859 - consistently use nm-dbus-glib-types.h
4861 2008-03-29 Dan Williams <dcbw@redhat.com>
4863 * src/vpn-manager/nm-vpn-connection.c
4864 - (nm_vpn_connection_class_init): PROP_SPECIFIC_OBJECT should be boxed,
4867 * src/nm-activation-request.c
4868 - (nm_act_request_class_init): PROP_SPECIFIC_OBJECT should be boxed,
4871 2008-03-29 Dan Williams <dcbw@redhat.com>
4873 * libnm-glib/nm-device-802-11-wireless.c
4874 - (access_point_added_proxy): create new APs if not found
4876 2008-03-29 Dan Williams <dcbw@redhat.com>
4878 * libnm-glib/nm-client.c
4879 - (proxy_name_owner_changed): tell wireless devices about rfkill state
4882 2008-03-29 Dan Williams <dcbw@redhat.com>
4884 * system-settings/plugins/ifcfg-fedora/parser.c
4885 - Fix parsing of WEP keys; ifcfg files use indexes [1...4] rather than
4886 [0...3]; also handle KEY correctly in combination with DEFAULTKEY
4888 2008-03-29 Dan Williams <dcbw@redhat.com>
4890 * system-settings/plugins/ifcfg-fedora/parser.c
4891 - (get_one_wep_key, make_wireless_security_setting): handle "KEY" too
4893 2008-03-27 Dan Williams <dcbw@redhat.com>
4896 - (nm_object_queue_notify): don't notify multiple times for the same
4899 * nm-object-private.h
4900 - (handle_ptr_array_return): return NULL if the given array is NULL or
4901 if it has zero elements
4904 - (finalize): use g_ptr_array_foreach() when freeing domains
4905 - (nm_ip4_config_get_domains): use handle_ptr_array_return()
4907 * nm-active-connection.c
4908 - (nm_active_connection_get_devices): use handle_ptr_array_return()
4910 * nm-device-802-11-wireless.c
4911 nm-device-802-11-wireless.h
4912 - (nm_device_802_11_wireless_get_access_points): return const; use
4913 handle_ptr_array_return()
4916 - (nm_object_array_demarshal): always create an array, even of length
4917 zero, to distinguish between "NM returned no items" and "haven't
4921 - (dispose): free active connections too
4922 - (proxy_name_owner_changed): free active connections too when NM goes
4924 - (nm_client_get_devices): return const; use handle_ptr_array_return()
4925 - (nm_client_get_active_connections): use handle_ptr_array_return()
4927 2008-03-26 Dan Williams <dcbw@redhat.com>
4929 Rework VPN connection handling for a more consistent D-Bus API. The
4930 VPNManager object has been removed, and active VPN connections are now the
4931 same as any other active connection. The Manager object's ActivateConnection
4932 and DeactivateConnection methods are used to start and stop a VPN connection,
4933 and the VPNConnection objects are subclasses of the ActiveConnection objects.
4934 When activating a VPN connection, pass the path of the active connection
4935 to which the VPN connection is tied in the 'specific_object' argument.
4937 Consequently, the libnm-glib API has been reworked to match this arrangement,
4938 with the VPNManager object removed, and the NMVPNConnection objects now
4939 being subclasses of NMActiveConnection.
4941 2008-03-25 Dan Williams <dcbw@redhat.com>
4943 Patch from Björn Martensen <bjoern.martensen@gmail.com>
4945 * initscript/Arch/networkmanager.in
4946 initscript/Arch/networkmanager-dispatcher.in
4947 - Updates for Arch Linux (gnome.org #523701)
4949 2008-03-25 Dan Williams <dcbw@redhat.com>
4951 * libnm-glib/nm-ip4-config.c
4952 libnm-glib/nm-active-connection.c
4953 libnm-glib/nm-access-point.c
4954 - Use nm_object_queue_notify() instead of g_object_notify()
4956 * libnm-glib/nm-device.c
4957 - (demarshal_ip4_config): distinguish between successful but missing
4958 ip4-config request, and unsuccessful and missing ip4-config request
4959 - (nm_device_get_ip4_config): don't try to demarshal a NULL ip4-config
4961 - Use nm_object_queue_notify() instead of g_object_notify()
4963 * libnm-glib/nm-device-802-11-wireless.c
4964 - (demarshal_active_ap): distinguish between successfull but missing
4965 active-ap request, and unsuccessful and missing active-ap request
4966 - (dispose, clean_up_aps): consolidate AP list and active AP clearing
4968 - (nm_device_802_11_wireless_set_wireless_enabled): add a private hook
4969 for the NMClient to notify the device that wireless is disabled,
4970 and therefore to clear the AP list and active AP
4971 - Use nm_object_queue_notify() instead of g_object_notify()
4973 * libnm-glib/nm-client.c
4974 - (poke_wireless_devices_with_rf_status): new function
4975 - (update_wireless_status): notify wireless devices of the rfkill status
4976 so they can clean up if needed
4977 - Use nm_object_queue_notify() instead of g_object_notify()
4979 2008-03-25 Dan Williams <dcbw@redhat.com>
4981 * libnm-glib/nm-object.c
4982 libnm-glib/nm-object-private.h
4983 - (nm_object_queue_notify): add helper to batch & postpone GObject notify
4984 signals to an idle handler
4985 - (nm_object_get_property): add a timeout to the D-Bus method call
4987 2008-03-25 Dan Williams <dcbw@redhat.com>
4989 * introspection/nm-device-cdma.xml
4990 introspection/nm-device-gsm.xml
4991 introspection/Makefile.am
4992 introspection/all.xml
4993 - Add introspection for CDMA and GSM devices for PropertiesChanged signal
4995 * src/nm-gsm-device.h
4997 src/nm-cdma-device.h
4998 src/nm-cdma-device.c
5000 - Implement PropertiesChanged signals
5002 * libnm-glib/nm-cdma-device.c
5003 libnm-glib/nm-cdma-device.c
5004 - Attach to PropertiesChanged signals
5006 2008-03-24 Dan Williams <dcbw@redhat.com>
5008 * libnm-glib/nm-client.c
5009 - (client_device_added_proxy): add new devices to the internal device
5010 list so they appear to clients
5012 2008-03-24 Dan Williams <dcbw@redhat.com>
5014 Massive fixup of libnm-glib to:
5015 a) have all objects (with the exception of VPN) cache their properties and
5016 update them asynchronously on PropertiesChanged signals from NM
5017 b) return internal const data for most attributes/properties instead of
5018 allocated values that the caller must free
5019 c) cache wrapped objects such that a given D-Bus path will always map to the
5020 same GObject returned by libnm-glib
5021 d) remove a few signals and move them to GObject property notifications
5022 e) match recent NM D-Bus API changes for activation/deactivation
5023 f) remove some private functions from libnm-glib headers
5025 2008-03-20 Dan Williams <dcbw@redhat.com>
5028 - (nm_manager_update_state, manager_device_state_changed,
5029 nm_manager_activate_device, connection_added_default_handler,
5030 impl_manager_activate_connection, impl_manager_deactivate_connection):
5031 queue PropertyChanged singals when the active connections change
5033 2008-03-20 Dan Williams <dcbw@redhat.com>
5035 * introspection/nm-manager.xml
5036 introspection/nm-manager-client.xml
5037 - (ActivateConnection): return the object path of the active connection
5039 - (GetActiveConnections): remove
5040 - (DeactivateConnection): new function; deactivate a currently active
5042 - Add an ActiveConnections property which returns an array of
5043 active connection object paths
5045 * introspection/nm-device.xml
5046 - (Deactivate): remove
5048 * introspection/all.xml
5049 - Add ActiveConnection introspection
5051 * introspection/nm-active-connection.xml
5052 - Add the ActiveConnection object
5054 * include/NetworkManager.h
5055 - Add the Connection.Active D-Bus interface
5057 * src/nm-device-interface.c
5058 - (impl_device_deactivate): remove
5060 * src/nm-activation-request.c
5061 src/nm-activation-request.c
5063 - Implement the Connection.Active D-Bus interface
5066 - (get_property, nm_manager_class_init): add ACTIVE_CONNECTIONS property
5067 - (nm_manager_activate_device): return the active connection path
5068 - (connection_added_default_handler, impl_manager_activate_connection):
5069 return the active connection to the caller
5070 - (add_one_connection_element, impl_manager_get_active_connections):
5072 - (impl_manager_deactivate_connection): new function; deactivate an
5075 * libnm-glib/nm-device.c
5076 libnm-glib/nm-device.h
5077 - Remove Deactivate() function
5079 2008-03-19 Dan Williams <dcbw@redhat.com>
5081 * introspection/nm-manager.xml
5082 introspection/nm-manager-client.xml
5083 - Rename the ActivateDevice method to ActivateConnection to better
5084 reflect it's usage; it's arguments get reordered a bit too
5085 - Convert GetActiveConnections method return from a struct to a dict
5087 * include/NetworkManager.h
5088 - Define the dict keys for return value of GetActiveConnections
5091 - impl_manager_activate_device -> impl_manager_activate_connection
5092 - (add_one_connection_element): return a populated hash table, not
5095 * libnm-glib/nm-client.c
5096 libnm-glib/nm-client.h
5097 - nm_client_activate_device -> nm_client_activate_connection
5098 - nm_client_free_active_connection_element -> nm_client_free_active_connections_element
5099 - (nm_client_get_active_connections): return a GSList of GHashTables,
5100 instead of the custom structures. Each element of the returned list
5101 must be freed with nm_client_free_active_connections_element()
5103 2008-03-18 Dan Williams <dcbw@redhat.com>
5105 * system-settings/plugins/ifcfg-fedora/parser.c
5106 system-settings/plugins/ifcfg-fedora/parser.h
5107 system-settings/plugins/ifcfg-fedora/plugin.c
5108 - Read settings from /etc/sysconfig/network-scripts/ instead of using
5109 profiles. DNS servers and searches must now be stored in the ifcfg
5112 2008-03-18 Tambet Ingo <tambet@gmail.com>
5114 * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Don't
5115 print out username and password, it's supposed to be a secret.
5117 * src/nm-device-802-3-ethernet.c (ppp_state_changed): Handle authentication
5118 request and set the device state accordingly.
5120 2008-03-18 Tambet Ingo <tambet@gmail.com>
5122 * src/nm-device-802-3-ethernet.c: Implement wired 802.1x authentication.
5124 * libnm-util/nm-setting-wireless-security.h: Fix a typo.
5126 2008-03-18 Dan Williams <dcbw@redhat.com>
5128 * src/vpn-manager/nm-vpn-connection.c
5129 - (get_secrets_cb): handle new GetSecrets return format
5131 2008-03-18 Dan Williams <dcbw@redhat.com>
5133 Adapt system settings service for split 802.1x.
5135 * system-settings/src/nm-system-config-interface.h
5136 - clarify return value of get_secrets()
5138 * system-settings/src/dbus-settings.c
5139 - (string_to_gvalue, destroy_gvalue, add_one_secret_to_hash): remove
5140 - (check_for_secrets): check if there actually secrets returned by a
5142 - (exported_connection_get_secrets): just return the plugin-returned
5143 hash of settings' secrets if it looks valid
5145 * system-settings/plugins/ifcfg-fedora/plugin.c
5146 - (get_secrets): add split secrets with correct format to reply hash
5148 * system-settings/plugins/ifcfg-fedora/parser.c
5149 system-settings/plugins/ifcfg-fedora/parser.h
5150 - (copy_one_cdata_secret, connection_data_copy_secrets,
5151 connection_data_free, connection_data_add): keep secrets for
5152 different settings in different hashes
5154 2008-03-17 Tambet Ingo <tambet@gmail.com>
5156 Clean up activating device deactivation.
5158 * src/nm-device.c (real_activation_cancel_handler): Remove. The same thing
5159 should be done whether the device activation gets cancelled or the device
5160 is just getting deactivated.
5161 (nm_device_activation_cancel): Remove.
5162 (nm_device_deactivate_quickly): Handle the case where device is activating.
5164 * src/nm-device-802-11-wireless.c (real_activation_cancel_handler): Remove.
5165 It does the exact same thing as real_deactivate_quickly().
5167 2008-03-17 Dan Williams <dcbw@redhat.com>
5169 Split the 802.1x bits out of the wireless-security setting so they are
5170 generalized enough for wired 802.1x to use too.
5172 * introspection/nm-exported-connection.xml
5173 - GetSecrets now returns 'a{sa{sv}}' (a hash of settings hashes) instead
5174 of just a hash of the secrets for one setting
5176 * libnm-util/nm-setting-wireless-security.c
5177 libnm-util/nm-setting-wireless-security.h
5178 - Remove 802.1x-specific stuff
5179 - Added leap-username and leap-password properties for old-school LEAP
5183 - (connection_secrets_updated_cb): take a list of updated settings names,
5186 * src/supplicant-manager/nm-supplicant-config.c
5187 src/supplicant-manager/nm-supplicant-config.h
5188 - (nm_supplicant_config_add_setting_wireless_security): remove 802.1x
5189 specific stuff; fix for updated LEAP bits; punt 802.1x stuff
5190 to nm_supplicant_config_add_setting_8021x()
5191 - (nm_supplicant_config_add_setting_8021x): add an 802-1x setting to
5192 the supplicant config
5194 * src/nm-device-802-11-wireless.c
5195 - (build_supplicant_config): pass in the 802.1x setting too, if any
5196 - (real_connection_secrets_updated): take a list of updated settings
5199 * src/nm-device-802-3-ethernet.c
5200 src/nm-cdma-device.c
5202 - (real_connection_secrets_updated_cb): take a list of updated settings
5205 * src/nm-activation-request.c
5206 src/nm-activation-request.h
5207 - (nm_act_request_class_init): the 'connection-secrets-updated' signal
5208 now passes a list of updated settings names, not just one
5209 - (update_one_setting): new function; handle one updated setting
5210 - (get_secrets_cb): handle multiple settings returned from the
5211 settings service; have to be careful of ordering here as there are
5212 some dependencies between settings (ex. wireless-security and 802.1x
5215 * src/marshallers/nm-marshal.list
5216 - new marshaller for connection-secrets-updated signal
5218 * libnm-util/nm-setting-8021x.c
5219 - Add back the 'pin' and 'psk' settings, for EAP-SIM and EAP-PSK auth
5221 - (verify): a valid 'eap' property is now required
5223 * libnm-util/nm-connection.c
5224 - (register_default_settings): add priorities to settings; there are
5225 some dependencies between settings, and during the need_secrets
5226 calls this priority needs to be respected. For example, only the
5227 wireless-security setting knows whether or not the connection is
5228 going to use 802.1x or now, so it must be asked for secrets before
5229 any existing 802.1x setting is
5230 - (nm_connection_lookup_setting_type): expose
5232 * libnm-util/nm-setting-wireless.c
5233 - (verify): should verify even if all_settings is NULL; otherwise won't
5234 catch the case where there is missing security
5236 * libnm-util/nm-setting-wireless-security.c
5237 - Remove everything to do with 802.1x
5238 - Add old-school LEAP specific properties for username and password
5239 - (need_secrets): rework LEAP secrets checking
5240 - (verify): rework for LEAP and 802.1x verification
5242 2008-03-17 Dan Williams <dcbw@redhat.com>
5244 * src/NetworkManagerPolicy.c
5245 - (auto_activate_device): always remove the current activation check
5246 from the pending activation list, otherwise when the policy gets
5247 destroyed on NM exit it will attempt to free the already freed
5250 2008-03-14 Tambet Ingo <tambet@gmail.com>
5252 * src/backends/NetworkManagerSlackware.c
5253 (nm_system_device_setup_static_ip4_config): Remove, it's unused.
5255 * src/backends/NetworkManagerSuSE.c: Add missing includes.
5257 2008-03-14 Dan Williams <dcbw@redhat.com>
5260 - (nm_device_interface_get_iface): g_object_get() will return an
5261 allocated value, so this function must not return const
5262 - (nm_device_interface_activate): free returned iface
5264 2008-03-14 Tambet Ingo <tambet@gmail.com>
5266 * libnm-util/Makefile.am: Add new files to build.
5268 * libnm-util/nm-connection.c: Register NMSetting8021x.
5270 * libnm-util/nm-setting-8021x.c
5271 * libnm-util/nm-setting-8021x.h: Implement.
5273 2008-03-14 Tambet Ingo <tambet@gmail.com>
5275 * libnm-util/Makefile.am: Add new files to build.
5277 * libnm-util/nm-connection.c: Register NMSetting8021x.
5279 * libnm-util/nm-setting-8021x.c
5280 * libnm-util/nm-setting-8021x.h: Implement.
5282 2008-03-14 Tambet Ingo <tambet@gmail.com>
5284 * src/NetworkManagerPolicy.c (auto_activate_device): Don't leak device and
5287 2008-03-14 Dan Williams <dcbw@redhat.com>
5289 * include/wireless-helper.h
5291 - One place for all the junk needed for #including wireless.h
5294 src/NetworkManagerAP.c
5297 libnm-util/nm-utils.c
5298 libnm-util/nm-setting-wireless.c
5299 libnm-glib/nm-device-802-11-wireless.c
5300 libnm-glib/nm-access-point.c
5301 libnm-glib/libnm-glib-test.c
5302 - include wireless-helper.h, not iwlib.h
5305 - Don't need libiw really, just need to check for wireless.h
5307 * src/kernel-types.h
5308 - Remove; used types moved into wpa.c
5310 * src/nm-device-802-11-wireless.c
5311 - (nm_device_802_11_wireless_update_signal_strength,
5312 real_get_generic_capabilities, nm_device_802_11_wireless_get_mode,
5313 nm_device_802_11_wireless_set_mode,
5314 nm_device_802_11_wireless_get_frequency,
5315 nm_device_802_11_wireless_get_ssid,
5316 nm_device_802_11_wireless_set_ssid,
5317 nm_device_802_11_wireless_get_bitrate,
5318 nm_device_802_11_wireless_get_bssid,
5319 nm_device_802_11_wireless_disable_encryption): use ioctl() directly
5320 instead of iwlib functions
5322 2008-03-14 Dan Williams <dcbw@redhat.com>
5324 * src/ppp-manager/nm-ppp-manager.c
5325 - (impl_ppp_manager_need_secrets): since it's asynchronous now, it
5326 should only take the DBusGMethodInvocation argument, not user/pass
5327 too. With dbus-glib, async functions only take 2 C arguments since
5328 the real dbus method arguments get passed back with
5329 dbus_g_method_return()
5331 2008-03-13 Tambet Ingo <tambet@gmail.com>
5333 * system-settings/plugins/ifcfg-suse/plugin.c (update_default_routes):
5334 Adapt the changes of NMSettingIP4Config.
5336 2008-03-13 Dan Williams <dcbw@redhat.com>
5338 * src/NetworkManagerUtils.c
5339 src/NetworkManagerUtils.h
5340 - (nm_ether_ntop): replacement for iw_ether_ntop()
5342 * src/NetworkManagerAP.c
5343 src/nm-device-802-11-wireless.c
5344 src/nm-device-802-3-ethernet.c
5345 - s/iw_ether_ntop/nm_ether_ntop/g
5347 2008-03-13 Dan Williams <dcbw@redhat.com>
5349 * src/NetworkManagerPolicy.c
5350 - (update_routing_and_dns): never set the default route through an
5351 IPv4LL addressed device
5353 2008-03-13 Dan Williams <dcbw@redhat.com>
5355 * NetworkManagerUtils.c
5356 NetworkManagerUtils.h
5357 - Remove NMSock stuff
5358 - Remove the completion stuff
5363 NetworkManagerSystem.c
5365 nm-device-802-11-wireless.c
5366 nm-device-802-3-ethernet.c
5367 - Remove NMSock and completion stuff
5368 - Remove nm_ioctl_info()
5370 2008-03-12 Dan Williams <dcbw@redhat.com>
5373 - (merge_ip4_config): avoid duplicates
5375 2008-03-12 Dan Williams <dcbw@redhat.com>
5377 * libnm-util/nm-setting-ip4-config.c
5378 libnm-util/nm-setting-ip4-config.h
5379 - Remove 'manual' and 'autoip' properties
5380 - Add 'method' property
5381 - (verify): fix verification with 'method'
5382 - (finalize): free 'method'
5383 - (set_property, get_property, nm_setting_ip4_config_class_init): fix
5387 - (real_act_stage3_ip_config_start): check IP4Config method
5388 - (nm_device_new_ip4_autoip_config): add a note about not sucking in
5390 - (merge_ip4_config): IP settings are valid with DHCP too
5391 - (real_act_stage4_get_ip4_config): handle all IP4Config methods
5392 - (real_act_stage4_ip_config_timeout): don't do autoip on DHCP timeout
5394 * src/nm-device-802-11-wireless.c
5395 - (real_act_stage3_ip_config_start): remove; autoip only on demand
5396 - (real_act_stage4_get_ip4_config): just chain up to parent; autoip
5399 * system-settings/plugins/ifcfg-fedora/parser.c
5400 system-settings/plugins/ifcfg-suse/parser.c
5401 - (make_ip4_setting): fix up for 'method'
5403 2008-03-12 Dan Williams <dcbw@redhat.com>
5405 * system-settings/plugins/ifcfg-fedora/parser.c
5406 system-settings/plugins/ifcfg-fedora/parser.h
5407 - (get_ifcfg_name): ignore more file suffixes
5408 - (is_wireless_device): fix check for ifcfgs that have no TYPE
5410 2008-03-12 Dan Williams <dcbw@redhat.com>
5413 - Bring in the bits of gnome-common we actually use (all 15 lines)
5415 2008-03-12 Dan Williams <dcbw@redhat.com>
5417 * system-settings/plugins/ifcfg-fedora/plugin.c
5418 - (write_auto_wired_connection): new function; write out an auto
5419 wired connection file since the applet isn't doing it any more
5420 - (reload_all_connections): write out the auto wired connection file
5421 if there aren't any wired connections already
5422 - (init): don't leak a GError
5424 2008-03-12 Dan Williams <dcbw@redhat.com>
5426 * src/nm-device-interface.c
5427 - (nm_device_interface_activate): print the ID of the connection
5428 that's about to be activated
5430 2008-03-12 Dan Williams <dcbw@redhat.com>
5432 Harmonize the 802.11 bitrate API
5434 * introspection/nm-access-point.xml
5435 - 'Rate' -> 'MaxBitrate'; clarify units
5437 * introspection/nm-device-802-11-wireless.xml
5438 - Clarify units of 'Bitrate'
5440 * src/NetworkManagerAP.c
5441 src/NetworkManagerAP.h
5442 - (set_property, get_property, nm_ap_class_init): rename 'rate'
5443 property to 'max-bitrate'
5444 - (foreach_property_cb): convert rate to Kb/s
5446 * src/nm-device-802-11-wireless.c
5447 - (nm_device_802_11_wireless_get_bitrate): return rate in Kb/s
5449 * libnm-glib/nm-access-point.c
5450 libnm-glib/nm-access-point.h
5451 - 'rate' -> 'max-bitrate'
5454 libnm-glib/libnm-glib-test.c
5455 - Fix up for these changes
5457 2008-03-12 Dan Williams <dcbw@redhat.com>
5460 - (nm_device_set_ip4_config): don't send property notifications when
5461 the ip4 config is set to NULL; it causes a PropertyChanged signal
5462 which dbus-glib can't parse because the value is NULL, which isn't
5463 a legal object path. Setting the IP4 config to NULL is only
5464 valid when deactivating a device anyway, so the device state change
5465 will alert listeners that the ip4 config is invalid.
5467 2008-03-12 Dan Williams <dcbw@redhat.com>
5469 * src/nm-properties-changed-signal.c
5470 - (add_to_string): better handling of NULL objects
5472 2008-03-12 Dan Williams <dcbw@redhat.com>
5474 Move the 'carrier' property from NMDevice to NMDevice8023Ethernet;
5475 convert the libnm-glib NMDevice8023Ethernet to cached properties
5477 * introspection/nm-device-802-3-ethernet.xml
5478 - New 'Carrier' property
5479 - New 'PropertiesChanged' signal
5481 * introspection/nm-device.xml
5482 - Remove 'Carrier' property
5483 - Remove 'CarrierChanged' signal
5485 * src/nm-device-interface.c
5486 src/nm-device-interface.h
5487 - (nm_device_interface_init): remove 'carrier' property and
5488 'carrier-changed' signal
5492 - (nm_device_get_carrier, nm_device_set_carrier): remove
5493 - (nm_device_activate_stage5_ip_config_commit): don't bother updating
5494 the link here; wired device will handle that
5495 - (handle_dhcp_lease_change): don't bother updating link here
5496 - (get_property, nm_device_class_init): remove carrier property
5498 * src/nm-device-802-11-wireless.c
5499 - (real_update_link, nm_device_802_11_wireless_class_init): remove
5500 real_update_link(); wireless devices don't use carrier at all
5501 - (link_timeout_cb, supplicant_iface_state_cb_handler,
5502 supplicant_iface_connection_state_cb_handler,
5503 supplicant_mgr_state_cb_handler): remove anything to do with carrier
5505 * src/nm-device-802-3-ethernet.c
5506 src/nm-device-802-3-ethernet.h
5507 - (nm_device_802_3_ethernet_carrier_on,
5508 nm_device_802_3_ethernet_carrier_off, constructor): use set_carrier()
5509 instead of nm_device_set_carrier()
5510 - (device_state_changed): update link from sysfs on activation;
5511 replaces real_update_link()
5512 - (real_update_link): remove, replaced by device_state_changed()
5513 - (nm_device_802_3_ethernet_get_carrier, set_carrier): new functions
5514 - (nm_device_802_3_ethernet_get_speed): move up with other getters/setters
5515 - (real_get_generic_capabilities, real_can_interrupt_activation): use
5516 new get_carrier function
5517 - (get_property): add 'carrier' property
5518 - (nm_device_802_3_ethernet_class_init): add 'carrier' property and
5519 hook into property-changed signal helper
5521 * src/NetworkManagerPolicy.c
5522 - (device_carrier_changed): will only ever be called with a wired device
5523 - (device_added): only hook up to carrier-changed for wired devices
5525 * libnm-glib/nm-device.c
5526 libnm-glib/nm-device.h
5527 - (constructor, nm_device_class_init): remove carrier-changed signal
5528 - (device_carrier_changed_proxy): remove; unused
5529 - (nm_device_get_carrier): remove; carrier a property of wired devices
5531 * libnm-glib/nm-device-802-3-ethernet.c
5532 libnm-glib/nm-device-802-3-ethernet.h
5533 - Convert to cached properties like AP and Wireless objects
5534 - (nm_device_802_3_ethernet_get_hw_address): now returns a 'const char *'
5535 instead of a 'char *', return value should not be freed
5536 - (nm_device_802_3_ethernet_get_carrier): return current carrier status
5537 - (constructor): hook into properties-changed helper
5538 - (set_property, get_property): new functions
5539 - (nm_device_802_3_ethernet_class_init): export GObject properties
5542 - (detail_device): strdup the wired hardware address too since it's
5545 * libnm-glib/libnm-glib-test.c
5546 - (dump_wired): strdup the wired hardware address too since it's
5549 2008-03-12 Dan Williams <dcbw@redhat.com>
5551 * libnm-util/nm-setting-ip4-config.c
5552 libnm-util/nm-setting-ip4-config.h
5553 - (set_property, get_property, nm_setting_ip4_config_class_init): add
5554 the 'autoip' property from the spec
5556 2008-03-11 Dan Williams <dcbw@redhat.com>
5558 * src/backends/NetworkManagerGeneric.c
5559 src/backends/NetworkManagerGeneric.h
5560 - (nm_generic_device_get_use_dhcp): remove
5562 2008-03-11 Dan Williams <dcbw@redhat.com>
5565 - (nm_device_deactivate): don't need to munge DNS here; that gets done
5566 already in nm_device_set_ip4_config()
5567 - (handle_dhcp_lease_change): fail the device if setting the IP4Config
5568 due to a DHCP rebind fails
5569 - (nm_device_set_ip4_config): send property notifications when the
5571 - (get_property): only report IP4Config property during valid states
5573 * src/NetworkManagerPolicy.c
5574 - (update_routing_and_dns): ignore devices that don't have an ip4
5575 config; add parameter 'force_update' to allow callers to specify
5576 that changes should be made even if the default device doesn't change
5577 - (device_ip4_config_changed): update DNS and routing when the device's
5578 IP4Config changes, like for DHCP updates
5579 - (device_added): listen for ip4-config property changes
5581 2008-03-11 Dan Williams <dcbw@redhat.com>
5583 Fix address handling as a result of DHCP rebind/renew/reboot.
5585 * src/NetworkManagerSystem.c
5586 - (check_one_address): delete an address if it doesn't match a given
5587 one for the same interface
5588 - (nm_system_device_set_from_ip4_config): don't flush the default route,
5589 be smarter about flushing addresses (only flush ones that don't
5590 match the one we're about to apply)
5592 * src/backends/NetworkManagerDebian.c
5593 src/backends/NetworkManagerSuSE.c
5594 src/backends/NetworkManagerArch.c
5595 src/backends/NetworkManagerSlackware.c
5596 src/backends/NetworkManagerRedHat.c
5597 src/backends/NetworkManagerPaldo.c
5598 src/backends/NetworkManagerFrugalware.c
5599 src/backends/NetworkManagerGentoo.c
5600 - (nm_system_delete_default_route): remove
5602 * src/backends/NetworkManagerGeneric.c
5603 src/backends/NetworkManagerGeneric.h
5604 - (nm_generic_enable_loopback): fix the loopback device label
5605 - (nm_generic_delete_default_route): remove; no longer used
5607 2008-03-11 Dan Williams <dcbw@redhat.com>
5609 * src/nm-device-interface.h
5610 - Delimit property name words with '-', otherwise g_object_notify()
5611 doesn't work the way we expect
5613 2008-03-11 Tambet Ingo <tambet@gmail.com>
5615 * src/nm-hal-manager.c (create_device_and_add_to_list): Don't ignore USB devices.
5617 2008-03-11 Dan Williams <dcbw@redhat.com>
5619 * src/NetworkManagerPolicy.c
5620 - (update_routing_and_dns): don't change anything if the default device
5621 hasn't changed; print something out when switching the default route
5624 2008-03-10 Tambet Ingo <tambet@gmail.com>
5628 * src/ppp-manager/nm-ppp-manager.c (create_pppd_cmd_line): Use PPPoE service
5629 setting. Use "nic-$eth".
5631 * src/NetworkManagerPolicy.c (auto_activate_device): Move the check of whether
5632 the device is activating here to fix a race condition.
5634 * src/ppp-manager/nm-pppd-plugin.c (get_credentials): Implement.
5636 * src/ppp-manager/nm-ppp-manager.c (impl_ppp_manager_need_secrets): Implement.
5637 (ppp_watch_cb): Emit a signal to notify pppd is not running anymore.
5638 (nm_ppp_manager_start): Take activation request instead of connection, we might
5639 need it for asking secrets.
5640 (nm_ppp_manager_update_secrets): Implement.
5642 * src/nm-serial-device.c (real_act_stage2_config): Send activation request to
5643 ppp manager start. It might be needed for asking secrets.
5645 * src/nm-device-802-3-ethernet.c (real_connection_secrets_updated): Implement.
5646 (ppp_state_changed): Handle pppd daemon disappearing.
5647 (pppoe_stage2_config): Send activation request to ppp manager start.
5649 * libnm-util/nm-setting-pppoe.c (nm_setting_pppoe_class_init): Fix a typo.
5651 * introspection/nm-ppp-manager.xml: Make NeedSecrets method async, return only
5652 username and password.
5654 2008-03-10 Dan Williams <dcbw@redhat.com>
5657 - (handle_dhcp_lease_change): apply an IP4 config to a device in
5658 response to a DHCP lease change
5659 - (dhcp_state_changed): handle DHCP lease changes while activated
5660 - (nm_device_set_ip4_config): remove a previously set named config
5661 when setting an ip4 config
5663 2008-03-10 Dan Williams <dcbw@redhat.com>
5665 * src/nm-serial-device.c
5666 - (nm_serial_device_send_command): report errno on error
5667 - (get_reply_got_data): limit the size of the overall buffer
5668 - (wait_for_reply_info_destroy): destroy result string
5669 - (wait_for_reply_got_data): append received data to an overall buffer
5670 until timeout, filled buffer, or error instead of keeping a per-call
5671 buffer. Some devices send data slowly enough that this function
5672 gets called multiple times for the same command stream.
5673 - (nm_serial_device_wait_for_reply): initialize overall buffer for
5674 wait_for_reply_got_data() here
5676 2008-03-10 Dan Williams <dcbw@redhat.com>
5678 * src/nm-cdma-device.c
5679 - (do_dial, init_modem): handle errors from
5680 nm_serial_device_send_command_string()
5682 * src/nm-gsm-device.c
5683 - (do_dial, manual_registration, automatic_registration_get_network,
5684 automatic_registration, enter_pin, check_pin, init_modem): handle
5685 errors from nm_serial_device_send_command_string()
5687 2008-03-10 Dan Williams <dcbw@redhat.com>
5689 Patch based on ideas suggested by Bas Zoetekouw <bas@debian.org>
5691 * src/named-manager/nm-named-manager.c
5692 - (compute_searches): prefer searches before domains
5693 - (compute_domain): new function
5694 - (rewrite_resolv_conf): write out the 'domain' and 'searches' options
5695 - (merge_one_ip4_config): if there are no searches in the source config,
5696 merge domains of the source config into the target config
5697 - (compute_nameservers): make formatting of resolv.conf a bit nicer
5699 2008-03-10 Dan Williams <dcbw@redhat.com>
5701 * src/nm-serial-device.c
5702 - (get_reply_got_data): clean up indentation, shrink serial buffer
5703 - (wait_for_reply_got_data): try to handle slower serial devices where
5704 the reply is broken up into multiple reads by concatenating replies
5705 together until either an error is received or the search string is
5708 2008-03-10 Dan Williams <dcbw@redhat.com>
5711 - (nm_device_bring_down): deactivate the device if it's activating too,
5712 not just if it's already activated. This makes sure that everything
5713 from an association attempt is cleaned up (like DHCP for example)
5715 2008-03-10 Dan Williams <dcbw@redhat.com>
5717 * src/nm-serial-device.c
5718 - (config_fd): report error from TCSETA
5719 - (nm_serial_device_open): fail when config_fd() fails
5721 2008-03-10 Dan Williams <dcbw@redhat.com>
5723 * src/nm-ip4-config.c
5724 - (nm_ip4_config_init): allocate searches list
5725 - (finalize): free searches list
5727 2008-03-09 Dan Williams <dcbw@redhat.com>
5729 Patch from Bas Zoetekouw <bas@debian.org>
5731 * src/dhcp-manager/nm-dhcp-manager.c
5732 - (nm_dhcp_manager_get_ip4_config): handle domain-search option too
5734 2008-03-09 Dan Williams <dcbw@redhat.com>
5736 Patch from Bas Zoetekouw <bas@debian.org>
5738 * src/nm-ip4-config.c
5740 - (nm_ip4_config_add_search, nm_ip4_config_get_search,
5741 nm_ip4_config_get_num_searches): add 'searches' as distinct from
5742 domains. 'searches' is the correct way to store multiple search
5743 domains, whereas 'domains' is really just supposed to store one
5744 domain. Some sites abuse the DHCP 'domain-name' option to push
5745 search domains to the client.
5746 - (nm_ip4_config_add_domain): group with related functions (my patch)
5748 2008-03-09 Dan Williams <dcbw@redhat.com>
5750 * src/dhcp-manager/nm-dhcp-manager.c
5751 - (dhclient_run): send interface-specific config files to dhclient
5753 2008-03-07 Dan Williams <dcbw@redhat.com>
5755 * system-settings/plugins/ifcfg-fedora/parser.c
5756 - (is_wireless_device): new function; test a device for wireless
5758 - (parser_parse_file): if the ifcfg file doesn't have a TYPE tag,
5759 test the device for wireless extensions to determine the type
5761 2008-03-07 Dan Williams <dcbw@redhat.com>
5763 Change manager's StateChange signal to StateChanged for consistency.
5765 * introspection/nm-manager.xml
5766 - Add 'StateChanged' signal
5767 - Move 'StateChange' down to the deprecated section
5769 * src/nm-hal-manager.c
5770 - (nm_hal_manager_new): connect to 'state-changed' instead
5772 * src/NetworkManagerPolicy.c
5773 - (nm_policy_new): connect to 'state-changed' instead
5777 - (nm_manager_update_state): emit both 'state-changed' and 'state-change'
5778 - (nm_manager_class_init): add 'state-changed' and not the deprecation
5781 * libnm-glib/nm-client.c
5782 libnm-glib/nm-client.h
5783 - (constructor, nm_client_class_init, client_state_changed_proxy):
5784 track and proxy 'state-changed' instead of 'state-change'
5786 2008-03-07 Dan Williams <dcbw@redhat.com>
5788 First pass of multiple active device support. Expect bugs.
5790 * src/nm-ip4-config.c
5792 - (nm_ip4_config_get_secondary, nm_ip4_config_set_secondary): remove;
5793 there are better ways to do this in the named manager
5797 - (nm_device_can_activate): return whether the device can activate a
5798 connection right now; taking into account things like carrier state
5800 - (nm_device_get_best_auto_connection): renamed from
5801 nm_device_get_best_connection
5802 - (real_act_stage4_get_ip4_config): MTU stuff is now handled in the
5803 device subclasses themselves, so that each device can override the
5804 MTU from it's NMSetting subclass if needed
5805 - (nm_device_set_ip4_config): set MTU when setting up routes and stuff
5806 in NetworkManagerSystem.c, not here
5808 * src/named-manager/nm-named-manager.c
5809 src/named-manager/nm-named-manager.h
5810 - (nm_named_manager_name_owner_changed,
5811 nm_named_manager_dbus_connection_changed): fix for changes to
5812 rewrite_resolv_conf()
5813 - (compute_nameservers): don't need the NMNamedManager at all, remove
5815 - (merge_one_ip4_config): new function; merge ip4 configs together
5816 - (rewrite_resolv_conf): write out resolv.conf from all the stored
5817 ip4 configs; the VPN config takes precedence, then the best
5818 device config, then the rest of the configs
5819 - (get_domain_for_config): take the NMNamedManager as an argument
5820 to check whether the config is the VPN config
5821 - (add_ip4_config_to_named): fixups for removal of the 'secondary'
5822 attribute from ip4 configs
5823 - (add_all_ip4_configs_to_named): add all the configs in priority order
5824 - (remove_ip4_config_from_named): fix for changes to
5825 get_domain_for_config()
5826 - (nm_named_manager_add_ip4_config): assign the config to the right slot
5827 based on its type; callers must pass in the type now
5828 - (get_last_default_domain): remove, unused
5829 - (nm_named_manager_remove_ip4_config): handle config slots correctly
5831 * src/nm-device-802-11-wireless.c
5832 - (real_can_activate): new function
5833 - (real_get_best_auto_connection): renamed from real_get_best_connection
5834 - (real_act_stage4_get_ip4_config): handle MTU override
5836 * src/nm-device-802-3-ethernet.c
5837 - (real_can_activate): new function
5838 - (real_get_best_auto_connection): renamed from real_get_best_connection
5839 - (real_act_stage4_get_ip4_config): new function; handle MTU override
5841 * src/vpn-manager/nm-vpn-connection.c
5842 - (nm_vpn_connection_ip4_config_get): don't need to set the 'secondary'
5843 attribute on the ip4 config
5845 * src/NetworkManagerPolicy.c
5846 - (nm_policy_auto_get_best_device): remove
5847 - (nm_policy_device_change_check): remove
5848 - (update_default_route): new function; set the default route via
5849 the specified device
5850 - (get_device_priority): new function; return the priority number of
5851 a device type WRT which one should have the default route. Order is
5852 (highest to lowest) wired, wireless, GSM, CDMA.
5853 - (update_routing_and_dns): new function; determine which device should
5854 have the default route, then update the routing table and DNS
5855 - (maybe_auto_activate_device): new function; if a device is now
5856 available for activation, find out what connection it would like to
5858 - (schedule_activate_check): new function; if a device can be activated
5859 now, schedule the activation. Each device may have only one
5860 pending activation at a given time.
5861 - (device_state_changed): if activation was canceled, try again,
5862 possibly with another connection; if the device was activated,
5863 update routing and DNS; if the device was deactivated, try again
5864 with another connection
5865 - (device_carrier_changed): if there is no carrier, deactivate the
5866 device; otherwise schedule an activation check for the device
5867 - (wireless_networks_changed): schedule an activation check for the
5869 - (device_added): keep track of the signal handler IDs so they can
5870 be removed when the device goes away
5871 - (device_removed): remove any signal handlers that might be attached
5872 to the device; update routing and DNS
5873 - (schedule_activate_all): new function
5874 - (connections_added, connection_added, connection_updated): when
5875 connections change, schedule all devices for an activation check
5876 - (connection_removed): when a device is deactivated because its
5877 connection was removed, schedule another activation check for it
5878 - (nm_policy_destroy): destroy pending activations and disconnect
5879 all device signal handlers
5882 - (nm_manager_activate_device): if the device was already actived,
5884 - (deactivate_old_device): remove
5885 - (connection_added_default_handler, impl_manager_activate_device):
5886 don't deactivate other devices when activating this one
5888 * src/backends/NetworkManagerGentoo.c
5889 src/backends/NetworkManagerFrugalware.c
5890 src/backends/NetworkManagerPaldo.c
5891 src/backends/NetworkManagerRedHat.c
5892 src/backends/NetworkManagerSlackware.c
5893 src/backends/NetworkManagerArch.c
5894 src/backends/NetworkManagerSuSE.c
5895 src/backends/NetworkManagerDebian.c
5896 - (nm_system_get_mtu): remove; MTU should be provided through the
5897 distro's system settings service plugin instead
5898 - (nm_system_device_add_default_route_via_device): remove
5899 - (nm_system_device_add_default_route_via_device_with_iface): remove
5900 - (nm_system_device_replace_default_route): new function; call
5901 generic implementation
5903 * src/backends/NetworkManagerGeneric.c
5904 src/backends/NetworkManagerGeneric.h
5905 - (nm_generic_device_add_default_route_via_device,
5906 nm_generic_device_add_default_route_via_device_with_iface): remove
5907 - (nm_generic_device_replace_default_route): replace the default route
5908 with the given route via some gateway
5910 * src/NetworkManagerSystem.c
5911 src/NetworkManagerSystem.h
5912 - (nm_system_device_set_from_ip4_config): let the policy handle updates
5913 to routing and DNS; but set the MTU here
5914 - (nm_system_vpn_device_set_from_ip4_config): set the route with the
5915 ip_iface of the active device; use the standard MTU setting function
5916 - (nm_system_set_mtu): remove
5917 - (nm_system_device_set_mtu): consolidate MTU setting code in one place
5919 2008-03-07 Tambet Ingo <tambet@gmail.com>
5921 Rework the interaction between ppp manager and pppd plugin. Register a well
5922 known DBUS service in manager and let the plugin call it's methods instead
5923 of listening plugin's signals.
5925 * src/ppp-manager/nm-pppd-plugin.c: Call ppp-manager dbus methods instead
5926 of emitting signals.
5928 * src/ppp-manager/nm-ppp-manager.c: Implement dbus service here.
5930 * src/ppp-manager/Makefile.am: Build nm-ppp-manager-glue.h.
5932 * src/nm-serial-device.c (real_act_stage2_config): Pass NMConnection to
5933 nm_ppp_manager_start().
5935 * introspection/nm-ppp-manager.xml: New file.
5937 * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_get_speed): Handle
5938 the case correctly where driver is trying to send -1 for the speed, which gets
5939 casted to u16 and thus is always > 0.
5941 2008-03-07 Dan Williams <dcbw@redhat.com>
5943 * src/nm-hal-manager.c
5944 - (nm_get_device_driver_name): use net.originating_device first, fall
5945 back to physical device. HAL has deprecated physical_device.
5947 * libnm-glib/nm-device.c
5948 - (get_product_and_vendor): use net.originating_device first, fall
5949 back to physical device. HAL has deprecated physical_device.
5950 - (nm_device_update_description): s/physical_device_udi/orig_dev_udi
5952 2008-03-07 Dan Williams <dcbw@redhat.com>
5955 - (nm_netlink_get_default_handle): mistakenly removed too much code in
5956 last commit; fix that
5957 - (get_link_cache): print error string
5959 2008-03-07 Dan Williams <dcbw@redhat.com>
5962 - (nm_netlink_get_default_handle): NMNetlinkMonitor now uses libnl,
5963 don't need this hack any more (Benoit Boissinot)
5965 2008-03-06 Dan Williams <dcbw@redhat.com>
5968 - Die gnome-common, die
5970 2008-03-04 Dan Williams <dcbw@redhat.com>
5972 Patch from Michael Biebl <biebl@debian.org>
5974 * NetworkManager.pc.in
5975 - doesn't actually depend on dbus-1
5977 * libnm-util/nm-utils.h
5978 - remove unused #include <dbus/dbus.h>
5980 * libnm-glib/libnm_glib.pc.in
5981 - depends on glib and dbus-glib
5983 2008-03-02 Dan Williams <dcbw@redhat.com>
5985 * src/NetworkManagerPolicy.c
5986 - s/device_state_changed_idle_id/update_state_id/
5988 2008-03-02 Dan Williams <dcbw@redhat.com>
5992 src/nm-device-802-11-wireless.c
5993 src/nm-device-802-3-ethernet.c
5994 src/NetworkManagerPolicy.c
5995 - s/link_active/carrier
5996 - nm_device_set_active_link() -> nm_device_set_carrier()
5997 - nm_device_has_active_link() -> nm_device_get_carrier()
5999 2008-03-02 Dan Williams <dcbw@redhat.com>
6001 * system-settings/plugins/ifcfg-fedora/parser.c
6002 - (make_wireless_setting): fail connection creation on missing SSID
6004 2008-02-29 Dan Williams <dcbw@redhat.com>
6006 * src/NetworkManagerPolicy.c
6007 - (nm_policy_device_change_check): ensure that a previously active
6008 device with a system connection has a link before denying a switch
6009 to a user connection
6011 2008-02-29 Dan Williams <dcbw@redhat.com>
6013 * src/nm-device-802-11-wireless.c
6014 - (link_timeout_cb): try again if scanning; deactivate the device when
6015 activated if the link dies
6016 - (supplicant_iface_connection_state_cb_handler): bump link timeout to
6019 2008-02-29 Dan Williams <dcbw@redhat.com>
6021 * src/nm-device-802-11-wireless.c
6022 src/nm-device-802-11-wireless.h
6023 - (nm_device_802_11_wireless_reset_scan_interval): remove, unused
6024 elsewhere; fold into the sole user in nm-device-802-11-wireless.c
6025 - (device_cleanup): reset the scan interval lower when the device
6027 - (can_scan): base decision mostly off device state, not supplicant
6028 interface state since the supplicant interface state isn't a
6029 great indicator of whether the device is active or not
6030 - (request_wireless_scan): clean up; schedule the next scan here
6031 - (schedule_scan): only back the scan interval off if a new scan
6032 actually gets scheduled; and make scan intervals tighter when the
6033 device is disconnected
6034 - (supplicant_iface_state_cb_handler): fold in the bits of
6035 nm_device_802_11_wireless_reset_scan_interval() by resetting scan
6037 - (activation_success_handler): reset scan interval to something
6040 2008-02-28 Saleem Abdulrasool <compnerd@compnerd.org>
6042 reviewed by: Steev <steev@steev.net>
6045 * src/backends/NetworkManagerGentoo.c:
6046 (nm_system_restart_mdns_responder):
6047 Howl is no longer a supported mDNS provider
6049 2008-02-28 Tambet Ingo <tambet@gmail.com>
6051 Get rid of a bunch of unused distro specific functions.
6053 2008-02-28 Tambet Ingo <tambet@gmail.com>
6055 Implement suse plugin for system settings daemon.
6057 * system-settings/plugins/ifcfg-suse/*: Implement.
6059 * system-settings/plugins/Makefile.am: Add ifcfg-suse to subdirs when targeting
6062 * configure.in: Check (without failing) for gio.
6063 Create ifcfg-suse plugin's Makefile.
6065 2008-02-20 Dan Williams <dcbw@redhat.com>
6067 * libnm-util/nm-connection.c
6068 libnm-util/nm-connection.h
6069 - (nm_connection_compare): accept compare flags and pass them to the
6070 setting compare function
6072 * libnm-util/nm-setting.c
6073 libnm-util/nm-setting.h
6074 - (nm_setting_compare): accept compare flags; ignore properties that are
6077 * libnm-util/nm-setting-connection.c
6078 libnm-util/nm-setting-wireless.c
6079 libnm-util/nm-setting-ppp.c
6080 libnm-util/nm-setting-wired.c
6081 - Mark some setting properties as ignorable when doing a fuzzy compare
6084 - (device_activation_precheck): use exact compare
6086 2008-02-20 Dan Williams <dcbw@redhat.com>
6088 * src/NetworkManagerPolicy.c
6089 - (nm_policy_device_change_check): get scope off the connection, not
6090 using the manager helper
6094 - (get_scope_for_proxy): rename from get_type_for_proxy()
6095 - (connection_get_settings_cb): set scope and path on connection, not
6096 using GObject data items
6097 - (get_connection_for_proxy): don't need to return path, since that
6098 can be gotten from the connection
6099 - (get_connection_for_proxy): get path off the connection, not from
6101 - (connection_removed_cb, connection_updated_cb): don't need to get
6102 path from get_connection_for_proxy(); get scope off the connection
6103 instead of using GObject data items
6104 - (connection_added_default_handler, add_one_connection_element): use
6105 nm_connection_get_path() not nm_manager_get_connection_dbus_path()
6106 - (nm_manager_get_connection_dbus_path): remove
6107 - (nm_manager_get_connection_scope): remove
6109 2008-02-20 Dan Williams <dcbw@redhat.com>
6111 * Global rename of NMConnectionSettings -> NMExportedConnection to cut down
6114 * Add 'path' and 'scope' properties to NMConnection since both NM and the
6115 applet were having to hack this in anyway. Remove the 'path' stuff from
6116 NMExportedConnection
6118 * Internally rename NMConnectionType -> NMConnectionScope
6120 * Provide default implementations of the 'get_id' and 'get_settings' methods
6121 of NMExportedConnection
6123 2008-02-15 Dan Williams <dcbw@redhat.com>
6125 * src/nm-device-802-11-wireless.c
6126 - (device_cleanup): release the AP list here too so that the AP list
6127 doesn't survive across suspend/resume and up/down. There is some
6128 room for optimization, for example blow the list away when the card
6129 brought back up, but only if the device has only been down for a
6132 2008-02-15 Dan Williams <dcbw@redhat.com>
6134 * src/nm-hal-manager.c
6135 - (modem_device_creator): recognize new HAL modem capabilities
6137 2008-02-12 Dan Williams <dcbw@redhat.com>
6139 * system-settings/plugins/ifcfg-fedora/plugin.c
6140 - (watch_path): handle IN_DELETE_SELF too
6141 - (handle_connection_changed): notify when removing a connection
6142 - (stuff_changed): don't warn on unknown inotify watches; handle the
6143 case of a file moving out of the profile directory
6145 2008-02-12 Dan Williams <dcbw@redhat.com>
6147 * system-settings/plugins/ifcfg-fedora/parser.c
6148 - (make_ip4_setting): bring IPv4 setting handling more up to spec
6150 2008-02-12 Dan Williams <dcbw@redhat.com>
6152 * libnm-util/nm-utils.c
6153 - (nm_utils_convert_uint_array_to_string): don't die on NULL array, it's
6154 just any empty array
6156 2008-02-12 Dan Williams <dcbw@redhat.com>
6158 * system-settings/src/nm-system-config-interface.c
6159 system-settings/src/nm-system-config-interface.h
6160 - (load_connections): get_connections() should now return an allocated
6161 GSList that the system settings service will free
6163 * system-settings/plugins/ifcfg-fedora/plugin.c
6164 system-settings/plugins/ifcfg-fedora/parser.h
6165 system-settings/plugins/ifcfg-fedora/parser.c
6166 - Fix up inotify issues; handle keys-* files, handle new files appearing
6167 in the profile directory, handle resolv.conf file changes
6169 2008-02-10 Dan Williams <dcbw@redhat.com>
6171 * src/nm-device-802-3-ethernet.c
6172 - (real_bring_up): save the supplicant interface state signal id
6173 - (real_bring_down): disconnect from the supplicant interface state
6176 2008-02-07 Dan Williams <dcbw@redhat.com>
6178 * initscript/RedHat/NetworkManager.in
6179 initscript/RedHat/NetworkManagerDispatcher.in
6180 - Add new-style LSB init headers
6182 2008-02-07 Dan Williams <dcbw@redhat.com>
6184 * system-settings/src/dbus-settings.c
6185 system-settings/src/dbus-settings.h
6186 - (add_one_secret_to_hash): copy secrets out of the plugin-returned hash
6188 - (connection_settings_get_secrets): consolidate error returns into
6189 one place; use the new get_secrets() plugin interface function to
6190 get secrets from the plugin itself rather than using GObject data
6193 * system-settings/src/main.c
6194 - (connection_added_cb, connection_removed_cb, free_plugin_connections,
6195 load_connections): keep a private list of the plugin-returned
6196 connections, don't use the plugin's GSList
6198 * system-settings/plugins/ifcfg-fedora/plugin.c
6199 - (watch_path): watch the path, not the filename (duh)
6200 - (reload_all_connections): use the direct hash/equal functions; the
6201 ones for int aren't appropriate here
6202 - (get_secrets, system_config_interface_init): implement the
6203 get_secrets() function
6204 - (build_one_connection, find_connection_by_path): ifcfg file path is
6205 now in the connection's ConnectionData instead of being a GObject
6207 - (handle_profile_item_changed): ifcfg file path is now in the
6208 connection's ConnectionData instead of being a GObject data property;
6209 be sure to copy secrets over from the new connection to the existing
6210 connection when updating the connection's settings
6211 - (init): sc_plugin_inotify_init() returns success/fail, not the inotify
6214 * system-settings/plugins/ifcfg-fedora/parser.c
6215 system-settings/plugins/ifcfg-fedora/parser.h
6216 - (connection_data_get, copy_one_cdata_secret, clear_one_cdata_secret,
6217 connection_data_copy_secrets, connection_data_free,
6218 connection_data_add): new functions; connection data manipulation
6219 - (make_wireless_security_setting): stuff secrets into the
6220 connection data, not as GObject data items; make sure to close
6222 - (wireless_connection_from_ifcfg, wired_connection_from_ifcfg): add
6223 connection data to the connection
6225 2008-02-07 Dan Williams <dcbw@redhat.com>
6227 * system-settings/src/nm-system-config-interface.c
6228 system-settings/src/nm-system-config-interface.h
6229 - Add a get_secrets() interface function to retrieve secrets for a
6230 specific setting of a specific connection. Document the interface
6233 2008-02-07 Dan Williams <dcbw@redhat.com>
6235 * src/nm-device-802-11-wireless.c
6236 - (handle_auth_or_fail): new function; consolidate device activation
6237 failure check after a certain number of failures getting secrets
6238 - (supplicant_connection_timeout_cb, real_act_stage2_config,
6239 real_act_stage4_ip_config_timeout): use handle_auth_or_fail() to fail
6240 the connection if secrets were requested more than a few times
6241 - (real_act_stage3_ip_config_start): don't clear the wireless secrets
6242 tries here; otherwise they are cleared before the IP configure
6243 timeout, which happens with open system WEP when key is wrong
6244 - (activation_success_handler): clear wireless secrets tries here too
6246 2008-02-07 Dan Williams <dcbw@redhat.com>
6248 * src/NetworkManagerPolicy.c
6249 - (connection_updated): clear invalid tag when connection gets updated
6250 to allow that connection to be tried again
6251 - (nm_policy_new): save signal ids so they can be disconnected when
6252 the policy is destroyed
6253 - (nm_policy_destroy): stop any in-progress state change idle handler,
6254 and disconnect all signals from the manager object so that none
6255 of the policy functions gets called after the policy is destroyed
6257 2008-02-06 Dan Williams <dcbw@redhat.com>
6260 - (finalize): remove devices a bit earlier; clean up system settings
6262 - (nm_manager_name_owner_changed): clean up system settings poke when
6263 the service appears, and try to restart it if it fails
6264 - (poke_system_settings_daemon_cb): try to get the system settings
6265 service started through D-Bus service activation
6266 - (initial_get_connections): start the system settings daemon if it's
6269 2008-02-05 Dan Williams <dcbw@redhat.com>
6271 * src/supplicant-manager/nm-supplicant-config.c
6272 - (nm_supplicant_config_add_setting_wireless): send scan_ssid=1 for
6273 broadcast networks too
6275 2008-02-04 Dan Williams <dcbw@redhat.com>
6277 * system-settings/plugins/ifcfg-fedora/parser.c
6278 - (make_wireless_security_setting): fix spelling; unencrypted networks
6279 need key_mgmt set too
6280 - (parser_parse_file): validate ifcfg file name and don't try to parse
6281 .bak files; ensure that an error is set whenever NULL gets returned
6283 2008-02-04 Dan Williams <dcbw@redhat.com>
6285 * system-settings/src/Makefile.am
6286 - Install D-Bus service activation file for the system settings
6289 * system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service
6290 - D-Bus service activation file for system settings service
6292 2008-02-04 Dan Williams <dcbw@redhat.com>
6294 * system-settings/src/main.c
6295 - (parse_config_file): parse a config file
6296 - (main): accept --config option and read plugins from config file
6298 2008-02-04 Dan Williams <dcbw@redhat.com>
6300 * system-settings/plugins/ifcfg-fedora/plugin.c
6301 - Change reported name to 'ifcfg-fedora'
6302 - Use IFCFG_PLUGIN_NAME
6304 * system-settings/plugins/ifcfg-fedora/plugin.c
6305 - Remove PLUGIN_NAME, use IFCFG_PLUGIN_NAME instead
6307 2008-02-04 Dan Williams <dcbw@redhat.com>
6309 * system-settings/plugins/ifcfg-fedora/parser.c
6310 - (get_ifcfg_name): new function; factor out ifcfg name finding code
6311 - (make_connection_setting): use get_ifcfg_name()
6312 - (make_wireless_security_setting): handle shadow key files
6313 - (get_one_wep_key): treat empty string as NULL
6315 2008-02-04 Dan Williams <dcbw@redhat.com>
6317 * src/supplicant-manager/nm-supplicant-manager.c
6318 - (poke_supplicant_cb): reschedule the poke as a timeout, don't let
6319 glib automatically reschedule
6320 - (nm_supplicant_manager_init): immediately try to start the supplicant
6321 - (nm_supplicant_manager_name_owner_changed): immediately try to restart
6324 2008-02-01 Dan Williams <dcbw@redhat.com>
6326 * src/NetworkManagerPolicy.c
6327 - (device_state_changed): schedule a change check when a device gets
6328 deactivated so something happens if you disconnect GSM/CDMA
6330 2008-01-31 Dan Williams <dcbw@redhat.com>
6332 * src/nm-device-802-11-wireless.h
6333 src/nm-device-802-11-wireless.c
6334 - (ap_list_get_ap_by_ssid, is_associated,
6335 nm_device_802_11_wireless_ap_list_get_ap_by_ssid,
6336 nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): remove
6337 - (nm_device_802_11_wireless_get_activation_ap): collapse
6338 nm_device_802_11_wireless_ap_list_get_ap_by_obj_path() into this
6341 2008-01-30 Dan Williams <dcbw@redhat.com>
6343 * system-settings/plugins/ifcfg
6344 * system-settings/plugins/ifcfg-fedora
6345 - Move the ifcfg plugin to ifcfg-fedora
6347 2008-01-24 Dan Williams <dcbw@redhat.com>
6349 * libnm-glib/nm-device-802-11-wireless.c
6350 - (get_access_point): move the "/" check here; check for invalid path
6352 - (nm_device_802_11_wireless_set_active_ap): leave the "/" check up
6353 to get_access_point()
6354 - (access_point_added_proxy, access_point_removed_proxy): don't try
6355 to send signals for non-existent access points
6357 2008-01-24 Dan Williams <dcbw@redhat.com>
6359 * libnm-glib/nm-device-802-11-wireless.c
6360 - (nm_device_802_11_wireless_set_active_ap): path of "/" means no AP
6362 2008-01-23 Dan Williams <dcbw@redhat.com>
6364 * libnm-glib/libnm_glib.c
6365 - (libnm_glib_init): make thread joinable
6366 - (libnm_glib_ctx_free): join thread on exit to clean up memory
6368 2008-01-23 Dan Williams <dcbw@redhat.com>
6370 * test/libnm_glib_test.c
6371 - (signal_handler, setup_signals): trap SIGINT and SIGTERM
6372 - (main): set up signal handlers; call libnm_glib_shutdown
6374 2008-01-21 Dan Williams <dcbw@redhat.com>
6376 * include/NetworkManager.h
6377 - Add CDMA mobile broadband card device type
6379 * src/nm-hal-manager.c
6380 - (modem_device_creator): handle both CDMA and GSM modems; the device
6381 must now be tagged with 'cdma' or 'gsm' capability
6383 * src/nm-cdma-device.c
6384 src/nm-cdma-device.h
6386 - Add the CDMA mobile broadband card device class
6388 * libnm-util/nm-connection.c
6389 - (register_default_settings): add NMSettingCdma
6391 * libnm-util/nm-setting-cdma.c
6392 libnm-util/nm-setting-cdma.h
6393 libnm-util/Makefile.am
6394 - Add the CDMA mobile broadband card setting class
6396 * libnm-glib/nm-cdma-device.c
6397 libnm-glib/nm-cdma-device.h
6398 libnm-glib/Makefile.am
6399 - Add the CDMA mobile broadband card GLib proxy class
6401 * libnm-glib/nm-client.c
6402 - (get_device): handle CDMA devices too
6404 2008-01-21 Dan Williams <dcbw@redhat.com>
6406 * src/ppp-manager/nm-ppp-manager.c
6407 - (ip4_config_get): set peer address too
6409 * src/ppp-manager/nm-pppd-plugin.c
6410 - (nm_ip_up): try harder to get the peer's address
6412 * src/NetworkManagerSystem.c
6413 - (nm_system_device_set_from_ip4_config): if the IP4Config has a peer
6414 address, use that too. Otherwise, some PPP connections won't work.
6416 2008-01-19 Dan Williams <dcbw@redhat.com>
6418 * src/NetworkManagerPolicy.c
6419 - (nm_policy_device_change_check): system connections override user
6420 connections; don't activate a user connection if there's a currently
6421 active system connection, and new, better system connections always
6422 interrupt user connections
6424 2008-01-19 Dan Williams <dcbw@redhat.com>
6427 - (nm_manager_get_connection_type): new function
6429 2008-01-19 Dan Williams <dcbw@redhat.com>
6431 * src/nm-device-802-11-wireless.c
6432 - (real_get_best_connection): collapse find_best_connection() into this
6435 2008-01-19 Dan Williams <dcbw@redhat.com>
6437 * src/nm-device-802-3-ethernet.c
6438 - (real_get_best_connection): collapse find_best_connection() into this
6441 2008-01-18 Dan Williams <dcbw@redhat.com>
6443 * src/nm-device-802-3-ethernet.c
6444 - (find_best_connection): check MAC address too
6445 - (real_get_best_connection): let autoconnect=True connections activate
6446 for devices that don't have carrier detection
6448 * src/nm-device-802-11-wireless.c
6449 - (find_best_connection): check MAC address too
6451 2008-01-18 Dan Williams <dcbw@redhat.com>
6453 * system-settings/plugins/ifcfg/parser.c
6454 - (make_connection_setting): interpret ON_BOOT=y as 'autoconnect=True'
6456 2008-01-17 Dan Williams <dcbw@redhat.com>
6458 * src/nm-device-802-3-ethernet.c
6459 - (nm_device_802_3_ethernet_carrier_on,
6460 nm_device_802_3_ethernet_carrier_off): ignore any spurious netlink
6461 carrier events that might come in for devices that don't support
6464 2008-01-17 Dan Williams <dcbw@redhat.com>
6466 * src/nm-device-interface.c
6467 - (nm_device_interface_check_connection_conflicts): need to actually
6468 get the interface, not cast to the object
6471 - (nm_device_check_connection_conflicts): need to get the device class,
6472 not cast the device to the device class
6474 2008-01-17 Dan Williams <dcbw@redhat.com>
6476 * src/nm-device-802-11-wireless.c
6477 - (real_check_connection_conflicts): ignore connections that aren't
6478 wireless connections
6480 2008-01-17 Dan Williams <dcbw@redhat.com>
6482 * src/NetworkManagerPolicy.c
6483 - (nm_policy_device_change_check): clear change check idle here
6484 - (device_change_check_done): remove
6485 - (schedule_change_check): simplify
6487 2008-01-17 Dan Williams <dcbw@redhat.com>
6490 - (check_connection_allowed): take an NMDeviceInterface instead of
6491 an NMDevice object as an argument
6492 - (nm_manager_activate_device): pass an NMDeviceInterface to
6493 check_connection_allowed()
6495 2008-01-13 Dan Williams <dcbw@redhat.com>
6497 * libnm-glib/nm-device-802-11-wireless.c
6498 - (nm_device_802_11_wireless_get_access_points): fix memory leak
6500 2008-01-12 Dan Williams <dcbw@redhat.com>
6502 * src/nm-device-802-11-wireless.c
6503 - (activation_success_handler): if a match was found in the scan list
6504 and that match is a hidden AP, update that AP's SSID
6506 2008-01-11 Dan Williams <dcbw@redhat.com>
6508 * src/NetworkManagerAP.c
6509 - (nm_ap_new_fake_from_connection): mark fake APs as fake
6511 * src/nm-device-802-11-wireless.c
6512 - (get_active_ap): do two passes over the scan list if the caller
6513 requests that hidden APs get matched too; during the second pass
6514 when matching hidden APs, ignore the SSID since hidden APs in the
6515 scan list don't have an SSID yet
6516 - (periodic_update): move some checks to
6517 nm_device_802_11_periodic_update() because not all callers need them
6518 - (nm_device_802_11_periodic_update): move some checks here from
6520 - (merge_scanned_ap): if the current AP is fake, then don't do strict
6521 matching on incoming scan results, because the fake AP's flags
6522 might be slightly different (yet still compatible) with the incoming
6523 scan result's flags and they might actually be the same AP; update
6524 the rate on merged APs too
6525 - (activation_success_handler): update the frequency of the fake AP
6526 on successful connection; match hidden APs too since if the
6527 current AP is fake, there might already be a scan result in the
6528 scan list for the desired AP, just without it's SSID filled in yet
6530 2008-01-10 Dan Williams <dcbw@redhat.com>
6532 * src/NetworkManagerAP.c
6533 - (foreach_property_cb): catch more hidden SSID formats
6535 2008-01-10 Dan Williams <dcbw@redhat.com>
6537 Fix gnome.org #464215. Requires the kernel patch titled
6538 "Introduce WEXT scan capabilities" but will handle the patch not being
6539 present, you'll just continue to have problems with hidden SSIDs when
6540 using mac80211-based drivers.
6542 * src/supplicant-manager/nm-supplicant-config.h
6543 src/supplicant-manager/nm-supplicant-config.c
6544 - (nm_supplicant_config_add_setting_wireless): new parameter to indicate
6545 whether the driver supports SSID scans or not. If it does, and if
6546 the AP is hidden, use ap_scan=1 instead of ap_scan=2
6548 * src/nm-device-802-11-wireless.c
6549 - (constructor): check whether or not the driver supports SSID scans
6550 - (build_supplicant_config): pass driver SSID scan capability when
6551 building the wireless bits of the supplicant config
6553 2008-01-09 Dan Williams <dcbw@redhat.com>
6557 - (device_activation_precheck, check_connection_complete): remove this
6558 virtual function; incomplete connections should be invalid by
6559 definition, complete-ness should be checked in the setting's
6562 * src/nm-serial-device.c
6564 - (real_check_connection_complete): remove
6566 * libnm-util/nm-setting-serial.c
6567 - (verify): new function; ensure there is a PPP setting too
6569 * libnm-util/nm-setting-gsm.c
6570 - (verify): ensure there is a serial setting too
6572 2008-01-06 Dan Williams <dcbw@redhat.com>
6574 * src/dhcp-manager/nm-dhcp-manager.c
6575 - (nm_dhcp_manager_get_ip4_config): handle DHCP-provided MTU
6578 2008-01-04 Dan Williams <dcbw@redhat.com>
6580 * src/named-manager/nm-named-manager.c
6581 - (rewrite_resolv_conf, add_ip4_config_to_named): use primary IP4Config's
6582 nameservers if the secondary config doesn't have any
6585 2008-01-02 Tambet Ingo <tambet@gmail.com>
6587 * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Mark the properties
6588 with G_PARAM_CONSTRUCT so that they get the default values.
6590 * src/nm-gsm-device.c: Add preliminary support for monitoring device. It only monitors
6591 the monitoring device and prints out the output for now. Or more precicely, doesn't
6592 do absolutely anything right now since the montoring device argument is never set.
6594 * src/nm-serial-device.c (serial_debug): Implement. It's very verbose and thus
6595 requires it's own knob to turn it on.
6596 (config_fd): Add NMSettingSerial to the arguments list.
6597 (nm_serial_device_open): Ditto.
6598 (get_reply_got_data): Ignore the terminators at the beginning of the output.
6599 (nm_serial_device_get_io_channel): Implement.
6601 * src/nm-manager.c: Add NMDBusManager to the private data of the NMManager. Asking
6602 a new reference every time (and forgetting to release it sometimes) is a pain and
6603 it's not like NMManager could work without dbus.
6604 (nm_manager_add_device): Register the added device on dbus here.
6606 * src/nm-hal-manager.c (modem_device_creator): Pass NULL for now for the monitoring
6609 * src/nm-device.c (constructor): Don't export the device here, instead export
6610 it when it's added to the NMManager's device list.
6612 2007-12-31 Dan Williams <dcbw@redhat.com>
6614 * src/nm-device-interface.c
6615 src/nm-device-interface.h
6616 - (nm_device_interface_check_connection_conflicts): new function
6620 - (nm_device_check_connection_conflicts): new function
6621 - (device_activation_precheck): don't require subclasses to implement
6622 check_connection_complete()
6623 - check_connection() -> check_connection_complete()
6625 * src/nm-device-802-11-wireless.c
6626 - (real_check_connection): remove; unused
6627 - (real_check_connection_conflicts): implement, handle lockdown for
6630 * src/nm-device-802-3-ethernet.c
6631 - (real_check_connection): remove; unused
6634 - (check_connection_allowed): new function
6635 - (nm_manager_activate_device): ensure the connection being requested
6636 is allowed to be activated
6638 * src/nm-serial-device.c
6640 - real_check_connection() -> real_check_connection_complete()
6642 2007-12-27 Dan Williams <dcbw@redhat.com>
6644 * src/nm-device-interface.c
6645 src/nm-device-interface.h
6646 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
6647 normalize and expand errors
6648 - (nm_device_interface_init): register errors so they can be marshalled
6650 - (nm_device_interface_activate): ensure that failure of activation
6655 - (device_activation_precheck): implementations of check_connection()
6656 now take a GError and must fill it in if the check fails. Return
6657 more descriptive error if the requested connection is already
6659 - (nm_device_activate): actually try to return descriptive errors on
6662 * src/nm-device-802-11-wireless.c
6663 src/nm-device-802-3-ethernet.c
6664 src/nm-serial-device.c
6666 - (real_check_connection): return more descriptive errors on failure
6668 * src/NetworkManagerPolicy.c
6669 - (nm_policy_device_change_check): print activation errors in the logs
6672 - (nm_manager_error_quark, nm_manager_error_get_type,
6673 nm_manager_class_init): new errors
6674 - (nm_manager_activate_device): handle errors
6675 - (nm_manager_error_new): removed
6676 - (wait_for_connection_expired, connection_added_default_handler,
6677 impl_manager_activate_device): better error handling
6679 2007-12-27 Dan Williams <dcbw@redhat.com>
6681 Fixes gnome.org #466954
6683 * src/supplicant-manager/nm-supplicant-settings-verify.c
6684 - Allow 'frequency' network property
6686 * src/supplicant-manager/nm-supplicant-config.c
6687 src/supplicant-manager/nm-supplicant-config.h
6688 - (nm_supplicant_config_add_setting_wireless): add 'adhoc_freq' argument
6689 for callers to specify the frequency an Ad-Hoc network should operate
6690 on. Some drivers require this to successfully create an Ad-Hoc
6693 * src/nm-device-802-11-wireless.c
6694 - (iw_freq_to_uint32): new function; convert a struct iw_freq into a
6695 guint32 value in MHz
6696 - (constructor, nm_device_802_11_wireless_get_frequency): use
6698 - (find_supported_frequency): new function; find a free supported
6699 frequency for a user-created Ad-Hoc network
6700 - (build_supplicant_config): if no frequency was specified for a user-
6701 created Ad-Hoc network, find a free one to use
6702 - (real_act_stage1_prepare): mark Ad-Hoc connections that don't have
6703 a specific object as user-created
6705 2007-12-27 Dan Williams <dcbw@redhat.com>
6707 * libnm-util/nm-utils.c
6708 libnm-util/nm-utils.h
6709 - (nm_utils_security_valid): add 'adhoc' argument and handle security
6712 2007-12-24 Dan Williams <dcbw@redhat.com>
6714 * libnm-util/nm-setting-wireless.c
6715 - (verify): add 802.11a channels 7, 8, 9, 11, 12, 16, 34, 165, 183, 184,
6716 185, 187, 188, 192, and 196
6718 2007-12-24 Dan Williams <dcbw@redhat.com>
6720 * src/nm-device-802-11-wireless.c
6721 - (nm_device_802_11_wireless_get_frequency): handle drivers that return
6722 a channel # instead of a frequency
6724 2007-12-24 Dan Williams <dcbw@redhat.com>
6726 * src/NetworkManagerAP.c
6727 src/NetworkManagerAP.h
6728 - (nm_ap_new_fake_from_connection): pass band to channel_to_freq()
6729 - (freq_to_channel): handle split band tables
6730 - (channel_to_freq): handle split band tables, take a band argument
6732 2007-12-24 Dan Williams <dcbw@redhat.com>
6734 * libnm-util/nm-setting-connection.h
6735 libnm-util/nm-setting-connection.c
6736 - Add 'lockdown' member
6738 2007-12-22 Dan Williams <dcbw@redhat.com>
6740 * libnm-util/nm-setting-wireless.c
6741 - (nm_setting_wireless_class_init): add missing 'rate' property
6744 2007-12-18 Dan Williams <dcbw@redhat.com>
6746 Base the NMNetlinkMonitor class on libnl instead of hand-rolled netlink.
6748 * src/nm-netlink-monitor.c
6749 src/nm-netlink-monitor.h
6750 - Remove handrolled netlink, use libnl instead
6752 * src/nm-device-802-3-ethernet.c
6753 - (constructor, nm_device_802_3_ethernet_carrier_off,
6754 nm_device_802_3_ethernet_carrier_on): use new names
6756 2007-12-17 Dan Williams <dcbw@redhat.com>
6759 - Bump requirement for libnl to 1.0-pre8 (which works with newer kernels
6760 and fixes memory leaks)
6763 - (nm_netlink_get_default_handle): handle new versions of libnl that
6764 automatically handle the netlink PID
6766 2007-12-17 Dan Williams <dcbw@redhat.com>
6768 Patch from Michael Biebl <biebl@debian.org>
6771 src/ppp-manager/Makefile.am
6772 - fix up install dir of pppd plugin
6773 - clean up configure.in a bit
6775 2007-12-12 Dan Williams <dcbw@redhat.com>
6777 * system-settings/src/nm-system-settings.conf
6778 - Allow non-root clients (like the applet) to read settings
6780 2007-12-10 Tambet Ingo <tambet@gmail.com>
6782 * Replace all occurences of 'UMTS' with 'GSM'.
6784 2007-12-07 Dan Williams <dcbw@redhat.com>
6786 * src/nm-serial-device.c
6787 - (real_is_up): serial devices are always "up"
6789 2007-12-07 Dan Williams <dcbw@redhat.com>
6792 src/NetworkManagerSystem.c
6793 - (new_nl_handle): ensure that the same netlink pid is never chosen
6794 twice (gnome.org #491047)
6795 - Make more robust against allocation-related failures should they occur
6797 2007-12-07 Dan Williams <dcbw@redhat.com>
6799 Noticed by Christian Persch <chpe@gnome.org>
6801 Always chain up to parent object in dispose and finalize handlers.
6804 2007-12-07 Dan Williams <dcbw@redhat.com>
6806 * src/nm-device-802-11-wireless.c
6807 - Wrap #include of linux/mii.h to fix redefined structures due to
6808 incorrect kernel headers (gnome.org #350061)
6810 2007-12-06 Tambet Ingo <tambet@gmail.com>
6812 * src/nm-umts-device.c (real_act_stage1_prepare): Flash the modem (drop DTR)
6813 before doing anything else.
6814 (init_modem): Move modem initialization here.
6816 * src/nm-serial-device.c (ppp_state_changed): React on pppd state changes.
6817 (nm_serial_device_flash): Implement.
6819 * src/ppp-manager/nm-ppp-manager.c (name_owner_changed): Fix the typoes: the state
6820 changes signal is "StateChanged" and not "Status".
6821 (ppp_exit_code, ppp_status_changed): Remove the debug output, it's working fine now.
6823 2007-12-06 Dan Williams <dcbw@redhat.com>
6825 * src/supplicant-manager/nm-supplicant-config.c
6826 - (nm_supplicant_config_add_setting_wireless_security): reorganize a bit
6827 to only send some options when they make sense; also send phase2
6828 option to the supplicant (possible fix for rh #399631)
6830 2007-12-06 Tambet Ingo <tambet@gmail.com>
6832 * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Change the
6833 arguments: This whole file shouldn't really know anything about NMDevices, it
6834 should deal only with device interfaces. Devices might have different ifaces for
6835 different stuff and this place shouldn't know anything about it.
6837 * src/NetworkManagerPolicy.c: Get rid of leftover global variable global_policy.
6838 (global_state_changed): Implement. In the current NM it's not really important,
6839 but will be required in the case of multiple active devices. (Or even better,
6840 if stuff like that gets moved out from NM).
6842 * src/vpn-manager/nm-vpn-connection.c (connection_state_changed): Don't call
6843 nm_system_device_set_from_ip4_config() directly, use nm_device_set_ip4_config()
6846 * src/nm-device.c: Add a ip_face protected member. It's used for 'multi-interface'
6847 devices like serial devices (ttyS0 and ppp0 for example).
6848 (nm_device_get_ip_iface): Implement. Default to the device iface if ip_iface is not
6850 (nm_device_set_ip_iface): Implement.
6851 (nm_device_activate_stage5_ip_config_commit): Move all the extra actions that happen
6852 after setting ip4_config from here ...
6853 (nm_device_set_ip4_config): ... to here. The reason behind it is that no other code
6854 than this function should call nm_system_device_set_from_ip4_config() because no
6855 other code has enough information on which arguments to use. So instead, other code
6856 could just set the new ip4 config using this function and everyone is happy.
6858 * src/nm-umts-device.c: Store the pending ids so that we can remove pending actions
6859 if we happen to get deactivated while something is pending.
6860 (automatic_registration): Handle the response that indicates pending network
6861 registration and wait until the pending registration is done.
6862 (real_deactivate_quickly): If there's a pending operation, cancel it.
6864 * src/nm-serial-device.c (ppp_ip4_config): Set the ip_iface when the iface is up ...
6865 (real_deactivate_quickly): ... and remove it when it's down.
6866 (nm_serial_device_get_reply): Return the timeout id so that the callers can remove
6868 (nm_serial_device_wait_for_reply): Ditto.
6870 2007-12-05 Tambet Ingo <tambet@gmail.com>
6872 * src/nm-umts-device.c (dial_done): Fix the typoes in warnings.
6873 (get_network_done): Remove newline, nm_info() does it already.
6874 (real_act_stage1_prepare): Turn the modem echo off.
6876 * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): In case of serial
6877 device, set the route to the device interface. This is a hack.
6879 * src/nm-serial-device.c (nm_serial_device_send_command_string): Only append carriage
6880 return, no need for a new-line.
6881 (ppp_ip4_config): Store the ip4 config to be set in the next stage.
6882 Change the device iface here (ugh).
6883 (real_act_stage4_get_ip4_config): Implement.
6884 (real_deactivate_quickly): Free the pending ip4 config if it's still pending.
6885 Restore the device iface.
6887 * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Do nothing if the active
6888 device is not wired or wireless (eg, automatically upped) device.
6890 * src/ppp-manager/nm-ppp-manager.c (ip4_config_get): Don't make the config secondary,
6892 (nm_ppp_manager_start): Don't let pppd to set the default route, we want to do it.
6894 * src/nm-hal-manager.c (get_creator): Make sure the device has required capability
6895 before calling it's is_device_fn().
6897 2007-12-05 Dan Williams <dcbw@redhat.com>
6899 * libnm-util/nm-utils.c
6900 - (nm_utils_register_value_transformations,
6901 nm_utils_convert_gvalue_hash_to_string): better debug output of
6902 GHashTables of GValues too
6904 2007-12-04 Dan Williams <dcbw@redhat.com>
6906 * initscript/RedHat/NetworkManager.in
6907 - No longer start named; it's D-Bus interface is going away
6909 2007-12-04 Dan Williams <dcbw@redhat.com>
6911 Patch from Michael Biebl <biebl@debian.org>
6913 * system-settings/plugins/ifcfg/Makefile.am
6914 system-settings/src/main.c
6915 system-settings/src/Makefile.am
6916 - Put system settings plugins in NM plugins dir
6918 * src/ppp-manager/Makefile.am
6919 src/ppp-manager/nm-ppp-manager.c
6920 - Move pppd plugin to NM plugins dir
6922 2007-12-04 Dan Williams <dcbw@redhat.com>
6924 * libnm-util/nm-setting-vpn-properties.h
6925 - Clarify usage of the 'data' member of the setting
6927 * libnm-util/nm-setting-vpn-properties.c
6928 - (nm_setting_vpn_properties_init): initialize the 'data' hash table
6929 - (set_property): just remove all the settings; don't recreate the has
6930 - (update_one_secret): don't need to create the hash table here since
6931 it should always be present
6933 2007-12-03 Tambet Ingo <tambet@gmail.com>
6935 Implement PIN and PUK requesting.
6937 * src/nm-umts-device.c (enter_pin_done): Request the secret again if it failed.
6938 (enter_pin): Handle PIN and PUK requests.
6939 (real_act_stage1_prepare): Clear the secret type.
6940 (real_connection_secrets_updated): Implement this class method to get
6941 notified when new secrets arrive.
6942 (nm_umts_device_class_init): Add private data back to the umts device class
6943 to store the required secret type.
6945 2007-12-01 Dan Williams <dcbw@redhat.com>
6947 * system-settings/plugins/ifcfg/parser.c
6948 - (parser_parse_file): don't try to verify NULL connections
6950 2007-12-01 Dan Williams <dcbw@redhat.com>
6952 * system-settings/src/main.c
6953 - (load_connections, add_connection_to_settings): actually export
6954 plugin-provided connections over D-Bus so NM can get them
6956 2007-12-01 Dan Williams <dcbw@redhat.com>
6958 * system-settings/plugins/ifcfg/parser.c
6959 system-settings/plugins/ifcfg/parser.h
6960 system-settings/plugins/ifcfg/plugin.c
6961 - Hook up more inotify bits (untested)
6963 2007-11-29 Dan Williams <dcbw@redhat.com>
6965 * system-settings/src/nm-system-config-interface.h
6966 system-settings/src/nm-system-config-interface.c
6967 - (nm_system_config_interface_init,
6968 nm_system_config_interface_get_connections): add
6970 * system-settings/src/main.c
6971 - (load_plugins, load_connections, main): use a GSList for plugins
6972 to ensure priority ordering
6974 * system-settings/plugins/ifcfg/parser.c
6975 - (ifcfg_error_quark): move to plugin.c, and rename
6977 * system-settings/plugins/ifcfg/plugin.h
6978 system-settings/plugins/ifcfg/plugin.c
6979 - (ifcfg_plugin_error_quark): move here from parser.c
6980 - rework connection loading and initialization
6981 - Add preliminary inotify support for network profile config file
6983 2007-11-28 Tambet Ingo <tambet@gmail.com>
6985 Merge the beginnings of the new GSM card support.
6987 * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Remove the
6988 ppp watch source before killing pppd - If this happens from g_object_unref()
6989 then the ppp manager is already destroyed by the time the watch callback runs.
6991 * src/nm-hal-manager.c: Add a device_type_name string to the device
6992 creators, so that we can print a nice human readable string when a
6995 * src/nm-umts-device.c (automatic_registration_get_network): Query
6996 for the activated network, not much is done with the result thought.
6998 * src/nm-serial-device.c (nm_serial_device_get_reply): Implement.
6999 (ppp_ip4_config): Change the device state to activated here for now.
7000 (real_check_connection): Make sure the connection includes ppp setting.
7002 * libnm-glib/nm-client.c (get_device): Handle umts devices.
7004 * libnm-glib/Makefile.am: Add the new files to build.
7006 * libnm-glib/nm-umts-device.c:
7007 * libnm-glib/nm-umts-device.h: Implement.
7009 2007-11-26 Tambet Ingo <tambet@gmail.com>
7011 * src/nm-umts-device.c (automatic_registration_get_network): For now, dial
7012 immediately, nm_serial_device_get_reply() isn't implemented correctly yet.
7014 * src/nm-serial-device.c (wait_for_reply_info_destroy): Don't try to remove
7015 the timeout source - this function is only called when the timeout source has
7017 (nm_serial_device_wait_for_reply): Allocate the duplicate responses array
7018 to be big enough to contain the terminating zero element as well.
7019 The timeout argument is meant to be in seconds now.
7020 (real_deactivate_quickly): Implement.
7022 * src/NetworkManager.conf: Allow root to own
7023 "org.freedesktop.NetworkManager.PPP", deny it for everybody else.
7025 * libnm-util/nm-setting-umts.c: Network type and band properties are ints,
7026 (not unsigned ints).
7028 * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Fix a
7029 small issue with parity bounds - capital letters have lower ascii codes
7030 than lower case letters.
7032 * libnm-util/nm-connection.c (register_default_settings): Register serial
7035 2007-11-22 Tambet Ingo <tambet@gmail.com>
7037 Remove the "index" property from devices as not all device types have this.
7039 * include/NetworkManager.h (NM_DBUS_PATH_DEVICE): Remove.
7041 * src/nm-hal-manager.c (nm_get_device_index_from_hal): Remove.
7042 (wired_device_creator): Get the device interface from hal to create the device.
7043 (wireless_device_creator): Ditto.
7045 * src/nm-device.c (nm_device_init): Remove the index member.
7046 (constructor): Remove the checks for index property, make interface property
7047 a require constructor property.
7048 Use the HAL udi for DBus path for devices.
7049 (nm_device_get_index): Remove.
7050 (set_property): Remove index handling.
7051 (get_property): Ditto.
7052 (nm_device_get_dbus_path): Remove.
7054 * src/nm-device-interface.c (nm_device_interface_init): Remove the index
7057 * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_link_activated):
7058 Access the device index through it's interface.
7059 (nm_device_802_3_ethernet_link_deactivated): Ditto.
7060 (nm_device_802_3_ethernet_new): Remove the useless argument test_dev. Remove
7061 index argument. Add interface argument.
7063 * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new): Remove
7064 the useless test_dev argument. Remove index argument. Add interface arugment.
7066 * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Get the
7067 device index through interface.
7068 (nm_system_set_mtu): Ditto.
7070 * introspection/nm-device.xml: Remove the "Index" property.
7072 2007-11-21 Tambet Ingo <tambet@gmail.com>
7074 * src/nm-serial-device.c:
7075 * src/nm-serial-device.c:
7076 * src/nm-umts-device.c:
7077 * src/nm-umts-device.h: Implement.
7079 * src/nm-hal-manager.c (nm_get_device_driver_name): libhal_free_string the string
7080 allocated by libhal.
7081 (modem_device_creator): Implement.
7082 (register_built_in_creators): Register the modem creator.
7084 * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new):
7085 Remove the unused test_dev argument.
7087 * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_new): Ditto.
7089 * src/Makefile.am: Add new files to build.
7090 Link in ppp-manager.
7092 * libnm-util/nm-setting-umts.c:
7093 * libnm-util/nm-setting-umts.h:
7094 * libnm-util/nm-setting-serial.c:
7095 * libnm-util/nm-setting-serial.h: Implement.
7097 * libnm-util/Makefile.am: Add new files to build.
7099 2007-11-28 Dan Williams <dcbw@redhat.com>
7101 Patch from Zdeněk Jurka <zdenek.jurka@jware.cz>
7103 Support DHCP-provided static routes.
7105 * src/nm-ip4-config.h
7107 - Add get/set functions for static routes
7109 * src/dhcp-manager/nm-dhcp-manager.c
7110 - (nm_dhcp_manager_get_ip4_config): extract static routes from the
7113 * src/NetworkManagerSystem.c
7114 - (nm_system_device_set_from_ip4_config): set any static routes on the
7115 interface when applying the IP4Config
7117 2007-11-28 Dan Williams <dcbw@redhat.com>
7119 * src/nm-device-802-11-wireless.c
7120 - (real_act_stage1_prepare): mark APs created for hidden networks
7123 2007-11-27 Dan Williams <dcbw@redhat.com>
7125 * system-settings/src/nm-system-config-interface.h
7126 - Note how to store secrets on NMSetting objects
7128 * system-settings/src/dbus-settings.c
7129 - (connection_settings_get_secrets): implement
7131 2007-11-27 Dan Williams <dcbw@redhat.com>
7133 * system-settings/plugins/ifcfg/Makefile.am
7134 system-settings/plugins/ifcfg/parser.c
7135 system-settings/plugins/ifcfg/parser.h
7136 system-settings/plugins/ifcfg/plugin.c
7137 - Parse wireless connections too
7139 * system-settings/src/dbus-settings.c
7140 system-settings/src/dbus-settings.h
7141 system-settings/src/main.c
7142 - Handle connection update/removal if the plugin supports it
7144 2007-11-27 Dan Williams <dcbw@redhat.com>
7146 * src/nm-dbus-manager.h
7147 src/nm-hal-manager.c
7148 - Include the correct headers now that NetworkManagerDbusUtils.h doesn't
7152 src/NetworkManagerDbusUtils.c
7153 src/NetworkManagerDbusUtils.h
7154 - Remove these two source files; they are unused
7156 2007-11-27 Dan Williams <dcbw@redhat.com>
7158 * src/vpn-manager/nm-vpn-manager.c
7159 - (impl_vpn_manager_connect): fix system settings check (found by
7162 2007-11-26 Dan Williams <dcbw@redhat.com>
7164 * Fix warnings so everything compiles with --enable-more-warnings
7166 2007-11-25 Dan Williams <dcbw@redhat.com>
7169 - Rework structure and code to use GModule-loaded plugins and a plugin
7170 interface that plugins export to the system settings service
7172 2007-11-21 Dan Williams <dcbw@redhat.com>
7175 - Add Soren's system settings service. Needs work for distros other
7176 than Fedora; the backends from NM should mostly migrate to here
7177 and be converted to GObjects
7179 2007-11-21 Dan Williams <dcbw@redhat.com>
7181 * libnm-util/nm-setting-vpn-properties.c
7182 - (set_property): must deep-copy the given settings hash, otherwise
7183 double-free errors occur when the setting is disposed of
7185 2007-11-21 Dan Williams <dcbw@redhat.com>
7187 * src/vpn-manager/nm-vpn-act-request.h
7188 src/vpn-manager/nm-vpn-act-request.c
7191 2007-11-20 Dan Williams <dcbw@redhat.com>
7193 * libnm-util/nm-utils.c
7194 - (nm_utils_convert_strv_to_string, nm_utils_convert_uint_array_to_string,
7195 nm_utils_convert_ip4_addr_struct_array_to_string,
7196 nm_utils_register_value_transformations): print out the readable
7197 values of more types of properties of NMSettings subclasses
7199 2007-11-20 Dan Williams <dcbw@redhat.com>
7201 * libnm-util/nm-setting-ip4-config.c
7202 - (ip4_addresses_from_gvalue, ip4_addresses_to_gvalue,
7203 nm_setting_ip4_config_class_init): apparently dbus-glib can't
7204 marshal GValueArrays inside collections, so switch to types that it
7205 can actually marshal/demarshal
7207 2007-11-16 Dan Williams <dcbw@redhat.com>
7209 * libnm-util/nm-setting-wireless-security.c
7210 - (verify_tls, verify_ttls, verify_identity, verify_nai): do some
7211 minimal verification of EAP methods too
7212 - (verify): verify phase1 eap methods too
7214 2007-11-15 Dan Williams <dcbw@redhat.com>
7216 * libnm-glib/nm-device.h
7217 libnm-glib/nm-device.c
7218 - (nm_device_get_product, nm_device_get_vendor): should be returning
7221 2007-11-15 Dan Williams <dcbw@redhat.com>
7223 * libnm-glib/nm-device.c
7224 - (get_product_and_vendor): don't try to free things that should be
7227 2007-11-15 Dan Williams <dcbw@redhat.com>
7229 * src/NetworkManagerUtils.c
7230 - (nm_ethernet_address_is_valid): unbreak previous fix
7232 2007-11-15 Dan Williams <dcbw@redhat.com>
7234 * src/supplicant-manager/nm-supplicant-config.c
7235 - (nm_supplicant_config_add_setting_wireless_security): handle PEAP
7238 2007-11-15 Dan Williams <dcbw@redhat.com>
7240 * src/NetworkManagerUtils.c
7241 - (nm_ethernet_address_is_valid): fix style, clarify
7242 - (nm_ethernet_addresses_are_equal): don't try to memcmp NULLs
7244 * src/nm-device-802-11-wireless.c
7245 - (get_active_ap): handle failure from nm_device_802_11_wireless_get_bssid()
7246 - (nm_device_802_11_wireless_get_ssid,
7247 nm_device_802_11_wireless_get_bssid,
7248 nm_device_802_11_wireless_get_bitrate): zero the wreq structure
7249 before calling the ioctl; fixes valgrind-reported jump depends on
7250 uninitialized value errors
7252 2007-11-15 Dan Williams <dcbw@redhat.com>
7254 * libnm-util/nm-setting.c
7255 - (nm_setting_to_hash, one_property_cb): revert previous commit, it's
7256 unecessary to serialize 'name'
7258 * src/nm-activation-request.c
7259 - (get_secrets_cb): fix cases where a full NMSetting is returned from
7262 2007-11-15 Dan Williams <dcbw@redhat.com>
7264 * libnm-util/nm-setting-connection.h
7265 libnm-util/nm-setting-connection.c
7266 - Rename the 'name' property to 'id', because it conflicted with the
7267 NMSetting superclass' 'name' property.
7269 * libnm-util/nm-setting.c
7270 - (nm_setting_to_hash): serialize the 'name' property
7271 - (one_property_cb): ignore 'name' on deserialization of a connection
7273 * src/nm-device-802-11-wireless.c
7274 src/vpn-manager/nm-vpn-connection.c
7275 src/NetworkManagerPolicy.c
7276 - Fix up for NMSettingConnection 'name'->'id' changes
7278 2007-11-13 Dan Williams <dcbw@redhat.com>
7280 * libnm-glib/nm-device-802-11-wireless.h
7281 libnm-glib/nm-device-802-11-wireless.c
7282 - (nm_device_802_11_wireless_get_hw_address): return should be const
7285 libnm-glib/libnm-glib-test.c
7286 - Fixes for above change
7288 2007-11-12 Dan Williams <dcbw@redhat.com>
7290 * src/supplicant-manager/nm-supplicant-settings-verify.c
7291 - Allow fragment_size option
7293 * src/supplicant-manager/nm-supplicant-settings-verify.c
7294 - (nm_supplicant_config_add_setting_wireless_security): use a lower
7295 EAP fragment size than the default to help some TLS connections
7297 2007-11-12 Dan Williams <dcbw@redhat.com>
7299 Make certs actually work. The private key is now a secret, and should be
7300 decrypted when requested by NM. The private key and phase2 private key
7301 passwords are no longer interesting to NM because they should be used by
7302 the settings service to decrypt the private key itself before passing it
7303 to NM, and hence have been removed as fields.
7305 * libnm-util/nm-setting-wireless-security.h
7306 libnm-util/nm-setting-wireless-security.c
7307 - Remove private-key-passwd and phase2-private-key-passwd from
7309 - (need_secrets_password, need_secrets_eappsk, need_secrets_sim,
7310 need_secrets): use property #defines instead strings to keep things
7312 - (need_secrets_tls): if a client certificate is present but no
7313 private key, request the private key
7314 - (set_property, get_property, nm_setting_wireless_security_class_init):
7315 remove private key password stuff, mark private keys as secret
7317 * src/supplicant-manager/nm-supplicant-settings-verify.c
7318 - Remove private_key_passwd and private_key2_passwd from opt_table
7320 2007-11-09 Dan Williams <dcbw@redhat.com>
7322 Fix vpn-properties setting update_secrets call for new NMSetting stuff.
7323 Since the vpn-properties are managed and known by the VPN daemons themselves,
7324 libnm-util doesn't know what's secret and what's in the setting's 'data'
7327 * libnm-util/nm-setting.h
7328 libnm-util/nm-setting.c
7329 - Add the ability for subclasses to override update_one_secret
7331 * libnm-util/nm-setting-vpn-properties.c
7332 - Override update_one_secret and just copy the values into the
7335 2007-11-09 Dan Williams <dcbw@redhat.com>
7337 * libnm-glib/nm-settings.h
7338 libnm-glib/nm-settings.c
7339 - (nm_settings_new_error): remove
7340 - (nm_settings_error_quark): add; instead of nm_settings_new_error,
7341 clients should use g_set_error() with NM_SETTINGS_ERROR
7343 2007-11-09 Dan Williams <dcbw@redhat.com>
7345 * src/supplicant-manager/nm-supplicant-config.c
7346 - (nm_supplicant_config_add_setting_wireless_security): private key
7347 passwords are never sent to wpa_supplicant, because the supplicant
7348 should never be reading random files from the disk. Clients like
7349 the applet are required to decrypt the private keys and send NM
7350 the decrypted blobs.
7352 2007-11-08 Dan Williams <dcbw@redhat.com>
7354 * libnm-util/nm-setting-wireless-security.h
7355 libnm-util/nm-setting-wireless-security.c
7356 - Add 'private-key-decrypted' and 'phase2-private-key-decrypted'
7357 members to 802-11-wireless-security structure. This should be used
7358 to indicate that the values in private-key and phase2-private-key
7359 are already decrypted by the user agent, and that no
7360 private-key-passwd or phase2-private-key-passwd should be expected.
7361 It is not meant to be a stored configuration value, but meant to
7362 be set when the conneciton is sent to NM over dbus.
7364 2007-11-08 Dan Williams <dcbw@redhat.com>
7366 * libnm-util/nm-connection.h
7367 libnm-util/nm-connection.c
7368 - (nm_connection_need_secrets): add argument to return hints
7370 * src/nm-device-802-11-wireless.c
7371 - (link_timeout_cb, supplicant_connection_timeout_cb,
7372 real_act_stage2_config, real_act_stage4_ip_config_timeout): handle
7373 nm_connection_need_secrets() change
7375 2007-11-07 Tambet Ingo <tambet@gmail.com>
7377 Rework NMSetting structures: Move each setting to it's own file.
7378 Convert to GObject. Remove home grown setting types and use GTypes.
7379 Use GObject property introspection for hash conversion, enumerating
7382 * libnm-util/nm-setting-connection.[ch]
7383 * libnm-util/nm-setting-ip4-config.[ch]
7384 * libnm-util/nm-setting-ppp.[ch]
7385 * libnm-util/nm-setting-vpn.[ch]
7386 * libnm-util/nm-setting-vpn-properties.[ch]
7387 * libnm-util/nm-setting-wired.[ch]
7388 * libnm-util/nm-setting-wireless.[ch]
7389 * libnm-util/nm-setting-wireless-security.[ch]
7391 New files, each containing a setting.
7393 * libnm-util/nm-setting-template.[ch]: A template for creating new
7394 settings. To use it, just replace 'template' with the new setting
7395 name, and you're half-way done.
7397 * libnm-util/nm-setting.c: Convert to GObject and use GObject
7398 introspection instead of internal types and tables.
7400 * libnm-util/nm-connection.c: Adapt the new NMSetting work.
7402 * libnm-util/nm-param-spec-specialized.[ch]: Implement. Handles
7403 GValue types defined by dbus-glib for composed types like collections,
7404 structures and maps.
7406 * src/*: The API of NMSetting and NMConnection changed a bit: Getting
7407 a setting from connection takes the setting type now. Also, since
7408 the settings are in multiple files, include relevant settings.
7410 2007-10-31 Saleem Abdulrasool <compnerd@compnerd.org>
7413 * src/backends/NetworkManagerGentoo.c:
7414 (nm_system_restart_mdns_responder): Implement restarts for other mdns
7415 providers in Gentoo.
7417 2007-10-31 Dan Williams <dcbw@redhat.com>
7419 * libnm-util/nm-connection.c
7420 - (gvalue_to_string): handle UINT32 arrays
7422 2007-10-31 Dan Williams <dcbw@redhat.com>
7424 * libnm-glib/nm-device.h
7425 libnm-glib/nm-device.c
7426 - (nm_device_get_description): remove
7427 - (nm_device_get_product, nm_device_get_vendor): add
7428 - (nm_device_update_description): new function (private); walk HAL
7429 devices to get product and vendor IDs for a specific device
7431 2007-10-31 Dan Williams <dcbw@redhat.com>
7433 * src/nm-device-802-11-wireless.c
7434 - (nm_device_802_11_wireless_get_mode): ignore ENODEV errors
7436 2007-10-29 Dan Williams <dcbw@redhat.com>
7438 * src/nm-hal-manager.c
7439 - (device_added, device_new_capability): ignore device additions while
7440 asleep. Fixes crash caused when NM goes to sleep, a network device
7441 kernel module is unloaded and reloaded and recognized by NM again.
7443 2007-10-26 Dan Williams <dcbw@redhat.com>
7445 Patch from Helmut Schaa <hschaa@suse.de> (and more bits from me)
7447 * src/NetworkManagerAP.c
7448 src/NetworkManagerAP.h
7449 libnm-glib/nm-access-point.c
7450 libnm-glib/nm-access-point.h
7451 - Make 'rate' property a guint32 to better match with WEXT and
7452 wpa_supplicant and to allow representation of higher bitrates
7454 * src/nm-device-802-11-wireless.c
7455 introspection/nm-device-802-11-wireless.xml
7456 libnm-glib/nm-device-802-11-wireless.c
7457 libnm-glib/nm-device-802-11-wireless.h
7458 - Make 'bitrate' property a guint32 to match AP 'rate' property type
7460 * src/nm-device-802-3-ethernet.c
7461 src/nm-device-802-3-ethernet.h
7462 introspection/nm-device-802-3-ethernet.xml
7463 libnm-glib/nm-device-802-3-ethernet.c
7464 libnm-glib/nm-device-802-3-ethernet.h
7465 - Make 'speed' property a guint32 to match other speed/rate types
7466 - Make nm_device_802_3_ethernet_get_speed() static
7469 - Update for the changes above
7471 2007-10-26 Dan Williams <dcbw@redhat.com>
7473 * src/named-manager/nm-named-manager.c
7474 - (rewrite_resolv_conf): clean up error handling to avoid double-free by
7475 not calling fclose() twice on some error conditions
7477 2007-10-26 Dan Williams <dcbw@redhat.com>
7479 * src/nm-activation-request.c
7480 - (dispose): clean up indentation; get the right DBusGProxy object to
7481 cancel the GetSecrets pending call on. Need to use the Secrets
7482 proxy, not the regular connection proxy. Otherwise the GetSecrets
7483 pending call doesn't get canceled, and pressing Cancel in the
7484 applet's password dialog could cause get_secrets_cb() to be called
7485 after the activation request has already been destroyed
7487 2007-10-24 Dan Williams <dcbw@redhat.com>
7489 * src/supplicant-manager/nm-supplicant-config.c
7490 - (nm_supplicant_config_add_blob): pass blob data and length for
7492 - (get_hash_cb): use GByteArrays rather than GArrays; easier to follow
7494 2007-10-24 Dan Williams <dcbw@redhat.com>
7496 * src/supplicant-manager/nm-supplicant-settings-verify.c
7497 - (opt_table): max length for certificates should be 65536
7499 2007-10-24 Dan Williams <dcbw@redhat.com>
7501 * src/supplicant-manager/nm-supplicant-interface.c
7502 - (blob_free): correctly free blob data after use
7503 - (call_set_blobs): use the right D-Bus interfaace for setBlobs
7505 2007-10-24 Dan Williams <dcbw@redhat.com>
7507 * libnm-util/nm-setting.c
7508 - (setting_wireless_security_need_secrets): Fix lookup table logic for
7509 EAP method need secrets
7511 2007-10-24 Dan Williams <dcbw@redhat.com>
7513 * src/backends/NetworkManagerRedHat.c
7514 - (nm_system_update_dns): be a lot smarter about telling nscd to restart
7516 2007-10-23 Dan Williams <dcbw@redhat.com>
7518 * libnm-util/nm-setting.c
7519 libnm-util/nm-setting.c
7520 - (nm_setting_compare): implement
7521 - (default_setting_compare_fn, do_one_compare, compare_gvalue_hash,
7522 compare_one_hash_gvalue): compare the contents of a setting
7524 * libnm-util/nm-connection.c
7525 - (nm_connection_compare): implement
7527 2007-10-23 Dan Williams <dcbw@redhat.com>
7529 * src/nm-activation-request.c
7530 - (get_secrets_cb): handle getting a setting back that is more than
7531 just secrets (ie, user changed auth or EAP method or something)
7533 2007-10-23 Dan Williams <dcbw@redhat.com>
7535 * libnm-util/nm-setting.c
7536 libnm-util/nm-setting.h
7537 - (nm_setting_verify): new function; verify one setting
7538 - (nm_settings_verify_all): rename from nm_settings_verify()
7539 - (setting_connection_verify, setting_wireless_verify): allow NULL
7542 * libnm-util/nm-connection.c
7543 - (nm_connection_replace_settings, nm_connection_verify,
7544 nm_connection_new_from_hash): handle nm_settings_verify() rename
7546 2007-10-23 Dan Williams <dcbw@redhat.com>
7548 * src/nm-device-802-11-wireless.c
7549 - (real_act_stage2_config): use pre-increment on 'tries' to get the
7552 2007-10-23 Dan Williams <dcbw@redhat.com>
7554 * src/supplicant-manager/nm-supplicant-settings-verify.c
7555 - eap_allowed, phase2_allowed: harmonize with allowed values from
7558 2007-10-23 Dan Williams <dcbw@redhat.com>
7560 * src/nm-device-802-11-wireless.c
7561 - (real_act_stage2_config): after the first association failure,
7562 if the connection still needs secrets ask the user for them
7563 explicitly. After the fourth association failure due to bad
7564 secrets, fail the connection entirely. Handles the GetSecrets
7565 loop that NM gets into when the provided secrets don't match up
7566 with the connection details.
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): only add
7572 WPA-specific options when WPA is in use
7574 2007-10-23 Dan Williams <dcbw@redhat.com>
7576 * src/supplicant-manager/nm-supplicant-config.c
7577 - (nm_supplicant_config_add_setting_wireless_security): 'password'
7578 secret doesn't need to be unhexified
7580 2007-10-23 Dan Williams <dcbw@redhat.com>
7582 * libnm-util/nm-setting.c
7583 - (setting_wireless_security_need_secrets): ensure auth_alg is !NULL
7584 before trying to do something with it
7586 2007-10-23 Dan Williams <dcbw@redhat.com>
7588 * src/nm-device-802-11-wireless.c
7589 - (merge_scanned_ap): handle NULL ssids returned from nm_ap_get_ssid()
7591 2007-10-23 Dan Williams <dcbw@redhat.com>
7593 * src/nm-device-802-11-wireless.c
7594 - (merge_scanned_ap): use libnm-util empty SSID check to catch more
7595 non-SSID-broadcasting APs
7597 2007-10-23 Dan Williams <dcbw@redhat.com>
7599 * src/NetworkManagerAP.c
7600 - (match_cipher, security_compatible): remove
7601 - (nm_ap_check_compatible): use nm_utils_ap_security_compatible() from
7604 2007-10-23 Dan Williams <dcbw@redhat.com>
7606 * libnm-util/nm-utils.c
7607 libnm-util/nm-utils.h
7608 - (nm_utils_ap_security_compatible): common function for checking
7609 whether a specific AP is compatible with an NMConnection
7611 2007-10-23 Dan Williams <dcbw@redhat.com>
7613 * libnm-util/nm-setting.c
7614 - (setting_wireless_security_need_secrets, need_secrets_phase2,
7615 need_secrets_tls, need_secrets_sim, need_secrets_eappsk,
7616 need_secrets_password, setting_wireless_security_verify): fix
7617 need_secrets for IEEE 802.1x and WPA-EAP by implementing need
7618 secrets logic for each supported EAP method
7620 2007-10-23 Dan Williams <dcbw@redhat.com>
7622 * src/supplicant-manager/nm-supplicant-config.c
7623 - (nm_supplicant_config_add_setting_wireless_security): fix wpa_supplicant
7624 config option name, should be "private_key2_passwd"
7626 2007-10-22 Tambet Ingo <tambet@gmail.com>
7628 Implement support for static IP addresses, additional/overridden DNS and
7629 DNS domain search lists.
7631 * libnm-util/nm-setting.c (uint_array_to_gvalue): Implement.
7632 (ip4_addresses_to_gvalue): Implement.
7633 (convert_array_to_byte_array): Implement.
7634 (nm_setting_populate_from_hash_default): Handle NM_S_TYPE_UINT_ARRAY and
7635 NM_S_TYPE_IP4_ADDRESSES.
7636 (nm_setting_hash): Ditto.
7637 (default_setting_clear_secrets): Add a default case for the switch: IP address
7638 shouldn't be secret, ever.
7639 (setting_ip4_config_verify): Update, requires addresses in case of manual
7641 (setting_ip4_config_destroy): Free stuff.
7643 * src/nm-device.c (merge_ip4_config): Implement.
7644 (real_act_stage4_get_ip4_config): Merge IP4 configuration from NMConnection.
7646 2007-10-22 Dan Williams <dcbw@redhat.com>
7648 * libnm-util/nm-setting.c
7649 - (setting_wireless_security_verify): allow WEP-40 and WEP-104 as
7650 pairwise cipher options for Dynamic WEP
7652 2007-10-21 Dan Williams <dcbw@redhat.com>
7654 * src/NetworkManagerAP.c
7655 src/NetworkManagerAP.h
7656 - Rename 'articifical' -> 'fake' since that's what they are until
7658 - (nm_ap_new_fake_from_connection): new function to create a 'fake' AP
7659 from the attributes in an NMConnection object
7660 - (security_compatible): better handle Dynamic WEP and LEAP; handle
7662 - (nm_ap_match_in_list): find a matching AP in a scan list
7664 * src/nm-device-802-11-wireless.c
7665 - (get_active_ap): add an 'ignore_ap' argument to ignore a specific
7666 AP when searching the scan list; match on frequency and mode too
7667 - (nm_device_802_11_wireless_get_frequency): implement
7668 - (merge_scanned_ap): replace duplicate matching logic with
7669 nm_ap_match_in_list()
7670 - (real_act_stage1_prepare): handle a NULL specific object; ie where
7671 the user is trying to connect to a hidden network that is not yet
7672 known from the scan list
7673 - (activation_success_handler): now that the card knows the AP's BSSID,
7674 there may already be a scanned AP in the scan list that is what
7675 we really wanted to connect to, but didn't know at the time. Use
7676 that instead of the 'fake' AP created at activation start and get
7677 rid of the 'fake' AP
7678 - (cull_scan_list): don't remove fake APs
7680 2007-10-21 Dan Williams <dcbw@redhat.com>
7682 * src/nm-activation-request.h
7683 src/nm-activation-request.c
7684 - (nm_act_request_set_specific_object): new function; allow setting the
7685 specific object if one isn't set yet
7687 2007-10-20 Dan Williams <dcbw@redhat.com>
7689 * src/supplicant-manager/nm-supplicant-config.h
7690 src/supplicant-manager/nm-supplicant-config.c
7691 - (nm_supplicant_config_init, nm_supplicant_config_finalize): add a hash
7692 table to store blobs
7693 - (nm_supplicant_config_add_blob): new function; add blob to internal
7695 - (nm_supplicant_config_get_blobs): new function; get stored blobs
7696 - (nm_supplicant_config_add_setting_wireless_security): handle
7697 options that use certificates (ie, blobs)
7699 * src/nm-device-802-11-wireless.c
7700 - (build_supplicant_config): pass a UID (just use the connection path)
7701 to the supplicant config as now required
7703 * src/supplicant-manager/nm-supplicant-interface.c
7704 - (add_network_cb, call_set_blobs, set_blobs_cb, call_set_network): if
7705 there are any blobs to send to wpa_supplicant, send those first
7706 before sending the network configuration
7708 2007-10-19 Dan Williams <dcbw@redhat.com>
7710 Split the GetSecrets() call off to a separate D-Bus interface so that it
7711 can be more easily locked down with D-Bus policy. Only 'root' (ie, NM)
7712 should be able to call GetSecrets().
7714 * include/NetworkManager.h
7715 - Define the connection secrets D-Bus interface
7717 * src/vpn-manager/nm-vpn-connection.c
7718 - (clear_need_auth): get the right proxy object for the connection
7720 - (get_connection_secrets): use the connection secrets proxy; send
7721 empty hints in get secrets request
7723 * src/nm-activation-request.c
7724 - (nm_act_request_request_connection_secrets): use the connection
7725 secrets proxy; send empty hints in get secrets request
7729 - (connection_get_settings_cb): set the connection secrets proxy on
7730 the connection object too
7731 - (internal_new_connection_cb): create the connection secrets proxy
7733 * introspection/nm-settings-connection.xml
7734 - Define Connection.Secrets interface and move GetSecrets there
7735 - Add a 'hints' argument to GetSecrets
7737 * libnm-glib/nm-settings.c
7738 libnm-glib/nm-settings.h
7739 - (impl_connection_settings_get_secrets): add 'hints' argument
7741 2007-10-19 Dan Williams <dcbw@redhat.com>
7744 - (constructor): add message about what path a device is exported as
7745 to help in debugging rh #339011
7747 2007-10-17 Dan Williams <dcbw@redhat.com>
7749 * libnm-util/nm-utils.h
7750 libnm-util/nm-utils.c
7751 - (nm_utils_security_valid): common function to help find the intersection
7752 of capabilities of devices and (optionally) access points
7754 2007-10-17 Dan Williams <dcbw@redhat.com>
7756 * src/nm-device-802-11-wireless.c
7757 - (get_wireless_capabilities): add missing braces so that WPA capabilities
7758 don't get erroneously cleared
7760 2007-10-17 Dan Williams <dcbw@redhat.com>
7764 src/nm-hal-manager.c
7765 - (device_removed, finalize, nm_manager_remove_device,
7766 nm_manager_sleep): add a 'deactivate' argument to
7767 nm_manager_remove_device() to fully deactivate devices when necessary
7768 (ie, always except when waking up)
7770 2007-10-16 Dan Williams <dcbw@redhat.com>
7772 * libnm-util/nm-setting.c
7773 - (setting_wireless_security_verify): fix phase2_auth methods; 'sim'
7774 also isn't valid phase2 autheap method
7776 2007-10-16 Dan Williams <dcbw@redhat.com>
7778 * libnm-glib/nm-client.c
7779 - (update_wireless_status): consolidate updates of wireless status
7780 - (constructor): use update_wireless_status()
7781 - (manager_running): set wireless status off when NM goes away; requery
7782 the wireless status when NM comes back
7784 2007-10-16 Dan Williams <dcbw@redhat.com>
7786 * libnm-glib/nm-client.c
7787 - (nm_client_activate_device): actually use the fixed-up specific
7790 2007-10-16 Dan Williams <dcbw@redhat.com>
7792 * src/nm-hal-manager.c
7793 - (killswitch_getpower_reply, nm_hal_manager_destroy): only print out
7794 killswitch error messages once
7796 2007-10-16 Dan Williams <dcbw@redhat.com>
7799 - (manager_set_wireless_enabled): don't allow wireless to be enabled
7800 if it's disabled in hardware; don't touch network devices while
7803 2007-10-16 Dan Williams <dcbw@redhat.com>
7805 * libnm-util/nm-client.c
7806 - (nm_client_activate_device): convert NULL specific_object to "/",
7807 which is used in place of NULL
7810 - (impl_manager_activate_device): convert "/" specific_object back into
7813 2007-10-16 Tambet Ingo <tambet@gmail.com>
7815 Implement a generic NMSetting creator from setting name.
7816 While at it, get rid of all nm_setting_foo_new_from_hash() functions and
7817 add a virtual function 'populate_fn'.
7819 * libnm-util/nm-connection.c (nm_connection_create_setting): Implement.
7820 (register_default_creators): Register setting creators instead of functions
7821 that create and then populate.
7822 (parse_one_setting): Use the common setting creator and then setting specific
7823 poplulation function.
7825 * libnm-util/nm-setting.c: Get rid of nm_setting_foo_new_from_hash() functions,
7826 they all looked exactly the same.
7827 Add a 'populate_fn' virtual function to NMSetting.
7828 Use default virtual functions in case they are not overriden.
7829 (nm_setting_populate_from_hash): Implement.
7831 * src/nm-device.c (real_act_stage3_ip_config_start): Don't hard code the setting
7832 name, use a defined string.
7833 (real_act_stage4_get_ip4_config): Ditto.
7835 2007-10-16 Tambet Ingo <tambet@gmail.com>
7837 * src/nm-hal-manager.c (killswitch_getpower_reply): The type returned from
7838 HAL is int, not uint.
7840 2007-10-15 Tambet Ingo <tambet@gmail.com>
7842 Implement killswitch polling through HAL.
7844 * src/nm-manager.c: Add wireless hardware status property. Add
7845 'properties-changed' signal for changes in wireless and wireless hardware
7848 * src/nm-hal-manager.c: Poll hal for killswitch statuses in every 6 seconds
7849 and update NMManager's wireless hardware state when it has changed.
7850 (nm_hal_manager_new): Don't try to add initial devices here - (hal_init)
7853 * libnm-glib/nm-client.c: Add wireless hardware status property. Cache the
7854 values of wireless state and wireless hardware state. Listen for the
7855 'properties-changed' signals, update the cached values and emit notify.
7857 * include/NetworkManager.h: Fix a typo in a comment.
7859 2007-10-14 Dan Williams <dcbw@redhat.com>
7861 * libnm-util/nm-setting.c
7862 - (setting_wireless_security_need_secrets): handle LEAP secrets
7864 2007-10-13 Dan Williams <dcbw@redhat.com>
7866 * libnm-util/nm-setting.h
7867 libnm-util/nm-setting.c
7868 src/supplicant-manager/nm-supplicant-config.c
7869 - Make the 'proto' field of the 802-11-wireless-security field a
7872 2007-10-12 Tambet Ingo <tambet@gmail.com>
7874 Rework the "properties-changed" signal listening implementation.
7875 Add a generic implementation to NMObject class that listens for
7876 the signal and calls property setters of the target NMObject.
7878 * libnm-glib/nm-object.c (nm_object_handle_properties_changed): Implement.
7880 * libnm-glib/nm-device-802-11-wireless.c: Move the GObject consturction
7881 code to the end of file so that all the static functions are available
7882 without extra declarations.
7883 Remove the "properties-changed" signal handling and use the framework from
7885 Implement property setters for properties that change with
7886 "properties-changed" signal.
7888 * libnm-glib/nm-access-point.c: Ditto.
7890 2007-10-12 Tambet Ingo <tambet@gmail.com>
7892 Rework the "properties-changed" signal implementation.
7893 In classes that need to use it, just emit "GObject::notify" and the new
7894 framework takes care of the rest to make the signal available on dbus.
7895 The framework queues the notifications and tries to send as many together
7896 in one signal as possible.
7898 * src/nm-properties-changed-signal.c:
7899 * src/nm-properties-changed-signal.h: Implement.
7901 * src/Makefile.am: Add new files to build.
7903 * src/NetworkManagerAP.c: Use the general framework for properties-changed
7906 * src/nm-device-802-11-wireless.c: Ditto.
7908 2007-10-10 Dan Williams <dcbw@redhat.com>
7911 - (wait_for_connection_expired): ensure info is valid
7912 - (connection_added_default_handler): Should only remove pending
7913 connection info when the manager has the connection that it's
7914 waiting for. Fixes segfault in wait_for_connection_info().
7916 2007-10-10 Dan Williams <dcbw@redhat.com>
7918 * libnm-util/nm-setting.c
7919 libnm-util/nm-setting.h
7920 - Add a default 'user_name' field to the VPN setting, which VPN plugins
7921 can use if they choose. Should be filled in by the settings service
7922 on-the-fly with the currently logged in user's username
7924 2007-10-10 Dan Williams <dcbw@redhat.com>
7926 * src/nm-device-802-11-wireless.c
7927 - (merge_scanned_ap): make sure non-SSID-broadcasting APs are marked
7928 as such, because even if the manager fills in the SSID, NM still
7929 has to indicate to wpa_supplicant that the AP isn't broadcasting
7932 2007-10-10 Tambet Ingo <tambet@gmail.com>
7934 Move ppp-manager over to dbus-glib. The big deal is that it was the last piece of
7935 code that used NM's own version of dbus signal handling and custom dictionary
7936 marshalling/unmarshalling. With this change, all that obsolete code can disappear
7937 and we get to maintain over 2000 lines less code.
7939 * libnm-util/dbus-dict-helpers.c:
7940 * libnm-util/dbus-dict-helpers.h: Remove.
7942 * src/ppp-manager/nm-pppd-plugin.c: Convert it to use dbus-glib.
7944 * src/ppp-manager/nm-pppd-plugin.xml: Implement.
7946 * src/ppp-manager/nm-ppp-manager.c: Use dbus-glib instead of home-brewed dbus signal
7949 * src/nm-dbus-manager.c: Remove all the manual dbus signal handling.
7951 * configure.in: Remove test/libnm-util/Makefile creation.
7953 * test/Makefile.am: Remove libnm-util from SUBDIRS.
7955 * test/libnm-util/: Remove the whole directory.
7957 2007-10-10 Tambet Ingo <tambet@gmail.com>
7959 * src/NetworkManagerPolicy.c (nm_policy_new): Initialize the
7960 device_state_changed_idle_id variable or it would contain some random value and the
7961 schedule_change_check calls would not do anything.
7963 2007-10-09 Dan Williams <dcbw@redhat.com>
7965 * src/nm-device-802-11-wireless.c
7966 - (supplicant_iface_scanned_ap_cb): set the non-broadcast flag elsewhere
7967 - (merge_scanned_ap): only have the manager fill the SSID if the AP
7968 isn't broadcasting its SSID; set the non-broadcast flag here; fix
7969 merging of non-SSID-broadcasting APs
7971 2007-10-09 Tambet Ingo <tambet@gmail.com>
7973 * libnm-util/nm-utils.c (nm_utils_is_empty_ssid): Convert the ssid type to
7974 "guint8 *" since it's usually used with GByteArray->data.
7975 (nm_utils_ssid_to_utf8): Add it back, the applet needs it.
7977 2007-10-09 Tambet Ingo <tambet@gmail.com>
7979 * src/NetworkManagerUtils.c
7980 (nm_utils_is_empty_ssid):
7981 (nm_utils_escape_ssid):
7982 (nm_utils_same_ssid): Remove. These functions are copied and pasted in a
7983 lot of places, so they belong to libnm-utils instead.
7985 Now with 100% less compiler warnings:
7987 * libnm-util/nm-utils.c (nm_dbus_escape_object_path): Remove, unused.
7988 (nm_dbus_unescape_object_path): Ditto.
7989 (nm_utils_ssid_to_utf8): Ditto.
7990 (nm_utils_is_empty_ssid): Move here from src/NetworkManagerUtils.c
7991 (nm_utils_escape_ssid): Ditto.
7992 (nm_utils_same_ssid): Ditto.
7994 * src/nm-manager.c: Include 'netinet/ether.h' for ether_aton_r.
7995 (add_one_connection_element): Remove an unused variable.
7996 (impl_manager_get_active_connections): Ditto.
7998 * src/NetworkManagerPolicy.c (get_device_connection): Remove an unused
8001 * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Remove a leftover
8002 from the previous commit.
8004 * src/nm-device-802-11-wireless.c (set_current_ap): Remove unused variable.
8005 (real_act_stage1_prepare): Ditto.
8006 (activation_success_handler): Ditto.
8007 (get_property): Ditto.
8009 * src/nm-device-802-3-ethernet.c (real_get_best_connection): Remove unused
8012 * src/ppp-manager/nm-pppd-plugin.c (nm_ip_up): Remove the check for 'ifname',
8015 * src/supplicant-manager/nm-supplicant-config.c
8016 (nm_supplicant_config_add_setting_wireless): Cast the GByteArray's 'guint8 *'
8017 to expected "char *".
8018 (nm_supplicant_config_add_setting_wireless): Ditto.
8019 (nm_supplicant_config_remove_option): Remove, not used.
8021 * libnm-glib/libnm-glib-test.c (dump_access_point): Frequency is a guint32,
8023 (test_wireless_enabled): Ifdef out unused function.
8024 (device_deactivate): Ditto.
8025 (device_state_changed): Ditto.
8026 (nm_utils_is_empty_ssid): Remove, it's now in libnm-utils.
8027 (nm_utils_escape_ssid): Ditto.
8029 * test/nm-tool.c (nm_utils_escape_ssid): Remove, it's now in libnm-utils.
8030 (nm_utils_is_empty_ssid): Ditto.
8032 * libnm-glib/nm-client.c (nm_client_free_active_connection_element): Remove
8035 * libnm-util/nm-setting.c (setting_wireless_destroy): Remove unused variable.
8036 (setting_vpn_properties_update_secrets): Ditto.
8037 (int_to_gvalue): Ifdef out for now, not used.
8038 (byte_to_gvalue): Ditto.
8040 * libnm-util/dbus-dict-helpers.c (_nmu_dbus_add_dict_entry_string_array):
8043 2007-10-08 Tambet Ingo <tambet@gmail.com>
8045 * src/NetworkManager.c (main): When dbus manager doesn't want to start, complain
8046 about dbus manager, not named manager.
8047 Make sure hal_manager and dbus_mgr are created before trying to unreference.
8049 * src/nm-dbus-manager.c: There was an issue with priv->proxy: We have a signal
8050 handler for it's 'destroy' signal - we use it to catch disconnects from dbus.
8051 However, the same signal is emitted when we destroy it and there's
8052 nm_dbus_manager_cleanup -> destroy_cb -> nm_dbus_manager_cleanup cycle.
8054 (nm_dbus_manager_cleanup): Let go of the DBusGProxy before
8055 releasing the DBusGConnection, since proxy needs a conneciton.
8056 (destroy_cb): Set the private proxy to NULL before cleaning up the manager.
8058 2007-10-08 Dan Williams <dcbw@redhat.com>
8060 * src/NetworkManager.c
8061 - (main): error on unknown command-line options
8063 2007-10-08 Dan Williams <dcbw@redhat.com>
8065 Reimplement the invalid connection list. Don't try to re-activate a
8066 connection that just failed or was canceled.
8069 - (connection_secrets_failed_cb): fail device activation, don't just
8070 deactivate the device. Listeners have to know about the failure.
8072 * src/NetworkManagerPolicy.c
8073 - (nm_policy_auto_get_best_device): exclude invalid connections from
8074 the connection list given to a device's get_best_connection()
8076 - (device_state_changed): tag failed connections as invalid; clear the
8077 tag from successful connections
8079 2007-10-08 Dan Williams <dcbw@redhat.com>
8081 Fix problems with interrupted activation. Previously, choosing an AP
8082 from the menu, then choosing another one before the first connection was
8083 successful wouldn't deactivate the device before starting the new connection
8084 on that same device.
8086 * src/NetworkManagerPolicy.c
8087 - (deactivate_old_device, device_state_changed, state_changed,
8088 nm_policy_new): wrong place to deactivate old devices
8091 - (pending_connection_info_destroy, finalize,
8092 wait_for_connection_expired): decouple destruction of the pending
8093 connection info from the manager device
8094 - (connection_added_default_handler): deactivate any active or
8095 activating device before starting a new activation
8096 - (impl_manager_activate_device): deactivate any active or activating
8097 device before starting a new activation; be sure not to leak
8098 pending connection info if a new activation request arrives but
8099 there's already a pending one in-process
8101 2007-10-08 Dan Williams <dcbw@redhat.com>
8103 * src/NetworkManagerAP.h
8104 src/NetworkManagerAP.c
8105 - (nm_ap_has_manufacturer_default_ssid): remove, unused. User clients
8106 should handle default SSIDs and whether or not to autoconnect
8109 2007-10-08 Dan Williams <dcbw@redhat.com>
8111 * src/NetworkManagerPolicy.c
8112 - (nm_policy_device_change_check): print out connection name where
8115 2007-10-08 Dan Williams <dcbw@redhat.com>
8117 * src/nm-device-802-11-wireless.c
8118 src/nm-device-802-11-wireless.h
8119 - (nm_device_802_11_wireless_class_init, merge_scanned_ap): new
8120 'hidden-ap-found' signal (for internal use only) that allows the
8121 NMManager to fill in the AP's SSID if a connection has that AP's
8122 BSSID in its seen-bssids list
8125 - (manager_hidden_ap_found, nm_manager_add_device): attach to a
8126 wireless device's hidden-ap-found signal and fill in the APs SSID
8129 2007-10-07 Dan Williams <dcbw@redhat.com>
8133 - Add a 'connections-added' signal to batch together updates of large
8134 numbers of connections, like when reading from a settings service
8135 the first time. Otherwise, the policy would just activate the first
8136 suitable connection it saw rather than waiting for the full list
8138 - (nm_manager_class_init): register new signal
8139 - (get_type_for_proxy, connection_get_settings_cb,
8140 get_connection_for_proxy): centralize places where a proxy's setting
8141 service is determined
8142 - (free_get_settings_info): if the call being freed is the last call
8143 in a pending call group, fire off the connections-added signal
8144 - (internal_new_connection_cb): add call to a pending call group if
8146 - (list_connections_cb): always create a call group here, because this
8147 call results in a batch of new connections
8148 - (initial_get_connections): start getting system connections first
8149 - (nm_manager_connections_destroy, emit_removed): actually emit the
8150 removed signal when destroying connections
8152 * src/NetworkManagerPolicy.c
8153 - (nm_policy_new, connections_added): handle connections-added signal
8156 2007-10-06 Dan Williams <dcbw@redhat.com>
8158 * src/nm-device-802-11-wireless.c
8159 - (constructor): fix leaked socket
8161 2007-10-06 Dan Williams <dcbw@redhat.com>
8163 * src/NetworkManagerPolicy.c
8164 - (nm_policy_auto_get_best_device): fix connection list reffing. Each
8165 connection in the list returned by nm_manager_get_connections() is
8166 reffed, but they weren't getting unreffed before returning
8168 2007-10-06 Dan Williams <dcbw@redhat.com>
8171 - (connections_to_slist): sort connections first on autoconnect, then
8174 2007-10-06 Dan Williams <dcbw@redhat.com>
8176 * libnm-util/nm-connection.c
8177 - (gvalue_to_string): handle UINT64
8179 2007-10-06 Dan Williams <dcbw@redhat.com>
8181 * src/NetworkManagerPolicy.c
8182 - (connection_updated, nm_policy_new): recheck state when a connection
8185 2007-10-06 Dan Williams <dcbw@redhat.com>
8189 - (nm_manager_get_connection_dbus_path): make static
8190 - (nm_manager_update_connections): remove; unused
8191 - Add a connection-updated signal
8192 - (new_connection_cb, connection_updated_cb, nm_manager_class_init):
8193 handle connection object updates
8195 2007-10-06 Dan Williams <dcbw@redhat.com>
8197 * src/NetworkManagerPolicy.c
8198 - (connection_removed): deactivate removed connections
8200 2007-10-06 Dan Williams <dcbw@redhat.com>
8202 * libnm-util/nm-connection.c
8203 libnm-util/nm-connection.h
8204 - (nm_connection_replace_settings): new function
8206 2007-10-06 Dan Williams <dcbw@redhat.com>
8208 * libnm-glib/nm-device-802-11-wireless.c
8209 - (nm_device_802_11_wireless_get_active_access_point): don't segfault
8210 on error when getting the active access point over D-Bus from NM
8212 2007-10-05 Dan Williams <dcbw@redhat.com>
8214 * libnm-util/nm-setting.c
8215 - (setting_wireless_verify, setting_wireless_destroy): add seen_bssids
8216 to the NMSettingWireless table; it's now a string array not an array
8219 2007-10-05 Dan Williams <dcbw@redhat.com>
8221 * libnm-glib/nm-device-802-11-wireless.c
8222 - Cache properties and update cached properties on D-Bus signals from NM
8224 2007-10-05 Dan Williams <dcbw@redhat.com>
8226 * src/nm-device-802-11-wireless.c
8227 - (set_current_ap): consolidate current_ap handling code into one place
8228 to ensure that PropertiesChanged signals are emitted in all cases
8229 - (periodic_update, real_deactivate_quickly, real_act_stage1_prepare,
8230 nm_device_802_11_wireless_dispose): use set_current_ap()
8232 2007-10-05 Dan Williams <dcbw@redhat.com>
8234 * libnm-glib/nm-access-point.c
8235 libnm-glib/nm-access-point.h
8236 - (nm_access_point_get_hw_address): return 'const char *', not 'char *'
8237 because the value is cached internally now. Callers should not
8238 free the internal value.
8239 - Make signal name defines private
8242 libnm-glib/libnm-glib-test.c
8243 - Don't free value returned from nm_access_point_get_hw_address()
8245 2007-10-04 Dan Williams <dcbw@redhat.com>
8247 * introspection/nm-device-802-11-wireless.xml
8248 src/nm-device-802-11-wireless.h
8249 src/nm-device-802-11-wireless.c
8250 - Add a PropertiesChanged signal for wireless device
8251 - Store currently associated access point
8252 - (periodic_update): generalize; update rate here too and emit the
8253 correct PropertiesChanged signal when stuff changes
8254 - (real_deactivate_quickly, nm_device_802_11_wireless_dispose,
8255 real_activation_cancel_handler): clear current_ap when device is
8257 - (link_to_specific_ap, get_ap_blacklisted,
8258 nm_device_802_11_wireless_get_best_ap): remove obsolete and unused
8260 - (nm_device_802_11_wireless_get_bitrate): make static; unused anywhere
8262 - (real_set_hw_address): emit property changed signal if the card's
8264 - (real_act_stage1_prepare): set the initial current_ap to the AP
8265 the card is supposed to be connecting to
8266 - (activation_success_handler): send out property updates on successful
8268 - (get_property): pull bitrate from cached value; use OBJECT_PATH type
8269 for ACTIVE_ACCESS_POINT property because sometimes there won't be
8270 one and dbus-glib doesn't like marshalling NULL G_TYPE_OBJECTs
8271 - (nm_device_802_11_wireless_class_init): ACTIVE_ACCESS_POINT property
8272 is now boxed; add PropertiesChanged signal
8274 2007-10-04 Dan Williams <dcbw@redhat.com>
8276 * libnm-util/nm-connection.c
8277 libnm-util/nm-connection.h
8278 - (nm_connection_verify): new function
8280 2007-10-04 Dan Williams <dcbw@redhat.com>
8282 * libnm-util/nm-setting.c
8283 - (nm_settings_verify): use #defines when possible rather than strings
8284 - (setting_connection_verify): ensure that 'name' and 'type' are valid
8285 - (setting_vpn_verify): tighter validity check on 'service_type'
8287 2007-10-04 Dan Williams <dcbw@redhat.com>
8289 * libnm-glib/nm-settings.c
8290 - (nm_connection_settings_class_init): provide correct type for argument
8291 to the Updated signal so that dbus-glib knows how to marshal it
8293 2007-10-03 Dan Williams <dcbw@redhat.com>
8295 * src/nm-device-802-3-ethernet.c
8296 - (real_get_best_connection): don't create automatic connections
8297 internally; clients should provide a setting that applies to
8298 the device with 'autoconnect: True'. Problem was that these
8299 internally auto-created connections don't have a proxy or service
8300 name becuase they weren't created by a settings daemon, and therefore
8301 clients have no idea what to do with them.
8303 2007-10-03 Dan Williams <dcbw@redhat.com>
8305 * src/nm-device-802-11-wireless.c
8306 src/nm-device-802-11-wireless.h
8307 introspection/nm-device-802-11-wireless.xml
8308 - GetActiveNetworks -> GetAccessPoints
8309 - ActiveNetwork -> ActiveAccessPoint
8310 - NetworkAdded -> AccessPointAdded
8311 - NetowrkRemoved -> AccessPointRemoved
8313 * libnm-glib/nm-device-802-11-wireless.c
8314 libnm-glib/nm-device-802-11-wireless.h
8315 - network-added signal -> access-point-added
8316 - network-removed signal -> access-point-removed
8317 - nm_device_802_11_wireless_get_active_network() ->
8318 nm_device_802_11_wireless_get_active_access_point()
8319 - nm_device_802_11_wireless_get_network_by_path() ->
8320 nm_device_802_11_wireless_get_access_point_by_path()
8321 - nm_device_802_11_wireless_get_networks() ->
8322 nm_device_802_11_wireless_get_access_points()
8324 * libnm-glib/libnm-glib-test.c
8326 src/NetworkManagerPolicy.c
8327 - Fixups for Network -> AccessPoint
8329 2007-10-03 Dan Williams <dcbw@redhat.com>
8331 Add a GetActiveConnections() method on the Manager object.
8335 introspection/nm-manager.xml
8336 - (connection_get_settings_cb): keep connection type around too
8337 - (impl_manager_get_active_connections, add_one_connection_element):
8338 implement; returns all active connections and what devices they
8341 * libnm-glib/nm-client.c
8342 libnm-glib/nm-client.h
8343 introspection/nm-manager-client.xml
8344 - (nm_client_get_devices): GPtrArray elements are allocated and owned
8345 by the caller; free here to avoid memory leak
8346 - (nm_client_get_active_connections): implement; return the list of
8348 - (nm_client_free_active_connection_element): implement; free an element
8349 of the GSList returned by nm_client_get_active_connections()
8351 2007-10-03 Dan Williams <dcbw@redhat.com>
8353 * src/nm-device-802-11-wireless.c
8354 - (nm_device_802_11_wireless_update_bssid): remove
8355 - (get_active_ap): new function; find the AP in the scan list which
8356 matches the current BSSID and SSID of the wireless device
8357 - (nm_device_802_11_periodic_update): get current AP using
8358 get_active_ap() and print AP roam messages
8360 2007-10-01 Dan Williams <dcbw@redhat.com>
8362 * libnm-util/nm-setting.h
8363 - Add a 'timestamp' option to NMSettingConnection
8366 * libnm-util/nm-setting.c
8367 - (uint64_to_gvalue): new function
8368 - (nm_setting_populate_from_hash, nm_setting_hash,
8369 default_setting_clear_secrets): handle UINT64 type
8370 - con_table: add 'timestamp' member
8372 2007-10-01 Dan Williams <dcbw@redhat.com>
8375 - (impl_manager_activate_device): ensure the D-Bus method sends a return
8376 value when the connection can be activated immediately
8378 2007-10-01 Dan Williams <dcbw@redhat.com>
8380 * libnm-glib/nm-device.c
8381 - (nm_device_class_init): actually tell glib about the carrier-changed
8384 2007-10-01 Dan Williams <dcbw@redhat.com>
8387 src/marshallers/Makefile.am
8388 src/marshallers/nm-marshal.list
8389 src/marshallers/nm-marshal-main.c
8390 - Consolidate glib marshallers into one place
8392 * src/dhcp-manager/Makefile.am
8393 src/dhcp-manager/nm-dhcp-manager.c
8394 src/supplicant-manager/Makefile.am
8395 src/supplicant-manager/nm-supplicant-manager.c
8396 src/supplicant-manager/nm-supplicant-interface.c
8397 src/ppp-manager/Makefile.am
8398 src/ppp-manager/nm-ppp-manager.c
8399 src/vpn-manager/Makefile.am
8400 src/vpn-manager/nm-vpn-connection.c
8402 - Use consolidated marshallers
8404 * src/dhcp-manager/nm-dhcp-marshal.list
8405 src/dhcp-manager/nm-dhcp-marshal-main.c
8406 src/supplicant-manager/nm-supplicant-marshal-main.c
8407 src/supplicant-manager/nm-supplicant-marshal.list
8408 src/nm-marshal-main.c
8410 src/ppp-manager/nm-ppp-marshal-main.c
8411 src/ppp-manager/nm-ppp-marshal.list
8412 src/vpn-manager/nm-vpn-marshal-main.c
8413 src/vpn-manager/nm-vpn-marshal.list
8416 2007-10-01 Dan Williams <dcbw@redhat.com>
8418 * include/NetworkManagerVPN.h
8419 - define VPN connection state change reason codes
8421 * src/vpn-manager/Makefile.am
8422 src/vpn-manager/nm-vpn-marshal.list
8423 src/vpn-manager/nm-vpn-marshal-main.c
8424 - Add marshallers for StateChanged signal
8426 * introspection/nm-vpn-connection.xml
8427 - New Banner property
8428 - StateChanged signal now includes a 'reason' argument
8430 * src/vpn-manager/nm-vpn-connection.c
8431 src/vpn-manager/nm-vpn-connection.h
8432 - Add a "Banner" property that contains the returned VPN server login
8433 banner (if any); valid only in the ACTIVATED state
8434 - (nm_vpn_connection_set_state, nm_vpn_connection_disconnect): now takes
8435 a 'reason' argument and emits that reason along with the
8436 state-changed signal
8437 - Fix up calls to nm_vpn_connection_set_state() to include a reason
8438 - (nm_vpn_connection_ip4_config_get): save banner for later
8439 - (nm_vpn_connection_get_banner, get_property,
8440 nm_vpn_connection_class_init): implement Banner property
8442 * src/vpn-manager/nm-vpn-service.c
8443 - (nm_vpn_service_connections_stop): take a reason argument; copy the
8444 connection list because elements may get added/removed from it
8445 while iterating over the list
8446 - (connection_state_changed): signal now includes the 'reason' argument
8448 * libnm-glib/nm-vpn-connection.c
8449 libnm-glib/nm-vpn-connection.h
8450 - (nm_vpn_connection_get_banner): new function
8451 - (state_changed_proxy): handle reason argument
8453 2007-09-28 Tambet Ingo <tambet@gmail.com>
8457 Implement device activation through NMManager.
8458 Implement "pending device activation" here - If the connection isn't found,
8459 we try to wait for up to 5 seconds for the connection to be provided.
8460 Add NMConnectionType argument to "connection-added" and "connection-removed"
8462 (nm_manager_get): Remove. Finally.
8464 * src/nm-activation-request.c:
8465 * src/nm-activation-request.h:
8466 Remove all the deferred activation code.
8468 * src/nm-device.c: Remove all the deferred activation code. Once the device
8469 activation is started, it's started. Update the activation virtual function
8472 * src/nm-device-interface.c:
8473 * src/nm-device-interface.h:
8474 Device activation now takes only NMActRequest argument.
8475 Don't expose device activation directly on dbus, it's supposed to go through
8478 * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Make the code
8480 Use the new device activation methods through NMManager.
8482 * introspection/nm-manager-client.xml:
8483 * introspection/nm-manager.xml:
8484 * libnm-glib/nm-client.c:
8485 * libnm-glib/nm-client.h:
8486 Add device activation method.
8488 * libnm-glib/nm-device.c:
8489 * libnm-glib/nm-device.h:
8490 * introspection/nm-device.xml:
8491 Remove device activation method. It's done through NMManager now.
8493 * src/vpn-manager/nm-vpn-manager.c (impl_vpn_manager_connect): Use the shiny
8494 new (nm_manager_get_device_by_path) function, get rid of our own )find_device).
8496 2007-09-28 Dan Williams <dcbw@redhat.com>
8498 * libnm-glib/nm-vpn-connection.c
8499 - (nm_vpn_connection_get_state): try to update state if the current
8502 2007-09-27 Dan Williams <dcbw@redhat.com>
8504 Patch from Bill Nottingham
8506 * src/supplicant-manager/nm-supplicant-config.c
8507 - (ADD_STRING_VAL): use correct length for binary blobs when sending
8508 data to the supplicant
8510 2007-09-27 Dan Williams <dcbw@redhat.com>
8512 * src/NetworkManagerSystem.c
8513 - (nm_system_vpn_device_set_from_ip4_config): clean up indentation;
8514 and all address manipulation here should be happening on the
8515 _VPN_ device, not the active device
8517 2007-09-26 Dan Williams <dcbw@redhat.com>
8521 src/nm-activation-request.c
8522 src/nm-activation-request.h
8523 - Move the GetSecrets stuff out of the NMManager instance because it
8524 doesn't really need to be there and complicates things
8527 - (connection_secrets_failed_cb, device_activation_go): connect to the
8528 connection-secrets-failed signal and deactivate the device if
8529 the GetSecrets call fails
8531 * src/nm-device-802-11-wireless.c
8532 - (link_timeout_cb, supplicant_connection_timeout_cb,
8533 real_act_stage2_config, real_act_stage4_ip_config_timeout): request
8534 secrets and give correct hints about whether new secrets should be
8535 asked for by the client or not
8537 2007-09-26 Dan Williams <dcbw@redhat.com>
8539 * src/vpn-manager/nm-vpn-connection.c
8540 - (nm_vpn_connection_set_state, clear_need_auth, finalize,
8541 connection_secrets_updated_cb, get_secrets_cb): don't need to attach
8542 to the secrets-updated signal of the NMConnection since updating
8543 the secrets is done within the scope of the NMVPNConnection object
8545 - (get_connection_secrets): fix an uninialized variable usage error
8547 2007-09-26 Dan Williams <dcbw@redhat.com>
8549 * libnm-util/nm-setting.c
8550 - (setting_vpn_properties_update_secrets): implement so VPN secrets
8551 actually get updated when the user enters them
8553 2007-09-26 Dan Williams <dcbw@redhat.com>
8555 * libnm-glib/nm-vpn-plugin.c
8556 - (impl_vpn_plugin_need_secrets): fix logic when no secrets are needed
8558 2007-09-26 Dan Williams <dcbw@redhat.com>
8560 * include/NetworkManagerVPN.h
8561 - Add a NEED_AUTH state
8563 * src/vpn-manager/nm-vpn-connection.c
8564 - Implement the NEED_AUTH state. First ask the VPN service plugin if
8565 the connection needs secrets, and if so, then ask the settings
8566 service to fill in the secrets. Then start the connection.
8568 2007-09-26 Dan Williams <dcbw@redhat.com>
8570 * src/vpn-manager/nm-vpn-manager.c
8571 - (new_vpn_error, impl_vpn_manager_connect): set errors
8573 2007-09-26 Dan Williams <dcbw@redhat.com>
8575 * introspection/nm-vpn-plugin.xml
8576 libnm-glib/nm-vpn-plugin.c
8577 libnm-glib/nm-vpn-plugin.h
8578 - (impl_vpn_plugin_need_secrets): implement a call that should return
8579 the name of the NMSetting in an NMConnection that may require
8580 secrets specific to that VPN plugin
8582 2007-09-26 Dan Williams <dcbw@redhat.com>
8586 - (nm_manager_get_connection_secrets): make static, unused outside
8588 - Provide NM_MANAGER_CONNECTION_PROXY_TAG for other users
8590 2007-09-26 Tambet Ingo <tambet@gmail.com>
8592 * libnm-glib/nm-vpn-plugin.c (nm_vpn_plugin_connect): Update the plugin activation
8594 (impl_vpn_plugin_connect): Convert properties hash to NMConnection, activate, and
8595 unreference the connection.
8597 * introspection/nm-vpn-plugin.xml: Modify the 'Connect' method arguments: instead of
8598 passing properties hash and routes string list, pass NMConnection (in hashed form).
8600 * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Return routes
8601 as GSList, no need to copy stuff around anymore.
8602 (nm_vpn_connection_activate): Update the plugin activation method.
8604 * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Convert
8605 routes argument to GSList.
8607 2007-09-26 Tambet Ingo <tambet@gmail.com>
8609 * src/nm-manager.c (manager_device_state_changed): Listen to device' NEED_AUTH
8610 state and try to get the secrets.
8612 * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Get the list of
8613 connections from NMManager and let the device to choose the best from the list.
8614 Since the connection list is sorted by system ones first and user ones later,
8615 the devices still prefer system connections like they did before.
8616 (deactivate_old_device): Implement. When a device starts activation, we have a
8617 policy (for now at least) to deactivate any other device that might be either
8618 active or still activating.
8620 * src/vpn-manager/nm-vpn-manager.c: Add NMManager back to the private structure.
8621 It's set on construction, there will be no other way to access it.
8623 * src/nm-device-802-11-wireless.c: Don't touch NMManager, NMManager can listen to
8624 device events and drive the device, not the other way around.
8626 * src/nm-device-802-3-ethernet.c: Ditto.
8628 * src/nm-device.c (nm_device_get_best_connection): The connections list is now
8629 sent along, pass it on to virtual functions.
8631 * src/nm-device-interface.c (nm_device_interface_get_iface): Implement. It's static
8632 for now, but should really be public instead of nm_device_get_iface() since iface
8633 is a property of the DeviceInterface, not Device.
8634 (impl_device_activate): Don't touch NMManager!
8636 2007-09-26 Jürg Billeter <j@bitron.ch>
8638 * initscript/paldo/NetworkManager.in:
8639 * initscript/paldo/NetworkManagerDispatcher.in:
8640 * src/backends/NetworkManagerPaldo.c: (nm_system_enable_loopback),
8641 (nm_system_flush_loopback_routes): update paldo backend
8643 2007-09-26 Tambet Ingo <tambet@gmail.com>
8645 * src/nm-device-802-3-ethernet.c (real_get_best_connection): Don't leak NMManager.
8646 The problem with leaking NMManager is that on shutdown, it doesn't get destroyed,
8647 which means none of the devices get brought down properly, which in turn leaves
8648 DHCP client running.
8650 * src/nm-device-802-11-wireless.c (real_get_best_connection): Ditto.
8651 (supplicant_connection_timeout_cb): Ditto.
8653 2007-09-25 Dan Williams <dcbw@redhat.com>
8656 - (device_activation_go): small hack to work around race when
8657 activating deferred connections; should solve this in a better way
8659 2007-09-25 Dan Williams <dcbw@redhat.com>
8661 * introspection/nm-device.xml
8662 libnm-glib/nm-device.c
8663 libnm-glib/nm-device.h
8664 - Add 'Carrier' property to exported NMDevice objects
8666 * src/nm-device-interface.h
8667 src/nm-device-interface.c
8669 - Add a 'carrier' property to internal NMDevice objects
8671 2007-09-25 Dan Williams <dcbw@redhat.com>
8673 * src/nm-device-802-11-wireless.c
8674 - (ap_auth_enforced): also return the encryption status of the AP so
8675 that callers can differentiate easily between unencrypted APs
8676 and encrypted ones, in addition to whether the AP has an
8678 - (link_timeout_cb, supplicant_connection_timeout_cb,
8679 real_act_stage4_ip_config_timeout): handle unencrypted APs better,
8680 previously would request secrets from unencrypted APs at times
8682 2007-09-25 Dan Williams <dcbw@redhat.com>
8685 - (nm_manager_update_state): new function; updates state and emits
8686 appropriate signals ensuring a state-change signal for the same state
8687 never gets emitted twice in a row.
8688 - (manager_device_state_changed): handle more device state to get a
8689 better picture of the overall NM state
8691 2007-09-25 Dan Williams <dcbw@redhat.com>
8693 * libnm-glib/nm-settings.c
8694 libnm-glib/nm-settings.h
8695 - (new_error -> nm_settings_new_error): make public so that subclasses
8696 can use the same error domain. Also pass a valid error code to
8697 g_error_new_literal() so that libdbus doesn't assert when converting
8698 the GError into a DBusError
8699 - (impl_settings_list_connections, impl_connection_settings_get_id,
8700 impl_connection_settings_get_settings,
8701 impl_connection_settings_get_secrets): use new error creator
8704 2007-09-25 Dan Williams <dcbw@redhat.com>
8706 * src/NetworkManager.c
8707 - (nm_signal_handler, main): don't ignore SIGTERM/SIGINT during startup
8709 2007-09-25 Dan Williams <dcbw@redhat.com>
8711 * src/supplicant-manager/nm-supplicant-manager.c
8712 - (poke_supplicant_cb, nm_supplicant_manager_init,
8713 nm_supplicant_manager_dispose, nm_supplicant_manager_name_owner_changed,
8714 nm_supplicant_manager_startup): when the supplicant isn't running,
8715 try to start it periodically via system bus activation. Fixes
8716 a problem where if wpa_supplicant goes away, NM gets stuck waiting
8717 for the supplicant to come back
8719 2007-09-25 Dan Williams <dcbw@redhat.com>
8721 Ensure that old activation requests are forgotten about; previously
8722 hitting Cancel in the password dialog would deactivate whatever device
8723 that password was requested for, even if that wasn't the currently
8724 activating connection.
8728 - (nm_manager_get_connection_secrets): track the pending call
8729 object so it can be canceled later if needed
8730 - (nm_manager_cancel_get_connection_secrets): cancel a pending
8731 GetSecrets call for a particular connection
8733 * src/nm-activation-request.c
8734 - (dispose): cancel any outstanding GetSecrets calls on the
8737 2007-09-25 Dan Williams <dcbw@redhat.com>
8739 * src/NetworkManagerPolicy.c
8740 - (nm_policy_device_change_check): handle devices that have a
8741 deferred activation. These devices are not really active _yet_,
8742 but need to be treated as such here. Don't interrupt them
8745 * src/nm-device-interface.c
8746 - (impl_device_activate): handle devices that have a deferred activation
8747 like activating or active devices. When multiple active devices
8748 get committed, the device shouldn't be deactivated until the
8749 connection details are available to avoid DoS and such. Currently,
8750 any active, activating, or deferred activation device is deactivated
8751 here before starting the new activation request.
8753 2007-09-25 Dan Williams <dcbw@redhat.com>
8755 Properly re-query secrets from the settings daemon when stuff fails.
8757 * src/nm-device-802-11-wireless.c
8758 - (ap_auth_enforced): handle static WEP correctly here by differentiating
8759 between Shared Key and Open System auth modes
8760 - (link_timeout_cb, supplicant_connection_timeout_cb,
8761 real_act_stage4_ip_config_timeout): clear existing secrets and
8762 request new ones when something fails due to a suspected wrong key
8763 - (real_act_stage2_config): fix for new request_new argument to
8764 nm_manager_get_connection_secrets()
8768 - (nm_manager_get_connection_secrets): return error status; pass
8769 new request_new argument on to the settings daemon
8771 * introspection/nm-settings-connection.xml
8772 - New 'request_new' argument to the GetSecrets call that hints to the
8773 settings daemon to ask the user for completely new secrets
8775 * libnm-glib/nm-settings.c
8776 libnm-glib/nm-settings.h
8777 - (impl_connection_settings_get_secrets): handle new 'request_new'
8780 2007-09-25 Dan Williams <dcbw@redhat.com>
8782 * libnm-util/nm-connection.c
8783 libnm-util/nm-connection.h
8784 - (nm_connection_clear_secrets): new function; clear secrets out of
8785 each NMSetting in an NMConnection
8787 * libnm-util/nm-setting.h
8788 libnm-util/nm-setting.c
8789 - (nm_setting_clear_secrets, default_setting_clear_secrets): clear
8790 secrets out of an NMSetting
8791 - (nm_setting_connection_new, nm_setting_ip4_config_new,
8792 nm_setting_wired_new, nm_setting_wireless_new,
8793 nm_setting_wireless_security_new, nm_setting_ppp_new,
8794 nm_setting_vpn_new, nm_setting_vpn_properties_new): set clear_secrets
8795 to default handler default_setting_clear_secrets()
8797 2007-09-25 Dan Williams <dcbw@redhat.com>
8799 * src/nm-activation-request.c
8800 src/nm-activation-request.h
8801 - (nm_act_request_is_deferred): new function
8803 2007-09-24 Dan Williams <dcbw@redhat.com>
8805 * src/nm-device-802-11-wireless.c
8806 - (activation_success_handler): update signal strength immediately
8809 2007-09-24 Dan Williams <dcbw@redhat.com>
8811 * libnm-util/nm-setting.c
8812 - (verify_wep_key): 40-bit WEP keys are 10 bytes long, not 13
8814 2007-09-24 Dan Williams <dcbw@redhat.com>
8816 * src/NetworkManagerPolicy.c
8817 - (nm_policy_auto_get_best_device): don't interrupt activation of a
8818 device by deactivating it because it doesn't have a "best connection".
8819 Since autoconnect=False connections aren't automatically chosen,
8820 NM would interrupt activation of such a connection because it
8821 would never be "best" due to autoconnect=False.
8823 2007-09-24 Dan Williams <dcbw@redhat.com>
8826 - (nm_manager_get_connection_secrets): Add a long timeout so the user
8827 actually has some time to enter a key before the GetSecrets call
8830 2007-09-24 Dan Williams <dcbw@redhat.com>
8832 * introspection/nm-manager.xml
8834 - (impl_manager_legacy_state): fix 'state' method call return value
8836 2007-09-24 Matthias Clasen <mclasen@redhat.com>
8838 * test/Makefile.am: Install nm-tool
8840 2007-09-24 Dan Williams <dcbw@redhat.com>
8842 Patch from Ross Burton <ross@burtonini.com>
8845 callouts/nm-dhcp-client-action.c
8847 src/vpn-manager/nm-vpn-connection.c
8848 libnm-glib/libnm-glib-test.c
8851 2007-09-24 Dan Williams <dcbw@redhat.com>
8853 * libnm-util/nm-utils.h
8854 libnm-util/nm-utils.c
8855 - (nm_dbus_send_with_callback_replied, nm_dbus_send_with_callback):
8858 2007-09-23 Dan Williams <dcbw@redhat.com>
8860 * vpn-daemons/vpnc/properties/nm-vpnc.c
8861 - Update for new VPN properties API bits; instead of passing around
8862 a lot of random things, everything goes into the NMConnection
8865 2007-09-23 Dan Williams <dcbw@redhat.com>
8867 * libnm-util/nm-setting.c
8868 - Correctly dispose of settings objects if creating them from a hash
8871 2007-09-23 Dan Williams <dcbw@redhat.com>
8873 * libnm-util/nm-setting.c
8874 - (property_value_destroy, nm_setting_vpn_properties_new): initialize
8875 the hash table in a standard manner. Clients of libnm-util should
8876 only call g_hash_table_remove_all(), never destroy the hash table
8879 2007-09-22 Dan Williams <dcbw@redhat.com>
8881 * src/nm-device-802-11-wireless.c
8882 - (real_bring_up): update signal strength every 6 seconds, not 2. No
8883 real reason to do it so often, and reduces wakeups for clients.
8885 2007-09-21 Dan Williams <dcbw@redhat.com>
8887 * src/nm-device-802-11-wireless.c
8888 - (build_supplicant_config): wpa_supplicant requires the option
8889 key_mgmt=NONE for unencrypted networks
8890 - (real_act_stage2_config): clarify log message on activation
8892 2007-09-21 Dan Williams <dcbw@redhat.com>
8894 * test/nm-supplicant-test.c
8896 - Remove supplicant test binary; no longer applicable
8898 2007-09-21 Dan Williams <dcbw@redhat.com>
8900 * src/supplicant-manager/nm-supplicant-manager.c
8901 - (nm_supplicant_manager_init): poke the supplicant at startup to
8902 activate it on the system bus
8904 2007-09-20 Dan Williams <dcbw@redhat.com>
8906 * initscript/RedHat/NetworkManager.in
8907 - dhcdbd is no longer used, so don't try to start it from the initscripts
8909 2007-09-20 Dan Williams <dcbw@redhat.com>
8912 - (nm_device_is_activating): work around a race between auto-activation
8913 and the user activating the same device that is being auto-activated
8915 2007-09-20 Dan Williams <dcbw@redhat.com>
8917 * src/nm-device-interface.c
8918 - (impl_device_activate): until multiple active device support lands,
8919 ensure only one device can be active at a time
8921 2007-09-20 Dan Williams <dcbw@redhat.com>
8923 * src/supplicant-manager/nm-supplicant-config.c
8924 src/supplicant-manager/nm-supplicant-config.h
8925 - (nm_supplicant_config_add_option): hide secrets from system logs
8927 2007-09-20 Dan Williams <dcbw@redhat.com>
8929 * src/NetworkManagerPolicy.c
8930 - (nm_policy_device_change_check): re-enable the wireless device change
8931 checking code; insted of checking for SSIDs, check for the same
8934 2007-09-20 Dan Williams <dcbw@redhat.com>
8936 * src/nm-device-802-11-wireless.c
8937 - (supplicant_iface_connection_state_cb_handler): don't use the card's
8938 composite link state when determining when to start the disconnection
8939 timer; that link state is already based on the supplicant interface's
8940 status which is exactly what's already being examined, plus the link
8941 state is a conglomeration of various things that we don't want here
8943 2007-09-20 Dan Williams <dcbw@redhat.com>
8945 * libnm-glib/nm-access-point.c
8946 - (handle_property_changed): strength is a UCHAR
8948 2007-09-20 Dan Williams <dcbw@redhat.com>
8950 * src/supplicant-manager/nm-supplicant-config.c
8951 - (nm_supplicant_config_add_setting_wireless_security): uppercase
8952 string list keywords too since that's what wpa_supplicant wants
8954 2007-09-20 Dan Williams <dcbw@redhat.com>
8956 * libnm-util/nm-setting.c
8957 - (convert_strv_to_slist): dupe the values in the list because since
8958 the list is a boxed value, it'll get destroyed when it's container
8959 (like a hash table or whatever) gets destroyed
8961 2007-09-20 Tambet Ingo <tambet@gmail.com>
8963 * libnm-util/nm-setting.h: Change the type of NMSettingVPN->routes to
8966 * libnm-util/nm-setting.c (setting_vpn_destroy): Free routes too.
8968 * src/nm-manager.c (connection_get_settings_cb): No need to use weakref,
8969 just use (g_object_set_data_full).
8971 * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Now
8972 that NMSettingVPN->routes is a GSList, convert it to char **.
8973 (nm_vpn_connection_ip4_config_get): Free routes when done.
8974 (nm_vpn_connection_activate): Ditto.
8976 * src/nm-device-802-11-wireless.c (real_connection_secrets_updated)
8977 (real_act_stage2_config): Use defined setting names.
8979 2007-09-20 Dan Williams <dcbw@redhat.com>
8981 * src/nm-device-802-11-wireless.c
8984 - Pass an NMDeviceInterface into nm_manager_get_connection_secrets()
8985 so that the device can be deactivated if secrets are wrong
8987 2007-09-20 Dan Williams <dcbw@redhat.com>
8989 * introspection/nm-settings-connection.xml
8990 libnm-glib/nm-settings.c
8991 libnm-glib/nm-settings.h
8992 - Make GetSecrets asynchronous on the server side
8994 2007-09-20 Dan Williams <dcbw@redhat.com>
8998 - (nm_device_activate): actually check if a given connection
8999 exists before assuming it doesn't
9001 2007-09-20 Tambet Ingo <tambet@gmail.com>
9003 * libnm-util/nm-connection.c (register_default_creators): Use defined
9004 setting names. Register NMSettingVPN and NMSettingVPNProperties.
9006 * libnm-util/nm-setting.c: Define property name strings, use them.
9007 Implement NMSettingVPN and NMSettingVPNProperties settings.
9008 Implement NM_S_TYPE_GVALUE_HASH.
9009 (nm_setting_populate_from_hash): Handle NM_S_TYPE_GVALUE_HASH.
9010 (setting_connection_verify): Rename 'devtype' property to 'type'.
9012 * introspection/nm-vpn-manager.xml: Use NMConnection for VPN service
9015 * src/vpn-manager/nm-vpn-service.c: Ditto.
9017 * src/vpn-manager/nm-vpn-connection.c: Ditto.
9019 * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_connect): Ditto.
9020 (nm_vpn_manager_new): Remove NMManager argument, it's easy enough to get.
9022 * src/nm-device-802-11-wireless.c (find_best_connection): Use defined setting
9023 names. NMSettingConnection->devtype got renamed to 'type'.
9025 * src/nm-device-802-3-ethernet.c (find_best_connection):
9026 (real_get_best_connection): Ditto.
9028 * src/NetworkManager.c (main): Update the vpn manager creation arguments.
9030 * libnm-glib/nm-vpn-manager.[ch]: Update.
9032 2007-09-19 Dan Williams <dcbw@redhat.com>
9034 * src/NetworkManagerAP.c
9035 src/NetworkManagerAP.h
9036 introspection/nm-access-point.xml
9037 - Change strength-changed signal into a properties-changed signal
9038 for all properties, not just strength. Export that signal over dbus
9039 so listeners don't have to poll NM for changes.
9040 - (nm_ap_export_to_dbus, nm_ap_new): not every NMAccessPoint should
9041 get exported over D-Bus, so break up the logic and let other bits
9042 decided when to export the AP
9043 - (nm_ap_new_from_ap): remove, unused
9045 * src/nm-device-802-11-wireless.c
9046 - (merge_scanned_ap): only export APs that are actually on the device
9047 list, not every AP created internally
9049 * libnm-glib/nm-access-point.c
9050 libnm-glib/nm-access-point.h
9051 - Cache properties internally and only hit DBus when needed. Get
9052 property updates from NM signals
9054 2007-09-16 Dan Williams <dcbw@redhat.com>
9056 * libnm-util/nm-connection.c
9057 libnm-util/nm-connection.h
9058 - (nm_connection_for_each_setting_value): new function; iterate over
9059 each setting's value and call a user-provided function with details
9062 * libnm-util/nm-setting.c
9063 libnm-util/nm-setting.h
9064 - (nm_setting_enumerate_values): new function; enumerate the values
9065 of a specific NMSetting subclass for a user-provided function with
9066 details about that value
9067 - Change wep_tx_keyidx to a uint32
9068 - Create settings value tables for each setting defining their type,
9069 key name, offset into the NMSetting subclass' structure, and whether
9070 they are required and/or a secret
9071 - (nm_setting_populate_from_hash): generic function to populate an
9072 NMSetting from a GHash table, make all settings use it
9073 - (nm_setting_hash): generic function to derive a GHashTable from
9074 an NMSetting object, make all settings use it
9076 2007-09-14 Dan Williams <dcbw@redhat.com>
9078 Remove unused stuff in libnm-util
9081 libnm-util/Makefile.am
9082 libnm-util/cipher-private.h
9083 libnm-util/cipher-wep-ascii.c
9084 libnm-util/cipher-wep-ascii.h
9085 libnm-util/cipher-wep-hex.c
9086 libnm-util/cipher-wep-hex.h
9087 libnm-util/cipher-wep-passphrase.c
9088 libnm-util/cipher-wep-passphrase.h
9089 libnm-util/cipher-wpa-psk-hex.c
9090 libnm-util/cipher-wpa-psk-hex.h
9091 libnm-util/cipher-wpa-psk-passphrase.c
9092 libnm-util/cipher-wpa-psk-passphrase.h
9095 libnm-util/dbus-helpers.c
9096 libnm-util/dbus-helpers.h
9097 libnm-util/gnome-keyring-md5.c
9098 libnm-util/gnome-keyring-md5.h
9101 src/nm-device-802-11-wireless.c
9102 test/libnm-util/Makefile.am
9103 test/libnm-util/test-ciphers.c
9104 test/libnm-util/test-dbus-helpers.c
9105 test/libnm-util/test-inputs.h
9108 2007-09-14 Dan Williams <dcbw@redhat.com>
9110 * libnm-util/dbus-method-dispatcher.c
9111 libnm-util/dbus-method-dispatcher.h
9114 2007-09-14 Dan Williams <dcbw@redhat.com>
9116 Implement deferred activation support in the device class.
9118 * src/nm-device-interface.c
9119 src/nm-device-interface.h
9120 - (nm_device_interface_activate): take more arguments to support
9121 deferred activation; callers must pass one of (connection) OR
9122 (service_name, connection_path)
9123 - (impl_device_activate): connection validation is punted to the device
9124 to be able to handle deferred activation. Yes, this means errors
9125 don't get returned from the Activate() dbus call, and yes, that
9126 should be fixed somehow later.
9130 - (clear_act_request): clear additional deferred activation stuff too
9131 - (deferred_activation_timeout_cb): new function; clean up when
9132 deferred activation times out.
9133 - (deferred_activation_start_cb): new function; when the connection
9134 finally becomes available, start device activation
9135 - (nm_device_activate): attach to the right signals of the activation
9136 request if we need to defer activation until the connection is valid
9138 * src/NetworkManagerPolicy.c
9139 - (nm_policy_device_change_check): update for additional arguments
9140 required for nm_device_interface_activate(). Pass NULL for these
9141 though because this function already knows exactly which
9144 2007-09-14 Dan Williams <dcbw@redhat.com>
9146 Implement deferred activation handling in the NMActRequest class. When a
9147 client wants to activate a device but must create the NMConnection details
9148 on the fly, there likely hasn't been enough time yet for NM to receive the
9149 new connection signal and grab all the connection details. So the
9150 activation is deferred (and bounded by a timer) for a while, and if the
9151 connection appears within the window, it is activated.
9153 * src/nm-activation-request.c
9154 src/nm-activation-request.h
9155 - (nm_act_request_class_init): two new signals to support deferred
9156 activation, to allow the listener to handle both timeout and success
9157 - (nm_act_request_new_deferred): new function, starts the deferred
9158 activation timeout handler and listens to the NMManager for
9159 new-connection signals to notice when the connection comes in
9161 2007-09-14 Dan Williams <dcbw@redhat.com>
9165 - (nm_manager_get_connection_service_name,
9166 nm_manager_get_connection_dbus_path): get details about a connection
9167 known internally by the NMManager
9168 - (nm_manager_class_init): fix connection add/remove signal marshalers
9169 because NMConnection is now a GObject subclass
9170 - Use constant for the gobject data tag used on NMConnection objects for
9171 storing the associated DBusGProxy
9173 2007-09-14 Dan Williams <dcbw@redhat.com>
9178 src/supplicant-manager/Makefile.am
9179 src/dhcp-manager/Makefile.am
9180 src/backends/Makefile.am
9181 src/named-manager/Makefile.am
9182 src/ppp-manager/Makefile.am
9183 src/vpn-manager/Makefile.am
9184 test/libnm-util/Makefile.am
9185 test/test-common/Makefile.am
9186 - Remove utils/; it was unused
9188 2007-09-13 Dan Williams <dcbw@redhat.com>
9190 * libnm-glib/nm-vpn-manager.h
9191 libnm-glib/nm-vpn-manager.c
9192 - (nm_vpn_manager_connect): take routes as a GSList, not a char **
9194 2007-09-13 Dan Williams <dcbw@redhat.com>
9196 * src/nm-device-802-3-ethernet.c
9197 - (real_bring_down, nm_device_802_3_ethernet_dispose): disconnect from
9198 netlink monitor carrier signals on dispose, not bring down. The
9199 carrier signals should be handled over the entire lifetime of the
9200 device anyway, not created/destroyed on up or down.
9202 2007-09-13 Dan Williams <dcbw@redhat.com>
9204 * libnm-glib/nm-device.c
9205 libnm-glib/nm-device.h
9206 - (nm_device_activate): take a connection object path rather than an
9207 NMConnection because NMConnection isn't exported over D-Bus and
9208 therefore it dbus-glib can't automatically get an object path from it
9210 2007-09-13 Dan Williams <dcbw@redhat.com>
9212 * libnm-util/nm-setting.c
9213 - (nm_setting_wired_new): set autonegotiate to TRUE by default
9215 2007-09-13 Tambet Ingo <tambet@gmail.com>
9217 * autogen.sh: NetworkManagerMain.h is gone, check for NetworkManager.c.
9219 2007-09-12 Tambet Ingo <tambet@gmail.com>
9221 * src/vpn-manager/nm-vpn-connection.[ch]:
9222 * src/vpn-manager/nm-vpn-manager.[ch]:
9223 * src/vpn-manager/nm-vpn-service.[ch]: Rewrite the vpn handling code. Using
9224 dbus-glib, GObjects, signals etc.
9226 * libnm-glib/nm-vpn-manager.[ch]:
9227 * libnm-glib/nm-vpn-connection.[ch]: Now that the NM implementation changed
9228 so much, rewrite these too.
9230 * libnm-glib/Makefile.am: Add new files to build, build new binding files for
9231 the new introspection files.
9233 * libnm-glib/nm-client.[ch]: Remove all VPN related stuff from here.
9235 * libnm-glib/nm-dbus-utils.[ch]: Renamed from nm-utils.[ch] that was shadowing
9236 the header with the same name from libnm-utils.
9238 * libnm-glib/nm-vpn-plugin.[ch]: Implement.
9240 * libnm-util/Makefile.am: Add nm-utils.[ch] to build.
9242 * introspection/nm-vpn-plugin.xml: Implement.
9244 * introspection/nm-vpn-connection.xml: Implement.
9246 * introspection/nm-vpn-manager.xml: Implement.
9248 * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Remove
9249 the named manager argument, it can just as easily get it as the caller.
9250 (nm_system_vpn_device_unset_from_ip4_config): Ditto.
9252 * src/vpn-manager/nm-dbus-vpn.[ch]: Remove.
9254 * src/nm-dbus-manager.h: Fix up the name_owner signal signature.
9256 * src/dhcp-manager/nm-dhcp-manager.c (garray_to_string): Remove, use one from
9259 * libnm-util/nm-connection.c: Ditto.
9261 * src/NetworkManagerMain.h: Remove, it's finally empty.
9263 * configure.in: Remove utils/ from build.
9265 * include/NetworkManagerVPN.h: Add some more defines to reduce the amount
9266 of hard-coded strings.
9268 * utils/: Move it over to libnm-util.
9270 * test/Makefile.am: Link against libnm-util now that util/ is gone.
9272 * dispatcher-daemon/Makefile.am: Ditto.
9274 * src/Makefile.am: Ditto.
9276 2007-09-12 Dan Williams <dcbw@redhat.com>
9278 Wireless connections can be made with config data from the applet now.
9282 * src/supplicant-manager/nm-supplicant-config.h
9283 src/supplicant-manager/nm-supplicant-config.c
9284 - (nm_supplicant_config_new): kill unused init parameter 'iface'
9285 - (nm_supplicant_config_add_setting_wireless,
9286 nm_supplicant_config_add_setting_wireless_security): new functions;
9287 add key/value pairs from the settings objects to the supplicant
9290 * src/nm-device-802-11-wireless.c
9291 - (cull_scan_list): fix check to not prune currently associated AP
9292 - (build_supplicant_config, real_act_stage2_config): call the functions
9293 of the NMSupplicantConfig that parse settings objects rather than
9294 doing it manually here
9296 2007-09-12 Dan Williams <dcbw@redhat.com>
9298 * src/supplicant-manager/nm-supplicant-interface.c
9299 src/supplicant-manager/nm-supplicant-marshal.list
9300 - (nm_supplicant_interface_class_init): fix stupid mistake, the
9301 "connection-error" signal arguments should be STRING not CHAR
9303 2007-09-12 Dan Williams <dcbw@redhat.com>
9305 * src/NetworkManagerUtils.c
9306 src/NetworkManagerUtils.h
9307 - (nm_utils_hexstr2bin): new function
9309 2007-09-11 Dan Williams <dcbw@redhat.com>
9312 - (connection_get_settings_cb): emit connection-added signal
9313 - (connection_removed_cb): uncomment bits for system settings service,
9314 send connection-removed when appropriate
9315 - (nm_manager_get_connection_secrets, get_secrets_cb): don't clobber
9316 the stack by trying to g_object_set_data() on something that's
9317 not a GObject; handle case where settings service returns
9318 empty settings hash table
9320 2007-09-11 Dan Williams <dcbw@redhat.com>
9322 * src/NetworkManagerPolicy.c
9323 - (connection_added, connection_removed): trigger device change checks
9324 on connection changes
9326 2007-09-11 Dan Williams <dcbw@redhat.com>
9328 * src/nm-activation-request.c
9329 - (connection_secrets_updated_cb): fix c&p error in signal emission
9331 2007-09-11 Dan Williams <dcbw@redhat.com>
9333 * src/nm-device-802-11-wireless.c
9334 - (real_connection_secrets_updated): fix erroneous check
9336 2007-09-11 Dan Williams <dcbw@redhat.com>
9338 * introspection/nm-device.xml
9339 libnm-glib/nm-device.c
9340 libnm-glib/nm-device.c
9341 - Fix Activate call argument borkage; Activate takes 3 arguments
9343 2007-09-11 Dan Williams <dcbw@redhat.com>
9345 * libnm-glib/nm-access-point.c
9346 libnm-glib/nm-access-point.c
9347 - (nm_access_point_get_frequency): now returns guint32 to match
9348 property change on 2007-09-10
9350 2007-09-11 Dan Williams <dcbw@redhat.com>
9352 * src/nm-device-802-11-wireless.c
9353 - (nm_device_802_11_wireless_new): s/index/idx, stupid system header
9354 somewhere defines 'index' and I missed this one when I fixed the
9355 shadow declaration errors earlier
9357 2007-09-11 Dan Williams <dcbw@redhat.com>
9359 * libnm-util/nm-connection.c
9360 - (nm_connection_update_secrets, need_secrets_check): move
9361 802-11-wireless-security need_secrets checks to the setting object
9362 itself, where it belongs
9364 * libnm-util/nm-setting.c
9365 libnm-util/nm-setting.h
9366 - (nm_setting_need_secrets): new function
9367 - (setting_wireless_security_verify,
9368 nm_setting_wireless_security_new_from_hash): make 'key-mgmt' required
9369 - (setting_wireless_security_need_secrets): mostly copy code over
9370 from nm-connection.c
9372 2007-09-11 Dan Williams <dcbw@redhat.com>
9374 * libnm-util/nm-setting.c
9375 libnm-util/nm-setting.h
9376 - (nm_setting_update_secrets): new function; add a virtual function that
9377 subclasses can implement to update their secrets
9378 - (setting_wireless_security_update_secrets): implement that function
9379 for the 802-11-wireless-security subclass
9381 * libnm-util/nm-connection.c
9382 libnm-util/nm-connection.h
9383 - (nm_connection_update_secrets): update secrets for a Setting and
9384 emit a signal on success
9389 - (connection_get_settings_cb): enable system settings bits
9390 - (nm_manager_get_connection_secrets, get_secrets_cb): add function
9391 to request secrets from the settings dbus service and to
9392 push those secrets to the NMConnection itself
9394 * src/nm-activation-request.c
9395 src/nm-activation-request.h
9396 - Attach to the 'secrets-updated' signal of the NMConnection that's
9397 currently being activated, and proxy that signal to other listeners.
9398 Goes through the activation request because the activation request
9399 is the thing that manages the lifetime of the NMConnection that's
9402 * src/nm-device-802-11-wireless.c
9403 - (real_connection_secrets_updated): implement the connection secrets
9404 updated notification and restart activation when secrets are
9406 - (real_act_stage2_config): request secrets from the settings dbus
9407 service if secrets are needed
9411 - (clear_act_request, nm_device_activation_cancel,
9412 nm_device_deactivate_quickly, nm_device_dispose): consolidate places
9413 where the activation request is cleared
9414 - (nm_device_activate, connection_secrets_updated_cb): attach to the
9415 updated secrets signal of activation request and add a function
9416 that subclasses can override to handle it easily
9418 2007-09-11 Tambet Ingo <tambet@gmail.com>
9420 * src/backends/NetworkManagerSuSE.c: Fix a build issue caused by the
9421 removal of NetworkManagerAPList.
9423 2007-09-10 Dan Williams <dcbw@redhat.com>
9425 * src/NetworkManagerAP.c
9426 src/NetworkManagerAP.h
9427 introspection/nm-access-point.xml
9428 - Change 'freq' property to a guint32 instead of a double since we
9429 weren't using the floating point bits anyway
9431 2007-09-10 Dan Williams <dcbw@redhat.com>
9433 * NetworkManagerAP.c
9435 NetworkManagerPolicy.c
9436 NetworkManagerSystem.c
9437 NetworkManagerUtils.c
9438 NetworkManagerUtils.h
9439 nm-device-802-11-wireless.c
9440 nm-device-802-3-ethernet.c
9443 vpn-manager/nm-dbus-vpn.c
9444 - Warning fixes; casts and removal of unused variables
9446 2007-09-10 Dan Williams <dcbw@redhat.com>
9448 * include/NetworkManager.h
9449 - Kill NMNetworkType; AP types don't matter any more
9451 * src/NetworkManagerAPList.c
9452 src/NetworkManagerAPList.h
9454 - Kill; NMAccessPointList has outlived it's usefulness
9456 * src/NetworkManagerAP.c
9457 src/NetworkManagerAP.h
9458 - (match_cipher, security_compatible, nm_ap_check_compatible): new
9459 functions; check if an NMConnection object is compatible with the
9461 - (freq_to_channel, channel_to_freq): utility functions for
9462 channel <-> frequency conversion
9466 - (nm_device_get_best_connection): pass the specific object around
9467 (which might be the object path of a specific AP to connect to).
9468 The get_best_connection() call should populate this on return
9469 if needed (wireless does).
9471 * src/nm-device-802-3-ethernet.c
9472 - (real_get_best_connection): handle specific_object argument
9474 * src/NetworkManager.c
9475 src/NetworkManagerMain.h
9476 - Remove unused includes
9478 * src/nm-device-802-11-wireless.c
9479 src/nm-device-802-11-wireless.h
9480 - Convert the ap_list into a GSList from an NMAccessPointList
9481 - No need for caching the 'activation_ap' since this is now determined
9482 from the specific_object of the activation request, which is
9483 populated from the get_best_connection() call or from a user request
9484 - (nm_device_802_11_wireless_update_bssid): fix warning
9485 - (get_wireless_capabilities): fix error message format arguments
9486 - (nm_device_802_11_wireless_copy_allowed_to_dev_list): remove, unused
9487 - (find_best_connection, real_get_best_connection): implement
9488 - (ap_list_get_ap_by_ssid, nm_device_802_11_wireless_ap_list_print):
9489 move here from NetworkManagerAPList
9490 - (ap_need_secrets): remove; moved to nm-connection.c where it belongs
9491 - (real_act_stage1_prepare): just ensure an AP exists, connection is
9492 already verified earlier
9493 - (real_act_stage2_config): use nm_connection_need_secrets()
9495 * src/NetworkManagerPolicy.c
9496 - (nm_policy_auto_get_best_device): handle specific objects
9497 - (create_connection): remove; automatic connection creation functionality
9498 is handled by the Connection objects
9499 - (nm_policy_device_change_check): handle specific_object
9501 * libnm-util/nm-connection.c
9502 - (wireless_sec_need_secrets, nm_connection_need_secrets): implement
9504 2007-09-10 Dan Williams <dcbw@redhat.com>
9507 - (query_connections): fix uninitialized variable problem that caused
9509 - (nm_manager_add_device): take devices down on startup so that we can
9510 be assured that nm_device_is_up() won't short-circuit the init
9511 process. Hack until the is_up check gets split into two pieces
9512 that aren't behaviorally confusing.
9514 2007-09-09 Dan Williams <dcbw@redhat.com>
9516 * introspection/nm-device.xml
9517 - The 'Activate' method now takes 3 arguments, a service name for the
9518 settings service (user or system), the object path of the connection
9519 to activate, and the specific object to activate, if any
9521 * src/nm-device-interface.c
9522 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
9524 - (impl_device_activate): adapt to new Activate arguments; validate
9525 the service name and get the Connection object from the NMManager
9526 before starting to activate the device with the specified connection
9528 * src/nm-device-802-3-ethernet.c
9529 - (real_get_best_connection): find the best connection, or create a
9530 default one if no existing connections can be used
9532 * src/NetworkManagerPolicy.c
9533 - (nm_policy_auto_get_best_device): Get the device's best connection
9534 and only pick the device if it has one
9535 - (nm_policy_device_change_check): disable wireless bits for now until
9536 wireless get_best_connection() can be implemented (replacing "best_ap");
9537 don't create a default connection here as the device subclass will do
9542 - (nm_manager_get): make NMManager a singleton and expose the getter
9544 - Rework internal NMManager connection handling to use the same
9545 routines for both the system and user settings services. Most calls
9546 take a new NMConnectionType argument specifying either system or user
9548 - (nm_manager_get_connection_by_object_path): new function; get a
9549 connection keyed on its object path
9551 * src/NetworkManager.c
9552 - (main): use nm_manager_get()
9554 2007-09-09 Dan Williams <dcbw@redhat.com>
9558 - (nm_device_get_best_connection): new function; get best connection
9559 for the device at that time
9561 2007-09-09 Dan Williams <dcbw@redhat.com>
9563 * src/nm-device-interface.h
9564 - Add NMDeviceInterfaceError with an UnknownConnection error
9566 2007-09-09 Dan Williams <dcbw@redhat.com>
9568 Stupid mistake on my part; object path and interface for settings service
9569 and connection objects can be the same, only the service name must be
9570 different for the system and user settings services.
9572 * include/NetworkManager.h
9574 introspection/nm-settings-connection.xml
9575 introspection/nm-settings.xml
9576 libnm-glib/nm-settings.c
9577 - (nm_connection_settings_init, query_user_connections,
9578 new_connection_cb): Unify NetworkManagerSettings and Connection
9579 interface name and object path
9581 2007-09-06 Dan Williams <dcbw@redhat.com>
9583 * libnm-glib/nm-object.c
9584 - (nm_object_get_string_property, nm_object_get_object_path_property,
9585 nm_object_get_int_property, nm_object_get_uint_property,
9586 nm_object_get_boolean_property, nm_object_get_byte_property,
9587 nm_object_get_double_property, nm_object_get_byte_array_property):
9588 clear GValues after copying their contents, fixes memory leaks
9589 after every property access because dbus-glib copies the values
9590 from the DBusMessage into the GValue already.
9592 2007-09-06 Dan Williams <dcbw@redhat.com>
9594 * introspection/nm-access-point.xml
9595 - Fix WpaFlags and RsnFlags property names to be what dbus-glib expects
9596 them to be. There's some magic property name parsing going on in
9597 dbus-glib that breaks up property names based on studly-caps and
9598 puts - between words.
9600 * libnm-glib/nm-access-point.c
9601 - (nm_access_point_get_wpa_flags, nm_access_point_get_rsn_flags):
9604 2007-09-06 Dan Williams <dcbw@redhat.com>
9607 - (nm_manager_user_connections_destroy): clear the user connections hash
9608 table, don't destroy it
9609 - (finalize): only destroy the hash table on NMManager finalization
9611 2007-09-02 Dan Williams <dcbw@redhat.com>
9613 * include/NetworkManager.h
9614 libnm-glib/nm-settings.c
9615 - defines for the user settings daemon D-Bus bits
9617 * src/NetworkManager.c
9618 - Remove stuff that referred to the old NetworkManagerInfo service
9620 * src/vpn-manager/nm-dbus-vpn.h
9621 - Move old NMI defines to the only place they are used still
9623 * libnm-util/nm-connection.c
9624 libnm-util/nm-connection.h
9625 src/nm-activation-request.c
9626 - Make NMConnection a GObject subclass so we can do spiffy stuff with it
9630 - Get connections and their settings from the user settings daemon
9631 at the appropriate times
9633 2007-09-02 Dan Williams <dcbw@redhat.com>
9635 * libnm-util/nm-setting.c
9636 - (nm_settings_verify): correct setting name is 'connection', not 'info'
9637 - (setting_wireless_hash): set the right value on the item
9639 2007-09-02 Dan Williams <dcbw@redhat.com>
9643 - Remove, no longer useful
9645 2007-08-30 Dan Williams <dcbw@redhat.com>
9648 src/NetworkManagerDbus.c
9649 src/NetworkManagerDbus.h
9650 src/vpn-manager/nm-dbus-vpn.c
9651 - Remove, no longer necessary. Move last bits to the only place its
9652 used, in nm-dbus-vpn.c
9654 * src/NetworkManagerAPList.c
9656 src/NetworkManager.c
9657 src/nm-device-802-11-wireless.c
9658 src/vpn-manager/nm-vpn-manager.c
9659 src/vpn-manager/nm-vpn-service.c
9660 src/NetworkManagerPolicy.c
9662 - Remove usage of NetworkManagerDbus.h, and kill the obfuscation
9663 that was message_is_error()
9665 2007-08-30 Dan Williams <dcbw@redhat.com>
9668 - Include config.h to get defines for endiannes (gnome.org #420216)
9670 2007-08-30 Dan Williams <dcbw@redhat.com>
9672 Patch from Philip Withnall <bugzilla@tecnocode.co.uk>
9674 * src/ppp-manager/Makefile.am
9675 - use -fPIC (gnome.org #471825)
9677 2007-08-29 Dan Williams <dcbw@redhat.com>
9679 * include/NetworkManager.h
9680 - Keep NMConnection object path in sync
9682 * libnm-glib/nm-settings.c
9683 libnm-glib/nm-settings.h
9684 - Break D-Bus object registration out of the init function, because
9685 every object that's exported over D-Bus needs to use the _same_
9686 DBusConnection. Otherwise, each object would get a different object
9687 path tree and wouldn't be callable.
9689 2007-08-29 Dan Williams <dcbw@redhat.com>
9691 * libnm-util/nm-setting.h
9692 libnm-util/nm-setting.c
9693 libnm-util/nm-connection.c
9694 src/NetworkManagerPolicy.c
9695 - 'info' settings object should be 'connection' says the spec
9696 at NetworkManagerConfigurationSpecification
9698 2007-08-29 Dan Williams <dcbw@redhat.com>
9700 * libnm-glib/nm-settings.c
9701 libnm-glib/nm-settings.h
9702 - make the dbus path a property of the object, and autogenerate it.
9703 It can't be composed of the 'id' field becuase that's not available
9704 yet during the GObject creation in nm_connection_settings_init()
9706 2007-08-29 Dan Williams <dcbw@redhat.com>
9708 * introspection/nm-settings-connection.xml
9709 introspection/nm-settings.xml
9710 - Service name -> NetworkManagerUserSettings because two services
9711 can't share part of the same path. I'm not really sure how we'll use
9712 the same code with the system-settings daemon...
9714 2007-08-28 Dan Williams <dcbw@redhat.com>
9716 * src/nm-device-interface.c
9717 src/nm-device-interface.h
9718 - Kill one more bit of NMData
9720 2007-08-28 Dan Williams <dcbw@redhat.com>
9722 * src/NetworkManagerSystem.h
9725 src/nm-hal-manager.c
9726 src/NetworkManager.c
9727 src/nm-device-802-11-wireless.c
9728 src/nm-hal-manager.h
9729 src/nm-device-802-3-ethernet.c
9730 src/vpn-manager/nm-vpn-service.h
9731 src/vpn-manager/nm-vpn-manager.c
9732 src/vpn-manager/nm-vpn-manager.h
9733 src/vpn-manager/nm-vpn-service.c
9734 src/nm-device-802-11-wireless.h
9735 src/NetworkManagerMain.h
9736 src/nm-device-802-3-ethernet.h
9737 src/backends/NetworkManagerGentoo.c
9738 src/backends/NetworkManagerPaldo.c
9739 src/backends/NetworkManagerFrugalware.c
9740 src/backends/NetworkManagerRedHat.c
9741 src/backends/NetworkManagerSlackware.c
9742 src/backends/NetworkManagerGeneric.c
9743 src/backends/NetworkManagerArch.c
9744 src/backends/NetworkManagerSuSE.c
9745 src/backends/NetworkManagerGeneric.h
9746 src/backends/NetworkManagerDebian.c
9749 2007-08-28 Dan Williams <dcbw@redhat.com>
9751 * src/NetworkManagerMain.h
9752 src/nm-device-802-11-wireless.c
9753 src/NetworkManager.c
9754 - Remove invalid AP list from NMData; need to rework this somewhat, but
9755 for now we should set the 'invalid' property on individual APs, and when
9756 we need to invalidate a whole ESS, set the 'invalid' on every member of
9759 2007-08-28 Dan Williams <dcbw@redhat.com>
9761 * src/NetworkManagerAP.c
9762 src/NetworkManagerAP.h
9763 - Remove 'fallback' tag, to be replaced by NMConnection/NMSettings
9764 'autoconnect' property instead
9766 * src/NetworkManager.c
9767 src/NetworkManagerMain.h
9768 src/NetworkManagerPolicy.c
9769 src/NetworkManagerPolicy.h
9770 - Remove the 'allowed_ap_list', which should be replaced by
9771 NMConnection/NMSettings instead, since _those_ are the allowed
9772 things that NM can connect to
9774 * src/nm-device-802-11-wireless.c
9775 - Remove both allowed_ap_list usage and 'fallback' checking
9777 2007-08-28 Dan Williams <dcbw@redhat.com>
9780 src/named-manager/nm-named-manager.c
9781 src/named-manager/nm-named-manager.h
9782 src/NetworkManager.c
9783 src/vpn-manager/nm-vpn-manager.c
9784 src/NetworkManagerMain.h
9785 src/NetworkManagerSystem.c
9786 - Remove the named-manager object from NMData structure in preparation
9787 for NMData's timely death. Make the NMNamedManager the singleton that
9790 2007-08-28 Dan Williams <dcbw@redhat.com>
9792 Remove NMAPSecurity objects, they are replaced with flags on the APs for
9793 each AP's capabilities, and by NMConnection/NMSettings objects for user
9794 defined connections.
9796 * include/NetworkManager.h
9797 - Redefine 802.11 security properties. There are now device capabilities
9798 and AP flags and AP security flags. It was way to unclear before.
9801 src/nm-ap-security-leap.h
9802 src/nm-ap-security-leap.c
9803 src/nm-ap-security-wpa-eap.c
9804 src/nm-ap-security-wpa-eap.h
9805 src/nm-ap-security-private.h
9806 src/nm-ap-security-wpa-psk.c
9807 src/nm-ap-security-wpa-psk.h
9808 src/nm-ap-security-wep.c
9809 src/nm-ap-security-wep.h
9810 src/nm-ap-security.c
9811 src/nm-ap-security.h
9812 - Removed, to be replaced with NMConnection/NMSettings objects
9816 - Removed, to be replaced by code that talks to the new info daemon
9817 interface and gets NMConnection/NMSettings objects
9819 * src/backends/NetworkManagerSuSE.c
9820 - Remove usage of NMAPSecurity; should be replaced by a system-level
9821 info-daemon that does the same thing but talks the new info-daemon
9824 * src/NetworkManagerAP.h
9825 src/NetworkManagerAP.c
9826 src/NetworkManagerAPList.c
9827 libnm-glib/libnm-glib-test.c
9828 - Remove usage of NMAPSecurity objects and adjust to new flags for
9831 * libnm-glib/nm-access-point.c
9832 libnm-glib/nm-access-point.h
9833 introspection/nm-access-point.xml
9835 - Adjust to new flags for AP security
9839 src/vpn-manager/nm-dbus-vpn.c
9840 - Remove D-Bus pending call stuff from nm-utils and put it in the VPN
9841 stuff which is the only place it's used
9843 * src/nm-device-interface.c
9844 src/nm-device-interface.h
9845 introspection/nm-device.xml
9846 src/nm-activation-request.c
9847 src/nm-activation-request.h
9849 - Add a new 'specific_object' argument that hints to NM what actual
9850 AP or other device-specific thing the connection should apply to.
9851 NMConnection objects can apply to more than one actual device/AP.
9853 * libnm-util/nm-connection.c
9854 * libnm-util/nm-connection.h
9855 - Add 'have_secrets" call stubs
9857 * libnm-util/cipher.h
9858 - Move NM_AUTH_TYPE_* defines here for now
9860 * src/nm-device-802-11-wireless.c
9861 - Remove usage of NMAPSecurity, to be replaced with NMConnection/
9864 * src/NetworkManagerDbus.c
9865 * src/NetworkManagerPolicy.c
9866 - Remove usage of update_allowed_networks, should be pushing data in
9869 2007-08-27 Tambet Ingo <tambet@gmail.com>
9871 * src/nm-manager.c (impl_manager_get_devices): Duplicate the device path,
9872 dbus-glib frees it when the call is done.
9874 2007-08-26 Dan Williams <dcbw@redhat.com>
9876 * introspection/nm-device.xml
9877 - Add 'Index' property on NMDevice objects (forgot to do this earlier)
9879 2007-08-26 Dan Williams <dcbw@redhat.com>
9881 * src/nm-device-802-3-ethernet.c
9882 - (constructor): move connection of interface-connected/disconnected
9883 signals here from real_bring_up(). Should be listening to netlink
9884 for carrier events no matter what the initial state of the device
9887 2007-08-26 Dan Williams <dcbw@redhat.com>
9889 * src/nm-netlink-monitor.c
9890 - (nm_netlink_monitor_class_init): fix marshalling types for
9891 interface-connected/interface-disconnected
9892 - (nm_netlink_monitor_event_handler): clean up carrier on/off
9895 2007-08-26 Dan Williams <dcbw@redhat.com>
9897 Convert to using interface indexes as the primary method of identifying
9898 devices inside NetworkManager. Indexes are (?) stable, but devices can
9899 be renamed at any time. Device object paths now refer to the device
9900 index rather than the name, and you can map those two manually if you like
9901 by looking in the /sys/class/net/<name>/ifindex file. Also moves most
9902 netlink-related code to nm-netlink.c, and cleans up nm-netlink-monitor.c
9903 to use interface indexes rather than names.
9905 2007-08-26 Dan Williams <dcbw@redhat.com>
9907 * src/nm-netlink-monitor.h
9908 - Remove one last bit of wireless-event signal
9910 2007-08-26 Dan Williams <dcbw@redhat.com>
9912 * src/nm-netlink-monitor.c
9913 - (nm_netlink_monitor_class_init, nm_netlink_monitor_event_handler):
9914 don't need the 'wireless-event' signal anymore since that's all
9915 handled by wpa_supplicant
9917 2007-08-25 Dan Williams <dcbw@redhat.com>
9919 It's 2007. Remove support for drivers that don't support wireless scanning.
9922 include/NetworkManager.h
9923 src/NetworkManagerUtils.c
9924 src/NetworkManagerPolicy.c
9925 src/nm-device-802-11-wireless.c
9926 - Remove special handling for non-scanning devices and mark them
9927 as unsupported/unhandled
9929 2007-08-20 Dan Williams <dcbw@redhat.com>
9931 * src/nm-device-802-11-wireless.c
9932 src/nm-device-802-3-ethernet.c
9933 - (real_is_up): move device-specific tests before generic IFF_UP test,
9934 because when the card is pulled or the module removed, the device
9935 is already !IFF_UP and then device-specific cleanup (removing
9936 the supplicant interface, periodic checks, etc) never gets done
9938 2007-08-20 Dan Williams <dcbw@redhat.com>
9941 - (nm_manager_remove_device): bring device down before disconnecting
9942 signal handlers, so that the 'state' signal will get broadcast when
9943 the device enters the DOWN state
9944 - (manager_device_state_changed): add NM_DEVICE_STATE_DOWN to the list
9945 of states that cause the NMManager to recheck its state
9947 2007-08-20 Dan Williams <dcbw@redhat.com>
9949 * src/supplicant-manager/nm-supplicant-interface.c
9950 - (interface_disconnect_done): don't try to dispose of the net proxy
9951 when it may already have been disposed of
9953 2007-08-20 Dan Williams <dcbw@redhat.com>
9955 * src/nm-device-802-11-wireless.c
9956 - (nm_device_802_11_wireless_get_ssid): don't traceback and die when
9957 the SSID isn't available; this can happen when the card is pulled
9958 or the module unloaded, during the post-removal deactivation
9959 paths, when the ioctl returns ENODEV
9961 2007-08-20 Dan Williams <dcbw@redhat.com>
9963 * src/nm-device-802-11-wireless.c
9964 - (merge_scanned_ap): only merge the AP with another if the SSID, BSSID,
9965 frequency, and mode match. Applets are now responsible for grouping
9968 2007-08-20 Dan Williams <dcbw@redhat.com>
9970 * src/NetworkManagerAP.c
9971 * src/NetworkManagerAP.h
9972 - (nm_ap_print_self): new function
9974 * src/NetworkManagerAPList.c
9975 - (nm_ap_list_print_members): call nm_ap_print_self() rather than trying
9978 2007-08-17 Dan Williams <dcbw@redhat.com>
9980 * src/nm-device-802-3-ethernet.c
9981 - (real_bring_down): don't try to dispose of stuff that might not
9984 2007-08-17 Dan Williams <dcbw@redhat.com>
9986 * src/NetworkManagerAP.c
9987 - (nm_ap_set_user_addresses): uppercase any BSSID passed in from the
9988 applet. This ensures that the case between the seen-bssids and
9989 the bssids reported by the driver match.
9991 2007-08-17 Dan Williams <dcbw@redhat.com>
9993 * src/nm-device-802-11-wireless.c
9994 - (device_cleanup): disconnect the interface in wpa_supplicant before
9995 we dispose of the interface proxy in NM
9997 2007-08-16 Dan Williams <dcbw@redhat.com>
9999 * libnm-glib/nm-client.c
10000 - (nm_client_init): create VPN connections hash table with key free
10002 - (proxy_vpn_connection_added): VPN connections hash table key should
10003 be a duplicated value, not the same memory address as the VPN
10004 connection name. This is because the VPN connection name could
10005 potentially be freed and set to something else during the lifetime
10006 of the NMVPNConnection object.
10008 2007-08-16 Tambet Ingo <tambet@gmail.com>
10010 * src/ppp-manager/nm-ppp-manager.c (pppd_child_setup): Implement.
10011 (nm_ppp_manager_start): Use g_spawn_async() since we're not doing anything
10012 with the file descriptors. Send a child setup function to change the pppd
10015 2007-08-15 Dan Williams <dcbw@redhat.com>
10017 * src/supplicant-manager/nm-supplicant-interface.c
10018 - (try_remove_iface): new function, ask wpa_supplicant to remove
10020 - (nm_supplicant_interface_dispose): call try_remove_iface() when
10021 disposing of the NMSupplicantInterface. Otherwise weird stuff
10022 happens on hotplug if wpa_supplicant doesn't tear down and readd
10023 the interface internally
10025 2007-08-15 Dan Williams <dcbw@redhat.com>
10027 * src/nm-device-802-11-wireless.c
10028 - (real_bring_down): move most of this function into device_cleanup()
10029 so that it can be called from elsewhere
10030 - (nm_device_802_11_wireless_dispose): clean up device periodic timers
10031 and stuff on dispose. These would normally get cleaned up when
10032 the device is marked down and deactivated, but when the device is
10033 hot-unplugged, it's already down and real_down() never gets run
10035 2007-08-15 Dan Williams <dcbw@redhat.com>
10037 * src/nm-dbus-nmi.c
10038 - (nm_dbus_get_user_key_for_network_cb): fix incorrect refcounting that
10039 caused a reference leak on device for which NM requested a key
10041 2007-08-15 Dan Williams <dcbw@redhat.com>
10043 * libnm-glib/nm-client.c
10044 - (nm_client_get_best_vpn_state): fix leakage of the vpn connection list
10046 2007-08-15 Tambet Ingo <tambet@gmail.com>
10048 * src/ppp-manager: Implement ppp-manager. It's sort of dead code for now since
10049 nothing is using it at the moment, but it'll be all useful and stuff later on.
10051 * libnm-util/nm-setting.h: Define NMSettingPPP.
10053 * libnm-util/nm-setting.c: Implement NMSettingPPP.
10055 * libnm-util/nm-connection.c (register_default_creators): Register ppp setting.
10057 * src/Makefile.am: Add ppp-manager to SUBDIRS.
10059 * configure.in: Require ppp headers. Build Makefile for ppp-manager.
10061 * introspection/Makefile.am: Add nm-manager-client.xml to EXTRA_DIST.
10063 2007-08-14 Tambet Ingo <tambet@gmail.com>
10065 * libnm-glib/Makefile.am: Use nm-manager-client.xml to produce nm-client-bindings.
10067 * introspection/nm-manager-client.xml: Add a horrible horrbile hack to work around
10068 an issue with dbus-glib bindings generator. The issue is, the generated C caller
10069 functions for dbus methods "Sleep(bool)" and "sleep()" both have the same function
10070 name and different arguments and it won't compile anymore. To fix this, we now have
10071 two copies of nm-manager.xml file. nm-manager.xml contains the actual interface,
10072 that is new API + compatibility API and used by the daemon. The other,
10073 nm-manager-client.xml is only the new API without compatibility bits and is used
10074 by libnm-glib to make it compile.
10076 * introspection/nm-manager.xml: Define compatibility methods (sleep, wake, state).
10078 * src/nm-manager.c (impl_manager_legacy_sleep)
10079 (impl_manager_legacy_wake, impl_manager_legacy_state): Implement the compatibility
10080 interface functions for 0.6 branch.
10082 2007-08-14 Dan Williams <dcbw@redhat.com>
10084 * src/NetworkManagerAP.c
10085 - (nm_ap_new_from_properties): fix mistaken check of return value
10086 from memcmp (should expect 0)
10088 2007-08-14 Dan Williams <dcbw@redhat.com>
10090 (force-commit to fix wrong comment and partial commit of r2685; this
10091 commit actually applies to r2685)
10093 * src/NetworkManagerUtils.c
10094 - (nm_utils_same_ssid): add "ignore_trailing_null" parameter which
10095 ignores trailing nulls in the SSID to work around mismatches in
10096 expectations between WEXT and what the info-daemon passes back. The
10097 info-daemon would pass back the correct length, but due to the
10098 ESSID length issues with WEXT 22 and greater and wpa_supplicant,
10099 the device would always have an SSID + 1 depending on what versions
10100 of wpa_supplicant, the kernel, and NM you have. This was most often
10101 visible by just quitting the applet and relaunching, which caused
10102 NM to reassociated to the same network over again when reloading
10105 * src/NetworkManagerPolicy.c
10106 src/NetworkManagerUtils.h
10107 src/nm-device-802-11-wireless.c
10108 - Update for new parameter to nm_utils_same_ssid()
10110 2007-08-14 Dan Williams <dcbw@redhat.com>
10112 * src/NetworkManagerAP.c
10113 - (nm_ap_new_from_properties): ignore BSSs with invalid BSSIDs. Today
10114 I encountered a BSS that wasn't just hiding it's ESSID, it was
10115 setting the BSSID to all 0s. That confused the heck out of NM,
10116 plus it's useless and probably out-of-spec.
10118 2007-08-14 Dan Williams <dcbw@redhat.com>
10120 * callouts/Makefile.am
10121 src/dhcp-manager/nm-dhcp-manager.c
10122 src/dhcp-manager/nm-dhcp-manager.h
10123 src/dhcp-manager/Makefile.am
10124 - Change install location of nm-dhcp-client.action to ${prefix}/libexec
10126 2007-08-14 Dan Williams <dcbw@redhat.com>
10128 * src/dhcp-manager/nm-dhcp-manager.c
10129 - (dhclient_run): don't pass -x to dhclient until we figure out if
10130 it's really needed, get rid of unused xtra_args parameter
10132 2007-08-14 Dan Williams <dcbw@redhat.com>
10134 * include/NetworkManagerVPN.h
10135 src/vpn-manager/nm-dbus-vpn.c
10136 src/vpn-manager/nm-dbus-vpn.h
10137 src/vpn-manager/nm-vpn-act-request.c
10138 src/vpn-manager/nm-vpn-act-request.h
10139 src/vpn-manager/nm-vpn-service.c
10140 src/vpn-manager/nm-vpn-service.h
10141 libnm-glib/nm-vpn-connection.c
10142 libnm-glib/nm-vpn-connection.h
10143 libnm-glib/nm-client.h
10144 - Rename NM_VPN_STATE_* -> NM_VPN_SERVICE_STATE_* and NMVPNState ->
10145 NMVPNServiceState to clarify what they apply to
10146 - Rename NM_VPN_ACT_STAGE_* -> NM_VPN_CONNECTION_STATE_* and
10147 NMVPNActStage -> NMVPNConnectionState for the same reason
10149 * libnm-glib/nm-client.c
10150 - Constant + type renames from above
10151 - Properly handle NameOwnerChanged/manager_running signals
10152 for NM service; only emit when state really changes
10153 - Use hash tables correctly so that the key (which was previously owned
10154 by the D-Bus message) now has the same lifetime as the value, since
10155 the key is now taken from the the NMVPNConnection itself. This
10156 really fixes the double-VPN names in the applet
10158 2007-08-13 Dan Williams <dcbw@redhat.com>
10160 Patch from Michael Biebl <biebl@debian.org>
10164 - Update for vpn-properties move
10166 2007-08-13 Dan Williams <dcbw@redhat.com>
10168 * libnm-glib/nm-client.c
10169 - Convert internal VPN connection tracking from a list to a hash table
10170 to easily avoid duplicates
10171 - (nm_client_get_vpn_connections): now returns an allocated GSList that
10172 must be freed by the caller, like nm_client_get_devices()
10173 - (nm_client_remove_vpn_connection): don't let the removal signal
10174 leak through for NMVPNConnection objects that aren't actually
10176 - (manager_running): throw away VPN connection list when NM goes away,
10177 like with the device list
10179 2007-08-13 Dan Williams <dcbw@redhat.com>
10181 * src/dhcp-manager/nm-dhcp-manager.c
10182 - Stop any dhclient instance that might be already running for a
10183 particular interface before starting an NM spawned dhclient. Fixes
10184 dhclient processes left over if NM crashes, stuff like that.
10186 2007-08-13 Dan Williams <dcbw@redhat.com>
10188 * src/NetworkManagerAP.c
10189 - (finalize): don't try to g_array_free (NULL, ...), which happened
10190 when the AP wasn't broadcasting it's SSID
10192 2007-08-13 Rodrigo Moya <rodrigo@gnome-db.org>
10194 * include/NetworkManager.h: added DBus path for connection settings.
10196 * libnm-glib/nm-settings.[ch] (nm_settings_signal_new_connection,
10197 nm_connection_settings_signal_updated,
10198 nm_connection_settings_signal_removed): new functions to wrap the
10200 (nm_connection_settings_init): register GObject with DBus.
10201 (nm_connection_settings_get_dbus_object_path): new function.
10203 * libnm-glib/Makefile.am: added libnmutil to link flags.
10205 2007-08-13 Tambet Ingo <tambet@gmail.com>
10207 * configure.in: Remove checks for dhcdbd as it's killed! killed! killed!
10209 * gnome/*: Remove. The nm-vpn-properties directory is now part of nm-applet,
10210 libnm_glib directory got merged with libnm-glib/.
10212 * libnm-glib/libnm-glib.pc.in: Rename to libnm_glib.pc.in.
10214 * libnm-glib/Makefile.am: Add legacy libnm_glib.[ch] to the build.
10215 Rename the library from libnm-glib to libnm_glib to maintain the library API
10216 compatibility with 0.6 branch.
10218 * Makefile.am: Remove gnome/ SUBDIR.
10220 * gnome/libnm_glib/libnm_glib.[ch]: Move to libnm-glib/.
10222 * src/Makefile.am: Remove the WPA_SUPPLICANT_BIN define.
10224 * dispatcher-daemon/Makefile.am: Link the binary with libnm_glib.
10226 * configure.in: Remove GNOME checks, NetworkManager does not need any of these
10228 Remove checks for wpa_supplicant binary, it's used over dbus.
10229 Remove gnome/ directory files form AC_OUTPUT, that directory is getting moved.
10231 * test/Makefile.am: Remove define WPA_SUPPLICANT_BIN.
10232 Link the binaries with libnm_glib.la.
10234 2007-08-12 Dan Williams <dcbw@redhat.com>
10236 * src/NetworkManagerPolicy.c
10237 - (nm_policy_device_change_check): fix policy to deactivate old device
10238 before activating new one, at least until the multiple active
10239 device support lands
10241 2007-08-12 Dan Williams <dcbw@redhat.com>
10243 * src/NetworkManagerPolicy.c
10244 - (nm_policy_new): hook up to connection-added / connection-removed
10245 signals instead of connections-changed
10247 2007-08-12 Dan Williams <dcbw@redhat.com>
10249 Kill dhcdbd until it's dead, dead, dead. Based on a patch from
10250 Robert Frank <rfrank@redhat.com>
10252 * src/dhcp-manager/nm-dhcp-manager.c
10253 src/dhcp-manager/nm-dhcp-manager.c
10255 - Spawn and communicate with dhclient directly, through means of a
10256 custom dhclient callout script. Process callout D-Bus signals
10257 with dbus-glib instead of hand-rolled dbus. DHCP timeouts are now
10258 sent via gobject signals rather than being driven by the dhcp manager
10261 2007-08-12 Dan Williams <dcbw@redhat.com>
10263 * callouts/nm-dhcp-client-action.c
10264 - (build_message): ignore non-DHCP-related environment variables
10266 2007-08-12 Dan Williams <dcbw@redhat.com>
10270 callouts/Makefile.am
10271 callouts/nm-dhcp-client-action.c
10272 callouts/nm-dhcp-client.conf
10273 - Add dhclient-executed callout that takes the place of dhclient-script
10274 and dhcdbd, pushing DHCP options out to the system bus as a signal that
10275 NM then listens for
10277 2007-08-09 Tambet Ingo <tambet@gmail.com>
10279 [Based on patch by Helmut Schaa <hschaa@suse.de>]
10281 * libnm-glib/nm-client.h:
10282 * libnm-glib/nm-object.h:
10283 * libnm-glib/nm-vpn-connection.h:
10284 * libnm-glib/nm-settings.h:
10285 * libnm-glib/nm-device.h:
10286 * libnm-glib/nm-ip4-config.h:
10287 * libnm-glib/nm-access-point.h:
10288 * libnm-glib/nm-device-802-3-ethernet.h:
10289 * libnm-util/nm-setting.h:
10290 * libnm-util/nm-connection.h: Add G_BEGIN_DECLS / G_END_DECLS to support C++.
10292 * libnm-glib/nm-object.c (nm_object_get_byte_property): Implement.
10294 * libnm-glib/nm-access-point.c: Strength has type char.
10296 * gnome/vpn-properties/Makefile.am: Remove GNOME_DISABLE_DEPRECTATED for now
10297 to fix build. GnomeDruid is deprecated in recent libgnomeui.
10299 * introspection/nm-access-point.xml: Strength property is char, not int.
10301 * src/NetworkManagerAP.c (set_property): Set strength from char.
10302 (get_property): Handle hidden APs (with empty SSID).
10303 Get strength value from char.
10304 (nm_ap_class_init): Strength property has char type.
10306 2007-08-03 Rodrigo Moya <rodrigo@gnome-db.org>
10308 * introspection/Makefile.am:
10309 * introspection/nm-settings.xml:
10310 * introspection/nm-settings-connection.xml: added Settings interfaces.
10312 * libnm-glib/nm-settings.[ch]:
10313 * libnm-glib/Makefile.am: added abstract class for Settings interfaces
10314 containing the DBus implementation.
10316 2007-07-26 Dan Williams <dcbw@redhat.com>
10318 Patch from Bernhard Miklautz <bernhard.miklautz@shacknet.at>
10320 * src/NetworkManagerSystem.c
10321 - (nm_system_device_set_ip4_route): don't add the route if it's on the
10322 same subnet (#437396)
10324 2007-07-26 Dan Williams <dcbw@redhat.com>
10326 Patch from Kelemen Gábor <kelemeng@gnome.hu>
10328 * gnome/vpn-properties/nm-vpn-properties.c
10329 - Fix translatable strings (#445865)
10331 2007-07-26 Dan Williams <dcbw@redhat.com>
10333 Patch from Andreas Hanke <andreas.hanke@gmx-topmail.de>
10336 - Remove useless junk (#412530)
10338 2007-07-10 Christopher Aillon <caillon@redhat.com>
10340 Patch from Robert Buchholz <rbu@gentoo.org>:
10344 * introspection/Makefile.am:
10345 Make make distcheck work again.
10347 2007-06-27 Dan Williams <dcbw@redhat.com>
10349 * Make SSIDs GByteArrays everywhere
10350 * Rename "essid" -> "ssid" everywhere that's appropriate
10351 * Refcount activation_ap member of the 802.11 wireless device class
10353 2007-06-27 Tambet Ingo <tambet@ximian.com>
10355 * libnm-glib/nm-object.[ch]: Add these to the SVN, oops.
10357 2007-06-22 Tambet Ingo <tambet@ximian.com>
10359 * src/nm-device-802-11-wireless.c (merge_scanned_ap): Don't advertise constantly
10360 that we got a new AP when we just update existing AP properties.
10362 2007-06-21 Tambet Ingo <tambet@ximian.com>
10364 * libnm-glib/Makefile.am: Add NMObject to build, remove nm-utils.[ch].
10366 * nm-utils.[ch]: Remove.
10368 * libnm-glib/nm-object.c: Implement a base class for all libnm-glib dbus-aware
10369 objects for easy property access and dbus connection handling.
10371 * libnm-glib/nm-client.c: Derive from NMObject.
10373 * libnm-glib/nm-device.c: Ditto.
10375 * libnm-glib/nm-device-802-3-ethernet.c: Changes for being based on NMObject.
10377 * libnm-glib/nm-device-802-11-wireless.c: Ditto.
10379 * libnm-glib/nm-ip4-config.c: Ditto.
10381 * libnm-glib/nm-access-point.c: Ditto.
10383 * libnm-util/nm-connection.c (nm_connection_compare): Add a stub for connection
10384 comparision. Currently used by the device activation code to determine if the new
10385 activation is the same as the old one.
10387 * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Don't use the obsolete and
10388 wrong way of getting the dbus path for AP. Fixes the issue where the applet isn't
10389 able to ask password for the AP.
10391 * src/nm-device.c (nm_device_activate): Change the logic here - instead of giving
10392 up if the device is already connected, tear down it's connection (if it isn't the
10393 same as new one) and start the activation.
10395 * src/nm-manager.c: Add the beginnings of NMConnection storage and signals.
10397 * src/NetworkManagerAP.c (nm_ap_init): Set the default values to AP memebers, fixes
10398 the issue where all APs are always listed as encrypted.
10400 * src/NetworkManagerDbus.c (nm_dbus_get_object_path_for_network): Remove. APs have
10401 their own registered paths.
10403 * test/nm-tool.c (detail_device): Don't try to get active network from wireless
10404 device if it's not connected - dbus-glib will happily crash trying to marshal NULL.
10406 2007-06-13 Tambet Ingo <tambet@ximian.com>
10408 * src/NetworkManagerAP.c (foreach_property_cb): Set WEP capabilities too!
10411 * src/nm-device.c (nm_device_state_changed): Emit the signal before handling it
10412 because the handling code will cause the next state change and signal listeners
10413 get the signals in wrong order.
10415 * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Get the "old_dev"
10416 correctly in case of pending activation.
10418 * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
10419 Convert the essid byte array to string correctly, including the terminating NULL.
10421 * src/NetworkManagerPolicy.c (create_connection): Create wireless ssid and
10422 mode with correct types.
10424 * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Fix a typo, pass the
10425 constructed info to dbus call instead of the activation request.
10427 2007-06-11 Christopher Aillon <caillon@redhat.com>
10429 Patch from Christian Persch <chpe@gnome.org>
10431 * libnm-glib/Makefile.am:
10432 * dispatcher-daemon/Makefile.am:
10433 Use the correct variables, the correct paths, and correct ordering. (446315)
10435 2007-06-11 Tambet Ingo <tambet@ximian.com>
10437 * src/nm-device.c: Make the activation stage virtual functions take NMDevice
10438 argument. The activation request is easy to retrieve.
10440 * src/nm-activation-request.c: Convert to GObject. Do not include half of NM headers
10441 just to be a convenient location for devices to store random stuff.
10443 2007-06-11 Christopher Aillon <caillon@redhat.com>
10445 Patch from Alex Smith <alex@alex-smith.me.uk>
10447 * src/backends/NetworkManagerFrugalware.c:
10448 Update the FrugalWare backend to fix a few segfaults. (#392642)
10450 2007-06-08 Tambet Ingo <tambet@ximian.com>
10452 * libnm-util/nm-setting.c: Implement NMSettingWirelessSecurity.
10454 * libnm-util/nm-connection.c (register_default_creators): Register wireless security
10456 (gvalue_to_string): Recognize G_TYPE_UCHAR and GSList.
10458 2007-06-06 Tambet Ingo <tambet@ximian.com>
10460 * libnm-util/nm-setting.c: Get rid of dump virtual functions, that can happen
10462 Implement NMSettingIP4Config.
10463 Finish NMSettingWired by adding all known members.
10464 (setting_wired_verify): Implement.
10465 Finish NMSettingWireless by adding all known members.
10466 (setting_wireless_verify): Implement.
10468 * libnm-util/nm-connection.c: Register "ipv4" setting.
10469 (nm_connection_dump): Implement. Instead of requiring every NMSetting to implement
10470 dump function, we can introspect the GHashTable which is used for sending connections
10473 * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
10474 Take GByteArray for essid, it's really not a string.
10476 * src/nm-device.c (real_act_stage3_ip_config_start): Get information from NMSettings.
10477 Start DHCP request if setting is not passed or if it states that DHCP should be used.
10478 (real_act_stage4_get_ip4_config): If settings are provided, use them, even if it
10479 means overriding the values we got from DHCP.
10480 (real_activation_cancel_handler): Cancel DHCP transaction only if it has started, doh.
10481 (nm_device_deactivate_quickly): Ditto.
10483 * src/nm-device-interface.c (impl_device_activate): Dump the connection structure
10486 2007-05-07 Tambet Ingo <tambet@ximian.com>
10488 * libnm-glib/Makefile.am: Link with libnm-util to gain access to
10491 * libnm-glib/nm-device-802-11-wireless.c:
10492 (nm_device_802_3_ethernet_activate): Remove.
10494 * libnm-glib/nm-device-802-3-ethernet.c
10495 (nm_device_802_3_ethernet_activate): Remove.
10497 * libnm-glib/nm-device.c (nm_device_activate): Implement.
10499 * src/nm-device-802-3-ethernet.c: Implement the new activation using
10502 * src/nm-device-802-11-wireless.c: Store an activation AP once the
10503 activation has started.
10504 Implement the new activation using NMConnection.
10506 * src/nm-activation-request.c: Store a generic connection object instead
10507 of a wireless-specific AP.
10509 * src/NetworkManagerPolicy.c (create_connection): Implement. Depending
10510 on device type, create a device specific connection object suitable for
10513 * src/nm-device.c (nm_device_activate): Re-implement. Call the device
10514 specific check to validate the connection and on success start the
10517 * src/nm-device-interface.h: Add a activate virtual function to the
10518 interface definition.
10520 * src/nm-device-interface.c (nm_device_interface_activate): Implement.
10521 (impl_device_activate): Implement.
10523 * introspection/nm-device.xml: Add a generic device activation interface
10524 that accepts an abstract NMConnection structure that has device-specific
10527 * introspection/nm-device-802-3-ethernet.xml: Remove the wired-specific
10528 activation interface.
10530 * introspection/nm-device-802-11-wireless.xml: Remove the wireless-specific
10531 activation interface.
10533 * libnm-util/nm-connection.c:
10534 * libnm-util/nm-connection.h:
10535 * libnm-util/nm-setting.c:
10536 * libnm-util/nm-setting.h: Add.
10538 * libnm-util/Makefile.am: Build the added files.
10540 * src/nm-dbus-manager.c
10541 (proxy_name_owner_changed, nm_dbus_manager_class_init): Remove the
10542 DbusConnection argument from 'name-owner-changed' signal. The manager
10543 is already passed as a first argument to the signal and the connection
10544 is easy enough to get from it.
10546 * src/vpn-manager/nm-vpn-service.c (nm_vpn_service_name_owner_changed):
10547 Update the signature of the function.
10549 * src/vpn-manager/nm-vpn-manager.c (nm_name_owner_changed_handler):
10552 * src/NetworkManager.c: Ditto.
10554 * src/named-manager/nm-named-manager.c
10555 (nm_named_manager_name_owner_changed): Ditto.
10557 * src/supplicant-manager/nm-supplicant-manager.c
10558 (nm_supplicant_manager_name_owner_changed): Ditto.
10560 * src/nm-hal-manager.c (name_owner_changed): Ditto.
10562 * src/dhcp-manager/nm-dhcp-manager.c
10563 (nm_dhcp_manager_name_owner_changed): Ditto.
10565 * src/nm-hal-manager.c: Add a list of device detectors and creators
10566 to make it easier to add new devices. Each device type has it's own
10567 entry in the table so adding new device types is only a matter of
10568 implementing a couple of functions, one for device detection and the
10569 other for device creation.
10571 2007-04-25 Dan Williams <dcbw@redhat.com>
10573 * initscript/RedHat/NetworkManager.in: remove trailing backslash
10574 (gnome.org #432401)
10576 2007-03-30 Dan Williams <dcbw@redhat.com>
10578 * src/NetworkManagerSystem.c
10579 - (nm_system_device_set_ip4_route): clean up and fix argument
10580 to nm_dev_sock_open()
10582 2007-03-28 Tambet Ingo <tambet@ximian.com>
10584 * src/supplicant-manager/nm-supplicant-config.c (get_hash_cb): Marshal the
10585 data to correct types instead of always using string.
10587 * src/NetworkManagerAP.c (get_property): AP is encrypted if capabilities does
10588 _not_ have NM_802_11_CAP_PROTO_NONE.
10589 (foreach_property_cb): Set AP capabilities if it's not set or if the protocol
10592 2007-03-27 Tambet Ingo <tambet@ximian.com>
10594 * libnm-glib/Makefile.am: Fix the build issue.
10596 2007-03-26 Tambet Ingo <tambet@ximian.com>
10598 * libnm-glib/nm-vpn-connection.h:
10599 * libnm-glib/nm-vpn-connection.c: Implement.
10601 * libnm-glib/nm-client.c: Add VPN support.
10603 * src/vpn-manager/nm-dbus-vpn.c (dbus_message_handler): Implement DBUS message
10606 * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_new): Register VPN interface
10609 2007-03-26 Dan Williams <dcbw@redhat.com>
10611 * src/NetworkManagerAPList.c
10612 * src/nm-device-802-11-wireless.c
10613 * src/NetworkManagerAP.c:
10614 - Store last seen as glong instead of GTimeVal.
10615 - Fix the upper bound of capabilities, it's a bitfield.
10617 2007-03-16 Tambet Ingo <tambet@ximian.com>
10619 * libnm-glib/nm-device.c (nm_device_get_description): Implement.
10621 * libnm-glib/nm-client.c (nm_client_manager_is_running): Implement. Also add a
10622 "manager-running" signal that notifies the appearance/disappearance of NM.
10623 (nm_client_sleep): Implement.
10625 * libnm-glib/nm-device.c:
10626 * libnm-glib/nm-device-802-11-wireless.c:
10627 * libnm-glib/nm-device-802-3-ethernet.c:
10629 Don't inherit from DBusGProxy, add a proxy to private
10630 data. The reason is, classes inherited from NMDevice wouldn't get any dbus signals
10631 for anything but their own dbus interface. DBusGProxy objects support only one
10632 interfaces and to work around this, NMDevice has spearate proxy for each dbus
10633 interface. The nice side effect of this change is that we do not create a new
10634 DBusGProxy object for each property access.
10636 2007-03-15 Tambet Ingo <tambet@ximian.com>
10638 * src/nm-device-802-11-wireless.c (constructor): Initialize the iw_ext structures
10639 with zeroes before passing them to functions - the functions never do that and
10640 reading the values back may produce wrong values.
10641 (real_bring_up): Store the signal handler id ...
10642 (real_bring_down): ... So that it can be removed here.
10643 Disconnect the supplicant interface here as well.
10644 (nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): Use the dbus object path
10645 from the access point instead of old $device/Networks/$essid.
10647 * src/nm-manager.c (nm_manager_get_state): Return NM_STATE_CONNECTED when the
10648 device state is connected (instead of just having link/carrier).
10650 * src/nm-activation-request.c: Don't store NMData in activation request, it's
10651 already easily accessible through the device.
10653 * src/NetworkManagerAP.c (nm_ap_init): Construct the dbus object path here and
10654 store it within the object.
10655 (nm_ap_get_dbus_path): Export it to public as well.
10657 * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get): Keep the ownership
10660 2007-03-12 Dan Williams <dcbw@redhat.com>
10662 Get rid of 2 second poll of sysfs 'carrier' file for wired devices. Useless
10663 for non-carrier-detect capable devices, and useless for carrier-detect
10664 devices since we get notifications from netlink about carrier status anyway.
10666 * src/nm-device-802-3-ethernet.c
10667 - remove 'link_source_id' member from private data
10668 - (probe_link): remove and collapse into real_update_link()
10669 - (nm_device_802_3_periodic_update): remove
10670 - (real_is_up): check for sup_iface rather than link_source_id
10671 - (real_bring_up): return gboolean for success/fail; require that
10672 sup_iface be valid for device bringup to succeed
10673 - (real_bring_down): zero out link signal ids
10676 - (nm_device_activate_stage2_device_config): fail activation if device
10678 - (real_act_stage4_get_ip4_config): fail activation if device bringup
10680 - (nm_device_bring_up): return success/fail
10683 - bring_up now returns success/fail
10685 * src/nm-device-802-11-wireless.c
10686 - (real_bring_up): return success from bringup
10688 2007-03-07 Dan Williams <dcbw@redhat.com>
10690 Patch from Simon Geard <delgarde@ihug.co.nz> (Gnome.org #394956)
10691 * src/nm-ap-security-wpa-psk.c
10692 - (real_write_supplicant_config): work with PSKs that may contain
10693 zeros in the binary format rather than treating it as a string
10695 2007-03-02 Tambet Ingo <tambet@ximian.com>
10697 * libnm-glib/nm-device-802-11-wireless.c
10698 (nm_device_802_11_wireless_get_capabilities): Implement.
10700 * libnm-glib/nm-device.c (nm_device_get_capabilities): Implement.
10702 * src/nm-device-802-11-wireless.c: Add "WirelessCapabilities" property.
10704 * src/named-manager/nm-named-manager.c (remove_one_zone_from_named): Unref the
10705 reply only if it's not NULL. Not sure why this started happening right now.
10707 * src/nm-manager.c (device_stop_and_free): Remove. No need to have different
10708 code paths for when devices get removed on shutdown or when a device is just
10710 (finalize): Don't use a g_slist_foreach() when removing devices, the list data
10711 gets freed so any signal from a device (disconnected for instance) would invoke
10712 NMState update which would crash.
10713 (nm_manager_remove_device): Bring the device down when it gets removed.
10715 * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Remove
10716 the unused dev_type.
10718 * src/nm-hal-manager.c (create_device_and_add_to_list): Don't keep the
10719 reference to the added device, NMManager will own it (if it wants).
10721 * test/nm-tool.c: Rewrite using libnm-glib.
10723 * libnm-glib/nm-device-802-11-wireless.c: Cache networks (bssids) list.
10724 We get signalled when it changes.
10726 * libnm-glib/nm-client.c: Cache NMState and device list, we get signalled
10729 * libnm-glib/nm-device.c: Cache the device state property.
10731 * libnm-glib/nm-access-point.c: Cache the strength property.
10733 * src/nm-device-802-11-wireless.c: Fix wireless device scanning scheduler.
10734 The new algorithm is to start from SCAN_INTERVAL_MIN (currently defined as 0)
10735 and add a SCAN_INTERVAL_STEP (currently 20 seconds) with each successful scan
10736 until SCAN_INTERVAL_MAX (currently 120 seconds) is reached. Do not scan while
10737 the device is down, activating, or activated (in case of A/B/G cards).
10738 Remove some old dead ifdef'ed out code that used to configure wireless devices,
10739 it's all done through supplicant now.
10741 * src/supplicant-manager/nm-supplicant-interface.c: Fix the reference
10742 counting issues with pending calls which caused leaks and crashes when
10743 interface was removed (now that the interface actually gets removed).
10745 * src/nm-call-store.c: Make a copy of data before running a foreach
10746 with user callback on it - The most common usage pattern is to cancel
10747 (and thus remove) all pending calls with foreach which would modify
10748 the hash table we're iterating over.
10750 * src/nm-manager.c: When a device is added, make sure it is "up". When
10751 it's removed or disabled due to disabling wireless or networking, bring
10754 * include/NetworkManager.h: Add new device state NM_DEVICE_STATE_DOWN.
10756 * src/nm-device-802-11-wireless.c:
10757 * src/nm-device-802-3-ethernet.c:
10759 - Remove "init" virtual function, all gobjects have a place for that
10760 already (constructor).
10761 - Replace "start" virtual function with "bring_up", devices can be
10762 brought up and down more than just on startup now.
10763 - Add "is_up" virtual function.
10764 - Implement one way to bring a device down instead of previous 4 different
10765 ways, each of witch did something different.
10767 * src/NetworkManagerUtils.c (nm_dev_sock_open): This doesn't need an NMDevice,
10768 all it needs is the device interface.
10770 Get rid of NMData.dev_list (3 members to go).
10771 Get rif of NMData in a lot of places.
10773 * gnome/libnm_glib/libnm_glib.c: Make it compile again.
10775 2007-02-23 Dan Williams <dcbw@redhat.com>
10777 Patch from Andy Whitcroft <apw@shadowen.org> (Gnome.org #410426)
10779 * src/NetworkManagerAP.c
10780 - (add_capabilities_from_cipher): fix addition of WEP capabilities by
10781 OR-ing rather than AND-ing
10783 2007-02-20 Tambet Ingo <tambet@ximian.com>
10785 * libnm-glib/nm-device-802-11-wireless.c: Add "network-added" and
10786 "network-removed" signals.
10788 * libnm-glib/libnm-glib.pc.in: Require NetworkManager >= 0.7.0.
10790 * libnm-glib/nm-access-point.c: Add "strength-changed" signal, emit it
10791 when receiving the signal from dbus.
10793 * src/nm-device-802-11-wireless.c (get_property): Fix PROP_ACTIVE_NETWORK
10796 * src/NetworkManagerPolicy.c (state_changed): Fix a typo to make the
10797 deactivation of the previously activated device working again.
10799 * src/nm-activation-request.c: Remove NMActStage property and it's getter
10802 * src/nm-device.c (nm_device_is_activated): Remove.
10803 state == NM_DEVICE_STATE_ACTIVATED is just as easy to use.
10805 * include/NetworkManager.h: Remove NM_DBUS_NO_DEVICES_ERROR,
10806 NM_DBUS_NO_DIALUP_ERROR, NM_DBUS_NO_NETWORKS_ERROR,
10807 NM_DBUS_NO_ACTIVE_DEVICE_ERROR, NM_DBUS_NO_ACTIVE_NET_ERROR errors and
10808 NM_DBUS_SIGNAL_STATE_CHANGE signal.
10809 Remove NMNetworkStatus and NMActStage enums.
10811 2007-02-19 Tambet Ingo <tambet@ximian.com>
10813 * src/vpn-manager/nm-vpn-manager.c: Handle the DBUS state changes itself.
10814 Handle device state changes and disconnect VPN if it's device deactivates.
10816 * src/nm-dbus-nm.c:
10817 * src/nm-dbus-nm.h:
10818 * src/nm-dbus-device.c:
10819 * src/nm-dbus-device.c:
10820 * src/nm-dbus-net.c:
10821 * src/nm-dbus-net.h: Remove. All of it is implemented byt the new dbus API.
10823 * src/NetworkManagerMain.h: Get rid of all but 3 properties of NMData.
10825 * src/nm-device.c (nm_device_get_by_udi):
10826 (nm_device_get_by_iface): Remove. This doesn't belong here and is already
10827 implemented in the correct location (NMManager).
10828 Rip out all the test_device stuff.
10830 * src/NetworkManagerPolicy.c: Remove the leftover activation success and
10831 failure handlers, it's all done by NMDevice already.
10833 * src/NetworkManager.c: Move the signal handling here from nm-logging.c
10834 Remove the iochannel hack to route the unix signals to the main thread since
10835 we're not threaded anymore.
10837 * src/NetworkManagerAP.c: Implement HWAddress property.
10839 * src/NetworkManagerDbus.c: Remove the dbus signal sending code, it happens
10840 automatically with dbus-glib.
10842 * src/nm-netlink-monitor.c:
10843 * src/nm-netlink-monitor.h:
10844 - Move it low in the class hierarchy, don't reference any NM types.
10845 - Remove private data from the header.
10846 - Use type safe checks in public API methods.
10847 - Make it a singleton so we don't have to pass the single reference around.
10849 2007-02-16 Tambet Ingo <tambet@ximian.com>
10851 * introspection/nm-ip4-config.xml: Implement.
10853 * libnm-glib/libnm-glib-test.c: Use new DBUS API in tests.
10855 * libnm-glib/nm-ip4-config.c:
10856 * libnm-glib/nm-ip4-config.c: Implement.
10858 * src/nm-ap-security[-*]: Remove circular dependencies between APs and AP
10859 securities. APs reference security.
10861 * src/nm-device-802-11-wireless.c: Implement missing properties that need to
10862 be exported over DBUS.
10864 * src/nm-device-802-3-ethernet.c: Ditto.
10866 * src/NetworkManagerAP.c:
10867 * src/NetworkManagerAP.h:
10868 - Convert to GObject, export over DBUS.
10870 * src/nm-ip4-config.h:
10871 * src/nm-ip4-config.h:
10872 - Convert to GObject, export over DBUS.
10874 2007-02-12 Dan Williams <dcbw@redhat.com>
10876 Patch from Helmut Schaa <hschaa@suse.de>
10878 * vpn-daemons/pptp/configure.in
10879 vpn-daemons/pptp/Makefile.am
10880 vpn-daemons/openvpn/configure.in
10881 vpn-daemons/openvpn/Makefile.am
10882 vpn-daemons/vpnc/configure.in
10883 vpn-daemons/vpnc/Makefile.am
10884 - Add --without-gnome switch which disables building gnome bits
10886 2007-02-12 Tambet Ingo <tambet@ximian.com>
10888 * libnm-glib/nm-device.c (nm_device_get_use_dhcp): Remove.
10890 * libnm-glib/nm-access-point.c (nm_access_point_is_broadcast): Remove.
10892 * introspection/nm-device-802-3-ethernet.xml: Rename 'Address' property to
10895 * introspection/nm-device.xml: Remove 'UseDhcp' property.
10897 * introspection/nm-access-point.xml: Remove 'Broadcast' property.
10899 Totally break NetworkManager. Please use 0.6 branch until futher notice.
10902 - Remove old low-level dbus interface implementations and replace them
10903 with dbus-glib one.
10906 - Require dbus-glib >= 0.72.
10907 - Plug in new sources to build.
10910 - Implement GObject wrappers on top of DBUS glib auto-generated bindings
10911 to make it more convenient to use from GObject based programs.
10914 - Implement DBUS XML introspection files, used by both NM and libnm-glib.
10916 2007-02-09 Tambet Ingo <tambet@ximian.com>
10918 * src/nm-device-802-11-wireless.c:
10919 - Add "network-added" and "network-removed" signals.
10920 - Use gobject boilerplate macros to define the GObject.
10921 - Implement wireless device activation.
10922 - Remove activation_failure_handler and activation_success_handler
10923 and instead listen on state-changed signals and run the same code
10927 - Implment NMDeviceInterface::deactivate.
10928 - Remove activation_failure_handler and activation_success_handler
10929 virtual methods. Each device which is interested in these events
10930 can just listen on it's state changed signals.
10932 * src/NetworkManagerPolicy.c:
10933 - Move a bit more NMData usage to NMManager.
10934 - Remove activation scheduling bits.
10935 - Add listeners for wireless device's "network-added" and
10936 "network-removed" signals.
10937 - Listen device changed signals and deactivate currently activated
10938 device when another device start activating (for now).
10939 - Remove (nm_policy_schedule_device_change_check): There's never a need
10940 for calling this, the policy code knows exactly when this should happen,
10941 by listening on events from NMManager and NMDevices.
10943 * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_activate):
10946 * src/nm-dbus-nm.c (nm_dbus_nm_set_active_device): Call the activation
10947 method on the specific device instead of going to through policy code
10948 and determining the device type by passed in AP's existance.
10950 * src/nm-device-interface.c (nm_device_interface_deactivate): Implement the
10951 abstract NMDevice deactivation.
10953 2007-02-08 Tambet Ingo <tambet@ximian.com>
10955 * src/NetworkManager.c:
10956 - Set up all the shiny new managers.
10958 * src/NetworkManagerPolicy.c:
10959 - Add the beginnings of new NMPolicy code. Instead of requireing all
10960 classes to call into policy code, make the policy code kind of like
10961 a supervisor that monitors what's going on and drives the whole NM.
10963 * src/nm-hal-manager.c:
10964 * src/nm-hal-manager.h:
10965 - Collect all libhal code scattered around NM to this one class.
10966 - Listen libhal and NMManager events and add/remove devices to
10969 * src/nm-manager.c:
10970 * src/nm-manager.h:
10971 - Implment a replacement for NMData. NMData is now officially
10974 2007-02-05 Tambet Ingo <tambet@ximian.com>
10976 * src/nm-device-802-11-wireless.c (supplicant_iface_scan_result_cb):
10977 * src/supplicant-manager/nm-supplicant-interface.h
10978 * src/supplicant-manager/nm-supplicant-interface.c
10979 (nm_supplicant_interface_class_init): Change the "scan-result" signal's
10980 argument to boolean from enum.
10982 Make NMDevice abstract class, remove almost all references to it's
10983 subclasses (the last place gets removed with new policy manager). Add
10984 NMDeviceInterface (which NMDevice implements) so that when we have
10985 NMDevice exported over DBUS, there's a common NMDevice interface which
10986 all instances have, plus there's a device specific interface for each
10988 Remove functions (nm_device_is_802_3_ethernet) and
10989 (nm_device_is_802_11_wireless). There are already standard GObject macros
10990 for type safe checks.
10991 Use the updated supplican manager API.
10993 * src/nm-device-interface.h:
10994 * src/nm-device-interface.c:
10995 * src/nm-call-store.h:
10996 * src/nm-call-store.c: Implement.
10998 * src/supplicant-manager/nm-supplicant-interface.c:
10999 * src/supplicant-manager/nm-supplicant-interface.h:
11000 * src/supplicant-manager/nm-supplicant-manager.c:
11001 * src/supplicant-manager/nm-supplicant-manager.h:
11002 - Remove all private data type references from public header files.
11003 - Remove all references to other NM classes, this class is just a
11004 proxy between wpa_supplicant and NM so it doesn't have to know
11006 - Convert to dbus-glib bindings.
11007 - Type safe checks for public methods' arguments.
11008 - Store pending DBUS call ids to NMCallStore.
11010 * src/supplicant-manager/nm-supplicant-config.c:
11011 - Store config values in a GHashTable instead of GSList.
11013 * src/NetworkManagerMain.h: Remove all references to DHCP manager.
11015 * src/NetworkManager.c: Don't initialize the DHCP manager, it's a
11018 * src/nm-device.c: Use the new DHCP manager API.
11020 * src/nm-activation-request.c:
11021 * src/nm-activation-request.h:
11022 - Remove all dhcp related properties and methods.
11024 * src/dhcp-manager/nm-dhcp-marshal-main.c: Add.
11026 * src/dhcp-manager/nm-dhcp-marshal.list: Add.
11028 * src/dhcp-manager/nm-dhcp-manager.c:
11029 * src/dhcp-manager/nm-dhcp-manager.h:
11030 - Convert it to GObject since we need to signal state changes.
11031 - Remove all references to other NM classes, this class is one
11032 of the lowest classes in our hierarchy.
11033 - One less class to use NMActRequest.
11034 - Make it singleton, one less user of NMData.
11035 - Remove a couple of sleep() calls.
11036 - Convert a bunch of low-level dbus API calls to dbus-glib calls.
11037 One less class to use the NM's custom tailored signal handlig.
11039 * Makefile.am: Generate marshallers, add them to build.
11041 2007-02-02 Dan Williams <dcbw@redhat.com>
11047 - Remove last bits referencing gnome applet
11049 2007-02-02 Dan Williams <dcbw@redhat.com>
11051 * src/vpn-manager/nm-vpn-service.c
11052 - (nm_vpn_service_stage4_ip4_config_get): use uint32 arrays for DNS
11053 and NBNS server addresses
11055 2007-02-02 Tambet Ingo <tambet@ximian.com>
11057 * src/nm-dbus-manager.c:
11058 * src/nm-dbus-manager.h:
11059 - Convert all internal DBUS code to use dbus-glib bindings.
11060 - Remove GObject properties, we don't need them here.
11061 - Don't explicitly set things to NULL after freeing, glib is
11062 happy to do it if asked nicely (G_DEBUG=gc-friendly).
11063 - Make public API argument checks type safe.
11064 - Remove unnecessary (and wrong) cast to GObject for the first
11065 argument to g_signal_* calls - The first argument is a gpointer.
11066 - Export DBusGConnection to other cool classes that (are going to)
11069 2007-01-26 Dan Williams <dcbw@redhat.com>
11071 * libnm-util/dbus-dict-helpers.c
11072 libnm-util/dbus-dict-helpers.h
11073 - Coordinate style with wpa_supplicant version to minimize diff
11074 - Add uint32 array support
11075 - (nmu_dbus_dict_append_uint32_array): new function
11076 - (nmu_dbus_dict_begin_string_array, nmu_dbus_dict_string_array_add_element,
11077 nmu_dbus_dict_end_string_array): bring over from wpa_supplicant
11078 version; allow adding string array elements individually
11080 * test/libnm-util/test-dbus-dict-helpers.c
11081 - Test uint32 arrays
11083 2007-01-27 Jürg Billeter <j@bitron.ch>
11085 * src/backends/NetworkManagerPaldo.c
11086 - (nm_system_update_dns): clear nscd hosts cache
11088 2007-01-04 Dan Williams <dcbw@redhat.com>
11090 Threading removal related cleanups:
11092 - Use the glib default main context. Remove the device main context
11093 member from NMDevice, and the main_context member from NMData. Change
11094 all the idle and timeout scheduler functions to use plain
11095 g_idle_add() and g_timeout_add().
11097 - As a side-effect of the first change, nm_dbus_manager_get() no longer
11098 takes an argument; fix that up too.
11100 - Remove all locking, which is useless since we no longer use threads. For
11101 example, nm_get_device_by_iface_locked() has been removed. The global
11102 device list lock, the AP List lock, and all static locks in
11103 NetworkManagerPolicy.c have been removed. The locking utility functions
11104 in NetworkManagerUtils.c have also been removed.
11106 - Other cleanups in spacing and code style
11108 2007-01-01 Dan Williams <dcbw@redhat.com>
11110 Found by Bill Moss:
11112 * src/supplicant-manager/nm-supplicant-interface.c
11113 - (nm_supplicant_interface_disconnect): fix cleanup logic when
11114 the supplicant interface wasn't already disconnected. Always
11115 call removeNetwork and disconnect unless the supplicant interface
11116 is in the DISCONNECTED or INACTIVE state.
11118 2006-12-28 Dan Williams <dcbw@redhat.com>
11120 Use a single thread for everything. With the move to wpa_supplicant
11121 and communication over D-Bus, there's no reason for multiple threads.
11122 Almost all of the blocking code has been removed, with one exception in
11123 the DHCP manager and a few in the VPN manager. This commit removes the
11124 per-device worker thread and fixes activation cancellation in the absence
11125 of threads. Further removal of thread-related code would be removing
11126 any locking code (like the device list lock) and simplification of logic
11127 around areas of code or data structures that are currently locked.
11130 dhcp-manager/nm-dhcp-manager.c
11131 nm-device-802-11-wireless.c
11132 nm-device-802-3-ethernet.c
11135 - Remove usage of multiple threads
11137 2006-12-19 Dan Williams <dcbw@redhat.com>
11139 Big wpa_supplicant + dbus update; need latest wpa_supplicant from CVS
11140 plus a few other patches from wpa_supplicant bugzilla.
11143 src/NetworkManagerPolicy.c
11144 src/NetworkManagerUtils.c
11145 src/NetworkManagerUtils.h
11146 src/nm-ap-security-leap.c
11147 src/nm-ap-security-wep.c
11148 src/nm-ap-security-wpa-eap.c
11149 src/nm-ap-security-wpa-psk.c
11150 src/nm-ap-security.c
11151 src/nm-ap-security.h
11152 src/nm-device-802-11-wireless.c
11153 src/nm-device-802-11-wireless.h
11154 src/supplicant-manager/nm-supplicant-config.c
11155 src/supplicant-manager/nm-supplicant-config.h
11156 src/supplicant-manager/nm-supplicant-interface.c
11157 src/supplicant-manager/nm-supplicant-interface.h
11158 src/supplicant-manager/nm-supplicant-marshal.list
11159 src/supplicant-manager/nm-supplicant-settings-verify.c
11160 src/supplicant-manager/nm-supplicant-settings-verify.h
11161 - Move all connection management and association handling to
11162 wpa_supplicant over dbus, rather than spawning a private copy
11164 2006-12-19 Dan Williams <dcbw@redhat.com>
11166 * src/NetworkManagerPolicy.c
11167 - (nm_policy_device_change_check, nm_policy_schedule_device_change_check):
11168 better locking of the device change check handler ID. Incorrect
11169 locking was causing lost device change requests
11171 2006-12-18 Dan Williams <dcbw@redhat.com>
11173 * libnm-util/dbus-dict-helpers.c
11174 - (_nmu_dbus_dict_entry_get_array, _nmu_dbus_dict_entry_get_string_array,
11175 _nmu_dbus_dict_entry_get_byte_array): replace usage of
11176 dbus_message_iter_get_array_len() (Gnome.org #382898)
11178 2006-12-18 Dan Williams <dcbw@redhat.com>
11180 * gnome/libnm_glib/libnm_glib.c
11181 - Change dbus_connection_close() -> dbus_connection_unref()
11183 2006-12-11 Dan Williams <dcbw@redhat.com>
11185 * src/supplicant-manager/nm-supplicant-interface.c
11186 - (iface_state_cb, wpas_iface_get_state): new functions; query initial
11187 wpa_supplicant interface state
11188 - (nm_supplicant_interface_add_cb): query initial wpa_supplicant interface
11189 state before transitioning to READY state
11191 2006-12-04 Dan Williams <dcbw@redhat.com>
11193 * src/nm-device-802-11-wireless.c
11194 - (supplicant_iface_scanned_ap_cb): fix parsing of hidden APs due to
11195 odd length of ESSID returned from ieee80211 stack-based drivers
11197 2006-12-04 Dan Williams <dcbw@redhat.com>
11199 * src/nm-device-802-11-wireless.c
11200 - (supplicant_iface_scanned_ap_cb): remove erroneous & from WPA & RSN
11201 IE handling blocks that cause mis-parsing of the IE
11203 2006-12-04 Dan Williams <dcbw@redhat.com>
11205 * src/nm-device-802-11-wireless.c
11206 - (init_supplicant_interface): new function; pull supplicant interface
11207 setup code out into standalone function since it must be called from
11208 two different places
11209 - (real_init): sup_mgr is now in private object data; get and track
11210 the supplicant manager object over the NMDevice subclass' lifetime
11211 and register a signal handler for its state signals; only try to
11212 initialize the supplicant interface if the supplicant manager is in
11213 the IDLE state (and therefore is ready for requests)
11214 - (request_wireless_scan): reschedule the scan request if (a) there is
11215 no supplicant interface yet (meaning wpa_supplicant isn't running
11216 or isn't ready yet), or (b) if the supplicant interface isn't ready
11218 - (supplicant_iface_connection_state_cb): new function; stub for
11219 handling supplicant interface connection state signals
11220 - (supplicant_mgr_state_cb): do the right thing when wpa_supplicant
11222 - (nm_device_802_11_wireless_dispose): clean up spacing; release the
11223 supplicant manager object that's being tracked starting with this
11226 2006-12-04 Dan Williams <dcbw@redhat.com>
11228 * src/supplicant-manager/nm-supplicant-interface.c
11229 - (nm_supplicant_interface_set_property): track signal handler ID
11230 - (nm_supplicant_interface_dispose): remove signal handler on dispose
11232 2006-12-04 Dan Williams <dcbw@redhat.com>
11234 * src/supplicant-manager/nm-supplicant-interface.[ch]
11235 - (nm_supplicant_interface_get_state): new function
11237 2006-12-04 Dan Williams <dcbw@redhat.com>
11239 * src/supplicant-manager/nm-supplicant-interface.c
11240 - (bssid_properties_cb): don't treat DBus errors as valid
11241 scanned AP messages
11243 2006-12-04 Dan Williams <dcbw@redhat.com>
11245 * src/supplicant-manager/nm-supplicant-interface.[ch]
11246 - (nm_supplicant_interface_get_connection_state): new function
11247 - define new supplicant connection states
11248 - send a signal when the supplicant connection state changes
11250 2006-12-03 Dan Williams <dcbw@redhat.com>
11252 * src/supplicant-manager/Makefile.am
11253 src/supplicant-manager/nm-supplicant-connection.h
11254 src/supplicant-manager/nm-supplicant-connection.c
11255 src/supplicant-manager/nm-supplicant-config.h
11256 src/supplicant-manager/nm-supplicant-config.c
11257 src/supplicant-manager/nm-supplicant-types.h
11258 src/supplicant-manager/nm-supplicant-interface.h
11259 src/supplicant-manager/nm-supplicant-interface.c
11260 - Rename NMSupplicantConnection -> NMSupplicantConfig
11262 2006-12-03 Dan Williams <dcbw@redhat.com>
11264 Patch from Gabor Kelemen <kelemeng@gnome.hu> (Gnome.org #381890)
11268 - Move VPN-related translatables to .skip
11270 * vpn-daemons/pptp/po/POTFILES.in
11271 - Update with new translatables
11273 2006-12-02 Dan Williams <dcbw@redhat.com>
11275 Patch from Christian Persch <chpe@gnome.org>
11277 * gnome/applet/Makefile.am
11278 gnome/applet/applet-dbus-devices.c
11279 gnome/applet/applet-notifications.c
11280 gnome/applet/applet.c
11281 gnome/applet/applet.h
11282 gnome/applet/main.c
11283 - Be a GtkStatusIcon on GTK+ >= 2.10
11285 2006-12-02 Dan Williams <dcbw@redhat.com>
11287 * gnome/applet/applet.c
11288 - (nma_update_info): fix two unecessary allocations
11290 2006-12-02 Dan Williams <dcbw@redhat.com>
11292 Patch from Michael Biebl <biebl@teco.edu>
11294 man/NetworkManager.1.in
11295 man/NetworkManagerDispatcher.1.in
11296 man/NetworkManager.8.in
11297 man/NetworkManagerDispatcher.8.in
11298 - Add .SH NAME stanzas
11299 - Move NM & NM Dispatcher manpages to section 8 (admin)
11301 2006-12-02 Dan Williams <dcbw@redhat.com>
11303 Patch from Christian Persch <chpe@gnome.org>
11306 - Check for GTK+ 2.10 in preparation for GtkStatusIcon patch
11308 2006-11-29 Tambet Ingo <tambet@ximian.com>
11310 Patch by Timo Hoenig <thoenig@suse.de>:
11311 * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Make it work with
11314 * src/supplicant-manager/Makefile.am: Add nm-supplicant-marshal here, since
11315 we can't use the one from the main source directory.
11317 2006-11-27 Dan Williams <dcbw@redhat.com>
11319 Patch from Christian Persch <chpe@gnome.org>
11321 * gnome/applet/applet-dbus-devices.c
11322 - (hal_info_product_cb): fix memleak; free duped string.
11325 2006-11-27 Dan Williams <dcbw@redhat.com>
11327 Patch from Christian Persch <chpe@gnome.org>
11329 * gnome/applet/menu-items.c
11330 - (network_menu_item_update): use gtk_progress_bar_set_fraction()
11331 as gtk_progress_set_percentage is deprecated. Should
11332 work as far back as GTK+ 2.4. Gnome.org #379780
11334 2006-11-26 Dan Williams <dcbw@redhat.com>
11336 Scan using wpa_supplicant over DBus.
11338 * src/nm-device-802-11-wireless.c
11339 - remove wireless extensions netlink event handler bits
11340 (wireless_event_helper, nm_device_802_11_wireless_event)
11341 - remove wireless extensions scan event handler bits
11342 (process_scan_results, add_new_ap_to_device_list, hexstr2bin,
11343 hex2byte, hex2num, request_and_convert_scan_results,
11344 free_process_scan_cb_data, scan_results_timeout,
11345 schedule_scan_results_timeout, cancel_scan_results_timeout)
11346 - Rename nm_device_802_11_wireless_scan() -> request_wireless_scan()
11347 and request scans from the supplicant interface rather than directly
11348 - Move functionality of convert_scan_results() to cull_scan_list() and
11349 supplicant_iface_scanned_ap_cb()
11350 - (supplicant_iface_scan_result_cb): new function; schedule a new scan
11351 at the scan interval when the current scan has finished
11352 - (supplicant_iface_state_cb): start scanning when the supplicant
11353 interface enters the READY state, and stop scanning when it
11354 enters the DOWN state
11355 - (cull_scan_list): weed out old access points from the scan list
11356 - (supplicant_iface_scanned_ap_cb): convert a supplicant scanned access
11357 point into an NMAccessPoint and merge it into the device's scan list
11359 * src/supplicant-manager/nm-supplicant-interface.c
11360 src/supplicant-manager/nm-supplicant-interface.h
11361 - Add a new signal "scan-result" which is issued when the supplicant
11362 notifies NM that a scan has completed
11363 - Add a new signal "scanned-ap" that notifies listeners of a new access
11364 point found in the scan. Called once for each access point that
11365 the supplicant interface object receives from the supplicant as a
11366 result of the "scanResults" method call
11367 - (wpas_iface_query_scan_results): don't wait 4s before querying
11368 for the initial scan results
11369 - (scan_request_cb): new function; send listeners the result
11370 (success, error) of a wireless scan request
11371 - (nm_supplicant_interface_request_scan): new function; ask the
11372 supplicant to perform an immediate wireless scan
11374 2006-11-25 Dan Williams <dcbw@redhat.com>
11376 * src/supplicant-manager/Makefile.am
11377 - Since we're including NetworkManagerMain.h in nm-supplicant-interface.c,
11378 add HAL cflags/includes and named-manager includes directory
11380 * src/supplicant-manager/nm-supplicant-interface.h
11381 - New state STARTING to handle transition from INIT to READY where
11382 the addInterface pending call is still outstanding
11384 * src/supplicant-manager/nm-supplicant-interface.c
11385 - track pending calls differently since we may have more than one
11386 going on at any given time
11387 - request scan results from wpa_supplicant; but don't do it more often
11388 than every 4 seconds. Drivers that do background scanning
11389 (like the 'ipw' drivers) send a continuous stream of scan completion
11390 notifications, so we don't want to hammer the supplicant or dbus
11391 with requests for all scan results every time we get a completion
11394 2006-11-25 Dan Williams <dcbw@redhat.com>
11396 * src/supplicant-manager/nm-supplicant-types.h
11397 - new file; move all supplicant manager object typedefs here for
11400 * src/supplicant-manager/nm-supplicant-interface.c
11401 src/supplicant-manager/nm-supplicant-interface.h
11402 - new file; an object that interfaces an NMDevice object to the
11403 supplicant and handles signals from the supplicant. This object
11404 does all necessary DBus communication with wpa_supplicant.
11406 * src/supplicant-manager/nm-supplicant-manager.c
11407 src/supplicant-manager/nm-supplicant-manager.h
11408 - Actually do something. Track the state of the wpa_supplicant service
11409 and deal with its comings & goings. Handle life events of
11410 supplicant interfaces too.
11411 - Move NMSupplicantManager typedef to nm-supplicant-types.h
11413 * src/supplicant-manager/nm-supplicant-connection.h
11414 - Move NMSupplicantConnection typedef to nm-supplicant-types.h
11416 * src/supplicant-manager/Makefile.am
11417 - Add new files to build, and add libnm-util to includes
11419 * src/nm-marshal.list
11420 - New marshaler type: VOID:UINT,UINT
11422 * src/nm-device-802-3-ethernet.c
11423 - (real_init): grab a supplicant interface
11424 - (nm_device_802_3_ethernet_dispose): release the supplicant interface
11425 - (supplicant_iface_state_cb): new function, stub for handling
11426 supplicant interface state changes
11428 * src/nm-device-802-11-wireless.c
11429 - (real_init): grab a supplicant interface
11430 - (nm_device_802_11_wireless_dispose): release the supplicant interface
11431 - (supplicant_iface_state_cb): new function, stub for handling
11432 supplicant interface state changes
11434 * src/NetworkManager.c
11435 - (main): create and keep the supplicant manager around for the lifetime
11439 - Link to the supplicant manager sub-library and use the supplicant
11442 2006-11-25 Dan Williams <dcbw@redhat.com>
11444 Rework DBus manager signal handling to be more flexible. Previously,
11445 only one signal handler could be registered for a particular interface.
11446 The DBus manager now reference counts DBus bus matches and allows multiple
11447 clients to register signal handlers for the same interface and sender.
11449 * src/NetworkManager.c
11450 - (main): track NMI signal handler ID and remove it when we quit
11452 * src/NetworkManagerMain.h
11453 - Keep track of NMI signal handler ID
11455 * src/nm-dbus-manager.c
11456 src/nm-dbus-manager.h
11457 - rework signal handling; each signal handler references one signal
11458 match, but a signal match may be referenced by one or more
11459 signal handlers. Matches are refcounted and are destroyed when the
11460 last signal handler that references the match is removed. This is
11461 necessary because two signal handlers may end up requiring the same
11462 dbus bus match, so the match must live until the last signal handler
11463 is destroyed (for example, with the wpa_supplicant network interface
11466 * src/dhcp-manager/nm-dhcp-manager.c
11467 - (nm_dhcp_manager_new): track DHCP signal handler id
11468 - (nm_dhcp_manager_dispose): remove DHCP signal handler
11470 * src/vpn-manager/nm-vpn-service.c
11471 - (nm_vpn_service_add_watch): track VPN service signal handler id
11472 - (nm_vpn_service_remove_watch): remove VPN service signal handler
11474 2006-11-25 Dan Williams <dcbw@redhat.com>
11476 Suggested by Helmut Schaa <hschaa@suse.de>
11478 * src/vpn-daemons/nm-vpn-service.c
11479 - (supplicant_child_setup): new function
11480 - (supplicant_exec): make child process use a new process group id
11482 * src/nm-device-802-11-wireless.c
11483 - (nm_vpn_service_child_setup): new function
11484 - (nm_vpn_service_stage1_daemon_exec): make child process use a new
11487 2006-11-19 Dan Williams <dcbw@redhat.com>
11489 Patch from Dan Berrange <dan@berrange.com> Gnome.org #377262
11490 * gnome/vpn-properties/nm-vpn-properties.c
11491 - clean up after renamed VPN connection
11493 2006-11-19 Dan Williams <dcbw@redhat.com>
11495 Patch from Dan Berrange <dan@berrange.com> Gnome.org #377205
11496 * gnome/applet/applet-dbus-vpn.c
11497 - (nma_dbus_vpn_properties_cb): sort VPN connections
11499 * gnome/vpn-properties/nm-vpn-properties.c
11500 - (init_app): sort VPN connections
11502 2006-11-09 Dan Williams <dcbw@redhat.com>
11504 * src/NetworkManagerAPList.c
11505 - (nm_ap_list_copy_one_essid_by_address): fix bug due to previous
11506 code cleanup in revision 1.56; the split of the !nm_ap_get_essid()
11507 from the nm_ap_list_get_ap_by_address() call was incorrect and
11508 broke hidden SSID matching. Found by Bill Moss.
11510 2006-10-25 Dan Williams <dcbw@redhat.com>
11513 - (nm_dbus_nm_set_active_device): return an empty success message on
11514 success, rather than falling through to the error case.
11516 2006-10-25 Dan Williams <dcbw@redhat.com>
11518 * src/NetworkManagerUtils.c
11519 - (nm_utils_supplicant_request_with_check): suppress messages for the
11522 2006-10-24 Dan Williams <dcbw@redhat.com>
11524 Reduce the number of times the Gnome applet wakes up, especially when
11525 it's doing absolutely nothing and is hidden. Initial patch by
11528 * gnome/applet/applet-dbus.c
11529 - (nma_dbus_filter): when NM isn't around, or when it goes away,
11530 kill the redraw timeout. When NM starts up, start the redraw
11531 timeout. Also, if we get kicked off the bus for some reason,
11532 start the reconnection timeout if one's not already running.
11533 - (nma_dbus_init): better handling of error conditions, don't leak
11534 a half-initialized dbus connection
11535 - (nma_dbus_connection_watcher): consolidate places we reinitialize
11536 the applet's data, just call nm_dbus_init_helper()
11537 - (nma_start_dbus_connection_watch): new function, starts a periodic
11538 timeout that calls nma_dbus_connection_watcher()
11539 - (nma_dbus_init_helper): if we get a successful connection, kill the
11540 reconnection timeout, and don't start the reconnection timeout
11541 unconditionally anymore
11543 * gnome/applet/applet-dbus.h
11544 - Expose nma_start_dbus_connection_watch()
11546 * gnome/applet/applet.c
11547 - (nma_update_state): no longer static, called from applet-dbus.c for
11548 immediate UI updates on certain events
11549 - (nma_set_running): new function; take over setting applet->running,
11550 when not running (ie, NM is not active), don't activate the redraw
11551 timeout because we're not showing the applet anyway. When we are
11552 running (ie, NM is active), and only when we're running, start the
11554 - (nma_destroy): kill the redraw timeout by setting 'not running', and
11555 kill any reconnection timeout
11556 - (nma_get_instance): move one-off dbus initialization code here since
11557 nm_dbus_init_helper() gets called more than once, possibly by the
11558 reconnection timeout function too. And, when we start up, if we
11559 can't get a connection to the bus, start the reconnection timeout.
11560 But don't start the redraw timeout yet, only do that when we get
11561 NM's state and find out if it's running or not.
11563 * gnome/applet/applet.h
11564 - Add the reconnection GSource ID
11565 - Add prototypes for nma_set_running() and the no-longer-static
11568 2006-10-24 Dan Williams <dcbw@redhat.com>
11570 * src/vpn-daemons/nm-dbus-vpnc.c
11571 - (nm_dbus_vpn_update_one_connection_cb): unregister pending call in
11572 pending call tracker
11573 - (nm_dbus_vpn_connections_update_cb): unregister pending call in
11574 pending call tracker; register one-vpn-connection update pending
11575 call in pending call tracker
11576 - (nm_dbus_vpn_update_one_vpn_connection): register one-vpn-connection
11577 update pending call in pending call tracker
11578 - (nm_dbus_vpn_connections_update_from_nmi): register vpn-connections
11579 update pending call in pending call tracker; don't block waiting
11582 2006-10-19 Robert Love <rml@novell.com>
11584 * src/backends/NetworkManagerSuSE.c: Don't ever restart nscd; just
11587 2006-10-14 Dan Williams <dcbw@redhat.com>
11589 * src/dhcp-manager/nm-dhcp-manager.c
11590 - (get_ip4_string, get_ip4_uint32s): have the caller pass
11591 the dbus connection and the device object path rather than
11592 constructing it inside both functions. Saves a bit of memory
11593 and clarifies a failure path.
11594 - (nm_dhcp_manager_get_ip4_config): grab the dbus connection
11595 and allocate device path here rather than each of the two
11598 2006-10-13 Dan Williams <dcbw@redhat.com>
11600 * src/NetworkManager.c
11601 - (nm_name_owner_changed_handler): handle NMI coming and going,
11602 this somehow droppout in the refactor
11604 2006-10-13 Dan Williams <dcbw@redhat.com>
11606 * Huge DBus refactor:
11607 - Create a "DBus Manager" object which manages the connection and
11608 sends signals on NameOwnerChanged and connection/disconnection events,
11609 handles reconnection to the bus if NM gets kicked off, and abstracts
11611 - Remove DBusConnection members from places where they are no
11612 longer needed due to the refactor, like the dbus-connection
11613 property of the named manager, and from NMData
11614 - Reformats a bunch of the code to gnome style
11615 (8-space tabs, braces on same line as statement, 80-col width).
11616 Consider it open season to reformat any bits to gnome style.
11617 style that aren't already.
11619 2006-10-13 Dan Williams <dcbw@redhat.com>
11621 * src/supplicant-manager/Makefile.am
11624 * src/supplicant-manager/nm-supplicant-manager.[ch]:
11625 - Make it a minimal GObject
11627 * src/supplicant-manager/nm-supplicant-settings-verify.[ch]:
11628 - Verify settings destined for wpa_supplicant
11630 * src/supplicant-manager/nm-supplicant-connection.[ch]:
11631 - Minimal GObject to track wpa_supplicant controlled device
11634 2006-10-13 Wouter Bolsterlee <wbolster@gnome.org>
11636 * gnome/applet/applet.c: (nma_update_info),
11637 (nma_act_stage_to_pixbuf), (nma_update_state):
11638 Mark missing strings for translation. Fixes bug #343306.
11640 2006-10-01 Dan Williams <dcbw@redhat.com>
11642 * src/vpn-manager/nm-vpn-manager.c
11643 - (nm_vpn_manager_load_services): split and clean up
11644 for readability and correctness. Restrict VPN service
11645 files to ending in ".name", as was meant from the
11646 beginning (but not coded in). Better error reporting.
11648 2006-10-01 Dan Williams <dcbw@redhat.com>
11651 - Clean up formatting of debug/info/warning log messages
11653 2006-09-27 Robert Love <rml@novell.com>
11655 Patch by Tambet Ingo <tambet@ximian.com>:
11656 * gnome/vpn-properties/nm-vpn-properties.c: Make Renaming a VPN entry
11659 2006-09-07 Dan Williams <dcbw@redhat.com>
11662 test/libnm-util/Makefile.am
11663 test/nm-supplicant-test.c
11664 - Add test program emulating the way NM drives wpa_supplicant
11665 to help debug supplicant issues
11667 2006-08-24 Dan Williams <dcbw@redhat.com>
11671 src/supplicant-manager/Makefile.am
11672 src/supplicant-manager/nm-supplicant-manager.c
11673 src/supplicant-manager/nm-supplicant-manager.h
11674 - Add skeleton bits of the wpa_supplicant manager
11676 2006-08-24 Dan Williams <dcbw@redhat.com>
11678 Patch from Ed Catmur:
11679 * src/NetworkManagerUtils.c
11680 - (nm_utils_ip4_netmask_to_prefix): don't infinitely loop
11681 if netmask is 0 (Gnome #352634)
11683 2006-08-17 Robert Love <rml@novell.com>
11685 * src/backends/NetworkManagerSuSE.c: Do not restart ypbind; our ypbind
11686 package is now DBUS-enabled and listens for the NM signals.
11688 2006-08-14 Dan Williams <dcbw@redhat.com>
11690 * Patch from Christian Persch <chpe gnome org>
11693 vpn-daemons/openvpn/po/LINGUAS
11694 vpn-daemons/openvpn/configure.in
11695 vpn-daemons/pptp/po/LINGUAS
11696 vpn-daemons/pptp/configure.in
11697 vpn-daemons/vpnc/po/LINGUAS
11698 vpn-daemons/vpnc/configure.in
11699 - Convert to LINGUAS method so translators don't have to modify
11700 configure.in, just stuff in po/. Gnome #343132, requires intltool
11703 2006-08-14 Dan Williams <dcbw@redhat.com>
11705 Patch from Alex Smith <alex.extreme2@gmail.com>
11707 src/backends/Makefile.am
11708 src/backends/NetworkManagerFrugalware.c
11709 - Add support for Frugalware
11711 2006-08-13 Dan Williams <dcbw@redhat.com>
11713 Patch from Valentine Sinitsyn <e_val@inbox.ru>
11714 * src/nm-device-802-11-wireless.c
11715 - (supplicant_exec): spawn wpa_supplicant without debug spew
11718 2006-08-13 Dan Williams <dcbw@redhat.com>
11720 Patch from Valentine Sinitsyn <e_val@inbox.ru>
11721 * src/nm-ap-security.c
11722 src/nm-ap-security.h
11723 - Add authentication_required bits for subclasses to specify whether
11724 or not real authentication is required for connections, i.e. whether
11725 the AP rejects us when an encryption key is wrong or not.
11727 * src/nm-ap-security-wep.c
11728 src/nm-ap-security-wpa-eap.c
11729 src/nm-ap-security-wpa-psk.c
11730 src/nm-ap-security-leap.c
11731 - Implement authentication_required appropriately for each method
11733 * src/nm-device-802-11-wireless.c
11734 - Be smarter about when to request a key; for example, using a wrong key
11735 in WEP shared key mode previously just timed out and did not request
11738 2006-08-13 Dan Williams <dcbw@redhat.com>
11740 * gnome/libnm_glib/libnm_glib.c
11741 - dbus_connection_disconnect() -> dbus_connection_close() for
11744 2006-08-07 Dan Williams <dcbw@redhat.com>
11746 Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
11747 * src/NetworkManagerSystem.c
11748 - Respect specified MTU. Gnome #344967
11750 2006-08-07 Dan Williams <dcbw@redhat.com>
11752 * src/vpn-manager/nm-vpn-service.c
11753 - Simplify print_vpn_config() arguments
11755 Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
11756 * src/vpn-manager/Makefile.am
11757 src/vpn-manager/nm-vpn-service.c
11758 - Add new API for passing VPN config options as a dict. Gnome #344967
11760 2006-08-06 Dan Williams <dcbw@redhat.com>
11762 * gnome/applet/applet-dbus-devices.c
11763 gnome/applet/applet-dbus-vpn.c
11764 gnome/applet/applet-dbus.c
11765 gnome/applet/applet-dbus.h
11769 - Make pending call tracking code generic,
11770 so we can use it in NM as well as the applet
11772 2006-08-06 Dan Williams <dcbw@redhat.com>
11774 * src/nm-activation-request.c
11775 - Refcount pending call objects
11777 2006-08-06 Dan Williams <dcbw@redhat.com>
11779 Patch from Christan Chiesa <christanc@gmail.com>
11781 - Tell sha1.c to use bigendian mode on PPC
11783 2006-08-04 Robert Love <rml@novell.com>
11785 Glib Memory Slices!
11786 * configure.in: Require glib 2.10 or later.
11787 * src/NetworkManager.c, src/NetworkManagerAP.c, src/nm-ip4-config.c,
11788 src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
11789 src/NetworkManagerDbusUtils.c, src/nm-dbus-nmi.c, src/wpa.c,
11790 src/nm-device-802-11-wireless.c: Convert applicable g_malloc and
11791 g_new calls to g_slice_new. Likewise for g_free to g_slice_free.
11792 Memory Slices are the greatest thing since bread slices.
11793 * src/NetworkManagerAP.c: Also, fix memory leak.
11795 2006-08-01 Robert Love <rml@novell.com>
11797 * gnome/applet/main.c: Shutdown all VPN connections on logout.
11799 2006-07-31 Robert Love <rml@novell.com>
11801 * src/backends/interface_parser.c: Declarations must begin the block.
11803 2006-07-24 Dan Williams <dcbw@redhat.com>
11805 Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
11806 * src/backends/Makefile.am
11807 src/backends/NetworkManagerArch.c
11808 src/backends/NetworkManagerDebian.c
11809 src/backends/NetworkManagerGeneric.c
11810 src/backends/NetworkManagerGeneric.h
11811 src/backends/NetworkManagerGentoo.c
11812 src/backends/NetworkManagerPaldo.c
11813 src/backends/NetworkManagerRedHat.c
11814 src/backends/NetworkManagerSlackware.c
11815 src/backends/NetworkManagerSuSE.c
11816 - Genericize common backend functions
11818 2006-07-18 Robert Love <rml@novell.com>
11820 * configure.in: Add "--with-notify" option to allow disabling of
11823 2006-07-13 Dan Williams <dcbw@redhat.com>
11825 Patch from Thiago Bauermann <thiago.bauermann@gmail.com>
11826 * gnome/applet/applet.glade
11827 gnome/applet/Makefile.am
11828 gnome/applet/nm-gconf-wso.c
11829 gnome/applet/nm-gconf-wso-leap.c
11830 gnome/applet/nm-gconf-wso-leap.h
11831 gnome/applet/wireless-security-manager.c
11832 gnome/applet/wso-leap.c
11833 gnome/applet/wso-leap.h
11834 include/NetworkManager.h
11835 libnm-util/dbus-helpers.c
11836 libnm-util/dbus-helpers.h
11838 src/NetworkManagerAP.c
11839 src/nm-ap-security.c
11840 src/nm-ap-security-leap.c
11841 src/nm-ap-security-leap.h
11842 - Add LEAP authentication support
11844 2006-07-13 Dan Williams <dcbw@redhat.com>
11846 Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
11848 src/backends/NetworkManagerArch.c
11849 src/backends/NetworkManagerDebian.c
11850 src/backends/NetworkManagerGentoo.c
11851 src/backends/NetworkManagerPaldo.c
11852 src/backends/NetworkManagerRedHat.c
11853 src/backends/NetworkManagerSlackware.c
11854 src/backends/NetworkManagerSuSE.c
11855 - Convert hardcoding of 'ip' path to configure-time
11858 2006-07-12 Leonid Kanter <leon@asplinux.ru>
11860 * configure.in: added ru to ALL_LINGUAS
11862 2006-07-10 Dan Williams <dcbw@redhat.com>
11864 Patch from Valentine Sinitsyn <e_val@inbox.ru>
11866 - (real_act_stage3_ip_config_start): don't infinite loop when
11867 dhcdbd isn't running (Gnome #346845)
11869 2006-07-09 Dan Williams <dcbw@redhat.com>
11871 * gnome/applet/applet.c
11872 - (nma_destroy): don't pass NULL to notify_notification_close
11875 2006-07-09 Dan Williams <dcbw@redhat.com>
11877 * gnome/applet/applet.c
11878 - (nma_about_cb): remove empty documenters tab (Gnome #341324)
11880 2006-07-04 Tor Krill <tor@krill.nu>
11882 Patch from Valentine Sinitsyn <e_val@inbox.ru>
11883 * src/backends/NetworkManagerArch.c: (nm_system_update_dns),
11884 (nm_system_restart_mdns_responder), (ArchReadConfig),
11885 (nm_system_device_get_system_config):
11886 - Explicitly check for DHCP configuration
11887 - Check if daemons are running before starting them
11889 2006-06-25 Dan Williams <dcbw@redhat.com>
11891 * libnm-util/dbus-dict-helpers.[ch]
11892 test/libnm-util/test-dbus-dict-helpers.c
11893 - Add string array support
11895 2006-06-24 Dan Williams <dcbw@redhat.com>
11897 * src/dhcp-manager/nm-dhcp-manager.c
11898 - (nm_dhcp_manager_process_signal): clean up spacing
11900 2006-06-21 Dan Williams <dcbw@redhat.com>
11902 * src/nm-dbus-device.c
11903 - (nm_dbus_device_get_driver): don't try to stuff a NULL
11906 2006-06-21 Raivis Dejus <orvils@gmail.com>
11908 * configure.in: Added 'lv' to ALL_LINGUAS
11910 2006-06-19 Dan Williams <dcbw@redhat.com>
11912 * src/NetworkManagerAP.c
11913 - Clarify usage of user_created
11915 * src/nm-ap-security-wep.c
11916 src/nm-ap-security-wpa-eap.c
11917 src/nm-ap-security-wpa-psk.c
11918 src/nm-ap-security.c
11919 src/nm-ap-security.h
11920 - s/user_created/adhoc, because we really do mean adhoc
11922 Patch from Bernard Blackham <bernard@blackham.com.au>
11923 * src/nm-device-802-11-wireless.c
11924 - (supplicant_send_network_config): instead of user_created,
11925 use adhoc, and do AP_SCAN 2 for adhoc networks
11927 2006-06-18 Robert Love <rml@novell.com>
11929 * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the Gconf keys unless
11930 we have a value to set. Gconf generates a warning if `val' is NULL.
11931 * src/nm-ap-security-wpa-eap.c: Don't set the key for an Enterprise AP
11932 unless we actually received a valid private key file passphrase or
11933 password. Otherwise, we don't know to later ask the applet to pull
11934 the key from the keyring.
11936 2006-06-17 Dan Williams <dcbw@redhat.com>
11938 * libnm-util/dbus-dict-helpers.[ch]
11939 test/libnm-util/test-dbus-dict-helpers.c
11940 - Fixes for zero-length byte arrays
11941 - Replace return values of 0 with FALSE for clarity
11942 - Test zero-length byte arrays
11944 2006-06-17 Dan Williams <dcbw@redhat.com>
11946 * libnm-util/dbus-dict-helpers.[ch]
11947 test/libnm-util/test-dbus-dict-helpers.c
11948 - Add helpers for byte arrays
11949 - Rework bits of the testcase
11951 2006-06-16 Dan Williams <dcbw@redhat.com>
11953 * libnm-util/Makefile.am
11954 * libnm-util/dbus-dict-helpers.[ch]
11955 - Add some helpers to take the pain out of using dict types in
11958 * test/libnm-util/Makefile.am
11959 * test/libnm-util/test-dbus-dict-helpers.c
11960 - Test cases for the dict helper functions
11962 2006-06-15 Robert Love <rml@novell.com>
11964 * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the key unless there
11965 is a non-empty key to set. Elsewhere, pass an empty string via DBUS
11966 if there is no key to pass.
11967 * libnm-util/dbus-helpers.c: Given the above, we can trust always
11968 receiving a non-NULL key.
11970 2006-06-14 Robert Love <rml@novell.com>
11972 * src/nm-ap-security-wpa-eap.c: In real_copy_constructor(), actually
11976 2006-06-14 Dan Williams <dcbw@redhat.com>
11978 Patch from Lorenzo Colitti <lorenzo@colitti.com> gnome.org #344825
11979 * src/nm-device-802-11-wireless.c
11980 - (nm_device_802_11_wireless_set_essid): only wait for orinoco cards
11981 or ones where the driver is unknown
11982 - (supplicant_exec): don't wait for supplicant startup here
11983 - (supplicant_interface_init): finer grained polling for supplicant
11986 2006-06-13 Robert Love <rml@novell.com>
11988 * gnome/applet/applet-dbus-info.c: Don't set the fallback bit to FALSE
11989 if it is currently set to TRUE. Otherwise, we will reset the value
11990 when we connect normally.
11991 * src/nm-device-802-11-wireless.c: For the roaming code, make sure that
11992 the old BSSID is valid, too. The recently added ESSID check may not be
11993 sufficient (we can remove it?). What we really want to catch is the
11994 case of going from all-zeros to the BSSID of some other network, which
11995 happens on failure.
11997 2006-06-09 Dan Williams <dcbw@redhat.com>
11999 * src/NetworkManagerSystem.[ch]
12000 - (nm_system_device_set_up_down_with_iface): remove 'dev' argument,
12001 it was unused and pointless
12002 - (nm_system_vpn_device_set_from_iface, nm_system_device_set_up_down):
12003 fix for set_up_down_with_iface change
12005 * src/vpn-manager/nm-vpn-connection.c
12006 - (nm_vpn_connection_deactivate): fix for set_up_down_with_iface change
12008 * src/backends/NetworkManagerPaldo.c
12009 src/backends/NetworkManagerRedHat.c
12010 src/backends/NetworkManagerSuSE.c
12011 src/backends/NetworkManagerArch.c
12012 src/backends/NetworkManagerDebian.c
12013 src/backends/NetworkManagerGentoo.c
12014 - (nm_system_enable_loopback): use set_up_down_with_iface where
12016 - (nm_system_flush_loopback_routes): use flush_routes_with_iface
12019 2006-06-09 Dan Williams <dcbw@redhat.com>
12021 Patch from Peter Jones:
12022 * src/nm-device-802-11-wireless.c
12023 - (nm_device_802_11_wireless_update_bssid): make sure that the
12024 SSID hasn't changed from what we expect before automatically
12025 updating the saved BSSID from a new AP
12027 2006-06-08 Robert Love <rml@novell.com>
12029 Add 'fallback' support. NetworkManager will attempt to brute-force
12030 connect to networks marked as fallback if there are no better wireless
12031 connections available. This is useful as a method of last resort, to
12032 work around driver problems, and for use with hidden networks.
12033 * gnome/applet/applet-dbus-devices.c,
12034 gnome/applet/applet-dbus-devices.h: Add fallback parameter.
12035 * gnome/applet/applet-dbus-info.c: Retrieve fallback bit from Gconf and
12036 pass it on via DBUS.
12037 * gnome/applet/applet.c: No fallback by default.
12038 * gnome/applet/applet.glade, gnome/applet/other-network-dialog.c:
12039 Update other-network-dialog to add UI checkbox toggling fallback.
12040 * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Remove "trusted"
12041 propery from AP object. Add "fallback" property to AP object.
12042 * src/nm-dbus-nm.c: Grab the fallback parameter via DBUS.
12043 * src/nm-dbus-nmi.c: Grab the fallback parameter via DBUS.
12044 * src/nm-device-802-11-wireless.c: Break out blacklist logic into
12045 separate function. Add get_best_fallback_ap() for returning an AP
12046 on which to attempt fallback.
12047 * src/backends/NetworkManagerSuSE.c: Set stored network as fallback.
12048 * test/nm-set-fallback: New file. Sets a given network as fallback.
12050 2006-06-07 Robert Love <rml@novell.com>
12052 * gnome/applet/gconf-helpers.c: Bug fix: nm_gconf_helper_get_bool()
12053 checked that the return type was GCONF_VALUE_STRING, not the correct
12054 GCONF_VALUE_BOOL, and thus it never worked.
12055 * src/NetworkManagerAPList.c: Before concluding that two networks are
12056 identical based on their BSSID, make sure that the BSSID in question
12057 is actually valid. Specifically, an empty or all zero BSSID does not
12059 * gnome/applet/applet-dbus-info.c, gnome/applet/other-network-dialog.c,
12060 src/nm-dbus-nmi.c, src/nm-device-802-11-wireless.c: White space and
12061 similar invariant clean up.
12063 2006-06-02 Robert Love <rml@novell.com>
12065 * gnome/applet/applet.c: Update copyright years. Add Novell.
12067 2006-05-28 Dan Williams <dcbw@redhat.com>
12069 * gnome/applet/applet.glade
12070 gnome/vpn-properties/nm-vpn-properties.glade
12071 - Set window icons on dialogs (Gnome.org #333420)
12073 2006-05-28 Christian Persch <chpe@cvs.gnome.org>
12075 * gnome/vpn-properties/nm-vpn-properties.glade:
12076 * vpn-daemons/openvpn/properties/nm-openvpn-dialog.glade:
12077 * vpn-daemons/pptp/properties/nm-pptp-dialog.glade:
12078 * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
12079 - Make the VPN properties pages prettier and more HIG
12080 compliant. Gnome Bug #336913.
12082 2006-05-28 Dan Williams <dcbw@redhat.com>
12084 Patch from Christian Persch <chpe@gnome.org>
12085 * gnome/vpn-properties/nm-vpn-properties.c
12086 * gnome/vpn-properties/nm-vpn-properties.glade
12087 - HIG-ification love (Gnome.org #336846)
12089 2006-05-28 Dan Williams <dcbw@redhat.com>
12091 Patch from Christian Persch <chpe@gnome.org>
12093 gnome/vpn-properties/nm-vpn-properties.c
12094 - (main): Fix option parsing. Gnome.org #336847
12096 2006-05-28 Dan Williams <dcbw@redhat.com>
12098 * gnome/vpn-properties/nm-vpn-properties.c
12099 - (find_vpn_ui_by_service_name): protect against NULL service names
12100 - (update_edit_del_sensitivity): protect against NULL service names
12103 2006-05-28 Dan Williams <dcbw@redhat.com>
12105 Patch from Chris Fuller <crf@grandecom.net>:
12106 * src/nm-device-802-11-wireless.c
12107 - (nm_device_802_11_wireless_dispose): add a is_initialized member and
12108 don't dispose of wireless-specific stuff unless it is actually
12109 initialized. Gnome.org #341263
12111 2006-05-28 Dan Williams <dcbw@redhat.com>
12113 * src/NetworkManagerPolicy.c
12114 - (nm_policy_device_change_check): don't switch devices if the "best"
12115 AP is essentially the same as the current activation request, but
12116 the current activation request isn't done activating yet. Fixes
12117 multiple requests for keyring password on startup for Gnome applet.
12120 2006-05-26 Nicolas Trangez <eikke@eikke.com>
12122 * src/NetworkManager.c: use GOptions instead of getopt
12123 * configure.in: bump glib required version to >= 2.6 for GOption
12126 2006-05-25 Robert Love <rml@novell.com>
12128 * src/nm-device.h: Introduce nm_ioctl_info(), which defines to
12129 nm_info() if IOCTL_DEBUG is set and a no-op if not. We can use this
12130 instead of dumping ifdef's throughout the code.
12131 * src/NetworkManagerSystem.c, src/nm-device-802-11-wireless.c,
12132 src/nm-device-802-3-ethernet.c, src/nm-device.c: Remove ifdef's and
12133 use nm_ioctl_info() in lieu.
12135 2006-05-25 Robert Love <rml@novell.com>
12137 Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342400:
12138 * libnm-util/Makefile.am: Only build gnome-keyring-md5.{c,h} if we are
12139 not using gcrypt. Otherwise, we get a linker error.
12141 2006-05-25 Robert Love <rml@novell.com>
12143 Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342398:
12144 * configure.in, gnome/Makefile.am, Makefile.am: Add "--without-gnome"
12145 configure flag to disable building of the GNOME-based applet.
12147 2006-05-25 Robert Love <rml@novell.com>
12149 * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Rename function
12150 parameter from link, because it shadows a global variable with some
12151 older versions of glibc. Yes, glibc is now fixed and, yes, glibc
12152 should never have exported to the entire system a common four letter
12153 word. But we here at NetworkManager are team players. Fixes
12156 2006-05-25 Arangel Angov <ufo@linux.net.mk>
12158 * configure.in: Added mk.po, Macedonian translation.
12160 2006-05-24 Robert Love <rml@novell.com>
12162 * examples/python/systray/eggtrayicon.c, gnome/applet/eggtrayicon.c,
12163 gnome/applet/passphrase-dialog.c, gnome/applet/vpn-password-dialog.c,
12164 src/NetworkManager.c: Include <glib/gi18n.h> and not <libintl.h>.
12166 2006-05-24 Robert Love <rml@novell.com>
12168 * gnome/applet/Makefile.am, gnome/vpn-properties/Makefile.am,
12169 libnm-util/Makefile.am, src/Makefile.am,
12170 vpn-daemons/openvpn/auth-dialog/Makefile.am,
12171 vpn-daemons/openvpn/properties/Makefile.am,
12172 vpn-daemons/pptp/auth-dialog/Makefile.am,
12173 vpn-daemons/pptp/properties/Makefile.am,
12174 vpn-daemons/vpnc/auth-dialog/Makefile.am,
12175 vpn-daemons/vpnc/properties/Makefile.am: Do not override what the
12176 user passed for --datadir, if anything, when setting the GNOME locale
12177 directory. It should be a function of the specified datadir and not
12180 2006-05-24 Robert Love <rml@novell.com>
12182 * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c,
12183 src/NetworkManager.c: Take care to call bindtextdomain with the
12184 location of msgid files.
12185 * src/Makefile.am: Set GNOMELOCALEDIR to the location of GNOME mo
12188 2006-05-22 Robert Love <rml@novell.com>
12190 * src/nm-device-802-11-wireless.c: Don't chain up to the parent's
12191 stage4_timeout on failure unless the wireless network is Ad-Hoc.
12192 99% of the time there is a real problem with wireless, and a
12193 seemingly successful connection via Zeroconf just confuses the user.
12194 And that 1% of the time the network is probably Ad-Hoc, anyhow.
12196 2006-05-22 Robert Love <rml@novell.com>
12198 * src/backends/NetworkManagerSuSE.c: Reload, do not restart, ypbind and
12199 autofs on interface up if NIS is configured. On interface down, do
12202 2006-05-22 Robert Love <rml@novell.com>
12204 * gnome/applet/applet.c: Zero out the icon pointers before we set them,
12205 to avoid calling g_object_unref() on stale pointers on error in
12206 nma_icons_free(). This happens because we short-circuit loaded the
12207 icons on the first failure but then free all icons. Normally we have
12208 no issue because the icons were zero'ed out malloc, but we have stale
12209 pointer data after nma_icon_theme_changed().
12210 * gnome/applet/main.c: Return error code if nma_new() failed.
12212 2060-05-21 Dan Williams <dcbw@redhat.com>
12214 * initscript/NetworkManager.in
12215 - Ensure both dhcdbd and named are started before NM
12217 2006-05-21 Dan Williams <dcbw@redhat.com>
12220 - Bump version to 0.7 to signify we are in 0.7 development
12222 2006-05-21 Dan Williams <dcbw@redhat.com>
12224 Patch from Adam Schreiber <sadam@clemson.edu>
12225 * gnome/vpn-properties/nm-vpn-properties.c
12226 - (main): correct Gnome program name (gnome.org #342498)
12228 2006-05-21 Dan Williams <dcbw@redhat.com>
12230 Fix gnome.org #330832 based on patch from Crispin Flowerday <crispin@gnome.org>
12232 * src/NetworkManagerDbus.[ch]
12233 - nm_dbus_get_device_from_object_path -> nm_dbus_get_device_from_escaped_object_path:
12234 clarify that function's argument should be an escaped dbus object
12235 path, and look for path segment end before returning a match
12236 * src/nm-dbus-nm.c:
12237 - Fix up users of nm_dbus_get_device_from_escaped_object_path()
12239 2006-05-17 Robert Love <rml@novell.com>
12241 Functionality to differentiate Ad-Hoc networks from infrastructure
12242 networks in the applet, by displaying a special icon:
12243 * gnome/applet/applet-dbus-devices.c: Set the mode for new networks.
12244 * gnome/applet/applet.c: Pass 'applet' to network_menu_item_update().
12245 * gnome/applet/menu-items.c: Set a special icon in the scan list for
12246 ad-hoc networks. TODO: Add a third icon representing "encrypted and
12247 Ad-Hoc". Right now, we display the same icon for all Ad-Hoc wireless
12248 networks, encrypted or not.
12249 * gnome/applet/wireless-network.c, gnome/applet/wireless-network.h: New
12250 accessor functions to get and set the mode of a given network,
12251 wireless_network_get_mode() and wireless_network_set_mode().
12253 2006-05-17 Robert Love <rml@novell.com>
12255 Functionality to automatically add BSSIDs to the allowed-MAC list as
12256 one roams from access point to access point on a given network:
12257 * src/NetworkManagerUtils.c: Add nm_ethernet_addresses_are_equal(),
12258 helper function to compare two ether_addr structures and return TRUE
12259 if they contain the same MAC address.
12260 * src/NetworkManagerUtils.h: Add nm_ethernet_addresses_are_equal()
12262 * src/nm-device-802-11-wireless.c: New function to update the BSSID
12263 stored with the current AP. If the BSSID has indeed changed, we
12264 send it out to the applet, allowing the allowed-MAC list to grow
12265 automatically in response to roaming.
12267 2006-05-16 Robert Love <rml@novell.com>
12269 * src/backends/NetworkManagerSuSE.c: Don't touch ypbind or autofs
12270 unless dhcp:DHCLIENT_MODIFY_NIS_CONF is set to "yes".
12272 2006-05-13 Dan Williams <dcbw@redhat.com>
12274 * src/nm-device-802-3-ethernet.c
12275 - (real_get_generic_capabilities): Don't ignore devices that can't do
12276 carrier detect (Debian bug #366373)
12278 2006-05-11 Dan Williams <dcbw@redhat.com>
12280 Patch from Michael Biebl <biebl@teco.edu>
12281 * src/backends/NetworkManagerDebian.c
12282 - Debian backend fixups
12284 2006-05-10 Robert Love <rml@novell.com>
12286 * src/backends/NetworkManagerSuSE.c: Fix double free (Novell #173442).
12288 2006-05-09 Robert Love <rml@novell.com>
12290 * gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXME: Save the WPA EAP
12291 private certificate passphrase, if any, in the GNOME Keyring.
12292 * libnm-utils/dbus-helpers.c: Update.
12294 2006-05-05 Dan Williams <dcbw@redhat.com>
12296 * src/nm-device-802-11-wireless.c
12297 - (nm_device_802_11_wireless_set_wep_enc_key): convert to
12298 nm_device_802_11_wireless_disable_encryption() since that's all
12299 we use it for anymore; we don't ever set WEP keys ourselves.
12300 - (real_deactivate_quickly): reset SSID and encryption keys
12301 - (real_deactivate): move SSID and encryption key reset to
12302 real_deactivate_quickly(), which gets run before us anyway
12304 2006-05-05 Robert Love <rml@novell.com>
12306 * src/NetworkManager.c: Set the umask to 0022 when daemonizing, in case
12307 root has a wacky default of its own (or, more common, a user has a
12308 bad umask and uses su/sudo to restart NetworkManager). Anything
12309 other than 0022 does not do what we want with, for example,
12310 resolv.conf. This problem is amplified by our judicious use of
12311 fopen(), which uses mode 0666 -- implying that the only way to get
12312 the permissions we want is with a umask of 0022.
12314 2006-05-05 Dan Williams <dcbw@redhat.com>
12316 * gnome/libnm_glib/libnm_glib.c
12317 - Don't suck CPU when dbus isn't around by scheduling idle handlers
12318 to reconnect; instead wait a bit more with each reconnect attempt
12319 up to a max of one minute.
12321 2006-05-04 Ryan Lortie <desrt@desrt.ca>
12323 * gnome/applet/passphrase-dialog.c (update_button_cb): Get the SSID of
12324 the WirelessNetwork structure using the proper function instead of
12325 just casting it directly to (const char *) (gnome.org #336991)
12327 2006-05-03 Robert Love <rml@novell.com>
12329 * src/backends/NetworkManagerSuSE.c: Respect the variable
12330 dhcp:DHCLIENT_MODIFY_RESOLV_CONF, not
12331 config:MODIFY_RESOLV_CONF_DYNAMICALLY, when deciding whether or not
12332 to dynamically update /etc/resolv.conf.
12334 2006-05-02 Peter Jones <pjones@redhat.com>
12336 * vpn-daemons/vpnc/src/nm-vpnc-service.c: Allow rekeying.
12338 2006-05-02 Robert Love <rml@novell.com>
12340 Patch by Timo Hoenig;
12341 * tests/nm-online.c: Print pretty status indicator as timeout winds
12342 down. Also fix possible race between DBUS startup and failure
12345 2006-05-01 Robert Love <rml@novell.com>
12347 * gnome/applet/applet-compat.c: Warn if the returned escaped ESSID is
12350 2006-04-27 Jeremy Katz <katzj@redhat.com>
12352 * src/nm-device.c (discover_device_type): Actually use the hal
12353 device type instead of ioctl poking
12355 2006-04-26 Robert Love <rml@novell.com>
12357 * tests/nm-online.c: New file. Simple utility that returns exit status
12358 noting whether the connection is offline or online. If offline on
12359 start, it waits 30 seconds (or a command-line given value) for an
12360 online signal. If it times out, it again returns offline. This is
12361 useful for scripts that want to wait for network connections.
12363 2006-04-25 Robert Love <rml@novell.com>
12365 * src/nm-ap-security-wep.c: Bug fix: We stopped setting the
12366 key mode (the authentication algorithm), e.g. open or shared, when we
12367 moved to using wpa_supplicant. wpa_supplicant defaults to open, so
12368 only shared was broken. If the user specified a shared key, set it
12369 explicitly, otherwise let wpa_supplicant go with the default.
12371 2006-04-24 Dan Williams <dcbw@redhat.com>
12373 * src/nm-device-802-11-wireless.c
12374 - (nm_device_802_11_wireless_set_essid): fix setting of "any" essid
12376 2006-04-24 Dan Williams <dcbw@redhat.com>
12378 Commit the async scanning patch
12380 * src/nm-device-802-11-wireless.c
12381 - get rid of scan_mutex
12382 - (wireless_event_helper): act on wireless scan events
12383 - (real_start): schedule a pending scan
12384 - (link_to_specific_ap): fake the link to the AP during a scan
12385 - (nm_device_802_11_wireless_update_signal_strength): ignore signal
12386 strength during scans
12387 - (nm_device_get_frequency, nm_device_set_frequency, nm_device_get_bitrate,
12388 nm_device_set_bitrate): unused with new scanning code, disable
12389 - (nm_device_wireless_schedule_scan): removed
12390 - (nm_device_wireless_process_scan_results): renamed to convert_scan_results()
12391 - (request_and_convert_scan_results): new function; retrieve scan
12392 results from the driver and schedule the processing function
12393 - (scan_results_timeout): timeout triggered when card doesn't send
12394 a scan results wireless event during a certain interval
12395 - (schedule_scan_results_timeout): new function; schedule the scan
12397 - (cancel_scan_results_timeout): new function; cancel the scan
12399 - (nm_device_802_11_wireless_scan): if wpa_supplicant is running, ask it
12400 to do the scanning. Otherwise, just request a scan but don't
12401 grab results here; instead schedule a timeout for scan results and
12402 let netlink notify us of scan completion events
12403 - (nm_device_wireless_schedule_scan): new function; schedule a wireless scan
12404 - (cancel_pending_scan): new function; cancel a pending wireless scan
12405 - (supplicant_status_cb): ignore disconnect events while scanning
12406 - (supplicant_exec): wait a bit longer for the supplicant to start up
12407 - (nm_device_802_11_wireless_dispose): cancel pending scans and results
12409 - (get_scan_results): removed; folded into request_and_convert_scan_results()
12411 2006-04-24 Dan Williams <dcbw@redhat.com>
12413 * gnome/applet/applet-dbus.c
12414 - Disable the pending call debug stuff, seems under control now
12416 2006-04-20 Robert Love <rml@novell.com>
12418 Fix bug where hidden ESSID's would not show up in the applet, even
12419 if NMI provided a BSSID -> ESSID mapping from Gconf. This occurred
12420 because nm_policy_device_list_update_from_allowed_list() would merge
12421 the data, putting a name to the hidden networks, but never notify NMI
12422 of the changes. Simple fix is to invoke the function
12423 nm_dbus_signal_wireless_network_change() if we make a mapping.
12424 * src/NetworkManagerAPList.c: Call the function
12425 nm_dbus_signal_wireless_network_change() if we made a successful
12426 BSSID to ESSID mapping, notifying the applet of the "new" network.
12427 * src/NetworkManagerAPList.h: Update the prototypes for both
12428 nm_ap_list_copy_essids_by_address() and
12429 nm_ap_list_copy_one_essid_by_address().
12431 2006-04-20 Robert Love <rml@novell.com>
12433 * gnome/applet/applet-dbus-info.c: Don't bail out if the timestamp is
12434 not set. Just return zero.
12436 2006-04-20 Robert Love <rml@novell.com>
12438 * gnome/vpn-properties/nm-vpn-properties.c: Satisfy TODO: Ensure that
12439 only one copy of nm-vpn-properties is running at a time via the 'ol
12440 X selection trick. This prevents the user from opening two "VPN
12441 Connections" windows from within the applet, which leads to mass
12443 * clipboard.c: New file, implementing simple X selection logic.
12444 * clipboard.h: New file.
12445 * gnome/vpn-properties/Makefile.am: Add clipboard.{c,h}
12447 2006-04-18 Nicolas Trangez <eikke@eikke.com>
12449 * backends/NetworkManagerGentoo.c: Small cleanups and enhancements
12451 initscript/Gentoo/Makefile.am
12452 initscript/Gentoo/NetworkManagerDispatcher.in
12454 * initscript/Gentoo/NetworkManager.in: small dependency fixup from
12457 2006-04-16 Dan Williams <dcbw@redhat.com>
12459 Patch from Paul Blazejowski <paulb@blazebox.homeip.net>
12461 initscript/Slackware/Makefile.am
12462 initscript/Slackware/rc.networkmanager-dispatcher.in
12463 initscript/Slackware/rc.networkmanager.in
12464 - Update slackware initscripts
12466 2006-04-10 Robert Love <rml@novell.com>
12468 * gnome/vpn-properties/nm-vpn-properties.c: Intercept and short-circuit
12469 the "delete_event" signal on the druid's parent window and handle it
12470 our way, lest using the WM to close the druid results in a series of
12471 bloody and ultimately lethal errors.
12473 2006-04-10 Robert Love <rml@novell.com>
12475 * gnome/vpn-properties/nm-vpn-properties.c: Validate VPN settings on
12476 'Back' too or else the 'Forward' option is initially disabled despite
12479 2006-04-06 Robert Love <rml@novell.com>
12481 Fix bad but simple bug where an active modem connection did not update
12482 NM's connection state, breaking any app that did online/offline:
12483 * src/NetworkManagerMain.h: Add 'modem_active' member to NMData,
12484 represented whether a dial up connection is active, or not.
12485 * src/nm-dbus-nm.c: Set and unset 'modem_active' in response
12486 to modem activation and deactivation.
12487 * src/NetworkManagerDbus.c: When asked our state, do not return
12488 disconnected if the modem is active.
12490 2006-04-04 Robert Love <rml@novell.com>
12492 * gnome/applet/applet.c: Remove the 'Remove' option that I added to the
12493 applet. It just confuses the crap out of people and does not make a
12494 lot of sense, as the daemon still runs.
12496 2006-04-02 Tor Krill <tor@krill.nu>
12498 * initscript/Arch/networkmanager.in: Added checks for HAL and dhcdbd
12499 in start of service.
12500 * src/backends/NetworkManagerArch.c: (nm_system_get_mtu): Added to
12501 get Archlinux backend up to date.
12503 2006-03-29 Robert Love <rml@novell.com>
12505 Patch by Vinay R <rvinay@novell.com> and Robert Love <rml@novell.com>,
12506 to add support for per-route MSS and improve support for per-interface
12508 * src/NetworkManagerSystem.c: Modify nm_system_device_set_ip4_route to
12509 optionally take an MSS parameter and set it for the given route.
12510 Remove nm_system_device_set_ip4_route_with_iface. Pass in the
12511 NMIP4Config's stored MSS, if any.
12512 * src/nm-ip4-config.c: Add 'mtu' and 'mss' to NMIP4Config, representing
12513 the interface's MTU and the route's MSS, respectively. Add functions
12514 nm_ip4_config_get_mtu, nm_ip4_config_set_mtu, nm_ip4_config_get_mss,
12515 and nm_ip4_config_set_mss for retrieving and setting the MTU and the
12517 * src/nm-ip4-config.h: Add prototypes for nm_ip4_config_get_mtu,
12518 nm_ip4_config_set_mtu, nm_ip4_config_get_mss, and
12519 nm_ip4_config_set_mss.
12520 * src/vpn-manager/nm-vpn-service.c: Modify to receive the MSS from the
12522 * src/backends/NetworkManager{Arch,Debian,Gentoo,RedHat,Slackware,SUSE}.c:
12523 Change the retval of nm_system_get_mtu to guint32.
12524 * src/dhcp-manager/nm-dhcp-manager.c: Set the MTU on the new DHCP-given
12525 NMIP4Config to the MTU provided by the system, if any. TODO: If DHCP
12526 servers can specify MTU's, we should set it here if the MTU was not
12529 2006-03-27 Jürg Billeter <j@bitron.ch>
12532 * initscript/Makefile.am:
12533 * initscript/paldo/Makefile.am:
12534 * initscript/paldo/NetworkManager.in:
12535 * initscript/paldo/NetworkManagerDispatcher.in:
12536 * src/backends/Makefile.am:
12537 * src/backends/NetworkManagerPaldo.c:
12538 - Add paldo support
12540 2006-03-27 Dan Williams <dcbw@redhat.com>
12542 Patch from Christian Persch <chpe@gnome.org>
12543 * gnome/applet/applet.glade
12544 - HIG fixes; mostly for spacing and borders (gnome.org #336220)
12546 2006-03-27 Dan Williams <dcbw@redhat.com>
12548 Patch from Diffe <diffie@blazebox.homeip.net>
12549 * src/backends/NetworkManagerSlackware.c
12550 - Don't restart howl, since it's been replaced by Avahi
12551 in most distributions
12553 2006-03-27 Dan Williams <dcbw@redhat.com>
12555 Patch from Tor Krill <bugzilla@krill.nu>
12557 initscript/Makefile.am
12558 src/backends/Makefile.am
12559 src/backends/NetworkManagerArch.c
12560 initscript/Arch/Makefile.am
12561 initscript/Arch/networkmanager-dispatcher.in
12562 initscript/Arch/networkmanager.in
12563 - Add Arch Linux support, fixes gnome.org #335147
12565 2006-03-27 Dan Williams <dcbw@redhat.com>
12567 Patch from Diffe <diffie@blazebox.homeip.net>
12568 * initscript/Slackware/rc.networkmanager
12569 - update, fixed gnome.org #333368
12571 2006-03-27 Robert Love <rml@novell.com>
12573 * gnome/applet/other-network-dialog.c: Do not allow the user to try to
12574 create WPA-EAP Ad-Hoc networks because such an action makes no sense.
12576 2006-03-27 Robert Love <rml@novell.com>
12578 Patch by Jürg Billeter <j@bitron.ch>:
12579 * src/nm-logging.c: Add printf modifier to fix warning on 64-bit
12581 * src/nm-netlink-monitor.c: Include <net/if.h> instead of <linux/if.h>
12582 as we prefer glibc over kernel headers, if possible.
12584 2006-03-27 Robert Love <rml@novell.com>
12586 Patch by Jon Escombe <list@dresco.co.uk>:
12587 * gnome/applet/nm-gconf-wso.c: Add missing NM_AUTH_TYPE_WPA_EAP case.
12588 * gnome/applet/nm-gconf-wso-wpa-eap.c: If retrieving the gconf values
12589 fail, don't bail out. We don't expect all of the various WPA-EAP
12590 values to be present.
12591 * src/nm-ap-security.c: We need to match all capabilities for each
12592 encryption type, not any one of them.
12594 2006-03-27 Robert Love <rml@novell.com>
12596 * src/backends/NetworkManagerSuSE.c: Revert 2006-03-17 commit and again
12597 restart, not reload, ypbind. Unfortunately there is no superior
12600 2006-03-24 Christopher Aillon <caillon@redhat.com>
12602 * gnome/applet/applet-notifications.c:
12603 When displaying a notification, make sure to get rid of the
12604 previous notification so as to not have competing bubbles,
12605 and stop leaking the old one.
12607 * gnome/applet/applet.c:
12608 * gnome/applet/applet.h:
12609 Add a new 'notification' member to the applet, and zero it out
12610 and free it appropriately.
12612 2006-03-23 Robert Love <rml@novell.com>
12614 Patch by j <j@bootlab.org>:
12615 * gnome/applet/applet.glade: Don't set the invisible_char property,
12616 which simply overrides the GTK default. By and by, this behavior
12617 ought to be fixed in Glade.
12619 2006-03-22 Robert Love <rml@novell.com>
12621 * src/dhcp-manager/nm-dhcp-manager.c: Bump timeout to 45 seconds.
12623 2006-03-22 Robert Love <rml@novell.com>
12625 Bug fix by Timo Hoenig <thoenig@suse.de>:
12626 * gnome/applet/applet-dbus.c: Let the applet reconnect to DBUS on
12627 disconnect. Otherwise, we have the daemon surviving DBUS restarts
12628 and the applet going AWOL.
12630 2006-03-22 Robert Love <rml@novell.com>
12632 * src/dhcp-manager/nm-dhcp-manager.c: Create NM_DHCP_TIMEOUT
12633 preprocessor define and use it instead of open-coded the DHCP
12634 timeout, which is currently 25 seconds, everywhere.
12636 2006-03-22 Robert Love <rml@novell.com>
12638 Implement "Dynamic WEP", which is basically WPA authentication and WEP
12639 key exchange via WPA, ostensibly providing good security without
12640 requiring hardware that supports full WPA. Also, add UI elements to
12641 allow the user to select the pairwise & group cipher for WPA Enterprise
12643 * gnome/applet/applet.glade: Update glade file.
12644 * gnome/applet/nm-gconf-wso-wpa-eap.c: Serialize and deserialize the
12645 key type, too, to and from gconf.
12646 * gnome/applet/wireless-security-option.c: Add "wpa_eap" parameter to
12647 wso_wpa_create_key_type_model(), noting whether we are handling PSK
12648 or EAP configuration, and in the latter case add in "Dynamic WEP" if
12649 the capabilities match.
12650 * gnome/applet/wso-private.h: Update wso_wpa_create_key_type_model()'s
12652 * gnome/applet/wso-wpa-eap.c: Manage UI elements for the key type and
12653 serialize from UI to DBUS.
12654 * gnome/applet/wso-wpa-psk.c: Cannot fail and always returns at least
12656 * libnm-util/dbus-helpers.c: Update nmu_security_serialize_wpa_eap(),
12657 nmu_security_serialize_wpa_eap_with_cipher(), and
12658 nmu_security_deserialize_wpa_eap() to take a "key_type" parameter and
12659 serialize/deserialize the key type via DBUS as the new third DBUS
12661 * libnm-util/dbus-helpers.h: Update prototypes.
12662 * src/nm-ap-security-wpa-eap.c: Deserialize the key type from DBUS,
12663 too. If the key type is WEP104, do Dynamic WEP, which means
12664 "IEEE8021X" for "key_mgmt". Also add support for user-specified
12665 pairwise and group ciphers (fixes a FIXME).
12667 2006-03-21 Robert Love <rml@novell.com>
12669 * src/NetworkManagerSystem.c, src/NetworkManagerSystem.h: Add
12670 nm_system_get_mtu(), which returns a user-provided or system-mandated
12671 MTU value for a given device, if any, or zero if no such value
12672 exists. Add nm_system_set_mtu() to set the MTU for a given device
12673 if we have a provided value.
12674 * src/nm-device.c: Set the MTU of devices.
12675 * src/backends/NetworkManagerSuSE.c: Read MTU, if any, from sysconfig.
12676 * src/backends/NetworkManagerDebian.c,
12677 src/backends/NetworkManagerGentoo.c,
12678 src/backends/NetworkManagerRedHat.c,
12679 src/backends/NetworkManagerSlackware.c: Implement stub functions.
12681 2006-03-21 Robert Love <rml@novell.com>
12683 * src/backends/NetworkManagerSuSE.c: Strip hypens from hex key in
12684 configuration file.
12686 2006-03-17 Robert Love <rml@novell.com>
12688 * src/backends/NetworkManagerSuSE.c: Do "rcypbind reload" to send the
12689 signal SIGHUP to ypbind, not "rcypbind restart" to physically restart
12690 it, in case it is not running in the first place. We just want its
12691 configuration reloaded. Also, do not "rcypbind stop" on device down.
12693 2006-03-15 Robert Love <rml@novell.com>
12695 * gnome/applet/applet.glade, gnome/applet/wso-wep-ascii.c,
12696 gnome/applet/wso-wep-hex.c, gnome/applet/wso-wep-passphrase.c: The
12697 label "WEP 40/128-bit" is inconsistent because the physical key size
12698 is 40 or 104-bits, to which a 24-bit initialisation vector is
12699 appended, forming a 64 or 128-bit traffic key. Thus, the label ought
12700 to read "40/104" or "64/128". I do not care much which, but most
12701 users think of "silver" and "gold" encryption as 64 and 128-bits, so
12702 let's stick with that. Thus, s/"40/128"/"64/128"/g. Also, since our
12703 WEP passphrase support only handles 128-bit keys, and any future
12704 64-bit passphrase support will require a new option (no way to auto-
12705 detect the target key size), explicitly label our passphrase support
12706 "WEP 128-bit Passphrase".
12708 2006-03-15 Robert Love <rml@novell.com>
12710 * src/dhcp-manager/nm-dhcp-manager.c: Do not start dhcdbd, but rely on
12711 the system init scripts (or some other mechanism) starting it (or a
12712 compatible DBUS service) before NetworkManager runs. This means that
12713 distributions might need to update their init scripts. This fixes
12714 possible races and is quite a bit cleaner.
12715 * initscript/SUSE/networkmanager.in: Update to start dhcdbd before
12716 starting the NetworkManager daemon.
12719 2006-03-14 Robert Love <rml@novell.com>
12721 * src/backends/NetworkManagerSuSE.c: Check that we have a valid AP
12722 before adding anything.
12724 2006-03-13 Robert Love <rml@novell.com>
12726 * gnome/vpn-properties/nm-vpn-properties.c: Hide the next page's
12727 widgets, too, if they exist, in case the user hit the back button.
12728 Fixes a bug where the details page contains the widgets of multiple
12729 VPN modules (Novell bug #157048).
12731 2006-03-13 Robert Love <rml@novell.com>
12733 Patch by Timo Hoenig <thoenig@suse.de>:
12734 * dispatcher-daemon/NetworkManagerDispatcher.c: Let the dispatcher
12735 daemon survive DBUS restarts, too.
12737 2006-03-10 Robert Love <rml@novell.com>
12739 * gnome/applet/applet.glade: Add toggles to show/obfuscate the
12741 * gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
12742 gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-eap.c,
12743 gnome/applet/wso-wpa-psk.c: Show and obfuscate passphrases and keys
12744 in response to "toggled" signal on new toggle.
12746 2006-03-10 Robert Love <rml@novell.com>
12748 * src/nm-ap-security-wpa-eap.c: Pass fake empty strings for
12749 serialization if strings are NULL, lest DBUS get angry.
12751 2006-03-10 Robert Love <rml@novell.com>
12753 * src/nm-ap-security-wpa-eap.c: Don't log the password.
12755 2006-03-09 Robert Love <rml@novell.com>
12757 * src/backends/NetworkManagerSuSE.c: Read in WEP and WPA static
12760 2006-03-09 Dan Williams <dcbw@redhat.com>
12762 Track pending call requests in the applet, and report how many are
12763 outstanding, and how long each completed one takes.
12765 * gnome/applet/applet-dbus-devices.c
12766 gnome/applet/applet-dbus-vpn.c
12767 - Track pending calls
12769 * gnome/applet/applet-dbus.[ch]
12770 - Remove some unused enums
12771 - (nma_dbus_send_with_callback, nma_dbus_send_with_callback_replied):
12772 new functions to track dbus pending calls and spit out some
12773 statistics about them
12775 2006-03-09 Robert Love <rml@novell.com>
12777 * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Have the function
12778 nm_ap_set_timestamp() take the second and micro-second parameters as
12779 direct arguments, which avoids both a dynamic memory allocation and a
12780 structure-to-structure copy! Add a new interface, the aptly named
12781 nm_ap_set_timestamp_via_timestamp(), to set the timestamp from an
12782 existing GTimeVal, as nm_ap_set_timestamp() once did, for use with
12783 the return from nm_ap_get_timestamp(). New users should use the new
12784 nm_ap_set_timestamp(), not nm_ap_set_timestamp_via_timestamp(), for
12785 the extreme benefit to performance.
12786 * src/NetworkManagerAPList.c, src/nm-dbus-nmi.c,
12787 src/backends/NetworkManagerSuSE.c: Use the new functions as needed.
12789 2006-03-08 Robert Love <rml@novell.com>
12791 * gnome/applet/applet.glade: Hide the password entry text with
12794 2006-03-08 Robert Love <rml@novell.com>
12796 * src/NetworkManagerSystem.h, src/nm-device.c, NetworkManagerDebian.c,
12797 NetworkManagerRedHat.c, NetworkManagerGentoo.c,
12798 NetworkManagerSlackware.c: Pass nm_system_device_get_system_config()
12799 a second argument, NMData.
12800 * src/nm-ap-security.h, src/nm-ap-security.c: Export nm_ap_security_new.
12801 * src/backends/NetworkManagerSuSE.c: Add wireless networks from ifcfg-*
12802 config files as trusted.
12804 2006-03-06 Robert Love <rml@novell.com>
12806 * gnome/applet/Makefile.am: Define AUTOSTARTDIR.
12807 * gnome/applet/applet.c: Add 'Remove' option to the right click menu,
12808 to exit the applet. As a sweet side-effect, idea courtesy of Chris
12809 Rivera, detect if the applet was auto-started. If so, ask the user
12810 if he or she would like to stop automatically running the applet on
12811 login. If so, disable autostart.
12813 2006-03-06 Robert Love <rml@novell.com>
12815 * NetworkManager.pc.in: Provide an -I to the NetworkManager include
12816 directory in CFLAGS so developers can actually use NetworkManager.h.
12818 2006-03-06 Robert Love <rml@novell.com>
12820 * src/dhcp-manager/nm-dhcp-manager.c: Use preprocessor defines and not
12821 open-coded integer constants. Add state_to_string() to map a given
12822 state to a textual description, and provide that when notifying of
12824 * src/dhcp-manager/nm-dhcp-manager.h: Provide defines for the dhcdbd
12825 states, copied and cleaned up from dhcdbd.d. Ideally, we would use
12826 this header directly, but it is currently not installed on most
12829 2006-03-05 Dan Williams <dcbw@redhat.com>
12831 Process netlink messages in device subclasses rather than in
12832 NetworkManager.c. Also add support for recognizing Wireless Events.
12835 - Find GLIB_GENMARSHAL
12838 - Since we're marshalling custom types for wireless event signals,
12839 we get to create our own marshallers using GLIB_GENMARSHAL
12841 * src/NetworkManager.c
12842 - (nm_monitor_wired_link_state): renamed to nm_monitor_setup
12843 - (nm_monitor_setup): renamed from nm_monitor_wired_link_state, and
12844 cut down somewhat. We no longer process signals here.
12845 - (nm_data_new): create the netlink monitor here, and remove a
12846 useless call to nm_policy_schedule_device_change_check()
12847 - (nm_data_free): get rid of the netlink monitor here
12848 - (nm_device_link_activated, nm_device_link_deactivated): removed
12849 - (main): don't create the netlink monitor here, let nm_data_new
12850 do that. Call nm_policy_schedule_device_change_check() right
12851 before we jump to the mainloop to figure out which device
12854 * src/NetworkManagerSystem.[ch]
12855 - (nm_system_get_rtnl_index_from_iface, nm_system_get_iface_from_rtnl_index):
12856 convert back and forth from interface names to interface
12859 * src/nm-device-802-11-wireless.c
12860 - (real_init): connect to wireless-event signals from the netlink
12862 - (nm_device_802_11_wireless_event): new function, schedule handler
12863 for wireless event signals from the netlink monitor object. We
12864 want the handler to run in the device's context
12865 - (wireless_event_helper): handle wireless-event signals from netlink
12866 - (nm_device_802_11_wireless_dispose): disconnect wireless-event
12869 * src/nm-device-802-11-wireless.h
12870 - remove unused prototype for nm_device_802_11_wireless_new
12872 * src/nm-device-802-3-ethernet.c
12873 - (real_init): new function; set up signal handlers for link events
12874 - (nm_device_802_3_ethernet_link_activated): new function, schedule
12875 handler for netlink link activated events on device's main loop
12876 - (link_activated_helper): when we get a link activated event, set
12877 the device's link to be active
12878 - (nm_device_802_3_ethernet_link_deactivated): new function; schedule
12879 handler for netlink link deactivated events on device's main loop
12880 - (link_deactivated_helper): when we get a link deactivated event, set
12881 the device's link to be inactive
12882 - (nm_device_802_3_ethernet_dispose): disconnect signal handler on
12885 * src/nm-device-802-3-ethernet.h
12886 - remove unused prototype for nm_device_802_3_ethernet_new
12888 * src/nm-device.[ch]
12889 - (nm_get_device_by_iface_locked): variant of nm_get_device_by_iface
12890 but locks the device list
12891 - (nm_device_set_active_link): a little bit of cleanup and de-indenting
12893 * src/nm-netlink-monitor.[ch]
12894 - (nm_netlink_monitor_class_install_signals): New signal
12896 - (nm_netlink_monitor_new): keep reference to NMData so we can get
12898 - (nm_netlink_monitor_event_handler): expand for wireless events too
12900 * src/nm-marshal-main.c
12901 - Include generated nm-marshal.c and nm-marshal.h
12903 * src/nm-marshal.list
12904 - List of custom marshal functions
12906 2006-03-05 Dan Williams <dcbw@redhat.com>
12908 * gnome/applet/applet-notifications.h
12909 - Protect prototype of nma_send_event_notification() because it
12910 includes libnotify-specific types
12911 - Include libnotify/libnotify.h too, since we technically need it
12913 * gnome/applet/applet.c
12914 - (nma_show_vpn_failure_dialog): fix usage of g_return_if_fail
12915 - (nma_show_vpn_login_banner_dialog): add some error checking
12917 2006-03-04 Dan Williams <dcbw@redhat.com>
12919 Clean up activation cancellation. Should be a lot faster now. Observed
12920 an issue with wireless devices between stage 2 and 3 of activation, where
12921 activation would be cancelled, but the device thread wouldn't notice until
12922 the supplicant association timed out. Reorganize activation such that
12923 a cancellation handler gets immediately scheduled in the device's thread,
12924 and devices have a chance to perform any custom cleanup too.
12926 * src/nm-device.[ch]
12927 - (activation_cancel_handler): new device-type-specific function
12928 for cleaning up device-type-specific stuff on cancellation
12929 - (cancel_activation): removed
12930 - (nm_device_activation_cancel): subsume functionality of
12931 real_cancel_activation, but instead of doing anything, punt
12932 operation to a handler that's run in device-thread context
12933 - (nm_device_schedule_activation_handle_cancel): fix spelling of
12935 - (activation_handle_cancel_helper): cancellation handler run in
12936 device-thread context, calls device-type-specific cancelation,
12937 then tears down the activation request
12938 - (real_activation_cancel_handler): generic cancellation handler,
12939 deals with cancelling any in-process DHCP request
12940 - (nm_device_activate_stage1_device_prepare,
12941 nm_device_activate_stage2_device_config,
12942 nm_device_activate_stage3_ip_config_start,
12943 nm_device_activate_stage4_ip_config_get,
12944 nm_device_activate_stage4_ip_config_timeout,
12945 nm_device_activate_stage5_ip_commit): don't call
12946 nm_device_schedule_activation_handle_cancel() any more, since
12947 cancellation will have been already scheduled for us by
12948 nm_device_activation_cancel(). Just exit the function and
12949 assume that the cancel handler will be called next.
12951 * src/nm-device-802-3-ethernet.c
12952 - (real_act_stage2_config): remove; didn't do anything anyway
12954 * src/nm-device-802-11-wireless.c
12955 - (supplicant_status_cb): ensure we don't do anything if the activation
12957 - (real_activation_cancel_handler): implement; cancel user key request
12958 on activation cancellation
12960 2006-03-04 Dan Williams <dcbw@redhat.com>
12962 * src/nm-device-802-11-wireless.c
12963 - (supplicant_send_network_config): assume that drivers that don't
12964 support WPA pretty much suck, and can't handle NM scanning
12965 along with wpa_supplicant.
12967 2006-03-03 Robert Love <rml@novell.com>
12969 * configure.in: Bump version to 0.6.0.
12972 2006-03-03 Robert Love <rml@novell.com>
12974 * configure.in: Require DBUS 0.60 or later.
12976 2006-03-03 Dan Williams <dcbw@redhat.com>
12978 Fix a crash if an "Other wireless network" was chosen, failed, then
12979 chosen again from the applet's menu. If the other network wasn't
12980 noticed in a scan, it wouldn't have any capabilities, but would still
12981 be listed because the user forced the network. To fix this, we set
12982 sensible capabilities on the forced network, which will get overwritten
12983 with the correct ones if the network shows up later in a scan.
12985 * src/nm-ap-security.h
12986 - Add a new "get_default_capabilities_func" member to the
12989 * src/nm-ap-security.c
12990 - (nm_ap_security_get_default_capabilities): new function
12992 * src/nm-ap-security.c
12993 src/nm-ap-security-wep.c
12994 src/nm-ap-security-wpa-psk.c
12995 src/nm-ap-security-wpa-eap.c
12996 - Implement get_default_capabilities_func() for all, which
12997 uses the information contained in a specific NMAPSecurity
12998 object to determine default AP capabilites necessary
12999 to support that object
13001 As a secondary measure, we now prune artificial access points that fail
13002 to be activated right away. The thing failed, and we have no scan data for
13003 it, so it's pretty much useless since security information is only saved
13004 in the applets when a connection is successful.
13006 * src/NetworkManagerAPList.c
13007 - (nm_ap_list_merge_scanned_ap): mark any ap noticed in a scan
13008 not artificial. If we see it, it's no longer a figment of the
13009 user's imagination :)
13011 * src/NetworkManagerPolicy.c
13012 - (nm_policy_activation_failed): send along the failed AP if we
13015 * src/nm-device-802-11-wireless.c
13016 - (real_activation_failure_handler): remove artificial APs from
13017 the device list, because activation failed
13019 2006-03-02 Robert Love <rml@novell.com>
13021 Add support for retrieving both the per-device speed and the
13022 per-network maximum supported rate. Then change the getProperties
13023 DBUS API for both networks and devices to report this informaiton.
13024 Finally, display the information via both nm-applet and nm-tool:
13025 * gnome/applet/applet-dbus-devices.c: Grab the speed from getProperties
13027 * gnome/applet/applet.c: Display the device's speed in the 'Connection
13028 Information' dialog.
13029 * gnome/applet/applet.glade: Update the UI to show per-device speed.
13030 * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Add interfaces
13031 network_device_get_speed() and network_device_set_speed() for
13032 retrieving and setting, respectively, a network device's current
13034 * src/nm-dbus-device.c: Send the device's speed on getProperties.
13035 * src/nm-device-802-11-wireless.c: Return the rate in Mb/s, not Kb/s,
13036 in the function nm_device_802_11_wireless_get_bitrate() -- it does
13037 not matter (yet) what the units are, because we only feed it its own
13038 output. Implement SIOCGIRATE and set the per-network maximum
13039 supported rate during scanning.
13040 * src/nm-device-802-11-wireless.h: Export the function
13041 nm_device_802_11_wireless_get_bitrate().
13042 * src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h: Add
13043 function nm_device_802_3_ethernet_get_speed() for returning an
13044 802.3's current speed, in Mb/s.
13045 * test/nm-tool.c: Display the per-device current speed, if available,
13046 and the per-network maximum rate.
13048 2006-03-02 Dan Williams <dcbw@redhat.com>
13050 * src/nm-device-802-11-wireless.c
13051 - (nm_device_802_11_wireless_set_scan_interval): don't scan-spam the
13052 card when it gets initialized. Since devices don't get added to
13053 the scan list until they are initialized, this function wasn't
13054 setting the intitial scan interval correctly, and was leaving
13055 it at 0. This caused cards to get many scan requests in a short
13056 amount of time when they were initialized
13058 2006-03-02 Robert Love <rml@novell.com>
13060 * gnome/applet/applet.c: Do not set the pixbuf if we don't have an
13061 active device. But do not do what we used to do and override the
13062 state, which caused the dreaded icon race of '05.
13064 2006-03-02 Robert Love <rml@novell.com>
13066 Commit Dan's update of my previous commit:
13067 * src/nm-device-802-11-wireless.c: Always set the mode, because the
13068 set_mode() function itself does the check. But do only set the
13069 frequency if in Ad-Hoc mode.
13071 2006-03-02 Robert Love <rml@novell.com>
13073 Patch by Brian Magnuson <magnuson@rcn.com>:
13074 * src/nm-device-802-11-wireless.c: During scanning, only set the
13075 wireless mode to infrastructure if it is not currently in
13076 infrastructure mode. For some driver, setting the mode is a costly
13077 operation, apparently.
13079 2006-03-01 Rodrigo Moya <rodrigo@novell.com>
13081 * Makefile.am: use the correct dir for autostart mechanism.
13083 2006-02-28 Dan Williams <dcbw@redhat.com>
13085 Patch from Brian Magnuson <magnuson@rcn.com>
13086 * gnome/applet/applet.c
13087 - (nma_show_vpn_failure_dialog): fix errors left over from
13088 libnotify support changes
13090 2006-02-28 Dan Williams <dcbw@redhat.com>
13092 * src/vpn-manager/nm-vpn-act-request.[ch]
13093 - (nm_vpn_act_request_is_activated): don't use a switch/case for
13095 - (nm_vpn_act_request_is_failed): new function; return whether or
13096 not the vpn activation request has failed
13098 * src/vpn-manager/nm-vpn-manager.c
13099 - (nm_vpn_manager_deactivate_vpn_connection): tell the vpn service
13100 daemon to kill the connection when the activation request fails.
13101 Fixes issue where NM would get confused if the VPN activation
13102 request timed out, and would not allow further VPN connections
13105 2006-02-28 Dan Williams <dcbw@redhat.com>
13107 * gnome/applet/applet.c
13108 - (nma_menu_add_vpn_menu): until the NM VPN manager can deal with
13109 overlapping connection requests, disable all VPN menu items
13110 but the active VPN connection
13112 2006-02-28 Dan Williams <dcbw@redhat.com>
13114 * src/vpn-manager/nm-vpn-connection.c
13115 - (nm_vpn_connection_set_parent_device): fix C&P error which
13116 called g_object_unref() on the connection's parent device
13117 when it should have been ref-ed instead. Fixes crash with
13118 repeated vpn connect requests
13120 2006-02-28 Christopher Aillon <caillon@redhat.com>
13122 * gnome/applet/applet.glade:
13123 Mark a few strings non-translatable, since they shouldn't be.
13125 2006-02-28 Dan Williams <dcbw@redhat.com>
13127 * src/vpn-manager/nm-vpn-service.c
13128 - (nm_vpn_service_start_connection): if the vpn service daemon is
13129 already running, don't blindly ask it to connect, but wait until
13130 it's in the STOPPED state first. Fixes an assertion when user
13131 starts a second vpn connection without stopping the first.
13132 - (nm_vpn_service_stage2_daemon_wait): ensure the vpn service's
13133 dbus service exists before continuing with the connection
13134 process, and reduce latency while waiting for it to become
13136 - (nm_vpn_service_schedule_stage2_daemon_wait): reduce latency
13137 waiting for the vpn service daemon to become available
13138 - General log message cleanups; show progress via "Stage x of 4"
13139 rather than not telling anyone how many stages there are
13141 2006-02-28 Robert Love <rml@novell.com>
13143 * src/NetworkManagerSystem.h: Add nm_system_should_modify_resolv_conf.
13144 * src/backends/NetworkManagerSuSE.c: Implement the interface
13145 nm_system_should_modify_resolv_conf() for SUSE.
13146 * src/backends/NetworkManagerDebian.c,
13147 src/backends/NetworkManagerGentoo.c,
13148 src/backends/NetworkManagerRedHat.c,
13149 src/backends/NetworkManagerSlackware.c: Add stub.
13150 * src/named-manager/Makefile.am: Grab includes from src.
13151 * src/named-manager/nm-named-manager.c: Allow backends to disable the
13152 automatic updating of resolv.conf. This is useful for testing,
13153 broken static configurations, and administrator lock-down.
13155 2006-02-28 Dan Williams <dcbw@redhat.com>
13157 * src/nm-device-802-11-wireless.c
13158 - Move all the wpa_supplicant-related management stuff into its
13159 own struct, just for oranization's sake
13160 - (supplicant_exec): when exec-ing wpa_supplicant, connect its stdout
13161 to a GIOChannel/GSource
13162 - (supplicant_log_stdout): new function; grab output from the
13163 wpa_supplicant stdout pipe and write it to our logs.
13165 2006-02-27 Christopher Aillon <caillon@redhat.com>
13167 * src/nm-device-802-11-wireless.c:
13168 Err, fix thinko in my previous commit.
13170 2006-02-28 Robert Love <rml@novell.com>
13172 * gnome/applet/wso-wpa-eap.c: Fix misc. FIXME statements.
13174 2006-02-28 Robert Love <rml@novell.com>
13176 * libnm-util/dbus-helpers.c, src/nm-ap-security-wpa-eap.c,
13177 src/nm-ap-security-wpa-psk.c, gnome/applet/nm-gconf-wso-wpa-eap.c,
13178 gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXMEs: Callers of the DBUS
13179 deserializers are responsible for freeing the returned DBUS strings.
13181 2006-02-27 Christopher Aillon <caillon@redhat.com>
13183 * src/nm-device-802-11-wireless.c:
13184 The scan list is being pruned prematurely. We should prune after
13185 the device has gone MIA for three scans, not one. Split out the
13186 interval to realtime seconds function to better serve this.
13188 2006-02-27 Robert Love <rml@novell.com>
13190 * dispatcher-daemon/NetworkManagerDispatcher.c, src/NetworkManager.c:
13191 Open the pid file O_TRUNC, so if it already exists we truncate it to
13192 zero length. Also, be more verbose about warnings generated during
13193 writing out the pid file. Finally, always write out the pid file if
13194 in daemon mode. Use "--pid-file" to override the default.
13196 2006-02-27 Robert Love <rml@novell.com>
13198 Patch by R. Vinay <rvinay@novell.com>:
13199 * gnome/vpn-properties/nm-vpn-properties.c: Remove the gconf key
13200 'last_attempt_success' when removing a VPN connection, too. (Fixes
13201 Novell bug #153628).
13203 2006-02-27 Robert Love <rml@novell.com>
13205 * gnome/applet/applet.glade: Set "activates_default" on passphrase
13206 entry so user can hit <ENTER> after entering passphrase (Novell bug
13209 2006-02-27 Dan Williams <dcbw@redhat.com>
13212 - Mass search/replace of:
13214 NMWirelessApplet -> NMApplet
13215 NM_*_WIRELESS_APPLET -> NM_*_APPLET
13216 (it ain't just for wireless anymore, ma!)
13217 - Fix duplicate function name printing when using nm_warning
13218 - wireless-applet.glade -> applet.glade
13220 2006-02-27 Dan Williams <dcbw@redhat.com>
13222 * dispatcher-daemon/NetworkManagerDispatcher.c
13223 - Accept --pid-file with a path to a pidfile, write it out on
13224 startup, and delete it on shutdown
13226 * src/NetworkManager.c
13227 - Accept --pid-file with a path to a pidfile, write it out on
13228 startup, and delete it on shutdown
13229 - Move nm_print_usage() lower
13231 * initscripts/RedHat/NetworkManager.in
13232 - Use new --pid-file option
13233 - Fix service stopping to wait a bit for NM to quit
13235 * initscripts/RedHat/NetworkManagerDispatcher.in
13236 - Use new --pid-file option
13238 2006-02-26 Dan Williams <dcbw@redhat.com>
13241 - make and install nm-crash-logger
13243 * src/nm-logging.[ch]
13244 - New files; consolidate logging and crash handling
13246 * src/nm-crash-logger.c
13248 - Standalong crashlogger for NM, grab a backtrace
13251 * src/NetworkManager.[ch]
13252 - Remove signal handling and put it into nm-logging.c
13254 2006-02-26 Dan Williams <dcbw@redhat.com>
13257 gnome/applet/Makefile.am
13258 - Conditionalize all the notify stuff
13260 Merge most of Chris Aillon's notification patch:
13262 * gnome/applet/applet-notifications.[ch]
13263 - New files; show a notification
13265 * gnome/applet/applet-dbus-devices.[ch]
13266 - (nmwa_dbus_device_activated, nmwa_dbus_device_activated_cb,
13267 nmwa_dbus_device_deactivated, nmwa_dbus_device_deactivated_cb):
13268 new functions, do the right thing when a device change occurs
13270 * gnome/applet/applet-dbus.c
13271 - (nmwa_dbus_filter): Split out DeviceNowActive and DeviceNoLongerActive
13272 signals, so we can handle them specially
13274 * gnome/applet/applet.[ch]
13275 - nmwa_schedule_vpn_login_banner -> nmwa_show_vpn_login_banner
13276 - nmwa_schedule_vpn_failure_alert -> nmwa_show_vpn_failure_alert
13277 - (nmwa_notify_state): remove
13278 - (nmwa_update_state); remove call to nmwa_notify_state, since the
13279 notification work is now done when the appropriate dbus signals
13281 - (nmwa_show_vpn_login_banner, nmwa_show_vpn_failure_alert): don't
13282 defer execution of the notification/dialog stuff. That was an
13283 artifact of the previous multi-threaded nature of the applet
13284 and is now pointless.
13285 - (nmwa_notify_vpn_failure, nmwa_notify_vpn_login_banner): remove,
13286 no longer needed. Function folded into applet-notifications.c
13288 * src/NetworkManagerPolicy.c
13289 - (nm_policy_activation_finish): send the AP along with the device
13290 status change signal, if the connection is wireless. Should
13291 fix the race where applet would show a connection to "unknown"
13293 2006-02-25 Robert Love <rml@novell.com>
13295 Add WPA Enterprise support:
13296 * gnome/applet/Makefile.am: Build the files nm-gconf-wso-wpa-eap.c and
13297 nm-gconf-wso-wpa-eap.h.
13298 * gnome/applet/nm-gconf-wso-wpa-eap.c,
13299 gnome/applet/nm-gconf-wso-wpa-eap.h: Add WPA Enterprise Gconf
13300 serialization and deserialization.
13301 * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
13302 gnome/applet/wireless-security-option.c, gnome/applet/wso-wpa-psk.c,
13303 gnome/applet/wso-wpa-psk.h: Clean up, support new defines.
13304 * gnome/applet/wireless-applet.glade: Add UI for configurating security
13305 settings related to WPA Enterprise.
13306 * gnome/applet/wireless-security-manager.c: Invoke wso_wpa_eap_new() to
13307 instantiate WPA Enterprise wireless-security-option.
13308 * gnome/applet/wso-wpa-eap.c, gnome/applet/wso-wpa-eap.h: New files.
13309 Implement WPA Enterprise wireless-security-option object.
13310 * include/NetworkManager.h: Add new NM_AUTH_TYPE_* and NM_EAP_METHOD_*
13312 * libnm-util/cipher-wpa-psk-hex.c,
13313 libnm-util/cipher-wpa-psk-passphrase.c: Cleanup.
13314 * libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h: Add
13315 nmu_security_serialize_wpa_eap() to serialize input to DBUS method,
13316 nmu_security_serialize_wpa_eap_with_cipher() to serialize input
13317 including the cipher to DBUS method, and
13318 nmu_security_deserialize_wpa_eap() to deserialize from DBUS return
13320 * src/Makefile.am: Build the files nm-ap-security-wpa-eap.c and
13321 nm-ap-security-wpa-eap.h
13322 * src/NetworkManagerAP.c: Add NM_AUTH_TYPE_WPA_EAP to
13323 NM_802_11_CAP_KEY_MGMT_802_1X cipher to capability mapping.
13324 * src/nm-ap-security-wpa-eap.c, src/nm-ap-security-wpa-eap.h: New
13325 files. Implement NMAPSecurityWPA_EAP object.
13326 * src/nm-ap-security-wpa-psk.c: Cleanup.
13327 * src/nm-ap-security.c: Support NM_AUTH_TYPE_EAP cipher and instantiate
13328 an NMAPSecurityWPA_EAP object via the method
13329 nm_ap_security_wpa_eap_new_deserialize().
13330 * src/nm-dbus-nm.c: Cleanup.
13331 * test/nm-tool.c: Display "Enterprise" for wireless networks providing
13332 WPA Enterprise support.
13334 2006-02-24 Robert Love <rml@novell.com>
13336 Patch from Timo Hoenig <thoenig@suse.de>:
13337 * src/NetworkManagerDbus.c: Survive DBUS restarts like a champ.
13339 2006-02-24 Robert Love <rml@novell.com>
13341 Patch from Dan Winship <danw@novell.com>:
13342 * gnome/applet/eggtrayicon.c: Update EggTrayIcon code. Set the gdk
13343 area to transparent.
13345 2006-02-21 Dan Williams <dcbw@redhat.com>
13347 * gnome/applet/applet.[ch]
13348 gnome/applet/applet-dbus.c
13349 - Implement notification support for VPN messages too
13351 2006-02-21 Dan Williams <dcbw@redhat.com>
13353 * gnome/applet/applet-dbus-info.c
13354 - Clean up warning messages to not double-print the function
13356 2006-02-21 Dan Williams <dcbw@redhat.com>
13358 * gnome/applet/applet-compat.c
13359 - (convert_one_entry): accept entries without a key_type and
13360 convert them to unencrypted networks
13362 2006-02-21 Dan Williams <dcbw@redhat.com>
13364 * gnome/libnm_glib/libnm_glib.c
13365 - Use __func__ everywhere we can
13367 - Use dbus pending calls rather than blocking
13368 - Reduce busywaits for our thread to start and stop
13369 (gnome.org #330562)
13370 - (libnm_glib_dbus_init): Use dbus_bus_get_private() so we don't
13371 stomp on others using the default shared dbus connection.
13372 Fixes #rh177546# and gnome.org #326572
13374 2006-02-21 Dan Williams <dcbw@redhat.com>
13376 Patch from Rodney Dawes <dobey@novell.com>
13378 gnome/applet/Makefile.am
13379 gnome/applet/applet.c
13380 - Add libnotify support if '--enable-notify=yes' is passed
13383 2006-02-16 Kang Jeong-Hee <keizie@gmail.com>
13385 * configure.in (ALL_LINGUAS): ko added. (Korean)
13387 2006-02-15 Robert Love <rml@novell.com>
13389 * src/nm-device-802-11-wireless.c: Use LOCALSTATEDIR preprocessor
13390 define, not an open-coded "/var", for WPA_SUPPLICANT_GLOBAL_SOCKET
13391 and WPA_SUPPLICANT_CONTROL_SOCKET.
13393 2006-02-15 Robert Love <rml@novell.com>
13395 * src/nm-device-802-11-wireless.c, src/nm-device.c: When printing debug
13396 information about what connection stage we are at, provide the total
13397 number of stages, e.g. "Stage 2 of 5", so users know how far along
13398 they are if they experience problems.
13400 2006-02-15 Robert Love <rml@novell.com>
13402 * gnome/vpn-properties/Makefile.am: Define SYSCONFDIR preprocessor
13403 define to $sysconfdir.
13404 * gnome/vpn-properties/nm-vpn-properties.c: Make sure we hide the VPN
13405 editing dialog, vpn_edit_widget, which fixes a bug where editing one
13406 type of VPN and then editing another results in a mangled dialog
13407 box containing the widgets from both VPNs (fixes Novell #150854).
13408 Also, some misc. cleanup and use SYSCONFDIR not open coded directory.
13410 2006-02-14 Robert Love <rml@novell.com>
13412 * src/NetworkManager.c: Call closelog() on daemon shutdown to close
13413 syslog's file descriptor.
13415 2006-02-14 Robert Love <rml@novell.com>
13417 Fix bug around since the change to "deal with APs changing settings on
13418 us," checked in on the fifth of February in the year of the dog,
13419 wherein connecting to non-broadcast encrypted networks always fails
13420 because nm_ap_get_encrypted() always returns FALSE, even when the user
13421 provided a key, because the newly-created fake AP does not have any
13422 capabilities set, which is a sypmtom of security settings not matching
13423 capabilities (Novell bug #150784):
13424 * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Add new interface,
13425 nm_ap_add_capabilities_from_security(), which sets the given AP's
13426 capabilities off the given security settings. Also improve our
13427 handling of capabilities w.r.t. NM_802_11_CAP_PROTO_NONE and
13428 NM_AUTH_CIPHER_AUTO.
13429 * src/nm-device-802-11-wireless.c: Call the function
13430 nm_ap_add_capabilities_from_security() to ensure that capabilities
13431 match newly updated security settings.
13433 2006-02-14 Robert Love <rml@novell.com>
13435 * src/nm-device-802-11-wireless.c: Clean up nm_warning calls: Print the
13436 error as a string, not an integer, if possible; do not print the
13437 function name twice; always give the interface, if possible; misc.
13440 2006-02-12 Dan Williams <dcbw@redhat.com>
13442 Patch from Tom Parker <palfrey@tevp.net>
13443 * src/NetworkManagerSystem.h
13444 - Remove prototype for nm_system_device_setup_static_ip4_config(),
13447 * src/backends/NetworkManagerDebian.c
13448 - Remove some dead code (nm_system_device_setup_static_ip4_config) and
13451 2006-02-12 Dan Williams <dcbw@redhat.com>
13453 * vpn-daemons/openvpn/intltool-extract.in
13454 vpn-daemons/openvpn/intltool-merge.in
13455 vpn-daemons/openvpn/intltool-update.in
13456 vpn-daemons/pptp/intltool-extract.in
13457 vpn-daemons/pptp/intltool-merge.in
13458 vpn-daemons/pptp/intltool-update.in
13459 - Remove from CVS, they should get created by intltoolize,
13462 2006-02-12 Dan Williams <dcbw@redhat.com>
13464 * vpn-daemons/pptp/src/pppd/patchlevel.h
13465 * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
13466 - Rename VERSION -> PPPD_VERSION to avoid conflict with the
13467 Makefile-defined VERSION
13469 2006-02-09 Dan Williams <dcbw@redhat.com>
13471 Patch from: Vinay A R <rvinay@novell.com>
13472 * src/vpn-manager/nm-vpn-act-request.[ch]
13473 - Added 'routes' and 'routes_count' to struct NMVPNActRequest since
13474 IPSec VPNs require them for std gateway.
13475 - (nm_vpn_act_request_new): takes arguments for 'user_routes'
13476 and 'user_routes_count'
13477 - (nm_vpn_act_request_get_user_routes): new function; gets user
13478 defined routes from NMVPNActRequest object, returns the string
13481 * src/vpn-manager/nm-vpn-manager.[ch]
13482 - (nm_vpn_manager_activate_vpn_connection): take additional arguments
13483 for 'user_routes' and 'user_routes_count'
13485 * src/vpn-manager/nm-dbus-vpn.c
13486 - (nm_dbus_vpn_activate_connection): gets 'user_routes' from
13487 nm_dbus_vpn_get_routes() to pass to nm_vpn_manager_activate_vpn_connection()
13489 * src/vpn-manager/nm-vpn-service.c
13490 - (nm_vpn_service_stage3_connect): pass user routes over dbus to
13493 Modifications by Dan:
13494 * src/vpn-manager/nm-vpn-service.c
13495 - (nm_vpn_service_stage3_connect): ensure that we don't pass NULL string
13498 * vpn-daemons/vpnc/src/nm-vpnc-service.c
13499 * vpn-daemons/pptp/src/nm-pptp-service.c
13500 * vpn-daemons/openvpn/src/nm-openvpn-service.c
13501 - Grab user routes from dbus message
13502 - Free all string arrays we got from dbus
13504 2006-02-07 Robert Love <rml@novell.com>
13506 Patch by Stefan Seyfried <seife@suse.de>:
13507 * libnm-util/cipher.c: Fix off-by-one error in cipher_bin2hexstr.
13509 2006-02-06 Robert Love <rml@novell.com>
13511 * src/nm-device-802-11-wireless.c: Fix leak in supplicant_status_cb().
13513 2006-02-06 Robert Love <rml@novell.com>
13515 * src/NetworkManagerUtils.c: kill_newline(): 'l' is unsigned so the
13516 test ">=" is never false. If no newline is found, we loop forever.
13517 We can just check for ">" because the following if() will see the
13518 zero-th argument if the while() gets that far.
13520 2006-02-05 Dan Williams <dcbw@redhat.com>
13522 Refine handling of non-broadcast networks.
13524 * src/NetworkManagerAPList.c
13525 - (nm_ap_list_merge_scanned_ap): unconditionally copy the 'broadcast'
13526 property from scanned AP to the AP from the device list
13528 * src/nm-device-802-11-wireless.c
13529 - (supplicant_send_network_config): use ap_scan=1 for all networks
13530 except non-SSID-broadcasting and Ad-Hoc networks. Use
13531 ap_scan=2 for those. Also, don't set scan_ssid for Ad-Hoc
13532 networks since those don't have APs.
13533 - (add_new_ap_to_device_list): if there's no valid SSID, mark the
13534 AP as non-SSID-broadcasting
13535 - (process_scan_results): don't handle non-SSID-broadcasting here
13537 2006-02-05 Dan Williams <dcbw@redhat.com>
13539 * src/nm-device-802-11-wireless.c
13540 - (get_supplicant_timeout): new function; return
13541 NM_SUPPLICANT_TIMEOUT * 2 for cards that support more than
13542 14 channels. These are likely a/b/g cards, like Atheros, and
13543 slow as hell to scan.
13544 - (supplicant_timeout_cb, supplicant_monitor_start): use
13545 get_supplicant_timeout()
13547 2006-02-05 Dan Williams <dcbw@redhat.com>
13549 * src/dhcp-manager/nm-dhcp-manager.c
13550 - Loose a commit race with Robert; make sure size check
13551 uses size of DHCP_SERVICE_LEN, not hardcoded 15
13553 2006-02-05 Robert Love <rml@novell.com>
13555 Patch by Christoph Brill <chrisbrill@gmx.net>:
13556 * src/dhcp-manager/nm-dhcp-manager.c: Replace two open coded defines
13557 with DHCP_SERVICE_NAME.
13559 2006-02-05 Dan Williams <dcbw@redhat.com>
13561 Remove anything having to do with device_setup_func from the
13562 AP security objects, since it's no longer used.
13564 * src/nm-ap-security.h
13565 - Kill device_setup_func and nm_ap_security_device_setup()
13567 * src/nm-ap-security-wep.c
13568 src/nm-ap-security-wpa-psk.c
13569 - (real_device_setup): remove
13571 * src/nm-ap-security.c
13572 - (real_device_setup): remove
13573 - (nm_ap_security_device_setup): remove
13575 * src/nm-device-802-11-wireless.[ch]
13576 - (nm_device_802_11_wireless_set_wep_enc_key): make static
13577 - (set_wireless_config, wireless_configure_adhoc): remove; unused
13578 and done by wpa_supplicant now anyway
13580 2006-02-05 Dan Williams <dcbw@redhat.com>
13582 * src/nm-device-802-11-wireless.c
13583 - (ap_need_key, real_act_stage2_config): deal with APs changing
13584 settings on us. Previously NM would loop asking for the
13585 key but getting the same one back. Now, if the NMI-supplied
13586 cipher doesn't overlap with the scanned AP capabilities,
13587 we request a completely new key from the user.
13589 2006-02-05 Dan Williams <dcbw@redhat.com>
13591 * src/NetworkManagerUtils.c
13592 - (nm_utils_supplicant_request_with_check, nm_utils_supplicant_request):
13593 Handle newline killing better
13595 2006-02-05 Dan Williams <dcbw@redhat.com>
13597 * gnome/applet/nm-gconf-wso.c
13598 - (real_serialize_dbus): return TRUE, not 0. Fixes serialization
13599 of unencrypted access point security info.
13601 2006-02-03 Robert Love <rml@novell.com>
13603 * src/NetworkManagerUtils.c: Even for debugging, we should not log the
13604 user's encryption key, so we print the err_msg_cmd not the command,
13605 if available. So long as SUPPLICANT_DEBUG is default, this makes
13608 2006-02-03 Christopher Aillon <caillon@redhat.com>
13610 * initscript/RedHat/NetworkManagerDispatcher.in:
13611 * initscript/RedHat/NetworkManager.in: modify the pidfile location
13612 Patch from Dan Walsh <dwalsh@redhat.com>
13614 2006-02-03 Robert Love <rml@novell.com>
13616 * dispatcher-daemon/NetworkManagerDispatcher.c,
13617 dispatcher-daemon/Makefile.am: Don't hardcode the location of /etc
13618 but use the sysconfdir.
13620 2006-02-03 Robert Love <rml@novell.com>
13622 * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h:
13623 Make nm_device_802_11_wireless_get_essid() return 'const char *' not
13625 * src/nm-ip4-config.c, src/nm-ip4-config.h: Make the functions
13626 nm_ip4_config_get_hostname() and
13627 nm_ip4_config_get_nis_domain() return 'const char *' not 'char *'.
13628 * src/backends/NetworkManagerSuSE.c: Fix up for above. Also, do not
13629 leak g_strdup() result.
13631 2006-02-03 Robert Love <rml@novell.com>
13633 * src/NetworkManagerAP.c: In nm_ap_new(), default new networks to
13634 broadcast == TRUE. Also, copy broadcast and artificial properties
13635 from source network to destination in nm_ap_copy().
13636 * src/nm-device-802-11-wireless.c: Don't set broadcast flag to TRUE,
13637 since we now default new networks to non-hidden.
13639 2006-02-03 Dan Williams <dcbw@redhat.com>
13641 * gnome/applet/main.c
13642 - (main): change the NEVER->ALWAYS so we start at the
13643 beginning of the session, if being session-managed
13645 2006-02-03 Dan Williams <dcbw@redhat.com>
13647 * gnome/applet/main.c
13648 - (main): in a variation on Robert's patch, change
13649 RESTART_IMMEDIATELY -> RESTART_NEVER. Should do what
13652 2006-02-02 Robert Love <rml@novell.com>
13654 * src/Makefile.am: If we aren't going to create the run directory at,
13655 uh, run-time, create it during install. Then users just doing
13656 'make install' are cool, too. While we are here, create the
13657 dispatcher.d directory, too.
13658 * src/nm-device-802-11-wireless.c: Let the Makefile define and pass in
13659 the exact run directory.
13660 * Makefile.am: Install nm-applet.desktop.
13662 2006-02-02 Robert Love <rml@novell.com>
13664 * src/NetworkManagerAP.c: Add 'broadcast' property to the NMAccessPoint
13665 structure, which denotes whether or not the AP is hidden. This is a
13666 superset of 'artificial' -- we need 'broadcast' because a hidden AP
13667 can show up in the scan list. Add nm_ap_get_broadcast() and
13668 nm_ap_set_broadcast() accessor interfaces.
13669 * src/NetworkManagerAP.h: Add prototypes for nm_ap_get_broadcast() and
13670 nm_ap_set_broadcast().
13671 * src/nm-dbus-net.c: Add new argument, boolean broadcast, to the
13672 "getProperties" method, which denotes whether or not the given
13674 * src/nm-device-802-11-wireless.c: Set broadcast to FALSE when creating
13675 an artificial network. Set broadcast to TRUE when scanning returns
13676 an ESSID and FALSE when not.
13677 * gnome/applet/applet-dbus-devices.c: Retrieve 'broadcast' argument
13678 from "getProperties" method on a network. Possible TODO is to
13679 somehow display this.
13680 * test/nm-tool.c: Display "Hidden" if the AP does not broadcast.
13682 2006-02-02 Dan Williams <dcbw@redhat.com>
13684 * src/nm-device-802-11-wireless.c
13685 - (supplicant_interface_init): don't try to create
13686 /var/run/NetworkManager, since that should be done by
13687 the distro package. Causes problems for stuff like SELinux
13689 2006-02-02 Robert Love <rml@novell.com>
13691 Patch by Sureshkumar T <tsureshkumar@novell.com>:
13692 * src/vpn-manager/nm-vpn-connection.c, src/NetworkManagerSystem.c:
13693 Check for and handle empty string for iface.
13695 2006-02-01 Robert Love <rml@novell.com>
13697 * configure.in, man/nm-tool.1.in, man/Makefile.am: Add nm-tool(1)
13700 2006-01-31 Dan Williams <dcbw@redhat.com>
13702 * nm-applet.desktop
13703 - Add --sm-disable to Exec arguments, presuming that when
13704 using autostart, we don't want session management
13706 2006-01-31 Robert Love <rml@novell.com>
13708 * src/NetworkManagerAP.c: Add two new manufacturer default network
13709 names: linksys-a and linksys-g. These are found (at least) on the
13710 Linksys WAP55AG, which does both 802.11a and 802.11b, each with their
13713 2006-01-31 Robert Love <rml@novell.com>
13715 * src/NetworkManagerAP.c: Optimize the function
13716 nm_ap_has_manufacturer_default_essid(). I did not like its resulting
13717 machine code. This is the first in a series of code tweaks aiming to
13718 generate better machine code and make NetworkManager all the better.
13719 Just kidding. Who has time to go through the assembly generated for
13720 every function? I certainly don't. I have a wife, a kid, a job,
13721 a mortgage, a mistress. But this function was so bad, I was called
13722 to arms. Like the book.
13724 2006-01-31 Robert Love <rml@novell.com>
13726 * src/nm-device-802-11-wireless.c: Set "scan_ssid 1" if the requested
13727 AP is not broadcasting, to scan with probe request frames. Required
13728 for non-broadcast networks.
13730 2006-01-31 Robert Love <rml@novell.com>
13732 * src/nm-device-802-11-wireless.c: Make the wpa_supplicant a
13733 preprocessor define (still 20s). Fix message text in nm_info()
13734 s/too too/took too/.
13736 2006-01-30 Dan Williams <dcbw@redhat.com>
13738 * src/nm-device-802-11-wireless.c
13739 - (supplicant_monitor_start): increase connect/auth timeout to
13740 20 seconds from 10 seconds
13742 2006-01-30 Dan Williams <dcbw@redhat.com>
13745 - Define LOCALSTATEDIR
13747 * src/nm-device-802-11-wireless.c
13748 - (supplicant_exec): tell wpa_ctrl_open() to stick the local control
13749 socket where we want it to
13751 * src/wpa_ctrl.[ch]
13752 - (wpa_ctrl_open): accept location to put local control socket
13754 2006-01-30 Robert Love <rml@novell.com>
13756 * src/dhcp-manager/nm-dhcp-manager.c: Pass TRUE for ignore_error in
13757 get_ip4_string() for "domain_name".
13759 2006-01-30 Robert Love <rml@novell.com>
13761 * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
13762 gnome/applet/wireless-security-option.c, include/NetworkManager.h,
13763 libnm-util/cipher-wpa-psk-hex.c, src/nm-ap-security-wpa-psk.c,
13764 libnm-util/cipher-wpa-psk-passphrase.c, src/nm-ap-security.c: Add
13765 support for "Automatic" pairwise and group cipher configuration by
13766 letting wpa_supplicant handle the details. Add UI elements, new
13767 cipher type NM_AUTH_CIPHER_AUTO, and backend support. Works like a
13768 charm. Note this does more than add a nice feature, it fixes a bug.
13769 Apparently, some people have AP's where the pairwise cipher does not
13770 match the group cipher. Insane, but true.
13772 2006-01-30 Dan Williams <dcbw@redhat.com>
13774 * gnome/applet/applet-dbus-devices.c
13775 - (nmwa_dbus_device_get_driver_cb, nmwa_dbus_device_get_driver): new
13776 functions, grab device driver name from NetworkManager
13777 - (nmwa_dbus_device_properties_cb): call functions to get driver
13779 * gnome/applet/applet.c
13780 - (nmwa_update_info): show driver name in Connection Information
13783 * gnome/applet/nm-device.[ch]
13784 - (network_device_get_driver, network_device_set_driver): add
13785 accessors for driver name
13787 * gnome/applet/wireless-applet.glade
13788 - Add line for driver name to Connection Information dialog
13790 * src/nm-dbus-device.c
13791 - (nm_dbus_device_get_driver): new function to return driver name
13792 - (nm_dbus_device_methods): hook up driver name function to dbus
13795 - (get_driver_name): new function
13796 - (detail_device): grab and show driver name
13798 2006-01-30 Robert Love <rml@novell.com>
13800 * gnome/applet/applet.c: Apparently gtk_message_dialog_new_with_markup
13801 does not parse the markup if it is not part of the format.
13803 2006-01-30 Robert Love <rml@novell.com>
13805 * gnome/applet/passphrase-dialog.c: If wsm_set_capabilities() returns
13806 FALSE, we have no security options for this dialog, so we throw up
13807 an error dialog instead of a broken passphrase dialog. Fixes
13809 * gnome/applet/wireless-security-manager.c,
13810 gnome/applet/wireless-security-manager.h: If wsm_set_capabilities()
13811 does not add any security options, not even NONE, print a warning
13812 and return FALSE. This let's functions constructing a dialog bail
13813 out if the device's capabilities and the network's requirements have
13816 2006-01-27 Robert Love <rml@novell.com>
13818 * configure.in: Require wpa_supplicant. Detect location of binary and
13819 use it. Override with "--with-wpa_supplicant=foo".
13820 * src/Makefile.am, src/nm-device-802-11-wireless.c: Do not hardcode the
13821 path to wpa_supplicant but use the auto-detected or user-provided
13822 value from configure.
13824 2006-01-27 Robert Love <rml@novell.com>
13826 * src/backends/NetworkManagerSuSE.c: If DHCLIENT_SET_HOSTNAME is set
13827 but the DHCP server did not return a hostname, try to look up our
13828 name via DNS and set the system hostname to that.
13830 2006-01-27 Dan Williams <dcbw@redhat.com>
13832 * src/backends/NetworkManagerRedHat.c
13833 - Add NM_CONTROLLED system network script support for RH/Fedora
13835 2006-01-27 Dan Williams <dcbw@redhat.com>
13837 * src/backends/NetworkManagerGentoo.c
13838 - (nm_system_device_get_disabled): add missing function.
13841 2006-01-27 Clytie Siddall <clytie@riverland.net.au>
13843 * configure.in: Added vi in ALL_LINGUAS line.
13845 2006-01-26 Robert Love <rml@novell.com>
13847 * src/Makefile.am, src/kernel-types.h: Now that two different source
13848 files are feeling the crack-addled leakage of kernel types such as
13849 u32 and s8 -- superior to __u64 and __u8, to be sure, but not valid
13850 types in user-space -- define a header and include it as needed.
13851 * src/nm-device-802-3-ethernet.c: Include kernel-types.h
13852 * src/nm-device-802-3-ethernet.h: Remove defines.
13853 * src/wpa.c: Remove defines and include kernel-types.h.
13855 2006-01-26 Robert Love <rml@novell.com>
13857 * TODO: Update. WPA support is in the bag and HAL restarts (should)
13860 2006-01-26 Robert Love <rml@novell.com>
13862 * configure.in: Change '-Wno-unused' to '-Wno-unused-parameter'
13863 * gnome/applet/applet-compat.c, gnome/applet/applet-dbus-devices.c,
13864 gnome/applet/applet-dbus-info.c, gnome/applet/applet-dbus.c,
13865 gnome/applet/applet.c, gnome/applet/applet.h, src/nm-dbus-device.c,
13866 gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
13867 gnome/applet/nm-gconf-wso.c, gnome/applet/nm-gconf-wso.h,
13868 gnome/applet/other-network-dialog.c, src/nm-device.c, test/nm-tool.c,
13869 gnome/applet/passphrase-dialog.c, src/nm-device-802-11-wireless.c,
13870 gnome/applet/wireless-security-manager.c, src/nm-ip4-config.c,
13871 gnome/applet/wireless-security-option.c, src/nm-ap-security.c,
13872 gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
13873 gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-psk.c,
13874 libnm-util/dbus-helpers.c, src/NetworkManagerAP.c, src/nm-dbus-nmi.c,
13875 src/NetworkManagerSystem.c, src/nm-ap-security-wep.c,
13876 src/nm-device-802-11-wireless.h, test/libnm-util/test-ciphers.c,
13877 src/named-manager/nm-named-manager.c, test/test-common/test-common.c:
13878 Kill unused variables, labels, and static functions. Don't pass
13879 string literals as the format string for printf-like functions.
13881 2006-01-25 Dan Williams <dcbw@redhat.com>
13883 * gnome/applet/wireless-applet.glade
13884 - Remove WPA2 Checkbox
13886 * gnome/applet/wireless-security-manager.c
13887 - (wsm_set_capabilities): split up sections for wpa and wpa2.
13888 This means the Wireless Security menu now has two WPA options,
13889 one for "WPA Personal" and one for "WPA2 Personal"
13891 * gnome/applet/wso-wpa-psk.[ch]
13892 - (wso_wpa_psk_new): remove stuff for WPA2 checkbox, and use
13893 'wpa2' argument to determine WPA version to use
13894 - (append_dbus_params_func): pass stored WPA version to cipher
13895 rather than using the (removed) checkbox
13897 2006-01-24 Robert Love <rml@novell.com>
13899 * src/dhcp-manager/nm-dhcp-manager.c: Null-out the original byte array
13900 before we g_strdup(), not the ultimate string.
13902 2006-01-23 Dan Williams <dcbw@redhat.com>
13904 * src/NetworkManagerAP.[ch]
13905 - (nm_ap_new_from_ap): copy original essid too
13906 - (nm_ap_unref): free original essid
13907 - (nm_ap_get_orig_essid): new function
13908 - (nm_ap_set_essid): Convert essid to UTF-8 for display and dbus,
13909 but keep original essid around too
13911 * src/nm-device-802-11-wireless.c
13912 - (supplicant_send_network_config): send wpa_supplicant the
13913 _original_ essid, and not as a string, but in hex. Should
13914 allow us to connect to more APs that use wierd character
13915 encodings for their essids
13917 * utils/nm-utils.[ch]
13918 - (nm_utils_essid_to_utf8): make a best-effort to convert the essid
13919 to UTF-8. If it's not already valid UTF-8, we check LANG and
13920 use the current locale as a hint for what encoding the essid
13921 might be in. Obviously not 100% accurate, but the idea here is
13922 that if a user's locale is ex. ja_JP, they are more likely than
13923 not to be in Japan, where access points will likely be in some
13926 2006-01-23 Dan Williams <dcbw@redhat.com>
13928 * libnm-util/cipher-private.h
13929 libnm-util/cipher.c
13930 libnm-util/cipher.h
13931 - (cipher_bin2hexstr, cipher_hexstr2bin): make public
13933 2006-01-23 Robert Love <rml@novell.com>
13935 Patch by Timo Hoenig <thoenig@suse.de>:
13936 * dhcp-manager/nm-dhcp-manager.c, nm-device.c, nm-ip4-config.c,
13937 nm-ip4-config.h, NetworkManagerSystem.h: Save the hostname reported
13938 by DHCP and pass it to the backends, allowing distribution-specific
13939 behavior with respect to the DHCP-supplied hostname (if nothing else,
13940 some distributions might not want to set the hostname).
13941 * backends/NetworkManagerSuSE.c: Set the hostname if the variable
13942 DHCLIENT_SET_HOSTNAME is set to "yes" in /etc/sysconfig/network/dhcp.
13943 Also update our NIS behavior.
13944 * backends/NetworkManagerDebian.c, backends/NetworkManagerGentoo.c,
13945 backends/NetworkManagerRedHat.c, backends/NetworkManagerSlackware.c:
13946 Add stub functions.
13948 2006-01-23 Robert Love <rml@novell.com>
13950 * Makefile.am, nm-applet.desktop: Add autostart .desktop file, now that
13951 gnome-session does autostart. TODO: We need to install this to
13952 $prefix/share/autostart/.
13954 2006-01-22 Dan Williams <dcbw@redhat.com>
13956 * src/NetworkManagerAP.[ch]
13958 src/nm-device-802-11-wireless.c
13959 - Make nm_ap_get_essid return "const char *"
13961 2006-01-22 Dan Williams <dcbw@redhat.com>
13963 * src/NetworkManagerAP.[ch]
13964 - (nm_ap_get_matched, nm_ap_set_matched): remove
13966 * src/NetworkManagerAPList.[ch]
13967 - (nm_ap_list_diff): removed
13968 - (nm_ap_list_merge_scanned_ap): move AP dbus signal logic here,
13969 deal with access points changing essids on us
13971 * src/nm-device-802-11-wireless.c
13972 - (add_new_ap_to_device_list): move AP dbus signal logic to
13973 src/NetworkManagerAPList.c
13974 - (real_can_interrupt_activation): new function; allow interruption
13975 of device activation if we are waiting for a network key
13977 * src/NetworkManagerPolicy.c
13978 - (nm_policy_device_change_check): allow interruption of currently
13979 activating devices if the device allows it. Previous behavior
13980 would refuse to activate a just-plugged wired device if a
13981 wireless device was waiting for a key.
13983 * src/nm-device.[ch]
13984 - (nm_device_can_interrupt_activation): new function; ask devices
13985 whether their activation can be interrupted
13987 2006-01-20 Robert Love <rml@novell.com>
13989 * Makefile.am, configure.in: Add new man subdirectory.
13990 * man, man/NetworkManager.1.in, man/NetworkManagerDispatcher.1.in,
13991 man/Makefile.am: Add man pages for NetworkManager and its
13992 crime-solving bumbling buddy, NetworkManagerDispatcher.
13993 * man/.cvsignore: Add.
13994 * initscript/Debian/NetworkManager,
13995 initscript/Gentoo/NetworkManager.in,
13996 initscript/RedHat/NetworkManager.in,
13997 initscript/RedHat/NetworkManagerDispatcher.in,
13998 initscript/SUSE/networkmanager-dispatcher.in,
13999 initscript/SUSE/networkmanager.in: Update for /usr/sbin not /usr/bin.
14001 2006-01-20 Robert Love <rml@novell.com>
14003 * src/NetworkManagerDbus.c: Fail if NM's DBUS service is already taken,
14004 instead of queuing. This prevents the running of multiple NM
14005 daemons concurrently, which does not work whatsoever and results in
14006 neither daemon working correctly. Also, we don't handle queuing and
14007 name-owner-changes, anyhow.
14009 2006-01-20 Robert Love <rml@novell.com>
14011 * src/Makefile.am: Install the NetworkManager daemon to sbin, not bin.
14012 * dispatcher/Makefile.am: Install the NetworkManagerDispatcher daemon
14015 2006-01-19 Robert Love <rml@novell.com>
14017 * configure.in: Require hal 0.5.0 or later.
14019 2006-01-18 Robert Love <rml@novell.com>
14021 * src/NetworkManager.c, src/NetworkManagerSystem.h, src/nm-device.c:
14022 Allow backends to flag a device (in whatever distro-dependent way
14023 they so desire) as disabled. NM will ignore any such device.
14024 * src/backends/NetworkManagerDebian.c,
14025 src/backends/NetworkManagerRedHat.c,
14026 src/backends/NetworkManagerSlackware.c: Add stub function
14027 nm_system_device_get_disabled() that always returns FALSE (enabled).
14028 * src/backends/NetworkManagerSuSE.c: Add system_disabled field to the
14029 SUSE-specific configuration structure. Fill it in from the
14030 NM_CONTROLLED variable in the system networking scripts. If this var
14031 exists and is "no", we ignore the device.
14033 2006-01-17 Robert Love <rml@novell.com>
14035 * configure.in: Remove 'no' language. Replaced by 'nb', which is
14036 identical for NM. For a full discussion, see the thread at
14037 http://mail.gnome.org/archives/gnome-i18n/2004-August/msg00006.html.
14039 2006-01-17 Dan Williams <dcbw@redhat.com>
14042 - (nm_device_class_init): connect a default act_stage4_ip_config_timeout
14043 function. Fixes crash when wired DHCP fails.
14045 2006-01-16 Robert Love <rml@novell.com>
14047 * src/Makefile.am: Don't install NMLoadModules
14048 * src/NMLoadModules, test/NMLoadModules: Move the NMLoadModules script
14049 from src/ to test/ as no one uses it anymore. Note that I would be
14050 fine with removing it altogether.
14052 2006-01-16 Robert Love <rml@novell.com>
14054 * gnome/applet/eggtrayicon.c, src/nm-device.c, src/nm-ap-security.c,
14055 gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
14056 gnome/applet/nm-gconf-wso.c, src/nm-device-802-3-ethernet.c,
14057 gnome/vpn-properties/nm-vpn-properties.c, src/nm-ap-security-wep.c,
14058 src/nm-ap-security-wpa-psk.c, src/nm-device-802-11-wireless.c,
14059 src/nm-netlink-monitor.c: Don't miss any initializers on structure
14060 declarations, ever.
14061 * gnome/applet/applet.c: Remove useless check (NMState is unsigned and
14062 NM_STATE_DISCONNECTED is zero).
14064 2006-01-16 Robert Love <rml@novell.com>
14066 * src/nm-device-802-11-wireless.c: argv[3], not argv[4]. Fix
14067 uninitialized parameter and buffer overflow. Novell #143496.
14069 2006-01-16 Dan Williams <dcbw@redhat.com>
14071 Apply the PtP Address bits of a patch from Tim Niemueller
14073 * src/nm-ip4-config.[ch]
14074 - Add ip4_ptp_address member to object
14075 - (nm_ip4_config_copy): copy ptp address too
14076 - (nm_ip4_config_get_ptp_address, nm_ip4_config_set_ptp_address):
14078 - (nm_ip4_config_to_rtnl_addr): use ptp address when asked to,
14079 rather than local tunnel ip address
14081 * src/vpn-manager/nm-vpn-service.c
14082 - (print_vpn_config): update for PtP address
14083 - (nm_vpn_service_stage4_ip_config_get): switch parsing to
14084 DBusMessageIters in preparation for getting routes from the VPN
14085 service daemons too
14087 * vpn-daemons/openvpn/src/nm-openvpn-service-openvpn-helper.c
14088 - (send_config_info): update for PtP address, clean up code
14089 - (main): update for PtP address, clean up code, fix typo
14091 * vpn-daemons/openvpn/src/nm-openvpn-service.c
14092 - (nm_openvpn_dbus_process_helper_ip4_config): update for PtP address
14094 * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
14095 - (pptp_ip_up): update for PtP address
14097 * vpn-daemons/pptp/src/nm-pptp-service.c
14098 - (nm_pptp_dbus_process_helper_ip4_config): update for PtP address
14100 * vpn-daemons/vpnc/src/nm-vpnc-service.c
14101 - (print_vpn_config): update for PtP address
14102 - (nm_vpnc_dbus_process_helper_ip4_config): update for PtP address
14104 2006-01-16 Dan Williams <dcbw@redhat.com>
14106 * gnome/applet/applet.c
14107 - (nmwa_add_networks_helper): don't indicate an active network
14108 if NM is disconnected or asleep
14110 2006-01-16 Dan Williams <dcbw@redhat.com>
14112 * src/NetworkManagerPolicy.c
14113 - (nm_policy_device_change_check): switch devices if we lose the link
14114 on an ethernet device.
14116 2006-01-16 Dan Williams <dcbw@redhat.com>
14118 * gnome/applet/wso-wpa-psk-hex.[ch]
14119 - Renamed -> wso-wpa-psk.[ch]
14121 * gnome/applet/wso-wpa-psk.[ch]
14124 * gnome/applet/wso-wpa-psk-passphrase.[ch]
14125 - Removed, rolled into wso-wpa-psk.[ch]
14127 * gnome/applet/Makefile.am
14128 - Updated for above changes
14130 * gnome/applet/wireless-applet.glade
14131 - Consolidate WPA-PSK options into one notebook
14132 widget, and make dialogs invisible by default
14133 to fix screen oddities
14135 * gnome/applet/wireless-security-manager.c
14136 - (wsm_set_capabilities): create the new wpa-psk widget rather
14137 than both the old hex & passphrase ones
14139 2006-01-16 Dan Williams <dcbw@redhat.com>
14141 * gnome/applet/other-network-dialog.c
14142 - (nmwa_ond_init): Change text to refer to "name" rather than "ESSID"
14144 2006-01-16 Dan Williams <dcbw@redhat.com>
14146 * gnome/applet/applet.c
14147 - (nmwa_show_vpn_login_banner_dialog, nmwa_show_vpn_failure_dialog,
14148 nmwa_driver_notify, show_warning_dialog): fix up focus-stealing
14149 prevention to realize window before trying to get server
14152 * gnome/applet/other-network-dialog.c
14153 - (nmwa_other_network_dialog_run): fix up focus-stealing
14154 prevention to realize window before trying to get server
14157 * gnome/applet/passphrase-dialog.c
14158 - (nmi_passphrase_dialog_new): fix up focus-stealing
14159 prevention to realize window before trying to get server
14162 2006-01-16 Robert Love <rml@novell.com>
14164 Patch from Timo Hoenig <thoenig@suse.de:
14165 * libnm-util/cipher-wep-ascii.h, libnm-util/cipher-wep-hex.h,
14166 libnm-util/cipher-wep-passphrase.h, libnm-util/cipher-wpa-psk-hex.h,
14167 libnm-util/cipher-wpa-psk-passphrase.h, libnm-util/cipher.h,
14168 libnm-util/dbus-helpers.h: add checks whether headers are used
14169 within a C++ build.
14171 2006-01-16 Dan Williams <dcbw@redhat.com>
14173 * gnome/applet/wireless-security-option.c
14174 - (wso_wpa_create_key_type_model): clarify AES-CCMP algorithm name
14176 2006-01-16 Dan Williams <dcbw@redhat.com>
14178 * libnm-util/cipher-wpa-psk-passphrase.c
14179 - (cipher_wpa_psk_passphrase_new): correct passphrase length, should
14180 be 8 - 63 characters inclusive
14182 2006-01-16 Dan Williams <dcbw@redhat.com>
14185 - (nm_dbus_nm_sleep): bring device down after quick deactivation
14187 2006-01-13 Robert Love <rml@novell.com>
14189 Patch by T Sureshkumar <tsureshkuman@novell.com>:
14190 * src/NetworkManagerSystem.c: Don't assert iface != NULL, allowing VPN
14191 modules that do not use an interface.
14193 2006-01-13 Dan Williams <dcbw@redhat.com>
14197 - Allow subclasses to implement deactivate_quickly()
14198 - (nm_device_deactivate_quickly): call subclass
14199 deactivate_quickly() methods
14200 - (nm_device_set_active_link): small cleanups, and don't
14201 deactivate the device right away because we risk a deadlock
14202 when called from device thread, waiting for the device
14203 thread to cancel activation
14205 * src/nm-device-802-11-wireless.c
14206 - (real_deactivate_quickly): new function
14207 - (nm_device_802_11_wireless_class_init): hook in real_deactivate_quickly
14208 - (real_deactivate): move supplicant cleanup to real_deactivate_quickly
14209 so that we kill the supplicant when we sleep too
14210 - (supplicant_interface_init): work around naive naming attempts of
14211 wpa_ctrl when naming sockets
14213 2006-01-13 Dan Williams <dcbw@redhat.com>
14215 * src/nm-device-802-11-wireless.c
14216 - (supplicant_cleanup): delete old device control sockets too
14217 - (supplicant_get_device_socket_path): new function to consolidate
14218 locations that need a path to a device's control socket
14220 2006-01-12 Robert Love <rml@novell.com>
14222 * src/backends/NetworkManagerSuSE.c: Put the ppp device in the
14223 description so that the description is unique for each
14224 pair (device,provider). Fixes Novell #142773.
14226 2006-01-12 Dan Williams <dcbw@redhat.com>
14228 * src/nm-device-802-11-wireless.c
14229 - (supplicant_exec): ensure GError is correctly initialized
14230 Reported by Diego González (gnome.org #326708)
14232 2006-01-11 Robert Love <rml@novell.com>
14234 * src/nm-device-802-3-ethernet.c: In case local copies of glibc do not
14235 define if_mii(), open code the same results, and do so without any
14238 2006-01-11 Robert Love <rml@novell.com>
14240 * gnome/applet/wireless-security-manager.c: Fix crash by not asserting
14241 that wso_foo_new() returned non-NULL. Instead, only append the new
14242 wso to wsm->options if the wso is non-NULL. The crux is that we
14243 assume that the relevant key types are implied by WEP and WPA as
14244 appropriate. To be sure, they should be, but we should not expect
14245 drivers to not be oozing piles of wolf fecal matter.
14247 2006-01-11 Robert Love <rml@novell.com>
14249 * configure.in: Add the gcc flags '-Wshadow' and '-Wfloat-equal'.
14250 * gnome/applet/applet.c, gnome/vpn-properties/nm-vpn-properties.c,
14251 src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
14252 src/NetworkManagerPolicy.c, src/NetworkManagerSystem.c,
14253 src/nm-dbus-device.c, src/nm-device-802-3-ethernet.c,
14254 src/nm-ip4-config.c, src/vpn-manager/nm-vpn-manager.c,
14255 test/nmtestdevices.c: Fix shadowed variable usage as appropriate.
14256 * src/nm-device-802-11-wireless.c: Fix floating point comparison by
14257 comparing values within DBL_EPSILON. Also fix shadowed variable
14260 2006-01-11 Dan Williams <dcbw@redhat.com>
14262 Add options for WPA2 and WPA1+CCMP (AES).
14264 * gnome/applet/wireless-applet.glade
14265 - Add UI bits for WPA+CCMP
14267 * gnome/applet/other-network-dialog.c
14268 - (nmwa_ond_init): pass capabilities into the WirelessSecurityManager,
14269 and don't allow creation of WPA2 Ad-Hoc networks since
14270 wpa_supplicant doesn't support them
14272 * gnome/applet/wireless-security-manager.c
14273 - (wsm_set_capabilities): Add WPA2 options, and pass capability
14274 on to the specific wireless security option being created
14276 * gnome/applet/wireless-security-option.[ch]
14277 - (wso_wpa_create_key_type_model): new utility function to create
14278 the model required for WPA Key Type combo box
14280 * gnome/applet/wso-private.h
14281 gnome/applet/wireless-security-option.h
14282 - Move private function prototypes into wso-private.h
14284 * gnome/applet/wso-wpa-psk-hex.[ch]
14285 gnome/applet/wso-wpa-psk-passphrase.[ch]
14286 - (append_dbus_params_func): get WPA version from checkbox and pass
14287 it to the dbus serialization helper
14288 - (key_type_combo_changed_cb): Set the cipher's WE Cipher when the
14289 key type combo changes
14290 - (wso_wpa_psk_hex_new): set up the key type combo with the correct
14293 * libnm-util/cipher-wpa-psk-hex.c
14294 libnm-util/cipher-wpa-psk-passphrase.c
14295 - (cipher_wpa_psk_hex_set_we_cipher, cipher_wpa_psk_passphrase_set_we_cipher):
14296 new function; allow the cipher to be changed after object creation
14298 * src/nm-ap-security-wpa-psk.c
14299 - (set_description): Do WPA2 descriptions too
14301 * src/nm-ap-security.c
14302 - (nm_ap_security_new_from_ap): allow CCMP with WPA1 too
14304 2006-01-11 Robert Love <rml@novell.com>
14306 * src/nm-device-802-3-ethernet.c: Use the if_mii() inline function that
14307 is defined in <linux/mii.h> to return the mii_ioctl_data structure
14308 from the ifreq structure in lieu of an open coded solution. Removes
14309 a life-threatening type-punning.
14310 * configure.in: Remove '-Wno-strict-aliasing' as we no longer pun any
14311 types, ever, whatsoever, baby.
14313 2006-01-11 Robert Love <rml@novell.com>
14315 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.c,
14316 gnome/applet/applet.c, gnome/applet/applet.h: Consolidating
14317 assignments to applet->nm_state into a new nmwa_set_state() function
14318 for both cleanliness and to help debugging.
14320 2006-01-10 Robert Love <rml@novell.com>
14322 * src/autoip.c: Fix FIXME. In performing the link-local zeroconf IP
14323 assignment dance, we want to sleep between PROBE_MIN and PROBE_MAX
14324 seconds, exclusive. That is, we want to sleep x seconds such that
14327 2006-01-10 Robert Love <rml@novell.com>
14329 * gnome/applet/applet-dbus-info.c: Remove FIXME, we do not have to free
14330 the attr fields according to the example in the email available at
14331 mail.gnome.org/archives/desktop-devel-list/2004-May/msg00230.html.
14332 Conversely, we do have to free 'name', so we do so, fixing a leak.
14334 2006-01-10 Robert Love <rml@novell.com>
14336 * src/nm-device-802-11-wireless.c, src/nm-device-802-3-ethernet.c: Make
14337 sure that we close the socket!
14339 2006-01-10 Robert Love <rml@novell.com>
14341 * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h,
14342 src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h,
14343 src/nm-device.c: Fix a FIXME! Reimplement the function
14344 nm_device_update_hw_address() in device subclass variants,
14345 nm_device_802_3_ethernet_set_address() and
14346 nm_device_802_11_wireless_set_address(), hook them up, and use them.
14347 This fixes the existing bug where MAC addresses are all zeros.
14349 2006-01-10 Robert Love <rml@novell.com>
14351 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.h,
14352 gnome/applet/applet.c, gnome/applet/applet.h: Add 'Enable Networking'
14353 option to give users ability to globally disconnect and put NM to
14354 sleep. This is useful as a 'lockdown mode' for flying, security, and
14357 2006-01-09 Robert Love <rml@novell.com>
14359 * src/nm-device-802-3-ethernet.h: The kernel headers <linux/mii.h> and
14360 <linux/ethtool.h> leak the kernel-only types u16, u32, et al.
14361 User-space does not supply these types, so we have to define them
14362 ourselves. The relevant kernel maintainer refused to accept a patch
14363 switching these headers to the proper C99 types.
14365 2006-01-09 Dan Williams <dcbw@redhat.com>
14367 Apply Robert's 'tray icon redo' patch with fixes
14368 * gnome/applet/applet.c
14369 gnome/applet/applet.h
14370 - Instead of using a menu bar + menu item, simulate menu
14371 behavior using a popup menu. Highlight the area around
14372 the icon more like a menu too, by playing with the
14373 applet's size requisition
14375 2006-01-09 Timo Hoenig <thoenig@suse.de>
14376 * libnm-util/dbus-helpers.c
14377 libnm-util/dbus-helpers.h
14378 - (nmu_create_dbus_error_message): rename parameter 'namespace'
14379 to 'exception_namespace' (:namespace is a keyword in
14382 2006-01-09 Dan Williams <dcbw@redhat.com>
14384 * src/NetworkManagerPolicy.c
14385 - (nm_policy_device_change_check): don't autoswitch away from
14386 Ad-Hoc networks, since there's really no concept of
14390 - (nm_dbus_nm_create_wireless_network): mark created networks
14393 * src/nm-device-802-11-wireless.c
14394 - (real_activation_success_handler): add user-created Ad-Hoc
14395 networks to the device's scan list
14397 2006-01-08 Dan Williams <dcbw@redhat.com>
14399 We now require a patch for wpa_supplicant to support Ad-Hoc
14401 http://people.redhat.com/dcbw/wpa_supplicant-ctrl-iface-ap-scan.patch
14403 * src/nm-device-802-11-wireless.c
14404 - (supplicant_send_network_config): turn off wpa_supplicant's
14405 scanning. Fixes Ad-Hoc networks.
14407 2006-01-08 Dan Williams <dcbw@redhat.com>
14409 * src/nm-ap-security.c
14410 src/nm-ap-security.h
14411 - Add a user_created argument to the write_supplicant_config
14414 * src/nm-ap-security-wep.c
14415 src/nm-ap-security-wpa-psk.c
14416 src/nm-device-802-11-wireless.c
14417 - Make Ad-Hoc mode somewhat work, at least write the
14418 correct options to wpa_supplicant
14420 2006-01-08 Dan Williams <dcbw@redhat.com>
14422 * src/nm-device-802-11-wireless.c
14423 - Remove unused code from the old device activation path
14425 2006-01-08 Dan Williams <dcbw@redhat.com>
14427 * libnm-util/dbus-helpers.c
14428 - (nmu_security_serialize_wpa_psk): pass a blank key through
14429 dbus when key == NULL
14431 2006-01-08 Dan Williams <dcbw@redhat.com>
14433 * gnome/applet/nm-gconf-wso-wpa-psk.c
14434 - (nm_gconf_wso_wpa_psk_new_deserialize_dbus): feed
14435 correct arguments to nmu_security_deserialize_wpa_psk()
14437 * src/nm-ap-security-wpa-psk.c
14438 - (nm_ap_security_wpa_psk_new_deserialize): feed correct
14439 arguments to nmu_security_deserialize_wpa_psk()
14441 2006-01-08 Dan Williams <dcbw@redhat.com>
14443 * gnome/applet/wso-wpa-psk-hex.c
14444 gnome/applet/wso-wpa-psk-passphrase.c
14445 - Hook up the append_dbus_params_func() function
14447 2006-01-08 Dan Williams <dcbw@redhat.com>
14449 * src/nm-device-802-11-wireless.c
14450 - (get_wireless_capabilities): correctly detect driver WPA
14453 2006-01-08 Dan Williams <dcbw@redhat.com>
14455 * gnome/applet/Makefile.am
14456 gnome/applet/wso-wpa-psk-hex.c
14457 gnome/applet/wso-wpa-psk-hex.h
14458 - New files, implement WPA-PSK Hex key input
14460 * gnome/applet/wireless-applet.glade
14461 - Change existing wpa-psk stuff to wpa-psk-hex
14462 - Add new widgets for wpa-psk-passphrase
14464 * gnome/applet/wireless-security-manager.c
14465 - (wsm_set_capabilities): enable WPA options
14467 * gnome/applet/wso-wpa-psk-passphrase.c
14468 - (wso_wpa_psk_passphrase_new): use correct glade widgets
14469 for WPA-PSK passphrase
14471 2006-01-08 Dan Williams <dcbw@redhat.com>
14473 * include/NetworkManager.h
14474 - Add NMI_DBUS_USER_KEY_CANCELED_ERROR as a constant for
14475 applet/info-daemons
14477 * gnome/applet/passphrase-dialog.c
14478 - Use the constant. Fixes a bug where the arguments to
14479 dbus_message_new_error() were incorrect
14481 * src/nm-dbus-nmi.c
14484 2006-01-07 Dan Williams <dcbw@redhat.com>
14486 * src/nm-device-802-11-wireless.c
14487 - Add a link timeout so we allow the supplicant time to
14488 reassociate if it can, before we deactivate the card
14489 - Fix up link status and link updating so things work better
14491 2006-01-07 Dan Williams <dcbw@redhat.com>
14493 * src/nm-device-802-11-wireless.c
14494 - Switch over to using wpa_supplicant
14495 - Add a timeout of 10s for association of the supplicant
14496 - Start the monitor callback of the supplicant
14498 2006-01-07 Dan Williams <dcbw@redhat.com>
14500 * src/NetworkManagerUtils.c
14501 - (nm_utils_supplicant_request,
14502 nm_utils_supplicant_request_with_check):
14503 pass correct buffer length to wpa_ctrl_request()
14505 2006-01-07 Dan Williams <dcbw@redhat.com>
14507 * src/nm-device-private.h
14509 - (nm_device_activate_schedule_stage3_ip_config_start): make
14510 this function available to subclasses
14512 2006-01-06 Robert Love <rml@novell.com>
14514 * src/NetworkManagerPolicy.c: Always prefer wired to wireless, as the
14515 user plugging in a network cable signals their preference for to
14516 switch, unless the user explicitly selected a wireless network and
14517 therefore signaled their preference for said wireless network over
14518 wired. In other words, do exactly what makes sense.
14520 2006-01-06 Robert Love <rml@novell.com>
14522 * src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
14523 src/NetworkManagerDevicePrivate.h, src/NetworkManagerWireless.c,
14524 src/NetworkManagerWireless.h: Remove, no longer used and they keep
14525 showing up in my greps.
14527 2006-01-06 Robert Love <rml@novell.com>
14529 * gnome/applet/applet-dbus-devices.c,
14530 gnome/applet/other-network-dialog.c, gnome/applet/wso-none.c,
14531 libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h,
14532 src/nm-dbus-nm.c: Fix several issues. 'Connect to Other' and 'Create
14533 New Network' both failed in the non-encrypted case because we were
14534 not appending the security options to the DBUS message. And
14535 'Connect to Other' was also failing in the encrypted case because
14536 we were not incrementing to the next DBUS parameter. All fixed.
14537 Thanks to dcdw for some debugging help.
14539 2006-01-06 Robert Love <rml@novell.com>
14541 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
14542 gnome/applet/applet-dbus-devices.h, src/nm-dbus-nm.c: Remove global
14543 hangup code and add per-device hangup. Tie last commit into the
14544 GNOME applet. TODO: Save, understand, and respond to the state of
14545 each dialup device.
14547 2006-01-06 Robert Love <rml@novell.com>
14549 Patch by Timo Hoenig <thoenig@suse.de>:
14550 * src/NetworkManagerSystem.h, src/nm-dbus-nm.c: Add interfaces to
14551 hangup specific dialup devices.
14552 * src/backends/NetworkManagerDebian.c,
14553 src/backends/NetworkManagerGentoo.c,
14554 src/backends/NetworkManagerRedHat.c,
14555 src/backends/NetworkManagerSlackware.c: Add stub backend.
14556 * src/backends/NetworkManagerRedHat.c,
14557 src/backends/NetworkManagerSuSE.c: Add specific backend interface to
14558 hangup specific dialup devices.
14560 2006-01-04 Robert Love <rml@novell.com>
14562 * gnome/applet/applet-dbus-devices.c,
14563 gnome/applet/applet-dbus-devices.h, gnome/applet/applet.c,
14564 src/nm-dbus-nm.c: Expose a menu item for hanging up active dialup
14567 2006-01-04 Dan Williams <dcbw@redhat.com>
14569 First dump of wpa_supplicant-related code. It's not hooked up to
14570 anything yet though. Thanks to Kay Sievers for
14571 wpa_supplicant_wrapper.c, which formed the basis for this work,
14572 and to Jouni Malinen for writing wpa_ctrl.c and wpa_ctrl.h.
14576 - Add wpa_ctrl stuff from wpa_supplicant so we can talk to it
14578 * src/NetworkManagerUtils.[ch]
14579 - (nm_utils_supplicant_request, nm_utils_supplicant_request_with_check):
14580 Add convenience functions for talking to wpa_supplicant
14582 * src/nm-ap-security.[ch]
14583 src/nm-ap-security-wep.c
14584 src/nm-ap-security-wpa-psk.[ch]
14585 - Update and implement real_write_supplicant_config functions
14586 in all security types
14587 - (nm_ap_security_wpa_psk_new_from_ap): implement in
14588 nm-ap-security-wpa-psk.c
14590 * src/nm-device-802-11-wireless.c
14591 - (supplicant_cleanup, supplicant_watch_cb, supplicant_monitor_status_cb,
14592 wpa_supplicant_start, wpa_supplicant_interface_init,
14593 wpa_supplicant_send_network_config): add functions to talk to
14594 wpa_supplicant and write network config to it
14596 2006-01-04 Robert Love <rml@novell.com>
14598 * src/NetworkManagerDialup.h: add 'type' field and NM_DIALUP_TYPE
14599 values so that distribution-backends can differentiate between the
14600 various types (modem, ISDN, et cetera) of dialup device that they
14602 * src/backends/NetworkManagerSuSE.c: perform isdnctrl on interface, as
14605 2006-01-03 Dan Williams <dcbw@redhat.com>
14607 * src/NetworkManagerPolicy.c
14609 src/nm-device-802-11-wireless.c
14610 - Move wireless-specific activation failure and success code
14611 into wireless device class
14613 2006-01-03 Robert Love <rml@novell.com>
14615 Patch by Preggna S:
14616 * src/NetworkManagerSystem.c, src/vpn-manager/nm-vpn-connection.c:
14617 IPsec does not require that a VPN client be bound to an interface,
14618 due to the use of the in-kernel IPSec bits. So make the tunnel
14621 2006-01-03 Dan Williams <dcbw@redhat.com>
14623 * src/NetworkManagerAP.c
14624 - (nm_ap_add_capabilities_from_ie): presume no WEP unless
14625 the WPA IE specifies that WEP is supported
14627 * src/nm-device-802-11-wireless.c
14628 - (process_scan_results): don't mark an AP as supporting WEP
14629 if there's already other encryption capability info
14631 2006-01-03 Dan Williams <dcbw@redhat.com>
14633 * src/dhcp-manager/nm-dhcp-manager.c
14634 - Recognize activation cancellation when waiting for DHCP
14635 configuration from dhcdbd
14636 - Ignore non-dhcdbd messages
14639 - (real_act_stage3_ip_config_start): return to correct behavior
14640 of letting the dhcp-manager notify us of failure or
14641 success rather than incorrectly doing that ourselves
14642 - (nm_device_activate_stage4_ip_config_get): deal with
14643 activation cancellation a bit earlier
14645 2006-01-03 Dan Williams <dcbw@redhat.com>
14647 * src/nm-device-802-11-wireless.c
14649 - Add hooks to subclasses for stage3_ip_config_start and
14650 stage4_ip_config_timeout
14652 * src/nm-device-802-3-ethernet.c
14653 - (real_get_generic_capabilities): make devices NM-supported
14656 2006-01-03 Robert Love <rml@novell.com>
14658 * src/backends/NetworkManagerSuSE.c: update to newer API (no more
14659 nm_device_get_hw_address); use inet_aton in lieu of inet_addr as the
14660 latter cannot differentiate between error and the address -1; misc.
14663 2006-01-03 Dan Williams <dcbw@redhat.com>
14665 * src/NetworkManager.c
14666 - Move link-checking/probing into the device subclasses
14669 * src/nm-device.[ch]
14670 src/nm-device-802-11-wireless.c
14671 src/nm-device-802-3-ethernet.c
14672 - Do periodic link checking in device subclasses rather
14673 than being triggered from NetworkManager.c
14674 - discover_wireless_capabilities -> get_wireless_capabilities
14675 - discover_generic_capabilities -> get_generic_capabilities
14676 - Device subclass activation routines now return a value of type
14677 NMActStageReturn to indicate what step to perform next
14678 - Devices now override stage4_get_ip4_config if they choose
14680 2006-01-01 Dan Williams <dcbw@redhat.com>
14682 * src/nm-device-802-11-wireless.c
14683 - (real_init): don't chain up to parent init because we don't
14684 need to do that anymore
14687 - (discover_device_type): fix arguments to ioctl() to correctly
14688 pass interface name
14689 - (nm_device_new): consolidate generic device initialization into
14691 - (real_init): remove, consolidated to nm_device_new()
14692 - (nm_device_deactivate, real_deactivate): consolidate
14694 2006-01-01 Dan Williams <dcbw@redhat.com>
14696 * src/nm-activation-request.c
14697 - Change dhcp_state member of the NMActRequest structure
14698 from guint8 to guint32
14700 * src/dhcp-manager/nm-dhcp-manager.[ch]
14701 - (nm_dhcp_manager_get_state_for_device): return guint32 rather
14702 than guint8 to match the dbus argument. Turns out we were
14703 overwriting memory since we were passing in only a guint8
14705 2005-12-31 Dan Williams <dcbw@redhat.com>
14707 * refactor NMDevice into a GObject-based framework with separate
14708 objects for wired and wireless. The following files are no
14709 longer used but should stick around for a bit so we don't
14710 loose code through the cracks:
14711 NetworkManagerDevice.c
14712 NetworkManagerDevice.h
14713 NetworkManagerWireless.c
14714 NetworkManagerWireless.h
14716 The intent here is to allow each device type to manage its own
14717 connection & activation life-cycle, ie to allow wireless devices
14718 to interface with wpa_supplicant, etc. There's a fair bit of
14719 encapsulation breakage right now that should gradually get pulled
14720 back into each device, along with things like periodic property
14721 updates and link probing.
14723 2005-12-29 Dan Williams <dcbw@redhat.com>
14725 * include/NetworkManager.h
14726 - Add NM_802_11_CAP_PROTO_NONE since we need to recognize
14727 between networks that don't have any encryption at all
14729 2005-12-29 Dan Williams <dcbw@redhat.com>
14731 * test/test-common.c
14734 - Move to a test-common subdirectory
14736 * test/libnm-util/test-ciphers.c
14737 - Move test data to test-inputs.h
14738 - Test WPA ciphers too
14740 * test/libnm-util/test-dbus-helpers.c
14741 - Test serialization/deserialization of ciphers
14743 2005-12-29 Dan Williams <dcbw@redhat.com>
14745 * gnome/applet/applet-dbus-devices.c
14746 - Replace 'enc' parameter with 'capabilities' for wireless networks
14747 in dbus calls to NM
14748 - Set capabilities on WirelessNetwork objects
14749 - Receive and save type-specific device capabilities too
14751 * gnome/applet/applet-dbus-info.c
14752 gnome/applet/applet-dbus.c
14753 - Passphrase dialog no longer a singleton; new instance gets created
14754 on each request. Updates to deal with that.
14756 * gnome/applet/applet.c
14757 - (nmwa_has_encrypted_networks_helper): use AP capabilities rather
14758 than single 'encrypted' flag
14759 - (nmwa_menu_add_vpn_menu): if NM isn't connected, disable any VPN
14761 - Passphrase dialog updates per above
14763 * gnome/applet/menu-items.c
14764 - (network_menu_item_update): use AP capabilities to determine
14767 * gnome/applet/nm-device.[ch]
14768 - Add accessors for type-specific device capabilities
14770 * gnome/applet/other-network-dialog.c
14771 - Rework to respect device capabilities. i.e., if the device doesn't
14772 support WPA, remove that option from the security dropdown
14774 * gnome/applet/passphrase-dialog.c
14775 - Massive rework so that a new instance is created each time
14776 it's used, to support wireless network capabilities
14778 * gnome/applet/wireless-network.[ch]
14779 - Add accessors and members for wireless network capabilities
14781 * gnome/applet/wireless-security-manager.[ch]
14782 - (wsm_set_capabilities): called after creation to set which
14783 security options get shown to the user
14785 2005-12-29 Dan Williams <dcbw@redhat.com>
14787 * libnm-util/cipher-wpa-psk-passphrase.c
14788 - (cipher_wpa_psk_passphrase_hash_func): return key as hex string
14791 2005-12-23 Dan Williams <dcbw@redhat.com>
14793 * gnome/applet/applet-dbus-info.c
14794 - (nmi_dbus_get_key_for_network): if there's no entry in
14795 GConf for a network, assume we want a new key
14796 - (nmi_save_network_info): serialize wireless security info
14797 into GConf so its saved
14800 - Fix warning as we may not be passed security info when
14801 connecting to a wireless network
14803 2005-12-23 Dan Williams <dcbw@redhat.com>
14805 * gnome/applet/applet-compat.c
14806 - Fix bugs in GConf entry conversion
14808 * gnome/applet/applet-dbus-info.c
14809 - (nmi_dbus_get_network_properties): handle case of the BSSID
14810 list being zero-length
14812 * libnm-util/cipher-*
14813 libnm-util/dbus-helpers.c
14814 - All ciphers must now return hashed keys as UTF-8 valid
14815 hexadecimal strings, ie "8f3dae4023". They are pushed
14816 through dbus as strings too.
14817 - Consolidate various functions that do bin->hex and hex->bin
14818 conversion into cipher.c
14820 * src/nm-ap-security-wep.c
14821 src/nm-ap-security-wpa-psk.c
14822 - Handle NULL keys since we may not know keys right away
14824 * src/nm-dbus-nmi.c
14825 - (nm_dbus_get_network_data_cb): actually advance to the start
14826 of the wireless security info before we try to deserialize it
14828 * libnm-util/test-ciphers.c
14829 - Update cipher tests for the change to UTF-8 hexadecimal strings
14831 2005-12-22 Dan Williams <dcbw@redhat.com>
14833 * gnome/applet/applet-compat.[ch]
14834 - Convert old-format GConf and keyring entries
14835 when the applet starts up.
14837 * gnome/applet/applet.c
14838 - (nmwa_get_instance): Call the conversion function
14839 on startup before dbus is initialized
14841 2005-12-22 Dan Williams <dcbw@redhat.com>
14843 * gnome/applet/applet-dbus-info.c
14844 - Remove nmi_dbus_create_error_message() in favor of
14845 nmu_create_dbus_error_message()
14846 - (nmi_dbus_get_network_properties): Error message cleanups
14847 - (nmi_dbus_get_network_properties): BSSIDs are now in the 'bssids'
14848 gconf key rather than 'addresses', since they really are BSSIDs
14849 - (nmi_dbus_get_network_properties): Dispose of the security
14850 object when we're done with it
14852 2005-12-21 Dan Williams <dcbw@redhat.com>
14854 * Consolidate the info-daemon's "updateNetworkInfo" and
14855 "addNetworkAddress" calls into just "updateNetworkInfo"
14857 2005-12-21 Dan Williams <dcbw@redhat.com>
14859 * Make connection after key retrieval work again
14861 2005-12-21 Dan Williams <dcbw@redhat.com>
14863 * gnome/applet/nm-gconf-wso*
14864 - Make the serialize functions return gboolean
14867 * gnome/applet/nm-gconf-wso.c
14868 - (nm_gconf_wso_dispose, nm_gconf_wso_finalize): fix up
14869 parent class handling so we don't segfault
14871 * src/NetworkManagerAP.[ch]
14872 - (nm_ap_get_capabilities): new function, return capabilities
14873 now that something can use them
14874 - (nm_ap_set_encrypted): assume that an access point supports
14875 both WEP104 and WEP40 if its set encrypted. FIXME: can
14876 we even tell whether it just supports WEP40?
14878 * src/NetworkManagerDevice.c
14879 - (ap_need_key): resurrect and update for the New World Order
14880 - (nm_device_wireless_get_activation_ap): if we're not given
14881 security info to use, create some based on access point
14884 * src/nm-ap-security-wep.c
14885 - (nm_ap_security_wep_new_from_ap): create a new object
14886 based on a certain access point's capabilities
14888 * src/nm-ap-security.c
14889 - (nm_ap_security_new_from_ap): delegate creation of a new
14890 object based on access point capabilities to a subclass
14891 - (nm_ap_security_copy_properties): don't segfault if we
14892 don't have a key yet
14895 - (nm_dbus_nm_set_active_device): provide more informative
14896 output when errors occur. Also construct security info
14897 for a given access point if we weren't given any
14899 2005-12-21 Žygimantas Beručka <zygis@gnome.org>
14901 * configure.in: Added Lithuanian to ALL_LINGUAS.
14903 2005-12-21 Dan Williams <dcbw@redhat.com>
14906 - Add some testcases for WEP ciphers
14908 2005-12-17 Dan Williams <dcbw@redhat.com>
14912 2005-12-17 Dan Williams <dcbw@redhat.com>
14914 * include/NetworkManager.h
14915 - Finally kill NMEncKeyType
14917 * gnome/applet/applet-dbus-info.c
14918 - (nmi_save_network_info): convert to NMGConfWSO
14920 * gnome/applet/nm-gconf-wso-*.c
14921 - Implement gconf serialization functions
14923 * src/NetworkManagerPolicy.c
14924 - (nm_policy_activation_finish): fix up meaning of
14925 automatic/user_requested
14927 2005-12-17 Dan Williams <dcbw@redhat.com>
14930 - More applet cleanups
14931 - Use the dbus-method-dispatcher
14933 * libnm-util/dbus-method-dispatcher.[ch]
14934 - Generalize the implementation from NM in
14935 NetworkManagerUtils.c
14937 2005-12-16 Dan Williams <dcbw@redhat.com>
14940 - Fix up the passphrase dialog to use all the
14941 WirelessSecurityOption stuff (untested)
14943 2005-12-16 Dan Williams <dcbw@redhat.com>
14945 * Move nm_gconf_get_*_helper() functions to separate files,
14946 gconf-helpers.c & gconf-helpers.h
14948 * New NMGConfWSO objects for managing the gconf side of things.
14949 Eventually these should be merged with the
14950 WirelessSecurityOption objects and a common base (that can
14951 serialize/deserialize from dbus & gconf) should be
14952 refactored out, but for now they are separate.
14954 2005-12-16 Robert Love <rml@novell.com>
14956 * src/backends/NetworkManagerSuSE.c: Do not invoke ypbind or autofs
14957 binaries unless they exist (nm_spawn_process() emits a warning if
14958 asked to spawn a non-existant process).
14960 2005-12-16 Dan Williams <dcbw@redhat.com>
14962 * gnome/applet/applet-dbus-info.c
14963 - Clean up lots of gconf-related code
14965 2005-12-16 Robert Love <rml@novell.com>
14967 * Makefile.am: Build fix: Reorder 'SUBDIRS' so our deps are right.
14969 2005-12-16 Dan Williams <dcbw@redhat.com>
14971 * nm_device_set_enc_key -> nm_device_set_wep_enc_key
14973 * Fix up NM -> NMI get-user-key dbus calls in NM (applet
14974 bits still to be done)
14976 2005-12-16 Dan Williams <dcbw@redhat.com>
14978 * Finally move info-daemon related stuff out of
14979 NetworkManagerDbus.c to nm-dbus-nmi.c
14981 2005-12-16 Dan Williams <dcbw@redhat.com>
14983 * Kill auth_method for access points, since that's now done
14984 by NMAPSecurity objects
14986 * Add a copy-constructor of sorts to NMAPSecurity
14987 (how do you do this properly in glib???)
14989 2005-12-15 Dan Williams <dcbw@redhat.com>
14991 * Exorcise encryption key hashing on APs
14992 * Use libnm-util's serialization/deserialization in both the
14994 * Random other stuff
14996 2005-12-15 Robert Love <rml@novell.com>
14998 * gnome/applet/menu-items.c: A new icon, "network-wireless-encrypted"
14999 is being added to the icon naming spec, so let's use that (Tango CVS
15000 has the icon). Because it is new, however, we fall back to the
15001 current "gnome-lockscreen" if the new icon is not around, thus
15002 behavior is the same.
15003 * gnome/applet/applet.c: Remove setup_stock(). We do not need the
15006 2005-12-15 Robert Love <rml@novell.com>
15008 * src/gnome/applet.c: Don't show the 'Help' menu item until we have,
15009 well, help to give. Couple other misc. bits.
15011 2005-12-15 Dan Williams <dcbw@redhat.com>
15013 * libnm-util/dbus-helpers.[ch]
15014 - Make this the one-stop-shop for serializing/deserializing
15015 AP & connection security settings over dbus. Both NM
15016 and applets should use this to ensure consistent dbus
15017 API going forwared.
15019 2005-12-15 Robert Love <rml@novell.com>
15021 Patch by Timo Hoenig <thoenig@suse.de>:
15022 * src/NetworkManagerDbus.c
15023 - (nm_dbus_signal_filter) return DBUS_HANDLER_RESULT_HANDLED
15024 if HAL jumps off the system bus. Otherwise libdbus
15025 (dbus_connection_dispatch) will try to run the filter
15026 function of our libhal context which is already freed.
15028 2005-12-15 Alexander Shopov <ash@contact.bg>
15030 * configure.in: Added "bg" (Bulgarian) to ALL_LINGUAS
15032 2005-12-14 Dan Williams <dcbw@redhat.com>
15034 * include/NetworkManager.h
15035 src/NetworkManagerWireless.c
15036 - Rearrange 802.11 wireless-specific capabilities again
15039 - Forgot to add wpa.c/wpa.h to the makefiles
15041 * src/NetworkManagerAP.[ch]
15042 - Implement access point capabilities and parse the
15043 WPA/RSN IEs into the capability bitfield
15044 - Switch the "encrypted" attribute to utilize the bitfield
15045 and capabilities rather than being independent
15047 * src/NetworkManagerDevice.c
15048 - (nm_device_wireless_get_activation_ap): break it horribly
15049 until we can push NMAPSecurity objects into access point
15050 objects and through the activation chain
15051 - Stuff WPA & RSN IEs into AP capabilities
15054 - Take a shot at actually making setActiveDevice work
15057 - Make the API a bit saner
15059 2005-12-14 Dan Williams <dcbw@redhat.com>
15061 * include/NetworkManager.h
15062 - Add 802.11-specific capability for 802.1x key
15066 - Pull in WPA IE and RSN IE parsing code from
15067 wpa_supplicant so we can determine access point
15069 - Move WPA-related constants here from NetworkManagerAP.h
15070 and NetworkManagerDevice.c
15072 * src/NetworkManagerDevice.c
15073 src/NetworkManagerAP.[ch]
15074 - Use WPA-related constants from wpa.h
15076 2005-12-14 Dan Williams <dcbw@redhat.com>
15078 * include/NetworkManager.h
15079 - Update and split 802.11 wireless-specific capabilities from
15080 generic device capabilities
15082 * src/NetworkManagerDevice.c
15083 src/NetworkManagerDevicePrivate.h
15084 - (nm_device_wireless_discover_capabilities): Move 802.11
15085 wireless-specific capability checks to
15086 NetworkManagerWireless.c
15087 - Rename NMDeviceWirelessOptions -> NMDevice80211WirelessOptions
15088 - Rename NMDeviceWiredOptions -> NMDevice80211EthernetOptions
15090 * src/NetworkManagerWireless.[ch]
15091 - (nm_802_11_wireless_discover_capabilities): Check extended
15092 802.11 wireless-specific capabilities of the driver
15094 2005-12-14 Robert Love <rml@novell.com>
15096 Patch from Stefan Scheler <sscheler@suse.de>:
15097 * src/NetworkManagerDevice.c: call backend code to activate and
15099 * src/NetworkManagerSystem.h: add new NIS interfaces.
15100 * src/backends/NetworkManagerDebian.c,
15101 src/backends/NetworkManagerGentoo.c,
15102 src/backends/NetworkManagerRedHat.c,
15103 src/backends/NetworkManagerSlackware.c: add stub functions for NIS
15105 * src/backends/NetworkManagerSuSE.c: add NIS support, baby.
15107 2005-12-14 Dan Williams <dcbw@redhat.com>
15109 * src/nm-ap-security*.[ch]
15110 - Add AP security abstractions to NetworkManager
15112 * src/nm-dbus-device.c
15113 - Begin to parse new format dbus messages from the applet
15114 and construct an AP security object from the message
15116 * libnm-util/dbus-helpers.c
15117 - Use message iters so we can append the key as a fixed
15118 array of bytes, which actually works rather than
15119 using dbus_message_append_args() as we were before
15121 2005-12-14 Dan Williams <dcbw@redhat.com>
15123 * src/NetworkManagerDbus.c
15124 gnome/applet/applet-dbus.c
15125 - Fix up dbus service replacement options. The applet
15126 should allow replacement, NM itself should not.
15128 2005-12-13 Robert Love <rml@novell.com>
15130 * src/named-manager/nm-named-manager.c: Revert earlier commit.
15131 Instead, fail silently if config is NULL by not asserting and not
15132 returning FALSE. Also, make sure we always fclose() the file.
15134 2005-12-13 Robert Love <rml@novell.com>
15136 Patch by Stefan Scheler <sscheler@suse.de>:
15137 * src/nm-ip4-config.h, src/nm-ip4-config.c,
15138 src/dhcp-manager/nm-dhcp-manager.c: Add support for setting up NIS
15139 via DHCP. Still need the backends to commit the NIS domain name and
15140 and servers to yp.conf as needed.
15142 2005-12-13 Robert Love <rml@novell.com>
15144 * src/vpn-manager/nm-dbus-vpn.c: Do not call the lengthy-named function
15145 nm_vpn_manager_remove_connection() unless vpn is non-NULL.
15147 2005-12-13 Robert Love <rml@novell.com>
15149 * src/named-manager/nm-named-manager.c: Don't unref the config until
15150 after we call rewrite_resolv_conf(), because get_last_default_domain()
15151 needs to access the config. Fixes "rewrite_resolv_conf: assertion
15152 `config != NULL' failed" assertion failures and "Could not commit DNS
15155 2005-12-12 Dan Williams <dcbw@redhat.com>
15157 * libnm-util/dbus-helpers.[ch]
15158 libnm-util/Makefile.am
15159 - new helper calls to consolidate locations where
15160 NM's setDevice method is called
15162 * gnome/applet/applet-dbus-devices.c
15163 gnome/applet/wireless-security-option.c
15165 - Implement dbus message param append function for
15166 all wireless security options
15168 2005-12-12 Robert Love <rml@novell.com>
15170 * libnm-util/cipher-wep-passphrase.c,
15171 libnm-util/cipher-wpa-psk-passphrase.c, src/NetworkManagerAP.c,
15172 src/NetworkManagerAP.h, src/NetworkManagerDevice.c,
15173 src/NetworkManagerWireless.c, src/NetworkManagerWireless.h: Treat
15174 all WEP/WPA keys as "char *" and not explicitly signed or unsigned.
15175 When handling keys, we don't care what the sign is. The compiler
15176 guarantees us that we get our 8-bits, which is all we care about.
15177 * configure.in: Remove "-Wno-pointer-sign" flag. We are sign-aware!
15179 2005-12-12 Dan Williams <dcbw@redhat.com>
15181 * gnome/applet/applet-dbus-devices.[ch]
15182 gnome/applet/applet.c
15183 gnome/applet/other-network-dialog.c
15184 gnome/applet/wireless-security-manager.[ch]
15185 gnome/applet/wireless-security-option.[ch]
15187 - Push the wireless security options further into the applet
15189 2005-12-12 Robert Love <rml@novell.com>
15191 * src/dhcp-manager/nm-dhcp-manager.c: Do not fail if DHCP does not
15192 return any name servers. That is perfectly valid. (Novell #134369).
15194 2005-12-11 Dan Williams <dcbw@redhat.com>
15196 * gnome/applet/wso-*
15197 gnome/applet/wireless-security-option.*
15198 gnome/applet/Makefile.am
15199 - split each security option out so we can eventually
15200 have each one build up their own dbus message
15201 arguments to send to NM
15203 2005-12-11 Dan Williams <dcbw@redhat.com>
15205 * Make validation of the key work correctly
15207 2005-12-11 Dan Williams <dcbw@redhat.com>
15209 * Hook more bits of the Other Network Dialog up to the
15210 wireless security manager stuff, and restructure
15211 bits of the dialog so there's less code.
15213 2005-12-10 Dan Williams <dcbw@redhat.com>
15215 * gnome/applet/Makefile.am
15216 - Add libnm-util to includes
15217 - Add libnm-util to link list
15218 - Add wireless-security-common.* to compile list
15220 * gnome/applet/other-network-dialog.c
15221 - Convert to using the WirelessSecurityManager code and
15224 * gnome/applet/passphrase-dialog.c
15225 - Comment out references to stuff in the glade file that
15226 cause runtime errors until it can be fixed up
15227 to use the WirelessSecurityManager code
15229 * gnome/applet/wireless-applet.glade
15230 - Rename some widgets
15231 - Add widgets for the WirelessSecurityManager code
15232 - Remove passphrase-related stuff since that's now
15233 handled by the WirelessSecurityManager code
15235 2005-12-10 Dan Williams <dcbw@redhat.com>
15237 * gnome/applet/applet-dbus-devices.c
15238 - Print out error message details for dbus pending call callbacks
15239 - Move nmwa_dbus_update_devices() up
15241 * gnome/applet/applet-dbus-vpn.c
15242 - Print out error message details for dbus pending call callbacks
15244 2005-12-10 Dan Williams <dcbw@redhat.com>
15248 - Remove cipher-manager.* because we don't need it
15249 - Forgot to add gnome-keyring-md5 files to compile list
15251 2005-12-09 Dan Williams <dcbw@redhat.com>
15256 - Add a utility library for clients of NetworkManager. It's
15257 only targetted at applets for the moment, and contains
15258 a generalized 802.11 cipher framework for different
15259 types of keys (WEP & WPA Hex, ASCII, Passphrase)
15261 2005-12-09 Robert Love <rml@novell.com>
15263 * src/NetworkManagerDevice.c: handle error better in
15264 nm_device_set_mode().
15266 2005-12-08 Robert Love <rml@novell.com>
15268 * include/NetworkManager.h: add WPA capabilities constants
15269 * src/NetworkManagerDevice.c: detect if wireless devices support WPA
15270 or WPA2 and add the capabilities bits as appropriate.
15272 2005-12-08 Robert Love <rml@novell.com>
15274 * initscript/SUSE/networkmanager-dispatcher.in: new initscript for
15275 NetworkManagerDispatcher.
15276 * configure.in, initscript/SUSE/.cvsignore,
15277 initscript/SUSE/Makefile.am: support new networkmanager-dispatcher
15280 2005-12-08 Robert Love <rml@novell.com>
15282 * initscript/SUSE/networkmanager.in: Do not start 'networking' service.
15284 2005-12-08 Robert Love <rml@novell.com>
15286 * src/NetworkManagerDevice.c: We want to fall back on and default to
15287 IW_MODE_AUTO, not -1, which is more in line with our previous
15288 behavior. Otherwise, we try to set the wireless mode to -1 in
15289 nm_device_set_mode().
15291 2005-12-07 Robert Love <rml@novell.com>
15293 * gnome/applet/applet-dbus-info.c, include/NetworkManager.h,
15294 src/NetworkManagerAP.c, src/NetworkManagerAP.h,
15295 src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
15296 src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
15297 src/nm-dbus-nm.c: Convert NM_DEVICE_AUTH_METHOD_* to use the
15298 wireless-tools constants directly. UNKNOWN is now -1 and NONE is
15301 2005-12-07 Robert Love <rml@novell.com>
15303 * src/backends/NetworkManagerSuSE.c: In static configurations, if the
15304 supplied IP is invalid, fall back to DHCP.
15306 2005-12-07 Dan Williams <dcbw@redhat.com>
15308 * Convert NETWORK_MODE_* constants to IW_MODE_*
15309 * Make all the get_mode/set_mode functions take and return 'int'
15310 * Convert D-BUS calls that pass mode to DBUS_TYPE_INT32 rather than UINT32
15312 2005-12-07 Robert Love <rml@novell.com>
15314 * src/NetworkManagerDevice.c: strncpy() buffer check.
15315 * src/NetworkManagerUtils.c: be anal about syslog() formatting.
15317 2005-12-06 Dan Williams <dcbw@redhat.com>
15319 * gnome/applet/applet-dbus.c
15320 - (set_vpn_last_attempt_status): remove, now in applet-dbus-vpn.c
15322 * gnome/applet/applet-dbus-vpn.c
15323 - (nmwa_dbus_vpn_set_last_attempt_status): new, from applet-dbus.c
15324 - (nmwa_dbus_vpn_update_vpn_connection_stage): set last_attempt_success
15325 to TRUE here if stage was ACTIVATED
15327 2005-12-06 Dan Williams <dcbw@redhat.com>
15329 * Change nm_device_is_* functions to better names:
15330 nm_device_is_wireless() -> nm_device_is_802_11_wireless()
15331 nm_device_is_wired() -> nm_device_is_802_3_ethernet()
15333 2005-12-06 Dan Williams <dcbw@redhat.com>
15335 * Change naming of NMDeviceType to something more sensible:
15336 NM_DEVICE_TYPE_DONT_KNOW -> NM_DEVICE_TYPE_UNKNOWN
15337 NM_DEVICE_TYPE_WIRED_ETHERNET -> NM_DEVICE_TYPE_802_3_ETHERNET
15338 NM_DEVICE_TYPE_WIRELESS_ETHERNET -> NM_DEVICE_TYPE_802_11_WIRELESS
15340 2005-12-06 Dan Williams <dcbw@redhat.com>
15342 * Move NetworkManager.h -> include/NetworkManager.h
15343 * Split out VPN stuff into include/NetworkManagerVPN.h
15344 * Fix up makefiles to include new location
15345 * Fix up sources to include NetworkManagerVPN.h
15347 2005-12-06 Dan Williams <dcbw@redhat.com>
15349 Various changes in the applet to move VPN connection "state" -> "stage",
15350 which it actually is. I'd like to change the signal as well when we
15351 break compat in the near future.
15353 2005-12-06 Dan Williams <dcbw@redhat.com>
15355 Slackware patches from Paul Blazejowski <paulb@blazebox.homeip.net>
15356 * initscript/Slackware/rc.networkmanager
15359 * src/backends/NetworkManagerSlackware.c
15360 - Kill dhcpcd when starting so that dhclient can bind to DHCP on
15363 2005-12-05 Robert Love <rml@novell.com>
15365 * src/NetworkManager.c: don't call nm_data_free() when there is nothing
15366 to free, particularly here as it just barfs.
15368 2005-12-05 Dan Williams <dcbw@redhat.com>
15370 * gnome/applet/applet-dbus.c
15371 - Work with dbus 0.6 too
15373 2005-12-03 Dan Williams <dcbw@redhat.com>
15375 * src/NetworkManagerUtils.[ch]
15376 src/nm-ip4-config.c
15377 - move ip4_netmask_to_prefix() to NetworkManagerUtils.c
15378 - consolidate code into nm_utils_ip4_addr_to_nl_addr()
15380 2005-12-01 Robert Love <rml@novell.com>
15382 * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c: We
15383 need a NULL for the '...' parameter, too, to fill the so-called
15386 2005-12-01 Robert Love <rml@novell.com>
15388 * src/NetworkManagerSystem.c: If iface_to_rtnl_link() returns NULL, the
15389 interface is already gone, so don't call rtnl_link_change() to down
15390 it (which will segfault, anyhow).
15392 2005-11-22 Robert Love <rml@novell.com>
15394 * src/backends/NetworkManagerSuSE.c: Don't fall back to DHCP if the
15395 gateway is not set, just print a little note. Configurations without
15396 gateways are valid.
15398 2005-11-22 Robert Love <rml@novell.com>
15402 2005-11-20 Ilkka Tuohela <hile@iki.fi>
15404 * configure.in: Added Finnish translation to ALL_LINGUAS
15406 2005-11-14 Robert Love <rml@novell.com>
15408 * vpn-daemons/openvpn: initial checkin of OpenVPN VPN Module, by Tim
15409 Niemueller <tim@niemueller.de>.
15411 2005-11-08 Dan Williams <dcbw@redhat.com>
15413 Patch from Bill Moss <bmoss@clemson.edu>
15414 * src/NetworkManagerDevice.c
15415 - (nm_device_activate_stage5_ip_config_commit): fix ordering
15416 of nm_policy_schedule_activation_finish() to prevent a
15417 race condition that causes the link to be dropped
15419 2005-11-08 Dan Williams <dcbw@redhat.com>
15421 Patch from Bill Moss <bmoss@clemson.edu>
15422 * src/NetworkManagerAPList.c
15423 src/NetworkManagerDevice.c
15424 src/NetworkManagerDbus.c
15425 - Replace occurances of ether_ntoa_r() with iw_ether_ntop() so
15426 we get more readable ether/mac addresses
15428 2005-11-02 Christopher Aillon <caillon@redhat.com>
15430 * gnome/applet/main.c: Don't set the restart command. This fixes
15431 the issue where the restart command was getting copies of all its
15432 arguments for each time the applet was restarted.
15434 2005-11-02 Robert Love <rml@novell.com>
15436 * gnome/applet/applet.c: Only send the DBUS setWirelessEnabled method
15437 if the widget state differs from our saved state. This ensures we
15438 do not enter an endless loop of death and destruction. Also, this
15439 guarantees us that we enforce the widget state.
15441 2005-11-02 Robert Love <rml@novell.com>
15443 * gnome/applet/applet.c: add nmwa_enable_wireless_set_active().
15444 * gnome/applet/applet-dbus-devices.c: invoke the new function
15445 nmwa_enable_wireless_set_active() to ensure that the state of the
15446 'Enable Wireless' checkbox matches the daemon's state. This is a
15447 concern because the daemon remembers the state.
15449 2005-11-02 Robert Love <rml@novell.com>
15451 * gnome/applet/applet.c: Make menu item "Enable Wireless" not "Wireless
15452 Enabled", as checkboxes should be actions/commands not positive
15453 statements, otherwise they are confusing in the unselected case. See
15454 examples in GNOME HIG, Chapter 6.
15456 2005-11-02 Robert Love <rml@novell.com>
15458 * gnome/applet/applet.c: When wireless is disabled, act it. Do not
15459 show a list of wireless networks or the wireless devices or the
15460 "Create Wireless ..." menus. Aside from this cosmetics, this fixes
15461 a bad bug: If wireless is disabled and the user picks a wireless
15462 network, NM will switch to the network, only to immediately switch
15463 back, as wireless is disabled. This also reassures people that NM
15464 is not scanning (it is not -- I verified). Fixes Novell bug #130041.
15466 2005-11-02 Christopher Aillon <caillon@redhat.com>
15468 * gnome/applet/applet.c:
15469 * gnome/applet/applet.h:
15470 Partial backout of Dan's timeout animation patch.
15471 Timeout IDs cannot legally be 0, so revert the code in place to handle
15472 a timeout ID of 0 to denote the timeout isn't running.
15474 2005-11-02 Christopher Aillon <caillon@redhat.com>
15476 * src/NetworkManagerPolicy.c:
15477 (nm_policy_device_change_check) Clarify wireless switch nm_info text
15479 2005-10-28 Robert Love <rml@novell.com>
15481 * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade: Change label to
15482 "Import Saved Configuration..." to make it clear that importing is
15483 not the next step, but an option. As an aside, a nice TODO would be
15484 to move Importing out of the vpn-specific dialog and into the main
15485 property editor, as Importing goes with Adding, but that will require
15486 some rearchitecting of the VPN stuff I suspect.
15488 2005-10-27 Dan Williams <dcbw@redhat.com>
15490 Start using libnl. You need 1.0-pre3 or higher. Eventually
15491 we should replace most of the distro-specific backend code
15494 Get it here: http://people.suug.ch/~tgr/libnl/
15498 - Add checks for libnl pkgconfig file
15499 - Use LIBNL_LIBS & LIBNL_CFLAGS
15501 * src/NetworkManagerSystem.c
15502 src/nm-ip4-config.[ch]
15503 - Use libnl rather than ioctl() for most things
15504 - Remove unused functions
15506 2005-10-27 Robert Love <rml@novell.com>
15508 * src/backends/NetworkManagerSuSE.c: fix warning message text
15510 2005-10-27 Christopher Aillon <caillon@redhat.com>
15512 * gnome/applet/applet.c: Use the copyright symbol instead of (C)
15514 2005-10-27 Christopher Aillon <caillon@redhat.com>
15516 * gnome/applet/applet.c: The applet's about dialog can advertise our
15517 project page <http://www.gnome.org/projects/NetworkManager/>
15519 2005-10-26 Christopher Aillon <caillon@redhat.com>
15521 * gnome/applet.c: Also use translator credits if we don't have
15522 the new GtkAboutDialog (older versions of GTK+)
15524 2005-10-26 Robert Love <rml@novell.com>
15526 * dispatcher-daemon/NetworkManagerDispatcher.c: print actual error string on daemon()
15527 failure; correct usage text for "--no-daemon"
15529 2005-10-25 Dan Williams <dcbw@redhat.com>
15531 * src/NetworkManagerDevice.c
15532 - (get_scan_results): cleanups, deal cleanly with ENODATA signifying
15534 - (free_process_scan_cb_data): unref the device when freeing results
15535 - (nm_device_wireless_process_scan_results): free scan results a bit later
15536 so we don't unref the device underneath ourselves
15538 2005-10-25 Dan Williams <dcbw@redhat.com>
15540 * Back out 2005-10-24 commit from Tor Krill. Patch
15541 causes nameservers never to be removed from named.
15543 2005-10-24 Dan Williams <dcbw@redhat.com>
15545 Clean up wireless scanning and wireless link probing.
15547 * src/NetworkManagerDevice.c
15548 - (nm_device_probe_wireless_link_state): instead of calling nm_get_best_ap(),
15549 just see if there's an activation request on the device, and check the
15550 current link against the activation request access point's ESSID.
15551 - (link_to_specific_ap): increase the # of failed links we tolerate from 3 to 6
15552 - (nm_device_wireless_process_scan_results): actually free our scan data, and
15553 don't call process_scan_results() on zero-length data
15554 - (nm_device_set_wireless_scan_interval): increase the init scan interval to
15555 15 seconds (from 10)
15557 2005-10-24 Dan Williams <dcbw@redhat.com>
15559 Cleanup some applet stuff:
15561 - Animation timeouts. If NM died while the applet was animating,
15562 the applet would not hide itself. This is now fixed.
15564 - Remove some dead code
15566 - Remove nmi_passphrase_dialog_schedule_cancel() and convert uses
15567 to nmi_passphrase_dialog_cancel() since we no longer use threads.
15569 - Track animation timeout using a gboolean rather than the timeout's
15570 ID, since timeout IDs can legally be 0.
15572 2005-10-24 Dan Williams <dcbw@redhat.com>
15574 * src/backends/interface_parser.c
15575 - Add void to function declarations that need it
15576 to match patch from Engin AYDOGAN
15578 * src/backends/interface_parser.h
15579 - Remove unused prototype for ifparser_interfaces()
15581 Patch from Engin AYDOGAN <engin@bzzzt.biz>
15582 * src/backends/interface_parser.h:
15583 - Compile fixes for gcc 4.0.2 (add void)
15585 2005-10-24 Dan Williams <dcbw@redhat.com>
15587 Patch from Tor Krill <tor@krill.nu>
15588 * src/named-manager/nm-named-manager.c
15589 - Write more than just the first nameserver to /etc/resolv.conf
15590 - Write out valid /etc/resolv.conf on exit
15592 2005-10-21 Christopher Aillon <caillon@redhat.com>
15594 * gnome/applet/applet-dbus-vpn.c:
15595 Get rid of spurious newlines in debug console output
15597 2005-10-21 Christopher Aillon <caillon@redhat.com>
15599 * src/backends/NetworkManagerGentoo.c:
15600 Fix path to killall. Patch from Dave Shanker <dshanker@gmail.com>
15602 2005-10-20 Robert Love <rml@novell.com>
15604 * src/NetworkManagerDevice.c: Use fabs() and DBL_EPSILON to avoid a
15605 direct comparison of floating point values, which is never correct.
15606 Also some misc. cleanup.
15608 2005-10-19 Robert Love <rml@novell.com>
15610 * vpn-daemons/vpnc/nm-vpnc.desktop.in: add fields
15612 2005-10-19 Robert Love <rml@novell.com>
15614 * gnome/vpn-properties/nm-vpn-properties.c: Correctly set the
15615 sensitivity of the buttons. Specificaly, do the right thing if
15616 there are no entries.
15618 2005-10-19 Christopher Aillon <caillon@redhat.com>
15620 * configure.in: Update check for adequate wireless-tools
15621 with an AC_TRY_COMPILE for the new symbols we use.
15623 2005-10-19 Dan Williams <dcbw@redhat.com>
15625 * src/NetworkManagerDevice.c
15626 - (process_scan_results): don't drop the last (or only)
15627 access point we see
15629 2005-10-19 Christopher Aillon <caillon@redhat.com>
15631 * src/backends/NetworkManagerSlackware.c:
15632 Patch from Nico <lordllucifer@gmail.com>
15633 - Update the Slackware backend.
15635 2005-10-18 Christopher Aillon <caillon@redhat.com>
15637 * gnome/applet/other-network-dialog.c: Use g_get_host_name ()
15638 if we've got GLib 2.8.0
15640 2005-10-18 Robert Love <rml@novell.com>
15642 * src/NetworkManagerDevice.c: invoke the long-in-the-tooth named
15643 function nm_schedule_state_change_signal_broadcast() when we
15644 deactivate a device, too.
15646 2005-10-18 Robert Love <rml@novell.com>
15648 * gnome/applet/applet.c: nmwa_context_menu_update(): 'iface' could
15649 be used uninitialized.
15651 2005-10-18 Christopher Aillon <caillon@redhat.com>
15653 * test/libnm_glib_test.c: Test unregistering, too.
15655 2005-10-17 Christopher Aillon <caillon@redhat.com>
15657 * configure.in: Bump to 0.5.0
15659 2005-10-17 Dan Williams <dcbw@redhat.com>
15662 - Remove WPA-related constants so they aren't part of the
15665 2005-10-17 Christopher Aillon <caillon@redhat.com>
15667 * gnome/applet/applet.c:
15668 * gnome/applet/applet.h:
15669 Desensitize the 'Connection Information' menu item when there is
15670 no active connection.
15672 2005-10-17 Christopher Aillon <caillon@redhat.com>
15674 * gnome/libnm_glib/libnm_glib.c:
15675 Make libnm_glib_unregister_callback () actually unregister the callback
15677 2005-10-17 Robert Love <rml@novell.com>
15679 * src/NetworkManagerDevice.c: Actually wait 20s, as we intend, not
15680 two seconds -- tries is updated every 1/10 of a second, not every
15683 2005-10-17 Christopher Aillon <caillon@redhat.com>
15685 * gnome/applet/applet-dbus-info.c:
15686 Let D-BUS know that we haven't handled a message when we haven't.
15688 2005-10-17 Robert Love <rml@novell.com>
15690 * src/nm-ip4-config.c: use GPOINTER_TO_UINT and not a straight cast
15691 in order to remain 64-bit clean.
15693 2005-10-17 Christopher Aillon <caillon@redhat.com>
15695 * gnome/applet/applet-dbus-info.c:
15696 Find network encryption keys asynchronously
15698 2005-10-17 Robert Love <rml@novell.com>
15700 * src/backends/NetworkManagerDebian.c,
15701 src/backends/NetworkManagerRedHat,
15702 src/backends/NetworkManagerSuSE.c: allow '#' as a valid resolv.conf
15705 2005-10-17 Robert Love <rml@novell.com>
15707 * src/backends/NetworkManagerSuSE.c: use SYSCONFDIR not open-coded
15710 2005-10-17 Christopher Aillon <caillon@redhat.com>
15712 * src/NetworkManagerDevice.c: (process_scan_results)
15713 Fix logic that checks to see whether we have an ESSID.
15715 2005-10-15 Dan Williams <dcbw@redhat.com>
15717 Move scanning code into NetworkManager rather than use iwlib's
15718 iw_scan() function, so that we can figure out AP capabilities.
15721 - Add AP capability bits
15723 * src/NetworkManagerAP.[ch]
15724 - Add capability field to NMAccessPoint structure
15725 - Add WPA & RSN Information Element fields and accessor
15726 functions to NMAccessPoint
15728 * src/NetworkManagerDevice.c
15729 - Remove usage of iw_scan
15730 - Add scanning code to NetworkManager rather than use
15731 iw_scan() from iwlib
15733 * src/NetworkManagerUtils.[ch]
15734 - (nm_dispose_scan_results): remove, unused
15736 2005-10-14 Christopher Aillon <caillon@redhat.com>
15738 * gnome/libnm_glib/libnm_glib.c:
15739 * gnome/libnm_glib/libnm_glib.h:
15740 Use guint instead of gint for callback IDs.
15742 2005-10-12 Christopher Aillon <caillon@redhat.com>
15744 * gnome/applet/applet.c:
15745 Fix icon animation smoothness issues. nmwa_redraw_timeout gets called
15746 every 1000ms. It will unconditionally call nmwa_update_state which
15747 kills the existing animation timeout and registers a new one with a
15748 callback to draw a new frame every 100ms. There are 11 connecting
15749 icon frames, so the last 2 frames kept getting dropped. Only reset
15750 the animation timeout if we aren't animating.
15752 2005-10-11 Dan Williams <dcbw@redhat.com>
15754 * gnome/applet/applet-dbus-devices.c
15755 - (nmwa_dbus_update_device_info_from_hal), (hal_net_physdev_cb):
15756 We want to grab the product & vendor from net.physical_dev
15757 rather than info.parent.
15759 2005-10-11 Dan Williams <dcbw@redhat.com>
15761 * src/NetworkManagerDevice.c
15762 - Use the driver's WE version for scanning rather than
15763 the WE version NM was compiled with. Fixes random
15764 crashes in iw_scan () in iwlib.
15766 2005-10-10 Dan Williams <dcbw@redhat.com>
15768 * Remove nm_system_load_device_modules() from backend files
15769 and from NetworkManager.c
15771 2005-10-10 Dan Williams <dcbw@redhat.com>
15773 * src/NetworkManagerPolicy.c
15774 - Fix some bugs introduced by the capabilities patch
15776 2005-10-10 Dan Williams <dcbw@redhat.com>
15778 * gnome/applet/applet-dbus-info.c
15779 - (nmi_dbus_get_network_key): hide the menu when putting up
15780 the keyring dialog. (not sure if the code is right...)
15782 2005-10-09 Dan Williams <dcbw@redhat.com>
15784 Patch from Bill Moss <bmoss@clemson.edu>
15785 * src/NetworkManagerDevice.c
15786 - (nm_device_set_user_key_for_network): don't try to set auth
15787 mode on the AP from the allowed list if it's NULL
15789 2005-10-09 Dan Williams <dcbw@redhat.com>
15791 * Replace the "driver support level" stuff with capabilities. The
15792 capability field is a bitfield that is more flexible than the
15793 old driver support level thing. It's mostly so we can easily
15794 figure out what supports WPA and what doesn't, but should be
15795 quite useful later.
15797 2005-10-09 Dan Williams <dcbw@redhat.com>
15804 - Added new "nm-tool" tool that gives quite a bit more
15807 2005-10-07 Robert Love <rml@novell.com>
15809 * gnome/applet/applet-dbus-info.c, gnome/applet/applet.c,
15810 gnome/applet/applet.h, gnome/vpn-properties/nm-vpn-properties.c,
15811 src/dhcp-manager/nm-dhcp-manager.c, test/libnm_glib_test.c,
15812 test/nmtest.c test/nmtestdevices.c: mark functions 'static' as
15815 2005-10-07 Robert Love <rml@novell.com>
15817 * configure.in: Change our compile flags for the betterment of mankind.
15818 Add "-Wstrict-prototypes" because we comply anyhow and missing a
15819 prototype is very bad on 64-bit platforms as types default to int but
15820 sizeof(int) != sizeof(long) and add "-Wmissing-prototypes" &
15821 "-Wmissing-declarations" to warn if we define an exported function
15822 but fail to put it in a header.
15824 2005-10-07 Robert Love <rml@novell.com>
15826 * src/NetworkManagerWireless.c: remove stale, unused function, who goes
15827 by the name nm_update_device_wireless_timeouts() and once tried,
15828 without success, to steal my pet turtle.
15830 2005-10-07 Robert Love <rml@novell.com>
15832 * Cleanup prototypes: put some functions in header files and mark
15833 others as 'static' -- feel free to invert
15834 * src/vpn-manager/nm-dbus-vpn.c: remove prototype of
15835 nm_vpn_manager_vpn_connection_list_copy()
15836 * src/vpn-manager/nm-vpn-act-request.c: remove prototype of
15837 nm_vpn_service_get_dbus_connection()
15838 * src/vpn-manager/nm-vpn-manager.h: add prototypes for
15839 nm_vpn_manager_vpn_connection_list_copy()
15840 * src/vpn-manager/nm-vpn-service.c: make
15841 nm_vpn_service_act_request_failed() and
15842 nm_vpn_service_stage2_daemon_wait() static
15843 * src/vpn-manager/nm-vpn-service.h: add prototype for
15844 nm_vpn_service_get_dbus_connection()
15846 2005-10-06 Christopher Aillon <caillon@redhat.com>
15848 * gnome/applet/applet.c:
15849 * gnome/applet/applet.h:
15850 * gnome/applet/icons/Makefile.am:
15851 Convey information about the current connection stage in the
15852 icons themselves instead of creating a separate progress bar.
15854 2005-10-04 Robert Love <rml@novell.com>
15856 * src/nm-dbus-device.c: Use iw_ether_ntop(), not ether_ntoa_r(), to
15857 convert an ether_addr structure's MAC into a string, because the
15858 latter will drop leading zero's and uses lower-case, e.g. 7:3b:4
15859 versus 07:3B:04, while the former will not.
15861 2005-10-04 Robert Love <rml@novell.com>
15863 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
15864 gnome/applet/nm-device.c, gnome/applet/nm-device.h,
15865 gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
15866 default route in the 'Connection Information' dialog, send primary
15867 and secondary name servers in in "getProperties" DBUS method, add
15868 network_device_{get,set}_{primary,secondary}_dns(), The primary and
15869 secondary domain name servers are crucial pieces of information
15870 that a user might need in debugging a network problem.
15872 2005-10-04 Robert Love <rml@novell.com>
15874 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
15875 gnome/applet/nm-device.c, gnome/applet/nm-device.h,
15876 gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
15877 default route in the 'Connection Information' dialog, send default
15878 route in "getProperties" DBUS method, add network_device_set_route(),
15879 and network_device_get_route(). The Gateway is a crucial piece of
15880 connection-related information that a user might need in debugging a
15883 2005-10-03 Robert Love <rml@novell.com>
15885 * src/backends/NetworkManagerSuSE.c: Fix Glib error, GError must be
15888 2005-10-02 Dan Williams <dcbw@redhat.com>
15890 * Shorten time taken to sleep by fastpathing bits of device deactivation
15891 necessary for sleep.
15893 * Fix issue where deactivating a device might deactivate the active
15894 VPN connection, even if the VPN was not using the device.
15896 2005-10-02 Dan Williams <dcbw@redhat.com>
15898 * gnome/applet/applet.c
15899 - Adjust signal strength -> icon mapping values slightly
15900 (so that 51% signal doesn't show a 75% icon) by adding
15901 5% to the values. ex: > 5% now shows 25% icon, > 30%
15902 shows 50% icon, etc.
15904 2005-09-29 Robert Love <rml@novell.com>
15906 * src/NetworkManager.c: removed unused variable.
15908 2005-09-28 Dan Williams <dcbw@redhat.com>
15910 Support for named + DBus, using Red Hat DBus patches for named. You
15911 can find those patches here, with "dbus" in the patch's filename:
15913 http://cvs.fedora.redhat.com/viewcvs/devel/bind/
15915 Don't forget the named dbus service file either.
15917 Instead of writing a config file and spawing a named process, NM will
15918 use an already-running dbus-enabled named if it finds one. NM will
15919 update named's forwarder configuration on the fly using dbus.
15921 If there is no dbus-enabled named running, NM will automatically fall
15922 back to writing the most-recent DNS server information to /etc/resolv.conf
15923 and calling nm_system_update_dns() to kick the system's resolver.
15925 Accordingly, all named-related configure-time options have been removed.
15927 2005-09-26 Robert Love <rml@novell.com>
15929 * src/backends/NetworkManagerSuSE.c, (nm_system_get_dialup_config): Add
15931 * src/backends/NetworkManagerSuSE.c, (verify_and_return_provider): Fix
15932 bug in error path if "ASKPASSWORD" is "no".
15934 2005-09-26 Robert Love <rml@novell.com>
15936 * src/named-manager/nm-named-manager.c: only '#' is officially a valid
15937 comment in /etc/resolv.conf -- ';' is not.
15939 2005-09-19 Dan Williams <dcbw@redhat.com>
15941 * src/backends/NetworkManagerRedHat.c:
15942 * src/backends/NetworkManagerDebian.c:
15943 * src/backends/NetworkManagerSlackware.c:
15944 * src/backends/NetworkManagerGentoo.c:
15945 * src/backends/NetworkManagerSUSE.c:
15946 Fix invocations of "/sbin/ip address" to use short form instead
15948 2005-09-19 Christopher Aillon <caillon@redhat.com>
15950 * src/nm-dbus-device.c: Don't assert when getting
15951 addresses of a not yet connected interface.
15953 * gnome/applet/applet.c: Free icons if loading fails.
15954 Use translator-credits so translators can make themselves known.
15956 2005-09-15 Christopher Aillon <caillon@redhat.com>
15958 * src/NetworkManagerAP.c:
15959 * src/NetworkManagerAP.h:
15960 * src/NetworkManagerDevice.c:
15961 Set a blacklist for certain common manufacturer default ESSIDs:
15962 APs with these ESSIDs are extremely likely to be completely
15963 different networks: connecting to one should not make NM
15964 auto-connect to every other AP with the same default ESSID.
15966 2005-09-12 Christopher Aillon <caillon@redhat.com>
15968 * gnome/applet/wireless-applet.glade:
15969 The passphrase entry should also activate the default
15971 * src/gnome-keyring-md5.c: Updated code from gnome-keyring
15973 * gnome/applet/applet-dbus-devices.c:
15974 * gnome/applet/applet.c:
15975 * gnome/applet/nm-device.c:
15976 * gnome/applet/nm-device.h:
15977 * src/NetworkManagerUtils.c:
15978 * src/NetworkManagerUtils.h:
15979 * src/nm-dbus-device.c:
15980 I've got a fever, and the only cure for it is less ioctl.
15981 Make NM push IP data rather than make the applet open a socket
15984 2005-09-10 Christopher Aillon <caillon@redhat.com>
15986 * gnome/applet/applet.c:
15987 * gnome/applet/applet-dbus-devices.c:
15988 * gnome/applet/applet-dbus-info.c:
15989 * gnome/applet/passphrase-dialog.c:
15990 * gnome/libnm_glib/libnm_glib.c:
15991 * gnome/vpn-properties/nm-vpn-properties.c:
15993 * src/backends/NetworkManagerRedHat.c:
15994 * src/named-manager/nm-named-manager.c:
15995 * src/NetworkManagerAPList.c:
15996 * src/NetworkManager.c:
15997 * src/NetworkManagerDbus.c:
15998 * src/NetworkManagerDevice.c:
15999 * src/NetworkManagerPolicy.c:
16000 * src/NetworkManagerSystem.c:
16001 * src/nm-dbus-device.c:
16002 * src/nm-dbus-nm.c:
16003 * src/vpn-manager/nm-vpn-manager.c:
16004 * src/vpn-manager/nm-vpn-service.c:
16005 * test/libnm_glib_test.c:
16006 * test/nminfotest.c:
16007 * test/nmtestdevices.c:
16008 Fix a bunch of 'unused variable' compiler warnings
16010 * NetworkManager.h:
16011 * gnome/applet/applet-dbus-info.c:
16012 * gnome/applet/applet-dbus-info.h:
16013 * gnome/applet/applet.c:
16014 * gnome/applet/applet.h:
16015 * src/NetworkManager.c:
16016 * src/NetworkManagerDbus.c:
16017 * src/NetworkManagerDbus.h:
16018 * src/NetworkManagerDevice.c:
16019 * src/NetworkManagerDevice.h:
16020 * src/NetworkManagerMain.h:
16021 * src/NetworkManagerWireless.c:
16022 * src/NetworkManagerWireless.h:
16023 * src/nm-dbus-nm.c:
16024 Make NetworkManager be smart about how frequently to scan
16025 based on its current state. Remove the UI for choosing when
16026 to scan. Scanning still may disabled completely by the user
16027 via the "Wireless Enabled" menu item.
16029 2005-09-09 Christopher Aillon <caillon@redhat.com>
16031 * gnome/applet/applet.c:
16032 Also overlay the vpn connecting icons onto the wired icon,
16035 * gnome/vpn-properties/nm-vpn-properties.glade:
16036 Clean up a few strings to use better grammar and proper casing.
16038 2005-09-08 Christopher Aillon <caillon@redhat.com>
16040 * gnome/applet/vpn-connection.c:
16041 * gnome/applet/vpn-connection.h:
16042 Add nmwa_vpn_connection_is_activating ()
16044 * gnome/applet/applet.c:
16045 * gnome/applet/applet.h:
16046 * gnome/applet/icons/nm-vpn-connecting*.png:
16047 Add new VPN connecting icons from Diana Fong <dfong@redhat.com>, letting
16048 the user know something's happening between clicking the VPN item and it
16049 actually being connected.
16051 2005-09-07 Christopher Aillon <caillon@redhat.com>
16053 * gnome/applet/applet-dbus-info.c: need to free attributes in the
16054 failure case as well.
16056 2005-09-07 Rodrigo Moya <rodrigo@novell.com>
16058 * gnome/panel/eggtrayicon.[ch]:
16059 * examples/python/systray/eggtrayicon.[ch]: updated code from libegg.
16061 2005-09-07 Dan Williams <dcbw@redhat.com>
16063 Patch from Bill Moss <bmoss@clemson.edu>
16064 * src/applet-dbus.c
16065 - (nmwa_dbus_filter): strip whitespace from beginning
16066 and end of VPN login banner
16068 2005-09-07 Dan Williams <dcbw@redhat.com>
16070 * The great VPN Manager rewrite of 2005
16072 2005-09-07 Christopher Aillon <caillon@redhat.com>
16074 * gnome/applet/menu-items.c:
16075 * gnome/applet/nm-device.c:
16076 * gnome/applet/wireless-network.c:
16077 * gnome/libnm_glib/libnm_glib.c:
16078 * src/NetworkManagerDbusUtils.c:
16079 * vpn-daemons/vpnc/src/nm-vpnc-service.c:
16080 g_malloc0 doesn't return NULL
16082 2005-09-06 Dan Williams <dcbw@redhat.com>
16084 Patch from Tomislav Vujec <tvujec@redhat.com>
16085 * src/NetworkManagerDevice.c
16086 - (nm_get_device_by_udi): don't return a device when we
16087 actually didn't find what we were looking for
16089 2005-09-06 Christopher Aillon <caillon@redhat.com>
16091 * gnome/applet/applet-dbus-devices.c:
16092 * gnome/applet/applet-dbus-devices.h:
16093 * gnome/applet/applet-dbus.c:
16094 * src/NetworkManagerDbus.c:
16095 * src/NetworkManagerDbus.h:
16096 * src/NetworkManagerDevice.c:
16097 * src/nm-dbus-device.c:
16098 Make NM push updates about active device strength when it changes,
16099 rather than having the applet poll every 2s.
16101 2005-09-05 Christopher Aillon <caillon@redhat.com>
16103 * gnome/applet/applet-dbus-devices.c: Remove duplicate call to
16104 network_device_set_strength
16106 2005-09-04 Dan Williams <dcbw@redhat.com>
16108 Patch from Bill Nottingham <notting@redhat.com>
16109 * src/NetworkManagerDevice.c
16110 - (nm_device_activation_cancel): reset the quit_activation flag
16112 2005-09-04 Dan Williams <dcbw@redhat.com>
16114 * src/nm-activation-request.c
16115 - (nm_act_request_unref): actually free the structure,
16116 which we didn't seem to be doing before
16118 2005-09-04 Dan Williams <dcbw@redhat.com>
16120 Patch from John Palmieri <johnp@redhat.com>
16121 * gnome/applet/applet-dbus-devices.c
16122 - Fix up unreffing of DBusMessage objects
16124 2005-09-04 Dan Williams <dcbw@redhat.com>
16126 Patch from John Palmieri <johnp@redhat.com>
16127 * gnome/applet/nm-device.c
16128 - (nm_device_unref): clear network_device's memory _before_ freeing it
16130 2005-09-02 Christopher Aillon <caillon@redhat.com>
16132 * gnome/applet/applet.c: Use a check menu item for Wireless Enabled
16134 2005-09-02 Bill Nottingham <notting@redhat.com>
16136 * src/backends/NetworkManagerRedHat.c: use nm_warning, not nm_error
16138 2005-09-01 Dan Williams <dcbw@redhat.com>
16140 * src/NetworkManager.c
16141 - (nm_remove_device_from_list): rename to nm_remove_device
16142 - (nm_hal_device_removed): call nm_remove_device()
16144 * src/NetworkManagerDevice.c
16145 - Change the NMWirelessScanCB member 'reschedule' which
16146 wasn't used to 'force' to indicate that we need to
16147 force a scan when adding a device
16150 - (nm_dbus_nm_sleep): Deactivate all devices and remove them
16151 from the device list
16152 - (nm_dbus_nm_wake): Re-add all devices to the device list
16154 2005-09-01 Robert Love <rml@novell.com>
16156 * gnome/applet/applet.c: nmwa_update_info: iface is used uninitialized
16157 and the check "!iface" in the error case is probably never true.
16159 2005-09-01 Dan Williams <dcbw@redhat.com>
16161 Patch from Bill Nottingham <notting@redhat.com>
16162 * src/backends/NetworkManagerRedHat.c
16163 - Add initial dialup support to Red Hat/Fedora backend
16165 2005-09-01 Dan Williams <dcbw@redhat.com>
16167 * gnome/applet/applet-dbus-devices.c
16168 - Sort both wireless networks and devices again, which got
16169 broken when removing threading
16171 2005-09-01 Christopher Aillon <caillon@redhat.com>
16173 * gnome/applet/applet.c:
16174 Only show the "Stop/Start All Wireless Devices" menuitem
16175 if we actually have wireless devices.
16177 * gnome/applet/applet-dbus-info.c:
16178 * gnome/applet/applet.c:
16179 * gnome/applet/other-network-dialog.c:
16180 * gnome/applet/vpn-password-dialog.c:
16181 Drop the gtk_dialog_run () calls in favor of connecting to
16182 "response" signals, needed now that the applet is not threaded.
16184 2005-08-31 Dan Williams <dcbw@redhat.com>
16186 Patch from Bill Moss <bmoss@clemson.edu>
16187 * src/NetworkManagerDevice.c
16188 - (nm_device_wireless_scan): fix scan timeout values
16190 2005-08-30 Dan Williams <dcbw@redhat.com>
16192 * gnome/applet/wireless-applet.glade
16193 - HIG-ify the Other Wireless Networks dialog a bit more
16194 - Fix some potential segfaults in the info dialog
16196 2005-08-30 Dan Williams <dcbw@redhat.com>
16198 * gnome/applet/applet-dbus-devices.c
16199 - Remove nmwa_dbus_get_hal_device_string_property(); unused
16201 2005-08-30 Dan Williams <dcbw@redhat.com>
16203 * gnome/applet/applet-dbus.[ch]
16204 - Remove all the nmwa_dbus_call_method_xxxx functions since
16205 they weren't being used anyway
16207 2005-08-30 Bastien Nocera <hadess@hadess.net>
16209 * test/nmtestdevices.c: (print_usage), (main):
16210 Check the number of arguments, and fix a typo
16212 2005-08-29 Dan Williams <dcbw@redhat.com>
16214 Patch from Dumitru Ciobarcianu <Dumitru.Ciobarcianu@iNES.RO>
16215 * gnome/applet/applet.c
16216 - Define GTK_STOCK_INFO for GTK 2.6 and lower
16218 2005-08-29 Dan Williams <dcbw@redhat.com>
16221 - Don't use threads any more. Anything that blocks
16222 (like gtk_dialog_run()) will have to get fixed up which
16223 should happen quickly. We really only had threads to make
16224 the animation smooth, and when everything got converted over
16225 to DBus Pending Calls, the need for threads kind of went away
16227 2005-08-29 Christopher Aillon <caillon@redhat.com>
16229 * gnome/applet/applet.c: Draw VPN connections as radio items
16230 since we don't yet support multiple VPNs.
16231 * gnome/applet/other-network-dialog.c: Use stock icon for Connect
16232 * gnome/vpn-properties/nm-vpn-properties.c: Use stock icon for Delete
16234 2005-08-29 Dan Williams <dcbw@redhat.com>
16236 Patch from j@bootlab.org
16237 - Make --without-named work
16238 - Make --with-dhcdbd work correctly
16240 2005-08-27 Josep Puigdemont i Casamajó <josep.puigdemont@gmail.com>
16242 * configure.in: Added "ca" to ALL_LINGUAS.
16244 2005-08-26 Christopher Aillon <caillon@redhat.com>
16246 * Fix up VPN state handling between the applet and NetworkManager,
16247 so that the applet doesn't show a VPN as connected when one
16249 - The applet no longer has a pointer to the active VPN's
16250 name, but tracks each VPNs state individually
16251 - NM no longer has a "getActiveVPNConnection" method
16252 - NM no longer broadcasts the "VPNConnectionChange" signal
16253 - NM now broadcasts a "VPNConnectionStateChange" signal
16254 whenever the state of a VPN changes
16256 2005-08-26 Dan Williams <dcbw@redhat.com>
16258 * gnome/applet/applet-dbus-devices.c
16259 gnome/applet/applet-dbus-vpn.c
16260 - Remove calls to dbus_pending_call_ref() because we already
16261 "own" the pending call
16262 - Remove calls to dbus_pending_call_get_completed() because
16263 when we are in the callback, the pending call is completed
16266 2005-08-22 Dan Williams <dcbw@redhat.com>
16268 Patch by Bill Moss <bmoss@clemson.edu>
16269 * src/dhcp-manager/nm-dhcp-manager.c
16270 - (nm_dhcp_manager_cancel_transaction): Give dhcdbd/dhclient
16271 some time to send out a RELEASE if they like
16273 2005-08-22 Dan Williams <dcbw@redhat.com>
16275 Noticed by Bill Moss <bmoss@clemson.edu>
16276 * src/NetworkManagerDbus.c
16277 - (nm_dbus_get_user_key_for_network_cb): deactivate the device
16278 instead of just cancelling its activation
16280 * src/NetworkManagerDevice.c
16281 - (nm_device_deactivate): some small cleanups
16282 - (nm_device_set_user_key_for_network): deactivate the device
16283 instead of just cancelling its activation
16285 2005-08-22 Dan Williams <dcbw@redhat.com>
16287 Noticed by Bill Moss <bmoss@clemson.edu>
16288 * src/NetworkManagerDevice.c
16289 - (nm_device_wireless_scan): fix scan timeout, we were
16290 waiting way too long for scans to complete
16292 2005-08-22 Dan Williams <dcbw@redhat.com>
16294 Patch from j@bootlab.org:
16295 * src/backends/NetworkManagerDebian.c
16296 - Make the Debian backend work for static IP again
16298 2005-08-20 Christopher Aillon <caillon@redhat.com>
16300 * gnome/applet/other-network-dialog.c:
16301 The "Create New Network" and "Connect to Other Network"
16302 dialogs share alot of code, but shouldn't share a window
16303 title. Give them different ones.
16305 * gnome/applet/wireless-applet.glade:
16306 * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
16307 Some more minor UI tweaks.
16309 2005-08-19 Christopher Aillon <caillon@redhat.com>
16311 * gnome/applet/other-network-dialog.c:
16312 * gnome/applet/wireless-applet.glade:
16313 Also need mnemonic widgets, and underline enabled.
16315 2005-08-19 Dan Williams <dcbw@redhat.com>
16317 * vpn-daemons/vpnc/nm-vpnc-service.c
16318 - (vpnc_watch_cb): remove no-longer-relevant comment
16319 - (write_config_option): new function, helper to write
16320 config options to vpnc's stdin
16321 - (nm_vpnc_config_write): use the new helper, make the
16324 2005-08-19 Christopher Aillon <caillon@redhat.com>
16326 * gnome/applet/passphrase-dialog.c:
16327 * gnome/applet/wireless-applet.glade:
16328 Make the passphrase dialog response based, and treat
16329 responses other than OK (such as Esc, [X]) as a cancel.
16331 2005-08-18 Christopher Aillon <caillon@redhat.com>
16333 * initscript/Gentoo/NetworkManager:
16334 * initscript/RedHat/NetworkManager:
16335 * initscript/RedHat/NetworkManagerDispatcher:
16336 * initscript/SUSE/networkmanager:
16337 CVS remove these in place of .in replacements
16340 * initscript/Gentoo/NetworkManager.in:
16341 * initscript/RedHat/NetworkManager.in:
16342 * initscript/RedHat/NetworkManagerDispatcher.in:
16343 * initscript/SUSE/networkmanager.in:
16344 These scripts now are generated so they work still when
16345 NM is built using a bindir other than /usr/bin
16347 2005-08-18 Dan Williams <dcbw@redhat.com>
16349 * gnome/applet/main.c
16350 - Revert previous change for --no-session since
16351 --sm-disable does the same thing
16353 2005-08-18 Dan Williams <dcbw@redhat.com>
16355 * gnome/applet/applet-dbus-info.c
16356 - (nmi_dbus_create_error_message): new function
16357 - (nmi_dbus_get_key_for_network): correctly use dbus error creation
16358 functions. Also don't check for both device _and_ network before
16359 asking for a user's key, because we may not have gotten all our
16360 networks back from NM quite yet (due to the dbus pending calls
16361 coming in later). Fixes a hang in NM/nm-applet.
16363 * src/NetworkManagerDbus.c
16364 - (nm_dbus_get_user_key_for_network_cb): handle error conditions in a
16365 slightly more sane manner, even though we are still broken for
16366 certain other error conditions.
16367 - (nm_dbus_get_user_key_for_network): need to pass the network's essid
16368 to the info-daemon too
16370 * src/NetworkManagerDevice.c
16371 - Fix some debug messages to be info messages instead
16373 2005-08-18 Dan Williams <dcbw@redhat.com>
16375 * gnome/applet/main.c
16376 - Add new "--no-session" parameter that disables applet
16377 session management, ie for testing
16379 2005-08-18 Christopher Aillon <caillon@redhat.com>
16381 * gnome/applet/other-network-dialog.c:
16382 * gnome/applet/wireless-applet.glade: More mnemonics
16384 2005-08-17 Robert Love <rml@novell.com>
16386 * initscript/SUSE/networkmanager: update
16388 2005-08-17 Dan Williams <dcbw@redhat.com>
16390 * Tag NM_0_4_1_RELEASE
16392 2005-08-17 Christopher Aillon <caillon@redhat.com>
16394 * gnome/applet/applet.c: More translatable string cleanup
16397 2005-08-17 Dan Williams <dcbw@redhat.com>
16399 * gnome/applet/applet-dbus-info.c
16400 - (nmi_dbus_get_key_for_network): Grab new "new_key" parameter
16401 from the dbus message, which tells us to unconditionally
16402 ask the user for a new key. Otherwise, we pull the key from
16403 the keyring and return it. If we fail to get the key from the
16404 keyring, we ask the user for a new key.
16405 - (nmi_dbus_get_network_key): new function to grab the key for
16406 an essid from the keyring.
16407 - (nmi_dbus_get_network_properties): don't access the keyring here.
16408 Also, don't return any key in the dbus message.
16410 * src/NetworkManagerDbus.[ch]
16411 - (nm_dbus_get_user_key_for_network): Add "new_key" parameter to
16412 indicate that we unconditionally want a new key. This function
16413 is now also used to get keys from the info-daemon which are
16414 pre-stored, not just for asking the user for a new key. The
16415 "new_key" parameter indicates whether or not we wish to ask the
16416 user for a new key.
16417 - (nm_dbus_get_network_data_cb): we no longer get a key from the
16418 info-daemon in the return message, so use NULL instead. The
16419 key will be filled in at connect time by calling
16420 nm_dbus_get_user_key_for_network()
16422 * src/NetworkManagerDevice.c
16423 - (nm_device_wireless_configure): update for "new_key" param to
16424 nm_dbus_get_user_key_for_network(). We initially set new_key
16425 to FALSE to see if we have a stored key in the info-daemon, but
16426 if the connection is unsuccessful at this stage we request a
16429 2005-08-17 Dan Williams <dcbw@redhat.com>
16431 * gnome/applet/icons/nm-no-connection.png
16432 gnome/applet/icons/nm-device-wired.png
16433 - Use Diana's new RJ45 connector icons
16435 2005-08-17 Dan Williams <dcbw@redhat.com>
16437 * src/NetworkManagerPolicy.c
16438 - (nm_policy_device_change_check): clarify switching rules if
16439 both new and old devices are valid; mainly, don't switch
16440 away from user-requested wireless connection back to a wired
16443 2005-08-17 Dan Williams <dcbw@redhat.com>
16445 * gnome/applet/Makefile.am
16446 - Relocate the applet to /usr/bin since it is no longer
16447 executed by anything, but directly by the user
16449 2005-08-17 Dan Williams <dcbw@redhat.com>
16451 Patch from Bill Moss <bmoss@clemson.edu>
16453 * gnome/applet/applet-dbus-info.[ch]
16454 - (nmi_save_network_info): save timestamp for network if it
16455 was a change requested by the user
16456 - (nmi_dbus_update_network_info): get user_requested from dbus
16457 message and pass to nmi_save_network_info()
16459 * gnome/applet/applet.c
16460 - (nmwa_update_network_timestamp): remove
16461 - (nmwa_menu_item_activate): don't set timestamp on networks
16462 here, only after a successful connect in nmi_save_network_info()
16464 * src/NetworkManagerDbus.[ch]
16465 - (nm_dbus_update_network_info): pass user_requested into the
16468 * src/NetworkManagerPolicy.c
16469 - (nm_policy_activation_finish): pass user_requested to
16470 nm_dbus_update_network_info()
16472 2005-08-16 Robert Love <rml@novell.com>
16474 * gnome/applet/applet.c: Better "Dial Up" menu item.
16476 2005-08-16 Robert Love <rml@novell.com>
16478 * gnome/applet/applet.c: use GTK_STOCK_INFO not PROPERTIES for the
16479 "Connection Information" menu item.
16481 2005-08-16 Dan Williams <dcbw@redhat.com>
16483 Patch from j@bootlab.org
16484 * vpn-daemons/vpnc/Makefile.am: Fix for autoreconf
16486 * configure.in: allow specifying the path to dhcdbd
16488 2005-08-16 Robert Love <rml@novell.com>
16490 Patch from j@bootlab.org
16491 * src/backends/NetworkManagerDebian.c, src/backends/interface_parser.c,
16492 src/backends/interface_parser.h: Debian dialup support.
16494 2005-08-16 Christopher Aillon <caillon@redhat.com>
16496 * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
16497 * gnome/applet/applet.c: Add some mnemonics for VPNC
16499 * vpn-daemons/.cvsignore: fix this up a little bit
16501 2005-08-16 Robert Love <rml@novell.com>
16503 * src/backends/NetworkManagerSuSE.c: improve the SUSE-backend dial up
16506 2005-08-16 Christopher Aillon <caillon@redhat.com>
16508 * gnome/applet/applet.c: Split markup out of translatable strings
16509 and clean up logic a little bit. (fixes #309012)
16511 2005-08-15 Christopher Aillon <caillon@redhat.com>
16513 * gnome/vpn-properties/nm-vpn-properties.c:
16514 * gnome/vpn-properties/nm-vpn-ui-interface.h:
16515 * vpn-daemons/vpnc/properties/nm-vpnc.c:
16516 Makeshift fix to remove newlines from translatable strings.
16517 Note that we now return an allocated string, so callers of
16518 get_confirmation_details () must now call g_free () on the
16519 result. (fixes #309033).
16521 2005-08-12 Robert Love <rml@novell.com>
16523 * gnome/applet/applet-dbus.c: remove newlines from translatable
16524 strings--not needed here anyway. (fix b.g.o #309011)
16525 * src/nm-netlink.monitor.c: don't translate "%s" (fix b.g.o #172391)
16527 2005-08-11 Robert Love <rml@novell.com>
16529 * gnome/applet/applet.c: mark string as translatable.
16531 2005-08-11 Robert Love <rml@novell.com>
16533 * initscript/SUSE/networkmanager: update.
16535 2005-08-11 Dan Williams <dcbw@redhat.com>
16537 * src/nm-dhcp-manager.c
16538 - (nm_dhcp_manager_get_ip4_config): if for some reason we don't get
16539 an gateway returned from DHCP, try to use the address of the DHCP
16540 server as the gateway instead. Found by Ralf Ertzinger.
16542 2005-08-10 Robert Love <rml@novell.com>
16544 * gnome/applet/applet.c: Make applet->dbus_thread joinable so we can
16545 wait for it on exit; call exit() in nmwa_destroy() to jump ship.
16547 2005-08-10 Dan Williams <dcbw@redhat.com>
16549 Patch from Bill Moss <bmoss@clemson.edu>
16550 * Consolidate writes of access point information updates to the info daemon
16551 so that we only do it when the connection to the access point was
16552 successful. Also consolidates updates to GConf in the Gnome applet.
16554 * src/nm-netlink-monitor.c
16555 - Silence compile warning when calling g_object_new()
16557 2005-08-08 Dan Williams <dcbw@redhat.com>
16559 Patch from Steev <steev@steev.net>:
16560 * src/backends/NetworkManagerGentoo.c
16561 - Stub new dialup backend functions
16563 2005-08-08 Dan Williams <dcbw@redhat.com>
16565 Patch from Colin Slater:
16566 * src/backends/NetworkManagerGentoo.c
16567 - (nm_system_update_dns): Fix exit status check for restarting
16570 2005-08-05 Robert Love <rml@novell.com>
16572 * NetworkManager.h,
16573 gnome/applet/applet-dbus-devices.c,
16574 gnome/applet/applet-dbus-devices.h,
16575 gnome/applet/applet-dbus.c,
16576 gnome/applet/applet.c,
16577 gnome/applet/applet.h,
16578 src/NetworkManager.c,
16579 src/NetworkManagerMain.h,
16580 src/NetworkManagerSystem.h,
16581 src/backends/NetworkManagerRedHat.c,
16582 src/backends/NetworkManagerSuSE.c,
16583 src/nm-dbus-nm.c: basic dialup support using distro infrastructure
16585 2005-08-05 Robert Love <rml@novell.com>
16587 * gnome/applet/other-network-dialog.c: default the adhoc network to the
16588 machine's hostname to make adhoc creation idiot-proof.
16590 2005-08-04 Robert Love <rml@novell.com>
16592 * gnome/applet/other-network-dialog.c: fix leak. "label" needs to be
16595 2005-08-04 Dan Williams <dcbw@redhat.com>
16597 * gnome/applet/applet-dbus-info.c
16598 gnome/applet/applet-dbus-info.h
16599 - (nmi_dbus_update_network_auth_method->nmi_save_network_info): generalize
16600 to store key, key type, and auth method rather than just auth method
16601 - (nmi_dbus_update_network_info): new function
16602 - (nmi_dbus_info_message_handler): updateNetworkAuthMethod -> updateNetworkInfo
16604 * gnome/applet/passphrase-dialog.c
16605 - (nmi_passphrase_dialog_ok_clicked): call nmi_save_network_info() instead
16606 of saving the info ourselves
16608 * gnome/libnm_glib/libnm_glib.c
16609 - Remove the stupid version check for dbus
16611 * src/NetworkManagerAP.c
16612 src/NetworkManagerAP.h
16613 - (nm_ap_get_enc_key_source): return 'const char *' rather than 'char *'
16615 * src/NetworkManagerDbus.c
16616 src/NetworkManagerDbus.h
16617 - (nm_dbus_update_network_auth_method -> nm_dbus_update_network_info): Update
16618 more than just the auth method
16620 * src/NetworkManagerDevice.c
16621 - Update network info at the appropriate times
16623 2005-07-29 Ray Strode <rstrode@redhat.com>
16625 * src/NetworkManager.c (nm_info_handler): don't use input as format
16626 string (Spotted by Ian Jackson).
16628 2005-07-27 Dan Williams <dcbw@redhat.com>
16632 - Random cleanups of spacing
16634 * gnome/applet/applet.h
16635 gnome/applet/other-network-dialog.c
16636 gnome/applet/passphrase-dialog.c
16637 - Conslidate usage of NMWAEncryptionKeyTypes enum
16639 Patch from Bill Moss:
16640 - Make Other Wireless Networks work again with encryption keys
16642 2005-07-26 Dan Williams <dcbw@redhat.com>
16644 Patch from Steev <steev@steev.net>:
16645 * src/backends/NetworkManagerGentoo.c
16646 src/backends/Makefile.am
16647 - Fix up Gentoo backend
16649 2005-07-26 Robert Love <rml@novell.com>
16651 * src/backends/NetworkManagerSuSE.c: misc. cleanup
16653 2005-07-25 Robert Love <rml@novell.com>
16655 * gnome/applet/applet.c: make the "Wired" menu item a radio button,
16656 in the same group as the wireless networks, since they are all
16657 mutually exclusive.
16659 2005-07-24 Ray Strode <rstrode@redhat.com>
16661 * src/nm-netlink-monitor.c (nm_netlink_monitor_new):
16662 remove unneeded NULL arg from g_object_new(). Any
16663 warnings caused by not having the extra NULL are just a
16664 result of a bug in glib 2.7.0 - 2.7.2.
16666 2005-07-22 Robert Love <rml@novell.com>
16668 * gnome/libnm_glib/libnm_glib.c: support D-BUS version 0.35, too
16670 2005-07-22 Robert Love <rml@novell.com>
16672 * src/nm-netlink-monitor.c: g_object_new() needs at least three
16673 parameters (gcc 4.0.2 warning fix).
16675 2005-07-18 Robert Love <rml@novell.com>
16677 Suggested by Aaron Bockover (abockover@novell.com)
16678 * gnome/applet/other-network-dialog.c: ASCII is an acronym, thus
16680 * gnome/applet/passphrase-dialog.c: ditto
16681 * gnome/applet/wireless-applet.glade: ditto
16683 2005-07-13 Dan Williams <dcbw@redhat.com>
16685 Patch from Ray Strode <halfline@gmail.com>
16686 * vpn-daemons/vpnc/nm-vpnc-service.c
16687 - Don't let vpnc daemonize, fixes some races with PID file reading
16689 2005-07-13 Dan Williams <dcbw@redhat.com>
16691 Patch from Ray Strode <halfline@gmail.com>
16692 * Random cleanups for strict CFLAGS
16694 2005-07-07 Dan Williams <dcbw@redhat.com>
16696 Patch from Derek Atkins <warlord@MIT.EDU>
16697 * src/nm-dbus-net.c:
16698 - (nm_dbus_get_ap_from_object_path): differentiate similar ESSIDs
16700 2005-07-07 Dan Williams <dcbw@redhat.com>
16702 Patch from Jos Dehaes <jos_dehaes@fastmail.fm>
16703 * src/backends/NetworkManagerGentoo.c
16704 - Gentoo backend Static IP nameserver fixes
16705 - General Gentoo backend goodness
16707 2005-07-07 Dan Williams <dcbw@redhat.com>
16709 Patch from Bastien Nocera:
16710 * gnome/applet/applet.c
16711 - Fix up error reporting when icons or glade files are missing
16713 2005-07-07 Robert Love <rml@novell.com>
16715 * gnome/applet/applet.c: do not draw the VPN menu's seperator if there
16716 are not any VPN connections above it.
16718 2005-07-07 Robert Love <rml@novell.com>
16720 * gnome/applet/applet.c: whoops, left some "dog" debugging code in.
16722 2005-07-05 Robert Love <rml@novell.com>
16724 * src/NetworkManagerSystem.c: bail out if asked to set a gateway of
16727 2005-07-05 Robert Love <rml@novell.com>
16729 * src/NetworkManagerDevice.c: use link-local (autoip) on DHCP failure
16730 on wired or unencrypted wireless.
16732 2005-07-01 Robert Love <rml@novell.com>
16734 * src/NetworkManagerSystem.c: Print the error via strerror().
16736 2005-06-30 Robert Love <rml@novell.com>
16738 * gnome/vpn-properties/nm-vpn-properties.c: display an error dialog and
16739 then exit if the glade file is not found. currently the application
16742 2005-06-30 Robert Love <rml@novell.com>
16744 * src/nm-dbus-nm.c: Patch by Bill Moss <bmoss@clemson.edu> to
16745 explicitly up all interfaces on wake from sleep.
16747 2005-06-30 Robert Love <rml@novell.com>
16749 * gnome/applet/applet.c: Add right-click menu item "Connection Info"
16750 with information about the currently active connection.
16751 * gnome/applet/applet.h: (ditto)
16752 * gnome/applet/wireless-applet.glade: (ditto), new file
16754 2005-06-30 Robert Love <rml@novell.com>
16756 * src/NetworkManagerDevice.c: g_malloc0 cannot fail.
16757 * src/nm-dbus-nm.c: print when we sleep and wake up.
16758 * gnome/applet/menu-items.c: whitespace, misc. cleanup.
16759 * configure.in: look in "/usr/sbin" for dhcdbd, too. (it shouldn't be
16760 in /sbin unless D-BUS is, folks).
16761 * README: update to reflect nm-applet replacing NetworkManagerInfo.
16763 2005-06-27 Robert Love <rml@novell.com>
16765 * src/nm-dbus-nm.c: fix "setWirelessEnabled" call for the enabling
16768 2005-06-27 Robert Love <rml@novell.com>
16770 * gnome/applet/applet.c: make the 'Wireless Network Discovery' menu
16773 2005-06-26 Robert Love <rml@novell.com>
16775 * src/NetworkManagerDevice.c: be specific about which device in
16778 2005-06-23 Adam Weinberger <adamw@gnome.org>
16780 * src/nm-netlink-monitor.c: correct spelling error.
16782 2005-06-23 Robert Love <rml@novell.com>
16784 * gnome/applet/applet-dbus-info.c: gnome keyring support!
16785 * gnome/applet/passphrase-dialog.c: more of that keyring!
16787 2005-06-23 Robert Love <rml@novell.com>
16789 * configure.in: remove extraneous GNOMEKEYRING directives.
16790 * gnome/applet/Makefile.am: s/GNOMEKEYRING/GNOME_KEYRING/.
16791 * gnome/applet/applet.c: nmwa_icons_init: make style local.
16792 * gnome/applet/passphrase-dialog.c: whitespace.
16794 2005-06-23 Robert Love <rml@novell.com>
16796 * src/NetworkManagerDevice.c: division in assignment was flipped.
16798 2005-06-23 David Zeuthen <david@fubar.dk>
16800 * gnome/applet/vpn-password-dialog.c (child_stdout_data_cb): Send a
16801 signal to the child to indicate that we got what we wanted when we
16802 see two new-lines right after each other.
16803 (nmwa_vpn_request_password): Pass a structure with several members
16804 instead of just the passwords
16806 2005-06-23 Dan Williams <dcbw@redhat.com>
16808 * src/NetworkManager.c
16809 src/NetworkManagerMain.h
16810 - (nm_get_hal_ctx): new function, move Hal initialization code here
16811 - (nm_hal_init): new function, init libhal context then add devices
16812 - (nm_hal_deinit): new function, clean up libhal context
16813 - (nm_data_free): Move Hal cleanup here
16814 - (main): check whether Hal is running, and if so, get a list of
16815 network devices from it
16817 * src/NetworkManagerDbus.c
16818 - (nm_dbus_signal_filter): trap NameOwnerChanged signals for Hal,
16819 and when it appears, get a list of network devices from it. If
16820 Hal goes away, clean up the libhal context
16822 2005-06-22 Robert Love <rml@novell.com>
16824 * dispatcher-daemon/NetworkManagerDispatcher.c: fix FIXME: check
16825 permissions of scripts before executing.
16827 2005-06-21 Robert Love <rml@novell.com>
16829 * initscript/SUSE/networkmanager: update.
16830 * src/backends/NetworkManagerSuSE.c: cleanup.
16832 2005-06-21 Robert Love <rml@novell.com>
16834 * gnome/applet/applet.c: use menu mnemonics.
16835 * gnome/applet/menu-items.c: (ditto)
16837 2005-06-21 Robert Love <rml@novell.com>
16839 * applet/applet-dbus-devices.c: mark non-static functions static.
16840 * applet/applet-dbus-vpn.c: (ditto)
16841 * applet/applet.c: (ditto)
16842 * applet/nm-device.h: (ditto)
16843 * applet/other-network-dialog.c: (ditto)
16844 * applet/passphrase-dialog.c: (ditto)
16845 * NetworkManager.c: (ditto)
16846 * NetworkManagerDbus.c: (ditto)
16847 * NetworkManagerDevice.c: (ditto)
16848 * NetworkManagerPolicy.c: (ditto)
16849 * NetworkManagerUtils.c: (ditto)
16850 * NetworkManagerWireless.c: (ditto)
16851 * NetworkManagerWireless.h: (ditto)
16852 * nm-netlink-monitor.c: (ditto)
16853 * applet/applet-dbus-info.c: (ditto), add FIXME's.
16854 * vpn-manager/nm-dbus-vpn.c: (ditto), remove shadowed variable.
16855 * autoip.c: include autoip.h.
16856 * autoip.h: new file. define get_autoip().
16857 * nm-netlink-monitor.h: define nm_netlink_close_connection().
16858 * NetworkManagerDbus.h: remove duplicate definitions.
16860 2005-06-20 Robert Love <rml@novell.com>
16862 * Makefile.am: Add missing intltool-foo.in generated files to
16863 EXTRA_DIST so that 'distcheck' works. Also add DISTCLEANFILES
16864 with the start of stuff to cleanup on 'distclea'.
16865 * configure.in: add AC_PROG_INTLTOOL macro so that we do the intltool
16866 stuff right and 'distcheck' works.
16867 * po/POTFILES.in: Remove examples/python/systray/eggtrayicon.c. If
16868 we keep it, we need to add all of examples/* to EXTRA_DIST and do
16869 Makefile.am for each. And systray/Makefile needs to be redone.
16871 2005-06-19 Dan Williams <dcbw@redhat.com>
16873 * src/NetworkManagerDevice.c
16874 - (nm_device_wireless_process_scan_results): scan every 20s when
16875 disconnected and scanning is ALWAYS_SCAN or WHEN_UNASSOCIATED
16877 2005-06-19 Dan Williams <dcbw@redhat.com>
16879 * WEXT_DEBUG->IOCTL_DEBUG, extend checking to all ioctl() calls
16881 2005-06-18 Ray Strode <rstrode@redhat.com>
16883 * src/nm-netlink-monitor.c
16884 (nm_netlink_monitor_event_handler): check for the presence
16885 of either error condition not both.
16887 (nm_netlink_monitor_error_handler): emit error signal if
16890 (nm_netlink_monitor_event_handler),
16891 (nm_netlink_monitor_error_handler),
16892 (nm_netlink_monitor_disconnect_handler): if an
16893 assertion fails disconnect the event handler to prevent
16896 * src/nm-netlink-monitor.h: add new error condition
16897 NM_NETLINK_MONITOR_ERROR_WAITING_FOR_SOCKET_DATA
16899 2005-06-18 Ray Strode <rstrode@redhat.com>
16901 * src/nm-netlink-monitor.c
16902 (nm_netlink_monitor_event_handler): remove bogus < 0
16903 check on unsigned value and return early if the kernel
16904 didn't send any bytes.
16906 2005-06-17 Robert Love <rml@novell.com>
16908 * initscript/SUSE/networkmanager: Change the Provides and default
16911 2005-06-16 Dan Williams <dcbw@redhat.com>
16913 Patch from Robert Love:
16914 * gnome/applet/applet.c
16915 - Beautify some applet menu item names
16917 2005-06-17 David Zeuthen <davidz@redhat.com>
16919 * gnome/vpn-properties/nm-vpn-ui-interface.h: Require users of this
16920 API to define NM_VPN_API_SUBJECT_TO_CHANGE to acknowledge API churn.
16921 Also add new methods can_export, import_file and export.
16923 * gnome/vpn-properties/nm-vpn-properties.glade: Add an Export button
16926 * gnome/vpn-properties/nm-vpn-properties.c:
16927 Define NM_VPN_API_SUBJECT_TO_CHANGE so we can actually include
16928 nm-vpn-ui-interface.h.
16929 (update_edit_del_sensitivity): Also update "Export" sensitivity
16930 (add_vpn_connection): Also add new SVC_NAME column
16931 (import_settings): New function
16932 (retrieve_data_from_selected_connection): New function
16933 (edit_cb): Use retrieve_data_from_selected_connection to simplify
16935 (export_cb): New function
16936 (init_app): Also setup the "export" widget
16937 (main): Support the --import-service and --import-file commandline
16940 * gnome/libnm_glib/libnm_glib.c (libnm_glib_dbus_filter): Also support
16943 2005-06-16 Dan Williams <dcbw@redhat.com>
16945 Patch from Robert Love:
16946 * gnome/applet/menu-items.c
16947 - (network_menu_item_new): pass -1 as wireless network
16948 menu items height size request rather than ascent / 2
16950 2005-06-16 Dan Williams <dcbw@redhat.com>
16952 * Clean up wording in Wireless Scan Methods menu items and constants
16954 2005-06-16 Robert Love <rml@novell.com>
16957 - remove gtkcell* files
16959 2005-06-15 Dan Williams <dcbw@redhat.com>
16961 Patch from Robert Love: make the applet stetic
16963 * gnome/applet/Makefile.am
16964 - Don't compile the gtkcellview and gtkcellrendererprogress files
16966 * gnome/applet/gtkcellview.h
16967 gnome/applet/gtkcellview.c
16968 gnome/applet/gtkcellrendererprogress.h
16969 gnome/applet/gtkcellrendererprogress.c
16972 * gnome/applet/menu-items.c
16973 - Progress bars are 5:1 size ratio
16974 - Use GTK progress bars rather than internal ones
16976 2005-06-15 Dan Williams <dcbw@redhat.com>
16978 Patch from Robert Love:
16979 * initscript/SUSE/networkmanager
16982 2005-06-15 Dan Williams <dcbw@redhat.com>
16984 * src/backends/NetworkManagerSuSE.c
16985 src/backends/NetworkManagerRedHat.c
16986 src/backends/NetworkManagerDebian.c
16987 - (set_ip4_config_from_resolv_conf): Fix typo I made, '==' -> '='
16989 2005-06-15 Dan Williams <dcbw@redhat.com>
16991 * src/backends/NetworkManagerDebian.c
16992 - Add nm_system_device_get_use_dhcp() to debian backend
16994 Patch from Kay Sievers:
16995 * src/backends/NetworkManagerSuSE.c
16996 - Update debian backend for static IP nameservers
16998 * src/NetworkManagerDevice.c
16999 - Actually set the device to use static IP or DHCP rather
17002 2005-06-15 Dan Williams <dcbw@redhat.com>
17004 Patch from Thom May:
17005 * src/backends/NetworkManagerDebian.c
17006 - Update debian backend for static IP nameservers
17008 2005-06-15 Dan Williams <dcbw@redhat.com>
17010 Patches from Robert Love:
17011 * gnome/applet/wireless-applet.glade
17012 - Tighten up wording
17014 * src/NetworkManagerDevice.c
17015 - Remove misplaced ';'
17018 initscript/Makefile.am
17019 initscript/SUSE/Makefile.am
17020 initscript/SUSE/networkmanager
17021 - Add SUSE initscript
17023 2005-06-12 David Zeuthen <davidz@redhat.com>
17025 * gnome/vpn-properties/nm-vpn-ui-interface.h: New file
17027 * gnome/vpn-properties/nm-vpn-properties.glade: New file
17029 * gnome/vpn-properties/nm-vpn-properties.c: New file
17031 * gnome/vpn-properties/Makefile.am: New file
17033 * src/vpn-manager/nm-vpn-manager.h: Rework prototypes to take an
17036 * src/vpn-manager/nm-vpn-manager.c
17037 (nm_vpn_manager_activate_vpn_connection): Take an array of passwords
17038 instead of just a single one
17040 * src/vpn-manager/nm-dbus-vpn.c:
17041 (nm_dbus_vpn_get_vpn_connection_properties): Also append service_name
17043 (nm_dbus_vpn_activate_connection): Rework to take an array of passwords
17045 * gnome/applet/vpn-password-dialog.h (nmwa_vpn_request_password):
17046 Change the interface here to give a list of passwords. Also, don't
17047 require username, but do require service
17049 * gnome/applet/vpn-password-dialog.c: Look up the VPN .name files for
17050 the binary for the auth-dialog and use that instead of putting up a
17051 dialog asking for a single password
17053 * gnome/applet/vpn-connection.[ch]: Don't remember the user_name,
17054 however do remember the service
17056 * gnome/applet/main.c (main): Setup i18n
17058 * gnome/applet/applet.c (nmwa_update_state): Add a line "VPN
17059 connection to '%s'" to the tooltip if we are connected using VPN
17060 (nmwa_menu_vpn_item_activate): Check last_attempt_success gconf
17061 key to determine whether we the auth-dialog needs to
17062 reprompt. Also cope with the fact that the auth-dialog now returns
17063 an array of passwords.
17064 (nmwa_menu_configure_vpn_item_activate): New handler for
17065 "Configure VPN..." menu item
17066 (nmwa_menu_add_vpn_menu): Add the "Configure VPN..." menu item
17067 (is_vpn_available): New function to determine if we got any
17068 NM-compatible VPN software installed
17069 (nmwa_menu_add_devices): Use is_vpn_available to add VPN menu
17070 items only if we have NM-compatible VPN software installed
17071 (nmwa_gconf_vpn_connections_notify_callback): Slightly rework the
17072 logic for detecting when VPN connections are removed
17074 * gnome/applet/applet-dbus.h: Removed the prototypes for
17075 nmwa_dbus_vpn_activate_connection, nmwa_dbus_vpn_deactivate_connection
17076 since these are defined elsewhere
17078 * gnome/applet/applet-dbus.c (set_vpn_last_attempt_status): New
17079 function used to keep track of whether the last attempt succeded
17080 (nmwa_dbus_filter): Update last_attempt according to whether the
17081 VPN connection could be established or not
17083 * gnome/applet/applet-dbus-vpn.h (nmwa_dbus_vpn_deactivate_connection):
17084 Change prototype to take an array of passwords, not just a single
17087 * gnome/applet/applet-dbus-vpn.c (nmwa_dbus_vpn_properties_cb): Only
17088 update service, not user
17089 (nmwa_dbus_vpn_remove_one_vpn_connection): Check that applet->
17090 dbus_active_vpn_name is not NULL before using it
17091 (nmwa_dbus_vpn_activate_connection): Send the passwords as a
17092 string array instead of assuming a single password
17094 * gnome/applet/applet-dbus-info.c:
17095 (nmi_dbus_get_vpn_connection_properties): Use the logged in user for
17096 user name; don't read from gconf
17098 * gnome/applet/Makefile.am: Also export SYSCONFDIR and
17101 * gnome/Makefile.am (SUBDIRS): Add vpn-properties
17103 * configure.in: Add checks for gmodule-2.0.
17104 Generate gnome/vpn-properties/Makefile. Don't generate any Makefile's
17105 in vpn-daemons nor vpn-daemons/vpnc. We have separate autotooled
17106 projects under vpn-daemons now. See vpn-daemons/vpnc/Changelog
17109 * vpn-daemons/Makefile.am: Removed
17111 * vpn-daemons/README: New file to describe extensions points for VPN
17114 2005-06-10 Dan Williams <dcbw@redhat.com>
17116 * src/backends/NetworkManagerRedHat.c
17117 - (get_current_profile_name): new function, grab current network profile name from
17118 /etc/sysconfig/network
17119 - (set_ip4_config_from_resolv_conf): new function, parse a resolv.conf and
17120 update an IP4 Config structure's settings from it
17121 - (nm_system_device_get_system_config): if we're using static IP on this device,
17122 get DNS info from current network profile
17124 2005-06-09 Dan Williams <dcbw@redhat.com>
17126 Patch from Robert Love:
17127 * src/NetworkManagerDevice.c
17128 src/NetworkManagerUtils.c
17129 - 64-bit build fixes
17131 2005-06-09 Dan Williams <dcbw@redhat.com>
17133 Patch from Kay Sievers and Robert Love:
17135 src/backends/Makefile.am
17136 src/backends/NetworkManagerSuSE.c
17139 2005-06-09 Dan Williams <dcbw@redhat.com>
17142 - Add NMWirelessScanMethod enum for scan methods
17144 * gnome/applet/applet-dbus-devices.c
17145 - (nmwa_dbus_update_scanning_enabled_cb): remove
17146 - (nmwa_dbus_update_scanning_enabled): remove
17147 - (nmwa_dbus_update_devices): don't call nmwa_dbus_update_scanning_enabled() anymore
17148 since it got removed
17149 - (nmwa_dbus_enable_scanning): remove
17151 * gnome/applet/applet-dbus-info.c
17152 - (nmi_dbus_signal_update_scan_method): new function, signal NetworkManager to
17153 update the wireless scanning method from NMI
17154 - (nmi_dbus_get_wireless_scan_method): new function, return wireless scanning
17155 method value to NetworkManager
17156 - (nmi_dbus_info_message_handler): respond to the "getWirelessScanMethod" method call
17158 * gnome/applet/applet-dbus-info.h
17159 - Add prototype for nmi_dbus_signal_update_scan_method
17161 * gnome/applet/applet.c
17162 - (scanning_menu_update): new function, update one GtkCheckMenuItem from the
17163 Wireless Scanning menu based on current wireless scan method
17164 - (nmwa_menu_scanning_item_activate): new function, callback for GTK "activate"
17165 signal for Wireless Scanning menu items, tell NetworkManager the new method
17166 and update our menu items to make sure the right one is checked
17167 - (nmwa_set_scanning_enabled_cb): remove
17168 - (nmwa_context_menu_update): remove references to pause_scanning_item
17169 - (nmwa_context_menu_create): remove pause_scanning_item, and add new Wireless
17171 - (nmwa_gconf_get_wireless_scan_method): new method, pull wireless scanning method
17173 - nmwa_gconf_networks_notify_callback -> nmwa_gconf_info_notify_callback: generalize
17174 so we get notified of preference values too
17175 - (nmwa_get_instance): monitor GCONF_PATH_WIRELESS rather than GCONF_PATH_WIRELESS_NETWORKS
17177 * gnome/applet/applet.h
17178 - GCONF_PATH_WIRELESS added, one level below GCONF_PATH_WIRELESS_NETWORKS
17179 - Add wireless scan method member to applet data
17180 - Remove pause_scanning_item, add Wireless Scanning submenu
17182 * src/NetworkManager.c
17183 - (nm_data_new): default to NM_SCAN_METHOD_ON
17184 - (main): grab scanning method from NMI if we can
17186 * src/NetworkManagerDbus.c
17187 - (nm_dbus_update_wireless_scan_method_cb): new function, callback from
17188 nm_dbus_update_wireless_scan_method()
17189 - (nm_dbus_update_wireless_scan_method): new function to grab scanning method
17191 - (nm_dbus_nmi_is_running): redundant function, removed
17192 - (nm_dbus_signal_filter): trap "WirelessScanMethodUpdate" signal, grab scanning method
17193 when NMI comes back
17195 * src/NetworkManagerDevice.c
17196 - (nm_device_is_activated): return TRUE if the device is activated
17197 - (nm_device_wireless_scan): don't scan if the scan method is OFF, or if its AUTO
17198 and we are activated
17201 - (nm_dbus_nm_set_scanning_enabled): removed
17202 - nm_dbus_nm_get_scanning_enabled -> nm_dbus_nm_get_wireless_scan_method
17203 - (nm_dbus_nm_methods_setup): remove [get | set] ScanningEnabled and add "getWirelessScanMethod"
17205 2005-06-09 Dan Williams <dcbw@redhat.com>
17208 src/vpn-manager/nm-vpn-service.c
17209 - NM_VPN_STATE_ERROR -> NM_VPN_STATE_UNKNOWN (more consistent with other enums)
17211 2005-05-27 Dan Williams <dcbw@redhat.com>
17213 * vpn-daemons/vpnc/nm-vpnc-service.c
17214 - (vpnc_watch_cb): wait a bit before trying to read vpnc's pidfile.
17215 Should fix the bug where the VPN connection terminates the first time.
17217 2005-05-20 Dan Williams <dcbw@redhat.com>
17220 - Differentiate VPN config signals between bad VPN config options
17223 * gnome/applet/applet-dbus-info.h
17224 - Add prototypes for wireless network and vpn connection update functions
17226 * gnome/applet/applet-dbus.c
17227 - (nmwa_dbus_filter): trap new VPN config error signals from NetworkManager
17229 * gnome/applet/applet.c
17230 - (nmwa_schedule_vpn_failure_dialog): new dialog text for new VPN config
17232 - (nmwa_gconf_networks_notify_cb): re-enable wireless network change notify
17233 propogation to NetworkManager
17234 - (nmwa_gconf_vpn_connections_notify_cb): re-enable vpn connection change
17235 notify propogation to NetworkManager
17237 * src/NetworkManagerDbus.c
17238 - (nm_dbus_update_one_allowed_network): make sure to specify which AP list we
17239 are updating so a network can be removed from it if necessary
17241 * src/vpn-manager/nm-vpn-manager.c
17242 - (nm_vpn_manager_process_signal): trap new vpn config error signals
17244 * vpn-daemons/vpnc/nm-vpnc-service.c
17245 - (nm_vpnc_dbus_signal_failure): generalize function for all VPN error signals
17246 - (nm_vpnc_dbus_signal_launch_failed): remove
17247 - (nm_vpnc_dbus_signal_connect_failed): remove
17248 - (nm_vpnc_helper_timer_cb): update for new generalized error signal function
17249 - (nm_vpnc_schedule_helper_timer): increase timeout to 10s
17250 - (vpnc_watch_cb): don't whine about exit code if vpnc exited cleanly, update
17251 for new generalized error signal function, remove config file stuff
17252 - (nm_vpnc_start_vpnc_binary): grab a stdin pipe to vpnc after spawning it so
17253 we can write configuration options to it
17254 - (nm_vpnc_config_file_generate): removed
17255 - (nm_vpnc_config_write): write configuration options to the vpnc stdin pipe
17256 - (nm_vpnc_config_options_validate): validate the config options we receive
17257 from NetworkManager to block potential exploits
17258 - (nm_vpnc_dbus_handle_start_vpn): call option validation function before
17260 - (nm_vpnc_dbus_process_helper_config_error): actually propogate config error
17263 2005-05-16 Dan Williams <dcbw@redhat.com>
17265 * vpn-daemons/vpnc/nm-vpnc-service-vpnc-helper.c
17266 - (main): Work correctly with vpnc 0.3.3 by exiting if the "reason" code
17269 2005-05-16 Dan Williams <dcbw@redhat.com>
17271 Patch from Tomislav Vujec <tvujec@redhat.com>
17272 * gnome/applet/applet-dbus-info.c
17273 - (nmi_dbus_get_vpn_connection_routes): new function, pull routes out of
17274 GConf and pass them to NetworkManager. New key is 'routes' under
17275 the VPN connection, and should be a string list
17277 * src/NetworkManagerSystem.c
17278 - (nm_system_vpn_device_set_from_ip4_config): if user-defined routes exist,
17279 set them on the device when we set the rest of the VPN config. Ensure
17280 they are in the correct format since they are passed directly to the
17283 * src/backends/NetworkManagerRedHat.c
17284 src/backends/NetworkManagerDebian.c
17285 - (nm_system_device_add_route_via_device_with_iface): new function
17287 * src/vpn-manager/nm-dbus-vpn.c
17288 - (nm_dbus_vpn_get_routes): grab VPN routes from NetworkManagerInfo
17290 * src/vpn-manager/nm-vpn-manager.c
17291 - (nm_vpn_manager_handle_ip4_config_signal): grab routes from NMI and pass
17292 them into the IP4 config functions
17294 2005-05-15 Dan Williams <dcbw@redhat.com>
17296 From Filip Miletic:
17300 - Serbian translation added
17302 2005-05-15 Dan Williams <dcbw@redhat.com>
17304 * dispatcher-daemon/NetworkManagerDispatcher.c
17305 - (main): sync arguments with NetworkManager and the applet, now use
17306 "--no-daemon" rather than "daemon=no"
17307 - (nmd_print_usage): Fix script path in usage message
17309 2005-05-15 Dan Williams <dcbw@redhat.com>
17311 * src/NetworkManagerDevice.[ch]
17312 src/NetworkManagerPolicy.c
17313 src/NetworkManager.c
17315 - Remove the "just_added" parameter from nm_device_deactivate(). We no
17316 longer send the DeviceNoLongerActive signal unconditionally, but only
17317 when the device is actually active.
17319 * dispatcher-daemon/NetworkManagerDispatcher.c
17320 - (nmd_execute_scripts): convert to GLib directory functions from opendir(),
17321 and simplify the logic
17322 - (nmd_get_device_name): copy value from dbus reply so we don't segfault when
17323 we free it later on
17325 * initscript/RedHat/Makefile.am
17326 initscript/RedHat/NetworkManagerDispatcher
17327 - Add initscript for NetworkManagerDispatcher
17330 Patch from Bill Moss:
17331 * dispatcher-daemon/NetworkManagerDispatcher.c
17332 - Remove IP4AddressChange signal code including nmd_get_device_ip4_address()
17334 * src/NetworkManagerDbus.c
17335 - (nm_dbus_signal_device_ip4_address_change): remove. If the device goes up,
17336 and DeviceNowActive gets signaled, then the device has a new IP address
17337 anyway. There's no need for a separate signal.
17339 * src/NetworkManagerDevice.c
17340 - (nm_device_update_ip4_address): Don't send IP4AddressChange signal
17342 * src/NetworkManagerPolicy.c
17343 - (nm_policy_activation_finish): Send DeviceNowActive signal when the device
17344 activates successfully. This kind of went missing when I reworked the
17347 2005-05-15 Dan Williams <dcbw@redhat.com>
17350 - Check for dhcdbd and error if its not found
17352 * src/dhcp-manager/Makefile.am
17353 src/dhcp-manager/nm-dhcp-manager.c
17354 - Use path to dhcdbd that configure found
17356 2005-05-14 Dan Williams <dcbw@redhat.com>
17358 * gnome/applet/nm-device.c
17359 - (network_device_sort_wireless_networks, sort_networks_function): New functions to
17360 sort wireless networks alphabetically
17362 * gnome/applet/applet-dbus-devices.c
17363 - (mwa_dbus_devices_lock_and_copy): Sort network device's wireless network lists
17364 before copying them over to the GUI
17366 2005-05-14 Dan Williams <dcbw@redhat.com>
17368 * src/NetworkManager.c
17369 - (device_stop_and_free): Deactivate VPN connections before deactivating devices,
17370 fixes a deadlock on shutdown with a VPN connection active. This function locks
17371 the device list, as does nm_get_active_device() which is called from
17372 nm_vpn_manager_deactivate_vpn_connection().
17374 2005-05-14 Dan Williams <dcbw@redhat.com>
17377 - Add signals for VPN Launch and Connect failures
17379 * gnome/applet/applet-dbus.c
17380 - (nmwa_dbus_filter): Trap new VPN launch & connect failure signals
17382 * gnome/applet/applet.c
17383 - (nmwa_show_vpn_failure_dialog): generalize old nmwa_show_vpn_login_failure_dialog()
17384 function to handle all VPN failure messages
17385 - (nmwa_schedule_vpn_failure_dialog): generalize old nmwa_schedule_vpn_login_failure_dialog()
17386 function to hanlde all VPN failure messages
17387 - (show_warning_dialog): work around focus-stealing prevention
17389 * gnome/applet/other-network-dialog.c
17390 gnome/applet/passphrase-dialog.c
17391 - (update_button_cb): Make sure the OK button is enabled when it should be, fixes
17392 problem where it never enabled for ASCII Key and Hex Key types
17394 * gnome/applet/wireless-applet.glade
17395 - Add window title to Other Wireless Network Dialog
17397 * src/vpn-manager/nm-dbus-vpn.c
17398 - (nm_dbus_vpn_signal_vpn_failed): generalize old nm_dbus_vpn_signal_vpn_login_failed()
17399 function to handle all VPN failure messages
17401 * src/vpn-manager/nm-vpn-manager.c
17402 - (nm_vpn_manager_process_signal): trap and proxy VPN launch & connect failure signals too
17404 * vpn-daemons/vpnc/nm-vpnc-service.c
17405 - (nm_vpnc_dbus_signal_launch_failed): new function
17406 - (nm_vpnc_dbus_signal_connect_failed): new function
17407 - (nm_vpnc_helper_timer_cb): signal connect failure on timeout
17408 - (vpnc_watch_cb): signal connection failure when vpnc exits with connection failure
17409 - (nm_vpnc_start_vpnc_binary): search a number of locations for vpnc
17410 - (nm_vpnc_dbus_handle_start): send launch failure signal when we fail to launch vpnc
17412 2005-05-11 Dan Williams <dcbw@redhat.com>
17414 * vpn-daemons/vpnc/nm-vpnc-service.c
17415 - (nm_vpnc_start_vpnc_binary): NULL-ify GError before using it
17416 - (nm_vpnc_config_file_generate): Attempt to ensure that the path for the config
17417 file exists before trying to write it out.
17419 2005-05-10 Dan Williams <dcbw@redhat.com>
17421 * gnome/applet/applet-dbus-device.c
17422 - (nmwa_dbus_set_device): remove check for valid key and key type, which
17423 prevented just entering ESSID and leaving key and key type up to
17424 NetworkManager (which should have them already cached)
17426 2005-05-08 Dan Williams <dcbw@redhat.com>
17428 * src/NetworkManagerPolicy.c
17429 - (nm_policy_activation_finish): Don't set NM_ACT_STAGE_ACTIVATED here, instead...
17430 - (nm_policy_schedule_activation_finish): Set NM_ACT_STAGE_ACTIVATED here to
17431 fix a situation where NM is told to terminate and the device stops activation,
17432 but the main thread isn't aware of that because it would never have run
17433 nm_policy_activation_finish() to set the ACTIVATED flag, because the main loop
17436 * src/NetworkManagerDevice.c
17437 - (nm_device_probe_wired_link_state): cosmetic fixes
17438 - (nm_device_activate_stage5_ip_config_commit): Don't check link state if
17439 we've failed to activate or been canceled.
17440 - (nm_ac_test): nm_debug -> nm_info for "waiting for device to cancel" message
17442 2005-05-08 Dan Williams <dcbw@redhat.com>
17444 * src/NetworkManagerWireless.c
17445 - (nm_wireless_qual_to_percent): Fix #if -> #ifdef, print out the "updated"
17446 value of WEXT quality structures, and add a debug message when we cannot
17447 determine any quality % at all
17449 2005-05-08 Dan Williams <dcbw@redhat.com>
17451 * src/dhcp-manager/nm-dhcp-manager.c
17452 - (nm_dhcp_manager_begin_transaction): Tell dhclient to release leases when
17455 2005-05-06 Dan Williams <dcbw@redhat.com>
17457 * gnome/applet/applet-dbus-device.c
17458 gnome/applet/applet-dbus-info.c
17459 gnome/applet/applet-dbus.c
17460 gnome/applet/applet.c
17461 gnome/applet/applet.h
17462 - (nmwa_get_device_for_nm_device) -> (nmwa_get_device_for_nm_path)
17464 * gnome/applet/applet-dbus.c
17465 - (nmwa_dbus_filter): trap DeviceCarrierOn/DeviceCarrierOff signals
17466 so we notice when wired device's carriers come back on. Should
17467 fix issue with wired devices being grayed out even if the cable
17468 is in, for devices that support carrier detection.
17470 * gnome/applet/applet.c
17471 - (nmwa_driver_notify): bash focus-stealing prevention in the face
17472 - (nmwa_act_stage_to_pixbuf): Clarify wireless ACT_STAGE_DEVICE_CONFIG
17474 - (nmwa_menu_item_activate, nmwa_menu_add_device_item, nmwa_menu_item_data_free):
17475 Fix situation where applet wouldn't respond to menu selections
17477 * src/NetworkManager.c
17478 src/NetworkManagerDevice.c
17479 src/NetworkManagerDbus.c
17480 src/NetworkManagerDbus.h
17481 - (nm_dbus_signal_device_status_change) -> (nm_dbus_schedule_device_status_change_signal)
17483 * src/NetworkManagerDbus.c
17484 - (nm_dbus_send_network_not_found, nm_dbus_schedule_network_not_found_signal):
17485 Remove, no longer used or relevant
17486 - (nm_dbus_signal_device_status_change): Better signal enum->string matching
17487 - (nm_dbus_schedule_device_status_change_signal): add
17489 * src/NetworkManagerDevice.c
17490 - (nm_device_worker_thread_stop): don't try to join a NULL worker thread
17491 - (nm_device_set_link_active): Fix up switching for non-carrier-detect devices,
17492 ie don't deactivate them unless explicitly told to by the user. Also send
17493 CARRIER_OFF / CARRIER_ON signals when link changes
17494 - (nm_device_set_essid, nm_device_set_enc_key, nm_device_is_up, nm_device_set_mode):
17495 Don't print error message when device is no longer around
17496 - (nm_device_deactivate): kill any current DHCP process attached to this device,
17497 not just during activation
17499 * src/NetworkManagerPolicy.c
17500 - (nm_policy_auto_get_best_device): Ignore semi-supported devices completely from
17501 auto-device-selection.
17502 - (nm_policy_device_change_check): Don't interrupt semi-supported devices
17504 * src/NetworkManagerSystem.c
17505 - (nm_system_device_set_up_down_with_iface): Quiet first warning message when device
17506 is no longer present (Bill Moss)
17508 * src/backends/shvar.c
17509 - (svOpenFile): Open read-only to make SELinux happy
17511 * src/backends/NetworkManagerRedHat.c
17512 - (nm_system_device_get_system_config): Use SYSCONFDIR rather than hardcoding
17513 the path to the ifcfg-* files
17515 2005-05-05 Dan Williams <dcbw@redhat.com>
17517 * Expose activation stages to NetworkManager clients, like the applet
17518 * Add Diana's progress icons to the applet, cued off NM activation stage
17519 * Use more descriptive tooltips, cued off NM activation stage
17521 2005-05-05 Ray Strode <rstrode@redhat.com>
17523 * src/nm-netlink-monitor.c:
17524 - Use clear_event_source instead of g_nullify_pointer() again.
17526 2005-05-05 Dan Williams <dcbw@redhat.com>
17528 * gnome/applet/main.c
17529 - Fix session management so the applet is actually managed now
17531 * gnome/applet/passphrase-dialog.c
17532 - (nmi_passphrase_dialog_show): bash focus-stealing prevention in the face
17534 2005-05-05 Dan Williams <dcbw@redhat.com>
17536 Patch from Bill Moss:
17537 * gnome/libnm_glib/libnm_glib.c
17538 - Fix for dbus-0.33
17540 2005-05-05 Dan Williams <dcbw@redhat.com>
17542 Suggestion from Bill Moss:
17543 * src/NetworkManagerSystem.c
17544 - (nm_system_device_set_up_down_with_iface): ignore ENODEV
17547 * src/NetworkManager.c
17548 - (nm_data_free): move destruction of the various managers after
17549 release of device list, because deactivating and freeing a device
17550 requires at least the named manager
17551 - (nm_poll_and_update_wireless_link_state):
17552 (nm_device_link_activated):
17553 (nm_device_link_deactivated):
17554 don't grab the device list lock when actually updating device
17555 link status or strength, since nm_device_set_link_active()
17556 needs to call nm_get_active_device(), which also locks the device list.
17558 * src/NetworkManagerDevice.c
17559 - (nm_device_set_link_active): if a device's link switches from off->on,
17560 and it's wired, and the active device is wireless (or there is no
17561 active device), activate the new device whose link just came on
17562 - (link_to_specific_ap): try to smooth over intermittency in wireless links
17563 my only calling the link to the current ap "failed" when more than 2
17564 consecutive link checks have failed
17566 2005-05-04 Dan Williams <dcbw@redhat.com>
17568 * src/NetworkManagerDevice.c
17569 - (nm_device_probe_wireless_link_state): don't lock the scan mutex here
17570 but let link_to_specific_ap() do the locking where it needs
17572 Patch from Bill Moss:
17573 * src/NetworkManagerSystem.c
17574 - Set MTU of VPN devices to 1412
17576 2005-05-04 Dan Williams <dcbw@redhat.com>
17578 * Remove NM_STATE_SCANNING from NetworkManager.h and applet code
17580 * Fix some holes in device activation and retaining the currently connected
17583 2005-05-03 Dan Williams <dcbw@redhat.com>
17585 * Kill dhcpcd. We now use "dhcdbd", a dbus daemon that controls dhclient.
17586 This means that NetworkManager shouldn't have DHCP issues anymore. It also
17587 means you need dhcdbd, which you can get here (get the latest one):
17589 http://people.redhat.com/jvdias/dhcdbd/
17591 Technically NetworkManager can use any DHCP daemon that uses the same DBUS
17592 interface as dhcdbd.
17594 * Rewrite device activation to facilitate the new DHCP infrastructure and
17595 future improvements. Its now "activation request" based, ie there is a single
17596 activation request composed of the device, access point, and other info which
17597 follows the entire activation process. There are 5 stages of the activation
17598 process which correspond to:
17600 1) Device preparation
17601 2) Device configuration (bring it up, set ESSID/Key/etc)
17602 3) IP Config Start (fire off DHCP if we're using it)
17603 4) IP Config Get (grab config from DHCP or static config files)
17604 5) IP Config Commit (set device's IP address, DNS, etc)
17606 Note that there is no longer a "scanning" step, since the access point must
17607 be known _before_ activation starts. If the access point drops out or does
17608 not exist for some reason, the entire activation process fails and must be
17609 restarted for a different access point or device.
17611 Patch from Bill Moss:
17612 * gnome/applet/applet.c
17613 - Fix type of vpn_failure dialog -> vpn_banner dialog
17615 2005-04-27 Dan Williams <dcbw@redhat.com>
17617 * gnome/applet/applet-dbus-vpn.c
17618 gnome/applet/applet.c
17619 gnome/applet/applet.h
17620 - Fix up active VPN handling so that we reliably know when a VPN
17621 connection has been deactivated
17623 * src/vpn-manager/nm-vpn-manager.c
17624 - Remove duplicate VPNConnectionChange signal
17626 2005-04-27 Dan Williams <dcbw@redhat.com>
17628 Patch from Peter Jones:
17629 * Remove usage of varargs to fix crashes on PPC (RH #154336)
17631 Patch from Bill Moss:
17632 * src/NetworkManagerSystem.c
17633 - Fix checking of return value from ioctl()
17635 2005-04-27 Dan Williams <dcbw@redhat.com>
17637 * Fix choosing of wireless networks and "Other wireless network..." from the applet
17638 * Warn and exit if icons cannot be found
17640 2005-04-27 Dan Williams <dcbw@redhat.com>
17642 Patch from Tom Parker:
17643 * Update debian backend
17645 2005-04-27 Dan Williams <dcbw@redhat.com>
17647 * Merge the applet and the info-daemon, and move the converged
17648 applet under gnome/applet
17649 * Move libnm_glib to gnome/libnm_glib
17650 * Convert most dbus calls between the applet, info-daemon, and NM
17652 * Fix a few things valgrind noticed
17653 * Make NM broadcast state more reliably
17655 2005-04-22 Pawan chitrakar <pawan@nplinux.org>
17657 * configure.in: Added ne in ALL_LINGUAS
17659 2005-04-15 Dan Williams <dcbw@redhat.com>
17661 * libnm_glib/libnm_glib: Fix up for dbus-0.32, and remove
17662 code for dbus 0.2x versions
17664 2005-04-15 Dan Williams <dcbw@redhat.com>
17666 Patches from Tom Parker:
17668 - Join with worker thread rather than polling for its exit
17670 Patch from Bill Moss:
17671 - Cull duplicate ESSIDs from the scan list, taking highest strength AP
17673 2005-04-15 Dan Williams <dcbw@redhat.com>
17675 - Fixes to pass 'make distcheck'
17677 2005-04-15 Dan Williams <dcbw@redhat.com>
17679 Initial VPN Support
17681 - reworks device IP configuration, backend files have changed and will need
17682 to be updated for all distributions. I will try to do what I can for
17683 them, but I cannot test them.
17685 - Move named directory to src/named-manager
17686 - Make backends directory self-contained
17688 2005-04-06 Dan Williams <dcbw@redhat.com>
17690 Add debug code for socket/file descriptor leaks. We register every socket
17691 that we open (except for stuff in dhcpcd/) for tracking, and print out the
17692 list of sockets that we forgot to close on shutdown. This also consolidates
17693 about 4 places where we opened sockets into 1 function in NetworkManagerUtils.c
17695 2005-04-06 Dan Williams <dcbw@redhat.com>
17698 - (dhcp_interface_free): fix a file descriptor leak that may have
17699 caused network drivers to not unload due to refcounts > 0
17701 2005-04-04 Dan Williams <dcbw@redhat.com>
17703 * panel-applet/NMWirelessAppletDbus.c
17704 - (nmwa_dbus_call_nm_method): remove some commented code
17706 * src/NetworkManagerAPList.[ch]
17707 - (nm_ap_list_remove_ap_by_essid): new function
17709 * src/NetworkManagerDevice.c
17710 - (nm_device_wireless_force_use): remove access points from the ignore list
17711 when the user forces them
17713 * src/nm-dbus-device.c
17714 - (nm_dbus_device_get_active_network): fix up escaping of object paths
17716 2005-04-04 Dan Williams <dcbw@redhat.com>
17718 Patch from Tom Parker: include "nm-utils.h" for backend files that need it
17720 2005-04-04 Dan Williams <dcbw@redhat.com>
17722 * src/NetworkManagerDevice.c:
17723 - (nm_completion_scan_has_results): restore pre-completion-patch behavior
17724 of only erroring after the second consecutive scan times out. Also
17725 don't exit when the card requires more time than we can give it, just
17726 log the event and continue.
17728 2005-04-01 Steve Murphy <murf@e-tools.com>
17730 * configure.in: Added "rw" to ALL_LINGUAS.
17732 2005-04-01 Dan Williams <dcbw@redhat.com>
17734 Perform scans during device activation, if needed. Both activation
17735 and scans run in the same GMainContext. Therefore, if an access point
17736 is not found by the time the device starts activation, it will not
17737 be available until after activation. We now try to scan during
17738 activation (in nm_wa_test) every 15s so that all available access
17739 points are more likely to be found and available for the activation
17742 Also change nm_wireless_link_state_handle() to only update the "best"
17743 AP if we are not forcing a device and if we are not about to change
17744 state. This attempts to work around a race when forcing a device,
17745 where the forced AP would get cleared out too soon by the link state
17746 checking timeout in the main thread, and the activation attempt with
17747 that AP would fail.
17749 2005-04-01 Dan Williams <dcbw@redhat.com>
17752 - Update with new translatables
17754 2005-03-31 Dan Williams <dcbw@redhat.com>
17756 * panel-applet/NMWirelessAppletDbus.c
17757 - Fix device names now that hal has changed device parenting for
17760 2005-03-31 Dan Williams <dcbw@redhat.com>
17762 Tighten up handling of wireless devices that don't support wireless
17763 scanning (ie, Orinoco). Due to restructuring of code, these devices
17764 hadn't been doing pseudo-scanning for a while either and would just
17765 spin waiting for an access point. They are now manual devices where
17766 the user must choose the access point from the menu every time. All
17767 "allowed" access points are listed in the applet's menu regardless
17768 of whether or not they can be seen by the card, since it can't scan
17771 * src/NetworkManager.c
17772 - (nm_wireless_link_state_handle): new function, but only update
17773 the "best" ap for non-scanning devices when its not activating,
17774 and when no device is being forced on the card
17775 - (nm_link_state_monitor): split wireless link state handling out
17776 into separate function
17778 * src/NetworkManagerDevice.c
17779 - (nm_device_copy_allowed_to_dev_list): new function
17780 - (nm_device_new): populate non-scanning cards' AP lists with
17781 access points from the "allowed" list
17782 - (nm_device_new): don't start a scanning timeout for devices that
17784 - (nm_device_activation_schedule_finish): new parameter, should be
17785 the AP that failed to be connected to, pass it on to the
17786 activation finish function in NetworkManagerPolicy.c
17787 - (nm_device_activate_wireless): don't ever try to get a new AP
17788 for non-scanning devices, just fail. The user must choose
17789 a new access point manually.
17790 - (nm_device_activate): grab the AP that failed connection and
17792 - (nm_device_update_best_ap): Clear the best AP if we don't have
17793 a link to it, user must manually choose a new one
17794 - (nm_device_do_pseudo_scan): remove function
17795 - (nm_device_wireless_process_scan_results): remove bits for non-
17796 scanning cards since they never get here
17797 - (nm_device_wireless_scan): remove bits for non-scanning devices,
17798 and fake the scan list for test devices a bit earlier
17800 * src/NetworkManagerPolicy.c
17801 - (nm_policy_activation_finish): use the failed_ap that we get
17802 passed rather than getting the best_ap from the card, which
17803 may have changed since we were scheduled
17804 - (nm_policy_allowed_ap_list_update): for non-scanning devices,
17805 update their scan list directly from the allowed list when
17806 we get updates to the allowed list from NetworkManagerInfo
17808 * src/NetworkManagerPolicy.h
17809 - New member for failed access point in NMActivationResult
17811 -------------------------------------
17813 Driver Notification patch: notifies the user when their driver
17814 sucks. Gives them the option to ignore further insertions
17815 of the card that has the sucky driver.
17818 - Remove the SEMI_SUPPORTED member from the NMDriverSupportLevel
17819 enum and replace it with NO_CARRIER_DETECT and
17822 * panel-applet/NMWirelessApplet.[ch]
17823 - Merge essid.glade -> wireless-applet.glade
17824 - Implement the "Your driver sucks" notification dialog
17826 * panel-applet/NMWirelessAppletDbus.c
17827 - Change stuff from getSupportsCarrierDetect->getDriverSupportLevel
17828 - Grab hardware address for each device from NM too
17829 - Check whether the driver for each device sucks or not whenever
17830 a new device is noticed
17832 * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17833 - Deal with stuff being in wireless-applet.glade now rather than essid.glade
17835 * src/NetworkManager.c
17836 - Fix a double-unref on device removal
17838 * src/NetworkManagerUtils.c
17839 - Set appropriate driver support level on a device that doesn't
17840 support scanning or carrier detection
17842 * src/nm-dbus-device.c
17843 - New "getHWAddress" dbus method on devices
17844 - getSupportsCarrierDetect -> getDriverSupportLevel
17846 2005-03-31 Dan Williams <dcbw@redhat.com>
17848 * src/NetworkManagerDevice.c
17849 - (nm_device_wireless_scan): Fix leak of scan results in some
17852 2005-03-29 Dan Williams <dcbw@redhat.com>
17854 * src/NetworkManager.c
17855 - (nm_poll_and_update_wireless_link_state): make code less indented
17857 Patch from Bill Moss:
17858 * src/NetworkManager.c
17859 - (nm_device_update_link_state): Update signal strength on wireless
17860 devices every time we update link state too.
17862 2005-03-29 Dan Williams <dcbw@redhat.com>
17864 * src/NetworkManagerDevice.c
17865 - (nm_device_set_essid): Work around Orinoco cards which need
17866 extra time after setting the ESSID
17868 2005-03-29 Dan Williams <dcbw@redhat.com>
17870 * src/NetworkManagerDevice.c
17871 - Merge one more bit of Peter Jones' completion patch
17873 2005-03-29 Dan Williams <dcbw@redhat.com>
17875 * src/NetworkManagerDevice.c
17876 - (nm_device_force_use): Fix possible segfault
17878 2005-03-29 Dan Williams <dcbw@redhat.com>
17880 * src/NetworkManagerDevice.c
17881 - Use iw_get_ext() where we should rather than iw_set_ext()
17883 2005-03-29 Dan Williams <dcbw@redhat.com>
17885 * src/NetworkManagerDevice.c
17886 - (nm_device_set_up_down): remove check for unsupported devices
17887 that caused NM to not bring devices up when they were
17888 added to the device list.
17890 2005-03-28 Dan Williams <dcbw@redhat.com>
17892 * src/NetworkManagerDevice.c
17893 - (mdio_read): Fix two bugs that caused all devices to fail
17894 the MII carrier detection support checks
17896 2005-03-26 Dan Williams <dcbw@redhat.com>
17898 * src/NetworkManagerDevice.c
17899 - (nm_device_wireless_scan): Remove duplicated scanning code
17901 2005-03-25 Dan Williams <dcbw@redhat.com>
17903 * panel-applet/NMWirelessApplet.c
17904 - (nmwa_about_cb): Add some more contributors
17905 - (nmwa_update_state): show the applet when there's no connection
17906 - Enable the "Stop/Resume all wireless devices" option in the
17908 - New "no connection" icon
17910 * src/NetworkManager.c
17911 - (nm_poll_and_update_wireless_link_state): don't do anything if
17912 wireless is disabled or we're asleep
17914 * src/NetworkManagerDHCP.c
17915 - Remove trailing "\n" on debug messages
17917 * src/NetworkManagerDbus.c
17918 - (nm_dbus_network_status_from_data): new state "asleep"
17920 * src/NetworkManagerDevice.c
17921 - Merge most of Peter Jones' "completion" patch that greatly reduces
17922 latency and wait times for most operations
17923 - (nm_device_wireless_scan): Don't scan when asleep
17925 * src/NetworkManagerPolicy.c
17926 - (nm_policy_get_best_device): return no device when asleep
17927 - (nm_policy_allowed_ap_list_update): From Bill Moss: merge properties
17928 for all wireless devices on update, not just active device
17930 * src/NetworkManagerUtils.c
17931 - Merge Peter Jones' "completion" patch
17934 - (nm_dbus_nm_set_wireless_enabled): bring down wireless devices when
17935 we're told to disable them
17936 - (nm_dbus_nm_sleep, nm_dbus_nm_wake): new functions for sleep/wake
17939 - New variants of the warn/info/error/debug print functions that can take
17940 variables rather than static strings
17942 2005-03-24 Dan Williams <dcbw@redhat.com>
17944 * src/NetworkManagerUtils.c
17945 - (nm_get_device_driver_name): driver names are now on the parents of
17946 "Network Interface" objects, so look for them there
17948 2005-03-24 Dan Williams <dcbw@redhat.com>
17951 - Escape some forgotten object paths before we shove them through dbus
17953 2005-03-24 Dan Williams <dcbw@redhat.com>
17955 * dhcpcd/dhcpcd.[ch]
17956 src/NetworkManagerDHCP.c
17957 - Switch names from "*_record_*" -> "*_element_*" to clarify things a bit
17958 (ie, dhcp_option_record_len -> dhcp_option_element_len)
17960 * src/NetworkManagerDbus.c
17963 * src/nm-dbus-dhcp.c
17964 - Make the API suck less. There is now only 1 type of each function,
17965 ie only "getInteger" and no longer also "getIntegerv". All types
17966 are returned encapsulated in a DBUS_TYPE_ARRAY, even for options
17967 that will never have more than 1 element. This should simplify
17970 * test/nm-dhcp-opt-test.c
17971 - Make the tool not segfault
17972 - adapt to new DHCP Options API
17974 2005-03-22 Dan Williams <dcbw@redhat.com>
17976 * src/NetworkManager.c
17977 - (nm_wired_link_deactivated): actually ignore netlink events from
17980 2005-03-22 Dan Williams <dcbw@redhat.com>
17982 * src/NetworkManager.c
17983 - (nm_wired_link_activated): actually ignore netlink events from
17986 2005-03-17 Dan Williams <dcbw@redhat.com>
17988 Patch from Tom Parker:
17989 * src/nm-netlink-monitor.c
17991 * info-daemon/NetworkManagerInfoDbus.c
17992 - (nmi_dbus_update_network_auth_method): free GConf values
17994 Patch from Nathaniel McCallum <npmccallum@gentoo.org>:
17995 * src/NetworkManagerDevice.c
17996 - (nm_device_set_wireless_config): wait for successful
17997 association longer for some cards (Atheros a/b/g)
17999 2005-03-15 Ray Strode <rstrode@redhat.com>
18001 * src/NetworkManager.c:
18002 (sigterm_pipe_handler):
18005 2005-03-15 Ray Strode <rstrode@redhat.com>
18007 * src/NetworkManagerDbus.c:
18008 Fix some sign weirdness that gcc4 doesn't like,
18009 and add a header file so PPC can hopefully find
18012 2005-03-14 Ray Strode <rstrode@redhat.com>
18014 Fourth (probably working) cut at porting to
18015 dbus 0.30 api and new hal. This cut adds
18016 some new logging macros to make debugging
18019 * dispatcher-daemon/NetworkManagerDispatcher.c:
18020 * info-daemon/NetworkmanagerInfo.c:
18021 * info-daemon/NetworkManagerInfoPassphraseDialog.c:
18022 * info-daemon/NetworkManagerInfoVPN.c:
18023 * src/NetworkManager.c:
18024 * src/NetworkManagerAP.c:
18025 * src/NetworkManagerAPList.c:
18026 * src/NetworkManagerDHCP.c:
18027 * src/NetworkManagerDbus.c:
18028 * src/NetworkManagerDevice.c:
18029 * src/NetworkManagerPolicy.c:
18030 * src/NetworkManagerSystem.c:
18031 * src/NetworkManagerUtils.c:
18032 * src/NetworkManagerWireless.c:
18034 * src/nm-dbus-nm.c:
18035 * src/backends/NetworkManagerDebian.c:
18036 * src/backends/NetworkManagerGentoo.c:
18037 * src/backends/NetworkManagerRedHat.c:
18038 * src/backends/NetworkManagerSlackware.c:
18039 use new logging macros.
18041 * dispatcher-daemon/NetworkManagerDispatcher.c:
18042 (nmd_dbus_filter): s/dbus_free/g_free/
18044 * info-daemon/Makefile.am: link in utils library.
18045 * info-daemon/NetworkmanagerInfo.c: use new logging
18047 (nmi_dbus_get_network): don't assume enumerations
18049 (nmi_dbus_nmi_message_handler): don't free what
18050 doesn't belong to us.
18052 * libnm_glib/libnm_glib.c:
18053 (libnm_glib_get_nm_status):
18054 (libnm_glib_init): don't free what doesn't
18056 (libnm_glib_dbus): strdup result, so it doesn't get
18057 lost when message is unref'd.
18059 * panel-applet/NMWirelessAppletDbus.c:
18060 (nmwa_dbus_update_devices): s/dbus_free/g_free/
18062 * src/NetworkManager.c:
18063 (nm_monitor_wired_link_state): request initial status
18064 dump of all cards when we start up, instead of relying
18065 on /sys/.../carrier.
18066 (nm_info_handler), (nm_set_up_log_handlers):
18067 log handlers to specify what syslog priorites
18068 the logging macros default to.
18070 * src/NetworkManagerAPList.c:
18071 (nm_ap_list_populate_from_nmi):
18072 s/dbus_free_string_array/g_strfreev/
18074 * src/NetworkManagerDbus.c:
18075 (nm_dbus_get_network_object):
18076 validate d-bus message argument types.
18077 Advance message iterator after reading argument,
18078 prepend instead of append to GSList.
18080 * src/NetworkManagerDevice.c:
18081 (nm_device_probe_wired_link_status):
18082 remove redundant /sys in /sys path. remove wrong
18083 contents == NULL means has carrier assumption.
18085 * src/nm-netlink-monitor.c
18086 (nm_netlink_monitor_request_status): implement
18087 function to ask kernel to dump interface link
18088 status over netlink socket.
18090 * test/*.c: s/dbus_free/g_free/
18092 * utils/nm-utils.h:
18093 (nm_print_backtrace): new macro to print backtrace.
18094 (nm_get_timestamp): new macro to get sub-second precise
18096 (nm_info), (nm_debug), (nm_warning), (nm_error):
18097 new logging functions. nm_info just prints,
18098 nm_debug includes timestamp and function,
18099 nm_warning includes function, nm_error includes
18100 backtrace and sigtrap.
18102 2005-03-11 Ray Strode <rstrode@redhat.com>
18104 Third (unfinished, partially working) cut at porting to
18105 dbus 0.30 api and new hal.
18107 * info-daemon/NetworkManagerInfoDbus.c:
18108 don't free null arrays.
18110 * panel-applet/NMWirelessAppletDbus.c:
18111 * src/nm-dbus-device.c:
18112 * src/nm-dbus-net.c:
18113 * src/NetworkManagerDbus.c: more
18114 STRING -> OBJECT_PATH fun
18115 * src/NetworkManagerDevice.c:
18116 * src/NetworkManagerDevice.h:
18117 (rename nm_device_get_link_active): rename to
18118 nm_device_has_active_link
18119 (nm_device_wireless_link_active): rename to
18120 nm_device_probe_wireless_link_state
18121 (nm_device_wired_link_active): rename to
18122 nm_device_probe_wired_link_state. Rewrite to
18123 use carrier file since hal doesn't maintain
18124 link state anymore.
18125 (nm_device_update_link_active): rename to
18126 nm_device_update_link_state
18127 * src/NetworkManagerPolicy.c
18128 (nm_policy_activation_finish): check for NULL
18132 * src/NetworkManagerMain.h:
18133 * src/NetworkManager.c:
18134 * src/nm-netlink-monitor.c:
18135 * src/nm-netlink-monitor.h: New class to support
18136 monitoring wired ethernet link status, since HAL
18137 doesn't export that information anymore.
18139 2005-03-09 Ray Strode <rstrode@redhat.com>
18141 Second (unfinished, unworking) cut at porting to
18144 * dispatcher-daemon/NetworkManagerDispatcher.c:
18145 * info-daemon/NetworkManagerInfoDbus.c:
18146 * panel-applet/NMWirelessAppletDbus.c:
18147 * src/NetworkManagerDbusUtils.c:
18148 * src/NetworkManagerDbusUtils.h:
18149 * src/nm-dbus-device.c:
18150 * src/nm-dbus-nm.c:
18151 * test/nmtest.c: support dbus "object path" type
18155 * info-daemon/Makefile.am:
18156 * libnm_glib/Makefile.am:
18157 * panel-applet/Makefile.am:
18158 * dispatcher-daemon/Makefile.am
18160 * test/Makefile.am:
18161 * utils/Makefile.am:
18162 * utils/nm-utils.c:
18163 * utils/nm-utils.h: new utils static lib
18165 2005-03-07 Ray Strode <rstrode@redhat.com>
18167 * info-daemon/NetworkManagerInfoDbus.c:
18168 * libnm_glib/libnm_glib.c:
18169 * panel-applet/NMWirelessAppletDbus.c:
18170 * src/NetworkManager.c:
18171 * src/NetworkManagerDbus.c:
18172 * src/NetworkManagerDevice.c:
18173 * src/NetworkManagerUtils.c:
18174 * src/nm-dbus-device.c:
18175 * src/nm-dbus-dhcp.c:
18176 * src/nm-dbus-net.c:
18177 * src/nm-dbus-nm.c:
18178 * test/nminfotest.c:
18179 First (unfinished, unworking) cut at porting to dbus 0.30 api.
18181 2005-03-04 Dan Williams <dcbw@redhat.com>
18186 2005-03-04 Dan Williams <dcbw@redhat.com>
18188 Patch from Peter Jones:
18189 - Make stuff work with gcc 4.0
18191 2005-02-28 Maxim Dziumanenko <mvd@mylinux.com.ua>
18193 * uk.po: Added "uk" (Ukrainian) to ALL_LINGUAS.
18195 2005-02-27 Jim Huang <jserv@kaffe.org>
18197 * configure.in: Added "zh_TW" (Traditional Chinese) to ALL_LINGUAS.
18199 2005-02-27 Dan Williams <dcbw@redhat.com>
18201 Patch from Bill Moss:
18202 * panel-applet/NMWirelessAppletDbus.c
18203 - Make sure strength for current access point is up-to-date when we
18204 update the gui data model
18206 2005-02-27 Alessio Frusciante <algol@firenze.linux.it>
18208 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
18210 2005-02-27 Dan Williams <dcbw@redhat.com>
18212 * src/backends/NetworkManagerRedHat.c
18213 - (nm_system_init): Kill any dhclient processes lying around as well
18214 as stopping 'nifd' if its already been started. NetworkManager
18215 subsumes the functions of nifd (kicking mDNSResponder, autoip)
18217 2005-02-27 Dan Williams <dcbw@redhat.com>
18219 * panel-applet/NMWirelessApplet.c
18220 - (nmwa_destroy): Really mean to destroy GUI data model first, then
18221 dbus data model, not the GUI data model twice.
18223 2005-02-27 Dan Williams <dcbw@redhat.com>
18225 * panel-applet/NMWirelessApplet.[ch]
18226 panel-applet/NMWirelessAppletDbus.[ch]
18227 - Move to incremental network updates. Instead of blowing away our list
18228 of devices every time we get a signal from NetworkManager, we now
18229 incrementally add/remove networks when NetworkManager notifies us that
18230 a new network has appeared or disappered. Strength updates now happen
18231 on-the-fly for each access point as well. There are now two copies of
18232 data from NetworkManager: one for the dbus side, and one for the gui side.
18233 When the dbus side data is modified, it is copied over to the gui side
18234 so we don't have to hold the data_mutex for long periods of time (and
18235 therefore block animation of the applet's icon).
18236 - Clean up some memleaks too
18238 * panel-applet/NMWirelessAppletOtherNetworkDialog.c
18239 - Minor code beautification
18241 * src/NetworkManagerAPList.c
18242 - (nm_ap_list_merge_scanned_ap): return whether or not the access point is
18243 completely new and whether or not an existing one's strength was updated.
18244 Try to fix multiple access points and signal strength by using the highest
18245 signal strength in each scan for any given ESSID.
18247 * src/NetworkManagerDbus.[ch]
18248 - (nm_dbus_signal_wireless_network_change): consolidate signals that deal with
18249 wireless networks; now we have only WirelessNetworkUpdate which includes
18250 a UINT32 for Appeared, Disappeared, or StrengthChanged (see NetworkManager.h).
18251 - Kill usage of DbusMessageIter
18253 * src/NetworkManagerDevice.c
18254 - (nm_device_wireless_process_scan_results): Use the same timestamp for all APs
18255 in the same scan result list. Copy ESSIDs-by-address earlier on, for each
18256 AP rather than all-at-once. Also don't ever remove the AP a card is
18257 currently associated with from the network list.
18258 - Update for new signals during scan, send out Appeared, Disappeared, or
18259 StrengthChanged when necessary.
18261 2005-02-25 Dan Williams <dcbw@redhat.com>
18264 - Line break the README
18266 2005-02-25 Dan Williams <dcbw@redhat.com>
18268 * panel-applet/NMWirelessAppletOtherNetworkDialog.c
18269 - Remove usage of gtk_window_set_default_size()
18271 * panel-applet/essid.glade
18272 - Stick default size here
18273 - Add in random crap that current glade wants to add in now
18275 2005-02-25 Dan Williams <dcbw@redhat.com>
18277 * src/backends/NetworkManagerRedHat.c
18278 - For non-caching-nameserver/non-named case, ensure that nscd is running
18279 and that we actually tell nscd to reload the hosts cache when it changes
18281 2005-02-25 Dan Williams <dcbw@redhat.com>
18283 * info-daemon/NetworkManagerInfoDbus.c
18284 - (nmi_dbus_get_network_properties): whack usage of DbusMessageIter
18286 * test/nminfotest.c
18287 - Whack usage of DbusMessageIter
18288 - Clean up DbusError and DbusMessage handling and freeing
18289 - Remove unused unregister handler
18292 - Whack usage of DbusMessageIter
18294 * test/nmtestdevices.c
18295 - Whack usage of DbusMessageIter
18297 2005-02-25 Dan Williams <dcbw@redhat.com>
18300 - New signal type NMNetworkStatus in preparation for the "WirelessNetworkUpdate"
18303 2005-02-25 Dan Williams <dcbw@redhat.com>
18305 * named/nm-named-manager.c
18306 - Ensure that pid and watch variables for child named process get cleared out
18307 when the child goes away.
18309 2005-02-22 Dan Williams <dcbw@redhat.com>
18311 * src/NetworkManagerPolicy.c
18312 - (nm_policy_activation_finish): Deactivate a device if its activation fails,
18313 and NULL out data->active_device so that we have to choose another one.
18314 This may make NetworkManager keep attempting to connect to a wired network
18315 if it fails, but if it keeps failing the wired network has more problems than
18316 just NetworkManager.
18318 * src/backends/NetworkManagerRedHat.c
18319 - (nm_system_update_dns): fix to actually run nscd -i hosts when nscd
18322 * named/nm-named-manager.c
18323 - (rewrite_resolv_conf): Call nm_system_update_dns() when not using
18324 named so that the distro can flush whatever name service caching
18327 2005-02-21 Dan Williams <dcbw@redhat.com>
18329 * src/NetworkManagerDHCP.[ch]
18330 - (nm_device_dhcp_remove_timeouts): new function
18332 * src/NetworkManagerDevice.c
18333 - Use nm_device_dhcp_remove_timeouts() everywhere that we need to
18334 remove the DHCP timeouts.
18336 2005-02-21 Dan Williams <dcbw@redhat.com>
18338 * panel-applet/NMWirelessApplet.[ch]
18339 panel-applet/menu-info.[ch]
18340 - Give the panel applet some major love: menu items are no longer
18341 subclasses of GtkCheckMenuItem, they are actual GtkCheckMenuItems.
18342 This allows the applet to actually reflect theme changes correctly,
18343 since themeing of subclassed items in GTK _sucks_.
18345 2005-02-18 Dan Williams <dcbw@redhat.com>
18347 * libnm_glib/libnm_glib.[ch]
18348 test/libnm_glib_test.c
18349 - Clean up libnm_glib API a bit, callback is now passed a libnm_glib_ctx
18350 and its data, and doesn't have to free the callback data anymore
18352 2005-02-18 Dan Williams <dcbw@redhat.com>
18354 * panel-applet/NMWirelessApplet.c
18355 - Revert 2005-02-18 William Jon McCann fix for standard
18356 copyright string until it passes 'make distcheck'.
18357 With standard copyright string, xgettext complains
18358 about "Non-ASCII string at ...".
18360 2005-02-18 Dan Williams <dcbw@redhat.com>
18362 * panel-applet/essid.glade
18363 panel-applet/NMWirelessAppletOtherNetworksDialog.c
18364 - Correct spelling of "adaptor"->"adapter"
18366 2005-02-18 William Jon McCann <mccann@jhu.edu>
18368 * panel-applet/NMWirelessApplet.c: Use GTK_CHECK_VERSION() macro.
18369 (nmwa_about_cb): Use standard copyright string. Update comment
18370 text to reflect that it is a notification area applet. Remove
18371 leading newline in authors list.
18372 (nmwa_menu_show_cb, nmwa_setup_widgets): Populate menu on show
18373 instead of on parent menu item activation. Fixes #167550.
18375 2005-02-18 William Jon McCann <mccann@jhu.edu>
18377 * panel-applet/essid.glade: Capitalize items as per HIG.
18380 2005-02-16 William Jon McCann <mccann@jhu.edu>
18382 * panel-applet/gtkcellrendererprogress.[ch]: Only compile these
18383 files for GTK 2.4 or lower, since now public in GTK 2.6.
18385 * panel-applet/essid.glade: Don't specify window size.
18387 2005-02-17 Dan Williams <dcbw@redhat.com>
18389 Caught by Bill Moss:
18391 - Time remaining for DHCP transaction calculation was incorrectly
18392 inside a #ifdef DEBUG
18394 2005-02-15 Christophe Merlet <redfox@redfoxcenter.org>
18396 * configure.in: Added fr (French) to ALL_LINGUAS.
18398 2005-02-14 Dan Williams <dcbw@redhat.com>
18400 * src/NetworkManagerDHCP.c
18401 - (set_domain_searches): Fix free of invalid pointer
18403 2005-02-14 Dan Williams <dcbw@redhat.com>
18405 Patch from Peter Jones:
18407 - Ensure we return RET_DHCP_CEASED everywhere we should
18408 * dhcpcd/udpipgen.c
18409 - Use faster TOS for IP packets
18410 - Don't set ip_id since we're UDP
18412 Patch from Tomislav Vujec:
18413 * src/nm-dbus-dhcp.c
18414 test/nm-dhcp-opt-test.c
18415 - Clean up warnings to enable cvs tree compilation.
18417 2005-02-14 Tomislav Vujec <tvujec@redhat.com>
18421 - Add the Croatian locale.
18423 2005-02-14 Colin Walters <walters@verbum.org>
18425 * src/NetworkManagerDHCP.c (set_domain_searches): Handle space-separated
18426 list of domains to search.
18428 * src/NetworkManagerMain.h (NMData): Handle multiple domain searches.
18430 2005-02-13 Dan Williams <dcbw@redhat.com>
18433 - Debug output cleanups of DHCP option printing and parsing.
18435 2005-02-13 Dan Williams <dcbw@redhat.com>
18437 Patch from Dan Reed: DHCP options D-BUS API
18438 Exposes the DHCP options that a device receives to clients over D-BUS.
18444 - Correct names, option length, and types for DHCP options
18446 * dhcpcd/dhcpcd.[ch]
18447 - Clarify function names that access DHCP options & data
18449 * src/NetworkManagerDHCP.c
18450 - Use new DHCP data access functions
18452 * src/NetworkManagerDbus.c
18453 - Message handler for DHCP functions
18455 * src/nm-dbus-dhcp.[ch] (new)
18456 - DHCP dbus methods
18458 * test/nm-dhcp-opt-test.c
18459 - Test DHCP D-BUS API and return all present DHCP options
18461 2005-02-12 Dan Williams <dcbw@redhat.com>
18464 test/nmclienttest.c
18466 - Move nmclienttest.c -> nmtest.c
18468 2005-02-12 Dan Williams <dcbw@redhat.com>
18470 * dhcpcd/buildmsg.c
18471 - Pad DHCP packets until they are at least 300 bytes in size.
18473 2005-02-11 Dan Williams <dcbw@redhat.com>
18476 - (dhcp_init): only print out client ID and class ID if they are specified
18478 * src/NetworkManagerDbus.[ch]
18479 src/nm-dbus-nm.[ch]
18480 src/nm-dbus-device.[ch]
18481 src/nm-dbus-net.[ch]
18482 - Move NM, Device, and Net functions to separate files and use the
18483 dbus method list stuff in NetworkManagerDbusUtils.c to do
18486 * src/NetworkManagerDbusUtils.c
18487 - Add new validate_method called before each dispatch (if present)
18488 that can validate the method call
18490 * src/NetworkManagerWireless.c
18491 - (nm_wireless_qual_to_percent): Fix misplaced "!" that caused signal
18492 levels never to be evaluated
18494 Patch from j@bootlab.org
18495 * src/NetworkManagerDevice.c
18496 - Add typedef for "u64"
18498 * src/backends/NetworkManagerDebian.c
18499 - Copy in Dave Woodhouse's fixes for IPv6
18501 2005-02-11 Dan Williams <dcbw@redhat.com>
18503 Patch from Dave Woodhouse for IPv6:
18504 * src/NetworkManagerUtils.c
18505 - (nm_ethernet_address_is_valid): Check for prism54 dummy MAC address
18506 and multicast addresses
18508 * src/NetworkManagerDevice.c
18509 - (nm_device_set_up_down): make sure our cached MAC address is up-to-date
18510 after bringing up a card.
18512 2005-02-10 Dan Williams <dcbw@redhat.com>
18514 Patch from Dave Woodhouse:
18515 * src/NetworkManagerSystem.h
18516 src/backends/NetworkManagerDebian.c
18517 src/backends/NetworkManagerGentoo.c
18518 src/backends/NetworkManagerSlackware.c
18519 - New nm_system_device_add_ip6_link_address() function to add link-local
18520 address on an interface. Stubbed in Debian, Gentoo, and Slackware.
18522 * src/backends/NetworkManagerRedHat.c
18523 - (nm_system_device_add_ip6_link_address): implement
18524 - (nm_system_device_flush_addresses): revert to previous behavior of
18525 flushing all addresses
18527 2005-02-10 Dan Williams <dcbw@redhat.com>
18529 Patch from Tom Parker:
18530 * src/NetworkManagerDevice.c
18531 - Remove the "#include <pci/types.h>" since both the ethtool.h and
18532 mii.h headers are broken, and instead use our own typedefs
18534 2005-02-10 Dan Williams <dcbw@redhat.com>
18536 * dhcpcd/buildmsg.c
18537 - (fill_host_and_class_id): only fill in client and class IDs if
18538 they are set by callers.
18541 - (class_id_setup): don't autogenerate a class ID, only use one
18542 we're given, if any.
18543 - (client_id_setup): don't autogenerate a client ID, only use one
18544 we're given, if any.
18547 - (dhcp_interface_init): ensure that client options are correctly
18550 * src/NetworkManagerDHCP.c
18551 - (nm_device_dhcp_request): pass hostname to dhcp library
18553 2005-02-10 Dan Williams <dcbw@redhat.com>
18556 - #rh147661# Don't send kernel version in DHCP requests
18558 * src/NetworkManagerSystem.h
18559 src/backends/NetworkManagerDebian.c
18560 src/backends/NetworkManagerGentoo.c
18561 src/backends/NetworkManagerRedHat.c
18562 src/backends/NetworkManagerSlackware.c
18563 - Remove the nm_system_device_run_dhcp() and nm_system_device_stop_dhcp()
18564 functions, they are no longer used anyway
18566 * src/backends/NetworkManagerRedHat.c
18567 - (nm_system_device_flush_addresses): only flush "scope global" and "scope site"
18568 addresses in an attempt to keep IPv6 local-scope addresses around
18570 2005-02-10 Dan Williams <dcbw@redhat.com>
18572 * src/NetworkManager.c
18573 - (nm_create_device_and_add_to_list): change the add message slightly
18575 * src/NetworkManagerUtils.c
18576 - (nm_get_wireless_driver_support_level, nm_get_wired_driver_support_level):
18577 Return driver name to calling function
18578 - (nm_get_driver_support_level): print out the driver a device is using
18579 during the support check
18581 Patch from Dave Woodhouse:
18582 * dhcpcd/udpipgen.c
18583 - (in_cksum): copy last byte of odd-sized packets into a
18584 'u_short' rather than a 'u_char', should fix wrong checksums
18585 on big-endian platforms
18587 2005-02-09 Dan Williams <dcbw@redhat.com>
18589 * Clean up usage of GSList objects and looping through their members
18590 * Clean up DHCP rebind/renew timeouts, hopefully they will work correctly
18592 * Fix problem where even if scanning was turned off, card would still
18593 cycle through frequencies.
18595 2005-02-08 Dan Williams <dcbw@redhat.com>
18597 * panel-applet/NMWirelessApplet.c
18600 2005-02-08 Dan Williams <dcbw@redhat.com>
18602 Patch from Bill Moss
18603 * panel-applet/NMWirelessApplet.c
18604 - Restore correct ESSID in tooltips
18606 2005-02-07 Dan Williams <dcbw@redhat.com>
18608 * panel-applet/NMWirelessApplet.[ch]
18609 - Add a context menu that contains:
18610 Pause/Resume Wireless Scanning
18611 Stop/Start All Wireless Devices
18613 - Grab active device strength off active device,
18616 * panel-applet/NMWirelessAppletDbus.[ch]
18617 - Add DBUS accessors for "getSupportsCarrierDetect", "setScanningEnabled",
18618 "getScanningEnabled", "setWirelessEnabled", and "getWirelessEnabled"
18619 - Update active device strength every 2 seconds, not every 1 second
18621 * panel-applet/menu-info.c
18622 - Only disable wired devices in the menu when they support carrier detection,
18623 and don't currently have a link. Non-carrier-detect devices will always
18627 src/NetworkManagerDbusUtils.[ch]
18628 - Add new new dbus utils sources
18630 * src/NetworkManager.c
18631 - Fixes for new link detection, we no longer need to call nm_device_update_link_active()
18632 with the boolean parameter
18633 - Set scanning_enabled & wireless_enabled to TRUE
18635 * src/NetworkManagerDbus.c
18636 - Use new dbus util method dispatcher functions for org.freedesktop.NetworkManager methods
18637 - Implement scanning & wireless enable/disable calls
18638 - Remove the dbus vtable unregister handlers, weren't doing anything with them anyway
18640 * src/NetworkManagerDevice.c
18641 - New link detection stuff again...
18642 o Create device's mainloop earlier (but don't run it earlier)
18643 o Hook up new carrier-detect support stuff
18644 o Add in the ethtool & mii support detection code
18645 - Don't scan if scanning is disabled
18647 * src/NetworkManagerPolicy.c
18648 - Never automatically choose a device that doesn't support carrier detection
18649 - Don't automatically choose a wireless device if wireless is disabled
18651 2005-02-07 Dan Williams <dcbw@redhat.com>
18653 * libnm_glib/libnm_glib.c
18654 - Small cleanup in element list iteration
18656 2005-02-07 Dan Williams <dcbw@redhat.com>
18658 * src/NetworkManagerWireless.c
18659 - (nm_wireless_qual_to_percent): Fix up wireless quality calculations
18660 to be in line with the WEXT quality specification
18662 2005-02-02 Dan Williams <dcbw@redhat.com>
18664 Patch from Nathan Fredrickson <nathan@silverorange.com>
18665 * Fix up compile for deprecation of libgnomeui
18666 - Switch to <glib/gi18n.h> from <libintl.h>
18667 - Remove <libgnomeui/libgnomeui.h> includes
18668 - Use gtk_window_set_default_icon_from_file() rather than
18669 gnome_window_set_default_icon_from_file()
18671 * named/nm-named-manager.c
18672 - (generate_named_conf): Fix return-nothing in non-void
18675 2005-02-02 Dan Williams <dcbw@redhat.com>
18677 * Clean up unused variables and the like
18679 2005-02-02 Dan Williams <dcbw@redhat.com>
18681 * src/NetworkManagerAPList.c
18682 - (nm_ap_list_merge_scanned_ap): merge strength too
18684 * src/NetworkManagerUtils.c
18685 - (nm_lock_mutex, nm_register_mutex_desc): new calls to facilitate debugging
18686 of locking issues by printing out prettier information than g_mutex_lock
18687 - Print out names of mutexes registered with nm_register_mutex_desc()
18688 - (nm_try_lock_mutex): don't do the waiting thing when trying to lock, causes
18689 us to seemingly block here for too long
18691 * src/NetworkManager.c
18692 src/NetworkManagerAPList.c
18693 src/NetworkManagerDevice.c
18694 - Convert to using nm_lock_mutex/nm_unlock_mutex rather than the glib variants
18695 so we get better debug information printed
18697 * src/NetworkManagerDbus.c
18698 - (nm_dbus_devices_handle_request): reduce usage of nm_device_need_ap_switch()
18699 since it sometimes has locking side effects
18700 - (nm_device_get_association_pause_value): Reduce 802.11a card pause value to 8s
18702 - (nm_device_need_ap_switch): If we can't acquire the scan lock, return saying
18703 we don't need a switch. This gets called often enough that we can't block
18704 until the scan mutex is acquired, because we'll block on device activation
18705 and a few other things, which hangs main thread for too long.
18707 * src/NetworkManagerPolicy.c
18708 - (nm_policy_auto_get_best_device): reduce the possiblity that
18709 nm_device_need_ap_switch() will be called
18711 2005-02-02 Dan Williams <dcbw@redhat.com>
18713 * panel-applet/NMWirelessApplet.c
18714 - Display name of wireless network we are connecting to or connected to
18715 in the tooltip of the applet
18717 2005-02-02 Dan Williams <dcbw@redhat.com>
18719 * src/NetworkManagerDHCP.c
18720 - Hopefully fix double-default-route problem by cleaning up the default
18721 route added by DHCP code right before the DHCP transaction begins
18723 2005-02-02 Dan Williams <dcbw@redhat.com>
18725 * named/nm-named-manager.c
18726 - Write out valid resolv.conf when we exit
18728 2005-02-01 Dan Williams <dcbw@redhat.com>
18730 Patch from Colin Walters:
18731 * named/nm-named-manager.c
18732 - Make multi-domain search options work
18734 2005-01-31 Dan Williams <dcbw@redhat.com>
18736 * info-daemon/NetworkManagerInfoDbus.c
18737 - (nmi_dbus_nmi_message_handler): make sure 'dialog' exists before using it
18739 * src/NetworkManagerDevice.c
18740 - (nm_device_new): Don't store the entire range struct, use only what we need
18741 (which is currently avg_quality, max_quality, and frequencies). Also
18742 zero device structure when we've free'd it to maybe expose errors down
18744 - (nm_device_update_signal_strength): grab the scan mutex before getting
18745 quality data from the card since quality will be useless during a scan.
18746 Call updated wireless qual-to-percent function with values stored in
18747 nm_device_new() earlier.
18748 - Remove some unused functions (nm_device_get_max_quality(), nm_device_get_noise(),
18749 nm_device_get_bad_crypt_packets())
18750 - (nm_device_activate_wireless_adhoc): use new frequency values we go in
18752 - (get_initial_auth_method): always use the Auth method that's in the allowed
18753 list if available. Problem was this: when the WEP key is wrong, NM will
18754 try OS then SK modes, and then get stuck in SK mode after that. This
18756 - (nm_device_wireless_process_scan_results): work with new qual-to-percent
18759 * src/NetworkManagerWireless.c
18760 - (nm_wireless_qual_to_percent): try to make this function actually work and
18761 mimic iwlib behavior. Use card's idea of quality divided by max_qual
18762 if that's all present, otherwise fall back to signal-to-noise ratios.
18764 2005-01-29 Dan Williams <dcbw@redhat.com>
18766 * initscript/RedHat/NetworkManager
18767 - Don't spit out sysctl stuff to console
18769 * libnm_glib/libnm_glib.c
18770 - (libnm_glib_init): call dbus_g_thread_init()
18772 * panel-applet/NMWirelessAppletDbus.c
18773 - (nmwa_dbus_worker): call dbus_g_thread_init()
18775 * src/NetworkManager.c
18776 - (main): call dbus_g_thread_init()
18778 * src/NetworkManagerAPList.c
18779 - (nm_ap_list_print_members): use LOG_ERR instead of LOG_DEBUG
18780 so we can actually see what's there in a normal syslog
18782 * src/NetworkManagerDevice.c
18783 - (nm_device_activate_wireless): print out the "waiting for access point"
18784 message only once, then say what access point we actually got after
18786 - (nm_device_need_ap_switch): If a scan is in progress when we're in this
18787 function, wait until the scan is done. Scans may change the ESSID of
18788 the card, making this function think we need to switch access points
18789 - (nm_device_wireless_process_scan_results): for artificial access points
18790 don't check against the card's ESSID, but the best_ap's ESSID. This
18791 prevents collisions with the scanning code, which may change the card's
18792 ESSID and cause the access point to get dropped from the device's AP
18793 list. Also increase the keep-around time to 2m from 60s since the max
18794 scan interval could be 60s in some cases.
18796 * src/NetworkManagerPolicy.c
18797 - (nm_policy_activation_finish): Don't add invalid MAC addresses to GConf
18798 - (nm_policy_allowed_ap_list_update): When we update, make sure we copy over
18799 the new properties and ESSIDs to the device's AP list. Fixes some races
18800 between NM and NMI.
18802 2005-01-27 Dan Williams <dcbw@redhat.com>
18804 * info-daemon/NetworkManagerInfoDbus.c
18805 - (nmi_dbus_add_network_address): if the network doesn't yet exist in
18806 GConf, make a minimal entry for it (essid & timestamp)
18808 * src/NetworkManagerAPList.c
18809 - (nm_ap_list_populate_from_nmi): Don't try to grab network data if
18810 NetworkManagerInfo isn't running
18812 * src/NetworkManagerDbus.[ch]
18813 - (nm_dbus_nmi_is_running): new function
18815 * src/NetworkManagerDevice.c
18816 - (nm_device_wireless_force_use): Don't set the created AP's MAC
18817 address to garbage.
18819 * src/NetworkManagerPolicy.c
18820 - (nm_policy_activation_finish): On successful activation, make sure
18821 the "best" AP has a MAC address, and don't tell NMI to add the
18822 current AP's MAC address to GConf if the AP is an Ad-hoc AP.
18823 - (nm_policy_allowed_ap_list_update): Update a wireless card's "best"
18824 access point after refreshing our allowed list if it doesn't already
18825 have a "best" access point.
18827 2005-01-25 Dan Williams <dcbw@redhat.com>
18829 * panel-applet/NMWirelessAppletDbus.c
18830 - (nmwa_dbus_filter): Fix dbus 0.23 ServiceOwnerChanged checks
18831 so we check for NM_DBUS_SERVICE rather than not for it
18833 * libnm_glib/libnm_glib.c
18834 - (libnm_glib_dbus_filter): Fix for dbus 0.23, trapping
18835 ServiceOwnerChanged signal
18837 2005-01-25 Dan Williams <dcbw@redhat.com>
18840 - Check DBUS version in configure, and set the C macros
18841 DBUS_VERSION_[MAJOR,MINOR,MICRO]
18843 * info-daemon/NetworkManagerInfoDbus.c
18844 - Remove #if 0-d section of code that quit NMI if NM went away.
18846 * panel-applet/NMWirelessAppletDbus.c
18847 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
18849 * src/NetworkManager.c
18850 src/NetworkManagerMain.h
18851 src/NetworkManagerDbus.c
18852 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
18853 - Make updating of our Allowed Wireless Network lists from NMI
18854 an idle function in the main thread now, with a high priority.
18856 2005-01-24 Dan Williams <dcbw@redhat.com>
18858 * panel-applet/gtkcellview.[ch]
18859 panel-applet/menu-info.c
18860 - Fix GTK version checks to be <= rather than <
18863 - Include the libtool archive of libnm_glib rather than
18864 trying to pull in the .so
18866 2005-01-24 Dan Williams <dcbw@redhat.com>
18868 * src/NetworkManagerDevice.c
18869 src/NetworkManagerDevicePrivate.h
18870 - Block nm_device_new() until our device's worker thread has had a
18871 chance to start up. Fixes a race between main thread and worker
18872 thread starting that caused activation requests to get lost.
18874 2005-01-24 Dan Williams <dcbw@redhat.com>
18876 * initscript/RedHat/NetworkManager
18877 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
18878 to add the NM startup script at priority 50, which was
18881 2005-01-24 Colin Walters <walters@redhat.com>
18883 * named/named.conf: Use any port for query source instead of
18884 restricting to port 53.
18886 2005-01-24 Dan Williams <dcbw@redhat.com>
18888 * initscript/RedHat/NetworkManager
18889 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
18890 to add the NM startup script at priority 50, which was
18893 2005-01-24 Dan Williams <dcbw@redhat.com>
18895 Patch from Tom Parker <palfrey@tevp.net>
18896 * Fix up compile warnings & errors in the wireless applet
18898 2005-01-24 Dan Williams <dcbw@redhat.com>
18900 * panel-applet/NMWirelessApplet.c
18901 - Convert 24x24 icons back to 22x22 and use the 22x22 ones
18903 2005-01-24 Dan Williams <dcbw@redhat.com>
18905 * panel-applet/gtkcellview.[ch]
18906 - Only compile these files for GTK 2.4 or lower, since
18907 GtkCellView is now public in GTK 2.6. Fixes crasher
18908 when choosing "Other Wireless Networks" from the panel
18911 2005-01-21 Dan Williams <dcbw@redhat.com>
18913 * src/NetworkManager.c
18914 - Daemonize earlier so that glib doesn't get confused (?)
18916 2005-01-21 Dan Williams <dcbw@redhat.com>
18918 * panel-applet/NMWirelessApplet.[ch]
18919 panel-applet/NMWirelessAppletDbus.c
18920 panel-applet/menu-info.c
18921 src/NetworkManagerDevice.c
18922 - Disable wired devices in the menu when they have no link.
18924 2005-01-21 Dan Williams <dcbw@redhat.com>
18926 * Cache last-known-good wireless authentication method in
18927 NetworkManagerInfo, and use that method first during
18928 wireless device activation. Should speed up devices that
18929 need Shared Key authentication method since Open System is
18932 * Remove the hack to not do full activation on wired connections
18933 that are active when we launch, it causes too many problems
18934 with name resolution and was a hack in the first place.
18936 * Re-work wireless device activation again somewhat to have a
18937 clearer chain of events and to use last-known-good
18938 authentication method of the access point. Also provide
18939 better status throughout activation to ensure the applet
18940 can tell the user exactly what's going on.
18942 * Remove the "find wireless network" code and now simply attempt
18943 to activate with that access point. This reduces the delay
18944 between selecting "Other wireless Network" and actually
18945 connecting to that network.
18947 * Correctly stop the device's worker thread when its removed.
18949 2005-01-21 Dan Williams <dcbw@redhat.com>
18952 - Clean up some of the debug messages
18954 2005-01-21 Dan Williams <dcbw@redhat.com>
18956 * Add new icons, more frames of animation
18957 * Remove some hacks to get the panel applet to display correct
18958 status, an NM update will soon follow that will fix the
18961 2005-01-19 Kjartan Maraas <kmaraas@gnome.org>
18963 * panel-applet/NMWirelessApplet.c: #include <config.h> must be
18964 the first include for working i18n. Also, don't include it in .h files
18965 * panel-applet/NMWirelessApplet.h: Same
18966 * panel-applet/NMWirelessAppletOtherNetworkDialog.c: Same
18967 * panel-applet/menu-info.c: Same
18969 2005-01-18 Dan Williams <dcbw@redhat.com>
18972 - Remove some debug messages
18973 - Wrap others in #ifdef DEBUG/#endif
18975 * src/NetworkManager.c
18976 - Remove some debug messages
18977 - Clarify some debug messages
18978 - Remove code related to old single-thread wireless scanning
18980 * src/NetworkManagerAP.[ch]
18981 - New AP property "last_seen" to track how recently an AP was
18983 - Start using 'const' more in function arguments
18985 * src/NetworkManagerAPList.[ch]
18986 - (nm_ap_list_merge_scanned_ap): new, selectively update attributes
18987 of an AP found in an AP list from a source AP, or if not found
18988 in the list add the source AP
18989 - (nm_ap_list_combine): remove, no longer needed
18991 * src/NetworkManagerDevice.c
18992 - Each device now has a "worker" thread from start to end of its life.
18993 Scanning for wireless devices now happens in that thread,
18994 not in a single "wireless scanning thread" for all devices as
18995 previously. Activation consists of adding an idle handler to the
18996 thread's main loop/context, which gets run at the next available
18998 - Wireless scanning is also simplified, there is now only one list of
18999 access points per wireless device, and APs older than 60s are
19000 removed from the list. Previously, we kept results for the last
19001 3 scans and merged whole lists, which was complicated.
19002 - Cleaned up activation debug messages.
19003 - Wireless activation and access-point search routines now use Open System
19004 authentication before trying Shared Key.
19005 - Removed some code in nm_device_update_best_ap() that could cause cards
19006 to loose their link to the access point.
19007 - Scanning now uses a backoff algorithm, where the inverval becomes
19008 progressively longer between scans when the list of scanned access
19009 points doesn't change. A change will revert to the shortest scan
19012 * src/NetworkManagerWireless.[ch]
19013 - Remove code related to old single-thread wireless scanning
19015 2005-01-18 Colin Walters <walters@redhat.com>
19017 * src/NetworkManagerDHCP.c (set_nameservers): Free and clear list
19018 of older nameservers.
19020 2005-01-18 Colin Walters <walters@redhat.com>
19022 * named/nm-named-manager.c (generate_named_conf): Many fixes
19023 to config file generation.
19024 (safer_kill): Remove, was too much trouble for little gain.
19025 (nm_named_manager_start): Run named as NM_NAMED_USER.
19027 * configure.in: Add option --with-named-user.
19029 2005-01-14 Colin Walters <walters@redhat.com>
19031 Patch from ed@catmur.co.uk (Ed Catmur)
19033 * named/nm-named-manager.c: Add "context" property.
19034 Use it to add child watch source in specific GMainContext.
19036 * src/NetworkManager.c (nm_data_new): Initialize
19037 named with correct main context. Start named only
19040 2005-01-14 Colin Walters <walters@redhat.com>
19042 * named/nm-named-manager.c (generate_named_conf): Write config
19043 and pid files into NM_NAMED_DATA_DIR; this allows things to
19044 work better with FC3 named SELinux policy. Also fix up silly
19047 * configure.in: Add --with-named-dir option.
19049 2005-01-14 Colin Walters <walters@redhat.com>
19051 * configure.in: Make named support require passing --with-named.
19053 * named/nm-named-manager.c: Support writing resolv.conf directly
19054 without running named.
19056 2005-01-13 Dan Williams <dcbw@redhat.com>
19058 * named/nm-named-manager.c
19059 - Use syslog(LOG_WARNING) rather than g_warning() (gnome.org #163961)
19061 * src/NetworkManagerDevice.c
19062 - Rework wireless link detection code to be more reliable
19064 2005-01-12 Dan Williams <dcbw@redhat.com>
19066 * initscripts/RedHat/NetworkManager
19067 - Change initial level to "-" rather than "345" so that
19068 we don't activate ourselves by default on install
19070 2005-01-12 Dan Williams <dcbw@redhat.com>
19073 - Client library for applications using glib
19077 - Split NM_CFLAGS and NM_LIBS into separate variables
19078 like DBUS_*, HAL_* and GLIB_*
19080 * src/NetworkManager.c
19081 src/NetworkManagerMain.h
19082 - (nm_schedule_status_signal_broadcast): at the earliest convenience,
19083 broadcast a status changed signal over DBUS from the main thread.
19084 Still unused anywhere for the moment.
19086 Patch from j@bootlab.org
19087 * panel_applet/NMWirelessAppletDbus.c
19088 src/NetworkManagerDbus.c
19089 - Correct INT32->UINT32 mistmatch between NM and the panel applet
19090 for the "getMode" method call
19092 2005-01-10 Dan Williams <dcbw@redhat.com>
19094 * src/NetworkManagerDevice.c
19095 - Minor fixups & corrections to "auto" frequency mode, make it
19096 less chatty with syslog
19098 2005-01-10 Dan Williams <dcbw@redhat.com>
19100 * src/NetworkManagerDevice.c
19101 - Implement "auto" frequency/channel support, since cards like Atheros
19102 can't use other frequencies at all when you've told it to use a
19103 specific one, even for scanning.
19104 - Grab the scan mutex around places where we can't tolerate wireless
19105 settings changing underneath us, like nm_device_wireless_network_exists()
19106 and nm_device_activate_wireless()
19108 * src/NetworkManagerWireless.c
19109 - Back scan interval off to 20s instead of 14s
19111 2005-01-09 Dan Williams <dcbw@redhat.com>
19113 * src/NetworkManagerDevice.c
19114 - Don't set mode/freq/bitrate if that mode/freq/bitrate is
19115 already set. Stops some drivers like Atmel from continually
19116 reloading the firmware, which they do upon every configuration
19119 2005-01-09 Dan Williams <dcbw@redhat.com>
19122 - Use correct timeout value
19124 * info-daemon/NetworkManagerInfoDbus.c
19125 src/NetworkManagerDbus.c
19126 - Consolidate communication between NM and NMI by doing only 1 dbus
19127 method call to get Wireless Network info from NMI instead of 6
19129 * src/NetworkManager.c
19130 - Make sure to cancel activation when we receive a SIGTERM, otherwise
19131 when we didn't have an AP to use, we'd wait for one forever without
19134 * src/NetworkManagerDevice.c
19135 - nm_device_activation_cancel(): Fix a race between dhcp and quitting
19136 activation, dhcp might not have started yet but we don't quit activation
19137 before starting it, so the quit signal gets lost
19139 2005-01-07 Dan Williams <dcbw@redhat.com>
19142 - Rework the DHCP client code to be much less chatty when
19143 it receives non-DHCP UDP packets during the DHCP run
19144 (reported by and preliminary patches from Bill Moss)
19146 * Move wireless scanning to a separate thread. This thread forwards the
19147 results to the main thread when done where they are integrated into
19148 the device's access point lists. This keeps the main thread (which
19149 does all the DBUS communication) from being blocked for long periods
19150 of time by wireless scanning.
19152 * Make state modification an idle routine in the main loop, and trigger
19153 state changes rather than polling for them.
19155 * src/backends/NetworkManagerGentoo.c
19156 - Fix up invalid C90 code (reported by Christoph Ruessler)
19158 * src/NetworkManagerDevice.c
19159 - Revert IPv6 patch for wired devices from 2004-12-22 for
19160 router advertisements, causing problems and infinite loop
19161 during "best" device determination due to link going up/down
19162 (reported by Bill Moss)
19164 Apply patch from Peter Jones
19165 * src/NetworkManagerDevice.c
19166 - Shortcut for link-checking for ipw2x00 cards
19167 - Split out association check into separate routine
19169 2004-01-05 Colin Walters <walters@redhat.com>
19171 * named/named.conf: Add PID_FILE.
19173 * named/nm-named-manager.c: Always generate a pid
19174 file, since older BIND versions don't support
19177 2005-01-01 Satoru SATOH <ss@gnome.gr.jp>
19179 * configure.in (ALL_LINGUAS): Added ja (Japanese).
19181 2004-12-22 Dan Williams <dcbw@redhat.com>
19183 * src/NetworkManagerDevice.c
19184 - Silently fail when setting bitrate doesn't work
19187 Patches from j@bootlab.org:
19188 * src/backends/NetworkManagerDebian
19189 - Update backend to match functionality in RedHat backend
19190 * src/NetworkManagerDevice.c
19191 - Take down then bring up wired devices after connection so
19192 they send out ipv6 router advertisements
19194 2004-12-21 Colin Walters <walters@verbum.org>
19196 * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_update_devices): Correctly
19197 test for NETWORK_MODE_ADHOC; spotted by: Greg <gonufer@gmail.com>.
19199 2004-12-21 Colin Walters <walters@redhat.com>
19201 * configure.in: Correct named detection.
19203 2004-12-21 Colin Walters <walters@redhat.com>
19205 * src/NetworkManager.c (nm_data_new): Initialize named.
19206 Also, set up a signal handler for SIGINT/SIGTERM, and exit
19207 the mainloop when these signals are received.
19208 (nm_data_free): Unref named.
19209 (sigterm_handler, sigterm_pipe_handler): New functions for
19212 * src/NetworkManagerMain.h (NMData): Add signal handling and
19215 * src/NetworkManager.c (nm_device_unref): Quit device mainloop on
19218 * src/NetworkManagerDHCP.c (set_nameservers): New function;
19219 set nameservers from DHCP response data.
19220 (set_domain_search): Set domain search from DHCP response.
19221 (nm_device_dhcp_configure): Invoke them.
19223 * src/NetworkManagerSystem.c
19224 (nm_system_device_update_resolv_conf): Delete. Deleting
19225 code is totally sweet.
19227 * src/Makefile.am (NetworkManager_LDADD): Add libnamed.
19229 * named/nm-named-manager.h, named/nm-named-manager.c: New files;
19230 implements an object which controls a nameserver. Currently
19233 * configure.in: Check for named.
19235 * Makefile.am (SUBDIRS): Add named dir.
19237 * named/named.conf: New template config file.
19239 2004-12-20 Colin Walters <walters@redhat.com>
19241 * src/NetworkManagerPolicy.c (nm_policy_get_best_device): Fix usage of '=='
19244 2004-12-17 Dan Williams <dcbw@redhat.com>
19246 * Ad Ad-Hoc networking mode support. In Ad-Hoc mode, we only try to get
19247 link-local addresses instead of doing DHCP.
19249 * In the panel applet, there's a new "Create new Wireless Network..." item
19251 * The panel applet also sticks around now even if NetworkManager dies, but
19252 it doesn't hide its icon when NM isn't around. Not hiding the icon is
19253 a bug, I'll fix that later.
19255 * We also don't use 'nscd' anymore in the RH backend, it was impeding name
19256 lookups after a switch rather than actually doing them.
19258 * Clean up some of those warnings in nm_ap_list_* functions
19260 * Delay between scans changed to 15s instead of 10s
19262 2004-12-15 Dan Williams <dcbw@redhat.com>
19264 Patch from Tom Parker
19265 * Add autoip/Link Local Addressing support when we fail to get a DHCP
19268 * Longer pause after setting ESSID on cards that support a larger number
19269 of channels to give the card time to find the right channel
19271 * Add system hook to restart mDNSResponder (or whatever the local implementation
19272 of Multicast DNS is) when we activate interfaces
19274 2004-12-15 Dan Williams <dcbw@redhat.com>
19276 * Rework the DHCP code again to revert to sending full ethernet frames
19277 rather then relying on the kernel to do the right thing with our
19280 2004-12-06 Dan Williams <dcbw@redhat.com>
19283 - Fix some minor errors in dhcp_handle_transaction() that caused
19284 unexpected early timeouts of DHCP transactions
19287 - DHCP retransmit time from 4s -> 5s
19289 2004-12-05 Dan Williams <dcbw@redhat.com>
19291 * Major rework of the DHCP code, taking some cues from pump. We don't
19292 write raw Ethernet packets anymore, which simplifies the code quite
19293 a bit. The new code should be more robust, not hang in recvfrom()
19294 as much, and generally work better. This also means that we need
19295 to force HAL/dbus to use a created GMainContext rather than the
19296 default context, since having the DHCP renew/rebind thread using
19297 its own GMainContext seemed to give dbus a fit. There is also more
19298 debugging information printed from the DHCP loop to help with future
19301 * Also, if the DHCP server doesn't give us the "routersOnSubnet" option,
19302 assume that the default gateway should be the DHCP server.
19304 Patch from Matthew Schick <matt oss-institute org>
19305 * src/backends/NetworkManagerGentoo.c
19306 - Fix compilation error due to missing "ip4_broadcast"
19308 2004-12-03 Dan Williams <dcbw@redhat.com>
19310 * initscript/Makefile.am
19311 * initscript/Debian/NetworkManager
19312 * initscript/Gentoo/NetworkManager
19313 * initscript/RedHat/NetworkManager
19314 * initscript/NMLaunchHelper.c
19315 - Remove NMLaunchHelper, if you need to wait until the network
19316 comes up, use the dead code from CVS.
19318 2004-12-01 Colin Walters <walters@redhat.com>
19320 * configure.in: Suck in gcc warnings code from Rhythmbox,
19321 but use fewer default flags, and in particular add -Wno-unused,
19322 since the codebase has a lot of unused variables.
19324 * test/nmtestdevices.c (create_device):
19325 * test/nminfotest.c (get_network_string_property)
19326 (get_networks_of_type):
19327 * test/nmclienttest.c (main):
19328 * src/NetworkManagerDbus.c (nm_dbus_create_error_message):
19329 * initscript/NMLaunchHelper.c (get_nm_status):
19330 * info-daemon/NetworkManagerInfoPassphraseDialog.c (update_button_cb):
19331 * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_create_error_message):
19332 Fix declarations after statements.
19334 2004-12-01 Colin Walters <walters@redhat.com>
19336 * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_return_vpn_password): New method.
19337 (nmi_dbus_get_vpn_userpass): New method.
19338 (nmi_dbus_nmi_message_handler): Invoke it.
19340 * info-daemon/NetworkManagerInfoDbus.h (nmi_dbus_return_vpn_password): Prototype.
19342 * info-daemon/NetworkManagerInfoVPN.h,
19343 info-daemon/NetworkManagerInfoVPN.c: New files; responds
19344 to requests for VPN passwords.
19346 * configure.in (GNOME_KEYRING_LIBS): Check for gnome-keyring.
19348 2004-12-01 Colin Walters <walters@redhat.com>
19350 * test/nmtestdevices.c, test/nmclienttest.c: Add missing
19353 2004-12-01 Colin Walters <walters@redhat.com>
19355 * panel-applet/NMWirelessAppletDbus.c
19356 (nmwa_dbus_update_active_device_strength): Fix missing
19359 2004-12-01 Colin Walters <walters@redhat.com>
19361 * panel-applet/NMWirelessApplet.c: Add missing include.
19363 2004-12-01 Colin Walters <walters@redhat.com>
19365 * src/NetworkManagerWireless.c (nm_wireless_qual_to_percent):
19366 Remove useless CLAMP (); the value is unsigned, and the case tests
19367 qual->qual < 100, so the value must always be between 0 and 100.
19369 2004-12-01 Colin Walters <walters@redhat.com>
19371 * dhcpcd/buildmsg.c, dhcpcd/dhcp_test.c: Add missing includes.
19373 2004-11-22 Colin Walters <walters@verbum.org>
19375 * src/backends/NetworkManagerRedHat.c (nm_system_update_dns): Run
19376 "nscd -i hosts" to invalidate the host cache instead of restarting nscd,
19377 which is essentially a noop since nscd caches hosts on disk too.
19379 2004-11-22 Colin Walters <walters@redhat.com>
19381 * src/Makefile.am (NetworkManager_SOURCES): Add
19382 NetworkManagerDevicePrivate.h.
19384 2004-11-22 Dan Williams <dcbw@redhat.com>
19386 * src/NetworkManagerDevicePrivate.h
19387 - Split out the NMDevice struct to a different file so that stuff like
19388 NetworkManagerDHCP.c and NetworkManagerSystem.c can use it
19392 - (dhcpSendAndRecv): do non-blocking sends and receives, and check to see if we
19393 need to cancel the dhcp request during the send and recv
19396 - Move the DHCP option enum to dhcpcd.h
19398 * src/NetworkManagerDHCP.c
19399 - Split out the actual IP/netmask/etc setting code
19400 - New Renew/Rebind functions
19401 - New timer setup function for renew/rebind operations
19403 * src/NetworkManagerDevice.c
19404 - For device activation, if we are using DHCP then keep the activation thread
19405 alive until device deactivation. We need to renew/rebind the DHCP address
19406 after the T1 (renew) and T2 (rebind) times have expired.
19407 - Increase some timeouts after bringing wireless cards up/down
19409 2004-11-17 Dan Williams <dcbw@redhat.com>
19411 * Cache access point MAC addresses in NetworkManagerInfo after you've explicitly
19412 connected to them. Then, after a scan, match up non-ESSID-broadcasting access
19413 points with any cached MAC addresses from NetworkManagerInfo. Allows us to
19414 show known access points that don't broadcast their ESSID in the menus without
19415 any user intervention whatsoever.
19417 * info-daemon/NetworkManagerInfoDbus.c
19418 - (nmi_dbus_get_network_addresses, nmi_dbus_add_network_address): new functions
19419 for dbus method calls "getNetworkAddresses" and "addNetworkAddress"
19421 * src/NetworkManagerAP.[ch]
19422 - Add a "user_addresses" data member to the NMAccessPoint structure
19423 - (nm_ap_get_user_addresses, nm_ap_set_user_addresses): new functions for accessing
19424 the user_addresses data member
19426 * src/NetworkManagerAPList.c
19427 - (nm_ap_list_get_ap_by_address): check user_addresses list too, instead of just
19428 the AP's reported address
19429 - (nm_ap_list_update_network): grab the user_addresses list from NetworkManagerInfo
19431 * src/NetworkManagerDHCP.c
19432 - Increase DHCP timeout from 25s -> 30s
19434 * src/NetworkManagerDbus.[ch]
19435 - (nm_dbus_get_network_addresses, nm_dbus_add_network_address): have NMI get/set
19438 * src/NetworkManagerDevice.c
19439 - (nm_device_set_wireless_config): bring down the interface, wait 4s, bring it up,
19440 wait 2s, then configure it. Sometimes Prism54 cards will freeze up with
19441 "mgnt tx queue full", seemingly in response to NM controlling the card too much.
19442 So, we take the card down to clear it out.
19443 - (nm_device_do_normal_scan): Copy over AP ESSIDs from the allowed access point list
19444 too, since that's where the user_addresses are
19446 * src/NetworkManagerPolicy.c
19447 - (nm_state_modification_monitor): Tell NMI to add an AP's hardware address to
19448 that wireless networks' user_addresses list upon successful activation
19450 2004-11-16 Dan Williams <dcbw@redhat.com>
19452 * src/NetworkManagerDevice.[ch]
19453 - (nm_device_clear_activation_fail): new function
19455 * src/NetworkManagerPolicy.c
19456 - (nm_state_modification_monitor): clear the activation_failed flag on devices
19457 when we've dealt with the failure so the user doesn't get failure-dialog-spammed
19459 2004-11-16 Dan Williams <dcbw@redhat.com>
19461 * src/NetworkManagerDevice.c
19462 - (nm_device_activate_wireless): Unref best_ap upon success so we don't
19463 leak the structure, better updating of now_scanning status
19464 - (nm_device_wireless_network_exists): Rewrite for better/faster checking
19466 2004-11-15 Dan Williams <dcbw@redhat.com>
19468 Major rework of link detection code. We now use DHCP
19469 as part of the link detection which proves to be much more robust,
19470 and also supports Open System authentication for wireless networks.
19472 We no longer use external DHCP client programs. Instead, we use
19473 our own DHCP client, based on substantially reworked bits of 'dhcpcd'
19474 which was written by:
19475 Yoichi Hariguchi <yoichi@fore.com>
19476 Sergei Viznyuk <sv@phystech.com>
19477 http://www.phystech.com/download/
19478 It resides in the "dhcpcd" directory and was refactored into a general
19479 purpose DHCP client library by me.
19481 Also misc fixes (CPPFLAGS->AM_CPPFLAGS, move some stuff around),
19482 move src/backends/NetworkManagerSystem.h -> src/NetworkManagerSystem.h
19484 2004-11-15 Dan Williams <dcbw@redhat.com>
19486 Patch from Tom Parker <palfrey@tevp.net>:
19488 * src/NetworkManagerDevice.c
19489 - Less output to console when no access
19490 points are found during a scan
19492 2004-11-15 Dan Williams <dcbw@redhat.com>
19494 Patch from Tom Parker <palfrey@tevp.net>:
19496 * src/backends/interface_parser.c
19498 - Check for inp == NULL
19501 2004-11-13 Colin Walters <walters@redhat.com>
19503 Patch from Tom Parker <palfrey@tevp.net>:
19505 * src/Makefile.am (CPPFLAGS): Switch to AM_CPPFLAGS.
19507 * src/backends/NetworkManagerRedHat.c: Switch to
19508 including shvar.h instead of shvar.c.
19510 * src/backends/NetworkManagerDebian.c: Don't include
19511 interface_parser.c in source file.
19513 (libnmbackend_la_SOURCES): Don't include shvar.[ch]
19514 and interface_parser.[ch].
19515 * src/Makefile.am (libnmbackend_la_SOURCES) <TARGET_REDHAT>:
19516 Include shvar.c and shvar.h here.
19517 (libnmbackend_la_SOURCES) <TARGET_DEBIAN>: Include
19518 interface_parser.c and interface_parser.h here.
19520 2004-11-12 Colin Walters <walters@redhat.com>
19522 * configure.in: Strip out TARGET_DISTRO and
19523 SYSTEM_BACKEND_FILE variables. Switch to Automake
19526 * src/Makefile.am (noinst_LTLIBRARIES): Add libnmbackend.la.
19527 (libnmbackend_la_SOURCES): Use Automake conditionals
19528 to add distro-specific files.
19530 * initscript/Makefile.am (SUBDIRS): Update to
19533 2004-11-12 Colin Walters <walters@redhat.com>
19535 Patches from j bootlab org
19537 * src/Makefile.am (EXTRA_NetworkManager_SOURCES):
19538 Add interface_parser.[ch].
19540 * src/backends/NetworkManagerDebian.c (nm_system_device_run_dhcp): Invoke
19541 dhclient with "-lf /var/lib/dhcp/dhclient-%s.leases".
19543 2004-11-12 Colin Walters <walters@redhat.com>
19545 * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_service_init): Delete
19546 call to nmi_dbus_is_running too, not necessary anymore.
19547 * info-daemon/NetworkManagerInfoDbus.c: Include stdlib.h to
19550 2004-11-11 Colin Walters <walters@verbum.org>
19552 * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_is_running):
19554 (nmi_dbus_service_init): Call dbus_bus_acquire_service with
19555 the DBUS_SERVICE_FLAG_PROHIBIT_REPLACEMENT flag, and
19556 then check the result for DBUS_SERVICE_REPLY_SERVICE_EXISTS.
19557 This avoids a race condition that made it pretty easily
19558 possible to get two NetworkManagerInfo daemons running.
19560 2004-11-11 Colin Walters <walters@verbum.org>
19562 * src/NetworkManager.c (main): Use daemon(3).
19564 * info-daemon/NetworkManagerInfo.c (main): Ditto.
19566 * dispatcher-daemon/NetworkManagerDispatcher.c (main): Ditto.
19568 2004-11-10 Dan Williams <dcbw@redhat.com>
19570 Patches from j bootlab org
19571 * src/NetworkManagerDevice.c
19572 - (nm_device_activate_wireless): wait 5 seconds before attempting to detect
19573 whether the card has a link or not, some cards are slow
19574 - (nm_device_activation_configure_ip): make ipv6 work a bit better
19576 * info-daemon/NetworkManagerInfoPassphraseDialog.c
19577 - Disable the "Login" button on the passphrase dialog until the user
19578 enters a valid passphrase or key
19580 Patches from Tom Parker <palfrey tevp net>
19581 * src/backends/NetworkManagerDebian.c
19582 - Add static IP support to the debian backend
19584 * src/backends/interface_parser.[ch]
19585 - Parse debian interface config files
19587 2004-11-08 Dan Williams <dcbw@redhat.com>
19589 * src/NetworkManagerDevice.c
19590 - Some random fprintf->syslog conversions
19591 - (nm_device_wireless_network_exists): double-check for network
19592 - (nm_device_find_and_use_essid): Copy over encryption key no matter what
19594 * src/NetworkManagerWireless.[ch]
19595 - (nm_wireless_[128|64]bit_ascii_to_hex): make "ascii" argument unsigned again
19596 so that the binary->ascii conversion works (if unsigned, the bitshift
19597 will fill with zeros, which is what's required). Also mask bitshift
19598 result with 0xF for futher assurance.
19600 2004-11-06 Dan Williams <dcbw@redhat.com>
19602 * src/NetworkManagerUtils.c
19603 - (nm_get_wireless_driver_support_level): default to
19604 FULLY_SUPPORTED rather than UNSUPPORTED, forgot to
19605 flip this when changing from whitelist->blacklist of
19608 2004-11-05 Dan Williams <dcbw@redhat.com>
19610 Patch from Robert Paskowitz:
19611 * src/backends/NetworkManagerGentoo.c
19612 - Update static IP config code
19614 2004-11-05 Dan Williams <dcbw@redhat.com>
19616 * info-daemon/NetworkManagerInfoDbus.c
19617 src/NetworkManagerDbus.[ch]
19618 src/NetworkManagerDevice.c
19619 - Keep track of the # of attempts to get the WEP key
19620 from the user and pass that along to the info daemon
19622 2004-11-05 Dan Williams <dcbw@redhat.com>
19624 * src/NetworkManagerUtils.c
19625 - Blacklist wireless cards rather than whitelisting them.
19626 - Grab driver name from HAL rather than trying to find it
19629 2004-11-03 Dan Williams <dcbw@redhat.com>
19631 * panel-applet/NMWirelessAppletOtherNetworkDialog.c,
19632 - Disable OK button until valid data is entered
19633 for encryption stuff too
19635 * panel-applet/NMWirelessApplet.c
19636 - Report card strength for current AP if the card
19637 doesn't report strength data for scanned access
19640 * src/NetworkManagerDevice.c
19641 - Smooth out cards reported quality, Atmel card was
19642 intermittently reporting no quality data but soon
19645 * src/NetworkManagerWireless.c
19646 - Better quality data percentage calculation. Atmel
19647 cards (mine at least) seem to report the quality
19648 in percentage format already, so honor that
19650 Patch from <j@bootlab.org>
19652 info-daemon/NetworkManagerInfoPassphraseDialog.c
19653 info-daemon/passphrase.glade
19654 panel-applet/NMWirelessAppletOtherNetworkDialog.c
19655 panel-applet/essid.glade
19656 src/NetworkManagerAP.c
19657 src/NetworkManagerDevice.c
19658 src/NetworkManagerWireless.[ch]
19659 - Support ASCII WEP keys, in both 40/64 bit and 104/128 bit
19661 2004-11-03 Dan Williams <dcbw@redhat.com>
19663 * src/NetworkManagerDevice.[ch]
19664 - (nm_device_set_enc_key): Add parameter to set Authentication
19665 Mode (Open System, Shared Key, or None). We're still using
19666 Shared Key for now though.
19668 2004-11-02 Bryan Clark <clarkbw@cvs.gnome.org>
19670 * panel-applet/menu-info.c: change from bold text to light
19671 colored, may cause problems with some themes, i've tested a lot
19672 and they seem fine.
19674 * panel-applet/NMWirelessApplet.c: fix strength tooltip
19676 2004-11-01 Colin Walters <walters@verbum.org>
19678 * src/NetworkManagerWireless.h, src/NetworkManagerWireless.c
19679 (nm_wireless_128bit_key_from_passphrase): Add const.
19681 * src/NetworkManagerAP.h, src/NetworkManagerAP.c
19682 (nm_ap_set_enc_key_source): Add const.
19684 2004-11-01 Colin Walters <walters@verbum.org>
19686 * .cvsignore: Update.
19688 2004-10-29 Dan Williams <dcbw@redhat.com>
19690 * src/NetworkManagerDevice.c
19691 - (nm_device_wireless_network_exists): Actually use the encryption
19692 key we got from the applet when attempting to find a wireless network
19693 - Don't bring devices down so much since on some cards it triggers
19694 firmware hotplugs each time
19696 * src/NetworkManagerDbus.c
19697 - (nm_dbus_nm_set_active_device): free the passphrase we may have gotten
19700 2004-10-29 Dan Williams <dcbw@redhat.com>
19702 * src/NetworkManager.c
19703 - (nm_hal_device_property_modified): unlock a locked active
19704 wireless device when a wired connection gets a link.
19705 (Means you'll switch to wired whenever you plug in no
19708 2004-10-29 Dan Williams <dcbw@redhat.com>
19710 * panel-applet/NMWirelessAppletOtherNetworksDialog.[ch]
19711 - New files, implement the "Other wireless network" dialog
19713 * panel-applet/NMWirelessApplet.c
19714 - Move "other wireless network" dialog to separate file
19716 * panel-applet/NMWirelessAppletDbus.[ch]
19717 - Take key and key_type paramaters for the set_device function
19719 * panel-applet/essid.glade
19720 - Add UI bits for encryption settings
19722 * src/NetworkManagerDbus.c
19723 - Retrieve key and key_type params for "setActiveDevice" method call
19725 - unref AP returned from nm_device_get_best_ap() when needed
19727 * src/NetworkManagerDevice.c
19728 - (nm_device_get_best_ap): ref the ap before returning it
19729 - unref AP returned from nm_device_get_best_ap() when needed
19730 - (nm_device_activate_wireless): add "ap" parameter so we don't
19731 need to call nm_device_get_best_ap() here, it was pretty much
19733 - (AP_NEED_KEY): break second link check condition out into separate
19734 function, and fix segfault when ap->enc_key_source was NULL
19735 - (nm_device_find_and_use_essid): take key and key_type parameters and
19736 pass them along to nm_device_wireless_network_exists(). If the
19737 network does exist, set the passed-in key+key_type on the AP
19739 * src/NetworkManagerPolicy.c
19740 - unref AP returned from nm_device_get_best_ap() when needed
19742 2004-10-28 Dan Williams <dcbw@redhat.com>
19744 * src/NetworkManagerUtils.c
19745 - (nm_spawn_process): Fix a potential dereference of NULL
19747 Patches from Peter Jones:
19749 * src/NetworkManagerDevice.c
19750 - (nm_device_test_wireless_extensions): Better check for
19753 * src/NetworkManagerUtils.c
19754 - (nm_spawn_process): Pass in valid stdout and stderr so
19755 executed programs don't randomly SIGPIPE and fail
19756 - (nm_get_wired_driver_support_level): quash hal warning
19757 when checking for USB ethernet device
19759 2004-10-27 Dan Williams <dcbw@redhat.com>
19761 * info-daemon/NetworkManagerInfo.c
19762 info-daemon/NetworkManagerInfoDbus.c
19763 info-daemon/NetworkManagerInfoPassphraseDialog.c
19764 panel-applet/NMWirelessApplet.c
19765 - Properly escape gconf keys
19767 * src/NetworkManager.c
19768 - remove unused variables
19770 * src/NetworkManagerAP.c
19771 - (nm_ap_new_from_ap): Don't redundantly set new APs
19772 refcount since it got set in nm_ap_new()
19774 * src/NetworkManagerAPList.c
19775 - (nm_ap_list_combine): Give up ownership of newly created
19776 access points to the ap list, fixes memleak
19778 * src/NetworkManagerDevice.c
19779 - Remove cached_ap_list4 member since its not really needed
19780 - (nm_device_wireless_network_exists): Try to get correct
19781 encryption status of a found AP if its already in our
19783 - (nm_device_do_normal_scan): Clean up scanning a bit, make
19784 memory allocs/deallocs a bit clearer and shorter-lived
19786 2004-10-26 Ray Strode <rstrode@redhat.com>
19788 * panel-applet/NMWirelessApplet.c:
19789 (custom_essid_item_selected): kill some compiler
19792 2004-10-26 John (J5) Palmieri <johnp@redhat.com>
19794 * info-daemon/NetworkManagerInfoDbus.c
19795 - (nmi_dbus_is_running): New function for determining if nmi is already running
19796 - (nmi_dbus_service_init): exit if another instance of nmi is already running
19798 2004-10-23 Dan Williams <dcbw@redhat.com>
19800 * info-daemon/NetworkManagerInfoDbus.c
19801 - Trap the "DeviceActivationFailed" signal
19803 * docs/NetworkManager DBUS API.txt
19804 - Add "DeviceActivationFailed" signal
19806 * panel-applet/NMWirelessAppletDbus.c
19807 - Quash the "NetworkManager service not available" message
19809 * src/NetworkManagerDbus.[ch]
19810 - Add the "DeviceActivationFailed" signal
19812 * src/NetworkManagerDevice.c
19813 - Add support for activation_failed flag
19814 - Fix deadlock where activation thread didn't clean itself up, making
19815 main thread still believe it was alive forever (didn't reset activation
19816 flags like activating, just_activated, etc when IP configuration
19819 * src/NetworkManagerPolicy.c
19820 - Implement logic for DeviceActivationFailed signal, and when activation fails
19821 for wireless networks, try to fall back to some other access point
19823 2004-10-23 Dan Williams <dcbw@redhat.com>
19825 * panel-applet/NMWirelessApplet.[ch]
19826 - Place the GtkMenuBar inside a GtkEventBox, and add the Event Box
19827 to the applet object, so we can get tooltips
19828 - Add tooltips (RH #136866)
19830 * src/NetworkManagerDevice.c
19831 - When trying to find a wireless network, try to connect with encryption
19832 turned on first, so that we can more accurately detect whether or not
19833 we need to use encryption for the actual association later on
19835 2004-10-21 Dan Williams <dcbw@redhat.com>
19837 * Add some support for telling NetworkManagerInfo to tell the user
19838 that they are using a device that's not fully supported
19840 * Fix some assertions in debug messages due to null access point args
19842 2004-10-21 Dan Williams <dcbw@redhat.com>
19844 * src/NetworkManagerDevice.c
19845 - Don't try to activate/bring up/down unsupported
19848 * src/NetworkManagerUtils.c
19849 - Fix case of PCI ID checks for driver support levels
19851 2004-10-21 Dan Williams <dcbw@redhat.com>
19854 - New file, now contains commonly used structures and bits
19855 for the dbus API of NetworkManager
19858 - Deliver NetworkManager.h to ${includedir}/NetworkManager
19860 * src/NetworkManager.h
19861 - Rename -> src/NetworkManagerMain.c
19863 * Various fixups all around to use NetworkManager.h and new
19864 src/NetworkManagerMain.h, remove redundant bits that got
19865 moved into NetworkManager.h
19867 * src/NetworkManagerDevice.[ch]
19868 src/NetworkManagerUtils.[ch]
19869 src/NetworkManagerPolicy.c
19870 src/NetworkManagerDbus.c
19871 - Whitelist wireless drivers, and blacklist some wired
19872 drivers. Also blacklist cipsec and ethernet-over-usb
19873 devices at this time (RH #135722, RH #135648)
19874 - Don't leak unsupported devices out over dbus, or allow
19875 them to be set as the active device. Skip over them
19876 during automatic device picking
19878 * test/nmclienttest.c
19879 - Clean up the dbus code a lot
19881 Tue Oct 19 14:20:29 2004 Jonathan Blandford <jrb@redhat.com>
19883 * configure.in: post release bump.
19885 Tue Oct 19 14:19:24 2004 Jonathan Blandford <jrb@redhat.com>
19888 * NEWS: Released NetworkManager-0.3.1
19890 2004-10-18 Dan Williams <dcbw@redhat.com>
19892 Patches from Thom May:
19893 * test/nmtestdevices.c
19894 - Include <string.h>
19895 * src/backends/NetworkManagerDebian.c:
19896 - (nm_system_device_run_dhcp, nm_system_device_stop_dhcp)
19897 (nm_system_device_flush_routes, nm_system_device_flush_addresses)
19898 Move to using g_strdup_printf rather than arbitrary buffers
19899 - (nm_system_device_setup_static_ip4_config) Implement function.
19900 - (nm_system_kill_all_dhcp_daemons) Use killall -q rather than killall
19902 2004-10-17 Dan Williams <dcbw@redhat.com>
19904 * info-daemon/NetworkManagerInfoDbus.c
19905 - Display name of network in the "network not found" dialog
19907 * panel-applet/NMWirelessAppletDbus.c
19908 - (nmwa_dbus_call_nm_method): new function replaces all other
19909 nmwa_dbus_get_[string|string_array|int|boolean] methods
19910 - nmwa_dbus_get_network_name() and nmwa_dbus_get_device_name()
19911 consolidated into nmwa_dbus_get_object_name()
19913 2004-10-15 Dan Williams <dcbw@redhat.com>
19915 * src/NetworkManagerDbus.c
19916 info-daemon/NetworkManagerInfoDbus.c
19917 - Display an error dialog when the user tries to use an
19918 "Other wireless network" that's not found.
19920 2004-10-15 Dan Williams <dcbw@redhat.com>
19922 * panel-applet/NMWirelessApplet.[ch]
19923 - Fix up corner cases in applet state, making it
19924 look more responsive. Change state to "connecting" when
19925 the user is forcing a device too.
19927 2004-10-15 Dan Williams <dcbw@redhat.com>
19929 * src/NetworkManagerAPList.c
19930 - (nm_ap_list_update_network): Disown AP after the list takes ownership
19932 * src/NetworkManagerDbus.c
19933 - (nm_dbus_nm_set_active_device): Simplify the device setting logic
19935 * src/NetworkManagerDevice.c
19936 - Disown APs after the device's AP list takes ownership
19938 2004-10-15 Dan Williams <dcbw@redhat.com>
19940 * panel-applet/NMWirelessApplet.c
19941 - Update our applet state from the GUI thread
19943 * panel-applet/NMWirelessAppletDbus.c
19944 - Greatly simplify the locking to make the GUI thread
19945 smoother. Update a private copy of the device list
19946 and active device and only when done talking to
19947 NetworkManager turn it over to the GUI thread.
19949 2004-10-15 Dan Williams <dcbw@redhat.com>
19951 * src/NetworkManagerAP.[ch]
19952 - Add "artificial" get/set functions, set for APs that
19953 aren't discovered as part of a scan but instead
19954 discovered by force-setting the ESSID
19956 * src/NetworkManagerDevice.[ch]
19957 - (nm_device_wireless_network_exists): pass back whether
19958 or not the discovered AP was encrypted. Also, try
19959 falling back to encrypted mode on the card if unencrypted
19960 association doesn't work
19961 - (nm_device_find_and_use_essid): If the network requested
19962 did in fact exists, but it wasn't in our scan list, add
19963 an "artificial" entry for it. Some Cisco cards don't
19964 see non-ESSID-broadcasting APs in their scan but can still
19965 associate with them if you know the ESSID, this works around
19967 - (nm_device_do_normal_scan): Carry "artificial" APs over from scan
19968 to scan if the card is currently associated with that AP
19970 2004-10-15 Dan Williams <dcbw@redhat.com>
19972 ---- We have a website ----
19973 http://people.redhat.com/dcbw/NetworkManager
19975 Patch from Robert Paskowitz:
19976 * src/NetworkManager.c
19977 - (main): Make sure we are run as root
19978 * src/NetworkManagerDevice.c
19979 - Fix type in ad-hoc setting function
19981 Patch from Thom May:
19982 * src/backends/NetworkManagerDebian.c
19983 - Make Debian backend compile again
19985 2004-10-14 Dan Williams <dcbw@redhat.com>
19987 * Tagged NetworkManager-0_3
19989 2004-10-14 Dan Williams <dcbw@redhat.com>
19991 Patch from Robert Paskowitz:
19993 src/NetworkManagerDevice.[ch]
19994 src/backends/NetworkManagerDebian.c
19995 src/backends/NetworkManagerGentoo.c
19996 src/backends/NetworkManagerRedHat.c
19997 src/backends/NetworkManagerSlackware.c
19998 - Add support for grabbing and using a broadcast address
19999 from system config files
20000 - Some Gentoo backend fixes for grabbing network config
20001 - Fix LOG_WARN->LOG_WARNING
20003 2004-10-14 Dan Williams <dcbw@redhat.com>
20005 * NEWS: a few small fixes in the credits
20007 Thu Oct 14 19:12:58 2004 Jonathan Blandford <jrb@redhat.com>
20009 * NEWS: prep for release.
20011 Thu Oct 14 16:47:12 2004 Jonathan Blandford <jrb@redhat.com>
20013 * panel-applet/NMWirelessAppletDbus.c
20014 (nmwa_dbus_update_device_wireless_networks): remove warnings.
20016 Thu Oct 14 16:40:39 2004 Jonathan Blandford <jrb@redhat.com>
20018 * panel-applet/NMWirelessApplet.c (animation_timeout): Make
20019 applet->state == APPLET_STATE_NO_NM animation.
20021 * panel-applet/NMWirelessApplet.c (custom_essid_item_selected):
20022 set the text correctly.
20024 2004-10-14 Dan Williams <dcbw@redhat.com>
20026 * src/NetworkManager.c
20027 - Only accept and manager 802.3 and 802.11 devices
20029 * src/NetworkManagerDbus.[ch]
20030 - (nm_dbus_nm_set_active_device): move most of the actual activation
20031 logic into NetworkManagerDevice.c
20032 - (nm_dbus_network_status_from_data): new function
20033 - (nm_dbus_signal_network_status_change): new function, unused for now
20034 - (nm_dbus_nm_message_handler): use nm_dbus_network_status_from_data () now
20036 * src/NetworkManagerDevice.[ch]
20037 - (nm_device_find_and_use_essid): new function. Search for, and if found use,
20040 2004-10-14 John (J5) Palmieri <johnp@redhat.com>
20042 * info-daemon/NetworkManagerInfo.c
20043 - (main): Added session management
20045 2004-10-14 Dan Williams <dcbw@redhat.com>
20047 * panel-applet/NMWirelessAppletDbus.[ch]
20048 - Expose network_device_[un]ref()
20049 - Expose wireless_network_[un]ref()
20050 - (wireless_network_new_with_essid): new function, create and return
20051 a wireless network with a particular essid
20053 * panel-applet/NMWirelessApplet.c
20054 - Hook up the "other network" dialog to do something
20056 Wed Oct 13 19:31:53 2004 Jonathan Blandford <jrb@redhat.com>
20058 * panel-applet/NMWirelessApplet.c: Add an essid dialog. It
20059 doesn't work yet, but it looks okay.
20061 * panel-applet/icons/*png: Resize to 22x22 and install in the
20064 2004-10-13 Dan Williams <dcbw@redhat.com>
20066 * panel-applet/NMWirelessApplet.c
20067 - Add function to print out applet_state in a readable
20070 * src/NetworkManager.c
20071 - (main): Don't segfault when nm_dbus_init() fails, we had
20072 a left-over call to hal_shutdown() into which we passed NULL
20074 * src/NetworkManagerAP.c
20075 - (nm_ap_set_essid): Allow NULL essids
20077 * src/NetworkManagerAPList.[ch]
20078 - More use of nm_ap_list_[un]lock ()
20079 - (nm_ap_list_get_ap_by_essid): don't warn when looking for a NULL
20080 network/essid, just return nothing. Also skip over NULL
20081 essid access points in the list when searching
20082 - (nm_ap_list_get_ap_by_address): new function
20083 - (nm_ap_list_update_network): set the access point's key source to
20084 NULL when the key returned from NetworkManagerInfo is NULL or
20086 - nm_ap_list_update_keys() -> nm_ap_list_update_properties(), and
20087 copy timestamp over too
20088 - (nm_ap_list_copy_essids_by_address): new function, attempt to
20089 find the correct ESSID for a blank-essid access point by searching
20090 through another list and matching access point MAC addresses
20091 - (nm_ap_list_diff): exclude blank-essid access points from the diffs
20093 * src/NetworkManagerDbus.c
20094 - (nm_dbus_nm_set_active_device): deal with random networks the user
20095 may specify. This is mainly for access points that don't
20096 broadcast their essid. So if the user tells us to associate with
20097 some random ESSID that's not in our access point list, we find
20098 out if the access point does in fact exist (by attempting association
20099 and then matching that access point's MAC address with the essid the
20100 user gave us) and then we switch to it.
20101 - (nm_dbus_devices_handle_request): don't add blank-essid access points
20102 to the returned list of networks for the "getNetworks" method
20104 * src/NetworkManagerDevice.[ch]
20105 - Extra debugging info for link detection
20106 - (nm_device_ap_list_get_ap_by_address): new function, return an AP
20107 based on MAC address
20108 - (nm_device_get_path_for_ap): ignore blank-essid access points
20109 - (nm_device_wireless_network_exists): new function, find out whether
20110 a random ESSID exists by attempting to associate with it
20111 - (nm_device_do_normal_scan): allow blank-essid access points in our
20112 device list as long as they have an AP MAC address we can use.
20113 Also send WirelessNetwork[Dis]Appeared signals for non-active
20114 devices too. Lets the applet update more frequently.
20116 * src/backends/NetworkManagerGentoo.c
20117 - Patch from: Robert Paskowitz
20118 - Update backend code for Gentoo
20119 - Implement nm_system_device_update_config_info ()
20121 * test/nmclienttest.c
20122 - (set_network_device): new function, takes a command-line argument
20123 and tells NetworkManager to use that wireless network
20125 Wed Oct 13 John (J5) Palmieri <johnp@redhat.com>
20127 * info-daemon/NetworkManagerInfo.c (nmi_spawn_notification_icon): Stop respawning
20128 if the notification icon crashes 5 times within 5 seconds of each respawn
20130 Tue Oct 12 22:53:04 2004 Jonathan Blandford <jrb@redhat.com>
20132 * panel-applet/NMWirelessApplet.c (nmwa_update_state): remove
20135 Tue Oct 12 22:44:15 2004 Jonathan Blandford <jrb@redhat.com>
20137 * panel-applet/NMWirelessApplet.h: Change the name of the icons.
20139 * panel-applet/NMWirelessApplet.c: (animation_timeout),
20140 (nmwa_update_state), (nmwa_destroy), (nmwa_setup_widgets),
20141 (nmwa_icons_free), (nmwa_icons_load_from_disk), (nmwa_icons_init):
20142 Change the name of the icons.
20144 * panel-applet/menu-info.c: (nm_menu_wired_class_init),
20145 (nm_menu_wired_expose_event), (nm_menu_network_class_init),
20146 (nm_menu_wireless_class_init), (nm_menu_wireless_new),
20147 (nm_menu_wireless_expose_event): Really bad hack to get the style
20148 to draw in the right color.
20150 Tue Oct 12 John (J5) Palmieri <johnp@redhat.com>
20152 * info-daemon/NetworkManagerInfo.c (main): Add child watch to respawn
20153 Notification if it crashes
20155 Fri Oct 8 07:19:55 2004 Jonathan Blandford <jrb@redhat.com>
20157 * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_get_double):
20158 (nmwa_dbus_get_string): remove unused functions
20160 * panel-applet/NMWirelessApplet.c (nmwa_about_cb):
20161 (nmwa_cancel_timeout), (nmwa_get_menu_pos), (nmwa_factory):
20162 remove unused functions
20164 * panel-applet/NMWirelessApplet.c: Rewrite icon code.
20166 2004-10-12 Dan Williams <dcbw@redhat.com>
20168 * panel-applet/NMWirelessAppletDbus.c
20170 wireless_network_new
20171 wireless_network_copy
20173 network_device_copy
20175 * src/NetworkManagerDevice.[ch]
20177 nm_device_set_mode_managed
20178 nm_device_set_mode_adhoc
20179 - Use these functions where appropriate
20180 - When creating a new wireless device, force the card
20181 to managed/Infrastructure mode as soon as possible
20183 2004-10-12 Dan Williams <dcbw@redhat.com>
20185 * src/NetworkManagerDevice.c
20186 - Force wireless cards into Infrastructure mode before we use them
20188 2004-10-12 Dan Williams <dcbw@redhat.com>
20191 - Remove bit about static IP address support
20193 * src/NetworkManagerUtils.c
20194 - (nm_spawn_process): Add some error reporting
20196 * src/NetworkManagerDevice.c
20197 - (nm_device_activation_configure_ip): hook up to the static config
20198 routines in the backends
20200 * src/backends/NetworkManagerRedHat.c
20201 - (nm_system_device_update_config_info): use shvar.c routines to
20202 parse the config file iformation, not our own
20203 - (nm_system_device_setup_static_ip4_config): new function, based
20204 heavily on 'ifup' script and 'ipcalc' tool code. Set up a device
20205 with a static IP address and gateway
20207 * src/backends/shvar.[ch]
20208 - Parser (filched from initscripts package) for ifcfg-* files
20210 * src/backends/NetworkManagerSystem.h
20211 src/backends/NetworkManagerGentoo.c
20212 src/backends/NetworkManagerDebian.c
20213 src/backends/NetworkManagerSlackware.c
20214 - Stub nm_system_device_update_config_info() and nm_system_device_setup_static_ip4_config()
20216 2004-10-11 Dan Williams <dcbw@redhat.com>
20219 - Remove bit about more robust AP diffing since I just implemented it
20221 2004-10-11 Dan Williams <dcbw@redhat.com>
20223 * src/NetworkManagerAP.c
20224 - (nm_ap_new, nm_ap_new_from_ap): Don't crash when we don't have
20225 enough RAM to allocate new AP structures, but return NULL instead
20227 * src/NetworkManagerAPList.[ch]
20228 - (nm_ap_list_is_empty): new function
20229 - (nm_ap_list_combine): new function, combine two access point lists
20230 - (nm_ap_list_copy_keys): new function, copy keys from one list
20233 * src/NetworkManagerDevice.[ch]
20234 - Rename some functions to be clearer:
20235 nm_device_get_best_ap_frozen -> nm_device_is_best_ap_frozen
20236 nm_device_just_activated -> nm_device_is_just_activated
20237 nm_device_activating -> nm_device_is_activating
20238 nm_device_now_scanning -> nm_device_is_scanning
20239 - Cache the last 4 scans so that the access point list is more stable.
20240 We combine the lastest two scans and use that as the AP list,
20241 and diff that combined list against the combination of the earliest
20242 two cached scans for the WirelessNetworkAppeared/Dissappeared signals
20244 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
20246 * info-daemon/NWManagerInfo.h
20247 - (struct NetworkManagerInfo): add shutdown_timeout GSource
20249 * info-daemon/NWManagerInfoDbus.c
20250 - (shutdown_callback): new function
20251 - (nmi_dbus_filter): Create a 30 second timeout until shutdown
20252 if NetworkManager goes away. Kill the timeout
20253 if NetworkManager restarts before the 30 seconds
20255 - (nmi_dbus_service_init):
20256 - call gtk_main_quit if NetworkManager is not running
20257 - add filters to monitor dbus service creations and
20260 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
20262 * panel-applet/NMWirelessApplet.c
20263 - (nmwa_update_state): Hide notification icon if we are only
20264 showing one wired card and no wireless interfaces
20265 (Red Hat Bug #134895)
20267 * panel-applet/NMWirelessAppletDbus.c
20268 - (nmwa_dbus_filter): changed exit to gtk_main_quit ()
20270 * info-daemon/NWManagerInfo.c
20271 - (main): Terminated the notification_icon_cmd array with a NULL
20273 2004-10-08 Hendrik Brandt <hebra@cvs.gnome.org>
20275 * configure.in (ALL_LINGUAS): Added de (German).
20277 2004-10-08 Dan Williams <dcbw@redaht.com>
20279 * src/NetworkManagerDevice.c
20280 - Be a bit more robust about link checking, ie make sure that
20281 the WEP key we were given actually has some data in it
20283 2004-10-08 Dan Williams <dcbw@redhat.com>
20285 * info-daemon/NetworkManagerInfo.c (main):
20286 - Initialize GError object to NULL
20288 2004-10-08 Dan Williams <dcbw@redhat.com>
20290 * panel-applet/NMWirelessAppletDbus.c
20291 - Die if NetworkManagerInfo dies, since it manages our lifetime
20293 2004-10-08 Dan Williams <dcbw@redhat.com>
20295 * info-daemon/NetworkManagerInfo.[ch]
20296 info-dameon/NetworkManagerInfoDbus.[ch]
20297 info-daemon/NetworkManagerInfoPassphraseDialog.[ch]
20298 - Preserve original label text in the passphrase dialog so that
20299 it actually gets updated with the new network name the next
20300 time around. Previously, we were overwriting it so you'd get
20301 the wrong network name to enter a key for
20302 - Add a "Key Type" combo to the passphrase dialog, user selects
20303 encryption key type now, type is stored in GConf too
20304 - Adjust NM<->NMI DBUS protocol to pass the key type back to NM too
20306 * src/NetworkManagerAP.[ch]
20307 - Remove all the encyption method magic. It's now set by the user
20308 and NetworkManager retrieves the type of encryption key from
20311 * src/NetworkManagerAPList.[ch]
20312 src/NetworkManagerDbus.[ch]
20313 - Adjust to new way of setting encryption key and method
20314 - Pull encryption method down from NMI along with key
20316 * src/NetworkManagerDevice.[ch]
20317 - Removed encryption method fallback magic as the method is now
20318 determined by the user. This greatly simplifies the connection
20320 - More robust connection/link logic. Besides removing the encryption
20321 method fallback magic, check whether or not the card is receiving
20322 invalidly encrypted packets, which usually indicates that we have
20324 - Don't blindly forge ahead when DHCP fails (still not completely fixed)
20326 * test/nminfotest.c
20327 - Test out new "Key Type" stuff in the NMI passphrase dialog
20329 2004-10-07 Dan Williams <dcbw@redhat.com>
20331 * info-daemon/NetworkManagerInfo.conf
20332 - Allow root user to run NMI too
20334 2004-10-06 Dan Williams <dcbw@redhat.com>
20336 * src/NetworkManagerDevice.[ch]
20337 src/NetworkManagerDbus.c
20338 doc/NetworkManager DBUS API.txt
20339 - Add a new status tag "scanning", which is set when there
20340 is no active network connection, but NetworkManager is
20341 looking for an access point to associate with
20343 * panel-applet/main.c
20344 - Cast the applet appropriately for gtk_widget_show_all ()
20346 Mon Oct 4 12:55:41 2004 Jonathan Blandford <jrb@redhat.com>
20348 * panel-applet/eggtrayicon.[ch]:
20349 * panel-applet/main.c: Add missing file
20351 2004-10-04 Dan Williams <dcbw@redhat.com>
20353 * src/NetworkManagerDevice.[ch]
20354 - Add a slightly more robust method of determining if the WEP key
20355 is correct or not, by checking the WEP-discarded packet count
20358 * info-daemon/NetworkManagerInfo.c
20359 - (nmi_gconf_notify_callback): Fix GConf essid escaping, should
20360 un-escape values we pull out rather than escaping them
20362 2004-10-03 Marcel Telka <marcel@telka.sk>
20364 * configure.in (ALL_LINGUAS): Added sk.
20366 Fri Oct 1 18:26:03 2004 Jonathan Blandford <jrb@redhat.com>
20368 * panel-applet/menu-info.c (nm_menu_wired_class_init): update look
20369 and feel. We should be back to working, and have a good, clean
20372 2004-09-30 Dan Williams <dcbw@redhat.com>
20374 * info-daemon/NetworkManagerInfo.c
20375 info-daemon/NetworkManagerInfoDbus.c
20377 - Escape ESSIDs in gconf
20379 * src/NetworkManagerDevice.c
20380 - Fix pseudo-scanning to use netowrk list from info daemon
20382 Wed Sep 29 18:18:24 2004 Jonathan Blandford <jrb@redhat.com>
20384 * configure.in: Add a temporary --enable-notification-icon. This
20385 will prolly go away.
20387 * info-daemon/Makefile.am:
20388 * info-daemon/NetworkManagerInfo.c:
20389 * info-daemon/NetworkManagerInfo.h: Use a notification icon.
20391 * panel-applet/Makefile.am:
20392 * panel-applet/NMWirelessApplet.c: Turn into a notification icon
20393 * panel-applet/NMWirelessApplet.h:
20395 Tue Sep 28 16:35:20 2004 Jonathan Blandford <jrb@redhat.com>
20397 * panel-applet/NMWirelessApplet.c: Fix deadlock. Add a separator
20398 before 'select custom ESSID'.
20400 * panel-applet/menu-info.c: Start rewrite for better headers. Not
20401 fully complete, but syncing in prep for merge.
20403 * panel-applet/icons/*png: New images
20405 2004-09-28 Dan Williams <dcbw@redhat.com>
20407 * src/NetworkManager.c
20408 src/NetworkManagerDevice.c
20409 src/NetworkManagerPolicy.c
20410 - Don't blow away an active wired connection on startup
20412 2004-09-28 Bryan Clark <clarkbw@cvs.gnome.org>
20416 * info-daemon/NetworkManagerInfo.conf: fixed own permissions
20418 * info-daemon/NetworkManagerInfoDbus.c: added service name to
20421 Wed Sep 22 14:19:48 2004 Jonathan Blandford <jrb@redhat.com>
20423 * panel-applet/NMWirelessApplet.c: Only add essid's if we actually
20424 have a wireless card.
20426 Wed Sep 22 14:05:48 2004 Jonathan Blandford <jrb@redhat.com>
20428 * panel-applet/NMWirelessApplet.c: move the custom essid item.
20429 Also, get the right device strings.
20431 Wed Sep 22 13:51:45 2004 Jonathan Blandford <jrb@redhat.com>
20433 * panel-applet/menu-info.c (nm_menu_network_draw_indicator): Flip
20434 the logic to make this right.
20436 * panel-applet/NMWirelessApplet.c (sort_networks_function): sort
20437 devices so that wired networks are always first.
20439 2004-09-22 <clarkbw@cvs.gnome.org>
20441 * initscript/Debian/.cvsignore:
20442 * initscript/Slackware/.cvsignore:
20443 Added new cvsignores for Makefile, Makefile.in
20446 Added nmtestdevices
20448 * src/NetworkManagerDevice.c:
20449 * src/NetworkManager.c:
20450 Updated the wireless/wired HAL device strings from net.ethernet to
20451 net.80203 or net.80211 depending on wired or wireless respectively
20453 * examples/python/NetworkManager.py:
20454 s/Quality/Strength/
20456 * examples/python/systray/network_tray.py:
20457 Lots of little changes and fixes. been rotting for a while so I
20458 figured I'd finally sync them all with CVS
20460 Tue Sep 21 18:05:34 2004 Jonathan Blandford <jrb@redhat.com>
20462 * configure.in: Add graphics
20464 * panel-applet/Makefile.am: Add graphics
20466 * panel-applet/icons/*: Add graphics
20468 * panel-applet/NMWirelessApplet.c: Use new menu times to display
20469 the icons fully lined up.
20471 * panel-applet/menu-info.c:
20472 * panel-applet/menu-info.h: Add another menu type.
20474 Fri Sep 17 14:04:34 2004 Jonathan Blandford <jrb@redhat.com>
20476 * panel-applet/NMWirelessApplet.c: Redo the menu item code.
20478 * panel-applet/menu-item.[ch]: Wireless menu item.
20480 2004-09-15 John (J5) Palmieri <johnp@redhat.com>
20482 * info-daemon/NetworkManagerInfo.conf
20483 - Created a more robust security policy for the DBus service
20484 - everything is denied by default
20485 - root can own and send to the service
20486 - users logged in at the console can send to the service
20488 2004-09-13 Dan Williams <dcbw@redhat.com>
20490 * src/NetworkManagerDevice.c
20491 - (nm_device_get_essid): use iw_get_basic_config() rather than
20492 iw_get_ext (SIOCGIWESSID) since prism54 cards don't like
20495 2004-09-13 Dan Williams <dcbw@redhat.com>
20499 * docs/NetworkManager DBUS API.txt
20500 - Update for new signal strength changes
20502 * panel-applet/NMWirelessApplet.c
20503 - Make panel icon show strength of the current connection
20504 - Cleanups and memleak fixes
20506 * panel-applet/NMWirelessApplet.h
20507 - Add data members for signal strength on devices and networks
20509 * panel-applet/NMWirelessAppletDbus.c
20510 - Free more DBusErrors
20511 - Update for new signal strength changes
20512 - Make devices and networks more like real objects, use ref/unref methods
20513 - Actually unlock the mutex when updating the active device
20515 * src/NetworkManagerAP.c
20516 - Change AP functions and data members from "quality"->"strength"
20518 * src/NetworkManagerDbus.c
20519 - Kill "getMaxQuality" and "getQuality" methods
20520 - Add "getStrength" methods for Networks and Devices
20522 * src/NetworkManagerDevice.[ch]
20523 - Add accessors for device strength
20524 - Add functions to update strength for a device. Note that not all drivers
20525 actually support signal strength for scanned access points (Atmel drivers
20527 - Calculate signal strength for each AP during scan
20529 * src/NetworkManagerWireless.[ch]
20530 - Add function to return signal strength % from a device and a raw quality struct
20532 * test/nmclienttest.c
20533 - Update for new signal strength changes
20535 2004-09-11 Dan Williams <dcbw@redhat.com>
20537 * src/NetworkManager.c
20538 - Fix race condition between initscripts and NM on card insertion
20539 which could cause a card to keep an IP address and routes around
20540 even when it was not the active device
20542 * src/NetworkManagerDbus.c
20543 - Fix compile errors, free more DBusErrors
20545 2004-09-11 Dan Williams <dcbw@redhat.com>
20547 * docs/NetworkManager DBUS API.txt
20548 - Add an explanation of NM's API
20550 * src/NetworkManagerDbus.c
20551 - Free some more DBusErrors if needed
20553 2004-09-11 Dan Williams <dcbw@redhat.com>
20555 * panel-applet/NMWirelessApplet.c
20556 panel-applet/NMWirelessAppletDbus.c
20557 - Start using NetworkDevice/WirelessNetwork structures in more places
20558 - Update for unified device/network forcing in NetworkManager
20560 * src/NetworkManager.c
20561 - some code consolidation
20563 * src/NetworkManagerDbus.c
20564 - (nm_dbus_nm_set_active_device): "setActiveDevice" now takes either one
20565 or two arguments: the first is the NM ID of the device to switch to,
20566 and the second (optional) argument is the ESSID of a wireless network
20568 - Get rid of "setNetwork" method due to above change
20570 * src/NetworkManagerDevice.c
20571 - (nm_device_new): perform scan and update best AP on device creation
20572 - nm_device_activation_cancel_if_needed()->nm_device_activation_should_cancel()
20573 - nm_device_activation_signal_cancel()->nm_device_activation_cancel(), and
20574 spin waiting for cancellation to finish before returning
20576 * src/NetworkManagerPolicy.c
20577 - Changes here clarify the situations in which a device switch occurs, and
20578 make sure to keep using a forced device and network if the user gives
20580 - Remove old unused code
20582 2004-09-11 Martin Willemoes Hansen <mwh@sysrq.dk>
20584 * configure.in: Added Danish (da) to ALL_LINGUAS.
20586 2004-09-09 Dan Williams <dcbw@redhat.com>
20588 * panel-applet/NMWirelessAppletDbus.c
20589 - Pull fresh devices and networks from NM when wireless networks
20590 change. Provides faster feedback of a forced wireless network
20592 * src/NetworkManagerDbus.c
20593 - Return error when "getMaxQuality" is called on a wired device
20594 - Make best_ap freezing actually work again, and signal cancellation
20595 of activation if there's already a device activation when the user
20596 freezes the best_ap
20598 * src/NetworkManagerDevice.c
20599 - Don't clear out the best_ap for wireless devices when the link goes
20600 down, that's done elsewhere
20601 - Kill any dhcp daemons when cancelling device activation since they
20602 may be stuck waiting for a DHCP address, and since we're cancelling
20603 activation we don't care about that anymore
20605 * src/NetworkManagerPolicy.c
20606 - Make sure to unref the device we ref earlier (we refed it to make sure
20607 it stuck around during device activation and such)
20608 - If we were going to change the best device, but its activating currently
20609 (and therefore the change didn't occur due to the check earlier)
20610 we mark the state changed to we come back to it later when device
20611 activation has canceled and its no longer activating
20613 * src/backends/NetworkManagerRedHat.c
20614 - SIGKILL dhcp daemons rather than SIGTERM-ing them
20616 2004-09-09 Bryan Clark <clarkbw@cvs.gnome.org>
20618 * info-daemon/passphrase.glade:
20619 set passphrase input to activates_default : True
20621 * examples/python/systray/network_tray.py
20622 (network_tray.sort_networks):
20624 Added support for having wireless always scanning
20626 2004-09-09 Dan Williams <dcbw@redhat.com>
20628 NOTE: this commit changes the behavior of wireless devices in
20629 NetworkManager. They are now up all the time, scanning all
20630 the time. Only the active device has an IP address and routing
20631 information set up however. Also, NetworkManager will no longer
20632 opportunistically switch wireless networks when a better one
20633 comes in range, it will remain associated with one wireless network
20634 until that one drops out.
20636 * panel-applet/NMWirelessApplet.c
20637 panel-applet/NMWirelessAppletDbus.c
20638 - List all wireless cards and their respective networks
20640 * src/NMLoadModules
20641 - Use full path to /sbin/ip
20643 * src/NetworkManager.c
20644 - Keep wireless devices up all the time so they can scan
20646 * src/NetworkManagerDbus.c
20647 - On a WirelessNetworkUpdate signal from NMI, don't update
20650 * src/NetworkManagerDevice.c
20651 - (nm_device_set_link_active): clear out the best ap for
20652 wireless devices when the link is set to FALSE
20653 - Scan on all wireless cards, all the time
20654 - (nm_device_activation_worker): split out the wireless card
20655 link-waiting code to a separate function
20656 - Keep wireless cards up even if device activation fails
20657 - Don't update the "best" ap as much
20659 * src/NetworkManagerPolicy.c
20660 - Don't update the best ap when checking if its frozen,
20661 let link checking clear out a frozen best ap for us
20663 * src/NetworkManagerWireless.c
20664 - Scan on all wireless cards, all the time
20666 2004-09-09 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
20668 * configure.in: Added 'es' (Spanish) to ALL_LINGUAS.
20670 2004-09-09 Ankit Patel <ankit@redhat.com>
20672 * configure.in: Added 'gu' (Gujarati) to ALL_LINGUAS.
20674 2004-09-09 Pablo Saratxaga <pablo@mandrakesoft.com>
20676 * configure.in: Added Walloon (wa) to ALL_LINGUAS.
20678 2004-09-08 Bryan Clark <clarkbw@cvs.gnome.org>
20680 * examples/python/NetworkManager.py:
20681 added CONNECTED, CONNECTING, and DISCONNECTED states
20682 added methods to return number of devices of a single type
20684 * examples/python/systray/network_tray.py:
20685 did some tweaks to get the menu looking near what it is supposed
20686 to look like. Also did a Airo card hack to make it show the
20689 2004-09-08 Dan Williams <dcbw@redhat.com>
20691 * panel-applet/no-networkmanager.png
20692 panel-applet/Makefile.am
20693 panel-applet/NMWirelessApplet.c
20694 - Add a "NetworkManager not running" icon and use it
20695 - Use new consolidated GConf keys rather than Preferred/Trusted
20699 * info-daemon/NetworkManagerInfo.c
20700 info-daemon/NetworkManagerInfoDbus.[ch]
20701 info-daemon/NetworkManagerInfoPassphraseDialog.c
20702 - There are now no longer two separate lists of wireless networks,
20703 but one list where each network is "trusted" or not trusted
20704 - Add a "getNetworkTrusted" dbus method
20705 - "WirelessNetworkUpdate" signal now sent rather than
20706 "PreferredNetworkUpdate/TrustedNetworkUpdate" signals
20707 - Start freeing some dbus errors (not completed yet)
20709 * info-daemon/passphrase.glade
20710 - Remove the "don't show" hints for pager and taskbar
20711 - Add a title since its going to be in the taskbar
20713 * src/NetworkManager.[ch]
20714 src/NetworkManagerAPList.[ch]
20715 - There are now no longer two separate lists of wireless networks,
20716 but one list where each network is "trusted" or not trusted
20718 * src/NetworkManagerAP.[ch]
20719 - Add get/set "trusted" accessors and data bit
20721 * src/NetworkManagerDbus.[ch]
20722 - Add function to get "trusted" status of a network from NetworkManagerInfo
20723 - Trap new WirelessNetworkUpdate signal rather than old separate signals
20725 * src/NetworkManagerDevice.[ch]
20726 - Add per-device config data (ip4 addr, gateway, netmask) and accessors
20727 - (nm_device_new): Get device config from backend when initializing devices
20728 - (nm_device_activation_worker): Split out device configuration on
20729 activation to deal with static/dynamic IP differences, and try encryption
20730 fallbacks on a device if the encryption method for the best AP is not good
20731 - (nm_device_update_best_ap): convert to new consolidated access point lists from
20732 NetworkManagerInfo, and copy over latest NMI info to best_ap when setting it
20734 * src/NetworkManagerWireless.c
20735 - libgcrypt code wasn't converting the MD5 digest to an ascii string, fix it
20737 * src/backends/NetworkManagerRedHat.c
20738 src/backends/NetworkManagerSystem.h
20739 - (nm_system_device_update_config_info): Add function to get device configuration
20740 from system data in ifcfg-* files
20742 * src/backends/NetworkManagerDebian.c
20743 src/backends/NetworkManagerGentoo.c
20744 src/backends/NetworkManagerSlackware.c
20745 - Add stub functions for getting device configuration
20747 2004-09-07 Dan Williams <dcbw@redhat.com>
20749 * src/backends/NetworkManagerRedhat.c
20750 src/backends/NetworkManagerSlackware.c
20751 - Use full path to /sbin/ip everywhere
20753 2004-09-07 Dan Williams <dcbw@redhat.com>
20755 Patch from: Narayan Newton <narayan_newton@yahoo.com>
20758 initscript/Makefile.am
20759 initscript/Slackware/Makfile.am
20760 initscript/Slackware/rc.networkmanager
20762 src/backends/NetworkManagerSlackware.c
20763 - Add Slackware support
20765 2004-09-07 Dan Williams <dcbw@redhat.com>
20767 Patches below from:
20769 Mark Roach <mrroach@okmaybe.com>
20770 Thom May <thom@debian.org>
20773 initscript/Debian/NetworkManager
20774 initscript/Debian/Makefile.am
20775 - Initscript for Debian
20777 * src/backends/NetworkManagerDebian.c
20778 - Add missing system init function to allow compilation
20781 2004-09-03 Raphael Higino <raphaelh@cvs.gnome.org>
20783 * configure.in: Added 'pt_BR' to ALL_LINGUAS.
20785 2004-09-03 Akagic Amila <bono@linux.org.ba>
20787 * configure.in: Added 'bs' to ALL_LINGUAS.
20789 2004-09-02 Colin Walters <walters@verbum.org>
20791 * src/backends/NetworkManagerRedHat.c (nm_system_device_run_dhcp)
20792 (nm_system_device_stop_dhcp, nm_system_device_flush_routes): Use
20793 g_strdup_printf instead of arbitrarily sized buffers.
20795 2004-09-01 Colin Walters <walters@verbum.org>
20797 * NetworkManager.pc.in: New file.
20799 * Makefile.am, .cvsignore, configure.in: Add NetworkManager.pc.
20801 2004-09-01 Amanpreet Singh Alam <aalam@redhat.com>
20803 * configure.in: Punjabi(pa) is added to po/.
20805 2004-08-31 Dan Williams <dcbw@redhat.com>
20807 * Remove 'debug' extern global from all files since we now
20810 * src/NetworkManager.[ch]
20811 - Break out routine that get the net.interface property from HAL,
20812 removing that logic from nm_create_device_and_add_to_list()
20813 - (nm_create_device_and_add_to_list): make this a bit more general so
20814 it doesn't do the talking to HAL. Also add arguments to facilitate
20815 the create of test devices.
20816 - (nm_data_mark_state_changed): rename from nm_data_set_state_modified()
20817 - (nm_data_new, main, nm_print_usage): add new argument "--enable-test-devices"
20818 which makes NetworkManager listen for dbus commands to create test
20819 devices, which have no backing hardware. Use when you're on a plane
20820 for example, and/or forgot your wireless card at home. Test devices
20821 _cannot_ be created unless NM is started with --enable-test-devices.
20823 * src/NetworkManagerDbus.[ch]
20824 - New "getLinkActive" method for devices
20825 - New "setLinkActive" method for devices (only works on test devices)
20826 - New "createTestDevice" method on NetworkManager object to create a test
20827 device of a specified type (ie wired, wireless). UDI is created from
20828 scratch, as is the interface name. Only works when NM is started with
20829 --enable-test-devices switch.
20830 - New "removeTestDevice" method on NetworkManager object which removes a
20831 test device. Only works when NM is started with --enable-test-devices
20833 * src/NetworkManagerDevice.[ch]
20834 - Logic to facilitate test devices. Add variables to NMDevice struct to indicate
20835 whether a device is a test device or not, and what its link status is.
20836 - Deal with test devices in most functions. For those that work directly on hardware
20837 special-case test devices.
20838 - (nm_device_new): don't create a test device if test devices weren't enabled on the
20840 - (nm_device_update_link_active): split out logic for wired and wireless device link
20841 checking to separate functions to facilitate test device link checking.
20842 - (nm_device_set_enc_key): Since some drivers for wireless cards are daft and
20843 don't make a distinction between System Authentication and Encryption
20844 (namely Cisco aironet), we use Open System auth when setting a WEP key
20845 on the card. We don't deal with Shared Key auth yet.
20846 - (nm_device_activation_worker): split the activation cancel check logic out into
20847 a separate routine nm_device_activation_cancel_if_needed()
20848 - (nm_device_activation_signal_cancel): rename from nm_device_activation_cancel()
20849 - (nm_device_fake_ap_list): Test wireless devices obviously cannot scan, so create
20850 a list of fake access points that they can "see"
20851 - (nm_device_is_test_device): return whether or not a device is a test device
20853 * src/NetworkManagerPolicy.c
20854 - (nm_policy_get_best_device): attempt to deal with wireless network selection,
20855 previously if you "locked"/forced NM to use a wireless device but then
20856 selected a wireless network for NM to use, it would switch to a wired device.
20857 So, if the active device is wireless and it has a "forced" best AP, use it
20858 if the "forced" best AP is still valid
20859 - (nm_state_modification_monitor): deal with NULL best devices, for example
20860 there were no usable network devices, or the last one was removed
20862 * src/backends/NetworkManager*.c
20863 - Deal with test devices, mostly just return success for operations like getting
20866 * test/nmtestdevices.c
20867 - Test tool to create/remove/link-switch test devices
20869 2004-08-30 Bryan Clark <clarkbw@cvs.gnome.org>
20871 * examples/python/NetworkManager.py:
20872 added convience functions has_wired_device and has_wireless_device
20874 * examples/python/systray/network_tray.py:
20875 cleaned up a bunch of cruft, added support for listing wireless
20876 networks just like the real applet. This is probably all I'm
20877 going to work on this applet from now on.
20878 TODO: add support for actually changing networks and devices
20880 * examples/python/NetworkManager.py (NetworkManager.get_device):
20881 changed "nm.networks" into a dict from a list so I can store all
20882 the cool information about networks in there
20884 * examples/python/systray/network_tray.py:
20885 Added nice message when you try to run without running make first
20887 * examples/python/NetworkManager.py:
20888 Bug fixes to the code so we get all the device information
20889 that we need in get_device()
20891 * examples/python/NMTester.py:
20892 Fixed _print_device_list to print_device_list
20894 2004-08-29 Seth Nickell <seth@gnome.org>
20898 Actually properly setup the Debian backend in configure.
20900 2004-08-29 Colin Walters <walters@verbum.org>
20902 * test/nminfotest.c: Include string.h and stdlib.h.
20903 (get_network_string_property, get_networks_of_type): Return NULL.
20905 * test/nmclienttest.c (get_device_name, get_active_device): Return
20908 * src/backends/NetworkManagerRedHat.c (nm_system_device_stop_dhcp): Just
20909 use strlen, fgets always NULL-terminates the string.
20911 * src/NetworkManagerDbus.c (nm_dbus_nmi_filter,
20912 dbus_message_get_member): Remove /* in comment.
20914 * src/NetworkManagerUtils.c (LOCKING_DEBUG): Ditto.
20916 * src/NetworkManager.c (quit): Unused, delete.
20917 (nm_data_free): Cast arg to GFunc.
20919 * panel-applet/NMWirelessAppletDbus.c: Need to include
20920 string.h, and dbus-glib-lowlevel.h (the latter is needed
20921 for dbus_connection_setup_with_g_main at present).
20922 (nmwa_dbus_update_wireless_network_list): Parenthesize
20923 assignment in conditional.
20924 (nmwa_dbus_worker): Return NULL.
20926 * panel-applet/NMWirelessApplet.c (nmwa_redraw)
20927 (nmwa_get_menu_pos, nmwa_toplevel_menu_activate)
20928 (nmwa_menu_add_text_item, nmwa_setup_widgets): Kill unused variables.
20929 (nmwa_populate_menu): Return NULL on failure, instead of just
20932 * initscript/NMLaunchHelper.c (g_timeout_add): Cast arg to GSourceFunc.
20934 * info-daemon/NetworkManagerInfoNetworksDialog.c (nmi_networks_dialog_init): Kill unused
20937 * info-daemon/NetworkManagerInfo.c (nmi_print_usage): Unused,
20940 2004-08-29 Colin Walters <walters@verbum.org>
20942 * src/NetworkManagerDbus.c (nm_dbus_get_network_timestamp): Return
20943 a GTimeVal instead of time_t. This is easier to work with,
20944 since time_t may be a long or double, we don't know.
20946 * src/NetworkManagerDbus.h: Update prototype.
20948 * src/NetworkManagerAP.c (struct NMAccessPoint): Store a GTimeVal
20950 (nm_ap_get_timestamp): Update to return GTimeVal.
20951 (nm_ap_set_timestamp): Update to take GTimeVal.
20953 * src/NetworkManagerDevice.c (nm_device_update_best_ap): Update
20954 to handle GTimeVal.
20956 * src/NetworkManagerAPList.c (nm_ap_list_update_network): Handle
20958 (nm_ap_list_print_members): Fix warnings in printf format.
20960 2004-08-29 Colin Walters <walters@verbum.org>
20962 * panel-applet/NMWirelessApplet.c: Include config.h.
20964 2004-08-29 Colin Walters <walters@verbum.org>
20966 * configure.in: Generate config.h.
20968 * configure.in: Dump dependency on OpenSSL; we can't
20969 use it since this package is GPL:
20970 http://www.gnome.org/~markmc/openssl-and-the-gpl.html
20971 Instead, check for libgcrypt, use it if available,
20972 otherwise use included MD5 code.
20974 * src/gnome-keyring-md5.h, src/gnome-keyring-md5.c:
20975 Suck in from gnome-keyring, munge a bit.
20977 * src/Makefile.am (NetworkManager_SOURCES) <!WITH_GCRYPT>: Include
20978 gnome-keyring-md5.h gnome-keyring-md5.c.
20979 (NetworkManager_LDADD) <WITH_GCRYPT>: Add dep on LIBGCRYPT_LIBS.
20981 * src/NetworkManagerWireless.c (nm_md5): New function, uses
20982 libgcrypt or included gnome-keyring md5 bits.
20983 (nm_wireless_128bit_key_from_passphrase): Use nm_md5.
20985 2004-08-28 Kjartan Maraas <kmaraas@gnome.org>
20987 * configure.in: Add «nb» and «no» to ALL_LINGUAS.
20989 2004-08-27 Bryan Clark <bclark@redhat.com>
20991 * examples/python/systray/Makefile:
20993 Updated the clean section
20995 * examples/python/systray/trayiconmodule.c:
20996 * examples/python/systray/trayicon.override:
20997 * examples/python/systray/network_tray.py:
20998 * examples/python/systray/eggtrayicon.h:
20999 * examples/python/systray/eggtrayicon.c:
21000 * examples/python/systray/Makefile:
21001 * examples/python/README:
21002 * examples/python/NetworkManager.py:
21003 * examples/python/NMTester.py:
21005 Initial commit of these python example files
21007 Fri Aug 28 2004 Dan Williams <dcbw@redhat.com>
21009 * panel-applet/NMWirelessApplet.c
21010 - Make current device bold
21011 - Show more user-friendly device name if we got one from hal
21013 * panel-applet/NMWirelessAppletDbus.c
21014 - Grab "info.product" key from hal for network devices
21015 - Cache the current active device
21017 2004-08-27 Adam Weinberger <adamw@gnome.org>
21019 * configure.in: Added en_CA to ALL_LINGUAS.
21021 2004-08-27 Christian Rose <menthos@menthos.com>
21023 * configure.in: Added "sv" to ALL_LINGUAS.
21025 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
21027 * Tag NetworkManager-0.2
21029 Thu Aug 26 17:23:16 2004 Jonathan Blandford <jrb@redhat.com>
21031 * initscripts/Makefile.am
21032 * configure.in: Make pass distcheck
21034 * po/ChangeLog: added
21036 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
21038 * panel-applet/NMWirelessApplet.c
21039 - Remove debugging code
21040 - Enable device switching from menus
21042 * panel-applet/NMWirelessAppletDbus.[ch]
21043 - Method for asking NM to switch devices
21045 * src/NetworkManagerDevice.c
21046 - Set dev->activating earlier, avoids race between
21047 the dbus signal of "DeviceActivating" and setting
21048 dev->activating (which is what NM's "status" method call
21051 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
21053 * panel-applet/NMWirelessApplet.[ch]
21054 - Rework menu code to add devices to menu, and to show
21055 signal strength for each access point. Code cleanups
21058 * panel-applet/NMWirelessAppletDbus.c
21059 - Grab network devices from NetworkManager too
21060 - Grab quality information from NM for wireless networks
21062 * src/NetworkManagerDbus.[ch]
21063 - Add dbus methods for getting the HAL UDI from a device and
21064 for getting its base quality, if its wireless
21065 - Consolidate some functions (wireless network notifications,
21066 device notifications)
21067 - Add method for requesting NM to use a particular device
21069 * src/NetworkManager.c
21070 - Change for function consolidations from NetworkManagerDbus.c
21071 - Implement active device locking and user-requested devices
21072 (ie, tell NM to use a particular device instead of the one
21075 * src/NetworkManagerDevice.c
21076 - Add method for getting the base quality of a device, if its
21078 - Grab device base quailty info from iwlib during scans
21080 * src/NetworkManagerPolicy.c
21081 - Use a user-requested device rather than the auto-chosen device
21084 Thu Aug 26 15:12:36 2004 Jonathan Blandford <jrb@redhat.com>
21086 * Makefile.am: add po as a supdir
21088 * autogen.sh: use gnome-autogen.sh
21090 * initscript/Gentoo/.cvsignore:
21091 * initscript/RedHat/.cvsignore: Shut up cvs
21093 * panel-applet/Makefile.am: Define GNOMELOCALEDIR for bonobo.
21095 * panel-applet/NMWirelessApplet.c: (nmwa_populate_menu),
21096 (nmwa_fill): Use gettext.
21098 * configure.in: add gettext support
21100 * po/NetworkManager.pot:
21103 2004-08-26 Seth Nickell <seth@gnome.org>
21105 * panel-applet/NMWirelessApplet.c: (nmwa_destroy),
21106 (nmwa_menu_item_activate), (nmwa_toplevel_menu_activate),
21107 (nmwa_add_menu_item), (nmwa_menu_item_data_free),
21108 (nmwa_dispose_menu_items), (nmwa_populate_menu),
21109 (nmwa_setup_widgets), (do_not_eat_button_press), (nmwa_new):
21110 * panel-applet/NMWirelessApplet.h:
21112 Use a menu bar instead of a button for the main clickable
21115 2004-08-25 Dan Williams <dcbw@redhat.com>
21117 * src/NetworkManagerDevice.c
21118 - (nm_device_set_enc_key): always set device to "open" mode instead of
21119 turning encryption off, because the Cisco driver doesn't associate
21120 with WEP-enabled access points unless we are in "open"
21122 2004-08-25 Dan Williams <dcbw@redhat.com>
21124 * src/NetworkManagerWireless.c
21125 - Don't try to defererence blank passphrases
21127 2004-08-25 Dan Williams <dcbw@redhat.com>
21129 * panel-applet/NMWirelessApplet.c
21130 - Rebuild the menu whenever a user clicks
21132 2004-08-25 Dan Williams <dcbw@redhat.com>
21134 * panel-applet/NMWirelessApplet.c
21135 - (nmwa_udpate_state): Set panel icon to "wired" (for lack of better ones)
21136 when NM isn't around or when its not connected
21138 * src/NetworkManagerDevice.c
21139 - (nm_device_activation_worker): Make sure to reset dev->activating if we get
21142 2004-08-25 Dan Williams <dcbw@redhat.com>
21144 * panel-applet/NMWirelessAppletDbus.c
21145 - (nmwa_dbus_get_bool, nmwa_dbus_get_network_encrypted): correct method name
21146 for getting encryption, and don't stop on "val" once we've gotten it
21147 from NetworkManager. Short form: encryption should now show up.
21149 2004-08-25 Dan Williams <dcbw@redhat.com>
21151 * panel-applet/NMWirelessApplet.c
21152 - Set ESSID on a gconf trusted network too when force-setting the wireless
21153 network to associate with
21155 2004-08-25 Dan Williams <dcbw@redhat.com>
21158 - Rework the panel applet to do all DBUS communication in a separate
21161 2004-08-25 Dan Williams <dcbw@redhat.com>
21163 * info-daemon/NetworkManagerInfo.[ch]
21164 - Remove "get_next_priority" function
21166 * info-daemon/NetworkManagerInfoDbus.[ch]
21167 - Convert "priority" functions to "timestamp"
21169 2004-08-25 Dan Williams <dcbw@redhat.com>
21171 * src/NetworkManagerAP.[ch]
21172 - Add a "enc_method_good" member and accessors to an Access Point
21173 to signal when we've found the correct encryption method
21174 for an access point
21175 - Add a "timestamp" member and accessors, remove "priority" member
21176 and accessors (use timestamps instead)
21177 - Rename "wep_key"->"enc_key"
21178 - (nm_ap_get_enc_key_hashed): new, return the correct mangled key
21179 for a specified encryption method using the access points
21180 source encryption key/passphrase
21182 * src/NetworkManagerAPList.c
21183 - When updating a network with dbus, grab timestamp now instead of
21186 * src/NetworkManagerDBus.[ch]
21187 - Add signal for "DeviceActivating"
21188 - Switch priority->timestamp
21190 * src/NetworkManagerDevice.c
21191 - Change references of "wep_key" -> "enc_key" or "key"
21192 - Signal DeviceActivating when starting activation
21193 - When activating a wireless device, if the access point we are connecting
21194 to is encrypted, and we have a source key, try to generate a mangled
21195 key and use that (ie, generate real WEP key from a passphrase)
21196 - Rework device activation to fallback to other encryption methods if
21197 a previous one didn't work (ie, try mangling a key as a 104-bit passphrase
21198 first, then if that doesn't work fall back to direct hex key).
21199 - (nm_device_update_best_ap): fix a deadlock, and use timestamps instead of
21200 priority. We now prefer the latest access point used, rather than using
21202 - (nm_device_do_normal_scan): make the encryption method "unknown" on access
21203 points we've just discovered, and merge in correct info from the global
21206 2004-08-25 Seth Nickell <seth@gnome.org>
21208 Patch from Matthew Garrett <mjg59@srcf.ucam.org> for adding
21212 * src/backends/NetworkManagerDebian.c: (nm_system_device_run_dhcp),
21213 (nm_system_device_stop_dhcp), (nm_system_device_flush_routes),
21214 (nm_system_device_flush_addresses), (nm_system_enable_loopback),
21215 (nm_system_delete_default_route),
21216 (nm_system_kill_all_dhcp_daemons), (nm_system_update_dns),
21217 (nm_system_load_device_modules):
21219 2004-08-24 Dan Willemsen <dan@willemsen.us>
21221 * src/NetworkManager.c
21222 src/backends/NetworkManagerGentoo.c
21223 src/backends/NetworkManagerRedHat.c
21224 src/backends/NetworkManagerSystem.h
21225 - Implement preliminary Gentoo support, adding a
21226 nm_system_init function to the backend specification
21229 - Distribution auto-detection, lowercase any user-fed
21232 * initscript/.cvsignore
21233 initscript/Makefile.am
21234 initscript/RedHat/Makefile.am
21235 initscript/RedHat/NetworkManager
21236 initscript/Gentoo/Makefile.am
21237 initscript/Gentoo/NetworkManager
21238 - Refactored initscript code separately for each
21241 2004-08-23 Dan Williams <dcbw@redhat.com>
21245 src/NetworkManagerDevice.c
21246 src/NetworkManager.c
21247 src/NetworkManagerUtils.[ch]
21248 src/backends/NetworkManagerSystem.h
21249 src/backends/NetworkManagerRedHat.c
21250 src/backends/NetworkManagerGentoo.c
21251 - Refactor system-specific code into separate backends for
21254 2004-08-23 Dan Willemsen <dan@willemsen.us>
21256 * dispatcher-daemon/NetworkManagerDispatcher.c
21257 info-daemon/NetworkManagerInfo.[ch]
21258 info-daemon/NetworkManagerInfoDbus.c
21259 info-daemon/NetworkManagerInfoPassphraseDialog.c
21260 src/NetworkManager.c
21261 src/NetworkManagerAP.c
21262 src/NetworkManagerAPList.c
21263 src/NetworkManagerDbus.c
21264 src/NetworkManagerDevice.c
21265 src/NetworkManagerPolicy.c
21266 src/NetworkManagerUtils.[ch]
21267 src/NetworkManagerWireless.c
21268 - Used syslog functions for logging instead of NM_DEBUG_DISPLAY & fprintf
21270 * src/NetworkManager.c
21271 - Fixed usage wording for --no-daemon
21273 2004-08-23 Dan Williams <dcbw@redhat.com>
21275 * panel-applet/NMWirelessApplet.c
21276 - Update our state every second to get more responsive panel icon
21277 - (nmwa_update_state): remove bogus applet->pix_state = PIX_WIRED that
21278 was causing our marching ants status blips to never move when
21279 looking for a wireless network
21281 * src/NetworkManagerDevice.c
21282 - (nm_device_activation_begin): return if activation has already begun
21283 - (nm_device_do_normal_scan): merge WEP key and priority from the
21284 trusted/preferred network into the device's access point when the
21285 scan list is processed
21287 2004-08-23 Dan Williams <dcbw@redhat.com>
21289 * initscript/NetworkManager
21290 - Use NMLaunchHelper rather than sleeping
21292 * initscript/NMLaunchHelper.c
21294 - Add helper program that exits only when NM activates a device,
21295 or 10 seconds have passed, whichever happens first. This
21296 stops the boot processes until we have a network connection,
21297 which NM can't do because it daemonizes and brings the connection
21298 up in the background. Allows stuff like NFS to not die.
21300 2004-08-20 Dan Williams <dcbw@redhat.com>
21302 * info-daemon/NetworkManagerInfoPassphraseDialog.c
21303 - (nmi_passphrase_dialog_ok_clicked): when updating the wep key
21304 for a network, set the essid as well since it may not exist yet
21305 - (nmi_passphrase_dialog_init): don't star out the passphrase field,
21306 since WEP keys/passphrases are long and prone to entry-error
21308 * panel-applet/Makefile.am
21309 panel-applet/wired.png
21310 - Add (pulled from system-config-network temporarily)
21312 * panel-applet/NMWirelessApplet.[ch]
21313 - Show wired picture when a wired connection is used
21314 - Rename wireless icon enums, adding WIRELESS
21316 * src/NetworkManagerDevice.c
21317 - (nm_device_activate_wireless): unset encryption before bringing
21318 down the card and setting the essid
21319 - (nm_device_activatin_worker): request a key from the user if the
21320 AP we are connecting to is encrypted but we don't have a key
21322 - (nm_device_set_user_key_for_network): fix missing '== 0' for a
21323 strcmp() that prevented a user-entered key from actually getting
21326 2004-08-16 Dan Williams <dcbw@redhat.com>
21328 * initscript/NetworkManager
21329 - Check for /sbin/ip
21330 - Do sysctl magic that network service does
21331 - sleep 4s after start to allow network time to come up [hack]
21335 - Load all network device kernel modules (hal doesn't know devices
21336 are ethernet until the module is loaded, and therefore we don't know)
21338 * src/NetworkManager.c
21339 - (main): daemonize later, launch NMLoadModules to alert HAL of our
21340 network devices, and bring up the loopback device explicitly
21342 * src/NetworkManagerUtils.[ch]
21343 - (nm_enable_loopback): new function
21345 2004-08-13 Dan Williams <dcbw@redhat.com>
21348 panel-applet/Makefile.am
21349 - Fix up cleanfiles and server_DATA/server_in_files
21352 - Update with some comments on theory of operation
21358 2004-08-12 Dan Williams <dcbw@redhat.com>
21360 * info-daemon/passphrase.glade
21361 - Set window title to " "
21363 * panel-applet/Makefile.am
21364 panel-applet/keyring.png
21365 - Deliver to correct place
21367 * panel-applet/NMWirelessApplet.[ch]
21369 - Remove applet->have_active_device as its no longer used
21370 - (nmwa_load_theme): load keyring.png too
21371 - (error_dialog): remove
21372 - (show_warning_dialog): subsume functionality of error dialog too
21373 - (nmwa_destroy, nmwa_new): create and dispose of an application-wide GConfClient
21374 - (nmwa_handle_network_choice): add to deal with user clicking on an item from
21376 - (nmwa_menu_item_activated): GtkMenuItem "activate" signal handler
21377 - (nmwa_button_clicked, nmwa_setup_widgets): create and populate the menu on startup
21378 and when we get broadcasts of changed wireless access points only, not when the
21379 user clicks on the button to display the menu (too long of a wait)
21380 - (nmwa_add_menu_item): Make active network bold, and place a keyring icon beside
21381 networks that are encrypted
21382 - (nmwa_dispose_menu, nmwa_menu_item_data_free): dispose of the data we place on each
21383 menu item with g_object_set_data()
21385 * panel-applet/NMWirelessAppletDbus.[ch]
21386 - (nmwa_dbus_get_bool): add method to return boolean value from dbus message
21387 - (nmwa_dbus_get_active_network): add (nmwa_dbus_get_string() wrapper to get active network)
21388 - (nmwa_dbus_add_networks_to_menu): clean up, only show one instance of each ESSID in the menu
21389 - (nmwa_dbus_set_network): force NetworkManager to use a particular network for wireless cards
21390 - (nmwa_dbus_init, nmwa_dbus_filter): Trap network appear/disappear and device
21391 activation/deactivation signals and rebuild the menu when they happen
21393 * src/NetworkManager.c
21394 - (main): use new nm_spawn_process() rather than system()
21396 * src/NetworkManagerDbus.c
21397 - (nm_dbus_devices_handle_request): don't compare AP structure addresses directly, but essids
21398 instead. Since we can now force best_aps to stick around, the AP structure to which
21399 dev->options.wireless.best_ap points to won't necessarily be in the device's device list
21400 if a scan has happened since the best_ap was frozen. Also add "setNetwork" method
21401 to freeze the best_ap.
21403 * src/NetworkManagerDevice.[ch]
21404 - (nm_device_activation_worker): Use new nm_spawn_process() call rather than system()
21405 - (nm_device_*_best_ap): add freeze/unfreeze/get_frozen functions, and don't really update
21406 the best_ap in nm_device_update_best_ap() if the best_ap is frozen AND in the device's
21409 * src/NetworkManagerUtils.[ch]
21410 - (nm_spawn_process): add replacement for system() usage
21412 2004-08-11 Dan Williams <dcbw@redhat.com>
21414 * panel-applet/NMWirelessApplet.[ch]
21415 - Fix up copyright and credits to include Bastien and Eskil,
21416 who created the gnome-applets wireless applet, from whose
21417 skeleton this one was created
21418 - Rework nmwa_update_state()/nmwa_draw() so that state and which
21419 pixmap to draw is computed during nmwa_update_state()
21420 - Applet now shows itself all the time due to panel packing issues
21421 which caused the applet to previously never come back after hiding.
21422 When a wired device is the active device, the applet shows "not connected"
21424 * panel-applet/NMWirelessAppletDbus.[ch]
21425 - Clean up error messages and show what function they are from
21426 - nmwa_dbus_get_active_wireless_device()->nmwa_dbus_get_active_device()
21427 - Add new device type getters, and a status getter
21429 * src/NetworkManagerDbus.c
21430 - (nm_dbus_devices_handle_request): Don't return an active network unless that
21431 network is actually in the device's ap list
21432 - (nm_dbus_nm_message_handler): Fix silly mistake returning status
21434 * src/NetworkManagerDevice.c
21435 - (nm_device_update_best_ap): If the best AP is NULL, clear out the ESSID of the
21438 * test/nmclienttest.c
21439 - Report status of NetworkManager too
21441 2004-08-11 Dan Williams <dcbw@redhat.com>
21443 * info-daemon/NetworkManagerInfo.c:
21444 - (main): clean up Seth's code style
21446 * info-daemon/NetworkManagerInfoDbus.c:
21447 - Use the more aptly-named path/service/interface constants from NetworkManager
21448 - Don't return empty strings ("") as object paths ever, instead return errors
21450 * panel-applet/NMWirelessApplet.c:
21451 - Clean up Seth's code style
21453 * src/NetworkManager.[ch]
21454 - (nm_remove_device_from_list): remove anything having to do with pending_device
21455 - (main, nm_print_usage): change --daemon=[yes|no] -> --no-daemon
21457 * src/NetworkManagerAPList.[ch]
21458 - Move Iter struct right above the iter functions to preserve opacity
21459 - (nm_ap_list_remove_ap): implement
21460 - (nm_ap_list_update_network): deal with errors returned from nm_dbus_get_network_priority(),
21461 remove AP if NetworkManagerInfo doesn't know anything about it
21462 - (nm_ap_list_diff): user NMAPList iterators
21463 - (nm_ap_list_print_members): implement debugging function
21465 * src/NetworkManagerDbus.[ch]
21466 - (nm_dbus_nm_get_active_device): remove anything to do with pending_device
21467 - (nm_dbus_get_user_key_for_network): remove DBusPendingCall stuff (unused),
21468 and move the actual key setting stuff into NetworkManagerDevice.c
21469 - (nm_dbus_get_network_priority): return -1 now on errors
21470 - (nm_dbus_nmi_filter): fix strcmp() error that caused PreferredNetworkUpdate signals to
21471 get lost, and force the active device to update its "best" ap when AP lists change
21472 - (nm_dbus_nm_message_handler): Update conditions for returning "connecting" for a "status"
21473 method call due to pending_device member removal
21475 * src/NetworkManagerDevice.[ch]
21476 - Move NMDevice structure to the top
21477 - Add a wireless scan mutex and a best_ap mutex to the Wireless Options structure
21478 - Remove Pending Action stuff from everywhere
21479 - (nm_device_activation_*): We now "begin" activation and start a thread to do the
21480 activation for us. This thread blocks until all conditions for activation have
21481 been met (ie for wireless devices, we need a valid WEP key and a "best" ap), and
21482 then setup up the interface and runs dhclient. We have to do this because there
21483 is no guaruntee how long dhclient takes, and while we are blocking on it, we cannot
21484 run our main loop and respond to dbus method calls or HAL device removals/inserts
21485 - (nm_device_set_user_key_for_network): Move logic here from NetworkManagerDbus.c so we
21486 can tell nm_device_activation_worker() that we've got a key
21487 - (nm_device_*_best_ap): lock access to best_ap member of Wireless Options structure
21488 - (nm_device_get_path_for_ap): dumb it down so the list doesn't lock against itself when
21489 diffing (AP appear/disappear signal functions make sure the AP is actually in the device's list)
21490 - (nm_device_update_best_ap): move logic from nm_wireless_is_ap_better() here
21492 * src/NetworkManagerPolicy.c
21493 - Remove anything to do with pending_device
21494 - Adjust device activation to deal with activation-in-worker-thread
21496 * src/NetworkManagerUtils.c
21497 - Clean up locking debugging a bit
21499 * src/NetworkManagerWireless.[ch]
21500 - (nm_wireless_is_ap_better): remove, stick logic in nm_device_update_best_ap(). This function
21501 was badly named and is better as a device function
21503 * panel-applet/.cvsignore: add
21505 2004-08-09 Seth Nickell <seth@gnome.org>
21507 * panel-applet/NMWirelessApplet.c: (nmwa_timeout_handler),
21508 (nmwa_button_clicked), (nmwa_populate_menu), (nmwa_setup_widgets),
21510 * src/NetworkManagerDbus.c: (nm_dbus_nmi_filter):
21512 Don't load the menus until clicked on (also removes a call outside
21513 normal code paths at first load).
21515 Hide applet when NM is not present.
21517 Improve printf debugging stuff.
21519 2004-08-09 Dan Williams <dcbw@redhat.com>
21521 * dispatcher-daemon/NetworkManagerDispatcher.c:
21522 - Covert uses of dbus_message_iter_* over to dbus_message_get_args
21523 - Use constants for NetworkManager interface, service, and path
21525 2004-08-09 Dan Williams <dcbw@redhat.com>
21527 * src/NetworkManagerDbus.c:
21528 - (nm_dbus_nm_get_active_device, nm_dbus_nm_get_devices): Never return an empty object path,
21529 instead return an error message
21530 - (nm_dbus_devices_handle_request): Return error when getActiveNetwork/getNetworks is called
21531 on a wired device. Also never return an empty object path, instead return an error message
21533 2004-08-06 Seth Nickell <seth@gnome.org>
21535 * panel-applet/NMWirelessApplet.c: (nmwa_new):
21537 Check the error code when getting a connection.
21539 * panel-applet/NMWirelessAppletDbus.c: (nmwa_dbus_init):
21541 Check if the NM service exists when initializing (rather than
21542 assuming it does not).
21544 * src/NetworkManagerDbus.c: (nm_dbus_init):
21546 Don't acquire the well-known service name until we have
21547 registered object/path handlers and can actually receive
21550 2004-08-06 Dan Williams <dcbw@redhat.com>
21555 * src/NetworkManagerPolicy.c
21556 src/NetworkManager.c
21557 - Get access point lists from NetworkManagerInfo on-demand,
21558 and look for ServiceCreate/ServiceDeleted signals to see when
21559 we should query NMI for lists
21560 * src/NetworkManagerAPList.c
21561 - Make sure to init the list's mutex
21562 - Convert traversals of the list over to the list iter functions
21564 * src/NetworkManagerDbus.[ch]
21565 - Use more aptly-named path/service/interface constants
21566 - Treat both active and pending devices the same for "getActiveDevice"
21567 - Add a "status" method returning "connected", "connecting", or "disconnected"
21569 * src/NetworkManagerDevice.c
21570 - Honor "ignored" network list when picking best ap to use
21572 2004-08-06 Seth Nickell <seth@gnome.org>
21576 Autogenerated, remove from CVS.
21580 Don't hardcode automake version.
21583 * info-daemon/Makefile.am:
21584 * info-daemon/NetworkManagerInfo.c: (main):
21586 Use GnomeProgram et al. for doing session management.
21587 Use popt stuff for argument parsing rather than doing
21590 2004-08-05 Dan Williams <dcbw@redhat.com>
21592 * test/nminfotest.c
21593 - Update to new NMI dbus API, check different network types
21595 * info-daemon/NetworkManagerInfoDbus.c
21596 - Update to new NM dbus API, ie network type sent in query message
21598 2004-08-05 Dan Williams <dcbw@redhat.com>
21600 * An assload of changes
21602 2004-08-02 Dan Williams <dcbw@redhat.com>
21605 - new task: proper logging support
21607 * info-daemon/NetworkManagerInfo.c
21608 - Correct spelling of "canceled"
21609 - Correct casting of objects for g_signal_connect()
21611 * info-daemon/NetworkManagerInfoDbus.c
21612 - Add defines for NetworkManager namespace and object path, and use them
21613 - Add filter function to trap new signals from NetworkManager:
21614 WirelessNetworkAppeared, WirelessNetworkDisappeared
21616 * info-daemon/passphrase.glade
21617 - Change name of "ok" button to "Login to Network..."
21620 * src/NetworkManager.c
21621 - Code and debug message cleanups
21622 - Rename "nm_add_current_devices"->"nm_add_initial_devices"
21623 - (nm_add_initial_devices) Check returned string array of devices
21624 and don't try to add devices if array is NULL
21625 - (main) Initialize libhal a bit later, make code a bit clearer
21627 * src/NetworkManagerAP.[ch]
21628 - New accessor and data member "matched": used to speed up AP list
21630 - New accessor and data member "enc_method": will be used during key
21631 fallback to cache which passphrase->key conversion actually works
21632 so we don't have to do it every time
21634 * src/NetworkManagerAPList.[ch]
21635 - (nm_ap_list_find_ap_in_list) New: find an AP by essid in an AP list
21636 - (nm_ap_list_diff) New: given two lists of access points, find the differences
21637 between them, and send WirelessNetworkAppeared/Disappeared signals over
21638 dbus in response to those differences
21640 * src/NetworkManagerDbus.[ch]
21641 - (nm_dbus_get_object_path_from_ap) New: given a device and an access point,
21642 make an object path for that access point (NOTE that we don't yet check to
21643 make sure that access point is actually in the device's AP list yet)
21644 - (nm_dbus_get_ap_from_object_path) Renamed from nm_dbus_get_network_from_object_path
21645 - (nm_dbus_signal_wireless_network_appeared, nm_dbus_signal_wireless_network_disappeared)
21646 New: signal appearance/disappearance of wireless networks
21647 - (nm_dbus_set_user_key_for_network) Mark the network/ap as invalid if the user cancelled
21650 * src/NetworkManagerDevice.[ch]
21651 - (nm_device_ap_list_clear) Use nm_ap_list_free rather than doing it ourselves
21652 - (nm_device_ap_list_get) New: return the AP list (static function)
21653 - (nm_device_do_normal_scan) Destroy old AP list later, so that we can diff the
21654 new one resulting from the scan with the old one
21656 * src/NetworkManagerWireless.c
21657 - (nm_wireless_is_most_prefered_ap) "invalid" access points cannot be "best" access points
21659 * test/nminfotest.c
21660 - #define object paths and namespaces and use the #defines rather than static strings
21661 - Test out user-key functionality of NetworkManagerInfo too
21663 2004-07-29 Dan Williams <dcbw@redhat.com>
21665 * info-daemon/NetworkManagerInfoDbus.c
21666 src/NetworkManagerDbus.c
21667 - Update to current DBus (ie don't use decomposed paths when registering
21668 object paths/fallbacks)
21670 2004-07-27 Dan Williams <dcbw@redhat.com>
21672 * Remove various Makefile.in files
21675 - Add some more items
21678 - Add checks for OpenSSL/md5 headers and libs
21681 - Use OpenSSL CFLAGS
21683 * src/NetworkManagerAP.[ch]
21684 - Remove 'stamp' functions, replace with 'invalid' functions
21685 to support user cancelling WEP key entry
21687 * src/NetworkManagerDbus.c
21688 - Remove 'stamp' return functions
21689 - Treat returned user key as a passphrase and convert to a WEP key,
21690 but don't actually use the WEP key yet. We use the returned user
21691 key as a hexadecimal WEP key until we can figure out a UI for
21692 passphrase-vs-hex key
21694 * src/NetworkManagerWireless.[ch]
21695 - Add passphrase-to-128bit-key function
21697 2004-07-27 Dan Williams <dcbw@redhat.com>
21700 - Add a couple of items
21702 2004-07-27 Dan Williams <dcbw@redhat.com>
21704 * info-daemon/NetworkManagerInfo.c
21705 - Update allowed network's GConf key when user enters a WEP key explicitly
21707 * info-daemon/NetworkManagerDbus.c
21708 - Fix some comments
21709 - nmi_dbus_get_allowed_networks(): kill warning
21711 2004-07-27 Dan Williams <dcbw@redhat.com>
21713 * initscript/Makefile.in
21716 * initscript/Makefile.am
21717 - Add correct rules to install the init.d initscript
21719 * info-daemon/NetworkManagerInfoDbus.c
21720 - Remove debug fprintf
21722 * src/NetworkManagerDbus.[ch]
21723 - Remove debug fprintfs
21724 - Add macros for NetworkManagerInfo object path/namespace
21725 - Use said macros instead of constant strings
21727 2004-07-27 Dan Williams <dcbw@redhat.com>
21729 * initscript/.cvsignore
21732 * info-daemon/Makefile.am
21733 - Install .glade files and keyring.png
21734 - Fix stupid omission of a \ that caused half the flags not to be
21737 * info-daemon/NetworkManagerInfo.c
21738 - gtk_signal_connect->g_signal_connect
21739 - Alert NetworkManagerInfo to new glade file location
21741 2004-07-27 Dan Williams <dcbw@redhat.com>
21743 * test/nmclienttest.c
21745 - Add missing <dbus/dbus.h> headers
21746 - Add GPL message at top
21748 2004-07-27 Dan Williams <dcbw@redhat.com>
21750 * src/NetworkManagerAPList.[ch]
21752 - Add. Deal with allowed network list additions, deletions, and updates
21754 * dispatcher-daemon/NetworkManagerDispatcher.c
21755 - Add missing <dbus/dbus.h> header
21757 * info-daemon/NetworkManagerInfo.[ch]
21758 - Add missing <dbus/dbus.h> header
21759 - Implement the GConf notify callback to signal NetworkManager of an allowed
21761 - Better error checking
21763 * info-daemon/NetworkManagerInfoDbus.[ch]
21764 - Add missing <dbus/dbus.h> header
21765 - Convert to using dbus_message_append_args/dbus_message_get_args
21766 - Implement nmi_dbus_signal_update_allowed_network() to signal NetworkManager
21767 that an allowed network changed. We don't want to signal on individual
21768 keys _inside_ an allowed network really, just want NM to query the info
21769 daemon for updated info on all keys.
21770 - Better error checking
21772 * src/NetworkManager.[ch]
21773 - Add missing <dbus/dbus.h> header
21774 - Move allowed_ap_list free functions to NetworkManagerAPList.[ch]
21775 - Zero out NMData structure on free
21776 - No longer use a thread for allowed_ap_list updating, instead its now done
21777 through dbus queries against NetworkManagerInfo
21778 - Populate allowed_ap_list initially before adding existing network devices
21779 to the device list, so wireless devices can get their "best" AP
21781 * src/NetworkManagerDbus.[ch]
21782 - Convert to using dbus_message_append_args/dbus_message_get_args
21783 - Better error checking
21784 - Implement Allowed Network info functions to request allowed network
21785 info from NetworkManagerInfo
21786 - Implement the filter function to process signals from NetworkManagerInfo
21787 about changing allowed networks
21789 * src/NetworkManagerDevice.c
21790 - Fix file descriptor leak in nm_device_update_ip4_address()
21792 2004-07-27 Dan Williams <dcbw@redhat.com>
21797 dispatcher-daemon/.cvsignore
21798 info-daemon/.cvsignore
21799 - Add .cvsignore files to reduce noise when diffing
21801 2004-07-24 Dan Williams <dcbw@redhat.com>
21803 * src/NetworkManager.[ch]
21804 src/NetworkManagerDbus.[ch]
21805 src/NetworkManagerDevice.[ch]
21806 src/NetworkManagerPolicy.c
21807 src/NetworkManagerWireless.[ch]
21808 - Add many more g_return_if_fail()/g_return_val_if_fail() checks
21809 - Pass the NMData application data structure through all calls
21810 that need it so we can get rid of nm_get_global_data()
21811 - Change deallocation of the allowed_ap_list GSList in preparation
21812 for not completely clearing it every time we get an update,
21813 but instead getting incremental updates via GConf/dbus
21815 2004-07-22 Dan Williams <dcbw@redhat.com>
21818 - Add checks for GConf libs & headers & flags
21820 * info-daemon/Makefile.am
21821 - Add GConf flags & libs to compile/link stages of NetworkManagerInfo
21823 * info-daemon/NetworkManagerInfo.[ch]
21824 - Don't use gquarks for data storage, just use normal data storage
21825 - Add gconf bits to watch /system/networking/wireless/allowed_networks
21827 * info-daemon/NetworkManagerDbus.[ch]
21828 - Add method call for getting allowed networks
21829 - Add method calls for getting an allowed network's essid, priority, and key
21830 - Hook the method calls up to GConf
21831 - Split user key dialog code into separate function (nmi_dbus_get_key_for_network)
21832 - nmi_dbus_nmi_message_handler(): make sure to unref the reply message after sending
21834 * src/NetworkManagerDbus.[ch]
21835 - Switch for enumeration of networks to using essid instead
21839 - Add test program for NetworkManagerInfo
21841 2004-07-19 Dan Williams <dcbw@redhat.com>
21843 * src/NetworkManagerDbus.c
21844 - Switch from indexed device paths to names. Less code, more efficient.
21845 ie "/org/freedesktop/NetworkManager/0" -> "/org/freedesktop/NetworkManager/eth0"
21847 2004-07-19 Dan Williams <dcbw@redhat.com>
21849 * dispatcher-daemon/NetworkManagerDispatcher.c
21850 - (nm_dbus_filter): Remove obsolete response to NeedKeyForNetwork signal
21852 2004-07-19 Dan Williams <dcbw@redhat.com>
21855 - Add info-daemon directory
21858 - Check for glade libs and headers
21859 - Add info-daemon directory
21861 * src/NetworkManagerAP.c
21862 - nm_ap_new_from_ap(): Fix bug that resulted in an APs encryption status not getting
21863 copied over to the new AP.
21865 * src/NetworkManagerDbus.c
21866 src/NetworkManagerDbus.h
21867 - Deal with nm_device_ap_list_get_ap()->nm_device_ap_list_get_ap_by_index() change
21868 - Remove nm_dbus_signal_need_key_for_network()
21869 - Add disabled code for asynchronous user wep key callbacks
21870 - Add functions for getting, setting, and cancelling user key operations
21871 - Remove "setKeyForNetwork" device dbus method call, its on NetworkManager object instead
21872 - Add "setKeyForNetwork" dbus method call on NetworkManager object
21874 * src/NetworkManagerDevice.c
21875 src/NetworkManagerDevice.h
21876 - nm_device_update_link_active(): revert changes for wireless link detection, the WEP-key-is-wrong
21877 logic is in device activation now
21878 - nm_device_activate(): for wireless devices, if we can't associate with access point (perhaps
21879 key is wrong) trigger get-user-key pending action
21880 - Implement get-user-key pending action stuff, tie to dbus messages
21881 - Rename nm_device_ap_list_get_ap() -> nm_device_ap_list_get_ap_by_index()
21882 - Add nm_device_ap_list_get_ap_by_essid()
21883 - Instead of copying "best" access points, ref them instead so that the key we set
21886 * src/NetworkManagerPolicy.c
21887 - Deal with wrong WEP key, but right access point (and if so, return link_active = TRUE)
21888 - Don't cancel pending actions on a device if its the same device as last iteration
21889 - Only promote pending_device->active_device if activation was successfull
21892 - Rename nmclienttest->nmtest
21894 * info-daemon/Makefile.am
21895 info-daemon/NetworkManagerInfo.c
21896 info-daemon/NetworkManagerInfo.h
21897 info-daemon/NetworkManagerInfoDbus.c
21898 info-daemon/NetworkManagerInfoDbus.h
21899 info-daemon/passphrase.glade
21900 info-daemon/NetworkManagerInfo.conf
21901 info-daemon/keyring.png
21902 - Import sources for info-daemon, which pops up dialog for passphrase/key when
21903 NetworkManager asks for it, and also will (soon) provide "allowed" access point
21904 lists to NetworkManager by proxying user's GConf
21907 2004-07-15 Dan Williams <dcbw@redhat.com>
21912 * src/NetworkManager.c
21913 - nm_create_device_and_add_to_list(): call nm_device_deactivate() rather
21914 that doing the deactivation ourselves
21915 - Cancel an pending actions on a device if its being removed
21916 - Break up link state checking a bit, make non-active wireless cards
21917 deactivated to save power
21918 - Remove unused variables
21920 * src/NetworkManager.h
21921 - Add support for "pending" device
21923 * src/NetworkManagerAP.h
21924 src/NetworkManagerAP.c
21925 - Add support for determining whether and AP has encryption enabled or not
21926 - AP address is now "struct ether_addr" rather than a string
21928 * src/NetworkManagerDbus.h
21929 src/NetworkManagerDbus.c
21930 - Add signal NeedKeyForNetwork, method SetKeyForNetwork (testing only)
21931 - Changes for AP address from struct ether_addr->string
21933 * src/NetworkManagerDevice.h
21934 src/NetworkManagerDevice.c
21935 - Remove unused variables, fix warnings
21936 - Add support for Pending Actions (things that block a device from being "active"
21937 until they are completed).
21938 - First pending action: Get a WEP key from the user
21939 - Add nm_device_is_wire[d|less](), rename nm_device_is_wireless()
21940 - Clean up explicit testing of dev->iface_type to use nm_device_is_wireless()
21941 - Update wireless link checking to try to determine if the AP we are associated
21942 with is correct, but the WEP key we are using is just wrong. If its wrong,
21943 trigger the GetUserKey pending action on the device
21944 - If dhclient can't get an IP address, it brings the device down. Bring it back
21945 up in that case, otherwise we can't scan or link-check on it
21946 - Add IP address change notifications at appropriate points (still needs some work)
21947 - Add nm_device_need_ap_switch(), checks whether we need to switch access points or not
21949 * src/NetworkManagerPolicy.h
21950 src/NetworkManagerPolicy.c
21951 - Split out "best" access point determiniation into separate function
21952 - Make device activation 2-stage: first the device is pending, then
21953 in the next iteration through it becomes "active" unless it has
21956 * src/NetworkManagerUtils.h
21957 src/NetworkManagerUtils.c
21958 - Clean up unused variables and warnings
21959 - Wrap our debug macros in {} to prevent possible confusion
21961 * src/NetworkManagerWireless.c
21962 - Forgot to return current best priority, which lead to last available AP always
21963 being chosen no matter what its priority was. Corrected.
21965 2004-07-15 Dan Williams <dcbw@redhat.com>
21967 * dispatcher-daemon/Makefile.am
21970 * dispatcher-daemon/NetworkManagerDispatcher.c
21971 - Remove unused variables due to warnings
21972 - Fix some comments
21973 - Print message on receipt of NeedKeyForNetwork signal (testing only)
21975 2004-07-06 Dan Williams <dcbw@redhat.com>
21977 * src/NetworkManager.c
21978 - Add IPv4 address update for active device during link state check
21979 - Don't allow wireless cards to be powered up when they are not the
21982 * src/NetworkManagerDbus.c
21983 src/NetworkManagerDbus.h
21984 - Add DBUS IPv4 address change signal
21985 - Add DBUS IPv4 address get method for devices
21987 * src/NetworkManagerDevice.c
21988 - Make setting the WEP key actually work
21989 - Move IP address get/set/update stuff here, per-device
21990 - Power down/bring down wireless device when deactivated
21991 - For scanning wireless devices, if first scan returned ENODATA, try again
21993 * src/NetworkManagerPolicy.c
21994 - Only set the WEP key for an allowed access point if there is one.
21995 We were setting it to be blank if one wasn't specified.
21997 * src/NetworkManagerUtils.h
21998 src/NetworkManagerUtils.c
21999 - Move the IP address stuff to NetworkManagerDevice.c
22001 * dispatcher-daemon/NetworkManagerDispatcher.c
22002 - Add device IPv4 address change notification stuff
22004 2004-07-05 Dan Williams <dcbw@redhat.com>
22006 * dispatcher-daemon/NetworkManagerDispatcher.c
22007 - A bit more descriptive state message
22008 - Don't segfault when reading directory
22010 * src/NetworkManager.h
22011 - Remove NMData desired_ap member, its now
22012 per-device rather than global
22014 * src/NetworkManager.c
22015 - Remove references to desired_ap
22016 - Move the allowed AP list refresh stuff into a thread
22018 * src/NetworkManagerDevice.c
22019 src/NetworkManagerDevice.h
22020 - Each wireless device now has a "best ap"
22021 - Make device activate/deactivate functions per-device
22022 - Make wireless scanning per-device
22023 - Add IPv4 address discover functions, stub IPv6 ones
22024 - Move ethernet address validation functions to NetworkManagerUtils.c
22025 - Add wireless access point accessor function
22026 - Get/Set functions for "best ap"
22028 * src/NetworkManagerPolicy.c
22029 - Move activate/deactivate stuff into NetworkManagerDevice.c, per-device
22030 - Deal with per-device "best ap" rather than data->desired_apa
22031 - Implement allowed access point worker thread
22032 - Add nm_policy_essid_is_allowed() function
22034 * src/NetworkManagerUtils.c
22035 src/NetworkManagerUtils.h
22036 - Add nm_ethernet_address_is_valid() function
22037 - Add IPv4/IPv6 address get functions
22039 * src/NetworkManagerWireless.c
22040 src/NetworkManagerWireless.h
22041 - Move scanning stuff into NetworkManagerDevice.c, per-device
22043 2004-06-29 Dan Williams <dcbw@redhat.com>
22045 * dispatcher-daemon/NetworkManagerDispatcher.c
22046 - Implement script callout functionality
22048 2004-06-24 Dan Williams <dcbw@redhat.com>
22052 - Flush device routes and ip addresses when added to the device list
22054 * NetworkManagerDbus.c
22056 - Add missing returns in the two signal functions
22058 * NetworkManagerPolicy.c
22059 - Spacing and variable cleanups
22061 2004-06-24 Dan Williams <dcbw@redhat.com>
22066 dispatcher-daemon/Makefile.am
22067 dispatcher-daemon/Makefile.in
22068 dispatcher-daemon/NetworkManagerDispatcher.c
22069 - Add a daemon that receives signals from NetworkManager
22070 and will (eventually) call scripts in /etc/somewhere
22071 when devices go up or down.
22075 - Flush device routes and ip addresses when added to the device list
22077 * NetworkManagerDbus.c
22079 - Add missing returns in the two signal functions
22081 * NetworkManagerPolicy.c
22082 - Spacing and variable cleanups
22083 - Rename nm_policy_switch_interface->nm_policy_switch_device
22084 - nm_policy_switch_device():
22085 Use kill (pid) instead of system ("kill <pid>")
22086 - nm_state_modification_monitor():
22087 Add wireless essid to output of debug statements
22088 Correct typo in device compare to switch or not (should be !=)
22089 Don't sleep after sending "no longer active" signal, was useless
22091 2004-06-24 Dan Williams <dcbw@redhat.com>