1 2008-11-21 Tambet Ingo <tambet@gmail.com>
3 * system-settings/plugins/ifcfg-suse/parser.c (read_wpa_eap_settings): Make suse
6 2008-11-20 Dan Williams <dcbw@redhat.com>
8 Patch from Tambet Ingo <tambet@gmail.com>
10 * libnm-util/nm-setting.c
11 libnm-util/nm-setting.h
12 - (NMSettingValueIterFn): instead of just a gboolean for secrets, take
13 all the GParamSpec flags of the property
15 * system-settings/plugins/keyfile/nm-keyfile-connection.c
16 system-settings/plugins/keyfile/reader.c
17 system-settings/plugins/keyfile/writer.c
18 - Update for NMSettingValueIterFn change
20 2008-11-20 Dan Williams <dcbw@redhat.com>
22 * libnm-util/nm-utils.c
24 - More documentation updates
26 2008-11-20 Dan Williams <dcbw@redhat.com>
28 * libnm-util/libnm-util.ver
31 libnm-util/nm-utils-private.h
32 libnm-util/nm-connection.c
33 - (nm_utils_register_value_transformations): make private, called
34 from NMConnection registration anyway
36 2008-11-20 Dan Williams <dcbw@redhat.com>
38 * libnm-util/Makefile.am
39 libnm-util/nm-utils-private.h
40 - New header for internal utils private functions
42 * libnm-util/libnm-util.ver
45 - Document some functions
46 - (nm_utils_string_in_list, nm_utils_string_list_contains,
47 nm_utils_string_slist_validate): un-export, only used within
48 libnm-util or of limited use in general, and very easy to
49 re-implement by apps if needed
51 * libnm-util/nm-setting-8021x.c
52 libnm-util/nm-setting-wired.c
53 libnm-util/nm-setting-wireless-security.c
54 libnm-util/nm-setting-wireless.c
55 - Update for private nm_utils_string_* functions
57 2008-11-20 Dan Williams <dcbw@redhat.com>
59 * libnm-util/libnm-util.ver
60 libnm-util/nm-setting.c
61 libnm-util/nm-setting.h
62 - Add NMSetting errors
63 - (nm_setting_update_secrets): return errors
65 * libnm-util/nm-connection.c
66 libnm-util/nm-connection.h
67 - (nm_connection_update_secrets): return errors
69 * libnm-util/nm-setting-vpn.c
70 src/nm-activation-request.c
71 src/vpn-manager/nm-vpn-connection.c
72 - Handle update secrets errors
74 2008-11-20 Dan Williams <dcbw@redhat.com>
76 * libnm-util/nm-setting.c
77 libnm-util/nm-setting.h
78 libnm-util/libnm-util.ver
79 - (nm_setting_new_from_hash): rename from nm_setting_from_hash() to be
80 consistent with nm_connection_new_from_hash()
82 * src/nm-activation-request.c
83 libnm-util/nm-connection.c
86 2008-11-19 Dan Williams <dcbw@redhat.com>
90 docs/libnm-util/Makefile.am
91 docs/libnm-util/libnm-util.types
92 - Start to document libnm-util
94 2008-11-19 Dan Williams <dcbw@redhat.com>
96 * libnm-util/nm-connection.h
97 libnm-util/nm-connection.c
98 - Document public functions
100 2008-11-19 Dan Williams <dcbw@redhat.com>
102 * libnm-util/nm-setting.h
103 libnm-util/nm-setting.c
106 system-settings/plugins/ifcfg-fedora/plugin.c
107 - Prefix compare flag defines with NM_SETTING_
109 2008-11-19 Dan Williams <dcbw@redhat.com>
111 * libnm-util/nm-connection.c
112 libnm-util/nm-connection.h
113 - (nm_connection_replace_settings): take a GError
115 * libnm-glib/nm-settings.c
116 libnm-glib/nm-dbus-connection.c
118 system-settings/plugins/ifcfg-suse/nm-suse-connection.c
119 system-settings/plugins/keyfile/nm-keyfile-connection.c
120 system-settings/plugins/keyfile/plugin.c
121 - Handle, or don't handle, errors from nm_connection_replace_settings()
123 2008-11-19 Dan Williams <dcbw@redhat.com>
125 * libnm-util/libnm-util.ver
126 libnm-util/nm-connection.c
127 - (nm_setting_register, nm_setting_unregister): unexport; they are
128 private and don't have a use outside libnm-util
130 2008-11-17 Dan Williams <dcbw@redhat.com>
132 * src/nm-hso-gsm-device.c
133 - (real_connection_secrets_updated): handle PIN/PUK correctly for HSO
136 2008-11-17 Dan Williams <dcbw@redhat.com>
138 * system-settings/plugins/ifcfg-fedora/reader.c
139 - (read_mac_address): clean up
140 - (make_wireless_setting): pass NULL array to read_mac_address() like it
143 * system-settings/plugins/ifcfg-fedora/plugin.c
144 - (read_one_connection): don't segfault on NULL errors
146 2008-11-14 Dan Williams <dcbw@redhat.com>
150 2008-11-14 Dan Williams <dcbw@redhat.com>
152 Handle gateways on different subnets
154 * src/NetworkManagerSystem.c
155 - (add_ip4_route_to_gateway): gateway route should be link scope and
157 - (replace_default_ip4_route): use a destination address too; gateway
158 address should be /0; don't leak the gateway route object
160 2008-11-14 Dan Williams <dcbw@redhat.com>
162 * libnm-glib/libnm_glib.ver
163 libnm-glib/nm-dbus-settings-system.c
164 libnm-glib/nm-dbus-settings-system.h
165 - Add libnm-glib bits for CanModify
167 2008-11-14 Dan Williams <dcbw@redhat.com>
169 * introspection/nm-settings-system.xml
170 system-settings/src/dbus-settings.c
171 system-settings/src/dbus-settings.h
172 - Add a "CanModify" property to indicate if any plugins support
173 connection modification
175 2008-11-14 Dan Williams <dcbw@redhat.com>
177 Relicense libnm-glib to LGPLv2+ with agreement from contributors
179 2008-11-14 Dan Williams <dcbw@redhat.com>
181 * vpn-manager/nm-vpn-connection.c
182 - (plugin_state_changed): clear VPN secrets on error to ensure they
183 are always requested from the settings service (rh #429287)
185 2008-11-13 Dan Williams <dcbw@redhat.com>
187 * libnm-util/crypto.c
188 - (crypto_get_private_key_data): fix bad initial arg type checking
191 2008-11-13 Dan Williams <dcbw@redhat.com>
193 Add support for PKCS#12 private keys (bgo #558982)
195 * libnm-util/crypto.c
197 - (parse_old_openssl_key_file): rename from parse_key_file(); adapt to
198 take a GByteArray instead of a filename
199 - (file_to_g_byte_array): handle private key files too
200 - (decrypt_key): take a GByteArray rather than data + len
201 - (crypto_get_private_key_data): refactor crypto_get_private_key() into
202 one function that takes a filename, and one that takes raw data;
203 detect pkcs#12 files as well
204 - (crypto_load_and_verify_certificate): detect file type
205 - (crypto_is_pkcs12_data, crypto_is_pkcs12_file): add pkcs#12 detection
208 * libnm-util/crypto_gnutls.c
209 - (crypto_decrypt): take GByteArray rather than data + len; fix a bug
210 whereby tail padding was incorrectly handled, leading to erroneous
211 successes when trying to decrypt the data
212 - (crypto_verify_cert): rework somewhat
213 - (crypto_verify_pkcs12): validate pkcs#12 keys
215 * libnm-util/crypto_nss.c
216 - (crypto_init): enable various pkcs#12 ciphers
217 - (crypto_decrypt): take a GByteArray rather than data + len
218 - (crypto_verify_cert): clean up
219 - (crypto_verify_pkcs12): validate pkcs#12 keys
221 * libnm-util/test-crypto.c
222 - Handle pkcs#12 keys
224 * libnm-util/nm-setting-8021x.c
225 libnm-util/nm-setting-8021x.h
226 libnm-util/libnm-util.ver
227 - Add two new properties, 'private-key-password' and
228 'phase2-private-key-password', to be used in conjunction with
230 - (nm_setting_802_1x_set_ca_cert_from_file,
231 nm_setting_802_1x_set_client_cert_from_file,
232 nm_setting_802_1x_set_phase2_ca_cert_from_file,
233 nm_setting_802_1x_set_phase2_client_from_file): return certificate
235 - (nm_setting_802_1x_get_private_key_password,
236 nm_setting_802_1x_get_phase2_private_key_password): return private
238 - (nm_setting_802_1x_set_private_key_from_file,
239 nm_setting_802_1x_set_phase2_private_key_from_file): set the private
240 key from a file, and update the private key password at the same time
241 - (nm_setting_802_1x_get_private_key_type,
242 nm_setting_802_1x_get_phase2_private_key_type): return the private
245 * src/supplicant-manager/nm-supplicant-settings-verify.c
246 - Whitelist private key passwords
248 * src/supplicant-manager/nm-supplicant-config.c
249 - (nm_supplicant_config_add_setting_8021x): for pkcs#12 private keys,
250 add the private key password to the supplicant config, but do not
251 add the client certificate (as required by wpa_supplicant)
253 2008-11-12 Tambet Ingo <tambet@gmail.com>
255 * system-settings/plugins/keyfile/nm-keyfile-connection.c (copy_one_secret)
256 (add_secrets): Don't add empty secrets to the secrets hash table.
258 2008-11-07 Dan Williams <dcbw@redhat.com>
260 * libnm-util/nm-setting-wireless.c
261 - (nm_setting_wireless_get_seen_bssid): fix bug from accessor conversion
262 that cased this function to return garbage, breaking hidden AP
265 2008-11-07 Dan Williams <dcbw@redhat.com>
267 Fix deletion of VPN gateway route on DHCP renew (bgo #558133)
269 * src/NetworkManagerSystem.c
270 src/NetworkManagerSystem.h
271 - (nm_system_device_set_ip4_route): return the route that was added
272 - (nm_system_add_ip4_vpn_gateway_route): make add_vpn_gateway_route()
273 public, clean up, and return the route that was added
274 - (nm_system_apply_ip4_config): remove VPN related stuff to simplify,
275 since nm_system_add_ip4_vpn_gateway_route() is now available; add
276 flags to allow only certain attributes of the NMIP4Config to be
280 - (handle_dhcp_lease_change): don't touch the DHCP4 config on failure
281 - (nm_device_set_ip4_config): use nm_ip4_config_diff() to only apply
282 what's really changed between the old and new configs; don't export
283 the new IP4 config on failure; always send the DNS info to the
286 * src/vpn-manager/nm-vpn-connection.c
287 - (device_ip4_config_changed, nm_vpn_connection_new, dispose): track the
288 parent device's IP4Config and re-add the VPN gateway route when it
290 - (nm_vpn_connection_ip4_config_get): add the VPN gateway route (since
291 nm_system_apply_ip4_config() no longer does) and cache it for later
292 - (connection_state_changed): move cleanup code to its own function
293 - (vpn_cleanup): delete any previously added VPN gateway route; and
294 re-apply the parent device's addresses and routes using
295 nm_system_apply_ip4_config(), not nm_device_set_ip4_config()
297 2008-11-07 Dan Williams <dcbw@redhat.com>
299 * src/nm-ip4-config.c
301 - (nm_ip4_config_diff): new function; return the difference between two
303 - (nm_ip4_config_compare): change into nm_ip4_config_diff
305 2008-11-05 Dan Williams <dcbw@redhat.com>
309 - (nm_ip4_config_compare): compare two IP4 configs
311 2008-11-05 Dan Williams <dcbw@redhat.com>
313 * src/NetworkManagerPolicy.c
314 - (update_etc_hosts): only add newline if not the last line of the file
317 2008-11-05 Dan Williams <dcbw@redhat.com>
319 * src/dhcp-manager/nm-dhcp-dhclient.c
320 - (get_leasefile_for_iface): move lease files back to where dhclient
323 2008-11-05 Michael Biebl <mbiebl@gmail.com>
325 * initscripts/Debian/NetworkManager
326 - Update to what Debian is actually using
328 2008-11-05 Tambet Ingo <tambet@gmail.com>
330 * libnm-util/nm-setting-8021x.c: Verify PEAP settings as well.
332 2008-11-03 Dan Williams <dcbw@redhat.com>
334 * system-settings/src/main.c
335 - (add_default_dhcp_connection): make the fallback connection read-only
337 * libnm-glib/nm-settings.c
338 libnm-glib/nm-settings.h
339 - Add detailed errors
340 - (impl_exported_connection_update, impl_exported_connection_delete):
341 return an error if the connection is read-only
343 * system-settings/plugins/ifupdown/nm-ifupdown-connection.c
344 system-settings/plugins/keyfile/nm-keyfile-connection.c
345 system-settings/src/main.c
346 - Use more detailed errors
348 * system-settings/src/nm-system-config-error.c
349 system-settings/src/nm-system-config-error.h
350 system-settings/src/dbus-settings.c
351 - Remove NM_SYSCONFIG_SETTINGS_ERROR_INVALID_CONNECTION, replaced by
352 NM_SETTINGS_ERROR_INVALID_CONNECTION
354 2008-11-02 Dan Williams <dcbw@redhat.com>
356 * Add license headers to everything in src/
358 2008-11-02 Dan Williams <dcbw@redhat.com>
362 2008-11-02 Dan Williams <dcbw@redhat.com>
364 * src/NetworkManagerAP.c
365 - (nm_ap_new_fake_from_connection): treat only lack of a wireless security
366 setting as unencrypted; fixes a bug where NM wouldn't ask for new
367 secrets when connecting to an encrypted network failed
369 2008-10-30 Dan Williams <dcbw@redhat.com>
371 * libnm-util/libnm-util.ver
372 libnm-util/nm-setting-ip6-config.c
373 libnm-util/nm-setting-ip6-config.h
374 libnm-util/Makefile.am
375 - Make properties private and add accessor functions
376 - Hide IPv6 stuff from public API, it's incomplete and completely unused
378 * libnm-util/nm-connection.c
379 libnm-util/nm-utils.c
380 libnm-util/nm-utils.h
381 - Ignore IPv6 stuff for now
383 2008-10-30 Dan Williams <dcbw@redhat.com>
385 * libnm-util/libnm-util.ver
386 libnm-util/nm-setting-8021x.c
387 libnm-util/nm-setting-8021x.h
388 - Make properties private and add accessor functions
390 * src/supplicant-manager/nm-supplicant-config.c
391 system-settings/plugins/ifcfg-suse/parser.c
392 - Use 802.1x setting accessors
394 2008-10-30 Dan Williams <dcbw@redhat.com>
396 * libnm-util/libnm-util.ver
397 libnm-util/nm-setting-wireless-security.c
398 libnm-util/nm-setting-wireless-security.h
399 - Make properties private and add accessor functions
401 * libnm-util/nm-setting-wireless.c
402 src/NetworkManagerAP.c
404 src/supplicant-manager/nm-supplicant-config.c
405 system-settings/plugins/ifcfg-fedora/reader.c
406 system-settings/plugins/ifcfg-suse/parser.c
407 - Use wireless security accessors
409 2008-10-30 Dan Williams <dcbw@redhat.com>
411 * src/nm-device-ethernet.c
414 src/ppp-manager/nm-ppp-manager.c
415 - Harmonize return checking of ioctl
417 * system-settings/plugins/ifcfg-fedora/reader.c
418 - (is_wireless_device): fall back to SIOCGIWNAME (rh #466340)
420 2008-10-30 Dan Williams <dcbw@redhat.com>
422 * src/ppp-manager/nm-ppp-manager.c
423 - (nm_ppp_manager_start): if /dev/ppp doesn't exist, load the
424 ppp_generic module to create it (bgo #533064)
426 2008-10-30 Dan Williams <dcbw@redhat.com>
428 Patch from Alexander Sack <asac@canonical.com>
430 Fix "ppp connections don't honour ip4 connection settings"
432 * src/nm-device-ethernet.c
433 - (real_act_stage4_get_ip4_config): merge ip4config settings
434 with results from ppp manager
436 * src/nm-serial-device.c
437 - (real_act_stage4_get_ip4_config): merge ip4config settings
438 with results from ppp manager
440 2008-10-29 Dan Williams <dcbw@redhat.com>
442 * libnm-util/libnm-util.ver
443 libnm-util/nm-setting-ip4-config.c
444 libnm-util/nm-setting-ip4-config.h
445 - Make properties private and add accessor functions
447 * callouts/nm-dispatcher-action.c
448 libnm-glib/libnm-glib-test.c
449 libnm-util/nm-utils.c
450 src/NetworkManagerPolicy.c
451 src/NetworkManagerSystem.c
452 src/NetworkManagerUtils.c
453 src/dhcp-manager/nm-dhcp-dhclient.c
454 src/dhcp-manager/nm-dhcp-manager.c
455 src/dnsmasq-manager/nm-dnsmasq-manager.c
458 src/nm-hso-gsm-device.c
461 src/ppp-manager/nm-ppp-manager.c
462 src/vpn-manager/nm-vpn-connection.c
463 system-settings/plugins/ifcfg-fedora/reader.c
464 system-settings/plugins/ifcfg-suse/parser.c
465 system-settings/plugins/ifcfg-suse/plugin.c
466 system-settings/plugins/ifupdown/parser.c
468 vpn-daemons/vpnc/properties/nm-vpnc.c
469 - Use IP4 accessor functions
471 2008-10-29 Tambet Ingo <tambet@gmail.com>
473 Half of it by Dan Williams <dcbw@redhat.com>
475 * libnm-util/libnm-util.ver
476 libnm-util/nm-setting-vpn.c
477 libnm-util/nm-setting-vpn.h
478 - Make properties private and add accessor functions.
480 * src/vpn-manager/nm-vpn-connection.c
481 src/vpn-manager/nm-vpn-manager.c
482 system-settings/plugins/keyfile/reader.c
483 vpn-daemons/openvpn/properties/auth-helpers.c
484 vpn-daemons/openvpn/properties/import-export.c
485 vpn-daemons/openvpn/properties/nm-openvpn.c
486 vpn-daemons/openvpn/src/nm-openvpn-service.c
487 vpn-daemons/pptp/auth-dialog/main.c
488 vpn-daemons/pptp/properties/advanced-dialog.c
489 vpn-daemons/pptp/properties/nm-pptp.c
490 vpn-daemons/pptp/src/nm-pptp-service.c
491 vpn-daemons/vpnc/properties/nm-vpnc.c
492 vpn-daemons/vpnc/src/nm-vpnc-service.c
493 - Use VPN setting accessors.
495 2008-10-28 Dan Williams <dcbw@redhat.com>
497 Patch from Tambet Ingo <tambet@gmail.com>
499 * libnm-util/libnm-util.ver
500 libnm-util/nm-setting-wireless.c
501 libnm-util/nm-setting-wireless.h
502 - Make properties private and add accessor functions
504 * src/NetworkManagerAP.c
507 src/supplicant-manager/nm-supplicant-config.c
508 system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
509 system-settings/plugins/ifcfg-fedora/reader.c
510 system-settings/plugins/ifcfg-suse/parser.c
511 system-settings/plugins/ifupdown/parser.c
512 - Use wireless setting accessors
514 2008-10-27 Dan Williams <dcbw@redhat.com>
516 Patch from Tambet Ingo <tambet@gmail.com>
518 * libnm-util/libnm-util.ver
519 libnm-util/nm-setting-ppp.c
520 libnm-util/nm-setting-ppp.h
521 - Make properties private and add accessor functions
523 * src/ppp-manager/nm-ppp-manager.c
524 - Use ppp setting accessors
526 2008-10-27 Dan Williams <dcbw@redhat.com>
528 Patch from Tambet Ingo <tambet@gmail.com>
530 * libnm-util/nm-setting.h
531 libnm-util/nm-setting.c
532 - Make properties private and add accessor functions
534 * libnm-util/nm-connection.c
535 libnm-util/nm-setting-8021x.c
536 libnm-util/nm-setting-cdma.c
537 libnm-util/nm-setting-connection.c
538 libnm-util/nm-setting-gsm.c
539 libnm-util/nm-setting-ip4-config.c
540 libnm-util/nm-setting-ip6-config.c
541 libnm-util/nm-setting-ppp.c
542 libnm-util/nm-setting-pppoe.c
543 libnm-util/nm-setting-serial.c
544 libnm-util/nm-setting-template.c
545 libnm-util/nm-setting-vpn.c
546 libnm-util/nm-setting-wired.c
547 libnm-util/nm-setting-wireless-security.c
548 libnm-util/nm-setting-wireless.c
549 system-settings/plugins/keyfile/reader.c
550 system-settings/plugins/keyfile/writer.c
551 - Use setting accessors
553 2008-10-27 Dan Williams <dcbw@redhat.com>
555 * libnm-util/libnm-util.ver
556 libnm-util/nm-setting-connection.c
557 libnm-util/nm-setting-connection.h
558 - Add a 'read-only' property that indicates the connection cannot be
561 * system-settings/plugins/ifcfg-fedora/reader.c
562 system-settings/plugins/ifcfg-suse/parser.c
563 system-settings/plugins/ifupdown/parser.c
564 - These plugins are read-only at the moment
566 * system-settings/plugins/keyfile/reader.c
567 system-settings/plugins/keyfile/writer.c
568 - Read-only shouldn't get saved out to files or read in from them
570 2008-10-27 Tambet Ingo <tambet@gmail.com>
572 * src/nm-device-ethernet.c (nm_device_ethernet_get_speed): Implement
573 correct speed reporting for fast devices (kernel >= 2.6.27).
575 2008-10-26 Dan Williams <dcbw@redhat.com>
577 Attempt to compensate for modems that don't enable full AT parsing before
578 the PIN has been entered.
580 * src/nm-gsm-device.c
581 - (init_modem): accept different init strings
582 - (init_done): try different init strings on failure
583 - (check_pin_done): on PIN success, do full modem init
585 2008-10-26 Dan Williams <dcbw@redhat.com>
587 Patch from Tambet Ingo <tambet@gmail.com>
589 * libnm-util/libnm-util.ver
590 libnm-util/nm-setting-connection.c
591 libnm-util/nm-setting-connection.h
592 - Make properties private and add accessor functions
594 * src/NetworkManagerPolicy.c
596 src/nm-device-ethernet.c
597 src/nm-device-interface.c
601 src/ppp-manager/nm-ppp-manager.c
602 src/vpn-manager/nm-vpn-connection.c
603 system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
604 system-settings/plugins/ifcfg-fedora/plugin.c
605 system-settings/plugins/ifcfg-fedora/reader.c
606 system-settings/plugins/ifcfg-suse/parser.c
607 system-settings/plugins/ifupdown/parser.c
608 system-settings/plugins/keyfile/nm-keyfile-connection.c
609 system-settings/plugins/keyfile/plugin.c
610 system-settings/plugins/keyfile/writer.c
611 system-settings/src/main.c
612 - Use those accessors
614 2008-10-26 Dan Williams <dcbw@redhat.com>
616 Patch from Tambet Ingo <tambet@gmail.com>
618 * libnm-util/libnm-util.ver
619 libnm-util/nm-setting-gsm.c
620 libnm-util/nm-setting-gsm.h
621 - Make properties private and add accessor functions
623 * src/nm-gsm-device.c
624 src/nm-hso-gsm-device.c
625 src/ppp-manager/nm-ppp-manager.c
626 - Use those accessors
628 2008-10-26 Dan Williams <dcbw@redhat.com>
630 Patch from Tambet Ingo <tambet@gmail.com>
632 * libnm-util/libnm-util.ver
633 libnm-util/nm-setting-cdma.c
634 libnm-util/nm-setting-cdma.h
635 - Make properties private and add accessor functions
637 * src/nm-cdma-device.c
638 src/ppp-manager/nm-ppp-manager.c
639 - Use those accessors
641 2008-10-26 Dan Williams <dcbw@redhat.com>
643 Patch from Tambet Ingo <tambet@gmail.com>
645 * libnm-util/libnm-util.ver
646 libnm-util/nm-setting-pppoe.c
647 libnm-util/nm-setting-pppoe.h
648 - Make properties private and add accessor functions
650 * src/nm-device-ethernet.c
651 src/ppp-manager/nm-ppp-manager.c
652 - Use those accessors
654 2008-10-26 Dan Williams <dcbw@redhat.com>
656 Patch from Tambet Ingo <tambet@gmail.com>
658 * libnm-util/libnm-util.ver
659 libnm-util/nm-setting-wired.c
660 libnm-util/nm-setting-wired.h
661 - Make properties private and add accessor functions
663 * src/nm-device-ethernet.c
664 system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
665 system-settings/plugins/ifcfg-suse/parser.c
666 system-settings/src/main.c
667 - Use those accessors
669 2008-10-26 Dan Williams <dcbw@redhat.com>
671 Patch from Tambet Ingo <tambet@gmail.com>
673 * libnm-util/libnm-util.ver
674 libnm-util/nm-setting-serial.c
675 libnm-util/nm-setting-serial.h
676 src/nm-serial-device.c
677 - Make properties private and use accessors instead
679 2008-10-26 Dan Williams <dcbw@redhat.com>
681 * src/supplicant-manager/nm-supplicant-interface.c
682 src/supplicant-manager/nm-supplicant-interface.h
683 src/supplicant-manager/nm-supplicant-manager.c
684 src/supplicant-manager/nm-supplicant-manager.h
685 - Add state-to-string conversion functions
687 * src/nm-device-wifi.c
688 src/nm-device-ethernet.c
689 - Normalize state info logging and use strings instead of numbers
691 2008-10-26 Dan Williams <dcbw@redhat.com>
693 * src/NetworkManagerPolicy.c
694 - (update_routing_and_dns): ignore host routes when determining whether
695 a VPN connection should own the default route (bgo #552594)
697 2008-10-24 Dan Williams <dcbw@redhat.com>
699 * src/nm-gsm-device.c
700 - (set_apn): remove erroneous spaces in AT+CGDCONT command (Jerone Young)
702 2008-10-23 Dan Williams <dcbw@redhat.com>
704 * src/ppp-manager/nm-ppp-manager.c
705 - (create_pppd_cmd_line): pppd always parses /etc/ppp/options, so always
706 add really important stuff to the command line to ensure that NM
707 overrides /etc/ppp/options (bgo #556781)
709 2008-10-22 Dan Williams <dcbw@redhat.com>
711 * src/NetworkManagerSystem.c
713 - Use the device's IP interface where appropriate (Per Hallsmark)
715 2008-10-22 Dan Williams <dcbw@redhat.com>
717 * src/nm-gsm-device.c
718 - (schedule_automatic_registration_again): use a short timeout here
719 instead of an idle handler to avoid using too much CPU polling for
720 something we should be waiting a bit for anyway
722 2008-10-22 Dan Williams <dcbw@redhat.com>
724 * include/NetworkManager.h
725 introspection/nm-device.xml
726 - Add device state change reason for carrier changes
728 * src/nm-device-ethernet.c
729 - (set_carrier): use the carrier change reason when changing device
730 state in response to carrier changes
732 2008-10-21 Dan Williams <dcbw@redhat.com>
734 * src/NetworkManagerPolicy.c
735 - (update_etc_hosts): don't leak errors, and ensure that
736 g_file_set_contents() gets a valid error placeholder (rh #461933)
738 2008-10-21 Dan Williams <dcbw@redhat.com>
741 - (free_get_settings_info): don't use the DBusGProxy which could be
742 disposed of by the time the function is called
743 - (internal_new_connection_cb): save connection scope
744 - (connection_get_settings_cb): don't replace a connection unless it's
745 actually different from the existing one; fixes an issue where
746 killing the settings service wouldn't deactivate an active connection
747 provided by that settings service, because it was using a connection
748 that had already been replaced in the system or user hash
750 2008-10-21 Dan Williams <dcbw@redhat.com>
752 * src/NetworkManager.c
753 - (main): keep the DHCP manager around since it's a singleton; fixes
754 a use-after-free exposed by r4196 since the DHCP manager singleton
755 variable isn't cleared when the DHCP manager object is finalized
757 2008-10-20 Dan Williams <dcbw@redhat.com>
759 * libnm-util/nm-setting-wireless-security.c
760 - (verify): accept 'none' as a pairwise cipher with Ad-Hoc WPA connections
762 2008-10-20 Dan Williams <dcbw@redhat.com>
764 * src/supplicant-manager/nm-supplicant-config.c
765 - (ADD_STRING_LIST_VAL): don't add empty values to the supplicant config
767 2008-10-20 Dan Williams <dcbw@redhat.com>
769 * src/dhcp-manager/nm-dhcp-manager.c
770 - (nm_dhcp_manager_get): fix mismatched refcount; creating the dhcp
771 manager object already refs it once
772 - (nm_dhcp_manager_cancel_transaction_real): clear freed variables that
773 also get cleaned up by nm_dhcp_device_destroy() to prevent
776 2008-10-20 Dan Williams <dcbw@redhat.com>
779 - (initial_get_connections): use private dbus manager, don't keep
780 ref-ing the singleton. Fixes mismatched refcounts of the dbus
783 2008-10-18 Dan Williams <dcbw@redhat.com>
785 * libnm-glib/nm-settings.c
786 libnm-glib/nm-settings.h
787 - Rename the "get_secrets" virtual function "service_get_secrets" to
788 clarify when it's used; NMExportedConnetion is a base-class for both
789 the client and service side, which is sort of confusing, and
790 get_secrets only makes sense on the service side.
792 * libnm-glib/nm-dbus-connection.c
793 - (get_secrets): remove, unused, and clients need to do extra work to
794 get secrets anyway since the call can block on the remote side
796 * system-settings/plugins/ifupdown/nm-ifupdown-connection.c
797 system-settings/plugins/keyfile/nm-keyfile-connection.c
798 - Fix up for get_secrets -> service_get_secrets
800 2008-10-16 Dan Williams <dcbw@redhat.com>
802 * src/nm-device-wifi.c
803 - (constructor): correctly determine encryption capabilities
805 2008-10-15 Dan Williams <dcbw@redhat.com>
807 * src/nm-device-wifi.c
808 - (wireless_qual_to_percent): fix quality calculation in a fallback case
811 2008-10-15 Dan Williams <dcbw@redhat.com>
813 * src/NetworkManagerSystem.c
814 - (ip4_dest_in_same_subnet): tighter checks on subnet matching,
815 if the ip4_dest is in a smaller subnet contained within a subnet
816 the machine is currently on, the destination is in the same subnet
817 - (nm_system_device_set_ip4_route): move subnet checks to callers
818 - (add_vpn_gateway_route): check if the VPN gateway is in the same
819 subnet as the parent device, and if so, don't add the direct
820 host route via the parent device's gateway (bgo #481620)
821 - (nm_system_apply_ip4_config): check whether the route to be added
822 is contained within a subnet the device is already on
824 2008-10-11 Dan Williams <dcbw@redhat.com>
826 * include/NetworkManager.h
827 introspection/nm-device.xml
828 include/NetworkManagerVPN.h
829 - Add a few more state reasons for the device deactivated state
831 * src/nm-device-interface.c
832 src/nm-device-interface.h
833 - (nm_device_interface_deactivate): add a 'reason' argument
837 - (nm_device_deactivate, nm_device_take_down): add a 'reason' argument
838 - (nm_device_state_changed): pass the state change reason to
839 nm_device_take_down()
840 - (nm_device_set_managed): take a 'reason' argument, and pass it along
841 to the state change function
845 - (remove_one_device, handle_unmanaged_devices, sync_devices,
846 impl_manager_sleep): pass a reason code to nm_device_set_managed()
847 - (nm_manager_deactivate_connection): add a 'reason' argument and pass
848 something reasonable along to VPN deactivation
850 * src/vpn-manager/nm-vpn-manager.c
851 src/vpn-manager/nm-vpn-manager.h
852 - (nm_vpn_manager_deactivate_connection): add a 'reason' argument and
853 pass that along to nm_vpn_connection_disconnect()
855 2008-10-11 Dan Williams <dcbw@redhat.com>
857 * src/nm-device-wifi.c
858 - (can_scan): remove old madwifi hack for not scanning while connected
860 2008-10-11 Dan Williams <dcbw@redhat.com>
862 Add support for VPN subnet gateways (bgo #549196)
864 * include/NetworkManager.h
865 - Add key for internal VPN subnet gateway
867 * src/vpn-manager/nm-vpn-connection.c
868 - (ip_address_to_string): return a const from a static buffer so we
869 don't leak a lot of strings
870 - (print_vpn_config): print internal VPN gateway as well
871 - (nm_vpn_connection_ip4_config_get): grab internal VPN gateway from
873 - (nm_vpn_connection_get_ip4_internal_gateway): new function
875 * src/NetworkManagerSystem.c
876 src/NetworkManagerSystem.h
877 - (nm_system_device_replace_default_ip4_route): split into two, one for
878 VPN connections and one for normal devices
879 - (replace_default_ip4_route): break out route stuff into its own function
880 - (nm_system_replace_default_ip4_route_vpn,
881 nm_system_replace_default_ip4_route): simplify by having two cases,
882 one for VPNs and one for normal devices
884 * src/NetworkManagerPolicy.c
885 - (update_routing_and_dns): simplify, use split default route replacement
888 2008-10-10 Dan Williams <dcbw@redhat.com>
890 Rework default route handling to consolidate decisions in the policy,
891 and to take active VPN connections into account when changing the default
894 * src/NetworkManager.c
895 - (main): pass the vpn_manager to the policy so it knows about active
896 VPN connections; clean up the named manager which wasn't done before
898 * src/NetworkManagerPolicy.c
899 src/NetworkManagerPolicy.h
900 - (nm_policy_new): get a clue about the vpn_manager
901 - (update_default_route): remove, fold into update_routing_and_dns()
902 - (update_routing_and_dns): handle active VPN connections too; an
903 active VPN connection becomes the default route if it does not have
904 server-specified or user-specified custom routes. Otherwise, the
905 best active device gets the default route
906 - (vpn_connection_activated, vpn_connection_deactivated, nm_policy_new,
907 nm_policy_destroy): track VPN connection activation and deactivation
908 and update the default route when appropriate
910 * src/NetworkManagerSystem.c
911 src/NetworkManagerSystem.h
912 - (nm_system_vpn_device_unset_from_ip4_config): remove, put functionality
913 in the VPN connection itself
914 - (nm_system_vpn_device_set_from_ip4_config,
915 nm_system_device_set_from_ip4_config): merge together to make
916 nm_system_apply_ip4_config()
917 - (add_vpn_gateway_route): add a route to the VPN's external gateway
918 via the parent device
919 - (nm_system_apply_ip4_config): simplify
920 - (add_ip4_route_to_gateway): new function; add a direct route to the
922 - (nm_system_device_replace_default_ip4_route): simplify, break gateway
923 route stuff out into add_ip4_route_to_gateway() for clarity
926 - (nm_device_set_ip4_config): update for nm_system_apply_ip4_config()
928 * src/vpn-manager/nm-vpn-connection.c
929 src/vpn-manager/nm-vpn-connection.h
930 - (nm_vpn_connection_get_ip4_config, nm_vpn_connection_get_ip_iface,
931 nm_vpn_connection_get_parent_device): add
932 - (nm_vpn_connection_ip4_config_get): make the requirement of a tunnel
934 - (connection_state_changed): update the named manager now that
935 nm_system_vpn_device_unset_from_ip4_config() is gone; do something
938 * src/vpn-manager/nm-vpn-manager.c
939 src/vpn-manager/nm-vpn-manager.h
940 - Add a 'connection-activated' signal
941 - (nm_vpn_manager_get_active_connections): new function; mainly for the
942 policy to find out about active VPN connections
944 2008-10-10 Tambet Ingo <tambet@gmail.com>
946 * src/nm-logging.c (nm_logging_setup): Don't use LOG_CONS when running as
947 a daemon to prevent NM logging spew on console on startup and shutdown (due
948 to dependency loop between NM and syslog).
950 2008-10-10 Alexander Sack <asac@ubuntu.com>
952 Implement managed mode. We bind devices configured in /etc/network/interfaces
953 to their connections by updating wired/wireless setting with the
954 mac address of the device.
956 * system-settings/plugins/ifupdown/plugin.c
957 - (get_net_address_for_udi): implement function to retrieve MAC
958 address of udi from hal in GByteArray format
959 - (bind_device_to_connection): bind mac address of device to
960 wired/wireless system connection
961 - (hal_device_added_cb): call bind_device_to_connection for
962 system connections with a matching interface.name
963 - (hal_device_added_cb): ensure that all code paths
964 properly free the "iface" string.
966 2008-10-10 Alexander Sack <asac@ubuntu.com>
968 Parse nm-system-settings.conf and allow admins to either use managed and unmanaged
969 mode of the ifupdown system config plugin.
971 * system-settings/plugins/ifupdown/plugin.c
972 - (SCPluginIfupdown_init): parse nm-system-settings.conf keyfile and set
973 private unmanage_well_known state field accordingly
975 2008-10-10 Alexander Sack <asac@ubuntu.com>
977 Implement unmanaged mode that will prevent all devices in the
978 well_known_udis set from being touched by NetworkManager
980 * system-settings/plugins/ifupdown/plugin.c
981 - (typedef struct SCPluginIfupdownPrivate): add gboolean
982 unmanage_well_known field used to turn on/off unmanaged
984 - (hal_device_added_cb,hal_device_remove_cb): emit |unmanaged-devices-changed|
985 signal when well_known_udis get added/removed
986 - (SCPluginIfupdown_get_unmanaged_devices): return all well_known_udis
987 if we are in unmanaged mode
989 2008-10-10 Alexander Sack <asac@ubuntu.com>
991 Add support to track network devices that have a configuration
992 with a matching interface.name in /etc/network/interfaces
994 * system-settings/plugins/ifupdown/plugin.c
995 - (typedef struct SCPluginIfupdownPrivate): add hash table
996 to track |well_known_udis|
997 - (get_iface_for_udi): helper function to get interface.name
999 - (hal_device_added_cb, hal_device_removed_cb): callbacks
1000 that add and remove devices to and from the well_known_udis
1001 set depending on whether their |interface.name| matches
1002 any interface definition in /etc/network/interfaces
1003 - (SCPluginIfupdown_init): connect callbacks from above with
1004 hal_mgr and setup well_known_udis hashtable
1005 - (GObject__dispose): destroy well_known_udis hashtable
1006 - (hal_device_added_cb2): implement wrapper callback with GFunc
1007 signature. user_data is supposed to be a triple (hal_mgr,
1009 - (SCPluginIfupdown_init): bootstrap wired and wifi devices for
1010 startup and call hal_device_added_cb2
1012 2008-10-10 Alexander Sack <asac@ubuntu.com>
1014 Remove implementation for not used NMSystemConfigInterface callback functions
1017 * system-settings/plugins/ifupdown/plugin.c
1018 - (SCPluginIfupdown_unmanaged_devices_changed): removed
1019 - (SCPluginIfupdown_connection_added): removed
1021 2008-10-08 Dan Williams <dcbw@redhat.com>
1023 Add a 'hostname' dispatcher action triggered on hostname changes (bgo #552983)
1025 * src/NetworkManagerUtils.c
1026 - (nm_utils_call_dispatcher): add a 'hostname' action
1028 * src/NetworkManagerPolicy.c
1029 - (set_system_hostname): dispatch hostname changes
1031 * callouts/nm-dispatcher-action.c
1032 - (nm_dispatcher_action): handle 'hostname' actions
1034 2008-10-08 Dan Williams <dcbw@redhat.com>
1036 * src/NetworkManagerSystem.c
1037 - (find_route): ref the route so it doesn't get destroyed when the cache
1039 - (nm_system_device_set_priority): unref the route here after it's done
1042 2008-10-08 Dan Williams <dcbw@redhat.com>
1044 * src/nm-serial-device.c
1045 - Turn on serial debugging when NM_SERIAL_DEBUG is set in the environment
1047 2008-10-08 Tambet Ingo <tambet@gmail.com>
1049 * system-settings/plugins/keyfile/nm-keyfile-connection.c (update): Update the
1050 connection with new settings before saving it.
1052 2008-10-06 Dan Williams <dcbw@redhat.com>
1054 * src/nm-ip4-config.c
1056 - nm_ip4_config_is_exported -> nm_ip4_config_get_dbus_path
1058 * src/nm-device-interface.c
1059 - (nm_device_interface_init): make 'ip4-config' a boxed property of type
1060 DBUS_TYPE_G_OBJECT_PATH so that we can make it NULL when we need to
1061 by using '/' for the object path
1064 - (src/nm-device.c): marshal missing/unexported ip4-config through
1065 dbus as '/' since dbus-glib can't handle NULL objects nor can
1066 dbus handle NULL object paths
1068 2008-10-03 Alexander Sack <asac@ubuntu.com>
1070 Implement system hostname support for debian/ubuntu
1072 * system-settings/plugins/ifupdown/plugin.c
1073 - (GObject__get_property): extend announced capabilities; add
1074 NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME support
1075 - (GObject__set_property,write_system_hostname): implement
1076 NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME capability.
1077 - (GObject__set_property, GObject__get_property, SCPluginIfupdown_init,
1078 update_system_hostname, get_hostname):
1079 implement hostname property that watches and
1080 parses /etc/hostname
1082 2008-10-03 Alexander Sack <asac@ubuntu.com>
1084 * system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
1085 system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
1086 system-settings/plugins/ifcfg-fedora/Makefile.am
1087 system-settings/src/nm-inotify-helper.c
1088 system-settings/src/nm-inotify-helper.h
1090 - Move ifcfg-fedora inotify helpers to the system settings service so
1091 they are available to all plugins
1093 2008-10-03 Alexander Sack <asac@ubuntu.com>
1095 Implement support for wep-tx-keyidx in ifupdown system
1098 * system-settings/plugins/ifupdown/parser.c
1099 - (update_wireless_security_setting_from_if_block): introduce
1100 free_type_mapping func table; rename a few local
1101 variables to improve readability; add wpa security mapping
1102 for wep-tx-keyidx property
1103 - (string_to_gpointerint): new function used for the auto_type_mapping
1104 of new wep-tx-keyidx property
1105 - (slist_free_all): free func used for mapped slist types
1107 2008-10-03 Alexander Sack <asac@ubuntu.com>
1109 * system-settings/src/main.c:
1110 - (add_default_dhcp_connection, device_removed_cb): ensure the UDI is
1111 always used as the hash key; fixes a crash when removing wired
1114 2008-10-02 Dan Williams <dcbw@redhat.com>
1116 * src/nm-gsm-device.c
1117 - (enter_pin_done, enter_pin, check_pin_done, real_act_stage1_prepare):
1118 pass the required GSM secret along via user_data rather than keeping
1119 it around in the private data where it sometimes didn't get cleared
1120 - (real_get_ppp_name): implement using the GSM username
1122 2008-10-02 Dan Williams <dcbw@redhat.com>
1124 * src/ppp-manager/nm-ppp-manager.c
1125 src/ppp-manager/nm-ppp-manager.h
1126 - (impl_ppp_manager_need_secrets): tries secrets twice before asking
1127 the settings daemon for completely new ones
1128 - (create_pppd_cmd_line): new parameter 'ppp_name' used to set the
1129 local PPP peer name; allow PPP debuging by launching NM with
1130 the environment variable NM_PPP_DEBUG defined
1131 - (nm_ppp_manager_start): new parameter 'ppp_name' passed to
1132 create_pppd_cmd_line()
1134 * src/nm-serial-device.c
1135 src/nm-serial-device.h
1136 - New 'get_ppp_name' function for subclasses to implement to return the
1138 - (real_act_stage2_config): call 'get_ppp_name' function of subclasses
1139 and pass that name to the PPP manager
1141 * src/nm-device-ethernet.c
1142 - (pppoe_stage2_config): pass the PPPoE username to the PPP manager as
1145 * src/nm-cdma-device.c
1146 - (real_get_ppp_name): implement using the CDMA username
1148 2008-10-02 Dan Williams <dcbw@redhat.com>
1150 Patch from Alexander Sack <asac ubuntu com>
1152 * system-settings/plugins/ifupdown/parser.c
1153 - Implement more graceful ip4 config parsing for cases where
1154 /etc/network/interfaces omits basic ip4 settings, such as gateway etc
1155 by using default values
1157 2008-10-02 Dan Williams <dcbw@redhat.com>
1159 * src/NetworkManagerPolicy.c
1160 - (device_state_changed): when marking a connection invalid, clear its
1161 secrets too so that fresh secrets get requested the next time
1163 2008-10-01 Dan Williams <dcbw@redhat.com>
1165 * system-settings/src/dbus-settings.c
1166 - (nm_sysconfig_settings_init): cache system hostname on startup as
1167 a fallback if no plugin provides a hostname
1168 - (get_property): fall back to cached hostname if no plugin provides
1171 2008-10-01 Dan Williams <dcbw@redhat.com>
1173 Fix setting value comparison issue that caused some settings to look the
1174 same when they were really different (rh #464417)
1176 * libnm-util/nm-param-spec-specialized.c
1177 - (type_is_fixed_size): return fundamental size of the fixed type too
1178 - (nm_gvalues_compare_collection): use the fundamental fixed type size
1179 in the comparison so that the _entire_ fixed type collection gets
1180 compared rather than just the first 'len1' bytes
1182 2008-09-30 Dan Williams <dcbw@redhat.com>
1184 * src/NetworkManagerPolicy.c
1185 - (lookup_thread_worker): don't store the idle handler ID becuase the
1186 idle handler could have already run and freed the LookupThread
1189 2008-09-30 Tambet Ingo <tambet@gmail.com>
1191 * src/nm-device.c (nm_device_get_priority): Implement.
1192 (nm_device_set_ip4_config): Send the device priority to system ip4
1195 * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config):
1196 Add priority argument and if it's >= 0, set the priority of the network
1197 route added automatically by netlink (or kernel?).
1198 (nm_system_device_set_priority): Implement.
1200 * src/NetworkManagerPolicy.c (get_best_device): Use
1201 nm_device_get_priority() instead of home-grown version. Revert the
1202 meaning, best priority is the lowest one.
1204 2008-09-29 Dan Williams <dcbw@redhat.com>
1206 Handle ipw3945 suspend/resume by retrying the GIWRANGE request a few times
1207 when it returns EAGAIN (rh #362421)
1209 * src/nm-device-wifi.c
1210 - (wireless_get_range): try GIWRANGE a few times until the card responds
1211 - (real_get_generic_capabilities, constructor): use wireless_get_range()
1213 2008-09-28 Dan Williams <dcbw@redhat.com>
1215 * src/nm-serial-device.c
1216 src/nm-serial-device.h
1217 - (nm_serial_device_close): stop PPP manager here so that PPP gets
1218 cleaned at the right times when subclasses close the serial port too
1219 - (nm_serial_device_send_command): use a default send delay; don't
1220 spin forever on EAGAIN
1221 - (get_reply_done, get_reply_got_data, nm_serial_device_get_reply):
1222 remove, no longer used
1223 - (find_response): return the matched response if any
1224 - (nm_serial_device_wait_reply_blocking): wait for a reply but block
1226 - (wait_for_reply_done): pass the matched response to the callback
1227 - (wait_for_reply_got_data): save the matched response; simplify timeout
1229 - (nm_serial_device_wait_for_reply): make 'responses' and 'terminators'
1230 const since they never get modified
1231 - (cleanup_device): split out common cleanup stuff to a new function
1232 - (real_deactivate_quickly, finalize): use cleanup_device()
1234 * src/nm-gsm-device.c
1235 - (modem_get_reply): remove, unused
1236 - (set_apn): give the card a bit more time to respond
1237 - (manual_registration_again, schedule_manual_registration_again,
1238 manual_registration_response, manual_registration): handle manual
1239 registration timeouts better by retrying registration a few times
1240 because cards are a bit slow after CFUN=1
1241 - (automatic_registration_get_network, get_network_response): use
1242 modem_wait_for_reply() because it interacts better with the serial
1243 buffer and does more intelligent matching; need to wait for 'OK'
1244 rather than just matching terminators
1245 - (schedule_automatic_registration_again,
1246 automatic_registration_response, automatic_registration): retry
1247 registration a few times on timeout or "searching" because cards
1248 take a bit to find a network after being powered up with CFUN=1
1249 - (power_up_response, power_up, init_full_done, enter_pin,
1250 check_pin_done): power up the card with CFUN=1 before trying to
1251 register with the network
1252 - (init_modem_full, init_modem): use more standard 3G init strings
1254 * src/nm-hso-gsm-device.c
1255 - (modem_get_reply): remove, unused
1256 - (hso_ip4_config_response, real_act_stage3_ip_config_start): use
1257 modem_wait_for_reply() to match actual responses instead of single
1258 termination characters; it doesn't leave stuff in the serial buffer
1259 that might confuse later calls
1260 - (real_deactivate_quickly): use nm_serial_device_wait_reply_blocking()
1261 to ensure that the call is really disconnected and not leave extra
1262 stuff in the serial buffer
1264 * src/nm-cdma-device.c
1265 - (power_up_response, power_up, init_done): try Sierra-style modem
1266 power up before attempting to connect
1268 2008-09-27 Dan Williams <dcbw@redhat.com>
1270 * libnm-util/nm-setting-gsm.c
1271 - (verify): verify GSM network ID
1273 2008-09-25 Dan Williams <dcbw@redhat.com>
1275 * libnm-util/nm-setting-gsm.c
1276 libnm-util/nm-setting-gsm.h
1277 - Fix up NM_GSM_NETWORK_* constants to accurately reflect the network
1278 technology terms (bgo #551361)
1280 2008-09-25 Dan Williams <dcbw@redhat.com>
1282 Fix bgo #549401 (inspired by patch from Alexander Sack)
1284 * src/nm-device-ethernet.c
1285 - (finish_supplicant_task): clean up scheduled tasks and free memory
1286 - (remove_supplicant_interface_error_handler): remove the supplicant
1287 error idle callback too
1288 - (supplicant_interface_release): rename from supplicant_interface_clean
1289 to match nm-device-wifi.c; clean up supplicant interface-related
1290 state tasks when the supplicant interface is disposed of
1291 - (schedule_state_handler): add scheduled tasks to a list so they can
1293 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
1294 supplicant_iface_connection_state_cb_handler): use
1295 finish_supplicant_task() to clean up each completed task
1296 - (supplicant_iface_connection_error_cb_handler,
1297 supplicant_connection_timeout_cb): clear source id when the task is
1299 - (supplicant_iface_connection_error_cb): save scheduled task id for
1301 - (nm_device_ethernet_dispose): clean up any pending supplicant state
1304 * src/nm-device-wifi.c
1305 - (finish_supplicant_task): clean up scheduled tasks and free memory
1306 - (remove_supplicant_interface_error_handler): remove the supplicant
1307 error idle callback too
1308 - (supplicant_interface_release): clean up supplicant interface-related
1309 state tasks when the supplicant interface is disposed of
1310 - (schedule_state_handler): add scheduled tasks to a list so they can
1312 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
1313 supplicant_iface_connection_state_cb_handler): use
1314 finish_supplicant_task() to clean up each completed task
1315 - (supplicant_iface_connection_error_cb_handler): clear source id when
1316 the task is complete
1317 - (supplicant_iface_connection_error_cb): save scheduled task id for
1319 - (nm_device_wifi_dispose): clean up any pending supplicant state tasks
1321 2008-09-24 Tambet Ingo <tambet@gmail.com>
1323 * system-settings/plugins/keyfile/plugin.c: Implement unmanaged_devices
1324 method and get/set hostname property.
1326 2008-09-24 Tambet Ingo <tambet@gmail.com>
1328 * src/supplicant-manager/nm-supplicant-interface.c
1329 (nm_supplicant_interface_disconnect): Don't increment the reference
1330 count when disconnecting. The problem is on shutdown, when the replies
1331 to these commands do not arrive before NM exits, resulting on never
1332 calling supplicant interface's dispose(), which removes the interface
1335 2008-09-24 Tambet Ingo <tambet@gmail.com>
1337 * libnm-glib/nm-vpn-plugin-ui-interface.c: Add type checking to
1338 all the public function arguments.
1340 2008-09-22 Tambet Ingo <tambet@gmail.com>
1342 * src/vpn-manager/nm-vpn-connection.c: Add a signal handler for the
1343 "Failure" signal from VPN plugins, store the failure reason, and
1344 use it when the state is changed to failure.
1346 * introspection/nm-vpn-plugin.xml: Fix the "Failure" signal's type
1349 * include/NetworkManagerVPN.h (NMVPNConnectionStateReason): Add a new
1350 reason to the end of the list to not break the API.
1351 (NMVPNPluginFailure): Move it here (from libnm-glib/nm-vpn-plugin.h)
1352 so it can be shared by plugins and daemon.
1354 2008-09-18 Dan Williams <dcbw@redhat.com>
1356 Patch from Alexander Sack <asac@ubuntu.com>
1359 system-settings/plugins/Makefile.am
1360 system-settings/plugins/ifupdown/Makefile.am
1361 system-settings/plugins/ifupdown/interface_parser.c
1362 system-settings/plugins/ifupdown/interface_parser.h
1363 system-settings/plugins/ifupdown/nm-ifupdown-connection.c
1364 system-settings/plugins/ifupdown/nm-ifupdown-connection.h
1365 system-settings/plugins/ifupdown/parser.c
1366 system-settings/plugins/ifupdown/parser.h
1367 system-settings/plugins/ifupdown/plugin.c
1368 system-settings/plugins/ifupdown/plugin.h
1369 - Implement a Debian/Ubuntu legacy network configuration plugin
1372 2008-09-18 Dan Williams <dcbw@redhat.com>
1374 Implement support for honoring configured and automatic hostnames, and for
1375 setting the configured hostname.
1377 * introspection/nm-ip4-config.xml
1380 src/dhcp-manager/nm-dhcp-manager.c
1381 - Remove useless hostname property; it's not really part of the IPv4
1384 * introspection/nm-settings-system.xml
1385 libnm-glib/nm-dbus-settings-system.c
1386 libnm-glib/nm-dbus-settings-system.h
1387 - Add SetHostname() call to system settings D-Bus interface
1388 - Add Hostname property to system settings D-Bus interface
1389 - (nm_dbus_settings_system_save_hostname,
1390 nm_dbus_settings_system_get_hostname): implement
1394 - (nm_device_get_dhcp4_config): implement
1398 - Fetch and track system settings service hostname changes, and proxy
1399 the changes via a GObject property of the manager
1401 * system-settings/src/nm-system-config-interface.c
1402 system-settings/src/nm-system-config-interface.h
1403 - Replace nm_system_config_interface_supports_add() with a capabilities
1406 * system-settings/src/nm-system-config-error.c
1407 system-settings/src/nm-system-config-error.h
1408 - Add additional errors
1410 * system-settings/src/dbus-settings.c
1411 system-settings/src/dbus-settings.h
1412 - (get_property, nm_sysconfig_settings_class_init): add hostname
1413 property; first plugin returning a hostname wins
1414 - (impl_settings_add_connection): use plugin capabilities instead of
1415 nm_system_config_interface_supports_add()
1416 - (impl_settings_save_hostname): implement hostname saving
1418 * src/NetworkManagerPolicy.c
1419 - (lookup_thread_run_cb, lookup_thread_worker, lookup_thread_new,
1420 lookup_thread_die): implement an asynchronous hostname lookup thread
1421 which given an IPv4 address tries to look up the hostname for that
1422 address with reverse DNS
1423 - (get_best_device): split out best device code from
1424 update_routing_and_dns()
1425 - (update_etc_hosts): update /etc/hosts with the machine's new hostname
1426 to preserve the 127.0.0.1 reverse mapping that so many things require
1427 - (set_system_hostname): set a given hostname
1428 - (update_system_hostname): implement hostname policy; a configured
1429 hostname (from the system settings service) is used if available,
1430 otherwise an automatically determined hostname from DHCP, VPN, etc.
1431 If there was no automatically determined hostname, reverse DNS of
1432 the best device's IP address will be used, and as a last resort the
1433 hostname 'localhost.localdomain' is set.
1434 - (update_routing_and_dns): use get_best_device(); update the system
1435 hostname when the network config changes
1436 - (hostname_changed): update system hostname if the system settings
1437 service signals a hostname change
1438 - (nm_policy_new): list for system settings service hostname changes
1439 - (nm_policy_destroy): ensure that an in-progress hostname lookup thread
1442 * system-settings/plugins/keyfile/plugin.c
1443 system-settings/plugins/ifcfg-suse/plugin.c
1444 - (get_property, sc_plugin_ifcfg_class_init): implement hostname and
1445 capabilities properties
1447 * system-settings/plugins/ifcfg-fedora/shvar.c
1448 - (svOpenFile): re-enable R/W access of ifcfg files since the plugin
1449 writes out /etc/sysconfig/network now
1451 * system-settings/plugins/ifcfg-fedora/plugin.c
1452 - (plugin_get_hostname): get hostname from /etc/sysconfig/network
1453 - (plugin_set_hostname): save hostname to /etc/sysconfig/network
1454 - (sc_network_changed_cb): handle changes to /etc/sysconfig/network
1455 - (sc_plugin_ifcfg_init): monitor /etc/sysconfig/network for changes
1456 - (get_property, set_property, sc_plugin_ifcfg_class_init): implement
1457 hostname get/set and capabilities get
1459 2008-09-18 Dan Williams <dcbw@redhat.com>
1461 * libnm-util/nm-setting-wireless.c
1462 - (nm_setting_wireless_ap_security_compatible): only verify pairwise and
1463 group ciphers if the wireless-security setting explicitly specified
1464 them, effectively making the default be "all ciphers" (idea from
1467 2008-09-15 Dan Williams <dcbw@redhat.com>
1469 Patch from Alexander Sack <asac@ubuntu.com>
1471 * src/named-manager/nm-named-manager.c
1472 - (dispatch_resolvconf): respect resolvconf exit code
1474 2008-09-12 Tambet Ingo <tambet@gmail.com>
1476 * src/named-manager/nm-named-manager.c (dispatch_netconfig): Make it compile
1477 again. Add some debugging.
1479 2008-09-11 Dan Williams <dcbw@redhat.com>
1481 * system-settings/plugins/keyfile/plugin.c
1482 - (update_connection_settings): update connection manually, since
1483 nm_exported_connection_update() does authentication
1484 - (dir_changed): update_connection_settings() doesn't need to return
1487 2008-09-09 Dan Williams <dcbw@redhat.com>
1489 * libnm-glib/nm-vpn-plugin-ui-interface.c
1490 libnm-glib/nm-vpn-plugin-ui-interface.h
1491 libnm-glib/libnm_glib_vpn.ver
1492 - (nm_vpn_plugin_ui_interface_delete_connection): called when the plugin
1493 should clean up resources related to the connection (like keyring
1495 - (nm_vpn_plugin_ui_widget_interface_save_secrets): called when the plugin
1496 should save user-scope secrets (like to the keyring)
1498 2008-09-08 Dan Williams <dcbw@redhat.com>
1500 Patch from Alexander Sack <asac@ubuntu.com>
1502 * libnm-util/crypto_gnutls.c
1503 libnm-util/crypto_nss.c
1504 - (crypto_init, crypto_deinit): just use a boolean instead of a refcount
1506 * libnm-util/nm-utils.c
1507 libnm-util/nm-utils.h
1508 libnm-util/libnm-util.ver
1509 - (nm_utils_init): initialize libnm-util
1510 - (nm_utils_deinit): de-initialize libnm-util and clean up resources
1512 * libnm-util/nm-setting-8021x.c
1513 - (nm_setting_802_1x_class_init): init libnm-util when needed
1515 2008-09-05 Dan Williams <dcbw@redhat.com>
1517 Patch from Roy Marples <roy@marples.name> and others
1520 src/named-manager/nm-named-manager.c
1521 - Add support for resolvconf; use --with-resolvconf at configure time
1524 2008-09-05 Dan Williams <dcbw@redhat.com>
1526 * libnm-util/crypto_nss.c
1527 libnm-util/crypto_gnutls.c
1529 - (crypto_init): return error when init fails
1531 2008-09-05 Dan Williams <dcbw@redhat.com>
1533 * libnm-glib/nm-device-wifi.c
1534 - (access_point_removed_proxy): clean up the active access point too
1535 just in case the active ap changed signal didn't come through yet
1536 - (clean_up_aps): be sure to set priv->active_ap to NULL when cleaning up
1538 2008-09-05 Dan Williams <dcbw@redhat.com>
1540 * libnm-glib/nm-client.c
1541 - (constructor): get initial state after we know whether NM is running
1544 2008-09-05 Dan Williams <dcbw@redhat.com>
1546 * libnm-glib/nm-ip4-config.c
1547 libnm-glib/nm-dhcp4-config.c
1548 - (finalize): clean up the DBusGProxy
1550 2008-09-04 Dan Williams <dcbw@redhat.com>
1552 * src/nm-ip4-config.c
1554 - (nm_ip4_config_new): don't export over D-Bus here
1555 - (nm_ip4_config_export): new function; export the config over D-Bus
1556 - (nm_ip4_config_is_exported): new function
1559 - (nm_device_activate_stage5_ip_config_commit): fix leak of IP4Config
1560 objects by balancing the IP4Config constructor; the device holds
1561 a reference to the IP4Config already
1562 - (nm_device_set_ip4_config): export the IP4Config when needed
1564 2008-09-04 Dan Williams <dcbw@redhat.com>
1566 * src/supplicant-manager/nm-supplicant-settings-verify.c
1567 - Allow WPA-NONE key management for Ad-Hoc WPA connections
1569 2008-09-04 Dan Williams <dcbw@redhat.com>
1571 * libnm-util/nm-setting-vpn.c
1572 libnm-util/nm-setting-vpn.h
1573 - Split VPN secrets from VPN data so that settings services can actually
1574 figure out that they are secrets and store them accordingly
1576 * system-settings/plugins/keyfile/nm-keyfile-connection.c
1577 system-settings/plugins/keyfile/reader.c
1578 system-settings/plugins/keyfile/reader.h
1579 system-settings/plugins/keyfile/writer.c
1580 - Store VPN secrets separately from VPN data so that they can be fetched
1582 - Implement the get_secrets() call so that (a) secrets don't leak out
1583 to unprivileged callers, and (b) secrets can be sent to privileged
1586 * vpn-daemons/vpnc/src/nm-vpnc-service.c
1587 - Handle split VPN secrets
1589 2008-08-27 Dan Williams <dcbw@redhat.com>
1591 * system-settings/plugins/ifcfg-fedora/reader.c
1592 - (make_ip4_setting): use DOMAIN not SEARCH (rh #459370)
1594 2008-08-27 Dan Williams <dcbw@redhat.com>
1596 Ensure zombie children get cleaned up. To get notifications when children
1597 die abnormally, g_spawn_async() requires G_SPAWN_DO_NOT_REAP_CHILD, but
1598 that requires calling waitpid() yourself if you've removed the child watch
1599 handler before the process has actually died, which NM needs to do in a few
1600 places. So ensure that everything uses G_SPAWN_DO_NOT_REAP_CHILD and also
1601 cleans up after the child when required. Should fix problems trying to
1602 activate mobile broadband connections after a previous failure.
1604 * src/dhcp-manager/nm-dhcp-dhclient.c
1605 src/dhcp-manager/nm-dhcp-dhcpcd.c
1606 - Use G_SPAWN_DO_NOT_REAP_CHILD
1608 * src/dhcp-manager/nm-dhcp-manager.c
1609 - (nm_dhcp_device_destroy): ensure child is cleaned up
1610 - (nm_dhcp_client_stop, nm_dhcp_manager_cancel_transaction_real): always
1611 block on child quitting, since the non-blocking functionality was
1614 * src/dnsmasq-manager/nm-dnsmasq-manager.c
1615 - (dm_watch_cb): child is already reaped here
1616 - (ensure_killed, nm_dnsmasq_manager_stop): block until child is dead
1619 - (aipd_cleanup): block until child is dead
1621 * src/named-manager/nm-named-manager.c
1622 - (run_netconfig): don't use G_SPAWN_DO_NOT_REAP_CHILD if we aren't
1623 event bothering to watch the child
1625 * src/ppp-manager/nm-ppp-manager.c
1626 - (ppp_watch_cb): child is already reaped here
1627 - (ensure_killed, nm_ppp_manager_stop): block until child is dead
1629 * src/vpn-manager/nm-vpn-service.c
1630 - (vpn_service_watch_cb): child is already reaped here
1631 - (nm_vpn_service_daemon_exec): use G_SPAWN_DO_NOT_REAP_CHILD so that
1632 status of the child is actually tracked
1633 - (ensure_killed, finalize): block until child is dead
1635 2008-08-26 Dan Williams <dcbw@redhat.com>
1637 * system-settings/plugins/keyfile/nm-keyfile-connection.c
1638 - (update): Update filename of the connection if the connection id
1641 * system-settings/plugins/keyfile/plugin.c
1642 - (dir_changed): first pass at handling connection renames correctly
1644 * system-settings/plugins/keyfile/writer.c
1645 system-settings/plugins/keyfile/writer.h
1646 - (write_connection): replace '/' with '*' when writing out the filename
1647 from the connection id
1649 2008-08-26 Dan Williams <dcbw@redhat.com>
1651 Add connection UUIDs, since connection names can be changed, and since
1652 old-style connection IDs could change over the life of the connection. The
1653 UUID should be assigned at connection creation time, be stable for a given
1654 connection, and should be unique among all connections for a given settings
1658 libnm-util/Makefile.am
1661 * introspection/nm-exported-connection.xml
1662 - Remove "GetID" method
1664 * libnm-glib/nm-dbus-connection.c
1665 libnm-glib/nm-settings.c
1666 libnm-glib/nm-settings.h
1667 - Remove id-related stuff
1669 * libnm-util/nm-utils.c
1670 libnm-util/nm-utils.h
1671 libnm-util/libnm-util.ver
1672 - (nm_utils_uuid_generate, nm_utils_uuid_generate_from_string): Add
1673 utility functions to generate UUIDs
1675 * libnm-util/nm-setting-connection.c
1676 libnm-util/nm-setting-connection.h
1677 - Add 'uuid' member to the connection setting
1678 - (verify): require valid 'uuid' for a valid connection
1680 * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
1681 system-settings/plugins/ifcfg-fedora/reader.c
1682 system-settings/plugins/ifcfg-suse/nm-suse-connection.c
1683 system-settings/plugins/ifcfg-suse/parser.c
1684 system-settings/plugins/keyfile/nm-keyfile-connection.c
1685 system-settings/src/main.c
1686 - Remove id-related stuff
1687 - Give connections UUIDs where needed
1689 2008-08-25 Dan Williams <dcbw@redhat.com>
1691 * libnm-util/crypto_gnutls.c
1692 libnm-util/crypto_nss.c
1693 - (crypto_init, crypto_deinit): refcount init/deinit
1694 - (crypto_md5_hash): allow NULL salt
1696 2008-08-22 Michael Biebl <mbiebl@gmail.com>
1698 * libnm-glib/Makefile.am
1699 libnm-util/Makefile.am
1700 libnm-glib/libnm_glib.ver
1701 libnm-glib/libnm_glib_vpn.ver
1702 libnm-util/libnm-util.ver
1703 - Use linker version scripts to control the list of exported
1704 symbols. List each exported symbol explicitely.
1705 * libnm-util/Makefile.am
1706 - Fix compilation of the test-crypto binary. The crypto
1707 functions are no longer part of the libnm-util API. Add
1708 crypto_*.c to test_crypto_SOURCES and link against the correct
1711 2008-08-19 Dan Williams <dcbw@redhat.com>
1715 - Don't build test/test-common
1716 - Remove unused stuff
1718 * test/nm-set-fallback
1719 test/nmtestdevices.c
1720 test/test-common/.cvsignore
1721 test/test-common/Makefile.am
1722 test/test-common/test-common.c
1723 test/test-common/test-common.h
1726 2008-08-18 Dan Williams <dcbw@redhat.com>
1728 * libnm-util/nm-utils.c
1729 libnm-util/nm-utils.h
1730 - (nm_utils_garray_to_string): remove; NM was the only user and doesn't
1731 export anything that needs to be converted with this function
1733 * src/dhcp-manager/nm-dhcp-manager.c
1734 - (garray_to_string): convert a byte array to a UTF-8 string with
1735 minimal validation; the DHCP client sends it in ASCII anyway
1736 - (get_option, copy_option): use garray_to_string()
1738 2008-08-18 Dan Williams <dcbw@redhat.com>
1740 * include/NetworkManager.h
1741 introspection/nm-device.xml
1742 - Add a "missing firmware" device state reason
1744 * src/NetworkManagerSystem.c
1745 src/NetworkManagerSystem.h
1746 - (nm_system_device_set_up_down): add a no_firmware argument
1747 - (nm_system_device_set_up_down_with_iface): if the result of setting
1748 IFF_UP is ENOENT, that almost always means missing firmware
1750 * src/backends/NetworkManagerGeneric.c
1751 src/nm-device-ethernet.c
1752 src/nm-device-private.h
1753 src/nm-device-wifi.c
1756 src/nm-hso-gsm-device.c
1757 src/vpn-manager/nm-vpn-connection.c
1758 - Pass no_firmware along; check it where appropriate
1760 2008-08-18 Dan Williams <dcbw@redhat.com>
1762 Patch from Robert Buchholz <rbu@gentoo.org>
1766 - Change to automake 1.9 and 'ustar' tar format defined by POSIX
1767 1003.1-1988, allowing for file names longer than 99 characters
1769 2008-08-17 Dan Williams <dcbw@redhat.com>
1771 * include/NetworkManager.h
1772 introspection/nm-device.xml
1774 - Finer-grained GSM registration failure error codes
1776 2008-08-17 Dan Williams <dcbw@redhat.com>
1778 * callouts/Makefile.am
1780 - Move dispatcher directory creation to callouts/Makefile.am
1782 * system-settings/plugins/keyfile/Makefile.am
1783 - Create keyfile connections directory in DESTDIR (bgo #546833)
1785 2008-08-15 Dan Williams <dcbw@redhat.com>
1787 Do connection sharing in a cleaner manner; all required iptables rules
1788 are now stored in the activation request and pertain only to the device
1789 which is being shared to other computers. (rh #458625)
1791 * src/nm-activation-request.c
1792 src/nm-activation-request.h
1793 - (nm_act_request_add_share_rule): new function; add a sharing rule to
1794 the activation request which will get torn down automatically when
1795 the activation request dies
1796 - (nm_act_request_set_shared): push sharing rules to iptables when sharing
1797 is started, and tear them down when sharing is stopped
1800 - (start_sharing): start up sharing by doing the required iptables magic
1801 - (share_init): poke the right bits of the kernel and load the right
1803 - (nm_device_activate_stage5_ip_config_commit): start NAT-ing this
1804 connection if it's a 'shared' connection
1806 * src/NetworkManagerPolicy.c
1807 - Remove all sharing stuff; done in the device code itself
1809 2008-08-15 Dan Williams <dcbw@redhat.com>
1811 * src/dnsmasq-manager/nm-dnsmasq-manager.c
1812 - (create_dm_cmd_line): send the right router address
1814 2008-08-15 Dan Williams <dcbw@redhat.com>
1816 * src/ppp-manager/nm-ppp-manager.c
1817 - (pppd_timed_out): ensure timeouts fail the connection
1819 2008-08-14 Dan Williams <dcbw@redhat.com>
1821 * src/nm-properties-changed-signal.c
1822 src/nm-properties-changed-signal.h
1823 - Add a property spec flag for "don't export this property" in
1824 property changed signals
1826 * src/nm-hso-gsm-device.c
1828 src/nm-cdma-device.c
1829 - Don't export monitor interface or netdev interface properties
1831 2008-08-14 Dan Williams <dcbw@redhat.com>
1833 * src/NetworkManagerPolicy.c
1834 - (update_routing_and_dns): 'hso' devices can be default even if they
1835 don't have a gateway
1837 2008-08-14 Dan Williams <dcbw@redhat.com>
1840 - (nm_device_deactivate_quickly): tear down activation request after
1841 calling device-specific deactivation
1843 * src/nm-hso-gsm-device.c
1844 - (real_deactivate_quickly): terminate connection when deactivating
1846 2008-08-14 Dan Williams <dcbw@redhat.com>
1848 * src/nm-activation-request.h
1849 - Add HSO secrets caller
1851 * src/nm-gsm-device.c
1853 - (modem_wait_for_reply): add a 'user_data' argument so callers can pass
1854 something to the callback function
1855 - (set_apn, set_apn_done): call class dial function, not a static one
1856 - (nm_gsm_device_class_init): add a class 'dial' function
1858 * src/nm-hal-manager.c
1859 - (get_hso_netdev): find the hso-driven hardware's net device
1860 - (modem_device_creator): recognize hso-driven hardware and create the
1861 right type of device object for it
1864 src/nm-hso-gsm-device.c
1865 src/nm-hso-gsm-device.h
1866 - Implement support for devices driven by the 'hso' driver as a subclass
1869 2008-08-14 Dan Williams <dcbw@redhat.com>
1871 * src/NetworkManagerSystem.c
1872 - (nm_system_device_is_up_with_iface): ensure ifreq is cleared before using
1873 - (nm_system_device_set_up_down_with_iface): cleanups; only return
1874 success if the operation really was successful
1876 2008-08-14 Dan Williams <dcbw@redhat.com>
1878 * src/nm-netlink-monitor.c
1879 src/nm-netlink-monitor.h
1880 src/nm-device-ethernet.c
1881 - (nm_netlink_monitor_request_status): return an error on failure
1882 - (constructor): don't segfault on missing error
1884 2008-08-13 Dan Williams <dcbw@redhat.com>
1886 * callouts/nm-dispatcher-action.c
1887 - Add IP4 config info to script environment
1889 2008-08-12 Dan Williams <dcbw@redhat.com>
1892 - (nm_device_set_ip4_config): don't touch hostnames here; distros
1893 that want to use DHCP hostnames should use dispatcher scripts
1896 * src/NetworkManagerSystem.h
1897 src/backends/NetworkManagerArch.c
1898 src/backends/NetworkManagerDebian.c
1899 src/backends/NetworkManagerFrugalware.c
1900 src/backends/NetworkManagerGeneric.c
1901 src/backends/NetworkManagerGeneric.h
1902 src/backends/NetworkManagerGentoo.c
1903 src/backends/NetworkManagerMandriva.c
1904 src/backends/NetworkManagerPaldo.c
1905 src/backends/NetworkManagerRedHat.c
1906 src/backends/NetworkManagerSlackware.c
1907 src/backends/NetworkManagerSuSE.c
1908 - Remove nm_system_set_hostname(), no longer used
1910 * src/backends/Makefile.am
1911 src/backends/shvar.c
1912 src/backends/shvar.h
1913 - Remove shvar.*; no longer used
1915 2008-08-12 Dan Williams <dcbw@redhat.com>
1917 Revert most of the 'hostname' patch. Too much stuff still breaks when
1918 hostname is updated at runtime. Distros or users who want hostname updates
1919 can use dispatcher scripts to update the hostname if they need it.
1921 2008-08-12 Dan Williams <dcbw@redhat.com>
1923 * introspection/nm-settings-system.xml
1924 system-settings/src/dbus-settings.c
1925 system-settings/src/dbus-settings.h
1926 - Add a 'Hostname' property (rw) which represents the configured
1927 hostname and domain of the system, if any
1929 * system-settings/src/nm-system-config-error.c
1930 system-settings/src/nm-system-config-error.h
1931 system-settings/src/nm-system-config-interface.c
1932 system-settings/src/nm-system-config-interface.h
1933 - Add a 'hostname' property to the plugin interface
1934 - Add a method to send updated hostname to plugins to save in their
1935 backing configuration store
1937 * system-settings/plugins/keyfile/nm-keyfile-connection.c
1938 system-settings/plugins/keyfile/plugin.c
1939 system-settings/plugins/keyfile/writer.c
1940 system-settings/plugins/keyfile/writer.h
1941 system-settings/plugins/ifcfg-suse/plugin.c
1942 - Add minimal hostname support
1944 * system-settings/plugins/ifcfg-fedora/plugin.c
1945 - Add support for updating system hostname in /etc/sysconfig/network
1947 2008-08-12 Dan Williams <dcbw@redhat.com>
1949 * system-settings/plugins/ifcfg-fedora/shvar.c
1950 system-settings/plugins/ifcfg-fedora/shvar.c
1951 - Fix double-free caused by svSetValue() followed by svCloseFile()
1953 2008-08-12 Tambet Ingo <tambet@gmail.com>
1955 * Makefile.am: Fix distcheck.
1957 2008-08-12 Tambet Ingo <tambet@gmail.com>
1959 * libnm-glib/*.c. Document some more.
1961 2008-08-12 Tambet Ingo <tambet@gmail.com>
1963 Start documenting libnm-glib public API using gtk-doc.
1965 * libnm-glib/nm-serial-device.c:
1966 * libnm-glib/nm-object.c:
1967 * libnm-glib/nm-gsm-device.c:
1968 * libnm-glib/nm-device.c:
1969 * libnm-glib/nm-device-wifi.c:
1970 * libnm-glib/nm-device-ethernet.c:
1971 * libnm-glib/nm-client.c:
1972 * libnm-glib/nm-cdma-device.c: Document the public API.
1974 * docs/libnm-glib/libnm-glib.types: Implement.
1976 * docs/libnm-glib/Makefile.am: Implement.
1980 * Makefile.am: Add gtk-doc support.
1982 2008-08-12 Tambet Ingo <tambet@gmail.com>
1984 * src/backends/*: Get rid of nm_system_should_modify_resolv_conf().
1986 * src/named-manager/nm-named-manager.c (rewrite_resolv_conf): Calculate
1987 the composite result of all the IP4 configurations and call a distro
1988 specific update_resolv_conf().
1989 (update_resolv_conf): Implement one for directly writing to
1990 /etc/resolv.conf and one for opensuse to call netconfig.
1992 2008-08-11 Dan Williams <dcbw@redhat.com>
1994 * src/ppp-manager/nm-ppp-manager.c
1995 - (impl_ppp_manager_need_secrets): pass interface as required
1997 2008-08-11 Dan Williams <dcbw@redhat.com>
1999 Merge the vpn-properties setting with the vpn setting since it was pointless
2000 to keep both of them around. Convert the vpn 'data' hash table to a hash
2001 of string:string (instead of string:variant) so that system settings plugins
2002 can have an easier time dealing with the arbitrary key/value pairs.
2004 2008-08-11 Dan Williams <dcbw@redhat.com>
2006 * libnm-util/nm-utils.c
2007 - (nm_utils_register_value_transformations): add value transform for
2008 a hash table of string:string
2010 2008-08-10 Dan Williams <dcbw@redhat.com>
2012 * libnm-glib/nm-vpn-plugin.c
2013 - (nm_vpn_plugin_connect): stop plugin after connection failure from
2014 an idle handler so the Connect reply gets delivered before the
2015 stop StateChanged signal
2017 2008-08-10 Dan Williams <dcbw@redhat.com>
2019 * src/nm-ip4-config.c
2020 - (get_property): use common ip4 address/route conversion functions
2021 - (nm_ip4_config_replace_address, nm_ip4_config_replace_route): should
2022 copy the new route here, not take ownership
2024 2008-08-08 Tambet Ingo <tambet@gmail.com>
2026 * system-settings/plugins/ifcfg-suse/parser.c (make_ip4_setting):
2027 Update the IP4 setting's method name.
2029 2008-08-07 Dan Williams <dcbw@redhat.com>
2031 * introspection/nm-ip4-config.xml
2032 libnm-glib/libnm-glib-test.c
2033 libnm-glib/nm-ip4-config.c
2034 libnm-glib/nm-ip4-config.h
2035 src/NetworkManagerSystem.h
2036 src/backends/NetworkManagerArch.c
2037 src/backends/NetworkManagerDebian.c
2038 src/backends/NetworkManagerFrugalware.c
2039 src/backends/NetworkManagerGeneric.c
2040 src/backends/NetworkManagerGeneric.h
2041 src/backends/NetworkManagerGentoo.c
2042 src/backends/NetworkManagerMandriva.c
2043 src/backends/NetworkManagerPaldo.c
2044 src/backends/NetworkManagerRedHat.c
2045 src/backends/NetworkManagerSlackware.c
2046 src/backends/NetworkManagerSuSE.c
2047 src/dhcp-manager/nm-dhcp-manager.c
2051 - Remove NIS logic; should be done from dispatcher scripts instead
2053 2008-08-07 Dan Williams <dcbw@redhat.com>
2055 * src/dhcp-manager/nm-dhcp-manager.c
2056 - (nm_dhcp_manager_get_ip4_config): fix regression which caused
2057 mis-handling of DHCP responses that returned more than one router
2058 (found by Grant Williamson)
2060 2008-08-07 Dan Williams <dcbw@redhat.com>
2062 * callouts/nm-dispatcher-action.c
2063 - (nm_dispatcher_action): grab device path and create the device; pass
2064 the device's DHCP4 config to script caller
2065 - (dispatch_scripts): dump the DHCP4 config to the environment of called
2068 * libnm-glib/nm-dhcp4-config.c
2069 libnm-glib/nm-dhcp4-config.h
2070 - (nm_dhcp4_config_get_options): expose
2071 - (nm_dhcp4_config_get_one_option): renamed from nm_dhcp4_config_get_option
2073 2008-08-07 Dan Williams <dcbw@redhat.com>
2075 * include/NetworkManager.h
2076 - Add the DHCP4Config D-Bus interface
2078 * libnm-glib/Makefile.am
2079 libnm-glib/nm-dhcp4-config.c
2080 libnm-glib/nm-dhcp4-config.h
2081 - Handle DHCP4 config objects exported by NM over D-Bus
2083 * libnm-glib/nm-device.c
2084 libnm-glib/nm-device.h
2085 - Add a 'dhcp4-config' property
2087 * libnm-glib/libnm-glib-test.c
2088 - Print out DHCP4 config for devices
2089 - Fix some crashes when no connections are active
2091 * src/nm-device-interface.c
2093 src/nm-dhcp4-config.c
2094 src/nm-dhcp4-config.h
2095 - Treat dhcp4-config object as an object path at the D-Bus interface so
2096 that when it doesn't exist we can proxy it as "/" which dbus-glib
2097 doesn't let us do when the property type is G_TYPE_OBJECT
2099 2008-08-07 Dan Williams <dcbw@redhat.com>
2101 * src/NetworkManager.c
2102 src/NetworkManagerSystem.h
2103 src/backends/NetworkManagerArch.c
2104 src/backends/NetworkManagerDebian.c
2105 src/backends/NetworkManagerFrugalware.c
2106 src/backends/NetworkManagerGeneric.c
2107 src/backends/NetworkManagerGeneric.h
2108 src/backends/NetworkManagerGentoo.c
2109 src/backends/NetworkManagerMandriva.c
2110 src/backends/NetworkManagerPaldo.c
2111 src/backends/NetworkManagerRedHat.c
2112 src/backends/NetworkManagerSlackware.c
2113 src/backends/NetworkManagerSuSE.c
2114 - (nm_system_init, nm_system_kill_all_dhcp_daemons): remove, unused
2116 2008-08-06 Dan Williams <dcbw@redhat.com>
2118 * libnm-glib/nm-ip4-config.c
2119 libnm-glib/nm-ip4-config.h
2120 - Add 'routes' property
2122 * libnm-util/nm-setting-vpn.c
2123 libnm-util/nm-setting-vpn.h
2124 - Remove 'routes' property
2126 * libnm-util/nm-setting-ip4-config.c
2127 libnm-util/nm-setting-ip4-config.h
2128 - 'ignore-dhcp-dns' renamed to 'ignore-auto-dns'
2129 - Add 'ignore-auto-routes' property
2130 - 'routes' exposed over D-Bus is now an array of array of uint (4) to
2131 accomodate route metrics
2132 - 'routes' exposed in C is now a list of NMSettingIP4Route structures
2134 * libnm-util/nm-utils.c
2135 libnm-util/nm-utils.h
2136 - Add helpers for marshalling IP4 routes
2138 * src/NetworkManagerUtils.c
2139 - (nm_utils_merge_ip4_config): handle property renames and new route
2142 * src/NetworkManagerSystem.c
2143 - (nm_system_device_set_ip4_route, nm_system_device_set_from_ip4_config,
2144 nm_system_vpn_device_set_from_ip4_config): respect route metrics
2146 * src/dhcp-manager/nm-dhcp-manager.c
2147 - (nm_dhcp_manager_get_ip4_config): handle new route structure
2149 * system-settings/plugins/ifcfg-fedora/reader.c
2150 system-settings/plugins/ifcfg-fedora/writer.c
2151 - Handle routes separately from addresses now that routes have a different
2154 * introspection/nm-ip4-config.xml
2157 - Rename internal routing functions
2158 - 'static-routes' renamed to 'routes'
2160 2008-08-04 Dan Williams <dcbw@redhat.com>
2162 Patch from Sjoerd Simons <sjoerd.simons@collabora.co.uk>
2164 * src/NetworkManager.c
2167 - More explicitly make the NMManager a singleton
2169 2008-08-04 Dan Williams <dcbw@redhat.com>
2171 * libnm-util/nm-connection.c
2172 libnm-util/nm-connection.h
2173 - (nm_connection_verify): return error on missing 'connection' setting
2174 (found by Sjoerd Simons)
2176 2008-08-04 Dan Williams <dcbw@redhat.com>
2178 Handle multiple concurrent PPP connections.
2180 * src/ppp-manager/nm-ppp-manager.c
2181 src/ppp-manager/nm-ppp-manager.h
2182 - (constructor): only PPP Manager request bus name once; each
2183 NMPPPManager object gets a unique object path
2184 - (nm_ppp_manager_class_init, get_property, set_property,
2185 nm_ppp_manager_new, nm_ppp_manager_start): pass parent interface in
2187 - (impl_ppp_manager_need_secrets, impl_ppp_manager_set_state): don't
2188 remove timeout until PPP manager gets an IP4 config
2189 - (create_pppd_cmd_line): pass dbus object path as 'ipparam' so that
2190 the plugin can call back to this specific PPP manager instance
2192 * src/nm-device-ethernet.c
2193 src/nm-serial-device.c
2194 - Pass parent device in nm_ppp_manager_new()
2196 * src/nm-gsm-device.c
2197 src/nm-cdma-device.c
2198 - (device_state_changed): don't close serial device on NEED_AUTH
2199 state changed, that's not a failure case like the rest are
2201 * src/ppp-manager/nm-pppd-plugin.c
2202 - (nm_ip_up): always use index 0 into the ipcp options, because NM always
2203 binds one interface to any pppd process, thus the correct index
2204 is always 0; send PHASE_DEAD on error to alert NM immediately of
2205 problems; try harder to get a peer address in spite of pppd
2206 - (plugin_init): use 'ipparam' as the object path back to our specific
2207 PPP manager instance
2209 2008-08-04 Dan Williams <dcbw@redhat.com>
2211 * src/ppp-manager/nm-ppp-manager.c
2212 - (impl_ppp_manager_need_secrets): rework to handle secrets better;
2213 since the GSM and CDMA settings now implement need_secrets, we can
2214 rely on them to do the right thing. Where secrets are not required,
2215 just pass empty strings back to the pppd plugin.
2216 - (nm_ppp_manager_update_secrets): leak fix; don't need to dup the strings
2217 - (impl_ppp_manager_set_ip4_config): clear the secrets tries counter
2218 on successful IP4 config receipt
2220 2008-08-04 Dan Williams <dcbw@redhat.com>
2222 * libnm-util/nm-setting-cdma.c
2223 libnm-util/nm-setting-gsm.c
2224 - (verify): validate username & password if they exist
2225 - (need_secrets): if username given, require a password too
2227 2008-08-04 Dan Williams <dcbw@redhat.com>
2229 * src/dnsmasq-manager/nm-dnsmasq-manager.c
2230 - (create_dm_cmd_line): really don't listen on lo, despite what the
2231 manpage says about --listen-address without --interface
2234 2008-08-01 Dan Williams <dcbw@redhat.com>
2236 * libnm-glib/nm-device.c
2237 - (proxy_get_string): util function for querying a HAL property
2238 - (get_ancestor_device): split out from get_product_and_vendor()
2239 - (get_product_and_vendor): simplify; get more accurate pid & vid info
2240 from PCI devices by querying subsys properties
2241 - (nm_device_update_description): simplify
2243 2008-08-01 Dan Williams <dcbw@redhat.com>
2245 * libnm-util/nm-setting-ip4-config.c
2246 libnm-util/nm-setting-ip4-config.h
2247 - Make IPv4 methods reflect their usage; 'dhcp' -> 'auto' and
2248 'autoip' -> 'link-local'. VPN & PPP connections can also have IPv4
2249 settings, and they don't necessarily use DHCP.
2251 * src/NetworkManagerPolicy.c
2253 system-settings/plugins/ifcfg-fedora/reader.c
2254 system-settings/plugins/ifcfg-suse/parser.c
2255 - Fixup for method changes
2257 2008-07-31 Dan Williams <dcbw@redhat.com>
2259 * src/nm-activation-request.c
2260 src/vpn-manager/nm-vpn-connection.c
2261 - Correct GetSecrets D-Bus pending call usage; the GetSecrets call
2262 itself should be attached to the activation request or the VPN
2263 connection, not the NMConnection object, since the call is not
2264 expected to live as long as the NMConnection itself
2266 2008-07-31 Dan Williams <dcbw@redhat.com>
2268 * src/nm-device-wifi.c
2269 - (real_act_stage2_config): fix issue where association would continue
2270 even though secrets were needed; 'goto out' was in wrong scope and
2271 result of handle_auth_or_fail() should have been dumped directly to
2272 'ret' to ensure that the association was postponed until secrets
2275 2008-07-31 Dan Williams <dcbw@redhat.com>
2277 * system-settings/plugins/ifcfg-fedora/plugin.c
2278 system-settings/plugins/ifcfg-fedora/reader.c
2279 - Don't ignore unmanaged devices if their ifcfg file doesn't make a
2282 2008-07-29 Dan Williams <dcbw@redhat.com>
2284 * src/nm-gsm-device.c
2285 - (automatic_registration_response, automatic_registration): recognize
2286 denied registration and reorder responses
2288 2008-07-29 Dan Williams <dcbw@redhat.com>
2290 * src/nm-serial-device.c
2291 - (nm_serial_device_wait_for_reply): fix timeout calculation. Since
2292 time(2) is used for current time, which returns seconds, we shouldn't
2293 be multiplying by 1000.
2295 2008-07-28 Dan Williams <dcbw@redhat.com>
2297 Patch from Fabrice Bellet <fabrice@bellet.info>
2299 * src/NetworkManagerSystem.c
2300 - (route_in_same_subnet): mask addresses and compare them so that the
2301 function actually does what it says it's going to do (rh #456685)
2303 2008-07-27 Dan Williams <dcbw@redhat.com>
2305 * libnm-util/nm-setting-ip6-config.c
2306 - (set_property): add missing break that caused routes to be overwritten
2309 * libnm-util/nm-setting-ip6-config.c
2310 - (verify): validate routes and return GError everywhere on invalid setting
2311 - (finalize): don't leak routes
2312 - (set_property): add missing break that caused routes to be overwritten
2315 2008-07-27 Dan Williams <dcbw@redhat.com>
2318 - Relicense to LGPLv2+
2320 2008-07-27 Dan Williams <dcbw@redhat.com>
2322 * system-settings/plugins/ifcfg-fedora/reader.c
2323 - (make_ip4_setting): fix parsing automatic configs
2325 2008-07-27 Dan Williams <dcbw@redhat.com>
2327 * src/dnsmasq-manager/nm-dnsmasq-manager.c
2329 src/ppp-manager/nm-ppp-manager.c
2330 - Ensure child process gets reaped. The child watch function may be
2331 removed from the mainloop before the child gets killed, so we have
2332 to make sure the child is reaped when it's told to die intentionally
2334 2008-07-27 Dan Williams <dcbw@redhat.com>
2336 Patch from Roy Marples <roy@marples.name>
2338 * src/dhcp-manager/nm-dhcp-dhcpcd.c
2339 - (nm_dhcp_client_start): fixup for latest dhcpcd 4.0 RC
2341 2008-07-27 Dan Williams <dcbw@redhat.com>
2343 * src/nm-gsm-device.c
2344 - (init_modem_full): send "ATZ E0" after CPIN, because apparently some
2345 Huawei devices turn echo back on after CPIN (rh #456770)
2347 2008-07-24 Tambet Ingo <tambet@gmail.com>
2349 * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Add
2350 format argument to g_set_error() call.
2352 * src/backends/interface_parser.[ch]: Remove.
2354 * src/backends/Makefile.am: Remove unused files interface_parser.[ch].
2356 2008-07-21 Dan Williams <dcbw@redhat.com>
2358 * src/ppp-manager/nm-ppp-manager.c
2359 - (create_pppd_cmd_line): send 'noipdefault' on non-PPPoE connections
2360 to prevent pppd from picking up some random local address from an
2361 interface that doesn't have anything to do with the one we're
2362 interested in (rh #455348)
2364 2008-07-17 Dan Williams <dcbw@redhat.com>
2366 * libnm-util/nm-utils.c
2367 - (string_to_utf8): general function for conversion to UTF-8 assisted
2369 - (nm_utils_ssid_to_utf8): use string_to_utf8()
2370 - (nm_utils_garray_to_string): ensure returned string is UTF-8 safe
2372 2008-07-17 Dan Williams <dcbw@redhat.com>
2374 * introspection/Makefile.am
2375 introspection/nm-device.xml
2376 introspection/nm-dhcp4-config.xml
2377 - Add bits for the DHCP4Config property of the device, and the DHCP4Config
2379 * src/nm-device-interface.c
2380 src/nm-device-interface.h
2381 - Add the DHCP4Config property
2384 - Keep track of DHCP4 options via a new DHCP4Config property and notify
2385 D-Bus clients when it changes
2387 * src/nm-dhcp4-config.c
2388 src/nm-dhcp4-config.h
2389 - Simple object to store DHCP4 options, export them over D-Bus, and
2390 notify when they change
2392 * src/dhcp-manager/nm-dhcp-manager.c
2393 src/dhcp-manager/nm-dhcp-manager.h
2394 - (nm_dhcp_manager_set_dhcp4_config, copy_dhcp4_config_option): copy and
2395 filter server-returned DHCP options into an NMDHCP4Config object
2397 2008-07-16 Dan Williams <dcbw@redhat.com>
2399 * introspection/nm-device.xml
2400 - Add device state reasons
2402 2008-07-16 Dan Williams <dcbw@redhat.com>
2404 Patch from Roy Marples <roy@marples.name>
2407 - Add --with-dhcp-client option
2409 * src/dhcp-manager/Makefile.am
2410 - pass DHCP_CLIENT_PATH on compile line
2412 * src/dhcp-manager/nm-dhcp-manager.c
2413 src/dhcp-manager/nm-dhcp-manager.h
2414 - Genericize for both dhcpcd and dhclient
2416 * src/dhcp-manager/nm-dhcp-dhclient.c
2417 - Move dhclient stuff out to it's own file from nm-dhcp-manager.c
2419 * src/dhcp-manager/nm-dhcp-dhcpcd.c
2420 - Implement support for dhcpcd too
2422 2008-07-16 Tambet Ingo <tambet@gmail.com>
2424 * system-settings/src/nm-system-config-interface.c
2425 (nm_system_config_interface_supports_add): Implement.
2426 (nm_system_config_interface_add_connection): Return a boolean to notify
2429 * system-settings/src/nm-polkit-helpers.c:
2430 * system-settings/src/nm-polkit-helpers.h: Move error declarations to
2433 * system-settings/src/dbus-settings.c (impl_settings_add_connection):
2434 Return an error when none of the plugins support add or if addition
2435 failed for some reason.
2437 * system-settings/src/nm-system-config-error.h:
2438 * system-settings/src/nm-system-config-error.c: New files, mostly moved
2439 here from nm-polkit-helpers.[ch].
2441 * system-settings/src/Makefile.am: Build new files.
2443 * system-settings/plugins/keyfile/reader.c
2444 (read_array_of_array_of_uint): Make it more general so that it would
2445 work for routes as well.
2447 * system-settings/plugins/keyfile/writer.c
2448 (write_array_of_array_of_uint): Ditto.
2449 Fix the netmask/prefix writing.
2451 * system-settings/plugins/keyfile/plugin.c (add_connection): Return
2452 boolean to notify errors.
2454 * system-settings/plugins/ifcfg-suse/nm-suse-connection.c (update):
2455 Return more specific error.
2458 2008-07-11 Dan Williams <dcbw@redhat.com>
2460 Modify the NMDevice::state-changed signal to include the previous state
2461 and reason. Enables the applet to provide more information why device
2464 2008-07-09 Dan Williams <dcbw@redhat.com>
2466 * callouts/Makefile.am
2467 callouts/nm-avahi-autoipd-action.c
2468 callouts/nm-avahi-autoipd.conf
2469 - avahi-autoipd callout to send options back to NM
2476 src/nm-device-private.h
2478 - Use avahi-autoipd for IPv4LL functionality rather than really crappy
2481 2008-07-07 Dan Williams <dcbw@redhat.com>
2483 * system-settings/plugins/ifcfg-fedora/reader.c
2484 - (make_ip4_setting): handle DHCP_HOSTNAME; fix up prefix support to
2485 handle PREFIX too; clean up
2487 2008-07-07 Dan Williams <dcbw@redhat.com>
2489 Convert to using IPv4 prefixes instead of netmasks.
2491 2008-07-03 Dan Williams <dcbw@redhat.com>
2493 * libnm-util/nm-setting-ip4-config.c
2494 libnm-util/nm-setting-ip4-config.h
2495 - Add properties for DHCP Client Identifier and DHCP Hostname
2497 * src/dhcp-manager/nm-dhcp-manager.c
2498 src/dhcp-manager/nm-dhcp-manager.h
2499 - (nm_dhcp_manager_begin_transaction): take the connection's ip4-config
2500 setting as an argument to pass on to the dhclient config file
2502 - (nm_dhcp_manager_cancel_transaction_real): remove dhclient config when
2504 - (dhclient_run): punt config file handling to create_dhclient_config()
2505 - (create_dhclient_config): create an interface-specific dhclient
2506 config file since there may need to be interface-specific options
2508 - (merge_dhclient_config): merge normal distro dhclient config file and
2509 add options from the connection
2510 - (nm_dhcp_device_new): generate the interface specific dhclient
2511 config file path once
2512 - (nm_dhcp_device_destroy): handle partially initialized objects; free
2513 dhclient config file path
2516 - (real_act_stage3_ip_config_start): pass ip4-config, if any, to the
2517 DHCP manager when starting DHCP
2519 2008-07-02 Dan Williams <dcbw@redhat.com>
2521 * libnm-util/nm-setting-8021x.c
2522 - (verify): allow forcing the PEAP label to 0
2524 2008-07-02 Dan Williams <dcbw@redhat.com>
2526 * introspection/nm-active-connection.xml
2527 introspection/nm-vpn-connection.xml
2528 libnm-glib/nm-active-connection.c
2529 src/nm-activation-request.c
2530 src/nm-active-connection.h
2531 src/vpn-manager/nm-vpn-connection.c
2532 - Remove "SharedServiceName" and "SharedConnection" bits from the D-Bus
2533 and libnm-glib API since sharing didn't get implemented that way
2535 2008-07-02 Dan Williams <dcbw@redhat.com>
2537 * src/nm-device-wifi.c
2538 - (can_scan): don't scan when a shared connection is activated since
2539 that makes drivers mad (causing disconnects); also NM doesn't need
2540 to hedge against disconnects by keeping up-to-date network topology
2541 because the connection originates from the local machine, and thus
2542 there should be no disconnects
2544 2008-07-01 Dan Williams <dcbw@redhat.com>
2546 Fix mobile broadband username/password issues. NM was never requesting
2547 mobile broadband secrets, nor was it passing back the username and password
2550 * marshallers/nm-marshal.list
2551 - Add some new types for activation request objects
2553 * src/nm-activation-request.c
2554 src/nm-activation-request.h
2555 - (get_secrets_cb): pass the caller type in the signal
2556 - (nm_act_request_request_connection_secrets): take a caller type, so
2557 that GetSecrets() reply handlers know who asked for the secrets in
2558 the first place; use secret hints too so the settings service can
2559 figure out exactly what NM wants (ie, PIN or the PPP password)
2561 * src/ppp-manager/nm-ppp-manager.c
2562 src/ppp-manager/nm-ppp-manager.h
2563 - (impl_ppp_manager_need_secrets): nm_connection_need_secrets() won't
2564 detect needed secrets when the secret could be blank, like GSM/CDMA
2565 passwords. So always ask for secrets, and send a hint as to what
2566 secret we really want.
2567 - (nm_ppp_manager_update_secrets): make function more generic by making
2568 the device specific class figure out the username and password, and
2569 accept an error argument to return back over D-Bus
2571 * src/nm-device-wifi.c
2572 - (link_timeout_cb, handle_auth_or_fail): update for changes to
2573 nm_act_request_request_connection_secrets()
2574 - (real_connection_secrets_updated): update for 'caller' changes
2578 - (connection_secrets_updated_cb, connection_secrets_failed_cb): update
2579 for 'caller' changes
2581 * src/nm-device-ethernet.c
2582 - (real_connection_secrets_updated): update for 'caller' changes and
2583 move logic for getting PPPoE username and password here before
2584 calling nm_ppp_manager_update_secrets()
2585 - (link_timeout_cb, handle_auth_or_fail): update for changes to
2586 nm_act_request_request_connection_secrets()
2588 * src/nm-cdma-device.c
2589 - (real_connection_secrets_updated): pass username and password back
2590 to the PPP manager when required
2592 * src/nm-gsm-device.c
2593 - (enter_pin): send the required secret name to the settings service
2594 - (real_connection_secrets_updated): pass username and password back
2595 to the PPP manager when required
2597 2008-06-30 Dan Williams <dcbw@redhat.com>
2599 * src/nm-device-wifi.c
2600 - Consistently use NM_DEVICE_WIFI_GET_PRIVATE instead of self->priv
2602 2008-06-30 Dan Williams <dcbw@redhat.com>
2604 Attempt to fix various issues causing rh #448889. Mainly, to qualify for
2605 the DISCONNECTED state, the device must not be rfkilled _and_ have a valid
2606 priv->supplicant.iface. When either condition is false, the device should
2607 transition back to UNAVAILABLE because it cannot be used.
2609 * src/nm-device-wifi.c
2610 - (constructor): cleanup; connect to supplicant manager here since the
2611 supplicant manager is always around
2612 - (supplicant_interface_acquire): rename from init_supplicant_interface,
2613 ensure the supplicant manager is in the IDLE state
2614 - (supplicant_interface_release): rename from cleanup_supplicant_interface,
2615 cancel any pending scans too
2616 - (real_bring_up): don't set up the supplicnat interface here, because
2617 we need the supplicant interface at times when the device may not
2619 - (real_take_down): just remove the periodic source
2620 - (schedule_scan): ensure a state that would peg the CPU doesn't happen
2621 - (remove_supplicant_interface_connection_error_handler): cleanup; don't
2622 do anything if there's no supplicant interface
2623 - (cleanup_association_attempt): cleanup
2624 - (supplicant_iface_state_cb_handler): request an immediate scan when
2625 the interface enters the READY state; transition to UNAVAILABLE
2626 state when the interface goes down because the device can't be used
2627 without a supplicant interface
2628 - (supplicant_mgr_state_cb_handler): if the supplicant goes away, clean
2629 up and transition to UNAVAILABLE; if the supplicant becomes ready,
2630 acquire the supplicant interface and transition to DISCONNECTED
2631 if the radio isn't killed
2632 - (nm_device_wifi_dispose): move most of device_cleanup() here
2633 - (state_changed_cb): release any existing supplicant interface; if the
2634 radio is enabled then try to acquire a new supplicant interface;
2635 if the radio is enabled and a supplicant interface has been acquired,
2636 we can transition to DISCONNECTED
2637 - (nm_device_wifi_set_enabled): if bringing the hardware up failed,
2638 don't enable the radio, because HAL probably lied to us about the
2639 killswitch being off. If bringing the hardware up worked, then
2640 try to grab a supplicant interface, and if that was successful,
2641 transition to DISCONNECTED
2643 2008-06-30 Dan Williams <dcbw@redhat.com>
2645 * src/supplicant-manager/nm-supplicant-interface.c
2646 - (request_scan_results, nm_supplicant_interface_dispose,
2647 wpas_iface_query_scan_results): cleanup; scan_results_timeout is now
2648 the id of the timeout, not a GSource
2650 2008-06-30 Tambet Ingo <tambet@gmail.com>
2652 * src/backends/NetworkManagerSuSE.c (nm_system_activate_nis): Fix a
2653 bunch of typoes introduced by "Patch from David Cantrell
2654 <dcantrell@redhat.com> and me".
2656 2008-06-30 Tambet Ingo <tambet@gmail.com>
2658 * src/nm-serial-device.c:
2659 * src/nm-gsm-device.c:
2660 * src/nm-cdma-device.c: Move the pending call handling to a common location
2661 in serial device. Handle setting device state to failed in one place as well.
2663 2008-06-29 Dan Williams <dcbw@redhat.com>
2665 * src/nm-hal-manager.c
2666 - Rework killswitch handling to query killswitch status immediately
2667 when the first killswitch is added, so that rfkill state is
2668 known as early as possible
2669 - Also treat failure of GetPower() as rfkill when the dbus method
2670 call times out (but not when the HAL callout returns an error)
2672 2008-06-26 Dan Williams <dcbw@redhat.com>
2674 Patch from David Cantrell <dcantrell@redhat.com> and me
2676 * include/nm-dbus-glib-types.h
2677 - Add IP6 address types
2679 * libnm-util/Makefile.am
2680 libnm-util/nm-setting-ip6-config.c
2681 libnm-util/nm-setting-ip6-config.h
2682 - Add IP6 settings object
2684 * libnm-util/nm-connection.c
2685 - (register_default_settings): register ip6 settings object
2687 * libnm-util/nm-utils.c
2688 libnm-util/nm-utils.h
2689 - (nm_utils_ip6_addresses_from_gvalue, nm_utils_ip6_addresses_to_gvalue,
2690 nm_utils_ip6_dns_from_gvalue, nm_utils_ip6_dns_to_gvalue): add
2691 ip6 address conversion functions
2693 2008-06-26 Dan Williams <dcbw@redhat.com>
2695 Patch from David Cantrell <dcantrell@redhat.com>
2697 * Use inet_ntop() and inet_pton() everwhere and check for errors
2699 2008-06-26 Dan Williams <dcbw@redhat.com>
2701 * Update FSF address in license headers (Michael Biebl <biebl@debian.org>)
2703 2008-06-26 Dan Williams <dcbw@redhat.com>
2705 Patch from Adel Gadllah <adel.gadllah@gmail.com>
2707 * src/nm-device-wifi.c
2708 - (link_timeout_cb): don't ignore disconnects due to scanning
2709 - (supplicant_iface_connection_state_cb_handler): instead, schedule
2710 a longer timeout when scanning; avoids case where supplicant can't
2711 find the AP and just keeps scanning forever but isn't connected
2713 2008-06-26 Dan Williams <dcbw@redhat.com>
2715 Patch from Michael Biebl <biebl@debian.org>
2717 * Clean up build system stuff
2719 2008-06-23 Christian Persch <chpe@gnome.org>
2721 * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.c:
2722 * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.h:
2723 * vpn-daemons/pptp/auth-dialog-general/anonymous-auth-module.c:
2725 * vpn-daemons/pptp/auth-dialog-general/chap-auth-module.c:
2727 * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.c:
2728 * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.h:
2729 * vpn-daemons/pptp/auth-dialog-general/mschapv2-auth-module.c:
2731 * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.c:
2732 * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.h:
2733 * vpn-daemons/pptp/properties/nm-ppp-properties.c: (impl_setup):
2734 * vpn-daemons/pptp/properties/vpnui_impl.c: (impl_get_object):
2735 * vpn-daemons/pptp/properties/vpnui_opt.c:
2736 (vpnui_opt_connect_signals):
2737 * vpn-daemons/pptp/properties/vpnui_opt.h:
2738 * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
2739 * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.h: Don't use
2740 deprecated gtk type macros. Bug #539325.
2742 2008-06-20 Dan Williams <dcbw@redhat.com>
2744 * libnm-glib/nm-vpn-plugin-ui-interface.c
2745 libnm-glib/nm-vpn-plugin-ui-interface.h
2746 - 'validity-changed' -> 'changed' to work better with the connection
2747 editor. Plugin UI widgets should emit 'changed' whenever their
2748 UI values change in a meaningful way.
2749 - (nm_vpn_plugin_ui_widget_interface_update_connection): the
2750 update_connection member now returns validity of the UI widget
2752 2008-06-20 Tambet Ingo <tambet@gmail.com>
2754 * libnm-util/nm-connection.c (nm_connection_duplicate): Implement.
2756 2008-06-17 Dan Williams <dcbw@redhat.com>
2758 * libnm-glib/nm-vpn-plugin-ui-interface.c
2759 libnm-glib/nm-vpn-plugin-ui-interface.h
2760 - Add "desc" property for longer descriptions of the VPN plugin
2762 2008-06-16 Dan Williams <dcbw@redhat.com>
2765 libnm-glib/libnm_glib_vpn.pc.in
2766 - add a .pc file for libnm_glib_vpn
2768 * libnm-glib/nm-vpn-plugin-ui-interface.c
2769 libnm-glib/nm-vpn-plugin-ui-interface.h
2770 - Move the glib/GNOME VPN UI plugin interface into libnm-glib and
2771 rework it substantially
2773 2008-06-12 Dan Williams <dcbw@redhat.com>
2775 Add a GError argument to nm_connection_verify() and nm_setting_verify(),
2776 and add error enums to each NMSetting subclass. Each NMSetting subclass now
2777 returns a descriptive GError when verification fails.
2779 2008-06-11 Dan Williams <dcbw@redhat.com>
2781 Patch from Tambet Ingo <tambet@gmail.com>
2783 * libnm-util/nm-setting-gsm.c
2784 - (verify): validate APN
2786 * src/nm-gsm-device.c
2787 - (manual_registration_done): start setting APN if needed
2788 - (set_apn, set_apn_done): set the APN
2789 - (do_dial): use the APN when dialing
2791 2008-06-11 Dan Williams <dcbw@redhat.com>
2793 * src/NetworkManagerSystem.c
2794 - (nm_system_device_set_ip4_route,
2795 nm_system_device_replace_default_ip4_route): check for the right
2796 return value from rtnl_route_add() to know when to add a gateway
2799 2008-06-11 Dan Williams <dcbw@redhat.com>
2801 * src/NetworkManagerPolicy.c
2802 - do_ipt_cmd -> do_cmd
2803 - (sharing_init): use do_cmd() instead of system()
2805 2008-06-10 Dan Williams <dcbw@redhat.com>
2807 The grand 802-11-wireless rename. Get rid of the 802-11/80211/802_11 bits
2808 and use "wifi" everwhere instead.
2810 2008-06-10 Dan Williams <dcbw@redhat.com>
2812 The grand 802-3-ethernet rename. Get rid of the 802-3/8023/802_3 bits.
2814 2008-06-10 Dan Williams <dcbw@redhat.com>
2816 Patch from Tambet Ingo <tambet@gmail.com>
2818 * src/ppp-manager/nm-ppp-manager.c: Add ppp stats monitoring, signal the
2821 * src/nm-serial-device.c: Monitor "ppp-stats" signals from NMPPPManager. Add
2822 a signal to emit these changes over dbus.
2824 * src/Makefile.am: Genereate nm-serial-device-glue.
2826 * libnm-glib/nm-serial-device.[ch]: Implement.
2828 * libnm-glib/nm-cdma-device.[ch]
2829 libnm-glib/nm-gsm-device.[ch]: Inherit from NMSerialDevice.
2831 * libnm-glib/Makefile.am: Add nm-serial-device.[ch].
2833 * introspection/nm-device-serial.xml: Implement.
2835 * introspection/all.xml: Fix a couple of typos, add nm-device-serial.xml.
2837 * introspection/Makefile.am: Add nm-device-serial.xml.
2839 * include/NetworkManager.h: Add a DBus interface for serial device.
2841 2008-06-10 Dan Williams <dcbw@redhat.com>
2844 - Add TARGET_* define to config.h to distinguish distros
2846 * src/dhcp-manager/nm-dhcp-manager.c
2847 - (dhclient_run): use distro-specific path for dhclient config file
2849 2008-06-09 Dan Williams <dcbw@redhat.com>
2851 * src/dnsmasq-manager/nm-dnsmasq-manager.c
2852 src/dnsmasq-manager/nm-dnsmasq-manager.h
2853 - (create_dm_cmd_line): use the IP4 address of the ip4-config to
2854 calculate the addresses passed to dnsmasq instead of hard-coding
2858 - (nm_device_new_ip4_shared_config): be somewhat dynamic when choosing
2859 IP addresses for shared connections to guard against shared
2860 connection address collisions
2861 - (real_act_stage4_get_ip4_config): handle possible NULL ip4-configs on
2863 - (nm_device_activate_stage5_ip_config_commit): pass ip4-config to
2866 2008-06-09 Dan Williams <dcbw@redhat.com>
2868 * src/NetworkManagerPolicy.c
2869 - (update_routing_and_dns): set the default connection _after_ unsetting
2870 default on all non-default connections so that two connections can
2871 never be default at the same time
2872 - (device_state_changed): start and stop connection sharing when
2874 - (active_connection_default_changed): restart or stop sharing when
2875 the default connection changes to keep shared connections always
2876 NAT-ed through the default connection
2877 - (check_sharing): handle activation/deactivation of shared connections
2878 - (sharing_restart): atom-bomb approach to connection sharing until we
2879 can use libnl; reinit all sharing when the default connection or
2880 shared connections change
2881 - (sharing_init, sharing_stop): evil functions that init and deinit
2884 2008-06-09 Dan Williams <dcbw@redhat.com>
2886 * src/nm-activation-request.c
2887 src/nm-activation-request.h
2888 - (nm_act_request_set_shared, nm_act_request_get_shared,
2889 nm_act_request_get_device): new functions to facilitate connection
2892 2008-06-09 Dan Williams <dcbw@redhat.com>
2895 - (clear_act_request): unset the 'default' property of the activation
2896 request when clearing it to ensure the property changed signal gets
2897 delivered and handled
2899 2008-06-09 Dan Williams <dcbw@redhat.com>
2901 * libnm-glib/nm-device-802-11-wireless.c
2902 - (access_point_removed_proxy): actually unref the AP after removing
2903 it from the device's AP list. Fixes refcounting bug for APs that
2904 caused them to get mixed up in the applet's menu.
2906 2008-06-09 Tambet Ingo <tambet@gmail.com>
2908 * src/dhcp-manager/nm-dhcp-manager.c (finalize): Free private members.
2909 (nm_dhcp_device_destroy): Destroy the device options hash table.
2911 2008-06-06 Dan Williams <dcbw@redhat.com>
2913 * system-settings/src/nm-polkit-helpers.c
2914 - (create_polkit_context): in PolicyKit 0.6, polkit_context_init() will
2915 unref the context if the initialization fails; also avoid spew when
2918 2008-06-06 Dan Williams <dcbw@redhat.com>
2920 Patch from Tambet Ingo <tambet@gmail.com>
2922 * src/NetworkManagerSystem.c
2923 src/NetworkManagerSystem.h
2924 - (nm_system_device_add_ip4_route_via_device_with_iface): remove
2925 - (nm_system_device_set_from_ip4_config): remove unused route_to_iface
2926 - (nm_system_device_set_ip4_route): clean up
2927 - (nm_system_vpn_device_set_from_ip4_config): clean up, add VPN routes
2930 - (nm_device_set_ip4_config): remove unused route_to_iface bits
2932 * src/vpn-manager/nm-vpn-connection.c
2933 - (ip_address_to_string): new function
2934 - (print_vpn_config): use ip_address_to_string
2935 - (merge_vpn_routes): add user-defined routes to the ip4 config
2936 - (nm_vpn_connection_ip4_config_get): add routes the VPN server sent
2938 * include/NetworkManagerVPN.h
2941 2008-06-05 Dan Williams <dcbw@redhat.com>
2943 Patch from Markus Becker <mab@comnets.uni-bremen.de>
2946 - Show which device is the default device
2948 2008-06-05 Tambet Ingo <tambet@gmail.com>
2952 * system-settings/src/nm-system-config-hal-manager.c (get_type_for_udi):
2953 Free data returned from dbus method call.
2955 * system-settings/src/nm-polkit-helpers.c (check_polkit_privileges):
2956 dbus_g_method_get_sender() returns a duplicated string, free it
2958 (check_polkit_privileges): Looks like policykit sometimes returns
2959 error and non-null return value, don't leak errors in that case.
2961 * system-settings/src/main.c (find_plugin): Don't leak existing
2963 (load_stuff): Don't leak device list and list items.
2964 (have_connection_for_device): Don't leak connection list.
2966 * system-settings/plugins/keyfile/reader.c (read_one_setting_value):
2967 Free the data received from g_keyfile_get_*.
2969 * system-settings/plugins/ifcfg-suse/parser.c (READ_WEP_KEY): Free
2970 the key when the security object is updated.
2972 * src/supplicant-manager/nm-supplicant-interface.c (scan_results_cb):
2973 Free data returned from dbus method call.
2974 (iface_state_cb): Ditto.
2975 (add_network_cb): Ditto.
2976 (nm_supplicant_interface_add_cb): Don't make another copy of already
2977 duplicated object path.
2978 (nm_supplicant_interface_add_to_supplicant): Free the driver GValue
2981 * src/supplicant-manager/nm-supplicant-config.c
2982 (ADD_STRING_LIST_VAL): Fix a memory leak.
2984 * src/nm-manager.c (free_get_settings_info): Free the allocated
2986 (list_connections_cb): Free data returned from dbus method call.
2987 (system_settings_get_unmanaged_devices_cb): Ditto.
2989 * src/nm-device-802-11-wireless.c (device_cleanup): Free ssid.
2991 * system-settings/plugins/ifcfg-suse/shvar.c (svCloseFile):
2992 * system-settings/plugins/ifcfg-fedora/shvar.c (svCloseFile):
2993 * src/backends/shvar.c (svCloseFile): Free the duplicated content
2996 * libnm-util/nm-setting.c (nm_setting_from_hash): Free the constructor
2997 arguments after the object is created.
2999 2008-06-04 Dan Williams <dcbw@redhat.com>
3001 * libnm-util/Makefile.am
3002 - Don't distribute nm-param-spec-specialized.h
3004 2008-06-02 Tambet Ingo <tambet@gmail.com>
3006 * libnm-util/nm-setting-ip4-config.[ch]: Add static routes property.
3008 * src/nm-ip4-config.[ch]: Store the static routes as a list of
3009 NMIP4Address, update the getters and setters.
3011 * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
3012 Use the updated NMIP4Config routes api.
3014 * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Merge
3015 static routes as well.
3017 * src/NetworkManagerSystem.c (netmask_to_prefix): Implement.
3018 (nm_system_device_set_from_ip4_config): Use the updated NMIP4Config
3021 2008-05-30 Dan Williams <dcbw@redhat.com>
3023 * src/named-manager/nm-named-manager.c
3024 src/named-manager/nm-named-manager.h
3025 - Remove stale/obsolete bits for controlling bind over DBus
3027 2008-05-29 Dan Williams <dcbw@redhat.com>
3029 * src/dnsmasq-manager/nm-dnsmasq-manager.c
3030 src/dnsmasq-manager/nm-dnsmasq-manager.h
3031 - (nm_dnsmasq_manager_new): move iface argument here
3032 - (constructor): remove, not needed
3033 - (get_pidfile_for_iface, create_dm_cmd_line, kill_existing_for_iface,
3034 nm_dnsmasq_manager_start, nm_dnsmasq_manager_stop): use priv->pidfile
3037 - (real_act_stage4_get_ip4_config,
3038 nm_device_activate_stage5_ip_config_commit): fix for dnsmasq manager
3041 2008-05-29 Dan Williams <dcbw@redhat.com>
3044 - (dnsmasq_state_changed_cb): new function; fail the connection if
3045 something happens to dnsmasq
3046 - (nm_device_new_ip4_shared_config): new function; create a new
3047 ip4-config for shared connections. Shared connections always use a
3048 fixed static IP address.
3049 - (real_act_stage4_get_ip4_config): handle shared connections; fix
3050 autoip connections by actually using the returned ip4-config and
3052 - (nm_device_activate_stage5_ip_config_commit): start dnsmasq for shared
3054 - (nm_device_deactivate_quickly, nm_device_dispose): terminate dnsmasq
3057 2008-05-29 Dan Williams <dcbw@redhat.com>
3059 * src/nm-device-802-11-wireless.c
3060 - (real_get_best_auto_connection): auto-activate 'shared' method
3063 2008-05-29 Dan Williams <dcbw@redhat.com>
3065 * libnm-util/nm-setting-ip4-config.c
3066 libnm-util/nm-setting-ip4-config.h
3067 - Add a 'shared' method to indicate that this connection should be
3068 brought up with a DHCP and proxy DNS server to facilitate
3070 - (verify): 'shared' method doesn't allow DNS or searches either
3072 2008-05-29 Dan Williams <dcbw@redhat.com>
3076 src/dnsmasq-manager/Makefile.am
3077 src/dnsmasq-manager/nm-dnsmasq-manager.c
3078 src/dnsmasq-manager/nm-dnsmasq-manager.h
3079 - Add a dnsmasq daemon manager to facilitate connection sharing
3081 2008-05-29 Dan Williams <dcbw@redhat.com>
3083 * src/nm-device-private.h
3084 - Remove unused prototypes and clean up
3087 - Remove anything related to system_config_data, which is no longer used
3088 - (nm_device_new_ip4_autoip_config): make static
3090 2008-05-29 Tambet Ingo <tambet@gmail.com>
3092 * system-settings/plugins/ifcfg-suse/nm-suse-connection.c
3093 (file_changed): Fix a bug where suse system settings plugin didn't
3094 update the connections automatically when the files changed.
3096 2008-05-28 Dan Williams <dcbw@redhat.com>
3098 Revert r3697 (adhoc-create property patch); it's the wrong way to do this.
3100 2008-05-28 Dan Williams <dcbw@redhat.com>
3102 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3104 * src/NetworkManagerSystem.c
3105 - (nm_system_device_flush_ip4_routes_with_iface): implement with libnl
3106 - (nm_system_vpn_device_set_from_ip4_config): don't flush routes here,
3107 was causing -EINVAL errors since the libnl code actually does flush
3108 the routes on VPN interfaces now
3110 * src/backends/NetworkManagerArch.c
3111 src/backends/NetworkManagerDebian.c
3112 src/backends/NetworkManagerFrugalware.c
3113 src/backends/NetworkManagerGeneric.c
3114 src/backends/NetworkManagerGentoo.c
3115 src/backends/NetworkManagerMandriva.c
3116 src/backends/NetworkManagerPaldo.c
3117 src/backends/NetworkManagerRedHat.c
3118 src/backends/NetworkManagerSlackware.c
3119 src/backends/NetworkManagerSuSE.c
3120 - (nm_system_device_flush_ip4_routes,
3121 nm_system_device_flush_ip4_routes_with_iface): remove
3123 2008-05-28 Dan Williams <dcbw@redhat.com>
3125 * libnm-util/nm-setting-wireless.c
3126 libnm-util/nm-setting-wireless.h
3127 - (set_property, get_property, nm_setting_wireless_class_init): add the
3128 'adhoc-create' property, which when TRUE indicates that NM should
3129 create this connection as an adhoc wifi network if it's not found
3130 as an adhoc network during scanning. Can be used to auto-create
3131 adhoc networks when used in combination with autoconnect.
3133 2008-05-28 Tambet Ingo <tambet@gmail.com>
3135 Patch from Dennis Noordsij <dennis.noordsij@helsinki.fi>.
3137 * src/nm-gsm-device.c: Don't try to reset the modem before PIN is
3138 checked, it doesn't work on some devices.
3140 2008-05-28 Tambet Ingo <tambet@gmail.com>
3142 * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Make sure
3143 pppd gets killed, if SIGTERM doesn't do it's job, SIGKILL it.
3145 * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
3146 Use inet_aton() everywhere to improve error detection.
3147 Don't fall back to 'dhcp_server_identifier' if the gateway is not
3150 2008-05-26 Tambet Ingo <tambet@gmail.com>
3152 * system-settings/plugins/ifcfg-suse/plugin.c (get_unamanged_devices_cb):
3155 2008-05-26 Tambet Ingo <tambet@gmail.com>
3157 * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_get_service): Fix a
3158 reference counting issue.
3160 2008-05-23 Dan Williams <dcbw@redhat.com>
3162 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3164 * src/backends/NetworkManagerGeneric.c
3165 - (nm_generic_enable_loopback): use libnl
3167 2008-05-23 Dan Williams <dcbw@redhat.com>
3169 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3171 * src/NetworkManagerSystem.h
3172 src/backends/NetworkManagerArch.c
3173 src/backends/NetworkManagerDebian.c
3174 src/backends/NetworkManagerFrugalware.c
3175 src/backends/NetworkManagerGentoo.c
3176 src/backends/NetworkManagerMandriva.c
3177 src/backends/NetworkManagerPaldo.c
3178 src/backends/NetworkManagerRedHat.c
3179 src/backends/NetworkManagerSlackware.c
3180 src/backends/NetworkManagerSuSE.c
3181 - (nm_system_device_has_active_routes, nm_system_flush_loopback_routes,
3182 nm_system_flush_arp_cache): remove, unused
3184 * src/backends/NetworkManagerGeneric.c
3185 src/backends/NetworkManagerGeneric.h
3186 - (nm_generic_device_has_active_routes, nm_generic_flush_loopback_routes,
3187 nm_generic_flush_arp_cache): remove, unused
3189 2008-05-23 Dan Williams <dcbw@redhat.com>
3191 * system-settings/plugins/ifcfg-fedora/reader.c
3192 - (make_ip4_setting): honor PEERDNS setting
3194 2008-05-23 Dan Williams <dcbw@redhat.com>
3196 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3198 * src/NetworkManagerSystem.c
3199 - (nm_system_device_flush_ip4_addresses_with_iface): implement with
3202 * src/backends/NetworkManagerArch.c
3203 src/backends/NetworkManagerDebian.c
3204 src/backends/NetworkManagerFrugalware.c
3205 src/backends/NetworkManagerGentoo.c
3206 src/backends/NetworkManagerMandriva.c
3207 src/backends/NetworkManagerPaldo.c
3208 src/backends/NetworkManagerRedHat.c
3209 src/backends/NetworkManagerSlackware.c
3210 src/backends/NetworkManagerSuSE.c
3211 - (nm_system_device_flush_ip4_addresses,
3212 nm_system_device_flush_ip4_addresses_with_iface): remove
3214 * src/backends/NetworkManagerGeneric.c
3215 - (nm_generic_device_flush_ip4_addresses,
3216 nm_generic_device_flush_ip4_addresses_with_iface): remove
3218 2008-05-23 Dan Williams <dcbw@redhat.com>
3220 * src/supplicant-manager/nm-supplicant-settings-verify.c
3221 - Switch 'bssid' from bytes to keyword type
3222 - (validate_type_keyword): allow NULL keyword lists
3224 * src/supplicant-manager/nm-supplicant-config.c
3225 - (nm_supplicant_config_add_setting_wireless): convert the bssid from
3226 a byte array to string form, which is what the supplicant expects
3228 2008-05-23 Tambet Ingo <tambet@gmail.com>
3230 Add a flag to NMSettingIP4Config to make it possible to ignore the DNS
3231 information received from DHCP.
3233 * libnm-util/nm-setting-ip4-config.c: Add a new membet "ignore_dhcp_dns"
3234 to make it possible to ignore the DNS information (both servers and
3235 searches) returned by DHCP server.
3237 * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Reset the
3238 name servers and searches if "ignore_dhcp_dns" is set.
3240 * src/nm-ip4-config.c (nm_ip4_config_reset_nameservers)
3241 (nm_ip4_config_reset_searches): Implement.
3243 2008-05-22 Dan Williams <dcbw@redhat.com>
3245 Remove anything mDNS related. This is better done from a distro-specific
3246 dispatcher script. Plus, any distro using avahi doesn't need to restart
3247 avahi, since avahi can handle interface changes just fine using netlink.
3250 - Remove --with-mdns-provider
3252 * src/NetworkManagerPolicy.c
3253 - (global_state_changed): don't restart the mdns provider
3255 * src/NetworkManagerSystem.h
3256 src/backends/NetworkManagerArch.c
3257 src/backends/NetworkManagerDebian.c
3258 src/backends/NetworkManagerFrugalware.c
3259 src/backends/NetworkManagerGentoo.c
3260 src/backends/NetworkManagerMandriva.c
3261 src/backends/NetworkManagerPaldo.c
3262 src/backends/NetworkManagerRedHat.c
3263 src/backends/NetworkManagerSlackware.c
3264 src/backends/NetworkManagerSuSE.c
3265 - (nm_system_restart_mdns_responder): remove
3267 * src/backends/NetworkManagerGeneric.c
3268 src/backends/NetworkManagerGeneric.h
3269 - (nm_generic_restart_mdns_responder): remove
3271 2008-05-22 Dan Williams <dcbw@redhat.com>
3274 - clean up crypto options; just use --with-crypto=nss or
3275 --with-crypto=gnutls
3277 2008-05-22 Tambet Ingo <tambet@gmail.com>
3279 * src/nm-manager.c (impl_manager_sleep): No need to schedule the sync
3280 anymore, do it right away.
3282 2008-05-22 Tambet Ingo <tambet@gmail.com>
3284 * src/nm-gsm-device.c (device_state_changed): Make sure we don't leave the
3285 serial device open when we're not connecting or connected.
3287 * src/nm-cdma-device.c (device_state_changed): Ditto.
3289 2008-05-22 Tambet Ingo <tambet@gmail.com>
3291 Don't remove all devices on waking up, sync with HAL.
3293 * src/nm-manager.c (nm_manager_udi_is_managed): Implement.
3294 (sync_devices): Implement, based on hal_manager_hal_reappeared_cb.
3295 (hal_manager_hal_reappeared_cb): Just call sync_devices.
3297 2008-05-21 Tambet Ingo <tambet@gmail.com>
3299 * src/NetworkManagerSystem.c (nm_system_device_replace_default_ip4_route):
3300 If the default gateway is unreachable, add a route to gateway and try
3303 2008-05-20 Dan Williams <dcbw@redhat.com>
3305 * system-settings/plugins/ifcfg-fedora/reader.c
3306 - (add_one_wep_key): handle ASCII WEP keys too (rh #293111)
3308 2008-05-19 Dan Williams <dcbw@redhat.com>
3310 * system-settings/plugins/ifcfg-fedora/reader.c
3311 - (make_ip4_setting): get a fallback gateway from /etc/sysconfig/network
3312 if the ifcfg doesn't specify one (rh #446527)
3314 2008-05-19 Dan Williams <dcbw@redhat.com>
3316 Make the system settings service exit when the bus goes away. Since it's
3317 a bus-activated service, it's lifetime is limited to the bus that activated
3320 * system-settings/src/Makefile.am
3321 system-settings/src/nm-system-config-hal-manager-private.h
3322 - Remove nm-system-config-hal-manager-private.h
3324 * system-settings/src/nm-system-config-hal-manager.c
3325 - (nm_system_config_hal_manager_reinit_dbus,
3326 nm_system_config_hal_manager_deinit_dbus): remove
3328 * system-settings/src/main.c
3329 - (dbus_reconnect): remove
3330 - (dbus_cleanup): don't tell the HAL manager to deinit dbus
3331 - (destroy_cb): just quit when the bus goes away
3332 - (start_dbus_service, dbus_init): simplify
3333 - (main): destroy the wired devices hash table after destroying
3334 the HAL manager so we don't have to disconnect signals from the
3337 2008-05-15 Tambet Ingo <tambet@gmail.com>
3339 Move crypto functions from nm-applet to libnm-util.
3341 * libnm-util/nm-setting-8021x.c (nm_setting_802_1x_set_ca_cert)
3342 (nm_setting_802_1x_set_client_cert)
3343 (nm_setting_802_1x_set_phase2_ca_cert)
3344 (nm_setting_802_1x_set_phase2_client_cert)
3345 (nm_setting_802_1x_set_private_key)
3346 (nm_setting_802_1x_set_phase2_private_key): Implement. Given a certificate
3347 file (or private key and it's password), read the certificate data.
3349 * libnm-util/crypto_nss.c:
3350 * libnm-util/crypto_gnutls.c:
3351 * libnm-util/crypto.[ch]: Move here from nm-applet.
3353 * configure.in: Check for NSS and gnutls here (moved here from nm-applet).
3355 * system-settings/plugins/ifcfg-suse/parser.c (read_wpa_eap_settings):
3356 Imlement WPA-EAP configuration reading from sysconfig.
3358 2008-05-16 Dan Williams <dcbw@redhat.com>
3360 * src/nm-device-802-11-wireless.c
3361 - (nm_device_802_11_wireless_set_enabled): request a scan after enabling
3364 2008-05-14 Dan Williams <dcbw@redhat.com>
3366 Fix Linus' bug in rh #134886
3368 * src/nm-device-802-3-ethernet.c
3369 - (constructor): request initial carrier state
3371 * src/nm-netlink-monitor.c
3372 - (nm_netlink_monitor_request_status): schedule emission of carrier
3373 signals after refilling the link cache. Because the refill is a
3374 synchronous operation, the normal message hander won't get called
3375 since libnl has already consumed the messages.
3376 - (deferred_emit_carrier_state): emit carrier states from an idle handler
3378 2008-05-14 Dan Williams <dcbw@redhat.com>
3380 * src/NetworkManagerSystem.c
3381 - (nm_system_device_is_up_with_iface): clean up
3383 2008-05-13 Dan Williams <dcbw@redhat.com>
3385 Fix refcounting issues over sleep/wake when a VPN connection was active that
3386 caused NM to try registering an object path for a device upon wake that was
3387 the same as an already registered object path.
3390 - (nm_device_take_down): properly handle cases where the device is
3391 no longer active but was just active, and therefore must be
3392 deactivated. When a device moves to unmanaged mode, this function
3393 previously would not deactivate the device, because the state was
3394 already unmanaged by the time this function was called.
3396 * src/vpn-manager/nm-vpn-connection.c
3397 - (device_state_changed): properly handle multiple devices states in
3398 which the device is now deactivated. Code previously didn't handle
3399 transitions to the UNAVAILABLE (like rfkill or carrier off) and
3402 2008-05-13 Dan Williams <dcbw@redhat.com>
3404 * src/nm-device-private.h
3406 - (nm_device_hw_bring_up, nm_device_hw_take_down): export
3408 * src/nm-device-802-11-wireless.c
3409 - (nm_device_802_11_wireless_set_enabled): take devices up
3410 and down as appropriate for the rfkill state
3412 2008-05-13 Dan Williams <dcbw@redhat.com>
3414 * marshallers/nm-marshal.list
3415 - Add VOID:POINTER,STRING marshaller for ifcfg-fedora plugin
3417 * system-settings/plugins/ifcfg-fedora/Makefile.am
3418 system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
3419 system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
3420 - Implement a minimal inotify helper for watch paths for IN_CLOSE_WRITE
3421 events. Solely for use watching ifcfg files to pick up changes
3422 to their hardlinks, since GIO doesn't support this yet (bgo #532815)
3424 * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
3425 - (nm_ifcfg_connection_class_init): new 'ifcfg-changed' signal when the
3426 file contents change
3427 - (finalize): clean up inotify watches
3428 - (nm_ifcfg_connection_new): store keyfile; inotify watch the keyfile
3429 and the connection ifcfg for changes on their hardlinks
3430 - (files_changed_cb): proxy the changed signal back out to listeners
3432 * system-settings/plugins/ifcfg-fedora/plugin.c
3434 - (connection_ifcfg_changed): re-read the connection when the ifcfg
3436 - (read_one_connection): connect to change signals on the new connection
3437 - (dir_changed, connection_changed_handler,
3438 handle_connection_remove_or_new): break out connection change
3439 handling and connection new/remove handling so it can be used from
3440 both the GFileMonitor callback and the NMIfcfgConnection changed
3443 * system-settings/plugins/ifcfg-fedora/reader.c
3444 system-settings/plugins/ifcfg-fedora/reader.h
3445 - (connection_from_file): return the keyfile path the connection would use
3447 2008-05-13 Tambet Ingo <tambet@gmail.com>
3449 * system-settings/src/nm-polkit-helpers.c (create_polkit_context): Use a
3450 single PolKitContext which is shared by all. PolKitContext::unref leaks
3451 just about everything, including all open file descriptiors and results
3452 in 99% cpu usage when data arrives to any of the fds that don't belong
3453 to any context anymore.
3455 2008-05-12 Dan Williams <dcbw@redhat.com>
3457 * gfilemonitor/glocaldirectorymonitor.c
3458 gfilemonitor/glocaldirectorymonitor.h
3459 - (g_local_directory_monitor_constructor): actually subscribe to the
3461 - (_g_local_directory_monitor_new): ensure that inotify is started up
3463 * gfilemonitor/glocalfilemonitor.c
3464 gfilemonitor/glocalfilemonitor.h
3465 - (g_local_file_monitor_constructor): actually subscribe to the watch
3466 - (_g_local_file_monitor_new): ensure that inotify is started up
3468 2008-05-11 Dan Williams <dcbw@redhat.com>
3471 - record PolicyKit version
3473 * system-settings/src/nm-polkit-helpers.c
3474 - (check_polkit_privileges): use polkit_context_can_caller_do_action()
3475 with PolicyKit <= 0.6
3477 2008-05-11 Dan Williams <dcbw@redhat.com>
3479 Update Fedora system-settings plugin to support latest API and use
3480 GFileMonitor rather than home-rolled inotify code.
3482 * system-settings/plugins/ifcfg-fedora/Makefile.am
3483 system-settings/plugins/ifcfg-fedora/common.h
3484 system-settings/plugins/ifcfg-fedora/plugin.c
3485 - Update to latest system settings plugin API; use GIO instead of
3486 custom inotify code; use NMIfcfgConnection objects instead of
3487 ConnectionData structures tacked onto NMConnection objects
3489 * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
3490 system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.h
3491 - Implement an NMExportedConnection subclass mapping ifcfg files to
3494 * system-settings/plugins/ifcfg-fedora/reader.c
3495 system-settings/plugins/ifcfg-fedora/reader.h
3496 - Move ifcfg parsing bits here from parser.c
3498 * system-settings/plugins/ifcfg-fedora/parser.c
3499 system-settings/plugins/ifcfg-fedora/parser.h
3500 - Remove; most code moved to reader.c
3502 2008-05-11 Dan Williams <dcbw@redhat.com>
3507 - Add a private copy of the GIO GFileMonitor code, with a custom GFile
3508 implementation, so that the same change monitoring code can be used
3509 on systems without glib-2.14 (like Fedora 8)
3511 * system-settings/plugins/keyfile/Makefile.am
3512 system-settings/plugins/keyfile/plugin.c
3513 system-settings/plugins/ifcfg-suse/Makefile.am
3514 system-settings/plugins/ifcfg-suse/plugin.c
3515 - Use private gfilemonitor code if GIO is not present
3517 2008-05-09 Tambet Ingo <tambet@gmail.com>
3519 * system-settings/plugins/ifcfg-suse/nm-suse-connection.c: Implement
3520 NMExportedConnection's 'update' and 'delete' and return error with
3521 descriptive message.
3523 2008-05-08 Dan Williams <dcbw@redhat.com>
3525 Patch from Markus Becker <mab@comnets.uni-bremen.de>
3527 * src/nm-gsm-device.c
3528 src/nm-cdma-device.c
3529 - (real_get_best_auto_connection): implement; allow autoconnection
3530 to GSM & CDMA devices
3532 2008-05-08 Tambet Ingo <tambet@gmail.com>
3534 Use PolicyKit to authorize the system settings' AddConnection method
3535 and the system settings connections' Update and Delete methods.
3537 * libnm-glib/nm-settings.c (impl_exported_connection_update)
3538 (impl_exported_connection_delete, nm_exported_connection_update)
3539 (nm_exported_connection_delete): Return boolean and fill GError
3540 to notify the callers of the reasons why it might have failed.
3542 * libnm-glib/nm-dbus-settings-system.c
3543 (nm_dbus_settings_system_add_connection): Return the error from dbus
3544 call so that the callers can see why it failed.
3546 * libnm-glib/nm-dbus-connection.c (update, delete): Update the
3549 * system-settings/src/nm-polkit-helpers.[ch]: Implement.
3551 * system-settings/src/nm-sysconfig-connection.[ch]: Implement. New
3552 abstract base class that checks PolicyKit permissions.
3554 * system-settings/src/dbus-settings.c:
3555 (impl_settings_add_connection): Check the policy before carring out
3558 * system-settings/plugins/keyfile/nm-keyfile-connection.c:
3559 Inherit from NMSysconfigConnection, check the policies before
3560 allowing updating or removing.
3562 * system-settings/plugins/ifcfg-suse/nm-suse-connection.c:
3563 Inherit from NMSysconfigConnection.
3565 * introspection/nm-exported-connection.xml: Annotate "Update" and
3566 "Delete" methods with async flag so that the implementations can get
3567 access to DBusGMethodInvocation.
3569 * system-settings/src/dbus-settings.c
3570 (settings_add_connection_check_privileges): Implement.
3571 (impl_settings_add_connection): Check the privileges before adding a new
3572 connection. Improve error reporting.
3574 * introspection/nm-settings-system.xml: Make the 'AddConnection' method
3575 async so that the implementation can access DBusGMethodInvocation.
3577 * configure.in: Check for PolicyKit.
3579 * policy/org.freedesktop.network-manager-settings.system.policy:
3582 * policy/Makefile.am: Install the policy file.
3584 * configure.in: Add 'policy' subdir.
3586 2008-05-08 Tambet Ingo <tambet@gmail.com>
3588 Rewrite the suse system settings plugin.
3590 * system-settings/plugins/ifcfg-suse/plugin.c: Rewrite.
3592 * system-settings/plugins/ifcfg-suse/parser.c: Rewrite.
3594 * system-settings/plugins/ifcfg-suse/nm-suse-connection.[ch]: Implement.
3596 * system-settings/plugins/ifcfg-suse/Makefile.am: Add new files to build.
3598 * system-settings/src/dbus-settings.c: Fix connection reference counting.
3600 * system-settings/src/main.c (load_plugins): Improve error reporting.
3602 * system-settings/src/sha1.[ch] Add.
3604 * system-settings/src/Makefile.am: Add sha1[ch] to build.
3606 2008-05-07 Dan Williams <dcbw@redhat.com>
3608 * system-settings/plugins/keyfile/reader.c
3609 - (read_one_setting_value): handle IP address items separately
3610 - (read_array_of_uint): read IPv4 DNS option as a string array
3611 - (read_array_of_array_of_uint): read IPv4 address tuples as a string
3614 * system-settings/plugins/keyfile/writer.c
3615 - (write_setting_value): handle IP address items separately
3616 - (write_array_of_uint): handle IPv4 DNS option as a string array,
3617 not an array of uint, so that it's user-editable
3618 - (write_array_of_array_of_uint): handle IPv4 address tuples as string
3619 arrays, so they are user-editable
3621 2008-05-07 Dan Williams <dcbw@redhat.com>
3623 * system-settings/plugins/keyfile/Makefile.am
3624 - Change location of the keyfile plugin settings to
3625 /etc/NetworkManager/system-connections
3627 2008-05-05 Tambet Ingo <tambet@gmail.com>
3629 * system-settings/plugins/keyfile/nm-keyfile-connection.[ch]: Implement.
3631 * system-settings/plugins/keyfile/plugin.c: Work with
3632 NMKeyfileConnections.
3634 * system-settings/src/dbus-settings.c: Remove NMSysconfigExportedConnection.
3635 Plugins are supposed to return NMExportedConnections now and handle the
3636 updated(), removed(), and GetSecrets().
3637 Store the internal list of connections in hash table to make it easier
3640 2008-05-07 Tambet Ingo <tambet@gmail.com>
3642 * src/backends/NetworkManagerSuSE.c (nm_system_set_hostname): Update
3643 for multiple IP addresses.
3645 2008-05-07 Tambet Ingo <tambet@gmail.com>
3647 Patch from André Lemos.
3649 * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Fix a memory
3652 2008-05-06 Dan Williams <dcbw@redhat.com>
3654 * src/dhcp-manager/nm-dhcp-manager.c
3655 - (nm_dhcp_manager_get_ip4_config): clean up; update for changes to
3656 NMIP4Config to support multiple IP addresses
3658 * src/NetworkManagerUtils.c
3659 - (nm_utils_merge_ip4_config): update for multiple IP addresses
3661 * src/nm-ip4-config.c
3663 - Store a list of IPv4 address/netmask/gateway tuples
3664 - (nm_ip4_config_get_gateway, nm_ip4_config_set_gateway,
3665 nm_ip4_config_get_netmask, nm_ip4_config_set_netmask,
3666 nm_ip4_config_get_broadcast, nm_ip4_config_set_broadcast,
3667 nm_ip4_config_set_address): remove
3668 - (nm_ip4_config_take_address, nm_ip4_config_add_address,
3669 nm_ip4_config_replace_address, nm_ip4_config_get_num_addresses):
3670 new functions; handle multiple IPv4 addresses
3673 src/ppp-manager/nm-ppp-manager.c
3674 src/vpn-manager/nm-vpn-connection.c
3675 src/NetworkManagerPolicy.c
3677 libnm-glib/libnm-glib-test.c
3678 - update for changes to NMIP4Config for multiple IPv4 addresses
3680 * src/NetworkManagerSystem.c
3681 - (nm_system_device_set_ip4_route): don't add the route if any address
3682 is on the same subnet as the destination
3683 - (check_one_address): ignore the exact match, just match family and
3685 - (add_ip4_addresses): add all IPv4 addresses in an NMIP4Config to
3687 - (nm_system_device_set_from_ip4_config): use add_ip4_addresses()
3688 - (nm_system_vpn_device_set_from_ip4_config): use add_ip4_addresses()
3690 * introspection/nm-ip4-config.xml
3691 - Remove 'address', 'gateway', 'netmask', and 'broadcast' properties
3692 - Add 'addresses' property which is an array of (uuu) tuples of
3693 address/netmask/gateway
3695 * libnm-util/nm-setting-ip4-config.c
3696 - (set_property): use ip-address <-> GValue converters from nm-utils.c
3698 * libnm-glib/nm-ip4-config.c
3699 libnm-glib/nm-ip4-config.h
3700 - Handle D-Bus interface changes to support multiple IP addresses
3702 2008-05-06 Dan Williams <dcbw@redhat.com>
3704 * libnm-util/nm-utils.c
3705 libnm-util/nm-utils.h
3706 - (nm_utils_ip4_addresses_from_gvalue,
3707 nm_utils_ip4_addresses_to_gvalue): new functions
3709 2008-05-06 Tambet Ingo <tambet@gmail.com>
3711 * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Don't leak
3712 the returned connection paths.
3714 2008-05-05 Tambet Ingo <tambet@gmail.com>
3716 * libnm-glib/nm-dbus-settings.c (constructor): Fix the
3717 "PropertiesChanged" signal signature.
3719 * libnm-glib/nm-dbus-connection.c (constructor): Use the common GType
3720 defined in nm-dbus-glib-types.h.
3721 Don't register the connection on dbus, we're a proxy class to
3722 communicate with an already registered connection over dbus.
3724 2008-04-30 Tambet Ingo <tambet@gmail.com>
3726 Implement new subclasses of NMSettings and NMExportedConnection to make
3727 it easier for the applet to access and modify system settings.
3729 * libnm-glib/nm-dbus-connection.[ch]:
3730 * libnm-glib/nm-dbus-settings.[ch]:
3731 * libnm-glib/nm-dbus-settings-system.[ch]: Implement.
3733 * libnm-glib/Makefile.am: Add the new files to build, generate some more
3736 * include/NetworkManager.h: Define the system settings DBus interface.
3738 2008-04-30 Tambet Ingo <tambet@gmail.com>
3740 Implement additional C API for exported connections to make them identical
3741 with the DBus API. Change the (list_connections) virtual function to be
3742 more usable from C - instead of requiring implementers to return a GPtrArray
3743 of dbus paths, return a list of connections.
3745 * libnm-glib/nm-settings.c (nm_exported_connection_class_init): Fix a typo.
3746 (nm_settings_list_connections):
3747 (nm_exported_connection_new):
3748 (nm_exported_connection_update):
3749 (nm_exported_connection_delete): Implement.
3751 (impl_settings_list_connections):
3752 (impl_exported_connection_update):
3753 (impl_exported_connection_delete): Use the new public functions to make
3754 sure the C and dbus interfaces stay in sync.
3756 * system-settings/src/dbus-settings.c (list_connections): Return a list of
3759 2008-05-02 Dan Williams <dcbw@redhat.com>
3761 * system-settings/plugins/ifcfg-fedora/plugin.c
3762 - (dispose): use right unref call on the DBusGConnection
3764 2008-05-02 Dan Williams <dcbw@redhat.com>
3766 * src/nm-serial-device.c
3767 - (find_terminator): don't compare the whole line, just the size of the
3768 terminator, since some modems put stuff after the terminator, like
3771 2008-05-01 Dan Williams <dcbw@redhat.com>
3773 Patch from Michael Biebl <biebl@debian.org>
3775 * callouts/Makefile.am
3776 callouts/org.freedesktop.nm_dispatcher.service.in
3777 system-settings/src/Makefile.am
3778 system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service.in
3779 - use the right install location for dbus-activated stuff
3781 2008-04-30 Dan Williams <dcbw@redhat.com>
3783 * src/nm-gsm-device.c
3784 - (enter_pin): fix setting name passed to applets when asking for a GSM
3787 2008-04-30 Dan Williams <dcbw@redhat.com>
3790 - (nm_manager_error_get_type): remove erroneous NULL enum from table
3792 2008-04-30 Dan Williams <dcbw@redhat.com>
3794 * src/nm-device-802-3-ethernet.c
3795 src/nm-device-802-11-wireless.c
3796 - (real_is_up): return true instead of chaining up to unimplemented
3799 2008-04-30 Dan Williams <dcbw@redhat.com>
3801 * src/NetworkManagerSystem.c
3802 src/NetworkManagerSystem.h
3803 - (nm_system_device_is_up, nm_system_device_is_up_with_iface): new
3804 functions to check device flags for IFF_UP
3806 * src/nm-serial-device.c
3807 - (real_is_up): remove; NMDevice now returns TRUE if the subclass doesn't
3810 * src/nm-device-802-3-ethernet.c
3811 src/nm-device-802-11-wireless.c
3812 - (real_hw_is_up): call nm_system_device_is_up()
3815 - (real_hw_is_up): move to nm_system_device_is_up_with_iface()
3816 - (real_is_up): remove; nm_device_is_up() returns TRUE if subclass
3819 2008-04-29 Dan Williams <dcbw@redhat.com>
3821 Handle HAL dropouts better; allow NM to start up even if HAL isn't up yet.
3823 * marshallers/nm-marshal.list
3826 * src/NetworkManager.c
3827 - (main): let the NMManager handle the NMHalManager
3829 * src/nm-hal-manager.c
3830 src/nm-hal-manager.h
3831 - convert to a GObject, and emit singals when stuff changes. Let the
3832 NMManager handle the signals, instead of the NMHalManager calling
3837 - (remove_one_device): consolidate device removals here
3838 - (dispose): use remove_one_device()
3839 - (nm_manager_get_device_by_udi): make static
3840 - (deferred_hal_manager_query_devices): idle handler to query the HAL
3841 manager for devices at startup or wakeup time
3842 - (nm_manager_new): create and monitor the HAL manager
3843 - (hal_manager_udi_added_cb): new function; do what
3844 nm_manager_add_device() used to do when signalled by the hal manager
3845 - (hal_manager_udi_removed_cb): new function; do what
3846 nm_manager_remove_device() used to do when signalled by the hal
3848 - (hal_manager_rfkill_changed_cb): handle rfkill changes from the
3850 - (hal_manager_hal_reappeared_cb): when HAL comes back, remove devices
3851 in our device list that aren't known to HAL
3852 - (impl_manager_sleep): on wakeup, re-add devices from an idle handler;
3853 see comments on nm-hal-manager.c::nm_manager_state_changed() a few
3855 - (nm_manager_get_device_by_path, nm_manager_is_udi_managed,
3856 nm_manager_activation_pending, nm_manager_wireless_enabled,
3857 nm_manager_wireless_hardware_enabled,
3858 nm_manager_set_wireless_hardware_enabled): remove, unused
3860 2008-04-28 Dan Williams <dcbw@redhat.com>
3862 Fix the device up/down ambiguities. Up/down state used to be a
3863 conglomeration of hardware state (IFF_UP) and any device-specific things
3864 (supplicant, periodic timers, etc) that the device used to indicate
3865 readiness. Unfortunately, if the hardware was already IFF_UP for some
3866 reason, then the device specific stuff wouldn't get run, and the device
3871 - Create hw_is_up, hw_bring_up, and hw_take_down
3872 - Rename bring_down -> take_down
3873 - (real_hw_is_up): check interface flags for IFF_UP
3874 - (nm_device_hw_is_up): let subclasses figure out their own HW state
3875 - (nm_device_is_up): make static; only used locally
3876 - (nm_device_hw_bring_up): update the hardware and IPv4 addresses even
3877 if the device is already up; if the device isn't up, bring it up
3878 - (nm_device_hw_take_down): just take down hardware
3879 - (nm_device_bring_up): bring up HW first, then device specific stuff
3880 - (nm_device_take_down): always deactivate device when called; always
3881 try to take hardware down too
3882 - (nm_device_state_changed): take device down when entering unmanaged
3883 state from a higher state
3885 * src/nm-device-802-11-wireless.c
3886 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
3888 - (real_take_down, supplicant_iface_state_cb_handler,
3889 supplicant_iface_connection_state_cb_handler,
3890 supplicant_mgr_state_cb_handler): fix some messages
3892 * src/nm-device-802-3-ethernet.c
3893 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
3896 2008-04-28 Dan Williams <dcbw@redhat.com>
3900 - (nm_manager_error_get_type): add new error
3901 - (nm_manager_remove_device): don't bother taking down the device here,
3902 the state change from unmanaging the device will do it
3903 - (impl_manager_sleep): move nm_manager_sleep() here since nothing else
3904 uses it; when going to sleep, just unmanage the device instead of
3905 taking it down, because stuff will cleaned up correctly when the
3906 device gets unmanaged
3908 2008-04-28 Dan Williams <dcbw@redhat.com>
3910 * src/nm-hal-manager.c
3911 - (add_initial_devices): convert to a GSourceFunc prototype
3912 - (nm_manager_state_changed): when coming out of sleep, punt the
3913 device re-addition to an idle handler to let D-Bus events go out
3914 first, fixing a potential dbus-glib assert if the old device was
3915 not yet disposed (due to references held while emitting the D-Bus
3916 signals) but the new device was found, because the mainloop didn't
3917 run between signal emission and add_initial_devices()
3919 2008-04-27 Dan Williams <dcbw@redhat.com>
3921 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3923 * initscript/paldo/NetworkManager.in
3924 initscript/SUSE/networkmanager.in
3925 - Remove last bits of dhcdbd
3927 2008-04-27 Dan Williams <dcbw@redhat.com>
3929 * src/nm-device-802-11-wireless.c
3930 - (link_timeout_cb): don't ask for secrets when disconnected during
3931 association/authentication phase, drivers are still just too crappy
3933 2008-04-27 Dan Williams <dcbw@redhat.com>
3937 dispatcher-daemon/Makefile.am
3938 dispatcher-daemon/NetworkManagerDispatcher.c
3939 initscript/Arch/Makefile.am
3940 initscript/Arch/networkmanager-dispatcher.in
3941 initscript/Gentoo/Makefile.am
3942 initscript/Gentoo/NetworkManagerDispatcher.in
3943 initscript/Mandriva/Makefile.am
3944 initscript/Mandriva/networkmanagerdispatcher.in
3945 initscript/RedHat/Makefile.am
3946 initscript/RedHat/NetworkManagerDispatcher.in
3947 initscript/SUSE/Makefile.am
3948 initscript/SUSE/networkmanager-dispatcher.in
3949 initscript/Slackware/Makefile.am
3950 initscript/Slackware/rc.networkmanager-dispatcher.in
3951 initscript/paldo/Makefile.am
3952 initscript/paldo/NetworkManagerDispatcher.in
3954 man/NetworkManagerDispatcher.8.in
3955 - Remove the dispatcher daemon
3957 2008-04-27 Dan Williams <dcbw@redhat.com>
3959 * callouts/Makefile.am
3960 callouts/nm-dispatcher-action.c
3961 callouts/nm-dispatcher-action.h
3962 callouts/nm-dispatcher.conf
3963 callouts/nm-dispatcher.xml
3964 callouts/org.freedesktop.nm_dispatcher.service
3965 - Re-implement the dispatcher as a system-bus activated service that
3966 NM calls on-demand, rather than an always running daemon
3969 - Add callouts dir to includes to pick up dispatcher defines
3972 - (nm_device_state_changed): call dispatcher on device activated/
3975 * src/vpn-manager/nm-vpn-connection.c
3976 - (nm_vpn_connection_set_vpn_state): call dispatcher when VPN connections
3979 * src/NetworkManagerUtils.c
3980 src/NetworkManagerUtils.h
3981 - (nm_utils_call_dispatcher): helper to call dispatcher
3983 2008-04-27 Dan Williams <dcbw@redhat.com>
3985 * src/NetworkManagerUtils.c
3986 src/NetworkManagerUtils.h
3987 - remove unneeded includes
3988 - (nm_null_safe_strcmp, nm_ethernet_addresses_are_equal,
3989 nm_utils_inet_ip4_address_as_string, nm_timeval_has_passed,
3990 nm_timeval_cmp, nm_timeval_add): remove, unused
3991 - clean up formatting
3992 - (nm_spawn_process): de-uglify
3994 * src/nm-device-802-11-wireless.c
3995 - (get_active_ap): use memcmp() not nm_ethernet_addresses_are_equal()
3997 2008-04-26 Saleem Abdulrasool <compnerd@compnerd.org>
3999 * initscript/Gentoo/NetworkManager.in:
4000 Fix for starting the daemon.
4002 2008-04-25 Dan Williams <dcbw@redhat.com>
4004 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
4006 * src/NetworkManagerSystem.c
4007 - (nm_system_device_set_ip4_route): reimplement using libnl, not ioctls
4009 2008-04-25 Dan Williams <dcbw@redhat.com>
4011 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
4013 * src/NetworkManagerSystem.c
4014 - (nm_system_device_replace_default_ip4_route): new function; a libnl
4015 implementation of nm_system_device_replace_default_route()
4017 * src/NetworkManagerPolicy.c
4018 - (update_default_route): use nm_system_device_replace_default_ip4_route()
4020 * src/backends/NetworkManagerArch.c
4021 src/backends/NetworkManagerDebian.c
4022 src/backends/NetworkManagerFrugalware.c
4023 src/backends/NetworkManagerGeneric.c
4024 src/backends/NetworkManagerGeneric.h
4025 src/backends/NetworkManagerGentoo.c
4026 src/backends/NetworkManagerMandriva.c
4027 src/backends/NetworkManagerPaldo.c
4028 src/backends/NetworkManagerRedHat.c
4029 src/backends/NetworkManagerSlackware.c
4030 src/backends/NetworkManagerSuSE.c
4031 - (nm_system_device_replace_default_route): remove
4033 2008-04-25 Dan Williams <dcbw@redhat.com>
4035 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
4037 * src/NetworkManagerSystem.c
4038 - (validate_ip4_route): remove; use nl_addr_parse() instead
4039 - (nm_system_device_add_ip4_route_via_device_with_iface): new function,
4040 replace nm_system_device_add_route_via_device_with_iface() in the
4043 * src/backends/NetworkManagerArch.c
4044 src/backends/NetworkManagerDebian.c
4045 src/backends/NetworkManagerFrugalware.c
4046 src/backends/NetworkManagerGeneric.c
4047 src/backends/NetworkManagerGeneric.h
4048 src/backends/NetworkManagerGentoo.c
4049 src/backends/NetworkManagerMandriva.c
4050 src/backends/NetworkManagerPaldo.c
4051 src/backends/NetworkManagerRedHat.c
4052 src/backends/NetworkManagerSlackware.c
4053 src/backends/NetworkManagerSuSE.c
4054 - Remove nm_system_device_add_route_via_device_with_iface()
4056 2008-04-25 Dan Williams <dcbw@redhat.com>
4058 * system-settings/plugins/ifcfg-fedora/parser.c
4059 - (GET_ONE_DNS): fix parsing of DNS2 & DNS3
4061 2008-04-24 Dan Williams <dcbw@redhat.com>
4063 * dispatcher-daemon/NetworkManagerDispatcher.c
4064 - (nmd_execute_scripts): execute scripts in order as sorted by strcmp()
4066 2008-04-24 Dan Williams <dcbw@redhat.com>
4068 * initscript/RedHat/NetworkManager.in
4069 initscript/RedHat/NetworkManagerDispatcher.in
4070 - Be active at runlevel 2
4071 - Adjust priorities earlier
4073 2008-04-22 Dan Williams <dcbw@redhat.com>
4075 * src/NetworkManagerPolicy.c
4076 - (update_routing_and_dns): when checking for a gateway, look at the
4077 composite IP4 config, not the connection's ip4-config setting, which
4078 doesn't include DHCP-returned information
4080 2008-04-22 Tambet Ingo <tambet@gmail.com>
4082 Implement GKeyFile system settings plugin.
4083 Implement writing system settings (currently supported only by GKeyFile plugin).
4085 * system-settings/src/main.c:
4086 * system-settings/src/dbus-settings.c: Move the communication with plugins
4087 from main.c to dbus-settings.c. Makes it possible to talk to all registered
4088 plugins for adding/updating/removing connections.
4090 * system-settings/src/nm-system-config-interface.c
4091 (nm_system_config_interface_add_connection): Implement
4092 (nm_system_config_interface_update_connection): Implement.
4093 (nm_system_config_interface_remove_connection): Implement.
4095 * system-settings/plugins/keyfile/Makefile.am:
4096 * system-settings/plugins/keyfile/plugin.[ch]:
4097 * system-settings/plugins/keyfile/writer.[ch]:
4098 * system-settings/plugins/keyfile/reader.[ch]: Implement.
4100 * system-settings/plugins/Makefile.am: Add GKeyFile plugin.
4102 * configure.in: Generate GKeyFile Makefile.
4104 * libnm-glib/nm-settings.c (impl_exported_connection_get_id): Fix a memory
4105 corruption, need to duplicate the returned string.
4106 (impl_exported_connection_update): Implement.
4107 (impl_exported_connection_delete): Implement.
4109 * introspection/nm-settings-system.xml: Add "AddConnection" method.
4111 * introspection/nm-exported-connection.xml: Add "Update" and "Delete" methods.
4113 2008-04-22 Dan Williams <dcbw@redhat.com>
4115 Patch from Charles R. Anderson (cra@wpi.edu)
4117 * src/NetworkManagerPolicy.c
4118 - (update_routing_and_dns): don't select devices without a gateway
4119 as having the default route (rh #437338)
4121 2008-04-21 Dan Williams <dcbw@redhat.com>
4123 * src/nm-activation-request.c
4124 src/nm-activation-request.h
4125 - (dispose): ensure to disconnect from the device's state-changed signal
4126 when appropriate so the signal doesn't get handled by an already
4127 disposed NMActRequest
4128 - (device_state_changed): update is_default here too just to make sure
4129 default is only True when the child device is activated
4130 - (nm_act_request_set_default): new function
4132 * src/NetworkManagerPolicy.c
4133 - (update_routing_and_dns): set 'default' on the active connection which
4134 has the default route and DNS
4136 2008-04-21 Dan Williams <dcbw@redhat.com>
4138 * src/NetworkManagerPolicy.c
4139 - (device_state_changed): update routing and DNS when a device goes
4140 into unmanaged or unavailable states too (like rfkill or carrier loss)
4142 2008-04-21 Dan Williams <dcbw@redhat.com>
4144 * include/NetworkManager.h
4145 - Add NMActiveConnectionState enum
4147 * introspection/nm-active-connection.xml
4148 introspection/nm-vpn-connection.xml
4149 - Add 'State' property for overall active connection state
4150 - Add 'Default' property, when True means this active connection
4151 has the default route
4152 - Add PropertyChanged signals so changes actually go out over the bus
4154 * src/nm-active-connection.h
4155 - Add defines for State & Default properties
4157 * src/nm-activation-request.c
4158 - Add 'state' and 'default' properties, hook up to device 'state-changed'
4159 signal to determine active connection state
4161 * src/vpn-manager/nm-vpn-connection.c
4162 src/vpn-manager/nm-vpn-connection.h
4163 src/vpn-manager/nm-vpn-manager.c
4164 src/vpn-manager/nm-vpn-service.c
4165 - Rename old 'state' to 'vpn-state'
4166 - Rename nm_vpn_connection_get_state() -> nm_vpn_connection_get_vpn_state()
4167 - Add 'state' and 'default' properties, hook up to the vpn connection's
4168 'vpn-state-changed' signal
4170 * libnm-glib/nm-active-connection.c
4171 libnm-glib/nm-active-connection.h
4172 - Add new 'state' and 'default' properties and accessors
4174 * libnm-glib/nm-vpn-connection.c
4175 libnm-glib/nm-vpn-connection.h
4176 - Rename old 'state' property to 'vpn-state'
4177 - Add new 'state' and 'default' properties and accessors
4179 2008-04-21 Dan Williams <dcbw@redhat.com>
4181 * src/nm-ip4-config.c
4182 - (nm_ip4_config_to_rtnl_addr): fill in the broadcast address if it's
4183 not specified (rh #443474)
4185 2008-04-20 Dan Williams <dcbw@redhat.com>
4187 * src/NetworkManagerUtils.c
4188 src/NetworkManagerUtils.h
4189 - (nm_utils_merge_ip4_config): new function; merge settings from an
4190 NMSettingIP4Config to an NMIP4Config object
4193 - (merge_ip4_config): move to NetworkManagerUtils.c
4195 * src/vpn-manager/nm-vpn-connection.c
4196 - (nm_vpn_connection_ip4_config_get): merge in user-specified settings
4199 2008-04-18 Dan Williams <dcbw@redhat.com>
4201 * libnm-util/nm-setting-ppp.c
4202 libnm-util/nm-setting-ppp.h
4203 - Add 'no-vj-comp' option for TCP header compression
4204 - baud, mru, mtu, lcp_echo_failure, and lcp_echo_interval are really
4207 2008-04-18 Dan Williams <dcbw@redhat.com>
4209 * libnm-util/nm-setting-ppp.c
4210 libnm-util/nm-setting-ppp.h
4211 src/ppp-manager/nm-ppp-manager.c
4212 - Add 'refuse-pap' and 'refuse-mschapv2' options
4214 2008-04-18 Dan Williams <dcbw@redhat.com>
4216 * libnm-util/nm-setting-ppp.c
4217 libnm-util/nm-setting-ppp.h
4218 src/ppp-manager/nm-ppp-manager.c
4219 - Remove the 'usepeerdns' option and always request DNS servers from
4220 the PPP server; the connection chooses to use/override/ignore the
4221 DNS servers returned from the PPP server
4223 2008-04-18 Dan Williams <dcbw@redhat.com>
4225 * libnm-util/nm-setting-ppp.c
4226 libnm-util/nm-setting-ppp.h
4227 src/ppp-manager/nm-ppp-manager.c
4228 - Remove the 'require-mppc' option, because pppd doesn't support it and
4229 it seems to have been an erroneous addition to the PPTP plugin in
4230 the first place (from which the ppp-manager is derived)
4232 2008-04-17 Dan Williams <dcbw@redhat.com>
4234 * libnm-util/nm-setting-pppoe.c
4235 - (verify): require a PPP setting too
4237 * src/ppp-manager/nm-ppp-manager.c
4238 - (nm_ppp_manager_start): fail if no PPP setting is present instead of
4241 2008-04-17 Dan Williams <dcbw@redhat.com>
4244 - (nm_device_state_changed): do deactivation and and promotion to
4245 unavailable here, so that the device gets cleaned up before the
4246 manager runs and starts emitting signals; do the
4247 FAILED->DISCONNECTED transition from an idle handler rather than
4248 immediately to guard against recursion
4249 - (nm_device_deactivate_quickly, nm_device_dispose): stop the
4250 FAILED->DISCONNECTED handler if it's scheduled
4252 2008-04-17 Dan Williams <dcbw@redhat.com>
4254 * src/nm-device-802-11-wireless.c
4255 - (state_changed_cb): clear AP list when device transitions to
4256 unavailable or unmanaged
4257 - (nm_device_802_11_wireless_dispose): remove redundant set_current_ap()
4258 since this is already done in device_cleanup()
4259 - (supplicant_iface_scanned_ap_cb): don't leak new APs when the device
4260 isn't available or managed
4261 - (device_cleanup): use remove_all_aps()
4262 - (remove_all_aps): consolidate code removing all APs
4264 2008-04-17 Dan Williams <dcbw@redhat.com>
4266 * src/nm-serial-device.c
4267 src/nm-serial-device.h
4268 - (wait_for_reply_got_data): break input into lines, and search each
4269 line for responses _and_ terminator strings; also make sure that
4270 the read loop doesn't continue after the timeout is supposed to fire
4271 - (nm_serial_device_wait_for_reply): take an array of terminators too
4273 * src/nm-gsm-device.c
4274 src/nm-cdma-device.c
4275 - Send terminators to nm_serial_device_wait_for_reply()
4277 2008-04-16 Dan Williams <dcbw@redhat.com>
4279 Patch from 陈鑫 <znscnchen@gmail.com>
4281 * src/ppp-manager/nm-pppd-plugin.c
4282 - (get_credentials): return correct value for success; handle case where
4283 pppd just does some checking but doesn't want a password
4284 - (plugin_init): make CHAP work too
4286 2008-04-16 Dan Williams <dcbw@redhat.com>
4288 Patch from 陈鑫 <znscnchen@gmail.com>
4290 * src/ppp-manager/nm-ppp-manager.c
4291 - (create_pppd_cmd_line): fix argument generation when spawning pppd
4293 2008-04-16 Dan Williams <dcbw@redhat.com>
4295 Patch from 陈鑫 <znscnchen@gmail.com>
4297 * src/nm-device-802-3-ethernet.c
4298 - (real_deactivate_quickly): clear the IP interface name on
4299 deactivation, otherwise the wrong interface might get used later
4300 for routing and IP management
4302 2008-04-15 Dan Williams <dcbw@redhat.com>
4304 * libnm-glib/nm-device.c
4305 - (get_product_and_vendor): handle serial devices correctly
4306 - (nm_device_update_description): pass device to get_product_and_vendor()
4308 2008-04-15 Dan Williams <dcbw@redhat.com>
4310 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
4312 * src/NetworkManagerSystem.h
4313 src/backends/NetworkManagerArch.c
4314 src/backends/NetworkManagerDebian.c
4315 src/backends/NetworkManagerFrugalware.c
4316 src/backends/NetworkManagerGeneric.c
4317 src/backends/NetworkManagerGeneric.h
4318 src/backends/NetworkManagerGentoo.c
4319 src/backends/NetworkManagerMandriva.c
4320 src/backends/NetworkManagerPaldo.c
4321 src/backends/NetworkManagerRedHat.c
4322 src/backends/NetworkManagerSlackware.c
4323 src/backends/NetworkManagerSuSE.c
4325 - (nm_generic_device_add_ip6_link_address,
4326 nm_system_device_add_ip6_link_address): remove
4328 2008-04-15 Dan Williams <dcbw@redhat.com>
4330 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
4332 * src/backends/NetworkManagerArch.c
4333 src/backends/NetworkManagerDebian.c
4334 src/backends/NetworkManagerFrugalware.c
4335 src/backends/NetworkManagerGeneric.c
4336 src/backends/NetworkManagerGeneric.h
4337 src/backends/NetworkManagerGentoo.c
4338 src/backends/NetworkManagerMandriva.c
4339 src/backends/NetworkManagerPaldo.c
4340 src/backends/NetworkManagerRedHat.c
4341 src/backends/NetworkManagerSlackware.c
4342 src/backends/NetworkManagerSuSE.c
4343 src/NetworkManagerSystem.h
4344 - flush_routes -> flush_ip4_routes
4345 - flush_addresses -> flush_ip4_addresses
4347 * src/NetworkManagerSystem.c
4349 src/vpn-manager/nm-vpn-connection.c
4350 - flush only IPv4 addresses; don't touch IPv6 routes and addresses
4352 2008-04-15 Dan Williams <dcbw@redhat.com>
4354 Remove exposure of wireless-tools mode types in the API.
4356 * include/NetworkManager.h
4357 - Define NM80211Mode enum
4359 * introspection/generic-types.xml
4360 - Describe NM_802_11_MODE enum
4361 - Remove IW_MODE_* enum
4363 * introspection/nm-access-point.xml
4364 libnm-glib/nm-access-point.c
4365 libnm-glib/nm-access-point.h
4366 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
4368 * introspection/nm-device-802-11-wireless.xml
4369 libnm-glib/nm-device-802-11-wireless.c
4370 libnm-glib/nm-device-802-11-wireless.h
4371 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
4373 * libnm-util/nm-setting-wireless.c
4374 src/NetworkManagerAP.c
4375 src/NetworkManagerAP.h
4376 src/nm-device-802-11-wireless.c
4377 src/nm-device-802-11-wireless.h
4379 - Use NM80211Mode not IW_MODE_*
4381 2008-04-15 Dan Williams <dcbw@redhat.com>
4383 Enhance nm-online based on a patch from Bill Nottingham.
4387 - Add help messages and option summary
4388 - Add long-format options
4389 - Add a '-x' option to exit if NM isn't running or isn't connecting
4391 2008-04-15 Tambet Ingo <tambet@gmail.com>
4393 * libnm-util/nm-setting.c (nm_setting_duplicate): Implement.
4395 * libnm-util/nm-connection.c (nm_connection_remove_setting): Implement.
4397 2008-04-15 Dan Williams <dcbw@redhat.com>
4399 * nm-setting-ip4-config.c
4400 - (ip4_addresses_from_gvalue): handle NULL address array
4402 * nm-setting-8021x.c
4403 - (verify_tls, verify_ttls): warn on failed verification
4405 2008-04-10 Dan Williams <dcbw@redhat.com>
4407 * src/nm-gsm-device.c
4408 - (automatic_registration): accept "+CREG: 0,0"
4409 - (automatic_registration_response): fail on "+CREG: 0,0"
4411 2008-04-10 Tambet Ingo <tambet@gmail.com>
4413 * libnm-util/nm-setting-wired.c (get_property): Fix a typo.
4415 2008-04-10 Tambet Ingo <tambet@gmail.com>
4417 * system-settings/plugins/ifcfg-suse/parser.c (make_wireless_security_setting):
4418 Make it compile again by commenting out broken code that at first didn't work and
4419 now didn't compile either.
4421 2008-04-08 Dan Williams <dcbw@redhat.com>
4423 * libnm-glib/nm-object-cache.c
4424 libnm-glib/nm-settings.c
4425 src/dhcp-manager/nm-dhcp-manager.c
4426 system-settings/plugins/ifcfg-fedora/plugin.c
4427 system-settings/plugins/ifcfg-suse/plugin.c
4428 system-settings/src/nm-system-config-hal-manager.c
4429 libnm-util/nm-utils.c
4430 - Remove usage of GStaticMutex since gcc-4.3 hates it and because we're
4431 not threadsafe anyway
4433 2008-04-08 Dan Williams <dcbw@redhat.com>
4435 * system-settings/src/main.c
4436 - (load_stuff, device_added_cb, device_removed_cb): device added/removed
4437 callbacks take a device type too
4439 2008-04-08 Dan Williams <dcbw@redhat.com>
4441 The system settings service will now create a new default DHCP connection
4442 for wired devices that have no existing applicable connection.
4444 * system-settings/src/nm-system-config-hal-manager.c
4445 system-settings/src/nm-system-config-hal-manager.h
4446 - (nm_system_config_hal_manager_get_type_for_udi): new function
4448 * system-settings/src/dbus-settings.c
4449 system-settings/src/dbus-settings.h
4450 - (nm_sysconfig_settings_get_connections): new function
4451 - (nm_sysconfig_settings_is_device_managed): new function
4453 * system-settings/src/main.c
4454 - (load_stuff): check for wired devices that need a default connection
4455 - (get_details_for_udi): get interface and MAC address from HAL
4456 - (add_default_dhcp_connection): add a default connection for a wired
4458 - (device_added_cb, device_removed_cb): do the right thing with
4459 wired devices and their default connections on HAL device events
4461 2008-04-07 Dan Williams <dcbw@redhat.com>
4463 * libnm-glib/nm-device.c
4464 libnm-glib/nm-device.h
4465 - Proxy the 'managed' property
4467 2008-04-07 Dan Williams <dcbw@redhat.com>
4469 * src/nm-gsm-device.c
4470 src/nm-cdma-device.c
4471 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
4472 handler to transition to DISCONNECTED
4474 2008-04-07 Dan Williams <dcbw@redhat.com>
4476 Patch from Bill Nottingham
4478 * dispatcher-daemon/NetworkManagerDispatcher.c
4479 - ignore backup/packaging crufy (rh #440143)
4481 2008-04-07 Dan Williams <dcbw@redhat.com>
4483 * include/NetworkManager.h
4484 - Remove the DOWN and CANCELLED device states
4485 - Add UNMANAGED and UNAVAILABLE device states
4486 - Document the device states
4488 * introspection/nm-device.xml
4489 src/nm-device-interface.c
4490 src/nm-device-interface.h
4491 - Add the 'managed' property
4494 - (detail_device): print out device state
4496 * src/NetworkManagerSystem.h
4497 src/backends/NetworkManagerArch.c
4498 src/backends/NetworkManagerDebian.c
4499 src/backends/NetworkManagerFrugalware.c
4500 src/backends/NetworkManagerGentoo.c
4501 src/backends/NetworkManagerMandriva.c
4502 src/backends/NetworkManagerPaldo.c
4503 src/backends/NetworkManagerRedHat.c
4504 src/backends/NetworkManagerSlackware.c
4505 src/backends/NetworkManagerSuSE.c
4506 - (nm_system_device_get_system_config, nm_system_device_get_disabled
4507 nm_system_device_free_system_config): remove; they were unused and
4508 their functionality should be re-implemented in each distro's
4509 system settings service plugin
4511 * src/nm-gsm-device.c
4513 src/nm-cdma-device.c
4514 src/nm-cdma-device.h
4515 - (*_new): take the 'managed' argument
4518 - (nm_device_set_address): remove, fold into nm_device_bring_up()
4519 - (nm_device_init): start in unmanaged state, not disconnected
4520 - (constructor): don't start device until the system settings service
4521 has had a chance to figure out if the device is managed or not
4522 - (nm_device_deactivate, nm_device_bring_up, nm_device_bring_down):
4523 don't set device state here, let callers handle that as appropriate
4524 - (nm_device_dispose): don't touch the device if it's not managed
4525 - (set_property, get_property, nm_device_class_init): implement the
4527 - (nm_device_state_changed): bring the device up if its now managed,
4528 and deactivate it if it used to be active
4529 - (nm_device_get_managed, nm_device_set_managed): do the right thing
4530 with the managed state
4532 * src/nm-hal-manager.c
4533 - (wired_device_creator, wireless_device_creator, modem_device_creator):
4534 take initial managed state and pass it along to device constructors
4535 - (create_device_and_add_to_list): get managed state and pass to
4538 * src/nm-device-802-11-wireless.c
4539 - (real_can_activate): fold in most of
4540 nm_device_802_11_wireless_can_activate()
4541 - (can_scan): can't scan in UNAVAILABLE or UNMANAGED
4542 - (link_timeout_cb): instead of deactivating, change device state and
4543 let the device state handler to it
4544 - (real_update_hw_address): clean up
4545 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
4546 handler to transition to DISCONNECTED if the device isn't rfkilled
4548 * src/nm-device-802-3-ethernet.c
4549 - (set_carrier): move above callers and get rid of prototype
4550 - (device_state_changed): when entering UNAVAILABLE state, schedule an
4551 idle handler to transition to DISCONNECTED if the device has a
4553 - (real_update_hw_address): clean up
4554 - (link_timeout_cb, ppp_state_changed): change state instead of calling
4555 deactivation directly as deactivation doesn't change state anymore
4557 * src/NetworkManagerPolicy.c
4558 - (schedule_activate_check): yay, remove wireless_enabled hack since
4559 the NMManager and wireless devices work that out themselves now
4560 - (device_state_changed): change to a switch and update for new device
4562 - (device_carrier_changed): remove; device handles this now through
4564 - (device_added): don't care about carrier any more; the initial
4565 activation check will happen when the device transitions to
4569 - (dispose): clear unmanaged devices
4570 - (handle_unmanaged_devices): update unmanaged device list and toggle
4571 the managed property on each device when needed
4572 - (system_settings_properties_changed_cb): handle signals from the
4573 system settings service
4574 - (system_settings_get_unmanaged_devices_cb): handle callback from
4575 getting the unmanaged device list method call
4576 - (query_unmanaged_devices): ask the system settings service for its
4577 list of unmanaged devices
4578 - (nm_manager_name_owner_changed, initial_get_connections): get unmanaged
4580 - (manager_set_wireless_enabled): push rfkill state down to wireless
4581 devices directly and let them handle the necessary state transitions
4582 - (manager_device_state_changed): update for new device states
4583 - (nm_manager_add_device): set initial rfkill state on wireless devices
4584 - (nm_manager_remove_device): don't touch the device if it's unmanaged
4585 - (nm_manager_activate_connection): return error if the device is
4587 - (nm_manager_sleep): handle new device states correctly; don't change
4588 the state of unavailable/unmanaged devices
4590 * libnm-glib/nm-device-802-11-wireless.c
4591 - (state_changed_cb): update for new device states
4593 2008-04-07 Dan Williams <dcbw@redhat.com>
4595 * marshallers/nm-marshal.list
4596 - Add VOID:STRING,UINT marshaller for system settings HAL manager
4598 2008-04-07 Dan Williams <dcbw@redhat.com>
4600 * system-settings/src/main.c
4601 - (unmanaged_devices_changed_cb, register_plugin): proxy changes from
4602 plugins to the dbus settings object
4603 - (load_stuff): start the dbus service after grabbing unmanaged devices
4604 - (dbus_reconnect, dbus_cleanup): make HAL manager aware of dbus events
4605 - (log_handler, logging_setup, logging_shutdown): log output to syslog
4606 - (main): switch default logging to syslog with a 'debug' option to
4607 output to console; start up the HAL manager
4609 2008-04-07 Dan Williams <dcbw@redhat.com>
4611 * introspection/nm-settings-system.xml
4612 introspection/Makefile.am
4613 - Define the unmanaged devices interface for the system settings service
4615 * system-settings/src/nm-system-config-hal-manager.c
4616 system-settings/src/nm-system-config-hal-manager.h
4617 system-settings/src/nm-system-config-hal-manager-private.h
4618 system-settings/src/Makefile.am
4619 - Add a lightweight HAL manager object for tracking network devices for
4620 the purpose of determining unmanaged devices and which devices need
4621 the default DHCP connections
4623 * system-settings/src/nm-system-config-interface.c
4624 system-settings/src/nm-system-config-interface.h
4625 - (nm_system_config_interface_init): add the HAL manager as an argument
4626 - (nm_system_config_interface_get_unmanaged_devices): implement
4627 - Define 'unmanaged-devices-changed' signal
4629 * system-settings/src/dbus-settings.c
4630 system-settings/src/dbus-settings.h
4631 - Implement the unmanaged devices interface; some cleanups
4633 * system-settings/plugins/ifcfg-suse/plugin.c
4634 - Fixup for plugin interface changes
4636 * system-settings/plugins/ifcfg-fedora/plugin.c
4637 - (get_ether_device_udi): new function; find the device that has
4638 a specified MAC address and return its UDI
4639 - (get_udi_for_connection): new function; try to find the specific
4640 device a connection is locked to, if any
4641 - (device_added_cb, device_removed_cb): update unmanaged device list in
4642 response to HAL events
4643 - (get_unmanaged_devices): new function; return unmanaged device list
4644 - (build_one_connection): set the connection's locked device, if any
4645 - (write_auto_wired_connection): remove
4646 - (kill_old_auto_wired_file): remove the ifcfg-Auto Wired file if found
4647 - (handle_connection_changed): alert listeners that the unmanaged device
4649 - (init): fixup for plugin interface changes, implement unmanaged devices
4651 * system-settings/plugins/ifcfg-fedora/parser.c
4652 system-settings/plugins/ifcfg-fedora/parser.h
4653 - (connection_data_free): clean up connection UDI
4655 2008-04-07 Dan Williams <dcbw@redhat.com>
4657 * system-settings/plugins/ifcfg-fedora/parser.c
4658 - (make_ip4_setting): fix parsing of DNS servers
4660 2008-04-05 Dan Williams <dcbw@redhat.com>
4664 marshallers/Makefile.am
4665 marshallers/nm-marshal-main.c
4666 marshallers/nm-marshal.list
4667 - Consolidate marshallers
4669 * libnm-glib/nm-marshal-main.c
4670 libnm-glib/nm-marshal.list
4671 src/marshallers/Makefile.am
4672 src/marshallers/nm-marshal-main.c
4673 src/marshallers/nm-marshal.list
4676 * libnm-glib/Makefile.am
4678 src/dhcp-manager/Makefile.am
4679 src/ppp-manager/Makefile.am
4680 src/supplicant-manager/Makefile.am
4681 src/vpn-manager/Makefile.am
4682 - Use consolidated marshallers
4684 2008-04-04 Dan Williams <dcbw@redhat.com>
4686 * src/nm-hal-manager.c
4687 src/nm-hal-manager.h
4688 - (hal_init): don't look for hardware here
4689 - (nm_hal_manager_start): new function; look for hardware here instead,
4690 which can be done at a later time than hal_init()
4692 * src/NetworkManager.c
4693 - (main): start HAL manager after entering the main loop
4695 2008-04-03 Dan Williams <dcbw@redhat.com>
4697 * libnm-glib/nm-settings.c
4698 libnm-glib/nm-settings.h
4699 - (nm_exported_connection_get_id): new function
4700 - (impl_exported_connection_get_id): use nm_exported_connection_get_id()
4702 2008-04-02 Dan Williams <dcbw@redhat.com>
4704 * src/nm-device-interface.c
4705 src/nm-device-interface.h
4708 - Rename check_connection_conflicts() to check_connection_compatible()
4710 * src/nm-device-802-11-wireless.c
4711 - (real_check_connection_conflicts): remove
4712 - (real_check_connection_compatible): implement; match MAC address
4714 * src/nm-device-802-3-ethernet.c
4715 - (real_check_connection_conflicts): remove
4716 - (real_check_connection_compatible): implement; match MAC address
4717 - (real_get_best_auto_connection): correctly handle PPPoE cases
4720 - (check_connection_allowed): remove; unused until PolicyKit integration
4721 - (internal_activate_device): check whether the connection is compatible
4722 with the device before trying to activate it
4724 2008-04-02 Dan Williams <dcbw@redhat.com>
4726 * system-settings/plugins/ifcfg-fedora/parser.c
4727 - (read_mac_address): new function; read in MAC address and stuff it
4729 - (add_one_wep_key): remove debug spew
4730 - (make_wireless_security_setting): validate the default TX key; don't
4731 add the wireless-security setting if the connection doesn't need
4732 security; don't leak the keys shvarFile on error cases
4733 - (make_wireless_setting, make_wired_setting): populate device's MAC
4736 2008-04-02 Dan Williams <dcbw@redhat.com>
4738 * libnm-util/nm-setting-connection.c
4739 libnm-util/nm-setting-connection.h
4740 - (set_property, get_property, nm_setting_connection_class_init): remove
4741 the 'lockdown' property; it's functionality will be replaced by
4744 2008-04-01 Dan Williams <dcbw@redhat.com>
4746 Patch from Per Øyvind Karlsen <peroyvind@mandriva.org>
4749 initscript/Makefile.am
4750 initscript/Mandriva/Makefile.am
4751 initscript/Mandriva/networkmanager.in
4752 initscript/Mandriva/networkmanagerdispatcher.in
4753 src/backends/Makefile.am
4754 src/backends/NetworkManagerMandriva.c
4755 system-settings/plugins/Makefile.am
4756 - Add Mandriva support
4758 2008-03-31 Dan Williams <dcbw@redhat.com>
4760 * src/vpn-manager/nm-vpn-service.c
4761 - (nm_vpn_service_daemon_exec): add an error argument so that spawn
4762 errors can be passed back to the caller; also no longer scheduled
4763 as an idle handler, but called directly; and bump up VPN service
4764 spawn timeout, 2s is really short
4765 - (nm_vpn_service_activate): don't schedule the VPN service activation,
4766 but call it directly so that errors are reported on return from
4767 ActivateConnection() and don't get lost. If scheduled as an idle
4768 handler, clients don't have the time to query NM for the new VPN
4769 connection's properties before the VPN connection is torn down again
4770 if the service couldn't be launched, and therefore launch errors
4773 2008-03-31 Dan Williams <dcbw@redhat.com>
4775 * src/vpn-manager/nm-vpn-connection.c
4776 - (device_state_changed): send correct state on device failure too
4777 - (plugin_state_changed): failed state means unexpected disconnection,
4778 thus if the service goes away while the VPN connection is activated
4779 that's a failure too
4781 2008-03-31 Dan Williams <dcbw@redhat.com>
4783 * src/vpn-manager/nm-vpn-manager.c
4784 src/vpn-manager/nm-vpn-manager.h
4785 - Make VPNManager errors more available; add a service-start-failed error
4787 2008-03-31 Dan Williams <dcbw@redhat.com>
4789 * libnm-glib/nm-client.c
4790 libnm-glib/nm-client.h
4791 - (activate_cb): pass the new active connection to callback; fix
4792 message when no callback is specified
4794 2008-03-30 Dan Williams <dcbw@redhat.com>
4796 * libnm-util/nm-setting-wireless-security.c
4797 - (need_secrets): only require key0 if the transmit key index is also
4799 - (verify): reject non-NULL but zero-length WEP keys; these are invalid
4801 2008-03-29 Dan Williams <dcbw@redhat.com>
4803 * libnm-util/nm-setting-8021x.c
4804 libnm-util/nm-setting-ip4-config.c
4805 libnm-util/nm-setting-vpn-properties.c
4806 libnm-util/nm-setting-vpn.c
4807 libnm-util/nm-setting-wireless-security.c
4808 libnm-util/nm-setting-wireless.c
4809 libnm-util/nm-utils.c
4810 src/dhcp-manager/nm-dhcp-manager.c
4811 src/nm-activation-request.c
4814 src/nm-properties-changed-signal.c
4815 src/ppp-manager/nm-pppd-plugin.c
4816 src/supplicant-manager/nm-supplicant-interface.c
4817 src/vpn-manager/nm-vpn-connection.c
4818 - consistently use nm-dbus-glib-types.h
4820 2008-03-29 Dan Williams <dcbw@redhat.com>
4822 * src/vpn-manager/nm-vpn-connection.c
4823 - (nm_vpn_connection_class_init): PROP_SPECIFIC_OBJECT should be boxed,
4826 * src/nm-activation-request.c
4827 - (nm_act_request_class_init): PROP_SPECIFIC_OBJECT should be boxed,
4830 2008-03-29 Dan Williams <dcbw@redhat.com>
4832 * libnm-glib/nm-device-802-11-wireless.c
4833 - (access_point_added_proxy): create new APs if not found
4835 2008-03-29 Dan Williams <dcbw@redhat.com>
4837 * libnm-glib/nm-client.c
4838 - (proxy_name_owner_changed): tell wireless devices about rfkill state
4841 2008-03-29 Dan Williams <dcbw@redhat.com>
4843 * system-settings/plugins/ifcfg-fedora/parser.c
4844 - Fix parsing of WEP keys; ifcfg files use indexes [1...4] rather than
4845 [0...3]; also handle KEY correctly in combination with DEFAULTKEY
4847 2008-03-29 Dan Williams <dcbw@redhat.com>
4849 * system-settings/plugins/ifcfg-fedora/parser.c
4850 - (get_one_wep_key, make_wireless_security_setting): handle "KEY" too
4852 2008-03-27 Dan Williams <dcbw@redhat.com>
4855 - (nm_object_queue_notify): don't notify multiple times for the same
4858 * nm-object-private.h
4859 - (handle_ptr_array_return): return NULL if the given array is NULL or
4860 if it has zero elements
4863 - (finalize): use g_ptr_array_foreach() when freeing domains
4864 - (nm_ip4_config_get_domains): use handle_ptr_array_return()
4866 * nm-active-connection.c
4867 - (nm_active_connection_get_devices): use handle_ptr_array_return()
4869 * nm-device-802-11-wireless.c
4870 nm-device-802-11-wireless.h
4871 - (nm_device_802_11_wireless_get_access_points): return const; use
4872 handle_ptr_array_return()
4875 - (nm_object_array_demarshal): always create an array, even of length
4876 zero, to distinguish between "NM returned no items" and "haven't
4880 - (dispose): free active connections too
4881 - (proxy_name_owner_changed): free active connections too when NM goes
4883 - (nm_client_get_devices): return const; use handle_ptr_array_return()
4884 - (nm_client_get_active_connections): use handle_ptr_array_return()
4886 2008-03-26 Dan Williams <dcbw@redhat.com>
4888 Rework VPN connection handling for a more consistent D-Bus API. The
4889 VPNManager object has been removed, and active VPN connections are now the
4890 same as any other active connection. The Manager object's ActivateConnection
4891 and DeactivateConnection methods are used to start and stop a VPN connection,
4892 and the VPNConnection objects are subclasses of the ActiveConnection objects.
4893 When activating a VPN connection, pass the path of the active connection
4894 to which the VPN connection is tied in the 'specific_object' argument.
4896 Consequently, the libnm-glib API has been reworked to match this arrangement,
4897 with the VPNManager object removed, and the NMVPNConnection objects now
4898 being subclasses of NMActiveConnection.
4900 2008-03-25 Dan Williams <dcbw@redhat.com>
4902 Patch from Björn Martensen <bjoern.martensen@gmail.com>
4904 * initscript/Arch/networkmanager.in
4905 initscript/Arch/networkmanager-dispatcher.in
4906 - Updates for Arch Linux (gnome.org #523701)
4908 2008-03-25 Dan Williams <dcbw@redhat.com>
4910 * libnm-glib/nm-ip4-config.c
4911 libnm-glib/nm-active-connection.c
4912 libnm-glib/nm-access-point.c
4913 - Use nm_object_queue_notify() instead of g_object_notify()
4915 * libnm-glib/nm-device.c
4916 - (demarshal_ip4_config): distinguish between successful but missing
4917 ip4-config request, and unsuccessful and missing ip4-config request
4918 - (nm_device_get_ip4_config): don't try to demarshal a NULL ip4-config
4920 - Use nm_object_queue_notify() instead of g_object_notify()
4922 * libnm-glib/nm-device-802-11-wireless.c
4923 - (demarshal_active_ap): distinguish between successfull but missing
4924 active-ap request, and unsuccessful and missing active-ap request
4925 - (dispose, clean_up_aps): consolidate AP list and active AP clearing
4927 - (nm_device_802_11_wireless_set_wireless_enabled): add a private hook
4928 for the NMClient to notify the device that wireless is disabled,
4929 and therefore to clear the AP list and active AP
4930 - Use nm_object_queue_notify() instead of g_object_notify()
4932 * libnm-glib/nm-client.c
4933 - (poke_wireless_devices_with_rf_status): new function
4934 - (update_wireless_status): notify wireless devices of the rfkill status
4935 so they can clean up if needed
4936 - Use nm_object_queue_notify() instead of g_object_notify()
4938 2008-03-25 Dan Williams <dcbw@redhat.com>
4940 * libnm-glib/nm-object.c
4941 libnm-glib/nm-object-private.h
4942 - (nm_object_queue_notify): add helper to batch & postpone GObject notify
4943 signals to an idle handler
4944 - (nm_object_get_property): add a timeout to the D-Bus method call
4946 2008-03-25 Dan Williams <dcbw@redhat.com>
4948 * introspection/nm-device-cdma.xml
4949 introspection/nm-device-gsm.xml
4950 introspection/Makefile.am
4951 introspection/all.xml
4952 - Add introspection for CDMA and GSM devices for PropertiesChanged signal
4954 * src/nm-gsm-device.h
4956 src/nm-cdma-device.h
4957 src/nm-cdma-device.c
4959 - Implement PropertiesChanged signals
4961 * libnm-glib/nm-cdma-device.c
4962 libnm-glib/nm-cdma-device.c
4963 - Attach to PropertiesChanged signals
4965 2008-03-24 Dan Williams <dcbw@redhat.com>
4967 * libnm-glib/nm-client.c
4968 - (client_device_added_proxy): add new devices to the internal device
4969 list so they appear to clients
4971 2008-03-24 Dan Williams <dcbw@redhat.com>
4973 Massive fixup of libnm-glib to:
4974 a) have all objects (with the exception of VPN) cache their properties and
4975 update them asynchronously on PropertiesChanged signals from NM
4976 b) return internal const data for most attributes/properties instead of
4977 allocated values that the caller must free
4978 c) cache wrapped objects such that a given D-Bus path will always map to the
4979 same GObject returned by libnm-glib
4980 d) remove a few signals and move them to GObject property notifications
4981 e) match recent NM D-Bus API changes for activation/deactivation
4982 f) remove some private functions from libnm-glib headers
4984 2008-03-20 Dan Williams <dcbw@redhat.com>
4987 - (nm_manager_update_state, manager_device_state_changed,
4988 nm_manager_activate_device, connection_added_default_handler,
4989 impl_manager_activate_connection, impl_manager_deactivate_connection):
4990 queue PropertyChanged singals when the active connections change
4992 2008-03-20 Dan Williams <dcbw@redhat.com>
4994 * introspection/nm-manager.xml
4995 introspection/nm-manager-client.xml
4996 - (ActivateConnection): return the object path of the active connection
4998 - (GetActiveConnections): remove
4999 - (DeactivateConnection): new function; deactivate a currently active
5001 - Add an ActiveConnections property which returns an array of
5002 active connection object paths
5004 * introspection/nm-device.xml
5005 - (Deactivate): remove
5007 * introspection/all.xml
5008 - Add ActiveConnection introspection
5010 * introspection/nm-active-connection.xml
5011 - Add the ActiveConnection object
5013 * include/NetworkManager.h
5014 - Add the Connection.Active D-Bus interface
5016 * src/nm-device-interface.c
5017 - (impl_device_deactivate): remove
5019 * src/nm-activation-request.c
5020 src/nm-activation-request.c
5022 - Implement the Connection.Active D-Bus interface
5025 - (get_property, nm_manager_class_init): add ACTIVE_CONNECTIONS property
5026 - (nm_manager_activate_device): return the active connection path
5027 - (connection_added_default_handler, impl_manager_activate_connection):
5028 return the active connection to the caller
5029 - (add_one_connection_element, impl_manager_get_active_connections):
5031 - (impl_manager_deactivate_connection): new function; deactivate an
5034 * libnm-glib/nm-device.c
5035 libnm-glib/nm-device.h
5036 - Remove Deactivate() function
5038 2008-03-19 Dan Williams <dcbw@redhat.com>
5040 * introspection/nm-manager.xml
5041 introspection/nm-manager-client.xml
5042 - Rename the ActivateDevice method to ActivateConnection to better
5043 reflect it's usage; it's arguments get reordered a bit too
5044 - Convert GetActiveConnections method return from a struct to a dict
5046 * include/NetworkManager.h
5047 - Define the dict keys for return value of GetActiveConnections
5050 - impl_manager_activate_device -> impl_manager_activate_connection
5051 - (add_one_connection_element): return a populated hash table, not
5054 * libnm-glib/nm-client.c
5055 libnm-glib/nm-client.h
5056 - nm_client_activate_device -> nm_client_activate_connection
5057 - nm_client_free_active_connection_element -> nm_client_free_active_connections_element
5058 - (nm_client_get_active_connections): return a GSList of GHashTables,
5059 instead of the custom structures. Each element of the returned list
5060 must be freed with nm_client_free_active_connections_element()
5062 2008-03-18 Dan Williams <dcbw@redhat.com>
5064 * system-settings/plugins/ifcfg-fedora/parser.c
5065 system-settings/plugins/ifcfg-fedora/parser.h
5066 system-settings/plugins/ifcfg-fedora/plugin.c
5067 - Read settings from /etc/sysconfig/network-scripts/ instead of using
5068 profiles. DNS servers and searches must now be stored in the ifcfg
5071 2008-03-18 Tambet Ingo <tambet@gmail.com>
5073 * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Don't
5074 print out username and password, it's supposed to be a secret.
5076 * src/nm-device-802-3-ethernet.c (ppp_state_changed): Handle authentication
5077 request and set the device state accordingly.
5079 2008-03-18 Tambet Ingo <tambet@gmail.com>
5081 * src/nm-device-802-3-ethernet.c: Implement wired 802.1x authentication.
5083 * libnm-util/nm-setting-wireless-security.h: Fix a typo.
5085 2008-03-18 Dan Williams <dcbw@redhat.com>
5087 * src/vpn-manager/nm-vpn-connection.c
5088 - (get_secrets_cb): handle new GetSecrets return format
5090 2008-03-18 Dan Williams <dcbw@redhat.com>
5092 Adapt system settings service for split 802.1x.
5094 * system-settings/src/nm-system-config-interface.h
5095 - clarify return value of get_secrets()
5097 * system-settings/src/dbus-settings.c
5098 - (string_to_gvalue, destroy_gvalue, add_one_secret_to_hash): remove
5099 - (check_for_secrets): check if there actually secrets returned by a
5101 - (exported_connection_get_secrets): just return the plugin-returned
5102 hash of settings' secrets if it looks valid
5104 * system-settings/plugins/ifcfg-fedora/plugin.c
5105 - (get_secrets): add split secrets with correct format to reply hash
5107 * system-settings/plugins/ifcfg-fedora/parser.c
5108 system-settings/plugins/ifcfg-fedora/parser.h
5109 - (copy_one_cdata_secret, connection_data_copy_secrets,
5110 connection_data_free, connection_data_add): keep secrets for
5111 different settings in different hashes
5113 2008-03-17 Tambet Ingo <tambet@gmail.com>
5115 Clean up activating device deactivation.
5117 * src/nm-device.c (real_activation_cancel_handler): Remove. The same thing
5118 should be done whether the device activation gets cancelled or the device
5119 is just getting deactivated.
5120 (nm_device_activation_cancel): Remove.
5121 (nm_device_deactivate_quickly): Handle the case where device is activating.
5123 * src/nm-device-802-11-wireless.c (real_activation_cancel_handler): Remove.
5124 It does the exact same thing as real_deactivate_quickly().
5126 2008-03-17 Dan Williams <dcbw@redhat.com>
5128 Split the 802.1x bits out of the wireless-security setting so they are
5129 generalized enough for wired 802.1x to use too.
5131 * introspection/nm-exported-connection.xml
5132 - GetSecrets now returns 'a{sa{sv}}' (a hash of settings hashes) instead
5133 of just a hash of the secrets for one setting
5135 * libnm-util/nm-setting-wireless-security.c
5136 libnm-util/nm-setting-wireless-security.h
5137 - Remove 802.1x-specific stuff
5138 - Added leap-username and leap-password properties for old-school LEAP
5142 - (connection_secrets_updated_cb): take a list of updated settings names,
5145 * src/supplicant-manager/nm-supplicant-config.c
5146 src/supplicant-manager/nm-supplicant-config.h
5147 - (nm_supplicant_config_add_setting_wireless_security): remove 802.1x
5148 specific stuff; fix for updated LEAP bits; punt 802.1x stuff
5149 to nm_supplicant_config_add_setting_8021x()
5150 - (nm_supplicant_config_add_setting_8021x): add an 802-1x setting to
5151 the supplicant config
5153 * src/nm-device-802-11-wireless.c
5154 - (build_supplicant_config): pass in the 802.1x setting too, if any
5155 - (real_connection_secrets_updated): take a list of updated settings
5158 * src/nm-device-802-3-ethernet.c
5159 src/nm-cdma-device.c
5161 - (real_connection_secrets_updated_cb): take a list of updated settings
5164 * src/nm-activation-request.c
5165 src/nm-activation-request.h
5166 - (nm_act_request_class_init): the 'connection-secrets-updated' signal
5167 now passes a list of updated settings names, not just one
5168 - (update_one_setting): new function; handle one updated setting
5169 - (get_secrets_cb): handle multiple settings returned from the
5170 settings service; have to be careful of ordering here as there are
5171 some dependencies between settings (ex. wireless-security and 802.1x
5174 * src/marshallers/nm-marshal.list
5175 - new marshaller for connection-secrets-updated signal
5177 * libnm-util/nm-setting-8021x.c
5178 - Add back the 'pin' and 'psk' settings, for EAP-SIM and EAP-PSK auth
5180 - (verify): a valid 'eap' property is now required
5182 * libnm-util/nm-connection.c
5183 - (register_default_settings): add priorities to settings; there are
5184 some dependencies between settings, and during the need_secrets
5185 calls this priority needs to be respected. For example, only the
5186 wireless-security setting knows whether or not the connection is
5187 going to use 802.1x or now, so it must be asked for secrets before
5188 any existing 802.1x setting is
5189 - (nm_connection_lookup_setting_type): expose
5191 * libnm-util/nm-setting-wireless.c
5192 - (verify): should verify even if all_settings is NULL; otherwise won't
5193 catch the case where there is missing security
5195 * libnm-util/nm-setting-wireless-security.c
5196 - Remove everything to do with 802.1x
5197 - Add old-school LEAP specific properties for username and password
5198 - (need_secrets): rework LEAP secrets checking
5199 - (verify): rework for LEAP and 802.1x verification
5201 2008-03-17 Dan Williams <dcbw@redhat.com>
5203 * src/NetworkManagerPolicy.c
5204 - (auto_activate_device): always remove the current activation check
5205 from the pending activation list, otherwise when the policy gets
5206 destroyed on NM exit it will attempt to free the already freed
5209 2008-03-14 Tambet Ingo <tambet@gmail.com>
5211 * src/backends/NetworkManagerSlackware.c
5212 (nm_system_device_setup_static_ip4_config): Remove, it's unused.
5214 * src/backends/NetworkManagerSuSE.c: Add missing includes.
5216 2008-03-14 Dan Williams <dcbw@redhat.com>
5219 - (nm_device_interface_get_iface): g_object_get() will return an
5220 allocated value, so this function must not return const
5221 - (nm_device_interface_activate): free returned iface
5223 2008-03-14 Tambet Ingo <tambet@gmail.com>
5225 * libnm-util/Makefile.am: Add new files to build.
5227 * libnm-util/nm-connection.c: Register NMSetting8021x.
5229 * libnm-util/nm-setting-8021x.c
5230 * libnm-util/nm-setting-8021x.h: Implement.
5232 2008-03-14 Tambet Ingo <tambet@gmail.com>
5234 * libnm-util/Makefile.am: Add new files to build.
5236 * libnm-util/nm-connection.c: Register NMSetting8021x.
5238 * libnm-util/nm-setting-8021x.c
5239 * libnm-util/nm-setting-8021x.h: Implement.
5241 2008-03-14 Tambet Ingo <tambet@gmail.com>
5243 * src/NetworkManagerPolicy.c (auto_activate_device): Don't leak device and
5246 2008-03-14 Dan Williams <dcbw@redhat.com>
5248 * include/wireless-helper.h
5250 - One place for all the junk needed for #including wireless.h
5253 src/NetworkManagerAP.c
5256 libnm-util/nm-utils.c
5257 libnm-util/nm-setting-wireless.c
5258 libnm-glib/nm-device-802-11-wireless.c
5259 libnm-glib/nm-access-point.c
5260 libnm-glib/libnm-glib-test.c
5261 - include wireless-helper.h, not iwlib.h
5264 - Don't need libiw really, just need to check for wireless.h
5266 * src/kernel-types.h
5267 - Remove; used types moved into wpa.c
5269 * src/nm-device-802-11-wireless.c
5270 - (nm_device_802_11_wireless_update_signal_strength,
5271 real_get_generic_capabilities, nm_device_802_11_wireless_get_mode,
5272 nm_device_802_11_wireless_set_mode,
5273 nm_device_802_11_wireless_get_frequency,
5274 nm_device_802_11_wireless_get_ssid,
5275 nm_device_802_11_wireless_set_ssid,
5276 nm_device_802_11_wireless_get_bitrate,
5277 nm_device_802_11_wireless_get_bssid,
5278 nm_device_802_11_wireless_disable_encryption): use ioctl() directly
5279 instead of iwlib functions
5281 2008-03-14 Dan Williams <dcbw@redhat.com>
5283 * src/ppp-manager/nm-ppp-manager.c
5284 - (impl_ppp_manager_need_secrets): since it's asynchronous now, it
5285 should only take the DBusGMethodInvocation argument, not user/pass
5286 too. With dbus-glib, async functions only take 2 C arguments since
5287 the real dbus method arguments get passed back with
5288 dbus_g_method_return()
5290 2008-03-13 Tambet Ingo <tambet@gmail.com>
5292 * system-settings/plugins/ifcfg-suse/plugin.c (update_default_routes):
5293 Adapt the changes of NMSettingIP4Config.
5295 2008-03-13 Dan Williams <dcbw@redhat.com>
5297 * src/NetworkManagerUtils.c
5298 src/NetworkManagerUtils.h
5299 - (nm_ether_ntop): replacement for iw_ether_ntop()
5301 * src/NetworkManagerAP.c
5302 src/nm-device-802-11-wireless.c
5303 src/nm-device-802-3-ethernet.c
5304 - s/iw_ether_ntop/nm_ether_ntop/g
5306 2008-03-13 Dan Williams <dcbw@redhat.com>
5308 * src/NetworkManagerPolicy.c
5309 - (update_routing_and_dns): never set the default route through an
5310 IPv4LL addressed device
5312 2008-03-13 Dan Williams <dcbw@redhat.com>
5314 * NetworkManagerUtils.c
5315 NetworkManagerUtils.h
5316 - Remove NMSock stuff
5317 - Remove the completion stuff
5322 NetworkManagerSystem.c
5324 nm-device-802-11-wireless.c
5325 nm-device-802-3-ethernet.c
5326 - Remove NMSock and completion stuff
5327 - Remove nm_ioctl_info()
5329 2008-03-12 Dan Williams <dcbw@redhat.com>
5332 - (merge_ip4_config): avoid duplicates
5334 2008-03-12 Dan Williams <dcbw@redhat.com>
5336 * libnm-util/nm-setting-ip4-config.c
5337 libnm-util/nm-setting-ip4-config.h
5338 - Remove 'manual' and 'autoip' properties
5339 - Add 'method' property
5340 - (verify): fix verification with 'method'
5341 - (finalize): free 'method'
5342 - (set_property, get_property, nm_setting_ip4_config_class_init): fix
5346 - (real_act_stage3_ip_config_start): check IP4Config method
5347 - (nm_device_new_ip4_autoip_config): add a note about not sucking in
5349 - (merge_ip4_config): IP settings are valid with DHCP too
5350 - (real_act_stage4_get_ip4_config): handle all IP4Config methods
5351 - (real_act_stage4_ip_config_timeout): don't do autoip on DHCP timeout
5353 * src/nm-device-802-11-wireless.c
5354 - (real_act_stage3_ip_config_start): remove; autoip only on demand
5355 - (real_act_stage4_get_ip4_config): just chain up to parent; autoip
5358 * system-settings/plugins/ifcfg-fedora/parser.c
5359 system-settings/plugins/ifcfg-suse/parser.c
5360 - (make_ip4_setting): fix up for 'method'
5362 2008-03-12 Dan Williams <dcbw@redhat.com>
5364 * system-settings/plugins/ifcfg-fedora/parser.c
5365 system-settings/plugins/ifcfg-fedora/parser.h
5366 - (get_ifcfg_name): ignore more file suffixes
5367 - (is_wireless_device): fix check for ifcfgs that have no TYPE
5369 2008-03-12 Dan Williams <dcbw@redhat.com>
5372 - Bring in the bits of gnome-common we actually use (all 15 lines)
5374 2008-03-12 Dan Williams <dcbw@redhat.com>
5376 * system-settings/plugins/ifcfg-fedora/plugin.c
5377 - (write_auto_wired_connection): new function; write out an auto
5378 wired connection file since the applet isn't doing it any more
5379 - (reload_all_connections): write out the auto wired connection file
5380 if there aren't any wired connections already
5381 - (init): don't leak a GError
5383 2008-03-12 Dan Williams <dcbw@redhat.com>
5385 * src/nm-device-interface.c
5386 - (nm_device_interface_activate): print the ID of the connection
5387 that's about to be activated
5389 2008-03-12 Dan Williams <dcbw@redhat.com>
5391 Harmonize the 802.11 bitrate API
5393 * introspection/nm-access-point.xml
5394 - 'Rate' -> 'MaxBitrate'; clarify units
5396 * introspection/nm-device-802-11-wireless.xml
5397 - Clarify units of 'Bitrate'
5399 * src/NetworkManagerAP.c
5400 src/NetworkManagerAP.h
5401 - (set_property, get_property, nm_ap_class_init): rename 'rate'
5402 property to 'max-bitrate'
5403 - (foreach_property_cb): convert rate to Kb/s
5405 * src/nm-device-802-11-wireless.c
5406 - (nm_device_802_11_wireless_get_bitrate): return rate in Kb/s
5408 * libnm-glib/nm-access-point.c
5409 libnm-glib/nm-access-point.h
5410 - 'rate' -> 'max-bitrate'
5413 libnm-glib/libnm-glib-test.c
5414 - Fix up for these changes
5416 2008-03-12 Dan Williams <dcbw@redhat.com>
5419 - (nm_device_set_ip4_config): don't send property notifications when
5420 the ip4 config is set to NULL; it causes a PropertyChanged signal
5421 which dbus-glib can't parse because the value is NULL, which isn't
5422 a legal object path. Setting the IP4 config to NULL is only
5423 valid when deactivating a device anyway, so the device state change
5424 will alert listeners that the ip4 config is invalid.
5426 2008-03-12 Dan Williams <dcbw@redhat.com>
5428 * src/nm-properties-changed-signal.c
5429 - (add_to_string): better handling of NULL objects
5431 2008-03-12 Dan Williams <dcbw@redhat.com>
5433 Move the 'carrier' property from NMDevice to NMDevice8023Ethernet;
5434 convert the libnm-glib NMDevice8023Ethernet to cached properties
5436 * introspection/nm-device-802-3-ethernet.xml
5437 - New 'Carrier' property
5438 - New 'PropertiesChanged' signal
5440 * introspection/nm-device.xml
5441 - Remove 'Carrier' property
5442 - Remove 'CarrierChanged' signal
5444 * src/nm-device-interface.c
5445 src/nm-device-interface.h
5446 - (nm_device_interface_init): remove 'carrier' property and
5447 'carrier-changed' signal
5451 - (nm_device_get_carrier, nm_device_set_carrier): remove
5452 - (nm_device_activate_stage5_ip_config_commit): don't bother updating
5453 the link here; wired device will handle that
5454 - (handle_dhcp_lease_change): don't bother updating link here
5455 - (get_property, nm_device_class_init): remove carrier property
5457 * src/nm-device-802-11-wireless.c
5458 - (real_update_link, nm_device_802_11_wireless_class_init): remove
5459 real_update_link(); wireless devices don't use carrier at all
5460 - (link_timeout_cb, supplicant_iface_state_cb_handler,
5461 supplicant_iface_connection_state_cb_handler,
5462 supplicant_mgr_state_cb_handler): remove anything to do with carrier
5464 * src/nm-device-802-3-ethernet.c
5465 src/nm-device-802-3-ethernet.h
5466 - (nm_device_802_3_ethernet_carrier_on,
5467 nm_device_802_3_ethernet_carrier_off, constructor): use set_carrier()
5468 instead of nm_device_set_carrier()
5469 - (device_state_changed): update link from sysfs on activation;
5470 replaces real_update_link()
5471 - (real_update_link): remove, replaced by device_state_changed()
5472 - (nm_device_802_3_ethernet_get_carrier, set_carrier): new functions
5473 - (nm_device_802_3_ethernet_get_speed): move up with other getters/setters
5474 - (real_get_generic_capabilities, real_can_interrupt_activation): use
5475 new get_carrier function
5476 - (get_property): add 'carrier' property
5477 - (nm_device_802_3_ethernet_class_init): add 'carrier' property and
5478 hook into property-changed signal helper
5480 * src/NetworkManagerPolicy.c
5481 - (device_carrier_changed): will only ever be called with a wired device
5482 - (device_added): only hook up to carrier-changed for wired devices
5484 * libnm-glib/nm-device.c
5485 libnm-glib/nm-device.h
5486 - (constructor, nm_device_class_init): remove carrier-changed signal
5487 - (device_carrier_changed_proxy): remove; unused
5488 - (nm_device_get_carrier): remove; carrier a property of wired devices
5490 * libnm-glib/nm-device-802-3-ethernet.c
5491 libnm-glib/nm-device-802-3-ethernet.h
5492 - Convert to cached properties like AP and Wireless objects
5493 - (nm_device_802_3_ethernet_get_hw_address): now returns a 'const char *'
5494 instead of a 'char *', return value should not be freed
5495 - (nm_device_802_3_ethernet_get_carrier): return current carrier status
5496 - (constructor): hook into properties-changed helper
5497 - (set_property, get_property): new functions
5498 - (nm_device_802_3_ethernet_class_init): export GObject properties
5501 - (detail_device): strdup the wired hardware address too since it's
5504 * libnm-glib/libnm-glib-test.c
5505 - (dump_wired): strdup the wired hardware address too since it's
5508 2008-03-12 Dan Williams <dcbw@redhat.com>
5510 * libnm-util/nm-setting-ip4-config.c
5511 libnm-util/nm-setting-ip4-config.h
5512 - (set_property, get_property, nm_setting_ip4_config_class_init): add
5513 the 'autoip' property from the spec
5515 2008-03-11 Dan Williams <dcbw@redhat.com>
5517 * src/backends/NetworkManagerGeneric.c
5518 src/backends/NetworkManagerGeneric.h
5519 - (nm_generic_device_get_use_dhcp): remove
5521 2008-03-11 Dan Williams <dcbw@redhat.com>
5524 - (nm_device_deactivate): don't need to munge DNS here; that gets done
5525 already in nm_device_set_ip4_config()
5526 - (handle_dhcp_lease_change): fail the device if setting the IP4Config
5527 due to a DHCP rebind fails
5528 - (nm_device_set_ip4_config): send property notifications when the
5530 - (get_property): only report IP4Config property during valid states
5532 * src/NetworkManagerPolicy.c
5533 - (update_routing_and_dns): ignore devices that don't have an ip4
5534 config; add parameter 'force_update' to allow callers to specify
5535 that changes should be made even if the default device doesn't change
5536 - (device_ip4_config_changed): update DNS and routing when the device's
5537 IP4Config changes, like for DHCP updates
5538 - (device_added): listen for ip4-config property changes
5540 2008-03-11 Dan Williams <dcbw@redhat.com>
5542 Fix address handling as a result of DHCP rebind/renew/reboot.
5544 * src/NetworkManagerSystem.c
5545 - (check_one_address): delete an address if it doesn't match a given
5546 one for the same interface
5547 - (nm_system_device_set_from_ip4_config): don't flush the default route,
5548 be smarter about flushing addresses (only flush ones that don't
5549 match the one we're about to apply)
5551 * src/backends/NetworkManagerDebian.c
5552 src/backends/NetworkManagerSuSE.c
5553 src/backends/NetworkManagerArch.c
5554 src/backends/NetworkManagerSlackware.c
5555 src/backends/NetworkManagerRedHat.c
5556 src/backends/NetworkManagerPaldo.c
5557 src/backends/NetworkManagerFrugalware.c
5558 src/backends/NetworkManagerGentoo.c
5559 - (nm_system_delete_default_route): remove
5561 * src/backends/NetworkManagerGeneric.c
5562 src/backends/NetworkManagerGeneric.h
5563 - (nm_generic_enable_loopback): fix the loopback device label
5564 - (nm_generic_delete_default_route): remove; no longer used
5566 2008-03-11 Dan Williams <dcbw@redhat.com>
5568 * src/nm-device-interface.h
5569 - Delimit property name words with '-', otherwise g_object_notify()
5570 doesn't work the way we expect
5572 2008-03-11 Tambet Ingo <tambet@gmail.com>
5574 * src/nm-hal-manager.c (create_device_and_add_to_list): Don't ignore USB devices.
5576 2008-03-11 Dan Williams <dcbw@redhat.com>
5578 * src/NetworkManagerPolicy.c
5579 - (update_routing_and_dns): don't change anything if the default device
5580 hasn't changed; print something out when switching the default route
5583 2008-03-10 Tambet Ingo <tambet@gmail.com>
5587 * src/ppp-manager/nm-ppp-manager.c (create_pppd_cmd_line): Use PPPoE service
5588 setting. Use "nic-$eth".
5590 * src/NetworkManagerPolicy.c (auto_activate_device): Move the check of whether
5591 the device is activating here to fix a race condition.
5593 * src/ppp-manager/nm-pppd-plugin.c (get_credentials): Implement.
5595 * src/ppp-manager/nm-ppp-manager.c (impl_ppp_manager_need_secrets): Implement.
5596 (ppp_watch_cb): Emit a signal to notify pppd is not running anymore.
5597 (nm_ppp_manager_start): Take activation request instead of connection, we might
5598 need it for asking secrets.
5599 (nm_ppp_manager_update_secrets): Implement.
5601 * src/nm-serial-device.c (real_act_stage2_config): Send activation request to
5602 ppp manager start. It might be needed for asking secrets.
5604 * src/nm-device-802-3-ethernet.c (real_connection_secrets_updated): Implement.
5605 (ppp_state_changed): Handle pppd daemon disappearing.
5606 (pppoe_stage2_config): Send activation request to ppp manager start.
5608 * libnm-util/nm-setting-pppoe.c (nm_setting_pppoe_class_init): Fix a typo.
5610 * introspection/nm-ppp-manager.xml: Make NeedSecrets method async, return only
5611 username and password.
5613 2008-03-10 Dan Williams <dcbw@redhat.com>
5616 - (handle_dhcp_lease_change): apply an IP4 config to a device in
5617 response to a DHCP lease change
5618 - (dhcp_state_changed): handle DHCP lease changes while activated
5619 - (nm_device_set_ip4_config): remove a previously set named config
5620 when setting an ip4 config
5622 2008-03-10 Dan Williams <dcbw@redhat.com>
5624 * src/nm-serial-device.c
5625 - (nm_serial_device_send_command): report errno on error
5626 - (get_reply_got_data): limit the size of the overall buffer
5627 - (wait_for_reply_info_destroy): destroy result string
5628 - (wait_for_reply_got_data): append received data to an overall buffer
5629 until timeout, filled buffer, or error instead of keeping a per-call
5630 buffer. Some devices send data slowly enough that this function
5631 gets called multiple times for the same command stream.
5632 - (nm_serial_device_wait_for_reply): initialize overall buffer for
5633 wait_for_reply_got_data() here
5635 2008-03-10 Dan Williams <dcbw@redhat.com>
5637 * src/nm-cdma-device.c
5638 - (do_dial, init_modem): handle errors from
5639 nm_serial_device_send_command_string()
5641 * src/nm-gsm-device.c
5642 - (do_dial, manual_registration, automatic_registration_get_network,
5643 automatic_registration, enter_pin, check_pin, init_modem): handle
5644 errors from nm_serial_device_send_command_string()
5646 2008-03-10 Dan Williams <dcbw@redhat.com>
5648 Patch based on ideas suggested by Bas Zoetekouw <bas@debian.org>
5650 * src/named-manager/nm-named-manager.c
5651 - (compute_searches): prefer searches before domains
5652 - (compute_domain): new function
5653 - (rewrite_resolv_conf): write out the 'domain' and 'searches' options
5654 - (merge_one_ip4_config): if there are no searches in the source config,
5655 merge domains of the source config into the target config
5656 - (compute_nameservers): make formatting of resolv.conf a bit nicer
5658 2008-03-10 Dan Williams <dcbw@redhat.com>
5660 * src/nm-serial-device.c
5661 - (get_reply_got_data): clean up indentation, shrink serial buffer
5662 - (wait_for_reply_got_data): try to handle slower serial devices where
5663 the reply is broken up into multiple reads by concatenating replies
5664 together until either an error is received or the search string is
5667 2008-03-10 Dan Williams <dcbw@redhat.com>
5670 - (nm_device_bring_down): deactivate the device if it's activating too,
5671 not just if it's already activated. This makes sure that everything
5672 from an association attempt is cleaned up (like DHCP for example)
5674 2008-03-10 Dan Williams <dcbw@redhat.com>
5676 * src/nm-serial-device.c
5677 - (config_fd): report error from TCSETA
5678 - (nm_serial_device_open): fail when config_fd() fails
5680 2008-03-10 Dan Williams <dcbw@redhat.com>
5682 * src/nm-ip4-config.c
5683 - (nm_ip4_config_init): allocate searches list
5684 - (finalize): free searches list
5686 2008-03-09 Dan Williams <dcbw@redhat.com>
5688 Patch from Bas Zoetekouw <bas@debian.org>
5690 * src/dhcp-manager/nm-dhcp-manager.c
5691 - (nm_dhcp_manager_get_ip4_config): handle domain-search option too
5693 2008-03-09 Dan Williams <dcbw@redhat.com>
5695 Patch from Bas Zoetekouw <bas@debian.org>
5697 * src/nm-ip4-config.c
5699 - (nm_ip4_config_add_search, nm_ip4_config_get_search,
5700 nm_ip4_config_get_num_searches): add 'searches' as distinct from
5701 domains. 'searches' is the correct way to store multiple search
5702 domains, whereas 'domains' is really just supposed to store one
5703 domain. Some sites abuse the DHCP 'domain-name' option to push
5704 search domains to the client.
5705 - (nm_ip4_config_add_domain): group with related functions (my patch)
5707 2008-03-09 Dan Williams <dcbw@redhat.com>
5709 * src/dhcp-manager/nm-dhcp-manager.c
5710 - (dhclient_run): send interface-specific config files to dhclient
5712 2008-03-07 Dan Williams <dcbw@redhat.com>
5714 * system-settings/plugins/ifcfg-fedora/parser.c
5715 - (is_wireless_device): new function; test a device for wireless
5717 - (parser_parse_file): if the ifcfg file doesn't have a TYPE tag,
5718 test the device for wireless extensions to determine the type
5720 2008-03-07 Dan Williams <dcbw@redhat.com>
5722 Change manager's StateChange signal to StateChanged for consistency.
5724 * introspection/nm-manager.xml
5725 - Add 'StateChanged' signal
5726 - Move 'StateChange' down to the deprecated section
5728 * src/nm-hal-manager.c
5729 - (nm_hal_manager_new): connect to 'state-changed' instead
5731 * src/NetworkManagerPolicy.c
5732 - (nm_policy_new): connect to 'state-changed' instead
5736 - (nm_manager_update_state): emit both 'state-changed' and 'state-change'
5737 - (nm_manager_class_init): add 'state-changed' and not the deprecation
5740 * libnm-glib/nm-client.c
5741 libnm-glib/nm-client.h
5742 - (constructor, nm_client_class_init, client_state_changed_proxy):
5743 track and proxy 'state-changed' instead of 'state-change'
5745 2008-03-07 Dan Williams <dcbw@redhat.com>
5747 First pass of multiple active device support. Expect bugs.
5749 * src/nm-ip4-config.c
5751 - (nm_ip4_config_get_secondary, nm_ip4_config_set_secondary): remove;
5752 there are better ways to do this in the named manager
5756 - (nm_device_can_activate): return whether the device can activate a
5757 connection right now; taking into account things like carrier state
5759 - (nm_device_get_best_auto_connection): renamed from
5760 nm_device_get_best_connection
5761 - (real_act_stage4_get_ip4_config): MTU stuff is now handled in the
5762 device subclasses themselves, so that each device can override the
5763 MTU from it's NMSetting subclass if needed
5764 - (nm_device_set_ip4_config): set MTU when setting up routes and stuff
5765 in NetworkManagerSystem.c, not here
5767 * src/named-manager/nm-named-manager.c
5768 src/named-manager/nm-named-manager.h
5769 - (nm_named_manager_name_owner_changed,
5770 nm_named_manager_dbus_connection_changed): fix for changes to
5771 rewrite_resolv_conf()
5772 - (compute_nameservers): don't need the NMNamedManager at all, remove
5774 - (merge_one_ip4_config): new function; merge ip4 configs together
5775 - (rewrite_resolv_conf): write out resolv.conf from all the stored
5776 ip4 configs; the VPN config takes precedence, then the best
5777 device config, then the rest of the configs
5778 - (get_domain_for_config): take the NMNamedManager as an argument
5779 to check whether the config is the VPN config
5780 - (add_ip4_config_to_named): fixups for removal of the 'secondary'
5781 attribute from ip4 configs
5782 - (add_all_ip4_configs_to_named): add all the configs in priority order
5783 - (remove_ip4_config_from_named): fix for changes to
5784 get_domain_for_config()
5785 - (nm_named_manager_add_ip4_config): assign the config to the right slot
5786 based on its type; callers must pass in the type now
5787 - (get_last_default_domain): remove, unused
5788 - (nm_named_manager_remove_ip4_config): handle config slots correctly
5790 * src/nm-device-802-11-wireless.c
5791 - (real_can_activate): new function
5792 - (real_get_best_auto_connection): renamed from real_get_best_connection
5793 - (real_act_stage4_get_ip4_config): handle MTU override
5795 * src/nm-device-802-3-ethernet.c
5796 - (real_can_activate): new function
5797 - (real_get_best_auto_connection): renamed from real_get_best_connection
5798 - (real_act_stage4_get_ip4_config): new function; handle MTU override
5800 * src/vpn-manager/nm-vpn-connection.c
5801 - (nm_vpn_connection_ip4_config_get): don't need to set the 'secondary'
5802 attribute on the ip4 config
5804 * src/NetworkManagerPolicy.c
5805 - (nm_policy_auto_get_best_device): remove
5806 - (nm_policy_device_change_check): remove
5807 - (update_default_route): new function; set the default route via
5808 the specified device
5809 - (get_device_priority): new function; return the priority number of
5810 a device type WRT which one should have the default route. Order is
5811 (highest to lowest) wired, wireless, GSM, CDMA.
5812 - (update_routing_and_dns): new function; determine which device should
5813 have the default route, then update the routing table and DNS
5814 - (maybe_auto_activate_device): new function; if a device is now
5815 available for activation, find out what connection it would like to
5817 - (schedule_activate_check): new function; if a device can be activated
5818 now, schedule the activation. Each device may have only one
5819 pending activation at a given time.
5820 - (device_state_changed): if activation was canceled, try again,
5821 possibly with another connection; if the device was activated,
5822 update routing and DNS; if the device was deactivated, try again
5823 with another connection
5824 - (device_carrier_changed): if there is no carrier, deactivate the
5825 device; otherwise schedule an activation check for the device
5826 - (wireless_networks_changed): schedule an activation check for the
5828 - (device_added): keep track of the signal handler IDs so they can
5829 be removed when the device goes away
5830 - (device_removed): remove any signal handlers that might be attached
5831 to the device; update routing and DNS
5832 - (schedule_activate_all): new function
5833 - (connections_added, connection_added, connection_updated): when
5834 connections change, schedule all devices for an activation check
5835 - (connection_removed): when a device is deactivated because its
5836 connection was removed, schedule another activation check for it
5837 - (nm_policy_destroy): destroy pending activations and disconnect
5838 all device signal handlers
5841 - (nm_manager_activate_device): if the device was already actived,
5843 - (deactivate_old_device): remove
5844 - (connection_added_default_handler, impl_manager_activate_device):
5845 don't deactivate other devices when activating this one
5847 * src/backends/NetworkManagerGentoo.c
5848 src/backends/NetworkManagerFrugalware.c
5849 src/backends/NetworkManagerPaldo.c
5850 src/backends/NetworkManagerRedHat.c
5851 src/backends/NetworkManagerSlackware.c
5852 src/backends/NetworkManagerArch.c
5853 src/backends/NetworkManagerSuSE.c
5854 src/backends/NetworkManagerDebian.c
5855 - (nm_system_get_mtu): remove; MTU should be provided through the
5856 distro's system settings service plugin instead
5857 - (nm_system_device_add_default_route_via_device): remove
5858 - (nm_system_device_add_default_route_via_device_with_iface): remove
5859 - (nm_system_device_replace_default_route): new function; call
5860 generic implementation
5862 * src/backends/NetworkManagerGeneric.c
5863 src/backends/NetworkManagerGeneric.h
5864 - (nm_generic_device_add_default_route_via_device,
5865 nm_generic_device_add_default_route_via_device_with_iface): remove
5866 - (nm_generic_device_replace_default_route): replace the default route
5867 with the given route via some gateway
5869 * src/NetworkManagerSystem.c
5870 src/NetworkManagerSystem.h
5871 - (nm_system_device_set_from_ip4_config): let the policy handle updates
5872 to routing and DNS; but set the MTU here
5873 - (nm_system_vpn_device_set_from_ip4_config): set the route with the
5874 ip_iface of the active device; use the standard MTU setting function
5875 - (nm_system_set_mtu): remove
5876 - (nm_system_device_set_mtu): consolidate MTU setting code in one place
5878 2008-03-07 Tambet Ingo <tambet@gmail.com>
5880 Rework the interaction between ppp manager and pppd plugin. Register a well
5881 known DBUS service in manager and let the plugin call it's methods instead
5882 of listening plugin's signals.
5884 * src/ppp-manager/nm-pppd-plugin.c: Call ppp-manager dbus methods instead
5885 of emitting signals.
5887 * src/ppp-manager/nm-ppp-manager.c: Implement dbus service here.
5889 * src/ppp-manager/Makefile.am: Build nm-ppp-manager-glue.h.
5891 * src/nm-serial-device.c (real_act_stage2_config): Pass NMConnection to
5892 nm_ppp_manager_start().
5894 * introspection/nm-ppp-manager.xml: New file.
5896 * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_get_speed): Handle
5897 the case correctly where driver is trying to send -1 for the speed, which gets
5898 casted to u16 and thus is always > 0.
5900 2008-03-07 Dan Williams <dcbw@redhat.com>
5902 * src/nm-hal-manager.c
5903 - (nm_get_device_driver_name): use net.originating_device first, fall
5904 back to physical device. HAL has deprecated physical_device.
5906 * libnm-glib/nm-device.c
5907 - (get_product_and_vendor): use net.originating_device first, fall
5908 back to physical device. HAL has deprecated physical_device.
5909 - (nm_device_update_description): s/physical_device_udi/orig_dev_udi
5911 2008-03-07 Dan Williams <dcbw@redhat.com>
5914 - (nm_netlink_get_default_handle): mistakenly removed too much code in
5915 last commit; fix that
5916 - (get_link_cache): print error string
5918 2008-03-07 Dan Williams <dcbw@redhat.com>
5921 - (nm_netlink_get_default_handle): NMNetlinkMonitor now uses libnl,
5922 don't need this hack any more (Benoit Boissinot)
5924 2008-03-06 Dan Williams <dcbw@redhat.com>
5927 - Die gnome-common, die
5929 2008-03-04 Dan Williams <dcbw@redhat.com>
5931 Patch from Michael Biebl <biebl@debian.org>
5933 * NetworkManager.pc.in
5934 - doesn't actually depend on dbus-1
5936 * libnm-util/nm-utils.h
5937 - remove unused #include <dbus/dbus.h>
5939 * libnm-glib/libnm_glib.pc.in
5940 - depends on glib and dbus-glib
5942 2008-03-02 Dan Williams <dcbw@redhat.com>
5944 * src/NetworkManagerPolicy.c
5945 - s/device_state_changed_idle_id/update_state_id/
5947 2008-03-02 Dan Williams <dcbw@redhat.com>
5951 src/nm-device-802-11-wireless.c
5952 src/nm-device-802-3-ethernet.c
5953 src/NetworkManagerPolicy.c
5954 - s/link_active/carrier
5955 - nm_device_set_active_link() -> nm_device_set_carrier()
5956 - nm_device_has_active_link() -> nm_device_get_carrier()
5958 2008-03-02 Dan Williams <dcbw@redhat.com>
5960 * system-settings/plugins/ifcfg-fedora/parser.c
5961 - (make_wireless_setting): fail connection creation on missing SSID
5963 2008-02-29 Dan Williams <dcbw@redhat.com>
5965 * src/NetworkManagerPolicy.c
5966 - (nm_policy_device_change_check): ensure that a previously active
5967 device with a system connection has a link before denying a switch
5968 to a user connection
5970 2008-02-29 Dan Williams <dcbw@redhat.com>
5972 * src/nm-device-802-11-wireless.c
5973 - (link_timeout_cb): try again if scanning; deactivate the device when
5974 activated if the link dies
5975 - (supplicant_iface_connection_state_cb_handler): bump link timeout to
5978 2008-02-29 Dan Williams <dcbw@redhat.com>
5980 * src/nm-device-802-11-wireless.c
5981 src/nm-device-802-11-wireless.h
5982 - (nm_device_802_11_wireless_reset_scan_interval): remove, unused
5983 elsewhere; fold into the sole user in nm-device-802-11-wireless.c
5984 - (device_cleanup): reset the scan interval lower when the device
5986 - (can_scan): base decision mostly off device state, not supplicant
5987 interface state since the supplicant interface state isn't a
5988 great indicator of whether the device is active or not
5989 - (request_wireless_scan): clean up; schedule the next scan here
5990 - (schedule_scan): only back the scan interval off if a new scan
5991 actually gets scheduled; and make scan intervals tighter when the
5992 device is disconnected
5993 - (supplicant_iface_state_cb_handler): fold in the bits of
5994 nm_device_802_11_wireless_reset_scan_interval() by resetting scan
5996 - (activation_success_handler): reset scan interval to something
5999 2008-02-28 Saleem Abdulrasool <compnerd@compnerd.org>
6001 reviewed by: Steev <steev@steev.net>
6004 * src/backends/NetworkManagerGentoo.c:
6005 (nm_system_restart_mdns_responder):
6006 Howl is no longer a supported mDNS provider
6008 2008-02-28 Tambet Ingo <tambet@gmail.com>
6010 Get rid of a bunch of unused distro specific functions.
6012 2008-02-28 Tambet Ingo <tambet@gmail.com>
6014 Implement suse plugin for system settings daemon.
6016 * system-settings/plugins/ifcfg-suse/*: Implement.
6018 * system-settings/plugins/Makefile.am: Add ifcfg-suse to subdirs when targeting
6021 * configure.in: Check (without failing) for gio.
6022 Create ifcfg-suse plugin's Makefile.
6024 2008-02-20 Dan Williams <dcbw@redhat.com>
6026 * libnm-util/nm-connection.c
6027 libnm-util/nm-connection.h
6028 - (nm_connection_compare): accept compare flags and pass them to the
6029 setting compare function
6031 * libnm-util/nm-setting.c
6032 libnm-util/nm-setting.h
6033 - (nm_setting_compare): accept compare flags; ignore properties that are
6036 * libnm-util/nm-setting-connection.c
6037 libnm-util/nm-setting-wireless.c
6038 libnm-util/nm-setting-ppp.c
6039 libnm-util/nm-setting-wired.c
6040 - Mark some setting properties as ignorable when doing a fuzzy compare
6043 - (device_activation_precheck): use exact compare
6045 2008-02-20 Dan Williams <dcbw@redhat.com>
6047 * src/NetworkManagerPolicy.c
6048 - (nm_policy_device_change_check): get scope off the connection, not
6049 using the manager helper
6053 - (get_scope_for_proxy): rename from get_type_for_proxy()
6054 - (connection_get_settings_cb): set scope and path on connection, not
6055 using GObject data items
6056 - (get_connection_for_proxy): don't need to return path, since that
6057 can be gotten from the connection
6058 - (get_connection_for_proxy): get path off the connection, not from
6060 - (connection_removed_cb, connection_updated_cb): don't need to get
6061 path from get_connection_for_proxy(); get scope off the connection
6062 instead of using GObject data items
6063 - (connection_added_default_handler, add_one_connection_element): use
6064 nm_connection_get_path() not nm_manager_get_connection_dbus_path()
6065 - (nm_manager_get_connection_dbus_path): remove
6066 - (nm_manager_get_connection_scope): remove
6068 2008-02-20 Dan Williams <dcbw@redhat.com>
6070 * Global rename of NMConnectionSettings -> NMExportedConnection to cut down
6073 * Add 'path' and 'scope' properties to NMConnection since both NM and the
6074 applet were having to hack this in anyway. Remove the 'path' stuff from
6075 NMExportedConnection
6077 * Internally rename NMConnectionType -> NMConnectionScope
6079 * Provide default implementations of the 'get_id' and 'get_settings' methods
6080 of NMExportedConnection
6082 2008-02-15 Dan Williams <dcbw@redhat.com>
6084 * src/nm-device-802-11-wireless.c
6085 - (device_cleanup): release the AP list here too so that the AP list
6086 doesn't survive across suspend/resume and up/down. There is some
6087 room for optimization, for example blow the list away when the card
6088 brought back up, but only if the device has only been down for a
6091 2008-02-15 Dan Williams <dcbw@redhat.com>
6093 * src/nm-hal-manager.c
6094 - (modem_device_creator): recognize new HAL modem capabilities
6096 2008-02-12 Dan Williams <dcbw@redhat.com>
6098 * system-settings/plugins/ifcfg-fedora/plugin.c
6099 - (watch_path): handle IN_DELETE_SELF too
6100 - (handle_connection_changed): notify when removing a connection
6101 - (stuff_changed): don't warn on unknown inotify watches; handle the
6102 case of a file moving out of the profile directory
6104 2008-02-12 Dan Williams <dcbw@redhat.com>
6106 * system-settings/plugins/ifcfg-fedora/parser.c
6107 - (make_ip4_setting): bring IPv4 setting handling more up to spec
6109 2008-02-12 Dan Williams <dcbw@redhat.com>
6111 * libnm-util/nm-utils.c
6112 - (nm_utils_convert_uint_array_to_string): don't die on NULL array, it's
6113 just any empty array
6115 2008-02-12 Dan Williams <dcbw@redhat.com>
6117 * system-settings/src/nm-system-config-interface.c
6118 system-settings/src/nm-system-config-interface.h
6119 - (load_connections): get_connections() should now return an allocated
6120 GSList that the system settings service will free
6122 * system-settings/plugins/ifcfg-fedora/plugin.c
6123 system-settings/plugins/ifcfg-fedora/parser.h
6124 system-settings/plugins/ifcfg-fedora/parser.c
6125 - Fix up inotify issues; handle keys-* files, handle new files appearing
6126 in the profile directory, handle resolv.conf file changes
6128 2008-02-10 Dan Williams <dcbw@redhat.com>
6130 * src/nm-device-802-3-ethernet.c
6131 - (real_bring_up): save the supplicant interface state signal id
6132 - (real_bring_down): disconnect from the supplicant interface state
6135 2008-02-07 Dan Williams <dcbw@redhat.com>
6137 * initscript/RedHat/NetworkManager.in
6138 initscript/RedHat/NetworkManagerDispatcher.in
6139 - Add new-style LSB init headers
6141 2008-02-07 Dan Williams <dcbw@redhat.com>
6143 * system-settings/src/dbus-settings.c
6144 system-settings/src/dbus-settings.h
6145 - (add_one_secret_to_hash): copy secrets out of the plugin-returned hash
6147 - (connection_settings_get_secrets): consolidate error returns into
6148 one place; use the new get_secrets() plugin interface function to
6149 get secrets from the plugin itself rather than using GObject data
6152 * system-settings/src/main.c
6153 - (connection_added_cb, connection_removed_cb, free_plugin_connections,
6154 load_connections): keep a private list of the plugin-returned
6155 connections, don't use the plugin's GSList
6157 * system-settings/plugins/ifcfg-fedora/plugin.c
6158 - (watch_path): watch the path, not the filename (duh)
6159 - (reload_all_connections): use the direct hash/equal functions; the
6160 ones for int aren't appropriate here
6161 - (get_secrets, system_config_interface_init): implement the
6162 get_secrets() function
6163 - (build_one_connection, find_connection_by_path): ifcfg file path is
6164 now in the connection's ConnectionData instead of being a GObject
6166 - (handle_profile_item_changed): ifcfg file path is now in the
6167 connection's ConnectionData instead of being a GObject data property;
6168 be sure to copy secrets over from the new connection to the existing
6169 connection when updating the connection's settings
6170 - (init): sc_plugin_inotify_init() returns success/fail, not the inotify
6173 * system-settings/plugins/ifcfg-fedora/parser.c
6174 system-settings/plugins/ifcfg-fedora/parser.h
6175 - (connection_data_get, copy_one_cdata_secret, clear_one_cdata_secret,
6176 connection_data_copy_secrets, connection_data_free,
6177 connection_data_add): new functions; connection data manipulation
6178 - (make_wireless_security_setting): stuff secrets into the
6179 connection data, not as GObject data items; make sure to close
6181 - (wireless_connection_from_ifcfg, wired_connection_from_ifcfg): add
6182 connection data to the connection
6184 2008-02-07 Dan Williams <dcbw@redhat.com>
6186 * system-settings/src/nm-system-config-interface.c
6187 system-settings/src/nm-system-config-interface.h
6188 - Add a get_secrets() interface function to retrieve secrets for a
6189 specific setting of a specific connection. Document the interface
6192 2008-02-07 Dan Williams <dcbw@redhat.com>
6194 * src/nm-device-802-11-wireless.c
6195 - (handle_auth_or_fail): new function; consolidate device activation
6196 failure check after a certain number of failures getting secrets
6197 - (supplicant_connection_timeout_cb, real_act_stage2_config,
6198 real_act_stage4_ip_config_timeout): use handle_auth_or_fail() to fail
6199 the connection if secrets were requested more than a few times
6200 - (real_act_stage3_ip_config_start): don't clear the wireless secrets
6201 tries here; otherwise they are cleared before the IP configure
6202 timeout, which happens with open system WEP when key is wrong
6203 - (activation_success_handler): clear wireless secrets tries here too
6205 2008-02-07 Dan Williams <dcbw@redhat.com>
6207 * src/NetworkManagerPolicy.c
6208 - (connection_updated): clear invalid tag when connection gets updated
6209 to allow that connection to be tried again
6210 - (nm_policy_new): save signal ids so they can be disconnected when
6211 the policy is destroyed
6212 - (nm_policy_destroy): stop any in-progress state change idle handler,
6213 and disconnect all signals from the manager object so that none
6214 of the policy functions gets called after the policy is destroyed
6216 2008-02-06 Dan Williams <dcbw@redhat.com>
6219 - (finalize): remove devices a bit earlier; clean up system settings
6221 - (nm_manager_name_owner_changed): clean up system settings poke when
6222 the service appears, and try to restart it if it fails
6223 - (poke_system_settings_daemon_cb): try to get the system settings
6224 service started through D-Bus service activation
6225 - (initial_get_connections): start the system settings daemon if it's
6228 2008-02-05 Dan Williams <dcbw@redhat.com>
6230 * src/supplicant-manager/nm-supplicant-config.c
6231 - (nm_supplicant_config_add_setting_wireless): send scan_ssid=1 for
6232 broadcast networks too
6234 2008-02-04 Dan Williams <dcbw@redhat.com>
6236 * system-settings/plugins/ifcfg-fedora/parser.c
6237 - (make_wireless_security_setting): fix spelling; unencrypted networks
6238 need key_mgmt set too
6239 - (parser_parse_file): validate ifcfg file name and don't try to parse
6240 .bak files; ensure that an error is set whenever NULL gets returned
6242 2008-02-04 Dan Williams <dcbw@redhat.com>
6244 * system-settings/src/Makefile.am
6245 - Install D-Bus service activation file for the system settings
6248 * system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service
6249 - D-Bus service activation file for system settings service
6251 2008-02-04 Dan Williams <dcbw@redhat.com>
6253 * system-settings/src/main.c
6254 - (parse_config_file): parse a config file
6255 - (main): accept --config option and read plugins from config file
6257 2008-02-04 Dan Williams <dcbw@redhat.com>
6259 * system-settings/plugins/ifcfg-fedora/plugin.c
6260 - Change reported name to 'ifcfg-fedora'
6261 - Use IFCFG_PLUGIN_NAME
6263 * system-settings/plugins/ifcfg-fedora/plugin.c
6264 - Remove PLUGIN_NAME, use IFCFG_PLUGIN_NAME instead
6266 2008-02-04 Dan Williams <dcbw@redhat.com>
6268 * system-settings/plugins/ifcfg-fedora/parser.c
6269 - (get_ifcfg_name): new function; factor out ifcfg name finding code
6270 - (make_connection_setting): use get_ifcfg_name()
6271 - (make_wireless_security_setting): handle shadow key files
6272 - (get_one_wep_key): treat empty string as NULL
6274 2008-02-04 Dan Williams <dcbw@redhat.com>
6276 * src/supplicant-manager/nm-supplicant-manager.c
6277 - (poke_supplicant_cb): reschedule the poke as a timeout, don't let
6278 glib automatically reschedule
6279 - (nm_supplicant_manager_init): immediately try to start the supplicant
6280 - (nm_supplicant_manager_name_owner_changed): immediately try to restart
6283 2008-02-01 Dan Williams <dcbw@redhat.com>
6285 * src/NetworkManagerPolicy.c
6286 - (device_state_changed): schedule a change check when a device gets
6287 deactivated so something happens if you disconnect GSM/CDMA
6289 2008-01-31 Dan Williams <dcbw@redhat.com>
6291 * src/nm-device-802-11-wireless.h
6292 src/nm-device-802-11-wireless.c
6293 - (ap_list_get_ap_by_ssid, is_associated,
6294 nm_device_802_11_wireless_ap_list_get_ap_by_ssid,
6295 nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): remove
6296 - (nm_device_802_11_wireless_get_activation_ap): collapse
6297 nm_device_802_11_wireless_ap_list_get_ap_by_obj_path() into this
6300 2008-01-30 Dan Williams <dcbw@redhat.com>
6302 * system-settings/plugins/ifcfg
6303 * system-settings/plugins/ifcfg-fedora
6304 - Move the ifcfg plugin to ifcfg-fedora
6306 2008-01-24 Dan Williams <dcbw@redhat.com>
6308 * libnm-glib/nm-device-802-11-wireless.c
6309 - (get_access_point): move the "/" check here; check for invalid path
6311 - (nm_device_802_11_wireless_set_active_ap): leave the "/" check up
6312 to get_access_point()
6313 - (access_point_added_proxy, access_point_removed_proxy): don't try
6314 to send signals for non-existent access points
6316 2008-01-24 Dan Williams <dcbw@redhat.com>
6318 * libnm-glib/nm-device-802-11-wireless.c
6319 - (nm_device_802_11_wireless_set_active_ap): path of "/" means no AP
6321 2008-01-23 Dan Williams <dcbw@redhat.com>
6323 * libnm-glib/libnm_glib.c
6324 - (libnm_glib_init): make thread joinable
6325 - (libnm_glib_ctx_free): join thread on exit to clean up memory
6327 2008-01-23 Dan Williams <dcbw@redhat.com>
6329 * test/libnm_glib_test.c
6330 - (signal_handler, setup_signals): trap SIGINT and SIGTERM
6331 - (main): set up signal handlers; call libnm_glib_shutdown
6333 2008-01-21 Dan Williams <dcbw@redhat.com>
6335 * include/NetworkManager.h
6336 - Add CDMA mobile broadband card device type
6338 * src/nm-hal-manager.c
6339 - (modem_device_creator): handle both CDMA and GSM modems; the device
6340 must now be tagged with 'cdma' or 'gsm' capability
6342 * src/nm-cdma-device.c
6343 src/nm-cdma-device.h
6345 - Add the CDMA mobile broadband card device class
6347 * libnm-util/nm-connection.c
6348 - (register_default_settings): add NMSettingCdma
6350 * libnm-util/nm-setting-cdma.c
6351 libnm-util/nm-setting-cdma.h
6352 libnm-util/Makefile.am
6353 - Add the CDMA mobile broadband card setting class
6355 * libnm-glib/nm-cdma-device.c
6356 libnm-glib/nm-cdma-device.h
6357 libnm-glib/Makefile.am
6358 - Add the CDMA mobile broadband card GLib proxy class
6360 * libnm-glib/nm-client.c
6361 - (get_device): handle CDMA devices too
6363 2008-01-21 Dan Williams <dcbw@redhat.com>
6365 * src/ppp-manager/nm-ppp-manager.c
6366 - (ip4_config_get): set peer address too
6368 * src/ppp-manager/nm-pppd-plugin.c
6369 - (nm_ip_up): try harder to get the peer's address
6371 * src/NetworkManagerSystem.c
6372 - (nm_system_device_set_from_ip4_config): if the IP4Config has a peer
6373 address, use that too. Otherwise, some PPP connections won't work.
6375 2008-01-19 Dan Williams <dcbw@redhat.com>
6377 * src/NetworkManagerPolicy.c
6378 - (nm_policy_device_change_check): system connections override user
6379 connections; don't activate a user connection if there's a currently
6380 active system connection, and new, better system connections always
6381 interrupt user connections
6383 2008-01-19 Dan Williams <dcbw@redhat.com>
6386 - (nm_manager_get_connection_type): new function
6388 2008-01-19 Dan Williams <dcbw@redhat.com>
6390 * src/nm-device-802-11-wireless.c
6391 - (real_get_best_connection): collapse find_best_connection() into this
6394 2008-01-19 Dan Williams <dcbw@redhat.com>
6396 * src/nm-device-802-3-ethernet.c
6397 - (real_get_best_connection): collapse find_best_connection() into this
6400 2008-01-18 Dan Williams <dcbw@redhat.com>
6402 * src/nm-device-802-3-ethernet.c
6403 - (find_best_connection): check MAC address too
6404 - (real_get_best_connection): let autoconnect=True connections activate
6405 for devices that don't have carrier detection
6407 * src/nm-device-802-11-wireless.c
6408 - (find_best_connection): check MAC address too
6410 2008-01-18 Dan Williams <dcbw@redhat.com>
6412 * system-settings/plugins/ifcfg/parser.c
6413 - (make_connection_setting): interpret ON_BOOT=y as 'autoconnect=True'
6415 2008-01-17 Dan Williams <dcbw@redhat.com>
6417 * src/nm-device-802-3-ethernet.c
6418 - (nm_device_802_3_ethernet_carrier_on,
6419 nm_device_802_3_ethernet_carrier_off): ignore any spurious netlink
6420 carrier events that might come in for devices that don't support
6423 2008-01-17 Dan Williams <dcbw@redhat.com>
6425 * src/nm-device-interface.c
6426 - (nm_device_interface_check_connection_conflicts): need to actually
6427 get the interface, not cast to the object
6430 - (nm_device_check_connection_conflicts): need to get the device class,
6431 not cast the device to the device class
6433 2008-01-17 Dan Williams <dcbw@redhat.com>
6435 * src/nm-device-802-11-wireless.c
6436 - (real_check_connection_conflicts): ignore connections that aren't
6437 wireless connections
6439 2008-01-17 Dan Williams <dcbw@redhat.com>
6441 * src/NetworkManagerPolicy.c
6442 - (nm_policy_device_change_check): clear change check idle here
6443 - (device_change_check_done): remove
6444 - (schedule_change_check): simplify
6446 2008-01-17 Dan Williams <dcbw@redhat.com>
6449 - (check_connection_allowed): take an NMDeviceInterface instead of
6450 an NMDevice object as an argument
6451 - (nm_manager_activate_device): pass an NMDeviceInterface to
6452 check_connection_allowed()
6454 2008-01-13 Dan Williams <dcbw@redhat.com>
6456 * libnm-glib/nm-device-802-11-wireless.c
6457 - (nm_device_802_11_wireless_get_access_points): fix memory leak
6459 2008-01-12 Dan Williams <dcbw@redhat.com>
6461 * src/nm-device-802-11-wireless.c
6462 - (activation_success_handler): if a match was found in the scan list
6463 and that match is a hidden AP, update that AP's SSID
6465 2008-01-11 Dan Williams <dcbw@redhat.com>
6467 * src/NetworkManagerAP.c
6468 - (nm_ap_new_fake_from_connection): mark fake APs as fake
6470 * src/nm-device-802-11-wireless.c
6471 - (get_active_ap): do two passes over the scan list if the caller
6472 requests that hidden APs get matched too; during the second pass
6473 when matching hidden APs, ignore the SSID since hidden APs in the
6474 scan list don't have an SSID yet
6475 - (periodic_update): move some checks to
6476 nm_device_802_11_periodic_update() because not all callers need them
6477 - (nm_device_802_11_periodic_update): move some checks here from
6479 - (merge_scanned_ap): if the current AP is fake, then don't do strict
6480 matching on incoming scan results, because the fake AP's flags
6481 might be slightly different (yet still compatible) with the incoming
6482 scan result's flags and they might actually be the same AP; update
6483 the rate on merged APs too
6484 - (activation_success_handler): update the frequency of the fake AP
6485 on successful connection; match hidden APs too since if the
6486 current AP is fake, there might already be a scan result in the
6487 scan list for the desired AP, just without it's SSID filled in yet
6489 2008-01-10 Dan Williams <dcbw@redhat.com>
6491 * src/NetworkManagerAP.c
6492 - (foreach_property_cb): catch more hidden SSID formats
6494 2008-01-10 Dan Williams <dcbw@redhat.com>
6496 Fix gnome.org #464215. Requires the kernel patch titled
6497 "Introduce WEXT scan capabilities" but will handle the patch not being
6498 present, you'll just continue to have problems with hidden SSIDs when
6499 using mac80211-based drivers.
6501 * src/supplicant-manager/nm-supplicant-config.h
6502 src/supplicant-manager/nm-supplicant-config.c
6503 - (nm_supplicant_config_add_setting_wireless): new parameter to indicate
6504 whether the driver supports SSID scans or not. If it does, and if
6505 the AP is hidden, use ap_scan=1 instead of ap_scan=2
6507 * src/nm-device-802-11-wireless.c
6508 - (constructor): check whether or not the driver supports SSID scans
6509 - (build_supplicant_config): pass driver SSID scan capability when
6510 building the wireless bits of the supplicant config
6512 2008-01-09 Dan Williams <dcbw@redhat.com>
6516 - (device_activation_precheck, check_connection_complete): remove this
6517 virtual function; incomplete connections should be invalid by
6518 definition, complete-ness should be checked in the setting's
6521 * src/nm-serial-device.c
6523 - (real_check_connection_complete): remove
6525 * libnm-util/nm-setting-serial.c
6526 - (verify): new function; ensure there is a PPP setting too
6528 * libnm-util/nm-setting-gsm.c
6529 - (verify): ensure there is a serial setting too
6531 2008-01-06 Dan Williams <dcbw@redhat.com>
6533 * src/dhcp-manager/nm-dhcp-manager.c
6534 - (nm_dhcp_manager_get_ip4_config): handle DHCP-provided MTU
6537 2008-01-04 Dan Williams <dcbw@redhat.com>
6539 * src/named-manager/nm-named-manager.c
6540 - (rewrite_resolv_conf, add_ip4_config_to_named): use primary IP4Config's
6541 nameservers if the secondary config doesn't have any
6544 2008-01-02 Tambet Ingo <tambet@gmail.com>
6546 * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Mark the properties
6547 with G_PARAM_CONSTRUCT so that they get the default values.
6549 * src/nm-gsm-device.c: Add preliminary support for monitoring device. It only monitors
6550 the monitoring device and prints out the output for now. Or more precicely, doesn't
6551 do absolutely anything right now since the montoring device argument is never set.
6553 * src/nm-serial-device.c (serial_debug): Implement. It's very verbose and thus
6554 requires it's own knob to turn it on.
6555 (config_fd): Add NMSettingSerial to the arguments list.
6556 (nm_serial_device_open): Ditto.
6557 (get_reply_got_data): Ignore the terminators at the beginning of the output.
6558 (nm_serial_device_get_io_channel): Implement.
6560 * src/nm-manager.c: Add NMDBusManager to the private data of the NMManager. Asking
6561 a new reference every time (and forgetting to release it sometimes) is a pain and
6562 it's not like NMManager could work without dbus.
6563 (nm_manager_add_device): Register the added device on dbus here.
6565 * src/nm-hal-manager.c (modem_device_creator): Pass NULL for now for the monitoring
6568 * src/nm-device.c (constructor): Don't export the device here, instead export
6569 it when it's added to the NMManager's device list.
6571 2007-12-31 Dan Williams <dcbw@redhat.com>
6573 * src/nm-device-interface.c
6574 src/nm-device-interface.h
6575 - (nm_device_interface_check_connection_conflicts): new function
6579 - (nm_device_check_connection_conflicts): new function
6580 - (device_activation_precheck): don't require subclasses to implement
6581 check_connection_complete()
6582 - check_connection() -> check_connection_complete()
6584 * src/nm-device-802-11-wireless.c
6585 - (real_check_connection): remove; unused
6586 - (real_check_connection_conflicts): implement, handle lockdown for
6589 * src/nm-device-802-3-ethernet.c
6590 - (real_check_connection): remove; unused
6593 - (check_connection_allowed): new function
6594 - (nm_manager_activate_device): ensure the connection being requested
6595 is allowed to be activated
6597 * src/nm-serial-device.c
6599 - real_check_connection() -> real_check_connection_complete()
6601 2007-12-27 Dan Williams <dcbw@redhat.com>
6603 * src/nm-device-interface.c
6604 src/nm-device-interface.h
6605 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
6606 normalize and expand errors
6607 - (nm_device_interface_init): register errors so they can be marshalled
6609 - (nm_device_interface_activate): ensure that failure of activation
6614 - (device_activation_precheck): implementations of check_connection()
6615 now take a GError and must fill it in if the check fails. Return
6616 more descriptive error if the requested connection is already
6618 - (nm_device_activate): actually try to return descriptive errors on
6621 * src/nm-device-802-11-wireless.c
6622 src/nm-device-802-3-ethernet.c
6623 src/nm-serial-device.c
6625 - (real_check_connection): return more descriptive errors on failure
6627 * src/NetworkManagerPolicy.c
6628 - (nm_policy_device_change_check): print activation errors in the logs
6631 - (nm_manager_error_quark, nm_manager_error_get_type,
6632 nm_manager_class_init): new errors
6633 - (nm_manager_activate_device): handle errors
6634 - (nm_manager_error_new): removed
6635 - (wait_for_connection_expired, connection_added_default_handler,
6636 impl_manager_activate_device): better error handling
6638 2007-12-27 Dan Williams <dcbw@redhat.com>
6640 Fixes gnome.org #466954
6642 * src/supplicant-manager/nm-supplicant-settings-verify.c
6643 - Allow 'frequency' network property
6645 * src/supplicant-manager/nm-supplicant-config.c
6646 src/supplicant-manager/nm-supplicant-config.h
6647 - (nm_supplicant_config_add_setting_wireless): add 'adhoc_freq' argument
6648 for callers to specify the frequency an Ad-Hoc network should operate
6649 on. Some drivers require this to successfully create an Ad-Hoc
6652 * src/nm-device-802-11-wireless.c
6653 - (iw_freq_to_uint32): new function; convert a struct iw_freq into a
6654 guint32 value in MHz
6655 - (constructor, nm_device_802_11_wireless_get_frequency): use
6657 - (find_supported_frequency): new function; find a free supported
6658 frequency for a user-created Ad-Hoc network
6659 - (build_supplicant_config): if no frequency was specified for a user-
6660 created Ad-Hoc network, find a free one to use
6661 - (real_act_stage1_prepare): mark Ad-Hoc connections that don't have
6662 a specific object as user-created
6664 2007-12-27 Dan Williams <dcbw@redhat.com>
6666 * libnm-util/nm-utils.c
6667 libnm-util/nm-utils.h
6668 - (nm_utils_security_valid): add 'adhoc' argument and handle security
6671 2007-12-24 Dan Williams <dcbw@redhat.com>
6673 * libnm-util/nm-setting-wireless.c
6674 - (verify): add 802.11a channels 7, 8, 9, 11, 12, 16, 34, 165, 183, 184,
6675 185, 187, 188, 192, and 196
6677 2007-12-24 Dan Williams <dcbw@redhat.com>
6679 * src/nm-device-802-11-wireless.c
6680 - (nm_device_802_11_wireless_get_frequency): handle drivers that return
6681 a channel # instead of a frequency
6683 2007-12-24 Dan Williams <dcbw@redhat.com>
6685 * src/NetworkManagerAP.c
6686 src/NetworkManagerAP.h
6687 - (nm_ap_new_fake_from_connection): pass band to channel_to_freq()
6688 - (freq_to_channel): handle split band tables
6689 - (channel_to_freq): handle split band tables, take a band argument
6691 2007-12-24 Dan Williams <dcbw@redhat.com>
6693 * libnm-util/nm-setting-connection.h
6694 libnm-util/nm-setting-connection.c
6695 - Add 'lockdown' member
6697 2007-12-22 Dan Williams <dcbw@redhat.com>
6699 * libnm-util/nm-setting-wireless.c
6700 - (nm_setting_wireless_class_init): add missing 'rate' property
6703 2007-12-18 Dan Williams <dcbw@redhat.com>
6705 Base the NMNetlinkMonitor class on libnl instead of hand-rolled netlink.
6707 * src/nm-netlink-monitor.c
6708 src/nm-netlink-monitor.h
6709 - Remove handrolled netlink, use libnl instead
6711 * src/nm-device-802-3-ethernet.c
6712 - (constructor, nm_device_802_3_ethernet_carrier_off,
6713 nm_device_802_3_ethernet_carrier_on): use new names
6715 2007-12-17 Dan Williams <dcbw@redhat.com>
6718 - Bump requirement for libnl to 1.0-pre8 (which works with newer kernels
6719 and fixes memory leaks)
6722 - (nm_netlink_get_default_handle): handle new versions of libnl that
6723 automatically handle the netlink PID
6725 2007-12-17 Dan Williams <dcbw@redhat.com>
6727 Patch from Michael Biebl <biebl@debian.org>
6730 src/ppp-manager/Makefile.am
6731 - fix up install dir of pppd plugin
6732 - clean up configure.in a bit
6734 2007-12-12 Dan Williams <dcbw@redhat.com>
6736 * system-settings/src/nm-system-settings.conf
6737 - Allow non-root clients (like the applet) to read settings
6739 2007-12-10 Tambet Ingo <tambet@gmail.com>
6741 * Replace all occurences of 'UMTS' with 'GSM'.
6743 2007-12-07 Dan Williams <dcbw@redhat.com>
6745 * src/nm-serial-device.c
6746 - (real_is_up): serial devices are always "up"
6748 2007-12-07 Dan Williams <dcbw@redhat.com>
6751 src/NetworkManagerSystem.c
6752 - (new_nl_handle): ensure that the same netlink pid is never chosen
6753 twice (gnome.org #491047)
6754 - Make more robust against allocation-related failures should they occur
6756 2007-12-07 Dan Williams <dcbw@redhat.com>
6758 Noticed by Christian Persch <chpe@gnome.org>
6760 Always chain up to parent object in dispose and finalize handlers.
6763 2007-12-07 Dan Williams <dcbw@redhat.com>
6765 * src/nm-device-802-11-wireless.c
6766 - Wrap #include of linux/mii.h to fix redefined structures due to
6767 incorrect kernel headers (gnome.org #350061)
6769 2007-12-06 Tambet Ingo <tambet@gmail.com>
6771 * src/nm-umts-device.c (real_act_stage1_prepare): Flash the modem (drop DTR)
6772 before doing anything else.
6773 (init_modem): Move modem initialization here.
6775 * src/nm-serial-device.c (ppp_state_changed): React on pppd state changes.
6776 (nm_serial_device_flash): Implement.
6778 * src/ppp-manager/nm-ppp-manager.c (name_owner_changed): Fix the typoes: the state
6779 changes signal is "StateChanged" and not "Status".
6780 (ppp_exit_code, ppp_status_changed): Remove the debug output, it's working fine now.
6782 2007-12-06 Dan Williams <dcbw@redhat.com>
6784 * src/supplicant-manager/nm-supplicant-config.c
6785 - (nm_supplicant_config_add_setting_wireless_security): reorganize a bit
6786 to only send some options when they make sense; also send phase2
6787 option to the supplicant (possible fix for rh #399631)
6789 2007-12-06 Tambet Ingo <tambet@gmail.com>
6791 * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Change the
6792 arguments: This whole file shouldn't really know anything about NMDevices, it
6793 should deal only with device interfaces. Devices might have different ifaces for
6794 different stuff and this place shouldn't know anything about it.
6796 * src/NetworkManagerPolicy.c: Get rid of leftover global variable global_policy.
6797 (global_state_changed): Implement. In the current NM it's not really important,
6798 but will be required in the case of multiple active devices. (Or even better,
6799 if stuff like that gets moved out from NM).
6801 * src/vpn-manager/nm-vpn-connection.c (connection_state_changed): Don't call
6802 nm_system_device_set_from_ip4_config() directly, use nm_device_set_ip4_config()
6805 * src/nm-device.c: Add a ip_face protected member. It's used for 'multi-interface'
6806 devices like serial devices (ttyS0 and ppp0 for example).
6807 (nm_device_get_ip_iface): Implement. Default to the device iface if ip_iface is not
6809 (nm_device_set_ip_iface): Implement.
6810 (nm_device_activate_stage5_ip_config_commit): Move all the extra actions that happen
6811 after setting ip4_config from here ...
6812 (nm_device_set_ip4_config): ... to here. The reason behind it is that no other code
6813 than this function should call nm_system_device_set_from_ip4_config() because no
6814 other code has enough information on which arguments to use. So instead, other code
6815 could just set the new ip4 config using this function and everyone is happy.
6817 * src/nm-umts-device.c: Store the pending ids so that we can remove pending actions
6818 if we happen to get deactivated while something is pending.
6819 (automatic_registration): Handle the response that indicates pending network
6820 registration and wait until the pending registration is done.
6821 (real_deactivate_quickly): If there's a pending operation, cancel it.
6823 * src/nm-serial-device.c (ppp_ip4_config): Set the ip_iface when the iface is up ...
6824 (real_deactivate_quickly): ... and remove it when it's down.
6825 (nm_serial_device_get_reply): Return the timeout id so that the callers can remove
6827 (nm_serial_device_wait_for_reply): Ditto.
6829 2007-12-05 Tambet Ingo <tambet@gmail.com>
6831 * src/nm-umts-device.c (dial_done): Fix the typoes in warnings.
6832 (get_network_done): Remove newline, nm_info() does it already.
6833 (real_act_stage1_prepare): Turn the modem echo off.
6835 * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): In case of serial
6836 device, set the route to the device interface. This is a hack.
6838 * src/nm-serial-device.c (nm_serial_device_send_command_string): Only append carriage
6839 return, no need for a new-line.
6840 (ppp_ip4_config): Store the ip4 config to be set in the next stage.
6841 Change the device iface here (ugh).
6842 (real_act_stage4_get_ip4_config): Implement.
6843 (real_deactivate_quickly): Free the pending ip4 config if it's still pending.
6844 Restore the device iface.
6846 * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Do nothing if the active
6847 device is not wired or wireless (eg, automatically upped) device.
6849 * src/ppp-manager/nm-ppp-manager.c (ip4_config_get): Don't make the config secondary,
6851 (nm_ppp_manager_start): Don't let pppd to set the default route, we want to do it.
6853 * src/nm-hal-manager.c (get_creator): Make sure the device has required capability
6854 before calling it's is_device_fn().
6856 2007-12-05 Dan Williams <dcbw@redhat.com>
6858 * libnm-util/nm-utils.c
6859 - (nm_utils_register_value_transformations,
6860 nm_utils_convert_gvalue_hash_to_string): better debug output of
6861 GHashTables of GValues too
6863 2007-12-04 Dan Williams <dcbw@redhat.com>
6865 * initscript/RedHat/NetworkManager.in
6866 - No longer start named; it's D-Bus interface is going away
6868 2007-12-04 Dan Williams <dcbw@redhat.com>
6870 Patch from Michael Biebl <biebl@debian.org>
6872 * system-settings/plugins/ifcfg/Makefile.am
6873 system-settings/src/main.c
6874 system-settings/src/Makefile.am
6875 - Put system settings plugins in NM plugins dir
6877 * src/ppp-manager/Makefile.am
6878 src/ppp-manager/nm-ppp-manager.c
6879 - Move pppd plugin to NM plugins dir
6881 2007-12-04 Dan Williams <dcbw@redhat.com>
6883 * libnm-util/nm-setting-vpn-properties.h
6884 - Clarify usage of the 'data' member of the setting
6886 * libnm-util/nm-setting-vpn-properties.c
6887 - (nm_setting_vpn_properties_init): initialize the 'data' hash table
6888 - (set_property): just remove all the settings; don't recreate the has
6889 - (update_one_secret): don't need to create the hash table here since
6890 it should always be present
6892 2007-12-03 Tambet Ingo <tambet@gmail.com>
6894 Implement PIN and PUK requesting.
6896 * src/nm-umts-device.c (enter_pin_done): Request the secret again if it failed.
6897 (enter_pin): Handle PIN and PUK requests.
6898 (real_act_stage1_prepare): Clear the secret type.
6899 (real_connection_secrets_updated): Implement this class method to get
6900 notified when new secrets arrive.
6901 (nm_umts_device_class_init): Add private data back to the umts device class
6902 to store the required secret type.
6904 2007-12-01 Dan Williams <dcbw@redhat.com>
6906 * system-settings/plugins/ifcfg/parser.c
6907 - (parser_parse_file): don't try to verify NULL connections
6909 2007-12-01 Dan Williams <dcbw@redhat.com>
6911 * system-settings/src/main.c
6912 - (load_connections, add_connection_to_settings): actually export
6913 plugin-provided connections over D-Bus so NM can get them
6915 2007-12-01 Dan Williams <dcbw@redhat.com>
6917 * system-settings/plugins/ifcfg/parser.c
6918 system-settings/plugins/ifcfg/parser.h
6919 system-settings/plugins/ifcfg/plugin.c
6920 - Hook up more inotify bits (untested)
6922 2007-11-29 Dan Williams <dcbw@redhat.com>
6924 * system-settings/src/nm-system-config-interface.h
6925 system-settings/src/nm-system-config-interface.c
6926 - (nm_system_config_interface_init,
6927 nm_system_config_interface_get_connections): add
6929 * system-settings/src/main.c
6930 - (load_plugins, load_connections, main): use a GSList for plugins
6931 to ensure priority ordering
6933 * system-settings/plugins/ifcfg/parser.c
6934 - (ifcfg_error_quark): move to plugin.c, and rename
6936 * system-settings/plugins/ifcfg/plugin.h
6937 system-settings/plugins/ifcfg/plugin.c
6938 - (ifcfg_plugin_error_quark): move here from parser.c
6939 - rework connection loading and initialization
6940 - Add preliminary inotify support for network profile config file
6942 2007-11-28 Tambet Ingo <tambet@gmail.com>
6944 Merge the beginnings of the new GSM card support.
6946 * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Remove the
6947 ppp watch source before killing pppd - If this happens from g_object_unref()
6948 then the ppp manager is already destroyed by the time the watch callback runs.
6950 * src/nm-hal-manager.c: Add a device_type_name string to the device
6951 creators, so that we can print a nice human readable string when a
6954 * src/nm-umts-device.c (automatic_registration_get_network): Query
6955 for the activated network, not much is done with the result thought.
6957 * src/nm-serial-device.c (nm_serial_device_get_reply): Implement.
6958 (ppp_ip4_config): Change the device state to activated here for now.
6959 (real_check_connection): Make sure the connection includes ppp setting.
6961 * libnm-glib/nm-client.c (get_device): Handle umts devices.
6963 * libnm-glib/Makefile.am: Add the new files to build.
6965 * libnm-glib/nm-umts-device.c:
6966 * libnm-glib/nm-umts-device.h: Implement.
6968 2007-11-26 Tambet Ingo <tambet@gmail.com>
6970 * src/nm-umts-device.c (automatic_registration_get_network): For now, dial
6971 immediately, nm_serial_device_get_reply() isn't implemented correctly yet.
6973 * src/nm-serial-device.c (wait_for_reply_info_destroy): Don't try to remove
6974 the timeout source - this function is only called when the timeout source has
6976 (nm_serial_device_wait_for_reply): Allocate the duplicate responses array
6977 to be big enough to contain the terminating zero element as well.
6978 The timeout argument is meant to be in seconds now.
6979 (real_deactivate_quickly): Implement.
6981 * src/NetworkManager.conf: Allow root to own
6982 "org.freedesktop.NetworkManager.PPP", deny it for everybody else.
6984 * libnm-util/nm-setting-umts.c: Network type and band properties are ints,
6985 (not unsigned ints).
6987 * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Fix a
6988 small issue with parity bounds - capital letters have lower ascii codes
6989 than lower case letters.
6991 * libnm-util/nm-connection.c (register_default_settings): Register serial
6994 2007-11-22 Tambet Ingo <tambet@gmail.com>
6996 Remove the "index" property from devices as not all device types have this.
6998 * include/NetworkManager.h (NM_DBUS_PATH_DEVICE): Remove.
7000 * src/nm-hal-manager.c (nm_get_device_index_from_hal): Remove.
7001 (wired_device_creator): Get the device interface from hal to create the device.
7002 (wireless_device_creator): Ditto.
7004 * src/nm-device.c (nm_device_init): Remove the index member.
7005 (constructor): Remove the checks for index property, make interface property
7006 a require constructor property.
7007 Use the HAL udi for DBus path for devices.
7008 (nm_device_get_index): Remove.
7009 (set_property): Remove index handling.
7010 (get_property): Ditto.
7011 (nm_device_get_dbus_path): Remove.
7013 * src/nm-device-interface.c (nm_device_interface_init): Remove the index
7016 * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_link_activated):
7017 Access the device index through it's interface.
7018 (nm_device_802_3_ethernet_link_deactivated): Ditto.
7019 (nm_device_802_3_ethernet_new): Remove the useless argument test_dev. Remove
7020 index argument. Add interface argument.
7022 * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new): Remove
7023 the useless test_dev argument. Remove index argument. Add interface arugment.
7025 * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Get the
7026 device index through interface.
7027 (nm_system_set_mtu): Ditto.
7029 * introspection/nm-device.xml: Remove the "Index" property.
7031 2007-11-21 Tambet Ingo <tambet@gmail.com>
7033 * src/nm-serial-device.c:
7034 * src/nm-serial-device.c:
7035 * src/nm-umts-device.c:
7036 * src/nm-umts-device.h: Implement.
7038 * src/nm-hal-manager.c (nm_get_device_driver_name): libhal_free_string the string
7039 allocated by libhal.
7040 (modem_device_creator): Implement.
7041 (register_built_in_creators): Register the modem creator.
7043 * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new):
7044 Remove the unused test_dev argument.
7046 * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_new): Ditto.
7048 * src/Makefile.am: Add new files to build.
7049 Link in ppp-manager.
7051 * libnm-util/nm-setting-umts.c:
7052 * libnm-util/nm-setting-umts.h:
7053 * libnm-util/nm-setting-serial.c:
7054 * libnm-util/nm-setting-serial.h: Implement.
7056 * libnm-util/Makefile.am: Add new files to build.
7058 2007-11-28 Dan Williams <dcbw@redhat.com>
7060 Patch from Zdeněk Jurka <zdenek.jurka@jware.cz>
7062 Support DHCP-provided static routes.
7064 * src/nm-ip4-config.h
7066 - Add get/set functions for static routes
7068 * src/dhcp-manager/nm-dhcp-manager.c
7069 - (nm_dhcp_manager_get_ip4_config): extract static routes from the
7072 * src/NetworkManagerSystem.c
7073 - (nm_system_device_set_from_ip4_config): set any static routes on the
7074 interface when applying the IP4Config
7076 2007-11-28 Dan Williams <dcbw@redhat.com>
7078 * src/nm-device-802-11-wireless.c
7079 - (real_act_stage1_prepare): mark APs created for hidden networks
7082 2007-11-27 Dan Williams <dcbw@redhat.com>
7084 * system-settings/src/nm-system-config-interface.h
7085 - Note how to store secrets on NMSetting objects
7087 * system-settings/src/dbus-settings.c
7088 - (connection_settings_get_secrets): implement
7090 2007-11-27 Dan Williams <dcbw@redhat.com>
7092 * system-settings/plugins/ifcfg/Makefile.am
7093 system-settings/plugins/ifcfg/parser.c
7094 system-settings/plugins/ifcfg/parser.h
7095 system-settings/plugins/ifcfg/plugin.c
7096 - Parse wireless connections too
7098 * system-settings/src/dbus-settings.c
7099 system-settings/src/dbus-settings.h
7100 system-settings/src/main.c
7101 - Handle connection update/removal if the plugin supports it
7103 2007-11-27 Dan Williams <dcbw@redhat.com>
7105 * src/nm-dbus-manager.h
7106 src/nm-hal-manager.c
7107 - Include the correct headers now that NetworkManagerDbusUtils.h doesn't
7111 src/NetworkManagerDbusUtils.c
7112 src/NetworkManagerDbusUtils.h
7113 - Remove these two source files; they are unused
7115 2007-11-27 Dan Williams <dcbw@redhat.com>
7117 * src/vpn-manager/nm-vpn-manager.c
7118 - (impl_vpn_manager_connect): fix system settings check (found by
7121 2007-11-26 Dan Williams <dcbw@redhat.com>
7123 * Fix warnings so everything compiles with --enable-more-warnings
7125 2007-11-25 Dan Williams <dcbw@redhat.com>
7128 - Rework structure and code to use GModule-loaded plugins and a plugin
7129 interface that plugins export to the system settings service
7131 2007-11-21 Dan Williams <dcbw@redhat.com>
7134 - Add Soren's system settings service. Needs work for distros other
7135 than Fedora; the backends from NM should mostly migrate to here
7136 and be converted to GObjects
7138 2007-11-21 Dan Williams <dcbw@redhat.com>
7140 * libnm-util/nm-setting-vpn-properties.c
7141 - (set_property): must deep-copy the given settings hash, otherwise
7142 double-free errors occur when the setting is disposed of
7144 2007-11-21 Dan Williams <dcbw@redhat.com>
7146 * src/vpn-manager/nm-vpn-act-request.h
7147 src/vpn-manager/nm-vpn-act-request.c
7150 2007-11-20 Dan Williams <dcbw@redhat.com>
7152 * libnm-util/nm-utils.c
7153 - (nm_utils_convert_strv_to_string, nm_utils_convert_uint_array_to_string,
7154 nm_utils_convert_ip4_addr_struct_array_to_string,
7155 nm_utils_register_value_transformations): print out the readable
7156 values of more types of properties of NMSettings subclasses
7158 2007-11-20 Dan Williams <dcbw@redhat.com>
7160 * libnm-util/nm-setting-ip4-config.c
7161 - (ip4_addresses_from_gvalue, ip4_addresses_to_gvalue,
7162 nm_setting_ip4_config_class_init): apparently dbus-glib can't
7163 marshal GValueArrays inside collections, so switch to types that it
7164 can actually marshal/demarshal
7166 2007-11-16 Dan Williams <dcbw@redhat.com>
7168 * libnm-util/nm-setting-wireless-security.c
7169 - (verify_tls, verify_ttls, verify_identity, verify_nai): do some
7170 minimal verification of EAP methods too
7171 - (verify): verify phase1 eap methods too
7173 2007-11-15 Dan Williams <dcbw@redhat.com>
7175 * libnm-glib/nm-device.h
7176 libnm-glib/nm-device.c
7177 - (nm_device_get_product, nm_device_get_vendor): should be returning
7180 2007-11-15 Dan Williams <dcbw@redhat.com>
7182 * libnm-glib/nm-device.c
7183 - (get_product_and_vendor): don't try to free things that should be
7186 2007-11-15 Dan Williams <dcbw@redhat.com>
7188 * src/NetworkManagerUtils.c
7189 - (nm_ethernet_address_is_valid): unbreak previous fix
7191 2007-11-15 Dan Williams <dcbw@redhat.com>
7193 * src/supplicant-manager/nm-supplicant-config.c
7194 - (nm_supplicant_config_add_setting_wireless_security): handle PEAP
7197 2007-11-15 Dan Williams <dcbw@redhat.com>
7199 * src/NetworkManagerUtils.c
7200 - (nm_ethernet_address_is_valid): fix style, clarify
7201 - (nm_ethernet_addresses_are_equal): don't try to memcmp NULLs
7203 * src/nm-device-802-11-wireless.c
7204 - (get_active_ap): handle failure from nm_device_802_11_wireless_get_bssid()
7205 - (nm_device_802_11_wireless_get_ssid,
7206 nm_device_802_11_wireless_get_bssid,
7207 nm_device_802_11_wireless_get_bitrate): zero the wreq structure
7208 before calling the ioctl; fixes valgrind-reported jump depends on
7209 uninitialized value errors
7211 2007-11-15 Dan Williams <dcbw@redhat.com>
7213 * libnm-util/nm-setting.c
7214 - (nm_setting_to_hash, one_property_cb): revert previous commit, it's
7215 unecessary to serialize 'name'
7217 * src/nm-activation-request.c
7218 - (get_secrets_cb): fix cases where a full NMSetting is returned from
7221 2007-11-15 Dan Williams <dcbw@redhat.com>
7223 * libnm-util/nm-setting-connection.h
7224 libnm-util/nm-setting-connection.c
7225 - Rename the 'name' property to 'id', because it conflicted with the
7226 NMSetting superclass' 'name' property.
7228 * libnm-util/nm-setting.c
7229 - (nm_setting_to_hash): serialize the 'name' property
7230 - (one_property_cb): ignore 'name' on deserialization of a connection
7232 * src/nm-device-802-11-wireless.c
7233 src/vpn-manager/nm-vpn-connection.c
7234 src/NetworkManagerPolicy.c
7235 - Fix up for NMSettingConnection 'name'->'id' changes
7237 2007-11-13 Dan Williams <dcbw@redhat.com>
7239 * libnm-glib/nm-device-802-11-wireless.h
7240 libnm-glib/nm-device-802-11-wireless.c
7241 - (nm_device_802_11_wireless_get_hw_address): return should be const
7244 libnm-glib/libnm-glib-test.c
7245 - Fixes for above change
7247 2007-11-12 Dan Williams <dcbw@redhat.com>
7249 * src/supplicant-manager/nm-supplicant-settings-verify.c
7250 - Allow fragment_size option
7252 * src/supplicant-manager/nm-supplicant-settings-verify.c
7253 - (nm_supplicant_config_add_setting_wireless_security): use a lower
7254 EAP fragment size than the default to help some TLS connections
7256 2007-11-12 Dan Williams <dcbw@redhat.com>
7258 Make certs actually work. The private key is now a secret, and should be
7259 decrypted when requested by NM. The private key and phase2 private key
7260 passwords are no longer interesting to NM because they should be used by
7261 the settings service to decrypt the private key itself before passing it
7262 to NM, and hence have been removed as fields.
7264 * libnm-util/nm-setting-wireless-security.h
7265 libnm-util/nm-setting-wireless-security.c
7266 - Remove private-key-passwd and phase2-private-key-passwd from
7268 - (need_secrets_password, need_secrets_eappsk, need_secrets_sim,
7269 need_secrets): use property #defines instead strings to keep things
7271 - (need_secrets_tls): if a client certificate is present but no
7272 private key, request the private key
7273 - (set_property, get_property, nm_setting_wireless_security_class_init):
7274 remove private key password stuff, mark private keys as secret
7276 * src/supplicant-manager/nm-supplicant-settings-verify.c
7277 - Remove private_key_passwd and private_key2_passwd from opt_table
7279 2007-11-09 Dan Williams <dcbw@redhat.com>
7281 Fix vpn-properties setting update_secrets call for new NMSetting stuff.
7282 Since the vpn-properties are managed and known by the VPN daemons themselves,
7283 libnm-util doesn't know what's secret and what's in the setting's 'data'
7286 * libnm-util/nm-setting.h
7287 libnm-util/nm-setting.c
7288 - Add the ability for subclasses to override update_one_secret
7290 * libnm-util/nm-setting-vpn-properties.c
7291 - Override update_one_secret and just copy the values into the
7294 2007-11-09 Dan Williams <dcbw@redhat.com>
7296 * libnm-glib/nm-settings.h
7297 libnm-glib/nm-settings.c
7298 - (nm_settings_new_error): remove
7299 - (nm_settings_error_quark): add; instead of nm_settings_new_error,
7300 clients should use g_set_error() with NM_SETTINGS_ERROR
7302 2007-11-09 Dan Williams <dcbw@redhat.com>
7304 * src/supplicant-manager/nm-supplicant-config.c
7305 - (nm_supplicant_config_add_setting_wireless_security): private key
7306 passwords are never sent to wpa_supplicant, because the supplicant
7307 should never be reading random files from the disk. Clients like
7308 the applet are required to decrypt the private keys and send NM
7309 the decrypted blobs.
7311 2007-11-08 Dan Williams <dcbw@redhat.com>
7313 * libnm-util/nm-setting-wireless-security.h
7314 libnm-util/nm-setting-wireless-security.c
7315 - Add 'private-key-decrypted' and 'phase2-private-key-decrypted'
7316 members to 802-11-wireless-security structure. This should be used
7317 to indicate that the values in private-key and phase2-private-key
7318 are already decrypted by the user agent, and that no
7319 private-key-passwd or phase2-private-key-passwd should be expected.
7320 It is not meant to be a stored configuration value, but meant to
7321 be set when the conneciton is sent to NM over dbus.
7323 2007-11-08 Dan Williams <dcbw@redhat.com>
7325 * libnm-util/nm-connection.h
7326 libnm-util/nm-connection.c
7327 - (nm_connection_need_secrets): add argument to return hints
7329 * src/nm-device-802-11-wireless.c
7330 - (link_timeout_cb, supplicant_connection_timeout_cb,
7331 real_act_stage2_config, real_act_stage4_ip_config_timeout): handle
7332 nm_connection_need_secrets() change
7334 2007-11-07 Tambet Ingo <tambet@gmail.com>
7336 Rework NMSetting structures: Move each setting to it's own file.
7337 Convert to GObject. Remove home grown setting types and use GTypes.
7338 Use GObject property introspection for hash conversion, enumerating
7341 * libnm-util/nm-setting-connection.[ch]
7342 * libnm-util/nm-setting-ip4-config.[ch]
7343 * libnm-util/nm-setting-ppp.[ch]
7344 * libnm-util/nm-setting-vpn.[ch]
7345 * libnm-util/nm-setting-vpn-properties.[ch]
7346 * libnm-util/nm-setting-wired.[ch]
7347 * libnm-util/nm-setting-wireless.[ch]
7348 * libnm-util/nm-setting-wireless-security.[ch]
7350 New files, each containing a setting.
7352 * libnm-util/nm-setting-template.[ch]: A template for creating new
7353 settings. To use it, just replace 'template' with the new setting
7354 name, and you're half-way done.
7356 * libnm-util/nm-setting.c: Convert to GObject and use GObject
7357 introspection instead of internal types and tables.
7359 * libnm-util/nm-connection.c: Adapt the new NMSetting work.
7361 * libnm-util/nm-param-spec-specialized.[ch]: Implement. Handles
7362 GValue types defined by dbus-glib for composed types like collections,
7363 structures and maps.
7365 * src/*: The API of NMSetting and NMConnection changed a bit: Getting
7366 a setting from connection takes the setting type now. Also, since
7367 the settings are in multiple files, include relevant settings.
7369 2007-10-31 Saleem Abdulrasool <compnerd@compnerd.org>
7372 * src/backends/NetworkManagerGentoo.c:
7373 (nm_system_restart_mdns_responder): Implement restarts for other mdns
7374 providers in Gentoo.
7376 2007-10-31 Dan Williams <dcbw@redhat.com>
7378 * libnm-util/nm-connection.c
7379 - (gvalue_to_string): handle UINT32 arrays
7381 2007-10-31 Dan Williams <dcbw@redhat.com>
7383 * libnm-glib/nm-device.h
7384 libnm-glib/nm-device.c
7385 - (nm_device_get_description): remove
7386 - (nm_device_get_product, nm_device_get_vendor): add
7387 - (nm_device_update_description): new function (private); walk HAL
7388 devices to get product and vendor IDs for a specific device
7390 2007-10-31 Dan Williams <dcbw@redhat.com>
7392 * src/nm-device-802-11-wireless.c
7393 - (nm_device_802_11_wireless_get_mode): ignore ENODEV errors
7395 2007-10-29 Dan Williams <dcbw@redhat.com>
7397 * src/nm-hal-manager.c
7398 - (device_added, device_new_capability): ignore device additions while
7399 asleep. Fixes crash caused when NM goes to sleep, a network device
7400 kernel module is unloaded and reloaded and recognized by NM again.
7402 2007-10-26 Dan Williams <dcbw@redhat.com>
7404 Patch from Helmut Schaa <hschaa@suse.de> (and more bits from me)
7406 * src/NetworkManagerAP.c
7407 src/NetworkManagerAP.h
7408 libnm-glib/nm-access-point.c
7409 libnm-glib/nm-access-point.h
7410 - Make 'rate' property a guint32 to better match with WEXT and
7411 wpa_supplicant and to allow representation of higher bitrates
7413 * src/nm-device-802-11-wireless.c
7414 introspection/nm-device-802-11-wireless.xml
7415 libnm-glib/nm-device-802-11-wireless.c
7416 libnm-glib/nm-device-802-11-wireless.h
7417 - Make 'bitrate' property a guint32 to match AP 'rate' property type
7419 * src/nm-device-802-3-ethernet.c
7420 src/nm-device-802-3-ethernet.h
7421 introspection/nm-device-802-3-ethernet.xml
7422 libnm-glib/nm-device-802-3-ethernet.c
7423 libnm-glib/nm-device-802-3-ethernet.h
7424 - Make 'speed' property a guint32 to match other speed/rate types
7425 - Make nm_device_802_3_ethernet_get_speed() static
7428 - Update for the changes above
7430 2007-10-26 Dan Williams <dcbw@redhat.com>
7432 * src/named-manager/nm-named-manager.c
7433 - (rewrite_resolv_conf): clean up error handling to avoid double-free by
7434 not calling fclose() twice on some error conditions
7436 2007-10-26 Dan Williams <dcbw@redhat.com>
7438 * src/nm-activation-request.c
7439 - (dispose): clean up indentation; get the right DBusGProxy object to
7440 cancel the GetSecrets pending call on. Need to use the Secrets
7441 proxy, not the regular connection proxy. Otherwise the GetSecrets
7442 pending call doesn't get canceled, and pressing Cancel in the
7443 applet's password dialog could cause get_secrets_cb() to be called
7444 after the activation request has already been destroyed
7446 2007-10-24 Dan Williams <dcbw@redhat.com>
7448 * src/supplicant-manager/nm-supplicant-config.c
7449 - (nm_supplicant_config_add_blob): pass blob data and length for
7451 - (get_hash_cb): use GByteArrays rather than GArrays; easier to follow
7453 2007-10-24 Dan Williams <dcbw@redhat.com>
7455 * src/supplicant-manager/nm-supplicant-settings-verify.c
7456 - (opt_table): max length for certificates should be 65536
7458 2007-10-24 Dan Williams <dcbw@redhat.com>
7460 * src/supplicant-manager/nm-supplicant-interface.c
7461 - (blob_free): correctly free blob data after use
7462 - (call_set_blobs): use the right D-Bus interfaace for setBlobs
7464 2007-10-24 Dan Williams <dcbw@redhat.com>
7466 * libnm-util/nm-setting.c
7467 - (setting_wireless_security_need_secrets): Fix lookup table logic for
7468 EAP method need secrets
7470 2007-10-24 Dan Williams <dcbw@redhat.com>
7472 * src/backends/NetworkManagerRedHat.c
7473 - (nm_system_update_dns): be a lot smarter about telling nscd to restart
7475 2007-10-23 Dan Williams <dcbw@redhat.com>
7477 * libnm-util/nm-setting.c
7478 libnm-util/nm-setting.c
7479 - (nm_setting_compare): implement
7480 - (default_setting_compare_fn, do_one_compare, compare_gvalue_hash,
7481 compare_one_hash_gvalue): compare the contents of a setting
7483 * libnm-util/nm-connection.c
7484 - (nm_connection_compare): implement
7486 2007-10-23 Dan Williams <dcbw@redhat.com>
7488 * src/nm-activation-request.c
7489 - (get_secrets_cb): handle getting a setting back that is more than
7490 just secrets (ie, user changed auth or EAP method or something)
7492 2007-10-23 Dan Williams <dcbw@redhat.com>
7494 * libnm-util/nm-setting.c
7495 libnm-util/nm-setting.h
7496 - (nm_setting_verify): new function; verify one setting
7497 - (nm_settings_verify_all): rename from nm_settings_verify()
7498 - (setting_connection_verify, setting_wireless_verify): allow NULL
7501 * libnm-util/nm-connection.c
7502 - (nm_connection_replace_settings, nm_connection_verify,
7503 nm_connection_new_from_hash): handle nm_settings_verify() rename
7505 2007-10-23 Dan Williams <dcbw@redhat.com>
7507 * src/nm-device-802-11-wireless.c
7508 - (real_act_stage2_config): use pre-increment on 'tries' to get the
7511 2007-10-23 Dan Williams <dcbw@redhat.com>
7513 * src/supplicant-manager/nm-supplicant-settings-verify.c
7514 - eap_allowed, phase2_allowed: harmonize with allowed values from
7517 2007-10-23 Dan Williams <dcbw@redhat.com>
7519 * src/nm-device-802-11-wireless.c
7520 - (real_act_stage2_config): after the first association failure,
7521 if the connection still needs secrets ask the user for them
7522 explicitly. After the fourth association failure due to bad
7523 secrets, fail the connection entirely. Handles the GetSecrets
7524 loop that NM gets into when the provided secrets don't match up
7525 with the connection details.
7527 2007-10-23 Dan Williams <dcbw@redhat.com>
7529 * src/supplicant-manager/nm-supplicant-config.c
7530 - (nm_supplicant_config_add_setting_wireless_security): only add
7531 WPA-specific options when WPA is in use
7533 2007-10-23 Dan Williams <dcbw@redhat.com>
7535 * src/supplicant-manager/nm-supplicant-config.c
7536 - (nm_supplicant_config_add_setting_wireless_security): 'password'
7537 secret doesn't need to be unhexified
7539 2007-10-23 Dan Williams <dcbw@redhat.com>
7541 * libnm-util/nm-setting.c
7542 - (setting_wireless_security_need_secrets): ensure auth_alg is !NULL
7543 before trying to do something with it
7545 2007-10-23 Dan Williams <dcbw@redhat.com>
7547 * src/nm-device-802-11-wireless.c
7548 - (merge_scanned_ap): handle NULL ssids returned from nm_ap_get_ssid()
7550 2007-10-23 Dan Williams <dcbw@redhat.com>
7552 * src/nm-device-802-11-wireless.c
7553 - (merge_scanned_ap): use libnm-util empty SSID check to catch more
7554 non-SSID-broadcasting APs
7556 2007-10-23 Dan Williams <dcbw@redhat.com>
7558 * src/NetworkManagerAP.c
7559 - (match_cipher, security_compatible): remove
7560 - (nm_ap_check_compatible): use nm_utils_ap_security_compatible() from
7563 2007-10-23 Dan Williams <dcbw@redhat.com>
7565 * libnm-util/nm-utils.c
7566 libnm-util/nm-utils.h
7567 - (nm_utils_ap_security_compatible): common function for checking
7568 whether a specific AP is compatible with an NMConnection
7570 2007-10-23 Dan Williams <dcbw@redhat.com>
7572 * libnm-util/nm-setting.c
7573 - (setting_wireless_security_need_secrets, need_secrets_phase2,
7574 need_secrets_tls, need_secrets_sim, need_secrets_eappsk,
7575 need_secrets_password, setting_wireless_security_verify): fix
7576 need_secrets for IEEE 802.1x and WPA-EAP by implementing need
7577 secrets logic for each supported EAP method
7579 2007-10-23 Dan Williams <dcbw@redhat.com>
7581 * src/supplicant-manager/nm-supplicant-config.c
7582 - (nm_supplicant_config_add_setting_wireless_security): fix wpa_supplicant
7583 config option name, should be "private_key2_passwd"
7585 2007-10-22 Tambet Ingo <tambet@gmail.com>
7587 Implement support for static IP addresses, additional/overridden DNS and
7588 DNS domain search lists.
7590 * libnm-util/nm-setting.c (uint_array_to_gvalue): Implement.
7591 (ip4_addresses_to_gvalue): Implement.
7592 (convert_array_to_byte_array): Implement.
7593 (nm_setting_populate_from_hash_default): Handle NM_S_TYPE_UINT_ARRAY and
7594 NM_S_TYPE_IP4_ADDRESSES.
7595 (nm_setting_hash): Ditto.
7596 (default_setting_clear_secrets): Add a default case for the switch: IP address
7597 shouldn't be secret, ever.
7598 (setting_ip4_config_verify): Update, requires addresses in case of manual
7600 (setting_ip4_config_destroy): Free stuff.
7602 * src/nm-device.c (merge_ip4_config): Implement.
7603 (real_act_stage4_get_ip4_config): Merge IP4 configuration from NMConnection.
7605 2007-10-22 Dan Williams <dcbw@redhat.com>
7607 * libnm-util/nm-setting.c
7608 - (setting_wireless_security_verify): allow WEP-40 and WEP-104 as
7609 pairwise cipher options for Dynamic WEP
7611 2007-10-21 Dan Williams <dcbw@redhat.com>
7613 * src/NetworkManagerAP.c
7614 src/NetworkManagerAP.h
7615 - Rename 'articifical' -> 'fake' since that's what they are until
7617 - (nm_ap_new_fake_from_connection): new function to create a 'fake' AP
7618 from the attributes in an NMConnection object
7619 - (security_compatible): better handle Dynamic WEP and LEAP; handle
7621 - (nm_ap_match_in_list): find a matching AP in a scan list
7623 * src/nm-device-802-11-wireless.c
7624 - (get_active_ap): add an 'ignore_ap' argument to ignore a specific
7625 AP when searching the scan list; match on frequency and mode too
7626 - (nm_device_802_11_wireless_get_frequency): implement
7627 - (merge_scanned_ap): replace duplicate matching logic with
7628 nm_ap_match_in_list()
7629 - (real_act_stage1_prepare): handle a NULL specific object; ie where
7630 the user is trying to connect to a hidden network that is not yet
7631 known from the scan list
7632 - (activation_success_handler): now that the card knows the AP's BSSID,
7633 there may already be a scanned AP in the scan list that is what
7634 we really wanted to connect to, but didn't know at the time. Use
7635 that instead of the 'fake' AP created at activation start and get
7636 rid of the 'fake' AP
7637 - (cull_scan_list): don't remove fake APs
7639 2007-10-21 Dan Williams <dcbw@redhat.com>
7641 * src/nm-activation-request.h
7642 src/nm-activation-request.c
7643 - (nm_act_request_set_specific_object): new function; allow setting the
7644 specific object if one isn't set yet
7646 2007-10-20 Dan Williams <dcbw@redhat.com>
7648 * src/supplicant-manager/nm-supplicant-config.h
7649 src/supplicant-manager/nm-supplicant-config.c
7650 - (nm_supplicant_config_init, nm_supplicant_config_finalize): add a hash
7651 table to store blobs
7652 - (nm_supplicant_config_add_blob): new function; add blob to internal
7654 - (nm_supplicant_config_get_blobs): new function; get stored blobs
7655 - (nm_supplicant_config_add_setting_wireless_security): handle
7656 options that use certificates (ie, blobs)
7658 * src/nm-device-802-11-wireless.c
7659 - (build_supplicant_config): pass a UID (just use the connection path)
7660 to the supplicant config as now required
7662 * src/supplicant-manager/nm-supplicant-interface.c
7663 - (add_network_cb, call_set_blobs, set_blobs_cb, call_set_network): if
7664 there are any blobs to send to wpa_supplicant, send those first
7665 before sending the network configuration
7667 2007-10-19 Dan Williams <dcbw@redhat.com>
7669 Split the GetSecrets() call off to a separate D-Bus interface so that it
7670 can be more easily locked down with D-Bus policy. Only 'root' (ie, NM)
7671 should be able to call GetSecrets().
7673 * include/NetworkManager.h
7674 - Define the connection secrets D-Bus interface
7676 * src/vpn-manager/nm-vpn-connection.c
7677 - (clear_need_auth): get the right proxy object for the connection
7679 - (get_connection_secrets): use the connection secrets proxy; send
7680 empty hints in get secrets request
7682 * src/nm-activation-request.c
7683 - (nm_act_request_request_connection_secrets): use the connection
7684 secrets proxy; send empty hints in get secrets request
7688 - (connection_get_settings_cb): set the connection secrets proxy on
7689 the connection object too
7690 - (internal_new_connection_cb): create the connection secrets proxy
7692 * introspection/nm-settings-connection.xml
7693 - Define Connection.Secrets interface and move GetSecrets there
7694 - Add a 'hints' argument to GetSecrets
7696 * libnm-glib/nm-settings.c
7697 libnm-glib/nm-settings.h
7698 - (impl_connection_settings_get_secrets): add 'hints' argument
7700 2007-10-19 Dan Williams <dcbw@redhat.com>
7703 - (constructor): add message about what path a device is exported as
7704 to help in debugging rh #339011
7706 2007-10-17 Dan Williams <dcbw@redhat.com>
7708 * libnm-util/nm-utils.h
7709 libnm-util/nm-utils.c
7710 - (nm_utils_security_valid): common function to help find the intersection
7711 of capabilities of devices and (optionally) access points
7713 2007-10-17 Dan Williams <dcbw@redhat.com>
7715 * src/nm-device-802-11-wireless.c
7716 - (get_wireless_capabilities): add missing braces so that WPA capabilities
7717 don't get erroneously cleared
7719 2007-10-17 Dan Williams <dcbw@redhat.com>
7723 src/nm-hal-manager.c
7724 - (device_removed, finalize, nm_manager_remove_device,
7725 nm_manager_sleep): add a 'deactivate' argument to
7726 nm_manager_remove_device() to fully deactivate devices when necessary
7727 (ie, always except when waking up)
7729 2007-10-16 Dan Williams <dcbw@redhat.com>
7731 * libnm-util/nm-setting.c
7732 - (setting_wireless_security_verify): fix phase2_auth methods; 'sim'
7733 also isn't valid phase2 autheap method
7735 2007-10-16 Dan Williams <dcbw@redhat.com>
7737 * libnm-glib/nm-client.c
7738 - (update_wireless_status): consolidate updates of wireless status
7739 - (constructor): use update_wireless_status()
7740 - (manager_running): set wireless status off when NM goes away; requery
7741 the wireless status when NM comes back
7743 2007-10-16 Dan Williams <dcbw@redhat.com>
7745 * libnm-glib/nm-client.c
7746 - (nm_client_activate_device): actually use the fixed-up specific
7749 2007-10-16 Dan Williams <dcbw@redhat.com>
7751 * src/nm-hal-manager.c
7752 - (killswitch_getpower_reply, nm_hal_manager_destroy): only print out
7753 killswitch error messages once
7755 2007-10-16 Dan Williams <dcbw@redhat.com>
7758 - (manager_set_wireless_enabled): don't allow wireless to be enabled
7759 if it's disabled in hardware; don't touch network devices while
7762 2007-10-16 Dan Williams <dcbw@redhat.com>
7764 * libnm-util/nm-client.c
7765 - (nm_client_activate_device): convert NULL specific_object to "/",
7766 which is used in place of NULL
7769 - (impl_manager_activate_device): convert "/" specific_object back into
7772 2007-10-16 Tambet Ingo <tambet@gmail.com>
7774 Implement a generic NMSetting creator from setting name.
7775 While at it, get rid of all nm_setting_foo_new_from_hash() functions and
7776 add a virtual function 'populate_fn'.
7778 * libnm-util/nm-connection.c (nm_connection_create_setting): Implement.
7779 (register_default_creators): Register setting creators instead of functions
7780 that create and then populate.
7781 (parse_one_setting): Use the common setting creator and then setting specific
7782 poplulation function.
7784 * libnm-util/nm-setting.c: Get rid of nm_setting_foo_new_from_hash() functions,
7785 they all looked exactly the same.
7786 Add a 'populate_fn' virtual function to NMSetting.
7787 Use default virtual functions in case they are not overriden.
7788 (nm_setting_populate_from_hash): Implement.
7790 * src/nm-device.c (real_act_stage3_ip_config_start): Don't hard code the setting
7791 name, use a defined string.
7792 (real_act_stage4_get_ip4_config): Ditto.
7794 2007-10-16 Tambet Ingo <tambet@gmail.com>
7796 * src/nm-hal-manager.c (killswitch_getpower_reply): The type returned from
7797 HAL is int, not uint.
7799 2007-10-15 Tambet Ingo <tambet@gmail.com>
7801 Implement killswitch polling through HAL.
7803 * src/nm-manager.c: Add wireless hardware status property. Add
7804 'properties-changed' signal for changes in wireless and wireless hardware
7807 * src/nm-hal-manager.c: Poll hal for killswitch statuses in every 6 seconds
7808 and update NMManager's wireless hardware state when it has changed.
7809 (nm_hal_manager_new): Don't try to add initial devices here - (hal_init)
7812 * libnm-glib/nm-client.c: Add wireless hardware status property. Cache the
7813 values of wireless state and wireless hardware state. Listen for the
7814 'properties-changed' signals, update the cached values and emit notify.
7816 * include/NetworkManager.h: Fix a typo in a comment.
7818 2007-10-14 Dan Williams <dcbw@redhat.com>
7820 * libnm-util/nm-setting.c
7821 - (setting_wireless_security_need_secrets): handle LEAP secrets
7823 2007-10-13 Dan Williams <dcbw@redhat.com>
7825 * libnm-util/nm-setting.h
7826 libnm-util/nm-setting.c
7827 src/supplicant-manager/nm-supplicant-config.c
7828 - Make the 'proto' field of the 802-11-wireless-security field a
7831 2007-10-12 Tambet Ingo <tambet@gmail.com>
7833 Rework the "properties-changed" signal listening implementation.
7834 Add a generic implementation to NMObject class that listens for
7835 the signal and calls property setters of the target NMObject.
7837 * libnm-glib/nm-object.c (nm_object_handle_properties_changed): Implement.
7839 * libnm-glib/nm-device-802-11-wireless.c: Move the GObject consturction
7840 code to the end of file so that all the static functions are available
7841 without extra declarations.
7842 Remove the "properties-changed" signal handling and use the framework from
7844 Implement property setters for properties that change with
7845 "properties-changed" signal.
7847 * libnm-glib/nm-access-point.c: Ditto.
7849 2007-10-12 Tambet Ingo <tambet@gmail.com>
7851 Rework the "properties-changed" signal implementation.
7852 In classes that need to use it, just emit "GObject::notify" and the new
7853 framework takes care of the rest to make the signal available on dbus.
7854 The framework queues the notifications and tries to send as many together
7855 in one signal as possible.
7857 * src/nm-properties-changed-signal.c:
7858 * src/nm-properties-changed-signal.h: Implement.
7860 * src/Makefile.am: Add new files to build.
7862 * src/NetworkManagerAP.c: Use the general framework for properties-changed
7865 * src/nm-device-802-11-wireless.c: Ditto.
7867 2007-10-10 Dan Williams <dcbw@redhat.com>
7870 - (wait_for_connection_expired): ensure info is valid
7871 - (connection_added_default_handler): Should only remove pending
7872 connection info when the manager has the connection that it's
7873 waiting for. Fixes segfault in wait_for_connection_info().
7875 2007-10-10 Dan Williams <dcbw@redhat.com>
7877 * libnm-util/nm-setting.c
7878 libnm-util/nm-setting.h
7879 - Add a default 'user_name' field to the VPN setting, which VPN plugins
7880 can use if they choose. Should be filled in by the settings service
7881 on-the-fly with the currently logged in user's username
7883 2007-10-10 Dan Williams <dcbw@redhat.com>
7885 * src/nm-device-802-11-wireless.c
7886 - (merge_scanned_ap): make sure non-SSID-broadcasting APs are marked
7887 as such, because even if the manager fills in the SSID, NM still
7888 has to indicate to wpa_supplicant that the AP isn't broadcasting
7891 2007-10-10 Tambet Ingo <tambet@gmail.com>
7893 Move ppp-manager over to dbus-glib. The big deal is that it was the last piece of
7894 code that used NM's own version of dbus signal handling and custom dictionary
7895 marshalling/unmarshalling. With this change, all that obsolete code can disappear
7896 and we get to maintain over 2000 lines less code.
7898 * libnm-util/dbus-dict-helpers.c:
7899 * libnm-util/dbus-dict-helpers.h: Remove.
7901 * src/ppp-manager/nm-pppd-plugin.c: Convert it to use dbus-glib.
7903 * src/ppp-manager/nm-pppd-plugin.xml: Implement.
7905 * src/ppp-manager/nm-ppp-manager.c: Use dbus-glib instead of home-brewed dbus signal
7908 * src/nm-dbus-manager.c: Remove all the manual dbus signal handling.
7910 * configure.in: Remove test/libnm-util/Makefile creation.
7912 * test/Makefile.am: Remove libnm-util from SUBDIRS.
7914 * test/libnm-util/: Remove the whole directory.
7916 2007-10-10 Tambet Ingo <tambet@gmail.com>
7918 * src/NetworkManagerPolicy.c (nm_policy_new): Initialize the
7919 device_state_changed_idle_id variable or it would contain some random value and the
7920 schedule_change_check calls would not do anything.
7922 2007-10-09 Dan Williams <dcbw@redhat.com>
7924 * src/nm-device-802-11-wireless.c
7925 - (supplicant_iface_scanned_ap_cb): set the non-broadcast flag elsewhere
7926 - (merge_scanned_ap): only have the manager fill the SSID if the AP
7927 isn't broadcasting its SSID; set the non-broadcast flag here; fix
7928 merging of non-SSID-broadcasting APs
7930 2007-10-09 Tambet Ingo <tambet@gmail.com>
7932 * libnm-util/nm-utils.c (nm_utils_is_empty_ssid): Convert the ssid type to
7933 "guint8 *" since it's usually used with GByteArray->data.
7934 (nm_utils_ssid_to_utf8): Add it back, the applet needs it.
7936 2007-10-09 Tambet Ingo <tambet@gmail.com>
7938 * src/NetworkManagerUtils.c
7939 (nm_utils_is_empty_ssid):
7940 (nm_utils_escape_ssid):
7941 (nm_utils_same_ssid): Remove. These functions are copied and pasted in a
7942 lot of places, so they belong to libnm-utils instead.
7944 Now with 100% less compiler warnings:
7946 * libnm-util/nm-utils.c (nm_dbus_escape_object_path): Remove, unused.
7947 (nm_dbus_unescape_object_path): Ditto.
7948 (nm_utils_ssid_to_utf8): Ditto.
7949 (nm_utils_is_empty_ssid): Move here from src/NetworkManagerUtils.c
7950 (nm_utils_escape_ssid): Ditto.
7951 (nm_utils_same_ssid): Ditto.
7953 * src/nm-manager.c: Include 'netinet/ether.h' for ether_aton_r.
7954 (add_one_connection_element): Remove an unused variable.
7955 (impl_manager_get_active_connections): Ditto.
7957 * src/NetworkManagerPolicy.c (get_device_connection): Remove an unused
7960 * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Remove a leftover
7961 from the previous commit.
7963 * src/nm-device-802-11-wireless.c (set_current_ap): Remove unused variable.
7964 (real_act_stage1_prepare): Ditto.
7965 (activation_success_handler): Ditto.
7966 (get_property): Ditto.
7968 * src/nm-device-802-3-ethernet.c (real_get_best_connection): Remove unused
7971 * src/ppp-manager/nm-pppd-plugin.c (nm_ip_up): Remove the check for 'ifname',
7974 * src/supplicant-manager/nm-supplicant-config.c
7975 (nm_supplicant_config_add_setting_wireless): Cast the GByteArray's 'guint8 *'
7976 to expected "char *".
7977 (nm_supplicant_config_add_setting_wireless): Ditto.
7978 (nm_supplicant_config_remove_option): Remove, not used.
7980 * libnm-glib/libnm-glib-test.c (dump_access_point): Frequency is a guint32,
7982 (test_wireless_enabled): Ifdef out unused function.
7983 (device_deactivate): Ditto.
7984 (device_state_changed): Ditto.
7985 (nm_utils_is_empty_ssid): Remove, it's now in libnm-utils.
7986 (nm_utils_escape_ssid): Ditto.
7988 * test/nm-tool.c (nm_utils_escape_ssid): Remove, it's now in libnm-utils.
7989 (nm_utils_is_empty_ssid): Ditto.
7991 * libnm-glib/nm-client.c (nm_client_free_active_connection_element): Remove
7994 * libnm-util/nm-setting.c (setting_wireless_destroy): Remove unused variable.
7995 (setting_vpn_properties_update_secrets): Ditto.
7996 (int_to_gvalue): Ifdef out for now, not used.
7997 (byte_to_gvalue): Ditto.
7999 * libnm-util/dbus-dict-helpers.c (_nmu_dbus_add_dict_entry_string_array):
8002 2007-10-08 Tambet Ingo <tambet@gmail.com>
8004 * src/NetworkManager.c (main): When dbus manager doesn't want to start, complain
8005 about dbus manager, not named manager.
8006 Make sure hal_manager and dbus_mgr are created before trying to unreference.
8008 * src/nm-dbus-manager.c: There was an issue with priv->proxy: We have a signal
8009 handler for it's 'destroy' signal - we use it to catch disconnects from dbus.
8010 However, the same signal is emitted when we destroy it and there's
8011 nm_dbus_manager_cleanup -> destroy_cb -> nm_dbus_manager_cleanup cycle.
8013 (nm_dbus_manager_cleanup): Let go of the DBusGProxy before
8014 releasing the DBusGConnection, since proxy needs a conneciton.
8015 (destroy_cb): Set the private proxy to NULL before cleaning up the manager.
8017 2007-10-08 Dan Williams <dcbw@redhat.com>
8019 * src/NetworkManager.c
8020 - (main): error on unknown command-line options
8022 2007-10-08 Dan Williams <dcbw@redhat.com>
8024 Reimplement the invalid connection list. Don't try to re-activate a
8025 connection that just failed or was canceled.
8028 - (connection_secrets_failed_cb): fail device activation, don't just
8029 deactivate the device. Listeners have to know about the failure.
8031 * src/NetworkManagerPolicy.c
8032 - (nm_policy_auto_get_best_device): exclude invalid connections from
8033 the connection list given to a device's get_best_connection()
8035 - (device_state_changed): tag failed connections as invalid; clear the
8036 tag from successful connections
8038 2007-10-08 Dan Williams <dcbw@redhat.com>
8040 Fix problems with interrupted activation. Previously, choosing an AP
8041 from the menu, then choosing another one before the first connection was
8042 successful wouldn't deactivate the device before starting the new connection
8043 on that same device.
8045 * src/NetworkManagerPolicy.c
8046 - (deactivate_old_device, device_state_changed, state_changed,
8047 nm_policy_new): wrong place to deactivate old devices
8050 - (pending_connection_info_destroy, finalize,
8051 wait_for_connection_expired): decouple destruction of the pending
8052 connection info from the manager device
8053 - (connection_added_default_handler): deactivate any active or
8054 activating device before starting a new activation
8055 - (impl_manager_activate_device): deactivate any active or activating
8056 device before starting a new activation; be sure not to leak
8057 pending connection info if a new activation request arrives but
8058 there's already a pending one in-process
8060 2007-10-08 Dan Williams <dcbw@redhat.com>
8062 * src/NetworkManagerAP.h
8063 src/NetworkManagerAP.c
8064 - (nm_ap_has_manufacturer_default_ssid): remove, unused. User clients
8065 should handle default SSIDs and whether or not to autoconnect
8068 2007-10-08 Dan Williams <dcbw@redhat.com>
8070 * src/NetworkManagerPolicy.c
8071 - (nm_policy_device_change_check): print out connection name where
8074 2007-10-08 Dan Williams <dcbw@redhat.com>
8076 * src/nm-device-802-11-wireless.c
8077 src/nm-device-802-11-wireless.h
8078 - (nm_device_802_11_wireless_class_init, merge_scanned_ap): new
8079 'hidden-ap-found' signal (for internal use only) that allows the
8080 NMManager to fill in the AP's SSID if a connection has that AP's
8081 BSSID in its seen-bssids list
8084 - (manager_hidden_ap_found, nm_manager_add_device): attach to a
8085 wireless device's hidden-ap-found signal and fill in the APs SSID
8088 2007-10-07 Dan Williams <dcbw@redhat.com>
8092 - Add a 'connections-added' signal to batch together updates of large
8093 numbers of connections, like when reading from a settings service
8094 the first time. Otherwise, the policy would just activate the first
8095 suitable connection it saw rather than waiting for the full list
8097 - (nm_manager_class_init): register new signal
8098 - (get_type_for_proxy, connection_get_settings_cb,
8099 get_connection_for_proxy): centralize places where a proxy's setting
8100 service is determined
8101 - (free_get_settings_info): if the call being freed is the last call
8102 in a pending call group, fire off the connections-added signal
8103 - (internal_new_connection_cb): add call to a pending call group if
8105 - (list_connections_cb): always create a call group here, because this
8106 call results in a batch of new connections
8107 - (initial_get_connections): start getting system connections first
8108 - (nm_manager_connections_destroy, emit_removed): actually emit the
8109 removed signal when destroying connections
8111 * src/NetworkManagerPolicy.c
8112 - (nm_policy_new, connections_added): handle connections-added signal
8115 2007-10-06 Dan Williams <dcbw@redhat.com>
8117 * src/nm-device-802-11-wireless.c
8118 - (constructor): fix leaked socket
8120 2007-10-06 Dan Williams <dcbw@redhat.com>
8122 * src/NetworkManagerPolicy.c
8123 - (nm_policy_auto_get_best_device): fix connection list reffing. Each
8124 connection in the list returned by nm_manager_get_connections() is
8125 reffed, but they weren't getting unreffed before returning
8127 2007-10-06 Dan Williams <dcbw@redhat.com>
8130 - (connections_to_slist): sort connections first on autoconnect, then
8133 2007-10-06 Dan Williams <dcbw@redhat.com>
8135 * libnm-util/nm-connection.c
8136 - (gvalue_to_string): handle UINT64
8138 2007-10-06 Dan Williams <dcbw@redhat.com>
8140 * src/NetworkManagerPolicy.c
8141 - (connection_updated, nm_policy_new): recheck state when a connection
8144 2007-10-06 Dan Williams <dcbw@redhat.com>
8148 - (nm_manager_get_connection_dbus_path): make static
8149 - (nm_manager_update_connections): remove; unused
8150 - Add a connection-updated signal
8151 - (new_connection_cb, connection_updated_cb, nm_manager_class_init):
8152 handle connection object updates
8154 2007-10-06 Dan Williams <dcbw@redhat.com>
8156 * src/NetworkManagerPolicy.c
8157 - (connection_removed): deactivate removed connections
8159 2007-10-06 Dan Williams <dcbw@redhat.com>
8161 * libnm-util/nm-connection.c
8162 libnm-util/nm-connection.h
8163 - (nm_connection_replace_settings): new function
8165 2007-10-06 Dan Williams <dcbw@redhat.com>
8167 * libnm-glib/nm-device-802-11-wireless.c
8168 - (nm_device_802_11_wireless_get_active_access_point): don't segfault
8169 on error when getting the active access point over D-Bus from NM
8171 2007-10-05 Dan Williams <dcbw@redhat.com>
8173 * libnm-util/nm-setting.c
8174 - (setting_wireless_verify, setting_wireless_destroy): add seen_bssids
8175 to the NMSettingWireless table; it's now a string array not an array
8178 2007-10-05 Dan Williams <dcbw@redhat.com>
8180 * libnm-glib/nm-device-802-11-wireless.c
8181 - Cache properties and update cached properties on D-Bus signals from NM
8183 2007-10-05 Dan Williams <dcbw@redhat.com>
8185 * src/nm-device-802-11-wireless.c
8186 - (set_current_ap): consolidate current_ap handling code into one place
8187 to ensure that PropertiesChanged signals are emitted in all cases
8188 - (periodic_update, real_deactivate_quickly, real_act_stage1_prepare,
8189 nm_device_802_11_wireless_dispose): use set_current_ap()
8191 2007-10-05 Dan Williams <dcbw@redhat.com>
8193 * libnm-glib/nm-access-point.c
8194 libnm-glib/nm-access-point.h
8195 - (nm_access_point_get_hw_address): return 'const char *', not 'char *'
8196 because the value is cached internally now. Callers should not
8197 free the internal value.
8198 - Make signal name defines private
8201 libnm-glib/libnm-glib-test.c
8202 - Don't free value returned from nm_access_point_get_hw_address()
8204 2007-10-04 Dan Williams <dcbw@redhat.com>
8206 * introspection/nm-device-802-11-wireless.xml
8207 src/nm-device-802-11-wireless.h
8208 src/nm-device-802-11-wireless.c
8209 - Add a PropertiesChanged signal for wireless device
8210 - Store currently associated access point
8211 - (periodic_update): generalize; update rate here too and emit the
8212 correct PropertiesChanged signal when stuff changes
8213 - (real_deactivate_quickly, nm_device_802_11_wireless_dispose,
8214 real_activation_cancel_handler): clear current_ap when device is
8216 - (link_to_specific_ap, get_ap_blacklisted,
8217 nm_device_802_11_wireless_get_best_ap): remove obsolete and unused
8219 - (nm_device_802_11_wireless_get_bitrate): make static; unused anywhere
8221 - (real_set_hw_address): emit property changed signal if the card's
8223 - (real_act_stage1_prepare): set the initial current_ap to the AP
8224 the card is supposed to be connecting to
8225 - (activation_success_handler): send out property updates on successful
8227 - (get_property): pull bitrate from cached value; use OBJECT_PATH type
8228 for ACTIVE_ACCESS_POINT property because sometimes there won't be
8229 one and dbus-glib doesn't like marshalling NULL G_TYPE_OBJECTs
8230 - (nm_device_802_11_wireless_class_init): ACTIVE_ACCESS_POINT property
8231 is now boxed; add PropertiesChanged signal
8233 2007-10-04 Dan Williams <dcbw@redhat.com>
8235 * libnm-util/nm-connection.c
8236 libnm-util/nm-connection.h
8237 - (nm_connection_verify): new function
8239 2007-10-04 Dan Williams <dcbw@redhat.com>
8241 * libnm-util/nm-setting.c
8242 - (nm_settings_verify): use #defines when possible rather than strings
8243 - (setting_connection_verify): ensure that 'name' and 'type' are valid
8244 - (setting_vpn_verify): tighter validity check on 'service_type'
8246 2007-10-04 Dan Williams <dcbw@redhat.com>
8248 * libnm-glib/nm-settings.c
8249 - (nm_connection_settings_class_init): provide correct type for argument
8250 to the Updated signal so that dbus-glib knows how to marshal it
8252 2007-10-03 Dan Williams <dcbw@redhat.com>
8254 * src/nm-device-802-3-ethernet.c
8255 - (real_get_best_connection): don't create automatic connections
8256 internally; clients should provide a setting that applies to
8257 the device with 'autoconnect: True'. Problem was that these
8258 internally auto-created connections don't have a proxy or service
8259 name becuase they weren't created by a settings daemon, and therefore
8260 clients have no idea what to do with them.
8262 2007-10-03 Dan Williams <dcbw@redhat.com>
8264 * src/nm-device-802-11-wireless.c
8265 src/nm-device-802-11-wireless.h
8266 introspection/nm-device-802-11-wireless.xml
8267 - GetActiveNetworks -> GetAccessPoints
8268 - ActiveNetwork -> ActiveAccessPoint
8269 - NetworkAdded -> AccessPointAdded
8270 - NetowrkRemoved -> AccessPointRemoved
8272 * libnm-glib/nm-device-802-11-wireless.c
8273 libnm-glib/nm-device-802-11-wireless.h
8274 - network-added signal -> access-point-added
8275 - network-removed signal -> access-point-removed
8276 - nm_device_802_11_wireless_get_active_network() ->
8277 nm_device_802_11_wireless_get_active_access_point()
8278 - nm_device_802_11_wireless_get_network_by_path() ->
8279 nm_device_802_11_wireless_get_access_point_by_path()
8280 - nm_device_802_11_wireless_get_networks() ->
8281 nm_device_802_11_wireless_get_access_points()
8283 * libnm-glib/libnm-glib-test.c
8285 src/NetworkManagerPolicy.c
8286 - Fixups for Network -> AccessPoint
8288 2007-10-03 Dan Williams <dcbw@redhat.com>
8290 Add a GetActiveConnections() method on the Manager object.
8294 introspection/nm-manager.xml
8295 - (connection_get_settings_cb): keep connection type around too
8296 - (impl_manager_get_active_connections, add_one_connection_element):
8297 implement; returns all active connections and what devices they
8300 * libnm-glib/nm-client.c
8301 libnm-glib/nm-client.h
8302 introspection/nm-manager-client.xml
8303 - (nm_client_get_devices): GPtrArray elements are allocated and owned
8304 by the caller; free here to avoid memory leak
8305 - (nm_client_get_active_connections): implement; return the list of
8307 - (nm_client_free_active_connection_element): implement; free an element
8308 of the GSList returned by nm_client_get_active_connections()
8310 2007-10-03 Dan Williams <dcbw@redhat.com>
8312 * src/nm-device-802-11-wireless.c
8313 - (nm_device_802_11_wireless_update_bssid): remove
8314 - (get_active_ap): new function; find the AP in the scan list which
8315 matches the current BSSID and SSID of the wireless device
8316 - (nm_device_802_11_periodic_update): get current AP using
8317 get_active_ap() and print AP roam messages
8319 2007-10-01 Dan Williams <dcbw@redhat.com>
8321 * libnm-util/nm-setting.h
8322 - Add a 'timestamp' option to NMSettingConnection
8325 * libnm-util/nm-setting.c
8326 - (uint64_to_gvalue): new function
8327 - (nm_setting_populate_from_hash, nm_setting_hash,
8328 default_setting_clear_secrets): handle UINT64 type
8329 - con_table: add 'timestamp' member
8331 2007-10-01 Dan Williams <dcbw@redhat.com>
8334 - (impl_manager_activate_device): ensure the D-Bus method sends a return
8335 value when the connection can be activated immediately
8337 2007-10-01 Dan Williams <dcbw@redhat.com>
8339 * libnm-glib/nm-device.c
8340 - (nm_device_class_init): actually tell glib about the carrier-changed
8343 2007-10-01 Dan Williams <dcbw@redhat.com>
8346 src/marshallers/Makefile.am
8347 src/marshallers/nm-marshal.list
8348 src/marshallers/nm-marshal-main.c
8349 - Consolidate glib marshallers into one place
8351 * src/dhcp-manager/Makefile.am
8352 src/dhcp-manager/nm-dhcp-manager.c
8353 src/supplicant-manager/Makefile.am
8354 src/supplicant-manager/nm-supplicant-manager.c
8355 src/supplicant-manager/nm-supplicant-interface.c
8356 src/ppp-manager/Makefile.am
8357 src/ppp-manager/nm-ppp-manager.c
8358 src/vpn-manager/Makefile.am
8359 src/vpn-manager/nm-vpn-connection.c
8361 - Use consolidated marshallers
8363 * src/dhcp-manager/nm-dhcp-marshal.list
8364 src/dhcp-manager/nm-dhcp-marshal-main.c
8365 src/supplicant-manager/nm-supplicant-marshal-main.c
8366 src/supplicant-manager/nm-supplicant-marshal.list
8367 src/nm-marshal-main.c
8369 src/ppp-manager/nm-ppp-marshal-main.c
8370 src/ppp-manager/nm-ppp-marshal.list
8371 src/vpn-manager/nm-vpn-marshal-main.c
8372 src/vpn-manager/nm-vpn-marshal.list
8375 2007-10-01 Dan Williams <dcbw@redhat.com>
8377 * include/NetworkManagerVPN.h
8378 - define VPN connection state change reason codes
8380 * src/vpn-manager/Makefile.am
8381 src/vpn-manager/nm-vpn-marshal.list
8382 src/vpn-manager/nm-vpn-marshal-main.c
8383 - Add marshallers for StateChanged signal
8385 * introspection/nm-vpn-connection.xml
8386 - New Banner property
8387 - StateChanged signal now includes a 'reason' argument
8389 * src/vpn-manager/nm-vpn-connection.c
8390 src/vpn-manager/nm-vpn-connection.h
8391 - Add a "Banner" property that contains the returned VPN server login
8392 banner (if any); valid only in the ACTIVATED state
8393 - (nm_vpn_connection_set_state, nm_vpn_connection_disconnect): now takes
8394 a 'reason' argument and emits that reason along with the
8395 state-changed signal
8396 - Fix up calls to nm_vpn_connection_set_state() to include a reason
8397 - (nm_vpn_connection_ip4_config_get): save banner for later
8398 - (nm_vpn_connection_get_banner, get_property,
8399 nm_vpn_connection_class_init): implement Banner property
8401 * src/vpn-manager/nm-vpn-service.c
8402 - (nm_vpn_service_connections_stop): take a reason argument; copy the
8403 connection list because elements may get added/removed from it
8404 while iterating over the list
8405 - (connection_state_changed): signal now includes the 'reason' argument
8407 * libnm-glib/nm-vpn-connection.c
8408 libnm-glib/nm-vpn-connection.h
8409 - (nm_vpn_connection_get_banner): new function
8410 - (state_changed_proxy): handle reason argument
8412 2007-09-28 Tambet Ingo <tambet@gmail.com>
8416 Implement device activation through NMManager.
8417 Implement "pending device activation" here - If the connection isn't found,
8418 we try to wait for up to 5 seconds for the connection to be provided.
8419 Add NMConnectionType argument to "connection-added" and "connection-removed"
8421 (nm_manager_get): Remove. Finally.
8423 * src/nm-activation-request.c:
8424 * src/nm-activation-request.h:
8425 Remove all the deferred activation code.
8427 * src/nm-device.c: Remove all the deferred activation code. Once the device
8428 activation is started, it's started. Update the activation virtual function
8431 * src/nm-device-interface.c:
8432 * src/nm-device-interface.h:
8433 Device activation now takes only NMActRequest argument.
8434 Don't expose device activation directly on dbus, it's supposed to go through
8437 * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Make the code
8439 Use the new device activation methods through NMManager.
8441 * introspection/nm-manager-client.xml:
8442 * introspection/nm-manager.xml:
8443 * libnm-glib/nm-client.c:
8444 * libnm-glib/nm-client.h:
8445 Add device activation method.
8447 * libnm-glib/nm-device.c:
8448 * libnm-glib/nm-device.h:
8449 * introspection/nm-device.xml:
8450 Remove device activation method. It's done through NMManager now.
8452 * src/vpn-manager/nm-vpn-manager.c (impl_vpn_manager_connect): Use the shiny
8453 new (nm_manager_get_device_by_path) function, get rid of our own )find_device).
8455 2007-09-28 Dan Williams <dcbw@redhat.com>
8457 * libnm-glib/nm-vpn-connection.c
8458 - (nm_vpn_connection_get_state): try to update state if the current
8461 2007-09-27 Dan Williams <dcbw@redhat.com>
8463 Patch from Bill Nottingham
8465 * src/supplicant-manager/nm-supplicant-config.c
8466 - (ADD_STRING_VAL): use correct length for binary blobs when sending
8467 data to the supplicant
8469 2007-09-27 Dan Williams <dcbw@redhat.com>
8471 * src/NetworkManagerSystem.c
8472 - (nm_system_vpn_device_set_from_ip4_config): clean up indentation;
8473 and all address manipulation here should be happening on the
8474 _VPN_ device, not the active device
8476 2007-09-26 Dan Williams <dcbw@redhat.com>
8480 src/nm-activation-request.c
8481 src/nm-activation-request.h
8482 - Move the GetSecrets stuff out of the NMManager instance because it
8483 doesn't really need to be there and complicates things
8486 - (connection_secrets_failed_cb, device_activation_go): connect to the
8487 connection-secrets-failed signal and deactivate the device if
8488 the GetSecrets call fails
8490 * src/nm-device-802-11-wireless.c
8491 - (link_timeout_cb, supplicant_connection_timeout_cb,
8492 real_act_stage2_config, real_act_stage4_ip_config_timeout): request
8493 secrets and give correct hints about whether new secrets should be
8494 asked for by the client or not
8496 2007-09-26 Dan Williams <dcbw@redhat.com>
8498 * src/vpn-manager/nm-vpn-connection.c
8499 - (nm_vpn_connection_set_state, clear_need_auth, finalize,
8500 connection_secrets_updated_cb, get_secrets_cb): don't need to attach
8501 to the secrets-updated signal of the NMConnection since updating
8502 the secrets is done within the scope of the NMVPNConnection object
8504 - (get_connection_secrets): fix an uninialized variable usage error
8506 2007-09-26 Dan Williams <dcbw@redhat.com>
8508 * libnm-util/nm-setting.c
8509 - (setting_vpn_properties_update_secrets): implement so VPN secrets
8510 actually get updated when the user enters them
8512 2007-09-26 Dan Williams <dcbw@redhat.com>
8514 * libnm-glib/nm-vpn-plugin.c
8515 - (impl_vpn_plugin_need_secrets): fix logic when no secrets are needed
8517 2007-09-26 Dan Williams <dcbw@redhat.com>
8519 * include/NetworkManagerVPN.h
8520 - Add a NEED_AUTH state
8522 * src/vpn-manager/nm-vpn-connection.c
8523 - Implement the NEED_AUTH state. First ask the VPN service plugin if
8524 the connection needs secrets, and if so, then ask the settings
8525 service to fill in the secrets. Then start the connection.
8527 2007-09-26 Dan Williams <dcbw@redhat.com>
8529 * src/vpn-manager/nm-vpn-manager.c
8530 - (new_vpn_error, impl_vpn_manager_connect): set errors
8532 2007-09-26 Dan Williams <dcbw@redhat.com>
8534 * introspection/nm-vpn-plugin.xml
8535 libnm-glib/nm-vpn-plugin.c
8536 libnm-glib/nm-vpn-plugin.h
8537 - (impl_vpn_plugin_need_secrets): implement a call that should return
8538 the name of the NMSetting in an NMConnection that may require
8539 secrets specific to that VPN plugin
8541 2007-09-26 Dan Williams <dcbw@redhat.com>
8545 - (nm_manager_get_connection_secrets): make static, unused outside
8547 - Provide NM_MANAGER_CONNECTION_PROXY_TAG for other users
8549 2007-09-26 Tambet Ingo <tambet@gmail.com>
8551 * libnm-glib/nm-vpn-plugin.c (nm_vpn_plugin_connect): Update the plugin activation
8553 (impl_vpn_plugin_connect): Convert properties hash to NMConnection, activate, and
8554 unreference the connection.
8556 * introspection/nm-vpn-plugin.xml: Modify the 'Connect' method arguments: instead of
8557 passing properties hash and routes string list, pass NMConnection (in hashed form).
8559 * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Return routes
8560 as GSList, no need to copy stuff around anymore.
8561 (nm_vpn_connection_activate): Update the plugin activation method.
8563 * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Convert
8564 routes argument to GSList.
8566 2007-09-26 Tambet Ingo <tambet@gmail.com>
8568 * src/nm-manager.c (manager_device_state_changed): Listen to device' NEED_AUTH
8569 state and try to get the secrets.
8571 * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Get the list of
8572 connections from NMManager and let the device to choose the best from the list.
8573 Since the connection list is sorted by system ones first and user ones later,
8574 the devices still prefer system connections like they did before.
8575 (deactivate_old_device): Implement. When a device starts activation, we have a
8576 policy (for now at least) to deactivate any other device that might be either
8577 active or still activating.
8579 * src/vpn-manager/nm-vpn-manager.c: Add NMManager back to the private structure.
8580 It's set on construction, there will be no other way to access it.
8582 * src/nm-device-802-11-wireless.c: Don't touch NMManager, NMManager can listen to
8583 device events and drive the device, not the other way around.
8585 * src/nm-device-802-3-ethernet.c: Ditto.
8587 * src/nm-device.c (nm_device_get_best_connection): The connections list is now
8588 sent along, pass it on to virtual functions.
8590 * src/nm-device-interface.c (nm_device_interface_get_iface): Implement. It's static
8591 for now, but should really be public instead of nm_device_get_iface() since iface
8592 is a property of the DeviceInterface, not Device.
8593 (impl_device_activate): Don't touch NMManager!
8595 2007-09-26 Jürg Billeter <j@bitron.ch>
8597 * initscript/paldo/NetworkManager.in:
8598 * initscript/paldo/NetworkManagerDispatcher.in:
8599 * src/backends/NetworkManagerPaldo.c: (nm_system_enable_loopback),
8600 (nm_system_flush_loopback_routes): update paldo backend
8602 2007-09-26 Tambet Ingo <tambet@gmail.com>
8604 * src/nm-device-802-3-ethernet.c (real_get_best_connection): Don't leak NMManager.
8605 The problem with leaking NMManager is that on shutdown, it doesn't get destroyed,
8606 which means none of the devices get brought down properly, which in turn leaves
8607 DHCP client running.
8609 * src/nm-device-802-11-wireless.c (real_get_best_connection): Ditto.
8610 (supplicant_connection_timeout_cb): Ditto.
8612 2007-09-25 Dan Williams <dcbw@redhat.com>
8615 - (device_activation_go): small hack to work around race when
8616 activating deferred connections; should solve this in a better way
8618 2007-09-25 Dan Williams <dcbw@redhat.com>
8620 * introspection/nm-device.xml
8621 libnm-glib/nm-device.c
8622 libnm-glib/nm-device.h
8623 - Add 'Carrier' property to exported NMDevice objects
8625 * src/nm-device-interface.h
8626 src/nm-device-interface.c
8628 - Add a 'carrier' property to internal NMDevice objects
8630 2007-09-25 Dan Williams <dcbw@redhat.com>
8632 * src/nm-device-802-11-wireless.c
8633 - (ap_auth_enforced): also return the encryption status of the AP so
8634 that callers can differentiate easily between unencrypted APs
8635 and encrypted ones, in addition to whether the AP has an
8637 - (link_timeout_cb, supplicant_connection_timeout_cb,
8638 real_act_stage4_ip_config_timeout): handle unencrypted APs better,
8639 previously would request secrets from unencrypted APs at times
8641 2007-09-25 Dan Williams <dcbw@redhat.com>
8644 - (nm_manager_update_state): new function; updates state and emits
8645 appropriate signals ensuring a state-change signal for the same state
8646 never gets emitted twice in a row.
8647 - (manager_device_state_changed): handle more device state to get a
8648 better picture of the overall NM state
8650 2007-09-25 Dan Williams <dcbw@redhat.com>
8652 * libnm-glib/nm-settings.c
8653 libnm-glib/nm-settings.h
8654 - (new_error -> nm_settings_new_error): make public so that subclasses
8655 can use the same error domain. Also pass a valid error code to
8656 g_error_new_literal() so that libdbus doesn't assert when converting
8657 the GError into a DBusError
8658 - (impl_settings_list_connections, impl_connection_settings_get_id,
8659 impl_connection_settings_get_settings,
8660 impl_connection_settings_get_secrets): use new error creator
8663 2007-09-25 Dan Williams <dcbw@redhat.com>
8665 * src/NetworkManager.c
8666 - (nm_signal_handler, main): don't ignore SIGTERM/SIGINT during startup
8668 2007-09-25 Dan Williams <dcbw@redhat.com>
8670 * src/supplicant-manager/nm-supplicant-manager.c
8671 - (poke_supplicant_cb, nm_supplicant_manager_init,
8672 nm_supplicant_manager_dispose, nm_supplicant_manager_name_owner_changed,
8673 nm_supplicant_manager_startup): when the supplicant isn't running,
8674 try to start it periodically via system bus activation. Fixes
8675 a problem where if wpa_supplicant goes away, NM gets stuck waiting
8676 for the supplicant to come back
8678 2007-09-25 Dan Williams <dcbw@redhat.com>
8680 Ensure that old activation requests are forgotten about; previously
8681 hitting Cancel in the password dialog would deactivate whatever device
8682 that password was requested for, even if that wasn't the currently
8683 activating connection.
8687 - (nm_manager_get_connection_secrets): track the pending call
8688 object so it can be canceled later if needed
8689 - (nm_manager_cancel_get_connection_secrets): cancel a pending
8690 GetSecrets call for a particular connection
8692 * src/nm-activation-request.c
8693 - (dispose): cancel any outstanding GetSecrets calls on the
8696 2007-09-25 Dan Williams <dcbw@redhat.com>
8698 * src/NetworkManagerPolicy.c
8699 - (nm_policy_device_change_check): handle devices that have a
8700 deferred activation. These devices are not really active _yet_,
8701 but need to be treated as such here. Don't interrupt them
8704 * src/nm-device-interface.c
8705 - (impl_device_activate): handle devices that have a deferred activation
8706 like activating or active devices. When multiple active devices
8707 get committed, the device shouldn't be deactivated until the
8708 connection details are available to avoid DoS and such. Currently,
8709 any active, activating, or deferred activation device is deactivated
8710 here before starting the new activation request.
8712 2007-09-25 Dan Williams <dcbw@redhat.com>
8714 Properly re-query secrets from the settings daemon when stuff fails.
8716 * src/nm-device-802-11-wireless.c
8717 - (ap_auth_enforced): handle static WEP correctly here by differentiating
8718 between Shared Key and Open System auth modes
8719 - (link_timeout_cb, supplicant_connection_timeout_cb,
8720 real_act_stage4_ip_config_timeout): clear existing secrets and
8721 request new ones when something fails due to a suspected wrong key
8722 - (real_act_stage2_config): fix for new request_new argument to
8723 nm_manager_get_connection_secrets()
8727 - (nm_manager_get_connection_secrets): return error status; pass
8728 new request_new argument on to the settings daemon
8730 * introspection/nm-settings-connection.xml
8731 - New 'request_new' argument to the GetSecrets call that hints to the
8732 settings daemon to ask the user for completely new secrets
8734 * libnm-glib/nm-settings.c
8735 libnm-glib/nm-settings.h
8736 - (impl_connection_settings_get_secrets): handle new 'request_new'
8739 2007-09-25 Dan Williams <dcbw@redhat.com>
8741 * libnm-util/nm-connection.c
8742 libnm-util/nm-connection.h
8743 - (nm_connection_clear_secrets): new function; clear secrets out of
8744 each NMSetting in an NMConnection
8746 * libnm-util/nm-setting.h
8747 libnm-util/nm-setting.c
8748 - (nm_setting_clear_secrets, default_setting_clear_secrets): clear
8749 secrets out of an NMSetting
8750 - (nm_setting_connection_new, nm_setting_ip4_config_new,
8751 nm_setting_wired_new, nm_setting_wireless_new,
8752 nm_setting_wireless_security_new, nm_setting_ppp_new,
8753 nm_setting_vpn_new, nm_setting_vpn_properties_new): set clear_secrets
8754 to default handler default_setting_clear_secrets()
8756 2007-09-25 Dan Williams <dcbw@redhat.com>
8758 * src/nm-activation-request.c
8759 src/nm-activation-request.h
8760 - (nm_act_request_is_deferred): new function
8762 2007-09-24 Dan Williams <dcbw@redhat.com>
8764 * src/nm-device-802-11-wireless.c
8765 - (activation_success_handler): update signal strength immediately
8768 2007-09-24 Dan Williams <dcbw@redhat.com>
8770 * libnm-util/nm-setting.c
8771 - (verify_wep_key): 40-bit WEP keys are 10 bytes long, not 13
8773 2007-09-24 Dan Williams <dcbw@redhat.com>
8775 * src/NetworkManagerPolicy.c
8776 - (nm_policy_auto_get_best_device): don't interrupt activation of a
8777 device by deactivating it because it doesn't have a "best connection".
8778 Since autoconnect=False connections aren't automatically chosen,
8779 NM would interrupt activation of such a connection because it
8780 would never be "best" due to autoconnect=False.
8782 2007-09-24 Dan Williams <dcbw@redhat.com>
8785 - (nm_manager_get_connection_secrets): Add a long timeout so the user
8786 actually has some time to enter a key before the GetSecrets call
8789 2007-09-24 Dan Williams <dcbw@redhat.com>
8791 * introspection/nm-manager.xml
8793 - (impl_manager_legacy_state): fix 'state' method call return value
8795 2007-09-24 Matthias Clasen <mclasen@redhat.com>
8797 * test/Makefile.am: Install nm-tool
8799 2007-09-24 Dan Williams <dcbw@redhat.com>
8801 Patch from Ross Burton <ross@burtonini.com>
8804 callouts/nm-dhcp-client-action.c
8806 src/vpn-manager/nm-vpn-connection.c
8807 libnm-glib/libnm-glib-test.c
8810 2007-09-24 Dan Williams <dcbw@redhat.com>
8812 * libnm-util/nm-utils.h
8813 libnm-util/nm-utils.c
8814 - (nm_dbus_send_with_callback_replied, nm_dbus_send_with_callback):
8817 2007-09-23 Dan Williams <dcbw@redhat.com>
8819 * vpn-daemons/vpnc/properties/nm-vpnc.c
8820 - Update for new VPN properties API bits; instead of passing around
8821 a lot of random things, everything goes into the NMConnection
8824 2007-09-23 Dan Williams <dcbw@redhat.com>
8826 * libnm-util/nm-setting.c
8827 - Correctly dispose of settings objects if creating them from a hash
8830 2007-09-23 Dan Williams <dcbw@redhat.com>
8832 * libnm-util/nm-setting.c
8833 - (property_value_destroy, nm_setting_vpn_properties_new): initialize
8834 the hash table in a standard manner. Clients of libnm-util should
8835 only call g_hash_table_remove_all(), never destroy the hash table
8838 2007-09-22 Dan Williams <dcbw@redhat.com>
8840 * src/nm-device-802-11-wireless.c
8841 - (real_bring_up): update signal strength every 6 seconds, not 2. No
8842 real reason to do it so often, and reduces wakeups for clients.
8844 2007-09-21 Dan Williams <dcbw@redhat.com>
8846 * src/nm-device-802-11-wireless.c
8847 - (build_supplicant_config): wpa_supplicant requires the option
8848 key_mgmt=NONE for unencrypted networks
8849 - (real_act_stage2_config): clarify log message on activation
8851 2007-09-21 Dan Williams <dcbw@redhat.com>
8853 * test/nm-supplicant-test.c
8855 - Remove supplicant test binary; no longer applicable
8857 2007-09-21 Dan Williams <dcbw@redhat.com>
8859 * src/supplicant-manager/nm-supplicant-manager.c
8860 - (nm_supplicant_manager_init): poke the supplicant at startup to
8861 activate it on the system bus
8863 2007-09-20 Dan Williams <dcbw@redhat.com>
8865 * initscript/RedHat/NetworkManager.in
8866 - dhcdbd is no longer used, so don't try to start it from the initscripts
8868 2007-09-20 Dan Williams <dcbw@redhat.com>
8871 - (nm_device_is_activating): work around a race between auto-activation
8872 and the user activating the same device that is being auto-activated
8874 2007-09-20 Dan Williams <dcbw@redhat.com>
8876 * src/nm-device-interface.c
8877 - (impl_device_activate): until multiple active device support lands,
8878 ensure only one device can be active at a time
8880 2007-09-20 Dan Williams <dcbw@redhat.com>
8882 * src/supplicant-manager/nm-supplicant-config.c
8883 src/supplicant-manager/nm-supplicant-config.h
8884 - (nm_supplicant_config_add_option): hide secrets from system logs
8886 2007-09-20 Dan Williams <dcbw@redhat.com>
8888 * src/NetworkManagerPolicy.c
8889 - (nm_policy_device_change_check): re-enable the wireless device change
8890 checking code; insted of checking for SSIDs, check for the same
8893 2007-09-20 Dan Williams <dcbw@redhat.com>
8895 * src/nm-device-802-11-wireless.c
8896 - (supplicant_iface_connection_state_cb_handler): don't use the card's
8897 composite link state when determining when to start the disconnection
8898 timer; that link state is already based on the supplicant interface's
8899 status which is exactly what's already being examined, plus the link
8900 state is a conglomeration of various things that we don't want here
8902 2007-09-20 Dan Williams <dcbw@redhat.com>
8904 * libnm-glib/nm-access-point.c
8905 - (handle_property_changed): strength is a UCHAR
8907 2007-09-20 Dan Williams <dcbw@redhat.com>
8909 * src/supplicant-manager/nm-supplicant-config.c
8910 - (nm_supplicant_config_add_setting_wireless_security): uppercase
8911 string list keywords too since that's what wpa_supplicant wants
8913 2007-09-20 Dan Williams <dcbw@redhat.com>
8915 * libnm-util/nm-setting.c
8916 - (convert_strv_to_slist): dupe the values in the list because since
8917 the list is a boxed value, it'll get destroyed when it's container
8918 (like a hash table or whatever) gets destroyed
8920 2007-09-20 Tambet Ingo <tambet@gmail.com>
8922 * libnm-util/nm-setting.h: Change the type of NMSettingVPN->routes to
8925 * libnm-util/nm-setting.c (setting_vpn_destroy): Free routes too.
8927 * src/nm-manager.c (connection_get_settings_cb): No need to use weakref,
8928 just use (g_object_set_data_full).
8930 * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Now
8931 that NMSettingVPN->routes is a GSList, convert it to char **.
8932 (nm_vpn_connection_ip4_config_get): Free routes when done.
8933 (nm_vpn_connection_activate): Ditto.
8935 * src/nm-device-802-11-wireless.c (real_connection_secrets_updated)
8936 (real_act_stage2_config): Use defined setting names.
8938 2007-09-20 Dan Williams <dcbw@redhat.com>
8940 * src/nm-device-802-11-wireless.c
8943 - Pass an NMDeviceInterface into nm_manager_get_connection_secrets()
8944 so that the device can be deactivated if secrets are wrong
8946 2007-09-20 Dan Williams <dcbw@redhat.com>
8948 * introspection/nm-settings-connection.xml
8949 libnm-glib/nm-settings.c
8950 libnm-glib/nm-settings.h
8951 - Make GetSecrets asynchronous on the server side
8953 2007-09-20 Dan Williams <dcbw@redhat.com>
8957 - (nm_device_activate): actually check if a given connection
8958 exists before assuming it doesn't
8960 2007-09-20 Tambet Ingo <tambet@gmail.com>
8962 * libnm-util/nm-connection.c (register_default_creators): Use defined
8963 setting names. Register NMSettingVPN and NMSettingVPNProperties.
8965 * libnm-util/nm-setting.c: Define property name strings, use them.
8966 Implement NMSettingVPN and NMSettingVPNProperties settings.
8967 Implement NM_S_TYPE_GVALUE_HASH.
8968 (nm_setting_populate_from_hash): Handle NM_S_TYPE_GVALUE_HASH.
8969 (setting_connection_verify): Rename 'devtype' property to 'type'.
8971 * introspection/nm-vpn-manager.xml: Use NMConnection for VPN service
8974 * src/vpn-manager/nm-vpn-service.c: Ditto.
8976 * src/vpn-manager/nm-vpn-connection.c: Ditto.
8978 * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_connect): Ditto.
8979 (nm_vpn_manager_new): Remove NMManager argument, it's easy enough to get.
8981 * src/nm-device-802-11-wireless.c (find_best_connection): Use defined setting
8982 names. NMSettingConnection->devtype got renamed to 'type'.
8984 * src/nm-device-802-3-ethernet.c (find_best_connection):
8985 (real_get_best_connection): Ditto.
8987 * src/NetworkManager.c (main): Update the vpn manager creation arguments.
8989 * libnm-glib/nm-vpn-manager.[ch]: Update.
8991 2007-09-19 Dan Williams <dcbw@redhat.com>
8993 * src/NetworkManagerAP.c
8994 src/NetworkManagerAP.h
8995 introspection/nm-access-point.xml
8996 - Change strength-changed signal into a properties-changed signal
8997 for all properties, not just strength. Export that signal over dbus
8998 so listeners don't have to poll NM for changes.
8999 - (nm_ap_export_to_dbus, nm_ap_new): not every NMAccessPoint should
9000 get exported over D-Bus, so break up the logic and let other bits
9001 decided when to export the AP
9002 - (nm_ap_new_from_ap): remove, unused
9004 * src/nm-device-802-11-wireless.c
9005 - (merge_scanned_ap): only export APs that are actually on the device
9006 list, not every AP created internally
9008 * libnm-glib/nm-access-point.c
9009 libnm-glib/nm-access-point.h
9010 - Cache properties internally and only hit DBus when needed. Get
9011 property updates from NM signals
9013 2007-09-16 Dan Williams <dcbw@redhat.com>
9015 * libnm-util/nm-connection.c
9016 libnm-util/nm-connection.h
9017 - (nm_connection_for_each_setting_value): new function; iterate over
9018 each setting's value and call a user-provided function with details
9021 * libnm-util/nm-setting.c
9022 libnm-util/nm-setting.h
9023 - (nm_setting_enumerate_values): new function; enumerate the values
9024 of a specific NMSetting subclass for a user-provided function with
9025 details about that value
9026 - Change wep_tx_keyidx to a uint32
9027 - Create settings value tables for each setting defining their type,
9028 key name, offset into the NMSetting subclass' structure, and whether
9029 they are required and/or a secret
9030 - (nm_setting_populate_from_hash): generic function to populate an
9031 NMSetting from a GHash table, make all settings use it
9032 - (nm_setting_hash): generic function to derive a GHashTable from
9033 an NMSetting object, make all settings use it
9035 2007-09-14 Dan Williams <dcbw@redhat.com>
9037 Remove unused stuff in libnm-util
9040 libnm-util/Makefile.am
9041 libnm-util/cipher-private.h
9042 libnm-util/cipher-wep-ascii.c
9043 libnm-util/cipher-wep-ascii.h
9044 libnm-util/cipher-wep-hex.c
9045 libnm-util/cipher-wep-hex.h
9046 libnm-util/cipher-wep-passphrase.c
9047 libnm-util/cipher-wep-passphrase.h
9048 libnm-util/cipher-wpa-psk-hex.c
9049 libnm-util/cipher-wpa-psk-hex.h
9050 libnm-util/cipher-wpa-psk-passphrase.c
9051 libnm-util/cipher-wpa-psk-passphrase.h
9054 libnm-util/dbus-helpers.c
9055 libnm-util/dbus-helpers.h
9056 libnm-util/gnome-keyring-md5.c
9057 libnm-util/gnome-keyring-md5.h
9060 src/nm-device-802-11-wireless.c
9061 test/libnm-util/Makefile.am
9062 test/libnm-util/test-ciphers.c
9063 test/libnm-util/test-dbus-helpers.c
9064 test/libnm-util/test-inputs.h
9067 2007-09-14 Dan Williams <dcbw@redhat.com>
9069 * libnm-util/dbus-method-dispatcher.c
9070 libnm-util/dbus-method-dispatcher.h
9073 2007-09-14 Dan Williams <dcbw@redhat.com>
9075 Implement deferred activation support in the device class.
9077 * src/nm-device-interface.c
9078 src/nm-device-interface.h
9079 - (nm_device_interface_activate): take more arguments to support
9080 deferred activation; callers must pass one of (connection) OR
9081 (service_name, connection_path)
9082 - (impl_device_activate): connection validation is punted to the device
9083 to be able to handle deferred activation. Yes, this means errors
9084 don't get returned from the Activate() dbus call, and yes, that
9085 should be fixed somehow later.
9089 - (clear_act_request): clear additional deferred activation stuff too
9090 - (deferred_activation_timeout_cb): new function; clean up when
9091 deferred activation times out.
9092 - (deferred_activation_start_cb): new function; when the connection
9093 finally becomes available, start device activation
9094 - (nm_device_activate): attach to the right signals of the activation
9095 request if we need to defer activation until the connection is valid
9097 * src/NetworkManagerPolicy.c
9098 - (nm_policy_device_change_check): update for additional arguments
9099 required for nm_device_interface_activate(). Pass NULL for these
9100 though because this function already knows exactly which
9103 2007-09-14 Dan Williams <dcbw@redhat.com>
9105 Implement deferred activation handling in the NMActRequest class. When a
9106 client wants to activate a device but must create the NMConnection details
9107 on the fly, there likely hasn't been enough time yet for NM to receive the
9108 new connection signal and grab all the connection details. So the
9109 activation is deferred (and bounded by a timer) for a while, and if the
9110 connection appears within the window, it is activated.
9112 * src/nm-activation-request.c
9113 src/nm-activation-request.h
9114 - (nm_act_request_class_init): two new signals to support deferred
9115 activation, to allow the listener to handle both timeout and success
9116 - (nm_act_request_new_deferred): new function, starts the deferred
9117 activation timeout handler and listens to the NMManager for
9118 new-connection signals to notice when the connection comes in
9120 2007-09-14 Dan Williams <dcbw@redhat.com>
9124 - (nm_manager_get_connection_service_name,
9125 nm_manager_get_connection_dbus_path): get details about a connection
9126 known internally by the NMManager
9127 - (nm_manager_class_init): fix connection add/remove signal marshalers
9128 because NMConnection is now a GObject subclass
9129 - Use constant for the gobject data tag used on NMConnection objects for
9130 storing the associated DBusGProxy
9132 2007-09-14 Dan Williams <dcbw@redhat.com>
9137 src/supplicant-manager/Makefile.am
9138 src/dhcp-manager/Makefile.am
9139 src/backends/Makefile.am
9140 src/named-manager/Makefile.am
9141 src/ppp-manager/Makefile.am
9142 src/vpn-manager/Makefile.am
9143 test/libnm-util/Makefile.am
9144 test/test-common/Makefile.am
9145 - Remove utils/; it was unused
9147 2007-09-13 Dan Williams <dcbw@redhat.com>
9149 * libnm-glib/nm-vpn-manager.h
9150 libnm-glib/nm-vpn-manager.c
9151 - (nm_vpn_manager_connect): take routes as a GSList, not a char **
9153 2007-09-13 Dan Williams <dcbw@redhat.com>
9155 * src/nm-device-802-3-ethernet.c
9156 - (real_bring_down, nm_device_802_3_ethernet_dispose): disconnect from
9157 netlink monitor carrier signals on dispose, not bring down. The
9158 carrier signals should be handled over the entire lifetime of the
9159 device anyway, not created/destroyed on up or down.
9161 2007-09-13 Dan Williams <dcbw@redhat.com>
9163 * libnm-glib/nm-device.c
9164 libnm-glib/nm-device.h
9165 - (nm_device_activate): take a connection object path rather than an
9166 NMConnection because NMConnection isn't exported over D-Bus and
9167 therefore it dbus-glib can't automatically get an object path from it
9169 2007-09-13 Dan Williams <dcbw@redhat.com>
9171 * libnm-util/nm-setting.c
9172 - (nm_setting_wired_new): set autonegotiate to TRUE by default
9174 2007-09-13 Tambet Ingo <tambet@gmail.com>
9176 * autogen.sh: NetworkManagerMain.h is gone, check for NetworkManager.c.
9178 2007-09-12 Tambet Ingo <tambet@gmail.com>
9180 * src/vpn-manager/nm-vpn-connection.[ch]:
9181 * src/vpn-manager/nm-vpn-manager.[ch]:
9182 * src/vpn-manager/nm-vpn-service.[ch]: Rewrite the vpn handling code. Using
9183 dbus-glib, GObjects, signals etc.
9185 * libnm-glib/nm-vpn-manager.[ch]:
9186 * libnm-glib/nm-vpn-connection.[ch]: Now that the NM implementation changed
9187 so much, rewrite these too.
9189 * libnm-glib/Makefile.am: Add new files to build, build new binding files for
9190 the new introspection files.
9192 * libnm-glib/nm-client.[ch]: Remove all VPN related stuff from here.
9194 * libnm-glib/nm-dbus-utils.[ch]: Renamed from nm-utils.[ch] that was shadowing
9195 the header with the same name from libnm-utils.
9197 * libnm-glib/nm-vpn-plugin.[ch]: Implement.
9199 * libnm-util/Makefile.am: Add nm-utils.[ch] to build.
9201 * introspection/nm-vpn-plugin.xml: Implement.
9203 * introspection/nm-vpn-connection.xml: Implement.
9205 * introspection/nm-vpn-manager.xml: Implement.
9207 * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Remove
9208 the named manager argument, it can just as easily get it as the caller.
9209 (nm_system_vpn_device_unset_from_ip4_config): Ditto.
9211 * src/vpn-manager/nm-dbus-vpn.[ch]: Remove.
9213 * src/nm-dbus-manager.h: Fix up the name_owner signal signature.
9215 * src/dhcp-manager/nm-dhcp-manager.c (garray_to_string): Remove, use one from
9218 * libnm-util/nm-connection.c: Ditto.
9220 * src/NetworkManagerMain.h: Remove, it's finally empty.
9222 * configure.in: Remove utils/ from build.
9224 * include/NetworkManagerVPN.h: Add some more defines to reduce the amount
9225 of hard-coded strings.
9227 * utils/: Move it over to libnm-util.
9229 * test/Makefile.am: Link against libnm-util now that util/ is gone.
9231 * dispatcher-daemon/Makefile.am: Ditto.
9233 * src/Makefile.am: Ditto.
9235 2007-09-12 Dan Williams <dcbw@redhat.com>
9237 Wireless connections can be made with config data from the applet now.
9241 * src/supplicant-manager/nm-supplicant-config.h
9242 src/supplicant-manager/nm-supplicant-config.c
9243 - (nm_supplicant_config_new): kill unused init parameter 'iface'
9244 - (nm_supplicant_config_add_setting_wireless,
9245 nm_supplicant_config_add_setting_wireless_security): new functions;
9246 add key/value pairs from the settings objects to the supplicant
9249 * src/nm-device-802-11-wireless.c
9250 - (cull_scan_list): fix check to not prune currently associated AP
9251 - (build_supplicant_config, real_act_stage2_config): call the functions
9252 of the NMSupplicantConfig that parse settings objects rather than
9253 doing it manually here
9255 2007-09-12 Dan Williams <dcbw@redhat.com>
9257 * src/supplicant-manager/nm-supplicant-interface.c
9258 src/supplicant-manager/nm-supplicant-marshal.list
9259 - (nm_supplicant_interface_class_init): fix stupid mistake, the
9260 "connection-error" signal arguments should be STRING not CHAR
9262 2007-09-12 Dan Williams <dcbw@redhat.com>
9264 * src/NetworkManagerUtils.c
9265 src/NetworkManagerUtils.h
9266 - (nm_utils_hexstr2bin): new function
9268 2007-09-11 Dan Williams <dcbw@redhat.com>
9271 - (connection_get_settings_cb): emit connection-added signal
9272 - (connection_removed_cb): uncomment bits for system settings service,
9273 send connection-removed when appropriate
9274 - (nm_manager_get_connection_secrets, get_secrets_cb): don't clobber
9275 the stack by trying to g_object_set_data() on something that's
9276 not a GObject; handle case where settings service returns
9277 empty settings hash table
9279 2007-09-11 Dan Williams <dcbw@redhat.com>
9281 * src/NetworkManagerPolicy.c
9282 - (connection_added, connection_removed): trigger device change checks
9283 on connection changes
9285 2007-09-11 Dan Williams <dcbw@redhat.com>
9287 * src/nm-activation-request.c
9288 - (connection_secrets_updated_cb): fix c&p error in signal emission
9290 2007-09-11 Dan Williams <dcbw@redhat.com>
9292 * src/nm-device-802-11-wireless.c
9293 - (real_connection_secrets_updated): fix erroneous check
9295 2007-09-11 Dan Williams <dcbw@redhat.com>
9297 * introspection/nm-device.xml
9298 libnm-glib/nm-device.c
9299 libnm-glib/nm-device.c
9300 - Fix Activate call argument borkage; Activate takes 3 arguments
9302 2007-09-11 Dan Williams <dcbw@redhat.com>
9304 * libnm-glib/nm-access-point.c
9305 libnm-glib/nm-access-point.c
9306 - (nm_access_point_get_frequency): now returns guint32 to match
9307 property change on 2007-09-10
9309 2007-09-11 Dan Williams <dcbw@redhat.com>
9311 * src/nm-device-802-11-wireless.c
9312 - (nm_device_802_11_wireless_new): s/index/idx, stupid system header
9313 somewhere defines 'index' and I missed this one when I fixed the
9314 shadow declaration errors earlier
9316 2007-09-11 Dan Williams <dcbw@redhat.com>
9318 * libnm-util/nm-connection.c
9319 - (nm_connection_update_secrets, need_secrets_check): move
9320 802-11-wireless-security need_secrets checks to the setting object
9321 itself, where it belongs
9323 * libnm-util/nm-setting.c
9324 libnm-util/nm-setting.h
9325 - (nm_setting_need_secrets): new function
9326 - (setting_wireless_security_verify,
9327 nm_setting_wireless_security_new_from_hash): make 'key-mgmt' required
9328 - (setting_wireless_security_need_secrets): mostly copy code over
9329 from nm-connection.c
9331 2007-09-11 Dan Williams <dcbw@redhat.com>
9333 * libnm-util/nm-setting.c
9334 libnm-util/nm-setting.h
9335 - (nm_setting_update_secrets): new function; add a virtual function that
9336 subclasses can implement to update their secrets
9337 - (setting_wireless_security_update_secrets): implement that function
9338 for the 802-11-wireless-security subclass
9340 * libnm-util/nm-connection.c
9341 libnm-util/nm-connection.h
9342 - (nm_connection_update_secrets): update secrets for a Setting and
9343 emit a signal on success
9348 - (connection_get_settings_cb): enable system settings bits
9349 - (nm_manager_get_connection_secrets, get_secrets_cb): add function
9350 to request secrets from the settings dbus service and to
9351 push those secrets to the NMConnection itself
9353 * src/nm-activation-request.c
9354 src/nm-activation-request.h
9355 - Attach to the 'secrets-updated' signal of the NMConnection that's
9356 currently being activated, and proxy that signal to other listeners.
9357 Goes through the activation request because the activation request
9358 is the thing that manages the lifetime of the NMConnection that's
9361 * src/nm-device-802-11-wireless.c
9362 - (real_connection_secrets_updated): implement the connection secrets
9363 updated notification and restart activation when secrets are
9365 - (real_act_stage2_config): request secrets from the settings dbus
9366 service if secrets are needed
9370 - (clear_act_request, nm_device_activation_cancel,
9371 nm_device_deactivate_quickly, nm_device_dispose): consolidate places
9372 where the activation request is cleared
9373 - (nm_device_activate, connection_secrets_updated_cb): attach to the
9374 updated secrets signal of activation request and add a function
9375 that subclasses can override to handle it easily
9377 2007-09-11 Tambet Ingo <tambet@gmail.com>
9379 * src/backends/NetworkManagerSuSE.c: Fix a build issue caused by the
9380 removal of NetworkManagerAPList.
9382 2007-09-10 Dan Williams <dcbw@redhat.com>
9384 * src/NetworkManagerAP.c
9385 src/NetworkManagerAP.h
9386 introspection/nm-access-point.xml
9387 - Change 'freq' property to a guint32 instead of a double since we
9388 weren't using the floating point bits anyway
9390 2007-09-10 Dan Williams <dcbw@redhat.com>
9392 * NetworkManagerAP.c
9394 NetworkManagerPolicy.c
9395 NetworkManagerSystem.c
9396 NetworkManagerUtils.c
9397 NetworkManagerUtils.h
9398 nm-device-802-11-wireless.c
9399 nm-device-802-3-ethernet.c
9402 vpn-manager/nm-dbus-vpn.c
9403 - Warning fixes; casts and removal of unused variables
9405 2007-09-10 Dan Williams <dcbw@redhat.com>
9407 * include/NetworkManager.h
9408 - Kill NMNetworkType; AP types don't matter any more
9410 * src/NetworkManagerAPList.c
9411 src/NetworkManagerAPList.h
9413 - Kill; NMAccessPointList has outlived it's usefulness
9415 * src/NetworkManagerAP.c
9416 src/NetworkManagerAP.h
9417 - (match_cipher, security_compatible, nm_ap_check_compatible): new
9418 functions; check if an NMConnection object is compatible with the
9420 - (freq_to_channel, channel_to_freq): utility functions for
9421 channel <-> frequency conversion
9425 - (nm_device_get_best_connection): pass the specific object around
9426 (which might be the object path of a specific AP to connect to).
9427 The get_best_connection() call should populate this on return
9428 if needed (wireless does).
9430 * src/nm-device-802-3-ethernet.c
9431 - (real_get_best_connection): handle specific_object argument
9433 * src/NetworkManager.c
9434 src/NetworkManagerMain.h
9435 - Remove unused includes
9437 * src/nm-device-802-11-wireless.c
9438 src/nm-device-802-11-wireless.h
9439 - Convert the ap_list into a GSList from an NMAccessPointList
9440 - No need for caching the 'activation_ap' since this is now determined
9441 from the specific_object of the activation request, which is
9442 populated from the get_best_connection() call or from a user request
9443 - (nm_device_802_11_wireless_update_bssid): fix warning
9444 - (get_wireless_capabilities): fix error message format arguments
9445 - (nm_device_802_11_wireless_copy_allowed_to_dev_list): remove, unused
9446 - (find_best_connection, real_get_best_connection): implement
9447 - (ap_list_get_ap_by_ssid, nm_device_802_11_wireless_ap_list_print):
9448 move here from NetworkManagerAPList
9449 - (ap_need_secrets): remove; moved to nm-connection.c where it belongs
9450 - (real_act_stage1_prepare): just ensure an AP exists, connection is
9451 already verified earlier
9452 - (real_act_stage2_config): use nm_connection_need_secrets()
9454 * src/NetworkManagerPolicy.c
9455 - (nm_policy_auto_get_best_device): handle specific objects
9456 - (create_connection): remove; automatic connection creation functionality
9457 is handled by the Connection objects
9458 - (nm_policy_device_change_check): handle specific_object
9460 * libnm-util/nm-connection.c
9461 - (wireless_sec_need_secrets, nm_connection_need_secrets): implement
9463 2007-09-10 Dan Williams <dcbw@redhat.com>
9466 - (query_connections): fix uninitialized variable problem that caused
9468 - (nm_manager_add_device): take devices down on startup so that we can
9469 be assured that nm_device_is_up() won't short-circuit the init
9470 process. Hack until the is_up check gets split into two pieces
9471 that aren't behaviorally confusing.
9473 2007-09-09 Dan Williams <dcbw@redhat.com>
9475 * introspection/nm-device.xml
9476 - The 'Activate' method now takes 3 arguments, a service name for the
9477 settings service (user or system), the object path of the connection
9478 to activate, and the specific object to activate, if any
9480 * src/nm-device-interface.c
9481 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
9483 - (impl_device_activate): adapt to new Activate arguments; validate
9484 the service name and get the Connection object from the NMManager
9485 before starting to activate the device with the specified connection
9487 * src/nm-device-802-3-ethernet.c
9488 - (real_get_best_connection): find the best connection, or create a
9489 default one if no existing connections can be used
9491 * src/NetworkManagerPolicy.c
9492 - (nm_policy_auto_get_best_device): Get the device's best connection
9493 and only pick the device if it has one
9494 - (nm_policy_device_change_check): disable wireless bits for now until
9495 wireless get_best_connection() can be implemented (replacing "best_ap");
9496 don't create a default connection here as the device subclass will do
9501 - (nm_manager_get): make NMManager a singleton and expose the getter
9503 - Rework internal NMManager connection handling to use the same
9504 routines for both the system and user settings services. Most calls
9505 take a new NMConnectionType argument specifying either system or user
9507 - (nm_manager_get_connection_by_object_path): new function; get a
9508 connection keyed on its object path
9510 * src/NetworkManager.c
9511 - (main): use nm_manager_get()
9513 2007-09-09 Dan Williams <dcbw@redhat.com>
9517 - (nm_device_get_best_connection): new function; get best connection
9518 for the device at that time
9520 2007-09-09 Dan Williams <dcbw@redhat.com>
9522 * src/nm-device-interface.h
9523 - Add NMDeviceInterfaceError with an UnknownConnection error
9525 2007-09-09 Dan Williams <dcbw@redhat.com>
9527 Stupid mistake on my part; object path and interface for settings service
9528 and connection objects can be the same, only the service name must be
9529 different for the system and user settings services.
9531 * include/NetworkManager.h
9533 introspection/nm-settings-connection.xml
9534 introspection/nm-settings.xml
9535 libnm-glib/nm-settings.c
9536 - (nm_connection_settings_init, query_user_connections,
9537 new_connection_cb): Unify NetworkManagerSettings and Connection
9538 interface name and object path
9540 2007-09-06 Dan Williams <dcbw@redhat.com>
9542 * libnm-glib/nm-object.c
9543 - (nm_object_get_string_property, nm_object_get_object_path_property,
9544 nm_object_get_int_property, nm_object_get_uint_property,
9545 nm_object_get_boolean_property, nm_object_get_byte_property,
9546 nm_object_get_double_property, nm_object_get_byte_array_property):
9547 clear GValues after copying their contents, fixes memory leaks
9548 after every property access because dbus-glib copies the values
9549 from the DBusMessage into the GValue already.
9551 2007-09-06 Dan Williams <dcbw@redhat.com>
9553 * introspection/nm-access-point.xml
9554 - Fix WpaFlags and RsnFlags property names to be what dbus-glib expects
9555 them to be. There's some magic property name parsing going on in
9556 dbus-glib that breaks up property names based on studly-caps and
9557 puts - between words.
9559 * libnm-glib/nm-access-point.c
9560 - (nm_access_point_get_wpa_flags, nm_access_point_get_rsn_flags):
9563 2007-09-06 Dan Williams <dcbw@redhat.com>
9566 - (nm_manager_user_connections_destroy): clear the user connections hash
9567 table, don't destroy it
9568 - (finalize): only destroy the hash table on NMManager finalization
9570 2007-09-02 Dan Williams <dcbw@redhat.com>
9572 * include/NetworkManager.h
9573 libnm-glib/nm-settings.c
9574 - defines for the user settings daemon D-Bus bits
9576 * src/NetworkManager.c
9577 - Remove stuff that referred to the old NetworkManagerInfo service
9579 * src/vpn-manager/nm-dbus-vpn.h
9580 - Move old NMI defines to the only place they are used still
9582 * libnm-util/nm-connection.c
9583 libnm-util/nm-connection.h
9584 src/nm-activation-request.c
9585 - Make NMConnection a GObject subclass so we can do spiffy stuff with it
9589 - Get connections and their settings from the user settings daemon
9590 at the appropriate times
9592 2007-09-02 Dan Williams <dcbw@redhat.com>
9594 * libnm-util/nm-setting.c
9595 - (nm_settings_verify): correct setting name is 'connection', not 'info'
9596 - (setting_wireless_hash): set the right value on the item
9598 2007-09-02 Dan Williams <dcbw@redhat.com>
9602 - Remove, no longer useful
9604 2007-08-30 Dan Williams <dcbw@redhat.com>
9607 src/NetworkManagerDbus.c
9608 src/NetworkManagerDbus.h
9609 src/vpn-manager/nm-dbus-vpn.c
9610 - Remove, no longer necessary. Move last bits to the only place its
9611 used, in nm-dbus-vpn.c
9613 * src/NetworkManagerAPList.c
9615 src/NetworkManager.c
9616 src/nm-device-802-11-wireless.c
9617 src/vpn-manager/nm-vpn-manager.c
9618 src/vpn-manager/nm-vpn-service.c
9619 src/NetworkManagerPolicy.c
9621 - Remove usage of NetworkManagerDbus.h, and kill the obfuscation
9622 that was message_is_error()
9624 2007-08-30 Dan Williams <dcbw@redhat.com>
9627 - Include config.h to get defines for endiannes (gnome.org #420216)
9629 2007-08-30 Dan Williams <dcbw@redhat.com>
9631 Patch from Philip Withnall <bugzilla@tecnocode.co.uk>
9633 * src/ppp-manager/Makefile.am
9634 - use -fPIC (gnome.org #471825)
9636 2007-08-29 Dan Williams <dcbw@redhat.com>
9638 * include/NetworkManager.h
9639 - Keep NMConnection object path in sync
9641 * libnm-glib/nm-settings.c
9642 libnm-glib/nm-settings.h
9643 - Break D-Bus object registration out of the init function, because
9644 every object that's exported over D-Bus needs to use the _same_
9645 DBusConnection. Otherwise, each object would get a different object
9646 path tree and wouldn't be callable.
9648 2007-08-29 Dan Williams <dcbw@redhat.com>
9650 * libnm-util/nm-setting.h
9651 libnm-util/nm-setting.c
9652 libnm-util/nm-connection.c
9653 src/NetworkManagerPolicy.c
9654 - 'info' settings object should be 'connection' says the spec
9655 at NetworkManagerConfigurationSpecification
9657 2007-08-29 Dan Williams <dcbw@redhat.com>
9659 * libnm-glib/nm-settings.c
9660 libnm-glib/nm-settings.h
9661 - make the dbus path a property of the object, and autogenerate it.
9662 It can't be composed of the 'id' field becuase that's not available
9663 yet during the GObject creation in nm_connection_settings_init()
9665 2007-08-29 Dan Williams <dcbw@redhat.com>
9667 * introspection/nm-settings-connection.xml
9668 introspection/nm-settings.xml
9669 - Service name -> NetworkManagerUserSettings because two services
9670 can't share part of the same path. I'm not really sure how we'll use
9671 the same code with the system-settings daemon...
9673 2007-08-28 Dan Williams <dcbw@redhat.com>
9675 * src/nm-device-interface.c
9676 src/nm-device-interface.h
9677 - Kill one more bit of NMData
9679 2007-08-28 Dan Williams <dcbw@redhat.com>
9681 * src/NetworkManagerSystem.h
9684 src/nm-hal-manager.c
9685 src/NetworkManager.c
9686 src/nm-device-802-11-wireless.c
9687 src/nm-hal-manager.h
9688 src/nm-device-802-3-ethernet.c
9689 src/vpn-manager/nm-vpn-service.h
9690 src/vpn-manager/nm-vpn-manager.c
9691 src/vpn-manager/nm-vpn-manager.h
9692 src/vpn-manager/nm-vpn-service.c
9693 src/nm-device-802-11-wireless.h
9694 src/NetworkManagerMain.h
9695 src/nm-device-802-3-ethernet.h
9696 src/backends/NetworkManagerGentoo.c
9697 src/backends/NetworkManagerPaldo.c
9698 src/backends/NetworkManagerFrugalware.c
9699 src/backends/NetworkManagerRedHat.c
9700 src/backends/NetworkManagerSlackware.c
9701 src/backends/NetworkManagerGeneric.c
9702 src/backends/NetworkManagerArch.c
9703 src/backends/NetworkManagerSuSE.c
9704 src/backends/NetworkManagerGeneric.h
9705 src/backends/NetworkManagerDebian.c
9708 2007-08-28 Dan Williams <dcbw@redhat.com>
9710 * src/NetworkManagerMain.h
9711 src/nm-device-802-11-wireless.c
9712 src/NetworkManager.c
9713 - Remove invalid AP list from NMData; need to rework this somewhat, but
9714 for now we should set the 'invalid' property on individual APs, and when
9715 we need to invalidate a whole ESS, set the 'invalid' on every member of
9718 2007-08-28 Dan Williams <dcbw@redhat.com>
9720 * src/NetworkManagerAP.c
9721 src/NetworkManagerAP.h
9722 - Remove 'fallback' tag, to be replaced by NMConnection/NMSettings
9723 'autoconnect' property instead
9725 * src/NetworkManager.c
9726 src/NetworkManagerMain.h
9727 src/NetworkManagerPolicy.c
9728 src/NetworkManagerPolicy.h
9729 - Remove the 'allowed_ap_list', which should be replaced by
9730 NMConnection/NMSettings instead, since _those_ are the allowed
9731 things that NM can connect to
9733 * src/nm-device-802-11-wireless.c
9734 - Remove both allowed_ap_list usage and 'fallback' checking
9736 2007-08-28 Dan Williams <dcbw@redhat.com>
9739 src/named-manager/nm-named-manager.c
9740 src/named-manager/nm-named-manager.h
9741 src/NetworkManager.c
9742 src/vpn-manager/nm-vpn-manager.c
9743 src/NetworkManagerMain.h
9744 src/NetworkManagerSystem.c
9745 - Remove the named-manager object from NMData structure in preparation
9746 for NMData's timely death. Make the NMNamedManager the singleton that
9749 2007-08-28 Dan Williams <dcbw@redhat.com>
9751 Remove NMAPSecurity objects, they are replaced with flags on the APs for
9752 each AP's capabilities, and by NMConnection/NMSettings objects for user
9753 defined connections.
9755 * include/NetworkManager.h
9756 - Redefine 802.11 security properties. There are now device capabilities
9757 and AP flags and AP security flags. It was way to unclear before.
9760 src/nm-ap-security-leap.h
9761 src/nm-ap-security-leap.c
9762 src/nm-ap-security-wpa-eap.c
9763 src/nm-ap-security-wpa-eap.h
9764 src/nm-ap-security-private.h
9765 src/nm-ap-security-wpa-psk.c
9766 src/nm-ap-security-wpa-psk.h
9767 src/nm-ap-security-wep.c
9768 src/nm-ap-security-wep.h
9769 src/nm-ap-security.c
9770 src/nm-ap-security.h
9771 - Removed, to be replaced with NMConnection/NMSettings objects
9775 - Removed, to be replaced by code that talks to the new info daemon
9776 interface and gets NMConnection/NMSettings objects
9778 * src/backends/NetworkManagerSuSE.c
9779 - Remove usage of NMAPSecurity; should be replaced by a system-level
9780 info-daemon that does the same thing but talks the new info-daemon
9783 * src/NetworkManagerAP.h
9784 src/NetworkManagerAP.c
9785 src/NetworkManagerAPList.c
9786 libnm-glib/libnm-glib-test.c
9787 - Remove usage of NMAPSecurity objects and adjust to new flags for
9790 * libnm-glib/nm-access-point.c
9791 libnm-glib/nm-access-point.h
9792 introspection/nm-access-point.xml
9794 - Adjust to new flags for AP security
9798 src/vpn-manager/nm-dbus-vpn.c
9799 - Remove D-Bus pending call stuff from nm-utils and put it in the VPN
9800 stuff which is the only place it's used
9802 * src/nm-device-interface.c
9803 src/nm-device-interface.h
9804 introspection/nm-device.xml
9805 src/nm-activation-request.c
9806 src/nm-activation-request.h
9808 - Add a new 'specific_object' argument that hints to NM what actual
9809 AP or other device-specific thing the connection should apply to.
9810 NMConnection objects can apply to more than one actual device/AP.
9812 * libnm-util/nm-connection.c
9813 * libnm-util/nm-connection.h
9814 - Add 'have_secrets" call stubs
9816 * libnm-util/cipher.h
9817 - Move NM_AUTH_TYPE_* defines here for now
9819 * src/nm-device-802-11-wireless.c
9820 - Remove usage of NMAPSecurity, to be replaced with NMConnection/
9823 * src/NetworkManagerDbus.c
9824 * src/NetworkManagerPolicy.c
9825 - Remove usage of update_allowed_networks, should be pushing data in
9828 2007-08-27 Tambet Ingo <tambet@gmail.com>
9830 * src/nm-manager.c (impl_manager_get_devices): Duplicate the device path,
9831 dbus-glib frees it when the call is done.
9833 2007-08-26 Dan Williams <dcbw@redhat.com>
9835 * introspection/nm-device.xml
9836 - Add 'Index' property on NMDevice objects (forgot to do this earlier)
9838 2007-08-26 Dan Williams <dcbw@redhat.com>
9840 * src/nm-device-802-3-ethernet.c
9841 - (constructor): move connection of interface-connected/disconnected
9842 signals here from real_bring_up(). Should be listening to netlink
9843 for carrier events no matter what the initial state of the device
9846 2007-08-26 Dan Williams <dcbw@redhat.com>
9848 * src/nm-netlink-monitor.c
9849 - (nm_netlink_monitor_class_init): fix marshalling types for
9850 interface-connected/interface-disconnected
9851 - (nm_netlink_monitor_event_handler): clean up carrier on/off
9854 2007-08-26 Dan Williams <dcbw@redhat.com>
9856 Convert to using interface indexes as the primary method of identifying
9857 devices inside NetworkManager. Indexes are (?) stable, but devices can
9858 be renamed at any time. Device object paths now refer to the device
9859 index rather than the name, and you can map those two manually if you like
9860 by looking in the /sys/class/net/<name>/ifindex file. Also moves most
9861 netlink-related code to nm-netlink.c, and cleans up nm-netlink-monitor.c
9862 to use interface indexes rather than names.
9864 2007-08-26 Dan Williams <dcbw@redhat.com>
9866 * src/nm-netlink-monitor.h
9867 - Remove one last bit of wireless-event signal
9869 2007-08-26 Dan Williams <dcbw@redhat.com>
9871 * src/nm-netlink-monitor.c
9872 - (nm_netlink_monitor_class_init, nm_netlink_monitor_event_handler):
9873 don't need the 'wireless-event' signal anymore since that's all
9874 handled by wpa_supplicant
9876 2007-08-25 Dan Williams <dcbw@redhat.com>
9878 It's 2007. Remove support for drivers that don't support wireless scanning.
9881 include/NetworkManager.h
9882 src/NetworkManagerUtils.c
9883 src/NetworkManagerPolicy.c
9884 src/nm-device-802-11-wireless.c
9885 - Remove special handling for non-scanning devices and mark them
9886 as unsupported/unhandled
9888 2007-08-20 Dan Williams <dcbw@redhat.com>
9890 * src/nm-device-802-11-wireless.c
9891 src/nm-device-802-3-ethernet.c
9892 - (real_is_up): move device-specific tests before generic IFF_UP test,
9893 because when the card is pulled or the module removed, the device
9894 is already !IFF_UP and then device-specific cleanup (removing
9895 the supplicant interface, periodic checks, etc) never gets done
9897 2007-08-20 Dan Williams <dcbw@redhat.com>
9900 - (nm_manager_remove_device): bring device down before disconnecting
9901 signal handlers, so that the 'state' signal will get broadcast when
9902 the device enters the DOWN state
9903 - (manager_device_state_changed): add NM_DEVICE_STATE_DOWN to the list
9904 of states that cause the NMManager to recheck its state
9906 2007-08-20 Dan Williams <dcbw@redhat.com>
9908 * src/supplicant-manager/nm-supplicant-interface.c
9909 - (interface_disconnect_done): don't try to dispose of the net proxy
9910 when it may already have been disposed of
9912 2007-08-20 Dan Williams <dcbw@redhat.com>
9914 * src/nm-device-802-11-wireless.c
9915 - (nm_device_802_11_wireless_get_ssid): don't traceback and die when
9916 the SSID isn't available; this can happen when the card is pulled
9917 or the module unloaded, during the post-removal deactivation
9918 paths, when the ioctl returns ENODEV
9920 2007-08-20 Dan Williams <dcbw@redhat.com>
9922 * src/nm-device-802-11-wireless.c
9923 - (merge_scanned_ap): only merge the AP with another if the SSID, BSSID,
9924 frequency, and mode match. Applets are now responsible for grouping
9927 2007-08-20 Dan Williams <dcbw@redhat.com>
9929 * src/NetworkManagerAP.c
9930 * src/NetworkManagerAP.h
9931 - (nm_ap_print_self): new function
9933 * src/NetworkManagerAPList.c
9934 - (nm_ap_list_print_members): call nm_ap_print_self() rather than trying
9937 2007-08-17 Dan Williams <dcbw@redhat.com>
9939 * src/nm-device-802-3-ethernet.c
9940 - (real_bring_down): don't try to dispose of stuff that might not
9943 2007-08-17 Dan Williams <dcbw@redhat.com>
9945 * src/NetworkManagerAP.c
9946 - (nm_ap_set_user_addresses): uppercase any BSSID passed in from the
9947 applet. This ensures that the case between the seen-bssids and
9948 the bssids reported by the driver match.
9950 2007-08-17 Dan Williams <dcbw@redhat.com>
9952 * src/nm-device-802-11-wireless.c
9953 - (device_cleanup): disconnect the interface in wpa_supplicant before
9954 we dispose of the interface proxy in NM
9956 2007-08-16 Dan Williams <dcbw@redhat.com>
9958 * libnm-glib/nm-client.c
9959 - (nm_client_init): create VPN connections hash table with key free
9961 - (proxy_vpn_connection_added): VPN connections hash table key should
9962 be a duplicated value, not the same memory address as the VPN
9963 connection name. This is because the VPN connection name could
9964 potentially be freed and set to something else during the lifetime
9965 of the NMVPNConnection object.
9967 2007-08-16 Tambet Ingo <tambet@gmail.com>
9969 * src/ppp-manager/nm-ppp-manager.c (pppd_child_setup): Implement.
9970 (nm_ppp_manager_start): Use g_spawn_async() since we're not doing anything
9971 with the file descriptors. Send a child setup function to change the pppd
9974 2007-08-15 Dan Williams <dcbw@redhat.com>
9976 * src/supplicant-manager/nm-supplicant-interface.c
9977 - (try_remove_iface): new function, ask wpa_supplicant to remove
9979 - (nm_supplicant_interface_dispose): call try_remove_iface() when
9980 disposing of the NMSupplicantInterface. Otherwise weird stuff
9981 happens on hotplug if wpa_supplicant doesn't tear down and readd
9982 the interface internally
9984 2007-08-15 Dan Williams <dcbw@redhat.com>
9986 * src/nm-device-802-11-wireless.c
9987 - (real_bring_down): move most of this function into device_cleanup()
9988 so that it can be called from elsewhere
9989 - (nm_device_802_11_wireless_dispose): clean up device periodic timers
9990 and stuff on dispose. These would normally get cleaned up when
9991 the device is marked down and deactivated, but when the device is
9992 hot-unplugged, it's already down and real_down() never gets run
9994 2007-08-15 Dan Williams <dcbw@redhat.com>
9997 - (nm_dbus_get_user_key_for_network_cb): fix incorrect refcounting that
9998 caused a reference leak on device for which NM requested a key
10000 2007-08-15 Dan Williams <dcbw@redhat.com>
10002 * libnm-glib/nm-client.c
10003 - (nm_client_get_best_vpn_state): fix leakage of the vpn connection list
10005 2007-08-15 Tambet Ingo <tambet@gmail.com>
10007 * src/ppp-manager: Implement ppp-manager. It's sort of dead code for now since
10008 nothing is using it at the moment, but it'll be all useful and stuff later on.
10010 * libnm-util/nm-setting.h: Define NMSettingPPP.
10012 * libnm-util/nm-setting.c: Implement NMSettingPPP.
10014 * libnm-util/nm-connection.c (register_default_creators): Register ppp setting.
10016 * src/Makefile.am: Add ppp-manager to SUBDIRS.
10018 * configure.in: Require ppp headers. Build Makefile for ppp-manager.
10020 * introspection/Makefile.am: Add nm-manager-client.xml to EXTRA_DIST.
10022 2007-08-14 Tambet Ingo <tambet@gmail.com>
10024 * libnm-glib/Makefile.am: Use nm-manager-client.xml to produce nm-client-bindings.
10026 * introspection/nm-manager-client.xml: Add a horrible horrbile hack to work around
10027 an issue with dbus-glib bindings generator. The issue is, the generated C caller
10028 functions for dbus methods "Sleep(bool)" and "sleep()" both have the same function
10029 name and different arguments and it won't compile anymore. To fix this, we now have
10030 two copies of nm-manager.xml file. nm-manager.xml contains the actual interface,
10031 that is new API + compatibility API and used by the daemon. The other,
10032 nm-manager-client.xml is only the new API without compatibility bits and is used
10033 by libnm-glib to make it compile.
10035 * introspection/nm-manager.xml: Define compatibility methods (sleep, wake, state).
10037 * src/nm-manager.c (impl_manager_legacy_sleep)
10038 (impl_manager_legacy_wake, impl_manager_legacy_state): Implement the compatibility
10039 interface functions for 0.6 branch.
10041 2007-08-14 Dan Williams <dcbw@redhat.com>
10043 * src/NetworkManagerAP.c
10044 - (nm_ap_new_from_properties): fix mistaken check of return value
10045 from memcmp (should expect 0)
10047 2007-08-14 Dan Williams <dcbw@redhat.com>
10049 (force-commit to fix wrong comment and partial commit of r2685; this
10050 commit actually applies to r2685)
10052 * src/NetworkManagerUtils.c
10053 - (nm_utils_same_ssid): add "ignore_trailing_null" parameter which
10054 ignores trailing nulls in the SSID to work around mismatches in
10055 expectations between WEXT and what the info-daemon passes back. The
10056 info-daemon would pass back the correct length, but due to the
10057 ESSID length issues with WEXT 22 and greater and wpa_supplicant,
10058 the device would always have an SSID + 1 depending on what versions
10059 of wpa_supplicant, the kernel, and NM you have. This was most often
10060 visible by just quitting the applet and relaunching, which caused
10061 NM to reassociated to the same network over again when reloading
10064 * src/NetworkManagerPolicy.c
10065 src/NetworkManagerUtils.h
10066 src/nm-device-802-11-wireless.c
10067 - Update for new parameter to nm_utils_same_ssid()
10069 2007-08-14 Dan Williams <dcbw@redhat.com>
10071 * src/NetworkManagerAP.c
10072 - (nm_ap_new_from_properties): ignore BSSs with invalid BSSIDs. Today
10073 I encountered a BSS that wasn't just hiding it's ESSID, it was
10074 setting the BSSID to all 0s. That confused the heck out of NM,
10075 plus it's useless and probably out-of-spec.
10077 2007-08-14 Dan Williams <dcbw@redhat.com>
10079 * callouts/Makefile.am
10080 src/dhcp-manager/nm-dhcp-manager.c
10081 src/dhcp-manager/nm-dhcp-manager.h
10082 src/dhcp-manager/Makefile.am
10083 - Change install location of nm-dhcp-client.action to ${prefix}/libexec
10085 2007-08-14 Dan Williams <dcbw@redhat.com>
10087 * src/dhcp-manager/nm-dhcp-manager.c
10088 - (dhclient_run): don't pass -x to dhclient until we figure out if
10089 it's really needed, get rid of unused xtra_args parameter
10091 2007-08-14 Dan Williams <dcbw@redhat.com>
10093 * include/NetworkManagerVPN.h
10094 src/vpn-manager/nm-dbus-vpn.c
10095 src/vpn-manager/nm-dbus-vpn.h
10096 src/vpn-manager/nm-vpn-act-request.c
10097 src/vpn-manager/nm-vpn-act-request.h
10098 src/vpn-manager/nm-vpn-service.c
10099 src/vpn-manager/nm-vpn-service.h
10100 libnm-glib/nm-vpn-connection.c
10101 libnm-glib/nm-vpn-connection.h
10102 libnm-glib/nm-client.h
10103 - Rename NM_VPN_STATE_* -> NM_VPN_SERVICE_STATE_* and NMVPNState ->
10104 NMVPNServiceState to clarify what they apply to
10105 - Rename NM_VPN_ACT_STAGE_* -> NM_VPN_CONNECTION_STATE_* and
10106 NMVPNActStage -> NMVPNConnectionState for the same reason
10108 * libnm-glib/nm-client.c
10109 - Constant + type renames from above
10110 - Properly handle NameOwnerChanged/manager_running signals
10111 for NM service; only emit when state really changes
10112 - Use hash tables correctly so that the key (which was previously owned
10113 by the D-Bus message) now has the same lifetime as the value, since
10114 the key is now taken from the the NMVPNConnection itself. This
10115 really fixes the double-VPN names in the applet
10117 2007-08-13 Dan Williams <dcbw@redhat.com>
10119 Patch from Michael Biebl <biebl@debian.org>
10123 - Update for vpn-properties move
10125 2007-08-13 Dan Williams <dcbw@redhat.com>
10127 * libnm-glib/nm-client.c
10128 - Convert internal VPN connection tracking from a list to a hash table
10129 to easily avoid duplicates
10130 - (nm_client_get_vpn_connections): now returns an allocated GSList that
10131 must be freed by the caller, like nm_client_get_devices()
10132 - (nm_client_remove_vpn_connection): don't let the removal signal
10133 leak through for NMVPNConnection objects that aren't actually
10135 - (manager_running): throw away VPN connection list when NM goes away,
10136 like with the device list
10138 2007-08-13 Dan Williams <dcbw@redhat.com>
10140 * src/dhcp-manager/nm-dhcp-manager.c
10141 - Stop any dhclient instance that might be already running for a
10142 particular interface before starting an NM spawned dhclient. Fixes
10143 dhclient processes left over if NM crashes, stuff like that.
10145 2007-08-13 Dan Williams <dcbw@redhat.com>
10147 * src/NetworkManagerAP.c
10148 - (finalize): don't try to g_array_free (NULL, ...), which happened
10149 when the AP wasn't broadcasting it's SSID
10151 2007-08-13 Rodrigo Moya <rodrigo@gnome-db.org>
10153 * include/NetworkManager.h: added DBus path for connection settings.
10155 * libnm-glib/nm-settings.[ch] (nm_settings_signal_new_connection,
10156 nm_connection_settings_signal_updated,
10157 nm_connection_settings_signal_removed): new functions to wrap the
10159 (nm_connection_settings_init): register GObject with DBus.
10160 (nm_connection_settings_get_dbus_object_path): new function.
10162 * libnm-glib/Makefile.am: added libnmutil to link flags.
10164 2007-08-13 Tambet Ingo <tambet@gmail.com>
10166 * configure.in: Remove checks for dhcdbd as it's killed! killed! killed!
10168 * gnome/*: Remove. The nm-vpn-properties directory is now part of nm-applet,
10169 libnm_glib directory got merged with libnm-glib/.
10171 * libnm-glib/libnm-glib.pc.in: Rename to libnm_glib.pc.in.
10173 * libnm-glib/Makefile.am: Add legacy libnm_glib.[ch] to the build.
10174 Rename the library from libnm-glib to libnm_glib to maintain the library API
10175 compatibility with 0.6 branch.
10177 * Makefile.am: Remove gnome/ SUBDIR.
10179 * gnome/libnm_glib/libnm_glib.[ch]: Move to libnm-glib/.
10181 * src/Makefile.am: Remove the WPA_SUPPLICANT_BIN define.
10183 * dispatcher-daemon/Makefile.am: Link the binary with libnm_glib.
10185 * configure.in: Remove GNOME checks, NetworkManager does not need any of these
10187 Remove checks for wpa_supplicant binary, it's used over dbus.
10188 Remove gnome/ directory files form AC_OUTPUT, that directory is getting moved.
10190 * test/Makefile.am: Remove define WPA_SUPPLICANT_BIN.
10191 Link the binaries with libnm_glib.la.
10193 2007-08-12 Dan Williams <dcbw@redhat.com>
10195 * src/NetworkManagerPolicy.c
10196 - (nm_policy_device_change_check): fix policy to deactivate old device
10197 before activating new one, at least until the multiple active
10198 device support lands
10200 2007-08-12 Dan Williams <dcbw@redhat.com>
10202 * src/NetworkManagerPolicy.c
10203 - (nm_policy_new): hook up to connection-added / connection-removed
10204 signals instead of connections-changed
10206 2007-08-12 Dan Williams <dcbw@redhat.com>
10208 Kill dhcdbd until it's dead, dead, dead. Based on a patch from
10209 Robert Frank <rfrank@redhat.com>
10211 * src/dhcp-manager/nm-dhcp-manager.c
10212 src/dhcp-manager/nm-dhcp-manager.c
10214 - Spawn and communicate with dhclient directly, through means of a
10215 custom dhclient callout script. Process callout D-Bus signals
10216 with dbus-glib instead of hand-rolled dbus. DHCP timeouts are now
10217 sent via gobject signals rather than being driven by the dhcp manager
10220 2007-08-12 Dan Williams <dcbw@redhat.com>
10222 * callouts/nm-dhcp-client-action.c
10223 - (build_message): ignore non-DHCP-related environment variables
10225 2007-08-12 Dan Williams <dcbw@redhat.com>
10229 callouts/Makefile.am
10230 callouts/nm-dhcp-client-action.c
10231 callouts/nm-dhcp-client.conf
10232 - Add dhclient-executed callout that takes the place of dhclient-script
10233 and dhcdbd, pushing DHCP options out to the system bus as a signal that
10234 NM then listens for
10236 2007-08-09 Tambet Ingo <tambet@gmail.com>
10238 [Based on patch by Helmut Schaa <hschaa@suse.de>]
10240 * libnm-glib/nm-client.h:
10241 * libnm-glib/nm-object.h:
10242 * libnm-glib/nm-vpn-connection.h:
10243 * libnm-glib/nm-settings.h:
10244 * libnm-glib/nm-device.h:
10245 * libnm-glib/nm-ip4-config.h:
10246 * libnm-glib/nm-access-point.h:
10247 * libnm-glib/nm-device-802-3-ethernet.h:
10248 * libnm-util/nm-setting.h:
10249 * libnm-util/nm-connection.h: Add G_BEGIN_DECLS / G_END_DECLS to support C++.
10251 * libnm-glib/nm-object.c (nm_object_get_byte_property): Implement.
10253 * libnm-glib/nm-access-point.c: Strength has type char.
10255 * gnome/vpn-properties/Makefile.am: Remove GNOME_DISABLE_DEPRECTATED for now
10256 to fix build. GnomeDruid is deprecated in recent libgnomeui.
10258 * introspection/nm-access-point.xml: Strength property is char, not int.
10260 * src/NetworkManagerAP.c (set_property): Set strength from char.
10261 (get_property): Handle hidden APs (with empty SSID).
10262 Get strength value from char.
10263 (nm_ap_class_init): Strength property has char type.
10265 2007-08-03 Rodrigo Moya <rodrigo@gnome-db.org>
10267 * introspection/Makefile.am:
10268 * introspection/nm-settings.xml:
10269 * introspection/nm-settings-connection.xml: added Settings interfaces.
10271 * libnm-glib/nm-settings.[ch]:
10272 * libnm-glib/Makefile.am: added abstract class for Settings interfaces
10273 containing the DBus implementation.
10275 2007-07-26 Dan Williams <dcbw@redhat.com>
10277 Patch from Bernhard Miklautz <bernhard.miklautz@shacknet.at>
10279 * src/NetworkManagerSystem.c
10280 - (nm_system_device_set_ip4_route): don't add the route if it's on the
10281 same subnet (#437396)
10283 2007-07-26 Dan Williams <dcbw@redhat.com>
10285 Patch from Kelemen Gábor <kelemeng@gnome.hu>
10287 * gnome/vpn-properties/nm-vpn-properties.c
10288 - Fix translatable strings (#445865)
10290 2007-07-26 Dan Williams <dcbw@redhat.com>
10292 Patch from Andreas Hanke <andreas.hanke@gmx-topmail.de>
10295 - Remove useless junk (#412530)
10297 2007-07-10 Christopher Aillon <caillon@redhat.com>
10299 Patch from Robert Buchholz <rbu@gentoo.org>:
10303 * introspection/Makefile.am:
10304 Make make distcheck work again.
10306 2007-06-27 Dan Williams <dcbw@redhat.com>
10308 * Make SSIDs GByteArrays everywhere
10309 * Rename "essid" -> "ssid" everywhere that's appropriate
10310 * Refcount activation_ap member of the 802.11 wireless device class
10312 2007-06-27 Tambet Ingo <tambet@ximian.com>
10314 * libnm-glib/nm-object.[ch]: Add these to the SVN, oops.
10316 2007-06-22 Tambet Ingo <tambet@ximian.com>
10318 * src/nm-device-802-11-wireless.c (merge_scanned_ap): Don't advertise constantly
10319 that we got a new AP when we just update existing AP properties.
10321 2007-06-21 Tambet Ingo <tambet@ximian.com>
10323 * libnm-glib/Makefile.am: Add NMObject to build, remove nm-utils.[ch].
10325 * nm-utils.[ch]: Remove.
10327 * libnm-glib/nm-object.c: Implement a base class for all libnm-glib dbus-aware
10328 objects for easy property access and dbus connection handling.
10330 * libnm-glib/nm-client.c: Derive from NMObject.
10332 * libnm-glib/nm-device.c: Ditto.
10334 * libnm-glib/nm-device-802-3-ethernet.c: Changes for being based on NMObject.
10336 * libnm-glib/nm-device-802-11-wireless.c: Ditto.
10338 * libnm-glib/nm-ip4-config.c: Ditto.
10340 * libnm-glib/nm-access-point.c: Ditto.
10342 * libnm-util/nm-connection.c (nm_connection_compare): Add a stub for connection
10343 comparision. Currently used by the device activation code to determine if the new
10344 activation is the same as the old one.
10346 * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Don't use the obsolete and
10347 wrong way of getting the dbus path for AP. Fixes the issue where the applet isn't
10348 able to ask password for the AP.
10350 * src/nm-device.c (nm_device_activate): Change the logic here - instead of giving
10351 up if the device is already connected, tear down it's connection (if it isn't the
10352 same as new one) and start the activation.
10354 * src/nm-manager.c: Add the beginnings of NMConnection storage and signals.
10356 * src/NetworkManagerAP.c (nm_ap_init): Set the default values to AP memebers, fixes
10357 the issue where all APs are always listed as encrypted.
10359 * src/NetworkManagerDbus.c (nm_dbus_get_object_path_for_network): Remove. APs have
10360 their own registered paths.
10362 * test/nm-tool.c (detail_device): Don't try to get active network from wireless
10363 device if it's not connected - dbus-glib will happily crash trying to marshal NULL.
10365 2007-06-13 Tambet Ingo <tambet@ximian.com>
10367 * src/NetworkManagerAP.c (foreach_property_cb): Set WEP capabilities too!
10370 * src/nm-device.c (nm_device_state_changed): Emit the signal before handling it
10371 because the handling code will cause the next state change and signal listeners
10372 get the signals in wrong order.
10374 * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Get the "old_dev"
10375 correctly in case of pending activation.
10377 * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
10378 Convert the essid byte array to string correctly, including the terminating NULL.
10380 * src/NetworkManagerPolicy.c (create_connection): Create wireless ssid and
10381 mode with correct types.
10383 * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Fix a typo, pass the
10384 constructed info to dbus call instead of the activation request.
10386 2007-06-11 Christopher Aillon <caillon@redhat.com>
10388 Patch from Christian Persch <chpe@gnome.org>
10390 * libnm-glib/Makefile.am:
10391 * dispatcher-daemon/Makefile.am:
10392 Use the correct variables, the correct paths, and correct ordering. (446315)
10394 2007-06-11 Tambet Ingo <tambet@ximian.com>
10396 * src/nm-device.c: Make the activation stage virtual functions take NMDevice
10397 argument. The activation request is easy to retrieve.
10399 * src/nm-activation-request.c: Convert to GObject. Do not include half of NM headers
10400 just to be a convenient location for devices to store random stuff.
10402 2007-06-11 Christopher Aillon <caillon@redhat.com>
10404 Patch from Alex Smith <alex@alex-smith.me.uk>
10406 * src/backends/NetworkManagerFrugalware.c:
10407 Update the FrugalWare backend to fix a few segfaults. (#392642)
10409 2007-06-08 Tambet Ingo <tambet@ximian.com>
10411 * libnm-util/nm-setting.c: Implement NMSettingWirelessSecurity.
10413 * libnm-util/nm-connection.c (register_default_creators): Register wireless security
10415 (gvalue_to_string): Recognize G_TYPE_UCHAR and GSList.
10417 2007-06-06 Tambet Ingo <tambet@ximian.com>
10419 * libnm-util/nm-setting.c: Get rid of dump virtual functions, that can happen
10421 Implement NMSettingIP4Config.
10422 Finish NMSettingWired by adding all known members.
10423 (setting_wired_verify): Implement.
10424 Finish NMSettingWireless by adding all known members.
10425 (setting_wireless_verify): Implement.
10427 * libnm-util/nm-connection.c: Register "ipv4" setting.
10428 (nm_connection_dump): Implement. Instead of requiring every NMSetting to implement
10429 dump function, we can introspect the GHashTable which is used for sending connections
10432 * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
10433 Take GByteArray for essid, it's really not a string.
10435 * src/nm-device.c (real_act_stage3_ip_config_start): Get information from NMSettings.
10436 Start DHCP request if setting is not passed or if it states that DHCP should be used.
10437 (real_act_stage4_get_ip4_config): If settings are provided, use them, even if it
10438 means overriding the values we got from DHCP.
10439 (real_activation_cancel_handler): Cancel DHCP transaction only if it has started, doh.
10440 (nm_device_deactivate_quickly): Ditto.
10442 * src/nm-device-interface.c (impl_device_activate): Dump the connection structure
10445 2007-05-07 Tambet Ingo <tambet@ximian.com>
10447 * libnm-glib/Makefile.am: Link with libnm-util to gain access to
10450 * libnm-glib/nm-device-802-11-wireless.c:
10451 (nm_device_802_3_ethernet_activate): Remove.
10453 * libnm-glib/nm-device-802-3-ethernet.c
10454 (nm_device_802_3_ethernet_activate): Remove.
10456 * libnm-glib/nm-device.c (nm_device_activate): Implement.
10458 * src/nm-device-802-3-ethernet.c: Implement the new activation using
10461 * src/nm-device-802-11-wireless.c: Store an activation AP once the
10462 activation has started.
10463 Implement the new activation using NMConnection.
10465 * src/nm-activation-request.c: Store a generic connection object instead
10466 of a wireless-specific AP.
10468 * src/NetworkManagerPolicy.c (create_connection): Implement. Depending
10469 on device type, create a device specific connection object suitable for
10472 * src/nm-device.c (nm_device_activate): Re-implement. Call the device
10473 specific check to validate the connection and on success start the
10476 * src/nm-device-interface.h: Add a activate virtual function to the
10477 interface definition.
10479 * src/nm-device-interface.c (nm_device_interface_activate): Implement.
10480 (impl_device_activate): Implement.
10482 * introspection/nm-device.xml: Add a generic device activation interface
10483 that accepts an abstract NMConnection structure that has device-specific
10486 * introspection/nm-device-802-3-ethernet.xml: Remove the wired-specific
10487 activation interface.
10489 * introspection/nm-device-802-11-wireless.xml: Remove the wireless-specific
10490 activation interface.
10492 * libnm-util/nm-connection.c:
10493 * libnm-util/nm-connection.h:
10494 * libnm-util/nm-setting.c:
10495 * libnm-util/nm-setting.h: Add.
10497 * libnm-util/Makefile.am: Build the added files.
10499 * src/nm-dbus-manager.c
10500 (proxy_name_owner_changed, nm_dbus_manager_class_init): Remove the
10501 DbusConnection argument from 'name-owner-changed' signal. The manager
10502 is already passed as a first argument to the signal and the connection
10503 is easy enough to get from it.
10505 * src/vpn-manager/nm-vpn-service.c (nm_vpn_service_name_owner_changed):
10506 Update the signature of the function.
10508 * src/vpn-manager/nm-vpn-manager.c (nm_name_owner_changed_handler):
10511 * src/NetworkManager.c: Ditto.
10513 * src/named-manager/nm-named-manager.c
10514 (nm_named_manager_name_owner_changed): Ditto.
10516 * src/supplicant-manager/nm-supplicant-manager.c
10517 (nm_supplicant_manager_name_owner_changed): Ditto.
10519 * src/nm-hal-manager.c (name_owner_changed): Ditto.
10521 * src/dhcp-manager/nm-dhcp-manager.c
10522 (nm_dhcp_manager_name_owner_changed): Ditto.
10524 * src/nm-hal-manager.c: Add a list of device detectors and creators
10525 to make it easier to add new devices. Each device type has it's own
10526 entry in the table so adding new device types is only a matter of
10527 implementing a couple of functions, one for device detection and the
10528 other for device creation.
10530 2007-04-25 Dan Williams <dcbw@redhat.com>
10532 * initscript/RedHat/NetworkManager.in: remove trailing backslash
10533 (gnome.org #432401)
10535 2007-03-30 Dan Williams <dcbw@redhat.com>
10537 * src/NetworkManagerSystem.c
10538 - (nm_system_device_set_ip4_route): clean up and fix argument
10539 to nm_dev_sock_open()
10541 2007-03-28 Tambet Ingo <tambet@ximian.com>
10543 * src/supplicant-manager/nm-supplicant-config.c (get_hash_cb): Marshal the
10544 data to correct types instead of always using string.
10546 * src/NetworkManagerAP.c (get_property): AP is encrypted if capabilities does
10547 _not_ have NM_802_11_CAP_PROTO_NONE.
10548 (foreach_property_cb): Set AP capabilities if it's not set or if the protocol
10551 2007-03-27 Tambet Ingo <tambet@ximian.com>
10553 * libnm-glib/Makefile.am: Fix the build issue.
10555 2007-03-26 Tambet Ingo <tambet@ximian.com>
10557 * libnm-glib/nm-vpn-connection.h:
10558 * libnm-glib/nm-vpn-connection.c: Implement.
10560 * libnm-glib/nm-client.c: Add VPN support.
10562 * src/vpn-manager/nm-dbus-vpn.c (dbus_message_handler): Implement DBUS message
10565 * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_new): Register VPN interface
10568 2007-03-26 Dan Williams <dcbw@redhat.com>
10570 * src/NetworkManagerAPList.c
10571 * src/nm-device-802-11-wireless.c
10572 * src/NetworkManagerAP.c:
10573 - Store last seen as glong instead of GTimeVal.
10574 - Fix the upper bound of capabilities, it's a bitfield.
10576 2007-03-16 Tambet Ingo <tambet@ximian.com>
10578 * libnm-glib/nm-device.c (nm_device_get_description): Implement.
10580 * libnm-glib/nm-client.c (nm_client_manager_is_running): Implement. Also add a
10581 "manager-running" signal that notifies the appearance/disappearance of NM.
10582 (nm_client_sleep): Implement.
10584 * libnm-glib/nm-device.c:
10585 * libnm-glib/nm-device-802-11-wireless.c:
10586 * libnm-glib/nm-device-802-3-ethernet.c:
10588 Don't inherit from DBusGProxy, add a proxy to private
10589 data. The reason is, classes inherited from NMDevice wouldn't get any dbus signals
10590 for anything but their own dbus interface. DBusGProxy objects support only one
10591 interfaces and to work around this, NMDevice has spearate proxy for each dbus
10592 interface. The nice side effect of this change is that we do not create a new
10593 DBusGProxy object for each property access.
10595 2007-03-15 Tambet Ingo <tambet@ximian.com>
10597 * src/nm-device-802-11-wireless.c (constructor): Initialize the iw_ext structures
10598 with zeroes before passing them to functions - the functions never do that and
10599 reading the values back may produce wrong values.
10600 (real_bring_up): Store the signal handler id ...
10601 (real_bring_down): ... So that it can be removed here.
10602 Disconnect the supplicant interface here as well.
10603 (nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): Use the dbus object path
10604 from the access point instead of old $device/Networks/$essid.
10606 * src/nm-manager.c (nm_manager_get_state): Return NM_STATE_CONNECTED when the
10607 device state is connected (instead of just having link/carrier).
10609 * src/nm-activation-request.c: Don't store NMData in activation request, it's
10610 already easily accessible through the device.
10612 * src/NetworkManagerAP.c (nm_ap_init): Construct the dbus object path here and
10613 store it within the object.
10614 (nm_ap_get_dbus_path): Export it to public as well.
10616 * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get): Keep the ownership
10619 2007-03-12 Dan Williams <dcbw@redhat.com>
10621 Get rid of 2 second poll of sysfs 'carrier' file for wired devices. Useless
10622 for non-carrier-detect capable devices, and useless for carrier-detect
10623 devices since we get notifications from netlink about carrier status anyway.
10625 * src/nm-device-802-3-ethernet.c
10626 - remove 'link_source_id' member from private data
10627 - (probe_link): remove and collapse into real_update_link()
10628 - (nm_device_802_3_periodic_update): remove
10629 - (real_is_up): check for sup_iface rather than link_source_id
10630 - (real_bring_up): return gboolean for success/fail; require that
10631 sup_iface be valid for device bringup to succeed
10632 - (real_bring_down): zero out link signal ids
10635 - (nm_device_activate_stage2_device_config): fail activation if device
10637 - (real_act_stage4_get_ip4_config): fail activation if device bringup
10639 - (nm_device_bring_up): return success/fail
10642 - bring_up now returns success/fail
10644 * src/nm-device-802-11-wireless.c
10645 - (real_bring_up): return success from bringup
10647 2007-03-07 Dan Williams <dcbw@redhat.com>
10649 Patch from Simon Geard <delgarde@ihug.co.nz> (Gnome.org #394956)
10650 * src/nm-ap-security-wpa-psk.c
10651 - (real_write_supplicant_config): work with PSKs that may contain
10652 zeros in the binary format rather than treating it as a string
10654 2007-03-02 Tambet Ingo <tambet@ximian.com>
10656 * libnm-glib/nm-device-802-11-wireless.c
10657 (nm_device_802_11_wireless_get_capabilities): Implement.
10659 * libnm-glib/nm-device.c (nm_device_get_capabilities): Implement.
10661 * src/nm-device-802-11-wireless.c: Add "WirelessCapabilities" property.
10663 * src/named-manager/nm-named-manager.c (remove_one_zone_from_named): Unref the
10664 reply only if it's not NULL. Not sure why this started happening right now.
10666 * src/nm-manager.c (device_stop_and_free): Remove. No need to have different
10667 code paths for when devices get removed on shutdown or when a device is just
10669 (finalize): Don't use a g_slist_foreach() when removing devices, the list data
10670 gets freed so any signal from a device (disconnected for instance) would invoke
10671 NMState update which would crash.
10672 (nm_manager_remove_device): Bring the device down when it gets removed.
10674 * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Remove
10675 the unused dev_type.
10677 * src/nm-hal-manager.c (create_device_and_add_to_list): Don't keep the
10678 reference to the added device, NMManager will own it (if it wants).
10680 * test/nm-tool.c: Rewrite using libnm-glib.
10682 * libnm-glib/nm-device-802-11-wireless.c: Cache networks (bssids) list.
10683 We get signalled when it changes.
10685 * libnm-glib/nm-client.c: Cache NMState and device list, we get signalled
10688 * libnm-glib/nm-device.c: Cache the device state property.
10690 * libnm-glib/nm-access-point.c: Cache the strength property.
10692 * src/nm-device-802-11-wireless.c: Fix wireless device scanning scheduler.
10693 The new algorithm is to start from SCAN_INTERVAL_MIN (currently defined as 0)
10694 and add a SCAN_INTERVAL_STEP (currently 20 seconds) with each successful scan
10695 until SCAN_INTERVAL_MAX (currently 120 seconds) is reached. Do not scan while
10696 the device is down, activating, or activated (in case of A/B/G cards).
10697 Remove some old dead ifdef'ed out code that used to configure wireless devices,
10698 it's all done through supplicant now.
10700 * src/supplicant-manager/nm-supplicant-interface.c: Fix the reference
10701 counting issues with pending calls which caused leaks and crashes when
10702 interface was removed (now that the interface actually gets removed).
10704 * src/nm-call-store.c: Make a copy of data before running a foreach
10705 with user callback on it - The most common usage pattern is to cancel
10706 (and thus remove) all pending calls with foreach which would modify
10707 the hash table we're iterating over.
10709 * src/nm-manager.c: When a device is added, make sure it is "up". When
10710 it's removed or disabled due to disabling wireless or networking, bring
10713 * include/NetworkManager.h: Add new device state NM_DEVICE_STATE_DOWN.
10715 * src/nm-device-802-11-wireless.c:
10716 * src/nm-device-802-3-ethernet.c:
10718 - Remove "init" virtual function, all gobjects have a place for that
10719 already (constructor).
10720 - Replace "start" virtual function with "bring_up", devices can be
10721 brought up and down more than just on startup now.
10722 - Add "is_up" virtual function.
10723 - Implement one way to bring a device down instead of previous 4 different
10724 ways, each of witch did something different.
10726 * src/NetworkManagerUtils.c (nm_dev_sock_open): This doesn't need an NMDevice,
10727 all it needs is the device interface.
10729 Get rid of NMData.dev_list (3 members to go).
10730 Get rif of NMData in a lot of places.
10732 * gnome/libnm_glib/libnm_glib.c: Make it compile again.
10734 2007-02-23 Dan Williams <dcbw@redhat.com>
10736 Patch from Andy Whitcroft <apw@shadowen.org> (Gnome.org #410426)
10738 * src/NetworkManagerAP.c
10739 - (add_capabilities_from_cipher): fix addition of WEP capabilities by
10740 OR-ing rather than AND-ing
10742 2007-02-20 Tambet Ingo <tambet@ximian.com>
10744 * libnm-glib/nm-device-802-11-wireless.c: Add "network-added" and
10745 "network-removed" signals.
10747 * libnm-glib/libnm-glib.pc.in: Require NetworkManager >= 0.7.0.
10749 * libnm-glib/nm-access-point.c: Add "strength-changed" signal, emit it
10750 when receiving the signal from dbus.
10752 * src/nm-device-802-11-wireless.c (get_property): Fix PROP_ACTIVE_NETWORK
10755 * src/NetworkManagerPolicy.c (state_changed): Fix a typo to make the
10756 deactivation of the previously activated device working again.
10758 * src/nm-activation-request.c: Remove NMActStage property and it's getter
10761 * src/nm-device.c (nm_device_is_activated): Remove.
10762 state == NM_DEVICE_STATE_ACTIVATED is just as easy to use.
10764 * include/NetworkManager.h: Remove NM_DBUS_NO_DEVICES_ERROR,
10765 NM_DBUS_NO_DIALUP_ERROR, NM_DBUS_NO_NETWORKS_ERROR,
10766 NM_DBUS_NO_ACTIVE_DEVICE_ERROR, NM_DBUS_NO_ACTIVE_NET_ERROR errors and
10767 NM_DBUS_SIGNAL_STATE_CHANGE signal.
10768 Remove NMNetworkStatus and NMActStage enums.
10770 2007-02-19 Tambet Ingo <tambet@ximian.com>
10772 * src/vpn-manager/nm-vpn-manager.c: Handle the DBUS state changes itself.
10773 Handle device state changes and disconnect VPN if it's device deactivates.
10775 * src/nm-dbus-nm.c:
10776 * src/nm-dbus-nm.h:
10777 * src/nm-dbus-device.c:
10778 * src/nm-dbus-device.c:
10779 * src/nm-dbus-net.c:
10780 * src/nm-dbus-net.h: Remove. All of it is implemented byt the new dbus API.
10782 * src/NetworkManagerMain.h: Get rid of all but 3 properties of NMData.
10784 * src/nm-device.c (nm_device_get_by_udi):
10785 (nm_device_get_by_iface): Remove. This doesn't belong here and is already
10786 implemented in the correct location (NMManager).
10787 Rip out all the test_device stuff.
10789 * src/NetworkManagerPolicy.c: Remove the leftover activation success and
10790 failure handlers, it's all done by NMDevice already.
10792 * src/NetworkManager.c: Move the signal handling here from nm-logging.c
10793 Remove the iochannel hack to route the unix signals to the main thread since
10794 we're not threaded anymore.
10796 * src/NetworkManagerAP.c: Implement HWAddress property.
10798 * src/NetworkManagerDbus.c: Remove the dbus signal sending code, it happens
10799 automatically with dbus-glib.
10801 * src/nm-netlink-monitor.c:
10802 * src/nm-netlink-monitor.h:
10803 - Move it low in the class hierarchy, don't reference any NM types.
10804 - Remove private data from the header.
10805 - Use type safe checks in public API methods.
10806 - Make it a singleton so we don't have to pass the single reference around.
10808 2007-02-16 Tambet Ingo <tambet@ximian.com>
10810 * introspection/nm-ip4-config.xml: Implement.
10812 * libnm-glib/libnm-glib-test.c: Use new DBUS API in tests.
10814 * libnm-glib/nm-ip4-config.c:
10815 * libnm-glib/nm-ip4-config.c: Implement.
10817 * src/nm-ap-security[-*]: Remove circular dependencies between APs and AP
10818 securities. APs reference security.
10820 * src/nm-device-802-11-wireless.c: Implement missing properties that need to
10821 be exported over DBUS.
10823 * src/nm-device-802-3-ethernet.c: Ditto.
10825 * src/NetworkManagerAP.c:
10826 * src/NetworkManagerAP.h:
10827 - Convert to GObject, export over DBUS.
10829 * src/nm-ip4-config.h:
10830 * src/nm-ip4-config.h:
10831 - Convert to GObject, export over DBUS.
10833 2007-02-12 Dan Williams <dcbw@redhat.com>
10835 Patch from Helmut Schaa <hschaa@suse.de>
10837 * vpn-daemons/pptp/configure.in
10838 vpn-daemons/pptp/Makefile.am
10839 vpn-daemons/openvpn/configure.in
10840 vpn-daemons/openvpn/Makefile.am
10841 vpn-daemons/vpnc/configure.in
10842 vpn-daemons/vpnc/Makefile.am
10843 - Add --without-gnome switch which disables building gnome bits
10845 2007-02-12 Tambet Ingo <tambet@ximian.com>
10847 * libnm-glib/nm-device.c (nm_device_get_use_dhcp): Remove.
10849 * libnm-glib/nm-access-point.c (nm_access_point_is_broadcast): Remove.
10851 * introspection/nm-device-802-3-ethernet.xml: Rename 'Address' property to
10854 * introspection/nm-device.xml: Remove 'UseDhcp' property.
10856 * introspection/nm-access-point.xml: Remove 'Broadcast' property.
10858 Totally break NetworkManager. Please use 0.6 branch until futher notice.
10861 - Remove old low-level dbus interface implementations and replace them
10862 with dbus-glib one.
10865 - Require dbus-glib >= 0.72.
10866 - Plug in new sources to build.
10869 - Implement GObject wrappers on top of DBUS glib auto-generated bindings
10870 to make it more convenient to use from GObject based programs.
10873 - Implement DBUS XML introspection files, used by both NM and libnm-glib.
10875 2007-02-09 Tambet Ingo <tambet@ximian.com>
10877 * src/nm-device-802-11-wireless.c:
10878 - Add "network-added" and "network-removed" signals.
10879 - Use gobject boilerplate macros to define the GObject.
10880 - Implement wireless device activation.
10881 - Remove activation_failure_handler and activation_success_handler
10882 and instead listen on state-changed signals and run the same code
10886 - Implment NMDeviceInterface::deactivate.
10887 - Remove activation_failure_handler and activation_success_handler
10888 virtual methods. Each device which is interested in these events
10889 can just listen on it's state changed signals.
10891 * src/NetworkManagerPolicy.c:
10892 - Move a bit more NMData usage to NMManager.
10893 - Remove activation scheduling bits.
10894 - Add listeners for wireless device's "network-added" and
10895 "network-removed" signals.
10896 - Listen device changed signals and deactivate currently activated
10897 device when another device start activating (for now).
10898 - Remove (nm_policy_schedule_device_change_check): There's never a need
10899 for calling this, the policy code knows exactly when this should happen,
10900 by listening on events from NMManager and NMDevices.
10902 * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_activate):
10905 * src/nm-dbus-nm.c (nm_dbus_nm_set_active_device): Call the activation
10906 method on the specific device instead of going to through policy code
10907 and determining the device type by passed in AP's existance.
10909 * src/nm-device-interface.c (nm_device_interface_deactivate): Implement the
10910 abstract NMDevice deactivation.
10912 2007-02-08 Tambet Ingo <tambet@ximian.com>
10914 * src/NetworkManager.c:
10915 - Set up all the shiny new managers.
10917 * src/NetworkManagerPolicy.c:
10918 - Add the beginnings of new NMPolicy code. Instead of requireing all
10919 classes to call into policy code, make the policy code kind of like
10920 a supervisor that monitors what's going on and drives the whole NM.
10922 * src/nm-hal-manager.c:
10923 * src/nm-hal-manager.h:
10924 - Collect all libhal code scattered around NM to this one class.
10925 - Listen libhal and NMManager events and add/remove devices to
10928 * src/nm-manager.c:
10929 * src/nm-manager.h:
10930 - Implment a replacement for NMData. NMData is now officially
10933 2007-02-05 Tambet Ingo <tambet@ximian.com>
10935 * src/nm-device-802-11-wireless.c (supplicant_iface_scan_result_cb):
10936 * src/supplicant-manager/nm-supplicant-interface.h
10937 * src/supplicant-manager/nm-supplicant-interface.c
10938 (nm_supplicant_interface_class_init): Change the "scan-result" signal's
10939 argument to boolean from enum.
10941 Make NMDevice abstract class, remove almost all references to it's
10942 subclasses (the last place gets removed with new policy manager). Add
10943 NMDeviceInterface (which NMDevice implements) so that when we have
10944 NMDevice exported over DBUS, there's a common NMDevice interface which
10945 all instances have, plus there's a device specific interface for each
10947 Remove functions (nm_device_is_802_3_ethernet) and
10948 (nm_device_is_802_11_wireless). There are already standard GObject macros
10949 for type safe checks.
10950 Use the updated supplican manager API.
10952 * src/nm-device-interface.h:
10953 * src/nm-device-interface.c:
10954 * src/nm-call-store.h:
10955 * src/nm-call-store.c: Implement.
10957 * src/supplicant-manager/nm-supplicant-interface.c:
10958 * src/supplicant-manager/nm-supplicant-interface.h:
10959 * src/supplicant-manager/nm-supplicant-manager.c:
10960 * src/supplicant-manager/nm-supplicant-manager.h:
10961 - Remove all private data type references from public header files.
10962 - Remove all references to other NM classes, this class is just a
10963 proxy between wpa_supplicant and NM so it doesn't have to know
10965 - Convert to dbus-glib bindings.
10966 - Type safe checks for public methods' arguments.
10967 - Store pending DBUS call ids to NMCallStore.
10969 * src/supplicant-manager/nm-supplicant-config.c:
10970 - Store config values in a GHashTable instead of GSList.
10972 * src/NetworkManagerMain.h: Remove all references to DHCP manager.
10974 * src/NetworkManager.c: Don't initialize the DHCP manager, it's a
10977 * src/nm-device.c: Use the new DHCP manager API.
10979 * src/nm-activation-request.c:
10980 * src/nm-activation-request.h:
10981 - Remove all dhcp related properties and methods.
10983 * src/dhcp-manager/nm-dhcp-marshal-main.c: Add.
10985 * src/dhcp-manager/nm-dhcp-marshal.list: Add.
10987 * src/dhcp-manager/nm-dhcp-manager.c:
10988 * src/dhcp-manager/nm-dhcp-manager.h:
10989 - Convert it to GObject since we need to signal state changes.
10990 - Remove all references to other NM classes, this class is one
10991 of the lowest classes in our hierarchy.
10992 - One less class to use NMActRequest.
10993 - Make it singleton, one less user of NMData.
10994 - Remove a couple of sleep() calls.
10995 - Convert a bunch of low-level dbus API calls to dbus-glib calls.
10996 One less class to use the NM's custom tailored signal handlig.
10998 * Makefile.am: Generate marshallers, add them to build.
11000 2007-02-02 Dan Williams <dcbw@redhat.com>
11006 - Remove last bits referencing gnome applet
11008 2007-02-02 Dan Williams <dcbw@redhat.com>
11010 * src/vpn-manager/nm-vpn-service.c
11011 - (nm_vpn_service_stage4_ip4_config_get): use uint32 arrays for DNS
11012 and NBNS server addresses
11014 2007-02-02 Tambet Ingo <tambet@ximian.com>
11016 * src/nm-dbus-manager.c:
11017 * src/nm-dbus-manager.h:
11018 - Convert all internal DBUS code to use dbus-glib bindings.
11019 - Remove GObject properties, we don't need them here.
11020 - Don't explicitly set things to NULL after freeing, glib is
11021 happy to do it if asked nicely (G_DEBUG=gc-friendly).
11022 - Make public API argument checks type safe.
11023 - Remove unnecessary (and wrong) cast to GObject for the first
11024 argument to g_signal_* calls - The first argument is a gpointer.
11025 - Export DBusGConnection to other cool classes that (are going to)
11028 2007-01-26 Dan Williams <dcbw@redhat.com>
11030 * libnm-util/dbus-dict-helpers.c
11031 libnm-util/dbus-dict-helpers.h
11032 - Coordinate style with wpa_supplicant version to minimize diff
11033 - Add uint32 array support
11034 - (nmu_dbus_dict_append_uint32_array): new function
11035 - (nmu_dbus_dict_begin_string_array, nmu_dbus_dict_string_array_add_element,
11036 nmu_dbus_dict_end_string_array): bring over from wpa_supplicant
11037 version; allow adding string array elements individually
11039 * test/libnm-util/test-dbus-dict-helpers.c
11040 - Test uint32 arrays
11042 2007-01-27 Jürg Billeter <j@bitron.ch>
11044 * src/backends/NetworkManagerPaldo.c
11045 - (nm_system_update_dns): clear nscd hosts cache
11047 2007-01-04 Dan Williams <dcbw@redhat.com>
11049 Threading removal related cleanups:
11051 - Use the glib default main context. Remove the device main context
11052 member from NMDevice, and the main_context member from NMData. Change
11053 all the idle and timeout scheduler functions to use plain
11054 g_idle_add() and g_timeout_add().
11056 - As a side-effect of the first change, nm_dbus_manager_get() no longer
11057 takes an argument; fix that up too.
11059 - Remove all locking, which is useless since we no longer use threads. For
11060 example, nm_get_device_by_iface_locked() has been removed. The global
11061 device list lock, the AP List lock, and all static locks in
11062 NetworkManagerPolicy.c have been removed. The locking utility functions
11063 in NetworkManagerUtils.c have also been removed.
11065 - Other cleanups in spacing and code style
11067 2007-01-01 Dan Williams <dcbw@redhat.com>
11069 Found by Bill Moss:
11071 * src/supplicant-manager/nm-supplicant-interface.c
11072 - (nm_supplicant_interface_disconnect): fix cleanup logic when
11073 the supplicant interface wasn't already disconnected. Always
11074 call removeNetwork and disconnect unless the supplicant interface
11075 is in the DISCONNECTED or INACTIVE state.
11077 2006-12-28 Dan Williams <dcbw@redhat.com>
11079 Use a single thread for everything. With the move to wpa_supplicant
11080 and communication over D-Bus, there's no reason for multiple threads.
11081 Almost all of the blocking code has been removed, with one exception in
11082 the DHCP manager and a few in the VPN manager. This commit removes the
11083 per-device worker thread and fixes activation cancellation in the absence
11084 of threads. Further removal of thread-related code would be removing
11085 any locking code (like the device list lock) and simplification of logic
11086 around areas of code or data structures that are currently locked.
11089 dhcp-manager/nm-dhcp-manager.c
11090 nm-device-802-11-wireless.c
11091 nm-device-802-3-ethernet.c
11094 - Remove usage of multiple threads
11096 2006-12-19 Dan Williams <dcbw@redhat.com>
11098 Big wpa_supplicant + dbus update; need latest wpa_supplicant from CVS
11099 plus a few other patches from wpa_supplicant bugzilla.
11102 src/NetworkManagerPolicy.c
11103 src/NetworkManagerUtils.c
11104 src/NetworkManagerUtils.h
11105 src/nm-ap-security-leap.c
11106 src/nm-ap-security-wep.c
11107 src/nm-ap-security-wpa-eap.c
11108 src/nm-ap-security-wpa-psk.c
11109 src/nm-ap-security.c
11110 src/nm-ap-security.h
11111 src/nm-device-802-11-wireless.c
11112 src/nm-device-802-11-wireless.h
11113 src/supplicant-manager/nm-supplicant-config.c
11114 src/supplicant-manager/nm-supplicant-config.h
11115 src/supplicant-manager/nm-supplicant-interface.c
11116 src/supplicant-manager/nm-supplicant-interface.h
11117 src/supplicant-manager/nm-supplicant-marshal.list
11118 src/supplicant-manager/nm-supplicant-settings-verify.c
11119 src/supplicant-manager/nm-supplicant-settings-verify.h
11120 - Move all connection management and association handling to
11121 wpa_supplicant over dbus, rather than spawning a private copy
11123 2006-12-19 Dan Williams <dcbw@redhat.com>
11125 * src/NetworkManagerPolicy.c
11126 - (nm_policy_device_change_check, nm_policy_schedule_device_change_check):
11127 better locking of the device change check handler ID. Incorrect
11128 locking was causing lost device change requests
11130 2006-12-18 Dan Williams <dcbw@redhat.com>
11132 * libnm-util/dbus-dict-helpers.c
11133 - (_nmu_dbus_dict_entry_get_array, _nmu_dbus_dict_entry_get_string_array,
11134 _nmu_dbus_dict_entry_get_byte_array): replace usage of
11135 dbus_message_iter_get_array_len() (Gnome.org #382898)
11137 2006-12-18 Dan Williams <dcbw@redhat.com>
11139 * gnome/libnm_glib/libnm_glib.c
11140 - Change dbus_connection_close() -> dbus_connection_unref()
11142 2006-12-11 Dan Williams <dcbw@redhat.com>
11144 * src/supplicant-manager/nm-supplicant-interface.c
11145 - (iface_state_cb, wpas_iface_get_state): new functions; query initial
11146 wpa_supplicant interface state
11147 - (nm_supplicant_interface_add_cb): query initial wpa_supplicant interface
11148 state before transitioning to READY state
11150 2006-12-04 Dan Williams <dcbw@redhat.com>
11152 * src/nm-device-802-11-wireless.c
11153 - (supplicant_iface_scanned_ap_cb): fix parsing of hidden APs due to
11154 odd length of ESSID returned from ieee80211 stack-based drivers
11156 2006-12-04 Dan Williams <dcbw@redhat.com>
11158 * src/nm-device-802-11-wireless.c
11159 - (supplicant_iface_scanned_ap_cb): remove erroneous & from WPA & RSN
11160 IE handling blocks that cause mis-parsing of the IE
11162 2006-12-04 Dan Williams <dcbw@redhat.com>
11164 * src/nm-device-802-11-wireless.c
11165 - (init_supplicant_interface): new function; pull supplicant interface
11166 setup code out into standalone function since it must be called from
11167 two different places
11168 - (real_init): sup_mgr is now in private object data; get and track
11169 the supplicant manager object over the NMDevice subclass' lifetime
11170 and register a signal handler for its state signals; only try to
11171 initialize the supplicant interface if the supplicant manager is in
11172 the IDLE state (and therefore is ready for requests)
11173 - (request_wireless_scan): reschedule the scan request if (a) there is
11174 no supplicant interface yet (meaning wpa_supplicant isn't running
11175 or isn't ready yet), or (b) if the supplicant interface isn't ready
11177 - (supplicant_iface_connection_state_cb): new function; stub for
11178 handling supplicant interface connection state signals
11179 - (supplicant_mgr_state_cb): do the right thing when wpa_supplicant
11181 - (nm_device_802_11_wireless_dispose): clean up spacing; release the
11182 supplicant manager object that's being tracked starting with this
11185 2006-12-04 Dan Williams <dcbw@redhat.com>
11187 * src/supplicant-manager/nm-supplicant-interface.c
11188 - (nm_supplicant_interface_set_property): track signal handler ID
11189 - (nm_supplicant_interface_dispose): remove signal handler on dispose
11191 2006-12-04 Dan Williams <dcbw@redhat.com>
11193 * src/supplicant-manager/nm-supplicant-interface.[ch]
11194 - (nm_supplicant_interface_get_state): new function
11196 2006-12-04 Dan Williams <dcbw@redhat.com>
11198 * src/supplicant-manager/nm-supplicant-interface.c
11199 - (bssid_properties_cb): don't treat DBus errors as valid
11200 scanned AP messages
11202 2006-12-04 Dan Williams <dcbw@redhat.com>
11204 * src/supplicant-manager/nm-supplicant-interface.[ch]
11205 - (nm_supplicant_interface_get_connection_state): new function
11206 - define new supplicant connection states
11207 - send a signal when the supplicant connection state changes
11209 2006-12-03 Dan Williams <dcbw@redhat.com>
11211 * src/supplicant-manager/Makefile.am
11212 src/supplicant-manager/nm-supplicant-connection.h
11213 src/supplicant-manager/nm-supplicant-connection.c
11214 src/supplicant-manager/nm-supplicant-config.h
11215 src/supplicant-manager/nm-supplicant-config.c
11216 src/supplicant-manager/nm-supplicant-types.h
11217 src/supplicant-manager/nm-supplicant-interface.h
11218 src/supplicant-manager/nm-supplicant-interface.c
11219 - Rename NMSupplicantConnection -> NMSupplicantConfig
11221 2006-12-03 Dan Williams <dcbw@redhat.com>
11223 Patch from Gabor Kelemen <kelemeng@gnome.hu> (Gnome.org #381890)
11227 - Move VPN-related translatables to .skip
11229 * vpn-daemons/pptp/po/POTFILES.in
11230 - Update with new translatables
11232 2006-12-02 Dan Williams <dcbw@redhat.com>
11234 Patch from Christian Persch <chpe@gnome.org>
11236 * gnome/applet/Makefile.am
11237 gnome/applet/applet-dbus-devices.c
11238 gnome/applet/applet-notifications.c
11239 gnome/applet/applet.c
11240 gnome/applet/applet.h
11241 gnome/applet/main.c
11242 - Be a GtkStatusIcon on GTK+ >= 2.10
11244 2006-12-02 Dan Williams <dcbw@redhat.com>
11246 * gnome/applet/applet.c
11247 - (nma_update_info): fix two unecessary allocations
11249 2006-12-02 Dan Williams <dcbw@redhat.com>
11251 Patch from Michael Biebl <biebl@teco.edu>
11253 man/NetworkManager.1.in
11254 man/NetworkManagerDispatcher.1.in
11255 man/NetworkManager.8.in
11256 man/NetworkManagerDispatcher.8.in
11257 - Add .SH NAME stanzas
11258 - Move NM & NM Dispatcher manpages to section 8 (admin)
11260 2006-12-02 Dan Williams <dcbw@redhat.com>
11262 Patch from Christian Persch <chpe@gnome.org>
11265 - Check for GTK+ 2.10 in preparation for GtkStatusIcon patch
11267 2006-11-29 Tambet Ingo <tambet@ximian.com>
11269 Patch by Timo Hoenig <thoenig@suse.de>:
11270 * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Make it work with
11273 * src/supplicant-manager/Makefile.am: Add nm-supplicant-marshal here, since
11274 we can't use the one from the main source directory.
11276 2006-11-27 Dan Williams <dcbw@redhat.com>
11278 Patch from Christian Persch <chpe@gnome.org>
11280 * gnome/applet/applet-dbus-devices.c
11281 - (hal_info_product_cb): fix memleak; free duped string.
11284 2006-11-27 Dan Williams <dcbw@redhat.com>
11286 Patch from Christian Persch <chpe@gnome.org>
11288 * gnome/applet/menu-items.c
11289 - (network_menu_item_update): use gtk_progress_bar_set_fraction()
11290 as gtk_progress_set_percentage is deprecated. Should
11291 work as far back as GTK+ 2.4. Gnome.org #379780
11293 2006-11-26 Dan Williams <dcbw@redhat.com>
11295 Scan using wpa_supplicant over DBus.
11297 * src/nm-device-802-11-wireless.c
11298 - remove wireless extensions netlink event handler bits
11299 (wireless_event_helper, nm_device_802_11_wireless_event)
11300 - remove wireless extensions scan event handler bits
11301 (process_scan_results, add_new_ap_to_device_list, hexstr2bin,
11302 hex2byte, hex2num, request_and_convert_scan_results,
11303 free_process_scan_cb_data, scan_results_timeout,
11304 schedule_scan_results_timeout, cancel_scan_results_timeout)
11305 - Rename nm_device_802_11_wireless_scan() -> request_wireless_scan()
11306 and request scans from the supplicant interface rather than directly
11307 - Move functionality of convert_scan_results() to cull_scan_list() and
11308 supplicant_iface_scanned_ap_cb()
11309 - (supplicant_iface_scan_result_cb): new function; schedule a new scan
11310 at the scan interval when the current scan has finished
11311 - (supplicant_iface_state_cb): start scanning when the supplicant
11312 interface enters the READY state, and stop scanning when it
11313 enters the DOWN state
11314 - (cull_scan_list): weed out old access points from the scan list
11315 - (supplicant_iface_scanned_ap_cb): convert a supplicant scanned access
11316 point into an NMAccessPoint and merge it into the device's scan list
11318 * src/supplicant-manager/nm-supplicant-interface.c
11319 src/supplicant-manager/nm-supplicant-interface.h
11320 - Add a new signal "scan-result" which is issued when the supplicant
11321 notifies NM that a scan has completed
11322 - Add a new signal "scanned-ap" that notifies listeners of a new access
11323 point found in the scan. Called once for each access point that
11324 the supplicant interface object receives from the supplicant as a
11325 result of the "scanResults" method call
11326 - (wpas_iface_query_scan_results): don't wait 4s before querying
11327 for the initial scan results
11328 - (scan_request_cb): new function; send listeners the result
11329 (success, error) of a wireless scan request
11330 - (nm_supplicant_interface_request_scan): new function; ask the
11331 supplicant to perform an immediate wireless scan
11333 2006-11-25 Dan Williams <dcbw@redhat.com>
11335 * src/supplicant-manager/Makefile.am
11336 - Since we're including NetworkManagerMain.h in nm-supplicant-interface.c,
11337 add HAL cflags/includes and named-manager includes directory
11339 * src/supplicant-manager/nm-supplicant-interface.h
11340 - New state STARTING to handle transition from INIT to READY where
11341 the addInterface pending call is still outstanding
11343 * src/supplicant-manager/nm-supplicant-interface.c
11344 - track pending calls differently since we may have more than one
11345 going on at any given time
11346 - request scan results from wpa_supplicant; but don't do it more often
11347 than every 4 seconds. Drivers that do background scanning
11348 (like the 'ipw' drivers) send a continuous stream of scan completion
11349 notifications, so we don't want to hammer the supplicant or dbus
11350 with requests for all scan results every time we get a completion
11353 2006-11-25 Dan Williams <dcbw@redhat.com>
11355 * src/supplicant-manager/nm-supplicant-types.h
11356 - new file; move all supplicant manager object typedefs here for
11359 * src/supplicant-manager/nm-supplicant-interface.c
11360 src/supplicant-manager/nm-supplicant-interface.h
11361 - new file; an object that interfaces an NMDevice object to the
11362 supplicant and handles signals from the supplicant. This object
11363 does all necessary DBus communication with wpa_supplicant.
11365 * src/supplicant-manager/nm-supplicant-manager.c
11366 src/supplicant-manager/nm-supplicant-manager.h
11367 - Actually do something. Track the state of the wpa_supplicant service
11368 and deal with its comings & goings. Handle life events of
11369 supplicant interfaces too.
11370 - Move NMSupplicantManager typedef to nm-supplicant-types.h
11372 * src/supplicant-manager/nm-supplicant-connection.h
11373 - Move NMSupplicantConnection typedef to nm-supplicant-types.h
11375 * src/supplicant-manager/Makefile.am
11376 - Add new files to build, and add libnm-util to includes
11378 * src/nm-marshal.list
11379 - New marshaler type: VOID:UINT,UINT
11381 * src/nm-device-802-3-ethernet.c
11382 - (real_init): grab a supplicant interface
11383 - (nm_device_802_3_ethernet_dispose): release the supplicant interface
11384 - (supplicant_iface_state_cb): new function, stub for handling
11385 supplicant interface state changes
11387 * src/nm-device-802-11-wireless.c
11388 - (real_init): grab a supplicant interface
11389 - (nm_device_802_11_wireless_dispose): release the supplicant interface
11390 - (supplicant_iface_state_cb): new function, stub for handling
11391 supplicant interface state changes
11393 * src/NetworkManager.c
11394 - (main): create and keep the supplicant manager around for the lifetime
11398 - Link to the supplicant manager sub-library and use the supplicant
11401 2006-11-25 Dan Williams <dcbw@redhat.com>
11403 Rework DBus manager signal handling to be more flexible. Previously,
11404 only one signal handler could be registered for a particular interface.
11405 The DBus manager now reference counts DBus bus matches and allows multiple
11406 clients to register signal handlers for the same interface and sender.
11408 * src/NetworkManager.c
11409 - (main): track NMI signal handler ID and remove it when we quit
11411 * src/NetworkManagerMain.h
11412 - Keep track of NMI signal handler ID
11414 * src/nm-dbus-manager.c
11415 src/nm-dbus-manager.h
11416 - rework signal handling; each signal handler references one signal
11417 match, but a signal match may be referenced by one or more
11418 signal handlers. Matches are refcounted and are destroyed when the
11419 last signal handler that references the match is removed. This is
11420 necessary because two signal handlers may end up requiring the same
11421 dbus bus match, so the match must live until the last signal handler
11422 is destroyed (for example, with the wpa_supplicant network interface
11425 * src/dhcp-manager/nm-dhcp-manager.c
11426 - (nm_dhcp_manager_new): track DHCP signal handler id
11427 - (nm_dhcp_manager_dispose): remove DHCP signal handler
11429 * src/vpn-manager/nm-vpn-service.c
11430 - (nm_vpn_service_add_watch): track VPN service signal handler id
11431 - (nm_vpn_service_remove_watch): remove VPN service signal handler
11433 2006-11-25 Dan Williams <dcbw@redhat.com>
11435 Suggested by Helmut Schaa <hschaa@suse.de>
11437 * src/vpn-daemons/nm-vpn-service.c
11438 - (supplicant_child_setup): new function
11439 - (supplicant_exec): make child process use a new process group id
11441 * src/nm-device-802-11-wireless.c
11442 - (nm_vpn_service_child_setup): new function
11443 - (nm_vpn_service_stage1_daemon_exec): make child process use a new
11446 2006-11-19 Dan Williams <dcbw@redhat.com>
11448 Patch from Dan Berrange <dan@berrange.com> Gnome.org #377262
11449 * gnome/vpn-properties/nm-vpn-properties.c
11450 - clean up after renamed VPN connection
11452 2006-11-19 Dan Williams <dcbw@redhat.com>
11454 Patch from Dan Berrange <dan@berrange.com> Gnome.org #377205
11455 * gnome/applet/applet-dbus-vpn.c
11456 - (nma_dbus_vpn_properties_cb): sort VPN connections
11458 * gnome/vpn-properties/nm-vpn-properties.c
11459 - (init_app): sort VPN connections
11461 2006-11-09 Dan Williams <dcbw@redhat.com>
11463 * src/NetworkManagerAPList.c
11464 - (nm_ap_list_copy_one_essid_by_address): fix bug due to previous
11465 code cleanup in revision 1.56; the split of the !nm_ap_get_essid()
11466 from the nm_ap_list_get_ap_by_address() call was incorrect and
11467 broke hidden SSID matching. Found by Bill Moss.
11469 2006-10-25 Dan Williams <dcbw@redhat.com>
11472 - (nm_dbus_nm_set_active_device): return an empty success message on
11473 success, rather than falling through to the error case.
11475 2006-10-25 Dan Williams <dcbw@redhat.com>
11477 * src/NetworkManagerUtils.c
11478 - (nm_utils_supplicant_request_with_check): suppress messages for the
11481 2006-10-24 Dan Williams <dcbw@redhat.com>
11483 Reduce the number of times the Gnome applet wakes up, especially when
11484 it's doing absolutely nothing and is hidden. Initial patch by
11487 * gnome/applet/applet-dbus.c
11488 - (nma_dbus_filter): when NM isn't around, or when it goes away,
11489 kill the redraw timeout. When NM starts up, start the redraw
11490 timeout. Also, if we get kicked off the bus for some reason,
11491 start the reconnection timeout if one's not already running.
11492 - (nma_dbus_init): better handling of error conditions, don't leak
11493 a half-initialized dbus connection
11494 - (nma_dbus_connection_watcher): consolidate places we reinitialize
11495 the applet's data, just call nm_dbus_init_helper()
11496 - (nma_start_dbus_connection_watch): new function, starts a periodic
11497 timeout that calls nma_dbus_connection_watcher()
11498 - (nma_dbus_init_helper): if we get a successful connection, kill the
11499 reconnection timeout, and don't start the reconnection timeout
11500 unconditionally anymore
11502 * gnome/applet/applet-dbus.h
11503 - Expose nma_start_dbus_connection_watch()
11505 * gnome/applet/applet.c
11506 - (nma_update_state): no longer static, called from applet-dbus.c for
11507 immediate UI updates on certain events
11508 - (nma_set_running): new function; take over setting applet->running,
11509 when not running (ie, NM is not active), don't activate the redraw
11510 timeout because we're not showing the applet anyway. When we are
11511 running (ie, NM is active), and only when we're running, start the
11513 - (nma_destroy): kill the redraw timeout by setting 'not running', and
11514 kill any reconnection timeout
11515 - (nma_get_instance): move one-off dbus initialization code here since
11516 nm_dbus_init_helper() gets called more than once, possibly by the
11517 reconnection timeout function too. And, when we start up, if we
11518 can't get a connection to the bus, start the reconnection timeout.
11519 But don't start the redraw timeout yet, only do that when we get
11520 NM's state and find out if it's running or not.
11522 * gnome/applet/applet.h
11523 - Add the reconnection GSource ID
11524 - Add prototypes for nma_set_running() and the no-longer-static
11527 2006-10-24 Dan Williams <dcbw@redhat.com>
11529 * src/vpn-daemons/nm-dbus-vpnc.c
11530 - (nm_dbus_vpn_update_one_connection_cb): unregister pending call in
11531 pending call tracker
11532 - (nm_dbus_vpn_connections_update_cb): unregister pending call in
11533 pending call tracker; register one-vpn-connection update pending
11534 call in pending call tracker
11535 - (nm_dbus_vpn_update_one_vpn_connection): register one-vpn-connection
11536 update pending call in pending call tracker
11537 - (nm_dbus_vpn_connections_update_from_nmi): register vpn-connections
11538 update pending call in pending call tracker; don't block waiting
11541 2006-10-19 Robert Love <rml@novell.com>
11543 * src/backends/NetworkManagerSuSE.c: Don't ever restart nscd; just
11546 2006-10-14 Dan Williams <dcbw@redhat.com>
11548 * src/dhcp-manager/nm-dhcp-manager.c
11549 - (get_ip4_string, get_ip4_uint32s): have the caller pass
11550 the dbus connection and the device object path rather than
11551 constructing it inside both functions. Saves a bit of memory
11552 and clarifies a failure path.
11553 - (nm_dhcp_manager_get_ip4_config): grab the dbus connection
11554 and allocate device path here rather than each of the two
11557 2006-10-13 Dan Williams <dcbw@redhat.com>
11559 * src/NetworkManager.c
11560 - (nm_name_owner_changed_handler): handle NMI coming and going,
11561 this somehow droppout in the refactor
11563 2006-10-13 Dan Williams <dcbw@redhat.com>
11565 * Huge DBus refactor:
11566 - Create a "DBus Manager" object which manages the connection and
11567 sends signals on NameOwnerChanged and connection/disconnection events,
11568 handles reconnection to the bus if NM gets kicked off, and abstracts
11570 - Remove DBusConnection members from places where they are no
11571 longer needed due to the refactor, like the dbus-connection
11572 property of the named manager, and from NMData
11573 - Reformats a bunch of the code to gnome style
11574 (8-space tabs, braces on same line as statement, 80-col width).
11575 Consider it open season to reformat any bits to gnome style.
11576 style that aren't already.
11578 2006-10-13 Dan Williams <dcbw@redhat.com>
11580 * src/supplicant-manager/Makefile.am
11583 * src/supplicant-manager/nm-supplicant-manager.[ch]:
11584 - Make it a minimal GObject
11586 * src/supplicant-manager/nm-supplicant-settings-verify.[ch]:
11587 - Verify settings destined for wpa_supplicant
11589 * src/supplicant-manager/nm-supplicant-connection.[ch]:
11590 - Minimal GObject to track wpa_supplicant controlled device
11593 2006-10-13 Wouter Bolsterlee <wbolster@gnome.org>
11595 * gnome/applet/applet.c: (nma_update_info),
11596 (nma_act_stage_to_pixbuf), (nma_update_state):
11597 Mark missing strings for translation. Fixes bug #343306.
11599 2006-10-01 Dan Williams <dcbw@redhat.com>
11601 * src/vpn-manager/nm-vpn-manager.c
11602 - (nm_vpn_manager_load_services): split and clean up
11603 for readability and correctness. Restrict VPN service
11604 files to ending in ".name", as was meant from the
11605 beginning (but not coded in). Better error reporting.
11607 2006-10-01 Dan Williams <dcbw@redhat.com>
11610 - Clean up formatting of debug/info/warning log messages
11612 2006-09-27 Robert Love <rml@novell.com>
11614 Patch by Tambet Ingo <tambet@ximian.com>:
11615 * gnome/vpn-properties/nm-vpn-properties.c: Make Renaming a VPN entry
11618 2006-09-07 Dan Williams <dcbw@redhat.com>
11621 test/libnm-util/Makefile.am
11622 test/nm-supplicant-test.c
11623 - Add test program emulating the way NM drives wpa_supplicant
11624 to help debug supplicant issues
11626 2006-08-24 Dan Williams <dcbw@redhat.com>
11630 src/supplicant-manager/Makefile.am
11631 src/supplicant-manager/nm-supplicant-manager.c
11632 src/supplicant-manager/nm-supplicant-manager.h
11633 - Add skeleton bits of the wpa_supplicant manager
11635 2006-08-24 Dan Williams <dcbw@redhat.com>
11637 Patch from Ed Catmur:
11638 * src/NetworkManagerUtils.c
11639 - (nm_utils_ip4_netmask_to_prefix): don't infinitely loop
11640 if netmask is 0 (Gnome #352634)
11642 2006-08-17 Robert Love <rml@novell.com>
11644 * src/backends/NetworkManagerSuSE.c: Do not restart ypbind; our ypbind
11645 package is now DBUS-enabled and listens for the NM signals.
11647 2006-08-14 Dan Williams <dcbw@redhat.com>
11649 * Patch from Christian Persch <chpe gnome org>
11652 vpn-daemons/openvpn/po/LINGUAS
11653 vpn-daemons/openvpn/configure.in
11654 vpn-daemons/pptp/po/LINGUAS
11655 vpn-daemons/pptp/configure.in
11656 vpn-daemons/vpnc/po/LINGUAS
11657 vpn-daemons/vpnc/configure.in
11658 - Convert to LINGUAS method so translators don't have to modify
11659 configure.in, just stuff in po/. Gnome #343132, requires intltool
11662 2006-08-14 Dan Williams <dcbw@redhat.com>
11664 Patch from Alex Smith <alex.extreme2@gmail.com>
11666 src/backends/Makefile.am
11667 src/backends/NetworkManagerFrugalware.c
11668 - Add support for Frugalware
11670 2006-08-13 Dan Williams <dcbw@redhat.com>
11672 Patch from Valentine Sinitsyn <e_val@inbox.ru>
11673 * src/nm-device-802-11-wireless.c
11674 - (supplicant_exec): spawn wpa_supplicant without debug spew
11677 2006-08-13 Dan Williams <dcbw@redhat.com>
11679 Patch from Valentine Sinitsyn <e_val@inbox.ru>
11680 * src/nm-ap-security.c
11681 src/nm-ap-security.h
11682 - Add authentication_required bits for subclasses to specify whether
11683 or not real authentication is required for connections, i.e. whether
11684 the AP rejects us when an encryption key is wrong or not.
11686 * src/nm-ap-security-wep.c
11687 src/nm-ap-security-wpa-eap.c
11688 src/nm-ap-security-wpa-psk.c
11689 src/nm-ap-security-leap.c
11690 - Implement authentication_required appropriately for each method
11692 * src/nm-device-802-11-wireless.c
11693 - Be smarter about when to request a key; for example, using a wrong key
11694 in WEP shared key mode previously just timed out and did not request
11697 2006-08-13 Dan Williams <dcbw@redhat.com>
11699 * gnome/libnm_glib/libnm_glib.c
11700 - dbus_connection_disconnect() -> dbus_connection_close() for
11703 2006-08-07 Dan Williams <dcbw@redhat.com>
11705 Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
11706 * src/NetworkManagerSystem.c
11707 - Respect specified MTU. Gnome #344967
11709 2006-08-07 Dan Williams <dcbw@redhat.com>
11711 * src/vpn-manager/nm-vpn-service.c
11712 - Simplify print_vpn_config() arguments
11714 Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
11715 * src/vpn-manager/Makefile.am
11716 src/vpn-manager/nm-vpn-service.c
11717 - Add new API for passing VPN config options as a dict. Gnome #344967
11719 2006-08-06 Dan Williams <dcbw@redhat.com>
11721 * gnome/applet/applet-dbus-devices.c
11722 gnome/applet/applet-dbus-vpn.c
11723 gnome/applet/applet-dbus.c
11724 gnome/applet/applet-dbus.h
11728 - Make pending call tracking code generic,
11729 so we can use it in NM as well as the applet
11731 2006-08-06 Dan Williams <dcbw@redhat.com>
11733 * src/nm-activation-request.c
11734 - Refcount pending call objects
11736 2006-08-06 Dan Williams <dcbw@redhat.com>
11738 Patch from Christan Chiesa <christanc@gmail.com>
11740 - Tell sha1.c to use bigendian mode on PPC
11742 2006-08-04 Robert Love <rml@novell.com>
11744 Glib Memory Slices!
11745 * configure.in: Require glib 2.10 or later.
11746 * src/NetworkManager.c, src/NetworkManagerAP.c, src/nm-ip4-config.c,
11747 src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
11748 src/NetworkManagerDbusUtils.c, src/nm-dbus-nmi.c, src/wpa.c,
11749 src/nm-device-802-11-wireless.c: Convert applicable g_malloc and
11750 g_new calls to g_slice_new. Likewise for g_free to g_slice_free.
11751 Memory Slices are the greatest thing since bread slices.
11752 * src/NetworkManagerAP.c: Also, fix memory leak.
11754 2006-08-01 Robert Love <rml@novell.com>
11756 * gnome/applet/main.c: Shutdown all VPN connections on logout.
11758 2006-07-31 Robert Love <rml@novell.com>
11760 * src/backends/interface_parser.c: Declarations must begin the block.
11762 2006-07-24 Dan Williams <dcbw@redhat.com>
11764 Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
11765 * src/backends/Makefile.am
11766 src/backends/NetworkManagerArch.c
11767 src/backends/NetworkManagerDebian.c
11768 src/backends/NetworkManagerGeneric.c
11769 src/backends/NetworkManagerGeneric.h
11770 src/backends/NetworkManagerGentoo.c
11771 src/backends/NetworkManagerPaldo.c
11772 src/backends/NetworkManagerRedHat.c
11773 src/backends/NetworkManagerSlackware.c
11774 src/backends/NetworkManagerSuSE.c
11775 - Genericize common backend functions
11777 2006-07-18 Robert Love <rml@novell.com>
11779 * configure.in: Add "--with-notify" option to allow disabling of
11782 2006-07-13 Dan Williams <dcbw@redhat.com>
11784 Patch from Thiago Bauermann <thiago.bauermann@gmail.com>
11785 * gnome/applet/applet.glade
11786 gnome/applet/Makefile.am
11787 gnome/applet/nm-gconf-wso.c
11788 gnome/applet/nm-gconf-wso-leap.c
11789 gnome/applet/nm-gconf-wso-leap.h
11790 gnome/applet/wireless-security-manager.c
11791 gnome/applet/wso-leap.c
11792 gnome/applet/wso-leap.h
11793 include/NetworkManager.h
11794 libnm-util/dbus-helpers.c
11795 libnm-util/dbus-helpers.h
11797 src/NetworkManagerAP.c
11798 src/nm-ap-security.c
11799 src/nm-ap-security-leap.c
11800 src/nm-ap-security-leap.h
11801 - Add LEAP authentication support
11803 2006-07-13 Dan Williams <dcbw@redhat.com>
11805 Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
11807 src/backends/NetworkManagerArch.c
11808 src/backends/NetworkManagerDebian.c
11809 src/backends/NetworkManagerGentoo.c
11810 src/backends/NetworkManagerPaldo.c
11811 src/backends/NetworkManagerRedHat.c
11812 src/backends/NetworkManagerSlackware.c
11813 src/backends/NetworkManagerSuSE.c
11814 - Convert hardcoding of 'ip' path to configure-time
11817 2006-07-12 Leonid Kanter <leon@asplinux.ru>
11819 * configure.in: added ru to ALL_LINGUAS
11821 2006-07-10 Dan Williams <dcbw@redhat.com>
11823 Patch from Valentine Sinitsyn <e_val@inbox.ru>
11825 - (real_act_stage3_ip_config_start): don't infinite loop when
11826 dhcdbd isn't running (Gnome #346845)
11828 2006-07-09 Dan Williams <dcbw@redhat.com>
11830 * gnome/applet/applet.c
11831 - (nma_destroy): don't pass NULL to notify_notification_close
11834 2006-07-09 Dan Williams <dcbw@redhat.com>
11836 * gnome/applet/applet.c
11837 - (nma_about_cb): remove empty documenters tab (Gnome #341324)
11839 2006-07-04 Tor Krill <tor@krill.nu>
11841 Patch from Valentine Sinitsyn <e_val@inbox.ru>
11842 * src/backends/NetworkManagerArch.c: (nm_system_update_dns),
11843 (nm_system_restart_mdns_responder), (ArchReadConfig),
11844 (nm_system_device_get_system_config):
11845 - Explicitly check for DHCP configuration
11846 - Check if daemons are running before starting them
11848 2006-06-25 Dan Williams <dcbw@redhat.com>
11850 * libnm-util/dbus-dict-helpers.[ch]
11851 test/libnm-util/test-dbus-dict-helpers.c
11852 - Add string array support
11854 2006-06-24 Dan Williams <dcbw@redhat.com>
11856 * src/dhcp-manager/nm-dhcp-manager.c
11857 - (nm_dhcp_manager_process_signal): clean up spacing
11859 2006-06-21 Dan Williams <dcbw@redhat.com>
11861 * src/nm-dbus-device.c
11862 - (nm_dbus_device_get_driver): don't try to stuff a NULL
11865 2006-06-21 Raivis Dejus <orvils@gmail.com>
11867 * configure.in: Added 'lv' to ALL_LINGUAS
11869 2006-06-19 Dan Williams <dcbw@redhat.com>
11871 * src/NetworkManagerAP.c
11872 - Clarify usage of user_created
11874 * src/nm-ap-security-wep.c
11875 src/nm-ap-security-wpa-eap.c
11876 src/nm-ap-security-wpa-psk.c
11877 src/nm-ap-security.c
11878 src/nm-ap-security.h
11879 - s/user_created/adhoc, because we really do mean adhoc
11881 Patch from Bernard Blackham <bernard@blackham.com.au>
11882 * src/nm-device-802-11-wireless.c
11883 - (supplicant_send_network_config): instead of user_created,
11884 use adhoc, and do AP_SCAN 2 for adhoc networks
11886 2006-06-18 Robert Love <rml@novell.com>
11888 * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the Gconf keys unless
11889 we have a value to set. Gconf generates a warning if `val' is NULL.
11890 * src/nm-ap-security-wpa-eap.c: Don't set the key for an Enterprise AP
11891 unless we actually received a valid private key file passphrase or
11892 password. Otherwise, we don't know to later ask the applet to pull
11893 the key from the keyring.
11895 2006-06-17 Dan Williams <dcbw@redhat.com>
11897 * libnm-util/dbus-dict-helpers.[ch]
11898 test/libnm-util/test-dbus-dict-helpers.c
11899 - Fixes for zero-length byte arrays
11900 - Replace return values of 0 with FALSE for clarity
11901 - Test zero-length byte arrays
11903 2006-06-17 Dan Williams <dcbw@redhat.com>
11905 * libnm-util/dbus-dict-helpers.[ch]
11906 test/libnm-util/test-dbus-dict-helpers.c
11907 - Add helpers for byte arrays
11908 - Rework bits of the testcase
11910 2006-06-16 Dan Williams <dcbw@redhat.com>
11912 * libnm-util/Makefile.am
11913 * libnm-util/dbus-dict-helpers.[ch]
11914 - Add some helpers to take the pain out of using dict types in
11917 * test/libnm-util/Makefile.am
11918 * test/libnm-util/test-dbus-dict-helpers.c
11919 - Test cases for the dict helper functions
11921 2006-06-15 Robert Love <rml@novell.com>
11923 * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the key unless there
11924 is a non-empty key to set. Elsewhere, pass an empty string via DBUS
11925 if there is no key to pass.
11926 * libnm-util/dbus-helpers.c: Given the above, we can trust always
11927 receiving a non-NULL key.
11929 2006-06-14 Robert Love <rml@novell.com>
11931 * src/nm-ap-security-wpa-eap.c: In real_copy_constructor(), actually
11935 2006-06-14 Dan Williams <dcbw@redhat.com>
11937 Patch from Lorenzo Colitti <lorenzo@colitti.com> gnome.org #344825
11938 * src/nm-device-802-11-wireless.c
11939 - (nm_device_802_11_wireless_set_essid): only wait for orinoco cards
11940 or ones where the driver is unknown
11941 - (supplicant_exec): don't wait for supplicant startup here
11942 - (supplicant_interface_init): finer grained polling for supplicant
11945 2006-06-13 Robert Love <rml@novell.com>
11947 * gnome/applet/applet-dbus-info.c: Don't set the fallback bit to FALSE
11948 if it is currently set to TRUE. Otherwise, we will reset the value
11949 when we connect normally.
11950 * src/nm-device-802-11-wireless.c: For the roaming code, make sure that
11951 the old BSSID is valid, too. The recently added ESSID check may not be
11952 sufficient (we can remove it?). What we really want to catch is the
11953 case of going from all-zeros to the BSSID of some other network, which
11954 happens on failure.
11956 2006-06-09 Dan Williams <dcbw@redhat.com>
11958 * src/NetworkManagerSystem.[ch]
11959 - (nm_system_device_set_up_down_with_iface): remove 'dev' argument,
11960 it was unused and pointless
11961 - (nm_system_vpn_device_set_from_iface, nm_system_device_set_up_down):
11962 fix for set_up_down_with_iface change
11964 * src/vpn-manager/nm-vpn-connection.c
11965 - (nm_vpn_connection_deactivate): fix for set_up_down_with_iface change
11967 * src/backends/NetworkManagerPaldo.c
11968 src/backends/NetworkManagerRedHat.c
11969 src/backends/NetworkManagerSuSE.c
11970 src/backends/NetworkManagerArch.c
11971 src/backends/NetworkManagerDebian.c
11972 src/backends/NetworkManagerGentoo.c
11973 - (nm_system_enable_loopback): use set_up_down_with_iface where
11975 - (nm_system_flush_loopback_routes): use flush_routes_with_iface
11978 2006-06-09 Dan Williams <dcbw@redhat.com>
11980 Patch from Peter Jones:
11981 * src/nm-device-802-11-wireless.c
11982 - (nm_device_802_11_wireless_update_bssid): make sure that the
11983 SSID hasn't changed from what we expect before automatically
11984 updating the saved BSSID from a new AP
11986 2006-06-08 Robert Love <rml@novell.com>
11988 Add 'fallback' support. NetworkManager will attempt to brute-force
11989 connect to networks marked as fallback if there are no better wireless
11990 connections available. This is useful as a method of last resort, to
11991 work around driver problems, and for use with hidden networks.
11992 * gnome/applet/applet-dbus-devices.c,
11993 gnome/applet/applet-dbus-devices.h: Add fallback parameter.
11994 * gnome/applet/applet-dbus-info.c: Retrieve fallback bit from Gconf and
11995 pass it on via DBUS.
11996 * gnome/applet/applet.c: No fallback by default.
11997 * gnome/applet/applet.glade, gnome/applet/other-network-dialog.c:
11998 Update other-network-dialog to add UI checkbox toggling fallback.
11999 * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Remove "trusted"
12000 propery from AP object. Add "fallback" property to AP object.
12001 * src/nm-dbus-nm.c: Grab the fallback parameter via DBUS.
12002 * src/nm-dbus-nmi.c: Grab the fallback parameter via DBUS.
12003 * src/nm-device-802-11-wireless.c: Break out blacklist logic into
12004 separate function. Add get_best_fallback_ap() for returning an AP
12005 on which to attempt fallback.
12006 * src/backends/NetworkManagerSuSE.c: Set stored network as fallback.
12007 * test/nm-set-fallback: New file. Sets a given network as fallback.
12009 2006-06-07 Robert Love <rml@novell.com>
12011 * gnome/applet/gconf-helpers.c: Bug fix: nm_gconf_helper_get_bool()
12012 checked that the return type was GCONF_VALUE_STRING, not the correct
12013 GCONF_VALUE_BOOL, and thus it never worked.
12014 * src/NetworkManagerAPList.c: Before concluding that two networks are
12015 identical based on their BSSID, make sure that the BSSID in question
12016 is actually valid. Specifically, an empty or all zero BSSID does not
12018 * gnome/applet/applet-dbus-info.c, gnome/applet/other-network-dialog.c,
12019 src/nm-dbus-nmi.c, src/nm-device-802-11-wireless.c: White space and
12020 similar invariant clean up.
12022 2006-06-02 Robert Love <rml@novell.com>
12024 * gnome/applet/applet.c: Update copyright years. Add Novell.
12026 2006-05-28 Dan Williams <dcbw@redhat.com>
12028 * gnome/applet/applet.glade
12029 gnome/vpn-properties/nm-vpn-properties.glade
12030 - Set window icons on dialogs (Gnome.org #333420)
12032 2006-05-28 Christian Persch <chpe@cvs.gnome.org>
12034 * gnome/vpn-properties/nm-vpn-properties.glade:
12035 * vpn-daemons/openvpn/properties/nm-openvpn-dialog.glade:
12036 * vpn-daemons/pptp/properties/nm-pptp-dialog.glade:
12037 * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
12038 - Make the VPN properties pages prettier and more HIG
12039 compliant. Gnome Bug #336913.
12041 2006-05-28 Dan Williams <dcbw@redhat.com>
12043 Patch from Christian Persch <chpe@gnome.org>
12044 * gnome/vpn-properties/nm-vpn-properties.c
12045 * gnome/vpn-properties/nm-vpn-properties.glade
12046 - HIG-ification love (Gnome.org #336846)
12048 2006-05-28 Dan Williams <dcbw@redhat.com>
12050 Patch from Christian Persch <chpe@gnome.org>
12052 gnome/vpn-properties/nm-vpn-properties.c
12053 - (main): Fix option parsing. Gnome.org #336847
12055 2006-05-28 Dan Williams <dcbw@redhat.com>
12057 * gnome/vpn-properties/nm-vpn-properties.c
12058 - (find_vpn_ui_by_service_name): protect against NULL service names
12059 - (update_edit_del_sensitivity): protect against NULL service names
12062 2006-05-28 Dan Williams <dcbw@redhat.com>
12064 Patch from Chris Fuller <crf@grandecom.net>:
12065 * src/nm-device-802-11-wireless.c
12066 - (nm_device_802_11_wireless_dispose): add a is_initialized member and
12067 don't dispose of wireless-specific stuff unless it is actually
12068 initialized. Gnome.org #341263
12070 2006-05-28 Dan Williams <dcbw@redhat.com>
12072 * src/NetworkManagerPolicy.c
12073 - (nm_policy_device_change_check): don't switch devices if the "best"
12074 AP is essentially the same as the current activation request, but
12075 the current activation request isn't done activating yet. Fixes
12076 multiple requests for keyring password on startup for Gnome applet.
12079 2006-05-26 Nicolas Trangez <eikke@eikke.com>
12081 * src/NetworkManager.c: use GOptions instead of getopt
12082 * configure.in: bump glib required version to >= 2.6 for GOption
12085 2006-05-25 Robert Love <rml@novell.com>
12087 * src/nm-device.h: Introduce nm_ioctl_info(), which defines to
12088 nm_info() if IOCTL_DEBUG is set and a no-op if not. We can use this
12089 instead of dumping ifdef's throughout the code.
12090 * src/NetworkManagerSystem.c, src/nm-device-802-11-wireless.c,
12091 src/nm-device-802-3-ethernet.c, src/nm-device.c: Remove ifdef's and
12092 use nm_ioctl_info() in lieu.
12094 2006-05-25 Robert Love <rml@novell.com>
12096 Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342400:
12097 * libnm-util/Makefile.am: Only build gnome-keyring-md5.{c,h} if we are
12098 not using gcrypt. Otherwise, we get a linker error.
12100 2006-05-25 Robert Love <rml@novell.com>
12102 Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342398:
12103 * configure.in, gnome/Makefile.am, Makefile.am: Add "--without-gnome"
12104 configure flag to disable building of the GNOME-based applet.
12106 2006-05-25 Robert Love <rml@novell.com>
12108 * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Rename function
12109 parameter from link, because it shadows a global variable with some
12110 older versions of glibc. Yes, glibc is now fixed and, yes, glibc
12111 should never have exported to the entire system a common four letter
12112 word. But we here at NetworkManager are team players. Fixes
12115 2006-05-25 Arangel Angov <ufo@linux.net.mk>
12117 * configure.in: Added mk.po, Macedonian translation.
12119 2006-05-24 Robert Love <rml@novell.com>
12121 * examples/python/systray/eggtrayicon.c, gnome/applet/eggtrayicon.c,
12122 gnome/applet/passphrase-dialog.c, gnome/applet/vpn-password-dialog.c,
12123 src/NetworkManager.c: Include <glib/gi18n.h> and not <libintl.h>.
12125 2006-05-24 Robert Love <rml@novell.com>
12127 * gnome/applet/Makefile.am, gnome/vpn-properties/Makefile.am,
12128 libnm-util/Makefile.am, src/Makefile.am,
12129 vpn-daemons/openvpn/auth-dialog/Makefile.am,
12130 vpn-daemons/openvpn/properties/Makefile.am,
12131 vpn-daemons/pptp/auth-dialog/Makefile.am,
12132 vpn-daemons/pptp/properties/Makefile.am,
12133 vpn-daemons/vpnc/auth-dialog/Makefile.am,
12134 vpn-daemons/vpnc/properties/Makefile.am: Do not override what the
12135 user passed for --datadir, if anything, when setting the GNOME locale
12136 directory. It should be a function of the specified datadir and not
12139 2006-05-24 Robert Love <rml@novell.com>
12141 * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c,
12142 src/NetworkManager.c: Take care to call bindtextdomain with the
12143 location of msgid files.
12144 * src/Makefile.am: Set GNOMELOCALEDIR to the location of GNOME mo
12147 2006-05-22 Robert Love <rml@novell.com>
12149 * src/nm-device-802-11-wireless.c: Don't chain up to the parent's
12150 stage4_timeout on failure unless the wireless network is Ad-Hoc.
12151 99% of the time there is a real problem with wireless, and a
12152 seemingly successful connection via Zeroconf just confuses the user.
12153 And that 1% of the time the network is probably Ad-Hoc, anyhow.
12155 2006-05-22 Robert Love <rml@novell.com>
12157 * src/backends/NetworkManagerSuSE.c: Reload, do not restart, ypbind and
12158 autofs on interface up if NIS is configured. On interface down, do
12161 2006-05-22 Robert Love <rml@novell.com>
12163 * gnome/applet/applet.c: Zero out the icon pointers before we set them,
12164 to avoid calling g_object_unref() on stale pointers on error in
12165 nma_icons_free(). This happens because we short-circuit loaded the
12166 icons on the first failure but then free all icons. Normally we have
12167 no issue because the icons were zero'ed out malloc, but we have stale
12168 pointer data after nma_icon_theme_changed().
12169 * gnome/applet/main.c: Return error code if nma_new() failed.
12171 2060-05-21 Dan Williams <dcbw@redhat.com>
12173 * initscript/NetworkManager.in
12174 - Ensure both dhcdbd and named are started before NM
12176 2006-05-21 Dan Williams <dcbw@redhat.com>
12179 - Bump version to 0.7 to signify we are in 0.7 development
12181 2006-05-21 Dan Williams <dcbw@redhat.com>
12183 Patch from Adam Schreiber <sadam@clemson.edu>
12184 * gnome/vpn-properties/nm-vpn-properties.c
12185 - (main): correct Gnome program name (gnome.org #342498)
12187 2006-05-21 Dan Williams <dcbw@redhat.com>
12189 Fix gnome.org #330832 based on patch from Crispin Flowerday <crispin@gnome.org>
12191 * src/NetworkManagerDbus.[ch]
12192 - nm_dbus_get_device_from_object_path -> nm_dbus_get_device_from_escaped_object_path:
12193 clarify that function's argument should be an escaped dbus object
12194 path, and look for path segment end before returning a match
12195 * src/nm-dbus-nm.c:
12196 - Fix up users of nm_dbus_get_device_from_escaped_object_path()
12198 2006-05-17 Robert Love <rml@novell.com>
12200 Functionality to differentiate Ad-Hoc networks from infrastructure
12201 networks in the applet, by displaying a special icon:
12202 * gnome/applet/applet-dbus-devices.c: Set the mode for new networks.
12203 * gnome/applet/applet.c: Pass 'applet' to network_menu_item_update().
12204 * gnome/applet/menu-items.c: Set a special icon in the scan list for
12205 ad-hoc networks. TODO: Add a third icon representing "encrypted and
12206 Ad-Hoc". Right now, we display the same icon for all Ad-Hoc wireless
12207 networks, encrypted or not.
12208 * gnome/applet/wireless-network.c, gnome/applet/wireless-network.h: New
12209 accessor functions to get and set the mode of a given network,
12210 wireless_network_get_mode() and wireless_network_set_mode().
12212 2006-05-17 Robert Love <rml@novell.com>
12214 Functionality to automatically add BSSIDs to the allowed-MAC list as
12215 one roams from access point to access point on a given network:
12216 * src/NetworkManagerUtils.c: Add nm_ethernet_addresses_are_equal(),
12217 helper function to compare two ether_addr structures and return TRUE
12218 if they contain the same MAC address.
12219 * src/NetworkManagerUtils.h: Add nm_ethernet_addresses_are_equal()
12221 * src/nm-device-802-11-wireless.c: New function to update the BSSID
12222 stored with the current AP. If the BSSID has indeed changed, we
12223 send it out to the applet, allowing the allowed-MAC list to grow
12224 automatically in response to roaming.
12226 2006-05-16 Robert Love <rml@novell.com>
12228 * src/backends/NetworkManagerSuSE.c: Don't touch ypbind or autofs
12229 unless dhcp:DHCLIENT_MODIFY_NIS_CONF is set to "yes".
12231 2006-05-13 Dan Williams <dcbw@redhat.com>
12233 * src/nm-device-802-3-ethernet.c
12234 - (real_get_generic_capabilities): Don't ignore devices that can't do
12235 carrier detect (Debian bug #366373)
12237 2006-05-11 Dan Williams <dcbw@redhat.com>
12239 Patch from Michael Biebl <biebl@teco.edu>
12240 * src/backends/NetworkManagerDebian.c
12241 - Debian backend fixups
12243 2006-05-10 Robert Love <rml@novell.com>
12245 * src/backends/NetworkManagerSuSE.c: Fix double free (Novell #173442).
12247 2006-05-09 Robert Love <rml@novell.com>
12249 * gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXME: Save the WPA EAP
12250 private certificate passphrase, if any, in the GNOME Keyring.
12251 * libnm-utils/dbus-helpers.c: Update.
12253 2006-05-05 Dan Williams <dcbw@redhat.com>
12255 * src/nm-device-802-11-wireless.c
12256 - (nm_device_802_11_wireless_set_wep_enc_key): convert to
12257 nm_device_802_11_wireless_disable_encryption() since that's all
12258 we use it for anymore; we don't ever set WEP keys ourselves.
12259 - (real_deactivate_quickly): reset SSID and encryption keys
12260 - (real_deactivate): move SSID and encryption key reset to
12261 real_deactivate_quickly(), which gets run before us anyway
12263 2006-05-05 Robert Love <rml@novell.com>
12265 * src/NetworkManager.c: Set the umask to 0022 when daemonizing, in case
12266 root has a wacky default of its own (or, more common, a user has a
12267 bad umask and uses su/sudo to restart NetworkManager). Anything
12268 other than 0022 does not do what we want with, for example,
12269 resolv.conf. This problem is amplified by our judicious use of
12270 fopen(), which uses mode 0666 -- implying that the only way to get
12271 the permissions we want is with a umask of 0022.
12273 2006-05-05 Dan Williams <dcbw@redhat.com>
12275 * gnome/libnm_glib/libnm_glib.c
12276 - Don't suck CPU when dbus isn't around by scheduling idle handlers
12277 to reconnect; instead wait a bit more with each reconnect attempt
12278 up to a max of one minute.
12280 2006-05-04 Ryan Lortie <desrt@desrt.ca>
12282 * gnome/applet/passphrase-dialog.c (update_button_cb): Get the SSID of
12283 the WirelessNetwork structure using the proper function instead of
12284 just casting it directly to (const char *) (gnome.org #336991)
12286 2006-05-03 Robert Love <rml@novell.com>
12288 * src/backends/NetworkManagerSuSE.c: Respect the variable
12289 dhcp:DHCLIENT_MODIFY_RESOLV_CONF, not
12290 config:MODIFY_RESOLV_CONF_DYNAMICALLY, when deciding whether or not
12291 to dynamically update /etc/resolv.conf.
12293 2006-05-02 Peter Jones <pjones@redhat.com>
12295 * vpn-daemons/vpnc/src/nm-vpnc-service.c: Allow rekeying.
12297 2006-05-02 Robert Love <rml@novell.com>
12299 Patch by Timo Hoenig;
12300 * tests/nm-online.c: Print pretty status indicator as timeout winds
12301 down. Also fix possible race between DBUS startup and failure
12304 2006-05-01 Robert Love <rml@novell.com>
12306 * gnome/applet/applet-compat.c: Warn if the returned escaped ESSID is
12309 2006-04-27 Jeremy Katz <katzj@redhat.com>
12311 * src/nm-device.c (discover_device_type): Actually use the hal
12312 device type instead of ioctl poking
12314 2006-04-26 Robert Love <rml@novell.com>
12316 * tests/nm-online.c: New file. Simple utility that returns exit status
12317 noting whether the connection is offline or online. If offline on
12318 start, it waits 30 seconds (or a command-line given value) for an
12319 online signal. If it times out, it again returns offline. This is
12320 useful for scripts that want to wait for network connections.
12322 2006-04-25 Robert Love <rml@novell.com>
12324 * src/nm-ap-security-wep.c: Bug fix: We stopped setting the
12325 key mode (the authentication algorithm), e.g. open or shared, when we
12326 moved to using wpa_supplicant. wpa_supplicant defaults to open, so
12327 only shared was broken. If the user specified a shared key, set it
12328 explicitly, otherwise let wpa_supplicant go with the default.
12330 2006-04-24 Dan Williams <dcbw@redhat.com>
12332 * src/nm-device-802-11-wireless.c
12333 - (nm_device_802_11_wireless_set_essid): fix setting of "any" essid
12335 2006-04-24 Dan Williams <dcbw@redhat.com>
12337 Commit the async scanning patch
12339 * src/nm-device-802-11-wireless.c
12340 - get rid of scan_mutex
12341 - (wireless_event_helper): act on wireless scan events
12342 - (real_start): schedule a pending scan
12343 - (link_to_specific_ap): fake the link to the AP during a scan
12344 - (nm_device_802_11_wireless_update_signal_strength): ignore signal
12345 strength during scans
12346 - (nm_device_get_frequency, nm_device_set_frequency, nm_device_get_bitrate,
12347 nm_device_set_bitrate): unused with new scanning code, disable
12348 - (nm_device_wireless_schedule_scan): removed
12349 - (nm_device_wireless_process_scan_results): renamed to convert_scan_results()
12350 - (request_and_convert_scan_results): new function; retrieve scan
12351 results from the driver and schedule the processing function
12352 - (scan_results_timeout): timeout triggered when card doesn't send
12353 a scan results wireless event during a certain interval
12354 - (schedule_scan_results_timeout): new function; schedule the scan
12356 - (cancel_scan_results_timeout): new function; cancel the scan
12358 - (nm_device_802_11_wireless_scan): if wpa_supplicant is running, ask it
12359 to do the scanning. Otherwise, just request a scan but don't
12360 grab results here; instead schedule a timeout for scan results and
12361 let netlink notify us of scan completion events
12362 - (nm_device_wireless_schedule_scan): new function; schedule a wireless scan
12363 - (cancel_pending_scan): new function; cancel a pending wireless scan
12364 - (supplicant_status_cb): ignore disconnect events while scanning
12365 - (supplicant_exec): wait a bit longer for the supplicant to start up
12366 - (nm_device_802_11_wireless_dispose): cancel pending scans and results
12368 - (get_scan_results): removed; folded into request_and_convert_scan_results()
12370 2006-04-24 Dan Williams <dcbw@redhat.com>
12372 * gnome/applet/applet-dbus.c
12373 - Disable the pending call debug stuff, seems under control now
12375 2006-04-20 Robert Love <rml@novell.com>
12377 Fix bug where hidden ESSID's would not show up in the applet, even
12378 if NMI provided a BSSID -> ESSID mapping from Gconf. This occurred
12379 because nm_policy_device_list_update_from_allowed_list() would merge
12380 the data, putting a name to the hidden networks, but never notify NMI
12381 of the changes. Simple fix is to invoke the function
12382 nm_dbus_signal_wireless_network_change() if we make a mapping.
12383 * src/NetworkManagerAPList.c: Call the function
12384 nm_dbus_signal_wireless_network_change() if we made a successful
12385 BSSID to ESSID mapping, notifying the applet of the "new" network.
12386 * src/NetworkManagerAPList.h: Update the prototypes for both
12387 nm_ap_list_copy_essids_by_address() and
12388 nm_ap_list_copy_one_essid_by_address().
12390 2006-04-20 Robert Love <rml@novell.com>
12392 * gnome/applet/applet-dbus-info.c: Don't bail out if the timestamp is
12393 not set. Just return zero.
12395 2006-04-20 Robert Love <rml@novell.com>
12397 * gnome/vpn-properties/nm-vpn-properties.c: Satisfy TODO: Ensure that
12398 only one copy of nm-vpn-properties is running at a time via the 'ol
12399 X selection trick. This prevents the user from opening two "VPN
12400 Connections" windows from within the applet, which leads to mass
12402 * clipboard.c: New file, implementing simple X selection logic.
12403 * clipboard.h: New file.
12404 * gnome/vpn-properties/Makefile.am: Add clipboard.{c,h}
12406 2006-04-18 Nicolas Trangez <eikke@eikke.com>
12408 * backends/NetworkManagerGentoo.c: Small cleanups and enhancements
12410 initscript/Gentoo/Makefile.am
12411 initscript/Gentoo/NetworkManagerDispatcher.in
12413 * initscript/Gentoo/NetworkManager.in: small dependency fixup from
12416 2006-04-16 Dan Williams <dcbw@redhat.com>
12418 Patch from Paul Blazejowski <paulb@blazebox.homeip.net>
12420 initscript/Slackware/Makefile.am
12421 initscript/Slackware/rc.networkmanager-dispatcher.in
12422 initscript/Slackware/rc.networkmanager.in
12423 - Update slackware initscripts
12425 2006-04-10 Robert Love <rml@novell.com>
12427 * gnome/vpn-properties/nm-vpn-properties.c: Intercept and short-circuit
12428 the "delete_event" signal on the druid's parent window and handle it
12429 our way, lest using the WM to close the druid results in a series of
12430 bloody and ultimately lethal errors.
12432 2006-04-10 Robert Love <rml@novell.com>
12434 * gnome/vpn-properties/nm-vpn-properties.c: Validate VPN settings on
12435 'Back' too or else the 'Forward' option is initially disabled despite
12438 2006-04-06 Robert Love <rml@novell.com>
12440 Fix bad but simple bug where an active modem connection did not update
12441 NM's connection state, breaking any app that did online/offline:
12442 * src/NetworkManagerMain.h: Add 'modem_active' member to NMData,
12443 represented whether a dial up connection is active, or not.
12444 * src/nm-dbus-nm.c: Set and unset 'modem_active' in response
12445 to modem activation and deactivation.
12446 * src/NetworkManagerDbus.c: When asked our state, do not return
12447 disconnected if the modem is active.
12449 2006-04-04 Robert Love <rml@novell.com>
12451 * gnome/applet/applet.c: Remove the 'Remove' option that I added to the
12452 applet. It just confuses the crap out of people and does not make a
12453 lot of sense, as the daemon still runs.
12455 2006-04-02 Tor Krill <tor@krill.nu>
12457 * initscript/Arch/networkmanager.in: Added checks for HAL and dhcdbd
12458 in start of service.
12459 * src/backends/NetworkManagerArch.c: (nm_system_get_mtu): Added to
12460 get Archlinux backend up to date.
12462 2006-03-29 Robert Love <rml@novell.com>
12464 Patch by Vinay R <rvinay@novell.com> and Robert Love <rml@novell.com>,
12465 to add support for per-route MSS and improve support for per-interface
12467 * src/NetworkManagerSystem.c: Modify nm_system_device_set_ip4_route to
12468 optionally take an MSS parameter and set it for the given route.
12469 Remove nm_system_device_set_ip4_route_with_iface. Pass in the
12470 NMIP4Config's stored MSS, if any.
12471 * src/nm-ip4-config.c: Add 'mtu' and 'mss' to NMIP4Config, representing
12472 the interface's MTU and the route's MSS, respectively. Add functions
12473 nm_ip4_config_get_mtu, nm_ip4_config_set_mtu, nm_ip4_config_get_mss,
12474 and nm_ip4_config_set_mss for retrieving and setting the MTU and the
12476 * src/nm-ip4-config.h: Add prototypes for nm_ip4_config_get_mtu,
12477 nm_ip4_config_set_mtu, nm_ip4_config_get_mss, and
12478 nm_ip4_config_set_mss.
12479 * src/vpn-manager/nm-vpn-service.c: Modify to receive the MSS from the
12481 * src/backends/NetworkManager{Arch,Debian,Gentoo,RedHat,Slackware,SUSE}.c:
12482 Change the retval of nm_system_get_mtu to guint32.
12483 * src/dhcp-manager/nm-dhcp-manager.c: Set the MTU on the new DHCP-given
12484 NMIP4Config to the MTU provided by the system, if any. TODO: If DHCP
12485 servers can specify MTU's, we should set it here if the MTU was not
12488 2006-03-27 Jürg Billeter <j@bitron.ch>
12491 * initscript/Makefile.am:
12492 * initscript/paldo/Makefile.am:
12493 * initscript/paldo/NetworkManager.in:
12494 * initscript/paldo/NetworkManagerDispatcher.in:
12495 * src/backends/Makefile.am:
12496 * src/backends/NetworkManagerPaldo.c:
12497 - Add paldo support
12499 2006-03-27 Dan Williams <dcbw@redhat.com>
12501 Patch from Christian Persch <chpe@gnome.org>
12502 * gnome/applet/applet.glade
12503 - HIG fixes; mostly for spacing and borders (gnome.org #336220)
12505 2006-03-27 Dan Williams <dcbw@redhat.com>
12507 Patch from Diffe <diffie@blazebox.homeip.net>
12508 * src/backends/NetworkManagerSlackware.c
12509 - Don't restart howl, since it's been replaced by Avahi
12510 in most distributions
12512 2006-03-27 Dan Williams <dcbw@redhat.com>
12514 Patch from Tor Krill <bugzilla@krill.nu>
12516 initscript/Makefile.am
12517 src/backends/Makefile.am
12518 src/backends/NetworkManagerArch.c
12519 initscript/Arch/Makefile.am
12520 initscript/Arch/networkmanager-dispatcher.in
12521 initscript/Arch/networkmanager.in
12522 - Add Arch Linux support, fixes gnome.org #335147
12524 2006-03-27 Dan Williams <dcbw@redhat.com>
12526 Patch from Diffe <diffie@blazebox.homeip.net>
12527 * initscript/Slackware/rc.networkmanager
12528 - update, fixed gnome.org #333368
12530 2006-03-27 Robert Love <rml@novell.com>
12532 * gnome/applet/other-network-dialog.c: Do not allow the user to try to
12533 create WPA-EAP Ad-Hoc networks because such an action makes no sense.
12535 2006-03-27 Robert Love <rml@novell.com>
12537 Patch by Jürg Billeter <j@bitron.ch>:
12538 * src/nm-logging.c: Add printf modifier to fix warning on 64-bit
12540 * src/nm-netlink-monitor.c: Include <net/if.h> instead of <linux/if.h>
12541 as we prefer glibc over kernel headers, if possible.
12543 2006-03-27 Robert Love <rml@novell.com>
12545 Patch by Jon Escombe <list@dresco.co.uk>:
12546 * gnome/applet/nm-gconf-wso.c: Add missing NM_AUTH_TYPE_WPA_EAP case.
12547 * gnome/applet/nm-gconf-wso-wpa-eap.c: If retrieving the gconf values
12548 fail, don't bail out. We don't expect all of the various WPA-EAP
12549 values to be present.
12550 * src/nm-ap-security.c: We need to match all capabilities for each
12551 encryption type, not any one of them.
12553 2006-03-27 Robert Love <rml@novell.com>
12555 * src/backends/NetworkManagerSuSE.c: Revert 2006-03-17 commit and again
12556 restart, not reload, ypbind. Unfortunately there is no superior
12559 2006-03-24 Christopher Aillon <caillon@redhat.com>
12561 * gnome/applet/applet-notifications.c:
12562 When displaying a notification, make sure to get rid of the
12563 previous notification so as to not have competing bubbles,
12564 and stop leaking the old one.
12566 * gnome/applet/applet.c:
12567 * gnome/applet/applet.h:
12568 Add a new 'notification' member to the applet, and zero it out
12569 and free it appropriately.
12571 2006-03-23 Robert Love <rml@novell.com>
12573 Patch by j <j@bootlab.org>:
12574 * gnome/applet/applet.glade: Don't set the invisible_char property,
12575 which simply overrides the GTK default. By and by, this behavior
12576 ought to be fixed in Glade.
12578 2006-03-22 Robert Love <rml@novell.com>
12580 * src/dhcp-manager/nm-dhcp-manager.c: Bump timeout to 45 seconds.
12582 2006-03-22 Robert Love <rml@novell.com>
12584 Bug fix by Timo Hoenig <thoenig@suse.de>:
12585 * gnome/applet/applet-dbus.c: Let the applet reconnect to DBUS on
12586 disconnect. Otherwise, we have the daemon surviving DBUS restarts
12587 and the applet going AWOL.
12589 2006-03-22 Robert Love <rml@novell.com>
12591 * src/dhcp-manager/nm-dhcp-manager.c: Create NM_DHCP_TIMEOUT
12592 preprocessor define and use it instead of open-coded the DHCP
12593 timeout, which is currently 25 seconds, everywhere.
12595 2006-03-22 Robert Love <rml@novell.com>
12597 Implement "Dynamic WEP", which is basically WPA authentication and WEP
12598 key exchange via WPA, ostensibly providing good security without
12599 requiring hardware that supports full WPA. Also, add UI elements to
12600 allow the user to select the pairwise & group cipher for WPA Enterprise
12602 * gnome/applet/applet.glade: Update glade file.
12603 * gnome/applet/nm-gconf-wso-wpa-eap.c: Serialize and deserialize the
12604 key type, too, to and from gconf.
12605 * gnome/applet/wireless-security-option.c: Add "wpa_eap" parameter to
12606 wso_wpa_create_key_type_model(), noting whether we are handling PSK
12607 or EAP configuration, and in the latter case add in "Dynamic WEP" if
12608 the capabilities match.
12609 * gnome/applet/wso-private.h: Update wso_wpa_create_key_type_model()'s
12611 * gnome/applet/wso-wpa-eap.c: Manage UI elements for the key type and
12612 serialize from UI to DBUS.
12613 * gnome/applet/wso-wpa-psk.c: Cannot fail and always returns at least
12615 * libnm-util/dbus-helpers.c: Update nmu_security_serialize_wpa_eap(),
12616 nmu_security_serialize_wpa_eap_with_cipher(), and
12617 nmu_security_deserialize_wpa_eap() to take a "key_type" parameter and
12618 serialize/deserialize the key type via DBUS as the new third DBUS
12620 * libnm-util/dbus-helpers.h: Update prototypes.
12621 * src/nm-ap-security-wpa-eap.c: Deserialize the key type from DBUS,
12622 too. If the key type is WEP104, do Dynamic WEP, which means
12623 "IEEE8021X" for "key_mgmt". Also add support for user-specified
12624 pairwise and group ciphers (fixes a FIXME).
12626 2006-03-21 Robert Love <rml@novell.com>
12628 * src/NetworkManagerSystem.c, src/NetworkManagerSystem.h: Add
12629 nm_system_get_mtu(), which returns a user-provided or system-mandated
12630 MTU value for a given device, if any, or zero if no such value
12631 exists. Add nm_system_set_mtu() to set the MTU for a given device
12632 if we have a provided value.
12633 * src/nm-device.c: Set the MTU of devices.
12634 * src/backends/NetworkManagerSuSE.c: Read MTU, if any, from sysconfig.
12635 * src/backends/NetworkManagerDebian.c,
12636 src/backends/NetworkManagerGentoo.c,
12637 src/backends/NetworkManagerRedHat.c,
12638 src/backends/NetworkManagerSlackware.c: Implement stub functions.
12640 2006-03-21 Robert Love <rml@novell.com>
12642 * src/backends/NetworkManagerSuSE.c: Strip hypens from hex key in
12643 configuration file.
12645 2006-03-17 Robert Love <rml@novell.com>
12647 * src/backends/NetworkManagerSuSE.c: Do "rcypbind reload" to send the
12648 signal SIGHUP to ypbind, not "rcypbind restart" to physically restart
12649 it, in case it is not running in the first place. We just want its
12650 configuration reloaded. Also, do not "rcypbind stop" on device down.
12652 2006-03-15 Robert Love <rml@novell.com>
12654 * gnome/applet/applet.glade, gnome/applet/wso-wep-ascii.c,
12655 gnome/applet/wso-wep-hex.c, gnome/applet/wso-wep-passphrase.c: The
12656 label "WEP 40/128-bit" is inconsistent because the physical key size
12657 is 40 or 104-bits, to which a 24-bit initialisation vector is
12658 appended, forming a 64 or 128-bit traffic key. Thus, the label ought
12659 to read "40/104" or "64/128". I do not care much which, but most
12660 users think of "silver" and "gold" encryption as 64 and 128-bits, so
12661 let's stick with that. Thus, s/"40/128"/"64/128"/g. Also, since our
12662 WEP passphrase support only handles 128-bit keys, and any future
12663 64-bit passphrase support will require a new option (no way to auto-
12664 detect the target key size), explicitly label our passphrase support
12665 "WEP 128-bit Passphrase".
12667 2006-03-15 Robert Love <rml@novell.com>
12669 * src/dhcp-manager/nm-dhcp-manager.c: Do not start dhcdbd, but rely on
12670 the system init scripts (or some other mechanism) starting it (or a
12671 compatible DBUS service) before NetworkManager runs. This means that
12672 distributions might need to update their init scripts. This fixes
12673 possible races and is quite a bit cleaner.
12674 * initscript/SUSE/networkmanager.in: Update to start dhcdbd before
12675 starting the NetworkManager daemon.
12678 2006-03-14 Robert Love <rml@novell.com>
12680 * src/backends/NetworkManagerSuSE.c: Check that we have a valid AP
12681 before adding anything.
12683 2006-03-13 Robert Love <rml@novell.com>
12685 * gnome/vpn-properties/nm-vpn-properties.c: Hide the next page's
12686 widgets, too, if they exist, in case the user hit the back button.
12687 Fixes a bug where the details page contains the widgets of multiple
12688 VPN modules (Novell bug #157048).
12690 2006-03-13 Robert Love <rml@novell.com>
12692 Patch by Timo Hoenig <thoenig@suse.de>:
12693 * dispatcher-daemon/NetworkManagerDispatcher.c: Let the dispatcher
12694 daemon survive DBUS restarts, too.
12696 2006-03-10 Robert Love <rml@novell.com>
12698 * gnome/applet/applet.glade: Add toggles to show/obfuscate the
12700 * gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
12701 gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-eap.c,
12702 gnome/applet/wso-wpa-psk.c: Show and obfuscate passphrases and keys
12703 in response to "toggled" signal on new toggle.
12705 2006-03-10 Robert Love <rml@novell.com>
12707 * src/nm-ap-security-wpa-eap.c: Pass fake empty strings for
12708 serialization if strings are NULL, lest DBUS get angry.
12710 2006-03-10 Robert Love <rml@novell.com>
12712 * src/nm-ap-security-wpa-eap.c: Don't log the password.
12714 2006-03-09 Robert Love <rml@novell.com>
12716 * src/backends/NetworkManagerSuSE.c: Read in WEP and WPA static
12719 2006-03-09 Dan Williams <dcbw@redhat.com>
12721 Track pending call requests in the applet, and report how many are
12722 outstanding, and how long each completed one takes.
12724 * gnome/applet/applet-dbus-devices.c
12725 gnome/applet/applet-dbus-vpn.c
12726 - Track pending calls
12728 * gnome/applet/applet-dbus.[ch]
12729 - Remove some unused enums
12730 - (nma_dbus_send_with_callback, nma_dbus_send_with_callback_replied):
12731 new functions to track dbus pending calls and spit out some
12732 statistics about them
12734 2006-03-09 Robert Love <rml@novell.com>
12736 * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Have the function
12737 nm_ap_set_timestamp() take the second and micro-second parameters as
12738 direct arguments, which avoids both a dynamic memory allocation and a
12739 structure-to-structure copy! Add a new interface, the aptly named
12740 nm_ap_set_timestamp_via_timestamp(), to set the timestamp from an
12741 existing GTimeVal, as nm_ap_set_timestamp() once did, for use with
12742 the return from nm_ap_get_timestamp(). New users should use the new
12743 nm_ap_set_timestamp(), not nm_ap_set_timestamp_via_timestamp(), for
12744 the extreme benefit to performance.
12745 * src/NetworkManagerAPList.c, src/nm-dbus-nmi.c,
12746 src/backends/NetworkManagerSuSE.c: Use the new functions as needed.
12748 2006-03-08 Robert Love <rml@novell.com>
12750 * gnome/applet/applet.glade: Hide the password entry text with
12753 2006-03-08 Robert Love <rml@novell.com>
12755 * src/NetworkManagerSystem.h, src/nm-device.c, NetworkManagerDebian.c,
12756 NetworkManagerRedHat.c, NetworkManagerGentoo.c,
12757 NetworkManagerSlackware.c: Pass nm_system_device_get_system_config()
12758 a second argument, NMData.
12759 * src/nm-ap-security.h, src/nm-ap-security.c: Export nm_ap_security_new.
12760 * src/backends/NetworkManagerSuSE.c: Add wireless networks from ifcfg-*
12761 config files as trusted.
12763 2006-03-06 Robert Love <rml@novell.com>
12765 * gnome/applet/Makefile.am: Define AUTOSTARTDIR.
12766 * gnome/applet/applet.c: Add 'Remove' option to the right click menu,
12767 to exit the applet. As a sweet side-effect, idea courtesy of Chris
12768 Rivera, detect if the applet was auto-started. If so, ask the user
12769 if he or she would like to stop automatically running the applet on
12770 login. If so, disable autostart.
12772 2006-03-06 Robert Love <rml@novell.com>
12774 * NetworkManager.pc.in: Provide an -I to the NetworkManager include
12775 directory in CFLAGS so developers can actually use NetworkManager.h.
12777 2006-03-06 Robert Love <rml@novell.com>
12779 * src/dhcp-manager/nm-dhcp-manager.c: Use preprocessor defines and not
12780 open-coded integer constants. Add state_to_string() to map a given
12781 state to a textual description, and provide that when notifying of
12783 * src/dhcp-manager/nm-dhcp-manager.h: Provide defines for the dhcdbd
12784 states, copied and cleaned up from dhcdbd.d. Ideally, we would use
12785 this header directly, but it is currently not installed on most
12788 2006-03-05 Dan Williams <dcbw@redhat.com>
12790 Process netlink messages in device subclasses rather than in
12791 NetworkManager.c. Also add support for recognizing Wireless Events.
12794 - Find GLIB_GENMARSHAL
12797 - Since we're marshalling custom types for wireless event signals,
12798 we get to create our own marshallers using GLIB_GENMARSHAL
12800 * src/NetworkManager.c
12801 - (nm_monitor_wired_link_state): renamed to nm_monitor_setup
12802 - (nm_monitor_setup): renamed from nm_monitor_wired_link_state, and
12803 cut down somewhat. We no longer process signals here.
12804 - (nm_data_new): create the netlink monitor here, and remove a
12805 useless call to nm_policy_schedule_device_change_check()
12806 - (nm_data_free): get rid of the netlink monitor here
12807 - (nm_device_link_activated, nm_device_link_deactivated): removed
12808 - (main): don't create the netlink monitor here, let nm_data_new
12809 do that. Call nm_policy_schedule_device_change_check() right
12810 before we jump to the mainloop to figure out which device
12813 * src/NetworkManagerSystem.[ch]
12814 - (nm_system_get_rtnl_index_from_iface, nm_system_get_iface_from_rtnl_index):
12815 convert back and forth from interface names to interface
12818 * src/nm-device-802-11-wireless.c
12819 - (real_init): connect to wireless-event signals from the netlink
12821 - (nm_device_802_11_wireless_event): new function, schedule handler
12822 for wireless event signals from the netlink monitor object. We
12823 want the handler to run in the device's context
12824 - (wireless_event_helper): handle wireless-event signals from netlink
12825 - (nm_device_802_11_wireless_dispose): disconnect wireless-event
12828 * src/nm-device-802-11-wireless.h
12829 - remove unused prototype for nm_device_802_11_wireless_new
12831 * src/nm-device-802-3-ethernet.c
12832 - (real_init): new function; set up signal handlers for link events
12833 - (nm_device_802_3_ethernet_link_activated): new function, schedule
12834 handler for netlink link activated events on device's main loop
12835 - (link_activated_helper): when we get a link activated event, set
12836 the device's link to be active
12837 - (nm_device_802_3_ethernet_link_deactivated): new function; schedule
12838 handler for netlink link deactivated events on device's main loop
12839 - (link_deactivated_helper): when we get a link deactivated event, set
12840 the device's link to be inactive
12841 - (nm_device_802_3_ethernet_dispose): disconnect signal handler on
12844 * src/nm-device-802-3-ethernet.h
12845 - remove unused prototype for nm_device_802_3_ethernet_new
12847 * src/nm-device.[ch]
12848 - (nm_get_device_by_iface_locked): variant of nm_get_device_by_iface
12849 but locks the device list
12850 - (nm_device_set_active_link): a little bit of cleanup and de-indenting
12852 * src/nm-netlink-monitor.[ch]
12853 - (nm_netlink_monitor_class_install_signals): New signal
12855 - (nm_netlink_monitor_new): keep reference to NMData so we can get
12857 - (nm_netlink_monitor_event_handler): expand for wireless events too
12859 * src/nm-marshal-main.c
12860 - Include generated nm-marshal.c and nm-marshal.h
12862 * src/nm-marshal.list
12863 - List of custom marshal functions
12865 2006-03-05 Dan Williams <dcbw@redhat.com>
12867 * gnome/applet/applet-notifications.h
12868 - Protect prototype of nma_send_event_notification() because it
12869 includes libnotify-specific types
12870 - Include libnotify/libnotify.h too, since we technically need it
12872 * gnome/applet/applet.c
12873 - (nma_show_vpn_failure_dialog): fix usage of g_return_if_fail
12874 - (nma_show_vpn_login_banner_dialog): add some error checking
12876 2006-03-04 Dan Williams <dcbw@redhat.com>
12878 Clean up activation cancellation. Should be a lot faster now. Observed
12879 an issue with wireless devices between stage 2 and 3 of activation, where
12880 activation would be cancelled, but the device thread wouldn't notice until
12881 the supplicant association timed out. Reorganize activation such that
12882 a cancellation handler gets immediately scheduled in the device's thread,
12883 and devices have a chance to perform any custom cleanup too.
12885 * src/nm-device.[ch]
12886 - (activation_cancel_handler): new device-type-specific function
12887 for cleaning up device-type-specific stuff on cancellation
12888 - (cancel_activation): removed
12889 - (nm_device_activation_cancel): subsume functionality of
12890 real_cancel_activation, but instead of doing anything, punt
12891 operation to a handler that's run in device-thread context
12892 - (nm_device_schedule_activation_handle_cancel): fix spelling of
12894 - (activation_handle_cancel_helper): cancellation handler run in
12895 device-thread context, calls device-type-specific cancelation,
12896 then tears down the activation request
12897 - (real_activation_cancel_handler): generic cancellation handler,
12898 deals with cancelling any in-process DHCP request
12899 - (nm_device_activate_stage1_device_prepare,
12900 nm_device_activate_stage2_device_config,
12901 nm_device_activate_stage3_ip_config_start,
12902 nm_device_activate_stage4_ip_config_get,
12903 nm_device_activate_stage4_ip_config_timeout,
12904 nm_device_activate_stage5_ip_commit): don't call
12905 nm_device_schedule_activation_handle_cancel() any more, since
12906 cancellation will have been already scheduled for us by
12907 nm_device_activation_cancel(). Just exit the function and
12908 assume that the cancel handler will be called next.
12910 * src/nm-device-802-3-ethernet.c
12911 - (real_act_stage2_config): remove; didn't do anything anyway
12913 * src/nm-device-802-11-wireless.c
12914 - (supplicant_status_cb): ensure we don't do anything if the activation
12916 - (real_activation_cancel_handler): implement; cancel user key request
12917 on activation cancellation
12919 2006-03-04 Dan Williams <dcbw@redhat.com>
12921 * src/nm-device-802-11-wireless.c
12922 - (supplicant_send_network_config): assume that drivers that don't
12923 support WPA pretty much suck, and can't handle NM scanning
12924 along with wpa_supplicant.
12926 2006-03-03 Robert Love <rml@novell.com>
12928 * configure.in: Bump version to 0.6.0.
12931 2006-03-03 Robert Love <rml@novell.com>
12933 * configure.in: Require DBUS 0.60 or later.
12935 2006-03-03 Dan Williams <dcbw@redhat.com>
12937 Fix a crash if an "Other wireless network" was chosen, failed, then
12938 chosen again from the applet's menu. If the other network wasn't
12939 noticed in a scan, it wouldn't have any capabilities, but would still
12940 be listed because the user forced the network. To fix this, we set
12941 sensible capabilities on the forced network, which will get overwritten
12942 with the correct ones if the network shows up later in a scan.
12944 * src/nm-ap-security.h
12945 - Add a new "get_default_capabilities_func" member to the
12948 * src/nm-ap-security.c
12949 - (nm_ap_security_get_default_capabilities): new function
12951 * src/nm-ap-security.c
12952 src/nm-ap-security-wep.c
12953 src/nm-ap-security-wpa-psk.c
12954 src/nm-ap-security-wpa-eap.c
12955 - Implement get_default_capabilities_func() for all, which
12956 uses the information contained in a specific NMAPSecurity
12957 object to determine default AP capabilites necessary
12958 to support that object
12960 As a secondary measure, we now prune artificial access points that fail
12961 to be activated right away. The thing failed, and we have no scan data for
12962 it, so it's pretty much useless since security information is only saved
12963 in the applets when a connection is successful.
12965 * src/NetworkManagerAPList.c
12966 - (nm_ap_list_merge_scanned_ap): mark any ap noticed in a scan
12967 not artificial. If we see it, it's no longer a figment of the
12968 user's imagination :)
12970 * src/NetworkManagerPolicy.c
12971 - (nm_policy_activation_failed): send along the failed AP if we
12974 * src/nm-device-802-11-wireless.c
12975 - (real_activation_failure_handler): remove artificial APs from
12976 the device list, because activation failed
12978 2006-03-02 Robert Love <rml@novell.com>
12980 Add support for retrieving both the per-device speed and the
12981 per-network maximum supported rate. Then change the getProperties
12982 DBUS API for both networks and devices to report this informaiton.
12983 Finally, display the information via both nm-applet and nm-tool:
12984 * gnome/applet/applet-dbus-devices.c: Grab the speed from getProperties
12986 * gnome/applet/applet.c: Display the device's speed in the 'Connection
12987 Information' dialog.
12988 * gnome/applet/applet.glade: Update the UI to show per-device speed.
12989 * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Add interfaces
12990 network_device_get_speed() and network_device_set_speed() for
12991 retrieving and setting, respectively, a network device's current
12993 * src/nm-dbus-device.c: Send the device's speed on getProperties.
12994 * src/nm-device-802-11-wireless.c: Return the rate in Mb/s, not Kb/s,
12995 in the function nm_device_802_11_wireless_get_bitrate() -- it does
12996 not matter (yet) what the units are, because we only feed it its own
12997 output. Implement SIOCGIRATE and set the per-network maximum
12998 supported rate during scanning.
12999 * src/nm-device-802-11-wireless.h: Export the function
13000 nm_device_802_11_wireless_get_bitrate().
13001 * src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h: Add
13002 function nm_device_802_3_ethernet_get_speed() for returning an
13003 802.3's current speed, in Mb/s.
13004 * test/nm-tool.c: Display the per-device current speed, if available,
13005 and the per-network maximum rate.
13007 2006-03-02 Dan Williams <dcbw@redhat.com>
13009 * src/nm-device-802-11-wireless.c
13010 - (nm_device_802_11_wireless_set_scan_interval): don't scan-spam the
13011 card when it gets initialized. Since devices don't get added to
13012 the scan list until they are initialized, this function wasn't
13013 setting the intitial scan interval correctly, and was leaving
13014 it at 0. This caused cards to get many scan requests in a short
13015 amount of time when they were initialized
13017 2006-03-02 Robert Love <rml@novell.com>
13019 * gnome/applet/applet.c: Do not set the pixbuf if we don't have an
13020 active device. But do not do what we used to do and override the
13021 state, which caused the dreaded icon race of '05.
13023 2006-03-02 Robert Love <rml@novell.com>
13025 Commit Dan's update of my previous commit:
13026 * src/nm-device-802-11-wireless.c: Always set the mode, because the
13027 set_mode() function itself does the check. But do only set the
13028 frequency if in Ad-Hoc mode.
13030 2006-03-02 Robert Love <rml@novell.com>
13032 Patch by Brian Magnuson <magnuson@rcn.com>:
13033 * src/nm-device-802-11-wireless.c: During scanning, only set the
13034 wireless mode to infrastructure if it is not currently in
13035 infrastructure mode. For some driver, setting the mode is a costly
13036 operation, apparently.
13038 2006-03-01 Rodrigo Moya <rodrigo@novell.com>
13040 * Makefile.am: use the correct dir for autostart mechanism.
13042 2006-02-28 Dan Williams <dcbw@redhat.com>
13044 Patch from Brian Magnuson <magnuson@rcn.com>
13045 * gnome/applet/applet.c
13046 - (nma_show_vpn_failure_dialog): fix errors left over from
13047 libnotify support changes
13049 2006-02-28 Dan Williams <dcbw@redhat.com>
13051 * src/vpn-manager/nm-vpn-act-request.[ch]
13052 - (nm_vpn_act_request_is_activated): don't use a switch/case for
13054 - (nm_vpn_act_request_is_failed): new function; return whether or
13055 not the vpn activation request has failed
13057 * src/vpn-manager/nm-vpn-manager.c
13058 - (nm_vpn_manager_deactivate_vpn_connection): tell the vpn service
13059 daemon to kill the connection when the activation request fails.
13060 Fixes issue where NM would get confused if the VPN activation
13061 request timed out, and would not allow further VPN connections
13064 2006-02-28 Dan Williams <dcbw@redhat.com>
13066 * gnome/applet/applet.c
13067 - (nma_menu_add_vpn_menu): until the NM VPN manager can deal with
13068 overlapping connection requests, disable all VPN menu items
13069 but the active VPN connection
13071 2006-02-28 Dan Williams <dcbw@redhat.com>
13073 * src/vpn-manager/nm-vpn-connection.c
13074 - (nm_vpn_connection_set_parent_device): fix C&P error which
13075 called g_object_unref() on the connection's parent device
13076 when it should have been ref-ed instead. Fixes crash with
13077 repeated vpn connect requests
13079 2006-02-28 Christopher Aillon <caillon@redhat.com>
13081 * gnome/applet/applet.glade:
13082 Mark a few strings non-translatable, since they shouldn't be.
13084 2006-02-28 Dan Williams <dcbw@redhat.com>
13086 * src/vpn-manager/nm-vpn-service.c
13087 - (nm_vpn_service_start_connection): if the vpn service daemon is
13088 already running, don't blindly ask it to connect, but wait until
13089 it's in the STOPPED state first. Fixes an assertion when user
13090 starts a second vpn connection without stopping the first.
13091 - (nm_vpn_service_stage2_daemon_wait): ensure the vpn service's
13092 dbus service exists before continuing with the connection
13093 process, and reduce latency while waiting for it to become
13095 - (nm_vpn_service_schedule_stage2_daemon_wait): reduce latency
13096 waiting for the vpn service daemon to become available
13097 - General log message cleanups; show progress via "Stage x of 4"
13098 rather than not telling anyone how many stages there are
13100 2006-02-28 Robert Love <rml@novell.com>
13102 * src/NetworkManagerSystem.h: Add nm_system_should_modify_resolv_conf.
13103 * src/backends/NetworkManagerSuSE.c: Implement the interface
13104 nm_system_should_modify_resolv_conf() for SUSE.
13105 * src/backends/NetworkManagerDebian.c,
13106 src/backends/NetworkManagerGentoo.c,
13107 src/backends/NetworkManagerRedHat.c,
13108 src/backends/NetworkManagerSlackware.c: Add stub.
13109 * src/named-manager/Makefile.am: Grab includes from src.
13110 * src/named-manager/nm-named-manager.c: Allow backends to disable the
13111 automatic updating of resolv.conf. This is useful for testing,
13112 broken static configurations, and administrator lock-down.
13114 2006-02-28 Dan Williams <dcbw@redhat.com>
13116 * src/nm-device-802-11-wireless.c
13117 - Move all the wpa_supplicant-related management stuff into its
13118 own struct, just for oranization's sake
13119 - (supplicant_exec): when exec-ing wpa_supplicant, connect its stdout
13120 to a GIOChannel/GSource
13121 - (supplicant_log_stdout): new function; grab output from the
13122 wpa_supplicant stdout pipe and write it to our logs.
13124 2006-02-27 Christopher Aillon <caillon@redhat.com>
13126 * src/nm-device-802-11-wireless.c:
13127 Err, fix thinko in my previous commit.
13129 2006-02-28 Robert Love <rml@novell.com>
13131 * gnome/applet/wso-wpa-eap.c: Fix misc. FIXME statements.
13133 2006-02-28 Robert Love <rml@novell.com>
13135 * libnm-util/dbus-helpers.c, src/nm-ap-security-wpa-eap.c,
13136 src/nm-ap-security-wpa-psk.c, gnome/applet/nm-gconf-wso-wpa-eap.c,
13137 gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXMEs: Callers of the DBUS
13138 deserializers are responsible for freeing the returned DBUS strings.
13140 2006-02-27 Christopher Aillon <caillon@redhat.com>
13142 * src/nm-device-802-11-wireless.c:
13143 The scan list is being pruned prematurely. We should prune after
13144 the device has gone MIA for three scans, not one. Split out the
13145 interval to realtime seconds function to better serve this.
13147 2006-02-27 Robert Love <rml@novell.com>
13149 * dispatcher-daemon/NetworkManagerDispatcher.c, src/NetworkManager.c:
13150 Open the pid file O_TRUNC, so if it already exists we truncate it to
13151 zero length. Also, be more verbose about warnings generated during
13152 writing out the pid file. Finally, always write out the pid file if
13153 in daemon mode. Use "--pid-file" to override the default.
13155 2006-02-27 Robert Love <rml@novell.com>
13157 Patch by R. Vinay <rvinay@novell.com>:
13158 * gnome/vpn-properties/nm-vpn-properties.c: Remove the gconf key
13159 'last_attempt_success' when removing a VPN connection, too. (Fixes
13160 Novell bug #153628).
13162 2006-02-27 Robert Love <rml@novell.com>
13164 * gnome/applet/applet.glade: Set "activates_default" on passphrase
13165 entry so user can hit <ENTER> after entering passphrase (Novell bug
13168 2006-02-27 Dan Williams <dcbw@redhat.com>
13171 - Mass search/replace of:
13173 NMWirelessApplet -> NMApplet
13174 NM_*_WIRELESS_APPLET -> NM_*_APPLET
13175 (it ain't just for wireless anymore, ma!)
13176 - Fix duplicate function name printing when using nm_warning
13177 - wireless-applet.glade -> applet.glade
13179 2006-02-27 Dan Williams <dcbw@redhat.com>
13181 * dispatcher-daemon/NetworkManagerDispatcher.c
13182 - Accept --pid-file with a path to a pidfile, write it out on
13183 startup, and delete it on shutdown
13185 * src/NetworkManager.c
13186 - Accept --pid-file with a path to a pidfile, write it out on
13187 startup, and delete it on shutdown
13188 - Move nm_print_usage() lower
13190 * initscripts/RedHat/NetworkManager.in
13191 - Use new --pid-file option
13192 - Fix service stopping to wait a bit for NM to quit
13194 * initscripts/RedHat/NetworkManagerDispatcher.in
13195 - Use new --pid-file option
13197 2006-02-26 Dan Williams <dcbw@redhat.com>
13200 - make and install nm-crash-logger
13202 * src/nm-logging.[ch]
13203 - New files; consolidate logging and crash handling
13205 * src/nm-crash-logger.c
13207 - Standalong crashlogger for NM, grab a backtrace
13210 * src/NetworkManager.[ch]
13211 - Remove signal handling and put it into nm-logging.c
13213 2006-02-26 Dan Williams <dcbw@redhat.com>
13216 gnome/applet/Makefile.am
13217 - Conditionalize all the notify stuff
13219 Merge most of Chris Aillon's notification patch:
13221 * gnome/applet/applet-notifications.[ch]
13222 - New files; show a notification
13224 * gnome/applet/applet-dbus-devices.[ch]
13225 - (nmwa_dbus_device_activated, nmwa_dbus_device_activated_cb,
13226 nmwa_dbus_device_deactivated, nmwa_dbus_device_deactivated_cb):
13227 new functions, do the right thing when a device change occurs
13229 * gnome/applet/applet-dbus.c
13230 - (nmwa_dbus_filter): Split out DeviceNowActive and DeviceNoLongerActive
13231 signals, so we can handle them specially
13233 * gnome/applet/applet.[ch]
13234 - nmwa_schedule_vpn_login_banner -> nmwa_show_vpn_login_banner
13235 - nmwa_schedule_vpn_failure_alert -> nmwa_show_vpn_failure_alert
13236 - (nmwa_notify_state): remove
13237 - (nmwa_update_state); remove call to nmwa_notify_state, since the
13238 notification work is now done when the appropriate dbus signals
13240 - (nmwa_show_vpn_login_banner, nmwa_show_vpn_failure_alert): don't
13241 defer execution of the notification/dialog stuff. That was an
13242 artifact of the previous multi-threaded nature of the applet
13243 and is now pointless.
13244 - (nmwa_notify_vpn_failure, nmwa_notify_vpn_login_banner): remove,
13245 no longer needed. Function folded into applet-notifications.c
13247 * src/NetworkManagerPolicy.c
13248 - (nm_policy_activation_finish): send the AP along with the device
13249 status change signal, if the connection is wireless. Should
13250 fix the race where applet would show a connection to "unknown"
13252 2006-02-25 Robert Love <rml@novell.com>
13254 Add WPA Enterprise support:
13255 * gnome/applet/Makefile.am: Build the files nm-gconf-wso-wpa-eap.c and
13256 nm-gconf-wso-wpa-eap.h.
13257 * gnome/applet/nm-gconf-wso-wpa-eap.c,
13258 gnome/applet/nm-gconf-wso-wpa-eap.h: Add WPA Enterprise Gconf
13259 serialization and deserialization.
13260 * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
13261 gnome/applet/wireless-security-option.c, gnome/applet/wso-wpa-psk.c,
13262 gnome/applet/wso-wpa-psk.h: Clean up, support new defines.
13263 * gnome/applet/wireless-applet.glade: Add UI for configurating security
13264 settings related to WPA Enterprise.
13265 * gnome/applet/wireless-security-manager.c: Invoke wso_wpa_eap_new() to
13266 instantiate WPA Enterprise wireless-security-option.
13267 * gnome/applet/wso-wpa-eap.c, gnome/applet/wso-wpa-eap.h: New files.
13268 Implement WPA Enterprise wireless-security-option object.
13269 * include/NetworkManager.h: Add new NM_AUTH_TYPE_* and NM_EAP_METHOD_*
13271 * libnm-util/cipher-wpa-psk-hex.c,
13272 libnm-util/cipher-wpa-psk-passphrase.c: Cleanup.
13273 * libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h: Add
13274 nmu_security_serialize_wpa_eap() to serialize input to DBUS method,
13275 nmu_security_serialize_wpa_eap_with_cipher() to serialize input
13276 including the cipher to DBUS method, and
13277 nmu_security_deserialize_wpa_eap() to deserialize from DBUS return
13279 * src/Makefile.am: Build the files nm-ap-security-wpa-eap.c and
13280 nm-ap-security-wpa-eap.h
13281 * src/NetworkManagerAP.c: Add NM_AUTH_TYPE_WPA_EAP to
13282 NM_802_11_CAP_KEY_MGMT_802_1X cipher to capability mapping.
13283 * src/nm-ap-security-wpa-eap.c, src/nm-ap-security-wpa-eap.h: New
13284 files. Implement NMAPSecurityWPA_EAP object.
13285 * src/nm-ap-security-wpa-psk.c: Cleanup.
13286 * src/nm-ap-security.c: Support NM_AUTH_TYPE_EAP cipher and instantiate
13287 an NMAPSecurityWPA_EAP object via the method
13288 nm_ap_security_wpa_eap_new_deserialize().
13289 * src/nm-dbus-nm.c: Cleanup.
13290 * test/nm-tool.c: Display "Enterprise" for wireless networks providing
13291 WPA Enterprise support.
13293 2006-02-24 Robert Love <rml@novell.com>
13295 Patch from Timo Hoenig <thoenig@suse.de>:
13296 * src/NetworkManagerDbus.c: Survive DBUS restarts like a champ.
13298 2006-02-24 Robert Love <rml@novell.com>
13300 Patch from Dan Winship <danw@novell.com>:
13301 * gnome/applet/eggtrayicon.c: Update EggTrayIcon code. Set the gdk
13302 area to transparent.
13304 2006-02-21 Dan Williams <dcbw@redhat.com>
13306 * gnome/applet/applet.[ch]
13307 gnome/applet/applet-dbus.c
13308 - Implement notification support for VPN messages too
13310 2006-02-21 Dan Williams <dcbw@redhat.com>
13312 * gnome/applet/applet-dbus-info.c
13313 - Clean up warning messages to not double-print the function
13315 2006-02-21 Dan Williams <dcbw@redhat.com>
13317 * gnome/applet/applet-compat.c
13318 - (convert_one_entry): accept entries without a key_type and
13319 convert them to unencrypted networks
13321 2006-02-21 Dan Williams <dcbw@redhat.com>
13323 * gnome/libnm_glib/libnm_glib.c
13324 - Use __func__ everywhere we can
13326 - Use dbus pending calls rather than blocking
13327 - Reduce busywaits for our thread to start and stop
13328 (gnome.org #330562)
13329 - (libnm_glib_dbus_init): Use dbus_bus_get_private() so we don't
13330 stomp on others using the default shared dbus connection.
13331 Fixes #rh177546# and gnome.org #326572
13333 2006-02-21 Dan Williams <dcbw@redhat.com>
13335 Patch from Rodney Dawes <dobey@novell.com>
13337 gnome/applet/Makefile.am
13338 gnome/applet/applet.c
13339 - Add libnotify support if '--enable-notify=yes' is passed
13342 2006-02-16 Kang Jeong-Hee <keizie@gmail.com>
13344 * configure.in (ALL_LINGUAS): ko added. (Korean)
13346 2006-02-15 Robert Love <rml@novell.com>
13348 * src/nm-device-802-11-wireless.c: Use LOCALSTATEDIR preprocessor
13349 define, not an open-coded "/var", for WPA_SUPPLICANT_GLOBAL_SOCKET
13350 and WPA_SUPPLICANT_CONTROL_SOCKET.
13352 2006-02-15 Robert Love <rml@novell.com>
13354 * src/nm-device-802-11-wireless.c, src/nm-device.c: When printing debug
13355 information about what connection stage we are at, provide the total
13356 number of stages, e.g. "Stage 2 of 5", so users know how far along
13357 they are if they experience problems.
13359 2006-02-15 Robert Love <rml@novell.com>
13361 * gnome/vpn-properties/Makefile.am: Define SYSCONFDIR preprocessor
13362 define to $sysconfdir.
13363 * gnome/vpn-properties/nm-vpn-properties.c: Make sure we hide the VPN
13364 editing dialog, vpn_edit_widget, which fixes a bug where editing one
13365 type of VPN and then editing another results in a mangled dialog
13366 box containing the widgets from both VPNs (fixes Novell #150854).
13367 Also, some misc. cleanup and use SYSCONFDIR not open coded directory.
13369 2006-02-14 Robert Love <rml@novell.com>
13371 * src/NetworkManager.c: Call closelog() on daemon shutdown to close
13372 syslog's file descriptor.
13374 2006-02-14 Robert Love <rml@novell.com>
13376 Fix bug around since the change to "deal with APs changing settings on
13377 us," checked in on the fifth of February in the year of the dog,
13378 wherein connecting to non-broadcast encrypted networks always fails
13379 because nm_ap_get_encrypted() always returns FALSE, even when the user
13380 provided a key, because the newly-created fake AP does not have any
13381 capabilities set, which is a sypmtom of security settings not matching
13382 capabilities (Novell bug #150784):
13383 * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Add new interface,
13384 nm_ap_add_capabilities_from_security(), which sets the given AP's
13385 capabilities off the given security settings. Also improve our
13386 handling of capabilities w.r.t. NM_802_11_CAP_PROTO_NONE and
13387 NM_AUTH_CIPHER_AUTO.
13388 * src/nm-device-802-11-wireless.c: Call the function
13389 nm_ap_add_capabilities_from_security() to ensure that capabilities
13390 match newly updated security settings.
13392 2006-02-14 Robert Love <rml@novell.com>
13394 * src/nm-device-802-11-wireless.c: Clean up nm_warning calls: Print the
13395 error as a string, not an integer, if possible; do not print the
13396 function name twice; always give the interface, if possible; misc.
13399 2006-02-12 Dan Williams <dcbw@redhat.com>
13401 Patch from Tom Parker <palfrey@tevp.net>
13402 * src/NetworkManagerSystem.h
13403 - Remove prototype for nm_system_device_setup_static_ip4_config(),
13406 * src/backends/NetworkManagerDebian.c
13407 - Remove some dead code (nm_system_device_setup_static_ip4_config) and
13410 2006-02-12 Dan Williams <dcbw@redhat.com>
13412 * vpn-daemons/openvpn/intltool-extract.in
13413 vpn-daemons/openvpn/intltool-merge.in
13414 vpn-daemons/openvpn/intltool-update.in
13415 vpn-daemons/pptp/intltool-extract.in
13416 vpn-daemons/pptp/intltool-merge.in
13417 vpn-daemons/pptp/intltool-update.in
13418 - Remove from CVS, they should get created by intltoolize,
13421 2006-02-12 Dan Williams <dcbw@redhat.com>
13423 * vpn-daemons/pptp/src/pppd/patchlevel.h
13424 * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
13425 - Rename VERSION -> PPPD_VERSION to avoid conflict with the
13426 Makefile-defined VERSION
13428 2006-02-09 Dan Williams <dcbw@redhat.com>
13430 Patch from: Vinay A R <rvinay@novell.com>
13431 * src/vpn-manager/nm-vpn-act-request.[ch]
13432 - Added 'routes' and 'routes_count' to struct NMVPNActRequest since
13433 IPSec VPNs require them for std gateway.
13434 - (nm_vpn_act_request_new): takes arguments for 'user_routes'
13435 and 'user_routes_count'
13436 - (nm_vpn_act_request_get_user_routes): new function; gets user
13437 defined routes from NMVPNActRequest object, returns the string
13440 * src/vpn-manager/nm-vpn-manager.[ch]
13441 - (nm_vpn_manager_activate_vpn_connection): take additional arguments
13442 for 'user_routes' and 'user_routes_count'
13444 * src/vpn-manager/nm-dbus-vpn.c
13445 - (nm_dbus_vpn_activate_connection): gets 'user_routes' from
13446 nm_dbus_vpn_get_routes() to pass to nm_vpn_manager_activate_vpn_connection()
13448 * src/vpn-manager/nm-vpn-service.c
13449 - (nm_vpn_service_stage3_connect): pass user routes over dbus to
13452 Modifications by Dan:
13453 * src/vpn-manager/nm-vpn-service.c
13454 - (nm_vpn_service_stage3_connect): ensure that we don't pass NULL string
13457 * vpn-daemons/vpnc/src/nm-vpnc-service.c
13458 * vpn-daemons/pptp/src/nm-pptp-service.c
13459 * vpn-daemons/openvpn/src/nm-openvpn-service.c
13460 - Grab user routes from dbus message
13461 - Free all string arrays we got from dbus
13463 2006-02-07 Robert Love <rml@novell.com>
13465 Patch by Stefan Seyfried <seife@suse.de>:
13466 * libnm-util/cipher.c: Fix off-by-one error in cipher_bin2hexstr.
13468 2006-02-06 Robert Love <rml@novell.com>
13470 * src/nm-device-802-11-wireless.c: Fix leak in supplicant_status_cb().
13472 2006-02-06 Robert Love <rml@novell.com>
13474 * src/NetworkManagerUtils.c: kill_newline(): 'l' is unsigned so the
13475 test ">=" is never false. If no newline is found, we loop forever.
13476 We can just check for ">" because the following if() will see the
13477 zero-th argument if the while() gets that far.
13479 2006-02-05 Dan Williams <dcbw@redhat.com>
13481 Refine handling of non-broadcast networks.
13483 * src/NetworkManagerAPList.c
13484 - (nm_ap_list_merge_scanned_ap): unconditionally copy the 'broadcast'
13485 property from scanned AP to the AP from the device list
13487 * src/nm-device-802-11-wireless.c
13488 - (supplicant_send_network_config): use ap_scan=1 for all networks
13489 except non-SSID-broadcasting and Ad-Hoc networks. Use
13490 ap_scan=2 for those. Also, don't set scan_ssid for Ad-Hoc
13491 networks since those don't have APs.
13492 - (add_new_ap_to_device_list): if there's no valid SSID, mark the
13493 AP as non-SSID-broadcasting
13494 - (process_scan_results): don't handle non-SSID-broadcasting here
13496 2006-02-05 Dan Williams <dcbw@redhat.com>
13498 * src/nm-device-802-11-wireless.c
13499 - (get_supplicant_timeout): new function; return
13500 NM_SUPPLICANT_TIMEOUT * 2 for cards that support more than
13501 14 channels. These are likely a/b/g cards, like Atheros, and
13502 slow as hell to scan.
13503 - (supplicant_timeout_cb, supplicant_monitor_start): use
13504 get_supplicant_timeout()
13506 2006-02-05 Dan Williams <dcbw@redhat.com>
13508 * src/dhcp-manager/nm-dhcp-manager.c
13509 - Loose a commit race with Robert; make sure size check
13510 uses size of DHCP_SERVICE_LEN, not hardcoded 15
13512 2006-02-05 Robert Love <rml@novell.com>
13514 Patch by Christoph Brill <chrisbrill@gmx.net>:
13515 * src/dhcp-manager/nm-dhcp-manager.c: Replace two open coded defines
13516 with DHCP_SERVICE_NAME.
13518 2006-02-05 Dan Williams <dcbw@redhat.com>
13520 Remove anything having to do with device_setup_func from the
13521 AP security objects, since it's no longer used.
13523 * src/nm-ap-security.h
13524 - Kill device_setup_func and nm_ap_security_device_setup()
13526 * src/nm-ap-security-wep.c
13527 src/nm-ap-security-wpa-psk.c
13528 - (real_device_setup): remove
13530 * src/nm-ap-security.c
13531 - (real_device_setup): remove
13532 - (nm_ap_security_device_setup): remove
13534 * src/nm-device-802-11-wireless.[ch]
13535 - (nm_device_802_11_wireless_set_wep_enc_key): make static
13536 - (set_wireless_config, wireless_configure_adhoc): remove; unused
13537 and done by wpa_supplicant now anyway
13539 2006-02-05 Dan Williams <dcbw@redhat.com>
13541 * src/nm-device-802-11-wireless.c
13542 - (ap_need_key, real_act_stage2_config): deal with APs changing
13543 settings on us. Previously NM would loop asking for the
13544 key but getting the same one back. Now, if the NMI-supplied
13545 cipher doesn't overlap with the scanned AP capabilities,
13546 we request a completely new key from the user.
13548 2006-02-05 Dan Williams <dcbw@redhat.com>
13550 * src/NetworkManagerUtils.c
13551 - (nm_utils_supplicant_request_with_check, nm_utils_supplicant_request):
13552 Handle newline killing better
13554 2006-02-05 Dan Williams <dcbw@redhat.com>
13556 * gnome/applet/nm-gconf-wso.c
13557 - (real_serialize_dbus): return TRUE, not 0. Fixes serialization
13558 of unencrypted access point security info.
13560 2006-02-03 Robert Love <rml@novell.com>
13562 * src/NetworkManagerUtils.c: Even for debugging, we should not log the
13563 user's encryption key, so we print the err_msg_cmd not the command,
13564 if available. So long as SUPPLICANT_DEBUG is default, this makes
13567 2006-02-03 Christopher Aillon <caillon@redhat.com>
13569 * initscript/RedHat/NetworkManagerDispatcher.in:
13570 * initscript/RedHat/NetworkManager.in: modify the pidfile location
13571 Patch from Dan Walsh <dwalsh@redhat.com>
13573 2006-02-03 Robert Love <rml@novell.com>
13575 * dispatcher-daemon/NetworkManagerDispatcher.c,
13576 dispatcher-daemon/Makefile.am: Don't hardcode the location of /etc
13577 but use the sysconfdir.
13579 2006-02-03 Robert Love <rml@novell.com>
13581 * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h:
13582 Make nm_device_802_11_wireless_get_essid() return 'const char *' not
13584 * src/nm-ip4-config.c, src/nm-ip4-config.h: Make the functions
13585 nm_ip4_config_get_hostname() and
13586 nm_ip4_config_get_nis_domain() return 'const char *' not 'char *'.
13587 * src/backends/NetworkManagerSuSE.c: Fix up for above. Also, do not
13588 leak g_strdup() result.
13590 2006-02-03 Robert Love <rml@novell.com>
13592 * src/NetworkManagerAP.c: In nm_ap_new(), default new networks to
13593 broadcast == TRUE. Also, copy broadcast and artificial properties
13594 from source network to destination in nm_ap_copy().
13595 * src/nm-device-802-11-wireless.c: Don't set broadcast flag to TRUE,
13596 since we now default new networks to non-hidden.
13598 2006-02-03 Dan Williams <dcbw@redhat.com>
13600 * gnome/applet/main.c
13601 - (main): change the NEVER->ALWAYS so we start at the
13602 beginning of the session, if being session-managed
13604 2006-02-03 Dan Williams <dcbw@redhat.com>
13606 * gnome/applet/main.c
13607 - (main): in a variation on Robert's patch, change
13608 RESTART_IMMEDIATELY -> RESTART_NEVER. Should do what
13611 2006-02-02 Robert Love <rml@novell.com>
13613 * src/Makefile.am: If we aren't going to create the run directory at,
13614 uh, run-time, create it during install. Then users just doing
13615 'make install' are cool, too. While we are here, create the
13616 dispatcher.d directory, too.
13617 * src/nm-device-802-11-wireless.c: Let the Makefile define and pass in
13618 the exact run directory.
13619 * Makefile.am: Install nm-applet.desktop.
13621 2006-02-02 Robert Love <rml@novell.com>
13623 * src/NetworkManagerAP.c: Add 'broadcast' property to the NMAccessPoint
13624 structure, which denotes whether or not the AP is hidden. This is a
13625 superset of 'artificial' -- we need 'broadcast' because a hidden AP
13626 can show up in the scan list. Add nm_ap_get_broadcast() and
13627 nm_ap_set_broadcast() accessor interfaces.
13628 * src/NetworkManagerAP.h: Add prototypes for nm_ap_get_broadcast() and
13629 nm_ap_set_broadcast().
13630 * src/nm-dbus-net.c: Add new argument, boolean broadcast, to the
13631 "getProperties" method, which denotes whether or not the given
13633 * src/nm-device-802-11-wireless.c: Set broadcast to FALSE when creating
13634 an artificial network. Set broadcast to TRUE when scanning returns
13635 an ESSID and FALSE when not.
13636 * gnome/applet/applet-dbus-devices.c: Retrieve 'broadcast' argument
13637 from "getProperties" method on a network. Possible TODO is to
13638 somehow display this.
13639 * test/nm-tool.c: Display "Hidden" if the AP does not broadcast.
13641 2006-02-02 Dan Williams <dcbw@redhat.com>
13643 * src/nm-device-802-11-wireless.c
13644 - (supplicant_interface_init): don't try to create
13645 /var/run/NetworkManager, since that should be done by
13646 the distro package. Causes problems for stuff like SELinux
13648 2006-02-02 Robert Love <rml@novell.com>
13650 Patch by Sureshkumar T <tsureshkumar@novell.com>:
13651 * src/vpn-manager/nm-vpn-connection.c, src/NetworkManagerSystem.c:
13652 Check for and handle empty string for iface.
13654 2006-02-01 Robert Love <rml@novell.com>
13656 * configure.in, man/nm-tool.1.in, man/Makefile.am: Add nm-tool(1)
13659 2006-01-31 Dan Williams <dcbw@redhat.com>
13661 * nm-applet.desktop
13662 - Add --sm-disable to Exec arguments, presuming that when
13663 using autostart, we don't want session management
13665 2006-01-31 Robert Love <rml@novell.com>
13667 * src/NetworkManagerAP.c: Add two new manufacturer default network
13668 names: linksys-a and linksys-g. These are found (at least) on the
13669 Linksys WAP55AG, which does both 802.11a and 802.11b, each with their
13672 2006-01-31 Robert Love <rml@novell.com>
13674 * src/NetworkManagerAP.c: Optimize the function
13675 nm_ap_has_manufacturer_default_essid(). I did not like its resulting
13676 machine code. This is the first in a series of code tweaks aiming to
13677 generate better machine code and make NetworkManager all the better.
13678 Just kidding. Who has time to go through the assembly generated for
13679 every function? I certainly don't. I have a wife, a kid, a job,
13680 a mortgage, a mistress. But this function was so bad, I was called
13681 to arms. Like the book.
13683 2006-01-31 Robert Love <rml@novell.com>
13685 * src/nm-device-802-11-wireless.c: Set "scan_ssid 1" if the requested
13686 AP is not broadcasting, to scan with probe request frames. Required
13687 for non-broadcast networks.
13689 2006-01-31 Robert Love <rml@novell.com>
13691 * src/nm-device-802-11-wireless.c: Make the wpa_supplicant a
13692 preprocessor define (still 20s). Fix message text in nm_info()
13693 s/too too/took too/.
13695 2006-01-30 Dan Williams <dcbw@redhat.com>
13697 * src/nm-device-802-11-wireless.c
13698 - (supplicant_monitor_start): increase connect/auth timeout to
13699 20 seconds from 10 seconds
13701 2006-01-30 Dan Williams <dcbw@redhat.com>
13704 - Define LOCALSTATEDIR
13706 * src/nm-device-802-11-wireless.c
13707 - (supplicant_exec): tell wpa_ctrl_open() to stick the local control
13708 socket where we want it to
13710 * src/wpa_ctrl.[ch]
13711 - (wpa_ctrl_open): accept location to put local control socket
13713 2006-01-30 Robert Love <rml@novell.com>
13715 * src/dhcp-manager/nm-dhcp-manager.c: Pass TRUE for ignore_error in
13716 get_ip4_string() for "domain_name".
13718 2006-01-30 Robert Love <rml@novell.com>
13720 * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
13721 gnome/applet/wireless-security-option.c, include/NetworkManager.h,
13722 libnm-util/cipher-wpa-psk-hex.c, src/nm-ap-security-wpa-psk.c,
13723 libnm-util/cipher-wpa-psk-passphrase.c, src/nm-ap-security.c: Add
13724 support for "Automatic" pairwise and group cipher configuration by
13725 letting wpa_supplicant handle the details. Add UI elements, new
13726 cipher type NM_AUTH_CIPHER_AUTO, and backend support. Works like a
13727 charm. Note this does more than add a nice feature, it fixes a bug.
13728 Apparently, some people have AP's where the pairwise cipher does not
13729 match the group cipher. Insane, but true.
13731 2006-01-30 Dan Williams <dcbw@redhat.com>
13733 * gnome/applet/applet-dbus-devices.c
13734 - (nmwa_dbus_device_get_driver_cb, nmwa_dbus_device_get_driver): new
13735 functions, grab device driver name from NetworkManager
13736 - (nmwa_dbus_device_properties_cb): call functions to get driver
13738 * gnome/applet/applet.c
13739 - (nmwa_update_info): show driver name in Connection Information
13742 * gnome/applet/nm-device.[ch]
13743 - (network_device_get_driver, network_device_set_driver): add
13744 accessors for driver name
13746 * gnome/applet/wireless-applet.glade
13747 - Add line for driver name to Connection Information dialog
13749 * src/nm-dbus-device.c
13750 - (nm_dbus_device_get_driver): new function to return driver name
13751 - (nm_dbus_device_methods): hook up driver name function to dbus
13754 - (get_driver_name): new function
13755 - (detail_device): grab and show driver name
13757 2006-01-30 Robert Love <rml@novell.com>
13759 * gnome/applet/applet.c: Apparently gtk_message_dialog_new_with_markup
13760 does not parse the markup if it is not part of the format.
13762 2006-01-30 Robert Love <rml@novell.com>
13764 * gnome/applet/passphrase-dialog.c: If wsm_set_capabilities() returns
13765 FALSE, we have no security options for this dialog, so we throw up
13766 an error dialog instead of a broken passphrase dialog. Fixes
13768 * gnome/applet/wireless-security-manager.c,
13769 gnome/applet/wireless-security-manager.h: If wsm_set_capabilities()
13770 does not add any security options, not even NONE, print a warning
13771 and return FALSE. This let's functions constructing a dialog bail
13772 out if the device's capabilities and the network's requirements have
13775 2006-01-27 Robert Love <rml@novell.com>
13777 * configure.in: Require wpa_supplicant. Detect location of binary and
13778 use it. Override with "--with-wpa_supplicant=foo".
13779 * src/Makefile.am, src/nm-device-802-11-wireless.c: Do not hardcode the
13780 path to wpa_supplicant but use the auto-detected or user-provided
13781 value from configure.
13783 2006-01-27 Robert Love <rml@novell.com>
13785 * src/backends/NetworkManagerSuSE.c: If DHCLIENT_SET_HOSTNAME is set
13786 but the DHCP server did not return a hostname, try to look up our
13787 name via DNS and set the system hostname to that.
13789 2006-01-27 Dan Williams <dcbw@redhat.com>
13791 * src/backends/NetworkManagerRedHat.c
13792 - Add NM_CONTROLLED system network script support for RH/Fedora
13794 2006-01-27 Dan Williams <dcbw@redhat.com>
13796 * src/backends/NetworkManagerGentoo.c
13797 - (nm_system_device_get_disabled): add missing function.
13800 2006-01-27 Clytie Siddall <clytie@riverland.net.au>
13802 * configure.in: Added vi in ALL_LINGUAS line.
13804 2006-01-26 Robert Love <rml@novell.com>
13806 * src/Makefile.am, src/kernel-types.h: Now that two different source
13807 files are feeling the crack-addled leakage of kernel types such as
13808 u32 and s8 -- superior to __u64 and __u8, to be sure, but not valid
13809 types in user-space -- define a header and include it as needed.
13810 * src/nm-device-802-3-ethernet.c: Include kernel-types.h
13811 * src/nm-device-802-3-ethernet.h: Remove defines.
13812 * src/wpa.c: Remove defines and include kernel-types.h.
13814 2006-01-26 Robert Love <rml@novell.com>
13816 * TODO: Update. WPA support is in the bag and HAL restarts (should)
13819 2006-01-26 Robert Love <rml@novell.com>
13821 * configure.in: Change '-Wno-unused' to '-Wno-unused-parameter'
13822 * gnome/applet/applet-compat.c, gnome/applet/applet-dbus-devices.c,
13823 gnome/applet/applet-dbus-info.c, gnome/applet/applet-dbus.c,
13824 gnome/applet/applet.c, gnome/applet/applet.h, src/nm-dbus-device.c,
13825 gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
13826 gnome/applet/nm-gconf-wso.c, gnome/applet/nm-gconf-wso.h,
13827 gnome/applet/other-network-dialog.c, src/nm-device.c, test/nm-tool.c,
13828 gnome/applet/passphrase-dialog.c, src/nm-device-802-11-wireless.c,
13829 gnome/applet/wireless-security-manager.c, src/nm-ip4-config.c,
13830 gnome/applet/wireless-security-option.c, src/nm-ap-security.c,
13831 gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
13832 gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-psk.c,
13833 libnm-util/dbus-helpers.c, src/NetworkManagerAP.c, src/nm-dbus-nmi.c,
13834 src/NetworkManagerSystem.c, src/nm-ap-security-wep.c,
13835 src/nm-device-802-11-wireless.h, test/libnm-util/test-ciphers.c,
13836 src/named-manager/nm-named-manager.c, test/test-common/test-common.c:
13837 Kill unused variables, labels, and static functions. Don't pass
13838 string literals as the format string for printf-like functions.
13840 2006-01-25 Dan Williams <dcbw@redhat.com>
13842 * gnome/applet/wireless-applet.glade
13843 - Remove WPA2 Checkbox
13845 * gnome/applet/wireless-security-manager.c
13846 - (wsm_set_capabilities): split up sections for wpa and wpa2.
13847 This means the Wireless Security menu now has two WPA options,
13848 one for "WPA Personal" and one for "WPA2 Personal"
13850 * gnome/applet/wso-wpa-psk.[ch]
13851 - (wso_wpa_psk_new): remove stuff for WPA2 checkbox, and use
13852 'wpa2' argument to determine WPA version to use
13853 - (append_dbus_params_func): pass stored WPA version to cipher
13854 rather than using the (removed) checkbox
13856 2006-01-24 Robert Love <rml@novell.com>
13858 * src/dhcp-manager/nm-dhcp-manager.c: Null-out the original byte array
13859 before we g_strdup(), not the ultimate string.
13861 2006-01-23 Dan Williams <dcbw@redhat.com>
13863 * src/NetworkManagerAP.[ch]
13864 - (nm_ap_new_from_ap): copy original essid too
13865 - (nm_ap_unref): free original essid
13866 - (nm_ap_get_orig_essid): new function
13867 - (nm_ap_set_essid): Convert essid to UTF-8 for display and dbus,
13868 but keep original essid around too
13870 * src/nm-device-802-11-wireless.c
13871 - (supplicant_send_network_config): send wpa_supplicant the
13872 _original_ essid, and not as a string, but in hex. Should
13873 allow us to connect to more APs that use wierd character
13874 encodings for their essids
13876 * utils/nm-utils.[ch]
13877 - (nm_utils_essid_to_utf8): make a best-effort to convert the essid
13878 to UTF-8. If it's not already valid UTF-8, we check LANG and
13879 use the current locale as a hint for what encoding the essid
13880 might be in. Obviously not 100% accurate, but the idea here is
13881 that if a user's locale is ex. ja_JP, they are more likely than
13882 not to be in Japan, where access points will likely be in some
13885 2006-01-23 Dan Williams <dcbw@redhat.com>
13887 * libnm-util/cipher-private.h
13888 libnm-util/cipher.c
13889 libnm-util/cipher.h
13890 - (cipher_bin2hexstr, cipher_hexstr2bin): make public
13892 2006-01-23 Robert Love <rml@novell.com>
13894 Patch by Timo Hoenig <thoenig@suse.de>:
13895 * dhcp-manager/nm-dhcp-manager.c, nm-device.c, nm-ip4-config.c,
13896 nm-ip4-config.h, NetworkManagerSystem.h: Save the hostname reported
13897 by DHCP and pass it to the backends, allowing distribution-specific
13898 behavior with respect to the DHCP-supplied hostname (if nothing else,
13899 some distributions might not want to set the hostname).
13900 * backends/NetworkManagerSuSE.c: Set the hostname if the variable
13901 DHCLIENT_SET_HOSTNAME is set to "yes" in /etc/sysconfig/network/dhcp.
13902 Also update our NIS behavior.
13903 * backends/NetworkManagerDebian.c, backends/NetworkManagerGentoo.c,
13904 backends/NetworkManagerRedHat.c, backends/NetworkManagerSlackware.c:
13905 Add stub functions.
13907 2006-01-23 Robert Love <rml@novell.com>
13909 * Makefile.am, nm-applet.desktop: Add autostart .desktop file, now that
13910 gnome-session does autostart. TODO: We need to install this to
13911 $prefix/share/autostart/.
13913 2006-01-22 Dan Williams <dcbw@redhat.com>
13915 * src/NetworkManagerAP.[ch]
13917 src/nm-device-802-11-wireless.c
13918 - Make nm_ap_get_essid return "const char *"
13920 2006-01-22 Dan Williams <dcbw@redhat.com>
13922 * src/NetworkManagerAP.[ch]
13923 - (nm_ap_get_matched, nm_ap_set_matched): remove
13925 * src/NetworkManagerAPList.[ch]
13926 - (nm_ap_list_diff): removed
13927 - (nm_ap_list_merge_scanned_ap): move AP dbus signal logic here,
13928 deal with access points changing essids on us
13930 * src/nm-device-802-11-wireless.c
13931 - (add_new_ap_to_device_list): move AP dbus signal logic to
13932 src/NetworkManagerAPList.c
13933 - (real_can_interrupt_activation): new function; allow interruption
13934 of device activation if we are waiting for a network key
13936 * src/NetworkManagerPolicy.c
13937 - (nm_policy_device_change_check): allow interruption of currently
13938 activating devices if the device allows it. Previous behavior
13939 would refuse to activate a just-plugged wired device if a
13940 wireless device was waiting for a key.
13942 * src/nm-device.[ch]
13943 - (nm_device_can_interrupt_activation): new function; ask devices
13944 whether their activation can be interrupted
13946 2006-01-20 Robert Love <rml@novell.com>
13948 * Makefile.am, configure.in: Add new man subdirectory.
13949 * man, man/NetworkManager.1.in, man/NetworkManagerDispatcher.1.in,
13950 man/Makefile.am: Add man pages for NetworkManager and its
13951 crime-solving bumbling buddy, NetworkManagerDispatcher.
13952 * man/.cvsignore: Add.
13953 * initscript/Debian/NetworkManager,
13954 initscript/Gentoo/NetworkManager.in,
13955 initscript/RedHat/NetworkManager.in,
13956 initscript/RedHat/NetworkManagerDispatcher.in,
13957 initscript/SUSE/networkmanager-dispatcher.in,
13958 initscript/SUSE/networkmanager.in: Update for /usr/sbin not /usr/bin.
13960 2006-01-20 Robert Love <rml@novell.com>
13962 * src/NetworkManagerDbus.c: Fail if NM's DBUS service is already taken,
13963 instead of queuing. This prevents the running of multiple NM
13964 daemons concurrently, which does not work whatsoever and results in
13965 neither daemon working correctly. Also, we don't handle queuing and
13966 name-owner-changes, anyhow.
13968 2006-01-20 Robert Love <rml@novell.com>
13970 * src/Makefile.am: Install the NetworkManager daemon to sbin, not bin.
13971 * dispatcher/Makefile.am: Install the NetworkManagerDispatcher daemon
13974 2006-01-19 Robert Love <rml@novell.com>
13976 * configure.in: Require hal 0.5.0 or later.
13978 2006-01-18 Robert Love <rml@novell.com>
13980 * src/NetworkManager.c, src/NetworkManagerSystem.h, src/nm-device.c:
13981 Allow backends to flag a device (in whatever distro-dependent way
13982 they so desire) as disabled. NM will ignore any such device.
13983 * src/backends/NetworkManagerDebian.c,
13984 src/backends/NetworkManagerRedHat.c,
13985 src/backends/NetworkManagerSlackware.c: Add stub function
13986 nm_system_device_get_disabled() that always returns FALSE (enabled).
13987 * src/backends/NetworkManagerSuSE.c: Add system_disabled field to the
13988 SUSE-specific configuration structure. Fill it in from the
13989 NM_CONTROLLED variable in the system networking scripts. If this var
13990 exists and is "no", we ignore the device.
13992 2006-01-17 Robert Love <rml@novell.com>
13994 * configure.in: Remove 'no' language. Replaced by 'nb', which is
13995 identical for NM. For a full discussion, see the thread at
13996 http://mail.gnome.org/archives/gnome-i18n/2004-August/msg00006.html.
13998 2006-01-17 Dan Williams <dcbw@redhat.com>
14001 - (nm_device_class_init): connect a default act_stage4_ip_config_timeout
14002 function. Fixes crash when wired DHCP fails.
14004 2006-01-16 Robert Love <rml@novell.com>
14006 * src/Makefile.am: Don't install NMLoadModules
14007 * src/NMLoadModules, test/NMLoadModules: Move the NMLoadModules script
14008 from src/ to test/ as no one uses it anymore. Note that I would be
14009 fine with removing it altogether.
14011 2006-01-16 Robert Love <rml@novell.com>
14013 * gnome/applet/eggtrayicon.c, src/nm-device.c, src/nm-ap-security.c,
14014 gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
14015 gnome/applet/nm-gconf-wso.c, src/nm-device-802-3-ethernet.c,
14016 gnome/vpn-properties/nm-vpn-properties.c, src/nm-ap-security-wep.c,
14017 src/nm-ap-security-wpa-psk.c, src/nm-device-802-11-wireless.c,
14018 src/nm-netlink-monitor.c: Don't miss any initializers on structure
14019 declarations, ever.
14020 * gnome/applet/applet.c: Remove useless check (NMState is unsigned and
14021 NM_STATE_DISCONNECTED is zero).
14023 2006-01-16 Robert Love <rml@novell.com>
14025 * src/nm-device-802-11-wireless.c: argv[3], not argv[4]. Fix
14026 uninitialized parameter and buffer overflow. Novell #143496.
14028 2006-01-16 Dan Williams <dcbw@redhat.com>
14030 Apply the PtP Address bits of a patch from Tim Niemueller
14032 * src/nm-ip4-config.[ch]
14033 - Add ip4_ptp_address member to object
14034 - (nm_ip4_config_copy): copy ptp address too
14035 - (nm_ip4_config_get_ptp_address, nm_ip4_config_set_ptp_address):
14037 - (nm_ip4_config_to_rtnl_addr): use ptp address when asked to,
14038 rather than local tunnel ip address
14040 * src/vpn-manager/nm-vpn-service.c
14041 - (print_vpn_config): update for PtP address
14042 - (nm_vpn_service_stage4_ip_config_get): switch parsing to
14043 DBusMessageIters in preparation for getting routes from the VPN
14044 service daemons too
14046 * vpn-daemons/openvpn/src/nm-openvpn-service-openvpn-helper.c
14047 - (send_config_info): update for PtP address, clean up code
14048 - (main): update for PtP address, clean up code, fix typo
14050 * vpn-daemons/openvpn/src/nm-openvpn-service.c
14051 - (nm_openvpn_dbus_process_helper_ip4_config): update for PtP address
14053 * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
14054 - (pptp_ip_up): update for PtP address
14056 * vpn-daemons/pptp/src/nm-pptp-service.c
14057 - (nm_pptp_dbus_process_helper_ip4_config): update for PtP address
14059 * vpn-daemons/vpnc/src/nm-vpnc-service.c
14060 - (print_vpn_config): update for PtP address
14061 - (nm_vpnc_dbus_process_helper_ip4_config): update for PtP address
14063 2006-01-16 Dan Williams <dcbw@redhat.com>
14065 * gnome/applet/applet.c
14066 - (nmwa_add_networks_helper): don't indicate an active network
14067 if NM is disconnected or asleep
14069 2006-01-16 Dan Williams <dcbw@redhat.com>
14071 * src/NetworkManagerPolicy.c
14072 - (nm_policy_device_change_check): switch devices if we lose the link
14073 on an ethernet device.
14075 2006-01-16 Dan Williams <dcbw@redhat.com>
14077 * gnome/applet/wso-wpa-psk-hex.[ch]
14078 - Renamed -> wso-wpa-psk.[ch]
14080 * gnome/applet/wso-wpa-psk.[ch]
14083 * gnome/applet/wso-wpa-psk-passphrase.[ch]
14084 - Removed, rolled into wso-wpa-psk.[ch]
14086 * gnome/applet/Makefile.am
14087 - Updated for above changes
14089 * gnome/applet/wireless-applet.glade
14090 - Consolidate WPA-PSK options into one notebook
14091 widget, and make dialogs invisible by default
14092 to fix screen oddities
14094 * gnome/applet/wireless-security-manager.c
14095 - (wsm_set_capabilities): create the new wpa-psk widget rather
14096 than both the old hex & passphrase ones
14098 2006-01-16 Dan Williams <dcbw@redhat.com>
14100 * gnome/applet/other-network-dialog.c
14101 - (nmwa_ond_init): Change text to refer to "name" rather than "ESSID"
14103 2006-01-16 Dan Williams <dcbw@redhat.com>
14105 * gnome/applet/applet.c
14106 - (nmwa_show_vpn_login_banner_dialog, nmwa_show_vpn_failure_dialog,
14107 nmwa_driver_notify, show_warning_dialog): fix up focus-stealing
14108 prevention to realize window before trying to get server
14111 * gnome/applet/other-network-dialog.c
14112 - (nmwa_other_network_dialog_run): fix up focus-stealing
14113 prevention to realize window before trying to get server
14116 * gnome/applet/passphrase-dialog.c
14117 - (nmi_passphrase_dialog_new): fix up focus-stealing
14118 prevention to realize window before trying to get server
14121 2006-01-16 Robert Love <rml@novell.com>
14123 Patch from Timo Hoenig <thoenig@suse.de:
14124 * libnm-util/cipher-wep-ascii.h, libnm-util/cipher-wep-hex.h,
14125 libnm-util/cipher-wep-passphrase.h, libnm-util/cipher-wpa-psk-hex.h,
14126 libnm-util/cipher-wpa-psk-passphrase.h, libnm-util/cipher.h,
14127 libnm-util/dbus-helpers.h: add checks whether headers are used
14128 within a C++ build.
14130 2006-01-16 Dan Williams <dcbw@redhat.com>
14132 * gnome/applet/wireless-security-option.c
14133 - (wso_wpa_create_key_type_model): clarify AES-CCMP algorithm name
14135 2006-01-16 Dan Williams <dcbw@redhat.com>
14137 * libnm-util/cipher-wpa-psk-passphrase.c
14138 - (cipher_wpa_psk_passphrase_new): correct passphrase length, should
14139 be 8 - 63 characters inclusive
14141 2006-01-16 Dan Williams <dcbw@redhat.com>
14144 - (nm_dbus_nm_sleep): bring device down after quick deactivation
14146 2006-01-13 Robert Love <rml@novell.com>
14148 Patch by T Sureshkumar <tsureshkuman@novell.com>:
14149 * src/NetworkManagerSystem.c: Don't assert iface != NULL, allowing VPN
14150 modules that do not use an interface.
14152 2006-01-13 Dan Williams <dcbw@redhat.com>
14156 - Allow subclasses to implement deactivate_quickly()
14157 - (nm_device_deactivate_quickly): call subclass
14158 deactivate_quickly() methods
14159 - (nm_device_set_active_link): small cleanups, and don't
14160 deactivate the device right away because we risk a deadlock
14161 when called from device thread, waiting for the device
14162 thread to cancel activation
14164 * src/nm-device-802-11-wireless.c
14165 - (real_deactivate_quickly): new function
14166 - (nm_device_802_11_wireless_class_init): hook in real_deactivate_quickly
14167 - (real_deactivate): move supplicant cleanup to real_deactivate_quickly
14168 so that we kill the supplicant when we sleep too
14169 - (supplicant_interface_init): work around naive naming attempts of
14170 wpa_ctrl when naming sockets
14172 2006-01-13 Dan Williams <dcbw@redhat.com>
14174 * src/nm-device-802-11-wireless.c
14175 - (supplicant_cleanup): delete old device control sockets too
14176 - (supplicant_get_device_socket_path): new function to consolidate
14177 locations that need a path to a device's control socket
14179 2006-01-12 Robert Love <rml@novell.com>
14181 * src/backends/NetworkManagerSuSE.c: Put the ppp device in the
14182 description so that the description is unique for each
14183 pair (device,provider). Fixes Novell #142773.
14185 2006-01-12 Dan Williams <dcbw@redhat.com>
14187 * src/nm-device-802-11-wireless.c
14188 - (supplicant_exec): ensure GError is correctly initialized
14189 Reported by Diego González (gnome.org #326708)
14191 2006-01-11 Robert Love <rml@novell.com>
14193 * src/nm-device-802-3-ethernet.c: In case local copies of glibc do not
14194 define if_mii(), open code the same results, and do so without any
14197 2006-01-11 Robert Love <rml@novell.com>
14199 * gnome/applet/wireless-security-manager.c: Fix crash by not asserting
14200 that wso_foo_new() returned non-NULL. Instead, only append the new
14201 wso to wsm->options if the wso is non-NULL. The crux is that we
14202 assume that the relevant key types are implied by WEP and WPA as
14203 appropriate. To be sure, they should be, but we should not expect
14204 drivers to not be oozing piles of wolf fecal matter.
14206 2006-01-11 Robert Love <rml@novell.com>
14208 * configure.in: Add the gcc flags '-Wshadow' and '-Wfloat-equal'.
14209 * gnome/applet/applet.c, gnome/vpn-properties/nm-vpn-properties.c,
14210 src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
14211 src/NetworkManagerPolicy.c, src/NetworkManagerSystem.c,
14212 src/nm-dbus-device.c, src/nm-device-802-3-ethernet.c,
14213 src/nm-ip4-config.c, src/vpn-manager/nm-vpn-manager.c,
14214 test/nmtestdevices.c: Fix shadowed variable usage as appropriate.
14215 * src/nm-device-802-11-wireless.c: Fix floating point comparison by
14216 comparing values within DBL_EPSILON. Also fix shadowed variable
14219 2006-01-11 Dan Williams <dcbw@redhat.com>
14221 Add options for WPA2 and WPA1+CCMP (AES).
14223 * gnome/applet/wireless-applet.glade
14224 - Add UI bits for WPA+CCMP
14226 * gnome/applet/other-network-dialog.c
14227 - (nmwa_ond_init): pass capabilities into the WirelessSecurityManager,
14228 and don't allow creation of WPA2 Ad-Hoc networks since
14229 wpa_supplicant doesn't support them
14231 * gnome/applet/wireless-security-manager.c
14232 - (wsm_set_capabilities): Add WPA2 options, and pass capability
14233 on to the specific wireless security option being created
14235 * gnome/applet/wireless-security-option.[ch]
14236 - (wso_wpa_create_key_type_model): new utility function to create
14237 the model required for WPA Key Type combo box
14239 * gnome/applet/wso-private.h
14240 gnome/applet/wireless-security-option.h
14241 - Move private function prototypes into wso-private.h
14243 * gnome/applet/wso-wpa-psk-hex.[ch]
14244 gnome/applet/wso-wpa-psk-passphrase.[ch]
14245 - (append_dbus_params_func): get WPA version from checkbox and pass
14246 it to the dbus serialization helper
14247 - (key_type_combo_changed_cb): Set the cipher's WE Cipher when the
14248 key type combo changes
14249 - (wso_wpa_psk_hex_new): set up the key type combo with the correct
14252 * libnm-util/cipher-wpa-psk-hex.c
14253 libnm-util/cipher-wpa-psk-passphrase.c
14254 - (cipher_wpa_psk_hex_set_we_cipher, cipher_wpa_psk_passphrase_set_we_cipher):
14255 new function; allow the cipher to be changed after object creation
14257 * src/nm-ap-security-wpa-psk.c
14258 - (set_description): Do WPA2 descriptions too
14260 * src/nm-ap-security.c
14261 - (nm_ap_security_new_from_ap): allow CCMP with WPA1 too
14263 2006-01-11 Robert Love <rml@novell.com>
14265 * src/nm-device-802-3-ethernet.c: Use the if_mii() inline function that
14266 is defined in <linux/mii.h> to return the mii_ioctl_data structure
14267 from the ifreq structure in lieu of an open coded solution. Removes
14268 a life-threatening type-punning.
14269 * configure.in: Remove '-Wno-strict-aliasing' as we no longer pun any
14270 types, ever, whatsoever, baby.
14272 2006-01-11 Robert Love <rml@novell.com>
14274 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.c,
14275 gnome/applet/applet.c, gnome/applet/applet.h: Consolidating
14276 assignments to applet->nm_state into a new nmwa_set_state() function
14277 for both cleanliness and to help debugging.
14279 2006-01-10 Robert Love <rml@novell.com>
14281 * src/autoip.c: Fix FIXME. In performing the link-local zeroconf IP
14282 assignment dance, we want to sleep between PROBE_MIN and PROBE_MAX
14283 seconds, exclusive. That is, we want to sleep x seconds such that
14286 2006-01-10 Robert Love <rml@novell.com>
14288 * gnome/applet/applet-dbus-info.c: Remove FIXME, we do not have to free
14289 the attr fields according to the example in the email available at
14290 mail.gnome.org/archives/desktop-devel-list/2004-May/msg00230.html.
14291 Conversely, we do have to free 'name', so we do so, fixing a leak.
14293 2006-01-10 Robert Love <rml@novell.com>
14295 * src/nm-device-802-11-wireless.c, src/nm-device-802-3-ethernet.c: Make
14296 sure that we close the socket!
14298 2006-01-10 Robert Love <rml@novell.com>
14300 * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h,
14301 src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h,
14302 src/nm-device.c: Fix a FIXME! Reimplement the function
14303 nm_device_update_hw_address() in device subclass variants,
14304 nm_device_802_3_ethernet_set_address() and
14305 nm_device_802_11_wireless_set_address(), hook them up, and use them.
14306 This fixes the existing bug where MAC addresses are all zeros.
14308 2006-01-10 Robert Love <rml@novell.com>
14310 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.h,
14311 gnome/applet/applet.c, gnome/applet/applet.h: Add 'Enable Networking'
14312 option to give users ability to globally disconnect and put NM to
14313 sleep. This is useful as a 'lockdown mode' for flying, security, and
14316 2006-01-09 Robert Love <rml@novell.com>
14318 * src/nm-device-802-3-ethernet.h: The kernel headers <linux/mii.h> and
14319 <linux/ethtool.h> leak the kernel-only types u16, u32, et al.
14320 User-space does not supply these types, so we have to define them
14321 ourselves. The relevant kernel maintainer refused to accept a patch
14322 switching these headers to the proper C99 types.
14324 2006-01-09 Dan Williams <dcbw@redhat.com>
14326 Apply Robert's 'tray icon redo' patch with fixes
14327 * gnome/applet/applet.c
14328 gnome/applet/applet.h
14329 - Instead of using a menu bar + menu item, simulate menu
14330 behavior using a popup menu. Highlight the area around
14331 the icon more like a menu too, by playing with the
14332 applet's size requisition
14334 2006-01-09 Timo Hoenig <thoenig@suse.de>
14335 * libnm-util/dbus-helpers.c
14336 libnm-util/dbus-helpers.h
14337 - (nmu_create_dbus_error_message): rename parameter 'namespace'
14338 to 'exception_namespace' (:namespace is a keyword in
14341 2006-01-09 Dan Williams <dcbw@redhat.com>
14343 * src/NetworkManagerPolicy.c
14344 - (nm_policy_device_change_check): don't autoswitch away from
14345 Ad-Hoc networks, since there's really no concept of
14349 - (nm_dbus_nm_create_wireless_network): mark created networks
14352 * src/nm-device-802-11-wireless.c
14353 - (real_activation_success_handler): add user-created Ad-Hoc
14354 networks to the device's scan list
14356 2006-01-08 Dan Williams <dcbw@redhat.com>
14358 We now require a patch for wpa_supplicant to support Ad-Hoc
14360 http://people.redhat.com/dcbw/wpa_supplicant-ctrl-iface-ap-scan.patch
14362 * src/nm-device-802-11-wireless.c
14363 - (supplicant_send_network_config): turn off wpa_supplicant's
14364 scanning. Fixes Ad-Hoc networks.
14366 2006-01-08 Dan Williams <dcbw@redhat.com>
14368 * src/nm-ap-security.c
14369 src/nm-ap-security.h
14370 - Add a user_created argument to the write_supplicant_config
14373 * src/nm-ap-security-wep.c
14374 src/nm-ap-security-wpa-psk.c
14375 src/nm-device-802-11-wireless.c
14376 - Make Ad-Hoc mode somewhat work, at least write the
14377 correct options to wpa_supplicant
14379 2006-01-08 Dan Williams <dcbw@redhat.com>
14381 * src/nm-device-802-11-wireless.c
14382 - Remove unused code from the old device activation path
14384 2006-01-08 Dan Williams <dcbw@redhat.com>
14386 * libnm-util/dbus-helpers.c
14387 - (nmu_security_serialize_wpa_psk): pass a blank key through
14388 dbus when key == NULL
14390 2006-01-08 Dan Williams <dcbw@redhat.com>
14392 * gnome/applet/nm-gconf-wso-wpa-psk.c
14393 - (nm_gconf_wso_wpa_psk_new_deserialize_dbus): feed
14394 correct arguments to nmu_security_deserialize_wpa_psk()
14396 * src/nm-ap-security-wpa-psk.c
14397 - (nm_ap_security_wpa_psk_new_deserialize): feed correct
14398 arguments to nmu_security_deserialize_wpa_psk()
14400 2006-01-08 Dan Williams <dcbw@redhat.com>
14402 * gnome/applet/wso-wpa-psk-hex.c
14403 gnome/applet/wso-wpa-psk-passphrase.c
14404 - Hook up the append_dbus_params_func() function
14406 2006-01-08 Dan Williams <dcbw@redhat.com>
14408 * src/nm-device-802-11-wireless.c
14409 - (get_wireless_capabilities): correctly detect driver WPA
14412 2006-01-08 Dan Williams <dcbw@redhat.com>
14414 * gnome/applet/Makefile.am
14415 gnome/applet/wso-wpa-psk-hex.c
14416 gnome/applet/wso-wpa-psk-hex.h
14417 - New files, implement WPA-PSK Hex key input
14419 * gnome/applet/wireless-applet.glade
14420 - Change existing wpa-psk stuff to wpa-psk-hex
14421 - Add new widgets for wpa-psk-passphrase
14423 * gnome/applet/wireless-security-manager.c
14424 - (wsm_set_capabilities): enable WPA options
14426 * gnome/applet/wso-wpa-psk-passphrase.c
14427 - (wso_wpa_psk_passphrase_new): use correct glade widgets
14428 for WPA-PSK passphrase
14430 2006-01-08 Dan Williams <dcbw@redhat.com>
14432 * include/NetworkManager.h
14433 - Add NMI_DBUS_USER_KEY_CANCELED_ERROR as a constant for
14434 applet/info-daemons
14436 * gnome/applet/passphrase-dialog.c
14437 - Use the constant. Fixes a bug where the arguments to
14438 dbus_message_new_error() were incorrect
14440 * src/nm-dbus-nmi.c
14443 2006-01-07 Dan Williams <dcbw@redhat.com>
14445 * src/nm-device-802-11-wireless.c
14446 - Add a link timeout so we allow the supplicant time to
14447 reassociate if it can, before we deactivate the card
14448 - Fix up link status and link updating so things work better
14450 2006-01-07 Dan Williams <dcbw@redhat.com>
14452 * src/nm-device-802-11-wireless.c
14453 - Switch over to using wpa_supplicant
14454 - Add a timeout of 10s for association of the supplicant
14455 - Start the monitor callback of the supplicant
14457 2006-01-07 Dan Williams <dcbw@redhat.com>
14459 * src/NetworkManagerUtils.c
14460 - (nm_utils_supplicant_request,
14461 nm_utils_supplicant_request_with_check):
14462 pass correct buffer length to wpa_ctrl_request()
14464 2006-01-07 Dan Williams <dcbw@redhat.com>
14466 * src/nm-device-private.h
14468 - (nm_device_activate_schedule_stage3_ip_config_start): make
14469 this function available to subclasses
14471 2006-01-06 Robert Love <rml@novell.com>
14473 * src/NetworkManagerPolicy.c: Always prefer wired to wireless, as the
14474 user plugging in a network cable signals their preference for to
14475 switch, unless the user explicitly selected a wireless network and
14476 therefore signaled their preference for said wireless network over
14477 wired. In other words, do exactly what makes sense.
14479 2006-01-06 Robert Love <rml@novell.com>
14481 * src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
14482 src/NetworkManagerDevicePrivate.h, src/NetworkManagerWireless.c,
14483 src/NetworkManagerWireless.h: Remove, no longer used and they keep
14484 showing up in my greps.
14486 2006-01-06 Robert Love <rml@novell.com>
14488 * gnome/applet/applet-dbus-devices.c,
14489 gnome/applet/other-network-dialog.c, gnome/applet/wso-none.c,
14490 libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h,
14491 src/nm-dbus-nm.c: Fix several issues. 'Connect to Other' and 'Create
14492 New Network' both failed in the non-encrypted case because we were
14493 not appending the security options to the DBUS message. And
14494 'Connect to Other' was also failing in the encrypted case because
14495 we were not incrementing to the next DBUS parameter. All fixed.
14496 Thanks to dcdw for some debugging help.
14498 2006-01-06 Robert Love <rml@novell.com>
14500 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
14501 gnome/applet/applet-dbus-devices.h, src/nm-dbus-nm.c: Remove global
14502 hangup code and add per-device hangup. Tie last commit into the
14503 GNOME applet. TODO: Save, understand, and respond to the state of
14504 each dialup device.
14506 2006-01-06 Robert Love <rml@novell.com>
14508 Patch by Timo Hoenig <thoenig@suse.de>:
14509 * src/NetworkManagerSystem.h, src/nm-dbus-nm.c: Add interfaces to
14510 hangup specific dialup devices.
14511 * src/backends/NetworkManagerDebian.c,
14512 src/backends/NetworkManagerGentoo.c,
14513 src/backends/NetworkManagerRedHat.c,
14514 src/backends/NetworkManagerSlackware.c: Add stub backend.
14515 * src/backends/NetworkManagerRedHat.c,
14516 src/backends/NetworkManagerSuSE.c: Add specific backend interface to
14517 hangup specific dialup devices.
14519 2006-01-04 Robert Love <rml@novell.com>
14521 * gnome/applet/applet-dbus-devices.c,
14522 gnome/applet/applet-dbus-devices.h, gnome/applet/applet.c,
14523 src/nm-dbus-nm.c: Expose a menu item for hanging up active dialup
14526 2006-01-04 Dan Williams <dcbw@redhat.com>
14528 First dump of wpa_supplicant-related code. It's not hooked up to
14529 anything yet though. Thanks to Kay Sievers for
14530 wpa_supplicant_wrapper.c, which formed the basis for this work,
14531 and to Jouni Malinen for writing wpa_ctrl.c and wpa_ctrl.h.
14535 - Add wpa_ctrl stuff from wpa_supplicant so we can talk to it
14537 * src/NetworkManagerUtils.[ch]
14538 - (nm_utils_supplicant_request, nm_utils_supplicant_request_with_check):
14539 Add convenience functions for talking to wpa_supplicant
14541 * src/nm-ap-security.[ch]
14542 src/nm-ap-security-wep.c
14543 src/nm-ap-security-wpa-psk.[ch]
14544 - Update and implement real_write_supplicant_config functions
14545 in all security types
14546 - (nm_ap_security_wpa_psk_new_from_ap): implement in
14547 nm-ap-security-wpa-psk.c
14549 * src/nm-device-802-11-wireless.c
14550 - (supplicant_cleanup, supplicant_watch_cb, supplicant_monitor_status_cb,
14551 wpa_supplicant_start, wpa_supplicant_interface_init,
14552 wpa_supplicant_send_network_config): add functions to talk to
14553 wpa_supplicant and write network config to it
14555 2006-01-04 Robert Love <rml@novell.com>
14557 * src/NetworkManagerDialup.h: add 'type' field and NM_DIALUP_TYPE
14558 values so that distribution-backends can differentiate between the
14559 various types (modem, ISDN, et cetera) of dialup device that they
14561 * src/backends/NetworkManagerSuSE.c: perform isdnctrl on interface, as
14564 2006-01-03 Dan Williams <dcbw@redhat.com>
14566 * src/NetworkManagerPolicy.c
14568 src/nm-device-802-11-wireless.c
14569 - Move wireless-specific activation failure and success code
14570 into wireless device class
14572 2006-01-03 Robert Love <rml@novell.com>
14574 Patch by Preggna S:
14575 * src/NetworkManagerSystem.c, src/vpn-manager/nm-vpn-connection.c:
14576 IPsec does not require that a VPN client be bound to an interface,
14577 due to the use of the in-kernel IPSec bits. So make the tunnel
14580 2006-01-03 Dan Williams <dcbw@redhat.com>
14582 * src/NetworkManagerAP.c
14583 - (nm_ap_add_capabilities_from_ie): presume no WEP unless
14584 the WPA IE specifies that WEP is supported
14586 * src/nm-device-802-11-wireless.c
14587 - (process_scan_results): don't mark an AP as supporting WEP
14588 if there's already other encryption capability info
14590 2006-01-03 Dan Williams <dcbw@redhat.com>
14592 * src/dhcp-manager/nm-dhcp-manager.c
14593 - Recognize activation cancellation when waiting for DHCP
14594 configuration from dhcdbd
14595 - Ignore non-dhcdbd messages
14598 - (real_act_stage3_ip_config_start): return to correct behavior
14599 of letting the dhcp-manager notify us of failure or
14600 success rather than incorrectly doing that ourselves
14601 - (nm_device_activate_stage4_ip_config_get): deal with
14602 activation cancellation a bit earlier
14604 2006-01-03 Dan Williams <dcbw@redhat.com>
14606 * src/nm-device-802-11-wireless.c
14608 - Add hooks to subclasses for stage3_ip_config_start and
14609 stage4_ip_config_timeout
14611 * src/nm-device-802-3-ethernet.c
14612 - (real_get_generic_capabilities): make devices NM-supported
14615 2006-01-03 Robert Love <rml@novell.com>
14617 * src/backends/NetworkManagerSuSE.c: update to newer API (no more
14618 nm_device_get_hw_address); use inet_aton in lieu of inet_addr as the
14619 latter cannot differentiate between error and the address -1; misc.
14622 2006-01-03 Dan Williams <dcbw@redhat.com>
14624 * src/NetworkManager.c
14625 - Move link-checking/probing into the device subclasses
14628 * src/nm-device.[ch]
14629 src/nm-device-802-11-wireless.c
14630 src/nm-device-802-3-ethernet.c
14631 - Do periodic link checking in device subclasses rather
14632 than being triggered from NetworkManager.c
14633 - discover_wireless_capabilities -> get_wireless_capabilities
14634 - discover_generic_capabilities -> get_generic_capabilities
14635 - Device subclass activation routines now return a value of type
14636 NMActStageReturn to indicate what step to perform next
14637 - Devices now override stage4_get_ip4_config if they choose
14639 2006-01-01 Dan Williams <dcbw@redhat.com>
14641 * src/nm-device-802-11-wireless.c
14642 - (real_init): don't chain up to parent init because we don't
14643 need to do that anymore
14646 - (discover_device_type): fix arguments to ioctl() to correctly
14647 pass interface name
14648 - (nm_device_new): consolidate generic device initialization into
14650 - (real_init): remove, consolidated to nm_device_new()
14651 - (nm_device_deactivate, real_deactivate): consolidate
14653 2006-01-01 Dan Williams <dcbw@redhat.com>
14655 * src/nm-activation-request.c
14656 - Change dhcp_state member of the NMActRequest structure
14657 from guint8 to guint32
14659 * src/dhcp-manager/nm-dhcp-manager.[ch]
14660 - (nm_dhcp_manager_get_state_for_device): return guint32 rather
14661 than guint8 to match the dbus argument. Turns out we were
14662 overwriting memory since we were passing in only a guint8
14664 2005-12-31 Dan Williams <dcbw@redhat.com>
14666 * refactor NMDevice into a GObject-based framework with separate
14667 objects for wired and wireless. The following files are no
14668 longer used but should stick around for a bit so we don't
14669 loose code through the cracks:
14670 NetworkManagerDevice.c
14671 NetworkManagerDevice.h
14672 NetworkManagerWireless.c
14673 NetworkManagerWireless.h
14675 The intent here is to allow each device type to manage its own
14676 connection & activation life-cycle, ie to allow wireless devices
14677 to interface with wpa_supplicant, etc. There's a fair bit of
14678 encapsulation breakage right now that should gradually get pulled
14679 back into each device, along with things like periodic property
14680 updates and link probing.
14682 2005-12-29 Dan Williams <dcbw@redhat.com>
14684 * include/NetworkManager.h
14685 - Add NM_802_11_CAP_PROTO_NONE since we need to recognize
14686 between networks that don't have any encryption at all
14688 2005-12-29 Dan Williams <dcbw@redhat.com>
14690 * test/test-common.c
14693 - Move to a test-common subdirectory
14695 * test/libnm-util/test-ciphers.c
14696 - Move test data to test-inputs.h
14697 - Test WPA ciphers too
14699 * test/libnm-util/test-dbus-helpers.c
14700 - Test serialization/deserialization of ciphers
14702 2005-12-29 Dan Williams <dcbw@redhat.com>
14704 * gnome/applet/applet-dbus-devices.c
14705 - Replace 'enc' parameter with 'capabilities' for wireless networks
14706 in dbus calls to NM
14707 - Set capabilities on WirelessNetwork objects
14708 - Receive and save type-specific device capabilities too
14710 * gnome/applet/applet-dbus-info.c
14711 gnome/applet/applet-dbus.c
14712 - Passphrase dialog no longer a singleton; new instance gets created
14713 on each request. Updates to deal with that.
14715 * gnome/applet/applet.c
14716 - (nmwa_has_encrypted_networks_helper): use AP capabilities rather
14717 than single 'encrypted' flag
14718 - (nmwa_menu_add_vpn_menu): if NM isn't connected, disable any VPN
14720 - Passphrase dialog updates per above
14722 * gnome/applet/menu-items.c
14723 - (network_menu_item_update): use AP capabilities to determine
14726 * gnome/applet/nm-device.[ch]
14727 - Add accessors for type-specific device capabilities
14729 * gnome/applet/other-network-dialog.c
14730 - Rework to respect device capabilities. i.e., if the device doesn't
14731 support WPA, remove that option from the security dropdown
14733 * gnome/applet/passphrase-dialog.c
14734 - Massive rework so that a new instance is created each time
14735 it's used, to support wireless network capabilities
14737 * gnome/applet/wireless-network.[ch]
14738 - Add accessors and members for wireless network capabilities
14740 * gnome/applet/wireless-security-manager.[ch]
14741 - (wsm_set_capabilities): called after creation to set which
14742 security options get shown to the user
14744 2005-12-29 Dan Williams <dcbw@redhat.com>
14746 * libnm-util/cipher-wpa-psk-passphrase.c
14747 - (cipher_wpa_psk_passphrase_hash_func): return key as hex string
14750 2005-12-23 Dan Williams <dcbw@redhat.com>
14752 * gnome/applet/applet-dbus-info.c
14753 - (nmi_dbus_get_key_for_network): if there's no entry in
14754 GConf for a network, assume we want a new key
14755 - (nmi_save_network_info): serialize wireless security info
14756 into GConf so its saved
14759 - Fix warning as we may not be passed security info when
14760 connecting to a wireless network
14762 2005-12-23 Dan Williams <dcbw@redhat.com>
14764 * gnome/applet/applet-compat.c
14765 - Fix bugs in GConf entry conversion
14767 * gnome/applet/applet-dbus-info.c
14768 - (nmi_dbus_get_network_properties): handle case of the BSSID
14769 list being zero-length
14771 * libnm-util/cipher-*
14772 libnm-util/dbus-helpers.c
14773 - All ciphers must now return hashed keys as UTF-8 valid
14774 hexadecimal strings, ie "8f3dae4023". They are pushed
14775 through dbus as strings too.
14776 - Consolidate various functions that do bin->hex and hex->bin
14777 conversion into cipher.c
14779 * src/nm-ap-security-wep.c
14780 src/nm-ap-security-wpa-psk.c
14781 - Handle NULL keys since we may not know keys right away
14783 * src/nm-dbus-nmi.c
14784 - (nm_dbus_get_network_data_cb): actually advance to the start
14785 of the wireless security info before we try to deserialize it
14787 * libnm-util/test-ciphers.c
14788 - Update cipher tests for the change to UTF-8 hexadecimal strings
14790 2005-12-22 Dan Williams <dcbw@redhat.com>
14792 * gnome/applet/applet-compat.[ch]
14793 - Convert old-format GConf and keyring entries
14794 when the applet starts up.
14796 * gnome/applet/applet.c
14797 - (nmwa_get_instance): Call the conversion function
14798 on startup before dbus is initialized
14800 2005-12-22 Dan Williams <dcbw@redhat.com>
14802 * gnome/applet/applet-dbus-info.c
14803 - Remove nmi_dbus_create_error_message() in favor of
14804 nmu_create_dbus_error_message()
14805 - (nmi_dbus_get_network_properties): Error message cleanups
14806 - (nmi_dbus_get_network_properties): BSSIDs are now in the 'bssids'
14807 gconf key rather than 'addresses', since they really are BSSIDs
14808 - (nmi_dbus_get_network_properties): Dispose of the security
14809 object when we're done with it
14811 2005-12-21 Dan Williams <dcbw@redhat.com>
14813 * Consolidate the info-daemon's "updateNetworkInfo" and
14814 "addNetworkAddress" calls into just "updateNetworkInfo"
14816 2005-12-21 Dan Williams <dcbw@redhat.com>
14818 * Make connection after key retrieval work again
14820 2005-12-21 Dan Williams <dcbw@redhat.com>
14822 * gnome/applet/nm-gconf-wso*
14823 - Make the serialize functions return gboolean
14826 * gnome/applet/nm-gconf-wso.c
14827 - (nm_gconf_wso_dispose, nm_gconf_wso_finalize): fix up
14828 parent class handling so we don't segfault
14830 * src/NetworkManagerAP.[ch]
14831 - (nm_ap_get_capabilities): new function, return capabilities
14832 now that something can use them
14833 - (nm_ap_set_encrypted): assume that an access point supports
14834 both WEP104 and WEP40 if its set encrypted. FIXME: can
14835 we even tell whether it just supports WEP40?
14837 * src/NetworkManagerDevice.c
14838 - (ap_need_key): resurrect and update for the New World Order
14839 - (nm_device_wireless_get_activation_ap): if we're not given
14840 security info to use, create some based on access point
14843 * src/nm-ap-security-wep.c
14844 - (nm_ap_security_wep_new_from_ap): create a new object
14845 based on a certain access point's capabilities
14847 * src/nm-ap-security.c
14848 - (nm_ap_security_new_from_ap): delegate creation of a new
14849 object based on access point capabilities to a subclass
14850 - (nm_ap_security_copy_properties): don't segfault if we
14851 don't have a key yet
14854 - (nm_dbus_nm_set_active_device): provide more informative
14855 output when errors occur. Also construct security info
14856 for a given access point if we weren't given any
14858 2005-12-21 Žygimantas Beručka <zygis@gnome.org>
14860 * configure.in: Added Lithuanian to ALL_LINGUAS.
14862 2005-12-21 Dan Williams <dcbw@redhat.com>
14865 - Add some testcases for WEP ciphers
14867 2005-12-17 Dan Williams <dcbw@redhat.com>
14871 2005-12-17 Dan Williams <dcbw@redhat.com>
14873 * include/NetworkManager.h
14874 - Finally kill NMEncKeyType
14876 * gnome/applet/applet-dbus-info.c
14877 - (nmi_save_network_info): convert to NMGConfWSO
14879 * gnome/applet/nm-gconf-wso-*.c
14880 - Implement gconf serialization functions
14882 * src/NetworkManagerPolicy.c
14883 - (nm_policy_activation_finish): fix up meaning of
14884 automatic/user_requested
14886 2005-12-17 Dan Williams <dcbw@redhat.com>
14889 - More applet cleanups
14890 - Use the dbus-method-dispatcher
14892 * libnm-util/dbus-method-dispatcher.[ch]
14893 - Generalize the implementation from NM in
14894 NetworkManagerUtils.c
14896 2005-12-16 Dan Williams <dcbw@redhat.com>
14899 - Fix up the passphrase dialog to use all the
14900 WirelessSecurityOption stuff (untested)
14902 2005-12-16 Dan Williams <dcbw@redhat.com>
14904 * Move nm_gconf_get_*_helper() functions to separate files,
14905 gconf-helpers.c & gconf-helpers.h
14907 * New NMGConfWSO objects for managing the gconf side of things.
14908 Eventually these should be merged with the
14909 WirelessSecurityOption objects and a common base (that can
14910 serialize/deserialize from dbus & gconf) should be
14911 refactored out, but for now they are separate.
14913 2005-12-16 Robert Love <rml@novell.com>
14915 * src/backends/NetworkManagerSuSE.c: Do not invoke ypbind or autofs
14916 binaries unless they exist (nm_spawn_process() emits a warning if
14917 asked to spawn a non-existant process).
14919 2005-12-16 Dan Williams <dcbw@redhat.com>
14921 * gnome/applet/applet-dbus-info.c
14922 - Clean up lots of gconf-related code
14924 2005-12-16 Robert Love <rml@novell.com>
14926 * Makefile.am: Build fix: Reorder 'SUBDIRS' so our deps are right.
14928 2005-12-16 Dan Williams <dcbw@redhat.com>
14930 * nm_device_set_enc_key -> nm_device_set_wep_enc_key
14932 * Fix up NM -> NMI get-user-key dbus calls in NM (applet
14933 bits still to be done)
14935 2005-12-16 Dan Williams <dcbw@redhat.com>
14937 * Finally move info-daemon related stuff out of
14938 NetworkManagerDbus.c to nm-dbus-nmi.c
14940 2005-12-16 Dan Williams <dcbw@redhat.com>
14942 * Kill auth_method for access points, since that's now done
14943 by NMAPSecurity objects
14945 * Add a copy-constructor of sorts to NMAPSecurity
14946 (how do you do this properly in glib???)
14948 2005-12-15 Dan Williams <dcbw@redhat.com>
14950 * Exorcise encryption key hashing on APs
14951 * Use libnm-util's serialization/deserialization in both the
14953 * Random other stuff
14955 2005-12-15 Robert Love <rml@novell.com>
14957 * gnome/applet/menu-items.c: A new icon, "network-wireless-encrypted"
14958 is being added to the icon naming spec, so let's use that (Tango CVS
14959 has the icon). Because it is new, however, we fall back to the
14960 current "gnome-lockscreen" if the new icon is not around, thus
14961 behavior is the same.
14962 * gnome/applet/applet.c: Remove setup_stock(). We do not need the
14965 2005-12-15 Robert Love <rml@novell.com>
14967 * src/gnome/applet.c: Don't show the 'Help' menu item until we have,
14968 well, help to give. Couple other misc. bits.
14970 2005-12-15 Dan Williams <dcbw@redhat.com>
14972 * libnm-util/dbus-helpers.[ch]
14973 - Make this the one-stop-shop for serializing/deserializing
14974 AP & connection security settings over dbus. Both NM
14975 and applets should use this to ensure consistent dbus
14976 API going forwared.
14978 2005-12-15 Robert Love <rml@novell.com>
14980 Patch by Timo Hoenig <thoenig@suse.de>:
14981 * src/NetworkManagerDbus.c
14982 - (nm_dbus_signal_filter) return DBUS_HANDLER_RESULT_HANDLED
14983 if HAL jumps off the system bus. Otherwise libdbus
14984 (dbus_connection_dispatch) will try to run the filter
14985 function of our libhal context which is already freed.
14987 2005-12-15 Alexander Shopov <ash@contact.bg>
14989 * configure.in: Added "bg" (Bulgarian) to ALL_LINGUAS
14991 2005-12-14 Dan Williams <dcbw@redhat.com>
14993 * include/NetworkManager.h
14994 src/NetworkManagerWireless.c
14995 - Rearrange 802.11 wireless-specific capabilities again
14998 - Forgot to add wpa.c/wpa.h to the makefiles
15000 * src/NetworkManagerAP.[ch]
15001 - Implement access point capabilities and parse the
15002 WPA/RSN IEs into the capability bitfield
15003 - Switch the "encrypted" attribute to utilize the bitfield
15004 and capabilities rather than being independent
15006 * src/NetworkManagerDevice.c
15007 - (nm_device_wireless_get_activation_ap): break it horribly
15008 until we can push NMAPSecurity objects into access point
15009 objects and through the activation chain
15010 - Stuff WPA & RSN IEs into AP capabilities
15013 - Take a shot at actually making setActiveDevice work
15016 - Make the API a bit saner
15018 2005-12-14 Dan Williams <dcbw@redhat.com>
15020 * include/NetworkManager.h
15021 - Add 802.11-specific capability for 802.1x key
15025 - Pull in WPA IE and RSN IE parsing code from
15026 wpa_supplicant so we can determine access point
15028 - Move WPA-related constants here from NetworkManagerAP.h
15029 and NetworkManagerDevice.c
15031 * src/NetworkManagerDevice.c
15032 src/NetworkManagerAP.[ch]
15033 - Use WPA-related constants from wpa.h
15035 2005-12-14 Dan Williams <dcbw@redhat.com>
15037 * include/NetworkManager.h
15038 - Update and split 802.11 wireless-specific capabilities from
15039 generic device capabilities
15041 * src/NetworkManagerDevice.c
15042 src/NetworkManagerDevicePrivate.h
15043 - (nm_device_wireless_discover_capabilities): Move 802.11
15044 wireless-specific capability checks to
15045 NetworkManagerWireless.c
15046 - Rename NMDeviceWirelessOptions -> NMDevice80211WirelessOptions
15047 - Rename NMDeviceWiredOptions -> NMDevice80211EthernetOptions
15049 * src/NetworkManagerWireless.[ch]
15050 - (nm_802_11_wireless_discover_capabilities): Check extended
15051 802.11 wireless-specific capabilities of the driver
15053 2005-12-14 Robert Love <rml@novell.com>
15055 Patch from Stefan Scheler <sscheler@suse.de>:
15056 * src/NetworkManagerDevice.c: call backend code to activate and
15058 * src/NetworkManagerSystem.h: add new NIS interfaces.
15059 * src/backends/NetworkManagerDebian.c,
15060 src/backends/NetworkManagerGentoo.c,
15061 src/backends/NetworkManagerRedHat.c,
15062 src/backends/NetworkManagerSlackware.c: add stub functions for NIS
15064 * src/backends/NetworkManagerSuSE.c: add NIS support, baby.
15066 2005-12-14 Dan Williams <dcbw@redhat.com>
15068 * src/nm-ap-security*.[ch]
15069 - Add AP security abstractions to NetworkManager
15071 * src/nm-dbus-device.c
15072 - Begin to parse new format dbus messages from the applet
15073 and construct an AP security object from the message
15075 * libnm-util/dbus-helpers.c
15076 - Use message iters so we can append the key as a fixed
15077 array of bytes, which actually works rather than
15078 using dbus_message_append_args() as we were before
15080 2005-12-14 Dan Williams <dcbw@redhat.com>
15082 * src/NetworkManagerDbus.c
15083 gnome/applet/applet-dbus.c
15084 - Fix up dbus service replacement options. The applet
15085 should allow replacement, NM itself should not.
15087 2005-12-13 Robert Love <rml@novell.com>
15089 * src/named-manager/nm-named-manager.c: Revert earlier commit.
15090 Instead, fail silently if config is NULL by not asserting and not
15091 returning FALSE. Also, make sure we always fclose() the file.
15093 2005-12-13 Robert Love <rml@novell.com>
15095 Patch by Stefan Scheler <sscheler@suse.de>:
15096 * src/nm-ip4-config.h, src/nm-ip4-config.c,
15097 src/dhcp-manager/nm-dhcp-manager.c: Add support for setting up NIS
15098 via DHCP. Still need the backends to commit the NIS domain name and
15099 and servers to yp.conf as needed.
15101 2005-12-13 Robert Love <rml@novell.com>
15103 * src/vpn-manager/nm-dbus-vpn.c: Do not call the lengthy-named function
15104 nm_vpn_manager_remove_connection() unless vpn is non-NULL.
15106 2005-12-13 Robert Love <rml@novell.com>
15108 * src/named-manager/nm-named-manager.c: Don't unref the config until
15109 after we call rewrite_resolv_conf(), because get_last_default_domain()
15110 needs to access the config. Fixes "rewrite_resolv_conf: assertion
15111 `config != NULL' failed" assertion failures and "Could not commit DNS
15114 2005-12-12 Dan Williams <dcbw@redhat.com>
15116 * libnm-util/dbus-helpers.[ch]
15117 libnm-util/Makefile.am
15118 - new helper calls to consolidate locations where
15119 NM's setDevice method is called
15121 * gnome/applet/applet-dbus-devices.c
15122 gnome/applet/wireless-security-option.c
15124 - Implement dbus message param append function for
15125 all wireless security options
15127 2005-12-12 Robert Love <rml@novell.com>
15129 * libnm-util/cipher-wep-passphrase.c,
15130 libnm-util/cipher-wpa-psk-passphrase.c, src/NetworkManagerAP.c,
15131 src/NetworkManagerAP.h, src/NetworkManagerDevice.c,
15132 src/NetworkManagerWireless.c, src/NetworkManagerWireless.h: Treat
15133 all WEP/WPA keys as "char *" and not explicitly signed or unsigned.
15134 When handling keys, we don't care what the sign is. The compiler
15135 guarantees us that we get our 8-bits, which is all we care about.
15136 * configure.in: Remove "-Wno-pointer-sign" flag. We are sign-aware!
15138 2005-12-12 Dan Williams <dcbw@redhat.com>
15140 * gnome/applet/applet-dbus-devices.[ch]
15141 gnome/applet/applet.c
15142 gnome/applet/other-network-dialog.c
15143 gnome/applet/wireless-security-manager.[ch]
15144 gnome/applet/wireless-security-option.[ch]
15146 - Push the wireless security options further into the applet
15148 2005-12-12 Robert Love <rml@novell.com>
15150 * src/dhcp-manager/nm-dhcp-manager.c: Do not fail if DHCP does not
15151 return any name servers. That is perfectly valid. (Novell #134369).
15153 2005-12-11 Dan Williams <dcbw@redhat.com>
15155 * gnome/applet/wso-*
15156 gnome/applet/wireless-security-option.*
15157 gnome/applet/Makefile.am
15158 - split each security option out so we can eventually
15159 have each one build up their own dbus message
15160 arguments to send to NM
15162 2005-12-11 Dan Williams <dcbw@redhat.com>
15164 * Make validation of the key work correctly
15166 2005-12-11 Dan Williams <dcbw@redhat.com>
15168 * Hook more bits of the Other Network Dialog up to the
15169 wireless security manager stuff, and restructure
15170 bits of the dialog so there's less code.
15172 2005-12-10 Dan Williams <dcbw@redhat.com>
15174 * gnome/applet/Makefile.am
15175 - Add libnm-util to includes
15176 - Add libnm-util to link list
15177 - Add wireless-security-common.* to compile list
15179 * gnome/applet/other-network-dialog.c
15180 - Convert to using the WirelessSecurityManager code and
15183 * gnome/applet/passphrase-dialog.c
15184 - Comment out references to stuff in the glade file that
15185 cause runtime errors until it can be fixed up
15186 to use the WirelessSecurityManager code
15188 * gnome/applet/wireless-applet.glade
15189 - Rename some widgets
15190 - Add widgets for the WirelessSecurityManager code
15191 - Remove passphrase-related stuff since that's now
15192 handled by the WirelessSecurityManager code
15194 2005-12-10 Dan Williams <dcbw@redhat.com>
15196 * gnome/applet/applet-dbus-devices.c
15197 - Print out error message details for dbus pending call callbacks
15198 - Move nmwa_dbus_update_devices() up
15200 * gnome/applet/applet-dbus-vpn.c
15201 - Print out error message details for dbus pending call callbacks
15203 2005-12-10 Dan Williams <dcbw@redhat.com>
15207 - Remove cipher-manager.* because we don't need it
15208 - Forgot to add gnome-keyring-md5 files to compile list
15210 2005-12-09 Dan Williams <dcbw@redhat.com>
15215 - Add a utility library for clients of NetworkManager. It's
15216 only targetted at applets for the moment, and contains
15217 a generalized 802.11 cipher framework for different
15218 types of keys (WEP & WPA Hex, ASCII, Passphrase)
15220 2005-12-09 Robert Love <rml@novell.com>
15222 * src/NetworkManagerDevice.c: handle error better in
15223 nm_device_set_mode().
15225 2005-12-08 Robert Love <rml@novell.com>
15227 * include/NetworkManager.h: add WPA capabilities constants
15228 * src/NetworkManagerDevice.c: detect if wireless devices support WPA
15229 or WPA2 and add the capabilities bits as appropriate.
15231 2005-12-08 Robert Love <rml@novell.com>
15233 * initscript/SUSE/networkmanager-dispatcher.in: new initscript for
15234 NetworkManagerDispatcher.
15235 * configure.in, initscript/SUSE/.cvsignore,
15236 initscript/SUSE/Makefile.am: support new networkmanager-dispatcher
15239 2005-12-08 Robert Love <rml@novell.com>
15241 * initscript/SUSE/networkmanager.in: Do not start 'networking' service.
15243 2005-12-08 Robert Love <rml@novell.com>
15245 * src/NetworkManagerDevice.c: We want to fall back on and default to
15246 IW_MODE_AUTO, not -1, which is more in line with our previous
15247 behavior. Otherwise, we try to set the wireless mode to -1 in
15248 nm_device_set_mode().
15250 2005-12-07 Robert Love <rml@novell.com>
15252 * gnome/applet/applet-dbus-info.c, include/NetworkManager.h,
15253 src/NetworkManagerAP.c, src/NetworkManagerAP.h,
15254 src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
15255 src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
15256 src/nm-dbus-nm.c: Convert NM_DEVICE_AUTH_METHOD_* to use the
15257 wireless-tools constants directly. UNKNOWN is now -1 and NONE is
15260 2005-12-07 Robert Love <rml@novell.com>
15262 * src/backends/NetworkManagerSuSE.c: In static configurations, if the
15263 supplied IP is invalid, fall back to DHCP.
15265 2005-12-07 Dan Williams <dcbw@redhat.com>
15267 * Convert NETWORK_MODE_* constants to IW_MODE_*
15268 * Make all the get_mode/set_mode functions take and return 'int'
15269 * Convert D-BUS calls that pass mode to DBUS_TYPE_INT32 rather than UINT32
15271 2005-12-07 Robert Love <rml@novell.com>
15273 * src/NetworkManagerDevice.c: strncpy() buffer check.
15274 * src/NetworkManagerUtils.c: be anal about syslog() formatting.
15276 2005-12-06 Dan Williams <dcbw@redhat.com>
15278 * gnome/applet/applet-dbus.c
15279 - (set_vpn_last_attempt_status): remove, now in applet-dbus-vpn.c
15281 * gnome/applet/applet-dbus-vpn.c
15282 - (nmwa_dbus_vpn_set_last_attempt_status): new, from applet-dbus.c
15283 - (nmwa_dbus_vpn_update_vpn_connection_stage): set last_attempt_success
15284 to TRUE here if stage was ACTIVATED
15286 2005-12-06 Dan Williams <dcbw@redhat.com>
15288 * Change nm_device_is_* functions to better names:
15289 nm_device_is_wireless() -> nm_device_is_802_11_wireless()
15290 nm_device_is_wired() -> nm_device_is_802_3_ethernet()
15292 2005-12-06 Dan Williams <dcbw@redhat.com>
15294 * Change naming of NMDeviceType to something more sensible:
15295 NM_DEVICE_TYPE_DONT_KNOW -> NM_DEVICE_TYPE_UNKNOWN
15296 NM_DEVICE_TYPE_WIRED_ETHERNET -> NM_DEVICE_TYPE_802_3_ETHERNET
15297 NM_DEVICE_TYPE_WIRELESS_ETHERNET -> NM_DEVICE_TYPE_802_11_WIRELESS
15299 2005-12-06 Dan Williams <dcbw@redhat.com>
15301 * Move NetworkManager.h -> include/NetworkManager.h
15302 * Split out VPN stuff into include/NetworkManagerVPN.h
15303 * Fix up makefiles to include new location
15304 * Fix up sources to include NetworkManagerVPN.h
15306 2005-12-06 Dan Williams <dcbw@redhat.com>
15308 Various changes in the applet to move VPN connection "state" -> "stage",
15309 which it actually is. I'd like to change the signal as well when we
15310 break compat in the near future.
15312 2005-12-06 Dan Williams <dcbw@redhat.com>
15314 Slackware patches from Paul Blazejowski <paulb@blazebox.homeip.net>
15315 * initscript/Slackware/rc.networkmanager
15318 * src/backends/NetworkManagerSlackware.c
15319 - Kill dhcpcd when starting so that dhclient can bind to DHCP on
15322 2005-12-05 Robert Love <rml@novell.com>
15324 * src/NetworkManager.c: don't call nm_data_free() when there is nothing
15325 to free, particularly here as it just barfs.
15327 2005-12-05 Dan Williams <dcbw@redhat.com>
15329 * gnome/applet/applet-dbus.c
15330 - Work with dbus 0.6 too
15332 2005-12-03 Dan Williams <dcbw@redhat.com>
15334 * src/NetworkManagerUtils.[ch]
15335 src/nm-ip4-config.c
15336 - move ip4_netmask_to_prefix() to NetworkManagerUtils.c
15337 - consolidate code into nm_utils_ip4_addr_to_nl_addr()
15339 2005-12-01 Robert Love <rml@novell.com>
15341 * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c: We
15342 need a NULL for the '...' parameter, too, to fill the so-called
15345 2005-12-01 Robert Love <rml@novell.com>
15347 * src/NetworkManagerSystem.c: If iface_to_rtnl_link() returns NULL, the
15348 interface is already gone, so don't call rtnl_link_change() to down
15349 it (which will segfault, anyhow).
15351 2005-11-22 Robert Love <rml@novell.com>
15353 * src/backends/NetworkManagerSuSE.c: Don't fall back to DHCP if the
15354 gateway is not set, just print a little note. Configurations without
15355 gateways are valid.
15357 2005-11-22 Robert Love <rml@novell.com>
15361 2005-11-20 Ilkka Tuohela <hile@iki.fi>
15363 * configure.in: Added Finnish translation to ALL_LINGUAS
15365 2005-11-14 Robert Love <rml@novell.com>
15367 * vpn-daemons/openvpn: initial checkin of OpenVPN VPN Module, by Tim
15368 Niemueller <tim@niemueller.de>.
15370 2005-11-08 Dan Williams <dcbw@redhat.com>
15372 Patch from Bill Moss <bmoss@clemson.edu>
15373 * src/NetworkManagerDevice.c
15374 - (nm_device_activate_stage5_ip_config_commit): fix ordering
15375 of nm_policy_schedule_activation_finish() to prevent a
15376 race condition that causes the link to be dropped
15378 2005-11-08 Dan Williams <dcbw@redhat.com>
15380 Patch from Bill Moss <bmoss@clemson.edu>
15381 * src/NetworkManagerAPList.c
15382 src/NetworkManagerDevice.c
15383 src/NetworkManagerDbus.c
15384 - Replace occurances of ether_ntoa_r() with iw_ether_ntop() so
15385 we get more readable ether/mac addresses
15387 2005-11-02 Christopher Aillon <caillon@redhat.com>
15389 * gnome/applet/main.c: Don't set the restart command. This fixes
15390 the issue where the restart command was getting copies of all its
15391 arguments for each time the applet was restarted.
15393 2005-11-02 Robert Love <rml@novell.com>
15395 * gnome/applet/applet.c: Only send the DBUS setWirelessEnabled method
15396 if the widget state differs from our saved state. This ensures we
15397 do not enter an endless loop of death and destruction. Also, this
15398 guarantees us that we enforce the widget state.
15400 2005-11-02 Robert Love <rml@novell.com>
15402 * gnome/applet/applet.c: add nmwa_enable_wireless_set_active().
15403 * gnome/applet/applet-dbus-devices.c: invoke the new function
15404 nmwa_enable_wireless_set_active() to ensure that the state of the
15405 'Enable Wireless' checkbox matches the daemon's state. This is a
15406 concern because the daemon remembers the state.
15408 2005-11-02 Robert Love <rml@novell.com>
15410 * gnome/applet/applet.c: Make menu item "Enable Wireless" not "Wireless
15411 Enabled", as checkboxes should be actions/commands not positive
15412 statements, otherwise they are confusing in the unselected case. See
15413 examples in GNOME HIG, Chapter 6.
15415 2005-11-02 Robert Love <rml@novell.com>
15417 * gnome/applet/applet.c: When wireless is disabled, act it. Do not
15418 show a list of wireless networks or the wireless devices or the
15419 "Create Wireless ..." menus. Aside from this cosmetics, this fixes
15420 a bad bug: If wireless is disabled and the user picks a wireless
15421 network, NM will switch to the network, only to immediately switch
15422 back, as wireless is disabled. This also reassures people that NM
15423 is not scanning (it is not -- I verified). Fixes Novell bug #130041.
15425 2005-11-02 Christopher Aillon <caillon@redhat.com>
15427 * gnome/applet/applet.c:
15428 * gnome/applet/applet.h:
15429 Partial backout of Dan's timeout animation patch.
15430 Timeout IDs cannot legally be 0, so revert the code in place to handle
15431 a timeout ID of 0 to denote the timeout isn't running.
15433 2005-11-02 Christopher Aillon <caillon@redhat.com>
15435 * src/NetworkManagerPolicy.c:
15436 (nm_policy_device_change_check) Clarify wireless switch nm_info text
15438 2005-10-28 Robert Love <rml@novell.com>
15440 * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade: Change label to
15441 "Import Saved Configuration..." to make it clear that importing is
15442 not the next step, but an option. As an aside, a nice TODO would be
15443 to move Importing out of the vpn-specific dialog and into the main
15444 property editor, as Importing goes with Adding, but that will require
15445 some rearchitecting of the VPN stuff I suspect.
15447 2005-10-27 Dan Williams <dcbw@redhat.com>
15449 Start using libnl. You need 1.0-pre3 or higher. Eventually
15450 we should replace most of the distro-specific backend code
15453 Get it here: http://people.suug.ch/~tgr/libnl/
15457 - Add checks for libnl pkgconfig file
15458 - Use LIBNL_LIBS & LIBNL_CFLAGS
15460 * src/NetworkManagerSystem.c
15461 src/nm-ip4-config.[ch]
15462 - Use libnl rather than ioctl() for most things
15463 - Remove unused functions
15465 2005-10-27 Robert Love <rml@novell.com>
15467 * src/backends/NetworkManagerSuSE.c: fix warning message text
15469 2005-10-27 Christopher Aillon <caillon@redhat.com>
15471 * gnome/applet/applet.c: Use the copyright symbol instead of (C)
15473 2005-10-27 Christopher Aillon <caillon@redhat.com>
15475 * gnome/applet/applet.c: The applet's about dialog can advertise our
15476 project page <http://www.gnome.org/projects/NetworkManager/>
15478 2005-10-26 Christopher Aillon <caillon@redhat.com>
15480 * gnome/applet.c: Also use translator credits if we don't have
15481 the new GtkAboutDialog (older versions of GTK+)
15483 2005-10-26 Robert Love <rml@novell.com>
15485 * dispatcher-daemon/NetworkManagerDispatcher.c: print actual error string on daemon()
15486 failure; correct usage text for "--no-daemon"
15488 2005-10-25 Dan Williams <dcbw@redhat.com>
15490 * src/NetworkManagerDevice.c
15491 - (get_scan_results): cleanups, deal cleanly with ENODATA signifying
15493 - (free_process_scan_cb_data): unref the device when freeing results
15494 - (nm_device_wireless_process_scan_results): free scan results a bit later
15495 so we don't unref the device underneath ourselves
15497 2005-10-25 Dan Williams <dcbw@redhat.com>
15499 * Back out 2005-10-24 commit from Tor Krill. Patch
15500 causes nameservers never to be removed from named.
15502 2005-10-24 Dan Williams <dcbw@redhat.com>
15504 Clean up wireless scanning and wireless link probing.
15506 * src/NetworkManagerDevice.c
15507 - (nm_device_probe_wireless_link_state): instead of calling nm_get_best_ap(),
15508 just see if there's an activation request on the device, and check the
15509 current link against the activation request access point's ESSID.
15510 - (link_to_specific_ap): increase the # of failed links we tolerate from 3 to 6
15511 - (nm_device_wireless_process_scan_results): actually free our scan data, and
15512 don't call process_scan_results() on zero-length data
15513 - (nm_device_set_wireless_scan_interval): increase the init scan interval to
15514 15 seconds (from 10)
15516 2005-10-24 Dan Williams <dcbw@redhat.com>
15518 Cleanup some applet stuff:
15520 - Animation timeouts. If NM died while the applet was animating,
15521 the applet would not hide itself. This is now fixed.
15523 - Remove some dead code
15525 - Remove nmi_passphrase_dialog_schedule_cancel() and convert uses
15526 to nmi_passphrase_dialog_cancel() since we no longer use threads.
15528 - Track animation timeout using a gboolean rather than the timeout's
15529 ID, since timeout IDs can legally be 0.
15531 2005-10-24 Dan Williams <dcbw@redhat.com>
15533 * src/backends/interface_parser.c
15534 - Add void to function declarations that need it
15535 to match patch from Engin AYDOGAN
15537 * src/backends/interface_parser.h
15538 - Remove unused prototype for ifparser_interfaces()
15540 Patch from Engin AYDOGAN <engin@bzzzt.biz>
15541 * src/backends/interface_parser.h:
15542 - Compile fixes for gcc 4.0.2 (add void)
15544 2005-10-24 Dan Williams <dcbw@redhat.com>
15546 Patch from Tor Krill <tor@krill.nu>
15547 * src/named-manager/nm-named-manager.c
15548 - Write more than just the first nameserver to /etc/resolv.conf
15549 - Write out valid /etc/resolv.conf on exit
15551 2005-10-21 Christopher Aillon <caillon@redhat.com>
15553 * gnome/applet/applet-dbus-vpn.c:
15554 Get rid of spurious newlines in debug console output
15556 2005-10-21 Christopher Aillon <caillon@redhat.com>
15558 * src/backends/NetworkManagerGentoo.c:
15559 Fix path to killall. Patch from Dave Shanker <dshanker@gmail.com>
15561 2005-10-20 Robert Love <rml@novell.com>
15563 * src/NetworkManagerDevice.c: Use fabs() and DBL_EPSILON to avoid a
15564 direct comparison of floating point values, which is never correct.
15565 Also some misc. cleanup.
15567 2005-10-19 Robert Love <rml@novell.com>
15569 * vpn-daemons/vpnc/nm-vpnc.desktop.in: add fields
15571 2005-10-19 Robert Love <rml@novell.com>
15573 * gnome/vpn-properties/nm-vpn-properties.c: Correctly set the
15574 sensitivity of the buttons. Specificaly, do the right thing if
15575 there are no entries.
15577 2005-10-19 Christopher Aillon <caillon@redhat.com>
15579 * configure.in: Update check for adequate wireless-tools
15580 with an AC_TRY_COMPILE for the new symbols we use.
15582 2005-10-19 Dan Williams <dcbw@redhat.com>
15584 * src/NetworkManagerDevice.c
15585 - (process_scan_results): don't drop the last (or only)
15586 access point we see
15588 2005-10-19 Christopher Aillon <caillon@redhat.com>
15590 * src/backends/NetworkManagerSlackware.c:
15591 Patch from Nico <lordllucifer@gmail.com>
15592 - Update the Slackware backend.
15594 2005-10-18 Christopher Aillon <caillon@redhat.com>
15596 * gnome/applet/other-network-dialog.c: Use g_get_host_name ()
15597 if we've got GLib 2.8.0
15599 2005-10-18 Robert Love <rml@novell.com>
15601 * src/NetworkManagerDevice.c: invoke the long-in-the-tooth named
15602 function nm_schedule_state_change_signal_broadcast() when we
15603 deactivate a device, too.
15605 2005-10-18 Robert Love <rml@novell.com>
15607 * gnome/applet/applet.c: nmwa_context_menu_update(): 'iface' could
15608 be used uninitialized.
15610 2005-10-18 Christopher Aillon <caillon@redhat.com>
15612 * test/libnm_glib_test.c: Test unregistering, too.
15614 2005-10-17 Christopher Aillon <caillon@redhat.com>
15616 * configure.in: Bump to 0.5.0
15618 2005-10-17 Dan Williams <dcbw@redhat.com>
15621 - Remove WPA-related constants so they aren't part of the
15624 2005-10-17 Christopher Aillon <caillon@redhat.com>
15626 * gnome/applet/applet.c:
15627 * gnome/applet/applet.h:
15628 Desensitize the 'Connection Information' menu item when there is
15629 no active connection.
15631 2005-10-17 Christopher Aillon <caillon@redhat.com>
15633 * gnome/libnm_glib/libnm_glib.c:
15634 Make libnm_glib_unregister_callback () actually unregister the callback
15636 2005-10-17 Robert Love <rml@novell.com>
15638 * src/NetworkManagerDevice.c: Actually wait 20s, as we intend, not
15639 two seconds -- tries is updated every 1/10 of a second, not every
15642 2005-10-17 Christopher Aillon <caillon@redhat.com>
15644 * gnome/applet/applet-dbus-info.c:
15645 Let D-BUS know that we haven't handled a message when we haven't.
15647 2005-10-17 Robert Love <rml@novell.com>
15649 * src/nm-ip4-config.c: use GPOINTER_TO_UINT and not a straight cast
15650 in order to remain 64-bit clean.
15652 2005-10-17 Christopher Aillon <caillon@redhat.com>
15654 * gnome/applet/applet-dbus-info.c:
15655 Find network encryption keys asynchronously
15657 2005-10-17 Robert Love <rml@novell.com>
15659 * src/backends/NetworkManagerDebian.c,
15660 src/backends/NetworkManagerRedHat,
15661 src/backends/NetworkManagerSuSE.c: allow '#' as a valid resolv.conf
15664 2005-10-17 Robert Love <rml@novell.com>
15666 * src/backends/NetworkManagerSuSE.c: use SYSCONFDIR not open-coded
15669 2005-10-17 Christopher Aillon <caillon@redhat.com>
15671 * src/NetworkManagerDevice.c: (process_scan_results)
15672 Fix logic that checks to see whether we have an ESSID.
15674 2005-10-15 Dan Williams <dcbw@redhat.com>
15676 Move scanning code into NetworkManager rather than use iwlib's
15677 iw_scan() function, so that we can figure out AP capabilities.
15680 - Add AP capability bits
15682 * src/NetworkManagerAP.[ch]
15683 - Add capability field to NMAccessPoint structure
15684 - Add WPA & RSN Information Element fields and accessor
15685 functions to NMAccessPoint
15687 * src/NetworkManagerDevice.c
15688 - Remove usage of iw_scan
15689 - Add scanning code to NetworkManager rather than use
15690 iw_scan() from iwlib
15692 * src/NetworkManagerUtils.[ch]
15693 - (nm_dispose_scan_results): remove, unused
15695 2005-10-14 Christopher Aillon <caillon@redhat.com>
15697 * gnome/libnm_glib/libnm_glib.c:
15698 * gnome/libnm_glib/libnm_glib.h:
15699 Use guint instead of gint for callback IDs.
15701 2005-10-12 Christopher Aillon <caillon@redhat.com>
15703 * gnome/applet/applet.c:
15704 Fix icon animation smoothness issues. nmwa_redraw_timeout gets called
15705 every 1000ms. It will unconditionally call nmwa_update_state which
15706 kills the existing animation timeout and registers a new one with a
15707 callback to draw a new frame every 100ms. There are 11 connecting
15708 icon frames, so the last 2 frames kept getting dropped. Only reset
15709 the animation timeout if we aren't animating.
15711 2005-10-11 Dan Williams <dcbw@redhat.com>
15713 * gnome/applet/applet-dbus-devices.c
15714 - (nmwa_dbus_update_device_info_from_hal), (hal_net_physdev_cb):
15715 We want to grab the product & vendor from net.physical_dev
15716 rather than info.parent.
15718 2005-10-11 Dan Williams <dcbw@redhat.com>
15720 * src/NetworkManagerDevice.c
15721 - Use the driver's WE version for scanning rather than
15722 the WE version NM was compiled with. Fixes random
15723 crashes in iw_scan () in iwlib.
15725 2005-10-10 Dan Williams <dcbw@redhat.com>
15727 * Remove nm_system_load_device_modules() from backend files
15728 and from NetworkManager.c
15730 2005-10-10 Dan Williams <dcbw@redhat.com>
15732 * src/NetworkManagerPolicy.c
15733 - Fix some bugs introduced by the capabilities patch
15735 2005-10-10 Dan Williams <dcbw@redhat.com>
15737 * gnome/applet/applet-dbus-info.c
15738 - (nmi_dbus_get_network_key): hide the menu when putting up
15739 the keyring dialog. (not sure if the code is right...)
15741 2005-10-09 Dan Williams <dcbw@redhat.com>
15743 Patch from Bill Moss <bmoss@clemson.edu>
15744 * src/NetworkManagerDevice.c
15745 - (nm_device_set_user_key_for_network): don't try to set auth
15746 mode on the AP from the allowed list if it's NULL
15748 2005-10-09 Dan Williams <dcbw@redhat.com>
15750 * Replace the "driver support level" stuff with capabilities. The
15751 capability field is a bitfield that is more flexible than the
15752 old driver support level thing. It's mostly so we can easily
15753 figure out what supports WPA and what doesn't, but should be
15754 quite useful later.
15756 2005-10-09 Dan Williams <dcbw@redhat.com>
15763 - Added new "nm-tool" tool that gives quite a bit more
15766 2005-10-07 Robert Love <rml@novell.com>
15768 * gnome/applet/applet-dbus-info.c, gnome/applet/applet.c,
15769 gnome/applet/applet.h, gnome/vpn-properties/nm-vpn-properties.c,
15770 src/dhcp-manager/nm-dhcp-manager.c, test/libnm_glib_test.c,
15771 test/nmtest.c test/nmtestdevices.c: mark functions 'static' as
15774 2005-10-07 Robert Love <rml@novell.com>
15776 * configure.in: Change our compile flags for the betterment of mankind.
15777 Add "-Wstrict-prototypes" because we comply anyhow and missing a
15778 prototype is very bad on 64-bit platforms as types default to int but
15779 sizeof(int) != sizeof(long) and add "-Wmissing-prototypes" &
15780 "-Wmissing-declarations" to warn if we define an exported function
15781 but fail to put it in a header.
15783 2005-10-07 Robert Love <rml@novell.com>
15785 * src/NetworkManagerWireless.c: remove stale, unused function, who goes
15786 by the name nm_update_device_wireless_timeouts() and once tried,
15787 without success, to steal my pet turtle.
15789 2005-10-07 Robert Love <rml@novell.com>
15791 * Cleanup prototypes: put some functions in header files and mark
15792 others as 'static' -- feel free to invert
15793 * src/vpn-manager/nm-dbus-vpn.c: remove prototype of
15794 nm_vpn_manager_vpn_connection_list_copy()
15795 * src/vpn-manager/nm-vpn-act-request.c: remove prototype of
15796 nm_vpn_service_get_dbus_connection()
15797 * src/vpn-manager/nm-vpn-manager.h: add prototypes for
15798 nm_vpn_manager_vpn_connection_list_copy()
15799 * src/vpn-manager/nm-vpn-service.c: make
15800 nm_vpn_service_act_request_failed() and
15801 nm_vpn_service_stage2_daemon_wait() static
15802 * src/vpn-manager/nm-vpn-service.h: add prototype for
15803 nm_vpn_service_get_dbus_connection()
15805 2005-10-06 Christopher Aillon <caillon@redhat.com>
15807 * gnome/applet/applet.c:
15808 * gnome/applet/applet.h:
15809 * gnome/applet/icons/Makefile.am:
15810 Convey information about the current connection stage in the
15811 icons themselves instead of creating a separate progress bar.
15813 2005-10-04 Robert Love <rml@novell.com>
15815 * src/nm-dbus-device.c: Use iw_ether_ntop(), not ether_ntoa_r(), to
15816 convert an ether_addr structure's MAC into a string, because the
15817 latter will drop leading zero's and uses lower-case, e.g. 7:3b:4
15818 versus 07:3B:04, while the former will not.
15820 2005-10-04 Robert Love <rml@novell.com>
15822 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
15823 gnome/applet/nm-device.c, gnome/applet/nm-device.h,
15824 gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
15825 default route in the 'Connection Information' dialog, send primary
15826 and secondary name servers in in "getProperties" DBUS method, add
15827 network_device_{get,set}_{primary,secondary}_dns(), The primary and
15828 secondary domain name servers are crucial pieces of information
15829 that a user might need in debugging a network problem.
15831 2005-10-04 Robert Love <rml@novell.com>
15833 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
15834 gnome/applet/nm-device.c, gnome/applet/nm-device.h,
15835 gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
15836 default route in the 'Connection Information' dialog, send default
15837 route in "getProperties" DBUS method, add network_device_set_route(),
15838 and network_device_get_route(). The Gateway is a crucial piece of
15839 connection-related information that a user might need in debugging a
15842 2005-10-03 Robert Love <rml@novell.com>
15844 * src/backends/NetworkManagerSuSE.c: Fix Glib error, GError must be
15847 2005-10-02 Dan Williams <dcbw@redhat.com>
15849 * Shorten time taken to sleep by fastpathing bits of device deactivation
15850 necessary for sleep.
15852 * Fix issue where deactivating a device might deactivate the active
15853 VPN connection, even if the VPN was not using the device.
15855 2005-10-02 Dan Williams <dcbw@redhat.com>
15857 * gnome/applet/applet.c
15858 - Adjust signal strength -> icon mapping values slightly
15859 (so that 51% signal doesn't show a 75% icon) by adding
15860 5% to the values. ex: > 5% now shows 25% icon, > 30%
15861 shows 50% icon, etc.
15863 2005-09-29 Robert Love <rml@novell.com>
15865 * src/NetworkManager.c: removed unused variable.
15867 2005-09-28 Dan Williams <dcbw@redhat.com>
15869 Support for named + DBus, using Red Hat DBus patches for named. You
15870 can find those patches here, with "dbus" in the patch's filename:
15872 http://cvs.fedora.redhat.com/viewcvs/devel/bind/
15874 Don't forget the named dbus service file either.
15876 Instead of writing a config file and spawing a named process, NM will
15877 use an already-running dbus-enabled named if it finds one. NM will
15878 update named's forwarder configuration on the fly using dbus.
15880 If there is no dbus-enabled named running, NM will automatically fall
15881 back to writing the most-recent DNS server information to /etc/resolv.conf
15882 and calling nm_system_update_dns() to kick the system's resolver.
15884 Accordingly, all named-related configure-time options have been removed.
15886 2005-09-26 Robert Love <rml@novell.com>
15888 * src/backends/NetworkManagerSuSE.c, (nm_system_get_dialup_config): Add
15890 * src/backends/NetworkManagerSuSE.c, (verify_and_return_provider): Fix
15891 bug in error path if "ASKPASSWORD" is "no".
15893 2005-09-26 Robert Love <rml@novell.com>
15895 * src/named-manager/nm-named-manager.c: only '#' is officially a valid
15896 comment in /etc/resolv.conf -- ';' is not.
15898 2005-09-19 Dan Williams <dcbw@redhat.com>
15900 * src/backends/NetworkManagerRedHat.c:
15901 * src/backends/NetworkManagerDebian.c:
15902 * src/backends/NetworkManagerSlackware.c:
15903 * src/backends/NetworkManagerGentoo.c:
15904 * src/backends/NetworkManagerSUSE.c:
15905 Fix invocations of "/sbin/ip address" to use short form instead
15907 2005-09-19 Christopher Aillon <caillon@redhat.com>
15909 * src/nm-dbus-device.c: Don't assert when getting
15910 addresses of a not yet connected interface.
15912 * gnome/applet/applet.c: Free icons if loading fails.
15913 Use translator-credits so translators can make themselves known.
15915 2005-09-15 Christopher Aillon <caillon@redhat.com>
15917 * src/NetworkManagerAP.c:
15918 * src/NetworkManagerAP.h:
15919 * src/NetworkManagerDevice.c:
15920 Set a blacklist for certain common manufacturer default ESSIDs:
15921 APs with these ESSIDs are extremely likely to be completely
15922 different networks: connecting to one should not make NM
15923 auto-connect to every other AP with the same default ESSID.
15925 2005-09-12 Christopher Aillon <caillon@redhat.com>
15927 * gnome/applet/wireless-applet.glade:
15928 The passphrase entry should also activate the default
15930 * src/gnome-keyring-md5.c: Updated code from gnome-keyring
15932 * gnome/applet/applet-dbus-devices.c:
15933 * gnome/applet/applet.c:
15934 * gnome/applet/nm-device.c:
15935 * gnome/applet/nm-device.h:
15936 * src/NetworkManagerUtils.c:
15937 * src/NetworkManagerUtils.h:
15938 * src/nm-dbus-device.c:
15939 I've got a fever, and the only cure for it is less ioctl.
15940 Make NM push IP data rather than make the applet open a socket
15943 2005-09-10 Christopher Aillon <caillon@redhat.com>
15945 * gnome/applet/applet.c:
15946 * gnome/applet/applet-dbus-devices.c:
15947 * gnome/applet/applet-dbus-info.c:
15948 * gnome/applet/passphrase-dialog.c:
15949 * gnome/libnm_glib/libnm_glib.c:
15950 * gnome/vpn-properties/nm-vpn-properties.c:
15952 * src/backends/NetworkManagerRedHat.c:
15953 * src/named-manager/nm-named-manager.c:
15954 * src/NetworkManagerAPList.c:
15955 * src/NetworkManager.c:
15956 * src/NetworkManagerDbus.c:
15957 * src/NetworkManagerDevice.c:
15958 * src/NetworkManagerPolicy.c:
15959 * src/NetworkManagerSystem.c:
15960 * src/nm-dbus-device.c:
15961 * src/nm-dbus-nm.c:
15962 * src/vpn-manager/nm-vpn-manager.c:
15963 * src/vpn-manager/nm-vpn-service.c:
15964 * test/libnm_glib_test.c:
15965 * test/nminfotest.c:
15966 * test/nmtestdevices.c:
15967 Fix a bunch of 'unused variable' compiler warnings
15969 * NetworkManager.h:
15970 * gnome/applet/applet-dbus-info.c:
15971 * gnome/applet/applet-dbus-info.h:
15972 * gnome/applet/applet.c:
15973 * gnome/applet/applet.h:
15974 * src/NetworkManager.c:
15975 * src/NetworkManagerDbus.c:
15976 * src/NetworkManagerDbus.h:
15977 * src/NetworkManagerDevice.c:
15978 * src/NetworkManagerDevice.h:
15979 * src/NetworkManagerMain.h:
15980 * src/NetworkManagerWireless.c:
15981 * src/NetworkManagerWireless.h:
15982 * src/nm-dbus-nm.c:
15983 Make NetworkManager be smart about how frequently to scan
15984 based on its current state. Remove the UI for choosing when
15985 to scan. Scanning still may disabled completely by the user
15986 via the "Wireless Enabled" menu item.
15988 2005-09-09 Christopher Aillon <caillon@redhat.com>
15990 * gnome/applet/applet.c:
15991 Also overlay the vpn connecting icons onto the wired icon,
15994 * gnome/vpn-properties/nm-vpn-properties.glade:
15995 Clean up a few strings to use better grammar and proper casing.
15997 2005-09-08 Christopher Aillon <caillon@redhat.com>
15999 * gnome/applet/vpn-connection.c:
16000 * gnome/applet/vpn-connection.h:
16001 Add nmwa_vpn_connection_is_activating ()
16003 * gnome/applet/applet.c:
16004 * gnome/applet/applet.h:
16005 * gnome/applet/icons/nm-vpn-connecting*.png:
16006 Add new VPN connecting icons from Diana Fong <dfong@redhat.com>, letting
16007 the user know something's happening between clicking the VPN item and it
16008 actually being connected.
16010 2005-09-07 Christopher Aillon <caillon@redhat.com>
16012 * gnome/applet/applet-dbus-info.c: need to free attributes in the
16013 failure case as well.
16015 2005-09-07 Rodrigo Moya <rodrigo@novell.com>
16017 * gnome/panel/eggtrayicon.[ch]:
16018 * examples/python/systray/eggtrayicon.[ch]: updated code from libegg.
16020 2005-09-07 Dan Williams <dcbw@redhat.com>
16022 Patch from Bill Moss <bmoss@clemson.edu>
16023 * src/applet-dbus.c
16024 - (nmwa_dbus_filter): strip whitespace from beginning
16025 and end of VPN login banner
16027 2005-09-07 Dan Williams <dcbw@redhat.com>
16029 * The great VPN Manager rewrite of 2005
16031 2005-09-07 Christopher Aillon <caillon@redhat.com>
16033 * gnome/applet/menu-items.c:
16034 * gnome/applet/nm-device.c:
16035 * gnome/applet/wireless-network.c:
16036 * gnome/libnm_glib/libnm_glib.c:
16037 * src/NetworkManagerDbusUtils.c:
16038 * vpn-daemons/vpnc/src/nm-vpnc-service.c:
16039 g_malloc0 doesn't return NULL
16041 2005-09-06 Dan Williams <dcbw@redhat.com>
16043 Patch from Tomislav Vujec <tvujec@redhat.com>
16044 * src/NetworkManagerDevice.c
16045 - (nm_get_device_by_udi): don't return a device when we
16046 actually didn't find what we were looking for
16048 2005-09-06 Christopher Aillon <caillon@redhat.com>
16050 * gnome/applet/applet-dbus-devices.c:
16051 * gnome/applet/applet-dbus-devices.h:
16052 * gnome/applet/applet-dbus.c:
16053 * src/NetworkManagerDbus.c:
16054 * src/NetworkManagerDbus.h:
16055 * src/NetworkManagerDevice.c:
16056 * src/nm-dbus-device.c:
16057 Make NM push updates about active device strength when it changes,
16058 rather than having the applet poll every 2s.
16060 2005-09-05 Christopher Aillon <caillon@redhat.com>
16062 * gnome/applet/applet-dbus-devices.c: Remove duplicate call to
16063 network_device_set_strength
16065 2005-09-04 Dan Williams <dcbw@redhat.com>
16067 Patch from Bill Nottingham <notting@redhat.com>
16068 * src/NetworkManagerDevice.c
16069 - (nm_device_activation_cancel): reset the quit_activation flag
16071 2005-09-04 Dan Williams <dcbw@redhat.com>
16073 * src/nm-activation-request.c
16074 - (nm_act_request_unref): actually free the structure,
16075 which we didn't seem to be doing before
16077 2005-09-04 Dan Williams <dcbw@redhat.com>
16079 Patch from John Palmieri <johnp@redhat.com>
16080 * gnome/applet/applet-dbus-devices.c
16081 - Fix up unreffing of DBusMessage objects
16083 2005-09-04 Dan Williams <dcbw@redhat.com>
16085 Patch from John Palmieri <johnp@redhat.com>
16086 * gnome/applet/nm-device.c
16087 - (nm_device_unref): clear network_device's memory _before_ freeing it
16089 2005-09-02 Christopher Aillon <caillon@redhat.com>
16091 * gnome/applet/applet.c: Use a check menu item for Wireless Enabled
16093 2005-09-02 Bill Nottingham <notting@redhat.com>
16095 * src/backends/NetworkManagerRedHat.c: use nm_warning, not nm_error
16097 2005-09-01 Dan Williams <dcbw@redhat.com>
16099 * src/NetworkManager.c
16100 - (nm_remove_device_from_list): rename to nm_remove_device
16101 - (nm_hal_device_removed): call nm_remove_device()
16103 * src/NetworkManagerDevice.c
16104 - Change the NMWirelessScanCB member 'reschedule' which
16105 wasn't used to 'force' to indicate that we need to
16106 force a scan when adding a device
16109 - (nm_dbus_nm_sleep): Deactivate all devices and remove them
16110 from the device list
16111 - (nm_dbus_nm_wake): Re-add all devices to the device list
16113 2005-09-01 Robert Love <rml@novell.com>
16115 * gnome/applet/applet.c: nmwa_update_info: iface is used uninitialized
16116 and the check "!iface" in the error case is probably never true.
16118 2005-09-01 Dan Williams <dcbw@redhat.com>
16120 Patch from Bill Nottingham <notting@redhat.com>
16121 * src/backends/NetworkManagerRedHat.c
16122 - Add initial dialup support to Red Hat/Fedora backend
16124 2005-09-01 Dan Williams <dcbw@redhat.com>
16126 * gnome/applet/applet-dbus-devices.c
16127 - Sort both wireless networks and devices again, which got
16128 broken when removing threading
16130 2005-09-01 Christopher Aillon <caillon@redhat.com>
16132 * gnome/applet/applet.c:
16133 Only show the "Stop/Start All Wireless Devices" menuitem
16134 if we actually have wireless devices.
16136 * gnome/applet/applet-dbus-info.c:
16137 * gnome/applet/applet.c:
16138 * gnome/applet/other-network-dialog.c:
16139 * gnome/applet/vpn-password-dialog.c:
16140 Drop the gtk_dialog_run () calls in favor of connecting to
16141 "response" signals, needed now that the applet is not threaded.
16143 2005-08-31 Dan Williams <dcbw@redhat.com>
16145 Patch from Bill Moss <bmoss@clemson.edu>
16146 * src/NetworkManagerDevice.c
16147 - (nm_device_wireless_scan): fix scan timeout values
16149 2005-08-30 Dan Williams <dcbw@redhat.com>
16151 * gnome/applet/wireless-applet.glade
16152 - HIG-ify the Other Wireless Networks dialog a bit more
16153 - Fix some potential segfaults in the info dialog
16155 2005-08-30 Dan Williams <dcbw@redhat.com>
16157 * gnome/applet/applet-dbus-devices.c
16158 - Remove nmwa_dbus_get_hal_device_string_property(); unused
16160 2005-08-30 Dan Williams <dcbw@redhat.com>
16162 * gnome/applet/applet-dbus.[ch]
16163 - Remove all the nmwa_dbus_call_method_xxxx functions since
16164 they weren't being used anyway
16166 2005-08-30 Bastien Nocera <hadess@hadess.net>
16168 * test/nmtestdevices.c: (print_usage), (main):
16169 Check the number of arguments, and fix a typo
16171 2005-08-29 Dan Williams <dcbw@redhat.com>
16173 Patch from Dumitru Ciobarcianu <Dumitru.Ciobarcianu@iNES.RO>
16174 * gnome/applet/applet.c
16175 - Define GTK_STOCK_INFO for GTK 2.6 and lower
16177 2005-08-29 Dan Williams <dcbw@redhat.com>
16180 - Don't use threads any more. Anything that blocks
16181 (like gtk_dialog_run()) will have to get fixed up which
16182 should happen quickly. We really only had threads to make
16183 the animation smooth, and when everything got converted over
16184 to DBus Pending Calls, the need for threads kind of went away
16186 2005-08-29 Christopher Aillon <caillon@redhat.com>
16188 * gnome/applet/applet.c: Draw VPN connections as radio items
16189 since we don't yet support multiple VPNs.
16190 * gnome/applet/other-network-dialog.c: Use stock icon for Connect
16191 * gnome/vpn-properties/nm-vpn-properties.c: Use stock icon for Delete
16193 2005-08-29 Dan Williams <dcbw@redhat.com>
16195 Patch from j@bootlab.org
16196 - Make --without-named work
16197 - Make --with-dhcdbd work correctly
16199 2005-08-27 Josep Puigdemont i Casamajó <josep.puigdemont@gmail.com>
16201 * configure.in: Added "ca" to ALL_LINGUAS.
16203 2005-08-26 Christopher Aillon <caillon@redhat.com>
16205 * Fix up VPN state handling between the applet and NetworkManager,
16206 so that the applet doesn't show a VPN as connected when one
16208 - The applet no longer has a pointer to the active VPN's
16209 name, but tracks each VPNs state individually
16210 - NM no longer has a "getActiveVPNConnection" method
16211 - NM no longer broadcasts the "VPNConnectionChange" signal
16212 - NM now broadcasts a "VPNConnectionStateChange" signal
16213 whenever the state of a VPN changes
16215 2005-08-26 Dan Williams <dcbw@redhat.com>
16217 * gnome/applet/applet-dbus-devices.c
16218 gnome/applet/applet-dbus-vpn.c
16219 - Remove calls to dbus_pending_call_ref() because we already
16220 "own" the pending call
16221 - Remove calls to dbus_pending_call_get_completed() because
16222 when we are in the callback, the pending call is completed
16225 2005-08-22 Dan Williams <dcbw@redhat.com>
16227 Patch by Bill Moss <bmoss@clemson.edu>
16228 * src/dhcp-manager/nm-dhcp-manager.c
16229 - (nm_dhcp_manager_cancel_transaction): Give dhcdbd/dhclient
16230 some time to send out a RELEASE if they like
16232 2005-08-22 Dan Williams <dcbw@redhat.com>
16234 Noticed by Bill Moss <bmoss@clemson.edu>
16235 * src/NetworkManagerDbus.c
16236 - (nm_dbus_get_user_key_for_network_cb): deactivate the device
16237 instead of just cancelling its activation
16239 * src/NetworkManagerDevice.c
16240 - (nm_device_deactivate): some small cleanups
16241 - (nm_device_set_user_key_for_network): deactivate the device
16242 instead of just cancelling its activation
16244 2005-08-22 Dan Williams <dcbw@redhat.com>
16246 Noticed by Bill Moss <bmoss@clemson.edu>
16247 * src/NetworkManagerDevice.c
16248 - (nm_device_wireless_scan): fix scan timeout, we were
16249 waiting way too long for scans to complete
16251 2005-08-22 Dan Williams <dcbw@redhat.com>
16253 Patch from j@bootlab.org:
16254 * src/backends/NetworkManagerDebian.c
16255 - Make the Debian backend work for static IP again
16257 2005-08-20 Christopher Aillon <caillon@redhat.com>
16259 * gnome/applet/other-network-dialog.c:
16260 The "Create New Network" and "Connect to Other Network"
16261 dialogs share alot of code, but shouldn't share a window
16262 title. Give them different ones.
16264 * gnome/applet/wireless-applet.glade:
16265 * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
16266 Some more minor UI tweaks.
16268 2005-08-19 Christopher Aillon <caillon@redhat.com>
16270 * gnome/applet/other-network-dialog.c:
16271 * gnome/applet/wireless-applet.glade:
16272 Also need mnemonic widgets, and underline enabled.
16274 2005-08-19 Dan Williams <dcbw@redhat.com>
16276 * vpn-daemons/vpnc/nm-vpnc-service.c
16277 - (vpnc_watch_cb): remove no-longer-relevant comment
16278 - (write_config_option): new function, helper to write
16279 config options to vpnc's stdin
16280 - (nm_vpnc_config_write): use the new helper, make the
16283 2005-08-19 Christopher Aillon <caillon@redhat.com>
16285 * gnome/applet/passphrase-dialog.c:
16286 * gnome/applet/wireless-applet.glade:
16287 Make the passphrase dialog response based, and treat
16288 responses other than OK (such as Esc, [X]) as a cancel.
16290 2005-08-18 Christopher Aillon <caillon@redhat.com>
16292 * initscript/Gentoo/NetworkManager:
16293 * initscript/RedHat/NetworkManager:
16294 * initscript/RedHat/NetworkManagerDispatcher:
16295 * initscript/SUSE/networkmanager:
16296 CVS remove these in place of .in replacements
16299 * initscript/Gentoo/NetworkManager.in:
16300 * initscript/RedHat/NetworkManager.in:
16301 * initscript/RedHat/NetworkManagerDispatcher.in:
16302 * initscript/SUSE/networkmanager.in:
16303 These scripts now are generated so they work still when
16304 NM is built using a bindir other than /usr/bin
16306 2005-08-18 Dan Williams <dcbw@redhat.com>
16308 * gnome/applet/main.c
16309 - Revert previous change for --no-session since
16310 --sm-disable does the same thing
16312 2005-08-18 Dan Williams <dcbw@redhat.com>
16314 * gnome/applet/applet-dbus-info.c
16315 - (nmi_dbus_create_error_message): new function
16316 - (nmi_dbus_get_key_for_network): correctly use dbus error creation
16317 functions. Also don't check for both device _and_ network before
16318 asking for a user's key, because we may not have gotten all our
16319 networks back from NM quite yet (due to the dbus pending calls
16320 coming in later). Fixes a hang in NM/nm-applet.
16322 * src/NetworkManagerDbus.c
16323 - (nm_dbus_get_user_key_for_network_cb): handle error conditions in a
16324 slightly more sane manner, even though we are still broken for
16325 certain other error conditions.
16326 - (nm_dbus_get_user_key_for_network): need to pass the network's essid
16327 to the info-daemon too
16329 * src/NetworkManagerDevice.c
16330 - Fix some debug messages to be info messages instead
16332 2005-08-18 Dan Williams <dcbw@redhat.com>
16334 * gnome/applet/main.c
16335 - Add new "--no-session" parameter that disables applet
16336 session management, ie for testing
16338 2005-08-18 Christopher Aillon <caillon@redhat.com>
16340 * gnome/applet/other-network-dialog.c:
16341 * gnome/applet/wireless-applet.glade: More mnemonics
16343 2005-08-17 Robert Love <rml@novell.com>
16345 * initscript/SUSE/networkmanager: update
16347 2005-08-17 Dan Williams <dcbw@redhat.com>
16349 * Tag NM_0_4_1_RELEASE
16351 2005-08-17 Christopher Aillon <caillon@redhat.com>
16353 * gnome/applet/applet.c: More translatable string cleanup
16356 2005-08-17 Dan Williams <dcbw@redhat.com>
16358 * gnome/applet/applet-dbus-info.c
16359 - (nmi_dbus_get_key_for_network): Grab new "new_key" parameter
16360 from the dbus message, which tells us to unconditionally
16361 ask the user for a new key. Otherwise, we pull the key from
16362 the keyring and return it. If we fail to get the key from the
16363 keyring, we ask the user for a new key.
16364 - (nmi_dbus_get_network_key): new function to grab the key for
16365 an essid from the keyring.
16366 - (nmi_dbus_get_network_properties): don't access the keyring here.
16367 Also, don't return any key in the dbus message.
16369 * src/NetworkManagerDbus.[ch]
16370 - (nm_dbus_get_user_key_for_network): Add "new_key" parameter to
16371 indicate that we unconditionally want a new key. This function
16372 is now also used to get keys from the info-daemon which are
16373 pre-stored, not just for asking the user for a new key. The
16374 "new_key" parameter indicates whether or not we wish to ask the
16375 user for a new key.
16376 - (nm_dbus_get_network_data_cb): we no longer get a key from the
16377 info-daemon in the return message, so use NULL instead. The
16378 key will be filled in at connect time by calling
16379 nm_dbus_get_user_key_for_network()
16381 * src/NetworkManagerDevice.c
16382 - (nm_device_wireless_configure): update for "new_key" param to
16383 nm_dbus_get_user_key_for_network(). We initially set new_key
16384 to FALSE to see if we have a stored key in the info-daemon, but
16385 if the connection is unsuccessful at this stage we request a
16388 2005-08-17 Dan Williams <dcbw@redhat.com>
16390 * gnome/applet/icons/nm-no-connection.png
16391 gnome/applet/icons/nm-device-wired.png
16392 - Use Diana's new RJ45 connector icons
16394 2005-08-17 Dan Williams <dcbw@redhat.com>
16396 * src/NetworkManagerPolicy.c
16397 - (nm_policy_device_change_check): clarify switching rules if
16398 both new and old devices are valid; mainly, don't switch
16399 away from user-requested wireless connection back to a wired
16402 2005-08-17 Dan Williams <dcbw@redhat.com>
16404 * gnome/applet/Makefile.am
16405 - Relocate the applet to /usr/bin since it is no longer
16406 executed by anything, but directly by the user
16408 2005-08-17 Dan Williams <dcbw@redhat.com>
16410 Patch from Bill Moss <bmoss@clemson.edu>
16412 * gnome/applet/applet-dbus-info.[ch]
16413 - (nmi_save_network_info): save timestamp for network if it
16414 was a change requested by the user
16415 - (nmi_dbus_update_network_info): get user_requested from dbus
16416 message and pass to nmi_save_network_info()
16418 * gnome/applet/applet.c
16419 - (nmwa_update_network_timestamp): remove
16420 - (nmwa_menu_item_activate): don't set timestamp on networks
16421 here, only after a successful connect in nmi_save_network_info()
16423 * src/NetworkManagerDbus.[ch]
16424 - (nm_dbus_update_network_info): pass user_requested into the
16427 * src/NetworkManagerPolicy.c
16428 - (nm_policy_activation_finish): pass user_requested to
16429 nm_dbus_update_network_info()
16431 2005-08-16 Robert Love <rml@novell.com>
16433 * gnome/applet/applet.c: Better "Dial Up" menu item.
16435 2005-08-16 Robert Love <rml@novell.com>
16437 * gnome/applet/applet.c: use GTK_STOCK_INFO not PROPERTIES for the
16438 "Connection Information" menu item.
16440 2005-08-16 Dan Williams <dcbw@redhat.com>
16442 Patch from j@bootlab.org
16443 * vpn-daemons/vpnc/Makefile.am: Fix for autoreconf
16445 * configure.in: allow specifying the path to dhcdbd
16447 2005-08-16 Robert Love <rml@novell.com>
16449 Patch from j@bootlab.org
16450 * src/backends/NetworkManagerDebian.c, src/backends/interface_parser.c,
16451 src/backends/interface_parser.h: Debian dialup support.
16453 2005-08-16 Christopher Aillon <caillon@redhat.com>
16455 * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
16456 * gnome/applet/applet.c: Add some mnemonics for VPNC
16458 * vpn-daemons/.cvsignore: fix this up a little bit
16460 2005-08-16 Robert Love <rml@novell.com>
16462 * src/backends/NetworkManagerSuSE.c: improve the SUSE-backend dial up
16465 2005-08-16 Christopher Aillon <caillon@redhat.com>
16467 * gnome/applet/applet.c: Split markup out of translatable strings
16468 and clean up logic a little bit. (fixes #309012)
16470 2005-08-15 Christopher Aillon <caillon@redhat.com>
16472 * gnome/vpn-properties/nm-vpn-properties.c:
16473 * gnome/vpn-properties/nm-vpn-ui-interface.h:
16474 * vpn-daemons/vpnc/properties/nm-vpnc.c:
16475 Makeshift fix to remove newlines from translatable strings.
16476 Note that we now return an allocated string, so callers of
16477 get_confirmation_details () must now call g_free () on the
16478 result. (fixes #309033).
16480 2005-08-12 Robert Love <rml@novell.com>
16482 * gnome/applet/applet-dbus.c: remove newlines from translatable
16483 strings--not needed here anyway. (fix b.g.o #309011)
16484 * src/nm-netlink.monitor.c: don't translate "%s" (fix b.g.o #172391)
16486 2005-08-11 Robert Love <rml@novell.com>
16488 * gnome/applet/applet.c: mark string as translatable.
16490 2005-08-11 Robert Love <rml@novell.com>
16492 * initscript/SUSE/networkmanager: update.
16494 2005-08-11 Dan Williams <dcbw@redhat.com>
16496 * src/nm-dhcp-manager.c
16497 - (nm_dhcp_manager_get_ip4_config): if for some reason we don't get
16498 an gateway returned from DHCP, try to use the address of the DHCP
16499 server as the gateway instead. Found by Ralf Ertzinger.
16501 2005-08-10 Robert Love <rml@novell.com>
16503 * gnome/applet/applet.c: Make applet->dbus_thread joinable so we can
16504 wait for it on exit; call exit() in nmwa_destroy() to jump ship.
16506 2005-08-10 Dan Williams <dcbw@redhat.com>
16508 Patch from Bill Moss <bmoss@clemson.edu>
16509 * Consolidate writes of access point information updates to the info daemon
16510 so that we only do it when the connection to the access point was
16511 successful. Also consolidates updates to GConf in the Gnome applet.
16513 * src/nm-netlink-monitor.c
16514 - Silence compile warning when calling g_object_new()
16516 2005-08-08 Dan Williams <dcbw@redhat.com>
16518 Patch from Steev <steev@steev.net>:
16519 * src/backends/NetworkManagerGentoo.c
16520 - Stub new dialup backend functions
16522 2005-08-08 Dan Williams <dcbw@redhat.com>
16524 Patch from Colin Slater:
16525 * src/backends/NetworkManagerGentoo.c
16526 - (nm_system_update_dns): Fix exit status check for restarting
16529 2005-08-05 Robert Love <rml@novell.com>
16531 * NetworkManager.h,
16532 gnome/applet/applet-dbus-devices.c,
16533 gnome/applet/applet-dbus-devices.h,
16534 gnome/applet/applet-dbus.c,
16535 gnome/applet/applet.c,
16536 gnome/applet/applet.h,
16537 src/NetworkManager.c,
16538 src/NetworkManagerMain.h,
16539 src/NetworkManagerSystem.h,
16540 src/backends/NetworkManagerRedHat.c,
16541 src/backends/NetworkManagerSuSE.c,
16542 src/nm-dbus-nm.c: basic dialup support using distro infrastructure
16544 2005-08-05 Robert Love <rml@novell.com>
16546 * gnome/applet/other-network-dialog.c: default the adhoc network to the
16547 machine's hostname to make adhoc creation idiot-proof.
16549 2005-08-04 Robert Love <rml@novell.com>
16551 * gnome/applet/other-network-dialog.c: fix leak. "label" needs to be
16554 2005-08-04 Dan Williams <dcbw@redhat.com>
16556 * gnome/applet/applet-dbus-info.c
16557 gnome/applet/applet-dbus-info.h
16558 - (nmi_dbus_update_network_auth_method->nmi_save_network_info): generalize
16559 to store key, key type, and auth method rather than just auth method
16560 - (nmi_dbus_update_network_info): new function
16561 - (nmi_dbus_info_message_handler): updateNetworkAuthMethod -> updateNetworkInfo
16563 * gnome/applet/passphrase-dialog.c
16564 - (nmi_passphrase_dialog_ok_clicked): call nmi_save_network_info() instead
16565 of saving the info ourselves
16567 * gnome/libnm_glib/libnm_glib.c
16568 - Remove the stupid version check for dbus
16570 * src/NetworkManagerAP.c
16571 src/NetworkManagerAP.h
16572 - (nm_ap_get_enc_key_source): return 'const char *' rather than 'char *'
16574 * src/NetworkManagerDbus.c
16575 src/NetworkManagerDbus.h
16576 - (nm_dbus_update_network_auth_method -> nm_dbus_update_network_info): Update
16577 more than just the auth method
16579 * src/NetworkManagerDevice.c
16580 - Update network info at the appropriate times
16582 2005-07-29 Ray Strode <rstrode@redhat.com>
16584 * src/NetworkManager.c (nm_info_handler): don't use input as format
16585 string (Spotted by Ian Jackson).
16587 2005-07-27 Dan Williams <dcbw@redhat.com>
16591 - Random cleanups of spacing
16593 * gnome/applet/applet.h
16594 gnome/applet/other-network-dialog.c
16595 gnome/applet/passphrase-dialog.c
16596 - Conslidate usage of NMWAEncryptionKeyTypes enum
16598 Patch from Bill Moss:
16599 - Make Other Wireless Networks work again with encryption keys
16601 2005-07-26 Dan Williams <dcbw@redhat.com>
16603 Patch from Steev <steev@steev.net>:
16604 * src/backends/NetworkManagerGentoo.c
16605 src/backends/Makefile.am
16606 - Fix up Gentoo backend
16608 2005-07-26 Robert Love <rml@novell.com>
16610 * src/backends/NetworkManagerSuSE.c: misc. cleanup
16612 2005-07-25 Robert Love <rml@novell.com>
16614 * gnome/applet/applet.c: make the "Wired" menu item a radio button,
16615 in the same group as the wireless networks, since they are all
16616 mutually exclusive.
16618 2005-07-24 Ray Strode <rstrode@redhat.com>
16620 * src/nm-netlink-monitor.c (nm_netlink_monitor_new):
16621 remove unneeded NULL arg from g_object_new(). Any
16622 warnings caused by not having the extra NULL are just a
16623 result of a bug in glib 2.7.0 - 2.7.2.
16625 2005-07-22 Robert Love <rml@novell.com>
16627 * gnome/libnm_glib/libnm_glib.c: support D-BUS version 0.35, too
16629 2005-07-22 Robert Love <rml@novell.com>
16631 * src/nm-netlink-monitor.c: g_object_new() needs at least three
16632 parameters (gcc 4.0.2 warning fix).
16634 2005-07-18 Robert Love <rml@novell.com>
16636 Suggested by Aaron Bockover (abockover@novell.com)
16637 * gnome/applet/other-network-dialog.c: ASCII is an acronym, thus
16639 * gnome/applet/passphrase-dialog.c: ditto
16640 * gnome/applet/wireless-applet.glade: ditto
16642 2005-07-13 Dan Williams <dcbw@redhat.com>
16644 Patch from Ray Strode <halfline@gmail.com>
16645 * vpn-daemons/vpnc/nm-vpnc-service.c
16646 - Don't let vpnc daemonize, fixes some races with PID file reading
16648 2005-07-13 Dan Williams <dcbw@redhat.com>
16650 Patch from Ray Strode <halfline@gmail.com>
16651 * Random cleanups for strict CFLAGS
16653 2005-07-07 Dan Williams <dcbw@redhat.com>
16655 Patch from Derek Atkins <warlord@MIT.EDU>
16656 * src/nm-dbus-net.c:
16657 - (nm_dbus_get_ap_from_object_path): differentiate similar ESSIDs
16659 2005-07-07 Dan Williams <dcbw@redhat.com>
16661 Patch from Jos Dehaes <jos_dehaes@fastmail.fm>
16662 * src/backends/NetworkManagerGentoo.c
16663 - Gentoo backend Static IP nameserver fixes
16664 - General Gentoo backend goodness
16666 2005-07-07 Dan Williams <dcbw@redhat.com>
16668 Patch from Bastien Nocera:
16669 * gnome/applet/applet.c
16670 - Fix up error reporting when icons or glade files are missing
16672 2005-07-07 Robert Love <rml@novell.com>
16674 * gnome/applet/applet.c: do not draw the VPN menu's seperator if there
16675 are not any VPN connections above it.
16677 2005-07-07 Robert Love <rml@novell.com>
16679 * gnome/applet/applet.c: whoops, left some "dog" debugging code in.
16681 2005-07-05 Robert Love <rml@novell.com>
16683 * src/NetworkManagerSystem.c: bail out if asked to set a gateway of
16686 2005-07-05 Robert Love <rml@novell.com>
16688 * src/NetworkManagerDevice.c: use link-local (autoip) on DHCP failure
16689 on wired or unencrypted wireless.
16691 2005-07-01 Robert Love <rml@novell.com>
16693 * src/NetworkManagerSystem.c: Print the error via strerror().
16695 2005-06-30 Robert Love <rml@novell.com>
16697 * gnome/vpn-properties/nm-vpn-properties.c: display an error dialog and
16698 then exit if the glade file is not found. currently the application
16701 2005-06-30 Robert Love <rml@novell.com>
16703 * src/nm-dbus-nm.c: Patch by Bill Moss <bmoss@clemson.edu> to
16704 explicitly up all interfaces on wake from sleep.
16706 2005-06-30 Robert Love <rml@novell.com>
16708 * gnome/applet/applet.c: Add right-click menu item "Connection Info"
16709 with information about the currently active connection.
16710 * gnome/applet/applet.h: (ditto)
16711 * gnome/applet/wireless-applet.glade: (ditto), new file
16713 2005-06-30 Robert Love <rml@novell.com>
16715 * src/NetworkManagerDevice.c: g_malloc0 cannot fail.
16716 * src/nm-dbus-nm.c: print when we sleep and wake up.
16717 * gnome/applet/menu-items.c: whitespace, misc. cleanup.
16718 * configure.in: look in "/usr/sbin" for dhcdbd, too. (it shouldn't be
16719 in /sbin unless D-BUS is, folks).
16720 * README: update to reflect nm-applet replacing NetworkManagerInfo.
16722 2005-06-27 Robert Love <rml@novell.com>
16724 * src/nm-dbus-nm.c: fix "setWirelessEnabled" call for the enabling
16727 2005-06-27 Robert Love <rml@novell.com>
16729 * gnome/applet/applet.c: make the 'Wireless Network Discovery' menu
16732 2005-06-26 Robert Love <rml@novell.com>
16734 * src/NetworkManagerDevice.c: be specific about which device in
16737 2005-06-23 Adam Weinberger <adamw@gnome.org>
16739 * src/nm-netlink-monitor.c: correct spelling error.
16741 2005-06-23 Robert Love <rml@novell.com>
16743 * gnome/applet/applet-dbus-info.c: gnome keyring support!
16744 * gnome/applet/passphrase-dialog.c: more of that keyring!
16746 2005-06-23 Robert Love <rml@novell.com>
16748 * configure.in: remove extraneous GNOMEKEYRING directives.
16749 * gnome/applet/Makefile.am: s/GNOMEKEYRING/GNOME_KEYRING/.
16750 * gnome/applet/applet.c: nmwa_icons_init: make style local.
16751 * gnome/applet/passphrase-dialog.c: whitespace.
16753 2005-06-23 Robert Love <rml@novell.com>
16755 * src/NetworkManagerDevice.c: division in assignment was flipped.
16757 2005-06-23 David Zeuthen <david@fubar.dk>
16759 * gnome/applet/vpn-password-dialog.c (child_stdout_data_cb): Send a
16760 signal to the child to indicate that we got what we wanted when we
16761 see two new-lines right after each other.
16762 (nmwa_vpn_request_password): Pass a structure with several members
16763 instead of just the passwords
16765 2005-06-23 Dan Williams <dcbw@redhat.com>
16767 * src/NetworkManager.c
16768 src/NetworkManagerMain.h
16769 - (nm_get_hal_ctx): new function, move Hal initialization code here
16770 - (nm_hal_init): new function, init libhal context then add devices
16771 - (nm_hal_deinit): new function, clean up libhal context
16772 - (nm_data_free): Move Hal cleanup here
16773 - (main): check whether Hal is running, and if so, get a list of
16774 network devices from it
16776 * src/NetworkManagerDbus.c
16777 - (nm_dbus_signal_filter): trap NameOwnerChanged signals for Hal,
16778 and when it appears, get a list of network devices from it. If
16779 Hal goes away, clean up the libhal context
16781 2005-06-22 Robert Love <rml@novell.com>
16783 * dispatcher-daemon/NetworkManagerDispatcher.c: fix FIXME: check
16784 permissions of scripts before executing.
16786 2005-06-21 Robert Love <rml@novell.com>
16788 * initscript/SUSE/networkmanager: update.
16789 * src/backends/NetworkManagerSuSE.c: cleanup.
16791 2005-06-21 Robert Love <rml@novell.com>
16793 * gnome/applet/applet.c: use menu mnemonics.
16794 * gnome/applet/menu-items.c: (ditto)
16796 2005-06-21 Robert Love <rml@novell.com>
16798 * applet/applet-dbus-devices.c: mark non-static functions static.
16799 * applet/applet-dbus-vpn.c: (ditto)
16800 * applet/applet.c: (ditto)
16801 * applet/nm-device.h: (ditto)
16802 * applet/other-network-dialog.c: (ditto)
16803 * applet/passphrase-dialog.c: (ditto)
16804 * NetworkManager.c: (ditto)
16805 * NetworkManagerDbus.c: (ditto)
16806 * NetworkManagerDevice.c: (ditto)
16807 * NetworkManagerPolicy.c: (ditto)
16808 * NetworkManagerUtils.c: (ditto)
16809 * NetworkManagerWireless.c: (ditto)
16810 * NetworkManagerWireless.h: (ditto)
16811 * nm-netlink-monitor.c: (ditto)
16812 * applet/applet-dbus-info.c: (ditto), add FIXME's.
16813 * vpn-manager/nm-dbus-vpn.c: (ditto), remove shadowed variable.
16814 * autoip.c: include autoip.h.
16815 * autoip.h: new file. define get_autoip().
16816 * nm-netlink-monitor.h: define nm_netlink_close_connection().
16817 * NetworkManagerDbus.h: remove duplicate definitions.
16819 2005-06-20 Robert Love <rml@novell.com>
16821 * Makefile.am: Add missing intltool-foo.in generated files to
16822 EXTRA_DIST so that 'distcheck' works. Also add DISTCLEANFILES
16823 with the start of stuff to cleanup on 'distclea'.
16824 * configure.in: add AC_PROG_INTLTOOL macro so that we do the intltool
16825 stuff right and 'distcheck' works.
16826 * po/POTFILES.in: Remove examples/python/systray/eggtrayicon.c. If
16827 we keep it, we need to add all of examples/* to EXTRA_DIST and do
16828 Makefile.am for each. And systray/Makefile needs to be redone.
16830 2005-06-19 Dan Williams <dcbw@redhat.com>
16832 * src/NetworkManagerDevice.c
16833 - (nm_device_wireless_process_scan_results): scan every 20s when
16834 disconnected and scanning is ALWAYS_SCAN or WHEN_UNASSOCIATED
16836 2005-06-19 Dan Williams <dcbw@redhat.com>
16838 * WEXT_DEBUG->IOCTL_DEBUG, extend checking to all ioctl() calls
16840 2005-06-18 Ray Strode <rstrode@redhat.com>
16842 * src/nm-netlink-monitor.c
16843 (nm_netlink_monitor_event_handler): check for the presence
16844 of either error condition not both.
16846 (nm_netlink_monitor_error_handler): emit error signal if
16849 (nm_netlink_monitor_event_handler),
16850 (nm_netlink_monitor_error_handler),
16851 (nm_netlink_monitor_disconnect_handler): if an
16852 assertion fails disconnect the event handler to prevent
16855 * src/nm-netlink-monitor.h: add new error condition
16856 NM_NETLINK_MONITOR_ERROR_WAITING_FOR_SOCKET_DATA
16858 2005-06-18 Ray Strode <rstrode@redhat.com>
16860 * src/nm-netlink-monitor.c
16861 (nm_netlink_monitor_event_handler): remove bogus < 0
16862 check on unsigned value and return early if the kernel
16863 didn't send any bytes.
16865 2005-06-17 Robert Love <rml@novell.com>
16867 * initscript/SUSE/networkmanager: Change the Provides and default
16870 2005-06-16 Dan Williams <dcbw@redhat.com>
16872 Patch from Robert Love:
16873 * gnome/applet/applet.c
16874 - Beautify some applet menu item names
16876 2005-06-17 David Zeuthen <davidz@redhat.com>
16878 * gnome/vpn-properties/nm-vpn-ui-interface.h: Require users of this
16879 API to define NM_VPN_API_SUBJECT_TO_CHANGE to acknowledge API churn.
16880 Also add new methods can_export, import_file and export.
16882 * gnome/vpn-properties/nm-vpn-properties.glade: Add an Export button
16885 * gnome/vpn-properties/nm-vpn-properties.c:
16886 Define NM_VPN_API_SUBJECT_TO_CHANGE so we can actually include
16887 nm-vpn-ui-interface.h.
16888 (update_edit_del_sensitivity): Also update "Export" sensitivity
16889 (add_vpn_connection): Also add new SVC_NAME column
16890 (import_settings): New function
16891 (retrieve_data_from_selected_connection): New function
16892 (edit_cb): Use retrieve_data_from_selected_connection to simplify
16894 (export_cb): New function
16895 (init_app): Also setup the "export" widget
16896 (main): Support the --import-service and --import-file commandline
16899 * gnome/libnm_glib/libnm_glib.c (libnm_glib_dbus_filter): Also support
16902 2005-06-16 Dan Williams <dcbw@redhat.com>
16904 Patch from Robert Love:
16905 * gnome/applet/menu-items.c
16906 - (network_menu_item_new): pass -1 as wireless network
16907 menu items height size request rather than ascent / 2
16909 2005-06-16 Dan Williams <dcbw@redhat.com>
16911 * Clean up wording in Wireless Scan Methods menu items and constants
16913 2005-06-16 Robert Love <rml@novell.com>
16916 - remove gtkcell* files
16918 2005-06-15 Dan Williams <dcbw@redhat.com>
16920 Patch from Robert Love: make the applet stetic
16922 * gnome/applet/Makefile.am
16923 - Don't compile the gtkcellview and gtkcellrendererprogress files
16925 * gnome/applet/gtkcellview.h
16926 gnome/applet/gtkcellview.c
16927 gnome/applet/gtkcellrendererprogress.h
16928 gnome/applet/gtkcellrendererprogress.c
16931 * gnome/applet/menu-items.c
16932 - Progress bars are 5:1 size ratio
16933 - Use GTK progress bars rather than internal ones
16935 2005-06-15 Dan Williams <dcbw@redhat.com>
16937 Patch from Robert Love:
16938 * initscript/SUSE/networkmanager
16941 2005-06-15 Dan Williams <dcbw@redhat.com>
16943 * src/backends/NetworkManagerSuSE.c
16944 src/backends/NetworkManagerRedHat.c
16945 src/backends/NetworkManagerDebian.c
16946 - (set_ip4_config_from_resolv_conf): Fix typo I made, '==' -> '='
16948 2005-06-15 Dan Williams <dcbw@redhat.com>
16950 * src/backends/NetworkManagerDebian.c
16951 - Add nm_system_device_get_use_dhcp() to debian backend
16953 Patch from Kay Sievers:
16954 * src/backends/NetworkManagerSuSE.c
16955 - Update debian backend for static IP nameservers
16957 * src/NetworkManagerDevice.c
16958 - Actually set the device to use static IP or DHCP rather
16961 2005-06-15 Dan Williams <dcbw@redhat.com>
16963 Patch from Thom May:
16964 * src/backends/NetworkManagerDebian.c
16965 - Update debian backend for static IP nameservers
16967 2005-06-15 Dan Williams <dcbw@redhat.com>
16969 Patches from Robert Love:
16970 * gnome/applet/wireless-applet.glade
16971 - Tighten up wording
16973 * src/NetworkManagerDevice.c
16974 - Remove misplaced ';'
16977 initscript/Makefile.am
16978 initscript/SUSE/Makefile.am
16979 initscript/SUSE/networkmanager
16980 - Add SUSE initscript
16982 2005-06-12 David Zeuthen <davidz@redhat.com>
16984 * gnome/vpn-properties/nm-vpn-ui-interface.h: New file
16986 * gnome/vpn-properties/nm-vpn-properties.glade: New file
16988 * gnome/vpn-properties/nm-vpn-properties.c: New file
16990 * gnome/vpn-properties/Makefile.am: New file
16992 * src/vpn-manager/nm-vpn-manager.h: Rework prototypes to take an
16995 * src/vpn-manager/nm-vpn-manager.c
16996 (nm_vpn_manager_activate_vpn_connection): Take an array of passwords
16997 instead of just a single one
16999 * src/vpn-manager/nm-dbus-vpn.c:
17000 (nm_dbus_vpn_get_vpn_connection_properties): Also append service_name
17002 (nm_dbus_vpn_activate_connection): Rework to take an array of passwords
17004 * gnome/applet/vpn-password-dialog.h (nmwa_vpn_request_password):
17005 Change the interface here to give a list of passwords. Also, don't
17006 require username, but do require service
17008 * gnome/applet/vpn-password-dialog.c: Look up the VPN .name files for
17009 the binary for the auth-dialog and use that instead of putting up a
17010 dialog asking for a single password
17012 * gnome/applet/vpn-connection.[ch]: Don't remember the user_name,
17013 however do remember the service
17015 * gnome/applet/main.c (main): Setup i18n
17017 * gnome/applet/applet.c (nmwa_update_state): Add a line "VPN
17018 connection to '%s'" to the tooltip if we are connected using VPN
17019 (nmwa_menu_vpn_item_activate): Check last_attempt_success gconf
17020 key to determine whether we the auth-dialog needs to
17021 reprompt. Also cope with the fact that the auth-dialog now returns
17022 an array of passwords.
17023 (nmwa_menu_configure_vpn_item_activate): New handler for
17024 "Configure VPN..." menu item
17025 (nmwa_menu_add_vpn_menu): Add the "Configure VPN..." menu item
17026 (is_vpn_available): New function to determine if we got any
17027 NM-compatible VPN software installed
17028 (nmwa_menu_add_devices): Use is_vpn_available to add VPN menu
17029 items only if we have NM-compatible VPN software installed
17030 (nmwa_gconf_vpn_connections_notify_callback): Slightly rework the
17031 logic for detecting when VPN connections are removed
17033 * gnome/applet/applet-dbus.h: Removed the prototypes for
17034 nmwa_dbus_vpn_activate_connection, nmwa_dbus_vpn_deactivate_connection
17035 since these are defined elsewhere
17037 * gnome/applet/applet-dbus.c (set_vpn_last_attempt_status): New
17038 function used to keep track of whether the last attempt succeded
17039 (nmwa_dbus_filter): Update last_attempt according to whether the
17040 VPN connection could be established or not
17042 * gnome/applet/applet-dbus-vpn.h (nmwa_dbus_vpn_deactivate_connection):
17043 Change prototype to take an array of passwords, not just a single
17046 * gnome/applet/applet-dbus-vpn.c (nmwa_dbus_vpn_properties_cb): Only
17047 update service, not user
17048 (nmwa_dbus_vpn_remove_one_vpn_connection): Check that applet->
17049 dbus_active_vpn_name is not NULL before using it
17050 (nmwa_dbus_vpn_activate_connection): Send the passwords as a
17051 string array instead of assuming a single password
17053 * gnome/applet/applet-dbus-info.c:
17054 (nmi_dbus_get_vpn_connection_properties): Use the logged in user for
17055 user name; don't read from gconf
17057 * gnome/applet/Makefile.am: Also export SYSCONFDIR and
17060 * gnome/Makefile.am (SUBDIRS): Add vpn-properties
17062 * configure.in: Add checks for gmodule-2.0.
17063 Generate gnome/vpn-properties/Makefile. Don't generate any Makefile's
17064 in vpn-daemons nor vpn-daemons/vpnc. We have separate autotooled
17065 projects under vpn-daemons now. See vpn-daemons/vpnc/Changelog
17068 * vpn-daemons/Makefile.am: Removed
17070 * vpn-daemons/README: New file to describe extensions points for VPN
17073 2005-06-10 Dan Williams <dcbw@redhat.com>
17075 * src/backends/NetworkManagerRedHat.c
17076 - (get_current_profile_name): new function, grab current network profile name from
17077 /etc/sysconfig/network
17078 - (set_ip4_config_from_resolv_conf): new function, parse a resolv.conf and
17079 update an IP4 Config structure's settings from it
17080 - (nm_system_device_get_system_config): if we're using static IP on this device,
17081 get DNS info from current network profile
17083 2005-06-09 Dan Williams <dcbw@redhat.com>
17085 Patch from Robert Love:
17086 * src/NetworkManagerDevice.c
17087 src/NetworkManagerUtils.c
17088 - 64-bit build fixes
17090 2005-06-09 Dan Williams <dcbw@redhat.com>
17092 Patch from Kay Sievers and Robert Love:
17094 src/backends/Makefile.am
17095 src/backends/NetworkManagerSuSE.c
17098 2005-06-09 Dan Williams <dcbw@redhat.com>
17101 - Add NMWirelessScanMethod enum for scan methods
17103 * gnome/applet/applet-dbus-devices.c
17104 - (nmwa_dbus_update_scanning_enabled_cb): remove
17105 - (nmwa_dbus_update_scanning_enabled): remove
17106 - (nmwa_dbus_update_devices): don't call nmwa_dbus_update_scanning_enabled() anymore
17107 since it got removed
17108 - (nmwa_dbus_enable_scanning): remove
17110 * gnome/applet/applet-dbus-info.c
17111 - (nmi_dbus_signal_update_scan_method): new function, signal NetworkManager to
17112 update the wireless scanning method from NMI
17113 - (nmi_dbus_get_wireless_scan_method): new function, return wireless scanning
17114 method value to NetworkManager
17115 - (nmi_dbus_info_message_handler): respond to the "getWirelessScanMethod" method call
17117 * gnome/applet/applet-dbus-info.h
17118 - Add prototype for nmi_dbus_signal_update_scan_method
17120 * gnome/applet/applet.c
17121 - (scanning_menu_update): new function, update one GtkCheckMenuItem from the
17122 Wireless Scanning menu based on current wireless scan method
17123 - (nmwa_menu_scanning_item_activate): new function, callback for GTK "activate"
17124 signal for Wireless Scanning menu items, tell NetworkManager the new method
17125 and update our menu items to make sure the right one is checked
17126 - (nmwa_set_scanning_enabled_cb): remove
17127 - (nmwa_context_menu_update): remove references to pause_scanning_item
17128 - (nmwa_context_menu_create): remove pause_scanning_item, and add new Wireless
17130 - (nmwa_gconf_get_wireless_scan_method): new method, pull wireless scanning method
17132 - nmwa_gconf_networks_notify_callback -> nmwa_gconf_info_notify_callback: generalize
17133 so we get notified of preference values too
17134 - (nmwa_get_instance): monitor GCONF_PATH_WIRELESS rather than GCONF_PATH_WIRELESS_NETWORKS
17136 * gnome/applet/applet.h
17137 - GCONF_PATH_WIRELESS added, one level below GCONF_PATH_WIRELESS_NETWORKS
17138 - Add wireless scan method member to applet data
17139 - Remove pause_scanning_item, add Wireless Scanning submenu
17141 * src/NetworkManager.c
17142 - (nm_data_new): default to NM_SCAN_METHOD_ON
17143 - (main): grab scanning method from NMI if we can
17145 * src/NetworkManagerDbus.c
17146 - (nm_dbus_update_wireless_scan_method_cb): new function, callback from
17147 nm_dbus_update_wireless_scan_method()
17148 - (nm_dbus_update_wireless_scan_method): new function to grab scanning method
17150 - (nm_dbus_nmi_is_running): redundant function, removed
17151 - (nm_dbus_signal_filter): trap "WirelessScanMethodUpdate" signal, grab scanning method
17152 when NMI comes back
17154 * src/NetworkManagerDevice.c
17155 - (nm_device_is_activated): return TRUE if the device is activated
17156 - (nm_device_wireless_scan): don't scan if the scan method is OFF, or if its AUTO
17157 and we are activated
17160 - (nm_dbus_nm_set_scanning_enabled): removed
17161 - nm_dbus_nm_get_scanning_enabled -> nm_dbus_nm_get_wireless_scan_method
17162 - (nm_dbus_nm_methods_setup): remove [get | set] ScanningEnabled and add "getWirelessScanMethod"
17164 2005-06-09 Dan Williams <dcbw@redhat.com>
17167 src/vpn-manager/nm-vpn-service.c
17168 - NM_VPN_STATE_ERROR -> NM_VPN_STATE_UNKNOWN (more consistent with other enums)
17170 2005-05-27 Dan Williams <dcbw@redhat.com>
17172 * vpn-daemons/vpnc/nm-vpnc-service.c
17173 - (vpnc_watch_cb): wait a bit before trying to read vpnc's pidfile.
17174 Should fix the bug where the VPN connection terminates the first time.
17176 2005-05-20 Dan Williams <dcbw@redhat.com>
17179 - Differentiate VPN config signals between bad VPN config options
17182 * gnome/applet/applet-dbus-info.h
17183 - Add prototypes for wireless network and vpn connection update functions
17185 * gnome/applet/applet-dbus.c
17186 - (nmwa_dbus_filter): trap new VPN config error signals from NetworkManager
17188 * gnome/applet/applet.c
17189 - (nmwa_schedule_vpn_failure_dialog): new dialog text for new VPN config
17191 - (nmwa_gconf_networks_notify_cb): re-enable wireless network change notify
17192 propogation to NetworkManager
17193 - (nmwa_gconf_vpn_connections_notify_cb): re-enable vpn connection change
17194 notify propogation to NetworkManager
17196 * src/NetworkManagerDbus.c
17197 - (nm_dbus_update_one_allowed_network): make sure to specify which AP list we
17198 are updating so a network can be removed from it if necessary
17200 * src/vpn-manager/nm-vpn-manager.c
17201 - (nm_vpn_manager_process_signal): trap new vpn config error signals
17203 * vpn-daemons/vpnc/nm-vpnc-service.c
17204 - (nm_vpnc_dbus_signal_failure): generalize function for all VPN error signals
17205 - (nm_vpnc_dbus_signal_launch_failed): remove
17206 - (nm_vpnc_dbus_signal_connect_failed): remove
17207 - (nm_vpnc_helper_timer_cb): update for new generalized error signal function
17208 - (nm_vpnc_schedule_helper_timer): increase timeout to 10s
17209 - (vpnc_watch_cb): don't whine about exit code if vpnc exited cleanly, update
17210 for new generalized error signal function, remove config file stuff
17211 - (nm_vpnc_start_vpnc_binary): grab a stdin pipe to vpnc after spawning it so
17212 we can write configuration options to it
17213 - (nm_vpnc_config_file_generate): removed
17214 - (nm_vpnc_config_write): write configuration options to the vpnc stdin pipe
17215 - (nm_vpnc_config_options_validate): validate the config options we receive
17216 from NetworkManager to block potential exploits
17217 - (nm_vpnc_dbus_handle_start_vpn): call option validation function before
17219 - (nm_vpnc_dbus_process_helper_config_error): actually propogate config error
17222 2005-05-16 Dan Williams <dcbw@redhat.com>
17224 * vpn-daemons/vpnc/nm-vpnc-service-vpnc-helper.c
17225 - (main): Work correctly with vpnc 0.3.3 by exiting if the "reason" code
17228 2005-05-16 Dan Williams <dcbw@redhat.com>
17230 Patch from Tomislav Vujec <tvujec@redhat.com>
17231 * gnome/applet/applet-dbus-info.c
17232 - (nmi_dbus_get_vpn_connection_routes): new function, pull routes out of
17233 GConf and pass them to NetworkManager. New key is 'routes' under
17234 the VPN connection, and should be a string list
17236 * src/NetworkManagerSystem.c
17237 - (nm_system_vpn_device_set_from_ip4_config): if user-defined routes exist,
17238 set them on the device when we set the rest of the VPN config. Ensure
17239 they are in the correct format since they are passed directly to the
17242 * src/backends/NetworkManagerRedHat.c
17243 src/backends/NetworkManagerDebian.c
17244 - (nm_system_device_add_route_via_device_with_iface): new function
17246 * src/vpn-manager/nm-dbus-vpn.c
17247 - (nm_dbus_vpn_get_routes): grab VPN routes from NetworkManagerInfo
17249 * src/vpn-manager/nm-vpn-manager.c
17250 - (nm_vpn_manager_handle_ip4_config_signal): grab routes from NMI and pass
17251 them into the IP4 config functions
17253 2005-05-15 Dan Williams <dcbw@redhat.com>
17255 From Filip Miletic:
17259 - Serbian translation added
17261 2005-05-15 Dan Williams <dcbw@redhat.com>
17263 * dispatcher-daemon/NetworkManagerDispatcher.c
17264 - (main): sync arguments with NetworkManager and the applet, now use
17265 "--no-daemon" rather than "daemon=no"
17266 - (nmd_print_usage): Fix script path in usage message
17268 2005-05-15 Dan Williams <dcbw@redhat.com>
17270 * src/NetworkManagerDevice.[ch]
17271 src/NetworkManagerPolicy.c
17272 src/NetworkManager.c
17274 - Remove the "just_added" parameter from nm_device_deactivate(). We no
17275 longer send the DeviceNoLongerActive signal unconditionally, but only
17276 when the device is actually active.
17278 * dispatcher-daemon/NetworkManagerDispatcher.c
17279 - (nmd_execute_scripts): convert to GLib directory functions from opendir(),
17280 and simplify the logic
17281 - (nmd_get_device_name): copy value from dbus reply so we don't segfault when
17282 we free it later on
17284 * initscript/RedHat/Makefile.am
17285 initscript/RedHat/NetworkManagerDispatcher
17286 - Add initscript for NetworkManagerDispatcher
17289 Patch from Bill Moss:
17290 * dispatcher-daemon/NetworkManagerDispatcher.c
17291 - Remove IP4AddressChange signal code including nmd_get_device_ip4_address()
17293 * src/NetworkManagerDbus.c
17294 - (nm_dbus_signal_device_ip4_address_change): remove. If the device goes up,
17295 and DeviceNowActive gets signaled, then the device has a new IP address
17296 anyway. There's no need for a separate signal.
17298 * src/NetworkManagerDevice.c
17299 - (nm_device_update_ip4_address): Don't send IP4AddressChange signal
17301 * src/NetworkManagerPolicy.c
17302 - (nm_policy_activation_finish): Send DeviceNowActive signal when the device
17303 activates successfully. This kind of went missing when I reworked the
17306 2005-05-15 Dan Williams <dcbw@redhat.com>
17309 - Check for dhcdbd and error if its not found
17311 * src/dhcp-manager/Makefile.am
17312 src/dhcp-manager/nm-dhcp-manager.c
17313 - Use path to dhcdbd that configure found
17315 2005-05-14 Dan Williams <dcbw@redhat.com>
17317 * gnome/applet/nm-device.c
17318 - (network_device_sort_wireless_networks, sort_networks_function): New functions to
17319 sort wireless networks alphabetically
17321 * gnome/applet/applet-dbus-devices.c
17322 - (mwa_dbus_devices_lock_and_copy): Sort network device's wireless network lists
17323 before copying them over to the GUI
17325 2005-05-14 Dan Williams <dcbw@redhat.com>
17327 * src/NetworkManager.c
17328 - (device_stop_and_free): Deactivate VPN connections before deactivating devices,
17329 fixes a deadlock on shutdown with a VPN connection active. This function locks
17330 the device list, as does nm_get_active_device() which is called from
17331 nm_vpn_manager_deactivate_vpn_connection().
17333 2005-05-14 Dan Williams <dcbw@redhat.com>
17336 - Add signals for VPN Launch and Connect failures
17338 * gnome/applet/applet-dbus.c
17339 - (nmwa_dbus_filter): Trap new VPN launch & connect failure signals
17341 * gnome/applet/applet.c
17342 - (nmwa_show_vpn_failure_dialog): generalize old nmwa_show_vpn_login_failure_dialog()
17343 function to handle all VPN failure messages
17344 - (nmwa_schedule_vpn_failure_dialog): generalize old nmwa_schedule_vpn_login_failure_dialog()
17345 function to hanlde all VPN failure messages
17346 - (show_warning_dialog): work around focus-stealing prevention
17348 * gnome/applet/other-network-dialog.c
17349 gnome/applet/passphrase-dialog.c
17350 - (update_button_cb): Make sure the OK button is enabled when it should be, fixes
17351 problem where it never enabled for ASCII Key and Hex Key types
17353 * gnome/applet/wireless-applet.glade
17354 - Add window title to Other Wireless Network Dialog
17356 * src/vpn-manager/nm-dbus-vpn.c
17357 - (nm_dbus_vpn_signal_vpn_failed): generalize old nm_dbus_vpn_signal_vpn_login_failed()
17358 function to handle all VPN failure messages
17360 * src/vpn-manager/nm-vpn-manager.c
17361 - (nm_vpn_manager_process_signal): trap and proxy VPN launch & connect failure signals too
17363 * vpn-daemons/vpnc/nm-vpnc-service.c
17364 - (nm_vpnc_dbus_signal_launch_failed): new function
17365 - (nm_vpnc_dbus_signal_connect_failed): new function
17366 - (nm_vpnc_helper_timer_cb): signal connect failure on timeout
17367 - (vpnc_watch_cb): signal connection failure when vpnc exits with connection failure
17368 - (nm_vpnc_start_vpnc_binary): search a number of locations for vpnc
17369 - (nm_vpnc_dbus_handle_start): send launch failure signal when we fail to launch vpnc
17371 2005-05-11 Dan Williams <dcbw@redhat.com>
17373 * vpn-daemons/vpnc/nm-vpnc-service.c
17374 - (nm_vpnc_start_vpnc_binary): NULL-ify GError before using it
17375 - (nm_vpnc_config_file_generate): Attempt to ensure that the path for the config
17376 file exists before trying to write it out.
17378 2005-05-10 Dan Williams <dcbw@redhat.com>
17380 * gnome/applet/applet-dbus-device.c
17381 - (nmwa_dbus_set_device): remove check for valid key and key type, which
17382 prevented just entering ESSID and leaving key and key type up to
17383 NetworkManager (which should have them already cached)
17385 2005-05-08 Dan Williams <dcbw@redhat.com>
17387 * src/NetworkManagerPolicy.c
17388 - (nm_policy_activation_finish): Don't set NM_ACT_STAGE_ACTIVATED here, instead...
17389 - (nm_policy_schedule_activation_finish): Set NM_ACT_STAGE_ACTIVATED here to
17390 fix a situation where NM is told to terminate and the device stops activation,
17391 but the main thread isn't aware of that because it would never have run
17392 nm_policy_activation_finish() to set the ACTIVATED flag, because the main loop
17395 * src/NetworkManagerDevice.c
17396 - (nm_device_probe_wired_link_state): cosmetic fixes
17397 - (nm_device_activate_stage5_ip_config_commit): Don't check link state if
17398 we've failed to activate or been canceled.
17399 - (nm_ac_test): nm_debug -> nm_info for "waiting for device to cancel" message
17401 2005-05-08 Dan Williams <dcbw@redhat.com>
17403 * src/NetworkManagerWireless.c
17404 - (nm_wireless_qual_to_percent): Fix #if -> #ifdef, print out the "updated"
17405 value of WEXT quality structures, and add a debug message when we cannot
17406 determine any quality % at all
17408 2005-05-08 Dan Williams <dcbw@redhat.com>
17410 * src/dhcp-manager/nm-dhcp-manager.c
17411 - (nm_dhcp_manager_begin_transaction): Tell dhclient to release leases when
17414 2005-05-06 Dan Williams <dcbw@redhat.com>
17416 * gnome/applet/applet-dbus-device.c
17417 gnome/applet/applet-dbus-info.c
17418 gnome/applet/applet-dbus.c
17419 gnome/applet/applet.c
17420 gnome/applet/applet.h
17421 - (nmwa_get_device_for_nm_device) -> (nmwa_get_device_for_nm_path)
17423 * gnome/applet/applet-dbus.c
17424 - (nmwa_dbus_filter): trap DeviceCarrierOn/DeviceCarrierOff signals
17425 so we notice when wired device's carriers come back on. Should
17426 fix issue with wired devices being grayed out even if the cable
17427 is in, for devices that support carrier detection.
17429 * gnome/applet/applet.c
17430 - (nmwa_driver_notify): bash focus-stealing prevention in the face
17431 - (nmwa_act_stage_to_pixbuf): Clarify wireless ACT_STAGE_DEVICE_CONFIG
17433 - (nmwa_menu_item_activate, nmwa_menu_add_device_item, nmwa_menu_item_data_free):
17434 Fix situation where applet wouldn't respond to menu selections
17436 * src/NetworkManager.c
17437 src/NetworkManagerDevice.c
17438 src/NetworkManagerDbus.c
17439 src/NetworkManagerDbus.h
17440 - (nm_dbus_signal_device_status_change) -> (nm_dbus_schedule_device_status_change_signal)
17442 * src/NetworkManagerDbus.c
17443 - (nm_dbus_send_network_not_found, nm_dbus_schedule_network_not_found_signal):
17444 Remove, no longer used or relevant
17445 - (nm_dbus_signal_device_status_change): Better signal enum->string matching
17446 - (nm_dbus_schedule_device_status_change_signal): add
17448 * src/NetworkManagerDevice.c
17449 - (nm_device_worker_thread_stop): don't try to join a NULL worker thread
17450 - (nm_device_set_link_active): Fix up switching for non-carrier-detect devices,
17451 ie don't deactivate them unless explicitly told to by the user. Also send
17452 CARRIER_OFF / CARRIER_ON signals when link changes
17453 - (nm_device_set_essid, nm_device_set_enc_key, nm_device_is_up, nm_device_set_mode):
17454 Don't print error message when device is no longer around
17455 - (nm_device_deactivate): kill any current DHCP process attached to this device,
17456 not just during activation
17458 * src/NetworkManagerPolicy.c
17459 - (nm_policy_auto_get_best_device): Ignore semi-supported devices completely from
17460 auto-device-selection.
17461 - (nm_policy_device_change_check): Don't interrupt semi-supported devices
17463 * src/NetworkManagerSystem.c
17464 - (nm_system_device_set_up_down_with_iface): Quiet first warning message when device
17465 is no longer present (Bill Moss)
17467 * src/backends/shvar.c
17468 - (svOpenFile): Open read-only to make SELinux happy
17470 * src/backends/NetworkManagerRedHat.c
17471 - (nm_system_device_get_system_config): Use SYSCONFDIR rather than hardcoding
17472 the path to the ifcfg-* files
17474 2005-05-05 Dan Williams <dcbw@redhat.com>
17476 * Expose activation stages to NetworkManager clients, like the applet
17477 * Add Diana's progress icons to the applet, cued off NM activation stage
17478 * Use more descriptive tooltips, cued off NM activation stage
17480 2005-05-05 Ray Strode <rstrode@redhat.com>
17482 * src/nm-netlink-monitor.c:
17483 - Use clear_event_source instead of g_nullify_pointer() again.
17485 2005-05-05 Dan Williams <dcbw@redhat.com>
17487 * gnome/applet/main.c
17488 - Fix session management so the applet is actually managed now
17490 * gnome/applet/passphrase-dialog.c
17491 - (nmi_passphrase_dialog_show): bash focus-stealing prevention in the face
17493 2005-05-05 Dan Williams <dcbw@redhat.com>
17495 Patch from Bill Moss:
17496 * gnome/libnm_glib/libnm_glib.c
17497 - Fix for dbus-0.33
17499 2005-05-05 Dan Williams <dcbw@redhat.com>
17501 Suggestion from Bill Moss:
17502 * src/NetworkManagerSystem.c
17503 - (nm_system_device_set_up_down_with_iface): ignore ENODEV
17506 * src/NetworkManager.c
17507 - (nm_data_free): move destruction of the various managers after
17508 release of device list, because deactivating and freeing a device
17509 requires at least the named manager
17510 - (nm_poll_and_update_wireless_link_state):
17511 (nm_device_link_activated):
17512 (nm_device_link_deactivated):
17513 don't grab the device list lock when actually updating device
17514 link status or strength, since nm_device_set_link_active()
17515 needs to call nm_get_active_device(), which also locks the device list.
17517 * src/NetworkManagerDevice.c
17518 - (nm_device_set_link_active): if a device's link switches from off->on,
17519 and it's wired, and the active device is wireless (or there is no
17520 active device), activate the new device whose link just came on
17521 - (link_to_specific_ap): try to smooth over intermittency in wireless links
17522 my only calling the link to the current ap "failed" when more than 2
17523 consecutive link checks have failed
17525 2005-05-04 Dan Williams <dcbw@redhat.com>
17527 * src/NetworkManagerDevice.c
17528 - (nm_device_probe_wireless_link_state): don't lock the scan mutex here
17529 but let link_to_specific_ap() do the locking where it needs
17531 Patch from Bill Moss:
17532 * src/NetworkManagerSystem.c
17533 - Set MTU of VPN devices to 1412
17535 2005-05-04 Dan Williams <dcbw@redhat.com>
17537 * Remove NM_STATE_SCANNING from NetworkManager.h and applet code
17539 * Fix some holes in device activation and retaining the currently connected
17542 2005-05-03 Dan Williams <dcbw@redhat.com>
17544 * Kill dhcpcd. We now use "dhcdbd", a dbus daemon that controls dhclient.
17545 This means that NetworkManager shouldn't have DHCP issues anymore. It also
17546 means you need dhcdbd, which you can get here (get the latest one):
17548 http://people.redhat.com/jvdias/dhcdbd/
17550 Technically NetworkManager can use any DHCP daemon that uses the same DBUS
17551 interface as dhcdbd.
17553 * Rewrite device activation to facilitate the new DHCP infrastructure and
17554 future improvements. Its now "activation request" based, ie there is a single
17555 activation request composed of the device, access point, and other info which
17556 follows the entire activation process. There are 5 stages of the activation
17557 process which correspond to:
17559 1) Device preparation
17560 2) Device configuration (bring it up, set ESSID/Key/etc)
17561 3) IP Config Start (fire off DHCP if we're using it)
17562 4) IP Config Get (grab config from DHCP or static config files)
17563 5) IP Config Commit (set device's IP address, DNS, etc)
17565 Note that there is no longer a "scanning" step, since the access point must
17566 be known _before_ activation starts. If the access point drops out or does
17567 not exist for some reason, the entire activation process fails and must be
17568 restarted for a different access point or device.
17570 Patch from Bill Moss:
17571 * gnome/applet/applet.c
17572 - Fix type of vpn_failure dialog -> vpn_banner dialog
17574 2005-04-27 Dan Williams <dcbw@redhat.com>
17576 * gnome/applet/applet-dbus-vpn.c
17577 gnome/applet/applet.c
17578 gnome/applet/applet.h
17579 - Fix up active VPN handling so that we reliably know when a VPN
17580 connection has been deactivated
17582 * src/vpn-manager/nm-vpn-manager.c
17583 - Remove duplicate VPNConnectionChange signal
17585 2005-04-27 Dan Williams <dcbw@redhat.com>
17587 Patch from Peter Jones:
17588 * Remove usage of varargs to fix crashes on PPC (RH #154336)
17590 Patch from Bill Moss:
17591 * src/NetworkManagerSystem.c
17592 - Fix checking of return value from ioctl()
17594 2005-04-27 Dan Williams <dcbw@redhat.com>
17596 * Fix choosing of wireless networks and "Other wireless network..." from the applet
17597 * Warn and exit if icons cannot be found
17599 2005-04-27 Dan Williams <dcbw@redhat.com>
17601 Patch from Tom Parker:
17602 * Update debian backend
17604 2005-04-27 Dan Williams <dcbw@redhat.com>
17606 * Merge the applet and the info-daemon, and move the converged
17607 applet under gnome/applet
17608 * Move libnm_glib to gnome/libnm_glib
17609 * Convert most dbus calls between the applet, info-daemon, and NM
17611 * Fix a few things valgrind noticed
17612 * Make NM broadcast state more reliably
17614 2005-04-22 Pawan chitrakar <pawan@nplinux.org>
17616 * configure.in: Added ne in ALL_LINGUAS
17618 2005-04-15 Dan Williams <dcbw@redhat.com>
17620 * libnm_glib/libnm_glib: Fix up for dbus-0.32, and remove
17621 code for dbus 0.2x versions
17623 2005-04-15 Dan Williams <dcbw@redhat.com>
17625 Patches from Tom Parker:
17627 - Join with worker thread rather than polling for its exit
17629 Patch from Bill Moss:
17630 - Cull duplicate ESSIDs from the scan list, taking highest strength AP
17632 2005-04-15 Dan Williams <dcbw@redhat.com>
17634 - Fixes to pass 'make distcheck'
17636 2005-04-15 Dan Williams <dcbw@redhat.com>
17638 Initial VPN Support
17640 - reworks device IP configuration, backend files have changed and will need
17641 to be updated for all distributions. I will try to do what I can for
17642 them, but I cannot test them.
17644 - Move named directory to src/named-manager
17645 - Make backends directory self-contained
17647 2005-04-06 Dan Williams <dcbw@redhat.com>
17649 Add debug code for socket/file descriptor leaks. We register every socket
17650 that we open (except for stuff in dhcpcd/) for tracking, and print out the
17651 list of sockets that we forgot to close on shutdown. This also consolidates
17652 about 4 places where we opened sockets into 1 function in NetworkManagerUtils.c
17654 2005-04-06 Dan Williams <dcbw@redhat.com>
17657 - (dhcp_interface_free): fix a file descriptor leak that may have
17658 caused network drivers to not unload due to refcounts > 0
17660 2005-04-04 Dan Williams <dcbw@redhat.com>
17662 * panel-applet/NMWirelessAppletDbus.c
17663 - (nmwa_dbus_call_nm_method): remove some commented code
17665 * src/NetworkManagerAPList.[ch]
17666 - (nm_ap_list_remove_ap_by_essid): new function
17668 * src/NetworkManagerDevice.c
17669 - (nm_device_wireless_force_use): remove access points from the ignore list
17670 when the user forces them
17672 * src/nm-dbus-device.c
17673 - (nm_dbus_device_get_active_network): fix up escaping of object paths
17675 2005-04-04 Dan Williams <dcbw@redhat.com>
17677 Patch from Tom Parker: include "nm-utils.h" for backend files that need it
17679 2005-04-04 Dan Williams <dcbw@redhat.com>
17681 * src/NetworkManagerDevice.c:
17682 - (nm_completion_scan_has_results): restore pre-completion-patch behavior
17683 of only erroring after the second consecutive scan times out. Also
17684 don't exit when the card requires more time than we can give it, just
17685 log the event and continue.
17687 2005-04-01 Steve Murphy <murf@e-tools.com>
17689 * configure.in: Added "rw" to ALL_LINGUAS.
17691 2005-04-01 Dan Williams <dcbw@redhat.com>
17693 Perform scans during device activation, if needed. Both activation
17694 and scans run in the same GMainContext. Therefore, if an access point
17695 is not found by the time the device starts activation, it will not
17696 be available until after activation. We now try to scan during
17697 activation (in nm_wa_test) every 15s so that all available access
17698 points are more likely to be found and available for the activation
17701 Also change nm_wireless_link_state_handle() to only update the "best"
17702 AP if we are not forcing a device and if we are not about to change
17703 state. This attempts to work around a race when forcing a device,
17704 where the forced AP would get cleared out too soon by the link state
17705 checking timeout in the main thread, and the activation attempt with
17706 that AP would fail.
17708 2005-04-01 Dan Williams <dcbw@redhat.com>
17711 - Update with new translatables
17713 2005-03-31 Dan Williams <dcbw@redhat.com>
17715 * panel-applet/NMWirelessAppletDbus.c
17716 - Fix device names now that hal has changed device parenting for
17719 2005-03-31 Dan Williams <dcbw@redhat.com>
17721 Tighten up handling of wireless devices that don't support wireless
17722 scanning (ie, Orinoco). Due to restructuring of code, these devices
17723 hadn't been doing pseudo-scanning for a while either and would just
17724 spin waiting for an access point. They are now manual devices where
17725 the user must choose the access point from the menu every time. All
17726 "allowed" access points are listed in the applet's menu regardless
17727 of whether or not they can be seen by the card, since it can't scan
17730 * src/NetworkManager.c
17731 - (nm_wireless_link_state_handle): new function, but only update
17732 the "best" ap for non-scanning devices when its not activating,
17733 and when no device is being forced on the card
17734 - (nm_link_state_monitor): split wireless link state handling out
17735 into separate function
17737 * src/NetworkManagerDevice.c
17738 - (nm_device_copy_allowed_to_dev_list): new function
17739 - (nm_device_new): populate non-scanning cards' AP lists with
17740 access points from the "allowed" list
17741 - (nm_device_new): don't start a scanning timeout for devices that
17743 - (nm_device_activation_schedule_finish): new parameter, should be
17744 the AP that failed to be connected to, pass it on to the
17745 activation finish function in NetworkManagerPolicy.c
17746 - (nm_device_activate_wireless): don't ever try to get a new AP
17747 for non-scanning devices, just fail. The user must choose
17748 a new access point manually.
17749 - (nm_device_activate): grab the AP that failed connection and
17751 - (nm_device_update_best_ap): Clear the best AP if we don't have
17752 a link to it, user must manually choose a new one
17753 - (nm_device_do_pseudo_scan): remove function
17754 - (nm_device_wireless_process_scan_results): remove bits for non-
17755 scanning cards since they never get here
17756 - (nm_device_wireless_scan): remove bits for non-scanning devices,
17757 and fake the scan list for test devices a bit earlier
17759 * src/NetworkManagerPolicy.c
17760 - (nm_policy_activation_finish): use the failed_ap that we get
17761 passed rather than getting the best_ap from the card, which
17762 may have changed since we were scheduled
17763 - (nm_policy_allowed_ap_list_update): for non-scanning devices,
17764 update their scan list directly from the allowed list when
17765 we get updates to the allowed list from NetworkManagerInfo
17767 * src/NetworkManagerPolicy.h
17768 - New member for failed access point in NMActivationResult
17770 -------------------------------------
17772 Driver Notification patch: notifies the user when their driver
17773 sucks. Gives them the option to ignore further insertions
17774 of the card that has the sucky driver.
17777 - Remove the SEMI_SUPPORTED member from the NMDriverSupportLevel
17778 enum and replace it with NO_CARRIER_DETECT and
17781 * panel-applet/NMWirelessApplet.[ch]
17782 - Merge essid.glade -> wireless-applet.glade
17783 - Implement the "Your driver sucks" notification dialog
17785 * panel-applet/NMWirelessAppletDbus.c
17786 - Change stuff from getSupportsCarrierDetect->getDriverSupportLevel
17787 - Grab hardware address for each device from NM too
17788 - Check whether the driver for each device sucks or not whenever
17789 a new device is noticed
17791 * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17792 - Deal with stuff being in wireless-applet.glade now rather than essid.glade
17794 * src/NetworkManager.c
17795 - Fix a double-unref on device removal
17797 * src/NetworkManagerUtils.c
17798 - Set appropriate driver support level on a device that doesn't
17799 support scanning or carrier detection
17801 * src/nm-dbus-device.c
17802 - New "getHWAddress" dbus method on devices
17803 - getSupportsCarrierDetect -> getDriverSupportLevel
17805 2005-03-31 Dan Williams <dcbw@redhat.com>
17807 * src/NetworkManagerDevice.c
17808 - (nm_device_wireless_scan): Fix leak of scan results in some
17811 2005-03-29 Dan Williams <dcbw@redhat.com>
17813 * src/NetworkManager.c
17814 - (nm_poll_and_update_wireless_link_state): make code less indented
17816 Patch from Bill Moss:
17817 * src/NetworkManager.c
17818 - (nm_device_update_link_state): Update signal strength on wireless
17819 devices every time we update link state too.
17821 2005-03-29 Dan Williams <dcbw@redhat.com>
17823 * src/NetworkManagerDevice.c
17824 - (nm_device_set_essid): Work around Orinoco cards which need
17825 extra time after setting the ESSID
17827 2005-03-29 Dan Williams <dcbw@redhat.com>
17829 * src/NetworkManagerDevice.c
17830 - Merge one more bit of Peter Jones' completion patch
17832 2005-03-29 Dan Williams <dcbw@redhat.com>
17834 * src/NetworkManagerDevice.c
17835 - (nm_device_force_use): Fix possible segfault
17837 2005-03-29 Dan Williams <dcbw@redhat.com>
17839 * src/NetworkManagerDevice.c
17840 - Use iw_get_ext() where we should rather than iw_set_ext()
17842 2005-03-29 Dan Williams <dcbw@redhat.com>
17844 * src/NetworkManagerDevice.c
17845 - (nm_device_set_up_down): remove check for unsupported devices
17846 that caused NM to not bring devices up when they were
17847 added to the device list.
17849 2005-03-28 Dan Williams <dcbw@redhat.com>
17851 * src/NetworkManagerDevice.c
17852 - (mdio_read): Fix two bugs that caused all devices to fail
17853 the MII carrier detection support checks
17855 2005-03-26 Dan Williams <dcbw@redhat.com>
17857 * src/NetworkManagerDevice.c
17858 - (nm_device_wireless_scan): Remove duplicated scanning code
17860 2005-03-25 Dan Williams <dcbw@redhat.com>
17862 * panel-applet/NMWirelessApplet.c
17863 - (nmwa_about_cb): Add some more contributors
17864 - (nmwa_update_state): show the applet when there's no connection
17865 - Enable the "Stop/Resume all wireless devices" option in the
17867 - New "no connection" icon
17869 * src/NetworkManager.c
17870 - (nm_poll_and_update_wireless_link_state): don't do anything if
17871 wireless is disabled or we're asleep
17873 * src/NetworkManagerDHCP.c
17874 - Remove trailing "\n" on debug messages
17876 * src/NetworkManagerDbus.c
17877 - (nm_dbus_network_status_from_data): new state "asleep"
17879 * src/NetworkManagerDevice.c
17880 - Merge most of Peter Jones' "completion" patch that greatly reduces
17881 latency and wait times for most operations
17882 - (nm_device_wireless_scan): Don't scan when asleep
17884 * src/NetworkManagerPolicy.c
17885 - (nm_policy_get_best_device): return no device when asleep
17886 - (nm_policy_allowed_ap_list_update): From Bill Moss: merge properties
17887 for all wireless devices on update, not just active device
17889 * src/NetworkManagerUtils.c
17890 - Merge Peter Jones' "completion" patch
17893 - (nm_dbus_nm_set_wireless_enabled): bring down wireless devices when
17894 we're told to disable them
17895 - (nm_dbus_nm_sleep, nm_dbus_nm_wake): new functions for sleep/wake
17898 - New variants of the warn/info/error/debug print functions that can take
17899 variables rather than static strings
17901 2005-03-24 Dan Williams <dcbw@redhat.com>
17903 * src/NetworkManagerUtils.c
17904 - (nm_get_device_driver_name): driver names are now on the parents of
17905 "Network Interface" objects, so look for them there
17907 2005-03-24 Dan Williams <dcbw@redhat.com>
17910 - Escape some forgotten object paths before we shove them through dbus
17912 2005-03-24 Dan Williams <dcbw@redhat.com>
17914 * dhcpcd/dhcpcd.[ch]
17915 src/NetworkManagerDHCP.c
17916 - Switch names from "*_record_*" -> "*_element_*" to clarify things a bit
17917 (ie, dhcp_option_record_len -> dhcp_option_element_len)
17919 * src/NetworkManagerDbus.c
17922 * src/nm-dbus-dhcp.c
17923 - Make the API suck less. There is now only 1 type of each function,
17924 ie only "getInteger" and no longer also "getIntegerv". All types
17925 are returned encapsulated in a DBUS_TYPE_ARRAY, even for options
17926 that will never have more than 1 element. This should simplify
17929 * test/nm-dhcp-opt-test.c
17930 - Make the tool not segfault
17931 - adapt to new DHCP Options API
17933 2005-03-22 Dan Williams <dcbw@redhat.com>
17935 * src/NetworkManager.c
17936 - (nm_wired_link_deactivated): actually ignore netlink events from
17939 2005-03-22 Dan Williams <dcbw@redhat.com>
17941 * src/NetworkManager.c
17942 - (nm_wired_link_activated): actually ignore netlink events from
17945 2005-03-17 Dan Williams <dcbw@redhat.com>
17947 Patch from Tom Parker:
17948 * src/nm-netlink-monitor.c
17950 * info-daemon/NetworkManagerInfoDbus.c
17951 - (nmi_dbus_update_network_auth_method): free GConf values
17953 Patch from Nathaniel McCallum <npmccallum@gentoo.org>:
17954 * src/NetworkManagerDevice.c
17955 - (nm_device_set_wireless_config): wait for successful
17956 association longer for some cards (Atheros a/b/g)
17958 2005-03-15 Ray Strode <rstrode@redhat.com>
17960 * src/NetworkManager.c:
17961 (sigterm_pipe_handler):
17964 2005-03-15 Ray Strode <rstrode@redhat.com>
17966 * src/NetworkManagerDbus.c:
17967 Fix some sign weirdness that gcc4 doesn't like,
17968 and add a header file so PPC can hopefully find
17971 2005-03-14 Ray Strode <rstrode@redhat.com>
17973 Fourth (probably working) cut at porting to
17974 dbus 0.30 api and new hal. This cut adds
17975 some new logging macros to make debugging
17978 * dispatcher-daemon/NetworkManagerDispatcher.c:
17979 * info-daemon/NetworkmanagerInfo.c:
17980 * info-daemon/NetworkManagerInfoPassphraseDialog.c:
17981 * info-daemon/NetworkManagerInfoVPN.c:
17982 * src/NetworkManager.c:
17983 * src/NetworkManagerAP.c:
17984 * src/NetworkManagerAPList.c:
17985 * src/NetworkManagerDHCP.c:
17986 * src/NetworkManagerDbus.c:
17987 * src/NetworkManagerDevice.c:
17988 * src/NetworkManagerPolicy.c:
17989 * src/NetworkManagerSystem.c:
17990 * src/NetworkManagerUtils.c:
17991 * src/NetworkManagerWireless.c:
17993 * src/nm-dbus-nm.c:
17994 * src/backends/NetworkManagerDebian.c:
17995 * src/backends/NetworkManagerGentoo.c:
17996 * src/backends/NetworkManagerRedHat.c:
17997 * src/backends/NetworkManagerSlackware.c:
17998 use new logging macros.
18000 * dispatcher-daemon/NetworkManagerDispatcher.c:
18001 (nmd_dbus_filter): s/dbus_free/g_free/
18003 * info-daemon/Makefile.am: link in utils library.
18004 * info-daemon/NetworkmanagerInfo.c: use new logging
18006 (nmi_dbus_get_network): don't assume enumerations
18008 (nmi_dbus_nmi_message_handler): don't free what
18009 doesn't belong to us.
18011 * libnm_glib/libnm_glib.c:
18012 (libnm_glib_get_nm_status):
18013 (libnm_glib_init): don't free what doesn't
18015 (libnm_glib_dbus): strdup result, so it doesn't get
18016 lost when message is unref'd.
18018 * panel-applet/NMWirelessAppletDbus.c:
18019 (nmwa_dbus_update_devices): s/dbus_free/g_free/
18021 * src/NetworkManager.c:
18022 (nm_monitor_wired_link_state): request initial status
18023 dump of all cards when we start up, instead of relying
18024 on /sys/.../carrier.
18025 (nm_info_handler), (nm_set_up_log_handlers):
18026 log handlers to specify what syslog priorites
18027 the logging macros default to.
18029 * src/NetworkManagerAPList.c:
18030 (nm_ap_list_populate_from_nmi):
18031 s/dbus_free_string_array/g_strfreev/
18033 * src/NetworkManagerDbus.c:
18034 (nm_dbus_get_network_object):
18035 validate d-bus message argument types.
18036 Advance message iterator after reading argument,
18037 prepend instead of append to GSList.
18039 * src/NetworkManagerDevice.c:
18040 (nm_device_probe_wired_link_status):
18041 remove redundant /sys in /sys path. remove wrong
18042 contents == NULL means has carrier assumption.
18044 * src/nm-netlink-monitor.c
18045 (nm_netlink_monitor_request_status): implement
18046 function to ask kernel to dump interface link
18047 status over netlink socket.
18049 * test/*.c: s/dbus_free/g_free/
18051 * utils/nm-utils.h:
18052 (nm_print_backtrace): new macro to print backtrace.
18053 (nm_get_timestamp): new macro to get sub-second precise
18055 (nm_info), (nm_debug), (nm_warning), (nm_error):
18056 new logging functions. nm_info just prints,
18057 nm_debug includes timestamp and function,
18058 nm_warning includes function, nm_error includes
18059 backtrace and sigtrap.
18061 2005-03-11 Ray Strode <rstrode@redhat.com>
18063 Third (unfinished, partially working) cut at porting to
18064 dbus 0.30 api and new hal.
18066 * info-daemon/NetworkManagerInfoDbus.c:
18067 don't free null arrays.
18069 * panel-applet/NMWirelessAppletDbus.c:
18070 * src/nm-dbus-device.c:
18071 * src/nm-dbus-net.c:
18072 * src/NetworkManagerDbus.c: more
18073 STRING -> OBJECT_PATH fun
18074 * src/NetworkManagerDevice.c:
18075 * src/NetworkManagerDevice.h:
18076 (rename nm_device_get_link_active): rename to
18077 nm_device_has_active_link
18078 (nm_device_wireless_link_active): rename to
18079 nm_device_probe_wireless_link_state
18080 (nm_device_wired_link_active): rename to
18081 nm_device_probe_wired_link_state. Rewrite to
18082 use carrier file since hal doesn't maintain
18083 link state anymore.
18084 (nm_device_update_link_active): rename to
18085 nm_device_update_link_state
18086 * src/NetworkManagerPolicy.c
18087 (nm_policy_activation_finish): check for NULL
18091 * src/NetworkManagerMain.h:
18092 * src/NetworkManager.c:
18093 * src/nm-netlink-monitor.c:
18094 * src/nm-netlink-monitor.h: New class to support
18095 monitoring wired ethernet link status, since HAL
18096 doesn't export that information anymore.
18098 2005-03-09 Ray Strode <rstrode@redhat.com>
18100 Second (unfinished, unworking) cut at porting to
18103 * dispatcher-daemon/NetworkManagerDispatcher.c:
18104 * info-daemon/NetworkManagerInfoDbus.c:
18105 * panel-applet/NMWirelessAppletDbus.c:
18106 * src/NetworkManagerDbusUtils.c:
18107 * src/NetworkManagerDbusUtils.h:
18108 * src/nm-dbus-device.c:
18109 * src/nm-dbus-nm.c:
18110 * test/nmtest.c: support dbus "object path" type
18114 * info-daemon/Makefile.am:
18115 * libnm_glib/Makefile.am:
18116 * panel-applet/Makefile.am:
18117 * dispatcher-daemon/Makefile.am
18119 * test/Makefile.am:
18120 * utils/Makefile.am:
18121 * utils/nm-utils.c:
18122 * utils/nm-utils.h: new utils static lib
18124 2005-03-07 Ray Strode <rstrode@redhat.com>
18126 * info-daemon/NetworkManagerInfoDbus.c:
18127 * libnm_glib/libnm_glib.c:
18128 * panel-applet/NMWirelessAppletDbus.c:
18129 * src/NetworkManager.c:
18130 * src/NetworkManagerDbus.c:
18131 * src/NetworkManagerDevice.c:
18132 * src/NetworkManagerUtils.c:
18133 * src/nm-dbus-device.c:
18134 * src/nm-dbus-dhcp.c:
18135 * src/nm-dbus-net.c:
18136 * src/nm-dbus-nm.c:
18137 * test/nminfotest.c:
18138 First (unfinished, unworking) cut at porting to dbus 0.30 api.
18140 2005-03-04 Dan Williams <dcbw@redhat.com>
18145 2005-03-04 Dan Williams <dcbw@redhat.com>
18147 Patch from Peter Jones:
18148 - Make stuff work with gcc 4.0
18150 2005-02-28 Maxim Dziumanenko <mvd@mylinux.com.ua>
18152 * uk.po: Added "uk" (Ukrainian) to ALL_LINGUAS.
18154 2005-02-27 Jim Huang <jserv@kaffe.org>
18156 * configure.in: Added "zh_TW" (Traditional Chinese) to ALL_LINGUAS.
18158 2005-02-27 Dan Williams <dcbw@redhat.com>
18160 Patch from Bill Moss:
18161 * panel-applet/NMWirelessAppletDbus.c
18162 - Make sure strength for current access point is up-to-date when we
18163 update the gui data model
18165 2005-02-27 Alessio Frusciante <algol@firenze.linux.it>
18167 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
18169 2005-02-27 Dan Williams <dcbw@redhat.com>
18171 * src/backends/NetworkManagerRedHat.c
18172 - (nm_system_init): Kill any dhclient processes lying around as well
18173 as stopping 'nifd' if its already been started. NetworkManager
18174 subsumes the functions of nifd (kicking mDNSResponder, autoip)
18176 2005-02-27 Dan Williams <dcbw@redhat.com>
18178 * panel-applet/NMWirelessApplet.c
18179 - (nmwa_destroy): Really mean to destroy GUI data model first, then
18180 dbus data model, not the GUI data model twice.
18182 2005-02-27 Dan Williams <dcbw@redhat.com>
18184 * panel-applet/NMWirelessApplet.[ch]
18185 panel-applet/NMWirelessAppletDbus.[ch]
18186 - Move to incremental network updates. Instead of blowing away our list
18187 of devices every time we get a signal from NetworkManager, we now
18188 incrementally add/remove networks when NetworkManager notifies us that
18189 a new network has appeared or disappered. Strength updates now happen
18190 on-the-fly for each access point as well. There are now two copies of
18191 data from NetworkManager: one for the dbus side, and one for the gui side.
18192 When the dbus side data is modified, it is copied over to the gui side
18193 so we don't have to hold the data_mutex for long periods of time (and
18194 therefore block animation of the applet's icon).
18195 - Clean up some memleaks too
18197 * panel-applet/NMWirelessAppletOtherNetworkDialog.c
18198 - Minor code beautification
18200 * src/NetworkManagerAPList.c
18201 - (nm_ap_list_merge_scanned_ap): return whether or not the access point is
18202 completely new and whether or not an existing one's strength was updated.
18203 Try to fix multiple access points and signal strength by using the highest
18204 signal strength in each scan for any given ESSID.
18206 * src/NetworkManagerDbus.[ch]
18207 - (nm_dbus_signal_wireless_network_change): consolidate signals that deal with
18208 wireless networks; now we have only WirelessNetworkUpdate which includes
18209 a UINT32 for Appeared, Disappeared, or StrengthChanged (see NetworkManager.h).
18210 - Kill usage of DbusMessageIter
18212 * src/NetworkManagerDevice.c
18213 - (nm_device_wireless_process_scan_results): Use the same timestamp for all APs
18214 in the same scan result list. Copy ESSIDs-by-address earlier on, for each
18215 AP rather than all-at-once. Also don't ever remove the AP a card is
18216 currently associated with from the network list.
18217 - Update for new signals during scan, send out Appeared, Disappeared, or
18218 StrengthChanged when necessary.
18220 2005-02-25 Dan Williams <dcbw@redhat.com>
18223 - Line break the README
18225 2005-02-25 Dan Williams <dcbw@redhat.com>
18227 * panel-applet/NMWirelessAppletOtherNetworkDialog.c
18228 - Remove usage of gtk_window_set_default_size()
18230 * panel-applet/essid.glade
18231 - Stick default size here
18232 - Add in random crap that current glade wants to add in now
18234 2005-02-25 Dan Williams <dcbw@redhat.com>
18236 * src/backends/NetworkManagerRedHat.c
18237 - For non-caching-nameserver/non-named case, ensure that nscd is running
18238 and that we actually tell nscd to reload the hosts cache when it changes
18240 2005-02-25 Dan Williams <dcbw@redhat.com>
18242 * info-daemon/NetworkManagerInfoDbus.c
18243 - (nmi_dbus_get_network_properties): whack usage of DbusMessageIter
18245 * test/nminfotest.c
18246 - Whack usage of DbusMessageIter
18247 - Clean up DbusError and DbusMessage handling and freeing
18248 - Remove unused unregister handler
18251 - Whack usage of DbusMessageIter
18253 * test/nmtestdevices.c
18254 - Whack usage of DbusMessageIter
18256 2005-02-25 Dan Williams <dcbw@redhat.com>
18259 - New signal type NMNetworkStatus in preparation for the "WirelessNetworkUpdate"
18262 2005-02-25 Dan Williams <dcbw@redhat.com>
18264 * named/nm-named-manager.c
18265 - Ensure that pid and watch variables for child named process get cleared out
18266 when the child goes away.
18268 2005-02-22 Dan Williams <dcbw@redhat.com>
18270 * src/NetworkManagerPolicy.c
18271 - (nm_policy_activation_finish): Deactivate a device if its activation fails,
18272 and NULL out data->active_device so that we have to choose another one.
18273 This may make NetworkManager keep attempting to connect to a wired network
18274 if it fails, but if it keeps failing the wired network has more problems than
18275 just NetworkManager.
18277 * src/backends/NetworkManagerRedHat.c
18278 - (nm_system_update_dns): fix to actually run nscd -i hosts when nscd
18281 * named/nm-named-manager.c
18282 - (rewrite_resolv_conf): Call nm_system_update_dns() when not using
18283 named so that the distro can flush whatever name service caching
18286 2005-02-21 Dan Williams <dcbw@redhat.com>
18288 * src/NetworkManagerDHCP.[ch]
18289 - (nm_device_dhcp_remove_timeouts): new function
18291 * src/NetworkManagerDevice.c
18292 - Use nm_device_dhcp_remove_timeouts() everywhere that we need to
18293 remove the DHCP timeouts.
18295 2005-02-21 Dan Williams <dcbw@redhat.com>
18297 * panel-applet/NMWirelessApplet.[ch]
18298 panel-applet/menu-info.[ch]
18299 - Give the panel applet some major love: menu items are no longer
18300 subclasses of GtkCheckMenuItem, they are actual GtkCheckMenuItems.
18301 This allows the applet to actually reflect theme changes correctly,
18302 since themeing of subclassed items in GTK _sucks_.
18304 2005-02-18 Dan Williams <dcbw@redhat.com>
18306 * libnm_glib/libnm_glib.[ch]
18307 test/libnm_glib_test.c
18308 - Clean up libnm_glib API a bit, callback is now passed a libnm_glib_ctx
18309 and its data, and doesn't have to free the callback data anymore
18311 2005-02-18 Dan Williams <dcbw@redhat.com>
18313 * panel-applet/NMWirelessApplet.c
18314 - Revert 2005-02-18 William Jon McCann fix for standard
18315 copyright string until it passes 'make distcheck'.
18316 With standard copyright string, xgettext complains
18317 about "Non-ASCII string at ...".
18319 2005-02-18 Dan Williams <dcbw@redhat.com>
18321 * panel-applet/essid.glade
18322 panel-applet/NMWirelessAppletOtherNetworksDialog.c
18323 - Correct spelling of "adaptor"->"adapter"
18325 2005-02-18 William Jon McCann <mccann@jhu.edu>
18327 * panel-applet/NMWirelessApplet.c: Use GTK_CHECK_VERSION() macro.
18328 (nmwa_about_cb): Use standard copyright string. Update comment
18329 text to reflect that it is a notification area applet. Remove
18330 leading newline in authors list.
18331 (nmwa_menu_show_cb, nmwa_setup_widgets): Populate menu on show
18332 instead of on parent menu item activation. Fixes #167550.
18334 2005-02-18 William Jon McCann <mccann@jhu.edu>
18336 * panel-applet/essid.glade: Capitalize items as per HIG.
18339 2005-02-16 William Jon McCann <mccann@jhu.edu>
18341 * panel-applet/gtkcellrendererprogress.[ch]: Only compile these
18342 files for GTK 2.4 or lower, since now public in GTK 2.6.
18344 * panel-applet/essid.glade: Don't specify window size.
18346 2005-02-17 Dan Williams <dcbw@redhat.com>
18348 Caught by Bill Moss:
18350 - Time remaining for DHCP transaction calculation was incorrectly
18351 inside a #ifdef DEBUG
18353 2005-02-15 Christophe Merlet <redfox@redfoxcenter.org>
18355 * configure.in: Added fr (French) to ALL_LINGUAS.
18357 2005-02-14 Dan Williams <dcbw@redhat.com>
18359 * src/NetworkManagerDHCP.c
18360 - (set_domain_searches): Fix free of invalid pointer
18362 2005-02-14 Dan Williams <dcbw@redhat.com>
18364 Patch from Peter Jones:
18366 - Ensure we return RET_DHCP_CEASED everywhere we should
18367 * dhcpcd/udpipgen.c
18368 - Use faster TOS for IP packets
18369 - Don't set ip_id since we're UDP
18371 Patch from Tomislav Vujec:
18372 * src/nm-dbus-dhcp.c
18373 test/nm-dhcp-opt-test.c
18374 - Clean up warnings to enable cvs tree compilation.
18376 2005-02-14 Tomislav Vujec <tvujec@redhat.com>
18380 - Add the Croatian locale.
18382 2005-02-14 Colin Walters <walters@verbum.org>
18384 * src/NetworkManagerDHCP.c (set_domain_searches): Handle space-separated
18385 list of domains to search.
18387 * src/NetworkManagerMain.h (NMData): Handle multiple domain searches.
18389 2005-02-13 Dan Williams <dcbw@redhat.com>
18392 - Debug output cleanups of DHCP option printing and parsing.
18394 2005-02-13 Dan Williams <dcbw@redhat.com>
18396 Patch from Dan Reed: DHCP options D-BUS API
18397 Exposes the DHCP options that a device receives to clients over D-BUS.
18403 - Correct names, option length, and types for DHCP options
18405 * dhcpcd/dhcpcd.[ch]
18406 - Clarify function names that access DHCP options & data
18408 * src/NetworkManagerDHCP.c
18409 - Use new DHCP data access functions
18411 * src/NetworkManagerDbus.c
18412 - Message handler for DHCP functions
18414 * src/nm-dbus-dhcp.[ch] (new)
18415 - DHCP dbus methods
18417 * test/nm-dhcp-opt-test.c
18418 - Test DHCP D-BUS API and return all present DHCP options
18420 2005-02-12 Dan Williams <dcbw@redhat.com>
18423 test/nmclienttest.c
18425 - Move nmclienttest.c -> nmtest.c
18427 2005-02-12 Dan Williams <dcbw@redhat.com>
18429 * dhcpcd/buildmsg.c
18430 - Pad DHCP packets until they are at least 300 bytes in size.
18432 2005-02-11 Dan Williams <dcbw@redhat.com>
18435 - (dhcp_init): only print out client ID and class ID if they are specified
18437 * src/NetworkManagerDbus.[ch]
18438 src/nm-dbus-nm.[ch]
18439 src/nm-dbus-device.[ch]
18440 src/nm-dbus-net.[ch]
18441 - Move NM, Device, and Net functions to separate files and use the
18442 dbus method list stuff in NetworkManagerDbusUtils.c to do
18445 * src/NetworkManagerDbusUtils.c
18446 - Add new validate_method called before each dispatch (if present)
18447 that can validate the method call
18449 * src/NetworkManagerWireless.c
18450 - (nm_wireless_qual_to_percent): Fix misplaced "!" that caused signal
18451 levels never to be evaluated
18453 Patch from j@bootlab.org
18454 * src/NetworkManagerDevice.c
18455 - Add typedef for "u64"
18457 * src/backends/NetworkManagerDebian.c
18458 - Copy in Dave Woodhouse's fixes for IPv6
18460 2005-02-11 Dan Williams <dcbw@redhat.com>
18462 Patch from Dave Woodhouse for IPv6:
18463 * src/NetworkManagerUtils.c
18464 - (nm_ethernet_address_is_valid): Check for prism54 dummy MAC address
18465 and multicast addresses
18467 * src/NetworkManagerDevice.c
18468 - (nm_device_set_up_down): make sure our cached MAC address is up-to-date
18469 after bringing up a card.
18471 2005-02-10 Dan Williams <dcbw@redhat.com>
18473 Patch from Dave Woodhouse:
18474 * src/NetworkManagerSystem.h
18475 src/backends/NetworkManagerDebian.c
18476 src/backends/NetworkManagerGentoo.c
18477 src/backends/NetworkManagerSlackware.c
18478 - New nm_system_device_add_ip6_link_address() function to add link-local
18479 address on an interface. Stubbed in Debian, Gentoo, and Slackware.
18481 * src/backends/NetworkManagerRedHat.c
18482 - (nm_system_device_add_ip6_link_address): implement
18483 - (nm_system_device_flush_addresses): revert to previous behavior of
18484 flushing all addresses
18486 2005-02-10 Dan Williams <dcbw@redhat.com>
18488 Patch from Tom Parker:
18489 * src/NetworkManagerDevice.c
18490 - Remove the "#include <pci/types.h>" since both the ethtool.h and
18491 mii.h headers are broken, and instead use our own typedefs
18493 2005-02-10 Dan Williams <dcbw@redhat.com>
18495 * dhcpcd/buildmsg.c
18496 - (fill_host_and_class_id): only fill in client and class IDs if
18497 they are set by callers.
18500 - (class_id_setup): don't autogenerate a class ID, only use one
18501 we're given, if any.
18502 - (client_id_setup): don't autogenerate a client ID, only use one
18503 we're given, if any.
18506 - (dhcp_interface_init): ensure that client options are correctly
18509 * src/NetworkManagerDHCP.c
18510 - (nm_device_dhcp_request): pass hostname to dhcp library
18512 2005-02-10 Dan Williams <dcbw@redhat.com>
18515 - #rh147661# Don't send kernel version in DHCP requests
18517 * src/NetworkManagerSystem.h
18518 src/backends/NetworkManagerDebian.c
18519 src/backends/NetworkManagerGentoo.c
18520 src/backends/NetworkManagerRedHat.c
18521 src/backends/NetworkManagerSlackware.c
18522 - Remove the nm_system_device_run_dhcp() and nm_system_device_stop_dhcp()
18523 functions, they are no longer used anyway
18525 * src/backends/NetworkManagerRedHat.c
18526 - (nm_system_device_flush_addresses): only flush "scope global" and "scope site"
18527 addresses in an attempt to keep IPv6 local-scope addresses around
18529 2005-02-10 Dan Williams <dcbw@redhat.com>
18531 * src/NetworkManager.c
18532 - (nm_create_device_and_add_to_list): change the add message slightly
18534 * src/NetworkManagerUtils.c
18535 - (nm_get_wireless_driver_support_level, nm_get_wired_driver_support_level):
18536 Return driver name to calling function
18537 - (nm_get_driver_support_level): print out the driver a device is using
18538 during the support check
18540 Patch from Dave Woodhouse:
18541 * dhcpcd/udpipgen.c
18542 - (in_cksum): copy last byte of odd-sized packets into a
18543 'u_short' rather than a 'u_char', should fix wrong checksums
18544 on big-endian platforms
18546 2005-02-09 Dan Williams <dcbw@redhat.com>
18548 * Clean up usage of GSList objects and looping through their members
18549 * Clean up DHCP rebind/renew timeouts, hopefully they will work correctly
18551 * Fix problem where even if scanning was turned off, card would still
18552 cycle through frequencies.
18554 2005-02-08 Dan Williams <dcbw@redhat.com>
18556 * panel-applet/NMWirelessApplet.c
18559 2005-02-08 Dan Williams <dcbw@redhat.com>
18561 Patch from Bill Moss
18562 * panel-applet/NMWirelessApplet.c
18563 - Restore correct ESSID in tooltips
18565 2005-02-07 Dan Williams <dcbw@redhat.com>
18567 * panel-applet/NMWirelessApplet.[ch]
18568 - Add a context menu that contains:
18569 Pause/Resume Wireless Scanning
18570 Stop/Start All Wireless Devices
18572 - Grab active device strength off active device,
18575 * panel-applet/NMWirelessAppletDbus.[ch]
18576 - Add DBUS accessors for "getSupportsCarrierDetect", "setScanningEnabled",
18577 "getScanningEnabled", "setWirelessEnabled", and "getWirelessEnabled"
18578 - Update active device strength every 2 seconds, not every 1 second
18580 * panel-applet/menu-info.c
18581 - Only disable wired devices in the menu when they support carrier detection,
18582 and don't currently have a link. Non-carrier-detect devices will always
18586 src/NetworkManagerDbusUtils.[ch]
18587 - Add new new dbus utils sources
18589 * src/NetworkManager.c
18590 - Fixes for new link detection, we no longer need to call nm_device_update_link_active()
18591 with the boolean parameter
18592 - Set scanning_enabled & wireless_enabled to TRUE
18594 * src/NetworkManagerDbus.c
18595 - Use new dbus util method dispatcher functions for org.freedesktop.NetworkManager methods
18596 - Implement scanning & wireless enable/disable calls
18597 - Remove the dbus vtable unregister handlers, weren't doing anything with them anyway
18599 * src/NetworkManagerDevice.c
18600 - New link detection stuff again...
18601 o Create device's mainloop earlier (but don't run it earlier)
18602 o Hook up new carrier-detect support stuff
18603 o Add in the ethtool & mii support detection code
18604 - Don't scan if scanning is disabled
18606 * src/NetworkManagerPolicy.c
18607 - Never automatically choose a device that doesn't support carrier detection
18608 - Don't automatically choose a wireless device if wireless is disabled
18610 2005-02-07 Dan Williams <dcbw@redhat.com>
18612 * libnm_glib/libnm_glib.c
18613 - Small cleanup in element list iteration
18615 2005-02-07 Dan Williams <dcbw@redhat.com>
18617 * src/NetworkManagerWireless.c
18618 - (nm_wireless_qual_to_percent): Fix up wireless quality calculations
18619 to be in line with the WEXT quality specification
18621 2005-02-02 Dan Williams <dcbw@redhat.com>
18623 Patch from Nathan Fredrickson <nathan@silverorange.com>
18624 * Fix up compile for deprecation of libgnomeui
18625 - Switch to <glib/gi18n.h> from <libintl.h>
18626 - Remove <libgnomeui/libgnomeui.h> includes
18627 - Use gtk_window_set_default_icon_from_file() rather than
18628 gnome_window_set_default_icon_from_file()
18630 * named/nm-named-manager.c
18631 - (generate_named_conf): Fix return-nothing in non-void
18634 2005-02-02 Dan Williams <dcbw@redhat.com>
18636 * Clean up unused variables and the like
18638 2005-02-02 Dan Williams <dcbw@redhat.com>
18640 * src/NetworkManagerAPList.c
18641 - (nm_ap_list_merge_scanned_ap): merge strength too
18643 * src/NetworkManagerUtils.c
18644 - (nm_lock_mutex, nm_register_mutex_desc): new calls to facilitate debugging
18645 of locking issues by printing out prettier information than g_mutex_lock
18646 - Print out names of mutexes registered with nm_register_mutex_desc()
18647 - (nm_try_lock_mutex): don't do the waiting thing when trying to lock, causes
18648 us to seemingly block here for too long
18650 * src/NetworkManager.c
18651 src/NetworkManagerAPList.c
18652 src/NetworkManagerDevice.c
18653 - Convert to using nm_lock_mutex/nm_unlock_mutex rather than the glib variants
18654 so we get better debug information printed
18656 * src/NetworkManagerDbus.c
18657 - (nm_dbus_devices_handle_request): reduce usage of nm_device_need_ap_switch()
18658 since it sometimes has locking side effects
18659 - (nm_device_get_association_pause_value): Reduce 802.11a card pause value to 8s
18661 - (nm_device_need_ap_switch): If we can't acquire the scan lock, return saying
18662 we don't need a switch. This gets called often enough that we can't block
18663 until the scan mutex is acquired, because we'll block on device activation
18664 and a few other things, which hangs main thread for too long.
18666 * src/NetworkManagerPolicy.c
18667 - (nm_policy_auto_get_best_device): reduce the possiblity that
18668 nm_device_need_ap_switch() will be called
18670 2005-02-02 Dan Williams <dcbw@redhat.com>
18672 * panel-applet/NMWirelessApplet.c
18673 - Display name of wireless network we are connecting to or connected to
18674 in the tooltip of the applet
18676 2005-02-02 Dan Williams <dcbw@redhat.com>
18678 * src/NetworkManagerDHCP.c
18679 - Hopefully fix double-default-route problem by cleaning up the default
18680 route added by DHCP code right before the DHCP transaction begins
18682 2005-02-02 Dan Williams <dcbw@redhat.com>
18684 * named/nm-named-manager.c
18685 - Write out valid resolv.conf when we exit
18687 2005-02-01 Dan Williams <dcbw@redhat.com>
18689 Patch from Colin Walters:
18690 * named/nm-named-manager.c
18691 - Make multi-domain search options work
18693 2005-01-31 Dan Williams <dcbw@redhat.com>
18695 * info-daemon/NetworkManagerInfoDbus.c
18696 - (nmi_dbus_nmi_message_handler): make sure 'dialog' exists before using it
18698 * src/NetworkManagerDevice.c
18699 - (nm_device_new): Don't store the entire range struct, use only what we need
18700 (which is currently avg_quality, max_quality, and frequencies). Also
18701 zero device structure when we've free'd it to maybe expose errors down
18703 - (nm_device_update_signal_strength): grab the scan mutex before getting
18704 quality data from the card since quality will be useless during a scan.
18705 Call updated wireless qual-to-percent function with values stored in
18706 nm_device_new() earlier.
18707 - Remove some unused functions (nm_device_get_max_quality(), nm_device_get_noise(),
18708 nm_device_get_bad_crypt_packets())
18709 - (nm_device_activate_wireless_adhoc): use new frequency values we go in
18711 - (get_initial_auth_method): always use the Auth method that's in the allowed
18712 list if available. Problem was this: when the WEP key is wrong, NM will
18713 try OS then SK modes, and then get stuck in SK mode after that. This
18715 - (nm_device_wireless_process_scan_results): work with new qual-to-percent
18718 * src/NetworkManagerWireless.c
18719 - (nm_wireless_qual_to_percent): try to make this function actually work and
18720 mimic iwlib behavior. Use card's idea of quality divided by max_qual
18721 if that's all present, otherwise fall back to signal-to-noise ratios.
18723 2005-01-29 Dan Williams <dcbw@redhat.com>
18725 * initscript/RedHat/NetworkManager
18726 - Don't spit out sysctl stuff to console
18728 * libnm_glib/libnm_glib.c
18729 - (libnm_glib_init): call dbus_g_thread_init()
18731 * panel-applet/NMWirelessAppletDbus.c
18732 - (nmwa_dbus_worker): call dbus_g_thread_init()
18734 * src/NetworkManager.c
18735 - (main): call dbus_g_thread_init()
18737 * src/NetworkManagerAPList.c
18738 - (nm_ap_list_print_members): use LOG_ERR instead of LOG_DEBUG
18739 so we can actually see what's there in a normal syslog
18741 * src/NetworkManagerDevice.c
18742 - (nm_device_activate_wireless): print out the "waiting for access point"
18743 message only once, then say what access point we actually got after
18745 - (nm_device_need_ap_switch): If a scan is in progress when we're in this
18746 function, wait until the scan is done. Scans may change the ESSID of
18747 the card, making this function think we need to switch access points
18748 - (nm_device_wireless_process_scan_results): for artificial access points
18749 don't check against the card's ESSID, but the best_ap's ESSID. This
18750 prevents collisions with the scanning code, which may change the card's
18751 ESSID and cause the access point to get dropped from the device's AP
18752 list. Also increase the keep-around time to 2m from 60s since the max
18753 scan interval could be 60s in some cases.
18755 * src/NetworkManagerPolicy.c
18756 - (nm_policy_activation_finish): Don't add invalid MAC addresses to GConf
18757 - (nm_policy_allowed_ap_list_update): When we update, make sure we copy over
18758 the new properties and ESSIDs to the device's AP list. Fixes some races
18759 between NM and NMI.
18761 2005-01-27 Dan Williams <dcbw@redhat.com>
18763 * info-daemon/NetworkManagerInfoDbus.c
18764 - (nmi_dbus_add_network_address): if the network doesn't yet exist in
18765 GConf, make a minimal entry for it (essid & timestamp)
18767 * src/NetworkManagerAPList.c
18768 - (nm_ap_list_populate_from_nmi): Don't try to grab network data if
18769 NetworkManagerInfo isn't running
18771 * src/NetworkManagerDbus.[ch]
18772 - (nm_dbus_nmi_is_running): new function
18774 * src/NetworkManagerDevice.c
18775 - (nm_device_wireless_force_use): Don't set the created AP's MAC
18776 address to garbage.
18778 * src/NetworkManagerPolicy.c
18779 - (nm_policy_activation_finish): On successful activation, make sure
18780 the "best" AP has a MAC address, and don't tell NMI to add the
18781 current AP's MAC address to GConf if the AP is an Ad-hoc AP.
18782 - (nm_policy_allowed_ap_list_update): Update a wireless card's "best"
18783 access point after refreshing our allowed list if it doesn't already
18784 have a "best" access point.
18786 2005-01-25 Dan Williams <dcbw@redhat.com>
18788 * panel-applet/NMWirelessAppletDbus.c
18789 - (nmwa_dbus_filter): Fix dbus 0.23 ServiceOwnerChanged checks
18790 so we check for NM_DBUS_SERVICE rather than not for it
18792 * libnm_glib/libnm_glib.c
18793 - (libnm_glib_dbus_filter): Fix for dbus 0.23, trapping
18794 ServiceOwnerChanged signal
18796 2005-01-25 Dan Williams <dcbw@redhat.com>
18799 - Check DBUS version in configure, and set the C macros
18800 DBUS_VERSION_[MAJOR,MINOR,MICRO]
18802 * info-daemon/NetworkManagerInfoDbus.c
18803 - Remove #if 0-d section of code that quit NMI if NM went away.
18805 * panel-applet/NMWirelessAppletDbus.c
18806 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
18808 * src/NetworkManager.c
18809 src/NetworkManagerMain.h
18810 src/NetworkManagerDbus.c
18811 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
18812 - Make updating of our Allowed Wireless Network lists from NMI
18813 an idle function in the main thread now, with a high priority.
18815 2005-01-24 Dan Williams <dcbw@redhat.com>
18817 * panel-applet/gtkcellview.[ch]
18818 panel-applet/menu-info.c
18819 - Fix GTK version checks to be <= rather than <
18822 - Include the libtool archive of libnm_glib rather than
18823 trying to pull in the .so
18825 2005-01-24 Dan Williams <dcbw@redhat.com>
18827 * src/NetworkManagerDevice.c
18828 src/NetworkManagerDevicePrivate.h
18829 - Block nm_device_new() until our device's worker thread has had a
18830 chance to start up. Fixes a race between main thread and worker
18831 thread starting that caused activation requests to get lost.
18833 2005-01-24 Dan Williams <dcbw@redhat.com>
18835 * initscript/RedHat/NetworkManager
18836 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
18837 to add the NM startup script at priority 50, which was
18840 2005-01-24 Colin Walters <walters@redhat.com>
18842 * named/named.conf: Use any port for query source instead of
18843 restricting to port 53.
18845 2005-01-24 Dan Williams <dcbw@redhat.com>
18847 * initscript/RedHat/NetworkManager
18848 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
18849 to add the NM startup script at priority 50, which was
18852 2005-01-24 Dan Williams <dcbw@redhat.com>
18854 Patch from Tom Parker <palfrey@tevp.net>
18855 * Fix up compile warnings & errors in the wireless applet
18857 2005-01-24 Dan Williams <dcbw@redhat.com>
18859 * panel-applet/NMWirelessApplet.c
18860 - Convert 24x24 icons back to 22x22 and use the 22x22 ones
18862 2005-01-24 Dan Williams <dcbw@redhat.com>
18864 * panel-applet/gtkcellview.[ch]
18865 - Only compile these files for GTK 2.4 or lower, since
18866 GtkCellView is now public in GTK 2.6. Fixes crasher
18867 when choosing "Other Wireless Networks" from the panel
18870 2005-01-21 Dan Williams <dcbw@redhat.com>
18872 * src/NetworkManager.c
18873 - Daemonize earlier so that glib doesn't get confused (?)
18875 2005-01-21 Dan Williams <dcbw@redhat.com>
18877 * panel-applet/NMWirelessApplet.[ch]
18878 panel-applet/NMWirelessAppletDbus.c
18879 panel-applet/menu-info.c
18880 src/NetworkManagerDevice.c
18881 - Disable wired devices in the menu when they have no link.
18883 2005-01-21 Dan Williams <dcbw@redhat.com>
18885 * Cache last-known-good wireless authentication method in
18886 NetworkManagerInfo, and use that method first during
18887 wireless device activation. Should speed up devices that
18888 need Shared Key authentication method since Open System is
18891 * Remove the hack to not do full activation on wired connections
18892 that are active when we launch, it causes too many problems
18893 with name resolution and was a hack in the first place.
18895 * Re-work wireless device activation again somewhat to have a
18896 clearer chain of events and to use last-known-good
18897 authentication method of the access point. Also provide
18898 better status throughout activation to ensure the applet
18899 can tell the user exactly what's going on.
18901 * Remove the "find wireless network" code and now simply attempt
18902 to activate with that access point. This reduces the delay
18903 between selecting "Other wireless Network" and actually
18904 connecting to that network.
18906 * Correctly stop the device's worker thread when its removed.
18908 2005-01-21 Dan Williams <dcbw@redhat.com>
18911 - Clean up some of the debug messages
18913 2005-01-21 Dan Williams <dcbw@redhat.com>
18915 * Add new icons, more frames of animation
18916 * Remove some hacks to get the panel applet to display correct
18917 status, an NM update will soon follow that will fix the
18920 2005-01-19 Kjartan Maraas <kmaraas@gnome.org>
18922 * panel-applet/NMWirelessApplet.c: #include <config.h> must be
18923 the first include for working i18n. Also, don't include it in .h files
18924 * panel-applet/NMWirelessApplet.h: Same
18925 * panel-applet/NMWirelessAppletOtherNetworkDialog.c: Same
18926 * panel-applet/menu-info.c: Same
18928 2005-01-18 Dan Williams <dcbw@redhat.com>
18931 - Remove some debug messages
18932 - Wrap others in #ifdef DEBUG/#endif
18934 * src/NetworkManager.c
18935 - Remove some debug messages
18936 - Clarify some debug messages
18937 - Remove code related to old single-thread wireless scanning
18939 * src/NetworkManagerAP.[ch]
18940 - New AP property "last_seen" to track how recently an AP was
18942 - Start using 'const' more in function arguments
18944 * src/NetworkManagerAPList.[ch]
18945 - (nm_ap_list_merge_scanned_ap): new, selectively update attributes
18946 of an AP found in an AP list from a source AP, or if not found
18947 in the list add the source AP
18948 - (nm_ap_list_combine): remove, no longer needed
18950 * src/NetworkManagerDevice.c
18951 - Each device now has a "worker" thread from start to end of its life.
18952 Scanning for wireless devices now happens in that thread,
18953 not in a single "wireless scanning thread" for all devices as
18954 previously. Activation consists of adding an idle handler to the
18955 thread's main loop/context, which gets run at the next available
18957 - Wireless scanning is also simplified, there is now only one list of
18958 access points per wireless device, and APs older than 60s are
18959 removed from the list. Previously, we kept results for the last
18960 3 scans and merged whole lists, which was complicated.
18961 - Cleaned up activation debug messages.
18962 - Wireless activation and access-point search routines now use Open System
18963 authentication before trying Shared Key.
18964 - Removed some code in nm_device_update_best_ap() that could cause cards
18965 to loose their link to the access point.
18966 - Scanning now uses a backoff algorithm, where the inverval becomes
18967 progressively longer between scans when the list of scanned access
18968 points doesn't change. A change will revert to the shortest scan
18971 * src/NetworkManagerWireless.[ch]
18972 - Remove code related to old single-thread wireless scanning
18974 2005-01-18 Colin Walters <walters@redhat.com>
18976 * src/NetworkManagerDHCP.c (set_nameservers): Free and clear list
18977 of older nameservers.
18979 2005-01-18 Colin Walters <walters@redhat.com>
18981 * named/nm-named-manager.c (generate_named_conf): Many fixes
18982 to config file generation.
18983 (safer_kill): Remove, was too much trouble for little gain.
18984 (nm_named_manager_start): Run named as NM_NAMED_USER.
18986 * configure.in: Add option --with-named-user.
18988 2005-01-14 Colin Walters <walters@redhat.com>
18990 Patch from ed@catmur.co.uk (Ed Catmur)
18992 * named/nm-named-manager.c: Add "context" property.
18993 Use it to add child watch source in specific GMainContext.
18995 * src/NetworkManager.c (nm_data_new): Initialize
18996 named with correct main context. Start named only
18999 2005-01-14 Colin Walters <walters@redhat.com>
19001 * named/nm-named-manager.c (generate_named_conf): Write config
19002 and pid files into NM_NAMED_DATA_DIR; this allows things to
19003 work better with FC3 named SELinux policy. Also fix up silly
19006 * configure.in: Add --with-named-dir option.
19008 2005-01-14 Colin Walters <walters@redhat.com>
19010 * configure.in: Make named support require passing --with-named.
19012 * named/nm-named-manager.c: Support writing resolv.conf directly
19013 without running named.
19015 2005-01-13 Dan Williams <dcbw@redhat.com>
19017 * named/nm-named-manager.c
19018 - Use syslog(LOG_WARNING) rather than g_warning() (gnome.org #163961)
19020 * src/NetworkManagerDevice.c
19021 - Rework wireless link detection code to be more reliable
19023 2005-01-12 Dan Williams <dcbw@redhat.com>
19025 * initscripts/RedHat/NetworkManager
19026 - Change initial level to "-" rather than "345" so that
19027 we don't activate ourselves by default on install
19029 2005-01-12 Dan Williams <dcbw@redhat.com>
19032 - Client library for applications using glib
19036 - Split NM_CFLAGS and NM_LIBS into separate variables
19037 like DBUS_*, HAL_* and GLIB_*
19039 * src/NetworkManager.c
19040 src/NetworkManagerMain.h
19041 - (nm_schedule_status_signal_broadcast): at the earliest convenience,
19042 broadcast a status changed signal over DBUS from the main thread.
19043 Still unused anywhere for the moment.
19045 Patch from j@bootlab.org
19046 * panel_applet/NMWirelessAppletDbus.c
19047 src/NetworkManagerDbus.c
19048 - Correct INT32->UINT32 mistmatch between NM and the panel applet
19049 for the "getMode" method call
19051 2005-01-10 Dan Williams <dcbw@redhat.com>
19053 * src/NetworkManagerDevice.c
19054 - Minor fixups & corrections to "auto" frequency mode, make it
19055 less chatty with syslog
19057 2005-01-10 Dan Williams <dcbw@redhat.com>
19059 * src/NetworkManagerDevice.c
19060 - Implement "auto" frequency/channel support, since cards like Atheros
19061 can't use other frequencies at all when you've told it to use a
19062 specific one, even for scanning.
19063 - Grab the scan mutex around places where we can't tolerate wireless
19064 settings changing underneath us, like nm_device_wireless_network_exists()
19065 and nm_device_activate_wireless()
19067 * src/NetworkManagerWireless.c
19068 - Back scan interval off to 20s instead of 14s
19070 2005-01-09 Dan Williams <dcbw@redhat.com>
19072 * src/NetworkManagerDevice.c
19073 - Don't set mode/freq/bitrate if that mode/freq/bitrate is
19074 already set. Stops some drivers like Atmel from continually
19075 reloading the firmware, which they do upon every configuration
19078 2005-01-09 Dan Williams <dcbw@redhat.com>
19081 - Use correct timeout value
19083 * info-daemon/NetworkManagerInfoDbus.c
19084 src/NetworkManagerDbus.c
19085 - Consolidate communication between NM and NMI by doing only 1 dbus
19086 method call to get Wireless Network info from NMI instead of 6
19088 * src/NetworkManager.c
19089 - Make sure to cancel activation when we receive a SIGTERM, otherwise
19090 when we didn't have an AP to use, we'd wait for one forever without
19093 * src/NetworkManagerDevice.c
19094 - nm_device_activation_cancel(): Fix a race between dhcp and quitting
19095 activation, dhcp might not have started yet but we don't quit activation
19096 before starting it, so the quit signal gets lost
19098 2005-01-07 Dan Williams <dcbw@redhat.com>
19101 - Rework the DHCP client code to be much less chatty when
19102 it receives non-DHCP UDP packets during the DHCP run
19103 (reported by and preliminary patches from Bill Moss)
19105 * Move wireless scanning to a separate thread. This thread forwards the
19106 results to the main thread when done where they are integrated into
19107 the device's access point lists. This keeps the main thread (which
19108 does all the DBUS communication) from being blocked for long periods
19109 of time by wireless scanning.
19111 * Make state modification an idle routine in the main loop, and trigger
19112 state changes rather than polling for them.
19114 * src/backends/NetworkManagerGentoo.c
19115 - Fix up invalid C90 code (reported by Christoph Ruessler)
19117 * src/NetworkManagerDevice.c
19118 - Revert IPv6 patch for wired devices from 2004-12-22 for
19119 router advertisements, causing problems and infinite loop
19120 during "best" device determination due to link going up/down
19121 (reported by Bill Moss)
19123 Apply patch from Peter Jones
19124 * src/NetworkManagerDevice.c
19125 - Shortcut for link-checking for ipw2x00 cards
19126 - Split out association check into separate routine
19128 2004-01-05 Colin Walters <walters@redhat.com>
19130 * named/named.conf: Add PID_FILE.
19132 * named/nm-named-manager.c: Always generate a pid
19133 file, since older BIND versions don't support
19136 2005-01-01 Satoru SATOH <ss@gnome.gr.jp>
19138 * configure.in (ALL_LINGUAS): Added ja (Japanese).
19140 2004-12-22 Dan Williams <dcbw@redhat.com>
19142 * src/NetworkManagerDevice.c
19143 - Silently fail when setting bitrate doesn't work
19146 Patches from j@bootlab.org:
19147 * src/backends/NetworkManagerDebian
19148 - Update backend to match functionality in RedHat backend
19149 * src/NetworkManagerDevice.c
19150 - Take down then bring up wired devices after connection so
19151 they send out ipv6 router advertisements
19153 2004-12-21 Colin Walters <walters@verbum.org>
19155 * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_update_devices): Correctly
19156 test for NETWORK_MODE_ADHOC; spotted by: Greg <gonufer@gmail.com>.
19158 2004-12-21 Colin Walters <walters@redhat.com>
19160 * configure.in: Correct named detection.
19162 2004-12-21 Colin Walters <walters@redhat.com>
19164 * src/NetworkManager.c (nm_data_new): Initialize named.
19165 Also, set up a signal handler for SIGINT/SIGTERM, and exit
19166 the mainloop when these signals are received.
19167 (nm_data_free): Unref named.
19168 (sigterm_handler, sigterm_pipe_handler): New functions for
19171 * src/NetworkManagerMain.h (NMData): Add signal handling and
19174 * src/NetworkManager.c (nm_device_unref): Quit device mainloop on
19177 * src/NetworkManagerDHCP.c (set_nameservers): New function;
19178 set nameservers from DHCP response data.
19179 (set_domain_search): Set domain search from DHCP response.
19180 (nm_device_dhcp_configure): Invoke them.
19182 * src/NetworkManagerSystem.c
19183 (nm_system_device_update_resolv_conf): Delete. Deleting
19184 code is totally sweet.
19186 * src/Makefile.am (NetworkManager_LDADD): Add libnamed.
19188 * named/nm-named-manager.h, named/nm-named-manager.c: New files;
19189 implements an object which controls a nameserver. Currently
19192 * configure.in: Check for named.
19194 * Makefile.am (SUBDIRS): Add named dir.
19196 * named/named.conf: New template config file.
19198 2004-12-20 Colin Walters <walters@redhat.com>
19200 * src/NetworkManagerPolicy.c (nm_policy_get_best_device): Fix usage of '=='
19203 2004-12-17 Dan Williams <dcbw@redhat.com>
19205 * Ad Ad-Hoc networking mode support. In Ad-Hoc mode, we only try to get
19206 link-local addresses instead of doing DHCP.
19208 * In the panel applet, there's a new "Create new Wireless Network..." item
19210 * The panel applet also sticks around now even if NetworkManager dies, but
19211 it doesn't hide its icon when NM isn't around. Not hiding the icon is
19212 a bug, I'll fix that later.
19214 * We also don't use 'nscd' anymore in the RH backend, it was impeding name
19215 lookups after a switch rather than actually doing them.
19217 * Clean up some of those warnings in nm_ap_list_* functions
19219 * Delay between scans changed to 15s instead of 10s
19221 2004-12-15 Dan Williams <dcbw@redhat.com>
19223 Patch from Tom Parker
19224 * Add autoip/Link Local Addressing support when we fail to get a DHCP
19227 * Longer pause after setting ESSID on cards that support a larger number
19228 of channels to give the card time to find the right channel
19230 * Add system hook to restart mDNSResponder (or whatever the local implementation
19231 of Multicast DNS is) when we activate interfaces
19233 2004-12-15 Dan Williams <dcbw@redhat.com>
19235 * Rework the DHCP code again to revert to sending full ethernet frames
19236 rather then relying on the kernel to do the right thing with our
19239 2004-12-06 Dan Williams <dcbw@redhat.com>
19242 - Fix some minor errors in dhcp_handle_transaction() that caused
19243 unexpected early timeouts of DHCP transactions
19246 - DHCP retransmit time from 4s -> 5s
19248 2004-12-05 Dan Williams <dcbw@redhat.com>
19250 * Major rework of the DHCP code, taking some cues from pump. We don't
19251 write raw Ethernet packets anymore, which simplifies the code quite
19252 a bit. The new code should be more robust, not hang in recvfrom()
19253 as much, and generally work better. This also means that we need
19254 to force HAL/dbus to use a created GMainContext rather than the
19255 default context, since having the DHCP renew/rebind thread using
19256 its own GMainContext seemed to give dbus a fit. There is also more
19257 debugging information printed from the DHCP loop to help with future
19260 * Also, if the DHCP server doesn't give us the "routersOnSubnet" option,
19261 assume that the default gateway should be the DHCP server.
19263 Patch from Matthew Schick <matt oss-institute org>
19264 * src/backends/NetworkManagerGentoo.c
19265 - Fix compilation error due to missing "ip4_broadcast"
19267 2004-12-03 Dan Williams <dcbw@redhat.com>
19269 * initscript/Makefile.am
19270 * initscript/Debian/NetworkManager
19271 * initscript/Gentoo/NetworkManager
19272 * initscript/RedHat/NetworkManager
19273 * initscript/NMLaunchHelper.c
19274 - Remove NMLaunchHelper, if you need to wait until the network
19275 comes up, use the dead code from CVS.
19277 2004-12-01 Colin Walters <walters@redhat.com>
19279 * configure.in: Suck in gcc warnings code from Rhythmbox,
19280 but use fewer default flags, and in particular add -Wno-unused,
19281 since the codebase has a lot of unused variables.
19283 * test/nmtestdevices.c (create_device):
19284 * test/nminfotest.c (get_network_string_property)
19285 (get_networks_of_type):
19286 * test/nmclienttest.c (main):
19287 * src/NetworkManagerDbus.c (nm_dbus_create_error_message):
19288 * initscript/NMLaunchHelper.c (get_nm_status):
19289 * info-daemon/NetworkManagerInfoPassphraseDialog.c (update_button_cb):
19290 * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_create_error_message):
19291 Fix declarations after statements.
19293 2004-12-01 Colin Walters <walters@redhat.com>
19295 * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_return_vpn_password): New method.
19296 (nmi_dbus_get_vpn_userpass): New method.
19297 (nmi_dbus_nmi_message_handler): Invoke it.
19299 * info-daemon/NetworkManagerInfoDbus.h (nmi_dbus_return_vpn_password): Prototype.
19301 * info-daemon/NetworkManagerInfoVPN.h,
19302 info-daemon/NetworkManagerInfoVPN.c: New files; responds
19303 to requests for VPN passwords.
19305 * configure.in (GNOME_KEYRING_LIBS): Check for gnome-keyring.
19307 2004-12-01 Colin Walters <walters@redhat.com>
19309 * test/nmtestdevices.c, test/nmclienttest.c: Add missing
19312 2004-12-01 Colin Walters <walters@redhat.com>
19314 * panel-applet/NMWirelessAppletDbus.c
19315 (nmwa_dbus_update_active_device_strength): Fix missing
19318 2004-12-01 Colin Walters <walters@redhat.com>
19320 * panel-applet/NMWirelessApplet.c: Add missing include.
19322 2004-12-01 Colin Walters <walters@redhat.com>
19324 * src/NetworkManagerWireless.c (nm_wireless_qual_to_percent):
19325 Remove useless CLAMP (); the value is unsigned, and the case tests
19326 qual->qual < 100, so the value must always be between 0 and 100.
19328 2004-12-01 Colin Walters <walters@redhat.com>
19330 * dhcpcd/buildmsg.c, dhcpcd/dhcp_test.c: Add missing includes.
19332 2004-11-22 Colin Walters <walters@verbum.org>
19334 * src/backends/NetworkManagerRedHat.c (nm_system_update_dns): Run
19335 "nscd -i hosts" to invalidate the host cache instead of restarting nscd,
19336 which is essentially a noop since nscd caches hosts on disk too.
19338 2004-11-22 Colin Walters <walters@redhat.com>
19340 * src/Makefile.am (NetworkManager_SOURCES): Add
19341 NetworkManagerDevicePrivate.h.
19343 2004-11-22 Dan Williams <dcbw@redhat.com>
19345 * src/NetworkManagerDevicePrivate.h
19346 - Split out the NMDevice struct to a different file so that stuff like
19347 NetworkManagerDHCP.c and NetworkManagerSystem.c can use it
19351 - (dhcpSendAndRecv): do non-blocking sends and receives, and check to see if we
19352 need to cancel the dhcp request during the send and recv
19355 - Move the DHCP option enum to dhcpcd.h
19357 * src/NetworkManagerDHCP.c
19358 - Split out the actual IP/netmask/etc setting code
19359 - New Renew/Rebind functions
19360 - New timer setup function for renew/rebind operations
19362 * src/NetworkManagerDevice.c
19363 - For device activation, if we are using DHCP then keep the activation thread
19364 alive until device deactivation. We need to renew/rebind the DHCP address
19365 after the T1 (renew) and T2 (rebind) times have expired.
19366 - Increase some timeouts after bringing wireless cards up/down
19368 2004-11-17 Dan Williams <dcbw@redhat.com>
19370 * Cache access point MAC addresses in NetworkManagerInfo after you've explicitly
19371 connected to them. Then, after a scan, match up non-ESSID-broadcasting access
19372 points with any cached MAC addresses from NetworkManagerInfo. Allows us to
19373 show known access points that don't broadcast their ESSID in the menus without
19374 any user intervention whatsoever.
19376 * info-daemon/NetworkManagerInfoDbus.c
19377 - (nmi_dbus_get_network_addresses, nmi_dbus_add_network_address): new functions
19378 for dbus method calls "getNetworkAddresses" and "addNetworkAddress"
19380 * src/NetworkManagerAP.[ch]
19381 - Add a "user_addresses" data member to the NMAccessPoint structure
19382 - (nm_ap_get_user_addresses, nm_ap_set_user_addresses): new functions for accessing
19383 the user_addresses data member
19385 * src/NetworkManagerAPList.c
19386 - (nm_ap_list_get_ap_by_address): check user_addresses list too, instead of just
19387 the AP's reported address
19388 - (nm_ap_list_update_network): grab the user_addresses list from NetworkManagerInfo
19390 * src/NetworkManagerDHCP.c
19391 - Increase DHCP timeout from 25s -> 30s
19393 * src/NetworkManagerDbus.[ch]
19394 - (nm_dbus_get_network_addresses, nm_dbus_add_network_address): have NMI get/set
19397 * src/NetworkManagerDevice.c
19398 - (nm_device_set_wireless_config): bring down the interface, wait 4s, bring it up,
19399 wait 2s, then configure it. Sometimes Prism54 cards will freeze up with
19400 "mgnt tx queue full", seemingly in response to NM controlling the card too much.
19401 So, we take the card down to clear it out.
19402 - (nm_device_do_normal_scan): Copy over AP ESSIDs from the allowed access point list
19403 too, since that's where the user_addresses are
19405 * src/NetworkManagerPolicy.c
19406 - (nm_state_modification_monitor): Tell NMI to add an AP's hardware address to
19407 that wireless networks' user_addresses list upon successful activation
19409 2004-11-16 Dan Williams <dcbw@redhat.com>
19411 * src/NetworkManagerDevice.[ch]
19412 - (nm_device_clear_activation_fail): new function
19414 * src/NetworkManagerPolicy.c
19415 - (nm_state_modification_monitor): clear the activation_failed flag on devices
19416 when we've dealt with the failure so the user doesn't get failure-dialog-spammed
19418 2004-11-16 Dan Williams <dcbw@redhat.com>
19420 * src/NetworkManagerDevice.c
19421 - (nm_device_activate_wireless): Unref best_ap upon success so we don't
19422 leak the structure, better updating of now_scanning status
19423 - (nm_device_wireless_network_exists): Rewrite for better/faster checking
19425 2004-11-15 Dan Williams <dcbw@redhat.com>
19427 Major rework of link detection code. We now use DHCP
19428 as part of the link detection which proves to be much more robust,
19429 and also supports Open System authentication for wireless networks.
19431 We no longer use external DHCP client programs. Instead, we use
19432 our own DHCP client, based on substantially reworked bits of 'dhcpcd'
19433 which was written by:
19434 Yoichi Hariguchi <yoichi@fore.com>
19435 Sergei Viznyuk <sv@phystech.com>
19436 http://www.phystech.com/download/
19437 It resides in the "dhcpcd" directory and was refactored into a general
19438 purpose DHCP client library by me.
19440 Also misc fixes (CPPFLAGS->AM_CPPFLAGS, move some stuff around),
19441 move src/backends/NetworkManagerSystem.h -> src/NetworkManagerSystem.h
19443 2004-11-15 Dan Williams <dcbw@redhat.com>
19445 Patch from Tom Parker <palfrey@tevp.net>:
19447 * src/NetworkManagerDevice.c
19448 - Less output to console when no access
19449 points are found during a scan
19451 2004-11-15 Dan Williams <dcbw@redhat.com>
19453 Patch from Tom Parker <palfrey@tevp.net>:
19455 * src/backends/interface_parser.c
19457 - Check for inp == NULL
19460 2004-11-13 Colin Walters <walters@redhat.com>
19462 Patch from Tom Parker <palfrey@tevp.net>:
19464 * src/Makefile.am (CPPFLAGS): Switch to AM_CPPFLAGS.
19466 * src/backends/NetworkManagerRedHat.c: Switch to
19467 including shvar.h instead of shvar.c.
19469 * src/backends/NetworkManagerDebian.c: Don't include
19470 interface_parser.c in source file.
19472 (libnmbackend_la_SOURCES): Don't include shvar.[ch]
19473 and interface_parser.[ch].
19474 * src/Makefile.am (libnmbackend_la_SOURCES) <TARGET_REDHAT>:
19475 Include shvar.c and shvar.h here.
19476 (libnmbackend_la_SOURCES) <TARGET_DEBIAN>: Include
19477 interface_parser.c and interface_parser.h here.
19479 2004-11-12 Colin Walters <walters@redhat.com>
19481 * configure.in: Strip out TARGET_DISTRO and
19482 SYSTEM_BACKEND_FILE variables. Switch to Automake
19485 * src/Makefile.am (noinst_LTLIBRARIES): Add libnmbackend.la.
19486 (libnmbackend_la_SOURCES): Use Automake conditionals
19487 to add distro-specific files.
19489 * initscript/Makefile.am (SUBDIRS): Update to
19492 2004-11-12 Colin Walters <walters@redhat.com>
19494 Patches from j bootlab org
19496 * src/Makefile.am (EXTRA_NetworkManager_SOURCES):
19497 Add interface_parser.[ch].
19499 * src/backends/NetworkManagerDebian.c (nm_system_device_run_dhcp): Invoke
19500 dhclient with "-lf /var/lib/dhcp/dhclient-%s.leases".
19502 2004-11-12 Colin Walters <walters@redhat.com>
19504 * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_service_init): Delete
19505 call to nmi_dbus_is_running too, not necessary anymore.
19506 * info-daemon/NetworkManagerInfoDbus.c: Include stdlib.h to
19509 2004-11-11 Colin Walters <walters@verbum.org>
19511 * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_is_running):
19513 (nmi_dbus_service_init): Call dbus_bus_acquire_service with
19514 the DBUS_SERVICE_FLAG_PROHIBIT_REPLACEMENT flag, and
19515 then check the result for DBUS_SERVICE_REPLY_SERVICE_EXISTS.
19516 This avoids a race condition that made it pretty easily
19517 possible to get two NetworkManagerInfo daemons running.
19519 2004-11-11 Colin Walters <walters@verbum.org>
19521 * src/NetworkManager.c (main): Use daemon(3).
19523 * info-daemon/NetworkManagerInfo.c (main): Ditto.
19525 * dispatcher-daemon/NetworkManagerDispatcher.c (main): Ditto.
19527 2004-11-10 Dan Williams <dcbw@redhat.com>
19529 Patches from j bootlab org
19530 * src/NetworkManagerDevice.c
19531 - (nm_device_activate_wireless): wait 5 seconds before attempting to detect
19532 whether the card has a link or not, some cards are slow
19533 - (nm_device_activation_configure_ip): make ipv6 work a bit better
19535 * info-daemon/NetworkManagerInfoPassphraseDialog.c
19536 - Disable the "Login" button on the passphrase dialog until the user
19537 enters a valid passphrase or key
19539 Patches from Tom Parker <palfrey tevp net>
19540 * src/backends/NetworkManagerDebian.c
19541 - Add static IP support to the debian backend
19543 * src/backends/interface_parser.[ch]
19544 - Parse debian interface config files
19546 2004-11-08 Dan Williams <dcbw@redhat.com>
19548 * src/NetworkManagerDevice.c
19549 - Some random fprintf->syslog conversions
19550 - (nm_device_wireless_network_exists): double-check for network
19551 - (nm_device_find_and_use_essid): Copy over encryption key no matter what
19553 * src/NetworkManagerWireless.[ch]
19554 - (nm_wireless_[128|64]bit_ascii_to_hex): make "ascii" argument unsigned again
19555 so that the binary->ascii conversion works (if unsigned, the bitshift
19556 will fill with zeros, which is what's required). Also mask bitshift
19557 result with 0xF for futher assurance.
19559 2004-11-06 Dan Williams <dcbw@redhat.com>
19561 * src/NetworkManagerUtils.c
19562 - (nm_get_wireless_driver_support_level): default to
19563 FULLY_SUPPORTED rather than UNSUPPORTED, forgot to
19564 flip this when changing from whitelist->blacklist of
19567 2004-11-05 Dan Williams <dcbw@redhat.com>
19569 Patch from Robert Paskowitz:
19570 * src/backends/NetworkManagerGentoo.c
19571 - Update static IP config code
19573 2004-11-05 Dan Williams <dcbw@redhat.com>
19575 * info-daemon/NetworkManagerInfoDbus.c
19576 src/NetworkManagerDbus.[ch]
19577 src/NetworkManagerDevice.c
19578 - Keep track of the # of attempts to get the WEP key
19579 from the user and pass that along to the info daemon
19581 2004-11-05 Dan Williams <dcbw@redhat.com>
19583 * src/NetworkManagerUtils.c
19584 - Blacklist wireless cards rather than whitelisting them.
19585 - Grab driver name from HAL rather than trying to find it
19588 2004-11-03 Dan Williams <dcbw@redhat.com>
19590 * panel-applet/NMWirelessAppletOtherNetworkDialog.c,
19591 - Disable OK button until valid data is entered
19592 for encryption stuff too
19594 * panel-applet/NMWirelessApplet.c
19595 - Report card strength for current AP if the card
19596 doesn't report strength data for scanned access
19599 * src/NetworkManagerDevice.c
19600 - Smooth out cards reported quality, Atmel card was
19601 intermittently reporting no quality data but soon
19604 * src/NetworkManagerWireless.c
19605 - Better quality data percentage calculation. Atmel
19606 cards (mine at least) seem to report the quality
19607 in percentage format already, so honor that
19609 Patch from <j@bootlab.org>
19611 info-daemon/NetworkManagerInfoPassphraseDialog.c
19612 info-daemon/passphrase.glade
19613 panel-applet/NMWirelessAppletOtherNetworkDialog.c
19614 panel-applet/essid.glade
19615 src/NetworkManagerAP.c
19616 src/NetworkManagerDevice.c
19617 src/NetworkManagerWireless.[ch]
19618 - Support ASCII WEP keys, in both 40/64 bit and 104/128 bit
19620 2004-11-03 Dan Williams <dcbw@redhat.com>
19622 * src/NetworkManagerDevice.[ch]
19623 - (nm_device_set_enc_key): Add parameter to set Authentication
19624 Mode (Open System, Shared Key, or None). We're still using
19625 Shared Key for now though.
19627 2004-11-02 Bryan Clark <clarkbw@cvs.gnome.org>
19629 * panel-applet/menu-info.c: change from bold text to light
19630 colored, may cause problems with some themes, i've tested a lot
19631 and they seem fine.
19633 * panel-applet/NMWirelessApplet.c: fix strength tooltip
19635 2004-11-01 Colin Walters <walters@verbum.org>
19637 * src/NetworkManagerWireless.h, src/NetworkManagerWireless.c
19638 (nm_wireless_128bit_key_from_passphrase): Add const.
19640 * src/NetworkManagerAP.h, src/NetworkManagerAP.c
19641 (nm_ap_set_enc_key_source): Add const.
19643 2004-11-01 Colin Walters <walters@verbum.org>
19645 * .cvsignore: Update.
19647 2004-10-29 Dan Williams <dcbw@redhat.com>
19649 * src/NetworkManagerDevice.c
19650 - (nm_device_wireless_network_exists): Actually use the encryption
19651 key we got from the applet when attempting to find a wireless network
19652 - Don't bring devices down so much since on some cards it triggers
19653 firmware hotplugs each time
19655 * src/NetworkManagerDbus.c
19656 - (nm_dbus_nm_set_active_device): free the passphrase we may have gotten
19659 2004-10-29 Dan Williams <dcbw@redhat.com>
19661 * src/NetworkManager.c
19662 - (nm_hal_device_property_modified): unlock a locked active
19663 wireless device when a wired connection gets a link.
19664 (Means you'll switch to wired whenever you plug in no
19667 2004-10-29 Dan Williams <dcbw@redhat.com>
19669 * panel-applet/NMWirelessAppletOtherNetworksDialog.[ch]
19670 - New files, implement the "Other wireless network" dialog
19672 * panel-applet/NMWirelessApplet.c
19673 - Move "other wireless network" dialog to separate file
19675 * panel-applet/NMWirelessAppletDbus.[ch]
19676 - Take key and key_type paramaters for the set_device function
19678 * panel-applet/essid.glade
19679 - Add UI bits for encryption settings
19681 * src/NetworkManagerDbus.c
19682 - Retrieve key and key_type params for "setActiveDevice" method call
19684 - unref AP returned from nm_device_get_best_ap() when needed
19686 * src/NetworkManagerDevice.c
19687 - (nm_device_get_best_ap): ref the ap before returning it
19688 - unref AP returned from nm_device_get_best_ap() when needed
19689 - (nm_device_activate_wireless): add "ap" parameter so we don't
19690 need to call nm_device_get_best_ap() here, it was pretty much
19692 - (AP_NEED_KEY): break second link check condition out into separate
19693 function, and fix segfault when ap->enc_key_source was NULL
19694 - (nm_device_find_and_use_essid): take key and key_type parameters and
19695 pass them along to nm_device_wireless_network_exists(). If the
19696 network does exist, set the passed-in key+key_type on the AP
19698 * src/NetworkManagerPolicy.c
19699 - unref AP returned from nm_device_get_best_ap() when needed
19701 2004-10-28 Dan Williams <dcbw@redhat.com>
19703 * src/NetworkManagerUtils.c
19704 - (nm_spawn_process): Fix a potential dereference of NULL
19706 Patches from Peter Jones:
19708 * src/NetworkManagerDevice.c
19709 - (nm_device_test_wireless_extensions): Better check for
19712 * src/NetworkManagerUtils.c
19713 - (nm_spawn_process): Pass in valid stdout and stderr so
19714 executed programs don't randomly SIGPIPE and fail
19715 - (nm_get_wired_driver_support_level): quash hal warning
19716 when checking for USB ethernet device
19718 2004-10-27 Dan Williams <dcbw@redhat.com>
19720 * info-daemon/NetworkManagerInfo.c
19721 info-daemon/NetworkManagerInfoDbus.c
19722 info-daemon/NetworkManagerInfoPassphraseDialog.c
19723 panel-applet/NMWirelessApplet.c
19724 - Properly escape gconf keys
19726 * src/NetworkManager.c
19727 - remove unused variables
19729 * src/NetworkManagerAP.c
19730 - (nm_ap_new_from_ap): Don't redundantly set new APs
19731 refcount since it got set in nm_ap_new()
19733 * src/NetworkManagerAPList.c
19734 - (nm_ap_list_combine): Give up ownership of newly created
19735 access points to the ap list, fixes memleak
19737 * src/NetworkManagerDevice.c
19738 - Remove cached_ap_list4 member since its not really needed
19739 - (nm_device_wireless_network_exists): Try to get correct
19740 encryption status of a found AP if its already in our
19742 - (nm_device_do_normal_scan): Clean up scanning a bit, make
19743 memory allocs/deallocs a bit clearer and shorter-lived
19745 2004-10-26 Ray Strode <rstrode@redhat.com>
19747 * panel-applet/NMWirelessApplet.c:
19748 (custom_essid_item_selected): kill some compiler
19751 2004-10-26 John (J5) Palmieri <johnp@redhat.com>
19753 * info-daemon/NetworkManagerInfoDbus.c
19754 - (nmi_dbus_is_running): New function for determining if nmi is already running
19755 - (nmi_dbus_service_init): exit if another instance of nmi is already running
19757 2004-10-23 Dan Williams <dcbw@redhat.com>
19759 * info-daemon/NetworkManagerInfoDbus.c
19760 - Trap the "DeviceActivationFailed" signal
19762 * docs/NetworkManager DBUS API.txt
19763 - Add "DeviceActivationFailed" signal
19765 * panel-applet/NMWirelessAppletDbus.c
19766 - Quash the "NetworkManager service not available" message
19768 * src/NetworkManagerDbus.[ch]
19769 - Add the "DeviceActivationFailed" signal
19771 * src/NetworkManagerDevice.c
19772 - Add support for activation_failed flag
19773 - Fix deadlock where activation thread didn't clean itself up, making
19774 main thread still believe it was alive forever (didn't reset activation
19775 flags like activating, just_activated, etc when IP configuration
19778 * src/NetworkManagerPolicy.c
19779 - Implement logic for DeviceActivationFailed signal, and when activation fails
19780 for wireless networks, try to fall back to some other access point
19782 2004-10-23 Dan Williams <dcbw@redhat.com>
19784 * panel-applet/NMWirelessApplet.[ch]
19785 - Place the GtkMenuBar inside a GtkEventBox, and add the Event Box
19786 to the applet object, so we can get tooltips
19787 - Add tooltips (RH #136866)
19789 * src/NetworkManagerDevice.c
19790 - When trying to find a wireless network, try to connect with encryption
19791 turned on first, so that we can more accurately detect whether or not
19792 we need to use encryption for the actual association later on
19794 2004-10-21 Dan Williams <dcbw@redhat.com>
19796 * Add some support for telling NetworkManagerInfo to tell the user
19797 that they are using a device that's not fully supported
19799 * Fix some assertions in debug messages due to null access point args
19801 2004-10-21 Dan Williams <dcbw@redhat.com>
19803 * src/NetworkManagerDevice.c
19804 - Don't try to activate/bring up/down unsupported
19807 * src/NetworkManagerUtils.c
19808 - Fix case of PCI ID checks for driver support levels
19810 2004-10-21 Dan Williams <dcbw@redhat.com>
19813 - New file, now contains commonly used structures and bits
19814 for the dbus API of NetworkManager
19817 - Deliver NetworkManager.h to ${includedir}/NetworkManager
19819 * src/NetworkManager.h
19820 - Rename -> src/NetworkManagerMain.c
19822 * Various fixups all around to use NetworkManager.h and new
19823 src/NetworkManagerMain.h, remove redundant bits that got
19824 moved into NetworkManager.h
19826 * src/NetworkManagerDevice.[ch]
19827 src/NetworkManagerUtils.[ch]
19828 src/NetworkManagerPolicy.c
19829 src/NetworkManagerDbus.c
19830 - Whitelist wireless drivers, and blacklist some wired
19831 drivers. Also blacklist cipsec and ethernet-over-usb
19832 devices at this time (RH #135722, RH #135648)
19833 - Don't leak unsupported devices out over dbus, or allow
19834 them to be set as the active device. Skip over them
19835 during automatic device picking
19837 * test/nmclienttest.c
19838 - Clean up the dbus code a lot
19840 Tue Oct 19 14:20:29 2004 Jonathan Blandford <jrb@redhat.com>
19842 * configure.in: post release bump.
19844 Tue Oct 19 14:19:24 2004 Jonathan Blandford <jrb@redhat.com>
19847 * NEWS: Released NetworkManager-0.3.1
19849 2004-10-18 Dan Williams <dcbw@redhat.com>
19851 Patches from Thom May:
19852 * test/nmtestdevices.c
19853 - Include <string.h>
19854 * src/backends/NetworkManagerDebian.c:
19855 - (nm_system_device_run_dhcp, nm_system_device_stop_dhcp)
19856 (nm_system_device_flush_routes, nm_system_device_flush_addresses)
19857 Move to using g_strdup_printf rather than arbitrary buffers
19858 - (nm_system_device_setup_static_ip4_config) Implement function.
19859 - (nm_system_kill_all_dhcp_daemons) Use killall -q rather than killall
19861 2004-10-17 Dan Williams <dcbw@redhat.com>
19863 * info-daemon/NetworkManagerInfoDbus.c
19864 - Display name of network in the "network not found" dialog
19866 * panel-applet/NMWirelessAppletDbus.c
19867 - (nmwa_dbus_call_nm_method): new function replaces all other
19868 nmwa_dbus_get_[string|string_array|int|boolean] methods
19869 - nmwa_dbus_get_network_name() and nmwa_dbus_get_device_name()
19870 consolidated into nmwa_dbus_get_object_name()
19872 2004-10-15 Dan Williams <dcbw@redhat.com>
19874 * src/NetworkManagerDbus.c
19875 info-daemon/NetworkManagerInfoDbus.c
19876 - Display an error dialog when the user tries to use an
19877 "Other wireless network" that's not found.
19879 2004-10-15 Dan Williams <dcbw@redhat.com>
19881 * panel-applet/NMWirelessApplet.[ch]
19882 - Fix up corner cases in applet state, making it
19883 look more responsive. Change state to "connecting" when
19884 the user is forcing a device too.
19886 2004-10-15 Dan Williams <dcbw@redhat.com>
19888 * src/NetworkManagerAPList.c
19889 - (nm_ap_list_update_network): Disown AP after the list takes ownership
19891 * src/NetworkManagerDbus.c
19892 - (nm_dbus_nm_set_active_device): Simplify the device setting logic
19894 * src/NetworkManagerDevice.c
19895 - Disown APs after the device's AP list takes ownership
19897 2004-10-15 Dan Williams <dcbw@redhat.com>
19899 * panel-applet/NMWirelessApplet.c
19900 - Update our applet state from the GUI thread
19902 * panel-applet/NMWirelessAppletDbus.c
19903 - Greatly simplify the locking to make the GUI thread
19904 smoother. Update a private copy of the device list
19905 and active device and only when done talking to
19906 NetworkManager turn it over to the GUI thread.
19908 2004-10-15 Dan Williams <dcbw@redhat.com>
19910 * src/NetworkManagerAP.[ch]
19911 - Add "artificial" get/set functions, set for APs that
19912 aren't discovered as part of a scan but instead
19913 discovered by force-setting the ESSID
19915 * src/NetworkManagerDevice.[ch]
19916 - (nm_device_wireless_network_exists): pass back whether
19917 or not the discovered AP was encrypted. Also, try
19918 falling back to encrypted mode on the card if unencrypted
19919 association doesn't work
19920 - (nm_device_find_and_use_essid): If the network requested
19921 did in fact exists, but it wasn't in our scan list, add
19922 an "artificial" entry for it. Some Cisco cards don't
19923 see non-ESSID-broadcasting APs in their scan but can still
19924 associate with them if you know the ESSID, this works around
19926 - (nm_device_do_normal_scan): Carry "artificial" APs over from scan
19927 to scan if the card is currently associated with that AP
19929 2004-10-15 Dan Williams <dcbw@redhat.com>
19931 ---- We have a website ----
19932 http://people.redhat.com/dcbw/NetworkManager
19934 Patch from Robert Paskowitz:
19935 * src/NetworkManager.c
19936 - (main): Make sure we are run as root
19937 * src/NetworkManagerDevice.c
19938 - Fix type in ad-hoc setting function
19940 Patch from Thom May:
19941 * src/backends/NetworkManagerDebian.c
19942 - Make Debian backend compile again
19944 2004-10-14 Dan Williams <dcbw@redhat.com>
19946 * Tagged NetworkManager-0_3
19948 2004-10-14 Dan Williams <dcbw@redhat.com>
19950 Patch from Robert Paskowitz:
19952 src/NetworkManagerDevice.[ch]
19953 src/backends/NetworkManagerDebian.c
19954 src/backends/NetworkManagerGentoo.c
19955 src/backends/NetworkManagerRedHat.c
19956 src/backends/NetworkManagerSlackware.c
19957 - Add support for grabbing and using a broadcast address
19958 from system config files
19959 - Some Gentoo backend fixes for grabbing network config
19960 - Fix LOG_WARN->LOG_WARNING
19962 2004-10-14 Dan Williams <dcbw@redhat.com>
19964 * NEWS: a few small fixes in the credits
19966 Thu Oct 14 19:12:58 2004 Jonathan Blandford <jrb@redhat.com>
19968 * NEWS: prep for release.
19970 Thu Oct 14 16:47:12 2004 Jonathan Blandford <jrb@redhat.com>
19972 * panel-applet/NMWirelessAppletDbus.c
19973 (nmwa_dbus_update_device_wireless_networks): remove warnings.
19975 Thu Oct 14 16:40:39 2004 Jonathan Blandford <jrb@redhat.com>
19977 * panel-applet/NMWirelessApplet.c (animation_timeout): Make
19978 applet->state == APPLET_STATE_NO_NM animation.
19980 * panel-applet/NMWirelessApplet.c (custom_essid_item_selected):
19981 set the text correctly.
19983 2004-10-14 Dan Williams <dcbw@redhat.com>
19985 * src/NetworkManager.c
19986 - Only accept and manager 802.3 and 802.11 devices
19988 * src/NetworkManagerDbus.[ch]
19989 - (nm_dbus_nm_set_active_device): move most of the actual activation
19990 logic into NetworkManagerDevice.c
19991 - (nm_dbus_network_status_from_data): new function
19992 - (nm_dbus_signal_network_status_change): new function, unused for now
19993 - (nm_dbus_nm_message_handler): use nm_dbus_network_status_from_data () now
19995 * src/NetworkManagerDevice.[ch]
19996 - (nm_device_find_and_use_essid): new function. Search for, and if found use,
19999 2004-10-14 John (J5) Palmieri <johnp@redhat.com>
20001 * info-daemon/NetworkManagerInfo.c
20002 - (main): Added session management
20004 2004-10-14 Dan Williams <dcbw@redhat.com>
20006 * panel-applet/NMWirelessAppletDbus.[ch]
20007 - Expose network_device_[un]ref()
20008 - Expose wireless_network_[un]ref()
20009 - (wireless_network_new_with_essid): new function, create and return
20010 a wireless network with a particular essid
20012 * panel-applet/NMWirelessApplet.c
20013 - Hook up the "other network" dialog to do something
20015 Wed Oct 13 19:31:53 2004 Jonathan Blandford <jrb@redhat.com>
20017 * panel-applet/NMWirelessApplet.c: Add an essid dialog. It
20018 doesn't work yet, but it looks okay.
20020 * panel-applet/icons/*png: Resize to 22x22 and install in the
20023 2004-10-13 Dan Williams <dcbw@redhat.com>
20025 * panel-applet/NMWirelessApplet.c
20026 - Add function to print out applet_state in a readable
20029 * src/NetworkManager.c
20030 - (main): Don't segfault when nm_dbus_init() fails, we had
20031 a left-over call to hal_shutdown() into which we passed NULL
20033 * src/NetworkManagerAP.c
20034 - (nm_ap_set_essid): Allow NULL essids
20036 * src/NetworkManagerAPList.[ch]
20037 - More use of nm_ap_list_[un]lock ()
20038 - (nm_ap_list_get_ap_by_essid): don't warn when looking for a NULL
20039 network/essid, just return nothing. Also skip over NULL
20040 essid access points in the list when searching
20041 - (nm_ap_list_get_ap_by_address): new function
20042 - (nm_ap_list_update_network): set the access point's key source to
20043 NULL when the key returned from NetworkManagerInfo is NULL or
20045 - nm_ap_list_update_keys() -> nm_ap_list_update_properties(), and
20046 copy timestamp over too
20047 - (nm_ap_list_copy_essids_by_address): new function, attempt to
20048 find the correct ESSID for a blank-essid access point by searching
20049 through another list and matching access point MAC addresses
20050 - (nm_ap_list_diff): exclude blank-essid access points from the diffs
20052 * src/NetworkManagerDbus.c
20053 - (nm_dbus_nm_set_active_device): deal with random networks the user
20054 may specify. This is mainly for access points that don't
20055 broadcast their essid. So if the user tells us to associate with
20056 some random ESSID that's not in our access point list, we find
20057 out if the access point does in fact exist (by attempting association
20058 and then matching that access point's MAC address with the essid the
20059 user gave us) and then we switch to it.
20060 - (nm_dbus_devices_handle_request): don't add blank-essid access points
20061 to the returned list of networks for the "getNetworks" method
20063 * src/NetworkManagerDevice.[ch]
20064 - Extra debugging info for link detection
20065 - (nm_device_ap_list_get_ap_by_address): new function, return an AP
20066 based on MAC address
20067 - (nm_device_get_path_for_ap): ignore blank-essid access points
20068 - (nm_device_wireless_network_exists): new function, find out whether
20069 a random ESSID exists by attempting to associate with it
20070 - (nm_device_do_normal_scan): allow blank-essid access points in our
20071 device list as long as they have an AP MAC address we can use.
20072 Also send WirelessNetwork[Dis]Appeared signals for non-active
20073 devices too. Lets the applet update more frequently.
20075 * src/backends/NetworkManagerGentoo.c
20076 - Patch from: Robert Paskowitz
20077 - Update backend code for Gentoo
20078 - Implement nm_system_device_update_config_info ()
20080 * test/nmclienttest.c
20081 - (set_network_device): new function, takes a command-line argument
20082 and tells NetworkManager to use that wireless network
20084 Wed Oct 13 John (J5) Palmieri <johnp@redhat.com>
20086 * info-daemon/NetworkManagerInfo.c (nmi_spawn_notification_icon): Stop respawning
20087 if the notification icon crashes 5 times within 5 seconds of each respawn
20089 Tue Oct 12 22:53:04 2004 Jonathan Blandford <jrb@redhat.com>
20091 * panel-applet/NMWirelessApplet.c (nmwa_update_state): remove
20094 Tue Oct 12 22:44:15 2004 Jonathan Blandford <jrb@redhat.com>
20096 * panel-applet/NMWirelessApplet.h: Change the name of the icons.
20098 * panel-applet/NMWirelessApplet.c: (animation_timeout),
20099 (nmwa_update_state), (nmwa_destroy), (nmwa_setup_widgets),
20100 (nmwa_icons_free), (nmwa_icons_load_from_disk), (nmwa_icons_init):
20101 Change the name of the icons.
20103 * panel-applet/menu-info.c: (nm_menu_wired_class_init),
20104 (nm_menu_wired_expose_event), (nm_menu_network_class_init),
20105 (nm_menu_wireless_class_init), (nm_menu_wireless_new),
20106 (nm_menu_wireless_expose_event): Really bad hack to get the style
20107 to draw in the right color.
20109 Tue Oct 12 John (J5) Palmieri <johnp@redhat.com>
20111 * info-daemon/NetworkManagerInfo.c (main): Add child watch to respawn
20112 Notification if it crashes
20114 Fri Oct 8 07:19:55 2004 Jonathan Blandford <jrb@redhat.com>
20116 * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_get_double):
20117 (nmwa_dbus_get_string): remove unused functions
20119 * panel-applet/NMWirelessApplet.c (nmwa_about_cb):
20120 (nmwa_cancel_timeout), (nmwa_get_menu_pos), (nmwa_factory):
20121 remove unused functions
20123 * panel-applet/NMWirelessApplet.c: Rewrite icon code.
20125 2004-10-12 Dan Williams <dcbw@redhat.com>
20127 * panel-applet/NMWirelessAppletDbus.c
20129 wireless_network_new
20130 wireless_network_copy
20132 network_device_copy
20134 * src/NetworkManagerDevice.[ch]
20136 nm_device_set_mode_managed
20137 nm_device_set_mode_adhoc
20138 - Use these functions where appropriate
20139 - When creating a new wireless device, force the card
20140 to managed/Infrastructure mode as soon as possible
20142 2004-10-12 Dan Williams <dcbw@redhat.com>
20144 * src/NetworkManagerDevice.c
20145 - Force wireless cards into Infrastructure mode before we use them
20147 2004-10-12 Dan Williams <dcbw@redhat.com>
20150 - Remove bit about static IP address support
20152 * src/NetworkManagerUtils.c
20153 - (nm_spawn_process): Add some error reporting
20155 * src/NetworkManagerDevice.c
20156 - (nm_device_activation_configure_ip): hook up to the static config
20157 routines in the backends
20159 * src/backends/NetworkManagerRedHat.c
20160 - (nm_system_device_update_config_info): use shvar.c routines to
20161 parse the config file iformation, not our own
20162 - (nm_system_device_setup_static_ip4_config): new function, based
20163 heavily on 'ifup' script and 'ipcalc' tool code. Set up a device
20164 with a static IP address and gateway
20166 * src/backends/shvar.[ch]
20167 - Parser (filched from initscripts package) for ifcfg-* files
20169 * src/backends/NetworkManagerSystem.h
20170 src/backends/NetworkManagerGentoo.c
20171 src/backends/NetworkManagerDebian.c
20172 src/backends/NetworkManagerSlackware.c
20173 - Stub nm_system_device_update_config_info() and nm_system_device_setup_static_ip4_config()
20175 2004-10-11 Dan Williams <dcbw@redhat.com>
20178 - Remove bit about more robust AP diffing since I just implemented it
20180 2004-10-11 Dan Williams <dcbw@redhat.com>
20182 * src/NetworkManagerAP.c
20183 - (nm_ap_new, nm_ap_new_from_ap): Don't crash when we don't have
20184 enough RAM to allocate new AP structures, but return NULL instead
20186 * src/NetworkManagerAPList.[ch]
20187 - (nm_ap_list_is_empty): new function
20188 - (nm_ap_list_combine): new function, combine two access point lists
20189 - (nm_ap_list_copy_keys): new function, copy keys from one list
20192 * src/NetworkManagerDevice.[ch]
20193 - Rename some functions to be clearer:
20194 nm_device_get_best_ap_frozen -> nm_device_is_best_ap_frozen
20195 nm_device_just_activated -> nm_device_is_just_activated
20196 nm_device_activating -> nm_device_is_activating
20197 nm_device_now_scanning -> nm_device_is_scanning
20198 - Cache the last 4 scans so that the access point list is more stable.
20199 We combine the lastest two scans and use that as the AP list,
20200 and diff that combined list against the combination of the earliest
20201 two cached scans for the WirelessNetworkAppeared/Dissappeared signals
20203 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
20205 * info-daemon/NWManagerInfo.h
20206 - (struct NetworkManagerInfo): add shutdown_timeout GSource
20208 * info-daemon/NWManagerInfoDbus.c
20209 - (shutdown_callback): new function
20210 - (nmi_dbus_filter): Create a 30 second timeout until shutdown
20211 if NetworkManager goes away. Kill the timeout
20212 if NetworkManager restarts before the 30 seconds
20214 - (nmi_dbus_service_init):
20215 - call gtk_main_quit if NetworkManager is not running
20216 - add filters to monitor dbus service creations and
20219 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
20221 * panel-applet/NMWirelessApplet.c
20222 - (nmwa_update_state): Hide notification icon if we are only
20223 showing one wired card and no wireless interfaces
20224 (Red Hat Bug #134895)
20226 * panel-applet/NMWirelessAppletDbus.c
20227 - (nmwa_dbus_filter): changed exit to gtk_main_quit ()
20229 * info-daemon/NWManagerInfo.c
20230 - (main): Terminated the notification_icon_cmd array with a NULL
20232 2004-10-08 Hendrik Brandt <hebra@cvs.gnome.org>
20234 * configure.in (ALL_LINGUAS): Added de (German).
20236 2004-10-08 Dan Williams <dcbw@redaht.com>
20238 * src/NetworkManagerDevice.c
20239 - Be a bit more robust about link checking, ie make sure that
20240 the WEP key we were given actually has some data in it
20242 2004-10-08 Dan Williams <dcbw@redhat.com>
20244 * info-daemon/NetworkManagerInfo.c (main):
20245 - Initialize GError object to NULL
20247 2004-10-08 Dan Williams <dcbw@redhat.com>
20249 * panel-applet/NMWirelessAppletDbus.c
20250 - Die if NetworkManagerInfo dies, since it manages our lifetime
20252 2004-10-08 Dan Williams <dcbw@redhat.com>
20254 * info-daemon/NetworkManagerInfo.[ch]
20255 info-dameon/NetworkManagerInfoDbus.[ch]
20256 info-daemon/NetworkManagerInfoPassphraseDialog.[ch]
20257 - Preserve original label text in the passphrase dialog so that
20258 it actually gets updated with the new network name the next
20259 time around. Previously, we were overwriting it so you'd get
20260 the wrong network name to enter a key for
20261 - Add a "Key Type" combo to the passphrase dialog, user selects
20262 encryption key type now, type is stored in GConf too
20263 - Adjust NM<->NMI DBUS protocol to pass the key type back to NM too
20265 * src/NetworkManagerAP.[ch]
20266 - Remove all the encyption method magic. It's now set by the user
20267 and NetworkManager retrieves the type of encryption key from
20270 * src/NetworkManagerAPList.[ch]
20271 src/NetworkManagerDbus.[ch]
20272 - Adjust to new way of setting encryption key and method
20273 - Pull encryption method down from NMI along with key
20275 * src/NetworkManagerDevice.[ch]
20276 - Removed encryption method fallback magic as the method is now
20277 determined by the user. This greatly simplifies the connection
20279 - More robust connection/link logic. Besides removing the encryption
20280 method fallback magic, check whether or not the card is receiving
20281 invalidly encrypted packets, which usually indicates that we have
20283 - Don't blindly forge ahead when DHCP fails (still not completely fixed)
20285 * test/nminfotest.c
20286 - Test out new "Key Type" stuff in the NMI passphrase dialog
20288 2004-10-07 Dan Williams <dcbw@redhat.com>
20290 * info-daemon/NetworkManagerInfo.conf
20291 - Allow root user to run NMI too
20293 2004-10-06 Dan Williams <dcbw@redhat.com>
20295 * src/NetworkManagerDevice.[ch]
20296 src/NetworkManagerDbus.c
20297 doc/NetworkManager DBUS API.txt
20298 - Add a new status tag "scanning", which is set when there
20299 is no active network connection, but NetworkManager is
20300 looking for an access point to associate with
20302 * panel-applet/main.c
20303 - Cast the applet appropriately for gtk_widget_show_all ()
20305 Mon Oct 4 12:55:41 2004 Jonathan Blandford <jrb@redhat.com>
20307 * panel-applet/eggtrayicon.[ch]:
20308 * panel-applet/main.c: Add missing file
20310 2004-10-04 Dan Williams <dcbw@redhat.com>
20312 * src/NetworkManagerDevice.[ch]
20313 - Add a slightly more robust method of determining if the WEP key
20314 is correct or not, by checking the WEP-discarded packet count
20317 * info-daemon/NetworkManagerInfo.c
20318 - (nmi_gconf_notify_callback): Fix GConf essid escaping, should
20319 un-escape values we pull out rather than escaping them
20321 2004-10-03 Marcel Telka <marcel@telka.sk>
20323 * configure.in (ALL_LINGUAS): Added sk.
20325 Fri Oct 1 18:26:03 2004 Jonathan Blandford <jrb@redhat.com>
20327 * panel-applet/menu-info.c (nm_menu_wired_class_init): update look
20328 and feel. We should be back to working, and have a good, clean
20331 2004-09-30 Dan Williams <dcbw@redhat.com>
20333 * info-daemon/NetworkManagerInfo.c
20334 info-daemon/NetworkManagerInfoDbus.c
20336 - Escape ESSIDs in gconf
20338 * src/NetworkManagerDevice.c
20339 - Fix pseudo-scanning to use netowrk list from info daemon
20341 Wed Sep 29 18:18:24 2004 Jonathan Blandford <jrb@redhat.com>
20343 * configure.in: Add a temporary --enable-notification-icon. This
20344 will prolly go away.
20346 * info-daemon/Makefile.am:
20347 * info-daemon/NetworkManagerInfo.c:
20348 * info-daemon/NetworkManagerInfo.h: Use a notification icon.
20350 * panel-applet/Makefile.am:
20351 * panel-applet/NMWirelessApplet.c: Turn into a notification icon
20352 * panel-applet/NMWirelessApplet.h:
20354 Tue Sep 28 16:35:20 2004 Jonathan Blandford <jrb@redhat.com>
20356 * panel-applet/NMWirelessApplet.c: Fix deadlock. Add a separator
20357 before 'select custom ESSID'.
20359 * panel-applet/menu-info.c: Start rewrite for better headers. Not
20360 fully complete, but syncing in prep for merge.
20362 * panel-applet/icons/*png: New images
20364 2004-09-28 Dan Williams <dcbw@redhat.com>
20366 * src/NetworkManager.c
20367 src/NetworkManagerDevice.c
20368 src/NetworkManagerPolicy.c
20369 - Don't blow away an active wired connection on startup
20371 2004-09-28 Bryan Clark <clarkbw@cvs.gnome.org>
20375 * info-daemon/NetworkManagerInfo.conf: fixed own permissions
20377 * info-daemon/NetworkManagerInfoDbus.c: added service name to
20380 Wed Sep 22 14:19:48 2004 Jonathan Blandford <jrb@redhat.com>
20382 * panel-applet/NMWirelessApplet.c: Only add essid's if we actually
20383 have a wireless card.
20385 Wed Sep 22 14:05:48 2004 Jonathan Blandford <jrb@redhat.com>
20387 * panel-applet/NMWirelessApplet.c: move the custom essid item.
20388 Also, get the right device strings.
20390 Wed Sep 22 13:51:45 2004 Jonathan Blandford <jrb@redhat.com>
20392 * panel-applet/menu-info.c (nm_menu_network_draw_indicator): Flip
20393 the logic to make this right.
20395 * panel-applet/NMWirelessApplet.c (sort_networks_function): sort
20396 devices so that wired networks are always first.
20398 2004-09-22 <clarkbw@cvs.gnome.org>
20400 * initscript/Debian/.cvsignore:
20401 * initscript/Slackware/.cvsignore:
20402 Added new cvsignores for Makefile, Makefile.in
20405 Added nmtestdevices
20407 * src/NetworkManagerDevice.c:
20408 * src/NetworkManager.c:
20409 Updated the wireless/wired HAL device strings from net.ethernet to
20410 net.80203 or net.80211 depending on wired or wireless respectively
20412 * examples/python/NetworkManager.py:
20413 s/Quality/Strength/
20415 * examples/python/systray/network_tray.py:
20416 Lots of little changes and fixes. been rotting for a while so I
20417 figured I'd finally sync them all with CVS
20419 Tue Sep 21 18:05:34 2004 Jonathan Blandford <jrb@redhat.com>
20421 * configure.in: Add graphics
20423 * panel-applet/Makefile.am: Add graphics
20425 * panel-applet/icons/*: Add graphics
20427 * panel-applet/NMWirelessApplet.c: Use new menu times to display
20428 the icons fully lined up.
20430 * panel-applet/menu-info.c:
20431 * panel-applet/menu-info.h: Add another menu type.
20433 Fri Sep 17 14:04:34 2004 Jonathan Blandford <jrb@redhat.com>
20435 * panel-applet/NMWirelessApplet.c: Redo the menu item code.
20437 * panel-applet/menu-item.[ch]: Wireless menu item.
20439 2004-09-15 John (J5) Palmieri <johnp@redhat.com>
20441 * info-daemon/NetworkManagerInfo.conf
20442 - Created a more robust security policy for the DBus service
20443 - everything is denied by default
20444 - root can own and send to the service
20445 - users logged in at the console can send to the service
20447 2004-09-13 Dan Williams <dcbw@redhat.com>
20449 * src/NetworkManagerDevice.c
20450 - (nm_device_get_essid): use iw_get_basic_config() rather than
20451 iw_get_ext (SIOCGIWESSID) since prism54 cards don't like
20454 2004-09-13 Dan Williams <dcbw@redhat.com>
20458 * docs/NetworkManager DBUS API.txt
20459 - Update for new signal strength changes
20461 * panel-applet/NMWirelessApplet.c
20462 - Make panel icon show strength of the current connection
20463 - Cleanups and memleak fixes
20465 * panel-applet/NMWirelessApplet.h
20466 - Add data members for signal strength on devices and networks
20468 * panel-applet/NMWirelessAppletDbus.c
20469 - Free more DBusErrors
20470 - Update for new signal strength changes
20471 - Make devices and networks more like real objects, use ref/unref methods
20472 - Actually unlock the mutex when updating the active device
20474 * src/NetworkManagerAP.c
20475 - Change AP functions and data members from "quality"->"strength"
20477 * src/NetworkManagerDbus.c
20478 - Kill "getMaxQuality" and "getQuality" methods
20479 - Add "getStrength" methods for Networks and Devices
20481 * src/NetworkManagerDevice.[ch]
20482 - Add accessors for device strength
20483 - Add functions to update strength for a device. Note that not all drivers
20484 actually support signal strength for scanned access points (Atmel drivers
20486 - Calculate signal strength for each AP during scan
20488 * src/NetworkManagerWireless.[ch]
20489 - Add function to return signal strength % from a device and a raw quality struct
20491 * test/nmclienttest.c
20492 - Update for new signal strength changes
20494 2004-09-11 Dan Williams <dcbw@redhat.com>
20496 * src/NetworkManager.c
20497 - Fix race condition between initscripts and NM on card insertion
20498 which could cause a card to keep an IP address and routes around
20499 even when it was not the active device
20501 * src/NetworkManagerDbus.c
20502 - Fix compile errors, free more DBusErrors
20504 2004-09-11 Dan Williams <dcbw@redhat.com>
20506 * docs/NetworkManager DBUS API.txt
20507 - Add an explanation of NM's API
20509 * src/NetworkManagerDbus.c
20510 - Free some more DBusErrors if needed
20512 2004-09-11 Dan Williams <dcbw@redhat.com>
20514 * panel-applet/NMWirelessApplet.c
20515 panel-applet/NMWirelessAppletDbus.c
20516 - Start using NetworkDevice/WirelessNetwork structures in more places
20517 - Update for unified device/network forcing in NetworkManager
20519 * src/NetworkManager.c
20520 - some code consolidation
20522 * src/NetworkManagerDbus.c
20523 - (nm_dbus_nm_set_active_device): "setActiveDevice" now takes either one
20524 or two arguments: the first is the NM ID of the device to switch to,
20525 and the second (optional) argument is the ESSID of a wireless network
20527 - Get rid of "setNetwork" method due to above change
20529 * src/NetworkManagerDevice.c
20530 - (nm_device_new): perform scan and update best AP on device creation
20531 - nm_device_activation_cancel_if_needed()->nm_device_activation_should_cancel()
20532 - nm_device_activation_signal_cancel()->nm_device_activation_cancel(), and
20533 spin waiting for cancellation to finish before returning
20535 * src/NetworkManagerPolicy.c
20536 - Changes here clarify the situations in which a device switch occurs, and
20537 make sure to keep using a forced device and network if the user gives
20539 - Remove old unused code
20541 2004-09-11 Martin Willemoes Hansen <mwh@sysrq.dk>
20543 * configure.in: Added Danish (da) to ALL_LINGUAS.
20545 2004-09-09 Dan Williams <dcbw@redhat.com>
20547 * panel-applet/NMWirelessAppletDbus.c
20548 - Pull fresh devices and networks from NM when wireless networks
20549 change. Provides faster feedback of a forced wireless network
20551 * src/NetworkManagerDbus.c
20552 - Return error when "getMaxQuality" is called on a wired device
20553 - Make best_ap freezing actually work again, and signal cancellation
20554 of activation if there's already a device activation when the user
20555 freezes the best_ap
20557 * src/NetworkManagerDevice.c
20558 - Don't clear out the best_ap for wireless devices when the link goes
20559 down, that's done elsewhere
20560 - Kill any dhcp daemons when cancelling device activation since they
20561 may be stuck waiting for a DHCP address, and since we're cancelling
20562 activation we don't care about that anymore
20564 * src/NetworkManagerPolicy.c
20565 - Make sure to unref the device we ref earlier (we refed it to make sure
20566 it stuck around during device activation and such)
20567 - If we were going to change the best device, but its activating currently
20568 (and therefore the change didn't occur due to the check earlier)
20569 we mark the state changed to we come back to it later when device
20570 activation has canceled and its no longer activating
20572 * src/backends/NetworkManagerRedHat.c
20573 - SIGKILL dhcp daemons rather than SIGTERM-ing them
20575 2004-09-09 Bryan Clark <clarkbw@cvs.gnome.org>
20577 * info-daemon/passphrase.glade:
20578 set passphrase input to activates_default : True
20580 * examples/python/systray/network_tray.py
20581 (network_tray.sort_networks):
20583 Added support for having wireless always scanning
20585 2004-09-09 Dan Williams <dcbw@redhat.com>
20587 NOTE: this commit changes the behavior of wireless devices in
20588 NetworkManager. They are now up all the time, scanning all
20589 the time. Only the active device has an IP address and routing
20590 information set up however. Also, NetworkManager will no longer
20591 opportunistically switch wireless networks when a better one
20592 comes in range, it will remain associated with one wireless network
20593 until that one drops out.
20595 * panel-applet/NMWirelessApplet.c
20596 panel-applet/NMWirelessAppletDbus.c
20597 - List all wireless cards and their respective networks
20599 * src/NMLoadModules
20600 - Use full path to /sbin/ip
20602 * src/NetworkManager.c
20603 - Keep wireless devices up all the time so they can scan
20605 * src/NetworkManagerDbus.c
20606 - On a WirelessNetworkUpdate signal from NMI, don't update
20609 * src/NetworkManagerDevice.c
20610 - (nm_device_set_link_active): clear out the best ap for
20611 wireless devices when the link is set to FALSE
20612 - Scan on all wireless cards, all the time
20613 - (nm_device_activation_worker): split out the wireless card
20614 link-waiting code to a separate function
20615 - Keep wireless cards up even if device activation fails
20616 - Don't update the "best" ap as much
20618 * src/NetworkManagerPolicy.c
20619 - Don't update the best ap when checking if its frozen,
20620 let link checking clear out a frozen best ap for us
20622 * src/NetworkManagerWireless.c
20623 - Scan on all wireless cards, all the time
20625 2004-09-09 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
20627 * configure.in: Added 'es' (Spanish) to ALL_LINGUAS.
20629 2004-09-09 Ankit Patel <ankit@redhat.com>
20631 * configure.in: Added 'gu' (Gujarati) to ALL_LINGUAS.
20633 2004-09-09 Pablo Saratxaga <pablo@mandrakesoft.com>
20635 * configure.in: Added Walloon (wa) to ALL_LINGUAS.
20637 2004-09-08 Bryan Clark <clarkbw@cvs.gnome.org>
20639 * examples/python/NetworkManager.py:
20640 added CONNECTED, CONNECTING, and DISCONNECTED states
20641 added methods to return number of devices of a single type
20643 * examples/python/systray/network_tray.py:
20644 did some tweaks to get the menu looking near what it is supposed
20645 to look like. Also did a Airo card hack to make it show the
20648 2004-09-08 Dan Williams <dcbw@redhat.com>
20650 * panel-applet/no-networkmanager.png
20651 panel-applet/Makefile.am
20652 panel-applet/NMWirelessApplet.c
20653 - Add a "NetworkManager not running" icon and use it
20654 - Use new consolidated GConf keys rather than Preferred/Trusted
20658 * info-daemon/NetworkManagerInfo.c
20659 info-daemon/NetworkManagerInfoDbus.[ch]
20660 info-daemon/NetworkManagerInfoPassphraseDialog.c
20661 - There are now no longer two separate lists of wireless networks,
20662 but one list where each network is "trusted" or not trusted
20663 - Add a "getNetworkTrusted" dbus method
20664 - "WirelessNetworkUpdate" signal now sent rather than
20665 "PreferredNetworkUpdate/TrustedNetworkUpdate" signals
20666 - Start freeing some dbus errors (not completed yet)
20668 * info-daemon/passphrase.glade
20669 - Remove the "don't show" hints for pager and taskbar
20670 - Add a title since its going to be in the taskbar
20672 * src/NetworkManager.[ch]
20673 src/NetworkManagerAPList.[ch]
20674 - There are now no longer two separate lists of wireless networks,
20675 but one list where each network is "trusted" or not trusted
20677 * src/NetworkManagerAP.[ch]
20678 - Add get/set "trusted" accessors and data bit
20680 * src/NetworkManagerDbus.[ch]
20681 - Add function to get "trusted" status of a network from NetworkManagerInfo
20682 - Trap new WirelessNetworkUpdate signal rather than old separate signals
20684 * src/NetworkManagerDevice.[ch]
20685 - Add per-device config data (ip4 addr, gateway, netmask) and accessors
20686 - (nm_device_new): Get device config from backend when initializing devices
20687 - (nm_device_activation_worker): Split out device configuration on
20688 activation to deal with static/dynamic IP differences, and try encryption
20689 fallbacks on a device if the encryption method for the best AP is not good
20690 - (nm_device_update_best_ap): convert to new consolidated access point lists from
20691 NetworkManagerInfo, and copy over latest NMI info to best_ap when setting it
20693 * src/NetworkManagerWireless.c
20694 - libgcrypt code wasn't converting the MD5 digest to an ascii string, fix it
20696 * src/backends/NetworkManagerRedHat.c
20697 src/backends/NetworkManagerSystem.h
20698 - (nm_system_device_update_config_info): Add function to get device configuration
20699 from system data in ifcfg-* files
20701 * src/backends/NetworkManagerDebian.c
20702 src/backends/NetworkManagerGentoo.c
20703 src/backends/NetworkManagerSlackware.c
20704 - Add stub functions for getting device configuration
20706 2004-09-07 Dan Williams <dcbw@redhat.com>
20708 * src/backends/NetworkManagerRedhat.c
20709 src/backends/NetworkManagerSlackware.c
20710 - Use full path to /sbin/ip everywhere
20712 2004-09-07 Dan Williams <dcbw@redhat.com>
20714 Patch from: Narayan Newton <narayan_newton@yahoo.com>
20717 initscript/Makefile.am
20718 initscript/Slackware/Makfile.am
20719 initscript/Slackware/rc.networkmanager
20721 src/backends/NetworkManagerSlackware.c
20722 - Add Slackware support
20724 2004-09-07 Dan Williams <dcbw@redhat.com>
20726 Patches below from:
20728 Mark Roach <mrroach@okmaybe.com>
20729 Thom May <thom@debian.org>
20732 initscript/Debian/NetworkManager
20733 initscript/Debian/Makefile.am
20734 - Initscript for Debian
20736 * src/backends/NetworkManagerDebian.c
20737 - Add missing system init function to allow compilation
20740 2004-09-03 Raphael Higino <raphaelh@cvs.gnome.org>
20742 * configure.in: Added 'pt_BR' to ALL_LINGUAS.
20744 2004-09-03 Akagic Amila <bono@linux.org.ba>
20746 * configure.in: Added 'bs' to ALL_LINGUAS.
20748 2004-09-02 Colin Walters <walters@verbum.org>
20750 * src/backends/NetworkManagerRedHat.c (nm_system_device_run_dhcp)
20751 (nm_system_device_stop_dhcp, nm_system_device_flush_routes): Use
20752 g_strdup_printf instead of arbitrarily sized buffers.
20754 2004-09-01 Colin Walters <walters@verbum.org>
20756 * NetworkManager.pc.in: New file.
20758 * Makefile.am, .cvsignore, configure.in: Add NetworkManager.pc.
20760 2004-09-01 Amanpreet Singh Alam <aalam@redhat.com>
20762 * configure.in: Punjabi(pa) is added to po/.
20764 2004-08-31 Dan Williams <dcbw@redhat.com>
20766 * Remove 'debug' extern global from all files since we now
20769 * src/NetworkManager.[ch]
20770 - Break out routine that get the net.interface property from HAL,
20771 removing that logic from nm_create_device_and_add_to_list()
20772 - (nm_create_device_and_add_to_list): make this a bit more general so
20773 it doesn't do the talking to HAL. Also add arguments to facilitate
20774 the create of test devices.
20775 - (nm_data_mark_state_changed): rename from nm_data_set_state_modified()
20776 - (nm_data_new, main, nm_print_usage): add new argument "--enable-test-devices"
20777 which makes NetworkManager listen for dbus commands to create test
20778 devices, which have no backing hardware. Use when you're on a plane
20779 for example, and/or forgot your wireless card at home. Test devices
20780 _cannot_ be created unless NM is started with --enable-test-devices.
20782 * src/NetworkManagerDbus.[ch]
20783 - New "getLinkActive" method for devices
20784 - New "setLinkActive" method for devices (only works on test devices)
20785 - New "createTestDevice" method on NetworkManager object to create a test
20786 device of a specified type (ie wired, wireless). UDI is created from
20787 scratch, as is the interface name. Only works when NM is started with
20788 --enable-test-devices switch.
20789 - New "removeTestDevice" method on NetworkManager object which removes a
20790 test device. Only works when NM is started with --enable-test-devices
20792 * src/NetworkManagerDevice.[ch]
20793 - Logic to facilitate test devices. Add variables to NMDevice struct to indicate
20794 whether a device is a test device or not, and what its link status is.
20795 - Deal with test devices in most functions. For those that work directly on hardware
20796 special-case test devices.
20797 - (nm_device_new): don't create a test device if test devices weren't enabled on the
20799 - (nm_device_update_link_active): split out logic for wired and wireless device link
20800 checking to separate functions to facilitate test device link checking.
20801 - (nm_device_set_enc_key): Since some drivers for wireless cards are daft and
20802 don't make a distinction between System Authentication and Encryption
20803 (namely Cisco aironet), we use Open System auth when setting a WEP key
20804 on the card. We don't deal with Shared Key auth yet.
20805 - (nm_device_activation_worker): split the activation cancel check logic out into
20806 a separate routine nm_device_activation_cancel_if_needed()
20807 - (nm_device_activation_signal_cancel): rename from nm_device_activation_cancel()
20808 - (nm_device_fake_ap_list): Test wireless devices obviously cannot scan, so create
20809 a list of fake access points that they can "see"
20810 - (nm_device_is_test_device): return whether or not a device is a test device
20812 * src/NetworkManagerPolicy.c
20813 - (nm_policy_get_best_device): attempt to deal with wireless network selection,
20814 previously if you "locked"/forced NM to use a wireless device but then
20815 selected a wireless network for NM to use, it would switch to a wired device.
20816 So, if the active device is wireless and it has a "forced" best AP, use it
20817 if the "forced" best AP is still valid
20818 - (nm_state_modification_monitor): deal with NULL best devices, for example
20819 there were no usable network devices, or the last one was removed
20821 * src/backends/NetworkManager*.c
20822 - Deal with test devices, mostly just return success for operations like getting
20825 * test/nmtestdevices.c
20826 - Test tool to create/remove/link-switch test devices
20828 2004-08-30 Bryan Clark <clarkbw@cvs.gnome.org>
20830 * examples/python/NetworkManager.py:
20831 added convience functions has_wired_device and has_wireless_device
20833 * examples/python/systray/network_tray.py:
20834 cleaned up a bunch of cruft, added support for listing wireless
20835 networks just like the real applet. This is probably all I'm
20836 going to work on this applet from now on.
20837 TODO: add support for actually changing networks and devices
20839 * examples/python/NetworkManager.py (NetworkManager.get_device):
20840 changed "nm.networks" into a dict from a list so I can store all
20841 the cool information about networks in there
20843 * examples/python/systray/network_tray.py:
20844 Added nice message when you try to run without running make first
20846 * examples/python/NetworkManager.py:
20847 Bug fixes to the code so we get all the device information
20848 that we need in get_device()
20850 * examples/python/NMTester.py:
20851 Fixed _print_device_list to print_device_list
20853 2004-08-29 Seth Nickell <seth@gnome.org>
20857 Actually properly setup the Debian backend in configure.
20859 2004-08-29 Colin Walters <walters@verbum.org>
20861 * test/nminfotest.c: Include string.h and stdlib.h.
20862 (get_network_string_property, get_networks_of_type): Return NULL.
20864 * test/nmclienttest.c (get_device_name, get_active_device): Return
20867 * src/backends/NetworkManagerRedHat.c (nm_system_device_stop_dhcp): Just
20868 use strlen, fgets always NULL-terminates the string.
20870 * src/NetworkManagerDbus.c (nm_dbus_nmi_filter,
20871 dbus_message_get_member): Remove /* in comment.
20873 * src/NetworkManagerUtils.c (LOCKING_DEBUG): Ditto.
20875 * src/NetworkManager.c (quit): Unused, delete.
20876 (nm_data_free): Cast arg to GFunc.
20878 * panel-applet/NMWirelessAppletDbus.c: Need to include
20879 string.h, and dbus-glib-lowlevel.h (the latter is needed
20880 for dbus_connection_setup_with_g_main at present).
20881 (nmwa_dbus_update_wireless_network_list): Parenthesize
20882 assignment in conditional.
20883 (nmwa_dbus_worker): Return NULL.
20885 * panel-applet/NMWirelessApplet.c (nmwa_redraw)
20886 (nmwa_get_menu_pos, nmwa_toplevel_menu_activate)
20887 (nmwa_menu_add_text_item, nmwa_setup_widgets): Kill unused variables.
20888 (nmwa_populate_menu): Return NULL on failure, instead of just
20891 * initscript/NMLaunchHelper.c (g_timeout_add): Cast arg to GSourceFunc.
20893 * info-daemon/NetworkManagerInfoNetworksDialog.c (nmi_networks_dialog_init): Kill unused
20896 * info-daemon/NetworkManagerInfo.c (nmi_print_usage): Unused,
20899 2004-08-29 Colin Walters <walters@verbum.org>
20901 * src/NetworkManagerDbus.c (nm_dbus_get_network_timestamp): Return
20902 a GTimeVal instead of time_t. This is easier to work with,
20903 since time_t may be a long or double, we don't know.
20905 * src/NetworkManagerDbus.h: Update prototype.
20907 * src/NetworkManagerAP.c (struct NMAccessPoint): Store a GTimeVal
20909 (nm_ap_get_timestamp): Update to return GTimeVal.
20910 (nm_ap_set_timestamp): Update to take GTimeVal.
20912 * src/NetworkManagerDevice.c (nm_device_update_best_ap): Update
20913 to handle GTimeVal.
20915 * src/NetworkManagerAPList.c (nm_ap_list_update_network): Handle
20917 (nm_ap_list_print_members): Fix warnings in printf format.
20919 2004-08-29 Colin Walters <walters@verbum.org>
20921 * panel-applet/NMWirelessApplet.c: Include config.h.
20923 2004-08-29 Colin Walters <walters@verbum.org>
20925 * configure.in: Generate config.h.
20927 * configure.in: Dump dependency on OpenSSL; we can't
20928 use it since this package is GPL:
20929 http://www.gnome.org/~markmc/openssl-and-the-gpl.html
20930 Instead, check for libgcrypt, use it if available,
20931 otherwise use included MD5 code.
20933 * src/gnome-keyring-md5.h, src/gnome-keyring-md5.c:
20934 Suck in from gnome-keyring, munge a bit.
20936 * src/Makefile.am (NetworkManager_SOURCES) <!WITH_GCRYPT>: Include
20937 gnome-keyring-md5.h gnome-keyring-md5.c.
20938 (NetworkManager_LDADD) <WITH_GCRYPT>: Add dep on LIBGCRYPT_LIBS.
20940 * src/NetworkManagerWireless.c (nm_md5): New function, uses
20941 libgcrypt or included gnome-keyring md5 bits.
20942 (nm_wireless_128bit_key_from_passphrase): Use nm_md5.
20944 2004-08-28 Kjartan Maraas <kmaraas@gnome.org>
20946 * configure.in: Add «nb» and «no» to ALL_LINGUAS.
20948 2004-08-27 Bryan Clark <bclark@redhat.com>
20950 * examples/python/systray/Makefile:
20952 Updated the clean section
20954 * examples/python/systray/trayiconmodule.c:
20955 * examples/python/systray/trayicon.override:
20956 * examples/python/systray/network_tray.py:
20957 * examples/python/systray/eggtrayicon.h:
20958 * examples/python/systray/eggtrayicon.c:
20959 * examples/python/systray/Makefile:
20960 * examples/python/README:
20961 * examples/python/NetworkManager.py:
20962 * examples/python/NMTester.py:
20964 Initial commit of these python example files
20966 Fri Aug 28 2004 Dan Williams <dcbw@redhat.com>
20968 * panel-applet/NMWirelessApplet.c
20969 - Make current device bold
20970 - Show more user-friendly device name if we got one from hal
20972 * panel-applet/NMWirelessAppletDbus.c
20973 - Grab "info.product" key from hal for network devices
20974 - Cache the current active device
20976 2004-08-27 Adam Weinberger <adamw@gnome.org>
20978 * configure.in: Added en_CA to ALL_LINGUAS.
20980 2004-08-27 Christian Rose <menthos@menthos.com>
20982 * configure.in: Added "sv" to ALL_LINGUAS.
20984 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20986 * Tag NetworkManager-0.2
20988 Thu Aug 26 17:23:16 2004 Jonathan Blandford <jrb@redhat.com>
20990 * initscripts/Makefile.am
20991 * configure.in: Make pass distcheck
20993 * po/ChangeLog: added
20995 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20997 * panel-applet/NMWirelessApplet.c
20998 - Remove debugging code
20999 - Enable device switching from menus
21001 * panel-applet/NMWirelessAppletDbus.[ch]
21002 - Method for asking NM to switch devices
21004 * src/NetworkManagerDevice.c
21005 - Set dev->activating earlier, avoids race between
21006 the dbus signal of "DeviceActivating" and setting
21007 dev->activating (which is what NM's "status" method call
21010 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
21012 * panel-applet/NMWirelessApplet.[ch]
21013 - Rework menu code to add devices to menu, and to show
21014 signal strength for each access point. Code cleanups
21017 * panel-applet/NMWirelessAppletDbus.c
21018 - Grab network devices from NetworkManager too
21019 - Grab quality information from NM for wireless networks
21021 * src/NetworkManagerDbus.[ch]
21022 - Add dbus methods for getting the HAL UDI from a device and
21023 for getting its base quality, if its wireless
21024 - Consolidate some functions (wireless network notifications,
21025 device notifications)
21026 - Add method for requesting NM to use a particular device
21028 * src/NetworkManager.c
21029 - Change for function consolidations from NetworkManagerDbus.c
21030 - Implement active device locking and user-requested devices
21031 (ie, tell NM to use a particular device instead of the one
21034 * src/NetworkManagerDevice.c
21035 - Add method for getting the base quality of a device, if its
21037 - Grab device base quailty info from iwlib during scans
21039 * src/NetworkManagerPolicy.c
21040 - Use a user-requested device rather than the auto-chosen device
21043 Thu Aug 26 15:12:36 2004 Jonathan Blandford <jrb@redhat.com>
21045 * Makefile.am: add po as a supdir
21047 * autogen.sh: use gnome-autogen.sh
21049 * initscript/Gentoo/.cvsignore:
21050 * initscript/RedHat/.cvsignore: Shut up cvs
21052 * panel-applet/Makefile.am: Define GNOMELOCALEDIR for bonobo.
21054 * panel-applet/NMWirelessApplet.c: (nmwa_populate_menu),
21055 (nmwa_fill): Use gettext.
21057 * configure.in: add gettext support
21059 * po/NetworkManager.pot:
21062 2004-08-26 Seth Nickell <seth@gnome.org>
21064 * panel-applet/NMWirelessApplet.c: (nmwa_destroy),
21065 (nmwa_menu_item_activate), (nmwa_toplevel_menu_activate),
21066 (nmwa_add_menu_item), (nmwa_menu_item_data_free),
21067 (nmwa_dispose_menu_items), (nmwa_populate_menu),
21068 (nmwa_setup_widgets), (do_not_eat_button_press), (nmwa_new):
21069 * panel-applet/NMWirelessApplet.h:
21071 Use a menu bar instead of a button for the main clickable
21074 2004-08-25 Dan Williams <dcbw@redhat.com>
21076 * src/NetworkManagerDevice.c
21077 - (nm_device_set_enc_key): always set device to "open" mode instead of
21078 turning encryption off, because the Cisco driver doesn't associate
21079 with WEP-enabled access points unless we are in "open"
21081 2004-08-25 Dan Williams <dcbw@redhat.com>
21083 * src/NetworkManagerWireless.c
21084 - Don't try to defererence blank passphrases
21086 2004-08-25 Dan Williams <dcbw@redhat.com>
21088 * panel-applet/NMWirelessApplet.c
21089 - Rebuild the menu whenever a user clicks
21091 2004-08-25 Dan Williams <dcbw@redhat.com>
21093 * panel-applet/NMWirelessApplet.c
21094 - (nmwa_udpate_state): Set panel icon to "wired" (for lack of better ones)
21095 when NM isn't around or when its not connected
21097 * src/NetworkManagerDevice.c
21098 - (nm_device_activation_worker): Make sure to reset dev->activating if we get
21101 2004-08-25 Dan Williams <dcbw@redhat.com>
21103 * panel-applet/NMWirelessAppletDbus.c
21104 - (nmwa_dbus_get_bool, nmwa_dbus_get_network_encrypted): correct method name
21105 for getting encryption, and don't stop on "val" once we've gotten it
21106 from NetworkManager. Short form: encryption should now show up.
21108 2004-08-25 Dan Williams <dcbw@redhat.com>
21110 * panel-applet/NMWirelessApplet.c
21111 - Set ESSID on a gconf trusted network too when force-setting the wireless
21112 network to associate with
21114 2004-08-25 Dan Williams <dcbw@redhat.com>
21117 - Rework the panel applet to do all DBUS communication in a separate
21120 2004-08-25 Dan Williams <dcbw@redhat.com>
21122 * info-daemon/NetworkManagerInfo.[ch]
21123 - Remove "get_next_priority" function
21125 * info-daemon/NetworkManagerInfoDbus.[ch]
21126 - Convert "priority" functions to "timestamp"
21128 2004-08-25 Dan Williams <dcbw@redhat.com>
21130 * src/NetworkManagerAP.[ch]
21131 - Add a "enc_method_good" member and accessors to an Access Point
21132 to signal when we've found the correct encryption method
21133 for an access point
21134 - Add a "timestamp" member and accessors, remove "priority" member
21135 and accessors (use timestamps instead)
21136 - Rename "wep_key"->"enc_key"
21137 - (nm_ap_get_enc_key_hashed): new, return the correct mangled key
21138 for a specified encryption method using the access points
21139 source encryption key/passphrase
21141 * src/NetworkManagerAPList.c
21142 - When updating a network with dbus, grab timestamp now instead of
21145 * src/NetworkManagerDBus.[ch]
21146 - Add signal for "DeviceActivating"
21147 - Switch priority->timestamp
21149 * src/NetworkManagerDevice.c
21150 - Change references of "wep_key" -> "enc_key" or "key"
21151 - Signal DeviceActivating when starting activation
21152 - When activating a wireless device, if the access point we are connecting
21153 to is encrypted, and we have a source key, try to generate a mangled
21154 key and use that (ie, generate real WEP key from a passphrase)
21155 - Rework device activation to fallback to other encryption methods if
21156 a previous one didn't work (ie, try mangling a key as a 104-bit passphrase
21157 first, then if that doesn't work fall back to direct hex key).
21158 - (nm_device_update_best_ap): fix a deadlock, and use timestamps instead of
21159 priority. We now prefer the latest access point used, rather than using
21161 - (nm_device_do_normal_scan): make the encryption method "unknown" on access
21162 points we've just discovered, and merge in correct info from the global
21165 2004-08-25 Seth Nickell <seth@gnome.org>
21167 Patch from Matthew Garrett <mjg59@srcf.ucam.org> for adding
21171 * src/backends/NetworkManagerDebian.c: (nm_system_device_run_dhcp),
21172 (nm_system_device_stop_dhcp), (nm_system_device_flush_routes),
21173 (nm_system_device_flush_addresses), (nm_system_enable_loopback),
21174 (nm_system_delete_default_route),
21175 (nm_system_kill_all_dhcp_daemons), (nm_system_update_dns),
21176 (nm_system_load_device_modules):
21178 2004-08-24 Dan Willemsen <dan@willemsen.us>
21180 * src/NetworkManager.c
21181 src/backends/NetworkManagerGentoo.c
21182 src/backends/NetworkManagerRedHat.c
21183 src/backends/NetworkManagerSystem.h
21184 - Implement preliminary Gentoo support, adding a
21185 nm_system_init function to the backend specification
21188 - Distribution auto-detection, lowercase any user-fed
21191 * initscript/.cvsignore
21192 initscript/Makefile.am
21193 initscript/RedHat/Makefile.am
21194 initscript/RedHat/NetworkManager
21195 initscript/Gentoo/Makefile.am
21196 initscript/Gentoo/NetworkManager
21197 - Refactored initscript code separately for each
21200 2004-08-23 Dan Williams <dcbw@redhat.com>
21204 src/NetworkManagerDevice.c
21205 src/NetworkManager.c
21206 src/NetworkManagerUtils.[ch]
21207 src/backends/NetworkManagerSystem.h
21208 src/backends/NetworkManagerRedHat.c
21209 src/backends/NetworkManagerGentoo.c
21210 - Refactor system-specific code into separate backends for
21213 2004-08-23 Dan Willemsen <dan@willemsen.us>
21215 * dispatcher-daemon/NetworkManagerDispatcher.c
21216 info-daemon/NetworkManagerInfo.[ch]
21217 info-daemon/NetworkManagerInfoDbus.c
21218 info-daemon/NetworkManagerInfoPassphraseDialog.c
21219 src/NetworkManager.c
21220 src/NetworkManagerAP.c
21221 src/NetworkManagerAPList.c
21222 src/NetworkManagerDbus.c
21223 src/NetworkManagerDevice.c
21224 src/NetworkManagerPolicy.c
21225 src/NetworkManagerUtils.[ch]
21226 src/NetworkManagerWireless.c
21227 - Used syslog functions for logging instead of NM_DEBUG_DISPLAY & fprintf
21229 * src/NetworkManager.c
21230 - Fixed usage wording for --no-daemon
21232 2004-08-23 Dan Williams <dcbw@redhat.com>
21234 * panel-applet/NMWirelessApplet.c
21235 - Update our state every second to get more responsive panel icon
21236 - (nmwa_update_state): remove bogus applet->pix_state = PIX_WIRED that
21237 was causing our marching ants status blips to never move when
21238 looking for a wireless network
21240 * src/NetworkManagerDevice.c
21241 - (nm_device_activation_begin): return if activation has already begun
21242 - (nm_device_do_normal_scan): merge WEP key and priority from the
21243 trusted/preferred network into the device's access point when the
21244 scan list is processed
21246 2004-08-23 Dan Williams <dcbw@redhat.com>
21248 * initscript/NetworkManager
21249 - Use NMLaunchHelper rather than sleeping
21251 * initscript/NMLaunchHelper.c
21253 - Add helper program that exits only when NM activates a device,
21254 or 10 seconds have passed, whichever happens first. This
21255 stops the boot processes until we have a network connection,
21256 which NM can't do because it daemonizes and brings the connection
21257 up in the background. Allows stuff like NFS to not die.
21259 2004-08-20 Dan Williams <dcbw@redhat.com>
21261 * info-daemon/NetworkManagerInfoPassphraseDialog.c
21262 - (nmi_passphrase_dialog_ok_clicked): when updating the wep key
21263 for a network, set the essid as well since it may not exist yet
21264 - (nmi_passphrase_dialog_init): don't star out the passphrase field,
21265 since WEP keys/passphrases are long and prone to entry-error
21267 * panel-applet/Makefile.am
21268 panel-applet/wired.png
21269 - Add (pulled from system-config-network temporarily)
21271 * panel-applet/NMWirelessApplet.[ch]
21272 - Show wired picture when a wired connection is used
21273 - Rename wireless icon enums, adding WIRELESS
21275 * src/NetworkManagerDevice.c
21276 - (nm_device_activate_wireless): unset encryption before bringing
21277 down the card and setting the essid
21278 - (nm_device_activatin_worker): request a key from the user if the
21279 AP we are connecting to is encrypted but we don't have a key
21281 - (nm_device_set_user_key_for_network): fix missing '== 0' for a
21282 strcmp() that prevented a user-entered key from actually getting
21285 2004-08-16 Dan Williams <dcbw@redhat.com>
21287 * initscript/NetworkManager
21288 - Check for /sbin/ip
21289 - Do sysctl magic that network service does
21290 - sleep 4s after start to allow network time to come up [hack]
21294 - Load all network device kernel modules (hal doesn't know devices
21295 are ethernet until the module is loaded, and therefore we don't know)
21297 * src/NetworkManager.c
21298 - (main): daemonize later, launch NMLoadModules to alert HAL of our
21299 network devices, and bring up the loopback device explicitly
21301 * src/NetworkManagerUtils.[ch]
21302 - (nm_enable_loopback): new function
21304 2004-08-13 Dan Williams <dcbw@redhat.com>
21307 panel-applet/Makefile.am
21308 - Fix up cleanfiles and server_DATA/server_in_files
21311 - Update with some comments on theory of operation
21317 2004-08-12 Dan Williams <dcbw@redhat.com>
21319 * info-daemon/passphrase.glade
21320 - Set window title to " "
21322 * panel-applet/Makefile.am
21323 panel-applet/keyring.png
21324 - Deliver to correct place
21326 * panel-applet/NMWirelessApplet.[ch]
21328 - Remove applet->have_active_device as its no longer used
21329 - (nmwa_load_theme): load keyring.png too
21330 - (error_dialog): remove
21331 - (show_warning_dialog): subsume functionality of error dialog too
21332 - (nmwa_destroy, nmwa_new): create and dispose of an application-wide GConfClient
21333 - (nmwa_handle_network_choice): add to deal with user clicking on an item from
21335 - (nmwa_menu_item_activated): GtkMenuItem "activate" signal handler
21336 - (nmwa_button_clicked, nmwa_setup_widgets): create and populate the menu on startup
21337 and when we get broadcasts of changed wireless access points only, not when the
21338 user clicks on the button to display the menu (too long of a wait)
21339 - (nmwa_add_menu_item): Make active network bold, and place a keyring icon beside
21340 networks that are encrypted
21341 - (nmwa_dispose_menu, nmwa_menu_item_data_free): dispose of the data we place on each
21342 menu item with g_object_set_data()
21344 * panel-applet/NMWirelessAppletDbus.[ch]
21345 - (nmwa_dbus_get_bool): add method to return boolean value from dbus message
21346 - (nmwa_dbus_get_active_network): add (nmwa_dbus_get_string() wrapper to get active network)
21347 - (nmwa_dbus_add_networks_to_menu): clean up, only show one instance of each ESSID in the menu
21348 - (nmwa_dbus_set_network): force NetworkManager to use a particular network for wireless cards
21349 - (nmwa_dbus_init, nmwa_dbus_filter): Trap network appear/disappear and device
21350 activation/deactivation signals and rebuild the menu when they happen
21352 * src/NetworkManager.c
21353 - (main): use new nm_spawn_process() rather than system()
21355 * src/NetworkManagerDbus.c
21356 - (nm_dbus_devices_handle_request): don't compare AP structure addresses directly, but essids
21357 instead. Since we can now force best_aps to stick around, the AP structure to which
21358 dev->options.wireless.best_ap points to won't necessarily be in the device's device list
21359 if a scan has happened since the best_ap was frozen. Also add "setNetwork" method
21360 to freeze the best_ap.
21362 * src/NetworkManagerDevice.[ch]
21363 - (nm_device_activation_worker): Use new nm_spawn_process() call rather than system()
21364 - (nm_device_*_best_ap): add freeze/unfreeze/get_frozen functions, and don't really update
21365 the best_ap in nm_device_update_best_ap() if the best_ap is frozen AND in the device's
21368 * src/NetworkManagerUtils.[ch]
21369 - (nm_spawn_process): add replacement for system() usage
21371 2004-08-11 Dan Williams <dcbw@redhat.com>
21373 * panel-applet/NMWirelessApplet.[ch]
21374 - Fix up copyright and credits to include Bastien and Eskil,
21375 who created the gnome-applets wireless applet, from whose
21376 skeleton this one was created
21377 - Rework nmwa_update_state()/nmwa_draw() so that state and which
21378 pixmap to draw is computed during nmwa_update_state()
21379 - Applet now shows itself all the time due to panel packing issues
21380 which caused the applet to previously never come back after hiding.
21381 When a wired device is the active device, the applet shows "not connected"
21383 * panel-applet/NMWirelessAppletDbus.[ch]
21384 - Clean up error messages and show what function they are from
21385 - nmwa_dbus_get_active_wireless_device()->nmwa_dbus_get_active_device()
21386 - Add new device type getters, and a status getter
21388 * src/NetworkManagerDbus.c
21389 - (nm_dbus_devices_handle_request): Don't return an active network unless that
21390 network is actually in the device's ap list
21391 - (nm_dbus_nm_message_handler): Fix silly mistake returning status
21393 * src/NetworkManagerDevice.c
21394 - (nm_device_update_best_ap): If the best AP is NULL, clear out the ESSID of the
21397 * test/nmclienttest.c
21398 - Report status of NetworkManager too
21400 2004-08-11 Dan Williams <dcbw@redhat.com>
21402 * info-daemon/NetworkManagerInfo.c:
21403 - (main): clean up Seth's code style
21405 * info-daemon/NetworkManagerInfoDbus.c:
21406 - Use the more aptly-named path/service/interface constants from NetworkManager
21407 - Don't return empty strings ("") as object paths ever, instead return errors
21409 * panel-applet/NMWirelessApplet.c:
21410 - Clean up Seth's code style
21412 * src/NetworkManager.[ch]
21413 - (nm_remove_device_from_list): remove anything having to do with pending_device
21414 - (main, nm_print_usage): change --daemon=[yes|no] -> --no-daemon
21416 * src/NetworkManagerAPList.[ch]
21417 - Move Iter struct right above the iter functions to preserve opacity
21418 - (nm_ap_list_remove_ap): implement
21419 - (nm_ap_list_update_network): deal with errors returned from nm_dbus_get_network_priority(),
21420 remove AP if NetworkManagerInfo doesn't know anything about it
21421 - (nm_ap_list_diff): user NMAPList iterators
21422 - (nm_ap_list_print_members): implement debugging function
21424 * src/NetworkManagerDbus.[ch]
21425 - (nm_dbus_nm_get_active_device): remove anything to do with pending_device
21426 - (nm_dbus_get_user_key_for_network): remove DBusPendingCall stuff (unused),
21427 and move the actual key setting stuff into NetworkManagerDevice.c
21428 - (nm_dbus_get_network_priority): return -1 now on errors
21429 - (nm_dbus_nmi_filter): fix strcmp() error that caused PreferredNetworkUpdate signals to
21430 get lost, and force the active device to update its "best" ap when AP lists change
21431 - (nm_dbus_nm_message_handler): Update conditions for returning "connecting" for a "status"
21432 method call due to pending_device member removal
21434 * src/NetworkManagerDevice.[ch]
21435 - Move NMDevice structure to the top
21436 - Add a wireless scan mutex and a best_ap mutex to the Wireless Options structure
21437 - Remove Pending Action stuff from everywhere
21438 - (nm_device_activation_*): We now "begin" activation and start a thread to do the
21439 activation for us. This thread blocks until all conditions for activation have
21440 been met (ie for wireless devices, we need a valid WEP key and a "best" ap), and
21441 then setup up the interface and runs dhclient. We have to do this because there
21442 is no guaruntee how long dhclient takes, and while we are blocking on it, we cannot
21443 run our main loop and respond to dbus method calls or HAL device removals/inserts
21444 - (nm_device_set_user_key_for_network): Move logic here from NetworkManagerDbus.c so we
21445 can tell nm_device_activation_worker() that we've got a key
21446 - (nm_device_*_best_ap): lock access to best_ap member of Wireless Options structure
21447 - (nm_device_get_path_for_ap): dumb it down so the list doesn't lock against itself when
21448 diffing (AP appear/disappear signal functions make sure the AP is actually in the device's list)
21449 - (nm_device_update_best_ap): move logic from nm_wireless_is_ap_better() here
21451 * src/NetworkManagerPolicy.c
21452 - Remove anything to do with pending_device
21453 - Adjust device activation to deal with activation-in-worker-thread
21455 * src/NetworkManagerUtils.c
21456 - Clean up locking debugging a bit
21458 * src/NetworkManagerWireless.[ch]
21459 - (nm_wireless_is_ap_better): remove, stick logic in nm_device_update_best_ap(). This function
21460 was badly named and is better as a device function
21462 * panel-applet/.cvsignore: add
21464 2004-08-09 Seth Nickell <seth@gnome.org>
21466 * panel-applet/NMWirelessApplet.c: (nmwa_timeout_handler),
21467 (nmwa_button_clicked), (nmwa_populate_menu), (nmwa_setup_widgets),
21469 * src/NetworkManagerDbus.c: (nm_dbus_nmi_filter):
21471 Don't load the menus until clicked on (also removes a call outside
21472 normal code paths at first load).
21474 Hide applet when NM is not present.
21476 Improve printf debugging stuff.
21478 2004-08-09 Dan Williams <dcbw@redhat.com>
21480 * dispatcher-daemon/NetworkManagerDispatcher.c:
21481 - Covert uses of dbus_message_iter_* over to dbus_message_get_args
21482 - Use constants for NetworkManager interface, service, and path
21484 2004-08-09 Dan Williams <dcbw@redhat.com>
21486 * src/NetworkManagerDbus.c:
21487 - (nm_dbus_nm_get_active_device, nm_dbus_nm_get_devices): Never return an empty object path,
21488 instead return an error message
21489 - (nm_dbus_devices_handle_request): Return error when getActiveNetwork/getNetworks is called
21490 on a wired device. Also never return an empty object path, instead return an error message
21492 2004-08-06 Seth Nickell <seth@gnome.org>
21494 * panel-applet/NMWirelessApplet.c: (nmwa_new):
21496 Check the error code when getting a connection.
21498 * panel-applet/NMWirelessAppletDbus.c: (nmwa_dbus_init):
21500 Check if the NM service exists when initializing (rather than
21501 assuming it does not).
21503 * src/NetworkManagerDbus.c: (nm_dbus_init):
21505 Don't acquire the well-known service name until we have
21506 registered object/path handlers and can actually receive
21509 2004-08-06 Dan Williams <dcbw@redhat.com>
21514 * src/NetworkManagerPolicy.c
21515 src/NetworkManager.c
21516 - Get access point lists from NetworkManagerInfo on-demand,
21517 and look for ServiceCreate/ServiceDeleted signals to see when
21518 we should query NMI for lists
21519 * src/NetworkManagerAPList.c
21520 - Make sure to init the list's mutex
21521 - Convert traversals of the list over to the list iter functions
21523 * src/NetworkManagerDbus.[ch]
21524 - Use more aptly-named path/service/interface constants
21525 - Treat both active and pending devices the same for "getActiveDevice"
21526 - Add a "status" method returning "connected", "connecting", or "disconnected"
21528 * src/NetworkManagerDevice.c
21529 - Honor "ignored" network list when picking best ap to use
21531 2004-08-06 Seth Nickell <seth@gnome.org>
21535 Autogenerated, remove from CVS.
21539 Don't hardcode automake version.
21542 * info-daemon/Makefile.am:
21543 * info-daemon/NetworkManagerInfo.c: (main):
21545 Use GnomeProgram et al. for doing session management.
21546 Use popt stuff for argument parsing rather than doing
21549 2004-08-05 Dan Williams <dcbw@redhat.com>
21551 * test/nminfotest.c
21552 - Update to new NMI dbus API, check different network types
21554 * info-daemon/NetworkManagerInfoDbus.c
21555 - Update to new NM dbus API, ie network type sent in query message
21557 2004-08-05 Dan Williams <dcbw@redhat.com>
21559 * An assload of changes
21561 2004-08-02 Dan Williams <dcbw@redhat.com>
21564 - new task: proper logging support
21566 * info-daemon/NetworkManagerInfo.c
21567 - Correct spelling of "canceled"
21568 - Correct casting of objects for g_signal_connect()
21570 * info-daemon/NetworkManagerInfoDbus.c
21571 - Add defines for NetworkManager namespace and object path, and use them
21572 - Add filter function to trap new signals from NetworkManager:
21573 WirelessNetworkAppeared, WirelessNetworkDisappeared
21575 * info-daemon/passphrase.glade
21576 - Change name of "ok" button to "Login to Network..."
21579 * src/NetworkManager.c
21580 - Code and debug message cleanups
21581 - Rename "nm_add_current_devices"->"nm_add_initial_devices"
21582 - (nm_add_initial_devices) Check returned string array of devices
21583 and don't try to add devices if array is NULL
21584 - (main) Initialize libhal a bit later, make code a bit clearer
21586 * src/NetworkManagerAP.[ch]
21587 - New accessor and data member "matched": used to speed up AP list
21589 - New accessor and data member "enc_method": will be used during key
21590 fallback to cache which passphrase->key conversion actually works
21591 so we don't have to do it every time
21593 * src/NetworkManagerAPList.[ch]
21594 - (nm_ap_list_find_ap_in_list) New: find an AP by essid in an AP list
21595 - (nm_ap_list_diff) New: given two lists of access points, find the differences
21596 between them, and send WirelessNetworkAppeared/Disappeared signals over
21597 dbus in response to those differences
21599 * src/NetworkManagerDbus.[ch]
21600 - (nm_dbus_get_object_path_from_ap) New: given a device and an access point,
21601 make an object path for that access point (NOTE that we don't yet check to
21602 make sure that access point is actually in the device's AP list yet)
21603 - (nm_dbus_get_ap_from_object_path) Renamed from nm_dbus_get_network_from_object_path
21604 - (nm_dbus_signal_wireless_network_appeared, nm_dbus_signal_wireless_network_disappeared)
21605 New: signal appearance/disappearance of wireless networks
21606 - (nm_dbus_set_user_key_for_network) Mark the network/ap as invalid if the user cancelled
21609 * src/NetworkManagerDevice.[ch]
21610 - (nm_device_ap_list_clear) Use nm_ap_list_free rather than doing it ourselves
21611 - (nm_device_ap_list_get) New: return the AP list (static function)
21612 - (nm_device_do_normal_scan) Destroy old AP list later, so that we can diff the
21613 new one resulting from the scan with the old one
21615 * src/NetworkManagerWireless.c
21616 - (nm_wireless_is_most_prefered_ap) "invalid" access points cannot be "best" access points
21618 * test/nminfotest.c
21619 - #define object paths and namespaces and use the #defines rather than static strings
21620 - Test out user-key functionality of NetworkManagerInfo too
21622 2004-07-29 Dan Williams <dcbw@redhat.com>
21624 * info-daemon/NetworkManagerInfoDbus.c
21625 src/NetworkManagerDbus.c
21626 - Update to current DBus (ie don't use decomposed paths when registering
21627 object paths/fallbacks)
21629 2004-07-27 Dan Williams <dcbw@redhat.com>
21631 * Remove various Makefile.in files
21634 - Add some more items
21637 - Add checks for OpenSSL/md5 headers and libs
21640 - Use OpenSSL CFLAGS
21642 * src/NetworkManagerAP.[ch]
21643 - Remove 'stamp' functions, replace with 'invalid' functions
21644 to support user cancelling WEP key entry
21646 * src/NetworkManagerDbus.c
21647 - Remove 'stamp' return functions
21648 - Treat returned user key as a passphrase and convert to a WEP key,
21649 but don't actually use the WEP key yet. We use the returned user
21650 key as a hexadecimal WEP key until we can figure out a UI for
21651 passphrase-vs-hex key
21653 * src/NetworkManagerWireless.[ch]
21654 - Add passphrase-to-128bit-key function
21656 2004-07-27 Dan Williams <dcbw@redhat.com>
21659 - Add a couple of items
21661 2004-07-27 Dan Williams <dcbw@redhat.com>
21663 * info-daemon/NetworkManagerInfo.c
21664 - Update allowed network's GConf key when user enters a WEP key explicitly
21666 * info-daemon/NetworkManagerDbus.c
21667 - Fix some comments
21668 - nmi_dbus_get_allowed_networks(): kill warning
21670 2004-07-27 Dan Williams <dcbw@redhat.com>
21672 * initscript/Makefile.in
21675 * initscript/Makefile.am
21676 - Add correct rules to install the init.d initscript
21678 * info-daemon/NetworkManagerInfoDbus.c
21679 - Remove debug fprintf
21681 * src/NetworkManagerDbus.[ch]
21682 - Remove debug fprintfs
21683 - Add macros for NetworkManagerInfo object path/namespace
21684 - Use said macros instead of constant strings
21686 2004-07-27 Dan Williams <dcbw@redhat.com>
21688 * initscript/.cvsignore
21691 * info-daemon/Makefile.am
21692 - Install .glade files and keyring.png
21693 - Fix stupid omission of a \ that caused half the flags not to be
21696 * info-daemon/NetworkManagerInfo.c
21697 - gtk_signal_connect->g_signal_connect
21698 - Alert NetworkManagerInfo to new glade file location
21700 2004-07-27 Dan Williams <dcbw@redhat.com>
21702 * test/nmclienttest.c
21704 - Add missing <dbus/dbus.h> headers
21705 - Add GPL message at top
21707 2004-07-27 Dan Williams <dcbw@redhat.com>
21709 * src/NetworkManagerAPList.[ch]
21711 - Add. Deal with allowed network list additions, deletions, and updates
21713 * dispatcher-daemon/NetworkManagerDispatcher.c
21714 - Add missing <dbus/dbus.h> header
21716 * info-daemon/NetworkManagerInfo.[ch]
21717 - Add missing <dbus/dbus.h> header
21718 - Implement the GConf notify callback to signal NetworkManager of an allowed
21720 - Better error checking
21722 * info-daemon/NetworkManagerInfoDbus.[ch]
21723 - Add missing <dbus/dbus.h> header
21724 - Convert to using dbus_message_append_args/dbus_message_get_args
21725 - Implement nmi_dbus_signal_update_allowed_network() to signal NetworkManager
21726 that an allowed network changed. We don't want to signal on individual
21727 keys _inside_ an allowed network really, just want NM to query the info
21728 daemon for updated info on all keys.
21729 - Better error checking
21731 * src/NetworkManager.[ch]
21732 - Add missing <dbus/dbus.h> header
21733 - Move allowed_ap_list free functions to NetworkManagerAPList.[ch]
21734 - Zero out NMData structure on free
21735 - No longer use a thread for allowed_ap_list updating, instead its now done
21736 through dbus queries against NetworkManagerInfo
21737 - Populate allowed_ap_list initially before adding existing network devices
21738 to the device list, so wireless devices can get their "best" AP
21740 * src/NetworkManagerDbus.[ch]
21741 - Convert to using dbus_message_append_args/dbus_message_get_args
21742 - Better error checking
21743 - Implement Allowed Network info functions to request allowed network
21744 info from NetworkManagerInfo
21745 - Implement the filter function to process signals from NetworkManagerInfo
21746 about changing allowed networks
21748 * src/NetworkManagerDevice.c
21749 - Fix file descriptor leak in nm_device_update_ip4_address()
21751 2004-07-27 Dan Williams <dcbw@redhat.com>
21756 dispatcher-daemon/.cvsignore
21757 info-daemon/.cvsignore
21758 - Add .cvsignore files to reduce noise when diffing
21760 2004-07-24 Dan Williams <dcbw@redhat.com>
21762 * src/NetworkManager.[ch]
21763 src/NetworkManagerDbus.[ch]
21764 src/NetworkManagerDevice.[ch]
21765 src/NetworkManagerPolicy.c
21766 src/NetworkManagerWireless.[ch]
21767 - Add many more g_return_if_fail()/g_return_val_if_fail() checks
21768 - Pass the NMData application data structure through all calls
21769 that need it so we can get rid of nm_get_global_data()
21770 - Change deallocation of the allowed_ap_list GSList in preparation
21771 for not completely clearing it every time we get an update,
21772 but instead getting incremental updates via GConf/dbus
21774 2004-07-22 Dan Williams <dcbw@redhat.com>
21777 - Add checks for GConf libs & headers & flags
21779 * info-daemon/Makefile.am
21780 - Add GConf flags & libs to compile/link stages of NetworkManagerInfo
21782 * info-daemon/NetworkManagerInfo.[ch]
21783 - Don't use gquarks for data storage, just use normal data storage
21784 - Add gconf bits to watch /system/networking/wireless/allowed_networks
21786 * info-daemon/NetworkManagerDbus.[ch]
21787 - Add method call for getting allowed networks
21788 - Add method calls for getting an allowed network's essid, priority, and key
21789 - Hook the method calls up to GConf
21790 - Split user key dialog code into separate function (nmi_dbus_get_key_for_network)
21791 - nmi_dbus_nmi_message_handler(): make sure to unref the reply message after sending
21793 * src/NetworkManagerDbus.[ch]
21794 - Switch for enumeration of networks to using essid instead
21798 - Add test program for NetworkManagerInfo
21800 2004-07-19 Dan Williams <dcbw@redhat.com>
21802 * src/NetworkManagerDbus.c
21803 - Switch from indexed device paths to names. Less code, more efficient.
21804 ie "/org/freedesktop/NetworkManager/0" -> "/org/freedesktop/NetworkManager/eth0"
21806 2004-07-19 Dan Williams <dcbw@redhat.com>
21808 * dispatcher-daemon/NetworkManagerDispatcher.c
21809 - (nm_dbus_filter): Remove obsolete response to NeedKeyForNetwork signal
21811 2004-07-19 Dan Williams <dcbw@redhat.com>
21814 - Add info-daemon directory
21817 - Check for glade libs and headers
21818 - Add info-daemon directory
21820 * src/NetworkManagerAP.c
21821 - nm_ap_new_from_ap(): Fix bug that resulted in an APs encryption status not getting
21822 copied over to the new AP.
21824 * src/NetworkManagerDbus.c
21825 src/NetworkManagerDbus.h
21826 - Deal with nm_device_ap_list_get_ap()->nm_device_ap_list_get_ap_by_index() change
21827 - Remove nm_dbus_signal_need_key_for_network()
21828 - Add disabled code for asynchronous user wep key callbacks
21829 - Add functions for getting, setting, and cancelling user key operations
21830 - Remove "setKeyForNetwork" device dbus method call, its on NetworkManager object instead
21831 - Add "setKeyForNetwork" dbus method call on NetworkManager object
21833 * src/NetworkManagerDevice.c
21834 src/NetworkManagerDevice.h
21835 - nm_device_update_link_active(): revert changes for wireless link detection, the WEP-key-is-wrong
21836 logic is in device activation now
21837 - nm_device_activate(): for wireless devices, if we can't associate with access point (perhaps
21838 key is wrong) trigger get-user-key pending action
21839 - Implement get-user-key pending action stuff, tie to dbus messages
21840 - Rename nm_device_ap_list_get_ap() -> nm_device_ap_list_get_ap_by_index()
21841 - Add nm_device_ap_list_get_ap_by_essid()
21842 - Instead of copying "best" access points, ref them instead so that the key we set
21845 * src/NetworkManagerPolicy.c
21846 - Deal with wrong WEP key, but right access point (and if so, return link_active = TRUE)
21847 - Don't cancel pending actions on a device if its the same device as last iteration
21848 - Only promote pending_device->active_device if activation was successfull
21851 - Rename nmclienttest->nmtest
21853 * info-daemon/Makefile.am
21854 info-daemon/NetworkManagerInfo.c
21855 info-daemon/NetworkManagerInfo.h
21856 info-daemon/NetworkManagerInfoDbus.c
21857 info-daemon/NetworkManagerInfoDbus.h
21858 info-daemon/passphrase.glade
21859 info-daemon/NetworkManagerInfo.conf
21860 info-daemon/keyring.png
21861 - Import sources for info-daemon, which pops up dialog for passphrase/key when
21862 NetworkManager asks for it, and also will (soon) provide "allowed" access point
21863 lists to NetworkManager by proxying user's GConf
21866 2004-07-15 Dan Williams <dcbw@redhat.com>
21871 * src/NetworkManager.c
21872 - nm_create_device_and_add_to_list(): call nm_device_deactivate() rather
21873 that doing the deactivation ourselves
21874 - Cancel an pending actions on a device if its being removed
21875 - Break up link state checking a bit, make non-active wireless cards
21876 deactivated to save power
21877 - Remove unused variables
21879 * src/NetworkManager.h
21880 - Add support for "pending" device
21882 * src/NetworkManagerAP.h
21883 src/NetworkManagerAP.c
21884 - Add support for determining whether and AP has encryption enabled or not
21885 - AP address is now "struct ether_addr" rather than a string
21887 * src/NetworkManagerDbus.h
21888 src/NetworkManagerDbus.c
21889 - Add signal NeedKeyForNetwork, method SetKeyForNetwork (testing only)
21890 - Changes for AP address from struct ether_addr->string
21892 * src/NetworkManagerDevice.h
21893 src/NetworkManagerDevice.c
21894 - Remove unused variables, fix warnings
21895 - Add support for Pending Actions (things that block a device from being "active"
21896 until they are completed).
21897 - First pending action: Get a WEP key from the user
21898 - Add nm_device_is_wire[d|less](), rename nm_device_is_wireless()
21899 - Clean up explicit testing of dev->iface_type to use nm_device_is_wireless()
21900 - Update wireless link checking to try to determine if the AP we are associated
21901 with is correct, but the WEP key we are using is just wrong. If its wrong,
21902 trigger the GetUserKey pending action on the device
21903 - If dhclient can't get an IP address, it brings the device down. Bring it back
21904 up in that case, otherwise we can't scan or link-check on it
21905 - Add IP address change notifications at appropriate points (still needs some work)
21906 - Add nm_device_need_ap_switch(), checks whether we need to switch access points or not
21908 * src/NetworkManagerPolicy.h
21909 src/NetworkManagerPolicy.c
21910 - Split out "best" access point determiniation into separate function
21911 - Make device activation 2-stage: first the device is pending, then
21912 in the next iteration through it becomes "active" unless it has
21915 * src/NetworkManagerUtils.h
21916 src/NetworkManagerUtils.c
21917 - Clean up unused variables and warnings
21918 - Wrap our debug macros in {} to prevent possible confusion
21920 * src/NetworkManagerWireless.c
21921 - Forgot to return current best priority, which lead to last available AP always
21922 being chosen no matter what its priority was. Corrected.
21924 2004-07-15 Dan Williams <dcbw@redhat.com>
21926 * dispatcher-daemon/Makefile.am
21929 * dispatcher-daemon/NetworkManagerDispatcher.c
21930 - Remove unused variables due to warnings
21931 - Fix some comments
21932 - Print message on receipt of NeedKeyForNetwork signal (testing only)
21934 2004-07-06 Dan Williams <dcbw@redhat.com>
21936 * src/NetworkManager.c
21937 - Add IPv4 address update for active device during link state check
21938 - Don't allow wireless cards to be powered up when they are not the
21941 * src/NetworkManagerDbus.c
21942 src/NetworkManagerDbus.h
21943 - Add DBUS IPv4 address change signal
21944 - Add DBUS IPv4 address get method for devices
21946 * src/NetworkManagerDevice.c
21947 - Make setting the WEP key actually work
21948 - Move IP address get/set/update stuff here, per-device
21949 - Power down/bring down wireless device when deactivated
21950 - For scanning wireless devices, if first scan returned ENODATA, try again
21952 * src/NetworkManagerPolicy.c
21953 - Only set the WEP key for an allowed access point if there is one.
21954 We were setting it to be blank if one wasn't specified.
21956 * src/NetworkManagerUtils.h
21957 src/NetworkManagerUtils.c
21958 - Move the IP address stuff to NetworkManagerDevice.c
21960 * dispatcher-daemon/NetworkManagerDispatcher.c
21961 - Add device IPv4 address change notification stuff
21963 2004-07-05 Dan Williams <dcbw@redhat.com>
21965 * dispatcher-daemon/NetworkManagerDispatcher.c
21966 - A bit more descriptive state message
21967 - Don't segfault when reading directory
21969 * src/NetworkManager.h
21970 - Remove NMData desired_ap member, its now
21971 per-device rather than global
21973 * src/NetworkManager.c
21974 - Remove references to desired_ap
21975 - Move the allowed AP list refresh stuff into a thread
21977 * src/NetworkManagerDevice.c
21978 src/NetworkManagerDevice.h
21979 - Each wireless device now has a "best ap"
21980 - Make device activate/deactivate functions per-device
21981 - Make wireless scanning per-device
21982 - Add IPv4 address discover functions, stub IPv6 ones
21983 - Move ethernet address validation functions to NetworkManagerUtils.c
21984 - Add wireless access point accessor function
21985 - Get/Set functions for "best ap"
21987 * src/NetworkManagerPolicy.c
21988 - Move activate/deactivate stuff into NetworkManagerDevice.c, per-device
21989 - Deal with per-device "best ap" rather than data->desired_apa
21990 - Implement allowed access point worker thread
21991 - Add nm_policy_essid_is_allowed() function
21993 * src/NetworkManagerUtils.c
21994 src/NetworkManagerUtils.h
21995 - Add nm_ethernet_address_is_valid() function
21996 - Add IPv4/IPv6 address get functions
21998 * src/NetworkManagerWireless.c
21999 src/NetworkManagerWireless.h
22000 - Move scanning stuff into NetworkManagerDevice.c, per-device
22002 2004-06-29 Dan Williams <dcbw@redhat.com>
22004 * dispatcher-daemon/NetworkManagerDispatcher.c
22005 - Implement script callout functionality
22007 2004-06-24 Dan Williams <dcbw@redhat.com>
22011 - Flush device routes and ip addresses when added to the device list
22013 * NetworkManagerDbus.c
22015 - Add missing returns in the two signal functions
22017 * NetworkManagerPolicy.c
22018 - Spacing and variable cleanups
22020 2004-06-24 Dan Williams <dcbw@redhat.com>
22025 dispatcher-daemon/Makefile.am
22026 dispatcher-daemon/Makefile.in
22027 dispatcher-daemon/NetworkManagerDispatcher.c
22028 - Add a daemon that receives signals from NetworkManager
22029 and will (eventually) call scripts in /etc/somewhere
22030 when devices go up or down.
22034 - Flush device routes and ip addresses when added to the device list
22036 * NetworkManagerDbus.c
22038 - Add missing returns in the two signal functions
22040 * NetworkManagerPolicy.c
22041 - Spacing and variable cleanups
22042 - Rename nm_policy_switch_interface->nm_policy_switch_device
22043 - nm_policy_switch_device():
22044 Use kill (pid) instead of system ("kill <pid>")
22045 - nm_state_modification_monitor():
22046 Add wireless essid to output of debug statements
22047 Correct typo in device compare to switch or not (should be !=)
22048 Don't sleep after sending "no longer active" signal, was useless
22050 2004-06-24 Dan Williams <dcbw@redhat.com>