1 2008-11-19 Dan Williams <dcbw@redhat.com>
3 * libnm-util/nm-connection.h
4 libnm-util/nm-connection.c
5 - Document public functions
7 2008-11-19 Dan Williams <dcbw@redhat.com>
9 * libnm-util/nm-setting.h
10 libnm-util/nm-setting.c
13 system-settings/plugins/ifcfg-fedora/plugin.c
14 - Prefix compare flag defines with NM_SETTING_
16 2008-11-19 Dan Williams <dcbw@redhat.com>
18 * libnm-util/nm-connection.c
19 libnm-util/nm-connection.h
20 - (nm_connection_replace_settings): take a GError
22 * libnm-glib/nm-settings.c
23 libnm-glib/nm-dbus-connection.c
25 system-settings/plugins/ifcfg-suse/nm-suse-connection.c
26 system-settings/plugins/keyfile/nm-keyfile-connection.c
27 system-settings/plugins/keyfile/plugin.c
28 - Handle, or don't handle, errors from nm_connection_replace_settings()
30 2008-11-19 Dan Williams <dcbw@redhat.com>
32 * libnm-util/libnm-util.ver
33 libnm-util/nm-connection.c
34 - (nm_setting_register, nm_setting_unregister): unexport; they are
35 private and don't have a use outside libnm-util
37 2008-11-17 Dan Williams <dcbw@redhat.com>
39 * src/nm-hso-gsm-device.c
40 - (real_connection_secrets_updated): handle PIN/PUK correctly for HSO
43 2008-11-17 Dan Williams <dcbw@redhat.com>
45 * system-settings/plugins/ifcfg-fedora/reader.c
46 - (read_mac_address): clean up
47 - (make_wireless_setting): pass NULL array to read_mac_address() like it
50 * system-settings/plugins/ifcfg-fedora/plugin.c
51 - (read_one_connection): don't segfault on NULL errors
53 2008-11-14 Dan Williams <dcbw@redhat.com>
57 2008-11-14 Dan Williams <dcbw@redhat.com>
59 Handle gateways on different subnets
61 * src/NetworkManagerSystem.c
62 - (add_ip4_route_to_gateway): gateway route should be link scope and
64 - (replace_default_ip4_route): use a destination address too; gateway
65 address should be /0; don't leak the gateway route object
67 2008-11-14 Dan Williams <dcbw@redhat.com>
69 * libnm-glib/libnm_glib.ver
70 libnm-glib/nm-dbus-settings-system.c
71 libnm-glib/nm-dbus-settings-system.h
72 - Add libnm-glib bits for CanModify
74 2008-11-14 Dan Williams <dcbw@redhat.com>
76 * introspection/nm-settings-system.xml
77 system-settings/src/dbus-settings.c
78 system-settings/src/dbus-settings.h
79 - Add a "CanModify" property to indicate if any plugins support
80 connection modification
82 2008-11-14 Dan Williams <dcbw@redhat.com>
84 Relicense libnm-glib to LGPLv2+ with agreement from contributors
86 2008-11-14 Dan Williams <dcbw@redhat.com>
88 * vpn-manager/nm-vpn-connection.c
89 - (plugin_state_changed): clear VPN secrets on error to ensure they
90 are always requested from the settings service (rh #429287)
92 2008-11-13 Dan Williams <dcbw@redhat.com>
95 - (crypto_get_private_key_data): fix bad initial arg type checking
98 2008-11-13 Dan Williams <dcbw@redhat.com>
100 Add support for PKCS#12 private keys (bgo #558982)
102 * libnm-util/crypto.c
104 - (parse_old_openssl_key_file): rename from parse_key_file(); adapt to
105 take a GByteArray instead of a filename
106 - (file_to_g_byte_array): handle private key files too
107 - (decrypt_key): take a GByteArray rather than data + len
108 - (crypto_get_private_key_data): refactor crypto_get_private_key() into
109 one function that takes a filename, and one that takes raw data;
110 detect pkcs#12 files as well
111 - (crypto_load_and_verify_certificate): detect file type
112 - (crypto_is_pkcs12_data, crypto_is_pkcs12_file): add pkcs#12 detection
115 * libnm-util/crypto_gnutls.c
116 - (crypto_decrypt): take GByteArray rather than data + len; fix a bug
117 whereby tail padding was incorrectly handled, leading to erroneous
118 successes when trying to decrypt the data
119 - (crypto_verify_cert): rework somewhat
120 - (crypto_verify_pkcs12): validate pkcs#12 keys
122 * libnm-util/crypto_nss.c
123 - (crypto_init): enable various pkcs#12 ciphers
124 - (crypto_decrypt): take a GByteArray rather than data + len
125 - (crypto_verify_cert): clean up
126 - (crypto_verify_pkcs12): validate pkcs#12 keys
128 * libnm-util/test-crypto.c
129 - Handle pkcs#12 keys
131 * libnm-util/nm-setting-8021x.c
132 libnm-util/nm-setting-8021x.h
133 libnm-util/libnm-util.ver
134 - Add two new properties, 'private-key-password' and
135 'phase2-private-key-password', to be used in conjunction with
137 - (nm_setting_802_1x_set_ca_cert_from_file,
138 nm_setting_802_1x_set_client_cert_from_file,
139 nm_setting_802_1x_set_phase2_ca_cert_from_file,
140 nm_setting_802_1x_set_phase2_client_from_file): return certificate
142 - (nm_setting_802_1x_get_private_key_password,
143 nm_setting_802_1x_get_phase2_private_key_password): return private
145 - (nm_setting_802_1x_set_private_key_from_file,
146 nm_setting_802_1x_set_phase2_private_key_from_file): set the private
147 key from a file, and update the private key password at the same time
148 - (nm_setting_802_1x_get_private_key_type,
149 nm_setting_802_1x_get_phase2_private_key_type): return the private
152 * src/supplicant-manager/nm-supplicant-settings-verify.c
153 - Whitelist private key passwords
155 * src/supplicant-manager/nm-supplicant-config.c
156 - (nm_supplicant_config_add_setting_8021x): for pkcs#12 private keys,
157 add the private key password to the supplicant config, but do not
158 add the client certificate (as required by wpa_supplicant)
160 2008-11-12 Tambet Ingo <tambet@gmail.com>
162 * system-settings/plugins/keyfile/nm-keyfile-connection.c (copy_one_secret)
163 (add_secrets): Don't add empty secrets to the secrets hash table.
165 2008-11-07 Dan Williams <dcbw@redhat.com>
167 * libnm-util/nm-setting-wireless.c
168 - (nm_setting_wireless_get_seen_bssid): fix bug from accessor conversion
169 that cased this function to return garbage, breaking hidden AP
172 2008-11-07 Dan Williams <dcbw@redhat.com>
174 Fix deletion of VPN gateway route on DHCP renew (bgo #558133)
176 * src/NetworkManagerSystem.c
177 src/NetworkManagerSystem.h
178 - (nm_system_device_set_ip4_route): return the route that was added
179 - (nm_system_add_ip4_vpn_gateway_route): make add_vpn_gateway_route()
180 public, clean up, and return the route that was added
181 - (nm_system_apply_ip4_config): remove VPN related stuff to simplify,
182 since nm_system_add_ip4_vpn_gateway_route() is now available; add
183 flags to allow only certain attributes of the NMIP4Config to be
187 - (handle_dhcp_lease_change): don't touch the DHCP4 config on failure
188 - (nm_device_set_ip4_config): use nm_ip4_config_diff() to only apply
189 what's really changed between the old and new configs; don't export
190 the new IP4 config on failure; always send the DNS info to the
193 * src/vpn-manager/nm-vpn-connection.c
194 - (device_ip4_config_changed, nm_vpn_connection_new, dispose): track the
195 parent device's IP4Config and re-add the VPN gateway route when it
197 - (nm_vpn_connection_ip4_config_get): add the VPN gateway route (since
198 nm_system_apply_ip4_config() no longer does) and cache it for later
199 - (connection_state_changed): move cleanup code to its own function
200 - (vpn_cleanup): delete any previously added VPN gateway route; and
201 re-apply the parent device's addresses and routes using
202 nm_system_apply_ip4_config(), not nm_device_set_ip4_config()
204 2008-11-07 Dan Williams <dcbw@redhat.com>
206 * src/nm-ip4-config.c
208 - (nm_ip4_config_diff): new function; return the difference between two
210 - (nm_ip4_config_compare): change into nm_ip4_config_diff
212 2008-11-05 Dan Williams <dcbw@redhat.com>
216 - (nm_ip4_config_compare): compare two IP4 configs
218 2008-11-05 Dan Williams <dcbw@redhat.com>
220 * src/NetworkManagerPolicy.c
221 - (update_etc_hosts): only add newline if not the last line of the file
224 2008-11-05 Dan Williams <dcbw@redhat.com>
226 * src/dhcp-manager/nm-dhcp-dhclient.c
227 - (get_leasefile_for_iface): move lease files back to where dhclient
230 2008-11-05 Michael Biebl <mbiebl@gmail.com>
232 * initscripts/Debian/NetworkManager
233 - Update to what Debian is actually using
235 2008-11-05 Tambet Ingo <tambet@gmail.com>
237 * libnm-util/nm-setting-8021x.c: Verify PEAP settings as well.
239 2008-11-03 Dan Williams <dcbw@redhat.com>
241 * system-settings/src/main.c
242 - (add_default_dhcp_connection): make the fallback connection read-only
244 * libnm-glib/nm-settings.c
245 libnm-glib/nm-settings.h
246 - Add detailed errors
247 - (impl_exported_connection_update, impl_exported_connection_delete):
248 return an error if the connection is read-only
250 * system-settings/plugins/ifupdown/nm-ifupdown-connection.c
251 system-settings/plugins/keyfile/nm-keyfile-connection.c
252 system-settings/src/main.c
253 - Use more detailed errors
255 * system-settings/src/nm-system-config-error.c
256 system-settings/src/nm-system-config-error.h
257 system-settings/src/dbus-settings.c
258 - Remove NM_SYSCONFIG_SETTINGS_ERROR_INVALID_CONNECTION, replaced by
259 NM_SETTINGS_ERROR_INVALID_CONNECTION
261 2008-11-02 Dan Williams <dcbw@redhat.com>
263 * Add license headers to everything in src/
265 2008-11-02 Dan Williams <dcbw@redhat.com>
269 2008-11-02 Dan Williams <dcbw@redhat.com>
271 * src/NetworkManagerAP.c
272 - (nm_ap_new_fake_from_connection): treat only lack of a wireless security
273 setting as unencrypted; fixes a bug where NM wouldn't ask for new
274 secrets when connecting to an encrypted network failed
276 2008-10-30 Dan Williams <dcbw@redhat.com>
278 * libnm-util/libnm-util.ver
279 libnm-util/nm-setting-ip6-config.c
280 libnm-util/nm-setting-ip6-config.h
281 libnm-util/Makefile.am
282 - Make properties private and add accessor functions
283 - Hide IPv6 stuff from public API, it's incomplete and completely unused
285 * libnm-util/nm-connection.c
286 libnm-util/nm-utils.c
287 libnm-util/nm-utils.h
288 - Ignore IPv6 stuff for now
290 2008-10-30 Dan Williams <dcbw@redhat.com>
292 * libnm-util/libnm-util.ver
293 libnm-util/nm-setting-8021x.c
294 libnm-util/nm-setting-8021x.h
295 - Make properties private and add accessor functions
297 * src/supplicant-manager/nm-supplicant-config.c
298 system-settings/plugins/ifcfg-suse/parser.c
299 - Use 802.1x setting accessors
301 2008-10-30 Dan Williams <dcbw@redhat.com>
303 * libnm-util/libnm-util.ver
304 libnm-util/nm-setting-wireless-security.c
305 libnm-util/nm-setting-wireless-security.h
306 - Make properties private and add accessor functions
308 * libnm-util/nm-setting-wireless.c
309 src/NetworkManagerAP.c
311 src/supplicant-manager/nm-supplicant-config.c
312 system-settings/plugins/ifcfg-fedora/reader.c
313 system-settings/plugins/ifcfg-suse/parser.c
314 - Use wireless security accessors
316 2008-10-30 Dan Williams <dcbw@redhat.com>
318 * src/nm-device-ethernet.c
321 src/ppp-manager/nm-ppp-manager.c
322 - Harmonize return checking of ioctl
324 * system-settings/plugins/ifcfg-fedora/reader.c
325 - (is_wireless_device): fall back to SIOCGIWNAME (rh #466340)
327 2008-10-30 Dan Williams <dcbw@redhat.com>
329 * src/ppp-manager/nm-ppp-manager.c
330 - (nm_ppp_manager_start): if /dev/ppp doesn't exist, load the
331 ppp_generic module to create it (bgo #533064)
333 2008-10-30 Dan Williams <dcbw@redhat.com>
335 Patch from Alexander Sack <asac@canonical.com>
337 Fix "ppp connections don't honour ip4 connection settings"
339 * src/nm-device-ethernet.c
340 - (real_act_stage4_get_ip4_config): merge ip4config settings
341 with results from ppp manager
343 * src/nm-serial-device.c
344 - (real_act_stage4_get_ip4_config): merge ip4config settings
345 with results from ppp manager
347 2008-10-29 Dan Williams <dcbw@redhat.com>
349 * libnm-util/libnm-util.ver
350 libnm-util/nm-setting-ip4-config.c
351 libnm-util/nm-setting-ip4-config.h
352 - Make properties private and add accessor functions
354 * callouts/nm-dispatcher-action.c
355 libnm-glib/libnm-glib-test.c
356 libnm-util/nm-utils.c
357 src/NetworkManagerPolicy.c
358 src/NetworkManagerSystem.c
359 src/NetworkManagerUtils.c
360 src/dhcp-manager/nm-dhcp-dhclient.c
361 src/dhcp-manager/nm-dhcp-manager.c
362 src/dnsmasq-manager/nm-dnsmasq-manager.c
365 src/nm-hso-gsm-device.c
368 src/ppp-manager/nm-ppp-manager.c
369 src/vpn-manager/nm-vpn-connection.c
370 system-settings/plugins/ifcfg-fedora/reader.c
371 system-settings/plugins/ifcfg-suse/parser.c
372 system-settings/plugins/ifcfg-suse/plugin.c
373 system-settings/plugins/ifupdown/parser.c
375 vpn-daemons/vpnc/properties/nm-vpnc.c
376 - Use IP4 accessor functions
378 2008-10-29 Tambet Ingo <tambet@gmail.com>
380 Half of it by Dan Williams <dcbw@redhat.com>
382 * libnm-util/libnm-util.ver
383 libnm-util/nm-setting-vpn.c
384 libnm-util/nm-setting-vpn.h
385 - Make properties private and add accessor functions.
387 * src/vpn-manager/nm-vpn-connection.c
388 src/vpn-manager/nm-vpn-manager.c
389 system-settings/plugins/keyfile/reader.c
390 vpn-daemons/openvpn/properties/auth-helpers.c
391 vpn-daemons/openvpn/properties/import-export.c
392 vpn-daemons/openvpn/properties/nm-openvpn.c
393 vpn-daemons/openvpn/src/nm-openvpn-service.c
394 vpn-daemons/pptp/auth-dialog/main.c
395 vpn-daemons/pptp/properties/advanced-dialog.c
396 vpn-daemons/pptp/properties/nm-pptp.c
397 vpn-daemons/pptp/src/nm-pptp-service.c
398 vpn-daemons/vpnc/properties/nm-vpnc.c
399 vpn-daemons/vpnc/src/nm-vpnc-service.c
400 - Use VPN setting accessors.
402 2008-10-28 Dan Williams <dcbw@redhat.com>
404 Patch from Tambet Ingo <tambet@gmail.com>
406 * libnm-util/libnm-util.ver
407 libnm-util/nm-setting-wireless.c
408 libnm-util/nm-setting-wireless.h
409 - Make properties private and add accessor functions
411 * src/NetworkManagerAP.c
414 src/supplicant-manager/nm-supplicant-config.c
415 system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
416 system-settings/plugins/ifcfg-fedora/reader.c
417 system-settings/plugins/ifcfg-suse/parser.c
418 system-settings/plugins/ifupdown/parser.c
419 - Use wireless setting accessors
421 2008-10-27 Dan Williams <dcbw@redhat.com>
423 Patch from Tambet Ingo <tambet@gmail.com>
425 * libnm-util/libnm-util.ver
426 libnm-util/nm-setting-ppp.c
427 libnm-util/nm-setting-ppp.h
428 - Make properties private and add accessor functions
430 * src/ppp-manager/nm-ppp-manager.c
431 - Use ppp setting accessors
433 2008-10-27 Dan Williams <dcbw@redhat.com>
435 Patch from Tambet Ingo <tambet@gmail.com>
437 * libnm-util/nm-setting.h
438 libnm-util/nm-setting.c
439 - Make properties private and add accessor functions
441 * libnm-util/nm-connection.c
442 libnm-util/nm-setting-8021x.c
443 libnm-util/nm-setting-cdma.c
444 libnm-util/nm-setting-connection.c
445 libnm-util/nm-setting-gsm.c
446 libnm-util/nm-setting-ip4-config.c
447 libnm-util/nm-setting-ip6-config.c
448 libnm-util/nm-setting-ppp.c
449 libnm-util/nm-setting-pppoe.c
450 libnm-util/nm-setting-serial.c
451 libnm-util/nm-setting-template.c
452 libnm-util/nm-setting-vpn.c
453 libnm-util/nm-setting-wired.c
454 libnm-util/nm-setting-wireless-security.c
455 libnm-util/nm-setting-wireless.c
456 system-settings/plugins/keyfile/reader.c
457 system-settings/plugins/keyfile/writer.c
458 - Use setting accessors
460 2008-10-27 Dan Williams <dcbw@redhat.com>
462 * libnm-util/libnm-util.ver
463 libnm-util/nm-setting-connection.c
464 libnm-util/nm-setting-connection.h
465 - Add a 'read-only' property that indicates the connection cannot be
468 * system-settings/plugins/ifcfg-fedora/reader.c
469 system-settings/plugins/ifcfg-suse/parser.c
470 system-settings/plugins/ifupdown/parser.c
471 - These plugins are read-only at the moment
473 * system-settings/plugins/keyfile/reader.c
474 system-settings/plugins/keyfile/writer.c
475 - Read-only shouldn't get saved out to files or read in from them
477 2008-10-27 Tambet Ingo <tambet@gmail.com>
479 * src/nm-device-ethernet.c (nm_device_ethernet_get_speed): Implement
480 correct speed reporting for fast devices (kernel >= 2.6.27).
482 2008-10-26 Dan Williams <dcbw@redhat.com>
484 Attempt to compensate for modems that don't enable full AT parsing before
485 the PIN has been entered.
487 * src/nm-gsm-device.c
488 - (init_modem): accept different init strings
489 - (init_done): try different init strings on failure
490 - (check_pin_done): on PIN success, do full modem init
492 2008-10-26 Dan Williams <dcbw@redhat.com>
494 Patch from Tambet Ingo <tambet@gmail.com>
496 * libnm-util/libnm-util.ver
497 libnm-util/nm-setting-connection.c
498 libnm-util/nm-setting-connection.h
499 - Make properties private and add accessor functions
501 * src/NetworkManagerPolicy.c
503 src/nm-device-ethernet.c
504 src/nm-device-interface.c
508 src/ppp-manager/nm-ppp-manager.c
509 src/vpn-manager/nm-vpn-connection.c
510 system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
511 system-settings/plugins/ifcfg-fedora/plugin.c
512 system-settings/plugins/ifcfg-fedora/reader.c
513 system-settings/plugins/ifcfg-suse/parser.c
514 system-settings/plugins/ifupdown/parser.c
515 system-settings/plugins/keyfile/nm-keyfile-connection.c
516 system-settings/plugins/keyfile/plugin.c
517 system-settings/plugins/keyfile/writer.c
518 system-settings/src/main.c
519 - Use those accessors
521 2008-10-26 Dan Williams <dcbw@redhat.com>
523 Patch from Tambet Ingo <tambet@gmail.com>
525 * libnm-util/libnm-util.ver
526 libnm-util/nm-setting-gsm.c
527 libnm-util/nm-setting-gsm.h
528 - Make properties private and add accessor functions
530 * src/nm-gsm-device.c
531 src/nm-hso-gsm-device.c
532 src/ppp-manager/nm-ppp-manager.c
533 - Use those accessors
535 2008-10-26 Dan Williams <dcbw@redhat.com>
537 Patch from Tambet Ingo <tambet@gmail.com>
539 * libnm-util/libnm-util.ver
540 libnm-util/nm-setting-cdma.c
541 libnm-util/nm-setting-cdma.h
542 - Make properties private and add accessor functions
544 * src/nm-cdma-device.c
545 src/ppp-manager/nm-ppp-manager.c
546 - Use those accessors
548 2008-10-26 Dan Williams <dcbw@redhat.com>
550 Patch from Tambet Ingo <tambet@gmail.com>
552 * libnm-util/libnm-util.ver
553 libnm-util/nm-setting-pppoe.c
554 libnm-util/nm-setting-pppoe.h
555 - Make properties private and add accessor functions
557 * src/nm-device-ethernet.c
558 src/ppp-manager/nm-ppp-manager.c
559 - Use those accessors
561 2008-10-26 Dan Williams <dcbw@redhat.com>
563 Patch from Tambet Ingo <tambet@gmail.com>
565 * libnm-util/libnm-util.ver
566 libnm-util/nm-setting-wired.c
567 libnm-util/nm-setting-wired.h
568 - Make properties private and add accessor functions
570 * src/nm-device-ethernet.c
571 system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
572 system-settings/plugins/ifcfg-suse/parser.c
573 system-settings/src/main.c
574 - Use those accessors
576 2008-10-26 Dan Williams <dcbw@redhat.com>
578 Patch from Tambet Ingo <tambet@gmail.com>
580 * libnm-util/libnm-util.ver
581 libnm-util/nm-setting-serial.c
582 libnm-util/nm-setting-serial.h
583 src/nm-serial-device.c
584 - Make properties private and use accessors instead
586 2008-10-26 Dan Williams <dcbw@redhat.com>
588 * src/supplicant-manager/nm-supplicant-interface.c
589 src/supplicant-manager/nm-supplicant-interface.h
590 src/supplicant-manager/nm-supplicant-manager.c
591 src/supplicant-manager/nm-supplicant-manager.h
592 - Add state-to-string conversion functions
594 * src/nm-device-wifi.c
595 src/nm-device-ethernet.c
596 - Normalize state info logging and use strings instead of numbers
598 2008-10-26 Dan Williams <dcbw@redhat.com>
600 * src/NetworkManagerPolicy.c
601 - (update_routing_and_dns): ignore host routes when determining whether
602 a VPN connection should own the default route (bgo #552594)
604 2008-10-24 Dan Williams <dcbw@redhat.com>
606 * src/nm-gsm-device.c
607 - (set_apn): remove erroneous spaces in AT+CGDCONT command (Jerone Young)
609 2008-10-23 Dan Williams <dcbw@redhat.com>
611 * src/ppp-manager/nm-ppp-manager.c
612 - (create_pppd_cmd_line): pppd always parses /etc/ppp/options, so always
613 add really important stuff to the command line to ensure that NM
614 overrides /etc/ppp/options (bgo #556781)
616 2008-10-22 Dan Williams <dcbw@redhat.com>
618 * src/NetworkManagerSystem.c
620 - Use the device's IP interface where appropriate (Per Hallsmark)
622 2008-10-22 Dan Williams <dcbw@redhat.com>
624 * src/nm-gsm-device.c
625 - (schedule_automatic_registration_again): use a short timeout here
626 instead of an idle handler to avoid using too much CPU polling for
627 something we should be waiting a bit for anyway
629 2008-10-22 Dan Williams <dcbw@redhat.com>
631 * include/NetworkManager.h
632 introspection/nm-device.xml
633 - Add device state change reason for carrier changes
635 * src/nm-device-ethernet.c
636 - (set_carrier): use the carrier change reason when changing device
637 state in response to carrier changes
639 2008-10-21 Dan Williams <dcbw@redhat.com>
641 * src/NetworkManagerPolicy.c
642 - (update_etc_hosts): don't leak errors, and ensure that
643 g_file_set_contents() gets a valid error placeholder (rh #461933)
645 2008-10-21 Dan Williams <dcbw@redhat.com>
648 - (free_get_settings_info): don't use the DBusGProxy which could be
649 disposed of by the time the function is called
650 - (internal_new_connection_cb): save connection scope
651 - (connection_get_settings_cb): don't replace a connection unless it's
652 actually different from the existing one; fixes an issue where
653 killing the settings service wouldn't deactivate an active connection
654 provided by that settings service, because it was using a connection
655 that had already been replaced in the system or user hash
657 2008-10-21 Dan Williams <dcbw@redhat.com>
659 * src/NetworkManager.c
660 - (main): keep the DHCP manager around since it's a singleton; fixes
661 a use-after-free exposed by r4196 since the DHCP manager singleton
662 variable isn't cleared when the DHCP manager object is finalized
664 2008-10-20 Dan Williams <dcbw@redhat.com>
666 * libnm-util/nm-setting-wireless-security.c
667 - (verify): accept 'none' as a pairwise cipher with Ad-Hoc WPA connections
669 2008-10-20 Dan Williams <dcbw@redhat.com>
671 * src/supplicant-manager/nm-supplicant-config.c
672 - (ADD_STRING_LIST_VAL): don't add empty values to the supplicant config
674 2008-10-20 Dan Williams <dcbw@redhat.com>
676 * src/dhcp-manager/nm-dhcp-manager.c
677 - (nm_dhcp_manager_get): fix mismatched refcount; creating the dhcp
678 manager object already refs it once
679 - (nm_dhcp_manager_cancel_transaction_real): clear freed variables that
680 also get cleaned up by nm_dhcp_device_destroy() to prevent
683 2008-10-20 Dan Williams <dcbw@redhat.com>
686 - (initial_get_connections): use private dbus manager, don't keep
687 ref-ing the singleton. Fixes mismatched refcounts of the dbus
690 2008-10-18 Dan Williams <dcbw@redhat.com>
692 * libnm-glib/nm-settings.c
693 libnm-glib/nm-settings.h
694 - Rename the "get_secrets" virtual function "service_get_secrets" to
695 clarify when it's used; NMExportedConnetion is a base-class for both
696 the client and service side, which is sort of confusing, and
697 get_secrets only makes sense on the service side.
699 * libnm-glib/nm-dbus-connection.c
700 - (get_secrets): remove, unused, and clients need to do extra work to
701 get secrets anyway since the call can block on the remote side
703 * system-settings/plugins/ifupdown/nm-ifupdown-connection.c
704 system-settings/plugins/keyfile/nm-keyfile-connection.c
705 - Fix up for get_secrets -> service_get_secrets
707 2008-10-16 Dan Williams <dcbw@redhat.com>
709 * src/nm-device-wifi.c
710 - (constructor): correctly determine encryption capabilities
712 2008-10-15 Dan Williams <dcbw@redhat.com>
714 * src/nm-device-wifi.c
715 - (wireless_qual_to_percent): fix quality calculation in a fallback case
718 2008-10-15 Dan Williams <dcbw@redhat.com>
720 * src/NetworkManagerSystem.c
721 - (ip4_dest_in_same_subnet): tighter checks on subnet matching,
722 if the ip4_dest is in a smaller subnet contained within a subnet
723 the machine is currently on, the destination is in the same subnet
724 - (nm_system_device_set_ip4_route): move subnet checks to callers
725 - (add_vpn_gateway_route): check if the VPN gateway is in the same
726 subnet as the parent device, and if so, don't add the direct
727 host route via the parent device's gateway (bgo #481620)
728 - (nm_system_apply_ip4_config): check whether the route to be added
729 is contained within a subnet the device is already on
731 2008-10-11 Dan Williams <dcbw@redhat.com>
733 * include/NetworkManager.h
734 introspection/nm-device.xml
735 include/NetworkManagerVPN.h
736 - Add a few more state reasons for the device deactivated state
738 * src/nm-device-interface.c
739 src/nm-device-interface.h
740 - (nm_device_interface_deactivate): add a 'reason' argument
744 - (nm_device_deactivate, nm_device_take_down): add a 'reason' argument
745 - (nm_device_state_changed): pass the state change reason to
746 nm_device_take_down()
747 - (nm_device_set_managed): take a 'reason' argument, and pass it along
748 to the state change function
752 - (remove_one_device, handle_unmanaged_devices, sync_devices,
753 impl_manager_sleep): pass a reason code to nm_device_set_managed()
754 - (nm_manager_deactivate_connection): add a 'reason' argument and pass
755 something reasonable along to VPN deactivation
757 * src/vpn-manager/nm-vpn-manager.c
758 src/vpn-manager/nm-vpn-manager.h
759 - (nm_vpn_manager_deactivate_connection): add a 'reason' argument and
760 pass that along to nm_vpn_connection_disconnect()
762 2008-10-11 Dan Williams <dcbw@redhat.com>
764 * src/nm-device-wifi.c
765 - (can_scan): remove old madwifi hack for not scanning while connected
767 2008-10-11 Dan Williams <dcbw@redhat.com>
769 Add support for VPN subnet gateways (bgo #549196)
771 * include/NetworkManager.h
772 - Add key for internal VPN subnet gateway
774 * src/vpn-manager/nm-vpn-connection.c
775 - (ip_address_to_string): return a const from a static buffer so we
776 don't leak a lot of strings
777 - (print_vpn_config): print internal VPN gateway as well
778 - (nm_vpn_connection_ip4_config_get): grab internal VPN gateway from
780 - (nm_vpn_connection_get_ip4_internal_gateway): new function
782 * src/NetworkManagerSystem.c
783 src/NetworkManagerSystem.h
784 - (nm_system_device_replace_default_ip4_route): split into two, one for
785 VPN connections and one for normal devices
786 - (replace_default_ip4_route): break out route stuff into its own function
787 - (nm_system_replace_default_ip4_route_vpn,
788 nm_system_replace_default_ip4_route): simplify by having two cases,
789 one for VPNs and one for normal devices
791 * src/NetworkManagerPolicy.c
792 - (update_routing_and_dns): simplify, use split default route replacement
795 2008-10-10 Dan Williams <dcbw@redhat.com>
797 Rework default route handling to consolidate decisions in the policy,
798 and to take active VPN connections into account when changing the default
801 * src/NetworkManager.c
802 - (main): pass the vpn_manager to the policy so it knows about active
803 VPN connections; clean up the named manager which wasn't done before
805 * src/NetworkManagerPolicy.c
806 src/NetworkManagerPolicy.h
807 - (nm_policy_new): get a clue about the vpn_manager
808 - (update_default_route): remove, fold into update_routing_and_dns()
809 - (update_routing_and_dns): handle active VPN connections too; an
810 active VPN connection becomes the default route if it does not have
811 server-specified or user-specified custom routes. Otherwise, the
812 best active device gets the default route
813 - (vpn_connection_activated, vpn_connection_deactivated, nm_policy_new,
814 nm_policy_destroy): track VPN connection activation and deactivation
815 and update the default route when appropriate
817 * src/NetworkManagerSystem.c
818 src/NetworkManagerSystem.h
819 - (nm_system_vpn_device_unset_from_ip4_config): remove, put functionality
820 in the VPN connection itself
821 - (nm_system_vpn_device_set_from_ip4_config,
822 nm_system_device_set_from_ip4_config): merge together to make
823 nm_system_apply_ip4_config()
824 - (add_vpn_gateway_route): add a route to the VPN's external gateway
825 via the parent device
826 - (nm_system_apply_ip4_config): simplify
827 - (add_ip4_route_to_gateway): new function; add a direct route to the
829 - (nm_system_device_replace_default_ip4_route): simplify, break gateway
830 route stuff out into add_ip4_route_to_gateway() for clarity
833 - (nm_device_set_ip4_config): update for nm_system_apply_ip4_config()
835 * src/vpn-manager/nm-vpn-connection.c
836 src/vpn-manager/nm-vpn-connection.h
837 - (nm_vpn_connection_get_ip4_config, nm_vpn_connection_get_ip_iface,
838 nm_vpn_connection_get_parent_device): add
839 - (nm_vpn_connection_ip4_config_get): make the requirement of a tunnel
841 - (connection_state_changed): update the named manager now that
842 nm_system_vpn_device_unset_from_ip4_config() is gone; do something
845 * src/vpn-manager/nm-vpn-manager.c
846 src/vpn-manager/nm-vpn-manager.h
847 - Add a 'connection-activated' signal
848 - (nm_vpn_manager_get_active_connections): new function; mainly for the
849 policy to find out about active VPN connections
851 2008-10-10 Tambet Ingo <tambet@gmail.com>
853 * src/nm-logging.c (nm_logging_setup): Don't use LOG_CONS when running as
854 a daemon to prevent NM logging spew on console on startup and shutdown (due
855 to dependency loop between NM and syslog).
857 2008-10-10 Alexander Sack <asac@ubuntu.com>
859 Implement managed mode. We bind devices configured in /etc/network/interfaces
860 to their connections by updating wired/wireless setting with the
861 mac address of the device.
863 * system-settings/plugins/ifupdown/plugin.c
864 - (get_net_address_for_udi): implement function to retrieve MAC
865 address of udi from hal in GByteArray format
866 - (bind_device_to_connection): bind mac address of device to
867 wired/wireless system connection
868 - (hal_device_added_cb): call bind_device_to_connection for
869 system connections with a matching interface.name
870 - (hal_device_added_cb): ensure that all code paths
871 properly free the "iface" string.
873 2008-10-10 Alexander Sack <asac@ubuntu.com>
875 Parse nm-system-settings.conf and allow admins to either use managed and unmanaged
876 mode of the ifupdown system config plugin.
878 * system-settings/plugins/ifupdown/plugin.c
879 - (SCPluginIfupdown_init): parse nm-system-settings.conf keyfile and set
880 private unmanage_well_known state field accordingly
882 2008-10-10 Alexander Sack <asac@ubuntu.com>
884 Implement unmanaged mode that will prevent all devices in the
885 well_known_udis set from being touched by NetworkManager
887 * system-settings/plugins/ifupdown/plugin.c
888 - (typedef struct SCPluginIfupdownPrivate): add gboolean
889 unmanage_well_known field used to turn on/off unmanaged
891 - (hal_device_added_cb,hal_device_remove_cb): emit |unmanaged-devices-changed|
892 signal when well_known_udis get added/removed
893 - (SCPluginIfupdown_get_unmanaged_devices): return all well_known_udis
894 if we are in unmanaged mode
896 2008-10-10 Alexander Sack <asac@ubuntu.com>
898 Add support to track network devices that have a configuration
899 with a matching interface.name in /etc/network/interfaces
901 * system-settings/plugins/ifupdown/plugin.c
902 - (typedef struct SCPluginIfupdownPrivate): add hash table
903 to track |well_known_udis|
904 - (get_iface_for_udi): helper function to get interface.name
906 - (hal_device_added_cb, hal_device_removed_cb): callbacks
907 that add and remove devices to and from the well_known_udis
908 set depending on whether their |interface.name| matches
909 any interface definition in /etc/network/interfaces
910 - (SCPluginIfupdown_init): connect callbacks from above with
911 hal_mgr and setup well_known_udis hashtable
912 - (GObject__dispose): destroy well_known_udis hashtable
913 - (hal_device_added_cb2): implement wrapper callback with GFunc
914 signature. user_data is supposed to be a triple (hal_mgr,
916 - (SCPluginIfupdown_init): bootstrap wired and wifi devices for
917 startup and call hal_device_added_cb2
919 2008-10-10 Alexander Sack <asac@ubuntu.com>
921 Remove implementation for not used NMSystemConfigInterface callback functions
924 * system-settings/plugins/ifupdown/plugin.c
925 - (SCPluginIfupdown_unmanaged_devices_changed): removed
926 - (SCPluginIfupdown_connection_added): removed
928 2008-10-08 Dan Williams <dcbw@redhat.com>
930 Add a 'hostname' dispatcher action triggered on hostname changes (bgo #552983)
932 * src/NetworkManagerUtils.c
933 - (nm_utils_call_dispatcher): add a 'hostname' action
935 * src/NetworkManagerPolicy.c
936 - (set_system_hostname): dispatch hostname changes
938 * callouts/nm-dispatcher-action.c
939 - (nm_dispatcher_action): handle 'hostname' actions
941 2008-10-08 Dan Williams <dcbw@redhat.com>
943 * src/NetworkManagerSystem.c
944 - (find_route): ref the route so it doesn't get destroyed when the cache
946 - (nm_system_device_set_priority): unref the route here after it's done
949 2008-10-08 Dan Williams <dcbw@redhat.com>
951 * src/nm-serial-device.c
952 - Turn on serial debugging when NM_SERIAL_DEBUG is set in the environment
954 2008-10-08 Tambet Ingo <tambet@gmail.com>
956 * system-settings/plugins/keyfile/nm-keyfile-connection.c (update): Update the
957 connection with new settings before saving it.
959 2008-10-06 Dan Williams <dcbw@redhat.com>
961 * src/nm-ip4-config.c
963 - nm_ip4_config_is_exported -> nm_ip4_config_get_dbus_path
965 * src/nm-device-interface.c
966 - (nm_device_interface_init): make 'ip4-config' a boxed property of type
967 DBUS_TYPE_G_OBJECT_PATH so that we can make it NULL when we need to
968 by using '/' for the object path
971 - (src/nm-device.c): marshal missing/unexported ip4-config through
972 dbus as '/' since dbus-glib can't handle NULL objects nor can
973 dbus handle NULL object paths
975 2008-10-03 Alexander Sack <asac@ubuntu.com>
977 Implement system hostname support for debian/ubuntu
979 * system-settings/plugins/ifupdown/plugin.c
980 - (GObject__get_property): extend announced capabilities; add
981 NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME support
982 - (GObject__set_property,write_system_hostname): implement
983 NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME capability.
984 - (GObject__set_property, GObject__get_property, SCPluginIfupdown_init,
985 update_system_hostname, get_hostname):
986 implement hostname property that watches and
989 2008-10-03 Alexander Sack <asac@ubuntu.com>
991 * system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
992 system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
993 system-settings/plugins/ifcfg-fedora/Makefile.am
994 system-settings/src/nm-inotify-helper.c
995 system-settings/src/nm-inotify-helper.h
997 - Move ifcfg-fedora inotify helpers to the system settings service so
998 they are available to all plugins
1000 2008-10-03 Alexander Sack <asac@ubuntu.com>
1002 Implement support for wep-tx-keyidx in ifupdown system
1005 * system-settings/plugins/ifupdown/parser.c
1006 - (update_wireless_security_setting_from_if_block): introduce
1007 free_type_mapping func table; rename a few local
1008 variables to improve readability; add wpa security mapping
1009 for wep-tx-keyidx property
1010 - (string_to_gpointerint): new function used for the auto_type_mapping
1011 of new wep-tx-keyidx property
1012 - (slist_free_all): free func used for mapped slist types
1014 2008-10-03 Alexander Sack <asac@ubuntu.com>
1016 * system-settings/src/main.c:
1017 - (add_default_dhcp_connection, device_removed_cb): ensure the UDI is
1018 always used as the hash key; fixes a crash when removing wired
1021 2008-10-02 Dan Williams <dcbw@redhat.com>
1023 * src/nm-gsm-device.c
1024 - (enter_pin_done, enter_pin, check_pin_done, real_act_stage1_prepare):
1025 pass the required GSM secret along via user_data rather than keeping
1026 it around in the private data where it sometimes didn't get cleared
1027 - (real_get_ppp_name): implement using the GSM username
1029 2008-10-02 Dan Williams <dcbw@redhat.com>
1031 * src/ppp-manager/nm-ppp-manager.c
1032 src/ppp-manager/nm-ppp-manager.h
1033 - (impl_ppp_manager_need_secrets): tries secrets twice before asking
1034 the settings daemon for completely new ones
1035 - (create_pppd_cmd_line): new parameter 'ppp_name' used to set the
1036 local PPP peer name; allow PPP debuging by launching NM with
1037 the environment variable NM_PPP_DEBUG defined
1038 - (nm_ppp_manager_start): new parameter 'ppp_name' passed to
1039 create_pppd_cmd_line()
1041 * src/nm-serial-device.c
1042 src/nm-serial-device.h
1043 - New 'get_ppp_name' function for subclasses to implement to return the
1045 - (real_act_stage2_config): call 'get_ppp_name' function of subclasses
1046 and pass that name to the PPP manager
1048 * src/nm-device-ethernet.c
1049 - (pppoe_stage2_config): pass the PPPoE username to the PPP manager as
1052 * src/nm-cdma-device.c
1053 - (real_get_ppp_name): implement using the CDMA username
1055 2008-10-02 Dan Williams <dcbw@redhat.com>
1057 Patch from Alexander Sack <asac ubuntu com>
1059 * system-settings/plugins/ifupdown/parser.c
1060 - Implement more graceful ip4 config parsing for cases where
1061 /etc/network/interfaces omits basic ip4 settings, such as gateway etc
1062 by using default values
1064 2008-10-02 Dan Williams <dcbw@redhat.com>
1066 * src/NetworkManagerPolicy.c
1067 - (device_state_changed): when marking a connection invalid, clear its
1068 secrets too so that fresh secrets get requested the next time
1070 2008-10-01 Dan Williams <dcbw@redhat.com>
1072 * system-settings/src/dbus-settings.c
1073 - (nm_sysconfig_settings_init): cache system hostname on startup as
1074 a fallback if no plugin provides a hostname
1075 - (get_property): fall back to cached hostname if no plugin provides
1078 2008-10-01 Dan Williams <dcbw@redhat.com>
1080 Fix setting value comparison issue that caused some settings to look the
1081 same when they were really different (rh #464417)
1083 * libnm-util/nm-param-spec-specialized.c
1084 - (type_is_fixed_size): return fundamental size of the fixed type too
1085 - (nm_gvalues_compare_collection): use the fundamental fixed type size
1086 in the comparison so that the _entire_ fixed type collection gets
1087 compared rather than just the first 'len1' bytes
1089 2008-09-30 Dan Williams <dcbw@redhat.com>
1091 * src/NetworkManagerPolicy.c
1092 - (lookup_thread_worker): don't store the idle handler ID becuase the
1093 idle handler could have already run and freed the LookupThread
1096 2008-09-30 Tambet Ingo <tambet@gmail.com>
1098 * src/nm-device.c (nm_device_get_priority): Implement.
1099 (nm_device_set_ip4_config): Send the device priority to system ip4
1102 * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config):
1103 Add priority argument and if it's >= 0, set the priority of the network
1104 route added automatically by netlink (or kernel?).
1105 (nm_system_device_set_priority): Implement.
1107 * src/NetworkManagerPolicy.c (get_best_device): Use
1108 nm_device_get_priority() instead of home-grown version. Revert the
1109 meaning, best priority is the lowest one.
1111 2008-09-29 Dan Williams <dcbw@redhat.com>
1113 Handle ipw3945 suspend/resume by retrying the GIWRANGE request a few times
1114 when it returns EAGAIN (rh #362421)
1116 * src/nm-device-wifi.c
1117 - (wireless_get_range): try GIWRANGE a few times until the card responds
1118 - (real_get_generic_capabilities, constructor): use wireless_get_range()
1120 2008-09-28 Dan Williams <dcbw@redhat.com>
1122 * src/nm-serial-device.c
1123 src/nm-serial-device.h
1124 - (nm_serial_device_close): stop PPP manager here so that PPP gets
1125 cleaned at the right times when subclasses close the serial port too
1126 - (nm_serial_device_send_command): use a default send delay; don't
1127 spin forever on EAGAIN
1128 - (get_reply_done, get_reply_got_data, nm_serial_device_get_reply):
1129 remove, no longer used
1130 - (find_response): return the matched response if any
1131 - (nm_serial_device_wait_reply_blocking): wait for a reply but block
1133 - (wait_for_reply_done): pass the matched response to the callback
1134 - (wait_for_reply_got_data): save the matched response; simplify timeout
1136 - (nm_serial_device_wait_for_reply): make 'responses' and 'terminators'
1137 const since they never get modified
1138 - (cleanup_device): split out common cleanup stuff to a new function
1139 - (real_deactivate_quickly, finalize): use cleanup_device()
1141 * src/nm-gsm-device.c
1142 - (modem_get_reply): remove, unused
1143 - (set_apn): give the card a bit more time to respond
1144 - (manual_registration_again, schedule_manual_registration_again,
1145 manual_registration_response, manual_registration): handle manual
1146 registration timeouts better by retrying registration a few times
1147 because cards are a bit slow after CFUN=1
1148 - (automatic_registration_get_network, get_network_response): use
1149 modem_wait_for_reply() because it interacts better with the serial
1150 buffer and does more intelligent matching; need to wait for 'OK'
1151 rather than just matching terminators
1152 - (schedule_automatic_registration_again,
1153 automatic_registration_response, automatic_registration): retry
1154 registration a few times on timeout or "searching" because cards
1155 take a bit to find a network after being powered up with CFUN=1
1156 - (power_up_response, power_up, init_full_done, enter_pin,
1157 check_pin_done): power up the card with CFUN=1 before trying to
1158 register with the network
1159 - (init_modem_full, init_modem): use more standard 3G init strings
1161 * src/nm-hso-gsm-device.c
1162 - (modem_get_reply): remove, unused
1163 - (hso_ip4_config_response, real_act_stage3_ip_config_start): use
1164 modem_wait_for_reply() to match actual responses instead of single
1165 termination characters; it doesn't leave stuff in the serial buffer
1166 that might confuse later calls
1167 - (real_deactivate_quickly): use nm_serial_device_wait_reply_blocking()
1168 to ensure that the call is really disconnected and not leave extra
1169 stuff in the serial buffer
1171 * src/nm-cdma-device.c
1172 - (power_up_response, power_up, init_done): try Sierra-style modem
1173 power up before attempting to connect
1175 2008-09-27 Dan Williams <dcbw@redhat.com>
1177 * libnm-util/nm-setting-gsm.c
1178 - (verify): verify GSM network ID
1180 2008-09-25 Dan Williams <dcbw@redhat.com>
1182 * libnm-util/nm-setting-gsm.c
1183 libnm-util/nm-setting-gsm.h
1184 - Fix up NM_GSM_NETWORK_* constants to accurately reflect the network
1185 technology terms (bgo #551361)
1187 2008-09-25 Dan Williams <dcbw@redhat.com>
1189 Fix bgo #549401 (inspired by patch from Alexander Sack)
1191 * src/nm-device-ethernet.c
1192 - (finish_supplicant_task): clean up scheduled tasks and free memory
1193 - (remove_supplicant_interface_error_handler): remove the supplicant
1194 error idle callback too
1195 - (supplicant_interface_release): rename from supplicant_interface_clean
1196 to match nm-device-wifi.c; clean up supplicant interface-related
1197 state tasks when the supplicant interface is disposed of
1198 - (schedule_state_handler): add scheduled tasks to a list so they can
1200 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
1201 supplicant_iface_connection_state_cb_handler): use
1202 finish_supplicant_task() to clean up each completed task
1203 - (supplicant_iface_connection_error_cb_handler,
1204 supplicant_connection_timeout_cb): clear source id when the task is
1206 - (supplicant_iface_connection_error_cb): save scheduled task id for
1208 - (nm_device_ethernet_dispose): clean up any pending supplicant state
1211 * src/nm-device-wifi.c
1212 - (finish_supplicant_task): clean up scheduled tasks and free memory
1213 - (remove_supplicant_interface_error_handler): remove the supplicant
1214 error idle callback too
1215 - (supplicant_interface_release): clean up supplicant interface-related
1216 state tasks when the supplicant interface is disposed of
1217 - (schedule_state_handler): add scheduled tasks to a list so they can
1219 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
1220 supplicant_iface_connection_state_cb_handler): use
1221 finish_supplicant_task() to clean up each completed task
1222 - (supplicant_iface_connection_error_cb_handler): clear source id when
1223 the task is complete
1224 - (supplicant_iface_connection_error_cb): save scheduled task id for
1226 - (nm_device_wifi_dispose): clean up any pending supplicant state tasks
1228 2008-09-24 Tambet Ingo <tambet@gmail.com>
1230 * system-settings/plugins/keyfile/plugin.c: Implement unmanaged_devices
1231 method and get/set hostname property.
1233 2008-09-24 Tambet Ingo <tambet@gmail.com>
1235 * src/supplicant-manager/nm-supplicant-interface.c
1236 (nm_supplicant_interface_disconnect): Don't increment the reference
1237 count when disconnecting. The problem is on shutdown, when the replies
1238 to these commands do not arrive before NM exits, resulting on never
1239 calling supplicant interface's dispose(), which removes the interface
1242 2008-09-24 Tambet Ingo <tambet@gmail.com>
1244 * libnm-glib/nm-vpn-plugin-ui-interface.c: Add type checking to
1245 all the public function arguments.
1247 2008-09-22 Tambet Ingo <tambet@gmail.com>
1249 * src/vpn-manager/nm-vpn-connection.c: Add a signal handler for the
1250 "Failure" signal from VPN plugins, store the failure reason, and
1251 use it when the state is changed to failure.
1253 * introspection/nm-vpn-plugin.xml: Fix the "Failure" signal's type
1256 * include/NetworkManagerVPN.h (NMVPNConnectionStateReason): Add a new
1257 reason to the end of the list to not break the API.
1258 (NMVPNPluginFailure): Move it here (from libnm-glib/nm-vpn-plugin.h)
1259 so it can be shared by plugins and daemon.
1261 2008-09-18 Dan Williams <dcbw@redhat.com>
1263 Patch from Alexander Sack <asac@ubuntu.com>
1266 system-settings/plugins/Makefile.am
1267 system-settings/plugins/ifupdown/Makefile.am
1268 system-settings/plugins/ifupdown/interface_parser.c
1269 system-settings/plugins/ifupdown/interface_parser.h
1270 system-settings/plugins/ifupdown/nm-ifupdown-connection.c
1271 system-settings/plugins/ifupdown/nm-ifupdown-connection.h
1272 system-settings/plugins/ifupdown/parser.c
1273 system-settings/plugins/ifupdown/parser.h
1274 system-settings/plugins/ifupdown/plugin.c
1275 system-settings/plugins/ifupdown/plugin.h
1276 - Implement a Debian/Ubuntu legacy network configuration plugin
1279 2008-09-18 Dan Williams <dcbw@redhat.com>
1281 Implement support for honoring configured and automatic hostnames, and for
1282 setting the configured hostname.
1284 * introspection/nm-ip4-config.xml
1287 src/dhcp-manager/nm-dhcp-manager.c
1288 - Remove useless hostname property; it's not really part of the IPv4
1291 * introspection/nm-settings-system.xml
1292 libnm-glib/nm-dbus-settings-system.c
1293 libnm-glib/nm-dbus-settings-system.h
1294 - Add SetHostname() call to system settings D-Bus interface
1295 - Add Hostname property to system settings D-Bus interface
1296 - (nm_dbus_settings_system_save_hostname,
1297 nm_dbus_settings_system_get_hostname): implement
1301 - (nm_device_get_dhcp4_config): implement
1305 - Fetch and track system settings service hostname changes, and proxy
1306 the changes via a GObject property of the manager
1308 * system-settings/src/nm-system-config-interface.c
1309 system-settings/src/nm-system-config-interface.h
1310 - Replace nm_system_config_interface_supports_add() with a capabilities
1313 * system-settings/src/nm-system-config-error.c
1314 system-settings/src/nm-system-config-error.h
1315 - Add additional errors
1317 * system-settings/src/dbus-settings.c
1318 system-settings/src/dbus-settings.h
1319 - (get_property, nm_sysconfig_settings_class_init): add hostname
1320 property; first plugin returning a hostname wins
1321 - (impl_settings_add_connection): use plugin capabilities instead of
1322 nm_system_config_interface_supports_add()
1323 - (impl_settings_save_hostname): implement hostname saving
1325 * src/NetworkManagerPolicy.c
1326 - (lookup_thread_run_cb, lookup_thread_worker, lookup_thread_new,
1327 lookup_thread_die): implement an asynchronous hostname lookup thread
1328 which given an IPv4 address tries to look up the hostname for that
1329 address with reverse DNS
1330 - (get_best_device): split out best device code from
1331 update_routing_and_dns()
1332 - (update_etc_hosts): update /etc/hosts with the machine's new hostname
1333 to preserve the 127.0.0.1 reverse mapping that so many things require
1334 - (set_system_hostname): set a given hostname
1335 - (update_system_hostname): implement hostname policy; a configured
1336 hostname (from the system settings service) is used if available,
1337 otherwise an automatically determined hostname from DHCP, VPN, etc.
1338 If there was no automatically determined hostname, reverse DNS of
1339 the best device's IP address will be used, and as a last resort the
1340 hostname 'localhost.localdomain' is set.
1341 - (update_routing_and_dns): use get_best_device(); update the system
1342 hostname when the network config changes
1343 - (hostname_changed): update system hostname if the system settings
1344 service signals a hostname change
1345 - (nm_policy_new): list for system settings service hostname changes
1346 - (nm_policy_destroy): ensure that an in-progress hostname lookup thread
1349 * system-settings/plugins/keyfile/plugin.c
1350 system-settings/plugins/ifcfg-suse/plugin.c
1351 - (get_property, sc_plugin_ifcfg_class_init): implement hostname and
1352 capabilities properties
1354 * system-settings/plugins/ifcfg-fedora/shvar.c
1355 - (svOpenFile): re-enable R/W access of ifcfg files since the plugin
1356 writes out /etc/sysconfig/network now
1358 * system-settings/plugins/ifcfg-fedora/plugin.c
1359 - (plugin_get_hostname): get hostname from /etc/sysconfig/network
1360 - (plugin_set_hostname): save hostname to /etc/sysconfig/network
1361 - (sc_network_changed_cb): handle changes to /etc/sysconfig/network
1362 - (sc_plugin_ifcfg_init): monitor /etc/sysconfig/network for changes
1363 - (get_property, set_property, sc_plugin_ifcfg_class_init): implement
1364 hostname get/set and capabilities get
1366 2008-09-18 Dan Williams <dcbw@redhat.com>
1368 * libnm-util/nm-setting-wireless.c
1369 - (nm_setting_wireless_ap_security_compatible): only verify pairwise and
1370 group ciphers if the wireless-security setting explicitly specified
1371 them, effectively making the default be "all ciphers" (idea from
1374 2008-09-15 Dan Williams <dcbw@redhat.com>
1376 Patch from Alexander Sack <asac@ubuntu.com>
1378 * src/named-manager/nm-named-manager.c
1379 - (dispatch_resolvconf): respect resolvconf exit code
1381 2008-09-12 Tambet Ingo <tambet@gmail.com>
1383 * src/named-manager/nm-named-manager.c (dispatch_netconfig): Make it compile
1384 again. Add some debugging.
1386 2008-09-11 Dan Williams <dcbw@redhat.com>
1388 * system-settings/plugins/keyfile/plugin.c
1389 - (update_connection_settings): update connection manually, since
1390 nm_exported_connection_update() does authentication
1391 - (dir_changed): update_connection_settings() doesn't need to return
1394 2008-09-09 Dan Williams <dcbw@redhat.com>
1396 * libnm-glib/nm-vpn-plugin-ui-interface.c
1397 libnm-glib/nm-vpn-plugin-ui-interface.h
1398 libnm-glib/libnm_glib_vpn.ver
1399 - (nm_vpn_plugin_ui_interface_delete_connection): called when the plugin
1400 should clean up resources related to the connection (like keyring
1402 - (nm_vpn_plugin_ui_widget_interface_save_secrets): called when the plugin
1403 should save user-scope secrets (like to the keyring)
1405 2008-09-08 Dan Williams <dcbw@redhat.com>
1407 Patch from Alexander Sack <asac@ubuntu.com>
1409 * libnm-util/crypto_gnutls.c
1410 libnm-util/crypto_nss.c
1411 - (crypto_init, crypto_deinit): just use a boolean instead of a refcount
1413 * libnm-util/nm-utils.c
1414 libnm-util/nm-utils.h
1415 libnm-util/libnm-util.ver
1416 - (nm_utils_init): initialize libnm-util
1417 - (nm_utils_deinit): de-initialize libnm-util and clean up resources
1419 * libnm-util/nm-setting-8021x.c
1420 - (nm_setting_802_1x_class_init): init libnm-util when needed
1422 2008-09-05 Dan Williams <dcbw@redhat.com>
1424 Patch from Roy Marples <roy@marples.name> and others
1427 src/named-manager/nm-named-manager.c
1428 - Add support for resolvconf; use --with-resolvconf at configure time
1431 2008-09-05 Dan Williams <dcbw@redhat.com>
1433 * libnm-util/crypto_nss.c
1434 libnm-util/crypto_gnutls.c
1436 - (crypto_init): return error when init fails
1438 2008-09-05 Dan Williams <dcbw@redhat.com>
1440 * libnm-glib/nm-device-wifi.c
1441 - (access_point_removed_proxy): clean up the active access point too
1442 just in case the active ap changed signal didn't come through yet
1443 - (clean_up_aps): be sure to set priv->active_ap to NULL when cleaning up
1445 2008-09-05 Dan Williams <dcbw@redhat.com>
1447 * libnm-glib/nm-client.c
1448 - (constructor): get initial state after we know whether NM is running
1451 2008-09-05 Dan Williams <dcbw@redhat.com>
1453 * libnm-glib/nm-ip4-config.c
1454 libnm-glib/nm-dhcp4-config.c
1455 - (finalize): clean up the DBusGProxy
1457 2008-09-04 Dan Williams <dcbw@redhat.com>
1459 * src/nm-ip4-config.c
1461 - (nm_ip4_config_new): don't export over D-Bus here
1462 - (nm_ip4_config_export): new function; export the config over D-Bus
1463 - (nm_ip4_config_is_exported): new function
1466 - (nm_device_activate_stage5_ip_config_commit): fix leak of IP4Config
1467 objects by balancing the IP4Config constructor; the device holds
1468 a reference to the IP4Config already
1469 - (nm_device_set_ip4_config): export the IP4Config when needed
1471 2008-09-04 Dan Williams <dcbw@redhat.com>
1473 * src/supplicant-manager/nm-supplicant-settings-verify.c
1474 - Allow WPA-NONE key management for Ad-Hoc WPA connections
1476 2008-09-04 Dan Williams <dcbw@redhat.com>
1478 * libnm-util/nm-setting-vpn.c
1479 libnm-util/nm-setting-vpn.h
1480 - Split VPN secrets from VPN data so that settings services can actually
1481 figure out that they are secrets and store them accordingly
1483 * system-settings/plugins/keyfile/nm-keyfile-connection.c
1484 system-settings/plugins/keyfile/reader.c
1485 system-settings/plugins/keyfile/reader.h
1486 system-settings/plugins/keyfile/writer.c
1487 - Store VPN secrets separately from VPN data so that they can be fetched
1489 - Implement the get_secrets() call so that (a) secrets don't leak out
1490 to unprivileged callers, and (b) secrets can be sent to privileged
1493 * vpn-daemons/vpnc/src/nm-vpnc-service.c
1494 - Handle split VPN secrets
1496 2008-08-27 Dan Williams <dcbw@redhat.com>
1498 * system-settings/plugins/ifcfg-fedora/reader.c
1499 - (make_ip4_setting): use DOMAIN not SEARCH (rh #459370)
1501 2008-08-27 Dan Williams <dcbw@redhat.com>
1503 Ensure zombie children get cleaned up. To get notifications when children
1504 die abnormally, g_spawn_async() requires G_SPAWN_DO_NOT_REAP_CHILD, but
1505 that requires calling waitpid() yourself if you've removed the child watch
1506 handler before the process has actually died, which NM needs to do in a few
1507 places. So ensure that everything uses G_SPAWN_DO_NOT_REAP_CHILD and also
1508 cleans up after the child when required. Should fix problems trying to
1509 activate mobile broadband connections after a previous failure.
1511 * src/dhcp-manager/nm-dhcp-dhclient.c
1512 src/dhcp-manager/nm-dhcp-dhcpcd.c
1513 - Use G_SPAWN_DO_NOT_REAP_CHILD
1515 * src/dhcp-manager/nm-dhcp-manager.c
1516 - (nm_dhcp_device_destroy): ensure child is cleaned up
1517 - (nm_dhcp_client_stop, nm_dhcp_manager_cancel_transaction_real): always
1518 block on child quitting, since the non-blocking functionality was
1521 * src/dnsmasq-manager/nm-dnsmasq-manager.c
1522 - (dm_watch_cb): child is already reaped here
1523 - (ensure_killed, nm_dnsmasq_manager_stop): block until child is dead
1526 - (aipd_cleanup): block until child is dead
1528 * src/named-manager/nm-named-manager.c
1529 - (run_netconfig): don't use G_SPAWN_DO_NOT_REAP_CHILD if we aren't
1530 event bothering to watch the child
1532 * src/ppp-manager/nm-ppp-manager.c
1533 - (ppp_watch_cb): child is already reaped here
1534 - (ensure_killed, nm_ppp_manager_stop): block until child is dead
1536 * src/vpn-manager/nm-vpn-service.c
1537 - (vpn_service_watch_cb): child is already reaped here
1538 - (nm_vpn_service_daemon_exec): use G_SPAWN_DO_NOT_REAP_CHILD so that
1539 status of the child is actually tracked
1540 - (ensure_killed, finalize): block until child is dead
1542 2008-08-26 Dan Williams <dcbw@redhat.com>
1544 * system-settings/plugins/keyfile/nm-keyfile-connection.c
1545 - (update): Update filename of the connection if the connection id
1548 * system-settings/plugins/keyfile/plugin.c
1549 - (dir_changed): first pass at handling connection renames correctly
1551 * system-settings/plugins/keyfile/writer.c
1552 system-settings/plugins/keyfile/writer.h
1553 - (write_connection): replace '/' with '*' when writing out the filename
1554 from the connection id
1556 2008-08-26 Dan Williams <dcbw@redhat.com>
1558 Add connection UUIDs, since connection names can be changed, and since
1559 old-style connection IDs could change over the life of the connection. The
1560 UUID should be assigned at connection creation time, be stable for a given
1561 connection, and should be unique among all connections for a given settings
1565 libnm-util/Makefile.am
1568 * introspection/nm-exported-connection.xml
1569 - Remove "GetID" method
1571 * libnm-glib/nm-dbus-connection.c
1572 libnm-glib/nm-settings.c
1573 libnm-glib/nm-settings.h
1574 - Remove id-related stuff
1576 * libnm-util/nm-utils.c
1577 libnm-util/nm-utils.h
1578 libnm-util/libnm-util.ver
1579 - (nm_utils_uuid_generate, nm_utils_uuid_generate_from_string): Add
1580 utility functions to generate UUIDs
1582 * libnm-util/nm-setting-connection.c
1583 libnm-util/nm-setting-connection.h
1584 - Add 'uuid' member to the connection setting
1585 - (verify): require valid 'uuid' for a valid connection
1587 * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
1588 system-settings/plugins/ifcfg-fedora/reader.c
1589 system-settings/plugins/ifcfg-suse/nm-suse-connection.c
1590 system-settings/plugins/ifcfg-suse/parser.c
1591 system-settings/plugins/keyfile/nm-keyfile-connection.c
1592 system-settings/src/main.c
1593 - Remove id-related stuff
1594 - Give connections UUIDs where needed
1596 2008-08-25 Dan Williams <dcbw@redhat.com>
1598 * libnm-util/crypto_gnutls.c
1599 libnm-util/crypto_nss.c
1600 - (crypto_init, crypto_deinit): refcount init/deinit
1601 - (crypto_md5_hash): allow NULL salt
1603 2008-08-22 Michael Biebl <mbiebl@gmail.com>
1605 * libnm-glib/Makefile.am
1606 libnm-util/Makefile.am
1607 libnm-glib/libnm_glib.ver
1608 libnm-glib/libnm_glib_vpn.ver
1609 libnm-util/libnm-util.ver
1610 - Use linker version scripts to control the list of exported
1611 symbols. List each exported symbol explicitely.
1612 * libnm-util/Makefile.am
1613 - Fix compilation of the test-crypto binary. The crypto
1614 functions are no longer part of the libnm-util API. Add
1615 crypto_*.c to test_crypto_SOURCES and link against the correct
1618 2008-08-19 Dan Williams <dcbw@redhat.com>
1622 - Don't build test/test-common
1623 - Remove unused stuff
1625 * test/nm-set-fallback
1626 test/nmtestdevices.c
1627 test/test-common/.cvsignore
1628 test/test-common/Makefile.am
1629 test/test-common/test-common.c
1630 test/test-common/test-common.h
1633 2008-08-18 Dan Williams <dcbw@redhat.com>
1635 * libnm-util/nm-utils.c
1636 libnm-util/nm-utils.h
1637 - (nm_utils_garray_to_string): remove; NM was the only user and doesn't
1638 export anything that needs to be converted with this function
1640 * src/dhcp-manager/nm-dhcp-manager.c
1641 - (garray_to_string): convert a byte array to a UTF-8 string with
1642 minimal validation; the DHCP client sends it in ASCII anyway
1643 - (get_option, copy_option): use garray_to_string()
1645 2008-08-18 Dan Williams <dcbw@redhat.com>
1647 * include/NetworkManager.h
1648 introspection/nm-device.xml
1649 - Add a "missing firmware" device state reason
1651 * src/NetworkManagerSystem.c
1652 src/NetworkManagerSystem.h
1653 - (nm_system_device_set_up_down): add a no_firmware argument
1654 - (nm_system_device_set_up_down_with_iface): if the result of setting
1655 IFF_UP is ENOENT, that almost always means missing firmware
1657 * src/backends/NetworkManagerGeneric.c
1658 src/nm-device-ethernet.c
1659 src/nm-device-private.h
1660 src/nm-device-wifi.c
1663 src/nm-hso-gsm-device.c
1664 src/vpn-manager/nm-vpn-connection.c
1665 - Pass no_firmware along; check it where appropriate
1667 2008-08-18 Dan Williams <dcbw@redhat.com>
1669 Patch from Robert Buchholz <rbu@gentoo.org>
1673 - Change to automake 1.9 and 'ustar' tar format defined by POSIX
1674 1003.1-1988, allowing for file names longer than 99 characters
1676 2008-08-17 Dan Williams <dcbw@redhat.com>
1678 * include/NetworkManager.h
1679 introspection/nm-device.xml
1681 - Finer-grained GSM registration failure error codes
1683 2008-08-17 Dan Williams <dcbw@redhat.com>
1685 * callouts/Makefile.am
1687 - Move dispatcher directory creation to callouts/Makefile.am
1689 * system-settings/plugins/keyfile/Makefile.am
1690 - Create keyfile connections directory in DESTDIR (bgo #546833)
1692 2008-08-15 Dan Williams <dcbw@redhat.com>
1694 Do connection sharing in a cleaner manner; all required iptables rules
1695 are now stored in the activation request and pertain only to the device
1696 which is being shared to other computers. (rh #458625)
1698 * src/nm-activation-request.c
1699 src/nm-activation-request.h
1700 - (nm_act_request_add_share_rule): new function; add a sharing rule to
1701 the activation request which will get torn down automatically when
1702 the activation request dies
1703 - (nm_act_request_set_shared): push sharing rules to iptables when sharing
1704 is started, and tear them down when sharing is stopped
1707 - (start_sharing): start up sharing by doing the required iptables magic
1708 - (share_init): poke the right bits of the kernel and load the right
1710 - (nm_device_activate_stage5_ip_config_commit): start NAT-ing this
1711 connection if it's a 'shared' connection
1713 * src/NetworkManagerPolicy.c
1714 - Remove all sharing stuff; done in the device code itself
1716 2008-08-15 Dan Williams <dcbw@redhat.com>
1718 * src/dnsmasq-manager/nm-dnsmasq-manager.c
1719 - (create_dm_cmd_line): send the right router address
1721 2008-08-15 Dan Williams <dcbw@redhat.com>
1723 * src/ppp-manager/nm-ppp-manager.c
1724 - (pppd_timed_out): ensure timeouts fail the connection
1726 2008-08-14 Dan Williams <dcbw@redhat.com>
1728 * src/nm-properties-changed-signal.c
1729 src/nm-properties-changed-signal.h
1730 - Add a property spec flag for "don't export this property" in
1731 property changed signals
1733 * src/nm-hso-gsm-device.c
1735 src/nm-cdma-device.c
1736 - Don't export monitor interface or netdev interface properties
1738 2008-08-14 Dan Williams <dcbw@redhat.com>
1740 * src/NetworkManagerPolicy.c
1741 - (update_routing_and_dns): 'hso' devices can be default even if they
1742 don't have a gateway
1744 2008-08-14 Dan Williams <dcbw@redhat.com>
1747 - (nm_device_deactivate_quickly): tear down activation request after
1748 calling device-specific deactivation
1750 * src/nm-hso-gsm-device.c
1751 - (real_deactivate_quickly): terminate connection when deactivating
1753 2008-08-14 Dan Williams <dcbw@redhat.com>
1755 * src/nm-activation-request.h
1756 - Add HSO secrets caller
1758 * src/nm-gsm-device.c
1760 - (modem_wait_for_reply): add a 'user_data' argument so callers can pass
1761 something to the callback function
1762 - (set_apn, set_apn_done): call class dial function, not a static one
1763 - (nm_gsm_device_class_init): add a class 'dial' function
1765 * src/nm-hal-manager.c
1766 - (get_hso_netdev): find the hso-driven hardware's net device
1767 - (modem_device_creator): recognize hso-driven hardware and create the
1768 right type of device object for it
1771 src/nm-hso-gsm-device.c
1772 src/nm-hso-gsm-device.h
1773 - Implement support for devices driven by the 'hso' driver as a subclass
1776 2008-08-14 Dan Williams <dcbw@redhat.com>
1778 * src/NetworkManagerSystem.c
1779 - (nm_system_device_is_up_with_iface): ensure ifreq is cleared before using
1780 - (nm_system_device_set_up_down_with_iface): cleanups; only return
1781 success if the operation really was successful
1783 2008-08-14 Dan Williams <dcbw@redhat.com>
1785 * src/nm-netlink-monitor.c
1786 src/nm-netlink-monitor.h
1787 src/nm-device-ethernet.c
1788 - (nm_netlink_monitor_request_status): return an error on failure
1789 - (constructor): don't segfault on missing error
1791 2008-08-13 Dan Williams <dcbw@redhat.com>
1793 * callouts/nm-dispatcher-action.c
1794 - Add IP4 config info to script environment
1796 2008-08-12 Dan Williams <dcbw@redhat.com>
1799 - (nm_device_set_ip4_config): don't touch hostnames here; distros
1800 that want to use DHCP hostnames should use dispatcher scripts
1803 * src/NetworkManagerSystem.h
1804 src/backends/NetworkManagerArch.c
1805 src/backends/NetworkManagerDebian.c
1806 src/backends/NetworkManagerFrugalware.c
1807 src/backends/NetworkManagerGeneric.c
1808 src/backends/NetworkManagerGeneric.h
1809 src/backends/NetworkManagerGentoo.c
1810 src/backends/NetworkManagerMandriva.c
1811 src/backends/NetworkManagerPaldo.c
1812 src/backends/NetworkManagerRedHat.c
1813 src/backends/NetworkManagerSlackware.c
1814 src/backends/NetworkManagerSuSE.c
1815 - Remove nm_system_set_hostname(), no longer used
1817 * src/backends/Makefile.am
1818 src/backends/shvar.c
1819 src/backends/shvar.h
1820 - Remove shvar.*; no longer used
1822 2008-08-12 Dan Williams <dcbw@redhat.com>
1824 Revert most of the 'hostname' patch. Too much stuff still breaks when
1825 hostname is updated at runtime. Distros or users who want hostname updates
1826 can use dispatcher scripts to update the hostname if they need it.
1828 2008-08-12 Dan Williams <dcbw@redhat.com>
1830 * introspection/nm-settings-system.xml
1831 system-settings/src/dbus-settings.c
1832 system-settings/src/dbus-settings.h
1833 - Add a 'Hostname' property (rw) which represents the configured
1834 hostname and domain of the system, if any
1836 * system-settings/src/nm-system-config-error.c
1837 system-settings/src/nm-system-config-error.h
1838 system-settings/src/nm-system-config-interface.c
1839 system-settings/src/nm-system-config-interface.h
1840 - Add a 'hostname' property to the plugin interface
1841 - Add a method to send updated hostname to plugins to save in their
1842 backing configuration store
1844 * system-settings/plugins/keyfile/nm-keyfile-connection.c
1845 system-settings/plugins/keyfile/plugin.c
1846 system-settings/plugins/keyfile/writer.c
1847 system-settings/plugins/keyfile/writer.h
1848 system-settings/plugins/ifcfg-suse/plugin.c
1849 - Add minimal hostname support
1851 * system-settings/plugins/ifcfg-fedora/plugin.c
1852 - Add support for updating system hostname in /etc/sysconfig/network
1854 2008-08-12 Dan Williams <dcbw@redhat.com>
1856 * system-settings/plugins/ifcfg-fedora/shvar.c
1857 system-settings/plugins/ifcfg-fedora/shvar.c
1858 - Fix double-free caused by svSetValue() followed by svCloseFile()
1860 2008-08-12 Tambet Ingo <tambet@gmail.com>
1862 * Makefile.am: Fix distcheck.
1864 2008-08-12 Tambet Ingo <tambet@gmail.com>
1866 * libnm-glib/*.c. Document some more.
1868 2008-08-12 Tambet Ingo <tambet@gmail.com>
1870 Start documenting libnm-glib public API using gtk-doc.
1872 * libnm-glib/nm-serial-device.c:
1873 * libnm-glib/nm-object.c:
1874 * libnm-glib/nm-gsm-device.c:
1875 * libnm-glib/nm-device.c:
1876 * libnm-glib/nm-device-wifi.c:
1877 * libnm-glib/nm-device-ethernet.c:
1878 * libnm-glib/nm-client.c:
1879 * libnm-glib/nm-cdma-device.c: Document the public API.
1881 * docs/libnm-glib/libnm-glib.types: Implement.
1883 * docs/libnm-glib/Makefile.am: Implement.
1887 * Makefile.am: Add gtk-doc support.
1889 2008-08-12 Tambet Ingo <tambet@gmail.com>
1891 * src/backends/*: Get rid of nm_system_should_modify_resolv_conf().
1893 * src/named-manager/nm-named-manager.c (rewrite_resolv_conf): Calculate
1894 the composite result of all the IP4 configurations and call a distro
1895 specific update_resolv_conf().
1896 (update_resolv_conf): Implement one for directly writing to
1897 /etc/resolv.conf and one for opensuse to call netconfig.
1899 2008-08-11 Dan Williams <dcbw@redhat.com>
1901 * src/ppp-manager/nm-ppp-manager.c
1902 - (impl_ppp_manager_need_secrets): pass interface as required
1904 2008-08-11 Dan Williams <dcbw@redhat.com>
1906 Merge the vpn-properties setting with the vpn setting since it was pointless
1907 to keep both of them around. Convert the vpn 'data' hash table to a hash
1908 of string:string (instead of string:variant) so that system settings plugins
1909 can have an easier time dealing with the arbitrary key/value pairs.
1911 2008-08-11 Dan Williams <dcbw@redhat.com>
1913 * libnm-util/nm-utils.c
1914 - (nm_utils_register_value_transformations): add value transform for
1915 a hash table of string:string
1917 2008-08-10 Dan Williams <dcbw@redhat.com>
1919 * libnm-glib/nm-vpn-plugin.c
1920 - (nm_vpn_plugin_connect): stop plugin after connection failure from
1921 an idle handler so the Connect reply gets delivered before the
1922 stop StateChanged signal
1924 2008-08-10 Dan Williams <dcbw@redhat.com>
1926 * src/nm-ip4-config.c
1927 - (get_property): use common ip4 address/route conversion functions
1928 - (nm_ip4_config_replace_address, nm_ip4_config_replace_route): should
1929 copy the new route here, not take ownership
1931 2008-08-08 Tambet Ingo <tambet@gmail.com>
1933 * system-settings/plugins/ifcfg-suse/parser.c (make_ip4_setting):
1934 Update the IP4 setting's method name.
1936 2008-08-07 Dan Williams <dcbw@redhat.com>
1938 * introspection/nm-ip4-config.xml
1939 libnm-glib/libnm-glib-test.c
1940 libnm-glib/nm-ip4-config.c
1941 libnm-glib/nm-ip4-config.h
1942 src/NetworkManagerSystem.h
1943 src/backends/NetworkManagerArch.c
1944 src/backends/NetworkManagerDebian.c
1945 src/backends/NetworkManagerFrugalware.c
1946 src/backends/NetworkManagerGeneric.c
1947 src/backends/NetworkManagerGeneric.h
1948 src/backends/NetworkManagerGentoo.c
1949 src/backends/NetworkManagerMandriva.c
1950 src/backends/NetworkManagerPaldo.c
1951 src/backends/NetworkManagerRedHat.c
1952 src/backends/NetworkManagerSlackware.c
1953 src/backends/NetworkManagerSuSE.c
1954 src/dhcp-manager/nm-dhcp-manager.c
1958 - Remove NIS logic; should be done from dispatcher scripts instead
1960 2008-08-07 Dan Williams <dcbw@redhat.com>
1962 * src/dhcp-manager/nm-dhcp-manager.c
1963 - (nm_dhcp_manager_get_ip4_config): fix regression which caused
1964 mis-handling of DHCP responses that returned more than one router
1965 (found by Grant Williamson)
1967 2008-08-07 Dan Williams <dcbw@redhat.com>
1969 * callouts/nm-dispatcher-action.c
1970 - (nm_dispatcher_action): grab device path and create the device; pass
1971 the device's DHCP4 config to script caller
1972 - (dispatch_scripts): dump the DHCP4 config to the environment of called
1975 * libnm-glib/nm-dhcp4-config.c
1976 libnm-glib/nm-dhcp4-config.h
1977 - (nm_dhcp4_config_get_options): expose
1978 - (nm_dhcp4_config_get_one_option): renamed from nm_dhcp4_config_get_option
1980 2008-08-07 Dan Williams <dcbw@redhat.com>
1982 * include/NetworkManager.h
1983 - Add the DHCP4Config D-Bus interface
1985 * libnm-glib/Makefile.am
1986 libnm-glib/nm-dhcp4-config.c
1987 libnm-glib/nm-dhcp4-config.h
1988 - Handle DHCP4 config objects exported by NM over D-Bus
1990 * libnm-glib/nm-device.c
1991 libnm-glib/nm-device.h
1992 - Add a 'dhcp4-config' property
1994 * libnm-glib/libnm-glib-test.c
1995 - Print out DHCP4 config for devices
1996 - Fix some crashes when no connections are active
1998 * src/nm-device-interface.c
2000 src/nm-dhcp4-config.c
2001 src/nm-dhcp4-config.h
2002 - Treat dhcp4-config object as an object path at the D-Bus interface so
2003 that when it doesn't exist we can proxy it as "/" which dbus-glib
2004 doesn't let us do when the property type is G_TYPE_OBJECT
2006 2008-08-07 Dan Williams <dcbw@redhat.com>
2008 * src/NetworkManager.c
2009 src/NetworkManagerSystem.h
2010 src/backends/NetworkManagerArch.c
2011 src/backends/NetworkManagerDebian.c
2012 src/backends/NetworkManagerFrugalware.c
2013 src/backends/NetworkManagerGeneric.c
2014 src/backends/NetworkManagerGeneric.h
2015 src/backends/NetworkManagerGentoo.c
2016 src/backends/NetworkManagerMandriva.c
2017 src/backends/NetworkManagerPaldo.c
2018 src/backends/NetworkManagerRedHat.c
2019 src/backends/NetworkManagerSlackware.c
2020 src/backends/NetworkManagerSuSE.c
2021 - (nm_system_init, nm_system_kill_all_dhcp_daemons): remove, unused
2023 2008-08-06 Dan Williams <dcbw@redhat.com>
2025 * libnm-glib/nm-ip4-config.c
2026 libnm-glib/nm-ip4-config.h
2027 - Add 'routes' property
2029 * libnm-util/nm-setting-vpn.c
2030 libnm-util/nm-setting-vpn.h
2031 - Remove 'routes' property
2033 * libnm-util/nm-setting-ip4-config.c
2034 libnm-util/nm-setting-ip4-config.h
2035 - 'ignore-dhcp-dns' renamed to 'ignore-auto-dns'
2036 - Add 'ignore-auto-routes' property
2037 - 'routes' exposed over D-Bus is now an array of array of uint (4) to
2038 accomodate route metrics
2039 - 'routes' exposed in C is now a list of NMSettingIP4Route structures
2041 * libnm-util/nm-utils.c
2042 libnm-util/nm-utils.h
2043 - Add helpers for marshalling IP4 routes
2045 * src/NetworkManagerUtils.c
2046 - (nm_utils_merge_ip4_config): handle property renames and new route
2049 * src/NetworkManagerSystem.c
2050 - (nm_system_device_set_ip4_route, nm_system_device_set_from_ip4_config,
2051 nm_system_vpn_device_set_from_ip4_config): respect route metrics
2053 * src/dhcp-manager/nm-dhcp-manager.c
2054 - (nm_dhcp_manager_get_ip4_config): handle new route structure
2056 * system-settings/plugins/ifcfg-fedora/reader.c
2057 system-settings/plugins/ifcfg-fedora/writer.c
2058 - Handle routes separately from addresses now that routes have a different
2061 * introspection/nm-ip4-config.xml
2064 - Rename internal routing functions
2065 - 'static-routes' renamed to 'routes'
2067 2008-08-04 Dan Williams <dcbw@redhat.com>
2069 Patch from Sjoerd Simons <sjoerd.simons@collabora.co.uk>
2071 * src/NetworkManager.c
2074 - More explicitly make the NMManager a singleton
2076 2008-08-04 Dan Williams <dcbw@redhat.com>
2078 * libnm-util/nm-connection.c
2079 libnm-util/nm-connection.h
2080 - (nm_connection_verify): return error on missing 'connection' setting
2081 (found by Sjoerd Simons)
2083 2008-08-04 Dan Williams <dcbw@redhat.com>
2085 Handle multiple concurrent PPP connections.
2087 * src/ppp-manager/nm-ppp-manager.c
2088 src/ppp-manager/nm-ppp-manager.h
2089 - (constructor): only PPP Manager request bus name once; each
2090 NMPPPManager object gets a unique object path
2091 - (nm_ppp_manager_class_init, get_property, set_property,
2092 nm_ppp_manager_new, nm_ppp_manager_start): pass parent interface in
2094 - (impl_ppp_manager_need_secrets, impl_ppp_manager_set_state): don't
2095 remove timeout until PPP manager gets an IP4 config
2096 - (create_pppd_cmd_line): pass dbus object path as 'ipparam' so that
2097 the plugin can call back to this specific PPP manager instance
2099 * src/nm-device-ethernet.c
2100 src/nm-serial-device.c
2101 - Pass parent device in nm_ppp_manager_new()
2103 * src/nm-gsm-device.c
2104 src/nm-cdma-device.c
2105 - (device_state_changed): don't close serial device on NEED_AUTH
2106 state changed, that's not a failure case like the rest are
2108 * src/ppp-manager/nm-pppd-plugin.c
2109 - (nm_ip_up): always use index 0 into the ipcp options, because NM always
2110 binds one interface to any pppd process, thus the correct index
2111 is always 0; send PHASE_DEAD on error to alert NM immediately of
2112 problems; try harder to get a peer address in spite of pppd
2113 - (plugin_init): use 'ipparam' as the object path back to our specific
2114 PPP manager instance
2116 2008-08-04 Dan Williams <dcbw@redhat.com>
2118 * src/ppp-manager/nm-ppp-manager.c
2119 - (impl_ppp_manager_need_secrets): rework to handle secrets better;
2120 since the GSM and CDMA settings now implement need_secrets, we can
2121 rely on them to do the right thing. Where secrets are not required,
2122 just pass empty strings back to the pppd plugin.
2123 - (nm_ppp_manager_update_secrets): leak fix; don't need to dup the strings
2124 - (impl_ppp_manager_set_ip4_config): clear the secrets tries counter
2125 on successful IP4 config receipt
2127 2008-08-04 Dan Williams <dcbw@redhat.com>
2129 * libnm-util/nm-setting-cdma.c
2130 libnm-util/nm-setting-gsm.c
2131 - (verify): validate username & password if they exist
2132 - (need_secrets): if username given, require a password too
2134 2008-08-04 Dan Williams <dcbw@redhat.com>
2136 * src/dnsmasq-manager/nm-dnsmasq-manager.c
2137 - (create_dm_cmd_line): really don't listen on lo, despite what the
2138 manpage says about --listen-address without --interface
2141 2008-08-01 Dan Williams <dcbw@redhat.com>
2143 * libnm-glib/nm-device.c
2144 - (proxy_get_string): util function for querying a HAL property
2145 - (get_ancestor_device): split out from get_product_and_vendor()
2146 - (get_product_and_vendor): simplify; get more accurate pid & vid info
2147 from PCI devices by querying subsys properties
2148 - (nm_device_update_description): simplify
2150 2008-08-01 Dan Williams <dcbw@redhat.com>
2152 * libnm-util/nm-setting-ip4-config.c
2153 libnm-util/nm-setting-ip4-config.h
2154 - Make IPv4 methods reflect their usage; 'dhcp' -> 'auto' and
2155 'autoip' -> 'link-local'. VPN & PPP connections can also have IPv4
2156 settings, and they don't necessarily use DHCP.
2158 * src/NetworkManagerPolicy.c
2160 system-settings/plugins/ifcfg-fedora/reader.c
2161 system-settings/plugins/ifcfg-suse/parser.c
2162 - Fixup for method changes
2164 2008-07-31 Dan Williams <dcbw@redhat.com>
2166 * src/nm-activation-request.c
2167 src/vpn-manager/nm-vpn-connection.c
2168 - Correct GetSecrets D-Bus pending call usage; the GetSecrets call
2169 itself should be attached to the activation request or the VPN
2170 connection, not the NMConnection object, since the call is not
2171 expected to live as long as the NMConnection itself
2173 2008-07-31 Dan Williams <dcbw@redhat.com>
2175 * src/nm-device-wifi.c
2176 - (real_act_stage2_config): fix issue where association would continue
2177 even though secrets were needed; 'goto out' was in wrong scope and
2178 result of handle_auth_or_fail() should have been dumped directly to
2179 'ret' to ensure that the association was postponed until secrets
2182 2008-07-31 Dan Williams <dcbw@redhat.com>
2184 * system-settings/plugins/ifcfg-fedora/plugin.c
2185 system-settings/plugins/ifcfg-fedora/reader.c
2186 - Don't ignore unmanaged devices if their ifcfg file doesn't make a
2189 2008-07-29 Dan Williams <dcbw@redhat.com>
2191 * src/nm-gsm-device.c
2192 - (automatic_registration_response, automatic_registration): recognize
2193 denied registration and reorder responses
2195 2008-07-29 Dan Williams <dcbw@redhat.com>
2197 * src/nm-serial-device.c
2198 - (nm_serial_device_wait_for_reply): fix timeout calculation. Since
2199 time(2) is used for current time, which returns seconds, we shouldn't
2200 be multiplying by 1000.
2202 2008-07-28 Dan Williams <dcbw@redhat.com>
2204 Patch from Fabrice Bellet <fabrice@bellet.info>
2206 * src/NetworkManagerSystem.c
2207 - (route_in_same_subnet): mask addresses and compare them so that the
2208 function actually does what it says it's going to do (rh #456685)
2210 2008-07-27 Dan Williams <dcbw@redhat.com>
2212 * libnm-util/nm-setting-ip6-config.c
2213 - (set_property): add missing break that caused routes to be overwritten
2216 * libnm-util/nm-setting-ip6-config.c
2217 - (verify): validate routes and return GError everywhere on invalid setting
2218 - (finalize): don't leak routes
2219 - (set_property): add missing break that caused routes to be overwritten
2222 2008-07-27 Dan Williams <dcbw@redhat.com>
2225 - Relicense to LGPLv2+
2227 2008-07-27 Dan Williams <dcbw@redhat.com>
2229 * system-settings/plugins/ifcfg-fedora/reader.c
2230 - (make_ip4_setting): fix parsing automatic configs
2232 2008-07-27 Dan Williams <dcbw@redhat.com>
2234 * src/dnsmasq-manager/nm-dnsmasq-manager.c
2236 src/ppp-manager/nm-ppp-manager.c
2237 - Ensure child process gets reaped. The child watch function may be
2238 removed from the mainloop before the child gets killed, so we have
2239 to make sure the child is reaped when it's told to die intentionally
2241 2008-07-27 Dan Williams <dcbw@redhat.com>
2243 Patch from Roy Marples <roy@marples.name>
2245 * src/dhcp-manager/nm-dhcp-dhcpcd.c
2246 - (nm_dhcp_client_start): fixup for latest dhcpcd 4.0 RC
2248 2008-07-27 Dan Williams <dcbw@redhat.com>
2250 * src/nm-gsm-device.c
2251 - (init_modem_full): send "ATZ E0" after CPIN, because apparently some
2252 Huawei devices turn echo back on after CPIN (rh #456770)
2254 2008-07-24 Tambet Ingo <tambet@gmail.com>
2256 * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Add
2257 format argument to g_set_error() call.
2259 * src/backends/interface_parser.[ch]: Remove.
2261 * src/backends/Makefile.am: Remove unused files interface_parser.[ch].
2263 2008-07-21 Dan Williams <dcbw@redhat.com>
2265 * src/ppp-manager/nm-ppp-manager.c
2266 - (create_pppd_cmd_line): send 'noipdefault' on non-PPPoE connections
2267 to prevent pppd from picking up some random local address from an
2268 interface that doesn't have anything to do with the one we're
2269 interested in (rh #455348)
2271 2008-07-17 Dan Williams <dcbw@redhat.com>
2273 * libnm-util/nm-utils.c
2274 - (string_to_utf8): general function for conversion to UTF-8 assisted
2276 - (nm_utils_ssid_to_utf8): use string_to_utf8()
2277 - (nm_utils_garray_to_string): ensure returned string is UTF-8 safe
2279 2008-07-17 Dan Williams <dcbw@redhat.com>
2281 * introspection/Makefile.am
2282 introspection/nm-device.xml
2283 introspection/nm-dhcp4-config.xml
2284 - Add bits for the DHCP4Config property of the device, and the DHCP4Config
2286 * src/nm-device-interface.c
2287 src/nm-device-interface.h
2288 - Add the DHCP4Config property
2291 - Keep track of DHCP4 options via a new DHCP4Config property and notify
2292 D-Bus clients when it changes
2294 * src/nm-dhcp4-config.c
2295 src/nm-dhcp4-config.h
2296 - Simple object to store DHCP4 options, export them over D-Bus, and
2297 notify when they change
2299 * src/dhcp-manager/nm-dhcp-manager.c
2300 src/dhcp-manager/nm-dhcp-manager.h
2301 - (nm_dhcp_manager_set_dhcp4_config, copy_dhcp4_config_option): copy and
2302 filter server-returned DHCP options into an NMDHCP4Config object
2304 2008-07-16 Dan Williams <dcbw@redhat.com>
2306 * introspection/nm-device.xml
2307 - Add device state reasons
2309 2008-07-16 Dan Williams <dcbw@redhat.com>
2311 Patch from Roy Marples <roy@marples.name>
2314 - Add --with-dhcp-client option
2316 * src/dhcp-manager/Makefile.am
2317 - pass DHCP_CLIENT_PATH on compile line
2319 * src/dhcp-manager/nm-dhcp-manager.c
2320 src/dhcp-manager/nm-dhcp-manager.h
2321 - Genericize for both dhcpcd and dhclient
2323 * src/dhcp-manager/nm-dhcp-dhclient.c
2324 - Move dhclient stuff out to it's own file from nm-dhcp-manager.c
2326 * src/dhcp-manager/nm-dhcp-dhcpcd.c
2327 - Implement support for dhcpcd too
2329 2008-07-16 Tambet Ingo <tambet@gmail.com>
2331 * system-settings/src/nm-system-config-interface.c
2332 (nm_system_config_interface_supports_add): Implement.
2333 (nm_system_config_interface_add_connection): Return a boolean to notify
2336 * system-settings/src/nm-polkit-helpers.c:
2337 * system-settings/src/nm-polkit-helpers.h: Move error declarations to
2340 * system-settings/src/dbus-settings.c (impl_settings_add_connection):
2341 Return an error when none of the plugins support add or if addition
2342 failed for some reason.
2344 * system-settings/src/nm-system-config-error.h:
2345 * system-settings/src/nm-system-config-error.c: New files, mostly moved
2346 here from nm-polkit-helpers.[ch].
2348 * system-settings/src/Makefile.am: Build new files.
2350 * system-settings/plugins/keyfile/reader.c
2351 (read_array_of_array_of_uint): Make it more general so that it would
2352 work for routes as well.
2354 * system-settings/plugins/keyfile/writer.c
2355 (write_array_of_array_of_uint): Ditto.
2356 Fix the netmask/prefix writing.
2358 * system-settings/plugins/keyfile/plugin.c (add_connection): Return
2359 boolean to notify errors.
2361 * system-settings/plugins/ifcfg-suse/nm-suse-connection.c (update):
2362 Return more specific error.
2365 2008-07-11 Dan Williams <dcbw@redhat.com>
2367 Modify the NMDevice::state-changed signal to include the previous state
2368 and reason. Enables the applet to provide more information why device
2371 2008-07-09 Dan Williams <dcbw@redhat.com>
2373 * callouts/Makefile.am
2374 callouts/nm-avahi-autoipd-action.c
2375 callouts/nm-avahi-autoipd.conf
2376 - avahi-autoipd callout to send options back to NM
2383 src/nm-device-private.h
2385 - Use avahi-autoipd for IPv4LL functionality rather than really crappy
2388 2008-07-07 Dan Williams <dcbw@redhat.com>
2390 * system-settings/plugins/ifcfg-fedora/reader.c
2391 - (make_ip4_setting): handle DHCP_HOSTNAME; fix up prefix support to
2392 handle PREFIX too; clean up
2394 2008-07-07 Dan Williams <dcbw@redhat.com>
2396 Convert to using IPv4 prefixes instead of netmasks.
2398 2008-07-03 Dan Williams <dcbw@redhat.com>
2400 * libnm-util/nm-setting-ip4-config.c
2401 libnm-util/nm-setting-ip4-config.h
2402 - Add properties for DHCP Client Identifier and DHCP Hostname
2404 * src/dhcp-manager/nm-dhcp-manager.c
2405 src/dhcp-manager/nm-dhcp-manager.h
2406 - (nm_dhcp_manager_begin_transaction): take the connection's ip4-config
2407 setting as an argument to pass on to the dhclient config file
2409 - (nm_dhcp_manager_cancel_transaction_real): remove dhclient config when
2411 - (dhclient_run): punt config file handling to create_dhclient_config()
2412 - (create_dhclient_config): create an interface-specific dhclient
2413 config file since there may need to be interface-specific options
2415 - (merge_dhclient_config): merge normal distro dhclient config file and
2416 add options from the connection
2417 - (nm_dhcp_device_new): generate the interface specific dhclient
2418 config file path once
2419 - (nm_dhcp_device_destroy): handle partially initialized objects; free
2420 dhclient config file path
2423 - (real_act_stage3_ip_config_start): pass ip4-config, if any, to the
2424 DHCP manager when starting DHCP
2426 2008-07-02 Dan Williams <dcbw@redhat.com>
2428 * libnm-util/nm-setting-8021x.c
2429 - (verify): allow forcing the PEAP label to 0
2431 2008-07-02 Dan Williams <dcbw@redhat.com>
2433 * introspection/nm-active-connection.xml
2434 introspection/nm-vpn-connection.xml
2435 libnm-glib/nm-active-connection.c
2436 src/nm-activation-request.c
2437 src/nm-active-connection.h
2438 src/vpn-manager/nm-vpn-connection.c
2439 - Remove "SharedServiceName" and "SharedConnection" bits from the D-Bus
2440 and libnm-glib API since sharing didn't get implemented that way
2442 2008-07-02 Dan Williams <dcbw@redhat.com>
2444 * src/nm-device-wifi.c
2445 - (can_scan): don't scan when a shared connection is activated since
2446 that makes drivers mad (causing disconnects); also NM doesn't need
2447 to hedge against disconnects by keeping up-to-date network topology
2448 because the connection originates from the local machine, and thus
2449 there should be no disconnects
2451 2008-07-01 Dan Williams <dcbw@redhat.com>
2453 Fix mobile broadband username/password issues. NM was never requesting
2454 mobile broadband secrets, nor was it passing back the username and password
2457 * marshallers/nm-marshal.list
2458 - Add some new types for activation request objects
2460 * src/nm-activation-request.c
2461 src/nm-activation-request.h
2462 - (get_secrets_cb): pass the caller type in the signal
2463 - (nm_act_request_request_connection_secrets): take a caller type, so
2464 that GetSecrets() reply handlers know who asked for the secrets in
2465 the first place; use secret hints too so the settings service can
2466 figure out exactly what NM wants (ie, PIN or the PPP password)
2468 * src/ppp-manager/nm-ppp-manager.c
2469 src/ppp-manager/nm-ppp-manager.h
2470 - (impl_ppp_manager_need_secrets): nm_connection_need_secrets() won't
2471 detect needed secrets when the secret could be blank, like GSM/CDMA
2472 passwords. So always ask for secrets, and send a hint as to what
2473 secret we really want.
2474 - (nm_ppp_manager_update_secrets): make function more generic by making
2475 the device specific class figure out the username and password, and
2476 accept an error argument to return back over D-Bus
2478 * src/nm-device-wifi.c
2479 - (link_timeout_cb, handle_auth_or_fail): update for changes to
2480 nm_act_request_request_connection_secrets()
2481 - (real_connection_secrets_updated): update for 'caller' changes
2485 - (connection_secrets_updated_cb, connection_secrets_failed_cb): update
2486 for 'caller' changes
2488 * src/nm-device-ethernet.c
2489 - (real_connection_secrets_updated): update for 'caller' changes and
2490 move logic for getting PPPoE username and password here before
2491 calling nm_ppp_manager_update_secrets()
2492 - (link_timeout_cb, handle_auth_or_fail): update for changes to
2493 nm_act_request_request_connection_secrets()
2495 * src/nm-cdma-device.c
2496 - (real_connection_secrets_updated): pass username and password back
2497 to the PPP manager when required
2499 * src/nm-gsm-device.c
2500 - (enter_pin): send the required secret name to the settings service
2501 - (real_connection_secrets_updated): pass username and password back
2502 to the PPP manager when required
2504 2008-06-30 Dan Williams <dcbw@redhat.com>
2506 * src/nm-device-wifi.c
2507 - Consistently use NM_DEVICE_WIFI_GET_PRIVATE instead of self->priv
2509 2008-06-30 Dan Williams <dcbw@redhat.com>
2511 Attempt to fix various issues causing rh #448889. Mainly, to qualify for
2512 the DISCONNECTED state, the device must not be rfkilled _and_ have a valid
2513 priv->supplicant.iface. When either condition is false, the device should
2514 transition back to UNAVAILABLE because it cannot be used.
2516 * src/nm-device-wifi.c
2517 - (constructor): cleanup; connect to supplicant manager here since the
2518 supplicant manager is always around
2519 - (supplicant_interface_acquire): rename from init_supplicant_interface,
2520 ensure the supplicant manager is in the IDLE state
2521 - (supplicant_interface_release): rename from cleanup_supplicant_interface,
2522 cancel any pending scans too
2523 - (real_bring_up): don't set up the supplicnat interface here, because
2524 we need the supplicant interface at times when the device may not
2526 - (real_take_down): just remove the periodic source
2527 - (schedule_scan): ensure a state that would peg the CPU doesn't happen
2528 - (remove_supplicant_interface_connection_error_handler): cleanup; don't
2529 do anything if there's no supplicant interface
2530 - (cleanup_association_attempt): cleanup
2531 - (supplicant_iface_state_cb_handler): request an immediate scan when
2532 the interface enters the READY state; transition to UNAVAILABLE
2533 state when the interface goes down because the device can't be used
2534 without a supplicant interface
2535 - (supplicant_mgr_state_cb_handler): if the supplicant goes away, clean
2536 up and transition to UNAVAILABLE; if the supplicant becomes ready,
2537 acquire the supplicant interface and transition to DISCONNECTED
2538 if the radio isn't killed
2539 - (nm_device_wifi_dispose): move most of device_cleanup() here
2540 - (state_changed_cb): release any existing supplicant interface; if the
2541 radio is enabled then try to acquire a new supplicant interface;
2542 if the radio is enabled and a supplicant interface has been acquired,
2543 we can transition to DISCONNECTED
2544 - (nm_device_wifi_set_enabled): if bringing the hardware up failed,
2545 don't enable the radio, because HAL probably lied to us about the
2546 killswitch being off. If bringing the hardware up worked, then
2547 try to grab a supplicant interface, and if that was successful,
2548 transition to DISCONNECTED
2550 2008-06-30 Dan Williams <dcbw@redhat.com>
2552 * src/supplicant-manager/nm-supplicant-interface.c
2553 - (request_scan_results, nm_supplicant_interface_dispose,
2554 wpas_iface_query_scan_results): cleanup; scan_results_timeout is now
2555 the id of the timeout, not a GSource
2557 2008-06-30 Tambet Ingo <tambet@gmail.com>
2559 * src/backends/NetworkManagerSuSE.c (nm_system_activate_nis): Fix a
2560 bunch of typoes introduced by "Patch from David Cantrell
2561 <dcantrell@redhat.com> and me".
2563 2008-06-30 Tambet Ingo <tambet@gmail.com>
2565 * src/nm-serial-device.c:
2566 * src/nm-gsm-device.c:
2567 * src/nm-cdma-device.c: Move the pending call handling to a common location
2568 in serial device. Handle setting device state to failed in one place as well.
2570 2008-06-29 Dan Williams <dcbw@redhat.com>
2572 * src/nm-hal-manager.c
2573 - Rework killswitch handling to query killswitch status immediately
2574 when the first killswitch is added, so that rfkill state is
2575 known as early as possible
2576 - Also treat failure of GetPower() as rfkill when the dbus method
2577 call times out (but not when the HAL callout returns an error)
2579 2008-06-26 Dan Williams <dcbw@redhat.com>
2581 Patch from David Cantrell <dcantrell@redhat.com> and me
2583 * include/nm-dbus-glib-types.h
2584 - Add IP6 address types
2586 * libnm-util/Makefile.am
2587 libnm-util/nm-setting-ip6-config.c
2588 libnm-util/nm-setting-ip6-config.h
2589 - Add IP6 settings object
2591 * libnm-util/nm-connection.c
2592 - (register_default_settings): register ip6 settings object
2594 * libnm-util/nm-utils.c
2595 libnm-util/nm-utils.h
2596 - (nm_utils_ip6_addresses_from_gvalue, nm_utils_ip6_addresses_to_gvalue,
2597 nm_utils_ip6_dns_from_gvalue, nm_utils_ip6_dns_to_gvalue): add
2598 ip6 address conversion functions
2600 2008-06-26 Dan Williams <dcbw@redhat.com>
2602 Patch from David Cantrell <dcantrell@redhat.com>
2604 * Use inet_ntop() and inet_pton() everwhere and check for errors
2606 2008-06-26 Dan Williams <dcbw@redhat.com>
2608 * Update FSF address in license headers (Michael Biebl <biebl@debian.org>)
2610 2008-06-26 Dan Williams <dcbw@redhat.com>
2612 Patch from Adel Gadllah <adel.gadllah@gmail.com>
2614 * src/nm-device-wifi.c
2615 - (link_timeout_cb): don't ignore disconnects due to scanning
2616 - (supplicant_iface_connection_state_cb_handler): instead, schedule
2617 a longer timeout when scanning; avoids case where supplicant can't
2618 find the AP and just keeps scanning forever but isn't connected
2620 2008-06-26 Dan Williams <dcbw@redhat.com>
2622 Patch from Michael Biebl <biebl@debian.org>
2624 * Clean up build system stuff
2626 2008-06-23 Christian Persch <chpe@gnome.org>
2628 * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.c:
2629 * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.h:
2630 * vpn-daemons/pptp/auth-dialog-general/anonymous-auth-module.c:
2632 * vpn-daemons/pptp/auth-dialog-general/chap-auth-module.c:
2634 * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.c:
2635 * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.h:
2636 * vpn-daemons/pptp/auth-dialog-general/mschapv2-auth-module.c:
2638 * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.c:
2639 * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.h:
2640 * vpn-daemons/pptp/properties/nm-ppp-properties.c: (impl_setup):
2641 * vpn-daemons/pptp/properties/vpnui_impl.c: (impl_get_object):
2642 * vpn-daemons/pptp/properties/vpnui_opt.c:
2643 (vpnui_opt_connect_signals):
2644 * vpn-daemons/pptp/properties/vpnui_opt.h:
2645 * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
2646 * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.h: Don't use
2647 deprecated gtk type macros. Bug #539325.
2649 2008-06-20 Dan Williams <dcbw@redhat.com>
2651 * libnm-glib/nm-vpn-plugin-ui-interface.c
2652 libnm-glib/nm-vpn-plugin-ui-interface.h
2653 - 'validity-changed' -> 'changed' to work better with the connection
2654 editor. Plugin UI widgets should emit 'changed' whenever their
2655 UI values change in a meaningful way.
2656 - (nm_vpn_plugin_ui_widget_interface_update_connection): the
2657 update_connection member now returns validity of the UI widget
2659 2008-06-20 Tambet Ingo <tambet@gmail.com>
2661 * libnm-util/nm-connection.c (nm_connection_duplicate): Implement.
2663 2008-06-17 Dan Williams <dcbw@redhat.com>
2665 * libnm-glib/nm-vpn-plugin-ui-interface.c
2666 libnm-glib/nm-vpn-plugin-ui-interface.h
2667 - Add "desc" property for longer descriptions of the VPN plugin
2669 2008-06-16 Dan Williams <dcbw@redhat.com>
2672 libnm-glib/libnm_glib_vpn.pc.in
2673 - add a .pc file for libnm_glib_vpn
2675 * libnm-glib/nm-vpn-plugin-ui-interface.c
2676 libnm-glib/nm-vpn-plugin-ui-interface.h
2677 - Move the glib/GNOME VPN UI plugin interface into libnm-glib and
2678 rework it substantially
2680 2008-06-12 Dan Williams <dcbw@redhat.com>
2682 Add a GError argument to nm_connection_verify() and nm_setting_verify(),
2683 and add error enums to each NMSetting subclass. Each NMSetting subclass now
2684 returns a descriptive GError when verification fails.
2686 2008-06-11 Dan Williams <dcbw@redhat.com>
2688 Patch from Tambet Ingo <tambet@gmail.com>
2690 * libnm-util/nm-setting-gsm.c
2691 - (verify): validate APN
2693 * src/nm-gsm-device.c
2694 - (manual_registration_done): start setting APN if needed
2695 - (set_apn, set_apn_done): set the APN
2696 - (do_dial): use the APN when dialing
2698 2008-06-11 Dan Williams <dcbw@redhat.com>
2700 * src/NetworkManagerSystem.c
2701 - (nm_system_device_set_ip4_route,
2702 nm_system_device_replace_default_ip4_route): check for the right
2703 return value from rtnl_route_add() to know when to add a gateway
2706 2008-06-11 Dan Williams <dcbw@redhat.com>
2708 * src/NetworkManagerPolicy.c
2709 - do_ipt_cmd -> do_cmd
2710 - (sharing_init): use do_cmd() instead of system()
2712 2008-06-10 Dan Williams <dcbw@redhat.com>
2714 The grand 802-11-wireless rename. Get rid of the 802-11/80211/802_11 bits
2715 and use "wifi" everwhere instead.
2717 2008-06-10 Dan Williams <dcbw@redhat.com>
2719 The grand 802-3-ethernet rename. Get rid of the 802-3/8023/802_3 bits.
2721 2008-06-10 Dan Williams <dcbw@redhat.com>
2723 Patch from Tambet Ingo <tambet@gmail.com>
2725 * src/ppp-manager/nm-ppp-manager.c: Add ppp stats monitoring, signal the
2728 * src/nm-serial-device.c: Monitor "ppp-stats" signals from NMPPPManager. Add
2729 a signal to emit these changes over dbus.
2731 * src/Makefile.am: Genereate nm-serial-device-glue.
2733 * libnm-glib/nm-serial-device.[ch]: Implement.
2735 * libnm-glib/nm-cdma-device.[ch]
2736 libnm-glib/nm-gsm-device.[ch]: Inherit from NMSerialDevice.
2738 * libnm-glib/Makefile.am: Add nm-serial-device.[ch].
2740 * introspection/nm-device-serial.xml: Implement.
2742 * introspection/all.xml: Fix a couple of typos, add nm-device-serial.xml.
2744 * introspection/Makefile.am: Add nm-device-serial.xml.
2746 * include/NetworkManager.h: Add a DBus interface for serial device.
2748 2008-06-10 Dan Williams <dcbw@redhat.com>
2751 - Add TARGET_* define to config.h to distinguish distros
2753 * src/dhcp-manager/nm-dhcp-manager.c
2754 - (dhclient_run): use distro-specific path for dhclient config file
2756 2008-06-09 Dan Williams <dcbw@redhat.com>
2758 * src/dnsmasq-manager/nm-dnsmasq-manager.c
2759 src/dnsmasq-manager/nm-dnsmasq-manager.h
2760 - (create_dm_cmd_line): use the IP4 address of the ip4-config to
2761 calculate the addresses passed to dnsmasq instead of hard-coding
2765 - (nm_device_new_ip4_shared_config): be somewhat dynamic when choosing
2766 IP addresses for shared connections to guard against shared
2767 connection address collisions
2768 - (real_act_stage4_get_ip4_config): handle possible NULL ip4-configs on
2770 - (nm_device_activate_stage5_ip_config_commit): pass ip4-config to
2773 2008-06-09 Dan Williams <dcbw@redhat.com>
2775 * src/NetworkManagerPolicy.c
2776 - (update_routing_and_dns): set the default connection _after_ unsetting
2777 default on all non-default connections so that two connections can
2778 never be default at the same time
2779 - (device_state_changed): start and stop connection sharing when
2781 - (active_connection_default_changed): restart or stop sharing when
2782 the default connection changes to keep shared connections always
2783 NAT-ed through the default connection
2784 - (check_sharing): handle activation/deactivation of shared connections
2785 - (sharing_restart): atom-bomb approach to connection sharing until we
2786 can use libnl; reinit all sharing when the default connection or
2787 shared connections change
2788 - (sharing_init, sharing_stop): evil functions that init and deinit
2791 2008-06-09 Dan Williams <dcbw@redhat.com>
2793 * src/nm-activation-request.c
2794 src/nm-activation-request.h
2795 - (nm_act_request_set_shared, nm_act_request_get_shared,
2796 nm_act_request_get_device): new functions to facilitate connection
2799 2008-06-09 Dan Williams <dcbw@redhat.com>
2802 - (clear_act_request): unset the 'default' property of the activation
2803 request when clearing it to ensure the property changed signal gets
2804 delivered and handled
2806 2008-06-09 Dan Williams <dcbw@redhat.com>
2808 * libnm-glib/nm-device-802-11-wireless.c
2809 - (access_point_removed_proxy): actually unref the AP after removing
2810 it from the device's AP list. Fixes refcounting bug for APs that
2811 caused them to get mixed up in the applet's menu.
2813 2008-06-09 Tambet Ingo <tambet@gmail.com>
2815 * src/dhcp-manager/nm-dhcp-manager.c (finalize): Free private members.
2816 (nm_dhcp_device_destroy): Destroy the device options hash table.
2818 2008-06-06 Dan Williams <dcbw@redhat.com>
2820 * system-settings/src/nm-polkit-helpers.c
2821 - (create_polkit_context): in PolicyKit 0.6, polkit_context_init() will
2822 unref the context if the initialization fails; also avoid spew when
2825 2008-06-06 Dan Williams <dcbw@redhat.com>
2827 Patch from Tambet Ingo <tambet@gmail.com>
2829 * src/NetworkManagerSystem.c
2830 src/NetworkManagerSystem.h
2831 - (nm_system_device_add_ip4_route_via_device_with_iface): remove
2832 - (nm_system_device_set_from_ip4_config): remove unused route_to_iface
2833 - (nm_system_device_set_ip4_route): clean up
2834 - (nm_system_vpn_device_set_from_ip4_config): clean up, add VPN routes
2837 - (nm_device_set_ip4_config): remove unused route_to_iface bits
2839 * src/vpn-manager/nm-vpn-connection.c
2840 - (ip_address_to_string): new function
2841 - (print_vpn_config): use ip_address_to_string
2842 - (merge_vpn_routes): add user-defined routes to the ip4 config
2843 - (nm_vpn_connection_ip4_config_get): add routes the VPN server sent
2845 * include/NetworkManagerVPN.h
2848 2008-06-05 Dan Williams <dcbw@redhat.com>
2850 Patch from Markus Becker <mab@comnets.uni-bremen.de>
2853 - Show which device is the default device
2855 2008-06-05 Tambet Ingo <tambet@gmail.com>
2859 * system-settings/src/nm-system-config-hal-manager.c (get_type_for_udi):
2860 Free data returned from dbus method call.
2862 * system-settings/src/nm-polkit-helpers.c (check_polkit_privileges):
2863 dbus_g_method_get_sender() returns a duplicated string, free it
2865 (check_polkit_privileges): Looks like policykit sometimes returns
2866 error and non-null return value, don't leak errors in that case.
2868 * system-settings/src/main.c (find_plugin): Don't leak existing
2870 (load_stuff): Don't leak device list and list items.
2871 (have_connection_for_device): Don't leak connection list.
2873 * system-settings/plugins/keyfile/reader.c (read_one_setting_value):
2874 Free the data received from g_keyfile_get_*.
2876 * system-settings/plugins/ifcfg-suse/parser.c (READ_WEP_KEY): Free
2877 the key when the security object is updated.
2879 * src/supplicant-manager/nm-supplicant-interface.c (scan_results_cb):
2880 Free data returned from dbus method call.
2881 (iface_state_cb): Ditto.
2882 (add_network_cb): Ditto.
2883 (nm_supplicant_interface_add_cb): Don't make another copy of already
2884 duplicated object path.
2885 (nm_supplicant_interface_add_to_supplicant): Free the driver GValue
2888 * src/supplicant-manager/nm-supplicant-config.c
2889 (ADD_STRING_LIST_VAL): Fix a memory leak.
2891 * src/nm-manager.c (free_get_settings_info): Free the allocated
2893 (list_connections_cb): Free data returned from dbus method call.
2894 (system_settings_get_unmanaged_devices_cb): Ditto.
2896 * src/nm-device-802-11-wireless.c (device_cleanup): Free ssid.
2898 * system-settings/plugins/ifcfg-suse/shvar.c (svCloseFile):
2899 * system-settings/plugins/ifcfg-fedora/shvar.c (svCloseFile):
2900 * src/backends/shvar.c (svCloseFile): Free the duplicated content
2903 * libnm-util/nm-setting.c (nm_setting_from_hash): Free the constructor
2904 arguments after the object is created.
2906 2008-06-04 Dan Williams <dcbw@redhat.com>
2908 * libnm-util/Makefile.am
2909 - Don't distribute nm-param-spec-specialized.h
2911 2008-06-02 Tambet Ingo <tambet@gmail.com>
2913 * libnm-util/nm-setting-ip4-config.[ch]: Add static routes property.
2915 * src/nm-ip4-config.[ch]: Store the static routes as a list of
2916 NMIP4Address, update the getters and setters.
2918 * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
2919 Use the updated NMIP4Config routes api.
2921 * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Merge
2922 static routes as well.
2924 * src/NetworkManagerSystem.c (netmask_to_prefix): Implement.
2925 (nm_system_device_set_from_ip4_config): Use the updated NMIP4Config
2928 2008-05-30 Dan Williams <dcbw@redhat.com>
2930 * src/named-manager/nm-named-manager.c
2931 src/named-manager/nm-named-manager.h
2932 - Remove stale/obsolete bits for controlling bind over DBus
2934 2008-05-29 Dan Williams <dcbw@redhat.com>
2936 * src/dnsmasq-manager/nm-dnsmasq-manager.c
2937 src/dnsmasq-manager/nm-dnsmasq-manager.h
2938 - (nm_dnsmasq_manager_new): move iface argument here
2939 - (constructor): remove, not needed
2940 - (get_pidfile_for_iface, create_dm_cmd_line, kill_existing_for_iface,
2941 nm_dnsmasq_manager_start, nm_dnsmasq_manager_stop): use priv->pidfile
2944 - (real_act_stage4_get_ip4_config,
2945 nm_device_activate_stage5_ip_config_commit): fix for dnsmasq manager
2948 2008-05-29 Dan Williams <dcbw@redhat.com>
2951 - (dnsmasq_state_changed_cb): new function; fail the connection if
2952 something happens to dnsmasq
2953 - (nm_device_new_ip4_shared_config): new function; create a new
2954 ip4-config for shared connections. Shared connections always use a
2955 fixed static IP address.
2956 - (real_act_stage4_get_ip4_config): handle shared connections; fix
2957 autoip connections by actually using the returned ip4-config and
2959 - (nm_device_activate_stage5_ip_config_commit): start dnsmasq for shared
2961 - (nm_device_deactivate_quickly, nm_device_dispose): terminate dnsmasq
2964 2008-05-29 Dan Williams <dcbw@redhat.com>
2966 * src/nm-device-802-11-wireless.c
2967 - (real_get_best_auto_connection): auto-activate 'shared' method
2970 2008-05-29 Dan Williams <dcbw@redhat.com>
2972 * libnm-util/nm-setting-ip4-config.c
2973 libnm-util/nm-setting-ip4-config.h
2974 - Add a 'shared' method to indicate that this connection should be
2975 brought up with a DHCP and proxy DNS server to facilitate
2977 - (verify): 'shared' method doesn't allow DNS or searches either
2979 2008-05-29 Dan Williams <dcbw@redhat.com>
2983 src/dnsmasq-manager/Makefile.am
2984 src/dnsmasq-manager/nm-dnsmasq-manager.c
2985 src/dnsmasq-manager/nm-dnsmasq-manager.h
2986 - Add a dnsmasq daemon manager to facilitate connection sharing
2988 2008-05-29 Dan Williams <dcbw@redhat.com>
2990 * src/nm-device-private.h
2991 - Remove unused prototypes and clean up
2994 - Remove anything related to system_config_data, which is no longer used
2995 - (nm_device_new_ip4_autoip_config): make static
2997 2008-05-29 Tambet Ingo <tambet@gmail.com>
2999 * system-settings/plugins/ifcfg-suse/nm-suse-connection.c
3000 (file_changed): Fix a bug where suse system settings plugin didn't
3001 update the connections automatically when the files changed.
3003 2008-05-28 Dan Williams <dcbw@redhat.com>
3005 Revert r3697 (adhoc-create property patch); it's the wrong way to do this.
3007 2008-05-28 Dan Williams <dcbw@redhat.com>
3009 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3011 * src/NetworkManagerSystem.c
3012 - (nm_system_device_flush_ip4_routes_with_iface): implement with libnl
3013 - (nm_system_vpn_device_set_from_ip4_config): don't flush routes here,
3014 was causing -EINVAL errors since the libnl code actually does flush
3015 the routes on VPN interfaces now
3017 * src/backends/NetworkManagerArch.c
3018 src/backends/NetworkManagerDebian.c
3019 src/backends/NetworkManagerFrugalware.c
3020 src/backends/NetworkManagerGeneric.c
3021 src/backends/NetworkManagerGentoo.c
3022 src/backends/NetworkManagerMandriva.c
3023 src/backends/NetworkManagerPaldo.c
3024 src/backends/NetworkManagerRedHat.c
3025 src/backends/NetworkManagerSlackware.c
3026 src/backends/NetworkManagerSuSE.c
3027 - (nm_system_device_flush_ip4_routes,
3028 nm_system_device_flush_ip4_routes_with_iface): remove
3030 2008-05-28 Dan Williams <dcbw@redhat.com>
3032 * libnm-util/nm-setting-wireless.c
3033 libnm-util/nm-setting-wireless.h
3034 - (set_property, get_property, nm_setting_wireless_class_init): add the
3035 'adhoc-create' property, which when TRUE indicates that NM should
3036 create this connection as an adhoc wifi network if it's not found
3037 as an adhoc network during scanning. Can be used to auto-create
3038 adhoc networks when used in combination with autoconnect.
3040 2008-05-28 Tambet Ingo <tambet@gmail.com>
3042 Patch from Dennis Noordsij <dennis.noordsij@helsinki.fi>.
3044 * src/nm-gsm-device.c: Don't try to reset the modem before PIN is
3045 checked, it doesn't work on some devices.
3047 2008-05-28 Tambet Ingo <tambet@gmail.com>
3049 * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Make sure
3050 pppd gets killed, if SIGTERM doesn't do it's job, SIGKILL it.
3052 * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
3053 Use inet_aton() everywhere to improve error detection.
3054 Don't fall back to 'dhcp_server_identifier' if the gateway is not
3057 2008-05-26 Tambet Ingo <tambet@gmail.com>
3059 * system-settings/plugins/ifcfg-suse/plugin.c (get_unamanged_devices_cb):
3062 2008-05-26 Tambet Ingo <tambet@gmail.com>
3064 * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_get_service): Fix a
3065 reference counting issue.
3067 2008-05-23 Dan Williams <dcbw@redhat.com>
3069 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3071 * src/backends/NetworkManagerGeneric.c
3072 - (nm_generic_enable_loopback): use libnl
3074 2008-05-23 Dan Williams <dcbw@redhat.com>
3076 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3078 * src/NetworkManagerSystem.h
3079 src/backends/NetworkManagerArch.c
3080 src/backends/NetworkManagerDebian.c
3081 src/backends/NetworkManagerFrugalware.c
3082 src/backends/NetworkManagerGentoo.c
3083 src/backends/NetworkManagerMandriva.c
3084 src/backends/NetworkManagerPaldo.c
3085 src/backends/NetworkManagerRedHat.c
3086 src/backends/NetworkManagerSlackware.c
3087 src/backends/NetworkManagerSuSE.c
3088 - (nm_system_device_has_active_routes, nm_system_flush_loopback_routes,
3089 nm_system_flush_arp_cache): remove, unused
3091 * src/backends/NetworkManagerGeneric.c
3092 src/backends/NetworkManagerGeneric.h
3093 - (nm_generic_device_has_active_routes, nm_generic_flush_loopback_routes,
3094 nm_generic_flush_arp_cache): remove, unused
3096 2008-05-23 Dan Williams <dcbw@redhat.com>
3098 * system-settings/plugins/ifcfg-fedora/reader.c
3099 - (make_ip4_setting): honor PEERDNS setting
3101 2008-05-23 Dan Williams <dcbw@redhat.com>
3103 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3105 * src/NetworkManagerSystem.c
3106 - (nm_system_device_flush_ip4_addresses_with_iface): implement with
3109 * src/backends/NetworkManagerArch.c
3110 src/backends/NetworkManagerDebian.c
3111 src/backends/NetworkManagerFrugalware.c
3112 src/backends/NetworkManagerGentoo.c
3113 src/backends/NetworkManagerMandriva.c
3114 src/backends/NetworkManagerPaldo.c
3115 src/backends/NetworkManagerRedHat.c
3116 src/backends/NetworkManagerSlackware.c
3117 src/backends/NetworkManagerSuSE.c
3118 - (nm_system_device_flush_ip4_addresses,
3119 nm_system_device_flush_ip4_addresses_with_iface): remove
3121 * src/backends/NetworkManagerGeneric.c
3122 - (nm_generic_device_flush_ip4_addresses,
3123 nm_generic_device_flush_ip4_addresses_with_iface): remove
3125 2008-05-23 Dan Williams <dcbw@redhat.com>
3127 * src/supplicant-manager/nm-supplicant-settings-verify.c
3128 - Switch 'bssid' from bytes to keyword type
3129 - (validate_type_keyword): allow NULL keyword lists
3131 * src/supplicant-manager/nm-supplicant-config.c
3132 - (nm_supplicant_config_add_setting_wireless): convert the bssid from
3133 a byte array to string form, which is what the supplicant expects
3135 2008-05-23 Tambet Ingo <tambet@gmail.com>
3137 Add a flag to NMSettingIP4Config to make it possible to ignore the DNS
3138 information received from DHCP.
3140 * libnm-util/nm-setting-ip4-config.c: Add a new membet "ignore_dhcp_dns"
3141 to make it possible to ignore the DNS information (both servers and
3142 searches) returned by DHCP server.
3144 * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Reset the
3145 name servers and searches if "ignore_dhcp_dns" is set.
3147 * src/nm-ip4-config.c (nm_ip4_config_reset_nameservers)
3148 (nm_ip4_config_reset_searches): Implement.
3150 2008-05-22 Dan Williams <dcbw@redhat.com>
3152 Remove anything mDNS related. This is better done from a distro-specific
3153 dispatcher script. Plus, any distro using avahi doesn't need to restart
3154 avahi, since avahi can handle interface changes just fine using netlink.
3157 - Remove --with-mdns-provider
3159 * src/NetworkManagerPolicy.c
3160 - (global_state_changed): don't restart the mdns provider
3162 * src/NetworkManagerSystem.h
3163 src/backends/NetworkManagerArch.c
3164 src/backends/NetworkManagerDebian.c
3165 src/backends/NetworkManagerFrugalware.c
3166 src/backends/NetworkManagerGentoo.c
3167 src/backends/NetworkManagerMandriva.c
3168 src/backends/NetworkManagerPaldo.c
3169 src/backends/NetworkManagerRedHat.c
3170 src/backends/NetworkManagerSlackware.c
3171 src/backends/NetworkManagerSuSE.c
3172 - (nm_system_restart_mdns_responder): remove
3174 * src/backends/NetworkManagerGeneric.c
3175 src/backends/NetworkManagerGeneric.h
3176 - (nm_generic_restart_mdns_responder): remove
3178 2008-05-22 Dan Williams <dcbw@redhat.com>
3181 - clean up crypto options; just use --with-crypto=nss or
3182 --with-crypto=gnutls
3184 2008-05-22 Tambet Ingo <tambet@gmail.com>
3186 * src/nm-manager.c (impl_manager_sleep): No need to schedule the sync
3187 anymore, do it right away.
3189 2008-05-22 Tambet Ingo <tambet@gmail.com>
3191 * src/nm-gsm-device.c (device_state_changed): Make sure we don't leave the
3192 serial device open when we're not connecting or connected.
3194 * src/nm-cdma-device.c (device_state_changed): Ditto.
3196 2008-05-22 Tambet Ingo <tambet@gmail.com>
3198 Don't remove all devices on waking up, sync with HAL.
3200 * src/nm-manager.c (nm_manager_udi_is_managed): Implement.
3201 (sync_devices): Implement, based on hal_manager_hal_reappeared_cb.
3202 (hal_manager_hal_reappeared_cb): Just call sync_devices.
3204 2008-05-21 Tambet Ingo <tambet@gmail.com>
3206 * src/NetworkManagerSystem.c (nm_system_device_replace_default_ip4_route):
3207 If the default gateway is unreachable, add a route to gateway and try
3210 2008-05-20 Dan Williams <dcbw@redhat.com>
3212 * system-settings/plugins/ifcfg-fedora/reader.c
3213 - (add_one_wep_key): handle ASCII WEP keys too (rh #293111)
3215 2008-05-19 Dan Williams <dcbw@redhat.com>
3217 * system-settings/plugins/ifcfg-fedora/reader.c
3218 - (make_ip4_setting): get a fallback gateway from /etc/sysconfig/network
3219 if the ifcfg doesn't specify one (rh #446527)
3221 2008-05-19 Dan Williams <dcbw@redhat.com>
3223 Make the system settings service exit when the bus goes away. Since it's
3224 a bus-activated service, it's lifetime is limited to the bus that activated
3227 * system-settings/src/Makefile.am
3228 system-settings/src/nm-system-config-hal-manager-private.h
3229 - Remove nm-system-config-hal-manager-private.h
3231 * system-settings/src/nm-system-config-hal-manager.c
3232 - (nm_system_config_hal_manager_reinit_dbus,
3233 nm_system_config_hal_manager_deinit_dbus): remove
3235 * system-settings/src/main.c
3236 - (dbus_reconnect): remove
3237 - (dbus_cleanup): don't tell the HAL manager to deinit dbus
3238 - (destroy_cb): just quit when the bus goes away
3239 - (start_dbus_service, dbus_init): simplify
3240 - (main): destroy the wired devices hash table after destroying
3241 the HAL manager so we don't have to disconnect signals from the
3244 2008-05-15 Tambet Ingo <tambet@gmail.com>
3246 Move crypto functions from nm-applet to libnm-util.
3248 * libnm-util/nm-setting-8021x.c (nm_setting_802_1x_set_ca_cert)
3249 (nm_setting_802_1x_set_client_cert)
3250 (nm_setting_802_1x_set_phase2_ca_cert)
3251 (nm_setting_802_1x_set_phase2_client_cert)
3252 (nm_setting_802_1x_set_private_key)
3253 (nm_setting_802_1x_set_phase2_private_key): Implement. Given a certificate
3254 file (or private key and it's password), read the certificate data.
3256 * libnm-util/crypto_nss.c:
3257 * libnm-util/crypto_gnutls.c:
3258 * libnm-util/crypto.[ch]: Move here from nm-applet.
3260 * configure.in: Check for NSS and gnutls here (moved here from nm-applet).
3262 * system-settings/plugins/ifcfg-suse/parser.c (read_wpa_eap_settings):
3263 Imlement WPA-EAP configuration reading from sysconfig.
3265 2008-05-16 Dan Williams <dcbw@redhat.com>
3267 * src/nm-device-802-11-wireless.c
3268 - (nm_device_802_11_wireless_set_enabled): request a scan after enabling
3271 2008-05-14 Dan Williams <dcbw@redhat.com>
3273 Fix Linus' bug in rh #134886
3275 * src/nm-device-802-3-ethernet.c
3276 - (constructor): request initial carrier state
3278 * src/nm-netlink-monitor.c
3279 - (nm_netlink_monitor_request_status): schedule emission of carrier
3280 signals after refilling the link cache. Because the refill is a
3281 synchronous operation, the normal message hander won't get called
3282 since libnl has already consumed the messages.
3283 - (deferred_emit_carrier_state): emit carrier states from an idle handler
3285 2008-05-14 Dan Williams <dcbw@redhat.com>
3287 * src/NetworkManagerSystem.c
3288 - (nm_system_device_is_up_with_iface): clean up
3290 2008-05-13 Dan Williams <dcbw@redhat.com>
3292 Fix refcounting issues over sleep/wake when a VPN connection was active that
3293 caused NM to try registering an object path for a device upon wake that was
3294 the same as an already registered object path.
3297 - (nm_device_take_down): properly handle cases where the device is
3298 no longer active but was just active, and therefore must be
3299 deactivated. When a device moves to unmanaged mode, this function
3300 previously would not deactivate the device, because the state was
3301 already unmanaged by the time this function was called.
3303 * src/vpn-manager/nm-vpn-connection.c
3304 - (device_state_changed): properly handle multiple devices states in
3305 which the device is now deactivated. Code previously didn't handle
3306 transitions to the UNAVAILABLE (like rfkill or carrier off) and
3309 2008-05-13 Dan Williams <dcbw@redhat.com>
3311 * src/nm-device-private.h
3313 - (nm_device_hw_bring_up, nm_device_hw_take_down): export
3315 * src/nm-device-802-11-wireless.c
3316 - (nm_device_802_11_wireless_set_enabled): take devices up
3317 and down as appropriate for the rfkill state
3319 2008-05-13 Dan Williams <dcbw@redhat.com>
3321 * marshallers/nm-marshal.list
3322 - Add VOID:POINTER,STRING marshaller for ifcfg-fedora plugin
3324 * system-settings/plugins/ifcfg-fedora/Makefile.am
3325 system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
3326 system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
3327 - Implement a minimal inotify helper for watch paths for IN_CLOSE_WRITE
3328 events. Solely for use watching ifcfg files to pick up changes
3329 to their hardlinks, since GIO doesn't support this yet (bgo #532815)
3331 * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
3332 - (nm_ifcfg_connection_class_init): new 'ifcfg-changed' signal when the
3333 file contents change
3334 - (finalize): clean up inotify watches
3335 - (nm_ifcfg_connection_new): store keyfile; inotify watch the keyfile
3336 and the connection ifcfg for changes on their hardlinks
3337 - (files_changed_cb): proxy the changed signal back out to listeners
3339 * system-settings/plugins/ifcfg-fedora/plugin.c
3341 - (connection_ifcfg_changed): re-read the connection when the ifcfg
3343 - (read_one_connection): connect to change signals on the new connection
3344 - (dir_changed, connection_changed_handler,
3345 handle_connection_remove_or_new): break out connection change
3346 handling and connection new/remove handling so it can be used from
3347 both the GFileMonitor callback and the NMIfcfgConnection changed
3350 * system-settings/plugins/ifcfg-fedora/reader.c
3351 system-settings/plugins/ifcfg-fedora/reader.h
3352 - (connection_from_file): return the keyfile path the connection would use
3354 2008-05-13 Tambet Ingo <tambet@gmail.com>
3356 * system-settings/src/nm-polkit-helpers.c (create_polkit_context): Use a
3357 single PolKitContext which is shared by all. PolKitContext::unref leaks
3358 just about everything, including all open file descriptiors and results
3359 in 99% cpu usage when data arrives to any of the fds that don't belong
3360 to any context anymore.
3362 2008-05-12 Dan Williams <dcbw@redhat.com>
3364 * gfilemonitor/glocaldirectorymonitor.c
3365 gfilemonitor/glocaldirectorymonitor.h
3366 - (g_local_directory_monitor_constructor): actually subscribe to the
3368 - (_g_local_directory_monitor_new): ensure that inotify is started up
3370 * gfilemonitor/glocalfilemonitor.c
3371 gfilemonitor/glocalfilemonitor.h
3372 - (g_local_file_monitor_constructor): actually subscribe to the watch
3373 - (_g_local_file_monitor_new): ensure that inotify is started up
3375 2008-05-11 Dan Williams <dcbw@redhat.com>
3378 - record PolicyKit version
3380 * system-settings/src/nm-polkit-helpers.c
3381 - (check_polkit_privileges): use polkit_context_can_caller_do_action()
3382 with PolicyKit <= 0.6
3384 2008-05-11 Dan Williams <dcbw@redhat.com>
3386 Update Fedora system-settings plugin to support latest API and use
3387 GFileMonitor rather than home-rolled inotify code.
3389 * system-settings/plugins/ifcfg-fedora/Makefile.am
3390 system-settings/plugins/ifcfg-fedora/common.h
3391 system-settings/plugins/ifcfg-fedora/plugin.c
3392 - Update to latest system settings plugin API; use GIO instead of
3393 custom inotify code; use NMIfcfgConnection objects instead of
3394 ConnectionData structures tacked onto NMConnection objects
3396 * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
3397 system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.h
3398 - Implement an NMExportedConnection subclass mapping ifcfg files to
3401 * system-settings/plugins/ifcfg-fedora/reader.c
3402 system-settings/plugins/ifcfg-fedora/reader.h
3403 - Move ifcfg parsing bits here from parser.c
3405 * system-settings/plugins/ifcfg-fedora/parser.c
3406 system-settings/plugins/ifcfg-fedora/parser.h
3407 - Remove; most code moved to reader.c
3409 2008-05-11 Dan Williams <dcbw@redhat.com>
3414 - Add a private copy of the GIO GFileMonitor code, with a custom GFile
3415 implementation, so that the same change monitoring code can be used
3416 on systems without glib-2.14 (like Fedora 8)
3418 * system-settings/plugins/keyfile/Makefile.am
3419 system-settings/plugins/keyfile/plugin.c
3420 system-settings/plugins/ifcfg-suse/Makefile.am
3421 system-settings/plugins/ifcfg-suse/plugin.c
3422 - Use private gfilemonitor code if GIO is not present
3424 2008-05-09 Tambet Ingo <tambet@gmail.com>
3426 * system-settings/plugins/ifcfg-suse/nm-suse-connection.c: Implement
3427 NMExportedConnection's 'update' and 'delete' and return error with
3428 descriptive message.
3430 2008-05-08 Dan Williams <dcbw@redhat.com>
3432 Patch from Markus Becker <mab@comnets.uni-bremen.de>
3434 * src/nm-gsm-device.c
3435 src/nm-cdma-device.c
3436 - (real_get_best_auto_connection): implement; allow autoconnection
3437 to GSM & CDMA devices
3439 2008-05-08 Tambet Ingo <tambet@gmail.com>
3441 Use PolicyKit to authorize the system settings' AddConnection method
3442 and the system settings connections' Update and Delete methods.
3444 * libnm-glib/nm-settings.c (impl_exported_connection_update)
3445 (impl_exported_connection_delete, nm_exported_connection_update)
3446 (nm_exported_connection_delete): Return boolean and fill GError
3447 to notify the callers of the reasons why it might have failed.
3449 * libnm-glib/nm-dbus-settings-system.c
3450 (nm_dbus_settings_system_add_connection): Return the error from dbus
3451 call so that the callers can see why it failed.
3453 * libnm-glib/nm-dbus-connection.c (update, delete): Update the
3456 * system-settings/src/nm-polkit-helpers.[ch]: Implement.
3458 * system-settings/src/nm-sysconfig-connection.[ch]: Implement. New
3459 abstract base class that checks PolicyKit permissions.
3461 * system-settings/src/dbus-settings.c:
3462 (impl_settings_add_connection): Check the policy before carring out
3465 * system-settings/plugins/keyfile/nm-keyfile-connection.c:
3466 Inherit from NMSysconfigConnection, check the policies before
3467 allowing updating or removing.
3469 * system-settings/plugins/ifcfg-suse/nm-suse-connection.c:
3470 Inherit from NMSysconfigConnection.
3472 * introspection/nm-exported-connection.xml: Annotate "Update" and
3473 "Delete" methods with async flag so that the implementations can get
3474 access to DBusGMethodInvocation.
3476 * system-settings/src/dbus-settings.c
3477 (settings_add_connection_check_privileges): Implement.
3478 (impl_settings_add_connection): Check the privileges before adding a new
3479 connection. Improve error reporting.
3481 * introspection/nm-settings-system.xml: Make the 'AddConnection' method
3482 async so that the implementation can access DBusGMethodInvocation.
3484 * configure.in: Check for PolicyKit.
3486 * policy/org.freedesktop.network-manager-settings.system.policy:
3489 * policy/Makefile.am: Install the policy file.
3491 * configure.in: Add 'policy' subdir.
3493 2008-05-08 Tambet Ingo <tambet@gmail.com>
3495 Rewrite the suse system settings plugin.
3497 * system-settings/plugins/ifcfg-suse/plugin.c: Rewrite.
3499 * system-settings/plugins/ifcfg-suse/parser.c: Rewrite.
3501 * system-settings/plugins/ifcfg-suse/nm-suse-connection.[ch]: Implement.
3503 * system-settings/plugins/ifcfg-suse/Makefile.am: Add new files to build.
3505 * system-settings/src/dbus-settings.c: Fix connection reference counting.
3507 * system-settings/src/main.c (load_plugins): Improve error reporting.
3509 * system-settings/src/sha1.[ch] Add.
3511 * system-settings/src/Makefile.am: Add sha1[ch] to build.
3513 2008-05-07 Dan Williams <dcbw@redhat.com>
3515 * system-settings/plugins/keyfile/reader.c
3516 - (read_one_setting_value): handle IP address items separately
3517 - (read_array_of_uint): read IPv4 DNS option as a string array
3518 - (read_array_of_array_of_uint): read IPv4 address tuples as a string
3521 * system-settings/plugins/keyfile/writer.c
3522 - (write_setting_value): handle IP address items separately
3523 - (write_array_of_uint): handle IPv4 DNS option as a string array,
3524 not an array of uint, so that it's user-editable
3525 - (write_array_of_array_of_uint): handle IPv4 address tuples as string
3526 arrays, so they are user-editable
3528 2008-05-07 Dan Williams <dcbw@redhat.com>
3530 * system-settings/plugins/keyfile/Makefile.am
3531 - Change location of the keyfile plugin settings to
3532 /etc/NetworkManager/system-connections
3534 2008-05-05 Tambet Ingo <tambet@gmail.com>
3536 * system-settings/plugins/keyfile/nm-keyfile-connection.[ch]: Implement.
3538 * system-settings/plugins/keyfile/plugin.c: Work with
3539 NMKeyfileConnections.
3541 * system-settings/src/dbus-settings.c: Remove NMSysconfigExportedConnection.
3542 Plugins are supposed to return NMExportedConnections now and handle the
3543 updated(), removed(), and GetSecrets().
3544 Store the internal list of connections in hash table to make it easier
3547 2008-05-07 Tambet Ingo <tambet@gmail.com>
3549 * src/backends/NetworkManagerSuSE.c (nm_system_set_hostname): Update
3550 for multiple IP addresses.
3552 2008-05-07 Tambet Ingo <tambet@gmail.com>
3554 Patch from André Lemos.
3556 * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Fix a memory
3559 2008-05-06 Dan Williams <dcbw@redhat.com>
3561 * src/dhcp-manager/nm-dhcp-manager.c
3562 - (nm_dhcp_manager_get_ip4_config): clean up; update for changes to
3563 NMIP4Config to support multiple IP addresses
3565 * src/NetworkManagerUtils.c
3566 - (nm_utils_merge_ip4_config): update for multiple IP addresses
3568 * src/nm-ip4-config.c
3570 - Store a list of IPv4 address/netmask/gateway tuples
3571 - (nm_ip4_config_get_gateway, nm_ip4_config_set_gateway,
3572 nm_ip4_config_get_netmask, nm_ip4_config_set_netmask,
3573 nm_ip4_config_get_broadcast, nm_ip4_config_set_broadcast,
3574 nm_ip4_config_set_address): remove
3575 - (nm_ip4_config_take_address, nm_ip4_config_add_address,
3576 nm_ip4_config_replace_address, nm_ip4_config_get_num_addresses):
3577 new functions; handle multiple IPv4 addresses
3580 src/ppp-manager/nm-ppp-manager.c
3581 src/vpn-manager/nm-vpn-connection.c
3582 src/NetworkManagerPolicy.c
3584 libnm-glib/libnm-glib-test.c
3585 - update for changes to NMIP4Config for multiple IPv4 addresses
3587 * src/NetworkManagerSystem.c
3588 - (nm_system_device_set_ip4_route): don't add the route if any address
3589 is on the same subnet as the destination
3590 - (check_one_address): ignore the exact match, just match family and
3592 - (add_ip4_addresses): add all IPv4 addresses in an NMIP4Config to
3594 - (nm_system_device_set_from_ip4_config): use add_ip4_addresses()
3595 - (nm_system_vpn_device_set_from_ip4_config): use add_ip4_addresses()
3597 * introspection/nm-ip4-config.xml
3598 - Remove 'address', 'gateway', 'netmask', and 'broadcast' properties
3599 - Add 'addresses' property which is an array of (uuu) tuples of
3600 address/netmask/gateway
3602 * libnm-util/nm-setting-ip4-config.c
3603 - (set_property): use ip-address <-> GValue converters from nm-utils.c
3605 * libnm-glib/nm-ip4-config.c
3606 libnm-glib/nm-ip4-config.h
3607 - Handle D-Bus interface changes to support multiple IP addresses
3609 2008-05-06 Dan Williams <dcbw@redhat.com>
3611 * libnm-util/nm-utils.c
3612 libnm-util/nm-utils.h
3613 - (nm_utils_ip4_addresses_from_gvalue,
3614 nm_utils_ip4_addresses_to_gvalue): new functions
3616 2008-05-06 Tambet Ingo <tambet@gmail.com>
3618 * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Don't leak
3619 the returned connection paths.
3621 2008-05-05 Tambet Ingo <tambet@gmail.com>
3623 * libnm-glib/nm-dbus-settings.c (constructor): Fix the
3624 "PropertiesChanged" signal signature.
3626 * libnm-glib/nm-dbus-connection.c (constructor): Use the common GType
3627 defined in nm-dbus-glib-types.h.
3628 Don't register the connection on dbus, we're a proxy class to
3629 communicate with an already registered connection over dbus.
3631 2008-04-30 Tambet Ingo <tambet@gmail.com>
3633 Implement new subclasses of NMSettings and NMExportedConnection to make
3634 it easier for the applet to access and modify system settings.
3636 * libnm-glib/nm-dbus-connection.[ch]:
3637 * libnm-glib/nm-dbus-settings.[ch]:
3638 * libnm-glib/nm-dbus-settings-system.[ch]: Implement.
3640 * libnm-glib/Makefile.am: Add the new files to build, generate some more
3643 * include/NetworkManager.h: Define the system settings DBus interface.
3645 2008-04-30 Tambet Ingo <tambet@gmail.com>
3647 Implement additional C API for exported connections to make them identical
3648 with the DBus API. Change the (list_connections) virtual function to be
3649 more usable from C - instead of requiring implementers to return a GPtrArray
3650 of dbus paths, return a list of connections.
3652 * libnm-glib/nm-settings.c (nm_exported_connection_class_init): Fix a typo.
3653 (nm_settings_list_connections):
3654 (nm_exported_connection_new):
3655 (nm_exported_connection_update):
3656 (nm_exported_connection_delete): Implement.
3658 (impl_settings_list_connections):
3659 (impl_exported_connection_update):
3660 (impl_exported_connection_delete): Use the new public functions to make
3661 sure the C and dbus interfaces stay in sync.
3663 * system-settings/src/dbus-settings.c (list_connections): Return a list of
3666 2008-05-02 Dan Williams <dcbw@redhat.com>
3668 * system-settings/plugins/ifcfg-fedora/plugin.c
3669 - (dispose): use right unref call on the DBusGConnection
3671 2008-05-02 Dan Williams <dcbw@redhat.com>
3673 * src/nm-serial-device.c
3674 - (find_terminator): don't compare the whole line, just the size of the
3675 terminator, since some modems put stuff after the terminator, like
3678 2008-05-01 Dan Williams <dcbw@redhat.com>
3680 Patch from Michael Biebl <biebl@debian.org>
3682 * callouts/Makefile.am
3683 callouts/org.freedesktop.nm_dispatcher.service.in
3684 system-settings/src/Makefile.am
3685 system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service.in
3686 - use the right install location for dbus-activated stuff
3688 2008-04-30 Dan Williams <dcbw@redhat.com>
3690 * src/nm-gsm-device.c
3691 - (enter_pin): fix setting name passed to applets when asking for a GSM
3694 2008-04-30 Dan Williams <dcbw@redhat.com>
3697 - (nm_manager_error_get_type): remove erroneous NULL enum from table
3699 2008-04-30 Dan Williams <dcbw@redhat.com>
3701 * src/nm-device-802-3-ethernet.c
3702 src/nm-device-802-11-wireless.c
3703 - (real_is_up): return true instead of chaining up to unimplemented
3706 2008-04-30 Dan Williams <dcbw@redhat.com>
3708 * src/NetworkManagerSystem.c
3709 src/NetworkManagerSystem.h
3710 - (nm_system_device_is_up, nm_system_device_is_up_with_iface): new
3711 functions to check device flags for IFF_UP
3713 * src/nm-serial-device.c
3714 - (real_is_up): remove; NMDevice now returns TRUE if the subclass doesn't
3717 * src/nm-device-802-3-ethernet.c
3718 src/nm-device-802-11-wireless.c
3719 - (real_hw_is_up): call nm_system_device_is_up()
3722 - (real_hw_is_up): move to nm_system_device_is_up_with_iface()
3723 - (real_is_up): remove; nm_device_is_up() returns TRUE if subclass
3726 2008-04-29 Dan Williams <dcbw@redhat.com>
3728 Handle HAL dropouts better; allow NM to start up even if HAL isn't up yet.
3730 * marshallers/nm-marshal.list
3733 * src/NetworkManager.c
3734 - (main): let the NMManager handle the NMHalManager
3736 * src/nm-hal-manager.c
3737 src/nm-hal-manager.h
3738 - convert to a GObject, and emit singals when stuff changes. Let the
3739 NMManager handle the signals, instead of the NMHalManager calling
3744 - (remove_one_device): consolidate device removals here
3745 - (dispose): use remove_one_device()
3746 - (nm_manager_get_device_by_udi): make static
3747 - (deferred_hal_manager_query_devices): idle handler to query the HAL
3748 manager for devices at startup or wakeup time
3749 - (nm_manager_new): create and monitor the HAL manager
3750 - (hal_manager_udi_added_cb): new function; do what
3751 nm_manager_add_device() used to do when signalled by the hal manager
3752 - (hal_manager_udi_removed_cb): new function; do what
3753 nm_manager_remove_device() used to do when signalled by the hal
3755 - (hal_manager_rfkill_changed_cb): handle rfkill changes from the
3757 - (hal_manager_hal_reappeared_cb): when HAL comes back, remove devices
3758 in our device list that aren't known to HAL
3759 - (impl_manager_sleep): on wakeup, re-add devices from an idle handler;
3760 see comments on nm-hal-manager.c::nm_manager_state_changed() a few
3762 - (nm_manager_get_device_by_path, nm_manager_is_udi_managed,
3763 nm_manager_activation_pending, nm_manager_wireless_enabled,
3764 nm_manager_wireless_hardware_enabled,
3765 nm_manager_set_wireless_hardware_enabled): remove, unused
3767 2008-04-28 Dan Williams <dcbw@redhat.com>
3769 Fix the device up/down ambiguities. Up/down state used to be a
3770 conglomeration of hardware state (IFF_UP) and any device-specific things
3771 (supplicant, periodic timers, etc) that the device used to indicate
3772 readiness. Unfortunately, if the hardware was already IFF_UP for some
3773 reason, then the device specific stuff wouldn't get run, and the device
3778 - Create hw_is_up, hw_bring_up, and hw_take_down
3779 - Rename bring_down -> take_down
3780 - (real_hw_is_up): check interface flags for IFF_UP
3781 - (nm_device_hw_is_up): let subclasses figure out their own HW state
3782 - (nm_device_is_up): make static; only used locally
3783 - (nm_device_hw_bring_up): update the hardware and IPv4 addresses even
3784 if the device is already up; if the device isn't up, bring it up
3785 - (nm_device_hw_take_down): just take down hardware
3786 - (nm_device_bring_up): bring up HW first, then device specific stuff
3787 - (nm_device_take_down): always deactivate device when called; always
3788 try to take hardware down too
3789 - (nm_device_state_changed): take device down when entering unmanaged
3790 state from a higher state
3792 * src/nm-device-802-11-wireless.c
3793 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
3795 - (real_take_down, supplicant_iface_state_cb_handler,
3796 supplicant_iface_connection_state_cb_handler,
3797 supplicant_mgr_state_cb_handler): fix some messages
3799 * src/nm-device-802-3-ethernet.c
3800 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
3803 2008-04-28 Dan Williams <dcbw@redhat.com>
3807 - (nm_manager_error_get_type): add new error
3808 - (nm_manager_remove_device): don't bother taking down the device here,
3809 the state change from unmanaging the device will do it
3810 - (impl_manager_sleep): move nm_manager_sleep() here since nothing else
3811 uses it; when going to sleep, just unmanage the device instead of
3812 taking it down, because stuff will cleaned up correctly when the
3813 device gets unmanaged
3815 2008-04-28 Dan Williams <dcbw@redhat.com>
3817 * src/nm-hal-manager.c
3818 - (add_initial_devices): convert to a GSourceFunc prototype
3819 - (nm_manager_state_changed): when coming out of sleep, punt the
3820 device re-addition to an idle handler to let D-Bus events go out
3821 first, fixing a potential dbus-glib assert if the old device was
3822 not yet disposed (due to references held while emitting the D-Bus
3823 signals) but the new device was found, because the mainloop didn't
3824 run between signal emission and add_initial_devices()
3826 2008-04-27 Dan Williams <dcbw@redhat.com>
3828 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3830 * initscript/paldo/NetworkManager.in
3831 initscript/SUSE/networkmanager.in
3832 - Remove last bits of dhcdbd
3834 2008-04-27 Dan Williams <dcbw@redhat.com>
3836 * src/nm-device-802-11-wireless.c
3837 - (link_timeout_cb): don't ask for secrets when disconnected during
3838 association/authentication phase, drivers are still just too crappy
3840 2008-04-27 Dan Williams <dcbw@redhat.com>
3844 dispatcher-daemon/Makefile.am
3845 dispatcher-daemon/NetworkManagerDispatcher.c
3846 initscript/Arch/Makefile.am
3847 initscript/Arch/networkmanager-dispatcher.in
3848 initscript/Gentoo/Makefile.am
3849 initscript/Gentoo/NetworkManagerDispatcher.in
3850 initscript/Mandriva/Makefile.am
3851 initscript/Mandriva/networkmanagerdispatcher.in
3852 initscript/RedHat/Makefile.am
3853 initscript/RedHat/NetworkManagerDispatcher.in
3854 initscript/SUSE/Makefile.am
3855 initscript/SUSE/networkmanager-dispatcher.in
3856 initscript/Slackware/Makefile.am
3857 initscript/Slackware/rc.networkmanager-dispatcher.in
3858 initscript/paldo/Makefile.am
3859 initscript/paldo/NetworkManagerDispatcher.in
3861 man/NetworkManagerDispatcher.8.in
3862 - Remove the dispatcher daemon
3864 2008-04-27 Dan Williams <dcbw@redhat.com>
3866 * callouts/Makefile.am
3867 callouts/nm-dispatcher-action.c
3868 callouts/nm-dispatcher-action.h
3869 callouts/nm-dispatcher.conf
3870 callouts/nm-dispatcher.xml
3871 callouts/org.freedesktop.nm_dispatcher.service
3872 - Re-implement the dispatcher as a system-bus activated service that
3873 NM calls on-demand, rather than an always running daemon
3876 - Add callouts dir to includes to pick up dispatcher defines
3879 - (nm_device_state_changed): call dispatcher on device activated/
3882 * src/vpn-manager/nm-vpn-connection.c
3883 - (nm_vpn_connection_set_vpn_state): call dispatcher when VPN connections
3886 * src/NetworkManagerUtils.c
3887 src/NetworkManagerUtils.h
3888 - (nm_utils_call_dispatcher): helper to call dispatcher
3890 2008-04-27 Dan Williams <dcbw@redhat.com>
3892 * src/NetworkManagerUtils.c
3893 src/NetworkManagerUtils.h
3894 - remove unneeded includes
3895 - (nm_null_safe_strcmp, nm_ethernet_addresses_are_equal,
3896 nm_utils_inet_ip4_address_as_string, nm_timeval_has_passed,
3897 nm_timeval_cmp, nm_timeval_add): remove, unused
3898 - clean up formatting
3899 - (nm_spawn_process): de-uglify
3901 * src/nm-device-802-11-wireless.c
3902 - (get_active_ap): use memcmp() not nm_ethernet_addresses_are_equal()
3904 2008-04-26 Saleem Abdulrasool <compnerd@compnerd.org>
3906 * initscript/Gentoo/NetworkManager.in:
3907 Fix for starting the daemon.
3909 2008-04-25 Dan Williams <dcbw@redhat.com>
3911 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3913 * src/NetworkManagerSystem.c
3914 - (nm_system_device_set_ip4_route): reimplement using libnl, not ioctls
3916 2008-04-25 Dan Williams <dcbw@redhat.com>
3918 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3920 * src/NetworkManagerSystem.c
3921 - (nm_system_device_replace_default_ip4_route): new function; a libnl
3922 implementation of nm_system_device_replace_default_route()
3924 * src/NetworkManagerPolicy.c
3925 - (update_default_route): use nm_system_device_replace_default_ip4_route()
3927 * src/backends/NetworkManagerArch.c
3928 src/backends/NetworkManagerDebian.c
3929 src/backends/NetworkManagerFrugalware.c
3930 src/backends/NetworkManagerGeneric.c
3931 src/backends/NetworkManagerGeneric.h
3932 src/backends/NetworkManagerGentoo.c
3933 src/backends/NetworkManagerMandriva.c
3934 src/backends/NetworkManagerPaldo.c
3935 src/backends/NetworkManagerRedHat.c
3936 src/backends/NetworkManagerSlackware.c
3937 src/backends/NetworkManagerSuSE.c
3938 - (nm_system_device_replace_default_route): remove
3940 2008-04-25 Dan Williams <dcbw@redhat.com>
3942 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3944 * src/NetworkManagerSystem.c
3945 - (validate_ip4_route): remove; use nl_addr_parse() instead
3946 - (nm_system_device_add_ip4_route_via_device_with_iface): new function,
3947 replace nm_system_device_add_route_via_device_with_iface() in the
3950 * src/backends/NetworkManagerArch.c
3951 src/backends/NetworkManagerDebian.c
3952 src/backends/NetworkManagerFrugalware.c
3953 src/backends/NetworkManagerGeneric.c
3954 src/backends/NetworkManagerGeneric.h
3955 src/backends/NetworkManagerGentoo.c
3956 src/backends/NetworkManagerMandriva.c
3957 src/backends/NetworkManagerPaldo.c
3958 src/backends/NetworkManagerRedHat.c
3959 src/backends/NetworkManagerSlackware.c
3960 src/backends/NetworkManagerSuSE.c
3961 - Remove nm_system_device_add_route_via_device_with_iface()
3963 2008-04-25 Dan Williams <dcbw@redhat.com>
3965 * system-settings/plugins/ifcfg-fedora/parser.c
3966 - (GET_ONE_DNS): fix parsing of DNS2 & DNS3
3968 2008-04-24 Dan Williams <dcbw@redhat.com>
3970 * dispatcher-daemon/NetworkManagerDispatcher.c
3971 - (nmd_execute_scripts): execute scripts in order as sorted by strcmp()
3973 2008-04-24 Dan Williams <dcbw@redhat.com>
3975 * initscript/RedHat/NetworkManager.in
3976 initscript/RedHat/NetworkManagerDispatcher.in
3977 - Be active at runlevel 2
3978 - Adjust priorities earlier
3980 2008-04-22 Dan Williams <dcbw@redhat.com>
3982 * src/NetworkManagerPolicy.c
3983 - (update_routing_and_dns): when checking for a gateway, look at the
3984 composite IP4 config, not the connection's ip4-config setting, which
3985 doesn't include DHCP-returned information
3987 2008-04-22 Tambet Ingo <tambet@gmail.com>
3989 Implement GKeyFile system settings plugin.
3990 Implement writing system settings (currently supported only by GKeyFile plugin).
3992 * system-settings/src/main.c:
3993 * system-settings/src/dbus-settings.c: Move the communication with plugins
3994 from main.c to dbus-settings.c. Makes it possible to talk to all registered
3995 plugins for adding/updating/removing connections.
3997 * system-settings/src/nm-system-config-interface.c
3998 (nm_system_config_interface_add_connection): Implement
3999 (nm_system_config_interface_update_connection): Implement.
4000 (nm_system_config_interface_remove_connection): Implement.
4002 * system-settings/plugins/keyfile/Makefile.am:
4003 * system-settings/plugins/keyfile/plugin.[ch]:
4004 * system-settings/plugins/keyfile/writer.[ch]:
4005 * system-settings/plugins/keyfile/reader.[ch]: Implement.
4007 * system-settings/plugins/Makefile.am: Add GKeyFile plugin.
4009 * configure.in: Generate GKeyFile Makefile.
4011 * libnm-glib/nm-settings.c (impl_exported_connection_get_id): Fix a memory
4012 corruption, need to duplicate the returned string.
4013 (impl_exported_connection_update): Implement.
4014 (impl_exported_connection_delete): Implement.
4016 * introspection/nm-settings-system.xml: Add "AddConnection" method.
4018 * introspection/nm-exported-connection.xml: Add "Update" and "Delete" methods.
4020 2008-04-22 Dan Williams <dcbw@redhat.com>
4022 Patch from Charles R. Anderson (cra@wpi.edu)
4024 * src/NetworkManagerPolicy.c
4025 - (update_routing_and_dns): don't select devices without a gateway
4026 as having the default route (rh #437338)
4028 2008-04-21 Dan Williams <dcbw@redhat.com>
4030 * src/nm-activation-request.c
4031 src/nm-activation-request.h
4032 - (dispose): ensure to disconnect from the device's state-changed signal
4033 when appropriate so the signal doesn't get handled by an already
4034 disposed NMActRequest
4035 - (device_state_changed): update is_default here too just to make sure
4036 default is only True when the child device is activated
4037 - (nm_act_request_set_default): new function
4039 * src/NetworkManagerPolicy.c
4040 - (update_routing_and_dns): set 'default' on the active connection which
4041 has the default route and DNS
4043 2008-04-21 Dan Williams <dcbw@redhat.com>
4045 * src/NetworkManagerPolicy.c
4046 - (device_state_changed): update routing and DNS when a device goes
4047 into unmanaged or unavailable states too (like rfkill or carrier loss)
4049 2008-04-21 Dan Williams <dcbw@redhat.com>
4051 * include/NetworkManager.h
4052 - Add NMActiveConnectionState enum
4054 * introspection/nm-active-connection.xml
4055 introspection/nm-vpn-connection.xml
4056 - Add 'State' property for overall active connection state
4057 - Add 'Default' property, when True means this active connection
4058 has the default route
4059 - Add PropertyChanged signals so changes actually go out over the bus
4061 * src/nm-active-connection.h
4062 - Add defines for State & Default properties
4064 * src/nm-activation-request.c
4065 - Add 'state' and 'default' properties, hook up to device 'state-changed'
4066 signal to determine active connection state
4068 * src/vpn-manager/nm-vpn-connection.c
4069 src/vpn-manager/nm-vpn-connection.h
4070 src/vpn-manager/nm-vpn-manager.c
4071 src/vpn-manager/nm-vpn-service.c
4072 - Rename old 'state' to 'vpn-state'
4073 - Rename nm_vpn_connection_get_state() -> nm_vpn_connection_get_vpn_state()
4074 - Add 'state' and 'default' properties, hook up to the vpn connection's
4075 'vpn-state-changed' signal
4077 * libnm-glib/nm-active-connection.c
4078 libnm-glib/nm-active-connection.h
4079 - Add new 'state' and 'default' properties and accessors
4081 * libnm-glib/nm-vpn-connection.c
4082 libnm-glib/nm-vpn-connection.h
4083 - Rename old 'state' property to 'vpn-state'
4084 - Add new 'state' and 'default' properties and accessors
4086 2008-04-21 Dan Williams <dcbw@redhat.com>
4088 * src/nm-ip4-config.c
4089 - (nm_ip4_config_to_rtnl_addr): fill in the broadcast address if it's
4090 not specified (rh #443474)
4092 2008-04-20 Dan Williams <dcbw@redhat.com>
4094 * src/NetworkManagerUtils.c
4095 src/NetworkManagerUtils.h
4096 - (nm_utils_merge_ip4_config): new function; merge settings from an
4097 NMSettingIP4Config to an NMIP4Config object
4100 - (merge_ip4_config): move to NetworkManagerUtils.c
4102 * src/vpn-manager/nm-vpn-connection.c
4103 - (nm_vpn_connection_ip4_config_get): merge in user-specified settings
4106 2008-04-18 Dan Williams <dcbw@redhat.com>
4108 * libnm-util/nm-setting-ppp.c
4109 libnm-util/nm-setting-ppp.h
4110 - Add 'no-vj-comp' option for TCP header compression
4111 - baud, mru, mtu, lcp_echo_failure, and lcp_echo_interval are really
4114 2008-04-18 Dan Williams <dcbw@redhat.com>
4116 * libnm-util/nm-setting-ppp.c
4117 libnm-util/nm-setting-ppp.h
4118 src/ppp-manager/nm-ppp-manager.c
4119 - Add 'refuse-pap' and 'refuse-mschapv2' options
4121 2008-04-18 Dan Williams <dcbw@redhat.com>
4123 * libnm-util/nm-setting-ppp.c
4124 libnm-util/nm-setting-ppp.h
4125 src/ppp-manager/nm-ppp-manager.c
4126 - Remove the 'usepeerdns' option and always request DNS servers from
4127 the PPP server; the connection chooses to use/override/ignore the
4128 DNS servers returned from the PPP server
4130 2008-04-18 Dan Williams <dcbw@redhat.com>
4132 * libnm-util/nm-setting-ppp.c
4133 libnm-util/nm-setting-ppp.h
4134 src/ppp-manager/nm-ppp-manager.c
4135 - Remove the 'require-mppc' option, because pppd doesn't support it and
4136 it seems to have been an erroneous addition to the PPTP plugin in
4137 the first place (from which the ppp-manager is derived)
4139 2008-04-17 Dan Williams <dcbw@redhat.com>
4141 * libnm-util/nm-setting-pppoe.c
4142 - (verify): require a PPP setting too
4144 * src/ppp-manager/nm-ppp-manager.c
4145 - (nm_ppp_manager_start): fail if no PPP setting is present instead of
4148 2008-04-17 Dan Williams <dcbw@redhat.com>
4151 - (nm_device_state_changed): do deactivation and and promotion to
4152 unavailable here, so that the device gets cleaned up before the
4153 manager runs and starts emitting signals; do the
4154 FAILED->DISCONNECTED transition from an idle handler rather than
4155 immediately to guard against recursion
4156 - (nm_device_deactivate_quickly, nm_device_dispose): stop the
4157 FAILED->DISCONNECTED handler if it's scheduled
4159 2008-04-17 Dan Williams <dcbw@redhat.com>
4161 * src/nm-device-802-11-wireless.c
4162 - (state_changed_cb): clear AP list when device transitions to
4163 unavailable or unmanaged
4164 - (nm_device_802_11_wireless_dispose): remove redundant set_current_ap()
4165 since this is already done in device_cleanup()
4166 - (supplicant_iface_scanned_ap_cb): don't leak new APs when the device
4167 isn't available or managed
4168 - (device_cleanup): use remove_all_aps()
4169 - (remove_all_aps): consolidate code removing all APs
4171 2008-04-17 Dan Williams <dcbw@redhat.com>
4173 * src/nm-serial-device.c
4174 src/nm-serial-device.h
4175 - (wait_for_reply_got_data): break input into lines, and search each
4176 line for responses _and_ terminator strings; also make sure that
4177 the read loop doesn't continue after the timeout is supposed to fire
4178 - (nm_serial_device_wait_for_reply): take an array of terminators too
4180 * src/nm-gsm-device.c
4181 src/nm-cdma-device.c
4182 - Send terminators to nm_serial_device_wait_for_reply()
4184 2008-04-16 Dan Williams <dcbw@redhat.com>
4186 Patch from 陈鑫 <znscnchen@gmail.com>
4188 * src/ppp-manager/nm-pppd-plugin.c
4189 - (get_credentials): return correct value for success; handle case where
4190 pppd just does some checking but doesn't want a password
4191 - (plugin_init): make CHAP work too
4193 2008-04-16 Dan Williams <dcbw@redhat.com>
4195 Patch from 陈鑫 <znscnchen@gmail.com>
4197 * src/ppp-manager/nm-ppp-manager.c
4198 - (create_pppd_cmd_line): fix argument generation when spawning pppd
4200 2008-04-16 Dan Williams <dcbw@redhat.com>
4202 Patch from 陈鑫 <znscnchen@gmail.com>
4204 * src/nm-device-802-3-ethernet.c
4205 - (real_deactivate_quickly): clear the IP interface name on
4206 deactivation, otherwise the wrong interface might get used later
4207 for routing and IP management
4209 2008-04-15 Dan Williams <dcbw@redhat.com>
4211 * libnm-glib/nm-device.c
4212 - (get_product_and_vendor): handle serial devices correctly
4213 - (nm_device_update_description): pass device to get_product_and_vendor()
4215 2008-04-15 Dan Williams <dcbw@redhat.com>
4217 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
4219 * src/NetworkManagerSystem.h
4220 src/backends/NetworkManagerArch.c
4221 src/backends/NetworkManagerDebian.c
4222 src/backends/NetworkManagerFrugalware.c
4223 src/backends/NetworkManagerGeneric.c
4224 src/backends/NetworkManagerGeneric.h
4225 src/backends/NetworkManagerGentoo.c
4226 src/backends/NetworkManagerMandriva.c
4227 src/backends/NetworkManagerPaldo.c
4228 src/backends/NetworkManagerRedHat.c
4229 src/backends/NetworkManagerSlackware.c
4230 src/backends/NetworkManagerSuSE.c
4232 - (nm_generic_device_add_ip6_link_address,
4233 nm_system_device_add_ip6_link_address): remove
4235 2008-04-15 Dan Williams <dcbw@redhat.com>
4237 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
4239 * src/backends/NetworkManagerArch.c
4240 src/backends/NetworkManagerDebian.c
4241 src/backends/NetworkManagerFrugalware.c
4242 src/backends/NetworkManagerGeneric.c
4243 src/backends/NetworkManagerGeneric.h
4244 src/backends/NetworkManagerGentoo.c
4245 src/backends/NetworkManagerMandriva.c
4246 src/backends/NetworkManagerPaldo.c
4247 src/backends/NetworkManagerRedHat.c
4248 src/backends/NetworkManagerSlackware.c
4249 src/backends/NetworkManagerSuSE.c
4250 src/NetworkManagerSystem.h
4251 - flush_routes -> flush_ip4_routes
4252 - flush_addresses -> flush_ip4_addresses
4254 * src/NetworkManagerSystem.c
4256 src/vpn-manager/nm-vpn-connection.c
4257 - flush only IPv4 addresses; don't touch IPv6 routes and addresses
4259 2008-04-15 Dan Williams <dcbw@redhat.com>
4261 Remove exposure of wireless-tools mode types in the API.
4263 * include/NetworkManager.h
4264 - Define NM80211Mode enum
4266 * introspection/generic-types.xml
4267 - Describe NM_802_11_MODE enum
4268 - Remove IW_MODE_* enum
4270 * introspection/nm-access-point.xml
4271 libnm-glib/nm-access-point.c
4272 libnm-glib/nm-access-point.h
4273 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
4275 * introspection/nm-device-802-11-wireless.xml
4276 libnm-glib/nm-device-802-11-wireless.c
4277 libnm-glib/nm-device-802-11-wireless.h
4278 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
4280 * libnm-util/nm-setting-wireless.c
4281 src/NetworkManagerAP.c
4282 src/NetworkManagerAP.h
4283 src/nm-device-802-11-wireless.c
4284 src/nm-device-802-11-wireless.h
4286 - Use NM80211Mode not IW_MODE_*
4288 2008-04-15 Dan Williams <dcbw@redhat.com>
4290 Enhance nm-online based on a patch from Bill Nottingham.
4294 - Add help messages and option summary
4295 - Add long-format options
4296 - Add a '-x' option to exit if NM isn't running or isn't connecting
4298 2008-04-15 Tambet Ingo <tambet@gmail.com>
4300 * libnm-util/nm-setting.c (nm_setting_duplicate): Implement.
4302 * libnm-util/nm-connection.c (nm_connection_remove_setting): Implement.
4304 2008-04-15 Dan Williams <dcbw@redhat.com>
4306 * nm-setting-ip4-config.c
4307 - (ip4_addresses_from_gvalue): handle NULL address array
4309 * nm-setting-8021x.c
4310 - (verify_tls, verify_ttls): warn on failed verification
4312 2008-04-10 Dan Williams <dcbw@redhat.com>
4314 * src/nm-gsm-device.c
4315 - (automatic_registration): accept "+CREG: 0,0"
4316 - (automatic_registration_response): fail on "+CREG: 0,0"
4318 2008-04-10 Tambet Ingo <tambet@gmail.com>
4320 * libnm-util/nm-setting-wired.c (get_property): Fix a typo.
4322 2008-04-10 Tambet Ingo <tambet@gmail.com>
4324 * system-settings/plugins/ifcfg-suse/parser.c (make_wireless_security_setting):
4325 Make it compile again by commenting out broken code that at first didn't work and
4326 now didn't compile either.
4328 2008-04-08 Dan Williams <dcbw@redhat.com>
4330 * libnm-glib/nm-object-cache.c
4331 libnm-glib/nm-settings.c
4332 src/dhcp-manager/nm-dhcp-manager.c
4333 system-settings/plugins/ifcfg-fedora/plugin.c
4334 system-settings/plugins/ifcfg-suse/plugin.c
4335 system-settings/src/nm-system-config-hal-manager.c
4336 libnm-util/nm-utils.c
4337 - Remove usage of GStaticMutex since gcc-4.3 hates it and because we're
4338 not threadsafe anyway
4340 2008-04-08 Dan Williams <dcbw@redhat.com>
4342 * system-settings/src/main.c
4343 - (load_stuff, device_added_cb, device_removed_cb): device added/removed
4344 callbacks take a device type too
4346 2008-04-08 Dan Williams <dcbw@redhat.com>
4348 The system settings service will now create a new default DHCP connection
4349 for wired devices that have no existing applicable connection.
4351 * system-settings/src/nm-system-config-hal-manager.c
4352 system-settings/src/nm-system-config-hal-manager.h
4353 - (nm_system_config_hal_manager_get_type_for_udi): new function
4355 * system-settings/src/dbus-settings.c
4356 system-settings/src/dbus-settings.h
4357 - (nm_sysconfig_settings_get_connections): new function
4358 - (nm_sysconfig_settings_is_device_managed): new function
4360 * system-settings/src/main.c
4361 - (load_stuff): check for wired devices that need a default connection
4362 - (get_details_for_udi): get interface and MAC address from HAL
4363 - (add_default_dhcp_connection): add a default connection for a wired
4365 - (device_added_cb, device_removed_cb): do the right thing with
4366 wired devices and their default connections on HAL device events
4368 2008-04-07 Dan Williams <dcbw@redhat.com>
4370 * libnm-glib/nm-device.c
4371 libnm-glib/nm-device.h
4372 - Proxy the 'managed' property
4374 2008-04-07 Dan Williams <dcbw@redhat.com>
4376 * src/nm-gsm-device.c
4377 src/nm-cdma-device.c
4378 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
4379 handler to transition to DISCONNECTED
4381 2008-04-07 Dan Williams <dcbw@redhat.com>
4383 Patch from Bill Nottingham
4385 * dispatcher-daemon/NetworkManagerDispatcher.c
4386 - ignore backup/packaging crufy (rh #440143)
4388 2008-04-07 Dan Williams <dcbw@redhat.com>
4390 * include/NetworkManager.h
4391 - Remove the DOWN and CANCELLED device states
4392 - Add UNMANAGED and UNAVAILABLE device states
4393 - Document the device states
4395 * introspection/nm-device.xml
4396 src/nm-device-interface.c
4397 src/nm-device-interface.h
4398 - Add the 'managed' property
4401 - (detail_device): print out device state
4403 * src/NetworkManagerSystem.h
4404 src/backends/NetworkManagerArch.c
4405 src/backends/NetworkManagerDebian.c
4406 src/backends/NetworkManagerFrugalware.c
4407 src/backends/NetworkManagerGentoo.c
4408 src/backends/NetworkManagerMandriva.c
4409 src/backends/NetworkManagerPaldo.c
4410 src/backends/NetworkManagerRedHat.c
4411 src/backends/NetworkManagerSlackware.c
4412 src/backends/NetworkManagerSuSE.c
4413 - (nm_system_device_get_system_config, nm_system_device_get_disabled
4414 nm_system_device_free_system_config): remove; they were unused and
4415 their functionality should be re-implemented in each distro's
4416 system settings service plugin
4418 * src/nm-gsm-device.c
4420 src/nm-cdma-device.c
4421 src/nm-cdma-device.h
4422 - (*_new): take the 'managed' argument
4425 - (nm_device_set_address): remove, fold into nm_device_bring_up()
4426 - (nm_device_init): start in unmanaged state, not disconnected
4427 - (constructor): don't start device until the system settings service
4428 has had a chance to figure out if the device is managed or not
4429 - (nm_device_deactivate, nm_device_bring_up, nm_device_bring_down):
4430 don't set device state here, let callers handle that as appropriate
4431 - (nm_device_dispose): don't touch the device if it's not managed
4432 - (set_property, get_property, nm_device_class_init): implement the
4434 - (nm_device_state_changed): bring the device up if its now managed,
4435 and deactivate it if it used to be active
4436 - (nm_device_get_managed, nm_device_set_managed): do the right thing
4437 with the managed state
4439 * src/nm-hal-manager.c
4440 - (wired_device_creator, wireless_device_creator, modem_device_creator):
4441 take initial managed state and pass it along to device constructors
4442 - (create_device_and_add_to_list): get managed state and pass to
4445 * src/nm-device-802-11-wireless.c
4446 - (real_can_activate): fold in most of
4447 nm_device_802_11_wireless_can_activate()
4448 - (can_scan): can't scan in UNAVAILABLE or UNMANAGED
4449 - (link_timeout_cb): instead of deactivating, change device state and
4450 let the device state handler to it
4451 - (real_update_hw_address): clean up
4452 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
4453 handler to transition to DISCONNECTED if the device isn't rfkilled
4455 * src/nm-device-802-3-ethernet.c
4456 - (set_carrier): move above callers and get rid of prototype
4457 - (device_state_changed): when entering UNAVAILABLE state, schedule an
4458 idle handler to transition to DISCONNECTED if the device has a
4460 - (real_update_hw_address): clean up
4461 - (link_timeout_cb, ppp_state_changed): change state instead of calling
4462 deactivation directly as deactivation doesn't change state anymore
4464 * src/NetworkManagerPolicy.c
4465 - (schedule_activate_check): yay, remove wireless_enabled hack since
4466 the NMManager and wireless devices work that out themselves now
4467 - (device_state_changed): change to a switch and update for new device
4469 - (device_carrier_changed): remove; device handles this now through
4471 - (device_added): don't care about carrier any more; the initial
4472 activation check will happen when the device transitions to
4476 - (dispose): clear unmanaged devices
4477 - (handle_unmanaged_devices): update unmanaged device list and toggle
4478 the managed property on each device when needed
4479 - (system_settings_properties_changed_cb): handle signals from the
4480 system settings service
4481 - (system_settings_get_unmanaged_devices_cb): handle callback from
4482 getting the unmanaged device list method call
4483 - (query_unmanaged_devices): ask the system settings service for its
4484 list of unmanaged devices
4485 - (nm_manager_name_owner_changed, initial_get_connections): get unmanaged
4487 - (manager_set_wireless_enabled): push rfkill state down to wireless
4488 devices directly and let them handle the necessary state transitions
4489 - (manager_device_state_changed): update for new device states
4490 - (nm_manager_add_device): set initial rfkill state on wireless devices
4491 - (nm_manager_remove_device): don't touch the device if it's unmanaged
4492 - (nm_manager_activate_connection): return error if the device is
4494 - (nm_manager_sleep): handle new device states correctly; don't change
4495 the state of unavailable/unmanaged devices
4497 * libnm-glib/nm-device-802-11-wireless.c
4498 - (state_changed_cb): update for new device states
4500 2008-04-07 Dan Williams <dcbw@redhat.com>
4502 * marshallers/nm-marshal.list
4503 - Add VOID:STRING,UINT marshaller for system settings HAL manager
4505 2008-04-07 Dan Williams <dcbw@redhat.com>
4507 * system-settings/src/main.c
4508 - (unmanaged_devices_changed_cb, register_plugin): proxy changes from
4509 plugins to the dbus settings object
4510 - (load_stuff): start the dbus service after grabbing unmanaged devices
4511 - (dbus_reconnect, dbus_cleanup): make HAL manager aware of dbus events
4512 - (log_handler, logging_setup, logging_shutdown): log output to syslog
4513 - (main): switch default logging to syslog with a 'debug' option to
4514 output to console; start up the HAL manager
4516 2008-04-07 Dan Williams <dcbw@redhat.com>
4518 * introspection/nm-settings-system.xml
4519 introspection/Makefile.am
4520 - Define the unmanaged devices interface for the system settings service
4522 * system-settings/src/nm-system-config-hal-manager.c
4523 system-settings/src/nm-system-config-hal-manager.h
4524 system-settings/src/nm-system-config-hal-manager-private.h
4525 system-settings/src/Makefile.am
4526 - Add a lightweight HAL manager object for tracking network devices for
4527 the purpose of determining unmanaged devices and which devices need
4528 the default DHCP connections
4530 * system-settings/src/nm-system-config-interface.c
4531 system-settings/src/nm-system-config-interface.h
4532 - (nm_system_config_interface_init): add the HAL manager as an argument
4533 - (nm_system_config_interface_get_unmanaged_devices): implement
4534 - Define 'unmanaged-devices-changed' signal
4536 * system-settings/src/dbus-settings.c
4537 system-settings/src/dbus-settings.h
4538 - Implement the unmanaged devices interface; some cleanups
4540 * system-settings/plugins/ifcfg-suse/plugin.c
4541 - Fixup for plugin interface changes
4543 * system-settings/plugins/ifcfg-fedora/plugin.c
4544 - (get_ether_device_udi): new function; find the device that has
4545 a specified MAC address and return its UDI
4546 - (get_udi_for_connection): new function; try to find the specific
4547 device a connection is locked to, if any
4548 - (device_added_cb, device_removed_cb): update unmanaged device list in
4549 response to HAL events
4550 - (get_unmanaged_devices): new function; return unmanaged device list
4551 - (build_one_connection): set the connection's locked device, if any
4552 - (write_auto_wired_connection): remove
4553 - (kill_old_auto_wired_file): remove the ifcfg-Auto Wired file if found
4554 - (handle_connection_changed): alert listeners that the unmanaged device
4556 - (init): fixup for plugin interface changes, implement unmanaged devices
4558 * system-settings/plugins/ifcfg-fedora/parser.c
4559 system-settings/plugins/ifcfg-fedora/parser.h
4560 - (connection_data_free): clean up connection UDI
4562 2008-04-07 Dan Williams <dcbw@redhat.com>
4564 * system-settings/plugins/ifcfg-fedora/parser.c
4565 - (make_ip4_setting): fix parsing of DNS servers
4567 2008-04-05 Dan Williams <dcbw@redhat.com>
4571 marshallers/Makefile.am
4572 marshallers/nm-marshal-main.c
4573 marshallers/nm-marshal.list
4574 - Consolidate marshallers
4576 * libnm-glib/nm-marshal-main.c
4577 libnm-glib/nm-marshal.list
4578 src/marshallers/Makefile.am
4579 src/marshallers/nm-marshal-main.c
4580 src/marshallers/nm-marshal.list
4583 * libnm-glib/Makefile.am
4585 src/dhcp-manager/Makefile.am
4586 src/ppp-manager/Makefile.am
4587 src/supplicant-manager/Makefile.am
4588 src/vpn-manager/Makefile.am
4589 - Use consolidated marshallers
4591 2008-04-04 Dan Williams <dcbw@redhat.com>
4593 * src/nm-hal-manager.c
4594 src/nm-hal-manager.h
4595 - (hal_init): don't look for hardware here
4596 - (nm_hal_manager_start): new function; look for hardware here instead,
4597 which can be done at a later time than hal_init()
4599 * src/NetworkManager.c
4600 - (main): start HAL manager after entering the main loop
4602 2008-04-03 Dan Williams <dcbw@redhat.com>
4604 * libnm-glib/nm-settings.c
4605 libnm-glib/nm-settings.h
4606 - (nm_exported_connection_get_id): new function
4607 - (impl_exported_connection_get_id): use nm_exported_connection_get_id()
4609 2008-04-02 Dan Williams <dcbw@redhat.com>
4611 * src/nm-device-interface.c
4612 src/nm-device-interface.h
4615 - Rename check_connection_conflicts() to check_connection_compatible()
4617 * src/nm-device-802-11-wireless.c
4618 - (real_check_connection_conflicts): remove
4619 - (real_check_connection_compatible): implement; match MAC address
4621 * src/nm-device-802-3-ethernet.c
4622 - (real_check_connection_conflicts): remove
4623 - (real_check_connection_compatible): implement; match MAC address
4624 - (real_get_best_auto_connection): correctly handle PPPoE cases
4627 - (check_connection_allowed): remove; unused until PolicyKit integration
4628 - (internal_activate_device): check whether the connection is compatible
4629 with the device before trying to activate it
4631 2008-04-02 Dan Williams <dcbw@redhat.com>
4633 * system-settings/plugins/ifcfg-fedora/parser.c
4634 - (read_mac_address): new function; read in MAC address and stuff it
4636 - (add_one_wep_key): remove debug spew
4637 - (make_wireless_security_setting): validate the default TX key; don't
4638 add the wireless-security setting if the connection doesn't need
4639 security; don't leak the keys shvarFile on error cases
4640 - (make_wireless_setting, make_wired_setting): populate device's MAC
4643 2008-04-02 Dan Williams <dcbw@redhat.com>
4645 * libnm-util/nm-setting-connection.c
4646 libnm-util/nm-setting-connection.h
4647 - (set_property, get_property, nm_setting_connection_class_init): remove
4648 the 'lockdown' property; it's functionality will be replaced by
4651 2008-04-01 Dan Williams <dcbw@redhat.com>
4653 Patch from Per Øyvind Karlsen <peroyvind@mandriva.org>
4656 initscript/Makefile.am
4657 initscript/Mandriva/Makefile.am
4658 initscript/Mandriva/networkmanager.in
4659 initscript/Mandriva/networkmanagerdispatcher.in
4660 src/backends/Makefile.am
4661 src/backends/NetworkManagerMandriva.c
4662 system-settings/plugins/Makefile.am
4663 - Add Mandriva support
4665 2008-03-31 Dan Williams <dcbw@redhat.com>
4667 * src/vpn-manager/nm-vpn-service.c
4668 - (nm_vpn_service_daemon_exec): add an error argument so that spawn
4669 errors can be passed back to the caller; also no longer scheduled
4670 as an idle handler, but called directly; and bump up VPN service
4671 spawn timeout, 2s is really short
4672 - (nm_vpn_service_activate): don't schedule the VPN service activation,
4673 but call it directly so that errors are reported on return from
4674 ActivateConnection() and don't get lost. If scheduled as an idle
4675 handler, clients don't have the time to query NM for the new VPN
4676 connection's properties before the VPN connection is torn down again
4677 if the service couldn't be launched, and therefore launch errors
4680 2008-03-31 Dan Williams <dcbw@redhat.com>
4682 * src/vpn-manager/nm-vpn-connection.c
4683 - (device_state_changed): send correct state on device failure too
4684 - (plugin_state_changed): failed state means unexpected disconnection,
4685 thus if the service goes away while the VPN connection is activated
4686 that's a failure too
4688 2008-03-31 Dan Williams <dcbw@redhat.com>
4690 * src/vpn-manager/nm-vpn-manager.c
4691 src/vpn-manager/nm-vpn-manager.h
4692 - Make VPNManager errors more available; add a service-start-failed error
4694 2008-03-31 Dan Williams <dcbw@redhat.com>
4696 * libnm-glib/nm-client.c
4697 libnm-glib/nm-client.h
4698 - (activate_cb): pass the new active connection to callback; fix
4699 message when no callback is specified
4701 2008-03-30 Dan Williams <dcbw@redhat.com>
4703 * libnm-util/nm-setting-wireless-security.c
4704 - (need_secrets): only require key0 if the transmit key index is also
4706 - (verify): reject non-NULL but zero-length WEP keys; these are invalid
4708 2008-03-29 Dan Williams <dcbw@redhat.com>
4710 * libnm-util/nm-setting-8021x.c
4711 libnm-util/nm-setting-ip4-config.c
4712 libnm-util/nm-setting-vpn-properties.c
4713 libnm-util/nm-setting-vpn.c
4714 libnm-util/nm-setting-wireless-security.c
4715 libnm-util/nm-setting-wireless.c
4716 libnm-util/nm-utils.c
4717 src/dhcp-manager/nm-dhcp-manager.c
4718 src/nm-activation-request.c
4721 src/nm-properties-changed-signal.c
4722 src/ppp-manager/nm-pppd-plugin.c
4723 src/supplicant-manager/nm-supplicant-interface.c
4724 src/vpn-manager/nm-vpn-connection.c
4725 - consistently use nm-dbus-glib-types.h
4727 2008-03-29 Dan Williams <dcbw@redhat.com>
4729 * src/vpn-manager/nm-vpn-connection.c
4730 - (nm_vpn_connection_class_init): PROP_SPECIFIC_OBJECT should be boxed,
4733 * src/nm-activation-request.c
4734 - (nm_act_request_class_init): PROP_SPECIFIC_OBJECT should be boxed,
4737 2008-03-29 Dan Williams <dcbw@redhat.com>
4739 * libnm-glib/nm-device-802-11-wireless.c
4740 - (access_point_added_proxy): create new APs if not found
4742 2008-03-29 Dan Williams <dcbw@redhat.com>
4744 * libnm-glib/nm-client.c
4745 - (proxy_name_owner_changed): tell wireless devices about rfkill state
4748 2008-03-29 Dan Williams <dcbw@redhat.com>
4750 * system-settings/plugins/ifcfg-fedora/parser.c
4751 - Fix parsing of WEP keys; ifcfg files use indexes [1...4] rather than
4752 [0...3]; also handle KEY correctly in combination with DEFAULTKEY
4754 2008-03-29 Dan Williams <dcbw@redhat.com>
4756 * system-settings/plugins/ifcfg-fedora/parser.c
4757 - (get_one_wep_key, make_wireless_security_setting): handle "KEY" too
4759 2008-03-27 Dan Williams <dcbw@redhat.com>
4762 - (nm_object_queue_notify): don't notify multiple times for the same
4765 * nm-object-private.h
4766 - (handle_ptr_array_return): return NULL if the given array is NULL or
4767 if it has zero elements
4770 - (finalize): use g_ptr_array_foreach() when freeing domains
4771 - (nm_ip4_config_get_domains): use handle_ptr_array_return()
4773 * nm-active-connection.c
4774 - (nm_active_connection_get_devices): use handle_ptr_array_return()
4776 * nm-device-802-11-wireless.c
4777 nm-device-802-11-wireless.h
4778 - (nm_device_802_11_wireless_get_access_points): return const; use
4779 handle_ptr_array_return()
4782 - (nm_object_array_demarshal): always create an array, even of length
4783 zero, to distinguish between "NM returned no items" and "haven't
4787 - (dispose): free active connections too
4788 - (proxy_name_owner_changed): free active connections too when NM goes
4790 - (nm_client_get_devices): return const; use handle_ptr_array_return()
4791 - (nm_client_get_active_connections): use handle_ptr_array_return()
4793 2008-03-26 Dan Williams <dcbw@redhat.com>
4795 Rework VPN connection handling for a more consistent D-Bus API. The
4796 VPNManager object has been removed, and active VPN connections are now the
4797 same as any other active connection. The Manager object's ActivateConnection
4798 and DeactivateConnection methods are used to start and stop a VPN connection,
4799 and the VPNConnection objects are subclasses of the ActiveConnection objects.
4800 When activating a VPN connection, pass the path of the active connection
4801 to which the VPN connection is tied in the 'specific_object' argument.
4803 Consequently, the libnm-glib API has been reworked to match this arrangement,
4804 with the VPNManager object removed, and the NMVPNConnection objects now
4805 being subclasses of NMActiveConnection.
4807 2008-03-25 Dan Williams <dcbw@redhat.com>
4809 Patch from Björn Martensen <bjoern.martensen@gmail.com>
4811 * initscript/Arch/networkmanager.in
4812 initscript/Arch/networkmanager-dispatcher.in
4813 - Updates for Arch Linux (gnome.org #523701)
4815 2008-03-25 Dan Williams <dcbw@redhat.com>
4817 * libnm-glib/nm-ip4-config.c
4818 libnm-glib/nm-active-connection.c
4819 libnm-glib/nm-access-point.c
4820 - Use nm_object_queue_notify() instead of g_object_notify()
4822 * libnm-glib/nm-device.c
4823 - (demarshal_ip4_config): distinguish between successful but missing
4824 ip4-config request, and unsuccessful and missing ip4-config request
4825 - (nm_device_get_ip4_config): don't try to demarshal a NULL ip4-config
4827 - Use nm_object_queue_notify() instead of g_object_notify()
4829 * libnm-glib/nm-device-802-11-wireless.c
4830 - (demarshal_active_ap): distinguish between successfull but missing
4831 active-ap request, and unsuccessful and missing active-ap request
4832 - (dispose, clean_up_aps): consolidate AP list and active AP clearing
4834 - (nm_device_802_11_wireless_set_wireless_enabled): add a private hook
4835 for the NMClient to notify the device that wireless is disabled,
4836 and therefore to clear the AP list and active AP
4837 - Use nm_object_queue_notify() instead of g_object_notify()
4839 * libnm-glib/nm-client.c
4840 - (poke_wireless_devices_with_rf_status): new function
4841 - (update_wireless_status): notify wireless devices of the rfkill status
4842 so they can clean up if needed
4843 - Use nm_object_queue_notify() instead of g_object_notify()
4845 2008-03-25 Dan Williams <dcbw@redhat.com>
4847 * libnm-glib/nm-object.c
4848 libnm-glib/nm-object-private.h
4849 - (nm_object_queue_notify): add helper to batch & postpone GObject notify
4850 signals to an idle handler
4851 - (nm_object_get_property): add a timeout to the D-Bus method call
4853 2008-03-25 Dan Williams <dcbw@redhat.com>
4855 * introspection/nm-device-cdma.xml
4856 introspection/nm-device-gsm.xml
4857 introspection/Makefile.am
4858 introspection/all.xml
4859 - Add introspection for CDMA and GSM devices for PropertiesChanged signal
4861 * src/nm-gsm-device.h
4863 src/nm-cdma-device.h
4864 src/nm-cdma-device.c
4866 - Implement PropertiesChanged signals
4868 * libnm-glib/nm-cdma-device.c
4869 libnm-glib/nm-cdma-device.c
4870 - Attach to PropertiesChanged signals
4872 2008-03-24 Dan Williams <dcbw@redhat.com>
4874 * libnm-glib/nm-client.c
4875 - (client_device_added_proxy): add new devices to the internal device
4876 list so they appear to clients
4878 2008-03-24 Dan Williams <dcbw@redhat.com>
4880 Massive fixup of libnm-glib to:
4881 a) have all objects (with the exception of VPN) cache their properties and
4882 update them asynchronously on PropertiesChanged signals from NM
4883 b) return internal const data for most attributes/properties instead of
4884 allocated values that the caller must free
4885 c) cache wrapped objects such that a given D-Bus path will always map to the
4886 same GObject returned by libnm-glib
4887 d) remove a few signals and move them to GObject property notifications
4888 e) match recent NM D-Bus API changes for activation/deactivation
4889 f) remove some private functions from libnm-glib headers
4891 2008-03-20 Dan Williams <dcbw@redhat.com>
4894 - (nm_manager_update_state, manager_device_state_changed,
4895 nm_manager_activate_device, connection_added_default_handler,
4896 impl_manager_activate_connection, impl_manager_deactivate_connection):
4897 queue PropertyChanged singals when the active connections change
4899 2008-03-20 Dan Williams <dcbw@redhat.com>
4901 * introspection/nm-manager.xml
4902 introspection/nm-manager-client.xml
4903 - (ActivateConnection): return the object path of the active connection
4905 - (GetActiveConnections): remove
4906 - (DeactivateConnection): new function; deactivate a currently active
4908 - Add an ActiveConnections property which returns an array of
4909 active connection object paths
4911 * introspection/nm-device.xml
4912 - (Deactivate): remove
4914 * introspection/all.xml
4915 - Add ActiveConnection introspection
4917 * introspection/nm-active-connection.xml
4918 - Add the ActiveConnection object
4920 * include/NetworkManager.h
4921 - Add the Connection.Active D-Bus interface
4923 * src/nm-device-interface.c
4924 - (impl_device_deactivate): remove
4926 * src/nm-activation-request.c
4927 src/nm-activation-request.c
4929 - Implement the Connection.Active D-Bus interface
4932 - (get_property, nm_manager_class_init): add ACTIVE_CONNECTIONS property
4933 - (nm_manager_activate_device): return the active connection path
4934 - (connection_added_default_handler, impl_manager_activate_connection):
4935 return the active connection to the caller
4936 - (add_one_connection_element, impl_manager_get_active_connections):
4938 - (impl_manager_deactivate_connection): new function; deactivate an
4941 * libnm-glib/nm-device.c
4942 libnm-glib/nm-device.h
4943 - Remove Deactivate() function
4945 2008-03-19 Dan Williams <dcbw@redhat.com>
4947 * introspection/nm-manager.xml
4948 introspection/nm-manager-client.xml
4949 - Rename the ActivateDevice method to ActivateConnection to better
4950 reflect it's usage; it's arguments get reordered a bit too
4951 - Convert GetActiveConnections method return from a struct to a dict
4953 * include/NetworkManager.h
4954 - Define the dict keys for return value of GetActiveConnections
4957 - impl_manager_activate_device -> impl_manager_activate_connection
4958 - (add_one_connection_element): return a populated hash table, not
4961 * libnm-glib/nm-client.c
4962 libnm-glib/nm-client.h
4963 - nm_client_activate_device -> nm_client_activate_connection
4964 - nm_client_free_active_connection_element -> nm_client_free_active_connections_element
4965 - (nm_client_get_active_connections): return a GSList of GHashTables,
4966 instead of the custom structures. Each element of the returned list
4967 must be freed with nm_client_free_active_connections_element()
4969 2008-03-18 Dan Williams <dcbw@redhat.com>
4971 * system-settings/plugins/ifcfg-fedora/parser.c
4972 system-settings/plugins/ifcfg-fedora/parser.h
4973 system-settings/plugins/ifcfg-fedora/plugin.c
4974 - Read settings from /etc/sysconfig/network-scripts/ instead of using
4975 profiles. DNS servers and searches must now be stored in the ifcfg
4978 2008-03-18 Tambet Ingo <tambet@gmail.com>
4980 * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Don't
4981 print out username and password, it's supposed to be a secret.
4983 * src/nm-device-802-3-ethernet.c (ppp_state_changed): Handle authentication
4984 request and set the device state accordingly.
4986 2008-03-18 Tambet Ingo <tambet@gmail.com>
4988 * src/nm-device-802-3-ethernet.c: Implement wired 802.1x authentication.
4990 * libnm-util/nm-setting-wireless-security.h: Fix a typo.
4992 2008-03-18 Dan Williams <dcbw@redhat.com>
4994 * src/vpn-manager/nm-vpn-connection.c
4995 - (get_secrets_cb): handle new GetSecrets return format
4997 2008-03-18 Dan Williams <dcbw@redhat.com>
4999 Adapt system settings service for split 802.1x.
5001 * system-settings/src/nm-system-config-interface.h
5002 - clarify return value of get_secrets()
5004 * system-settings/src/dbus-settings.c
5005 - (string_to_gvalue, destroy_gvalue, add_one_secret_to_hash): remove
5006 - (check_for_secrets): check if there actually secrets returned by a
5008 - (exported_connection_get_secrets): just return the plugin-returned
5009 hash of settings' secrets if it looks valid
5011 * system-settings/plugins/ifcfg-fedora/plugin.c
5012 - (get_secrets): add split secrets with correct format to reply hash
5014 * system-settings/plugins/ifcfg-fedora/parser.c
5015 system-settings/plugins/ifcfg-fedora/parser.h
5016 - (copy_one_cdata_secret, connection_data_copy_secrets,
5017 connection_data_free, connection_data_add): keep secrets for
5018 different settings in different hashes
5020 2008-03-17 Tambet Ingo <tambet@gmail.com>
5022 Clean up activating device deactivation.
5024 * src/nm-device.c (real_activation_cancel_handler): Remove. The same thing
5025 should be done whether the device activation gets cancelled or the device
5026 is just getting deactivated.
5027 (nm_device_activation_cancel): Remove.
5028 (nm_device_deactivate_quickly): Handle the case where device is activating.
5030 * src/nm-device-802-11-wireless.c (real_activation_cancel_handler): Remove.
5031 It does the exact same thing as real_deactivate_quickly().
5033 2008-03-17 Dan Williams <dcbw@redhat.com>
5035 Split the 802.1x bits out of the wireless-security setting so they are
5036 generalized enough for wired 802.1x to use too.
5038 * introspection/nm-exported-connection.xml
5039 - GetSecrets now returns 'a{sa{sv}}' (a hash of settings hashes) instead
5040 of just a hash of the secrets for one setting
5042 * libnm-util/nm-setting-wireless-security.c
5043 libnm-util/nm-setting-wireless-security.h
5044 - Remove 802.1x-specific stuff
5045 - Added leap-username and leap-password properties for old-school LEAP
5049 - (connection_secrets_updated_cb): take a list of updated settings names,
5052 * src/supplicant-manager/nm-supplicant-config.c
5053 src/supplicant-manager/nm-supplicant-config.h
5054 - (nm_supplicant_config_add_setting_wireless_security): remove 802.1x
5055 specific stuff; fix for updated LEAP bits; punt 802.1x stuff
5056 to nm_supplicant_config_add_setting_8021x()
5057 - (nm_supplicant_config_add_setting_8021x): add an 802-1x setting to
5058 the supplicant config
5060 * src/nm-device-802-11-wireless.c
5061 - (build_supplicant_config): pass in the 802.1x setting too, if any
5062 - (real_connection_secrets_updated): take a list of updated settings
5065 * src/nm-device-802-3-ethernet.c
5066 src/nm-cdma-device.c
5068 - (real_connection_secrets_updated_cb): take a list of updated settings
5071 * src/nm-activation-request.c
5072 src/nm-activation-request.h
5073 - (nm_act_request_class_init): the 'connection-secrets-updated' signal
5074 now passes a list of updated settings names, not just one
5075 - (update_one_setting): new function; handle one updated setting
5076 - (get_secrets_cb): handle multiple settings returned from the
5077 settings service; have to be careful of ordering here as there are
5078 some dependencies between settings (ex. wireless-security and 802.1x
5081 * src/marshallers/nm-marshal.list
5082 - new marshaller for connection-secrets-updated signal
5084 * libnm-util/nm-setting-8021x.c
5085 - Add back the 'pin' and 'psk' settings, for EAP-SIM and EAP-PSK auth
5087 - (verify): a valid 'eap' property is now required
5089 * libnm-util/nm-connection.c
5090 - (register_default_settings): add priorities to settings; there are
5091 some dependencies between settings, and during the need_secrets
5092 calls this priority needs to be respected. For example, only the
5093 wireless-security setting knows whether or not the connection is
5094 going to use 802.1x or now, so it must be asked for secrets before
5095 any existing 802.1x setting is
5096 - (nm_connection_lookup_setting_type): expose
5098 * libnm-util/nm-setting-wireless.c
5099 - (verify): should verify even if all_settings is NULL; otherwise won't
5100 catch the case where there is missing security
5102 * libnm-util/nm-setting-wireless-security.c
5103 - Remove everything to do with 802.1x
5104 - Add old-school LEAP specific properties for username and password
5105 - (need_secrets): rework LEAP secrets checking
5106 - (verify): rework for LEAP and 802.1x verification
5108 2008-03-17 Dan Williams <dcbw@redhat.com>
5110 * src/NetworkManagerPolicy.c
5111 - (auto_activate_device): always remove the current activation check
5112 from the pending activation list, otherwise when the policy gets
5113 destroyed on NM exit it will attempt to free the already freed
5116 2008-03-14 Tambet Ingo <tambet@gmail.com>
5118 * src/backends/NetworkManagerSlackware.c
5119 (nm_system_device_setup_static_ip4_config): Remove, it's unused.
5121 * src/backends/NetworkManagerSuSE.c: Add missing includes.
5123 2008-03-14 Dan Williams <dcbw@redhat.com>
5126 - (nm_device_interface_get_iface): g_object_get() will return an
5127 allocated value, so this function must not return const
5128 - (nm_device_interface_activate): free returned iface
5130 2008-03-14 Tambet Ingo <tambet@gmail.com>
5132 * libnm-util/Makefile.am: Add new files to build.
5134 * libnm-util/nm-connection.c: Register NMSetting8021x.
5136 * libnm-util/nm-setting-8021x.c
5137 * libnm-util/nm-setting-8021x.h: Implement.
5139 2008-03-14 Tambet Ingo <tambet@gmail.com>
5141 * libnm-util/Makefile.am: Add new files to build.
5143 * libnm-util/nm-connection.c: Register NMSetting8021x.
5145 * libnm-util/nm-setting-8021x.c
5146 * libnm-util/nm-setting-8021x.h: Implement.
5148 2008-03-14 Tambet Ingo <tambet@gmail.com>
5150 * src/NetworkManagerPolicy.c (auto_activate_device): Don't leak device and
5153 2008-03-14 Dan Williams <dcbw@redhat.com>
5155 * include/wireless-helper.h
5157 - One place for all the junk needed for #including wireless.h
5160 src/NetworkManagerAP.c
5163 libnm-util/nm-utils.c
5164 libnm-util/nm-setting-wireless.c
5165 libnm-glib/nm-device-802-11-wireless.c
5166 libnm-glib/nm-access-point.c
5167 libnm-glib/libnm-glib-test.c
5168 - include wireless-helper.h, not iwlib.h
5171 - Don't need libiw really, just need to check for wireless.h
5173 * src/kernel-types.h
5174 - Remove; used types moved into wpa.c
5176 * src/nm-device-802-11-wireless.c
5177 - (nm_device_802_11_wireless_update_signal_strength,
5178 real_get_generic_capabilities, nm_device_802_11_wireless_get_mode,
5179 nm_device_802_11_wireless_set_mode,
5180 nm_device_802_11_wireless_get_frequency,
5181 nm_device_802_11_wireless_get_ssid,
5182 nm_device_802_11_wireless_set_ssid,
5183 nm_device_802_11_wireless_get_bitrate,
5184 nm_device_802_11_wireless_get_bssid,
5185 nm_device_802_11_wireless_disable_encryption): use ioctl() directly
5186 instead of iwlib functions
5188 2008-03-14 Dan Williams <dcbw@redhat.com>
5190 * src/ppp-manager/nm-ppp-manager.c
5191 - (impl_ppp_manager_need_secrets): since it's asynchronous now, it
5192 should only take the DBusGMethodInvocation argument, not user/pass
5193 too. With dbus-glib, async functions only take 2 C arguments since
5194 the real dbus method arguments get passed back with
5195 dbus_g_method_return()
5197 2008-03-13 Tambet Ingo <tambet@gmail.com>
5199 * system-settings/plugins/ifcfg-suse/plugin.c (update_default_routes):
5200 Adapt the changes of NMSettingIP4Config.
5202 2008-03-13 Dan Williams <dcbw@redhat.com>
5204 * src/NetworkManagerUtils.c
5205 src/NetworkManagerUtils.h
5206 - (nm_ether_ntop): replacement for iw_ether_ntop()
5208 * src/NetworkManagerAP.c
5209 src/nm-device-802-11-wireless.c
5210 src/nm-device-802-3-ethernet.c
5211 - s/iw_ether_ntop/nm_ether_ntop/g
5213 2008-03-13 Dan Williams <dcbw@redhat.com>
5215 * src/NetworkManagerPolicy.c
5216 - (update_routing_and_dns): never set the default route through an
5217 IPv4LL addressed device
5219 2008-03-13 Dan Williams <dcbw@redhat.com>
5221 * NetworkManagerUtils.c
5222 NetworkManagerUtils.h
5223 - Remove NMSock stuff
5224 - Remove the completion stuff
5229 NetworkManagerSystem.c
5231 nm-device-802-11-wireless.c
5232 nm-device-802-3-ethernet.c
5233 - Remove NMSock and completion stuff
5234 - Remove nm_ioctl_info()
5236 2008-03-12 Dan Williams <dcbw@redhat.com>
5239 - (merge_ip4_config): avoid duplicates
5241 2008-03-12 Dan Williams <dcbw@redhat.com>
5243 * libnm-util/nm-setting-ip4-config.c
5244 libnm-util/nm-setting-ip4-config.h
5245 - Remove 'manual' and 'autoip' properties
5246 - Add 'method' property
5247 - (verify): fix verification with 'method'
5248 - (finalize): free 'method'
5249 - (set_property, get_property, nm_setting_ip4_config_class_init): fix
5253 - (real_act_stage3_ip_config_start): check IP4Config method
5254 - (nm_device_new_ip4_autoip_config): add a note about not sucking in
5256 - (merge_ip4_config): IP settings are valid with DHCP too
5257 - (real_act_stage4_get_ip4_config): handle all IP4Config methods
5258 - (real_act_stage4_ip_config_timeout): don't do autoip on DHCP timeout
5260 * src/nm-device-802-11-wireless.c
5261 - (real_act_stage3_ip_config_start): remove; autoip only on demand
5262 - (real_act_stage4_get_ip4_config): just chain up to parent; autoip
5265 * system-settings/plugins/ifcfg-fedora/parser.c
5266 system-settings/plugins/ifcfg-suse/parser.c
5267 - (make_ip4_setting): fix up for 'method'
5269 2008-03-12 Dan Williams <dcbw@redhat.com>
5271 * system-settings/plugins/ifcfg-fedora/parser.c
5272 system-settings/plugins/ifcfg-fedora/parser.h
5273 - (get_ifcfg_name): ignore more file suffixes
5274 - (is_wireless_device): fix check for ifcfgs that have no TYPE
5276 2008-03-12 Dan Williams <dcbw@redhat.com>
5279 - Bring in the bits of gnome-common we actually use (all 15 lines)
5281 2008-03-12 Dan Williams <dcbw@redhat.com>
5283 * system-settings/plugins/ifcfg-fedora/plugin.c
5284 - (write_auto_wired_connection): new function; write out an auto
5285 wired connection file since the applet isn't doing it any more
5286 - (reload_all_connections): write out the auto wired connection file
5287 if there aren't any wired connections already
5288 - (init): don't leak a GError
5290 2008-03-12 Dan Williams <dcbw@redhat.com>
5292 * src/nm-device-interface.c
5293 - (nm_device_interface_activate): print the ID of the connection
5294 that's about to be activated
5296 2008-03-12 Dan Williams <dcbw@redhat.com>
5298 Harmonize the 802.11 bitrate API
5300 * introspection/nm-access-point.xml
5301 - 'Rate' -> 'MaxBitrate'; clarify units
5303 * introspection/nm-device-802-11-wireless.xml
5304 - Clarify units of 'Bitrate'
5306 * src/NetworkManagerAP.c
5307 src/NetworkManagerAP.h
5308 - (set_property, get_property, nm_ap_class_init): rename 'rate'
5309 property to 'max-bitrate'
5310 - (foreach_property_cb): convert rate to Kb/s
5312 * src/nm-device-802-11-wireless.c
5313 - (nm_device_802_11_wireless_get_bitrate): return rate in Kb/s
5315 * libnm-glib/nm-access-point.c
5316 libnm-glib/nm-access-point.h
5317 - 'rate' -> 'max-bitrate'
5320 libnm-glib/libnm-glib-test.c
5321 - Fix up for these changes
5323 2008-03-12 Dan Williams <dcbw@redhat.com>
5326 - (nm_device_set_ip4_config): don't send property notifications when
5327 the ip4 config is set to NULL; it causes a PropertyChanged signal
5328 which dbus-glib can't parse because the value is NULL, which isn't
5329 a legal object path. Setting the IP4 config to NULL is only
5330 valid when deactivating a device anyway, so the device state change
5331 will alert listeners that the ip4 config is invalid.
5333 2008-03-12 Dan Williams <dcbw@redhat.com>
5335 * src/nm-properties-changed-signal.c
5336 - (add_to_string): better handling of NULL objects
5338 2008-03-12 Dan Williams <dcbw@redhat.com>
5340 Move the 'carrier' property from NMDevice to NMDevice8023Ethernet;
5341 convert the libnm-glib NMDevice8023Ethernet to cached properties
5343 * introspection/nm-device-802-3-ethernet.xml
5344 - New 'Carrier' property
5345 - New 'PropertiesChanged' signal
5347 * introspection/nm-device.xml
5348 - Remove 'Carrier' property
5349 - Remove 'CarrierChanged' signal
5351 * src/nm-device-interface.c
5352 src/nm-device-interface.h
5353 - (nm_device_interface_init): remove 'carrier' property and
5354 'carrier-changed' signal
5358 - (nm_device_get_carrier, nm_device_set_carrier): remove
5359 - (nm_device_activate_stage5_ip_config_commit): don't bother updating
5360 the link here; wired device will handle that
5361 - (handle_dhcp_lease_change): don't bother updating link here
5362 - (get_property, nm_device_class_init): remove carrier property
5364 * src/nm-device-802-11-wireless.c
5365 - (real_update_link, nm_device_802_11_wireless_class_init): remove
5366 real_update_link(); wireless devices don't use carrier at all
5367 - (link_timeout_cb, supplicant_iface_state_cb_handler,
5368 supplicant_iface_connection_state_cb_handler,
5369 supplicant_mgr_state_cb_handler): remove anything to do with carrier
5371 * src/nm-device-802-3-ethernet.c
5372 src/nm-device-802-3-ethernet.h
5373 - (nm_device_802_3_ethernet_carrier_on,
5374 nm_device_802_3_ethernet_carrier_off, constructor): use set_carrier()
5375 instead of nm_device_set_carrier()
5376 - (device_state_changed): update link from sysfs on activation;
5377 replaces real_update_link()
5378 - (real_update_link): remove, replaced by device_state_changed()
5379 - (nm_device_802_3_ethernet_get_carrier, set_carrier): new functions
5380 - (nm_device_802_3_ethernet_get_speed): move up with other getters/setters
5381 - (real_get_generic_capabilities, real_can_interrupt_activation): use
5382 new get_carrier function
5383 - (get_property): add 'carrier' property
5384 - (nm_device_802_3_ethernet_class_init): add 'carrier' property and
5385 hook into property-changed signal helper
5387 * src/NetworkManagerPolicy.c
5388 - (device_carrier_changed): will only ever be called with a wired device
5389 - (device_added): only hook up to carrier-changed for wired devices
5391 * libnm-glib/nm-device.c
5392 libnm-glib/nm-device.h
5393 - (constructor, nm_device_class_init): remove carrier-changed signal
5394 - (device_carrier_changed_proxy): remove; unused
5395 - (nm_device_get_carrier): remove; carrier a property of wired devices
5397 * libnm-glib/nm-device-802-3-ethernet.c
5398 libnm-glib/nm-device-802-3-ethernet.h
5399 - Convert to cached properties like AP and Wireless objects
5400 - (nm_device_802_3_ethernet_get_hw_address): now returns a 'const char *'
5401 instead of a 'char *', return value should not be freed
5402 - (nm_device_802_3_ethernet_get_carrier): return current carrier status
5403 - (constructor): hook into properties-changed helper
5404 - (set_property, get_property): new functions
5405 - (nm_device_802_3_ethernet_class_init): export GObject properties
5408 - (detail_device): strdup the wired hardware address too since it's
5411 * libnm-glib/libnm-glib-test.c
5412 - (dump_wired): strdup the wired hardware address too since it's
5415 2008-03-12 Dan Williams <dcbw@redhat.com>
5417 * libnm-util/nm-setting-ip4-config.c
5418 libnm-util/nm-setting-ip4-config.h
5419 - (set_property, get_property, nm_setting_ip4_config_class_init): add
5420 the 'autoip' property from the spec
5422 2008-03-11 Dan Williams <dcbw@redhat.com>
5424 * src/backends/NetworkManagerGeneric.c
5425 src/backends/NetworkManagerGeneric.h
5426 - (nm_generic_device_get_use_dhcp): remove
5428 2008-03-11 Dan Williams <dcbw@redhat.com>
5431 - (nm_device_deactivate): don't need to munge DNS here; that gets done
5432 already in nm_device_set_ip4_config()
5433 - (handle_dhcp_lease_change): fail the device if setting the IP4Config
5434 due to a DHCP rebind fails
5435 - (nm_device_set_ip4_config): send property notifications when the
5437 - (get_property): only report IP4Config property during valid states
5439 * src/NetworkManagerPolicy.c
5440 - (update_routing_and_dns): ignore devices that don't have an ip4
5441 config; add parameter 'force_update' to allow callers to specify
5442 that changes should be made even if the default device doesn't change
5443 - (device_ip4_config_changed): update DNS and routing when the device's
5444 IP4Config changes, like for DHCP updates
5445 - (device_added): listen for ip4-config property changes
5447 2008-03-11 Dan Williams <dcbw@redhat.com>
5449 Fix address handling as a result of DHCP rebind/renew/reboot.
5451 * src/NetworkManagerSystem.c
5452 - (check_one_address): delete an address if it doesn't match a given
5453 one for the same interface
5454 - (nm_system_device_set_from_ip4_config): don't flush the default route,
5455 be smarter about flushing addresses (only flush ones that don't
5456 match the one we're about to apply)
5458 * src/backends/NetworkManagerDebian.c
5459 src/backends/NetworkManagerSuSE.c
5460 src/backends/NetworkManagerArch.c
5461 src/backends/NetworkManagerSlackware.c
5462 src/backends/NetworkManagerRedHat.c
5463 src/backends/NetworkManagerPaldo.c
5464 src/backends/NetworkManagerFrugalware.c
5465 src/backends/NetworkManagerGentoo.c
5466 - (nm_system_delete_default_route): remove
5468 * src/backends/NetworkManagerGeneric.c
5469 src/backends/NetworkManagerGeneric.h
5470 - (nm_generic_enable_loopback): fix the loopback device label
5471 - (nm_generic_delete_default_route): remove; no longer used
5473 2008-03-11 Dan Williams <dcbw@redhat.com>
5475 * src/nm-device-interface.h
5476 - Delimit property name words with '-', otherwise g_object_notify()
5477 doesn't work the way we expect
5479 2008-03-11 Tambet Ingo <tambet@gmail.com>
5481 * src/nm-hal-manager.c (create_device_and_add_to_list): Don't ignore USB devices.
5483 2008-03-11 Dan Williams <dcbw@redhat.com>
5485 * src/NetworkManagerPolicy.c
5486 - (update_routing_and_dns): don't change anything if the default device
5487 hasn't changed; print something out when switching the default route
5490 2008-03-10 Tambet Ingo <tambet@gmail.com>
5494 * src/ppp-manager/nm-ppp-manager.c (create_pppd_cmd_line): Use PPPoE service
5495 setting. Use "nic-$eth".
5497 * src/NetworkManagerPolicy.c (auto_activate_device): Move the check of whether
5498 the device is activating here to fix a race condition.
5500 * src/ppp-manager/nm-pppd-plugin.c (get_credentials): Implement.
5502 * src/ppp-manager/nm-ppp-manager.c (impl_ppp_manager_need_secrets): Implement.
5503 (ppp_watch_cb): Emit a signal to notify pppd is not running anymore.
5504 (nm_ppp_manager_start): Take activation request instead of connection, we might
5505 need it for asking secrets.
5506 (nm_ppp_manager_update_secrets): Implement.
5508 * src/nm-serial-device.c (real_act_stage2_config): Send activation request to
5509 ppp manager start. It might be needed for asking secrets.
5511 * src/nm-device-802-3-ethernet.c (real_connection_secrets_updated): Implement.
5512 (ppp_state_changed): Handle pppd daemon disappearing.
5513 (pppoe_stage2_config): Send activation request to ppp manager start.
5515 * libnm-util/nm-setting-pppoe.c (nm_setting_pppoe_class_init): Fix a typo.
5517 * introspection/nm-ppp-manager.xml: Make NeedSecrets method async, return only
5518 username and password.
5520 2008-03-10 Dan Williams <dcbw@redhat.com>
5523 - (handle_dhcp_lease_change): apply an IP4 config to a device in
5524 response to a DHCP lease change
5525 - (dhcp_state_changed): handle DHCP lease changes while activated
5526 - (nm_device_set_ip4_config): remove a previously set named config
5527 when setting an ip4 config
5529 2008-03-10 Dan Williams <dcbw@redhat.com>
5531 * src/nm-serial-device.c
5532 - (nm_serial_device_send_command): report errno on error
5533 - (get_reply_got_data): limit the size of the overall buffer
5534 - (wait_for_reply_info_destroy): destroy result string
5535 - (wait_for_reply_got_data): append received data to an overall buffer
5536 until timeout, filled buffer, or error instead of keeping a per-call
5537 buffer. Some devices send data slowly enough that this function
5538 gets called multiple times for the same command stream.
5539 - (nm_serial_device_wait_for_reply): initialize overall buffer for
5540 wait_for_reply_got_data() here
5542 2008-03-10 Dan Williams <dcbw@redhat.com>
5544 * src/nm-cdma-device.c
5545 - (do_dial, init_modem): handle errors from
5546 nm_serial_device_send_command_string()
5548 * src/nm-gsm-device.c
5549 - (do_dial, manual_registration, automatic_registration_get_network,
5550 automatic_registration, enter_pin, check_pin, init_modem): handle
5551 errors from nm_serial_device_send_command_string()
5553 2008-03-10 Dan Williams <dcbw@redhat.com>
5555 Patch based on ideas suggested by Bas Zoetekouw <bas@debian.org>
5557 * src/named-manager/nm-named-manager.c
5558 - (compute_searches): prefer searches before domains
5559 - (compute_domain): new function
5560 - (rewrite_resolv_conf): write out the 'domain' and 'searches' options
5561 - (merge_one_ip4_config): if there are no searches in the source config,
5562 merge domains of the source config into the target config
5563 - (compute_nameservers): make formatting of resolv.conf a bit nicer
5565 2008-03-10 Dan Williams <dcbw@redhat.com>
5567 * src/nm-serial-device.c
5568 - (get_reply_got_data): clean up indentation, shrink serial buffer
5569 - (wait_for_reply_got_data): try to handle slower serial devices where
5570 the reply is broken up into multiple reads by concatenating replies
5571 together until either an error is received or the search string is
5574 2008-03-10 Dan Williams <dcbw@redhat.com>
5577 - (nm_device_bring_down): deactivate the device if it's activating too,
5578 not just if it's already activated. This makes sure that everything
5579 from an association attempt is cleaned up (like DHCP for example)
5581 2008-03-10 Dan Williams <dcbw@redhat.com>
5583 * src/nm-serial-device.c
5584 - (config_fd): report error from TCSETA
5585 - (nm_serial_device_open): fail when config_fd() fails
5587 2008-03-10 Dan Williams <dcbw@redhat.com>
5589 * src/nm-ip4-config.c
5590 - (nm_ip4_config_init): allocate searches list
5591 - (finalize): free searches list
5593 2008-03-09 Dan Williams <dcbw@redhat.com>
5595 Patch from Bas Zoetekouw <bas@debian.org>
5597 * src/dhcp-manager/nm-dhcp-manager.c
5598 - (nm_dhcp_manager_get_ip4_config): handle domain-search option too
5600 2008-03-09 Dan Williams <dcbw@redhat.com>
5602 Patch from Bas Zoetekouw <bas@debian.org>
5604 * src/nm-ip4-config.c
5606 - (nm_ip4_config_add_search, nm_ip4_config_get_search,
5607 nm_ip4_config_get_num_searches): add 'searches' as distinct from
5608 domains. 'searches' is the correct way to store multiple search
5609 domains, whereas 'domains' is really just supposed to store one
5610 domain. Some sites abuse the DHCP 'domain-name' option to push
5611 search domains to the client.
5612 - (nm_ip4_config_add_domain): group with related functions (my patch)
5614 2008-03-09 Dan Williams <dcbw@redhat.com>
5616 * src/dhcp-manager/nm-dhcp-manager.c
5617 - (dhclient_run): send interface-specific config files to dhclient
5619 2008-03-07 Dan Williams <dcbw@redhat.com>
5621 * system-settings/plugins/ifcfg-fedora/parser.c
5622 - (is_wireless_device): new function; test a device for wireless
5624 - (parser_parse_file): if the ifcfg file doesn't have a TYPE tag,
5625 test the device for wireless extensions to determine the type
5627 2008-03-07 Dan Williams <dcbw@redhat.com>
5629 Change manager's StateChange signal to StateChanged for consistency.
5631 * introspection/nm-manager.xml
5632 - Add 'StateChanged' signal
5633 - Move 'StateChange' down to the deprecated section
5635 * src/nm-hal-manager.c
5636 - (nm_hal_manager_new): connect to 'state-changed' instead
5638 * src/NetworkManagerPolicy.c
5639 - (nm_policy_new): connect to 'state-changed' instead
5643 - (nm_manager_update_state): emit both 'state-changed' and 'state-change'
5644 - (nm_manager_class_init): add 'state-changed' and not the deprecation
5647 * libnm-glib/nm-client.c
5648 libnm-glib/nm-client.h
5649 - (constructor, nm_client_class_init, client_state_changed_proxy):
5650 track and proxy 'state-changed' instead of 'state-change'
5652 2008-03-07 Dan Williams <dcbw@redhat.com>
5654 First pass of multiple active device support. Expect bugs.
5656 * src/nm-ip4-config.c
5658 - (nm_ip4_config_get_secondary, nm_ip4_config_set_secondary): remove;
5659 there are better ways to do this in the named manager
5663 - (nm_device_can_activate): return whether the device can activate a
5664 connection right now; taking into account things like carrier state
5666 - (nm_device_get_best_auto_connection): renamed from
5667 nm_device_get_best_connection
5668 - (real_act_stage4_get_ip4_config): MTU stuff is now handled in the
5669 device subclasses themselves, so that each device can override the
5670 MTU from it's NMSetting subclass if needed
5671 - (nm_device_set_ip4_config): set MTU when setting up routes and stuff
5672 in NetworkManagerSystem.c, not here
5674 * src/named-manager/nm-named-manager.c
5675 src/named-manager/nm-named-manager.h
5676 - (nm_named_manager_name_owner_changed,
5677 nm_named_manager_dbus_connection_changed): fix for changes to
5678 rewrite_resolv_conf()
5679 - (compute_nameservers): don't need the NMNamedManager at all, remove
5681 - (merge_one_ip4_config): new function; merge ip4 configs together
5682 - (rewrite_resolv_conf): write out resolv.conf from all the stored
5683 ip4 configs; the VPN config takes precedence, then the best
5684 device config, then the rest of the configs
5685 - (get_domain_for_config): take the NMNamedManager as an argument
5686 to check whether the config is the VPN config
5687 - (add_ip4_config_to_named): fixups for removal of the 'secondary'
5688 attribute from ip4 configs
5689 - (add_all_ip4_configs_to_named): add all the configs in priority order
5690 - (remove_ip4_config_from_named): fix for changes to
5691 get_domain_for_config()
5692 - (nm_named_manager_add_ip4_config): assign the config to the right slot
5693 based on its type; callers must pass in the type now
5694 - (get_last_default_domain): remove, unused
5695 - (nm_named_manager_remove_ip4_config): handle config slots correctly
5697 * src/nm-device-802-11-wireless.c
5698 - (real_can_activate): new function
5699 - (real_get_best_auto_connection): renamed from real_get_best_connection
5700 - (real_act_stage4_get_ip4_config): handle MTU override
5702 * src/nm-device-802-3-ethernet.c
5703 - (real_can_activate): new function
5704 - (real_get_best_auto_connection): renamed from real_get_best_connection
5705 - (real_act_stage4_get_ip4_config): new function; handle MTU override
5707 * src/vpn-manager/nm-vpn-connection.c
5708 - (nm_vpn_connection_ip4_config_get): don't need to set the 'secondary'
5709 attribute on the ip4 config
5711 * src/NetworkManagerPolicy.c
5712 - (nm_policy_auto_get_best_device): remove
5713 - (nm_policy_device_change_check): remove
5714 - (update_default_route): new function; set the default route via
5715 the specified device
5716 - (get_device_priority): new function; return the priority number of
5717 a device type WRT which one should have the default route. Order is
5718 (highest to lowest) wired, wireless, GSM, CDMA.
5719 - (update_routing_and_dns): new function; determine which device should
5720 have the default route, then update the routing table and DNS
5721 - (maybe_auto_activate_device): new function; if a device is now
5722 available for activation, find out what connection it would like to
5724 - (schedule_activate_check): new function; if a device can be activated
5725 now, schedule the activation. Each device may have only one
5726 pending activation at a given time.
5727 - (device_state_changed): if activation was canceled, try again,
5728 possibly with another connection; if the device was activated,
5729 update routing and DNS; if the device was deactivated, try again
5730 with another connection
5731 - (device_carrier_changed): if there is no carrier, deactivate the
5732 device; otherwise schedule an activation check for the device
5733 - (wireless_networks_changed): schedule an activation check for the
5735 - (device_added): keep track of the signal handler IDs so they can
5736 be removed when the device goes away
5737 - (device_removed): remove any signal handlers that might be attached
5738 to the device; update routing and DNS
5739 - (schedule_activate_all): new function
5740 - (connections_added, connection_added, connection_updated): when
5741 connections change, schedule all devices for an activation check
5742 - (connection_removed): when a device is deactivated because its
5743 connection was removed, schedule another activation check for it
5744 - (nm_policy_destroy): destroy pending activations and disconnect
5745 all device signal handlers
5748 - (nm_manager_activate_device): if the device was already actived,
5750 - (deactivate_old_device): remove
5751 - (connection_added_default_handler, impl_manager_activate_device):
5752 don't deactivate other devices when activating this one
5754 * src/backends/NetworkManagerGentoo.c
5755 src/backends/NetworkManagerFrugalware.c
5756 src/backends/NetworkManagerPaldo.c
5757 src/backends/NetworkManagerRedHat.c
5758 src/backends/NetworkManagerSlackware.c
5759 src/backends/NetworkManagerArch.c
5760 src/backends/NetworkManagerSuSE.c
5761 src/backends/NetworkManagerDebian.c
5762 - (nm_system_get_mtu): remove; MTU should be provided through the
5763 distro's system settings service plugin instead
5764 - (nm_system_device_add_default_route_via_device): remove
5765 - (nm_system_device_add_default_route_via_device_with_iface): remove
5766 - (nm_system_device_replace_default_route): new function; call
5767 generic implementation
5769 * src/backends/NetworkManagerGeneric.c
5770 src/backends/NetworkManagerGeneric.h
5771 - (nm_generic_device_add_default_route_via_device,
5772 nm_generic_device_add_default_route_via_device_with_iface): remove
5773 - (nm_generic_device_replace_default_route): replace the default route
5774 with the given route via some gateway
5776 * src/NetworkManagerSystem.c
5777 src/NetworkManagerSystem.h
5778 - (nm_system_device_set_from_ip4_config): let the policy handle updates
5779 to routing and DNS; but set the MTU here
5780 - (nm_system_vpn_device_set_from_ip4_config): set the route with the
5781 ip_iface of the active device; use the standard MTU setting function
5782 - (nm_system_set_mtu): remove
5783 - (nm_system_device_set_mtu): consolidate MTU setting code in one place
5785 2008-03-07 Tambet Ingo <tambet@gmail.com>
5787 Rework the interaction between ppp manager and pppd plugin. Register a well
5788 known DBUS service in manager and let the plugin call it's methods instead
5789 of listening plugin's signals.
5791 * src/ppp-manager/nm-pppd-plugin.c: Call ppp-manager dbus methods instead
5792 of emitting signals.
5794 * src/ppp-manager/nm-ppp-manager.c: Implement dbus service here.
5796 * src/ppp-manager/Makefile.am: Build nm-ppp-manager-glue.h.
5798 * src/nm-serial-device.c (real_act_stage2_config): Pass NMConnection to
5799 nm_ppp_manager_start().
5801 * introspection/nm-ppp-manager.xml: New file.
5803 * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_get_speed): Handle
5804 the case correctly where driver is trying to send -1 for the speed, which gets
5805 casted to u16 and thus is always > 0.
5807 2008-03-07 Dan Williams <dcbw@redhat.com>
5809 * src/nm-hal-manager.c
5810 - (nm_get_device_driver_name): use net.originating_device first, fall
5811 back to physical device. HAL has deprecated physical_device.
5813 * libnm-glib/nm-device.c
5814 - (get_product_and_vendor): use net.originating_device first, fall
5815 back to physical device. HAL has deprecated physical_device.
5816 - (nm_device_update_description): s/physical_device_udi/orig_dev_udi
5818 2008-03-07 Dan Williams <dcbw@redhat.com>
5821 - (nm_netlink_get_default_handle): mistakenly removed too much code in
5822 last commit; fix that
5823 - (get_link_cache): print error string
5825 2008-03-07 Dan Williams <dcbw@redhat.com>
5828 - (nm_netlink_get_default_handle): NMNetlinkMonitor now uses libnl,
5829 don't need this hack any more (Benoit Boissinot)
5831 2008-03-06 Dan Williams <dcbw@redhat.com>
5834 - Die gnome-common, die
5836 2008-03-04 Dan Williams <dcbw@redhat.com>
5838 Patch from Michael Biebl <biebl@debian.org>
5840 * NetworkManager.pc.in
5841 - doesn't actually depend on dbus-1
5843 * libnm-util/nm-utils.h
5844 - remove unused #include <dbus/dbus.h>
5846 * libnm-glib/libnm_glib.pc.in
5847 - depends on glib and dbus-glib
5849 2008-03-02 Dan Williams <dcbw@redhat.com>
5851 * src/NetworkManagerPolicy.c
5852 - s/device_state_changed_idle_id/update_state_id/
5854 2008-03-02 Dan Williams <dcbw@redhat.com>
5858 src/nm-device-802-11-wireless.c
5859 src/nm-device-802-3-ethernet.c
5860 src/NetworkManagerPolicy.c
5861 - s/link_active/carrier
5862 - nm_device_set_active_link() -> nm_device_set_carrier()
5863 - nm_device_has_active_link() -> nm_device_get_carrier()
5865 2008-03-02 Dan Williams <dcbw@redhat.com>
5867 * system-settings/plugins/ifcfg-fedora/parser.c
5868 - (make_wireless_setting): fail connection creation on missing SSID
5870 2008-02-29 Dan Williams <dcbw@redhat.com>
5872 * src/NetworkManagerPolicy.c
5873 - (nm_policy_device_change_check): ensure that a previously active
5874 device with a system connection has a link before denying a switch
5875 to a user connection
5877 2008-02-29 Dan Williams <dcbw@redhat.com>
5879 * src/nm-device-802-11-wireless.c
5880 - (link_timeout_cb): try again if scanning; deactivate the device when
5881 activated if the link dies
5882 - (supplicant_iface_connection_state_cb_handler): bump link timeout to
5885 2008-02-29 Dan Williams <dcbw@redhat.com>
5887 * src/nm-device-802-11-wireless.c
5888 src/nm-device-802-11-wireless.h
5889 - (nm_device_802_11_wireless_reset_scan_interval): remove, unused
5890 elsewhere; fold into the sole user in nm-device-802-11-wireless.c
5891 - (device_cleanup): reset the scan interval lower when the device
5893 - (can_scan): base decision mostly off device state, not supplicant
5894 interface state since the supplicant interface state isn't a
5895 great indicator of whether the device is active or not
5896 - (request_wireless_scan): clean up; schedule the next scan here
5897 - (schedule_scan): only back the scan interval off if a new scan
5898 actually gets scheduled; and make scan intervals tighter when the
5899 device is disconnected
5900 - (supplicant_iface_state_cb_handler): fold in the bits of
5901 nm_device_802_11_wireless_reset_scan_interval() by resetting scan
5903 - (activation_success_handler): reset scan interval to something
5906 2008-02-28 Saleem Abdulrasool <compnerd@compnerd.org>
5908 reviewed by: Steev <steev@steev.net>
5911 * src/backends/NetworkManagerGentoo.c:
5912 (nm_system_restart_mdns_responder):
5913 Howl is no longer a supported mDNS provider
5915 2008-02-28 Tambet Ingo <tambet@gmail.com>
5917 Get rid of a bunch of unused distro specific functions.
5919 2008-02-28 Tambet Ingo <tambet@gmail.com>
5921 Implement suse plugin for system settings daemon.
5923 * system-settings/plugins/ifcfg-suse/*: Implement.
5925 * system-settings/plugins/Makefile.am: Add ifcfg-suse to subdirs when targeting
5928 * configure.in: Check (without failing) for gio.
5929 Create ifcfg-suse plugin's Makefile.
5931 2008-02-20 Dan Williams <dcbw@redhat.com>
5933 * libnm-util/nm-connection.c
5934 libnm-util/nm-connection.h
5935 - (nm_connection_compare): accept compare flags and pass them to the
5936 setting compare function
5938 * libnm-util/nm-setting.c
5939 libnm-util/nm-setting.h
5940 - (nm_setting_compare): accept compare flags; ignore properties that are
5943 * libnm-util/nm-setting-connection.c
5944 libnm-util/nm-setting-wireless.c
5945 libnm-util/nm-setting-ppp.c
5946 libnm-util/nm-setting-wired.c
5947 - Mark some setting properties as ignorable when doing a fuzzy compare
5950 - (device_activation_precheck): use exact compare
5952 2008-02-20 Dan Williams <dcbw@redhat.com>
5954 * src/NetworkManagerPolicy.c
5955 - (nm_policy_device_change_check): get scope off the connection, not
5956 using the manager helper
5960 - (get_scope_for_proxy): rename from get_type_for_proxy()
5961 - (connection_get_settings_cb): set scope and path on connection, not
5962 using GObject data items
5963 - (get_connection_for_proxy): don't need to return path, since that
5964 can be gotten from the connection
5965 - (get_connection_for_proxy): get path off the connection, not from
5967 - (connection_removed_cb, connection_updated_cb): don't need to get
5968 path from get_connection_for_proxy(); get scope off the connection
5969 instead of using GObject data items
5970 - (connection_added_default_handler, add_one_connection_element): use
5971 nm_connection_get_path() not nm_manager_get_connection_dbus_path()
5972 - (nm_manager_get_connection_dbus_path): remove
5973 - (nm_manager_get_connection_scope): remove
5975 2008-02-20 Dan Williams <dcbw@redhat.com>
5977 * Global rename of NMConnectionSettings -> NMExportedConnection to cut down
5980 * Add 'path' and 'scope' properties to NMConnection since both NM and the
5981 applet were having to hack this in anyway. Remove the 'path' stuff from
5982 NMExportedConnection
5984 * Internally rename NMConnectionType -> NMConnectionScope
5986 * Provide default implementations of the 'get_id' and 'get_settings' methods
5987 of NMExportedConnection
5989 2008-02-15 Dan Williams <dcbw@redhat.com>
5991 * src/nm-device-802-11-wireless.c
5992 - (device_cleanup): release the AP list here too so that the AP list
5993 doesn't survive across suspend/resume and up/down. There is some
5994 room for optimization, for example blow the list away when the card
5995 brought back up, but only if the device has only been down for a
5998 2008-02-15 Dan Williams <dcbw@redhat.com>
6000 * src/nm-hal-manager.c
6001 - (modem_device_creator): recognize new HAL modem capabilities
6003 2008-02-12 Dan Williams <dcbw@redhat.com>
6005 * system-settings/plugins/ifcfg-fedora/plugin.c
6006 - (watch_path): handle IN_DELETE_SELF too
6007 - (handle_connection_changed): notify when removing a connection
6008 - (stuff_changed): don't warn on unknown inotify watches; handle the
6009 case of a file moving out of the profile directory
6011 2008-02-12 Dan Williams <dcbw@redhat.com>
6013 * system-settings/plugins/ifcfg-fedora/parser.c
6014 - (make_ip4_setting): bring IPv4 setting handling more up to spec
6016 2008-02-12 Dan Williams <dcbw@redhat.com>
6018 * libnm-util/nm-utils.c
6019 - (nm_utils_convert_uint_array_to_string): don't die on NULL array, it's
6020 just any empty array
6022 2008-02-12 Dan Williams <dcbw@redhat.com>
6024 * system-settings/src/nm-system-config-interface.c
6025 system-settings/src/nm-system-config-interface.h
6026 - (load_connections): get_connections() should now return an allocated
6027 GSList that the system settings service will free
6029 * system-settings/plugins/ifcfg-fedora/plugin.c
6030 system-settings/plugins/ifcfg-fedora/parser.h
6031 system-settings/plugins/ifcfg-fedora/parser.c
6032 - Fix up inotify issues; handle keys-* files, handle new files appearing
6033 in the profile directory, handle resolv.conf file changes
6035 2008-02-10 Dan Williams <dcbw@redhat.com>
6037 * src/nm-device-802-3-ethernet.c
6038 - (real_bring_up): save the supplicant interface state signal id
6039 - (real_bring_down): disconnect from the supplicant interface state
6042 2008-02-07 Dan Williams <dcbw@redhat.com>
6044 * initscript/RedHat/NetworkManager.in
6045 initscript/RedHat/NetworkManagerDispatcher.in
6046 - Add new-style LSB init headers
6048 2008-02-07 Dan Williams <dcbw@redhat.com>
6050 * system-settings/src/dbus-settings.c
6051 system-settings/src/dbus-settings.h
6052 - (add_one_secret_to_hash): copy secrets out of the plugin-returned hash
6054 - (connection_settings_get_secrets): consolidate error returns into
6055 one place; use the new get_secrets() plugin interface function to
6056 get secrets from the plugin itself rather than using GObject data
6059 * system-settings/src/main.c
6060 - (connection_added_cb, connection_removed_cb, free_plugin_connections,
6061 load_connections): keep a private list of the plugin-returned
6062 connections, don't use the plugin's GSList
6064 * system-settings/plugins/ifcfg-fedora/plugin.c
6065 - (watch_path): watch the path, not the filename (duh)
6066 - (reload_all_connections): use the direct hash/equal functions; the
6067 ones for int aren't appropriate here
6068 - (get_secrets, system_config_interface_init): implement the
6069 get_secrets() function
6070 - (build_one_connection, find_connection_by_path): ifcfg file path is
6071 now in the connection's ConnectionData instead of being a GObject
6073 - (handle_profile_item_changed): ifcfg file path is now in the
6074 connection's ConnectionData instead of being a GObject data property;
6075 be sure to copy secrets over from the new connection to the existing
6076 connection when updating the connection's settings
6077 - (init): sc_plugin_inotify_init() returns success/fail, not the inotify
6080 * system-settings/plugins/ifcfg-fedora/parser.c
6081 system-settings/plugins/ifcfg-fedora/parser.h
6082 - (connection_data_get, copy_one_cdata_secret, clear_one_cdata_secret,
6083 connection_data_copy_secrets, connection_data_free,
6084 connection_data_add): new functions; connection data manipulation
6085 - (make_wireless_security_setting): stuff secrets into the
6086 connection data, not as GObject data items; make sure to close
6088 - (wireless_connection_from_ifcfg, wired_connection_from_ifcfg): add
6089 connection data to the connection
6091 2008-02-07 Dan Williams <dcbw@redhat.com>
6093 * system-settings/src/nm-system-config-interface.c
6094 system-settings/src/nm-system-config-interface.h
6095 - Add a get_secrets() interface function to retrieve secrets for a
6096 specific setting of a specific connection. Document the interface
6099 2008-02-07 Dan Williams <dcbw@redhat.com>
6101 * src/nm-device-802-11-wireless.c
6102 - (handle_auth_or_fail): new function; consolidate device activation
6103 failure check after a certain number of failures getting secrets
6104 - (supplicant_connection_timeout_cb, real_act_stage2_config,
6105 real_act_stage4_ip_config_timeout): use handle_auth_or_fail() to fail
6106 the connection if secrets were requested more than a few times
6107 - (real_act_stage3_ip_config_start): don't clear the wireless secrets
6108 tries here; otherwise they are cleared before the IP configure
6109 timeout, which happens with open system WEP when key is wrong
6110 - (activation_success_handler): clear wireless secrets tries here too
6112 2008-02-07 Dan Williams <dcbw@redhat.com>
6114 * src/NetworkManagerPolicy.c
6115 - (connection_updated): clear invalid tag when connection gets updated
6116 to allow that connection to be tried again
6117 - (nm_policy_new): save signal ids so they can be disconnected when
6118 the policy is destroyed
6119 - (nm_policy_destroy): stop any in-progress state change idle handler,
6120 and disconnect all signals from the manager object so that none
6121 of the policy functions gets called after the policy is destroyed
6123 2008-02-06 Dan Williams <dcbw@redhat.com>
6126 - (finalize): remove devices a bit earlier; clean up system settings
6128 - (nm_manager_name_owner_changed): clean up system settings poke when
6129 the service appears, and try to restart it if it fails
6130 - (poke_system_settings_daemon_cb): try to get the system settings
6131 service started through D-Bus service activation
6132 - (initial_get_connections): start the system settings daemon if it's
6135 2008-02-05 Dan Williams <dcbw@redhat.com>
6137 * src/supplicant-manager/nm-supplicant-config.c
6138 - (nm_supplicant_config_add_setting_wireless): send scan_ssid=1 for
6139 broadcast networks too
6141 2008-02-04 Dan Williams <dcbw@redhat.com>
6143 * system-settings/plugins/ifcfg-fedora/parser.c
6144 - (make_wireless_security_setting): fix spelling; unencrypted networks
6145 need key_mgmt set too
6146 - (parser_parse_file): validate ifcfg file name and don't try to parse
6147 .bak files; ensure that an error is set whenever NULL gets returned
6149 2008-02-04 Dan Williams <dcbw@redhat.com>
6151 * system-settings/src/Makefile.am
6152 - Install D-Bus service activation file for the system settings
6155 * system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service
6156 - D-Bus service activation file for system settings service
6158 2008-02-04 Dan Williams <dcbw@redhat.com>
6160 * system-settings/src/main.c
6161 - (parse_config_file): parse a config file
6162 - (main): accept --config option and read plugins from config file
6164 2008-02-04 Dan Williams <dcbw@redhat.com>
6166 * system-settings/plugins/ifcfg-fedora/plugin.c
6167 - Change reported name to 'ifcfg-fedora'
6168 - Use IFCFG_PLUGIN_NAME
6170 * system-settings/plugins/ifcfg-fedora/plugin.c
6171 - Remove PLUGIN_NAME, use IFCFG_PLUGIN_NAME instead
6173 2008-02-04 Dan Williams <dcbw@redhat.com>
6175 * system-settings/plugins/ifcfg-fedora/parser.c
6176 - (get_ifcfg_name): new function; factor out ifcfg name finding code
6177 - (make_connection_setting): use get_ifcfg_name()
6178 - (make_wireless_security_setting): handle shadow key files
6179 - (get_one_wep_key): treat empty string as NULL
6181 2008-02-04 Dan Williams <dcbw@redhat.com>
6183 * src/supplicant-manager/nm-supplicant-manager.c
6184 - (poke_supplicant_cb): reschedule the poke as a timeout, don't let
6185 glib automatically reschedule
6186 - (nm_supplicant_manager_init): immediately try to start the supplicant
6187 - (nm_supplicant_manager_name_owner_changed): immediately try to restart
6190 2008-02-01 Dan Williams <dcbw@redhat.com>
6192 * src/NetworkManagerPolicy.c
6193 - (device_state_changed): schedule a change check when a device gets
6194 deactivated so something happens if you disconnect GSM/CDMA
6196 2008-01-31 Dan Williams <dcbw@redhat.com>
6198 * src/nm-device-802-11-wireless.h
6199 src/nm-device-802-11-wireless.c
6200 - (ap_list_get_ap_by_ssid, is_associated,
6201 nm_device_802_11_wireless_ap_list_get_ap_by_ssid,
6202 nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): remove
6203 - (nm_device_802_11_wireless_get_activation_ap): collapse
6204 nm_device_802_11_wireless_ap_list_get_ap_by_obj_path() into this
6207 2008-01-30 Dan Williams <dcbw@redhat.com>
6209 * system-settings/plugins/ifcfg
6210 * system-settings/plugins/ifcfg-fedora
6211 - Move the ifcfg plugin to ifcfg-fedora
6213 2008-01-24 Dan Williams <dcbw@redhat.com>
6215 * libnm-glib/nm-device-802-11-wireless.c
6216 - (get_access_point): move the "/" check here; check for invalid path
6218 - (nm_device_802_11_wireless_set_active_ap): leave the "/" check up
6219 to get_access_point()
6220 - (access_point_added_proxy, access_point_removed_proxy): don't try
6221 to send signals for non-existent access points
6223 2008-01-24 Dan Williams <dcbw@redhat.com>
6225 * libnm-glib/nm-device-802-11-wireless.c
6226 - (nm_device_802_11_wireless_set_active_ap): path of "/" means no AP
6228 2008-01-23 Dan Williams <dcbw@redhat.com>
6230 * libnm-glib/libnm_glib.c
6231 - (libnm_glib_init): make thread joinable
6232 - (libnm_glib_ctx_free): join thread on exit to clean up memory
6234 2008-01-23 Dan Williams <dcbw@redhat.com>
6236 * test/libnm_glib_test.c
6237 - (signal_handler, setup_signals): trap SIGINT and SIGTERM
6238 - (main): set up signal handlers; call libnm_glib_shutdown
6240 2008-01-21 Dan Williams <dcbw@redhat.com>
6242 * include/NetworkManager.h
6243 - Add CDMA mobile broadband card device type
6245 * src/nm-hal-manager.c
6246 - (modem_device_creator): handle both CDMA and GSM modems; the device
6247 must now be tagged with 'cdma' or 'gsm' capability
6249 * src/nm-cdma-device.c
6250 src/nm-cdma-device.h
6252 - Add the CDMA mobile broadband card device class
6254 * libnm-util/nm-connection.c
6255 - (register_default_settings): add NMSettingCdma
6257 * libnm-util/nm-setting-cdma.c
6258 libnm-util/nm-setting-cdma.h
6259 libnm-util/Makefile.am
6260 - Add the CDMA mobile broadband card setting class
6262 * libnm-glib/nm-cdma-device.c
6263 libnm-glib/nm-cdma-device.h
6264 libnm-glib/Makefile.am
6265 - Add the CDMA mobile broadband card GLib proxy class
6267 * libnm-glib/nm-client.c
6268 - (get_device): handle CDMA devices too
6270 2008-01-21 Dan Williams <dcbw@redhat.com>
6272 * src/ppp-manager/nm-ppp-manager.c
6273 - (ip4_config_get): set peer address too
6275 * src/ppp-manager/nm-pppd-plugin.c
6276 - (nm_ip_up): try harder to get the peer's address
6278 * src/NetworkManagerSystem.c
6279 - (nm_system_device_set_from_ip4_config): if the IP4Config has a peer
6280 address, use that too. Otherwise, some PPP connections won't work.
6282 2008-01-19 Dan Williams <dcbw@redhat.com>
6284 * src/NetworkManagerPolicy.c
6285 - (nm_policy_device_change_check): system connections override user
6286 connections; don't activate a user connection if there's a currently
6287 active system connection, and new, better system connections always
6288 interrupt user connections
6290 2008-01-19 Dan Williams <dcbw@redhat.com>
6293 - (nm_manager_get_connection_type): new function
6295 2008-01-19 Dan Williams <dcbw@redhat.com>
6297 * src/nm-device-802-11-wireless.c
6298 - (real_get_best_connection): collapse find_best_connection() into this
6301 2008-01-19 Dan Williams <dcbw@redhat.com>
6303 * src/nm-device-802-3-ethernet.c
6304 - (real_get_best_connection): collapse find_best_connection() into this
6307 2008-01-18 Dan Williams <dcbw@redhat.com>
6309 * src/nm-device-802-3-ethernet.c
6310 - (find_best_connection): check MAC address too
6311 - (real_get_best_connection): let autoconnect=True connections activate
6312 for devices that don't have carrier detection
6314 * src/nm-device-802-11-wireless.c
6315 - (find_best_connection): check MAC address too
6317 2008-01-18 Dan Williams <dcbw@redhat.com>
6319 * system-settings/plugins/ifcfg/parser.c
6320 - (make_connection_setting): interpret ON_BOOT=y as 'autoconnect=True'
6322 2008-01-17 Dan Williams <dcbw@redhat.com>
6324 * src/nm-device-802-3-ethernet.c
6325 - (nm_device_802_3_ethernet_carrier_on,
6326 nm_device_802_3_ethernet_carrier_off): ignore any spurious netlink
6327 carrier events that might come in for devices that don't support
6330 2008-01-17 Dan Williams <dcbw@redhat.com>
6332 * src/nm-device-interface.c
6333 - (nm_device_interface_check_connection_conflicts): need to actually
6334 get the interface, not cast to the object
6337 - (nm_device_check_connection_conflicts): need to get the device class,
6338 not cast the device to the device class
6340 2008-01-17 Dan Williams <dcbw@redhat.com>
6342 * src/nm-device-802-11-wireless.c
6343 - (real_check_connection_conflicts): ignore connections that aren't
6344 wireless connections
6346 2008-01-17 Dan Williams <dcbw@redhat.com>
6348 * src/NetworkManagerPolicy.c
6349 - (nm_policy_device_change_check): clear change check idle here
6350 - (device_change_check_done): remove
6351 - (schedule_change_check): simplify
6353 2008-01-17 Dan Williams <dcbw@redhat.com>
6356 - (check_connection_allowed): take an NMDeviceInterface instead of
6357 an NMDevice object as an argument
6358 - (nm_manager_activate_device): pass an NMDeviceInterface to
6359 check_connection_allowed()
6361 2008-01-13 Dan Williams <dcbw@redhat.com>
6363 * libnm-glib/nm-device-802-11-wireless.c
6364 - (nm_device_802_11_wireless_get_access_points): fix memory leak
6366 2008-01-12 Dan Williams <dcbw@redhat.com>
6368 * src/nm-device-802-11-wireless.c
6369 - (activation_success_handler): if a match was found in the scan list
6370 and that match is a hidden AP, update that AP's SSID
6372 2008-01-11 Dan Williams <dcbw@redhat.com>
6374 * src/NetworkManagerAP.c
6375 - (nm_ap_new_fake_from_connection): mark fake APs as fake
6377 * src/nm-device-802-11-wireless.c
6378 - (get_active_ap): do two passes over the scan list if the caller
6379 requests that hidden APs get matched too; during the second pass
6380 when matching hidden APs, ignore the SSID since hidden APs in the
6381 scan list don't have an SSID yet
6382 - (periodic_update): move some checks to
6383 nm_device_802_11_periodic_update() because not all callers need them
6384 - (nm_device_802_11_periodic_update): move some checks here from
6386 - (merge_scanned_ap): if the current AP is fake, then don't do strict
6387 matching on incoming scan results, because the fake AP's flags
6388 might be slightly different (yet still compatible) with the incoming
6389 scan result's flags and they might actually be the same AP; update
6390 the rate on merged APs too
6391 - (activation_success_handler): update the frequency of the fake AP
6392 on successful connection; match hidden APs too since if the
6393 current AP is fake, there might already be a scan result in the
6394 scan list for the desired AP, just without it's SSID filled in yet
6396 2008-01-10 Dan Williams <dcbw@redhat.com>
6398 * src/NetworkManagerAP.c
6399 - (foreach_property_cb): catch more hidden SSID formats
6401 2008-01-10 Dan Williams <dcbw@redhat.com>
6403 Fix gnome.org #464215. Requires the kernel patch titled
6404 "Introduce WEXT scan capabilities" but will handle the patch not being
6405 present, you'll just continue to have problems with hidden SSIDs when
6406 using mac80211-based drivers.
6408 * src/supplicant-manager/nm-supplicant-config.h
6409 src/supplicant-manager/nm-supplicant-config.c
6410 - (nm_supplicant_config_add_setting_wireless): new parameter to indicate
6411 whether the driver supports SSID scans or not. If it does, and if
6412 the AP is hidden, use ap_scan=1 instead of ap_scan=2
6414 * src/nm-device-802-11-wireless.c
6415 - (constructor): check whether or not the driver supports SSID scans
6416 - (build_supplicant_config): pass driver SSID scan capability when
6417 building the wireless bits of the supplicant config
6419 2008-01-09 Dan Williams <dcbw@redhat.com>
6423 - (device_activation_precheck, check_connection_complete): remove this
6424 virtual function; incomplete connections should be invalid by
6425 definition, complete-ness should be checked in the setting's
6428 * src/nm-serial-device.c
6430 - (real_check_connection_complete): remove
6432 * libnm-util/nm-setting-serial.c
6433 - (verify): new function; ensure there is a PPP setting too
6435 * libnm-util/nm-setting-gsm.c
6436 - (verify): ensure there is a serial setting too
6438 2008-01-06 Dan Williams <dcbw@redhat.com>
6440 * src/dhcp-manager/nm-dhcp-manager.c
6441 - (nm_dhcp_manager_get_ip4_config): handle DHCP-provided MTU
6444 2008-01-04 Dan Williams <dcbw@redhat.com>
6446 * src/named-manager/nm-named-manager.c
6447 - (rewrite_resolv_conf, add_ip4_config_to_named): use primary IP4Config's
6448 nameservers if the secondary config doesn't have any
6451 2008-01-02 Tambet Ingo <tambet@gmail.com>
6453 * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Mark the properties
6454 with G_PARAM_CONSTRUCT so that they get the default values.
6456 * src/nm-gsm-device.c: Add preliminary support for monitoring device. It only monitors
6457 the monitoring device and prints out the output for now. Or more precicely, doesn't
6458 do absolutely anything right now since the montoring device argument is never set.
6460 * src/nm-serial-device.c (serial_debug): Implement. It's very verbose and thus
6461 requires it's own knob to turn it on.
6462 (config_fd): Add NMSettingSerial to the arguments list.
6463 (nm_serial_device_open): Ditto.
6464 (get_reply_got_data): Ignore the terminators at the beginning of the output.
6465 (nm_serial_device_get_io_channel): Implement.
6467 * src/nm-manager.c: Add NMDBusManager to the private data of the NMManager. Asking
6468 a new reference every time (and forgetting to release it sometimes) is a pain and
6469 it's not like NMManager could work without dbus.
6470 (nm_manager_add_device): Register the added device on dbus here.
6472 * src/nm-hal-manager.c (modem_device_creator): Pass NULL for now for the monitoring
6475 * src/nm-device.c (constructor): Don't export the device here, instead export
6476 it when it's added to the NMManager's device list.
6478 2007-12-31 Dan Williams <dcbw@redhat.com>
6480 * src/nm-device-interface.c
6481 src/nm-device-interface.h
6482 - (nm_device_interface_check_connection_conflicts): new function
6486 - (nm_device_check_connection_conflicts): new function
6487 - (device_activation_precheck): don't require subclasses to implement
6488 check_connection_complete()
6489 - check_connection() -> check_connection_complete()
6491 * src/nm-device-802-11-wireless.c
6492 - (real_check_connection): remove; unused
6493 - (real_check_connection_conflicts): implement, handle lockdown for
6496 * src/nm-device-802-3-ethernet.c
6497 - (real_check_connection): remove; unused
6500 - (check_connection_allowed): new function
6501 - (nm_manager_activate_device): ensure the connection being requested
6502 is allowed to be activated
6504 * src/nm-serial-device.c
6506 - real_check_connection() -> real_check_connection_complete()
6508 2007-12-27 Dan Williams <dcbw@redhat.com>
6510 * src/nm-device-interface.c
6511 src/nm-device-interface.h
6512 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
6513 normalize and expand errors
6514 - (nm_device_interface_init): register errors so they can be marshalled
6516 - (nm_device_interface_activate): ensure that failure of activation
6521 - (device_activation_precheck): implementations of check_connection()
6522 now take a GError and must fill it in if the check fails. Return
6523 more descriptive error if the requested connection is already
6525 - (nm_device_activate): actually try to return descriptive errors on
6528 * src/nm-device-802-11-wireless.c
6529 src/nm-device-802-3-ethernet.c
6530 src/nm-serial-device.c
6532 - (real_check_connection): return more descriptive errors on failure
6534 * src/NetworkManagerPolicy.c
6535 - (nm_policy_device_change_check): print activation errors in the logs
6538 - (nm_manager_error_quark, nm_manager_error_get_type,
6539 nm_manager_class_init): new errors
6540 - (nm_manager_activate_device): handle errors
6541 - (nm_manager_error_new): removed
6542 - (wait_for_connection_expired, connection_added_default_handler,
6543 impl_manager_activate_device): better error handling
6545 2007-12-27 Dan Williams <dcbw@redhat.com>
6547 Fixes gnome.org #466954
6549 * src/supplicant-manager/nm-supplicant-settings-verify.c
6550 - Allow 'frequency' network property
6552 * src/supplicant-manager/nm-supplicant-config.c
6553 src/supplicant-manager/nm-supplicant-config.h
6554 - (nm_supplicant_config_add_setting_wireless): add 'adhoc_freq' argument
6555 for callers to specify the frequency an Ad-Hoc network should operate
6556 on. Some drivers require this to successfully create an Ad-Hoc
6559 * src/nm-device-802-11-wireless.c
6560 - (iw_freq_to_uint32): new function; convert a struct iw_freq into a
6561 guint32 value in MHz
6562 - (constructor, nm_device_802_11_wireless_get_frequency): use
6564 - (find_supported_frequency): new function; find a free supported
6565 frequency for a user-created Ad-Hoc network
6566 - (build_supplicant_config): if no frequency was specified for a user-
6567 created Ad-Hoc network, find a free one to use
6568 - (real_act_stage1_prepare): mark Ad-Hoc connections that don't have
6569 a specific object as user-created
6571 2007-12-27 Dan Williams <dcbw@redhat.com>
6573 * libnm-util/nm-utils.c
6574 libnm-util/nm-utils.h
6575 - (nm_utils_security_valid): add 'adhoc' argument and handle security
6578 2007-12-24 Dan Williams <dcbw@redhat.com>
6580 * libnm-util/nm-setting-wireless.c
6581 - (verify): add 802.11a channels 7, 8, 9, 11, 12, 16, 34, 165, 183, 184,
6582 185, 187, 188, 192, and 196
6584 2007-12-24 Dan Williams <dcbw@redhat.com>
6586 * src/nm-device-802-11-wireless.c
6587 - (nm_device_802_11_wireless_get_frequency): handle drivers that return
6588 a channel # instead of a frequency
6590 2007-12-24 Dan Williams <dcbw@redhat.com>
6592 * src/NetworkManagerAP.c
6593 src/NetworkManagerAP.h
6594 - (nm_ap_new_fake_from_connection): pass band to channel_to_freq()
6595 - (freq_to_channel): handle split band tables
6596 - (channel_to_freq): handle split band tables, take a band argument
6598 2007-12-24 Dan Williams <dcbw@redhat.com>
6600 * libnm-util/nm-setting-connection.h
6601 libnm-util/nm-setting-connection.c
6602 - Add 'lockdown' member
6604 2007-12-22 Dan Williams <dcbw@redhat.com>
6606 * libnm-util/nm-setting-wireless.c
6607 - (nm_setting_wireless_class_init): add missing 'rate' property
6610 2007-12-18 Dan Williams <dcbw@redhat.com>
6612 Base the NMNetlinkMonitor class on libnl instead of hand-rolled netlink.
6614 * src/nm-netlink-monitor.c
6615 src/nm-netlink-monitor.h
6616 - Remove handrolled netlink, use libnl instead
6618 * src/nm-device-802-3-ethernet.c
6619 - (constructor, nm_device_802_3_ethernet_carrier_off,
6620 nm_device_802_3_ethernet_carrier_on): use new names
6622 2007-12-17 Dan Williams <dcbw@redhat.com>
6625 - Bump requirement for libnl to 1.0-pre8 (which works with newer kernels
6626 and fixes memory leaks)
6629 - (nm_netlink_get_default_handle): handle new versions of libnl that
6630 automatically handle the netlink PID
6632 2007-12-17 Dan Williams <dcbw@redhat.com>
6634 Patch from Michael Biebl <biebl@debian.org>
6637 src/ppp-manager/Makefile.am
6638 - fix up install dir of pppd plugin
6639 - clean up configure.in a bit
6641 2007-12-12 Dan Williams <dcbw@redhat.com>
6643 * system-settings/src/nm-system-settings.conf
6644 - Allow non-root clients (like the applet) to read settings
6646 2007-12-10 Tambet Ingo <tambet@gmail.com>
6648 * Replace all occurences of 'UMTS' with 'GSM'.
6650 2007-12-07 Dan Williams <dcbw@redhat.com>
6652 * src/nm-serial-device.c
6653 - (real_is_up): serial devices are always "up"
6655 2007-12-07 Dan Williams <dcbw@redhat.com>
6658 src/NetworkManagerSystem.c
6659 - (new_nl_handle): ensure that the same netlink pid is never chosen
6660 twice (gnome.org #491047)
6661 - Make more robust against allocation-related failures should they occur
6663 2007-12-07 Dan Williams <dcbw@redhat.com>
6665 Noticed by Christian Persch <chpe@gnome.org>
6667 Always chain up to parent object in dispose and finalize handlers.
6670 2007-12-07 Dan Williams <dcbw@redhat.com>
6672 * src/nm-device-802-11-wireless.c
6673 - Wrap #include of linux/mii.h to fix redefined structures due to
6674 incorrect kernel headers (gnome.org #350061)
6676 2007-12-06 Tambet Ingo <tambet@gmail.com>
6678 * src/nm-umts-device.c (real_act_stage1_prepare): Flash the modem (drop DTR)
6679 before doing anything else.
6680 (init_modem): Move modem initialization here.
6682 * src/nm-serial-device.c (ppp_state_changed): React on pppd state changes.
6683 (nm_serial_device_flash): Implement.
6685 * src/ppp-manager/nm-ppp-manager.c (name_owner_changed): Fix the typoes: the state
6686 changes signal is "StateChanged" and not "Status".
6687 (ppp_exit_code, ppp_status_changed): Remove the debug output, it's working fine now.
6689 2007-12-06 Dan Williams <dcbw@redhat.com>
6691 * src/supplicant-manager/nm-supplicant-config.c
6692 - (nm_supplicant_config_add_setting_wireless_security): reorganize a bit
6693 to only send some options when they make sense; also send phase2
6694 option to the supplicant (possible fix for rh #399631)
6696 2007-12-06 Tambet Ingo <tambet@gmail.com>
6698 * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Change the
6699 arguments: This whole file shouldn't really know anything about NMDevices, it
6700 should deal only with device interfaces. Devices might have different ifaces for
6701 different stuff and this place shouldn't know anything about it.
6703 * src/NetworkManagerPolicy.c: Get rid of leftover global variable global_policy.
6704 (global_state_changed): Implement. In the current NM it's not really important,
6705 but will be required in the case of multiple active devices. (Or even better,
6706 if stuff like that gets moved out from NM).
6708 * src/vpn-manager/nm-vpn-connection.c (connection_state_changed): Don't call
6709 nm_system_device_set_from_ip4_config() directly, use nm_device_set_ip4_config()
6712 * src/nm-device.c: Add a ip_face protected member. It's used for 'multi-interface'
6713 devices like serial devices (ttyS0 and ppp0 for example).
6714 (nm_device_get_ip_iface): Implement. Default to the device iface if ip_iface is not
6716 (nm_device_set_ip_iface): Implement.
6717 (nm_device_activate_stage5_ip_config_commit): Move all the extra actions that happen
6718 after setting ip4_config from here ...
6719 (nm_device_set_ip4_config): ... to here. The reason behind it is that no other code
6720 than this function should call nm_system_device_set_from_ip4_config() because no
6721 other code has enough information on which arguments to use. So instead, other code
6722 could just set the new ip4 config using this function and everyone is happy.
6724 * src/nm-umts-device.c: Store the pending ids so that we can remove pending actions
6725 if we happen to get deactivated while something is pending.
6726 (automatic_registration): Handle the response that indicates pending network
6727 registration and wait until the pending registration is done.
6728 (real_deactivate_quickly): If there's a pending operation, cancel it.
6730 * src/nm-serial-device.c (ppp_ip4_config): Set the ip_iface when the iface is up ...
6731 (real_deactivate_quickly): ... and remove it when it's down.
6732 (nm_serial_device_get_reply): Return the timeout id so that the callers can remove
6734 (nm_serial_device_wait_for_reply): Ditto.
6736 2007-12-05 Tambet Ingo <tambet@gmail.com>
6738 * src/nm-umts-device.c (dial_done): Fix the typoes in warnings.
6739 (get_network_done): Remove newline, nm_info() does it already.
6740 (real_act_stage1_prepare): Turn the modem echo off.
6742 * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): In case of serial
6743 device, set the route to the device interface. This is a hack.
6745 * src/nm-serial-device.c (nm_serial_device_send_command_string): Only append carriage
6746 return, no need for a new-line.
6747 (ppp_ip4_config): Store the ip4 config to be set in the next stage.
6748 Change the device iface here (ugh).
6749 (real_act_stage4_get_ip4_config): Implement.
6750 (real_deactivate_quickly): Free the pending ip4 config if it's still pending.
6751 Restore the device iface.
6753 * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Do nothing if the active
6754 device is not wired or wireless (eg, automatically upped) device.
6756 * src/ppp-manager/nm-ppp-manager.c (ip4_config_get): Don't make the config secondary,
6758 (nm_ppp_manager_start): Don't let pppd to set the default route, we want to do it.
6760 * src/nm-hal-manager.c (get_creator): Make sure the device has required capability
6761 before calling it's is_device_fn().
6763 2007-12-05 Dan Williams <dcbw@redhat.com>
6765 * libnm-util/nm-utils.c
6766 - (nm_utils_register_value_transformations,
6767 nm_utils_convert_gvalue_hash_to_string): better debug output of
6768 GHashTables of GValues too
6770 2007-12-04 Dan Williams <dcbw@redhat.com>
6772 * initscript/RedHat/NetworkManager.in
6773 - No longer start named; it's D-Bus interface is going away
6775 2007-12-04 Dan Williams <dcbw@redhat.com>
6777 Patch from Michael Biebl <biebl@debian.org>
6779 * system-settings/plugins/ifcfg/Makefile.am
6780 system-settings/src/main.c
6781 system-settings/src/Makefile.am
6782 - Put system settings plugins in NM plugins dir
6784 * src/ppp-manager/Makefile.am
6785 src/ppp-manager/nm-ppp-manager.c
6786 - Move pppd plugin to NM plugins dir
6788 2007-12-04 Dan Williams <dcbw@redhat.com>
6790 * libnm-util/nm-setting-vpn-properties.h
6791 - Clarify usage of the 'data' member of the setting
6793 * libnm-util/nm-setting-vpn-properties.c
6794 - (nm_setting_vpn_properties_init): initialize the 'data' hash table
6795 - (set_property): just remove all the settings; don't recreate the has
6796 - (update_one_secret): don't need to create the hash table here since
6797 it should always be present
6799 2007-12-03 Tambet Ingo <tambet@gmail.com>
6801 Implement PIN and PUK requesting.
6803 * src/nm-umts-device.c (enter_pin_done): Request the secret again if it failed.
6804 (enter_pin): Handle PIN and PUK requests.
6805 (real_act_stage1_prepare): Clear the secret type.
6806 (real_connection_secrets_updated): Implement this class method to get
6807 notified when new secrets arrive.
6808 (nm_umts_device_class_init): Add private data back to the umts device class
6809 to store the required secret type.
6811 2007-12-01 Dan Williams <dcbw@redhat.com>
6813 * system-settings/plugins/ifcfg/parser.c
6814 - (parser_parse_file): don't try to verify NULL connections
6816 2007-12-01 Dan Williams <dcbw@redhat.com>
6818 * system-settings/src/main.c
6819 - (load_connections, add_connection_to_settings): actually export
6820 plugin-provided connections over D-Bus so NM can get them
6822 2007-12-01 Dan Williams <dcbw@redhat.com>
6824 * system-settings/plugins/ifcfg/parser.c
6825 system-settings/plugins/ifcfg/parser.h
6826 system-settings/plugins/ifcfg/plugin.c
6827 - Hook up more inotify bits (untested)
6829 2007-11-29 Dan Williams <dcbw@redhat.com>
6831 * system-settings/src/nm-system-config-interface.h
6832 system-settings/src/nm-system-config-interface.c
6833 - (nm_system_config_interface_init,
6834 nm_system_config_interface_get_connections): add
6836 * system-settings/src/main.c
6837 - (load_plugins, load_connections, main): use a GSList for plugins
6838 to ensure priority ordering
6840 * system-settings/plugins/ifcfg/parser.c
6841 - (ifcfg_error_quark): move to plugin.c, and rename
6843 * system-settings/plugins/ifcfg/plugin.h
6844 system-settings/plugins/ifcfg/plugin.c
6845 - (ifcfg_plugin_error_quark): move here from parser.c
6846 - rework connection loading and initialization
6847 - Add preliminary inotify support for network profile config file
6849 2007-11-28 Tambet Ingo <tambet@gmail.com>
6851 Merge the beginnings of the new GSM card support.
6853 * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Remove the
6854 ppp watch source before killing pppd - If this happens from g_object_unref()
6855 then the ppp manager is already destroyed by the time the watch callback runs.
6857 * src/nm-hal-manager.c: Add a device_type_name string to the device
6858 creators, so that we can print a nice human readable string when a
6861 * src/nm-umts-device.c (automatic_registration_get_network): Query
6862 for the activated network, not much is done with the result thought.
6864 * src/nm-serial-device.c (nm_serial_device_get_reply): Implement.
6865 (ppp_ip4_config): Change the device state to activated here for now.
6866 (real_check_connection): Make sure the connection includes ppp setting.
6868 * libnm-glib/nm-client.c (get_device): Handle umts devices.
6870 * libnm-glib/Makefile.am: Add the new files to build.
6872 * libnm-glib/nm-umts-device.c:
6873 * libnm-glib/nm-umts-device.h: Implement.
6875 2007-11-26 Tambet Ingo <tambet@gmail.com>
6877 * src/nm-umts-device.c (automatic_registration_get_network): For now, dial
6878 immediately, nm_serial_device_get_reply() isn't implemented correctly yet.
6880 * src/nm-serial-device.c (wait_for_reply_info_destroy): Don't try to remove
6881 the timeout source - this function is only called when the timeout source has
6883 (nm_serial_device_wait_for_reply): Allocate the duplicate responses array
6884 to be big enough to contain the terminating zero element as well.
6885 The timeout argument is meant to be in seconds now.
6886 (real_deactivate_quickly): Implement.
6888 * src/NetworkManager.conf: Allow root to own
6889 "org.freedesktop.NetworkManager.PPP", deny it for everybody else.
6891 * libnm-util/nm-setting-umts.c: Network type and band properties are ints,
6892 (not unsigned ints).
6894 * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Fix a
6895 small issue with parity bounds - capital letters have lower ascii codes
6896 than lower case letters.
6898 * libnm-util/nm-connection.c (register_default_settings): Register serial
6901 2007-11-22 Tambet Ingo <tambet@gmail.com>
6903 Remove the "index" property from devices as not all device types have this.
6905 * include/NetworkManager.h (NM_DBUS_PATH_DEVICE): Remove.
6907 * src/nm-hal-manager.c (nm_get_device_index_from_hal): Remove.
6908 (wired_device_creator): Get the device interface from hal to create the device.
6909 (wireless_device_creator): Ditto.
6911 * src/nm-device.c (nm_device_init): Remove the index member.
6912 (constructor): Remove the checks for index property, make interface property
6913 a require constructor property.
6914 Use the HAL udi for DBus path for devices.
6915 (nm_device_get_index): Remove.
6916 (set_property): Remove index handling.
6917 (get_property): Ditto.
6918 (nm_device_get_dbus_path): Remove.
6920 * src/nm-device-interface.c (nm_device_interface_init): Remove the index
6923 * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_link_activated):
6924 Access the device index through it's interface.
6925 (nm_device_802_3_ethernet_link_deactivated): Ditto.
6926 (nm_device_802_3_ethernet_new): Remove the useless argument test_dev. Remove
6927 index argument. Add interface argument.
6929 * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new): Remove
6930 the useless test_dev argument. Remove index argument. Add interface arugment.
6932 * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Get the
6933 device index through interface.
6934 (nm_system_set_mtu): Ditto.
6936 * introspection/nm-device.xml: Remove the "Index" property.
6938 2007-11-21 Tambet Ingo <tambet@gmail.com>
6940 * src/nm-serial-device.c:
6941 * src/nm-serial-device.c:
6942 * src/nm-umts-device.c:
6943 * src/nm-umts-device.h: Implement.
6945 * src/nm-hal-manager.c (nm_get_device_driver_name): libhal_free_string the string
6946 allocated by libhal.
6947 (modem_device_creator): Implement.
6948 (register_built_in_creators): Register the modem creator.
6950 * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new):
6951 Remove the unused test_dev argument.
6953 * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_new): Ditto.
6955 * src/Makefile.am: Add new files to build.
6956 Link in ppp-manager.
6958 * libnm-util/nm-setting-umts.c:
6959 * libnm-util/nm-setting-umts.h:
6960 * libnm-util/nm-setting-serial.c:
6961 * libnm-util/nm-setting-serial.h: Implement.
6963 * libnm-util/Makefile.am: Add new files to build.
6965 2007-11-28 Dan Williams <dcbw@redhat.com>
6967 Patch from Zdeněk Jurka <zdenek.jurka@jware.cz>
6969 Support DHCP-provided static routes.
6971 * src/nm-ip4-config.h
6973 - Add get/set functions for static routes
6975 * src/dhcp-manager/nm-dhcp-manager.c
6976 - (nm_dhcp_manager_get_ip4_config): extract static routes from the
6979 * src/NetworkManagerSystem.c
6980 - (nm_system_device_set_from_ip4_config): set any static routes on the
6981 interface when applying the IP4Config
6983 2007-11-28 Dan Williams <dcbw@redhat.com>
6985 * src/nm-device-802-11-wireless.c
6986 - (real_act_stage1_prepare): mark APs created for hidden networks
6989 2007-11-27 Dan Williams <dcbw@redhat.com>
6991 * system-settings/src/nm-system-config-interface.h
6992 - Note how to store secrets on NMSetting objects
6994 * system-settings/src/dbus-settings.c
6995 - (connection_settings_get_secrets): implement
6997 2007-11-27 Dan Williams <dcbw@redhat.com>
6999 * system-settings/plugins/ifcfg/Makefile.am
7000 system-settings/plugins/ifcfg/parser.c
7001 system-settings/plugins/ifcfg/parser.h
7002 system-settings/plugins/ifcfg/plugin.c
7003 - Parse wireless connections too
7005 * system-settings/src/dbus-settings.c
7006 system-settings/src/dbus-settings.h
7007 system-settings/src/main.c
7008 - Handle connection update/removal if the plugin supports it
7010 2007-11-27 Dan Williams <dcbw@redhat.com>
7012 * src/nm-dbus-manager.h
7013 src/nm-hal-manager.c
7014 - Include the correct headers now that NetworkManagerDbusUtils.h doesn't
7018 src/NetworkManagerDbusUtils.c
7019 src/NetworkManagerDbusUtils.h
7020 - Remove these two source files; they are unused
7022 2007-11-27 Dan Williams <dcbw@redhat.com>
7024 * src/vpn-manager/nm-vpn-manager.c
7025 - (impl_vpn_manager_connect): fix system settings check (found by
7028 2007-11-26 Dan Williams <dcbw@redhat.com>
7030 * Fix warnings so everything compiles with --enable-more-warnings
7032 2007-11-25 Dan Williams <dcbw@redhat.com>
7035 - Rework structure and code to use GModule-loaded plugins and a plugin
7036 interface that plugins export to the system settings service
7038 2007-11-21 Dan Williams <dcbw@redhat.com>
7041 - Add Soren's system settings service. Needs work for distros other
7042 than Fedora; the backends from NM should mostly migrate to here
7043 and be converted to GObjects
7045 2007-11-21 Dan Williams <dcbw@redhat.com>
7047 * libnm-util/nm-setting-vpn-properties.c
7048 - (set_property): must deep-copy the given settings hash, otherwise
7049 double-free errors occur when the setting is disposed of
7051 2007-11-21 Dan Williams <dcbw@redhat.com>
7053 * src/vpn-manager/nm-vpn-act-request.h
7054 src/vpn-manager/nm-vpn-act-request.c
7057 2007-11-20 Dan Williams <dcbw@redhat.com>
7059 * libnm-util/nm-utils.c
7060 - (nm_utils_convert_strv_to_string, nm_utils_convert_uint_array_to_string,
7061 nm_utils_convert_ip4_addr_struct_array_to_string,
7062 nm_utils_register_value_transformations): print out the readable
7063 values of more types of properties of NMSettings subclasses
7065 2007-11-20 Dan Williams <dcbw@redhat.com>
7067 * libnm-util/nm-setting-ip4-config.c
7068 - (ip4_addresses_from_gvalue, ip4_addresses_to_gvalue,
7069 nm_setting_ip4_config_class_init): apparently dbus-glib can't
7070 marshal GValueArrays inside collections, so switch to types that it
7071 can actually marshal/demarshal
7073 2007-11-16 Dan Williams <dcbw@redhat.com>
7075 * libnm-util/nm-setting-wireless-security.c
7076 - (verify_tls, verify_ttls, verify_identity, verify_nai): do some
7077 minimal verification of EAP methods too
7078 - (verify): verify phase1 eap methods too
7080 2007-11-15 Dan Williams <dcbw@redhat.com>
7082 * libnm-glib/nm-device.h
7083 libnm-glib/nm-device.c
7084 - (nm_device_get_product, nm_device_get_vendor): should be returning
7087 2007-11-15 Dan Williams <dcbw@redhat.com>
7089 * libnm-glib/nm-device.c
7090 - (get_product_and_vendor): don't try to free things that should be
7093 2007-11-15 Dan Williams <dcbw@redhat.com>
7095 * src/NetworkManagerUtils.c
7096 - (nm_ethernet_address_is_valid): unbreak previous fix
7098 2007-11-15 Dan Williams <dcbw@redhat.com>
7100 * src/supplicant-manager/nm-supplicant-config.c
7101 - (nm_supplicant_config_add_setting_wireless_security): handle PEAP
7104 2007-11-15 Dan Williams <dcbw@redhat.com>
7106 * src/NetworkManagerUtils.c
7107 - (nm_ethernet_address_is_valid): fix style, clarify
7108 - (nm_ethernet_addresses_are_equal): don't try to memcmp NULLs
7110 * src/nm-device-802-11-wireless.c
7111 - (get_active_ap): handle failure from nm_device_802_11_wireless_get_bssid()
7112 - (nm_device_802_11_wireless_get_ssid,
7113 nm_device_802_11_wireless_get_bssid,
7114 nm_device_802_11_wireless_get_bitrate): zero the wreq structure
7115 before calling the ioctl; fixes valgrind-reported jump depends on
7116 uninitialized value errors
7118 2007-11-15 Dan Williams <dcbw@redhat.com>
7120 * libnm-util/nm-setting.c
7121 - (nm_setting_to_hash, one_property_cb): revert previous commit, it's
7122 unecessary to serialize 'name'
7124 * src/nm-activation-request.c
7125 - (get_secrets_cb): fix cases where a full NMSetting is returned from
7128 2007-11-15 Dan Williams <dcbw@redhat.com>
7130 * libnm-util/nm-setting-connection.h
7131 libnm-util/nm-setting-connection.c
7132 - Rename the 'name' property to 'id', because it conflicted with the
7133 NMSetting superclass' 'name' property.
7135 * libnm-util/nm-setting.c
7136 - (nm_setting_to_hash): serialize the 'name' property
7137 - (one_property_cb): ignore 'name' on deserialization of a connection
7139 * src/nm-device-802-11-wireless.c
7140 src/vpn-manager/nm-vpn-connection.c
7141 src/NetworkManagerPolicy.c
7142 - Fix up for NMSettingConnection 'name'->'id' changes
7144 2007-11-13 Dan Williams <dcbw@redhat.com>
7146 * libnm-glib/nm-device-802-11-wireless.h
7147 libnm-glib/nm-device-802-11-wireless.c
7148 - (nm_device_802_11_wireless_get_hw_address): return should be const
7151 libnm-glib/libnm-glib-test.c
7152 - Fixes for above change
7154 2007-11-12 Dan Williams <dcbw@redhat.com>
7156 * src/supplicant-manager/nm-supplicant-settings-verify.c
7157 - Allow fragment_size option
7159 * src/supplicant-manager/nm-supplicant-settings-verify.c
7160 - (nm_supplicant_config_add_setting_wireless_security): use a lower
7161 EAP fragment size than the default to help some TLS connections
7163 2007-11-12 Dan Williams <dcbw@redhat.com>
7165 Make certs actually work. The private key is now a secret, and should be
7166 decrypted when requested by NM. The private key and phase2 private key
7167 passwords are no longer interesting to NM because they should be used by
7168 the settings service to decrypt the private key itself before passing it
7169 to NM, and hence have been removed as fields.
7171 * libnm-util/nm-setting-wireless-security.h
7172 libnm-util/nm-setting-wireless-security.c
7173 - Remove private-key-passwd and phase2-private-key-passwd from
7175 - (need_secrets_password, need_secrets_eappsk, need_secrets_sim,
7176 need_secrets): use property #defines instead strings to keep things
7178 - (need_secrets_tls): if a client certificate is present but no
7179 private key, request the private key
7180 - (set_property, get_property, nm_setting_wireless_security_class_init):
7181 remove private key password stuff, mark private keys as secret
7183 * src/supplicant-manager/nm-supplicant-settings-verify.c
7184 - Remove private_key_passwd and private_key2_passwd from opt_table
7186 2007-11-09 Dan Williams <dcbw@redhat.com>
7188 Fix vpn-properties setting update_secrets call for new NMSetting stuff.
7189 Since the vpn-properties are managed and known by the VPN daemons themselves,
7190 libnm-util doesn't know what's secret and what's in the setting's 'data'
7193 * libnm-util/nm-setting.h
7194 libnm-util/nm-setting.c
7195 - Add the ability for subclasses to override update_one_secret
7197 * libnm-util/nm-setting-vpn-properties.c
7198 - Override update_one_secret and just copy the values into the
7201 2007-11-09 Dan Williams <dcbw@redhat.com>
7203 * libnm-glib/nm-settings.h
7204 libnm-glib/nm-settings.c
7205 - (nm_settings_new_error): remove
7206 - (nm_settings_error_quark): add; instead of nm_settings_new_error,
7207 clients should use g_set_error() with NM_SETTINGS_ERROR
7209 2007-11-09 Dan Williams <dcbw@redhat.com>
7211 * src/supplicant-manager/nm-supplicant-config.c
7212 - (nm_supplicant_config_add_setting_wireless_security): private key
7213 passwords are never sent to wpa_supplicant, because the supplicant
7214 should never be reading random files from the disk. Clients like
7215 the applet are required to decrypt the private keys and send NM
7216 the decrypted blobs.
7218 2007-11-08 Dan Williams <dcbw@redhat.com>
7220 * libnm-util/nm-setting-wireless-security.h
7221 libnm-util/nm-setting-wireless-security.c
7222 - Add 'private-key-decrypted' and 'phase2-private-key-decrypted'
7223 members to 802-11-wireless-security structure. This should be used
7224 to indicate that the values in private-key and phase2-private-key
7225 are already decrypted by the user agent, and that no
7226 private-key-passwd or phase2-private-key-passwd should be expected.
7227 It is not meant to be a stored configuration value, but meant to
7228 be set when the conneciton is sent to NM over dbus.
7230 2007-11-08 Dan Williams <dcbw@redhat.com>
7232 * libnm-util/nm-connection.h
7233 libnm-util/nm-connection.c
7234 - (nm_connection_need_secrets): add argument to return hints
7236 * src/nm-device-802-11-wireless.c
7237 - (link_timeout_cb, supplicant_connection_timeout_cb,
7238 real_act_stage2_config, real_act_stage4_ip_config_timeout): handle
7239 nm_connection_need_secrets() change
7241 2007-11-07 Tambet Ingo <tambet@gmail.com>
7243 Rework NMSetting structures: Move each setting to it's own file.
7244 Convert to GObject. Remove home grown setting types and use GTypes.
7245 Use GObject property introspection for hash conversion, enumerating
7248 * libnm-util/nm-setting-connection.[ch]
7249 * libnm-util/nm-setting-ip4-config.[ch]
7250 * libnm-util/nm-setting-ppp.[ch]
7251 * libnm-util/nm-setting-vpn.[ch]
7252 * libnm-util/nm-setting-vpn-properties.[ch]
7253 * libnm-util/nm-setting-wired.[ch]
7254 * libnm-util/nm-setting-wireless.[ch]
7255 * libnm-util/nm-setting-wireless-security.[ch]
7257 New files, each containing a setting.
7259 * libnm-util/nm-setting-template.[ch]: A template for creating new
7260 settings. To use it, just replace 'template' with the new setting
7261 name, and you're half-way done.
7263 * libnm-util/nm-setting.c: Convert to GObject and use GObject
7264 introspection instead of internal types and tables.
7266 * libnm-util/nm-connection.c: Adapt the new NMSetting work.
7268 * libnm-util/nm-param-spec-specialized.[ch]: Implement. Handles
7269 GValue types defined by dbus-glib for composed types like collections,
7270 structures and maps.
7272 * src/*: The API of NMSetting and NMConnection changed a bit: Getting
7273 a setting from connection takes the setting type now. Also, since
7274 the settings are in multiple files, include relevant settings.
7276 2007-10-31 Saleem Abdulrasool <compnerd@compnerd.org>
7279 * src/backends/NetworkManagerGentoo.c:
7280 (nm_system_restart_mdns_responder): Implement restarts for other mdns
7281 providers in Gentoo.
7283 2007-10-31 Dan Williams <dcbw@redhat.com>
7285 * libnm-util/nm-connection.c
7286 - (gvalue_to_string): handle UINT32 arrays
7288 2007-10-31 Dan Williams <dcbw@redhat.com>
7290 * libnm-glib/nm-device.h
7291 libnm-glib/nm-device.c
7292 - (nm_device_get_description): remove
7293 - (nm_device_get_product, nm_device_get_vendor): add
7294 - (nm_device_update_description): new function (private); walk HAL
7295 devices to get product and vendor IDs for a specific device
7297 2007-10-31 Dan Williams <dcbw@redhat.com>
7299 * src/nm-device-802-11-wireless.c
7300 - (nm_device_802_11_wireless_get_mode): ignore ENODEV errors
7302 2007-10-29 Dan Williams <dcbw@redhat.com>
7304 * src/nm-hal-manager.c
7305 - (device_added, device_new_capability): ignore device additions while
7306 asleep. Fixes crash caused when NM goes to sleep, a network device
7307 kernel module is unloaded and reloaded and recognized by NM again.
7309 2007-10-26 Dan Williams <dcbw@redhat.com>
7311 Patch from Helmut Schaa <hschaa@suse.de> (and more bits from me)
7313 * src/NetworkManagerAP.c
7314 src/NetworkManagerAP.h
7315 libnm-glib/nm-access-point.c
7316 libnm-glib/nm-access-point.h
7317 - Make 'rate' property a guint32 to better match with WEXT and
7318 wpa_supplicant and to allow representation of higher bitrates
7320 * src/nm-device-802-11-wireless.c
7321 introspection/nm-device-802-11-wireless.xml
7322 libnm-glib/nm-device-802-11-wireless.c
7323 libnm-glib/nm-device-802-11-wireless.h
7324 - Make 'bitrate' property a guint32 to match AP 'rate' property type
7326 * src/nm-device-802-3-ethernet.c
7327 src/nm-device-802-3-ethernet.h
7328 introspection/nm-device-802-3-ethernet.xml
7329 libnm-glib/nm-device-802-3-ethernet.c
7330 libnm-glib/nm-device-802-3-ethernet.h
7331 - Make 'speed' property a guint32 to match other speed/rate types
7332 - Make nm_device_802_3_ethernet_get_speed() static
7335 - Update for the changes above
7337 2007-10-26 Dan Williams <dcbw@redhat.com>
7339 * src/named-manager/nm-named-manager.c
7340 - (rewrite_resolv_conf): clean up error handling to avoid double-free by
7341 not calling fclose() twice on some error conditions
7343 2007-10-26 Dan Williams <dcbw@redhat.com>
7345 * src/nm-activation-request.c
7346 - (dispose): clean up indentation; get the right DBusGProxy object to
7347 cancel the GetSecrets pending call on. Need to use the Secrets
7348 proxy, not the regular connection proxy. Otherwise the GetSecrets
7349 pending call doesn't get canceled, and pressing Cancel in the
7350 applet's password dialog could cause get_secrets_cb() to be called
7351 after the activation request has already been destroyed
7353 2007-10-24 Dan Williams <dcbw@redhat.com>
7355 * src/supplicant-manager/nm-supplicant-config.c
7356 - (nm_supplicant_config_add_blob): pass blob data and length for
7358 - (get_hash_cb): use GByteArrays rather than GArrays; easier to follow
7360 2007-10-24 Dan Williams <dcbw@redhat.com>
7362 * src/supplicant-manager/nm-supplicant-settings-verify.c
7363 - (opt_table): max length for certificates should be 65536
7365 2007-10-24 Dan Williams <dcbw@redhat.com>
7367 * src/supplicant-manager/nm-supplicant-interface.c
7368 - (blob_free): correctly free blob data after use
7369 - (call_set_blobs): use the right D-Bus interfaace for setBlobs
7371 2007-10-24 Dan Williams <dcbw@redhat.com>
7373 * libnm-util/nm-setting.c
7374 - (setting_wireless_security_need_secrets): Fix lookup table logic for
7375 EAP method need secrets
7377 2007-10-24 Dan Williams <dcbw@redhat.com>
7379 * src/backends/NetworkManagerRedHat.c
7380 - (nm_system_update_dns): be a lot smarter about telling nscd to restart
7382 2007-10-23 Dan Williams <dcbw@redhat.com>
7384 * libnm-util/nm-setting.c
7385 libnm-util/nm-setting.c
7386 - (nm_setting_compare): implement
7387 - (default_setting_compare_fn, do_one_compare, compare_gvalue_hash,
7388 compare_one_hash_gvalue): compare the contents of a setting
7390 * libnm-util/nm-connection.c
7391 - (nm_connection_compare): implement
7393 2007-10-23 Dan Williams <dcbw@redhat.com>
7395 * src/nm-activation-request.c
7396 - (get_secrets_cb): handle getting a setting back that is more than
7397 just secrets (ie, user changed auth or EAP method or something)
7399 2007-10-23 Dan Williams <dcbw@redhat.com>
7401 * libnm-util/nm-setting.c
7402 libnm-util/nm-setting.h
7403 - (nm_setting_verify): new function; verify one setting
7404 - (nm_settings_verify_all): rename from nm_settings_verify()
7405 - (setting_connection_verify, setting_wireless_verify): allow NULL
7408 * libnm-util/nm-connection.c
7409 - (nm_connection_replace_settings, nm_connection_verify,
7410 nm_connection_new_from_hash): handle nm_settings_verify() rename
7412 2007-10-23 Dan Williams <dcbw@redhat.com>
7414 * src/nm-device-802-11-wireless.c
7415 - (real_act_stage2_config): use pre-increment on 'tries' to get the
7418 2007-10-23 Dan Williams <dcbw@redhat.com>
7420 * src/supplicant-manager/nm-supplicant-settings-verify.c
7421 - eap_allowed, phase2_allowed: harmonize with allowed values from
7424 2007-10-23 Dan Williams <dcbw@redhat.com>
7426 * src/nm-device-802-11-wireless.c
7427 - (real_act_stage2_config): after the first association failure,
7428 if the connection still needs secrets ask the user for them
7429 explicitly. After the fourth association failure due to bad
7430 secrets, fail the connection entirely. Handles the GetSecrets
7431 loop that NM gets into when the provided secrets don't match up
7432 with the connection details.
7434 2007-10-23 Dan Williams <dcbw@redhat.com>
7436 * src/supplicant-manager/nm-supplicant-config.c
7437 - (nm_supplicant_config_add_setting_wireless_security): only add
7438 WPA-specific options when WPA is in use
7440 2007-10-23 Dan Williams <dcbw@redhat.com>
7442 * src/supplicant-manager/nm-supplicant-config.c
7443 - (nm_supplicant_config_add_setting_wireless_security): 'password'
7444 secret doesn't need to be unhexified
7446 2007-10-23 Dan Williams <dcbw@redhat.com>
7448 * libnm-util/nm-setting.c
7449 - (setting_wireless_security_need_secrets): ensure auth_alg is !NULL
7450 before trying to do something with it
7452 2007-10-23 Dan Williams <dcbw@redhat.com>
7454 * src/nm-device-802-11-wireless.c
7455 - (merge_scanned_ap): handle NULL ssids returned from nm_ap_get_ssid()
7457 2007-10-23 Dan Williams <dcbw@redhat.com>
7459 * src/nm-device-802-11-wireless.c
7460 - (merge_scanned_ap): use libnm-util empty SSID check to catch more
7461 non-SSID-broadcasting APs
7463 2007-10-23 Dan Williams <dcbw@redhat.com>
7465 * src/NetworkManagerAP.c
7466 - (match_cipher, security_compatible): remove
7467 - (nm_ap_check_compatible): use nm_utils_ap_security_compatible() from
7470 2007-10-23 Dan Williams <dcbw@redhat.com>
7472 * libnm-util/nm-utils.c
7473 libnm-util/nm-utils.h
7474 - (nm_utils_ap_security_compatible): common function for checking
7475 whether a specific AP is compatible with an NMConnection
7477 2007-10-23 Dan Williams <dcbw@redhat.com>
7479 * libnm-util/nm-setting.c
7480 - (setting_wireless_security_need_secrets, need_secrets_phase2,
7481 need_secrets_tls, need_secrets_sim, need_secrets_eappsk,
7482 need_secrets_password, setting_wireless_security_verify): fix
7483 need_secrets for IEEE 802.1x and WPA-EAP by implementing need
7484 secrets logic for each supported EAP method
7486 2007-10-23 Dan Williams <dcbw@redhat.com>
7488 * src/supplicant-manager/nm-supplicant-config.c
7489 - (nm_supplicant_config_add_setting_wireless_security): fix wpa_supplicant
7490 config option name, should be "private_key2_passwd"
7492 2007-10-22 Tambet Ingo <tambet@gmail.com>
7494 Implement support for static IP addresses, additional/overridden DNS and
7495 DNS domain search lists.
7497 * libnm-util/nm-setting.c (uint_array_to_gvalue): Implement.
7498 (ip4_addresses_to_gvalue): Implement.
7499 (convert_array_to_byte_array): Implement.
7500 (nm_setting_populate_from_hash_default): Handle NM_S_TYPE_UINT_ARRAY and
7501 NM_S_TYPE_IP4_ADDRESSES.
7502 (nm_setting_hash): Ditto.
7503 (default_setting_clear_secrets): Add a default case for the switch: IP address
7504 shouldn't be secret, ever.
7505 (setting_ip4_config_verify): Update, requires addresses in case of manual
7507 (setting_ip4_config_destroy): Free stuff.
7509 * src/nm-device.c (merge_ip4_config): Implement.
7510 (real_act_stage4_get_ip4_config): Merge IP4 configuration from NMConnection.
7512 2007-10-22 Dan Williams <dcbw@redhat.com>
7514 * libnm-util/nm-setting.c
7515 - (setting_wireless_security_verify): allow WEP-40 and WEP-104 as
7516 pairwise cipher options for Dynamic WEP
7518 2007-10-21 Dan Williams <dcbw@redhat.com>
7520 * src/NetworkManagerAP.c
7521 src/NetworkManagerAP.h
7522 - Rename 'articifical' -> 'fake' since that's what they are until
7524 - (nm_ap_new_fake_from_connection): new function to create a 'fake' AP
7525 from the attributes in an NMConnection object
7526 - (security_compatible): better handle Dynamic WEP and LEAP; handle
7528 - (nm_ap_match_in_list): find a matching AP in a scan list
7530 * src/nm-device-802-11-wireless.c
7531 - (get_active_ap): add an 'ignore_ap' argument to ignore a specific
7532 AP when searching the scan list; match on frequency and mode too
7533 - (nm_device_802_11_wireless_get_frequency): implement
7534 - (merge_scanned_ap): replace duplicate matching logic with
7535 nm_ap_match_in_list()
7536 - (real_act_stage1_prepare): handle a NULL specific object; ie where
7537 the user is trying to connect to a hidden network that is not yet
7538 known from the scan list
7539 - (activation_success_handler): now that the card knows the AP's BSSID,
7540 there may already be a scanned AP in the scan list that is what
7541 we really wanted to connect to, but didn't know at the time. Use
7542 that instead of the 'fake' AP created at activation start and get
7543 rid of the 'fake' AP
7544 - (cull_scan_list): don't remove fake APs
7546 2007-10-21 Dan Williams <dcbw@redhat.com>
7548 * src/nm-activation-request.h
7549 src/nm-activation-request.c
7550 - (nm_act_request_set_specific_object): new function; allow setting the
7551 specific object if one isn't set yet
7553 2007-10-20 Dan Williams <dcbw@redhat.com>
7555 * src/supplicant-manager/nm-supplicant-config.h
7556 src/supplicant-manager/nm-supplicant-config.c
7557 - (nm_supplicant_config_init, nm_supplicant_config_finalize): add a hash
7558 table to store blobs
7559 - (nm_supplicant_config_add_blob): new function; add blob to internal
7561 - (nm_supplicant_config_get_blobs): new function; get stored blobs
7562 - (nm_supplicant_config_add_setting_wireless_security): handle
7563 options that use certificates (ie, blobs)
7565 * src/nm-device-802-11-wireless.c
7566 - (build_supplicant_config): pass a UID (just use the connection path)
7567 to the supplicant config as now required
7569 * src/supplicant-manager/nm-supplicant-interface.c
7570 - (add_network_cb, call_set_blobs, set_blobs_cb, call_set_network): if
7571 there are any blobs to send to wpa_supplicant, send those first
7572 before sending the network configuration
7574 2007-10-19 Dan Williams <dcbw@redhat.com>
7576 Split the GetSecrets() call off to a separate D-Bus interface so that it
7577 can be more easily locked down with D-Bus policy. Only 'root' (ie, NM)
7578 should be able to call GetSecrets().
7580 * include/NetworkManager.h
7581 - Define the connection secrets D-Bus interface
7583 * src/vpn-manager/nm-vpn-connection.c
7584 - (clear_need_auth): get the right proxy object for the connection
7586 - (get_connection_secrets): use the connection secrets proxy; send
7587 empty hints in get secrets request
7589 * src/nm-activation-request.c
7590 - (nm_act_request_request_connection_secrets): use the connection
7591 secrets proxy; send empty hints in get secrets request
7595 - (connection_get_settings_cb): set the connection secrets proxy on
7596 the connection object too
7597 - (internal_new_connection_cb): create the connection secrets proxy
7599 * introspection/nm-settings-connection.xml
7600 - Define Connection.Secrets interface and move GetSecrets there
7601 - Add a 'hints' argument to GetSecrets
7603 * libnm-glib/nm-settings.c
7604 libnm-glib/nm-settings.h
7605 - (impl_connection_settings_get_secrets): add 'hints' argument
7607 2007-10-19 Dan Williams <dcbw@redhat.com>
7610 - (constructor): add message about what path a device is exported as
7611 to help in debugging rh #339011
7613 2007-10-17 Dan Williams <dcbw@redhat.com>
7615 * libnm-util/nm-utils.h
7616 libnm-util/nm-utils.c
7617 - (nm_utils_security_valid): common function to help find the intersection
7618 of capabilities of devices and (optionally) access points
7620 2007-10-17 Dan Williams <dcbw@redhat.com>
7622 * src/nm-device-802-11-wireless.c
7623 - (get_wireless_capabilities): add missing braces so that WPA capabilities
7624 don't get erroneously cleared
7626 2007-10-17 Dan Williams <dcbw@redhat.com>
7630 src/nm-hal-manager.c
7631 - (device_removed, finalize, nm_manager_remove_device,
7632 nm_manager_sleep): add a 'deactivate' argument to
7633 nm_manager_remove_device() to fully deactivate devices when necessary
7634 (ie, always except when waking up)
7636 2007-10-16 Dan Williams <dcbw@redhat.com>
7638 * libnm-util/nm-setting.c
7639 - (setting_wireless_security_verify): fix phase2_auth methods; 'sim'
7640 also isn't valid phase2 autheap method
7642 2007-10-16 Dan Williams <dcbw@redhat.com>
7644 * libnm-glib/nm-client.c
7645 - (update_wireless_status): consolidate updates of wireless status
7646 - (constructor): use update_wireless_status()
7647 - (manager_running): set wireless status off when NM goes away; requery
7648 the wireless status when NM comes back
7650 2007-10-16 Dan Williams <dcbw@redhat.com>
7652 * libnm-glib/nm-client.c
7653 - (nm_client_activate_device): actually use the fixed-up specific
7656 2007-10-16 Dan Williams <dcbw@redhat.com>
7658 * src/nm-hal-manager.c
7659 - (killswitch_getpower_reply, nm_hal_manager_destroy): only print out
7660 killswitch error messages once
7662 2007-10-16 Dan Williams <dcbw@redhat.com>
7665 - (manager_set_wireless_enabled): don't allow wireless to be enabled
7666 if it's disabled in hardware; don't touch network devices while
7669 2007-10-16 Dan Williams <dcbw@redhat.com>
7671 * libnm-util/nm-client.c
7672 - (nm_client_activate_device): convert NULL specific_object to "/",
7673 which is used in place of NULL
7676 - (impl_manager_activate_device): convert "/" specific_object back into
7679 2007-10-16 Tambet Ingo <tambet@gmail.com>
7681 Implement a generic NMSetting creator from setting name.
7682 While at it, get rid of all nm_setting_foo_new_from_hash() functions and
7683 add a virtual function 'populate_fn'.
7685 * libnm-util/nm-connection.c (nm_connection_create_setting): Implement.
7686 (register_default_creators): Register setting creators instead of functions
7687 that create and then populate.
7688 (parse_one_setting): Use the common setting creator and then setting specific
7689 poplulation function.
7691 * libnm-util/nm-setting.c: Get rid of nm_setting_foo_new_from_hash() functions,
7692 they all looked exactly the same.
7693 Add a 'populate_fn' virtual function to NMSetting.
7694 Use default virtual functions in case they are not overriden.
7695 (nm_setting_populate_from_hash): Implement.
7697 * src/nm-device.c (real_act_stage3_ip_config_start): Don't hard code the setting
7698 name, use a defined string.
7699 (real_act_stage4_get_ip4_config): Ditto.
7701 2007-10-16 Tambet Ingo <tambet@gmail.com>
7703 * src/nm-hal-manager.c (killswitch_getpower_reply): The type returned from
7704 HAL is int, not uint.
7706 2007-10-15 Tambet Ingo <tambet@gmail.com>
7708 Implement killswitch polling through HAL.
7710 * src/nm-manager.c: Add wireless hardware status property. Add
7711 'properties-changed' signal for changes in wireless and wireless hardware
7714 * src/nm-hal-manager.c: Poll hal for killswitch statuses in every 6 seconds
7715 and update NMManager's wireless hardware state when it has changed.
7716 (nm_hal_manager_new): Don't try to add initial devices here - (hal_init)
7719 * libnm-glib/nm-client.c: Add wireless hardware status property. Cache the
7720 values of wireless state and wireless hardware state. Listen for the
7721 'properties-changed' signals, update the cached values and emit notify.
7723 * include/NetworkManager.h: Fix a typo in a comment.
7725 2007-10-14 Dan Williams <dcbw@redhat.com>
7727 * libnm-util/nm-setting.c
7728 - (setting_wireless_security_need_secrets): handle LEAP secrets
7730 2007-10-13 Dan Williams <dcbw@redhat.com>
7732 * libnm-util/nm-setting.h
7733 libnm-util/nm-setting.c
7734 src/supplicant-manager/nm-supplicant-config.c
7735 - Make the 'proto' field of the 802-11-wireless-security field a
7738 2007-10-12 Tambet Ingo <tambet@gmail.com>
7740 Rework the "properties-changed" signal listening implementation.
7741 Add a generic implementation to NMObject class that listens for
7742 the signal and calls property setters of the target NMObject.
7744 * libnm-glib/nm-object.c (nm_object_handle_properties_changed): Implement.
7746 * libnm-glib/nm-device-802-11-wireless.c: Move the GObject consturction
7747 code to the end of file so that all the static functions are available
7748 without extra declarations.
7749 Remove the "properties-changed" signal handling and use the framework from
7751 Implement property setters for properties that change with
7752 "properties-changed" signal.
7754 * libnm-glib/nm-access-point.c: Ditto.
7756 2007-10-12 Tambet Ingo <tambet@gmail.com>
7758 Rework the "properties-changed" signal implementation.
7759 In classes that need to use it, just emit "GObject::notify" and the new
7760 framework takes care of the rest to make the signal available on dbus.
7761 The framework queues the notifications and tries to send as many together
7762 in one signal as possible.
7764 * src/nm-properties-changed-signal.c:
7765 * src/nm-properties-changed-signal.h: Implement.
7767 * src/Makefile.am: Add new files to build.
7769 * src/NetworkManagerAP.c: Use the general framework for properties-changed
7772 * src/nm-device-802-11-wireless.c: Ditto.
7774 2007-10-10 Dan Williams <dcbw@redhat.com>
7777 - (wait_for_connection_expired): ensure info is valid
7778 - (connection_added_default_handler): Should only remove pending
7779 connection info when the manager has the connection that it's
7780 waiting for. Fixes segfault in wait_for_connection_info().
7782 2007-10-10 Dan Williams <dcbw@redhat.com>
7784 * libnm-util/nm-setting.c
7785 libnm-util/nm-setting.h
7786 - Add a default 'user_name' field to the VPN setting, which VPN plugins
7787 can use if they choose. Should be filled in by the settings service
7788 on-the-fly with the currently logged in user's username
7790 2007-10-10 Dan Williams <dcbw@redhat.com>
7792 * src/nm-device-802-11-wireless.c
7793 - (merge_scanned_ap): make sure non-SSID-broadcasting APs are marked
7794 as such, because even if the manager fills in the SSID, NM still
7795 has to indicate to wpa_supplicant that the AP isn't broadcasting
7798 2007-10-10 Tambet Ingo <tambet@gmail.com>
7800 Move ppp-manager over to dbus-glib. The big deal is that it was the last piece of
7801 code that used NM's own version of dbus signal handling and custom dictionary
7802 marshalling/unmarshalling. With this change, all that obsolete code can disappear
7803 and we get to maintain over 2000 lines less code.
7805 * libnm-util/dbus-dict-helpers.c:
7806 * libnm-util/dbus-dict-helpers.h: Remove.
7808 * src/ppp-manager/nm-pppd-plugin.c: Convert it to use dbus-glib.
7810 * src/ppp-manager/nm-pppd-plugin.xml: Implement.
7812 * src/ppp-manager/nm-ppp-manager.c: Use dbus-glib instead of home-brewed dbus signal
7815 * src/nm-dbus-manager.c: Remove all the manual dbus signal handling.
7817 * configure.in: Remove test/libnm-util/Makefile creation.
7819 * test/Makefile.am: Remove libnm-util from SUBDIRS.
7821 * test/libnm-util/: Remove the whole directory.
7823 2007-10-10 Tambet Ingo <tambet@gmail.com>
7825 * src/NetworkManagerPolicy.c (nm_policy_new): Initialize the
7826 device_state_changed_idle_id variable or it would contain some random value and the
7827 schedule_change_check calls would not do anything.
7829 2007-10-09 Dan Williams <dcbw@redhat.com>
7831 * src/nm-device-802-11-wireless.c
7832 - (supplicant_iface_scanned_ap_cb): set the non-broadcast flag elsewhere
7833 - (merge_scanned_ap): only have the manager fill the SSID if the AP
7834 isn't broadcasting its SSID; set the non-broadcast flag here; fix
7835 merging of non-SSID-broadcasting APs
7837 2007-10-09 Tambet Ingo <tambet@gmail.com>
7839 * libnm-util/nm-utils.c (nm_utils_is_empty_ssid): Convert the ssid type to
7840 "guint8 *" since it's usually used with GByteArray->data.
7841 (nm_utils_ssid_to_utf8): Add it back, the applet needs it.
7843 2007-10-09 Tambet Ingo <tambet@gmail.com>
7845 * src/NetworkManagerUtils.c
7846 (nm_utils_is_empty_ssid):
7847 (nm_utils_escape_ssid):
7848 (nm_utils_same_ssid): Remove. These functions are copied and pasted in a
7849 lot of places, so they belong to libnm-utils instead.
7851 Now with 100% less compiler warnings:
7853 * libnm-util/nm-utils.c (nm_dbus_escape_object_path): Remove, unused.
7854 (nm_dbus_unescape_object_path): Ditto.
7855 (nm_utils_ssid_to_utf8): Ditto.
7856 (nm_utils_is_empty_ssid): Move here from src/NetworkManagerUtils.c
7857 (nm_utils_escape_ssid): Ditto.
7858 (nm_utils_same_ssid): Ditto.
7860 * src/nm-manager.c: Include 'netinet/ether.h' for ether_aton_r.
7861 (add_one_connection_element): Remove an unused variable.
7862 (impl_manager_get_active_connections): Ditto.
7864 * src/NetworkManagerPolicy.c (get_device_connection): Remove an unused
7867 * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Remove a leftover
7868 from the previous commit.
7870 * src/nm-device-802-11-wireless.c (set_current_ap): Remove unused variable.
7871 (real_act_stage1_prepare): Ditto.
7872 (activation_success_handler): Ditto.
7873 (get_property): Ditto.
7875 * src/nm-device-802-3-ethernet.c (real_get_best_connection): Remove unused
7878 * src/ppp-manager/nm-pppd-plugin.c (nm_ip_up): Remove the check for 'ifname',
7881 * src/supplicant-manager/nm-supplicant-config.c
7882 (nm_supplicant_config_add_setting_wireless): Cast the GByteArray's 'guint8 *'
7883 to expected "char *".
7884 (nm_supplicant_config_add_setting_wireless): Ditto.
7885 (nm_supplicant_config_remove_option): Remove, not used.
7887 * libnm-glib/libnm-glib-test.c (dump_access_point): Frequency is a guint32,
7889 (test_wireless_enabled): Ifdef out unused function.
7890 (device_deactivate): Ditto.
7891 (device_state_changed): Ditto.
7892 (nm_utils_is_empty_ssid): Remove, it's now in libnm-utils.
7893 (nm_utils_escape_ssid): Ditto.
7895 * test/nm-tool.c (nm_utils_escape_ssid): Remove, it's now in libnm-utils.
7896 (nm_utils_is_empty_ssid): Ditto.
7898 * libnm-glib/nm-client.c (nm_client_free_active_connection_element): Remove
7901 * libnm-util/nm-setting.c (setting_wireless_destroy): Remove unused variable.
7902 (setting_vpn_properties_update_secrets): Ditto.
7903 (int_to_gvalue): Ifdef out for now, not used.
7904 (byte_to_gvalue): Ditto.
7906 * libnm-util/dbus-dict-helpers.c (_nmu_dbus_add_dict_entry_string_array):
7909 2007-10-08 Tambet Ingo <tambet@gmail.com>
7911 * src/NetworkManager.c (main): When dbus manager doesn't want to start, complain
7912 about dbus manager, not named manager.
7913 Make sure hal_manager and dbus_mgr are created before trying to unreference.
7915 * src/nm-dbus-manager.c: There was an issue with priv->proxy: We have a signal
7916 handler for it's 'destroy' signal - we use it to catch disconnects from dbus.
7917 However, the same signal is emitted when we destroy it and there's
7918 nm_dbus_manager_cleanup -> destroy_cb -> nm_dbus_manager_cleanup cycle.
7920 (nm_dbus_manager_cleanup): Let go of the DBusGProxy before
7921 releasing the DBusGConnection, since proxy needs a conneciton.
7922 (destroy_cb): Set the private proxy to NULL before cleaning up the manager.
7924 2007-10-08 Dan Williams <dcbw@redhat.com>
7926 * src/NetworkManager.c
7927 - (main): error on unknown command-line options
7929 2007-10-08 Dan Williams <dcbw@redhat.com>
7931 Reimplement the invalid connection list. Don't try to re-activate a
7932 connection that just failed or was canceled.
7935 - (connection_secrets_failed_cb): fail device activation, don't just
7936 deactivate the device. Listeners have to know about the failure.
7938 * src/NetworkManagerPolicy.c
7939 - (nm_policy_auto_get_best_device): exclude invalid connections from
7940 the connection list given to a device's get_best_connection()
7942 - (device_state_changed): tag failed connections as invalid; clear the
7943 tag from successful connections
7945 2007-10-08 Dan Williams <dcbw@redhat.com>
7947 Fix problems with interrupted activation. Previously, choosing an AP
7948 from the menu, then choosing another one before the first connection was
7949 successful wouldn't deactivate the device before starting the new connection
7950 on that same device.
7952 * src/NetworkManagerPolicy.c
7953 - (deactivate_old_device, device_state_changed, state_changed,
7954 nm_policy_new): wrong place to deactivate old devices
7957 - (pending_connection_info_destroy, finalize,
7958 wait_for_connection_expired): decouple destruction of the pending
7959 connection info from the manager device
7960 - (connection_added_default_handler): deactivate any active or
7961 activating device before starting a new activation
7962 - (impl_manager_activate_device): deactivate any active or activating
7963 device before starting a new activation; be sure not to leak
7964 pending connection info if a new activation request arrives but
7965 there's already a pending one in-process
7967 2007-10-08 Dan Williams <dcbw@redhat.com>
7969 * src/NetworkManagerAP.h
7970 src/NetworkManagerAP.c
7971 - (nm_ap_has_manufacturer_default_ssid): remove, unused. User clients
7972 should handle default SSIDs and whether or not to autoconnect
7975 2007-10-08 Dan Williams <dcbw@redhat.com>
7977 * src/NetworkManagerPolicy.c
7978 - (nm_policy_device_change_check): print out connection name where
7981 2007-10-08 Dan Williams <dcbw@redhat.com>
7983 * src/nm-device-802-11-wireless.c
7984 src/nm-device-802-11-wireless.h
7985 - (nm_device_802_11_wireless_class_init, merge_scanned_ap): new
7986 'hidden-ap-found' signal (for internal use only) that allows the
7987 NMManager to fill in the AP's SSID if a connection has that AP's
7988 BSSID in its seen-bssids list
7991 - (manager_hidden_ap_found, nm_manager_add_device): attach to a
7992 wireless device's hidden-ap-found signal and fill in the APs SSID
7995 2007-10-07 Dan Williams <dcbw@redhat.com>
7999 - Add a 'connections-added' signal to batch together updates of large
8000 numbers of connections, like when reading from a settings service
8001 the first time. Otherwise, the policy would just activate the first
8002 suitable connection it saw rather than waiting for the full list
8004 - (nm_manager_class_init): register new signal
8005 - (get_type_for_proxy, connection_get_settings_cb,
8006 get_connection_for_proxy): centralize places where a proxy's setting
8007 service is determined
8008 - (free_get_settings_info): if the call being freed is the last call
8009 in a pending call group, fire off the connections-added signal
8010 - (internal_new_connection_cb): add call to a pending call group if
8012 - (list_connections_cb): always create a call group here, because this
8013 call results in a batch of new connections
8014 - (initial_get_connections): start getting system connections first
8015 - (nm_manager_connections_destroy, emit_removed): actually emit the
8016 removed signal when destroying connections
8018 * src/NetworkManagerPolicy.c
8019 - (nm_policy_new, connections_added): handle connections-added signal
8022 2007-10-06 Dan Williams <dcbw@redhat.com>
8024 * src/nm-device-802-11-wireless.c
8025 - (constructor): fix leaked socket
8027 2007-10-06 Dan Williams <dcbw@redhat.com>
8029 * src/NetworkManagerPolicy.c
8030 - (nm_policy_auto_get_best_device): fix connection list reffing. Each
8031 connection in the list returned by nm_manager_get_connections() is
8032 reffed, but they weren't getting unreffed before returning
8034 2007-10-06 Dan Williams <dcbw@redhat.com>
8037 - (connections_to_slist): sort connections first on autoconnect, then
8040 2007-10-06 Dan Williams <dcbw@redhat.com>
8042 * libnm-util/nm-connection.c
8043 - (gvalue_to_string): handle UINT64
8045 2007-10-06 Dan Williams <dcbw@redhat.com>
8047 * src/NetworkManagerPolicy.c
8048 - (connection_updated, nm_policy_new): recheck state when a connection
8051 2007-10-06 Dan Williams <dcbw@redhat.com>
8055 - (nm_manager_get_connection_dbus_path): make static
8056 - (nm_manager_update_connections): remove; unused
8057 - Add a connection-updated signal
8058 - (new_connection_cb, connection_updated_cb, nm_manager_class_init):
8059 handle connection object updates
8061 2007-10-06 Dan Williams <dcbw@redhat.com>
8063 * src/NetworkManagerPolicy.c
8064 - (connection_removed): deactivate removed connections
8066 2007-10-06 Dan Williams <dcbw@redhat.com>
8068 * libnm-util/nm-connection.c
8069 libnm-util/nm-connection.h
8070 - (nm_connection_replace_settings): new function
8072 2007-10-06 Dan Williams <dcbw@redhat.com>
8074 * libnm-glib/nm-device-802-11-wireless.c
8075 - (nm_device_802_11_wireless_get_active_access_point): don't segfault
8076 on error when getting the active access point over D-Bus from NM
8078 2007-10-05 Dan Williams <dcbw@redhat.com>
8080 * libnm-util/nm-setting.c
8081 - (setting_wireless_verify, setting_wireless_destroy): add seen_bssids
8082 to the NMSettingWireless table; it's now a string array not an array
8085 2007-10-05 Dan Williams <dcbw@redhat.com>
8087 * libnm-glib/nm-device-802-11-wireless.c
8088 - Cache properties and update cached properties on D-Bus signals from NM
8090 2007-10-05 Dan Williams <dcbw@redhat.com>
8092 * src/nm-device-802-11-wireless.c
8093 - (set_current_ap): consolidate current_ap handling code into one place
8094 to ensure that PropertiesChanged signals are emitted in all cases
8095 - (periodic_update, real_deactivate_quickly, real_act_stage1_prepare,
8096 nm_device_802_11_wireless_dispose): use set_current_ap()
8098 2007-10-05 Dan Williams <dcbw@redhat.com>
8100 * libnm-glib/nm-access-point.c
8101 libnm-glib/nm-access-point.h
8102 - (nm_access_point_get_hw_address): return 'const char *', not 'char *'
8103 because the value is cached internally now. Callers should not
8104 free the internal value.
8105 - Make signal name defines private
8108 libnm-glib/libnm-glib-test.c
8109 - Don't free value returned from nm_access_point_get_hw_address()
8111 2007-10-04 Dan Williams <dcbw@redhat.com>
8113 * introspection/nm-device-802-11-wireless.xml
8114 src/nm-device-802-11-wireless.h
8115 src/nm-device-802-11-wireless.c
8116 - Add a PropertiesChanged signal for wireless device
8117 - Store currently associated access point
8118 - (periodic_update): generalize; update rate here too and emit the
8119 correct PropertiesChanged signal when stuff changes
8120 - (real_deactivate_quickly, nm_device_802_11_wireless_dispose,
8121 real_activation_cancel_handler): clear current_ap when device is
8123 - (link_to_specific_ap, get_ap_blacklisted,
8124 nm_device_802_11_wireless_get_best_ap): remove obsolete and unused
8126 - (nm_device_802_11_wireless_get_bitrate): make static; unused anywhere
8128 - (real_set_hw_address): emit property changed signal if the card's
8130 - (real_act_stage1_prepare): set the initial current_ap to the AP
8131 the card is supposed to be connecting to
8132 - (activation_success_handler): send out property updates on successful
8134 - (get_property): pull bitrate from cached value; use OBJECT_PATH type
8135 for ACTIVE_ACCESS_POINT property because sometimes there won't be
8136 one and dbus-glib doesn't like marshalling NULL G_TYPE_OBJECTs
8137 - (nm_device_802_11_wireless_class_init): ACTIVE_ACCESS_POINT property
8138 is now boxed; add PropertiesChanged signal
8140 2007-10-04 Dan Williams <dcbw@redhat.com>
8142 * libnm-util/nm-connection.c
8143 libnm-util/nm-connection.h
8144 - (nm_connection_verify): new function
8146 2007-10-04 Dan Williams <dcbw@redhat.com>
8148 * libnm-util/nm-setting.c
8149 - (nm_settings_verify): use #defines when possible rather than strings
8150 - (setting_connection_verify): ensure that 'name' and 'type' are valid
8151 - (setting_vpn_verify): tighter validity check on 'service_type'
8153 2007-10-04 Dan Williams <dcbw@redhat.com>
8155 * libnm-glib/nm-settings.c
8156 - (nm_connection_settings_class_init): provide correct type for argument
8157 to the Updated signal so that dbus-glib knows how to marshal it
8159 2007-10-03 Dan Williams <dcbw@redhat.com>
8161 * src/nm-device-802-3-ethernet.c
8162 - (real_get_best_connection): don't create automatic connections
8163 internally; clients should provide a setting that applies to
8164 the device with 'autoconnect: True'. Problem was that these
8165 internally auto-created connections don't have a proxy or service
8166 name becuase they weren't created by a settings daemon, and therefore
8167 clients have no idea what to do with them.
8169 2007-10-03 Dan Williams <dcbw@redhat.com>
8171 * src/nm-device-802-11-wireless.c
8172 src/nm-device-802-11-wireless.h
8173 introspection/nm-device-802-11-wireless.xml
8174 - GetActiveNetworks -> GetAccessPoints
8175 - ActiveNetwork -> ActiveAccessPoint
8176 - NetworkAdded -> AccessPointAdded
8177 - NetowrkRemoved -> AccessPointRemoved
8179 * libnm-glib/nm-device-802-11-wireless.c
8180 libnm-glib/nm-device-802-11-wireless.h
8181 - network-added signal -> access-point-added
8182 - network-removed signal -> access-point-removed
8183 - nm_device_802_11_wireless_get_active_network() ->
8184 nm_device_802_11_wireless_get_active_access_point()
8185 - nm_device_802_11_wireless_get_network_by_path() ->
8186 nm_device_802_11_wireless_get_access_point_by_path()
8187 - nm_device_802_11_wireless_get_networks() ->
8188 nm_device_802_11_wireless_get_access_points()
8190 * libnm-glib/libnm-glib-test.c
8192 src/NetworkManagerPolicy.c
8193 - Fixups for Network -> AccessPoint
8195 2007-10-03 Dan Williams <dcbw@redhat.com>
8197 Add a GetActiveConnections() method on the Manager object.
8201 introspection/nm-manager.xml
8202 - (connection_get_settings_cb): keep connection type around too
8203 - (impl_manager_get_active_connections, add_one_connection_element):
8204 implement; returns all active connections and what devices they
8207 * libnm-glib/nm-client.c
8208 libnm-glib/nm-client.h
8209 introspection/nm-manager-client.xml
8210 - (nm_client_get_devices): GPtrArray elements are allocated and owned
8211 by the caller; free here to avoid memory leak
8212 - (nm_client_get_active_connections): implement; return the list of
8214 - (nm_client_free_active_connection_element): implement; free an element
8215 of the GSList returned by nm_client_get_active_connections()
8217 2007-10-03 Dan Williams <dcbw@redhat.com>
8219 * src/nm-device-802-11-wireless.c
8220 - (nm_device_802_11_wireless_update_bssid): remove
8221 - (get_active_ap): new function; find the AP in the scan list which
8222 matches the current BSSID and SSID of the wireless device
8223 - (nm_device_802_11_periodic_update): get current AP using
8224 get_active_ap() and print AP roam messages
8226 2007-10-01 Dan Williams <dcbw@redhat.com>
8228 * libnm-util/nm-setting.h
8229 - Add a 'timestamp' option to NMSettingConnection
8232 * libnm-util/nm-setting.c
8233 - (uint64_to_gvalue): new function
8234 - (nm_setting_populate_from_hash, nm_setting_hash,
8235 default_setting_clear_secrets): handle UINT64 type
8236 - con_table: add 'timestamp' member
8238 2007-10-01 Dan Williams <dcbw@redhat.com>
8241 - (impl_manager_activate_device): ensure the D-Bus method sends a return
8242 value when the connection can be activated immediately
8244 2007-10-01 Dan Williams <dcbw@redhat.com>
8246 * libnm-glib/nm-device.c
8247 - (nm_device_class_init): actually tell glib about the carrier-changed
8250 2007-10-01 Dan Williams <dcbw@redhat.com>
8253 src/marshallers/Makefile.am
8254 src/marshallers/nm-marshal.list
8255 src/marshallers/nm-marshal-main.c
8256 - Consolidate glib marshallers into one place
8258 * src/dhcp-manager/Makefile.am
8259 src/dhcp-manager/nm-dhcp-manager.c
8260 src/supplicant-manager/Makefile.am
8261 src/supplicant-manager/nm-supplicant-manager.c
8262 src/supplicant-manager/nm-supplicant-interface.c
8263 src/ppp-manager/Makefile.am
8264 src/ppp-manager/nm-ppp-manager.c
8265 src/vpn-manager/Makefile.am
8266 src/vpn-manager/nm-vpn-connection.c
8268 - Use consolidated marshallers
8270 * src/dhcp-manager/nm-dhcp-marshal.list
8271 src/dhcp-manager/nm-dhcp-marshal-main.c
8272 src/supplicant-manager/nm-supplicant-marshal-main.c
8273 src/supplicant-manager/nm-supplicant-marshal.list
8274 src/nm-marshal-main.c
8276 src/ppp-manager/nm-ppp-marshal-main.c
8277 src/ppp-manager/nm-ppp-marshal.list
8278 src/vpn-manager/nm-vpn-marshal-main.c
8279 src/vpn-manager/nm-vpn-marshal.list
8282 2007-10-01 Dan Williams <dcbw@redhat.com>
8284 * include/NetworkManagerVPN.h
8285 - define VPN connection state change reason codes
8287 * src/vpn-manager/Makefile.am
8288 src/vpn-manager/nm-vpn-marshal.list
8289 src/vpn-manager/nm-vpn-marshal-main.c
8290 - Add marshallers for StateChanged signal
8292 * introspection/nm-vpn-connection.xml
8293 - New Banner property
8294 - StateChanged signal now includes a 'reason' argument
8296 * src/vpn-manager/nm-vpn-connection.c
8297 src/vpn-manager/nm-vpn-connection.h
8298 - Add a "Banner" property that contains the returned VPN server login
8299 banner (if any); valid only in the ACTIVATED state
8300 - (nm_vpn_connection_set_state, nm_vpn_connection_disconnect): now takes
8301 a 'reason' argument and emits that reason along with the
8302 state-changed signal
8303 - Fix up calls to nm_vpn_connection_set_state() to include a reason
8304 - (nm_vpn_connection_ip4_config_get): save banner for later
8305 - (nm_vpn_connection_get_banner, get_property,
8306 nm_vpn_connection_class_init): implement Banner property
8308 * src/vpn-manager/nm-vpn-service.c
8309 - (nm_vpn_service_connections_stop): take a reason argument; copy the
8310 connection list because elements may get added/removed from it
8311 while iterating over the list
8312 - (connection_state_changed): signal now includes the 'reason' argument
8314 * libnm-glib/nm-vpn-connection.c
8315 libnm-glib/nm-vpn-connection.h
8316 - (nm_vpn_connection_get_banner): new function
8317 - (state_changed_proxy): handle reason argument
8319 2007-09-28 Tambet Ingo <tambet@gmail.com>
8323 Implement device activation through NMManager.
8324 Implement "pending device activation" here - If the connection isn't found,
8325 we try to wait for up to 5 seconds for the connection to be provided.
8326 Add NMConnectionType argument to "connection-added" and "connection-removed"
8328 (nm_manager_get): Remove. Finally.
8330 * src/nm-activation-request.c:
8331 * src/nm-activation-request.h:
8332 Remove all the deferred activation code.
8334 * src/nm-device.c: Remove all the deferred activation code. Once the device
8335 activation is started, it's started. Update the activation virtual function
8338 * src/nm-device-interface.c:
8339 * src/nm-device-interface.h:
8340 Device activation now takes only NMActRequest argument.
8341 Don't expose device activation directly on dbus, it's supposed to go through
8344 * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Make the code
8346 Use the new device activation methods through NMManager.
8348 * introspection/nm-manager-client.xml:
8349 * introspection/nm-manager.xml:
8350 * libnm-glib/nm-client.c:
8351 * libnm-glib/nm-client.h:
8352 Add device activation method.
8354 * libnm-glib/nm-device.c:
8355 * libnm-glib/nm-device.h:
8356 * introspection/nm-device.xml:
8357 Remove device activation method. It's done through NMManager now.
8359 * src/vpn-manager/nm-vpn-manager.c (impl_vpn_manager_connect): Use the shiny
8360 new (nm_manager_get_device_by_path) function, get rid of our own )find_device).
8362 2007-09-28 Dan Williams <dcbw@redhat.com>
8364 * libnm-glib/nm-vpn-connection.c
8365 - (nm_vpn_connection_get_state): try to update state if the current
8368 2007-09-27 Dan Williams <dcbw@redhat.com>
8370 Patch from Bill Nottingham
8372 * src/supplicant-manager/nm-supplicant-config.c
8373 - (ADD_STRING_VAL): use correct length for binary blobs when sending
8374 data to the supplicant
8376 2007-09-27 Dan Williams <dcbw@redhat.com>
8378 * src/NetworkManagerSystem.c
8379 - (nm_system_vpn_device_set_from_ip4_config): clean up indentation;
8380 and all address manipulation here should be happening on the
8381 _VPN_ device, not the active device
8383 2007-09-26 Dan Williams <dcbw@redhat.com>
8387 src/nm-activation-request.c
8388 src/nm-activation-request.h
8389 - Move the GetSecrets stuff out of the NMManager instance because it
8390 doesn't really need to be there and complicates things
8393 - (connection_secrets_failed_cb, device_activation_go): connect to the
8394 connection-secrets-failed signal and deactivate the device if
8395 the GetSecrets call fails
8397 * src/nm-device-802-11-wireless.c
8398 - (link_timeout_cb, supplicant_connection_timeout_cb,
8399 real_act_stage2_config, real_act_stage4_ip_config_timeout): request
8400 secrets and give correct hints about whether new secrets should be
8401 asked for by the client or not
8403 2007-09-26 Dan Williams <dcbw@redhat.com>
8405 * src/vpn-manager/nm-vpn-connection.c
8406 - (nm_vpn_connection_set_state, clear_need_auth, finalize,
8407 connection_secrets_updated_cb, get_secrets_cb): don't need to attach
8408 to the secrets-updated signal of the NMConnection since updating
8409 the secrets is done within the scope of the NMVPNConnection object
8411 - (get_connection_secrets): fix an uninialized variable usage error
8413 2007-09-26 Dan Williams <dcbw@redhat.com>
8415 * libnm-util/nm-setting.c
8416 - (setting_vpn_properties_update_secrets): implement so VPN secrets
8417 actually get updated when the user enters them
8419 2007-09-26 Dan Williams <dcbw@redhat.com>
8421 * libnm-glib/nm-vpn-plugin.c
8422 - (impl_vpn_plugin_need_secrets): fix logic when no secrets are needed
8424 2007-09-26 Dan Williams <dcbw@redhat.com>
8426 * include/NetworkManagerVPN.h
8427 - Add a NEED_AUTH state
8429 * src/vpn-manager/nm-vpn-connection.c
8430 - Implement the NEED_AUTH state. First ask the VPN service plugin if
8431 the connection needs secrets, and if so, then ask the settings
8432 service to fill in the secrets. Then start the connection.
8434 2007-09-26 Dan Williams <dcbw@redhat.com>
8436 * src/vpn-manager/nm-vpn-manager.c
8437 - (new_vpn_error, impl_vpn_manager_connect): set errors
8439 2007-09-26 Dan Williams <dcbw@redhat.com>
8441 * introspection/nm-vpn-plugin.xml
8442 libnm-glib/nm-vpn-plugin.c
8443 libnm-glib/nm-vpn-plugin.h
8444 - (impl_vpn_plugin_need_secrets): implement a call that should return
8445 the name of the NMSetting in an NMConnection that may require
8446 secrets specific to that VPN plugin
8448 2007-09-26 Dan Williams <dcbw@redhat.com>
8452 - (nm_manager_get_connection_secrets): make static, unused outside
8454 - Provide NM_MANAGER_CONNECTION_PROXY_TAG for other users
8456 2007-09-26 Tambet Ingo <tambet@gmail.com>
8458 * libnm-glib/nm-vpn-plugin.c (nm_vpn_plugin_connect): Update the plugin activation
8460 (impl_vpn_plugin_connect): Convert properties hash to NMConnection, activate, and
8461 unreference the connection.
8463 * introspection/nm-vpn-plugin.xml: Modify the 'Connect' method arguments: instead of
8464 passing properties hash and routes string list, pass NMConnection (in hashed form).
8466 * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Return routes
8467 as GSList, no need to copy stuff around anymore.
8468 (nm_vpn_connection_activate): Update the plugin activation method.
8470 * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Convert
8471 routes argument to GSList.
8473 2007-09-26 Tambet Ingo <tambet@gmail.com>
8475 * src/nm-manager.c (manager_device_state_changed): Listen to device' NEED_AUTH
8476 state and try to get the secrets.
8478 * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Get the list of
8479 connections from NMManager and let the device to choose the best from the list.
8480 Since the connection list is sorted by system ones first and user ones later,
8481 the devices still prefer system connections like they did before.
8482 (deactivate_old_device): Implement. When a device starts activation, we have a
8483 policy (for now at least) to deactivate any other device that might be either
8484 active or still activating.
8486 * src/vpn-manager/nm-vpn-manager.c: Add NMManager back to the private structure.
8487 It's set on construction, there will be no other way to access it.
8489 * src/nm-device-802-11-wireless.c: Don't touch NMManager, NMManager can listen to
8490 device events and drive the device, not the other way around.
8492 * src/nm-device-802-3-ethernet.c: Ditto.
8494 * src/nm-device.c (nm_device_get_best_connection): The connections list is now
8495 sent along, pass it on to virtual functions.
8497 * src/nm-device-interface.c (nm_device_interface_get_iface): Implement. It's static
8498 for now, but should really be public instead of nm_device_get_iface() since iface
8499 is a property of the DeviceInterface, not Device.
8500 (impl_device_activate): Don't touch NMManager!
8502 2007-09-26 Jürg Billeter <j@bitron.ch>
8504 * initscript/paldo/NetworkManager.in:
8505 * initscript/paldo/NetworkManagerDispatcher.in:
8506 * src/backends/NetworkManagerPaldo.c: (nm_system_enable_loopback),
8507 (nm_system_flush_loopback_routes): update paldo backend
8509 2007-09-26 Tambet Ingo <tambet@gmail.com>
8511 * src/nm-device-802-3-ethernet.c (real_get_best_connection): Don't leak NMManager.
8512 The problem with leaking NMManager is that on shutdown, it doesn't get destroyed,
8513 which means none of the devices get brought down properly, which in turn leaves
8514 DHCP client running.
8516 * src/nm-device-802-11-wireless.c (real_get_best_connection): Ditto.
8517 (supplicant_connection_timeout_cb): Ditto.
8519 2007-09-25 Dan Williams <dcbw@redhat.com>
8522 - (device_activation_go): small hack to work around race when
8523 activating deferred connections; should solve this in a better way
8525 2007-09-25 Dan Williams <dcbw@redhat.com>
8527 * introspection/nm-device.xml
8528 libnm-glib/nm-device.c
8529 libnm-glib/nm-device.h
8530 - Add 'Carrier' property to exported NMDevice objects
8532 * src/nm-device-interface.h
8533 src/nm-device-interface.c
8535 - Add a 'carrier' property to internal NMDevice objects
8537 2007-09-25 Dan Williams <dcbw@redhat.com>
8539 * src/nm-device-802-11-wireless.c
8540 - (ap_auth_enforced): also return the encryption status of the AP so
8541 that callers can differentiate easily between unencrypted APs
8542 and encrypted ones, in addition to whether the AP has an
8544 - (link_timeout_cb, supplicant_connection_timeout_cb,
8545 real_act_stage4_ip_config_timeout): handle unencrypted APs better,
8546 previously would request secrets from unencrypted APs at times
8548 2007-09-25 Dan Williams <dcbw@redhat.com>
8551 - (nm_manager_update_state): new function; updates state and emits
8552 appropriate signals ensuring a state-change signal for the same state
8553 never gets emitted twice in a row.
8554 - (manager_device_state_changed): handle more device state to get a
8555 better picture of the overall NM state
8557 2007-09-25 Dan Williams <dcbw@redhat.com>
8559 * libnm-glib/nm-settings.c
8560 libnm-glib/nm-settings.h
8561 - (new_error -> nm_settings_new_error): make public so that subclasses
8562 can use the same error domain. Also pass a valid error code to
8563 g_error_new_literal() so that libdbus doesn't assert when converting
8564 the GError into a DBusError
8565 - (impl_settings_list_connections, impl_connection_settings_get_id,
8566 impl_connection_settings_get_settings,
8567 impl_connection_settings_get_secrets): use new error creator
8570 2007-09-25 Dan Williams <dcbw@redhat.com>
8572 * src/NetworkManager.c
8573 - (nm_signal_handler, main): don't ignore SIGTERM/SIGINT during startup
8575 2007-09-25 Dan Williams <dcbw@redhat.com>
8577 * src/supplicant-manager/nm-supplicant-manager.c
8578 - (poke_supplicant_cb, nm_supplicant_manager_init,
8579 nm_supplicant_manager_dispose, nm_supplicant_manager_name_owner_changed,
8580 nm_supplicant_manager_startup): when the supplicant isn't running,
8581 try to start it periodically via system bus activation. Fixes
8582 a problem where if wpa_supplicant goes away, NM gets stuck waiting
8583 for the supplicant to come back
8585 2007-09-25 Dan Williams <dcbw@redhat.com>
8587 Ensure that old activation requests are forgotten about; previously
8588 hitting Cancel in the password dialog would deactivate whatever device
8589 that password was requested for, even if that wasn't the currently
8590 activating connection.
8594 - (nm_manager_get_connection_secrets): track the pending call
8595 object so it can be canceled later if needed
8596 - (nm_manager_cancel_get_connection_secrets): cancel a pending
8597 GetSecrets call for a particular connection
8599 * src/nm-activation-request.c
8600 - (dispose): cancel any outstanding GetSecrets calls on the
8603 2007-09-25 Dan Williams <dcbw@redhat.com>
8605 * src/NetworkManagerPolicy.c
8606 - (nm_policy_device_change_check): handle devices that have a
8607 deferred activation. These devices are not really active _yet_,
8608 but need to be treated as such here. Don't interrupt them
8611 * src/nm-device-interface.c
8612 - (impl_device_activate): handle devices that have a deferred activation
8613 like activating or active devices. When multiple active devices
8614 get committed, the device shouldn't be deactivated until the
8615 connection details are available to avoid DoS and such. Currently,
8616 any active, activating, or deferred activation device is deactivated
8617 here before starting the new activation request.
8619 2007-09-25 Dan Williams <dcbw@redhat.com>
8621 Properly re-query secrets from the settings daemon when stuff fails.
8623 * src/nm-device-802-11-wireless.c
8624 - (ap_auth_enforced): handle static WEP correctly here by differentiating
8625 between Shared Key and Open System auth modes
8626 - (link_timeout_cb, supplicant_connection_timeout_cb,
8627 real_act_stage4_ip_config_timeout): clear existing secrets and
8628 request new ones when something fails due to a suspected wrong key
8629 - (real_act_stage2_config): fix for new request_new argument to
8630 nm_manager_get_connection_secrets()
8634 - (nm_manager_get_connection_secrets): return error status; pass
8635 new request_new argument on to the settings daemon
8637 * introspection/nm-settings-connection.xml
8638 - New 'request_new' argument to the GetSecrets call that hints to the
8639 settings daemon to ask the user for completely new secrets
8641 * libnm-glib/nm-settings.c
8642 libnm-glib/nm-settings.h
8643 - (impl_connection_settings_get_secrets): handle new 'request_new'
8646 2007-09-25 Dan Williams <dcbw@redhat.com>
8648 * libnm-util/nm-connection.c
8649 libnm-util/nm-connection.h
8650 - (nm_connection_clear_secrets): new function; clear secrets out of
8651 each NMSetting in an NMConnection
8653 * libnm-util/nm-setting.h
8654 libnm-util/nm-setting.c
8655 - (nm_setting_clear_secrets, default_setting_clear_secrets): clear
8656 secrets out of an NMSetting
8657 - (nm_setting_connection_new, nm_setting_ip4_config_new,
8658 nm_setting_wired_new, nm_setting_wireless_new,
8659 nm_setting_wireless_security_new, nm_setting_ppp_new,
8660 nm_setting_vpn_new, nm_setting_vpn_properties_new): set clear_secrets
8661 to default handler default_setting_clear_secrets()
8663 2007-09-25 Dan Williams <dcbw@redhat.com>
8665 * src/nm-activation-request.c
8666 src/nm-activation-request.h
8667 - (nm_act_request_is_deferred): new function
8669 2007-09-24 Dan Williams <dcbw@redhat.com>
8671 * src/nm-device-802-11-wireless.c
8672 - (activation_success_handler): update signal strength immediately
8675 2007-09-24 Dan Williams <dcbw@redhat.com>
8677 * libnm-util/nm-setting.c
8678 - (verify_wep_key): 40-bit WEP keys are 10 bytes long, not 13
8680 2007-09-24 Dan Williams <dcbw@redhat.com>
8682 * src/NetworkManagerPolicy.c
8683 - (nm_policy_auto_get_best_device): don't interrupt activation of a
8684 device by deactivating it because it doesn't have a "best connection".
8685 Since autoconnect=False connections aren't automatically chosen,
8686 NM would interrupt activation of such a connection because it
8687 would never be "best" due to autoconnect=False.
8689 2007-09-24 Dan Williams <dcbw@redhat.com>
8692 - (nm_manager_get_connection_secrets): Add a long timeout so the user
8693 actually has some time to enter a key before the GetSecrets call
8696 2007-09-24 Dan Williams <dcbw@redhat.com>
8698 * introspection/nm-manager.xml
8700 - (impl_manager_legacy_state): fix 'state' method call return value
8702 2007-09-24 Matthias Clasen <mclasen@redhat.com>
8704 * test/Makefile.am: Install nm-tool
8706 2007-09-24 Dan Williams <dcbw@redhat.com>
8708 Patch from Ross Burton <ross@burtonini.com>
8711 callouts/nm-dhcp-client-action.c
8713 src/vpn-manager/nm-vpn-connection.c
8714 libnm-glib/libnm-glib-test.c
8717 2007-09-24 Dan Williams <dcbw@redhat.com>
8719 * libnm-util/nm-utils.h
8720 libnm-util/nm-utils.c
8721 - (nm_dbus_send_with_callback_replied, nm_dbus_send_with_callback):
8724 2007-09-23 Dan Williams <dcbw@redhat.com>
8726 * vpn-daemons/vpnc/properties/nm-vpnc.c
8727 - Update for new VPN properties API bits; instead of passing around
8728 a lot of random things, everything goes into the NMConnection
8731 2007-09-23 Dan Williams <dcbw@redhat.com>
8733 * libnm-util/nm-setting.c
8734 - Correctly dispose of settings objects if creating them from a hash
8737 2007-09-23 Dan Williams <dcbw@redhat.com>
8739 * libnm-util/nm-setting.c
8740 - (property_value_destroy, nm_setting_vpn_properties_new): initialize
8741 the hash table in a standard manner. Clients of libnm-util should
8742 only call g_hash_table_remove_all(), never destroy the hash table
8745 2007-09-22 Dan Williams <dcbw@redhat.com>
8747 * src/nm-device-802-11-wireless.c
8748 - (real_bring_up): update signal strength every 6 seconds, not 2. No
8749 real reason to do it so often, and reduces wakeups for clients.
8751 2007-09-21 Dan Williams <dcbw@redhat.com>
8753 * src/nm-device-802-11-wireless.c
8754 - (build_supplicant_config): wpa_supplicant requires the option
8755 key_mgmt=NONE for unencrypted networks
8756 - (real_act_stage2_config): clarify log message on activation
8758 2007-09-21 Dan Williams <dcbw@redhat.com>
8760 * test/nm-supplicant-test.c
8762 - Remove supplicant test binary; no longer applicable
8764 2007-09-21 Dan Williams <dcbw@redhat.com>
8766 * src/supplicant-manager/nm-supplicant-manager.c
8767 - (nm_supplicant_manager_init): poke the supplicant at startup to
8768 activate it on the system bus
8770 2007-09-20 Dan Williams <dcbw@redhat.com>
8772 * initscript/RedHat/NetworkManager.in
8773 - dhcdbd is no longer used, so don't try to start it from the initscripts
8775 2007-09-20 Dan Williams <dcbw@redhat.com>
8778 - (nm_device_is_activating): work around a race between auto-activation
8779 and the user activating the same device that is being auto-activated
8781 2007-09-20 Dan Williams <dcbw@redhat.com>
8783 * src/nm-device-interface.c
8784 - (impl_device_activate): until multiple active device support lands,
8785 ensure only one device can be active at a time
8787 2007-09-20 Dan Williams <dcbw@redhat.com>
8789 * src/supplicant-manager/nm-supplicant-config.c
8790 src/supplicant-manager/nm-supplicant-config.h
8791 - (nm_supplicant_config_add_option): hide secrets from system logs
8793 2007-09-20 Dan Williams <dcbw@redhat.com>
8795 * src/NetworkManagerPolicy.c
8796 - (nm_policy_device_change_check): re-enable the wireless device change
8797 checking code; insted of checking for SSIDs, check for the same
8800 2007-09-20 Dan Williams <dcbw@redhat.com>
8802 * src/nm-device-802-11-wireless.c
8803 - (supplicant_iface_connection_state_cb_handler): don't use the card's
8804 composite link state when determining when to start the disconnection
8805 timer; that link state is already based on the supplicant interface's
8806 status which is exactly what's already being examined, plus the link
8807 state is a conglomeration of various things that we don't want here
8809 2007-09-20 Dan Williams <dcbw@redhat.com>
8811 * libnm-glib/nm-access-point.c
8812 - (handle_property_changed): strength is a UCHAR
8814 2007-09-20 Dan Williams <dcbw@redhat.com>
8816 * src/supplicant-manager/nm-supplicant-config.c
8817 - (nm_supplicant_config_add_setting_wireless_security): uppercase
8818 string list keywords too since that's what wpa_supplicant wants
8820 2007-09-20 Dan Williams <dcbw@redhat.com>
8822 * libnm-util/nm-setting.c
8823 - (convert_strv_to_slist): dupe the values in the list because since
8824 the list is a boxed value, it'll get destroyed when it's container
8825 (like a hash table or whatever) gets destroyed
8827 2007-09-20 Tambet Ingo <tambet@gmail.com>
8829 * libnm-util/nm-setting.h: Change the type of NMSettingVPN->routes to
8832 * libnm-util/nm-setting.c (setting_vpn_destroy): Free routes too.
8834 * src/nm-manager.c (connection_get_settings_cb): No need to use weakref,
8835 just use (g_object_set_data_full).
8837 * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Now
8838 that NMSettingVPN->routes is a GSList, convert it to char **.
8839 (nm_vpn_connection_ip4_config_get): Free routes when done.
8840 (nm_vpn_connection_activate): Ditto.
8842 * src/nm-device-802-11-wireless.c (real_connection_secrets_updated)
8843 (real_act_stage2_config): Use defined setting names.
8845 2007-09-20 Dan Williams <dcbw@redhat.com>
8847 * src/nm-device-802-11-wireless.c
8850 - Pass an NMDeviceInterface into nm_manager_get_connection_secrets()
8851 so that the device can be deactivated if secrets are wrong
8853 2007-09-20 Dan Williams <dcbw@redhat.com>
8855 * introspection/nm-settings-connection.xml
8856 libnm-glib/nm-settings.c
8857 libnm-glib/nm-settings.h
8858 - Make GetSecrets asynchronous on the server side
8860 2007-09-20 Dan Williams <dcbw@redhat.com>
8864 - (nm_device_activate): actually check if a given connection
8865 exists before assuming it doesn't
8867 2007-09-20 Tambet Ingo <tambet@gmail.com>
8869 * libnm-util/nm-connection.c (register_default_creators): Use defined
8870 setting names. Register NMSettingVPN and NMSettingVPNProperties.
8872 * libnm-util/nm-setting.c: Define property name strings, use them.
8873 Implement NMSettingVPN and NMSettingVPNProperties settings.
8874 Implement NM_S_TYPE_GVALUE_HASH.
8875 (nm_setting_populate_from_hash): Handle NM_S_TYPE_GVALUE_HASH.
8876 (setting_connection_verify): Rename 'devtype' property to 'type'.
8878 * introspection/nm-vpn-manager.xml: Use NMConnection for VPN service
8881 * src/vpn-manager/nm-vpn-service.c: Ditto.
8883 * src/vpn-manager/nm-vpn-connection.c: Ditto.
8885 * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_connect): Ditto.
8886 (nm_vpn_manager_new): Remove NMManager argument, it's easy enough to get.
8888 * src/nm-device-802-11-wireless.c (find_best_connection): Use defined setting
8889 names. NMSettingConnection->devtype got renamed to 'type'.
8891 * src/nm-device-802-3-ethernet.c (find_best_connection):
8892 (real_get_best_connection): Ditto.
8894 * src/NetworkManager.c (main): Update the vpn manager creation arguments.
8896 * libnm-glib/nm-vpn-manager.[ch]: Update.
8898 2007-09-19 Dan Williams <dcbw@redhat.com>
8900 * src/NetworkManagerAP.c
8901 src/NetworkManagerAP.h
8902 introspection/nm-access-point.xml
8903 - Change strength-changed signal into a properties-changed signal
8904 for all properties, not just strength. Export that signal over dbus
8905 so listeners don't have to poll NM for changes.
8906 - (nm_ap_export_to_dbus, nm_ap_new): not every NMAccessPoint should
8907 get exported over D-Bus, so break up the logic and let other bits
8908 decided when to export the AP
8909 - (nm_ap_new_from_ap): remove, unused
8911 * src/nm-device-802-11-wireless.c
8912 - (merge_scanned_ap): only export APs that are actually on the device
8913 list, not every AP created internally
8915 * libnm-glib/nm-access-point.c
8916 libnm-glib/nm-access-point.h
8917 - Cache properties internally and only hit DBus when needed. Get
8918 property updates from NM signals
8920 2007-09-16 Dan Williams <dcbw@redhat.com>
8922 * libnm-util/nm-connection.c
8923 libnm-util/nm-connection.h
8924 - (nm_connection_for_each_setting_value): new function; iterate over
8925 each setting's value and call a user-provided function with details
8928 * libnm-util/nm-setting.c
8929 libnm-util/nm-setting.h
8930 - (nm_setting_enumerate_values): new function; enumerate the values
8931 of a specific NMSetting subclass for a user-provided function with
8932 details about that value
8933 - Change wep_tx_keyidx to a uint32
8934 - Create settings value tables for each setting defining their type,
8935 key name, offset into the NMSetting subclass' structure, and whether
8936 they are required and/or a secret
8937 - (nm_setting_populate_from_hash): generic function to populate an
8938 NMSetting from a GHash table, make all settings use it
8939 - (nm_setting_hash): generic function to derive a GHashTable from
8940 an NMSetting object, make all settings use it
8942 2007-09-14 Dan Williams <dcbw@redhat.com>
8944 Remove unused stuff in libnm-util
8947 libnm-util/Makefile.am
8948 libnm-util/cipher-private.h
8949 libnm-util/cipher-wep-ascii.c
8950 libnm-util/cipher-wep-ascii.h
8951 libnm-util/cipher-wep-hex.c
8952 libnm-util/cipher-wep-hex.h
8953 libnm-util/cipher-wep-passphrase.c
8954 libnm-util/cipher-wep-passphrase.h
8955 libnm-util/cipher-wpa-psk-hex.c
8956 libnm-util/cipher-wpa-psk-hex.h
8957 libnm-util/cipher-wpa-psk-passphrase.c
8958 libnm-util/cipher-wpa-psk-passphrase.h
8961 libnm-util/dbus-helpers.c
8962 libnm-util/dbus-helpers.h
8963 libnm-util/gnome-keyring-md5.c
8964 libnm-util/gnome-keyring-md5.h
8967 src/nm-device-802-11-wireless.c
8968 test/libnm-util/Makefile.am
8969 test/libnm-util/test-ciphers.c
8970 test/libnm-util/test-dbus-helpers.c
8971 test/libnm-util/test-inputs.h
8974 2007-09-14 Dan Williams <dcbw@redhat.com>
8976 * libnm-util/dbus-method-dispatcher.c
8977 libnm-util/dbus-method-dispatcher.h
8980 2007-09-14 Dan Williams <dcbw@redhat.com>
8982 Implement deferred activation support in the device class.
8984 * src/nm-device-interface.c
8985 src/nm-device-interface.h
8986 - (nm_device_interface_activate): take more arguments to support
8987 deferred activation; callers must pass one of (connection) OR
8988 (service_name, connection_path)
8989 - (impl_device_activate): connection validation is punted to the device
8990 to be able to handle deferred activation. Yes, this means errors
8991 don't get returned from the Activate() dbus call, and yes, that
8992 should be fixed somehow later.
8996 - (clear_act_request): clear additional deferred activation stuff too
8997 - (deferred_activation_timeout_cb): new function; clean up when
8998 deferred activation times out.
8999 - (deferred_activation_start_cb): new function; when the connection
9000 finally becomes available, start device activation
9001 - (nm_device_activate): attach to the right signals of the activation
9002 request if we need to defer activation until the connection is valid
9004 * src/NetworkManagerPolicy.c
9005 - (nm_policy_device_change_check): update for additional arguments
9006 required for nm_device_interface_activate(). Pass NULL for these
9007 though because this function already knows exactly which
9010 2007-09-14 Dan Williams <dcbw@redhat.com>
9012 Implement deferred activation handling in the NMActRequest class. When a
9013 client wants to activate a device but must create the NMConnection details
9014 on the fly, there likely hasn't been enough time yet for NM to receive the
9015 new connection signal and grab all the connection details. So the
9016 activation is deferred (and bounded by a timer) for a while, and if the
9017 connection appears within the window, it is activated.
9019 * src/nm-activation-request.c
9020 src/nm-activation-request.h
9021 - (nm_act_request_class_init): two new signals to support deferred
9022 activation, to allow the listener to handle both timeout and success
9023 - (nm_act_request_new_deferred): new function, starts the deferred
9024 activation timeout handler and listens to the NMManager for
9025 new-connection signals to notice when the connection comes in
9027 2007-09-14 Dan Williams <dcbw@redhat.com>
9031 - (nm_manager_get_connection_service_name,
9032 nm_manager_get_connection_dbus_path): get details about a connection
9033 known internally by the NMManager
9034 - (nm_manager_class_init): fix connection add/remove signal marshalers
9035 because NMConnection is now a GObject subclass
9036 - Use constant for the gobject data tag used on NMConnection objects for
9037 storing the associated DBusGProxy
9039 2007-09-14 Dan Williams <dcbw@redhat.com>
9044 src/supplicant-manager/Makefile.am
9045 src/dhcp-manager/Makefile.am
9046 src/backends/Makefile.am
9047 src/named-manager/Makefile.am
9048 src/ppp-manager/Makefile.am
9049 src/vpn-manager/Makefile.am
9050 test/libnm-util/Makefile.am
9051 test/test-common/Makefile.am
9052 - Remove utils/; it was unused
9054 2007-09-13 Dan Williams <dcbw@redhat.com>
9056 * libnm-glib/nm-vpn-manager.h
9057 libnm-glib/nm-vpn-manager.c
9058 - (nm_vpn_manager_connect): take routes as a GSList, not a char **
9060 2007-09-13 Dan Williams <dcbw@redhat.com>
9062 * src/nm-device-802-3-ethernet.c
9063 - (real_bring_down, nm_device_802_3_ethernet_dispose): disconnect from
9064 netlink monitor carrier signals on dispose, not bring down. The
9065 carrier signals should be handled over the entire lifetime of the
9066 device anyway, not created/destroyed on up or down.
9068 2007-09-13 Dan Williams <dcbw@redhat.com>
9070 * libnm-glib/nm-device.c
9071 libnm-glib/nm-device.h
9072 - (nm_device_activate): take a connection object path rather than an
9073 NMConnection because NMConnection isn't exported over D-Bus and
9074 therefore it dbus-glib can't automatically get an object path from it
9076 2007-09-13 Dan Williams <dcbw@redhat.com>
9078 * libnm-util/nm-setting.c
9079 - (nm_setting_wired_new): set autonegotiate to TRUE by default
9081 2007-09-13 Tambet Ingo <tambet@gmail.com>
9083 * autogen.sh: NetworkManagerMain.h is gone, check for NetworkManager.c.
9085 2007-09-12 Tambet Ingo <tambet@gmail.com>
9087 * src/vpn-manager/nm-vpn-connection.[ch]:
9088 * src/vpn-manager/nm-vpn-manager.[ch]:
9089 * src/vpn-manager/nm-vpn-service.[ch]: Rewrite the vpn handling code. Using
9090 dbus-glib, GObjects, signals etc.
9092 * libnm-glib/nm-vpn-manager.[ch]:
9093 * libnm-glib/nm-vpn-connection.[ch]: Now that the NM implementation changed
9094 so much, rewrite these too.
9096 * libnm-glib/Makefile.am: Add new files to build, build new binding files for
9097 the new introspection files.
9099 * libnm-glib/nm-client.[ch]: Remove all VPN related stuff from here.
9101 * libnm-glib/nm-dbus-utils.[ch]: Renamed from nm-utils.[ch] that was shadowing
9102 the header with the same name from libnm-utils.
9104 * libnm-glib/nm-vpn-plugin.[ch]: Implement.
9106 * libnm-util/Makefile.am: Add nm-utils.[ch] to build.
9108 * introspection/nm-vpn-plugin.xml: Implement.
9110 * introspection/nm-vpn-connection.xml: Implement.
9112 * introspection/nm-vpn-manager.xml: Implement.
9114 * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Remove
9115 the named manager argument, it can just as easily get it as the caller.
9116 (nm_system_vpn_device_unset_from_ip4_config): Ditto.
9118 * src/vpn-manager/nm-dbus-vpn.[ch]: Remove.
9120 * src/nm-dbus-manager.h: Fix up the name_owner signal signature.
9122 * src/dhcp-manager/nm-dhcp-manager.c (garray_to_string): Remove, use one from
9125 * libnm-util/nm-connection.c: Ditto.
9127 * src/NetworkManagerMain.h: Remove, it's finally empty.
9129 * configure.in: Remove utils/ from build.
9131 * include/NetworkManagerVPN.h: Add some more defines to reduce the amount
9132 of hard-coded strings.
9134 * utils/: Move it over to libnm-util.
9136 * test/Makefile.am: Link against libnm-util now that util/ is gone.
9138 * dispatcher-daemon/Makefile.am: Ditto.
9140 * src/Makefile.am: Ditto.
9142 2007-09-12 Dan Williams <dcbw@redhat.com>
9144 Wireless connections can be made with config data from the applet now.
9148 * src/supplicant-manager/nm-supplicant-config.h
9149 src/supplicant-manager/nm-supplicant-config.c
9150 - (nm_supplicant_config_new): kill unused init parameter 'iface'
9151 - (nm_supplicant_config_add_setting_wireless,
9152 nm_supplicant_config_add_setting_wireless_security): new functions;
9153 add key/value pairs from the settings objects to the supplicant
9156 * src/nm-device-802-11-wireless.c
9157 - (cull_scan_list): fix check to not prune currently associated AP
9158 - (build_supplicant_config, real_act_stage2_config): call the functions
9159 of the NMSupplicantConfig that parse settings objects rather than
9160 doing it manually here
9162 2007-09-12 Dan Williams <dcbw@redhat.com>
9164 * src/supplicant-manager/nm-supplicant-interface.c
9165 src/supplicant-manager/nm-supplicant-marshal.list
9166 - (nm_supplicant_interface_class_init): fix stupid mistake, the
9167 "connection-error" signal arguments should be STRING not CHAR
9169 2007-09-12 Dan Williams <dcbw@redhat.com>
9171 * src/NetworkManagerUtils.c
9172 src/NetworkManagerUtils.h
9173 - (nm_utils_hexstr2bin): new function
9175 2007-09-11 Dan Williams <dcbw@redhat.com>
9178 - (connection_get_settings_cb): emit connection-added signal
9179 - (connection_removed_cb): uncomment bits for system settings service,
9180 send connection-removed when appropriate
9181 - (nm_manager_get_connection_secrets, get_secrets_cb): don't clobber
9182 the stack by trying to g_object_set_data() on something that's
9183 not a GObject; handle case where settings service returns
9184 empty settings hash table
9186 2007-09-11 Dan Williams <dcbw@redhat.com>
9188 * src/NetworkManagerPolicy.c
9189 - (connection_added, connection_removed): trigger device change checks
9190 on connection changes
9192 2007-09-11 Dan Williams <dcbw@redhat.com>
9194 * src/nm-activation-request.c
9195 - (connection_secrets_updated_cb): fix c&p error in signal emission
9197 2007-09-11 Dan Williams <dcbw@redhat.com>
9199 * src/nm-device-802-11-wireless.c
9200 - (real_connection_secrets_updated): fix erroneous check
9202 2007-09-11 Dan Williams <dcbw@redhat.com>
9204 * introspection/nm-device.xml
9205 libnm-glib/nm-device.c
9206 libnm-glib/nm-device.c
9207 - Fix Activate call argument borkage; Activate takes 3 arguments
9209 2007-09-11 Dan Williams <dcbw@redhat.com>
9211 * libnm-glib/nm-access-point.c
9212 libnm-glib/nm-access-point.c
9213 - (nm_access_point_get_frequency): now returns guint32 to match
9214 property change on 2007-09-10
9216 2007-09-11 Dan Williams <dcbw@redhat.com>
9218 * src/nm-device-802-11-wireless.c
9219 - (nm_device_802_11_wireless_new): s/index/idx, stupid system header
9220 somewhere defines 'index' and I missed this one when I fixed the
9221 shadow declaration errors earlier
9223 2007-09-11 Dan Williams <dcbw@redhat.com>
9225 * libnm-util/nm-connection.c
9226 - (nm_connection_update_secrets, need_secrets_check): move
9227 802-11-wireless-security need_secrets checks to the setting object
9228 itself, where it belongs
9230 * libnm-util/nm-setting.c
9231 libnm-util/nm-setting.h
9232 - (nm_setting_need_secrets): new function
9233 - (setting_wireless_security_verify,
9234 nm_setting_wireless_security_new_from_hash): make 'key-mgmt' required
9235 - (setting_wireless_security_need_secrets): mostly copy code over
9236 from nm-connection.c
9238 2007-09-11 Dan Williams <dcbw@redhat.com>
9240 * libnm-util/nm-setting.c
9241 libnm-util/nm-setting.h
9242 - (nm_setting_update_secrets): new function; add a virtual function that
9243 subclasses can implement to update their secrets
9244 - (setting_wireless_security_update_secrets): implement that function
9245 for the 802-11-wireless-security subclass
9247 * libnm-util/nm-connection.c
9248 libnm-util/nm-connection.h
9249 - (nm_connection_update_secrets): update secrets for a Setting and
9250 emit a signal on success
9255 - (connection_get_settings_cb): enable system settings bits
9256 - (nm_manager_get_connection_secrets, get_secrets_cb): add function
9257 to request secrets from the settings dbus service and to
9258 push those secrets to the NMConnection itself
9260 * src/nm-activation-request.c
9261 src/nm-activation-request.h
9262 - Attach to the 'secrets-updated' signal of the NMConnection that's
9263 currently being activated, and proxy that signal to other listeners.
9264 Goes through the activation request because the activation request
9265 is the thing that manages the lifetime of the NMConnection that's
9268 * src/nm-device-802-11-wireless.c
9269 - (real_connection_secrets_updated): implement the connection secrets
9270 updated notification and restart activation when secrets are
9272 - (real_act_stage2_config): request secrets from the settings dbus
9273 service if secrets are needed
9277 - (clear_act_request, nm_device_activation_cancel,
9278 nm_device_deactivate_quickly, nm_device_dispose): consolidate places
9279 where the activation request is cleared
9280 - (nm_device_activate, connection_secrets_updated_cb): attach to the
9281 updated secrets signal of activation request and add a function
9282 that subclasses can override to handle it easily
9284 2007-09-11 Tambet Ingo <tambet@gmail.com>
9286 * src/backends/NetworkManagerSuSE.c: Fix a build issue caused by the
9287 removal of NetworkManagerAPList.
9289 2007-09-10 Dan Williams <dcbw@redhat.com>
9291 * src/NetworkManagerAP.c
9292 src/NetworkManagerAP.h
9293 introspection/nm-access-point.xml
9294 - Change 'freq' property to a guint32 instead of a double since we
9295 weren't using the floating point bits anyway
9297 2007-09-10 Dan Williams <dcbw@redhat.com>
9299 * NetworkManagerAP.c
9301 NetworkManagerPolicy.c
9302 NetworkManagerSystem.c
9303 NetworkManagerUtils.c
9304 NetworkManagerUtils.h
9305 nm-device-802-11-wireless.c
9306 nm-device-802-3-ethernet.c
9309 vpn-manager/nm-dbus-vpn.c
9310 - Warning fixes; casts and removal of unused variables
9312 2007-09-10 Dan Williams <dcbw@redhat.com>
9314 * include/NetworkManager.h
9315 - Kill NMNetworkType; AP types don't matter any more
9317 * src/NetworkManagerAPList.c
9318 src/NetworkManagerAPList.h
9320 - Kill; NMAccessPointList has outlived it's usefulness
9322 * src/NetworkManagerAP.c
9323 src/NetworkManagerAP.h
9324 - (match_cipher, security_compatible, nm_ap_check_compatible): new
9325 functions; check if an NMConnection object is compatible with the
9327 - (freq_to_channel, channel_to_freq): utility functions for
9328 channel <-> frequency conversion
9332 - (nm_device_get_best_connection): pass the specific object around
9333 (which might be the object path of a specific AP to connect to).
9334 The get_best_connection() call should populate this on return
9335 if needed (wireless does).
9337 * src/nm-device-802-3-ethernet.c
9338 - (real_get_best_connection): handle specific_object argument
9340 * src/NetworkManager.c
9341 src/NetworkManagerMain.h
9342 - Remove unused includes
9344 * src/nm-device-802-11-wireless.c
9345 src/nm-device-802-11-wireless.h
9346 - Convert the ap_list into a GSList from an NMAccessPointList
9347 - No need for caching the 'activation_ap' since this is now determined
9348 from the specific_object of the activation request, which is
9349 populated from the get_best_connection() call or from a user request
9350 - (nm_device_802_11_wireless_update_bssid): fix warning
9351 - (get_wireless_capabilities): fix error message format arguments
9352 - (nm_device_802_11_wireless_copy_allowed_to_dev_list): remove, unused
9353 - (find_best_connection, real_get_best_connection): implement
9354 - (ap_list_get_ap_by_ssid, nm_device_802_11_wireless_ap_list_print):
9355 move here from NetworkManagerAPList
9356 - (ap_need_secrets): remove; moved to nm-connection.c where it belongs
9357 - (real_act_stage1_prepare): just ensure an AP exists, connection is
9358 already verified earlier
9359 - (real_act_stage2_config): use nm_connection_need_secrets()
9361 * src/NetworkManagerPolicy.c
9362 - (nm_policy_auto_get_best_device): handle specific objects
9363 - (create_connection): remove; automatic connection creation functionality
9364 is handled by the Connection objects
9365 - (nm_policy_device_change_check): handle specific_object
9367 * libnm-util/nm-connection.c
9368 - (wireless_sec_need_secrets, nm_connection_need_secrets): implement
9370 2007-09-10 Dan Williams <dcbw@redhat.com>
9373 - (query_connections): fix uninitialized variable problem that caused
9375 - (nm_manager_add_device): take devices down on startup so that we can
9376 be assured that nm_device_is_up() won't short-circuit the init
9377 process. Hack until the is_up check gets split into two pieces
9378 that aren't behaviorally confusing.
9380 2007-09-09 Dan Williams <dcbw@redhat.com>
9382 * introspection/nm-device.xml
9383 - The 'Activate' method now takes 3 arguments, a service name for the
9384 settings service (user or system), the object path of the connection
9385 to activate, and the specific object to activate, if any
9387 * src/nm-device-interface.c
9388 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
9390 - (impl_device_activate): adapt to new Activate arguments; validate
9391 the service name and get the Connection object from the NMManager
9392 before starting to activate the device with the specified connection
9394 * src/nm-device-802-3-ethernet.c
9395 - (real_get_best_connection): find the best connection, or create a
9396 default one if no existing connections can be used
9398 * src/NetworkManagerPolicy.c
9399 - (nm_policy_auto_get_best_device): Get the device's best connection
9400 and only pick the device if it has one
9401 - (nm_policy_device_change_check): disable wireless bits for now until
9402 wireless get_best_connection() can be implemented (replacing "best_ap");
9403 don't create a default connection here as the device subclass will do
9408 - (nm_manager_get): make NMManager a singleton and expose the getter
9410 - Rework internal NMManager connection handling to use the same
9411 routines for both the system and user settings services. Most calls
9412 take a new NMConnectionType argument specifying either system or user
9414 - (nm_manager_get_connection_by_object_path): new function; get a
9415 connection keyed on its object path
9417 * src/NetworkManager.c
9418 - (main): use nm_manager_get()
9420 2007-09-09 Dan Williams <dcbw@redhat.com>
9424 - (nm_device_get_best_connection): new function; get best connection
9425 for the device at that time
9427 2007-09-09 Dan Williams <dcbw@redhat.com>
9429 * src/nm-device-interface.h
9430 - Add NMDeviceInterfaceError with an UnknownConnection error
9432 2007-09-09 Dan Williams <dcbw@redhat.com>
9434 Stupid mistake on my part; object path and interface for settings service
9435 and connection objects can be the same, only the service name must be
9436 different for the system and user settings services.
9438 * include/NetworkManager.h
9440 introspection/nm-settings-connection.xml
9441 introspection/nm-settings.xml
9442 libnm-glib/nm-settings.c
9443 - (nm_connection_settings_init, query_user_connections,
9444 new_connection_cb): Unify NetworkManagerSettings and Connection
9445 interface name and object path
9447 2007-09-06 Dan Williams <dcbw@redhat.com>
9449 * libnm-glib/nm-object.c
9450 - (nm_object_get_string_property, nm_object_get_object_path_property,
9451 nm_object_get_int_property, nm_object_get_uint_property,
9452 nm_object_get_boolean_property, nm_object_get_byte_property,
9453 nm_object_get_double_property, nm_object_get_byte_array_property):
9454 clear GValues after copying their contents, fixes memory leaks
9455 after every property access because dbus-glib copies the values
9456 from the DBusMessage into the GValue already.
9458 2007-09-06 Dan Williams <dcbw@redhat.com>
9460 * introspection/nm-access-point.xml
9461 - Fix WpaFlags and RsnFlags property names to be what dbus-glib expects
9462 them to be. There's some magic property name parsing going on in
9463 dbus-glib that breaks up property names based on studly-caps and
9464 puts - between words.
9466 * libnm-glib/nm-access-point.c
9467 - (nm_access_point_get_wpa_flags, nm_access_point_get_rsn_flags):
9470 2007-09-06 Dan Williams <dcbw@redhat.com>
9473 - (nm_manager_user_connections_destroy): clear the user connections hash
9474 table, don't destroy it
9475 - (finalize): only destroy the hash table on NMManager finalization
9477 2007-09-02 Dan Williams <dcbw@redhat.com>
9479 * include/NetworkManager.h
9480 libnm-glib/nm-settings.c
9481 - defines for the user settings daemon D-Bus bits
9483 * src/NetworkManager.c
9484 - Remove stuff that referred to the old NetworkManagerInfo service
9486 * src/vpn-manager/nm-dbus-vpn.h
9487 - Move old NMI defines to the only place they are used still
9489 * libnm-util/nm-connection.c
9490 libnm-util/nm-connection.h
9491 src/nm-activation-request.c
9492 - Make NMConnection a GObject subclass so we can do spiffy stuff with it
9496 - Get connections and their settings from the user settings daemon
9497 at the appropriate times
9499 2007-09-02 Dan Williams <dcbw@redhat.com>
9501 * libnm-util/nm-setting.c
9502 - (nm_settings_verify): correct setting name is 'connection', not 'info'
9503 - (setting_wireless_hash): set the right value on the item
9505 2007-09-02 Dan Williams <dcbw@redhat.com>
9509 - Remove, no longer useful
9511 2007-08-30 Dan Williams <dcbw@redhat.com>
9514 src/NetworkManagerDbus.c
9515 src/NetworkManagerDbus.h
9516 src/vpn-manager/nm-dbus-vpn.c
9517 - Remove, no longer necessary. Move last bits to the only place its
9518 used, in nm-dbus-vpn.c
9520 * src/NetworkManagerAPList.c
9522 src/NetworkManager.c
9523 src/nm-device-802-11-wireless.c
9524 src/vpn-manager/nm-vpn-manager.c
9525 src/vpn-manager/nm-vpn-service.c
9526 src/NetworkManagerPolicy.c
9528 - Remove usage of NetworkManagerDbus.h, and kill the obfuscation
9529 that was message_is_error()
9531 2007-08-30 Dan Williams <dcbw@redhat.com>
9534 - Include config.h to get defines for endiannes (gnome.org #420216)
9536 2007-08-30 Dan Williams <dcbw@redhat.com>
9538 Patch from Philip Withnall <bugzilla@tecnocode.co.uk>
9540 * src/ppp-manager/Makefile.am
9541 - use -fPIC (gnome.org #471825)
9543 2007-08-29 Dan Williams <dcbw@redhat.com>
9545 * include/NetworkManager.h
9546 - Keep NMConnection object path in sync
9548 * libnm-glib/nm-settings.c
9549 libnm-glib/nm-settings.h
9550 - Break D-Bus object registration out of the init function, because
9551 every object that's exported over D-Bus needs to use the _same_
9552 DBusConnection. Otherwise, each object would get a different object
9553 path tree and wouldn't be callable.
9555 2007-08-29 Dan Williams <dcbw@redhat.com>
9557 * libnm-util/nm-setting.h
9558 libnm-util/nm-setting.c
9559 libnm-util/nm-connection.c
9560 src/NetworkManagerPolicy.c
9561 - 'info' settings object should be 'connection' says the spec
9562 at NetworkManagerConfigurationSpecification
9564 2007-08-29 Dan Williams <dcbw@redhat.com>
9566 * libnm-glib/nm-settings.c
9567 libnm-glib/nm-settings.h
9568 - make the dbus path a property of the object, and autogenerate it.
9569 It can't be composed of the 'id' field becuase that's not available
9570 yet during the GObject creation in nm_connection_settings_init()
9572 2007-08-29 Dan Williams <dcbw@redhat.com>
9574 * introspection/nm-settings-connection.xml
9575 introspection/nm-settings.xml
9576 - Service name -> NetworkManagerUserSettings because two services
9577 can't share part of the same path. I'm not really sure how we'll use
9578 the same code with the system-settings daemon...
9580 2007-08-28 Dan Williams <dcbw@redhat.com>
9582 * src/nm-device-interface.c
9583 src/nm-device-interface.h
9584 - Kill one more bit of NMData
9586 2007-08-28 Dan Williams <dcbw@redhat.com>
9588 * src/NetworkManagerSystem.h
9591 src/nm-hal-manager.c
9592 src/NetworkManager.c
9593 src/nm-device-802-11-wireless.c
9594 src/nm-hal-manager.h
9595 src/nm-device-802-3-ethernet.c
9596 src/vpn-manager/nm-vpn-service.h
9597 src/vpn-manager/nm-vpn-manager.c
9598 src/vpn-manager/nm-vpn-manager.h
9599 src/vpn-manager/nm-vpn-service.c
9600 src/nm-device-802-11-wireless.h
9601 src/NetworkManagerMain.h
9602 src/nm-device-802-3-ethernet.h
9603 src/backends/NetworkManagerGentoo.c
9604 src/backends/NetworkManagerPaldo.c
9605 src/backends/NetworkManagerFrugalware.c
9606 src/backends/NetworkManagerRedHat.c
9607 src/backends/NetworkManagerSlackware.c
9608 src/backends/NetworkManagerGeneric.c
9609 src/backends/NetworkManagerArch.c
9610 src/backends/NetworkManagerSuSE.c
9611 src/backends/NetworkManagerGeneric.h
9612 src/backends/NetworkManagerDebian.c
9615 2007-08-28 Dan Williams <dcbw@redhat.com>
9617 * src/NetworkManagerMain.h
9618 src/nm-device-802-11-wireless.c
9619 src/NetworkManager.c
9620 - Remove invalid AP list from NMData; need to rework this somewhat, but
9621 for now we should set the 'invalid' property on individual APs, and when
9622 we need to invalidate a whole ESS, set the 'invalid' on every member of
9625 2007-08-28 Dan Williams <dcbw@redhat.com>
9627 * src/NetworkManagerAP.c
9628 src/NetworkManagerAP.h
9629 - Remove 'fallback' tag, to be replaced by NMConnection/NMSettings
9630 'autoconnect' property instead
9632 * src/NetworkManager.c
9633 src/NetworkManagerMain.h
9634 src/NetworkManagerPolicy.c
9635 src/NetworkManagerPolicy.h
9636 - Remove the 'allowed_ap_list', which should be replaced by
9637 NMConnection/NMSettings instead, since _those_ are the allowed
9638 things that NM can connect to
9640 * src/nm-device-802-11-wireless.c
9641 - Remove both allowed_ap_list usage and 'fallback' checking
9643 2007-08-28 Dan Williams <dcbw@redhat.com>
9646 src/named-manager/nm-named-manager.c
9647 src/named-manager/nm-named-manager.h
9648 src/NetworkManager.c
9649 src/vpn-manager/nm-vpn-manager.c
9650 src/NetworkManagerMain.h
9651 src/NetworkManagerSystem.c
9652 - Remove the named-manager object from NMData structure in preparation
9653 for NMData's timely death. Make the NMNamedManager the singleton that
9656 2007-08-28 Dan Williams <dcbw@redhat.com>
9658 Remove NMAPSecurity objects, they are replaced with flags on the APs for
9659 each AP's capabilities, and by NMConnection/NMSettings objects for user
9660 defined connections.
9662 * include/NetworkManager.h
9663 - Redefine 802.11 security properties. There are now device capabilities
9664 and AP flags and AP security flags. It was way to unclear before.
9667 src/nm-ap-security-leap.h
9668 src/nm-ap-security-leap.c
9669 src/nm-ap-security-wpa-eap.c
9670 src/nm-ap-security-wpa-eap.h
9671 src/nm-ap-security-private.h
9672 src/nm-ap-security-wpa-psk.c
9673 src/nm-ap-security-wpa-psk.h
9674 src/nm-ap-security-wep.c
9675 src/nm-ap-security-wep.h
9676 src/nm-ap-security.c
9677 src/nm-ap-security.h
9678 - Removed, to be replaced with NMConnection/NMSettings objects
9682 - Removed, to be replaced by code that talks to the new info daemon
9683 interface and gets NMConnection/NMSettings objects
9685 * src/backends/NetworkManagerSuSE.c
9686 - Remove usage of NMAPSecurity; should be replaced by a system-level
9687 info-daemon that does the same thing but talks the new info-daemon
9690 * src/NetworkManagerAP.h
9691 src/NetworkManagerAP.c
9692 src/NetworkManagerAPList.c
9693 libnm-glib/libnm-glib-test.c
9694 - Remove usage of NMAPSecurity objects and adjust to new flags for
9697 * libnm-glib/nm-access-point.c
9698 libnm-glib/nm-access-point.h
9699 introspection/nm-access-point.xml
9701 - Adjust to new flags for AP security
9705 src/vpn-manager/nm-dbus-vpn.c
9706 - Remove D-Bus pending call stuff from nm-utils and put it in the VPN
9707 stuff which is the only place it's used
9709 * src/nm-device-interface.c
9710 src/nm-device-interface.h
9711 introspection/nm-device.xml
9712 src/nm-activation-request.c
9713 src/nm-activation-request.h
9715 - Add a new 'specific_object' argument that hints to NM what actual
9716 AP or other device-specific thing the connection should apply to.
9717 NMConnection objects can apply to more than one actual device/AP.
9719 * libnm-util/nm-connection.c
9720 * libnm-util/nm-connection.h
9721 - Add 'have_secrets" call stubs
9723 * libnm-util/cipher.h
9724 - Move NM_AUTH_TYPE_* defines here for now
9726 * src/nm-device-802-11-wireless.c
9727 - Remove usage of NMAPSecurity, to be replaced with NMConnection/
9730 * src/NetworkManagerDbus.c
9731 * src/NetworkManagerPolicy.c
9732 - Remove usage of update_allowed_networks, should be pushing data in
9735 2007-08-27 Tambet Ingo <tambet@gmail.com>
9737 * src/nm-manager.c (impl_manager_get_devices): Duplicate the device path,
9738 dbus-glib frees it when the call is done.
9740 2007-08-26 Dan Williams <dcbw@redhat.com>
9742 * introspection/nm-device.xml
9743 - Add 'Index' property on NMDevice objects (forgot to do this earlier)
9745 2007-08-26 Dan Williams <dcbw@redhat.com>
9747 * src/nm-device-802-3-ethernet.c
9748 - (constructor): move connection of interface-connected/disconnected
9749 signals here from real_bring_up(). Should be listening to netlink
9750 for carrier events no matter what the initial state of the device
9753 2007-08-26 Dan Williams <dcbw@redhat.com>
9755 * src/nm-netlink-monitor.c
9756 - (nm_netlink_monitor_class_init): fix marshalling types for
9757 interface-connected/interface-disconnected
9758 - (nm_netlink_monitor_event_handler): clean up carrier on/off
9761 2007-08-26 Dan Williams <dcbw@redhat.com>
9763 Convert to using interface indexes as the primary method of identifying
9764 devices inside NetworkManager. Indexes are (?) stable, but devices can
9765 be renamed at any time. Device object paths now refer to the device
9766 index rather than the name, and you can map those two manually if you like
9767 by looking in the /sys/class/net/<name>/ifindex file. Also moves most
9768 netlink-related code to nm-netlink.c, and cleans up nm-netlink-monitor.c
9769 to use interface indexes rather than names.
9771 2007-08-26 Dan Williams <dcbw@redhat.com>
9773 * src/nm-netlink-monitor.h
9774 - Remove one last bit of wireless-event signal
9776 2007-08-26 Dan Williams <dcbw@redhat.com>
9778 * src/nm-netlink-monitor.c
9779 - (nm_netlink_monitor_class_init, nm_netlink_monitor_event_handler):
9780 don't need the 'wireless-event' signal anymore since that's all
9781 handled by wpa_supplicant
9783 2007-08-25 Dan Williams <dcbw@redhat.com>
9785 It's 2007. Remove support for drivers that don't support wireless scanning.
9788 include/NetworkManager.h
9789 src/NetworkManagerUtils.c
9790 src/NetworkManagerPolicy.c
9791 src/nm-device-802-11-wireless.c
9792 - Remove special handling for non-scanning devices and mark them
9793 as unsupported/unhandled
9795 2007-08-20 Dan Williams <dcbw@redhat.com>
9797 * src/nm-device-802-11-wireless.c
9798 src/nm-device-802-3-ethernet.c
9799 - (real_is_up): move device-specific tests before generic IFF_UP test,
9800 because when the card is pulled or the module removed, the device
9801 is already !IFF_UP and then device-specific cleanup (removing
9802 the supplicant interface, periodic checks, etc) never gets done
9804 2007-08-20 Dan Williams <dcbw@redhat.com>
9807 - (nm_manager_remove_device): bring device down before disconnecting
9808 signal handlers, so that the 'state' signal will get broadcast when
9809 the device enters the DOWN state
9810 - (manager_device_state_changed): add NM_DEVICE_STATE_DOWN to the list
9811 of states that cause the NMManager to recheck its state
9813 2007-08-20 Dan Williams <dcbw@redhat.com>
9815 * src/supplicant-manager/nm-supplicant-interface.c
9816 - (interface_disconnect_done): don't try to dispose of the net proxy
9817 when it may already have been disposed of
9819 2007-08-20 Dan Williams <dcbw@redhat.com>
9821 * src/nm-device-802-11-wireless.c
9822 - (nm_device_802_11_wireless_get_ssid): don't traceback and die when
9823 the SSID isn't available; this can happen when the card is pulled
9824 or the module unloaded, during the post-removal deactivation
9825 paths, when the ioctl returns ENODEV
9827 2007-08-20 Dan Williams <dcbw@redhat.com>
9829 * src/nm-device-802-11-wireless.c
9830 - (merge_scanned_ap): only merge the AP with another if the SSID, BSSID,
9831 frequency, and mode match. Applets are now responsible for grouping
9834 2007-08-20 Dan Williams <dcbw@redhat.com>
9836 * src/NetworkManagerAP.c
9837 * src/NetworkManagerAP.h
9838 - (nm_ap_print_self): new function
9840 * src/NetworkManagerAPList.c
9841 - (nm_ap_list_print_members): call nm_ap_print_self() rather than trying
9844 2007-08-17 Dan Williams <dcbw@redhat.com>
9846 * src/nm-device-802-3-ethernet.c
9847 - (real_bring_down): don't try to dispose of stuff that might not
9850 2007-08-17 Dan Williams <dcbw@redhat.com>
9852 * src/NetworkManagerAP.c
9853 - (nm_ap_set_user_addresses): uppercase any BSSID passed in from the
9854 applet. This ensures that the case between the seen-bssids and
9855 the bssids reported by the driver match.
9857 2007-08-17 Dan Williams <dcbw@redhat.com>
9859 * src/nm-device-802-11-wireless.c
9860 - (device_cleanup): disconnect the interface in wpa_supplicant before
9861 we dispose of the interface proxy in NM
9863 2007-08-16 Dan Williams <dcbw@redhat.com>
9865 * libnm-glib/nm-client.c
9866 - (nm_client_init): create VPN connections hash table with key free
9868 - (proxy_vpn_connection_added): VPN connections hash table key should
9869 be a duplicated value, not the same memory address as the VPN
9870 connection name. This is because the VPN connection name could
9871 potentially be freed and set to something else during the lifetime
9872 of the NMVPNConnection object.
9874 2007-08-16 Tambet Ingo <tambet@gmail.com>
9876 * src/ppp-manager/nm-ppp-manager.c (pppd_child_setup): Implement.
9877 (nm_ppp_manager_start): Use g_spawn_async() since we're not doing anything
9878 with the file descriptors. Send a child setup function to change the pppd
9881 2007-08-15 Dan Williams <dcbw@redhat.com>
9883 * src/supplicant-manager/nm-supplicant-interface.c
9884 - (try_remove_iface): new function, ask wpa_supplicant to remove
9886 - (nm_supplicant_interface_dispose): call try_remove_iface() when
9887 disposing of the NMSupplicantInterface. Otherwise weird stuff
9888 happens on hotplug if wpa_supplicant doesn't tear down and readd
9889 the interface internally
9891 2007-08-15 Dan Williams <dcbw@redhat.com>
9893 * src/nm-device-802-11-wireless.c
9894 - (real_bring_down): move most of this function into device_cleanup()
9895 so that it can be called from elsewhere
9896 - (nm_device_802_11_wireless_dispose): clean up device periodic timers
9897 and stuff on dispose. These would normally get cleaned up when
9898 the device is marked down and deactivated, but when the device is
9899 hot-unplugged, it's already down and real_down() never gets run
9901 2007-08-15 Dan Williams <dcbw@redhat.com>
9904 - (nm_dbus_get_user_key_for_network_cb): fix incorrect refcounting that
9905 caused a reference leak on device for which NM requested a key
9907 2007-08-15 Dan Williams <dcbw@redhat.com>
9909 * libnm-glib/nm-client.c
9910 - (nm_client_get_best_vpn_state): fix leakage of the vpn connection list
9912 2007-08-15 Tambet Ingo <tambet@gmail.com>
9914 * src/ppp-manager: Implement ppp-manager. It's sort of dead code for now since
9915 nothing is using it at the moment, but it'll be all useful and stuff later on.
9917 * libnm-util/nm-setting.h: Define NMSettingPPP.
9919 * libnm-util/nm-setting.c: Implement NMSettingPPP.
9921 * libnm-util/nm-connection.c (register_default_creators): Register ppp setting.
9923 * src/Makefile.am: Add ppp-manager to SUBDIRS.
9925 * configure.in: Require ppp headers. Build Makefile for ppp-manager.
9927 * introspection/Makefile.am: Add nm-manager-client.xml to EXTRA_DIST.
9929 2007-08-14 Tambet Ingo <tambet@gmail.com>
9931 * libnm-glib/Makefile.am: Use nm-manager-client.xml to produce nm-client-bindings.
9933 * introspection/nm-manager-client.xml: Add a horrible horrbile hack to work around
9934 an issue with dbus-glib bindings generator. The issue is, the generated C caller
9935 functions for dbus methods "Sleep(bool)" and "sleep()" both have the same function
9936 name and different arguments and it won't compile anymore. To fix this, we now have
9937 two copies of nm-manager.xml file. nm-manager.xml contains the actual interface,
9938 that is new API + compatibility API and used by the daemon. The other,
9939 nm-manager-client.xml is only the new API without compatibility bits and is used
9940 by libnm-glib to make it compile.
9942 * introspection/nm-manager.xml: Define compatibility methods (sleep, wake, state).
9944 * src/nm-manager.c (impl_manager_legacy_sleep)
9945 (impl_manager_legacy_wake, impl_manager_legacy_state): Implement the compatibility
9946 interface functions for 0.6 branch.
9948 2007-08-14 Dan Williams <dcbw@redhat.com>
9950 * src/NetworkManagerAP.c
9951 - (nm_ap_new_from_properties): fix mistaken check of return value
9952 from memcmp (should expect 0)
9954 2007-08-14 Dan Williams <dcbw@redhat.com>
9956 (force-commit to fix wrong comment and partial commit of r2685; this
9957 commit actually applies to r2685)
9959 * src/NetworkManagerUtils.c
9960 - (nm_utils_same_ssid): add "ignore_trailing_null" parameter which
9961 ignores trailing nulls in the SSID to work around mismatches in
9962 expectations between WEXT and what the info-daemon passes back. The
9963 info-daemon would pass back the correct length, but due to the
9964 ESSID length issues with WEXT 22 and greater and wpa_supplicant,
9965 the device would always have an SSID + 1 depending on what versions
9966 of wpa_supplicant, the kernel, and NM you have. This was most often
9967 visible by just quitting the applet and relaunching, which caused
9968 NM to reassociated to the same network over again when reloading
9971 * src/NetworkManagerPolicy.c
9972 src/NetworkManagerUtils.h
9973 src/nm-device-802-11-wireless.c
9974 - Update for new parameter to nm_utils_same_ssid()
9976 2007-08-14 Dan Williams <dcbw@redhat.com>
9978 * src/NetworkManagerAP.c
9979 - (nm_ap_new_from_properties): ignore BSSs with invalid BSSIDs. Today
9980 I encountered a BSS that wasn't just hiding it's ESSID, it was
9981 setting the BSSID to all 0s. That confused the heck out of NM,
9982 plus it's useless and probably out-of-spec.
9984 2007-08-14 Dan Williams <dcbw@redhat.com>
9986 * callouts/Makefile.am
9987 src/dhcp-manager/nm-dhcp-manager.c
9988 src/dhcp-manager/nm-dhcp-manager.h
9989 src/dhcp-manager/Makefile.am
9990 - Change install location of nm-dhcp-client.action to ${prefix}/libexec
9992 2007-08-14 Dan Williams <dcbw@redhat.com>
9994 * src/dhcp-manager/nm-dhcp-manager.c
9995 - (dhclient_run): don't pass -x to dhclient until we figure out if
9996 it's really needed, get rid of unused xtra_args parameter
9998 2007-08-14 Dan Williams <dcbw@redhat.com>
10000 * include/NetworkManagerVPN.h
10001 src/vpn-manager/nm-dbus-vpn.c
10002 src/vpn-manager/nm-dbus-vpn.h
10003 src/vpn-manager/nm-vpn-act-request.c
10004 src/vpn-manager/nm-vpn-act-request.h
10005 src/vpn-manager/nm-vpn-service.c
10006 src/vpn-manager/nm-vpn-service.h
10007 libnm-glib/nm-vpn-connection.c
10008 libnm-glib/nm-vpn-connection.h
10009 libnm-glib/nm-client.h
10010 - Rename NM_VPN_STATE_* -> NM_VPN_SERVICE_STATE_* and NMVPNState ->
10011 NMVPNServiceState to clarify what they apply to
10012 - Rename NM_VPN_ACT_STAGE_* -> NM_VPN_CONNECTION_STATE_* and
10013 NMVPNActStage -> NMVPNConnectionState for the same reason
10015 * libnm-glib/nm-client.c
10016 - Constant + type renames from above
10017 - Properly handle NameOwnerChanged/manager_running signals
10018 for NM service; only emit when state really changes
10019 - Use hash tables correctly so that the key (which was previously owned
10020 by the D-Bus message) now has the same lifetime as the value, since
10021 the key is now taken from the the NMVPNConnection itself. This
10022 really fixes the double-VPN names in the applet
10024 2007-08-13 Dan Williams <dcbw@redhat.com>
10026 Patch from Michael Biebl <biebl@debian.org>
10030 - Update for vpn-properties move
10032 2007-08-13 Dan Williams <dcbw@redhat.com>
10034 * libnm-glib/nm-client.c
10035 - Convert internal VPN connection tracking from a list to a hash table
10036 to easily avoid duplicates
10037 - (nm_client_get_vpn_connections): now returns an allocated GSList that
10038 must be freed by the caller, like nm_client_get_devices()
10039 - (nm_client_remove_vpn_connection): don't let the removal signal
10040 leak through for NMVPNConnection objects that aren't actually
10042 - (manager_running): throw away VPN connection list when NM goes away,
10043 like with the device list
10045 2007-08-13 Dan Williams <dcbw@redhat.com>
10047 * src/dhcp-manager/nm-dhcp-manager.c
10048 - Stop any dhclient instance that might be already running for a
10049 particular interface before starting an NM spawned dhclient. Fixes
10050 dhclient processes left over if NM crashes, stuff like that.
10052 2007-08-13 Dan Williams <dcbw@redhat.com>
10054 * src/NetworkManagerAP.c
10055 - (finalize): don't try to g_array_free (NULL, ...), which happened
10056 when the AP wasn't broadcasting it's SSID
10058 2007-08-13 Rodrigo Moya <rodrigo@gnome-db.org>
10060 * include/NetworkManager.h: added DBus path for connection settings.
10062 * libnm-glib/nm-settings.[ch] (nm_settings_signal_new_connection,
10063 nm_connection_settings_signal_updated,
10064 nm_connection_settings_signal_removed): new functions to wrap the
10066 (nm_connection_settings_init): register GObject with DBus.
10067 (nm_connection_settings_get_dbus_object_path): new function.
10069 * libnm-glib/Makefile.am: added libnmutil to link flags.
10071 2007-08-13 Tambet Ingo <tambet@gmail.com>
10073 * configure.in: Remove checks for dhcdbd as it's killed! killed! killed!
10075 * gnome/*: Remove. The nm-vpn-properties directory is now part of nm-applet,
10076 libnm_glib directory got merged with libnm-glib/.
10078 * libnm-glib/libnm-glib.pc.in: Rename to libnm_glib.pc.in.
10080 * libnm-glib/Makefile.am: Add legacy libnm_glib.[ch] to the build.
10081 Rename the library from libnm-glib to libnm_glib to maintain the library API
10082 compatibility with 0.6 branch.
10084 * Makefile.am: Remove gnome/ SUBDIR.
10086 * gnome/libnm_glib/libnm_glib.[ch]: Move to libnm-glib/.
10088 * src/Makefile.am: Remove the WPA_SUPPLICANT_BIN define.
10090 * dispatcher-daemon/Makefile.am: Link the binary with libnm_glib.
10092 * configure.in: Remove GNOME checks, NetworkManager does not need any of these
10094 Remove checks for wpa_supplicant binary, it's used over dbus.
10095 Remove gnome/ directory files form AC_OUTPUT, that directory is getting moved.
10097 * test/Makefile.am: Remove define WPA_SUPPLICANT_BIN.
10098 Link the binaries with libnm_glib.la.
10100 2007-08-12 Dan Williams <dcbw@redhat.com>
10102 * src/NetworkManagerPolicy.c
10103 - (nm_policy_device_change_check): fix policy to deactivate old device
10104 before activating new one, at least until the multiple active
10105 device support lands
10107 2007-08-12 Dan Williams <dcbw@redhat.com>
10109 * src/NetworkManagerPolicy.c
10110 - (nm_policy_new): hook up to connection-added / connection-removed
10111 signals instead of connections-changed
10113 2007-08-12 Dan Williams <dcbw@redhat.com>
10115 Kill dhcdbd until it's dead, dead, dead. Based on a patch from
10116 Robert Frank <rfrank@redhat.com>
10118 * src/dhcp-manager/nm-dhcp-manager.c
10119 src/dhcp-manager/nm-dhcp-manager.c
10121 - Spawn and communicate with dhclient directly, through means of a
10122 custom dhclient callout script. Process callout D-Bus signals
10123 with dbus-glib instead of hand-rolled dbus. DHCP timeouts are now
10124 sent via gobject signals rather than being driven by the dhcp manager
10127 2007-08-12 Dan Williams <dcbw@redhat.com>
10129 * callouts/nm-dhcp-client-action.c
10130 - (build_message): ignore non-DHCP-related environment variables
10132 2007-08-12 Dan Williams <dcbw@redhat.com>
10136 callouts/Makefile.am
10137 callouts/nm-dhcp-client-action.c
10138 callouts/nm-dhcp-client.conf
10139 - Add dhclient-executed callout that takes the place of dhclient-script
10140 and dhcdbd, pushing DHCP options out to the system bus as a signal that
10141 NM then listens for
10143 2007-08-09 Tambet Ingo <tambet@gmail.com>
10145 [Based on patch by Helmut Schaa <hschaa@suse.de>]
10147 * libnm-glib/nm-client.h:
10148 * libnm-glib/nm-object.h:
10149 * libnm-glib/nm-vpn-connection.h:
10150 * libnm-glib/nm-settings.h:
10151 * libnm-glib/nm-device.h:
10152 * libnm-glib/nm-ip4-config.h:
10153 * libnm-glib/nm-access-point.h:
10154 * libnm-glib/nm-device-802-3-ethernet.h:
10155 * libnm-util/nm-setting.h:
10156 * libnm-util/nm-connection.h: Add G_BEGIN_DECLS / G_END_DECLS to support C++.
10158 * libnm-glib/nm-object.c (nm_object_get_byte_property): Implement.
10160 * libnm-glib/nm-access-point.c: Strength has type char.
10162 * gnome/vpn-properties/Makefile.am: Remove GNOME_DISABLE_DEPRECTATED for now
10163 to fix build. GnomeDruid is deprecated in recent libgnomeui.
10165 * introspection/nm-access-point.xml: Strength property is char, not int.
10167 * src/NetworkManagerAP.c (set_property): Set strength from char.
10168 (get_property): Handle hidden APs (with empty SSID).
10169 Get strength value from char.
10170 (nm_ap_class_init): Strength property has char type.
10172 2007-08-03 Rodrigo Moya <rodrigo@gnome-db.org>
10174 * introspection/Makefile.am:
10175 * introspection/nm-settings.xml:
10176 * introspection/nm-settings-connection.xml: added Settings interfaces.
10178 * libnm-glib/nm-settings.[ch]:
10179 * libnm-glib/Makefile.am: added abstract class for Settings interfaces
10180 containing the DBus implementation.
10182 2007-07-26 Dan Williams <dcbw@redhat.com>
10184 Patch from Bernhard Miklautz <bernhard.miklautz@shacknet.at>
10186 * src/NetworkManagerSystem.c
10187 - (nm_system_device_set_ip4_route): don't add the route if it's on the
10188 same subnet (#437396)
10190 2007-07-26 Dan Williams <dcbw@redhat.com>
10192 Patch from Kelemen Gábor <kelemeng@gnome.hu>
10194 * gnome/vpn-properties/nm-vpn-properties.c
10195 - Fix translatable strings (#445865)
10197 2007-07-26 Dan Williams <dcbw@redhat.com>
10199 Patch from Andreas Hanke <andreas.hanke@gmx-topmail.de>
10202 - Remove useless junk (#412530)
10204 2007-07-10 Christopher Aillon <caillon@redhat.com>
10206 Patch from Robert Buchholz <rbu@gentoo.org>:
10210 * introspection/Makefile.am:
10211 Make make distcheck work again.
10213 2007-06-27 Dan Williams <dcbw@redhat.com>
10215 * Make SSIDs GByteArrays everywhere
10216 * Rename "essid" -> "ssid" everywhere that's appropriate
10217 * Refcount activation_ap member of the 802.11 wireless device class
10219 2007-06-27 Tambet Ingo <tambet@ximian.com>
10221 * libnm-glib/nm-object.[ch]: Add these to the SVN, oops.
10223 2007-06-22 Tambet Ingo <tambet@ximian.com>
10225 * src/nm-device-802-11-wireless.c (merge_scanned_ap): Don't advertise constantly
10226 that we got a new AP when we just update existing AP properties.
10228 2007-06-21 Tambet Ingo <tambet@ximian.com>
10230 * libnm-glib/Makefile.am: Add NMObject to build, remove nm-utils.[ch].
10232 * nm-utils.[ch]: Remove.
10234 * libnm-glib/nm-object.c: Implement a base class for all libnm-glib dbus-aware
10235 objects for easy property access and dbus connection handling.
10237 * libnm-glib/nm-client.c: Derive from NMObject.
10239 * libnm-glib/nm-device.c: Ditto.
10241 * libnm-glib/nm-device-802-3-ethernet.c: Changes for being based on NMObject.
10243 * libnm-glib/nm-device-802-11-wireless.c: Ditto.
10245 * libnm-glib/nm-ip4-config.c: Ditto.
10247 * libnm-glib/nm-access-point.c: Ditto.
10249 * libnm-util/nm-connection.c (nm_connection_compare): Add a stub for connection
10250 comparision. Currently used by the device activation code to determine if the new
10251 activation is the same as the old one.
10253 * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Don't use the obsolete and
10254 wrong way of getting the dbus path for AP. Fixes the issue where the applet isn't
10255 able to ask password for the AP.
10257 * src/nm-device.c (nm_device_activate): Change the logic here - instead of giving
10258 up if the device is already connected, tear down it's connection (if it isn't the
10259 same as new one) and start the activation.
10261 * src/nm-manager.c: Add the beginnings of NMConnection storage and signals.
10263 * src/NetworkManagerAP.c (nm_ap_init): Set the default values to AP memebers, fixes
10264 the issue where all APs are always listed as encrypted.
10266 * src/NetworkManagerDbus.c (nm_dbus_get_object_path_for_network): Remove. APs have
10267 their own registered paths.
10269 * test/nm-tool.c (detail_device): Don't try to get active network from wireless
10270 device if it's not connected - dbus-glib will happily crash trying to marshal NULL.
10272 2007-06-13 Tambet Ingo <tambet@ximian.com>
10274 * src/NetworkManagerAP.c (foreach_property_cb): Set WEP capabilities too!
10277 * src/nm-device.c (nm_device_state_changed): Emit the signal before handling it
10278 because the handling code will cause the next state change and signal listeners
10279 get the signals in wrong order.
10281 * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Get the "old_dev"
10282 correctly in case of pending activation.
10284 * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
10285 Convert the essid byte array to string correctly, including the terminating NULL.
10287 * src/NetworkManagerPolicy.c (create_connection): Create wireless ssid and
10288 mode with correct types.
10290 * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Fix a typo, pass the
10291 constructed info to dbus call instead of the activation request.
10293 2007-06-11 Christopher Aillon <caillon@redhat.com>
10295 Patch from Christian Persch <chpe@gnome.org>
10297 * libnm-glib/Makefile.am:
10298 * dispatcher-daemon/Makefile.am:
10299 Use the correct variables, the correct paths, and correct ordering. (446315)
10301 2007-06-11 Tambet Ingo <tambet@ximian.com>
10303 * src/nm-device.c: Make the activation stage virtual functions take NMDevice
10304 argument. The activation request is easy to retrieve.
10306 * src/nm-activation-request.c: Convert to GObject. Do not include half of NM headers
10307 just to be a convenient location for devices to store random stuff.
10309 2007-06-11 Christopher Aillon <caillon@redhat.com>
10311 Patch from Alex Smith <alex@alex-smith.me.uk>
10313 * src/backends/NetworkManagerFrugalware.c:
10314 Update the FrugalWare backend to fix a few segfaults. (#392642)
10316 2007-06-08 Tambet Ingo <tambet@ximian.com>
10318 * libnm-util/nm-setting.c: Implement NMSettingWirelessSecurity.
10320 * libnm-util/nm-connection.c (register_default_creators): Register wireless security
10322 (gvalue_to_string): Recognize G_TYPE_UCHAR and GSList.
10324 2007-06-06 Tambet Ingo <tambet@ximian.com>
10326 * libnm-util/nm-setting.c: Get rid of dump virtual functions, that can happen
10328 Implement NMSettingIP4Config.
10329 Finish NMSettingWired by adding all known members.
10330 (setting_wired_verify): Implement.
10331 Finish NMSettingWireless by adding all known members.
10332 (setting_wireless_verify): Implement.
10334 * libnm-util/nm-connection.c: Register "ipv4" setting.
10335 (nm_connection_dump): Implement. Instead of requiring every NMSetting to implement
10336 dump function, we can introspect the GHashTable which is used for sending connections
10339 * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
10340 Take GByteArray for essid, it's really not a string.
10342 * src/nm-device.c (real_act_stage3_ip_config_start): Get information from NMSettings.
10343 Start DHCP request if setting is not passed or if it states that DHCP should be used.
10344 (real_act_stage4_get_ip4_config): If settings are provided, use them, even if it
10345 means overriding the values we got from DHCP.
10346 (real_activation_cancel_handler): Cancel DHCP transaction only if it has started, doh.
10347 (nm_device_deactivate_quickly): Ditto.
10349 * src/nm-device-interface.c (impl_device_activate): Dump the connection structure
10352 2007-05-07 Tambet Ingo <tambet@ximian.com>
10354 * libnm-glib/Makefile.am: Link with libnm-util to gain access to
10357 * libnm-glib/nm-device-802-11-wireless.c:
10358 (nm_device_802_3_ethernet_activate): Remove.
10360 * libnm-glib/nm-device-802-3-ethernet.c
10361 (nm_device_802_3_ethernet_activate): Remove.
10363 * libnm-glib/nm-device.c (nm_device_activate): Implement.
10365 * src/nm-device-802-3-ethernet.c: Implement the new activation using
10368 * src/nm-device-802-11-wireless.c: Store an activation AP once the
10369 activation has started.
10370 Implement the new activation using NMConnection.
10372 * src/nm-activation-request.c: Store a generic connection object instead
10373 of a wireless-specific AP.
10375 * src/NetworkManagerPolicy.c (create_connection): Implement. Depending
10376 on device type, create a device specific connection object suitable for
10379 * src/nm-device.c (nm_device_activate): Re-implement. Call the device
10380 specific check to validate the connection and on success start the
10383 * src/nm-device-interface.h: Add a activate virtual function to the
10384 interface definition.
10386 * src/nm-device-interface.c (nm_device_interface_activate): Implement.
10387 (impl_device_activate): Implement.
10389 * introspection/nm-device.xml: Add a generic device activation interface
10390 that accepts an abstract NMConnection structure that has device-specific
10393 * introspection/nm-device-802-3-ethernet.xml: Remove the wired-specific
10394 activation interface.
10396 * introspection/nm-device-802-11-wireless.xml: Remove the wireless-specific
10397 activation interface.
10399 * libnm-util/nm-connection.c:
10400 * libnm-util/nm-connection.h:
10401 * libnm-util/nm-setting.c:
10402 * libnm-util/nm-setting.h: Add.
10404 * libnm-util/Makefile.am: Build the added files.
10406 * src/nm-dbus-manager.c
10407 (proxy_name_owner_changed, nm_dbus_manager_class_init): Remove the
10408 DbusConnection argument from 'name-owner-changed' signal. The manager
10409 is already passed as a first argument to the signal and the connection
10410 is easy enough to get from it.
10412 * src/vpn-manager/nm-vpn-service.c (nm_vpn_service_name_owner_changed):
10413 Update the signature of the function.
10415 * src/vpn-manager/nm-vpn-manager.c (nm_name_owner_changed_handler):
10418 * src/NetworkManager.c: Ditto.
10420 * src/named-manager/nm-named-manager.c
10421 (nm_named_manager_name_owner_changed): Ditto.
10423 * src/supplicant-manager/nm-supplicant-manager.c
10424 (nm_supplicant_manager_name_owner_changed): Ditto.
10426 * src/nm-hal-manager.c (name_owner_changed): Ditto.
10428 * src/dhcp-manager/nm-dhcp-manager.c
10429 (nm_dhcp_manager_name_owner_changed): Ditto.
10431 * src/nm-hal-manager.c: Add a list of device detectors and creators
10432 to make it easier to add new devices. Each device type has it's own
10433 entry in the table so adding new device types is only a matter of
10434 implementing a couple of functions, one for device detection and the
10435 other for device creation.
10437 2007-04-25 Dan Williams <dcbw@redhat.com>
10439 * initscript/RedHat/NetworkManager.in: remove trailing backslash
10440 (gnome.org #432401)
10442 2007-03-30 Dan Williams <dcbw@redhat.com>
10444 * src/NetworkManagerSystem.c
10445 - (nm_system_device_set_ip4_route): clean up and fix argument
10446 to nm_dev_sock_open()
10448 2007-03-28 Tambet Ingo <tambet@ximian.com>
10450 * src/supplicant-manager/nm-supplicant-config.c (get_hash_cb): Marshal the
10451 data to correct types instead of always using string.
10453 * src/NetworkManagerAP.c (get_property): AP is encrypted if capabilities does
10454 _not_ have NM_802_11_CAP_PROTO_NONE.
10455 (foreach_property_cb): Set AP capabilities if it's not set or if the protocol
10458 2007-03-27 Tambet Ingo <tambet@ximian.com>
10460 * libnm-glib/Makefile.am: Fix the build issue.
10462 2007-03-26 Tambet Ingo <tambet@ximian.com>
10464 * libnm-glib/nm-vpn-connection.h:
10465 * libnm-glib/nm-vpn-connection.c: Implement.
10467 * libnm-glib/nm-client.c: Add VPN support.
10469 * src/vpn-manager/nm-dbus-vpn.c (dbus_message_handler): Implement DBUS message
10472 * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_new): Register VPN interface
10475 2007-03-26 Dan Williams <dcbw@redhat.com>
10477 * src/NetworkManagerAPList.c
10478 * src/nm-device-802-11-wireless.c
10479 * src/NetworkManagerAP.c:
10480 - Store last seen as glong instead of GTimeVal.
10481 - Fix the upper bound of capabilities, it's a bitfield.
10483 2007-03-16 Tambet Ingo <tambet@ximian.com>
10485 * libnm-glib/nm-device.c (nm_device_get_description): Implement.
10487 * libnm-glib/nm-client.c (nm_client_manager_is_running): Implement. Also add a
10488 "manager-running" signal that notifies the appearance/disappearance of NM.
10489 (nm_client_sleep): Implement.
10491 * libnm-glib/nm-device.c:
10492 * libnm-glib/nm-device-802-11-wireless.c:
10493 * libnm-glib/nm-device-802-3-ethernet.c:
10495 Don't inherit from DBusGProxy, add a proxy to private
10496 data. The reason is, classes inherited from NMDevice wouldn't get any dbus signals
10497 for anything but their own dbus interface. DBusGProxy objects support only one
10498 interfaces and to work around this, NMDevice has spearate proxy for each dbus
10499 interface. The nice side effect of this change is that we do not create a new
10500 DBusGProxy object for each property access.
10502 2007-03-15 Tambet Ingo <tambet@ximian.com>
10504 * src/nm-device-802-11-wireless.c (constructor): Initialize the iw_ext structures
10505 with zeroes before passing them to functions - the functions never do that and
10506 reading the values back may produce wrong values.
10507 (real_bring_up): Store the signal handler id ...
10508 (real_bring_down): ... So that it can be removed here.
10509 Disconnect the supplicant interface here as well.
10510 (nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): Use the dbus object path
10511 from the access point instead of old $device/Networks/$essid.
10513 * src/nm-manager.c (nm_manager_get_state): Return NM_STATE_CONNECTED when the
10514 device state is connected (instead of just having link/carrier).
10516 * src/nm-activation-request.c: Don't store NMData in activation request, it's
10517 already easily accessible through the device.
10519 * src/NetworkManagerAP.c (nm_ap_init): Construct the dbus object path here and
10520 store it within the object.
10521 (nm_ap_get_dbus_path): Export it to public as well.
10523 * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get): Keep the ownership
10526 2007-03-12 Dan Williams <dcbw@redhat.com>
10528 Get rid of 2 second poll of sysfs 'carrier' file for wired devices. Useless
10529 for non-carrier-detect capable devices, and useless for carrier-detect
10530 devices since we get notifications from netlink about carrier status anyway.
10532 * src/nm-device-802-3-ethernet.c
10533 - remove 'link_source_id' member from private data
10534 - (probe_link): remove and collapse into real_update_link()
10535 - (nm_device_802_3_periodic_update): remove
10536 - (real_is_up): check for sup_iface rather than link_source_id
10537 - (real_bring_up): return gboolean for success/fail; require that
10538 sup_iface be valid for device bringup to succeed
10539 - (real_bring_down): zero out link signal ids
10542 - (nm_device_activate_stage2_device_config): fail activation if device
10544 - (real_act_stage4_get_ip4_config): fail activation if device bringup
10546 - (nm_device_bring_up): return success/fail
10549 - bring_up now returns success/fail
10551 * src/nm-device-802-11-wireless.c
10552 - (real_bring_up): return success from bringup
10554 2007-03-07 Dan Williams <dcbw@redhat.com>
10556 Patch from Simon Geard <delgarde@ihug.co.nz> (Gnome.org #394956)
10557 * src/nm-ap-security-wpa-psk.c
10558 - (real_write_supplicant_config): work with PSKs that may contain
10559 zeros in the binary format rather than treating it as a string
10561 2007-03-02 Tambet Ingo <tambet@ximian.com>
10563 * libnm-glib/nm-device-802-11-wireless.c
10564 (nm_device_802_11_wireless_get_capabilities): Implement.
10566 * libnm-glib/nm-device.c (nm_device_get_capabilities): Implement.
10568 * src/nm-device-802-11-wireless.c: Add "WirelessCapabilities" property.
10570 * src/named-manager/nm-named-manager.c (remove_one_zone_from_named): Unref the
10571 reply only if it's not NULL. Not sure why this started happening right now.
10573 * src/nm-manager.c (device_stop_and_free): Remove. No need to have different
10574 code paths for when devices get removed on shutdown or when a device is just
10576 (finalize): Don't use a g_slist_foreach() when removing devices, the list data
10577 gets freed so any signal from a device (disconnected for instance) would invoke
10578 NMState update which would crash.
10579 (nm_manager_remove_device): Bring the device down when it gets removed.
10581 * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Remove
10582 the unused dev_type.
10584 * src/nm-hal-manager.c (create_device_and_add_to_list): Don't keep the
10585 reference to the added device, NMManager will own it (if it wants).
10587 * test/nm-tool.c: Rewrite using libnm-glib.
10589 * libnm-glib/nm-device-802-11-wireless.c: Cache networks (bssids) list.
10590 We get signalled when it changes.
10592 * libnm-glib/nm-client.c: Cache NMState and device list, we get signalled
10595 * libnm-glib/nm-device.c: Cache the device state property.
10597 * libnm-glib/nm-access-point.c: Cache the strength property.
10599 * src/nm-device-802-11-wireless.c: Fix wireless device scanning scheduler.
10600 The new algorithm is to start from SCAN_INTERVAL_MIN (currently defined as 0)
10601 and add a SCAN_INTERVAL_STEP (currently 20 seconds) with each successful scan
10602 until SCAN_INTERVAL_MAX (currently 120 seconds) is reached. Do not scan while
10603 the device is down, activating, or activated (in case of A/B/G cards).
10604 Remove some old dead ifdef'ed out code that used to configure wireless devices,
10605 it's all done through supplicant now.
10607 * src/supplicant-manager/nm-supplicant-interface.c: Fix the reference
10608 counting issues with pending calls which caused leaks and crashes when
10609 interface was removed (now that the interface actually gets removed).
10611 * src/nm-call-store.c: Make a copy of data before running a foreach
10612 with user callback on it - The most common usage pattern is to cancel
10613 (and thus remove) all pending calls with foreach which would modify
10614 the hash table we're iterating over.
10616 * src/nm-manager.c: When a device is added, make sure it is "up". When
10617 it's removed or disabled due to disabling wireless or networking, bring
10620 * include/NetworkManager.h: Add new device state NM_DEVICE_STATE_DOWN.
10622 * src/nm-device-802-11-wireless.c:
10623 * src/nm-device-802-3-ethernet.c:
10625 - Remove "init" virtual function, all gobjects have a place for that
10626 already (constructor).
10627 - Replace "start" virtual function with "bring_up", devices can be
10628 brought up and down more than just on startup now.
10629 - Add "is_up" virtual function.
10630 - Implement one way to bring a device down instead of previous 4 different
10631 ways, each of witch did something different.
10633 * src/NetworkManagerUtils.c (nm_dev_sock_open): This doesn't need an NMDevice,
10634 all it needs is the device interface.
10636 Get rid of NMData.dev_list (3 members to go).
10637 Get rif of NMData in a lot of places.
10639 * gnome/libnm_glib/libnm_glib.c: Make it compile again.
10641 2007-02-23 Dan Williams <dcbw@redhat.com>
10643 Patch from Andy Whitcroft <apw@shadowen.org> (Gnome.org #410426)
10645 * src/NetworkManagerAP.c
10646 - (add_capabilities_from_cipher): fix addition of WEP capabilities by
10647 OR-ing rather than AND-ing
10649 2007-02-20 Tambet Ingo <tambet@ximian.com>
10651 * libnm-glib/nm-device-802-11-wireless.c: Add "network-added" and
10652 "network-removed" signals.
10654 * libnm-glib/libnm-glib.pc.in: Require NetworkManager >= 0.7.0.
10656 * libnm-glib/nm-access-point.c: Add "strength-changed" signal, emit it
10657 when receiving the signal from dbus.
10659 * src/nm-device-802-11-wireless.c (get_property): Fix PROP_ACTIVE_NETWORK
10662 * src/NetworkManagerPolicy.c (state_changed): Fix a typo to make the
10663 deactivation of the previously activated device working again.
10665 * src/nm-activation-request.c: Remove NMActStage property and it's getter
10668 * src/nm-device.c (nm_device_is_activated): Remove.
10669 state == NM_DEVICE_STATE_ACTIVATED is just as easy to use.
10671 * include/NetworkManager.h: Remove NM_DBUS_NO_DEVICES_ERROR,
10672 NM_DBUS_NO_DIALUP_ERROR, NM_DBUS_NO_NETWORKS_ERROR,
10673 NM_DBUS_NO_ACTIVE_DEVICE_ERROR, NM_DBUS_NO_ACTIVE_NET_ERROR errors and
10674 NM_DBUS_SIGNAL_STATE_CHANGE signal.
10675 Remove NMNetworkStatus and NMActStage enums.
10677 2007-02-19 Tambet Ingo <tambet@ximian.com>
10679 * src/vpn-manager/nm-vpn-manager.c: Handle the DBUS state changes itself.
10680 Handle device state changes and disconnect VPN if it's device deactivates.
10682 * src/nm-dbus-nm.c:
10683 * src/nm-dbus-nm.h:
10684 * src/nm-dbus-device.c:
10685 * src/nm-dbus-device.c:
10686 * src/nm-dbus-net.c:
10687 * src/nm-dbus-net.h: Remove. All of it is implemented byt the new dbus API.
10689 * src/NetworkManagerMain.h: Get rid of all but 3 properties of NMData.
10691 * src/nm-device.c (nm_device_get_by_udi):
10692 (nm_device_get_by_iface): Remove. This doesn't belong here and is already
10693 implemented in the correct location (NMManager).
10694 Rip out all the test_device stuff.
10696 * src/NetworkManagerPolicy.c: Remove the leftover activation success and
10697 failure handlers, it's all done by NMDevice already.
10699 * src/NetworkManager.c: Move the signal handling here from nm-logging.c
10700 Remove the iochannel hack to route the unix signals to the main thread since
10701 we're not threaded anymore.
10703 * src/NetworkManagerAP.c: Implement HWAddress property.
10705 * src/NetworkManagerDbus.c: Remove the dbus signal sending code, it happens
10706 automatically with dbus-glib.
10708 * src/nm-netlink-monitor.c:
10709 * src/nm-netlink-monitor.h:
10710 - Move it low in the class hierarchy, don't reference any NM types.
10711 - Remove private data from the header.
10712 - Use type safe checks in public API methods.
10713 - Make it a singleton so we don't have to pass the single reference around.
10715 2007-02-16 Tambet Ingo <tambet@ximian.com>
10717 * introspection/nm-ip4-config.xml: Implement.
10719 * libnm-glib/libnm-glib-test.c: Use new DBUS API in tests.
10721 * libnm-glib/nm-ip4-config.c:
10722 * libnm-glib/nm-ip4-config.c: Implement.
10724 * src/nm-ap-security[-*]: Remove circular dependencies between APs and AP
10725 securities. APs reference security.
10727 * src/nm-device-802-11-wireless.c: Implement missing properties that need to
10728 be exported over DBUS.
10730 * src/nm-device-802-3-ethernet.c: Ditto.
10732 * src/NetworkManagerAP.c:
10733 * src/NetworkManagerAP.h:
10734 - Convert to GObject, export over DBUS.
10736 * src/nm-ip4-config.h:
10737 * src/nm-ip4-config.h:
10738 - Convert to GObject, export over DBUS.
10740 2007-02-12 Dan Williams <dcbw@redhat.com>
10742 Patch from Helmut Schaa <hschaa@suse.de>
10744 * vpn-daemons/pptp/configure.in
10745 vpn-daemons/pptp/Makefile.am
10746 vpn-daemons/openvpn/configure.in
10747 vpn-daemons/openvpn/Makefile.am
10748 vpn-daemons/vpnc/configure.in
10749 vpn-daemons/vpnc/Makefile.am
10750 - Add --without-gnome switch which disables building gnome bits
10752 2007-02-12 Tambet Ingo <tambet@ximian.com>
10754 * libnm-glib/nm-device.c (nm_device_get_use_dhcp): Remove.
10756 * libnm-glib/nm-access-point.c (nm_access_point_is_broadcast): Remove.
10758 * introspection/nm-device-802-3-ethernet.xml: Rename 'Address' property to
10761 * introspection/nm-device.xml: Remove 'UseDhcp' property.
10763 * introspection/nm-access-point.xml: Remove 'Broadcast' property.
10765 Totally break NetworkManager. Please use 0.6 branch until futher notice.
10768 - Remove old low-level dbus interface implementations and replace them
10769 with dbus-glib one.
10772 - Require dbus-glib >= 0.72.
10773 - Plug in new sources to build.
10776 - Implement GObject wrappers on top of DBUS glib auto-generated bindings
10777 to make it more convenient to use from GObject based programs.
10780 - Implement DBUS XML introspection files, used by both NM and libnm-glib.
10782 2007-02-09 Tambet Ingo <tambet@ximian.com>
10784 * src/nm-device-802-11-wireless.c:
10785 - Add "network-added" and "network-removed" signals.
10786 - Use gobject boilerplate macros to define the GObject.
10787 - Implement wireless device activation.
10788 - Remove activation_failure_handler and activation_success_handler
10789 and instead listen on state-changed signals and run the same code
10793 - Implment NMDeviceInterface::deactivate.
10794 - Remove activation_failure_handler and activation_success_handler
10795 virtual methods. Each device which is interested in these events
10796 can just listen on it's state changed signals.
10798 * src/NetworkManagerPolicy.c:
10799 - Move a bit more NMData usage to NMManager.
10800 - Remove activation scheduling bits.
10801 - Add listeners for wireless device's "network-added" and
10802 "network-removed" signals.
10803 - Listen device changed signals and deactivate currently activated
10804 device when another device start activating (for now).
10805 - Remove (nm_policy_schedule_device_change_check): There's never a need
10806 for calling this, the policy code knows exactly when this should happen,
10807 by listening on events from NMManager and NMDevices.
10809 * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_activate):
10812 * src/nm-dbus-nm.c (nm_dbus_nm_set_active_device): Call the activation
10813 method on the specific device instead of going to through policy code
10814 and determining the device type by passed in AP's existance.
10816 * src/nm-device-interface.c (nm_device_interface_deactivate): Implement the
10817 abstract NMDevice deactivation.
10819 2007-02-08 Tambet Ingo <tambet@ximian.com>
10821 * src/NetworkManager.c:
10822 - Set up all the shiny new managers.
10824 * src/NetworkManagerPolicy.c:
10825 - Add the beginnings of new NMPolicy code. Instead of requireing all
10826 classes to call into policy code, make the policy code kind of like
10827 a supervisor that monitors what's going on and drives the whole NM.
10829 * src/nm-hal-manager.c:
10830 * src/nm-hal-manager.h:
10831 - Collect all libhal code scattered around NM to this one class.
10832 - Listen libhal and NMManager events and add/remove devices to
10835 * src/nm-manager.c:
10836 * src/nm-manager.h:
10837 - Implment a replacement for NMData. NMData is now officially
10840 2007-02-05 Tambet Ingo <tambet@ximian.com>
10842 * src/nm-device-802-11-wireless.c (supplicant_iface_scan_result_cb):
10843 * src/supplicant-manager/nm-supplicant-interface.h
10844 * src/supplicant-manager/nm-supplicant-interface.c
10845 (nm_supplicant_interface_class_init): Change the "scan-result" signal's
10846 argument to boolean from enum.
10848 Make NMDevice abstract class, remove almost all references to it's
10849 subclasses (the last place gets removed with new policy manager). Add
10850 NMDeviceInterface (which NMDevice implements) so that when we have
10851 NMDevice exported over DBUS, there's a common NMDevice interface which
10852 all instances have, plus there's a device specific interface for each
10854 Remove functions (nm_device_is_802_3_ethernet) and
10855 (nm_device_is_802_11_wireless). There are already standard GObject macros
10856 for type safe checks.
10857 Use the updated supplican manager API.
10859 * src/nm-device-interface.h:
10860 * src/nm-device-interface.c:
10861 * src/nm-call-store.h:
10862 * src/nm-call-store.c: Implement.
10864 * src/supplicant-manager/nm-supplicant-interface.c:
10865 * src/supplicant-manager/nm-supplicant-interface.h:
10866 * src/supplicant-manager/nm-supplicant-manager.c:
10867 * src/supplicant-manager/nm-supplicant-manager.h:
10868 - Remove all private data type references from public header files.
10869 - Remove all references to other NM classes, this class is just a
10870 proxy between wpa_supplicant and NM so it doesn't have to know
10872 - Convert to dbus-glib bindings.
10873 - Type safe checks for public methods' arguments.
10874 - Store pending DBUS call ids to NMCallStore.
10876 * src/supplicant-manager/nm-supplicant-config.c:
10877 - Store config values in a GHashTable instead of GSList.
10879 * src/NetworkManagerMain.h: Remove all references to DHCP manager.
10881 * src/NetworkManager.c: Don't initialize the DHCP manager, it's a
10884 * src/nm-device.c: Use the new DHCP manager API.
10886 * src/nm-activation-request.c:
10887 * src/nm-activation-request.h:
10888 - Remove all dhcp related properties and methods.
10890 * src/dhcp-manager/nm-dhcp-marshal-main.c: Add.
10892 * src/dhcp-manager/nm-dhcp-marshal.list: Add.
10894 * src/dhcp-manager/nm-dhcp-manager.c:
10895 * src/dhcp-manager/nm-dhcp-manager.h:
10896 - Convert it to GObject since we need to signal state changes.
10897 - Remove all references to other NM classes, this class is one
10898 of the lowest classes in our hierarchy.
10899 - One less class to use NMActRequest.
10900 - Make it singleton, one less user of NMData.
10901 - Remove a couple of sleep() calls.
10902 - Convert a bunch of low-level dbus API calls to dbus-glib calls.
10903 One less class to use the NM's custom tailored signal handlig.
10905 * Makefile.am: Generate marshallers, add them to build.
10907 2007-02-02 Dan Williams <dcbw@redhat.com>
10913 - Remove last bits referencing gnome applet
10915 2007-02-02 Dan Williams <dcbw@redhat.com>
10917 * src/vpn-manager/nm-vpn-service.c
10918 - (nm_vpn_service_stage4_ip4_config_get): use uint32 arrays for DNS
10919 and NBNS server addresses
10921 2007-02-02 Tambet Ingo <tambet@ximian.com>
10923 * src/nm-dbus-manager.c:
10924 * src/nm-dbus-manager.h:
10925 - Convert all internal DBUS code to use dbus-glib bindings.
10926 - Remove GObject properties, we don't need them here.
10927 - Don't explicitly set things to NULL after freeing, glib is
10928 happy to do it if asked nicely (G_DEBUG=gc-friendly).
10929 - Make public API argument checks type safe.
10930 - Remove unnecessary (and wrong) cast to GObject for the first
10931 argument to g_signal_* calls - The first argument is a gpointer.
10932 - Export DBusGConnection to other cool classes that (are going to)
10935 2007-01-26 Dan Williams <dcbw@redhat.com>
10937 * libnm-util/dbus-dict-helpers.c
10938 libnm-util/dbus-dict-helpers.h
10939 - Coordinate style with wpa_supplicant version to minimize diff
10940 - Add uint32 array support
10941 - (nmu_dbus_dict_append_uint32_array): new function
10942 - (nmu_dbus_dict_begin_string_array, nmu_dbus_dict_string_array_add_element,
10943 nmu_dbus_dict_end_string_array): bring over from wpa_supplicant
10944 version; allow adding string array elements individually
10946 * test/libnm-util/test-dbus-dict-helpers.c
10947 - Test uint32 arrays
10949 2007-01-27 Jürg Billeter <j@bitron.ch>
10951 * src/backends/NetworkManagerPaldo.c
10952 - (nm_system_update_dns): clear nscd hosts cache
10954 2007-01-04 Dan Williams <dcbw@redhat.com>
10956 Threading removal related cleanups:
10958 - Use the glib default main context. Remove the device main context
10959 member from NMDevice, and the main_context member from NMData. Change
10960 all the idle and timeout scheduler functions to use plain
10961 g_idle_add() and g_timeout_add().
10963 - As a side-effect of the first change, nm_dbus_manager_get() no longer
10964 takes an argument; fix that up too.
10966 - Remove all locking, which is useless since we no longer use threads. For
10967 example, nm_get_device_by_iface_locked() has been removed. The global
10968 device list lock, the AP List lock, and all static locks in
10969 NetworkManagerPolicy.c have been removed. The locking utility functions
10970 in NetworkManagerUtils.c have also been removed.
10972 - Other cleanups in spacing and code style
10974 2007-01-01 Dan Williams <dcbw@redhat.com>
10976 Found by Bill Moss:
10978 * src/supplicant-manager/nm-supplicant-interface.c
10979 - (nm_supplicant_interface_disconnect): fix cleanup logic when
10980 the supplicant interface wasn't already disconnected. Always
10981 call removeNetwork and disconnect unless the supplicant interface
10982 is in the DISCONNECTED or INACTIVE state.
10984 2006-12-28 Dan Williams <dcbw@redhat.com>
10986 Use a single thread for everything. With the move to wpa_supplicant
10987 and communication over D-Bus, there's no reason for multiple threads.
10988 Almost all of the blocking code has been removed, with one exception in
10989 the DHCP manager and a few in the VPN manager. This commit removes the
10990 per-device worker thread and fixes activation cancellation in the absence
10991 of threads. Further removal of thread-related code would be removing
10992 any locking code (like the device list lock) and simplification of logic
10993 around areas of code or data structures that are currently locked.
10996 dhcp-manager/nm-dhcp-manager.c
10997 nm-device-802-11-wireless.c
10998 nm-device-802-3-ethernet.c
11001 - Remove usage of multiple threads
11003 2006-12-19 Dan Williams <dcbw@redhat.com>
11005 Big wpa_supplicant + dbus update; need latest wpa_supplicant from CVS
11006 plus a few other patches from wpa_supplicant bugzilla.
11009 src/NetworkManagerPolicy.c
11010 src/NetworkManagerUtils.c
11011 src/NetworkManagerUtils.h
11012 src/nm-ap-security-leap.c
11013 src/nm-ap-security-wep.c
11014 src/nm-ap-security-wpa-eap.c
11015 src/nm-ap-security-wpa-psk.c
11016 src/nm-ap-security.c
11017 src/nm-ap-security.h
11018 src/nm-device-802-11-wireless.c
11019 src/nm-device-802-11-wireless.h
11020 src/supplicant-manager/nm-supplicant-config.c
11021 src/supplicant-manager/nm-supplicant-config.h
11022 src/supplicant-manager/nm-supplicant-interface.c
11023 src/supplicant-manager/nm-supplicant-interface.h
11024 src/supplicant-manager/nm-supplicant-marshal.list
11025 src/supplicant-manager/nm-supplicant-settings-verify.c
11026 src/supplicant-manager/nm-supplicant-settings-verify.h
11027 - Move all connection management and association handling to
11028 wpa_supplicant over dbus, rather than spawning a private copy
11030 2006-12-19 Dan Williams <dcbw@redhat.com>
11032 * src/NetworkManagerPolicy.c
11033 - (nm_policy_device_change_check, nm_policy_schedule_device_change_check):
11034 better locking of the device change check handler ID. Incorrect
11035 locking was causing lost device change requests
11037 2006-12-18 Dan Williams <dcbw@redhat.com>
11039 * libnm-util/dbus-dict-helpers.c
11040 - (_nmu_dbus_dict_entry_get_array, _nmu_dbus_dict_entry_get_string_array,
11041 _nmu_dbus_dict_entry_get_byte_array): replace usage of
11042 dbus_message_iter_get_array_len() (Gnome.org #382898)
11044 2006-12-18 Dan Williams <dcbw@redhat.com>
11046 * gnome/libnm_glib/libnm_glib.c
11047 - Change dbus_connection_close() -> dbus_connection_unref()
11049 2006-12-11 Dan Williams <dcbw@redhat.com>
11051 * src/supplicant-manager/nm-supplicant-interface.c
11052 - (iface_state_cb, wpas_iface_get_state): new functions; query initial
11053 wpa_supplicant interface state
11054 - (nm_supplicant_interface_add_cb): query initial wpa_supplicant interface
11055 state before transitioning to READY state
11057 2006-12-04 Dan Williams <dcbw@redhat.com>
11059 * src/nm-device-802-11-wireless.c
11060 - (supplicant_iface_scanned_ap_cb): fix parsing of hidden APs due to
11061 odd length of ESSID returned from ieee80211 stack-based drivers
11063 2006-12-04 Dan Williams <dcbw@redhat.com>
11065 * src/nm-device-802-11-wireless.c
11066 - (supplicant_iface_scanned_ap_cb): remove erroneous & from WPA & RSN
11067 IE handling blocks that cause mis-parsing of the IE
11069 2006-12-04 Dan Williams <dcbw@redhat.com>
11071 * src/nm-device-802-11-wireless.c
11072 - (init_supplicant_interface): new function; pull supplicant interface
11073 setup code out into standalone function since it must be called from
11074 two different places
11075 - (real_init): sup_mgr is now in private object data; get and track
11076 the supplicant manager object over the NMDevice subclass' lifetime
11077 and register a signal handler for its state signals; only try to
11078 initialize the supplicant interface if the supplicant manager is in
11079 the IDLE state (and therefore is ready for requests)
11080 - (request_wireless_scan): reschedule the scan request if (a) there is
11081 no supplicant interface yet (meaning wpa_supplicant isn't running
11082 or isn't ready yet), or (b) if the supplicant interface isn't ready
11084 - (supplicant_iface_connection_state_cb): new function; stub for
11085 handling supplicant interface connection state signals
11086 - (supplicant_mgr_state_cb): do the right thing when wpa_supplicant
11088 - (nm_device_802_11_wireless_dispose): clean up spacing; release the
11089 supplicant manager object that's being tracked starting with this
11092 2006-12-04 Dan Williams <dcbw@redhat.com>
11094 * src/supplicant-manager/nm-supplicant-interface.c
11095 - (nm_supplicant_interface_set_property): track signal handler ID
11096 - (nm_supplicant_interface_dispose): remove signal handler on dispose
11098 2006-12-04 Dan Williams <dcbw@redhat.com>
11100 * src/supplicant-manager/nm-supplicant-interface.[ch]
11101 - (nm_supplicant_interface_get_state): new function
11103 2006-12-04 Dan Williams <dcbw@redhat.com>
11105 * src/supplicant-manager/nm-supplicant-interface.c
11106 - (bssid_properties_cb): don't treat DBus errors as valid
11107 scanned AP messages
11109 2006-12-04 Dan Williams <dcbw@redhat.com>
11111 * src/supplicant-manager/nm-supplicant-interface.[ch]
11112 - (nm_supplicant_interface_get_connection_state): new function
11113 - define new supplicant connection states
11114 - send a signal when the supplicant connection state changes
11116 2006-12-03 Dan Williams <dcbw@redhat.com>
11118 * src/supplicant-manager/Makefile.am
11119 src/supplicant-manager/nm-supplicant-connection.h
11120 src/supplicant-manager/nm-supplicant-connection.c
11121 src/supplicant-manager/nm-supplicant-config.h
11122 src/supplicant-manager/nm-supplicant-config.c
11123 src/supplicant-manager/nm-supplicant-types.h
11124 src/supplicant-manager/nm-supplicant-interface.h
11125 src/supplicant-manager/nm-supplicant-interface.c
11126 - Rename NMSupplicantConnection -> NMSupplicantConfig
11128 2006-12-03 Dan Williams <dcbw@redhat.com>
11130 Patch from Gabor Kelemen <kelemeng@gnome.hu> (Gnome.org #381890)
11134 - Move VPN-related translatables to .skip
11136 * vpn-daemons/pptp/po/POTFILES.in
11137 - Update with new translatables
11139 2006-12-02 Dan Williams <dcbw@redhat.com>
11141 Patch from Christian Persch <chpe@gnome.org>
11143 * gnome/applet/Makefile.am
11144 gnome/applet/applet-dbus-devices.c
11145 gnome/applet/applet-notifications.c
11146 gnome/applet/applet.c
11147 gnome/applet/applet.h
11148 gnome/applet/main.c
11149 - Be a GtkStatusIcon on GTK+ >= 2.10
11151 2006-12-02 Dan Williams <dcbw@redhat.com>
11153 * gnome/applet/applet.c
11154 - (nma_update_info): fix two unecessary allocations
11156 2006-12-02 Dan Williams <dcbw@redhat.com>
11158 Patch from Michael Biebl <biebl@teco.edu>
11160 man/NetworkManager.1.in
11161 man/NetworkManagerDispatcher.1.in
11162 man/NetworkManager.8.in
11163 man/NetworkManagerDispatcher.8.in
11164 - Add .SH NAME stanzas
11165 - Move NM & NM Dispatcher manpages to section 8 (admin)
11167 2006-12-02 Dan Williams <dcbw@redhat.com>
11169 Patch from Christian Persch <chpe@gnome.org>
11172 - Check for GTK+ 2.10 in preparation for GtkStatusIcon patch
11174 2006-11-29 Tambet Ingo <tambet@ximian.com>
11176 Patch by Timo Hoenig <thoenig@suse.de>:
11177 * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Make it work with
11180 * src/supplicant-manager/Makefile.am: Add nm-supplicant-marshal here, since
11181 we can't use the one from the main source directory.
11183 2006-11-27 Dan Williams <dcbw@redhat.com>
11185 Patch from Christian Persch <chpe@gnome.org>
11187 * gnome/applet/applet-dbus-devices.c
11188 - (hal_info_product_cb): fix memleak; free duped string.
11191 2006-11-27 Dan Williams <dcbw@redhat.com>
11193 Patch from Christian Persch <chpe@gnome.org>
11195 * gnome/applet/menu-items.c
11196 - (network_menu_item_update): use gtk_progress_bar_set_fraction()
11197 as gtk_progress_set_percentage is deprecated. Should
11198 work as far back as GTK+ 2.4. Gnome.org #379780
11200 2006-11-26 Dan Williams <dcbw@redhat.com>
11202 Scan using wpa_supplicant over DBus.
11204 * src/nm-device-802-11-wireless.c
11205 - remove wireless extensions netlink event handler bits
11206 (wireless_event_helper, nm_device_802_11_wireless_event)
11207 - remove wireless extensions scan event handler bits
11208 (process_scan_results, add_new_ap_to_device_list, hexstr2bin,
11209 hex2byte, hex2num, request_and_convert_scan_results,
11210 free_process_scan_cb_data, scan_results_timeout,
11211 schedule_scan_results_timeout, cancel_scan_results_timeout)
11212 - Rename nm_device_802_11_wireless_scan() -> request_wireless_scan()
11213 and request scans from the supplicant interface rather than directly
11214 - Move functionality of convert_scan_results() to cull_scan_list() and
11215 supplicant_iface_scanned_ap_cb()
11216 - (supplicant_iface_scan_result_cb): new function; schedule a new scan
11217 at the scan interval when the current scan has finished
11218 - (supplicant_iface_state_cb): start scanning when the supplicant
11219 interface enters the READY state, and stop scanning when it
11220 enters the DOWN state
11221 - (cull_scan_list): weed out old access points from the scan list
11222 - (supplicant_iface_scanned_ap_cb): convert a supplicant scanned access
11223 point into an NMAccessPoint and merge it into the device's scan list
11225 * src/supplicant-manager/nm-supplicant-interface.c
11226 src/supplicant-manager/nm-supplicant-interface.h
11227 - Add a new signal "scan-result" which is issued when the supplicant
11228 notifies NM that a scan has completed
11229 - Add a new signal "scanned-ap" that notifies listeners of a new access
11230 point found in the scan. Called once for each access point that
11231 the supplicant interface object receives from the supplicant as a
11232 result of the "scanResults" method call
11233 - (wpas_iface_query_scan_results): don't wait 4s before querying
11234 for the initial scan results
11235 - (scan_request_cb): new function; send listeners the result
11236 (success, error) of a wireless scan request
11237 - (nm_supplicant_interface_request_scan): new function; ask the
11238 supplicant to perform an immediate wireless scan
11240 2006-11-25 Dan Williams <dcbw@redhat.com>
11242 * src/supplicant-manager/Makefile.am
11243 - Since we're including NetworkManagerMain.h in nm-supplicant-interface.c,
11244 add HAL cflags/includes and named-manager includes directory
11246 * src/supplicant-manager/nm-supplicant-interface.h
11247 - New state STARTING to handle transition from INIT to READY where
11248 the addInterface pending call is still outstanding
11250 * src/supplicant-manager/nm-supplicant-interface.c
11251 - track pending calls differently since we may have more than one
11252 going on at any given time
11253 - request scan results from wpa_supplicant; but don't do it more often
11254 than every 4 seconds. Drivers that do background scanning
11255 (like the 'ipw' drivers) send a continuous stream of scan completion
11256 notifications, so we don't want to hammer the supplicant or dbus
11257 with requests for all scan results every time we get a completion
11260 2006-11-25 Dan Williams <dcbw@redhat.com>
11262 * src/supplicant-manager/nm-supplicant-types.h
11263 - new file; move all supplicant manager object typedefs here for
11266 * src/supplicant-manager/nm-supplicant-interface.c
11267 src/supplicant-manager/nm-supplicant-interface.h
11268 - new file; an object that interfaces an NMDevice object to the
11269 supplicant and handles signals from the supplicant. This object
11270 does all necessary DBus communication with wpa_supplicant.
11272 * src/supplicant-manager/nm-supplicant-manager.c
11273 src/supplicant-manager/nm-supplicant-manager.h
11274 - Actually do something. Track the state of the wpa_supplicant service
11275 and deal with its comings & goings. Handle life events of
11276 supplicant interfaces too.
11277 - Move NMSupplicantManager typedef to nm-supplicant-types.h
11279 * src/supplicant-manager/nm-supplicant-connection.h
11280 - Move NMSupplicantConnection typedef to nm-supplicant-types.h
11282 * src/supplicant-manager/Makefile.am
11283 - Add new files to build, and add libnm-util to includes
11285 * src/nm-marshal.list
11286 - New marshaler type: VOID:UINT,UINT
11288 * src/nm-device-802-3-ethernet.c
11289 - (real_init): grab a supplicant interface
11290 - (nm_device_802_3_ethernet_dispose): release the supplicant interface
11291 - (supplicant_iface_state_cb): new function, stub for handling
11292 supplicant interface state changes
11294 * src/nm-device-802-11-wireless.c
11295 - (real_init): grab a supplicant interface
11296 - (nm_device_802_11_wireless_dispose): release the supplicant interface
11297 - (supplicant_iface_state_cb): new function, stub for handling
11298 supplicant interface state changes
11300 * src/NetworkManager.c
11301 - (main): create and keep the supplicant manager around for the lifetime
11305 - Link to the supplicant manager sub-library and use the supplicant
11308 2006-11-25 Dan Williams <dcbw@redhat.com>
11310 Rework DBus manager signal handling to be more flexible. Previously,
11311 only one signal handler could be registered for a particular interface.
11312 The DBus manager now reference counts DBus bus matches and allows multiple
11313 clients to register signal handlers for the same interface and sender.
11315 * src/NetworkManager.c
11316 - (main): track NMI signal handler ID and remove it when we quit
11318 * src/NetworkManagerMain.h
11319 - Keep track of NMI signal handler ID
11321 * src/nm-dbus-manager.c
11322 src/nm-dbus-manager.h
11323 - rework signal handling; each signal handler references one signal
11324 match, but a signal match may be referenced by one or more
11325 signal handlers. Matches are refcounted and are destroyed when the
11326 last signal handler that references the match is removed. This is
11327 necessary because two signal handlers may end up requiring the same
11328 dbus bus match, so the match must live until the last signal handler
11329 is destroyed (for example, with the wpa_supplicant network interface
11332 * src/dhcp-manager/nm-dhcp-manager.c
11333 - (nm_dhcp_manager_new): track DHCP signal handler id
11334 - (nm_dhcp_manager_dispose): remove DHCP signal handler
11336 * src/vpn-manager/nm-vpn-service.c
11337 - (nm_vpn_service_add_watch): track VPN service signal handler id
11338 - (nm_vpn_service_remove_watch): remove VPN service signal handler
11340 2006-11-25 Dan Williams <dcbw@redhat.com>
11342 Suggested by Helmut Schaa <hschaa@suse.de>
11344 * src/vpn-daemons/nm-vpn-service.c
11345 - (supplicant_child_setup): new function
11346 - (supplicant_exec): make child process use a new process group id
11348 * src/nm-device-802-11-wireless.c
11349 - (nm_vpn_service_child_setup): new function
11350 - (nm_vpn_service_stage1_daemon_exec): make child process use a new
11353 2006-11-19 Dan Williams <dcbw@redhat.com>
11355 Patch from Dan Berrange <dan@berrange.com> Gnome.org #377262
11356 * gnome/vpn-properties/nm-vpn-properties.c
11357 - clean up after renamed VPN connection
11359 2006-11-19 Dan Williams <dcbw@redhat.com>
11361 Patch from Dan Berrange <dan@berrange.com> Gnome.org #377205
11362 * gnome/applet/applet-dbus-vpn.c
11363 - (nma_dbus_vpn_properties_cb): sort VPN connections
11365 * gnome/vpn-properties/nm-vpn-properties.c
11366 - (init_app): sort VPN connections
11368 2006-11-09 Dan Williams <dcbw@redhat.com>
11370 * src/NetworkManagerAPList.c
11371 - (nm_ap_list_copy_one_essid_by_address): fix bug due to previous
11372 code cleanup in revision 1.56; the split of the !nm_ap_get_essid()
11373 from the nm_ap_list_get_ap_by_address() call was incorrect and
11374 broke hidden SSID matching. Found by Bill Moss.
11376 2006-10-25 Dan Williams <dcbw@redhat.com>
11379 - (nm_dbus_nm_set_active_device): return an empty success message on
11380 success, rather than falling through to the error case.
11382 2006-10-25 Dan Williams <dcbw@redhat.com>
11384 * src/NetworkManagerUtils.c
11385 - (nm_utils_supplicant_request_with_check): suppress messages for the
11388 2006-10-24 Dan Williams <dcbw@redhat.com>
11390 Reduce the number of times the Gnome applet wakes up, especially when
11391 it's doing absolutely nothing and is hidden. Initial patch by
11394 * gnome/applet/applet-dbus.c
11395 - (nma_dbus_filter): when NM isn't around, or when it goes away,
11396 kill the redraw timeout. When NM starts up, start the redraw
11397 timeout. Also, if we get kicked off the bus for some reason,
11398 start the reconnection timeout if one's not already running.
11399 - (nma_dbus_init): better handling of error conditions, don't leak
11400 a half-initialized dbus connection
11401 - (nma_dbus_connection_watcher): consolidate places we reinitialize
11402 the applet's data, just call nm_dbus_init_helper()
11403 - (nma_start_dbus_connection_watch): new function, starts a periodic
11404 timeout that calls nma_dbus_connection_watcher()
11405 - (nma_dbus_init_helper): if we get a successful connection, kill the
11406 reconnection timeout, and don't start the reconnection timeout
11407 unconditionally anymore
11409 * gnome/applet/applet-dbus.h
11410 - Expose nma_start_dbus_connection_watch()
11412 * gnome/applet/applet.c
11413 - (nma_update_state): no longer static, called from applet-dbus.c for
11414 immediate UI updates on certain events
11415 - (nma_set_running): new function; take over setting applet->running,
11416 when not running (ie, NM is not active), don't activate the redraw
11417 timeout because we're not showing the applet anyway. When we are
11418 running (ie, NM is active), and only when we're running, start the
11420 - (nma_destroy): kill the redraw timeout by setting 'not running', and
11421 kill any reconnection timeout
11422 - (nma_get_instance): move one-off dbus initialization code here since
11423 nm_dbus_init_helper() gets called more than once, possibly by the
11424 reconnection timeout function too. And, when we start up, if we
11425 can't get a connection to the bus, start the reconnection timeout.
11426 But don't start the redraw timeout yet, only do that when we get
11427 NM's state and find out if it's running or not.
11429 * gnome/applet/applet.h
11430 - Add the reconnection GSource ID
11431 - Add prototypes for nma_set_running() and the no-longer-static
11434 2006-10-24 Dan Williams <dcbw@redhat.com>
11436 * src/vpn-daemons/nm-dbus-vpnc.c
11437 - (nm_dbus_vpn_update_one_connection_cb): unregister pending call in
11438 pending call tracker
11439 - (nm_dbus_vpn_connections_update_cb): unregister pending call in
11440 pending call tracker; register one-vpn-connection update pending
11441 call in pending call tracker
11442 - (nm_dbus_vpn_update_one_vpn_connection): register one-vpn-connection
11443 update pending call in pending call tracker
11444 - (nm_dbus_vpn_connections_update_from_nmi): register vpn-connections
11445 update pending call in pending call tracker; don't block waiting
11448 2006-10-19 Robert Love <rml@novell.com>
11450 * src/backends/NetworkManagerSuSE.c: Don't ever restart nscd; just
11453 2006-10-14 Dan Williams <dcbw@redhat.com>
11455 * src/dhcp-manager/nm-dhcp-manager.c
11456 - (get_ip4_string, get_ip4_uint32s): have the caller pass
11457 the dbus connection and the device object path rather than
11458 constructing it inside both functions. Saves a bit of memory
11459 and clarifies a failure path.
11460 - (nm_dhcp_manager_get_ip4_config): grab the dbus connection
11461 and allocate device path here rather than each of the two
11464 2006-10-13 Dan Williams <dcbw@redhat.com>
11466 * src/NetworkManager.c
11467 - (nm_name_owner_changed_handler): handle NMI coming and going,
11468 this somehow droppout in the refactor
11470 2006-10-13 Dan Williams <dcbw@redhat.com>
11472 * Huge DBus refactor:
11473 - Create a "DBus Manager" object which manages the connection and
11474 sends signals on NameOwnerChanged and connection/disconnection events,
11475 handles reconnection to the bus if NM gets kicked off, and abstracts
11477 - Remove DBusConnection members from places where they are no
11478 longer needed due to the refactor, like the dbus-connection
11479 property of the named manager, and from NMData
11480 - Reformats a bunch of the code to gnome style
11481 (8-space tabs, braces on same line as statement, 80-col width).
11482 Consider it open season to reformat any bits to gnome style.
11483 style that aren't already.
11485 2006-10-13 Dan Williams <dcbw@redhat.com>
11487 * src/supplicant-manager/Makefile.am
11490 * src/supplicant-manager/nm-supplicant-manager.[ch]:
11491 - Make it a minimal GObject
11493 * src/supplicant-manager/nm-supplicant-settings-verify.[ch]:
11494 - Verify settings destined for wpa_supplicant
11496 * src/supplicant-manager/nm-supplicant-connection.[ch]:
11497 - Minimal GObject to track wpa_supplicant controlled device
11500 2006-10-13 Wouter Bolsterlee <wbolster@gnome.org>
11502 * gnome/applet/applet.c: (nma_update_info),
11503 (nma_act_stage_to_pixbuf), (nma_update_state):
11504 Mark missing strings for translation. Fixes bug #343306.
11506 2006-10-01 Dan Williams <dcbw@redhat.com>
11508 * src/vpn-manager/nm-vpn-manager.c
11509 - (nm_vpn_manager_load_services): split and clean up
11510 for readability and correctness. Restrict VPN service
11511 files to ending in ".name", as was meant from the
11512 beginning (but not coded in). Better error reporting.
11514 2006-10-01 Dan Williams <dcbw@redhat.com>
11517 - Clean up formatting of debug/info/warning log messages
11519 2006-09-27 Robert Love <rml@novell.com>
11521 Patch by Tambet Ingo <tambet@ximian.com>:
11522 * gnome/vpn-properties/nm-vpn-properties.c: Make Renaming a VPN entry
11525 2006-09-07 Dan Williams <dcbw@redhat.com>
11528 test/libnm-util/Makefile.am
11529 test/nm-supplicant-test.c
11530 - Add test program emulating the way NM drives wpa_supplicant
11531 to help debug supplicant issues
11533 2006-08-24 Dan Williams <dcbw@redhat.com>
11537 src/supplicant-manager/Makefile.am
11538 src/supplicant-manager/nm-supplicant-manager.c
11539 src/supplicant-manager/nm-supplicant-manager.h
11540 - Add skeleton bits of the wpa_supplicant manager
11542 2006-08-24 Dan Williams <dcbw@redhat.com>
11544 Patch from Ed Catmur:
11545 * src/NetworkManagerUtils.c
11546 - (nm_utils_ip4_netmask_to_prefix): don't infinitely loop
11547 if netmask is 0 (Gnome #352634)
11549 2006-08-17 Robert Love <rml@novell.com>
11551 * src/backends/NetworkManagerSuSE.c: Do not restart ypbind; our ypbind
11552 package is now DBUS-enabled and listens for the NM signals.
11554 2006-08-14 Dan Williams <dcbw@redhat.com>
11556 * Patch from Christian Persch <chpe gnome org>
11559 vpn-daemons/openvpn/po/LINGUAS
11560 vpn-daemons/openvpn/configure.in
11561 vpn-daemons/pptp/po/LINGUAS
11562 vpn-daemons/pptp/configure.in
11563 vpn-daemons/vpnc/po/LINGUAS
11564 vpn-daemons/vpnc/configure.in
11565 - Convert to LINGUAS method so translators don't have to modify
11566 configure.in, just stuff in po/. Gnome #343132, requires intltool
11569 2006-08-14 Dan Williams <dcbw@redhat.com>
11571 Patch from Alex Smith <alex.extreme2@gmail.com>
11573 src/backends/Makefile.am
11574 src/backends/NetworkManagerFrugalware.c
11575 - Add support for Frugalware
11577 2006-08-13 Dan Williams <dcbw@redhat.com>
11579 Patch from Valentine Sinitsyn <e_val@inbox.ru>
11580 * src/nm-device-802-11-wireless.c
11581 - (supplicant_exec): spawn wpa_supplicant without debug spew
11584 2006-08-13 Dan Williams <dcbw@redhat.com>
11586 Patch from Valentine Sinitsyn <e_val@inbox.ru>
11587 * src/nm-ap-security.c
11588 src/nm-ap-security.h
11589 - Add authentication_required bits for subclasses to specify whether
11590 or not real authentication is required for connections, i.e. whether
11591 the AP rejects us when an encryption key is wrong or not.
11593 * src/nm-ap-security-wep.c
11594 src/nm-ap-security-wpa-eap.c
11595 src/nm-ap-security-wpa-psk.c
11596 src/nm-ap-security-leap.c
11597 - Implement authentication_required appropriately for each method
11599 * src/nm-device-802-11-wireless.c
11600 - Be smarter about when to request a key; for example, using a wrong key
11601 in WEP shared key mode previously just timed out and did not request
11604 2006-08-13 Dan Williams <dcbw@redhat.com>
11606 * gnome/libnm_glib/libnm_glib.c
11607 - dbus_connection_disconnect() -> dbus_connection_close() for
11610 2006-08-07 Dan Williams <dcbw@redhat.com>
11612 Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
11613 * src/NetworkManagerSystem.c
11614 - Respect specified MTU. Gnome #344967
11616 2006-08-07 Dan Williams <dcbw@redhat.com>
11618 * src/vpn-manager/nm-vpn-service.c
11619 - Simplify print_vpn_config() arguments
11621 Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
11622 * src/vpn-manager/Makefile.am
11623 src/vpn-manager/nm-vpn-service.c
11624 - Add new API for passing VPN config options as a dict. Gnome #344967
11626 2006-08-06 Dan Williams <dcbw@redhat.com>
11628 * gnome/applet/applet-dbus-devices.c
11629 gnome/applet/applet-dbus-vpn.c
11630 gnome/applet/applet-dbus.c
11631 gnome/applet/applet-dbus.h
11635 - Make pending call tracking code generic,
11636 so we can use it in NM as well as the applet
11638 2006-08-06 Dan Williams <dcbw@redhat.com>
11640 * src/nm-activation-request.c
11641 - Refcount pending call objects
11643 2006-08-06 Dan Williams <dcbw@redhat.com>
11645 Patch from Christan Chiesa <christanc@gmail.com>
11647 - Tell sha1.c to use bigendian mode on PPC
11649 2006-08-04 Robert Love <rml@novell.com>
11651 Glib Memory Slices!
11652 * configure.in: Require glib 2.10 or later.
11653 * src/NetworkManager.c, src/NetworkManagerAP.c, src/nm-ip4-config.c,
11654 src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
11655 src/NetworkManagerDbusUtils.c, src/nm-dbus-nmi.c, src/wpa.c,
11656 src/nm-device-802-11-wireless.c: Convert applicable g_malloc and
11657 g_new calls to g_slice_new. Likewise for g_free to g_slice_free.
11658 Memory Slices are the greatest thing since bread slices.
11659 * src/NetworkManagerAP.c: Also, fix memory leak.
11661 2006-08-01 Robert Love <rml@novell.com>
11663 * gnome/applet/main.c: Shutdown all VPN connections on logout.
11665 2006-07-31 Robert Love <rml@novell.com>
11667 * src/backends/interface_parser.c: Declarations must begin the block.
11669 2006-07-24 Dan Williams <dcbw@redhat.com>
11671 Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
11672 * src/backends/Makefile.am
11673 src/backends/NetworkManagerArch.c
11674 src/backends/NetworkManagerDebian.c
11675 src/backends/NetworkManagerGeneric.c
11676 src/backends/NetworkManagerGeneric.h
11677 src/backends/NetworkManagerGentoo.c
11678 src/backends/NetworkManagerPaldo.c
11679 src/backends/NetworkManagerRedHat.c
11680 src/backends/NetworkManagerSlackware.c
11681 src/backends/NetworkManagerSuSE.c
11682 - Genericize common backend functions
11684 2006-07-18 Robert Love <rml@novell.com>
11686 * configure.in: Add "--with-notify" option to allow disabling of
11689 2006-07-13 Dan Williams <dcbw@redhat.com>
11691 Patch from Thiago Bauermann <thiago.bauermann@gmail.com>
11692 * gnome/applet/applet.glade
11693 gnome/applet/Makefile.am
11694 gnome/applet/nm-gconf-wso.c
11695 gnome/applet/nm-gconf-wso-leap.c
11696 gnome/applet/nm-gconf-wso-leap.h
11697 gnome/applet/wireless-security-manager.c
11698 gnome/applet/wso-leap.c
11699 gnome/applet/wso-leap.h
11700 include/NetworkManager.h
11701 libnm-util/dbus-helpers.c
11702 libnm-util/dbus-helpers.h
11704 src/NetworkManagerAP.c
11705 src/nm-ap-security.c
11706 src/nm-ap-security-leap.c
11707 src/nm-ap-security-leap.h
11708 - Add LEAP authentication support
11710 2006-07-13 Dan Williams <dcbw@redhat.com>
11712 Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
11714 src/backends/NetworkManagerArch.c
11715 src/backends/NetworkManagerDebian.c
11716 src/backends/NetworkManagerGentoo.c
11717 src/backends/NetworkManagerPaldo.c
11718 src/backends/NetworkManagerRedHat.c
11719 src/backends/NetworkManagerSlackware.c
11720 src/backends/NetworkManagerSuSE.c
11721 - Convert hardcoding of 'ip' path to configure-time
11724 2006-07-12 Leonid Kanter <leon@asplinux.ru>
11726 * configure.in: added ru to ALL_LINGUAS
11728 2006-07-10 Dan Williams <dcbw@redhat.com>
11730 Patch from Valentine Sinitsyn <e_val@inbox.ru>
11732 - (real_act_stage3_ip_config_start): don't infinite loop when
11733 dhcdbd isn't running (Gnome #346845)
11735 2006-07-09 Dan Williams <dcbw@redhat.com>
11737 * gnome/applet/applet.c
11738 - (nma_destroy): don't pass NULL to notify_notification_close
11741 2006-07-09 Dan Williams <dcbw@redhat.com>
11743 * gnome/applet/applet.c
11744 - (nma_about_cb): remove empty documenters tab (Gnome #341324)
11746 2006-07-04 Tor Krill <tor@krill.nu>
11748 Patch from Valentine Sinitsyn <e_val@inbox.ru>
11749 * src/backends/NetworkManagerArch.c: (nm_system_update_dns),
11750 (nm_system_restart_mdns_responder), (ArchReadConfig),
11751 (nm_system_device_get_system_config):
11752 - Explicitly check for DHCP configuration
11753 - Check if daemons are running before starting them
11755 2006-06-25 Dan Williams <dcbw@redhat.com>
11757 * libnm-util/dbus-dict-helpers.[ch]
11758 test/libnm-util/test-dbus-dict-helpers.c
11759 - Add string array support
11761 2006-06-24 Dan Williams <dcbw@redhat.com>
11763 * src/dhcp-manager/nm-dhcp-manager.c
11764 - (nm_dhcp_manager_process_signal): clean up spacing
11766 2006-06-21 Dan Williams <dcbw@redhat.com>
11768 * src/nm-dbus-device.c
11769 - (nm_dbus_device_get_driver): don't try to stuff a NULL
11772 2006-06-21 Raivis Dejus <orvils@gmail.com>
11774 * configure.in: Added 'lv' to ALL_LINGUAS
11776 2006-06-19 Dan Williams <dcbw@redhat.com>
11778 * src/NetworkManagerAP.c
11779 - Clarify usage of user_created
11781 * src/nm-ap-security-wep.c
11782 src/nm-ap-security-wpa-eap.c
11783 src/nm-ap-security-wpa-psk.c
11784 src/nm-ap-security.c
11785 src/nm-ap-security.h
11786 - s/user_created/adhoc, because we really do mean adhoc
11788 Patch from Bernard Blackham <bernard@blackham.com.au>
11789 * src/nm-device-802-11-wireless.c
11790 - (supplicant_send_network_config): instead of user_created,
11791 use adhoc, and do AP_SCAN 2 for adhoc networks
11793 2006-06-18 Robert Love <rml@novell.com>
11795 * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the Gconf keys unless
11796 we have a value to set. Gconf generates a warning if `val' is NULL.
11797 * src/nm-ap-security-wpa-eap.c: Don't set the key for an Enterprise AP
11798 unless we actually received a valid private key file passphrase or
11799 password. Otherwise, we don't know to later ask the applet to pull
11800 the key from the keyring.
11802 2006-06-17 Dan Williams <dcbw@redhat.com>
11804 * libnm-util/dbus-dict-helpers.[ch]
11805 test/libnm-util/test-dbus-dict-helpers.c
11806 - Fixes for zero-length byte arrays
11807 - Replace return values of 0 with FALSE for clarity
11808 - Test zero-length byte arrays
11810 2006-06-17 Dan Williams <dcbw@redhat.com>
11812 * libnm-util/dbus-dict-helpers.[ch]
11813 test/libnm-util/test-dbus-dict-helpers.c
11814 - Add helpers for byte arrays
11815 - Rework bits of the testcase
11817 2006-06-16 Dan Williams <dcbw@redhat.com>
11819 * libnm-util/Makefile.am
11820 * libnm-util/dbus-dict-helpers.[ch]
11821 - Add some helpers to take the pain out of using dict types in
11824 * test/libnm-util/Makefile.am
11825 * test/libnm-util/test-dbus-dict-helpers.c
11826 - Test cases for the dict helper functions
11828 2006-06-15 Robert Love <rml@novell.com>
11830 * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the key unless there
11831 is a non-empty key to set. Elsewhere, pass an empty string via DBUS
11832 if there is no key to pass.
11833 * libnm-util/dbus-helpers.c: Given the above, we can trust always
11834 receiving a non-NULL key.
11836 2006-06-14 Robert Love <rml@novell.com>
11838 * src/nm-ap-security-wpa-eap.c: In real_copy_constructor(), actually
11842 2006-06-14 Dan Williams <dcbw@redhat.com>
11844 Patch from Lorenzo Colitti <lorenzo@colitti.com> gnome.org #344825
11845 * src/nm-device-802-11-wireless.c
11846 - (nm_device_802_11_wireless_set_essid): only wait for orinoco cards
11847 or ones where the driver is unknown
11848 - (supplicant_exec): don't wait for supplicant startup here
11849 - (supplicant_interface_init): finer grained polling for supplicant
11852 2006-06-13 Robert Love <rml@novell.com>
11854 * gnome/applet/applet-dbus-info.c: Don't set the fallback bit to FALSE
11855 if it is currently set to TRUE. Otherwise, we will reset the value
11856 when we connect normally.
11857 * src/nm-device-802-11-wireless.c: For the roaming code, make sure that
11858 the old BSSID is valid, too. The recently added ESSID check may not be
11859 sufficient (we can remove it?). What we really want to catch is the
11860 case of going from all-zeros to the BSSID of some other network, which
11861 happens on failure.
11863 2006-06-09 Dan Williams <dcbw@redhat.com>
11865 * src/NetworkManagerSystem.[ch]
11866 - (nm_system_device_set_up_down_with_iface): remove 'dev' argument,
11867 it was unused and pointless
11868 - (nm_system_vpn_device_set_from_iface, nm_system_device_set_up_down):
11869 fix for set_up_down_with_iface change
11871 * src/vpn-manager/nm-vpn-connection.c
11872 - (nm_vpn_connection_deactivate): fix for set_up_down_with_iface change
11874 * src/backends/NetworkManagerPaldo.c
11875 src/backends/NetworkManagerRedHat.c
11876 src/backends/NetworkManagerSuSE.c
11877 src/backends/NetworkManagerArch.c
11878 src/backends/NetworkManagerDebian.c
11879 src/backends/NetworkManagerGentoo.c
11880 - (nm_system_enable_loopback): use set_up_down_with_iface where
11882 - (nm_system_flush_loopback_routes): use flush_routes_with_iface
11885 2006-06-09 Dan Williams <dcbw@redhat.com>
11887 Patch from Peter Jones:
11888 * src/nm-device-802-11-wireless.c
11889 - (nm_device_802_11_wireless_update_bssid): make sure that the
11890 SSID hasn't changed from what we expect before automatically
11891 updating the saved BSSID from a new AP
11893 2006-06-08 Robert Love <rml@novell.com>
11895 Add 'fallback' support. NetworkManager will attempt to brute-force
11896 connect to networks marked as fallback if there are no better wireless
11897 connections available. This is useful as a method of last resort, to
11898 work around driver problems, and for use with hidden networks.
11899 * gnome/applet/applet-dbus-devices.c,
11900 gnome/applet/applet-dbus-devices.h: Add fallback parameter.
11901 * gnome/applet/applet-dbus-info.c: Retrieve fallback bit from Gconf and
11902 pass it on via DBUS.
11903 * gnome/applet/applet.c: No fallback by default.
11904 * gnome/applet/applet.glade, gnome/applet/other-network-dialog.c:
11905 Update other-network-dialog to add UI checkbox toggling fallback.
11906 * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Remove "trusted"
11907 propery from AP object. Add "fallback" property to AP object.
11908 * src/nm-dbus-nm.c: Grab the fallback parameter via DBUS.
11909 * src/nm-dbus-nmi.c: Grab the fallback parameter via DBUS.
11910 * src/nm-device-802-11-wireless.c: Break out blacklist logic into
11911 separate function. Add get_best_fallback_ap() for returning an AP
11912 on which to attempt fallback.
11913 * src/backends/NetworkManagerSuSE.c: Set stored network as fallback.
11914 * test/nm-set-fallback: New file. Sets a given network as fallback.
11916 2006-06-07 Robert Love <rml@novell.com>
11918 * gnome/applet/gconf-helpers.c: Bug fix: nm_gconf_helper_get_bool()
11919 checked that the return type was GCONF_VALUE_STRING, not the correct
11920 GCONF_VALUE_BOOL, and thus it never worked.
11921 * src/NetworkManagerAPList.c: Before concluding that two networks are
11922 identical based on their BSSID, make sure that the BSSID in question
11923 is actually valid. Specifically, an empty or all zero BSSID does not
11925 * gnome/applet/applet-dbus-info.c, gnome/applet/other-network-dialog.c,
11926 src/nm-dbus-nmi.c, src/nm-device-802-11-wireless.c: White space and
11927 similar invariant clean up.
11929 2006-06-02 Robert Love <rml@novell.com>
11931 * gnome/applet/applet.c: Update copyright years. Add Novell.
11933 2006-05-28 Dan Williams <dcbw@redhat.com>
11935 * gnome/applet/applet.glade
11936 gnome/vpn-properties/nm-vpn-properties.glade
11937 - Set window icons on dialogs (Gnome.org #333420)
11939 2006-05-28 Christian Persch <chpe@cvs.gnome.org>
11941 * gnome/vpn-properties/nm-vpn-properties.glade:
11942 * vpn-daemons/openvpn/properties/nm-openvpn-dialog.glade:
11943 * vpn-daemons/pptp/properties/nm-pptp-dialog.glade:
11944 * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
11945 - Make the VPN properties pages prettier and more HIG
11946 compliant. Gnome Bug #336913.
11948 2006-05-28 Dan Williams <dcbw@redhat.com>
11950 Patch from Christian Persch <chpe@gnome.org>
11951 * gnome/vpn-properties/nm-vpn-properties.c
11952 * gnome/vpn-properties/nm-vpn-properties.glade
11953 - HIG-ification love (Gnome.org #336846)
11955 2006-05-28 Dan Williams <dcbw@redhat.com>
11957 Patch from Christian Persch <chpe@gnome.org>
11959 gnome/vpn-properties/nm-vpn-properties.c
11960 - (main): Fix option parsing. Gnome.org #336847
11962 2006-05-28 Dan Williams <dcbw@redhat.com>
11964 * gnome/vpn-properties/nm-vpn-properties.c
11965 - (find_vpn_ui_by_service_name): protect against NULL service names
11966 - (update_edit_del_sensitivity): protect against NULL service names
11969 2006-05-28 Dan Williams <dcbw@redhat.com>
11971 Patch from Chris Fuller <crf@grandecom.net>:
11972 * src/nm-device-802-11-wireless.c
11973 - (nm_device_802_11_wireless_dispose): add a is_initialized member and
11974 don't dispose of wireless-specific stuff unless it is actually
11975 initialized. Gnome.org #341263
11977 2006-05-28 Dan Williams <dcbw@redhat.com>
11979 * src/NetworkManagerPolicy.c
11980 - (nm_policy_device_change_check): don't switch devices if the "best"
11981 AP is essentially the same as the current activation request, but
11982 the current activation request isn't done activating yet. Fixes
11983 multiple requests for keyring password on startup for Gnome applet.
11986 2006-05-26 Nicolas Trangez <eikke@eikke.com>
11988 * src/NetworkManager.c: use GOptions instead of getopt
11989 * configure.in: bump glib required version to >= 2.6 for GOption
11992 2006-05-25 Robert Love <rml@novell.com>
11994 * src/nm-device.h: Introduce nm_ioctl_info(), which defines to
11995 nm_info() if IOCTL_DEBUG is set and a no-op if not. We can use this
11996 instead of dumping ifdef's throughout the code.
11997 * src/NetworkManagerSystem.c, src/nm-device-802-11-wireless.c,
11998 src/nm-device-802-3-ethernet.c, src/nm-device.c: Remove ifdef's and
11999 use nm_ioctl_info() in lieu.
12001 2006-05-25 Robert Love <rml@novell.com>
12003 Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342400:
12004 * libnm-util/Makefile.am: Only build gnome-keyring-md5.{c,h} if we are
12005 not using gcrypt. Otherwise, we get a linker error.
12007 2006-05-25 Robert Love <rml@novell.com>
12009 Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342398:
12010 * configure.in, gnome/Makefile.am, Makefile.am: Add "--without-gnome"
12011 configure flag to disable building of the GNOME-based applet.
12013 2006-05-25 Robert Love <rml@novell.com>
12015 * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Rename function
12016 parameter from link, because it shadows a global variable with some
12017 older versions of glibc. Yes, glibc is now fixed and, yes, glibc
12018 should never have exported to the entire system a common four letter
12019 word. But we here at NetworkManager are team players. Fixes
12022 2006-05-25 Arangel Angov <ufo@linux.net.mk>
12024 * configure.in: Added mk.po, Macedonian translation.
12026 2006-05-24 Robert Love <rml@novell.com>
12028 * examples/python/systray/eggtrayicon.c, gnome/applet/eggtrayicon.c,
12029 gnome/applet/passphrase-dialog.c, gnome/applet/vpn-password-dialog.c,
12030 src/NetworkManager.c: Include <glib/gi18n.h> and not <libintl.h>.
12032 2006-05-24 Robert Love <rml@novell.com>
12034 * gnome/applet/Makefile.am, gnome/vpn-properties/Makefile.am,
12035 libnm-util/Makefile.am, src/Makefile.am,
12036 vpn-daemons/openvpn/auth-dialog/Makefile.am,
12037 vpn-daemons/openvpn/properties/Makefile.am,
12038 vpn-daemons/pptp/auth-dialog/Makefile.am,
12039 vpn-daemons/pptp/properties/Makefile.am,
12040 vpn-daemons/vpnc/auth-dialog/Makefile.am,
12041 vpn-daemons/vpnc/properties/Makefile.am: Do not override what the
12042 user passed for --datadir, if anything, when setting the GNOME locale
12043 directory. It should be a function of the specified datadir and not
12046 2006-05-24 Robert Love <rml@novell.com>
12048 * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c,
12049 src/NetworkManager.c: Take care to call bindtextdomain with the
12050 location of msgid files.
12051 * src/Makefile.am: Set GNOMELOCALEDIR to the location of GNOME mo
12054 2006-05-22 Robert Love <rml@novell.com>
12056 * src/nm-device-802-11-wireless.c: Don't chain up to the parent's
12057 stage4_timeout on failure unless the wireless network is Ad-Hoc.
12058 99% of the time there is a real problem with wireless, and a
12059 seemingly successful connection via Zeroconf just confuses the user.
12060 And that 1% of the time the network is probably Ad-Hoc, anyhow.
12062 2006-05-22 Robert Love <rml@novell.com>
12064 * src/backends/NetworkManagerSuSE.c: Reload, do not restart, ypbind and
12065 autofs on interface up if NIS is configured. On interface down, do
12068 2006-05-22 Robert Love <rml@novell.com>
12070 * gnome/applet/applet.c: Zero out the icon pointers before we set them,
12071 to avoid calling g_object_unref() on stale pointers on error in
12072 nma_icons_free(). This happens because we short-circuit loaded the
12073 icons on the first failure but then free all icons. Normally we have
12074 no issue because the icons were zero'ed out malloc, but we have stale
12075 pointer data after nma_icon_theme_changed().
12076 * gnome/applet/main.c: Return error code if nma_new() failed.
12078 2060-05-21 Dan Williams <dcbw@redhat.com>
12080 * initscript/NetworkManager.in
12081 - Ensure both dhcdbd and named are started before NM
12083 2006-05-21 Dan Williams <dcbw@redhat.com>
12086 - Bump version to 0.7 to signify we are in 0.7 development
12088 2006-05-21 Dan Williams <dcbw@redhat.com>
12090 Patch from Adam Schreiber <sadam@clemson.edu>
12091 * gnome/vpn-properties/nm-vpn-properties.c
12092 - (main): correct Gnome program name (gnome.org #342498)
12094 2006-05-21 Dan Williams <dcbw@redhat.com>
12096 Fix gnome.org #330832 based on patch from Crispin Flowerday <crispin@gnome.org>
12098 * src/NetworkManagerDbus.[ch]
12099 - nm_dbus_get_device_from_object_path -> nm_dbus_get_device_from_escaped_object_path:
12100 clarify that function's argument should be an escaped dbus object
12101 path, and look for path segment end before returning a match
12102 * src/nm-dbus-nm.c:
12103 - Fix up users of nm_dbus_get_device_from_escaped_object_path()
12105 2006-05-17 Robert Love <rml@novell.com>
12107 Functionality to differentiate Ad-Hoc networks from infrastructure
12108 networks in the applet, by displaying a special icon:
12109 * gnome/applet/applet-dbus-devices.c: Set the mode for new networks.
12110 * gnome/applet/applet.c: Pass 'applet' to network_menu_item_update().
12111 * gnome/applet/menu-items.c: Set a special icon in the scan list for
12112 ad-hoc networks. TODO: Add a third icon representing "encrypted and
12113 Ad-Hoc". Right now, we display the same icon for all Ad-Hoc wireless
12114 networks, encrypted or not.
12115 * gnome/applet/wireless-network.c, gnome/applet/wireless-network.h: New
12116 accessor functions to get and set the mode of a given network,
12117 wireless_network_get_mode() and wireless_network_set_mode().
12119 2006-05-17 Robert Love <rml@novell.com>
12121 Functionality to automatically add BSSIDs to the allowed-MAC list as
12122 one roams from access point to access point on a given network:
12123 * src/NetworkManagerUtils.c: Add nm_ethernet_addresses_are_equal(),
12124 helper function to compare two ether_addr structures and return TRUE
12125 if they contain the same MAC address.
12126 * src/NetworkManagerUtils.h: Add nm_ethernet_addresses_are_equal()
12128 * src/nm-device-802-11-wireless.c: New function to update the BSSID
12129 stored with the current AP. If the BSSID has indeed changed, we
12130 send it out to the applet, allowing the allowed-MAC list to grow
12131 automatically in response to roaming.
12133 2006-05-16 Robert Love <rml@novell.com>
12135 * src/backends/NetworkManagerSuSE.c: Don't touch ypbind or autofs
12136 unless dhcp:DHCLIENT_MODIFY_NIS_CONF is set to "yes".
12138 2006-05-13 Dan Williams <dcbw@redhat.com>
12140 * src/nm-device-802-3-ethernet.c
12141 - (real_get_generic_capabilities): Don't ignore devices that can't do
12142 carrier detect (Debian bug #366373)
12144 2006-05-11 Dan Williams <dcbw@redhat.com>
12146 Patch from Michael Biebl <biebl@teco.edu>
12147 * src/backends/NetworkManagerDebian.c
12148 - Debian backend fixups
12150 2006-05-10 Robert Love <rml@novell.com>
12152 * src/backends/NetworkManagerSuSE.c: Fix double free (Novell #173442).
12154 2006-05-09 Robert Love <rml@novell.com>
12156 * gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXME: Save the WPA EAP
12157 private certificate passphrase, if any, in the GNOME Keyring.
12158 * libnm-utils/dbus-helpers.c: Update.
12160 2006-05-05 Dan Williams <dcbw@redhat.com>
12162 * src/nm-device-802-11-wireless.c
12163 - (nm_device_802_11_wireless_set_wep_enc_key): convert to
12164 nm_device_802_11_wireless_disable_encryption() since that's all
12165 we use it for anymore; we don't ever set WEP keys ourselves.
12166 - (real_deactivate_quickly): reset SSID and encryption keys
12167 - (real_deactivate): move SSID and encryption key reset to
12168 real_deactivate_quickly(), which gets run before us anyway
12170 2006-05-05 Robert Love <rml@novell.com>
12172 * src/NetworkManager.c: Set the umask to 0022 when daemonizing, in case
12173 root has a wacky default of its own (or, more common, a user has a
12174 bad umask and uses su/sudo to restart NetworkManager). Anything
12175 other than 0022 does not do what we want with, for example,
12176 resolv.conf. This problem is amplified by our judicious use of
12177 fopen(), which uses mode 0666 -- implying that the only way to get
12178 the permissions we want is with a umask of 0022.
12180 2006-05-05 Dan Williams <dcbw@redhat.com>
12182 * gnome/libnm_glib/libnm_glib.c
12183 - Don't suck CPU when dbus isn't around by scheduling idle handlers
12184 to reconnect; instead wait a bit more with each reconnect attempt
12185 up to a max of one minute.
12187 2006-05-04 Ryan Lortie <desrt@desrt.ca>
12189 * gnome/applet/passphrase-dialog.c (update_button_cb): Get the SSID of
12190 the WirelessNetwork structure using the proper function instead of
12191 just casting it directly to (const char *) (gnome.org #336991)
12193 2006-05-03 Robert Love <rml@novell.com>
12195 * src/backends/NetworkManagerSuSE.c: Respect the variable
12196 dhcp:DHCLIENT_MODIFY_RESOLV_CONF, not
12197 config:MODIFY_RESOLV_CONF_DYNAMICALLY, when deciding whether or not
12198 to dynamically update /etc/resolv.conf.
12200 2006-05-02 Peter Jones <pjones@redhat.com>
12202 * vpn-daemons/vpnc/src/nm-vpnc-service.c: Allow rekeying.
12204 2006-05-02 Robert Love <rml@novell.com>
12206 Patch by Timo Hoenig;
12207 * tests/nm-online.c: Print pretty status indicator as timeout winds
12208 down. Also fix possible race between DBUS startup and failure
12211 2006-05-01 Robert Love <rml@novell.com>
12213 * gnome/applet/applet-compat.c: Warn if the returned escaped ESSID is
12216 2006-04-27 Jeremy Katz <katzj@redhat.com>
12218 * src/nm-device.c (discover_device_type): Actually use the hal
12219 device type instead of ioctl poking
12221 2006-04-26 Robert Love <rml@novell.com>
12223 * tests/nm-online.c: New file. Simple utility that returns exit status
12224 noting whether the connection is offline or online. If offline on
12225 start, it waits 30 seconds (or a command-line given value) for an
12226 online signal. If it times out, it again returns offline. This is
12227 useful for scripts that want to wait for network connections.
12229 2006-04-25 Robert Love <rml@novell.com>
12231 * src/nm-ap-security-wep.c: Bug fix: We stopped setting the
12232 key mode (the authentication algorithm), e.g. open or shared, when we
12233 moved to using wpa_supplicant. wpa_supplicant defaults to open, so
12234 only shared was broken. If the user specified a shared key, set it
12235 explicitly, otherwise let wpa_supplicant go with the default.
12237 2006-04-24 Dan Williams <dcbw@redhat.com>
12239 * src/nm-device-802-11-wireless.c
12240 - (nm_device_802_11_wireless_set_essid): fix setting of "any" essid
12242 2006-04-24 Dan Williams <dcbw@redhat.com>
12244 Commit the async scanning patch
12246 * src/nm-device-802-11-wireless.c
12247 - get rid of scan_mutex
12248 - (wireless_event_helper): act on wireless scan events
12249 - (real_start): schedule a pending scan
12250 - (link_to_specific_ap): fake the link to the AP during a scan
12251 - (nm_device_802_11_wireless_update_signal_strength): ignore signal
12252 strength during scans
12253 - (nm_device_get_frequency, nm_device_set_frequency, nm_device_get_bitrate,
12254 nm_device_set_bitrate): unused with new scanning code, disable
12255 - (nm_device_wireless_schedule_scan): removed
12256 - (nm_device_wireless_process_scan_results): renamed to convert_scan_results()
12257 - (request_and_convert_scan_results): new function; retrieve scan
12258 results from the driver and schedule the processing function
12259 - (scan_results_timeout): timeout triggered when card doesn't send
12260 a scan results wireless event during a certain interval
12261 - (schedule_scan_results_timeout): new function; schedule the scan
12263 - (cancel_scan_results_timeout): new function; cancel the scan
12265 - (nm_device_802_11_wireless_scan): if wpa_supplicant is running, ask it
12266 to do the scanning. Otherwise, just request a scan but don't
12267 grab results here; instead schedule a timeout for scan results and
12268 let netlink notify us of scan completion events
12269 - (nm_device_wireless_schedule_scan): new function; schedule a wireless scan
12270 - (cancel_pending_scan): new function; cancel a pending wireless scan
12271 - (supplicant_status_cb): ignore disconnect events while scanning
12272 - (supplicant_exec): wait a bit longer for the supplicant to start up
12273 - (nm_device_802_11_wireless_dispose): cancel pending scans and results
12275 - (get_scan_results): removed; folded into request_and_convert_scan_results()
12277 2006-04-24 Dan Williams <dcbw@redhat.com>
12279 * gnome/applet/applet-dbus.c
12280 - Disable the pending call debug stuff, seems under control now
12282 2006-04-20 Robert Love <rml@novell.com>
12284 Fix bug where hidden ESSID's would not show up in the applet, even
12285 if NMI provided a BSSID -> ESSID mapping from Gconf. This occurred
12286 because nm_policy_device_list_update_from_allowed_list() would merge
12287 the data, putting a name to the hidden networks, but never notify NMI
12288 of the changes. Simple fix is to invoke the function
12289 nm_dbus_signal_wireless_network_change() if we make a mapping.
12290 * src/NetworkManagerAPList.c: Call the function
12291 nm_dbus_signal_wireless_network_change() if we made a successful
12292 BSSID to ESSID mapping, notifying the applet of the "new" network.
12293 * src/NetworkManagerAPList.h: Update the prototypes for both
12294 nm_ap_list_copy_essids_by_address() and
12295 nm_ap_list_copy_one_essid_by_address().
12297 2006-04-20 Robert Love <rml@novell.com>
12299 * gnome/applet/applet-dbus-info.c: Don't bail out if the timestamp is
12300 not set. Just return zero.
12302 2006-04-20 Robert Love <rml@novell.com>
12304 * gnome/vpn-properties/nm-vpn-properties.c: Satisfy TODO: Ensure that
12305 only one copy of nm-vpn-properties is running at a time via the 'ol
12306 X selection trick. This prevents the user from opening two "VPN
12307 Connections" windows from within the applet, which leads to mass
12309 * clipboard.c: New file, implementing simple X selection logic.
12310 * clipboard.h: New file.
12311 * gnome/vpn-properties/Makefile.am: Add clipboard.{c,h}
12313 2006-04-18 Nicolas Trangez <eikke@eikke.com>
12315 * backends/NetworkManagerGentoo.c: Small cleanups and enhancements
12317 initscript/Gentoo/Makefile.am
12318 initscript/Gentoo/NetworkManagerDispatcher.in
12320 * initscript/Gentoo/NetworkManager.in: small dependency fixup from
12323 2006-04-16 Dan Williams <dcbw@redhat.com>
12325 Patch from Paul Blazejowski <paulb@blazebox.homeip.net>
12327 initscript/Slackware/Makefile.am
12328 initscript/Slackware/rc.networkmanager-dispatcher.in
12329 initscript/Slackware/rc.networkmanager.in
12330 - Update slackware initscripts
12332 2006-04-10 Robert Love <rml@novell.com>
12334 * gnome/vpn-properties/nm-vpn-properties.c: Intercept and short-circuit
12335 the "delete_event" signal on the druid's parent window and handle it
12336 our way, lest using the WM to close the druid results in a series of
12337 bloody and ultimately lethal errors.
12339 2006-04-10 Robert Love <rml@novell.com>
12341 * gnome/vpn-properties/nm-vpn-properties.c: Validate VPN settings on
12342 'Back' too or else the 'Forward' option is initially disabled despite
12345 2006-04-06 Robert Love <rml@novell.com>
12347 Fix bad but simple bug where an active modem connection did not update
12348 NM's connection state, breaking any app that did online/offline:
12349 * src/NetworkManagerMain.h: Add 'modem_active' member to NMData,
12350 represented whether a dial up connection is active, or not.
12351 * src/nm-dbus-nm.c: Set and unset 'modem_active' in response
12352 to modem activation and deactivation.
12353 * src/NetworkManagerDbus.c: When asked our state, do not return
12354 disconnected if the modem is active.
12356 2006-04-04 Robert Love <rml@novell.com>
12358 * gnome/applet/applet.c: Remove the 'Remove' option that I added to the
12359 applet. It just confuses the crap out of people and does not make a
12360 lot of sense, as the daemon still runs.
12362 2006-04-02 Tor Krill <tor@krill.nu>
12364 * initscript/Arch/networkmanager.in: Added checks for HAL and dhcdbd
12365 in start of service.
12366 * src/backends/NetworkManagerArch.c: (nm_system_get_mtu): Added to
12367 get Archlinux backend up to date.
12369 2006-03-29 Robert Love <rml@novell.com>
12371 Patch by Vinay R <rvinay@novell.com> and Robert Love <rml@novell.com>,
12372 to add support for per-route MSS and improve support for per-interface
12374 * src/NetworkManagerSystem.c: Modify nm_system_device_set_ip4_route to
12375 optionally take an MSS parameter and set it for the given route.
12376 Remove nm_system_device_set_ip4_route_with_iface. Pass in the
12377 NMIP4Config's stored MSS, if any.
12378 * src/nm-ip4-config.c: Add 'mtu' and 'mss' to NMIP4Config, representing
12379 the interface's MTU and the route's MSS, respectively. Add functions
12380 nm_ip4_config_get_mtu, nm_ip4_config_set_mtu, nm_ip4_config_get_mss,
12381 and nm_ip4_config_set_mss for retrieving and setting the MTU and the
12383 * src/nm-ip4-config.h: Add prototypes for nm_ip4_config_get_mtu,
12384 nm_ip4_config_set_mtu, nm_ip4_config_get_mss, and
12385 nm_ip4_config_set_mss.
12386 * src/vpn-manager/nm-vpn-service.c: Modify to receive the MSS from the
12388 * src/backends/NetworkManager{Arch,Debian,Gentoo,RedHat,Slackware,SUSE}.c:
12389 Change the retval of nm_system_get_mtu to guint32.
12390 * src/dhcp-manager/nm-dhcp-manager.c: Set the MTU on the new DHCP-given
12391 NMIP4Config to the MTU provided by the system, if any. TODO: If DHCP
12392 servers can specify MTU's, we should set it here if the MTU was not
12395 2006-03-27 Jürg Billeter <j@bitron.ch>
12398 * initscript/Makefile.am:
12399 * initscript/paldo/Makefile.am:
12400 * initscript/paldo/NetworkManager.in:
12401 * initscript/paldo/NetworkManagerDispatcher.in:
12402 * src/backends/Makefile.am:
12403 * src/backends/NetworkManagerPaldo.c:
12404 - Add paldo support
12406 2006-03-27 Dan Williams <dcbw@redhat.com>
12408 Patch from Christian Persch <chpe@gnome.org>
12409 * gnome/applet/applet.glade
12410 - HIG fixes; mostly for spacing and borders (gnome.org #336220)
12412 2006-03-27 Dan Williams <dcbw@redhat.com>
12414 Patch from Diffe <diffie@blazebox.homeip.net>
12415 * src/backends/NetworkManagerSlackware.c
12416 - Don't restart howl, since it's been replaced by Avahi
12417 in most distributions
12419 2006-03-27 Dan Williams <dcbw@redhat.com>
12421 Patch from Tor Krill <bugzilla@krill.nu>
12423 initscript/Makefile.am
12424 src/backends/Makefile.am
12425 src/backends/NetworkManagerArch.c
12426 initscript/Arch/Makefile.am
12427 initscript/Arch/networkmanager-dispatcher.in
12428 initscript/Arch/networkmanager.in
12429 - Add Arch Linux support, fixes gnome.org #335147
12431 2006-03-27 Dan Williams <dcbw@redhat.com>
12433 Patch from Diffe <diffie@blazebox.homeip.net>
12434 * initscript/Slackware/rc.networkmanager
12435 - update, fixed gnome.org #333368
12437 2006-03-27 Robert Love <rml@novell.com>
12439 * gnome/applet/other-network-dialog.c: Do not allow the user to try to
12440 create WPA-EAP Ad-Hoc networks because such an action makes no sense.
12442 2006-03-27 Robert Love <rml@novell.com>
12444 Patch by Jürg Billeter <j@bitron.ch>:
12445 * src/nm-logging.c: Add printf modifier to fix warning on 64-bit
12447 * src/nm-netlink-monitor.c: Include <net/if.h> instead of <linux/if.h>
12448 as we prefer glibc over kernel headers, if possible.
12450 2006-03-27 Robert Love <rml@novell.com>
12452 Patch by Jon Escombe <list@dresco.co.uk>:
12453 * gnome/applet/nm-gconf-wso.c: Add missing NM_AUTH_TYPE_WPA_EAP case.
12454 * gnome/applet/nm-gconf-wso-wpa-eap.c: If retrieving the gconf values
12455 fail, don't bail out. We don't expect all of the various WPA-EAP
12456 values to be present.
12457 * src/nm-ap-security.c: We need to match all capabilities for each
12458 encryption type, not any one of them.
12460 2006-03-27 Robert Love <rml@novell.com>
12462 * src/backends/NetworkManagerSuSE.c: Revert 2006-03-17 commit and again
12463 restart, not reload, ypbind. Unfortunately there is no superior
12466 2006-03-24 Christopher Aillon <caillon@redhat.com>
12468 * gnome/applet/applet-notifications.c:
12469 When displaying a notification, make sure to get rid of the
12470 previous notification so as to not have competing bubbles,
12471 and stop leaking the old one.
12473 * gnome/applet/applet.c:
12474 * gnome/applet/applet.h:
12475 Add a new 'notification' member to the applet, and zero it out
12476 and free it appropriately.
12478 2006-03-23 Robert Love <rml@novell.com>
12480 Patch by j <j@bootlab.org>:
12481 * gnome/applet/applet.glade: Don't set the invisible_char property,
12482 which simply overrides the GTK default. By and by, this behavior
12483 ought to be fixed in Glade.
12485 2006-03-22 Robert Love <rml@novell.com>
12487 * src/dhcp-manager/nm-dhcp-manager.c: Bump timeout to 45 seconds.
12489 2006-03-22 Robert Love <rml@novell.com>
12491 Bug fix by Timo Hoenig <thoenig@suse.de>:
12492 * gnome/applet/applet-dbus.c: Let the applet reconnect to DBUS on
12493 disconnect. Otherwise, we have the daemon surviving DBUS restarts
12494 and the applet going AWOL.
12496 2006-03-22 Robert Love <rml@novell.com>
12498 * src/dhcp-manager/nm-dhcp-manager.c: Create NM_DHCP_TIMEOUT
12499 preprocessor define and use it instead of open-coded the DHCP
12500 timeout, which is currently 25 seconds, everywhere.
12502 2006-03-22 Robert Love <rml@novell.com>
12504 Implement "Dynamic WEP", which is basically WPA authentication and WEP
12505 key exchange via WPA, ostensibly providing good security without
12506 requiring hardware that supports full WPA. Also, add UI elements to
12507 allow the user to select the pairwise & group cipher for WPA Enterprise
12509 * gnome/applet/applet.glade: Update glade file.
12510 * gnome/applet/nm-gconf-wso-wpa-eap.c: Serialize and deserialize the
12511 key type, too, to and from gconf.
12512 * gnome/applet/wireless-security-option.c: Add "wpa_eap" parameter to
12513 wso_wpa_create_key_type_model(), noting whether we are handling PSK
12514 or EAP configuration, and in the latter case add in "Dynamic WEP" if
12515 the capabilities match.
12516 * gnome/applet/wso-private.h: Update wso_wpa_create_key_type_model()'s
12518 * gnome/applet/wso-wpa-eap.c: Manage UI elements for the key type and
12519 serialize from UI to DBUS.
12520 * gnome/applet/wso-wpa-psk.c: Cannot fail and always returns at least
12522 * libnm-util/dbus-helpers.c: Update nmu_security_serialize_wpa_eap(),
12523 nmu_security_serialize_wpa_eap_with_cipher(), and
12524 nmu_security_deserialize_wpa_eap() to take a "key_type" parameter and
12525 serialize/deserialize the key type via DBUS as the new third DBUS
12527 * libnm-util/dbus-helpers.h: Update prototypes.
12528 * src/nm-ap-security-wpa-eap.c: Deserialize the key type from DBUS,
12529 too. If the key type is WEP104, do Dynamic WEP, which means
12530 "IEEE8021X" for "key_mgmt". Also add support for user-specified
12531 pairwise and group ciphers (fixes a FIXME).
12533 2006-03-21 Robert Love <rml@novell.com>
12535 * src/NetworkManagerSystem.c, src/NetworkManagerSystem.h: Add
12536 nm_system_get_mtu(), which returns a user-provided or system-mandated
12537 MTU value for a given device, if any, or zero if no such value
12538 exists. Add nm_system_set_mtu() to set the MTU for a given device
12539 if we have a provided value.
12540 * src/nm-device.c: Set the MTU of devices.
12541 * src/backends/NetworkManagerSuSE.c: Read MTU, if any, from sysconfig.
12542 * src/backends/NetworkManagerDebian.c,
12543 src/backends/NetworkManagerGentoo.c,
12544 src/backends/NetworkManagerRedHat.c,
12545 src/backends/NetworkManagerSlackware.c: Implement stub functions.
12547 2006-03-21 Robert Love <rml@novell.com>
12549 * src/backends/NetworkManagerSuSE.c: Strip hypens from hex key in
12550 configuration file.
12552 2006-03-17 Robert Love <rml@novell.com>
12554 * src/backends/NetworkManagerSuSE.c: Do "rcypbind reload" to send the
12555 signal SIGHUP to ypbind, not "rcypbind restart" to physically restart
12556 it, in case it is not running in the first place. We just want its
12557 configuration reloaded. Also, do not "rcypbind stop" on device down.
12559 2006-03-15 Robert Love <rml@novell.com>
12561 * gnome/applet/applet.glade, gnome/applet/wso-wep-ascii.c,
12562 gnome/applet/wso-wep-hex.c, gnome/applet/wso-wep-passphrase.c: The
12563 label "WEP 40/128-bit" is inconsistent because the physical key size
12564 is 40 or 104-bits, to which a 24-bit initialisation vector is
12565 appended, forming a 64 or 128-bit traffic key. Thus, the label ought
12566 to read "40/104" or "64/128". I do not care much which, but most
12567 users think of "silver" and "gold" encryption as 64 and 128-bits, so
12568 let's stick with that. Thus, s/"40/128"/"64/128"/g. Also, since our
12569 WEP passphrase support only handles 128-bit keys, and any future
12570 64-bit passphrase support will require a new option (no way to auto-
12571 detect the target key size), explicitly label our passphrase support
12572 "WEP 128-bit Passphrase".
12574 2006-03-15 Robert Love <rml@novell.com>
12576 * src/dhcp-manager/nm-dhcp-manager.c: Do not start dhcdbd, but rely on
12577 the system init scripts (or some other mechanism) starting it (or a
12578 compatible DBUS service) before NetworkManager runs. This means that
12579 distributions might need to update their init scripts. This fixes
12580 possible races and is quite a bit cleaner.
12581 * initscript/SUSE/networkmanager.in: Update to start dhcdbd before
12582 starting the NetworkManager daemon.
12585 2006-03-14 Robert Love <rml@novell.com>
12587 * src/backends/NetworkManagerSuSE.c: Check that we have a valid AP
12588 before adding anything.
12590 2006-03-13 Robert Love <rml@novell.com>
12592 * gnome/vpn-properties/nm-vpn-properties.c: Hide the next page's
12593 widgets, too, if they exist, in case the user hit the back button.
12594 Fixes a bug where the details page contains the widgets of multiple
12595 VPN modules (Novell bug #157048).
12597 2006-03-13 Robert Love <rml@novell.com>
12599 Patch by Timo Hoenig <thoenig@suse.de>:
12600 * dispatcher-daemon/NetworkManagerDispatcher.c: Let the dispatcher
12601 daemon survive DBUS restarts, too.
12603 2006-03-10 Robert Love <rml@novell.com>
12605 * gnome/applet/applet.glade: Add toggles to show/obfuscate the
12607 * gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
12608 gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-eap.c,
12609 gnome/applet/wso-wpa-psk.c: Show and obfuscate passphrases and keys
12610 in response to "toggled" signal on new toggle.
12612 2006-03-10 Robert Love <rml@novell.com>
12614 * src/nm-ap-security-wpa-eap.c: Pass fake empty strings for
12615 serialization if strings are NULL, lest DBUS get angry.
12617 2006-03-10 Robert Love <rml@novell.com>
12619 * src/nm-ap-security-wpa-eap.c: Don't log the password.
12621 2006-03-09 Robert Love <rml@novell.com>
12623 * src/backends/NetworkManagerSuSE.c: Read in WEP and WPA static
12626 2006-03-09 Dan Williams <dcbw@redhat.com>
12628 Track pending call requests in the applet, and report how many are
12629 outstanding, and how long each completed one takes.
12631 * gnome/applet/applet-dbus-devices.c
12632 gnome/applet/applet-dbus-vpn.c
12633 - Track pending calls
12635 * gnome/applet/applet-dbus.[ch]
12636 - Remove some unused enums
12637 - (nma_dbus_send_with_callback, nma_dbus_send_with_callback_replied):
12638 new functions to track dbus pending calls and spit out some
12639 statistics about them
12641 2006-03-09 Robert Love <rml@novell.com>
12643 * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Have the function
12644 nm_ap_set_timestamp() take the second and micro-second parameters as
12645 direct arguments, which avoids both a dynamic memory allocation and a
12646 structure-to-structure copy! Add a new interface, the aptly named
12647 nm_ap_set_timestamp_via_timestamp(), to set the timestamp from an
12648 existing GTimeVal, as nm_ap_set_timestamp() once did, for use with
12649 the return from nm_ap_get_timestamp(). New users should use the new
12650 nm_ap_set_timestamp(), not nm_ap_set_timestamp_via_timestamp(), for
12651 the extreme benefit to performance.
12652 * src/NetworkManagerAPList.c, src/nm-dbus-nmi.c,
12653 src/backends/NetworkManagerSuSE.c: Use the new functions as needed.
12655 2006-03-08 Robert Love <rml@novell.com>
12657 * gnome/applet/applet.glade: Hide the password entry text with
12660 2006-03-08 Robert Love <rml@novell.com>
12662 * src/NetworkManagerSystem.h, src/nm-device.c, NetworkManagerDebian.c,
12663 NetworkManagerRedHat.c, NetworkManagerGentoo.c,
12664 NetworkManagerSlackware.c: Pass nm_system_device_get_system_config()
12665 a second argument, NMData.
12666 * src/nm-ap-security.h, src/nm-ap-security.c: Export nm_ap_security_new.
12667 * src/backends/NetworkManagerSuSE.c: Add wireless networks from ifcfg-*
12668 config files as trusted.
12670 2006-03-06 Robert Love <rml@novell.com>
12672 * gnome/applet/Makefile.am: Define AUTOSTARTDIR.
12673 * gnome/applet/applet.c: Add 'Remove' option to the right click menu,
12674 to exit the applet. As a sweet side-effect, idea courtesy of Chris
12675 Rivera, detect if the applet was auto-started. If so, ask the user
12676 if he or she would like to stop automatically running the applet on
12677 login. If so, disable autostart.
12679 2006-03-06 Robert Love <rml@novell.com>
12681 * NetworkManager.pc.in: Provide an -I to the NetworkManager include
12682 directory in CFLAGS so developers can actually use NetworkManager.h.
12684 2006-03-06 Robert Love <rml@novell.com>
12686 * src/dhcp-manager/nm-dhcp-manager.c: Use preprocessor defines and not
12687 open-coded integer constants. Add state_to_string() to map a given
12688 state to a textual description, and provide that when notifying of
12690 * src/dhcp-manager/nm-dhcp-manager.h: Provide defines for the dhcdbd
12691 states, copied and cleaned up from dhcdbd.d. Ideally, we would use
12692 this header directly, but it is currently not installed on most
12695 2006-03-05 Dan Williams <dcbw@redhat.com>
12697 Process netlink messages in device subclasses rather than in
12698 NetworkManager.c. Also add support for recognizing Wireless Events.
12701 - Find GLIB_GENMARSHAL
12704 - Since we're marshalling custom types for wireless event signals,
12705 we get to create our own marshallers using GLIB_GENMARSHAL
12707 * src/NetworkManager.c
12708 - (nm_monitor_wired_link_state): renamed to nm_monitor_setup
12709 - (nm_monitor_setup): renamed from nm_monitor_wired_link_state, and
12710 cut down somewhat. We no longer process signals here.
12711 - (nm_data_new): create the netlink monitor here, and remove a
12712 useless call to nm_policy_schedule_device_change_check()
12713 - (nm_data_free): get rid of the netlink monitor here
12714 - (nm_device_link_activated, nm_device_link_deactivated): removed
12715 - (main): don't create the netlink monitor here, let nm_data_new
12716 do that. Call nm_policy_schedule_device_change_check() right
12717 before we jump to the mainloop to figure out which device
12720 * src/NetworkManagerSystem.[ch]
12721 - (nm_system_get_rtnl_index_from_iface, nm_system_get_iface_from_rtnl_index):
12722 convert back and forth from interface names to interface
12725 * src/nm-device-802-11-wireless.c
12726 - (real_init): connect to wireless-event signals from the netlink
12728 - (nm_device_802_11_wireless_event): new function, schedule handler
12729 for wireless event signals from the netlink monitor object. We
12730 want the handler to run in the device's context
12731 - (wireless_event_helper): handle wireless-event signals from netlink
12732 - (nm_device_802_11_wireless_dispose): disconnect wireless-event
12735 * src/nm-device-802-11-wireless.h
12736 - remove unused prototype for nm_device_802_11_wireless_new
12738 * src/nm-device-802-3-ethernet.c
12739 - (real_init): new function; set up signal handlers for link events
12740 - (nm_device_802_3_ethernet_link_activated): new function, schedule
12741 handler for netlink link activated events on device's main loop
12742 - (link_activated_helper): when we get a link activated event, set
12743 the device's link to be active
12744 - (nm_device_802_3_ethernet_link_deactivated): new function; schedule
12745 handler for netlink link deactivated events on device's main loop
12746 - (link_deactivated_helper): when we get a link deactivated event, set
12747 the device's link to be inactive
12748 - (nm_device_802_3_ethernet_dispose): disconnect signal handler on
12751 * src/nm-device-802-3-ethernet.h
12752 - remove unused prototype for nm_device_802_3_ethernet_new
12754 * src/nm-device.[ch]
12755 - (nm_get_device_by_iface_locked): variant of nm_get_device_by_iface
12756 but locks the device list
12757 - (nm_device_set_active_link): a little bit of cleanup and de-indenting
12759 * src/nm-netlink-monitor.[ch]
12760 - (nm_netlink_monitor_class_install_signals): New signal
12762 - (nm_netlink_monitor_new): keep reference to NMData so we can get
12764 - (nm_netlink_monitor_event_handler): expand for wireless events too
12766 * src/nm-marshal-main.c
12767 - Include generated nm-marshal.c and nm-marshal.h
12769 * src/nm-marshal.list
12770 - List of custom marshal functions
12772 2006-03-05 Dan Williams <dcbw@redhat.com>
12774 * gnome/applet/applet-notifications.h
12775 - Protect prototype of nma_send_event_notification() because it
12776 includes libnotify-specific types
12777 - Include libnotify/libnotify.h too, since we technically need it
12779 * gnome/applet/applet.c
12780 - (nma_show_vpn_failure_dialog): fix usage of g_return_if_fail
12781 - (nma_show_vpn_login_banner_dialog): add some error checking
12783 2006-03-04 Dan Williams <dcbw@redhat.com>
12785 Clean up activation cancellation. Should be a lot faster now. Observed
12786 an issue with wireless devices between stage 2 and 3 of activation, where
12787 activation would be cancelled, but the device thread wouldn't notice until
12788 the supplicant association timed out. Reorganize activation such that
12789 a cancellation handler gets immediately scheduled in the device's thread,
12790 and devices have a chance to perform any custom cleanup too.
12792 * src/nm-device.[ch]
12793 - (activation_cancel_handler): new device-type-specific function
12794 for cleaning up device-type-specific stuff on cancellation
12795 - (cancel_activation): removed
12796 - (nm_device_activation_cancel): subsume functionality of
12797 real_cancel_activation, but instead of doing anything, punt
12798 operation to a handler that's run in device-thread context
12799 - (nm_device_schedule_activation_handle_cancel): fix spelling of
12801 - (activation_handle_cancel_helper): cancellation handler run in
12802 device-thread context, calls device-type-specific cancelation,
12803 then tears down the activation request
12804 - (real_activation_cancel_handler): generic cancellation handler,
12805 deals with cancelling any in-process DHCP request
12806 - (nm_device_activate_stage1_device_prepare,
12807 nm_device_activate_stage2_device_config,
12808 nm_device_activate_stage3_ip_config_start,
12809 nm_device_activate_stage4_ip_config_get,
12810 nm_device_activate_stage4_ip_config_timeout,
12811 nm_device_activate_stage5_ip_commit): don't call
12812 nm_device_schedule_activation_handle_cancel() any more, since
12813 cancellation will have been already scheduled for us by
12814 nm_device_activation_cancel(). Just exit the function and
12815 assume that the cancel handler will be called next.
12817 * src/nm-device-802-3-ethernet.c
12818 - (real_act_stage2_config): remove; didn't do anything anyway
12820 * src/nm-device-802-11-wireless.c
12821 - (supplicant_status_cb): ensure we don't do anything if the activation
12823 - (real_activation_cancel_handler): implement; cancel user key request
12824 on activation cancellation
12826 2006-03-04 Dan Williams <dcbw@redhat.com>
12828 * src/nm-device-802-11-wireless.c
12829 - (supplicant_send_network_config): assume that drivers that don't
12830 support WPA pretty much suck, and can't handle NM scanning
12831 along with wpa_supplicant.
12833 2006-03-03 Robert Love <rml@novell.com>
12835 * configure.in: Bump version to 0.6.0.
12838 2006-03-03 Robert Love <rml@novell.com>
12840 * configure.in: Require DBUS 0.60 or later.
12842 2006-03-03 Dan Williams <dcbw@redhat.com>
12844 Fix a crash if an "Other wireless network" was chosen, failed, then
12845 chosen again from the applet's menu. If the other network wasn't
12846 noticed in a scan, it wouldn't have any capabilities, but would still
12847 be listed because the user forced the network. To fix this, we set
12848 sensible capabilities on the forced network, which will get overwritten
12849 with the correct ones if the network shows up later in a scan.
12851 * src/nm-ap-security.h
12852 - Add a new "get_default_capabilities_func" member to the
12855 * src/nm-ap-security.c
12856 - (nm_ap_security_get_default_capabilities): new function
12858 * src/nm-ap-security.c
12859 src/nm-ap-security-wep.c
12860 src/nm-ap-security-wpa-psk.c
12861 src/nm-ap-security-wpa-eap.c
12862 - Implement get_default_capabilities_func() for all, which
12863 uses the information contained in a specific NMAPSecurity
12864 object to determine default AP capabilites necessary
12865 to support that object
12867 As a secondary measure, we now prune artificial access points that fail
12868 to be activated right away. The thing failed, and we have no scan data for
12869 it, so it's pretty much useless since security information is only saved
12870 in the applets when a connection is successful.
12872 * src/NetworkManagerAPList.c
12873 - (nm_ap_list_merge_scanned_ap): mark any ap noticed in a scan
12874 not artificial. If we see it, it's no longer a figment of the
12875 user's imagination :)
12877 * src/NetworkManagerPolicy.c
12878 - (nm_policy_activation_failed): send along the failed AP if we
12881 * src/nm-device-802-11-wireless.c
12882 - (real_activation_failure_handler): remove artificial APs from
12883 the device list, because activation failed
12885 2006-03-02 Robert Love <rml@novell.com>
12887 Add support for retrieving both the per-device speed and the
12888 per-network maximum supported rate. Then change the getProperties
12889 DBUS API for both networks and devices to report this informaiton.
12890 Finally, display the information via both nm-applet and nm-tool:
12891 * gnome/applet/applet-dbus-devices.c: Grab the speed from getProperties
12893 * gnome/applet/applet.c: Display the device's speed in the 'Connection
12894 Information' dialog.
12895 * gnome/applet/applet.glade: Update the UI to show per-device speed.
12896 * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Add interfaces
12897 network_device_get_speed() and network_device_set_speed() for
12898 retrieving and setting, respectively, a network device's current
12900 * src/nm-dbus-device.c: Send the device's speed on getProperties.
12901 * src/nm-device-802-11-wireless.c: Return the rate in Mb/s, not Kb/s,
12902 in the function nm_device_802_11_wireless_get_bitrate() -- it does
12903 not matter (yet) what the units are, because we only feed it its own
12904 output. Implement SIOCGIRATE and set the per-network maximum
12905 supported rate during scanning.
12906 * src/nm-device-802-11-wireless.h: Export the function
12907 nm_device_802_11_wireless_get_bitrate().
12908 * src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h: Add
12909 function nm_device_802_3_ethernet_get_speed() for returning an
12910 802.3's current speed, in Mb/s.
12911 * test/nm-tool.c: Display the per-device current speed, if available,
12912 and the per-network maximum rate.
12914 2006-03-02 Dan Williams <dcbw@redhat.com>
12916 * src/nm-device-802-11-wireless.c
12917 - (nm_device_802_11_wireless_set_scan_interval): don't scan-spam the
12918 card when it gets initialized. Since devices don't get added to
12919 the scan list until they are initialized, this function wasn't
12920 setting the intitial scan interval correctly, and was leaving
12921 it at 0. This caused cards to get many scan requests in a short
12922 amount of time when they were initialized
12924 2006-03-02 Robert Love <rml@novell.com>
12926 * gnome/applet/applet.c: Do not set the pixbuf if we don't have an
12927 active device. But do not do what we used to do and override the
12928 state, which caused the dreaded icon race of '05.
12930 2006-03-02 Robert Love <rml@novell.com>
12932 Commit Dan's update of my previous commit:
12933 * src/nm-device-802-11-wireless.c: Always set the mode, because the
12934 set_mode() function itself does the check. But do only set the
12935 frequency if in Ad-Hoc mode.
12937 2006-03-02 Robert Love <rml@novell.com>
12939 Patch by Brian Magnuson <magnuson@rcn.com>:
12940 * src/nm-device-802-11-wireless.c: During scanning, only set the
12941 wireless mode to infrastructure if it is not currently in
12942 infrastructure mode. For some driver, setting the mode is a costly
12943 operation, apparently.
12945 2006-03-01 Rodrigo Moya <rodrigo@novell.com>
12947 * Makefile.am: use the correct dir for autostart mechanism.
12949 2006-02-28 Dan Williams <dcbw@redhat.com>
12951 Patch from Brian Magnuson <magnuson@rcn.com>
12952 * gnome/applet/applet.c
12953 - (nma_show_vpn_failure_dialog): fix errors left over from
12954 libnotify support changes
12956 2006-02-28 Dan Williams <dcbw@redhat.com>
12958 * src/vpn-manager/nm-vpn-act-request.[ch]
12959 - (nm_vpn_act_request_is_activated): don't use a switch/case for
12961 - (nm_vpn_act_request_is_failed): new function; return whether or
12962 not the vpn activation request has failed
12964 * src/vpn-manager/nm-vpn-manager.c
12965 - (nm_vpn_manager_deactivate_vpn_connection): tell the vpn service
12966 daemon to kill the connection when the activation request fails.
12967 Fixes issue where NM would get confused if the VPN activation
12968 request timed out, and would not allow further VPN connections
12971 2006-02-28 Dan Williams <dcbw@redhat.com>
12973 * gnome/applet/applet.c
12974 - (nma_menu_add_vpn_menu): until the NM VPN manager can deal with
12975 overlapping connection requests, disable all VPN menu items
12976 but the active VPN connection
12978 2006-02-28 Dan Williams <dcbw@redhat.com>
12980 * src/vpn-manager/nm-vpn-connection.c
12981 - (nm_vpn_connection_set_parent_device): fix C&P error which
12982 called g_object_unref() on the connection's parent device
12983 when it should have been ref-ed instead. Fixes crash with
12984 repeated vpn connect requests
12986 2006-02-28 Christopher Aillon <caillon@redhat.com>
12988 * gnome/applet/applet.glade:
12989 Mark a few strings non-translatable, since they shouldn't be.
12991 2006-02-28 Dan Williams <dcbw@redhat.com>
12993 * src/vpn-manager/nm-vpn-service.c
12994 - (nm_vpn_service_start_connection): if the vpn service daemon is
12995 already running, don't blindly ask it to connect, but wait until
12996 it's in the STOPPED state first. Fixes an assertion when user
12997 starts a second vpn connection without stopping the first.
12998 - (nm_vpn_service_stage2_daemon_wait): ensure the vpn service's
12999 dbus service exists before continuing with the connection
13000 process, and reduce latency while waiting for it to become
13002 - (nm_vpn_service_schedule_stage2_daemon_wait): reduce latency
13003 waiting for the vpn service daemon to become available
13004 - General log message cleanups; show progress via "Stage x of 4"
13005 rather than not telling anyone how many stages there are
13007 2006-02-28 Robert Love <rml@novell.com>
13009 * src/NetworkManagerSystem.h: Add nm_system_should_modify_resolv_conf.
13010 * src/backends/NetworkManagerSuSE.c: Implement the interface
13011 nm_system_should_modify_resolv_conf() for SUSE.
13012 * src/backends/NetworkManagerDebian.c,
13013 src/backends/NetworkManagerGentoo.c,
13014 src/backends/NetworkManagerRedHat.c,
13015 src/backends/NetworkManagerSlackware.c: Add stub.
13016 * src/named-manager/Makefile.am: Grab includes from src.
13017 * src/named-manager/nm-named-manager.c: Allow backends to disable the
13018 automatic updating of resolv.conf. This is useful for testing,
13019 broken static configurations, and administrator lock-down.
13021 2006-02-28 Dan Williams <dcbw@redhat.com>
13023 * src/nm-device-802-11-wireless.c
13024 - Move all the wpa_supplicant-related management stuff into its
13025 own struct, just for oranization's sake
13026 - (supplicant_exec): when exec-ing wpa_supplicant, connect its stdout
13027 to a GIOChannel/GSource
13028 - (supplicant_log_stdout): new function; grab output from the
13029 wpa_supplicant stdout pipe and write it to our logs.
13031 2006-02-27 Christopher Aillon <caillon@redhat.com>
13033 * src/nm-device-802-11-wireless.c:
13034 Err, fix thinko in my previous commit.
13036 2006-02-28 Robert Love <rml@novell.com>
13038 * gnome/applet/wso-wpa-eap.c: Fix misc. FIXME statements.
13040 2006-02-28 Robert Love <rml@novell.com>
13042 * libnm-util/dbus-helpers.c, src/nm-ap-security-wpa-eap.c,
13043 src/nm-ap-security-wpa-psk.c, gnome/applet/nm-gconf-wso-wpa-eap.c,
13044 gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXMEs: Callers of the DBUS
13045 deserializers are responsible for freeing the returned DBUS strings.
13047 2006-02-27 Christopher Aillon <caillon@redhat.com>
13049 * src/nm-device-802-11-wireless.c:
13050 The scan list is being pruned prematurely. We should prune after
13051 the device has gone MIA for three scans, not one. Split out the
13052 interval to realtime seconds function to better serve this.
13054 2006-02-27 Robert Love <rml@novell.com>
13056 * dispatcher-daemon/NetworkManagerDispatcher.c, src/NetworkManager.c:
13057 Open the pid file O_TRUNC, so if it already exists we truncate it to
13058 zero length. Also, be more verbose about warnings generated during
13059 writing out the pid file. Finally, always write out the pid file if
13060 in daemon mode. Use "--pid-file" to override the default.
13062 2006-02-27 Robert Love <rml@novell.com>
13064 Patch by R. Vinay <rvinay@novell.com>:
13065 * gnome/vpn-properties/nm-vpn-properties.c: Remove the gconf key
13066 'last_attempt_success' when removing a VPN connection, too. (Fixes
13067 Novell bug #153628).
13069 2006-02-27 Robert Love <rml@novell.com>
13071 * gnome/applet/applet.glade: Set "activates_default" on passphrase
13072 entry so user can hit <ENTER> after entering passphrase (Novell bug
13075 2006-02-27 Dan Williams <dcbw@redhat.com>
13078 - Mass search/replace of:
13080 NMWirelessApplet -> NMApplet
13081 NM_*_WIRELESS_APPLET -> NM_*_APPLET
13082 (it ain't just for wireless anymore, ma!)
13083 - Fix duplicate function name printing when using nm_warning
13084 - wireless-applet.glade -> applet.glade
13086 2006-02-27 Dan Williams <dcbw@redhat.com>
13088 * dispatcher-daemon/NetworkManagerDispatcher.c
13089 - Accept --pid-file with a path to a pidfile, write it out on
13090 startup, and delete it on shutdown
13092 * src/NetworkManager.c
13093 - Accept --pid-file with a path to a pidfile, write it out on
13094 startup, and delete it on shutdown
13095 - Move nm_print_usage() lower
13097 * initscripts/RedHat/NetworkManager.in
13098 - Use new --pid-file option
13099 - Fix service stopping to wait a bit for NM to quit
13101 * initscripts/RedHat/NetworkManagerDispatcher.in
13102 - Use new --pid-file option
13104 2006-02-26 Dan Williams <dcbw@redhat.com>
13107 - make and install nm-crash-logger
13109 * src/nm-logging.[ch]
13110 - New files; consolidate logging and crash handling
13112 * src/nm-crash-logger.c
13114 - Standalong crashlogger for NM, grab a backtrace
13117 * src/NetworkManager.[ch]
13118 - Remove signal handling and put it into nm-logging.c
13120 2006-02-26 Dan Williams <dcbw@redhat.com>
13123 gnome/applet/Makefile.am
13124 - Conditionalize all the notify stuff
13126 Merge most of Chris Aillon's notification patch:
13128 * gnome/applet/applet-notifications.[ch]
13129 - New files; show a notification
13131 * gnome/applet/applet-dbus-devices.[ch]
13132 - (nmwa_dbus_device_activated, nmwa_dbus_device_activated_cb,
13133 nmwa_dbus_device_deactivated, nmwa_dbus_device_deactivated_cb):
13134 new functions, do the right thing when a device change occurs
13136 * gnome/applet/applet-dbus.c
13137 - (nmwa_dbus_filter): Split out DeviceNowActive and DeviceNoLongerActive
13138 signals, so we can handle them specially
13140 * gnome/applet/applet.[ch]
13141 - nmwa_schedule_vpn_login_banner -> nmwa_show_vpn_login_banner
13142 - nmwa_schedule_vpn_failure_alert -> nmwa_show_vpn_failure_alert
13143 - (nmwa_notify_state): remove
13144 - (nmwa_update_state); remove call to nmwa_notify_state, since the
13145 notification work is now done when the appropriate dbus signals
13147 - (nmwa_show_vpn_login_banner, nmwa_show_vpn_failure_alert): don't
13148 defer execution of the notification/dialog stuff. That was an
13149 artifact of the previous multi-threaded nature of the applet
13150 and is now pointless.
13151 - (nmwa_notify_vpn_failure, nmwa_notify_vpn_login_banner): remove,
13152 no longer needed. Function folded into applet-notifications.c
13154 * src/NetworkManagerPolicy.c
13155 - (nm_policy_activation_finish): send the AP along with the device
13156 status change signal, if the connection is wireless. Should
13157 fix the race where applet would show a connection to "unknown"
13159 2006-02-25 Robert Love <rml@novell.com>
13161 Add WPA Enterprise support:
13162 * gnome/applet/Makefile.am: Build the files nm-gconf-wso-wpa-eap.c and
13163 nm-gconf-wso-wpa-eap.h.
13164 * gnome/applet/nm-gconf-wso-wpa-eap.c,
13165 gnome/applet/nm-gconf-wso-wpa-eap.h: Add WPA Enterprise Gconf
13166 serialization and deserialization.
13167 * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
13168 gnome/applet/wireless-security-option.c, gnome/applet/wso-wpa-psk.c,
13169 gnome/applet/wso-wpa-psk.h: Clean up, support new defines.
13170 * gnome/applet/wireless-applet.glade: Add UI for configurating security
13171 settings related to WPA Enterprise.
13172 * gnome/applet/wireless-security-manager.c: Invoke wso_wpa_eap_new() to
13173 instantiate WPA Enterprise wireless-security-option.
13174 * gnome/applet/wso-wpa-eap.c, gnome/applet/wso-wpa-eap.h: New files.
13175 Implement WPA Enterprise wireless-security-option object.
13176 * include/NetworkManager.h: Add new NM_AUTH_TYPE_* and NM_EAP_METHOD_*
13178 * libnm-util/cipher-wpa-psk-hex.c,
13179 libnm-util/cipher-wpa-psk-passphrase.c: Cleanup.
13180 * libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h: Add
13181 nmu_security_serialize_wpa_eap() to serialize input to DBUS method,
13182 nmu_security_serialize_wpa_eap_with_cipher() to serialize input
13183 including the cipher to DBUS method, and
13184 nmu_security_deserialize_wpa_eap() to deserialize from DBUS return
13186 * src/Makefile.am: Build the files nm-ap-security-wpa-eap.c and
13187 nm-ap-security-wpa-eap.h
13188 * src/NetworkManagerAP.c: Add NM_AUTH_TYPE_WPA_EAP to
13189 NM_802_11_CAP_KEY_MGMT_802_1X cipher to capability mapping.
13190 * src/nm-ap-security-wpa-eap.c, src/nm-ap-security-wpa-eap.h: New
13191 files. Implement NMAPSecurityWPA_EAP object.
13192 * src/nm-ap-security-wpa-psk.c: Cleanup.
13193 * src/nm-ap-security.c: Support NM_AUTH_TYPE_EAP cipher and instantiate
13194 an NMAPSecurityWPA_EAP object via the method
13195 nm_ap_security_wpa_eap_new_deserialize().
13196 * src/nm-dbus-nm.c: Cleanup.
13197 * test/nm-tool.c: Display "Enterprise" for wireless networks providing
13198 WPA Enterprise support.
13200 2006-02-24 Robert Love <rml@novell.com>
13202 Patch from Timo Hoenig <thoenig@suse.de>:
13203 * src/NetworkManagerDbus.c: Survive DBUS restarts like a champ.
13205 2006-02-24 Robert Love <rml@novell.com>
13207 Patch from Dan Winship <danw@novell.com>:
13208 * gnome/applet/eggtrayicon.c: Update EggTrayIcon code. Set the gdk
13209 area to transparent.
13211 2006-02-21 Dan Williams <dcbw@redhat.com>
13213 * gnome/applet/applet.[ch]
13214 gnome/applet/applet-dbus.c
13215 - Implement notification support for VPN messages too
13217 2006-02-21 Dan Williams <dcbw@redhat.com>
13219 * gnome/applet/applet-dbus-info.c
13220 - Clean up warning messages to not double-print the function
13222 2006-02-21 Dan Williams <dcbw@redhat.com>
13224 * gnome/applet/applet-compat.c
13225 - (convert_one_entry): accept entries without a key_type and
13226 convert them to unencrypted networks
13228 2006-02-21 Dan Williams <dcbw@redhat.com>
13230 * gnome/libnm_glib/libnm_glib.c
13231 - Use __func__ everywhere we can
13233 - Use dbus pending calls rather than blocking
13234 - Reduce busywaits for our thread to start and stop
13235 (gnome.org #330562)
13236 - (libnm_glib_dbus_init): Use dbus_bus_get_private() so we don't
13237 stomp on others using the default shared dbus connection.
13238 Fixes #rh177546# and gnome.org #326572
13240 2006-02-21 Dan Williams <dcbw@redhat.com>
13242 Patch from Rodney Dawes <dobey@novell.com>
13244 gnome/applet/Makefile.am
13245 gnome/applet/applet.c
13246 - Add libnotify support if '--enable-notify=yes' is passed
13249 2006-02-16 Kang Jeong-Hee <keizie@gmail.com>
13251 * configure.in (ALL_LINGUAS): ko added. (Korean)
13253 2006-02-15 Robert Love <rml@novell.com>
13255 * src/nm-device-802-11-wireless.c: Use LOCALSTATEDIR preprocessor
13256 define, not an open-coded "/var", for WPA_SUPPLICANT_GLOBAL_SOCKET
13257 and WPA_SUPPLICANT_CONTROL_SOCKET.
13259 2006-02-15 Robert Love <rml@novell.com>
13261 * src/nm-device-802-11-wireless.c, src/nm-device.c: When printing debug
13262 information about what connection stage we are at, provide the total
13263 number of stages, e.g. "Stage 2 of 5", so users know how far along
13264 they are if they experience problems.
13266 2006-02-15 Robert Love <rml@novell.com>
13268 * gnome/vpn-properties/Makefile.am: Define SYSCONFDIR preprocessor
13269 define to $sysconfdir.
13270 * gnome/vpn-properties/nm-vpn-properties.c: Make sure we hide the VPN
13271 editing dialog, vpn_edit_widget, which fixes a bug where editing one
13272 type of VPN and then editing another results in a mangled dialog
13273 box containing the widgets from both VPNs (fixes Novell #150854).
13274 Also, some misc. cleanup and use SYSCONFDIR not open coded directory.
13276 2006-02-14 Robert Love <rml@novell.com>
13278 * src/NetworkManager.c: Call closelog() on daemon shutdown to close
13279 syslog's file descriptor.
13281 2006-02-14 Robert Love <rml@novell.com>
13283 Fix bug around since the change to "deal with APs changing settings on
13284 us," checked in on the fifth of February in the year of the dog,
13285 wherein connecting to non-broadcast encrypted networks always fails
13286 because nm_ap_get_encrypted() always returns FALSE, even when the user
13287 provided a key, because the newly-created fake AP does not have any
13288 capabilities set, which is a sypmtom of security settings not matching
13289 capabilities (Novell bug #150784):
13290 * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Add new interface,
13291 nm_ap_add_capabilities_from_security(), which sets the given AP's
13292 capabilities off the given security settings. Also improve our
13293 handling of capabilities w.r.t. NM_802_11_CAP_PROTO_NONE and
13294 NM_AUTH_CIPHER_AUTO.
13295 * src/nm-device-802-11-wireless.c: Call the function
13296 nm_ap_add_capabilities_from_security() to ensure that capabilities
13297 match newly updated security settings.
13299 2006-02-14 Robert Love <rml@novell.com>
13301 * src/nm-device-802-11-wireless.c: Clean up nm_warning calls: Print the
13302 error as a string, not an integer, if possible; do not print the
13303 function name twice; always give the interface, if possible; misc.
13306 2006-02-12 Dan Williams <dcbw@redhat.com>
13308 Patch from Tom Parker <palfrey@tevp.net>
13309 * src/NetworkManagerSystem.h
13310 - Remove prototype for nm_system_device_setup_static_ip4_config(),
13313 * src/backends/NetworkManagerDebian.c
13314 - Remove some dead code (nm_system_device_setup_static_ip4_config) and
13317 2006-02-12 Dan Williams <dcbw@redhat.com>
13319 * vpn-daemons/openvpn/intltool-extract.in
13320 vpn-daemons/openvpn/intltool-merge.in
13321 vpn-daemons/openvpn/intltool-update.in
13322 vpn-daemons/pptp/intltool-extract.in
13323 vpn-daemons/pptp/intltool-merge.in
13324 vpn-daemons/pptp/intltool-update.in
13325 - Remove from CVS, they should get created by intltoolize,
13328 2006-02-12 Dan Williams <dcbw@redhat.com>
13330 * vpn-daemons/pptp/src/pppd/patchlevel.h
13331 * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
13332 - Rename VERSION -> PPPD_VERSION to avoid conflict with the
13333 Makefile-defined VERSION
13335 2006-02-09 Dan Williams <dcbw@redhat.com>
13337 Patch from: Vinay A R <rvinay@novell.com>
13338 * src/vpn-manager/nm-vpn-act-request.[ch]
13339 - Added 'routes' and 'routes_count' to struct NMVPNActRequest since
13340 IPSec VPNs require them for std gateway.
13341 - (nm_vpn_act_request_new): takes arguments for 'user_routes'
13342 and 'user_routes_count'
13343 - (nm_vpn_act_request_get_user_routes): new function; gets user
13344 defined routes from NMVPNActRequest object, returns the string
13347 * src/vpn-manager/nm-vpn-manager.[ch]
13348 - (nm_vpn_manager_activate_vpn_connection): take additional arguments
13349 for 'user_routes' and 'user_routes_count'
13351 * src/vpn-manager/nm-dbus-vpn.c
13352 - (nm_dbus_vpn_activate_connection): gets 'user_routes' from
13353 nm_dbus_vpn_get_routes() to pass to nm_vpn_manager_activate_vpn_connection()
13355 * src/vpn-manager/nm-vpn-service.c
13356 - (nm_vpn_service_stage3_connect): pass user routes over dbus to
13359 Modifications by Dan:
13360 * src/vpn-manager/nm-vpn-service.c
13361 - (nm_vpn_service_stage3_connect): ensure that we don't pass NULL string
13364 * vpn-daemons/vpnc/src/nm-vpnc-service.c
13365 * vpn-daemons/pptp/src/nm-pptp-service.c
13366 * vpn-daemons/openvpn/src/nm-openvpn-service.c
13367 - Grab user routes from dbus message
13368 - Free all string arrays we got from dbus
13370 2006-02-07 Robert Love <rml@novell.com>
13372 Patch by Stefan Seyfried <seife@suse.de>:
13373 * libnm-util/cipher.c: Fix off-by-one error in cipher_bin2hexstr.
13375 2006-02-06 Robert Love <rml@novell.com>
13377 * src/nm-device-802-11-wireless.c: Fix leak in supplicant_status_cb().
13379 2006-02-06 Robert Love <rml@novell.com>
13381 * src/NetworkManagerUtils.c: kill_newline(): 'l' is unsigned so the
13382 test ">=" is never false. If no newline is found, we loop forever.
13383 We can just check for ">" because the following if() will see the
13384 zero-th argument if the while() gets that far.
13386 2006-02-05 Dan Williams <dcbw@redhat.com>
13388 Refine handling of non-broadcast networks.
13390 * src/NetworkManagerAPList.c
13391 - (nm_ap_list_merge_scanned_ap): unconditionally copy the 'broadcast'
13392 property from scanned AP to the AP from the device list
13394 * src/nm-device-802-11-wireless.c
13395 - (supplicant_send_network_config): use ap_scan=1 for all networks
13396 except non-SSID-broadcasting and Ad-Hoc networks. Use
13397 ap_scan=2 for those. Also, don't set scan_ssid for Ad-Hoc
13398 networks since those don't have APs.
13399 - (add_new_ap_to_device_list): if there's no valid SSID, mark the
13400 AP as non-SSID-broadcasting
13401 - (process_scan_results): don't handle non-SSID-broadcasting here
13403 2006-02-05 Dan Williams <dcbw@redhat.com>
13405 * src/nm-device-802-11-wireless.c
13406 - (get_supplicant_timeout): new function; return
13407 NM_SUPPLICANT_TIMEOUT * 2 for cards that support more than
13408 14 channels. These are likely a/b/g cards, like Atheros, and
13409 slow as hell to scan.
13410 - (supplicant_timeout_cb, supplicant_monitor_start): use
13411 get_supplicant_timeout()
13413 2006-02-05 Dan Williams <dcbw@redhat.com>
13415 * src/dhcp-manager/nm-dhcp-manager.c
13416 - Loose a commit race with Robert; make sure size check
13417 uses size of DHCP_SERVICE_LEN, not hardcoded 15
13419 2006-02-05 Robert Love <rml@novell.com>
13421 Patch by Christoph Brill <chrisbrill@gmx.net>:
13422 * src/dhcp-manager/nm-dhcp-manager.c: Replace two open coded defines
13423 with DHCP_SERVICE_NAME.
13425 2006-02-05 Dan Williams <dcbw@redhat.com>
13427 Remove anything having to do with device_setup_func from the
13428 AP security objects, since it's no longer used.
13430 * src/nm-ap-security.h
13431 - Kill device_setup_func and nm_ap_security_device_setup()
13433 * src/nm-ap-security-wep.c
13434 src/nm-ap-security-wpa-psk.c
13435 - (real_device_setup): remove
13437 * src/nm-ap-security.c
13438 - (real_device_setup): remove
13439 - (nm_ap_security_device_setup): remove
13441 * src/nm-device-802-11-wireless.[ch]
13442 - (nm_device_802_11_wireless_set_wep_enc_key): make static
13443 - (set_wireless_config, wireless_configure_adhoc): remove; unused
13444 and done by wpa_supplicant now anyway
13446 2006-02-05 Dan Williams <dcbw@redhat.com>
13448 * src/nm-device-802-11-wireless.c
13449 - (ap_need_key, real_act_stage2_config): deal with APs changing
13450 settings on us. Previously NM would loop asking for the
13451 key but getting the same one back. Now, if the NMI-supplied
13452 cipher doesn't overlap with the scanned AP capabilities,
13453 we request a completely new key from the user.
13455 2006-02-05 Dan Williams <dcbw@redhat.com>
13457 * src/NetworkManagerUtils.c
13458 - (nm_utils_supplicant_request_with_check, nm_utils_supplicant_request):
13459 Handle newline killing better
13461 2006-02-05 Dan Williams <dcbw@redhat.com>
13463 * gnome/applet/nm-gconf-wso.c
13464 - (real_serialize_dbus): return TRUE, not 0. Fixes serialization
13465 of unencrypted access point security info.
13467 2006-02-03 Robert Love <rml@novell.com>
13469 * src/NetworkManagerUtils.c: Even for debugging, we should not log the
13470 user's encryption key, so we print the err_msg_cmd not the command,
13471 if available. So long as SUPPLICANT_DEBUG is default, this makes
13474 2006-02-03 Christopher Aillon <caillon@redhat.com>
13476 * initscript/RedHat/NetworkManagerDispatcher.in:
13477 * initscript/RedHat/NetworkManager.in: modify the pidfile location
13478 Patch from Dan Walsh <dwalsh@redhat.com>
13480 2006-02-03 Robert Love <rml@novell.com>
13482 * dispatcher-daemon/NetworkManagerDispatcher.c,
13483 dispatcher-daemon/Makefile.am: Don't hardcode the location of /etc
13484 but use the sysconfdir.
13486 2006-02-03 Robert Love <rml@novell.com>
13488 * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h:
13489 Make nm_device_802_11_wireless_get_essid() return 'const char *' not
13491 * src/nm-ip4-config.c, src/nm-ip4-config.h: Make the functions
13492 nm_ip4_config_get_hostname() and
13493 nm_ip4_config_get_nis_domain() return 'const char *' not 'char *'.
13494 * src/backends/NetworkManagerSuSE.c: Fix up for above. Also, do not
13495 leak g_strdup() result.
13497 2006-02-03 Robert Love <rml@novell.com>
13499 * src/NetworkManagerAP.c: In nm_ap_new(), default new networks to
13500 broadcast == TRUE. Also, copy broadcast and artificial properties
13501 from source network to destination in nm_ap_copy().
13502 * src/nm-device-802-11-wireless.c: Don't set broadcast flag to TRUE,
13503 since we now default new networks to non-hidden.
13505 2006-02-03 Dan Williams <dcbw@redhat.com>
13507 * gnome/applet/main.c
13508 - (main): change the NEVER->ALWAYS so we start at the
13509 beginning of the session, if being session-managed
13511 2006-02-03 Dan Williams <dcbw@redhat.com>
13513 * gnome/applet/main.c
13514 - (main): in a variation on Robert's patch, change
13515 RESTART_IMMEDIATELY -> RESTART_NEVER. Should do what
13518 2006-02-02 Robert Love <rml@novell.com>
13520 * src/Makefile.am: If we aren't going to create the run directory at,
13521 uh, run-time, create it during install. Then users just doing
13522 'make install' are cool, too. While we are here, create the
13523 dispatcher.d directory, too.
13524 * src/nm-device-802-11-wireless.c: Let the Makefile define and pass in
13525 the exact run directory.
13526 * Makefile.am: Install nm-applet.desktop.
13528 2006-02-02 Robert Love <rml@novell.com>
13530 * src/NetworkManagerAP.c: Add 'broadcast' property to the NMAccessPoint
13531 structure, which denotes whether or not the AP is hidden. This is a
13532 superset of 'artificial' -- we need 'broadcast' because a hidden AP
13533 can show up in the scan list. Add nm_ap_get_broadcast() and
13534 nm_ap_set_broadcast() accessor interfaces.
13535 * src/NetworkManagerAP.h: Add prototypes for nm_ap_get_broadcast() and
13536 nm_ap_set_broadcast().
13537 * src/nm-dbus-net.c: Add new argument, boolean broadcast, to the
13538 "getProperties" method, which denotes whether or not the given
13540 * src/nm-device-802-11-wireless.c: Set broadcast to FALSE when creating
13541 an artificial network. Set broadcast to TRUE when scanning returns
13542 an ESSID and FALSE when not.
13543 * gnome/applet/applet-dbus-devices.c: Retrieve 'broadcast' argument
13544 from "getProperties" method on a network. Possible TODO is to
13545 somehow display this.
13546 * test/nm-tool.c: Display "Hidden" if the AP does not broadcast.
13548 2006-02-02 Dan Williams <dcbw@redhat.com>
13550 * src/nm-device-802-11-wireless.c
13551 - (supplicant_interface_init): don't try to create
13552 /var/run/NetworkManager, since that should be done by
13553 the distro package. Causes problems for stuff like SELinux
13555 2006-02-02 Robert Love <rml@novell.com>
13557 Patch by Sureshkumar T <tsureshkumar@novell.com>:
13558 * src/vpn-manager/nm-vpn-connection.c, src/NetworkManagerSystem.c:
13559 Check for and handle empty string for iface.
13561 2006-02-01 Robert Love <rml@novell.com>
13563 * configure.in, man/nm-tool.1.in, man/Makefile.am: Add nm-tool(1)
13566 2006-01-31 Dan Williams <dcbw@redhat.com>
13568 * nm-applet.desktop
13569 - Add --sm-disable to Exec arguments, presuming that when
13570 using autostart, we don't want session management
13572 2006-01-31 Robert Love <rml@novell.com>
13574 * src/NetworkManagerAP.c: Add two new manufacturer default network
13575 names: linksys-a and linksys-g. These are found (at least) on the
13576 Linksys WAP55AG, which does both 802.11a and 802.11b, each with their
13579 2006-01-31 Robert Love <rml@novell.com>
13581 * src/NetworkManagerAP.c: Optimize the function
13582 nm_ap_has_manufacturer_default_essid(). I did not like its resulting
13583 machine code. This is the first in a series of code tweaks aiming to
13584 generate better machine code and make NetworkManager all the better.
13585 Just kidding. Who has time to go through the assembly generated for
13586 every function? I certainly don't. I have a wife, a kid, a job,
13587 a mortgage, a mistress. But this function was so bad, I was called
13588 to arms. Like the book.
13590 2006-01-31 Robert Love <rml@novell.com>
13592 * src/nm-device-802-11-wireless.c: Set "scan_ssid 1" if the requested
13593 AP is not broadcasting, to scan with probe request frames. Required
13594 for non-broadcast networks.
13596 2006-01-31 Robert Love <rml@novell.com>
13598 * src/nm-device-802-11-wireless.c: Make the wpa_supplicant a
13599 preprocessor define (still 20s). Fix message text in nm_info()
13600 s/too too/took too/.
13602 2006-01-30 Dan Williams <dcbw@redhat.com>
13604 * src/nm-device-802-11-wireless.c
13605 - (supplicant_monitor_start): increase connect/auth timeout to
13606 20 seconds from 10 seconds
13608 2006-01-30 Dan Williams <dcbw@redhat.com>
13611 - Define LOCALSTATEDIR
13613 * src/nm-device-802-11-wireless.c
13614 - (supplicant_exec): tell wpa_ctrl_open() to stick the local control
13615 socket where we want it to
13617 * src/wpa_ctrl.[ch]
13618 - (wpa_ctrl_open): accept location to put local control socket
13620 2006-01-30 Robert Love <rml@novell.com>
13622 * src/dhcp-manager/nm-dhcp-manager.c: Pass TRUE for ignore_error in
13623 get_ip4_string() for "domain_name".
13625 2006-01-30 Robert Love <rml@novell.com>
13627 * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
13628 gnome/applet/wireless-security-option.c, include/NetworkManager.h,
13629 libnm-util/cipher-wpa-psk-hex.c, src/nm-ap-security-wpa-psk.c,
13630 libnm-util/cipher-wpa-psk-passphrase.c, src/nm-ap-security.c: Add
13631 support for "Automatic" pairwise and group cipher configuration by
13632 letting wpa_supplicant handle the details. Add UI elements, new
13633 cipher type NM_AUTH_CIPHER_AUTO, and backend support. Works like a
13634 charm. Note this does more than add a nice feature, it fixes a bug.
13635 Apparently, some people have AP's where the pairwise cipher does not
13636 match the group cipher. Insane, but true.
13638 2006-01-30 Dan Williams <dcbw@redhat.com>
13640 * gnome/applet/applet-dbus-devices.c
13641 - (nmwa_dbus_device_get_driver_cb, nmwa_dbus_device_get_driver): new
13642 functions, grab device driver name from NetworkManager
13643 - (nmwa_dbus_device_properties_cb): call functions to get driver
13645 * gnome/applet/applet.c
13646 - (nmwa_update_info): show driver name in Connection Information
13649 * gnome/applet/nm-device.[ch]
13650 - (network_device_get_driver, network_device_set_driver): add
13651 accessors for driver name
13653 * gnome/applet/wireless-applet.glade
13654 - Add line for driver name to Connection Information dialog
13656 * src/nm-dbus-device.c
13657 - (nm_dbus_device_get_driver): new function to return driver name
13658 - (nm_dbus_device_methods): hook up driver name function to dbus
13661 - (get_driver_name): new function
13662 - (detail_device): grab and show driver name
13664 2006-01-30 Robert Love <rml@novell.com>
13666 * gnome/applet/applet.c: Apparently gtk_message_dialog_new_with_markup
13667 does not parse the markup if it is not part of the format.
13669 2006-01-30 Robert Love <rml@novell.com>
13671 * gnome/applet/passphrase-dialog.c: If wsm_set_capabilities() returns
13672 FALSE, we have no security options for this dialog, so we throw up
13673 an error dialog instead of a broken passphrase dialog. Fixes
13675 * gnome/applet/wireless-security-manager.c,
13676 gnome/applet/wireless-security-manager.h: If wsm_set_capabilities()
13677 does not add any security options, not even NONE, print a warning
13678 and return FALSE. This let's functions constructing a dialog bail
13679 out if the device's capabilities and the network's requirements have
13682 2006-01-27 Robert Love <rml@novell.com>
13684 * configure.in: Require wpa_supplicant. Detect location of binary and
13685 use it. Override with "--with-wpa_supplicant=foo".
13686 * src/Makefile.am, src/nm-device-802-11-wireless.c: Do not hardcode the
13687 path to wpa_supplicant but use the auto-detected or user-provided
13688 value from configure.
13690 2006-01-27 Robert Love <rml@novell.com>
13692 * src/backends/NetworkManagerSuSE.c: If DHCLIENT_SET_HOSTNAME is set
13693 but the DHCP server did not return a hostname, try to look up our
13694 name via DNS and set the system hostname to that.
13696 2006-01-27 Dan Williams <dcbw@redhat.com>
13698 * src/backends/NetworkManagerRedHat.c
13699 - Add NM_CONTROLLED system network script support for RH/Fedora
13701 2006-01-27 Dan Williams <dcbw@redhat.com>
13703 * src/backends/NetworkManagerGentoo.c
13704 - (nm_system_device_get_disabled): add missing function.
13707 2006-01-27 Clytie Siddall <clytie@riverland.net.au>
13709 * configure.in: Added vi in ALL_LINGUAS line.
13711 2006-01-26 Robert Love <rml@novell.com>
13713 * src/Makefile.am, src/kernel-types.h: Now that two different source
13714 files are feeling the crack-addled leakage of kernel types such as
13715 u32 and s8 -- superior to __u64 and __u8, to be sure, but not valid
13716 types in user-space -- define a header and include it as needed.
13717 * src/nm-device-802-3-ethernet.c: Include kernel-types.h
13718 * src/nm-device-802-3-ethernet.h: Remove defines.
13719 * src/wpa.c: Remove defines and include kernel-types.h.
13721 2006-01-26 Robert Love <rml@novell.com>
13723 * TODO: Update. WPA support is in the bag and HAL restarts (should)
13726 2006-01-26 Robert Love <rml@novell.com>
13728 * configure.in: Change '-Wno-unused' to '-Wno-unused-parameter'
13729 * gnome/applet/applet-compat.c, gnome/applet/applet-dbus-devices.c,
13730 gnome/applet/applet-dbus-info.c, gnome/applet/applet-dbus.c,
13731 gnome/applet/applet.c, gnome/applet/applet.h, src/nm-dbus-device.c,
13732 gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
13733 gnome/applet/nm-gconf-wso.c, gnome/applet/nm-gconf-wso.h,
13734 gnome/applet/other-network-dialog.c, src/nm-device.c, test/nm-tool.c,
13735 gnome/applet/passphrase-dialog.c, src/nm-device-802-11-wireless.c,
13736 gnome/applet/wireless-security-manager.c, src/nm-ip4-config.c,
13737 gnome/applet/wireless-security-option.c, src/nm-ap-security.c,
13738 gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
13739 gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-psk.c,
13740 libnm-util/dbus-helpers.c, src/NetworkManagerAP.c, src/nm-dbus-nmi.c,
13741 src/NetworkManagerSystem.c, src/nm-ap-security-wep.c,
13742 src/nm-device-802-11-wireless.h, test/libnm-util/test-ciphers.c,
13743 src/named-manager/nm-named-manager.c, test/test-common/test-common.c:
13744 Kill unused variables, labels, and static functions. Don't pass
13745 string literals as the format string for printf-like functions.
13747 2006-01-25 Dan Williams <dcbw@redhat.com>
13749 * gnome/applet/wireless-applet.glade
13750 - Remove WPA2 Checkbox
13752 * gnome/applet/wireless-security-manager.c
13753 - (wsm_set_capabilities): split up sections for wpa and wpa2.
13754 This means the Wireless Security menu now has two WPA options,
13755 one for "WPA Personal" and one for "WPA2 Personal"
13757 * gnome/applet/wso-wpa-psk.[ch]
13758 - (wso_wpa_psk_new): remove stuff for WPA2 checkbox, and use
13759 'wpa2' argument to determine WPA version to use
13760 - (append_dbus_params_func): pass stored WPA version to cipher
13761 rather than using the (removed) checkbox
13763 2006-01-24 Robert Love <rml@novell.com>
13765 * src/dhcp-manager/nm-dhcp-manager.c: Null-out the original byte array
13766 before we g_strdup(), not the ultimate string.
13768 2006-01-23 Dan Williams <dcbw@redhat.com>
13770 * src/NetworkManagerAP.[ch]
13771 - (nm_ap_new_from_ap): copy original essid too
13772 - (nm_ap_unref): free original essid
13773 - (nm_ap_get_orig_essid): new function
13774 - (nm_ap_set_essid): Convert essid to UTF-8 for display and dbus,
13775 but keep original essid around too
13777 * src/nm-device-802-11-wireless.c
13778 - (supplicant_send_network_config): send wpa_supplicant the
13779 _original_ essid, and not as a string, but in hex. Should
13780 allow us to connect to more APs that use wierd character
13781 encodings for their essids
13783 * utils/nm-utils.[ch]
13784 - (nm_utils_essid_to_utf8): make a best-effort to convert the essid
13785 to UTF-8. If it's not already valid UTF-8, we check LANG and
13786 use the current locale as a hint for what encoding the essid
13787 might be in. Obviously not 100% accurate, but the idea here is
13788 that if a user's locale is ex. ja_JP, they are more likely than
13789 not to be in Japan, where access points will likely be in some
13792 2006-01-23 Dan Williams <dcbw@redhat.com>
13794 * libnm-util/cipher-private.h
13795 libnm-util/cipher.c
13796 libnm-util/cipher.h
13797 - (cipher_bin2hexstr, cipher_hexstr2bin): make public
13799 2006-01-23 Robert Love <rml@novell.com>
13801 Patch by Timo Hoenig <thoenig@suse.de>:
13802 * dhcp-manager/nm-dhcp-manager.c, nm-device.c, nm-ip4-config.c,
13803 nm-ip4-config.h, NetworkManagerSystem.h: Save the hostname reported
13804 by DHCP and pass it to the backends, allowing distribution-specific
13805 behavior with respect to the DHCP-supplied hostname (if nothing else,
13806 some distributions might not want to set the hostname).
13807 * backends/NetworkManagerSuSE.c: Set the hostname if the variable
13808 DHCLIENT_SET_HOSTNAME is set to "yes" in /etc/sysconfig/network/dhcp.
13809 Also update our NIS behavior.
13810 * backends/NetworkManagerDebian.c, backends/NetworkManagerGentoo.c,
13811 backends/NetworkManagerRedHat.c, backends/NetworkManagerSlackware.c:
13812 Add stub functions.
13814 2006-01-23 Robert Love <rml@novell.com>
13816 * Makefile.am, nm-applet.desktop: Add autostart .desktop file, now that
13817 gnome-session does autostart. TODO: We need to install this to
13818 $prefix/share/autostart/.
13820 2006-01-22 Dan Williams <dcbw@redhat.com>
13822 * src/NetworkManagerAP.[ch]
13824 src/nm-device-802-11-wireless.c
13825 - Make nm_ap_get_essid return "const char *"
13827 2006-01-22 Dan Williams <dcbw@redhat.com>
13829 * src/NetworkManagerAP.[ch]
13830 - (nm_ap_get_matched, nm_ap_set_matched): remove
13832 * src/NetworkManagerAPList.[ch]
13833 - (nm_ap_list_diff): removed
13834 - (nm_ap_list_merge_scanned_ap): move AP dbus signal logic here,
13835 deal with access points changing essids on us
13837 * src/nm-device-802-11-wireless.c
13838 - (add_new_ap_to_device_list): move AP dbus signal logic to
13839 src/NetworkManagerAPList.c
13840 - (real_can_interrupt_activation): new function; allow interruption
13841 of device activation if we are waiting for a network key
13843 * src/NetworkManagerPolicy.c
13844 - (nm_policy_device_change_check): allow interruption of currently
13845 activating devices if the device allows it. Previous behavior
13846 would refuse to activate a just-plugged wired device if a
13847 wireless device was waiting for a key.
13849 * src/nm-device.[ch]
13850 - (nm_device_can_interrupt_activation): new function; ask devices
13851 whether their activation can be interrupted
13853 2006-01-20 Robert Love <rml@novell.com>
13855 * Makefile.am, configure.in: Add new man subdirectory.
13856 * man, man/NetworkManager.1.in, man/NetworkManagerDispatcher.1.in,
13857 man/Makefile.am: Add man pages for NetworkManager and its
13858 crime-solving bumbling buddy, NetworkManagerDispatcher.
13859 * man/.cvsignore: Add.
13860 * initscript/Debian/NetworkManager,
13861 initscript/Gentoo/NetworkManager.in,
13862 initscript/RedHat/NetworkManager.in,
13863 initscript/RedHat/NetworkManagerDispatcher.in,
13864 initscript/SUSE/networkmanager-dispatcher.in,
13865 initscript/SUSE/networkmanager.in: Update for /usr/sbin not /usr/bin.
13867 2006-01-20 Robert Love <rml@novell.com>
13869 * src/NetworkManagerDbus.c: Fail if NM's DBUS service is already taken,
13870 instead of queuing. This prevents the running of multiple NM
13871 daemons concurrently, which does not work whatsoever and results in
13872 neither daemon working correctly. Also, we don't handle queuing and
13873 name-owner-changes, anyhow.
13875 2006-01-20 Robert Love <rml@novell.com>
13877 * src/Makefile.am: Install the NetworkManager daemon to sbin, not bin.
13878 * dispatcher/Makefile.am: Install the NetworkManagerDispatcher daemon
13881 2006-01-19 Robert Love <rml@novell.com>
13883 * configure.in: Require hal 0.5.0 or later.
13885 2006-01-18 Robert Love <rml@novell.com>
13887 * src/NetworkManager.c, src/NetworkManagerSystem.h, src/nm-device.c:
13888 Allow backends to flag a device (in whatever distro-dependent way
13889 they so desire) as disabled. NM will ignore any such device.
13890 * src/backends/NetworkManagerDebian.c,
13891 src/backends/NetworkManagerRedHat.c,
13892 src/backends/NetworkManagerSlackware.c: Add stub function
13893 nm_system_device_get_disabled() that always returns FALSE (enabled).
13894 * src/backends/NetworkManagerSuSE.c: Add system_disabled field to the
13895 SUSE-specific configuration structure. Fill it in from the
13896 NM_CONTROLLED variable in the system networking scripts. If this var
13897 exists and is "no", we ignore the device.
13899 2006-01-17 Robert Love <rml@novell.com>
13901 * configure.in: Remove 'no' language. Replaced by 'nb', which is
13902 identical for NM. For a full discussion, see the thread at
13903 http://mail.gnome.org/archives/gnome-i18n/2004-August/msg00006.html.
13905 2006-01-17 Dan Williams <dcbw@redhat.com>
13908 - (nm_device_class_init): connect a default act_stage4_ip_config_timeout
13909 function. Fixes crash when wired DHCP fails.
13911 2006-01-16 Robert Love <rml@novell.com>
13913 * src/Makefile.am: Don't install NMLoadModules
13914 * src/NMLoadModules, test/NMLoadModules: Move the NMLoadModules script
13915 from src/ to test/ as no one uses it anymore. Note that I would be
13916 fine with removing it altogether.
13918 2006-01-16 Robert Love <rml@novell.com>
13920 * gnome/applet/eggtrayicon.c, src/nm-device.c, src/nm-ap-security.c,
13921 gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
13922 gnome/applet/nm-gconf-wso.c, src/nm-device-802-3-ethernet.c,
13923 gnome/vpn-properties/nm-vpn-properties.c, src/nm-ap-security-wep.c,
13924 src/nm-ap-security-wpa-psk.c, src/nm-device-802-11-wireless.c,
13925 src/nm-netlink-monitor.c: Don't miss any initializers on structure
13926 declarations, ever.
13927 * gnome/applet/applet.c: Remove useless check (NMState is unsigned and
13928 NM_STATE_DISCONNECTED is zero).
13930 2006-01-16 Robert Love <rml@novell.com>
13932 * src/nm-device-802-11-wireless.c: argv[3], not argv[4]. Fix
13933 uninitialized parameter and buffer overflow. Novell #143496.
13935 2006-01-16 Dan Williams <dcbw@redhat.com>
13937 Apply the PtP Address bits of a patch from Tim Niemueller
13939 * src/nm-ip4-config.[ch]
13940 - Add ip4_ptp_address member to object
13941 - (nm_ip4_config_copy): copy ptp address too
13942 - (nm_ip4_config_get_ptp_address, nm_ip4_config_set_ptp_address):
13944 - (nm_ip4_config_to_rtnl_addr): use ptp address when asked to,
13945 rather than local tunnel ip address
13947 * src/vpn-manager/nm-vpn-service.c
13948 - (print_vpn_config): update for PtP address
13949 - (nm_vpn_service_stage4_ip_config_get): switch parsing to
13950 DBusMessageIters in preparation for getting routes from the VPN
13951 service daemons too
13953 * vpn-daemons/openvpn/src/nm-openvpn-service-openvpn-helper.c
13954 - (send_config_info): update for PtP address, clean up code
13955 - (main): update for PtP address, clean up code, fix typo
13957 * vpn-daemons/openvpn/src/nm-openvpn-service.c
13958 - (nm_openvpn_dbus_process_helper_ip4_config): update for PtP address
13960 * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
13961 - (pptp_ip_up): update for PtP address
13963 * vpn-daemons/pptp/src/nm-pptp-service.c
13964 - (nm_pptp_dbus_process_helper_ip4_config): update for PtP address
13966 * vpn-daemons/vpnc/src/nm-vpnc-service.c
13967 - (print_vpn_config): update for PtP address
13968 - (nm_vpnc_dbus_process_helper_ip4_config): update for PtP address
13970 2006-01-16 Dan Williams <dcbw@redhat.com>
13972 * gnome/applet/applet.c
13973 - (nmwa_add_networks_helper): don't indicate an active network
13974 if NM is disconnected or asleep
13976 2006-01-16 Dan Williams <dcbw@redhat.com>
13978 * src/NetworkManagerPolicy.c
13979 - (nm_policy_device_change_check): switch devices if we lose the link
13980 on an ethernet device.
13982 2006-01-16 Dan Williams <dcbw@redhat.com>
13984 * gnome/applet/wso-wpa-psk-hex.[ch]
13985 - Renamed -> wso-wpa-psk.[ch]
13987 * gnome/applet/wso-wpa-psk.[ch]
13990 * gnome/applet/wso-wpa-psk-passphrase.[ch]
13991 - Removed, rolled into wso-wpa-psk.[ch]
13993 * gnome/applet/Makefile.am
13994 - Updated for above changes
13996 * gnome/applet/wireless-applet.glade
13997 - Consolidate WPA-PSK options into one notebook
13998 widget, and make dialogs invisible by default
13999 to fix screen oddities
14001 * gnome/applet/wireless-security-manager.c
14002 - (wsm_set_capabilities): create the new wpa-psk widget rather
14003 than both the old hex & passphrase ones
14005 2006-01-16 Dan Williams <dcbw@redhat.com>
14007 * gnome/applet/other-network-dialog.c
14008 - (nmwa_ond_init): Change text to refer to "name" rather than "ESSID"
14010 2006-01-16 Dan Williams <dcbw@redhat.com>
14012 * gnome/applet/applet.c
14013 - (nmwa_show_vpn_login_banner_dialog, nmwa_show_vpn_failure_dialog,
14014 nmwa_driver_notify, show_warning_dialog): fix up focus-stealing
14015 prevention to realize window before trying to get server
14018 * gnome/applet/other-network-dialog.c
14019 - (nmwa_other_network_dialog_run): fix up focus-stealing
14020 prevention to realize window before trying to get server
14023 * gnome/applet/passphrase-dialog.c
14024 - (nmi_passphrase_dialog_new): fix up focus-stealing
14025 prevention to realize window before trying to get server
14028 2006-01-16 Robert Love <rml@novell.com>
14030 Patch from Timo Hoenig <thoenig@suse.de:
14031 * libnm-util/cipher-wep-ascii.h, libnm-util/cipher-wep-hex.h,
14032 libnm-util/cipher-wep-passphrase.h, libnm-util/cipher-wpa-psk-hex.h,
14033 libnm-util/cipher-wpa-psk-passphrase.h, libnm-util/cipher.h,
14034 libnm-util/dbus-helpers.h: add checks whether headers are used
14035 within a C++ build.
14037 2006-01-16 Dan Williams <dcbw@redhat.com>
14039 * gnome/applet/wireless-security-option.c
14040 - (wso_wpa_create_key_type_model): clarify AES-CCMP algorithm name
14042 2006-01-16 Dan Williams <dcbw@redhat.com>
14044 * libnm-util/cipher-wpa-psk-passphrase.c
14045 - (cipher_wpa_psk_passphrase_new): correct passphrase length, should
14046 be 8 - 63 characters inclusive
14048 2006-01-16 Dan Williams <dcbw@redhat.com>
14051 - (nm_dbus_nm_sleep): bring device down after quick deactivation
14053 2006-01-13 Robert Love <rml@novell.com>
14055 Patch by T Sureshkumar <tsureshkuman@novell.com>:
14056 * src/NetworkManagerSystem.c: Don't assert iface != NULL, allowing VPN
14057 modules that do not use an interface.
14059 2006-01-13 Dan Williams <dcbw@redhat.com>
14063 - Allow subclasses to implement deactivate_quickly()
14064 - (nm_device_deactivate_quickly): call subclass
14065 deactivate_quickly() methods
14066 - (nm_device_set_active_link): small cleanups, and don't
14067 deactivate the device right away because we risk a deadlock
14068 when called from device thread, waiting for the device
14069 thread to cancel activation
14071 * src/nm-device-802-11-wireless.c
14072 - (real_deactivate_quickly): new function
14073 - (nm_device_802_11_wireless_class_init): hook in real_deactivate_quickly
14074 - (real_deactivate): move supplicant cleanup to real_deactivate_quickly
14075 so that we kill the supplicant when we sleep too
14076 - (supplicant_interface_init): work around naive naming attempts of
14077 wpa_ctrl when naming sockets
14079 2006-01-13 Dan Williams <dcbw@redhat.com>
14081 * src/nm-device-802-11-wireless.c
14082 - (supplicant_cleanup): delete old device control sockets too
14083 - (supplicant_get_device_socket_path): new function to consolidate
14084 locations that need a path to a device's control socket
14086 2006-01-12 Robert Love <rml@novell.com>
14088 * src/backends/NetworkManagerSuSE.c: Put the ppp device in the
14089 description so that the description is unique for each
14090 pair (device,provider). Fixes Novell #142773.
14092 2006-01-12 Dan Williams <dcbw@redhat.com>
14094 * src/nm-device-802-11-wireless.c
14095 - (supplicant_exec): ensure GError is correctly initialized
14096 Reported by Diego González (gnome.org #326708)
14098 2006-01-11 Robert Love <rml@novell.com>
14100 * src/nm-device-802-3-ethernet.c: In case local copies of glibc do not
14101 define if_mii(), open code the same results, and do so without any
14104 2006-01-11 Robert Love <rml@novell.com>
14106 * gnome/applet/wireless-security-manager.c: Fix crash by not asserting
14107 that wso_foo_new() returned non-NULL. Instead, only append the new
14108 wso to wsm->options if the wso is non-NULL. The crux is that we
14109 assume that the relevant key types are implied by WEP and WPA as
14110 appropriate. To be sure, they should be, but we should not expect
14111 drivers to not be oozing piles of wolf fecal matter.
14113 2006-01-11 Robert Love <rml@novell.com>
14115 * configure.in: Add the gcc flags '-Wshadow' and '-Wfloat-equal'.
14116 * gnome/applet/applet.c, gnome/vpn-properties/nm-vpn-properties.c,
14117 src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
14118 src/NetworkManagerPolicy.c, src/NetworkManagerSystem.c,
14119 src/nm-dbus-device.c, src/nm-device-802-3-ethernet.c,
14120 src/nm-ip4-config.c, src/vpn-manager/nm-vpn-manager.c,
14121 test/nmtestdevices.c: Fix shadowed variable usage as appropriate.
14122 * src/nm-device-802-11-wireless.c: Fix floating point comparison by
14123 comparing values within DBL_EPSILON. Also fix shadowed variable
14126 2006-01-11 Dan Williams <dcbw@redhat.com>
14128 Add options for WPA2 and WPA1+CCMP (AES).
14130 * gnome/applet/wireless-applet.glade
14131 - Add UI bits for WPA+CCMP
14133 * gnome/applet/other-network-dialog.c
14134 - (nmwa_ond_init): pass capabilities into the WirelessSecurityManager,
14135 and don't allow creation of WPA2 Ad-Hoc networks since
14136 wpa_supplicant doesn't support them
14138 * gnome/applet/wireless-security-manager.c
14139 - (wsm_set_capabilities): Add WPA2 options, and pass capability
14140 on to the specific wireless security option being created
14142 * gnome/applet/wireless-security-option.[ch]
14143 - (wso_wpa_create_key_type_model): new utility function to create
14144 the model required for WPA Key Type combo box
14146 * gnome/applet/wso-private.h
14147 gnome/applet/wireless-security-option.h
14148 - Move private function prototypes into wso-private.h
14150 * gnome/applet/wso-wpa-psk-hex.[ch]
14151 gnome/applet/wso-wpa-psk-passphrase.[ch]
14152 - (append_dbus_params_func): get WPA version from checkbox and pass
14153 it to the dbus serialization helper
14154 - (key_type_combo_changed_cb): Set the cipher's WE Cipher when the
14155 key type combo changes
14156 - (wso_wpa_psk_hex_new): set up the key type combo with the correct
14159 * libnm-util/cipher-wpa-psk-hex.c
14160 libnm-util/cipher-wpa-psk-passphrase.c
14161 - (cipher_wpa_psk_hex_set_we_cipher, cipher_wpa_psk_passphrase_set_we_cipher):
14162 new function; allow the cipher to be changed after object creation
14164 * src/nm-ap-security-wpa-psk.c
14165 - (set_description): Do WPA2 descriptions too
14167 * src/nm-ap-security.c
14168 - (nm_ap_security_new_from_ap): allow CCMP with WPA1 too
14170 2006-01-11 Robert Love <rml@novell.com>
14172 * src/nm-device-802-3-ethernet.c: Use the if_mii() inline function that
14173 is defined in <linux/mii.h> to return the mii_ioctl_data structure
14174 from the ifreq structure in lieu of an open coded solution. Removes
14175 a life-threatening type-punning.
14176 * configure.in: Remove '-Wno-strict-aliasing' as we no longer pun any
14177 types, ever, whatsoever, baby.
14179 2006-01-11 Robert Love <rml@novell.com>
14181 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.c,
14182 gnome/applet/applet.c, gnome/applet/applet.h: Consolidating
14183 assignments to applet->nm_state into a new nmwa_set_state() function
14184 for both cleanliness and to help debugging.
14186 2006-01-10 Robert Love <rml@novell.com>
14188 * src/autoip.c: Fix FIXME. In performing the link-local zeroconf IP
14189 assignment dance, we want to sleep between PROBE_MIN and PROBE_MAX
14190 seconds, exclusive. That is, we want to sleep x seconds such that
14193 2006-01-10 Robert Love <rml@novell.com>
14195 * gnome/applet/applet-dbus-info.c: Remove FIXME, we do not have to free
14196 the attr fields according to the example in the email available at
14197 mail.gnome.org/archives/desktop-devel-list/2004-May/msg00230.html.
14198 Conversely, we do have to free 'name', so we do so, fixing a leak.
14200 2006-01-10 Robert Love <rml@novell.com>
14202 * src/nm-device-802-11-wireless.c, src/nm-device-802-3-ethernet.c: Make
14203 sure that we close the socket!
14205 2006-01-10 Robert Love <rml@novell.com>
14207 * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h,
14208 src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h,
14209 src/nm-device.c: Fix a FIXME! Reimplement the function
14210 nm_device_update_hw_address() in device subclass variants,
14211 nm_device_802_3_ethernet_set_address() and
14212 nm_device_802_11_wireless_set_address(), hook them up, and use them.
14213 This fixes the existing bug where MAC addresses are all zeros.
14215 2006-01-10 Robert Love <rml@novell.com>
14217 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.h,
14218 gnome/applet/applet.c, gnome/applet/applet.h: Add 'Enable Networking'
14219 option to give users ability to globally disconnect and put NM to
14220 sleep. This is useful as a 'lockdown mode' for flying, security, and
14223 2006-01-09 Robert Love <rml@novell.com>
14225 * src/nm-device-802-3-ethernet.h: The kernel headers <linux/mii.h> and
14226 <linux/ethtool.h> leak the kernel-only types u16, u32, et al.
14227 User-space does not supply these types, so we have to define them
14228 ourselves. The relevant kernel maintainer refused to accept a patch
14229 switching these headers to the proper C99 types.
14231 2006-01-09 Dan Williams <dcbw@redhat.com>
14233 Apply Robert's 'tray icon redo' patch with fixes
14234 * gnome/applet/applet.c
14235 gnome/applet/applet.h
14236 - Instead of using a menu bar + menu item, simulate menu
14237 behavior using a popup menu. Highlight the area around
14238 the icon more like a menu too, by playing with the
14239 applet's size requisition
14241 2006-01-09 Timo Hoenig <thoenig@suse.de>
14242 * libnm-util/dbus-helpers.c
14243 libnm-util/dbus-helpers.h
14244 - (nmu_create_dbus_error_message): rename parameter 'namespace'
14245 to 'exception_namespace' (:namespace is a keyword in
14248 2006-01-09 Dan Williams <dcbw@redhat.com>
14250 * src/NetworkManagerPolicy.c
14251 - (nm_policy_device_change_check): don't autoswitch away from
14252 Ad-Hoc networks, since there's really no concept of
14256 - (nm_dbus_nm_create_wireless_network): mark created networks
14259 * src/nm-device-802-11-wireless.c
14260 - (real_activation_success_handler): add user-created Ad-Hoc
14261 networks to the device's scan list
14263 2006-01-08 Dan Williams <dcbw@redhat.com>
14265 We now require a patch for wpa_supplicant to support Ad-Hoc
14267 http://people.redhat.com/dcbw/wpa_supplicant-ctrl-iface-ap-scan.patch
14269 * src/nm-device-802-11-wireless.c
14270 - (supplicant_send_network_config): turn off wpa_supplicant's
14271 scanning. Fixes Ad-Hoc networks.
14273 2006-01-08 Dan Williams <dcbw@redhat.com>
14275 * src/nm-ap-security.c
14276 src/nm-ap-security.h
14277 - Add a user_created argument to the write_supplicant_config
14280 * src/nm-ap-security-wep.c
14281 src/nm-ap-security-wpa-psk.c
14282 src/nm-device-802-11-wireless.c
14283 - Make Ad-Hoc mode somewhat work, at least write the
14284 correct options to wpa_supplicant
14286 2006-01-08 Dan Williams <dcbw@redhat.com>
14288 * src/nm-device-802-11-wireless.c
14289 - Remove unused code from the old device activation path
14291 2006-01-08 Dan Williams <dcbw@redhat.com>
14293 * libnm-util/dbus-helpers.c
14294 - (nmu_security_serialize_wpa_psk): pass a blank key through
14295 dbus when key == NULL
14297 2006-01-08 Dan Williams <dcbw@redhat.com>
14299 * gnome/applet/nm-gconf-wso-wpa-psk.c
14300 - (nm_gconf_wso_wpa_psk_new_deserialize_dbus): feed
14301 correct arguments to nmu_security_deserialize_wpa_psk()
14303 * src/nm-ap-security-wpa-psk.c
14304 - (nm_ap_security_wpa_psk_new_deserialize): feed correct
14305 arguments to nmu_security_deserialize_wpa_psk()
14307 2006-01-08 Dan Williams <dcbw@redhat.com>
14309 * gnome/applet/wso-wpa-psk-hex.c
14310 gnome/applet/wso-wpa-psk-passphrase.c
14311 - Hook up the append_dbus_params_func() function
14313 2006-01-08 Dan Williams <dcbw@redhat.com>
14315 * src/nm-device-802-11-wireless.c
14316 - (get_wireless_capabilities): correctly detect driver WPA
14319 2006-01-08 Dan Williams <dcbw@redhat.com>
14321 * gnome/applet/Makefile.am
14322 gnome/applet/wso-wpa-psk-hex.c
14323 gnome/applet/wso-wpa-psk-hex.h
14324 - New files, implement WPA-PSK Hex key input
14326 * gnome/applet/wireless-applet.glade
14327 - Change existing wpa-psk stuff to wpa-psk-hex
14328 - Add new widgets for wpa-psk-passphrase
14330 * gnome/applet/wireless-security-manager.c
14331 - (wsm_set_capabilities): enable WPA options
14333 * gnome/applet/wso-wpa-psk-passphrase.c
14334 - (wso_wpa_psk_passphrase_new): use correct glade widgets
14335 for WPA-PSK passphrase
14337 2006-01-08 Dan Williams <dcbw@redhat.com>
14339 * include/NetworkManager.h
14340 - Add NMI_DBUS_USER_KEY_CANCELED_ERROR as a constant for
14341 applet/info-daemons
14343 * gnome/applet/passphrase-dialog.c
14344 - Use the constant. Fixes a bug where the arguments to
14345 dbus_message_new_error() were incorrect
14347 * src/nm-dbus-nmi.c
14350 2006-01-07 Dan Williams <dcbw@redhat.com>
14352 * src/nm-device-802-11-wireless.c
14353 - Add a link timeout so we allow the supplicant time to
14354 reassociate if it can, before we deactivate the card
14355 - Fix up link status and link updating so things work better
14357 2006-01-07 Dan Williams <dcbw@redhat.com>
14359 * src/nm-device-802-11-wireless.c
14360 - Switch over to using wpa_supplicant
14361 - Add a timeout of 10s for association of the supplicant
14362 - Start the monitor callback of the supplicant
14364 2006-01-07 Dan Williams <dcbw@redhat.com>
14366 * src/NetworkManagerUtils.c
14367 - (nm_utils_supplicant_request,
14368 nm_utils_supplicant_request_with_check):
14369 pass correct buffer length to wpa_ctrl_request()
14371 2006-01-07 Dan Williams <dcbw@redhat.com>
14373 * src/nm-device-private.h
14375 - (nm_device_activate_schedule_stage3_ip_config_start): make
14376 this function available to subclasses
14378 2006-01-06 Robert Love <rml@novell.com>
14380 * src/NetworkManagerPolicy.c: Always prefer wired to wireless, as the
14381 user plugging in a network cable signals their preference for to
14382 switch, unless the user explicitly selected a wireless network and
14383 therefore signaled their preference for said wireless network over
14384 wired. In other words, do exactly what makes sense.
14386 2006-01-06 Robert Love <rml@novell.com>
14388 * src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
14389 src/NetworkManagerDevicePrivate.h, src/NetworkManagerWireless.c,
14390 src/NetworkManagerWireless.h: Remove, no longer used and they keep
14391 showing up in my greps.
14393 2006-01-06 Robert Love <rml@novell.com>
14395 * gnome/applet/applet-dbus-devices.c,
14396 gnome/applet/other-network-dialog.c, gnome/applet/wso-none.c,
14397 libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h,
14398 src/nm-dbus-nm.c: Fix several issues. 'Connect to Other' and 'Create
14399 New Network' both failed in the non-encrypted case because we were
14400 not appending the security options to the DBUS message. And
14401 'Connect to Other' was also failing in the encrypted case because
14402 we were not incrementing to the next DBUS parameter. All fixed.
14403 Thanks to dcdw for some debugging help.
14405 2006-01-06 Robert Love <rml@novell.com>
14407 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
14408 gnome/applet/applet-dbus-devices.h, src/nm-dbus-nm.c: Remove global
14409 hangup code and add per-device hangup. Tie last commit into the
14410 GNOME applet. TODO: Save, understand, and respond to the state of
14411 each dialup device.
14413 2006-01-06 Robert Love <rml@novell.com>
14415 Patch by Timo Hoenig <thoenig@suse.de>:
14416 * src/NetworkManagerSystem.h, src/nm-dbus-nm.c: Add interfaces to
14417 hangup specific dialup devices.
14418 * src/backends/NetworkManagerDebian.c,
14419 src/backends/NetworkManagerGentoo.c,
14420 src/backends/NetworkManagerRedHat.c,
14421 src/backends/NetworkManagerSlackware.c: Add stub backend.
14422 * src/backends/NetworkManagerRedHat.c,
14423 src/backends/NetworkManagerSuSE.c: Add specific backend interface to
14424 hangup specific dialup devices.
14426 2006-01-04 Robert Love <rml@novell.com>
14428 * gnome/applet/applet-dbus-devices.c,
14429 gnome/applet/applet-dbus-devices.h, gnome/applet/applet.c,
14430 src/nm-dbus-nm.c: Expose a menu item for hanging up active dialup
14433 2006-01-04 Dan Williams <dcbw@redhat.com>
14435 First dump of wpa_supplicant-related code. It's not hooked up to
14436 anything yet though. Thanks to Kay Sievers for
14437 wpa_supplicant_wrapper.c, which formed the basis for this work,
14438 and to Jouni Malinen for writing wpa_ctrl.c and wpa_ctrl.h.
14442 - Add wpa_ctrl stuff from wpa_supplicant so we can talk to it
14444 * src/NetworkManagerUtils.[ch]
14445 - (nm_utils_supplicant_request, nm_utils_supplicant_request_with_check):
14446 Add convenience functions for talking to wpa_supplicant
14448 * src/nm-ap-security.[ch]
14449 src/nm-ap-security-wep.c
14450 src/nm-ap-security-wpa-psk.[ch]
14451 - Update and implement real_write_supplicant_config functions
14452 in all security types
14453 - (nm_ap_security_wpa_psk_new_from_ap): implement in
14454 nm-ap-security-wpa-psk.c
14456 * src/nm-device-802-11-wireless.c
14457 - (supplicant_cleanup, supplicant_watch_cb, supplicant_monitor_status_cb,
14458 wpa_supplicant_start, wpa_supplicant_interface_init,
14459 wpa_supplicant_send_network_config): add functions to talk to
14460 wpa_supplicant and write network config to it
14462 2006-01-04 Robert Love <rml@novell.com>
14464 * src/NetworkManagerDialup.h: add 'type' field and NM_DIALUP_TYPE
14465 values so that distribution-backends can differentiate between the
14466 various types (modem, ISDN, et cetera) of dialup device that they
14468 * src/backends/NetworkManagerSuSE.c: perform isdnctrl on interface, as
14471 2006-01-03 Dan Williams <dcbw@redhat.com>
14473 * src/NetworkManagerPolicy.c
14475 src/nm-device-802-11-wireless.c
14476 - Move wireless-specific activation failure and success code
14477 into wireless device class
14479 2006-01-03 Robert Love <rml@novell.com>
14481 Patch by Preggna S:
14482 * src/NetworkManagerSystem.c, src/vpn-manager/nm-vpn-connection.c:
14483 IPsec does not require that a VPN client be bound to an interface,
14484 due to the use of the in-kernel IPSec bits. So make the tunnel
14487 2006-01-03 Dan Williams <dcbw@redhat.com>
14489 * src/NetworkManagerAP.c
14490 - (nm_ap_add_capabilities_from_ie): presume no WEP unless
14491 the WPA IE specifies that WEP is supported
14493 * src/nm-device-802-11-wireless.c
14494 - (process_scan_results): don't mark an AP as supporting WEP
14495 if there's already other encryption capability info
14497 2006-01-03 Dan Williams <dcbw@redhat.com>
14499 * src/dhcp-manager/nm-dhcp-manager.c
14500 - Recognize activation cancellation when waiting for DHCP
14501 configuration from dhcdbd
14502 - Ignore non-dhcdbd messages
14505 - (real_act_stage3_ip_config_start): return to correct behavior
14506 of letting the dhcp-manager notify us of failure or
14507 success rather than incorrectly doing that ourselves
14508 - (nm_device_activate_stage4_ip_config_get): deal with
14509 activation cancellation a bit earlier
14511 2006-01-03 Dan Williams <dcbw@redhat.com>
14513 * src/nm-device-802-11-wireless.c
14515 - Add hooks to subclasses for stage3_ip_config_start and
14516 stage4_ip_config_timeout
14518 * src/nm-device-802-3-ethernet.c
14519 - (real_get_generic_capabilities): make devices NM-supported
14522 2006-01-03 Robert Love <rml@novell.com>
14524 * src/backends/NetworkManagerSuSE.c: update to newer API (no more
14525 nm_device_get_hw_address); use inet_aton in lieu of inet_addr as the
14526 latter cannot differentiate between error and the address -1; misc.
14529 2006-01-03 Dan Williams <dcbw@redhat.com>
14531 * src/NetworkManager.c
14532 - Move link-checking/probing into the device subclasses
14535 * src/nm-device.[ch]
14536 src/nm-device-802-11-wireless.c
14537 src/nm-device-802-3-ethernet.c
14538 - Do periodic link checking in device subclasses rather
14539 than being triggered from NetworkManager.c
14540 - discover_wireless_capabilities -> get_wireless_capabilities
14541 - discover_generic_capabilities -> get_generic_capabilities
14542 - Device subclass activation routines now return a value of type
14543 NMActStageReturn to indicate what step to perform next
14544 - Devices now override stage4_get_ip4_config if they choose
14546 2006-01-01 Dan Williams <dcbw@redhat.com>
14548 * src/nm-device-802-11-wireless.c
14549 - (real_init): don't chain up to parent init because we don't
14550 need to do that anymore
14553 - (discover_device_type): fix arguments to ioctl() to correctly
14554 pass interface name
14555 - (nm_device_new): consolidate generic device initialization into
14557 - (real_init): remove, consolidated to nm_device_new()
14558 - (nm_device_deactivate, real_deactivate): consolidate
14560 2006-01-01 Dan Williams <dcbw@redhat.com>
14562 * src/nm-activation-request.c
14563 - Change dhcp_state member of the NMActRequest structure
14564 from guint8 to guint32
14566 * src/dhcp-manager/nm-dhcp-manager.[ch]
14567 - (nm_dhcp_manager_get_state_for_device): return guint32 rather
14568 than guint8 to match the dbus argument. Turns out we were
14569 overwriting memory since we were passing in only a guint8
14571 2005-12-31 Dan Williams <dcbw@redhat.com>
14573 * refactor NMDevice into a GObject-based framework with separate
14574 objects for wired and wireless. The following files are no
14575 longer used but should stick around for a bit so we don't
14576 loose code through the cracks:
14577 NetworkManagerDevice.c
14578 NetworkManagerDevice.h
14579 NetworkManagerWireless.c
14580 NetworkManagerWireless.h
14582 The intent here is to allow each device type to manage its own
14583 connection & activation life-cycle, ie to allow wireless devices
14584 to interface with wpa_supplicant, etc. There's a fair bit of
14585 encapsulation breakage right now that should gradually get pulled
14586 back into each device, along with things like periodic property
14587 updates and link probing.
14589 2005-12-29 Dan Williams <dcbw@redhat.com>
14591 * include/NetworkManager.h
14592 - Add NM_802_11_CAP_PROTO_NONE since we need to recognize
14593 between networks that don't have any encryption at all
14595 2005-12-29 Dan Williams <dcbw@redhat.com>
14597 * test/test-common.c
14600 - Move to a test-common subdirectory
14602 * test/libnm-util/test-ciphers.c
14603 - Move test data to test-inputs.h
14604 - Test WPA ciphers too
14606 * test/libnm-util/test-dbus-helpers.c
14607 - Test serialization/deserialization of ciphers
14609 2005-12-29 Dan Williams <dcbw@redhat.com>
14611 * gnome/applet/applet-dbus-devices.c
14612 - Replace 'enc' parameter with 'capabilities' for wireless networks
14613 in dbus calls to NM
14614 - Set capabilities on WirelessNetwork objects
14615 - Receive and save type-specific device capabilities too
14617 * gnome/applet/applet-dbus-info.c
14618 gnome/applet/applet-dbus.c
14619 - Passphrase dialog no longer a singleton; new instance gets created
14620 on each request. Updates to deal with that.
14622 * gnome/applet/applet.c
14623 - (nmwa_has_encrypted_networks_helper): use AP capabilities rather
14624 than single 'encrypted' flag
14625 - (nmwa_menu_add_vpn_menu): if NM isn't connected, disable any VPN
14627 - Passphrase dialog updates per above
14629 * gnome/applet/menu-items.c
14630 - (network_menu_item_update): use AP capabilities to determine
14633 * gnome/applet/nm-device.[ch]
14634 - Add accessors for type-specific device capabilities
14636 * gnome/applet/other-network-dialog.c
14637 - Rework to respect device capabilities. i.e., if the device doesn't
14638 support WPA, remove that option from the security dropdown
14640 * gnome/applet/passphrase-dialog.c
14641 - Massive rework so that a new instance is created each time
14642 it's used, to support wireless network capabilities
14644 * gnome/applet/wireless-network.[ch]
14645 - Add accessors and members for wireless network capabilities
14647 * gnome/applet/wireless-security-manager.[ch]
14648 - (wsm_set_capabilities): called after creation to set which
14649 security options get shown to the user
14651 2005-12-29 Dan Williams <dcbw@redhat.com>
14653 * libnm-util/cipher-wpa-psk-passphrase.c
14654 - (cipher_wpa_psk_passphrase_hash_func): return key as hex string
14657 2005-12-23 Dan Williams <dcbw@redhat.com>
14659 * gnome/applet/applet-dbus-info.c
14660 - (nmi_dbus_get_key_for_network): if there's no entry in
14661 GConf for a network, assume we want a new key
14662 - (nmi_save_network_info): serialize wireless security info
14663 into GConf so its saved
14666 - Fix warning as we may not be passed security info when
14667 connecting to a wireless network
14669 2005-12-23 Dan Williams <dcbw@redhat.com>
14671 * gnome/applet/applet-compat.c
14672 - Fix bugs in GConf entry conversion
14674 * gnome/applet/applet-dbus-info.c
14675 - (nmi_dbus_get_network_properties): handle case of the BSSID
14676 list being zero-length
14678 * libnm-util/cipher-*
14679 libnm-util/dbus-helpers.c
14680 - All ciphers must now return hashed keys as UTF-8 valid
14681 hexadecimal strings, ie "8f3dae4023". They are pushed
14682 through dbus as strings too.
14683 - Consolidate various functions that do bin->hex and hex->bin
14684 conversion into cipher.c
14686 * src/nm-ap-security-wep.c
14687 src/nm-ap-security-wpa-psk.c
14688 - Handle NULL keys since we may not know keys right away
14690 * src/nm-dbus-nmi.c
14691 - (nm_dbus_get_network_data_cb): actually advance to the start
14692 of the wireless security info before we try to deserialize it
14694 * libnm-util/test-ciphers.c
14695 - Update cipher tests for the change to UTF-8 hexadecimal strings
14697 2005-12-22 Dan Williams <dcbw@redhat.com>
14699 * gnome/applet/applet-compat.[ch]
14700 - Convert old-format GConf and keyring entries
14701 when the applet starts up.
14703 * gnome/applet/applet.c
14704 - (nmwa_get_instance): Call the conversion function
14705 on startup before dbus is initialized
14707 2005-12-22 Dan Williams <dcbw@redhat.com>
14709 * gnome/applet/applet-dbus-info.c
14710 - Remove nmi_dbus_create_error_message() in favor of
14711 nmu_create_dbus_error_message()
14712 - (nmi_dbus_get_network_properties): Error message cleanups
14713 - (nmi_dbus_get_network_properties): BSSIDs are now in the 'bssids'
14714 gconf key rather than 'addresses', since they really are BSSIDs
14715 - (nmi_dbus_get_network_properties): Dispose of the security
14716 object when we're done with it
14718 2005-12-21 Dan Williams <dcbw@redhat.com>
14720 * Consolidate the info-daemon's "updateNetworkInfo" and
14721 "addNetworkAddress" calls into just "updateNetworkInfo"
14723 2005-12-21 Dan Williams <dcbw@redhat.com>
14725 * Make connection after key retrieval work again
14727 2005-12-21 Dan Williams <dcbw@redhat.com>
14729 * gnome/applet/nm-gconf-wso*
14730 - Make the serialize functions return gboolean
14733 * gnome/applet/nm-gconf-wso.c
14734 - (nm_gconf_wso_dispose, nm_gconf_wso_finalize): fix up
14735 parent class handling so we don't segfault
14737 * src/NetworkManagerAP.[ch]
14738 - (nm_ap_get_capabilities): new function, return capabilities
14739 now that something can use them
14740 - (nm_ap_set_encrypted): assume that an access point supports
14741 both WEP104 and WEP40 if its set encrypted. FIXME: can
14742 we even tell whether it just supports WEP40?
14744 * src/NetworkManagerDevice.c
14745 - (ap_need_key): resurrect and update for the New World Order
14746 - (nm_device_wireless_get_activation_ap): if we're not given
14747 security info to use, create some based on access point
14750 * src/nm-ap-security-wep.c
14751 - (nm_ap_security_wep_new_from_ap): create a new object
14752 based on a certain access point's capabilities
14754 * src/nm-ap-security.c
14755 - (nm_ap_security_new_from_ap): delegate creation of a new
14756 object based on access point capabilities to a subclass
14757 - (nm_ap_security_copy_properties): don't segfault if we
14758 don't have a key yet
14761 - (nm_dbus_nm_set_active_device): provide more informative
14762 output when errors occur. Also construct security info
14763 for a given access point if we weren't given any
14765 2005-12-21 Žygimantas Beručka <zygis@gnome.org>
14767 * configure.in: Added Lithuanian to ALL_LINGUAS.
14769 2005-12-21 Dan Williams <dcbw@redhat.com>
14772 - Add some testcases for WEP ciphers
14774 2005-12-17 Dan Williams <dcbw@redhat.com>
14778 2005-12-17 Dan Williams <dcbw@redhat.com>
14780 * include/NetworkManager.h
14781 - Finally kill NMEncKeyType
14783 * gnome/applet/applet-dbus-info.c
14784 - (nmi_save_network_info): convert to NMGConfWSO
14786 * gnome/applet/nm-gconf-wso-*.c
14787 - Implement gconf serialization functions
14789 * src/NetworkManagerPolicy.c
14790 - (nm_policy_activation_finish): fix up meaning of
14791 automatic/user_requested
14793 2005-12-17 Dan Williams <dcbw@redhat.com>
14796 - More applet cleanups
14797 - Use the dbus-method-dispatcher
14799 * libnm-util/dbus-method-dispatcher.[ch]
14800 - Generalize the implementation from NM in
14801 NetworkManagerUtils.c
14803 2005-12-16 Dan Williams <dcbw@redhat.com>
14806 - Fix up the passphrase dialog to use all the
14807 WirelessSecurityOption stuff (untested)
14809 2005-12-16 Dan Williams <dcbw@redhat.com>
14811 * Move nm_gconf_get_*_helper() functions to separate files,
14812 gconf-helpers.c & gconf-helpers.h
14814 * New NMGConfWSO objects for managing the gconf side of things.
14815 Eventually these should be merged with the
14816 WirelessSecurityOption objects and a common base (that can
14817 serialize/deserialize from dbus & gconf) should be
14818 refactored out, but for now they are separate.
14820 2005-12-16 Robert Love <rml@novell.com>
14822 * src/backends/NetworkManagerSuSE.c: Do not invoke ypbind or autofs
14823 binaries unless they exist (nm_spawn_process() emits a warning if
14824 asked to spawn a non-existant process).
14826 2005-12-16 Dan Williams <dcbw@redhat.com>
14828 * gnome/applet/applet-dbus-info.c
14829 - Clean up lots of gconf-related code
14831 2005-12-16 Robert Love <rml@novell.com>
14833 * Makefile.am: Build fix: Reorder 'SUBDIRS' so our deps are right.
14835 2005-12-16 Dan Williams <dcbw@redhat.com>
14837 * nm_device_set_enc_key -> nm_device_set_wep_enc_key
14839 * Fix up NM -> NMI get-user-key dbus calls in NM (applet
14840 bits still to be done)
14842 2005-12-16 Dan Williams <dcbw@redhat.com>
14844 * Finally move info-daemon related stuff out of
14845 NetworkManagerDbus.c to nm-dbus-nmi.c
14847 2005-12-16 Dan Williams <dcbw@redhat.com>
14849 * Kill auth_method for access points, since that's now done
14850 by NMAPSecurity objects
14852 * Add a copy-constructor of sorts to NMAPSecurity
14853 (how do you do this properly in glib???)
14855 2005-12-15 Dan Williams <dcbw@redhat.com>
14857 * Exorcise encryption key hashing on APs
14858 * Use libnm-util's serialization/deserialization in both the
14860 * Random other stuff
14862 2005-12-15 Robert Love <rml@novell.com>
14864 * gnome/applet/menu-items.c: A new icon, "network-wireless-encrypted"
14865 is being added to the icon naming spec, so let's use that (Tango CVS
14866 has the icon). Because it is new, however, we fall back to the
14867 current "gnome-lockscreen" if the new icon is not around, thus
14868 behavior is the same.
14869 * gnome/applet/applet.c: Remove setup_stock(). We do not need the
14872 2005-12-15 Robert Love <rml@novell.com>
14874 * src/gnome/applet.c: Don't show the 'Help' menu item until we have,
14875 well, help to give. Couple other misc. bits.
14877 2005-12-15 Dan Williams <dcbw@redhat.com>
14879 * libnm-util/dbus-helpers.[ch]
14880 - Make this the one-stop-shop for serializing/deserializing
14881 AP & connection security settings over dbus. Both NM
14882 and applets should use this to ensure consistent dbus
14883 API going forwared.
14885 2005-12-15 Robert Love <rml@novell.com>
14887 Patch by Timo Hoenig <thoenig@suse.de>:
14888 * src/NetworkManagerDbus.c
14889 - (nm_dbus_signal_filter) return DBUS_HANDLER_RESULT_HANDLED
14890 if HAL jumps off the system bus. Otherwise libdbus
14891 (dbus_connection_dispatch) will try to run the filter
14892 function of our libhal context which is already freed.
14894 2005-12-15 Alexander Shopov <ash@contact.bg>
14896 * configure.in: Added "bg" (Bulgarian) to ALL_LINGUAS
14898 2005-12-14 Dan Williams <dcbw@redhat.com>
14900 * include/NetworkManager.h
14901 src/NetworkManagerWireless.c
14902 - Rearrange 802.11 wireless-specific capabilities again
14905 - Forgot to add wpa.c/wpa.h to the makefiles
14907 * src/NetworkManagerAP.[ch]
14908 - Implement access point capabilities and parse the
14909 WPA/RSN IEs into the capability bitfield
14910 - Switch the "encrypted" attribute to utilize the bitfield
14911 and capabilities rather than being independent
14913 * src/NetworkManagerDevice.c
14914 - (nm_device_wireless_get_activation_ap): break it horribly
14915 until we can push NMAPSecurity objects into access point
14916 objects and through the activation chain
14917 - Stuff WPA & RSN IEs into AP capabilities
14920 - Take a shot at actually making setActiveDevice work
14923 - Make the API a bit saner
14925 2005-12-14 Dan Williams <dcbw@redhat.com>
14927 * include/NetworkManager.h
14928 - Add 802.11-specific capability for 802.1x key
14932 - Pull in WPA IE and RSN IE parsing code from
14933 wpa_supplicant so we can determine access point
14935 - Move WPA-related constants here from NetworkManagerAP.h
14936 and NetworkManagerDevice.c
14938 * src/NetworkManagerDevice.c
14939 src/NetworkManagerAP.[ch]
14940 - Use WPA-related constants from wpa.h
14942 2005-12-14 Dan Williams <dcbw@redhat.com>
14944 * include/NetworkManager.h
14945 - Update and split 802.11 wireless-specific capabilities from
14946 generic device capabilities
14948 * src/NetworkManagerDevice.c
14949 src/NetworkManagerDevicePrivate.h
14950 - (nm_device_wireless_discover_capabilities): Move 802.11
14951 wireless-specific capability checks to
14952 NetworkManagerWireless.c
14953 - Rename NMDeviceWirelessOptions -> NMDevice80211WirelessOptions
14954 - Rename NMDeviceWiredOptions -> NMDevice80211EthernetOptions
14956 * src/NetworkManagerWireless.[ch]
14957 - (nm_802_11_wireless_discover_capabilities): Check extended
14958 802.11 wireless-specific capabilities of the driver
14960 2005-12-14 Robert Love <rml@novell.com>
14962 Patch from Stefan Scheler <sscheler@suse.de>:
14963 * src/NetworkManagerDevice.c: call backend code to activate and
14965 * src/NetworkManagerSystem.h: add new NIS interfaces.
14966 * src/backends/NetworkManagerDebian.c,
14967 src/backends/NetworkManagerGentoo.c,
14968 src/backends/NetworkManagerRedHat.c,
14969 src/backends/NetworkManagerSlackware.c: add stub functions for NIS
14971 * src/backends/NetworkManagerSuSE.c: add NIS support, baby.
14973 2005-12-14 Dan Williams <dcbw@redhat.com>
14975 * src/nm-ap-security*.[ch]
14976 - Add AP security abstractions to NetworkManager
14978 * src/nm-dbus-device.c
14979 - Begin to parse new format dbus messages from the applet
14980 and construct an AP security object from the message
14982 * libnm-util/dbus-helpers.c
14983 - Use message iters so we can append the key as a fixed
14984 array of bytes, which actually works rather than
14985 using dbus_message_append_args() as we were before
14987 2005-12-14 Dan Williams <dcbw@redhat.com>
14989 * src/NetworkManagerDbus.c
14990 gnome/applet/applet-dbus.c
14991 - Fix up dbus service replacement options. The applet
14992 should allow replacement, NM itself should not.
14994 2005-12-13 Robert Love <rml@novell.com>
14996 * src/named-manager/nm-named-manager.c: Revert earlier commit.
14997 Instead, fail silently if config is NULL by not asserting and not
14998 returning FALSE. Also, make sure we always fclose() the file.
15000 2005-12-13 Robert Love <rml@novell.com>
15002 Patch by Stefan Scheler <sscheler@suse.de>:
15003 * src/nm-ip4-config.h, src/nm-ip4-config.c,
15004 src/dhcp-manager/nm-dhcp-manager.c: Add support for setting up NIS
15005 via DHCP. Still need the backends to commit the NIS domain name and
15006 and servers to yp.conf as needed.
15008 2005-12-13 Robert Love <rml@novell.com>
15010 * src/vpn-manager/nm-dbus-vpn.c: Do not call the lengthy-named function
15011 nm_vpn_manager_remove_connection() unless vpn is non-NULL.
15013 2005-12-13 Robert Love <rml@novell.com>
15015 * src/named-manager/nm-named-manager.c: Don't unref the config until
15016 after we call rewrite_resolv_conf(), because get_last_default_domain()
15017 needs to access the config. Fixes "rewrite_resolv_conf: assertion
15018 `config != NULL' failed" assertion failures and "Could not commit DNS
15021 2005-12-12 Dan Williams <dcbw@redhat.com>
15023 * libnm-util/dbus-helpers.[ch]
15024 libnm-util/Makefile.am
15025 - new helper calls to consolidate locations where
15026 NM's setDevice method is called
15028 * gnome/applet/applet-dbus-devices.c
15029 gnome/applet/wireless-security-option.c
15031 - Implement dbus message param append function for
15032 all wireless security options
15034 2005-12-12 Robert Love <rml@novell.com>
15036 * libnm-util/cipher-wep-passphrase.c,
15037 libnm-util/cipher-wpa-psk-passphrase.c, src/NetworkManagerAP.c,
15038 src/NetworkManagerAP.h, src/NetworkManagerDevice.c,
15039 src/NetworkManagerWireless.c, src/NetworkManagerWireless.h: Treat
15040 all WEP/WPA keys as "char *" and not explicitly signed or unsigned.
15041 When handling keys, we don't care what the sign is. The compiler
15042 guarantees us that we get our 8-bits, which is all we care about.
15043 * configure.in: Remove "-Wno-pointer-sign" flag. We are sign-aware!
15045 2005-12-12 Dan Williams <dcbw@redhat.com>
15047 * gnome/applet/applet-dbus-devices.[ch]
15048 gnome/applet/applet.c
15049 gnome/applet/other-network-dialog.c
15050 gnome/applet/wireless-security-manager.[ch]
15051 gnome/applet/wireless-security-option.[ch]
15053 - Push the wireless security options further into the applet
15055 2005-12-12 Robert Love <rml@novell.com>
15057 * src/dhcp-manager/nm-dhcp-manager.c: Do not fail if DHCP does not
15058 return any name servers. That is perfectly valid. (Novell #134369).
15060 2005-12-11 Dan Williams <dcbw@redhat.com>
15062 * gnome/applet/wso-*
15063 gnome/applet/wireless-security-option.*
15064 gnome/applet/Makefile.am
15065 - split each security option out so we can eventually
15066 have each one build up their own dbus message
15067 arguments to send to NM
15069 2005-12-11 Dan Williams <dcbw@redhat.com>
15071 * Make validation of the key work correctly
15073 2005-12-11 Dan Williams <dcbw@redhat.com>
15075 * Hook more bits of the Other Network Dialog up to the
15076 wireless security manager stuff, and restructure
15077 bits of the dialog so there's less code.
15079 2005-12-10 Dan Williams <dcbw@redhat.com>
15081 * gnome/applet/Makefile.am
15082 - Add libnm-util to includes
15083 - Add libnm-util to link list
15084 - Add wireless-security-common.* to compile list
15086 * gnome/applet/other-network-dialog.c
15087 - Convert to using the WirelessSecurityManager code and
15090 * gnome/applet/passphrase-dialog.c
15091 - Comment out references to stuff in the glade file that
15092 cause runtime errors until it can be fixed up
15093 to use the WirelessSecurityManager code
15095 * gnome/applet/wireless-applet.glade
15096 - Rename some widgets
15097 - Add widgets for the WirelessSecurityManager code
15098 - Remove passphrase-related stuff since that's now
15099 handled by the WirelessSecurityManager code
15101 2005-12-10 Dan Williams <dcbw@redhat.com>
15103 * gnome/applet/applet-dbus-devices.c
15104 - Print out error message details for dbus pending call callbacks
15105 - Move nmwa_dbus_update_devices() up
15107 * gnome/applet/applet-dbus-vpn.c
15108 - Print out error message details for dbus pending call callbacks
15110 2005-12-10 Dan Williams <dcbw@redhat.com>
15114 - Remove cipher-manager.* because we don't need it
15115 - Forgot to add gnome-keyring-md5 files to compile list
15117 2005-12-09 Dan Williams <dcbw@redhat.com>
15122 - Add a utility library for clients of NetworkManager. It's
15123 only targetted at applets for the moment, and contains
15124 a generalized 802.11 cipher framework for different
15125 types of keys (WEP & WPA Hex, ASCII, Passphrase)
15127 2005-12-09 Robert Love <rml@novell.com>
15129 * src/NetworkManagerDevice.c: handle error better in
15130 nm_device_set_mode().
15132 2005-12-08 Robert Love <rml@novell.com>
15134 * include/NetworkManager.h: add WPA capabilities constants
15135 * src/NetworkManagerDevice.c: detect if wireless devices support WPA
15136 or WPA2 and add the capabilities bits as appropriate.
15138 2005-12-08 Robert Love <rml@novell.com>
15140 * initscript/SUSE/networkmanager-dispatcher.in: new initscript for
15141 NetworkManagerDispatcher.
15142 * configure.in, initscript/SUSE/.cvsignore,
15143 initscript/SUSE/Makefile.am: support new networkmanager-dispatcher
15146 2005-12-08 Robert Love <rml@novell.com>
15148 * initscript/SUSE/networkmanager.in: Do not start 'networking' service.
15150 2005-12-08 Robert Love <rml@novell.com>
15152 * src/NetworkManagerDevice.c: We want to fall back on and default to
15153 IW_MODE_AUTO, not -1, which is more in line with our previous
15154 behavior. Otherwise, we try to set the wireless mode to -1 in
15155 nm_device_set_mode().
15157 2005-12-07 Robert Love <rml@novell.com>
15159 * gnome/applet/applet-dbus-info.c, include/NetworkManager.h,
15160 src/NetworkManagerAP.c, src/NetworkManagerAP.h,
15161 src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
15162 src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
15163 src/nm-dbus-nm.c: Convert NM_DEVICE_AUTH_METHOD_* to use the
15164 wireless-tools constants directly. UNKNOWN is now -1 and NONE is
15167 2005-12-07 Robert Love <rml@novell.com>
15169 * src/backends/NetworkManagerSuSE.c: In static configurations, if the
15170 supplied IP is invalid, fall back to DHCP.
15172 2005-12-07 Dan Williams <dcbw@redhat.com>
15174 * Convert NETWORK_MODE_* constants to IW_MODE_*
15175 * Make all the get_mode/set_mode functions take and return 'int'
15176 * Convert D-BUS calls that pass mode to DBUS_TYPE_INT32 rather than UINT32
15178 2005-12-07 Robert Love <rml@novell.com>
15180 * src/NetworkManagerDevice.c: strncpy() buffer check.
15181 * src/NetworkManagerUtils.c: be anal about syslog() formatting.
15183 2005-12-06 Dan Williams <dcbw@redhat.com>
15185 * gnome/applet/applet-dbus.c
15186 - (set_vpn_last_attempt_status): remove, now in applet-dbus-vpn.c
15188 * gnome/applet/applet-dbus-vpn.c
15189 - (nmwa_dbus_vpn_set_last_attempt_status): new, from applet-dbus.c
15190 - (nmwa_dbus_vpn_update_vpn_connection_stage): set last_attempt_success
15191 to TRUE here if stage was ACTIVATED
15193 2005-12-06 Dan Williams <dcbw@redhat.com>
15195 * Change nm_device_is_* functions to better names:
15196 nm_device_is_wireless() -> nm_device_is_802_11_wireless()
15197 nm_device_is_wired() -> nm_device_is_802_3_ethernet()
15199 2005-12-06 Dan Williams <dcbw@redhat.com>
15201 * Change naming of NMDeviceType to something more sensible:
15202 NM_DEVICE_TYPE_DONT_KNOW -> NM_DEVICE_TYPE_UNKNOWN
15203 NM_DEVICE_TYPE_WIRED_ETHERNET -> NM_DEVICE_TYPE_802_3_ETHERNET
15204 NM_DEVICE_TYPE_WIRELESS_ETHERNET -> NM_DEVICE_TYPE_802_11_WIRELESS
15206 2005-12-06 Dan Williams <dcbw@redhat.com>
15208 * Move NetworkManager.h -> include/NetworkManager.h
15209 * Split out VPN stuff into include/NetworkManagerVPN.h
15210 * Fix up makefiles to include new location
15211 * Fix up sources to include NetworkManagerVPN.h
15213 2005-12-06 Dan Williams <dcbw@redhat.com>
15215 Various changes in the applet to move VPN connection "state" -> "stage",
15216 which it actually is. I'd like to change the signal as well when we
15217 break compat in the near future.
15219 2005-12-06 Dan Williams <dcbw@redhat.com>
15221 Slackware patches from Paul Blazejowski <paulb@blazebox.homeip.net>
15222 * initscript/Slackware/rc.networkmanager
15225 * src/backends/NetworkManagerSlackware.c
15226 - Kill dhcpcd when starting so that dhclient can bind to DHCP on
15229 2005-12-05 Robert Love <rml@novell.com>
15231 * src/NetworkManager.c: don't call nm_data_free() when there is nothing
15232 to free, particularly here as it just barfs.
15234 2005-12-05 Dan Williams <dcbw@redhat.com>
15236 * gnome/applet/applet-dbus.c
15237 - Work with dbus 0.6 too
15239 2005-12-03 Dan Williams <dcbw@redhat.com>
15241 * src/NetworkManagerUtils.[ch]
15242 src/nm-ip4-config.c
15243 - move ip4_netmask_to_prefix() to NetworkManagerUtils.c
15244 - consolidate code into nm_utils_ip4_addr_to_nl_addr()
15246 2005-12-01 Robert Love <rml@novell.com>
15248 * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c: We
15249 need a NULL for the '...' parameter, too, to fill the so-called
15252 2005-12-01 Robert Love <rml@novell.com>
15254 * src/NetworkManagerSystem.c: If iface_to_rtnl_link() returns NULL, the
15255 interface is already gone, so don't call rtnl_link_change() to down
15256 it (which will segfault, anyhow).
15258 2005-11-22 Robert Love <rml@novell.com>
15260 * src/backends/NetworkManagerSuSE.c: Don't fall back to DHCP if the
15261 gateway is not set, just print a little note. Configurations without
15262 gateways are valid.
15264 2005-11-22 Robert Love <rml@novell.com>
15268 2005-11-20 Ilkka Tuohela <hile@iki.fi>
15270 * configure.in: Added Finnish translation to ALL_LINGUAS
15272 2005-11-14 Robert Love <rml@novell.com>
15274 * vpn-daemons/openvpn: initial checkin of OpenVPN VPN Module, by Tim
15275 Niemueller <tim@niemueller.de>.
15277 2005-11-08 Dan Williams <dcbw@redhat.com>
15279 Patch from Bill Moss <bmoss@clemson.edu>
15280 * src/NetworkManagerDevice.c
15281 - (nm_device_activate_stage5_ip_config_commit): fix ordering
15282 of nm_policy_schedule_activation_finish() to prevent a
15283 race condition that causes the link to be dropped
15285 2005-11-08 Dan Williams <dcbw@redhat.com>
15287 Patch from Bill Moss <bmoss@clemson.edu>
15288 * src/NetworkManagerAPList.c
15289 src/NetworkManagerDevice.c
15290 src/NetworkManagerDbus.c
15291 - Replace occurances of ether_ntoa_r() with iw_ether_ntop() so
15292 we get more readable ether/mac addresses
15294 2005-11-02 Christopher Aillon <caillon@redhat.com>
15296 * gnome/applet/main.c: Don't set the restart command. This fixes
15297 the issue where the restart command was getting copies of all its
15298 arguments for each time the applet was restarted.
15300 2005-11-02 Robert Love <rml@novell.com>
15302 * gnome/applet/applet.c: Only send the DBUS setWirelessEnabled method
15303 if the widget state differs from our saved state. This ensures we
15304 do not enter an endless loop of death and destruction. Also, this
15305 guarantees us that we enforce the widget state.
15307 2005-11-02 Robert Love <rml@novell.com>
15309 * gnome/applet/applet.c: add nmwa_enable_wireless_set_active().
15310 * gnome/applet/applet-dbus-devices.c: invoke the new function
15311 nmwa_enable_wireless_set_active() to ensure that the state of the
15312 'Enable Wireless' checkbox matches the daemon's state. This is a
15313 concern because the daemon remembers the state.
15315 2005-11-02 Robert Love <rml@novell.com>
15317 * gnome/applet/applet.c: Make menu item "Enable Wireless" not "Wireless
15318 Enabled", as checkboxes should be actions/commands not positive
15319 statements, otherwise they are confusing in the unselected case. See
15320 examples in GNOME HIG, Chapter 6.
15322 2005-11-02 Robert Love <rml@novell.com>
15324 * gnome/applet/applet.c: When wireless is disabled, act it. Do not
15325 show a list of wireless networks or the wireless devices or the
15326 "Create Wireless ..." menus. Aside from this cosmetics, this fixes
15327 a bad bug: If wireless is disabled and the user picks a wireless
15328 network, NM will switch to the network, only to immediately switch
15329 back, as wireless is disabled. This also reassures people that NM
15330 is not scanning (it is not -- I verified). Fixes Novell bug #130041.
15332 2005-11-02 Christopher Aillon <caillon@redhat.com>
15334 * gnome/applet/applet.c:
15335 * gnome/applet/applet.h:
15336 Partial backout of Dan's timeout animation patch.
15337 Timeout IDs cannot legally be 0, so revert the code in place to handle
15338 a timeout ID of 0 to denote the timeout isn't running.
15340 2005-11-02 Christopher Aillon <caillon@redhat.com>
15342 * src/NetworkManagerPolicy.c:
15343 (nm_policy_device_change_check) Clarify wireless switch nm_info text
15345 2005-10-28 Robert Love <rml@novell.com>
15347 * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade: Change label to
15348 "Import Saved Configuration..." to make it clear that importing is
15349 not the next step, but an option. As an aside, a nice TODO would be
15350 to move Importing out of the vpn-specific dialog and into the main
15351 property editor, as Importing goes with Adding, but that will require
15352 some rearchitecting of the VPN stuff I suspect.
15354 2005-10-27 Dan Williams <dcbw@redhat.com>
15356 Start using libnl. You need 1.0-pre3 or higher. Eventually
15357 we should replace most of the distro-specific backend code
15360 Get it here: http://people.suug.ch/~tgr/libnl/
15364 - Add checks for libnl pkgconfig file
15365 - Use LIBNL_LIBS & LIBNL_CFLAGS
15367 * src/NetworkManagerSystem.c
15368 src/nm-ip4-config.[ch]
15369 - Use libnl rather than ioctl() for most things
15370 - Remove unused functions
15372 2005-10-27 Robert Love <rml@novell.com>
15374 * src/backends/NetworkManagerSuSE.c: fix warning message text
15376 2005-10-27 Christopher Aillon <caillon@redhat.com>
15378 * gnome/applet/applet.c: Use the copyright symbol instead of (C)
15380 2005-10-27 Christopher Aillon <caillon@redhat.com>
15382 * gnome/applet/applet.c: The applet's about dialog can advertise our
15383 project page <http://www.gnome.org/projects/NetworkManager/>
15385 2005-10-26 Christopher Aillon <caillon@redhat.com>
15387 * gnome/applet.c: Also use translator credits if we don't have
15388 the new GtkAboutDialog (older versions of GTK+)
15390 2005-10-26 Robert Love <rml@novell.com>
15392 * dispatcher-daemon/NetworkManagerDispatcher.c: print actual error string on daemon()
15393 failure; correct usage text for "--no-daemon"
15395 2005-10-25 Dan Williams <dcbw@redhat.com>
15397 * src/NetworkManagerDevice.c
15398 - (get_scan_results): cleanups, deal cleanly with ENODATA signifying
15400 - (free_process_scan_cb_data): unref the device when freeing results
15401 - (nm_device_wireless_process_scan_results): free scan results a bit later
15402 so we don't unref the device underneath ourselves
15404 2005-10-25 Dan Williams <dcbw@redhat.com>
15406 * Back out 2005-10-24 commit from Tor Krill. Patch
15407 causes nameservers never to be removed from named.
15409 2005-10-24 Dan Williams <dcbw@redhat.com>
15411 Clean up wireless scanning and wireless link probing.
15413 * src/NetworkManagerDevice.c
15414 - (nm_device_probe_wireless_link_state): instead of calling nm_get_best_ap(),
15415 just see if there's an activation request on the device, and check the
15416 current link against the activation request access point's ESSID.
15417 - (link_to_specific_ap): increase the # of failed links we tolerate from 3 to 6
15418 - (nm_device_wireless_process_scan_results): actually free our scan data, and
15419 don't call process_scan_results() on zero-length data
15420 - (nm_device_set_wireless_scan_interval): increase the init scan interval to
15421 15 seconds (from 10)
15423 2005-10-24 Dan Williams <dcbw@redhat.com>
15425 Cleanup some applet stuff:
15427 - Animation timeouts. If NM died while the applet was animating,
15428 the applet would not hide itself. This is now fixed.
15430 - Remove some dead code
15432 - Remove nmi_passphrase_dialog_schedule_cancel() and convert uses
15433 to nmi_passphrase_dialog_cancel() since we no longer use threads.
15435 - Track animation timeout using a gboolean rather than the timeout's
15436 ID, since timeout IDs can legally be 0.
15438 2005-10-24 Dan Williams <dcbw@redhat.com>
15440 * src/backends/interface_parser.c
15441 - Add void to function declarations that need it
15442 to match patch from Engin AYDOGAN
15444 * src/backends/interface_parser.h
15445 - Remove unused prototype for ifparser_interfaces()
15447 Patch from Engin AYDOGAN <engin@bzzzt.biz>
15448 * src/backends/interface_parser.h:
15449 - Compile fixes for gcc 4.0.2 (add void)
15451 2005-10-24 Dan Williams <dcbw@redhat.com>
15453 Patch from Tor Krill <tor@krill.nu>
15454 * src/named-manager/nm-named-manager.c
15455 - Write more than just the first nameserver to /etc/resolv.conf
15456 - Write out valid /etc/resolv.conf on exit
15458 2005-10-21 Christopher Aillon <caillon@redhat.com>
15460 * gnome/applet/applet-dbus-vpn.c:
15461 Get rid of spurious newlines in debug console output
15463 2005-10-21 Christopher Aillon <caillon@redhat.com>
15465 * src/backends/NetworkManagerGentoo.c:
15466 Fix path to killall. Patch from Dave Shanker <dshanker@gmail.com>
15468 2005-10-20 Robert Love <rml@novell.com>
15470 * src/NetworkManagerDevice.c: Use fabs() and DBL_EPSILON to avoid a
15471 direct comparison of floating point values, which is never correct.
15472 Also some misc. cleanup.
15474 2005-10-19 Robert Love <rml@novell.com>
15476 * vpn-daemons/vpnc/nm-vpnc.desktop.in: add fields
15478 2005-10-19 Robert Love <rml@novell.com>
15480 * gnome/vpn-properties/nm-vpn-properties.c: Correctly set the
15481 sensitivity of the buttons. Specificaly, do the right thing if
15482 there are no entries.
15484 2005-10-19 Christopher Aillon <caillon@redhat.com>
15486 * configure.in: Update check for adequate wireless-tools
15487 with an AC_TRY_COMPILE for the new symbols we use.
15489 2005-10-19 Dan Williams <dcbw@redhat.com>
15491 * src/NetworkManagerDevice.c
15492 - (process_scan_results): don't drop the last (or only)
15493 access point we see
15495 2005-10-19 Christopher Aillon <caillon@redhat.com>
15497 * src/backends/NetworkManagerSlackware.c:
15498 Patch from Nico <lordllucifer@gmail.com>
15499 - Update the Slackware backend.
15501 2005-10-18 Christopher Aillon <caillon@redhat.com>
15503 * gnome/applet/other-network-dialog.c: Use g_get_host_name ()
15504 if we've got GLib 2.8.0
15506 2005-10-18 Robert Love <rml@novell.com>
15508 * src/NetworkManagerDevice.c: invoke the long-in-the-tooth named
15509 function nm_schedule_state_change_signal_broadcast() when we
15510 deactivate a device, too.
15512 2005-10-18 Robert Love <rml@novell.com>
15514 * gnome/applet/applet.c: nmwa_context_menu_update(): 'iface' could
15515 be used uninitialized.
15517 2005-10-18 Christopher Aillon <caillon@redhat.com>
15519 * test/libnm_glib_test.c: Test unregistering, too.
15521 2005-10-17 Christopher Aillon <caillon@redhat.com>
15523 * configure.in: Bump to 0.5.0
15525 2005-10-17 Dan Williams <dcbw@redhat.com>
15528 - Remove WPA-related constants so they aren't part of the
15531 2005-10-17 Christopher Aillon <caillon@redhat.com>
15533 * gnome/applet/applet.c:
15534 * gnome/applet/applet.h:
15535 Desensitize the 'Connection Information' menu item when there is
15536 no active connection.
15538 2005-10-17 Christopher Aillon <caillon@redhat.com>
15540 * gnome/libnm_glib/libnm_glib.c:
15541 Make libnm_glib_unregister_callback () actually unregister the callback
15543 2005-10-17 Robert Love <rml@novell.com>
15545 * src/NetworkManagerDevice.c: Actually wait 20s, as we intend, not
15546 two seconds -- tries is updated every 1/10 of a second, not every
15549 2005-10-17 Christopher Aillon <caillon@redhat.com>
15551 * gnome/applet/applet-dbus-info.c:
15552 Let D-BUS know that we haven't handled a message when we haven't.
15554 2005-10-17 Robert Love <rml@novell.com>
15556 * src/nm-ip4-config.c: use GPOINTER_TO_UINT and not a straight cast
15557 in order to remain 64-bit clean.
15559 2005-10-17 Christopher Aillon <caillon@redhat.com>
15561 * gnome/applet/applet-dbus-info.c:
15562 Find network encryption keys asynchronously
15564 2005-10-17 Robert Love <rml@novell.com>
15566 * src/backends/NetworkManagerDebian.c,
15567 src/backends/NetworkManagerRedHat,
15568 src/backends/NetworkManagerSuSE.c: allow '#' as a valid resolv.conf
15571 2005-10-17 Robert Love <rml@novell.com>
15573 * src/backends/NetworkManagerSuSE.c: use SYSCONFDIR not open-coded
15576 2005-10-17 Christopher Aillon <caillon@redhat.com>
15578 * src/NetworkManagerDevice.c: (process_scan_results)
15579 Fix logic that checks to see whether we have an ESSID.
15581 2005-10-15 Dan Williams <dcbw@redhat.com>
15583 Move scanning code into NetworkManager rather than use iwlib's
15584 iw_scan() function, so that we can figure out AP capabilities.
15587 - Add AP capability bits
15589 * src/NetworkManagerAP.[ch]
15590 - Add capability field to NMAccessPoint structure
15591 - Add WPA & RSN Information Element fields and accessor
15592 functions to NMAccessPoint
15594 * src/NetworkManagerDevice.c
15595 - Remove usage of iw_scan
15596 - Add scanning code to NetworkManager rather than use
15597 iw_scan() from iwlib
15599 * src/NetworkManagerUtils.[ch]
15600 - (nm_dispose_scan_results): remove, unused
15602 2005-10-14 Christopher Aillon <caillon@redhat.com>
15604 * gnome/libnm_glib/libnm_glib.c:
15605 * gnome/libnm_glib/libnm_glib.h:
15606 Use guint instead of gint for callback IDs.
15608 2005-10-12 Christopher Aillon <caillon@redhat.com>
15610 * gnome/applet/applet.c:
15611 Fix icon animation smoothness issues. nmwa_redraw_timeout gets called
15612 every 1000ms. It will unconditionally call nmwa_update_state which
15613 kills the existing animation timeout and registers a new one with a
15614 callback to draw a new frame every 100ms. There are 11 connecting
15615 icon frames, so the last 2 frames kept getting dropped. Only reset
15616 the animation timeout if we aren't animating.
15618 2005-10-11 Dan Williams <dcbw@redhat.com>
15620 * gnome/applet/applet-dbus-devices.c
15621 - (nmwa_dbus_update_device_info_from_hal), (hal_net_physdev_cb):
15622 We want to grab the product & vendor from net.physical_dev
15623 rather than info.parent.
15625 2005-10-11 Dan Williams <dcbw@redhat.com>
15627 * src/NetworkManagerDevice.c
15628 - Use the driver's WE version for scanning rather than
15629 the WE version NM was compiled with. Fixes random
15630 crashes in iw_scan () in iwlib.
15632 2005-10-10 Dan Williams <dcbw@redhat.com>
15634 * Remove nm_system_load_device_modules() from backend files
15635 and from NetworkManager.c
15637 2005-10-10 Dan Williams <dcbw@redhat.com>
15639 * src/NetworkManagerPolicy.c
15640 - Fix some bugs introduced by the capabilities patch
15642 2005-10-10 Dan Williams <dcbw@redhat.com>
15644 * gnome/applet/applet-dbus-info.c
15645 - (nmi_dbus_get_network_key): hide the menu when putting up
15646 the keyring dialog. (not sure if the code is right...)
15648 2005-10-09 Dan Williams <dcbw@redhat.com>
15650 Patch from Bill Moss <bmoss@clemson.edu>
15651 * src/NetworkManagerDevice.c
15652 - (nm_device_set_user_key_for_network): don't try to set auth
15653 mode on the AP from the allowed list if it's NULL
15655 2005-10-09 Dan Williams <dcbw@redhat.com>
15657 * Replace the "driver support level" stuff with capabilities. The
15658 capability field is a bitfield that is more flexible than the
15659 old driver support level thing. It's mostly so we can easily
15660 figure out what supports WPA and what doesn't, but should be
15661 quite useful later.
15663 2005-10-09 Dan Williams <dcbw@redhat.com>
15670 - Added new "nm-tool" tool that gives quite a bit more
15673 2005-10-07 Robert Love <rml@novell.com>
15675 * gnome/applet/applet-dbus-info.c, gnome/applet/applet.c,
15676 gnome/applet/applet.h, gnome/vpn-properties/nm-vpn-properties.c,
15677 src/dhcp-manager/nm-dhcp-manager.c, test/libnm_glib_test.c,
15678 test/nmtest.c test/nmtestdevices.c: mark functions 'static' as
15681 2005-10-07 Robert Love <rml@novell.com>
15683 * configure.in: Change our compile flags for the betterment of mankind.
15684 Add "-Wstrict-prototypes" because we comply anyhow and missing a
15685 prototype is very bad on 64-bit platforms as types default to int but
15686 sizeof(int) != sizeof(long) and add "-Wmissing-prototypes" &
15687 "-Wmissing-declarations" to warn if we define an exported function
15688 but fail to put it in a header.
15690 2005-10-07 Robert Love <rml@novell.com>
15692 * src/NetworkManagerWireless.c: remove stale, unused function, who goes
15693 by the name nm_update_device_wireless_timeouts() and once tried,
15694 without success, to steal my pet turtle.
15696 2005-10-07 Robert Love <rml@novell.com>
15698 * Cleanup prototypes: put some functions in header files and mark
15699 others as 'static' -- feel free to invert
15700 * src/vpn-manager/nm-dbus-vpn.c: remove prototype of
15701 nm_vpn_manager_vpn_connection_list_copy()
15702 * src/vpn-manager/nm-vpn-act-request.c: remove prototype of
15703 nm_vpn_service_get_dbus_connection()
15704 * src/vpn-manager/nm-vpn-manager.h: add prototypes for
15705 nm_vpn_manager_vpn_connection_list_copy()
15706 * src/vpn-manager/nm-vpn-service.c: make
15707 nm_vpn_service_act_request_failed() and
15708 nm_vpn_service_stage2_daemon_wait() static
15709 * src/vpn-manager/nm-vpn-service.h: add prototype for
15710 nm_vpn_service_get_dbus_connection()
15712 2005-10-06 Christopher Aillon <caillon@redhat.com>
15714 * gnome/applet/applet.c:
15715 * gnome/applet/applet.h:
15716 * gnome/applet/icons/Makefile.am:
15717 Convey information about the current connection stage in the
15718 icons themselves instead of creating a separate progress bar.
15720 2005-10-04 Robert Love <rml@novell.com>
15722 * src/nm-dbus-device.c: Use iw_ether_ntop(), not ether_ntoa_r(), to
15723 convert an ether_addr structure's MAC into a string, because the
15724 latter will drop leading zero's and uses lower-case, e.g. 7:3b:4
15725 versus 07:3B:04, while the former will not.
15727 2005-10-04 Robert Love <rml@novell.com>
15729 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
15730 gnome/applet/nm-device.c, gnome/applet/nm-device.h,
15731 gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
15732 default route in the 'Connection Information' dialog, send primary
15733 and secondary name servers in in "getProperties" DBUS method, add
15734 network_device_{get,set}_{primary,secondary}_dns(), The primary and
15735 secondary domain name servers are crucial pieces of information
15736 that a user might need in debugging a network problem.
15738 2005-10-04 Robert Love <rml@novell.com>
15740 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
15741 gnome/applet/nm-device.c, gnome/applet/nm-device.h,
15742 gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
15743 default route in the 'Connection Information' dialog, send default
15744 route in "getProperties" DBUS method, add network_device_set_route(),
15745 and network_device_get_route(). The Gateway is a crucial piece of
15746 connection-related information that a user might need in debugging a
15749 2005-10-03 Robert Love <rml@novell.com>
15751 * src/backends/NetworkManagerSuSE.c: Fix Glib error, GError must be
15754 2005-10-02 Dan Williams <dcbw@redhat.com>
15756 * Shorten time taken to sleep by fastpathing bits of device deactivation
15757 necessary for sleep.
15759 * Fix issue where deactivating a device might deactivate the active
15760 VPN connection, even if the VPN was not using the device.
15762 2005-10-02 Dan Williams <dcbw@redhat.com>
15764 * gnome/applet/applet.c
15765 - Adjust signal strength -> icon mapping values slightly
15766 (so that 51% signal doesn't show a 75% icon) by adding
15767 5% to the values. ex: > 5% now shows 25% icon, > 30%
15768 shows 50% icon, etc.
15770 2005-09-29 Robert Love <rml@novell.com>
15772 * src/NetworkManager.c: removed unused variable.
15774 2005-09-28 Dan Williams <dcbw@redhat.com>
15776 Support for named + DBus, using Red Hat DBus patches for named. You
15777 can find those patches here, with "dbus" in the patch's filename:
15779 http://cvs.fedora.redhat.com/viewcvs/devel/bind/
15781 Don't forget the named dbus service file either.
15783 Instead of writing a config file and spawing a named process, NM will
15784 use an already-running dbus-enabled named if it finds one. NM will
15785 update named's forwarder configuration on the fly using dbus.
15787 If there is no dbus-enabled named running, NM will automatically fall
15788 back to writing the most-recent DNS server information to /etc/resolv.conf
15789 and calling nm_system_update_dns() to kick the system's resolver.
15791 Accordingly, all named-related configure-time options have been removed.
15793 2005-09-26 Robert Love <rml@novell.com>
15795 * src/backends/NetworkManagerSuSE.c, (nm_system_get_dialup_config): Add
15797 * src/backends/NetworkManagerSuSE.c, (verify_and_return_provider): Fix
15798 bug in error path if "ASKPASSWORD" is "no".
15800 2005-09-26 Robert Love <rml@novell.com>
15802 * src/named-manager/nm-named-manager.c: only '#' is officially a valid
15803 comment in /etc/resolv.conf -- ';' is not.
15805 2005-09-19 Dan Williams <dcbw@redhat.com>
15807 * src/backends/NetworkManagerRedHat.c:
15808 * src/backends/NetworkManagerDebian.c:
15809 * src/backends/NetworkManagerSlackware.c:
15810 * src/backends/NetworkManagerGentoo.c:
15811 * src/backends/NetworkManagerSUSE.c:
15812 Fix invocations of "/sbin/ip address" to use short form instead
15814 2005-09-19 Christopher Aillon <caillon@redhat.com>
15816 * src/nm-dbus-device.c: Don't assert when getting
15817 addresses of a not yet connected interface.
15819 * gnome/applet/applet.c: Free icons if loading fails.
15820 Use translator-credits so translators can make themselves known.
15822 2005-09-15 Christopher Aillon <caillon@redhat.com>
15824 * src/NetworkManagerAP.c:
15825 * src/NetworkManagerAP.h:
15826 * src/NetworkManagerDevice.c:
15827 Set a blacklist for certain common manufacturer default ESSIDs:
15828 APs with these ESSIDs are extremely likely to be completely
15829 different networks: connecting to one should not make NM
15830 auto-connect to every other AP with the same default ESSID.
15832 2005-09-12 Christopher Aillon <caillon@redhat.com>
15834 * gnome/applet/wireless-applet.glade:
15835 The passphrase entry should also activate the default
15837 * src/gnome-keyring-md5.c: Updated code from gnome-keyring
15839 * gnome/applet/applet-dbus-devices.c:
15840 * gnome/applet/applet.c:
15841 * gnome/applet/nm-device.c:
15842 * gnome/applet/nm-device.h:
15843 * src/NetworkManagerUtils.c:
15844 * src/NetworkManagerUtils.h:
15845 * src/nm-dbus-device.c:
15846 I've got a fever, and the only cure for it is less ioctl.
15847 Make NM push IP data rather than make the applet open a socket
15850 2005-09-10 Christopher Aillon <caillon@redhat.com>
15852 * gnome/applet/applet.c:
15853 * gnome/applet/applet-dbus-devices.c:
15854 * gnome/applet/applet-dbus-info.c:
15855 * gnome/applet/passphrase-dialog.c:
15856 * gnome/libnm_glib/libnm_glib.c:
15857 * gnome/vpn-properties/nm-vpn-properties.c:
15859 * src/backends/NetworkManagerRedHat.c:
15860 * src/named-manager/nm-named-manager.c:
15861 * src/NetworkManagerAPList.c:
15862 * src/NetworkManager.c:
15863 * src/NetworkManagerDbus.c:
15864 * src/NetworkManagerDevice.c:
15865 * src/NetworkManagerPolicy.c:
15866 * src/NetworkManagerSystem.c:
15867 * src/nm-dbus-device.c:
15868 * src/nm-dbus-nm.c:
15869 * src/vpn-manager/nm-vpn-manager.c:
15870 * src/vpn-manager/nm-vpn-service.c:
15871 * test/libnm_glib_test.c:
15872 * test/nminfotest.c:
15873 * test/nmtestdevices.c:
15874 Fix a bunch of 'unused variable' compiler warnings
15876 * NetworkManager.h:
15877 * gnome/applet/applet-dbus-info.c:
15878 * gnome/applet/applet-dbus-info.h:
15879 * gnome/applet/applet.c:
15880 * gnome/applet/applet.h:
15881 * src/NetworkManager.c:
15882 * src/NetworkManagerDbus.c:
15883 * src/NetworkManagerDbus.h:
15884 * src/NetworkManagerDevice.c:
15885 * src/NetworkManagerDevice.h:
15886 * src/NetworkManagerMain.h:
15887 * src/NetworkManagerWireless.c:
15888 * src/NetworkManagerWireless.h:
15889 * src/nm-dbus-nm.c:
15890 Make NetworkManager be smart about how frequently to scan
15891 based on its current state. Remove the UI for choosing when
15892 to scan. Scanning still may disabled completely by the user
15893 via the "Wireless Enabled" menu item.
15895 2005-09-09 Christopher Aillon <caillon@redhat.com>
15897 * gnome/applet/applet.c:
15898 Also overlay the vpn connecting icons onto the wired icon,
15901 * gnome/vpn-properties/nm-vpn-properties.glade:
15902 Clean up a few strings to use better grammar and proper casing.
15904 2005-09-08 Christopher Aillon <caillon@redhat.com>
15906 * gnome/applet/vpn-connection.c:
15907 * gnome/applet/vpn-connection.h:
15908 Add nmwa_vpn_connection_is_activating ()
15910 * gnome/applet/applet.c:
15911 * gnome/applet/applet.h:
15912 * gnome/applet/icons/nm-vpn-connecting*.png:
15913 Add new VPN connecting icons from Diana Fong <dfong@redhat.com>, letting
15914 the user know something's happening between clicking the VPN item and it
15915 actually being connected.
15917 2005-09-07 Christopher Aillon <caillon@redhat.com>
15919 * gnome/applet/applet-dbus-info.c: need to free attributes in the
15920 failure case as well.
15922 2005-09-07 Rodrigo Moya <rodrigo@novell.com>
15924 * gnome/panel/eggtrayicon.[ch]:
15925 * examples/python/systray/eggtrayicon.[ch]: updated code from libegg.
15927 2005-09-07 Dan Williams <dcbw@redhat.com>
15929 Patch from Bill Moss <bmoss@clemson.edu>
15930 * src/applet-dbus.c
15931 - (nmwa_dbus_filter): strip whitespace from beginning
15932 and end of VPN login banner
15934 2005-09-07 Dan Williams <dcbw@redhat.com>
15936 * The great VPN Manager rewrite of 2005
15938 2005-09-07 Christopher Aillon <caillon@redhat.com>
15940 * gnome/applet/menu-items.c:
15941 * gnome/applet/nm-device.c:
15942 * gnome/applet/wireless-network.c:
15943 * gnome/libnm_glib/libnm_glib.c:
15944 * src/NetworkManagerDbusUtils.c:
15945 * vpn-daemons/vpnc/src/nm-vpnc-service.c:
15946 g_malloc0 doesn't return NULL
15948 2005-09-06 Dan Williams <dcbw@redhat.com>
15950 Patch from Tomislav Vujec <tvujec@redhat.com>
15951 * src/NetworkManagerDevice.c
15952 - (nm_get_device_by_udi): don't return a device when we
15953 actually didn't find what we were looking for
15955 2005-09-06 Christopher Aillon <caillon@redhat.com>
15957 * gnome/applet/applet-dbus-devices.c:
15958 * gnome/applet/applet-dbus-devices.h:
15959 * gnome/applet/applet-dbus.c:
15960 * src/NetworkManagerDbus.c:
15961 * src/NetworkManagerDbus.h:
15962 * src/NetworkManagerDevice.c:
15963 * src/nm-dbus-device.c:
15964 Make NM push updates about active device strength when it changes,
15965 rather than having the applet poll every 2s.
15967 2005-09-05 Christopher Aillon <caillon@redhat.com>
15969 * gnome/applet/applet-dbus-devices.c: Remove duplicate call to
15970 network_device_set_strength
15972 2005-09-04 Dan Williams <dcbw@redhat.com>
15974 Patch from Bill Nottingham <notting@redhat.com>
15975 * src/NetworkManagerDevice.c
15976 - (nm_device_activation_cancel): reset the quit_activation flag
15978 2005-09-04 Dan Williams <dcbw@redhat.com>
15980 * src/nm-activation-request.c
15981 - (nm_act_request_unref): actually free the structure,
15982 which we didn't seem to be doing before
15984 2005-09-04 Dan Williams <dcbw@redhat.com>
15986 Patch from John Palmieri <johnp@redhat.com>
15987 * gnome/applet/applet-dbus-devices.c
15988 - Fix up unreffing of DBusMessage objects
15990 2005-09-04 Dan Williams <dcbw@redhat.com>
15992 Patch from John Palmieri <johnp@redhat.com>
15993 * gnome/applet/nm-device.c
15994 - (nm_device_unref): clear network_device's memory _before_ freeing it
15996 2005-09-02 Christopher Aillon <caillon@redhat.com>
15998 * gnome/applet/applet.c: Use a check menu item for Wireless Enabled
16000 2005-09-02 Bill Nottingham <notting@redhat.com>
16002 * src/backends/NetworkManagerRedHat.c: use nm_warning, not nm_error
16004 2005-09-01 Dan Williams <dcbw@redhat.com>
16006 * src/NetworkManager.c
16007 - (nm_remove_device_from_list): rename to nm_remove_device
16008 - (nm_hal_device_removed): call nm_remove_device()
16010 * src/NetworkManagerDevice.c
16011 - Change the NMWirelessScanCB member 'reschedule' which
16012 wasn't used to 'force' to indicate that we need to
16013 force a scan when adding a device
16016 - (nm_dbus_nm_sleep): Deactivate all devices and remove them
16017 from the device list
16018 - (nm_dbus_nm_wake): Re-add all devices to the device list
16020 2005-09-01 Robert Love <rml@novell.com>
16022 * gnome/applet/applet.c: nmwa_update_info: iface is used uninitialized
16023 and the check "!iface" in the error case is probably never true.
16025 2005-09-01 Dan Williams <dcbw@redhat.com>
16027 Patch from Bill Nottingham <notting@redhat.com>
16028 * src/backends/NetworkManagerRedHat.c
16029 - Add initial dialup support to Red Hat/Fedora backend
16031 2005-09-01 Dan Williams <dcbw@redhat.com>
16033 * gnome/applet/applet-dbus-devices.c
16034 - Sort both wireless networks and devices again, which got
16035 broken when removing threading
16037 2005-09-01 Christopher Aillon <caillon@redhat.com>
16039 * gnome/applet/applet.c:
16040 Only show the "Stop/Start All Wireless Devices" menuitem
16041 if we actually have wireless devices.
16043 * gnome/applet/applet-dbus-info.c:
16044 * gnome/applet/applet.c:
16045 * gnome/applet/other-network-dialog.c:
16046 * gnome/applet/vpn-password-dialog.c:
16047 Drop the gtk_dialog_run () calls in favor of connecting to
16048 "response" signals, needed now that the applet is not threaded.
16050 2005-08-31 Dan Williams <dcbw@redhat.com>
16052 Patch from Bill Moss <bmoss@clemson.edu>
16053 * src/NetworkManagerDevice.c
16054 - (nm_device_wireless_scan): fix scan timeout values
16056 2005-08-30 Dan Williams <dcbw@redhat.com>
16058 * gnome/applet/wireless-applet.glade
16059 - HIG-ify the Other Wireless Networks dialog a bit more
16060 - Fix some potential segfaults in the info dialog
16062 2005-08-30 Dan Williams <dcbw@redhat.com>
16064 * gnome/applet/applet-dbus-devices.c
16065 - Remove nmwa_dbus_get_hal_device_string_property(); unused
16067 2005-08-30 Dan Williams <dcbw@redhat.com>
16069 * gnome/applet/applet-dbus.[ch]
16070 - Remove all the nmwa_dbus_call_method_xxxx functions since
16071 they weren't being used anyway
16073 2005-08-30 Bastien Nocera <hadess@hadess.net>
16075 * test/nmtestdevices.c: (print_usage), (main):
16076 Check the number of arguments, and fix a typo
16078 2005-08-29 Dan Williams <dcbw@redhat.com>
16080 Patch from Dumitru Ciobarcianu <Dumitru.Ciobarcianu@iNES.RO>
16081 * gnome/applet/applet.c
16082 - Define GTK_STOCK_INFO for GTK 2.6 and lower
16084 2005-08-29 Dan Williams <dcbw@redhat.com>
16087 - Don't use threads any more. Anything that blocks
16088 (like gtk_dialog_run()) will have to get fixed up which
16089 should happen quickly. We really only had threads to make
16090 the animation smooth, and when everything got converted over
16091 to DBus Pending Calls, the need for threads kind of went away
16093 2005-08-29 Christopher Aillon <caillon@redhat.com>
16095 * gnome/applet/applet.c: Draw VPN connections as radio items
16096 since we don't yet support multiple VPNs.
16097 * gnome/applet/other-network-dialog.c: Use stock icon for Connect
16098 * gnome/vpn-properties/nm-vpn-properties.c: Use stock icon for Delete
16100 2005-08-29 Dan Williams <dcbw@redhat.com>
16102 Patch from j@bootlab.org
16103 - Make --without-named work
16104 - Make --with-dhcdbd work correctly
16106 2005-08-27 Josep Puigdemont i Casamajó <josep.puigdemont@gmail.com>
16108 * configure.in: Added "ca" to ALL_LINGUAS.
16110 2005-08-26 Christopher Aillon <caillon@redhat.com>
16112 * Fix up VPN state handling between the applet and NetworkManager,
16113 so that the applet doesn't show a VPN as connected when one
16115 - The applet no longer has a pointer to the active VPN's
16116 name, but tracks each VPNs state individually
16117 - NM no longer has a "getActiveVPNConnection" method
16118 - NM no longer broadcasts the "VPNConnectionChange" signal
16119 - NM now broadcasts a "VPNConnectionStateChange" signal
16120 whenever the state of a VPN changes
16122 2005-08-26 Dan Williams <dcbw@redhat.com>
16124 * gnome/applet/applet-dbus-devices.c
16125 gnome/applet/applet-dbus-vpn.c
16126 - Remove calls to dbus_pending_call_ref() because we already
16127 "own" the pending call
16128 - Remove calls to dbus_pending_call_get_completed() because
16129 when we are in the callback, the pending call is completed
16132 2005-08-22 Dan Williams <dcbw@redhat.com>
16134 Patch by Bill Moss <bmoss@clemson.edu>
16135 * src/dhcp-manager/nm-dhcp-manager.c
16136 - (nm_dhcp_manager_cancel_transaction): Give dhcdbd/dhclient
16137 some time to send out a RELEASE if they like
16139 2005-08-22 Dan Williams <dcbw@redhat.com>
16141 Noticed by Bill Moss <bmoss@clemson.edu>
16142 * src/NetworkManagerDbus.c
16143 - (nm_dbus_get_user_key_for_network_cb): deactivate the device
16144 instead of just cancelling its activation
16146 * src/NetworkManagerDevice.c
16147 - (nm_device_deactivate): some small cleanups
16148 - (nm_device_set_user_key_for_network): deactivate the device
16149 instead of just cancelling its activation
16151 2005-08-22 Dan Williams <dcbw@redhat.com>
16153 Noticed by Bill Moss <bmoss@clemson.edu>
16154 * src/NetworkManagerDevice.c
16155 - (nm_device_wireless_scan): fix scan timeout, we were
16156 waiting way too long for scans to complete
16158 2005-08-22 Dan Williams <dcbw@redhat.com>
16160 Patch from j@bootlab.org:
16161 * src/backends/NetworkManagerDebian.c
16162 - Make the Debian backend work for static IP again
16164 2005-08-20 Christopher Aillon <caillon@redhat.com>
16166 * gnome/applet/other-network-dialog.c:
16167 The "Create New Network" and "Connect to Other Network"
16168 dialogs share alot of code, but shouldn't share a window
16169 title. Give them different ones.
16171 * gnome/applet/wireless-applet.glade:
16172 * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
16173 Some more minor UI tweaks.
16175 2005-08-19 Christopher Aillon <caillon@redhat.com>
16177 * gnome/applet/other-network-dialog.c:
16178 * gnome/applet/wireless-applet.glade:
16179 Also need mnemonic widgets, and underline enabled.
16181 2005-08-19 Dan Williams <dcbw@redhat.com>
16183 * vpn-daemons/vpnc/nm-vpnc-service.c
16184 - (vpnc_watch_cb): remove no-longer-relevant comment
16185 - (write_config_option): new function, helper to write
16186 config options to vpnc's stdin
16187 - (nm_vpnc_config_write): use the new helper, make the
16190 2005-08-19 Christopher Aillon <caillon@redhat.com>
16192 * gnome/applet/passphrase-dialog.c:
16193 * gnome/applet/wireless-applet.glade:
16194 Make the passphrase dialog response based, and treat
16195 responses other than OK (such as Esc, [X]) as a cancel.
16197 2005-08-18 Christopher Aillon <caillon@redhat.com>
16199 * initscript/Gentoo/NetworkManager:
16200 * initscript/RedHat/NetworkManager:
16201 * initscript/RedHat/NetworkManagerDispatcher:
16202 * initscript/SUSE/networkmanager:
16203 CVS remove these in place of .in replacements
16206 * initscript/Gentoo/NetworkManager.in:
16207 * initscript/RedHat/NetworkManager.in:
16208 * initscript/RedHat/NetworkManagerDispatcher.in:
16209 * initscript/SUSE/networkmanager.in:
16210 These scripts now are generated so they work still when
16211 NM is built using a bindir other than /usr/bin
16213 2005-08-18 Dan Williams <dcbw@redhat.com>
16215 * gnome/applet/main.c
16216 - Revert previous change for --no-session since
16217 --sm-disable does the same thing
16219 2005-08-18 Dan Williams <dcbw@redhat.com>
16221 * gnome/applet/applet-dbus-info.c
16222 - (nmi_dbus_create_error_message): new function
16223 - (nmi_dbus_get_key_for_network): correctly use dbus error creation
16224 functions. Also don't check for both device _and_ network before
16225 asking for a user's key, because we may not have gotten all our
16226 networks back from NM quite yet (due to the dbus pending calls
16227 coming in later). Fixes a hang in NM/nm-applet.
16229 * src/NetworkManagerDbus.c
16230 - (nm_dbus_get_user_key_for_network_cb): handle error conditions in a
16231 slightly more sane manner, even though we are still broken for
16232 certain other error conditions.
16233 - (nm_dbus_get_user_key_for_network): need to pass the network's essid
16234 to the info-daemon too
16236 * src/NetworkManagerDevice.c
16237 - Fix some debug messages to be info messages instead
16239 2005-08-18 Dan Williams <dcbw@redhat.com>
16241 * gnome/applet/main.c
16242 - Add new "--no-session" parameter that disables applet
16243 session management, ie for testing
16245 2005-08-18 Christopher Aillon <caillon@redhat.com>
16247 * gnome/applet/other-network-dialog.c:
16248 * gnome/applet/wireless-applet.glade: More mnemonics
16250 2005-08-17 Robert Love <rml@novell.com>
16252 * initscript/SUSE/networkmanager: update
16254 2005-08-17 Dan Williams <dcbw@redhat.com>
16256 * Tag NM_0_4_1_RELEASE
16258 2005-08-17 Christopher Aillon <caillon@redhat.com>
16260 * gnome/applet/applet.c: More translatable string cleanup
16263 2005-08-17 Dan Williams <dcbw@redhat.com>
16265 * gnome/applet/applet-dbus-info.c
16266 - (nmi_dbus_get_key_for_network): Grab new "new_key" parameter
16267 from the dbus message, which tells us to unconditionally
16268 ask the user for a new key. Otherwise, we pull the key from
16269 the keyring and return it. If we fail to get the key from the
16270 keyring, we ask the user for a new key.
16271 - (nmi_dbus_get_network_key): new function to grab the key for
16272 an essid from the keyring.
16273 - (nmi_dbus_get_network_properties): don't access the keyring here.
16274 Also, don't return any key in the dbus message.
16276 * src/NetworkManagerDbus.[ch]
16277 - (nm_dbus_get_user_key_for_network): Add "new_key" parameter to
16278 indicate that we unconditionally want a new key. This function
16279 is now also used to get keys from the info-daemon which are
16280 pre-stored, not just for asking the user for a new key. The
16281 "new_key" parameter indicates whether or not we wish to ask the
16282 user for a new key.
16283 - (nm_dbus_get_network_data_cb): we no longer get a key from the
16284 info-daemon in the return message, so use NULL instead. The
16285 key will be filled in at connect time by calling
16286 nm_dbus_get_user_key_for_network()
16288 * src/NetworkManagerDevice.c
16289 - (nm_device_wireless_configure): update for "new_key" param to
16290 nm_dbus_get_user_key_for_network(). We initially set new_key
16291 to FALSE to see if we have a stored key in the info-daemon, but
16292 if the connection is unsuccessful at this stage we request a
16295 2005-08-17 Dan Williams <dcbw@redhat.com>
16297 * gnome/applet/icons/nm-no-connection.png
16298 gnome/applet/icons/nm-device-wired.png
16299 - Use Diana's new RJ45 connector icons
16301 2005-08-17 Dan Williams <dcbw@redhat.com>
16303 * src/NetworkManagerPolicy.c
16304 - (nm_policy_device_change_check): clarify switching rules if
16305 both new and old devices are valid; mainly, don't switch
16306 away from user-requested wireless connection back to a wired
16309 2005-08-17 Dan Williams <dcbw@redhat.com>
16311 * gnome/applet/Makefile.am
16312 - Relocate the applet to /usr/bin since it is no longer
16313 executed by anything, but directly by the user
16315 2005-08-17 Dan Williams <dcbw@redhat.com>
16317 Patch from Bill Moss <bmoss@clemson.edu>
16319 * gnome/applet/applet-dbus-info.[ch]
16320 - (nmi_save_network_info): save timestamp for network if it
16321 was a change requested by the user
16322 - (nmi_dbus_update_network_info): get user_requested from dbus
16323 message and pass to nmi_save_network_info()
16325 * gnome/applet/applet.c
16326 - (nmwa_update_network_timestamp): remove
16327 - (nmwa_menu_item_activate): don't set timestamp on networks
16328 here, only after a successful connect in nmi_save_network_info()
16330 * src/NetworkManagerDbus.[ch]
16331 - (nm_dbus_update_network_info): pass user_requested into the
16334 * src/NetworkManagerPolicy.c
16335 - (nm_policy_activation_finish): pass user_requested to
16336 nm_dbus_update_network_info()
16338 2005-08-16 Robert Love <rml@novell.com>
16340 * gnome/applet/applet.c: Better "Dial Up" menu item.
16342 2005-08-16 Robert Love <rml@novell.com>
16344 * gnome/applet/applet.c: use GTK_STOCK_INFO not PROPERTIES for the
16345 "Connection Information" menu item.
16347 2005-08-16 Dan Williams <dcbw@redhat.com>
16349 Patch from j@bootlab.org
16350 * vpn-daemons/vpnc/Makefile.am: Fix for autoreconf
16352 * configure.in: allow specifying the path to dhcdbd
16354 2005-08-16 Robert Love <rml@novell.com>
16356 Patch from j@bootlab.org
16357 * src/backends/NetworkManagerDebian.c, src/backends/interface_parser.c,
16358 src/backends/interface_parser.h: Debian dialup support.
16360 2005-08-16 Christopher Aillon <caillon@redhat.com>
16362 * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
16363 * gnome/applet/applet.c: Add some mnemonics for VPNC
16365 * vpn-daemons/.cvsignore: fix this up a little bit
16367 2005-08-16 Robert Love <rml@novell.com>
16369 * src/backends/NetworkManagerSuSE.c: improve the SUSE-backend dial up
16372 2005-08-16 Christopher Aillon <caillon@redhat.com>
16374 * gnome/applet/applet.c: Split markup out of translatable strings
16375 and clean up logic a little bit. (fixes #309012)
16377 2005-08-15 Christopher Aillon <caillon@redhat.com>
16379 * gnome/vpn-properties/nm-vpn-properties.c:
16380 * gnome/vpn-properties/nm-vpn-ui-interface.h:
16381 * vpn-daemons/vpnc/properties/nm-vpnc.c:
16382 Makeshift fix to remove newlines from translatable strings.
16383 Note that we now return an allocated string, so callers of
16384 get_confirmation_details () must now call g_free () on the
16385 result. (fixes #309033).
16387 2005-08-12 Robert Love <rml@novell.com>
16389 * gnome/applet/applet-dbus.c: remove newlines from translatable
16390 strings--not needed here anyway. (fix b.g.o #309011)
16391 * src/nm-netlink.monitor.c: don't translate "%s" (fix b.g.o #172391)
16393 2005-08-11 Robert Love <rml@novell.com>
16395 * gnome/applet/applet.c: mark string as translatable.
16397 2005-08-11 Robert Love <rml@novell.com>
16399 * initscript/SUSE/networkmanager: update.
16401 2005-08-11 Dan Williams <dcbw@redhat.com>
16403 * src/nm-dhcp-manager.c
16404 - (nm_dhcp_manager_get_ip4_config): if for some reason we don't get
16405 an gateway returned from DHCP, try to use the address of the DHCP
16406 server as the gateway instead. Found by Ralf Ertzinger.
16408 2005-08-10 Robert Love <rml@novell.com>
16410 * gnome/applet/applet.c: Make applet->dbus_thread joinable so we can
16411 wait for it on exit; call exit() in nmwa_destroy() to jump ship.
16413 2005-08-10 Dan Williams <dcbw@redhat.com>
16415 Patch from Bill Moss <bmoss@clemson.edu>
16416 * Consolidate writes of access point information updates to the info daemon
16417 so that we only do it when the connection to the access point was
16418 successful. Also consolidates updates to GConf in the Gnome applet.
16420 * src/nm-netlink-monitor.c
16421 - Silence compile warning when calling g_object_new()
16423 2005-08-08 Dan Williams <dcbw@redhat.com>
16425 Patch from Steev <steev@steev.net>:
16426 * src/backends/NetworkManagerGentoo.c
16427 - Stub new dialup backend functions
16429 2005-08-08 Dan Williams <dcbw@redhat.com>
16431 Patch from Colin Slater:
16432 * src/backends/NetworkManagerGentoo.c
16433 - (nm_system_update_dns): Fix exit status check for restarting
16436 2005-08-05 Robert Love <rml@novell.com>
16438 * NetworkManager.h,
16439 gnome/applet/applet-dbus-devices.c,
16440 gnome/applet/applet-dbus-devices.h,
16441 gnome/applet/applet-dbus.c,
16442 gnome/applet/applet.c,
16443 gnome/applet/applet.h,
16444 src/NetworkManager.c,
16445 src/NetworkManagerMain.h,
16446 src/NetworkManagerSystem.h,
16447 src/backends/NetworkManagerRedHat.c,
16448 src/backends/NetworkManagerSuSE.c,
16449 src/nm-dbus-nm.c: basic dialup support using distro infrastructure
16451 2005-08-05 Robert Love <rml@novell.com>
16453 * gnome/applet/other-network-dialog.c: default the adhoc network to the
16454 machine's hostname to make adhoc creation idiot-proof.
16456 2005-08-04 Robert Love <rml@novell.com>
16458 * gnome/applet/other-network-dialog.c: fix leak. "label" needs to be
16461 2005-08-04 Dan Williams <dcbw@redhat.com>
16463 * gnome/applet/applet-dbus-info.c
16464 gnome/applet/applet-dbus-info.h
16465 - (nmi_dbus_update_network_auth_method->nmi_save_network_info): generalize
16466 to store key, key type, and auth method rather than just auth method
16467 - (nmi_dbus_update_network_info): new function
16468 - (nmi_dbus_info_message_handler): updateNetworkAuthMethod -> updateNetworkInfo
16470 * gnome/applet/passphrase-dialog.c
16471 - (nmi_passphrase_dialog_ok_clicked): call nmi_save_network_info() instead
16472 of saving the info ourselves
16474 * gnome/libnm_glib/libnm_glib.c
16475 - Remove the stupid version check for dbus
16477 * src/NetworkManagerAP.c
16478 src/NetworkManagerAP.h
16479 - (nm_ap_get_enc_key_source): return 'const char *' rather than 'char *'
16481 * src/NetworkManagerDbus.c
16482 src/NetworkManagerDbus.h
16483 - (nm_dbus_update_network_auth_method -> nm_dbus_update_network_info): Update
16484 more than just the auth method
16486 * src/NetworkManagerDevice.c
16487 - Update network info at the appropriate times
16489 2005-07-29 Ray Strode <rstrode@redhat.com>
16491 * src/NetworkManager.c (nm_info_handler): don't use input as format
16492 string (Spotted by Ian Jackson).
16494 2005-07-27 Dan Williams <dcbw@redhat.com>
16498 - Random cleanups of spacing
16500 * gnome/applet/applet.h
16501 gnome/applet/other-network-dialog.c
16502 gnome/applet/passphrase-dialog.c
16503 - Conslidate usage of NMWAEncryptionKeyTypes enum
16505 Patch from Bill Moss:
16506 - Make Other Wireless Networks work again with encryption keys
16508 2005-07-26 Dan Williams <dcbw@redhat.com>
16510 Patch from Steev <steev@steev.net>:
16511 * src/backends/NetworkManagerGentoo.c
16512 src/backends/Makefile.am
16513 - Fix up Gentoo backend
16515 2005-07-26 Robert Love <rml@novell.com>
16517 * src/backends/NetworkManagerSuSE.c: misc. cleanup
16519 2005-07-25 Robert Love <rml@novell.com>
16521 * gnome/applet/applet.c: make the "Wired" menu item a radio button,
16522 in the same group as the wireless networks, since they are all
16523 mutually exclusive.
16525 2005-07-24 Ray Strode <rstrode@redhat.com>
16527 * src/nm-netlink-monitor.c (nm_netlink_monitor_new):
16528 remove unneeded NULL arg from g_object_new(). Any
16529 warnings caused by not having the extra NULL are just a
16530 result of a bug in glib 2.7.0 - 2.7.2.
16532 2005-07-22 Robert Love <rml@novell.com>
16534 * gnome/libnm_glib/libnm_glib.c: support D-BUS version 0.35, too
16536 2005-07-22 Robert Love <rml@novell.com>
16538 * src/nm-netlink-monitor.c: g_object_new() needs at least three
16539 parameters (gcc 4.0.2 warning fix).
16541 2005-07-18 Robert Love <rml@novell.com>
16543 Suggested by Aaron Bockover (abockover@novell.com)
16544 * gnome/applet/other-network-dialog.c: ASCII is an acronym, thus
16546 * gnome/applet/passphrase-dialog.c: ditto
16547 * gnome/applet/wireless-applet.glade: ditto
16549 2005-07-13 Dan Williams <dcbw@redhat.com>
16551 Patch from Ray Strode <halfline@gmail.com>
16552 * vpn-daemons/vpnc/nm-vpnc-service.c
16553 - Don't let vpnc daemonize, fixes some races with PID file reading
16555 2005-07-13 Dan Williams <dcbw@redhat.com>
16557 Patch from Ray Strode <halfline@gmail.com>
16558 * Random cleanups for strict CFLAGS
16560 2005-07-07 Dan Williams <dcbw@redhat.com>
16562 Patch from Derek Atkins <warlord@MIT.EDU>
16563 * src/nm-dbus-net.c:
16564 - (nm_dbus_get_ap_from_object_path): differentiate similar ESSIDs
16566 2005-07-07 Dan Williams <dcbw@redhat.com>
16568 Patch from Jos Dehaes <jos_dehaes@fastmail.fm>
16569 * src/backends/NetworkManagerGentoo.c
16570 - Gentoo backend Static IP nameserver fixes
16571 - General Gentoo backend goodness
16573 2005-07-07 Dan Williams <dcbw@redhat.com>
16575 Patch from Bastien Nocera:
16576 * gnome/applet/applet.c
16577 - Fix up error reporting when icons or glade files are missing
16579 2005-07-07 Robert Love <rml@novell.com>
16581 * gnome/applet/applet.c: do not draw the VPN menu's seperator if there
16582 are not any VPN connections above it.
16584 2005-07-07 Robert Love <rml@novell.com>
16586 * gnome/applet/applet.c: whoops, left some "dog" debugging code in.
16588 2005-07-05 Robert Love <rml@novell.com>
16590 * src/NetworkManagerSystem.c: bail out if asked to set a gateway of
16593 2005-07-05 Robert Love <rml@novell.com>
16595 * src/NetworkManagerDevice.c: use link-local (autoip) on DHCP failure
16596 on wired or unencrypted wireless.
16598 2005-07-01 Robert Love <rml@novell.com>
16600 * src/NetworkManagerSystem.c: Print the error via strerror().
16602 2005-06-30 Robert Love <rml@novell.com>
16604 * gnome/vpn-properties/nm-vpn-properties.c: display an error dialog and
16605 then exit if the glade file is not found. currently the application
16608 2005-06-30 Robert Love <rml@novell.com>
16610 * src/nm-dbus-nm.c: Patch by Bill Moss <bmoss@clemson.edu> to
16611 explicitly up all interfaces on wake from sleep.
16613 2005-06-30 Robert Love <rml@novell.com>
16615 * gnome/applet/applet.c: Add right-click menu item "Connection Info"
16616 with information about the currently active connection.
16617 * gnome/applet/applet.h: (ditto)
16618 * gnome/applet/wireless-applet.glade: (ditto), new file
16620 2005-06-30 Robert Love <rml@novell.com>
16622 * src/NetworkManagerDevice.c: g_malloc0 cannot fail.
16623 * src/nm-dbus-nm.c: print when we sleep and wake up.
16624 * gnome/applet/menu-items.c: whitespace, misc. cleanup.
16625 * configure.in: look in "/usr/sbin" for dhcdbd, too. (it shouldn't be
16626 in /sbin unless D-BUS is, folks).
16627 * README: update to reflect nm-applet replacing NetworkManagerInfo.
16629 2005-06-27 Robert Love <rml@novell.com>
16631 * src/nm-dbus-nm.c: fix "setWirelessEnabled" call for the enabling
16634 2005-06-27 Robert Love <rml@novell.com>
16636 * gnome/applet/applet.c: make the 'Wireless Network Discovery' menu
16639 2005-06-26 Robert Love <rml@novell.com>
16641 * src/NetworkManagerDevice.c: be specific about which device in
16644 2005-06-23 Adam Weinberger <adamw@gnome.org>
16646 * src/nm-netlink-monitor.c: correct spelling error.
16648 2005-06-23 Robert Love <rml@novell.com>
16650 * gnome/applet/applet-dbus-info.c: gnome keyring support!
16651 * gnome/applet/passphrase-dialog.c: more of that keyring!
16653 2005-06-23 Robert Love <rml@novell.com>
16655 * configure.in: remove extraneous GNOMEKEYRING directives.
16656 * gnome/applet/Makefile.am: s/GNOMEKEYRING/GNOME_KEYRING/.
16657 * gnome/applet/applet.c: nmwa_icons_init: make style local.
16658 * gnome/applet/passphrase-dialog.c: whitespace.
16660 2005-06-23 Robert Love <rml@novell.com>
16662 * src/NetworkManagerDevice.c: division in assignment was flipped.
16664 2005-06-23 David Zeuthen <david@fubar.dk>
16666 * gnome/applet/vpn-password-dialog.c (child_stdout_data_cb): Send a
16667 signal to the child to indicate that we got what we wanted when we
16668 see two new-lines right after each other.
16669 (nmwa_vpn_request_password): Pass a structure with several members
16670 instead of just the passwords
16672 2005-06-23 Dan Williams <dcbw@redhat.com>
16674 * src/NetworkManager.c
16675 src/NetworkManagerMain.h
16676 - (nm_get_hal_ctx): new function, move Hal initialization code here
16677 - (nm_hal_init): new function, init libhal context then add devices
16678 - (nm_hal_deinit): new function, clean up libhal context
16679 - (nm_data_free): Move Hal cleanup here
16680 - (main): check whether Hal is running, and if so, get a list of
16681 network devices from it
16683 * src/NetworkManagerDbus.c
16684 - (nm_dbus_signal_filter): trap NameOwnerChanged signals for Hal,
16685 and when it appears, get a list of network devices from it. If
16686 Hal goes away, clean up the libhal context
16688 2005-06-22 Robert Love <rml@novell.com>
16690 * dispatcher-daemon/NetworkManagerDispatcher.c: fix FIXME: check
16691 permissions of scripts before executing.
16693 2005-06-21 Robert Love <rml@novell.com>
16695 * initscript/SUSE/networkmanager: update.
16696 * src/backends/NetworkManagerSuSE.c: cleanup.
16698 2005-06-21 Robert Love <rml@novell.com>
16700 * gnome/applet/applet.c: use menu mnemonics.
16701 * gnome/applet/menu-items.c: (ditto)
16703 2005-06-21 Robert Love <rml@novell.com>
16705 * applet/applet-dbus-devices.c: mark non-static functions static.
16706 * applet/applet-dbus-vpn.c: (ditto)
16707 * applet/applet.c: (ditto)
16708 * applet/nm-device.h: (ditto)
16709 * applet/other-network-dialog.c: (ditto)
16710 * applet/passphrase-dialog.c: (ditto)
16711 * NetworkManager.c: (ditto)
16712 * NetworkManagerDbus.c: (ditto)
16713 * NetworkManagerDevice.c: (ditto)
16714 * NetworkManagerPolicy.c: (ditto)
16715 * NetworkManagerUtils.c: (ditto)
16716 * NetworkManagerWireless.c: (ditto)
16717 * NetworkManagerWireless.h: (ditto)
16718 * nm-netlink-monitor.c: (ditto)
16719 * applet/applet-dbus-info.c: (ditto), add FIXME's.
16720 * vpn-manager/nm-dbus-vpn.c: (ditto), remove shadowed variable.
16721 * autoip.c: include autoip.h.
16722 * autoip.h: new file. define get_autoip().
16723 * nm-netlink-monitor.h: define nm_netlink_close_connection().
16724 * NetworkManagerDbus.h: remove duplicate definitions.
16726 2005-06-20 Robert Love <rml@novell.com>
16728 * Makefile.am: Add missing intltool-foo.in generated files to
16729 EXTRA_DIST so that 'distcheck' works. Also add DISTCLEANFILES
16730 with the start of stuff to cleanup on 'distclea'.
16731 * configure.in: add AC_PROG_INTLTOOL macro so that we do the intltool
16732 stuff right and 'distcheck' works.
16733 * po/POTFILES.in: Remove examples/python/systray/eggtrayicon.c. If
16734 we keep it, we need to add all of examples/* to EXTRA_DIST and do
16735 Makefile.am for each. And systray/Makefile needs to be redone.
16737 2005-06-19 Dan Williams <dcbw@redhat.com>
16739 * src/NetworkManagerDevice.c
16740 - (nm_device_wireless_process_scan_results): scan every 20s when
16741 disconnected and scanning is ALWAYS_SCAN or WHEN_UNASSOCIATED
16743 2005-06-19 Dan Williams <dcbw@redhat.com>
16745 * WEXT_DEBUG->IOCTL_DEBUG, extend checking to all ioctl() calls
16747 2005-06-18 Ray Strode <rstrode@redhat.com>
16749 * src/nm-netlink-monitor.c
16750 (nm_netlink_monitor_event_handler): check for the presence
16751 of either error condition not both.
16753 (nm_netlink_monitor_error_handler): emit error signal if
16756 (nm_netlink_monitor_event_handler),
16757 (nm_netlink_monitor_error_handler),
16758 (nm_netlink_monitor_disconnect_handler): if an
16759 assertion fails disconnect the event handler to prevent
16762 * src/nm-netlink-monitor.h: add new error condition
16763 NM_NETLINK_MONITOR_ERROR_WAITING_FOR_SOCKET_DATA
16765 2005-06-18 Ray Strode <rstrode@redhat.com>
16767 * src/nm-netlink-monitor.c
16768 (nm_netlink_monitor_event_handler): remove bogus < 0
16769 check on unsigned value and return early if the kernel
16770 didn't send any bytes.
16772 2005-06-17 Robert Love <rml@novell.com>
16774 * initscript/SUSE/networkmanager: Change the Provides and default
16777 2005-06-16 Dan Williams <dcbw@redhat.com>
16779 Patch from Robert Love:
16780 * gnome/applet/applet.c
16781 - Beautify some applet menu item names
16783 2005-06-17 David Zeuthen <davidz@redhat.com>
16785 * gnome/vpn-properties/nm-vpn-ui-interface.h: Require users of this
16786 API to define NM_VPN_API_SUBJECT_TO_CHANGE to acknowledge API churn.
16787 Also add new methods can_export, import_file and export.
16789 * gnome/vpn-properties/nm-vpn-properties.glade: Add an Export button
16792 * gnome/vpn-properties/nm-vpn-properties.c:
16793 Define NM_VPN_API_SUBJECT_TO_CHANGE so we can actually include
16794 nm-vpn-ui-interface.h.
16795 (update_edit_del_sensitivity): Also update "Export" sensitivity
16796 (add_vpn_connection): Also add new SVC_NAME column
16797 (import_settings): New function
16798 (retrieve_data_from_selected_connection): New function
16799 (edit_cb): Use retrieve_data_from_selected_connection to simplify
16801 (export_cb): New function
16802 (init_app): Also setup the "export" widget
16803 (main): Support the --import-service and --import-file commandline
16806 * gnome/libnm_glib/libnm_glib.c (libnm_glib_dbus_filter): Also support
16809 2005-06-16 Dan Williams <dcbw@redhat.com>
16811 Patch from Robert Love:
16812 * gnome/applet/menu-items.c
16813 - (network_menu_item_new): pass -1 as wireless network
16814 menu items height size request rather than ascent / 2
16816 2005-06-16 Dan Williams <dcbw@redhat.com>
16818 * Clean up wording in Wireless Scan Methods menu items and constants
16820 2005-06-16 Robert Love <rml@novell.com>
16823 - remove gtkcell* files
16825 2005-06-15 Dan Williams <dcbw@redhat.com>
16827 Patch from Robert Love: make the applet stetic
16829 * gnome/applet/Makefile.am
16830 - Don't compile the gtkcellview and gtkcellrendererprogress files
16832 * gnome/applet/gtkcellview.h
16833 gnome/applet/gtkcellview.c
16834 gnome/applet/gtkcellrendererprogress.h
16835 gnome/applet/gtkcellrendererprogress.c
16838 * gnome/applet/menu-items.c
16839 - Progress bars are 5:1 size ratio
16840 - Use GTK progress bars rather than internal ones
16842 2005-06-15 Dan Williams <dcbw@redhat.com>
16844 Patch from Robert Love:
16845 * initscript/SUSE/networkmanager
16848 2005-06-15 Dan Williams <dcbw@redhat.com>
16850 * src/backends/NetworkManagerSuSE.c
16851 src/backends/NetworkManagerRedHat.c
16852 src/backends/NetworkManagerDebian.c
16853 - (set_ip4_config_from_resolv_conf): Fix typo I made, '==' -> '='
16855 2005-06-15 Dan Williams <dcbw@redhat.com>
16857 * src/backends/NetworkManagerDebian.c
16858 - Add nm_system_device_get_use_dhcp() to debian backend
16860 Patch from Kay Sievers:
16861 * src/backends/NetworkManagerSuSE.c
16862 - Update debian backend for static IP nameservers
16864 * src/NetworkManagerDevice.c
16865 - Actually set the device to use static IP or DHCP rather
16868 2005-06-15 Dan Williams <dcbw@redhat.com>
16870 Patch from Thom May:
16871 * src/backends/NetworkManagerDebian.c
16872 - Update debian backend for static IP nameservers
16874 2005-06-15 Dan Williams <dcbw@redhat.com>
16876 Patches from Robert Love:
16877 * gnome/applet/wireless-applet.glade
16878 - Tighten up wording
16880 * src/NetworkManagerDevice.c
16881 - Remove misplaced ';'
16884 initscript/Makefile.am
16885 initscript/SUSE/Makefile.am
16886 initscript/SUSE/networkmanager
16887 - Add SUSE initscript
16889 2005-06-12 David Zeuthen <davidz@redhat.com>
16891 * gnome/vpn-properties/nm-vpn-ui-interface.h: New file
16893 * gnome/vpn-properties/nm-vpn-properties.glade: New file
16895 * gnome/vpn-properties/nm-vpn-properties.c: New file
16897 * gnome/vpn-properties/Makefile.am: New file
16899 * src/vpn-manager/nm-vpn-manager.h: Rework prototypes to take an
16902 * src/vpn-manager/nm-vpn-manager.c
16903 (nm_vpn_manager_activate_vpn_connection): Take an array of passwords
16904 instead of just a single one
16906 * src/vpn-manager/nm-dbus-vpn.c:
16907 (nm_dbus_vpn_get_vpn_connection_properties): Also append service_name
16909 (nm_dbus_vpn_activate_connection): Rework to take an array of passwords
16911 * gnome/applet/vpn-password-dialog.h (nmwa_vpn_request_password):
16912 Change the interface here to give a list of passwords. Also, don't
16913 require username, but do require service
16915 * gnome/applet/vpn-password-dialog.c: Look up the VPN .name files for
16916 the binary for the auth-dialog and use that instead of putting up a
16917 dialog asking for a single password
16919 * gnome/applet/vpn-connection.[ch]: Don't remember the user_name,
16920 however do remember the service
16922 * gnome/applet/main.c (main): Setup i18n
16924 * gnome/applet/applet.c (nmwa_update_state): Add a line "VPN
16925 connection to '%s'" to the tooltip if we are connected using VPN
16926 (nmwa_menu_vpn_item_activate): Check last_attempt_success gconf
16927 key to determine whether we the auth-dialog needs to
16928 reprompt. Also cope with the fact that the auth-dialog now returns
16929 an array of passwords.
16930 (nmwa_menu_configure_vpn_item_activate): New handler for
16931 "Configure VPN..." menu item
16932 (nmwa_menu_add_vpn_menu): Add the "Configure VPN..." menu item
16933 (is_vpn_available): New function to determine if we got any
16934 NM-compatible VPN software installed
16935 (nmwa_menu_add_devices): Use is_vpn_available to add VPN menu
16936 items only if we have NM-compatible VPN software installed
16937 (nmwa_gconf_vpn_connections_notify_callback): Slightly rework the
16938 logic for detecting when VPN connections are removed
16940 * gnome/applet/applet-dbus.h: Removed the prototypes for
16941 nmwa_dbus_vpn_activate_connection, nmwa_dbus_vpn_deactivate_connection
16942 since these are defined elsewhere
16944 * gnome/applet/applet-dbus.c (set_vpn_last_attempt_status): New
16945 function used to keep track of whether the last attempt succeded
16946 (nmwa_dbus_filter): Update last_attempt according to whether the
16947 VPN connection could be established or not
16949 * gnome/applet/applet-dbus-vpn.h (nmwa_dbus_vpn_deactivate_connection):
16950 Change prototype to take an array of passwords, not just a single
16953 * gnome/applet/applet-dbus-vpn.c (nmwa_dbus_vpn_properties_cb): Only
16954 update service, not user
16955 (nmwa_dbus_vpn_remove_one_vpn_connection): Check that applet->
16956 dbus_active_vpn_name is not NULL before using it
16957 (nmwa_dbus_vpn_activate_connection): Send the passwords as a
16958 string array instead of assuming a single password
16960 * gnome/applet/applet-dbus-info.c:
16961 (nmi_dbus_get_vpn_connection_properties): Use the logged in user for
16962 user name; don't read from gconf
16964 * gnome/applet/Makefile.am: Also export SYSCONFDIR and
16967 * gnome/Makefile.am (SUBDIRS): Add vpn-properties
16969 * configure.in: Add checks for gmodule-2.0.
16970 Generate gnome/vpn-properties/Makefile. Don't generate any Makefile's
16971 in vpn-daemons nor vpn-daemons/vpnc. We have separate autotooled
16972 projects under vpn-daemons now. See vpn-daemons/vpnc/Changelog
16975 * vpn-daemons/Makefile.am: Removed
16977 * vpn-daemons/README: New file to describe extensions points for VPN
16980 2005-06-10 Dan Williams <dcbw@redhat.com>
16982 * src/backends/NetworkManagerRedHat.c
16983 - (get_current_profile_name): new function, grab current network profile name from
16984 /etc/sysconfig/network
16985 - (set_ip4_config_from_resolv_conf): new function, parse a resolv.conf and
16986 update an IP4 Config structure's settings from it
16987 - (nm_system_device_get_system_config): if we're using static IP on this device,
16988 get DNS info from current network profile
16990 2005-06-09 Dan Williams <dcbw@redhat.com>
16992 Patch from Robert Love:
16993 * src/NetworkManagerDevice.c
16994 src/NetworkManagerUtils.c
16995 - 64-bit build fixes
16997 2005-06-09 Dan Williams <dcbw@redhat.com>
16999 Patch from Kay Sievers and Robert Love:
17001 src/backends/Makefile.am
17002 src/backends/NetworkManagerSuSE.c
17005 2005-06-09 Dan Williams <dcbw@redhat.com>
17008 - Add NMWirelessScanMethod enum for scan methods
17010 * gnome/applet/applet-dbus-devices.c
17011 - (nmwa_dbus_update_scanning_enabled_cb): remove
17012 - (nmwa_dbus_update_scanning_enabled): remove
17013 - (nmwa_dbus_update_devices): don't call nmwa_dbus_update_scanning_enabled() anymore
17014 since it got removed
17015 - (nmwa_dbus_enable_scanning): remove
17017 * gnome/applet/applet-dbus-info.c
17018 - (nmi_dbus_signal_update_scan_method): new function, signal NetworkManager to
17019 update the wireless scanning method from NMI
17020 - (nmi_dbus_get_wireless_scan_method): new function, return wireless scanning
17021 method value to NetworkManager
17022 - (nmi_dbus_info_message_handler): respond to the "getWirelessScanMethod" method call
17024 * gnome/applet/applet-dbus-info.h
17025 - Add prototype for nmi_dbus_signal_update_scan_method
17027 * gnome/applet/applet.c
17028 - (scanning_menu_update): new function, update one GtkCheckMenuItem from the
17029 Wireless Scanning menu based on current wireless scan method
17030 - (nmwa_menu_scanning_item_activate): new function, callback for GTK "activate"
17031 signal for Wireless Scanning menu items, tell NetworkManager the new method
17032 and update our menu items to make sure the right one is checked
17033 - (nmwa_set_scanning_enabled_cb): remove
17034 - (nmwa_context_menu_update): remove references to pause_scanning_item
17035 - (nmwa_context_menu_create): remove pause_scanning_item, and add new Wireless
17037 - (nmwa_gconf_get_wireless_scan_method): new method, pull wireless scanning method
17039 - nmwa_gconf_networks_notify_callback -> nmwa_gconf_info_notify_callback: generalize
17040 so we get notified of preference values too
17041 - (nmwa_get_instance): monitor GCONF_PATH_WIRELESS rather than GCONF_PATH_WIRELESS_NETWORKS
17043 * gnome/applet/applet.h
17044 - GCONF_PATH_WIRELESS added, one level below GCONF_PATH_WIRELESS_NETWORKS
17045 - Add wireless scan method member to applet data
17046 - Remove pause_scanning_item, add Wireless Scanning submenu
17048 * src/NetworkManager.c
17049 - (nm_data_new): default to NM_SCAN_METHOD_ON
17050 - (main): grab scanning method from NMI if we can
17052 * src/NetworkManagerDbus.c
17053 - (nm_dbus_update_wireless_scan_method_cb): new function, callback from
17054 nm_dbus_update_wireless_scan_method()
17055 - (nm_dbus_update_wireless_scan_method): new function to grab scanning method
17057 - (nm_dbus_nmi_is_running): redundant function, removed
17058 - (nm_dbus_signal_filter): trap "WirelessScanMethodUpdate" signal, grab scanning method
17059 when NMI comes back
17061 * src/NetworkManagerDevice.c
17062 - (nm_device_is_activated): return TRUE if the device is activated
17063 - (nm_device_wireless_scan): don't scan if the scan method is OFF, or if its AUTO
17064 and we are activated
17067 - (nm_dbus_nm_set_scanning_enabled): removed
17068 - nm_dbus_nm_get_scanning_enabled -> nm_dbus_nm_get_wireless_scan_method
17069 - (nm_dbus_nm_methods_setup): remove [get | set] ScanningEnabled and add "getWirelessScanMethod"
17071 2005-06-09 Dan Williams <dcbw@redhat.com>
17074 src/vpn-manager/nm-vpn-service.c
17075 - NM_VPN_STATE_ERROR -> NM_VPN_STATE_UNKNOWN (more consistent with other enums)
17077 2005-05-27 Dan Williams <dcbw@redhat.com>
17079 * vpn-daemons/vpnc/nm-vpnc-service.c
17080 - (vpnc_watch_cb): wait a bit before trying to read vpnc's pidfile.
17081 Should fix the bug where the VPN connection terminates the first time.
17083 2005-05-20 Dan Williams <dcbw@redhat.com>
17086 - Differentiate VPN config signals between bad VPN config options
17089 * gnome/applet/applet-dbus-info.h
17090 - Add prototypes for wireless network and vpn connection update functions
17092 * gnome/applet/applet-dbus.c
17093 - (nmwa_dbus_filter): trap new VPN config error signals from NetworkManager
17095 * gnome/applet/applet.c
17096 - (nmwa_schedule_vpn_failure_dialog): new dialog text for new VPN config
17098 - (nmwa_gconf_networks_notify_cb): re-enable wireless network change notify
17099 propogation to NetworkManager
17100 - (nmwa_gconf_vpn_connections_notify_cb): re-enable vpn connection change
17101 notify propogation to NetworkManager
17103 * src/NetworkManagerDbus.c
17104 - (nm_dbus_update_one_allowed_network): make sure to specify which AP list we
17105 are updating so a network can be removed from it if necessary
17107 * src/vpn-manager/nm-vpn-manager.c
17108 - (nm_vpn_manager_process_signal): trap new vpn config error signals
17110 * vpn-daemons/vpnc/nm-vpnc-service.c
17111 - (nm_vpnc_dbus_signal_failure): generalize function for all VPN error signals
17112 - (nm_vpnc_dbus_signal_launch_failed): remove
17113 - (nm_vpnc_dbus_signal_connect_failed): remove
17114 - (nm_vpnc_helper_timer_cb): update for new generalized error signal function
17115 - (nm_vpnc_schedule_helper_timer): increase timeout to 10s
17116 - (vpnc_watch_cb): don't whine about exit code if vpnc exited cleanly, update
17117 for new generalized error signal function, remove config file stuff
17118 - (nm_vpnc_start_vpnc_binary): grab a stdin pipe to vpnc after spawning it so
17119 we can write configuration options to it
17120 - (nm_vpnc_config_file_generate): removed
17121 - (nm_vpnc_config_write): write configuration options to the vpnc stdin pipe
17122 - (nm_vpnc_config_options_validate): validate the config options we receive
17123 from NetworkManager to block potential exploits
17124 - (nm_vpnc_dbus_handle_start_vpn): call option validation function before
17126 - (nm_vpnc_dbus_process_helper_config_error): actually propogate config error
17129 2005-05-16 Dan Williams <dcbw@redhat.com>
17131 * vpn-daemons/vpnc/nm-vpnc-service-vpnc-helper.c
17132 - (main): Work correctly with vpnc 0.3.3 by exiting if the "reason" code
17135 2005-05-16 Dan Williams <dcbw@redhat.com>
17137 Patch from Tomislav Vujec <tvujec@redhat.com>
17138 * gnome/applet/applet-dbus-info.c
17139 - (nmi_dbus_get_vpn_connection_routes): new function, pull routes out of
17140 GConf and pass them to NetworkManager. New key is 'routes' under
17141 the VPN connection, and should be a string list
17143 * src/NetworkManagerSystem.c
17144 - (nm_system_vpn_device_set_from_ip4_config): if user-defined routes exist,
17145 set them on the device when we set the rest of the VPN config. Ensure
17146 they are in the correct format since they are passed directly to the
17149 * src/backends/NetworkManagerRedHat.c
17150 src/backends/NetworkManagerDebian.c
17151 - (nm_system_device_add_route_via_device_with_iface): new function
17153 * src/vpn-manager/nm-dbus-vpn.c
17154 - (nm_dbus_vpn_get_routes): grab VPN routes from NetworkManagerInfo
17156 * src/vpn-manager/nm-vpn-manager.c
17157 - (nm_vpn_manager_handle_ip4_config_signal): grab routes from NMI and pass
17158 them into the IP4 config functions
17160 2005-05-15 Dan Williams <dcbw@redhat.com>
17162 From Filip Miletic:
17166 - Serbian translation added
17168 2005-05-15 Dan Williams <dcbw@redhat.com>
17170 * dispatcher-daemon/NetworkManagerDispatcher.c
17171 - (main): sync arguments with NetworkManager and the applet, now use
17172 "--no-daemon" rather than "daemon=no"
17173 - (nmd_print_usage): Fix script path in usage message
17175 2005-05-15 Dan Williams <dcbw@redhat.com>
17177 * src/NetworkManagerDevice.[ch]
17178 src/NetworkManagerPolicy.c
17179 src/NetworkManager.c
17181 - Remove the "just_added" parameter from nm_device_deactivate(). We no
17182 longer send the DeviceNoLongerActive signal unconditionally, but only
17183 when the device is actually active.
17185 * dispatcher-daemon/NetworkManagerDispatcher.c
17186 - (nmd_execute_scripts): convert to GLib directory functions from opendir(),
17187 and simplify the logic
17188 - (nmd_get_device_name): copy value from dbus reply so we don't segfault when
17189 we free it later on
17191 * initscript/RedHat/Makefile.am
17192 initscript/RedHat/NetworkManagerDispatcher
17193 - Add initscript for NetworkManagerDispatcher
17196 Patch from Bill Moss:
17197 * dispatcher-daemon/NetworkManagerDispatcher.c
17198 - Remove IP4AddressChange signal code including nmd_get_device_ip4_address()
17200 * src/NetworkManagerDbus.c
17201 - (nm_dbus_signal_device_ip4_address_change): remove. If the device goes up,
17202 and DeviceNowActive gets signaled, then the device has a new IP address
17203 anyway. There's no need for a separate signal.
17205 * src/NetworkManagerDevice.c
17206 - (nm_device_update_ip4_address): Don't send IP4AddressChange signal
17208 * src/NetworkManagerPolicy.c
17209 - (nm_policy_activation_finish): Send DeviceNowActive signal when the device
17210 activates successfully. This kind of went missing when I reworked the
17213 2005-05-15 Dan Williams <dcbw@redhat.com>
17216 - Check for dhcdbd and error if its not found
17218 * src/dhcp-manager/Makefile.am
17219 src/dhcp-manager/nm-dhcp-manager.c
17220 - Use path to dhcdbd that configure found
17222 2005-05-14 Dan Williams <dcbw@redhat.com>
17224 * gnome/applet/nm-device.c
17225 - (network_device_sort_wireless_networks, sort_networks_function): New functions to
17226 sort wireless networks alphabetically
17228 * gnome/applet/applet-dbus-devices.c
17229 - (mwa_dbus_devices_lock_and_copy): Sort network device's wireless network lists
17230 before copying them over to the GUI
17232 2005-05-14 Dan Williams <dcbw@redhat.com>
17234 * src/NetworkManager.c
17235 - (device_stop_and_free): Deactivate VPN connections before deactivating devices,
17236 fixes a deadlock on shutdown with a VPN connection active. This function locks
17237 the device list, as does nm_get_active_device() which is called from
17238 nm_vpn_manager_deactivate_vpn_connection().
17240 2005-05-14 Dan Williams <dcbw@redhat.com>
17243 - Add signals for VPN Launch and Connect failures
17245 * gnome/applet/applet-dbus.c
17246 - (nmwa_dbus_filter): Trap new VPN launch & connect failure signals
17248 * gnome/applet/applet.c
17249 - (nmwa_show_vpn_failure_dialog): generalize old nmwa_show_vpn_login_failure_dialog()
17250 function to handle all VPN failure messages
17251 - (nmwa_schedule_vpn_failure_dialog): generalize old nmwa_schedule_vpn_login_failure_dialog()
17252 function to hanlde all VPN failure messages
17253 - (show_warning_dialog): work around focus-stealing prevention
17255 * gnome/applet/other-network-dialog.c
17256 gnome/applet/passphrase-dialog.c
17257 - (update_button_cb): Make sure the OK button is enabled when it should be, fixes
17258 problem where it never enabled for ASCII Key and Hex Key types
17260 * gnome/applet/wireless-applet.glade
17261 - Add window title to Other Wireless Network Dialog
17263 * src/vpn-manager/nm-dbus-vpn.c
17264 - (nm_dbus_vpn_signal_vpn_failed): generalize old nm_dbus_vpn_signal_vpn_login_failed()
17265 function to handle all VPN failure messages
17267 * src/vpn-manager/nm-vpn-manager.c
17268 - (nm_vpn_manager_process_signal): trap and proxy VPN launch & connect failure signals too
17270 * vpn-daemons/vpnc/nm-vpnc-service.c
17271 - (nm_vpnc_dbus_signal_launch_failed): new function
17272 - (nm_vpnc_dbus_signal_connect_failed): new function
17273 - (nm_vpnc_helper_timer_cb): signal connect failure on timeout
17274 - (vpnc_watch_cb): signal connection failure when vpnc exits with connection failure
17275 - (nm_vpnc_start_vpnc_binary): search a number of locations for vpnc
17276 - (nm_vpnc_dbus_handle_start): send launch failure signal when we fail to launch vpnc
17278 2005-05-11 Dan Williams <dcbw@redhat.com>
17280 * vpn-daemons/vpnc/nm-vpnc-service.c
17281 - (nm_vpnc_start_vpnc_binary): NULL-ify GError before using it
17282 - (nm_vpnc_config_file_generate): Attempt to ensure that the path for the config
17283 file exists before trying to write it out.
17285 2005-05-10 Dan Williams <dcbw@redhat.com>
17287 * gnome/applet/applet-dbus-device.c
17288 - (nmwa_dbus_set_device): remove check for valid key and key type, which
17289 prevented just entering ESSID and leaving key and key type up to
17290 NetworkManager (which should have them already cached)
17292 2005-05-08 Dan Williams <dcbw@redhat.com>
17294 * src/NetworkManagerPolicy.c
17295 - (nm_policy_activation_finish): Don't set NM_ACT_STAGE_ACTIVATED here, instead...
17296 - (nm_policy_schedule_activation_finish): Set NM_ACT_STAGE_ACTIVATED here to
17297 fix a situation where NM is told to terminate and the device stops activation,
17298 but the main thread isn't aware of that because it would never have run
17299 nm_policy_activation_finish() to set the ACTIVATED flag, because the main loop
17302 * src/NetworkManagerDevice.c
17303 - (nm_device_probe_wired_link_state): cosmetic fixes
17304 - (nm_device_activate_stage5_ip_config_commit): Don't check link state if
17305 we've failed to activate or been canceled.
17306 - (nm_ac_test): nm_debug -> nm_info for "waiting for device to cancel" message
17308 2005-05-08 Dan Williams <dcbw@redhat.com>
17310 * src/NetworkManagerWireless.c
17311 - (nm_wireless_qual_to_percent): Fix #if -> #ifdef, print out the "updated"
17312 value of WEXT quality structures, and add a debug message when we cannot
17313 determine any quality % at all
17315 2005-05-08 Dan Williams <dcbw@redhat.com>
17317 * src/dhcp-manager/nm-dhcp-manager.c
17318 - (nm_dhcp_manager_begin_transaction): Tell dhclient to release leases when
17321 2005-05-06 Dan Williams <dcbw@redhat.com>
17323 * gnome/applet/applet-dbus-device.c
17324 gnome/applet/applet-dbus-info.c
17325 gnome/applet/applet-dbus.c
17326 gnome/applet/applet.c
17327 gnome/applet/applet.h
17328 - (nmwa_get_device_for_nm_device) -> (nmwa_get_device_for_nm_path)
17330 * gnome/applet/applet-dbus.c
17331 - (nmwa_dbus_filter): trap DeviceCarrierOn/DeviceCarrierOff signals
17332 so we notice when wired device's carriers come back on. Should
17333 fix issue with wired devices being grayed out even if the cable
17334 is in, for devices that support carrier detection.
17336 * gnome/applet/applet.c
17337 - (nmwa_driver_notify): bash focus-stealing prevention in the face
17338 - (nmwa_act_stage_to_pixbuf): Clarify wireless ACT_STAGE_DEVICE_CONFIG
17340 - (nmwa_menu_item_activate, nmwa_menu_add_device_item, nmwa_menu_item_data_free):
17341 Fix situation where applet wouldn't respond to menu selections
17343 * src/NetworkManager.c
17344 src/NetworkManagerDevice.c
17345 src/NetworkManagerDbus.c
17346 src/NetworkManagerDbus.h
17347 - (nm_dbus_signal_device_status_change) -> (nm_dbus_schedule_device_status_change_signal)
17349 * src/NetworkManagerDbus.c
17350 - (nm_dbus_send_network_not_found, nm_dbus_schedule_network_not_found_signal):
17351 Remove, no longer used or relevant
17352 - (nm_dbus_signal_device_status_change): Better signal enum->string matching
17353 - (nm_dbus_schedule_device_status_change_signal): add
17355 * src/NetworkManagerDevice.c
17356 - (nm_device_worker_thread_stop): don't try to join a NULL worker thread
17357 - (nm_device_set_link_active): Fix up switching for non-carrier-detect devices,
17358 ie don't deactivate them unless explicitly told to by the user. Also send
17359 CARRIER_OFF / CARRIER_ON signals when link changes
17360 - (nm_device_set_essid, nm_device_set_enc_key, nm_device_is_up, nm_device_set_mode):
17361 Don't print error message when device is no longer around
17362 - (nm_device_deactivate): kill any current DHCP process attached to this device,
17363 not just during activation
17365 * src/NetworkManagerPolicy.c
17366 - (nm_policy_auto_get_best_device): Ignore semi-supported devices completely from
17367 auto-device-selection.
17368 - (nm_policy_device_change_check): Don't interrupt semi-supported devices
17370 * src/NetworkManagerSystem.c
17371 - (nm_system_device_set_up_down_with_iface): Quiet first warning message when device
17372 is no longer present (Bill Moss)
17374 * src/backends/shvar.c
17375 - (svOpenFile): Open read-only to make SELinux happy
17377 * src/backends/NetworkManagerRedHat.c
17378 - (nm_system_device_get_system_config): Use SYSCONFDIR rather than hardcoding
17379 the path to the ifcfg-* files
17381 2005-05-05 Dan Williams <dcbw@redhat.com>
17383 * Expose activation stages to NetworkManager clients, like the applet
17384 * Add Diana's progress icons to the applet, cued off NM activation stage
17385 * Use more descriptive tooltips, cued off NM activation stage
17387 2005-05-05 Ray Strode <rstrode@redhat.com>
17389 * src/nm-netlink-monitor.c:
17390 - Use clear_event_source instead of g_nullify_pointer() again.
17392 2005-05-05 Dan Williams <dcbw@redhat.com>
17394 * gnome/applet/main.c
17395 - Fix session management so the applet is actually managed now
17397 * gnome/applet/passphrase-dialog.c
17398 - (nmi_passphrase_dialog_show): bash focus-stealing prevention in the face
17400 2005-05-05 Dan Williams <dcbw@redhat.com>
17402 Patch from Bill Moss:
17403 * gnome/libnm_glib/libnm_glib.c
17404 - Fix for dbus-0.33
17406 2005-05-05 Dan Williams <dcbw@redhat.com>
17408 Suggestion from Bill Moss:
17409 * src/NetworkManagerSystem.c
17410 - (nm_system_device_set_up_down_with_iface): ignore ENODEV
17413 * src/NetworkManager.c
17414 - (nm_data_free): move destruction of the various managers after
17415 release of device list, because deactivating and freeing a device
17416 requires at least the named manager
17417 - (nm_poll_and_update_wireless_link_state):
17418 (nm_device_link_activated):
17419 (nm_device_link_deactivated):
17420 don't grab the device list lock when actually updating device
17421 link status or strength, since nm_device_set_link_active()
17422 needs to call nm_get_active_device(), which also locks the device list.
17424 * src/NetworkManagerDevice.c
17425 - (nm_device_set_link_active): if a device's link switches from off->on,
17426 and it's wired, and the active device is wireless (or there is no
17427 active device), activate the new device whose link just came on
17428 - (link_to_specific_ap): try to smooth over intermittency in wireless links
17429 my only calling the link to the current ap "failed" when more than 2
17430 consecutive link checks have failed
17432 2005-05-04 Dan Williams <dcbw@redhat.com>
17434 * src/NetworkManagerDevice.c
17435 - (nm_device_probe_wireless_link_state): don't lock the scan mutex here
17436 but let link_to_specific_ap() do the locking where it needs
17438 Patch from Bill Moss:
17439 * src/NetworkManagerSystem.c
17440 - Set MTU of VPN devices to 1412
17442 2005-05-04 Dan Williams <dcbw@redhat.com>
17444 * Remove NM_STATE_SCANNING from NetworkManager.h and applet code
17446 * Fix some holes in device activation and retaining the currently connected
17449 2005-05-03 Dan Williams <dcbw@redhat.com>
17451 * Kill dhcpcd. We now use "dhcdbd", a dbus daemon that controls dhclient.
17452 This means that NetworkManager shouldn't have DHCP issues anymore. It also
17453 means you need dhcdbd, which you can get here (get the latest one):
17455 http://people.redhat.com/jvdias/dhcdbd/
17457 Technically NetworkManager can use any DHCP daemon that uses the same DBUS
17458 interface as dhcdbd.
17460 * Rewrite device activation to facilitate the new DHCP infrastructure and
17461 future improvements. Its now "activation request" based, ie there is a single
17462 activation request composed of the device, access point, and other info which
17463 follows the entire activation process. There are 5 stages of the activation
17464 process which correspond to:
17466 1) Device preparation
17467 2) Device configuration (bring it up, set ESSID/Key/etc)
17468 3) IP Config Start (fire off DHCP if we're using it)
17469 4) IP Config Get (grab config from DHCP or static config files)
17470 5) IP Config Commit (set device's IP address, DNS, etc)
17472 Note that there is no longer a "scanning" step, since the access point must
17473 be known _before_ activation starts. If the access point drops out or does
17474 not exist for some reason, the entire activation process fails and must be
17475 restarted for a different access point or device.
17477 Patch from Bill Moss:
17478 * gnome/applet/applet.c
17479 - Fix type of vpn_failure dialog -> vpn_banner dialog
17481 2005-04-27 Dan Williams <dcbw@redhat.com>
17483 * gnome/applet/applet-dbus-vpn.c
17484 gnome/applet/applet.c
17485 gnome/applet/applet.h
17486 - Fix up active VPN handling so that we reliably know when a VPN
17487 connection has been deactivated
17489 * src/vpn-manager/nm-vpn-manager.c
17490 - Remove duplicate VPNConnectionChange signal
17492 2005-04-27 Dan Williams <dcbw@redhat.com>
17494 Patch from Peter Jones:
17495 * Remove usage of varargs to fix crashes on PPC (RH #154336)
17497 Patch from Bill Moss:
17498 * src/NetworkManagerSystem.c
17499 - Fix checking of return value from ioctl()
17501 2005-04-27 Dan Williams <dcbw@redhat.com>
17503 * Fix choosing of wireless networks and "Other wireless network..." from the applet
17504 * Warn and exit if icons cannot be found
17506 2005-04-27 Dan Williams <dcbw@redhat.com>
17508 Patch from Tom Parker:
17509 * Update debian backend
17511 2005-04-27 Dan Williams <dcbw@redhat.com>
17513 * Merge the applet and the info-daemon, and move the converged
17514 applet under gnome/applet
17515 * Move libnm_glib to gnome/libnm_glib
17516 * Convert most dbus calls between the applet, info-daemon, and NM
17518 * Fix a few things valgrind noticed
17519 * Make NM broadcast state more reliably
17521 2005-04-22 Pawan chitrakar <pawan@nplinux.org>
17523 * configure.in: Added ne in ALL_LINGUAS
17525 2005-04-15 Dan Williams <dcbw@redhat.com>
17527 * libnm_glib/libnm_glib: Fix up for dbus-0.32, and remove
17528 code for dbus 0.2x versions
17530 2005-04-15 Dan Williams <dcbw@redhat.com>
17532 Patches from Tom Parker:
17534 - Join with worker thread rather than polling for its exit
17536 Patch from Bill Moss:
17537 - Cull duplicate ESSIDs from the scan list, taking highest strength AP
17539 2005-04-15 Dan Williams <dcbw@redhat.com>
17541 - Fixes to pass 'make distcheck'
17543 2005-04-15 Dan Williams <dcbw@redhat.com>
17545 Initial VPN Support
17547 - reworks device IP configuration, backend files have changed and will need
17548 to be updated for all distributions. I will try to do what I can for
17549 them, but I cannot test them.
17551 - Move named directory to src/named-manager
17552 - Make backends directory self-contained
17554 2005-04-06 Dan Williams <dcbw@redhat.com>
17556 Add debug code for socket/file descriptor leaks. We register every socket
17557 that we open (except for stuff in dhcpcd/) for tracking, and print out the
17558 list of sockets that we forgot to close on shutdown. This also consolidates
17559 about 4 places where we opened sockets into 1 function in NetworkManagerUtils.c
17561 2005-04-06 Dan Williams <dcbw@redhat.com>
17564 - (dhcp_interface_free): fix a file descriptor leak that may have
17565 caused network drivers to not unload due to refcounts > 0
17567 2005-04-04 Dan Williams <dcbw@redhat.com>
17569 * panel-applet/NMWirelessAppletDbus.c
17570 - (nmwa_dbus_call_nm_method): remove some commented code
17572 * src/NetworkManagerAPList.[ch]
17573 - (nm_ap_list_remove_ap_by_essid): new function
17575 * src/NetworkManagerDevice.c
17576 - (nm_device_wireless_force_use): remove access points from the ignore list
17577 when the user forces them
17579 * src/nm-dbus-device.c
17580 - (nm_dbus_device_get_active_network): fix up escaping of object paths
17582 2005-04-04 Dan Williams <dcbw@redhat.com>
17584 Patch from Tom Parker: include "nm-utils.h" for backend files that need it
17586 2005-04-04 Dan Williams <dcbw@redhat.com>
17588 * src/NetworkManagerDevice.c:
17589 - (nm_completion_scan_has_results): restore pre-completion-patch behavior
17590 of only erroring after the second consecutive scan times out. Also
17591 don't exit when the card requires more time than we can give it, just
17592 log the event and continue.
17594 2005-04-01 Steve Murphy <murf@e-tools.com>
17596 * configure.in: Added "rw" to ALL_LINGUAS.
17598 2005-04-01 Dan Williams <dcbw@redhat.com>
17600 Perform scans during device activation, if needed. Both activation
17601 and scans run in the same GMainContext. Therefore, if an access point
17602 is not found by the time the device starts activation, it will not
17603 be available until after activation. We now try to scan during
17604 activation (in nm_wa_test) every 15s so that all available access
17605 points are more likely to be found and available for the activation
17608 Also change nm_wireless_link_state_handle() to only update the "best"
17609 AP if we are not forcing a device and if we are not about to change
17610 state. This attempts to work around a race when forcing a device,
17611 where the forced AP would get cleared out too soon by the link state
17612 checking timeout in the main thread, and the activation attempt with
17613 that AP would fail.
17615 2005-04-01 Dan Williams <dcbw@redhat.com>
17618 - Update with new translatables
17620 2005-03-31 Dan Williams <dcbw@redhat.com>
17622 * panel-applet/NMWirelessAppletDbus.c
17623 - Fix device names now that hal has changed device parenting for
17626 2005-03-31 Dan Williams <dcbw@redhat.com>
17628 Tighten up handling of wireless devices that don't support wireless
17629 scanning (ie, Orinoco). Due to restructuring of code, these devices
17630 hadn't been doing pseudo-scanning for a while either and would just
17631 spin waiting for an access point. They are now manual devices where
17632 the user must choose the access point from the menu every time. All
17633 "allowed" access points are listed in the applet's menu regardless
17634 of whether or not they can be seen by the card, since it can't scan
17637 * src/NetworkManager.c
17638 - (nm_wireless_link_state_handle): new function, but only update
17639 the "best" ap for non-scanning devices when its not activating,
17640 and when no device is being forced on the card
17641 - (nm_link_state_monitor): split wireless link state handling out
17642 into separate function
17644 * src/NetworkManagerDevice.c
17645 - (nm_device_copy_allowed_to_dev_list): new function
17646 - (nm_device_new): populate non-scanning cards' AP lists with
17647 access points from the "allowed" list
17648 - (nm_device_new): don't start a scanning timeout for devices that
17650 - (nm_device_activation_schedule_finish): new parameter, should be
17651 the AP that failed to be connected to, pass it on to the
17652 activation finish function in NetworkManagerPolicy.c
17653 - (nm_device_activate_wireless): don't ever try to get a new AP
17654 for non-scanning devices, just fail. The user must choose
17655 a new access point manually.
17656 - (nm_device_activate): grab the AP that failed connection and
17658 - (nm_device_update_best_ap): Clear the best AP if we don't have
17659 a link to it, user must manually choose a new one
17660 - (nm_device_do_pseudo_scan): remove function
17661 - (nm_device_wireless_process_scan_results): remove bits for non-
17662 scanning cards since they never get here
17663 - (nm_device_wireless_scan): remove bits for non-scanning devices,
17664 and fake the scan list for test devices a bit earlier
17666 * src/NetworkManagerPolicy.c
17667 - (nm_policy_activation_finish): use the failed_ap that we get
17668 passed rather than getting the best_ap from the card, which
17669 may have changed since we were scheduled
17670 - (nm_policy_allowed_ap_list_update): for non-scanning devices,
17671 update their scan list directly from the allowed list when
17672 we get updates to the allowed list from NetworkManagerInfo
17674 * src/NetworkManagerPolicy.h
17675 - New member for failed access point in NMActivationResult
17677 -------------------------------------
17679 Driver Notification patch: notifies the user when their driver
17680 sucks. Gives them the option to ignore further insertions
17681 of the card that has the sucky driver.
17684 - Remove the SEMI_SUPPORTED member from the NMDriverSupportLevel
17685 enum and replace it with NO_CARRIER_DETECT and
17688 * panel-applet/NMWirelessApplet.[ch]
17689 - Merge essid.glade -> wireless-applet.glade
17690 - Implement the "Your driver sucks" notification dialog
17692 * panel-applet/NMWirelessAppletDbus.c
17693 - Change stuff from getSupportsCarrierDetect->getDriverSupportLevel
17694 - Grab hardware address for each device from NM too
17695 - Check whether the driver for each device sucks or not whenever
17696 a new device is noticed
17698 * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17699 - Deal with stuff being in wireless-applet.glade now rather than essid.glade
17701 * src/NetworkManager.c
17702 - Fix a double-unref on device removal
17704 * src/NetworkManagerUtils.c
17705 - Set appropriate driver support level on a device that doesn't
17706 support scanning or carrier detection
17708 * src/nm-dbus-device.c
17709 - New "getHWAddress" dbus method on devices
17710 - getSupportsCarrierDetect -> getDriverSupportLevel
17712 2005-03-31 Dan Williams <dcbw@redhat.com>
17714 * src/NetworkManagerDevice.c
17715 - (nm_device_wireless_scan): Fix leak of scan results in some
17718 2005-03-29 Dan Williams <dcbw@redhat.com>
17720 * src/NetworkManager.c
17721 - (nm_poll_and_update_wireless_link_state): make code less indented
17723 Patch from Bill Moss:
17724 * src/NetworkManager.c
17725 - (nm_device_update_link_state): Update signal strength on wireless
17726 devices every time we update link state too.
17728 2005-03-29 Dan Williams <dcbw@redhat.com>
17730 * src/NetworkManagerDevice.c
17731 - (nm_device_set_essid): Work around Orinoco cards which need
17732 extra time after setting the ESSID
17734 2005-03-29 Dan Williams <dcbw@redhat.com>
17736 * src/NetworkManagerDevice.c
17737 - Merge one more bit of Peter Jones' completion patch
17739 2005-03-29 Dan Williams <dcbw@redhat.com>
17741 * src/NetworkManagerDevice.c
17742 - (nm_device_force_use): Fix possible segfault
17744 2005-03-29 Dan Williams <dcbw@redhat.com>
17746 * src/NetworkManagerDevice.c
17747 - Use iw_get_ext() where we should rather than iw_set_ext()
17749 2005-03-29 Dan Williams <dcbw@redhat.com>
17751 * src/NetworkManagerDevice.c
17752 - (nm_device_set_up_down): remove check for unsupported devices
17753 that caused NM to not bring devices up when they were
17754 added to the device list.
17756 2005-03-28 Dan Williams <dcbw@redhat.com>
17758 * src/NetworkManagerDevice.c
17759 - (mdio_read): Fix two bugs that caused all devices to fail
17760 the MII carrier detection support checks
17762 2005-03-26 Dan Williams <dcbw@redhat.com>
17764 * src/NetworkManagerDevice.c
17765 - (nm_device_wireless_scan): Remove duplicated scanning code
17767 2005-03-25 Dan Williams <dcbw@redhat.com>
17769 * panel-applet/NMWirelessApplet.c
17770 - (nmwa_about_cb): Add some more contributors
17771 - (nmwa_update_state): show the applet when there's no connection
17772 - Enable the "Stop/Resume all wireless devices" option in the
17774 - New "no connection" icon
17776 * src/NetworkManager.c
17777 - (nm_poll_and_update_wireless_link_state): don't do anything if
17778 wireless is disabled or we're asleep
17780 * src/NetworkManagerDHCP.c
17781 - Remove trailing "\n" on debug messages
17783 * src/NetworkManagerDbus.c
17784 - (nm_dbus_network_status_from_data): new state "asleep"
17786 * src/NetworkManagerDevice.c
17787 - Merge most of Peter Jones' "completion" patch that greatly reduces
17788 latency and wait times for most operations
17789 - (nm_device_wireless_scan): Don't scan when asleep
17791 * src/NetworkManagerPolicy.c
17792 - (nm_policy_get_best_device): return no device when asleep
17793 - (nm_policy_allowed_ap_list_update): From Bill Moss: merge properties
17794 for all wireless devices on update, not just active device
17796 * src/NetworkManagerUtils.c
17797 - Merge Peter Jones' "completion" patch
17800 - (nm_dbus_nm_set_wireless_enabled): bring down wireless devices when
17801 we're told to disable them
17802 - (nm_dbus_nm_sleep, nm_dbus_nm_wake): new functions for sleep/wake
17805 - New variants of the warn/info/error/debug print functions that can take
17806 variables rather than static strings
17808 2005-03-24 Dan Williams <dcbw@redhat.com>
17810 * src/NetworkManagerUtils.c
17811 - (nm_get_device_driver_name): driver names are now on the parents of
17812 "Network Interface" objects, so look for them there
17814 2005-03-24 Dan Williams <dcbw@redhat.com>
17817 - Escape some forgotten object paths before we shove them through dbus
17819 2005-03-24 Dan Williams <dcbw@redhat.com>
17821 * dhcpcd/dhcpcd.[ch]
17822 src/NetworkManagerDHCP.c
17823 - Switch names from "*_record_*" -> "*_element_*" to clarify things a bit
17824 (ie, dhcp_option_record_len -> dhcp_option_element_len)
17826 * src/NetworkManagerDbus.c
17829 * src/nm-dbus-dhcp.c
17830 - Make the API suck less. There is now only 1 type of each function,
17831 ie only "getInteger" and no longer also "getIntegerv". All types
17832 are returned encapsulated in a DBUS_TYPE_ARRAY, even for options
17833 that will never have more than 1 element. This should simplify
17836 * test/nm-dhcp-opt-test.c
17837 - Make the tool not segfault
17838 - adapt to new DHCP Options API
17840 2005-03-22 Dan Williams <dcbw@redhat.com>
17842 * src/NetworkManager.c
17843 - (nm_wired_link_deactivated): actually ignore netlink events from
17846 2005-03-22 Dan Williams <dcbw@redhat.com>
17848 * src/NetworkManager.c
17849 - (nm_wired_link_activated): actually ignore netlink events from
17852 2005-03-17 Dan Williams <dcbw@redhat.com>
17854 Patch from Tom Parker:
17855 * src/nm-netlink-monitor.c
17857 * info-daemon/NetworkManagerInfoDbus.c
17858 - (nmi_dbus_update_network_auth_method): free GConf values
17860 Patch from Nathaniel McCallum <npmccallum@gentoo.org>:
17861 * src/NetworkManagerDevice.c
17862 - (nm_device_set_wireless_config): wait for successful
17863 association longer for some cards (Atheros a/b/g)
17865 2005-03-15 Ray Strode <rstrode@redhat.com>
17867 * src/NetworkManager.c:
17868 (sigterm_pipe_handler):
17871 2005-03-15 Ray Strode <rstrode@redhat.com>
17873 * src/NetworkManagerDbus.c:
17874 Fix some sign weirdness that gcc4 doesn't like,
17875 and add a header file so PPC can hopefully find
17878 2005-03-14 Ray Strode <rstrode@redhat.com>
17880 Fourth (probably working) cut at porting to
17881 dbus 0.30 api and new hal. This cut adds
17882 some new logging macros to make debugging
17885 * dispatcher-daemon/NetworkManagerDispatcher.c:
17886 * info-daemon/NetworkmanagerInfo.c:
17887 * info-daemon/NetworkManagerInfoPassphraseDialog.c:
17888 * info-daemon/NetworkManagerInfoVPN.c:
17889 * src/NetworkManager.c:
17890 * src/NetworkManagerAP.c:
17891 * src/NetworkManagerAPList.c:
17892 * src/NetworkManagerDHCP.c:
17893 * src/NetworkManagerDbus.c:
17894 * src/NetworkManagerDevice.c:
17895 * src/NetworkManagerPolicy.c:
17896 * src/NetworkManagerSystem.c:
17897 * src/NetworkManagerUtils.c:
17898 * src/NetworkManagerWireless.c:
17900 * src/nm-dbus-nm.c:
17901 * src/backends/NetworkManagerDebian.c:
17902 * src/backends/NetworkManagerGentoo.c:
17903 * src/backends/NetworkManagerRedHat.c:
17904 * src/backends/NetworkManagerSlackware.c:
17905 use new logging macros.
17907 * dispatcher-daemon/NetworkManagerDispatcher.c:
17908 (nmd_dbus_filter): s/dbus_free/g_free/
17910 * info-daemon/Makefile.am: link in utils library.
17911 * info-daemon/NetworkmanagerInfo.c: use new logging
17913 (nmi_dbus_get_network): don't assume enumerations
17915 (nmi_dbus_nmi_message_handler): don't free what
17916 doesn't belong to us.
17918 * libnm_glib/libnm_glib.c:
17919 (libnm_glib_get_nm_status):
17920 (libnm_glib_init): don't free what doesn't
17922 (libnm_glib_dbus): strdup result, so it doesn't get
17923 lost when message is unref'd.
17925 * panel-applet/NMWirelessAppletDbus.c:
17926 (nmwa_dbus_update_devices): s/dbus_free/g_free/
17928 * src/NetworkManager.c:
17929 (nm_monitor_wired_link_state): request initial status
17930 dump of all cards when we start up, instead of relying
17931 on /sys/.../carrier.
17932 (nm_info_handler), (nm_set_up_log_handlers):
17933 log handlers to specify what syslog priorites
17934 the logging macros default to.
17936 * src/NetworkManagerAPList.c:
17937 (nm_ap_list_populate_from_nmi):
17938 s/dbus_free_string_array/g_strfreev/
17940 * src/NetworkManagerDbus.c:
17941 (nm_dbus_get_network_object):
17942 validate d-bus message argument types.
17943 Advance message iterator after reading argument,
17944 prepend instead of append to GSList.
17946 * src/NetworkManagerDevice.c:
17947 (nm_device_probe_wired_link_status):
17948 remove redundant /sys in /sys path. remove wrong
17949 contents == NULL means has carrier assumption.
17951 * src/nm-netlink-monitor.c
17952 (nm_netlink_monitor_request_status): implement
17953 function to ask kernel to dump interface link
17954 status over netlink socket.
17956 * test/*.c: s/dbus_free/g_free/
17958 * utils/nm-utils.h:
17959 (nm_print_backtrace): new macro to print backtrace.
17960 (nm_get_timestamp): new macro to get sub-second precise
17962 (nm_info), (nm_debug), (nm_warning), (nm_error):
17963 new logging functions. nm_info just prints,
17964 nm_debug includes timestamp and function,
17965 nm_warning includes function, nm_error includes
17966 backtrace and sigtrap.
17968 2005-03-11 Ray Strode <rstrode@redhat.com>
17970 Third (unfinished, partially working) cut at porting to
17971 dbus 0.30 api and new hal.
17973 * info-daemon/NetworkManagerInfoDbus.c:
17974 don't free null arrays.
17976 * panel-applet/NMWirelessAppletDbus.c:
17977 * src/nm-dbus-device.c:
17978 * src/nm-dbus-net.c:
17979 * src/NetworkManagerDbus.c: more
17980 STRING -> OBJECT_PATH fun
17981 * src/NetworkManagerDevice.c:
17982 * src/NetworkManagerDevice.h:
17983 (rename nm_device_get_link_active): rename to
17984 nm_device_has_active_link
17985 (nm_device_wireless_link_active): rename to
17986 nm_device_probe_wireless_link_state
17987 (nm_device_wired_link_active): rename to
17988 nm_device_probe_wired_link_state. Rewrite to
17989 use carrier file since hal doesn't maintain
17990 link state anymore.
17991 (nm_device_update_link_active): rename to
17992 nm_device_update_link_state
17993 * src/NetworkManagerPolicy.c
17994 (nm_policy_activation_finish): check for NULL
17998 * src/NetworkManagerMain.h:
17999 * src/NetworkManager.c:
18000 * src/nm-netlink-monitor.c:
18001 * src/nm-netlink-monitor.h: New class to support
18002 monitoring wired ethernet link status, since HAL
18003 doesn't export that information anymore.
18005 2005-03-09 Ray Strode <rstrode@redhat.com>
18007 Second (unfinished, unworking) cut at porting to
18010 * dispatcher-daemon/NetworkManagerDispatcher.c:
18011 * info-daemon/NetworkManagerInfoDbus.c:
18012 * panel-applet/NMWirelessAppletDbus.c:
18013 * src/NetworkManagerDbusUtils.c:
18014 * src/NetworkManagerDbusUtils.h:
18015 * src/nm-dbus-device.c:
18016 * src/nm-dbus-nm.c:
18017 * test/nmtest.c: support dbus "object path" type
18021 * info-daemon/Makefile.am:
18022 * libnm_glib/Makefile.am:
18023 * panel-applet/Makefile.am:
18024 * dispatcher-daemon/Makefile.am
18026 * test/Makefile.am:
18027 * utils/Makefile.am:
18028 * utils/nm-utils.c:
18029 * utils/nm-utils.h: new utils static lib
18031 2005-03-07 Ray Strode <rstrode@redhat.com>
18033 * info-daemon/NetworkManagerInfoDbus.c:
18034 * libnm_glib/libnm_glib.c:
18035 * panel-applet/NMWirelessAppletDbus.c:
18036 * src/NetworkManager.c:
18037 * src/NetworkManagerDbus.c:
18038 * src/NetworkManagerDevice.c:
18039 * src/NetworkManagerUtils.c:
18040 * src/nm-dbus-device.c:
18041 * src/nm-dbus-dhcp.c:
18042 * src/nm-dbus-net.c:
18043 * src/nm-dbus-nm.c:
18044 * test/nminfotest.c:
18045 First (unfinished, unworking) cut at porting to dbus 0.30 api.
18047 2005-03-04 Dan Williams <dcbw@redhat.com>
18052 2005-03-04 Dan Williams <dcbw@redhat.com>
18054 Patch from Peter Jones:
18055 - Make stuff work with gcc 4.0
18057 2005-02-28 Maxim Dziumanenko <mvd@mylinux.com.ua>
18059 * uk.po: Added "uk" (Ukrainian) to ALL_LINGUAS.
18061 2005-02-27 Jim Huang <jserv@kaffe.org>
18063 * configure.in: Added "zh_TW" (Traditional Chinese) to ALL_LINGUAS.
18065 2005-02-27 Dan Williams <dcbw@redhat.com>
18067 Patch from Bill Moss:
18068 * panel-applet/NMWirelessAppletDbus.c
18069 - Make sure strength for current access point is up-to-date when we
18070 update the gui data model
18072 2005-02-27 Alessio Frusciante <algol@firenze.linux.it>
18074 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
18076 2005-02-27 Dan Williams <dcbw@redhat.com>
18078 * src/backends/NetworkManagerRedHat.c
18079 - (nm_system_init): Kill any dhclient processes lying around as well
18080 as stopping 'nifd' if its already been started. NetworkManager
18081 subsumes the functions of nifd (kicking mDNSResponder, autoip)
18083 2005-02-27 Dan Williams <dcbw@redhat.com>
18085 * panel-applet/NMWirelessApplet.c
18086 - (nmwa_destroy): Really mean to destroy GUI data model first, then
18087 dbus data model, not the GUI data model twice.
18089 2005-02-27 Dan Williams <dcbw@redhat.com>
18091 * panel-applet/NMWirelessApplet.[ch]
18092 panel-applet/NMWirelessAppletDbus.[ch]
18093 - Move to incremental network updates. Instead of blowing away our list
18094 of devices every time we get a signal from NetworkManager, we now
18095 incrementally add/remove networks when NetworkManager notifies us that
18096 a new network has appeared or disappered. Strength updates now happen
18097 on-the-fly for each access point as well. There are now two copies of
18098 data from NetworkManager: one for the dbus side, and one for the gui side.
18099 When the dbus side data is modified, it is copied over to the gui side
18100 so we don't have to hold the data_mutex for long periods of time (and
18101 therefore block animation of the applet's icon).
18102 - Clean up some memleaks too
18104 * panel-applet/NMWirelessAppletOtherNetworkDialog.c
18105 - Minor code beautification
18107 * src/NetworkManagerAPList.c
18108 - (nm_ap_list_merge_scanned_ap): return whether or not the access point is
18109 completely new and whether or not an existing one's strength was updated.
18110 Try to fix multiple access points and signal strength by using the highest
18111 signal strength in each scan for any given ESSID.
18113 * src/NetworkManagerDbus.[ch]
18114 - (nm_dbus_signal_wireless_network_change): consolidate signals that deal with
18115 wireless networks; now we have only WirelessNetworkUpdate which includes
18116 a UINT32 for Appeared, Disappeared, or StrengthChanged (see NetworkManager.h).
18117 - Kill usage of DbusMessageIter
18119 * src/NetworkManagerDevice.c
18120 - (nm_device_wireless_process_scan_results): Use the same timestamp for all APs
18121 in the same scan result list. Copy ESSIDs-by-address earlier on, for each
18122 AP rather than all-at-once. Also don't ever remove the AP a card is
18123 currently associated with from the network list.
18124 - Update for new signals during scan, send out Appeared, Disappeared, or
18125 StrengthChanged when necessary.
18127 2005-02-25 Dan Williams <dcbw@redhat.com>
18130 - Line break the README
18132 2005-02-25 Dan Williams <dcbw@redhat.com>
18134 * panel-applet/NMWirelessAppletOtherNetworkDialog.c
18135 - Remove usage of gtk_window_set_default_size()
18137 * panel-applet/essid.glade
18138 - Stick default size here
18139 - Add in random crap that current glade wants to add in now
18141 2005-02-25 Dan Williams <dcbw@redhat.com>
18143 * src/backends/NetworkManagerRedHat.c
18144 - For non-caching-nameserver/non-named case, ensure that nscd is running
18145 and that we actually tell nscd to reload the hosts cache when it changes
18147 2005-02-25 Dan Williams <dcbw@redhat.com>
18149 * info-daemon/NetworkManagerInfoDbus.c
18150 - (nmi_dbus_get_network_properties): whack usage of DbusMessageIter
18152 * test/nminfotest.c
18153 - Whack usage of DbusMessageIter
18154 - Clean up DbusError and DbusMessage handling and freeing
18155 - Remove unused unregister handler
18158 - Whack usage of DbusMessageIter
18160 * test/nmtestdevices.c
18161 - Whack usage of DbusMessageIter
18163 2005-02-25 Dan Williams <dcbw@redhat.com>
18166 - New signal type NMNetworkStatus in preparation for the "WirelessNetworkUpdate"
18169 2005-02-25 Dan Williams <dcbw@redhat.com>
18171 * named/nm-named-manager.c
18172 - Ensure that pid and watch variables for child named process get cleared out
18173 when the child goes away.
18175 2005-02-22 Dan Williams <dcbw@redhat.com>
18177 * src/NetworkManagerPolicy.c
18178 - (nm_policy_activation_finish): Deactivate a device if its activation fails,
18179 and NULL out data->active_device so that we have to choose another one.
18180 This may make NetworkManager keep attempting to connect to a wired network
18181 if it fails, but if it keeps failing the wired network has more problems than
18182 just NetworkManager.
18184 * src/backends/NetworkManagerRedHat.c
18185 - (nm_system_update_dns): fix to actually run nscd -i hosts when nscd
18188 * named/nm-named-manager.c
18189 - (rewrite_resolv_conf): Call nm_system_update_dns() when not using
18190 named so that the distro can flush whatever name service caching
18193 2005-02-21 Dan Williams <dcbw@redhat.com>
18195 * src/NetworkManagerDHCP.[ch]
18196 - (nm_device_dhcp_remove_timeouts): new function
18198 * src/NetworkManagerDevice.c
18199 - Use nm_device_dhcp_remove_timeouts() everywhere that we need to
18200 remove the DHCP timeouts.
18202 2005-02-21 Dan Williams <dcbw@redhat.com>
18204 * panel-applet/NMWirelessApplet.[ch]
18205 panel-applet/menu-info.[ch]
18206 - Give the panel applet some major love: menu items are no longer
18207 subclasses of GtkCheckMenuItem, they are actual GtkCheckMenuItems.
18208 This allows the applet to actually reflect theme changes correctly,
18209 since themeing of subclassed items in GTK _sucks_.
18211 2005-02-18 Dan Williams <dcbw@redhat.com>
18213 * libnm_glib/libnm_glib.[ch]
18214 test/libnm_glib_test.c
18215 - Clean up libnm_glib API a bit, callback is now passed a libnm_glib_ctx
18216 and its data, and doesn't have to free the callback data anymore
18218 2005-02-18 Dan Williams <dcbw@redhat.com>
18220 * panel-applet/NMWirelessApplet.c
18221 - Revert 2005-02-18 William Jon McCann fix for standard
18222 copyright string until it passes 'make distcheck'.
18223 With standard copyright string, xgettext complains
18224 about "Non-ASCII string at ...".
18226 2005-02-18 Dan Williams <dcbw@redhat.com>
18228 * panel-applet/essid.glade
18229 panel-applet/NMWirelessAppletOtherNetworksDialog.c
18230 - Correct spelling of "adaptor"->"adapter"
18232 2005-02-18 William Jon McCann <mccann@jhu.edu>
18234 * panel-applet/NMWirelessApplet.c: Use GTK_CHECK_VERSION() macro.
18235 (nmwa_about_cb): Use standard copyright string. Update comment
18236 text to reflect that it is a notification area applet. Remove
18237 leading newline in authors list.
18238 (nmwa_menu_show_cb, nmwa_setup_widgets): Populate menu on show
18239 instead of on parent menu item activation. Fixes #167550.
18241 2005-02-18 William Jon McCann <mccann@jhu.edu>
18243 * panel-applet/essid.glade: Capitalize items as per HIG.
18246 2005-02-16 William Jon McCann <mccann@jhu.edu>
18248 * panel-applet/gtkcellrendererprogress.[ch]: Only compile these
18249 files for GTK 2.4 or lower, since now public in GTK 2.6.
18251 * panel-applet/essid.glade: Don't specify window size.
18253 2005-02-17 Dan Williams <dcbw@redhat.com>
18255 Caught by Bill Moss:
18257 - Time remaining for DHCP transaction calculation was incorrectly
18258 inside a #ifdef DEBUG
18260 2005-02-15 Christophe Merlet <redfox@redfoxcenter.org>
18262 * configure.in: Added fr (French) to ALL_LINGUAS.
18264 2005-02-14 Dan Williams <dcbw@redhat.com>
18266 * src/NetworkManagerDHCP.c
18267 - (set_domain_searches): Fix free of invalid pointer
18269 2005-02-14 Dan Williams <dcbw@redhat.com>
18271 Patch from Peter Jones:
18273 - Ensure we return RET_DHCP_CEASED everywhere we should
18274 * dhcpcd/udpipgen.c
18275 - Use faster TOS for IP packets
18276 - Don't set ip_id since we're UDP
18278 Patch from Tomislav Vujec:
18279 * src/nm-dbus-dhcp.c
18280 test/nm-dhcp-opt-test.c
18281 - Clean up warnings to enable cvs tree compilation.
18283 2005-02-14 Tomislav Vujec <tvujec@redhat.com>
18287 - Add the Croatian locale.
18289 2005-02-14 Colin Walters <walters@verbum.org>
18291 * src/NetworkManagerDHCP.c (set_domain_searches): Handle space-separated
18292 list of domains to search.
18294 * src/NetworkManagerMain.h (NMData): Handle multiple domain searches.
18296 2005-02-13 Dan Williams <dcbw@redhat.com>
18299 - Debug output cleanups of DHCP option printing and parsing.
18301 2005-02-13 Dan Williams <dcbw@redhat.com>
18303 Patch from Dan Reed: DHCP options D-BUS API
18304 Exposes the DHCP options that a device receives to clients over D-BUS.
18310 - Correct names, option length, and types for DHCP options
18312 * dhcpcd/dhcpcd.[ch]
18313 - Clarify function names that access DHCP options & data
18315 * src/NetworkManagerDHCP.c
18316 - Use new DHCP data access functions
18318 * src/NetworkManagerDbus.c
18319 - Message handler for DHCP functions
18321 * src/nm-dbus-dhcp.[ch] (new)
18322 - DHCP dbus methods
18324 * test/nm-dhcp-opt-test.c
18325 - Test DHCP D-BUS API and return all present DHCP options
18327 2005-02-12 Dan Williams <dcbw@redhat.com>
18330 test/nmclienttest.c
18332 - Move nmclienttest.c -> nmtest.c
18334 2005-02-12 Dan Williams <dcbw@redhat.com>
18336 * dhcpcd/buildmsg.c
18337 - Pad DHCP packets until they are at least 300 bytes in size.
18339 2005-02-11 Dan Williams <dcbw@redhat.com>
18342 - (dhcp_init): only print out client ID and class ID if they are specified
18344 * src/NetworkManagerDbus.[ch]
18345 src/nm-dbus-nm.[ch]
18346 src/nm-dbus-device.[ch]
18347 src/nm-dbus-net.[ch]
18348 - Move NM, Device, and Net functions to separate files and use the
18349 dbus method list stuff in NetworkManagerDbusUtils.c to do
18352 * src/NetworkManagerDbusUtils.c
18353 - Add new validate_method called before each dispatch (if present)
18354 that can validate the method call
18356 * src/NetworkManagerWireless.c
18357 - (nm_wireless_qual_to_percent): Fix misplaced "!" that caused signal
18358 levels never to be evaluated
18360 Patch from j@bootlab.org
18361 * src/NetworkManagerDevice.c
18362 - Add typedef for "u64"
18364 * src/backends/NetworkManagerDebian.c
18365 - Copy in Dave Woodhouse's fixes for IPv6
18367 2005-02-11 Dan Williams <dcbw@redhat.com>
18369 Patch from Dave Woodhouse for IPv6:
18370 * src/NetworkManagerUtils.c
18371 - (nm_ethernet_address_is_valid): Check for prism54 dummy MAC address
18372 and multicast addresses
18374 * src/NetworkManagerDevice.c
18375 - (nm_device_set_up_down): make sure our cached MAC address is up-to-date
18376 after bringing up a card.
18378 2005-02-10 Dan Williams <dcbw@redhat.com>
18380 Patch from Dave Woodhouse:
18381 * src/NetworkManagerSystem.h
18382 src/backends/NetworkManagerDebian.c
18383 src/backends/NetworkManagerGentoo.c
18384 src/backends/NetworkManagerSlackware.c
18385 - New nm_system_device_add_ip6_link_address() function to add link-local
18386 address on an interface. Stubbed in Debian, Gentoo, and Slackware.
18388 * src/backends/NetworkManagerRedHat.c
18389 - (nm_system_device_add_ip6_link_address): implement
18390 - (nm_system_device_flush_addresses): revert to previous behavior of
18391 flushing all addresses
18393 2005-02-10 Dan Williams <dcbw@redhat.com>
18395 Patch from Tom Parker:
18396 * src/NetworkManagerDevice.c
18397 - Remove the "#include <pci/types.h>" since both the ethtool.h and
18398 mii.h headers are broken, and instead use our own typedefs
18400 2005-02-10 Dan Williams <dcbw@redhat.com>
18402 * dhcpcd/buildmsg.c
18403 - (fill_host_and_class_id): only fill in client and class IDs if
18404 they are set by callers.
18407 - (class_id_setup): don't autogenerate a class ID, only use one
18408 we're given, if any.
18409 - (client_id_setup): don't autogenerate a client ID, only use one
18410 we're given, if any.
18413 - (dhcp_interface_init): ensure that client options are correctly
18416 * src/NetworkManagerDHCP.c
18417 - (nm_device_dhcp_request): pass hostname to dhcp library
18419 2005-02-10 Dan Williams <dcbw@redhat.com>
18422 - #rh147661# Don't send kernel version in DHCP requests
18424 * src/NetworkManagerSystem.h
18425 src/backends/NetworkManagerDebian.c
18426 src/backends/NetworkManagerGentoo.c
18427 src/backends/NetworkManagerRedHat.c
18428 src/backends/NetworkManagerSlackware.c
18429 - Remove the nm_system_device_run_dhcp() and nm_system_device_stop_dhcp()
18430 functions, they are no longer used anyway
18432 * src/backends/NetworkManagerRedHat.c
18433 - (nm_system_device_flush_addresses): only flush "scope global" and "scope site"
18434 addresses in an attempt to keep IPv6 local-scope addresses around
18436 2005-02-10 Dan Williams <dcbw@redhat.com>
18438 * src/NetworkManager.c
18439 - (nm_create_device_and_add_to_list): change the add message slightly
18441 * src/NetworkManagerUtils.c
18442 - (nm_get_wireless_driver_support_level, nm_get_wired_driver_support_level):
18443 Return driver name to calling function
18444 - (nm_get_driver_support_level): print out the driver a device is using
18445 during the support check
18447 Patch from Dave Woodhouse:
18448 * dhcpcd/udpipgen.c
18449 - (in_cksum): copy last byte of odd-sized packets into a
18450 'u_short' rather than a 'u_char', should fix wrong checksums
18451 on big-endian platforms
18453 2005-02-09 Dan Williams <dcbw@redhat.com>
18455 * Clean up usage of GSList objects and looping through their members
18456 * Clean up DHCP rebind/renew timeouts, hopefully they will work correctly
18458 * Fix problem where even if scanning was turned off, card would still
18459 cycle through frequencies.
18461 2005-02-08 Dan Williams <dcbw@redhat.com>
18463 * panel-applet/NMWirelessApplet.c
18466 2005-02-08 Dan Williams <dcbw@redhat.com>
18468 Patch from Bill Moss
18469 * panel-applet/NMWirelessApplet.c
18470 - Restore correct ESSID in tooltips
18472 2005-02-07 Dan Williams <dcbw@redhat.com>
18474 * panel-applet/NMWirelessApplet.[ch]
18475 - Add a context menu that contains:
18476 Pause/Resume Wireless Scanning
18477 Stop/Start All Wireless Devices
18479 - Grab active device strength off active device,
18482 * panel-applet/NMWirelessAppletDbus.[ch]
18483 - Add DBUS accessors for "getSupportsCarrierDetect", "setScanningEnabled",
18484 "getScanningEnabled", "setWirelessEnabled", and "getWirelessEnabled"
18485 - Update active device strength every 2 seconds, not every 1 second
18487 * panel-applet/menu-info.c
18488 - Only disable wired devices in the menu when they support carrier detection,
18489 and don't currently have a link. Non-carrier-detect devices will always
18493 src/NetworkManagerDbusUtils.[ch]
18494 - Add new new dbus utils sources
18496 * src/NetworkManager.c
18497 - Fixes for new link detection, we no longer need to call nm_device_update_link_active()
18498 with the boolean parameter
18499 - Set scanning_enabled & wireless_enabled to TRUE
18501 * src/NetworkManagerDbus.c
18502 - Use new dbus util method dispatcher functions for org.freedesktop.NetworkManager methods
18503 - Implement scanning & wireless enable/disable calls
18504 - Remove the dbus vtable unregister handlers, weren't doing anything with them anyway
18506 * src/NetworkManagerDevice.c
18507 - New link detection stuff again...
18508 o Create device's mainloop earlier (but don't run it earlier)
18509 o Hook up new carrier-detect support stuff
18510 o Add in the ethtool & mii support detection code
18511 - Don't scan if scanning is disabled
18513 * src/NetworkManagerPolicy.c
18514 - Never automatically choose a device that doesn't support carrier detection
18515 - Don't automatically choose a wireless device if wireless is disabled
18517 2005-02-07 Dan Williams <dcbw@redhat.com>
18519 * libnm_glib/libnm_glib.c
18520 - Small cleanup in element list iteration
18522 2005-02-07 Dan Williams <dcbw@redhat.com>
18524 * src/NetworkManagerWireless.c
18525 - (nm_wireless_qual_to_percent): Fix up wireless quality calculations
18526 to be in line with the WEXT quality specification
18528 2005-02-02 Dan Williams <dcbw@redhat.com>
18530 Patch from Nathan Fredrickson <nathan@silverorange.com>
18531 * Fix up compile for deprecation of libgnomeui
18532 - Switch to <glib/gi18n.h> from <libintl.h>
18533 - Remove <libgnomeui/libgnomeui.h> includes
18534 - Use gtk_window_set_default_icon_from_file() rather than
18535 gnome_window_set_default_icon_from_file()
18537 * named/nm-named-manager.c
18538 - (generate_named_conf): Fix return-nothing in non-void
18541 2005-02-02 Dan Williams <dcbw@redhat.com>
18543 * Clean up unused variables and the like
18545 2005-02-02 Dan Williams <dcbw@redhat.com>
18547 * src/NetworkManagerAPList.c
18548 - (nm_ap_list_merge_scanned_ap): merge strength too
18550 * src/NetworkManagerUtils.c
18551 - (nm_lock_mutex, nm_register_mutex_desc): new calls to facilitate debugging
18552 of locking issues by printing out prettier information than g_mutex_lock
18553 - Print out names of mutexes registered with nm_register_mutex_desc()
18554 - (nm_try_lock_mutex): don't do the waiting thing when trying to lock, causes
18555 us to seemingly block here for too long
18557 * src/NetworkManager.c
18558 src/NetworkManagerAPList.c
18559 src/NetworkManagerDevice.c
18560 - Convert to using nm_lock_mutex/nm_unlock_mutex rather than the glib variants
18561 so we get better debug information printed
18563 * src/NetworkManagerDbus.c
18564 - (nm_dbus_devices_handle_request): reduce usage of nm_device_need_ap_switch()
18565 since it sometimes has locking side effects
18566 - (nm_device_get_association_pause_value): Reduce 802.11a card pause value to 8s
18568 - (nm_device_need_ap_switch): If we can't acquire the scan lock, return saying
18569 we don't need a switch. This gets called often enough that we can't block
18570 until the scan mutex is acquired, because we'll block on device activation
18571 and a few other things, which hangs main thread for too long.
18573 * src/NetworkManagerPolicy.c
18574 - (nm_policy_auto_get_best_device): reduce the possiblity that
18575 nm_device_need_ap_switch() will be called
18577 2005-02-02 Dan Williams <dcbw@redhat.com>
18579 * panel-applet/NMWirelessApplet.c
18580 - Display name of wireless network we are connecting to or connected to
18581 in the tooltip of the applet
18583 2005-02-02 Dan Williams <dcbw@redhat.com>
18585 * src/NetworkManagerDHCP.c
18586 - Hopefully fix double-default-route problem by cleaning up the default
18587 route added by DHCP code right before the DHCP transaction begins
18589 2005-02-02 Dan Williams <dcbw@redhat.com>
18591 * named/nm-named-manager.c
18592 - Write out valid resolv.conf when we exit
18594 2005-02-01 Dan Williams <dcbw@redhat.com>
18596 Patch from Colin Walters:
18597 * named/nm-named-manager.c
18598 - Make multi-domain search options work
18600 2005-01-31 Dan Williams <dcbw@redhat.com>
18602 * info-daemon/NetworkManagerInfoDbus.c
18603 - (nmi_dbus_nmi_message_handler): make sure 'dialog' exists before using it
18605 * src/NetworkManagerDevice.c
18606 - (nm_device_new): Don't store the entire range struct, use only what we need
18607 (which is currently avg_quality, max_quality, and frequencies). Also
18608 zero device structure when we've free'd it to maybe expose errors down
18610 - (nm_device_update_signal_strength): grab the scan mutex before getting
18611 quality data from the card since quality will be useless during a scan.
18612 Call updated wireless qual-to-percent function with values stored in
18613 nm_device_new() earlier.
18614 - Remove some unused functions (nm_device_get_max_quality(), nm_device_get_noise(),
18615 nm_device_get_bad_crypt_packets())
18616 - (nm_device_activate_wireless_adhoc): use new frequency values we go in
18618 - (get_initial_auth_method): always use the Auth method that's in the allowed
18619 list if available. Problem was this: when the WEP key is wrong, NM will
18620 try OS then SK modes, and then get stuck in SK mode after that. This
18622 - (nm_device_wireless_process_scan_results): work with new qual-to-percent
18625 * src/NetworkManagerWireless.c
18626 - (nm_wireless_qual_to_percent): try to make this function actually work and
18627 mimic iwlib behavior. Use card's idea of quality divided by max_qual
18628 if that's all present, otherwise fall back to signal-to-noise ratios.
18630 2005-01-29 Dan Williams <dcbw@redhat.com>
18632 * initscript/RedHat/NetworkManager
18633 - Don't spit out sysctl stuff to console
18635 * libnm_glib/libnm_glib.c
18636 - (libnm_glib_init): call dbus_g_thread_init()
18638 * panel-applet/NMWirelessAppletDbus.c
18639 - (nmwa_dbus_worker): call dbus_g_thread_init()
18641 * src/NetworkManager.c
18642 - (main): call dbus_g_thread_init()
18644 * src/NetworkManagerAPList.c
18645 - (nm_ap_list_print_members): use LOG_ERR instead of LOG_DEBUG
18646 so we can actually see what's there in a normal syslog
18648 * src/NetworkManagerDevice.c
18649 - (nm_device_activate_wireless): print out the "waiting for access point"
18650 message only once, then say what access point we actually got after
18652 - (nm_device_need_ap_switch): If a scan is in progress when we're in this
18653 function, wait until the scan is done. Scans may change the ESSID of
18654 the card, making this function think we need to switch access points
18655 - (nm_device_wireless_process_scan_results): for artificial access points
18656 don't check against the card's ESSID, but the best_ap's ESSID. This
18657 prevents collisions with the scanning code, which may change the card's
18658 ESSID and cause the access point to get dropped from the device's AP
18659 list. Also increase the keep-around time to 2m from 60s since the max
18660 scan interval could be 60s in some cases.
18662 * src/NetworkManagerPolicy.c
18663 - (nm_policy_activation_finish): Don't add invalid MAC addresses to GConf
18664 - (nm_policy_allowed_ap_list_update): When we update, make sure we copy over
18665 the new properties and ESSIDs to the device's AP list. Fixes some races
18666 between NM and NMI.
18668 2005-01-27 Dan Williams <dcbw@redhat.com>
18670 * info-daemon/NetworkManagerInfoDbus.c
18671 - (nmi_dbus_add_network_address): if the network doesn't yet exist in
18672 GConf, make a minimal entry for it (essid & timestamp)
18674 * src/NetworkManagerAPList.c
18675 - (nm_ap_list_populate_from_nmi): Don't try to grab network data if
18676 NetworkManagerInfo isn't running
18678 * src/NetworkManagerDbus.[ch]
18679 - (nm_dbus_nmi_is_running): new function
18681 * src/NetworkManagerDevice.c
18682 - (nm_device_wireless_force_use): Don't set the created AP's MAC
18683 address to garbage.
18685 * src/NetworkManagerPolicy.c
18686 - (nm_policy_activation_finish): On successful activation, make sure
18687 the "best" AP has a MAC address, and don't tell NMI to add the
18688 current AP's MAC address to GConf if the AP is an Ad-hoc AP.
18689 - (nm_policy_allowed_ap_list_update): Update a wireless card's "best"
18690 access point after refreshing our allowed list if it doesn't already
18691 have a "best" access point.
18693 2005-01-25 Dan Williams <dcbw@redhat.com>
18695 * panel-applet/NMWirelessAppletDbus.c
18696 - (nmwa_dbus_filter): Fix dbus 0.23 ServiceOwnerChanged checks
18697 so we check for NM_DBUS_SERVICE rather than not for it
18699 * libnm_glib/libnm_glib.c
18700 - (libnm_glib_dbus_filter): Fix for dbus 0.23, trapping
18701 ServiceOwnerChanged signal
18703 2005-01-25 Dan Williams <dcbw@redhat.com>
18706 - Check DBUS version in configure, and set the C macros
18707 DBUS_VERSION_[MAJOR,MINOR,MICRO]
18709 * info-daemon/NetworkManagerInfoDbus.c
18710 - Remove #if 0-d section of code that quit NMI if NM went away.
18712 * panel-applet/NMWirelessAppletDbus.c
18713 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
18715 * src/NetworkManager.c
18716 src/NetworkManagerMain.h
18717 src/NetworkManagerDbus.c
18718 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
18719 - Make updating of our Allowed Wireless Network lists from NMI
18720 an idle function in the main thread now, with a high priority.
18722 2005-01-24 Dan Williams <dcbw@redhat.com>
18724 * panel-applet/gtkcellview.[ch]
18725 panel-applet/menu-info.c
18726 - Fix GTK version checks to be <= rather than <
18729 - Include the libtool archive of libnm_glib rather than
18730 trying to pull in the .so
18732 2005-01-24 Dan Williams <dcbw@redhat.com>
18734 * src/NetworkManagerDevice.c
18735 src/NetworkManagerDevicePrivate.h
18736 - Block nm_device_new() until our device's worker thread has had a
18737 chance to start up. Fixes a race between main thread and worker
18738 thread starting that caused activation requests to get lost.
18740 2005-01-24 Dan Williams <dcbw@redhat.com>
18742 * initscript/RedHat/NetworkManager
18743 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
18744 to add the NM startup script at priority 50, which was
18747 2005-01-24 Colin Walters <walters@redhat.com>
18749 * named/named.conf: Use any port for query source instead of
18750 restricting to port 53.
18752 2005-01-24 Dan Williams <dcbw@redhat.com>
18754 * initscript/RedHat/NetworkManager
18755 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
18756 to add the NM startup script at priority 50, which was
18759 2005-01-24 Dan Williams <dcbw@redhat.com>
18761 Patch from Tom Parker <palfrey@tevp.net>
18762 * Fix up compile warnings & errors in the wireless applet
18764 2005-01-24 Dan Williams <dcbw@redhat.com>
18766 * panel-applet/NMWirelessApplet.c
18767 - Convert 24x24 icons back to 22x22 and use the 22x22 ones
18769 2005-01-24 Dan Williams <dcbw@redhat.com>
18771 * panel-applet/gtkcellview.[ch]
18772 - Only compile these files for GTK 2.4 or lower, since
18773 GtkCellView is now public in GTK 2.6. Fixes crasher
18774 when choosing "Other Wireless Networks" from the panel
18777 2005-01-21 Dan Williams <dcbw@redhat.com>
18779 * src/NetworkManager.c
18780 - Daemonize earlier so that glib doesn't get confused (?)
18782 2005-01-21 Dan Williams <dcbw@redhat.com>
18784 * panel-applet/NMWirelessApplet.[ch]
18785 panel-applet/NMWirelessAppletDbus.c
18786 panel-applet/menu-info.c
18787 src/NetworkManagerDevice.c
18788 - Disable wired devices in the menu when they have no link.
18790 2005-01-21 Dan Williams <dcbw@redhat.com>
18792 * Cache last-known-good wireless authentication method in
18793 NetworkManagerInfo, and use that method first during
18794 wireless device activation. Should speed up devices that
18795 need Shared Key authentication method since Open System is
18798 * Remove the hack to not do full activation on wired connections
18799 that are active when we launch, it causes too many problems
18800 with name resolution and was a hack in the first place.
18802 * Re-work wireless device activation again somewhat to have a
18803 clearer chain of events and to use last-known-good
18804 authentication method of the access point. Also provide
18805 better status throughout activation to ensure the applet
18806 can tell the user exactly what's going on.
18808 * Remove the "find wireless network" code and now simply attempt
18809 to activate with that access point. This reduces the delay
18810 between selecting "Other wireless Network" and actually
18811 connecting to that network.
18813 * Correctly stop the device's worker thread when its removed.
18815 2005-01-21 Dan Williams <dcbw@redhat.com>
18818 - Clean up some of the debug messages
18820 2005-01-21 Dan Williams <dcbw@redhat.com>
18822 * Add new icons, more frames of animation
18823 * Remove some hacks to get the panel applet to display correct
18824 status, an NM update will soon follow that will fix the
18827 2005-01-19 Kjartan Maraas <kmaraas@gnome.org>
18829 * panel-applet/NMWirelessApplet.c: #include <config.h> must be
18830 the first include for working i18n. Also, don't include it in .h files
18831 * panel-applet/NMWirelessApplet.h: Same
18832 * panel-applet/NMWirelessAppletOtherNetworkDialog.c: Same
18833 * panel-applet/menu-info.c: Same
18835 2005-01-18 Dan Williams <dcbw@redhat.com>
18838 - Remove some debug messages
18839 - Wrap others in #ifdef DEBUG/#endif
18841 * src/NetworkManager.c
18842 - Remove some debug messages
18843 - Clarify some debug messages
18844 - Remove code related to old single-thread wireless scanning
18846 * src/NetworkManagerAP.[ch]
18847 - New AP property "last_seen" to track how recently an AP was
18849 - Start using 'const' more in function arguments
18851 * src/NetworkManagerAPList.[ch]
18852 - (nm_ap_list_merge_scanned_ap): new, selectively update attributes
18853 of an AP found in an AP list from a source AP, or if not found
18854 in the list add the source AP
18855 - (nm_ap_list_combine): remove, no longer needed
18857 * src/NetworkManagerDevice.c
18858 - Each device now has a "worker" thread from start to end of its life.
18859 Scanning for wireless devices now happens in that thread,
18860 not in a single "wireless scanning thread" for all devices as
18861 previously. Activation consists of adding an idle handler to the
18862 thread's main loop/context, which gets run at the next available
18864 - Wireless scanning is also simplified, there is now only one list of
18865 access points per wireless device, and APs older than 60s are
18866 removed from the list. Previously, we kept results for the last
18867 3 scans and merged whole lists, which was complicated.
18868 - Cleaned up activation debug messages.
18869 - Wireless activation and access-point search routines now use Open System
18870 authentication before trying Shared Key.
18871 - Removed some code in nm_device_update_best_ap() that could cause cards
18872 to loose their link to the access point.
18873 - Scanning now uses a backoff algorithm, where the inverval becomes
18874 progressively longer between scans when the list of scanned access
18875 points doesn't change. A change will revert to the shortest scan
18878 * src/NetworkManagerWireless.[ch]
18879 - Remove code related to old single-thread wireless scanning
18881 2005-01-18 Colin Walters <walters@redhat.com>
18883 * src/NetworkManagerDHCP.c (set_nameservers): Free and clear list
18884 of older nameservers.
18886 2005-01-18 Colin Walters <walters@redhat.com>
18888 * named/nm-named-manager.c (generate_named_conf): Many fixes
18889 to config file generation.
18890 (safer_kill): Remove, was too much trouble for little gain.
18891 (nm_named_manager_start): Run named as NM_NAMED_USER.
18893 * configure.in: Add option --with-named-user.
18895 2005-01-14 Colin Walters <walters@redhat.com>
18897 Patch from ed@catmur.co.uk (Ed Catmur)
18899 * named/nm-named-manager.c: Add "context" property.
18900 Use it to add child watch source in specific GMainContext.
18902 * src/NetworkManager.c (nm_data_new): Initialize
18903 named with correct main context. Start named only
18906 2005-01-14 Colin Walters <walters@redhat.com>
18908 * named/nm-named-manager.c (generate_named_conf): Write config
18909 and pid files into NM_NAMED_DATA_DIR; this allows things to
18910 work better with FC3 named SELinux policy. Also fix up silly
18913 * configure.in: Add --with-named-dir option.
18915 2005-01-14 Colin Walters <walters@redhat.com>
18917 * configure.in: Make named support require passing --with-named.
18919 * named/nm-named-manager.c: Support writing resolv.conf directly
18920 without running named.
18922 2005-01-13 Dan Williams <dcbw@redhat.com>
18924 * named/nm-named-manager.c
18925 - Use syslog(LOG_WARNING) rather than g_warning() (gnome.org #163961)
18927 * src/NetworkManagerDevice.c
18928 - Rework wireless link detection code to be more reliable
18930 2005-01-12 Dan Williams <dcbw@redhat.com>
18932 * initscripts/RedHat/NetworkManager
18933 - Change initial level to "-" rather than "345" so that
18934 we don't activate ourselves by default on install
18936 2005-01-12 Dan Williams <dcbw@redhat.com>
18939 - Client library for applications using glib
18943 - Split NM_CFLAGS and NM_LIBS into separate variables
18944 like DBUS_*, HAL_* and GLIB_*
18946 * src/NetworkManager.c
18947 src/NetworkManagerMain.h
18948 - (nm_schedule_status_signal_broadcast): at the earliest convenience,
18949 broadcast a status changed signal over DBUS from the main thread.
18950 Still unused anywhere for the moment.
18952 Patch from j@bootlab.org
18953 * panel_applet/NMWirelessAppletDbus.c
18954 src/NetworkManagerDbus.c
18955 - Correct INT32->UINT32 mistmatch between NM and the panel applet
18956 for the "getMode" method call
18958 2005-01-10 Dan Williams <dcbw@redhat.com>
18960 * src/NetworkManagerDevice.c
18961 - Minor fixups & corrections to "auto" frequency mode, make it
18962 less chatty with syslog
18964 2005-01-10 Dan Williams <dcbw@redhat.com>
18966 * src/NetworkManagerDevice.c
18967 - Implement "auto" frequency/channel support, since cards like Atheros
18968 can't use other frequencies at all when you've told it to use a
18969 specific one, even for scanning.
18970 - Grab the scan mutex around places where we can't tolerate wireless
18971 settings changing underneath us, like nm_device_wireless_network_exists()
18972 and nm_device_activate_wireless()
18974 * src/NetworkManagerWireless.c
18975 - Back scan interval off to 20s instead of 14s
18977 2005-01-09 Dan Williams <dcbw@redhat.com>
18979 * src/NetworkManagerDevice.c
18980 - Don't set mode/freq/bitrate if that mode/freq/bitrate is
18981 already set. Stops some drivers like Atmel from continually
18982 reloading the firmware, which they do upon every configuration
18985 2005-01-09 Dan Williams <dcbw@redhat.com>
18988 - Use correct timeout value
18990 * info-daemon/NetworkManagerInfoDbus.c
18991 src/NetworkManagerDbus.c
18992 - Consolidate communication between NM and NMI by doing only 1 dbus
18993 method call to get Wireless Network info from NMI instead of 6
18995 * src/NetworkManager.c
18996 - Make sure to cancel activation when we receive a SIGTERM, otherwise
18997 when we didn't have an AP to use, we'd wait for one forever without
19000 * src/NetworkManagerDevice.c
19001 - nm_device_activation_cancel(): Fix a race between dhcp and quitting
19002 activation, dhcp might not have started yet but we don't quit activation
19003 before starting it, so the quit signal gets lost
19005 2005-01-07 Dan Williams <dcbw@redhat.com>
19008 - Rework the DHCP client code to be much less chatty when
19009 it receives non-DHCP UDP packets during the DHCP run
19010 (reported by and preliminary patches from Bill Moss)
19012 * Move wireless scanning to a separate thread. This thread forwards the
19013 results to the main thread when done where they are integrated into
19014 the device's access point lists. This keeps the main thread (which
19015 does all the DBUS communication) from being blocked for long periods
19016 of time by wireless scanning.
19018 * Make state modification an idle routine in the main loop, and trigger
19019 state changes rather than polling for them.
19021 * src/backends/NetworkManagerGentoo.c
19022 - Fix up invalid C90 code (reported by Christoph Ruessler)
19024 * src/NetworkManagerDevice.c
19025 - Revert IPv6 patch for wired devices from 2004-12-22 for
19026 router advertisements, causing problems and infinite loop
19027 during "best" device determination due to link going up/down
19028 (reported by Bill Moss)
19030 Apply patch from Peter Jones
19031 * src/NetworkManagerDevice.c
19032 - Shortcut for link-checking for ipw2x00 cards
19033 - Split out association check into separate routine
19035 2004-01-05 Colin Walters <walters@redhat.com>
19037 * named/named.conf: Add PID_FILE.
19039 * named/nm-named-manager.c: Always generate a pid
19040 file, since older BIND versions don't support
19043 2005-01-01 Satoru SATOH <ss@gnome.gr.jp>
19045 * configure.in (ALL_LINGUAS): Added ja (Japanese).
19047 2004-12-22 Dan Williams <dcbw@redhat.com>
19049 * src/NetworkManagerDevice.c
19050 - Silently fail when setting bitrate doesn't work
19053 Patches from j@bootlab.org:
19054 * src/backends/NetworkManagerDebian
19055 - Update backend to match functionality in RedHat backend
19056 * src/NetworkManagerDevice.c
19057 - Take down then bring up wired devices after connection so
19058 they send out ipv6 router advertisements
19060 2004-12-21 Colin Walters <walters@verbum.org>
19062 * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_update_devices): Correctly
19063 test for NETWORK_MODE_ADHOC; spotted by: Greg <gonufer@gmail.com>.
19065 2004-12-21 Colin Walters <walters@redhat.com>
19067 * configure.in: Correct named detection.
19069 2004-12-21 Colin Walters <walters@redhat.com>
19071 * src/NetworkManager.c (nm_data_new): Initialize named.
19072 Also, set up a signal handler for SIGINT/SIGTERM, and exit
19073 the mainloop when these signals are received.
19074 (nm_data_free): Unref named.
19075 (sigterm_handler, sigterm_pipe_handler): New functions for
19078 * src/NetworkManagerMain.h (NMData): Add signal handling and
19081 * src/NetworkManager.c (nm_device_unref): Quit device mainloop on
19084 * src/NetworkManagerDHCP.c (set_nameservers): New function;
19085 set nameservers from DHCP response data.
19086 (set_domain_search): Set domain search from DHCP response.
19087 (nm_device_dhcp_configure): Invoke them.
19089 * src/NetworkManagerSystem.c
19090 (nm_system_device_update_resolv_conf): Delete. Deleting
19091 code is totally sweet.
19093 * src/Makefile.am (NetworkManager_LDADD): Add libnamed.
19095 * named/nm-named-manager.h, named/nm-named-manager.c: New files;
19096 implements an object which controls a nameserver. Currently
19099 * configure.in: Check for named.
19101 * Makefile.am (SUBDIRS): Add named dir.
19103 * named/named.conf: New template config file.
19105 2004-12-20 Colin Walters <walters@redhat.com>
19107 * src/NetworkManagerPolicy.c (nm_policy_get_best_device): Fix usage of '=='
19110 2004-12-17 Dan Williams <dcbw@redhat.com>
19112 * Ad Ad-Hoc networking mode support. In Ad-Hoc mode, we only try to get
19113 link-local addresses instead of doing DHCP.
19115 * In the panel applet, there's a new "Create new Wireless Network..." item
19117 * The panel applet also sticks around now even if NetworkManager dies, but
19118 it doesn't hide its icon when NM isn't around. Not hiding the icon is
19119 a bug, I'll fix that later.
19121 * We also don't use 'nscd' anymore in the RH backend, it was impeding name
19122 lookups after a switch rather than actually doing them.
19124 * Clean up some of those warnings in nm_ap_list_* functions
19126 * Delay between scans changed to 15s instead of 10s
19128 2004-12-15 Dan Williams <dcbw@redhat.com>
19130 Patch from Tom Parker
19131 * Add autoip/Link Local Addressing support when we fail to get a DHCP
19134 * Longer pause after setting ESSID on cards that support a larger number
19135 of channels to give the card time to find the right channel
19137 * Add system hook to restart mDNSResponder (or whatever the local implementation
19138 of Multicast DNS is) when we activate interfaces
19140 2004-12-15 Dan Williams <dcbw@redhat.com>
19142 * Rework the DHCP code again to revert to sending full ethernet frames
19143 rather then relying on the kernel to do the right thing with our
19146 2004-12-06 Dan Williams <dcbw@redhat.com>
19149 - Fix some minor errors in dhcp_handle_transaction() that caused
19150 unexpected early timeouts of DHCP transactions
19153 - DHCP retransmit time from 4s -> 5s
19155 2004-12-05 Dan Williams <dcbw@redhat.com>
19157 * Major rework of the DHCP code, taking some cues from pump. We don't
19158 write raw Ethernet packets anymore, which simplifies the code quite
19159 a bit. The new code should be more robust, not hang in recvfrom()
19160 as much, and generally work better. This also means that we need
19161 to force HAL/dbus to use a created GMainContext rather than the
19162 default context, since having the DHCP renew/rebind thread using
19163 its own GMainContext seemed to give dbus a fit. There is also more
19164 debugging information printed from the DHCP loop to help with future
19167 * Also, if the DHCP server doesn't give us the "routersOnSubnet" option,
19168 assume that the default gateway should be the DHCP server.
19170 Patch from Matthew Schick <matt oss-institute org>
19171 * src/backends/NetworkManagerGentoo.c
19172 - Fix compilation error due to missing "ip4_broadcast"
19174 2004-12-03 Dan Williams <dcbw@redhat.com>
19176 * initscript/Makefile.am
19177 * initscript/Debian/NetworkManager
19178 * initscript/Gentoo/NetworkManager
19179 * initscript/RedHat/NetworkManager
19180 * initscript/NMLaunchHelper.c
19181 - Remove NMLaunchHelper, if you need to wait until the network
19182 comes up, use the dead code from CVS.
19184 2004-12-01 Colin Walters <walters@redhat.com>
19186 * configure.in: Suck in gcc warnings code from Rhythmbox,
19187 but use fewer default flags, and in particular add -Wno-unused,
19188 since the codebase has a lot of unused variables.
19190 * test/nmtestdevices.c (create_device):
19191 * test/nminfotest.c (get_network_string_property)
19192 (get_networks_of_type):
19193 * test/nmclienttest.c (main):
19194 * src/NetworkManagerDbus.c (nm_dbus_create_error_message):
19195 * initscript/NMLaunchHelper.c (get_nm_status):
19196 * info-daemon/NetworkManagerInfoPassphraseDialog.c (update_button_cb):
19197 * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_create_error_message):
19198 Fix declarations after statements.
19200 2004-12-01 Colin Walters <walters@redhat.com>
19202 * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_return_vpn_password): New method.
19203 (nmi_dbus_get_vpn_userpass): New method.
19204 (nmi_dbus_nmi_message_handler): Invoke it.
19206 * info-daemon/NetworkManagerInfoDbus.h (nmi_dbus_return_vpn_password): Prototype.
19208 * info-daemon/NetworkManagerInfoVPN.h,
19209 info-daemon/NetworkManagerInfoVPN.c: New files; responds
19210 to requests for VPN passwords.
19212 * configure.in (GNOME_KEYRING_LIBS): Check for gnome-keyring.
19214 2004-12-01 Colin Walters <walters@redhat.com>
19216 * test/nmtestdevices.c, test/nmclienttest.c: Add missing
19219 2004-12-01 Colin Walters <walters@redhat.com>
19221 * panel-applet/NMWirelessAppletDbus.c
19222 (nmwa_dbus_update_active_device_strength): Fix missing
19225 2004-12-01 Colin Walters <walters@redhat.com>
19227 * panel-applet/NMWirelessApplet.c: Add missing include.
19229 2004-12-01 Colin Walters <walters@redhat.com>
19231 * src/NetworkManagerWireless.c (nm_wireless_qual_to_percent):
19232 Remove useless CLAMP (); the value is unsigned, and the case tests
19233 qual->qual < 100, so the value must always be between 0 and 100.
19235 2004-12-01 Colin Walters <walters@redhat.com>
19237 * dhcpcd/buildmsg.c, dhcpcd/dhcp_test.c: Add missing includes.
19239 2004-11-22 Colin Walters <walters@verbum.org>
19241 * src/backends/NetworkManagerRedHat.c (nm_system_update_dns): Run
19242 "nscd -i hosts" to invalidate the host cache instead of restarting nscd,
19243 which is essentially a noop since nscd caches hosts on disk too.
19245 2004-11-22 Colin Walters <walters@redhat.com>
19247 * src/Makefile.am (NetworkManager_SOURCES): Add
19248 NetworkManagerDevicePrivate.h.
19250 2004-11-22 Dan Williams <dcbw@redhat.com>
19252 * src/NetworkManagerDevicePrivate.h
19253 - Split out the NMDevice struct to a different file so that stuff like
19254 NetworkManagerDHCP.c and NetworkManagerSystem.c can use it
19258 - (dhcpSendAndRecv): do non-blocking sends and receives, and check to see if we
19259 need to cancel the dhcp request during the send and recv
19262 - Move the DHCP option enum to dhcpcd.h
19264 * src/NetworkManagerDHCP.c
19265 - Split out the actual IP/netmask/etc setting code
19266 - New Renew/Rebind functions
19267 - New timer setup function for renew/rebind operations
19269 * src/NetworkManagerDevice.c
19270 - For device activation, if we are using DHCP then keep the activation thread
19271 alive until device deactivation. We need to renew/rebind the DHCP address
19272 after the T1 (renew) and T2 (rebind) times have expired.
19273 - Increase some timeouts after bringing wireless cards up/down
19275 2004-11-17 Dan Williams <dcbw@redhat.com>
19277 * Cache access point MAC addresses in NetworkManagerInfo after you've explicitly
19278 connected to them. Then, after a scan, match up non-ESSID-broadcasting access
19279 points with any cached MAC addresses from NetworkManagerInfo. Allows us to
19280 show known access points that don't broadcast their ESSID in the menus without
19281 any user intervention whatsoever.
19283 * info-daemon/NetworkManagerInfoDbus.c
19284 - (nmi_dbus_get_network_addresses, nmi_dbus_add_network_address): new functions
19285 for dbus method calls "getNetworkAddresses" and "addNetworkAddress"
19287 * src/NetworkManagerAP.[ch]
19288 - Add a "user_addresses" data member to the NMAccessPoint structure
19289 - (nm_ap_get_user_addresses, nm_ap_set_user_addresses): new functions for accessing
19290 the user_addresses data member
19292 * src/NetworkManagerAPList.c
19293 - (nm_ap_list_get_ap_by_address): check user_addresses list too, instead of just
19294 the AP's reported address
19295 - (nm_ap_list_update_network): grab the user_addresses list from NetworkManagerInfo
19297 * src/NetworkManagerDHCP.c
19298 - Increase DHCP timeout from 25s -> 30s
19300 * src/NetworkManagerDbus.[ch]
19301 - (nm_dbus_get_network_addresses, nm_dbus_add_network_address): have NMI get/set
19304 * src/NetworkManagerDevice.c
19305 - (nm_device_set_wireless_config): bring down the interface, wait 4s, bring it up,
19306 wait 2s, then configure it. Sometimes Prism54 cards will freeze up with
19307 "mgnt tx queue full", seemingly in response to NM controlling the card too much.
19308 So, we take the card down to clear it out.
19309 - (nm_device_do_normal_scan): Copy over AP ESSIDs from the allowed access point list
19310 too, since that's where the user_addresses are
19312 * src/NetworkManagerPolicy.c
19313 - (nm_state_modification_monitor): Tell NMI to add an AP's hardware address to
19314 that wireless networks' user_addresses list upon successful activation
19316 2004-11-16 Dan Williams <dcbw@redhat.com>
19318 * src/NetworkManagerDevice.[ch]
19319 - (nm_device_clear_activation_fail): new function
19321 * src/NetworkManagerPolicy.c
19322 - (nm_state_modification_monitor): clear the activation_failed flag on devices
19323 when we've dealt with the failure so the user doesn't get failure-dialog-spammed
19325 2004-11-16 Dan Williams <dcbw@redhat.com>
19327 * src/NetworkManagerDevice.c
19328 - (nm_device_activate_wireless): Unref best_ap upon success so we don't
19329 leak the structure, better updating of now_scanning status
19330 - (nm_device_wireless_network_exists): Rewrite for better/faster checking
19332 2004-11-15 Dan Williams <dcbw@redhat.com>
19334 Major rework of link detection code. We now use DHCP
19335 as part of the link detection which proves to be much more robust,
19336 and also supports Open System authentication for wireless networks.
19338 We no longer use external DHCP client programs. Instead, we use
19339 our own DHCP client, based on substantially reworked bits of 'dhcpcd'
19340 which was written by:
19341 Yoichi Hariguchi <yoichi@fore.com>
19342 Sergei Viznyuk <sv@phystech.com>
19343 http://www.phystech.com/download/
19344 It resides in the "dhcpcd" directory and was refactored into a general
19345 purpose DHCP client library by me.
19347 Also misc fixes (CPPFLAGS->AM_CPPFLAGS, move some stuff around),
19348 move src/backends/NetworkManagerSystem.h -> src/NetworkManagerSystem.h
19350 2004-11-15 Dan Williams <dcbw@redhat.com>
19352 Patch from Tom Parker <palfrey@tevp.net>:
19354 * src/NetworkManagerDevice.c
19355 - Less output to console when no access
19356 points are found during a scan
19358 2004-11-15 Dan Williams <dcbw@redhat.com>
19360 Patch from Tom Parker <palfrey@tevp.net>:
19362 * src/backends/interface_parser.c
19364 - Check for inp == NULL
19367 2004-11-13 Colin Walters <walters@redhat.com>
19369 Patch from Tom Parker <palfrey@tevp.net>:
19371 * src/Makefile.am (CPPFLAGS): Switch to AM_CPPFLAGS.
19373 * src/backends/NetworkManagerRedHat.c: Switch to
19374 including shvar.h instead of shvar.c.
19376 * src/backends/NetworkManagerDebian.c: Don't include
19377 interface_parser.c in source file.
19379 (libnmbackend_la_SOURCES): Don't include shvar.[ch]
19380 and interface_parser.[ch].
19381 * src/Makefile.am (libnmbackend_la_SOURCES) <TARGET_REDHAT>:
19382 Include shvar.c and shvar.h here.
19383 (libnmbackend_la_SOURCES) <TARGET_DEBIAN>: Include
19384 interface_parser.c and interface_parser.h here.
19386 2004-11-12 Colin Walters <walters@redhat.com>
19388 * configure.in: Strip out TARGET_DISTRO and
19389 SYSTEM_BACKEND_FILE variables. Switch to Automake
19392 * src/Makefile.am (noinst_LTLIBRARIES): Add libnmbackend.la.
19393 (libnmbackend_la_SOURCES): Use Automake conditionals
19394 to add distro-specific files.
19396 * initscript/Makefile.am (SUBDIRS): Update to
19399 2004-11-12 Colin Walters <walters@redhat.com>
19401 Patches from j bootlab org
19403 * src/Makefile.am (EXTRA_NetworkManager_SOURCES):
19404 Add interface_parser.[ch].
19406 * src/backends/NetworkManagerDebian.c (nm_system_device_run_dhcp): Invoke
19407 dhclient with "-lf /var/lib/dhcp/dhclient-%s.leases".
19409 2004-11-12 Colin Walters <walters@redhat.com>
19411 * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_service_init): Delete
19412 call to nmi_dbus_is_running too, not necessary anymore.
19413 * info-daemon/NetworkManagerInfoDbus.c: Include stdlib.h to
19416 2004-11-11 Colin Walters <walters@verbum.org>
19418 * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_is_running):
19420 (nmi_dbus_service_init): Call dbus_bus_acquire_service with
19421 the DBUS_SERVICE_FLAG_PROHIBIT_REPLACEMENT flag, and
19422 then check the result for DBUS_SERVICE_REPLY_SERVICE_EXISTS.
19423 This avoids a race condition that made it pretty easily
19424 possible to get two NetworkManagerInfo daemons running.
19426 2004-11-11 Colin Walters <walters@verbum.org>
19428 * src/NetworkManager.c (main): Use daemon(3).
19430 * info-daemon/NetworkManagerInfo.c (main): Ditto.
19432 * dispatcher-daemon/NetworkManagerDispatcher.c (main): Ditto.
19434 2004-11-10 Dan Williams <dcbw@redhat.com>
19436 Patches from j bootlab org
19437 * src/NetworkManagerDevice.c
19438 - (nm_device_activate_wireless): wait 5 seconds before attempting to detect
19439 whether the card has a link or not, some cards are slow
19440 - (nm_device_activation_configure_ip): make ipv6 work a bit better
19442 * info-daemon/NetworkManagerInfoPassphraseDialog.c
19443 - Disable the "Login" button on the passphrase dialog until the user
19444 enters a valid passphrase or key
19446 Patches from Tom Parker <palfrey tevp net>
19447 * src/backends/NetworkManagerDebian.c
19448 - Add static IP support to the debian backend
19450 * src/backends/interface_parser.[ch]
19451 - Parse debian interface config files
19453 2004-11-08 Dan Williams <dcbw@redhat.com>
19455 * src/NetworkManagerDevice.c
19456 - Some random fprintf->syslog conversions
19457 - (nm_device_wireless_network_exists): double-check for network
19458 - (nm_device_find_and_use_essid): Copy over encryption key no matter what
19460 * src/NetworkManagerWireless.[ch]
19461 - (nm_wireless_[128|64]bit_ascii_to_hex): make "ascii" argument unsigned again
19462 so that the binary->ascii conversion works (if unsigned, the bitshift
19463 will fill with zeros, which is what's required). Also mask bitshift
19464 result with 0xF for futher assurance.
19466 2004-11-06 Dan Williams <dcbw@redhat.com>
19468 * src/NetworkManagerUtils.c
19469 - (nm_get_wireless_driver_support_level): default to
19470 FULLY_SUPPORTED rather than UNSUPPORTED, forgot to
19471 flip this when changing from whitelist->blacklist of
19474 2004-11-05 Dan Williams <dcbw@redhat.com>
19476 Patch from Robert Paskowitz:
19477 * src/backends/NetworkManagerGentoo.c
19478 - Update static IP config code
19480 2004-11-05 Dan Williams <dcbw@redhat.com>
19482 * info-daemon/NetworkManagerInfoDbus.c
19483 src/NetworkManagerDbus.[ch]
19484 src/NetworkManagerDevice.c
19485 - Keep track of the # of attempts to get the WEP key
19486 from the user and pass that along to the info daemon
19488 2004-11-05 Dan Williams <dcbw@redhat.com>
19490 * src/NetworkManagerUtils.c
19491 - Blacklist wireless cards rather than whitelisting them.
19492 - Grab driver name from HAL rather than trying to find it
19495 2004-11-03 Dan Williams <dcbw@redhat.com>
19497 * panel-applet/NMWirelessAppletOtherNetworkDialog.c,
19498 - Disable OK button until valid data is entered
19499 for encryption stuff too
19501 * panel-applet/NMWirelessApplet.c
19502 - Report card strength for current AP if the card
19503 doesn't report strength data for scanned access
19506 * src/NetworkManagerDevice.c
19507 - Smooth out cards reported quality, Atmel card was
19508 intermittently reporting no quality data but soon
19511 * src/NetworkManagerWireless.c
19512 - Better quality data percentage calculation. Atmel
19513 cards (mine at least) seem to report the quality
19514 in percentage format already, so honor that
19516 Patch from <j@bootlab.org>
19518 info-daemon/NetworkManagerInfoPassphraseDialog.c
19519 info-daemon/passphrase.glade
19520 panel-applet/NMWirelessAppletOtherNetworkDialog.c
19521 panel-applet/essid.glade
19522 src/NetworkManagerAP.c
19523 src/NetworkManagerDevice.c
19524 src/NetworkManagerWireless.[ch]
19525 - Support ASCII WEP keys, in both 40/64 bit and 104/128 bit
19527 2004-11-03 Dan Williams <dcbw@redhat.com>
19529 * src/NetworkManagerDevice.[ch]
19530 - (nm_device_set_enc_key): Add parameter to set Authentication
19531 Mode (Open System, Shared Key, or None). We're still using
19532 Shared Key for now though.
19534 2004-11-02 Bryan Clark <clarkbw@cvs.gnome.org>
19536 * panel-applet/menu-info.c: change from bold text to light
19537 colored, may cause problems with some themes, i've tested a lot
19538 and they seem fine.
19540 * panel-applet/NMWirelessApplet.c: fix strength tooltip
19542 2004-11-01 Colin Walters <walters@verbum.org>
19544 * src/NetworkManagerWireless.h, src/NetworkManagerWireless.c
19545 (nm_wireless_128bit_key_from_passphrase): Add const.
19547 * src/NetworkManagerAP.h, src/NetworkManagerAP.c
19548 (nm_ap_set_enc_key_source): Add const.
19550 2004-11-01 Colin Walters <walters@verbum.org>
19552 * .cvsignore: Update.
19554 2004-10-29 Dan Williams <dcbw@redhat.com>
19556 * src/NetworkManagerDevice.c
19557 - (nm_device_wireless_network_exists): Actually use the encryption
19558 key we got from the applet when attempting to find a wireless network
19559 - Don't bring devices down so much since on some cards it triggers
19560 firmware hotplugs each time
19562 * src/NetworkManagerDbus.c
19563 - (nm_dbus_nm_set_active_device): free the passphrase we may have gotten
19566 2004-10-29 Dan Williams <dcbw@redhat.com>
19568 * src/NetworkManager.c
19569 - (nm_hal_device_property_modified): unlock a locked active
19570 wireless device when a wired connection gets a link.
19571 (Means you'll switch to wired whenever you plug in no
19574 2004-10-29 Dan Williams <dcbw@redhat.com>
19576 * panel-applet/NMWirelessAppletOtherNetworksDialog.[ch]
19577 - New files, implement the "Other wireless network" dialog
19579 * panel-applet/NMWirelessApplet.c
19580 - Move "other wireless network" dialog to separate file
19582 * panel-applet/NMWirelessAppletDbus.[ch]
19583 - Take key and key_type paramaters for the set_device function
19585 * panel-applet/essid.glade
19586 - Add UI bits for encryption settings
19588 * src/NetworkManagerDbus.c
19589 - Retrieve key and key_type params for "setActiveDevice" method call
19591 - unref AP returned from nm_device_get_best_ap() when needed
19593 * src/NetworkManagerDevice.c
19594 - (nm_device_get_best_ap): ref the ap before returning it
19595 - unref AP returned from nm_device_get_best_ap() when needed
19596 - (nm_device_activate_wireless): add "ap" parameter so we don't
19597 need to call nm_device_get_best_ap() here, it was pretty much
19599 - (AP_NEED_KEY): break second link check condition out into separate
19600 function, and fix segfault when ap->enc_key_source was NULL
19601 - (nm_device_find_and_use_essid): take key and key_type parameters and
19602 pass them along to nm_device_wireless_network_exists(). If the
19603 network does exist, set the passed-in key+key_type on the AP
19605 * src/NetworkManagerPolicy.c
19606 - unref AP returned from nm_device_get_best_ap() when needed
19608 2004-10-28 Dan Williams <dcbw@redhat.com>
19610 * src/NetworkManagerUtils.c
19611 - (nm_spawn_process): Fix a potential dereference of NULL
19613 Patches from Peter Jones:
19615 * src/NetworkManagerDevice.c
19616 - (nm_device_test_wireless_extensions): Better check for
19619 * src/NetworkManagerUtils.c
19620 - (nm_spawn_process): Pass in valid stdout and stderr so
19621 executed programs don't randomly SIGPIPE and fail
19622 - (nm_get_wired_driver_support_level): quash hal warning
19623 when checking for USB ethernet device
19625 2004-10-27 Dan Williams <dcbw@redhat.com>
19627 * info-daemon/NetworkManagerInfo.c
19628 info-daemon/NetworkManagerInfoDbus.c
19629 info-daemon/NetworkManagerInfoPassphraseDialog.c
19630 panel-applet/NMWirelessApplet.c
19631 - Properly escape gconf keys
19633 * src/NetworkManager.c
19634 - remove unused variables
19636 * src/NetworkManagerAP.c
19637 - (nm_ap_new_from_ap): Don't redundantly set new APs
19638 refcount since it got set in nm_ap_new()
19640 * src/NetworkManagerAPList.c
19641 - (nm_ap_list_combine): Give up ownership of newly created
19642 access points to the ap list, fixes memleak
19644 * src/NetworkManagerDevice.c
19645 - Remove cached_ap_list4 member since its not really needed
19646 - (nm_device_wireless_network_exists): Try to get correct
19647 encryption status of a found AP if its already in our
19649 - (nm_device_do_normal_scan): Clean up scanning a bit, make
19650 memory allocs/deallocs a bit clearer and shorter-lived
19652 2004-10-26 Ray Strode <rstrode@redhat.com>
19654 * panel-applet/NMWirelessApplet.c:
19655 (custom_essid_item_selected): kill some compiler
19658 2004-10-26 John (J5) Palmieri <johnp@redhat.com>
19660 * info-daemon/NetworkManagerInfoDbus.c
19661 - (nmi_dbus_is_running): New function for determining if nmi is already running
19662 - (nmi_dbus_service_init): exit if another instance of nmi is already running
19664 2004-10-23 Dan Williams <dcbw@redhat.com>
19666 * info-daemon/NetworkManagerInfoDbus.c
19667 - Trap the "DeviceActivationFailed" signal
19669 * docs/NetworkManager DBUS API.txt
19670 - Add "DeviceActivationFailed" signal
19672 * panel-applet/NMWirelessAppletDbus.c
19673 - Quash the "NetworkManager service not available" message
19675 * src/NetworkManagerDbus.[ch]
19676 - Add the "DeviceActivationFailed" signal
19678 * src/NetworkManagerDevice.c
19679 - Add support for activation_failed flag
19680 - Fix deadlock where activation thread didn't clean itself up, making
19681 main thread still believe it was alive forever (didn't reset activation
19682 flags like activating, just_activated, etc when IP configuration
19685 * src/NetworkManagerPolicy.c
19686 - Implement logic for DeviceActivationFailed signal, and when activation fails
19687 for wireless networks, try to fall back to some other access point
19689 2004-10-23 Dan Williams <dcbw@redhat.com>
19691 * panel-applet/NMWirelessApplet.[ch]
19692 - Place the GtkMenuBar inside a GtkEventBox, and add the Event Box
19693 to the applet object, so we can get tooltips
19694 - Add tooltips (RH #136866)
19696 * src/NetworkManagerDevice.c
19697 - When trying to find a wireless network, try to connect with encryption
19698 turned on first, so that we can more accurately detect whether or not
19699 we need to use encryption for the actual association later on
19701 2004-10-21 Dan Williams <dcbw@redhat.com>
19703 * Add some support for telling NetworkManagerInfo to tell the user
19704 that they are using a device that's not fully supported
19706 * Fix some assertions in debug messages due to null access point args
19708 2004-10-21 Dan Williams <dcbw@redhat.com>
19710 * src/NetworkManagerDevice.c
19711 - Don't try to activate/bring up/down unsupported
19714 * src/NetworkManagerUtils.c
19715 - Fix case of PCI ID checks for driver support levels
19717 2004-10-21 Dan Williams <dcbw@redhat.com>
19720 - New file, now contains commonly used structures and bits
19721 for the dbus API of NetworkManager
19724 - Deliver NetworkManager.h to ${includedir}/NetworkManager
19726 * src/NetworkManager.h
19727 - Rename -> src/NetworkManagerMain.c
19729 * Various fixups all around to use NetworkManager.h and new
19730 src/NetworkManagerMain.h, remove redundant bits that got
19731 moved into NetworkManager.h
19733 * src/NetworkManagerDevice.[ch]
19734 src/NetworkManagerUtils.[ch]
19735 src/NetworkManagerPolicy.c
19736 src/NetworkManagerDbus.c
19737 - Whitelist wireless drivers, and blacklist some wired
19738 drivers. Also blacklist cipsec and ethernet-over-usb
19739 devices at this time (RH #135722, RH #135648)
19740 - Don't leak unsupported devices out over dbus, or allow
19741 them to be set as the active device. Skip over them
19742 during automatic device picking
19744 * test/nmclienttest.c
19745 - Clean up the dbus code a lot
19747 Tue Oct 19 14:20:29 2004 Jonathan Blandford <jrb@redhat.com>
19749 * configure.in: post release bump.
19751 Tue Oct 19 14:19:24 2004 Jonathan Blandford <jrb@redhat.com>
19754 * NEWS: Released NetworkManager-0.3.1
19756 2004-10-18 Dan Williams <dcbw@redhat.com>
19758 Patches from Thom May:
19759 * test/nmtestdevices.c
19760 - Include <string.h>
19761 * src/backends/NetworkManagerDebian.c:
19762 - (nm_system_device_run_dhcp, nm_system_device_stop_dhcp)
19763 (nm_system_device_flush_routes, nm_system_device_flush_addresses)
19764 Move to using g_strdup_printf rather than arbitrary buffers
19765 - (nm_system_device_setup_static_ip4_config) Implement function.
19766 - (nm_system_kill_all_dhcp_daemons) Use killall -q rather than killall
19768 2004-10-17 Dan Williams <dcbw@redhat.com>
19770 * info-daemon/NetworkManagerInfoDbus.c
19771 - Display name of network in the "network not found" dialog
19773 * panel-applet/NMWirelessAppletDbus.c
19774 - (nmwa_dbus_call_nm_method): new function replaces all other
19775 nmwa_dbus_get_[string|string_array|int|boolean] methods
19776 - nmwa_dbus_get_network_name() and nmwa_dbus_get_device_name()
19777 consolidated into nmwa_dbus_get_object_name()
19779 2004-10-15 Dan Williams <dcbw@redhat.com>
19781 * src/NetworkManagerDbus.c
19782 info-daemon/NetworkManagerInfoDbus.c
19783 - Display an error dialog when the user tries to use an
19784 "Other wireless network" that's not found.
19786 2004-10-15 Dan Williams <dcbw@redhat.com>
19788 * panel-applet/NMWirelessApplet.[ch]
19789 - Fix up corner cases in applet state, making it
19790 look more responsive. Change state to "connecting" when
19791 the user is forcing a device too.
19793 2004-10-15 Dan Williams <dcbw@redhat.com>
19795 * src/NetworkManagerAPList.c
19796 - (nm_ap_list_update_network): Disown AP after the list takes ownership
19798 * src/NetworkManagerDbus.c
19799 - (nm_dbus_nm_set_active_device): Simplify the device setting logic
19801 * src/NetworkManagerDevice.c
19802 - Disown APs after the device's AP list takes ownership
19804 2004-10-15 Dan Williams <dcbw@redhat.com>
19806 * panel-applet/NMWirelessApplet.c
19807 - Update our applet state from the GUI thread
19809 * panel-applet/NMWirelessAppletDbus.c
19810 - Greatly simplify the locking to make the GUI thread
19811 smoother. Update a private copy of the device list
19812 and active device and only when done talking to
19813 NetworkManager turn it over to the GUI thread.
19815 2004-10-15 Dan Williams <dcbw@redhat.com>
19817 * src/NetworkManagerAP.[ch]
19818 - Add "artificial" get/set functions, set for APs that
19819 aren't discovered as part of a scan but instead
19820 discovered by force-setting the ESSID
19822 * src/NetworkManagerDevice.[ch]
19823 - (nm_device_wireless_network_exists): pass back whether
19824 or not the discovered AP was encrypted. Also, try
19825 falling back to encrypted mode on the card if unencrypted
19826 association doesn't work
19827 - (nm_device_find_and_use_essid): If the network requested
19828 did in fact exists, but it wasn't in our scan list, add
19829 an "artificial" entry for it. Some Cisco cards don't
19830 see non-ESSID-broadcasting APs in their scan but can still
19831 associate with them if you know the ESSID, this works around
19833 - (nm_device_do_normal_scan): Carry "artificial" APs over from scan
19834 to scan if the card is currently associated with that AP
19836 2004-10-15 Dan Williams <dcbw@redhat.com>
19838 ---- We have a website ----
19839 http://people.redhat.com/dcbw/NetworkManager
19841 Patch from Robert Paskowitz:
19842 * src/NetworkManager.c
19843 - (main): Make sure we are run as root
19844 * src/NetworkManagerDevice.c
19845 - Fix type in ad-hoc setting function
19847 Patch from Thom May:
19848 * src/backends/NetworkManagerDebian.c
19849 - Make Debian backend compile again
19851 2004-10-14 Dan Williams <dcbw@redhat.com>
19853 * Tagged NetworkManager-0_3
19855 2004-10-14 Dan Williams <dcbw@redhat.com>
19857 Patch from Robert Paskowitz:
19859 src/NetworkManagerDevice.[ch]
19860 src/backends/NetworkManagerDebian.c
19861 src/backends/NetworkManagerGentoo.c
19862 src/backends/NetworkManagerRedHat.c
19863 src/backends/NetworkManagerSlackware.c
19864 - Add support for grabbing and using a broadcast address
19865 from system config files
19866 - Some Gentoo backend fixes for grabbing network config
19867 - Fix LOG_WARN->LOG_WARNING
19869 2004-10-14 Dan Williams <dcbw@redhat.com>
19871 * NEWS: a few small fixes in the credits
19873 Thu Oct 14 19:12:58 2004 Jonathan Blandford <jrb@redhat.com>
19875 * NEWS: prep for release.
19877 Thu Oct 14 16:47:12 2004 Jonathan Blandford <jrb@redhat.com>
19879 * panel-applet/NMWirelessAppletDbus.c
19880 (nmwa_dbus_update_device_wireless_networks): remove warnings.
19882 Thu Oct 14 16:40:39 2004 Jonathan Blandford <jrb@redhat.com>
19884 * panel-applet/NMWirelessApplet.c (animation_timeout): Make
19885 applet->state == APPLET_STATE_NO_NM animation.
19887 * panel-applet/NMWirelessApplet.c (custom_essid_item_selected):
19888 set the text correctly.
19890 2004-10-14 Dan Williams <dcbw@redhat.com>
19892 * src/NetworkManager.c
19893 - Only accept and manager 802.3 and 802.11 devices
19895 * src/NetworkManagerDbus.[ch]
19896 - (nm_dbus_nm_set_active_device): move most of the actual activation
19897 logic into NetworkManagerDevice.c
19898 - (nm_dbus_network_status_from_data): new function
19899 - (nm_dbus_signal_network_status_change): new function, unused for now
19900 - (nm_dbus_nm_message_handler): use nm_dbus_network_status_from_data () now
19902 * src/NetworkManagerDevice.[ch]
19903 - (nm_device_find_and_use_essid): new function. Search for, and if found use,
19906 2004-10-14 John (J5) Palmieri <johnp@redhat.com>
19908 * info-daemon/NetworkManagerInfo.c
19909 - (main): Added session management
19911 2004-10-14 Dan Williams <dcbw@redhat.com>
19913 * panel-applet/NMWirelessAppletDbus.[ch]
19914 - Expose network_device_[un]ref()
19915 - Expose wireless_network_[un]ref()
19916 - (wireless_network_new_with_essid): new function, create and return
19917 a wireless network with a particular essid
19919 * panel-applet/NMWirelessApplet.c
19920 - Hook up the "other network" dialog to do something
19922 Wed Oct 13 19:31:53 2004 Jonathan Blandford <jrb@redhat.com>
19924 * panel-applet/NMWirelessApplet.c: Add an essid dialog. It
19925 doesn't work yet, but it looks okay.
19927 * panel-applet/icons/*png: Resize to 22x22 and install in the
19930 2004-10-13 Dan Williams <dcbw@redhat.com>
19932 * panel-applet/NMWirelessApplet.c
19933 - Add function to print out applet_state in a readable
19936 * src/NetworkManager.c
19937 - (main): Don't segfault when nm_dbus_init() fails, we had
19938 a left-over call to hal_shutdown() into which we passed NULL
19940 * src/NetworkManagerAP.c
19941 - (nm_ap_set_essid): Allow NULL essids
19943 * src/NetworkManagerAPList.[ch]
19944 - More use of nm_ap_list_[un]lock ()
19945 - (nm_ap_list_get_ap_by_essid): don't warn when looking for a NULL
19946 network/essid, just return nothing. Also skip over NULL
19947 essid access points in the list when searching
19948 - (nm_ap_list_get_ap_by_address): new function
19949 - (nm_ap_list_update_network): set the access point's key source to
19950 NULL when the key returned from NetworkManagerInfo is NULL or
19952 - nm_ap_list_update_keys() -> nm_ap_list_update_properties(), and
19953 copy timestamp over too
19954 - (nm_ap_list_copy_essids_by_address): new function, attempt to
19955 find the correct ESSID for a blank-essid access point by searching
19956 through another list and matching access point MAC addresses
19957 - (nm_ap_list_diff): exclude blank-essid access points from the diffs
19959 * src/NetworkManagerDbus.c
19960 - (nm_dbus_nm_set_active_device): deal with random networks the user
19961 may specify. This is mainly for access points that don't
19962 broadcast their essid. So if the user tells us to associate with
19963 some random ESSID that's not in our access point list, we find
19964 out if the access point does in fact exist (by attempting association
19965 and then matching that access point's MAC address with the essid the
19966 user gave us) and then we switch to it.
19967 - (nm_dbus_devices_handle_request): don't add blank-essid access points
19968 to the returned list of networks for the "getNetworks" method
19970 * src/NetworkManagerDevice.[ch]
19971 - Extra debugging info for link detection
19972 - (nm_device_ap_list_get_ap_by_address): new function, return an AP
19973 based on MAC address
19974 - (nm_device_get_path_for_ap): ignore blank-essid access points
19975 - (nm_device_wireless_network_exists): new function, find out whether
19976 a random ESSID exists by attempting to associate with it
19977 - (nm_device_do_normal_scan): allow blank-essid access points in our
19978 device list as long as they have an AP MAC address we can use.
19979 Also send WirelessNetwork[Dis]Appeared signals for non-active
19980 devices too. Lets the applet update more frequently.
19982 * src/backends/NetworkManagerGentoo.c
19983 - Patch from: Robert Paskowitz
19984 - Update backend code for Gentoo
19985 - Implement nm_system_device_update_config_info ()
19987 * test/nmclienttest.c
19988 - (set_network_device): new function, takes a command-line argument
19989 and tells NetworkManager to use that wireless network
19991 Wed Oct 13 John (J5) Palmieri <johnp@redhat.com>
19993 * info-daemon/NetworkManagerInfo.c (nmi_spawn_notification_icon): Stop respawning
19994 if the notification icon crashes 5 times within 5 seconds of each respawn
19996 Tue Oct 12 22:53:04 2004 Jonathan Blandford <jrb@redhat.com>
19998 * panel-applet/NMWirelessApplet.c (nmwa_update_state): remove
20001 Tue Oct 12 22:44:15 2004 Jonathan Blandford <jrb@redhat.com>
20003 * panel-applet/NMWirelessApplet.h: Change the name of the icons.
20005 * panel-applet/NMWirelessApplet.c: (animation_timeout),
20006 (nmwa_update_state), (nmwa_destroy), (nmwa_setup_widgets),
20007 (nmwa_icons_free), (nmwa_icons_load_from_disk), (nmwa_icons_init):
20008 Change the name of the icons.
20010 * panel-applet/menu-info.c: (nm_menu_wired_class_init),
20011 (nm_menu_wired_expose_event), (nm_menu_network_class_init),
20012 (nm_menu_wireless_class_init), (nm_menu_wireless_new),
20013 (nm_menu_wireless_expose_event): Really bad hack to get the style
20014 to draw in the right color.
20016 Tue Oct 12 John (J5) Palmieri <johnp@redhat.com>
20018 * info-daemon/NetworkManagerInfo.c (main): Add child watch to respawn
20019 Notification if it crashes
20021 Fri Oct 8 07:19:55 2004 Jonathan Blandford <jrb@redhat.com>
20023 * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_get_double):
20024 (nmwa_dbus_get_string): remove unused functions
20026 * panel-applet/NMWirelessApplet.c (nmwa_about_cb):
20027 (nmwa_cancel_timeout), (nmwa_get_menu_pos), (nmwa_factory):
20028 remove unused functions
20030 * panel-applet/NMWirelessApplet.c: Rewrite icon code.
20032 2004-10-12 Dan Williams <dcbw@redhat.com>
20034 * panel-applet/NMWirelessAppletDbus.c
20036 wireless_network_new
20037 wireless_network_copy
20039 network_device_copy
20041 * src/NetworkManagerDevice.[ch]
20043 nm_device_set_mode_managed
20044 nm_device_set_mode_adhoc
20045 - Use these functions where appropriate
20046 - When creating a new wireless device, force the card
20047 to managed/Infrastructure mode as soon as possible
20049 2004-10-12 Dan Williams <dcbw@redhat.com>
20051 * src/NetworkManagerDevice.c
20052 - Force wireless cards into Infrastructure mode before we use them
20054 2004-10-12 Dan Williams <dcbw@redhat.com>
20057 - Remove bit about static IP address support
20059 * src/NetworkManagerUtils.c
20060 - (nm_spawn_process): Add some error reporting
20062 * src/NetworkManagerDevice.c
20063 - (nm_device_activation_configure_ip): hook up to the static config
20064 routines in the backends
20066 * src/backends/NetworkManagerRedHat.c
20067 - (nm_system_device_update_config_info): use shvar.c routines to
20068 parse the config file iformation, not our own
20069 - (nm_system_device_setup_static_ip4_config): new function, based
20070 heavily on 'ifup' script and 'ipcalc' tool code. Set up a device
20071 with a static IP address and gateway
20073 * src/backends/shvar.[ch]
20074 - Parser (filched from initscripts package) for ifcfg-* files
20076 * src/backends/NetworkManagerSystem.h
20077 src/backends/NetworkManagerGentoo.c
20078 src/backends/NetworkManagerDebian.c
20079 src/backends/NetworkManagerSlackware.c
20080 - Stub nm_system_device_update_config_info() and nm_system_device_setup_static_ip4_config()
20082 2004-10-11 Dan Williams <dcbw@redhat.com>
20085 - Remove bit about more robust AP diffing since I just implemented it
20087 2004-10-11 Dan Williams <dcbw@redhat.com>
20089 * src/NetworkManagerAP.c
20090 - (nm_ap_new, nm_ap_new_from_ap): Don't crash when we don't have
20091 enough RAM to allocate new AP structures, but return NULL instead
20093 * src/NetworkManagerAPList.[ch]
20094 - (nm_ap_list_is_empty): new function
20095 - (nm_ap_list_combine): new function, combine two access point lists
20096 - (nm_ap_list_copy_keys): new function, copy keys from one list
20099 * src/NetworkManagerDevice.[ch]
20100 - Rename some functions to be clearer:
20101 nm_device_get_best_ap_frozen -> nm_device_is_best_ap_frozen
20102 nm_device_just_activated -> nm_device_is_just_activated
20103 nm_device_activating -> nm_device_is_activating
20104 nm_device_now_scanning -> nm_device_is_scanning
20105 - Cache the last 4 scans so that the access point list is more stable.
20106 We combine the lastest two scans and use that as the AP list,
20107 and diff that combined list against the combination of the earliest
20108 two cached scans for the WirelessNetworkAppeared/Dissappeared signals
20110 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
20112 * info-daemon/NWManagerInfo.h
20113 - (struct NetworkManagerInfo): add shutdown_timeout GSource
20115 * info-daemon/NWManagerInfoDbus.c
20116 - (shutdown_callback): new function
20117 - (nmi_dbus_filter): Create a 30 second timeout until shutdown
20118 if NetworkManager goes away. Kill the timeout
20119 if NetworkManager restarts before the 30 seconds
20121 - (nmi_dbus_service_init):
20122 - call gtk_main_quit if NetworkManager is not running
20123 - add filters to monitor dbus service creations and
20126 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
20128 * panel-applet/NMWirelessApplet.c
20129 - (nmwa_update_state): Hide notification icon if we are only
20130 showing one wired card and no wireless interfaces
20131 (Red Hat Bug #134895)
20133 * panel-applet/NMWirelessAppletDbus.c
20134 - (nmwa_dbus_filter): changed exit to gtk_main_quit ()
20136 * info-daemon/NWManagerInfo.c
20137 - (main): Terminated the notification_icon_cmd array with a NULL
20139 2004-10-08 Hendrik Brandt <hebra@cvs.gnome.org>
20141 * configure.in (ALL_LINGUAS): Added de (German).
20143 2004-10-08 Dan Williams <dcbw@redaht.com>
20145 * src/NetworkManagerDevice.c
20146 - Be a bit more robust about link checking, ie make sure that
20147 the WEP key we were given actually has some data in it
20149 2004-10-08 Dan Williams <dcbw@redhat.com>
20151 * info-daemon/NetworkManagerInfo.c (main):
20152 - Initialize GError object to NULL
20154 2004-10-08 Dan Williams <dcbw@redhat.com>
20156 * panel-applet/NMWirelessAppletDbus.c
20157 - Die if NetworkManagerInfo dies, since it manages our lifetime
20159 2004-10-08 Dan Williams <dcbw@redhat.com>
20161 * info-daemon/NetworkManagerInfo.[ch]
20162 info-dameon/NetworkManagerInfoDbus.[ch]
20163 info-daemon/NetworkManagerInfoPassphraseDialog.[ch]
20164 - Preserve original label text in the passphrase dialog so that
20165 it actually gets updated with the new network name the next
20166 time around. Previously, we were overwriting it so you'd get
20167 the wrong network name to enter a key for
20168 - Add a "Key Type" combo to the passphrase dialog, user selects
20169 encryption key type now, type is stored in GConf too
20170 - Adjust NM<->NMI DBUS protocol to pass the key type back to NM too
20172 * src/NetworkManagerAP.[ch]
20173 - Remove all the encyption method magic. It's now set by the user
20174 and NetworkManager retrieves the type of encryption key from
20177 * src/NetworkManagerAPList.[ch]
20178 src/NetworkManagerDbus.[ch]
20179 - Adjust to new way of setting encryption key and method
20180 - Pull encryption method down from NMI along with key
20182 * src/NetworkManagerDevice.[ch]
20183 - Removed encryption method fallback magic as the method is now
20184 determined by the user. This greatly simplifies the connection
20186 - More robust connection/link logic. Besides removing the encryption
20187 method fallback magic, check whether or not the card is receiving
20188 invalidly encrypted packets, which usually indicates that we have
20190 - Don't blindly forge ahead when DHCP fails (still not completely fixed)
20192 * test/nminfotest.c
20193 - Test out new "Key Type" stuff in the NMI passphrase dialog
20195 2004-10-07 Dan Williams <dcbw@redhat.com>
20197 * info-daemon/NetworkManagerInfo.conf
20198 - Allow root user to run NMI too
20200 2004-10-06 Dan Williams <dcbw@redhat.com>
20202 * src/NetworkManagerDevice.[ch]
20203 src/NetworkManagerDbus.c
20204 doc/NetworkManager DBUS API.txt
20205 - Add a new status tag "scanning", which is set when there
20206 is no active network connection, but NetworkManager is
20207 looking for an access point to associate with
20209 * panel-applet/main.c
20210 - Cast the applet appropriately for gtk_widget_show_all ()
20212 Mon Oct 4 12:55:41 2004 Jonathan Blandford <jrb@redhat.com>
20214 * panel-applet/eggtrayicon.[ch]:
20215 * panel-applet/main.c: Add missing file
20217 2004-10-04 Dan Williams <dcbw@redhat.com>
20219 * src/NetworkManagerDevice.[ch]
20220 - Add a slightly more robust method of determining if the WEP key
20221 is correct or not, by checking the WEP-discarded packet count
20224 * info-daemon/NetworkManagerInfo.c
20225 - (nmi_gconf_notify_callback): Fix GConf essid escaping, should
20226 un-escape values we pull out rather than escaping them
20228 2004-10-03 Marcel Telka <marcel@telka.sk>
20230 * configure.in (ALL_LINGUAS): Added sk.
20232 Fri Oct 1 18:26:03 2004 Jonathan Blandford <jrb@redhat.com>
20234 * panel-applet/menu-info.c (nm_menu_wired_class_init): update look
20235 and feel. We should be back to working, and have a good, clean
20238 2004-09-30 Dan Williams <dcbw@redhat.com>
20240 * info-daemon/NetworkManagerInfo.c
20241 info-daemon/NetworkManagerInfoDbus.c
20243 - Escape ESSIDs in gconf
20245 * src/NetworkManagerDevice.c
20246 - Fix pseudo-scanning to use netowrk list from info daemon
20248 Wed Sep 29 18:18:24 2004 Jonathan Blandford <jrb@redhat.com>
20250 * configure.in: Add a temporary --enable-notification-icon. This
20251 will prolly go away.
20253 * info-daemon/Makefile.am:
20254 * info-daemon/NetworkManagerInfo.c:
20255 * info-daemon/NetworkManagerInfo.h: Use a notification icon.
20257 * panel-applet/Makefile.am:
20258 * panel-applet/NMWirelessApplet.c: Turn into a notification icon
20259 * panel-applet/NMWirelessApplet.h:
20261 Tue Sep 28 16:35:20 2004 Jonathan Blandford <jrb@redhat.com>
20263 * panel-applet/NMWirelessApplet.c: Fix deadlock. Add a separator
20264 before 'select custom ESSID'.
20266 * panel-applet/menu-info.c: Start rewrite for better headers. Not
20267 fully complete, but syncing in prep for merge.
20269 * panel-applet/icons/*png: New images
20271 2004-09-28 Dan Williams <dcbw@redhat.com>
20273 * src/NetworkManager.c
20274 src/NetworkManagerDevice.c
20275 src/NetworkManagerPolicy.c
20276 - Don't blow away an active wired connection on startup
20278 2004-09-28 Bryan Clark <clarkbw@cvs.gnome.org>
20282 * info-daemon/NetworkManagerInfo.conf: fixed own permissions
20284 * info-daemon/NetworkManagerInfoDbus.c: added service name to
20287 Wed Sep 22 14:19:48 2004 Jonathan Blandford <jrb@redhat.com>
20289 * panel-applet/NMWirelessApplet.c: Only add essid's if we actually
20290 have a wireless card.
20292 Wed Sep 22 14:05:48 2004 Jonathan Blandford <jrb@redhat.com>
20294 * panel-applet/NMWirelessApplet.c: move the custom essid item.
20295 Also, get the right device strings.
20297 Wed Sep 22 13:51:45 2004 Jonathan Blandford <jrb@redhat.com>
20299 * panel-applet/menu-info.c (nm_menu_network_draw_indicator): Flip
20300 the logic to make this right.
20302 * panel-applet/NMWirelessApplet.c (sort_networks_function): sort
20303 devices so that wired networks are always first.
20305 2004-09-22 <clarkbw@cvs.gnome.org>
20307 * initscript/Debian/.cvsignore:
20308 * initscript/Slackware/.cvsignore:
20309 Added new cvsignores for Makefile, Makefile.in
20312 Added nmtestdevices
20314 * src/NetworkManagerDevice.c:
20315 * src/NetworkManager.c:
20316 Updated the wireless/wired HAL device strings from net.ethernet to
20317 net.80203 or net.80211 depending on wired or wireless respectively
20319 * examples/python/NetworkManager.py:
20320 s/Quality/Strength/
20322 * examples/python/systray/network_tray.py:
20323 Lots of little changes and fixes. been rotting for a while so I
20324 figured I'd finally sync them all with CVS
20326 Tue Sep 21 18:05:34 2004 Jonathan Blandford <jrb@redhat.com>
20328 * configure.in: Add graphics
20330 * panel-applet/Makefile.am: Add graphics
20332 * panel-applet/icons/*: Add graphics
20334 * panel-applet/NMWirelessApplet.c: Use new menu times to display
20335 the icons fully lined up.
20337 * panel-applet/menu-info.c:
20338 * panel-applet/menu-info.h: Add another menu type.
20340 Fri Sep 17 14:04:34 2004 Jonathan Blandford <jrb@redhat.com>
20342 * panel-applet/NMWirelessApplet.c: Redo the menu item code.
20344 * panel-applet/menu-item.[ch]: Wireless menu item.
20346 2004-09-15 John (J5) Palmieri <johnp@redhat.com>
20348 * info-daemon/NetworkManagerInfo.conf
20349 - Created a more robust security policy for the DBus service
20350 - everything is denied by default
20351 - root can own and send to the service
20352 - users logged in at the console can send to the service
20354 2004-09-13 Dan Williams <dcbw@redhat.com>
20356 * src/NetworkManagerDevice.c
20357 - (nm_device_get_essid): use iw_get_basic_config() rather than
20358 iw_get_ext (SIOCGIWESSID) since prism54 cards don't like
20361 2004-09-13 Dan Williams <dcbw@redhat.com>
20365 * docs/NetworkManager DBUS API.txt
20366 - Update for new signal strength changes
20368 * panel-applet/NMWirelessApplet.c
20369 - Make panel icon show strength of the current connection
20370 - Cleanups and memleak fixes
20372 * panel-applet/NMWirelessApplet.h
20373 - Add data members for signal strength on devices and networks
20375 * panel-applet/NMWirelessAppletDbus.c
20376 - Free more DBusErrors
20377 - Update for new signal strength changes
20378 - Make devices and networks more like real objects, use ref/unref methods
20379 - Actually unlock the mutex when updating the active device
20381 * src/NetworkManagerAP.c
20382 - Change AP functions and data members from "quality"->"strength"
20384 * src/NetworkManagerDbus.c
20385 - Kill "getMaxQuality" and "getQuality" methods
20386 - Add "getStrength" methods for Networks and Devices
20388 * src/NetworkManagerDevice.[ch]
20389 - Add accessors for device strength
20390 - Add functions to update strength for a device. Note that not all drivers
20391 actually support signal strength for scanned access points (Atmel drivers
20393 - Calculate signal strength for each AP during scan
20395 * src/NetworkManagerWireless.[ch]
20396 - Add function to return signal strength % from a device and a raw quality struct
20398 * test/nmclienttest.c
20399 - Update for new signal strength changes
20401 2004-09-11 Dan Williams <dcbw@redhat.com>
20403 * src/NetworkManager.c
20404 - Fix race condition between initscripts and NM on card insertion
20405 which could cause a card to keep an IP address and routes around
20406 even when it was not the active device
20408 * src/NetworkManagerDbus.c
20409 - Fix compile errors, free more DBusErrors
20411 2004-09-11 Dan Williams <dcbw@redhat.com>
20413 * docs/NetworkManager DBUS API.txt
20414 - Add an explanation of NM's API
20416 * src/NetworkManagerDbus.c
20417 - Free some more DBusErrors if needed
20419 2004-09-11 Dan Williams <dcbw@redhat.com>
20421 * panel-applet/NMWirelessApplet.c
20422 panel-applet/NMWirelessAppletDbus.c
20423 - Start using NetworkDevice/WirelessNetwork structures in more places
20424 - Update for unified device/network forcing in NetworkManager
20426 * src/NetworkManager.c
20427 - some code consolidation
20429 * src/NetworkManagerDbus.c
20430 - (nm_dbus_nm_set_active_device): "setActiveDevice" now takes either one
20431 or two arguments: the first is the NM ID of the device to switch to,
20432 and the second (optional) argument is the ESSID of a wireless network
20434 - Get rid of "setNetwork" method due to above change
20436 * src/NetworkManagerDevice.c
20437 - (nm_device_new): perform scan and update best AP on device creation
20438 - nm_device_activation_cancel_if_needed()->nm_device_activation_should_cancel()
20439 - nm_device_activation_signal_cancel()->nm_device_activation_cancel(), and
20440 spin waiting for cancellation to finish before returning
20442 * src/NetworkManagerPolicy.c
20443 - Changes here clarify the situations in which a device switch occurs, and
20444 make sure to keep using a forced device and network if the user gives
20446 - Remove old unused code
20448 2004-09-11 Martin Willemoes Hansen <mwh@sysrq.dk>
20450 * configure.in: Added Danish (da) to ALL_LINGUAS.
20452 2004-09-09 Dan Williams <dcbw@redhat.com>
20454 * panel-applet/NMWirelessAppletDbus.c
20455 - Pull fresh devices and networks from NM when wireless networks
20456 change. Provides faster feedback of a forced wireless network
20458 * src/NetworkManagerDbus.c
20459 - Return error when "getMaxQuality" is called on a wired device
20460 - Make best_ap freezing actually work again, and signal cancellation
20461 of activation if there's already a device activation when the user
20462 freezes the best_ap
20464 * src/NetworkManagerDevice.c
20465 - Don't clear out the best_ap for wireless devices when the link goes
20466 down, that's done elsewhere
20467 - Kill any dhcp daemons when cancelling device activation since they
20468 may be stuck waiting for a DHCP address, and since we're cancelling
20469 activation we don't care about that anymore
20471 * src/NetworkManagerPolicy.c
20472 - Make sure to unref the device we ref earlier (we refed it to make sure
20473 it stuck around during device activation and such)
20474 - If we were going to change the best device, but its activating currently
20475 (and therefore the change didn't occur due to the check earlier)
20476 we mark the state changed to we come back to it later when device
20477 activation has canceled and its no longer activating
20479 * src/backends/NetworkManagerRedHat.c
20480 - SIGKILL dhcp daemons rather than SIGTERM-ing them
20482 2004-09-09 Bryan Clark <clarkbw@cvs.gnome.org>
20484 * info-daemon/passphrase.glade:
20485 set passphrase input to activates_default : True
20487 * examples/python/systray/network_tray.py
20488 (network_tray.sort_networks):
20490 Added support for having wireless always scanning
20492 2004-09-09 Dan Williams <dcbw@redhat.com>
20494 NOTE: this commit changes the behavior of wireless devices in
20495 NetworkManager. They are now up all the time, scanning all
20496 the time. Only the active device has an IP address and routing
20497 information set up however. Also, NetworkManager will no longer
20498 opportunistically switch wireless networks when a better one
20499 comes in range, it will remain associated with one wireless network
20500 until that one drops out.
20502 * panel-applet/NMWirelessApplet.c
20503 panel-applet/NMWirelessAppletDbus.c
20504 - List all wireless cards and their respective networks
20506 * src/NMLoadModules
20507 - Use full path to /sbin/ip
20509 * src/NetworkManager.c
20510 - Keep wireless devices up all the time so they can scan
20512 * src/NetworkManagerDbus.c
20513 - On a WirelessNetworkUpdate signal from NMI, don't update
20516 * src/NetworkManagerDevice.c
20517 - (nm_device_set_link_active): clear out the best ap for
20518 wireless devices when the link is set to FALSE
20519 - Scan on all wireless cards, all the time
20520 - (nm_device_activation_worker): split out the wireless card
20521 link-waiting code to a separate function
20522 - Keep wireless cards up even if device activation fails
20523 - Don't update the "best" ap as much
20525 * src/NetworkManagerPolicy.c
20526 - Don't update the best ap when checking if its frozen,
20527 let link checking clear out a frozen best ap for us
20529 * src/NetworkManagerWireless.c
20530 - Scan on all wireless cards, all the time
20532 2004-09-09 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
20534 * configure.in: Added 'es' (Spanish) to ALL_LINGUAS.
20536 2004-09-09 Ankit Patel <ankit@redhat.com>
20538 * configure.in: Added 'gu' (Gujarati) to ALL_LINGUAS.
20540 2004-09-09 Pablo Saratxaga <pablo@mandrakesoft.com>
20542 * configure.in: Added Walloon (wa) to ALL_LINGUAS.
20544 2004-09-08 Bryan Clark <clarkbw@cvs.gnome.org>
20546 * examples/python/NetworkManager.py:
20547 added CONNECTED, CONNECTING, and DISCONNECTED states
20548 added methods to return number of devices of a single type
20550 * examples/python/systray/network_tray.py:
20551 did some tweaks to get the menu looking near what it is supposed
20552 to look like. Also did a Airo card hack to make it show the
20555 2004-09-08 Dan Williams <dcbw@redhat.com>
20557 * panel-applet/no-networkmanager.png
20558 panel-applet/Makefile.am
20559 panel-applet/NMWirelessApplet.c
20560 - Add a "NetworkManager not running" icon and use it
20561 - Use new consolidated GConf keys rather than Preferred/Trusted
20565 * info-daemon/NetworkManagerInfo.c
20566 info-daemon/NetworkManagerInfoDbus.[ch]
20567 info-daemon/NetworkManagerInfoPassphraseDialog.c
20568 - There are now no longer two separate lists of wireless networks,
20569 but one list where each network is "trusted" or not trusted
20570 - Add a "getNetworkTrusted" dbus method
20571 - "WirelessNetworkUpdate" signal now sent rather than
20572 "PreferredNetworkUpdate/TrustedNetworkUpdate" signals
20573 - Start freeing some dbus errors (not completed yet)
20575 * info-daemon/passphrase.glade
20576 - Remove the "don't show" hints for pager and taskbar
20577 - Add a title since its going to be in the taskbar
20579 * src/NetworkManager.[ch]
20580 src/NetworkManagerAPList.[ch]
20581 - There are now no longer two separate lists of wireless networks,
20582 but one list where each network is "trusted" or not trusted
20584 * src/NetworkManagerAP.[ch]
20585 - Add get/set "trusted" accessors and data bit
20587 * src/NetworkManagerDbus.[ch]
20588 - Add function to get "trusted" status of a network from NetworkManagerInfo
20589 - Trap new WirelessNetworkUpdate signal rather than old separate signals
20591 * src/NetworkManagerDevice.[ch]
20592 - Add per-device config data (ip4 addr, gateway, netmask) and accessors
20593 - (nm_device_new): Get device config from backend when initializing devices
20594 - (nm_device_activation_worker): Split out device configuration on
20595 activation to deal with static/dynamic IP differences, and try encryption
20596 fallbacks on a device if the encryption method for the best AP is not good
20597 - (nm_device_update_best_ap): convert to new consolidated access point lists from
20598 NetworkManagerInfo, and copy over latest NMI info to best_ap when setting it
20600 * src/NetworkManagerWireless.c
20601 - libgcrypt code wasn't converting the MD5 digest to an ascii string, fix it
20603 * src/backends/NetworkManagerRedHat.c
20604 src/backends/NetworkManagerSystem.h
20605 - (nm_system_device_update_config_info): Add function to get device configuration
20606 from system data in ifcfg-* files
20608 * src/backends/NetworkManagerDebian.c
20609 src/backends/NetworkManagerGentoo.c
20610 src/backends/NetworkManagerSlackware.c
20611 - Add stub functions for getting device configuration
20613 2004-09-07 Dan Williams <dcbw@redhat.com>
20615 * src/backends/NetworkManagerRedhat.c
20616 src/backends/NetworkManagerSlackware.c
20617 - Use full path to /sbin/ip everywhere
20619 2004-09-07 Dan Williams <dcbw@redhat.com>
20621 Patch from: Narayan Newton <narayan_newton@yahoo.com>
20624 initscript/Makefile.am
20625 initscript/Slackware/Makfile.am
20626 initscript/Slackware/rc.networkmanager
20628 src/backends/NetworkManagerSlackware.c
20629 - Add Slackware support
20631 2004-09-07 Dan Williams <dcbw@redhat.com>
20633 Patches below from:
20635 Mark Roach <mrroach@okmaybe.com>
20636 Thom May <thom@debian.org>
20639 initscript/Debian/NetworkManager
20640 initscript/Debian/Makefile.am
20641 - Initscript for Debian
20643 * src/backends/NetworkManagerDebian.c
20644 - Add missing system init function to allow compilation
20647 2004-09-03 Raphael Higino <raphaelh@cvs.gnome.org>
20649 * configure.in: Added 'pt_BR' to ALL_LINGUAS.
20651 2004-09-03 Akagic Amila <bono@linux.org.ba>
20653 * configure.in: Added 'bs' to ALL_LINGUAS.
20655 2004-09-02 Colin Walters <walters@verbum.org>
20657 * src/backends/NetworkManagerRedHat.c (nm_system_device_run_dhcp)
20658 (nm_system_device_stop_dhcp, nm_system_device_flush_routes): Use
20659 g_strdup_printf instead of arbitrarily sized buffers.
20661 2004-09-01 Colin Walters <walters@verbum.org>
20663 * NetworkManager.pc.in: New file.
20665 * Makefile.am, .cvsignore, configure.in: Add NetworkManager.pc.
20667 2004-09-01 Amanpreet Singh Alam <aalam@redhat.com>
20669 * configure.in: Punjabi(pa) is added to po/.
20671 2004-08-31 Dan Williams <dcbw@redhat.com>
20673 * Remove 'debug' extern global from all files since we now
20676 * src/NetworkManager.[ch]
20677 - Break out routine that get the net.interface property from HAL,
20678 removing that logic from nm_create_device_and_add_to_list()
20679 - (nm_create_device_and_add_to_list): make this a bit more general so
20680 it doesn't do the talking to HAL. Also add arguments to facilitate
20681 the create of test devices.
20682 - (nm_data_mark_state_changed): rename from nm_data_set_state_modified()
20683 - (nm_data_new, main, nm_print_usage): add new argument "--enable-test-devices"
20684 which makes NetworkManager listen for dbus commands to create test
20685 devices, which have no backing hardware. Use when you're on a plane
20686 for example, and/or forgot your wireless card at home. Test devices
20687 _cannot_ be created unless NM is started with --enable-test-devices.
20689 * src/NetworkManagerDbus.[ch]
20690 - New "getLinkActive" method for devices
20691 - New "setLinkActive" method for devices (only works on test devices)
20692 - New "createTestDevice" method on NetworkManager object to create a test
20693 device of a specified type (ie wired, wireless). UDI is created from
20694 scratch, as is the interface name. Only works when NM is started with
20695 --enable-test-devices switch.
20696 - New "removeTestDevice" method on NetworkManager object which removes a
20697 test device. Only works when NM is started with --enable-test-devices
20699 * src/NetworkManagerDevice.[ch]
20700 - Logic to facilitate test devices. Add variables to NMDevice struct to indicate
20701 whether a device is a test device or not, and what its link status is.
20702 - Deal with test devices in most functions. For those that work directly on hardware
20703 special-case test devices.
20704 - (nm_device_new): don't create a test device if test devices weren't enabled on the
20706 - (nm_device_update_link_active): split out logic for wired and wireless device link
20707 checking to separate functions to facilitate test device link checking.
20708 - (nm_device_set_enc_key): Since some drivers for wireless cards are daft and
20709 don't make a distinction between System Authentication and Encryption
20710 (namely Cisco aironet), we use Open System auth when setting a WEP key
20711 on the card. We don't deal with Shared Key auth yet.
20712 - (nm_device_activation_worker): split the activation cancel check logic out into
20713 a separate routine nm_device_activation_cancel_if_needed()
20714 - (nm_device_activation_signal_cancel): rename from nm_device_activation_cancel()
20715 - (nm_device_fake_ap_list): Test wireless devices obviously cannot scan, so create
20716 a list of fake access points that they can "see"
20717 - (nm_device_is_test_device): return whether or not a device is a test device
20719 * src/NetworkManagerPolicy.c
20720 - (nm_policy_get_best_device): attempt to deal with wireless network selection,
20721 previously if you "locked"/forced NM to use a wireless device but then
20722 selected a wireless network for NM to use, it would switch to a wired device.
20723 So, if the active device is wireless and it has a "forced" best AP, use it
20724 if the "forced" best AP is still valid
20725 - (nm_state_modification_monitor): deal with NULL best devices, for example
20726 there were no usable network devices, or the last one was removed
20728 * src/backends/NetworkManager*.c
20729 - Deal with test devices, mostly just return success for operations like getting
20732 * test/nmtestdevices.c
20733 - Test tool to create/remove/link-switch test devices
20735 2004-08-30 Bryan Clark <clarkbw@cvs.gnome.org>
20737 * examples/python/NetworkManager.py:
20738 added convience functions has_wired_device and has_wireless_device
20740 * examples/python/systray/network_tray.py:
20741 cleaned up a bunch of cruft, added support for listing wireless
20742 networks just like the real applet. This is probably all I'm
20743 going to work on this applet from now on.
20744 TODO: add support for actually changing networks and devices
20746 * examples/python/NetworkManager.py (NetworkManager.get_device):
20747 changed "nm.networks" into a dict from a list so I can store all
20748 the cool information about networks in there
20750 * examples/python/systray/network_tray.py:
20751 Added nice message when you try to run without running make first
20753 * examples/python/NetworkManager.py:
20754 Bug fixes to the code so we get all the device information
20755 that we need in get_device()
20757 * examples/python/NMTester.py:
20758 Fixed _print_device_list to print_device_list
20760 2004-08-29 Seth Nickell <seth@gnome.org>
20764 Actually properly setup the Debian backend in configure.
20766 2004-08-29 Colin Walters <walters@verbum.org>
20768 * test/nminfotest.c: Include string.h and stdlib.h.
20769 (get_network_string_property, get_networks_of_type): Return NULL.
20771 * test/nmclienttest.c (get_device_name, get_active_device): Return
20774 * src/backends/NetworkManagerRedHat.c (nm_system_device_stop_dhcp): Just
20775 use strlen, fgets always NULL-terminates the string.
20777 * src/NetworkManagerDbus.c (nm_dbus_nmi_filter,
20778 dbus_message_get_member): Remove /* in comment.
20780 * src/NetworkManagerUtils.c (LOCKING_DEBUG): Ditto.
20782 * src/NetworkManager.c (quit): Unused, delete.
20783 (nm_data_free): Cast arg to GFunc.
20785 * panel-applet/NMWirelessAppletDbus.c: Need to include
20786 string.h, and dbus-glib-lowlevel.h (the latter is needed
20787 for dbus_connection_setup_with_g_main at present).
20788 (nmwa_dbus_update_wireless_network_list): Parenthesize
20789 assignment in conditional.
20790 (nmwa_dbus_worker): Return NULL.
20792 * panel-applet/NMWirelessApplet.c (nmwa_redraw)
20793 (nmwa_get_menu_pos, nmwa_toplevel_menu_activate)
20794 (nmwa_menu_add_text_item, nmwa_setup_widgets): Kill unused variables.
20795 (nmwa_populate_menu): Return NULL on failure, instead of just
20798 * initscript/NMLaunchHelper.c (g_timeout_add): Cast arg to GSourceFunc.
20800 * info-daemon/NetworkManagerInfoNetworksDialog.c (nmi_networks_dialog_init): Kill unused
20803 * info-daemon/NetworkManagerInfo.c (nmi_print_usage): Unused,
20806 2004-08-29 Colin Walters <walters@verbum.org>
20808 * src/NetworkManagerDbus.c (nm_dbus_get_network_timestamp): Return
20809 a GTimeVal instead of time_t. This is easier to work with,
20810 since time_t may be a long or double, we don't know.
20812 * src/NetworkManagerDbus.h: Update prototype.
20814 * src/NetworkManagerAP.c (struct NMAccessPoint): Store a GTimeVal
20816 (nm_ap_get_timestamp): Update to return GTimeVal.
20817 (nm_ap_set_timestamp): Update to take GTimeVal.
20819 * src/NetworkManagerDevice.c (nm_device_update_best_ap): Update
20820 to handle GTimeVal.
20822 * src/NetworkManagerAPList.c (nm_ap_list_update_network): Handle
20824 (nm_ap_list_print_members): Fix warnings in printf format.
20826 2004-08-29 Colin Walters <walters@verbum.org>
20828 * panel-applet/NMWirelessApplet.c: Include config.h.
20830 2004-08-29 Colin Walters <walters@verbum.org>
20832 * configure.in: Generate config.h.
20834 * configure.in: Dump dependency on OpenSSL; we can't
20835 use it since this package is GPL:
20836 http://www.gnome.org/~markmc/openssl-and-the-gpl.html
20837 Instead, check for libgcrypt, use it if available,
20838 otherwise use included MD5 code.
20840 * src/gnome-keyring-md5.h, src/gnome-keyring-md5.c:
20841 Suck in from gnome-keyring, munge a bit.
20843 * src/Makefile.am (NetworkManager_SOURCES) <!WITH_GCRYPT>: Include
20844 gnome-keyring-md5.h gnome-keyring-md5.c.
20845 (NetworkManager_LDADD) <WITH_GCRYPT>: Add dep on LIBGCRYPT_LIBS.
20847 * src/NetworkManagerWireless.c (nm_md5): New function, uses
20848 libgcrypt or included gnome-keyring md5 bits.
20849 (nm_wireless_128bit_key_from_passphrase): Use nm_md5.
20851 2004-08-28 Kjartan Maraas <kmaraas@gnome.org>
20853 * configure.in: Add «nb» and «no» to ALL_LINGUAS.
20855 2004-08-27 Bryan Clark <bclark@redhat.com>
20857 * examples/python/systray/Makefile:
20859 Updated the clean section
20861 * examples/python/systray/trayiconmodule.c:
20862 * examples/python/systray/trayicon.override:
20863 * examples/python/systray/network_tray.py:
20864 * examples/python/systray/eggtrayicon.h:
20865 * examples/python/systray/eggtrayicon.c:
20866 * examples/python/systray/Makefile:
20867 * examples/python/README:
20868 * examples/python/NetworkManager.py:
20869 * examples/python/NMTester.py:
20871 Initial commit of these python example files
20873 Fri Aug 28 2004 Dan Williams <dcbw@redhat.com>
20875 * panel-applet/NMWirelessApplet.c
20876 - Make current device bold
20877 - Show more user-friendly device name if we got one from hal
20879 * panel-applet/NMWirelessAppletDbus.c
20880 - Grab "info.product" key from hal for network devices
20881 - Cache the current active device
20883 2004-08-27 Adam Weinberger <adamw@gnome.org>
20885 * configure.in: Added en_CA to ALL_LINGUAS.
20887 2004-08-27 Christian Rose <menthos@menthos.com>
20889 * configure.in: Added "sv" to ALL_LINGUAS.
20891 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20893 * Tag NetworkManager-0.2
20895 Thu Aug 26 17:23:16 2004 Jonathan Blandford <jrb@redhat.com>
20897 * initscripts/Makefile.am
20898 * configure.in: Make pass distcheck
20900 * po/ChangeLog: added
20902 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20904 * panel-applet/NMWirelessApplet.c
20905 - Remove debugging code
20906 - Enable device switching from menus
20908 * panel-applet/NMWirelessAppletDbus.[ch]
20909 - Method for asking NM to switch devices
20911 * src/NetworkManagerDevice.c
20912 - Set dev->activating earlier, avoids race between
20913 the dbus signal of "DeviceActivating" and setting
20914 dev->activating (which is what NM's "status" method call
20917 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20919 * panel-applet/NMWirelessApplet.[ch]
20920 - Rework menu code to add devices to menu, and to show
20921 signal strength for each access point. Code cleanups
20924 * panel-applet/NMWirelessAppletDbus.c
20925 - Grab network devices from NetworkManager too
20926 - Grab quality information from NM for wireless networks
20928 * src/NetworkManagerDbus.[ch]
20929 - Add dbus methods for getting the HAL UDI from a device and
20930 for getting its base quality, if its wireless
20931 - Consolidate some functions (wireless network notifications,
20932 device notifications)
20933 - Add method for requesting NM to use a particular device
20935 * src/NetworkManager.c
20936 - Change for function consolidations from NetworkManagerDbus.c
20937 - Implement active device locking and user-requested devices
20938 (ie, tell NM to use a particular device instead of the one
20941 * src/NetworkManagerDevice.c
20942 - Add method for getting the base quality of a device, if its
20944 - Grab device base quailty info from iwlib during scans
20946 * src/NetworkManagerPolicy.c
20947 - Use a user-requested device rather than the auto-chosen device
20950 Thu Aug 26 15:12:36 2004 Jonathan Blandford <jrb@redhat.com>
20952 * Makefile.am: add po as a supdir
20954 * autogen.sh: use gnome-autogen.sh
20956 * initscript/Gentoo/.cvsignore:
20957 * initscript/RedHat/.cvsignore: Shut up cvs
20959 * panel-applet/Makefile.am: Define GNOMELOCALEDIR for bonobo.
20961 * panel-applet/NMWirelessApplet.c: (nmwa_populate_menu),
20962 (nmwa_fill): Use gettext.
20964 * configure.in: add gettext support
20966 * po/NetworkManager.pot:
20969 2004-08-26 Seth Nickell <seth@gnome.org>
20971 * panel-applet/NMWirelessApplet.c: (nmwa_destroy),
20972 (nmwa_menu_item_activate), (nmwa_toplevel_menu_activate),
20973 (nmwa_add_menu_item), (nmwa_menu_item_data_free),
20974 (nmwa_dispose_menu_items), (nmwa_populate_menu),
20975 (nmwa_setup_widgets), (do_not_eat_button_press), (nmwa_new):
20976 * panel-applet/NMWirelessApplet.h:
20978 Use a menu bar instead of a button for the main clickable
20981 2004-08-25 Dan Williams <dcbw@redhat.com>
20983 * src/NetworkManagerDevice.c
20984 - (nm_device_set_enc_key): always set device to "open" mode instead of
20985 turning encryption off, because the Cisco driver doesn't associate
20986 with WEP-enabled access points unless we are in "open"
20988 2004-08-25 Dan Williams <dcbw@redhat.com>
20990 * src/NetworkManagerWireless.c
20991 - Don't try to defererence blank passphrases
20993 2004-08-25 Dan Williams <dcbw@redhat.com>
20995 * panel-applet/NMWirelessApplet.c
20996 - Rebuild the menu whenever a user clicks
20998 2004-08-25 Dan Williams <dcbw@redhat.com>
21000 * panel-applet/NMWirelessApplet.c
21001 - (nmwa_udpate_state): Set panel icon to "wired" (for lack of better ones)
21002 when NM isn't around or when its not connected
21004 * src/NetworkManagerDevice.c
21005 - (nm_device_activation_worker): Make sure to reset dev->activating if we get
21008 2004-08-25 Dan Williams <dcbw@redhat.com>
21010 * panel-applet/NMWirelessAppletDbus.c
21011 - (nmwa_dbus_get_bool, nmwa_dbus_get_network_encrypted): correct method name
21012 for getting encryption, and don't stop on "val" once we've gotten it
21013 from NetworkManager. Short form: encryption should now show up.
21015 2004-08-25 Dan Williams <dcbw@redhat.com>
21017 * panel-applet/NMWirelessApplet.c
21018 - Set ESSID on a gconf trusted network too when force-setting the wireless
21019 network to associate with
21021 2004-08-25 Dan Williams <dcbw@redhat.com>
21024 - Rework the panel applet to do all DBUS communication in a separate
21027 2004-08-25 Dan Williams <dcbw@redhat.com>
21029 * info-daemon/NetworkManagerInfo.[ch]
21030 - Remove "get_next_priority" function
21032 * info-daemon/NetworkManagerInfoDbus.[ch]
21033 - Convert "priority" functions to "timestamp"
21035 2004-08-25 Dan Williams <dcbw@redhat.com>
21037 * src/NetworkManagerAP.[ch]
21038 - Add a "enc_method_good" member and accessors to an Access Point
21039 to signal when we've found the correct encryption method
21040 for an access point
21041 - Add a "timestamp" member and accessors, remove "priority" member
21042 and accessors (use timestamps instead)
21043 - Rename "wep_key"->"enc_key"
21044 - (nm_ap_get_enc_key_hashed): new, return the correct mangled key
21045 for a specified encryption method using the access points
21046 source encryption key/passphrase
21048 * src/NetworkManagerAPList.c
21049 - When updating a network with dbus, grab timestamp now instead of
21052 * src/NetworkManagerDBus.[ch]
21053 - Add signal for "DeviceActivating"
21054 - Switch priority->timestamp
21056 * src/NetworkManagerDevice.c
21057 - Change references of "wep_key" -> "enc_key" or "key"
21058 - Signal DeviceActivating when starting activation
21059 - When activating a wireless device, if the access point we are connecting
21060 to is encrypted, and we have a source key, try to generate a mangled
21061 key and use that (ie, generate real WEP key from a passphrase)
21062 - Rework device activation to fallback to other encryption methods if
21063 a previous one didn't work (ie, try mangling a key as a 104-bit passphrase
21064 first, then if that doesn't work fall back to direct hex key).
21065 - (nm_device_update_best_ap): fix a deadlock, and use timestamps instead of
21066 priority. We now prefer the latest access point used, rather than using
21068 - (nm_device_do_normal_scan): make the encryption method "unknown" on access
21069 points we've just discovered, and merge in correct info from the global
21072 2004-08-25 Seth Nickell <seth@gnome.org>
21074 Patch from Matthew Garrett <mjg59@srcf.ucam.org> for adding
21078 * src/backends/NetworkManagerDebian.c: (nm_system_device_run_dhcp),
21079 (nm_system_device_stop_dhcp), (nm_system_device_flush_routes),
21080 (nm_system_device_flush_addresses), (nm_system_enable_loopback),
21081 (nm_system_delete_default_route),
21082 (nm_system_kill_all_dhcp_daemons), (nm_system_update_dns),
21083 (nm_system_load_device_modules):
21085 2004-08-24 Dan Willemsen <dan@willemsen.us>
21087 * src/NetworkManager.c
21088 src/backends/NetworkManagerGentoo.c
21089 src/backends/NetworkManagerRedHat.c
21090 src/backends/NetworkManagerSystem.h
21091 - Implement preliminary Gentoo support, adding a
21092 nm_system_init function to the backend specification
21095 - Distribution auto-detection, lowercase any user-fed
21098 * initscript/.cvsignore
21099 initscript/Makefile.am
21100 initscript/RedHat/Makefile.am
21101 initscript/RedHat/NetworkManager
21102 initscript/Gentoo/Makefile.am
21103 initscript/Gentoo/NetworkManager
21104 - Refactored initscript code separately for each
21107 2004-08-23 Dan Williams <dcbw@redhat.com>
21111 src/NetworkManagerDevice.c
21112 src/NetworkManager.c
21113 src/NetworkManagerUtils.[ch]
21114 src/backends/NetworkManagerSystem.h
21115 src/backends/NetworkManagerRedHat.c
21116 src/backends/NetworkManagerGentoo.c
21117 - Refactor system-specific code into separate backends for
21120 2004-08-23 Dan Willemsen <dan@willemsen.us>
21122 * dispatcher-daemon/NetworkManagerDispatcher.c
21123 info-daemon/NetworkManagerInfo.[ch]
21124 info-daemon/NetworkManagerInfoDbus.c
21125 info-daemon/NetworkManagerInfoPassphraseDialog.c
21126 src/NetworkManager.c
21127 src/NetworkManagerAP.c
21128 src/NetworkManagerAPList.c
21129 src/NetworkManagerDbus.c
21130 src/NetworkManagerDevice.c
21131 src/NetworkManagerPolicy.c
21132 src/NetworkManagerUtils.[ch]
21133 src/NetworkManagerWireless.c
21134 - Used syslog functions for logging instead of NM_DEBUG_DISPLAY & fprintf
21136 * src/NetworkManager.c
21137 - Fixed usage wording for --no-daemon
21139 2004-08-23 Dan Williams <dcbw@redhat.com>
21141 * panel-applet/NMWirelessApplet.c
21142 - Update our state every second to get more responsive panel icon
21143 - (nmwa_update_state): remove bogus applet->pix_state = PIX_WIRED that
21144 was causing our marching ants status blips to never move when
21145 looking for a wireless network
21147 * src/NetworkManagerDevice.c
21148 - (nm_device_activation_begin): return if activation has already begun
21149 - (nm_device_do_normal_scan): merge WEP key and priority from the
21150 trusted/preferred network into the device's access point when the
21151 scan list is processed
21153 2004-08-23 Dan Williams <dcbw@redhat.com>
21155 * initscript/NetworkManager
21156 - Use NMLaunchHelper rather than sleeping
21158 * initscript/NMLaunchHelper.c
21160 - Add helper program that exits only when NM activates a device,
21161 or 10 seconds have passed, whichever happens first. This
21162 stops the boot processes until we have a network connection,
21163 which NM can't do because it daemonizes and brings the connection
21164 up in the background. Allows stuff like NFS to not die.
21166 2004-08-20 Dan Williams <dcbw@redhat.com>
21168 * info-daemon/NetworkManagerInfoPassphraseDialog.c
21169 - (nmi_passphrase_dialog_ok_clicked): when updating the wep key
21170 for a network, set the essid as well since it may not exist yet
21171 - (nmi_passphrase_dialog_init): don't star out the passphrase field,
21172 since WEP keys/passphrases are long and prone to entry-error
21174 * panel-applet/Makefile.am
21175 panel-applet/wired.png
21176 - Add (pulled from system-config-network temporarily)
21178 * panel-applet/NMWirelessApplet.[ch]
21179 - Show wired picture when a wired connection is used
21180 - Rename wireless icon enums, adding WIRELESS
21182 * src/NetworkManagerDevice.c
21183 - (nm_device_activate_wireless): unset encryption before bringing
21184 down the card and setting the essid
21185 - (nm_device_activatin_worker): request a key from the user if the
21186 AP we are connecting to is encrypted but we don't have a key
21188 - (nm_device_set_user_key_for_network): fix missing '== 0' for a
21189 strcmp() that prevented a user-entered key from actually getting
21192 2004-08-16 Dan Williams <dcbw@redhat.com>
21194 * initscript/NetworkManager
21195 - Check for /sbin/ip
21196 - Do sysctl magic that network service does
21197 - sleep 4s after start to allow network time to come up [hack]
21201 - Load all network device kernel modules (hal doesn't know devices
21202 are ethernet until the module is loaded, and therefore we don't know)
21204 * src/NetworkManager.c
21205 - (main): daemonize later, launch NMLoadModules to alert HAL of our
21206 network devices, and bring up the loopback device explicitly
21208 * src/NetworkManagerUtils.[ch]
21209 - (nm_enable_loopback): new function
21211 2004-08-13 Dan Williams <dcbw@redhat.com>
21214 panel-applet/Makefile.am
21215 - Fix up cleanfiles and server_DATA/server_in_files
21218 - Update with some comments on theory of operation
21224 2004-08-12 Dan Williams <dcbw@redhat.com>
21226 * info-daemon/passphrase.glade
21227 - Set window title to " "
21229 * panel-applet/Makefile.am
21230 panel-applet/keyring.png
21231 - Deliver to correct place
21233 * panel-applet/NMWirelessApplet.[ch]
21235 - Remove applet->have_active_device as its no longer used
21236 - (nmwa_load_theme): load keyring.png too
21237 - (error_dialog): remove
21238 - (show_warning_dialog): subsume functionality of error dialog too
21239 - (nmwa_destroy, nmwa_new): create and dispose of an application-wide GConfClient
21240 - (nmwa_handle_network_choice): add to deal with user clicking on an item from
21242 - (nmwa_menu_item_activated): GtkMenuItem "activate" signal handler
21243 - (nmwa_button_clicked, nmwa_setup_widgets): create and populate the menu on startup
21244 and when we get broadcasts of changed wireless access points only, not when the
21245 user clicks on the button to display the menu (too long of a wait)
21246 - (nmwa_add_menu_item): Make active network bold, and place a keyring icon beside
21247 networks that are encrypted
21248 - (nmwa_dispose_menu, nmwa_menu_item_data_free): dispose of the data we place on each
21249 menu item with g_object_set_data()
21251 * panel-applet/NMWirelessAppletDbus.[ch]
21252 - (nmwa_dbus_get_bool): add method to return boolean value from dbus message
21253 - (nmwa_dbus_get_active_network): add (nmwa_dbus_get_string() wrapper to get active network)
21254 - (nmwa_dbus_add_networks_to_menu): clean up, only show one instance of each ESSID in the menu
21255 - (nmwa_dbus_set_network): force NetworkManager to use a particular network for wireless cards
21256 - (nmwa_dbus_init, nmwa_dbus_filter): Trap network appear/disappear and device
21257 activation/deactivation signals and rebuild the menu when they happen
21259 * src/NetworkManager.c
21260 - (main): use new nm_spawn_process() rather than system()
21262 * src/NetworkManagerDbus.c
21263 - (nm_dbus_devices_handle_request): don't compare AP structure addresses directly, but essids
21264 instead. Since we can now force best_aps to stick around, the AP structure to which
21265 dev->options.wireless.best_ap points to won't necessarily be in the device's device list
21266 if a scan has happened since the best_ap was frozen. Also add "setNetwork" method
21267 to freeze the best_ap.
21269 * src/NetworkManagerDevice.[ch]
21270 - (nm_device_activation_worker): Use new nm_spawn_process() call rather than system()
21271 - (nm_device_*_best_ap): add freeze/unfreeze/get_frozen functions, and don't really update
21272 the best_ap in nm_device_update_best_ap() if the best_ap is frozen AND in the device's
21275 * src/NetworkManagerUtils.[ch]
21276 - (nm_spawn_process): add replacement for system() usage
21278 2004-08-11 Dan Williams <dcbw@redhat.com>
21280 * panel-applet/NMWirelessApplet.[ch]
21281 - Fix up copyright and credits to include Bastien and Eskil,
21282 who created the gnome-applets wireless applet, from whose
21283 skeleton this one was created
21284 - Rework nmwa_update_state()/nmwa_draw() so that state and which
21285 pixmap to draw is computed during nmwa_update_state()
21286 - Applet now shows itself all the time due to panel packing issues
21287 which caused the applet to previously never come back after hiding.
21288 When a wired device is the active device, the applet shows "not connected"
21290 * panel-applet/NMWirelessAppletDbus.[ch]
21291 - Clean up error messages and show what function they are from
21292 - nmwa_dbus_get_active_wireless_device()->nmwa_dbus_get_active_device()
21293 - Add new device type getters, and a status getter
21295 * src/NetworkManagerDbus.c
21296 - (nm_dbus_devices_handle_request): Don't return an active network unless that
21297 network is actually in the device's ap list
21298 - (nm_dbus_nm_message_handler): Fix silly mistake returning status
21300 * src/NetworkManagerDevice.c
21301 - (nm_device_update_best_ap): If the best AP is NULL, clear out the ESSID of the
21304 * test/nmclienttest.c
21305 - Report status of NetworkManager too
21307 2004-08-11 Dan Williams <dcbw@redhat.com>
21309 * info-daemon/NetworkManagerInfo.c:
21310 - (main): clean up Seth's code style
21312 * info-daemon/NetworkManagerInfoDbus.c:
21313 - Use the more aptly-named path/service/interface constants from NetworkManager
21314 - Don't return empty strings ("") as object paths ever, instead return errors
21316 * panel-applet/NMWirelessApplet.c:
21317 - Clean up Seth's code style
21319 * src/NetworkManager.[ch]
21320 - (nm_remove_device_from_list): remove anything having to do with pending_device
21321 - (main, nm_print_usage): change --daemon=[yes|no] -> --no-daemon
21323 * src/NetworkManagerAPList.[ch]
21324 - Move Iter struct right above the iter functions to preserve opacity
21325 - (nm_ap_list_remove_ap): implement
21326 - (nm_ap_list_update_network): deal with errors returned from nm_dbus_get_network_priority(),
21327 remove AP if NetworkManagerInfo doesn't know anything about it
21328 - (nm_ap_list_diff): user NMAPList iterators
21329 - (nm_ap_list_print_members): implement debugging function
21331 * src/NetworkManagerDbus.[ch]
21332 - (nm_dbus_nm_get_active_device): remove anything to do with pending_device
21333 - (nm_dbus_get_user_key_for_network): remove DBusPendingCall stuff (unused),
21334 and move the actual key setting stuff into NetworkManagerDevice.c
21335 - (nm_dbus_get_network_priority): return -1 now on errors
21336 - (nm_dbus_nmi_filter): fix strcmp() error that caused PreferredNetworkUpdate signals to
21337 get lost, and force the active device to update its "best" ap when AP lists change
21338 - (nm_dbus_nm_message_handler): Update conditions for returning "connecting" for a "status"
21339 method call due to pending_device member removal
21341 * src/NetworkManagerDevice.[ch]
21342 - Move NMDevice structure to the top
21343 - Add a wireless scan mutex and a best_ap mutex to the Wireless Options structure
21344 - Remove Pending Action stuff from everywhere
21345 - (nm_device_activation_*): We now "begin" activation and start a thread to do the
21346 activation for us. This thread blocks until all conditions for activation have
21347 been met (ie for wireless devices, we need a valid WEP key and a "best" ap), and
21348 then setup up the interface and runs dhclient. We have to do this because there
21349 is no guaruntee how long dhclient takes, and while we are blocking on it, we cannot
21350 run our main loop and respond to dbus method calls or HAL device removals/inserts
21351 - (nm_device_set_user_key_for_network): Move logic here from NetworkManagerDbus.c so we
21352 can tell nm_device_activation_worker() that we've got a key
21353 - (nm_device_*_best_ap): lock access to best_ap member of Wireless Options structure
21354 - (nm_device_get_path_for_ap): dumb it down so the list doesn't lock against itself when
21355 diffing (AP appear/disappear signal functions make sure the AP is actually in the device's list)
21356 - (nm_device_update_best_ap): move logic from nm_wireless_is_ap_better() here
21358 * src/NetworkManagerPolicy.c
21359 - Remove anything to do with pending_device
21360 - Adjust device activation to deal with activation-in-worker-thread
21362 * src/NetworkManagerUtils.c
21363 - Clean up locking debugging a bit
21365 * src/NetworkManagerWireless.[ch]
21366 - (nm_wireless_is_ap_better): remove, stick logic in nm_device_update_best_ap(). This function
21367 was badly named and is better as a device function
21369 * panel-applet/.cvsignore: add
21371 2004-08-09 Seth Nickell <seth@gnome.org>
21373 * panel-applet/NMWirelessApplet.c: (nmwa_timeout_handler),
21374 (nmwa_button_clicked), (nmwa_populate_menu), (nmwa_setup_widgets),
21376 * src/NetworkManagerDbus.c: (nm_dbus_nmi_filter):
21378 Don't load the menus until clicked on (also removes a call outside
21379 normal code paths at first load).
21381 Hide applet when NM is not present.
21383 Improve printf debugging stuff.
21385 2004-08-09 Dan Williams <dcbw@redhat.com>
21387 * dispatcher-daemon/NetworkManagerDispatcher.c:
21388 - Covert uses of dbus_message_iter_* over to dbus_message_get_args
21389 - Use constants for NetworkManager interface, service, and path
21391 2004-08-09 Dan Williams <dcbw@redhat.com>
21393 * src/NetworkManagerDbus.c:
21394 - (nm_dbus_nm_get_active_device, nm_dbus_nm_get_devices): Never return an empty object path,
21395 instead return an error message
21396 - (nm_dbus_devices_handle_request): Return error when getActiveNetwork/getNetworks is called
21397 on a wired device. Also never return an empty object path, instead return an error message
21399 2004-08-06 Seth Nickell <seth@gnome.org>
21401 * panel-applet/NMWirelessApplet.c: (nmwa_new):
21403 Check the error code when getting a connection.
21405 * panel-applet/NMWirelessAppletDbus.c: (nmwa_dbus_init):
21407 Check if the NM service exists when initializing (rather than
21408 assuming it does not).
21410 * src/NetworkManagerDbus.c: (nm_dbus_init):
21412 Don't acquire the well-known service name until we have
21413 registered object/path handlers and can actually receive
21416 2004-08-06 Dan Williams <dcbw@redhat.com>
21421 * src/NetworkManagerPolicy.c
21422 src/NetworkManager.c
21423 - Get access point lists from NetworkManagerInfo on-demand,
21424 and look for ServiceCreate/ServiceDeleted signals to see when
21425 we should query NMI for lists
21426 * src/NetworkManagerAPList.c
21427 - Make sure to init the list's mutex
21428 - Convert traversals of the list over to the list iter functions
21430 * src/NetworkManagerDbus.[ch]
21431 - Use more aptly-named path/service/interface constants
21432 - Treat both active and pending devices the same for "getActiveDevice"
21433 - Add a "status" method returning "connected", "connecting", or "disconnected"
21435 * src/NetworkManagerDevice.c
21436 - Honor "ignored" network list when picking best ap to use
21438 2004-08-06 Seth Nickell <seth@gnome.org>
21442 Autogenerated, remove from CVS.
21446 Don't hardcode automake version.
21449 * info-daemon/Makefile.am:
21450 * info-daemon/NetworkManagerInfo.c: (main):
21452 Use GnomeProgram et al. for doing session management.
21453 Use popt stuff for argument parsing rather than doing
21456 2004-08-05 Dan Williams <dcbw@redhat.com>
21458 * test/nminfotest.c
21459 - Update to new NMI dbus API, check different network types
21461 * info-daemon/NetworkManagerInfoDbus.c
21462 - Update to new NM dbus API, ie network type sent in query message
21464 2004-08-05 Dan Williams <dcbw@redhat.com>
21466 * An assload of changes
21468 2004-08-02 Dan Williams <dcbw@redhat.com>
21471 - new task: proper logging support
21473 * info-daemon/NetworkManagerInfo.c
21474 - Correct spelling of "canceled"
21475 - Correct casting of objects for g_signal_connect()
21477 * info-daemon/NetworkManagerInfoDbus.c
21478 - Add defines for NetworkManager namespace and object path, and use them
21479 - Add filter function to trap new signals from NetworkManager:
21480 WirelessNetworkAppeared, WirelessNetworkDisappeared
21482 * info-daemon/passphrase.glade
21483 - Change name of "ok" button to "Login to Network..."
21486 * src/NetworkManager.c
21487 - Code and debug message cleanups
21488 - Rename "nm_add_current_devices"->"nm_add_initial_devices"
21489 - (nm_add_initial_devices) Check returned string array of devices
21490 and don't try to add devices if array is NULL
21491 - (main) Initialize libhal a bit later, make code a bit clearer
21493 * src/NetworkManagerAP.[ch]
21494 - New accessor and data member "matched": used to speed up AP list
21496 - New accessor and data member "enc_method": will be used during key
21497 fallback to cache which passphrase->key conversion actually works
21498 so we don't have to do it every time
21500 * src/NetworkManagerAPList.[ch]
21501 - (nm_ap_list_find_ap_in_list) New: find an AP by essid in an AP list
21502 - (nm_ap_list_diff) New: given two lists of access points, find the differences
21503 between them, and send WirelessNetworkAppeared/Disappeared signals over
21504 dbus in response to those differences
21506 * src/NetworkManagerDbus.[ch]
21507 - (nm_dbus_get_object_path_from_ap) New: given a device and an access point,
21508 make an object path for that access point (NOTE that we don't yet check to
21509 make sure that access point is actually in the device's AP list yet)
21510 - (nm_dbus_get_ap_from_object_path) Renamed from nm_dbus_get_network_from_object_path
21511 - (nm_dbus_signal_wireless_network_appeared, nm_dbus_signal_wireless_network_disappeared)
21512 New: signal appearance/disappearance of wireless networks
21513 - (nm_dbus_set_user_key_for_network) Mark the network/ap as invalid if the user cancelled
21516 * src/NetworkManagerDevice.[ch]
21517 - (nm_device_ap_list_clear) Use nm_ap_list_free rather than doing it ourselves
21518 - (nm_device_ap_list_get) New: return the AP list (static function)
21519 - (nm_device_do_normal_scan) Destroy old AP list later, so that we can diff the
21520 new one resulting from the scan with the old one
21522 * src/NetworkManagerWireless.c
21523 - (nm_wireless_is_most_prefered_ap) "invalid" access points cannot be "best" access points
21525 * test/nminfotest.c
21526 - #define object paths and namespaces and use the #defines rather than static strings
21527 - Test out user-key functionality of NetworkManagerInfo too
21529 2004-07-29 Dan Williams <dcbw@redhat.com>
21531 * info-daemon/NetworkManagerInfoDbus.c
21532 src/NetworkManagerDbus.c
21533 - Update to current DBus (ie don't use decomposed paths when registering
21534 object paths/fallbacks)
21536 2004-07-27 Dan Williams <dcbw@redhat.com>
21538 * Remove various Makefile.in files
21541 - Add some more items
21544 - Add checks for OpenSSL/md5 headers and libs
21547 - Use OpenSSL CFLAGS
21549 * src/NetworkManagerAP.[ch]
21550 - Remove 'stamp' functions, replace with 'invalid' functions
21551 to support user cancelling WEP key entry
21553 * src/NetworkManagerDbus.c
21554 - Remove 'stamp' return functions
21555 - Treat returned user key as a passphrase and convert to a WEP key,
21556 but don't actually use the WEP key yet. We use the returned user
21557 key as a hexadecimal WEP key until we can figure out a UI for
21558 passphrase-vs-hex key
21560 * src/NetworkManagerWireless.[ch]
21561 - Add passphrase-to-128bit-key function
21563 2004-07-27 Dan Williams <dcbw@redhat.com>
21566 - Add a couple of items
21568 2004-07-27 Dan Williams <dcbw@redhat.com>
21570 * info-daemon/NetworkManagerInfo.c
21571 - Update allowed network's GConf key when user enters a WEP key explicitly
21573 * info-daemon/NetworkManagerDbus.c
21574 - Fix some comments
21575 - nmi_dbus_get_allowed_networks(): kill warning
21577 2004-07-27 Dan Williams <dcbw@redhat.com>
21579 * initscript/Makefile.in
21582 * initscript/Makefile.am
21583 - Add correct rules to install the init.d initscript
21585 * info-daemon/NetworkManagerInfoDbus.c
21586 - Remove debug fprintf
21588 * src/NetworkManagerDbus.[ch]
21589 - Remove debug fprintfs
21590 - Add macros for NetworkManagerInfo object path/namespace
21591 - Use said macros instead of constant strings
21593 2004-07-27 Dan Williams <dcbw@redhat.com>
21595 * initscript/.cvsignore
21598 * info-daemon/Makefile.am
21599 - Install .glade files and keyring.png
21600 - Fix stupid omission of a \ that caused half the flags not to be
21603 * info-daemon/NetworkManagerInfo.c
21604 - gtk_signal_connect->g_signal_connect
21605 - Alert NetworkManagerInfo to new glade file location
21607 2004-07-27 Dan Williams <dcbw@redhat.com>
21609 * test/nmclienttest.c
21611 - Add missing <dbus/dbus.h> headers
21612 - Add GPL message at top
21614 2004-07-27 Dan Williams <dcbw@redhat.com>
21616 * src/NetworkManagerAPList.[ch]
21618 - Add. Deal with allowed network list additions, deletions, and updates
21620 * dispatcher-daemon/NetworkManagerDispatcher.c
21621 - Add missing <dbus/dbus.h> header
21623 * info-daemon/NetworkManagerInfo.[ch]
21624 - Add missing <dbus/dbus.h> header
21625 - Implement the GConf notify callback to signal NetworkManager of an allowed
21627 - Better error checking
21629 * info-daemon/NetworkManagerInfoDbus.[ch]
21630 - Add missing <dbus/dbus.h> header
21631 - Convert to using dbus_message_append_args/dbus_message_get_args
21632 - Implement nmi_dbus_signal_update_allowed_network() to signal NetworkManager
21633 that an allowed network changed. We don't want to signal on individual
21634 keys _inside_ an allowed network really, just want NM to query the info
21635 daemon for updated info on all keys.
21636 - Better error checking
21638 * src/NetworkManager.[ch]
21639 - Add missing <dbus/dbus.h> header
21640 - Move allowed_ap_list free functions to NetworkManagerAPList.[ch]
21641 - Zero out NMData structure on free
21642 - No longer use a thread for allowed_ap_list updating, instead its now done
21643 through dbus queries against NetworkManagerInfo
21644 - Populate allowed_ap_list initially before adding existing network devices
21645 to the device list, so wireless devices can get their "best" AP
21647 * src/NetworkManagerDbus.[ch]
21648 - Convert to using dbus_message_append_args/dbus_message_get_args
21649 - Better error checking
21650 - Implement Allowed Network info functions to request allowed network
21651 info from NetworkManagerInfo
21652 - Implement the filter function to process signals from NetworkManagerInfo
21653 about changing allowed networks
21655 * src/NetworkManagerDevice.c
21656 - Fix file descriptor leak in nm_device_update_ip4_address()
21658 2004-07-27 Dan Williams <dcbw@redhat.com>
21663 dispatcher-daemon/.cvsignore
21664 info-daemon/.cvsignore
21665 - Add .cvsignore files to reduce noise when diffing
21667 2004-07-24 Dan Williams <dcbw@redhat.com>
21669 * src/NetworkManager.[ch]
21670 src/NetworkManagerDbus.[ch]
21671 src/NetworkManagerDevice.[ch]
21672 src/NetworkManagerPolicy.c
21673 src/NetworkManagerWireless.[ch]
21674 - Add many more g_return_if_fail()/g_return_val_if_fail() checks
21675 - Pass the NMData application data structure through all calls
21676 that need it so we can get rid of nm_get_global_data()
21677 - Change deallocation of the allowed_ap_list GSList in preparation
21678 for not completely clearing it every time we get an update,
21679 but instead getting incremental updates via GConf/dbus
21681 2004-07-22 Dan Williams <dcbw@redhat.com>
21684 - Add checks for GConf libs & headers & flags
21686 * info-daemon/Makefile.am
21687 - Add GConf flags & libs to compile/link stages of NetworkManagerInfo
21689 * info-daemon/NetworkManagerInfo.[ch]
21690 - Don't use gquarks for data storage, just use normal data storage
21691 - Add gconf bits to watch /system/networking/wireless/allowed_networks
21693 * info-daemon/NetworkManagerDbus.[ch]
21694 - Add method call for getting allowed networks
21695 - Add method calls for getting an allowed network's essid, priority, and key
21696 - Hook the method calls up to GConf
21697 - Split user key dialog code into separate function (nmi_dbus_get_key_for_network)
21698 - nmi_dbus_nmi_message_handler(): make sure to unref the reply message after sending
21700 * src/NetworkManagerDbus.[ch]
21701 - Switch for enumeration of networks to using essid instead
21705 - Add test program for NetworkManagerInfo
21707 2004-07-19 Dan Williams <dcbw@redhat.com>
21709 * src/NetworkManagerDbus.c
21710 - Switch from indexed device paths to names. Less code, more efficient.
21711 ie "/org/freedesktop/NetworkManager/0" -> "/org/freedesktop/NetworkManager/eth0"
21713 2004-07-19 Dan Williams <dcbw@redhat.com>
21715 * dispatcher-daemon/NetworkManagerDispatcher.c
21716 - (nm_dbus_filter): Remove obsolete response to NeedKeyForNetwork signal
21718 2004-07-19 Dan Williams <dcbw@redhat.com>
21721 - Add info-daemon directory
21724 - Check for glade libs and headers
21725 - Add info-daemon directory
21727 * src/NetworkManagerAP.c
21728 - nm_ap_new_from_ap(): Fix bug that resulted in an APs encryption status not getting
21729 copied over to the new AP.
21731 * src/NetworkManagerDbus.c
21732 src/NetworkManagerDbus.h
21733 - Deal with nm_device_ap_list_get_ap()->nm_device_ap_list_get_ap_by_index() change
21734 - Remove nm_dbus_signal_need_key_for_network()
21735 - Add disabled code for asynchronous user wep key callbacks
21736 - Add functions for getting, setting, and cancelling user key operations
21737 - Remove "setKeyForNetwork" device dbus method call, its on NetworkManager object instead
21738 - Add "setKeyForNetwork" dbus method call on NetworkManager object
21740 * src/NetworkManagerDevice.c
21741 src/NetworkManagerDevice.h
21742 - nm_device_update_link_active(): revert changes for wireless link detection, the WEP-key-is-wrong
21743 logic is in device activation now
21744 - nm_device_activate(): for wireless devices, if we can't associate with access point (perhaps
21745 key is wrong) trigger get-user-key pending action
21746 - Implement get-user-key pending action stuff, tie to dbus messages
21747 - Rename nm_device_ap_list_get_ap() -> nm_device_ap_list_get_ap_by_index()
21748 - Add nm_device_ap_list_get_ap_by_essid()
21749 - Instead of copying "best" access points, ref them instead so that the key we set
21752 * src/NetworkManagerPolicy.c
21753 - Deal with wrong WEP key, but right access point (and if so, return link_active = TRUE)
21754 - Don't cancel pending actions on a device if its the same device as last iteration
21755 - Only promote pending_device->active_device if activation was successfull
21758 - Rename nmclienttest->nmtest
21760 * info-daemon/Makefile.am
21761 info-daemon/NetworkManagerInfo.c
21762 info-daemon/NetworkManagerInfo.h
21763 info-daemon/NetworkManagerInfoDbus.c
21764 info-daemon/NetworkManagerInfoDbus.h
21765 info-daemon/passphrase.glade
21766 info-daemon/NetworkManagerInfo.conf
21767 info-daemon/keyring.png
21768 - Import sources for info-daemon, which pops up dialog for passphrase/key when
21769 NetworkManager asks for it, and also will (soon) provide "allowed" access point
21770 lists to NetworkManager by proxying user's GConf
21773 2004-07-15 Dan Williams <dcbw@redhat.com>
21778 * src/NetworkManager.c
21779 - nm_create_device_and_add_to_list(): call nm_device_deactivate() rather
21780 that doing the deactivation ourselves
21781 - Cancel an pending actions on a device if its being removed
21782 - Break up link state checking a bit, make non-active wireless cards
21783 deactivated to save power
21784 - Remove unused variables
21786 * src/NetworkManager.h
21787 - Add support for "pending" device
21789 * src/NetworkManagerAP.h
21790 src/NetworkManagerAP.c
21791 - Add support for determining whether and AP has encryption enabled or not
21792 - AP address is now "struct ether_addr" rather than a string
21794 * src/NetworkManagerDbus.h
21795 src/NetworkManagerDbus.c
21796 - Add signal NeedKeyForNetwork, method SetKeyForNetwork (testing only)
21797 - Changes for AP address from struct ether_addr->string
21799 * src/NetworkManagerDevice.h
21800 src/NetworkManagerDevice.c
21801 - Remove unused variables, fix warnings
21802 - Add support for Pending Actions (things that block a device from being "active"
21803 until they are completed).
21804 - First pending action: Get a WEP key from the user
21805 - Add nm_device_is_wire[d|less](), rename nm_device_is_wireless()
21806 - Clean up explicit testing of dev->iface_type to use nm_device_is_wireless()
21807 - Update wireless link checking to try to determine if the AP we are associated
21808 with is correct, but the WEP key we are using is just wrong. If its wrong,
21809 trigger the GetUserKey pending action on the device
21810 - If dhclient can't get an IP address, it brings the device down. Bring it back
21811 up in that case, otherwise we can't scan or link-check on it
21812 - Add IP address change notifications at appropriate points (still needs some work)
21813 - Add nm_device_need_ap_switch(), checks whether we need to switch access points or not
21815 * src/NetworkManagerPolicy.h
21816 src/NetworkManagerPolicy.c
21817 - Split out "best" access point determiniation into separate function
21818 - Make device activation 2-stage: first the device is pending, then
21819 in the next iteration through it becomes "active" unless it has
21822 * src/NetworkManagerUtils.h
21823 src/NetworkManagerUtils.c
21824 - Clean up unused variables and warnings
21825 - Wrap our debug macros in {} to prevent possible confusion
21827 * src/NetworkManagerWireless.c
21828 - Forgot to return current best priority, which lead to last available AP always
21829 being chosen no matter what its priority was. Corrected.
21831 2004-07-15 Dan Williams <dcbw@redhat.com>
21833 * dispatcher-daemon/Makefile.am
21836 * dispatcher-daemon/NetworkManagerDispatcher.c
21837 - Remove unused variables due to warnings
21838 - Fix some comments
21839 - Print message on receipt of NeedKeyForNetwork signal (testing only)
21841 2004-07-06 Dan Williams <dcbw@redhat.com>
21843 * src/NetworkManager.c
21844 - Add IPv4 address update for active device during link state check
21845 - Don't allow wireless cards to be powered up when they are not the
21848 * src/NetworkManagerDbus.c
21849 src/NetworkManagerDbus.h
21850 - Add DBUS IPv4 address change signal
21851 - Add DBUS IPv4 address get method for devices
21853 * src/NetworkManagerDevice.c
21854 - Make setting the WEP key actually work
21855 - Move IP address get/set/update stuff here, per-device
21856 - Power down/bring down wireless device when deactivated
21857 - For scanning wireless devices, if first scan returned ENODATA, try again
21859 * src/NetworkManagerPolicy.c
21860 - Only set the WEP key for an allowed access point if there is one.
21861 We were setting it to be blank if one wasn't specified.
21863 * src/NetworkManagerUtils.h
21864 src/NetworkManagerUtils.c
21865 - Move the IP address stuff to NetworkManagerDevice.c
21867 * dispatcher-daemon/NetworkManagerDispatcher.c
21868 - Add device IPv4 address change notification stuff
21870 2004-07-05 Dan Williams <dcbw@redhat.com>
21872 * dispatcher-daemon/NetworkManagerDispatcher.c
21873 - A bit more descriptive state message
21874 - Don't segfault when reading directory
21876 * src/NetworkManager.h
21877 - Remove NMData desired_ap member, its now
21878 per-device rather than global
21880 * src/NetworkManager.c
21881 - Remove references to desired_ap
21882 - Move the allowed AP list refresh stuff into a thread
21884 * src/NetworkManagerDevice.c
21885 src/NetworkManagerDevice.h
21886 - Each wireless device now has a "best ap"
21887 - Make device activate/deactivate functions per-device
21888 - Make wireless scanning per-device
21889 - Add IPv4 address discover functions, stub IPv6 ones
21890 - Move ethernet address validation functions to NetworkManagerUtils.c
21891 - Add wireless access point accessor function
21892 - Get/Set functions for "best ap"
21894 * src/NetworkManagerPolicy.c
21895 - Move activate/deactivate stuff into NetworkManagerDevice.c, per-device
21896 - Deal with per-device "best ap" rather than data->desired_apa
21897 - Implement allowed access point worker thread
21898 - Add nm_policy_essid_is_allowed() function
21900 * src/NetworkManagerUtils.c
21901 src/NetworkManagerUtils.h
21902 - Add nm_ethernet_address_is_valid() function
21903 - Add IPv4/IPv6 address get functions
21905 * src/NetworkManagerWireless.c
21906 src/NetworkManagerWireless.h
21907 - Move scanning stuff into NetworkManagerDevice.c, per-device
21909 2004-06-29 Dan Williams <dcbw@redhat.com>
21911 * dispatcher-daemon/NetworkManagerDispatcher.c
21912 - Implement script callout functionality
21914 2004-06-24 Dan Williams <dcbw@redhat.com>
21918 - Flush device routes and ip addresses when added to the device list
21920 * NetworkManagerDbus.c
21922 - Add missing returns in the two signal functions
21924 * NetworkManagerPolicy.c
21925 - Spacing and variable cleanups
21927 2004-06-24 Dan Williams <dcbw@redhat.com>
21932 dispatcher-daemon/Makefile.am
21933 dispatcher-daemon/Makefile.in
21934 dispatcher-daemon/NetworkManagerDispatcher.c
21935 - Add a daemon that receives signals from NetworkManager
21936 and will (eventually) call scripts in /etc/somewhere
21937 when devices go up or down.
21941 - Flush device routes and ip addresses when added to the device list
21943 * NetworkManagerDbus.c
21945 - Add missing returns in the two signal functions
21947 * NetworkManagerPolicy.c
21948 - Spacing and variable cleanups
21949 - Rename nm_policy_switch_interface->nm_policy_switch_device
21950 - nm_policy_switch_device():
21951 Use kill (pid) instead of system ("kill <pid>")
21952 - nm_state_modification_monitor():
21953 Add wireless essid to output of debug statements
21954 Correct typo in device compare to switch or not (should be !=)
21955 Don't sleep after sending "no longer active" signal, was useless
21957 2004-06-24 Dan Williams <dcbw@redhat.com>