1 2008-11-26 Dan Williams <dcbw@redhat.com>
3 * Release NetworkManager 0.7
5 2008-11-26 Dan Williams <dcbw@redhat.com>
7 * libnm-glib/nm-settings.c
8 libnm-glib/nm-settings.h
9 - (nm_exported_connection_delete): rename 'delete' to 'do_delete' to
10 avoid using C++ reserved keywords in headers
12 * libnm-glib/nm-dbus-connection.c
13 system-settings/plugins/ifcfg-rh/nm-ifcfg-connection.c
14 system-settings/plugins/ifcfg-suse/nm-suse-connection.c
15 system-settings/plugins/ifupdown/nm-ifupdown-connection.c
16 system-settings/plugins/keyfile/nm-keyfile-connection.c
17 system-settings/src/nm-sysconfig-connection.c
18 - Change 'delete' to 'do_delete'
20 2008-11-25 Dan Williams <dcbw@redhat.com>
22 * system-settings/plugins/ifcfg-rh
23 - Rename 'ifcfg-fedora' to 'ifcfg-rh'; it's not just used on Fedora
25 * system-settings/src/main.c
26 - (load_plugins): transparently handle ifcfg-fedora as ifcfg-rh
28 2008-11-25 Dan Williams <dcbw@redhat.com>
30 Patch from Tambet Ingo <tambet@gmail.com>
32 Fix mishandling of netlink error floods (rh #459205, novell #443429, lp #284507)
34 * src/nm-netlink-monitor.c
35 - Remove bits for using a non-default GMainContext, which weren't used
36 - (nm_netlink_monitor_error_handler): don't leak the GError, and report
39 * src/NetworkManager.c
40 - (nm_error_monitoring_device_link_state): disconnect error handler when
41 an error flood occurs to avoid pegging the CPU
43 2008-11-23 Dan Williams <dcbw@redhat.com>
45 * callouts/nm-dispatcher-action.c
46 - (construct_envp, nm_dispatcher_action): pass connection UUID to
47 scripts in the environment
49 2008-11-21 Dan Williams <dcbw@redhat.com>
51 Patch from Tambet Ingo <tambet@gmail.com>
54 libnm-util/libnm-util.ver
55 libnm-util/nm-setting-8021x.c
56 libnm-util/nm-setting-8021x.h
57 - Add configure-time option for the system CA path
58 - Add 'system-ca-certs' option to 802.1x setting, which directs
59 NetworkManager to use system CA certificates instead of any
60 connection-defined CA certificates
62 * src/supplicant-manager/nm-supplicant-config.c
63 src/supplicant-manager/nm-supplicant-settings-verify.c
64 - Use system CA certificates if the connection says to do so
66 2008-11-21 Dan Williams <dcbw@redhat.com>
68 * src/nm-dbus-manager.c
70 - (nm_dbus_manager_get_name_owner): return error
73 - (impl_manager_activate_connection): perform additional validation on
74 ActivateConnection calls of user connections
75 - (is_user_request_authorized): ensure that the requestor is the same
76 UID as the UID that owns the user settings service; users shouldn't
77 be able to control another user's connections
79 2008-11-21 Dan Williams <dcbw@redhat.com>
81 * gfilemonitor/inotify-sub.c
82 - (dup_dirname): actually remove trailing '/' (bgo #561807)
84 2008-11-21 Tambet Ingo <tambet@gmail.com>
86 * system-settings/plugins/ifcfg-suse/parser.c (read_wpa_eap_settings): Make suse
89 2008-11-20 Dan Williams <dcbw@redhat.com>
91 Patch from Tambet Ingo <tambet@gmail.com>
93 * libnm-util/nm-setting.c
94 libnm-util/nm-setting.h
95 - (NMSettingValueIterFn): instead of just a gboolean for secrets, take
96 all the GParamSpec flags of the property
98 * system-settings/plugins/keyfile/nm-keyfile-connection.c
99 system-settings/plugins/keyfile/reader.c
100 system-settings/plugins/keyfile/writer.c
101 - Update for NMSettingValueIterFn change
103 2008-11-20 Dan Williams <dcbw@redhat.com>
105 * libnm-util/nm-utils.c
106 libnm-util/nm-utils.h
107 - More documentation updates
109 2008-11-20 Dan Williams <dcbw@redhat.com>
111 * libnm-util/libnm-util.ver
112 libnm-util/nm-utils.c
113 libnm-util/nm-utils.h
114 libnm-util/nm-utils-private.h
115 libnm-util/nm-connection.c
116 - (nm_utils_register_value_transformations): make private, called
117 from NMConnection registration anyway
119 2008-11-20 Dan Williams <dcbw@redhat.com>
121 * libnm-util/Makefile.am
122 libnm-util/nm-utils-private.h
123 - New header for internal utils private functions
125 * libnm-util/libnm-util.ver
126 libnm-util/nm-utils.c
127 libnm-util/nm-utils.h
128 - Document some functions
129 - (nm_utils_string_in_list, nm_utils_string_list_contains,
130 nm_utils_string_slist_validate): un-export, only used within
131 libnm-util or of limited use in general, and very easy to
132 re-implement by apps if needed
134 * libnm-util/nm-setting-8021x.c
135 libnm-util/nm-setting-wired.c
136 libnm-util/nm-setting-wireless-security.c
137 libnm-util/nm-setting-wireless.c
138 - Update for private nm_utils_string_* functions
140 2008-11-20 Dan Williams <dcbw@redhat.com>
142 * libnm-util/libnm-util.ver
143 libnm-util/nm-setting.c
144 libnm-util/nm-setting.h
145 - Add NMSetting errors
146 - (nm_setting_update_secrets): return errors
148 * libnm-util/nm-connection.c
149 libnm-util/nm-connection.h
150 - (nm_connection_update_secrets): return errors
152 * libnm-util/nm-setting-vpn.c
153 src/nm-activation-request.c
154 src/vpn-manager/nm-vpn-connection.c
155 - Handle update secrets errors
157 2008-11-20 Dan Williams <dcbw@redhat.com>
159 * libnm-util/nm-setting.c
160 libnm-util/nm-setting.h
161 libnm-util/libnm-util.ver
162 - (nm_setting_new_from_hash): rename from nm_setting_from_hash() to be
163 consistent with nm_connection_new_from_hash()
165 * src/nm-activation-request.c
166 libnm-util/nm-connection.c
169 2008-11-19 Dan Williams <dcbw@redhat.com>
173 docs/libnm-util/Makefile.am
174 docs/libnm-util/libnm-util.types
175 - Start to document libnm-util
177 2008-11-19 Dan Williams <dcbw@redhat.com>
179 * libnm-util/nm-connection.h
180 libnm-util/nm-connection.c
181 - Document public functions
183 2008-11-19 Dan Williams <dcbw@redhat.com>
185 * libnm-util/nm-setting.h
186 libnm-util/nm-setting.c
189 system-settings/plugins/ifcfg-fedora/plugin.c
190 - Prefix compare flag defines with NM_SETTING_
192 2008-11-19 Dan Williams <dcbw@redhat.com>
194 * libnm-util/nm-connection.c
195 libnm-util/nm-connection.h
196 - (nm_connection_replace_settings): take a GError
198 * libnm-glib/nm-settings.c
199 libnm-glib/nm-dbus-connection.c
201 system-settings/plugins/ifcfg-suse/nm-suse-connection.c
202 system-settings/plugins/keyfile/nm-keyfile-connection.c
203 system-settings/plugins/keyfile/plugin.c
204 - Handle, or don't handle, errors from nm_connection_replace_settings()
206 2008-11-19 Dan Williams <dcbw@redhat.com>
208 * libnm-util/libnm-util.ver
209 libnm-util/nm-connection.c
210 - (nm_setting_register, nm_setting_unregister): unexport; they are
211 private and don't have a use outside libnm-util
213 2008-11-17 Dan Williams <dcbw@redhat.com>
215 * src/nm-hso-gsm-device.c
216 - (real_connection_secrets_updated): handle PIN/PUK correctly for HSO
219 2008-11-17 Dan Williams <dcbw@redhat.com>
221 * system-settings/plugins/ifcfg-fedora/reader.c
222 - (read_mac_address): clean up
223 - (make_wireless_setting): pass NULL array to read_mac_address() like it
226 * system-settings/plugins/ifcfg-fedora/plugin.c
227 - (read_one_connection): don't segfault on NULL errors
229 2008-11-14 Dan Williams <dcbw@redhat.com>
233 2008-11-14 Dan Williams <dcbw@redhat.com>
235 Handle gateways on different subnets
237 * src/NetworkManagerSystem.c
238 - (add_ip4_route_to_gateway): gateway route should be link scope and
240 - (replace_default_ip4_route): use a destination address too; gateway
241 address should be /0; don't leak the gateway route object
243 2008-11-14 Dan Williams <dcbw@redhat.com>
245 * libnm-glib/libnm_glib.ver
246 libnm-glib/nm-dbus-settings-system.c
247 libnm-glib/nm-dbus-settings-system.h
248 - Add libnm-glib bits for CanModify
250 2008-11-14 Dan Williams <dcbw@redhat.com>
252 * introspection/nm-settings-system.xml
253 system-settings/src/dbus-settings.c
254 system-settings/src/dbus-settings.h
255 - Add a "CanModify" property to indicate if any plugins support
256 connection modification
258 2008-11-14 Dan Williams <dcbw@redhat.com>
260 Relicense libnm-glib to LGPLv2+ with agreement from contributors
262 2008-11-14 Dan Williams <dcbw@redhat.com>
264 * vpn-manager/nm-vpn-connection.c
265 - (plugin_state_changed): clear VPN secrets on error to ensure they
266 are always requested from the settings service (rh #429287)
268 2008-11-13 Dan Williams <dcbw@redhat.com>
270 * libnm-util/crypto.c
271 - (crypto_get_private_key_data): fix bad initial arg type checking
274 2008-11-13 Dan Williams <dcbw@redhat.com>
276 Add support for PKCS#12 private keys (bgo #558982)
278 * libnm-util/crypto.c
280 - (parse_old_openssl_key_file): rename from parse_key_file(); adapt to
281 take a GByteArray instead of a filename
282 - (file_to_g_byte_array): handle private key files too
283 - (decrypt_key): take a GByteArray rather than data + len
284 - (crypto_get_private_key_data): refactor crypto_get_private_key() into
285 one function that takes a filename, and one that takes raw data;
286 detect pkcs#12 files as well
287 - (crypto_load_and_verify_certificate): detect file type
288 - (crypto_is_pkcs12_data, crypto_is_pkcs12_file): add pkcs#12 detection
291 * libnm-util/crypto_gnutls.c
292 - (crypto_decrypt): take GByteArray rather than data + len; fix a bug
293 whereby tail padding was incorrectly handled, leading to erroneous
294 successes when trying to decrypt the data
295 - (crypto_verify_cert): rework somewhat
296 - (crypto_verify_pkcs12): validate pkcs#12 keys
298 * libnm-util/crypto_nss.c
299 - (crypto_init): enable various pkcs#12 ciphers
300 - (crypto_decrypt): take a GByteArray rather than data + len
301 - (crypto_verify_cert): clean up
302 - (crypto_verify_pkcs12): validate pkcs#12 keys
304 * libnm-util/test-crypto.c
305 - Handle pkcs#12 keys
307 * libnm-util/nm-setting-8021x.c
308 libnm-util/nm-setting-8021x.h
309 libnm-util/libnm-util.ver
310 - Add two new properties, 'private-key-password' and
311 'phase2-private-key-password', to be used in conjunction with
313 - (nm_setting_802_1x_set_ca_cert_from_file,
314 nm_setting_802_1x_set_client_cert_from_file,
315 nm_setting_802_1x_set_phase2_ca_cert_from_file,
316 nm_setting_802_1x_set_phase2_client_from_file): return certificate
318 - (nm_setting_802_1x_get_private_key_password,
319 nm_setting_802_1x_get_phase2_private_key_password): return private
321 - (nm_setting_802_1x_set_private_key_from_file,
322 nm_setting_802_1x_set_phase2_private_key_from_file): set the private
323 key from a file, and update the private key password at the same time
324 - (nm_setting_802_1x_get_private_key_type,
325 nm_setting_802_1x_get_phase2_private_key_type): return the private
328 * src/supplicant-manager/nm-supplicant-settings-verify.c
329 - Whitelist private key passwords
331 * src/supplicant-manager/nm-supplicant-config.c
332 - (nm_supplicant_config_add_setting_8021x): for pkcs#12 private keys,
333 add the private key password to the supplicant config, but do not
334 add the client certificate (as required by wpa_supplicant)
336 2008-11-12 Tambet Ingo <tambet@gmail.com>
338 * system-settings/plugins/keyfile/nm-keyfile-connection.c (copy_one_secret)
339 (add_secrets): Don't add empty secrets to the secrets hash table.
341 2008-11-07 Dan Williams <dcbw@redhat.com>
343 * libnm-util/nm-setting-wireless.c
344 - (nm_setting_wireless_get_seen_bssid): fix bug from accessor conversion
345 that cased this function to return garbage, breaking hidden AP
348 2008-11-07 Dan Williams <dcbw@redhat.com>
350 Fix deletion of VPN gateway route on DHCP renew (bgo #558133)
352 * src/NetworkManagerSystem.c
353 src/NetworkManagerSystem.h
354 - (nm_system_device_set_ip4_route): return the route that was added
355 - (nm_system_add_ip4_vpn_gateway_route): make add_vpn_gateway_route()
356 public, clean up, and return the route that was added
357 - (nm_system_apply_ip4_config): remove VPN related stuff to simplify,
358 since nm_system_add_ip4_vpn_gateway_route() is now available; add
359 flags to allow only certain attributes of the NMIP4Config to be
363 - (handle_dhcp_lease_change): don't touch the DHCP4 config on failure
364 - (nm_device_set_ip4_config): use nm_ip4_config_diff() to only apply
365 what's really changed between the old and new configs; don't export
366 the new IP4 config on failure; always send the DNS info to the
369 * src/vpn-manager/nm-vpn-connection.c
370 - (device_ip4_config_changed, nm_vpn_connection_new, dispose): track the
371 parent device's IP4Config and re-add the VPN gateway route when it
373 - (nm_vpn_connection_ip4_config_get): add the VPN gateway route (since
374 nm_system_apply_ip4_config() no longer does) and cache it for later
375 - (connection_state_changed): move cleanup code to its own function
376 - (vpn_cleanup): delete any previously added VPN gateway route; and
377 re-apply the parent device's addresses and routes using
378 nm_system_apply_ip4_config(), not nm_device_set_ip4_config()
380 2008-11-07 Dan Williams <dcbw@redhat.com>
382 * src/nm-ip4-config.c
384 - (nm_ip4_config_diff): new function; return the difference between two
386 - (nm_ip4_config_compare): change into nm_ip4_config_diff
388 2008-11-05 Dan Williams <dcbw@redhat.com>
392 - (nm_ip4_config_compare): compare two IP4 configs
394 2008-11-05 Dan Williams <dcbw@redhat.com>
396 * src/NetworkManagerPolicy.c
397 - (update_etc_hosts): only add newline if not the last line of the file
400 2008-11-05 Dan Williams <dcbw@redhat.com>
402 * src/dhcp-manager/nm-dhcp-dhclient.c
403 - (get_leasefile_for_iface): move lease files back to where dhclient
406 2008-11-05 Michael Biebl <mbiebl@gmail.com>
408 * initscripts/Debian/NetworkManager
409 - Update to what Debian is actually using
411 2008-11-05 Tambet Ingo <tambet@gmail.com>
413 * libnm-util/nm-setting-8021x.c: Verify PEAP settings as well.
415 2008-11-03 Dan Williams <dcbw@redhat.com>
417 * system-settings/src/main.c
418 - (add_default_dhcp_connection): make the fallback connection read-only
420 * libnm-glib/nm-settings.c
421 libnm-glib/nm-settings.h
422 - Add detailed errors
423 - (impl_exported_connection_update, impl_exported_connection_delete):
424 return an error if the connection is read-only
426 * system-settings/plugins/ifupdown/nm-ifupdown-connection.c
427 system-settings/plugins/keyfile/nm-keyfile-connection.c
428 system-settings/src/main.c
429 - Use more detailed errors
431 * system-settings/src/nm-system-config-error.c
432 system-settings/src/nm-system-config-error.h
433 system-settings/src/dbus-settings.c
434 - Remove NM_SYSCONFIG_SETTINGS_ERROR_INVALID_CONNECTION, replaced by
435 NM_SETTINGS_ERROR_INVALID_CONNECTION
437 2008-11-02 Dan Williams <dcbw@redhat.com>
439 * Add license headers to everything in src/
441 2008-11-02 Dan Williams <dcbw@redhat.com>
445 2008-11-02 Dan Williams <dcbw@redhat.com>
447 * src/NetworkManagerAP.c
448 - (nm_ap_new_fake_from_connection): treat only lack of a wireless security
449 setting as unencrypted; fixes a bug where NM wouldn't ask for new
450 secrets when connecting to an encrypted network failed
452 2008-10-30 Dan Williams <dcbw@redhat.com>
454 * libnm-util/libnm-util.ver
455 libnm-util/nm-setting-ip6-config.c
456 libnm-util/nm-setting-ip6-config.h
457 libnm-util/Makefile.am
458 - Make properties private and add accessor functions
459 - Hide IPv6 stuff from public API, it's incomplete and completely unused
461 * libnm-util/nm-connection.c
462 libnm-util/nm-utils.c
463 libnm-util/nm-utils.h
464 - Ignore IPv6 stuff for now
466 2008-10-30 Dan Williams <dcbw@redhat.com>
468 * libnm-util/libnm-util.ver
469 libnm-util/nm-setting-8021x.c
470 libnm-util/nm-setting-8021x.h
471 - Make properties private and add accessor functions
473 * src/supplicant-manager/nm-supplicant-config.c
474 system-settings/plugins/ifcfg-suse/parser.c
475 - Use 802.1x setting accessors
477 2008-10-30 Dan Williams <dcbw@redhat.com>
479 * libnm-util/libnm-util.ver
480 libnm-util/nm-setting-wireless-security.c
481 libnm-util/nm-setting-wireless-security.h
482 - Make properties private and add accessor functions
484 * libnm-util/nm-setting-wireless.c
485 src/NetworkManagerAP.c
487 src/supplicant-manager/nm-supplicant-config.c
488 system-settings/plugins/ifcfg-fedora/reader.c
489 system-settings/plugins/ifcfg-suse/parser.c
490 - Use wireless security accessors
492 2008-10-30 Dan Williams <dcbw@redhat.com>
494 * src/nm-device-ethernet.c
497 src/ppp-manager/nm-ppp-manager.c
498 - Harmonize return checking of ioctl
500 * system-settings/plugins/ifcfg-fedora/reader.c
501 - (is_wireless_device): fall back to SIOCGIWNAME (rh #466340)
503 2008-10-30 Dan Williams <dcbw@redhat.com>
505 * src/ppp-manager/nm-ppp-manager.c
506 - (nm_ppp_manager_start): if /dev/ppp doesn't exist, load the
507 ppp_generic module to create it (bgo #533064)
509 2008-10-30 Dan Williams <dcbw@redhat.com>
511 Patch from Alexander Sack <asac@canonical.com>
513 Fix "ppp connections don't honour ip4 connection settings"
515 * src/nm-device-ethernet.c
516 - (real_act_stage4_get_ip4_config): merge ip4config settings
517 with results from ppp manager
519 * src/nm-serial-device.c
520 - (real_act_stage4_get_ip4_config): merge ip4config settings
521 with results from ppp manager
523 2008-10-29 Dan Williams <dcbw@redhat.com>
525 * libnm-util/libnm-util.ver
526 libnm-util/nm-setting-ip4-config.c
527 libnm-util/nm-setting-ip4-config.h
528 - Make properties private and add accessor functions
530 * callouts/nm-dispatcher-action.c
531 libnm-glib/libnm-glib-test.c
532 libnm-util/nm-utils.c
533 src/NetworkManagerPolicy.c
534 src/NetworkManagerSystem.c
535 src/NetworkManagerUtils.c
536 src/dhcp-manager/nm-dhcp-dhclient.c
537 src/dhcp-manager/nm-dhcp-manager.c
538 src/dnsmasq-manager/nm-dnsmasq-manager.c
541 src/nm-hso-gsm-device.c
544 src/ppp-manager/nm-ppp-manager.c
545 src/vpn-manager/nm-vpn-connection.c
546 system-settings/plugins/ifcfg-fedora/reader.c
547 system-settings/plugins/ifcfg-suse/parser.c
548 system-settings/plugins/ifcfg-suse/plugin.c
549 system-settings/plugins/ifupdown/parser.c
551 vpn-daemons/vpnc/properties/nm-vpnc.c
552 - Use IP4 accessor functions
554 2008-10-29 Tambet Ingo <tambet@gmail.com>
556 Half of it by Dan Williams <dcbw@redhat.com>
558 * libnm-util/libnm-util.ver
559 libnm-util/nm-setting-vpn.c
560 libnm-util/nm-setting-vpn.h
561 - Make properties private and add accessor functions.
563 * src/vpn-manager/nm-vpn-connection.c
564 src/vpn-manager/nm-vpn-manager.c
565 system-settings/plugins/keyfile/reader.c
566 vpn-daemons/openvpn/properties/auth-helpers.c
567 vpn-daemons/openvpn/properties/import-export.c
568 vpn-daemons/openvpn/properties/nm-openvpn.c
569 vpn-daemons/openvpn/src/nm-openvpn-service.c
570 vpn-daemons/pptp/auth-dialog/main.c
571 vpn-daemons/pptp/properties/advanced-dialog.c
572 vpn-daemons/pptp/properties/nm-pptp.c
573 vpn-daemons/pptp/src/nm-pptp-service.c
574 vpn-daemons/vpnc/properties/nm-vpnc.c
575 vpn-daemons/vpnc/src/nm-vpnc-service.c
576 - Use VPN setting accessors.
578 2008-10-28 Dan Williams <dcbw@redhat.com>
580 Patch from Tambet Ingo <tambet@gmail.com>
582 * libnm-util/libnm-util.ver
583 libnm-util/nm-setting-wireless.c
584 libnm-util/nm-setting-wireless.h
585 - Make properties private and add accessor functions
587 * src/NetworkManagerAP.c
590 src/supplicant-manager/nm-supplicant-config.c
591 system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
592 system-settings/plugins/ifcfg-fedora/reader.c
593 system-settings/plugins/ifcfg-suse/parser.c
594 system-settings/plugins/ifupdown/parser.c
595 - Use wireless setting accessors
597 2008-10-27 Dan Williams <dcbw@redhat.com>
599 Patch from Tambet Ingo <tambet@gmail.com>
601 * libnm-util/libnm-util.ver
602 libnm-util/nm-setting-ppp.c
603 libnm-util/nm-setting-ppp.h
604 - Make properties private and add accessor functions
606 * src/ppp-manager/nm-ppp-manager.c
607 - Use ppp setting accessors
609 2008-10-27 Dan Williams <dcbw@redhat.com>
611 Patch from Tambet Ingo <tambet@gmail.com>
613 * libnm-util/nm-setting.h
614 libnm-util/nm-setting.c
615 - Make properties private and add accessor functions
617 * libnm-util/nm-connection.c
618 libnm-util/nm-setting-8021x.c
619 libnm-util/nm-setting-cdma.c
620 libnm-util/nm-setting-connection.c
621 libnm-util/nm-setting-gsm.c
622 libnm-util/nm-setting-ip4-config.c
623 libnm-util/nm-setting-ip6-config.c
624 libnm-util/nm-setting-ppp.c
625 libnm-util/nm-setting-pppoe.c
626 libnm-util/nm-setting-serial.c
627 libnm-util/nm-setting-template.c
628 libnm-util/nm-setting-vpn.c
629 libnm-util/nm-setting-wired.c
630 libnm-util/nm-setting-wireless-security.c
631 libnm-util/nm-setting-wireless.c
632 system-settings/plugins/keyfile/reader.c
633 system-settings/plugins/keyfile/writer.c
634 - Use setting accessors
636 2008-10-27 Dan Williams <dcbw@redhat.com>
638 * libnm-util/libnm-util.ver
639 libnm-util/nm-setting-connection.c
640 libnm-util/nm-setting-connection.h
641 - Add a 'read-only' property that indicates the connection cannot be
644 * system-settings/plugins/ifcfg-fedora/reader.c
645 system-settings/plugins/ifcfg-suse/parser.c
646 system-settings/plugins/ifupdown/parser.c
647 - These plugins are read-only at the moment
649 * system-settings/plugins/keyfile/reader.c
650 system-settings/plugins/keyfile/writer.c
651 - Read-only shouldn't get saved out to files or read in from them
653 2008-10-27 Tambet Ingo <tambet@gmail.com>
655 * src/nm-device-ethernet.c (nm_device_ethernet_get_speed): Implement
656 correct speed reporting for fast devices (kernel >= 2.6.27).
658 2008-10-26 Dan Williams <dcbw@redhat.com>
660 Attempt to compensate for modems that don't enable full AT parsing before
661 the PIN has been entered.
663 * src/nm-gsm-device.c
664 - (init_modem): accept different init strings
665 - (init_done): try different init strings on failure
666 - (check_pin_done): on PIN success, do full modem init
668 2008-10-26 Dan Williams <dcbw@redhat.com>
670 Patch from Tambet Ingo <tambet@gmail.com>
672 * libnm-util/libnm-util.ver
673 libnm-util/nm-setting-connection.c
674 libnm-util/nm-setting-connection.h
675 - Make properties private and add accessor functions
677 * src/NetworkManagerPolicy.c
679 src/nm-device-ethernet.c
680 src/nm-device-interface.c
684 src/ppp-manager/nm-ppp-manager.c
685 src/vpn-manager/nm-vpn-connection.c
686 system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
687 system-settings/plugins/ifcfg-fedora/plugin.c
688 system-settings/plugins/ifcfg-fedora/reader.c
689 system-settings/plugins/ifcfg-suse/parser.c
690 system-settings/plugins/ifupdown/parser.c
691 system-settings/plugins/keyfile/nm-keyfile-connection.c
692 system-settings/plugins/keyfile/plugin.c
693 system-settings/plugins/keyfile/writer.c
694 system-settings/src/main.c
695 - Use those accessors
697 2008-10-26 Dan Williams <dcbw@redhat.com>
699 Patch from Tambet Ingo <tambet@gmail.com>
701 * libnm-util/libnm-util.ver
702 libnm-util/nm-setting-gsm.c
703 libnm-util/nm-setting-gsm.h
704 - Make properties private and add accessor functions
706 * src/nm-gsm-device.c
707 src/nm-hso-gsm-device.c
708 src/ppp-manager/nm-ppp-manager.c
709 - Use those accessors
711 2008-10-26 Dan Williams <dcbw@redhat.com>
713 Patch from Tambet Ingo <tambet@gmail.com>
715 * libnm-util/libnm-util.ver
716 libnm-util/nm-setting-cdma.c
717 libnm-util/nm-setting-cdma.h
718 - Make properties private and add accessor functions
720 * src/nm-cdma-device.c
721 src/ppp-manager/nm-ppp-manager.c
722 - Use those accessors
724 2008-10-26 Dan Williams <dcbw@redhat.com>
726 Patch from Tambet Ingo <tambet@gmail.com>
728 * libnm-util/libnm-util.ver
729 libnm-util/nm-setting-pppoe.c
730 libnm-util/nm-setting-pppoe.h
731 - Make properties private and add accessor functions
733 * src/nm-device-ethernet.c
734 src/ppp-manager/nm-ppp-manager.c
735 - Use those accessors
737 2008-10-26 Dan Williams <dcbw@redhat.com>
739 Patch from Tambet Ingo <tambet@gmail.com>
741 * libnm-util/libnm-util.ver
742 libnm-util/nm-setting-wired.c
743 libnm-util/nm-setting-wired.h
744 - Make properties private and add accessor functions
746 * src/nm-device-ethernet.c
747 system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
748 system-settings/plugins/ifcfg-suse/parser.c
749 system-settings/src/main.c
750 - Use those accessors
752 2008-10-26 Dan Williams <dcbw@redhat.com>
754 Patch from Tambet Ingo <tambet@gmail.com>
756 * libnm-util/libnm-util.ver
757 libnm-util/nm-setting-serial.c
758 libnm-util/nm-setting-serial.h
759 src/nm-serial-device.c
760 - Make properties private and use accessors instead
762 2008-10-26 Dan Williams <dcbw@redhat.com>
764 * src/supplicant-manager/nm-supplicant-interface.c
765 src/supplicant-manager/nm-supplicant-interface.h
766 src/supplicant-manager/nm-supplicant-manager.c
767 src/supplicant-manager/nm-supplicant-manager.h
768 - Add state-to-string conversion functions
770 * src/nm-device-wifi.c
771 src/nm-device-ethernet.c
772 - Normalize state info logging and use strings instead of numbers
774 2008-10-26 Dan Williams <dcbw@redhat.com>
776 * src/NetworkManagerPolicy.c
777 - (update_routing_and_dns): ignore host routes when determining whether
778 a VPN connection should own the default route (bgo #552594)
780 2008-10-24 Dan Williams <dcbw@redhat.com>
782 * src/nm-gsm-device.c
783 - (set_apn): remove erroneous spaces in AT+CGDCONT command (Jerone Young)
785 2008-10-23 Dan Williams <dcbw@redhat.com>
787 * src/ppp-manager/nm-ppp-manager.c
788 - (create_pppd_cmd_line): pppd always parses /etc/ppp/options, so always
789 add really important stuff to the command line to ensure that NM
790 overrides /etc/ppp/options (bgo #556781)
792 2008-10-22 Dan Williams <dcbw@redhat.com>
794 * src/NetworkManagerSystem.c
796 - Use the device's IP interface where appropriate (Per Hallsmark)
798 2008-10-22 Dan Williams <dcbw@redhat.com>
800 * src/nm-gsm-device.c
801 - (schedule_automatic_registration_again): use a short timeout here
802 instead of an idle handler to avoid using too much CPU polling for
803 something we should be waiting a bit for anyway
805 2008-10-22 Dan Williams <dcbw@redhat.com>
807 * include/NetworkManager.h
808 introspection/nm-device.xml
809 - Add device state change reason for carrier changes
811 * src/nm-device-ethernet.c
812 - (set_carrier): use the carrier change reason when changing device
813 state in response to carrier changes
815 2008-10-21 Dan Williams <dcbw@redhat.com>
817 * src/NetworkManagerPolicy.c
818 - (update_etc_hosts): don't leak errors, and ensure that
819 g_file_set_contents() gets a valid error placeholder (rh #461933)
821 2008-10-21 Dan Williams <dcbw@redhat.com>
824 - (free_get_settings_info): don't use the DBusGProxy which could be
825 disposed of by the time the function is called
826 - (internal_new_connection_cb): save connection scope
827 - (connection_get_settings_cb): don't replace a connection unless it's
828 actually different from the existing one; fixes an issue where
829 killing the settings service wouldn't deactivate an active connection
830 provided by that settings service, because it was using a connection
831 that had already been replaced in the system or user hash
833 2008-10-21 Dan Williams <dcbw@redhat.com>
835 * src/NetworkManager.c
836 - (main): keep the DHCP manager around since it's a singleton; fixes
837 a use-after-free exposed by r4196 since the DHCP manager singleton
838 variable isn't cleared when the DHCP manager object is finalized
840 2008-10-20 Dan Williams <dcbw@redhat.com>
842 * libnm-util/nm-setting-wireless-security.c
843 - (verify): accept 'none' as a pairwise cipher with Ad-Hoc WPA connections
845 2008-10-20 Dan Williams <dcbw@redhat.com>
847 * src/supplicant-manager/nm-supplicant-config.c
848 - (ADD_STRING_LIST_VAL): don't add empty values to the supplicant config
850 2008-10-20 Dan Williams <dcbw@redhat.com>
852 * src/dhcp-manager/nm-dhcp-manager.c
853 - (nm_dhcp_manager_get): fix mismatched refcount; creating the dhcp
854 manager object already refs it once
855 - (nm_dhcp_manager_cancel_transaction_real): clear freed variables that
856 also get cleaned up by nm_dhcp_device_destroy() to prevent
859 2008-10-20 Dan Williams <dcbw@redhat.com>
862 - (initial_get_connections): use private dbus manager, don't keep
863 ref-ing the singleton. Fixes mismatched refcounts of the dbus
866 2008-10-18 Dan Williams <dcbw@redhat.com>
868 * libnm-glib/nm-settings.c
869 libnm-glib/nm-settings.h
870 - Rename the "get_secrets" virtual function "service_get_secrets" to
871 clarify when it's used; NMExportedConnetion is a base-class for both
872 the client and service side, which is sort of confusing, and
873 get_secrets only makes sense on the service side.
875 * libnm-glib/nm-dbus-connection.c
876 - (get_secrets): remove, unused, and clients need to do extra work to
877 get secrets anyway since the call can block on the remote side
879 * system-settings/plugins/ifupdown/nm-ifupdown-connection.c
880 system-settings/plugins/keyfile/nm-keyfile-connection.c
881 - Fix up for get_secrets -> service_get_secrets
883 2008-10-16 Dan Williams <dcbw@redhat.com>
885 * src/nm-device-wifi.c
886 - (constructor): correctly determine encryption capabilities
888 2008-10-15 Dan Williams <dcbw@redhat.com>
890 * src/nm-device-wifi.c
891 - (wireless_qual_to_percent): fix quality calculation in a fallback case
894 2008-10-15 Dan Williams <dcbw@redhat.com>
896 * src/NetworkManagerSystem.c
897 - (ip4_dest_in_same_subnet): tighter checks on subnet matching,
898 if the ip4_dest is in a smaller subnet contained within a subnet
899 the machine is currently on, the destination is in the same subnet
900 - (nm_system_device_set_ip4_route): move subnet checks to callers
901 - (add_vpn_gateway_route): check if the VPN gateway is in the same
902 subnet as the parent device, and if so, don't add the direct
903 host route via the parent device's gateway (bgo #481620)
904 - (nm_system_apply_ip4_config): check whether the route to be added
905 is contained within a subnet the device is already on
907 2008-10-11 Dan Williams <dcbw@redhat.com>
909 * include/NetworkManager.h
910 introspection/nm-device.xml
911 include/NetworkManagerVPN.h
912 - Add a few more state reasons for the device deactivated state
914 * src/nm-device-interface.c
915 src/nm-device-interface.h
916 - (nm_device_interface_deactivate): add a 'reason' argument
920 - (nm_device_deactivate, nm_device_take_down): add a 'reason' argument
921 - (nm_device_state_changed): pass the state change reason to
922 nm_device_take_down()
923 - (nm_device_set_managed): take a 'reason' argument, and pass it along
924 to the state change function
928 - (remove_one_device, handle_unmanaged_devices, sync_devices,
929 impl_manager_sleep): pass a reason code to nm_device_set_managed()
930 - (nm_manager_deactivate_connection): add a 'reason' argument and pass
931 something reasonable along to VPN deactivation
933 * src/vpn-manager/nm-vpn-manager.c
934 src/vpn-manager/nm-vpn-manager.h
935 - (nm_vpn_manager_deactivate_connection): add a 'reason' argument and
936 pass that along to nm_vpn_connection_disconnect()
938 2008-10-11 Dan Williams <dcbw@redhat.com>
940 * src/nm-device-wifi.c
941 - (can_scan): remove old madwifi hack for not scanning while connected
943 2008-10-11 Dan Williams <dcbw@redhat.com>
945 Add support for VPN subnet gateways (bgo #549196)
947 * include/NetworkManager.h
948 - Add key for internal VPN subnet gateway
950 * src/vpn-manager/nm-vpn-connection.c
951 - (ip_address_to_string): return a const from a static buffer so we
952 don't leak a lot of strings
953 - (print_vpn_config): print internal VPN gateway as well
954 - (nm_vpn_connection_ip4_config_get): grab internal VPN gateway from
956 - (nm_vpn_connection_get_ip4_internal_gateway): new function
958 * src/NetworkManagerSystem.c
959 src/NetworkManagerSystem.h
960 - (nm_system_device_replace_default_ip4_route): split into two, one for
961 VPN connections and one for normal devices
962 - (replace_default_ip4_route): break out route stuff into its own function
963 - (nm_system_replace_default_ip4_route_vpn,
964 nm_system_replace_default_ip4_route): simplify by having two cases,
965 one for VPNs and one for normal devices
967 * src/NetworkManagerPolicy.c
968 - (update_routing_and_dns): simplify, use split default route replacement
971 2008-10-10 Dan Williams <dcbw@redhat.com>
973 Rework default route handling to consolidate decisions in the policy,
974 and to take active VPN connections into account when changing the default
977 * src/NetworkManager.c
978 - (main): pass the vpn_manager to the policy so it knows about active
979 VPN connections; clean up the named manager which wasn't done before
981 * src/NetworkManagerPolicy.c
982 src/NetworkManagerPolicy.h
983 - (nm_policy_new): get a clue about the vpn_manager
984 - (update_default_route): remove, fold into update_routing_and_dns()
985 - (update_routing_and_dns): handle active VPN connections too; an
986 active VPN connection becomes the default route if it does not have
987 server-specified or user-specified custom routes. Otherwise, the
988 best active device gets the default route
989 - (vpn_connection_activated, vpn_connection_deactivated, nm_policy_new,
990 nm_policy_destroy): track VPN connection activation and deactivation
991 and update the default route when appropriate
993 * src/NetworkManagerSystem.c
994 src/NetworkManagerSystem.h
995 - (nm_system_vpn_device_unset_from_ip4_config): remove, put functionality
996 in the VPN connection itself
997 - (nm_system_vpn_device_set_from_ip4_config,
998 nm_system_device_set_from_ip4_config): merge together to make
999 nm_system_apply_ip4_config()
1000 - (add_vpn_gateway_route): add a route to the VPN's external gateway
1001 via the parent device
1002 - (nm_system_apply_ip4_config): simplify
1003 - (add_ip4_route_to_gateway): new function; add a direct route to the
1005 - (nm_system_device_replace_default_ip4_route): simplify, break gateway
1006 route stuff out into add_ip4_route_to_gateway() for clarity
1009 - (nm_device_set_ip4_config): update for nm_system_apply_ip4_config()
1011 * src/vpn-manager/nm-vpn-connection.c
1012 src/vpn-manager/nm-vpn-connection.h
1013 - (nm_vpn_connection_get_ip4_config, nm_vpn_connection_get_ip_iface,
1014 nm_vpn_connection_get_parent_device): add
1015 - (nm_vpn_connection_ip4_config_get): make the requirement of a tunnel
1017 - (connection_state_changed): update the named manager now that
1018 nm_system_vpn_device_unset_from_ip4_config() is gone; do something
1021 * src/vpn-manager/nm-vpn-manager.c
1022 src/vpn-manager/nm-vpn-manager.h
1023 - Add a 'connection-activated' signal
1024 - (nm_vpn_manager_get_active_connections): new function; mainly for the
1025 policy to find out about active VPN connections
1027 2008-10-10 Tambet Ingo <tambet@gmail.com>
1029 * src/nm-logging.c (nm_logging_setup): Don't use LOG_CONS when running as
1030 a daemon to prevent NM logging spew on console on startup and shutdown (due
1031 to dependency loop between NM and syslog).
1033 2008-10-10 Alexander Sack <asac@ubuntu.com>
1035 Implement managed mode. We bind devices configured in /etc/network/interfaces
1036 to their connections by updating wired/wireless setting with the
1037 mac address of the device.
1039 * system-settings/plugins/ifupdown/plugin.c
1040 - (get_net_address_for_udi): implement function to retrieve MAC
1041 address of udi from hal in GByteArray format
1042 - (bind_device_to_connection): bind mac address of device to
1043 wired/wireless system connection
1044 - (hal_device_added_cb): call bind_device_to_connection for
1045 system connections with a matching interface.name
1046 - (hal_device_added_cb): ensure that all code paths
1047 properly free the "iface" string.
1049 2008-10-10 Alexander Sack <asac@ubuntu.com>
1051 Parse nm-system-settings.conf and allow admins to either use managed and unmanaged
1052 mode of the ifupdown system config plugin.
1054 * system-settings/plugins/ifupdown/plugin.c
1055 - (SCPluginIfupdown_init): parse nm-system-settings.conf keyfile and set
1056 private unmanage_well_known state field accordingly
1058 2008-10-10 Alexander Sack <asac@ubuntu.com>
1060 Implement unmanaged mode that will prevent all devices in the
1061 well_known_udis set from being touched by NetworkManager
1063 * system-settings/plugins/ifupdown/plugin.c
1064 - (typedef struct SCPluginIfupdownPrivate): add gboolean
1065 unmanage_well_known field used to turn on/off unmanaged
1067 - (hal_device_added_cb,hal_device_remove_cb): emit |unmanaged-devices-changed|
1068 signal when well_known_udis get added/removed
1069 - (SCPluginIfupdown_get_unmanaged_devices): return all well_known_udis
1070 if we are in unmanaged mode
1072 2008-10-10 Alexander Sack <asac@ubuntu.com>
1074 Add support to track network devices that have a configuration
1075 with a matching interface.name in /etc/network/interfaces
1077 * system-settings/plugins/ifupdown/plugin.c
1078 - (typedef struct SCPluginIfupdownPrivate): add hash table
1079 to track |well_known_udis|
1080 - (get_iface_for_udi): helper function to get interface.name
1082 - (hal_device_added_cb, hal_device_removed_cb): callbacks
1083 that add and remove devices to and from the well_known_udis
1084 set depending on whether their |interface.name| matches
1085 any interface definition in /etc/network/interfaces
1086 - (SCPluginIfupdown_init): connect callbacks from above with
1087 hal_mgr and setup well_known_udis hashtable
1088 - (GObject__dispose): destroy well_known_udis hashtable
1089 - (hal_device_added_cb2): implement wrapper callback with GFunc
1090 signature. user_data is supposed to be a triple (hal_mgr,
1092 - (SCPluginIfupdown_init): bootstrap wired and wifi devices for
1093 startup and call hal_device_added_cb2
1095 2008-10-10 Alexander Sack <asac@ubuntu.com>
1097 Remove implementation for not used NMSystemConfigInterface callback functions
1100 * system-settings/plugins/ifupdown/plugin.c
1101 - (SCPluginIfupdown_unmanaged_devices_changed): removed
1102 - (SCPluginIfupdown_connection_added): removed
1104 2008-10-08 Dan Williams <dcbw@redhat.com>
1106 Add a 'hostname' dispatcher action triggered on hostname changes (bgo #552983)
1108 * src/NetworkManagerUtils.c
1109 - (nm_utils_call_dispatcher): add a 'hostname' action
1111 * src/NetworkManagerPolicy.c
1112 - (set_system_hostname): dispatch hostname changes
1114 * callouts/nm-dispatcher-action.c
1115 - (nm_dispatcher_action): handle 'hostname' actions
1117 2008-10-08 Dan Williams <dcbw@redhat.com>
1119 * src/NetworkManagerSystem.c
1120 - (find_route): ref the route so it doesn't get destroyed when the cache
1122 - (nm_system_device_set_priority): unref the route here after it's done
1125 2008-10-08 Dan Williams <dcbw@redhat.com>
1127 * src/nm-serial-device.c
1128 - Turn on serial debugging when NM_SERIAL_DEBUG is set in the environment
1130 2008-10-08 Tambet Ingo <tambet@gmail.com>
1132 * system-settings/plugins/keyfile/nm-keyfile-connection.c (update): Update the
1133 connection with new settings before saving it.
1135 2008-10-06 Dan Williams <dcbw@redhat.com>
1137 * src/nm-ip4-config.c
1139 - nm_ip4_config_is_exported -> nm_ip4_config_get_dbus_path
1141 * src/nm-device-interface.c
1142 - (nm_device_interface_init): make 'ip4-config' a boxed property of type
1143 DBUS_TYPE_G_OBJECT_PATH so that we can make it NULL when we need to
1144 by using '/' for the object path
1147 - (src/nm-device.c): marshal missing/unexported ip4-config through
1148 dbus as '/' since dbus-glib can't handle NULL objects nor can
1149 dbus handle NULL object paths
1151 2008-10-03 Alexander Sack <asac@ubuntu.com>
1153 Implement system hostname support for debian/ubuntu
1155 * system-settings/plugins/ifupdown/plugin.c
1156 - (GObject__get_property): extend announced capabilities; add
1157 NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME support
1158 - (GObject__set_property,write_system_hostname): implement
1159 NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME capability.
1160 - (GObject__set_property, GObject__get_property, SCPluginIfupdown_init,
1161 update_system_hostname, get_hostname):
1162 implement hostname property that watches and
1163 parses /etc/hostname
1165 2008-10-03 Alexander Sack <asac@ubuntu.com>
1167 * system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
1168 system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
1169 system-settings/plugins/ifcfg-fedora/Makefile.am
1170 system-settings/src/nm-inotify-helper.c
1171 system-settings/src/nm-inotify-helper.h
1173 - Move ifcfg-fedora inotify helpers to the system settings service so
1174 they are available to all plugins
1176 2008-10-03 Alexander Sack <asac@ubuntu.com>
1178 Implement support for wep-tx-keyidx in ifupdown system
1181 * system-settings/plugins/ifupdown/parser.c
1182 - (update_wireless_security_setting_from_if_block): introduce
1183 free_type_mapping func table; rename a few local
1184 variables to improve readability; add wpa security mapping
1185 for wep-tx-keyidx property
1186 - (string_to_gpointerint): new function used for the auto_type_mapping
1187 of new wep-tx-keyidx property
1188 - (slist_free_all): free func used for mapped slist types
1190 2008-10-03 Alexander Sack <asac@ubuntu.com>
1192 * system-settings/src/main.c:
1193 - (add_default_dhcp_connection, device_removed_cb): ensure the UDI is
1194 always used as the hash key; fixes a crash when removing wired
1197 2008-10-02 Dan Williams <dcbw@redhat.com>
1199 * src/nm-gsm-device.c
1200 - (enter_pin_done, enter_pin, check_pin_done, real_act_stage1_prepare):
1201 pass the required GSM secret along via user_data rather than keeping
1202 it around in the private data where it sometimes didn't get cleared
1203 - (real_get_ppp_name): implement using the GSM username
1205 2008-10-02 Dan Williams <dcbw@redhat.com>
1207 * src/ppp-manager/nm-ppp-manager.c
1208 src/ppp-manager/nm-ppp-manager.h
1209 - (impl_ppp_manager_need_secrets): tries secrets twice before asking
1210 the settings daemon for completely new ones
1211 - (create_pppd_cmd_line): new parameter 'ppp_name' used to set the
1212 local PPP peer name; allow PPP debuging by launching NM with
1213 the environment variable NM_PPP_DEBUG defined
1214 - (nm_ppp_manager_start): new parameter 'ppp_name' passed to
1215 create_pppd_cmd_line()
1217 * src/nm-serial-device.c
1218 src/nm-serial-device.h
1219 - New 'get_ppp_name' function for subclasses to implement to return the
1221 - (real_act_stage2_config): call 'get_ppp_name' function of subclasses
1222 and pass that name to the PPP manager
1224 * src/nm-device-ethernet.c
1225 - (pppoe_stage2_config): pass the PPPoE username to the PPP manager as
1228 * src/nm-cdma-device.c
1229 - (real_get_ppp_name): implement using the CDMA username
1231 2008-10-02 Dan Williams <dcbw@redhat.com>
1233 Patch from Alexander Sack <asac ubuntu com>
1235 * system-settings/plugins/ifupdown/parser.c
1236 - Implement more graceful ip4 config parsing for cases where
1237 /etc/network/interfaces omits basic ip4 settings, such as gateway etc
1238 by using default values
1240 2008-10-02 Dan Williams <dcbw@redhat.com>
1242 * src/NetworkManagerPolicy.c
1243 - (device_state_changed): when marking a connection invalid, clear its
1244 secrets too so that fresh secrets get requested the next time
1246 2008-10-01 Dan Williams <dcbw@redhat.com>
1248 * system-settings/src/dbus-settings.c
1249 - (nm_sysconfig_settings_init): cache system hostname on startup as
1250 a fallback if no plugin provides a hostname
1251 - (get_property): fall back to cached hostname if no plugin provides
1254 2008-10-01 Dan Williams <dcbw@redhat.com>
1256 Fix setting value comparison issue that caused some settings to look the
1257 same when they were really different (rh #464417)
1259 * libnm-util/nm-param-spec-specialized.c
1260 - (type_is_fixed_size): return fundamental size of the fixed type too
1261 - (nm_gvalues_compare_collection): use the fundamental fixed type size
1262 in the comparison so that the _entire_ fixed type collection gets
1263 compared rather than just the first 'len1' bytes
1265 2008-09-30 Dan Williams <dcbw@redhat.com>
1267 * src/NetworkManagerPolicy.c
1268 - (lookup_thread_worker): don't store the idle handler ID becuase the
1269 idle handler could have already run and freed the LookupThread
1272 2008-09-30 Tambet Ingo <tambet@gmail.com>
1274 * src/nm-device.c (nm_device_get_priority): Implement.
1275 (nm_device_set_ip4_config): Send the device priority to system ip4
1278 * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config):
1279 Add priority argument and if it's >= 0, set the priority of the network
1280 route added automatically by netlink (or kernel?).
1281 (nm_system_device_set_priority): Implement.
1283 * src/NetworkManagerPolicy.c (get_best_device): Use
1284 nm_device_get_priority() instead of home-grown version. Revert the
1285 meaning, best priority is the lowest one.
1287 2008-09-29 Dan Williams <dcbw@redhat.com>
1289 Handle ipw3945 suspend/resume by retrying the GIWRANGE request a few times
1290 when it returns EAGAIN (rh #362421)
1292 * src/nm-device-wifi.c
1293 - (wireless_get_range): try GIWRANGE a few times until the card responds
1294 - (real_get_generic_capabilities, constructor): use wireless_get_range()
1296 2008-09-28 Dan Williams <dcbw@redhat.com>
1298 * src/nm-serial-device.c
1299 src/nm-serial-device.h
1300 - (nm_serial_device_close): stop PPP manager here so that PPP gets
1301 cleaned at the right times when subclasses close the serial port too
1302 - (nm_serial_device_send_command): use a default send delay; don't
1303 spin forever on EAGAIN
1304 - (get_reply_done, get_reply_got_data, nm_serial_device_get_reply):
1305 remove, no longer used
1306 - (find_response): return the matched response if any
1307 - (nm_serial_device_wait_reply_blocking): wait for a reply but block
1309 - (wait_for_reply_done): pass the matched response to the callback
1310 - (wait_for_reply_got_data): save the matched response; simplify timeout
1312 - (nm_serial_device_wait_for_reply): make 'responses' and 'terminators'
1313 const since they never get modified
1314 - (cleanup_device): split out common cleanup stuff to a new function
1315 - (real_deactivate_quickly, finalize): use cleanup_device()
1317 * src/nm-gsm-device.c
1318 - (modem_get_reply): remove, unused
1319 - (set_apn): give the card a bit more time to respond
1320 - (manual_registration_again, schedule_manual_registration_again,
1321 manual_registration_response, manual_registration): handle manual
1322 registration timeouts better by retrying registration a few times
1323 because cards are a bit slow after CFUN=1
1324 - (automatic_registration_get_network, get_network_response): use
1325 modem_wait_for_reply() because it interacts better with the serial
1326 buffer and does more intelligent matching; need to wait for 'OK'
1327 rather than just matching terminators
1328 - (schedule_automatic_registration_again,
1329 automatic_registration_response, automatic_registration): retry
1330 registration a few times on timeout or "searching" because cards
1331 take a bit to find a network after being powered up with CFUN=1
1332 - (power_up_response, power_up, init_full_done, enter_pin,
1333 check_pin_done): power up the card with CFUN=1 before trying to
1334 register with the network
1335 - (init_modem_full, init_modem): use more standard 3G init strings
1337 * src/nm-hso-gsm-device.c
1338 - (modem_get_reply): remove, unused
1339 - (hso_ip4_config_response, real_act_stage3_ip_config_start): use
1340 modem_wait_for_reply() to match actual responses instead of single
1341 termination characters; it doesn't leave stuff in the serial buffer
1342 that might confuse later calls
1343 - (real_deactivate_quickly): use nm_serial_device_wait_reply_blocking()
1344 to ensure that the call is really disconnected and not leave extra
1345 stuff in the serial buffer
1347 * src/nm-cdma-device.c
1348 - (power_up_response, power_up, init_done): try Sierra-style modem
1349 power up before attempting to connect
1351 2008-09-27 Dan Williams <dcbw@redhat.com>
1353 * libnm-util/nm-setting-gsm.c
1354 - (verify): verify GSM network ID
1356 2008-09-25 Dan Williams <dcbw@redhat.com>
1358 * libnm-util/nm-setting-gsm.c
1359 libnm-util/nm-setting-gsm.h
1360 - Fix up NM_GSM_NETWORK_* constants to accurately reflect the network
1361 technology terms (bgo #551361)
1363 2008-09-25 Dan Williams <dcbw@redhat.com>
1365 Fix bgo #549401 (inspired by patch from Alexander Sack)
1367 * src/nm-device-ethernet.c
1368 - (finish_supplicant_task): clean up scheduled tasks and free memory
1369 - (remove_supplicant_interface_error_handler): remove the supplicant
1370 error idle callback too
1371 - (supplicant_interface_release): rename from supplicant_interface_clean
1372 to match nm-device-wifi.c; clean up supplicant interface-related
1373 state tasks when the supplicant interface is disposed of
1374 - (schedule_state_handler): add scheduled tasks to a list so they can
1376 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
1377 supplicant_iface_connection_state_cb_handler): use
1378 finish_supplicant_task() to clean up each completed task
1379 - (supplicant_iface_connection_error_cb_handler,
1380 supplicant_connection_timeout_cb): clear source id when the task is
1382 - (supplicant_iface_connection_error_cb): save scheduled task id for
1384 - (nm_device_ethernet_dispose): clean up any pending supplicant state
1387 * src/nm-device-wifi.c
1388 - (finish_supplicant_task): clean up scheduled tasks and free memory
1389 - (remove_supplicant_interface_error_handler): remove the supplicant
1390 error idle callback too
1391 - (supplicant_interface_release): clean up supplicant interface-related
1392 state tasks when the supplicant interface is disposed of
1393 - (schedule_state_handler): add scheduled tasks to a list so they can
1395 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
1396 supplicant_iface_connection_state_cb_handler): use
1397 finish_supplicant_task() to clean up each completed task
1398 - (supplicant_iface_connection_error_cb_handler): clear source id when
1399 the task is complete
1400 - (supplicant_iface_connection_error_cb): save scheduled task id for
1402 - (nm_device_wifi_dispose): clean up any pending supplicant state tasks
1404 2008-09-24 Tambet Ingo <tambet@gmail.com>
1406 * system-settings/plugins/keyfile/plugin.c: Implement unmanaged_devices
1407 method and get/set hostname property.
1409 2008-09-24 Tambet Ingo <tambet@gmail.com>
1411 * src/supplicant-manager/nm-supplicant-interface.c
1412 (nm_supplicant_interface_disconnect): Don't increment the reference
1413 count when disconnecting. The problem is on shutdown, when the replies
1414 to these commands do not arrive before NM exits, resulting on never
1415 calling supplicant interface's dispose(), which removes the interface
1418 2008-09-24 Tambet Ingo <tambet@gmail.com>
1420 * libnm-glib/nm-vpn-plugin-ui-interface.c: Add type checking to
1421 all the public function arguments.
1423 2008-09-22 Tambet Ingo <tambet@gmail.com>
1425 * src/vpn-manager/nm-vpn-connection.c: Add a signal handler for the
1426 "Failure" signal from VPN plugins, store the failure reason, and
1427 use it when the state is changed to failure.
1429 * introspection/nm-vpn-plugin.xml: Fix the "Failure" signal's type
1432 * include/NetworkManagerVPN.h (NMVPNConnectionStateReason): Add a new
1433 reason to the end of the list to not break the API.
1434 (NMVPNPluginFailure): Move it here (from libnm-glib/nm-vpn-plugin.h)
1435 so it can be shared by plugins and daemon.
1437 2008-09-18 Dan Williams <dcbw@redhat.com>
1439 Patch from Alexander Sack <asac@ubuntu.com>
1442 system-settings/plugins/Makefile.am
1443 system-settings/plugins/ifupdown/Makefile.am
1444 system-settings/plugins/ifupdown/interface_parser.c
1445 system-settings/plugins/ifupdown/interface_parser.h
1446 system-settings/plugins/ifupdown/nm-ifupdown-connection.c
1447 system-settings/plugins/ifupdown/nm-ifupdown-connection.h
1448 system-settings/plugins/ifupdown/parser.c
1449 system-settings/plugins/ifupdown/parser.h
1450 system-settings/plugins/ifupdown/plugin.c
1451 system-settings/plugins/ifupdown/plugin.h
1452 - Implement a Debian/Ubuntu legacy network configuration plugin
1455 2008-09-18 Dan Williams <dcbw@redhat.com>
1457 Implement support for honoring configured and automatic hostnames, and for
1458 setting the configured hostname.
1460 * introspection/nm-ip4-config.xml
1463 src/dhcp-manager/nm-dhcp-manager.c
1464 - Remove useless hostname property; it's not really part of the IPv4
1467 * introspection/nm-settings-system.xml
1468 libnm-glib/nm-dbus-settings-system.c
1469 libnm-glib/nm-dbus-settings-system.h
1470 - Add SetHostname() call to system settings D-Bus interface
1471 - Add Hostname property to system settings D-Bus interface
1472 - (nm_dbus_settings_system_save_hostname,
1473 nm_dbus_settings_system_get_hostname): implement
1477 - (nm_device_get_dhcp4_config): implement
1481 - Fetch and track system settings service hostname changes, and proxy
1482 the changes via a GObject property of the manager
1484 * system-settings/src/nm-system-config-interface.c
1485 system-settings/src/nm-system-config-interface.h
1486 - Replace nm_system_config_interface_supports_add() with a capabilities
1489 * system-settings/src/nm-system-config-error.c
1490 system-settings/src/nm-system-config-error.h
1491 - Add additional errors
1493 * system-settings/src/dbus-settings.c
1494 system-settings/src/dbus-settings.h
1495 - (get_property, nm_sysconfig_settings_class_init): add hostname
1496 property; first plugin returning a hostname wins
1497 - (impl_settings_add_connection): use plugin capabilities instead of
1498 nm_system_config_interface_supports_add()
1499 - (impl_settings_save_hostname): implement hostname saving
1501 * src/NetworkManagerPolicy.c
1502 - (lookup_thread_run_cb, lookup_thread_worker, lookup_thread_new,
1503 lookup_thread_die): implement an asynchronous hostname lookup thread
1504 which given an IPv4 address tries to look up the hostname for that
1505 address with reverse DNS
1506 - (get_best_device): split out best device code from
1507 update_routing_and_dns()
1508 - (update_etc_hosts): update /etc/hosts with the machine's new hostname
1509 to preserve the 127.0.0.1 reverse mapping that so many things require
1510 - (set_system_hostname): set a given hostname
1511 - (update_system_hostname): implement hostname policy; a configured
1512 hostname (from the system settings service) is used if available,
1513 otherwise an automatically determined hostname from DHCP, VPN, etc.
1514 If there was no automatically determined hostname, reverse DNS of
1515 the best device's IP address will be used, and as a last resort the
1516 hostname 'localhost.localdomain' is set.
1517 - (update_routing_and_dns): use get_best_device(); update the system
1518 hostname when the network config changes
1519 - (hostname_changed): update system hostname if the system settings
1520 service signals a hostname change
1521 - (nm_policy_new): list for system settings service hostname changes
1522 - (nm_policy_destroy): ensure that an in-progress hostname lookup thread
1525 * system-settings/plugins/keyfile/plugin.c
1526 system-settings/plugins/ifcfg-suse/plugin.c
1527 - (get_property, sc_plugin_ifcfg_class_init): implement hostname and
1528 capabilities properties
1530 * system-settings/plugins/ifcfg-fedora/shvar.c
1531 - (svOpenFile): re-enable R/W access of ifcfg files since the plugin
1532 writes out /etc/sysconfig/network now
1534 * system-settings/plugins/ifcfg-fedora/plugin.c
1535 - (plugin_get_hostname): get hostname from /etc/sysconfig/network
1536 - (plugin_set_hostname): save hostname to /etc/sysconfig/network
1537 - (sc_network_changed_cb): handle changes to /etc/sysconfig/network
1538 - (sc_plugin_ifcfg_init): monitor /etc/sysconfig/network for changes
1539 - (get_property, set_property, sc_plugin_ifcfg_class_init): implement
1540 hostname get/set and capabilities get
1542 2008-09-18 Dan Williams <dcbw@redhat.com>
1544 * libnm-util/nm-setting-wireless.c
1545 - (nm_setting_wireless_ap_security_compatible): only verify pairwise and
1546 group ciphers if the wireless-security setting explicitly specified
1547 them, effectively making the default be "all ciphers" (idea from
1550 2008-09-15 Dan Williams <dcbw@redhat.com>
1552 Patch from Alexander Sack <asac@ubuntu.com>
1554 * src/named-manager/nm-named-manager.c
1555 - (dispatch_resolvconf): respect resolvconf exit code
1557 2008-09-12 Tambet Ingo <tambet@gmail.com>
1559 * src/named-manager/nm-named-manager.c (dispatch_netconfig): Make it compile
1560 again. Add some debugging.
1562 2008-09-11 Dan Williams <dcbw@redhat.com>
1564 * system-settings/plugins/keyfile/plugin.c
1565 - (update_connection_settings): update connection manually, since
1566 nm_exported_connection_update() does authentication
1567 - (dir_changed): update_connection_settings() doesn't need to return
1570 2008-09-09 Dan Williams <dcbw@redhat.com>
1572 * libnm-glib/nm-vpn-plugin-ui-interface.c
1573 libnm-glib/nm-vpn-plugin-ui-interface.h
1574 libnm-glib/libnm_glib_vpn.ver
1575 - (nm_vpn_plugin_ui_interface_delete_connection): called when the plugin
1576 should clean up resources related to the connection (like keyring
1578 - (nm_vpn_plugin_ui_widget_interface_save_secrets): called when the plugin
1579 should save user-scope secrets (like to the keyring)
1581 2008-09-08 Dan Williams <dcbw@redhat.com>
1583 Patch from Alexander Sack <asac@ubuntu.com>
1585 * libnm-util/crypto_gnutls.c
1586 libnm-util/crypto_nss.c
1587 - (crypto_init, crypto_deinit): just use a boolean instead of a refcount
1589 * libnm-util/nm-utils.c
1590 libnm-util/nm-utils.h
1591 libnm-util/libnm-util.ver
1592 - (nm_utils_init): initialize libnm-util
1593 - (nm_utils_deinit): de-initialize libnm-util and clean up resources
1595 * libnm-util/nm-setting-8021x.c
1596 - (nm_setting_802_1x_class_init): init libnm-util when needed
1598 2008-09-05 Dan Williams <dcbw@redhat.com>
1600 Patch from Roy Marples <roy@marples.name> and others
1603 src/named-manager/nm-named-manager.c
1604 - Add support for resolvconf; use --with-resolvconf at configure time
1607 2008-09-05 Dan Williams <dcbw@redhat.com>
1609 * libnm-util/crypto_nss.c
1610 libnm-util/crypto_gnutls.c
1612 - (crypto_init): return error when init fails
1614 2008-09-05 Dan Williams <dcbw@redhat.com>
1616 * libnm-glib/nm-device-wifi.c
1617 - (access_point_removed_proxy): clean up the active access point too
1618 just in case the active ap changed signal didn't come through yet
1619 - (clean_up_aps): be sure to set priv->active_ap to NULL when cleaning up
1621 2008-09-05 Dan Williams <dcbw@redhat.com>
1623 * libnm-glib/nm-client.c
1624 - (constructor): get initial state after we know whether NM is running
1627 2008-09-05 Dan Williams <dcbw@redhat.com>
1629 * libnm-glib/nm-ip4-config.c
1630 libnm-glib/nm-dhcp4-config.c
1631 - (finalize): clean up the DBusGProxy
1633 2008-09-04 Dan Williams <dcbw@redhat.com>
1635 * src/nm-ip4-config.c
1637 - (nm_ip4_config_new): don't export over D-Bus here
1638 - (nm_ip4_config_export): new function; export the config over D-Bus
1639 - (nm_ip4_config_is_exported): new function
1642 - (nm_device_activate_stage5_ip_config_commit): fix leak of IP4Config
1643 objects by balancing the IP4Config constructor; the device holds
1644 a reference to the IP4Config already
1645 - (nm_device_set_ip4_config): export the IP4Config when needed
1647 2008-09-04 Dan Williams <dcbw@redhat.com>
1649 * src/supplicant-manager/nm-supplicant-settings-verify.c
1650 - Allow WPA-NONE key management for Ad-Hoc WPA connections
1652 2008-09-04 Dan Williams <dcbw@redhat.com>
1654 * libnm-util/nm-setting-vpn.c
1655 libnm-util/nm-setting-vpn.h
1656 - Split VPN secrets from VPN data so that settings services can actually
1657 figure out that they are secrets and store them accordingly
1659 * system-settings/plugins/keyfile/nm-keyfile-connection.c
1660 system-settings/plugins/keyfile/reader.c
1661 system-settings/plugins/keyfile/reader.h
1662 system-settings/plugins/keyfile/writer.c
1663 - Store VPN secrets separately from VPN data so that they can be fetched
1665 - Implement the get_secrets() call so that (a) secrets don't leak out
1666 to unprivileged callers, and (b) secrets can be sent to privileged
1669 * vpn-daemons/vpnc/src/nm-vpnc-service.c
1670 - Handle split VPN secrets
1672 2008-08-27 Dan Williams <dcbw@redhat.com>
1674 * system-settings/plugins/ifcfg-fedora/reader.c
1675 - (make_ip4_setting): use DOMAIN not SEARCH (rh #459370)
1677 2008-08-27 Dan Williams <dcbw@redhat.com>
1679 Ensure zombie children get cleaned up. To get notifications when children
1680 die abnormally, g_spawn_async() requires G_SPAWN_DO_NOT_REAP_CHILD, but
1681 that requires calling waitpid() yourself if you've removed the child watch
1682 handler before the process has actually died, which NM needs to do in a few
1683 places. So ensure that everything uses G_SPAWN_DO_NOT_REAP_CHILD and also
1684 cleans up after the child when required. Should fix problems trying to
1685 activate mobile broadband connections after a previous failure.
1687 * src/dhcp-manager/nm-dhcp-dhclient.c
1688 src/dhcp-manager/nm-dhcp-dhcpcd.c
1689 - Use G_SPAWN_DO_NOT_REAP_CHILD
1691 * src/dhcp-manager/nm-dhcp-manager.c
1692 - (nm_dhcp_device_destroy): ensure child is cleaned up
1693 - (nm_dhcp_client_stop, nm_dhcp_manager_cancel_transaction_real): always
1694 block on child quitting, since the non-blocking functionality was
1697 * src/dnsmasq-manager/nm-dnsmasq-manager.c
1698 - (dm_watch_cb): child is already reaped here
1699 - (ensure_killed, nm_dnsmasq_manager_stop): block until child is dead
1702 - (aipd_cleanup): block until child is dead
1704 * src/named-manager/nm-named-manager.c
1705 - (run_netconfig): don't use G_SPAWN_DO_NOT_REAP_CHILD if we aren't
1706 event bothering to watch the child
1708 * src/ppp-manager/nm-ppp-manager.c
1709 - (ppp_watch_cb): child is already reaped here
1710 - (ensure_killed, nm_ppp_manager_stop): block until child is dead
1712 * src/vpn-manager/nm-vpn-service.c
1713 - (vpn_service_watch_cb): child is already reaped here
1714 - (nm_vpn_service_daemon_exec): use G_SPAWN_DO_NOT_REAP_CHILD so that
1715 status of the child is actually tracked
1716 - (ensure_killed, finalize): block until child is dead
1718 2008-08-26 Dan Williams <dcbw@redhat.com>
1720 * system-settings/plugins/keyfile/nm-keyfile-connection.c
1721 - (update): Update filename of the connection if the connection id
1724 * system-settings/plugins/keyfile/plugin.c
1725 - (dir_changed): first pass at handling connection renames correctly
1727 * system-settings/plugins/keyfile/writer.c
1728 system-settings/plugins/keyfile/writer.h
1729 - (write_connection): replace '/' with '*' when writing out the filename
1730 from the connection id
1732 2008-08-26 Dan Williams <dcbw@redhat.com>
1734 Add connection UUIDs, since connection names can be changed, and since
1735 old-style connection IDs could change over the life of the connection. The
1736 UUID should be assigned at connection creation time, be stable for a given
1737 connection, and should be unique among all connections for a given settings
1741 libnm-util/Makefile.am
1744 * introspection/nm-exported-connection.xml
1745 - Remove "GetID" method
1747 * libnm-glib/nm-dbus-connection.c
1748 libnm-glib/nm-settings.c
1749 libnm-glib/nm-settings.h
1750 - Remove id-related stuff
1752 * libnm-util/nm-utils.c
1753 libnm-util/nm-utils.h
1754 libnm-util/libnm-util.ver
1755 - (nm_utils_uuid_generate, nm_utils_uuid_generate_from_string): Add
1756 utility functions to generate UUIDs
1758 * libnm-util/nm-setting-connection.c
1759 libnm-util/nm-setting-connection.h
1760 - Add 'uuid' member to the connection setting
1761 - (verify): require valid 'uuid' for a valid connection
1763 * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
1764 system-settings/plugins/ifcfg-fedora/reader.c
1765 system-settings/plugins/ifcfg-suse/nm-suse-connection.c
1766 system-settings/plugins/ifcfg-suse/parser.c
1767 system-settings/plugins/keyfile/nm-keyfile-connection.c
1768 system-settings/src/main.c
1769 - Remove id-related stuff
1770 - Give connections UUIDs where needed
1772 2008-08-25 Dan Williams <dcbw@redhat.com>
1774 * libnm-util/crypto_gnutls.c
1775 libnm-util/crypto_nss.c
1776 - (crypto_init, crypto_deinit): refcount init/deinit
1777 - (crypto_md5_hash): allow NULL salt
1779 2008-08-22 Michael Biebl <mbiebl@gmail.com>
1781 * libnm-glib/Makefile.am
1782 libnm-util/Makefile.am
1783 libnm-glib/libnm_glib.ver
1784 libnm-glib/libnm_glib_vpn.ver
1785 libnm-util/libnm-util.ver
1786 - Use linker version scripts to control the list of exported
1787 symbols. List each exported symbol explicitely.
1788 * libnm-util/Makefile.am
1789 - Fix compilation of the test-crypto binary. The crypto
1790 functions are no longer part of the libnm-util API. Add
1791 crypto_*.c to test_crypto_SOURCES and link against the correct
1794 2008-08-19 Dan Williams <dcbw@redhat.com>
1798 - Don't build test/test-common
1799 - Remove unused stuff
1801 * test/nm-set-fallback
1802 test/nmtestdevices.c
1803 test/test-common/.cvsignore
1804 test/test-common/Makefile.am
1805 test/test-common/test-common.c
1806 test/test-common/test-common.h
1809 2008-08-18 Dan Williams <dcbw@redhat.com>
1811 * libnm-util/nm-utils.c
1812 libnm-util/nm-utils.h
1813 - (nm_utils_garray_to_string): remove; NM was the only user and doesn't
1814 export anything that needs to be converted with this function
1816 * src/dhcp-manager/nm-dhcp-manager.c
1817 - (garray_to_string): convert a byte array to a UTF-8 string with
1818 minimal validation; the DHCP client sends it in ASCII anyway
1819 - (get_option, copy_option): use garray_to_string()
1821 2008-08-18 Dan Williams <dcbw@redhat.com>
1823 * include/NetworkManager.h
1824 introspection/nm-device.xml
1825 - Add a "missing firmware" device state reason
1827 * src/NetworkManagerSystem.c
1828 src/NetworkManagerSystem.h
1829 - (nm_system_device_set_up_down): add a no_firmware argument
1830 - (nm_system_device_set_up_down_with_iface): if the result of setting
1831 IFF_UP is ENOENT, that almost always means missing firmware
1833 * src/backends/NetworkManagerGeneric.c
1834 src/nm-device-ethernet.c
1835 src/nm-device-private.h
1836 src/nm-device-wifi.c
1839 src/nm-hso-gsm-device.c
1840 src/vpn-manager/nm-vpn-connection.c
1841 - Pass no_firmware along; check it where appropriate
1843 2008-08-18 Dan Williams <dcbw@redhat.com>
1845 Patch from Robert Buchholz <rbu@gentoo.org>
1849 - Change to automake 1.9 and 'ustar' tar format defined by POSIX
1850 1003.1-1988, allowing for file names longer than 99 characters
1852 2008-08-17 Dan Williams <dcbw@redhat.com>
1854 * include/NetworkManager.h
1855 introspection/nm-device.xml
1857 - Finer-grained GSM registration failure error codes
1859 2008-08-17 Dan Williams <dcbw@redhat.com>
1861 * callouts/Makefile.am
1863 - Move dispatcher directory creation to callouts/Makefile.am
1865 * system-settings/plugins/keyfile/Makefile.am
1866 - Create keyfile connections directory in DESTDIR (bgo #546833)
1868 2008-08-15 Dan Williams <dcbw@redhat.com>
1870 Do connection sharing in a cleaner manner; all required iptables rules
1871 are now stored in the activation request and pertain only to the device
1872 which is being shared to other computers. (rh #458625)
1874 * src/nm-activation-request.c
1875 src/nm-activation-request.h
1876 - (nm_act_request_add_share_rule): new function; add a sharing rule to
1877 the activation request which will get torn down automatically when
1878 the activation request dies
1879 - (nm_act_request_set_shared): push sharing rules to iptables when sharing
1880 is started, and tear them down when sharing is stopped
1883 - (start_sharing): start up sharing by doing the required iptables magic
1884 - (share_init): poke the right bits of the kernel and load the right
1886 - (nm_device_activate_stage5_ip_config_commit): start NAT-ing this
1887 connection if it's a 'shared' connection
1889 * src/NetworkManagerPolicy.c
1890 - Remove all sharing stuff; done in the device code itself
1892 2008-08-15 Dan Williams <dcbw@redhat.com>
1894 * src/dnsmasq-manager/nm-dnsmasq-manager.c
1895 - (create_dm_cmd_line): send the right router address
1897 2008-08-15 Dan Williams <dcbw@redhat.com>
1899 * src/ppp-manager/nm-ppp-manager.c
1900 - (pppd_timed_out): ensure timeouts fail the connection
1902 2008-08-14 Dan Williams <dcbw@redhat.com>
1904 * src/nm-properties-changed-signal.c
1905 src/nm-properties-changed-signal.h
1906 - Add a property spec flag for "don't export this property" in
1907 property changed signals
1909 * src/nm-hso-gsm-device.c
1911 src/nm-cdma-device.c
1912 - Don't export monitor interface or netdev interface properties
1914 2008-08-14 Dan Williams <dcbw@redhat.com>
1916 * src/NetworkManagerPolicy.c
1917 - (update_routing_and_dns): 'hso' devices can be default even if they
1918 don't have a gateway
1920 2008-08-14 Dan Williams <dcbw@redhat.com>
1923 - (nm_device_deactivate_quickly): tear down activation request after
1924 calling device-specific deactivation
1926 * src/nm-hso-gsm-device.c
1927 - (real_deactivate_quickly): terminate connection when deactivating
1929 2008-08-14 Dan Williams <dcbw@redhat.com>
1931 * src/nm-activation-request.h
1932 - Add HSO secrets caller
1934 * src/nm-gsm-device.c
1936 - (modem_wait_for_reply): add a 'user_data' argument so callers can pass
1937 something to the callback function
1938 - (set_apn, set_apn_done): call class dial function, not a static one
1939 - (nm_gsm_device_class_init): add a class 'dial' function
1941 * src/nm-hal-manager.c
1942 - (get_hso_netdev): find the hso-driven hardware's net device
1943 - (modem_device_creator): recognize hso-driven hardware and create the
1944 right type of device object for it
1947 src/nm-hso-gsm-device.c
1948 src/nm-hso-gsm-device.h
1949 - Implement support for devices driven by the 'hso' driver as a subclass
1952 2008-08-14 Dan Williams <dcbw@redhat.com>
1954 * src/NetworkManagerSystem.c
1955 - (nm_system_device_is_up_with_iface): ensure ifreq is cleared before using
1956 - (nm_system_device_set_up_down_with_iface): cleanups; only return
1957 success if the operation really was successful
1959 2008-08-14 Dan Williams <dcbw@redhat.com>
1961 * src/nm-netlink-monitor.c
1962 src/nm-netlink-monitor.h
1963 src/nm-device-ethernet.c
1964 - (nm_netlink_monitor_request_status): return an error on failure
1965 - (constructor): don't segfault on missing error
1967 2008-08-13 Dan Williams <dcbw@redhat.com>
1969 * callouts/nm-dispatcher-action.c
1970 - Add IP4 config info to script environment
1972 2008-08-12 Dan Williams <dcbw@redhat.com>
1975 - (nm_device_set_ip4_config): don't touch hostnames here; distros
1976 that want to use DHCP hostnames should use dispatcher scripts
1979 * src/NetworkManagerSystem.h
1980 src/backends/NetworkManagerArch.c
1981 src/backends/NetworkManagerDebian.c
1982 src/backends/NetworkManagerFrugalware.c
1983 src/backends/NetworkManagerGeneric.c
1984 src/backends/NetworkManagerGeneric.h
1985 src/backends/NetworkManagerGentoo.c
1986 src/backends/NetworkManagerMandriva.c
1987 src/backends/NetworkManagerPaldo.c
1988 src/backends/NetworkManagerRedHat.c
1989 src/backends/NetworkManagerSlackware.c
1990 src/backends/NetworkManagerSuSE.c
1991 - Remove nm_system_set_hostname(), no longer used
1993 * src/backends/Makefile.am
1994 src/backends/shvar.c
1995 src/backends/shvar.h
1996 - Remove shvar.*; no longer used
1998 2008-08-12 Dan Williams <dcbw@redhat.com>
2000 Revert most of the 'hostname' patch. Too much stuff still breaks when
2001 hostname is updated at runtime. Distros or users who want hostname updates
2002 can use dispatcher scripts to update the hostname if they need it.
2004 2008-08-12 Dan Williams <dcbw@redhat.com>
2006 * introspection/nm-settings-system.xml
2007 system-settings/src/dbus-settings.c
2008 system-settings/src/dbus-settings.h
2009 - Add a 'Hostname' property (rw) which represents the configured
2010 hostname and domain of the system, if any
2012 * system-settings/src/nm-system-config-error.c
2013 system-settings/src/nm-system-config-error.h
2014 system-settings/src/nm-system-config-interface.c
2015 system-settings/src/nm-system-config-interface.h
2016 - Add a 'hostname' property to the plugin interface
2017 - Add a method to send updated hostname to plugins to save in their
2018 backing configuration store
2020 * system-settings/plugins/keyfile/nm-keyfile-connection.c
2021 system-settings/plugins/keyfile/plugin.c
2022 system-settings/plugins/keyfile/writer.c
2023 system-settings/plugins/keyfile/writer.h
2024 system-settings/plugins/ifcfg-suse/plugin.c
2025 - Add minimal hostname support
2027 * system-settings/plugins/ifcfg-fedora/plugin.c
2028 - Add support for updating system hostname in /etc/sysconfig/network
2030 2008-08-12 Dan Williams <dcbw@redhat.com>
2032 * system-settings/plugins/ifcfg-fedora/shvar.c
2033 system-settings/plugins/ifcfg-fedora/shvar.c
2034 - Fix double-free caused by svSetValue() followed by svCloseFile()
2036 2008-08-12 Tambet Ingo <tambet@gmail.com>
2038 * Makefile.am: Fix distcheck.
2040 2008-08-12 Tambet Ingo <tambet@gmail.com>
2042 * libnm-glib/*.c. Document some more.
2044 2008-08-12 Tambet Ingo <tambet@gmail.com>
2046 Start documenting libnm-glib public API using gtk-doc.
2048 * libnm-glib/nm-serial-device.c:
2049 * libnm-glib/nm-object.c:
2050 * libnm-glib/nm-gsm-device.c:
2051 * libnm-glib/nm-device.c:
2052 * libnm-glib/nm-device-wifi.c:
2053 * libnm-glib/nm-device-ethernet.c:
2054 * libnm-glib/nm-client.c:
2055 * libnm-glib/nm-cdma-device.c: Document the public API.
2057 * docs/libnm-glib/libnm-glib.types: Implement.
2059 * docs/libnm-glib/Makefile.am: Implement.
2063 * Makefile.am: Add gtk-doc support.
2065 2008-08-12 Tambet Ingo <tambet@gmail.com>
2067 * src/backends/*: Get rid of nm_system_should_modify_resolv_conf().
2069 * src/named-manager/nm-named-manager.c (rewrite_resolv_conf): Calculate
2070 the composite result of all the IP4 configurations and call a distro
2071 specific update_resolv_conf().
2072 (update_resolv_conf): Implement one for directly writing to
2073 /etc/resolv.conf and one for opensuse to call netconfig.
2075 2008-08-11 Dan Williams <dcbw@redhat.com>
2077 * src/ppp-manager/nm-ppp-manager.c
2078 - (impl_ppp_manager_need_secrets): pass interface as required
2080 2008-08-11 Dan Williams <dcbw@redhat.com>
2082 Merge the vpn-properties setting with the vpn setting since it was pointless
2083 to keep both of them around. Convert the vpn 'data' hash table to a hash
2084 of string:string (instead of string:variant) so that system settings plugins
2085 can have an easier time dealing with the arbitrary key/value pairs.
2087 2008-08-11 Dan Williams <dcbw@redhat.com>
2089 * libnm-util/nm-utils.c
2090 - (nm_utils_register_value_transformations): add value transform for
2091 a hash table of string:string
2093 2008-08-10 Dan Williams <dcbw@redhat.com>
2095 * libnm-glib/nm-vpn-plugin.c
2096 - (nm_vpn_plugin_connect): stop plugin after connection failure from
2097 an idle handler so the Connect reply gets delivered before the
2098 stop StateChanged signal
2100 2008-08-10 Dan Williams <dcbw@redhat.com>
2102 * src/nm-ip4-config.c
2103 - (get_property): use common ip4 address/route conversion functions
2104 - (nm_ip4_config_replace_address, nm_ip4_config_replace_route): should
2105 copy the new route here, not take ownership
2107 2008-08-08 Tambet Ingo <tambet@gmail.com>
2109 * system-settings/plugins/ifcfg-suse/parser.c (make_ip4_setting):
2110 Update the IP4 setting's method name.
2112 2008-08-07 Dan Williams <dcbw@redhat.com>
2114 * introspection/nm-ip4-config.xml
2115 libnm-glib/libnm-glib-test.c
2116 libnm-glib/nm-ip4-config.c
2117 libnm-glib/nm-ip4-config.h
2118 src/NetworkManagerSystem.h
2119 src/backends/NetworkManagerArch.c
2120 src/backends/NetworkManagerDebian.c
2121 src/backends/NetworkManagerFrugalware.c
2122 src/backends/NetworkManagerGeneric.c
2123 src/backends/NetworkManagerGeneric.h
2124 src/backends/NetworkManagerGentoo.c
2125 src/backends/NetworkManagerMandriva.c
2126 src/backends/NetworkManagerPaldo.c
2127 src/backends/NetworkManagerRedHat.c
2128 src/backends/NetworkManagerSlackware.c
2129 src/backends/NetworkManagerSuSE.c
2130 src/dhcp-manager/nm-dhcp-manager.c
2134 - Remove NIS logic; should be done from dispatcher scripts instead
2136 2008-08-07 Dan Williams <dcbw@redhat.com>
2138 * src/dhcp-manager/nm-dhcp-manager.c
2139 - (nm_dhcp_manager_get_ip4_config): fix regression which caused
2140 mis-handling of DHCP responses that returned more than one router
2141 (found by Grant Williamson)
2143 2008-08-07 Dan Williams <dcbw@redhat.com>
2145 * callouts/nm-dispatcher-action.c
2146 - (nm_dispatcher_action): grab device path and create the device; pass
2147 the device's DHCP4 config to script caller
2148 - (dispatch_scripts): dump the DHCP4 config to the environment of called
2151 * libnm-glib/nm-dhcp4-config.c
2152 libnm-glib/nm-dhcp4-config.h
2153 - (nm_dhcp4_config_get_options): expose
2154 - (nm_dhcp4_config_get_one_option): renamed from nm_dhcp4_config_get_option
2156 2008-08-07 Dan Williams <dcbw@redhat.com>
2158 * include/NetworkManager.h
2159 - Add the DHCP4Config D-Bus interface
2161 * libnm-glib/Makefile.am
2162 libnm-glib/nm-dhcp4-config.c
2163 libnm-glib/nm-dhcp4-config.h
2164 - Handle DHCP4 config objects exported by NM over D-Bus
2166 * libnm-glib/nm-device.c
2167 libnm-glib/nm-device.h
2168 - Add a 'dhcp4-config' property
2170 * libnm-glib/libnm-glib-test.c
2171 - Print out DHCP4 config for devices
2172 - Fix some crashes when no connections are active
2174 * src/nm-device-interface.c
2176 src/nm-dhcp4-config.c
2177 src/nm-dhcp4-config.h
2178 - Treat dhcp4-config object as an object path at the D-Bus interface so
2179 that when it doesn't exist we can proxy it as "/" which dbus-glib
2180 doesn't let us do when the property type is G_TYPE_OBJECT
2182 2008-08-07 Dan Williams <dcbw@redhat.com>
2184 * src/NetworkManager.c
2185 src/NetworkManagerSystem.h
2186 src/backends/NetworkManagerArch.c
2187 src/backends/NetworkManagerDebian.c
2188 src/backends/NetworkManagerFrugalware.c
2189 src/backends/NetworkManagerGeneric.c
2190 src/backends/NetworkManagerGeneric.h
2191 src/backends/NetworkManagerGentoo.c
2192 src/backends/NetworkManagerMandriva.c
2193 src/backends/NetworkManagerPaldo.c
2194 src/backends/NetworkManagerRedHat.c
2195 src/backends/NetworkManagerSlackware.c
2196 src/backends/NetworkManagerSuSE.c
2197 - (nm_system_init, nm_system_kill_all_dhcp_daemons): remove, unused
2199 2008-08-06 Dan Williams <dcbw@redhat.com>
2201 * libnm-glib/nm-ip4-config.c
2202 libnm-glib/nm-ip4-config.h
2203 - Add 'routes' property
2205 * libnm-util/nm-setting-vpn.c
2206 libnm-util/nm-setting-vpn.h
2207 - Remove 'routes' property
2209 * libnm-util/nm-setting-ip4-config.c
2210 libnm-util/nm-setting-ip4-config.h
2211 - 'ignore-dhcp-dns' renamed to 'ignore-auto-dns'
2212 - Add 'ignore-auto-routes' property
2213 - 'routes' exposed over D-Bus is now an array of array of uint (4) to
2214 accomodate route metrics
2215 - 'routes' exposed in C is now a list of NMSettingIP4Route structures
2217 * libnm-util/nm-utils.c
2218 libnm-util/nm-utils.h
2219 - Add helpers for marshalling IP4 routes
2221 * src/NetworkManagerUtils.c
2222 - (nm_utils_merge_ip4_config): handle property renames and new route
2225 * src/NetworkManagerSystem.c
2226 - (nm_system_device_set_ip4_route, nm_system_device_set_from_ip4_config,
2227 nm_system_vpn_device_set_from_ip4_config): respect route metrics
2229 * src/dhcp-manager/nm-dhcp-manager.c
2230 - (nm_dhcp_manager_get_ip4_config): handle new route structure
2232 * system-settings/plugins/ifcfg-fedora/reader.c
2233 system-settings/plugins/ifcfg-fedora/writer.c
2234 - Handle routes separately from addresses now that routes have a different
2237 * introspection/nm-ip4-config.xml
2240 - Rename internal routing functions
2241 - 'static-routes' renamed to 'routes'
2243 2008-08-04 Dan Williams <dcbw@redhat.com>
2245 Patch from Sjoerd Simons <sjoerd.simons@collabora.co.uk>
2247 * src/NetworkManager.c
2250 - More explicitly make the NMManager a singleton
2252 2008-08-04 Dan Williams <dcbw@redhat.com>
2254 * libnm-util/nm-connection.c
2255 libnm-util/nm-connection.h
2256 - (nm_connection_verify): return error on missing 'connection' setting
2257 (found by Sjoerd Simons)
2259 2008-08-04 Dan Williams <dcbw@redhat.com>
2261 Handle multiple concurrent PPP connections.
2263 * src/ppp-manager/nm-ppp-manager.c
2264 src/ppp-manager/nm-ppp-manager.h
2265 - (constructor): only PPP Manager request bus name once; each
2266 NMPPPManager object gets a unique object path
2267 - (nm_ppp_manager_class_init, get_property, set_property,
2268 nm_ppp_manager_new, nm_ppp_manager_start): pass parent interface in
2270 - (impl_ppp_manager_need_secrets, impl_ppp_manager_set_state): don't
2271 remove timeout until PPP manager gets an IP4 config
2272 - (create_pppd_cmd_line): pass dbus object path as 'ipparam' so that
2273 the plugin can call back to this specific PPP manager instance
2275 * src/nm-device-ethernet.c
2276 src/nm-serial-device.c
2277 - Pass parent device in nm_ppp_manager_new()
2279 * src/nm-gsm-device.c
2280 src/nm-cdma-device.c
2281 - (device_state_changed): don't close serial device on NEED_AUTH
2282 state changed, that's not a failure case like the rest are
2284 * src/ppp-manager/nm-pppd-plugin.c
2285 - (nm_ip_up): always use index 0 into the ipcp options, because NM always
2286 binds one interface to any pppd process, thus the correct index
2287 is always 0; send PHASE_DEAD on error to alert NM immediately of
2288 problems; try harder to get a peer address in spite of pppd
2289 - (plugin_init): use 'ipparam' as the object path back to our specific
2290 PPP manager instance
2292 2008-08-04 Dan Williams <dcbw@redhat.com>
2294 * src/ppp-manager/nm-ppp-manager.c
2295 - (impl_ppp_manager_need_secrets): rework to handle secrets better;
2296 since the GSM and CDMA settings now implement need_secrets, we can
2297 rely on them to do the right thing. Where secrets are not required,
2298 just pass empty strings back to the pppd plugin.
2299 - (nm_ppp_manager_update_secrets): leak fix; don't need to dup the strings
2300 - (impl_ppp_manager_set_ip4_config): clear the secrets tries counter
2301 on successful IP4 config receipt
2303 2008-08-04 Dan Williams <dcbw@redhat.com>
2305 * libnm-util/nm-setting-cdma.c
2306 libnm-util/nm-setting-gsm.c
2307 - (verify): validate username & password if they exist
2308 - (need_secrets): if username given, require a password too
2310 2008-08-04 Dan Williams <dcbw@redhat.com>
2312 * src/dnsmasq-manager/nm-dnsmasq-manager.c
2313 - (create_dm_cmd_line): really don't listen on lo, despite what the
2314 manpage says about --listen-address without --interface
2317 2008-08-01 Dan Williams <dcbw@redhat.com>
2319 * libnm-glib/nm-device.c
2320 - (proxy_get_string): util function for querying a HAL property
2321 - (get_ancestor_device): split out from get_product_and_vendor()
2322 - (get_product_and_vendor): simplify; get more accurate pid & vid info
2323 from PCI devices by querying subsys properties
2324 - (nm_device_update_description): simplify
2326 2008-08-01 Dan Williams <dcbw@redhat.com>
2328 * libnm-util/nm-setting-ip4-config.c
2329 libnm-util/nm-setting-ip4-config.h
2330 - Make IPv4 methods reflect their usage; 'dhcp' -> 'auto' and
2331 'autoip' -> 'link-local'. VPN & PPP connections can also have IPv4
2332 settings, and they don't necessarily use DHCP.
2334 * src/NetworkManagerPolicy.c
2336 system-settings/plugins/ifcfg-fedora/reader.c
2337 system-settings/plugins/ifcfg-suse/parser.c
2338 - Fixup for method changes
2340 2008-07-31 Dan Williams <dcbw@redhat.com>
2342 * src/nm-activation-request.c
2343 src/vpn-manager/nm-vpn-connection.c
2344 - Correct GetSecrets D-Bus pending call usage; the GetSecrets call
2345 itself should be attached to the activation request or the VPN
2346 connection, not the NMConnection object, since the call is not
2347 expected to live as long as the NMConnection itself
2349 2008-07-31 Dan Williams <dcbw@redhat.com>
2351 * src/nm-device-wifi.c
2352 - (real_act_stage2_config): fix issue where association would continue
2353 even though secrets were needed; 'goto out' was in wrong scope and
2354 result of handle_auth_or_fail() should have been dumped directly to
2355 'ret' to ensure that the association was postponed until secrets
2358 2008-07-31 Dan Williams <dcbw@redhat.com>
2360 * system-settings/plugins/ifcfg-fedora/plugin.c
2361 system-settings/plugins/ifcfg-fedora/reader.c
2362 - Don't ignore unmanaged devices if their ifcfg file doesn't make a
2365 2008-07-29 Dan Williams <dcbw@redhat.com>
2367 * src/nm-gsm-device.c
2368 - (automatic_registration_response, automatic_registration): recognize
2369 denied registration and reorder responses
2371 2008-07-29 Dan Williams <dcbw@redhat.com>
2373 * src/nm-serial-device.c
2374 - (nm_serial_device_wait_for_reply): fix timeout calculation. Since
2375 time(2) is used for current time, which returns seconds, we shouldn't
2376 be multiplying by 1000.
2378 2008-07-28 Dan Williams <dcbw@redhat.com>
2380 Patch from Fabrice Bellet <fabrice@bellet.info>
2382 * src/NetworkManagerSystem.c
2383 - (route_in_same_subnet): mask addresses and compare them so that the
2384 function actually does what it says it's going to do (rh #456685)
2386 2008-07-27 Dan Williams <dcbw@redhat.com>
2388 * libnm-util/nm-setting-ip6-config.c
2389 - (set_property): add missing break that caused routes to be overwritten
2392 * libnm-util/nm-setting-ip6-config.c
2393 - (verify): validate routes and return GError everywhere on invalid setting
2394 - (finalize): don't leak routes
2395 - (set_property): add missing break that caused routes to be overwritten
2398 2008-07-27 Dan Williams <dcbw@redhat.com>
2401 - Relicense to LGPLv2+
2403 2008-07-27 Dan Williams <dcbw@redhat.com>
2405 * system-settings/plugins/ifcfg-fedora/reader.c
2406 - (make_ip4_setting): fix parsing automatic configs
2408 2008-07-27 Dan Williams <dcbw@redhat.com>
2410 * src/dnsmasq-manager/nm-dnsmasq-manager.c
2412 src/ppp-manager/nm-ppp-manager.c
2413 - Ensure child process gets reaped. The child watch function may be
2414 removed from the mainloop before the child gets killed, so we have
2415 to make sure the child is reaped when it's told to die intentionally
2417 2008-07-27 Dan Williams <dcbw@redhat.com>
2419 Patch from Roy Marples <roy@marples.name>
2421 * src/dhcp-manager/nm-dhcp-dhcpcd.c
2422 - (nm_dhcp_client_start): fixup for latest dhcpcd 4.0 RC
2424 2008-07-27 Dan Williams <dcbw@redhat.com>
2426 * src/nm-gsm-device.c
2427 - (init_modem_full): send "ATZ E0" after CPIN, because apparently some
2428 Huawei devices turn echo back on after CPIN (rh #456770)
2430 2008-07-24 Tambet Ingo <tambet@gmail.com>
2432 * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Add
2433 format argument to g_set_error() call.
2435 * src/backends/interface_parser.[ch]: Remove.
2437 * src/backends/Makefile.am: Remove unused files interface_parser.[ch].
2439 2008-07-21 Dan Williams <dcbw@redhat.com>
2441 * src/ppp-manager/nm-ppp-manager.c
2442 - (create_pppd_cmd_line): send 'noipdefault' on non-PPPoE connections
2443 to prevent pppd from picking up some random local address from an
2444 interface that doesn't have anything to do with the one we're
2445 interested in (rh #455348)
2447 2008-07-17 Dan Williams <dcbw@redhat.com>
2449 * libnm-util/nm-utils.c
2450 - (string_to_utf8): general function for conversion to UTF-8 assisted
2452 - (nm_utils_ssid_to_utf8): use string_to_utf8()
2453 - (nm_utils_garray_to_string): ensure returned string is UTF-8 safe
2455 2008-07-17 Dan Williams <dcbw@redhat.com>
2457 * introspection/Makefile.am
2458 introspection/nm-device.xml
2459 introspection/nm-dhcp4-config.xml
2460 - Add bits for the DHCP4Config property of the device, and the DHCP4Config
2462 * src/nm-device-interface.c
2463 src/nm-device-interface.h
2464 - Add the DHCP4Config property
2467 - Keep track of DHCP4 options via a new DHCP4Config property and notify
2468 D-Bus clients when it changes
2470 * src/nm-dhcp4-config.c
2471 src/nm-dhcp4-config.h
2472 - Simple object to store DHCP4 options, export them over D-Bus, and
2473 notify when they change
2475 * src/dhcp-manager/nm-dhcp-manager.c
2476 src/dhcp-manager/nm-dhcp-manager.h
2477 - (nm_dhcp_manager_set_dhcp4_config, copy_dhcp4_config_option): copy and
2478 filter server-returned DHCP options into an NMDHCP4Config object
2480 2008-07-16 Dan Williams <dcbw@redhat.com>
2482 * introspection/nm-device.xml
2483 - Add device state reasons
2485 2008-07-16 Dan Williams <dcbw@redhat.com>
2487 Patch from Roy Marples <roy@marples.name>
2490 - Add --with-dhcp-client option
2492 * src/dhcp-manager/Makefile.am
2493 - pass DHCP_CLIENT_PATH on compile line
2495 * src/dhcp-manager/nm-dhcp-manager.c
2496 src/dhcp-manager/nm-dhcp-manager.h
2497 - Genericize for both dhcpcd and dhclient
2499 * src/dhcp-manager/nm-dhcp-dhclient.c
2500 - Move dhclient stuff out to it's own file from nm-dhcp-manager.c
2502 * src/dhcp-manager/nm-dhcp-dhcpcd.c
2503 - Implement support for dhcpcd too
2505 2008-07-16 Tambet Ingo <tambet@gmail.com>
2507 * system-settings/src/nm-system-config-interface.c
2508 (nm_system_config_interface_supports_add): Implement.
2509 (nm_system_config_interface_add_connection): Return a boolean to notify
2512 * system-settings/src/nm-polkit-helpers.c:
2513 * system-settings/src/nm-polkit-helpers.h: Move error declarations to
2516 * system-settings/src/dbus-settings.c (impl_settings_add_connection):
2517 Return an error when none of the plugins support add or if addition
2518 failed for some reason.
2520 * system-settings/src/nm-system-config-error.h:
2521 * system-settings/src/nm-system-config-error.c: New files, mostly moved
2522 here from nm-polkit-helpers.[ch].
2524 * system-settings/src/Makefile.am: Build new files.
2526 * system-settings/plugins/keyfile/reader.c
2527 (read_array_of_array_of_uint): Make it more general so that it would
2528 work for routes as well.
2530 * system-settings/plugins/keyfile/writer.c
2531 (write_array_of_array_of_uint): Ditto.
2532 Fix the netmask/prefix writing.
2534 * system-settings/plugins/keyfile/plugin.c (add_connection): Return
2535 boolean to notify errors.
2537 * system-settings/plugins/ifcfg-suse/nm-suse-connection.c (update):
2538 Return more specific error.
2541 2008-07-11 Dan Williams <dcbw@redhat.com>
2543 Modify the NMDevice::state-changed signal to include the previous state
2544 and reason. Enables the applet to provide more information why device
2547 2008-07-09 Dan Williams <dcbw@redhat.com>
2549 * callouts/Makefile.am
2550 callouts/nm-avahi-autoipd-action.c
2551 callouts/nm-avahi-autoipd.conf
2552 - avahi-autoipd callout to send options back to NM
2559 src/nm-device-private.h
2561 - Use avahi-autoipd for IPv4LL functionality rather than really crappy
2564 2008-07-07 Dan Williams <dcbw@redhat.com>
2566 * system-settings/plugins/ifcfg-fedora/reader.c
2567 - (make_ip4_setting): handle DHCP_HOSTNAME; fix up prefix support to
2568 handle PREFIX too; clean up
2570 2008-07-07 Dan Williams <dcbw@redhat.com>
2572 Convert to using IPv4 prefixes instead of netmasks.
2574 2008-07-03 Dan Williams <dcbw@redhat.com>
2576 * libnm-util/nm-setting-ip4-config.c
2577 libnm-util/nm-setting-ip4-config.h
2578 - Add properties for DHCP Client Identifier and DHCP Hostname
2580 * src/dhcp-manager/nm-dhcp-manager.c
2581 src/dhcp-manager/nm-dhcp-manager.h
2582 - (nm_dhcp_manager_begin_transaction): take the connection's ip4-config
2583 setting as an argument to pass on to the dhclient config file
2585 - (nm_dhcp_manager_cancel_transaction_real): remove dhclient config when
2587 - (dhclient_run): punt config file handling to create_dhclient_config()
2588 - (create_dhclient_config): create an interface-specific dhclient
2589 config file since there may need to be interface-specific options
2591 - (merge_dhclient_config): merge normal distro dhclient config file and
2592 add options from the connection
2593 - (nm_dhcp_device_new): generate the interface specific dhclient
2594 config file path once
2595 - (nm_dhcp_device_destroy): handle partially initialized objects; free
2596 dhclient config file path
2599 - (real_act_stage3_ip_config_start): pass ip4-config, if any, to the
2600 DHCP manager when starting DHCP
2602 2008-07-02 Dan Williams <dcbw@redhat.com>
2604 * libnm-util/nm-setting-8021x.c
2605 - (verify): allow forcing the PEAP label to 0
2607 2008-07-02 Dan Williams <dcbw@redhat.com>
2609 * introspection/nm-active-connection.xml
2610 introspection/nm-vpn-connection.xml
2611 libnm-glib/nm-active-connection.c
2612 src/nm-activation-request.c
2613 src/nm-active-connection.h
2614 src/vpn-manager/nm-vpn-connection.c
2615 - Remove "SharedServiceName" and "SharedConnection" bits from the D-Bus
2616 and libnm-glib API since sharing didn't get implemented that way
2618 2008-07-02 Dan Williams <dcbw@redhat.com>
2620 * src/nm-device-wifi.c
2621 - (can_scan): don't scan when a shared connection is activated since
2622 that makes drivers mad (causing disconnects); also NM doesn't need
2623 to hedge against disconnects by keeping up-to-date network topology
2624 because the connection originates from the local machine, and thus
2625 there should be no disconnects
2627 2008-07-01 Dan Williams <dcbw@redhat.com>
2629 Fix mobile broadband username/password issues. NM was never requesting
2630 mobile broadband secrets, nor was it passing back the username and password
2633 * marshallers/nm-marshal.list
2634 - Add some new types for activation request objects
2636 * src/nm-activation-request.c
2637 src/nm-activation-request.h
2638 - (get_secrets_cb): pass the caller type in the signal
2639 - (nm_act_request_request_connection_secrets): take a caller type, so
2640 that GetSecrets() reply handlers know who asked for the secrets in
2641 the first place; use secret hints too so the settings service can
2642 figure out exactly what NM wants (ie, PIN or the PPP password)
2644 * src/ppp-manager/nm-ppp-manager.c
2645 src/ppp-manager/nm-ppp-manager.h
2646 - (impl_ppp_manager_need_secrets): nm_connection_need_secrets() won't
2647 detect needed secrets when the secret could be blank, like GSM/CDMA
2648 passwords. So always ask for secrets, and send a hint as to what
2649 secret we really want.
2650 - (nm_ppp_manager_update_secrets): make function more generic by making
2651 the device specific class figure out the username and password, and
2652 accept an error argument to return back over D-Bus
2654 * src/nm-device-wifi.c
2655 - (link_timeout_cb, handle_auth_or_fail): update for changes to
2656 nm_act_request_request_connection_secrets()
2657 - (real_connection_secrets_updated): update for 'caller' changes
2661 - (connection_secrets_updated_cb, connection_secrets_failed_cb): update
2662 for 'caller' changes
2664 * src/nm-device-ethernet.c
2665 - (real_connection_secrets_updated): update for 'caller' changes and
2666 move logic for getting PPPoE username and password here before
2667 calling nm_ppp_manager_update_secrets()
2668 - (link_timeout_cb, handle_auth_or_fail): update for changes to
2669 nm_act_request_request_connection_secrets()
2671 * src/nm-cdma-device.c
2672 - (real_connection_secrets_updated): pass username and password back
2673 to the PPP manager when required
2675 * src/nm-gsm-device.c
2676 - (enter_pin): send the required secret name to the settings service
2677 - (real_connection_secrets_updated): pass username and password back
2678 to the PPP manager when required
2680 2008-06-30 Dan Williams <dcbw@redhat.com>
2682 * src/nm-device-wifi.c
2683 - Consistently use NM_DEVICE_WIFI_GET_PRIVATE instead of self->priv
2685 2008-06-30 Dan Williams <dcbw@redhat.com>
2687 Attempt to fix various issues causing rh #448889. Mainly, to qualify for
2688 the DISCONNECTED state, the device must not be rfkilled _and_ have a valid
2689 priv->supplicant.iface. When either condition is false, the device should
2690 transition back to UNAVAILABLE because it cannot be used.
2692 * src/nm-device-wifi.c
2693 - (constructor): cleanup; connect to supplicant manager here since the
2694 supplicant manager is always around
2695 - (supplicant_interface_acquire): rename from init_supplicant_interface,
2696 ensure the supplicant manager is in the IDLE state
2697 - (supplicant_interface_release): rename from cleanup_supplicant_interface,
2698 cancel any pending scans too
2699 - (real_bring_up): don't set up the supplicnat interface here, because
2700 we need the supplicant interface at times when the device may not
2702 - (real_take_down): just remove the periodic source
2703 - (schedule_scan): ensure a state that would peg the CPU doesn't happen
2704 - (remove_supplicant_interface_connection_error_handler): cleanup; don't
2705 do anything if there's no supplicant interface
2706 - (cleanup_association_attempt): cleanup
2707 - (supplicant_iface_state_cb_handler): request an immediate scan when
2708 the interface enters the READY state; transition to UNAVAILABLE
2709 state when the interface goes down because the device can't be used
2710 without a supplicant interface
2711 - (supplicant_mgr_state_cb_handler): if the supplicant goes away, clean
2712 up and transition to UNAVAILABLE; if the supplicant becomes ready,
2713 acquire the supplicant interface and transition to DISCONNECTED
2714 if the radio isn't killed
2715 - (nm_device_wifi_dispose): move most of device_cleanup() here
2716 - (state_changed_cb): release any existing supplicant interface; if the
2717 radio is enabled then try to acquire a new supplicant interface;
2718 if the radio is enabled and a supplicant interface has been acquired,
2719 we can transition to DISCONNECTED
2720 - (nm_device_wifi_set_enabled): if bringing the hardware up failed,
2721 don't enable the radio, because HAL probably lied to us about the
2722 killswitch being off. If bringing the hardware up worked, then
2723 try to grab a supplicant interface, and if that was successful,
2724 transition to DISCONNECTED
2726 2008-06-30 Dan Williams <dcbw@redhat.com>
2728 * src/supplicant-manager/nm-supplicant-interface.c
2729 - (request_scan_results, nm_supplicant_interface_dispose,
2730 wpas_iface_query_scan_results): cleanup; scan_results_timeout is now
2731 the id of the timeout, not a GSource
2733 2008-06-30 Tambet Ingo <tambet@gmail.com>
2735 * src/backends/NetworkManagerSuSE.c (nm_system_activate_nis): Fix a
2736 bunch of typoes introduced by "Patch from David Cantrell
2737 <dcantrell@redhat.com> and me".
2739 2008-06-30 Tambet Ingo <tambet@gmail.com>
2741 * src/nm-serial-device.c:
2742 * src/nm-gsm-device.c:
2743 * src/nm-cdma-device.c: Move the pending call handling to a common location
2744 in serial device. Handle setting device state to failed in one place as well.
2746 2008-06-29 Dan Williams <dcbw@redhat.com>
2748 * src/nm-hal-manager.c
2749 - Rework killswitch handling to query killswitch status immediately
2750 when the first killswitch is added, so that rfkill state is
2751 known as early as possible
2752 - Also treat failure of GetPower() as rfkill when the dbus method
2753 call times out (but not when the HAL callout returns an error)
2755 2008-06-26 Dan Williams <dcbw@redhat.com>
2757 Patch from David Cantrell <dcantrell@redhat.com> and me
2759 * include/nm-dbus-glib-types.h
2760 - Add IP6 address types
2762 * libnm-util/Makefile.am
2763 libnm-util/nm-setting-ip6-config.c
2764 libnm-util/nm-setting-ip6-config.h
2765 - Add IP6 settings object
2767 * libnm-util/nm-connection.c
2768 - (register_default_settings): register ip6 settings object
2770 * libnm-util/nm-utils.c
2771 libnm-util/nm-utils.h
2772 - (nm_utils_ip6_addresses_from_gvalue, nm_utils_ip6_addresses_to_gvalue,
2773 nm_utils_ip6_dns_from_gvalue, nm_utils_ip6_dns_to_gvalue): add
2774 ip6 address conversion functions
2776 2008-06-26 Dan Williams <dcbw@redhat.com>
2778 Patch from David Cantrell <dcantrell@redhat.com>
2780 * Use inet_ntop() and inet_pton() everwhere and check for errors
2782 2008-06-26 Dan Williams <dcbw@redhat.com>
2784 * Update FSF address in license headers (Michael Biebl <biebl@debian.org>)
2786 2008-06-26 Dan Williams <dcbw@redhat.com>
2788 Patch from Adel Gadllah <adel.gadllah@gmail.com>
2790 * src/nm-device-wifi.c
2791 - (link_timeout_cb): don't ignore disconnects due to scanning
2792 - (supplicant_iface_connection_state_cb_handler): instead, schedule
2793 a longer timeout when scanning; avoids case where supplicant can't
2794 find the AP and just keeps scanning forever but isn't connected
2796 2008-06-26 Dan Williams <dcbw@redhat.com>
2798 Patch from Michael Biebl <biebl@debian.org>
2800 * Clean up build system stuff
2802 2008-06-23 Christian Persch <chpe@gnome.org>
2804 * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.c:
2805 * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.h:
2806 * vpn-daemons/pptp/auth-dialog-general/anonymous-auth-module.c:
2808 * vpn-daemons/pptp/auth-dialog-general/chap-auth-module.c:
2810 * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.c:
2811 * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.h:
2812 * vpn-daemons/pptp/auth-dialog-general/mschapv2-auth-module.c:
2814 * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.c:
2815 * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.h:
2816 * vpn-daemons/pptp/properties/nm-ppp-properties.c: (impl_setup):
2817 * vpn-daemons/pptp/properties/vpnui_impl.c: (impl_get_object):
2818 * vpn-daemons/pptp/properties/vpnui_opt.c:
2819 (vpnui_opt_connect_signals):
2820 * vpn-daemons/pptp/properties/vpnui_opt.h:
2821 * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
2822 * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.h: Don't use
2823 deprecated gtk type macros. Bug #539325.
2825 2008-06-20 Dan Williams <dcbw@redhat.com>
2827 * libnm-glib/nm-vpn-plugin-ui-interface.c
2828 libnm-glib/nm-vpn-plugin-ui-interface.h
2829 - 'validity-changed' -> 'changed' to work better with the connection
2830 editor. Plugin UI widgets should emit 'changed' whenever their
2831 UI values change in a meaningful way.
2832 - (nm_vpn_plugin_ui_widget_interface_update_connection): the
2833 update_connection member now returns validity of the UI widget
2835 2008-06-20 Tambet Ingo <tambet@gmail.com>
2837 * libnm-util/nm-connection.c (nm_connection_duplicate): Implement.
2839 2008-06-17 Dan Williams <dcbw@redhat.com>
2841 * libnm-glib/nm-vpn-plugin-ui-interface.c
2842 libnm-glib/nm-vpn-plugin-ui-interface.h
2843 - Add "desc" property for longer descriptions of the VPN plugin
2845 2008-06-16 Dan Williams <dcbw@redhat.com>
2848 libnm-glib/libnm_glib_vpn.pc.in
2849 - add a .pc file for libnm_glib_vpn
2851 * libnm-glib/nm-vpn-plugin-ui-interface.c
2852 libnm-glib/nm-vpn-plugin-ui-interface.h
2853 - Move the glib/GNOME VPN UI plugin interface into libnm-glib and
2854 rework it substantially
2856 2008-06-12 Dan Williams <dcbw@redhat.com>
2858 Add a GError argument to nm_connection_verify() and nm_setting_verify(),
2859 and add error enums to each NMSetting subclass. Each NMSetting subclass now
2860 returns a descriptive GError when verification fails.
2862 2008-06-11 Dan Williams <dcbw@redhat.com>
2864 Patch from Tambet Ingo <tambet@gmail.com>
2866 * libnm-util/nm-setting-gsm.c
2867 - (verify): validate APN
2869 * src/nm-gsm-device.c
2870 - (manual_registration_done): start setting APN if needed
2871 - (set_apn, set_apn_done): set the APN
2872 - (do_dial): use the APN when dialing
2874 2008-06-11 Dan Williams <dcbw@redhat.com>
2876 * src/NetworkManagerSystem.c
2877 - (nm_system_device_set_ip4_route,
2878 nm_system_device_replace_default_ip4_route): check for the right
2879 return value from rtnl_route_add() to know when to add a gateway
2882 2008-06-11 Dan Williams <dcbw@redhat.com>
2884 * src/NetworkManagerPolicy.c
2885 - do_ipt_cmd -> do_cmd
2886 - (sharing_init): use do_cmd() instead of system()
2888 2008-06-10 Dan Williams <dcbw@redhat.com>
2890 The grand 802-11-wireless rename. Get rid of the 802-11/80211/802_11 bits
2891 and use "wifi" everwhere instead.
2893 2008-06-10 Dan Williams <dcbw@redhat.com>
2895 The grand 802-3-ethernet rename. Get rid of the 802-3/8023/802_3 bits.
2897 2008-06-10 Dan Williams <dcbw@redhat.com>
2899 Patch from Tambet Ingo <tambet@gmail.com>
2901 * src/ppp-manager/nm-ppp-manager.c: Add ppp stats monitoring, signal the
2904 * src/nm-serial-device.c: Monitor "ppp-stats" signals from NMPPPManager. Add
2905 a signal to emit these changes over dbus.
2907 * src/Makefile.am: Genereate nm-serial-device-glue.
2909 * libnm-glib/nm-serial-device.[ch]: Implement.
2911 * libnm-glib/nm-cdma-device.[ch]
2912 libnm-glib/nm-gsm-device.[ch]: Inherit from NMSerialDevice.
2914 * libnm-glib/Makefile.am: Add nm-serial-device.[ch].
2916 * introspection/nm-device-serial.xml: Implement.
2918 * introspection/all.xml: Fix a couple of typos, add nm-device-serial.xml.
2920 * introspection/Makefile.am: Add nm-device-serial.xml.
2922 * include/NetworkManager.h: Add a DBus interface for serial device.
2924 2008-06-10 Dan Williams <dcbw@redhat.com>
2927 - Add TARGET_* define to config.h to distinguish distros
2929 * src/dhcp-manager/nm-dhcp-manager.c
2930 - (dhclient_run): use distro-specific path for dhclient config file
2932 2008-06-09 Dan Williams <dcbw@redhat.com>
2934 * src/dnsmasq-manager/nm-dnsmasq-manager.c
2935 src/dnsmasq-manager/nm-dnsmasq-manager.h
2936 - (create_dm_cmd_line): use the IP4 address of the ip4-config to
2937 calculate the addresses passed to dnsmasq instead of hard-coding
2941 - (nm_device_new_ip4_shared_config): be somewhat dynamic when choosing
2942 IP addresses for shared connections to guard against shared
2943 connection address collisions
2944 - (real_act_stage4_get_ip4_config): handle possible NULL ip4-configs on
2946 - (nm_device_activate_stage5_ip_config_commit): pass ip4-config to
2949 2008-06-09 Dan Williams <dcbw@redhat.com>
2951 * src/NetworkManagerPolicy.c
2952 - (update_routing_and_dns): set the default connection _after_ unsetting
2953 default on all non-default connections so that two connections can
2954 never be default at the same time
2955 - (device_state_changed): start and stop connection sharing when
2957 - (active_connection_default_changed): restart or stop sharing when
2958 the default connection changes to keep shared connections always
2959 NAT-ed through the default connection
2960 - (check_sharing): handle activation/deactivation of shared connections
2961 - (sharing_restart): atom-bomb approach to connection sharing until we
2962 can use libnl; reinit all sharing when the default connection or
2963 shared connections change
2964 - (sharing_init, sharing_stop): evil functions that init and deinit
2967 2008-06-09 Dan Williams <dcbw@redhat.com>
2969 * src/nm-activation-request.c
2970 src/nm-activation-request.h
2971 - (nm_act_request_set_shared, nm_act_request_get_shared,
2972 nm_act_request_get_device): new functions to facilitate connection
2975 2008-06-09 Dan Williams <dcbw@redhat.com>
2978 - (clear_act_request): unset the 'default' property of the activation
2979 request when clearing it to ensure the property changed signal gets
2980 delivered and handled
2982 2008-06-09 Dan Williams <dcbw@redhat.com>
2984 * libnm-glib/nm-device-802-11-wireless.c
2985 - (access_point_removed_proxy): actually unref the AP after removing
2986 it from the device's AP list. Fixes refcounting bug for APs that
2987 caused them to get mixed up in the applet's menu.
2989 2008-06-09 Tambet Ingo <tambet@gmail.com>
2991 * src/dhcp-manager/nm-dhcp-manager.c (finalize): Free private members.
2992 (nm_dhcp_device_destroy): Destroy the device options hash table.
2994 2008-06-06 Dan Williams <dcbw@redhat.com>
2996 * system-settings/src/nm-polkit-helpers.c
2997 - (create_polkit_context): in PolicyKit 0.6, polkit_context_init() will
2998 unref the context if the initialization fails; also avoid spew when
3001 2008-06-06 Dan Williams <dcbw@redhat.com>
3003 Patch from Tambet Ingo <tambet@gmail.com>
3005 * src/NetworkManagerSystem.c
3006 src/NetworkManagerSystem.h
3007 - (nm_system_device_add_ip4_route_via_device_with_iface): remove
3008 - (nm_system_device_set_from_ip4_config): remove unused route_to_iface
3009 - (nm_system_device_set_ip4_route): clean up
3010 - (nm_system_vpn_device_set_from_ip4_config): clean up, add VPN routes
3013 - (nm_device_set_ip4_config): remove unused route_to_iface bits
3015 * src/vpn-manager/nm-vpn-connection.c
3016 - (ip_address_to_string): new function
3017 - (print_vpn_config): use ip_address_to_string
3018 - (merge_vpn_routes): add user-defined routes to the ip4 config
3019 - (nm_vpn_connection_ip4_config_get): add routes the VPN server sent
3021 * include/NetworkManagerVPN.h
3024 2008-06-05 Dan Williams <dcbw@redhat.com>
3026 Patch from Markus Becker <mab@comnets.uni-bremen.de>
3029 - Show which device is the default device
3031 2008-06-05 Tambet Ingo <tambet@gmail.com>
3035 * system-settings/src/nm-system-config-hal-manager.c (get_type_for_udi):
3036 Free data returned from dbus method call.
3038 * system-settings/src/nm-polkit-helpers.c (check_polkit_privileges):
3039 dbus_g_method_get_sender() returns a duplicated string, free it
3041 (check_polkit_privileges): Looks like policykit sometimes returns
3042 error and non-null return value, don't leak errors in that case.
3044 * system-settings/src/main.c (find_plugin): Don't leak existing
3046 (load_stuff): Don't leak device list and list items.
3047 (have_connection_for_device): Don't leak connection list.
3049 * system-settings/plugins/keyfile/reader.c (read_one_setting_value):
3050 Free the data received from g_keyfile_get_*.
3052 * system-settings/plugins/ifcfg-suse/parser.c (READ_WEP_KEY): Free
3053 the key when the security object is updated.
3055 * src/supplicant-manager/nm-supplicant-interface.c (scan_results_cb):
3056 Free data returned from dbus method call.
3057 (iface_state_cb): Ditto.
3058 (add_network_cb): Ditto.
3059 (nm_supplicant_interface_add_cb): Don't make another copy of already
3060 duplicated object path.
3061 (nm_supplicant_interface_add_to_supplicant): Free the driver GValue
3064 * src/supplicant-manager/nm-supplicant-config.c
3065 (ADD_STRING_LIST_VAL): Fix a memory leak.
3067 * src/nm-manager.c (free_get_settings_info): Free the allocated
3069 (list_connections_cb): Free data returned from dbus method call.
3070 (system_settings_get_unmanaged_devices_cb): Ditto.
3072 * src/nm-device-802-11-wireless.c (device_cleanup): Free ssid.
3074 * system-settings/plugins/ifcfg-suse/shvar.c (svCloseFile):
3075 * system-settings/plugins/ifcfg-fedora/shvar.c (svCloseFile):
3076 * src/backends/shvar.c (svCloseFile): Free the duplicated content
3079 * libnm-util/nm-setting.c (nm_setting_from_hash): Free the constructor
3080 arguments after the object is created.
3082 2008-06-04 Dan Williams <dcbw@redhat.com>
3084 * libnm-util/Makefile.am
3085 - Don't distribute nm-param-spec-specialized.h
3087 2008-06-02 Tambet Ingo <tambet@gmail.com>
3089 * libnm-util/nm-setting-ip4-config.[ch]: Add static routes property.
3091 * src/nm-ip4-config.[ch]: Store the static routes as a list of
3092 NMIP4Address, update the getters and setters.
3094 * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
3095 Use the updated NMIP4Config routes api.
3097 * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Merge
3098 static routes as well.
3100 * src/NetworkManagerSystem.c (netmask_to_prefix): Implement.
3101 (nm_system_device_set_from_ip4_config): Use the updated NMIP4Config
3104 2008-05-30 Dan Williams <dcbw@redhat.com>
3106 * src/named-manager/nm-named-manager.c
3107 src/named-manager/nm-named-manager.h
3108 - Remove stale/obsolete bits for controlling bind over DBus
3110 2008-05-29 Dan Williams <dcbw@redhat.com>
3112 * src/dnsmasq-manager/nm-dnsmasq-manager.c
3113 src/dnsmasq-manager/nm-dnsmasq-manager.h
3114 - (nm_dnsmasq_manager_new): move iface argument here
3115 - (constructor): remove, not needed
3116 - (get_pidfile_for_iface, create_dm_cmd_line, kill_existing_for_iface,
3117 nm_dnsmasq_manager_start, nm_dnsmasq_manager_stop): use priv->pidfile
3120 - (real_act_stage4_get_ip4_config,
3121 nm_device_activate_stage5_ip_config_commit): fix for dnsmasq manager
3124 2008-05-29 Dan Williams <dcbw@redhat.com>
3127 - (dnsmasq_state_changed_cb): new function; fail the connection if
3128 something happens to dnsmasq
3129 - (nm_device_new_ip4_shared_config): new function; create a new
3130 ip4-config for shared connections. Shared connections always use a
3131 fixed static IP address.
3132 - (real_act_stage4_get_ip4_config): handle shared connections; fix
3133 autoip connections by actually using the returned ip4-config and
3135 - (nm_device_activate_stage5_ip_config_commit): start dnsmasq for shared
3137 - (nm_device_deactivate_quickly, nm_device_dispose): terminate dnsmasq
3140 2008-05-29 Dan Williams <dcbw@redhat.com>
3142 * src/nm-device-802-11-wireless.c
3143 - (real_get_best_auto_connection): auto-activate 'shared' method
3146 2008-05-29 Dan Williams <dcbw@redhat.com>
3148 * libnm-util/nm-setting-ip4-config.c
3149 libnm-util/nm-setting-ip4-config.h
3150 - Add a 'shared' method to indicate that this connection should be
3151 brought up with a DHCP and proxy DNS server to facilitate
3153 - (verify): 'shared' method doesn't allow DNS or searches either
3155 2008-05-29 Dan Williams <dcbw@redhat.com>
3159 src/dnsmasq-manager/Makefile.am
3160 src/dnsmasq-manager/nm-dnsmasq-manager.c
3161 src/dnsmasq-manager/nm-dnsmasq-manager.h
3162 - Add a dnsmasq daemon manager to facilitate connection sharing
3164 2008-05-29 Dan Williams <dcbw@redhat.com>
3166 * src/nm-device-private.h
3167 - Remove unused prototypes and clean up
3170 - Remove anything related to system_config_data, which is no longer used
3171 - (nm_device_new_ip4_autoip_config): make static
3173 2008-05-29 Tambet Ingo <tambet@gmail.com>
3175 * system-settings/plugins/ifcfg-suse/nm-suse-connection.c
3176 (file_changed): Fix a bug where suse system settings plugin didn't
3177 update the connections automatically when the files changed.
3179 2008-05-28 Dan Williams <dcbw@redhat.com>
3181 Revert r3697 (adhoc-create property patch); it's the wrong way to do this.
3183 2008-05-28 Dan Williams <dcbw@redhat.com>
3185 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3187 * src/NetworkManagerSystem.c
3188 - (nm_system_device_flush_ip4_routes_with_iface): implement with libnl
3189 - (nm_system_vpn_device_set_from_ip4_config): don't flush routes here,
3190 was causing -EINVAL errors since the libnl code actually does flush
3191 the routes on VPN interfaces now
3193 * src/backends/NetworkManagerArch.c
3194 src/backends/NetworkManagerDebian.c
3195 src/backends/NetworkManagerFrugalware.c
3196 src/backends/NetworkManagerGeneric.c
3197 src/backends/NetworkManagerGentoo.c
3198 src/backends/NetworkManagerMandriva.c
3199 src/backends/NetworkManagerPaldo.c
3200 src/backends/NetworkManagerRedHat.c
3201 src/backends/NetworkManagerSlackware.c
3202 src/backends/NetworkManagerSuSE.c
3203 - (nm_system_device_flush_ip4_routes,
3204 nm_system_device_flush_ip4_routes_with_iface): remove
3206 2008-05-28 Dan Williams <dcbw@redhat.com>
3208 * libnm-util/nm-setting-wireless.c
3209 libnm-util/nm-setting-wireless.h
3210 - (set_property, get_property, nm_setting_wireless_class_init): add the
3211 'adhoc-create' property, which when TRUE indicates that NM should
3212 create this connection as an adhoc wifi network if it's not found
3213 as an adhoc network during scanning. Can be used to auto-create
3214 adhoc networks when used in combination with autoconnect.
3216 2008-05-28 Tambet Ingo <tambet@gmail.com>
3218 Patch from Dennis Noordsij <dennis.noordsij@helsinki.fi>.
3220 * src/nm-gsm-device.c: Don't try to reset the modem before PIN is
3221 checked, it doesn't work on some devices.
3223 2008-05-28 Tambet Ingo <tambet@gmail.com>
3225 * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Make sure
3226 pppd gets killed, if SIGTERM doesn't do it's job, SIGKILL it.
3228 * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
3229 Use inet_aton() everywhere to improve error detection.
3230 Don't fall back to 'dhcp_server_identifier' if the gateway is not
3233 2008-05-26 Tambet Ingo <tambet@gmail.com>
3235 * system-settings/plugins/ifcfg-suse/plugin.c (get_unamanged_devices_cb):
3238 2008-05-26 Tambet Ingo <tambet@gmail.com>
3240 * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_get_service): Fix a
3241 reference counting issue.
3243 2008-05-23 Dan Williams <dcbw@redhat.com>
3245 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3247 * src/backends/NetworkManagerGeneric.c
3248 - (nm_generic_enable_loopback): use libnl
3250 2008-05-23 Dan Williams <dcbw@redhat.com>
3252 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3254 * src/NetworkManagerSystem.h
3255 src/backends/NetworkManagerArch.c
3256 src/backends/NetworkManagerDebian.c
3257 src/backends/NetworkManagerFrugalware.c
3258 src/backends/NetworkManagerGentoo.c
3259 src/backends/NetworkManagerMandriva.c
3260 src/backends/NetworkManagerPaldo.c
3261 src/backends/NetworkManagerRedHat.c
3262 src/backends/NetworkManagerSlackware.c
3263 src/backends/NetworkManagerSuSE.c
3264 - (nm_system_device_has_active_routes, nm_system_flush_loopback_routes,
3265 nm_system_flush_arp_cache): remove, unused
3267 * src/backends/NetworkManagerGeneric.c
3268 src/backends/NetworkManagerGeneric.h
3269 - (nm_generic_device_has_active_routes, nm_generic_flush_loopback_routes,
3270 nm_generic_flush_arp_cache): remove, unused
3272 2008-05-23 Dan Williams <dcbw@redhat.com>
3274 * system-settings/plugins/ifcfg-fedora/reader.c
3275 - (make_ip4_setting): honor PEERDNS setting
3277 2008-05-23 Dan Williams <dcbw@redhat.com>
3279 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3281 * src/NetworkManagerSystem.c
3282 - (nm_system_device_flush_ip4_addresses_with_iface): implement with
3285 * src/backends/NetworkManagerArch.c
3286 src/backends/NetworkManagerDebian.c
3287 src/backends/NetworkManagerFrugalware.c
3288 src/backends/NetworkManagerGentoo.c
3289 src/backends/NetworkManagerMandriva.c
3290 src/backends/NetworkManagerPaldo.c
3291 src/backends/NetworkManagerRedHat.c
3292 src/backends/NetworkManagerSlackware.c
3293 src/backends/NetworkManagerSuSE.c
3294 - (nm_system_device_flush_ip4_addresses,
3295 nm_system_device_flush_ip4_addresses_with_iface): remove
3297 * src/backends/NetworkManagerGeneric.c
3298 - (nm_generic_device_flush_ip4_addresses,
3299 nm_generic_device_flush_ip4_addresses_with_iface): remove
3301 2008-05-23 Dan Williams <dcbw@redhat.com>
3303 * src/supplicant-manager/nm-supplicant-settings-verify.c
3304 - Switch 'bssid' from bytes to keyword type
3305 - (validate_type_keyword): allow NULL keyword lists
3307 * src/supplicant-manager/nm-supplicant-config.c
3308 - (nm_supplicant_config_add_setting_wireless): convert the bssid from
3309 a byte array to string form, which is what the supplicant expects
3311 2008-05-23 Tambet Ingo <tambet@gmail.com>
3313 Add a flag to NMSettingIP4Config to make it possible to ignore the DNS
3314 information received from DHCP.
3316 * libnm-util/nm-setting-ip4-config.c: Add a new membet "ignore_dhcp_dns"
3317 to make it possible to ignore the DNS information (both servers and
3318 searches) returned by DHCP server.
3320 * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Reset the
3321 name servers and searches if "ignore_dhcp_dns" is set.
3323 * src/nm-ip4-config.c (nm_ip4_config_reset_nameservers)
3324 (nm_ip4_config_reset_searches): Implement.
3326 2008-05-22 Dan Williams <dcbw@redhat.com>
3328 Remove anything mDNS related. This is better done from a distro-specific
3329 dispatcher script. Plus, any distro using avahi doesn't need to restart
3330 avahi, since avahi can handle interface changes just fine using netlink.
3333 - Remove --with-mdns-provider
3335 * src/NetworkManagerPolicy.c
3336 - (global_state_changed): don't restart the mdns provider
3338 * src/NetworkManagerSystem.h
3339 src/backends/NetworkManagerArch.c
3340 src/backends/NetworkManagerDebian.c
3341 src/backends/NetworkManagerFrugalware.c
3342 src/backends/NetworkManagerGentoo.c
3343 src/backends/NetworkManagerMandriva.c
3344 src/backends/NetworkManagerPaldo.c
3345 src/backends/NetworkManagerRedHat.c
3346 src/backends/NetworkManagerSlackware.c
3347 src/backends/NetworkManagerSuSE.c
3348 - (nm_system_restart_mdns_responder): remove
3350 * src/backends/NetworkManagerGeneric.c
3351 src/backends/NetworkManagerGeneric.h
3352 - (nm_generic_restart_mdns_responder): remove
3354 2008-05-22 Dan Williams <dcbw@redhat.com>
3357 - clean up crypto options; just use --with-crypto=nss or
3358 --with-crypto=gnutls
3360 2008-05-22 Tambet Ingo <tambet@gmail.com>
3362 * src/nm-manager.c (impl_manager_sleep): No need to schedule the sync
3363 anymore, do it right away.
3365 2008-05-22 Tambet Ingo <tambet@gmail.com>
3367 * src/nm-gsm-device.c (device_state_changed): Make sure we don't leave the
3368 serial device open when we're not connecting or connected.
3370 * src/nm-cdma-device.c (device_state_changed): Ditto.
3372 2008-05-22 Tambet Ingo <tambet@gmail.com>
3374 Don't remove all devices on waking up, sync with HAL.
3376 * src/nm-manager.c (nm_manager_udi_is_managed): Implement.
3377 (sync_devices): Implement, based on hal_manager_hal_reappeared_cb.
3378 (hal_manager_hal_reappeared_cb): Just call sync_devices.
3380 2008-05-21 Tambet Ingo <tambet@gmail.com>
3382 * src/NetworkManagerSystem.c (nm_system_device_replace_default_ip4_route):
3383 If the default gateway is unreachable, add a route to gateway and try
3386 2008-05-20 Dan Williams <dcbw@redhat.com>
3388 * system-settings/plugins/ifcfg-fedora/reader.c
3389 - (add_one_wep_key): handle ASCII WEP keys too (rh #293111)
3391 2008-05-19 Dan Williams <dcbw@redhat.com>
3393 * system-settings/plugins/ifcfg-fedora/reader.c
3394 - (make_ip4_setting): get a fallback gateway from /etc/sysconfig/network
3395 if the ifcfg doesn't specify one (rh #446527)
3397 2008-05-19 Dan Williams <dcbw@redhat.com>
3399 Make the system settings service exit when the bus goes away. Since it's
3400 a bus-activated service, it's lifetime is limited to the bus that activated
3403 * system-settings/src/Makefile.am
3404 system-settings/src/nm-system-config-hal-manager-private.h
3405 - Remove nm-system-config-hal-manager-private.h
3407 * system-settings/src/nm-system-config-hal-manager.c
3408 - (nm_system_config_hal_manager_reinit_dbus,
3409 nm_system_config_hal_manager_deinit_dbus): remove
3411 * system-settings/src/main.c
3412 - (dbus_reconnect): remove
3413 - (dbus_cleanup): don't tell the HAL manager to deinit dbus
3414 - (destroy_cb): just quit when the bus goes away
3415 - (start_dbus_service, dbus_init): simplify
3416 - (main): destroy the wired devices hash table after destroying
3417 the HAL manager so we don't have to disconnect signals from the
3420 2008-05-15 Tambet Ingo <tambet@gmail.com>
3422 Move crypto functions from nm-applet to libnm-util.
3424 * libnm-util/nm-setting-8021x.c (nm_setting_802_1x_set_ca_cert)
3425 (nm_setting_802_1x_set_client_cert)
3426 (nm_setting_802_1x_set_phase2_ca_cert)
3427 (nm_setting_802_1x_set_phase2_client_cert)
3428 (nm_setting_802_1x_set_private_key)
3429 (nm_setting_802_1x_set_phase2_private_key): Implement. Given a certificate
3430 file (or private key and it's password), read the certificate data.
3432 * libnm-util/crypto_nss.c:
3433 * libnm-util/crypto_gnutls.c:
3434 * libnm-util/crypto.[ch]: Move here from nm-applet.
3436 * configure.in: Check for NSS and gnutls here (moved here from nm-applet).
3438 * system-settings/plugins/ifcfg-suse/parser.c (read_wpa_eap_settings):
3439 Imlement WPA-EAP configuration reading from sysconfig.
3441 2008-05-16 Dan Williams <dcbw@redhat.com>
3443 * src/nm-device-802-11-wireless.c
3444 - (nm_device_802_11_wireless_set_enabled): request a scan after enabling
3447 2008-05-14 Dan Williams <dcbw@redhat.com>
3449 Fix Linus' bug in rh #134886
3451 * src/nm-device-802-3-ethernet.c
3452 - (constructor): request initial carrier state
3454 * src/nm-netlink-monitor.c
3455 - (nm_netlink_monitor_request_status): schedule emission of carrier
3456 signals after refilling the link cache. Because the refill is a
3457 synchronous operation, the normal message hander won't get called
3458 since libnl has already consumed the messages.
3459 - (deferred_emit_carrier_state): emit carrier states from an idle handler
3461 2008-05-14 Dan Williams <dcbw@redhat.com>
3463 * src/NetworkManagerSystem.c
3464 - (nm_system_device_is_up_with_iface): clean up
3466 2008-05-13 Dan Williams <dcbw@redhat.com>
3468 Fix refcounting issues over sleep/wake when a VPN connection was active that
3469 caused NM to try registering an object path for a device upon wake that was
3470 the same as an already registered object path.
3473 - (nm_device_take_down): properly handle cases where the device is
3474 no longer active but was just active, and therefore must be
3475 deactivated. When a device moves to unmanaged mode, this function
3476 previously would not deactivate the device, because the state was
3477 already unmanaged by the time this function was called.
3479 * src/vpn-manager/nm-vpn-connection.c
3480 - (device_state_changed): properly handle multiple devices states in
3481 which the device is now deactivated. Code previously didn't handle
3482 transitions to the UNAVAILABLE (like rfkill or carrier off) and
3485 2008-05-13 Dan Williams <dcbw@redhat.com>
3487 * src/nm-device-private.h
3489 - (nm_device_hw_bring_up, nm_device_hw_take_down): export
3491 * src/nm-device-802-11-wireless.c
3492 - (nm_device_802_11_wireless_set_enabled): take devices up
3493 and down as appropriate for the rfkill state
3495 2008-05-13 Dan Williams <dcbw@redhat.com>
3497 * marshallers/nm-marshal.list
3498 - Add VOID:POINTER,STRING marshaller for ifcfg-fedora plugin
3500 * system-settings/plugins/ifcfg-fedora/Makefile.am
3501 system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
3502 system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
3503 - Implement a minimal inotify helper for watch paths for IN_CLOSE_WRITE
3504 events. Solely for use watching ifcfg files to pick up changes
3505 to their hardlinks, since GIO doesn't support this yet (bgo #532815)
3507 * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
3508 - (nm_ifcfg_connection_class_init): new 'ifcfg-changed' signal when the
3509 file contents change
3510 - (finalize): clean up inotify watches
3511 - (nm_ifcfg_connection_new): store keyfile; inotify watch the keyfile
3512 and the connection ifcfg for changes on their hardlinks
3513 - (files_changed_cb): proxy the changed signal back out to listeners
3515 * system-settings/plugins/ifcfg-fedora/plugin.c
3517 - (connection_ifcfg_changed): re-read the connection when the ifcfg
3519 - (read_one_connection): connect to change signals on the new connection
3520 - (dir_changed, connection_changed_handler,
3521 handle_connection_remove_or_new): break out connection change
3522 handling and connection new/remove handling so it can be used from
3523 both the GFileMonitor callback and the NMIfcfgConnection changed
3526 * system-settings/plugins/ifcfg-fedora/reader.c
3527 system-settings/plugins/ifcfg-fedora/reader.h
3528 - (connection_from_file): return the keyfile path the connection would use
3530 2008-05-13 Tambet Ingo <tambet@gmail.com>
3532 * system-settings/src/nm-polkit-helpers.c (create_polkit_context): Use a
3533 single PolKitContext which is shared by all. PolKitContext::unref leaks
3534 just about everything, including all open file descriptiors and results
3535 in 99% cpu usage when data arrives to any of the fds that don't belong
3536 to any context anymore.
3538 2008-05-12 Dan Williams <dcbw@redhat.com>
3540 * gfilemonitor/glocaldirectorymonitor.c
3541 gfilemonitor/glocaldirectorymonitor.h
3542 - (g_local_directory_monitor_constructor): actually subscribe to the
3544 - (_g_local_directory_monitor_new): ensure that inotify is started up
3546 * gfilemonitor/glocalfilemonitor.c
3547 gfilemonitor/glocalfilemonitor.h
3548 - (g_local_file_monitor_constructor): actually subscribe to the watch
3549 - (_g_local_file_monitor_new): ensure that inotify is started up
3551 2008-05-11 Dan Williams <dcbw@redhat.com>
3554 - record PolicyKit version
3556 * system-settings/src/nm-polkit-helpers.c
3557 - (check_polkit_privileges): use polkit_context_can_caller_do_action()
3558 with PolicyKit <= 0.6
3560 2008-05-11 Dan Williams <dcbw@redhat.com>
3562 Update Fedora system-settings plugin to support latest API and use
3563 GFileMonitor rather than home-rolled inotify code.
3565 * system-settings/plugins/ifcfg-fedora/Makefile.am
3566 system-settings/plugins/ifcfg-fedora/common.h
3567 system-settings/plugins/ifcfg-fedora/plugin.c
3568 - Update to latest system settings plugin API; use GIO instead of
3569 custom inotify code; use NMIfcfgConnection objects instead of
3570 ConnectionData structures tacked onto NMConnection objects
3572 * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
3573 system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.h
3574 - Implement an NMExportedConnection subclass mapping ifcfg files to
3577 * system-settings/plugins/ifcfg-fedora/reader.c
3578 system-settings/plugins/ifcfg-fedora/reader.h
3579 - Move ifcfg parsing bits here from parser.c
3581 * system-settings/plugins/ifcfg-fedora/parser.c
3582 system-settings/plugins/ifcfg-fedora/parser.h
3583 - Remove; most code moved to reader.c
3585 2008-05-11 Dan Williams <dcbw@redhat.com>
3590 - Add a private copy of the GIO GFileMonitor code, with a custom GFile
3591 implementation, so that the same change monitoring code can be used
3592 on systems without glib-2.14 (like Fedora 8)
3594 * system-settings/plugins/keyfile/Makefile.am
3595 system-settings/plugins/keyfile/plugin.c
3596 system-settings/plugins/ifcfg-suse/Makefile.am
3597 system-settings/plugins/ifcfg-suse/plugin.c
3598 - Use private gfilemonitor code if GIO is not present
3600 2008-05-09 Tambet Ingo <tambet@gmail.com>
3602 * system-settings/plugins/ifcfg-suse/nm-suse-connection.c: Implement
3603 NMExportedConnection's 'update' and 'delete' and return error with
3604 descriptive message.
3606 2008-05-08 Dan Williams <dcbw@redhat.com>
3608 Patch from Markus Becker <mab@comnets.uni-bremen.de>
3610 * src/nm-gsm-device.c
3611 src/nm-cdma-device.c
3612 - (real_get_best_auto_connection): implement; allow autoconnection
3613 to GSM & CDMA devices
3615 2008-05-08 Tambet Ingo <tambet@gmail.com>
3617 Use PolicyKit to authorize the system settings' AddConnection method
3618 and the system settings connections' Update and Delete methods.
3620 * libnm-glib/nm-settings.c (impl_exported_connection_update)
3621 (impl_exported_connection_delete, nm_exported_connection_update)
3622 (nm_exported_connection_delete): Return boolean and fill GError
3623 to notify the callers of the reasons why it might have failed.
3625 * libnm-glib/nm-dbus-settings-system.c
3626 (nm_dbus_settings_system_add_connection): Return the error from dbus
3627 call so that the callers can see why it failed.
3629 * libnm-glib/nm-dbus-connection.c (update, delete): Update the
3632 * system-settings/src/nm-polkit-helpers.[ch]: Implement.
3634 * system-settings/src/nm-sysconfig-connection.[ch]: Implement. New
3635 abstract base class that checks PolicyKit permissions.
3637 * system-settings/src/dbus-settings.c:
3638 (impl_settings_add_connection): Check the policy before carring out
3641 * system-settings/plugins/keyfile/nm-keyfile-connection.c:
3642 Inherit from NMSysconfigConnection, check the policies before
3643 allowing updating or removing.
3645 * system-settings/plugins/ifcfg-suse/nm-suse-connection.c:
3646 Inherit from NMSysconfigConnection.
3648 * introspection/nm-exported-connection.xml: Annotate "Update" and
3649 "Delete" methods with async flag so that the implementations can get
3650 access to DBusGMethodInvocation.
3652 * system-settings/src/dbus-settings.c
3653 (settings_add_connection_check_privileges): Implement.
3654 (impl_settings_add_connection): Check the privileges before adding a new
3655 connection. Improve error reporting.
3657 * introspection/nm-settings-system.xml: Make the 'AddConnection' method
3658 async so that the implementation can access DBusGMethodInvocation.
3660 * configure.in: Check for PolicyKit.
3662 * policy/org.freedesktop.network-manager-settings.system.policy:
3665 * policy/Makefile.am: Install the policy file.
3667 * configure.in: Add 'policy' subdir.
3669 2008-05-08 Tambet Ingo <tambet@gmail.com>
3671 Rewrite the suse system settings plugin.
3673 * system-settings/plugins/ifcfg-suse/plugin.c: Rewrite.
3675 * system-settings/plugins/ifcfg-suse/parser.c: Rewrite.
3677 * system-settings/plugins/ifcfg-suse/nm-suse-connection.[ch]: Implement.
3679 * system-settings/plugins/ifcfg-suse/Makefile.am: Add new files to build.
3681 * system-settings/src/dbus-settings.c: Fix connection reference counting.
3683 * system-settings/src/main.c (load_plugins): Improve error reporting.
3685 * system-settings/src/sha1.[ch] Add.
3687 * system-settings/src/Makefile.am: Add sha1[ch] to build.
3689 2008-05-07 Dan Williams <dcbw@redhat.com>
3691 * system-settings/plugins/keyfile/reader.c
3692 - (read_one_setting_value): handle IP address items separately
3693 - (read_array_of_uint): read IPv4 DNS option as a string array
3694 - (read_array_of_array_of_uint): read IPv4 address tuples as a string
3697 * system-settings/plugins/keyfile/writer.c
3698 - (write_setting_value): handle IP address items separately
3699 - (write_array_of_uint): handle IPv4 DNS option as a string array,
3700 not an array of uint, so that it's user-editable
3701 - (write_array_of_array_of_uint): handle IPv4 address tuples as string
3702 arrays, so they are user-editable
3704 2008-05-07 Dan Williams <dcbw@redhat.com>
3706 * system-settings/plugins/keyfile/Makefile.am
3707 - Change location of the keyfile plugin settings to
3708 /etc/NetworkManager/system-connections
3710 2008-05-05 Tambet Ingo <tambet@gmail.com>
3712 * system-settings/plugins/keyfile/nm-keyfile-connection.[ch]: Implement.
3714 * system-settings/plugins/keyfile/plugin.c: Work with
3715 NMKeyfileConnections.
3717 * system-settings/src/dbus-settings.c: Remove NMSysconfigExportedConnection.
3718 Plugins are supposed to return NMExportedConnections now and handle the
3719 updated(), removed(), and GetSecrets().
3720 Store the internal list of connections in hash table to make it easier
3723 2008-05-07 Tambet Ingo <tambet@gmail.com>
3725 * src/backends/NetworkManagerSuSE.c (nm_system_set_hostname): Update
3726 for multiple IP addresses.
3728 2008-05-07 Tambet Ingo <tambet@gmail.com>
3730 Patch from André Lemos.
3732 * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Fix a memory
3735 2008-05-06 Dan Williams <dcbw@redhat.com>
3737 * src/dhcp-manager/nm-dhcp-manager.c
3738 - (nm_dhcp_manager_get_ip4_config): clean up; update for changes to
3739 NMIP4Config to support multiple IP addresses
3741 * src/NetworkManagerUtils.c
3742 - (nm_utils_merge_ip4_config): update for multiple IP addresses
3744 * src/nm-ip4-config.c
3746 - Store a list of IPv4 address/netmask/gateway tuples
3747 - (nm_ip4_config_get_gateway, nm_ip4_config_set_gateway,
3748 nm_ip4_config_get_netmask, nm_ip4_config_set_netmask,
3749 nm_ip4_config_get_broadcast, nm_ip4_config_set_broadcast,
3750 nm_ip4_config_set_address): remove
3751 - (nm_ip4_config_take_address, nm_ip4_config_add_address,
3752 nm_ip4_config_replace_address, nm_ip4_config_get_num_addresses):
3753 new functions; handle multiple IPv4 addresses
3756 src/ppp-manager/nm-ppp-manager.c
3757 src/vpn-manager/nm-vpn-connection.c
3758 src/NetworkManagerPolicy.c
3760 libnm-glib/libnm-glib-test.c
3761 - update for changes to NMIP4Config for multiple IPv4 addresses
3763 * src/NetworkManagerSystem.c
3764 - (nm_system_device_set_ip4_route): don't add the route if any address
3765 is on the same subnet as the destination
3766 - (check_one_address): ignore the exact match, just match family and
3768 - (add_ip4_addresses): add all IPv4 addresses in an NMIP4Config to
3770 - (nm_system_device_set_from_ip4_config): use add_ip4_addresses()
3771 - (nm_system_vpn_device_set_from_ip4_config): use add_ip4_addresses()
3773 * introspection/nm-ip4-config.xml
3774 - Remove 'address', 'gateway', 'netmask', and 'broadcast' properties
3775 - Add 'addresses' property which is an array of (uuu) tuples of
3776 address/netmask/gateway
3778 * libnm-util/nm-setting-ip4-config.c
3779 - (set_property): use ip-address <-> GValue converters from nm-utils.c
3781 * libnm-glib/nm-ip4-config.c
3782 libnm-glib/nm-ip4-config.h
3783 - Handle D-Bus interface changes to support multiple IP addresses
3785 2008-05-06 Dan Williams <dcbw@redhat.com>
3787 * libnm-util/nm-utils.c
3788 libnm-util/nm-utils.h
3789 - (nm_utils_ip4_addresses_from_gvalue,
3790 nm_utils_ip4_addresses_to_gvalue): new functions
3792 2008-05-06 Tambet Ingo <tambet@gmail.com>
3794 * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Don't leak
3795 the returned connection paths.
3797 2008-05-05 Tambet Ingo <tambet@gmail.com>
3799 * libnm-glib/nm-dbus-settings.c (constructor): Fix the
3800 "PropertiesChanged" signal signature.
3802 * libnm-glib/nm-dbus-connection.c (constructor): Use the common GType
3803 defined in nm-dbus-glib-types.h.
3804 Don't register the connection on dbus, we're a proxy class to
3805 communicate with an already registered connection over dbus.
3807 2008-04-30 Tambet Ingo <tambet@gmail.com>
3809 Implement new subclasses of NMSettings and NMExportedConnection to make
3810 it easier for the applet to access and modify system settings.
3812 * libnm-glib/nm-dbus-connection.[ch]:
3813 * libnm-glib/nm-dbus-settings.[ch]:
3814 * libnm-glib/nm-dbus-settings-system.[ch]: Implement.
3816 * libnm-glib/Makefile.am: Add the new files to build, generate some more
3819 * include/NetworkManager.h: Define the system settings DBus interface.
3821 2008-04-30 Tambet Ingo <tambet@gmail.com>
3823 Implement additional C API for exported connections to make them identical
3824 with the DBus API. Change the (list_connections) virtual function to be
3825 more usable from C - instead of requiring implementers to return a GPtrArray
3826 of dbus paths, return a list of connections.
3828 * libnm-glib/nm-settings.c (nm_exported_connection_class_init): Fix a typo.
3829 (nm_settings_list_connections):
3830 (nm_exported_connection_new):
3831 (nm_exported_connection_update):
3832 (nm_exported_connection_delete): Implement.
3834 (impl_settings_list_connections):
3835 (impl_exported_connection_update):
3836 (impl_exported_connection_delete): Use the new public functions to make
3837 sure the C and dbus interfaces stay in sync.
3839 * system-settings/src/dbus-settings.c (list_connections): Return a list of
3842 2008-05-02 Dan Williams <dcbw@redhat.com>
3844 * system-settings/plugins/ifcfg-fedora/plugin.c
3845 - (dispose): use right unref call on the DBusGConnection
3847 2008-05-02 Dan Williams <dcbw@redhat.com>
3849 * src/nm-serial-device.c
3850 - (find_terminator): don't compare the whole line, just the size of the
3851 terminator, since some modems put stuff after the terminator, like
3854 2008-05-01 Dan Williams <dcbw@redhat.com>
3856 Patch from Michael Biebl <biebl@debian.org>
3858 * callouts/Makefile.am
3859 callouts/org.freedesktop.nm_dispatcher.service.in
3860 system-settings/src/Makefile.am
3861 system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service.in
3862 - use the right install location for dbus-activated stuff
3864 2008-04-30 Dan Williams <dcbw@redhat.com>
3866 * src/nm-gsm-device.c
3867 - (enter_pin): fix setting name passed to applets when asking for a GSM
3870 2008-04-30 Dan Williams <dcbw@redhat.com>
3873 - (nm_manager_error_get_type): remove erroneous NULL enum from table
3875 2008-04-30 Dan Williams <dcbw@redhat.com>
3877 * src/nm-device-802-3-ethernet.c
3878 src/nm-device-802-11-wireless.c
3879 - (real_is_up): return true instead of chaining up to unimplemented
3882 2008-04-30 Dan Williams <dcbw@redhat.com>
3884 * src/NetworkManagerSystem.c
3885 src/NetworkManagerSystem.h
3886 - (nm_system_device_is_up, nm_system_device_is_up_with_iface): new
3887 functions to check device flags for IFF_UP
3889 * src/nm-serial-device.c
3890 - (real_is_up): remove; NMDevice now returns TRUE if the subclass doesn't
3893 * src/nm-device-802-3-ethernet.c
3894 src/nm-device-802-11-wireless.c
3895 - (real_hw_is_up): call nm_system_device_is_up()
3898 - (real_hw_is_up): move to nm_system_device_is_up_with_iface()
3899 - (real_is_up): remove; nm_device_is_up() returns TRUE if subclass
3902 2008-04-29 Dan Williams <dcbw@redhat.com>
3904 Handle HAL dropouts better; allow NM to start up even if HAL isn't up yet.
3906 * marshallers/nm-marshal.list
3909 * src/NetworkManager.c
3910 - (main): let the NMManager handle the NMHalManager
3912 * src/nm-hal-manager.c
3913 src/nm-hal-manager.h
3914 - convert to a GObject, and emit singals when stuff changes. Let the
3915 NMManager handle the signals, instead of the NMHalManager calling
3920 - (remove_one_device): consolidate device removals here
3921 - (dispose): use remove_one_device()
3922 - (nm_manager_get_device_by_udi): make static
3923 - (deferred_hal_manager_query_devices): idle handler to query the HAL
3924 manager for devices at startup or wakeup time
3925 - (nm_manager_new): create and monitor the HAL manager
3926 - (hal_manager_udi_added_cb): new function; do what
3927 nm_manager_add_device() used to do when signalled by the hal manager
3928 - (hal_manager_udi_removed_cb): new function; do what
3929 nm_manager_remove_device() used to do when signalled by the hal
3931 - (hal_manager_rfkill_changed_cb): handle rfkill changes from the
3933 - (hal_manager_hal_reappeared_cb): when HAL comes back, remove devices
3934 in our device list that aren't known to HAL
3935 - (impl_manager_sleep): on wakeup, re-add devices from an idle handler;
3936 see comments on nm-hal-manager.c::nm_manager_state_changed() a few
3938 - (nm_manager_get_device_by_path, nm_manager_is_udi_managed,
3939 nm_manager_activation_pending, nm_manager_wireless_enabled,
3940 nm_manager_wireless_hardware_enabled,
3941 nm_manager_set_wireless_hardware_enabled): remove, unused
3943 2008-04-28 Dan Williams <dcbw@redhat.com>
3945 Fix the device up/down ambiguities. Up/down state used to be a
3946 conglomeration of hardware state (IFF_UP) and any device-specific things
3947 (supplicant, periodic timers, etc) that the device used to indicate
3948 readiness. Unfortunately, if the hardware was already IFF_UP for some
3949 reason, then the device specific stuff wouldn't get run, and the device
3954 - Create hw_is_up, hw_bring_up, and hw_take_down
3955 - Rename bring_down -> take_down
3956 - (real_hw_is_up): check interface flags for IFF_UP
3957 - (nm_device_hw_is_up): let subclasses figure out their own HW state
3958 - (nm_device_is_up): make static; only used locally
3959 - (nm_device_hw_bring_up): update the hardware and IPv4 addresses even
3960 if the device is already up; if the device isn't up, bring it up
3961 - (nm_device_hw_take_down): just take down hardware
3962 - (nm_device_bring_up): bring up HW first, then device specific stuff
3963 - (nm_device_take_down): always deactivate device when called; always
3964 try to take hardware down too
3965 - (nm_device_state_changed): take device down when entering unmanaged
3966 state from a higher state
3968 * src/nm-device-802-11-wireless.c
3969 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
3971 - (real_take_down, supplicant_iface_state_cb_handler,
3972 supplicant_iface_connection_state_cb_handler,
3973 supplicant_mgr_state_cb_handler): fix some messages
3975 * src/nm-device-802-3-ethernet.c
3976 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
3979 2008-04-28 Dan Williams <dcbw@redhat.com>
3983 - (nm_manager_error_get_type): add new error
3984 - (nm_manager_remove_device): don't bother taking down the device here,
3985 the state change from unmanaging the device will do it
3986 - (impl_manager_sleep): move nm_manager_sleep() here since nothing else
3987 uses it; when going to sleep, just unmanage the device instead of
3988 taking it down, because stuff will cleaned up correctly when the
3989 device gets unmanaged
3991 2008-04-28 Dan Williams <dcbw@redhat.com>
3993 * src/nm-hal-manager.c
3994 - (add_initial_devices): convert to a GSourceFunc prototype
3995 - (nm_manager_state_changed): when coming out of sleep, punt the
3996 device re-addition to an idle handler to let D-Bus events go out
3997 first, fixing a potential dbus-glib assert if the old device was
3998 not yet disposed (due to references held while emitting the D-Bus
3999 signals) but the new device was found, because the mainloop didn't
4000 run between signal emission and add_initial_devices()
4002 2008-04-27 Dan Williams <dcbw@redhat.com>
4004 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
4006 * initscript/paldo/NetworkManager.in
4007 initscript/SUSE/networkmanager.in
4008 - Remove last bits of dhcdbd
4010 2008-04-27 Dan Williams <dcbw@redhat.com>
4012 * src/nm-device-802-11-wireless.c
4013 - (link_timeout_cb): don't ask for secrets when disconnected during
4014 association/authentication phase, drivers are still just too crappy
4016 2008-04-27 Dan Williams <dcbw@redhat.com>
4020 dispatcher-daemon/Makefile.am
4021 dispatcher-daemon/NetworkManagerDispatcher.c
4022 initscript/Arch/Makefile.am
4023 initscript/Arch/networkmanager-dispatcher.in
4024 initscript/Gentoo/Makefile.am
4025 initscript/Gentoo/NetworkManagerDispatcher.in
4026 initscript/Mandriva/Makefile.am
4027 initscript/Mandriva/networkmanagerdispatcher.in
4028 initscript/RedHat/Makefile.am
4029 initscript/RedHat/NetworkManagerDispatcher.in
4030 initscript/SUSE/Makefile.am
4031 initscript/SUSE/networkmanager-dispatcher.in
4032 initscript/Slackware/Makefile.am
4033 initscript/Slackware/rc.networkmanager-dispatcher.in
4034 initscript/paldo/Makefile.am
4035 initscript/paldo/NetworkManagerDispatcher.in
4037 man/NetworkManagerDispatcher.8.in
4038 - Remove the dispatcher daemon
4040 2008-04-27 Dan Williams <dcbw@redhat.com>
4042 * callouts/Makefile.am
4043 callouts/nm-dispatcher-action.c
4044 callouts/nm-dispatcher-action.h
4045 callouts/nm-dispatcher.conf
4046 callouts/nm-dispatcher.xml
4047 callouts/org.freedesktop.nm_dispatcher.service
4048 - Re-implement the dispatcher as a system-bus activated service that
4049 NM calls on-demand, rather than an always running daemon
4052 - Add callouts dir to includes to pick up dispatcher defines
4055 - (nm_device_state_changed): call dispatcher on device activated/
4058 * src/vpn-manager/nm-vpn-connection.c
4059 - (nm_vpn_connection_set_vpn_state): call dispatcher when VPN connections
4062 * src/NetworkManagerUtils.c
4063 src/NetworkManagerUtils.h
4064 - (nm_utils_call_dispatcher): helper to call dispatcher
4066 2008-04-27 Dan Williams <dcbw@redhat.com>
4068 * src/NetworkManagerUtils.c
4069 src/NetworkManagerUtils.h
4070 - remove unneeded includes
4071 - (nm_null_safe_strcmp, nm_ethernet_addresses_are_equal,
4072 nm_utils_inet_ip4_address_as_string, nm_timeval_has_passed,
4073 nm_timeval_cmp, nm_timeval_add): remove, unused
4074 - clean up formatting
4075 - (nm_spawn_process): de-uglify
4077 * src/nm-device-802-11-wireless.c
4078 - (get_active_ap): use memcmp() not nm_ethernet_addresses_are_equal()
4080 2008-04-26 Saleem Abdulrasool <compnerd@compnerd.org>
4082 * initscript/Gentoo/NetworkManager.in:
4083 Fix for starting the daemon.
4085 2008-04-25 Dan Williams <dcbw@redhat.com>
4087 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
4089 * src/NetworkManagerSystem.c
4090 - (nm_system_device_set_ip4_route): reimplement using libnl, not ioctls
4092 2008-04-25 Dan Williams <dcbw@redhat.com>
4094 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
4096 * src/NetworkManagerSystem.c
4097 - (nm_system_device_replace_default_ip4_route): new function; a libnl
4098 implementation of nm_system_device_replace_default_route()
4100 * src/NetworkManagerPolicy.c
4101 - (update_default_route): use nm_system_device_replace_default_ip4_route()
4103 * src/backends/NetworkManagerArch.c
4104 src/backends/NetworkManagerDebian.c
4105 src/backends/NetworkManagerFrugalware.c
4106 src/backends/NetworkManagerGeneric.c
4107 src/backends/NetworkManagerGeneric.h
4108 src/backends/NetworkManagerGentoo.c
4109 src/backends/NetworkManagerMandriva.c
4110 src/backends/NetworkManagerPaldo.c
4111 src/backends/NetworkManagerRedHat.c
4112 src/backends/NetworkManagerSlackware.c
4113 src/backends/NetworkManagerSuSE.c
4114 - (nm_system_device_replace_default_route): remove
4116 2008-04-25 Dan Williams <dcbw@redhat.com>
4118 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
4120 * src/NetworkManagerSystem.c
4121 - (validate_ip4_route): remove; use nl_addr_parse() instead
4122 - (nm_system_device_add_ip4_route_via_device_with_iface): new function,
4123 replace nm_system_device_add_route_via_device_with_iface() in the
4126 * src/backends/NetworkManagerArch.c
4127 src/backends/NetworkManagerDebian.c
4128 src/backends/NetworkManagerFrugalware.c
4129 src/backends/NetworkManagerGeneric.c
4130 src/backends/NetworkManagerGeneric.h
4131 src/backends/NetworkManagerGentoo.c
4132 src/backends/NetworkManagerMandriva.c
4133 src/backends/NetworkManagerPaldo.c
4134 src/backends/NetworkManagerRedHat.c
4135 src/backends/NetworkManagerSlackware.c
4136 src/backends/NetworkManagerSuSE.c
4137 - Remove nm_system_device_add_route_via_device_with_iface()
4139 2008-04-25 Dan Williams <dcbw@redhat.com>
4141 * system-settings/plugins/ifcfg-fedora/parser.c
4142 - (GET_ONE_DNS): fix parsing of DNS2 & DNS3
4144 2008-04-24 Dan Williams <dcbw@redhat.com>
4146 * dispatcher-daemon/NetworkManagerDispatcher.c
4147 - (nmd_execute_scripts): execute scripts in order as sorted by strcmp()
4149 2008-04-24 Dan Williams <dcbw@redhat.com>
4151 * initscript/RedHat/NetworkManager.in
4152 initscript/RedHat/NetworkManagerDispatcher.in
4153 - Be active at runlevel 2
4154 - Adjust priorities earlier
4156 2008-04-22 Dan Williams <dcbw@redhat.com>
4158 * src/NetworkManagerPolicy.c
4159 - (update_routing_and_dns): when checking for a gateway, look at the
4160 composite IP4 config, not the connection's ip4-config setting, which
4161 doesn't include DHCP-returned information
4163 2008-04-22 Tambet Ingo <tambet@gmail.com>
4165 Implement GKeyFile system settings plugin.
4166 Implement writing system settings (currently supported only by GKeyFile plugin).
4168 * system-settings/src/main.c:
4169 * system-settings/src/dbus-settings.c: Move the communication with plugins
4170 from main.c to dbus-settings.c. Makes it possible to talk to all registered
4171 plugins for adding/updating/removing connections.
4173 * system-settings/src/nm-system-config-interface.c
4174 (nm_system_config_interface_add_connection): Implement
4175 (nm_system_config_interface_update_connection): Implement.
4176 (nm_system_config_interface_remove_connection): Implement.
4178 * system-settings/plugins/keyfile/Makefile.am:
4179 * system-settings/plugins/keyfile/plugin.[ch]:
4180 * system-settings/plugins/keyfile/writer.[ch]:
4181 * system-settings/plugins/keyfile/reader.[ch]: Implement.
4183 * system-settings/plugins/Makefile.am: Add GKeyFile plugin.
4185 * configure.in: Generate GKeyFile Makefile.
4187 * libnm-glib/nm-settings.c (impl_exported_connection_get_id): Fix a memory
4188 corruption, need to duplicate the returned string.
4189 (impl_exported_connection_update): Implement.
4190 (impl_exported_connection_delete): Implement.
4192 * introspection/nm-settings-system.xml: Add "AddConnection" method.
4194 * introspection/nm-exported-connection.xml: Add "Update" and "Delete" methods.
4196 2008-04-22 Dan Williams <dcbw@redhat.com>
4198 Patch from Charles R. Anderson (cra@wpi.edu)
4200 * src/NetworkManagerPolicy.c
4201 - (update_routing_and_dns): don't select devices without a gateway
4202 as having the default route (rh #437338)
4204 2008-04-21 Dan Williams <dcbw@redhat.com>
4206 * src/nm-activation-request.c
4207 src/nm-activation-request.h
4208 - (dispose): ensure to disconnect from the device's state-changed signal
4209 when appropriate so the signal doesn't get handled by an already
4210 disposed NMActRequest
4211 - (device_state_changed): update is_default here too just to make sure
4212 default is only True when the child device is activated
4213 - (nm_act_request_set_default): new function
4215 * src/NetworkManagerPolicy.c
4216 - (update_routing_and_dns): set 'default' on the active connection which
4217 has the default route and DNS
4219 2008-04-21 Dan Williams <dcbw@redhat.com>
4221 * src/NetworkManagerPolicy.c
4222 - (device_state_changed): update routing and DNS when a device goes
4223 into unmanaged or unavailable states too (like rfkill or carrier loss)
4225 2008-04-21 Dan Williams <dcbw@redhat.com>
4227 * include/NetworkManager.h
4228 - Add NMActiveConnectionState enum
4230 * introspection/nm-active-connection.xml
4231 introspection/nm-vpn-connection.xml
4232 - Add 'State' property for overall active connection state
4233 - Add 'Default' property, when True means this active connection
4234 has the default route
4235 - Add PropertyChanged signals so changes actually go out over the bus
4237 * src/nm-active-connection.h
4238 - Add defines for State & Default properties
4240 * src/nm-activation-request.c
4241 - Add 'state' and 'default' properties, hook up to device 'state-changed'
4242 signal to determine active connection state
4244 * src/vpn-manager/nm-vpn-connection.c
4245 src/vpn-manager/nm-vpn-connection.h
4246 src/vpn-manager/nm-vpn-manager.c
4247 src/vpn-manager/nm-vpn-service.c
4248 - Rename old 'state' to 'vpn-state'
4249 - Rename nm_vpn_connection_get_state() -> nm_vpn_connection_get_vpn_state()
4250 - Add 'state' and 'default' properties, hook up to the vpn connection's
4251 'vpn-state-changed' signal
4253 * libnm-glib/nm-active-connection.c
4254 libnm-glib/nm-active-connection.h
4255 - Add new 'state' and 'default' properties and accessors
4257 * libnm-glib/nm-vpn-connection.c
4258 libnm-glib/nm-vpn-connection.h
4259 - Rename old 'state' property to 'vpn-state'
4260 - Add new 'state' and 'default' properties and accessors
4262 2008-04-21 Dan Williams <dcbw@redhat.com>
4264 * src/nm-ip4-config.c
4265 - (nm_ip4_config_to_rtnl_addr): fill in the broadcast address if it's
4266 not specified (rh #443474)
4268 2008-04-20 Dan Williams <dcbw@redhat.com>
4270 * src/NetworkManagerUtils.c
4271 src/NetworkManagerUtils.h
4272 - (nm_utils_merge_ip4_config): new function; merge settings from an
4273 NMSettingIP4Config to an NMIP4Config object
4276 - (merge_ip4_config): move to NetworkManagerUtils.c
4278 * src/vpn-manager/nm-vpn-connection.c
4279 - (nm_vpn_connection_ip4_config_get): merge in user-specified settings
4282 2008-04-18 Dan Williams <dcbw@redhat.com>
4284 * libnm-util/nm-setting-ppp.c
4285 libnm-util/nm-setting-ppp.h
4286 - Add 'no-vj-comp' option for TCP header compression
4287 - baud, mru, mtu, lcp_echo_failure, and lcp_echo_interval are really
4290 2008-04-18 Dan Williams <dcbw@redhat.com>
4292 * libnm-util/nm-setting-ppp.c
4293 libnm-util/nm-setting-ppp.h
4294 src/ppp-manager/nm-ppp-manager.c
4295 - Add 'refuse-pap' and 'refuse-mschapv2' options
4297 2008-04-18 Dan Williams <dcbw@redhat.com>
4299 * libnm-util/nm-setting-ppp.c
4300 libnm-util/nm-setting-ppp.h
4301 src/ppp-manager/nm-ppp-manager.c
4302 - Remove the 'usepeerdns' option and always request DNS servers from
4303 the PPP server; the connection chooses to use/override/ignore the
4304 DNS servers returned from the PPP server
4306 2008-04-18 Dan Williams <dcbw@redhat.com>
4308 * libnm-util/nm-setting-ppp.c
4309 libnm-util/nm-setting-ppp.h
4310 src/ppp-manager/nm-ppp-manager.c
4311 - Remove the 'require-mppc' option, because pppd doesn't support it and
4312 it seems to have been an erroneous addition to the PPTP plugin in
4313 the first place (from which the ppp-manager is derived)
4315 2008-04-17 Dan Williams <dcbw@redhat.com>
4317 * libnm-util/nm-setting-pppoe.c
4318 - (verify): require a PPP setting too
4320 * src/ppp-manager/nm-ppp-manager.c
4321 - (nm_ppp_manager_start): fail if no PPP setting is present instead of
4324 2008-04-17 Dan Williams <dcbw@redhat.com>
4327 - (nm_device_state_changed): do deactivation and and promotion to
4328 unavailable here, so that the device gets cleaned up before the
4329 manager runs and starts emitting signals; do the
4330 FAILED->DISCONNECTED transition from an idle handler rather than
4331 immediately to guard against recursion
4332 - (nm_device_deactivate_quickly, nm_device_dispose): stop the
4333 FAILED->DISCONNECTED handler if it's scheduled
4335 2008-04-17 Dan Williams <dcbw@redhat.com>
4337 * src/nm-device-802-11-wireless.c
4338 - (state_changed_cb): clear AP list when device transitions to
4339 unavailable or unmanaged
4340 - (nm_device_802_11_wireless_dispose): remove redundant set_current_ap()
4341 since this is already done in device_cleanup()
4342 - (supplicant_iface_scanned_ap_cb): don't leak new APs when the device
4343 isn't available or managed
4344 - (device_cleanup): use remove_all_aps()
4345 - (remove_all_aps): consolidate code removing all APs
4347 2008-04-17 Dan Williams <dcbw@redhat.com>
4349 * src/nm-serial-device.c
4350 src/nm-serial-device.h
4351 - (wait_for_reply_got_data): break input into lines, and search each
4352 line for responses _and_ terminator strings; also make sure that
4353 the read loop doesn't continue after the timeout is supposed to fire
4354 - (nm_serial_device_wait_for_reply): take an array of terminators too
4356 * src/nm-gsm-device.c
4357 src/nm-cdma-device.c
4358 - Send terminators to nm_serial_device_wait_for_reply()
4360 2008-04-16 Dan Williams <dcbw@redhat.com>
4362 Patch from 陈鑫 <znscnchen@gmail.com>
4364 * src/ppp-manager/nm-pppd-plugin.c
4365 - (get_credentials): return correct value for success; handle case where
4366 pppd just does some checking but doesn't want a password
4367 - (plugin_init): make CHAP work too
4369 2008-04-16 Dan Williams <dcbw@redhat.com>
4371 Patch from 陈鑫 <znscnchen@gmail.com>
4373 * src/ppp-manager/nm-ppp-manager.c
4374 - (create_pppd_cmd_line): fix argument generation when spawning pppd
4376 2008-04-16 Dan Williams <dcbw@redhat.com>
4378 Patch from 陈鑫 <znscnchen@gmail.com>
4380 * src/nm-device-802-3-ethernet.c
4381 - (real_deactivate_quickly): clear the IP interface name on
4382 deactivation, otherwise the wrong interface might get used later
4383 for routing and IP management
4385 2008-04-15 Dan Williams <dcbw@redhat.com>
4387 * libnm-glib/nm-device.c
4388 - (get_product_and_vendor): handle serial devices correctly
4389 - (nm_device_update_description): pass device to get_product_and_vendor()
4391 2008-04-15 Dan Williams <dcbw@redhat.com>
4393 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
4395 * src/NetworkManagerSystem.h
4396 src/backends/NetworkManagerArch.c
4397 src/backends/NetworkManagerDebian.c
4398 src/backends/NetworkManagerFrugalware.c
4399 src/backends/NetworkManagerGeneric.c
4400 src/backends/NetworkManagerGeneric.h
4401 src/backends/NetworkManagerGentoo.c
4402 src/backends/NetworkManagerMandriva.c
4403 src/backends/NetworkManagerPaldo.c
4404 src/backends/NetworkManagerRedHat.c
4405 src/backends/NetworkManagerSlackware.c
4406 src/backends/NetworkManagerSuSE.c
4408 - (nm_generic_device_add_ip6_link_address,
4409 nm_system_device_add_ip6_link_address): remove
4411 2008-04-15 Dan Williams <dcbw@redhat.com>
4413 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
4415 * src/backends/NetworkManagerArch.c
4416 src/backends/NetworkManagerDebian.c
4417 src/backends/NetworkManagerFrugalware.c
4418 src/backends/NetworkManagerGeneric.c
4419 src/backends/NetworkManagerGeneric.h
4420 src/backends/NetworkManagerGentoo.c
4421 src/backends/NetworkManagerMandriva.c
4422 src/backends/NetworkManagerPaldo.c
4423 src/backends/NetworkManagerRedHat.c
4424 src/backends/NetworkManagerSlackware.c
4425 src/backends/NetworkManagerSuSE.c
4426 src/NetworkManagerSystem.h
4427 - flush_routes -> flush_ip4_routes
4428 - flush_addresses -> flush_ip4_addresses
4430 * src/NetworkManagerSystem.c
4432 src/vpn-manager/nm-vpn-connection.c
4433 - flush only IPv4 addresses; don't touch IPv6 routes and addresses
4435 2008-04-15 Dan Williams <dcbw@redhat.com>
4437 Remove exposure of wireless-tools mode types in the API.
4439 * include/NetworkManager.h
4440 - Define NM80211Mode enum
4442 * introspection/generic-types.xml
4443 - Describe NM_802_11_MODE enum
4444 - Remove IW_MODE_* enum
4446 * introspection/nm-access-point.xml
4447 libnm-glib/nm-access-point.c
4448 libnm-glib/nm-access-point.h
4449 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
4451 * introspection/nm-device-802-11-wireless.xml
4452 libnm-glib/nm-device-802-11-wireless.c
4453 libnm-glib/nm-device-802-11-wireless.h
4454 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
4456 * libnm-util/nm-setting-wireless.c
4457 src/NetworkManagerAP.c
4458 src/NetworkManagerAP.h
4459 src/nm-device-802-11-wireless.c
4460 src/nm-device-802-11-wireless.h
4462 - Use NM80211Mode not IW_MODE_*
4464 2008-04-15 Dan Williams <dcbw@redhat.com>
4466 Enhance nm-online based on a patch from Bill Nottingham.
4470 - Add help messages and option summary
4471 - Add long-format options
4472 - Add a '-x' option to exit if NM isn't running or isn't connecting
4474 2008-04-15 Tambet Ingo <tambet@gmail.com>
4476 * libnm-util/nm-setting.c (nm_setting_duplicate): Implement.
4478 * libnm-util/nm-connection.c (nm_connection_remove_setting): Implement.
4480 2008-04-15 Dan Williams <dcbw@redhat.com>
4482 * nm-setting-ip4-config.c
4483 - (ip4_addresses_from_gvalue): handle NULL address array
4485 * nm-setting-8021x.c
4486 - (verify_tls, verify_ttls): warn on failed verification
4488 2008-04-10 Dan Williams <dcbw@redhat.com>
4490 * src/nm-gsm-device.c
4491 - (automatic_registration): accept "+CREG: 0,0"
4492 - (automatic_registration_response): fail on "+CREG: 0,0"
4494 2008-04-10 Tambet Ingo <tambet@gmail.com>
4496 * libnm-util/nm-setting-wired.c (get_property): Fix a typo.
4498 2008-04-10 Tambet Ingo <tambet@gmail.com>
4500 * system-settings/plugins/ifcfg-suse/parser.c (make_wireless_security_setting):
4501 Make it compile again by commenting out broken code that at first didn't work and
4502 now didn't compile either.
4504 2008-04-08 Dan Williams <dcbw@redhat.com>
4506 * libnm-glib/nm-object-cache.c
4507 libnm-glib/nm-settings.c
4508 src/dhcp-manager/nm-dhcp-manager.c
4509 system-settings/plugins/ifcfg-fedora/plugin.c
4510 system-settings/plugins/ifcfg-suse/plugin.c
4511 system-settings/src/nm-system-config-hal-manager.c
4512 libnm-util/nm-utils.c
4513 - Remove usage of GStaticMutex since gcc-4.3 hates it and because we're
4514 not threadsafe anyway
4516 2008-04-08 Dan Williams <dcbw@redhat.com>
4518 * system-settings/src/main.c
4519 - (load_stuff, device_added_cb, device_removed_cb): device added/removed
4520 callbacks take a device type too
4522 2008-04-08 Dan Williams <dcbw@redhat.com>
4524 The system settings service will now create a new default DHCP connection
4525 for wired devices that have no existing applicable connection.
4527 * system-settings/src/nm-system-config-hal-manager.c
4528 system-settings/src/nm-system-config-hal-manager.h
4529 - (nm_system_config_hal_manager_get_type_for_udi): new function
4531 * system-settings/src/dbus-settings.c
4532 system-settings/src/dbus-settings.h
4533 - (nm_sysconfig_settings_get_connections): new function
4534 - (nm_sysconfig_settings_is_device_managed): new function
4536 * system-settings/src/main.c
4537 - (load_stuff): check for wired devices that need a default connection
4538 - (get_details_for_udi): get interface and MAC address from HAL
4539 - (add_default_dhcp_connection): add a default connection for a wired
4541 - (device_added_cb, device_removed_cb): do the right thing with
4542 wired devices and their default connections on HAL device events
4544 2008-04-07 Dan Williams <dcbw@redhat.com>
4546 * libnm-glib/nm-device.c
4547 libnm-glib/nm-device.h
4548 - Proxy the 'managed' property
4550 2008-04-07 Dan Williams <dcbw@redhat.com>
4552 * src/nm-gsm-device.c
4553 src/nm-cdma-device.c
4554 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
4555 handler to transition to DISCONNECTED
4557 2008-04-07 Dan Williams <dcbw@redhat.com>
4559 Patch from Bill Nottingham
4561 * dispatcher-daemon/NetworkManagerDispatcher.c
4562 - ignore backup/packaging crufy (rh #440143)
4564 2008-04-07 Dan Williams <dcbw@redhat.com>
4566 * include/NetworkManager.h
4567 - Remove the DOWN and CANCELLED device states
4568 - Add UNMANAGED and UNAVAILABLE device states
4569 - Document the device states
4571 * introspection/nm-device.xml
4572 src/nm-device-interface.c
4573 src/nm-device-interface.h
4574 - Add the 'managed' property
4577 - (detail_device): print out device state
4579 * src/NetworkManagerSystem.h
4580 src/backends/NetworkManagerArch.c
4581 src/backends/NetworkManagerDebian.c
4582 src/backends/NetworkManagerFrugalware.c
4583 src/backends/NetworkManagerGentoo.c
4584 src/backends/NetworkManagerMandriva.c
4585 src/backends/NetworkManagerPaldo.c
4586 src/backends/NetworkManagerRedHat.c
4587 src/backends/NetworkManagerSlackware.c
4588 src/backends/NetworkManagerSuSE.c
4589 - (nm_system_device_get_system_config, nm_system_device_get_disabled
4590 nm_system_device_free_system_config): remove; they were unused and
4591 their functionality should be re-implemented in each distro's
4592 system settings service plugin
4594 * src/nm-gsm-device.c
4596 src/nm-cdma-device.c
4597 src/nm-cdma-device.h
4598 - (*_new): take the 'managed' argument
4601 - (nm_device_set_address): remove, fold into nm_device_bring_up()
4602 - (nm_device_init): start in unmanaged state, not disconnected
4603 - (constructor): don't start device until the system settings service
4604 has had a chance to figure out if the device is managed or not
4605 - (nm_device_deactivate, nm_device_bring_up, nm_device_bring_down):
4606 don't set device state here, let callers handle that as appropriate
4607 - (nm_device_dispose): don't touch the device if it's not managed
4608 - (set_property, get_property, nm_device_class_init): implement the
4610 - (nm_device_state_changed): bring the device up if its now managed,
4611 and deactivate it if it used to be active
4612 - (nm_device_get_managed, nm_device_set_managed): do the right thing
4613 with the managed state
4615 * src/nm-hal-manager.c
4616 - (wired_device_creator, wireless_device_creator, modem_device_creator):
4617 take initial managed state and pass it along to device constructors
4618 - (create_device_and_add_to_list): get managed state and pass to
4621 * src/nm-device-802-11-wireless.c
4622 - (real_can_activate): fold in most of
4623 nm_device_802_11_wireless_can_activate()
4624 - (can_scan): can't scan in UNAVAILABLE or UNMANAGED
4625 - (link_timeout_cb): instead of deactivating, change device state and
4626 let the device state handler to it
4627 - (real_update_hw_address): clean up
4628 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
4629 handler to transition to DISCONNECTED if the device isn't rfkilled
4631 * src/nm-device-802-3-ethernet.c
4632 - (set_carrier): move above callers and get rid of prototype
4633 - (device_state_changed): when entering UNAVAILABLE state, schedule an
4634 idle handler to transition to DISCONNECTED if the device has a
4636 - (real_update_hw_address): clean up
4637 - (link_timeout_cb, ppp_state_changed): change state instead of calling
4638 deactivation directly as deactivation doesn't change state anymore
4640 * src/NetworkManagerPolicy.c
4641 - (schedule_activate_check): yay, remove wireless_enabled hack since
4642 the NMManager and wireless devices work that out themselves now
4643 - (device_state_changed): change to a switch and update for new device
4645 - (device_carrier_changed): remove; device handles this now through
4647 - (device_added): don't care about carrier any more; the initial
4648 activation check will happen when the device transitions to
4652 - (dispose): clear unmanaged devices
4653 - (handle_unmanaged_devices): update unmanaged device list and toggle
4654 the managed property on each device when needed
4655 - (system_settings_properties_changed_cb): handle signals from the
4656 system settings service
4657 - (system_settings_get_unmanaged_devices_cb): handle callback from
4658 getting the unmanaged device list method call
4659 - (query_unmanaged_devices): ask the system settings service for its
4660 list of unmanaged devices
4661 - (nm_manager_name_owner_changed, initial_get_connections): get unmanaged
4663 - (manager_set_wireless_enabled): push rfkill state down to wireless
4664 devices directly and let them handle the necessary state transitions
4665 - (manager_device_state_changed): update for new device states
4666 - (nm_manager_add_device): set initial rfkill state on wireless devices
4667 - (nm_manager_remove_device): don't touch the device if it's unmanaged
4668 - (nm_manager_activate_connection): return error if the device is
4670 - (nm_manager_sleep): handle new device states correctly; don't change
4671 the state of unavailable/unmanaged devices
4673 * libnm-glib/nm-device-802-11-wireless.c
4674 - (state_changed_cb): update for new device states
4676 2008-04-07 Dan Williams <dcbw@redhat.com>
4678 * marshallers/nm-marshal.list
4679 - Add VOID:STRING,UINT marshaller for system settings HAL manager
4681 2008-04-07 Dan Williams <dcbw@redhat.com>
4683 * system-settings/src/main.c
4684 - (unmanaged_devices_changed_cb, register_plugin): proxy changes from
4685 plugins to the dbus settings object
4686 - (load_stuff): start the dbus service after grabbing unmanaged devices
4687 - (dbus_reconnect, dbus_cleanup): make HAL manager aware of dbus events
4688 - (log_handler, logging_setup, logging_shutdown): log output to syslog
4689 - (main): switch default logging to syslog with a 'debug' option to
4690 output to console; start up the HAL manager
4692 2008-04-07 Dan Williams <dcbw@redhat.com>
4694 * introspection/nm-settings-system.xml
4695 introspection/Makefile.am
4696 - Define the unmanaged devices interface for the system settings service
4698 * system-settings/src/nm-system-config-hal-manager.c
4699 system-settings/src/nm-system-config-hal-manager.h
4700 system-settings/src/nm-system-config-hal-manager-private.h
4701 system-settings/src/Makefile.am
4702 - Add a lightweight HAL manager object for tracking network devices for
4703 the purpose of determining unmanaged devices and which devices need
4704 the default DHCP connections
4706 * system-settings/src/nm-system-config-interface.c
4707 system-settings/src/nm-system-config-interface.h
4708 - (nm_system_config_interface_init): add the HAL manager as an argument
4709 - (nm_system_config_interface_get_unmanaged_devices): implement
4710 - Define 'unmanaged-devices-changed' signal
4712 * system-settings/src/dbus-settings.c
4713 system-settings/src/dbus-settings.h
4714 - Implement the unmanaged devices interface; some cleanups
4716 * system-settings/plugins/ifcfg-suse/plugin.c
4717 - Fixup for plugin interface changes
4719 * system-settings/plugins/ifcfg-fedora/plugin.c
4720 - (get_ether_device_udi): new function; find the device that has
4721 a specified MAC address and return its UDI
4722 - (get_udi_for_connection): new function; try to find the specific
4723 device a connection is locked to, if any
4724 - (device_added_cb, device_removed_cb): update unmanaged device list in
4725 response to HAL events
4726 - (get_unmanaged_devices): new function; return unmanaged device list
4727 - (build_one_connection): set the connection's locked device, if any
4728 - (write_auto_wired_connection): remove
4729 - (kill_old_auto_wired_file): remove the ifcfg-Auto Wired file if found
4730 - (handle_connection_changed): alert listeners that the unmanaged device
4732 - (init): fixup for plugin interface changes, implement unmanaged devices
4734 * system-settings/plugins/ifcfg-fedora/parser.c
4735 system-settings/plugins/ifcfg-fedora/parser.h
4736 - (connection_data_free): clean up connection UDI
4738 2008-04-07 Dan Williams <dcbw@redhat.com>
4740 * system-settings/plugins/ifcfg-fedora/parser.c
4741 - (make_ip4_setting): fix parsing of DNS servers
4743 2008-04-05 Dan Williams <dcbw@redhat.com>
4747 marshallers/Makefile.am
4748 marshallers/nm-marshal-main.c
4749 marshallers/nm-marshal.list
4750 - Consolidate marshallers
4752 * libnm-glib/nm-marshal-main.c
4753 libnm-glib/nm-marshal.list
4754 src/marshallers/Makefile.am
4755 src/marshallers/nm-marshal-main.c
4756 src/marshallers/nm-marshal.list
4759 * libnm-glib/Makefile.am
4761 src/dhcp-manager/Makefile.am
4762 src/ppp-manager/Makefile.am
4763 src/supplicant-manager/Makefile.am
4764 src/vpn-manager/Makefile.am
4765 - Use consolidated marshallers
4767 2008-04-04 Dan Williams <dcbw@redhat.com>
4769 * src/nm-hal-manager.c
4770 src/nm-hal-manager.h
4771 - (hal_init): don't look for hardware here
4772 - (nm_hal_manager_start): new function; look for hardware here instead,
4773 which can be done at a later time than hal_init()
4775 * src/NetworkManager.c
4776 - (main): start HAL manager after entering the main loop
4778 2008-04-03 Dan Williams <dcbw@redhat.com>
4780 * libnm-glib/nm-settings.c
4781 libnm-glib/nm-settings.h
4782 - (nm_exported_connection_get_id): new function
4783 - (impl_exported_connection_get_id): use nm_exported_connection_get_id()
4785 2008-04-02 Dan Williams <dcbw@redhat.com>
4787 * src/nm-device-interface.c
4788 src/nm-device-interface.h
4791 - Rename check_connection_conflicts() to check_connection_compatible()
4793 * src/nm-device-802-11-wireless.c
4794 - (real_check_connection_conflicts): remove
4795 - (real_check_connection_compatible): implement; match MAC address
4797 * src/nm-device-802-3-ethernet.c
4798 - (real_check_connection_conflicts): remove
4799 - (real_check_connection_compatible): implement; match MAC address
4800 - (real_get_best_auto_connection): correctly handle PPPoE cases
4803 - (check_connection_allowed): remove; unused until PolicyKit integration
4804 - (internal_activate_device): check whether the connection is compatible
4805 with the device before trying to activate it
4807 2008-04-02 Dan Williams <dcbw@redhat.com>
4809 * system-settings/plugins/ifcfg-fedora/parser.c
4810 - (read_mac_address): new function; read in MAC address and stuff it
4812 - (add_one_wep_key): remove debug spew
4813 - (make_wireless_security_setting): validate the default TX key; don't
4814 add the wireless-security setting if the connection doesn't need
4815 security; don't leak the keys shvarFile on error cases
4816 - (make_wireless_setting, make_wired_setting): populate device's MAC
4819 2008-04-02 Dan Williams <dcbw@redhat.com>
4821 * libnm-util/nm-setting-connection.c
4822 libnm-util/nm-setting-connection.h
4823 - (set_property, get_property, nm_setting_connection_class_init): remove
4824 the 'lockdown' property; it's functionality will be replaced by
4827 2008-04-01 Dan Williams <dcbw@redhat.com>
4829 Patch from Per Øyvind Karlsen <peroyvind@mandriva.org>
4832 initscript/Makefile.am
4833 initscript/Mandriva/Makefile.am
4834 initscript/Mandriva/networkmanager.in
4835 initscript/Mandriva/networkmanagerdispatcher.in
4836 src/backends/Makefile.am
4837 src/backends/NetworkManagerMandriva.c
4838 system-settings/plugins/Makefile.am
4839 - Add Mandriva support
4841 2008-03-31 Dan Williams <dcbw@redhat.com>
4843 * src/vpn-manager/nm-vpn-service.c
4844 - (nm_vpn_service_daemon_exec): add an error argument so that spawn
4845 errors can be passed back to the caller; also no longer scheduled
4846 as an idle handler, but called directly; and bump up VPN service
4847 spawn timeout, 2s is really short
4848 - (nm_vpn_service_activate): don't schedule the VPN service activation,
4849 but call it directly so that errors are reported on return from
4850 ActivateConnection() and don't get lost. If scheduled as an idle
4851 handler, clients don't have the time to query NM for the new VPN
4852 connection's properties before the VPN connection is torn down again
4853 if the service couldn't be launched, and therefore launch errors
4856 2008-03-31 Dan Williams <dcbw@redhat.com>
4858 * src/vpn-manager/nm-vpn-connection.c
4859 - (device_state_changed): send correct state on device failure too
4860 - (plugin_state_changed): failed state means unexpected disconnection,
4861 thus if the service goes away while the VPN connection is activated
4862 that's a failure too
4864 2008-03-31 Dan Williams <dcbw@redhat.com>
4866 * src/vpn-manager/nm-vpn-manager.c
4867 src/vpn-manager/nm-vpn-manager.h
4868 - Make VPNManager errors more available; add a service-start-failed error
4870 2008-03-31 Dan Williams <dcbw@redhat.com>
4872 * libnm-glib/nm-client.c
4873 libnm-glib/nm-client.h
4874 - (activate_cb): pass the new active connection to callback; fix
4875 message when no callback is specified
4877 2008-03-30 Dan Williams <dcbw@redhat.com>
4879 * libnm-util/nm-setting-wireless-security.c
4880 - (need_secrets): only require key0 if the transmit key index is also
4882 - (verify): reject non-NULL but zero-length WEP keys; these are invalid
4884 2008-03-29 Dan Williams <dcbw@redhat.com>
4886 * libnm-util/nm-setting-8021x.c
4887 libnm-util/nm-setting-ip4-config.c
4888 libnm-util/nm-setting-vpn-properties.c
4889 libnm-util/nm-setting-vpn.c
4890 libnm-util/nm-setting-wireless-security.c
4891 libnm-util/nm-setting-wireless.c
4892 libnm-util/nm-utils.c
4893 src/dhcp-manager/nm-dhcp-manager.c
4894 src/nm-activation-request.c
4897 src/nm-properties-changed-signal.c
4898 src/ppp-manager/nm-pppd-plugin.c
4899 src/supplicant-manager/nm-supplicant-interface.c
4900 src/vpn-manager/nm-vpn-connection.c
4901 - consistently use nm-dbus-glib-types.h
4903 2008-03-29 Dan Williams <dcbw@redhat.com>
4905 * src/vpn-manager/nm-vpn-connection.c
4906 - (nm_vpn_connection_class_init): PROP_SPECIFIC_OBJECT should be boxed,
4909 * src/nm-activation-request.c
4910 - (nm_act_request_class_init): PROP_SPECIFIC_OBJECT should be boxed,
4913 2008-03-29 Dan Williams <dcbw@redhat.com>
4915 * libnm-glib/nm-device-802-11-wireless.c
4916 - (access_point_added_proxy): create new APs if not found
4918 2008-03-29 Dan Williams <dcbw@redhat.com>
4920 * libnm-glib/nm-client.c
4921 - (proxy_name_owner_changed): tell wireless devices about rfkill state
4924 2008-03-29 Dan Williams <dcbw@redhat.com>
4926 * system-settings/plugins/ifcfg-fedora/parser.c
4927 - Fix parsing of WEP keys; ifcfg files use indexes [1...4] rather than
4928 [0...3]; also handle KEY correctly in combination with DEFAULTKEY
4930 2008-03-29 Dan Williams <dcbw@redhat.com>
4932 * system-settings/plugins/ifcfg-fedora/parser.c
4933 - (get_one_wep_key, make_wireless_security_setting): handle "KEY" too
4935 2008-03-27 Dan Williams <dcbw@redhat.com>
4938 - (nm_object_queue_notify): don't notify multiple times for the same
4941 * nm-object-private.h
4942 - (handle_ptr_array_return): return NULL if the given array is NULL or
4943 if it has zero elements
4946 - (finalize): use g_ptr_array_foreach() when freeing domains
4947 - (nm_ip4_config_get_domains): use handle_ptr_array_return()
4949 * nm-active-connection.c
4950 - (nm_active_connection_get_devices): use handle_ptr_array_return()
4952 * nm-device-802-11-wireless.c
4953 nm-device-802-11-wireless.h
4954 - (nm_device_802_11_wireless_get_access_points): return const; use
4955 handle_ptr_array_return()
4958 - (nm_object_array_demarshal): always create an array, even of length
4959 zero, to distinguish between "NM returned no items" and "haven't
4963 - (dispose): free active connections too
4964 - (proxy_name_owner_changed): free active connections too when NM goes
4966 - (nm_client_get_devices): return const; use handle_ptr_array_return()
4967 - (nm_client_get_active_connections): use handle_ptr_array_return()
4969 2008-03-26 Dan Williams <dcbw@redhat.com>
4971 Rework VPN connection handling for a more consistent D-Bus API. The
4972 VPNManager object has been removed, and active VPN connections are now the
4973 same as any other active connection. The Manager object's ActivateConnection
4974 and DeactivateConnection methods are used to start and stop a VPN connection,
4975 and the VPNConnection objects are subclasses of the ActiveConnection objects.
4976 When activating a VPN connection, pass the path of the active connection
4977 to which the VPN connection is tied in the 'specific_object' argument.
4979 Consequently, the libnm-glib API has been reworked to match this arrangement,
4980 with the VPNManager object removed, and the NMVPNConnection objects now
4981 being subclasses of NMActiveConnection.
4983 2008-03-25 Dan Williams <dcbw@redhat.com>
4985 Patch from Björn Martensen <bjoern.martensen@gmail.com>
4987 * initscript/Arch/networkmanager.in
4988 initscript/Arch/networkmanager-dispatcher.in
4989 - Updates for Arch Linux (gnome.org #523701)
4991 2008-03-25 Dan Williams <dcbw@redhat.com>
4993 * libnm-glib/nm-ip4-config.c
4994 libnm-glib/nm-active-connection.c
4995 libnm-glib/nm-access-point.c
4996 - Use nm_object_queue_notify() instead of g_object_notify()
4998 * libnm-glib/nm-device.c
4999 - (demarshal_ip4_config): distinguish between successful but missing
5000 ip4-config request, and unsuccessful and missing ip4-config request
5001 - (nm_device_get_ip4_config): don't try to demarshal a NULL ip4-config
5003 - Use nm_object_queue_notify() instead of g_object_notify()
5005 * libnm-glib/nm-device-802-11-wireless.c
5006 - (demarshal_active_ap): distinguish between successfull but missing
5007 active-ap request, and unsuccessful and missing active-ap request
5008 - (dispose, clean_up_aps): consolidate AP list and active AP clearing
5010 - (nm_device_802_11_wireless_set_wireless_enabled): add a private hook
5011 for the NMClient to notify the device that wireless is disabled,
5012 and therefore to clear the AP list and active AP
5013 - Use nm_object_queue_notify() instead of g_object_notify()
5015 * libnm-glib/nm-client.c
5016 - (poke_wireless_devices_with_rf_status): new function
5017 - (update_wireless_status): notify wireless devices of the rfkill status
5018 so they can clean up if needed
5019 - Use nm_object_queue_notify() instead of g_object_notify()
5021 2008-03-25 Dan Williams <dcbw@redhat.com>
5023 * libnm-glib/nm-object.c
5024 libnm-glib/nm-object-private.h
5025 - (nm_object_queue_notify): add helper to batch & postpone GObject notify
5026 signals to an idle handler
5027 - (nm_object_get_property): add a timeout to the D-Bus method call
5029 2008-03-25 Dan Williams <dcbw@redhat.com>
5031 * introspection/nm-device-cdma.xml
5032 introspection/nm-device-gsm.xml
5033 introspection/Makefile.am
5034 introspection/all.xml
5035 - Add introspection for CDMA and GSM devices for PropertiesChanged signal
5037 * src/nm-gsm-device.h
5039 src/nm-cdma-device.h
5040 src/nm-cdma-device.c
5042 - Implement PropertiesChanged signals
5044 * libnm-glib/nm-cdma-device.c
5045 libnm-glib/nm-cdma-device.c
5046 - Attach to PropertiesChanged signals
5048 2008-03-24 Dan Williams <dcbw@redhat.com>
5050 * libnm-glib/nm-client.c
5051 - (client_device_added_proxy): add new devices to the internal device
5052 list so they appear to clients
5054 2008-03-24 Dan Williams <dcbw@redhat.com>
5056 Massive fixup of libnm-glib to:
5057 a) have all objects (with the exception of VPN) cache their properties and
5058 update them asynchronously on PropertiesChanged signals from NM
5059 b) return internal const data for most attributes/properties instead of
5060 allocated values that the caller must free
5061 c) cache wrapped objects such that a given D-Bus path will always map to the
5062 same GObject returned by libnm-glib
5063 d) remove a few signals and move them to GObject property notifications
5064 e) match recent NM D-Bus API changes for activation/deactivation
5065 f) remove some private functions from libnm-glib headers
5067 2008-03-20 Dan Williams <dcbw@redhat.com>
5070 - (nm_manager_update_state, manager_device_state_changed,
5071 nm_manager_activate_device, connection_added_default_handler,
5072 impl_manager_activate_connection, impl_manager_deactivate_connection):
5073 queue PropertyChanged singals when the active connections change
5075 2008-03-20 Dan Williams <dcbw@redhat.com>
5077 * introspection/nm-manager.xml
5078 introspection/nm-manager-client.xml
5079 - (ActivateConnection): return the object path of the active connection
5081 - (GetActiveConnections): remove
5082 - (DeactivateConnection): new function; deactivate a currently active
5084 - Add an ActiveConnections property which returns an array of
5085 active connection object paths
5087 * introspection/nm-device.xml
5088 - (Deactivate): remove
5090 * introspection/all.xml
5091 - Add ActiveConnection introspection
5093 * introspection/nm-active-connection.xml
5094 - Add the ActiveConnection object
5096 * include/NetworkManager.h
5097 - Add the Connection.Active D-Bus interface
5099 * src/nm-device-interface.c
5100 - (impl_device_deactivate): remove
5102 * src/nm-activation-request.c
5103 src/nm-activation-request.c
5105 - Implement the Connection.Active D-Bus interface
5108 - (get_property, nm_manager_class_init): add ACTIVE_CONNECTIONS property
5109 - (nm_manager_activate_device): return the active connection path
5110 - (connection_added_default_handler, impl_manager_activate_connection):
5111 return the active connection to the caller
5112 - (add_one_connection_element, impl_manager_get_active_connections):
5114 - (impl_manager_deactivate_connection): new function; deactivate an
5117 * libnm-glib/nm-device.c
5118 libnm-glib/nm-device.h
5119 - Remove Deactivate() function
5121 2008-03-19 Dan Williams <dcbw@redhat.com>
5123 * introspection/nm-manager.xml
5124 introspection/nm-manager-client.xml
5125 - Rename the ActivateDevice method to ActivateConnection to better
5126 reflect it's usage; it's arguments get reordered a bit too
5127 - Convert GetActiveConnections method return from a struct to a dict
5129 * include/NetworkManager.h
5130 - Define the dict keys for return value of GetActiveConnections
5133 - impl_manager_activate_device -> impl_manager_activate_connection
5134 - (add_one_connection_element): return a populated hash table, not
5137 * libnm-glib/nm-client.c
5138 libnm-glib/nm-client.h
5139 - nm_client_activate_device -> nm_client_activate_connection
5140 - nm_client_free_active_connection_element -> nm_client_free_active_connections_element
5141 - (nm_client_get_active_connections): return a GSList of GHashTables,
5142 instead of the custom structures. Each element of the returned list
5143 must be freed with nm_client_free_active_connections_element()
5145 2008-03-18 Dan Williams <dcbw@redhat.com>
5147 * system-settings/plugins/ifcfg-fedora/parser.c
5148 system-settings/plugins/ifcfg-fedora/parser.h
5149 system-settings/plugins/ifcfg-fedora/plugin.c
5150 - Read settings from /etc/sysconfig/network-scripts/ instead of using
5151 profiles. DNS servers and searches must now be stored in the ifcfg
5154 2008-03-18 Tambet Ingo <tambet@gmail.com>
5156 * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Don't
5157 print out username and password, it's supposed to be a secret.
5159 * src/nm-device-802-3-ethernet.c (ppp_state_changed): Handle authentication
5160 request and set the device state accordingly.
5162 2008-03-18 Tambet Ingo <tambet@gmail.com>
5164 * src/nm-device-802-3-ethernet.c: Implement wired 802.1x authentication.
5166 * libnm-util/nm-setting-wireless-security.h: Fix a typo.
5168 2008-03-18 Dan Williams <dcbw@redhat.com>
5170 * src/vpn-manager/nm-vpn-connection.c
5171 - (get_secrets_cb): handle new GetSecrets return format
5173 2008-03-18 Dan Williams <dcbw@redhat.com>
5175 Adapt system settings service for split 802.1x.
5177 * system-settings/src/nm-system-config-interface.h
5178 - clarify return value of get_secrets()
5180 * system-settings/src/dbus-settings.c
5181 - (string_to_gvalue, destroy_gvalue, add_one_secret_to_hash): remove
5182 - (check_for_secrets): check if there actually secrets returned by a
5184 - (exported_connection_get_secrets): just return the plugin-returned
5185 hash of settings' secrets if it looks valid
5187 * system-settings/plugins/ifcfg-fedora/plugin.c
5188 - (get_secrets): add split secrets with correct format to reply hash
5190 * system-settings/plugins/ifcfg-fedora/parser.c
5191 system-settings/plugins/ifcfg-fedora/parser.h
5192 - (copy_one_cdata_secret, connection_data_copy_secrets,
5193 connection_data_free, connection_data_add): keep secrets for
5194 different settings in different hashes
5196 2008-03-17 Tambet Ingo <tambet@gmail.com>
5198 Clean up activating device deactivation.
5200 * src/nm-device.c (real_activation_cancel_handler): Remove. The same thing
5201 should be done whether the device activation gets cancelled or the device
5202 is just getting deactivated.
5203 (nm_device_activation_cancel): Remove.
5204 (nm_device_deactivate_quickly): Handle the case where device is activating.
5206 * src/nm-device-802-11-wireless.c (real_activation_cancel_handler): Remove.
5207 It does the exact same thing as real_deactivate_quickly().
5209 2008-03-17 Dan Williams <dcbw@redhat.com>
5211 Split the 802.1x bits out of the wireless-security setting so they are
5212 generalized enough for wired 802.1x to use too.
5214 * introspection/nm-exported-connection.xml
5215 - GetSecrets now returns 'a{sa{sv}}' (a hash of settings hashes) instead
5216 of just a hash of the secrets for one setting
5218 * libnm-util/nm-setting-wireless-security.c
5219 libnm-util/nm-setting-wireless-security.h
5220 - Remove 802.1x-specific stuff
5221 - Added leap-username and leap-password properties for old-school LEAP
5225 - (connection_secrets_updated_cb): take a list of updated settings names,
5228 * src/supplicant-manager/nm-supplicant-config.c
5229 src/supplicant-manager/nm-supplicant-config.h
5230 - (nm_supplicant_config_add_setting_wireless_security): remove 802.1x
5231 specific stuff; fix for updated LEAP bits; punt 802.1x stuff
5232 to nm_supplicant_config_add_setting_8021x()
5233 - (nm_supplicant_config_add_setting_8021x): add an 802-1x setting to
5234 the supplicant config
5236 * src/nm-device-802-11-wireless.c
5237 - (build_supplicant_config): pass in the 802.1x setting too, if any
5238 - (real_connection_secrets_updated): take a list of updated settings
5241 * src/nm-device-802-3-ethernet.c
5242 src/nm-cdma-device.c
5244 - (real_connection_secrets_updated_cb): take a list of updated settings
5247 * src/nm-activation-request.c
5248 src/nm-activation-request.h
5249 - (nm_act_request_class_init): the 'connection-secrets-updated' signal
5250 now passes a list of updated settings names, not just one
5251 - (update_one_setting): new function; handle one updated setting
5252 - (get_secrets_cb): handle multiple settings returned from the
5253 settings service; have to be careful of ordering here as there are
5254 some dependencies between settings (ex. wireless-security and 802.1x
5257 * src/marshallers/nm-marshal.list
5258 - new marshaller for connection-secrets-updated signal
5260 * libnm-util/nm-setting-8021x.c
5261 - Add back the 'pin' and 'psk' settings, for EAP-SIM and EAP-PSK auth
5263 - (verify): a valid 'eap' property is now required
5265 * libnm-util/nm-connection.c
5266 - (register_default_settings): add priorities to settings; there are
5267 some dependencies between settings, and during the need_secrets
5268 calls this priority needs to be respected. For example, only the
5269 wireless-security setting knows whether or not the connection is
5270 going to use 802.1x or now, so it must be asked for secrets before
5271 any existing 802.1x setting is
5272 - (nm_connection_lookup_setting_type): expose
5274 * libnm-util/nm-setting-wireless.c
5275 - (verify): should verify even if all_settings is NULL; otherwise won't
5276 catch the case where there is missing security
5278 * libnm-util/nm-setting-wireless-security.c
5279 - Remove everything to do with 802.1x
5280 - Add old-school LEAP specific properties for username and password
5281 - (need_secrets): rework LEAP secrets checking
5282 - (verify): rework for LEAP and 802.1x verification
5284 2008-03-17 Dan Williams <dcbw@redhat.com>
5286 * src/NetworkManagerPolicy.c
5287 - (auto_activate_device): always remove the current activation check
5288 from the pending activation list, otherwise when the policy gets
5289 destroyed on NM exit it will attempt to free the already freed
5292 2008-03-14 Tambet Ingo <tambet@gmail.com>
5294 * src/backends/NetworkManagerSlackware.c
5295 (nm_system_device_setup_static_ip4_config): Remove, it's unused.
5297 * src/backends/NetworkManagerSuSE.c: Add missing includes.
5299 2008-03-14 Dan Williams <dcbw@redhat.com>
5302 - (nm_device_interface_get_iface): g_object_get() will return an
5303 allocated value, so this function must not return const
5304 - (nm_device_interface_activate): free returned iface
5306 2008-03-14 Tambet Ingo <tambet@gmail.com>
5308 * libnm-util/Makefile.am: Add new files to build.
5310 * libnm-util/nm-connection.c: Register NMSetting8021x.
5312 * libnm-util/nm-setting-8021x.c
5313 * libnm-util/nm-setting-8021x.h: Implement.
5315 2008-03-14 Tambet Ingo <tambet@gmail.com>
5317 * libnm-util/Makefile.am: Add new files to build.
5319 * libnm-util/nm-connection.c: Register NMSetting8021x.
5321 * libnm-util/nm-setting-8021x.c
5322 * libnm-util/nm-setting-8021x.h: Implement.
5324 2008-03-14 Tambet Ingo <tambet@gmail.com>
5326 * src/NetworkManagerPolicy.c (auto_activate_device): Don't leak device and
5329 2008-03-14 Dan Williams <dcbw@redhat.com>
5331 * include/wireless-helper.h
5333 - One place for all the junk needed for #including wireless.h
5336 src/NetworkManagerAP.c
5339 libnm-util/nm-utils.c
5340 libnm-util/nm-setting-wireless.c
5341 libnm-glib/nm-device-802-11-wireless.c
5342 libnm-glib/nm-access-point.c
5343 libnm-glib/libnm-glib-test.c
5344 - include wireless-helper.h, not iwlib.h
5347 - Don't need libiw really, just need to check for wireless.h
5349 * src/kernel-types.h
5350 - Remove; used types moved into wpa.c
5352 * src/nm-device-802-11-wireless.c
5353 - (nm_device_802_11_wireless_update_signal_strength,
5354 real_get_generic_capabilities, nm_device_802_11_wireless_get_mode,
5355 nm_device_802_11_wireless_set_mode,
5356 nm_device_802_11_wireless_get_frequency,
5357 nm_device_802_11_wireless_get_ssid,
5358 nm_device_802_11_wireless_set_ssid,
5359 nm_device_802_11_wireless_get_bitrate,
5360 nm_device_802_11_wireless_get_bssid,
5361 nm_device_802_11_wireless_disable_encryption): use ioctl() directly
5362 instead of iwlib functions
5364 2008-03-14 Dan Williams <dcbw@redhat.com>
5366 * src/ppp-manager/nm-ppp-manager.c
5367 - (impl_ppp_manager_need_secrets): since it's asynchronous now, it
5368 should only take the DBusGMethodInvocation argument, not user/pass
5369 too. With dbus-glib, async functions only take 2 C arguments since
5370 the real dbus method arguments get passed back with
5371 dbus_g_method_return()
5373 2008-03-13 Tambet Ingo <tambet@gmail.com>
5375 * system-settings/plugins/ifcfg-suse/plugin.c (update_default_routes):
5376 Adapt the changes of NMSettingIP4Config.
5378 2008-03-13 Dan Williams <dcbw@redhat.com>
5380 * src/NetworkManagerUtils.c
5381 src/NetworkManagerUtils.h
5382 - (nm_ether_ntop): replacement for iw_ether_ntop()
5384 * src/NetworkManagerAP.c
5385 src/nm-device-802-11-wireless.c
5386 src/nm-device-802-3-ethernet.c
5387 - s/iw_ether_ntop/nm_ether_ntop/g
5389 2008-03-13 Dan Williams <dcbw@redhat.com>
5391 * src/NetworkManagerPolicy.c
5392 - (update_routing_and_dns): never set the default route through an
5393 IPv4LL addressed device
5395 2008-03-13 Dan Williams <dcbw@redhat.com>
5397 * NetworkManagerUtils.c
5398 NetworkManagerUtils.h
5399 - Remove NMSock stuff
5400 - Remove the completion stuff
5405 NetworkManagerSystem.c
5407 nm-device-802-11-wireless.c
5408 nm-device-802-3-ethernet.c
5409 - Remove NMSock and completion stuff
5410 - Remove nm_ioctl_info()
5412 2008-03-12 Dan Williams <dcbw@redhat.com>
5415 - (merge_ip4_config): avoid duplicates
5417 2008-03-12 Dan Williams <dcbw@redhat.com>
5419 * libnm-util/nm-setting-ip4-config.c
5420 libnm-util/nm-setting-ip4-config.h
5421 - Remove 'manual' and 'autoip' properties
5422 - Add 'method' property
5423 - (verify): fix verification with 'method'
5424 - (finalize): free 'method'
5425 - (set_property, get_property, nm_setting_ip4_config_class_init): fix
5429 - (real_act_stage3_ip_config_start): check IP4Config method
5430 - (nm_device_new_ip4_autoip_config): add a note about not sucking in
5432 - (merge_ip4_config): IP settings are valid with DHCP too
5433 - (real_act_stage4_get_ip4_config): handle all IP4Config methods
5434 - (real_act_stage4_ip_config_timeout): don't do autoip on DHCP timeout
5436 * src/nm-device-802-11-wireless.c
5437 - (real_act_stage3_ip_config_start): remove; autoip only on demand
5438 - (real_act_stage4_get_ip4_config): just chain up to parent; autoip
5441 * system-settings/plugins/ifcfg-fedora/parser.c
5442 system-settings/plugins/ifcfg-suse/parser.c
5443 - (make_ip4_setting): fix up for 'method'
5445 2008-03-12 Dan Williams <dcbw@redhat.com>
5447 * system-settings/plugins/ifcfg-fedora/parser.c
5448 system-settings/plugins/ifcfg-fedora/parser.h
5449 - (get_ifcfg_name): ignore more file suffixes
5450 - (is_wireless_device): fix check for ifcfgs that have no TYPE
5452 2008-03-12 Dan Williams <dcbw@redhat.com>
5455 - Bring in the bits of gnome-common we actually use (all 15 lines)
5457 2008-03-12 Dan Williams <dcbw@redhat.com>
5459 * system-settings/plugins/ifcfg-fedora/plugin.c
5460 - (write_auto_wired_connection): new function; write out an auto
5461 wired connection file since the applet isn't doing it any more
5462 - (reload_all_connections): write out the auto wired connection file
5463 if there aren't any wired connections already
5464 - (init): don't leak a GError
5466 2008-03-12 Dan Williams <dcbw@redhat.com>
5468 * src/nm-device-interface.c
5469 - (nm_device_interface_activate): print the ID of the connection
5470 that's about to be activated
5472 2008-03-12 Dan Williams <dcbw@redhat.com>
5474 Harmonize the 802.11 bitrate API
5476 * introspection/nm-access-point.xml
5477 - 'Rate' -> 'MaxBitrate'; clarify units
5479 * introspection/nm-device-802-11-wireless.xml
5480 - Clarify units of 'Bitrate'
5482 * src/NetworkManagerAP.c
5483 src/NetworkManagerAP.h
5484 - (set_property, get_property, nm_ap_class_init): rename 'rate'
5485 property to 'max-bitrate'
5486 - (foreach_property_cb): convert rate to Kb/s
5488 * src/nm-device-802-11-wireless.c
5489 - (nm_device_802_11_wireless_get_bitrate): return rate in Kb/s
5491 * libnm-glib/nm-access-point.c
5492 libnm-glib/nm-access-point.h
5493 - 'rate' -> 'max-bitrate'
5496 libnm-glib/libnm-glib-test.c
5497 - Fix up for these changes
5499 2008-03-12 Dan Williams <dcbw@redhat.com>
5502 - (nm_device_set_ip4_config): don't send property notifications when
5503 the ip4 config is set to NULL; it causes a PropertyChanged signal
5504 which dbus-glib can't parse because the value is NULL, which isn't
5505 a legal object path. Setting the IP4 config to NULL is only
5506 valid when deactivating a device anyway, so the device state change
5507 will alert listeners that the ip4 config is invalid.
5509 2008-03-12 Dan Williams <dcbw@redhat.com>
5511 * src/nm-properties-changed-signal.c
5512 - (add_to_string): better handling of NULL objects
5514 2008-03-12 Dan Williams <dcbw@redhat.com>
5516 Move the 'carrier' property from NMDevice to NMDevice8023Ethernet;
5517 convert the libnm-glib NMDevice8023Ethernet to cached properties
5519 * introspection/nm-device-802-3-ethernet.xml
5520 - New 'Carrier' property
5521 - New 'PropertiesChanged' signal
5523 * introspection/nm-device.xml
5524 - Remove 'Carrier' property
5525 - Remove 'CarrierChanged' signal
5527 * src/nm-device-interface.c
5528 src/nm-device-interface.h
5529 - (nm_device_interface_init): remove 'carrier' property and
5530 'carrier-changed' signal
5534 - (nm_device_get_carrier, nm_device_set_carrier): remove
5535 - (nm_device_activate_stage5_ip_config_commit): don't bother updating
5536 the link here; wired device will handle that
5537 - (handle_dhcp_lease_change): don't bother updating link here
5538 - (get_property, nm_device_class_init): remove carrier property
5540 * src/nm-device-802-11-wireless.c
5541 - (real_update_link, nm_device_802_11_wireless_class_init): remove
5542 real_update_link(); wireless devices don't use carrier at all
5543 - (link_timeout_cb, supplicant_iface_state_cb_handler,
5544 supplicant_iface_connection_state_cb_handler,
5545 supplicant_mgr_state_cb_handler): remove anything to do with carrier
5547 * src/nm-device-802-3-ethernet.c
5548 src/nm-device-802-3-ethernet.h
5549 - (nm_device_802_3_ethernet_carrier_on,
5550 nm_device_802_3_ethernet_carrier_off, constructor): use set_carrier()
5551 instead of nm_device_set_carrier()
5552 - (device_state_changed): update link from sysfs on activation;
5553 replaces real_update_link()
5554 - (real_update_link): remove, replaced by device_state_changed()
5555 - (nm_device_802_3_ethernet_get_carrier, set_carrier): new functions
5556 - (nm_device_802_3_ethernet_get_speed): move up with other getters/setters
5557 - (real_get_generic_capabilities, real_can_interrupt_activation): use
5558 new get_carrier function
5559 - (get_property): add 'carrier' property
5560 - (nm_device_802_3_ethernet_class_init): add 'carrier' property and
5561 hook into property-changed signal helper
5563 * src/NetworkManagerPolicy.c
5564 - (device_carrier_changed): will only ever be called with a wired device
5565 - (device_added): only hook up to carrier-changed for wired devices
5567 * libnm-glib/nm-device.c
5568 libnm-glib/nm-device.h
5569 - (constructor, nm_device_class_init): remove carrier-changed signal
5570 - (device_carrier_changed_proxy): remove; unused
5571 - (nm_device_get_carrier): remove; carrier a property of wired devices
5573 * libnm-glib/nm-device-802-3-ethernet.c
5574 libnm-glib/nm-device-802-3-ethernet.h
5575 - Convert to cached properties like AP and Wireless objects
5576 - (nm_device_802_3_ethernet_get_hw_address): now returns a 'const char *'
5577 instead of a 'char *', return value should not be freed
5578 - (nm_device_802_3_ethernet_get_carrier): return current carrier status
5579 - (constructor): hook into properties-changed helper
5580 - (set_property, get_property): new functions
5581 - (nm_device_802_3_ethernet_class_init): export GObject properties
5584 - (detail_device): strdup the wired hardware address too since it's
5587 * libnm-glib/libnm-glib-test.c
5588 - (dump_wired): strdup the wired hardware address too since it's
5591 2008-03-12 Dan Williams <dcbw@redhat.com>
5593 * libnm-util/nm-setting-ip4-config.c
5594 libnm-util/nm-setting-ip4-config.h
5595 - (set_property, get_property, nm_setting_ip4_config_class_init): add
5596 the 'autoip' property from the spec
5598 2008-03-11 Dan Williams <dcbw@redhat.com>
5600 * src/backends/NetworkManagerGeneric.c
5601 src/backends/NetworkManagerGeneric.h
5602 - (nm_generic_device_get_use_dhcp): remove
5604 2008-03-11 Dan Williams <dcbw@redhat.com>
5607 - (nm_device_deactivate): don't need to munge DNS here; that gets done
5608 already in nm_device_set_ip4_config()
5609 - (handle_dhcp_lease_change): fail the device if setting the IP4Config
5610 due to a DHCP rebind fails
5611 - (nm_device_set_ip4_config): send property notifications when the
5613 - (get_property): only report IP4Config property during valid states
5615 * src/NetworkManagerPolicy.c
5616 - (update_routing_and_dns): ignore devices that don't have an ip4
5617 config; add parameter 'force_update' to allow callers to specify
5618 that changes should be made even if the default device doesn't change
5619 - (device_ip4_config_changed): update DNS and routing when the device's
5620 IP4Config changes, like for DHCP updates
5621 - (device_added): listen for ip4-config property changes
5623 2008-03-11 Dan Williams <dcbw@redhat.com>
5625 Fix address handling as a result of DHCP rebind/renew/reboot.
5627 * src/NetworkManagerSystem.c
5628 - (check_one_address): delete an address if it doesn't match a given
5629 one for the same interface
5630 - (nm_system_device_set_from_ip4_config): don't flush the default route,
5631 be smarter about flushing addresses (only flush ones that don't
5632 match the one we're about to apply)
5634 * src/backends/NetworkManagerDebian.c
5635 src/backends/NetworkManagerSuSE.c
5636 src/backends/NetworkManagerArch.c
5637 src/backends/NetworkManagerSlackware.c
5638 src/backends/NetworkManagerRedHat.c
5639 src/backends/NetworkManagerPaldo.c
5640 src/backends/NetworkManagerFrugalware.c
5641 src/backends/NetworkManagerGentoo.c
5642 - (nm_system_delete_default_route): remove
5644 * src/backends/NetworkManagerGeneric.c
5645 src/backends/NetworkManagerGeneric.h
5646 - (nm_generic_enable_loopback): fix the loopback device label
5647 - (nm_generic_delete_default_route): remove; no longer used
5649 2008-03-11 Dan Williams <dcbw@redhat.com>
5651 * src/nm-device-interface.h
5652 - Delimit property name words with '-', otherwise g_object_notify()
5653 doesn't work the way we expect
5655 2008-03-11 Tambet Ingo <tambet@gmail.com>
5657 * src/nm-hal-manager.c (create_device_and_add_to_list): Don't ignore USB devices.
5659 2008-03-11 Dan Williams <dcbw@redhat.com>
5661 * src/NetworkManagerPolicy.c
5662 - (update_routing_and_dns): don't change anything if the default device
5663 hasn't changed; print something out when switching the default route
5666 2008-03-10 Tambet Ingo <tambet@gmail.com>
5670 * src/ppp-manager/nm-ppp-manager.c (create_pppd_cmd_line): Use PPPoE service
5671 setting. Use "nic-$eth".
5673 * src/NetworkManagerPolicy.c (auto_activate_device): Move the check of whether
5674 the device is activating here to fix a race condition.
5676 * src/ppp-manager/nm-pppd-plugin.c (get_credentials): Implement.
5678 * src/ppp-manager/nm-ppp-manager.c (impl_ppp_manager_need_secrets): Implement.
5679 (ppp_watch_cb): Emit a signal to notify pppd is not running anymore.
5680 (nm_ppp_manager_start): Take activation request instead of connection, we might
5681 need it for asking secrets.
5682 (nm_ppp_manager_update_secrets): Implement.
5684 * src/nm-serial-device.c (real_act_stage2_config): Send activation request to
5685 ppp manager start. It might be needed for asking secrets.
5687 * src/nm-device-802-3-ethernet.c (real_connection_secrets_updated): Implement.
5688 (ppp_state_changed): Handle pppd daemon disappearing.
5689 (pppoe_stage2_config): Send activation request to ppp manager start.
5691 * libnm-util/nm-setting-pppoe.c (nm_setting_pppoe_class_init): Fix a typo.
5693 * introspection/nm-ppp-manager.xml: Make NeedSecrets method async, return only
5694 username and password.
5696 2008-03-10 Dan Williams <dcbw@redhat.com>
5699 - (handle_dhcp_lease_change): apply an IP4 config to a device in
5700 response to a DHCP lease change
5701 - (dhcp_state_changed): handle DHCP lease changes while activated
5702 - (nm_device_set_ip4_config): remove a previously set named config
5703 when setting an ip4 config
5705 2008-03-10 Dan Williams <dcbw@redhat.com>
5707 * src/nm-serial-device.c
5708 - (nm_serial_device_send_command): report errno on error
5709 - (get_reply_got_data): limit the size of the overall buffer
5710 - (wait_for_reply_info_destroy): destroy result string
5711 - (wait_for_reply_got_data): append received data to an overall buffer
5712 until timeout, filled buffer, or error instead of keeping a per-call
5713 buffer. Some devices send data slowly enough that this function
5714 gets called multiple times for the same command stream.
5715 - (nm_serial_device_wait_for_reply): initialize overall buffer for
5716 wait_for_reply_got_data() here
5718 2008-03-10 Dan Williams <dcbw@redhat.com>
5720 * src/nm-cdma-device.c
5721 - (do_dial, init_modem): handle errors from
5722 nm_serial_device_send_command_string()
5724 * src/nm-gsm-device.c
5725 - (do_dial, manual_registration, automatic_registration_get_network,
5726 automatic_registration, enter_pin, check_pin, init_modem): handle
5727 errors from nm_serial_device_send_command_string()
5729 2008-03-10 Dan Williams <dcbw@redhat.com>
5731 Patch based on ideas suggested by Bas Zoetekouw <bas@debian.org>
5733 * src/named-manager/nm-named-manager.c
5734 - (compute_searches): prefer searches before domains
5735 - (compute_domain): new function
5736 - (rewrite_resolv_conf): write out the 'domain' and 'searches' options
5737 - (merge_one_ip4_config): if there are no searches in the source config,
5738 merge domains of the source config into the target config
5739 - (compute_nameservers): make formatting of resolv.conf a bit nicer
5741 2008-03-10 Dan Williams <dcbw@redhat.com>
5743 * src/nm-serial-device.c
5744 - (get_reply_got_data): clean up indentation, shrink serial buffer
5745 - (wait_for_reply_got_data): try to handle slower serial devices where
5746 the reply is broken up into multiple reads by concatenating replies
5747 together until either an error is received or the search string is
5750 2008-03-10 Dan Williams <dcbw@redhat.com>
5753 - (nm_device_bring_down): deactivate the device if it's activating too,
5754 not just if it's already activated. This makes sure that everything
5755 from an association attempt is cleaned up (like DHCP for example)
5757 2008-03-10 Dan Williams <dcbw@redhat.com>
5759 * src/nm-serial-device.c
5760 - (config_fd): report error from TCSETA
5761 - (nm_serial_device_open): fail when config_fd() fails
5763 2008-03-10 Dan Williams <dcbw@redhat.com>
5765 * src/nm-ip4-config.c
5766 - (nm_ip4_config_init): allocate searches list
5767 - (finalize): free searches list
5769 2008-03-09 Dan Williams <dcbw@redhat.com>
5771 Patch from Bas Zoetekouw <bas@debian.org>
5773 * src/dhcp-manager/nm-dhcp-manager.c
5774 - (nm_dhcp_manager_get_ip4_config): handle domain-search option too
5776 2008-03-09 Dan Williams <dcbw@redhat.com>
5778 Patch from Bas Zoetekouw <bas@debian.org>
5780 * src/nm-ip4-config.c
5782 - (nm_ip4_config_add_search, nm_ip4_config_get_search,
5783 nm_ip4_config_get_num_searches): add 'searches' as distinct from
5784 domains. 'searches' is the correct way to store multiple search
5785 domains, whereas 'domains' is really just supposed to store one
5786 domain. Some sites abuse the DHCP 'domain-name' option to push
5787 search domains to the client.
5788 - (nm_ip4_config_add_domain): group with related functions (my patch)
5790 2008-03-09 Dan Williams <dcbw@redhat.com>
5792 * src/dhcp-manager/nm-dhcp-manager.c
5793 - (dhclient_run): send interface-specific config files to dhclient
5795 2008-03-07 Dan Williams <dcbw@redhat.com>
5797 * system-settings/plugins/ifcfg-fedora/parser.c
5798 - (is_wireless_device): new function; test a device for wireless
5800 - (parser_parse_file): if the ifcfg file doesn't have a TYPE tag,
5801 test the device for wireless extensions to determine the type
5803 2008-03-07 Dan Williams <dcbw@redhat.com>
5805 Change manager's StateChange signal to StateChanged for consistency.
5807 * introspection/nm-manager.xml
5808 - Add 'StateChanged' signal
5809 - Move 'StateChange' down to the deprecated section
5811 * src/nm-hal-manager.c
5812 - (nm_hal_manager_new): connect to 'state-changed' instead
5814 * src/NetworkManagerPolicy.c
5815 - (nm_policy_new): connect to 'state-changed' instead
5819 - (nm_manager_update_state): emit both 'state-changed' and 'state-change'
5820 - (nm_manager_class_init): add 'state-changed' and not the deprecation
5823 * libnm-glib/nm-client.c
5824 libnm-glib/nm-client.h
5825 - (constructor, nm_client_class_init, client_state_changed_proxy):
5826 track and proxy 'state-changed' instead of 'state-change'
5828 2008-03-07 Dan Williams <dcbw@redhat.com>
5830 First pass of multiple active device support. Expect bugs.
5832 * src/nm-ip4-config.c
5834 - (nm_ip4_config_get_secondary, nm_ip4_config_set_secondary): remove;
5835 there are better ways to do this in the named manager
5839 - (nm_device_can_activate): return whether the device can activate a
5840 connection right now; taking into account things like carrier state
5842 - (nm_device_get_best_auto_connection): renamed from
5843 nm_device_get_best_connection
5844 - (real_act_stage4_get_ip4_config): MTU stuff is now handled in the
5845 device subclasses themselves, so that each device can override the
5846 MTU from it's NMSetting subclass if needed
5847 - (nm_device_set_ip4_config): set MTU when setting up routes and stuff
5848 in NetworkManagerSystem.c, not here
5850 * src/named-manager/nm-named-manager.c
5851 src/named-manager/nm-named-manager.h
5852 - (nm_named_manager_name_owner_changed,
5853 nm_named_manager_dbus_connection_changed): fix for changes to
5854 rewrite_resolv_conf()
5855 - (compute_nameservers): don't need the NMNamedManager at all, remove
5857 - (merge_one_ip4_config): new function; merge ip4 configs together
5858 - (rewrite_resolv_conf): write out resolv.conf from all the stored
5859 ip4 configs; the VPN config takes precedence, then the best
5860 device config, then the rest of the configs
5861 - (get_domain_for_config): take the NMNamedManager as an argument
5862 to check whether the config is the VPN config
5863 - (add_ip4_config_to_named): fixups for removal of the 'secondary'
5864 attribute from ip4 configs
5865 - (add_all_ip4_configs_to_named): add all the configs in priority order
5866 - (remove_ip4_config_from_named): fix for changes to
5867 get_domain_for_config()
5868 - (nm_named_manager_add_ip4_config): assign the config to the right slot
5869 based on its type; callers must pass in the type now
5870 - (get_last_default_domain): remove, unused
5871 - (nm_named_manager_remove_ip4_config): handle config slots correctly
5873 * src/nm-device-802-11-wireless.c
5874 - (real_can_activate): new function
5875 - (real_get_best_auto_connection): renamed from real_get_best_connection
5876 - (real_act_stage4_get_ip4_config): handle MTU override
5878 * src/nm-device-802-3-ethernet.c
5879 - (real_can_activate): new function
5880 - (real_get_best_auto_connection): renamed from real_get_best_connection
5881 - (real_act_stage4_get_ip4_config): new function; handle MTU override
5883 * src/vpn-manager/nm-vpn-connection.c
5884 - (nm_vpn_connection_ip4_config_get): don't need to set the 'secondary'
5885 attribute on the ip4 config
5887 * src/NetworkManagerPolicy.c
5888 - (nm_policy_auto_get_best_device): remove
5889 - (nm_policy_device_change_check): remove
5890 - (update_default_route): new function; set the default route via
5891 the specified device
5892 - (get_device_priority): new function; return the priority number of
5893 a device type WRT which one should have the default route. Order is
5894 (highest to lowest) wired, wireless, GSM, CDMA.
5895 - (update_routing_and_dns): new function; determine which device should
5896 have the default route, then update the routing table and DNS
5897 - (maybe_auto_activate_device): new function; if a device is now
5898 available for activation, find out what connection it would like to
5900 - (schedule_activate_check): new function; if a device can be activated
5901 now, schedule the activation. Each device may have only one
5902 pending activation at a given time.
5903 - (device_state_changed): if activation was canceled, try again,
5904 possibly with another connection; if the device was activated,
5905 update routing and DNS; if the device was deactivated, try again
5906 with another connection
5907 - (device_carrier_changed): if there is no carrier, deactivate the
5908 device; otherwise schedule an activation check for the device
5909 - (wireless_networks_changed): schedule an activation check for the
5911 - (device_added): keep track of the signal handler IDs so they can
5912 be removed when the device goes away
5913 - (device_removed): remove any signal handlers that might be attached
5914 to the device; update routing and DNS
5915 - (schedule_activate_all): new function
5916 - (connections_added, connection_added, connection_updated): when
5917 connections change, schedule all devices for an activation check
5918 - (connection_removed): when a device is deactivated because its
5919 connection was removed, schedule another activation check for it
5920 - (nm_policy_destroy): destroy pending activations and disconnect
5921 all device signal handlers
5924 - (nm_manager_activate_device): if the device was already actived,
5926 - (deactivate_old_device): remove
5927 - (connection_added_default_handler, impl_manager_activate_device):
5928 don't deactivate other devices when activating this one
5930 * src/backends/NetworkManagerGentoo.c
5931 src/backends/NetworkManagerFrugalware.c
5932 src/backends/NetworkManagerPaldo.c
5933 src/backends/NetworkManagerRedHat.c
5934 src/backends/NetworkManagerSlackware.c
5935 src/backends/NetworkManagerArch.c
5936 src/backends/NetworkManagerSuSE.c
5937 src/backends/NetworkManagerDebian.c
5938 - (nm_system_get_mtu): remove; MTU should be provided through the
5939 distro's system settings service plugin instead
5940 - (nm_system_device_add_default_route_via_device): remove
5941 - (nm_system_device_add_default_route_via_device_with_iface): remove
5942 - (nm_system_device_replace_default_route): new function; call
5943 generic implementation
5945 * src/backends/NetworkManagerGeneric.c
5946 src/backends/NetworkManagerGeneric.h
5947 - (nm_generic_device_add_default_route_via_device,
5948 nm_generic_device_add_default_route_via_device_with_iface): remove
5949 - (nm_generic_device_replace_default_route): replace the default route
5950 with the given route via some gateway
5952 * src/NetworkManagerSystem.c
5953 src/NetworkManagerSystem.h
5954 - (nm_system_device_set_from_ip4_config): let the policy handle updates
5955 to routing and DNS; but set the MTU here
5956 - (nm_system_vpn_device_set_from_ip4_config): set the route with the
5957 ip_iface of the active device; use the standard MTU setting function
5958 - (nm_system_set_mtu): remove
5959 - (nm_system_device_set_mtu): consolidate MTU setting code in one place
5961 2008-03-07 Tambet Ingo <tambet@gmail.com>
5963 Rework the interaction between ppp manager and pppd plugin. Register a well
5964 known DBUS service in manager and let the plugin call it's methods instead
5965 of listening plugin's signals.
5967 * src/ppp-manager/nm-pppd-plugin.c: Call ppp-manager dbus methods instead
5968 of emitting signals.
5970 * src/ppp-manager/nm-ppp-manager.c: Implement dbus service here.
5972 * src/ppp-manager/Makefile.am: Build nm-ppp-manager-glue.h.
5974 * src/nm-serial-device.c (real_act_stage2_config): Pass NMConnection to
5975 nm_ppp_manager_start().
5977 * introspection/nm-ppp-manager.xml: New file.
5979 * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_get_speed): Handle
5980 the case correctly where driver is trying to send -1 for the speed, which gets
5981 casted to u16 and thus is always > 0.
5983 2008-03-07 Dan Williams <dcbw@redhat.com>
5985 * src/nm-hal-manager.c
5986 - (nm_get_device_driver_name): use net.originating_device first, fall
5987 back to physical device. HAL has deprecated physical_device.
5989 * libnm-glib/nm-device.c
5990 - (get_product_and_vendor): use net.originating_device first, fall
5991 back to physical device. HAL has deprecated physical_device.
5992 - (nm_device_update_description): s/physical_device_udi/orig_dev_udi
5994 2008-03-07 Dan Williams <dcbw@redhat.com>
5997 - (nm_netlink_get_default_handle): mistakenly removed too much code in
5998 last commit; fix that
5999 - (get_link_cache): print error string
6001 2008-03-07 Dan Williams <dcbw@redhat.com>
6004 - (nm_netlink_get_default_handle): NMNetlinkMonitor now uses libnl,
6005 don't need this hack any more (Benoit Boissinot)
6007 2008-03-06 Dan Williams <dcbw@redhat.com>
6010 - Die gnome-common, die
6012 2008-03-04 Dan Williams <dcbw@redhat.com>
6014 Patch from Michael Biebl <biebl@debian.org>
6016 * NetworkManager.pc.in
6017 - doesn't actually depend on dbus-1
6019 * libnm-util/nm-utils.h
6020 - remove unused #include <dbus/dbus.h>
6022 * libnm-glib/libnm_glib.pc.in
6023 - depends on glib and dbus-glib
6025 2008-03-02 Dan Williams <dcbw@redhat.com>
6027 * src/NetworkManagerPolicy.c
6028 - s/device_state_changed_idle_id/update_state_id/
6030 2008-03-02 Dan Williams <dcbw@redhat.com>
6034 src/nm-device-802-11-wireless.c
6035 src/nm-device-802-3-ethernet.c
6036 src/NetworkManagerPolicy.c
6037 - s/link_active/carrier
6038 - nm_device_set_active_link() -> nm_device_set_carrier()
6039 - nm_device_has_active_link() -> nm_device_get_carrier()
6041 2008-03-02 Dan Williams <dcbw@redhat.com>
6043 * system-settings/plugins/ifcfg-fedora/parser.c
6044 - (make_wireless_setting): fail connection creation on missing SSID
6046 2008-02-29 Dan Williams <dcbw@redhat.com>
6048 * src/NetworkManagerPolicy.c
6049 - (nm_policy_device_change_check): ensure that a previously active
6050 device with a system connection has a link before denying a switch
6051 to a user connection
6053 2008-02-29 Dan Williams <dcbw@redhat.com>
6055 * src/nm-device-802-11-wireless.c
6056 - (link_timeout_cb): try again if scanning; deactivate the device when
6057 activated if the link dies
6058 - (supplicant_iface_connection_state_cb_handler): bump link timeout to
6061 2008-02-29 Dan Williams <dcbw@redhat.com>
6063 * src/nm-device-802-11-wireless.c
6064 src/nm-device-802-11-wireless.h
6065 - (nm_device_802_11_wireless_reset_scan_interval): remove, unused
6066 elsewhere; fold into the sole user in nm-device-802-11-wireless.c
6067 - (device_cleanup): reset the scan interval lower when the device
6069 - (can_scan): base decision mostly off device state, not supplicant
6070 interface state since the supplicant interface state isn't a
6071 great indicator of whether the device is active or not
6072 - (request_wireless_scan): clean up; schedule the next scan here
6073 - (schedule_scan): only back the scan interval off if a new scan
6074 actually gets scheduled; and make scan intervals tighter when the
6075 device is disconnected
6076 - (supplicant_iface_state_cb_handler): fold in the bits of
6077 nm_device_802_11_wireless_reset_scan_interval() by resetting scan
6079 - (activation_success_handler): reset scan interval to something
6082 2008-02-28 Saleem Abdulrasool <compnerd@compnerd.org>
6084 reviewed by: Steev <steev@steev.net>
6087 * src/backends/NetworkManagerGentoo.c:
6088 (nm_system_restart_mdns_responder):
6089 Howl is no longer a supported mDNS provider
6091 2008-02-28 Tambet Ingo <tambet@gmail.com>
6093 Get rid of a bunch of unused distro specific functions.
6095 2008-02-28 Tambet Ingo <tambet@gmail.com>
6097 Implement suse plugin for system settings daemon.
6099 * system-settings/plugins/ifcfg-suse/*: Implement.
6101 * system-settings/plugins/Makefile.am: Add ifcfg-suse to subdirs when targeting
6104 * configure.in: Check (without failing) for gio.
6105 Create ifcfg-suse plugin's Makefile.
6107 2008-02-20 Dan Williams <dcbw@redhat.com>
6109 * libnm-util/nm-connection.c
6110 libnm-util/nm-connection.h
6111 - (nm_connection_compare): accept compare flags and pass them to the
6112 setting compare function
6114 * libnm-util/nm-setting.c
6115 libnm-util/nm-setting.h
6116 - (nm_setting_compare): accept compare flags; ignore properties that are
6119 * libnm-util/nm-setting-connection.c
6120 libnm-util/nm-setting-wireless.c
6121 libnm-util/nm-setting-ppp.c
6122 libnm-util/nm-setting-wired.c
6123 - Mark some setting properties as ignorable when doing a fuzzy compare
6126 - (device_activation_precheck): use exact compare
6128 2008-02-20 Dan Williams <dcbw@redhat.com>
6130 * src/NetworkManagerPolicy.c
6131 - (nm_policy_device_change_check): get scope off the connection, not
6132 using the manager helper
6136 - (get_scope_for_proxy): rename from get_type_for_proxy()
6137 - (connection_get_settings_cb): set scope and path on connection, not
6138 using GObject data items
6139 - (get_connection_for_proxy): don't need to return path, since that
6140 can be gotten from the connection
6141 - (get_connection_for_proxy): get path off the connection, not from
6143 - (connection_removed_cb, connection_updated_cb): don't need to get
6144 path from get_connection_for_proxy(); get scope off the connection
6145 instead of using GObject data items
6146 - (connection_added_default_handler, add_one_connection_element): use
6147 nm_connection_get_path() not nm_manager_get_connection_dbus_path()
6148 - (nm_manager_get_connection_dbus_path): remove
6149 - (nm_manager_get_connection_scope): remove
6151 2008-02-20 Dan Williams <dcbw@redhat.com>
6153 * Global rename of NMConnectionSettings -> NMExportedConnection to cut down
6156 * Add 'path' and 'scope' properties to NMConnection since both NM and the
6157 applet were having to hack this in anyway. Remove the 'path' stuff from
6158 NMExportedConnection
6160 * Internally rename NMConnectionType -> NMConnectionScope
6162 * Provide default implementations of the 'get_id' and 'get_settings' methods
6163 of NMExportedConnection
6165 2008-02-15 Dan Williams <dcbw@redhat.com>
6167 * src/nm-device-802-11-wireless.c
6168 - (device_cleanup): release the AP list here too so that the AP list
6169 doesn't survive across suspend/resume and up/down. There is some
6170 room for optimization, for example blow the list away when the card
6171 brought back up, but only if the device has only been down for a
6174 2008-02-15 Dan Williams <dcbw@redhat.com>
6176 * src/nm-hal-manager.c
6177 - (modem_device_creator): recognize new HAL modem capabilities
6179 2008-02-12 Dan Williams <dcbw@redhat.com>
6181 * system-settings/plugins/ifcfg-fedora/plugin.c
6182 - (watch_path): handle IN_DELETE_SELF too
6183 - (handle_connection_changed): notify when removing a connection
6184 - (stuff_changed): don't warn on unknown inotify watches; handle the
6185 case of a file moving out of the profile directory
6187 2008-02-12 Dan Williams <dcbw@redhat.com>
6189 * system-settings/plugins/ifcfg-fedora/parser.c
6190 - (make_ip4_setting): bring IPv4 setting handling more up to spec
6192 2008-02-12 Dan Williams <dcbw@redhat.com>
6194 * libnm-util/nm-utils.c
6195 - (nm_utils_convert_uint_array_to_string): don't die on NULL array, it's
6196 just any empty array
6198 2008-02-12 Dan Williams <dcbw@redhat.com>
6200 * system-settings/src/nm-system-config-interface.c
6201 system-settings/src/nm-system-config-interface.h
6202 - (load_connections): get_connections() should now return an allocated
6203 GSList that the system settings service will free
6205 * system-settings/plugins/ifcfg-fedora/plugin.c
6206 system-settings/plugins/ifcfg-fedora/parser.h
6207 system-settings/plugins/ifcfg-fedora/parser.c
6208 - Fix up inotify issues; handle keys-* files, handle new files appearing
6209 in the profile directory, handle resolv.conf file changes
6211 2008-02-10 Dan Williams <dcbw@redhat.com>
6213 * src/nm-device-802-3-ethernet.c
6214 - (real_bring_up): save the supplicant interface state signal id
6215 - (real_bring_down): disconnect from the supplicant interface state
6218 2008-02-07 Dan Williams <dcbw@redhat.com>
6220 * initscript/RedHat/NetworkManager.in
6221 initscript/RedHat/NetworkManagerDispatcher.in
6222 - Add new-style LSB init headers
6224 2008-02-07 Dan Williams <dcbw@redhat.com>
6226 * system-settings/src/dbus-settings.c
6227 system-settings/src/dbus-settings.h
6228 - (add_one_secret_to_hash): copy secrets out of the plugin-returned hash
6230 - (connection_settings_get_secrets): consolidate error returns into
6231 one place; use the new get_secrets() plugin interface function to
6232 get secrets from the plugin itself rather than using GObject data
6235 * system-settings/src/main.c
6236 - (connection_added_cb, connection_removed_cb, free_plugin_connections,
6237 load_connections): keep a private list of the plugin-returned
6238 connections, don't use the plugin's GSList
6240 * system-settings/plugins/ifcfg-fedora/plugin.c
6241 - (watch_path): watch the path, not the filename (duh)
6242 - (reload_all_connections): use the direct hash/equal functions; the
6243 ones for int aren't appropriate here
6244 - (get_secrets, system_config_interface_init): implement the
6245 get_secrets() function
6246 - (build_one_connection, find_connection_by_path): ifcfg file path is
6247 now in the connection's ConnectionData instead of being a GObject
6249 - (handle_profile_item_changed): ifcfg file path is now in the
6250 connection's ConnectionData instead of being a GObject data property;
6251 be sure to copy secrets over from the new connection to the existing
6252 connection when updating the connection's settings
6253 - (init): sc_plugin_inotify_init() returns success/fail, not the inotify
6256 * system-settings/plugins/ifcfg-fedora/parser.c
6257 system-settings/plugins/ifcfg-fedora/parser.h
6258 - (connection_data_get, copy_one_cdata_secret, clear_one_cdata_secret,
6259 connection_data_copy_secrets, connection_data_free,
6260 connection_data_add): new functions; connection data manipulation
6261 - (make_wireless_security_setting): stuff secrets into the
6262 connection data, not as GObject data items; make sure to close
6264 - (wireless_connection_from_ifcfg, wired_connection_from_ifcfg): add
6265 connection data to the connection
6267 2008-02-07 Dan Williams <dcbw@redhat.com>
6269 * system-settings/src/nm-system-config-interface.c
6270 system-settings/src/nm-system-config-interface.h
6271 - Add a get_secrets() interface function to retrieve secrets for a
6272 specific setting of a specific connection. Document the interface
6275 2008-02-07 Dan Williams <dcbw@redhat.com>
6277 * src/nm-device-802-11-wireless.c
6278 - (handle_auth_or_fail): new function; consolidate device activation
6279 failure check after a certain number of failures getting secrets
6280 - (supplicant_connection_timeout_cb, real_act_stage2_config,
6281 real_act_stage4_ip_config_timeout): use handle_auth_or_fail() to fail
6282 the connection if secrets were requested more than a few times
6283 - (real_act_stage3_ip_config_start): don't clear the wireless secrets
6284 tries here; otherwise they are cleared before the IP configure
6285 timeout, which happens with open system WEP when key is wrong
6286 - (activation_success_handler): clear wireless secrets tries here too
6288 2008-02-07 Dan Williams <dcbw@redhat.com>
6290 * src/NetworkManagerPolicy.c
6291 - (connection_updated): clear invalid tag when connection gets updated
6292 to allow that connection to be tried again
6293 - (nm_policy_new): save signal ids so they can be disconnected when
6294 the policy is destroyed
6295 - (nm_policy_destroy): stop any in-progress state change idle handler,
6296 and disconnect all signals from the manager object so that none
6297 of the policy functions gets called after the policy is destroyed
6299 2008-02-06 Dan Williams <dcbw@redhat.com>
6302 - (finalize): remove devices a bit earlier; clean up system settings
6304 - (nm_manager_name_owner_changed): clean up system settings poke when
6305 the service appears, and try to restart it if it fails
6306 - (poke_system_settings_daemon_cb): try to get the system settings
6307 service started through D-Bus service activation
6308 - (initial_get_connections): start the system settings daemon if it's
6311 2008-02-05 Dan Williams <dcbw@redhat.com>
6313 * src/supplicant-manager/nm-supplicant-config.c
6314 - (nm_supplicant_config_add_setting_wireless): send scan_ssid=1 for
6315 broadcast networks too
6317 2008-02-04 Dan Williams <dcbw@redhat.com>
6319 * system-settings/plugins/ifcfg-fedora/parser.c
6320 - (make_wireless_security_setting): fix spelling; unencrypted networks
6321 need key_mgmt set too
6322 - (parser_parse_file): validate ifcfg file name and don't try to parse
6323 .bak files; ensure that an error is set whenever NULL gets returned
6325 2008-02-04 Dan Williams <dcbw@redhat.com>
6327 * system-settings/src/Makefile.am
6328 - Install D-Bus service activation file for the system settings
6331 * system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service
6332 - D-Bus service activation file for system settings service
6334 2008-02-04 Dan Williams <dcbw@redhat.com>
6336 * system-settings/src/main.c
6337 - (parse_config_file): parse a config file
6338 - (main): accept --config option and read plugins from config file
6340 2008-02-04 Dan Williams <dcbw@redhat.com>
6342 * system-settings/plugins/ifcfg-fedora/plugin.c
6343 - Change reported name to 'ifcfg-fedora'
6344 - Use IFCFG_PLUGIN_NAME
6346 * system-settings/plugins/ifcfg-fedora/plugin.c
6347 - Remove PLUGIN_NAME, use IFCFG_PLUGIN_NAME instead
6349 2008-02-04 Dan Williams <dcbw@redhat.com>
6351 * system-settings/plugins/ifcfg-fedora/parser.c
6352 - (get_ifcfg_name): new function; factor out ifcfg name finding code
6353 - (make_connection_setting): use get_ifcfg_name()
6354 - (make_wireless_security_setting): handle shadow key files
6355 - (get_one_wep_key): treat empty string as NULL
6357 2008-02-04 Dan Williams <dcbw@redhat.com>
6359 * src/supplicant-manager/nm-supplicant-manager.c
6360 - (poke_supplicant_cb): reschedule the poke as a timeout, don't let
6361 glib automatically reschedule
6362 - (nm_supplicant_manager_init): immediately try to start the supplicant
6363 - (nm_supplicant_manager_name_owner_changed): immediately try to restart
6366 2008-02-01 Dan Williams <dcbw@redhat.com>
6368 * src/NetworkManagerPolicy.c
6369 - (device_state_changed): schedule a change check when a device gets
6370 deactivated so something happens if you disconnect GSM/CDMA
6372 2008-01-31 Dan Williams <dcbw@redhat.com>
6374 * src/nm-device-802-11-wireless.h
6375 src/nm-device-802-11-wireless.c
6376 - (ap_list_get_ap_by_ssid, is_associated,
6377 nm_device_802_11_wireless_ap_list_get_ap_by_ssid,
6378 nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): remove
6379 - (nm_device_802_11_wireless_get_activation_ap): collapse
6380 nm_device_802_11_wireless_ap_list_get_ap_by_obj_path() into this
6383 2008-01-30 Dan Williams <dcbw@redhat.com>
6385 * system-settings/plugins/ifcfg
6386 * system-settings/plugins/ifcfg-fedora
6387 - Move the ifcfg plugin to ifcfg-fedora
6389 2008-01-24 Dan Williams <dcbw@redhat.com>
6391 * libnm-glib/nm-device-802-11-wireless.c
6392 - (get_access_point): move the "/" check here; check for invalid path
6394 - (nm_device_802_11_wireless_set_active_ap): leave the "/" check up
6395 to get_access_point()
6396 - (access_point_added_proxy, access_point_removed_proxy): don't try
6397 to send signals for non-existent access points
6399 2008-01-24 Dan Williams <dcbw@redhat.com>
6401 * libnm-glib/nm-device-802-11-wireless.c
6402 - (nm_device_802_11_wireless_set_active_ap): path of "/" means no AP
6404 2008-01-23 Dan Williams <dcbw@redhat.com>
6406 * libnm-glib/libnm_glib.c
6407 - (libnm_glib_init): make thread joinable
6408 - (libnm_glib_ctx_free): join thread on exit to clean up memory
6410 2008-01-23 Dan Williams <dcbw@redhat.com>
6412 * test/libnm_glib_test.c
6413 - (signal_handler, setup_signals): trap SIGINT and SIGTERM
6414 - (main): set up signal handlers; call libnm_glib_shutdown
6416 2008-01-21 Dan Williams <dcbw@redhat.com>
6418 * include/NetworkManager.h
6419 - Add CDMA mobile broadband card device type
6421 * src/nm-hal-manager.c
6422 - (modem_device_creator): handle both CDMA and GSM modems; the device
6423 must now be tagged with 'cdma' or 'gsm' capability
6425 * src/nm-cdma-device.c
6426 src/nm-cdma-device.h
6428 - Add the CDMA mobile broadband card device class
6430 * libnm-util/nm-connection.c
6431 - (register_default_settings): add NMSettingCdma
6433 * libnm-util/nm-setting-cdma.c
6434 libnm-util/nm-setting-cdma.h
6435 libnm-util/Makefile.am
6436 - Add the CDMA mobile broadband card setting class
6438 * libnm-glib/nm-cdma-device.c
6439 libnm-glib/nm-cdma-device.h
6440 libnm-glib/Makefile.am
6441 - Add the CDMA mobile broadband card GLib proxy class
6443 * libnm-glib/nm-client.c
6444 - (get_device): handle CDMA devices too
6446 2008-01-21 Dan Williams <dcbw@redhat.com>
6448 * src/ppp-manager/nm-ppp-manager.c
6449 - (ip4_config_get): set peer address too
6451 * src/ppp-manager/nm-pppd-plugin.c
6452 - (nm_ip_up): try harder to get the peer's address
6454 * src/NetworkManagerSystem.c
6455 - (nm_system_device_set_from_ip4_config): if the IP4Config has a peer
6456 address, use that too. Otherwise, some PPP connections won't work.
6458 2008-01-19 Dan Williams <dcbw@redhat.com>
6460 * src/NetworkManagerPolicy.c
6461 - (nm_policy_device_change_check): system connections override user
6462 connections; don't activate a user connection if there's a currently
6463 active system connection, and new, better system connections always
6464 interrupt user connections
6466 2008-01-19 Dan Williams <dcbw@redhat.com>
6469 - (nm_manager_get_connection_type): new function
6471 2008-01-19 Dan Williams <dcbw@redhat.com>
6473 * src/nm-device-802-11-wireless.c
6474 - (real_get_best_connection): collapse find_best_connection() into this
6477 2008-01-19 Dan Williams <dcbw@redhat.com>
6479 * src/nm-device-802-3-ethernet.c
6480 - (real_get_best_connection): collapse find_best_connection() into this
6483 2008-01-18 Dan Williams <dcbw@redhat.com>
6485 * src/nm-device-802-3-ethernet.c
6486 - (find_best_connection): check MAC address too
6487 - (real_get_best_connection): let autoconnect=True connections activate
6488 for devices that don't have carrier detection
6490 * src/nm-device-802-11-wireless.c
6491 - (find_best_connection): check MAC address too
6493 2008-01-18 Dan Williams <dcbw@redhat.com>
6495 * system-settings/plugins/ifcfg/parser.c
6496 - (make_connection_setting): interpret ON_BOOT=y as 'autoconnect=True'
6498 2008-01-17 Dan Williams <dcbw@redhat.com>
6500 * src/nm-device-802-3-ethernet.c
6501 - (nm_device_802_3_ethernet_carrier_on,
6502 nm_device_802_3_ethernet_carrier_off): ignore any spurious netlink
6503 carrier events that might come in for devices that don't support
6506 2008-01-17 Dan Williams <dcbw@redhat.com>
6508 * src/nm-device-interface.c
6509 - (nm_device_interface_check_connection_conflicts): need to actually
6510 get the interface, not cast to the object
6513 - (nm_device_check_connection_conflicts): need to get the device class,
6514 not cast the device to the device class
6516 2008-01-17 Dan Williams <dcbw@redhat.com>
6518 * src/nm-device-802-11-wireless.c
6519 - (real_check_connection_conflicts): ignore connections that aren't
6520 wireless connections
6522 2008-01-17 Dan Williams <dcbw@redhat.com>
6524 * src/NetworkManagerPolicy.c
6525 - (nm_policy_device_change_check): clear change check idle here
6526 - (device_change_check_done): remove
6527 - (schedule_change_check): simplify
6529 2008-01-17 Dan Williams <dcbw@redhat.com>
6532 - (check_connection_allowed): take an NMDeviceInterface instead of
6533 an NMDevice object as an argument
6534 - (nm_manager_activate_device): pass an NMDeviceInterface to
6535 check_connection_allowed()
6537 2008-01-13 Dan Williams <dcbw@redhat.com>
6539 * libnm-glib/nm-device-802-11-wireless.c
6540 - (nm_device_802_11_wireless_get_access_points): fix memory leak
6542 2008-01-12 Dan Williams <dcbw@redhat.com>
6544 * src/nm-device-802-11-wireless.c
6545 - (activation_success_handler): if a match was found in the scan list
6546 and that match is a hidden AP, update that AP's SSID
6548 2008-01-11 Dan Williams <dcbw@redhat.com>
6550 * src/NetworkManagerAP.c
6551 - (nm_ap_new_fake_from_connection): mark fake APs as fake
6553 * src/nm-device-802-11-wireless.c
6554 - (get_active_ap): do two passes over the scan list if the caller
6555 requests that hidden APs get matched too; during the second pass
6556 when matching hidden APs, ignore the SSID since hidden APs in the
6557 scan list don't have an SSID yet
6558 - (periodic_update): move some checks to
6559 nm_device_802_11_periodic_update() because not all callers need them
6560 - (nm_device_802_11_periodic_update): move some checks here from
6562 - (merge_scanned_ap): if the current AP is fake, then don't do strict
6563 matching on incoming scan results, because the fake AP's flags
6564 might be slightly different (yet still compatible) with the incoming
6565 scan result's flags and they might actually be the same AP; update
6566 the rate on merged APs too
6567 - (activation_success_handler): update the frequency of the fake AP
6568 on successful connection; match hidden APs too since if the
6569 current AP is fake, there might already be a scan result in the
6570 scan list for the desired AP, just without it's SSID filled in yet
6572 2008-01-10 Dan Williams <dcbw@redhat.com>
6574 * src/NetworkManagerAP.c
6575 - (foreach_property_cb): catch more hidden SSID formats
6577 2008-01-10 Dan Williams <dcbw@redhat.com>
6579 Fix gnome.org #464215. Requires the kernel patch titled
6580 "Introduce WEXT scan capabilities" but will handle the patch not being
6581 present, you'll just continue to have problems with hidden SSIDs when
6582 using mac80211-based drivers.
6584 * src/supplicant-manager/nm-supplicant-config.h
6585 src/supplicant-manager/nm-supplicant-config.c
6586 - (nm_supplicant_config_add_setting_wireless): new parameter to indicate
6587 whether the driver supports SSID scans or not. If it does, and if
6588 the AP is hidden, use ap_scan=1 instead of ap_scan=2
6590 * src/nm-device-802-11-wireless.c
6591 - (constructor): check whether or not the driver supports SSID scans
6592 - (build_supplicant_config): pass driver SSID scan capability when
6593 building the wireless bits of the supplicant config
6595 2008-01-09 Dan Williams <dcbw@redhat.com>
6599 - (device_activation_precheck, check_connection_complete): remove this
6600 virtual function; incomplete connections should be invalid by
6601 definition, complete-ness should be checked in the setting's
6604 * src/nm-serial-device.c
6606 - (real_check_connection_complete): remove
6608 * libnm-util/nm-setting-serial.c
6609 - (verify): new function; ensure there is a PPP setting too
6611 * libnm-util/nm-setting-gsm.c
6612 - (verify): ensure there is a serial setting too
6614 2008-01-06 Dan Williams <dcbw@redhat.com>
6616 * src/dhcp-manager/nm-dhcp-manager.c
6617 - (nm_dhcp_manager_get_ip4_config): handle DHCP-provided MTU
6620 2008-01-04 Dan Williams <dcbw@redhat.com>
6622 * src/named-manager/nm-named-manager.c
6623 - (rewrite_resolv_conf, add_ip4_config_to_named): use primary IP4Config's
6624 nameservers if the secondary config doesn't have any
6627 2008-01-02 Tambet Ingo <tambet@gmail.com>
6629 * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Mark the properties
6630 with G_PARAM_CONSTRUCT so that they get the default values.
6632 * src/nm-gsm-device.c: Add preliminary support for monitoring device. It only monitors
6633 the monitoring device and prints out the output for now. Or more precicely, doesn't
6634 do absolutely anything right now since the montoring device argument is never set.
6636 * src/nm-serial-device.c (serial_debug): Implement. It's very verbose and thus
6637 requires it's own knob to turn it on.
6638 (config_fd): Add NMSettingSerial to the arguments list.
6639 (nm_serial_device_open): Ditto.
6640 (get_reply_got_data): Ignore the terminators at the beginning of the output.
6641 (nm_serial_device_get_io_channel): Implement.
6643 * src/nm-manager.c: Add NMDBusManager to the private data of the NMManager. Asking
6644 a new reference every time (and forgetting to release it sometimes) is a pain and
6645 it's not like NMManager could work without dbus.
6646 (nm_manager_add_device): Register the added device on dbus here.
6648 * src/nm-hal-manager.c (modem_device_creator): Pass NULL for now for the monitoring
6651 * src/nm-device.c (constructor): Don't export the device here, instead export
6652 it when it's added to the NMManager's device list.
6654 2007-12-31 Dan Williams <dcbw@redhat.com>
6656 * src/nm-device-interface.c
6657 src/nm-device-interface.h
6658 - (nm_device_interface_check_connection_conflicts): new function
6662 - (nm_device_check_connection_conflicts): new function
6663 - (device_activation_precheck): don't require subclasses to implement
6664 check_connection_complete()
6665 - check_connection() -> check_connection_complete()
6667 * src/nm-device-802-11-wireless.c
6668 - (real_check_connection): remove; unused
6669 - (real_check_connection_conflicts): implement, handle lockdown for
6672 * src/nm-device-802-3-ethernet.c
6673 - (real_check_connection): remove; unused
6676 - (check_connection_allowed): new function
6677 - (nm_manager_activate_device): ensure the connection being requested
6678 is allowed to be activated
6680 * src/nm-serial-device.c
6682 - real_check_connection() -> real_check_connection_complete()
6684 2007-12-27 Dan Williams <dcbw@redhat.com>
6686 * src/nm-device-interface.c
6687 src/nm-device-interface.h
6688 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
6689 normalize and expand errors
6690 - (nm_device_interface_init): register errors so they can be marshalled
6692 - (nm_device_interface_activate): ensure that failure of activation
6697 - (device_activation_precheck): implementations of check_connection()
6698 now take a GError and must fill it in if the check fails. Return
6699 more descriptive error if the requested connection is already
6701 - (nm_device_activate): actually try to return descriptive errors on
6704 * src/nm-device-802-11-wireless.c
6705 src/nm-device-802-3-ethernet.c
6706 src/nm-serial-device.c
6708 - (real_check_connection): return more descriptive errors on failure
6710 * src/NetworkManagerPolicy.c
6711 - (nm_policy_device_change_check): print activation errors in the logs
6714 - (nm_manager_error_quark, nm_manager_error_get_type,
6715 nm_manager_class_init): new errors
6716 - (nm_manager_activate_device): handle errors
6717 - (nm_manager_error_new): removed
6718 - (wait_for_connection_expired, connection_added_default_handler,
6719 impl_manager_activate_device): better error handling
6721 2007-12-27 Dan Williams <dcbw@redhat.com>
6723 Fixes gnome.org #466954
6725 * src/supplicant-manager/nm-supplicant-settings-verify.c
6726 - Allow 'frequency' network property
6728 * src/supplicant-manager/nm-supplicant-config.c
6729 src/supplicant-manager/nm-supplicant-config.h
6730 - (nm_supplicant_config_add_setting_wireless): add 'adhoc_freq' argument
6731 for callers to specify the frequency an Ad-Hoc network should operate
6732 on. Some drivers require this to successfully create an Ad-Hoc
6735 * src/nm-device-802-11-wireless.c
6736 - (iw_freq_to_uint32): new function; convert a struct iw_freq into a
6737 guint32 value in MHz
6738 - (constructor, nm_device_802_11_wireless_get_frequency): use
6740 - (find_supported_frequency): new function; find a free supported
6741 frequency for a user-created Ad-Hoc network
6742 - (build_supplicant_config): if no frequency was specified for a user-
6743 created Ad-Hoc network, find a free one to use
6744 - (real_act_stage1_prepare): mark Ad-Hoc connections that don't have
6745 a specific object as user-created
6747 2007-12-27 Dan Williams <dcbw@redhat.com>
6749 * libnm-util/nm-utils.c
6750 libnm-util/nm-utils.h
6751 - (nm_utils_security_valid): add 'adhoc' argument and handle security
6754 2007-12-24 Dan Williams <dcbw@redhat.com>
6756 * libnm-util/nm-setting-wireless.c
6757 - (verify): add 802.11a channels 7, 8, 9, 11, 12, 16, 34, 165, 183, 184,
6758 185, 187, 188, 192, and 196
6760 2007-12-24 Dan Williams <dcbw@redhat.com>
6762 * src/nm-device-802-11-wireless.c
6763 - (nm_device_802_11_wireless_get_frequency): handle drivers that return
6764 a channel # instead of a frequency
6766 2007-12-24 Dan Williams <dcbw@redhat.com>
6768 * src/NetworkManagerAP.c
6769 src/NetworkManagerAP.h
6770 - (nm_ap_new_fake_from_connection): pass band to channel_to_freq()
6771 - (freq_to_channel): handle split band tables
6772 - (channel_to_freq): handle split band tables, take a band argument
6774 2007-12-24 Dan Williams <dcbw@redhat.com>
6776 * libnm-util/nm-setting-connection.h
6777 libnm-util/nm-setting-connection.c
6778 - Add 'lockdown' member
6780 2007-12-22 Dan Williams <dcbw@redhat.com>
6782 * libnm-util/nm-setting-wireless.c
6783 - (nm_setting_wireless_class_init): add missing 'rate' property
6786 2007-12-18 Dan Williams <dcbw@redhat.com>
6788 Base the NMNetlinkMonitor class on libnl instead of hand-rolled netlink.
6790 * src/nm-netlink-monitor.c
6791 src/nm-netlink-monitor.h
6792 - Remove handrolled netlink, use libnl instead
6794 * src/nm-device-802-3-ethernet.c
6795 - (constructor, nm_device_802_3_ethernet_carrier_off,
6796 nm_device_802_3_ethernet_carrier_on): use new names
6798 2007-12-17 Dan Williams <dcbw@redhat.com>
6801 - Bump requirement for libnl to 1.0-pre8 (which works with newer kernels
6802 and fixes memory leaks)
6805 - (nm_netlink_get_default_handle): handle new versions of libnl that
6806 automatically handle the netlink PID
6808 2007-12-17 Dan Williams <dcbw@redhat.com>
6810 Patch from Michael Biebl <biebl@debian.org>
6813 src/ppp-manager/Makefile.am
6814 - fix up install dir of pppd plugin
6815 - clean up configure.in a bit
6817 2007-12-12 Dan Williams <dcbw@redhat.com>
6819 * system-settings/src/nm-system-settings.conf
6820 - Allow non-root clients (like the applet) to read settings
6822 2007-12-10 Tambet Ingo <tambet@gmail.com>
6824 * Replace all occurences of 'UMTS' with 'GSM'.
6826 2007-12-07 Dan Williams <dcbw@redhat.com>
6828 * src/nm-serial-device.c
6829 - (real_is_up): serial devices are always "up"
6831 2007-12-07 Dan Williams <dcbw@redhat.com>
6834 src/NetworkManagerSystem.c
6835 - (new_nl_handle): ensure that the same netlink pid is never chosen
6836 twice (gnome.org #491047)
6837 - Make more robust against allocation-related failures should they occur
6839 2007-12-07 Dan Williams <dcbw@redhat.com>
6841 Noticed by Christian Persch <chpe@gnome.org>
6843 Always chain up to parent object in dispose and finalize handlers.
6846 2007-12-07 Dan Williams <dcbw@redhat.com>
6848 * src/nm-device-802-11-wireless.c
6849 - Wrap #include of linux/mii.h to fix redefined structures due to
6850 incorrect kernel headers (gnome.org #350061)
6852 2007-12-06 Tambet Ingo <tambet@gmail.com>
6854 * src/nm-umts-device.c (real_act_stage1_prepare): Flash the modem (drop DTR)
6855 before doing anything else.
6856 (init_modem): Move modem initialization here.
6858 * src/nm-serial-device.c (ppp_state_changed): React on pppd state changes.
6859 (nm_serial_device_flash): Implement.
6861 * src/ppp-manager/nm-ppp-manager.c (name_owner_changed): Fix the typoes: the state
6862 changes signal is "StateChanged" and not "Status".
6863 (ppp_exit_code, ppp_status_changed): Remove the debug output, it's working fine now.
6865 2007-12-06 Dan Williams <dcbw@redhat.com>
6867 * src/supplicant-manager/nm-supplicant-config.c
6868 - (nm_supplicant_config_add_setting_wireless_security): reorganize a bit
6869 to only send some options when they make sense; also send phase2
6870 option to the supplicant (possible fix for rh #399631)
6872 2007-12-06 Tambet Ingo <tambet@gmail.com>
6874 * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Change the
6875 arguments: This whole file shouldn't really know anything about NMDevices, it
6876 should deal only with device interfaces. Devices might have different ifaces for
6877 different stuff and this place shouldn't know anything about it.
6879 * src/NetworkManagerPolicy.c: Get rid of leftover global variable global_policy.
6880 (global_state_changed): Implement. In the current NM it's not really important,
6881 but will be required in the case of multiple active devices. (Or even better,
6882 if stuff like that gets moved out from NM).
6884 * src/vpn-manager/nm-vpn-connection.c (connection_state_changed): Don't call
6885 nm_system_device_set_from_ip4_config() directly, use nm_device_set_ip4_config()
6888 * src/nm-device.c: Add a ip_face protected member. It's used for 'multi-interface'
6889 devices like serial devices (ttyS0 and ppp0 for example).
6890 (nm_device_get_ip_iface): Implement. Default to the device iface if ip_iface is not
6892 (nm_device_set_ip_iface): Implement.
6893 (nm_device_activate_stage5_ip_config_commit): Move all the extra actions that happen
6894 after setting ip4_config from here ...
6895 (nm_device_set_ip4_config): ... to here. The reason behind it is that no other code
6896 than this function should call nm_system_device_set_from_ip4_config() because no
6897 other code has enough information on which arguments to use. So instead, other code
6898 could just set the new ip4 config using this function and everyone is happy.
6900 * src/nm-umts-device.c: Store the pending ids so that we can remove pending actions
6901 if we happen to get deactivated while something is pending.
6902 (automatic_registration): Handle the response that indicates pending network
6903 registration and wait until the pending registration is done.
6904 (real_deactivate_quickly): If there's a pending operation, cancel it.
6906 * src/nm-serial-device.c (ppp_ip4_config): Set the ip_iface when the iface is up ...
6907 (real_deactivate_quickly): ... and remove it when it's down.
6908 (nm_serial_device_get_reply): Return the timeout id so that the callers can remove
6910 (nm_serial_device_wait_for_reply): Ditto.
6912 2007-12-05 Tambet Ingo <tambet@gmail.com>
6914 * src/nm-umts-device.c (dial_done): Fix the typoes in warnings.
6915 (get_network_done): Remove newline, nm_info() does it already.
6916 (real_act_stage1_prepare): Turn the modem echo off.
6918 * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): In case of serial
6919 device, set the route to the device interface. This is a hack.
6921 * src/nm-serial-device.c (nm_serial_device_send_command_string): Only append carriage
6922 return, no need for a new-line.
6923 (ppp_ip4_config): Store the ip4 config to be set in the next stage.
6924 Change the device iface here (ugh).
6925 (real_act_stage4_get_ip4_config): Implement.
6926 (real_deactivate_quickly): Free the pending ip4 config if it's still pending.
6927 Restore the device iface.
6929 * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Do nothing if the active
6930 device is not wired or wireless (eg, automatically upped) device.
6932 * src/ppp-manager/nm-ppp-manager.c (ip4_config_get): Don't make the config secondary,
6934 (nm_ppp_manager_start): Don't let pppd to set the default route, we want to do it.
6936 * src/nm-hal-manager.c (get_creator): Make sure the device has required capability
6937 before calling it's is_device_fn().
6939 2007-12-05 Dan Williams <dcbw@redhat.com>
6941 * libnm-util/nm-utils.c
6942 - (nm_utils_register_value_transformations,
6943 nm_utils_convert_gvalue_hash_to_string): better debug output of
6944 GHashTables of GValues too
6946 2007-12-04 Dan Williams <dcbw@redhat.com>
6948 * initscript/RedHat/NetworkManager.in
6949 - No longer start named; it's D-Bus interface is going away
6951 2007-12-04 Dan Williams <dcbw@redhat.com>
6953 Patch from Michael Biebl <biebl@debian.org>
6955 * system-settings/plugins/ifcfg/Makefile.am
6956 system-settings/src/main.c
6957 system-settings/src/Makefile.am
6958 - Put system settings plugins in NM plugins dir
6960 * src/ppp-manager/Makefile.am
6961 src/ppp-manager/nm-ppp-manager.c
6962 - Move pppd plugin to NM plugins dir
6964 2007-12-04 Dan Williams <dcbw@redhat.com>
6966 * libnm-util/nm-setting-vpn-properties.h
6967 - Clarify usage of the 'data' member of the setting
6969 * libnm-util/nm-setting-vpn-properties.c
6970 - (nm_setting_vpn_properties_init): initialize the 'data' hash table
6971 - (set_property): just remove all the settings; don't recreate the has
6972 - (update_one_secret): don't need to create the hash table here since
6973 it should always be present
6975 2007-12-03 Tambet Ingo <tambet@gmail.com>
6977 Implement PIN and PUK requesting.
6979 * src/nm-umts-device.c (enter_pin_done): Request the secret again if it failed.
6980 (enter_pin): Handle PIN and PUK requests.
6981 (real_act_stage1_prepare): Clear the secret type.
6982 (real_connection_secrets_updated): Implement this class method to get
6983 notified when new secrets arrive.
6984 (nm_umts_device_class_init): Add private data back to the umts device class
6985 to store the required secret type.
6987 2007-12-01 Dan Williams <dcbw@redhat.com>
6989 * system-settings/plugins/ifcfg/parser.c
6990 - (parser_parse_file): don't try to verify NULL connections
6992 2007-12-01 Dan Williams <dcbw@redhat.com>
6994 * system-settings/src/main.c
6995 - (load_connections, add_connection_to_settings): actually export
6996 plugin-provided connections over D-Bus so NM can get them
6998 2007-12-01 Dan Williams <dcbw@redhat.com>
7000 * system-settings/plugins/ifcfg/parser.c
7001 system-settings/plugins/ifcfg/parser.h
7002 system-settings/plugins/ifcfg/plugin.c
7003 - Hook up more inotify bits (untested)
7005 2007-11-29 Dan Williams <dcbw@redhat.com>
7007 * system-settings/src/nm-system-config-interface.h
7008 system-settings/src/nm-system-config-interface.c
7009 - (nm_system_config_interface_init,
7010 nm_system_config_interface_get_connections): add
7012 * system-settings/src/main.c
7013 - (load_plugins, load_connections, main): use a GSList for plugins
7014 to ensure priority ordering
7016 * system-settings/plugins/ifcfg/parser.c
7017 - (ifcfg_error_quark): move to plugin.c, and rename
7019 * system-settings/plugins/ifcfg/plugin.h
7020 system-settings/plugins/ifcfg/plugin.c
7021 - (ifcfg_plugin_error_quark): move here from parser.c
7022 - rework connection loading and initialization
7023 - Add preliminary inotify support for network profile config file
7025 2007-11-28 Tambet Ingo <tambet@gmail.com>
7027 Merge the beginnings of the new GSM card support.
7029 * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Remove the
7030 ppp watch source before killing pppd - If this happens from g_object_unref()
7031 then the ppp manager is already destroyed by the time the watch callback runs.
7033 * src/nm-hal-manager.c: Add a device_type_name string to the device
7034 creators, so that we can print a nice human readable string when a
7037 * src/nm-umts-device.c (automatic_registration_get_network): Query
7038 for the activated network, not much is done with the result thought.
7040 * src/nm-serial-device.c (nm_serial_device_get_reply): Implement.
7041 (ppp_ip4_config): Change the device state to activated here for now.
7042 (real_check_connection): Make sure the connection includes ppp setting.
7044 * libnm-glib/nm-client.c (get_device): Handle umts devices.
7046 * libnm-glib/Makefile.am: Add the new files to build.
7048 * libnm-glib/nm-umts-device.c:
7049 * libnm-glib/nm-umts-device.h: Implement.
7051 2007-11-26 Tambet Ingo <tambet@gmail.com>
7053 * src/nm-umts-device.c (automatic_registration_get_network): For now, dial
7054 immediately, nm_serial_device_get_reply() isn't implemented correctly yet.
7056 * src/nm-serial-device.c (wait_for_reply_info_destroy): Don't try to remove
7057 the timeout source - this function is only called when the timeout source has
7059 (nm_serial_device_wait_for_reply): Allocate the duplicate responses array
7060 to be big enough to contain the terminating zero element as well.
7061 The timeout argument is meant to be in seconds now.
7062 (real_deactivate_quickly): Implement.
7064 * src/NetworkManager.conf: Allow root to own
7065 "org.freedesktop.NetworkManager.PPP", deny it for everybody else.
7067 * libnm-util/nm-setting-umts.c: Network type and band properties are ints,
7068 (not unsigned ints).
7070 * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Fix a
7071 small issue with parity bounds - capital letters have lower ascii codes
7072 than lower case letters.
7074 * libnm-util/nm-connection.c (register_default_settings): Register serial
7077 2007-11-22 Tambet Ingo <tambet@gmail.com>
7079 Remove the "index" property from devices as not all device types have this.
7081 * include/NetworkManager.h (NM_DBUS_PATH_DEVICE): Remove.
7083 * src/nm-hal-manager.c (nm_get_device_index_from_hal): Remove.
7084 (wired_device_creator): Get the device interface from hal to create the device.
7085 (wireless_device_creator): Ditto.
7087 * src/nm-device.c (nm_device_init): Remove the index member.
7088 (constructor): Remove the checks for index property, make interface property
7089 a require constructor property.
7090 Use the HAL udi for DBus path for devices.
7091 (nm_device_get_index): Remove.
7092 (set_property): Remove index handling.
7093 (get_property): Ditto.
7094 (nm_device_get_dbus_path): Remove.
7096 * src/nm-device-interface.c (nm_device_interface_init): Remove the index
7099 * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_link_activated):
7100 Access the device index through it's interface.
7101 (nm_device_802_3_ethernet_link_deactivated): Ditto.
7102 (nm_device_802_3_ethernet_new): Remove the useless argument test_dev. Remove
7103 index argument. Add interface argument.
7105 * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new): Remove
7106 the useless test_dev argument. Remove index argument. Add interface arugment.
7108 * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Get the
7109 device index through interface.
7110 (nm_system_set_mtu): Ditto.
7112 * introspection/nm-device.xml: Remove the "Index" property.
7114 2007-11-21 Tambet Ingo <tambet@gmail.com>
7116 * src/nm-serial-device.c:
7117 * src/nm-serial-device.c:
7118 * src/nm-umts-device.c:
7119 * src/nm-umts-device.h: Implement.
7121 * src/nm-hal-manager.c (nm_get_device_driver_name): libhal_free_string the string
7122 allocated by libhal.
7123 (modem_device_creator): Implement.
7124 (register_built_in_creators): Register the modem creator.
7126 * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new):
7127 Remove the unused test_dev argument.
7129 * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_new): Ditto.
7131 * src/Makefile.am: Add new files to build.
7132 Link in ppp-manager.
7134 * libnm-util/nm-setting-umts.c:
7135 * libnm-util/nm-setting-umts.h:
7136 * libnm-util/nm-setting-serial.c:
7137 * libnm-util/nm-setting-serial.h: Implement.
7139 * libnm-util/Makefile.am: Add new files to build.
7141 2007-11-28 Dan Williams <dcbw@redhat.com>
7143 Patch from Zdeněk Jurka <zdenek.jurka@jware.cz>
7145 Support DHCP-provided static routes.
7147 * src/nm-ip4-config.h
7149 - Add get/set functions for static routes
7151 * src/dhcp-manager/nm-dhcp-manager.c
7152 - (nm_dhcp_manager_get_ip4_config): extract static routes from the
7155 * src/NetworkManagerSystem.c
7156 - (nm_system_device_set_from_ip4_config): set any static routes on the
7157 interface when applying the IP4Config
7159 2007-11-28 Dan Williams <dcbw@redhat.com>
7161 * src/nm-device-802-11-wireless.c
7162 - (real_act_stage1_prepare): mark APs created for hidden networks
7165 2007-11-27 Dan Williams <dcbw@redhat.com>
7167 * system-settings/src/nm-system-config-interface.h
7168 - Note how to store secrets on NMSetting objects
7170 * system-settings/src/dbus-settings.c
7171 - (connection_settings_get_secrets): implement
7173 2007-11-27 Dan Williams <dcbw@redhat.com>
7175 * system-settings/plugins/ifcfg/Makefile.am
7176 system-settings/plugins/ifcfg/parser.c
7177 system-settings/plugins/ifcfg/parser.h
7178 system-settings/plugins/ifcfg/plugin.c
7179 - Parse wireless connections too
7181 * system-settings/src/dbus-settings.c
7182 system-settings/src/dbus-settings.h
7183 system-settings/src/main.c
7184 - Handle connection update/removal if the plugin supports it
7186 2007-11-27 Dan Williams <dcbw@redhat.com>
7188 * src/nm-dbus-manager.h
7189 src/nm-hal-manager.c
7190 - Include the correct headers now that NetworkManagerDbusUtils.h doesn't
7194 src/NetworkManagerDbusUtils.c
7195 src/NetworkManagerDbusUtils.h
7196 - Remove these two source files; they are unused
7198 2007-11-27 Dan Williams <dcbw@redhat.com>
7200 * src/vpn-manager/nm-vpn-manager.c
7201 - (impl_vpn_manager_connect): fix system settings check (found by
7204 2007-11-26 Dan Williams <dcbw@redhat.com>
7206 * Fix warnings so everything compiles with --enable-more-warnings
7208 2007-11-25 Dan Williams <dcbw@redhat.com>
7211 - Rework structure and code to use GModule-loaded plugins and a plugin
7212 interface that plugins export to the system settings service
7214 2007-11-21 Dan Williams <dcbw@redhat.com>
7217 - Add Soren's system settings service. Needs work for distros other
7218 than Fedora; the backends from NM should mostly migrate to here
7219 and be converted to GObjects
7221 2007-11-21 Dan Williams <dcbw@redhat.com>
7223 * libnm-util/nm-setting-vpn-properties.c
7224 - (set_property): must deep-copy the given settings hash, otherwise
7225 double-free errors occur when the setting is disposed of
7227 2007-11-21 Dan Williams <dcbw@redhat.com>
7229 * src/vpn-manager/nm-vpn-act-request.h
7230 src/vpn-manager/nm-vpn-act-request.c
7233 2007-11-20 Dan Williams <dcbw@redhat.com>
7235 * libnm-util/nm-utils.c
7236 - (nm_utils_convert_strv_to_string, nm_utils_convert_uint_array_to_string,
7237 nm_utils_convert_ip4_addr_struct_array_to_string,
7238 nm_utils_register_value_transformations): print out the readable
7239 values of more types of properties of NMSettings subclasses
7241 2007-11-20 Dan Williams <dcbw@redhat.com>
7243 * libnm-util/nm-setting-ip4-config.c
7244 - (ip4_addresses_from_gvalue, ip4_addresses_to_gvalue,
7245 nm_setting_ip4_config_class_init): apparently dbus-glib can't
7246 marshal GValueArrays inside collections, so switch to types that it
7247 can actually marshal/demarshal
7249 2007-11-16 Dan Williams <dcbw@redhat.com>
7251 * libnm-util/nm-setting-wireless-security.c
7252 - (verify_tls, verify_ttls, verify_identity, verify_nai): do some
7253 minimal verification of EAP methods too
7254 - (verify): verify phase1 eap methods too
7256 2007-11-15 Dan Williams <dcbw@redhat.com>
7258 * libnm-glib/nm-device.h
7259 libnm-glib/nm-device.c
7260 - (nm_device_get_product, nm_device_get_vendor): should be returning
7263 2007-11-15 Dan Williams <dcbw@redhat.com>
7265 * libnm-glib/nm-device.c
7266 - (get_product_and_vendor): don't try to free things that should be
7269 2007-11-15 Dan Williams <dcbw@redhat.com>
7271 * src/NetworkManagerUtils.c
7272 - (nm_ethernet_address_is_valid): unbreak previous fix
7274 2007-11-15 Dan Williams <dcbw@redhat.com>
7276 * src/supplicant-manager/nm-supplicant-config.c
7277 - (nm_supplicant_config_add_setting_wireless_security): handle PEAP
7280 2007-11-15 Dan Williams <dcbw@redhat.com>
7282 * src/NetworkManagerUtils.c
7283 - (nm_ethernet_address_is_valid): fix style, clarify
7284 - (nm_ethernet_addresses_are_equal): don't try to memcmp NULLs
7286 * src/nm-device-802-11-wireless.c
7287 - (get_active_ap): handle failure from nm_device_802_11_wireless_get_bssid()
7288 - (nm_device_802_11_wireless_get_ssid,
7289 nm_device_802_11_wireless_get_bssid,
7290 nm_device_802_11_wireless_get_bitrate): zero the wreq structure
7291 before calling the ioctl; fixes valgrind-reported jump depends on
7292 uninitialized value errors
7294 2007-11-15 Dan Williams <dcbw@redhat.com>
7296 * libnm-util/nm-setting.c
7297 - (nm_setting_to_hash, one_property_cb): revert previous commit, it's
7298 unecessary to serialize 'name'
7300 * src/nm-activation-request.c
7301 - (get_secrets_cb): fix cases where a full NMSetting is returned from
7304 2007-11-15 Dan Williams <dcbw@redhat.com>
7306 * libnm-util/nm-setting-connection.h
7307 libnm-util/nm-setting-connection.c
7308 - Rename the 'name' property to 'id', because it conflicted with the
7309 NMSetting superclass' 'name' property.
7311 * libnm-util/nm-setting.c
7312 - (nm_setting_to_hash): serialize the 'name' property
7313 - (one_property_cb): ignore 'name' on deserialization of a connection
7315 * src/nm-device-802-11-wireless.c
7316 src/vpn-manager/nm-vpn-connection.c
7317 src/NetworkManagerPolicy.c
7318 - Fix up for NMSettingConnection 'name'->'id' changes
7320 2007-11-13 Dan Williams <dcbw@redhat.com>
7322 * libnm-glib/nm-device-802-11-wireless.h
7323 libnm-glib/nm-device-802-11-wireless.c
7324 - (nm_device_802_11_wireless_get_hw_address): return should be const
7327 libnm-glib/libnm-glib-test.c
7328 - Fixes for above change
7330 2007-11-12 Dan Williams <dcbw@redhat.com>
7332 * src/supplicant-manager/nm-supplicant-settings-verify.c
7333 - Allow fragment_size option
7335 * src/supplicant-manager/nm-supplicant-settings-verify.c
7336 - (nm_supplicant_config_add_setting_wireless_security): use a lower
7337 EAP fragment size than the default to help some TLS connections
7339 2007-11-12 Dan Williams <dcbw@redhat.com>
7341 Make certs actually work. The private key is now a secret, and should be
7342 decrypted when requested by NM. The private key and phase2 private key
7343 passwords are no longer interesting to NM because they should be used by
7344 the settings service to decrypt the private key itself before passing it
7345 to NM, and hence have been removed as fields.
7347 * libnm-util/nm-setting-wireless-security.h
7348 libnm-util/nm-setting-wireless-security.c
7349 - Remove private-key-passwd and phase2-private-key-passwd from
7351 - (need_secrets_password, need_secrets_eappsk, need_secrets_sim,
7352 need_secrets): use property #defines instead strings to keep things
7354 - (need_secrets_tls): if a client certificate is present but no
7355 private key, request the private key
7356 - (set_property, get_property, nm_setting_wireless_security_class_init):
7357 remove private key password stuff, mark private keys as secret
7359 * src/supplicant-manager/nm-supplicant-settings-verify.c
7360 - Remove private_key_passwd and private_key2_passwd from opt_table
7362 2007-11-09 Dan Williams <dcbw@redhat.com>
7364 Fix vpn-properties setting update_secrets call for new NMSetting stuff.
7365 Since the vpn-properties are managed and known by the VPN daemons themselves,
7366 libnm-util doesn't know what's secret and what's in the setting's 'data'
7369 * libnm-util/nm-setting.h
7370 libnm-util/nm-setting.c
7371 - Add the ability for subclasses to override update_one_secret
7373 * libnm-util/nm-setting-vpn-properties.c
7374 - Override update_one_secret and just copy the values into the
7377 2007-11-09 Dan Williams <dcbw@redhat.com>
7379 * libnm-glib/nm-settings.h
7380 libnm-glib/nm-settings.c
7381 - (nm_settings_new_error): remove
7382 - (nm_settings_error_quark): add; instead of nm_settings_new_error,
7383 clients should use g_set_error() with NM_SETTINGS_ERROR
7385 2007-11-09 Dan Williams <dcbw@redhat.com>
7387 * src/supplicant-manager/nm-supplicant-config.c
7388 - (nm_supplicant_config_add_setting_wireless_security): private key
7389 passwords are never sent to wpa_supplicant, because the supplicant
7390 should never be reading random files from the disk. Clients like
7391 the applet are required to decrypt the private keys and send NM
7392 the decrypted blobs.
7394 2007-11-08 Dan Williams <dcbw@redhat.com>
7396 * libnm-util/nm-setting-wireless-security.h
7397 libnm-util/nm-setting-wireless-security.c
7398 - Add 'private-key-decrypted' and 'phase2-private-key-decrypted'
7399 members to 802-11-wireless-security structure. This should be used
7400 to indicate that the values in private-key and phase2-private-key
7401 are already decrypted by the user agent, and that no
7402 private-key-passwd or phase2-private-key-passwd should be expected.
7403 It is not meant to be a stored configuration value, but meant to
7404 be set when the conneciton is sent to NM over dbus.
7406 2007-11-08 Dan Williams <dcbw@redhat.com>
7408 * libnm-util/nm-connection.h
7409 libnm-util/nm-connection.c
7410 - (nm_connection_need_secrets): add argument to return hints
7412 * src/nm-device-802-11-wireless.c
7413 - (link_timeout_cb, supplicant_connection_timeout_cb,
7414 real_act_stage2_config, real_act_stage4_ip_config_timeout): handle
7415 nm_connection_need_secrets() change
7417 2007-11-07 Tambet Ingo <tambet@gmail.com>
7419 Rework NMSetting structures: Move each setting to it's own file.
7420 Convert to GObject. Remove home grown setting types and use GTypes.
7421 Use GObject property introspection for hash conversion, enumerating
7424 * libnm-util/nm-setting-connection.[ch]
7425 * libnm-util/nm-setting-ip4-config.[ch]
7426 * libnm-util/nm-setting-ppp.[ch]
7427 * libnm-util/nm-setting-vpn.[ch]
7428 * libnm-util/nm-setting-vpn-properties.[ch]
7429 * libnm-util/nm-setting-wired.[ch]
7430 * libnm-util/nm-setting-wireless.[ch]
7431 * libnm-util/nm-setting-wireless-security.[ch]
7433 New files, each containing a setting.
7435 * libnm-util/nm-setting-template.[ch]: A template for creating new
7436 settings. To use it, just replace 'template' with the new setting
7437 name, and you're half-way done.
7439 * libnm-util/nm-setting.c: Convert to GObject and use GObject
7440 introspection instead of internal types and tables.
7442 * libnm-util/nm-connection.c: Adapt the new NMSetting work.
7444 * libnm-util/nm-param-spec-specialized.[ch]: Implement. Handles
7445 GValue types defined by dbus-glib for composed types like collections,
7446 structures and maps.
7448 * src/*: The API of NMSetting and NMConnection changed a bit: Getting
7449 a setting from connection takes the setting type now. Also, since
7450 the settings are in multiple files, include relevant settings.
7452 2007-10-31 Saleem Abdulrasool <compnerd@compnerd.org>
7455 * src/backends/NetworkManagerGentoo.c:
7456 (nm_system_restart_mdns_responder): Implement restarts for other mdns
7457 providers in Gentoo.
7459 2007-10-31 Dan Williams <dcbw@redhat.com>
7461 * libnm-util/nm-connection.c
7462 - (gvalue_to_string): handle UINT32 arrays
7464 2007-10-31 Dan Williams <dcbw@redhat.com>
7466 * libnm-glib/nm-device.h
7467 libnm-glib/nm-device.c
7468 - (nm_device_get_description): remove
7469 - (nm_device_get_product, nm_device_get_vendor): add
7470 - (nm_device_update_description): new function (private); walk HAL
7471 devices to get product and vendor IDs for a specific device
7473 2007-10-31 Dan Williams <dcbw@redhat.com>
7475 * src/nm-device-802-11-wireless.c
7476 - (nm_device_802_11_wireless_get_mode): ignore ENODEV errors
7478 2007-10-29 Dan Williams <dcbw@redhat.com>
7480 * src/nm-hal-manager.c
7481 - (device_added, device_new_capability): ignore device additions while
7482 asleep. Fixes crash caused when NM goes to sleep, a network device
7483 kernel module is unloaded and reloaded and recognized by NM again.
7485 2007-10-26 Dan Williams <dcbw@redhat.com>
7487 Patch from Helmut Schaa <hschaa@suse.de> (and more bits from me)
7489 * src/NetworkManagerAP.c
7490 src/NetworkManagerAP.h
7491 libnm-glib/nm-access-point.c
7492 libnm-glib/nm-access-point.h
7493 - Make 'rate' property a guint32 to better match with WEXT and
7494 wpa_supplicant and to allow representation of higher bitrates
7496 * src/nm-device-802-11-wireless.c
7497 introspection/nm-device-802-11-wireless.xml
7498 libnm-glib/nm-device-802-11-wireless.c
7499 libnm-glib/nm-device-802-11-wireless.h
7500 - Make 'bitrate' property a guint32 to match AP 'rate' property type
7502 * src/nm-device-802-3-ethernet.c
7503 src/nm-device-802-3-ethernet.h
7504 introspection/nm-device-802-3-ethernet.xml
7505 libnm-glib/nm-device-802-3-ethernet.c
7506 libnm-glib/nm-device-802-3-ethernet.h
7507 - Make 'speed' property a guint32 to match other speed/rate types
7508 - Make nm_device_802_3_ethernet_get_speed() static
7511 - Update for the changes above
7513 2007-10-26 Dan Williams <dcbw@redhat.com>
7515 * src/named-manager/nm-named-manager.c
7516 - (rewrite_resolv_conf): clean up error handling to avoid double-free by
7517 not calling fclose() twice on some error conditions
7519 2007-10-26 Dan Williams <dcbw@redhat.com>
7521 * src/nm-activation-request.c
7522 - (dispose): clean up indentation; get the right DBusGProxy object to
7523 cancel the GetSecrets pending call on. Need to use the Secrets
7524 proxy, not the regular connection proxy. Otherwise the GetSecrets
7525 pending call doesn't get canceled, and pressing Cancel in the
7526 applet's password dialog could cause get_secrets_cb() to be called
7527 after the activation request has already been destroyed
7529 2007-10-24 Dan Williams <dcbw@redhat.com>
7531 * src/supplicant-manager/nm-supplicant-config.c
7532 - (nm_supplicant_config_add_blob): pass blob data and length for
7534 - (get_hash_cb): use GByteArrays rather than GArrays; easier to follow
7536 2007-10-24 Dan Williams <dcbw@redhat.com>
7538 * src/supplicant-manager/nm-supplicant-settings-verify.c
7539 - (opt_table): max length for certificates should be 65536
7541 2007-10-24 Dan Williams <dcbw@redhat.com>
7543 * src/supplicant-manager/nm-supplicant-interface.c
7544 - (blob_free): correctly free blob data after use
7545 - (call_set_blobs): use the right D-Bus interfaace for setBlobs
7547 2007-10-24 Dan Williams <dcbw@redhat.com>
7549 * libnm-util/nm-setting.c
7550 - (setting_wireless_security_need_secrets): Fix lookup table logic for
7551 EAP method need secrets
7553 2007-10-24 Dan Williams <dcbw@redhat.com>
7555 * src/backends/NetworkManagerRedHat.c
7556 - (nm_system_update_dns): be a lot smarter about telling nscd to restart
7558 2007-10-23 Dan Williams <dcbw@redhat.com>
7560 * libnm-util/nm-setting.c
7561 libnm-util/nm-setting.c
7562 - (nm_setting_compare): implement
7563 - (default_setting_compare_fn, do_one_compare, compare_gvalue_hash,
7564 compare_one_hash_gvalue): compare the contents of a setting
7566 * libnm-util/nm-connection.c
7567 - (nm_connection_compare): implement
7569 2007-10-23 Dan Williams <dcbw@redhat.com>
7571 * src/nm-activation-request.c
7572 - (get_secrets_cb): handle getting a setting back that is more than
7573 just secrets (ie, user changed auth or EAP method or something)
7575 2007-10-23 Dan Williams <dcbw@redhat.com>
7577 * libnm-util/nm-setting.c
7578 libnm-util/nm-setting.h
7579 - (nm_setting_verify): new function; verify one setting
7580 - (nm_settings_verify_all): rename from nm_settings_verify()
7581 - (setting_connection_verify, setting_wireless_verify): allow NULL
7584 * libnm-util/nm-connection.c
7585 - (nm_connection_replace_settings, nm_connection_verify,
7586 nm_connection_new_from_hash): handle nm_settings_verify() rename
7588 2007-10-23 Dan Williams <dcbw@redhat.com>
7590 * src/nm-device-802-11-wireless.c
7591 - (real_act_stage2_config): use pre-increment on 'tries' to get the
7594 2007-10-23 Dan Williams <dcbw@redhat.com>
7596 * src/supplicant-manager/nm-supplicant-settings-verify.c
7597 - eap_allowed, phase2_allowed: harmonize with allowed values from
7600 2007-10-23 Dan Williams <dcbw@redhat.com>
7602 * src/nm-device-802-11-wireless.c
7603 - (real_act_stage2_config): after the first association failure,
7604 if the connection still needs secrets ask the user for them
7605 explicitly. After the fourth association failure due to bad
7606 secrets, fail the connection entirely. Handles the GetSecrets
7607 loop that NM gets into when the provided secrets don't match up
7608 with the connection details.
7610 2007-10-23 Dan Williams <dcbw@redhat.com>
7612 * src/supplicant-manager/nm-supplicant-config.c
7613 - (nm_supplicant_config_add_setting_wireless_security): only add
7614 WPA-specific options when WPA is in use
7616 2007-10-23 Dan Williams <dcbw@redhat.com>
7618 * src/supplicant-manager/nm-supplicant-config.c
7619 - (nm_supplicant_config_add_setting_wireless_security): 'password'
7620 secret doesn't need to be unhexified
7622 2007-10-23 Dan Williams <dcbw@redhat.com>
7624 * libnm-util/nm-setting.c
7625 - (setting_wireless_security_need_secrets): ensure auth_alg is !NULL
7626 before trying to do something with it
7628 2007-10-23 Dan Williams <dcbw@redhat.com>
7630 * src/nm-device-802-11-wireless.c
7631 - (merge_scanned_ap): handle NULL ssids returned from nm_ap_get_ssid()
7633 2007-10-23 Dan Williams <dcbw@redhat.com>
7635 * src/nm-device-802-11-wireless.c
7636 - (merge_scanned_ap): use libnm-util empty SSID check to catch more
7637 non-SSID-broadcasting APs
7639 2007-10-23 Dan Williams <dcbw@redhat.com>
7641 * src/NetworkManagerAP.c
7642 - (match_cipher, security_compatible): remove
7643 - (nm_ap_check_compatible): use nm_utils_ap_security_compatible() from
7646 2007-10-23 Dan Williams <dcbw@redhat.com>
7648 * libnm-util/nm-utils.c
7649 libnm-util/nm-utils.h
7650 - (nm_utils_ap_security_compatible): common function for checking
7651 whether a specific AP is compatible with an NMConnection
7653 2007-10-23 Dan Williams <dcbw@redhat.com>
7655 * libnm-util/nm-setting.c
7656 - (setting_wireless_security_need_secrets, need_secrets_phase2,
7657 need_secrets_tls, need_secrets_sim, need_secrets_eappsk,
7658 need_secrets_password, setting_wireless_security_verify): fix
7659 need_secrets for IEEE 802.1x and WPA-EAP by implementing need
7660 secrets logic for each supported EAP method
7662 2007-10-23 Dan Williams <dcbw@redhat.com>
7664 * src/supplicant-manager/nm-supplicant-config.c
7665 - (nm_supplicant_config_add_setting_wireless_security): fix wpa_supplicant
7666 config option name, should be "private_key2_passwd"
7668 2007-10-22 Tambet Ingo <tambet@gmail.com>
7670 Implement support for static IP addresses, additional/overridden DNS and
7671 DNS domain search lists.
7673 * libnm-util/nm-setting.c (uint_array_to_gvalue): Implement.
7674 (ip4_addresses_to_gvalue): Implement.
7675 (convert_array_to_byte_array): Implement.
7676 (nm_setting_populate_from_hash_default): Handle NM_S_TYPE_UINT_ARRAY and
7677 NM_S_TYPE_IP4_ADDRESSES.
7678 (nm_setting_hash): Ditto.
7679 (default_setting_clear_secrets): Add a default case for the switch: IP address
7680 shouldn't be secret, ever.
7681 (setting_ip4_config_verify): Update, requires addresses in case of manual
7683 (setting_ip4_config_destroy): Free stuff.
7685 * src/nm-device.c (merge_ip4_config): Implement.
7686 (real_act_stage4_get_ip4_config): Merge IP4 configuration from NMConnection.
7688 2007-10-22 Dan Williams <dcbw@redhat.com>
7690 * libnm-util/nm-setting.c
7691 - (setting_wireless_security_verify): allow WEP-40 and WEP-104 as
7692 pairwise cipher options for Dynamic WEP
7694 2007-10-21 Dan Williams <dcbw@redhat.com>
7696 * src/NetworkManagerAP.c
7697 src/NetworkManagerAP.h
7698 - Rename 'articifical' -> 'fake' since that's what they are until
7700 - (nm_ap_new_fake_from_connection): new function to create a 'fake' AP
7701 from the attributes in an NMConnection object
7702 - (security_compatible): better handle Dynamic WEP and LEAP; handle
7704 - (nm_ap_match_in_list): find a matching AP in a scan list
7706 * src/nm-device-802-11-wireless.c
7707 - (get_active_ap): add an 'ignore_ap' argument to ignore a specific
7708 AP when searching the scan list; match on frequency and mode too
7709 - (nm_device_802_11_wireless_get_frequency): implement
7710 - (merge_scanned_ap): replace duplicate matching logic with
7711 nm_ap_match_in_list()
7712 - (real_act_stage1_prepare): handle a NULL specific object; ie where
7713 the user is trying to connect to a hidden network that is not yet
7714 known from the scan list
7715 - (activation_success_handler): now that the card knows the AP's BSSID,
7716 there may already be a scanned AP in the scan list that is what
7717 we really wanted to connect to, but didn't know at the time. Use
7718 that instead of the 'fake' AP created at activation start and get
7719 rid of the 'fake' AP
7720 - (cull_scan_list): don't remove fake APs
7722 2007-10-21 Dan Williams <dcbw@redhat.com>
7724 * src/nm-activation-request.h
7725 src/nm-activation-request.c
7726 - (nm_act_request_set_specific_object): new function; allow setting the
7727 specific object if one isn't set yet
7729 2007-10-20 Dan Williams <dcbw@redhat.com>
7731 * src/supplicant-manager/nm-supplicant-config.h
7732 src/supplicant-manager/nm-supplicant-config.c
7733 - (nm_supplicant_config_init, nm_supplicant_config_finalize): add a hash
7734 table to store blobs
7735 - (nm_supplicant_config_add_blob): new function; add blob to internal
7737 - (nm_supplicant_config_get_blobs): new function; get stored blobs
7738 - (nm_supplicant_config_add_setting_wireless_security): handle
7739 options that use certificates (ie, blobs)
7741 * src/nm-device-802-11-wireless.c
7742 - (build_supplicant_config): pass a UID (just use the connection path)
7743 to the supplicant config as now required
7745 * src/supplicant-manager/nm-supplicant-interface.c
7746 - (add_network_cb, call_set_blobs, set_blobs_cb, call_set_network): if
7747 there are any blobs to send to wpa_supplicant, send those first
7748 before sending the network configuration
7750 2007-10-19 Dan Williams <dcbw@redhat.com>
7752 Split the GetSecrets() call off to a separate D-Bus interface so that it
7753 can be more easily locked down with D-Bus policy. Only 'root' (ie, NM)
7754 should be able to call GetSecrets().
7756 * include/NetworkManager.h
7757 - Define the connection secrets D-Bus interface
7759 * src/vpn-manager/nm-vpn-connection.c
7760 - (clear_need_auth): get the right proxy object for the connection
7762 - (get_connection_secrets): use the connection secrets proxy; send
7763 empty hints in get secrets request
7765 * src/nm-activation-request.c
7766 - (nm_act_request_request_connection_secrets): use the connection
7767 secrets proxy; send empty hints in get secrets request
7771 - (connection_get_settings_cb): set the connection secrets proxy on
7772 the connection object too
7773 - (internal_new_connection_cb): create the connection secrets proxy
7775 * introspection/nm-settings-connection.xml
7776 - Define Connection.Secrets interface and move GetSecrets there
7777 - Add a 'hints' argument to GetSecrets
7779 * libnm-glib/nm-settings.c
7780 libnm-glib/nm-settings.h
7781 - (impl_connection_settings_get_secrets): add 'hints' argument
7783 2007-10-19 Dan Williams <dcbw@redhat.com>
7786 - (constructor): add message about what path a device is exported as
7787 to help in debugging rh #339011
7789 2007-10-17 Dan Williams <dcbw@redhat.com>
7791 * libnm-util/nm-utils.h
7792 libnm-util/nm-utils.c
7793 - (nm_utils_security_valid): common function to help find the intersection
7794 of capabilities of devices and (optionally) access points
7796 2007-10-17 Dan Williams <dcbw@redhat.com>
7798 * src/nm-device-802-11-wireless.c
7799 - (get_wireless_capabilities): add missing braces so that WPA capabilities
7800 don't get erroneously cleared
7802 2007-10-17 Dan Williams <dcbw@redhat.com>
7806 src/nm-hal-manager.c
7807 - (device_removed, finalize, nm_manager_remove_device,
7808 nm_manager_sleep): add a 'deactivate' argument to
7809 nm_manager_remove_device() to fully deactivate devices when necessary
7810 (ie, always except when waking up)
7812 2007-10-16 Dan Williams <dcbw@redhat.com>
7814 * libnm-util/nm-setting.c
7815 - (setting_wireless_security_verify): fix phase2_auth methods; 'sim'
7816 also isn't valid phase2 autheap method
7818 2007-10-16 Dan Williams <dcbw@redhat.com>
7820 * libnm-glib/nm-client.c
7821 - (update_wireless_status): consolidate updates of wireless status
7822 - (constructor): use update_wireless_status()
7823 - (manager_running): set wireless status off when NM goes away; requery
7824 the wireless status when NM comes back
7826 2007-10-16 Dan Williams <dcbw@redhat.com>
7828 * libnm-glib/nm-client.c
7829 - (nm_client_activate_device): actually use the fixed-up specific
7832 2007-10-16 Dan Williams <dcbw@redhat.com>
7834 * src/nm-hal-manager.c
7835 - (killswitch_getpower_reply, nm_hal_manager_destroy): only print out
7836 killswitch error messages once
7838 2007-10-16 Dan Williams <dcbw@redhat.com>
7841 - (manager_set_wireless_enabled): don't allow wireless to be enabled
7842 if it's disabled in hardware; don't touch network devices while
7845 2007-10-16 Dan Williams <dcbw@redhat.com>
7847 * libnm-util/nm-client.c
7848 - (nm_client_activate_device): convert NULL specific_object to "/",
7849 which is used in place of NULL
7852 - (impl_manager_activate_device): convert "/" specific_object back into
7855 2007-10-16 Tambet Ingo <tambet@gmail.com>
7857 Implement a generic NMSetting creator from setting name.
7858 While at it, get rid of all nm_setting_foo_new_from_hash() functions and
7859 add a virtual function 'populate_fn'.
7861 * libnm-util/nm-connection.c (nm_connection_create_setting): Implement.
7862 (register_default_creators): Register setting creators instead of functions
7863 that create and then populate.
7864 (parse_one_setting): Use the common setting creator and then setting specific
7865 poplulation function.
7867 * libnm-util/nm-setting.c: Get rid of nm_setting_foo_new_from_hash() functions,
7868 they all looked exactly the same.
7869 Add a 'populate_fn' virtual function to NMSetting.
7870 Use default virtual functions in case they are not overriden.
7871 (nm_setting_populate_from_hash): Implement.
7873 * src/nm-device.c (real_act_stage3_ip_config_start): Don't hard code the setting
7874 name, use a defined string.
7875 (real_act_stage4_get_ip4_config): Ditto.
7877 2007-10-16 Tambet Ingo <tambet@gmail.com>
7879 * src/nm-hal-manager.c (killswitch_getpower_reply): The type returned from
7880 HAL is int, not uint.
7882 2007-10-15 Tambet Ingo <tambet@gmail.com>
7884 Implement killswitch polling through HAL.
7886 * src/nm-manager.c: Add wireless hardware status property. Add
7887 'properties-changed' signal for changes in wireless and wireless hardware
7890 * src/nm-hal-manager.c: Poll hal for killswitch statuses in every 6 seconds
7891 and update NMManager's wireless hardware state when it has changed.
7892 (nm_hal_manager_new): Don't try to add initial devices here - (hal_init)
7895 * libnm-glib/nm-client.c: Add wireless hardware status property. Cache the
7896 values of wireless state and wireless hardware state. Listen for the
7897 'properties-changed' signals, update the cached values and emit notify.
7899 * include/NetworkManager.h: Fix a typo in a comment.
7901 2007-10-14 Dan Williams <dcbw@redhat.com>
7903 * libnm-util/nm-setting.c
7904 - (setting_wireless_security_need_secrets): handle LEAP secrets
7906 2007-10-13 Dan Williams <dcbw@redhat.com>
7908 * libnm-util/nm-setting.h
7909 libnm-util/nm-setting.c
7910 src/supplicant-manager/nm-supplicant-config.c
7911 - Make the 'proto' field of the 802-11-wireless-security field a
7914 2007-10-12 Tambet Ingo <tambet@gmail.com>
7916 Rework the "properties-changed" signal listening implementation.
7917 Add a generic implementation to NMObject class that listens for
7918 the signal and calls property setters of the target NMObject.
7920 * libnm-glib/nm-object.c (nm_object_handle_properties_changed): Implement.
7922 * libnm-glib/nm-device-802-11-wireless.c: Move the GObject consturction
7923 code to the end of file so that all the static functions are available
7924 without extra declarations.
7925 Remove the "properties-changed" signal handling and use the framework from
7927 Implement property setters for properties that change with
7928 "properties-changed" signal.
7930 * libnm-glib/nm-access-point.c: Ditto.
7932 2007-10-12 Tambet Ingo <tambet@gmail.com>
7934 Rework the "properties-changed" signal implementation.
7935 In classes that need to use it, just emit "GObject::notify" and the new
7936 framework takes care of the rest to make the signal available on dbus.
7937 The framework queues the notifications and tries to send as many together
7938 in one signal as possible.
7940 * src/nm-properties-changed-signal.c:
7941 * src/nm-properties-changed-signal.h: Implement.
7943 * src/Makefile.am: Add new files to build.
7945 * src/NetworkManagerAP.c: Use the general framework for properties-changed
7948 * src/nm-device-802-11-wireless.c: Ditto.
7950 2007-10-10 Dan Williams <dcbw@redhat.com>
7953 - (wait_for_connection_expired): ensure info is valid
7954 - (connection_added_default_handler): Should only remove pending
7955 connection info when the manager has the connection that it's
7956 waiting for. Fixes segfault in wait_for_connection_info().
7958 2007-10-10 Dan Williams <dcbw@redhat.com>
7960 * libnm-util/nm-setting.c
7961 libnm-util/nm-setting.h
7962 - Add a default 'user_name' field to the VPN setting, which VPN plugins
7963 can use if they choose. Should be filled in by the settings service
7964 on-the-fly with the currently logged in user's username
7966 2007-10-10 Dan Williams <dcbw@redhat.com>
7968 * src/nm-device-802-11-wireless.c
7969 - (merge_scanned_ap): make sure non-SSID-broadcasting APs are marked
7970 as such, because even if the manager fills in the SSID, NM still
7971 has to indicate to wpa_supplicant that the AP isn't broadcasting
7974 2007-10-10 Tambet Ingo <tambet@gmail.com>
7976 Move ppp-manager over to dbus-glib. The big deal is that it was the last piece of
7977 code that used NM's own version of dbus signal handling and custom dictionary
7978 marshalling/unmarshalling. With this change, all that obsolete code can disappear
7979 and we get to maintain over 2000 lines less code.
7981 * libnm-util/dbus-dict-helpers.c:
7982 * libnm-util/dbus-dict-helpers.h: Remove.
7984 * src/ppp-manager/nm-pppd-plugin.c: Convert it to use dbus-glib.
7986 * src/ppp-manager/nm-pppd-plugin.xml: Implement.
7988 * src/ppp-manager/nm-ppp-manager.c: Use dbus-glib instead of home-brewed dbus signal
7991 * src/nm-dbus-manager.c: Remove all the manual dbus signal handling.
7993 * configure.in: Remove test/libnm-util/Makefile creation.
7995 * test/Makefile.am: Remove libnm-util from SUBDIRS.
7997 * test/libnm-util/: Remove the whole directory.
7999 2007-10-10 Tambet Ingo <tambet@gmail.com>
8001 * src/NetworkManagerPolicy.c (nm_policy_new): Initialize the
8002 device_state_changed_idle_id variable or it would contain some random value and the
8003 schedule_change_check calls would not do anything.
8005 2007-10-09 Dan Williams <dcbw@redhat.com>
8007 * src/nm-device-802-11-wireless.c
8008 - (supplicant_iface_scanned_ap_cb): set the non-broadcast flag elsewhere
8009 - (merge_scanned_ap): only have the manager fill the SSID if the AP
8010 isn't broadcasting its SSID; set the non-broadcast flag here; fix
8011 merging of non-SSID-broadcasting APs
8013 2007-10-09 Tambet Ingo <tambet@gmail.com>
8015 * libnm-util/nm-utils.c (nm_utils_is_empty_ssid): Convert the ssid type to
8016 "guint8 *" since it's usually used with GByteArray->data.
8017 (nm_utils_ssid_to_utf8): Add it back, the applet needs it.
8019 2007-10-09 Tambet Ingo <tambet@gmail.com>
8021 * src/NetworkManagerUtils.c
8022 (nm_utils_is_empty_ssid):
8023 (nm_utils_escape_ssid):
8024 (nm_utils_same_ssid): Remove. These functions are copied and pasted in a
8025 lot of places, so they belong to libnm-utils instead.
8027 Now with 100% less compiler warnings:
8029 * libnm-util/nm-utils.c (nm_dbus_escape_object_path): Remove, unused.
8030 (nm_dbus_unescape_object_path): Ditto.
8031 (nm_utils_ssid_to_utf8): Ditto.
8032 (nm_utils_is_empty_ssid): Move here from src/NetworkManagerUtils.c
8033 (nm_utils_escape_ssid): Ditto.
8034 (nm_utils_same_ssid): Ditto.
8036 * src/nm-manager.c: Include 'netinet/ether.h' for ether_aton_r.
8037 (add_one_connection_element): Remove an unused variable.
8038 (impl_manager_get_active_connections): Ditto.
8040 * src/NetworkManagerPolicy.c (get_device_connection): Remove an unused
8043 * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Remove a leftover
8044 from the previous commit.
8046 * src/nm-device-802-11-wireless.c (set_current_ap): Remove unused variable.
8047 (real_act_stage1_prepare): Ditto.
8048 (activation_success_handler): Ditto.
8049 (get_property): Ditto.
8051 * src/nm-device-802-3-ethernet.c (real_get_best_connection): Remove unused
8054 * src/ppp-manager/nm-pppd-plugin.c (nm_ip_up): Remove the check for 'ifname',
8057 * src/supplicant-manager/nm-supplicant-config.c
8058 (nm_supplicant_config_add_setting_wireless): Cast the GByteArray's 'guint8 *'
8059 to expected "char *".
8060 (nm_supplicant_config_add_setting_wireless): Ditto.
8061 (nm_supplicant_config_remove_option): Remove, not used.
8063 * libnm-glib/libnm-glib-test.c (dump_access_point): Frequency is a guint32,
8065 (test_wireless_enabled): Ifdef out unused function.
8066 (device_deactivate): Ditto.
8067 (device_state_changed): Ditto.
8068 (nm_utils_is_empty_ssid): Remove, it's now in libnm-utils.
8069 (nm_utils_escape_ssid): Ditto.
8071 * test/nm-tool.c (nm_utils_escape_ssid): Remove, it's now in libnm-utils.
8072 (nm_utils_is_empty_ssid): Ditto.
8074 * libnm-glib/nm-client.c (nm_client_free_active_connection_element): Remove
8077 * libnm-util/nm-setting.c (setting_wireless_destroy): Remove unused variable.
8078 (setting_vpn_properties_update_secrets): Ditto.
8079 (int_to_gvalue): Ifdef out for now, not used.
8080 (byte_to_gvalue): Ditto.
8082 * libnm-util/dbus-dict-helpers.c (_nmu_dbus_add_dict_entry_string_array):
8085 2007-10-08 Tambet Ingo <tambet@gmail.com>
8087 * src/NetworkManager.c (main): When dbus manager doesn't want to start, complain
8088 about dbus manager, not named manager.
8089 Make sure hal_manager and dbus_mgr are created before trying to unreference.
8091 * src/nm-dbus-manager.c: There was an issue with priv->proxy: We have a signal
8092 handler for it's 'destroy' signal - we use it to catch disconnects from dbus.
8093 However, the same signal is emitted when we destroy it and there's
8094 nm_dbus_manager_cleanup -> destroy_cb -> nm_dbus_manager_cleanup cycle.
8096 (nm_dbus_manager_cleanup): Let go of the DBusGProxy before
8097 releasing the DBusGConnection, since proxy needs a conneciton.
8098 (destroy_cb): Set the private proxy to NULL before cleaning up the manager.
8100 2007-10-08 Dan Williams <dcbw@redhat.com>
8102 * src/NetworkManager.c
8103 - (main): error on unknown command-line options
8105 2007-10-08 Dan Williams <dcbw@redhat.com>
8107 Reimplement the invalid connection list. Don't try to re-activate a
8108 connection that just failed or was canceled.
8111 - (connection_secrets_failed_cb): fail device activation, don't just
8112 deactivate the device. Listeners have to know about the failure.
8114 * src/NetworkManagerPolicy.c
8115 - (nm_policy_auto_get_best_device): exclude invalid connections from
8116 the connection list given to a device's get_best_connection()
8118 - (device_state_changed): tag failed connections as invalid; clear the
8119 tag from successful connections
8121 2007-10-08 Dan Williams <dcbw@redhat.com>
8123 Fix problems with interrupted activation. Previously, choosing an AP
8124 from the menu, then choosing another one before the first connection was
8125 successful wouldn't deactivate the device before starting the new connection
8126 on that same device.
8128 * src/NetworkManagerPolicy.c
8129 - (deactivate_old_device, device_state_changed, state_changed,
8130 nm_policy_new): wrong place to deactivate old devices
8133 - (pending_connection_info_destroy, finalize,
8134 wait_for_connection_expired): decouple destruction of the pending
8135 connection info from the manager device
8136 - (connection_added_default_handler): deactivate any active or
8137 activating device before starting a new activation
8138 - (impl_manager_activate_device): deactivate any active or activating
8139 device before starting a new activation; be sure not to leak
8140 pending connection info if a new activation request arrives but
8141 there's already a pending one in-process
8143 2007-10-08 Dan Williams <dcbw@redhat.com>
8145 * src/NetworkManagerAP.h
8146 src/NetworkManagerAP.c
8147 - (nm_ap_has_manufacturer_default_ssid): remove, unused. User clients
8148 should handle default SSIDs and whether or not to autoconnect
8151 2007-10-08 Dan Williams <dcbw@redhat.com>
8153 * src/NetworkManagerPolicy.c
8154 - (nm_policy_device_change_check): print out connection name where
8157 2007-10-08 Dan Williams <dcbw@redhat.com>
8159 * src/nm-device-802-11-wireless.c
8160 src/nm-device-802-11-wireless.h
8161 - (nm_device_802_11_wireless_class_init, merge_scanned_ap): new
8162 'hidden-ap-found' signal (for internal use only) that allows the
8163 NMManager to fill in the AP's SSID if a connection has that AP's
8164 BSSID in its seen-bssids list
8167 - (manager_hidden_ap_found, nm_manager_add_device): attach to a
8168 wireless device's hidden-ap-found signal and fill in the APs SSID
8171 2007-10-07 Dan Williams <dcbw@redhat.com>
8175 - Add a 'connections-added' signal to batch together updates of large
8176 numbers of connections, like when reading from a settings service
8177 the first time. Otherwise, the policy would just activate the first
8178 suitable connection it saw rather than waiting for the full list
8180 - (nm_manager_class_init): register new signal
8181 - (get_type_for_proxy, connection_get_settings_cb,
8182 get_connection_for_proxy): centralize places where a proxy's setting
8183 service is determined
8184 - (free_get_settings_info): if the call being freed is the last call
8185 in a pending call group, fire off the connections-added signal
8186 - (internal_new_connection_cb): add call to a pending call group if
8188 - (list_connections_cb): always create a call group here, because this
8189 call results in a batch of new connections
8190 - (initial_get_connections): start getting system connections first
8191 - (nm_manager_connections_destroy, emit_removed): actually emit the
8192 removed signal when destroying connections
8194 * src/NetworkManagerPolicy.c
8195 - (nm_policy_new, connections_added): handle connections-added signal
8198 2007-10-06 Dan Williams <dcbw@redhat.com>
8200 * src/nm-device-802-11-wireless.c
8201 - (constructor): fix leaked socket
8203 2007-10-06 Dan Williams <dcbw@redhat.com>
8205 * src/NetworkManagerPolicy.c
8206 - (nm_policy_auto_get_best_device): fix connection list reffing. Each
8207 connection in the list returned by nm_manager_get_connections() is
8208 reffed, but they weren't getting unreffed before returning
8210 2007-10-06 Dan Williams <dcbw@redhat.com>
8213 - (connections_to_slist): sort connections first on autoconnect, then
8216 2007-10-06 Dan Williams <dcbw@redhat.com>
8218 * libnm-util/nm-connection.c
8219 - (gvalue_to_string): handle UINT64
8221 2007-10-06 Dan Williams <dcbw@redhat.com>
8223 * src/NetworkManagerPolicy.c
8224 - (connection_updated, nm_policy_new): recheck state when a connection
8227 2007-10-06 Dan Williams <dcbw@redhat.com>
8231 - (nm_manager_get_connection_dbus_path): make static
8232 - (nm_manager_update_connections): remove; unused
8233 - Add a connection-updated signal
8234 - (new_connection_cb, connection_updated_cb, nm_manager_class_init):
8235 handle connection object updates
8237 2007-10-06 Dan Williams <dcbw@redhat.com>
8239 * src/NetworkManagerPolicy.c
8240 - (connection_removed): deactivate removed connections
8242 2007-10-06 Dan Williams <dcbw@redhat.com>
8244 * libnm-util/nm-connection.c
8245 libnm-util/nm-connection.h
8246 - (nm_connection_replace_settings): new function
8248 2007-10-06 Dan Williams <dcbw@redhat.com>
8250 * libnm-glib/nm-device-802-11-wireless.c
8251 - (nm_device_802_11_wireless_get_active_access_point): don't segfault
8252 on error when getting the active access point over D-Bus from NM
8254 2007-10-05 Dan Williams <dcbw@redhat.com>
8256 * libnm-util/nm-setting.c
8257 - (setting_wireless_verify, setting_wireless_destroy): add seen_bssids
8258 to the NMSettingWireless table; it's now a string array not an array
8261 2007-10-05 Dan Williams <dcbw@redhat.com>
8263 * libnm-glib/nm-device-802-11-wireless.c
8264 - Cache properties and update cached properties on D-Bus signals from NM
8266 2007-10-05 Dan Williams <dcbw@redhat.com>
8268 * src/nm-device-802-11-wireless.c
8269 - (set_current_ap): consolidate current_ap handling code into one place
8270 to ensure that PropertiesChanged signals are emitted in all cases
8271 - (periodic_update, real_deactivate_quickly, real_act_stage1_prepare,
8272 nm_device_802_11_wireless_dispose): use set_current_ap()
8274 2007-10-05 Dan Williams <dcbw@redhat.com>
8276 * libnm-glib/nm-access-point.c
8277 libnm-glib/nm-access-point.h
8278 - (nm_access_point_get_hw_address): return 'const char *', not 'char *'
8279 because the value is cached internally now. Callers should not
8280 free the internal value.
8281 - Make signal name defines private
8284 libnm-glib/libnm-glib-test.c
8285 - Don't free value returned from nm_access_point_get_hw_address()
8287 2007-10-04 Dan Williams <dcbw@redhat.com>
8289 * introspection/nm-device-802-11-wireless.xml
8290 src/nm-device-802-11-wireless.h
8291 src/nm-device-802-11-wireless.c
8292 - Add a PropertiesChanged signal for wireless device
8293 - Store currently associated access point
8294 - (periodic_update): generalize; update rate here too and emit the
8295 correct PropertiesChanged signal when stuff changes
8296 - (real_deactivate_quickly, nm_device_802_11_wireless_dispose,
8297 real_activation_cancel_handler): clear current_ap when device is
8299 - (link_to_specific_ap, get_ap_blacklisted,
8300 nm_device_802_11_wireless_get_best_ap): remove obsolete and unused
8302 - (nm_device_802_11_wireless_get_bitrate): make static; unused anywhere
8304 - (real_set_hw_address): emit property changed signal if the card's
8306 - (real_act_stage1_prepare): set the initial current_ap to the AP
8307 the card is supposed to be connecting to
8308 - (activation_success_handler): send out property updates on successful
8310 - (get_property): pull bitrate from cached value; use OBJECT_PATH type
8311 for ACTIVE_ACCESS_POINT property because sometimes there won't be
8312 one and dbus-glib doesn't like marshalling NULL G_TYPE_OBJECTs
8313 - (nm_device_802_11_wireless_class_init): ACTIVE_ACCESS_POINT property
8314 is now boxed; add PropertiesChanged signal
8316 2007-10-04 Dan Williams <dcbw@redhat.com>
8318 * libnm-util/nm-connection.c
8319 libnm-util/nm-connection.h
8320 - (nm_connection_verify): new function
8322 2007-10-04 Dan Williams <dcbw@redhat.com>
8324 * libnm-util/nm-setting.c
8325 - (nm_settings_verify): use #defines when possible rather than strings
8326 - (setting_connection_verify): ensure that 'name' and 'type' are valid
8327 - (setting_vpn_verify): tighter validity check on 'service_type'
8329 2007-10-04 Dan Williams <dcbw@redhat.com>
8331 * libnm-glib/nm-settings.c
8332 - (nm_connection_settings_class_init): provide correct type for argument
8333 to the Updated signal so that dbus-glib knows how to marshal it
8335 2007-10-03 Dan Williams <dcbw@redhat.com>
8337 * src/nm-device-802-3-ethernet.c
8338 - (real_get_best_connection): don't create automatic connections
8339 internally; clients should provide a setting that applies to
8340 the device with 'autoconnect: True'. Problem was that these
8341 internally auto-created connections don't have a proxy or service
8342 name becuase they weren't created by a settings daemon, and therefore
8343 clients have no idea what to do with them.
8345 2007-10-03 Dan Williams <dcbw@redhat.com>
8347 * src/nm-device-802-11-wireless.c
8348 src/nm-device-802-11-wireless.h
8349 introspection/nm-device-802-11-wireless.xml
8350 - GetActiveNetworks -> GetAccessPoints
8351 - ActiveNetwork -> ActiveAccessPoint
8352 - NetworkAdded -> AccessPointAdded
8353 - NetowrkRemoved -> AccessPointRemoved
8355 * libnm-glib/nm-device-802-11-wireless.c
8356 libnm-glib/nm-device-802-11-wireless.h
8357 - network-added signal -> access-point-added
8358 - network-removed signal -> access-point-removed
8359 - nm_device_802_11_wireless_get_active_network() ->
8360 nm_device_802_11_wireless_get_active_access_point()
8361 - nm_device_802_11_wireless_get_network_by_path() ->
8362 nm_device_802_11_wireless_get_access_point_by_path()
8363 - nm_device_802_11_wireless_get_networks() ->
8364 nm_device_802_11_wireless_get_access_points()
8366 * libnm-glib/libnm-glib-test.c
8368 src/NetworkManagerPolicy.c
8369 - Fixups for Network -> AccessPoint
8371 2007-10-03 Dan Williams <dcbw@redhat.com>
8373 Add a GetActiveConnections() method on the Manager object.
8377 introspection/nm-manager.xml
8378 - (connection_get_settings_cb): keep connection type around too
8379 - (impl_manager_get_active_connections, add_one_connection_element):
8380 implement; returns all active connections and what devices they
8383 * libnm-glib/nm-client.c
8384 libnm-glib/nm-client.h
8385 introspection/nm-manager-client.xml
8386 - (nm_client_get_devices): GPtrArray elements are allocated and owned
8387 by the caller; free here to avoid memory leak
8388 - (nm_client_get_active_connections): implement; return the list of
8390 - (nm_client_free_active_connection_element): implement; free an element
8391 of the GSList returned by nm_client_get_active_connections()
8393 2007-10-03 Dan Williams <dcbw@redhat.com>
8395 * src/nm-device-802-11-wireless.c
8396 - (nm_device_802_11_wireless_update_bssid): remove
8397 - (get_active_ap): new function; find the AP in the scan list which
8398 matches the current BSSID and SSID of the wireless device
8399 - (nm_device_802_11_periodic_update): get current AP using
8400 get_active_ap() and print AP roam messages
8402 2007-10-01 Dan Williams <dcbw@redhat.com>
8404 * libnm-util/nm-setting.h
8405 - Add a 'timestamp' option to NMSettingConnection
8408 * libnm-util/nm-setting.c
8409 - (uint64_to_gvalue): new function
8410 - (nm_setting_populate_from_hash, nm_setting_hash,
8411 default_setting_clear_secrets): handle UINT64 type
8412 - con_table: add 'timestamp' member
8414 2007-10-01 Dan Williams <dcbw@redhat.com>
8417 - (impl_manager_activate_device): ensure the D-Bus method sends a return
8418 value when the connection can be activated immediately
8420 2007-10-01 Dan Williams <dcbw@redhat.com>
8422 * libnm-glib/nm-device.c
8423 - (nm_device_class_init): actually tell glib about the carrier-changed
8426 2007-10-01 Dan Williams <dcbw@redhat.com>
8429 src/marshallers/Makefile.am
8430 src/marshallers/nm-marshal.list
8431 src/marshallers/nm-marshal-main.c
8432 - Consolidate glib marshallers into one place
8434 * src/dhcp-manager/Makefile.am
8435 src/dhcp-manager/nm-dhcp-manager.c
8436 src/supplicant-manager/Makefile.am
8437 src/supplicant-manager/nm-supplicant-manager.c
8438 src/supplicant-manager/nm-supplicant-interface.c
8439 src/ppp-manager/Makefile.am
8440 src/ppp-manager/nm-ppp-manager.c
8441 src/vpn-manager/Makefile.am
8442 src/vpn-manager/nm-vpn-connection.c
8444 - Use consolidated marshallers
8446 * src/dhcp-manager/nm-dhcp-marshal.list
8447 src/dhcp-manager/nm-dhcp-marshal-main.c
8448 src/supplicant-manager/nm-supplicant-marshal-main.c
8449 src/supplicant-manager/nm-supplicant-marshal.list
8450 src/nm-marshal-main.c
8452 src/ppp-manager/nm-ppp-marshal-main.c
8453 src/ppp-manager/nm-ppp-marshal.list
8454 src/vpn-manager/nm-vpn-marshal-main.c
8455 src/vpn-manager/nm-vpn-marshal.list
8458 2007-10-01 Dan Williams <dcbw@redhat.com>
8460 * include/NetworkManagerVPN.h
8461 - define VPN connection state change reason codes
8463 * src/vpn-manager/Makefile.am
8464 src/vpn-manager/nm-vpn-marshal.list
8465 src/vpn-manager/nm-vpn-marshal-main.c
8466 - Add marshallers for StateChanged signal
8468 * introspection/nm-vpn-connection.xml
8469 - New Banner property
8470 - StateChanged signal now includes a 'reason' argument
8472 * src/vpn-manager/nm-vpn-connection.c
8473 src/vpn-manager/nm-vpn-connection.h
8474 - Add a "Banner" property that contains the returned VPN server login
8475 banner (if any); valid only in the ACTIVATED state
8476 - (nm_vpn_connection_set_state, nm_vpn_connection_disconnect): now takes
8477 a 'reason' argument and emits that reason along with the
8478 state-changed signal
8479 - Fix up calls to nm_vpn_connection_set_state() to include a reason
8480 - (nm_vpn_connection_ip4_config_get): save banner for later
8481 - (nm_vpn_connection_get_banner, get_property,
8482 nm_vpn_connection_class_init): implement Banner property
8484 * src/vpn-manager/nm-vpn-service.c
8485 - (nm_vpn_service_connections_stop): take a reason argument; copy the
8486 connection list because elements may get added/removed from it
8487 while iterating over the list
8488 - (connection_state_changed): signal now includes the 'reason' argument
8490 * libnm-glib/nm-vpn-connection.c
8491 libnm-glib/nm-vpn-connection.h
8492 - (nm_vpn_connection_get_banner): new function
8493 - (state_changed_proxy): handle reason argument
8495 2007-09-28 Tambet Ingo <tambet@gmail.com>
8499 Implement device activation through NMManager.
8500 Implement "pending device activation" here - If the connection isn't found,
8501 we try to wait for up to 5 seconds for the connection to be provided.
8502 Add NMConnectionType argument to "connection-added" and "connection-removed"
8504 (nm_manager_get): Remove. Finally.
8506 * src/nm-activation-request.c:
8507 * src/nm-activation-request.h:
8508 Remove all the deferred activation code.
8510 * src/nm-device.c: Remove all the deferred activation code. Once the device
8511 activation is started, it's started. Update the activation virtual function
8514 * src/nm-device-interface.c:
8515 * src/nm-device-interface.h:
8516 Device activation now takes only NMActRequest argument.
8517 Don't expose device activation directly on dbus, it's supposed to go through
8520 * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Make the code
8522 Use the new device activation methods through NMManager.
8524 * introspection/nm-manager-client.xml:
8525 * introspection/nm-manager.xml:
8526 * libnm-glib/nm-client.c:
8527 * libnm-glib/nm-client.h:
8528 Add device activation method.
8530 * libnm-glib/nm-device.c:
8531 * libnm-glib/nm-device.h:
8532 * introspection/nm-device.xml:
8533 Remove device activation method. It's done through NMManager now.
8535 * src/vpn-manager/nm-vpn-manager.c (impl_vpn_manager_connect): Use the shiny
8536 new (nm_manager_get_device_by_path) function, get rid of our own )find_device).
8538 2007-09-28 Dan Williams <dcbw@redhat.com>
8540 * libnm-glib/nm-vpn-connection.c
8541 - (nm_vpn_connection_get_state): try to update state if the current
8544 2007-09-27 Dan Williams <dcbw@redhat.com>
8546 Patch from Bill Nottingham
8548 * src/supplicant-manager/nm-supplicant-config.c
8549 - (ADD_STRING_VAL): use correct length for binary blobs when sending
8550 data to the supplicant
8552 2007-09-27 Dan Williams <dcbw@redhat.com>
8554 * src/NetworkManagerSystem.c
8555 - (nm_system_vpn_device_set_from_ip4_config): clean up indentation;
8556 and all address manipulation here should be happening on the
8557 _VPN_ device, not the active device
8559 2007-09-26 Dan Williams <dcbw@redhat.com>
8563 src/nm-activation-request.c
8564 src/nm-activation-request.h
8565 - Move the GetSecrets stuff out of the NMManager instance because it
8566 doesn't really need to be there and complicates things
8569 - (connection_secrets_failed_cb, device_activation_go): connect to the
8570 connection-secrets-failed signal and deactivate the device if
8571 the GetSecrets call fails
8573 * src/nm-device-802-11-wireless.c
8574 - (link_timeout_cb, supplicant_connection_timeout_cb,
8575 real_act_stage2_config, real_act_stage4_ip_config_timeout): request
8576 secrets and give correct hints about whether new secrets should be
8577 asked for by the client or not
8579 2007-09-26 Dan Williams <dcbw@redhat.com>
8581 * src/vpn-manager/nm-vpn-connection.c
8582 - (nm_vpn_connection_set_state, clear_need_auth, finalize,
8583 connection_secrets_updated_cb, get_secrets_cb): don't need to attach
8584 to the secrets-updated signal of the NMConnection since updating
8585 the secrets is done within the scope of the NMVPNConnection object
8587 - (get_connection_secrets): fix an uninialized variable usage error
8589 2007-09-26 Dan Williams <dcbw@redhat.com>
8591 * libnm-util/nm-setting.c
8592 - (setting_vpn_properties_update_secrets): implement so VPN secrets
8593 actually get updated when the user enters them
8595 2007-09-26 Dan Williams <dcbw@redhat.com>
8597 * libnm-glib/nm-vpn-plugin.c
8598 - (impl_vpn_plugin_need_secrets): fix logic when no secrets are needed
8600 2007-09-26 Dan Williams <dcbw@redhat.com>
8602 * include/NetworkManagerVPN.h
8603 - Add a NEED_AUTH state
8605 * src/vpn-manager/nm-vpn-connection.c
8606 - Implement the NEED_AUTH state. First ask the VPN service plugin if
8607 the connection needs secrets, and if so, then ask the settings
8608 service to fill in the secrets. Then start the connection.
8610 2007-09-26 Dan Williams <dcbw@redhat.com>
8612 * src/vpn-manager/nm-vpn-manager.c
8613 - (new_vpn_error, impl_vpn_manager_connect): set errors
8615 2007-09-26 Dan Williams <dcbw@redhat.com>
8617 * introspection/nm-vpn-plugin.xml
8618 libnm-glib/nm-vpn-plugin.c
8619 libnm-glib/nm-vpn-plugin.h
8620 - (impl_vpn_plugin_need_secrets): implement a call that should return
8621 the name of the NMSetting in an NMConnection that may require
8622 secrets specific to that VPN plugin
8624 2007-09-26 Dan Williams <dcbw@redhat.com>
8628 - (nm_manager_get_connection_secrets): make static, unused outside
8630 - Provide NM_MANAGER_CONNECTION_PROXY_TAG for other users
8632 2007-09-26 Tambet Ingo <tambet@gmail.com>
8634 * libnm-glib/nm-vpn-plugin.c (nm_vpn_plugin_connect): Update the plugin activation
8636 (impl_vpn_plugin_connect): Convert properties hash to NMConnection, activate, and
8637 unreference the connection.
8639 * introspection/nm-vpn-plugin.xml: Modify the 'Connect' method arguments: instead of
8640 passing properties hash and routes string list, pass NMConnection (in hashed form).
8642 * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Return routes
8643 as GSList, no need to copy stuff around anymore.
8644 (nm_vpn_connection_activate): Update the plugin activation method.
8646 * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Convert
8647 routes argument to GSList.
8649 2007-09-26 Tambet Ingo <tambet@gmail.com>
8651 * src/nm-manager.c (manager_device_state_changed): Listen to device' NEED_AUTH
8652 state and try to get the secrets.
8654 * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Get the list of
8655 connections from NMManager and let the device to choose the best from the list.
8656 Since the connection list is sorted by system ones first and user ones later,
8657 the devices still prefer system connections like they did before.
8658 (deactivate_old_device): Implement. When a device starts activation, we have a
8659 policy (for now at least) to deactivate any other device that might be either
8660 active or still activating.
8662 * src/vpn-manager/nm-vpn-manager.c: Add NMManager back to the private structure.
8663 It's set on construction, there will be no other way to access it.
8665 * src/nm-device-802-11-wireless.c: Don't touch NMManager, NMManager can listen to
8666 device events and drive the device, not the other way around.
8668 * src/nm-device-802-3-ethernet.c: Ditto.
8670 * src/nm-device.c (nm_device_get_best_connection): The connections list is now
8671 sent along, pass it on to virtual functions.
8673 * src/nm-device-interface.c (nm_device_interface_get_iface): Implement. It's static
8674 for now, but should really be public instead of nm_device_get_iface() since iface
8675 is a property of the DeviceInterface, not Device.
8676 (impl_device_activate): Don't touch NMManager!
8678 2007-09-26 Jürg Billeter <j@bitron.ch>
8680 * initscript/paldo/NetworkManager.in:
8681 * initscript/paldo/NetworkManagerDispatcher.in:
8682 * src/backends/NetworkManagerPaldo.c: (nm_system_enable_loopback),
8683 (nm_system_flush_loopback_routes): update paldo backend
8685 2007-09-26 Tambet Ingo <tambet@gmail.com>
8687 * src/nm-device-802-3-ethernet.c (real_get_best_connection): Don't leak NMManager.
8688 The problem with leaking NMManager is that on shutdown, it doesn't get destroyed,
8689 which means none of the devices get brought down properly, which in turn leaves
8690 DHCP client running.
8692 * src/nm-device-802-11-wireless.c (real_get_best_connection): Ditto.
8693 (supplicant_connection_timeout_cb): Ditto.
8695 2007-09-25 Dan Williams <dcbw@redhat.com>
8698 - (device_activation_go): small hack to work around race when
8699 activating deferred connections; should solve this in a better way
8701 2007-09-25 Dan Williams <dcbw@redhat.com>
8703 * introspection/nm-device.xml
8704 libnm-glib/nm-device.c
8705 libnm-glib/nm-device.h
8706 - Add 'Carrier' property to exported NMDevice objects
8708 * src/nm-device-interface.h
8709 src/nm-device-interface.c
8711 - Add a 'carrier' property to internal NMDevice objects
8713 2007-09-25 Dan Williams <dcbw@redhat.com>
8715 * src/nm-device-802-11-wireless.c
8716 - (ap_auth_enforced): also return the encryption status of the AP so
8717 that callers can differentiate easily between unencrypted APs
8718 and encrypted ones, in addition to whether the AP has an
8720 - (link_timeout_cb, supplicant_connection_timeout_cb,
8721 real_act_stage4_ip_config_timeout): handle unencrypted APs better,
8722 previously would request secrets from unencrypted APs at times
8724 2007-09-25 Dan Williams <dcbw@redhat.com>
8727 - (nm_manager_update_state): new function; updates state and emits
8728 appropriate signals ensuring a state-change signal for the same state
8729 never gets emitted twice in a row.
8730 - (manager_device_state_changed): handle more device state to get a
8731 better picture of the overall NM state
8733 2007-09-25 Dan Williams <dcbw@redhat.com>
8735 * libnm-glib/nm-settings.c
8736 libnm-glib/nm-settings.h
8737 - (new_error -> nm_settings_new_error): make public so that subclasses
8738 can use the same error domain. Also pass a valid error code to
8739 g_error_new_literal() so that libdbus doesn't assert when converting
8740 the GError into a DBusError
8741 - (impl_settings_list_connections, impl_connection_settings_get_id,
8742 impl_connection_settings_get_settings,
8743 impl_connection_settings_get_secrets): use new error creator
8746 2007-09-25 Dan Williams <dcbw@redhat.com>
8748 * src/NetworkManager.c
8749 - (nm_signal_handler, main): don't ignore SIGTERM/SIGINT during startup
8751 2007-09-25 Dan Williams <dcbw@redhat.com>
8753 * src/supplicant-manager/nm-supplicant-manager.c
8754 - (poke_supplicant_cb, nm_supplicant_manager_init,
8755 nm_supplicant_manager_dispose, nm_supplicant_manager_name_owner_changed,
8756 nm_supplicant_manager_startup): when the supplicant isn't running,
8757 try to start it periodically via system bus activation. Fixes
8758 a problem where if wpa_supplicant goes away, NM gets stuck waiting
8759 for the supplicant to come back
8761 2007-09-25 Dan Williams <dcbw@redhat.com>
8763 Ensure that old activation requests are forgotten about; previously
8764 hitting Cancel in the password dialog would deactivate whatever device
8765 that password was requested for, even if that wasn't the currently
8766 activating connection.
8770 - (nm_manager_get_connection_secrets): track the pending call
8771 object so it can be canceled later if needed
8772 - (nm_manager_cancel_get_connection_secrets): cancel a pending
8773 GetSecrets call for a particular connection
8775 * src/nm-activation-request.c
8776 - (dispose): cancel any outstanding GetSecrets calls on the
8779 2007-09-25 Dan Williams <dcbw@redhat.com>
8781 * src/NetworkManagerPolicy.c
8782 - (nm_policy_device_change_check): handle devices that have a
8783 deferred activation. These devices are not really active _yet_,
8784 but need to be treated as such here. Don't interrupt them
8787 * src/nm-device-interface.c
8788 - (impl_device_activate): handle devices that have a deferred activation
8789 like activating or active devices. When multiple active devices
8790 get committed, the device shouldn't be deactivated until the
8791 connection details are available to avoid DoS and such. Currently,
8792 any active, activating, or deferred activation device is deactivated
8793 here before starting the new activation request.
8795 2007-09-25 Dan Williams <dcbw@redhat.com>
8797 Properly re-query secrets from the settings daemon when stuff fails.
8799 * src/nm-device-802-11-wireless.c
8800 - (ap_auth_enforced): handle static WEP correctly here by differentiating
8801 between Shared Key and Open System auth modes
8802 - (link_timeout_cb, supplicant_connection_timeout_cb,
8803 real_act_stage4_ip_config_timeout): clear existing secrets and
8804 request new ones when something fails due to a suspected wrong key
8805 - (real_act_stage2_config): fix for new request_new argument to
8806 nm_manager_get_connection_secrets()
8810 - (nm_manager_get_connection_secrets): return error status; pass
8811 new request_new argument on to the settings daemon
8813 * introspection/nm-settings-connection.xml
8814 - New 'request_new' argument to the GetSecrets call that hints to the
8815 settings daemon to ask the user for completely new secrets
8817 * libnm-glib/nm-settings.c
8818 libnm-glib/nm-settings.h
8819 - (impl_connection_settings_get_secrets): handle new 'request_new'
8822 2007-09-25 Dan Williams <dcbw@redhat.com>
8824 * libnm-util/nm-connection.c
8825 libnm-util/nm-connection.h
8826 - (nm_connection_clear_secrets): new function; clear secrets out of
8827 each NMSetting in an NMConnection
8829 * libnm-util/nm-setting.h
8830 libnm-util/nm-setting.c
8831 - (nm_setting_clear_secrets, default_setting_clear_secrets): clear
8832 secrets out of an NMSetting
8833 - (nm_setting_connection_new, nm_setting_ip4_config_new,
8834 nm_setting_wired_new, nm_setting_wireless_new,
8835 nm_setting_wireless_security_new, nm_setting_ppp_new,
8836 nm_setting_vpn_new, nm_setting_vpn_properties_new): set clear_secrets
8837 to default handler default_setting_clear_secrets()
8839 2007-09-25 Dan Williams <dcbw@redhat.com>
8841 * src/nm-activation-request.c
8842 src/nm-activation-request.h
8843 - (nm_act_request_is_deferred): new function
8845 2007-09-24 Dan Williams <dcbw@redhat.com>
8847 * src/nm-device-802-11-wireless.c
8848 - (activation_success_handler): update signal strength immediately
8851 2007-09-24 Dan Williams <dcbw@redhat.com>
8853 * libnm-util/nm-setting.c
8854 - (verify_wep_key): 40-bit WEP keys are 10 bytes long, not 13
8856 2007-09-24 Dan Williams <dcbw@redhat.com>
8858 * src/NetworkManagerPolicy.c
8859 - (nm_policy_auto_get_best_device): don't interrupt activation of a
8860 device by deactivating it because it doesn't have a "best connection".
8861 Since autoconnect=False connections aren't automatically chosen,
8862 NM would interrupt activation of such a connection because it
8863 would never be "best" due to autoconnect=False.
8865 2007-09-24 Dan Williams <dcbw@redhat.com>
8868 - (nm_manager_get_connection_secrets): Add a long timeout so the user
8869 actually has some time to enter a key before the GetSecrets call
8872 2007-09-24 Dan Williams <dcbw@redhat.com>
8874 * introspection/nm-manager.xml
8876 - (impl_manager_legacy_state): fix 'state' method call return value
8878 2007-09-24 Matthias Clasen <mclasen@redhat.com>
8880 * test/Makefile.am: Install nm-tool
8882 2007-09-24 Dan Williams <dcbw@redhat.com>
8884 Patch from Ross Burton <ross@burtonini.com>
8887 callouts/nm-dhcp-client-action.c
8889 src/vpn-manager/nm-vpn-connection.c
8890 libnm-glib/libnm-glib-test.c
8893 2007-09-24 Dan Williams <dcbw@redhat.com>
8895 * libnm-util/nm-utils.h
8896 libnm-util/nm-utils.c
8897 - (nm_dbus_send_with_callback_replied, nm_dbus_send_with_callback):
8900 2007-09-23 Dan Williams <dcbw@redhat.com>
8902 * vpn-daemons/vpnc/properties/nm-vpnc.c
8903 - Update for new VPN properties API bits; instead of passing around
8904 a lot of random things, everything goes into the NMConnection
8907 2007-09-23 Dan Williams <dcbw@redhat.com>
8909 * libnm-util/nm-setting.c
8910 - Correctly dispose of settings objects if creating them from a hash
8913 2007-09-23 Dan Williams <dcbw@redhat.com>
8915 * libnm-util/nm-setting.c
8916 - (property_value_destroy, nm_setting_vpn_properties_new): initialize
8917 the hash table in a standard manner. Clients of libnm-util should
8918 only call g_hash_table_remove_all(), never destroy the hash table
8921 2007-09-22 Dan Williams <dcbw@redhat.com>
8923 * src/nm-device-802-11-wireless.c
8924 - (real_bring_up): update signal strength every 6 seconds, not 2. No
8925 real reason to do it so often, and reduces wakeups for clients.
8927 2007-09-21 Dan Williams <dcbw@redhat.com>
8929 * src/nm-device-802-11-wireless.c
8930 - (build_supplicant_config): wpa_supplicant requires the option
8931 key_mgmt=NONE for unencrypted networks
8932 - (real_act_stage2_config): clarify log message on activation
8934 2007-09-21 Dan Williams <dcbw@redhat.com>
8936 * test/nm-supplicant-test.c
8938 - Remove supplicant test binary; no longer applicable
8940 2007-09-21 Dan Williams <dcbw@redhat.com>
8942 * src/supplicant-manager/nm-supplicant-manager.c
8943 - (nm_supplicant_manager_init): poke the supplicant at startup to
8944 activate it on the system bus
8946 2007-09-20 Dan Williams <dcbw@redhat.com>
8948 * initscript/RedHat/NetworkManager.in
8949 - dhcdbd is no longer used, so don't try to start it from the initscripts
8951 2007-09-20 Dan Williams <dcbw@redhat.com>
8954 - (nm_device_is_activating): work around a race between auto-activation
8955 and the user activating the same device that is being auto-activated
8957 2007-09-20 Dan Williams <dcbw@redhat.com>
8959 * src/nm-device-interface.c
8960 - (impl_device_activate): until multiple active device support lands,
8961 ensure only one device can be active at a time
8963 2007-09-20 Dan Williams <dcbw@redhat.com>
8965 * src/supplicant-manager/nm-supplicant-config.c
8966 src/supplicant-manager/nm-supplicant-config.h
8967 - (nm_supplicant_config_add_option): hide secrets from system logs
8969 2007-09-20 Dan Williams <dcbw@redhat.com>
8971 * src/NetworkManagerPolicy.c
8972 - (nm_policy_device_change_check): re-enable the wireless device change
8973 checking code; insted of checking for SSIDs, check for the same
8976 2007-09-20 Dan Williams <dcbw@redhat.com>
8978 * src/nm-device-802-11-wireless.c
8979 - (supplicant_iface_connection_state_cb_handler): don't use the card's
8980 composite link state when determining when to start the disconnection
8981 timer; that link state is already based on the supplicant interface's
8982 status which is exactly what's already being examined, plus the link
8983 state is a conglomeration of various things that we don't want here
8985 2007-09-20 Dan Williams <dcbw@redhat.com>
8987 * libnm-glib/nm-access-point.c
8988 - (handle_property_changed): strength is a UCHAR
8990 2007-09-20 Dan Williams <dcbw@redhat.com>
8992 * src/supplicant-manager/nm-supplicant-config.c
8993 - (nm_supplicant_config_add_setting_wireless_security): uppercase
8994 string list keywords too since that's what wpa_supplicant wants
8996 2007-09-20 Dan Williams <dcbw@redhat.com>
8998 * libnm-util/nm-setting.c
8999 - (convert_strv_to_slist): dupe the values in the list because since
9000 the list is a boxed value, it'll get destroyed when it's container
9001 (like a hash table or whatever) gets destroyed
9003 2007-09-20 Tambet Ingo <tambet@gmail.com>
9005 * libnm-util/nm-setting.h: Change the type of NMSettingVPN->routes to
9008 * libnm-util/nm-setting.c (setting_vpn_destroy): Free routes too.
9010 * src/nm-manager.c (connection_get_settings_cb): No need to use weakref,
9011 just use (g_object_set_data_full).
9013 * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Now
9014 that NMSettingVPN->routes is a GSList, convert it to char **.
9015 (nm_vpn_connection_ip4_config_get): Free routes when done.
9016 (nm_vpn_connection_activate): Ditto.
9018 * src/nm-device-802-11-wireless.c (real_connection_secrets_updated)
9019 (real_act_stage2_config): Use defined setting names.
9021 2007-09-20 Dan Williams <dcbw@redhat.com>
9023 * src/nm-device-802-11-wireless.c
9026 - Pass an NMDeviceInterface into nm_manager_get_connection_secrets()
9027 so that the device can be deactivated if secrets are wrong
9029 2007-09-20 Dan Williams <dcbw@redhat.com>
9031 * introspection/nm-settings-connection.xml
9032 libnm-glib/nm-settings.c
9033 libnm-glib/nm-settings.h
9034 - Make GetSecrets asynchronous on the server side
9036 2007-09-20 Dan Williams <dcbw@redhat.com>
9040 - (nm_device_activate): actually check if a given connection
9041 exists before assuming it doesn't
9043 2007-09-20 Tambet Ingo <tambet@gmail.com>
9045 * libnm-util/nm-connection.c (register_default_creators): Use defined
9046 setting names. Register NMSettingVPN and NMSettingVPNProperties.
9048 * libnm-util/nm-setting.c: Define property name strings, use them.
9049 Implement NMSettingVPN and NMSettingVPNProperties settings.
9050 Implement NM_S_TYPE_GVALUE_HASH.
9051 (nm_setting_populate_from_hash): Handle NM_S_TYPE_GVALUE_HASH.
9052 (setting_connection_verify): Rename 'devtype' property to 'type'.
9054 * introspection/nm-vpn-manager.xml: Use NMConnection for VPN service
9057 * src/vpn-manager/nm-vpn-service.c: Ditto.
9059 * src/vpn-manager/nm-vpn-connection.c: Ditto.
9061 * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_connect): Ditto.
9062 (nm_vpn_manager_new): Remove NMManager argument, it's easy enough to get.
9064 * src/nm-device-802-11-wireless.c (find_best_connection): Use defined setting
9065 names. NMSettingConnection->devtype got renamed to 'type'.
9067 * src/nm-device-802-3-ethernet.c (find_best_connection):
9068 (real_get_best_connection): Ditto.
9070 * src/NetworkManager.c (main): Update the vpn manager creation arguments.
9072 * libnm-glib/nm-vpn-manager.[ch]: Update.
9074 2007-09-19 Dan Williams <dcbw@redhat.com>
9076 * src/NetworkManagerAP.c
9077 src/NetworkManagerAP.h
9078 introspection/nm-access-point.xml
9079 - Change strength-changed signal into a properties-changed signal
9080 for all properties, not just strength. Export that signal over dbus
9081 so listeners don't have to poll NM for changes.
9082 - (nm_ap_export_to_dbus, nm_ap_new): not every NMAccessPoint should
9083 get exported over D-Bus, so break up the logic and let other bits
9084 decided when to export the AP
9085 - (nm_ap_new_from_ap): remove, unused
9087 * src/nm-device-802-11-wireless.c
9088 - (merge_scanned_ap): only export APs that are actually on the device
9089 list, not every AP created internally
9091 * libnm-glib/nm-access-point.c
9092 libnm-glib/nm-access-point.h
9093 - Cache properties internally and only hit DBus when needed. Get
9094 property updates from NM signals
9096 2007-09-16 Dan Williams <dcbw@redhat.com>
9098 * libnm-util/nm-connection.c
9099 libnm-util/nm-connection.h
9100 - (nm_connection_for_each_setting_value): new function; iterate over
9101 each setting's value and call a user-provided function with details
9104 * libnm-util/nm-setting.c
9105 libnm-util/nm-setting.h
9106 - (nm_setting_enumerate_values): new function; enumerate the values
9107 of a specific NMSetting subclass for a user-provided function with
9108 details about that value
9109 - Change wep_tx_keyidx to a uint32
9110 - Create settings value tables for each setting defining their type,
9111 key name, offset into the NMSetting subclass' structure, and whether
9112 they are required and/or a secret
9113 - (nm_setting_populate_from_hash): generic function to populate an
9114 NMSetting from a GHash table, make all settings use it
9115 - (nm_setting_hash): generic function to derive a GHashTable from
9116 an NMSetting object, make all settings use it
9118 2007-09-14 Dan Williams <dcbw@redhat.com>
9120 Remove unused stuff in libnm-util
9123 libnm-util/Makefile.am
9124 libnm-util/cipher-private.h
9125 libnm-util/cipher-wep-ascii.c
9126 libnm-util/cipher-wep-ascii.h
9127 libnm-util/cipher-wep-hex.c
9128 libnm-util/cipher-wep-hex.h
9129 libnm-util/cipher-wep-passphrase.c
9130 libnm-util/cipher-wep-passphrase.h
9131 libnm-util/cipher-wpa-psk-hex.c
9132 libnm-util/cipher-wpa-psk-hex.h
9133 libnm-util/cipher-wpa-psk-passphrase.c
9134 libnm-util/cipher-wpa-psk-passphrase.h
9137 libnm-util/dbus-helpers.c
9138 libnm-util/dbus-helpers.h
9139 libnm-util/gnome-keyring-md5.c
9140 libnm-util/gnome-keyring-md5.h
9143 src/nm-device-802-11-wireless.c
9144 test/libnm-util/Makefile.am
9145 test/libnm-util/test-ciphers.c
9146 test/libnm-util/test-dbus-helpers.c
9147 test/libnm-util/test-inputs.h
9150 2007-09-14 Dan Williams <dcbw@redhat.com>
9152 * libnm-util/dbus-method-dispatcher.c
9153 libnm-util/dbus-method-dispatcher.h
9156 2007-09-14 Dan Williams <dcbw@redhat.com>
9158 Implement deferred activation support in the device class.
9160 * src/nm-device-interface.c
9161 src/nm-device-interface.h
9162 - (nm_device_interface_activate): take more arguments to support
9163 deferred activation; callers must pass one of (connection) OR
9164 (service_name, connection_path)
9165 - (impl_device_activate): connection validation is punted to the device
9166 to be able to handle deferred activation. Yes, this means errors
9167 don't get returned from the Activate() dbus call, and yes, that
9168 should be fixed somehow later.
9172 - (clear_act_request): clear additional deferred activation stuff too
9173 - (deferred_activation_timeout_cb): new function; clean up when
9174 deferred activation times out.
9175 - (deferred_activation_start_cb): new function; when the connection
9176 finally becomes available, start device activation
9177 - (nm_device_activate): attach to the right signals of the activation
9178 request if we need to defer activation until the connection is valid
9180 * src/NetworkManagerPolicy.c
9181 - (nm_policy_device_change_check): update for additional arguments
9182 required for nm_device_interface_activate(). Pass NULL for these
9183 though because this function already knows exactly which
9186 2007-09-14 Dan Williams <dcbw@redhat.com>
9188 Implement deferred activation handling in the NMActRequest class. When a
9189 client wants to activate a device but must create the NMConnection details
9190 on the fly, there likely hasn't been enough time yet for NM to receive the
9191 new connection signal and grab all the connection details. So the
9192 activation is deferred (and bounded by a timer) for a while, and if the
9193 connection appears within the window, it is activated.
9195 * src/nm-activation-request.c
9196 src/nm-activation-request.h
9197 - (nm_act_request_class_init): two new signals to support deferred
9198 activation, to allow the listener to handle both timeout and success
9199 - (nm_act_request_new_deferred): new function, starts the deferred
9200 activation timeout handler and listens to the NMManager for
9201 new-connection signals to notice when the connection comes in
9203 2007-09-14 Dan Williams <dcbw@redhat.com>
9207 - (nm_manager_get_connection_service_name,
9208 nm_manager_get_connection_dbus_path): get details about a connection
9209 known internally by the NMManager
9210 - (nm_manager_class_init): fix connection add/remove signal marshalers
9211 because NMConnection is now a GObject subclass
9212 - Use constant for the gobject data tag used on NMConnection objects for
9213 storing the associated DBusGProxy
9215 2007-09-14 Dan Williams <dcbw@redhat.com>
9220 src/supplicant-manager/Makefile.am
9221 src/dhcp-manager/Makefile.am
9222 src/backends/Makefile.am
9223 src/named-manager/Makefile.am
9224 src/ppp-manager/Makefile.am
9225 src/vpn-manager/Makefile.am
9226 test/libnm-util/Makefile.am
9227 test/test-common/Makefile.am
9228 - Remove utils/; it was unused
9230 2007-09-13 Dan Williams <dcbw@redhat.com>
9232 * libnm-glib/nm-vpn-manager.h
9233 libnm-glib/nm-vpn-manager.c
9234 - (nm_vpn_manager_connect): take routes as a GSList, not a char **
9236 2007-09-13 Dan Williams <dcbw@redhat.com>
9238 * src/nm-device-802-3-ethernet.c
9239 - (real_bring_down, nm_device_802_3_ethernet_dispose): disconnect from
9240 netlink monitor carrier signals on dispose, not bring down. The
9241 carrier signals should be handled over the entire lifetime of the
9242 device anyway, not created/destroyed on up or down.
9244 2007-09-13 Dan Williams <dcbw@redhat.com>
9246 * libnm-glib/nm-device.c
9247 libnm-glib/nm-device.h
9248 - (nm_device_activate): take a connection object path rather than an
9249 NMConnection because NMConnection isn't exported over D-Bus and
9250 therefore it dbus-glib can't automatically get an object path from it
9252 2007-09-13 Dan Williams <dcbw@redhat.com>
9254 * libnm-util/nm-setting.c
9255 - (nm_setting_wired_new): set autonegotiate to TRUE by default
9257 2007-09-13 Tambet Ingo <tambet@gmail.com>
9259 * autogen.sh: NetworkManagerMain.h is gone, check for NetworkManager.c.
9261 2007-09-12 Tambet Ingo <tambet@gmail.com>
9263 * src/vpn-manager/nm-vpn-connection.[ch]:
9264 * src/vpn-manager/nm-vpn-manager.[ch]:
9265 * src/vpn-manager/nm-vpn-service.[ch]: Rewrite the vpn handling code. Using
9266 dbus-glib, GObjects, signals etc.
9268 * libnm-glib/nm-vpn-manager.[ch]:
9269 * libnm-glib/nm-vpn-connection.[ch]: Now that the NM implementation changed
9270 so much, rewrite these too.
9272 * libnm-glib/Makefile.am: Add new files to build, build new binding files for
9273 the new introspection files.
9275 * libnm-glib/nm-client.[ch]: Remove all VPN related stuff from here.
9277 * libnm-glib/nm-dbus-utils.[ch]: Renamed from nm-utils.[ch] that was shadowing
9278 the header with the same name from libnm-utils.
9280 * libnm-glib/nm-vpn-plugin.[ch]: Implement.
9282 * libnm-util/Makefile.am: Add nm-utils.[ch] to build.
9284 * introspection/nm-vpn-plugin.xml: Implement.
9286 * introspection/nm-vpn-connection.xml: Implement.
9288 * introspection/nm-vpn-manager.xml: Implement.
9290 * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Remove
9291 the named manager argument, it can just as easily get it as the caller.
9292 (nm_system_vpn_device_unset_from_ip4_config): Ditto.
9294 * src/vpn-manager/nm-dbus-vpn.[ch]: Remove.
9296 * src/nm-dbus-manager.h: Fix up the name_owner signal signature.
9298 * src/dhcp-manager/nm-dhcp-manager.c (garray_to_string): Remove, use one from
9301 * libnm-util/nm-connection.c: Ditto.
9303 * src/NetworkManagerMain.h: Remove, it's finally empty.
9305 * configure.in: Remove utils/ from build.
9307 * include/NetworkManagerVPN.h: Add some more defines to reduce the amount
9308 of hard-coded strings.
9310 * utils/: Move it over to libnm-util.
9312 * test/Makefile.am: Link against libnm-util now that util/ is gone.
9314 * dispatcher-daemon/Makefile.am: Ditto.
9316 * src/Makefile.am: Ditto.
9318 2007-09-12 Dan Williams <dcbw@redhat.com>
9320 Wireless connections can be made with config data from the applet now.
9324 * src/supplicant-manager/nm-supplicant-config.h
9325 src/supplicant-manager/nm-supplicant-config.c
9326 - (nm_supplicant_config_new): kill unused init parameter 'iface'
9327 - (nm_supplicant_config_add_setting_wireless,
9328 nm_supplicant_config_add_setting_wireless_security): new functions;
9329 add key/value pairs from the settings objects to the supplicant
9332 * src/nm-device-802-11-wireless.c
9333 - (cull_scan_list): fix check to not prune currently associated AP
9334 - (build_supplicant_config, real_act_stage2_config): call the functions
9335 of the NMSupplicantConfig that parse settings objects rather than
9336 doing it manually here
9338 2007-09-12 Dan Williams <dcbw@redhat.com>
9340 * src/supplicant-manager/nm-supplicant-interface.c
9341 src/supplicant-manager/nm-supplicant-marshal.list
9342 - (nm_supplicant_interface_class_init): fix stupid mistake, the
9343 "connection-error" signal arguments should be STRING not CHAR
9345 2007-09-12 Dan Williams <dcbw@redhat.com>
9347 * src/NetworkManagerUtils.c
9348 src/NetworkManagerUtils.h
9349 - (nm_utils_hexstr2bin): new function
9351 2007-09-11 Dan Williams <dcbw@redhat.com>
9354 - (connection_get_settings_cb): emit connection-added signal
9355 - (connection_removed_cb): uncomment bits for system settings service,
9356 send connection-removed when appropriate
9357 - (nm_manager_get_connection_secrets, get_secrets_cb): don't clobber
9358 the stack by trying to g_object_set_data() on something that's
9359 not a GObject; handle case where settings service returns
9360 empty settings hash table
9362 2007-09-11 Dan Williams <dcbw@redhat.com>
9364 * src/NetworkManagerPolicy.c
9365 - (connection_added, connection_removed): trigger device change checks
9366 on connection changes
9368 2007-09-11 Dan Williams <dcbw@redhat.com>
9370 * src/nm-activation-request.c
9371 - (connection_secrets_updated_cb): fix c&p error in signal emission
9373 2007-09-11 Dan Williams <dcbw@redhat.com>
9375 * src/nm-device-802-11-wireless.c
9376 - (real_connection_secrets_updated): fix erroneous check
9378 2007-09-11 Dan Williams <dcbw@redhat.com>
9380 * introspection/nm-device.xml
9381 libnm-glib/nm-device.c
9382 libnm-glib/nm-device.c
9383 - Fix Activate call argument borkage; Activate takes 3 arguments
9385 2007-09-11 Dan Williams <dcbw@redhat.com>
9387 * libnm-glib/nm-access-point.c
9388 libnm-glib/nm-access-point.c
9389 - (nm_access_point_get_frequency): now returns guint32 to match
9390 property change on 2007-09-10
9392 2007-09-11 Dan Williams <dcbw@redhat.com>
9394 * src/nm-device-802-11-wireless.c
9395 - (nm_device_802_11_wireless_new): s/index/idx, stupid system header
9396 somewhere defines 'index' and I missed this one when I fixed the
9397 shadow declaration errors earlier
9399 2007-09-11 Dan Williams <dcbw@redhat.com>
9401 * libnm-util/nm-connection.c
9402 - (nm_connection_update_secrets, need_secrets_check): move
9403 802-11-wireless-security need_secrets checks to the setting object
9404 itself, where it belongs
9406 * libnm-util/nm-setting.c
9407 libnm-util/nm-setting.h
9408 - (nm_setting_need_secrets): new function
9409 - (setting_wireless_security_verify,
9410 nm_setting_wireless_security_new_from_hash): make 'key-mgmt' required
9411 - (setting_wireless_security_need_secrets): mostly copy code over
9412 from nm-connection.c
9414 2007-09-11 Dan Williams <dcbw@redhat.com>
9416 * libnm-util/nm-setting.c
9417 libnm-util/nm-setting.h
9418 - (nm_setting_update_secrets): new function; add a virtual function that
9419 subclasses can implement to update their secrets
9420 - (setting_wireless_security_update_secrets): implement that function
9421 for the 802-11-wireless-security subclass
9423 * libnm-util/nm-connection.c
9424 libnm-util/nm-connection.h
9425 - (nm_connection_update_secrets): update secrets for a Setting and
9426 emit a signal on success
9431 - (connection_get_settings_cb): enable system settings bits
9432 - (nm_manager_get_connection_secrets, get_secrets_cb): add function
9433 to request secrets from the settings dbus service and to
9434 push those secrets to the NMConnection itself
9436 * src/nm-activation-request.c
9437 src/nm-activation-request.h
9438 - Attach to the 'secrets-updated' signal of the NMConnection that's
9439 currently being activated, and proxy that signal to other listeners.
9440 Goes through the activation request because the activation request
9441 is the thing that manages the lifetime of the NMConnection that's
9444 * src/nm-device-802-11-wireless.c
9445 - (real_connection_secrets_updated): implement the connection secrets
9446 updated notification and restart activation when secrets are
9448 - (real_act_stage2_config): request secrets from the settings dbus
9449 service if secrets are needed
9453 - (clear_act_request, nm_device_activation_cancel,
9454 nm_device_deactivate_quickly, nm_device_dispose): consolidate places
9455 where the activation request is cleared
9456 - (nm_device_activate, connection_secrets_updated_cb): attach to the
9457 updated secrets signal of activation request and add a function
9458 that subclasses can override to handle it easily
9460 2007-09-11 Tambet Ingo <tambet@gmail.com>
9462 * src/backends/NetworkManagerSuSE.c: Fix a build issue caused by the
9463 removal of NetworkManagerAPList.
9465 2007-09-10 Dan Williams <dcbw@redhat.com>
9467 * src/NetworkManagerAP.c
9468 src/NetworkManagerAP.h
9469 introspection/nm-access-point.xml
9470 - Change 'freq' property to a guint32 instead of a double since we
9471 weren't using the floating point bits anyway
9473 2007-09-10 Dan Williams <dcbw@redhat.com>
9475 * NetworkManagerAP.c
9477 NetworkManagerPolicy.c
9478 NetworkManagerSystem.c
9479 NetworkManagerUtils.c
9480 NetworkManagerUtils.h
9481 nm-device-802-11-wireless.c
9482 nm-device-802-3-ethernet.c
9485 vpn-manager/nm-dbus-vpn.c
9486 - Warning fixes; casts and removal of unused variables
9488 2007-09-10 Dan Williams <dcbw@redhat.com>
9490 * include/NetworkManager.h
9491 - Kill NMNetworkType; AP types don't matter any more
9493 * src/NetworkManagerAPList.c
9494 src/NetworkManagerAPList.h
9496 - Kill; NMAccessPointList has outlived it's usefulness
9498 * src/NetworkManagerAP.c
9499 src/NetworkManagerAP.h
9500 - (match_cipher, security_compatible, nm_ap_check_compatible): new
9501 functions; check if an NMConnection object is compatible with the
9503 - (freq_to_channel, channel_to_freq): utility functions for
9504 channel <-> frequency conversion
9508 - (nm_device_get_best_connection): pass the specific object around
9509 (which might be the object path of a specific AP to connect to).
9510 The get_best_connection() call should populate this on return
9511 if needed (wireless does).
9513 * src/nm-device-802-3-ethernet.c
9514 - (real_get_best_connection): handle specific_object argument
9516 * src/NetworkManager.c
9517 src/NetworkManagerMain.h
9518 - Remove unused includes
9520 * src/nm-device-802-11-wireless.c
9521 src/nm-device-802-11-wireless.h
9522 - Convert the ap_list into a GSList from an NMAccessPointList
9523 - No need for caching the 'activation_ap' since this is now determined
9524 from the specific_object of the activation request, which is
9525 populated from the get_best_connection() call or from a user request
9526 - (nm_device_802_11_wireless_update_bssid): fix warning
9527 - (get_wireless_capabilities): fix error message format arguments
9528 - (nm_device_802_11_wireless_copy_allowed_to_dev_list): remove, unused
9529 - (find_best_connection, real_get_best_connection): implement
9530 - (ap_list_get_ap_by_ssid, nm_device_802_11_wireless_ap_list_print):
9531 move here from NetworkManagerAPList
9532 - (ap_need_secrets): remove; moved to nm-connection.c where it belongs
9533 - (real_act_stage1_prepare): just ensure an AP exists, connection is
9534 already verified earlier
9535 - (real_act_stage2_config): use nm_connection_need_secrets()
9537 * src/NetworkManagerPolicy.c
9538 - (nm_policy_auto_get_best_device): handle specific objects
9539 - (create_connection): remove; automatic connection creation functionality
9540 is handled by the Connection objects
9541 - (nm_policy_device_change_check): handle specific_object
9543 * libnm-util/nm-connection.c
9544 - (wireless_sec_need_secrets, nm_connection_need_secrets): implement
9546 2007-09-10 Dan Williams <dcbw@redhat.com>
9549 - (query_connections): fix uninitialized variable problem that caused
9551 - (nm_manager_add_device): take devices down on startup so that we can
9552 be assured that nm_device_is_up() won't short-circuit the init
9553 process. Hack until the is_up check gets split into two pieces
9554 that aren't behaviorally confusing.
9556 2007-09-09 Dan Williams <dcbw@redhat.com>
9558 * introspection/nm-device.xml
9559 - The 'Activate' method now takes 3 arguments, a service name for the
9560 settings service (user or system), the object path of the connection
9561 to activate, and the specific object to activate, if any
9563 * src/nm-device-interface.c
9564 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
9566 - (impl_device_activate): adapt to new Activate arguments; validate
9567 the service name and get the Connection object from the NMManager
9568 before starting to activate the device with the specified connection
9570 * src/nm-device-802-3-ethernet.c
9571 - (real_get_best_connection): find the best connection, or create a
9572 default one if no existing connections can be used
9574 * src/NetworkManagerPolicy.c
9575 - (nm_policy_auto_get_best_device): Get the device's best connection
9576 and only pick the device if it has one
9577 - (nm_policy_device_change_check): disable wireless bits for now until
9578 wireless get_best_connection() can be implemented (replacing "best_ap");
9579 don't create a default connection here as the device subclass will do
9584 - (nm_manager_get): make NMManager a singleton and expose the getter
9586 - Rework internal NMManager connection handling to use the same
9587 routines for both the system and user settings services. Most calls
9588 take a new NMConnectionType argument specifying either system or user
9590 - (nm_manager_get_connection_by_object_path): new function; get a
9591 connection keyed on its object path
9593 * src/NetworkManager.c
9594 - (main): use nm_manager_get()
9596 2007-09-09 Dan Williams <dcbw@redhat.com>
9600 - (nm_device_get_best_connection): new function; get best connection
9601 for the device at that time
9603 2007-09-09 Dan Williams <dcbw@redhat.com>
9605 * src/nm-device-interface.h
9606 - Add NMDeviceInterfaceError with an UnknownConnection error
9608 2007-09-09 Dan Williams <dcbw@redhat.com>
9610 Stupid mistake on my part; object path and interface for settings service
9611 and connection objects can be the same, only the service name must be
9612 different for the system and user settings services.
9614 * include/NetworkManager.h
9616 introspection/nm-settings-connection.xml
9617 introspection/nm-settings.xml
9618 libnm-glib/nm-settings.c
9619 - (nm_connection_settings_init, query_user_connections,
9620 new_connection_cb): Unify NetworkManagerSettings and Connection
9621 interface name and object path
9623 2007-09-06 Dan Williams <dcbw@redhat.com>
9625 * libnm-glib/nm-object.c
9626 - (nm_object_get_string_property, nm_object_get_object_path_property,
9627 nm_object_get_int_property, nm_object_get_uint_property,
9628 nm_object_get_boolean_property, nm_object_get_byte_property,
9629 nm_object_get_double_property, nm_object_get_byte_array_property):
9630 clear GValues after copying their contents, fixes memory leaks
9631 after every property access because dbus-glib copies the values
9632 from the DBusMessage into the GValue already.
9634 2007-09-06 Dan Williams <dcbw@redhat.com>
9636 * introspection/nm-access-point.xml
9637 - Fix WpaFlags and RsnFlags property names to be what dbus-glib expects
9638 them to be. There's some magic property name parsing going on in
9639 dbus-glib that breaks up property names based on studly-caps and
9640 puts - between words.
9642 * libnm-glib/nm-access-point.c
9643 - (nm_access_point_get_wpa_flags, nm_access_point_get_rsn_flags):
9646 2007-09-06 Dan Williams <dcbw@redhat.com>
9649 - (nm_manager_user_connections_destroy): clear the user connections hash
9650 table, don't destroy it
9651 - (finalize): only destroy the hash table on NMManager finalization
9653 2007-09-02 Dan Williams <dcbw@redhat.com>
9655 * include/NetworkManager.h
9656 libnm-glib/nm-settings.c
9657 - defines for the user settings daemon D-Bus bits
9659 * src/NetworkManager.c
9660 - Remove stuff that referred to the old NetworkManagerInfo service
9662 * src/vpn-manager/nm-dbus-vpn.h
9663 - Move old NMI defines to the only place they are used still
9665 * libnm-util/nm-connection.c
9666 libnm-util/nm-connection.h
9667 src/nm-activation-request.c
9668 - Make NMConnection a GObject subclass so we can do spiffy stuff with it
9672 - Get connections and their settings from the user settings daemon
9673 at the appropriate times
9675 2007-09-02 Dan Williams <dcbw@redhat.com>
9677 * libnm-util/nm-setting.c
9678 - (nm_settings_verify): correct setting name is 'connection', not 'info'
9679 - (setting_wireless_hash): set the right value on the item
9681 2007-09-02 Dan Williams <dcbw@redhat.com>
9685 - Remove, no longer useful
9687 2007-08-30 Dan Williams <dcbw@redhat.com>
9690 src/NetworkManagerDbus.c
9691 src/NetworkManagerDbus.h
9692 src/vpn-manager/nm-dbus-vpn.c
9693 - Remove, no longer necessary. Move last bits to the only place its
9694 used, in nm-dbus-vpn.c
9696 * src/NetworkManagerAPList.c
9698 src/NetworkManager.c
9699 src/nm-device-802-11-wireless.c
9700 src/vpn-manager/nm-vpn-manager.c
9701 src/vpn-manager/nm-vpn-service.c
9702 src/NetworkManagerPolicy.c
9704 - Remove usage of NetworkManagerDbus.h, and kill the obfuscation
9705 that was message_is_error()
9707 2007-08-30 Dan Williams <dcbw@redhat.com>
9710 - Include config.h to get defines for endiannes (gnome.org #420216)
9712 2007-08-30 Dan Williams <dcbw@redhat.com>
9714 Patch from Philip Withnall <bugzilla@tecnocode.co.uk>
9716 * src/ppp-manager/Makefile.am
9717 - use -fPIC (gnome.org #471825)
9719 2007-08-29 Dan Williams <dcbw@redhat.com>
9721 * include/NetworkManager.h
9722 - Keep NMConnection object path in sync
9724 * libnm-glib/nm-settings.c
9725 libnm-glib/nm-settings.h
9726 - Break D-Bus object registration out of the init function, because
9727 every object that's exported over D-Bus needs to use the _same_
9728 DBusConnection. Otherwise, each object would get a different object
9729 path tree and wouldn't be callable.
9731 2007-08-29 Dan Williams <dcbw@redhat.com>
9733 * libnm-util/nm-setting.h
9734 libnm-util/nm-setting.c
9735 libnm-util/nm-connection.c
9736 src/NetworkManagerPolicy.c
9737 - 'info' settings object should be 'connection' says the spec
9738 at NetworkManagerConfigurationSpecification
9740 2007-08-29 Dan Williams <dcbw@redhat.com>
9742 * libnm-glib/nm-settings.c
9743 libnm-glib/nm-settings.h
9744 - make the dbus path a property of the object, and autogenerate it.
9745 It can't be composed of the 'id' field becuase that's not available
9746 yet during the GObject creation in nm_connection_settings_init()
9748 2007-08-29 Dan Williams <dcbw@redhat.com>
9750 * introspection/nm-settings-connection.xml
9751 introspection/nm-settings.xml
9752 - Service name -> NetworkManagerUserSettings because two services
9753 can't share part of the same path. I'm not really sure how we'll use
9754 the same code with the system-settings daemon...
9756 2007-08-28 Dan Williams <dcbw@redhat.com>
9758 * src/nm-device-interface.c
9759 src/nm-device-interface.h
9760 - Kill one more bit of NMData
9762 2007-08-28 Dan Williams <dcbw@redhat.com>
9764 * src/NetworkManagerSystem.h
9767 src/nm-hal-manager.c
9768 src/NetworkManager.c
9769 src/nm-device-802-11-wireless.c
9770 src/nm-hal-manager.h
9771 src/nm-device-802-3-ethernet.c
9772 src/vpn-manager/nm-vpn-service.h
9773 src/vpn-manager/nm-vpn-manager.c
9774 src/vpn-manager/nm-vpn-manager.h
9775 src/vpn-manager/nm-vpn-service.c
9776 src/nm-device-802-11-wireless.h
9777 src/NetworkManagerMain.h
9778 src/nm-device-802-3-ethernet.h
9779 src/backends/NetworkManagerGentoo.c
9780 src/backends/NetworkManagerPaldo.c
9781 src/backends/NetworkManagerFrugalware.c
9782 src/backends/NetworkManagerRedHat.c
9783 src/backends/NetworkManagerSlackware.c
9784 src/backends/NetworkManagerGeneric.c
9785 src/backends/NetworkManagerArch.c
9786 src/backends/NetworkManagerSuSE.c
9787 src/backends/NetworkManagerGeneric.h
9788 src/backends/NetworkManagerDebian.c
9791 2007-08-28 Dan Williams <dcbw@redhat.com>
9793 * src/NetworkManagerMain.h
9794 src/nm-device-802-11-wireless.c
9795 src/NetworkManager.c
9796 - Remove invalid AP list from NMData; need to rework this somewhat, but
9797 for now we should set the 'invalid' property on individual APs, and when
9798 we need to invalidate a whole ESS, set the 'invalid' on every member of
9801 2007-08-28 Dan Williams <dcbw@redhat.com>
9803 * src/NetworkManagerAP.c
9804 src/NetworkManagerAP.h
9805 - Remove 'fallback' tag, to be replaced by NMConnection/NMSettings
9806 'autoconnect' property instead
9808 * src/NetworkManager.c
9809 src/NetworkManagerMain.h
9810 src/NetworkManagerPolicy.c
9811 src/NetworkManagerPolicy.h
9812 - Remove the 'allowed_ap_list', which should be replaced by
9813 NMConnection/NMSettings instead, since _those_ are the allowed
9814 things that NM can connect to
9816 * src/nm-device-802-11-wireless.c
9817 - Remove both allowed_ap_list usage and 'fallback' checking
9819 2007-08-28 Dan Williams <dcbw@redhat.com>
9822 src/named-manager/nm-named-manager.c
9823 src/named-manager/nm-named-manager.h
9824 src/NetworkManager.c
9825 src/vpn-manager/nm-vpn-manager.c
9826 src/NetworkManagerMain.h
9827 src/NetworkManagerSystem.c
9828 - Remove the named-manager object from NMData structure in preparation
9829 for NMData's timely death. Make the NMNamedManager the singleton that
9832 2007-08-28 Dan Williams <dcbw@redhat.com>
9834 Remove NMAPSecurity objects, they are replaced with flags on the APs for
9835 each AP's capabilities, and by NMConnection/NMSettings objects for user
9836 defined connections.
9838 * include/NetworkManager.h
9839 - Redefine 802.11 security properties. There are now device capabilities
9840 and AP flags and AP security flags. It was way to unclear before.
9843 src/nm-ap-security-leap.h
9844 src/nm-ap-security-leap.c
9845 src/nm-ap-security-wpa-eap.c
9846 src/nm-ap-security-wpa-eap.h
9847 src/nm-ap-security-private.h
9848 src/nm-ap-security-wpa-psk.c
9849 src/nm-ap-security-wpa-psk.h
9850 src/nm-ap-security-wep.c
9851 src/nm-ap-security-wep.h
9852 src/nm-ap-security.c
9853 src/nm-ap-security.h
9854 - Removed, to be replaced with NMConnection/NMSettings objects
9858 - Removed, to be replaced by code that talks to the new info daemon
9859 interface and gets NMConnection/NMSettings objects
9861 * src/backends/NetworkManagerSuSE.c
9862 - Remove usage of NMAPSecurity; should be replaced by a system-level
9863 info-daemon that does the same thing but talks the new info-daemon
9866 * src/NetworkManagerAP.h
9867 src/NetworkManagerAP.c
9868 src/NetworkManagerAPList.c
9869 libnm-glib/libnm-glib-test.c
9870 - Remove usage of NMAPSecurity objects and adjust to new flags for
9873 * libnm-glib/nm-access-point.c
9874 libnm-glib/nm-access-point.h
9875 introspection/nm-access-point.xml
9877 - Adjust to new flags for AP security
9881 src/vpn-manager/nm-dbus-vpn.c
9882 - Remove D-Bus pending call stuff from nm-utils and put it in the VPN
9883 stuff which is the only place it's used
9885 * src/nm-device-interface.c
9886 src/nm-device-interface.h
9887 introspection/nm-device.xml
9888 src/nm-activation-request.c
9889 src/nm-activation-request.h
9891 - Add a new 'specific_object' argument that hints to NM what actual
9892 AP or other device-specific thing the connection should apply to.
9893 NMConnection objects can apply to more than one actual device/AP.
9895 * libnm-util/nm-connection.c
9896 * libnm-util/nm-connection.h
9897 - Add 'have_secrets" call stubs
9899 * libnm-util/cipher.h
9900 - Move NM_AUTH_TYPE_* defines here for now
9902 * src/nm-device-802-11-wireless.c
9903 - Remove usage of NMAPSecurity, to be replaced with NMConnection/
9906 * src/NetworkManagerDbus.c
9907 * src/NetworkManagerPolicy.c
9908 - Remove usage of update_allowed_networks, should be pushing data in
9911 2007-08-27 Tambet Ingo <tambet@gmail.com>
9913 * src/nm-manager.c (impl_manager_get_devices): Duplicate the device path,
9914 dbus-glib frees it when the call is done.
9916 2007-08-26 Dan Williams <dcbw@redhat.com>
9918 * introspection/nm-device.xml
9919 - Add 'Index' property on NMDevice objects (forgot to do this earlier)
9921 2007-08-26 Dan Williams <dcbw@redhat.com>
9923 * src/nm-device-802-3-ethernet.c
9924 - (constructor): move connection of interface-connected/disconnected
9925 signals here from real_bring_up(). Should be listening to netlink
9926 for carrier events no matter what the initial state of the device
9929 2007-08-26 Dan Williams <dcbw@redhat.com>
9931 * src/nm-netlink-monitor.c
9932 - (nm_netlink_monitor_class_init): fix marshalling types for
9933 interface-connected/interface-disconnected
9934 - (nm_netlink_monitor_event_handler): clean up carrier on/off
9937 2007-08-26 Dan Williams <dcbw@redhat.com>
9939 Convert to using interface indexes as the primary method of identifying
9940 devices inside NetworkManager. Indexes are (?) stable, but devices can
9941 be renamed at any time. Device object paths now refer to the device
9942 index rather than the name, and you can map those two manually if you like
9943 by looking in the /sys/class/net/<name>/ifindex file. Also moves most
9944 netlink-related code to nm-netlink.c, and cleans up nm-netlink-monitor.c
9945 to use interface indexes rather than names.
9947 2007-08-26 Dan Williams <dcbw@redhat.com>
9949 * src/nm-netlink-monitor.h
9950 - Remove one last bit of wireless-event signal
9952 2007-08-26 Dan Williams <dcbw@redhat.com>
9954 * src/nm-netlink-monitor.c
9955 - (nm_netlink_monitor_class_init, nm_netlink_monitor_event_handler):
9956 don't need the 'wireless-event' signal anymore since that's all
9957 handled by wpa_supplicant
9959 2007-08-25 Dan Williams <dcbw@redhat.com>
9961 It's 2007. Remove support for drivers that don't support wireless scanning.
9964 include/NetworkManager.h
9965 src/NetworkManagerUtils.c
9966 src/NetworkManagerPolicy.c
9967 src/nm-device-802-11-wireless.c
9968 - Remove special handling for non-scanning devices and mark them
9969 as unsupported/unhandled
9971 2007-08-20 Dan Williams <dcbw@redhat.com>
9973 * src/nm-device-802-11-wireless.c
9974 src/nm-device-802-3-ethernet.c
9975 - (real_is_up): move device-specific tests before generic IFF_UP test,
9976 because when the card is pulled or the module removed, the device
9977 is already !IFF_UP and then device-specific cleanup (removing
9978 the supplicant interface, periodic checks, etc) never gets done
9980 2007-08-20 Dan Williams <dcbw@redhat.com>
9983 - (nm_manager_remove_device): bring device down before disconnecting
9984 signal handlers, so that the 'state' signal will get broadcast when
9985 the device enters the DOWN state
9986 - (manager_device_state_changed): add NM_DEVICE_STATE_DOWN to the list
9987 of states that cause the NMManager to recheck its state
9989 2007-08-20 Dan Williams <dcbw@redhat.com>
9991 * src/supplicant-manager/nm-supplicant-interface.c
9992 - (interface_disconnect_done): don't try to dispose of the net proxy
9993 when it may already have been disposed of
9995 2007-08-20 Dan Williams <dcbw@redhat.com>
9997 * src/nm-device-802-11-wireless.c
9998 - (nm_device_802_11_wireless_get_ssid): don't traceback and die when
9999 the SSID isn't available; this can happen when the card is pulled
10000 or the module unloaded, during the post-removal deactivation
10001 paths, when the ioctl returns ENODEV
10003 2007-08-20 Dan Williams <dcbw@redhat.com>
10005 * src/nm-device-802-11-wireless.c
10006 - (merge_scanned_ap): only merge the AP with another if the SSID, BSSID,
10007 frequency, and mode match. Applets are now responsible for grouping
10010 2007-08-20 Dan Williams <dcbw@redhat.com>
10012 * src/NetworkManagerAP.c
10013 * src/NetworkManagerAP.h
10014 - (nm_ap_print_self): new function
10016 * src/NetworkManagerAPList.c
10017 - (nm_ap_list_print_members): call nm_ap_print_self() rather than trying
10020 2007-08-17 Dan Williams <dcbw@redhat.com>
10022 * src/nm-device-802-3-ethernet.c
10023 - (real_bring_down): don't try to dispose of stuff that might not
10026 2007-08-17 Dan Williams <dcbw@redhat.com>
10028 * src/NetworkManagerAP.c
10029 - (nm_ap_set_user_addresses): uppercase any BSSID passed in from the
10030 applet. This ensures that the case between the seen-bssids and
10031 the bssids reported by the driver match.
10033 2007-08-17 Dan Williams <dcbw@redhat.com>
10035 * src/nm-device-802-11-wireless.c
10036 - (device_cleanup): disconnect the interface in wpa_supplicant before
10037 we dispose of the interface proxy in NM
10039 2007-08-16 Dan Williams <dcbw@redhat.com>
10041 * libnm-glib/nm-client.c
10042 - (nm_client_init): create VPN connections hash table with key free
10044 - (proxy_vpn_connection_added): VPN connections hash table key should
10045 be a duplicated value, not the same memory address as the VPN
10046 connection name. This is because the VPN connection name could
10047 potentially be freed and set to something else during the lifetime
10048 of the NMVPNConnection object.
10050 2007-08-16 Tambet Ingo <tambet@gmail.com>
10052 * src/ppp-manager/nm-ppp-manager.c (pppd_child_setup): Implement.
10053 (nm_ppp_manager_start): Use g_spawn_async() since we're not doing anything
10054 with the file descriptors. Send a child setup function to change the pppd
10057 2007-08-15 Dan Williams <dcbw@redhat.com>
10059 * src/supplicant-manager/nm-supplicant-interface.c
10060 - (try_remove_iface): new function, ask wpa_supplicant to remove
10062 - (nm_supplicant_interface_dispose): call try_remove_iface() when
10063 disposing of the NMSupplicantInterface. Otherwise weird stuff
10064 happens on hotplug if wpa_supplicant doesn't tear down and readd
10065 the interface internally
10067 2007-08-15 Dan Williams <dcbw@redhat.com>
10069 * src/nm-device-802-11-wireless.c
10070 - (real_bring_down): move most of this function into device_cleanup()
10071 so that it can be called from elsewhere
10072 - (nm_device_802_11_wireless_dispose): clean up device periodic timers
10073 and stuff on dispose. These would normally get cleaned up when
10074 the device is marked down and deactivated, but when the device is
10075 hot-unplugged, it's already down and real_down() never gets run
10077 2007-08-15 Dan Williams <dcbw@redhat.com>
10079 * src/nm-dbus-nmi.c
10080 - (nm_dbus_get_user_key_for_network_cb): fix incorrect refcounting that
10081 caused a reference leak on device for which NM requested a key
10083 2007-08-15 Dan Williams <dcbw@redhat.com>
10085 * libnm-glib/nm-client.c
10086 - (nm_client_get_best_vpn_state): fix leakage of the vpn connection list
10088 2007-08-15 Tambet Ingo <tambet@gmail.com>
10090 * src/ppp-manager: Implement ppp-manager. It's sort of dead code for now since
10091 nothing is using it at the moment, but it'll be all useful and stuff later on.
10093 * libnm-util/nm-setting.h: Define NMSettingPPP.
10095 * libnm-util/nm-setting.c: Implement NMSettingPPP.
10097 * libnm-util/nm-connection.c (register_default_creators): Register ppp setting.
10099 * src/Makefile.am: Add ppp-manager to SUBDIRS.
10101 * configure.in: Require ppp headers. Build Makefile for ppp-manager.
10103 * introspection/Makefile.am: Add nm-manager-client.xml to EXTRA_DIST.
10105 2007-08-14 Tambet Ingo <tambet@gmail.com>
10107 * libnm-glib/Makefile.am: Use nm-manager-client.xml to produce nm-client-bindings.
10109 * introspection/nm-manager-client.xml: Add a horrible horrbile hack to work around
10110 an issue with dbus-glib bindings generator. The issue is, the generated C caller
10111 functions for dbus methods "Sleep(bool)" and "sleep()" both have the same function
10112 name and different arguments and it won't compile anymore. To fix this, we now have
10113 two copies of nm-manager.xml file. nm-manager.xml contains the actual interface,
10114 that is new API + compatibility API and used by the daemon. The other,
10115 nm-manager-client.xml is only the new API without compatibility bits and is used
10116 by libnm-glib to make it compile.
10118 * introspection/nm-manager.xml: Define compatibility methods (sleep, wake, state).
10120 * src/nm-manager.c (impl_manager_legacy_sleep)
10121 (impl_manager_legacy_wake, impl_manager_legacy_state): Implement the compatibility
10122 interface functions for 0.6 branch.
10124 2007-08-14 Dan Williams <dcbw@redhat.com>
10126 * src/NetworkManagerAP.c
10127 - (nm_ap_new_from_properties): fix mistaken check of return value
10128 from memcmp (should expect 0)
10130 2007-08-14 Dan Williams <dcbw@redhat.com>
10132 (force-commit to fix wrong comment and partial commit of r2685; this
10133 commit actually applies to r2685)
10135 * src/NetworkManagerUtils.c
10136 - (nm_utils_same_ssid): add "ignore_trailing_null" parameter which
10137 ignores trailing nulls in the SSID to work around mismatches in
10138 expectations between WEXT and what the info-daemon passes back. The
10139 info-daemon would pass back the correct length, but due to the
10140 ESSID length issues with WEXT 22 and greater and wpa_supplicant,
10141 the device would always have an SSID + 1 depending on what versions
10142 of wpa_supplicant, the kernel, and NM you have. This was most often
10143 visible by just quitting the applet and relaunching, which caused
10144 NM to reassociated to the same network over again when reloading
10147 * src/NetworkManagerPolicy.c
10148 src/NetworkManagerUtils.h
10149 src/nm-device-802-11-wireless.c
10150 - Update for new parameter to nm_utils_same_ssid()
10152 2007-08-14 Dan Williams <dcbw@redhat.com>
10154 * src/NetworkManagerAP.c
10155 - (nm_ap_new_from_properties): ignore BSSs with invalid BSSIDs. Today
10156 I encountered a BSS that wasn't just hiding it's ESSID, it was
10157 setting the BSSID to all 0s. That confused the heck out of NM,
10158 plus it's useless and probably out-of-spec.
10160 2007-08-14 Dan Williams <dcbw@redhat.com>
10162 * callouts/Makefile.am
10163 src/dhcp-manager/nm-dhcp-manager.c
10164 src/dhcp-manager/nm-dhcp-manager.h
10165 src/dhcp-manager/Makefile.am
10166 - Change install location of nm-dhcp-client.action to ${prefix}/libexec
10168 2007-08-14 Dan Williams <dcbw@redhat.com>
10170 * src/dhcp-manager/nm-dhcp-manager.c
10171 - (dhclient_run): don't pass -x to dhclient until we figure out if
10172 it's really needed, get rid of unused xtra_args parameter
10174 2007-08-14 Dan Williams <dcbw@redhat.com>
10176 * include/NetworkManagerVPN.h
10177 src/vpn-manager/nm-dbus-vpn.c
10178 src/vpn-manager/nm-dbus-vpn.h
10179 src/vpn-manager/nm-vpn-act-request.c
10180 src/vpn-manager/nm-vpn-act-request.h
10181 src/vpn-manager/nm-vpn-service.c
10182 src/vpn-manager/nm-vpn-service.h
10183 libnm-glib/nm-vpn-connection.c
10184 libnm-glib/nm-vpn-connection.h
10185 libnm-glib/nm-client.h
10186 - Rename NM_VPN_STATE_* -> NM_VPN_SERVICE_STATE_* and NMVPNState ->
10187 NMVPNServiceState to clarify what they apply to
10188 - Rename NM_VPN_ACT_STAGE_* -> NM_VPN_CONNECTION_STATE_* and
10189 NMVPNActStage -> NMVPNConnectionState for the same reason
10191 * libnm-glib/nm-client.c
10192 - Constant + type renames from above
10193 - Properly handle NameOwnerChanged/manager_running signals
10194 for NM service; only emit when state really changes
10195 - Use hash tables correctly so that the key (which was previously owned
10196 by the D-Bus message) now has the same lifetime as the value, since
10197 the key is now taken from the the NMVPNConnection itself. This
10198 really fixes the double-VPN names in the applet
10200 2007-08-13 Dan Williams <dcbw@redhat.com>
10202 Patch from Michael Biebl <biebl@debian.org>
10206 - Update for vpn-properties move
10208 2007-08-13 Dan Williams <dcbw@redhat.com>
10210 * libnm-glib/nm-client.c
10211 - Convert internal VPN connection tracking from a list to a hash table
10212 to easily avoid duplicates
10213 - (nm_client_get_vpn_connections): now returns an allocated GSList that
10214 must be freed by the caller, like nm_client_get_devices()
10215 - (nm_client_remove_vpn_connection): don't let the removal signal
10216 leak through for NMVPNConnection objects that aren't actually
10218 - (manager_running): throw away VPN connection list when NM goes away,
10219 like with the device list
10221 2007-08-13 Dan Williams <dcbw@redhat.com>
10223 * src/dhcp-manager/nm-dhcp-manager.c
10224 - Stop any dhclient instance that might be already running for a
10225 particular interface before starting an NM spawned dhclient. Fixes
10226 dhclient processes left over if NM crashes, stuff like that.
10228 2007-08-13 Dan Williams <dcbw@redhat.com>
10230 * src/NetworkManagerAP.c
10231 - (finalize): don't try to g_array_free (NULL, ...), which happened
10232 when the AP wasn't broadcasting it's SSID
10234 2007-08-13 Rodrigo Moya <rodrigo@gnome-db.org>
10236 * include/NetworkManager.h: added DBus path for connection settings.
10238 * libnm-glib/nm-settings.[ch] (nm_settings_signal_new_connection,
10239 nm_connection_settings_signal_updated,
10240 nm_connection_settings_signal_removed): new functions to wrap the
10242 (nm_connection_settings_init): register GObject with DBus.
10243 (nm_connection_settings_get_dbus_object_path): new function.
10245 * libnm-glib/Makefile.am: added libnmutil to link flags.
10247 2007-08-13 Tambet Ingo <tambet@gmail.com>
10249 * configure.in: Remove checks for dhcdbd as it's killed! killed! killed!
10251 * gnome/*: Remove. The nm-vpn-properties directory is now part of nm-applet,
10252 libnm_glib directory got merged with libnm-glib/.
10254 * libnm-glib/libnm-glib.pc.in: Rename to libnm_glib.pc.in.
10256 * libnm-glib/Makefile.am: Add legacy libnm_glib.[ch] to the build.
10257 Rename the library from libnm-glib to libnm_glib to maintain the library API
10258 compatibility with 0.6 branch.
10260 * Makefile.am: Remove gnome/ SUBDIR.
10262 * gnome/libnm_glib/libnm_glib.[ch]: Move to libnm-glib/.
10264 * src/Makefile.am: Remove the WPA_SUPPLICANT_BIN define.
10266 * dispatcher-daemon/Makefile.am: Link the binary with libnm_glib.
10268 * configure.in: Remove GNOME checks, NetworkManager does not need any of these
10270 Remove checks for wpa_supplicant binary, it's used over dbus.
10271 Remove gnome/ directory files form AC_OUTPUT, that directory is getting moved.
10273 * test/Makefile.am: Remove define WPA_SUPPLICANT_BIN.
10274 Link the binaries with libnm_glib.la.
10276 2007-08-12 Dan Williams <dcbw@redhat.com>
10278 * src/NetworkManagerPolicy.c
10279 - (nm_policy_device_change_check): fix policy to deactivate old device
10280 before activating new one, at least until the multiple active
10281 device support lands
10283 2007-08-12 Dan Williams <dcbw@redhat.com>
10285 * src/NetworkManagerPolicy.c
10286 - (nm_policy_new): hook up to connection-added / connection-removed
10287 signals instead of connections-changed
10289 2007-08-12 Dan Williams <dcbw@redhat.com>
10291 Kill dhcdbd until it's dead, dead, dead. Based on a patch from
10292 Robert Frank <rfrank@redhat.com>
10294 * src/dhcp-manager/nm-dhcp-manager.c
10295 src/dhcp-manager/nm-dhcp-manager.c
10297 - Spawn and communicate with dhclient directly, through means of a
10298 custom dhclient callout script. Process callout D-Bus signals
10299 with dbus-glib instead of hand-rolled dbus. DHCP timeouts are now
10300 sent via gobject signals rather than being driven by the dhcp manager
10303 2007-08-12 Dan Williams <dcbw@redhat.com>
10305 * callouts/nm-dhcp-client-action.c
10306 - (build_message): ignore non-DHCP-related environment variables
10308 2007-08-12 Dan Williams <dcbw@redhat.com>
10312 callouts/Makefile.am
10313 callouts/nm-dhcp-client-action.c
10314 callouts/nm-dhcp-client.conf
10315 - Add dhclient-executed callout that takes the place of dhclient-script
10316 and dhcdbd, pushing DHCP options out to the system bus as a signal that
10317 NM then listens for
10319 2007-08-09 Tambet Ingo <tambet@gmail.com>
10321 [Based on patch by Helmut Schaa <hschaa@suse.de>]
10323 * libnm-glib/nm-client.h:
10324 * libnm-glib/nm-object.h:
10325 * libnm-glib/nm-vpn-connection.h:
10326 * libnm-glib/nm-settings.h:
10327 * libnm-glib/nm-device.h:
10328 * libnm-glib/nm-ip4-config.h:
10329 * libnm-glib/nm-access-point.h:
10330 * libnm-glib/nm-device-802-3-ethernet.h:
10331 * libnm-util/nm-setting.h:
10332 * libnm-util/nm-connection.h: Add G_BEGIN_DECLS / G_END_DECLS to support C++.
10334 * libnm-glib/nm-object.c (nm_object_get_byte_property): Implement.
10336 * libnm-glib/nm-access-point.c: Strength has type char.
10338 * gnome/vpn-properties/Makefile.am: Remove GNOME_DISABLE_DEPRECTATED for now
10339 to fix build. GnomeDruid is deprecated in recent libgnomeui.
10341 * introspection/nm-access-point.xml: Strength property is char, not int.
10343 * src/NetworkManagerAP.c (set_property): Set strength from char.
10344 (get_property): Handle hidden APs (with empty SSID).
10345 Get strength value from char.
10346 (nm_ap_class_init): Strength property has char type.
10348 2007-08-03 Rodrigo Moya <rodrigo@gnome-db.org>
10350 * introspection/Makefile.am:
10351 * introspection/nm-settings.xml:
10352 * introspection/nm-settings-connection.xml: added Settings interfaces.
10354 * libnm-glib/nm-settings.[ch]:
10355 * libnm-glib/Makefile.am: added abstract class for Settings interfaces
10356 containing the DBus implementation.
10358 2007-07-26 Dan Williams <dcbw@redhat.com>
10360 Patch from Bernhard Miklautz <bernhard.miklautz@shacknet.at>
10362 * src/NetworkManagerSystem.c
10363 - (nm_system_device_set_ip4_route): don't add the route if it's on the
10364 same subnet (#437396)
10366 2007-07-26 Dan Williams <dcbw@redhat.com>
10368 Patch from Kelemen Gábor <kelemeng@gnome.hu>
10370 * gnome/vpn-properties/nm-vpn-properties.c
10371 - Fix translatable strings (#445865)
10373 2007-07-26 Dan Williams <dcbw@redhat.com>
10375 Patch from Andreas Hanke <andreas.hanke@gmx-topmail.de>
10378 - Remove useless junk (#412530)
10380 2007-07-10 Christopher Aillon <caillon@redhat.com>
10382 Patch from Robert Buchholz <rbu@gentoo.org>:
10386 * introspection/Makefile.am:
10387 Make make distcheck work again.
10389 2007-06-27 Dan Williams <dcbw@redhat.com>
10391 * Make SSIDs GByteArrays everywhere
10392 * Rename "essid" -> "ssid" everywhere that's appropriate
10393 * Refcount activation_ap member of the 802.11 wireless device class
10395 2007-06-27 Tambet Ingo <tambet@ximian.com>
10397 * libnm-glib/nm-object.[ch]: Add these to the SVN, oops.
10399 2007-06-22 Tambet Ingo <tambet@ximian.com>
10401 * src/nm-device-802-11-wireless.c (merge_scanned_ap): Don't advertise constantly
10402 that we got a new AP when we just update existing AP properties.
10404 2007-06-21 Tambet Ingo <tambet@ximian.com>
10406 * libnm-glib/Makefile.am: Add NMObject to build, remove nm-utils.[ch].
10408 * nm-utils.[ch]: Remove.
10410 * libnm-glib/nm-object.c: Implement a base class for all libnm-glib dbus-aware
10411 objects for easy property access and dbus connection handling.
10413 * libnm-glib/nm-client.c: Derive from NMObject.
10415 * libnm-glib/nm-device.c: Ditto.
10417 * libnm-glib/nm-device-802-3-ethernet.c: Changes for being based on NMObject.
10419 * libnm-glib/nm-device-802-11-wireless.c: Ditto.
10421 * libnm-glib/nm-ip4-config.c: Ditto.
10423 * libnm-glib/nm-access-point.c: Ditto.
10425 * libnm-util/nm-connection.c (nm_connection_compare): Add a stub for connection
10426 comparision. Currently used by the device activation code to determine if the new
10427 activation is the same as the old one.
10429 * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Don't use the obsolete and
10430 wrong way of getting the dbus path for AP. Fixes the issue where the applet isn't
10431 able to ask password for the AP.
10433 * src/nm-device.c (nm_device_activate): Change the logic here - instead of giving
10434 up if the device is already connected, tear down it's connection (if it isn't the
10435 same as new one) and start the activation.
10437 * src/nm-manager.c: Add the beginnings of NMConnection storage and signals.
10439 * src/NetworkManagerAP.c (nm_ap_init): Set the default values to AP memebers, fixes
10440 the issue where all APs are always listed as encrypted.
10442 * src/NetworkManagerDbus.c (nm_dbus_get_object_path_for_network): Remove. APs have
10443 their own registered paths.
10445 * test/nm-tool.c (detail_device): Don't try to get active network from wireless
10446 device if it's not connected - dbus-glib will happily crash trying to marshal NULL.
10448 2007-06-13 Tambet Ingo <tambet@ximian.com>
10450 * src/NetworkManagerAP.c (foreach_property_cb): Set WEP capabilities too!
10453 * src/nm-device.c (nm_device_state_changed): Emit the signal before handling it
10454 because the handling code will cause the next state change and signal listeners
10455 get the signals in wrong order.
10457 * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Get the "old_dev"
10458 correctly in case of pending activation.
10460 * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
10461 Convert the essid byte array to string correctly, including the terminating NULL.
10463 * src/NetworkManagerPolicy.c (create_connection): Create wireless ssid and
10464 mode with correct types.
10466 * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Fix a typo, pass the
10467 constructed info to dbus call instead of the activation request.
10469 2007-06-11 Christopher Aillon <caillon@redhat.com>
10471 Patch from Christian Persch <chpe@gnome.org>
10473 * libnm-glib/Makefile.am:
10474 * dispatcher-daemon/Makefile.am:
10475 Use the correct variables, the correct paths, and correct ordering. (446315)
10477 2007-06-11 Tambet Ingo <tambet@ximian.com>
10479 * src/nm-device.c: Make the activation stage virtual functions take NMDevice
10480 argument. The activation request is easy to retrieve.
10482 * src/nm-activation-request.c: Convert to GObject. Do not include half of NM headers
10483 just to be a convenient location for devices to store random stuff.
10485 2007-06-11 Christopher Aillon <caillon@redhat.com>
10487 Patch from Alex Smith <alex@alex-smith.me.uk>
10489 * src/backends/NetworkManagerFrugalware.c:
10490 Update the FrugalWare backend to fix a few segfaults. (#392642)
10492 2007-06-08 Tambet Ingo <tambet@ximian.com>
10494 * libnm-util/nm-setting.c: Implement NMSettingWirelessSecurity.
10496 * libnm-util/nm-connection.c (register_default_creators): Register wireless security
10498 (gvalue_to_string): Recognize G_TYPE_UCHAR and GSList.
10500 2007-06-06 Tambet Ingo <tambet@ximian.com>
10502 * libnm-util/nm-setting.c: Get rid of dump virtual functions, that can happen
10504 Implement NMSettingIP4Config.
10505 Finish NMSettingWired by adding all known members.
10506 (setting_wired_verify): Implement.
10507 Finish NMSettingWireless by adding all known members.
10508 (setting_wireless_verify): Implement.
10510 * libnm-util/nm-connection.c: Register "ipv4" setting.
10511 (nm_connection_dump): Implement. Instead of requiring every NMSetting to implement
10512 dump function, we can introspect the GHashTable which is used for sending connections
10515 * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
10516 Take GByteArray for essid, it's really not a string.
10518 * src/nm-device.c (real_act_stage3_ip_config_start): Get information from NMSettings.
10519 Start DHCP request if setting is not passed or if it states that DHCP should be used.
10520 (real_act_stage4_get_ip4_config): If settings are provided, use them, even if it
10521 means overriding the values we got from DHCP.
10522 (real_activation_cancel_handler): Cancel DHCP transaction only if it has started, doh.
10523 (nm_device_deactivate_quickly): Ditto.
10525 * src/nm-device-interface.c (impl_device_activate): Dump the connection structure
10528 2007-05-07 Tambet Ingo <tambet@ximian.com>
10530 * libnm-glib/Makefile.am: Link with libnm-util to gain access to
10533 * libnm-glib/nm-device-802-11-wireless.c:
10534 (nm_device_802_3_ethernet_activate): Remove.
10536 * libnm-glib/nm-device-802-3-ethernet.c
10537 (nm_device_802_3_ethernet_activate): Remove.
10539 * libnm-glib/nm-device.c (nm_device_activate): Implement.
10541 * src/nm-device-802-3-ethernet.c: Implement the new activation using
10544 * src/nm-device-802-11-wireless.c: Store an activation AP once the
10545 activation has started.
10546 Implement the new activation using NMConnection.
10548 * src/nm-activation-request.c: Store a generic connection object instead
10549 of a wireless-specific AP.
10551 * src/NetworkManagerPolicy.c (create_connection): Implement. Depending
10552 on device type, create a device specific connection object suitable for
10555 * src/nm-device.c (nm_device_activate): Re-implement. Call the device
10556 specific check to validate the connection and on success start the
10559 * src/nm-device-interface.h: Add a activate virtual function to the
10560 interface definition.
10562 * src/nm-device-interface.c (nm_device_interface_activate): Implement.
10563 (impl_device_activate): Implement.
10565 * introspection/nm-device.xml: Add a generic device activation interface
10566 that accepts an abstract NMConnection structure that has device-specific
10569 * introspection/nm-device-802-3-ethernet.xml: Remove the wired-specific
10570 activation interface.
10572 * introspection/nm-device-802-11-wireless.xml: Remove the wireless-specific
10573 activation interface.
10575 * libnm-util/nm-connection.c:
10576 * libnm-util/nm-connection.h:
10577 * libnm-util/nm-setting.c:
10578 * libnm-util/nm-setting.h: Add.
10580 * libnm-util/Makefile.am: Build the added files.
10582 * src/nm-dbus-manager.c
10583 (proxy_name_owner_changed, nm_dbus_manager_class_init): Remove the
10584 DbusConnection argument from 'name-owner-changed' signal. The manager
10585 is already passed as a first argument to the signal and the connection
10586 is easy enough to get from it.
10588 * src/vpn-manager/nm-vpn-service.c (nm_vpn_service_name_owner_changed):
10589 Update the signature of the function.
10591 * src/vpn-manager/nm-vpn-manager.c (nm_name_owner_changed_handler):
10594 * src/NetworkManager.c: Ditto.
10596 * src/named-manager/nm-named-manager.c
10597 (nm_named_manager_name_owner_changed): Ditto.
10599 * src/supplicant-manager/nm-supplicant-manager.c
10600 (nm_supplicant_manager_name_owner_changed): Ditto.
10602 * src/nm-hal-manager.c (name_owner_changed): Ditto.
10604 * src/dhcp-manager/nm-dhcp-manager.c
10605 (nm_dhcp_manager_name_owner_changed): Ditto.
10607 * src/nm-hal-manager.c: Add a list of device detectors and creators
10608 to make it easier to add new devices. Each device type has it's own
10609 entry in the table so adding new device types is only a matter of
10610 implementing a couple of functions, one for device detection and the
10611 other for device creation.
10613 2007-04-25 Dan Williams <dcbw@redhat.com>
10615 * initscript/RedHat/NetworkManager.in: remove trailing backslash
10616 (gnome.org #432401)
10618 2007-03-30 Dan Williams <dcbw@redhat.com>
10620 * src/NetworkManagerSystem.c
10621 - (nm_system_device_set_ip4_route): clean up and fix argument
10622 to nm_dev_sock_open()
10624 2007-03-28 Tambet Ingo <tambet@ximian.com>
10626 * src/supplicant-manager/nm-supplicant-config.c (get_hash_cb): Marshal the
10627 data to correct types instead of always using string.
10629 * src/NetworkManagerAP.c (get_property): AP is encrypted if capabilities does
10630 _not_ have NM_802_11_CAP_PROTO_NONE.
10631 (foreach_property_cb): Set AP capabilities if it's not set or if the protocol
10634 2007-03-27 Tambet Ingo <tambet@ximian.com>
10636 * libnm-glib/Makefile.am: Fix the build issue.
10638 2007-03-26 Tambet Ingo <tambet@ximian.com>
10640 * libnm-glib/nm-vpn-connection.h:
10641 * libnm-glib/nm-vpn-connection.c: Implement.
10643 * libnm-glib/nm-client.c: Add VPN support.
10645 * src/vpn-manager/nm-dbus-vpn.c (dbus_message_handler): Implement DBUS message
10648 * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_new): Register VPN interface
10651 2007-03-26 Dan Williams <dcbw@redhat.com>
10653 * src/NetworkManagerAPList.c
10654 * src/nm-device-802-11-wireless.c
10655 * src/NetworkManagerAP.c:
10656 - Store last seen as glong instead of GTimeVal.
10657 - Fix the upper bound of capabilities, it's a bitfield.
10659 2007-03-16 Tambet Ingo <tambet@ximian.com>
10661 * libnm-glib/nm-device.c (nm_device_get_description): Implement.
10663 * libnm-glib/nm-client.c (nm_client_manager_is_running): Implement. Also add a
10664 "manager-running" signal that notifies the appearance/disappearance of NM.
10665 (nm_client_sleep): Implement.
10667 * libnm-glib/nm-device.c:
10668 * libnm-glib/nm-device-802-11-wireless.c:
10669 * libnm-glib/nm-device-802-3-ethernet.c:
10671 Don't inherit from DBusGProxy, add a proxy to private
10672 data. The reason is, classes inherited from NMDevice wouldn't get any dbus signals
10673 for anything but their own dbus interface. DBusGProxy objects support only one
10674 interfaces and to work around this, NMDevice has spearate proxy for each dbus
10675 interface. The nice side effect of this change is that we do not create a new
10676 DBusGProxy object for each property access.
10678 2007-03-15 Tambet Ingo <tambet@ximian.com>
10680 * src/nm-device-802-11-wireless.c (constructor): Initialize the iw_ext structures
10681 with zeroes before passing them to functions - the functions never do that and
10682 reading the values back may produce wrong values.
10683 (real_bring_up): Store the signal handler id ...
10684 (real_bring_down): ... So that it can be removed here.
10685 Disconnect the supplicant interface here as well.
10686 (nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): Use the dbus object path
10687 from the access point instead of old $device/Networks/$essid.
10689 * src/nm-manager.c (nm_manager_get_state): Return NM_STATE_CONNECTED when the
10690 device state is connected (instead of just having link/carrier).
10692 * src/nm-activation-request.c: Don't store NMData in activation request, it's
10693 already easily accessible through the device.
10695 * src/NetworkManagerAP.c (nm_ap_init): Construct the dbus object path here and
10696 store it within the object.
10697 (nm_ap_get_dbus_path): Export it to public as well.
10699 * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get): Keep the ownership
10702 2007-03-12 Dan Williams <dcbw@redhat.com>
10704 Get rid of 2 second poll of sysfs 'carrier' file for wired devices. Useless
10705 for non-carrier-detect capable devices, and useless for carrier-detect
10706 devices since we get notifications from netlink about carrier status anyway.
10708 * src/nm-device-802-3-ethernet.c
10709 - remove 'link_source_id' member from private data
10710 - (probe_link): remove and collapse into real_update_link()
10711 - (nm_device_802_3_periodic_update): remove
10712 - (real_is_up): check for sup_iface rather than link_source_id
10713 - (real_bring_up): return gboolean for success/fail; require that
10714 sup_iface be valid for device bringup to succeed
10715 - (real_bring_down): zero out link signal ids
10718 - (nm_device_activate_stage2_device_config): fail activation if device
10720 - (real_act_stage4_get_ip4_config): fail activation if device bringup
10722 - (nm_device_bring_up): return success/fail
10725 - bring_up now returns success/fail
10727 * src/nm-device-802-11-wireless.c
10728 - (real_bring_up): return success from bringup
10730 2007-03-07 Dan Williams <dcbw@redhat.com>
10732 Patch from Simon Geard <delgarde@ihug.co.nz> (Gnome.org #394956)
10733 * src/nm-ap-security-wpa-psk.c
10734 - (real_write_supplicant_config): work with PSKs that may contain
10735 zeros in the binary format rather than treating it as a string
10737 2007-03-02 Tambet Ingo <tambet@ximian.com>
10739 * libnm-glib/nm-device-802-11-wireless.c
10740 (nm_device_802_11_wireless_get_capabilities): Implement.
10742 * libnm-glib/nm-device.c (nm_device_get_capabilities): Implement.
10744 * src/nm-device-802-11-wireless.c: Add "WirelessCapabilities" property.
10746 * src/named-manager/nm-named-manager.c (remove_one_zone_from_named): Unref the
10747 reply only if it's not NULL. Not sure why this started happening right now.
10749 * src/nm-manager.c (device_stop_and_free): Remove. No need to have different
10750 code paths for when devices get removed on shutdown or when a device is just
10752 (finalize): Don't use a g_slist_foreach() when removing devices, the list data
10753 gets freed so any signal from a device (disconnected for instance) would invoke
10754 NMState update which would crash.
10755 (nm_manager_remove_device): Bring the device down when it gets removed.
10757 * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Remove
10758 the unused dev_type.
10760 * src/nm-hal-manager.c (create_device_and_add_to_list): Don't keep the
10761 reference to the added device, NMManager will own it (if it wants).
10763 * test/nm-tool.c: Rewrite using libnm-glib.
10765 * libnm-glib/nm-device-802-11-wireless.c: Cache networks (bssids) list.
10766 We get signalled when it changes.
10768 * libnm-glib/nm-client.c: Cache NMState and device list, we get signalled
10771 * libnm-glib/nm-device.c: Cache the device state property.
10773 * libnm-glib/nm-access-point.c: Cache the strength property.
10775 * src/nm-device-802-11-wireless.c: Fix wireless device scanning scheduler.
10776 The new algorithm is to start from SCAN_INTERVAL_MIN (currently defined as 0)
10777 and add a SCAN_INTERVAL_STEP (currently 20 seconds) with each successful scan
10778 until SCAN_INTERVAL_MAX (currently 120 seconds) is reached. Do not scan while
10779 the device is down, activating, or activated (in case of A/B/G cards).
10780 Remove some old dead ifdef'ed out code that used to configure wireless devices,
10781 it's all done through supplicant now.
10783 * src/supplicant-manager/nm-supplicant-interface.c: Fix the reference
10784 counting issues with pending calls which caused leaks and crashes when
10785 interface was removed (now that the interface actually gets removed).
10787 * src/nm-call-store.c: Make a copy of data before running a foreach
10788 with user callback on it - The most common usage pattern is to cancel
10789 (and thus remove) all pending calls with foreach which would modify
10790 the hash table we're iterating over.
10792 * src/nm-manager.c: When a device is added, make sure it is "up". When
10793 it's removed or disabled due to disabling wireless or networking, bring
10796 * include/NetworkManager.h: Add new device state NM_DEVICE_STATE_DOWN.
10798 * src/nm-device-802-11-wireless.c:
10799 * src/nm-device-802-3-ethernet.c:
10801 - Remove "init" virtual function, all gobjects have a place for that
10802 already (constructor).
10803 - Replace "start" virtual function with "bring_up", devices can be
10804 brought up and down more than just on startup now.
10805 - Add "is_up" virtual function.
10806 - Implement one way to bring a device down instead of previous 4 different
10807 ways, each of witch did something different.
10809 * src/NetworkManagerUtils.c (nm_dev_sock_open): This doesn't need an NMDevice,
10810 all it needs is the device interface.
10812 Get rid of NMData.dev_list (3 members to go).
10813 Get rif of NMData in a lot of places.
10815 * gnome/libnm_glib/libnm_glib.c: Make it compile again.
10817 2007-02-23 Dan Williams <dcbw@redhat.com>
10819 Patch from Andy Whitcroft <apw@shadowen.org> (Gnome.org #410426)
10821 * src/NetworkManagerAP.c
10822 - (add_capabilities_from_cipher): fix addition of WEP capabilities by
10823 OR-ing rather than AND-ing
10825 2007-02-20 Tambet Ingo <tambet@ximian.com>
10827 * libnm-glib/nm-device-802-11-wireless.c: Add "network-added" and
10828 "network-removed" signals.
10830 * libnm-glib/libnm-glib.pc.in: Require NetworkManager >= 0.7.0.
10832 * libnm-glib/nm-access-point.c: Add "strength-changed" signal, emit it
10833 when receiving the signal from dbus.
10835 * src/nm-device-802-11-wireless.c (get_property): Fix PROP_ACTIVE_NETWORK
10838 * src/NetworkManagerPolicy.c (state_changed): Fix a typo to make the
10839 deactivation of the previously activated device working again.
10841 * src/nm-activation-request.c: Remove NMActStage property and it's getter
10844 * src/nm-device.c (nm_device_is_activated): Remove.
10845 state == NM_DEVICE_STATE_ACTIVATED is just as easy to use.
10847 * include/NetworkManager.h: Remove NM_DBUS_NO_DEVICES_ERROR,
10848 NM_DBUS_NO_DIALUP_ERROR, NM_DBUS_NO_NETWORKS_ERROR,
10849 NM_DBUS_NO_ACTIVE_DEVICE_ERROR, NM_DBUS_NO_ACTIVE_NET_ERROR errors and
10850 NM_DBUS_SIGNAL_STATE_CHANGE signal.
10851 Remove NMNetworkStatus and NMActStage enums.
10853 2007-02-19 Tambet Ingo <tambet@ximian.com>
10855 * src/vpn-manager/nm-vpn-manager.c: Handle the DBUS state changes itself.
10856 Handle device state changes and disconnect VPN if it's device deactivates.
10858 * src/nm-dbus-nm.c:
10859 * src/nm-dbus-nm.h:
10860 * src/nm-dbus-device.c:
10861 * src/nm-dbus-device.c:
10862 * src/nm-dbus-net.c:
10863 * src/nm-dbus-net.h: Remove. All of it is implemented byt the new dbus API.
10865 * src/NetworkManagerMain.h: Get rid of all but 3 properties of NMData.
10867 * src/nm-device.c (nm_device_get_by_udi):
10868 (nm_device_get_by_iface): Remove. This doesn't belong here and is already
10869 implemented in the correct location (NMManager).
10870 Rip out all the test_device stuff.
10872 * src/NetworkManagerPolicy.c: Remove the leftover activation success and
10873 failure handlers, it's all done by NMDevice already.
10875 * src/NetworkManager.c: Move the signal handling here from nm-logging.c
10876 Remove the iochannel hack to route the unix signals to the main thread since
10877 we're not threaded anymore.
10879 * src/NetworkManagerAP.c: Implement HWAddress property.
10881 * src/NetworkManagerDbus.c: Remove the dbus signal sending code, it happens
10882 automatically with dbus-glib.
10884 * src/nm-netlink-monitor.c:
10885 * src/nm-netlink-monitor.h:
10886 - Move it low in the class hierarchy, don't reference any NM types.
10887 - Remove private data from the header.
10888 - Use type safe checks in public API methods.
10889 - Make it a singleton so we don't have to pass the single reference around.
10891 2007-02-16 Tambet Ingo <tambet@ximian.com>
10893 * introspection/nm-ip4-config.xml: Implement.
10895 * libnm-glib/libnm-glib-test.c: Use new DBUS API in tests.
10897 * libnm-glib/nm-ip4-config.c:
10898 * libnm-glib/nm-ip4-config.c: Implement.
10900 * src/nm-ap-security[-*]: Remove circular dependencies between APs and AP
10901 securities. APs reference security.
10903 * src/nm-device-802-11-wireless.c: Implement missing properties that need to
10904 be exported over DBUS.
10906 * src/nm-device-802-3-ethernet.c: Ditto.
10908 * src/NetworkManagerAP.c:
10909 * src/NetworkManagerAP.h:
10910 - Convert to GObject, export over DBUS.
10912 * src/nm-ip4-config.h:
10913 * src/nm-ip4-config.h:
10914 - Convert to GObject, export over DBUS.
10916 2007-02-12 Dan Williams <dcbw@redhat.com>
10918 Patch from Helmut Schaa <hschaa@suse.de>
10920 * vpn-daemons/pptp/configure.in
10921 vpn-daemons/pptp/Makefile.am
10922 vpn-daemons/openvpn/configure.in
10923 vpn-daemons/openvpn/Makefile.am
10924 vpn-daemons/vpnc/configure.in
10925 vpn-daemons/vpnc/Makefile.am
10926 - Add --without-gnome switch which disables building gnome bits
10928 2007-02-12 Tambet Ingo <tambet@ximian.com>
10930 * libnm-glib/nm-device.c (nm_device_get_use_dhcp): Remove.
10932 * libnm-glib/nm-access-point.c (nm_access_point_is_broadcast): Remove.
10934 * introspection/nm-device-802-3-ethernet.xml: Rename 'Address' property to
10937 * introspection/nm-device.xml: Remove 'UseDhcp' property.
10939 * introspection/nm-access-point.xml: Remove 'Broadcast' property.
10941 Totally break NetworkManager. Please use 0.6 branch until futher notice.
10944 - Remove old low-level dbus interface implementations and replace them
10945 with dbus-glib one.
10948 - Require dbus-glib >= 0.72.
10949 - Plug in new sources to build.
10952 - Implement GObject wrappers on top of DBUS glib auto-generated bindings
10953 to make it more convenient to use from GObject based programs.
10956 - Implement DBUS XML introspection files, used by both NM and libnm-glib.
10958 2007-02-09 Tambet Ingo <tambet@ximian.com>
10960 * src/nm-device-802-11-wireless.c:
10961 - Add "network-added" and "network-removed" signals.
10962 - Use gobject boilerplate macros to define the GObject.
10963 - Implement wireless device activation.
10964 - Remove activation_failure_handler and activation_success_handler
10965 and instead listen on state-changed signals and run the same code
10969 - Implment NMDeviceInterface::deactivate.
10970 - Remove activation_failure_handler and activation_success_handler
10971 virtual methods. Each device which is interested in these events
10972 can just listen on it's state changed signals.
10974 * src/NetworkManagerPolicy.c:
10975 - Move a bit more NMData usage to NMManager.
10976 - Remove activation scheduling bits.
10977 - Add listeners for wireless device's "network-added" and
10978 "network-removed" signals.
10979 - Listen device changed signals and deactivate currently activated
10980 device when another device start activating (for now).
10981 - Remove (nm_policy_schedule_device_change_check): There's never a need
10982 for calling this, the policy code knows exactly when this should happen,
10983 by listening on events from NMManager and NMDevices.
10985 * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_activate):
10988 * src/nm-dbus-nm.c (nm_dbus_nm_set_active_device): Call the activation
10989 method on the specific device instead of going to through policy code
10990 and determining the device type by passed in AP's existance.
10992 * src/nm-device-interface.c (nm_device_interface_deactivate): Implement the
10993 abstract NMDevice deactivation.
10995 2007-02-08 Tambet Ingo <tambet@ximian.com>
10997 * src/NetworkManager.c:
10998 - Set up all the shiny new managers.
11000 * src/NetworkManagerPolicy.c:
11001 - Add the beginnings of new NMPolicy code. Instead of requireing all
11002 classes to call into policy code, make the policy code kind of like
11003 a supervisor that monitors what's going on and drives the whole NM.
11005 * src/nm-hal-manager.c:
11006 * src/nm-hal-manager.h:
11007 - Collect all libhal code scattered around NM to this one class.
11008 - Listen libhal and NMManager events and add/remove devices to
11011 * src/nm-manager.c:
11012 * src/nm-manager.h:
11013 - Implment a replacement for NMData. NMData is now officially
11016 2007-02-05 Tambet Ingo <tambet@ximian.com>
11018 * src/nm-device-802-11-wireless.c (supplicant_iface_scan_result_cb):
11019 * src/supplicant-manager/nm-supplicant-interface.h
11020 * src/supplicant-manager/nm-supplicant-interface.c
11021 (nm_supplicant_interface_class_init): Change the "scan-result" signal's
11022 argument to boolean from enum.
11024 Make NMDevice abstract class, remove almost all references to it's
11025 subclasses (the last place gets removed with new policy manager). Add
11026 NMDeviceInterface (which NMDevice implements) so that when we have
11027 NMDevice exported over DBUS, there's a common NMDevice interface which
11028 all instances have, plus there's a device specific interface for each
11030 Remove functions (nm_device_is_802_3_ethernet) and
11031 (nm_device_is_802_11_wireless). There are already standard GObject macros
11032 for type safe checks.
11033 Use the updated supplican manager API.
11035 * src/nm-device-interface.h:
11036 * src/nm-device-interface.c:
11037 * src/nm-call-store.h:
11038 * src/nm-call-store.c: Implement.
11040 * src/supplicant-manager/nm-supplicant-interface.c:
11041 * src/supplicant-manager/nm-supplicant-interface.h:
11042 * src/supplicant-manager/nm-supplicant-manager.c:
11043 * src/supplicant-manager/nm-supplicant-manager.h:
11044 - Remove all private data type references from public header files.
11045 - Remove all references to other NM classes, this class is just a
11046 proxy between wpa_supplicant and NM so it doesn't have to know
11048 - Convert to dbus-glib bindings.
11049 - Type safe checks for public methods' arguments.
11050 - Store pending DBUS call ids to NMCallStore.
11052 * src/supplicant-manager/nm-supplicant-config.c:
11053 - Store config values in a GHashTable instead of GSList.
11055 * src/NetworkManagerMain.h: Remove all references to DHCP manager.
11057 * src/NetworkManager.c: Don't initialize the DHCP manager, it's a
11060 * src/nm-device.c: Use the new DHCP manager API.
11062 * src/nm-activation-request.c:
11063 * src/nm-activation-request.h:
11064 - Remove all dhcp related properties and methods.
11066 * src/dhcp-manager/nm-dhcp-marshal-main.c: Add.
11068 * src/dhcp-manager/nm-dhcp-marshal.list: Add.
11070 * src/dhcp-manager/nm-dhcp-manager.c:
11071 * src/dhcp-manager/nm-dhcp-manager.h:
11072 - Convert it to GObject since we need to signal state changes.
11073 - Remove all references to other NM classes, this class is one
11074 of the lowest classes in our hierarchy.
11075 - One less class to use NMActRequest.
11076 - Make it singleton, one less user of NMData.
11077 - Remove a couple of sleep() calls.
11078 - Convert a bunch of low-level dbus API calls to dbus-glib calls.
11079 One less class to use the NM's custom tailored signal handlig.
11081 * Makefile.am: Generate marshallers, add them to build.
11083 2007-02-02 Dan Williams <dcbw@redhat.com>
11089 - Remove last bits referencing gnome applet
11091 2007-02-02 Dan Williams <dcbw@redhat.com>
11093 * src/vpn-manager/nm-vpn-service.c
11094 - (nm_vpn_service_stage4_ip4_config_get): use uint32 arrays for DNS
11095 and NBNS server addresses
11097 2007-02-02 Tambet Ingo <tambet@ximian.com>
11099 * src/nm-dbus-manager.c:
11100 * src/nm-dbus-manager.h:
11101 - Convert all internal DBUS code to use dbus-glib bindings.
11102 - Remove GObject properties, we don't need them here.
11103 - Don't explicitly set things to NULL after freeing, glib is
11104 happy to do it if asked nicely (G_DEBUG=gc-friendly).
11105 - Make public API argument checks type safe.
11106 - Remove unnecessary (and wrong) cast to GObject for the first
11107 argument to g_signal_* calls - The first argument is a gpointer.
11108 - Export DBusGConnection to other cool classes that (are going to)
11111 2007-01-26 Dan Williams <dcbw@redhat.com>
11113 * libnm-util/dbus-dict-helpers.c
11114 libnm-util/dbus-dict-helpers.h
11115 - Coordinate style with wpa_supplicant version to minimize diff
11116 - Add uint32 array support
11117 - (nmu_dbus_dict_append_uint32_array): new function
11118 - (nmu_dbus_dict_begin_string_array, nmu_dbus_dict_string_array_add_element,
11119 nmu_dbus_dict_end_string_array): bring over from wpa_supplicant
11120 version; allow adding string array elements individually
11122 * test/libnm-util/test-dbus-dict-helpers.c
11123 - Test uint32 arrays
11125 2007-01-27 Jürg Billeter <j@bitron.ch>
11127 * src/backends/NetworkManagerPaldo.c
11128 - (nm_system_update_dns): clear nscd hosts cache
11130 2007-01-04 Dan Williams <dcbw@redhat.com>
11132 Threading removal related cleanups:
11134 - Use the glib default main context. Remove the device main context
11135 member from NMDevice, and the main_context member from NMData. Change
11136 all the idle and timeout scheduler functions to use plain
11137 g_idle_add() and g_timeout_add().
11139 - As a side-effect of the first change, nm_dbus_manager_get() no longer
11140 takes an argument; fix that up too.
11142 - Remove all locking, which is useless since we no longer use threads. For
11143 example, nm_get_device_by_iface_locked() has been removed. The global
11144 device list lock, the AP List lock, and all static locks in
11145 NetworkManagerPolicy.c have been removed. The locking utility functions
11146 in NetworkManagerUtils.c have also been removed.
11148 - Other cleanups in spacing and code style
11150 2007-01-01 Dan Williams <dcbw@redhat.com>
11152 Found by Bill Moss:
11154 * src/supplicant-manager/nm-supplicant-interface.c
11155 - (nm_supplicant_interface_disconnect): fix cleanup logic when
11156 the supplicant interface wasn't already disconnected. Always
11157 call removeNetwork and disconnect unless the supplicant interface
11158 is in the DISCONNECTED or INACTIVE state.
11160 2006-12-28 Dan Williams <dcbw@redhat.com>
11162 Use a single thread for everything. With the move to wpa_supplicant
11163 and communication over D-Bus, there's no reason for multiple threads.
11164 Almost all of the blocking code has been removed, with one exception in
11165 the DHCP manager and a few in the VPN manager. This commit removes the
11166 per-device worker thread and fixes activation cancellation in the absence
11167 of threads. Further removal of thread-related code would be removing
11168 any locking code (like the device list lock) and simplification of logic
11169 around areas of code or data structures that are currently locked.
11172 dhcp-manager/nm-dhcp-manager.c
11173 nm-device-802-11-wireless.c
11174 nm-device-802-3-ethernet.c
11177 - Remove usage of multiple threads
11179 2006-12-19 Dan Williams <dcbw@redhat.com>
11181 Big wpa_supplicant + dbus update; need latest wpa_supplicant from CVS
11182 plus a few other patches from wpa_supplicant bugzilla.
11185 src/NetworkManagerPolicy.c
11186 src/NetworkManagerUtils.c
11187 src/NetworkManagerUtils.h
11188 src/nm-ap-security-leap.c
11189 src/nm-ap-security-wep.c
11190 src/nm-ap-security-wpa-eap.c
11191 src/nm-ap-security-wpa-psk.c
11192 src/nm-ap-security.c
11193 src/nm-ap-security.h
11194 src/nm-device-802-11-wireless.c
11195 src/nm-device-802-11-wireless.h
11196 src/supplicant-manager/nm-supplicant-config.c
11197 src/supplicant-manager/nm-supplicant-config.h
11198 src/supplicant-manager/nm-supplicant-interface.c
11199 src/supplicant-manager/nm-supplicant-interface.h
11200 src/supplicant-manager/nm-supplicant-marshal.list
11201 src/supplicant-manager/nm-supplicant-settings-verify.c
11202 src/supplicant-manager/nm-supplicant-settings-verify.h
11203 - Move all connection management and association handling to
11204 wpa_supplicant over dbus, rather than spawning a private copy
11206 2006-12-19 Dan Williams <dcbw@redhat.com>
11208 * src/NetworkManagerPolicy.c
11209 - (nm_policy_device_change_check, nm_policy_schedule_device_change_check):
11210 better locking of the device change check handler ID. Incorrect
11211 locking was causing lost device change requests
11213 2006-12-18 Dan Williams <dcbw@redhat.com>
11215 * libnm-util/dbus-dict-helpers.c
11216 - (_nmu_dbus_dict_entry_get_array, _nmu_dbus_dict_entry_get_string_array,
11217 _nmu_dbus_dict_entry_get_byte_array): replace usage of
11218 dbus_message_iter_get_array_len() (Gnome.org #382898)
11220 2006-12-18 Dan Williams <dcbw@redhat.com>
11222 * gnome/libnm_glib/libnm_glib.c
11223 - Change dbus_connection_close() -> dbus_connection_unref()
11225 2006-12-11 Dan Williams <dcbw@redhat.com>
11227 * src/supplicant-manager/nm-supplicant-interface.c
11228 - (iface_state_cb, wpas_iface_get_state): new functions; query initial
11229 wpa_supplicant interface state
11230 - (nm_supplicant_interface_add_cb): query initial wpa_supplicant interface
11231 state before transitioning to READY state
11233 2006-12-04 Dan Williams <dcbw@redhat.com>
11235 * src/nm-device-802-11-wireless.c
11236 - (supplicant_iface_scanned_ap_cb): fix parsing of hidden APs due to
11237 odd length of ESSID returned from ieee80211 stack-based drivers
11239 2006-12-04 Dan Williams <dcbw@redhat.com>
11241 * src/nm-device-802-11-wireless.c
11242 - (supplicant_iface_scanned_ap_cb): remove erroneous & from WPA & RSN
11243 IE handling blocks that cause mis-parsing of the IE
11245 2006-12-04 Dan Williams <dcbw@redhat.com>
11247 * src/nm-device-802-11-wireless.c
11248 - (init_supplicant_interface): new function; pull supplicant interface
11249 setup code out into standalone function since it must be called from
11250 two different places
11251 - (real_init): sup_mgr is now in private object data; get and track
11252 the supplicant manager object over the NMDevice subclass' lifetime
11253 and register a signal handler for its state signals; only try to
11254 initialize the supplicant interface if the supplicant manager is in
11255 the IDLE state (and therefore is ready for requests)
11256 - (request_wireless_scan): reschedule the scan request if (a) there is
11257 no supplicant interface yet (meaning wpa_supplicant isn't running
11258 or isn't ready yet), or (b) if the supplicant interface isn't ready
11260 - (supplicant_iface_connection_state_cb): new function; stub for
11261 handling supplicant interface connection state signals
11262 - (supplicant_mgr_state_cb): do the right thing when wpa_supplicant
11264 - (nm_device_802_11_wireless_dispose): clean up spacing; release the
11265 supplicant manager object that's being tracked starting with this
11268 2006-12-04 Dan Williams <dcbw@redhat.com>
11270 * src/supplicant-manager/nm-supplicant-interface.c
11271 - (nm_supplicant_interface_set_property): track signal handler ID
11272 - (nm_supplicant_interface_dispose): remove signal handler on dispose
11274 2006-12-04 Dan Williams <dcbw@redhat.com>
11276 * src/supplicant-manager/nm-supplicant-interface.[ch]
11277 - (nm_supplicant_interface_get_state): new function
11279 2006-12-04 Dan Williams <dcbw@redhat.com>
11281 * src/supplicant-manager/nm-supplicant-interface.c
11282 - (bssid_properties_cb): don't treat DBus errors as valid
11283 scanned AP messages
11285 2006-12-04 Dan Williams <dcbw@redhat.com>
11287 * src/supplicant-manager/nm-supplicant-interface.[ch]
11288 - (nm_supplicant_interface_get_connection_state): new function
11289 - define new supplicant connection states
11290 - send a signal when the supplicant connection state changes
11292 2006-12-03 Dan Williams <dcbw@redhat.com>
11294 * src/supplicant-manager/Makefile.am
11295 src/supplicant-manager/nm-supplicant-connection.h
11296 src/supplicant-manager/nm-supplicant-connection.c
11297 src/supplicant-manager/nm-supplicant-config.h
11298 src/supplicant-manager/nm-supplicant-config.c
11299 src/supplicant-manager/nm-supplicant-types.h
11300 src/supplicant-manager/nm-supplicant-interface.h
11301 src/supplicant-manager/nm-supplicant-interface.c
11302 - Rename NMSupplicantConnection -> NMSupplicantConfig
11304 2006-12-03 Dan Williams <dcbw@redhat.com>
11306 Patch from Gabor Kelemen <kelemeng@gnome.hu> (Gnome.org #381890)
11310 - Move VPN-related translatables to .skip
11312 * vpn-daemons/pptp/po/POTFILES.in
11313 - Update with new translatables
11315 2006-12-02 Dan Williams <dcbw@redhat.com>
11317 Patch from Christian Persch <chpe@gnome.org>
11319 * gnome/applet/Makefile.am
11320 gnome/applet/applet-dbus-devices.c
11321 gnome/applet/applet-notifications.c
11322 gnome/applet/applet.c
11323 gnome/applet/applet.h
11324 gnome/applet/main.c
11325 - Be a GtkStatusIcon on GTK+ >= 2.10
11327 2006-12-02 Dan Williams <dcbw@redhat.com>
11329 * gnome/applet/applet.c
11330 - (nma_update_info): fix two unecessary allocations
11332 2006-12-02 Dan Williams <dcbw@redhat.com>
11334 Patch from Michael Biebl <biebl@teco.edu>
11336 man/NetworkManager.1.in
11337 man/NetworkManagerDispatcher.1.in
11338 man/NetworkManager.8.in
11339 man/NetworkManagerDispatcher.8.in
11340 - Add .SH NAME stanzas
11341 - Move NM & NM Dispatcher manpages to section 8 (admin)
11343 2006-12-02 Dan Williams <dcbw@redhat.com>
11345 Patch from Christian Persch <chpe@gnome.org>
11348 - Check for GTK+ 2.10 in preparation for GtkStatusIcon patch
11350 2006-11-29 Tambet Ingo <tambet@ximian.com>
11352 Patch by Timo Hoenig <thoenig@suse.de>:
11353 * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Make it work with
11356 * src/supplicant-manager/Makefile.am: Add nm-supplicant-marshal here, since
11357 we can't use the one from the main source directory.
11359 2006-11-27 Dan Williams <dcbw@redhat.com>
11361 Patch from Christian Persch <chpe@gnome.org>
11363 * gnome/applet/applet-dbus-devices.c
11364 - (hal_info_product_cb): fix memleak; free duped string.
11367 2006-11-27 Dan Williams <dcbw@redhat.com>
11369 Patch from Christian Persch <chpe@gnome.org>
11371 * gnome/applet/menu-items.c
11372 - (network_menu_item_update): use gtk_progress_bar_set_fraction()
11373 as gtk_progress_set_percentage is deprecated. Should
11374 work as far back as GTK+ 2.4. Gnome.org #379780
11376 2006-11-26 Dan Williams <dcbw@redhat.com>
11378 Scan using wpa_supplicant over DBus.
11380 * src/nm-device-802-11-wireless.c
11381 - remove wireless extensions netlink event handler bits
11382 (wireless_event_helper, nm_device_802_11_wireless_event)
11383 - remove wireless extensions scan event handler bits
11384 (process_scan_results, add_new_ap_to_device_list, hexstr2bin,
11385 hex2byte, hex2num, request_and_convert_scan_results,
11386 free_process_scan_cb_data, scan_results_timeout,
11387 schedule_scan_results_timeout, cancel_scan_results_timeout)
11388 - Rename nm_device_802_11_wireless_scan() -> request_wireless_scan()
11389 and request scans from the supplicant interface rather than directly
11390 - Move functionality of convert_scan_results() to cull_scan_list() and
11391 supplicant_iface_scanned_ap_cb()
11392 - (supplicant_iface_scan_result_cb): new function; schedule a new scan
11393 at the scan interval when the current scan has finished
11394 - (supplicant_iface_state_cb): start scanning when the supplicant
11395 interface enters the READY state, and stop scanning when it
11396 enters the DOWN state
11397 - (cull_scan_list): weed out old access points from the scan list
11398 - (supplicant_iface_scanned_ap_cb): convert a supplicant scanned access
11399 point into an NMAccessPoint and merge it into the device's scan list
11401 * src/supplicant-manager/nm-supplicant-interface.c
11402 src/supplicant-manager/nm-supplicant-interface.h
11403 - Add a new signal "scan-result" which is issued when the supplicant
11404 notifies NM that a scan has completed
11405 - Add a new signal "scanned-ap" that notifies listeners of a new access
11406 point found in the scan. Called once for each access point that
11407 the supplicant interface object receives from the supplicant as a
11408 result of the "scanResults" method call
11409 - (wpas_iface_query_scan_results): don't wait 4s before querying
11410 for the initial scan results
11411 - (scan_request_cb): new function; send listeners the result
11412 (success, error) of a wireless scan request
11413 - (nm_supplicant_interface_request_scan): new function; ask the
11414 supplicant to perform an immediate wireless scan
11416 2006-11-25 Dan Williams <dcbw@redhat.com>
11418 * src/supplicant-manager/Makefile.am
11419 - Since we're including NetworkManagerMain.h in nm-supplicant-interface.c,
11420 add HAL cflags/includes and named-manager includes directory
11422 * src/supplicant-manager/nm-supplicant-interface.h
11423 - New state STARTING to handle transition from INIT to READY where
11424 the addInterface pending call is still outstanding
11426 * src/supplicant-manager/nm-supplicant-interface.c
11427 - track pending calls differently since we may have more than one
11428 going on at any given time
11429 - request scan results from wpa_supplicant; but don't do it more often
11430 than every 4 seconds. Drivers that do background scanning
11431 (like the 'ipw' drivers) send a continuous stream of scan completion
11432 notifications, so we don't want to hammer the supplicant or dbus
11433 with requests for all scan results every time we get a completion
11436 2006-11-25 Dan Williams <dcbw@redhat.com>
11438 * src/supplicant-manager/nm-supplicant-types.h
11439 - new file; move all supplicant manager object typedefs here for
11442 * src/supplicant-manager/nm-supplicant-interface.c
11443 src/supplicant-manager/nm-supplicant-interface.h
11444 - new file; an object that interfaces an NMDevice object to the
11445 supplicant and handles signals from the supplicant. This object
11446 does all necessary DBus communication with wpa_supplicant.
11448 * src/supplicant-manager/nm-supplicant-manager.c
11449 src/supplicant-manager/nm-supplicant-manager.h
11450 - Actually do something. Track the state of the wpa_supplicant service
11451 and deal with its comings & goings. Handle life events of
11452 supplicant interfaces too.
11453 - Move NMSupplicantManager typedef to nm-supplicant-types.h
11455 * src/supplicant-manager/nm-supplicant-connection.h
11456 - Move NMSupplicantConnection typedef to nm-supplicant-types.h
11458 * src/supplicant-manager/Makefile.am
11459 - Add new files to build, and add libnm-util to includes
11461 * src/nm-marshal.list
11462 - New marshaler type: VOID:UINT,UINT
11464 * src/nm-device-802-3-ethernet.c
11465 - (real_init): grab a supplicant interface
11466 - (nm_device_802_3_ethernet_dispose): release the supplicant interface
11467 - (supplicant_iface_state_cb): new function, stub for handling
11468 supplicant interface state changes
11470 * src/nm-device-802-11-wireless.c
11471 - (real_init): grab a supplicant interface
11472 - (nm_device_802_11_wireless_dispose): release the supplicant interface
11473 - (supplicant_iface_state_cb): new function, stub for handling
11474 supplicant interface state changes
11476 * src/NetworkManager.c
11477 - (main): create and keep the supplicant manager around for the lifetime
11481 - Link to the supplicant manager sub-library and use the supplicant
11484 2006-11-25 Dan Williams <dcbw@redhat.com>
11486 Rework DBus manager signal handling to be more flexible. Previously,
11487 only one signal handler could be registered for a particular interface.
11488 The DBus manager now reference counts DBus bus matches and allows multiple
11489 clients to register signal handlers for the same interface and sender.
11491 * src/NetworkManager.c
11492 - (main): track NMI signal handler ID and remove it when we quit
11494 * src/NetworkManagerMain.h
11495 - Keep track of NMI signal handler ID
11497 * src/nm-dbus-manager.c
11498 src/nm-dbus-manager.h
11499 - rework signal handling; each signal handler references one signal
11500 match, but a signal match may be referenced by one or more
11501 signal handlers. Matches are refcounted and are destroyed when the
11502 last signal handler that references the match is removed. This is
11503 necessary because two signal handlers may end up requiring the same
11504 dbus bus match, so the match must live until the last signal handler
11505 is destroyed (for example, with the wpa_supplicant network interface
11508 * src/dhcp-manager/nm-dhcp-manager.c
11509 - (nm_dhcp_manager_new): track DHCP signal handler id
11510 - (nm_dhcp_manager_dispose): remove DHCP signal handler
11512 * src/vpn-manager/nm-vpn-service.c
11513 - (nm_vpn_service_add_watch): track VPN service signal handler id
11514 - (nm_vpn_service_remove_watch): remove VPN service signal handler
11516 2006-11-25 Dan Williams <dcbw@redhat.com>
11518 Suggested by Helmut Schaa <hschaa@suse.de>
11520 * src/vpn-daemons/nm-vpn-service.c
11521 - (supplicant_child_setup): new function
11522 - (supplicant_exec): make child process use a new process group id
11524 * src/nm-device-802-11-wireless.c
11525 - (nm_vpn_service_child_setup): new function
11526 - (nm_vpn_service_stage1_daemon_exec): make child process use a new
11529 2006-11-19 Dan Williams <dcbw@redhat.com>
11531 Patch from Dan Berrange <dan@berrange.com> Gnome.org #377262
11532 * gnome/vpn-properties/nm-vpn-properties.c
11533 - clean up after renamed VPN connection
11535 2006-11-19 Dan Williams <dcbw@redhat.com>
11537 Patch from Dan Berrange <dan@berrange.com> Gnome.org #377205
11538 * gnome/applet/applet-dbus-vpn.c
11539 - (nma_dbus_vpn_properties_cb): sort VPN connections
11541 * gnome/vpn-properties/nm-vpn-properties.c
11542 - (init_app): sort VPN connections
11544 2006-11-09 Dan Williams <dcbw@redhat.com>
11546 * src/NetworkManagerAPList.c
11547 - (nm_ap_list_copy_one_essid_by_address): fix bug due to previous
11548 code cleanup in revision 1.56; the split of the !nm_ap_get_essid()
11549 from the nm_ap_list_get_ap_by_address() call was incorrect and
11550 broke hidden SSID matching. Found by Bill Moss.
11552 2006-10-25 Dan Williams <dcbw@redhat.com>
11555 - (nm_dbus_nm_set_active_device): return an empty success message on
11556 success, rather than falling through to the error case.
11558 2006-10-25 Dan Williams <dcbw@redhat.com>
11560 * src/NetworkManagerUtils.c
11561 - (nm_utils_supplicant_request_with_check): suppress messages for the
11564 2006-10-24 Dan Williams <dcbw@redhat.com>
11566 Reduce the number of times the Gnome applet wakes up, especially when
11567 it's doing absolutely nothing and is hidden. Initial patch by
11570 * gnome/applet/applet-dbus.c
11571 - (nma_dbus_filter): when NM isn't around, or when it goes away,
11572 kill the redraw timeout. When NM starts up, start the redraw
11573 timeout. Also, if we get kicked off the bus for some reason,
11574 start the reconnection timeout if one's not already running.
11575 - (nma_dbus_init): better handling of error conditions, don't leak
11576 a half-initialized dbus connection
11577 - (nma_dbus_connection_watcher): consolidate places we reinitialize
11578 the applet's data, just call nm_dbus_init_helper()
11579 - (nma_start_dbus_connection_watch): new function, starts a periodic
11580 timeout that calls nma_dbus_connection_watcher()
11581 - (nma_dbus_init_helper): if we get a successful connection, kill the
11582 reconnection timeout, and don't start the reconnection timeout
11583 unconditionally anymore
11585 * gnome/applet/applet-dbus.h
11586 - Expose nma_start_dbus_connection_watch()
11588 * gnome/applet/applet.c
11589 - (nma_update_state): no longer static, called from applet-dbus.c for
11590 immediate UI updates on certain events
11591 - (nma_set_running): new function; take over setting applet->running,
11592 when not running (ie, NM is not active), don't activate the redraw
11593 timeout because we're not showing the applet anyway. When we are
11594 running (ie, NM is active), and only when we're running, start the
11596 - (nma_destroy): kill the redraw timeout by setting 'not running', and
11597 kill any reconnection timeout
11598 - (nma_get_instance): move one-off dbus initialization code here since
11599 nm_dbus_init_helper() gets called more than once, possibly by the
11600 reconnection timeout function too. And, when we start up, if we
11601 can't get a connection to the bus, start the reconnection timeout.
11602 But don't start the redraw timeout yet, only do that when we get
11603 NM's state and find out if it's running or not.
11605 * gnome/applet/applet.h
11606 - Add the reconnection GSource ID
11607 - Add prototypes for nma_set_running() and the no-longer-static
11610 2006-10-24 Dan Williams <dcbw@redhat.com>
11612 * src/vpn-daemons/nm-dbus-vpnc.c
11613 - (nm_dbus_vpn_update_one_connection_cb): unregister pending call in
11614 pending call tracker
11615 - (nm_dbus_vpn_connections_update_cb): unregister pending call in
11616 pending call tracker; register one-vpn-connection update pending
11617 call in pending call tracker
11618 - (nm_dbus_vpn_update_one_vpn_connection): register one-vpn-connection
11619 update pending call in pending call tracker
11620 - (nm_dbus_vpn_connections_update_from_nmi): register vpn-connections
11621 update pending call in pending call tracker; don't block waiting
11624 2006-10-19 Robert Love <rml@novell.com>
11626 * src/backends/NetworkManagerSuSE.c: Don't ever restart nscd; just
11629 2006-10-14 Dan Williams <dcbw@redhat.com>
11631 * src/dhcp-manager/nm-dhcp-manager.c
11632 - (get_ip4_string, get_ip4_uint32s): have the caller pass
11633 the dbus connection and the device object path rather than
11634 constructing it inside both functions. Saves a bit of memory
11635 and clarifies a failure path.
11636 - (nm_dhcp_manager_get_ip4_config): grab the dbus connection
11637 and allocate device path here rather than each of the two
11640 2006-10-13 Dan Williams <dcbw@redhat.com>
11642 * src/NetworkManager.c
11643 - (nm_name_owner_changed_handler): handle NMI coming and going,
11644 this somehow droppout in the refactor
11646 2006-10-13 Dan Williams <dcbw@redhat.com>
11648 * Huge DBus refactor:
11649 - Create a "DBus Manager" object which manages the connection and
11650 sends signals on NameOwnerChanged and connection/disconnection events,
11651 handles reconnection to the bus if NM gets kicked off, and abstracts
11653 - Remove DBusConnection members from places where they are no
11654 longer needed due to the refactor, like the dbus-connection
11655 property of the named manager, and from NMData
11656 - Reformats a bunch of the code to gnome style
11657 (8-space tabs, braces on same line as statement, 80-col width).
11658 Consider it open season to reformat any bits to gnome style.
11659 style that aren't already.
11661 2006-10-13 Dan Williams <dcbw@redhat.com>
11663 * src/supplicant-manager/Makefile.am
11666 * src/supplicant-manager/nm-supplicant-manager.[ch]:
11667 - Make it a minimal GObject
11669 * src/supplicant-manager/nm-supplicant-settings-verify.[ch]:
11670 - Verify settings destined for wpa_supplicant
11672 * src/supplicant-manager/nm-supplicant-connection.[ch]:
11673 - Minimal GObject to track wpa_supplicant controlled device
11676 2006-10-13 Wouter Bolsterlee <wbolster@gnome.org>
11678 * gnome/applet/applet.c: (nma_update_info),
11679 (nma_act_stage_to_pixbuf), (nma_update_state):
11680 Mark missing strings for translation. Fixes bug #343306.
11682 2006-10-01 Dan Williams <dcbw@redhat.com>
11684 * src/vpn-manager/nm-vpn-manager.c
11685 - (nm_vpn_manager_load_services): split and clean up
11686 for readability and correctness. Restrict VPN service
11687 files to ending in ".name", as was meant from the
11688 beginning (but not coded in). Better error reporting.
11690 2006-10-01 Dan Williams <dcbw@redhat.com>
11693 - Clean up formatting of debug/info/warning log messages
11695 2006-09-27 Robert Love <rml@novell.com>
11697 Patch by Tambet Ingo <tambet@ximian.com>:
11698 * gnome/vpn-properties/nm-vpn-properties.c: Make Renaming a VPN entry
11701 2006-09-07 Dan Williams <dcbw@redhat.com>
11704 test/libnm-util/Makefile.am
11705 test/nm-supplicant-test.c
11706 - Add test program emulating the way NM drives wpa_supplicant
11707 to help debug supplicant issues
11709 2006-08-24 Dan Williams <dcbw@redhat.com>
11713 src/supplicant-manager/Makefile.am
11714 src/supplicant-manager/nm-supplicant-manager.c
11715 src/supplicant-manager/nm-supplicant-manager.h
11716 - Add skeleton bits of the wpa_supplicant manager
11718 2006-08-24 Dan Williams <dcbw@redhat.com>
11720 Patch from Ed Catmur:
11721 * src/NetworkManagerUtils.c
11722 - (nm_utils_ip4_netmask_to_prefix): don't infinitely loop
11723 if netmask is 0 (Gnome #352634)
11725 2006-08-17 Robert Love <rml@novell.com>
11727 * src/backends/NetworkManagerSuSE.c: Do not restart ypbind; our ypbind
11728 package is now DBUS-enabled and listens for the NM signals.
11730 2006-08-14 Dan Williams <dcbw@redhat.com>
11732 * Patch from Christian Persch <chpe gnome org>
11735 vpn-daemons/openvpn/po/LINGUAS
11736 vpn-daemons/openvpn/configure.in
11737 vpn-daemons/pptp/po/LINGUAS
11738 vpn-daemons/pptp/configure.in
11739 vpn-daemons/vpnc/po/LINGUAS
11740 vpn-daemons/vpnc/configure.in
11741 - Convert to LINGUAS method so translators don't have to modify
11742 configure.in, just stuff in po/. Gnome #343132, requires intltool
11745 2006-08-14 Dan Williams <dcbw@redhat.com>
11747 Patch from Alex Smith <alex.extreme2@gmail.com>
11749 src/backends/Makefile.am
11750 src/backends/NetworkManagerFrugalware.c
11751 - Add support for Frugalware
11753 2006-08-13 Dan Williams <dcbw@redhat.com>
11755 Patch from Valentine Sinitsyn <e_val@inbox.ru>
11756 * src/nm-device-802-11-wireless.c
11757 - (supplicant_exec): spawn wpa_supplicant without debug spew
11760 2006-08-13 Dan Williams <dcbw@redhat.com>
11762 Patch from Valentine Sinitsyn <e_val@inbox.ru>
11763 * src/nm-ap-security.c
11764 src/nm-ap-security.h
11765 - Add authentication_required bits for subclasses to specify whether
11766 or not real authentication is required for connections, i.e. whether
11767 the AP rejects us when an encryption key is wrong or not.
11769 * src/nm-ap-security-wep.c
11770 src/nm-ap-security-wpa-eap.c
11771 src/nm-ap-security-wpa-psk.c
11772 src/nm-ap-security-leap.c
11773 - Implement authentication_required appropriately for each method
11775 * src/nm-device-802-11-wireless.c
11776 - Be smarter about when to request a key; for example, using a wrong key
11777 in WEP shared key mode previously just timed out and did not request
11780 2006-08-13 Dan Williams <dcbw@redhat.com>
11782 * gnome/libnm_glib/libnm_glib.c
11783 - dbus_connection_disconnect() -> dbus_connection_close() for
11786 2006-08-07 Dan Williams <dcbw@redhat.com>
11788 Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
11789 * src/NetworkManagerSystem.c
11790 - Respect specified MTU. Gnome #344967
11792 2006-08-07 Dan Williams <dcbw@redhat.com>
11794 * src/vpn-manager/nm-vpn-service.c
11795 - Simplify print_vpn_config() arguments
11797 Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
11798 * src/vpn-manager/Makefile.am
11799 src/vpn-manager/nm-vpn-service.c
11800 - Add new API for passing VPN config options as a dict. Gnome #344967
11802 2006-08-06 Dan Williams <dcbw@redhat.com>
11804 * gnome/applet/applet-dbus-devices.c
11805 gnome/applet/applet-dbus-vpn.c
11806 gnome/applet/applet-dbus.c
11807 gnome/applet/applet-dbus.h
11811 - Make pending call tracking code generic,
11812 so we can use it in NM as well as the applet
11814 2006-08-06 Dan Williams <dcbw@redhat.com>
11816 * src/nm-activation-request.c
11817 - Refcount pending call objects
11819 2006-08-06 Dan Williams <dcbw@redhat.com>
11821 Patch from Christan Chiesa <christanc@gmail.com>
11823 - Tell sha1.c to use bigendian mode on PPC
11825 2006-08-04 Robert Love <rml@novell.com>
11827 Glib Memory Slices!
11828 * configure.in: Require glib 2.10 or later.
11829 * src/NetworkManager.c, src/NetworkManagerAP.c, src/nm-ip4-config.c,
11830 src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
11831 src/NetworkManagerDbusUtils.c, src/nm-dbus-nmi.c, src/wpa.c,
11832 src/nm-device-802-11-wireless.c: Convert applicable g_malloc and
11833 g_new calls to g_slice_new. Likewise for g_free to g_slice_free.
11834 Memory Slices are the greatest thing since bread slices.
11835 * src/NetworkManagerAP.c: Also, fix memory leak.
11837 2006-08-01 Robert Love <rml@novell.com>
11839 * gnome/applet/main.c: Shutdown all VPN connections on logout.
11841 2006-07-31 Robert Love <rml@novell.com>
11843 * src/backends/interface_parser.c: Declarations must begin the block.
11845 2006-07-24 Dan Williams <dcbw@redhat.com>
11847 Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
11848 * src/backends/Makefile.am
11849 src/backends/NetworkManagerArch.c
11850 src/backends/NetworkManagerDebian.c
11851 src/backends/NetworkManagerGeneric.c
11852 src/backends/NetworkManagerGeneric.h
11853 src/backends/NetworkManagerGentoo.c
11854 src/backends/NetworkManagerPaldo.c
11855 src/backends/NetworkManagerRedHat.c
11856 src/backends/NetworkManagerSlackware.c
11857 src/backends/NetworkManagerSuSE.c
11858 - Genericize common backend functions
11860 2006-07-18 Robert Love <rml@novell.com>
11862 * configure.in: Add "--with-notify" option to allow disabling of
11865 2006-07-13 Dan Williams <dcbw@redhat.com>
11867 Patch from Thiago Bauermann <thiago.bauermann@gmail.com>
11868 * gnome/applet/applet.glade
11869 gnome/applet/Makefile.am
11870 gnome/applet/nm-gconf-wso.c
11871 gnome/applet/nm-gconf-wso-leap.c
11872 gnome/applet/nm-gconf-wso-leap.h
11873 gnome/applet/wireless-security-manager.c
11874 gnome/applet/wso-leap.c
11875 gnome/applet/wso-leap.h
11876 include/NetworkManager.h
11877 libnm-util/dbus-helpers.c
11878 libnm-util/dbus-helpers.h
11880 src/NetworkManagerAP.c
11881 src/nm-ap-security.c
11882 src/nm-ap-security-leap.c
11883 src/nm-ap-security-leap.h
11884 - Add LEAP authentication support
11886 2006-07-13 Dan Williams <dcbw@redhat.com>
11888 Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
11890 src/backends/NetworkManagerArch.c
11891 src/backends/NetworkManagerDebian.c
11892 src/backends/NetworkManagerGentoo.c
11893 src/backends/NetworkManagerPaldo.c
11894 src/backends/NetworkManagerRedHat.c
11895 src/backends/NetworkManagerSlackware.c
11896 src/backends/NetworkManagerSuSE.c
11897 - Convert hardcoding of 'ip' path to configure-time
11900 2006-07-12 Leonid Kanter <leon@asplinux.ru>
11902 * configure.in: added ru to ALL_LINGUAS
11904 2006-07-10 Dan Williams <dcbw@redhat.com>
11906 Patch from Valentine Sinitsyn <e_val@inbox.ru>
11908 - (real_act_stage3_ip_config_start): don't infinite loop when
11909 dhcdbd isn't running (Gnome #346845)
11911 2006-07-09 Dan Williams <dcbw@redhat.com>
11913 * gnome/applet/applet.c
11914 - (nma_destroy): don't pass NULL to notify_notification_close
11917 2006-07-09 Dan Williams <dcbw@redhat.com>
11919 * gnome/applet/applet.c
11920 - (nma_about_cb): remove empty documenters tab (Gnome #341324)
11922 2006-07-04 Tor Krill <tor@krill.nu>
11924 Patch from Valentine Sinitsyn <e_val@inbox.ru>
11925 * src/backends/NetworkManagerArch.c: (nm_system_update_dns),
11926 (nm_system_restart_mdns_responder), (ArchReadConfig),
11927 (nm_system_device_get_system_config):
11928 - Explicitly check for DHCP configuration
11929 - Check if daemons are running before starting them
11931 2006-06-25 Dan Williams <dcbw@redhat.com>
11933 * libnm-util/dbus-dict-helpers.[ch]
11934 test/libnm-util/test-dbus-dict-helpers.c
11935 - Add string array support
11937 2006-06-24 Dan Williams <dcbw@redhat.com>
11939 * src/dhcp-manager/nm-dhcp-manager.c
11940 - (nm_dhcp_manager_process_signal): clean up spacing
11942 2006-06-21 Dan Williams <dcbw@redhat.com>
11944 * src/nm-dbus-device.c
11945 - (nm_dbus_device_get_driver): don't try to stuff a NULL
11948 2006-06-21 Raivis Dejus <orvils@gmail.com>
11950 * configure.in: Added 'lv' to ALL_LINGUAS
11952 2006-06-19 Dan Williams <dcbw@redhat.com>
11954 * src/NetworkManagerAP.c
11955 - Clarify usage of user_created
11957 * src/nm-ap-security-wep.c
11958 src/nm-ap-security-wpa-eap.c
11959 src/nm-ap-security-wpa-psk.c
11960 src/nm-ap-security.c
11961 src/nm-ap-security.h
11962 - s/user_created/adhoc, because we really do mean adhoc
11964 Patch from Bernard Blackham <bernard@blackham.com.au>
11965 * src/nm-device-802-11-wireless.c
11966 - (supplicant_send_network_config): instead of user_created,
11967 use adhoc, and do AP_SCAN 2 for adhoc networks
11969 2006-06-18 Robert Love <rml@novell.com>
11971 * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the Gconf keys unless
11972 we have a value to set. Gconf generates a warning if `val' is NULL.
11973 * src/nm-ap-security-wpa-eap.c: Don't set the key for an Enterprise AP
11974 unless we actually received a valid private key file passphrase or
11975 password. Otherwise, we don't know to later ask the applet to pull
11976 the key from the keyring.
11978 2006-06-17 Dan Williams <dcbw@redhat.com>
11980 * libnm-util/dbus-dict-helpers.[ch]
11981 test/libnm-util/test-dbus-dict-helpers.c
11982 - Fixes for zero-length byte arrays
11983 - Replace return values of 0 with FALSE for clarity
11984 - Test zero-length byte arrays
11986 2006-06-17 Dan Williams <dcbw@redhat.com>
11988 * libnm-util/dbus-dict-helpers.[ch]
11989 test/libnm-util/test-dbus-dict-helpers.c
11990 - Add helpers for byte arrays
11991 - Rework bits of the testcase
11993 2006-06-16 Dan Williams <dcbw@redhat.com>
11995 * libnm-util/Makefile.am
11996 * libnm-util/dbus-dict-helpers.[ch]
11997 - Add some helpers to take the pain out of using dict types in
12000 * test/libnm-util/Makefile.am
12001 * test/libnm-util/test-dbus-dict-helpers.c
12002 - Test cases for the dict helper functions
12004 2006-06-15 Robert Love <rml@novell.com>
12006 * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the key unless there
12007 is a non-empty key to set. Elsewhere, pass an empty string via DBUS
12008 if there is no key to pass.
12009 * libnm-util/dbus-helpers.c: Given the above, we can trust always
12010 receiving a non-NULL key.
12012 2006-06-14 Robert Love <rml@novell.com>
12014 * src/nm-ap-security-wpa-eap.c: In real_copy_constructor(), actually
12018 2006-06-14 Dan Williams <dcbw@redhat.com>
12020 Patch from Lorenzo Colitti <lorenzo@colitti.com> gnome.org #344825
12021 * src/nm-device-802-11-wireless.c
12022 - (nm_device_802_11_wireless_set_essid): only wait for orinoco cards
12023 or ones where the driver is unknown
12024 - (supplicant_exec): don't wait for supplicant startup here
12025 - (supplicant_interface_init): finer grained polling for supplicant
12028 2006-06-13 Robert Love <rml@novell.com>
12030 * gnome/applet/applet-dbus-info.c: Don't set the fallback bit to FALSE
12031 if it is currently set to TRUE. Otherwise, we will reset the value
12032 when we connect normally.
12033 * src/nm-device-802-11-wireless.c: For the roaming code, make sure that
12034 the old BSSID is valid, too. The recently added ESSID check may not be
12035 sufficient (we can remove it?). What we really want to catch is the
12036 case of going from all-zeros to the BSSID of some other network, which
12037 happens on failure.
12039 2006-06-09 Dan Williams <dcbw@redhat.com>
12041 * src/NetworkManagerSystem.[ch]
12042 - (nm_system_device_set_up_down_with_iface): remove 'dev' argument,
12043 it was unused and pointless
12044 - (nm_system_vpn_device_set_from_iface, nm_system_device_set_up_down):
12045 fix for set_up_down_with_iface change
12047 * src/vpn-manager/nm-vpn-connection.c
12048 - (nm_vpn_connection_deactivate): fix for set_up_down_with_iface change
12050 * src/backends/NetworkManagerPaldo.c
12051 src/backends/NetworkManagerRedHat.c
12052 src/backends/NetworkManagerSuSE.c
12053 src/backends/NetworkManagerArch.c
12054 src/backends/NetworkManagerDebian.c
12055 src/backends/NetworkManagerGentoo.c
12056 - (nm_system_enable_loopback): use set_up_down_with_iface where
12058 - (nm_system_flush_loopback_routes): use flush_routes_with_iface
12061 2006-06-09 Dan Williams <dcbw@redhat.com>
12063 Patch from Peter Jones:
12064 * src/nm-device-802-11-wireless.c
12065 - (nm_device_802_11_wireless_update_bssid): make sure that the
12066 SSID hasn't changed from what we expect before automatically
12067 updating the saved BSSID from a new AP
12069 2006-06-08 Robert Love <rml@novell.com>
12071 Add 'fallback' support. NetworkManager will attempt to brute-force
12072 connect to networks marked as fallback if there are no better wireless
12073 connections available. This is useful as a method of last resort, to
12074 work around driver problems, and for use with hidden networks.
12075 * gnome/applet/applet-dbus-devices.c,
12076 gnome/applet/applet-dbus-devices.h: Add fallback parameter.
12077 * gnome/applet/applet-dbus-info.c: Retrieve fallback bit from Gconf and
12078 pass it on via DBUS.
12079 * gnome/applet/applet.c: No fallback by default.
12080 * gnome/applet/applet.glade, gnome/applet/other-network-dialog.c:
12081 Update other-network-dialog to add UI checkbox toggling fallback.
12082 * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Remove "trusted"
12083 propery from AP object. Add "fallback" property to AP object.
12084 * src/nm-dbus-nm.c: Grab the fallback parameter via DBUS.
12085 * src/nm-dbus-nmi.c: Grab the fallback parameter via DBUS.
12086 * src/nm-device-802-11-wireless.c: Break out blacklist logic into
12087 separate function. Add get_best_fallback_ap() for returning an AP
12088 on which to attempt fallback.
12089 * src/backends/NetworkManagerSuSE.c: Set stored network as fallback.
12090 * test/nm-set-fallback: New file. Sets a given network as fallback.
12092 2006-06-07 Robert Love <rml@novell.com>
12094 * gnome/applet/gconf-helpers.c: Bug fix: nm_gconf_helper_get_bool()
12095 checked that the return type was GCONF_VALUE_STRING, not the correct
12096 GCONF_VALUE_BOOL, and thus it never worked.
12097 * src/NetworkManagerAPList.c: Before concluding that two networks are
12098 identical based on their BSSID, make sure that the BSSID in question
12099 is actually valid. Specifically, an empty or all zero BSSID does not
12101 * gnome/applet/applet-dbus-info.c, gnome/applet/other-network-dialog.c,
12102 src/nm-dbus-nmi.c, src/nm-device-802-11-wireless.c: White space and
12103 similar invariant clean up.
12105 2006-06-02 Robert Love <rml@novell.com>
12107 * gnome/applet/applet.c: Update copyright years. Add Novell.
12109 2006-05-28 Dan Williams <dcbw@redhat.com>
12111 * gnome/applet/applet.glade
12112 gnome/vpn-properties/nm-vpn-properties.glade
12113 - Set window icons on dialogs (Gnome.org #333420)
12115 2006-05-28 Christian Persch <chpe@cvs.gnome.org>
12117 * gnome/vpn-properties/nm-vpn-properties.glade:
12118 * vpn-daemons/openvpn/properties/nm-openvpn-dialog.glade:
12119 * vpn-daemons/pptp/properties/nm-pptp-dialog.glade:
12120 * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
12121 - Make the VPN properties pages prettier and more HIG
12122 compliant. Gnome Bug #336913.
12124 2006-05-28 Dan Williams <dcbw@redhat.com>
12126 Patch from Christian Persch <chpe@gnome.org>
12127 * gnome/vpn-properties/nm-vpn-properties.c
12128 * gnome/vpn-properties/nm-vpn-properties.glade
12129 - HIG-ification love (Gnome.org #336846)
12131 2006-05-28 Dan Williams <dcbw@redhat.com>
12133 Patch from Christian Persch <chpe@gnome.org>
12135 gnome/vpn-properties/nm-vpn-properties.c
12136 - (main): Fix option parsing. Gnome.org #336847
12138 2006-05-28 Dan Williams <dcbw@redhat.com>
12140 * gnome/vpn-properties/nm-vpn-properties.c
12141 - (find_vpn_ui_by_service_name): protect against NULL service names
12142 - (update_edit_del_sensitivity): protect against NULL service names
12145 2006-05-28 Dan Williams <dcbw@redhat.com>
12147 Patch from Chris Fuller <crf@grandecom.net>:
12148 * src/nm-device-802-11-wireless.c
12149 - (nm_device_802_11_wireless_dispose): add a is_initialized member and
12150 don't dispose of wireless-specific stuff unless it is actually
12151 initialized. Gnome.org #341263
12153 2006-05-28 Dan Williams <dcbw@redhat.com>
12155 * src/NetworkManagerPolicy.c
12156 - (nm_policy_device_change_check): don't switch devices if the "best"
12157 AP is essentially the same as the current activation request, but
12158 the current activation request isn't done activating yet. Fixes
12159 multiple requests for keyring password on startup for Gnome applet.
12162 2006-05-26 Nicolas Trangez <eikke@eikke.com>
12164 * src/NetworkManager.c: use GOptions instead of getopt
12165 * configure.in: bump glib required version to >= 2.6 for GOption
12168 2006-05-25 Robert Love <rml@novell.com>
12170 * src/nm-device.h: Introduce nm_ioctl_info(), which defines to
12171 nm_info() if IOCTL_DEBUG is set and a no-op if not. We can use this
12172 instead of dumping ifdef's throughout the code.
12173 * src/NetworkManagerSystem.c, src/nm-device-802-11-wireless.c,
12174 src/nm-device-802-3-ethernet.c, src/nm-device.c: Remove ifdef's and
12175 use nm_ioctl_info() in lieu.
12177 2006-05-25 Robert Love <rml@novell.com>
12179 Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342400:
12180 * libnm-util/Makefile.am: Only build gnome-keyring-md5.{c,h} if we are
12181 not using gcrypt. Otherwise, we get a linker error.
12183 2006-05-25 Robert Love <rml@novell.com>
12185 Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342398:
12186 * configure.in, gnome/Makefile.am, Makefile.am: Add "--without-gnome"
12187 configure flag to disable building of the GNOME-based applet.
12189 2006-05-25 Robert Love <rml@novell.com>
12191 * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Rename function
12192 parameter from link, because it shadows a global variable with some
12193 older versions of glibc. Yes, glibc is now fixed and, yes, glibc
12194 should never have exported to the entire system a common four letter
12195 word. But we here at NetworkManager are team players. Fixes
12198 2006-05-25 Arangel Angov <ufo@linux.net.mk>
12200 * configure.in: Added mk.po, Macedonian translation.
12202 2006-05-24 Robert Love <rml@novell.com>
12204 * examples/python/systray/eggtrayicon.c, gnome/applet/eggtrayicon.c,
12205 gnome/applet/passphrase-dialog.c, gnome/applet/vpn-password-dialog.c,
12206 src/NetworkManager.c: Include <glib/gi18n.h> and not <libintl.h>.
12208 2006-05-24 Robert Love <rml@novell.com>
12210 * gnome/applet/Makefile.am, gnome/vpn-properties/Makefile.am,
12211 libnm-util/Makefile.am, src/Makefile.am,
12212 vpn-daemons/openvpn/auth-dialog/Makefile.am,
12213 vpn-daemons/openvpn/properties/Makefile.am,
12214 vpn-daemons/pptp/auth-dialog/Makefile.am,
12215 vpn-daemons/pptp/properties/Makefile.am,
12216 vpn-daemons/vpnc/auth-dialog/Makefile.am,
12217 vpn-daemons/vpnc/properties/Makefile.am: Do not override what the
12218 user passed for --datadir, if anything, when setting the GNOME locale
12219 directory. It should be a function of the specified datadir and not
12222 2006-05-24 Robert Love <rml@novell.com>
12224 * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c,
12225 src/NetworkManager.c: Take care to call bindtextdomain with the
12226 location of msgid files.
12227 * src/Makefile.am: Set GNOMELOCALEDIR to the location of GNOME mo
12230 2006-05-22 Robert Love <rml@novell.com>
12232 * src/nm-device-802-11-wireless.c: Don't chain up to the parent's
12233 stage4_timeout on failure unless the wireless network is Ad-Hoc.
12234 99% of the time there is a real problem with wireless, and a
12235 seemingly successful connection via Zeroconf just confuses the user.
12236 And that 1% of the time the network is probably Ad-Hoc, anyhow.
12238 2006-05-22 Robert Love <rml@novell.com>
12240 * src/backends/NetworkManagerSuSE.c: Reload, do not restart, ypbind and
12241 autofs on interface up if NIS is configured. On interface down, do
12244 2006-05-22 Robert Love <rml@novell.com>
12246 * gnome/applet/applet.c: Zero out the icon pointers before we set them,
12247 to avoid calling g_object_unref() on stale pointers on error in
12248 nma_icons_free(). This happens because we short-circuit loaded the
12249 icons on the first failure but then free all icons. Normally we have
12250 no issue because the icons were zero'ed out malloc, but we have stale
12251 pointer data after nma_icon_theme_changed().
12252 * gnome/applet/main.c: Return error code if nma_new() failed.
12254 2060-05-21 Dan Williams <dcbw@redhat.com>
12256 * initscript/NetworkManager.in
12257 - Ensure both dhcdbd and named are started before NM
12259 2006-05-21 Dan Williams <dcbw@redhat.com>
12262 - Bump version to 0.7 to signify we are in 0.7 development
12264 2006-05-21 Dan Williams <dcbw@redhat.com>
12266 Patch from Adam Schreiber <sadam@clemson.edu>
12267 * gnome/vpn-properties/nm-vpn-properties.c
12268 - (main): correct Gnome program name (gnome.org #342498)
12270 2006-05-21 Dan Williams <dcbw@redhat.com>
12272 Fix gnome.org #330832 based on patch from Crispin Flowerday <crispin@gnome.org>
12274 * src/NetworkManagerDbus.[ch]
12275 - nm_dbus_get_device_from_object_path -> nm_dbus_get_device_from_escaped_object_path:
12276 clarify that function's argument should be an escaped dbus object
12277 path, and look for path segment end before returning a match
12278 * src/nm-dbus-nm.c:
12279 - Fix up users of nm_dbus_get_device_from_escaped_object_path()
12281 2006-05-17 Robert Love <rml@novell.com>
12283 Functionality to differentiate Ad-Hoc networks from infrastructure
12284 networks in the applet, by displaying a special icon:
12285 * gnome/applet/applet-dbus-devices.c: Set the mode for new networks.
12286 * gnome/applet/applet.c: Pass 'applet' to network_menu_item_update().
12287 * gnome/applet/menu-items.c: Set a special icon in the scan list for
12288 ad-hoc networks. TODO: Add a third icon representing "encrypted and
12289 Ad-Hoc". Right now, we display the same icon for all Ad-Hoc wireless
12290 networks, encrypted or not.
12291 * gnome/applet/wireless-network.c, gnome/applet/wireless-network.h: New
12292 accessor functions to get and set the mode of a given network,
12293 wireless_network_get_mode() and wireless_network_set_mode().
12295 2006-05-17 Robert Love <rml@novell.com>
12297 Functionality to automatically add BSSIDs to the allowed-MAC list as
12298 one roams from access point to access point on a given network:
12299 * src/NetworkManagerUtils.c: Add nm_ethernet_addresses_are_equal(),
12300 helper function to compare two ether_addr structures and return TRUE
12301 if they contain the same MAC address.
12302 * src/NetworkManagerUtils.h: Add nm_ethernet_addresses_are_equal()
12304 * src/nm-device-802-11-wireless.c: New function to update the BSSID
12305 stored with the current AP. If the BSSID has indeed changed, we
12306 send it out to the applet, allowing the allowed-MAC list to grow
12307 automatically in response to roaming.
12309 2006-05-16 Robert Love <rml@novell.com>
12311 * src/backends/NetworkManagerSuSE.c: Don't touch ypbind or autofs
12312 unless dhcp:DHCLIENT_MODIFY_NIS_CONF is set to "yes".
12314 2006-05-13 Dan Williams <dcbw@redhat.com>
12316 * src/nm-device-802-3-ethernet.c
12317 - (real_get_generic_capabilities): Don't ignore devices that can't do
12318 carrier detect (Debian bug #366373)
12320 2006-05-11 Dan Williams <dcbw@redhat.com>
12322 Patch from Michael Biebl <biebl@teco.edu>
12323 * src/backends/NetworkManagerDebian.c
12324 - Debian backend fixups
12326 2006-05-10 Robert Love <rml@novell.com>
12328 * src/backends/NetworkManagerSuSE.c: Fix double free (Novell #173442).
12330 2006-05-09 Robert Love <rml@novell.com>
12332 * gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXME: Save the WPA EAP
12333 private certificate passphrase, if any, in the GNOME Keyring.
12334 * libnm-utils/dbus-helpers.c: Update.
12336 2006-05-05 Dan Williams <dcbw@redhat.com>
12338 * src/nm-device-802-11-wireless.c
12339 - (nm_device_802_11_wireless_set_wep_enc_key): convert to
12340 nm_device_802_11_wireless_disable_encryption() since that's all
12341 we use it for anymore; we don't ever set WEP keys ourselves.
12342 - (real_deactivate_quickly): reset SSID and encryption keys
12343 - (real_deactivate): move SSID and encryption key reset to
12344 real_deactivate_quickly(), which gets run before us anyway
12346 2006-05-05 Robert Love <rml@novell.com>
12348 * src/NetworkManager.c: Set the umask to 0022 when daemonizing, in case
12349 root has a wacky default of its own (or, more common, a user has a
12350 bad umask and uses su/sudo to restart NetworkManager). Anything
12351 other than 0022 does not do what we want with, for example,
12352 resolv.conf. This problem is amplified by our judicious use of
12353 fopen(), which uses mode 0666 -- implying that the only way to get
12354 the permissions we want is with a umask of 0022.
12356 2006-05-05 Dan Williams <dcbw@redhat.com>
12358 * gnome/libnm_glib/libnm_glib.c
12359 - Don't suck CPU when dbus isn't around by scheduling idle handlers
12360 to reconnect; instead wait a bit more with each reconnect attempt
12361 up to a max of one minute.
12363 2006-05-04 Ryan Lortie <desrt@desrt.ca>
12365 * gnome/applet/passphrase-dialog.c (update_button_cb): Get the SSID of
12366 the WirelessNetwork structure using the proper function instead of
12367 just casting it directly to (const char *) (gnome.org #336991)
12369 2006-05-03 Robert Love <rml@novell.com>
12371 * src/backends/NetworkManagerSuSE.c: Respect the variable
12372 dhcp:DHCLIENT_MODIFY_RESOLV_CONF, not
12373 config:MODIFY_RESOLV_CONF_DYNAMICALLY, when deciding whether or not
12374 to dynamically update /etc/resolv.conf.
12376 2006-05-02 Peter Jones <pjones@redhat.com>
12378 * vpn-daemons/vpnc/src/nm-vpnc-service.c: Allow rekeying.
12380 2006-05-02 Robert Love <rml@novell.com>
12382 Patch by Timo Hoenig;
12383 * tests/nm-online.c: Print pretty status indicator as timeout winds
12384 down. Also fix possible race between DBUS startup and failure
12387 2006-05-01 Robert Love <rml@novell.com>
12389 * gnome/applet/applet-compat.c: Warn if the returned escaped ESSID is
12392 2006-04-27 Jeremy Katz <katzj@redhat.com>
12394 * src/nm-device.c (discover_device_type): Actually use the hal
12395 device type instead of ioctl poking
12397 2006-04-26 Robert Love <rml@novell.com>
12399 * tests/nm-online.c: New file. Simple utility that returns exit status
12400 noting whether the connection is offline or online. If offline on
12401 start, it waits 30 seconds (or a command-line given value) for an
12402 online signal. If it times out, it again returns offline. This is
12403 useful for scripts that want to wait for network connections.
12405 2006-04-25 Robert Love <rml@novell.com>
12407 * src/nm-ap-security-wep.c: Bug fix: We stopped setting the
12408 key mode (the authentication algorithm), e.g. open or shared, when we
12409 moved to using wpa_supplicant. wpa_supplicant defaults to open, so
12410 only shared was broken. If the user specified a shared key, set it
12411 explicitly, otherwise let wpa_supplicant go with the default.
12413 2006-04-24 Dan Williams <dcbw@redhat.com>
12415 * src/nm-device-802-11-wireless.c
12416 - (nm_device_802_11_wireless_set_essid): fix setting of "any" essid
12418 2006-04-24 Dan Williams <dcbw@redhat.com>
12420 Commit the async scanning patch
12422 * src/nm-device-802-11-wireless.c
12423 - get rid of scan_mutex
12424 - (wireless_event_helper): act on wireless scan events
12425 - (real_start): schedule a pending scan
12426 - (link_to_specific_ap): fake the link to the AP during a scan
12427 - (nm_device_802_11_wireless_update_signal_strength): ignore signal
12428 strength during scans
12429 - (nm_device_get_frequency, nm_device_set_frequency, nm_device_get_bitrate,
12430 nm_device_set_bitrate): unused with new scanning code, disable
12431 - (nm_device_wireless_schedule_scan): removed
12432 - (nm_device_wireless_process_scan_results): renamed to convert_scan_results()
12433 - (request_and_convert_scan_results): new function; retrieve scan
12434 results from the driver and schedule the processing function
12435 - (scan_results_timeout): timeout triggered when card doesn't send
12436 a scan results wireless event during a certain interval
12437 - (schedule_scan_results_timeout): new function; schedule the scan
12439 - (cancel_scan_results_timeout): new function; cancel the scan
12441 - (nm_device_802_11_wireless_scan): if wpa_supplicant is running, ask it
12442 to do the scanning. Otherwise, just request a scan but don't
12443 grab results here; instead schedule a timeout for scan results and
12444 let netlink notify us of scan completion events
12445 - (nm_device_wireless_schedule_scan): new function; schedule a wireless scan
12446 - (cancel_pending_scan): new function; cancel a pending wireless scan
12447 - (supplicant_status_cb): ignore disconnect events while scanning
12448 - (supplicant_exec): wait a bit longer for the supplicant to start up
12449 - (nm_device_802_11_wireless_dispose): cancel pending scans and results
12451 - (get_scan_results): removed; folded into request_and_convert_scan_results()
12453 2006-04-24 Dan Williams <dcbw@redhat.com>
12455 * gnome/applet/applet-dbus.c
12456 - Disable the pending call debug stuff, seems under control now
12458 2006-04-20 Robert Love <rml@novell.com>
12460 Fix bug where hidden ESSID's would not show up in the applet, even
12461 if NMI provided a BSSID -> ESSID mapping from Gconf. This occurred
12462 because nm_policy_device_list_update_from_allowed_list() would merge
12463 the data, putting a name to the hidden networks, but never notify NMI
12464 of the changes. Simple fix is to invoke the function
12465 nm_dbus_signal_wireless_network_change() if we make a mapping.
12466 * src/NetworkManagerAPList.c: Call the function
12467 nm_dbus_signal_wireless_network_change() if we made a successful
12468 BSSID to ESSID mapping, notifying the applet of the "new" network.
12469 * src/NetworkManagerAPList.h: Update the prototypes for both
12470 nm_ap_list_copy_essids_by_address() and
12471 nm_ap_list_copy_one_essid_by_address().
12473 2006-04-20 Robert Love <rml@novell.com>
12475 * gnome/applet/applet-dbus-info.c: Don't bail out if the timestamp is
12476 not set. Just return zero.
12478 2006-04-20 Robert Love <rml@novell.com>
12480 * gnome/vpn-properties/nm-vpn-properties.c: Satisfy TODO: Ensure that
12481 only one copy of nm-vpn-properties is running at a time via the 'ol
12482 X selection trick. This prevents the user from opening two "VPN
12483 Connections" windows from within the applet, which leads to mass
12485 * clipboard.c: New file, implementing simple X selection logic.
12486 * clipboard.h: New file.
12487 * gnome/vpn-properties/Makefile.am: Add clipboard.{c,h}
12489 2006-04-18 Nicolas Trangez <eikke@eikke.com>
12491 * backends/NetworkManagerGentoo.c: Small cleanups and enhancements
12493 initscript/Gentoo/Makefile.am
12494 initscript/Gentoo/NetworkManagerDispatcher.in
12496 * initscript/Gentoo/NetworkManager.in: small dependency fixup from
12499 2006-04-16 Dan Williams <dcbw@redhat.com>
12501 Patch from Paul Blazejowski <paulb@blazebox.homeip.net>
12503 initscript/Slackware/Makefile.am
12504 initscript/Slackware/rc.networkmanager-dispatcher.in
12505 initscript/Slackware/rc.networkmanager.in
12506 - Update slackware initscripts
12508 2006-04-10 Robert Love <rml@novell.com>
12510 * gnome/vpn-properties/nm-vpn-properties.c: Intercept and short-circuit
12511 the "delete_event" signal on the druid's parent window and handle it
12512 our way, lest using the WM to close the druid results in a series of
12513 bloody and ultimately lethal errors.
12515 2006-04-10 Robert Love <rml@novell.com>
12517 * gnome/vpn-properties/nm-vpn-properties.c: Validate VPN settings on
12518 'Back' too or else the 'Forward' option is initially disabled despite
12521 2006-04-06 Robert Love <rml@novell.com>
12523 Fix bad but simple bug where an active modem connection did not update
12524 NM's connection state, breaking any app that did online/offline:
12525 * src/NetworkManagerMain.h: Add 'modem_active' member to NMData,
12526 represented whether a dial up connection is active, or not.
12527 * src/nm-dbus-nm.c: Set and unset 'modem_active' in response
12528 to modem activation and deactivation.
12529 * src/NetworkManagerDbus.c: When asked our state, do not return
12530 disconnected if the modem is active.
12532 2006-04-04 Robert Love <rml@novell.com>
12534 * gnome/applet/applet.c: Remove the 'Remove' option that I added to the
12535 applet. It just confuses the crap out of people and does not make a
12536 lot of sense, as the daemon still runs.
12538 2006-04-02 Tor Krill <tor@krill.nu>
12540 * initscript/Arch/networkmanager.in: Added checks for HAL and dhcdbd
12541 in start of service.
12542 * src/backends/NetworkManagerArch.c: (nm_system_get_mtu): Added to
12543 get Archlinux backend up to date.
12545 2006-03-29 Robert Love <rml@novell.com>
12547 Patch by Vinay R <rvinay@novell.com> and Robert Love <rml@novell.com>,
12548 to add support for per-route MSS and improve support for per-interface
12550 * src/NetworkManagerSystem.c: Modify nm_system_device_set_ip4_route to
12551 optionally take an MSS parameter and set it for the given route.
12552 Remove nm_system_device_set_ip4_route_with_iface. Pass in the
12553 NMIP4Config's stored MSS, if any.
12554 * src/nm-ip4-config.c: Add 'mtu' and 'mss' to NMIP4Config, representing
12555 the interface's MTU and the route's MSS, respectively. Add functions
12556 nm_ip4_config_get_mtu, nm_ip4_config_set_mtu, nm_ip4_config_get_mss,
12557 and nm_ip4_config_set_mss for retrieving and setting the MTU and the
12559 * src/nm-ip4-config.h: Add prototypes for nm_ip4_config_get_mtu,
12560 nm_ip4_config_set_mtu, nm_ip4_config_get_mss, and
12561 nm_ip4_config_set_mss.
12562 * src/vpn-manager/nm-vpn-service.c: Modify to receive the MSS from the
12564 * src/backends/NetworkManager{Arch,Debian,Gentoo,RedHat,Slackware,SUSE}.c:
12565 Change the retval of nm_system_get_mtu to guint32.
12566 * src/dhcp-manager/nm-dhcp-manager.c: Set the MTU on the new DHCP-given
12567 NMIP4Config to the MTU provided by the system, if any. TODO: If DHCP
12568 servers can specify MTU's, we should set it here if the MTU was not
12571 2006-03-27 Jürg Billeter <j@bitron.ch>
12574 * initscript/Makefile.am:
12575 * initscript/paldo/Makefile.am:
12576 * initscript/paldo/NetworkManager.in:
12577 * initscript/paldo/NetworkManagerDispatcher.in:
12578 * src/backends/Makefile.am:
12579 * src/backends/NetworkManagerPaldo.c:
12580 - Add paldo support
12582 2006-03-27 Dan Williams <dcbw@redhat.com>
12584 Patch from Christian Persch <chpe@gnome.org>
12585 * gnome/applet/applet.glade
12586 - HIG fixes; mostly for spacing and borders (gnome.org #336220)
12588 2006-03-27 Dan Williams <dcbw@redhat.com>
12590 Patch from Diffe <diffie@blazebox.homeip.net>
12591 * src/backends/NetworkManagerSlackware.c
12592 - Don't restart howl, since it's been replaced by Avahi
12593 in most distributions
12595 2006-03-27 Dan Williams <dcbw@redhat.com>
12597 Patch from Tor Krill <bugzilla@krill.nu>
12599 initscript/Makefile.am
12600 src/backends/Makefile.am
12601 src/backends/NetworkManagerArch.c
12602 initscript/Arch/Makefile.am
12603 initscript/Arch/networkmanager-dispatcher.in
12604 initscript/Arch/networkmanager.in
12605 - Add Arch Linux support, fixes gnome.org #335147
12607 2006-03-27 Dan Williams <dcbw@redhat.com>
12609 Patch from Diffe <diffie@blazebox.homeip.net>
12610 * initscript/Slackware/rc.networkmanager
12611 - update, fixed gnome.org #333368
12613 2006-03-27 Robert Love <rml@novell.com>
12615 * gnome/applet/other-network-dialog.c: Do not allow the user to try to
12616 create WPA-EAP Ad-Hoc networks because such an action makes no sense.
12618 2006-03-27 Robert Love <rml@novell.com>
12620 Patch by Jürg Billeter <j@bitron.ch>:
12621 * src/nm-logging.c: Add printf modifier to fix warning on 64-bit
12623 * src/nm-netlink-monitor.c: Include <net/if.h> instead of <linux/if.h>
12624 as we prefer glibc over kernel headers, if possible.
12626 2006-03-27 Robert Love <rml@novell.com>
12628 Patch by Jon Escombe <list@dresco.co.uk>:
12629 * gnome/applet/nm-gconf-wso.c: Add missing NM_AUTH_TYPE_WPA_EAP case.
12630 * gnome/applet/nm-gconf-wso-wpa-eap.c: If retrieving the gconf values
12631 fail, don't bail out. We don't expect all of the various WPA-EAP
12632 values to be present.
12633 * src/nm-ap-security.c: We need to match all capabilities for each
12634 encryption type, not any one of them.
12636 2006-03-27 Robert Love <rml@novell.com>
12638 * src/backends/NetworkManagerSuSE.c: Revert 2006-03-17 commit and again
12639 restart, not reload, ypbind. Unfortunately there is no superior
12642 2006-03-24 Christopher Aillon <caillon@redhat.com>
12644 * gnome/applet/applet-notifications.c:
12645 When displaying a notification, make sure to get rid of the
12646 previous notification so as to not have competing bubbles,
12647 and stop leaking the old one.
12649 * gnome/applet/applet.c:
12650 * gnome/applet/applet.h:
12651 Add a new 'notification' member to the applet, and zero it out
12652 and free it appropriately.
12654 2006-03-23 Robert Love <rml@novell.com>
12656 Patch by j <j@bootlab.org>:
12657 * gnome/applet/applet.glade: Don't set the invisible_char property,
12658 which simply overrides the GTK default. By and by, this behavior
12659 ought to be fixed in Glade.
12661 2006-03-22 Robert Love <rml@novell.com>
12663 * src/dhcp-manager/nm-dhcp-manager.c: Bump timeout to 45 seconds.
12665 2006-03-22 Robert Love <rml@novell.com>
12667 Bug fix by Timo Hoenig <thoenig@suse.de>:
12668 * gnome/applet/applet-dbus.c: Let the applet reconnect to DBUS on
12669 disconnect. Otherwise, we have the daemon surviving DBUS restarts
12670 and the applet going AWOL.
12672 2006-03-22 Robert Love <rml@novell.com>
12674 * src/dhcp-manager/nm-dhcp-manager.c: Create NM_DHCP_TIMEOUT
12675 preprocessor define and use it instead of open-coded the DHCP
12676 timeout, which is currently 25 seconds, everywhere.
12678 2006-03-22 Robert Love <rml@novell.com>
12680 Implement "Dynamic WEP", which is basically WPA authentication and WEP
12681 key exchange via WPA, ostensibly providing good security without
12682 requiring hardware that supports full WPA. Also, add UI elements to
12683 allow the user to select the pairwise & group cipher for WPA Enterprise
12685 * gnome/applet/applet.glade: Update glade file.
12686 * gnome/applet/nm-gconf-wso-wpa-eap.c: Serialize and deserialize the
12687 key type, too, to and from gconf.
12688 * gnome/applet/wireless-security-option.c: Add "wpa_eap" parameter to
12689 wso_wpa_create_key_type_model(), noting whether we are handling PSK
12690 or EAP configuration, and in the latter case add in "Dynamic WEP" if
12691 the capabilities match.
12692 * gnome/applet/wso-private.h: Update wso_wpa_create_key_type_model()'s
12694 * gnome/applet/wso-wpa-eap.c: Manage UI elements for the key type and
12695 serialize from UI to DBUS.
12696 * gnome/applet/wso-wpa-psk.c: Cannot fail and always returns at least
12698 * libnm-util/dbus-helpers.c: Update nmu_security_serialize_wpa_eap(),
12699 nmu_security_serialize_wpa_eap_with_cipher(), and
12700 nmu_security_deserialize_wpa_eap() to take a "key_type" parameter and
12701 serialize/deserialize the key type via DBUS as the new third DBUS
12703 * libnm-util/dbus-helpers.h: Update prototypes.
12704 * src/nm-ap-security-wpa-eap.c: Deserialize the key type from DBUS,
12705 too. If the key type is WEP104, do Dynamic WEP, which means
12706 "IEEE8021X" for "key_mgmt". Also add support for user-specified
12707 pairwise and group ciphers (fixes a FIXME).
12709 2006-03-21 Robert Love <rml@novell.com>
12711 * src/NetworkManagerSystem.c, src/NetworkManagerSystem.h: Add
12712 nm_system_get_mtu(), which returns a user-provided or system-mandated
12713 MTU value for a given device, if any, or zero if no such value
12714 exists. Add nm_system_set_mtu() to set the MTU for a given device
12715 if we have a provided value.
12716 * src/nm-device.c: Set the MTU of devices.
12717 * src/backends/NetworkManagerSuSE.c: Read MTU, if any, from sysconfig.
12718 * src/backends/NetworkManagerDebian.c,
12719 src/backends/NetworkManagerGentoo.c,
12720 src/backends/NetworkManagerRedHat.c,
12721 src/backends/NetworkManagerSlackware.c: Implement stub functions.
12723 2006-03-21 Robert Love <rml@novell.com>
12725 * src/backends/NetworkManagerSuSE.c: Strip hypens from hex key in
12726 configuration file.
12728 2006-03-17 Robert Love <rml@novell.com>
12730 * src/backends/NetworkManagerSuSE.c: Do "rcypbind reload" to send the
12731 signal SIGHUP to ypbind, not "rcypbind restart" to physically restart
12732 it, in case it is not running in the first place. We just want its
12733 configuration reloaded. Also, do not "rcypbind stop" on device down.
12735 2006-03-15 Robert Love <rml@novell.com>
12737 * gnome/applet/applet.glade, gnome/applet/wso-wep-ascii.c,
12738 gnome/applet/wso-wep-hex.c, gnome/applet/wso-wep-passphrase.c: The
12739 label "WEP 40/128-bit" is inconsistent because the physical key size
12740 is 40 or 104-bits, to which a 24-bit initialisation vector is
12741 appended, forming a 64 or 128-bit traffic key. Thus, the label ought
12742 to read "40/104" or "64/128". I do not care much which, but most
12743 users think of "silver" and "gold" encryption as 64 and 128-bits, so
12744 let's stick with that. Thus, s/"40/128"/"64/128"/g. Also, since our
12745 WEP passphrase support only handles 128-bit keys, and any future
12746 64-bit passphrase support will require a new option (no way to auto-
12747 detect the target key size), explicitly label our passphrase support
12748 "WEP 128-bit Passphrase".
12750 2006-03-15 Robert Love <rml@novell.com>
12752 * src/dhcp-manager/nm-dhcp-manager.c: Do not start dhcdbd, but rely on
12753 the system init scripts (or some other mechanism) starting it (or a
12754 compatible DBUS service) before NetworkManager runs. This means that
12755 distributions might need to update their init scripts. This fixes
12756 possible races and is quite a bit cleaner.
12757 * initscript/SUSE/networkmanager.in: Update to start dhcdbd before
12758 starting the NetworkManager daemon.
12761 2006-03-14 Robert Love <rml@novell.com>
12763 * src/backends/NetworkManagerSuSE.c: Check that we have a valid AP
12764 before adding anything.
12766 2006-03-13 Robert Love <rml@novell.com>
12768 * gnome/vpn-properties/nm-vpn-properties.c: Hide the next page's
12769 widgets, too, if they exist, in case the user hit the back button.
12770 Fixes a bug where the details page contains the widgets of multiple
12771 VPN modules (Novell bug #157048).
12773 2006-03-13 Robert Love <rml@novell.com>
12775 Patch by Timo Hoenig <thoenig@suse.de>:
12776 * dispatcher-daemon/NetworkManagerDispatcher.c: Let the dispatcher
12777 daemon survive DBUS restarts, too.
12779 2006-03-10 Robert Love <rml@novell.com>
12781 * gnome/applet/applet.glade: Add toggles to show/obfuscate the
12783 * gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
12784 gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-eap.c,
12785 gnome/applet/wso-wpa-psk.c: Show and obfuscate passphrases and keys
12786 in response to "toggled" signal on new toggle.
12788 2006-03-10 Robert Love <rml@novell.com>
12790 * src/nm-ap-security-wpa-eap.c: Pass fake empty strings for
12791 serialization if strings are NULL, lest DBUS get angry.
12793 2006-03-10 Robert Love <rml@novell.com>
12795 * src/nm-ap-security-wpa-eap.c: Don't log the password.
12797 2006-03-09 Robert Love <rml@novell.com>
12799 * src/backends/NetworkManagerSuSE.c: Read in WEP and WPA static
12802 2006-03-09 Dan Williams <dcbw@redhat.com>
12804 Track pending call requests in the applet, and report how many are
12805 outstanding, and how long each completed one takes.
12807 * gnome/applet/applet-dbus-devices.c
12808 gnome/applet/applet-dbus-vpn.c
12809 - Track pending calls
12811 * gnome/applet/applet-dbus.[ch]
12812 - Remove some unused enums
12813 - (nma_dbus_send_with_callback, nma_dbus_send_with_callback_replied):
12814 new functions to track dbus pending calls and spit out some
12815 statistics about them
12817 2006-03-09 Robert Love <rml@novell.com>
12819 * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Have the function
12820 nm_ap_set_timestamp() take the second and micro-second parameters as
12821 direct arguments, which avoids both a dynamic memory allocation and a
12822 structure-to-structure copy! Add a new interface, the aptly named
12823 nm_ap_set_timestamp_via_timestamp(), to set the timestamp from an
12824 existing GTimeVal, as nm_ap_set_timestamp() once did, for use with
12825 the return from nm_ap_get_timestamp(). New users should use the new
12826 nm_ap_set_timestamp(), not nm_ap_set_timestamp_via_timestamp(), for
12827 the extreme benefit to performance.
12828 * src/NetworkManagerAPList.c, src/nm-dbus-nmi.c,
12829 src/backends/NetworkManagerSuSE.c: Use the new functions as needed.
12831 2006-03-08 Robert Love <rml@novell.com>
12833 * gnome/applet/applet.glade: Hide the password entry text with
12836 2006-03-08 Robert Love <rml@novell.com>
12838 * src/NetworkManagerSystem.h, src/nm-device.c, NetworkManagerDebian.c,
12839 NetworkManagerRedHat.c, NetworkManagerGentoo.c,
12840 NetworkManagerSlackware.c: Pass nm_system_device_get_system_config()
12841 a second argument, NMData.
12842 * src/nm-ap-security.h, src/nm-ap-security.c: Export nm_ap_security_new.
12843 * src/backends/NetworkManagerSuSE.c: Add wireless networks from ifcfg-*
12844 config files as trusted.
12846 2006-03-06 Robert Love <rml@novell.com>
12848 * gnome/applet/Makefile.am: Define AUTOSTARTDIR.
12849 * gnome/applet/applet.c: Add 'Remove' option to the right click menu,
12850 to exit the applet. As a sweet side-effect, idea courtesy of Chris
12851 Rivera, detect if the applet was auto-started. If so, ask the user
12852 if he or she would like to stop automatically running the applet on
12853 login. If so, disable autostart.
12855 2006-03-06 Robert Love <rml@novell.com>
12857 * NetworkManager.pc.in: Provide an -I to the NetworkManager include
12858 directory in CFLAGS so developers can actually use NetworkManager.h.
12860 2006-03-06 Robert Love <rml@novell.com>
12862 * src/dhcp-manager/nm-dhcp-manager.c: Use preprocessor defines and not
12863 open-coded integer constants. Add state_to_string() to map a given
12864 state to a textual description, and provide that when notifying of
12866 * src/dhcp-manager/nm-dhcp-manager.h: Provide defines for the dhcdbd
12867 states, copied and cleaned up from dhcdbd.d. Ideally, we would use
12868 this header directly, but it is currently not installed on most
12871 2006-03-05 Dan Williams <dcbw@redhat.com>
12873 Process netlink messages in device subclasses rather than in
12874 NetworkManager.c. Also add support for recognizing Wireless Events.
12877 - Find GLIB_GENMARSHAL
12880 - Since we're marshalling custom types for wireless event signals,
12881 we get to create our own marshallers using GLIB_GENMARSHAL
12883 * src/NetworkManager.c
12884 - (nm_monitor_wired_link_state): renamed to nm_monitor_setup
12885 - (nm_monitor_setup): renamed from nm_monitor_wired_link_state, and
12886 cut down somewhat. We no longer process signals here.
12887 - (nm_data_new): create the netlink monitor here, and remove a
12888 useless call to nm_policy_schedule_device_change_check()
12889 - (nm_data_free): get rid of the netlink monitor here
12890 - (nm_device_link_activated, nm_device_link_deactivated): removed
12891 - (main): don't create the netlink monitor here, let nm_data_new
12892 do that. Call nm_policy_schedule_device_change_check() right
12893 before we jump to the mainloop to figure out which device
12896 * src/NetworkManagerSystem.[ch]
12897 - (nm_system_get_rtnl_index_from_iface, nm_system_get_iface_from_rtnl_index):
12898 convert back and forth from interface names to interface
12901 * src/nm-device-802-11-wireless.c
12902 - (real_init): connect to wireless-event signals from the netlink
12904 - (nm_device_802_11_wireless_event): new function, schedule handler
12905 for wireless event signals from the netlink monitor object. We
12906 want the handler to run in the device's context
12907 - (wireless_event_helper): handle wireless-event signals from netlink
12908 - (nm_device_802_11_wireless_dispose): disconnect wireless-event
12911 * src/nm-device-802-11-wireless.h
12912 - remove unused prototype for nm_device_802_11_wireless_new
12914 * src/nm-device-802-3-ethernet.c
12915 - (real_init): new function; set up signal handlers for link events
12916 - (nm_device_802_3_ethernet_link_activated): new function, schedule
12917 handler for netlink link activated events on device's main loop
12918 - (link_activated_helper): when we get a link activated event, set
12919 the device's link to be active
12920 - (nm_device_802_3_ethernet_link_deactivated): new function; schedule
12921 handler for netlink link deactivated events on device's main loop
12922 - (link_deactivated_helper): when we get a link deactivated event, set
12923 the device's link to be inactive
12924 - (nm_device_802_3_ethernet_dispose): disconnect signal handler on
12927 * src/nm-device-802-3-ethernet.h
12928 - remove unused prototype for nm_device_802_3_ethernet_new
12930 * src/nm-device.[ch]
12931 - (nm_get_device_by_iface_locked): variant of nm_get_device_by_iface
12932 but locks the device list
12933 - (nm_device_set_active_link): a little bit of cleanup and de-indenting
12935 * src/nm-netlink-monitor.[ch]
12936 - (nm_netlink_monitor_class_install_signals): New signal
12938 - (nm_netlink_monitor_new): keep reference to NMData so we can get
12940 - (nm_netlink_monitor_event_handler): expand for wireless events too
12942 * src/nm-marshal-main.c
12943 - Include generated nm-marshal.c and nm-marshal.h
12945 * src/nm-marshal.list
12946 - List of custom marshal functions
12948 2006-03-05 Dan Williams <dcbw@redhat.com>
12950 * gnome/applet/applet-notifications.h
12951 - Protect prototype of nma_send_event_notification() because it
12952 includes libnotify-specific types
12953 - Include libnotify/libnotify.h too, since we technically need it
12955 * gnome/applet/applet.c
12956 - (nma_show_vpn_failure_dialog): fix usage of g_return_if_fail
12957 - (nma_show_vpn_login_banner_dialog): add some error checking
12959 2006-03-04 Dan Williams <dcbw@redhat.com>
12961 Clean up activation cancellation. Should be a lot faster now. Observed
12962 an issue with wireless devices between stage 2 and 3 of activation, where
12963 activation would be cancelled, but the device thread wouldn't notice until
12964 the supplicant association timed out. Reorganize activation such that
12965 a cancellation handler gets immediately scheduled in the device's thread,
12966 and devices have a chance to perform any custom cleanup too.
12968 * src/nm-device.[ch]
12969 - (activation_cancel_handler): new device-type-specific function
12970 for cleaning up device-type-specific stuff on cancellation
12971 - (cancel_activation): removed
12972 - (nm_device_activation_cancel): subsume functionality of
12973 real_cancel_activation, but instead of doing anything, punt
12974 operation to a handler that's run in device-thread context
12975 - (nm_device_schedule_activation_handle_cancel): fix spelling of
12977 - (activation_handle_cancel_helper): cancellation handler run in
12978 device-thread context, calls device-type-specific cancelation,
12979 then tears down the activation request
12980 - (real_activation_cancel_handler): generic cancellation handler,
12981 deals with cancelling any in-process DHCP request
12982 - (nm_device_activate_stage1_device_prepare,
12983 nm_device_activate_stage2_device_config,
12984 nm_device_activate_stage3_ip_config_start,
12985 nm_device_activate_stage4_ip_config_get,
12986 nm_device_activate_stage4_ip_config_timeout,
12987 nm_device_activate_stage5_ip_commit): don't call
12988 nm_device_schedule_activation_handle_cancel() any more, since
12989 cancellation will have been already scheduled for us by
12990 nm_device_activation_cancel(). Just exit the function and
12991 assume that the cancel handler will be called next.
12993 * src/nm-device-802-3-ethernet.c
12994 - (real_act_stage2_config): remove; didn't do anything anyway
12996 * src/nm-device-802-11-wireless.c
12997 - (supplicant_status_cb): ensure we don't do anything if the activation
12999 - (real_activation_cancel_handler): implement; cancel user key request
13000 on activation cancellation
13002 2006-03-04 Dan Williams <dcbw@redhat.com>
13004 * src/nm-device-802-11-wireless.c
13005 - (supplicant_send_network_config): assume that drivers that don't
13006 support WPA pretty much suck, and can't handle NM scanning
13007 along with wpa_supplicant.
13009 2006-03-03 Robert Love <rml@novell.com>
13011 * configure.in: Bump version to 0.6.0.
13014 2006-03-03 Robert Love <rml@novell.com>
13016 * configure.in: Require DBUS 0.60 or later.
13018 2006-03-03 Dan Williams <dcbw@redhat.com>
13020 Fix a crash if an "Other wireless network" was chosen, failed, then
13021 chosen again from the applet's menu. If the other network wasn't
13022 noticed in a scan, it wouldn't have any capabilities, but would still
13023 be listed because the user forced the network. To fix this, we set
13024 sensible capabilities on the forced network, which will get overwritten
13025 with the correct ones if the network shows up later in a scan.
13027 * src/nm-ap-security.h
13028 - Add a new "get_default_capabilities_func" member to the
13031 * src/nm-ap-security.c
13032 - (nm_ap_security_get_default_capabilities): new function
13034 * src/nm-ap-security.c
13035 src/nm-ap-security-wep.c
13036 src/nm-ap-security-wpa-psk.c
13037 src/nm-ap-security-wpa-eap.c
13038 - Implement get_default_capabilities_func() for all, which
13039 uses the information contained in a specific NMAPSecurity
13040 object to determine default AP capabilites necessary
13041 to support that object
13043 As a secondary measure, we now prune artificial access points that fail
13044 to be activated right away. The thing failed, and we have no scan data for
13045 it, so it's pretty much useless since security information is only saved
13046 in the applets when a connection is successful.
13048 * src/NetworkManagerAPList.c
13049 - (nm_ap_list_merge_scanned_ap): mark any ap noticed in a scan
13050 not artificial. If we see it, it's no longer a figment of the
13051 user's imagination :)
13053 * src/NetworkManagerPolicy.c
13054 - (nm_policy_activation_failed): send along the failed AP if we
13057 * src/nm-device-802-11-wireless.c
13058 - (real_activation_failure_handler): remove artificial APs from
13059 the device list, because activation failed
13061 2006-03-02 Robert Love <rml@novell.com>
13063 Add support for retrieving both the per-device speed and the
13064 per-network maximum supported rate. Then change the getProperties
13065 DBUS API for both networks and devices to report this informaiton.
13066 Finally, display the information via both nm-applet and nm-tool:
13067 * gnome/applet/applet-dbus-devices.c: Grab the speed from getProperties
13069 * gnome/applet/applet.c: Display the device's speed in the 'Connection
13070 Information' dialog.
13071 * gnome/applet/applet.glade: Update the UI to show per-device speed.
13072 * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Add interfaces
13073 network_device_get_speed() and network_device_set_speed() for
13074 retrieving and setting, respectively, a network device's current
13076 * src/nm-dbus-device.c: Send the device's speed on getProperties.
13077 * src/nm-device-802-11-wireless.c: Return the rate in Mb/s, not Kb/s,
13078 in the function nm_device_802_11_wireless_get_bitrate() -- it does
13079 not matter (yet) what the units are, because we only feed it its own
13080 output. Implement SIOCGIRATE and set the per-network maximum
13081 supported rate during scanning.
13082 * src/nm-device-802-11-wireless.h: Export the function
13083 nm_device_802_11_wireless_get_bitrate().
13084 * src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h: Add
13085 function nm_device_802_3_ethernet_get_speed() for returning an
13086 802.3's current speed, in Mb/s.
13087 * test/nm-tool.c: Display the per-device current speed, if available,
13088 and the per-network maximum rate.
13090 2006-03-02 Dan Williams <dcbw@redhat.com>
13092 * src/nm-device-802-11-wireless.c
13093 - (nm_device_802_11_wireless_set_scan_interval): don't scan-spam the
13094 card when it gets initialized. Since devices don't get added to
13095 the scan list until they are initialized, this function wasn't
13096 setting the intitial scan interval correctly, and was leaving
13097 it at 0. This caused cards to get many scan requests in a short
13098 amount of time when they were initialized
13100 2006-03-02 Robert Love <rml@novell.com>
13102 * gnome/applet/applet.c: Do not set the pixbuf if we don't have an
13103 active device. But do not do what we used to do and override the
13104 state, which caused the dreaded icon race of '05.
13106 2006-03-02 Robert Love <rml@novell.com>
13108 Commit Dan's update of my previous commit:
13109 * src/nm-device-802-11-wireless.c: Always set the mode, because the
13110 set_mode() function itself does the check. But do only set the
13111 frequency if in Ad-Hoc mode.
13113 2006-03-02 Robert Love <rml@novell.com>
13115 Patch by Brian Magnuson <magnuson@rcn.com>:
13116 * src/nm-device-802-11-wireless.c: During scanning, only set the
13117 wireless mode to infrastructure if it is not currently in
13118 infrastructure mode. For some driver, setting the mode is a costly
13119 operation, apparently.
13121 2006-03-01 Rodrigo Moya <rodrigo@novell.com>
13123 * Makefile.am: use the correct dir for autostart mechanism.
13125 2006-02-28 Dan Williams <dcbw@redhat.com>
13127 Patch from Brian Magnuson <magnuson@rcn.com>
13128 * gnome/applet/applet.c
13129 - (nma_show_vpn_failure_dialog): fix errors left over from
13130 libnotify support changes
13132 2006-02-28 Dan Williams <dcbw@redhat.com>
13134 * src/vpn-manager/nm-vpn-act-request.[ch]
13135 - (nm_vpn_act_request_is_activated): don't use a switch/case for
13137 - (nm_vpn_act_request_is_failed): new function; return whether or
13138 not the vpn activation request has failed
13140 * src/vpn-manager/nm-vpn-manager.c
13141 - (nm_vpn_manager_deactivate_vpn_connection): tell the vpn service
13142 daemon to kill the connection when the activation request fails.
13143 Fixes issue where NM would get confused if the VPN activation
13144 request timed out, and would not allow further VPN connections
13147 2006-02-28 Dan Williams <dcbw@redhat.com>
13149 * gnome/applet/applet.c
13150 - (nma_menu_add_vpn_menu): until the NM VPN manager can deal with
13151 overlapping connection requests, disable all VPN menu items
13152 but the active VPN connection
13154 2006-02-28 Dan Williams <dcbw@redhat.com>
13156 * src/vpn-manager/nm-vpn-connection.c
13157 - (nm_vpn_connection_set_parent_device): fix C&P error which
13158 called g_object_unref() on the connection's parent device
13159 when it should have been ref-ed instead. Fixes crash with
13160 repeated vpn connect requests
13162 2006-02-28 Christopher Aillon <caillon@redhat.com>
13164 * gnome/applet/applet.glade:
13165 Mark a few strings non-translatable, since they shouldn't be.
13167 2006-02-28 Dan Williams <dcbw@redhat.com>
13169 * src/vpn-manager/nm-vpn-service.c
13170 - (nm_vpn_service_start_connection): if the vpn service daemon is
13171 already running, don't blindly ask it to connect, but wait until
13172 it's in the STOPPED state first. Fixes an assertion when user
13173 starts a second vpn connection without stopping the first.
13174 - (nm_vpn_service_stage2_daemon_wait): ensure the vpn service's
13175 dbus service exists before continuing with the connection
13176 process, and reduce latency while waiting for it to become
13178 - (nm_vpn_service_schedule_stage2_daemon_wait): reduce latency
13179 waiting for the vpn service daemon to become available
13180 - General log message cleanups; show progress via "Stage x of 4"
13181 rather than not telling anyone how many stages there are
13183 2006-02-28 Robert Love <rml@novell.com>
13185 * src/NetworkManagerSystem.h: Add nm_system_should_modify_resolv_conf.
13186 * src/backends/NetworkManagerSuSE.c: Implement the interface
13187 nm_system_should_modify_resolv_conf() for SUSE.
13188 * src/backends/NetworkManagerDebian.c,
13189 src/backends/NetworkManagerGentoo.c,
13190 src/backends/NetworkManagerRedHat.c,
13191 src/backends/NetworkManagerSlackware.c: Add stub.
13192 * src/named-manager/Makefile.am: Grab includes from src.
13193 * src/named-manager/nm-named-manager.c: Allow backends to disable the
13194 automatic updating of resolv.conf. This is useful for testing,
13195 broken static configurations, and administrator lock-down.
13197 2006-02-28 Dan Williams <dcbw@redhat.com>
13199 * src/nm-device-802-11-wireless.c
13200 - Move all the wpa_supplicant-related management stuff into its
13201 own struct, just for oranization's sake
13202 - (supplicant_exec): when exec-ing wpa_supplicant, connect its stdout
13203 to a GIOChannel/GSource
13204 - (supplicant_log_stdout): new function; grab output from the
13205 wpa_supplicant stdout pipe and write it to our logs.
13207 2006-02-27 Christopher Aillon <caillon@redhat.com>
13209 * src/nm-device-802-11-wireless.c:
13210 Err, fix thinko in my previous commit.
13212 2006-02-28 Robert Love <rml@novell.com>
13214 * gnome/applet/wso-wpa-eap.c: Fix misc. FIXME statements.
13216 2006-02-28 Robert Love <rml@novell.com>
13218 * libnm-util/dbus-helpers.c, src/nm-ap-security-wpa-eap.c,
13219 src/nm-ap-security-wpa-psk.c, gnome/applet/nm-gconf-wso-wpa-eap.c,
13220 gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXMEs: Callers of the DBUS
13221 deserializers are responsible for freeing the returned DBUS strings.
13223 2006-02-27 Christopher Aillon <caillon@redhat.com>
13225 * src/nm-device-802-11-wireless.c:
13226 The scan list is being pruned prematurely. We should prune after
13227 the device has gone MIA for three scans, not one. Split out the
13228 interval to realtime seconds function to better serve this.
13230 2006-02-27 Robert Love <rml@novell.com>
13232 * dispatcher-daemon/NetworkManagerDispatcher.c, src/NetworkManager.c:
13233 Open the pid file O_TRUNC, so if it already exists we truncate it to
13234 zero length. Also, be more verbose about warnings generated during
13235 writing out the pid file. Finally, always write out the pid file if
13236 in daemon mode. Use "--pid-file" to override the default.
13238 2006-02-27 Robert Love <rml@novell.com>
13240 Patch by R. Vinay <rvinay@novell.com>:
13241 * gnome/vpn-properties/nm-vpn-properties.c: Remove the gconf key
13242 'last_attempt_success' when removing a VPN connection, too. (Fixes
13243 Novell bug #153628).
13245 2006-02-27 Robert Love <rml@novell.com>
13247 * gnome/applet/applet.glade: Set "activates_default" on passphrase
13248 entry so user can hit <ENTER> after entering passphrase (Novell bug
13251 2006-02-27 Dan Williams <dcbw@redhat.com>
13254 - Mass search/replace of:
13256 NMWirelessApplet -> NMApplet
13257 NM_*_WIRELESS_APPLET -> NM_*_APPLET
13258 (it ain't just for wireless anymore, ma!)
13259 - Fix duplicate function name printing when using nm_warning
13260 - wireless-applet.glade -> applet.glade
13262 2006-02-27 Dan Williams <dcbw@redhat.com>
13264 * dispatcher-daemon/NetworkManagerDispatcher.c
13265 - Accept --pid-file with a path to a pidfile, write it out on
13266 startup, and delete it on shutdown
13268 * src/NetworkManager.c
13269 - Accept --pid-file with a path to a pidfile, write it out on
13270 startup, and delete it on shutdown
13271 - Move nm_print_usage() lower
13273 * initscripts/RedHat/NetworkManager.in
13274 - Use new --pid-file option
13275 - Fix service stopping to wait a bit for NM to quit
13277 * initscripts/RedHat/NetworkManagerDispatcher.in
13278 - Use new --pid-file option
13280 2006-02-26 Dan Williams <dcbw@redhat.com>
13283 - make and install nm-crash-logger
13285 * src/nm-logging.[ch]
13286 - New files; consolidate logging and crash handling
13288 * src/nm-crash-logger.c
13290 - Standalong crashlogger for NM, grab a backtrace
13293 * src/NetworkManager.[ch]
13294 - Remove signal handling and put it into nm-logging.c
13296 2006-02-26 Dan Williams <dcbw@redhat.com>
13299 gnome/applet/Makefile.am
13300 - Conditionalize all the notify stuff
13302 Merge most of Chris Aillon's notification patch:
13304 * gnome/applet/applet-notifications.[ch]
13305 - New files; show a notification
13307 * gnome/applet/applet-dbus-devices.[ch]
13308 - (nmwa_dbus_device_activated, nmwa_dbus_device_activated_cb,
13309 nmwa_dbus_device_deactivated, nmwa_dbus_device_deactivated_cb):
13310 new functions, do the right thing when a device change occurs
13312 * gnome/applet/applet-dbus.c
13313 - (nmwa_dbus_filter): Split out DeviceNowActive and DeviceNoLongerActive
13314 signals, so we can handle them specially
13316 * gnome/applet/applet.[ch]
13317 - nmwa_schedule_vpn_login_banner -> nmwa_show_vpn_login_banner
13318 - nmwa_schedule_vpn_failure_alert -> nmwa_show_vpn_failure_alert
13319 - (nmwa_notify_state): remove
13320 - (nmwa_update_state); remove call to nmwa_notify_state, since the
13321 notification work is now done when the appropriate dbus signals
13323 - (nmwa_show_vpn_login_banner, nmwa_show_vpn_failure_alert): don't
13324 defer execution of the notification/dialog stuff. That was an
13325 artifact of the previous multi-threaded nature of the applet
13326 and is now pointless.
13327 - (nmwa_notify_vpn_failure, nmwa_notify_vpn_login_banner): remove,
13328 no longer needed. Function folded into applet-notifications.c
13330 * src/NetworkManagerPolicy.c
13331 - (nm_policy_activation_finish): send the AP along with the device
13332 status change signal, if the connection is wireless. Should
13333 fix the race where applet would show a connection to "unknown"
13335 2006-02-25 Robert Love <rml@novell.com>
13337 Add WPA Enterprise support:
13338 * gnome/applet/Makefile.am: Build the files nm-gconf-wso-wpa-eap.c and
13339 nm-gconf-wso-wpa-eap.h.
13340 * gnome/applet/nm-gconf-wso-wpa-eap.c,
13341 gnome/applet/nm-gconf-wso-wpa-eap.h: Add WPA Enterprise Gconf
13342 serialization and deserialization.
13343 * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
13344 gnome/applet/wireless-security-option.c, gnome/applet/wso-wpa-psk.c,
13345 gnome/applet/wso-wpa-psk.h: Clean up, support new defines.
13346 * gnome/applet/wireless-applet.glade: Add UI for configurating security
13347 settings related to WPA Enterprise.
13348 * gnome/applet/wireless-security-manager.c: Invoke wso_wpa_eap_new() to
13349 instantiate WPA Enterprise wireless-security-option.
13350 * gnome/applet/wso-wpa-eap.c, gnome/applet/wso-wpa-eap.h: New files.
13351 Implement WPA Enterprise wireless-security-option object.
13352 * include/NetworkManager.h: Add new NM_AUTH_TYPE_* and NM_EAP_METHOD_*
13354 * libnm-util/cipher-wpa-psk-hex.c,
13355 libnm-util/cipher-wpa-psk-passphrase.c: Cleanup.
13356 * libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h: Add
13357 nmu_security_serialize_wpa_eap() to serialize input to DBUS method,
13358 nmu_security_serialize_wpa_eap_with_cipher() to serialize input
13359 including the cipher to DBUS method, and
13360 nmu_security_deserialize_wpa_eap() to deserialize from DBUS return
13362 * src/Makefile.am: Build the files nm-ap-security-wpa-eap.c and
13363 nm-ap-security-wpa-eap.h
13364 * src/NetworkManagerAP.c: Add NM_AUTH_TYPE_WPA_EAP to
13365 NM_802_11_CAP_KEY_MGMT_802_1X cipher to capability mapping.
13366 * src/nm-ap-security-wpa-eap.c, src/nm-ap-security-wpa-eap.h: New
13367 files. Implement NMAPSecurityWPA_EAP object.
13368 * src/nm-ap-security-wpa-psk.c: Cleanup.
13369 * src/nm-ap-security.c: Support NM_AUTH_TYPE_EAP cipher and instantiate
13370 an NMAPSecurityWPA_EAP object via the method
13371 nm_ap_security_wpa_eap_new_deserialize().
13372 * src/nm-dbus-nm.c: Cleanup.
13373 * test/nm-tool.c: Display "Enterprise" for wireless networks providing
13374 WPA Enterprise support.
13376 2006-02-24 Robert Love <rml@novell.com>
13378 Patch from Timo Hoenig <thoenig@suse.de>:
13379 * src/NetworkManagerDbus.c: Survive DBUS restarts like a champ.
13381 2006-02-24 Robert Love <rml@novell.com>
13383 Patch from Dan Winship <danw@novell.com>:
13384 * gnome/applet/eggtrayicon.c: Update EggTrayIcon code. Set the gdk
13385 area to transparent.
13387 2006-02-21 Dan Williams <dcbw@redhat.com>
13389 * gnome/applet/applet.[ch]
13390 gnome/applet/applet-dbus.c
13391 - Implement notification support for VPN messages too
13393 2006-02-21 Dan Williams <dcbw@redhat.com>
13395 * gnome/applet/applet-dbus-info.c
13396 - Clean up warning messages to not double-print the function
13398 2006-02-21 Dan Williams <dcbw@redhat.com>
13400 * gnome/applet/applet-compat.c
13401 - (convert_one_entry): accept entries without a key_type and
13402 convert them to unencrypted networks
13404 2006-02-21 Dan Williams <dcbw@redhat.com>
13406 * gnome/libnm_glib/libnm_glib.c
13407 - Use __func__ everywhere we can
13409 - Use dbus pending calls rather than blocking
13410 - Reduce busywaits for our thread to start and stop
13411 (gnome.org #330562)
13412 - (libnm_glib_dbus_init): Use dbus_bus_get_private() so we don't
13413 stomp on others using the default shared dbus connection.
13414 Fixes #rh177546# and gnome.org #326572
13416 2006-02-21 Dan Williams <dcbw@redhat.com>
13418 Patch from Rodney Dawes <dobey@novell.com>
13420 gnome/applet/Makefile.am
13421 gnome/applet/applet.c
13422 - Add libnotify support if '--enable-notify=yes' is passed
13425 2006-02-16 Kang Jeong-Hee <keizie@gmail.com>
13427 * configure.in (ALL_LINGUAS): ko added. (Korean)
13429 2006-02-15 Robert Love <rml@novell.com>
13431 * src/nm-device-802-11-wireless.c: Use LOCALSTATEDIR preprocessor
13432 define, not an open-coded "/var", for WPA_SUPPLICANT_GLOBAL_SOCKET
13433 and WPA_SUPPLICANT_CONTROL_SOCKET.
13435 2006-02-15 Robert Love <rml@novell.com>
13437 * src/nm-device-802-11-wireless.c, src/nm-device.c: When printing debug
13438 information about what connection stage we are at, provide the total
13439 number of stages, e.g. "Stage 2 of 5", so users know how far along
13440 they are if they experience problems.
13442 2006-02-15 Robert Love <rml@novell.com>
13444 * gnome/vpn-properties/Makefile.am: Define SYSCONFDIR preprocessor
13445 define to $sysconfdir.
13446 * gnome/vpn-properties/nm-vpn-properties.c: Make sure we hide the VPN
13447 editing dialog, vpn_edit_widget, which fixes a bug where editing one
13448 type of VPN and then editing another results in a mangled dialog
13449 box containing the widgets from both VPNs (fixes Novell #150854).
13450 Also, some misc. cleanup and use SYSCONFDIR not open coded directory.
13452 2006-02-14 Robert Love <rml@novell.com>
13454 * src/NetworkManager.c: Call closelog() on daemon shutdown to close
13455 syslog's file descriptor.
13457 2006-02-14 Robert Love <rml@novell.com>
13459 Fix bug around since the change to "deal with APs changing settings on
13460 us," checked in on the fifth of February in the year of the dog,
13461 wherein connecting to non-broadcast encrypted networks always fails
13462 because nm_ap_get_encrypted() always returns FALSE, even when the user
13463 provided a key, because the newly-created fake AP does not have any
13464 capabilities set, which is a sypmtom of security settings not matching
13465 capabilities (Novell bug #150784):
13466 * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Add new interface,
13467 nm_ap_add_capabilities_from_security(), which sets the given AP's
13468 capabilities off the given security settings. Also improve our
13469 handling of capabilities w.r.t. NM_802_11_CAP_PROTO_NONE and
13470 NM_AUTH_CIPHER_AUTO.
13471 * src/nm-device-802-11-wireless.c: Call the function
13472 nm_ap_add_capabilities_from_security() to ensure that capabilities
13473 match newly updated security settings.
13475 2006-02-14 Robert Love <rml@novell.com>
13477 * src/nm-device-802-11-wireless.c: Clean up nm_warning calls: Print the
13478 error as a string, not an integer, if possible; do not print the
13479 function name twice; always give the interface, if possible; misc.
13482 2006-02-12 Dan Williams <dcbw@redhat.com>
13484 Patch from Tom Parker <palfrey@tevp.net>
13485 * src/NetworkManagerSystem.h
13486 - Remove prototype for nm_system_device_setup_static_ip4_config(),
13489 * src/backends/NetworkManagerDebian.c
13490 - Remove some dead code (nm_system_device_setup_static_ip4_config) and
13493 2006-02-12 Dan Williams <dcbw@redhat.com>
13495 * vpn-daemons/openvpn/intltool-extract.in
13496 vpn-daemons/openvpn/intltool-merge.in
13497 vpn-daemons/openvpn/intltool-update.in
13498 vpn-daemons/pptp/intltool-extract.in
13499 vpn-daemons/pptp/intltool-merge.in
13500 vpn-daemons/pptp/intltool-update.in
13501 - Remove from CVS, they should get created by intltoolize,
13504 2006-02-12 Dan Williams <dcbw@redhat.com>
13506 * vpn-daemons/pptp/src/pppd/patchlevel.h
13507 * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
13508 - Rename VERSION -> PPPD_VERSION to avoid conflict with the
13509 Makefile-defined VERSION
13511 2006-02-09 Dan Williams <dcbw@redhat.com>
13513 Patch from: Vinay A R <rvinay@novell.com>
13514 * src/vpn-manager/nm-vpn-act-request.[ch]
13515 - Added 'routes' and 'routes_count' to struct NMVPNActRequest since
13516 IPSec VPNs require them for std gateway.
13517 - (nm_vpn_act_request_new): takes arguments for 'user_routes'
13518 and 'user_routes_count'
13519 - (nm_vpn_act_request_get_user_routes): new function; gets user
13520 defined routes from NMVPNActRequest object, returns the string
13523 * src/vpn-manager/nm-vpn-manager.[ch]
13524 - (nm_vpn_manager_activate_vpn_connection): take additional arguments
13525 for 'user_routes' and 'user_routes_count'
13527 * src/vpn-manager/nm-dbus-vpn.c
13528 - (nm_dbus_vpn_activate_connection): gets 'user_routes' from
13529 nm_dbus_vpn_get_routes() to pass to nm_vpn_manager_activate_vpn_connection()
13531 * src/vpn-manager/nm-vpn-service.c
13532 - (nm_vpn_service_stage3_connect): pass user routes over dbus to
13535 Modifications by Dan:
13536 * src/vpn-manager/nm-vpn-service.c
13537 - (nm_vpn_service_stage3_connect): ensure that we don't pass NULL string
13540 * vpn-daemons/vpnc/src/nm-vpnc-service.c
13541 * vpn-daemons/pptp/src/nm-pptp-service.c
13542 * vpn-daemons/openvpn/src/nm-openvpn-service.c
13543 - Grab user routes from dbus message
13544 - Free all string arrays we got from dbus
13546 2006-02-07 Robert Love <rml@novell.com>
13548 Patch by Stefan Seyfried <seife@suse.de>:
13549 * libnm-util/cipher.c: Fix off-by-one error in cipher_bin2hexstr.
13551 2006-02-06 Robert Love <rml@novell.com>
13553 * src/nm-device-802-11-wireless.c: Fix leak in supplicant_status_cb().
13555 2006-02-06 Robert Love <rml@novell.com>
13557 * src/NetworkManagerUtils.c: kill_newline(): 'l' is unsigned so the
13558 test ">=" is never false. If no newline is found, we loop forever.
13559 We can just check for ">" because the following if() will see the
13560 zero-th argument if the while() gets that far.
13562 2006-02-05 Dan Williams <dcbw@redhat.com>
13564 Refine handling of non-broadcast networks.
13566 * src/NetworkManagerAPList.c
13567 - (nm_ap_list_merge_scanned_ap): unconditionally copy the 'broadcast'
13568 property from scanned AP to the AP from the device list
13570 * src/nm-device-802-11-wireless.c
13571 - (supplicant_send_network_config): use ap_scan=1 for all networks
13572 except non-SSID-broadcasting and Ad-Hoc networks. Use
13573 ap_scan=2 for those. Also, don't set scan_ssid for Ad-Hoc
13574 networks since those don't have APs.
13575 - (add_new_ap_to_device_list): if there's no valid SSID, mark the
13576 AP as non-SSID-broadcasting
13577 - (process_scan_results): don't handle non-SSID-broadcasting here
13579 2006-02-05 Dan Williams <dcbw@redhat.com>
13581 * src/nm-device-802-11-wireless.c
13582 - (get_supplicant_timeout): new function; return
13583 NM_SUPPLICANT_TIMEOUT * 2 for cards that support more than
13584 14 channels. These are likely a/b/g cards, like Atheros, and
13585 slow as hell to scan.
13586 - (supplicant_timeout_cb, supplicant_monitor_start): use
13587 get_supplicant_timeout()
13589 2006-02-05 Dan Williams <dcbw@redhat.com>
13591 * src/dhcp-manager/nm-dhcp-manager.c
13592 - Loose a commit race with Robert; make sure size check
13593 uses size of DHCP_SERVICE_LEN, not hardcoded 15
13595 2006-02-05 Robert Love <rml@novell.com>
13597 Patch by Christoph Brill <chrisbrill@gmx.net>:
13598 * src/dhcp-manager/nm-dhcp-manager.c: Replace two open coded defines
13599 with DHCP_SERVICE_NAME.
13601 2006-02-05 Dan Williams <dcbw@redhat.com>
13603 Remove anything having to do with device_setup_func from the
13604 AP security objects, since it's no longer used.
13606 * src/nm-ap-security.h
13607 - Kill device_setup_func and nm_ap_security_device_setup()
13609 * src/nm-ap-security-wep.c
13610 src/nm-ap-security-wpa-psk.c
13611 - (real_device_setup): remove
13613 * src/nm-ap-security.c
13614 - (real_device_setup): remove
13615 - (nm_ap_security_device_setup): remove
13617 * src/nm-device-802-11-wireless.[ch]
13618 - (nm_device_802_11_wireless_set_wep_enc_key): make static
13619 - (set_wireless_config, wireless_configure_adhoc): remove; unused
13620 and done by wpa_supplicant now anyway
13622 2006-02-05 Dan Williams <dcbw@redhat.com>
13624 * src/nm-device-802-11-wireless.c
13625 - (ap_need_key, real_act_stage2_config): deal with APs changing
13626 settings on us. Previously NM would loop asking for the
13627 key but getting the same one back. Now, if the NMI-supplied
13628 cipher doesn't overlap with the scanned AP capabilities,
13629 we request a completely new key from the user.
13631 2006-02-05 Dan Williams <dcbw@redhat.com>
13633 * src/NetworkManagerUtils.c
13634 - (nm_utils_supplicant_request_with_check, nm_utils_supplicant_request):
13635 Handle newline killing better
13637 2006-02-05 Dan Williams <dcbw@redhat.com>
13639 * gnome/applet/nm-gconf-wso.c
13640 - (real_serialize_dbus): return TRUE, not 0. Fixes serialization
13641 of unencrypted access point security info.
13643 2006-02-03 Robert Love <rml@novell.com>
13645 * src/NetworkManagerUtils.c: Even for debugging, we should not log the
13646 user's encryption key, so we print the err_msg_cmd not the command,
13647 if available. So long as SUPPLICANT_DEBUG is default, this makes
13650 2006-02-03 Christopher Aillon <caillon@redhat.com>
13652 * initscript/RedHat/NetworkManagerDispatcher.in:
13653 * initscript/RedHat/NetworkManager.in: modify the pidfile location
13654 Patch from Dan Walsh <dwalsh@redhat.com>
13656 2006-02-03 Robert Love <rml@novell.com>
13658 * dispatcher-daemon/NetworkManagerDispatcher.c,
13659 dispatcher-daemon/Makefile.am: Don't hardcode the location of /etc
13660 but use the sysconfdir.
13662 2006-02-03 Robert Love <rml@novell.com>
13664 * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h:
13665 Make nm_device_802_11_wireless_get_essid() return 'const char *' not
13667 * src/nm-ip4-config.c, src/nm-ip4-config.h: Make the functions
13668 nm_ip4_config_get_hostname() and
13669 nm_ip4_config_get_nis_domain() return 'const char *' not 'char *'.
13670 * src/backends/NetworkManagerSuSE.c: Fix up for above. Also, do not
13671 leak g_strdup() result.
13673 2006-02-03 Robert Love <rml@novell.com>
13675 * src/NetworkManagerAP.c: In nm_ap_new(), default new networks to
13676 broadcast == TRUE. Also, copy broadcast and artificial properties
13677 from source network to destination in nm_ap_copy().
13678 * src/nm-device-802-11-wireless.c: Don't set broadcast flag to TRUE,
13679 since we now default new networks to non-hidden.
13681 2006-02-03 Dan Williams <dcbw@redhat.com>
13683 * gnome/applet/main.c
13684 - (main): change the NEVER->ALWAYS so we start at the
13685 beginning of the session, if being session-managed
13687 2006-02-03 Dan Williams <dcbw@redhat.com>
13689 * gnome/applet/main.c
13690 - (main): in a variation on Robert's patch, change
13691 RESTART_IMMEDIATELY -> RESTART_NEVER. Should do what
13694 2006-02-02 Robert Love <rml@novell.com>
13696 * src/Makefile.am: If we aren't going to create the run directory at,
13697 uh, run-time, create it during install. Then users just doing
13698 'make install' are cool, too. While we are here, create the
13699 dispatcher.d directory, too.
13700 * src/nm-device-802-11-wireless.c: Let the Makefile define and pass in
13701 the exact run directory.
13702 * Makefile.am: Install nm-applet.desktop.
13704 2006-02-02 Robert Love <rml@novell.com>
13706 * src/NetworkManagerAP.c: Add 'broadcast' property to the NMAccessPoint
13707 structure, which denotes whether or not the AP is hidden. This is a
13708 superset of 'artificial' -- we need 'broadcast' because a hidden AP
13709 can show up in the scan list. Add nm_ap_get_broadcast() and
13710 nm_ap_set_broadcast() accessor interfaces.
13711 * src/NetworkManagerAP.h: Add prototypes for nm_ap_get_broadcast() and
13712 nm_ap_set_broadcast().
13713 * src/nm-dbus-net.c: Add new argument, boolean broadcast, to the
13714 "getProperties" method, which denotes whether or not the given
13716 * src/nm-device-802-11-wireless.c: Set broadcast to FALSE when creating
13717 an artificial network. Set broadcast to TRUE when scanning returns
13718 an ESSID and FALSE when not.
13719 * gnome/applet/applet-dbus-devices.c: Retrieve 'broadcast' argument
13720 from "getProperties" method on a network. Possible TODO is to
13721 somehow display this.
13722 * test/nm-tool.c: Display "Hidden" if the AP does not broadcast.
13724 2006-02-02 Dan Williams <dcbw@redhat.com>
13726 * src/nm-device-802-11-wireless.c
13727 - (supplicant_interface_init): don't try to create
13728 /var/run/NetworkManager, since that should be done by
13729 the distro package. Causes problems for stuff like SELinux
13731 2006-02-02 Robert Love <rml@novell.com>
13733 Patch by Sureshkumar T <tsureshkumar@novell.com>:
13734 * src/vpn-manager/nm-vpn-connection.c, src/NetworkManagerSystem.c:
13735 Check for and handle empty string for iface.
13737 2006-02-01 Robert Love <rml@novell.com>
13739 * configure.in, man/nm-tool.1.in, man/Makefile.am: Add nm-tool(1)
13742 2006-01-31 Dan Williams <dcbw@redhat.com>
13744 * nm-applet.desktop
13745 - Add --sm-disable to Exec arguments, presuming that when
13746 using autostart, we don't want session management
13748 2006-01-31 Robert Love <rml@novell.com>
13750 * src/NetworkManagerAP.c: Add two new manufacturer default network
13751 names: linksys-a and linksys-g. These are found (at least) on the
13752 Linksys WAP55AG, which does both 802.11a and 802.11b, each with their
13755 2006-01-31 Robert Love <rml@novell.com>
13757 * src/NetworkManagerAP.c: Optimize the function
13758 nm_ap_has_manufacturer_default_essid(). I did not like its resulting
13759 machine code. This is the first in a series of code tweaks aiming to
13760 generate better machine code and make NetworkManager all the better.
13761 Just kidding. Who has time to go through the assembly generated for
13762 every function? I certainly don't. I have a wife, a kid, a job,
13763 a mortgage, a mistress. But this function was so bad, I was called
13764 to arms. Like the book.
13766 2006-01-31 Robert Love <rml@novell.com>
13768 * src/nm-device-802-11-wireless.c: Set "scan_ssid 1" if the requested
13769 AP is not broadcasting, to scan with probe request frames. Required
13770 for non-broadcast networks.
13772 2006-01-31 Robert Love <rml@novell.com>
13774 * src/nm-device-802-11-wireless.c: Make the wpa_supplicant a
13775 preprocessor define (still 20s). Fix message text in nm_info()
13776 s/too too/took too/.
13778 2006-01-30 Dan Williams <dcbw@redhat.com>
13780 * src/nm-device-802-11-wireless.c
13781 - (supplicant_monitor_start): increase connect/auth timeout to
13782 20 seconds from 10 seconds
13784 2006-01-30 Dan Williams <dcbw@redhat.com>
13787 - Define LOCALSTATEDIR
13789 * src/nm-device-802-11-wireless.c
13790 - (supplicant_exec): tell wpa_ctrl_open() to stick the local control
13791 socket where we want it to
13793 * src/wpa_ctrl.[ch]
13794 - (wpa_ctrl_open): accept location to put local control socket
13796 2006-01-30 Robert Love <rml@novell.com>
13798 * src/dhcp-manager/nm-dhcp-manager.c: Pass TRUE for ignore_error in
13799 get_ip4_string() for "domain_name".
13801 2006-01-30 Robert Love <rml@novell.com>
13803 * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
13804 gnome/applet/wireless-security-option.c, include/NetworkManager.h,
13805 libnm-util/cipher-wpa-psk-hex.c, src/nm-ap-security-wpa-psk.c,
13806 libnm-util/cipher-wpa-psk-passphrase.c, src/nm-ap-security.c: Add
13807 support for "Automatic" pairwise and group cipher configuration by
13808 letting wpa_supplicant handle the details. Add UI elements, new
13809 cipher type NM_AUTH_CIPHER_AUTO, and backend support. Works like a
13810 charm. Note this does more than add a nice feature, it fixes a bug.
13811 Apparently, some people have AP's where the pairwise cipher does not
13812 match the group cipher. Insane, but true.
13814 2006-01-30 Dan Williams <dcbw@redhat.com>
13816 * gnome/applet/applet-dbus-devices.c
13817 - (nmwa_dbus_device_get_driver_cb, nmwa_dbus_device_get_driver): new
13818 functions, grab device driver name from NetworkManager
13819 - (nmwa_dbus_device_properties_cb): call functions to get driver
13821 * gnome/applet/applet.c
13822 - (nmwa_update_info): show driver name in Connection Information
13825 * gnome/applet/nm-device.[ch]
13826 - (network_device_get_driver, network_device_set_driver): add
13827 accessors for driver name
13829 * gnome/applet/wireless-applet.glade
13830 - Add line for driver name to Connection Information dialog
13832 * src/nm-dbus-device.c
13833 - (nm_dbus_device_get_driver): new function to return driver name
13834 - (nm_dbus_device_methods): hook up driver name function to dbus
13837 - (get_driver_name): new function
13838 - (detail_device): grab and show driver name
13840 2006-01-30 Robert Love <rml@novell.com>
13842 * gnome/applet/applet.c: Apparently gtk_message_dialog_new_with_markup
13843 does not parse the markup if it is not part of the format.
13845 2006-01-30 Robert Love <rml@novell.com>
13847 * gnome/applet/passphrase-dialog.c: If wsm_set_capabilities() returns
13848 FALSE, we have no security options for this dialog, so we throw up
13849 an error dialog instead of a broken passphrase dialog. Fixes
13851 * gnome/applet/wireless-security-manager.c,
13852 gnome/applet/wireless-security-manager.h: If wsm_set_capabilities()
13853 does not add any security options, not even NONE, print a warning
13854 and return FALSE. This let's functions constructing a dialog bail
13855 out if the device's capabilities and the network's requirements have
13858 2006-01-27 Robert Love <rml@novell.com>
13860 * configure.in: Require wpa_supplicant. Detect location of binary and
13861 use it. Override with "--with-wpa_supplicant=foo".
13862 * src/Makefile.am, src/nm-device-802-11-wireless.c: Do not hardcode the
13863 path to wpa_supplicant but use the auto-detected or user-provided
13864 value from configure.
13866 2006-01-27 Robert Love <rml@novell.com>
13868 * src/backends/NetworkManagerSuSE.c: If DHCLIENT_SET_HOSTNAME is set
13869 but the DHCP server did not return a hostname, try to look up our
13870 name via DNS and set the system hostname to that.
13872 2006-01-27 Dan Williams <dcbw@redhat.com>
13874 * src/backends/NetworkManagerRedHat.c
13875 - Add NM_CONTROLLED system network script support for RH/Fedora
13877 2006-01-27 Dan Williams <dcbw@redhat.com>
13879 * src/backends/NetworkManagerGentoo.c
13880 - (nm_system_device_get_disabled): add missing function.
13883 2006-01-27 Clytie Siddall <clytie@riverland.net.au>
13885 * configure.in: Added vi in ALL_LINGUAS line.
13887 2006-01-26 Robert Love <rml@novell.com>
13889 * src/Makefile.am, src/kernel-types.h: Now that two different source
13890 files are feeling the crack-addled leakage of kernel types such as
13891 u32 and s8 -- superior to __u64 and __u8, to be sure, but not valid
13892 types in user-space -- define a header and include it as needed.
13893 * src/nm-device-802-3-ethernet.c: Include kernel-types.h
13894 * src/nm-device-802-3-ethernet.h: Remove defines.
13895 * src/wpa.c: Remove defines and include kernel-types.h.
13897 2006-01-26 Robert Love <rml@novell.com>
13899 * TODO: Update. WPA support is in the bag and HAL restarts (should)
13902 2006-01-26 Robert Love <rml@novell.com>
13904 * configure.in: Change '-Wno-unused' to '-Wno-unused-parameter'
13905 * gnome/applet/applet-compat.c, gnome/applet/applet-dbus-devices.c,
13906 gnome/applet/applet-dbus-info.c, gnome/applet/applet-dbus.c,
13907 gnome/applet/applet.c, gnome/applet/applet.h, src/nm-dbus-device.c,
13908 gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
13909 gnome/applet/nm-gconf-wso.c, gnome/applet/nm-gconf-wso.h,
13910 gnome/applet/other-network-dialog.c, src/nm-device.c, test/nm-tool.c,
13911 gnome/applet/passphrase-dialog.c, src/nm-device-802-11-wireless.c,
13912 gnome/applet/wireless-security-manager.c, src/nm-ip4-config.c,
13913 gnome/applet/wireless-security-option.c, src/nm-ap-security.c,
13914 gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
13915 gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-psk.c,
13916 libnm-util/dbus-helpers.c, src/NetworkManagerAP.c, src/nm-dbus-nmi.c,
13917 src/NetworkManagerSystem.c, src/nm-ap-security-wep.c,
13918 src/nm-device-802-11-wireless.h, test/libnm-util/test-ciphers.c,
13919 src/named-manager/nm-named-manager.c, test/test-common/test-common.c:
13920 Kill unused variables, labels, and static functions. Don't pass
13921 string literals as the format string for printf-like functions.
13923 2006-01-25 Dan Williams <dcbw@redhat.com>
13925 * gnome/applet/wireless-applet.glade
13926 - Remove WPA2 Checkbox
13928 * gnome/applet/wireless-security-manager.c
13929 - (wsm_set_capabilities): split up sections for wpa and wpa2.
13930 This means the Wireless Security menu now has two WPA options,
13931 one for "WPA Personal" and one for "WPA2 Personal"
13933 * gnome/applet/wso-wpa-psk.[ch]
13934 - (wso_wpa_psk_new): remove stuff for WPA2 checkbox, and use
13935 'wpa2' argument to determine WPA version to use
13936 - (append_dbus_params_func): pass stored WPA version to cipher
13937 rather than using the (removed) checkbox
13939 2006-01-24 Robert Love <rml@novell.com>
13941 * src/dhcp-manager/nm-dhcp-manager.c: Null-out the original byte array
13942 before we g_strdup(), not the ultimate string.
13944 2006-01-23 Dan Williams <dcbw@redhat.com>
13946 * src/NetworkManagerAP.[ch]
13947 - (nm_ap_new_from_ap): copy original essid too
13948 - (nm_ap_unref): free original essid
13949 - (nm_ap_get_orig_essid): new function
13950 - (nm_ap_set_essid): Convert essid to UTF-8 for display and dbus,
13951 but keep original essid around too
13953 * src/nm-device-802-11-wireless.c
13954 - (supplicant_send_network_config): send wpa_supplicant the
13955 _original_ essid, and not as a string, but in hex. Should
13956 allow us to connect to more APs that use wierd character
13957 encodings for their essids
13959 * utils/nm-utils.[ch]
13960 - (nm_utils_essid_to_utf8): make a best-effort to convert the essid
13961 to UTF-8. If it's not already valid UTF-8, we check LANG and
13962 use the current locale as a hint for what encoding the essid
13963 might be in. Obviously not 100% accurate, but the idea here is
13964 that if a user's locale is ex. ja_JP, they are more likely than
13965 not to be in Japan, where access points will likely be in some
13968 2006-01-23 Dan Williams <dcbw@redhat.com>
13970 * libnm-util/cipher-private.h
13971 libnm-util/cipher.c
13972 libnm-util/cipher.h
13973 - (cipher_bin2hexstr, cipher_hexstr2bin): make public
13975 2006-01-23 Robert Love <rml@novell.com>
13977 Patch by Timo Hoenig <thoenig@suse.de>:
13978 * dhcp-manager/nm-dhcp-manager.c, nm-device.c, nm-ip4-config.c,
13979 nm-ip4-config.h, NetworkManagerSystem.h: Save the hostname reported
13980 by DHCP and pass it to the backends, allowing distribution-specific
13981 behavior with respect to the DHCP-supplied hostname (if nothing else,
13982 some distributions might not want to set the hostname).
13983 * backends/NetworkManagerSuSE.c: Set the hostname if the variable
13984 DHCLIENT_SET_HOSTNAME is set to "yes" in /etc/sysconfig/network/dhcp.
13985 Also update our NIS behavior.
13986 * backends/NetworkManagerDebian.c, backends/NetworkManagerGentoo.c,
13987 backends/NetworkManagerRedHat.c, backends/NetworkManagerSlackware.c:
13988 Add stub functions.
13990 2006-01-23 Robert Love <rml@novell.com>
13992 * Makefile.am, nm-applet.desktop: Add autostart .desktop file, now that
13993 gnome-session does autostart. TODO: We need to install this to
13994 $prefix/share/autostart/.
13996 2006-01-22 Dan Williams <dcbw@redhat.com>
13998 * src/NetworkManagerAP.[ch]
14000 src/nm-device-802-11-wireless.c
14001 - Make nm_ap_get_essid return "const char *"
14003 2006-01-22 Dan Williams <dcbw@redhat.com>
14005 * src/NetworkManagerAP.[ch]
14006 - (nm_ap_get_matched, nm_ap_set_matched): remove
14008 * src/NetworkManagerAPList.[ch]
14009 - (nm_ap_list_diff): removed
14010 - (nm_ap_list_merge_scanned_ap): move AP dbus signal logic here,
14011 deal with access points changing essids on us
14013 * src/nm-device-802-11-wireless.c
14014 - (add_new_ap_to_device_list): move AP dbus signal logic to
14015 src/NetworkManagerAPList.c
14016 - (real_can_interrupt_activation): new function; allow interruption
14017 of device activation if we are waiting for a network key
14019 * src/NetworkManagerPolicy.c
14020 - (nm_policy_device_change_check): allow interruption of currently
14021 activating devices if the device allows it. Previous behavior
14022 would refuse to activate a just-plugged wired device if a
14023 wireless device was waiting for a key.
14025 * src/nm-device.[ch]
14026 - (nm_device_can_interrupt_activation): new function; ask devices
14027 whether their activation can be interrupted
14029 2006-01-20 Robert Love <rml@novell.com>
14031 * Makefile.am, configure.in: Add new man subdirectory.
14032 * man, man/NetworkManager.1.in, man/NetworkManagerDispatcher.1.in,
14033 man/Makefile.am: Add man pages for NetworkManager and its
14034 crime-solving bumbling buddy, NetworkManagerDispatcher.
14035 * man/.cvsignore: Add.
14036 * initscript/Debian/NetworkManager,
14037 initscript/Gentoo/NetworkManager.in,
14038 initscript/RedHat/NetworkManager.in,
14039 initscript/RedHat/NetworkManagerDispatcher.in,
14040 initscript/SUSE/networkmanager-dispatcher.in,
14041 initscript/SUSE/networkmanager.in: Update for /usr/sbin not /usr/bin.
14043 2006-01-20 Robert Love <rml@novell.com>
14045 * src/NetworkManagerDbus.c: Fail if NM's DBUS service is already taken,
14046 instead of queuing. This prevents the running of multiple NM
14047 daemons concurrently, which does not work whatsoever and results in
14048 neither daemon working correctly. Also, we don't handle queuing and
14049 name-owner-changes, anyhow.
14051 2006-01-20 Robert Love <rml@novell.com>
14053 * src/Makefile.am: Install the NetworkManager daemon to sbin, not bin.
14054 * dispatcher/Makefile.am: Install the NetworkManagerDispatcher daemon
14057 2006-01-19 Robert Love <rml@novell.com>
14059 * configure.in: Require hal 0.5.0 or later.
14061 2006-01-18 Robert Love <rml@novell.com>
14063 * src/NetworkManager.c, src/NetworkManagerSystem.h, src/nm-device.c:
14064 Allow backends to flag a device (in whatever distro-dependent way
14065 they so desire) as disabled. NM will ignore any such device.
14066 * src/backends/NetworkManagerDebian.c,
14067 src/backends/NetworkManagerRedHat.c,
14068 src/backends/NetworkManagerSlackware.c: Add stub function
14069 nm_system_device_get_disabled() that always returns FALSE (enabled).
14070 * src/backends/NetworkManagerSuSE.c: Add system_disabled field to the
14071 SUSE-specific configuration structure. Fill it in from the
14072 NM_CONTROLLED variable in the system networking scripts. If this var
14073 exists and is "no", we ignore the device.
14075 2006-01-17 Robert Love <rml@novell.com>
14077 * configure.in: Remove 'no' language. Replaced by 'nb', which is
14078 identical for NM. For a full discussion, see the thread at
14079 http://mail.gnome.org/archives/gnome-i18n/2004-August/msg00006.html.
14081 2006-01-17 Dan Williams <dcbw@redhat.com>
14084 - (nm_device_class_init): connect a default act_stage4_ip_config_timeout
14085 function. Fixes crash when wired DHCP fails.
14087 2006-01-16 Robert Love <rml@novell.com>
14089 * src/Makefile.am: Don't install NMLoadModules
14090 * src/NMLoadModules, test/NMLoadModules: Move the NMLoadModules script
14091 from src/ to test/ as no one uses it anymore. Note that I would be
14092 fine with removing it altogether.
14094 2006-01-16 Robert Love <rml@novell.com>
14096 * gnome/applet/eggtrayicon.c, src/nm-device.c, src/nm-ap-security.c,
14097 gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
14098 gnome/applet/nm-gconf-wso.c, src/nm-device-802-3-ethernet.c,
14099 gnome/vpn-properties/nm-vpn-properties.c, src/nm-ap-security-wep.c,
14100 src/nm-ap-security-wpa-psk.c, src/nm-device-802-11-wireless.c,
14101 src/nm-netlink-monitor.c: Don't miss any initializers on structure
14102 declarations, ever.
14103 * gnome/applet/applet.c: Remove useless check (NMState is unsigned and
14104 NM_STATE_DISCONNECTED is zero).
14106 2006-01-16 Robert Love <rml@novell.com>
14108 * src/nm-device-802-11-wireless.c: argv[3], not argv[4]. Fix
14109 uninitialized parameter and buffer overflow. Novell #143496.
14111 2006-01-16 Dan Williams <dcbw@redhat.com>
14113 Apply the PtP Address bits of a patch from Tim Niemueller
14115 * src/nm-ip4-config.[ch]
14116 - Add ip4_ptp_address member to object
14117 - (nm_ip4_config_copy): copy ptp address too
14118 - (nm_ip4_config_get_ptp_address, nm_ip4_config_set_ptp_address):
14120 - (nm_ip4_config_to_rtnl_addr): use ptp address when asked to,
14121 rather than local tunnel ip address
14123 * src/vpn-manager/nm-vpn-service.c
14124 - (print_vpn_config): update for PtP address
14125 - (nm_vpn_service_stage4_ip_config_get): switch parsing to
14126 DBusMessageIters in preparation for getting routes from the VPN
14127 service daemons too
14129 * vpn-daemons/openvpn/src/nm-openvpn-service-openvpn-helper.c
14130 - (send_config_info): update for PtP address, clean up code
14131 - (main): update for PtP address, clean up code, fix typo
14133 * vpn-daemons/openvpn/src/nm-openvpn-service.c
14134 - (nm_openvpn_dbus_process_helper_ip4_config): update for PtP address
14136 * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
14137 - (pptp_ip_up): update for PtP address
14139 * vpn-daemons/pptp/src/nm-pptp-service.c
14140 - (nm_pptp_dbus_process_helper_ip4_config): update for PtP address
14142 * vpn-daemons/vpnc/src/nm-vpnc-service.c
14143 - (print_vpn_config): update for PtP address
14144 - (nm_vpnc_dbus_process_helper_ip4_config): update for PtP address
14146 2006-01-16 Dan Williams <dcbw@redhat.com>
14148 * gnome/applet/applet.c
14149 - (nmwa_add_networks_helper): don't indicate an active network
14150 if NM is disconnected or asleep
14152 2006-01-16 Dan Williams <dcbw@redhat.com>
14154 * src/NetworkManagerPolicy.c
14155 - (nm_policy_device_change_check): switch devices if we lose the link
14156 on an ethernet device.
14158 2006-01-16 Dan Williams <dcbw@redhat.com>
14160 * gnome/applet/wso-wpa-psk-hex.[ch]
14161 - Renamed -> wso-wpa-psk.[ch]
14163 * gnome/applet/wso-wpa-psk.[ch]
14166 * gnome/applet/wso-wpa-psk-passphrase.[ch]
14167 - Removed, rolled into wso-wpa-psk.[ch]
14169 * gnome/applet/Makefile.am
14170 - Updated for above changes
14172 * gnome/applet/wireless-applet.glade
14173 - Consolidate WPA-PSK options into one notebook
14174 widget, and make dialogs invisible by default
14175 to fix screen oddities
14177 * gnome/applet/wireless-security-manager.c
14178 - (wsm_set_capabilities): create the new wpa-psk widget rather
14179 than both the old hex & passphrase ones
14181 2006-01-16 Dan Williams <dcbw@redhat.com>
14183 * gnome/applet/other-network-dialog.c
14184 - (nmwa_ond_init): Change text to refer to "name" rather than "ESSID"
14186 2006-01-16 Dan Williams <dcbw@redhat.com>
14188 * gnome/applet/applet.c
14189 - (nmwa_show_vpn_login_banner_dialog, nmwa_show_vpn_failure_dialog,
14190 nmwa_driver_notify, show_warning_dialog): fix up focus-stealing
14191 prevention to realize window before trying to get server
14194 * gnome/applet/other-network-dialog.c
14195 - (nmwa_other_network_dialog_run): fix up focus-stealing
14196 prevention to realize window before trying to get server
14199 * gnome/applet/passphrase-dialog.c
14200 - (nmi_passphrase_dialog_new): fix up focus-stealing
14201 prevention to realize window before trying to get server
14204 2006-01-16 Robert Love <rml@novell.com>
14206 Patch from Timo Hoenig <thoenig@suse.de:
14207 * libnm-util/cipher-wep-ascii.h, libnm-util/cipher-wep-hex.h,
14208 libnm-util/cipher-wep-passphrase.h, libnm-util/cipher-wpa-psk-hex.h,
14209 libnm-util/cipher-wpa-psk-passphrase.h, libnm-util/cipher.h,
14210 libnm-util/dbus-helpers.h: add checks whether headers are used
14211 within a C++ build.
14213 2006-01-16 Dan Williams <dcbw@redhat.com>
14215 * gnome/applet/wireless-security-option.c
14216 - (wso_wpa_create_key_type_model): clarify AES-CCMP algorithm name
14218 2006-01-16 Dan Williams <dcbw@redhat.com>
14220 * libnm-util/cipher-wpa-psk-passphrase.c
14221 - (cipher_wpa_psk_passphrase_new): correct passphrase length, should
14222 be 8 - 63 characters inclusive
14224 2006-01-16 Dan Williams <dcbw@redhat.com>
14227 - (nm_dbus_nm_sleep): bring device down after quick deactivation
14229 2006-01-13 Robert Love <rml@novell.com>
14231 Patch by T Sureshkumar <tsureshkuman@novell.com>:
14232 * src/NetworkManagerSystem.c: Don't assert iface != NULL, allowing VPN
14233 modules that do not use an interface.
14235 2006-01-13 Dan Williams <dcbw@redhat.com>
14239 - Allow subclasses to implement deactivate_quickly()
14240 - (nm_device_deactivate_quickly): call subclass
14241 deactivate_quickly() methods
14242 - (nm_device_set_active_link): small cleanups, and don't
14243 deactivate the device right away because we risk a deadlock
14244 when called from device thread, waiting for the device
14245 thread to cancel activation
14247 * src/nm-device-802-11-wireless.c
14248 - (real_deactivate_quickly): new function
14249 - (nm_device_802_11_wireless_class_init): hook in real_deactivate_quickly
14250 - (real_deactivate): move supplicant cleanup to real_deactivate_quickly
14251 so that we kill the supplicant when we sleep too
14252 - (supplicant_interface_init): work around naive naming attempts of
14253 wpa_ctrl when naming sockets
14255 2006-01-13 Dan Williams <dcbw@redhat.com>
14257 * src/nm-device-802-11-wireless.c
14258 - (supplicant_cleanup): delete old device control sockets too
14259 - (supplicant_get_device_socket_path): new function to consolidate
14260 locations that need a path to a device's control socket
14262 2006-01-12 Robert Love <rml@novell.com>
14264 * src/backends/NetworkManagerSuSE.c: Put the ppp device in the
14265 description so that the description is unique for each
14266 pair (device,provider). Fixes Novell #142773.
14268 2006-01-12 Dan Williams <dcbw@redhat.com>
14270 * src/nm-device-802-11-wireless.c
14271 - (supplicant_exec): ensure GError is correctly initialized
14272 Reported by Diego González (gnome.org #326708)
14274 2006-01-11 Robert Love <rml@novell.com>
14276 * src/nm-device-802-3-ethernet.c: In case local copies of glibc do not
14277 define if_mii(), open code the same results, and do so without any
14280 2006-01-11 Robert Love <rml@novell.com>
14282 * gnome/applet/wireless-security-manager.c: Fix crash by not asserting
14283 that wso_foo_new() returned non-NULL. Instead, only append the new
14284 wso to wsm->options if the wso is non-NULL. The crux is that we
14285 assume that the relevant key types are implied by WEP and WPA as
14286 appropriate. To be sure, they should be, but we should not expect
14287 drivers to not be oozing piles of wolf fecal matter.
14289 2006-01-11 Robert Love <rml@novell.com>
14291 * configure.in: Add the gcc flags '-Wshadow' and '-Wfloat-equal'.
14292 * gnome/applet/applet.c, gnome/vpn-properties/nm-vpn-properties.c,
14293 src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
14294 src/NetworkManagerPolicy.c, src/NetworkManagerSystem.c,
14295 src/nm-dbus-device.c, src/nm-device-802-3-ethernet.c,
14296 src/nm-ip4-config.c, src/vpn-manager/nm-vpn-manager.c,
14297 test/nmtestdevices.c: Fix shadowed variable usage as appropriate.
14298 * src/nm-device-802-11-wireless.c: Fix floating point comparison by
14299 comparing values within DBL_EPSILON. Also fix shadowed variable
14302 2006-01-11 Dan Williams <dcbw@redhat.com>
14304 Add options for WPA2 and WPA1+CCMP (AES).
14306 * gnome/applet/wireless-applet.glade
14307 - Add UI bits for WPA+CCMP
14309 * gnome/applet/other-network-dialog.c
14310 - (nmwa_ond_init): pass capabilities into the WirelessSecurityManager,
14311 and don't allow creation of WPA2 Ad-Hoc networks since
14312 wpa_supplicant doesn't support them
14314 * gnome/applet/wireless-security-manager.c
14315 - (wsm_set_capabilities): Add WPA2 options, and pass capability
14316 on to the specific wireless security option being created
14318 * gnome/applet/wireless-security-option.[ch]
14319 - (wso_wpa_create_key_type_model): new utility function to create
14320 the model required for WPA Key Type combo box
14322 * gnome/applet/wso-private.h
14323 gnome/applet/wireless-security-option.h
14324 - Move private function prototypes into wso-private.h
14326 * gnome/applet/wso-wpa-psk-hex.[ch]
14327 gnome/applet/wso-wpa-psk-passphrase.[ch]
14328 - (append_dbus_params_func): get WPA version from checkbox and pass
14329 it to the dbus serialization helper
14330 - (key_type_combo_changed_cb): Set the cipher's WE Cipher when the
14331 key type combo changes
14332 - (wso_wpa_psk_hex_new): set up the key type combo with the correct
14335 * libnm-util/cipher-wpa-psk-hex.c
14336 libnm-util/cipher-wpa-psk-passphrase.c
14337 - (cipher_wpa_psk_hex_set_we_cipher, cipher_wpa_psk_passphrase_set_we_cipher):
14338 new function; allow the cipher to be changed after object creation
14340 * src/nm-ap-security-wpa-psk.c
14341 - (set_description): Do WPA2 descriptions too
14343 * src/nm-ap-security.c
14344 - (nm_ap_security_new_from_ap): allow CCMP with WPA1 too
14346 2006-01-11 Robert Love <rml@novell.com>
14348 * src/nm-device-802-3-ethernet.c: Use the if_mii() inline function that
14349 is defined in <linux/mii.h> to return the mii_ioctl_data structure
14350 from the ifreq structure in lieu of an open coded solution. Removes
14351 a life-threatening type-punning.
14352 * configure.in: Remove '-Wno-strict-aliasing' as we no longer pun any
14353 types, ever, whatsoever, baby.
14355 2006-01-11 Robert Love <rml@novell.com>
14357 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.c,
14358 gnome/applet/applet.c, gnome/applet/applet.h: Consolidating
14359 assignments to applet->nm_state into a new nmwa_set_state() function
14360 for both cleanliness and to help debugging.
14362 2006-01-10 Robert Love <rml@novell.com>
14364 * src/autoip.c: Fix FIXME. In performing the link-local zeroconf IP
14365 assignment dance, we want to sleep between PROBE_MIN and PROBE_MAX
14366 seconds, exclusive. That is, we want to sleep x seconds such that
14369 2006-01-10 Robert Love <rml@novell.com>
14371 * gnome/applet/applet-dbus-info.c: Remove FIXME, we do not have to free
14372 the attr fields according to the example in the email available at
14373 mail.gnome.org/archives/desktop-devel-list/2004-May/msg00230.html.
14374 Conversely, we do have to free 'name', so we do so, fixing a leak.
14376 2006-01-10 Robert Love <rml@novell.com>
14378 * src/nm-device-802-11-wireless.c, src/nm-device-802-3-ethernet.c: Make
14379 sure that we close the socket!
14381 2006-01-10 Robert Love <rml@novell.com>
14383 * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h,
14384 src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h,
14385 src/nm-device.c: Fix a FIXME! Reimplement the function
14386 nm_device_update_hw_address() in device subclass variants,
14387 nm_device_802_3_ethernet_set_address() and
14388 nm_device_802_11_wireless_set_address(), hook them up, and use them.
14389 This fixes the existing bug where MAC addresses are all zeros.
14391 2006-01-10 Robert Love <rml@novell.com>
14393 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.h,
14394 gnome/applet/applet.c, gnome/applet/applet.h: Add 'Enable Networking'
14395 option to give users ability to globally disconnect and put NM to
14396 sleep. This is useful as a 'lockdown mode' for flying, security, and
14399 2006-01-09 Robert Love <rml@novell.com>
14401 * src/nm-device-802-3-ethernet.h: The kernel headers <linux/mii.h> and
14402 <linux/ethtool.h> leak the kernel-only types u16, u32, et al.
14403 User-space does not supply these types, so we have to define them
14404 ourselves. The relevant kernel maintainer refused to accept a patch
14405 switching these headers to the proper C99 types.
14407 2006-01-09 Dan Williams <dcbw@redhat.com>
14409 Apply Robert's 'tray icon redo' patch with fixes
14410 * gnome/applet/applet.c
14411 gnome/applet/applet.h
14412 - Instead of using a menu bar + menu item, simulate menu
14413 behavior using a popup menu. Highlight the area around
14414 the icon more like a menu too, by playing with the
14415 applet's size requisition
14417 2006-01-09 Timo Hoenig <thoenig@suse.de>
14418 * libnm-util/dbus-helpers.c
14419 libnm-util/dbus-helpers.h
14420 - (nmu_create_dbus_error_message): rename parameter 'namespace'
14421 to 'exception_namespace' (:namespace is a keyword in
14424 2006-01-09 Dan Williams <dcbw@redhat.com>
14426 * src/NetworkManagerPolicy.c
14427 - (nm_policy_device_change_check): don't autoswitch away from
14428 Ad-Hoc networks, since there's really no concept of
14432 - (nm_dbus_nm_create_wireless_network): mark created networks
14435 * src/nm-device-802-11-wireless.c
14436 - (real_activation_success_handler): add user-created Ad-Hoc
14437 networks to the device's scan list
14439 2006-01-08 Dan Williams <dcbw@redhat.com>
14441 We now require a patch for wpa_supplicant to support Ad-Hoc
14443 http://people.redhat.com/dcbw/wpa_supplicant-ctrl-iface-ap-scan.patch
14445 * src/nm-device-802-11-wireless.c
14446 - (supplicant_send_network_config): turn off wpa_supplicant's
14447 scanning. Fixes Ad-Hoc networks.
14449 2006-01-08 Dan Williams <dcbw@redhat.com>
14451 * src/nm-ap-security.c
14452 src/nm-ap-security.h
14453 - Add a user_created argument to the write_supplicant_config
14456 * src/nm-ap-security-wep.c
14457 src/nm-ap-security-wpa-psk.c
14458 src/nm-device-802-11-wireless.c
14459 - Make Ad-Hoc mode somewhat work, at least write the
14460 correct options to wpa_supplicant
14462 2006-01-08 Dan Williams <dcbw@redhat.com>
14464 * src/nm-device-802-11-wireless.c
14465 - Remove unused code from the old device activation path
14467 2006-01-08 Dan Williams <dcbw@redhat.com>
14469 * libnm-util/dbus-helpers.c
14470 - (nmu_security_serialize_wpa_psk): pass a blank key through
14471 dbus when key == NULL
14473 2006-01-08 Dan Williams <dcbw@redhat.com>
14475 * gnome/applet/nm-gconf-wso-wpa-psk.c
14476 - (nm_gconf_wso_wpa_psk_new_deserialize_dbus): feed
14477 correct arguments to nmu_security_deserialize_wpa_psk()
14479 * src/nm-ap-security-wpa-psk.c
14480 - (nm_ap_security_wpa_psk_new_deserialize): feed correct
14481 arguments to nmu_security_deserialize_wpa_psk()
14483 2006-01-08 Dan Williams <dcbw@redhat.com>
14485 * gnome/applet/wso-wpa-psk-hex.c
14486 gnome/applet/wso-wpa-psk-passphrase.c
14487 - Hook up the append_dbus_params_func() function
14489 2006-01-08 Dan Williams <dcbw@redhat.com>
14491 * src/nm-device-802-11-wireless.c
14492 - (get_wireless_capabilities): correctly detect driver WPA
14495 2006-01-08 Dan Williams <dcbw@redhat.com>
14497 * gnome/applet/Makefile.am
14498 gnome/applet/wso-wpa-psk-hex.c
14499 gnome/applet/wso-wpa-psk-hex.h
14500 - New files, implement WPA-PSK Hex key input
14502 * gnome/applet/wireless-applet.glade
14503 - Change existing wpa-psk stuff to wpa-psk-hex
14504 - Add new widgets for wpa-psk-passphrase
14506 * gnome/applet/wireless-security-manager.c
14507 - (wsm_set_capabilities): enable WPA options
14509 * gnome/applet/wso-wpa-psk-passphrase.c
14510 - (wso_wpa_psk_passphrase_new): use correct glade widgets
14511 for WPA-PSK passphrase
14513 2006-01-08 Dan Williams <dcbw@redhat.com>
14515 * include/NetworkManager.h
14516 - Add NMI_DBUS_USER_KEY_CANCELED_ERROR as a constant for
14517 applet/info-daemons
14519 * gnome/applet/passphrase-dialog.c
14520 - Use the constant. Fixes a bug where the arguments to
14521 dbus_message_new_error() were incorrect
14523 * src/nm-dbus-nmi.c
14526 2006-01-07 Dan Williams <dcbw@redhat.com>
14528 * src/nm-device-802-11-wireless.c
14529 - Add a link timeout so we allow the supplicant time to
14530 reassociate if it can, before we deactivate the card
14531 - Fix up link status and link updating so things work better
14533 2006-01-07 Dan Williams <dcbw@redhat.com>
14535 * src/nm-device-802-11-wireless.c
14536 - Switch over to using wpa_supplicant
14537 - Add a timeout of 10s for association of the supplicant
14538 - Start the monitor callback of the supplicant
14540 2006-01-07 Dan Williams <dcbw@redhat.com>
14542 * src/NetworkManagerUtils.c
14543 - (nm_utils_supplicant_request,
14544 nm_utils_supplicant_request_with_check):
14545 pass correct buffer length to wpa_ctrl_request()
14547 2006-01-07 Dan Williams <dcbw@redhat.com>
14549 * src/nm-device-private.h
14551 - (nm_device_activate_schedule_stage3_ip_config_start): make
14552 this function available to subclasses
14554 2006-01-06 Robert Love <rml@novell.com>
14556 * src/NetworkManagerPolicy.c: Always prefer wired to wireless, as the
14557 user plugging in a network cable signals their preference for to
14558 switch, unless the user explicitly selected a wireless network and
14559 therefore signaled their preference for said wireless network over
14560 wired. In other words, do exactly what makes sense.
14562 2006-01-06 Robert Love <rml@novell.com>
14564 * src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
14565 src/NetworkManagerDevicePrivate.h, src/NetworkManagerWireless.c,
14566 src/NetworkManagerWireless.h: Remove, no longer used and they keep
14567 showing up in my greps.
14569 2006-01-06 Robert Love <rml@novell.com>
14571 * gnome/applet/applet-dbus-devices.c,
14572 gnome/applet/other-network-dialog.c, gnome/applet/wso-none.c,
14573 libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h,
14574 src/nm-dbus-nm.c: Fix several issues. 'Connect to Other' and 'Create
14575 New Network' both failed in the non-encrypted case because we were
14576 not appending the security options to the DBUS message. And
14577 'Connect to Other' was also failing in the encrypted case because
14578 we were not incrementing to the next DBUS parameter. All fixed.
14579 Thanks to dcdw for some debugging help.
14581 2006-01-06 Robert Love <rml@novell.com>
14583 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
14584 gnome/applet/applet-dbus-devices.h, src/nm-dbus-nm.c: Remove global
14585 hangup code and add per-device hangup. Tie last commit into the
14586 GNOME applet. TODO: Save, understand, and respond to the state of
14587 each dialup device.
14589 2006-01-06 Robert Love <rml@novell.com>
14591 Patch by Timo Hoenig <thoenig@suse.de>:
14592 * src/NetworkManagerSystem.h, src/nm-dbus-nm.c: Add interfaces to
14593 hangup specific dialup devices.
14594 * src/backends/NetworkManagerDebian.c,
14595 src/backends/NetworkManagerGentoo.c,
14596 src/backends/NetworkManagerRedHat.c,
14597 src/backends/NetworkManagerSlackware.c: Add stub backend.
14598 * src/backends/NetworkManagerRedHat.c,
14599 src/backends/NetworkManagerSuSE.c: Add specific backend interface to
14600 hangup specific dialup devices.
14602 2006-01-04 Robert Love <rml@novell.com>
14604 * gnome/applet/applet-dbus-devices.c,
14605 gnome/applet/applet-dbus-devices.h, gnome/applet/applet.c,
14606 src/nm-dbus-nm.c: Expose a menu item for hanging up active dialup
14609 2006-01-04 Dan Williams <dcbw@redhat.com>
14611 First dump of wpa_supplicant-related code. It's not hooked up to
14612 anything yet though. Thanks to Kay Sievers for
14613 wpa_supplicant_wrapper.c, which formed the basis for this work,
14614 and to Jouni Malinen for writing wpa_ctrl.c and wpa_ctrl.h.
14618 - Add wpa_ctrl stuff from wpa_supplicant so we can talk to it
14620 * src/NetworkManagerUtils.[ch]
14621 - (nm_utils_supplicant_request, nm_utils_supplicant_request_with_check):
14622 Add convenience functions for talking to wpa_supplicant
14624 * src/nm-ap-security.[ch]
14625 src/nm-ap-security-wep.c
14626 src/nm-ap-security-wpa-psk.[ch]
14627 - Update and implement real_write_supplicant_config functions
14628 in all security types
14629 - (nm_ap_security_wpa_psk_new_from_ap): implement in
14630 nm-ap-security-wpa-psk.c
14632 * src/nm-device-802-11-wireless.c
14633 - (supplicant_cleanup, supplicant_watch_cb, supplicant_monitor_status_cb,
14634 wpa_supplicant_start, wpa_supplicant_interface_init,
14635 wpa_supplicant_send_network_config): add functions to talk to
14636 wpa_supplicant and write network config to it
14638 2006-01-04 Robert Love <rml@novell.com>
14640 * src/NetworkManagerDialup.h: add 'type' field and NM_DIALUP_TYPE
14641 values so that distribution-backends can differentiate between the
14642 various types (modem, ISDN, et cetera) of dialup device that they
14644 * src/backends/NetworkManagerSuSE.c: perform isdnctrl on interface, as
14647 2006-01-03 Dan Williams <dcbw@redhat.com>
14649 * src/NetworkManagerPolicy.c
14651 src/nm-device-802-11-wireless.c
14652 - Move wireless-specific activation failure and success code
14653 into wireless device class
14655 2006-01-03 Robert Love <rml@novell.com>
14657 Patch by Preggna S:
14658 * src/NetworkManagerSystem.c, src/vpn-manager/nm-vpn-connection.c:
14659 IPsec does not require that a VPN client be bound to an interface,
14660 due to the use of the in-kernel IPSec bits. So make the tunnel
14663 2006-01-03 Dan Williams <dcbw@redhat.com>
14665 * src/NetworkManagerAP.c
14666 - (nm_ap_add_capabilities_from_ie): presume no WEP unless
14667 the WPA IE specifies that WEP is supported
14669 * src/nm-device-802-11-wireless.c
14670 - (process_scan_results): don't mark an AP as supporting WEP
14671 if there's already other encryption capability info
14673 2006-01-03 Dan Williams <dcbw@redhat.com>
14675 * src/dhcp-manager/nm-dhcp-manager.c
14676 - Recognize activation cancellation when waiting for DHCP
14677 configuration from dhcdbd
14678 - Ignore non-dhcdbd messages
14681 - (real_act_stage3_ip_config_start): return to correct behavior
14682 of letting the dhcp-manager notify us of failure or
14683 success rather than incorrectly doing that ourselves
14684 - (nm_device_activate_stage4_ip_config_get): deal with
14685 activation cancellation a bit earlier
14687 2006-01-03 Dan Williams <dcbw@redhat.com>
14689 * src/nm-device-802-11-wireless.c
14691 - Add hooks to subclasses for stage3_ip_config_start and
14692 stage4_ip_config_timeout
14694 * src/nm-device-802-3-ethernet.c
14695 - (real_get_generic_capabilities): make devices NM-supported
14698 2006-01-03 Robert Love <rml@novell.com>
14700 * src/backends/NetworkManagerSuSE.c: update to newer API (no more
14701 nm_device_get_hw_address); use inet_aton in lieu of inet_addr as the
14702 latter cannot differentiate between error and the address -1; misc.
14705 2006-01-03 Dan Williams <dcbw@redhat.com>
14707 * src/NetworkManager.c
14708 - Move link-checking/probing into the device subclasses
14711 * src/nm-device.[ch]
14712 src/nm-device-802-11-wireless.c
14713 src/nm-device-802-3-ethernet.c
14714 - Do periodic link checking in device subclasses rather
14715 than being triggered from NetworkManager.c
14716 - discover_wireless_capabilities -> get_wireless_capabilities
14717 - discover_generic_capabilities -> get_generic_capabilities
14718 - Device subclass activation routines now return a value of type
14719 NMActStageReturn to indicate what step to perform next
14720 - Devices now override stage4_get_ip4_config if they choose
14722 2006-01-01 Dan Williams <dcbw@redhat.com>
14724 * src/nm-device-802-11-wireless.c
14725 - (real_init): don't chain up to parent init because we don't
14726 need to do that anymore
14729 - (discover_device_type): fix arguments to ioctl() to correctly
14730 pass interface name
14731 - (nm_device_new): consolidate generic device initialization into
14733 - (real_init): remove, consolidated to nm_device_new()
14734 - (nm_device_deactivate, real_deactivate): consolidate
14736 2006-01-01 Dan Williams <dcbw@redhat.com>
14738 * src/nm-activation-request.c
14739 - Change dhcp_state member of the NMActRequest structure
14740 from guint8 to guint32
14742 * src/dhcp-manager/nm-dhcp-manager.[ch]
14743 - (nm_dhcp_manager_get_state_for_device): return guint32 rather
14744 than guint8 to match the dbus argument. Turns out we were
14745 overwriting memory since we were passing in only a guint8
14747 2005-12-31 Dan Williams <dcbw@redhat.com>
14749 * refactor NMDevice into a GObject-based framework with separate
14750 objects for wired and wireless. The following files are no
14751 longer used but should stick around for a bit so we don't
14752 loose code through the cracks:
14753 NetworkManagerDevice.c
14754 NetworkManagerDevice.h
14755 NetworkManagerWireless.c
14756 NetworkManagerWireless.h
14758 The intent here is to allow each device type to manage its own
14759 connection & activation life-cycle, ie to allow wireless devices
14760 to interface with wpa_supplicant, etc. There's a fair bit of
14761 encapsulation breakage right now that should gradually get pulled
14762 back into each device, along with things like periodic property
14763 updates and link probing.
14765 2005-12-29 Dan Williams <dcbw@redhat.com>
14767 * include/NetworkManager.h
14768 - Add NM_802_11_CAP_PROTO_NONE since we need to recognize
14769 between networks that don't have any encryption at all
14771 2005-12-29 Dan Williams <dcbw@redhat.com>
14773 * test/test-common.c
14776 - Move to a test-common subdirectory
14778 * test/libnm-util/test-ciphers.c
14779 - Move test data to test-inputs.h
14780 - Test WPA ciphers too
14782 * test/libnm-util/test-dbus-helpers.c
14783 - Test serialization/deserialization of ciphers
14785 2005-12-29 Dan Williams <dcbw@redhat.com>
14787 * gnome/applet/applet-dbus-devices.c
14788 - Replace 'enc' parameter with 'capabilities' for wireless networks
14789 in dbus calls to NM
14790 - Set capabilities on WirelessNetwork objects
14791 - Receive and save type-specific device capabilities too
14793 * gnome/applet/applet-dbus-info.c
14794 gnome/applet/applet-dbus.c
14795 - Passphrase dialog no longer a singleton; new instance gets created
14796 on each request. Updates to deal with that.
14798 * gnome/applet/applet.c
14799 - (nmwa_has_encrypted_networks_helper): use AP capabilities rather
14800 than single 'encrypted' flag
14801 - (nmwa_menu_add_vpn_menu): if NM isn't connected, disable any VPN
14803 - Passphrase dialog updates per above
14805 * gnome/applet/menu-items.c
14806 - (network_menu_item_update): use AP capabilities to determine
14809 * gnome/applet/nm-device.[ch]
14810 - Add accessors for type-specific device capabilities
14812 * gnome/applet/other-network-dialog.c
14813 - Rework to respect device capabilities. i.e., if the device doesn't
14814 support WPA, remove that option from the security dropdown
14816 * gnome/applet/passphrase-dialog.c
14817 - Massive rework so that a new instance is created each time
14818 it's used, to support wireless network capabilities
14820 * gnome/applet/wireless-network.[ch]
14821 - Add accessors and members for wireless network capabilities
14823 * gnome/applet/wireless-security-manager.[ch]
14824 - (wsm_set_capabilities): called after creation to set which
14825 security options get shown to the user
14827 2005-12-29 Dan Williams <dcbw@redhat.com>
14829 * libnm-util/cipher-wpa-psk-passphrase.c
14830 - (cipher_wpa_psk_passphrase_hash_func): return key as hex string
14833 2005-12-23 Dan Williams <dcbw@redhat.com>
14835 * gnome/applet/applet-dbus-info.c
14836 - (nmi_dbus_get_key_for_network): if there's no entry in
14837 GConf for a network, assume we want a new key
14838 - (nmi_save_network_info): serialize wireless security info
14839 into GConf so its saved
14842 - Fix warning as we may not be passed security info when
14843 connecting to a wireless network
14845 2005-12-23 Dan Williams <dcbw@redhat.com>
14847 * gnome/applet/applet-compat.c
14848 - Fix bugs in GConf entry conversion
14850 * gnome/applet/applet-dbus-info.c
14851 - (nmi_dbus_get_network_properties): handle case of the BSSID
14852 list being zero-length
14854 * libnm-util/cipher-*
14855 libnm-util/dbus-helpers.c
14856 - All ciphers must now return hashed keys as UTF-8 valid
14857 hexadecimal strings, ie "8f3dae4023". They are pushed
14858 through dbus as strings too.
14859 - Consolidate various functions that do bin->hex and hex->bin
14860 conversion into cipher.c
14862 * src/nm-ap-security-wep.c
14863 src/nm-ap-security-wpa-psk.c
14864 - Handle NULL keys since we may not know keys right away
14866 * src/nm-dbus-nmi.c
14867 - (nm_dbus_get_network_data_cb): actually advance to the start
14868 of the wireless security info before we try to deserialize it
14870 * libnm-util/test-ciphers.c
14871 - Update cipher tests for the change to UTF-8 hexadecimal strings
14873 2005-12-22 Dan Williams <dcbw@redhat.com>
14875 * gnome/applet/applet-compat.[ch]
14876 - Convert old-format GConf and keyring entries
14877 when the applet starts up.
14879 * gnome/applet/applet.c
14880 - (nmwa_get_instance): Call the conversion function
14881 on startup before dbus is initialized
14883 2005-12-22 Dan Williams <dcbw@redhat.com>
14885 * gnome/applet/applet-dbus-info.c
14886 - Remove nmi_dbus_create_error_message() in favor of
14887 nmu_create_dbus_error_message()
14888 - (nmi_dbus_get_network_properties): Error message cleanups
14889 - (nmi_dbus_get_network_properties): BSSIDs are now in the 'bssids'
14890 gconf key rather than 'addresses', since they really are BSSIDs
14891 - (nmi_dbus_get_network_properties): Dispose of the security
14892 object when we're done with it
14894 2005-12-21 Dan Williams <dcbw@redhat.com>
14896 * Consolidate the info-daemon's "updateNetworkInfo" and
14897 "addNetworkAddress" calls into just "updateNetworkInfo"
14899 2005-12-21 Dan Williams <dcbw@redhat.com>
14901 * Make connection after key retrieval work again
14903 2005-12-21 Dan Williams <dcbw@redhat.com>
14905 * gnome/applet/nm-gconf-wso*
14906 - Make the serialize functions return gboolean
14909 * gnome/applet/nm-gconf-wso.c
14910 - (nm_gconf_wso_dispose, nm_gconf_wso_finalize): fix up
14911 parent class handling so we don't segfault
14913 * src/NetworkManagerAP.[ch]
14914 - (nm_ap_get_capabilities): new function, return capabilities
14915 now that something can use them
14916 - (nm_ap_set_encrypted): assume that an access point supports
14917 both WEP104 and WEP40 if its set encrypted. FIXME: can
14918 we even tell whether it just supports WEP40?
14920 * src/NetworkManagerDevice.c
14921 - (ap_need_key): resurrect and update for the New World Order
14922 - (nm_device_wireless_get_activation_ap): if we're not given
14923 security info to use, create some based on access point
14926 * src/nm-ap-security-wep.c
14927 - (nm_ap_security_wep_new_from_ap): create a new object
14928 based on a certain access point's capabilities
14930 * src/nm-ap-security.c
14931 - (nm_ap_security_new_from_ap): delegate creation of a new
14932 object based on access point capabilities to a subclass
14933 - (nm_ap_security_copy_properties): don't segfault if we
14934 don't have a key yet
14937 - (nm_dbus_nm_set_active_device): provide more informative
14938 output when errors occur. Also construct security info
14939 for a given access point if we weren't given any
14941 2005-12-21 Žygimantas Beručka <zygis@gnome.org>
14943 * configure.in: Added Lithuanian to ALL_LINGUAS.
14945 2005-12-21 Dan Williams <dcbw@redhat.com>
14948 - Add some testcases for WEP ciphers
14950 2005-12-17 Dan Williams <dcbw@redhat.com>
14954 2005-12-17 Dan Williams <dcbw@redhat.com>
14956 * include/NetworkManager.h
14957 - Finally kill NMEncKeyType
14959 * gnome/applet/applet-dbus-info.c
14960 - (nmi_save_network_info): convert to NMGConfWSO
14962 * gnome/applet/nm-gconf-wso-*.c
14963 - Implement gconf serialization functions
14965 * src/NetworkManagerPolicy.c
14966 - (nm_policy_activation_finish): fix up meaning of
14967 automatic/user_requested
14969 2005-12-17 Dan Williams <dcbw@redhat.com>
14972 - More applet cleanups
14973 - Use the dbus-method-dispatcher
14975 * libnm-util/dbus-method-dispatcher.[ch]
14976 - Generalize the implementation from NM in
14977 NetworkManagerUtils.c
14979 2005-12-16 Dan Williams <dcbw@redhat.com>
14982 - Fix up the passphrase dialog to use all the
14983 WirelessSecurityOption stuff (untested)
14985 2005-12-16 Dan Williams <dcbw@redhat.com>
14987 * Move nm_gconf_get_*_helper() functions to separate files,
14988 gconf-helpers.c & gconf-helpers.h
14990 * New NMGConfWSO objects for managing the gconf side of things.
14991 Eventually these should be merged with the
14992 WirelessSecurityOption objects and a common base (that can
14993 serialize/deserialize from dbus & gconf) should be
14994 refactored out, but for now they are separate.
14996 2005-12-16 Robert Love <rml@novell.com>
14998 * src/backends/NetworkManagerSuSE.c: Do not invoke ypbind or autofs
14999 binaries unless they exist (nm_spawn_process() emits a warning if
15000 asked to spawn a non-existant process).
15002 2005-12-16 Dan Williams <dcbw@redhat.com>
15004 * gnome/applet/applet-dbus-info.c
15005 - Clean up lots of gconf-related code
15007 2005-12-16 Robert Love <rml@novell.com>
15009 * Makefile.am: Build fix: Reorder 'SUBDIRS' so our deps are right.
15011 2005-12-16 Dan Williams <dcbw@redhat.com>
15013 * nm_device_set_enc_key -> nm_device_set_wep_enc_key
15015 * Fix up NM -> NMI get-user-key dbus calls in NM (applet
15016 bits still to be done)
15018 2005-12-16 Dan Williams <dcbw@redhat.com>
15020 * Finally move info-daemon related stuff out of
15021 NetworkManagerDbus.c to nm-dbus-nmi.c
15023 2005-12-16 Dan Williams <dcbw@redhat.com>
15025 * Kill auth_method for access points, since that's now done
15026 by NMAPSecurity objects
15028 * Add a copy-constructor of sorts to NMAPSecurity
15029 (how do you do this properly in glib???)
15031 2005-12-15 Dan Williams <dcbw@redhat.com>
15033 * Exorcise encryption key hashing on APs
15034 * Use libnm-util's serialization/deserialization in both the
15036 * Random other stuff
15038 2005-12-15 Robert Love <rml@novell.com>
15040 * gnome/applet/menu-items.c: A new icon, "network-wireless-encrypted"
15041 is being added to the icon naming spec, so let's use that (Tango CVS
15042 has the icon). Because it is new, however, we fall back to the
15043 current "gnome-lockscreen" if the new icon is not around, thus
15044 behavior is the same.
15045 * gnome/applet/applet.c: Remove setup_stock(). We do not need the
15048 2005-12-15 Robert Love <rml@novell.com>
15050 * src/gnome/applet.c: Don't show the 'Help' menu item until we have,
15051 well, help to give. Couple other misc. bits.
15053 2005-12-15 Dan Williams <dcbw@redhat.com>
15055 * libnm-util/dbus-helpers.[ch]
15056 - Make this the one-stop-shop for serializing/deserializing
15057 AP & connection security settings over dbus. Both NM
15058 and applets should use this to ensure consistent dbus
15059 API going forwared.
15061 2005-12-15 Robert Love <rml@novell.com>
15063 Patch by Timo Hoenig <thoenig@suse.de>:
15064 * src/NetworkManagerDbus.c
15065 - (nm_dbus_signal_filter) return DBUS_HANDLER_RESULT_HANDLED
15066 if HAL jumps off the system bus. Otherwise libdbus
15067 (dbus_connection_dispatch) will try to run the filter
15068 function of our libhal context which is already freed.
15070 2005-12-15 Alexander Shopov <ash@contact.bg>
15072 * configure.in: Added "bg" (Bulgarian) to ALL_LINGUAS
15074 2005-12-14 Dan Williams <dcbw@redhat.com>
15076 * include/NetworkManager.h
15077 src/NetworkManagerWireless.c
15078 - Rearrange 802.11 wireless-specific capabilities again
15081 - Forgot to add wpa.c/wpa.h to the makefiles
15083 * src/NetworkManagerAP.[ch]
15084 - Implement access point capabilities and parse the
15085 WPA/RSN IEs into the capability bitfield
15086 - Switch the "encrypted" attribute to utilize the bitfield
15087 and capabilities rather than being independent
15089 * src/NetworkManagerDevice.c
15090 - (nm_device_wireless_get_activation_ap): break it horribly
15091 until we can push NMAPSecurity objects into access point
15092 objects and through the activation chain
15093 - Stuff WPA & RSN IEs into AP capabilities
15096 - Take a shot at actually making setActiveDevice work
15099 - Make the API a bit saner
15101 2005-12-14 Dan Williams <dcbw@redhat.com>
15103 * include/NetworkManager.h
15104 - Add 802.11-specific capability for 802.1x key
15108 - Pull in WPA IE and RSN IE parsing code from
15109 wpa_supplicant so we can determine access point
15111 - Move WPA-related constants here from NetworkManagerAP.h
15112 and NetworkManagerDevice.c
15114 * src/NetworkManagerDevice.c
15115 src/NetworkManagerAP.[ch]
15116 - Use WPA-related constants from wpa.h
15118 2005-12-14 Dan Williams <dcbw@redhat.com>
15120 * include/NetworkManager.h
15121 - Update and split 802.11 wireless-specific capabilities from
15122 generic device capabilities
15124 * src/NetworkManagerDevice.c
15125 src/NetworkManagerDevicePrivate.h
15126 - (nm_device_wireless_discover_capabilities): Move 802.11
15127 wireless-specific capability checks to
15128 NetworkManagerWireless.c
15129 - Rename NMDeviceWirelessOptions -> NMDevice80211WirelessOptions
15130 - Rename NMDeviceWiredOptions -> NMDevice80211EthernetOptions
15132 * src/NetworkManagerWireless.[ch]
15133 - (nm_802_11_wireless_discover_capabilities): Check extended
15134 802.11 wireless-specific capabilities of the driver
15136 2005-12-14 Robert Love <rml@novell.com>
15138 Patch from Stefan Scheler <sscheler@suse.de>:
15139 * src/NetworkManagerDevice.c: call backend code to activate and
15141 * src/NetworkManagerSystem.h: add new NIS interfaces.
15142 * src/backends/NetworkManagerDebian.c,
15143 src/backends/NetworkManagerGentoo.c,
15144 src/backends/NetworkManagerRedHat.c,
15145 src/backends/NetworkManagerSlackware.c: add stub functions for NIS
15147 * src/backends/NetworkManagerSuSE.c: add NIS support, baby.
15149 2005-12-14 Dan Williams <dcbw@redhat.com>
15151 * src/nm-ap-security*.[ch]
15152 - Add AP security abstractions to NetworkManager
15154 * src/nm-dbus-device.c
15155 - Begin to parse new format dbus messages from the applet
15156 and construct an AP security object from the message
15158 * libnm-util/dbus-helpers.c
15159 - Use message iters so we can append the key as a fixed
15160 array of bytes, which actually works rather than
15161 using dbus_message_append_args() as we were before
15163 2005-12-14 Dan Williams <dcbw@redhat.com>
15165 * src/NetworkManagerDbus.c
15166 gnome/applet/applet-dbus.c
15167 - Fix up dbus service replacement options. The applet
15168 should allow replacement, NM itself should not.
15170 2005-12-13 Robert Love <rml@novell.com>
15172 * src/named-manager/nm-named-manager.c: Revert earlier commit.
15173 Instead, fail silently if config is NULL by not asserting and not
15174 returning FALSE. Also, make sure we always fclose() the file.
15176 2005-12-13 Robert Love <rml@novell.com>
15178 Patch by Stefan Scheler <sscheler@suse.de>:
15179 * src/nm-ip4-config.h, src/nm-ip4-config.c,
15180 src/dhcp-manager/nm-dhcp-manager.c: Add support for setting up NIS
15181 via DHCP. Still need the backends to commit the NIS domain name and
15182 and servers to yp.conf as needed.
15184 2005-12-13 Robert Love <rml@novell.com>
15186 * src/vpn-manager/nm-dbus-vpn.c: Do not call the lengthy-named function
15187 nm_vpn_manager_remove_connection() unless vpn is non-NULL.
15189 2005-12-13 Robert Love <rml@novell.com>
15191 * src/named-manager/nm-named-manager.c: Don't unref the config until
15192 after we call rewrite_resolv_conf(), because get_last_default_domain()
15193 needs to access the config. Fixes "rewrite_resolv_conf: assertion
15194 `config != NULL' failed" assertion failures and "Could not commit DNS
15197 2005-12-12 Dan Williams <dcbw@redhat.com>
15199 * libnm-util/dbus-helpers.[ch]
15200 libnm-util/Makefile.am
15201 - new helper calls to consolidate locations where
15202 NM's setDevice method is called
15204 * gnome/applet/applet-dbus-devices.c
15205 gnome/applet/wireless-security-option.c
15207 - Implement dbus message param append function for
15208 all wireless security options
15210 2005-12-12 Robert Love <rml@novell.com>
15212 * libnm-util/cipher-wep-passphrase.c,
15213 libnm-util/cipher-wpa-psk-passphrase.c, src/NetworkManagerAP.c,
15214 src/NetworkManagerAP.h, src/NetworkManagerDevice.c,
15215 src/NetworkManagerWireless.c, src/NetworkManagerWireless.h: Treat
15216 all WEP/WPA keys as "char *" and not explicitly signed or unsigned.
15217 When handling keys, we don't care what the sign is. The compiler
15218 guarantees us that we get our 8-bits, which is all we care about.
15219 * configure.in: Remove "-Wno-pointer-sign" flag. We are sign-aware!
15221 2005-12-12 Dan Williams <dcbw@redhat.com>
15223 * gnome/applet/applet-dbus-devices.[ch]
15224 gnome/applet/applet.c
15225 gnome/applet/other-network-dialog.c
15226 gnome/applet/wireless-security-manager.[ch]
15227 gnome/applet/wireless-security-option.[ch]
15229 - Push the wireless security options further into the applet
15231 2005-12-12 Robert Love <rml@novell.com>
15233 * src/dhcp-manager/nm-dhcp-manager.c: Do not fail if DHCP does not
15234 return any name servers. That is perfectly valid. (Novell #134369).
15236 2005-12-11 Dan Williams <dcbw@redhat.com>
15238 * gnome/applet/wso-*
15239 gnome/applet/wireless-security-option.*
15240 gnome/applet/Makefile.am
15241 - split each security option out so we can eventually
15242 have each one build up their own dbus message
15243 arguments to send to NM
15245 2005-12-11 Dan Williams <dcbw@redhat.com>
15247 * Make validation of the key work correctly
15249 2005-12-11 Dan Williams <dcbw@redhat.com>
15251 * Hook more bits of the Other Network Dialog up to the
15252 wireless security manager stuff, and restructure
15253 bits of the dialog so there's less code.
15255 2005-12-10 Dan Williams <dcbw@redhat.com>
15257 * gnome/applet/Makefile.am
15258 - Add libnm-util to includes
15259 - Add libnm-util to link list
15260 - Add wireless-security-common.* to compile list
15262 * gnome/applet/other-network-dialog.c
15263 - Convert to using the WirelessSecurityManager code and
15266 * gnome/applet/passphrase-dialog.c
15267 - Comment out references to stuff in the glade file that
15268 cause runtime errors until it can be fixed up
15269 to use the WirelessSecurityManager code
15271 * gnome/applet/wireless-applet.glade
15272 - Rename some widgets
15273 - Add widgets for the WirelessSecurityManager code
15274 - Remove passphrase-related stuff since that's now
15275 handled by the WirelessSecurityManager code
15277 2005-12-10 Dan Williams <dcbw@redhat.com>
15279 * gnome/applet/applet-dbus-devices.c
15280 - Print out error message details for dbus pending call callbacks
15281 - Move nmwa_dbus_update_devices() up
15283 * gnome/applet/applet-dbus-vpn.c
15284 - Print out error message details for dbus pending call callbacks
15286 2005-12-10 Dan Williams <dcbw@redhat.com>
15290 - Remove cipher-manager.* because we don't need it
15291 - Forgot to add gnome-keyring-md5 files to compile list
15293 2005-12-09 Dan Williams <dcbw@redhat.com>
15298 - Add a utility library for clients of NetworkManager. It's
15299 only targetted at applets for the moment, and contains
15300 a generalized 802.11 cipher framework for different
15301 types of keys (WEP & WPA Hex, ASCII, Passphrase)
15303 2005-12-09 Robert Love <rml@novell.com>
15305 * src/NetworkManagerDevice.c: handle error better in
15306 nm_device_set_mode().
15308 2005-12-08 Robert Love <rml@novell.com>
15310 * include/NetworkManager.h: add WPA capabilities constants
15311 * src/NetworkManagerDevice.c: detect if wireless devices support WPA
15312 or WPA2 and add the capabilities bits as appropriate.
15314 2005-12-08 Robert Love <rml@novell.com>
15316 * initscript/SUSE/networkmanager-dispatcher.in: new initscript for
15317 NetworkManagerDispatcher.
15318 * configure.in, initscript/SUSE/.cvsignore,
15319 initscript/SUSE/Makefile.am: support new networkmanager-dispatcher
15322 2005-12-08 Robert Love <rml@novell.com>
15324 * initscript/SUSE/networkmanager.in: Do not start 'networking' service.
15326 2005-12-08 Robert Love <rml@novell.com>
15328 * src/NetworkManagerDevice.c: We want to fall back on and default to
15329 IW_MODE_AUTO, not -1, which is more in line with our previous
15330 behavior. Otherwise, we try to set the wireless mode to -1 in
15331 nm_device_set_mode().
15333 2005-12-07 Robert Love <rml@novell.com>
15335 * gnome/applet/applet-dbus-info.c, include/NetworkManager.h,
15336 src/NetworkManagerAP.c, src/NetworkManagerAP.h,
15337 src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
15338 src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
15339 src/nm-dbus-nm.c: Convert NM_DEVICE_AUTH_METHOD_* to use the
15340 wireless-tools constants directly. UNKNOWN is now -1 and NONE is
15343 2005-12-07 Robert Love <rml@novell.com>
15345 * src/backends/NetworkManagerSuSE.c: In static configurations, if the
15346 supplied IP is invalid, fall back to DHCP.
15348 2005-12-07 Dan Williams <dcbw@redhat.com>
15350 * Convert NETWORK_MODE_* constants to IW_MODE_*
15351 * Make all the get_mode/set_mode functions take and return 'int'
15352 * Convert D-BUS calls that pass mode to DBUS_TYPE_INT32 rather than UINT32
15354 2005-12-07 Robert Love <rml@novell.com>
15356 * src/NetworkManagerDevice.c: strncpy() buffer check.
15357 * src/NetworkManagerUtils.c: be anal about syslog() formatting.
15359 2005-12-06 Dan Williams <dcbw@redhat.com>
15361 * gnome/applet/applet-dbus.c
15362 - (set_vpn_last_attempt_status): remove, now in applet-dbus-vpn.c
15364 * gnome/applet/applet-dbus-vpn.c
15365 - (nmwa_dbus_vpn_set_last_attempt_status): new, from applet-dbus.c
15366 - (nmwa_dbus_vpn_update_vpn_connection_stage): set last_attempt_success
15367 to TRUE here if stage was ACTIVATED
15369 2005-12-06 Dan Williams <dcbw@redhat.com>
15371 * Change nm_device_is_* functions to better names:
15372 nm_device_is_wireless() -> nm_device_is_802_11_wireless()
15373 nm_device_is_wired() -> nm_device_is_802_3_ethernet()
15375 2005-12-06 Dan Williams <dcbw@redhat.com>
15377 * Change naming of NMDeviceType to something more sensible:
15378 NM_DEVICE_TYPE_DONT_KNOW -> NM_DEVICE_TYPE_UNKNOWN
15379 NM_DEVICE_TYPE_WIRED_ETHERNET -> NM_DEVICE_TYPE_802_3_ETHERNET
15380 NM_DEVICE_TYPE_WIRELESS_ETHERNET -> NM_DEVICE_TYPE_802_11_WIRELESS
15382 2005-12-06 Dan Williams <dcbw@redhat.com>
15384 * Move NetworkManager.h -> include/NetworkManager.h
15385 * Split out VPN stuff into include/NetworkManagerVPN.h
15386 * Fix up makefiles to include new location
15387 * Fix up sources to include NetworkManagerVPN.h
15389 2005-12-06 Dan Williams <dcbw@redhat.com>
15391 Various changes in the applet to move VPN connection "state" -> "stage",
15392 which it actually is. I'd like to change the signal as well when we
15393 break compat in the near future.
15395 2005-12-06 Dan Williams <dcbw@redhat.com>
15397 Slackware patches from Paul Blazejowski <paulb@blazebox.homeip.net>
15398 * initscript/Slackware/rc.networkmanager
15401 * src/backends/NetworkManagerSlackware.c
15402 - Kill dhcpcd when starting so that dhclient can bind to DHCP on
15405 2005-12-05 Robert Love <rml@novell.com>
15407 * src/NetworkManager.c: don't call nm_data_free() when there is nothing
15408 to free, particularly here as it just barfs.
15410 2005-12-05 Dan Williams <dcbw@redhat.com>
15412 * gnome/applet/applet-dbus.c
15413 - Work with dbus 0.6 too
15415 2005-12-03 Dan Williams <dcbw@redhat.com>
15417 * src/NetworkManagerUtils.[ch]
15418 src/nm-ip4-config.c
15419 - move ip4_netmask_to_prefix() to NetworkManagerUtils.c
15420 - consolidate code into nm_utils_ip4_addr_to_nl_addr()
15422 2005-12-01 Robert Love <rml@novell.com>
15424 * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c: We
15425 need a NULL for the '...' parameter, too, to fill the so-called
15428 2005-12-01 Robert Love <rml@novell.com>
15430 * src/NetworkManagerSystem.c: If iface_to_rtnl_link() returns NULL, the
15431 interface is already gone, so don't call rtnl_link_change() to down
15432 it (which will segfault, anyhow).
15434 2005-11-22 Robert Love <rml@novell.com>
15436 * src/backends/NetworkManagerSuSE.c: Don't fall back to DHCP if the
15437 gateway is not set, just print a little note. Configurations without
15438 gateways are valid.
15440 2005-11-22 Robert Love <rml@novell.com>
15444 2005-11-20 Ilkka Tuohela <hile@iki.fi>
15446 * configure.in: Added Finnish translation to ALL_LINGUAS
15448 2005-11-14 Robert Love <rml@novell.com>
15450 * vpn-daemons/openvpn: initial checkin of OpenVPN VPN Module, by Tim
15451 Niemueller <tim@niemueller.de>.
15453 2005-11-08 Dan Williams <dcbw@redhat.com>
15455 Patch from Bill Moss <bmoss@clemson.edu>
15456 * src/NetworkManagerDevice.c
15457 - (nm_device_activate_stage5_ip_config_commit): fix ordering
15458 of nm_policy_schedule_activation_finish() to prevent a
15459 race condition that causes the link to be dropped
15461 2005-11-08 Dan Williams <dcbw@redhat.com>
15463 Patch from Bill Moss <bmoss@clemson.edu>
15464 * src/NetworkManagerAPList.c
15465 src/NetworkManagerDevice.c
15466 src/NetworkManagerDbus.c
15467 - Replace occurances of ether_ntoa_r() with iw_ether_ntop() so
15468 we get more readable ether/mac addresses
15470 2005-11-02 Christopher Aillon <caillon@redhat.com>
15472 * gnome/applet/main.c: Don't set the restart command. This fixes
15473 the issue where the restart command was getting copies of all its
15474 arguments for each time the applet was restarted.
15476 2005-11-02 Robert Love <rml@novell.com>
15478 * gnome/applet/applet.c: Only send the DBUS setWirelessEnabled method
15479 if the widget state differs from our saved state. This ensures we
15480 do not enter an endless loop of death and destruction. Also, this
15481 guarantees us that we enforce the widget state.
15483 2005-11-02 Robert Love <rml@novell.com>
15485 * gnome/applet/applet.c: add nmwa_enable_wireless_set_active().
15486 * gnome/applet/applet-dbus-devices.c: invoke the new function
15487 nmwa_enable_wireless_set_active() to ensure that the state of the
15488 'Enable Wireless' checkbox matches the daemon's state. This is a
15489 concern because the daemon remembers the state.
15491 2005-11-02 Robert Love <rml@novell.com>
15493 * gnome/applet/applet.c: Make menu item "Enable Wireless" not "Wireless
15494 Enabled", as checkboxes should be actions/commands not positive
15495 statements, otherwise they are confusing in the unselected case. See
15496 examples in GNOME HIG, Chapter 6.
15498 2005-11-02 Robert Love <rml@novell.com>
15500 * gnome/applet/applet.c: When wireless is disabled, act it. Do not
15501 show a list of wireless networks or the wireless devices or the
15502 "Create Wireless ..." menus. Aside from this cosmetics, this fixes
15503 a bad bug: If wireless is disabled and the user picks a wireless
15504 network, NM will switch to the network, only to immediately switch
15505 back, as wireless is disabled. This also reassures people that NM
15506 is not scanning (it is not -- I verified). Fixes Novell bug #130041.
15508 2005-11-02 Christopher Aillon <caillon@redhat.com>
15510 * gnome/applet/applet.c:
15511 * gnome/applet/applet.h:
15512 Partial backout of Dan's timeout animation patch.
15513 Timeout IDs cannot legally be 0, so revert the code in place to handle
15514 a timeout ID of 0 to denote the timeout isn't running.
15516 2005-11-02 Christopher Aillon <caillon@redhat.com>
15518 * src/NetworkManagerPolicy.c:
15519 (nm_policy_device_change_check) Clarify wireless switch nm_info text
15521 2005-10-28 Robert Love <rml@novell.com>
15523 * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade: Change label to
15524 "Import Saved Configuration..." to make it clear that importing is
15525 not the next step, but an option. As an aside, a nice TODO would be
15526 to move Importing out of the vpn-specific dialog and into the main
15527 property editor, as Importing goes with Adding, but that will require
15528 some rearchitecting of the VPN stuff I suspect.
15530 2005-10-27 Dan Williams <dcbw@redhat.com>
15532 Start using libnl. You need 1.0-pre3 or higher. Eventually
15533 we should replace most of the distro-specific backend code
15536 Get it here: http://people.suug.ch/~tgr/libnl/
15540 - Add checks for libnl pkgconfig file
15541 - Use LIBNL_LIBS & LIBNL_CFLAGS
15543 * src/NetworkManagerSystem.c
15544 src/nm-ip4-config.[ch]
15545 - Use libnl rather than ioctl() for most things
15546 - Remove unused functions
15548 2005-10-27 Robert Love <rml@novell.com>
15550 * src/backends/NetworkManagerSuSE.c: fix warning message text
15552 2005-10-27 Christopher Aillon <caillon@redhat.com>
15554 * gnome/applet/applet.c: Use the copyright symbol instead of (C)
15556 2005-10-27 Christopher Aillon <caillon@redhat.com>
15558 * gnome/applet/applet.c: The applet's about dialog can advertise our
15559 project page <http://www.gnome.org/projects/NetworkManager/>
15561 2005-10-26 Christopher Aillon <caillon@redhat.com>
15563 * gnome/applet.c: Also use translator credits if we don't have
15564 the new GtkAboutDialog (older versions of GTK+)
15566 2005-10-26 Robert Love <rml@novell.com>
15568 * dispatcher-daemon/NetworkManagerDispatcher.c: print actual error string on daemon()
15569 failure; correct usage text for "--no-daemon"
15571 2005-10-25 Dan Williams <dcbw@redhat.com>
15573 * src/NetworkManagerDevice.c
15574 - (get_scan_results): cleanups, deal cleanly with ENODATA signifying
15576 - (free_process_scan_cb_data): unref the device when freeing results
15577 - (nm_device_wireless_process_scan_results): free scan results a bit later
15578 so we don't unref the device underneath ourselves
15580 2005-10-25 Dan Williams <dcbw@redhat.com>
15582 * Back out 2005-10-24 commit from Tor Krill. Patch
15583 causes nameservers never to be removed from named.
15585 2005-10-24 Dan Williams <dcbw@redhat.com>
15587 Clean up wireless scanning and wireless link probing.
15589 * src/NetworkManagerDevice.c
15590 - (nm_device_probe_wireless_link_state): instead of calling nm_get_best_ap(),
15591 just see if there's an activation request on the device, and check the
15592 current link against the activation request access point's ESSID.
15593 - (link_to_specific_ap): increase the # of failed links we tolerate from 3 to 6
15594 - (nm_device_wireless_process_scan_results): actually free our scan data, and
15595 don't call process_scan_results() on zero-length data
15596 - (nm_device_set_wireless_scan_interval): increase the init scan interval to
15597 15 seconds (from 10)
15599 2005-10-24 Dan Williams <dcbw@redhat.com>
15601 Cleanup some applet stuff:
15603 - Animation timeouts. If NM died while the applet was animating,
15604 the applet would not hide itself. This is now fixed.
15606 - Remove some dead code
15608 - Remove nmi_passphrase_dialog_schedule_cancel() and convert uses
15609 to nmi_passphrase_dialog_cancel() since we no longer use threads.
15611 - Track animation timeout using a gboolean rather than the timeout's
15612 ID, since timeout IDs can legally be 0.
15614 2005-10-24 Dan Williams <dcbw@redhat.com>
15616 * src/backends/interface_parser.c
15617 - Add void to function declarations that need it
15618 to match patch from Engin AYDOGAN
15620 * src/backends/interface_parser.h
15621 - Remove unused prototype for ifparser_interfaces()
15623 Patch from Engin AYDOGAN <engin@bzzzt.biz>
15624 * src/backends/interface_parser.h:
15625 - Compile fixes for gcc 4.0.2 (add void)
15627 2005-10-24 Dan Williams <dcbw@redhat.com>
15629 Patch from Tor Krill <tor@krill.nu>
15630 * src/named-manager/nm-named-manager.c
15631 - Write more than just the first nameserver to /etc/resolv.conf
15632 - Write out valid /etc/resolv.conf on exit
15634 2005-10-21 Christopher Aillon <caillon@redhat.com>
15636 * gnome/applet/applet-dbus-vpn.c:
15637 Get rid of spurious newlines in debug console output
15639 2005-10-21 Christopher Aillon <caillon@redhat.com>
15641 * src/backends/NetworkManagerGentoo.c:
15642 Fix path to killall. Patch from Dave Shanker <dshanker@gmail.com>
15644 2005-10-20 Robert Love <rml@novell.com>
15646 * src/NetworkManagerDevice.c: Use fabs() and DBL_EPSILON to avoid a
15647 direct comparison of floating point values, which is never correct.
15648 Also some misc. cleanup.
15650 2005-10-19 Robert Love <rml@novell.com>
15652 * vpn-daemons/vpnc/nm-vpnc.desktop.in: add fields
15654 2005-10-19 Robert Love <rml@novell.com>
15656 * gnome/vpn-properties/nm-vpn-properties.c: Correctly set the
15657 sensitivity of the buttons. Specificaly, do the right thing if
15658 there are no entries.
15660 2005-10-19 Christopher Aillon <caillon@redhat.com>
15662 * configure.in: Update check for adequate wireless-tools
15663 with an AC_TRY_COMPILE for the new symbols we use.
15665 2005-10-19 Dan Williams <dcbw@redhat.com>
15667 * src/NetworkManagerDevice.c
15668 - (process_scan_results): don't drop the last (or only)
15669 access point we see
15671 2005-10-19 Christopher Aillon <caillon@redhat.com>
15673 * src/backends/NetworkManagerSlackware.c:
15674 Patch from Nico <lordllucifer@gmail.com>
15675 - Update the Slackware backend.
15677 2005-10-18 Christopher Aillon <caillon@redhat.com>
15679 * gnome/applet/other-network-dialog.c: Use g_get_host_name ()
15680 if we've got GLib 2.8.0
15682 2005-10-18 Robert Love <rml@novell.com>
15684 * src/NetworkManagerDevice.c: invoke the long-in-the-tooth named
15685 function nm_schedule_state_change_signal_broadcast() when we
15686 deactivate a device, too.
15688 2005-10-18 Robert Love <rml@novell.com>
15690 * gnome/applet/applet.c: nmwa_context_menu_update(): 'iface' could
15691 be used uninitialized.
15693 2005-10-18 Christopher Aillon <caillon@redhat.com>
15695 * test/libnm_glib_test.c: Test unregistering, too.
15697 2005-10-17 Christopher Aillon <caillon@redhat.com>
15699 * configure.in: Bump to 0.5.0
15701 2005-10-17 Dan Williams <dcbw@redhat.com>
15704 - Remove WPA-related constants so they aren't part of the
15707 2005-10-17 Christopher Aillon <caillon@redhat.com>
15709 * gnome/applet/applet.c:
15710 * gnome/applet/applet.h:
15711 Desensitize the 'Connection Information' menu item when there is
15712 no active connection.
15714 2005-10-17 Christopher Aillon <caillon@redhat.com>
15716 * gnome/libnm_glib/libnm_glib.c:
15717 Make libnm_glib_unregister_callback () actually unregister the callback
15719 2005-10-17 Robert Love <rml@novell.com>
15721 * src/NetworkManagerDevice.c: Actually wait 20s, as we intend, not
15722 two seconds -- tries is updated every 1/10 of a second, not every
15725 2005-10-17 Christopher Aillon <caillon@redhat.com>
15727 * gnome/applet/applet-dbus-info.c:
15728 Let D-BUS know that we haven't handled a message when we haven't.
15730 2005-10-17 Robert Love <rml@novell.com>
15732 * src/nm-ip4-config.c: use GPOINTER_TO_UINT and not a straight cast
15733 in order to remain 64-bit clean.
15735 2005-10-17 Christopher Aillon <caillon@redhat.com>
15737 * gnome/applet/applet-dbus-info.c:
15738 Find network encryption keys asynchronously
15740 2005-10-17 Robert Love <rml@novell.com>
15742 * src/backends/NetworkManagerDebian.c,
15743 src/backends/NetworkManagerRedHat,
15744 src/backends/NetworkManagerSuSE.c: allow '#' as a valid resolv.conf
15747 2005-10-17 Robert Love <rml@novell.com>
15749 * src/backends/NetworkManagerSuSE.c: use SYSCONFDIR not open-coded
15752 2005-10-17 Christopher Aillon <caillon@redhat.com>
15754 * src/NetworkManagerDevice.c: (process_scan_results)
15755 Fix logic that checks to see whether we have an ESSID.
15757 2005-10-15 Dan Williams <dcbw@redhat.com>
15759 Move scanning code into NetworkManager rather than use iwlib's
15760 iw_scan() function, so that we can figure out AP capabilities.
15763 - Add AP capability bits
15765 * src/NetworkManagerAP.[ch]
15766 - Add capability field to NMAccessPoint structure
15767 - Add WPA & RSN Information Element fields and accessor
15768 functions to NMAccessPoint
15770 * src/NetworkManagerDevice.c
15771 - Remove usage of iw_scan
15772 - Add scanning code to NetworkManager rather than use
15773 iw_scan() from iwlib
15775 * src/NetworkManagerUtils.[ch]
15776 - (nm_dispose_scan_results): remove, unused
15778 2005-10-14 Christopher Aillon <caillon@redhat.com>
15780 * gnome/libnm_glib/libnm_glib.c:
15781 * gnome/libnm_glib/libnm_glib.h:
15782 Use guint instead of gint for callback IDs.
15784 2005-10-12 Christopher Aillon <caillon@redhat.com>
15786 * gnome/applet/applet.c:
15787 Fix icon animation smoothness issues. nmwa_redraw_timeout gets called
15788 every 1000ms. It will unconditionally call nmwa_update_state which
15789 kills the existing animation timeout and registers a new one with a
15790 callback to draw a new frame every 100ms. There are 11 connecting
15791 icon frames, so the last 2 frames kept getting dropped. Only reset
15792 the animation timeout if we aren't animating.
15794 2005-10-11 Dan Williams <dcbw@redhat.com>
15796 * gnome/applet/applet-dbus-devices.c
15797 - (nmwa_dbus_update_device_info_from_hal), (hal_net_physdev_cb):
15798 We want to grab the product & vendor from net.physical_dev
15799 rather than info.parent.
15801 2005-10-11 Dan Williams <dcbw@redhat.com>
15803 * src/NetworkManagerDevice.c
15804 - Use the driver's WE version for scanning rather than
15805 the WE version NM was compiled with. Fixes random
15806 crashes in iw_scan () in iwlib.
15808 2005-10-10 Dan Williams <dcbw@redhat.com>
15810 * Remove nm_system_load_device_modules() from backend files
15811 and from NetworkManager.c
15813 2005-10-10 Dan Williams <dcbw@redhat.com>
15815 * src/NetworkManagerPolicy.c
15816 - Fix some bugs introduced by the capabilities patch
15818 2005-10-10 Dan Williams <dcbw@redhat.com>
15820 * gnome/applet/applet-dbus-info.c
15821 - (nmi_dbus_get_network_key): hide the menu when putting up
15822 the keyring dialog. (not sure if the code is right...)
15824 2005-10-09 Dan Williams <dcbw@redhat.com>
15826 Patch from Bill Moss <bmoss@clemson.edu>
15827 * src/NetworkManagerDevice.c
15828 - (nm_device_set_user_key_for_network): don't try to set auth
15829 mode on the AP from the allowed list if it's NULL
15831 2005-10-09 Dan Williams <dcbw@redhat.com>
15833 * Replace the "driver support level" stuff with capabilities. The
15834 capability field is a bitfield that is more flexible than the
15835 old driver support level thing. It's mostly so we can easily
15836 figure out what supports WPA and what doesn't, but should be
15837 quite useful later.
15839 2005-10-09 Dan Williams <dcbw@redhat.com>
15846 - Added new "nm-tool" tool that gives quite a bit more
15849 2005-10-07 Robert Love <rml@novell.com>
15851 * gnome/applet/applet-dbus-info.c, gnome/applet/applet.c,
15852 gnome/applet/applet.h, gnome/vpn-properties/nm-vpn-properties.c,
15853 src/dhcp-manager/nm-dhcp-manager.c, test/libnm_glib_test.c,
15854 test/nmtest.c test/nmtestdevices.c: mark functions 'static' as
15857 2005-10-07 Robert Love <rml@novell.com>
15859 * configure.in: Change our compile flags for the betterment of mankind.
15860 Add "-Wstrict-prototypes" because we comply anyhow and missing a
15861 prototype is very bad on 64-bit platforms as types default to int but
15862 sizeof(int) != sizeof(long) and add "-Wmissing-prototypes" &
15863 "-Wmissing-declarations" to warn if we define an exported function
15864 but fail to put it in a header.
15866 2005-10-07 Robert Love <rml@novell.com>
15868 * src/NetworkManagerWireless.c: remove stale, unused function, who goes
15869 by the name nm_update_device_wireless_timeouts() and once tried,
15870 without success, to steal my pet turtle.
15872 2005-10-07 Robert Love <rml@novell.com>
15874 * Cleanup prototypes: put some functions in header files and mark
15875 others as 'static' -- feel free to invert
15876 * src/vpn-manager/nm-dbus-vpn.c: remove prototype of
15877 nm_vpn_manager_vpn_connection_list_copy()
15878 * src/vpn-manager/nm-vpn-act-request.c: remove prototype of
15879 nm_vpn_service_get_dbus_connection()
15880 * src/vpn-manager/nm-vpn-manager.h: add prototypes for
15881 nm_vpn_manager_vpn_connection_list_copy()
15882 * src/vpn-manager/nm-vpn-service.c: make
15883 nm_vpn_service_act_request_failed() and
15884 nm_vpn_service_stage2_daemon_wait() static
15885 * src/vpn-manager/nm-vpn-service.h: add prototype for
15886 nm_vpn_service_get_dbus_connection()
15888 2005-10-06 Christopher Aillon <caillon@redhat.com>
15890 * gnome/applet/applet.c:
15891 * gnome/applet/applet.h:
15892 * gnome/applet/icons/Makefile.am:
15893 Convey information about the current connection stage in the
15894 icons themselves instead of creating a separate progress bar.
15896 2005-10-04 Robert Love <rml@novell.com>
15898 * src/nm-dbus-device.c: Use iw_ether_ntop(), not ether_ntoa_r(), to
15899 convert an ether_addr structure's MAC into a string, because the
15900 latter will drop leading zero's and uses lower-case, e.g. 7:3b:4
15901 versus 07:3B:04, while the former will not.
15903 2005-10-04 Robert Love <rml@novell.com>
15905 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
15906 gnome/applet/nm-device.c, gnome/applet/nm-device.h,
15907 gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
15908 default route in the 'Connection Information' dialog, send primary
15909 and secondary name servers in in "getProperties" DBUS method, add
15910 network_device_{get,set}_{primary,secondary}_dns(), The primary and
15911 secondary domain name servers are crucial pieces of information
15912 that a user might need in debugging a network problem.
15914 2005-10-04 Robert Love <rml@novell.com>
15916 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
15917 gnome/applet/nm-device.c, gnome/applet/nm-device.h,
15918 gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
15919 default route in the 'Connection Information' dialog, send default
15920 route in "getProperties" DBUS method, add network_device_set_route(),
15921 and network_device_get_route(). The Gateway is a crucial piece of
15922 connection-related information that a user might need in debugging a
15925 2005-10-03 Robert Love <rml@novell.com>
15927 * src/backends/NetworkManagerSuSE.c: Fix Glib error, GError must be
15930 2005-10-02 Dan Williams <dcbw@redhat.com>
15932 * Shorten time taken to sleep by fastpathing bits of device deactivation
15933 necessary for sleep.
15935 * Fix issue where deactivating a device might deactivate the active
15936 VPN connection, even if the VPN was not using the device.
15938 2005-10-02 Dan Williams <dcbw@redhat.com>
15940 * gnome/applet/applet.c
15941 - Adjust signal strength -> icon mapping values slightly
15942 (so that 51% signal doesn't show a 75% icon) by adding
15943 5% to the values. ex: > 5% now shows 25% icon, > 30%
15944 shows 50% icon, etc.
15946 2005-09-29 Robert Love <rml@novell.com>
15948 * src/NetworkManager.c: removed unused variable.
15950 2005-09-28 Dan Williams <dcbw@redhat.com>
15952 Support for named + DBus, using Red Hat DBus patches for named. You
15953 can find those patches here, with "dbus" in the patch's filename:
15955 http://cvs.fedora.redhat.com/viewcvs/devel/bind/
15957 Don't forget the named dbus service file either.
15959 Instead of writing a config file and spawing a named process, NM will
15960 use an already-running dbus-enabled named if it finds one. NM will
15961 update named's forwarder configuration on the fly using dbus.
15963 If there is no dbus-enabled named running, NM will automatically fall
15964 back to writing the most-recent DNS server information to /etc/resolv.conf
15965 and calling nm_system_update_dns() to kick the system's resolver.
15967 Accordingly, all named-related configure-time options have been removed.
15969 2005-09-26 Robert Love <rml@novell.com>
15971 * src/backends/NetworkManagerSuSE.c, (nm_system_get_dialup_config): Add
15973 * src/backends/NetworkManagerSuSE.c, (verify_and_return_provider): Fix
15974 bug in error path if "ASKPASSWORD" is "no".
15976 2005-09-26 Robert Love <rml@novell.com>
15978 * src/named-manager/nm-named-manager.c: only '#' is officially a valid
15979 comment in /etc/resolv.conf -- ';' is not.
15981 2005-09-19 Dan Williams <dcbw@redhat.com>
15983 * src/backends/NetworkManagerRedHat.c:
15984 * src/backends/NetworkManagerDebian.c:
15985 * src/backends/NetworkManagerSlackware.c:
15986 * src/backends/NetworkManagerGentoo.c:
15987 * src/backends/NetworkManagerSUSE.c:
15988 Fix invocations of "/sbin/ip address" to use short form instead
15990 2005-09-19 Christopher Aillon <caillon@redhat.com>
15992 * src/nm-dbus-device.c: Don't assert when getting
15993 addresses of a not yet connected interface.
15995 * gnome/applet/applet.c: Free icons if loading fails.
15996 Use translator-credits so translators can make themselves known.
15998 2005-09-15 Christopher Aillon <caillon@redhat.com>
16000 * src/NetworkManagerAP.c:
16001 * src/NetworkManagerAP.h:
16002 * src/NetworkManagerDevice.c:
16003 Set a blacklist for certain common manufacturer default ESSIDs:
16004 APs with these ESSIDs are extremely likely to be completely
16005 different networks: connecting to one should not make NM
16006 auto-connect to every other AP with the same default ESSID.
16008 2005-09-12 Christopher Aillon <caillon@redhat.com>
16010 * gnome/applet/wireless-applet.glade:
16011 The passphrase entry should also activate the default
16013 * src/gnome-keyring-md5.c: Updated code from gnome-keyring
16015 * gnome/applet/applet-dbus-devices.c:
16016 * gnome/applet/applet.c:
16017 * gnome/applet/nm-device.c:
16018 * gnome/applet/nm-device.h:
16019 * src/NetworkManagerUtils.c:
16020 * src/NetworkManagerUtils.h:
16021 * src/nm-dbus-device.c:
16022 I've got a fever, and the only cure for it is less ioctl.
16023 Make NM push IP data rather than make the applet open a socket
16026 2005-09-10 Christopher Aillon <caillon@redhat.com>
16028 * gnome/applet/applet.c:
16029 * gnome/applet/applet-dbus-devices.c:
16030 * gnome/applet/applet-dbus-info.c:
16031 * gnome/applet/passphrase-dialog.c:
16032 * gnome/libnm_glib/libnm_glib.c:
16033 * gnome/vpn-properties/nm-vpn-properties.c:
16035 * src/backends/NetworkManagerRedHat.c:
16036 * src/named-manager/nm-named-manager.c:
16037 * src/NetworkManagerAPList.c:
16038 * src/NetworkManager.c:
16039 * src/NetworkManagerDbus.c:
16040 * src/NetworkManagerDevice.c:
16041 * src/NetworkManagerPolicy.c:
16042 * src/NetworkManagerSystem.c:
16043 * src/nm-dbus-device.c:
16044 * src/nm-dbus-nm.c:
16045 * src/vpn-manager/nm-vpn-manager.c:
16046 * src/vpn-manager/nm-vpn-service.c:
16047 * test/libnm_glib_test.c:
16048 * test/nminfotest.c:
16049 * test/nmtestdevices.c:
16050 Fix a bunch of 'unused variable' compiler warnings
16052 * NetworkManager.h:
16053 * gnome/applet/applet-dbus-info.c:
16054 * gnome/applet/applet-dbus-info.h:
16055 * gnome/applet/applet.c:
16056 * gnome/applet/applet.h:
16057 * src/NetworkManager.c:
16058 * src/NetworkManagerDbus.c:
16059 * src/NetworkManagerDbus.h:
16060 * src/NetworkManagerDevice.c:
16061 * src/NetworkManagerDevice.h:
16062 * src/NetworkManagerMain.h:
16063 * src/NetworkManagerWireless.c:
16064 * src/NetworkManagerWireless.h:
16065 * src/nm-dbus-nm.c:
16066 Make NetworkManager be smart about how frequently to scan
16067 based on its current state. Remove the UI for choosing when
16068 to scan. Scanning still may disabled completely by the user
16069 via the "Wireless Enabled" menu item.
16071 2005-09-09 Christopher Aillon <caillon@redhat.com>
16073 * gnome/applet/applet.c:
16074 Also overlay the vpn connecting icons onto the wired icon,
16077 * gnome/vpn-properties/nm-vpn-properties.glade:
16078 Clean up a few strings to use better grammar and proper casing.
16080 2005-09-08 Christopher Aillon <caillon@redhat.com>
16082 * gnome/applet/vpn-connection.c:
16083 * gnome/applet/vpn-connection.h:
16084 Add nmwa_vpn_connection_is_activating ()
16086 * gnome/applet/applet.c:
16087 * gnome/applet/applet.h:
16088 * gnome/applet/icons/nm-vpn-connecting*.png:
16089 Add new VPN connecting icons from Diana Fong <dfong@redhat.com>, letting
16090 the user know something's happening between clicking the VPN item and it
16091 actually being connected.
16093 2005-09-07 Christopher Aillon <caillon@redhat.com>
16095 * gnome/applet/applet-dbus-info.c: need to free attributes in the
16096 failure case as well.
16098 2005-09-07 Rodrigo Moya <rodrigo@novell.com>
16100 * gnome/panel/eggtrayicon.[ch]:
16101 * examples/python/systray/eggtrayicon.[ch]: updated code from libegg.
16103 2005-09-07 Dan Williams <dcbw@redhat.com>
16105 Patch from Bill Moss <bmoss@clemson.edu>
16106 * src/applet-dbus.c
16107 - (nmwa_dbus_filter): strip whitespace from beginning
16108 and end of VPN login banner
16110 2005-09-07 Dan Williams <dcbw@redhat.com>
16112 * The great VPN Manager rewrite of 2005
16114 2005-09-07 Christopher Aillon <caillon@redhat.com>
16116 * gnome/applet/menu-items.c:
16117 * gnome/applet/nm-device.c:
16118 * gnome/applet/wireless-network.c:
16119 * gnome/libnm_glib/libnm_glib.c:
16120 * src/NetworkManagerDbusUtils.c:
16121 * vpn-daemons/vpnc/src/nm-vpnc-service.c:
16122 g_malloc0 doesn't return NULL
16124 2005-09-06 Dan Williams <dcbw@redhat.com>
16126 Patch from Tomislav Vujec <tvujec@redhat.com>
16127 * src/NetworkManagerDevice.c
16128 - (nm_get_device_by_udi): don't return a device when we
16129 actually didn't find what we were looking for
16131 2005-09-06 Christopher Aillon <caillon@redhat.com>
16133 * gnome/applet/applet-dbus-devices.c:
16134 * gnome/applet/applet-dbus-devices.h:
16135 * gnome/applet/applet-dbus.c:
16136 * src/NetworkManagerDbus.c:
16137 * src/NetworkManagerDbus.h:
16138 * src/NetworkManagerDevice.c:
16139 * src/nm-dbus-device.c:
16140 Make NM push updates about active device strength when it changes,
16141 rather than having the applet poll every 2s.
16143 2005-09-05 Christopher Aillon <caillon@redhat.com>
16145 * gnome/applet/applet-dbus-devices.c: Remove duplicate call to
16146 network_device_set_strength
16148 2005-09-04 Dan Williams <dcbw@redhat.com>
16150 Patch from Bill Nottingham <notting@redhat.com>
16151 * src/NetworkManagerDevice.c
16152 - (nm_device_activation_cancel): reset the quit_activation flag
16154 2005-09-04 Dan Williams <dcbw@redhat.com>
16156 * src/nm-activation-request.c
16157 - (nm_act_request_unref): actually free the structure,
16158 which we didn't seem to be doing before
16160 2005-09-04 Dan Williams <dcbw@redhat.com>
16162 Patch from John Palmieri <johnp@redhat.com>
16163 * gnome/applet/applet-dbus-devices.c
16164 - Fix up unreffing of DBusMessage objects
16166 2005-09-04 Dan Williams <dcbw@redhat.com>
16168 Patch from John Palmieri <johnp@redhat.com>
16169 * gnome/applet/nm-device.c
16170 - (nm_device_unref): clear network_device's memory _before_ freeing it
16172 2005-09-02 Christopher Aillon <caillon@redhat.com>
16174 * gnome/applet/applet.c: Use a check menu item for Wireless Enabled
16176 2005-09-02 Bill Nottingham <notting@redhat.com>
16178 * src/backends/NetworkManagerRedHat.c: use nm_warning, not nm_error
16180 2005-09-01 Dan Williams <dcbw@redhat.com>
16182 * src/NetworkManager.c
16183 - (nm_remove_device_from_list): rename to nm_remove_device
16184 - (nm_hal_device_removed): call nm_remove_device()
16186 * src/NetworkManagerDevice.c
16187 - Change the NMWirelessScanCB member 'reschedule' which
16188 wasn't used to 'force' to indicate that we need to
16189 force a scan when adding a device
16192 - (nm_dbus_nm_sleep): Deactivate all devices and remove them
16193 from the device list
16194 - (nm_dbus_nm_wake): Re-add all devices to the device list
16196 2005-09-01 Robert Love <rml@novell.com>
16198 * gnome/applet/applet.c: nmwa_update_info: iface is used uninitialized
16199 and the check "!iface" in the error case is probably never true.
16201 2005-09-01 Dan Williams <dcbw@redhat.com>
16203 Patch from Bill Nottingham <notting@redhat.com>
16204 * src/backends/NetworkManagerRedHat.c
16205 - Add initial dialup support to Red Hat/Fedora backend
16207 2005-09-01 Dan Williams <dcbw@redhat.com>
16209 * gnome/applet/applet-dbus-devices.c
16210 - Sort both wireless networks and devices again, which got
16211 broken when removing threading
16213 2005-09-01 Christopher Aillon <caillon@redhat.com>
16215 * gnome/applet/applet.c:
16216 Only show the "Stop/Start All Wireless Devices" menuitem
16217 if we actually have wireless devices.
16219 * gnome/applet/applet-dbus-info.c:
16220 * gnome/applet/applet.c:
16221 * gnome/applet/other-network-dialog.c:
16222 * gnome/applet/vpn-password-dialog.c:
16223 Drop the gtk_dialog_run () calls in favor of connecting to
16224 "response" signals, needed now that the applet is not threaded.
16226 2005-08-31 Dan Williams <dcbw@redhat.com>
16228 Patch from Bill Moss <bmoss@clemson.edu>
16229 * src/NetworkManagerDevice.c
16230 - (nm_device_wireless_scan): fix scan timeout values
16232 2005-08-30 Dan Williams <dcbw@redhat.com>
16234 * gnome/applet/wireless-applet.glade
16235 - HIG-ify the Other Wireless Networks dialog a bit more
16236 - Fix some potential segfaults in the info dialog
16238 2005-08-30 Dan Williams <dcbw@redhat.com>
16240 * gnome/applet/applet-dbus-devices.c
16241 - Remove nmwa_dbus_get_hal_device_string_property(); unused
16243 2005-08-30 Dan Williams <dcbw@redhat.com>
16245 * gnome/applet/applet-dbus.[ch]
16246 - Remove all the nmwa_dbus_call_method_xxxx functions since
16247 they weren't being used anyway
16249 2005-08-30 Bastien Nocera <hadess@hadess.net>
16251 * test/nmtestdevices.c: (print_usage), (main):
16252 Check the number of arguments, and fix a typo
16254 2005-08-29 Dan Williams <dcbw@redhat.com>
16256 Patch from Dumitru Ciobarcianu <Dumitru.Ciobarcianu@iNES.RO>
16257 * gnome/applet/applet.c
16258 - Define GTK_STOCK_INFO for GTK 2.6 and lower
16260 2005-08-29 Dan Williams <dcbw@redhat.com>
16263 - Don't use threads any more. Anything that blocks
16264 (like gtk_dialog_run()) will have to get fixed up which
16265 should happen quickly. We really only had threads to make
16266 the animation smooth, and when everything got converted over
16267 to DBus Pending Calls, the need for threads kind of went away
16269 2005-08-29 Christopher Aillon <caillon@redhat.com>
16271 * gnome/applet/applet.c: Draw VPN connections as radio items
16272 since we don't yet support multiple VPNs.
16273 * gnome/applet/other-network-dialog.c: Use stock icon for Connect
16274 * gnome/vpn-properties/nm-vpn-properties.c: Use stock icon for Delete
16276 2005-08-29 Dan Williams <dcbw@redhat.com>
16278 Patch from j@bootlab.org
16279 - Make --without-named work
16280 - Make --with-dhcdbd work correctly
16282 2005-08-27 Josep Puigdemont i Casamajó <josep.puigdemont@gmail.com>
16284 * configure.in: Added "ca" to ALL_LINGUAS.
16286 2005-08-26 Christopher Aillon <caillon@redhat.com>
16288 * Fix up VPN state handling between the applet and NetworkManager,
16289 so that the applet doesn't show a VPN as connected when one
16291 - The applet no longer has a pointer to the active VPN's
16292 name, but tracks each VPNs state individually
16293 - NM no longer has a "getActiveVPNConnection" method
16294 - NM no longer broadcasts the "VPNConnectionChange" signal
16295 - NM now broadcasts a "VPNConnectionStateChange" signal
16296 whenever the state of a VPN changes
16298 2005-08-26 Dan Williams <dcbw@redhat.com>
16300 * gnome/applet/applet-dbus-devices.c
16301 gnome/applet/applet-dbus-vpn.c
16302 - Remove calls to dbus_pending_call_ref() because we already
16303 "own" the pending call
16304 - Remove calls to dbus_pending_call_get_completed() because
16305 when we are in the callback, the pending call is completed
16308 2005-08-22 Dan Williams <dcbw@redhat.com>
16310 Patch by Bill Moss <bmoss@clemson.edu>
16311 * src/dhcp-manager/nm-dhcp-manager.c
16312 - (nm_dhcp_manager_cancel_transaction): Give dhcdbd/dhclient
16313 some time to send out a RELEASE if they like
16315 2005-08-22 Dan Williams <dcbw@redhat.com>
16317 Noticed by Bill Moss <bmoss@clemson.edu>
16318 * src/NetworkManagerDbus.c
16319 - (nm_dbus_get_user_key_for_network_cb): deactivate the device
16320 instead of just cancelling its activation
16322 * src/NetworkManagerDevice.c
16323 - (nm_device_deactivate): some small cleanups
16324 - (nm_device_set_user_key_for_network): deactivate the device
16325 instead of just cancelling its activation
16327 2005-08-22 Dan Williams <dcbw@redhat.com>
16329 Noticed by Bill Moss <bmoss@clemson.edu>
16330 * src/NetworkManagerDevice.c
16331 - (nm_device_wireless_scan): fix scan timeout, we were
16332 waiting way too long for scans to complete
16334 2005-08-22 Dan Williams <dcbw@redhat.com>
16336 Patch from j@bootlab.org:
16337 * src/backends/NetworkManagerDebian.c
16338 - Make the Debian backend work for static IP again
16340 2005-08-20 Christopher Aillon <caillon@redhat.com>
16342 * gnome/applet/other-network-dialog.c:
16343 The "Create New Network" and "Connect to Other Network"
16344 dialogs share alot of code, but shouldn't share a window
16345 title. Give them different ones.
16347 * gnome/applet/wireless-applet.glade:
16348 * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
16349 Some more minor UI tweaks.
16351 2005-08-19 Christopher Aillon <caillon@redhat.com>
16353 * gnome/applet/other-network-dialog.c:
16354 * gnome/applet/wireless-applet.glade:
16355 Also need mnemonic widgets, and underline enabled.
16357 2005-08-19 Dan Williams <dcbw@redhat.com>
16359 * vpn-daemons/vpnc/nm-vpnc-service.c
16360 - (vpnc_watch_cb): remove no-longer-relevant comment
16361 - (write_config_option): new function, helper to write
16362 config options to vpnc's stdin
16363 - (nm_vpnc_config_write): use the new helper, make the
16366 2005-08-19 Christopher Aillon <caillon@redhat.com>
16368 * gnome/applet/passphrase-dialog.c:
16369 * gnome/applet/wireless-applet.glade:
16370 Make the passphrase dialog response based, and treat
16371 responses other than OK (such as Esc, [X]) as a cancel.
16373 2005-08-18 Christopher Aillon <caillon@redhat.com>
16375 * initscript/Gentoo/NetworkManager:
16376 * initscript/RedHat/NetworkManager:
16377 * initscript/RedHat/NetworkManagerDispatcher:
16378 * initscript/SUSE/networkmanager:
16379 CVS remove these in place of .in replacements
16382 * initscript/Gentoo/NetworkManager.in:
16383 * initscript/RedHat/NetworkManager.in:
16384 * initscript/RedHat/NetworkManagerDispatcher.in:
16385 * initscript/SUSE/networkmanager.in:
16386 These scripts now are generated so they work still when
16387 NM is built using a bindir other than /usr/bin
16389 2005-08-18 Dan Williams <dcbw@redhat.com>
16391 * gnome/applet/main.c
16392 - Revert previous change for --no-session since
16393 --sm-disable does the same thing
16395 2005-08-18 Dan Williams <dcbw@redhat.com>
16397 * gnome/applet/applet-dbus-info.c
16398 - (nmi_dbus_create_error_message): new function
16399 - (nmi_dbus_get_key_for_network): correctly use dbus error creation
16400 functions. Also don't check for both device _and_ network before
16401 asking for a user's key, because we may not have gotten all our
16402 networks back from NM quite yet (due to the dbus pending calls
16403 coming in later). Fixes a hang in NM/nm-applet.
16405 * src/NetworkManagerDbus.c
16406 - (nm_dbus_get_user_key_for_network_cb): handle error conditions in a
16407 slightly more sane manner, even though we are still broken for
16408 certain other error conditions.
16409 - (nm_dbus_get_user_key_for_network): need to pass the network's essid
16410 to the info-daemon too
16412 * src/NetworkManagerDevice.c
16413 - Fix some debug messages to be info messages instead
16415 2005-08-18 Dan Williams <dcbw@redhat.com>
16417 * gnome/applet/main.c
16418 - Add new "--no-session" parameter that disables applet
16419 session management, ie for testing
16421 2005-08-18 Christopher Aillon <caillon@redhat.com>
16423 * gnome/applet/other-network-dialog.c:
16424 * gnome/applet/wireless-applet.glade: More mnemonics
16426 2005-08-17 Robert Love <rml@novell.com>
16428 * initscript/SUSE/networkmanager: update
16430 2005-08-17 Dan Williams <dcbw@redhat.com>
16432 * Tag NM_0_4_1_RELEASE
16434 2005-08-17 Christopher Aillon <caillon@redhat.com>
16436 * gnome/applet/applet.c: More translatable string cleanup
16439 2005-08-17 Dan Williams <dcbw@redhat.com>
16441 * gnome/applet/applet-dbus-info.c
16442 - (nmi_dbus_get_key_for_network): Grab new "new_key" parameter
16443 from the dbus message, which tells us to unconditionally
16444 ask the user for a new key. Otherwise, we pull the key from
16445 the keyring and return it. If we fail to get the key from the
16446 keyring, we ask the user for a new key.
16447 - (nmi_dbus_get_network_key): new function to grab the key for
16448 an essid from the keyring.
16449 - (nmi_dbus_get_network_properties): don't access the keyring here.
16450 Also, don't return any key in the dbus message.
16452 * src/NetworkManagerDbus.[ch]
16453 - (nm_dbus_get_user_key_for_network): Add "new_key" parameter to
16454 indicate that we unconditionally want a new key. This function
16455 is now also used to get keys from the info-daemon which are
16456 pre-stored, not just for asking the user for a new key. The
16457 "new_key" parameter indicates whether or not we wish to ask the
16458 user for a new key.
16459 - (nm_dbus_get_network_data_cb): we no longer get a key from the
16460 info-daemon in the return message, so use NULL instead. The
16461 key will be filled in at connect time by calling
16462 nm_dbus_get_user_key_for_network()
16464 * src/NetworkManagerDevice.c
16465 - (nm_device_wireless_configure): update for "new_key" param to
16466 nm_dbus_get_user_key_for_network(). We initially set new_key
16467 to FALSE to see if we have a stored key in the info-daemon, but
16468 if the connection is unsuccessful at this stage we request a
16471 2005-08-17 Dan Williams <dcbw@redhat.com>
16473 * gnome/applet/icons/nm-no-connection.png
16474 gnome/applet/icons/nm-device-wired.png
16475 - Use Diana's new RJ45 connector icons
16477 2005-08-17 Dan Williams <dcbw@redhat.com>
16479 * src/NetworkManagerPolicy.c
16480 - (nm_policy_device_change_check): clarify switching rules if
16481 both new and old devices are valid; mainly, don't switch
16482 away from user-requested wireless connection back to a wired
16485 2005-08-17 Dan Williams <dcbw@redhat.com>
16487 * gnome/applet/Makefile.am
16488 - Relocate the applet to /usr/bin since it is no longer
16489 executed by anything, but directly by the user
16491 2005-08-17 Dan Williams <dcbw@redhat.com>
16493 Patch from Bill Moss <bmoss@clemson.edu>
16495 * gnome/applet/applet-dbus-info.[ch]
16496 - (nmi_save_network_info): save timestamp for network if it
16497 was a change requested by the user
16498 - (nmi_dbus_update_network_info): get user_requested from dbus
16499 message and pass to nmi_save_network_info()
16501 * gnome/applet/applet.c
16502 - (nmwa_update_network_timestamp): remove
16503 - (nmwa_menu_item_activate): don't set timestamp on networks
16504 here, only after a successful connect in nmi_save_network_info()
16506 * src/NetworkManagerDbus.[ch]
16507 - (nm_dbus_update_network_info): pass user_requested into the
16510 * src/NetworkManagerPolicy.c
16511 - (nm_policy_activation_finish): pass user_requested to
16512 nm_dbus_update_network_info()
16514 2005-08-16 Robert Love <rml@novell.com>
16516 * gnome/applet/applet.c: Better "Dial Up" menu item.
16518 2005-08-16 Robert Love <rml@novell.com>
16520 * gnome/applet/applet.c: use GTK_STOCK_INFO not PROPERTIES for the
16521 "Connection Information" menu item.
16523 2005-08-16 Dan Williams <dcbw@redhat.com>
16525 Patch from j@bootlab.org
16526 * vpn-daemons/vpnc/Makefile.am: Fix for autoreconf
16528 * configure.in: allow specifying the path to dhcdbd
16530 2005-08-16 Robert Love <rml@novell.com>
16532 Patch from j@bootlab.org
16533 * src/backends/NetworkManagerDebian.c, src/backends/interface_parser.c,
16534 src/backends/interface_parser.h: Debian dialup support.
16536 2005-08-16 Christopher Aillon <caillon@redhat.com>
16538 * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
16539 * gnome/applet/applet.c: Add some mnemonics for VPNC
16541 * vpn-daemons/.cvsignore: fix this up a little bit
16543 2005-08-16 Robert Love <rml@novell.com>
16545 * src/backends/NetworkManagerSuSE.c: improve the SUSE-backend dial up
16548 2005-08-16 Christopher Aillon <caillon@redhat.com>
16550 * gnome/applet/applet.c: Split markup out of translatable strings
16551 and clean up logic a little bit. (fixes #309012)
16553 2005-08-15 Christopher Aillon <caillon@redhat.com>
16555 * gnome/vpn-properties/nm-vpn-properties.c:
16556 * gnome/vpn-properties/nm-vpn-ui-interface.h:
16557 * vpn-daemons/vpnc/properties/nm-vpnc.c:
16558 Makeshift fix to remove newlines from translatable strings.
16559 Note that we now return an allocated string, so callers of
16560 get_confirmation_details () must now call g_free () on the
16561 result. (fixes #309033).
16563 2005-08-12 Robert Love <rml@novell.com>
16565 * gnome/applet/applet-dbus.c: remove newlines from translatable
16566 strings--not needed here anyway. (fix b.g.o #309011)
16567 * src/nm-netlink.monitor.c: don't translate "%s" (fix b.g.o #172391)
16569 2005-08-11 Robert Love <rml@novell.com>
16571 * gnome/applet/applet.c: mark string as translatable.
16573 2005-08-11 Robert Love <rml@novell.com>
16575 * initscript/SUSE/networkmanager: update.
16577 2005-08-11 Dan Williams <dcbw@redhat.com>
16579 * src/nm-dhcp-manager.c
16580 - (nm_dhcp_manager_get_ip4_config): if for some reason we don't get
16581 an gateway returned from DHCP, try to use the address of the DHCP
16582 server as the gateway instead. Found by Ralf Ertzinger.
16584 2005-08-10 Robert Love <rml@novell.com>
16586 * gnome/applet/applet.c: Make applet->dbus_thread joinable so we can
16587 wait for it on exit; call exit() in nmwa_destroy() to jump ship.
16589 2005-08-10 Dan Williams <dcbw@redhat.com>
16591 Patch from Bill Moss <bmoss@clemson.edu>
16592 * Consolidate writes of access point information updates to the info daemon
16593 so that we only do it when the connection to the access point was
16594 successful. Also consolidates updates to GConf in the Gnome applet.
16596 * src/nm-netlink-monitor.c
16597 - Silence compile warning when calling g_object_new()
16599 2005-08-08 Dan Williams <dcbw@redhat.com>
16601 Patch from Steev <steev@steev.net>:
16602 * src/backends/NetworkManagerGentoo.c
16603 - Stub new dialup backend functions
16605 2005-08-08 Dan Williams <dcbw@redhat.com>
16607 Patch from Colin Slater:
16608 * src/backends/NetworkManagerGentoo.c
16609 - (nm_system_update_dns): Fix exit status check for restarting
16612 2005-08-05 Robert Love <rml@novell.com>
16614 * NetworkManager.h,
16615 gnome/applet/applet-dbus-devices.c,
16616 gnome/applet/applet-dbus-devices.h,
16617 gnome/applet/applet-dbus.c,
16618 gnome/applet/applet.c,
16619 gnome/applet/applet.h,
16620 src/NetworkManager.c,
16621 src/NetworkManagerMain.h,
16622 src/NetworkManagerSystem.h,
16623 src/backends/NetworkManagerRedHat.c,
16624 src/backends/NetworkManagerSuSE.c,
16625 src/nm-dbus-nm.c: basic dialup support using distro infrastructure
16627 2005-08-05 Robert Love <rml@novell.com>
16629 * gnome/applet/other-network-dialog.c: default the adhoc network to the
16630 machine's hostname to make adhoc creation idiot-proof.
16632 2005-08-04 Robert Love <rml@novell.com>
16634 * gnome/applet/other-network-dialog.c: fix leak. "label" needs to be
16637 2005-08-04 Dan Williams <dcbw@redhat.com>
16639 * gnome/applet/applet-dbus-info.c
16640 gnome/applet/applet-dbus-info.h
16641 - (nmi_dbus_update_network_auth_method->nmi_save_network_info): generalize
16642 to store key, key type, and auth method rather than just auth method
16643 - (nmi_dbus_update_network_info): new function
16644 - (nmi_dbus_info_message_handler): updateNetworkAuthMethod -> updateNetworkInfo
16646 * gnome/applet/passphrase-dialog.c
16647 - (nmi_passphrase_dialog_ok_clicked): call nmi_save_network_info() instead
16648 of saving the info ourselves
16650 * gnome/libnm_glib/libnm_glib.c
16651 - Remove the stupid version check for dbus
16653 * src/NetworkManagerAP.c
16654 src/NetworkManagerAP.h
16655 - (nm_ap_get_enc_key_source): return 'const char *' rather than 'char *'
16657 * src/NetworkManagerDbus.c
16658 src/NetworkManagerDbus.h
16659 - (nm_dbus_update_network_auth_method -> nm_dbus_update_network_info): Update
16660 more than just the auth method
16662 * src/NetworkManagerDevice.c
16663 - Update network info at the appropriate times
16665 2005-07-29 Ray Strode <rstrode@redhat.com>
16667 * src/NetworkManager.c (nm_info_handler): don't use input as format
16668 string (Spotted by Ian Jackson).
16670 2005-07-27 Dan Williams <dcbw@redhat.com>
16674 - Random cleanups of spacing
16676 * gnome/applet/applet.h
16677 gnome/applet/other-network-dialog.c
16678 gnome/applet/passphrase-dialog.c
16679 - Conslidate usage of NMWAEncryptionKeyTypes enum
16681 Patch from Bill Moss:
16682 - Make Other Wireless Networks work again with encryption keys
16684 2005-07-26 Dan Williams <dcbw@redhat.com>
16686 Patch from Steev <steev@steev.net>:
16687 * src/backends/NetworkManagerGentoo.c
16688 src/backends/Makefile.am
16689 - Fix up Gentoo backend
16691 2005-07-26 Robert Love <rml@novell.com>
16693 * src/backends/NetworkManagerSuSE.c: misc. cleanup
16695 2005-07-25 Robert Love <rml@novell.com>
16697 * gnome/applet/applet.c: make the "Wired" menu item a radio button,
16698 in the same group as the wireless networks, since they are all
16699 mutually exclusive.
16701 2005-07-24 Ray Strode <rstrode@redhat.com>
16703 * src/nm-netlink-monitor.c (nm_netlink_monitor_new):
16704 remove unneeded NULL arg from g_object_new(). Any
16705 warnings caused by not having the extra NULL are just a
16706 result of a bug in glib 2.7.0 - 2.7.2.
16708 2005-07-22 Robert Love <rml@novell.com>
16710 * gnome/libnm_glib/libnm_glib.c: support D-BUS version 0.35, too
16712 2005-07-22 Robert Love <rml@novell.com>
16714 * src/nm-netlink-monitor.c: g_object_new() needs at least three
16715 parameters (gcc 4.0.2 warning fix).
16717 2005-07-18 Robert Love <rml@novell.com>
16719 Suggested by Aaron Bockover (abockover@novell.com)
16720 * gnome/applet/other-network-dialog.c: ASCII is an acronym, thus
16722 * gnome/applet/passphrase-dialog.c: ditto
16723 * gnome/applet/wireless-applet.glade: ditto
16725 2005-07-13 Dan Williams <dcbw@redhat.com>
16727 Patch from Ray Strode <halfline@gmail.com>
16728 * vpn-daemons/vpnc/nm-vpnc-service.c
16729 - Don't let vpnc daemonize, fixes some races with PID file reading
16731 2005-07-13 Dan Williams <dcbw@redhat.com>
16733 Patch from Ray Strode <halfline@gmail.com>
16734 * Random cleanups for strict CFLAGS
16736 2005-07-07 Dan Williams <dcbw@redhat.com>
16738 Patch from Derek Atkins <warlord@MIT.EDU>
16739 * src/nm-dbus-net.c:
16740 - (nm_dbus_get_ap_from_object_path): differentiate similar ESSIDs
16742 2005-07-07 Dan Williams <dcbw@redhat.com>
16744 Patch from Jos Dehaes <jos_dehaes@fastmail.fm>
16745 * src/backends/NetworkManagerGentoo.c
16746 - Gentoo backend Static IP nameserver fixes
16747 - General Gentoo backend goodness
16749 2005-07-07 Dan Williams <dcbw@redhat.com>
16751 Patch from Bastien Nocera:
16752 * gnome/applet/applet.c
16753 - Fix up error reporting when icons or glade files are missing
16755 2005-07-07 Robert Love <rml@novell.com>
16757 * gnome/applet/applet.c: do not draw the VPN menu's seperator if there
16758 are not any VPN connections above it.
16760 2005-07-07 Robert Love <rml@novell.com>
16762 * gnome/applet/applet.c: whoops, left some "dog" debugging code in.
16764 2005-07-05 Robert Love <rml@novell.com>
16766 * src/NetworkManagerSystem.c: bail out if asked to set a gateway of
16769 2005-07-05 Robert Love <rml@novell.com>
16771 * src/NetworkManagerDevice.c: use link-local (autoip) on DHCP failure
16772 on wired or unencrypted wireless.
16774 2005-07-01 Robert Love <rml@novell.com>
16776 * src/NetworkManagerSystem.c: Print the error via strerror().
16778 2005-06-30 Robert Love <rml@novell.com>
16780 * gnome/vpn-properties/nm-vpn-properties.c: display an error dialog and
16781 then exit if the glade file is not found. currently the application
16784 2005-06-30 Robert Love <rml@novell.com>
16786 * src/nm-dbus-nm.c: Patch by Bill Moss <bmoss@clemson.edu> to
16787 explicitly up all interfaces on wake from sleep.
16789 2005-06-30 Robert Love <rml@novell.com>
16791 * gnome/applet/applet.c: Add right-click menu item "Connection Info"
16792 with information about the currently active connection.
16793 * gnome/applet/applet.h: (ditto)
16794 * gnome/applet/wireless-applet.glade: (ditto), new file
16796 2005-06-30 Robert Love <rml@novell.com>
16798 * src/NetworkManagerDevice.c: g_malloc0 cannot fail.
16799 * src/nm-dbus-nm.c: print when we sleep and wake up.
16800 * gnome/applet/menu-items.c: whitespace, misc. cleanup.
16801 * configure.in: look in "/usr/sbin" for dhcdbd, too. (it shouldn't be
16802 in /sbin unless D-BUS is, folks).
16803 * README: update to reflect nm-applet replacing NetworkManagerInfo.
16805 2005-06-27 Robert Love <rml@novell.com>
16807 * src/nm-dbus-nm.c: fix "setWirelessEnabled" call for the enabling
16810 2005-06-27 Robert Love <rml@novell.com>
16812 * gnome/applet/applet.c: make the 'Wireless Network Discovery' menu
16815 2005-06-26 Robert Love <rml@novell.com>
16817 * src/NetworkManagerDevice.c: be specific about which device in
16820 2005-06-23 Adam Weinberger <adamw@gnome.org>
16822 * src/nm-netlink-monitor.c: correct spelling error.
16824 2005-06-23 Robert Love <rml@novell.com>
16826 * gnome/applet/applet-dbus-info.c: gnome keyring support!
16827 * gnome/applet/passphrase-dialog.c: more of that keyring!
16829 2005-06-23 Robert Love <rml@novell.com>
16831 * configure.in: remove extraneous GNOMEKEYRING directives.
16832 * gnome/applet/Makefile.am: s/GNOMEKEYRING/GNOME_KEYRING/.
16833 * gnome/applet/applet.c: nmwa_icons_init: make style local.
16834 * gnome/applet/passphrase-dialog.c: whitespace.
16836 2005-06-23 Robert Love <rml@novell.com>
16838 * src/NetworkManagerDevice.c: division in assignment was flipped.
16840 2005-06-23 David Zeuthen <david@fubar.dk>
16842 * gnome/applet/vpn-password-dialog.c (child_stdout_data_cb): Send a
16843 signal to the child to indicate that we got what we wanted when we
16844 see two new-lines right after each other.
16845 (nmwa_vpn_request_password): Pass a structure with several members
16846 instead of just the passwords
16848 2005-06-23 Dan Williams <dcbw@redhat.com>
16850 * src/NetworkManager.c
16851 src/NetworkManagerMain.h
16852 - (nm_get_hal_ctx): new function, move Hal initialization code here
16853 - (nm_hal_init): new function, init libhal context then add devices
16854 - (nm_hal_deinit): new function, clean up libhal context
16855 - (nm_data_free): Move Hal cleanup here
16856 - (main): check whether Hal is running, and if so, get a list of
16857 network devices from it
16859 * src/NetworkManagerDbus.c
16860 - (nm_dbus_signal_filter): trap NameOwnerChanged signals for Hal,
16861 and when it appears, get a list of network devices from it. If
16862 Hal goes away, clean up the libhal context
16864 2005-06-22 Robert Love <rml@novell.com>
16866 * dispatcher-daemon/NetworkManagerDispatcher.c: fix FIXME: check
16867 permissions of scripts before executing.
16869 2005-06-21 Robert Love <rml@novell.com>
16871 * initscript/SUSE/networkmanager: update.
16872 * src/backends/NetworkManagerSuSE.c: cleanup.
16874 2005-06-21 Robert Love <rml@novell.com>
16876 * gnome/applet/applet.c: use menu mnemonics.
16877 * gnome/applet/menu-items.c: (ditto)
16879 2005-06-21 Robert Love <rml@novell.com>
16881 * applet/applet-dbus-devices.c: mark non-static functions static.
16882 * applet/applet-dbus-vpn.c: (ditto)
16883 * applet/applet.c: (ditto)
16884 * applet/nm-device.h: (ditto)
16885 * applet/other-network-dialog.c: (ditto)
16886 * applet/passphrase-dialog.c: (ditto)
16887 * NetworkManager.c: (ditto)
16888 * NetworkManagerDbus.c: (ditto)
16889 * NetworkManagerDevice.c: (ditto)
16890 * NetworkManagerPolicy.c: (ditto)
16891 * NetworkManagerUtils.c: (ditto)
16892 * NetworkManagerWireless.c: (ditto)
16893 * NetworkManagerWireless.h: (ditto)
16894 * nm-netlink-monitor.c: (ditto)
16895 * applet/applet-dbus-info.c: (ditto), add FIXME's.
16896 * vpn-manager/nm-dbus-vpn.c: (ditto), remove shadowed variable.
16897 * autoip.c: include autoip.h.
16898 * autoip.h: new file. define get_autoip().
16899 * nm-netlink-monitor.h: define nm_netlink_close_connection().
16900 * NetworkManagerDbus.h: remove duplicate definitions.
16902 2005-06-20 Robert Love <rml@novell.com>
16904 * Makefile.am: Add missing intltool-foo.in generated files to
16905 EXTRA_DIST so that 'distcheck' works. Also add DISTCLEANFILES
16906 with the start of stuff to cleanup on 'distclea'.
16907 * configure.in: add AC_PROG_INTLTOOL macro so that we do the intltool
16908 stuff right and 'distcheck' works.
16909 * po/POTFILES.in: Remove examples/python/systray/eggtrayicon.c. If
16910 we keep it, we need to add all of examples/* to EXTRA_DIST and do
16911 Makefile.am for each. And systray/Makefile needs to be redone.
16913 2005-06-19 Dan Williams <dcbw@redhat.com>
16915 * src/NetworkManagerDevice.c
16916 - (nm_device_wireless_process_scan_results): scan every 20s when
16917 disconnected and scanning is ALWAYS_SCAN or WHEN_UNASSOCIATED
16919 2005-06-19 Dan Williams <dcbw@redhat.com>
16921 * WEXT_DEBUG->IOCTL_DEBUG, extend checking to all ioctl() calls
16923 2005-06-18 Ray Strode <rstrode@redhat.com>
16925 * src/nm-netlink-monitor.c
16926 (nm_netlink_monitor_event_handler): check for the presence
16927 of either error condition not both.
16929 (nm_netlink_monitor_error_handler): emit error signal if
16932 (nm_netlink_monitor_event_handler),
16933 (nm_netlink_monitor_error_handler),
16934 (nm_netlink_monitor_disconnect_handler): if an
16935 assertion fails disconnect the event handler to prevent
16938 * src/nm-netlink-monitor.h: add new error condition
16939 NM_NETLINK_MONITOR_ERROR_WAITING_FOR_SOCKET_DATA
16941 2005-06-18 Ray Strode <rstrode@redhat.com>
16943 * src/nm-netlink-monitor.c
16944 (nm_netlink_monitor_event_handler): remove bogus < 0
16945 check on unsigned value and return early if the kernel
16946 didn't send any bytes.
16948 2005-06-17 Robert Love <rml@novell.com>
16950 * initscript/SUSE/networkmanager: Change the Provides and default
16953 2005-06-16 Dan Williams <dcbw@redhat.com>
16955 Patch from Robert Love:
16956 * gnome/applet/applet.c
16957 - Beautify some applet menu item names
16959 2005-06-17 David Zeuthen <davidz@redhat.com>
16961 * gnome/vpn-properties/nm-vpn-ui-interface.h: Require users of this
16962 API to define NM_VPN_API_SUBJECT_TO_CHANGE to acknowledge API churn.
16963 Also add new methods can_export, import_file and export.
16965 * gnome/vpn-properties/nm-vpn-properties.glade: Add an Export button
16968 * gnome/vpn-properties/nm-vpn-properties.c:
16969 Define NM_VPN_API_SUBJECT_TO_CHANGE so we can actually include
16970 nm-vpn-ui-interface.h.
16971 (update_edit_del_sensitivity): Also update "Export" sensitivity
16972 (add_vpn_connection): Also add new SVC_NAME column
16973 (import_settings): New function
16974 (retrieve_data_from_selected_connection): New function
16975 (edit_cb): Use retrieve_data_from_selected_connection to simplify
16977 (export_cb): New function
16978 (init_app): Also setup the "export" widget
16979 (main): Support the --import-service and --import-file commandline
16982 * gnome/libnm_glib/libnm_glib.c (libnm_glib_dbus_filter): Also support
16985 2005-06-16 Dan Williams <dcbw@redhat.com>
16987 Patch from Robert Love:
16988 * gnome/applet/menu-items.c
16989 - (network_menu_item_new): pass -1 as wireless network
16990 menu items height size request rather than ascent / 2
16992 2005-06-16 Dan Williams <dcbw@redhat.com>
16994 * Clean up wording in Wireless Scan Methods menu items and constants
16996 2005-06-16 Robert Love <rml@novell.com>
16999 - remove gtkcell* files
17001 2005-06-15 Dan Williams <dcbw@redhat.com>
17003 Patch from Robert Love: make the applet stetic
17005 * gnome/applet/Makefile.am
17006 - Don't compile the gtkcellview and gtkcellrendererprogress files
17008 * gnome/applet/gtkcellview.h
17009 gnome/applet/gtkcellview.c
17010 gnome/applet/gtkcellrendererprogress.h
17011 gnome/applet/gtkcellrendererprogress.c
17014 * gnome/applet/menu-items.c
17015 - Progress bars are 5:1 size ratio
17016 - Use GTK progress bars rather than internal ones
17018 2005-06-15 Dan Williams <dcbw@redhat.com>
17020 Patch from Robert Love:
17021 * initscript/SUSE/networkmanager
17024 2005-06-15 Dan Williams <dcbw@redhat.com>
17026 * src/backends/NetworkManagerSuSE.c
17027 src/backends/NetworkManagerRedHat.c
17028 src/backends/NetworkManagerDebian.c
17029 - (set_ip4_config_from_resolv_conf): Fix typo I made, '==' -> '='
17031 2005-06-15 Dan Williams <dcbw@redhat.com>
17033 * src/backends/NetworkManagerDebian.c
17034 - Add nm_system_device_get_use_dhcp() to debian backend
17036 Patch from Kay Sievers:
17037 * src/backends/NetworkManagerSuSE.c
17038 - Update debian backend for static IP nameservers
17040 * src/NetworkManagerDevice.c
17041 - Actually set the device to use static IP or DHCP rather
17044 2005-06-15 Dan Williams <dcbw@redhat.com>
17046 Patch from Thom May:
17047 * src/backends/NetworkManagerDebian.c
17048 - Update debian backend for static IP nameservers
17050 2005-06-15 Dan Williams <dcbw@redhat.com>
17052 Patches from Robert Love:
17053 * gnome/applet/wireless-applet.glade
17054 - Tighten up wording
17056 * src/NetworkManagerDevice.c
17057 - Remove misplaced ';'
17060 initscript/Makefile.am
17061 initscript/SUSE/Makefile.am
17062 initscript/SUSE/networkmanager
17063 - Add SUSE initscript
17065 2005-06-12 David Zeuthen <davidz@redhat.com>
17067 * gnome/vpn-properties/nm-vpn-ui-interface.h: New file
17069 * gnome/vpn-properties/nm-vpn-properties.glade: New file
17071 * gnome/vpn-properties/nm-vpn-properties.c: New file
17073 * gnome/vpn-properties/Makefile.am: New file
17075 * src/vpn-manager/nm-vpn-manager.h: Rework prototypes to take an
17078 * src/vpn-manager/nm-vpn-manager.c
17079 (nm_vpn_manager_activate_vpn_connection): Take an array of passwords
17080 instead of just a single one
17082 * src/vpn-manager/nm-dbus-vpn.c:
17083 (nm_dbus_vpn_get_vpn_connection_properties): Also append service_name
17085 (nm_dbus_vpn_activate_connection): Rework to take an array of passwords
17087 * gnome/applet/vpn-password-dialog.h (nmwa_vpn_request_password):
17088 Change the interface here to give a list of passwords. Also, don't
17089 require username, but do require service
17091 * gnome/applet/vpn-password-dialog.c: Look up the VPN .name files for
17092 the binary for the auth-dialog and use that instead of putting up a
17093 dialog asking for a single password
17095 * gnome/applet/vpn-connection.[ch]: Don't remember the user_name,
17096 however do remember the service
17098 * gnome/applet/main.c (main): Setup i18n
17100 * gnome/applet/applet.c (nmwa_update_state): Add a line "VPN
17101 connection to '%s'" to the tooltip if we are connected using VPN
17102 (nmwa_menu_vpn_item_activate): Check last_attempt_success gconf
17103 key to determine whether we the auth-dialog needs to
17104 reprompt. Also cope with the fact that the auth-dialog now returns
17105 an array of passwords.
17106 (nmwa_menu_configure_vpn_item_activate): New handler for
17107 "Configure VPN..." menu item
17108 (nmwa_menu_add_vpn_menu): Add the "Configure VPN..." menu item
17109 (is_vpn_available): New function to determine if we got any
17110 NM-compatible VPN software installed
17111 (nmwa_menu_add_devices): Use is_vpn_available to add VPN menu
17112 items only if we have NM-compatible VPN software installed
17113 (nmwa_gconf_vpn_connections_notify_callback): Slightly rework the
17114 logic for detecting when VPN connections are removed
17116 * gnome/applet/applet-dbus.h: Removed the prototypes for
17117 nmwa_dbus_vpn_activate_connection, nmwa_dbus_vpn_deactivate_connection
17118 since these are defined elsewhere
17120 * gnome/applet/applet-dbus.c (set_vpn_last_attempt_status): New
17121 function used to keep track of whether the last attempt succeded
17122 (nmwa_dbus_filter): Update last_attempt according to whether the
17123 VPN connection could be established or not
17125 * gnome/applet/applet-dbus-vpn.h (nmwa_dbus_vpn_deactivate_connection):
17126 Change prototype to take an array of passwords, not just a single
17129 * gnome/applet/applet-dbus-vpn.c (nmwa_dbus_vpn_properties_cb): Only
17130 update service, not user
17131 (nmwa_dbus_vpn_remove_one_vpn_connection): Check that applet->
17132 dbus_active_vpn_name is not NULL before using it
17133 (nmwa_dbus_vpn_activate_connection): Send the passwords as a
17134 string array instead of assuming a single password
17136 * gnome/applet/applet-dbus-info.c:
17137 (nmi_dbus_get_vpn_connection_properties): Use the logged in user for
17138 user name; don't read from gconf
17140 * gnome/applet/Makefile.am: Also export SYSCONFDIR and
17143 * gnome/Makefile.am (SUBDIRS): Add vpn-properties
17145 * configure.in: Add checks for gmodule-2.0.
17146 Generate gnome/vpn-properties/Makefile. Don't generate any Makefile's
17147 in vpn-daemons nor vpn-daemons/vpnc. We have separate autotooled
17148 projects under vpn-daemons now. See vpn-daemons/vpnc/Changelog
17151 * vpn-daemons/Makefile.am: Removed
17153 * vpn-daemons/README: New file to describe extensions points for VPN
17156 2005-06-10 Dan Williams <dcbw@redhat.com>
17158 * src/backends/NetworkManagerRedHat.c
17159 - (get_current_profile_name): new function, grab current network profile name from
17160 /etc/sysconfig/network
17161 - (set_ip4_config_from_resolv_conf): new function, parse a resolv.conf and
17162 update an IP4 Config structure's settings from it
17163 - (nm_system_device_get_system_config): if we're using static IP on this device,
17164 get DNS info from current network profile
17166 2005-06-09 Dan Williams <dcbw@redhat.com>
17168 Patch from Robert Love:
17169 * src/NetworkManagerDevice.c
17170 src/NetworkManagerUtils.c
17171 - 64-bit build fixes
17173 2005-06-09 Dan Williams <dcbw@redhat.com>
17175 Patch from Kay Sievers and Robert Love:
17177 src/backends/Makefile.am
17178 src/backends/NetworkManagerSuSE.c
17181 2005-06-09 Dan Williams <dcbw@redhat.com>
17184 - Add NMWirelessScanMethod enum for scan methods
17186 * gnome/applet/applet-dbus-devices.c
17187 - (nmwa_dbus_update_scanning_enabled_cb): remove
17188 - (nmwa_dbus_update_scanning_enabled): remove
17189 - (nmwa_dbus_update_devices): don't call nmwa_dbus_update_scanning_enabled() anymore
17190 since it got removed
17191 - (nmwa_dbus_enable_scanning): remove
17193 * gnome/applet/applet-dbus-info.c
17194 - (nmi_dbus_signal_update_scan_method): new function, signal NetworkManager to
17195 update the wireless scanning method from NMI
17196 - (nmi_dbus_get_wireless_scan_method): new function, return wireless scanning
17197 method value to NetworkManager
17198 - (nmi_dbus_info_message_handler): respond to the "getWirelessScanMethod" method call
17200 * gnome/applet/applet-dbus-info.h
17201 - Add prototype for nmi_dbus_signal_update_scan_method
17203 * gnome/applet/applet.c
17204 - (scanning_menu_update): new function, update one GtkCheckMenuItem from the
17205 Wireless Scanning menu based on current wireless scan method
17206 - (nmwa_menu_scanning_item_activate): new function, callback for GTK "activate"
17207 signal for Wireless Scanning menu items, tell NetworkManager the new method
17208 and update our menu items to make sure the right one is checked
17209 - (nmwa_set_scanning_enabled_cb): remove
17210 - (nmwa_context_menu_update): remove references to pause_scanning_item
17211 - (nmwa_context_menu_create): remove pause_scanning_item, and add new Wireless
17213 - (nmwa_gconf_get_wireless_scan_method): new method, pull wireless scanning method
17215 - nmwa_gconf_networks_notify_callback -> nmwa_gconf_info_notify_callback: generalize
17216 so we get notified of preference values too
17217 - (nmwa_get_instance): monitor GCONF_PATH_WIRELESS rather than GCONF_PATH_WIRELESS_NETWORKS
17219 * gnome/applet/applet.h
17220 - GCONF_PATH_WIRELESS added, one level below GCONF_PATH_WIRELESS_NETWORKS
17221 - Add wireless scan method member to applet data
17222 - Remove pause_scanning_item, add Wireless Scanning submenu
17224 * src/NetworkManager.c
17225 - (nm_data_new): default to NM_SCAN_METHOD_ON
17226 - (main): grab scanning method from NMI if we can
17228 * src/NetworkManagerDbus.c
17229 - (nm_dbus_update_wireless_scan_method_cb): new function, callback from
17230 nm_dbus_update_wireless_scan_method()
17231 - (nm_dbus_update_wireless_scan_method): new function to grab scanning method
17233 - (nm_dbus_nmi_is_running): redundant function, removed
17234 - (nm_dbus_signal_filter): trap "WirelessScanMethodUpdate" signal, grab scanning method
17235 when NMI comes back
17237 * src/NetworkManagerDevice.c
17238 - (nm_device_is_activated): return TRUE if the device is activated
17239 - (nm_device_wireless_scan): don't scan if the scan method is OFF, or if its AUTO
17240 and we are activated
17243 - (nm_dbus_nm_set_scanning_enabled): removed
17244 - nm_dbus_nm_get_scanning_enabled -> nm_dbus_nm_get_wireless_scan_method
17245 - (nm_dbus_nm_methods_setup): remove [get | set] ScanningEnabled and add "getWirelessScanMethod"
17247 2005-06-09 Dan Williams <dcbw@redhat.com>
17250 src/vpn-manager/nm-vpn-service.c
17251 - NM_VPN_STATE_ERROR -> NM_VPN_STATE_UNKNOWN (more consistent with other enums)
17253 2005-05-27 Dan Williams <dcbw@redhat.com>
17255 * vpn-daemons/vpnc/nm-vpnc-service.c
17256 - (vpnc_watch_cb): wait a bit before trying to read vpnc's pidfile.
17257 Should fix the bug where the VPN connection terminates the first time.
17259 2005-05-20 Dan Williams <dcbw@redhat.com>
17262 - Differentiate VPN config signals between bad VPN config options
17265 * gnome/applet/applet-dbus-info.h
17266 - Add prototypes for wireless network and vpn connection update functions
17268 * gnome/applet/applet-dbus.c
17269 - (nmwa_dbus_filter): trap new VPN config error signals from NetworkManager
17271 * gnome/applet/applet.c
17272 - (nmwa_schedule_vpn_failure_dialog): new dialog text for new VPN config
17274 - (nmwa_gconf_networks_notify_cb): re-enable wireless network change notify
17275 propogation to NetworkManager
17276 - (nmwa_gconf_vpn_connections_notify_cb): re-enable vpn connection change
17277 notify propogation to NetworkManager
17279 * src/NetworkManagerDbus.c
17280 - (nm_dbus_update_one_allowed_network): make sure to specify which AP list we
17281 are updating so a network can be removed from it if necessary
17283 * src/vpn-manager/nm-vpn-manager.c
17284 - (nm_vpn_manager_process_signal): trap new vpn config error signals
17286 * vpn-daemons/vpnc/nm-vpnc-service.c
17287 - (nm_vpnc_dbus_signal_failure): generalize function for all VPN error signals
17288 - (nm_vpnc_dbus_signal_launch_failed): remove
17289 - (nm_vpnc_dbus_signal_connect_failed): remove
17290 - (nm_vpnc_helper_timer_cb): update for new generalized error signal function
17291 - (nm_vpnc_schedule_helper_timer): increase timeout to 10s
17292 - (vpnc_watch_cb): don't whine about exit code if vpnc exited cleanly, update
17293 for new generalized error signal function, remove config file stuff
17294 - (nm_vpnc_start_vpnc_binary): grab a stdin pipe to vpnc after spawning it so
17295 we can write configuration options to it
17296 - (nm_vpnc_config_file_generate): removed
17297 - (nm_vpnc_config_write): write configuration options to the vpnc stdin pipe
17298 - (nm_vpnc_config_options_validate): validate the config options we receive
17299 from NetworkManager to block potential exploits
17300 - (nm_vpnc_dbus_handle_start_vpn): call option validation function before
17302 - (nm_vpnc_dbus_process_helper_config_error): actually propogate config error
17305 2005-05-16 Dan Williams <dcbw@redhat.com>
17307 * vpn-daemons/vpnc/nm-vpnc-service-vpnc-helper.c
17308 - (main): Work correctly with vpnc 0.3.3 by exiting if the "reason" code
17311 2005-05-16 Dan Williams <dcbw@redhat.com>
17313 Patch from Tomislav Vujec <tvujec@redhat.com>
17314 * gnome/applet/applet-dbus-info.c
17315 - (nmi_dbus_get_vpn_connection_routes): new function, pull routes out of
17316 GConf and pass them to NetworkManager. New key is 'routes' under
17317 the VPN connection, and should be a string list
17319 * src/NetworkManagerSystem.c
17320 - (nm_system_vpn_device_set_from_ip4_config): if user-defined routes exist,
17321 set them on the device when we set the rest of the VPN config. Ensure
17322 they are in the correct format since they are passed directly to the
17325 * src/backends/NetworkManagerRedHat.c
17326 src/backends/NetworkManagerDebian.c
17327 - (nm_system_device_add_route_via_device_with_iface): new function
17329 * src/vpn-manager/nm-dbus-vpn.c
17330 - (nm_dbus_vpn_get_routes): grab VPN routes from NetworkManagerInfo
17332 * src/vpn-manager/nm-vpn-manager.c
17333 - (nm_vpn_manager_handle_ip4_config_signal): grab routes from NMI and pass
17334 them into the IP4 config functions
17336 2005-05-15 Dan Williams <dcbw@redhat.com>
17338 From Filip Miletic:
17342 - Serbian translation added
17344 2005-05-15 Dan Williams <dcbw@redhat.com>
17346 * dispatcher-daemon/NetworkManagerDispatcher.c
17347 - (main): sync arguments with NetworkManager and the applet, now use
17348 "--no-daemon" rather than "daemon=no"
17349 - (nmd_print_usage): Fix script path in usage message
17351 2005-05-15 Dan Williams <dcbw@redhat.com>
17353 * src/NetworkManagerDevice.[ch]
17354 src/NetworkManagerPolicy.c
17355 src/NetworkManager.c
17357 - Remove the "just_added" parameter from nm_device_deactivate(). We no
17358 longer send the DeviceNoLongerActive signal unconditionally, but only
17359 when the device is actually active.
17361 * dispatcher-daemon/NetworkManagerDispatcher.c
17362 - (nmd_execute_scripts): convert to GLib directory functions from opendir(),
17363 and simplify the logic
17364 - (nmd_get_device_name): copy value from dbus reply so we don't segfault when
17365 we free it later on
17367 * initscript/RedHat/Makefile.am
17368 initscript/RedHat/NetworkManagerDispatcher
17369 - Add initscript for NetworkManagerDispatcher
17372 Patch from Bill Moss:
17373 * dispatcher-daemon/NetworkManagerDispatcher.c
17374 - Remove IP4AddressChange signal code including nmd_get_device_ip4_address()
17376 * src/NetworkManagerDbus.c
17377 - (nm_dbus_signal_device_ip4_address_change): remove. If the device goes up,
17378 and DeviceNowActive gets signaled, then the device has a new IP address
17379 anyway. There's no need for a separate signal.
17381 * src/NetworkManagerDevice.c
17382 - (nm_device_update_ip4_address): Don't send IP4AddressChange signal
17384 * src/NetworkManagerPolicy.c
17385 - (nm_policy_activation_finish): Send DeviceNowActive signal when the device
17386 activates successfully. This kind of went missing when I reworked the
17389 2005-05-15 Dan Williams <dcbw@redhat.com>
17392 - Check for dhcdbd and error if its not found
17394 * src/dhcp-manager/Makefile.am
17395 src/dhcp-manager/nm-dhcp-manager.c
17396 - Use path to dhcdbd that configure found
17398 2005-05-14 Dan Williams <dcbw@redhat.com>
17400 * gnome/applet/nm-device.c
17401 - (network_device_sort_wireless_networks, sort_networks_function): New functions to
17402 sort wireless networks alphabetically
17404 * gnome/applet/applet-dbus-devices.c
17405 - (mwa_dbus_devices_lock_and_copy): Sort network device's wireless network lists
17406 before copying them over to the GUI
17408 2005-05-14 Dan Williams <dcbw@redhat.com>
17410 * src/NetworkManager.c
17411 - (device_stop_and_free): Deactivate VPN connections before deactivating devices,
17412 fixes a deadlock on shutdown with a VPN connection active. This function locks
17413 the device list, as does nm_get_active_device() which is called from
17414 nm_vpn_manager_deactivate_vpn_connection().
17416 2005-05-14 Dan Williams <dcbw@redhat.com>
17419 - Add signals for VPN Launch and Connect failures
17421 * gnome/applet/applet-dbus.c
17422 - (nmwa_dbus_filter): Trap new VPN launch & connect failure signals
17424 * gnome/applet/applet.c
17425 - (nmwa_show_vpn_failure_dialog): generalize old nmwa_show_vpn_login_failure_dialog()
17426 function to handle all VPN failure messages
17427 - (nmwa_schedule_vpn_failure_dialog): generalize old nmwa_schedule_vpn_login_failure_dialog()
17428 function to hanlde all VPN failure messages
17429 - (show_warning_dialog): work around focus-stealing prevention
17431 * gnome/applet/other-network-dialog.c
17432 gnome/applet/passphrase-dialog.c
17433 - (update_button_cb): Make sure the OK button is enabled when it should be, fixes
17434 problem where it never enabled for ASCII Key and Hex Key types
17436 * gnome/applet/wireless-applet.glade
17437 - Add window title to Other Wireless Network Dialog
17439 * src/vpn-manager/nm-dbus-vpn.c
17440 - (nm_dbus_vpn_signal_vpn_failed): generalize old nm_dbus_vpn_signal_vpn_login_failed()
17441 function to handle all VPN failure messages
17443 * src/vpn-manager/nm-vpn-manager.c
17444 - (nm_vpn_manager_process_signal): trap and proxy VPN launch & connect failure signals too
17446 * vpn-daemons/vpnc/nm-vpnc-service.c
17447 - (nm_vpnc_dbus_signal_launch_failed): new function
17448 - (nm_vpnc_dbus_signal_connect_failed): new function
17449 - (nm_vpnc_helper_timer_cb): signal connect failure on timeout
17450 - (vpnc_watch_cb): signal connection failure when vpnc exits with connection failure
17451 - (nm_vpnc_start_vpnc_binary): search a number of locations for vpnc
17452 - (nm_vpnc_dbus_handle_start): send launch failure signal when we fail to launch vpnc
17454 2005-05-11 Dan Williams <dcbw@redhat.com>
17456 * vpn-daemons/vpnc/nm-vpnc-service.c
17457 - (nm_vpnc_start_vpnc_binary): NULL-ify GError before using it
17458 - (nm_vpnc_config_file_generate): Attempt to ensure that the path for the config
17459 file exists before trying to write it out.
17461 2005-05-10 Dan Williams <dcbw@redhat.com>
17463 * gnome/applet/applet-dbus-device.c
17464 - (nmwa_dbus_set_device): remove check for valid key and key type, which
17465 prevented just entering ESSID and leaving key and key type up to
17466 NetworkManager (which should have them already cached)
17468 2005-05-08 Dan Williams <dcbw@redhat.com>
17470 * src/NetworkManagerPolicy.c
17471 - (nm_policy_activation_finish): Don't set NM_ACT_STAGE_ACTIVATED here, instead...
17472 - (nm_policy_schedule_activation_finish): Set NM_ACT_STAGE_ACTIVATED here to
17473 fix a situation where NM is told to terminate and the device stops activation,
17474 but the main thread isn't aware of that because it would never have run
17475 nm_policy_activation_finish() to set the ACTIVATED flag, because the main loop
17478 * src/NetworkManagerDevice.c
17479 - (nm_device_probe_wired_link_state): cosmetic fixes
17480 - (nm_device_activate_stage5_ip_config_commit): Don't check link state if
17481 we've failed to activate or been canceled.
17482 - (nm_ac_test): nm_debug -> nm_info for "waiting for device to cancel" message
17484 2005-05-08 Dan Williams <dcbw@redhat.com>
17486 * src/NetworkManagerWireless.c
17487 - (nm_wireless_qual_to_percent): Fix #if -> #ifdef, print out the "updated"
17488 value of WEXT quality structures, and add a debug message when we cannot
17489 determine any quality % at all
17491 2005-05-08 Dan Williams <dcbw@redhat.com>
17493 * src/dhcp-manager/nm-dhcp-manager.c
17494 - (nm_dhcp_manager_begin_transaction): Tell dhclient to release leases when
17497 2005-05-06 Dan Williams <dcbw@redhat.com>
17499 * gnome/applet/applet-dbus-device.c
17500 gnome/applet/applet-dbus-info.c
17501 gnome/applet/applet-dbus.c
17502 gnome/applet/applet.c
17503 gnome/applet/applet.h
17504 - (nmwa_get_device_for_nm_device) -> (nmwa_get_device_for_nm_path)
17506 * gnome/applet/applet-dbus.c
17507 - (nmwa_dbus_filter): trap DeviceCarrierOn/DeviceCarrierOff signals
17508 so we notice when wired device's carriers come back on. Should
17509 fix issue with wired devices being grayed out even if the cable
17510 is in, for devices that support carrier detection.
17512 * gnome/applet/applet.c
17513 - (nmwa_driver_notify): bash focus-stealing prevention in the face
17514 - (nmwa_act_stage_to_pixbuf): Clarify wireless ACT_STAGE_DEVICE_CONFIG
17516 - (nmwa_menu_item_activate, nmwa_menu_add_device_item, nmwa_menu_item_data_free):
17517 Fix situation where applet wouldn't respond to menu selections
17519 * src/NetworkManager.c
17520 src/NetworkManagerDevice.c
17521 src/NetworkManagerDbus.c
17522 src/NetworkManagerDbus.h
17523 - (nm_dbus_signal_device_status_change) -> (nm_dbus_schedule_device_status_change_signal)
17525 * src/NetworkManagerDbus.c
17526 - (nm_dbus_send_network_not_found, nm_dbus_schedule_network_not_found_signal):
17527 Remove, no longer used or relevant
17528 - (nm_dbus_signal_device_status_change): Better signal enum->string matching
17529 - (nm_dbus_schedule_device_status_change_signal): add
17531 * src/NetworkManagerDevice.c
17532 - (nm_device_worker_thread_stop): don't try to join a NULL worker thread
17533 - (nm_device_set_link_active): Fix up switching for non-carrier-detect devices,
17534 ie don't deactivate them unless explicitly told to by the user. Also send
17535 CARRIER_OFF / CARRIER_ON signals when link changes
17536 - (nm_device_set_essid, nm_device_set_enc_key, nm_device_is_up, nm_device_set_mode):
17537 Don't print error message when device is no longer around
17538 - (nm_device_deactivate): kill any current DHCP process attached to this device,
17539 not just during activation
17541 * src/NetworkManagerPolicy.c
17542 - (nm_policy_auto_get_best_device): Ignore semi-supported devices completely from
17543 auto-device-selection.
17544 - (nm_policy_device_change_check): Don't interrupt semi-supported devices
17546 * src/NetworkManagerSystem.c
17547 - (nm_system_device_set_up_down_with_iface): Quiet first warning message when device
17548 is no longer present (Bill Moss)
17550 * src/backends/shvar.c
17551 - (svOpenFile): Open read-only to make SELinux happy
17553 * src/backends/NetworkManagerRedHat.c
17554 - (nm_system_device_get_system_config): Use SYSCONFDIR rather than hardcoding
17555 the path to the ifcfg-* files
17557 2005-05-05 Dan Williams <dcbw@redhat.com>
17559 * Expose activation stages to NetworkManager clients, like the applet
17560 * Add Diana's progress icons to the applet, cued off NM activation stage
17561 * Use more descriptive tooltips, cued off NM activation stage
17563 2005-05-05 Ray Strode <rstrode@redhat.com>
17565 * src/nm-netlink-monitor.c:
17566 - Use clear_event_source instead of g_nullify_pointer() again.
17568 2005-05-05 Dan Williams <dcbw@redhat.com>
17570 * gnome/applet/main.c
17571 - Fix session management so the applet is actually managed now
17573 * gnome/applet/passphrase-dialog.c
17574 - (nmi_passphrase_dialog_show): bash focus-stealing prevention in the face
17576 2005-05-05 Dan Williams <dcbw@redhat.com>
17578 Patch from Bill Moss:
17579 * gnome/libnm_glib/libnm_glib.c
17580 - Fix for dbus-0.33
17582 2005-05-05 Dan Williams <dcbw@redhat.com>
17584 Suggestion from Bill Moss:
17585 * src/NetworkManagerSystem.c
17586 - (nm_system_device_set_up_down_with_iface): ignore ENODEV
17589 * src/NetworkManager.c
17590 - (nm_data_free): move destruction of the various managers after
17591 release of device list, because deactivating and freeing a device
17592 requires at least the named manager
17593 - (nm_poll_and_update_wireless_link_state):
17594 (nm_device_link_activated):
17595 (nm_device_link_deactivated):
17596 don't grab the device list lock when actually updating device
17597 link status or strength, since nm_device_set_link_active()
17598 needs to call nm_get_active_device(), which also locks the device list.
17600 * src/NetworkManagerDevice.c
17601 - (nm_device_set_link_active): if a device's link switches from off->on,
17602 and it's wired, and the active device is wireless (or there is no
17603 active device), activate the new device whose link just came on
17604 - (link_to_specific_ap): try to smooth over intermittency in wireless links
17605 my only calling the link to the current ap "failed" when more than 2
17606 consecutive link checks have failed
17608 2005-05-04 Dan Williams <dcbw@redhat.com>
17610 * src/NetworkManagerDevice.c
17611 - (nm_device_probe_wireless_link_state): don't lock the scan mutex here
17612 but let link_to_specific_ap() do the locking where it needs
17614 Patch from Bill Moss:
17615 * src/NetworkManagerSystem.c
17616 - Set MTU of VPN devices to 1412
17618 2005-05-04 Dan Williams <dcbw@redhat.com>
17620 * Remove NM_STATE_SCANNING from NetworkManager.h and applet code
17622 * Fix some holes in device activation and retaining the currently connected
17625 2005-05-03 Dan Williams <dcbw@redhat.com>
17627 * Kill dhcpcd. We now use "dhcdbd", a dbus daemon that controls dhclient.
17628 This means that NetworkManager shouldn't have DHCP issues anymore. It also
17629 means you need dhcdbd, which you can get here (get the latest one):
17631 http://people.redhat.com/jvdias/dhcdbd/
17633 Technically NetworkManager can use any DHCP daemon that uses the same DBUS
17634 interface as dhcdbd.
17636 * Rewrite device activation to facilitate the new DHCP infrastructure and
17637 future improvements. Its now "activation request" based, ie there is a single
17638 activation request composed of the device, access point, and other info which
17639 follows the entire activation process. There are 5 stages of the activation
17640 process which correspond to:
17642 1) Device preparation
17643 2) Device configuration (bring it up, set ESSID/Key/etc)
17644 3) IP Config Start (fire off DHCP if we're using it)
17645 4) IP Config Get (grab config from DHCP or static config files)
17646 5) IP Config Commit (set device's IP address, DNS, etc)
17648 Note that there is no longer a "scanning" step, since the access point must
17649 be known _before_ activation starts. If the access point drops out or does
17650 not exist for some reason, the entire activation process fails and must be
17651 restarted for a different access point or device.
17653 Patch from Bill Moss:
17654 * gnome/applet/applet.c
17655 - Fix type of vpn_failure dialog -> vpn_banner dialog
17657 2005-04-27 Dan Williams <dcbw@redhat.com>
17659 * gnome/applet/applet-dbus-vpn.c
17660 gnome/applet/applet.c
17661 gnome/applet/applet.h
17662 - Fix up active VPN handling so that we reliably know when a VPN
17663 connection has been deactivated
17665 * src/vpn-manager/nm-vpn-manager.c
17666 - Remove duplicate VPNConnectionChange signal
17668 2005-04-27 Dan Williams <dcbw@redhat.com>
17670 Patch from Peter Jones:
17671 * Remove usage of varargs to fix crashes on PPC (RH #154336)
17673 Patch from Bill Moss:
17674 * src/NetworkManagerSystem.c
17675 - Fix checking of return value from ioctl()
17677 2005-04-27 Dan Williams <dcbw@redhat.com>
17679 * Fix choosing of wireless networks and "Other wireless network..." from the applet
17680 * Warn and exit if icons cannot be found
17682 2005-04-27 Dan Williams <dcbw@redhat.com>
17684 Patch from Tom Parker:
17685 * Update debian backend
17687 2005-04-27 Dan Williams <dcbw@redhat.com>
17689 * Merge the applet and the info-daemon, and move the converged
17690 applet under gnome/applet
17691 * Move libnm_glib to gnome/libnm_glib
17692 * Convert most dbus calls between the applet, info-daemon, and NM
17694 * Fix a few things valgrind noticed
17695 * Make NM broadcast state more reliably
17697 2005-04-22 Pawan chitrakar <pawan@nplinux.org>
17699 * configure.in: Added ne in ALL_LINGUAS
17701 2005-04-15 Dan Williams <dcbw@redhat.com>
17703 * libnm_glib/libnm_glib: Fix up for dbus-0.32, and remove
17704 code for dbus 0.2x versions
17706 2005-04-15 Dan Williams <dcbw@redhat.com>
17708 Patches from Tom Parker:
17710 - Join with worker thread rather than polling for its exit
17712 Patch from Bill Moss:
17713 - Cull duplicate ESSIDs from the scan list, taking highest strength AP
17715 2005-04-15 Dan Williams <dcbw@redhat.com>
17717 - Fixes to pass 'make distcheck'
17719 2005-04-15 Dan Williams <dcbw@redhat.com>
17721 Initial VPN Support
17723 - reworks device IP configuration, backend files have changed and will need
17724 to be updated for all distributions. I will try to do what I can for
17725 them, but I cannot test them.
17727 - Move named directory to src/named-manager
17728 - Make backends directory self-contained
17730 2005-04-06 Dan Williams <dcbw@redhat.com>
17732 Add debug code for socket/file descriptor leaks. We register every socket
17733 that we open (except for stuff in dhcpcd/) for tracking, and print out the
17734 list of sockets that we forgot to close on shutdown. This also consolidates
17735 about 4 places where we opened sockets into 1 function in NetworkManagerUtils.c
17737 2005-04-06 Dan Williams <dcbw@redhat.com>
17740 - (dhcp_interface_free): fix a file descriptor leak that may have
17741 caused network drivers to not unload due to refcounts > 0
17743 2005-04-04 Dan Williams <dcbw@redhat.com>
17745 * panel-applet/NMWirelessAppletDbus.c
17746 - (nmwa_dbus_call_nm_method): remove some commented code
17748 * src/NetworkManagerAPList.[ch]
17749 - (nm_ap_list_remove_ap_by_essid): new function
17751 * src/NetworkManagerDevice.c
17752 - (nm_device_wireless_force_use): remove access points from the ignore list
17753 when the user forces them
17755 * src/nm-dbus-device.c
17756 - (nm_dbus_device_get_active_network): fix up escaping of object paths
17758 2005-04-04 Dan Williams <dcbw@redhat.com>
17760 Patch from Tom Parker: include "nm-utils.h" for backend files that need it
17762 2005-04-04 Dan Williams <dcbw@redhat.com>
17764 * src/NetworkManagerDevice.c:
17765 - (nm_completion_scan_has_results): restore pre-completion-patch behavior
17766 of only erroring after the second consecutive scan times out. Also
17767 don't exit when the card requires more time than we can give it, just
17768 log the event and continue.
17770 2005-04-01 Steve Murphy <murf@e-tools.com>
17772 * configure.in: Added "rw" to ALL_LINGUAS.
17774 2005-04-01 Dan Williams <dcbw@redhat.com>
17776 Perform scans during device activation, if needed. Both activation
17777 and scans run in the same GMainContext. Therefore, if an access point
17778 is not found by the time the device starts activation, it will not
17779 be available until after activation. We now try to scan during
17780 activation (in nm_wa_test) every 15s so that all available access
17781 points are more likely to be found and available for the activation
17784 Also change nm_wireless_link_state_handle() to only update the "best"
17785 AP if we are not forcing a device and if we are not about to change
17786 state. This attempts to work around a race when forcing a device,
17787 where the forced AP would get cleared out too soon by the link state
17788 checking timeout in the main thread, and the activation attempt with
17789 that AP would fail.
17791 2005-04-01 Dan Williams <dcbw@redhat.com>
17794 - Update with new translatables
17796 2005-03-31 Dan Williams <dcbw@redhat.com>
17798 * panel-applet/NMWirelessAppletDbus.c
17799 - Fix device names now that hal has changed device parenting for
17802 2005-03-31 Dan Williams <dcbw@redhat.com>
17804 Tighten up handling of wireless devices that don't support wireless
17805 scanning (ie, Orinoco). Due to restructuring of code, these devices
17806 hadn't been doing pseudo-scanning for a while either and would just
17807 spin waiting for an access point. They are now manual devices where
17808 the user must choose the access point from the menu every time. All
17809 "allowed" access points are listed in the applet's menu regardless
17810 of whether or not they can be seen by the card, since it can't scan
17813 * src/NetworkManager.c
17814 - (nm_wireless_link_state_handle): new function, but only update
17815 the "best" ap for non-scanning devices when its not activating,
17816 and when no device is being forced on the card
17817 - (nm_link_state_monitor): split wireless link state handling out
17818 into separate function
17820 * src/NetworkManagerDevice.c
17821 - (nm_device_copy_allowed_to_dev_list): new function
17822 - (nm_device_new): populate non-scanning cards' AP lists with
17823 access points from the "allowed" list
17824 - (nm_device_new): don't start a scanning timeout for devices that
17826 - (nm_device_activation_schedule_finish): new parameter, should be
17827 the AP that failed to be connected to, pass it on to the
17828 activation finish function in NetworkManagerPolicy.c
17829 - (nm_device_activate_wireless): don't ever try to get a new AP
17830 for non-scanning devices, just fail. The user must choose
17831 a new access point manually.
17832 - (nm_device_activate): grab the AP that failed connection and
17834 - (nm_device_update_best_ap): Clear the best AP if we don't have
17835 a link to it, user must manually choose a new one
17836 - (nm_device_do_pseudo_scan): remove function
17837 - (nm_device_wireless_process_scan_results): remove bits for non-
17838 scanning cards since they never get here
17839 - (nm_device_wireless_scan): remove bits for non-scanning devices,
17840 and fake the scan list for test devices a bit earlier
17842 * src/NetworkManagerPolicy.c
17843 - (nm_policy_activation_finish): use the failed_ap that we get
17844 passed rather than getting the best_ap from the card, which
17845 may have changed since we were scheduled
17846 - (nm_policy_allowed_ap_list_update): for non-scanning devices,
17847 update their scan list directly from the allowed list when
17848 we get updates to the allowed list from NetworkManagerInfo
17850 * src/NetworkManagerPolicy.h
17851 - New member for failed access point in NMActivationResult
17853 -------------------------------------
17855 Driver Notification patch: notifies the user when their driver
17856 sucks. Gives them the option to ignore further insertions
17857 of the card that has the sucky driver.
17860 - Remove the SEMI_SUPPORTED member from the NMDriverSupportLevel
17861 enum and replace it with NO_CARRIER_DETECT and
17864 * panel-applet/NMWirelessApplet.[ch]
17865 - Merge essid.glade -> wireless-applet.glade
17866 - Implement the "Your driver sucks" notification dialog
17868 * panel-applet/NMWirelessAppletDbus.c
17869 - Change stuff from getSupportsCarrierDetect->getDriverSupportLevel
17870 - Grab hardware address for each device from NM too
17871 - Check whether the driver for each device sucks or not whenever
17872 a new device is noticed
17874 * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17875 - Deal with stuff being in wireless-applet.glade now rather than essid.glade
17877 * src/NetworkManager.c
17878 - Fix a double-unref on device removal
17880 * src/NetworkManagerUtils.c
17881 - Set appropriate driver support level on a device that doesn't
17882 support scanning or carrier detection
17884 * src/nm-dbus-device.c
17885 - New "getHWAddress" dbus method on devices
17886 - getSupportsCarrierDetect -> getDriverSupportLevel
17888 2005-03-31 Dan Williams <dcbw@redhat.com>
17890 * src/NetworkManagerDevice.c
17891 - (nm_device_wireless_scan): Fix leak of scan results in some
17894 2005-03-29 Dan Williams <dcbw@redhat.com>
17896 * src/NetworkManager.c
17897 - (nm_poll_and_update_wireless_link_state): make code less indented
17899 Patch from Bill Moss:
17900 * src/NetworkManager.c
17901 - (nm_device_update_link_state): Update signal strength on wireless
17902 devices every time we update link state too.
17904 2005-03-29 Dan Williams <dcbw@redhat.com>
17906 * src/NetworkManagerDevice.c
17907 - (nm_device_set_essid): Work around Orinoco cards which need
17908 extra time after setting the ESSID
17910 2005-03-29 Dan Williams <dcbw@redhat.com>
17912 * src/NetworkManagerDevice.c
17913 - Merge one more bit of Peter Jones' completion patch
17915 2005-03-29 Dan Williams <dcbw@redhat.com>
17917 * src/NetworkManagerDevice.c
17918 - (nm_device_force_use): Fix possible segfault
17920 2005-03-29 Dan Williams <dcbw@redhat.com>
17922 * src/NetworkManagerDevice.c
17923 - Use iw_get_ext() where we should rather than iw_set_ext()
17925 2005-03-29 Dan Williams <dcbw@redhat.com>
17927 * src/NetworkManagerDevice.c
17928 - (nm_device_set_up_down): remove check for unsupported devices
17929 that caused NM to not bring devices up when they were
17930 added to the device list.
17932 2005-03-28 Dan Williams <dcbw@redhat.com>
17934 * src/NetworkManagerDevice.c
17935 - (mdio_read): Fix two bugs that caused all devices to fail
17936 the MII carrier detection support checks
17938 2005-03-26 Dan Williams <dcbw@redhat.com>
17940 * src/NetworkManagerDevice.c
17941 - (nm_device_wireless_scan): Remove duplicated scanning code
17943 2005-03-25 Dan Williams <dcbw@redhat.com>
17945 * panel-applet/NMWirelessApplet.c
17946 - (nmwa_about_cb): Add some more contributors
17947 - (nmwa_update_state): show the applet when there's no connection
17948 - Enable the "Stop/Resume all wireless devices" option in the
17950 - New "no connection" icon
17952 * src/NetworkManager.c
17953 - (nm_poll_and_update_wireless_link_state): don't do anything if
17954 wireless is disabled or we're asleep
17956 * src/NetworkManagerDHCP.c
17957 - Remove trailing "\n" on debug messages
17959 * src/NetworkManagerDbus.c
17960 - (nm_dbus_network_status_from_data): new state "asleep"
17962 * src/NetworkManagerDevice.c
17963 - Merge most of Peter Jones' "completion" patch that greatly reduces
17964 latency and wait times for most operations
17965 - (nm_device_wireless_scan): Don't scan when asleep
17967 * src/NetworkManagerPolicy.c
17968 - (nm_policy_get_best_device): return no device when asleep
17969 - (nm_policy_allowed_ap_list_update): From Bill Moss: merge properties
17970 for all wireless devices on update, not just active device
17972 * src/NetworkManagerUtils.c
17973 - Merge Peter Jones' "completion" patch
17976 - (nm_dbus_nm_set_wireless_enabled): bring down wireless devices when
17977 we're told to disable them
17978 - (nm_dbus_nm_sleep, nm_dbus_nm_wake): new functions for sleep/wake
17981 - New variants of the warn/info/error/debug print functions that can take
17982 variables rather than static strings
17984 2005-03-24 Dan Williams <dcbw@redhat.com>
17986 * src/NetworkManagerUtils.c
17987 - (nm_get_device_driver_name): driver names are now on the parents of
17988 "Network Interface" objects, so look for them there
17990 2005-03-24 Dan Williams <dcbw@redhat.com>
17993 - Escape some forgotten object paths before we shove them through dbus
17995 2005-03-24 Dan Williams <dcbw@redhat.com>
17997 * dhcpcd/dhcpcd.[ch]
17998 src/NetworkManagerDHCP.c
17999 - Switch names from "*_record_*" -> "*_element_*" to clarify things a bit
18000 (ie, dhcp_option_record_len -> dhcp_option_element_len)
18002 * src/NetworkManagerDbus.c
18005 * src/nm-dbus-dhcp.c
18006 - Make the API suck less. There is now only 1 type of each function,
18007 ie only "getInteger" and no longer also "getIntegerv". All types
18008 are returned encapsulated in a DBUS_TYPE_ARRAY, even for options
18009 that will never have more than 1 element. This should simplify
18012 * test/nm-dhcp-opt-test.c
18013 - Make the tool not segfault
18014 - adapt to new DHCP Options API
18016 2005-03-22 Dan Williams <dcbw@redhat.com>
18018 * src/NetworkManager.c
18019 - (nm_wired_link_deactivated): actually ignore netlink events from
18022 2005-03-22 Dan Williams <dcbw@redhat.com>
18024 * src/NetworkManager.c
18025 - (nm_wired_link_activated): actually ignore netlink events from
18028 2005-03-17 Dan Williams <dcbw@redhat.com>
18030 Patch from Tom Parker:
18031 * src/nm-netlink-monitor.c
18033 * info-daemon/NetworkManagerInfoDbus.c
18034 - (nmi_dbus_update_network_auth_method): free GConf values
18036 Patch from Nathaniel McCallum <npmccallum@gentoo.org>:
18037 * src/NetworkManagerDevice.c
18038 - (nm_device_set_wireless_config): wait for successful
18039 association longer for some cards (Atheros a/b/g)
18041 2005-03-15 Ray Strode <rstrode@redhat.com>
18043 * src/NetworkManager.c:
18044 (sigterm_pipe_handler):
18047 2005-03-15 Ray Strode <rstrode@redhat.com>
18049 * src/NetworkManagerDbus.c:
18050 Fix some sign weirdness that gcc4 doesn't like,
18051 and add a header file so PPC can hopefully find
18054 2005-03-14 Ray Strode <rstrode@redhat.com>
18056 Fourth (probably working) cut at porting to
18057 dbus 0.30 api and new hal. This cut adds
18058 some new logging macros to make debugging
18061 * dispatcher-daemon/NetworkManagerDispatcher.c:
18062 * info-daemon/NetworkmanagerInfo.c:
18063 * info-daemon/NetworkManagerInfoPassphraseDialog.c:
18064 * info-daemon/NetworkManagerInfoVPN.c:
18065 * src/NetworkManager.c:
18066 * src/NetworkManagerAP.c:
18067 * src/NetworkManagerAPList.c:
18068 * src/NetworkManagerDHCP.c:
18069 * src/NetworkManagerDbus.c:
18070 * src/NetworkManagerDevice.c:
18071 * src/NetworkManagerPolicy.c:
18072 * src/NetworkManagerSystem.c:
18073 * src/NetworkManagerUtils.c:
18074 * src/NetworkManagerWireless.c:
18076 * src/nm-dbus-nm.c:
18077 * src/backends/NetworkManagerDebian.c:
18078 * src/backends/NetworkManagerGentoo.c:
18079 * src/backends/NetworkManagerRedHat.c:
18080 * src/backends/NetworkManagerSlackware.c:
18081 use new logging macros.
18083 * dispatcher-daemon/NetworkManagerDispatcher.c:
18084 (nmd_dbus_filter): s/dbus_free/g_free/
18086 * info-daemon/Makefile.am: link in utils library.
18087 * info-daemon/NetworkmanagerInfo.c: use new logging
18089 (nmi_dbus_get_network): don't assume enumerations
18091 (nmi_dbus_nmi_message_handler): don't free what
18092 doesn't belong to us.
18094 * libnm_glib/libnm_glib.c:
18095 (libnm_glib_get_nm_status):
18096 (libnm_glib_init): don't free what doesn't
18098 (libnm_glib_dbus): strdup result, so it doesn't get
18099 lost when message is unref'd.
18101 * panel-applet/NMWirelessAppletDbus.c:
18102 (nmwa_dbus_update_devices): s/dbus_free/g_free/
18104 * src/NetworkManager.c:
18105 (nm_monitor_wired_link_state): request initial status
18106 dump of all cards when we start up, instead of relying
18107 on /sys/.../carrier.
18108 (nm_info_handler), (nm_set_up_log_handlers):
18109 log handlers to specify what syslog priorites
18110 the logging macros default to.
18112 * src/NetworkManagerAPList.c:
18113 (nm_ap_list_populate_from_nmi):
18114 s/dbus_free_string_array/g_strfreev/
18116 * src/NetworkManagerDbus.c:
18117 (nm_dbus_get_network_object):
18118 validate d-bus message argument types.
18119 Advance message iterator after reading argument,
18120 prepend instead of append to GSList.
18122 * src/NetworkManagerDevice.c:
18123 (nm_device_probe_wired_link_status):
18124 remove redundant /sys in /sys path. remove wrong
18125 contents == NULL means has carrier assumption.
18127 * src/nm-netlink-monitor.c
18128 (nm_netlink_monitor_request_status): implement
18129 function to ask kernel to dump interface link
18130 status over netlink socket.
18132 * test/*.c: s/dbus_free/g_free/
18134 * utils/nm-utils.h:
18135 (nm_print_backtrace): new macro to print backtrace.
18136 (nm_get_timestamp): new macro to get sub-second precise
18138 (nm_info), (nm_debug), (nm_warning), (nm_error):
18139 new logging functions. nm_info just prints,
18140 nm_debug includes timestamp and function,
18141 nm_warning includes function, nm_error includes
18142 backtrace and sigtrap.
18144 2005-03-11 Ray Strode <rstrode@redhat.com>
18146 Third (unfinished, partially working) cut at porting to
18147 dbus 0.30 api and new hal.
18149 * info-daemon/NetworkManagerInfoDbus.c:
18150 don't free null arrays.
18152 * panel-applet/NMWirelessAppletDbus.c:
18153 * src/nm-dbus-device.c:
18154 * src/nm-dbus-net.c:
18155 * src/NetworkManagerDbus.c: more
18156 STRING -> OBJECT_PATH fun
18157 * src/NetworkManagerDevice.c:
18158 * src/NetworkManagerDevice.h:
18159 (rename nm_device_get_link_active): rename to
18160 nm_device_has_active_link
18161 (nm_device_wireless_link_active): rename to
18162 nm_device_probe_wireless_link_state
18163 (nm_device_wired_link_active): rename to
18164 nm_device_probe_wired_link_state. Rewrite to
18165 use carrier file since hal doesn't maintain
18166 link state anymore.
18167 (nm_device_update_link_active): rename to
18168 nm_device_update_link_state
18169 * src/NetworkManagerPolicy.c
18170 (nm_policy_activation_finish): check for NULL
18174 * src/NetworkManagerMain.h:
18175 * src/NetworkManager.c:
18176 * src/nm-netlink-monitor.c:
18177 * src/nm-netlink-monitor.h: New class to support
18178 monitoring wired ethernet link status, since HAL
18179 doesn't export that information anymore.
18181 2005-03-09 Ray Strode <rstrode@redhat.com>
18183 Second (unfinished, unworking) cut at porting to
18186 * dispatcher-daemon/NetworkManagerDispatcher.c:
18187 * info-daemon/NetworkManagerInfoDbus.c:
18188 * panel-applet/NMWirelessAppletDbus.c:
18189 * src/NetworkManagerDbusUtils.c:
18190 * src/NetworkManagerDbusUtils.h:
18191 * src/nm-dbus-device.c:
18192 * src/nm-dbus-nm.c:
18193 * test/nmtest.c: support dbus "object path" type
18197 * info-daemon/Makefile.am:
18198 * libnm_glib/Makefile.am:
18199 * panel-applet/Makefile.am:
18200 * dispatcher-daemon/Makefile.am
18202 * test/Makefile.am:
18203 * utils/Makefile.am:
18204 * utils/nm-utils.c:
18205 * utils/nm-utils.h: new utils static lib
18207 2005-03-07 Ray Strode <rstrode@redhat.com>
18209 * info-daemon/NetworkManagerInfoDbus.c:
18210 * libnm_glib/libnm_glib.c:
18211 * panel-applet/NMWirelessAppletDbus.c:
18212 * src/NetworkManager.c:
18213 * src/NetworkManagerDbus.c:
18214 * src/NetworkManagerDevice.c:
18215 * src/NetworkManagerUtils.c:
18216 * src/nm-dbus-device.c:
18217 * src/nm-dbus-dhcp.c:
18218 * src/nm-dbus-net.c:
18219 * src/nm-dbus-nm.c:
18220 * test/nminfotest.c:
18221 First (unfinished, unworking) cut at porting to dbus 0.30 api.
18223 2005-03-04 Dan Williams <dcbw@redhat.com>
18228 2005-03-04 Dan Williams <dcbw@redhat.com>
18230 Patch from Peter Jones:
18231 - Make stuff work with gcc 4.0
18233 2005-02-28 Maxim Dziumanenko <mvd@mylinux.com.ua>
18235 * uk.po: Added "uk" (Ukrainian) to ALL_LINGUAS.
18237 2005-02-27 Jim Huang <jserv@kaffe.org>
18239 * configure.in: Added "zh_TW" (Traditional Chinese) to ALL_LINGUAS.
18241 2005-02-27 Dan Williams <dcbw@redhat.com>
18243 Patch from Bill Moss:
18244 * panel-applet/NMWirelessAppletDbus.c
18245 - Make sure strength for current access point is up-to-date when we
18246 update the gui data model
18248 2005-02-27 Alessio Frusciante <algol@firenze.linux.it>
18250 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
18252 2005-02-27 Dan Williams <dcbw@redhat.com>
18254 * src/backends/NetworkManagerRedHat.c
18255 - (nm_system_init): Kill any dhclient processes lying around as well
18256 as stopping 'nifd' if its already been started. NetworkManager
18257 subsumes the functions of nifd (kicking mDNSResponder, autoip)
18259 2005-02-27 Dan Williams <dcbw@redhat.com>
18261 * panel-applet/NMWirelessApplet.c
18262 - (nmwa_destroy): Really mean to destroy GUI data model first, then
18263 dbus data model, not the GUI data model twice.
18265 2005-02-27 Dan Williams <dcbw@redhat.com>
18267 * panel-applet/NMWirelessApplet.[ch]
18268 panel-applet/NMWirelessAppletDbus.[ch]
18269 - Move to incremental network updates. Instead of blowing away our list
18270 of devices every time we get a signal from NetworkManager, we now
18271 incrementally add/remove networks when NetworkManager notifies us that
18272 a new network has appeared or disappered. Strength updates now happen
18273 on-the-fly for each access point as well. There are now two copies of
18274 data from NetworkManager: one for the dbus side, and one for the gui side.
18275 When the dbus side data is modified, it is copied over to the gui side
18276 so we don't have to hold the data_mutex for long periods of time (and
18277 therefore block animation of the applet's icon).
18278 - Clean up some memleaks too
18280 * panel-applet/NMWirelessAppletOtherNetworkDialog.c
18281 - Minor code beautification
18283 * src/NetworkManagerAPList.c
18284 - (nm_ap_list_merge_scanned_ap): return whether or not the access point is
18285 completely new and whether or not an existing one's strength was updated.
18286 Try to fix multiple access points and signal strength by using the highest
18287 signal strength in each scan for any given ESSID.
18289 * src/NetworkManagerDbus.[ch]
18290 - (nm_dbus_signal_wireless_network_change): consolidate signals that deal with
18291 wireless networks; now we have only WirelessNetworkUpdate which includes
18292 a UINT32 for Appeared, Disappeared, or StrengthChanged (see NetworkManager.h).
18293 - Kill usage of DbusMessageIter
18295 * src/NetworkManagerDevice.c
18296 - (nm_device_wireless_process_scan_results): Use the same timestamp for all APs
18297 in the same scan result list. Copy ESSIDs-by-address earlier on, for each
18298 AP rather than all-at-once. Also don't ever remove the AP a card is
18299 currently associated with from the network list.
18300 - Update for new signals during scan, send out Appeared, Disappeared, or
18301 StrengthChanged when necessary.
18303 2005-02-25 Dan Williams <dcbw@redhat.com>
18306 - Line break the README
18308 2005-02-25 Dan Williams <dcbw@redhat.com>
18310 * panel-applet/NMWirelessAppletOtherNetworkDialog.c
18311 - Remove usage of gtk_window_set_default_size()
18313 * panel-applet/essid.glade
18314 - Stick default size here
18315 - Add in random crap that current glade wants to add in now
18317 2005-02-25 Dan Williams <dcbw@redhat.com>
18319 * src/backends/NetworkManagerRedHat.c
18320 - For non-caching-nameserver/non-named case, ensure that nscd is running
18321 and that we actually tell nscd to reload the hosts cache when it changes
18323 2005-02-25 Dan Williams <dcbw@redhat.com>
18325 * info-daemon/NetworkManagerInfoDbus.c
18326 - (nmi_dbus_get_network_properties): whack usage of DbusMessageIter
18328 * test/nminfotest.c
18329 - Whack usage of DbusMessageIter
18330 - Clean up DbusError and DbusMessage handling and freeing
18331 - Remove unused unregister handler
18334 - Whack usage of DbusMessageIter
18336 * test/nmtestdevices.c
18337 - Whack usage of DbusMessageIter
18339 2005-02-25 Dan Williams <dcbw@redhat.com>
18342 - New signal type NMNetworkStatus in preparation for the "WirelessNetworkUpdate"
18345 2005-02-25 Dan Williams <dcbw@redhat.com>
18347 * named/nm-named-manager.c
18348 - Ensure that pid and watch variables for child named process get cleared out
18349 when the child goes away.
18351 2005-02-22 Dan Williams <dcbw@redhat.com>
18353 * src/NetworkManagerPolicy.c
18354 - (nm_policy_activation_finish): Deactivate a device if its activation fails,
18355 and NULL out data->active_device so that we have to choose another one.
18356 This may make NetworkManager keep attempting to connect to a wired network
18357 if it fails, but if it keeps failing the wired network has more problems than
18358 just NetworkManager.
18360 * src/backends/NetworkManagerRedHat.c
18361 - (nm_system_update_dns): fix to actually run nscd -i hosts when nscd
18364 * named/nm-named-manager.c
18365 - (rewrite_resolv_conf): Call nm_system_update_dns() when not using
18366 named so that the distro can flush whatever name service caching
18369 2005-02-21 Dan Williams <dcbw@redhat.com>
18371 * src/NetworkManagerDHCP.[ch]
18372 - (nm_device_dhcp_remove_timeouts): new function
18374 * src/NetworkManagerDevice.c
18375 - Use nm_device_dhcp_remove_timeouts() everywhere that we need to
18376 remove the DHCP timeouts.
18378 2005-02-21 Dan Williams <dcbw@redhat.com>
18380 * panel-applet/NMWirelessApplet.[ch]
18381 panel-applet/menu-info.[ch]
18382 - Give the panel applet some major love: menu items are no longer
18383 subclasses of GtkCheckMenuItem, they are actual GtkCheckMenuItems.
18384 This allows the applet to actually reflect theme changes correctly,
18385 since themeing of subclassed items in GTK _sucks_.
18387 2005-02-18 Dan Williams <dcbw@redhat.com>
18389 * libnm_glib/libnm_glib.[ch]
18390 test/libnm_glib_test.c
18391 - Clean up libnm_glib API a bit, callback is now passed a libnm_glib_ctx
18392 and its data, and doesn't have to free the callback data anymore
18394 2005-02-18 Dan Williams <dcbw@redhat.com>
18396 * panel-applet/NMWirelessApplet.c
18397 - Revert 2005-02-18 William Jon McCann fix for standard
18398 copyright string until it passes 'make distcheck'.
18399 With standard copyright string, xgettext complains
18400 about "Non-ASCII string at ...".
18402 2005-02-18 Dan Williams <dcbw@redhat.com>
18404 * panel-applet/essid.glade
18405 panel-applet/NMWirelessAppletOtherNetworksDialog.c
18406 - Correct spelling of "adaptor"->"adapter"
18408 2005-02-18 William Jon McCann <mccann@jhu.edu>
18410 * panel-applet/NMWirelessApplet.c: Use GTK_CHECK_VERSION() macro.
18411 (nmwa_about_cb): Use standard copyright string. Update comment
18412 text to reflect that it is a notification area applet. Remove
18413 leading newline in authors list.
18414 (nmwa_menu_show_cb, nmwa_setup_widgets): Populate menu on show
18415 instead of on parent menu item activation. Fixes #167550.
18417 2005-02-18 William Jon McCann <mccann@jhu.edu>
18419 * panel-applet/essid.glade: Capitalize items as per HIG.
18422 2005-02-16 William Jon McCann <mccann@jhu.edu>
18424 * panel-applet/gtkcellrendererprogress.[ch]: Only compile these
18425 files for GTK 2.4 or lower, since now public in GTK 2.6.
18427 * panel-applet/essid.glade: Don't specify window size.
18429 2005-02-17 Dan Williams <dcbw@redhat.com>
18431 Caught by Bill Moss:
18433 - Time remaining for DHCP transaction calculation was incorrectly
18434 inside a #ifdef DEBUG
18436 2005-02-15 Christophe Merlet <redfox@redfoxcenter.org>
18438 * configure.in: Added fr (French) to ALL_LINGUAS.
18440 2005-02-14 Dan Williams <dcbw@redhat.com>
18442 * src/NetworkManagerDHCP.c
18443 - (set_domain_searches): Fix free of invalid pointer
18445 2005-02-14 Dan Williams <dcbw@redhat.com>
18447 Patch from Peter Jones:
18449 - Ensure we return RET_DHCP_CEASED everywhere we should
18450 * dhcpcd/udpipgen.c
18451 - Use faster TOS for IP packets
18452 - Don't set ip_id since we're UDP
18454 Patch from Tomislav Vujec:
18455 * src/nm-dbus-dhcp.c
18456 test/nm-dhcp-opt-test.c
18457 - Clean up warnings to enable cvs tree compilation.
18459 2005-02-14 Tomislav Vujec <tvujec@redhat.com>
18463 - Add the Croatian locale.
18465 2005-02-14 Colin Walters <walters@verbum.org>
18467 * src/NetworkManagerDHCP.c (set_domain_searches): Handle space-separated
18468 list of domains to search.
18470 * src/NetworkManagerMain.h (NMData): Handle multiple domain searches.
18472 2005-02-13 Dan Williams <dcbw@redhat.com>
18475 - Debug output cleanups of DHCP option printing and parsing.
18477 2005-02-13 Dan Williams <dcbw@redhat.com>
18479 Patch from Dan Reed: DHCP options D-BUS API
18480 Exposes the DHCP options that a device receives to clients over D-BUS.
18486 - Correct names, option length, and types for DHCP options
18488 * dhcpcd/dhcpcd.[ch]
18489 - Clarify function names that access DHCP options & data
18491 * src/NetworkManagerDHCP.c
18492 - Use new DHCP data access functions
18494 * src/NetworkManagerDbus.c
18495 - Message handler for DHCP functions
18497 * src/nm-dbus-dhcp.[ch] (new)
18498 - DHCP dbus methods
18500 * test/nm-dhcp-opt-test.c
18501 - Test DHCP D-BUS API and return all present DHCP options
18503 2005-02-12 Dan Williams <dcbw@redhat.com>
18506 test/nmclienttest.c
18508 - Move nmclienttest.c -> nmtest.c
18510 2005-02-12 Dan Williams <dcbw@redhat.com>
18512 * dhcpcd/buildmsg.c
18513 - Pad DHCP packets until they are at least 300 bytes in size.
18515 2005-02-11 Dan Williams <dcbw@redhat.com>
18518 - (dhcp_init): only print out client ID and class ID if they are specified
18520 * src/NetworkManagerDbus.[ch]
18521 src/nm-dbus-nm.[ch]
18522 src/nm-dbus-device.[ch]
18523 src/nm-dbus-net.[ch]
18524 - Move NM, Device, and Net functions to separate files and use the
18525 dbus method list stuff in NetworkManagerDbusUtils.c to do
18528 * src/NetworkManagerDbusUtils.c
18529 - Add new validate_method called before each dispatch (if present)
18530 that can validate the method call
18532 * src/NetworkManagerWireless.c
18533 - (nm_wireless_qual_to_percent): Fix misplaced "!" that caused signal
18534 levels never to be evaluated
18536 Patch from j@bootlab.org
18537 * src/NetworkManagerDevice.c
18538 - Add typedef for "u64"
18540 * src/backends/NetworkManagerDebian.c
18541 - Copy in Dave Woodhouse's fixes for IPv6
18543 2005-02-11 Dan Williams <dcbw@redhat.com>
18545 Patch from Dave Woodhouse for IPv6:
18546 * src/NetworkManagerUtils.c
18547 - (nm_ethernet_address_is_valid): Check for prism54 dummy MAC address
18548 and multicast addresses
18550 * src/NetworkManagerDevice.c
18551 - (nm_device_set_up_down): make sure our cached MAC address is up-to-date
18552 after bringing up a card.
18554 2005-02-10 Dan Williams <dcbw@redhat.com>
18556 Patch from Dave Woodhouse:
18557 * src/NetworkManagerSystem.h
18558 src/backends/NetworkManagerDebian.c
18559 src/backends/NetworkManagerGentoo.c
18560 src/backends/NetworkManagerSlackware.c
18561 - New nm_system_device_add_ip6_link_address() function to add link-local
18562 address on an interface. Stubbed in Debian, Gentoo, and Slackware.
18564 * src/backends/NetworkManagerRedHat.c
18565 - (nm_system_device_add_ip6_link_address): implement
18566 - (nm_system_device_flush_addresses): revert to previous behavior of
18567 flushing all addresses
18569 2005-02-10 Dan Williams <dcbw@redhat.com>
18571 Patch from Tom Parker:
18572 * src/NetworkManagerDevice.c
18573 - Remove the "#include <pci/types.h>" since both the ethtool.h and
18574 mii.h headers are broken, and instead use our own typedefs
18576 2005-02-10 Dan Williams <dcbw@redhat.com>
18578 * dhcpcd/buildmsg.c
18579 - (fill_host_and_class_id): only fill in client and class IDs if
18580 they are set by callers.
18583 - (class_id_setup): don't autogenerate a class ID, only use one
18584 we're given, if any.
18585 - (client_id_setup): don't autogenerate a client ID, only use one
18586 we're given, if any.
18589 - (dhcp_interface_init): ensure that client options are correctly
18592 * src/NetworkManagerDHCP.c
18593 - (nm_device_dhcp_request): pass hostname to dhcp library
18595 2005-02-10 Dan Williams <dcbw@redhat.com>
18598 - #rh147661# Don't send kernel version in DHCP requests
18600 * src/NetworkManagerSystem.h
18601 src/backends/NetworkManagerDebian.c
18602 src/backends/NetworkManagerGentoo.c
18603 src/backends/NetworkManagerRedHat.c
18604 src/backends/NetworkManagerSlackware.c
18605 - Remove the nm_system_device_run_dhcp() and nm_system_device_stop_dhcp()
18606 functions, they are no longer used anyway
18608 * src/backends/NetworkManagerRedHat.c
18609 - (nm_system_device_flush_addresses): only flush "scope global" and "scope site"
18610 addresses in an attempt to keep IPv6 local-scope addresses around
18612 2005-02-10 Dan Williams <dcbw@redhat.com>
18614 * src/NetworkManager.c
18615 - (nm_create_device_and_add_to_list): change the add message slightly
18617 * src/NetworkManagerUtils.c
18618 - (nm_get_wireless_driver_support_level, nm_get_wired_driver_support_level):
18619 Return driver name to calling function
18620 - (nm_get_driver_support_level): print out the driver a device is using
18621 during the support check
18623 Patch from Dave Woodhouse:
18624 * dhcpcd/udpipgen.c
18625 - (in_cksum): copy last byte of odd-sized packets into a
18626 'u_short' rather than a 'u_char', should fix wrong checksums
18627 on big-endian platforms
18629 2005-02-09 Dan Williams <dcbw@redhat.com>
18631 * Clean up usage of GSList objects and looping through their members
18632 * Clean up DHCP rebind/renew timeouts, hopefully they will work correctly
18634 * Fix problem where even if scanning was turned off, card would still
18635 cycle through frequencies.
18637 2005-02-08 Dan Williams <dcbw@redhat.com>
18639 * panel-applet/NMWirelessApplet.c
18642 2005-02-08 Dan Williams <dcbw@redhat.com>
18644 Patch from Bill Moss
18645 * panel-applet/NMWirelessApplet.c
18646 - Restore correct ESSID in tooltips
18648 2005-02-07 Dan Williams <dcbw@redhat.com>
18650 * panel-applet/NMWirelessApplet.[ch]
18651 - Add a context menu that contains:
18652 Pause/Resume Wireless Scanning
18653 Stop/Start All Wireless Devices
18655 - Grab active device strength off active device,
18658 * panel-applet/NMWirelessAppletDbus.[ch]
18659 - Add DBUS accessors for "getSupportsCarrierDetect", "setScanningEnabled",
18660 "getScanningEnabled", "setWirelessEnabled", and "getWirelessEnabled"
18661 - Update active device strength every 2 seconds, not every 1 second
18663 * panel-applet/menu-info.c
18664 - Only disable wired devices in the menu when they support carrier detection,
18665 and don't currently have a link. Non-carrier-detect devices will always
18669 src/NetworkManagerDbusUtils.[ch]
18670 - Add new new dbus utils sources
18672 * src/NetworkManager.c
18673 - Fixes for new link detection, we no longer need to call nm_device_update_link_active()
18674 with the boolean parameter
18675 - Set scanning_enabled & wireless_enabled to TRUE
18677 * src/NetworkManagerDbus.c
18678 - Use new dbus util method dispatcher functions for org.freedesktop.NetworkManager methods
18679 - Implement scanning & wireless enable/disable calls
18680 - Remove the dbus vtable unregister handlers, weren't doing anything with them anyway
18682 * src/NetworkManagerDevice.c
18683 - New link detection stuff again...
18684 o Create device's mainloop earlier (but don't run it earlier)
18685 o Hook up new carrier-detect support stuff
18686 o Add in the ethtool & mii support detection code
18687 - Don't scan if scanning is disabled
18689 * src/NetworkManagerPolicy.c
18690 - Never automatically choose a device that doesn't support carrier detection
18691 - Don't automatically choose a wireless device if wireless is disabled
18693 2005-02-07 Dan Williams <dcbw@redhat.com>
18695 * libnm_glib/libnm_glib.c
18696 - Small cleanup in element list iteration
18698 2005-02-07 Dan Williams <dcbw@redhat.com>
18700 * src/NetworkManagerWireless.c
18701 - (nm_wireless_qual_to_percent): Fix up wireless quality calculations
18702 to be in line with the WEXT quality specification
18704 2005-02-02 Dan Williams <dcbw@redhat.com>
18706 Patch from Nathan Fredrickson <nathan@silverorange.com>
18707 * Fix up compile for deprecation of libgnomeui
18708 - Switch to <glib/gi18n.h> from <libintl.h>
18709 - Remove <libgnomeui/libgnomeui.h> includes
18710 - Use gtk_window_set_default_icon_from_file() rather than
18711 gnome_window_set_default_icon_from_file()
18713 * named/nm-named-manager.c
18714 - (generate_named_conf): Fix return-nothing in non-void
18717 2005-02-02 Dan Williams <dcbw@redhat.com>
18719 * Clean up unused variables and the like
18721 2005-02-02 Dan Williams <dcbw@redhat.com>
18723 * src/NetworkManagerAPList.c
18724 - (nm_ap_list_merge_scanned_ap): merge strength too
18726 * src/NetworkManagerUtils.c
18727 - (nm_lock_mutex, nm_register_mutex_desc): new calls to facilitate debugging
18728 of locking issues by printing out prettier information than g_mutex_lock
18729 - Print out names of mutexes registered with nm_register_mutex_desc()
18730 - (nm_try_lock_mutex): don't do the waiting thing when trying to lock, causes
18731 us to seemingly block here for too long
18733 * src/NetworkManager.c
18734 src/NetworkManagerAPList.c
18735 src/NetworkManagerDevice.c
18736 - Convert to using nm_lock_mutex/nm_unlock_mutex rather than the glib variants
18737 so we get better debug information printed
18739 * src/NetworkManagerDbus.c
18740 - (nm_dbus_devices_handle_request): reduce usage of nm_device_need_ap_switch()
18741 since it sometimes has locking side effects
18742 - (nm_device_get_association_pause_value): Reduce 802.11a card pause value to 8s
18744 - (nm_device_need_ap_switch): If we can't acquire the scan lock, return saying
18745 we don't need a switch. This gets called often enough that we can't block
18746 until the scan mutex is acquired, because we'll block on device activation
18747 and a few other things, which hangs main thread for too long.
18749 * src/NetworkManagerPolicy.c
18750 - (nm_policy_auto_get_best_device): reduce the possiblity that
18751 nm_device_need_ap_switch() will be called
18753 2005-02-02 Dan Williams <dcbw@redhat.com>
18755 * panel-applet/NMWirelessApplet.c
18756 - Display name of wireless network we are connecting to or connected to
18757 in the tooltip of the applet
18759 2005-02-02 Dan Williams <dcbw@redhat.com>
18761 * src/NetworkManagerDHCP.c
18762 - Hopefully fix double-default-route problem by cleaning up the default
18763 route added by DHCP code right before the DHCP transaction begins
18765 2005-02-02 Dan Williams <dcbw@redhat.com>
18767 * named/nm-named-manager.c
18768 - Write out valid resolv.conf when we exit
18770 2005-02-01 Dan Williams <dcbw@redhat.com>
18772 Patch from Colin Walters:
18773 * named/nm-named-manager.c
18774 - Make multi-domain search options work
18776 2005-01-31 Dan Williams <dcbw@redhat.com>
18778 * info-daemon/NetworkManagerInfoDbus.c
18779 - (nmi_dbus_nmi_message_handler): make sure 'dialog' exists before using it
18781 * src/NetworkManagerDevice.c
18782 - (nm_device_new): Don't store the entire range struct, use only what we need
18783 (which is currently avg_quality, max_quality, and frequencies). Also
18784 zero device structure when we've free'd it to maybe expose errors down
18786 - (nm_device_update_signal_strength): grab the scan mutex before getting
18787 quality data from the card since quality will be useless during a scan.
18788 Call updated wireless qual-to-percent function with values stored in
18789 nm_device_new() earlier.
18790 - Remove some unused functions (nm_device_get_max_quality(), nm_device_get_noise(),
18791 nm_device_get_bad_crypt_packets())
18792 - (nm_device_activate_wireless_adhoc): use new frequency values we go in
18794 - (get_initial_auth_method): always use the Auth method that's in the allowed
18795 list if available. Problem was this: when the WEP key is wrong, NM will
18796 try OS then SK modes, and then get stuck in SK mode after that. This
18798 - (nm_device_wireless_process_scan_results): work with new qual-to-percent
18801 * src/NetworkManagerWireless.c
18802 - (nm_wireless_qual_to_percent): try to make this function actually work and
18803 mimic iwlib behavior. Use card's idea of quality divided by max_qual
18804 if that's all present, otherwise fall back to signal-to-noise ratios.
18806 2005-01-29 Dan Williams <dcbw@redhat.com>
18808 * initscript/RedHat/NetworkManager
18809 - Don't spit out sysctl stuff to console
18811 * libnm_glib/libnm_glib.c
18812 - (libnm_glib_init): call dbus_g_thread_init()
18814 * panel-applet/NMWirelessAppletDbus.c
18815 - (nmwa_dbus_worker): call dbus_g_thread_init()
18817 * src/NetworkManager.c
18818 - (main): call dbus_g_thread_init()
18820 * src/NetworkManagerAPList.c
18821 - (nm_ap_list_print_members): use LOG_ERR instead of LOG_DEBUG
18822 so we can actually see what's there in a normal syslog
18824 * src/NetworkManagerDevice.c
18825 - (nm_device_activate_wireless): print out the "waiting for access point"
18826 message only once, then say what access point we actually got after
18828 - (nm_device_need_ap_switch): If a scan is in progress when we're in this
18829 function, wait until the scan is done. Scans may change the ESSID of
18830 the card, making this function think we need to switch access points
18831 - (nm_device_wireless_process_scan_results): for artificial access points
18832 don't check against the card's ESSID, but the best_ap's ESSID. This
18833 prevents collisions with the scanning code, which may change the card's
18834 ESSID and cause the access point to get dropped from the device's AP
18835 list. Also increase the keep-around time to 2m from 60s since the max
18836 scan interval could be 60s in some cases.
18838 * src/NetworkManagerPolicy.c
18839 - (nm_policy_activation_finish): Don't add invalid MAC addresses to GConf
18840 - (nm_policy_allowed_ap_list_update): When we update, make sure we copy over
18841 the new properties and ESSIDs to the device's AP list. Fixes some races
18842 between NM and NMI.
18844 2005-01-27 Dan Williams <dcbw@redhat.com>
18846 * info-daemon/NetworkManagerInfoDbus.c
18847 - (nmi_dbus_add_network_address): if the network doesn't yet exist in
18848 GConf, make a minimal entry for it (essid & timestamp)
18850 * src/NetworkManagerAPList.c
18851 - (nm_ap_list_populate_from_nmi): Don't try to grab network data if
18852 NetworkManagerInfo isn't running
18854 * src/NetworkManagerDbus.[ch]
18855 - (nm_dbus_nmi_is_running): new function
18857 * src/NetworkManagerDevice.c
18858 - (nm_device_wireless_force_use): Don't set the created AP's MAC
18859 address to garbage.
18861 * src/NetworkManagerPolicy.c
18862 - (nm_policy_activation_finish): On successful activation, make sure
18863 the "best" AP has a MAC address, and don't tell NMI to add the
18864 current AP's MAC address to GConf if the AP is an Ad-hoc AP.
18865 - (nm_policy_allowed_ap_list_update): Update a wireless card's "best"
18866 access point after refreshing our allowed list if it doesn't already
18867 have a "best" access point.
18869 2005-01-25 Dan Williams <dcbw@redhat.com>
18871 * panel-applet/NMWirelessAppletDbus.c
18872 - (nmwa_dbus_filter): Fix dbus 0.23 ServiceOwnerChanged checks
18873 so we check for NM_DBUS_SERVICE rather than not for it
18875 * libnm_glib/libnm_glib.c
18876 - (libnm_glib_dbus_filter): Fix for dbus 0.23, trapping
18877 ServiceOwnerChanged signal
18879 2005-01-25 Dan Williams <dcbw@redhat.com>
18882 - Check DBUS version in configure, and set the C macros
18883 DBUS_VERSION_[MAJOR,MINOR,MICRO]
18885 * info-daemon/NetworkManagerInfoDbus.c
18886 - Remove #if 0-d section of code that quit NMI if NM went away.
18888 * panel-applet/NMWirelessAppletDbus.c
18889 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
18891 * src/NetworkManager.c
18892 src/NetworkManagerMain.h
18893 src/NetworkManagerDbus.c
18894 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
18895 - Make updating of our Allowed Wireless Network lists from NMI
18896 an idle function in the main thread now, with a high priority.
18898 2005-01-24 Dan Williams <dcbw@redhat.com>
18900 * panel-applet/gtkcellview.[ch]
18901 panel-applet/menu-info.c
18902 - Fix GTK version checks to be <= rather than <
18905 - Include the libtool archive of libnm_glib rather than
18906 trying to pull in the .so
18908 2005-01-24 Dan Williams <dcbw@redhat.com>
18910 * src/NetworkManagerDevice.c
18911 src/NetworkManagerDevicePrivate.h
18912 - Block nm_device_new() until our device's worker thread has had a
18913 chance to start up. Fixes a race between main thread and worker
18914 thread starting that caused activation requests to get lost.
18916 2005-01-24 Dan Williams <dcbw@redhat.com>
18918 * initscript/RedHat/NetworkManager
18919 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
18920 to add the NM startup script at priority 50, which was
18923 2005-01-24 Colin Walters <walters@redhat.com>
18925 * named/named.conf: Use any port for query source instead of
18926 restricting to port 53.
18928 2005-01-24 Dan Williams <dcbw@redhat.com>
18930 * initscript/RedHat/NetworkManager
18931 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
18932 to add the NM startup script at priority 50, which was
18935 2005-01-24 Dan Williams <dcbw@redhat.com>
18937 Patch from Tom Parker <palfrey@tevp.net>
18938 * Fix up compile warnings & errors in the wireless applet
18940 2005-01-24 Dan Williams <dcbw@redhat.com>
18942 * panel-applet/NMWirelessApplet.c
18943 - Convert 24x24 icons back to 22x22 and use the 22x22 ones
18945 2005-01-24 Dan Williams <dcbw@redhat.com>
18947 * panel-applet/gtkcellview.[ch]
18948 - Only compile these files for GTK 2.4 or lower, since
18949 GtkCellView is now public in GTK 2.6. Fixes crasher
18950 when choosing "Other Wireless Networks" from the panel
18953 2005-01-21 Dan Williams <dcbw@redhat.com>
18955 * src/NetworkManager.c
18956 - Daemonize earlier so that glib doesn't get confused (?)
18958 2005-01-21 Dan Williams <dcbw@redhat.com>
18960 * panel-applet/NMWirelessApplet.[ch]
18961 panel-applet/NMWirelessAppletDbus.c
18962 panel-applet/menu-info.c
18963 src/NetworkManagerDevice.c
18964 - Disable wired devices in the menu when they have no link.
18966 2005-01-21 Dan Williams <dcbw@redhat.com>
18968 * Cache last-known-good wireless authentication method in
18969 NetworkManagerInfo, and use that method first during
18970 wireless device activation. Should speed up devices that
18971 need Shared Key authentication method since Open System is
18974 * Remove the hack to not do full activation on wired connections
18975 that are active when we launch, it causes too many problems
18976 with name resolution and was a hack in the first place.
18978 * Re-work wireless device activation again somewhat to have a
18979 clearer chain of events and to use last-known-good
18980 authentication method of the access point. Also provide
18981 better status throughout activation to ensure the applet
18982 can tell the user exactly what's going on.
18984 * Remove the "find wireless network" code and now simply attempt
18985 to activate with that access point. This reduces the delay
18986 between selecting "Other wireless Network" and actually
18987 connecting to that network.
18989 * Correctly stop the device's worker thread when its removed.
18991 2005-01-21 Dan Williams <dcbw@redhat.com>
18994 - Clean up some of the debug messages
18996 2005-01-21 Dan Williams <dcbw@redhat.com>
18998 * Add new icons, more frames of animation
18999 * Remove some hacks to get the panel applet to display correct
19000 status, an NM update will soon follow that will fix the
19003 2005-01-19 Kjartan Maraas <kmaraas@gnome.org>
19005 * panel-applet/NMWirelessApplet.c: #include <config.h> must be
19006 the first include for working i18n. Also, don't include it in .h files
19007 * panel-applet/NMWirelessApplet.h: Same
19008 * panel-applet/NMWirelessAppletOtherNetworkDialog.c: Same
19009 * panel-applet/menu-info.c: Same
19011 2005-01-18 Dan Williams <dcbw@redhat.com>
19014 - Remove some debug messages
19015 - Wrap others in #ifdef DEBUG/#endif
19017 * src/NetworkManager.c
19018 - Remove some debug messages
19019 - Clarify some debug messages
19020 - Remove code related to old single-thread wireless scanning
19022 * src/NetworkManagerAP.[ch]
19023 - New AP property "last_seen" to track how recently an AP was
19025 - Start using 'const' more in function arguments
19027 * src/NetworkManagerAPList.[ch]
19028 - (nm_ap_list_merge_scanned_ap): new, selectively update attributes
19029 of an AP found in an AP list from a source AP, or if not found
19030 in the list add the source AP
19031 - (nm_ap_list_combine): remove, no longer needed
19033 * src/NetworkManagerDevice.c
19034 - Each device now has a "worker" thread from start to end of its life.
19035 Scanning for wireless devices now happens in that thread,
19036 not in a single "wireless scanning thread" for all devices as
19037 previously. Activation consists of adding an idle handler to the
19038 thread's main loop/context, which gets run at the next available
19040 - Wireless scanning is also simplified, there is now only one list of
19041 access points per wireless device, and APs older than 60s are
19042 removed from the list. Previously, we kept results for the last
19043 3 scans and merged whole lists, which was complicated.
19044 - Cleaned up activation debug messages.
19045 - Wireless activation and access-point search routines now use Open System
19046 authentication before trying Shared Key.
19047 - Removed some code in nm_device_update_best_ap() that could cause cards
19048 to loose their link to the access point.
19049 - Scanning now uses a backoff algorithm, where the inverval becomes
19050 progressively longer between scans when the list of scanned access
19051 points doesn't change. A change will revert to the shortest scan
19054 * src/NetworkManagerWireless.[ch]
19055 - Remove code related to old single-thread wireless scanning
19057 2005-01-18 Colin Walters <walters@redhat.com>
19059 * src/NetworkManagerDHCP.c (set_nameservers): Free and clear list
19060 of older nameservers.
19062 2005-01-18 Colin Walters <walters@redhat.com>
19064 * named/nm-named-manager.c (generate_named_conf): Many fixes
19065 to config file generation.
19066 (safer_kill): Remove, was too much trouble for little gain.
19067 (nm_named_manager_start): Run named as NM_NAMED_USER.
19069 * configure.in: Add option --with-named-user.
19071 2005-01-14 Colin Walters <walters@redhat.com>
19073 Patch from ed@catmur.co.uk (Ed Catmur)
19075 * named/nm-named-manager.c: Add "context" property.
19076 Use it to add child watch source in specific GMainContext.
19078 * src/NetworkManager.c (nm_data_new): Initialize
19079 named with correct main context. Start named only
19082 2005-01-14 Colin Walters <walters@redhat.com>
19084 * named/nm-named-manager.c (generate_named_conf): Write config
19085 and pid files into NM_NAMED_DATA_DIR; this allows things to
19086 work better with FC3 named SELinux policy. Also fix up silly
19089 * configure.in: Add --with-named-dir option.
19091 2005-01-14 Colin Walters <walters@redhat.com>
19093 * configure.in: Make named support require passing --with-named.
19095 * named/nm-named-manager.c: Support writing resolv.conf directly
19096 without running named.
19098 2005-01-13 Dan Williams <dcbw@redhat.com>
19100 * named/nm-named-manager.c
19101 - Use syslog(LOG_WARNING) rather than g_warning() (gnome.org #163961)
19103 * src/NetworkManagerDevice.c
19104 - Rework wireless link detection code to be more reliable
19106 2005-01-12 Dan Williams <dcbw@redhat.com>
19108 * initscripts/RedHat/NetworkManager
19109 - Change initial level to "-" rather than "345" so that
19110 we don't activate ourselves by default on install
19112 2005-01-12 Dan Williams <dcbw@redhat.com>
19115 - Client library for applications using glib
19119 - Split NM_CFLAGS and NM_LIBS into separate variables
19120 like DBUS_*, HAL_* and GLIB_*
19122 * src/NetworkManager.c
19123 src/NetworkManagerMain.h
19124 - (nm_schedule_status_signal_broadcast): at the earliest convenience,
19125 broadcast a status changed signal over DBUS from the main thread.
19126 Still unused anywhere for the moment.
19128 Patch from j@bootlab.org
19129 * panel_applet/NMWirelessAppletDbus.c
19130 src/NetworkManagerDbus.c
19131 - Correct INT32->UINT32 mistmatch between NM and the panel applet
19132 for the "getMode" method call
19134 2005-01-10 Dan Williams <dcbw@redhat.com>
19136 * src/NetworkManagerDevice.c
19137 - Minor fixups & corrections to "auto" frequency mode, make it
19138 less chatty with syslog
19140 2005-01-10 Dan Williams <dcbw@redhat.com>
19142 * src/NetworkManagerDevice.c
19143 - Implement "auto" frequency/channel support, since cards like Atheros
19144 can't use other frequencies at all when you've told it to use a
19145 specific one, even for scanning.
19146 - Grab the scan mutex around places where we can't tolerate wireless
19147 settings changing underneath us, like nm_device_wireless_network_exists()
19148 and nm_device_activate_wireless()
19150 * src/NetworkManagerWireless.c
19151 - Back scan interval off to 20s instead of 14s
19153 2005-01-09 Dan Williams <dcbw@redhat.com>
19155 * src/NetworkManagerDevice.c
19156 - Don't set mode/freq/bitrate if that mode/freq/bitrate is
19157 already set. Stops some drivers like Atmel from continually
19158 reloading the firmware, which they do upon every configuration
19161 2005-01-09 Dan Williams <dcbw@redhat.com>
19164 - Use correct timeout value
19166 * info-daemon/NetworkManagerInfoDbus.c
19167 src/NetworkManagerDbus.c
19168 - Consolidate communication between NM and NMI by doing only 1 dbus
19169 method call to get Wireless Network info from NMI instead of 6
19171 * src/NetworkManager.c
19172 - Make sure to cancel activation when we receive a SIGTERM, otherwise
19173 when we didn't have an AP to use, we'd wait for one forever without
19176 * src/NetworkManagerDevice.c
19177 - nm_device_activation_cancel(): Fix a race between dhcp and quitting
19178 activation, dhcp might not have started yet but we don't quit activation
19179 before starting it, so the quit signal gets lost
19181 2005-01-07 Dan Williams <dcbw@redhat.com>
19184 - Rework the DHCP client code to be much less chatty when
19185 it receives non-DHCP UDP packets during the DHCP run
19186 (reported by and preliminary patches from Bill Moss)
19188 * Move wireless scanning to a separate thread. This thread forwards the
19189 results to the main thread when done where they are integrated into
19190 the device's access point lists. This keeps the main thread (which
19191 does all the DBUS communication) from being blocked for long periods
19192 of time by wireless scanning.
19194 * Make state modification an idle routine in the main loop, and trigger
19195 state changes rather than polling for them.
19197 * src/backends/NetworkManagerGentoo.c
19198 - Fix up invalid C90 code (reported by Christoph Ruessler)
19200 * src/NetworkManagerDevice.c
19201 - Revert IPv6 patch for wired devices from 2004-12-22 for
19202 router advertisements, causing problems and infinite loop
19203 during "best" device determination due to link going up/down
19204 (reported by Bill Moss)
19206 Apply patch from Peter Jones
19207 * src/NetworkManagerDevice.c
19208 - Shortcut for link-checking for ipw2x00 cards
19209 - Split out association check into separate routine
19211 2004-01-05 Colin Walters <walters@redhat.com>
19213 * named/named.conf: Add PID_FILE.
19215 * named/nm-named-manager.c: Always generate a pid
19216 file, since older BIND versions don't support
19219 2005-01-01 Satoru SATOH <ss@gnome.gr.jp>
19221 * configure.in (ALL_LINGUAS): Added ja (Japanese).
19223 2004-12-22 Dan Williams <dcbw@redhat.com>
19225 * src/NetworkManagerDevice.c
19226 - Silently fail when setting bitrate doesn't work
19229 Patches from j@bootlab.org:
19230 * src/backends/NetworkManagerDebian
19231 - Update backend to match functionality in RedHat backend
19232 * src/NetworkManagerDevice.c
19233 - Take down then bring up wired devices after connection so
19234 they send out ipv6 router advertisements
19236 2004-12-21 Colin Walters <walters@verbum.org>
19238 * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_update_devices): Correctly
19239 test for NETWORK_MODE_ADHOC; spotted by: Greg <gonufer@gmail.com>.
19241 2004-12-21 Colin Walters <walters@redhat.com>
19243 * configure.in: Correct named detection.
19245 2004-12-21 Colin Walters <walters@redhat.com>
19247 * src/NetworkManager.c (nm_data_new): Initialize named.
19248 Also, set up a signal handler for SIGINT/SIGTERM, and exit
19249 the mainloop when these signals are received.
19250 (nm_data_free): Unref named.
19251 (sigterm_handler, sigterm_pipe_handler): New functions for
19254 * src/NetworkManagerMain.h (NMData): Add signal handling and
19257 * src/NetworkManager.c (nm_device_unref): Quit device mainloop on
19260 * src/NetworkManagerDHCP.c (set_nameservers): New function;
19261 set nameservers from DHCP response data.
19262 (set_domain_search): Set domain search from DHCP response.
19263 (nm_device_dhcp_configure): Invoke them.
19265 * src/NetworkManagerSystem.c
19266 (nm_system_device_update_resolv_conf): Delete. Deleting
19267 code is totally sweet.
19269 * src/Makefile.am (NetworkManager_LDADD): Add libnamed.
19271 * named/nm-named-manager.h, named/nm-named-manager.c: New files;
19272 implements an object which controls a nameserver. Currently
19275 * configure.in: Check for named.
19277 * Makefile.am (SUBDIRS): Add named dir.
19279 * named/named.conf: New template config file.
19281 2004-12-20 Colin Walters <walters@redhat.com>
19283 * src/NetworkManagerPolicy.c (nm_policy_get_best_device): Fix usage of '=='
19286 2004-12-17 Dan Williams <dcbw@redhat.com>
19288 * Ad Ad-Hoc networking mode support. In Ad-Hoc mode, we only try to get
19289 link-local addresses instead of doing DHCP.
19291 * In the panel applet, there's a new "Create new Wireless Network..." item
19293 * The panel applet also sticks around now even if NetworkManager dies, but
19294 it doesn't hide its icon when NM isn't around. Not hiding the icon is
19295 a bug, I'll fix that later.
19297 * We also don't use 'nscd' anymore in the RH backend, it was impeding name
19298 lookups after a switch rather than actually doing them.
19300 * Clean up some of those warnings in nm_ap_list_* functions
19302 * Delay between scans changed to 15s instead of 10s
19304 2004-12-15 Dan Williams <dcbw@redhat.com>
19306 Patch from Tom Parker
19307 * Add autoip/Link Local Addressing support when we fail to get a DHCP
19310 * Longer pause after setting ESSID on cards that support a larger number
19311 of channels to give the card time to find the right channel
19313 * Add system hook to restart mDNSResponder (or whatever the local implementation
19314 of Multicast DNS is) when we activate interfaces
19316 2004-12-15 Dan Williams <dcbw@redhat.com>
19318 * Rework the DHCP code again to revert to sending full ethernet frames
19319 rather then relying on the kernel to do the right thing with our
19322 2004-12-06 Dan Williams <dcbw@redhat.com>
19325 - Fix some minor errors in dhcp_handle_transaction() that caused
19326 unexpected early timeouts of DHCP transactions
19329 - DHCP retransmit time from 4s -> 5s
19331 2004-12-05 Dan Williams <dcbw@redhat.com>
19333 * Major rework of the DHCP code, taking some cues from pump. We don't
19334 write raw Ethernet packets anymore, which simplifies the code quite
19335 a bit. The new code should be more robust, not hang in recvfrom()
19336 as much, and generally work better. This also means that we need
19337 to force HAL/dbus to use a created GMainContext rather than the
19338 default context, since having the DHCP renew/rebind thread using
19339 its own GMainContext seemed to give dbus a fit. There is also more
19340 debugging information printed from the DHCP loop to help with future
19343 * Also, if the DHCP server doesn't give us the "routersOnSubnet" option,
19344 assume that the default gateway should be the DHCP server.
19346 Patch from Matthew Schick <matt oss-institute org>
19347 * src/backends/NetworkManagerGentoo.c
19348 - Fix compilation error due to missing "ip4_broadcast"
19350 2004-12-03 Dan Williams <dcbw@redhat.com>
19352 * initscript/Makefile.am
19353 * initscript/Debian/NetworkManager
19354 * initscript/Gentoo/NetworkManager
19355 * initscript/RedHat/NetworkManager
19356 * initscript/NMLaunchHelper.c
19357 - Remove NMLaunchHelper, if you need to wait until the network
19358 comes up, use the dead code from CVS.
19360 2004-12-01 Colin Walters <walters@redhat.com>
19362 * configure.in: Suck in gcc warnings code from Rhythmbox,
19363 but use fewer default flags, and in particular add -Wno-unused,
19364 since the codebase has a lot of unused variables.
19366 * test/nmtestdevices.c (create_device):
19367 * test/nminfotest.c (get_network_string_property)
19368 (get_networks_of_type):
19369 * test/nmclienttest.c (main):
19370 * src/NetworkManagerDbus.c (nm_dbus_create_error_message):
19371 * initscript/NMLaunchHelper.c (get_nm_status):
19372 * info-daemon/NetworkManagerInfoPassphraseDialog.c (update_button_cb):
19373 * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_create_error_message):
19374 Fix declarations after statements.
19376 2004-12-01 Colin Walters <walters@redhat.com>
19378 * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_return_vpn_password): New method.
19379 (nmi_dbus_get_vpn_userpass): New method.
19380 (nmi_dbus_nmi_message_handler): Invoke it.
19382 * info-daemon/NetworkManagerInfoDbus.h (nmi_dbus_return_vpn_password): Prototype.
19384 * info-daemon/NetworkManagerInfoVPN.h,
19385 info-daemon/NetworkManagerInfoVPN.c: New files; responds
19386 to requests for VPN passwords.
19388 * configure.in (GNOME_KEYRING_LIBS): Check for gnome-keyring.
19390 2004-12-01 Colin Walters <walters@redhat.com>
19392 * test/nmtestdevices.c, test/nmclienttest.c: Add missing
19395 2004-12-01 Colin Walters <walters@redhat.com>
19397 * panel-applet/NMWirelessAppletDbus.c
19398 (nmwa_dbus_update_active_device_strength): Fix missing
19401 2004-12-01 Colin Walters <walters@redhat.com>
19403 * panel-applet/NMWirelessApplet.c: Add missing include.
19405 2004-12-01 Colin Walters <walters@redhat.com>
19407 * src/NetworkManagerWireless.c (nm_wireless_qual_to_percent):
19408 Remove useless CLAMP (); the value is unsigned, and the case tests
19409 qual->qual < 100, so the value must always be between 0 and 100.
19411 2004-12-01 Colin Walters <walters@redhat.com>
19413 * dhcpcd/buildmsg.c, dhcpcd/dhcp_test.c: Add missing includes.
19415 2004-11-22 Colin Walters <walters@verbum.org>
19417 * src/backends/NetworkManagerRedHat.c (nm_system_update_dns): Run
19418 "nscd -i hosts" to invalidate the host cache instead of restarting nscd,
19419 which is essentially a noop since nscd caches hosts on disk too.
19421 2004-11-22 Colin Walters <walters@redhat.com>
19423 * src/Makefile.am (NetworkManager_SOURCES): Add
19424 NetworkManagerDevicePrivate.h.
19426 2004-11-22 Dan Williams <dcbw@redhat.com>
19428 * src/NetworkManagerDevicePrivate.h
19429 - Split out the NMDevice struct to a different file so that stuff like
19430 NetworkManagerDHCP.c and NetworkManagerSystem.c can use it
19434 - (dhcpSendAndRecv): do non-blocking sends and receives, and check to see if we
19435 need to cancel the dhcp request during the send and recv
19438 - Move the DHCP option enum to dhcpcd.h
19440 * src/NetworkManagerDHCP.c
19441 - Split out the actual IP/netmask/etc setting code
19442 - New Renew/Rebind functions
19443 - New timer setup function for renew/rebind operations
19445 * src/NetworkManagerDevice.c
19446 - For device activation, if we are using DHCP then keep the activation thread
19447 alive until device deactivation. We need to renew/rebind the DHCP address
19448 after the T1 (renew) and T2 (rebind) times have expired.
19449 - Increase some timeouts after bringing wireless cards up/down
19451 2004-11-17 Dan Williams <dcbw@redhat.com>
19453 * Cache access point MAC addresses in NetworkManagerInfo after you've explicitly
19454 connected to them. Then, after a scan, match up non-ESSID-broadcasting access
19455 points with any cached MAC addresses from NetworkManagerInfo. Allows us to
19456 show known access points that don't broadcast their ESSID in the menus without
19457 any user intervention whatsoever.
19459 * info-daemon/NetworkManagerInfoDbus.c
19460 - (nmi_dbus_get_network_addresses, nmi_dbus_add_network_address): new functions
19461 for dbus method calls "getNetworkAddresses" and "addNetworkAddress"
19463 * src/NetworkManagerAP.[ch]
19464 - Add a "user_addresses" data member to the NMAccessPoint structure
19465 - (nm_ap_get_user_addresses, nm_ap_set_user_addresses): new functions for accessing
19466 the user_addresses data member
19468 * src/NetworkManagerAPList.c
19469 - (nm_ap_list_get_ap_by_address): check user_addresses list too, instead of just
19470 the AP's reported address
19471 - (nm_ap_list_update_network): grab the user_addresses list from NetworkManagerInfo
19473 * src/NetworkManagerDHCP.c
19474 - Increase DHCP timeout from 25s -> 30s
19476 * src/NetworkManagerDbus.[ch]
19477 - (nm_dbus_get_network_addresses, nm_dbus_add_network_address): have NMI get/set
19480 * src/NetworkManagerDevice.c
19481 - (nm_device_set_wireless_config): bring down the interface, wait 4s, bring it up,
19482 wait 2s, then configure it. Sometimes Prism54 cards will freeze up with
19483 "mgnt tx queue full", seemingly in response to NM controlling the card too much.
19484 So, we take the card down to clear it out.
19485 - (nm_device_do_normal_scan): Copy over AP ESSIDs from the allowed access point list
19486 too, since that's where the user_addresses are
19488 * src/NetworkManagerPolicy.c
19489 - (nm_state_modification_monitor): Tell NMI to add an AP's hardware address to
19490 that wireless networks' user_addresses list upon successful activation
19492 2004-11-16 Dan Williams <dcbw@redhat.com>
19494 * src/NetworkManagerDevice.[ch]
19495 - (nm_device_clear_activation_fail): new function
19497 * src/NetworkManagerPolicy.c
19498 - (nm_state_modification_monitor): clear the activation_failed flag on devices
19499 when we've dealt with the failure so the user doesn't get failure-dialog-spammed
19501 2004-11-16 Dan Williams <dcbw@redhat.com>
19503 * src/NetworkManagerDevice.c
19504 - (nm_device_activate_wireless): Unref best_ap upon success so we don't
19505 leak the structure, better updating of now_scanning status
19506 - (nm_device_wireless_network_exists): Rewrite for better/faster checking
19508 2004-11-15 Dan Williams <dcbw@redhat.com>
19510 Major rework of link detection code. We now use DHCP
19511 as part of the link detection which proves to be much more robust,
19512 and also supports Open System authentication for wireless networks.
19514 We no longer use external DHCP client programs. Instead, we use
19515 our own DHCP client, based on substantially reworked bits of 'dhcpcd'
19516 which was written by:
19517 Yoichi Hariguchi <yoichi@fore.com>
19518 Sergei Viznyuk <sv@phystech.com>
19519 http://www.phystech.com/download/
19520 It resides in the "dhcpcd" directory and was refactored into a general
19521 purpose DHCP client library by me.
19523 Also misc fixes (CPPFLAGS->AM_CPPFLAGS, move some stuff around),
19524 move src/backends/NetworkManagerSystem.h -> src/NetworkManagerSystem.h
19526 2004-11-15 Dan Williams <dcbw@redhat.com>
19528 Patch from Tom Parker <palfrey@tevp.net>:
19530 * src/NetworkManagerDevice.c
19531 - Less output to console when no access
19532 points are found during a scan
19534 2004-11-15 Dan Williams <dcbw@redhat.com>
19536 Patch from Tom Parker <palfrey@tevp.net>:
19538 * src/backends/interface_parser.c
19540 - Check for inp == NULL
19543 2004-11-13 Colin Walters <walters@redhat.com>
19545 Patch from Tom Parker <palfrey@tevp.net>:
19547 * src/Makefile.am (CPPFLAGS): Switch to AM_CPPFLAGS.
19549 * src/backends/NetworkManagerRedHat.c: Switch to
19550 including shvar.h instead of shvar.c.
19552 * src/backends/NetworkManagerDebian.c: Don't include
19553 interface_parser.c in source file.
19555 (libnmbackend_la_SOURCES): Don't include shvar.[ch]
19556 and interface_parser.[ch].
19557 * src/Makefile.am (libnmbackend_la_SOURCES) <TARGET_REDHAT>:
19558 Include shvar.c and shvar.h here.
19559 (libnmbackend_la_SOURCES) <TARGET_DEBIAN>: Include
19560 interface_parser.c and interface_parser.h here.
19562 2004-11-12 Colin Walters <walters@redhat.com>
19564 * configure.in: Strip out TARGET_DISTRO and
19565 SYSTEM_BACKEND_FILE variables. Switch to Automake
19568 * src/Makefile.am (noinst_LTLIBRARIES): Add libnmbackend.la.
19569 (libnmbackend_la_SOURCES): Use Automake conditionals
19570 to add distro-specific files.
19572 * initscript/Makefile.am (SUBDIRS): Update to
19575 2004-11-12 Colin Walters <walters@redhat.com>
19577 Patches from j bootlab org
19579 * src/Makefile.am (EXTRA_NetworkManager_SOURCES):
19580 Add interface_parser.[ch].
19582 * src/backends/NetworkManagerDebian.c (nm_system_device_run_dhcp): Invoke
19583 dhclient with "-lf /var/lib/dhcp/dhclient-%s.leases".
19585 2004-11-12 Colin Walters <walters@redhat.com>
19587 * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_service_init): Delete
19588 call to nmi_dbus_is_running too, not necessary anymore.
19589 * info-daemon/NetworkManagerInfoDbus.c: Include stdlib.h to
19592 2004-11-11 Colin Walters <walters@verbum.org>
19594 * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_is_running):
19596 (nmi_dbus_service_init): Call dbus_bus_acquire_service with
19597 the DBUS_SERVICE_FLAG_PROHIBIT_REPLACEMENT flag, and
19598 then check the result for DBUS_SERVICE_REPLY_SERVICE_EXISTS.
19599 This avoids a race condition that made it pretty easily
19600 possible to get two NetworkManagerInfo daemons running.
19602 2004-11-11 Colin Walters <walters@verbum.org>
19604 * src/NetworkManager.c (main): Use daemon(3).
19606 * info-daemon/NetworkManagerInfo.c (main): Ditto.
19608 * dispatcher-daemon/NetworkManagerDispatcher.c (main): Ditto.
19610 2004-11-10 Dan Williams <dcbw@redhat.com>
19612 Patches from j bootlab org
19613 * src/NetworkManagerDevice.c
19614 - (nm_device_activate_wireless): wait 5 seconds before attempting to detect
19615 whether the card has a link or not, some cards are slow
19616 - (nm_device_activation_configure_ip): make ipv6 work a bit better
19618 * info-daemon/NetworkManagerInfoPassphraseDialog.c
19619 - Disable the "Login" button on the passphrase dialog until the user
19620 enters a valid passphrase or key
19622 Patches from Tom Parker <palfrey tevp net>
19623 * src/backends/NetworkManagerDebian.c
19624 - Add static IP support to the debian backend
19626 * src/backends/interface_parser.[ch]
19627 - Parse debian interface config files
19629 2004-11-08 Dan Williams <dcbw@redhat.com>
19631 * src/NetworkManagerDevice.c
19632 - Some random fprintf->syslog conversions
19633 - (nm_device_wireless_network_exists): double-check for network
19634 - (nm_device_find_and_use_essid): Copy over encryption key no matter what
19636 * src/NetworkManagerWireless.[ch]
19637 - (nm_wireless_[128|64]bit_ascii_to_hex): make "ascii" argument unsigned again
19638 so that the binary->ascii conversion works (if unsigned, the bitshift
19639 will fill with zeros, which is what's required). Also mask bitshift
19640 result with 0xF for futher assurance.
19642 2004-11-06 Dan Williams <dcbw@redhat.com>
19644 * src/NetworkManagerUtils.c
19645 - (nm_get_wireless_driver_support_level): default to
19646 FULLY_SUPPORTED rather than UNSUPPORTED, forgot to
19647 flip this when changing from whitelist->blacklist of
19650 2004-11-05 Dan Williams <dcbw@redhat.com>
19652 Patch from Robert Paskowitz:
19653 * src/backends/NetworkManagerGentoo.c
19654 - Update static IP config code
19656 2004-11-05 Dan Williams <dcbw@redhat.com>
19658 * info-daemon/NetworkManagerInfoDbus.c
19659 src/NetworkManagerDbus.[ch]
19660 src/NetworkManagerDevice.c
19661 - Keep track of the # of attempts to get the WEP key
19662 from the user and pass that along to the info daemon
19664 2004-11-05 Dan Williams <dcbw@redhat.com>
19666 * src/NetworkManagerUtils.c
19667 - Blacklist wireless cards rather than whitelisting them.
19668 - Grab driver name from HAL rather than trying to find it
19671 2004-11-03 Dan Williams <dcbw@redhat.com>
19673 * panel-applet/NMWirelessAppletOtherNetworkDialog.c,
19674 - Disable OK button until valid data is entered
19675 for encryption stuff too
19677 * panel-applet/NMWirelessApplet.c
19678 - Report card strength for current AP if the card
19679 doesn't report strength data for scanned access
19682 * src/NetworkManagerDevice.c
19683 - Smooth out cards reported quality, Atmel card was
19684 intermittently reporting no quality data but soon
19687 * src/NetworkManagerWireless.c
19688 - Better quality data percentage calculation. Atmel
19689 cards (mine at least) seem to report the quality
19690 in percentage format already, so honor that
19692 Patch from <j@bootlab.org>
19694 info-daemon/NetworkManagerInfoPassphraseDialog.c
19695 info-daemon/passphrase.glade
19696 panel-applet/NMWirelessAppletOtherNetworkDialog.c
19697 panel-applet/essid.glade
19698 src/NetworkManagerAP.c
19699 src/NetworkManagerDevice.c
19700 src/NetworkManagerWireless.[ch]
19701 - Support ASCII WEP keys, in both 40/64 bit and 104/128 bit
19703 2004-11-03 Dan Williams <dcbw@redhat.com>
19705 * src/NetworkManagerDevice.[ch]
19706 - (nm_device_set_enc_key): Add parameter to set Authentication
19707 Mode (Open System, Shared Key, or None). We're still using
19708 Shared Key for now though.
19710 2004-11-02 Bryan Clark <clarkbw@cvs.gnome.org>
19712 * panel-applet/menu-info.c: change from bold text to light
19713 colored, may cause problems with some themes, i've tested a lot
19714 and they seem fine.
19716 * panel-applet/NMWirelessApplet.c: fix strength tooltip
19718 2004-11-01 Colin Walters <walters@verbum.org>
19720 * src/NetworkManagerWireless.h, src/NetworkManagerWireless.c
19721 (nm_wireless_128bit_key_from_passphrase): Add const.
19723 * src/NetworkManagerAP.h, src/NetworkManagerAP.c
19724 (nm_ap_set_enc_key_source): Add const.
19726 2004-11-01 Colin Walters <walters@verbum.org>
19728 * .cvsignore: Update.
19730 2004-10-29 Dan Williams <dcbw@redhat.com>
19732 * src/NetworkManagerDevice.c
19733 - (nm_device_wireless_network_exists): Actually use the encryption
19734 key we got from the applet when attempting to find a wireless network
19735 - Don't bring devices down so much since on some cards it triggers
19736 firmware hotplugs each time
19738 * src/NetworkManagerDbus.c
19739 - (nm_dbus_nm_set_active_device): free the passphrase we may have gotten
19742 2004-10-29 Dan Williams <dcbw@redhat.com>
19744 * src/NetworkManager.c
19745 - (nm_hal_device_property_modified): unlock a locked active
19746 wireless device when a wired connection gets a link.
19747 (Means you'll switch to wired whenever you plug in no
19750 2004-10-29 Dan Williams <dcbw@redhat.com>
19752 * panel-applet/NMWirelessAppletOtherNetworksDialog.[ch]
19753 - New files, implement the "Other wireless network" dialog
19755 * panel-applet/NMWirelessApplet.c
19756 - Move "other wireless network" dialog to separate file
19758 * panel-applet/NMWirelessAppletDbus.[ch]
19759 - Take key and key_type paramaters for the set_device function
19761 * panel-applet/essid.glade
19762 - Add UI bits for encryption settings
19764 * src/NetworkManagerDbus.c
19765 - Retrieve key and key_type params for "setActiveDevice" method call
19767 - unref AP returned from nm_device_get_best_ap() when needed
19769 * src/NetworkManagerDevice.c
19770 - (nm_device_get_best_ap): ref the ap before returning it
19771 - unref AP returned from nm_device_get_best_ap() when needed
19772 - (nm_device_activate_wireless): add "ap" parameter so we don't
19773 need to call nm_device_get_best_ap() here, it was pretty much
19775 - (AP_NEED_KEY): break second link check condition out into separate
19776 function, and fix segfault when ap->enc_key_source was NULL
19777 - (nm_device_find_and_use_essid): take key and key_type parameters and
19778 pass them along to nm_device_wireless_network_exists(). If the
19779 network does exist, set the passed-in key+key_type on the AP
19781 * src/NetworkManagerPolicy.c
19782 - unref AP returned from nm_device_get_best_ap() when needed
19784 2004-10-28 Dan Williams <dcbw@redhat.com>
19786 * src/NetworkManagerUtils.c
19787 - (nm_spawn_process): Fix a potential dereference of NULL
19789 Patches from Peter Jones:
19791 * src/NetworkManagerDevice.c
19792 - (nm_device_test_wireless_extensions): Better check for
19795 * src/NetworkManagerUtils.c
19796 - (nm_spawn_process): Pass in valid stdout and stderr so
19797 executed programs don't randomly SIGPIPE and fail
19798 - (nm_get_wired_driver_support_level): quash hal warning
19799 when checking for USB ethernet device
19801 2004-10-27 Dan Williams <dcbw@redhat.com>
19803 * info-daemon/NetworkManagerInfo.c
19804 info-daemon/NetworkManagerInfoDbus.c
19805 info-daemon/NetworkManagerInfoPassphraseDialog.c
19806 panel-applet/NMWirelessApplet.c
19807 - Properly escape gconf keys
19809 * src/NetworkManager.c
19810 - remove unused variables
19812 * src/NetworkManagerAP.c
19813 - (nm_ap_new_from_ap): Don't redundantly set new APs
19814 refcount since it got set in nm_ap_new()
19816 * src/NetworkManagerAPList.c
19817 - (nm_ap_list_combine): Give up ownership of newly created
19818 access points to the ap list, fixes memleak
19820 * src/NetworkManagerDevice.c
19821 - Remove cached_ap_list4 member since its not really needed
19822 - (nm_device_wireless_network_exists): Try to get correct
19823 encryption status of a found AP if its already in our
19825 - (nm_device_do_normal_scan): Clean up scanning a bit, make
19826 memory allocs/deallocs a bit clearer and shorter-lived
19828 2004-10-26 Ray Strode <rstrode@redhat.com>
19830 * panel-applet/NMWirelessApplet.c:
19831 (custom_essid_item_selected): kill some compiler
19834 2004-10-26 John (J5) Palmieri <johnp@redhat.com>
19836 * info-daemon/NetworkManagerInfoDbus.c
19837 - (nmi_dbus_is_running): New function for determining if nmi is already running
19838 - (nmi_dbus_service_init): exit if another instance of nmi is already running
19840 2004-10-23 Dan Williams <dcbw@redhat.com>
19842 * info-daemon/NetworkManagerInfoDbus.c
19843 - Trap the "DeviceActivationFailed" signal
19845 * docs/NetworkManager DBUS API.txt
19846 - Add "DeviceActivationFailed" signal
19848 * panel-applet/NMWirelessAppletDbus.c
19849 - Quash the "NetworkManager service not available" message
19851 * src/NetworkManagerDbus.[ch]
19852 - Add the "DeviceActivationFailed" signal
19854 * src/NetworkManagerDevice.c
19855 - Add support for activation_failed flag
19856 - Fix deadlock where activation thread didn't clean itself up, making
19857 main thread still believe it was alive forever (didn't reset activation
19858 flags like activating, just_activated, etc when IP configuration
19861 * src/NetworkManagerPolicy.c
19862 - Implement logic for DeviceActivationFailed signal, and when activation fails
19863 for wireless networks, try to fall back to some other access point
19865 2004-10-23 Dan Williams <dcbw@redhat.com>
19867 * panel-applet/NMWirelessApplet.[ch]
19868 - Place the GtkMenuBar inside a GtkEventBox, and add the Event Box
19869 to the applet object, so we can get tooltips
19870 - Add tooltips (RH #136866)
19872 * src/NetworkManagerDevice.c
19873 - When trying to find a wireless network, try to connect with encryption
19874 turned on first, so that we can more accurately detect whether or not
19875 we need to use encryption for the actual association later on
19877 2004-10-21 Dan Williams <dcbw@redhat.com>
19879 * Add some support for telling NetworkManagerInfo to tell the user
19880 that they are using a device that's not fully supported
19882 * Fix some assertions in debug messages due to null access point args
19884 2004-10-21 Dan Williams <dcbw@redhat.com>
19886 * src/NetworkManagerDevice.c
19887 - Don't try to activate/bring up/down unsupported
19890 * src/NetworkManagerUtils.c
19891 - Fix case of PCI ID checks for driver support levels
19893 2004-10-21 Dan Williams <dcbw@redhat.com>
19896 - New file, now contains commonly used structures and bits
19897 for the dbus API of NetworkManager
19900 - Deliver NetworkManager.h to ${includedir}/NetworkManager
19902 * src/NetworkManager.h
19903 - Rename -> src/NetworkManagerMain.c
19905 * Various fixups all around to use NetworkManager.h and new
19906 src/NetworkManagerMain.h, remove redundant bits that got
19907 moved into NetworkManager.h
19909 * src/NetworkManagerDevice.[ch]
19910 src/NetworkManagerUtils.[ch]
19911 src/NetworkManagerPolicy.c
19912 src/NetworkManagerDbus.c
19913 - Whitelist wireless drivers, and blacklist some wired
19914 drivers. Also blacklist cipsec and ethernet-over-usb
19915 devices at this time (RH #135722, RH #135648)
19916 - Don't leak unsupported devices out over dbus, or allow
19917 them to be set as the active device. Skip over them
19918 during automatic device picking
19920 * test/nmclienttest.c
19921 - Clean up the dbus code a lot
19923 Tue Oct 19 14:20:29 2004 Jonathan Blandford <jrb@redhat.com>
19925 * configure.in: post release bump.
19927 Tue Oct 19 14:19:24 2004 Jonathan Blandford <jrb@redhat.com>
19930 * NEWS: Released NetworkManager-0.3.1
19932 2004-10-18 Dan Williams <dcbw@redhat.com>
19934 Patches from Thom May:
19935 * test/nmtestdevices.c
19936 - Include <string.h>
19937 * src/backends/NetworkManagerDebian.c:
19938 - (nm_system_device_run_dhcp, nm_system_device_stop_dhcp)
19939 (nm_system_device_flush_routes, nm_system_device_flush_addresses)
19940 Move to using g_strdup_printf rather than arbitrary buffers
19941 - (nm_system_device_setup_static_ip4_config) Implement function.
19942 - (nm_system_kill_all_dhcp_daemons) Use killall -q rather than killall
19944 2004-10-17 Dan Williams <dcbw@redhat.com>
19946 * info-daemon/NetworkManagerInfoDbus.c
19947 - Display name of network in the "network not found" dialog
19949 * panel-applet/NMWirelessAppletDbus.c
19950 - (nmwa_dbus_call_nm_method): new function replaces all other
19951 nmwa_dbus_get_[string|string_array|int|boolean] methods
19952 - nmwa_dbus_get_network_name() and nmwa_dbus_get_device_name()
19953 consolidated into nmwa_dbus_get_object_name()
19955 2004-10-15 Dan Williams <dcbw@redhat.com>
19957 * src/NetworkManagerDbus.c
19958 info-daemon/NetworkManagerInfoDbus.c
19959 - Display an error dialog when the user tries to use an
19960 "Other wireless network" that's not found.
19962 2004-10-15 Dan Williams <dcbw@redhat.com>
19964 * panel-applet/NMWirelessApplet.[ch]
19965 - Fix up corner cases in applet state, making it
19966 look more responsive. Change state to "connecting" when
19967 the user is forcing a device too.
19969 2004-10-15 Dan Williams <dcbw@redhat.com>
19971 * src/NetworkManagerAPList.c
19972 - (nm_ap_list_update_network): Disown AP after the list takes ownership
19974 * src/NetworkManagerDbus.c
19975 - (nm_dbus_nm_set_active_device): Simplify the device setting logic
19977 * src/NetworkManagerDevice.c
19978 - Disown APs after the device's AP list takes ownership
19980 2004-10-15 Dan Williams <dcbw@redhat.com>
19982 * panel-applet/NMWirelessApplet.c
19983 - Update our applet state from the GUI thread
19985 * panel-applet/NMWirelessAppletDbus.c
19986 - Greatly simplify the locking to make the GUI thread
19987 smoother. Update a private copy of the device list
19988 and active device and only when done talking to
19989 NetworkManager turn it over to the GUI thread.
19991 2004-10-15 Dan Williams <dcbw@redhat.com>
19993 * src/NetworkManagerAP.[ch]
19994 - Add "artificial" get/set functions, set for APs that
19995 aren't discovered as part of a scan but instead
19996 discovered by force-setting the ESSID
19998 * src/NetworkManagerDevice.[ch]
19999 - (nm_device_wireless_network_exists): pass back whether
20000 or not the discovered AP was encrypted. Also, try
20001 falling back to encrypted mode on the card if unencrypted
20002 association doesn't work
20003 - (nm_device_find_and_use_essid): If the network requested
20004 did in fact exists, but it wasn't in our scan list, add
20005 an "artificial" entry for it. Some Cisco cards don't
20006 see non-ESSID-broadcasting APs in their scan but can still
20007 associate with them if you know the ESSID, this works around
20009 - (nm_device_do_normal_scan): Carry "artificial" APs over from scan
20010 to scan if the card is currently associated with that AP
20012 2004-10-15 Dan Williams <dcbw@redhat.com>
20014 ---- We have a website ----
20015 http://people.redhat.com/dcbw/NetworkManager
20017 Patch from Robert Paskowitz:
20018 * src/NetworkManager.c
20019 - (main): Make sure we are run as root
20020 * src/NetworkManagerDevice.c
20021 - Fix type in ad-hoc setting function
20023 Patch from Thom May:
20024 * src/backends/NetworkManagerDebian.c
20025 - Make Debian backend compile again
20027 2004-10-14 Dan Williams <dcbw@redhat.com>
20029 * Tagged NetworkManager-0_3
20031 2004-10-14 Dan Williams <dcbw@redhat.com>
20033 Patch from Robert Paskowitz:
20035 src/NetworkManagerDevice.[ch]
20036 src/backends/NetworkManagerDebian.c
20037 src/backends/NetworkManagerGentoo.c
20038 src/backends/NetworkManagerRedHat.c
20039 src/backends/NetworkManagerSlackware.c
20040 - Add support for grabbing and using a broadcast address
20041 from system config files
20042 - Some Gentoo backend fixes for grabbing network config
20043 - Fix LOG_WARN->LOG_WARNING
20045 2004-10-14 Dan Williams <dcbw@redhat.com>
20047 * NEWS: a few small fixes in the credits
20049 Thu Oct 14 19:12:58 2004 Jonathan Blandford <jrb@redhat.com>
20051 * NEWS: prep for release.
20053 Thu Oct 14 16:47:12 2004 Jonathan Blandford <jrb@redhat.com>
20055 * panel-applet/NMWirelessAppletDbus.c
20056 (nmwa_dbus_update_device_wireless_networks): remove warnings.
20058 Thu Oct 14 16:40:39 2004 Jonathan Blandford <jrb@redhat.com>
20060 * panel-applet/NMWirelessApplet.c (animation_timeout): Make
20061 applet->state == APPLET_STATE_NO_NM animation.
20063 * panel-applet/NMWirelessApplet.c (custom_essid_item_selected):
20064 set the text correctly.
20066 2004-10-14 Dan Williams <dcbw@redhat.com>
20068 * src/NetworkManager.c
20069 - Only accept and manager 802.3 and 802.11 devices
20071 * src/NetworkManagerDbus.[ch]
20072 - (nm_dbus_nm_set_active_device): move most of the actual activation
20073 logic into NetworkManagerDevice.c
20074 - (nm_dbus_network_status_from_data): new function
20075 - (nm_dbus_signal_network_status_change): new function, unused for now
20076 - (nm_dbus_nm_message_handler): use nm_dbus_network_status_from_data () now
20078 * src/NetworkManagerDevice.[ch]
20079 - (nm_device_find_and_use_essid): new function. Search for, and if found use,
20082 2004-10-14 John (J5) Palmieri <johnp@redhat.com>
20084 * info-daemon/NetworkManagerInfo.c
20085 - (main): Added session management
20087 2004-10-14 Dan Williams <dcbw@redhat.com>
20089 * panel-applet/NMWirelessAppletDbus.[ch]
20090 - Expose network_device_[un]ref()
20091 - Expose wireless_network_[un]ref()
20092 - (wireless_network_new_with_essid): new function, create and return
20093 a wireless network with a particular essid
20095 * panel-applet/NMWirelessApplet.c
20096 - Hook up the "other network" dialog to do something
20098 Wed Oct 13 19:31:53 2004 Jonathan Blandford <jrb@redhat.com>
20100 * panel-applet/NMWirelessApplet.c: Add an essid dialog. It
20101 doesn't work yet, but it looks okay.
20103 * panel-applet/icons/*png: Resize to 22x22 and install in the
20106 2004-10-13 Dan Williams <dcbw@redhat.com>
20108 * panel-applet/NMWirelessApplet.c
20109 - Add function to print out applet_state in a readable
20112 * src/NetworkManager.c
20113 - (main): Don't segfault when nm_dbus_init() fails, we had
20114 a left-over call to hal_shutdown() into which we passed NULL
20116 * src/NetworkManagerAP.c
20117 - (nm_ap_set_essid): Allow NULL essids
20119 * src/NetworkManagerAPList.[ch]
20120 - More use of nm_ap_list_[un]lock ()
20121 - (nm_ap_list_get_ap_by_essid): don't warn when looking for a NULL
20122 network/essid, just return nothing. Also skip over NULL
20123 essid access points in the list when searching
20124 - (nm_ap_list_get_ap_by_address): new function
20125 - (nm_ap_list_update_network): set the access point's key source to
20126 NULL when the key returned from NetworkManagerInfo is NULL or
20128 - nm_ap_list_update_keys() -> nm_ap_list_update_properties(), and
20129 copy timestamp over too
20130 - (nm_ap_list_copy_essids_by_address): new function, attempt to
20131 find the correct ESSID for a blank-essid access point by searching
20132 through another list and matching access point MAC addresses
20133 - (nm_ap_list_diff): exclude blank-essid access points from the diffs
20135 * src/NetworkManagerDbus.c
20136 - (nm_dbus_nm_set_active_device): deal with random networks the user
20137 may specify. This is mainly for access points that don't
20138 broadcast their essid. So if the user tells us to associate with
20139 some random ESSID that's not in our access point list, we find
20140 out if the access point does in fact exist (by attempting association
20141 and then matching that access point's MAC address with the essid the
20142 user gave us) and then we switch to it.
20143 - (nm_dbus_devices_handle_request): don't add blank-essid access points
20144 to the returned list of networks for the "getNetworks" method
20146 * src/NetworkManagerDevice.[ch]
20147 - Extra debugging info for link detection
20148 - (nm_device_ap_list_get_ap_by_address): new function, return an AP
20149 based on MAC address
20150 - (nm_device_get_path_for_ap): ignore blank-essid access points
20151 - (nm_device_wireless_network_exists): new function, find out whether
20152 a random ESSID exists by attempting to associate with it
20153 - (nm_device_do_normal_scan): allow blank-essid access points in our
20154 device list as long as they have an AP MAC address we can use.
20155 Also send WirelessNetwork[Dis]Appeared signals for non-active
20156 devices too. Lets the applet update more frequently.
20158 * src/backends/NetworkManagerGentoo.c
20159 - Patch from: Robert Paskowitz
20160 - Update backend code for Gentoo
20161 - Implement nm_system_device_update_config_info ()
20163 * test/nmclienttest.c
20164 - (set_network_device): new function, takes a command-line argument
20165 and tells NetworkManager to use that wireless network
20167 Wed Oct 13 John (J5) Palmieri <johnp@redhat.com>
20169 * info-daemon/NetworkManagerInfo.c (nmi_spawn_notification_icon): Stop respawning
20170 if the notification icon crashes 5 times within 5 seconds of each respawn
20172 Tue Oct 12 22:53:04 2004 Jonathan Blandford <jrb@redhat.com>
20174 * panel-applet/NMWirelessApplet.c (nmwa_update_state): remove
20177 Tue Oct 12 22:44:15 2004 Jonathan Blandford <jrb@redhat.com>
20179 * panel-applet/NMWirelessApplet.h: Change the name of the icons.
20181 * panel-applet/NMWirelessApplet.c: (animation_timeout),
20182 (nmwa_update_state), (nmwa_destroy), (nmwa_setup_widgets),
20183 (nmwa_icons_free), (nmwa_icons_load_from_disk), (nmwa_icons_init):
20184 Change the name of the icons.
20186 * panel-applet/menu-info.c: (nm_menu_wired_class_init),
20187 (nm_menu_wired_expose_event), (nm_menu_network_class_init),
20188 (nm_menu_wireless_class_init), (nm_menu_wireless_new),
20189 (nm_menu_wireless_expose_event): Really bad hack to get the style
20190 to draw in the right color.
20192 Tue Oct 12 John (J5) Palmieri <johnp@redhat.com>
20194 * info-daemon/NetworkManagerInfo.c (main): Add child watch to respawn
20195 Notification if it crashes
20197 Fri Oct 8 07:19:55 2004 Jonathan Blandford <jrb@redhat.com>
20199 * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_get_double):
20200 (nmwa_dbus_get_string): remove unused functions
20202 * panel-applet/NMWirelessApplet.c (nmwa_about_cb):
20203 (nmwa_cancel_timeout), (nmwa_get_menu_pos), (nmwa_factory):
20204 remove unused functions
20206 * panel-applet/NMWirelessApplet.c: Rewrite icon code.
20208 2004-10-12 Dan Williams <dcbw@redhat.com>
20210 * panel-applet/NMWirelessAppletDbus.c
20212 wireless_network_new
20213 wireless_network_copy
20215 network_device_copy
20217 * src/NetworkManagerDevice.[ch]
20219 nm_device_set_mode_managed
20220 nm_device_set_mode_adhoc
20221 - Use these functions where appropriate
20222 - When creating a new wireless device, force the card
20223 to managed/Infrastructure mode as soon as possible
20225 2004-10-12 Dan Williams <dcbw@redhat.com>
20227 * src/NetworkManagerDevice.c
20228 - Force wireless cards into Infrastructure mode before we use them
20230 2004-10-12 Dan Williams <dcbw@redhat.com>
20233 - Remove bit about static IP address support
20235 * src/NetworkManagerUtils.c
20236 - (nm_spawn_process): Add some error reporting
20238 * src/NetworkManagerDevice.c
20239 - (nm_device_activation_configure_ip): hook up to the static config
20240 routines in the backends
20242 * src/backends/NetworkManagerRedHat.c
20243 - (nm_system_device_update_config_info): use shvar.c routines to
20244 parse the config file iformation, not our own
20245 - (nm_system_device_setup_static_ip4_config): new function, based
20246 heavily on 'ifup' script and 'ipcalc' tool code. Set up a device
20247 with a static IP address and gateway
20249 * src/backends/shvar.[ch]
20250 - Parser (filched from initscripts package) for ifcfg-* files
20252 * src/backends/NetworkManagerSystem.h
20253 src/backends/NetworkManagerGentoo.c
20254 src/backends/NetworkManagerDebian.c
20255 src/backends/NetworkManagerSlackware.c
20256 - Stub nm_system_device_update_config_info() and nm_system_device_setup_static_ip4_config()
20258 2004-10-11 Dan Williams <dcbw@redhat.com>
20261 - Remove bit about more robust AP diffing since I just implemented it
20263 2004-10-11 Dan Williams <dcbw@redhat.com>
20265 * src/NetworkManagerAP.c
20266 - (nm_ap_new, nm_ap_new_from_ap): Don't crash when we don't have
20267 enough RAM to allocate new AP structures, but return NULL instead
20269 * src/NetworkManagerAPList.[ch]
20270 - (nm_ap_list_is_empty): new function
20271 - (nm_ap_list_combine): new function, combine two access point lists
20272 - (nm_ap_list_copy_keys): new function, copy keys from one list
20275 * src/NetworkManagerDevice.[ch]
20276 - Rename some functions to be clearer:
20277 nm_device_get_best_ap_frozen -> nm_device_is_best_ap_frozen
20278 nm_device_just_activated -> nm_device_is_just_activated
20279 nm_device_activating -> nm_device_is_activating
20280 nm_device_now_scanning -> nm_device_is_scanning
20281 - Cache the last 4 scans so that the access point list is more stable.
20282 We combine the lastest two scans and use that as the AP list,
20283 and diff that combined list against the combination of the earliest
20284 two cached scans for the WirelessNetworkAppeared/Dissappeared signals
20286 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
20288 * info-daemon/NWManagerInfo.h
20289 - (struct NetworkManagerInfo): add shutdown_timeout GSource
20291 * info-daemon/NWManagerInfoDbus.c
20292 - (shutdown_callback): new function
20293 - (nmi_dbus_filter): Create a 30 second timeout until shutdown
20294 if NetworkManager goes away. Kill the timeout
20295 if NetworkManager restarts before the 30 seconds
20297 - (nmi_dbus_service_init):
20298 - call gtk_main_quit if NetworkManager is not running
20299 - add filters to monitor dbus service creations and
20302 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
20304 * panel-applet/NMWirelessApplet.c
20305 - (nmwa_update_state): Hide notification icon if we are only
20306 showing one wired card and no wireless interfaces
20307 (Red Hat Bug #134895)
20309 * panel-applet/NMWirelessAppletDbus.c
20310 - (nmwa_dbus_filter): changed exit to gtk_main_quit ()
20312 * info-daemon/NWManagerInfo.c
20313 - (main): Terminated the notification_icon_cmd array with a NULL
20315 2004-10-08 Hendrik Brandt <hebra@cvs.gnome.org>
20317 * configure.in (ALL_LINGUAS): Added de (German).
20319 2004-10-08 Dan Williams <dcbw@redaht.com>
20321 * src/NetworkManagerDevice.c
20322 - Be a bit more robust about link checking, ie make sure that
20323 the WEP key we were given actually has some data in it
20325 2004-10-08 Dan Williams <dcbw@redhat.com>
20327 * info-daemon/NetworkManagerInfo.c (main):
20328 - Initialize GError object to NULL
20330 2004-10-08 Dan Williams <dcbw@redhat.com>
20332 * panel-applet/NMWirelessAppletDbus.c
20333 - Die if NetworkManagerInfo dies, since it manages our lifetime
20335 2004-10-08 Dan Williams <dcbw@redhat.com>
20337 * info-daemon/NetworkManagerInfo.[ch]
20338 info-dameon/NetworkManagerInfoDbus.[ch]
20339 info-daemon/NetworkManagerInfoPassphraseDialog.[ch]
20340 - Preserve original label text in the passphrase dialog so that
20341 it actually gets updated with the new network name the next
20342 time around. Previously, we were overwriting it so you'd get
20343 the wrong network name to enter a key for
20344 - Add a "Key Type" combo to the passphrase dialog, user selects
20345 encryption key type now, type is stored in GConf too
20346 - Adjust NM<->NMI DBUS protocol to pass the key type back to NM too
20348 * src/NetworkManagerAP.[ch]
20349 - Remove all the encyption method magic. It's now set by the user
20350 and NetworkManager retrieves the type of encryption key from
20353 * src/NetworkManagerAPList.[ch]
20354 src/NetworkManagerDbus.[ch]
20355 - Adjust to new way of setting encryption key and method
20356 - Pull encryption method down from NMI along with key
20358 * src/NetworkManagerDevice.[ch]
20359 - Removed encryption method fallback magic as the method is now
20360 determined by the user. This greatly simplifies the connection
20362 - More robust connection/link logic. Besides removing the encryption
20363 method fallback magic, check whether or not the card is receiving
20364 invalidly encrypted packets, which usually indicates that we have
20366 - Don't blindly forge ahead when DHCP fails (still not completely fixed)
20368 * test/nminfotest.c
20369 - Test out new "Key Type" stuff in the NMI passphrase dialog
20371 2004-10-07 Dan Williams <dcbw@redhat.com>
20373 * info-daemon/NetworkManagerInfo.conf
20374 - Allow root user to run NMI too
20376 2004-10-06 Dan Williams <dcbw@redhat.com>
20378 * src/NetworkManagerDevice.[ch]
20379 src/NetworkManagerDbus.c
20380 doc/NetworkManager DBUS API.txt
20381 - Add a new status tag "scanning", which is set when there
20382 is no active network connection, but NetworkManager is
20383 looking for an access point to associate with
20385 * panel-applet/main.c
20386 - Cast the applet appropriately for gtk_widget_show_all ()
20388 Mon Oct 4 12:55:41 2004 Jonathan Blandford <jrb@redhat.com>
20390 * panel-applet/eggtrayicon.[ch]:
20391 * panel-applet/main.c: Add missing file
20393 2004-10-04 Dan Williams <dcbw@redhat.com>
20395 * src/NetworkManagerDevice.[ch]
20396 - Add a slightly more robust method of determining if the WEP key
20397 is correct or not, by checking the WEP-discarded packet count
20400 * info-daemon/NetworkManagerInfo.c
20401 - (nmi_gconf_notify_callback): Fix GConf essid escaping, should
20402 un-escape values we pull out rather than escaping them
20404 2004-10-03 Marcel Telka <marcel@telka.sk>
20406 * configure.in (ALL_LINGUAS): Added sk.
20408 Fri Oct 1 18:26:03 2004 Jonathan Blandford <jrb@redhat.com>
20410 * panel-applet/menu-info.c (nm_menu_wired_class_init): update look
20411 and feel. We should be back to working, and have a good, clean
20414 2004-09-30 Dan Williams <dcbw@redhat.com>
20416 * info-daemon/NetworkManagerInfo.c
20417 info-daemon/NetworkManagerInfoDbus.c
20419 - Escape ESSIDs in gconf
20421 * src/NetworkManagerDevice.c
20422 - Fix pseudo-scanning to use netowrk list from info daemon
20424 Wed Sep 29 18:18:24 2004 Jonathan Blandford <jrb@redhat.com>
20426 * configure.in: Add a temporary --enable-notification-icon. This
20427 will prolly go away.
20429 * info-daemon/Makefile.am:
20430 * info-daemon/NetworkManagerInfo.c:
20431 * info-daemon/NetworkManagerInfo.h: Use a notification icon.
20433 * panel-applet/Makefile.am:
20434 * panel-applet/NMWirelessApplet.c: Turn into a notification icon
20435 * panel-applet/NMWirelessApplet.h:
20437 Tue Sep 28 16:35:20 2004 Jonathan Blandford <jrb@redhat.com>
20439 * panel-applet/NMWirelessApplet.c: Fix deadlock. Add a separator
20440 before 'select custom ESSID'.
20442 * panel-applet/menu-info.c: Start rewrite for better headers. Not
20443 fully complete, but syncing in prep for merge.
20445 * panel-applet/icons/*png: New images
20447 2004-09-28 Dan Williams <dcbw@redhat.com>
20449 * src/NetworkManager.c
20450 src/NetworkManagerDevice.c
20451 src/NetworkManagerPolicy.c
20452 - Don't blow away an active wired connection on startup
20454 2004-09-28 Bryan Clark <clarkbw@cvs.gnome.org>
20458 * info-daemon/NetworkManagerInfo.conf: fixed own permissions
20460 * info-daemon/NetworkManagerInfoDbus.c: added service name to
20463 Wed Sep 22 14:19:48 2004 Jonathan Blandford <jrb@redhat.com>
20465 * panel-applet/NMWirelessApplet.c: Only add essid's if we actually
20466 have a wireless card.
20468 Wed Sep 22 14:05:48 2004 Jonathan Blandford <jrb@redhat.com>
20470 * panel-applet/NMWirelessApplet.c: move the custom essid item.
20471 Also, get the right device strings.
20473 Wed Sep 22 13:51:45 2004 Jonathan Blandford <jrb@redhat.com>
20475 * panel-applet/menu-info.c (nm_menu_network_draw_indicator): Flip
20476 the logic to make this right.
20478 * panel-applet/NMWirelessApplet.c (sort_networks_function): sort
20479 devices so that wired networks are always first.
20481 2004-09-22 <clarkbw@cvs.gnome.org>
20483 * initscript/Debian/.cvsignore:
20484 * initscript/Slackware/.cvsignore:
20485 Added new cvsignores for Makefile, Makefile.in
20488 Added nmtestdevices
20490 * src/NetworkManagerDevice.c:
20491 * src/NetworkManager.c:
20492 Updated the wireless/wired HAL device strings from net.ethernet to
20493 net.80203 or net.80211 depending on wired or wireless respectively
20495 * examples/python/NetworkManager.py:
20496 s/Quality/Strength/
20498 * examples/python/systray/network_tray.py:
20499 Lots of little changes and fixes. been rotting for a while so I
20500 figured I'd finally sync them all with CVS
20502 Tue Sep 21 18:05:34 2004 Jonathan Blandford <jrb@redhat.com>
20504 * configure.in: Add graphics
20506 * panel-applet/Makefile.am: Add graphics
20508 * panel-applet/icons/*: Add graphics
20510 * panel-applet/NMWirelessApplet.c: Use new menu times to display
20511 the icons fully lined up.
20513 * panel-applet/menu-info.c:
20514 * panel-applet/menu-info.h: Add another menu type.
20516 Fri Sep 17 14:04:34 2004 Jonathan Blandford <jrb@redhat.com>
20518 * panel-applet/NMWirelessApplet.c: Redo the menu item code.
20520 * panel-applet/menu-item.[ch]: Wireless menu item.
20522 2004-09-15 John (J5) Palmieri <johnp@redhat.com>
20524 * info-daemon/NetworkManagerInfo.conf
20525 - Created a more robust security policy for the DBus service
20526 - everything is denied by default
20527 - root can own and send to the service
20528 - users logged in at the console can send to the service
20530 2004-09-13 Dan Williams <dcbw@redhat.com>
20532 * src/NetworkManagerDevice.c
20533 - (nm_device_get_essid): use iw_get_basic_config() rather than
20534 iw_get_ext (SIOCGIWESSID) since prism54 cards don't like
20537 2004-09-13 Dan Williams <dcbw@redhat.com>
20541 * docs/NetworkManager DBUS API.txt
20542 - Update for new signal strength changes
20544 * panel-applet/NMWirelessApplet.c
20545 - Make panel icon show strength of the current connection
20546 - Cleanups and memleak fixes
20548 * panel-applet/NMWirelessApplet.h
20549 - Add data members for signal strength on devices and networks
20551 * panel-applet/NMWirelessAppletDbus.c
20552 - Free more DBusErrors
20553 - Update for new signal strength changes
20554 - Make devices and networks more like real objects, use ref/unref methods
20555 - Actually unlock the mutex when updating the active device
20557 * src/NetworkManagerAP.c
20558 - Change AP functions and data members from "quality"->"strength"
20560 * src/NetworkManagerDbus.c
20561 - Kill "getMaxQuality" and "getQuality" methods
20562 - Add "getStrength" methods for Networks and Devices
20564 * src/NetworkManagerDevice.[ch]
20565 - Add accessors for device strength
20566 - Add functions to update strength for a device. Note that not all drivers
20567 actually support signal strength for scanned access points (Atmel drivers
20569 - Calculate signal strength for each AP during scan
20571 * src/NetworkManagerWireless.[ch]
20572 - Add function to return signal strength % from a device and a raw quality struct
20574 * test/nmclienttest.c
20575 - Update for new signal strength changes
20577 2004-09-11 Dan Williams <dcbw@redhat.com>
20579 * src/NetworkManager.c
20580 - Fix race condition between initscripts and NM on card insertion
20581 which could cause a card to keep an IP address and routes around
20582 even when it was not the active device
20584 * src/NetworkManagerDbus.c
20585 - Fix compile errors, free more DBusErrors
20587 2004-09-11 Dan Williams <dcbw@redhat.com>
20589 * docs/NetworkManager DBUS API.txt
20590 - Add an explanation of NM's API
20592 * src/NetworkManagerDbus.c
20593 - Free some more DBusErrors if needed
20595 2004-09-11 Dan Williams <dcbw@redhat.com>
20597 * panel-applet/NMWirelessApplet.c
20598 panel-applet/NMWirelessAppletDbus.c
20599 - Start using NetworkDevice/WirelessNetwork structures in more places
20600 - Update for unified device/network forcing in NetworkManager
20602 * src/NetworkManager.c
20603 - some code consolidation
20605 * src/NetworkManagerDbus.c
20606 - (nm_dbus_nm_set_active_device): "setActiveDevice" now takes either one
20607 or two arguments: the first is the NM ID of the device to switch to,
20608 and the second (optional) argument is the ESSID of a wireless network
20610 - Get rid of "setNetwork" method due to above change
20612 * src/NetworkManagerDevice.c
20613 - (nm_device_new): perform scan and update best AP on device creation
20614 - nm_device_activation_cancel_if_needed()->nm_device_activation_should_cancel()
20615 - nm_device_activation_signal_cancel()->nm_device_activation_cancel(), and
20616 spin waiting for cancellation to finish before returning
20618 * src/NetworkManagerPolicy.c
20619 - Changes here clarify the situations in which a device switch occurs, and
20620 make sure to keep using a forced device and network if the user gives
20622 - Remove old unused code
20624 2004-09-11 Martin Willemoes Hansen <mwh@sysrq.dk>
20626 * configure.in: Added Danish (da) to ALL_LINGUAS.
20628 2004-09-09 Dan Williams <dcbw@redhat.com>
20630 * panel-applet/NMWirelessAppletDbus.c
20631 - Pull fresh devices and networks from NM when wireless networks
20632 change. Provides faster feedback of a forced wireless network
20634 * src/NetworkManagerDbus.c
20635 - Return error when "getMaxQuality" is called on a wired device
20636 - Make best_ap freezing actually work again, and signal cancellation
20637 of activation if there's already a device activation when the user
20638 freezes the best_ap
20640 * src/NetworkManagerDevice.c
20641 - Don't clear out the best_ap for wireless devices when the link goes
20642 down, that's done elsewhere
20643 - Kill any dhcp daemons when cancelling device activation since they
20644 may be stuck waiting for a DHCP address, and since we're cancelling
20645 activation we don't care about that anymore
20647 * src/NetworkManagerPolicy.c
20648 - Make sure to unref the device we ref earlier (we refed it to make sure
20649 it stuck around during device activation and such)
20650 - If we were going to change the best device, but its activating currently
20651 (and therefore the change didn't occur due to the check earlier)
20652 we mark the state changed to we come back to it later when device
20653 activation has canceled and its no longer activating
20655 * src/backends/NetworkManagerRedHat.c
20656 - SIGKILL dhcp daemons rather than SIGTERM-ing them
20658 2004-09-09 Bryan Clark <clarkbw@cvs.gnome.org>
20660 * info-daemon/passphrase.glade:
20661 set passphrase input to activates_default : True
20663 * examples/python/systray/network_tray.py
20664 (network_tray.sort_networks):
20666 Added support for having wireless always scanning
20668 2004-09-09 Dan Williams <dcbw@redhat.com>
20670 NOTE: this commit changes the behavior of wireless devices in
20671 NetworkManager. They are now up all the time, scanning all
20672 the time. Only the active device has an IP address and routing
20673 information set up however. Also, NetworkManager will no longer
20674 opportunistically switch wireless networks when a better one
20675 comes in range, it will remain associated with one wireless network
20676 until that one drops out.
20678 * panel-applet/NMWirelessApplet.c
20679 panel-applet/NMWirelessAppletDbus.c
20680 - List all wireless cards and their respective networks
20682 * src/NMLoadModules
20683 - Use full path to /sbin/ip
20685 * src/NetworkManager.c
20686 - Keep wireless devices up all the time so they can scan
20688 * src/NetworkManagerDbus.c
20689 - On a WirelessNetworkUpdate signal from NMI, don't update
20692 * src/NetworkManagerDevice.c
20693 - (nm_device_set_link_active): clear out the best ap for
20694 wireless devices when the link is set to FALSE
20695 - Scan on all wireless cards, all the time
20696 - (nm_device_activation_worker): split out the wireless card
20697 link-waiting code to a separate function
20698 - Keep wireless cards up even if device activation fails
20699 - Don't update the "best" ap as much
20701 * src/NetworkManagerPolicy.c
20702 - Don't update the best ap when checking if its frozen,
20703 let link checking clear out a frozen best ap for us
20705 * src/NetworkManagerWireless.c
20706 - Scan on all wireless cards, all the time
20708 2004-09-09 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
20710 * configure.in: Added 'es' (Spanish) to ALL_LINGUAS.
20712 2004-09-09 Ankit Patel <ankit@redhat.com>
20714 * configure.in: Added 'gu' (Gujarati) to ALL_LINGUAS.
20716 2004-09-09 Pablo Saratxaga <pablo@mandrakesoft.com>
20718 * configure.in: Added Walloon (wa) to ALL_LINGUAS.
20720 2004-09-08 Bryan Clark <clarkbw@cvs.gnome.org>
20722 * examples/python/NetworkManager.py:
20723 added CONNECTED, CONNECTING, and DISCONNECTED states
20724 added methods to return number of devices of a single type
20726 * examples/python/systray/network_tray.py:
20727 did some tweaks to get the menu looking near what it is supposed
20728 to look like. Also did a Airo card hack to make it show the
20731 2004-09-08 Dan Williams <dcbw@redhat.com>
20733 * panel-applet/no-networkmanager.png
20734 panel-applet/Makefile.am
20735 panel-applet/NMWirelessApplet.c
20736 - Add a "NetworkManager not running" icon and use it
20737 - Use new consolidated GConf keys rather than Preferred/Trusted
20741 * info-daemon/NetworkManagerInfo.c
20742 info-daemon/NetworkManagerInfoDbus.[ch]
20743 info-daemon/NetworkManagerInfoPassphraseDialog.c
20744 - There are now no longer two separate lists of wireless networks,
20745 but one list where each network is "trusted" or not trusted
20746 - Add a "getNetworkTrusted" dbus method
20747 - "WirelessNetworkUpdate" signal now sent rather than
20748 "PreferredNetworkUpdate/TrustedNetworkUpdate" signals
20749 - Start freeing some dbus errors (not completed yet)
20751 * info-daemon/passphrase.glade
20752 - Remove the "don't show" hints for pager and taskbar
20753 - Add a title since its going to be in the taskbar
20755 * src/NetworkManager.[ch]
20756 src/NetworkManagerAPList.[ch]
20757 - There are now no longer two separate lists of wireless networks,
20758 but one list where each network is "trusted" or not trusted
20760 * src/NetworkManagerAP.[ch]
20761 - Add get/set "trusted" accessors and data bit
20763 * src/NetworkManagerDbus.[ch]
20764 - Add function to get "trusted" status of a network from NetworkManagerInfo
20765 - Trap new WirelessNetworkUpdate signal rather than old separate signals
20767 * src/NetworkManagerDevice.[ch]
20768 - Add per-device config data (ip4 addr, gateway, netmask) and accessors
20769 - (nm_device_new): Get device config from backend when initializing devices
20770 - (nm_device_activation_worker): Split out device configuration on
20771 activation to deal with static/dynamic IP differences, and try encryption
20772 fallbacks on a device if the encryption method for the best AP is not good
20773 - (nm_device_update_best_ap): convert to new consolidated access point lists from
20774 NetworkManagerInfo, and copy over latest NMI info to best_ap when setting it
20776 * src/NetworkManagerWireless.c
20777 - libgcrypt code wasn't converting the MD5 digest to an ascii string, fix it
20779 * src/backends/NetworkManagerRedHat.c
20780 src/backends/NetworkManagerSystem.h
20781 - (nm_system_device_update_config_info): Add function to get device configuration
20782 from system data in ifcfg-* files
20784 * src/backends/NetworkManagerDebian.c
20785 src/backends/NetworkManagerGentoo.c
20786 src/backends/NetworkManagerSlackware.c
20787 - Add stub functions for getting device configuration
20789 2004-09-07 Dan Williams <dcbw@redhat.com>
20791 * src/backends/NetworkManagerRedhat.c
20792 src/backends/NetworkManagerSlackware.c
20793 - Use full path to /sbin/ip everywhere
20795 2004-09-07 Dan Williams <dcbw@redhat.com>
20797 Patch from: Narayan Newton <narayan_newton@yahoo.com>
20800 initscript/Makefile.am
20801 initscript/Slackware/Makfile.am
20802 initscript/Slackware/rc.networkmanager
20804 src/backends/NetworkManagerSlackware.c
20805 - Add Slackware support
20807 2004-09-07 Dan Williams <dcbw@redhat.com>
20809 Patches below from:
20811 Mark Roach <mrroach@okmaybe.com>
20812 Thom May <thom@debian.org>
20815 initscript/Debian/NetworkManager
20816 initscript/Debian/Makefile.am
20817 - Initscript for Debian
20819 * src/backends/NetworkManagerDebian.c
20820 - Add missing system init function to allow compilation
20823 2004-09-03 Raphael Higino <raphaelh@cvs.gnome.org>
20825 * configure.in: Added 'pt_BR' to ALL_LINGUAS.
20827 2004-09-03 Akagic Amila <bono@linux.org.ba>
20829 * configure.in: Added 'bs' to ALL_LINGUAS.
20831 2004-09-02 Colin Walters <walters@verbum.org>
20833 * src/backends/NetworkManagerRedHat.c (nm_system_device_run_dhcp)
20834 (nm_system_device_stop_dhcp, nm_system_device_flush_routes): Use
20835 g_strdup_printf instead of arbitrarily sized buffers.
20837 2004-09-01 Colin Walters <walters@verbum.org>
20839 * NetworkManager.pc.in: New file.
20841 * Makefile.am, .cvsignore, configure.in: Add NetworkManager.pc.
20843 2004-09-01 Amanpreet Singh Alam <aalam@redhat.com>
20845 * configure.in: Punjabi(pa) is added to po/.
20847 2004-08-31 Dan Williams <dcbw@redhat.com>
20849 * Remove 'debug' extern global from all files since we now
20852 * src/NetworkManager.[ch]
20853 - Break out routine that get the net.interface property from HAL,
20854 removing that logic from nm_create_device_and_add_to_list()
20855 - (nm_create_device_and_add_to_list): make this a bit more general so
20856 it doesn't do the talking to HAL. Also add arguments to facilitate
20857 the create of test devices.
20858 - (nm_data_mark_state_changed): rename from nm_data_set_state_modified()
20859 - (nm_data_new, main, nm_print_usage): add new argument "--enable-test-devices"
20860 which makes NetworkManager listen for dbus commands to create test
20861 devices, which have no backing hardware. Use when you're on a plane
20862 for example, and/or forgot your wireless card at home. Test devices
20863 _cannot_ be created unless NM is started with --enable-test-devices.
20865 * src/NetworkManagerDbus.[ch]
20866 - New "getLinkActive" method for devices
20867 - New "setLinkActive" method for devices (only works on test devices)
20868 - New "createTestDevice" method on NetworkManager object to create a test
20869 device of a specified type (ie wired, wireless). UDI is created from
20870 scratch, as is the interface name. Only works when NM is started with
20871 --enable-test-devices switch.
20872 - New "removeTestDevice" method on NetworkManager object which removes a
20873 test device. Only works when NM is started with --enable-test-devices
20875 * src/NetworkManagerDevice.[ch]
20876 - Logic to facilitate test devices. Add variables to NMDevice struct to indicate
20877 whether a device is a test device or not, and what its link status is.
20878 - Deal with test devices in most functions. For those that work directly on hardware
20879 special-case test devices.
20880 - (nm_device_new): don't create a test device if test devices weren't enabled on the
20882 - (nm_device_update_link_active): split out logic for wired and wireless device link
20883 checking to separate functions to facilitate test device link checking.
20884 - (nm_device_set_enc_key): Since some drivers for wireless cards are daft and
20885 don't make a distinction between System Authentication and Encryption
20886 (namely Cisco aironet), we use Open System auth when setting a WEP key
20887 on the card. We don't deal with Shared Key auth yet.
20888 - (nm_device_activation_worker): split the activation cancel check logic out into
20889 a separate routine nm_device_activation_cancel_if_needed()
20890 - (nm_device_activation_signal_cancel): rename from nm_device_activation_cancel()
20891 - (nm_device_fake_ap_list): Test wireless devices obviously cannot scan, so create
20892 a list of fake access points that they can "see"
20893 - (nm_device_is_test_device): return whether or not a device is a test device
20895 * src/NetworkManagerPolicy.c
20896 - (nm_policy_get_best_device): attempt to deal with wireless network selection,
20897 previously if you "locked"/forced NM to use a wireless device but then
20898 selected a wireless network for NM to use, it would switch to a wired device.
20899 So, if the active device is wireless and it has a "forced" best AP, use it
20900 if the "forced" best AP is still valid
20901 - (nm_state_modification_monitor): deal with NULL best devices, for example
20902 there were no usable network devices, or the last one was removed
20904 * src/backends/NetworkManager*.c
20905 - Deal with test devices, mostly just return success for operations like getting
20908 * test/nmtestdevices.c
20909 - Test tool to create/remove/link-switch test devices
20911 2004-08-30 Bryan Clark <clarkbw@cvs.gnome.org>
20913 * examples/python/NetworkManager.py:
20914 added convience functions has_wired_device and has_wireless_device
20916 * examples/python/systray/network_tray.py:
20917 cleaned up a bunch of cruft, added support for listing wireless
20918 networks just like the real applet. This is probably all I'm
20919 going to work on this applet from now on.
20920 TODO: add support for actually changing networks and devices
20922 * examples/python/NetworkManager.py (NetworkManager.get_device):
20923 changed "nm.networks" into a dict from a list so I can store all
20924 the cool information about networks in there
20926 * examples/python/systray/network_tray.py:
20927 Added nice message when you try to run without running make first
20929 * examples/python/NetworkManager.py:
20930 Bug fixes to the code so we get all the device information
20931 that we need in get_device()
20933 * examples/python/NMTester.py:
20934 Fixed _print_device_list to print_device_list
20936 2004-08-29 Seth Nickell <seth@gnome.org>
20940 Actually properly setup the Debian backend in configure.
20942 2004-08-29 Colin Walters <walters@verbum.org>
20944 * test/nminfotest.c: Include string.h and stdlib.h.
20945 (get_network_string_property, get_networks_of_type): Return NULL.
20947 * test/nmclienttest.c (get_device_name, get_active_device): Return
20950 * src/backends/NetworkManagerRedHat.c (nm_system_device_stop_dhcp): Just
20951 use strlen, fgets always NULL-terminates the string.
20953 * src/NetworkManagerDbus.c (nm_dbus_nmi_filter,
20954 dbus_message_get_member): Remove /* in comment.
20956 * src/NetworkManagerUtils.c (LOCKING_DEBUG): Ditto.
20958 * src/NetworkManager.c (quit): Unused, delete.
20959 (nm_data_free): Cast arg to GFunc.
20961 * panel-applet/NMWirelessAppletDbus.c: Need to include
20962 string.h, and dbus-glib-lowlevel.h (the latter is needed
20963 for dbus_connection_setup_with_g_main at present).
20964 (nmwa_dbus_update_wireless_network_list): Parenthesize
20965 assignment in conditional.
20966 (nmwa_dbus_worker): Return NULL.
20968 * panel-applet/NMWirelessApplet.c (nmwa_redraw)
20969 (nmwa_get_menu_pos, nmwa_toplevel_menu_activate)
20970 (nmwa_menu_add_text_item, nmwa_setup_widgets): Kill unused variables.
20971 (nmwa_populate_menu): Return NULL on failure, instead of just
20974 * initscript/NMLaunchHelper.c (g_timeout_add): Cast arg to GSourceFunc.
20976 * info-daemon/NetworkManagerInfoNetworksDialog.c (nmi_networks_dialog_init): Kill unused
20979 * info-daemon/NetworkManagerInfo.c (nmi_print_usage): Unused,
20982 2004-08-29 Colin Walters <walters@verbum.org>
20984 * src/NetworkManagerDbus.c (nm_dbus_get_network_timestamp): Return
20985 a GTimeVal instead of time_t. This is easier to work with,
20986 since time_t may be a long or double, we don't know.
20988 * src/NetworkManagerDbus.h: Update prototype.
20990 * src/NetworkManagerAP.c (struct NMAccessPoint): Store a GTimeVal
20992 (nm_ap_get_timestamp): Update to return GTimeVal.
20993 (nm_ap_set_timestamp): Update to take GTimeVal.
20995 * src/NetworkManagerDevice.c (nm_device_update_best_ap): Update
20996 to handle GTimeVal.
20998 * src/NetworkManagerAPList.c (nm_ap_list_update_network): Handle
21000 (nm_ap_list_print_members): Fix warnings in printf format.
21002 2004-08-29 Colin Walters <walters@verbum.org>
21004 * panel-applet/NMWirelessApplet.c: Include config.h.
21006 2004-08-29 Colin Walters <walters@verbum.org>
21008 * configure.in: Generate config.h.
21010 * configure.in: Dump dependency on OpenSSL; we can't
21011 use it since this package is GPL:
21012 http://www.gnome.org/~markmc/openssl-and-the-gpl.html
21013 Instead, check for libgcrypt, use it if available,
21014 otherwise use included MD5 code.
21016 * src/gnome-keyring-md5.h, src/gnome-keyring-md5.c:
21017 Suck in from gnome-keyring, munge a bit.
21019 * src/Makefile.am (NetworkManager_SOURCES) <!WITH_GCRYPT>: Include
21020 gnome-keyring-md5.h gnome-keyring-md5.c.
21021 (NetworkManager_LDADD) <WITH_GCRYPT>: Add dep on LIBGCRYPT_LIBS.
21023 * src/NetworkManagerWireless.c (nm_md5): New function, uses
21024 libgcrypt or included gnome-keyring md5 bits.
21025 (nm_wireless_128bit_key_from_passphrase): Use nm_md5.
21027 2004-08-28 Kjartan Maraas <kmaraas@gnome.org>
21029 * configure.in: Add «nb» and «no» to ALL_LINGUAS.
21031 2004-08-27 Bryan Clark <bclark@redhat.com>
21033 * examples/python/systray/Makefile:
21035 Updated the clean section
21037 * examples/python/systray/trayiconmodule.c:
21038 * examples/python/systray/trayicon.override:
21039 * examples/python/systray/network_tray.py:
21040 * examples/python/systray/eggtrayicon.h:
21041 * examples/python/systray/eggtrayicon.c:
21042 * examples/python/systray/Makefile:
21043 * examples/python/README:
21044 * examples/python/NetworkManager.py:
21045 * examples/python/NMTester.py:
21047 Initial commit of these python example files
21049 Fri Aug 28 2004 Dan Williams <dcbw@redhat.com>
21051 * panel-applet/NMWirelessApplet.c
21052 - Make current device bold
21053 - Show more user-friendly device name if we got one from hal
21055 * panel-applet/NMWirelessAppletDbus.c
21056 - Grab "info.product" key from hal for network devices
21057 - Cache the current active device
21059 2004-08-27 Adam Weinberger <adamw@gnome.org>
21061 * configure.in: Added en_CA to ALL_LINGUAS.
21063 2004-08-27 Christian Rose <menthos@menthos.com>
21065 * configure.in: Added "sv" to ALL_LINGUAS.
21067 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
21069 * Tag NetworkManager-0.2
21071 Thu Aug 26 17:23:16 2004 Jonathan Blandford <jrb@redhat.com>
21073 * initscripts/Makefile.am
21074 * configure.in: Make pass distcheck
21076 * po/ChangeLog: added
21078 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
21080 * panel-applet/NMWirelessApplet.c
21081 - Remove debugging code
21082 - Enable device switching from menus
21084 * panel-applet/NMWirelessAppletDbus.[ch]
21085 - Method for asking NM to switch devices
21087 * src/NetworkManagerDevice.c
21088 - Set dev->activating earlier, avoids race between
21089 the dbus signal of "DeviceActivating" and setting
21090 dev->activating (which is what NM's "status" method call
21093 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
21095 * panel-applet/NMWirelessApplet.[ch]
21096 - Rework menu code to add devices to menu, and to show
21097 signal strength for each access point. Code cleanups
21100 * panel-applet/NMWirelessAppletDbus.c
21101 - Grab network devices from NetworkManager too
21102 - Grab quality information from NM for wireless networks
21104 * src/NetworkManagerDbus.[ch]
21105 - Add dbus methods for getting the HAL UDI from a device and
21106 for getting its base quality, if its wireless
21107 - Consolidate some functions (wireless network notifications,
21108 device notifications)
21109 - Add method for requesting NM to use a particular device
21111 * src/NetworkManager.c
21112 - Change for function consolidations from NetworkManagerDbus.c
21113 - Implement active device locking and user-requested devices
21114 (ie, tell NM to use a particular device instead of the one
21117 * src/NetworkManagerDevice.c
21118 - Add method for getting the base quality of a device, if its
21120 - Grab device base quailty info from iwlib during scans
21122 * src/NetworkManagerPolicy.c
21123 - Use a user-requested device rather than the auto-chosen device
21126 Thu Aug 26 15:12:36 2004 Jonathan Blandford <jrb@redhat.com>
21128 * Makefile.am: add po as a supdir
21130 * autogen.sh: use gnome-autogen.sh
21132 * initscript/Gentoo/.cvsignore:
21133 * initscript/RedHat/.cvsignore: Shut up cvs
21135 * panel-applet/Makefile.am: Define GNOMELOCALEDIR for bonobo.
21137 * panel-applet/NMWirelessApplet.c: (nmwa_populate_menu),
21138 (nmwa_fill): Use gettext.
21140 * configure.in: add gettext support
21142 * po/NetworkManager.pot:
21145 2004-08-26 Seth Nickell <seth@gnome.org>
21147 * panel-applet/NMWirelessApplet.c: (nmwa_destroy),
21148 (nmwa_menu_item_activate), (nmwa_toplevel_menu_activate),
21149 (nmwa_add_menu_item), (nmwa_menu_item_data_free),
21150 (nmwa_dispose_menu_items), (nmwa_populate_menu),
21151 (nmwa_setup_widgets), (do_not_eat_button_press), (nmwa_new):
21152 * panel-applet/NMWirelessApplet.h:
21154 Use a menu bar instead of a button for the main clickable
21157 2004-08-25 Dan Williams <dcbw@redhat.com>
21159 * src/NetworkManagerDevice.c
21160 - (nm_device_set_enc_key): always set device to "open" mode instead of
21161 turning encryption off, because the Cisco driver doesn't associate
21162 with WEP-enabled access points unless we are in "open"
21164 2004-08-25 Dan Williams <dcbw@redhat.com>
21166 * src/NetworkManagerWireless.c
21167 - Don't try to defererence blank passphrases
21169 2004-08-25 Dan Williams <dcbw@redhat.com>
21171 * panel-applet/NMWirelessApplet.c
21172 - Rebuild the menu whenever a user clicks
21174 2004-08-25 Dan Williams <dcbw@redhat.com>
21176 * panel-applet/NMWirelessApplet.c
21177 - (nmwa_udpate_state): Set panel icon to "wired" (for lack of better ones)
21178 when NM isn't around or when its not connected
21180 * src/NetworkManagerDevice.c
21181 - (nm_device_activation_worker): Make sure to reset dev->activating if we get
21184 2004-08-25 Dan Williams <dcbw@redhat.com>
21186 * panel-applet/NMWirelessAppletDbus.c
21187 - (nmwa_dbus_get_bool, nmwa_dbus_get_network_encrypted): correct method name
21188 for getting encryption, and don't stop on "val" once we've gotten it
21189 from NetworkManager. Short form: encryption should now show up.
21191 2004-08-25 Dan Williams <dcbw@redhat.com>
21193 * panel-applet/NMWirelessApplet.c
21194 - Set ESSID on a gconf trusted network too when force-setting the wireless
21195 network to associate with
21197 2004-08-25 Dan Williams <dcbw@redhat.com>
21200 - Rework the panel applet to do all DBUS communication in a separate
21203 2004-08-25 Dan Williams <dcbw@redhat.com>
21205 * info-daemon/NetworkManagerInfo.[ch]
21206 - Remove "get_next_priority" function
21208 * info-daemon/NetworkManagerInfoDbus.[ch]
21209 - Convert "priority" functions to "timestamp"
21211 2004-08-25 Dan Williams <dcbw@redhat.com>
21213 * src/NetworkManagerAP.[ch]
21214 - Add a "enc_method_good" member and accessors to an Access Point
21215 to signal when we've found the correct encryption method
21216 for an access point
21217 - Add a "timestamp" member and accessors, remove "priority" member
21218 and accessors (use timestamps instead)
21219 - Rename "wep_key"->"enc_key"
21220 - (nm_ap_get_enc_key_hashed): new, return the correct mangled key
21221 for a specified encryption method using the access points
21222 source encryption key/passphrase
21224 * src/NetworkManagerAPList.c
21225 - When updating a network with dbus, grab timestamp now instead of
21228 * src/NetworkManagerDBus.[ch]
21229 - Add signal for "DeviceActivating"
21230 - Switch priority->timestamp
21232 * src/NetworkManagerDevice.c
21233 - Change references of "wep_key" -> "enc_key" or "key"
21234 - Signal DeviceActivating when starting activation
21235 - When activating a wireless device, if the access point we are connecting
21236 to is encrypted, and we have a source key, try to generate a mangled
21237 key and use that (ie, generate real WEP key from a passphrase)
21238 - Rework device activation to fallback to other encryption methods if
21239 a previous one didn't work (ie, try mangling a key as a 104-bit passphrase
21240 first, then if that doesn't work fall back to direct hex key).
21241 - (nm_device_update_best_ap): fix a deadlock, and use timestamps instead of
21242 priority. We now prefer the latest access point used, rather than using
21244 - (nm_device_do_normal_scan): make the encryption method "unknown" on access
21245 points we've just discovered, and merge in correct info from the global
21248 2004-08-25 Seth Nickell <seth@gnome.org>
21250 Patch from Matthew Garrett <mjg59@srcf.ucam.org> for adding
21254 * src/backends/NetworkManagerDebian.c: (nm_system_device_run_dhcp),
21255 (nm_system_device_stop_dhcp), (nm_system_device_flush_routes),
21256 (nm_system_device_flush_addresses), (nm_system_enable_loopback),
21257 (nm_system_delete_default_route),
21258 (nm_system_kill_all_dhcp_daemons), (nm_system_update_dns),
21259 (nm_system_load_device_modules):
21261 2004-08-24 Dan Willemsen <dan@willemsen.us>
21263 * src/NetworkManager.c
21264 src/backends/NetworkManagerGentoo.c
21265 src/backends/NetworkManagerRedHat.c
21266 src/backends/NetworkManagerSystem.h
21267 - Implement preliminary Gentoo support, adding a
21268 nm_system_init function to the backend specification
21271 - Distribution auto-detection, lowercase any user-fed
21274 * initscript/.cvsignore
21275 initscript/Makefile.am
21276 initscript/RedHat/Makefile.am
21277 initscript/RedHat/NetworkManager
21278 initscript/Gentoo/Makefile.am
21279 initscript/Gentoo/NetworkManager
21280 - Refactored initscript code separately for each
21283 2004-08-23 Dan Williams <dcbw@redhat.com>
21287 src/NetworkManagerDevice.c
21288 src/NetworkManager.c
21289 src/NetworkManagerUtils.[ch]
21290 src/backends/NetworkManagerSystem.h
21291 src/backends/NetworkManagerRedHat.c
21292 src/backends/NetworkManagerGentoo.c
21293 - Refactor system-specific code into separate backends for
21296 2004-08-23 Dan Willemsen <dan@willemsen.us>
21298 * dispatcher-daemon/NetworkManagerDispatcher.c
21299 info-daemon/NetworkManagerInfo.[ch]
21300 info-daemon/NetworkManagerInfoDbus.c
21301 info-daemon/NetworkManagerInfoPassphraseDialog.c
21302 src/NetworkManager.c
21303 src/NetworkManagerAP.c
21304 src/NetworkManagerAPList.c
21305 src/NetworkManagerDbus.c
21306 src/NetworkManagerDevice.c
21307 src/NetworkManagerPolicy.c
21308 src/NetworkManagerUtils.[ch]
21309 src/NetworkManagerWireless.c
21310 - Used syslog functions for logging instead of NM_DEBUG_DISPLAY & fprintf
21312 * src/NetworkManager.c
21313 - Fixed usage wording for --no-daemon
21315 2004-08-23 Dan Williams <dcbw@redhat.com>
21317 * panel-applet/NMWirelessApplet.c
21318 - Update our state every second to get more responsive panel icon
21319 - (nmwa_update_state): remove bogus applet->pix_state = PIX_WIRED that
21320 was causing our marching ants status blips to never move when
21321 looking for a wireless network
21323 * src/NetworkManagerDevice.c
21324 - (nm_device_activation_begin): return if activation has already begun
21325 - (nm_device_do_normal_scan): merge WEP key and priority from the
21326 trusted/preferred network into the device's access point when the
21327 scan list is processed
21329 2004-08-23 Dan Williams <dcbw@redhat.com>
21331 * initscript/NetworkManager
21332 - Use NMLaunchHelper rather than sleeping
21334 * initscript/NMLaunchHelper.c
21336 - Add helper program that exits only when NM activates a device,
21337 or 10 seconds have passed, whichever happens first. This
21338 stops the boot processes until we have a network connection,
21339 which NM can't do because it daemonizes and brings the connection
21340 up in the background. Allows stuff like NFS to not die.
21342 2004-08-20 Dan Williams <dcbw@redhat.com>
21344 * info-daemon/NetworkManagerInfoPassphraseDialog.c
21345 - (nmi_passphrase_dialog_ok_clicked): when updating the wep key
21346 for a network, set the essid as well since it may not exist yet
21347 - (nmi_passphrase_dialog_init): don't star out the passphrase field,
21348 since WEP keys/passphrases are long and prone to entry-error
21350 * panel-applet/Makefile.am
21351 panel-applet/wired.png
21352 - Add (pulled from system-config-network temporarily)
21354 * panel-applet/NMWirelessApplet.[ch]
21355 - Show wired picture when a wired connection is used
21356 - Rename wireless icon enums, adding WIRELESS
21358 * src/NetworkManagerDevice.c
21359 - (nm_device_activate_wireless): unset encryption before bringing
21360 down the card and setting the essid
21361 - (nm_device_activatin_worker): request a key from the user if the
21362 AP we are connecting to is encrypted but we don't have a key
21364 - (nm_device_set_user_key_for_network): fix missing '== 0' for a
21365 strcmp() that prevented a user-entered key from actually getting
21368 2004-08-16 Dan Williams <dcbw@redhat.com>
21370 * initscript/NetworkManager
21371 - Check for /sbin/ip
21372 - Do sysctl magic that network service does
21373 - sleep 4s after start to allow network time to come up [hack]
21377 - Load all network device kernel modules (hal doesn't know devices
21378 are ethernet until the module is loaded, and therefore we don't know)
21380 * src/NetworkManager.c
21381 - (main): daemonize later, launch NMLoadModules to alert HAL of our
21382 network devices, and bring up the loopback device explicitly
21384 * src/NetworkManagerUtils.[ch]
21385 - (nm_enable_loopback): new function
21387 2004-08-13 Dan Williams <dcbw@redhat.com>
21390 panel-applet/Makefile.am
21391 - Fix up cleanfiles and server_DATA/server_in_files
21394 - Update with some comments on theory of operation
21400 2004-08-12 Dan Williams <dcbw@redhat.com>
21402 * info-daemon/passphrase.glade
21403 - Set window title to " "
21405 * panel-applet/Makefile.am
21406 panel-applet/keyring.png
21407 - Deliver to correct place
21409 * panel-applet/NMWirelessApplet.[ch]
21411 - Remove applet->have_active_device as its no longer used
21412 - (nmwa_load_theme): load keyring.png too
21413 - (error_dialog): remove
21414 - (show_warning_dialog): subsume functionality of error dialog too
21415 - (nmwa_destroy, nmwa_new): create and dispose of an application-wide GConfClient
21416 - (nmwa_handle_network_choice): add to deal with user clicking on an item from
21418 - (nmwa_menu_item_activated): GtkMenuItem "activate" signal handler
21419 - (nmwa_button_clicked, nmwa_setup_widgets): create and populate the menu on startup
21420 and when we get broadcasts of changed wireless access points only, not when the
21421 user clicks on the button to display the menu (too long of a wait)
21422 - (nmwa_add_menu_item): Make active network bold, and place a keyring icon beside
21423 networks that are encrypted
21424 - (nmwa_dispose_menu, nmwa_menu_item_data_free): dispose of the data we place on each
21425 menu item with g_object_set_data()
21427 * panel-applet/NMWirelessAppletDbus.[ch]
21428 - (nmwa_dbus_get_bool): add method to return boolean value from dbus message
21429 - (nmwa_dbus_get_active_network): add (nmwa_dbus_get_string() wrapper to get active network)
21430 - (nmwa_dbus_add_networks_to_menu): clean up, only show one instance of each ESSID in the menu
21431 - (nmwa_dbus_set_network): force NetworkManager to use a particular network for wireless cards
21432 - (nmwa_dbus_init, nmwa_dbus_filter): Trap network appear/disappear and device
21433 activation/deactivation signals and rebuild the menu when they happen
21435 * src/NetworkManager.c
21436 - (main): use new nm_spawn_process() rather than system()
21438 * src/NetworkManagerDbus.c
21439 - (nm_dbus_devices_handle_request): don't compare AP structure addresses directly, but essids
21440 instead. Since we can now force best_aps to stick around, the AP structure to which
21441 dev->options.wireless.best_ap points to won't necessarily be in the device's device list
21442 if a scan has happened since the best_ap was frozen. Also add "setNetwork" method
21443 to freeze the best_ap.
21445 * src/NetworkManagerDevice.[ch]
21446 - (nm_device_activation_worker): Use new nm_spawn_process() call rather than system()
21447 - (nm_device_*_best_ap): add freeze/unfreeze/get_frozen functions, and don't really update
21448 the best_ap in nm_device_update_best_ap() if the best_ap is frozen AND in the device's
21451 * src/NetworkManagerUtils.[ch]
21452 - (nm_spawn_process): add replacement for system() usage
21454 2004-08-11 Dan Williams <dcbw@redhat.com>
21456 * panel-applet/NMWirelessApplet.[ch]
21457 - Fix up copyright and credits to include Bastien and Eskil,
21458 who created the gnome-applets wireless applet, from whose
21459 skeleton this one was created
21460 - Rework nmwa_update_state()/nmwa_draw() so that state and which
21461 pixmap to draw is computed during nmwa_update_state()
21462 - Applet now shows itself all the time due to panel packing issues
21463 which caused the applet to previously never come back after hiding.
21464 When a wired device is the active device, the applet shows "not connected"
21466 * panel-applet/NMWirelessAppletDbus.[ch]
21467 - Clean up error messages and show what function they are from
21468 - nmwa_dbus_get_active_wireless_device()->nmwa_dbus_get_active_device()
21469 - Add new device type getters, and a status getter
21471 * src/NetworkManagerDbus.c
21472 - (nm_dbus_devices_handle_request): Don't return an active network unless that
21473 network is actually in the device's ap list
21474 - (nm_dbus_nm_message_handler): Fix silly mistake returning status
21476 * src/NetworkManagerDevice.c
21477 - (nm_device_update_best_ap): If the best AP is NULL, clear out the ESSID of the
21480 * test/nmclienttest.c
21481 - Report status of NetworkManager too
21483 2004-08-11 Dan Williams <dcbw@redhat.com>
21485 * info-daemon/NetworkManagerInfo.c:
21486 - (main): clean up Seth's code style
21488 * info-daemon/NetworkManagerInfoDbus.c:
21489 - Use the more aptly-named path/service/interface constants from NetworkManager
21490 - Don't return empty strings ("") as object paths ever, instead return errors
21492 * panel-applet/NMWirelessApplet.c:
21493 - Clean up Seth's code style
21495 * src/NetworkManager.[ch]
21496 - (nm_remove_device_from_list): remove anything having to do with pending_device
21497 - (main, nm_print_usage): change --daemon=[yes|no] -> --no-daemon
21499 * src/NetworkManagerAPList.[ch]
21500 - Move Iter struct right above the iter functions to preserve opacity
21501 - (nm_ap_list_remove_ap): implement
21502 - (nm_ap_list_update_network): deal with errors returned from nm_dbus_get_network_priority(),
21503 remove AP if NetworkManagerInfo doesn't know anything about it
21504 - (nm_ap_list_diff): user NMAPList iterators
21505 - (nm_ap_list_print_members): implement debugging function
21507 * src/NetworkManagerDbus.[ch]
21508 - (nm_dbus_nm_get_active_device): remove anything to do with pending_device
21509 - (nm_dbus_get_user_key_for_network): remove DBusPendingCall stuff (unused),
21510 and move the actual key setting stuff into NetworkManagerDevice.c
21511 - (nm_dbus_get_network_priority): return -1 now on errors
21512 - (nm_dbus_nmi_filter): fix strcmp() error that caused PreferredNetworkUpdate signals to
21513 get lost, and force the active device to update its "best" ap when AP lists change
21514 - (nm_dbus_nm_message_handler): Update conditions for returning "connecting" for a "status"
21515 method call due to pending_device member removal
21517 * src/NetworkManagerDevice.[ch]
21518 - Move NMDevice structure to the top
21519 - Add a wireless scan mutex and a best_ap mutex to the Wireless Options structure
21520 - Remove Pending Action stuff from everywhere
21521 - (nm_device_activation_*): We now "begin" activation and start a thread to do the
21522 activation for us. This thread blocks until all conditions for activation have
21523 been met (ie for wireless devices, we need a valid WEP key and a "best" ap), and
21524 then setup up the interface and runs dhclient. We have to do this because there
21525 is no guaruntee how long dhclient takes, and while we are blocking on it, we cannot
21526 run our main loop and respond to dbus method calls or HAL device removals/inserts
21527 - (nm_device_set_user_key_for_network): Move logic here from NetworkManagerDbus.c so we
21528 can tell nm_device_activation_worker() that we've got a key
21529 - (nm_device_*_best_ap): lock access to best_ap member of Wireless Options structure
21530 - (nm_device_get_path_for_ap): dumb it down so the list doesn't lock against itself when
21531 diffing (AP appear/disappear signal functions make sure the AP is actually in the device's list)
21532 - (nm_device_update_best_ap): move logic from nm_wireless_is_ap_better() here
21534 * src/NetworkManagerPolicy.c
21535 - Remove anything to do with pending_device
21536 - Adjust device activation to deal with activation-in-worker-thread
21538 * src/NetworkManagerUtils.c
21539 - Clean up locking debugging a bit
21541 * src/NetworkManagerWireless.[ch]
21542 - (nm_wireless_is_ap_better): remove, stick logic in nm_device_update_best_ap(). This function
21543 was badly named and is better as a device function
21545 * panel-applet/.cvsignore: add
21547 2004-08-09 Seth Nickell <seth@gnome.org>
21549 * panel-applet/NMWirelessApplet.c: (nmwa_timeout_handler),
21550 (nmwa_button_clicked), (nmwa_populate_menu), (nmwa_setup_widgets),
21552 * src/NetworkManagerDbus.c: (nm_dbus_nmi_filter):
21554 Don't load the menus until clicked on (also removes a call outside
21555 normal code paths at first load).
21557 Hide applet when NM is not present.
21559 Improve printf debugging stuff.
21561 2004-08-09 Dan Williams <dcbw@redhat.com>
21563 * dispatcher-daemon/NetworkManagerDispatcher.c:
21564 - Covert uses of dbus_message_iter_* over to dbus_message_get_args
21565 - Use constants for NetworkManager interface, service, and path
21567 2004-08-09 Dan Williams <dcbw@redhat.com>
21569 * src/NetworkManagerDbus.c:
21570 - (nm_dbus_nm_get_active_device, nm_dbus_nm_get_devices): Never return an empty object path,
21571 instead return an error message
21572 - (nm_dbus_devices_handle_request): Return error when getActiveNetwork/getNetworks is called
21573 on a wired device. Also never return an empty object path, instead return an error message
21575 2004-08-06 Seth Nickell <seth@gnome.org>
21577 * panel-applet/NMWirelessApplet.c: (nmwa_new):
21579 Check the error code when getting a connection.
21581 * panel-applet/NMWirelessAppletDbus.c: (nmwa_dbus_init):
21583 Check if the NM service exists when initializing (rather than
21584 assuming it does not).
21586 * src/NetworkManagerDbus.c: (nm_dbus_init):
21588 Don't acquire the well-known service name until we have
21589 registered object/path handlers and can actually receive
21592 2004-08-06 Dan Williams <dcbw@redhat.com>
21597 * src/NetworkManagerPolicy.c
21598 src/NetworkManager.c
21599 - Get access point lists from NetworkManagerInfo on-demand,
21600 and look for ServiceCreate/ServiceDeleted signals to see when
21601 we should query NMI for lists
21602 * src/NetworkManagerAPList.c
21603 - Make sure to init the list's mutex
21604 - Convert traversals of the list over to the list iter functions
21606 * src/NetworkManagerDbus.[ch]
21607 - Use more aptly-named path/service/interface constants
21608 - Treat both active and pending devices the same for "getActiveDevice"
21609 - Add a "status" method returning "connected", "connecting", or "disconnected"
21611 * src/NetworkManagerDevice.c
21612 - Honor "ignored" network list when picking best ap to use
21614 2004-08-06 Seth Nickell <seth@gnome.org>
21618 Autogenerated, remove from CVS.
21622 Don't hardcode automake version.
21625 * info-daemon/Makefile.am:
21626 * info-daemon/NetworkManagerInfo.c: (main):
21628 Use GnomeProgram et al. for doing session management.
21629 Use popt stuff for argument parsing rather than doing
21632 2004-08-05 Dan Williams <dcbw@redhat.com>
21634 * test/nminfotest.c
21635 - Update to new NMI dbus API, check different network types
21637 * info-daemon/NetworkManagerInfoDbus.c
21638 - Update to new NM dbus API, ie network type sent in query message
21640 2004-08-05 Dan Williams <dcbw@redhat.com>
21642 * An assload of changes
21644 2004-08-02 Dan Williams <dcbw@redhat.com>
21647 - new task: proper logging support
21649 * info-daemon/NetworkManagerInfo.c
21650 - Correct spelling of "canceled"
21651 - Correct casting of objects for g_signal_connect()
21653 * info-daemon/NetworkManagerInfoDbus.c
21654 - Add defines for NetworkManager namespace and object path, and use them
21655 - Add filter function to trap new signals from NetworkManager:
21656 WirelessNetworkAppeared, WirelessNetworkDisappeared
21658 * info-daemon/passphrase.glade
21659 - Change name of "ok" button to "Login to Network..."
21662 * src/NetworkManager.c
21663 - Code and debug message cleanups
21664 - Rename "nm_add_current_devices"->"nm_add_initial_devices"
21665 - (nm_add_initial_devices) Check returned string array of devices
21666 and don't try to add devices if array is NULL
21667 - (main) Initialize libhal a bit later, make code a bit clearer
21669 * src/NetworkManagerAP.[ch]
21670 - New accessor and data member "matched": used to speed up AP list
21672 - New accessor and data member "enc_method": will be used during key
21673 fallback to cache which passphrase->key conversion actually works
21674 so we don't have to do it every time
21676 * src/NetworkManagerAPList.[ch]
21677 - (nm_ap_list_find_ap_in_list) New: find an AP by essid in an AP list
21678 - (nm_ap_list_diff) New: given two lists of access points, find the differences
21679 between them, and send WirelessNetworkAppeared/Disappeared signals over
21680 dbus in response to those differences
21682 * src/NetworkManagerDbus.[ch]
21683 - (nm_dbus_get_object_path_from_ap) New: given a device and an access point,
21684 make an object path for that access point (NOTE that we don't yet check to
21685 make sure that access point is actually in the device's AP list yet)
21686 - (nm_dbus_get_ap_from_object_path) Renamed from nm_dbus_get_network_from_object_path
21687 - (nm_dbus_signal_wireless_network_appeared, nm_dbus_signal_wireless_network_disappeared)
21688 New: signal appearance/disappearance of wireless networks
21689 - (nm_dbus_set_user_key_for_network) Mark the network/ap as invalid if the user cancelled
21692 * src/NetworkManagerDevice.[ch]
21693 - (nm_device_ap_list_clear) Use nm_ap_list_free rather than doing it ourselves
21694 - (nm_device_ap_list_get) New: return the AP list (static function)
21695 - (nm_device_do_normal_scan) Destroy old AP list later, so that we can diff the
21696 new one resulting from the scan with the old one
21698 * src/NetworkManagerWireless.c
21699 - (nm_wireless_is_most_prefered_ap) "invalid" access points cannot be "best" access points
21701 * test/nminfotest.c
21702 - #define object paths and namespaces and use the #defines rather than static strings
21703 - Test out user-key functionality of NetworkManagerInfo too
21705 2004-07-29 Dan Williams <dcbw@redhat.com>
21707 * info-daemon/NetworkManagerInfoDbus.c
21708 src/NetworkManagerDbus.c
21709 - Update to current DBus (ie don't use decomposed paths when registering
21710 object paths/fallbacks)
21712 2004-07-27 Dan Williams <dcbw@redhat.com>
21714 * Remove various Makefile.in files
21717 - Add some more items
21720 - Add checks for OpenSSL/md5 headers and libs
21723 - Use OpenSSL CFLAGS
21725 * src/NetworkManagerAP.[ch]
21726 - Remove 'stamp' functions, replace with 'invalid' functions
21727 to support user cancelling WEP key entry
21729 * src/NetworkManagerDbus.c
21730 - Remove 'stamp' return functions
21731 - Treat returned user key as a passphrase and convert to a WEP key,
21732 but don't actually use the WEP key yet. We use the returned user
21733 key as a hexadecimal WEP key until we can figure out a UI for
21734 passphrase-vs-hex key
21736 * src/NetworkManagerWireless.[ch]
21737 - Add passphrase-to-128bit-key function
21739 2004-07-27 Dan Williams <dcbw@redhat.com>
21742 - Add a couple of items
21744 2004-07-27 Dan Williams <dcbw@redhat.com>
21746 * info-daemon/NetworkManagerInfo.c
21747 - Update allowed network's GConf key when user enters a WEP key explicitly
21749 * info-daemon/NetworkManagerDbus.c
21750 - Fix some comments
21751 - nmi_dbus_get_allowed_networks(): kill warning
21753 2004-07-27 Dan Williams <dcbw@redhat.com>
21755 * initscript/Makefile.in
21758 * initscript/Makefile.am
21759 - Add correct rules to install the init.d initscript
21761 * info-daemon/NetworkManagerInfoDbus.c
21762 - Remove debug fprintf
21764 * src/NetworkManagerDbus.[ch]
21765 - Remove debug fprintfs
21766 - Add macros for NetworkManagerInfo object path/namespace
21767 - Use said macros instead of constant strings
21769 2004-07-27 Dan Williams <dcbw@redhat.com>
21771 * initscript/.cvsignore
21774 * info-daemon/Makefile.am
21775 - Install .glade files and keyring.png
21776 - Fix stupid omission of a \ that caused half the flags not to be
21779 * info-daemon/NetworkManagerInfo.c
21780 - gtk_signal_connect->g_signal_connect
21781 - Alert NetworkManagerInfo to new glade file location
21783 2004-07-27 Dan Williams <dcbw@redhat.com>
21785 * test/nmclienttest.c
21787 - Add missing <dbus/dbus.h> headers
21788 - Add GPL message at top
21790 2004-07-27 Dan Williams <dcbw@redhat.com>
21792 * src/NetworkManagerAPList.[ch]
21794 - Add. Deal with allowed network list additions, deletions, and updates
21796 * dispatcher-daemon/NetworkManagerDispatcher.c
21797 - Add missing <dbus/dbus.h> header
21799 * info-daemon/NetworkManagerInfo.[ch]
21800 - Add missing <dbus/dbus.h> header
21801 - Implement the GConf notify callback to signal NetworkManager of an allowed
21803 - Better error checking
21805 * info-daemon/NetworkManagerInfoDbus.[ch]
21806 - Add missing <dbus/dbus.h> header
21807 - Convert to using dbus_message_append_args/dbus_message_get_args
21808 - Implement nmi_dbus_signal_update_allowed_network() to signal NetworkManager
21809 that an allowed network changed. We don't want to signal on individual
21810 keys _inside_ an allowed network really, just want NM to query the info
21811 daemon for updated info on all keys.
21812 - Better error checking
21814 * src/NetworkManager.[ch]
21815 - Add missing <dbus/dbus.h> header
21816 - Move allowed_ap_list free functions to NetworkManagerAPList.[ch]
21817 - Zero out NMData structure on free
21818 - No longer use a thread for allowed_ap_list updating, instead its now done
21819 through dbus queries against NetworkManagerInfo
21820 - Populate allowed_ap_list initially before adding existing network devices
21821 to the device list, so wireless devices can get their "best" AP
21823 * src/NetworkManagerDbus.[ch]
21824 - Convert to using dbus_message_append_args/dbus_message_get_args
21825 - Better error checking
21826 - Implement Allowed Network info functions to request allowed network
21827 info from NetworkManagerInfo
21828 - Implement the filter function to process signals from NetworkManagerInfo
21829 about changing allowed networks
21831 * src/NetworkManagerDevice.c
21832 - Fix file descriptor leak in nm_device_update_ip4_address()
21834 2004-07-27 Dan Williams <dcbw@redhat.com>
21839 dispatcher-daemon/.cvsignore
21840 info-daemon/.cvsignore
21841 - Add .cvsignore files to reduce noise when diffing
21843 2004-07-24 Dan Williams <dcbw@redhat.com>
21845 * src/NetworkManager.[ch]
21846 src/NetworkManagerDbus.[ch]
21847 src/NetworkManagerDevice.[ch]
21848 src/NetworkManagerPolicy.c
21849 src/NetworkManagerWireless.[ch]
21850 - Add many more g_return_if_fail()/g_return_val_if_fail() checks
21851 - Pass the NMData application data structure through all calls
21852 that need it so we can get rid of nm_get_global_data()
21853 - Change deallocation of the allowed_ap_list GSList in preparation
21854 for not completely clearing it every time we get an update,
21855 but instead getting incremental updates via GConf/dbus
21857 2004-07-22 Dan Williams <dcbw@redhat.com>
21860 - Add checks for GConf libs & headers & flags
21862 * info-daemon/Makefile.am
21863 - Add GConf flags & libs to compile/link stages of NetworkManagerInfo
21865 * info-daemon/NetworkManagerInfo.[ch]
21866 - Don't use gquarks for data storage, just use normal data storage
21867 - Add gconf bits to watch /system/networking/wireless/allowed_networks
21869 * info-daemon/NetworkManagerDbus.[ch]
21870 - Add method call for getting allowed networks
21871 - Add method calls for getting an allowed network's essid, priority, and key
21872 - Hook the method calls up to GConf
21873 - Split user key dialog code into separate function (nmi_dbus_get_key_for_network)
21874 - nmi_dbus_nmi_message_handler(): make sure to unref the reply message after sending
21876 * src/NetworkManagerDbus.[ch]
21877 - Switch for enumeration of networks to using essid instead
21881 - Add test program for NetworkManagerInfo
21883 2004-07-19 Dan Williams <dcbw@redhat.com>
21885 * src/NetworkManagerDbus.c
21886 - Switch from indexed device paths to names. Less code, more efficient.
21887 ie "/org/freedesktop/NetworkManager/0" -> "/org/freedesktop/NetworkManager/eth0"
21889 2004-07-19 Dan Williams <dcbw@redhat.com>
21891 * dispatcher-daemon/NetworkManagerDispatcher.c
21892 - (nm_dbus_filter): Remove obsolete response to NeedKeyForNetwork signal
21894 2004-07-19 Dan Williams <dcbw@redhat.com>
21897 - Add info-daemon directory
21900 - Check for glade libs and headers
21901 - Add info-daemon directory
21903 * src/NetworkManagerAP.c
21904 - nm_ap_new_from_ap(): Fix bug that resulted in an APs encryption status not getting
21905 copied over to the new AP.
21907 * src/NetworkManagerDbus.c
21908 src/NetworkManagerDbus.h
21909 - Deal with nm_device_ap_list_get_ap()->nm_device_ap_list_get_ap_by_index() change
21910 - Remove nm_dbus_signal_need_key_for_network()
21911 - Add disabled code for asynchronous user wep key callbacks
21912 - Add functions for getting, setting, and cancelling user key operations
21913 - Remove "setKeyForNetwork" device dbus method call, its on NetworkManager object instead
21914 - Add "setKeyForNetwork" dbus method call on NetworkManager object
21916 * src/NetworkManagerDevice.c
21917 src/NetworkManagerDevice.h
21918 - nm_device_update_link_active(): revert changes for wireless link detection, the WEP-key-is-wrong
21919 logic is in device activation now
21920 - nm_device_activate(): for wireless devices, if we can't associate with access point (perhaps
21921 key is wrong) trigger get-user-key pending action
21922 - Implement get-user-key pending action stuff, tie to dbus messages
21923 - Rename nm_device_ap_list_get_ap() -> nm_device_ap_list_get_ap_by_index()
21924 - Add nm_device_ap_list_get_ap_by_essid()
21925 - Instead of copying "best" access points, ref them instead so that the key we set
21928 * src/NetworkManagerPolicy.c
21929 - Deal with wrong WEP key, but right access point (and if so, return link_active = TRUE)
21930 - Don't cancel pending actions on a device if its the same device as last iteration
21931 - Only promote pending_device->active_device if activation was successfull
21934 - Rename nmclienttest->nmtest
21936 * info-daemon/Makefile.am
21937 info-daemon/NetworkManagerInfo.c
21938 info-daemon/NetworkManagerInfo.h
21939 info-daemon/NetworkManagerInfoDbus.c
21940 info-daemon/NetworkManagerInfoDbus.h
21941 info-daemon/passphrase.glade
21942 info-daemon/NetworkManagerInfo.conf
21943 info-daemon/keyring.png
21944 - Import sources for info-daemon, which pops up dialog for passphrase/key when
21945 NetworkManager asks for it, and also will (soon) provide "allowed" access point
21946 lists to NetworkManager by proxying user's GConf
21949 2004-07-15 Dan Williams <dcbw@redhat.com>
21954 * src/NetworkManager.c
21955 - nm_create_device_and_add_to_list(): call nm_device_deactivate() rather
21956 that doing the deactivation ourselves
21957 - Cancel an pending actions on a device if its being removed
21958 - Break up link state checking a bit, make non-active wireless cards
21959 deactivated to save power
21960 - Remove unused variables
21962 * src/NetworkManager.h
21963 - Add support for "pending" device
21965 * src/NetworkManagerAP.h
21966 src/NetworkManagerAP.c
21967 - Add support for determining whether and AP has encryption enabled or not
21968 - AP address is now "struct ether_addr" rather than a string
21970 * src/NetworkManagerDbus.h
21971 src/NetworkManagerDbus.c
21972 - Add signal NeedKeyForNetwork, method SetKeyForNetwork (testing only)
21973 - Changes for AP address from struct ether_addr->string
21975 * src/NetworkManagerDevice.h
21976 src/NetworkManagerDevice.c
21977 - Remove unused variables, fix warnings
21978 - Add support for Pending Actions (things that block a device from being "active"
21979 until they are completed).
21980 - First pending action: Get a WEP key from the user
21981 - Add nm_device_is_wire[d|less](), rename nm_device_is_wireless()
21982 - Clean up explicit testing of dev->iface_type to use nm_device_is_wireless()
21983 - Update wireless link checking to try to determine if the AP we are associated
21984 with is correct, but the WEP key we are using is just wrong. If its wrong,
21985 trigger the GetUserKey pending action on the device
21986 - If dhclient can't get an IP address, it brings the device down. Bring it back
21987 up in that case, otherwise we can't scan or link-check on it
21988 - Add IP address change notifications at appropriate points (still needs some work)
21989 - Add nm_device_need_ap_switch(), checks whether we need to switch access points or not
21991 * src/NetworkManagerPolicy.h
21992 src/NetworkManagerPolicy.c
21993 - Split out "best" access point determiniation into separate function
21994 - Make device activation 2-stage: first the device is pending, then
21995 in the next iteration through it becomes "active" unless it has
21998 * src/NetworkManagerUtils.h
21999 src/NetworkManagerUtils.c
22000 - Clean up unused variables and warnings
22001 - Wrap our debug macros in {} to prevent possible confusion
22003 * src/NetworkManagerWireless.c
22004 - Forgot to return current best priority, which lead to last available AP always
22005 being chosen no matter what its priority was. Corrected.
22007 2004-07-15 Dan Williams <dcbw@redhat.com>
22009 * dispatcher-daemon/Makefile.am
22012 * dispatcher-daemon/NetworkManagerDispatcher.c
22013 - Remove unused variables due to warnings
22014 - Fix some comments
22015 - Print message on receipt of NeedKeyForNetwork signal (testing only)
22017 2004-07-06 Dan Williams <dcbw@redhat.com>
22019 * src/NetworkManager.c
22020 - Add IPv4 address update for active device during link state check
22021 - Don't allow wireless cards to be powered up when they are not the
22024 * src/NetworkManagerDbus.c
22025 src/NetworkManagerDbus.h
22026 - Add DBUS IPv4 address change signal
22027 - Add DBUS IPv4 address get method for devices
22029 * src/NetworkManagerDevice.c
22030 - Make setting the WEP key actually work
22031 - Move IP address get/set/update stuff here, per-device
22032 - Power down/bring down wireless device when deactivated
22033 - For scanning wireless devices, if first scan returned ENODATA, try again
22035 * src/NetworkManagerPolicy.c
22036 - Only set the WEP key for an allowed access point if there is one.
22037 We were setting it to be blank if one wasn't specified.
22039 * src/NetworkManagerUtils.h
22040 src/NetworkManagerUtils.c
22041 - Move the IP address stuff to NetworkManagerDevice.c
22043 * dispatcher-daemon/NetworkManagerDispatcher.c
22044 - Add device IPv4 address change notification stuff
22046 2004-07-05 Dan Williams <dcbw@redhat.com>
22048 * dispatcher-daemon/NetworkManagerDispatcher.c
22049 - A bit more descriptive state message
22050 - Don't segfault when reading directory
22052 * src/NetworkManager.h
22053 - Remove NMData desired_ap member, its now
22054 per-device rather than global
22056 * src/NetworkManager.c
22057 - Remove references to desired_ap
22058 - Move the allowed AP list refresh stuff into a thread
22060 * src/NetworkManagerDevice.c
22061 src/NetworkManagerDevice.h
22062 - Each wireless device now has a "best ap"
22063 - Make device activate/deactivate functions per-device
22064 - Make wireless scanning per-device
22065 - Add IPv4 address discover functions, stub IPv6 ones
22066 - Move ethernet address validation functions to NetworkManagerUtils.c
22067 - Add wireless access point accessor function
22068 - Get/Set functions for "best ap"
22070 * src/NetworkManagerPolicy.c
22071 - Move activate/deactivate stuff into NetworkManagerDevice.c, per-device
22072 - Deal with per-device "best ap" rather than data->desired_apa
22073 - Implement allowed access point worker thread
22074 - Add nm_policy_essid_is_allowed() function
22076 * src/NetworkManagerUtils.c
22077 src/NetworkManagerUtils.h
22078 - Add nm_ethernet_address_is_valid() function
22079 - Add IPv4/IPv6 address get functions
22081 * src/NetworkManagerWireless.c
22082 src/NetworkManagerWireless.h
22083 - Move scanning stuff into NetworkManagerDevice.c, per-device
22085 2004-06-29 Dan Williams <dcbw@redhat.com>
22087 * dispatcher-daemon/NetworkManagerDispatcher.c
22088 - Implement script callout functionality
22090 2004-06-24 Dan Williams <dcbw@redhat.com>
22094 - Flush device routes and ip addresses when added to the device list
22096 * NetworkManagerDbus.c
22098 - Add missing returns in the two signal functions
22100 * NetworkManagerPolicy.c
22101 - Spacing and variable cleanups
22103 2004-06-24 Dan Williams <dcbw@redhat.com>
22108 dispatcher-daemon/Makefile.am
22109 dispatcher-daemon/Makefile.in
22110 dispatcher-daemon/NetworkManagerDispatcher.c
22111 - Add a daemon that receives signals from NetworkManager
22112 and will (eventually) call scripts in /etc/somewhere
22113 when devices go up or down.
22117 - Flush device routes and ip addresses when added to the device list
22119 * NetworkManagerDbus.c
22121 - Add missing returns in the two signal functions
22123 * NetworkManagerPolicy.c
22124 - Spacing and variable cleanups
22125 - Rename nm_policy_switch_interface->nm_policy_switch_device
22126 - nm_policy_switch_device():
22127 Use kill (pid) instead of system ("kill <pid>")
22128 - nm_state_modification_monitor():
22129 Add wireless essid to output of debug statements
22130 Correct typo in device compare to switch or not (should be !=)
22131 Don't sleep after sending "no longer active" signal, was useless
22133 2004-06-24 Dan Williams <dcbw@redhat.com>